/* Public entry page */
body.public-home {
  --public-ink: #071f3d;
  --public-blue: #2176d2;
  --public-line: rgba(7, 31, 61, 0.12);
  background: #f7fbff;
  color: var(--public-ink);
  font-family: "Manrope", "Noto Sans", sans-serif;
}

body.public-home .public-shell { overflow: hidden; }
body.public-home .site-header {
  width: min(100% - 40px, 1240px);
  margin: 0 auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 24px 0;
}
body.public-home .brand { width: 128px; height: 48px; }
body.public-home .brand img { width: 100%; height: 100%; object-fit: contain; border-radius: 8px; }
body.public-home .primary-nav { gap: 28px; }
body.public-home .primary-nav a { color: #4e6075; font-size: 0.84rem; font-weight: 800; }
body.public-home .primary-nav a:hover { color: var(--public-blue); }
body.public-home .header-actions { gap: 20px; }
body.public-home .header-actions .text-link { color: var(--public-ink); font-size: 0.86rem; font-weight: 800; }
body.public-home .button { border-radius: 10px; }
body.public-home .button-primary { background: var(--public-blue); box-shadow: 0 12px 24px rgba(33, 118, 210, 0.2); }

.public-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  width: min(100% - 40px, 1240px);
  min-height: 650px;
  margin: 0 auto;
  align-items: center;
  gap: clamp(32px, 7vw, 108px);
  padding: 72px 0 112px;
}
.public-hero-copy { position: relative; z-index: 2; }
.public-hero h1, .how-it-works h2, .public-intro h2, .public-cta h2 { font-family: "Space Grotesk", sans-serif; letter-spacing: -0.025em; }
.public-hero h1 { max-width: 650px; margin: 18px 0 24px; color: var(--public-ink); font-size: clamp(3.2rem, 6vw, 6.2rem); line-height: 0.96; }
.public-hero h1 em { color: var(--public-blue); font-style: normal; }
.public-hero-lead { max-width: 500px; color: #607084; font-size: 1.1rem; line-height: 1.7; }
.public-hero .hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 34px; }
.public-hero .hero-actions .button { width: auto; min-height: 52px; }
.public-trust-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 58px; color: #718196; font-size: 0.75rem; font-weight: 700; }
.public-trust-line strong { color: var(--public-ink); }
.trust-dot, .status-dot { width: 8px; height: 8px; border-radius: 50%; background: #16a56a; box-shadow: 0 0 0 5px rgba(22, 165, 106, 0.12); }
.trust-rule { width: 34px; height: 1px; background: var(--public-line); }
.public-visual { position: relative; min-height: 545px; }
.visual-glow { position: absolute; inset: 8% 2% 4% 14%; border-radius: 48% 52% 40% 60%; background: radial-gradient(circle, rgba(101, 184, 255, 0.5), rgba(218, 241, 255, 0.3) 48%, transparent 70%); filter: blur(10px); }
.visual-frame { position: absolute; inset: 32px 28px 34px 72px; overflow: hidden; border: 10px solid rgba(255, 255, 255, 0.78); border-radius: 34px; background: #d8eaf8; box-shadow: 0 30px 70px rgba(7, 52, 95, 0.2); transform: rotate(2deg); }
.visual-frame img { width: 100%; height: 100%; object-fit: cover; }
.visual-label { position: absolute; display: grid; gap: 4px; border: 1px solid rgba(255,255,255,.72); border-radius: 12px; background: rgba(255,255,255,.9); box-shadow: 0 12px 28px rgba(7,31,61,.16); color: var(--public-ink); padding: 12px 14px; backdrop-filter: blur(10px); }
.visual-label-top { top: 24px; left: 22px; display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 800; }
.visual-label-bottom { right: 20px; bottom: 20px; font-size: .7rem; }
.visual-label-bottom strong { font-size: .9rem; }
.visual-service-chip { position: absolute; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(33,118,210,.14); border-radius: 10px; background: #fff; box-shadow: 0 14px 30px rgba(7,31,61,.12); color: var(--public-ink); font-size: .75rem; font-weight: 800; padding: 10px 13px; animation: public-float 5s ease-in-out infinite; }
.chip-number { color: var(--public-blue); font-size: .68rem; }
.chip-one { top: 18px; right: 0; }.chip-two { bottom: 96px; left: 0; animation-delay: -1.8s; }.chip-three { right: 8px; bottom: 8px; animation-delay: -3.4s; }
@keyframes public-float { 50% { transform: translateY(-8px); } }
.public-intro { width: min(100% - 40px, 1240px); margin: 0 auto; padding: 86px 0 118px; }
.public-intro h2 { max-width: 620px; margin-top: 16px; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.02; }
.public-benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.public-benefit-grid article { border-top: 1px solid var(--public-line); padding: 24px 4px 0; }
.public-benefit-grid article > span { color: var(--public-blue); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.public-benefit-grid h3 { margin: 26px 0 10px; font-size: 1.15rem; }
.public-benefit-grid p, .how-copy p, .how-steps p { color: #657589; line-height: 1.7; }
.how-it-works { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(34px, 8vw, 140px); width: min(100% - 40px, 1240px); margin: 0 auto; border-top: 1px solid var(--public-line); padding: 100px 0; }
.how-it-works h2 { margin: 16px 0; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.02; }
.how-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.how-steps li { display: grid; grid-template-columns: 46px 1fr; gap: 20px; border-bottom: 1px solid var(--public-line); padding: 20px 0 24px; }
.how-steps li:first-child { padding-top: 0; }.how-steps li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e8f4ff; color: var(--public-blue); font-size: .8rem; font-weight: 900; }
.how-steps strong { font-size: 1.05rem; }.how-steps p { margin: 7px 0 0; font-size: .9rem; }
.public-cta { display: flex; justify-content: space-between; align-items: center; gap: 28px; width: min(100% - 40px, 1240px); margin: 0 auto 100px; border-radius: 24px; background: linear-gradient(120deg, #0a4e91, #2176d2 68%, #65b8ff); color: #fff; padding: clamp(28px, 5vw, 58px); box-shadow: 0 22px 60px rgba(33,118,210,.22); }
.public-cta h2 { max-width: 600px; margin: 14px 0 0; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1; }.button-light { background: #fff; color: var(--public-ink); }.public-cta .button { width: auto; min-height: 50px; white-space: nowrap; }
.public-footer { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 40px; width: min(100% - 40px, 1240px); margin: 0 auto; border-top: 1px solid var(--public-line); background: transparent; color: var(--public-ink); padding: 36px 0 44px; }
.public-footer .footer-brand img { width: 120px; height: 40px; border-radius: 6px; }.public-footer .footer-brand p { margin: 10px 0 0; color: #718196; font-size: .8rem; font-weight: 700; }.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }.public-footer .footer-links a { color: #5c6d81; font-size: .8rem; font-weight: 800; }.public-footer .footer-links a:hover { color: var(--public-blue); }.public-footer .footer-bottom { margin: 0; border: 0; padding: 0; color: #7b8998; font-size: .76rem; white-space: nowrap; }
body.public-home .auth-card { border-radius: 18px; }
@media (max-width: 820px) {
  body.public-home .site-header { width: min(100% - 28px, 1240px); padding: 14px 0; }
  body.public-home .brand { width: 104px; height: 40px; }
  body.public-home .header-actions { gap: 8px; }.public-header .header-actions .text-link { display: none; }
  .public-hero { grid-template-columns: 1fr; min-height: 0; gap: 44px; padding: 58px 0 72px; }.public-hero h1 { font-size: clamp(2.8rem, 13vw, 4.8rem); }.public-hero-lead { font-size: 1rem; }.public-trust-line { margin-top: 34px; }.public-visual { min-height: 430px; }.visual-frame { inset: 24px 22px 28px 44px; }.visual-service-chip { font-size: .68rem; }.chip-one { right: -2px; }.chip-two { left: -2px; bottom: 72px; }.chip-three { right: -2px; }
  .public-intro, .how-it-works { padding-top: 64px; padding-bottom: 72px; }.public-benefit-grid, .how-it-works { grid-template-columns: 1fr; }.public-benefit-grid { gap: 28px; margin-top: 32px; }.how-it-works { gap: 42px; }.public-cta { align-items: flex-start; flex-direction: column; margin-bottom: 64px; }.public-cta .button { width: 100%; }.public-footer { grid-template-columns: 1fr; gap: 22px; padding-bottom: 32px; }.public-footer .footer-bottom { white-space: normal; }
}
:root {
  --ink: #111318;
  --muted: #5d6673;
  --paper: #ffffff;
  --soft: #f4f6f8;
  --soft-blue: #eef5ff;
  --blue-900: #071f3d;
  --blue-700: #0b5cab;
  --blue-500: #2176d2;
  --blue-100: #e8f2ff;
  --teal: #0a776c;
  --green: #138a5b;
  --amber: #e48a13;
  --coral: #0b5cab;
  --mint: #e7f6ef;
  --line: #d9e2ec;
  --shadow: 0 12px 28px rgba(9, 24, 48, 0.08);
  --shadow-strong: 0 20px 50px rgba(9, 24, 48, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--ink);
  font-family: "Noto Sans", "Hind", "Nirmala UI", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  text-rendering: optimizeLegibility;
}

body.font-small {
  font-size: 15px;
}

body.font-large {
  font-size: 17px;
}

body.nav-open {
  overflow: hidden;
}

body.address-open {
  overflow: hidden;
}

body.auth-open,
body.language-open {
  overflow: hidden;
}

body.profile-open {
  overflow: hidden;
}

body.is-logged-in .amojee-info,
body.is-logged-in .quick-actions,
body.is-logged-in .why,
body.is-logged-in .trust,
body.is-logged-in .testimonials,
body.is-logged-in .faq,
body.is-logged-in .final-cta,
body.is-logged-in .bottom-partner,
body.is-logged-in .site-footer {
  display: none;
}

body.is-logged-in:not([data-app-page="home"]) .app-page[data-app-page="home"],
body.is-logged-in:not([data-app-page="services"]) .app-page[data-app-page="services"],
body.is-logged-in:not([data-app-page="helper"]) .app-page[data-app-page="helper"],
body.is-logged-in:not([data-app-page="photo"]) .app-page[data-app-page="photo"] {
  display: none;
}

body.is-logged-in[data-app-page="home"] .hero {
  padding-bottom: 44px;
}

body.is-logged-in[data-app-page="home"] .hero-showcase {
  min-height: auto;
}

body.is-logged-in .hero-copy > :not(.hero-shop-search),
body.is-logged-in .hero-animation,
body.is-logged-in .desktop-hero-service-art,
body.is-logged-in .mobile-what-amojee-art {
  display: none !important;
}

body.is-logged-in .hero-copy,
body.is-logged-in .hero-showcase {
  min-width: 0;
}

body.is-logged-in .member-dashboard {
  display: none;
}

body.home-dashboard .quick-actions,
body.home-dashboard .services,
body.home-dashboard .quick-helper,
body.home-dashboard .photo-request,
body.home-dashboard .amojee-info {
  display: none;
}

body.home-dashboard .primary-nav {
  gap: 10px;
}

body.home-dashboard .primary-nav a {
  border: 1px solid #d6e1ea;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-900);
  font-weight: 850;
  padding: 9px 14px;
}

body.home-dashboard .primary-nav a:hover,
body.home-dashboard .primary-nav a:focus-visible {
  border-color: #7dd3fc;
  background: #f0f9ff;
  color: #075985;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.standalone-page {
  min-height: 100vh;
  background: var(--soft);
}

.standalone-page .primary-nav a[aria-current="page"] {
  background: var(--blue-100);
  color: var(--blue-700);
  box-shadow: inset 0 -3px 0 var(--blue-700);
}

.standalone-page .primary-nav a[aria-current="page"]:hover {
  background: #dbeafe;
  color: var(--blue-700);
}

.partner-header-label {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.partner-dashboard-page {
  background: #f4f7fb;
}

body.is-dashboard-locked .partner-dashboard-grid,
body.is-dashboard-locked .dashboard-control-strip,
body.is-dashboard-locked .partner-dashboard-columns,
body.is-dashboard-locked .dashboard-work-grid,
body.is-dashboard-locked .business-shop-studio {
  opacity: 0.76;
}

body.is-dashboard-locked .dashboard-panel,
body.is-dashboard-locked .dashboard-control-card,
body.is-dashboard-locked .dashboard-work-grid > article,
body.is-dashboard-locked .partner-dashboard-grid article,
body.is-dashboard-locked .business-shop-studio > article {
  border-style: dashed;
}

body.is-dashboard-locked .dashboard-control-card button,
body.is-dashboard-locked .dashboard-request-card button,
body.is-dashboard-locked .business-shop-studio button,
.toggle-switch:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

body.partner-dashboard-page.is-business-shop .incoming-panel {
  display: none;
}

body.partner-dashboard-page.is-business-shop .partner-dashboard-columns {
  grid-template-columns: minmax(0, 1fr);
}

body.partner-dashboard-page.is-business-shop .business-service-requests {
  grid-column: 1 / -1;
}

body.partner-dashboard-page.is-business-shop .shop-booking-card {
  background: #fff;
  border-color: #d7e2ed;
  box-shadow: 0 8px 22px rgba(9, 24, 48, 0.05);
}

.booking-page,
.booking-status-page,
.invoice-page {
  background: linear-gradient(145deg, #f7fbff 0%, #edf5f7 100%);
}

.booking-main,
.booking-status-main,
.invoice-main {
  padding: clamp(28px, 6vw, 72px) 0;
}

.booking-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
  gap: 36px;
  align-items: start;
}

.booking-page-intro {
  padding-top: 12px;
}

.booking-page-intro h1 {
  max-width: 560px;
  margin: 16px 0;
  font-size: clamp(2rem, 5vw, 4.4rem);
  line-height: 1;
}

.booking-page-intro > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.booking-flow-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.booking-flow-steps span {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 8px 10px;
}

.booking-flow-steps .is-current {
  border-color: #99f6e4;
  background: #ecfeff;
  color: #0f766e;
}

.dedicated-booking-card,
.booking-status-shell,
.invoice-shell {
  border: 1px solid #dbe5ec;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 45px rgba(15, 41, 71, 0.1);
  padding: clamp(20px, 4vw, 38px);
}

.booking-shop-heading,
.booking-status-header,
.invoice-brand,
.invoice-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.booking-shop-heading {
  justify-content: flex-start;
  margin-bottom: 24px;
}

.booking-shop-heading h2,
.booking-status-header h1,
.invoice-heading h1 {
  margin: 4px 0;
}

.booking-shop-heading small,
.booking-status-header p,
.invoice-heading p {
  color: var(--muted);
}

.dedicated-booking-card form {
  display: grid;
  gap: 15px;
}

.dedicated-booking-card label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.booking-status-shell {
  max-width: 960px;
  margin: 0 auto;
}

.verified-badge {
  border-radius: 999px;
  background: #fff7ed;
  color: #c2410c;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 9px 12px;
  white-space: nowrap;
}

.verified-badge.is-verified {
  background: #dcfce7;
  color: #15803d;
}

.booking-status-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 26px 0;
}

.booking-status-timeline span {
  border-top: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  padding-top: 8px;
}

.booking-status-timeline span.is-done {
  border-color: #22c55e;
  color: #15803d;
}

.status-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.status-summary-grid article,
.assigned-worker-card,
.status-waiting-card,
.status-bill-card,
.booking-otp-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  padding: 16px;
}

.status-summary-grid article,
.booking-otp-card {
  display: grid;
  gap: 6px;
}

.status-summary-grid span,
.booking-otp-card span,
.invoice-parties span {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.status-summary-grid small,
.assigned-worker-card p,
.booking-otp-card small,
.invoice-parties small {
  color: var(--muted);
  line-height: 1.45;
}

.assigned-worker-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.assigned-worker-card > div:nth-child(2) {
  flex: 1;
}

.assigned-worker-card h2 {
  margin: 3px 0;
}

.assigned-worker-card p {
  margin: 0 0 4px;
}

.status-waiting-card {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  background: #eff6ff;
  color: #1d4ed8;
}

.status-bill-card {
  margin-top: 14px;
}

.status-bill-card .bill-line {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding: 11px 0;
}

.status-bill-card .bill-line.total {
  color: var(--blue-700);
  font-weight: 900;
}

.otp-cancel-row,
.status-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.booking-otp-card strong {
  color: var(--blue-700);
  font-size: 1.6rem;
  letter-spacing: 0.12em;
}

.invoice-shell {
  max-width: 900px;
  margin: 0 auto;
}

.invoice-brand {
  justify-content: flex-start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.invoice-brand img {
  width: 150px;
}

.invoice-brand div {
  display: grid;
  gap: 4px;
}

.invoice-brand small {
  color: var(--muted);
}

.invoice-heading {
  margin: 28px 0;
}

.invoice-parties {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.invoice-parties > div {
  display: grid;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.invoice-table {
  margin-top: 20px;
}

.invoice-table > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 13px 0;
}

.invoice-table .invoice-total {
  color: var(--blue-700);
  font-size: 1.1rem;
  font-weight: 900;
}

.invoice-note {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 22px;
}

@media print {
  .no-print,
  .invoice-page {
    background: #fff;
  }

  .no-print {
    display: none !important;
  }

  .invoice-main {
    padding: 0;
  }

  .invoice-shell {
    border: 0;
    box-shadow: none;
  }
}

@media (max-width: 760px) {
  .booking-page-layout,
  .status-summary-grid,
  .invoice-parties {
    grid-template-columns: 1fr;
  }

  .booking-status-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-status-header,
  .invoice-heading,
  .assigned-worker-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

.partner-dashboard-header {
  border-bottom: 1px solid #dce5f0;
  background: rgba(255, 255, 255, 0.94);
}

.partner-header-context {
  display: grid;
  gap: 2px;
  margin-left: auto;
  margin-right: 20px;
}

.partner-header-context strong {
  color: var(--ink);
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 800;
}

.live-indicator i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px #dcfce7;
}

.partner-dashboard-main {
  min-height: calc(100vh - 90px);
  padding: 42px 0 70px;
}

.partner-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 24px;
  background: linear-gradient(125deg, #0f2947, #155e91 65%, #0891b2);
  box-shadow: 0 18px 40px rgba(15, 41, 71, 0.2);
  color: #fff;
  padding: clamp(28px, 5vw, 48px);
}

.partner-hero .eyebrow,
.partner-hero p {
  color: #c8e4f5;
}

.partner-hero h1 {
  max-width: 650px;
  margin: 7px 0 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.04em;
}

.partner-hero > div:first-child > p:not(.eyebrow) {
  max-width: 620px;
}

.partner-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 25px;
}

.partner-hero .button-primary {
  background: #fff;
  color: #0f4c81;
}

.secure-note {
  color: #d6effc;
  font-size: 0.8rem;
}

.partner-hero-status {
  display: grid;
  min-width: 150px;
  justify-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  padding: 22px 18px;
}

.partner-hero-status small {
  color: #c8e4f5;
}

.status-orb {
  width: 48px;
  height: 48px;
  border: 7px solid rgba(255, 255, 255, 0.25);
  border-top-color: #fbbf24;
  border-radius: 50%;
}

.premium-stat-grid {
  margin-top: 22px;
}

.premium-stat-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 41, 71, 0.06);
}

.premium-stat-grid article:first-child {
  border-top: 3px solid #2563eb;
}

.premium-stat-grid article:nth-child(2) {
  border-top: 3px solid #0ea5e9;
}

.premium-stat-grid article:nth-child(3) {
  border-top: 3px solid #16a34a;
}

.premium-stat-grid article:nth-child(4) {
  border-top: 3px solid #f59e0b;
}

.stat-sparkline {
  display: block;
  width: 80px;
  height: 22px;
  margin-top: 10px;
  border-bottom: 2px solid #2563eb;
  border-radius: 50%;
  transform: skewY(-8deg);
}

.stat-sparkline.blue { border-color: #0ea5e9; }
.stat-sparkline.green { border-color: #16a34a; }
.stat-sparkline.orange { border-color: #f59e0b; }

.partner-dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.9fr);
  gap: 20px;
  margin-top: 22px;
}

.dashboard-panel,
.premium-work-grid > article {
  border: 1px solid #dce5f0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 41, 71, 0.05);
  padding: 26px;
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.panel-heading h2 {
  margin: 3px 0 0;
}

.panel-count {
  border-radius: 999px;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.75rem;
  font-weight: 850;
  padding: 7px 10px;
  white-space: nowrap;
}

.empty-work-state {
  display: grid;
  justify-items: start;
  gap: 7px;
  margin-top: 22px;
  border: 1px dashed #bfdbfe;
  border-radius: 14px;
  background: #f8fbff;
  padding: 24px;
}

.empty-work-state small,
.profile-summary span,
.profile-summary small {
  color: var(--muted);
}

.empty-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: #dbeafe;
  color: #2563eb;
  font-size: 1.3rem;
  font-weight: 900;
}

.profile-avatar {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: #dbeafe;
  color: #1d4ed8;
  font-weight: 900;
}

.profile-summary {
  display: grid;
  gap: 5px;
  margin: 24px 0;
}

.text-link {
  color: #2563eb;
  font-size: 0.9rem;
  font-weight: 850;
}

.premium-work-grid {
  margin-top: 22px;
}

.partner-footer-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}

.partner-footer-note span {
  margin-right: 8px;
  color: var(--ink);
  font-weight: 850;
}

.standalone-main {
  min-height: calc(100vh - 120px);
  padding: clamp(42px, 7vw, 90px) 0 100px;
}

.standalone-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.standalone-heading h1 {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
}

.standalone-heading > p:not(.eyebrow) {
  max-width: 650px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.standalone-search {
  margin-bottom: 26px;
}

.standalone-search .search-card {
  max-width: 760px;
  margin: 0;
  box-shadow: var(--shadow);
}

.standalone-service-grid {
  margin-top: 24px;
}

.empty-service-state {
  grid-column: 1 / -1;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--muted);
  padding: 32px;
  text-align: center;
}

.provider-search-area {
  display: none;
  margin-top: 34px;
  scroll-margin-top: 110px;
}

.provider-search-area.is-visible {
  display: block;
}

.customer-request-section {
  margin-top: 34px;
  padding-bottom: 64px;
}

.customer-booking-form {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(18px, 3vw, 28px);
}

.customer-booking-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.customer-booking-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.customer-booking-grid input,
.customer-booking-grid select,
.customer-booking-grid textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.service-request-card {
  display: grid;
  gap: 13px;
  margin-top: 18px;
}

.service-request-card label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.service-request-card input,
.service-request-card select,
.service-request-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
}

.service-request-card textarea {
  resize: vertical;
}

.address-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.shop-quotes-section {
  border-top: 1px solid #dbe5ec;
  background: #f7fafc;
}

.customer-booking-grid textarea {
  resize: vertical;
}

.customer-booking-wide {
  grid-column: 1 / -1;
}

.customer-booking-form > .button {
  margin-top: 18px;
}

.payment-main {
  min-height: calc(100vh - 90px);
  padding: 34px 0 70px;
}

.payment-card {
  max-width: 560px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-strong);
  padding: clamp(22px, 5vw, 42px);
}

.payment-intro {
  color: var(--muted);
}

.payment-worker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.payment-worker-photo {
  display: grid;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 1.4rem;
  font-weight: 900;
  overflow: hidden;
  place-items: center;
}

.payment-worker-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.payment-worker strong,
.payment-worker span,
.payment-worker small {
  display: block;
}

.payment-worker span,
.payment-worker small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.payment-details {
  display: grid;
  gap: 10px;
  margin: 22px 0;
}

.payment-details div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.payment-details dt { color: var(--muted); }
.payment-details dd { margin: 0; font-weight: 850; text-align: right; }
.payment-pay-button { width: 100%; }

.payment-qr-block {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 26px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  text-align: center;
}

.payment-qr-block img { width: 180px; height: 180px; }
.payment-qr-block small { color: var(--muted); }
.payment-card footer { margin-top: 28px; color: var(--blue-900); font-weight: 850; text-align: center; }
.payment-card footer span { color: var(--muted); font-weight: 600; }

.provider-waiting,
.booking-confirmation {
  border: 1px solid #cddbf8;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffffff, #eff6ff);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 34px);
}

.provider-waiting {
  display: flex;
  align-items: center;
  gap: 16px;
}

.provider-waiting strong {
  color: var(--blue-900);
  font-size: 1.1rem;
}

.provider-waiting p,
.booking-confirmation > p:not(.eyebrow),
.provider-heading p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
}

.loading-dot {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  border: 3px solid #bfdbfe;
  border-top-color: var(--blue-700);
  border-radius: 50%;
  animation: provider-spin 800ms linear infinite;
}

@keyframes provider-spin {
  to {
    transform: rotate(360deg);
  }
}

.provider-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.provider-heading h2 {
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.request-live-badge,
.provider-status {
  border-radius: 999px;
  background: #dcfce7;
  color: #15803d;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 8px 11px;
  white-space: nowrap;
}

.provider-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.provider-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 24, 48, 0.08);
  padding: 20px;
}

.provider-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
}

.provider-avatar {
  display: grid;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #dbeafe, #2563eb);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  place-items: center;
}

.provider-card h3 {
  font-size: 1.04rem;
}

.provider-card-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.provider-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
  color: #a16207;
  font-size: 0.82rem;
  font-weight: 800;
}

.provider-meta span {
  border-radius: 6px;
  background: #fffbeb;
  padding: 7px 9px;
}

.provider-price,
.provider-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  padding: 10px 0;
}

.provider-price strong,
.provider-total strong {
  color: var(--ink);
}

.provider-total {
  color: var(--blue-900);
  font-weight: 850;
}

.provider-total strong {
  color: var(--blue-700);
  font-size: 1.08rem;
}

.provider-select {
  width: 100%;
  margin-top: 10px;
}

.booking-confirmation h2 {
  max-width: 700px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.booking-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0;
}

.booking-timeline span {
  border-top: 3px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
  padding-top: 8px;
}

.booking-timeline .is-done {
  border-top-color: var(--green);
  color: var(--green);
}

.rating-request {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.rating-request button {
  border: 0;
  background: transparent;
  color: #d97706;
  cursor: pointer;
  font-size: 1.25rem;
  letter-spacing: 2px;
}

.standalone-helper-card,
.standalone-photo-card {
  max-width: 860px;
  margin: 0;
  box-shadow: var(--shadow);
}

.standalone-helper-card h2 {
  margin: 26px 0 12px;
  font-size: 1.45rem;
}

.standalone-photo-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: clamp(20px, 4vw, 38px);
}

.standalone-photo-card .photo-request-form {
  max-width: 680px;
  margin: 0;
  border: 0;
  padding: 0;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section-pad {
  padding: 78px 0;
}

.gov-strip {
  border-bottom: 1px solid rgba(217, 226, 236, 0.9);
  background: #071f3d;
  color: #fff;
}

.gov-strip::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #ff8f1f 0 33.333%, #ffffff 33.333% 66.666%, #138a5b 66.666% 100%);
}

.gov-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
}

.gov-strip p {
  min-width: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.access-tools {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.access-tools button,
.language-pill {
  min-width: 76px;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.access-tools button:hover,
.access-tools button.is-active {
  background: #fff;
  color: var(--blue-900);
}

.language-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: 100%;
  min-height: 72px;
  padding: 12px max(18px, calc((100vw - var(--container)) / 2));
  border-bottom: 1px solid rgba(217, 226, 236, 0.95);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, min-height 180ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.header-menu-cluster {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
}

.header-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 300px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--ink);
  cursor: pointer;
  padding: 8px 16px 8px 12px;
  transition: border-color 180ms ease, background 180ms ease;
}

body:not(.is-logged-in) .header-location-pill {
  display: none;
}

body.nav-open .header-location-pill,
body.profile-open .header-location-pill {
  visibility: hidden;
  pointer-events: none;
}

body.nav-open .menu-toggle,
body.profile-open .menu-toggle {
  display: none !important;
}

.header-location-pill:hover {
  border-color: rgba(11, 92, 171, 0.28);
  background: #edf6ff;
}

.header-location-pill svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.header-location-pill span {
  overflow: hidden;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  width: 148px;
  height: 44px;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.primary-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.primary-nav {
  justify-content: center;
}

.profile-trigger {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--blue-900);
  cursor: pointer;
  padding: 5px 12px 5px 6px;
}

.profile-trigger span,
.member-avatar {
  display: grid;
  aspect-ratio: 1;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--blue-700);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  place-items: center;
}

.profile-trigger span img,
.member-avatar img {
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

.profile-trigger strong {
  max-width: 120px;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.premium-profile-trigger {
  border-color: rgba(19, 138, 91, 0.52);
  background: linear-gradient(135deg, #f7fffb, #ecfff5);
  box-shadow: 0 8px 20px rgba(19, 138, 91, 0.12);
  color: var(--ink);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.premium-profile-trigger:hover {
  border-color: var(--green);
  box-shadow: 0 12px 24px rgba(19, 138, 91, 0.2);
  transform: translateY(-1px);
}

body.is-logged-in .profile-trigger {
  display: inline-flex;
}

body.is-logged-in .login-signup-button {
  display: none;
}

body.is-logged-in .public-menu-link,
body.is-logged-in .mobile-sidebar-only {
  display: none !important;
}

.mobile-sidebar-only {
  display: none;
}

.primary-nav a,
.text-link {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 10px 11px;
  transition: background 160ms ease, color 160ms ease;
}

.primary-nav a:hover,
.text-link:hover {
  background: var(--blue-100);
  color: var(--blue-700);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 750;
  line-height: 1;
  padding: 0 20px;
  text-align: center;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--coral);
  box-shadow: 0 10px 20px rgba(11, 92, 171, 0.2);
  color: #fff;
}

.button-secondary {
  border-color: rgba(7, 31, 61, 0.16);
  background: #fff;
  color: var(--ink);
}

.button-light {
  background: #fff;
  color: var(--blue-900);
}

.button-outline-light {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.button-small {
  min-height: 42px;
  padding-inline: 15px;
}

.login-signup-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.38);
  background:
    linear-gradient(135deg, #0a2540 0%, #0b5cab 52%, #0f9f8f 100%);
  box-shadow: 0 14px 30px rgba(11, 92, 171, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
  font-weight: 900;
}

.login-signup-button::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  z-index: -1;
  width: 55%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-18deg);
  animation: premium-shine 4s ease-in-out infinite;
}

@keyframes premium-shine {
  0%,
  55% {
    left: -70%;
  }

  100% {
    left: 130%;
  }
}

body:not(.is-logged-in) [data-protected-action] {
  cursor: pointer;
}

body:not(.is-logged-in) [data-auth-required-content],
body.is-logged-in [data-public-only] {
  display: none !important;
}

.hero {
  position: relative;
  overflow: visible;
  min-height: auto;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7, 31, 61, 0.055) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #ffffff 0%, #eef4f8 100%);
  background-size: 42px 42px, auto;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(420px, 0.9fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: balance;
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 4.1vw, 4rem);
  font-weight: 850;
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.72rem, 3.2vw, 2.9rem);
  font-weight: 850;
  line-height: 1.1;
}

h3 {
  font-size: 1.22rem;
  font-weight: 850;
  line-height: 1.18;
}

p {
  line-height: 1.65;
}

.hero-lead {
  max-width: 650px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  font-weight: 560;
}

.live-note {
  display: inline-flex;
  align-items: center;
  margin: 18px 0 0;
  border: 1px solid #cddbf8;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-900);
  font-size: 0.94rem;
  font-weight: 800;
  padding: 9px 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
  margin-top: 34px;
}

.hero-stats div {
  border: 1px solid rgba(217, 226, 236, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  padding: 16px;
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.15;
}

.hero-stats span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.35;
}

.hero-photo-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: var(--blue-900);
  box-shadow: var(--shadow-strong);
}

.hero-photo-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(7, 31, 61, 0.9) 100%);
  content: "";
}

.hero-photo-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.hero-photo-caption {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  z-index: 1;
  display: grid;
  gap: 7px;
  color: #fff;
}

.hero-photo-caption strong {
  max-width: 280px;
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-photo-caption > span:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.hero-photo-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #bfe0ff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-photo-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #61d8a4;
  box-shadow: 0 0 0 4px rgba(97, 216, 164, 0.16);
}

.hero-secondary-link {
  align-self: center;
  color: var(--blue-700);
}

body.is-logged-in .hero-photo-card {
  display: none;
}

.mobile-what-amojee-art {
  display: none !important;
}

.desktop-hero-service-art {
  display: flex !important;
  width: min(100%, 590px);
  margin-top: 28px;
  align-items: center;
  justify-content: center;
}

.desktop-hero-service-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 330px;
  object-fit: contain;
  animation: desktop-service-art-float 5s ease-in-out infinite;
}

@keyframes desktop-service-art-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}


.hero-showcase {
  position: relative;
  display: grid;
  gap: 16px;
  min-height: auto;
  align-content: center;
}

.hero-animation {
  position: relative;
  min-height: clamp(360px, 28vw, 430px);
  overflow: hidden;
  border: 1px solid rgba(7, 31, 61, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(33, 118, 210, 0.18), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #edf5ff 56%, #dfeeff 100%);
  box-shadow: var(--shadow-strong);
  isolation: isolate;
  z-index: 1;
}

.hero-animation::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(11, 92, 171, 0.12);
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(11, 92, 171, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 92, 171, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
}

.service-orbit {
  position: absolute;
  inset: 86px;
  border: 1px dashed rgba(11, 92, 171, 0.35);
  border-radius: 999px;
  animation: orbit-spin 18s linear infinite;
}

.service-orbit-two {
  inset: 126px 72px;
  border-color: rgba(10, 119, 108, 0.34);
  animation-duration: 24s;
  animation-direction: reverse;
}

.service-core {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: min(48%, 220px);
  min-width: 172px;
  min-height: 172px;
  border: 1px solid rgba(11, 92, 171, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 60px rgba(9, 24, 48, 0.14);
  place-items: center;
  padding: 24px;
  text-align: center;
  transform: translate(-50%, -50%);
}

.service-core img {
  width: 142px;
  max-width: 82%;
  border-radius: 6px;
}

.service-core span {
  margin-top: 12px;
  color: var(--blue-900);
  font-size: 0.88rem;
  font-weight: 850;
}

.service-bubble {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(11, 92, 171, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 34px rgba(9, 24, 48, 0.12);
  color: var(--blue-900);
  font-size: 0.88rem;
  font-weight: 850;
  padding: 12px 14px;
  animation: bubble-float 4.8s ease-in-out infinite;
}

.bubble-electric {
  top: 74px;
  left: 58px;
}

.bubble-clean {
  top: 102px;
  right: 54px;
  animation-delay: -1.1s;
}

.bubble-plumb {
  right: 74px;
  bottom: 128px;
  animation-delay: -2.2s;
}

.bubble-helper {
  left: 48px;
  bottom: 122px;
  animation-delay: -3.2s;
}

.service-pulse {
  position: absolute;
  z-index: 2;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--blue-500);
  box-shadow: 0 0 0 0 rgba(33, 118, 210, 0.28);
  animation: service-ping 2.8s ease-out infinite;
}

.pulse-one {
  top: 172px;
  left: 112px;
}

.pulse-two {
  top: 222px;
  right: 118px;
  animation-delay: -0.9s;
}

.pulse-three {
  right: 178px;
  bottom: 86px;
  animation-delay: -1.8s;
}

@keyframes orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes bubble-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes service-ping {
  70% {
    box-shadow: 0 0 0 22px rgba(33, 118, 210, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(33, 118, 210, 0);
  }
}

.hero-photo {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 31, 61, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-strong);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 31, 61, 0) 46%, rgba(7, 31, 61, 0.72)),
    linear-gradient(90deg, rgba(11, 92, 171, 0.18), transparent 34%);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 58% center;
}

.hero-photo figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(7, 31, 61, 0.82);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 10px 12px;
  backdrop-filter: blur(12px);
}

.hero-panel {
  position: relative;
  z-index: 3;
  width: min(100%, 510px);
  margin: 16px 0 0 auto;
  border: 1px solid rgba(7, 31, 61, 0.15);
  border-top: 4px solid var(--coral);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.13);
  padding: clamp(20px, 2.2vw, 26px);
}

.hero-showcase {
  overflow: visible;
}

.hero-copy[data-reveal],
.hero-showcase[data-reveal] {
  opacity: 1;
  transform: none;
}

.request-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.request-status span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.request-status strong {
  border-radius: 8px;
  background: rgba(11, 92, 171, 0.09);
  color: var(--coral);
  font-size: 0.78rem;
  line-height: 1;
  padding: 8px 10px;
  text-transform: uppercase;
}

body.is-logged-in .request-status strong {
  background: rgba(22, 132, 95, 0.11);
  color: var(--green);
}

.hero-panel .panel-heading {
  display: grid;
  align-items: start;
  justify-content: stretch;
  gap: 0;
  margin-bottom: 18px;
}

.hero-panel .panel-heading h2 {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  line-height: 1.12;
}

.hero-panel .panel-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 560;
  line-height: 1.55;
}

.login-required {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  margin-top: 14px;
  border: 1px solid #bfd0ea;
  border-radius: 8px;
  background: #f7faff;
  color: var(--blue-900);
  font-size: 0.86rem;
  font-weight: 750;
  padding: 8px 10px;
}

body.is-logged-in .login-required {
  border-color: rgba(22, 132, 95, 0.28);
  background: rgba(22, 132, 95, 0.08);
  color: var(--green);
}

.search-card {
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px;
}

.search-card label {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 800;
}

.search-input-wrap {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(7, 31, 61, 0.14);
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}

.search-input-wrap svg,
.location-chip svg {
  width: 22px;
  height: 22px;
  color: var(--coral);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.search-input-wrap input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  font-weight: 560;
}

.search-input-wrap input[readonly] {
  cursor: pointer;
}

body:not(.is-logged-in) .search-input-wrap {
  background: #f8fafc;
}

body:not(.is-logged-in) .search-input-wrap input {
  background: transparent;
  color: var(--muted);
}

.button-search {
  min-height: 40px;
  padding-inline: 14px;
}

.example-services {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 560;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  border: 1px solid #cddbf8;
  border-radius: 8px;
  background: #fff;
  color: var(--blue-900);
  font-size: 0.9rem;
  font-weight: 750;
  padding: 9px 12px;
}

.form-message {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 750;
}

.panel-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.panel-features span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--blue-900);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
  padding: 12px;
}

.request-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.request-preview div {
  display: grid;
  grid-template-columns: 11px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
}

.request-preview div > span {
  width: 11px;
  height: 11px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(11, 92, 171, 0.1);
}

.request-preview p {
  margin: 0;
  line-height: 1.35;
}

.request-preview strong,
.request-preview small {
  display: block;
}

.request-preview strong {
  color: var(--ink);
  font-size: 0.94rem;
}

.request-preview small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 600;
}

.member-home {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.nearby-partners {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.nearby-partners .section-heading {
  margin-bottom: 18px;
}

.shop-search-panel {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-bottom: 22px;
  border: none;
  border-radius: 8px;
  background: #f8fafc;
  padding: 0;
}

.hero-shop-search {
  max-width: 100%;
  margin-bottom: 18px;
  background: transparent;
  box-shadow: none;
}

.shop-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
}

.shop-search-bar input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
  outline: none;
  box-shadow: none;
}

.shop-search-bar .button {
  width: 100%;
  min-height: 48px;
  padding-inline: 16px;
}

.shop-search-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
}

.location-control {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.location-control span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.partner-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff 0%, #f8fbff 100%);
  box-shadow: 0 12px 30px rgba(9, 24, 48, 0.08);
  padding: 16px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(9, 24, 48, 0.12);
}

.partner-photo {
  display: grid;
  width: 88px;
  height: 104px;
  border-radius: 8px;
  background: linear-gradient(145deg, #dbeafe, #2563eb);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  place-items: center;
  object-fit: cover;
}

.partner-photo-alt {
  background: linear-gradient(145deg, #ede9fe, #7c3aed);
}

.partner-photo-green {
  background: linear-gradient(145deg, #d1fae5, #059669);
}

.partner-card-top,
.partner-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.partner-card-top {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.partner-card-top strong {
  color: var(--blue-700);
}

.partner-type {
  color: var(--green);
}

.partner-card h3 {
  margin-top: 12px;
  font-size: 1rem;
}

.partner-card p {
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.partner-rating {
  justify-content: flex-start;
  color: #d97706;
  font-size: 0.84rem;
  font-weight: 850;
}

.partner-rating span {
  color: var(--muted);
  font-weight: 650;
}

.business-shop-card .button {
  margin-top: 12px;
}

.business-shop-card .partner-card-body {
  min-width: 0;
}

.business-shop-card .partner-services {
  min-height: 38px;
}

.button-request-sent {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
}

.shop-request-wait,
.shop-review-status {
  display: block;
  margin-top: 8px;
  color: #15803d;
  font-weight: 750;
}

.quote-decision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.shop-profile-panel {
  margin-top: 22px;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(9, 24, 48, 0.08);
  padding: clamp(18px, 3vw, 28px);
}

.shop-profile-panel[hidden] {
  display: none;
}

.booking-details-card,
.shop-history-card {
  width: min(100%, 720px);
  max-height: min(760px, calc(100vh - 32px));
  overflow-y: auto;
  padding: clamp(22px, 4vw, 34px);
}

.booking-details-card h2,
.shop-history-card h2 {
  margin: 6px 0 8px;
}

.booking-details-card > p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 22px;
}

.booking-details-card form {
  display: grid;
  gap: 14px;
}

.booking-details-card label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.booking-details-card textarea,
.booking-details-card input {
  width: 100%;
}

.shop-history-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.shop-history-columns > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.shop-history-columns h3 {
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.shop-history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 10px;
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.shop-history-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.shop-history-item div,
.shop-history-item small {
  display: grid;
  gap: 3px;
}

.shop-history-item span,
.shop-history-item small {
  color: var(--muted);
  font-size: 0.76rem;
}

.shop-history-item b {
  color: var(--blue-700);
  font-size: 0.86rem;
}

.shop-history-item small {
  grid-column: 1 / -1;
}

@media (max-width: 720px) {
  .shop-history-columns {
    grid-template-columns: 1fr;
  }

  .booking-details-card,
  .shop-history-card {
    max-height: calc(100vh - 20px);
    padding: 22px 18px;
  }
}

.shop-profile-hero {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.shop-profile-photo {
  width: 116px;
  height: 116px;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #2563eb, 0 14px 28px rgba(37, 99, 235, 0.18);
  object-fit: cover;
}

.shop-profile-hero h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.shop-profile-hero p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
}

.shop-profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.shop-profile-meta span {
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 850;
  padding: 7px 10px;
}

.shop-items-section {
  margin-top: 26px;
}

.shop-item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.shop-item-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.shop-item-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.shop-item-card strong,
.shop-item-card span,
.shop-item-card b {
  display: block;
}

.shop-item-card span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.shop-item-card p {
  margin: 10px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.shop-item-card b {
  color: var(--blue-700);
}

.helper-page-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fafc;
  padding: 22px;
}

.helper-page-card label,
.photo-request-form label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

.helper-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.helper-search input,
.photo-request-form input,
.photo-request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 12px;
}

.helper-message {
  min-height: 24px;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.helper-page-card h3 {
  margin-bottom: 10px;
  font-size: 1rem;
}

.online-helper-list {
  display: grid;
  gap: 8px;
}

.online-helper-list > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.helper-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-weight: 900;
  place-items: center;
}

.helper-avatar-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.helper-avatar-amber {
  background: #fef3c7;
  color: #b45309;
}

.online-helper-list p {
  margin: 0;
}

.online-helper-list strong,
.online-helper-list small {
  display: block;
}

.online-helper-list small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
}

.online-helper-list b {
  color: #b45309;
  font-size: 0.78rem;
  white-space: nowrap;
}

.photo-request-form {
  display: grid;
  gap: 8px;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  padding: 18px;
}

.photo-request-form textarea {
  resize: vertical;
}

.member-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.member-profile-card,
.member-facilities a,
.member-facilities button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(9, 24, 48, 0.06);
}

.member-profile-card {
  display: grid;
  width: 100%;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  cursor: pointer;
  padding: 20px;
  text-align: left;
}

.member-profile-card {
  border-color: rgba(11, 92, 171, 0.2);
  background: linear-gradient(135deg, #ffffff, #eef6ff 58%, #e6f7f4);
  box-shadow: 0 14px 30px rgba(11, 92, 171, 0.12);
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.member-profile-card small,
.member-profile-card em,
.member-facilities small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 650;
  line-height: 1.45;
}

.member-profile-card strong,
.member-facilities strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.2;
}

.member-dashboard {
  min-width: 0;
}

.member-facilities {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.member-facilities a,
.member-facilities button {
  display: grid;
  min-height: 154px;
  cursor: pointer;
  padding: 18px;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.member-facilities a:hover,
.member-facilities button:hover,
.member-profile-card:hover {
  border-color: rgba(11, 92, 171, 0.24);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.member-facilities span {
  display: grid;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.76rem;
  font-weight: 900;
  place-items: center;
}

.quick-actions {
  margin-top: 0;
  position: relative;
  z-index: 3;
  background: #f8fafc;
  padding: 70px 0 76px;
}

.section-heading.compact {
  max-width: 560px;
  margin-bottom: 22px;
}

.section-heading.compact h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.action-card {
  min-height: 238px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 26px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.07);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.action-card:hover {
  border-color: rgba(11, 92, 171, 0.22);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.action-service {
  border-top: 4px solid var(--coral);
}

.action-helper {
  border-top: 4px solid var(--teal);
}

.action-photo {
  border-top: 4px solid var(--amber);
}

.action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #eaf3ff;
  color: var(--coral);
  font-weight: 800;
}

.action-card h2 {
  font-size: 1.35rem;
  line-height: 1.16;
}

.action-card p {
  margin: 12px 0 22px;
  color: var(--muted);
  font-weight: 560;
}

.amojee-info {
  background:
    linear-gradient(180deg, #ffffff, #f7fafc),
    #fff;
}

.info-layout {
  display: grid;
  gap: 28px;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.capability-card {
  min-height: 244px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.98)),
    #fff;
  box-shadow: 0 8px 28px rgba(13, 34, 82, 0.06);
  padding: 24px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.capability-card:hover {
  border-color: rgba(7, 31, 61, 0.2);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.capability-card:nth-child(2n) .capability-icon {
  background: var(--mint);
  color: var(--teal);
}

.capability-card:nth-child(3n) .capability-icon {
  background: #fff5df;
  color: var(--amber);
}

.capability-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #eaf3ff;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  place-items: center;
}

.capability-card h3 {
  max-width: 280px;
}

.capability-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 560;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 32px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 560;
}

.services {
  background:
    linear-gradient(180deg, #f8fafc 0%, #ffffff 42%),
    var(--paper);
}

.service-gate {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.72fr) auto;
  gap: 26px;
  align-items: center;
  border: 1px solid rgba(7, 31, 61, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(7, 31, 61, 0.99), rgba(17, 19, 24, 0.98) 58%, rgba(33, 118, 210, 0.9)),
    var(--blue-900);
  box-shadow: var(--shadow-strong);
  color: #fff;
  padding: clamp(24px, 4vw, 38px);
}

.service-gate .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.service-gate h3 {
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  line-height: 1.12;
}

.service-gate p {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 560;
}

.gate-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.gate-list span {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 12px;
}

.service-unlocked-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  border: 1px solid rgba(7, 31, 61, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  padding: 18px 20px;
}

.service-unlocked-banner h3 {
  font-size: 1.18rem;
}

.service-unlocked-banner .eyebrow {
  margin-bottom: 6px;
}

.service-unlocked-banner span {
  border-radius: 8px;
  background: #eaf3ff;
  color: var(--coral);
  font-size: 0.84rem;
  font-weight: 850;
  padding: 9px 12px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.benefit-grid article,
.testimonial-grid article,
.work-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(9, 24, 48, 0.06);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 232px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-top: 3px solid var(--blue-500);
  background:
    radial-gradient(circle at 100% 0, rgba(219, 234, 254, 0.7), transparent 42%),
    linear-gradient(145deg, #ffffff, #f8fbff);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
  padding: 24px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.service-card:hover {
  border-color: rgba(37, 99, 235, 0.36);
  border-top-color: var(--blue-700);
  box-shadow: 0 20px 40px rgba(30, 64, 175, 0.14);
  transform: translateY(-3px);
}

.service-icon {
  display: inline-grid;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: linear-gradient(135deg, #dbeafe, #ffffff);
  color: var(--coral);
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.1);
  place-items: center;
}

.service-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.service-card p {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 560;
}

.service-card a {
  display: inline-flex;
  align-items: center;
  width: max-content;
  margin-top: auto;
  border-radius: 6px;
  color: var(--blue-700);
  font-size: 0.9rem;
  font-weight: 800;
  padding: 7px 0;
}

.service-card a:hover {
  color: var(--blue-900);
}

.section-link {
  margin-top: 28px;
}

.section-link a {
  color: var(--coral);
  font-weight: 800;
}

.quick-helper {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.feature-layout,
.photo-layout,
.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
}

.feature-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
  font-weight: 560;
}

.partner-panel p,
.final-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.feature-copy .button {
  margin-top: 26px;
}

.safety-note,
.partner-note {
  font-size: 0.92rem;
}

.helper-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.helper-list span,
.trust-list span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 750;
  padding: 20px;
}

.photo-request {
  background: var(--soft);
}

.photo-layout {
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
}

.photo-card {
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.photo-visual {
  display: grid;
  width: min(240px, 70%);
  aspect-ratio: 1;
  border: 1px solid #cddbf8;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(13, 34, 82, 0.1);
  place-items: center;
}

.photo-visual svg {
  width: 64%;
  color: var(--blue-700);
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.step-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: steps;
}

.step-list li {
  counter-increment: steps;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 750;
}

.step-list li::before {
  content: counter(steps, decimal-leading-zero);
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.76rem;
  place-items: center;
}

.how-it-works {
  background: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.work-grid article {
  min-height: 168px;
  padding: 24px;
}

.work-grid span {
  color: var(--blue-700);
  font-weight: 900;
}

.work-grid h3 {
  margin-top: 42px;
}

.why {
  background: var(--soft);
}

.benefit-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.benefit-grid article,
.testimonial-grid article {
  padding: 24px;
}

.testimonial-grid article {
  min-height: 220px;
}

.benefit-grid p,
.testimonial-grid p {
  color: var(--muted);
  font-weight: 560;
}

.trust {
  background: #fff;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.trust-list span {
  border-color: var(--line);
  background: var(--soft);
  color: var(--ink);
}

.partner {
  background: var(--paper);
}

.partner-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-radius: 8px;
  background: var(--blue-900);
  color: #fff;
  padding: clamp(28px, 5vw, 54px);
  box-shadow: var(--shadow);
}

.partner-panel h2,
.final-panel h2 {
  max-width: 680px;
}

.testimonials {
  background: var(--soft);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rating {
  margin: 8px 0;
  color: var(--amber) !important;
  font-weight: 900 !important;
}

.faq {
  background: #fff;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
  padding: 20px 48px 20px 20px;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  color: var(--blue-700);
  font-size: 1.5rem;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 560;
  padding: 18px 20px 20px;
}

.final-cta {
  background: var(--soft);
}

.final-panel {
  border-radius: 8px;
  background: var(--blue-900);
  color: #fff;
  padding: clamp(34px, 6vw, 70px);
  text-align: center;
}

.final-panel .hero-actions {
  justify-content: center;
}

.bottom-partner {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 28px 0 42px;
}

.bottom-partner-inner {
  display: flex;
  justify-content: center;
}

.bottom-partner .button {
  min-width: 230px;
}

.site-footer {
  background: #101827;
  color: #fff;
  padding: 60px 0 92px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 34px;
}

.footer-brand img {
  width: 170px;
  height: 54px;
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 0.95rem;
}

.site-footer a,
.site-footer p,
.footer-bottom {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
  font-weight: 560;
  line-height: 1.9;
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  margin-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  opacity: 0;
  padding: 18px;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.auth-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 31, 61, 0.64);
  backdrop-filter: blur(12px);
}

.auth-card {
  position: relative;
  width: min(100%, 430px);
  overflow: hidden;
  border: 1px solid rgba(147, 197, 253, 0.5);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 30px 80px rgba(3, 24, 52, 0.3);
  padding: 34px;
}

.auth-card::before {
  display: block;
  width: 46px;
  height: 5px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, #4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75%);
  content: "";
}

.address-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  opacity: 0;
  padding: 18px;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.address-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.address-card {
  position: relative;
  width: min(100%, 480px);
  max-height: min(82vh, 760px);
  border: 1px solid rgba(11, 92, 171, 0.12);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.14);
  padding: 18px 18px 20px;
  color: var(--blue-900);
}

.service-location-sheet {
  display: grid;
  gap: 18px;
  max-height: min(80vh, 700px);
  overflow-y: auto;
  padding-right: 4px;
}

.service-location-sheet::-webkit-scrollbar {
  width: 8px;
}

.service-location-sheet::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(11, 92, 171, 0.18);
}

.location-sheet-header {
  display: flex;
  align-items: center;
  padding: 8px 4px 0;
}

.location-back-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: #f8fafc;
  font-size: 1.8rem;
  line-height: 1;
  transform: translateY(-2px);
}

.location-sheet-header h2 {
  margin: 0;
  color: var(--blue-900);
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.location-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fbff;
  padding: 0 18px;
}

.search-icon {
  color: var(--blue-700);
  font-size: 1.7rem;
  font-weight: 600;
}

.location-search-box input {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.08rem;
  outline: none;
}

.location-clear-button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 92, 171, 0.1);
  color: var(--blue-900);
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
}

.location-save-button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: var(--blue-700);
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
}

.location-save-button:not([hidden]),
.location-clear-button:not([hidden]) {
  display: grid;
}

.location-search-box input::placeholder {
  color: rgba(17, 19, 24, 0.5);
}

.location-option-list {
  display: grid;
  gap: 12px;
}

.location-option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 66px;
  border: 1px solid rgba(11, 92, 171, 0.12);
  border-radius: 18px;
  background: #f8fbff;
  color: var(--blue-900);
  cursor: pointer;
  padding: 12px 18px;
  text-align: left;
}

.location-option-current {
  background: #edf5ff;
}

.location-map-preview {
  overflow: hidden;
  min-height: 150px;
  border: 1px solid rgba(11, 92, 171, 0.14);
  border-radius: 14px;
  background: #eef5ff;
}

.location-map-preview iframe {
  display: block;
  width: 100%;
  height: 150px;
  border: 0;
}

.option-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 1.5rem;
  font-weight: 700;
}

.red-icon {
  color: var(--blue-700);
}

.option-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.option-copy strong,
.saved-copy h4,
.nearby-copy h4 {
  color: var(--blue-900);
  font-weight: 700;
}

.option-copy small,
.saved-copy p,
.saved-copy small,
.nearby-copy p {
  color: rgba(17, 19, 24, 0.72);
  font-size: 0.9rem;
  line-height: 1.45;
}

.location-section {
  display: grid;
  gap: 12px;
  padding-top: 4px;
}

.location-section h3 {
  margin: 0;
  color: rgba(7, 31, 61, 0.72);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.saved-location-card,
.nearby-location-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  border: 1px solid rgba(11, 92, 171, 0.12);
  border-radius: 18px;
  background: #f8fbff;
  padding: 14px 12px;
}

.saved-icon,
.nearby-marker {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(11, 92, 171, 0.16);
  border-radius: 50%;
  color: var(--blue-700);
  font-size: 1.1rem;
}

.saved-copy,
.nearby-copy {
  min-width: 0;
}

.saved-copy h4,
.nearby-copy h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.saved-copy p,
.nearby-copy p {
  margin: 0;
}

.saved-delete-button {
  align-self: center;
  border: 1px solid #fecaca;
  border-radius: 7px;
  background: #fff5f5;
  color: #b91c1c;
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 7px 9px;
}

.saved-delete-button:hover {
  background: #fee2e2;
}

.saved-copy small {
  display: block;
  margin-top: 8px;
}

.saved-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.saved-actions button {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(11, 92, 171, 0.14);
  border-radius: 50%;
  background: transparent;
  color: rgba(7, 31, 61, 0.7);
  cursor: pointer;
  font-size: 0.7rem;
}

.nearby-distance {
  align-self: center;
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.nearby-empty {
  margin: 0;
  border: 1px solid rgba(11, 92, 171, 0.12);
  border-radius: 12px;
  background: #f8fbff;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  padding: 12px;
}

@media (max-width: 600px) {
  .address-modal {
    align-items: end;
    padding: 8px;
  }

  .address-card {
    width: 100%;
    max-height: 88vh;
    border-radius: 18px;
    padding: 14px 14px 16px;
  }

  .service-location-sheet {
    gap: 12px;
    max-height: calc(88vh - 30px);
  }

  .location-sheet-header {
    padding: 4px 2px 0;
  }

  .location-sheet-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0;
  }

  .location-search-box {
    min-height: 46px;
    gap: 8px;
    border-radius: 12px;
    padding: 0 12px;
  }

  .search-icon {
    font-size: 1.25rem;
  }

  .location-search-box input {
    font-size: 0.88rem;
  }

  .location-clear-button {
    width: 22px;
    height: 22px;
    font-size: 0.95rem;
  }

  .location-save-button {
    min-height: 38px;
    font-size: 0.82rem;
  }

  .location-option-list {
    gap: 8px;
  }

  .location-option {
    min-height: 52px;
    gap: 10px;
    border-radius: 12px;
    padding: 9px 12px;
  }

  .option-icon {
    width: 22px;
    height: 22px;
    font-size: 1.15rem;
  }

  .option-copy {
    gap: 2px;
  }

  .option-copy strong {
    font-size: 0.88rem;
    font-weight: 600;
  }

  .option-copy small,
  .saved-copy p,
  .nearby-copy p {
    font-size: 0.76rem;
    line-height: 1.35;
  }

  .location-section {
    gap: 8px;
    padding-top: 2px;
  }

  .location-section h3 {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
  }

  .saved-location-card,
  .nearby-location-item {
    gap: 9px;
    border-radius: 12px;
    padding: 10px;
  }

  .saved-icon,
  .nearby-marker {
    width: 24px;
    height: 24px;
    font-size: 0.9rem;
  }

  .saved-copy h4,
  .nearby-copy h4 {
    margin-bottom: 3px;
    font-size: 0.86rem;
    font-weight: 600;
  }

  .saved-delete-button {
    font-size: 0.68rem;
    padding: 6px 7px;
  }

  .nearby-distance {
    font-size: 0.7rem;
  }

  .nearby-empty {
    font-size: 0.74rem;
    padding: 10px;
  }

  .auth-close {
    top: 9px;
    right: 10px;
    width: 28px;
    height: 28px;
    font-size: 1.1rem;
  }
}

.auth-close {
  position: absolute;
  top: 12px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(17, 19, 24, 0.12);
  border-radius: 50%;
  background: #f8fbff;
  color: var(--blue-900);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.partner-submit-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  opacity: 0;
  padding: 18px;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.partner-submit-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.partner-submit-card {
  position: relative;
  width: min(100%, 460px);
  border: 1px solid rgba(224, 231, 240, 0.96);
  border-top: 4px solid var(--green);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
  padding: 28px;
}

.partner-submit-card h2 {
  margin-top: 8px;
  font-size: clamp(1.55rem, 5vw, 2rem);
  line-height: 1.1;
}

.partner-submit-card p:not(.eyebrow) {
  margin: 12px 0 22px;
  color: var(--muted);
  font-weight: 650;
}

.auth-card h2 {
  font-size: clamp(1.65rem, 5vw, 2.2rem);
  line-height: 1.08;
}

.auth-intro {
  margin: 12px 0 22px;
  color: var(--muted);
  font-weight: 560;
}

.google-login-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  gap: 12px;
  border: 1px solid #c9d8ec;
  border-radius: 12px;
  background: #fff;
  color: var(--blue-900);
  cursor: pointer;
  font-weight: 700;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.google-mark {
  display: grid;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: conic-gradient(from -45deg, #4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75% 100%);
  background-clip: text;
  color: transparent;
  font-family: Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  place-items: center;
}

.google-login-label {
  line-height: 1;
}

.google-login-button:hover {
  border-color: rgba(11, 92, 171, 0.42);
  background: #f8fbff;
  box-shadow: 0 10px 24px rgba(9, 24, 48, 0.1);
  transform: translateY(-1px);
}

.google-login-button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #f8fbff;
  color: var(--blue-900);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  place-items: center;
}

.auth-close:hover {
  color: var(--ink);
}

.auth-form {
  display: grid;
  gap: 10px;
}

.auth-form label {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  padding: 0 13px;
}

.auth-form input:focus {
  border-color: rgba(37, 99, 235, 0.65);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.auth-form .button {
  margin-top: 8px;
  width: 100%;
}

.auth-message {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.auth-message:not(:empty) {
  margin-top: 14px;
  border-radius: 9px;
  background: #fff7ed;
  color: #b45309;
  padding: 10px 12px;
}

.language-modal {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  opacity: 0;
  padding: 18px;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.language-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.language-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(8px);
}

.language-card {
  position: relative;
  width: min(100%, 430px);
  border: 1px solid rgba(224, 231, 240, 0.96);
  border-top: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
  padding: 28px;
}

.language-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.25rem;
  place-items: center;
}

.language-card h2 {
  padding-right: 34px;
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.1;
}

.language-card > p:not(.eyebrow) {
  margin: 10px 0 20px;
  color: var(--muted);
}

.language-option-grid {
  display: grid;
  gap: 10px;
}

.language-option {
  display: grid;
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  padding: 12px 14px;
  text-align: left;
}

.language-option span {
  font-size: 1rem;
  font-weight: 900;
}

.language-option small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.language-option:hover,
.language-option.is-selected {
  border-color: rgba(10, 119, 108, 0.35);
  background: #f0fdfa;
}

.language-option.is-selected small {
  color: var(--teal);
}

.profile-sidebar {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
}

.profile-sidebar.is-open {
  pointer-events: auto;
}

.profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0);
  transition: background 220ms ease;
}

.profile-sidebar.is-open .profile-backdrop {
  background: rgba(15, 23, 42, 0.46);
}

.profile-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  width: min(100%, 390px);
  height: 100%;
  align-content: start;
  gap: 18px;
  border-left: 1px solid var(--line);
  background: #fff;
  box-shadow: -24px 0 60px rgba(9, 24, 48, 0.16);
  padding: 24px;
  transform: translateX(105%);
  transition: transform 260ms cubic-bezier(0.2, 0.85, 0.22, 1);
}

.profile-sidebar.is-open .profile-panel {
  transform: translateX(0);
}

.profile-sidebar:not(.is-open) .profile-panel {
  right: -105%;
  transform: none;
}

.profile-sidebar.is-open .profile-panel {
  right: 0;
}

.profile-close {
  justify-self: end;
  display: grid;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
  place-items: center;
}

.profile-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff, #fff);
  padding: 18px;
}

.profile-head p,
.profile-head small {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.profile-head h2 {
  overflow: hidden;
  font-size: 1.32rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-menu {
  display: grid;
  gap: 10px;
}

.profile-menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  padding: 0 14px;
  text-align: left;
}

.profile-menu button::after {
  content: ">";
  color: var(--blue-700);
  font-weight: 900;
}

.profile-menu button:hover,
.profile-menu-link:hover {
  border-color: rgba(11, 92, 171, 0.25);
  background: var(--blue-100);
}

.profile-menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 800;
  padding: 0 14px;
}

.profile-menu-link::after {
  content: ">";
  color: var(--blue-700);
}

.profile-menu a[href="profile.html"] {
  display: none;
}

.logout-button {
  border-color: #fecaca !important;
  background: #fff7f7 !important;
  color: #b91c1c !important;
}

.logout-button::after {
  content: ">" !important;
  color: #dc2626 !important;
}

.order-summary-grid,
.partner-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.order-summary-grid article,
.partner-dashboard-grid article {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 20px;
}

.order-summary-grid strong,
.order-summary-grid span,
.partner-dashboard-grid strong,
.partner-dashboard-grid span,
.partner-dashboard-grid small {
  display: block;
}

.order-summary-grid strong,
.partner-dashboard-grid strong {
  color: var(--blue-700);
  font-size: 1.65rem;
}

.order-summary-grid span,
.partner-dashboard-grid span {
  margin-top: 6px;
  font-weight: 800;
}

.partner-dashboard-grid small {
  margin-top: 6px;
  color: var(--muted);
}

.orders-list {
  display: grid;
  gap: 12px;
}

.order-card,
.partner-layout > * {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
}

.order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 18px;
  align-items: center;
  padding: 20px;
}

.order-card h2 {
  margin-top: 10px;
  font-size: 1.1rem;
}

.order-card p,
.order-card small {
  display: block;
  margin: 6px 0 0;
  color: var(--muted);
}

.order-card > div:nth-child(2) {
  text-align: right;
}

.order-status {
  display: inline-flex;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 850;
  padding: 6px 9px;
}

.order-status.complete {
  background: #dcfce7;
  color: #15803d;
}

.order-status.active {
  background: #dbeafe;
  color: #1d4ed8;
}

.partner-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 18px;
}

.partner-registration-card,
.partner-activity {
  display: grid;
  gap: 11px;
  padding: 24px;
}

.partner-registration-card h2,
.partner-activity h2 {
  margin-bottom: 8px;
}

.partner-registration-card input,
.partner-registration-card select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
}

.partner-job {
  display: grid;
  gap: 7px;
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.partner-job small {
  color: var(--muted);
}

.partner-job div {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.response-strip {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto auto;
  align-items: center;
  gap: 9px;
  overflow-x: auto;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  background: #eff6ff;
  padding: 14px;
  white-space: nowrap;
}

.response-track {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #dbeafe;
}

.response-progress {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #0ea5e9, #22c55e);
  transition: width 80ms linear;
}

.response-counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--blue-900);
}

.response-counter strong {
  color: var(--blue-700);
  font-size: 1.25rem;
}

.response-counter span {
  font-size: 0.82rem;
  font-weight: 750;
}

.response-searching {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue-900);
  font-size: 0.82rem;
  font-weight: 800;
}

.response-searching .loading-dot {
  width: 12px;
  height: 12px;
  border-width: 2px;
}

.response-searching.is-complete {
  color: var(--green);
}

.decline-count {
  margin-left: auto;
  border-radius: 7px;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 0.8rem;
  font-weight: 850;
  padding: 7px 9px;
}

.results-provider-grid {
  margin-top: 22px;
}

.partner-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.partner-entry-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
  border-radius: 24px;
  background: linear-gradient(125deg, #0f2947, #155e91 65%, #0891b2);
  box-shadow: 0 18px 40px rgba(15, 41, 71, 0.18);
  color: #fff;
  padding: clamp(28px, 5vw, 48px);
}

.partner-entry-animate {
  animation: partner-entry-rise 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.partner-entry-main .partner-choice-card {
  animation: partner-entry-rise 650ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.partner-entry-main .partner-choice-card:nth-child(2) {
  animation-delay: 120ms;
}

.partner-entry-main .partner-entry-footer {
  animation: partner-entry-rise 650ms 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes partner-entry-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.partner-entry-hero .eyebrow,
.partner-entry-hero p {
  color: #c8e4f5;
}

.partner-entry-hero h1 {
  max-width: 680px;
  margin: 8px 0 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  letter-spacing: -0.04em;
}

.partner-entry-hero > div:first-child > p:not(.eyebrow) {
  max-width: 650px;
}

.partner-entry-badge {
  display: grid;
  min-width: 185px;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  padding: 22px;
}

.partner-entry-badge span {
  color: #bae6fd;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.partner-entry-badge small {
  color: #c8e4f5;
}

.partner-choice-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 41, 71, 0.08);
  color: var(--ink);
  padding: 30px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.partner-choice-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 18px 42px rgba(37, 99, 235, 0.15);
  transform: translateY(-3px);
}

.partner-choice-card:hover .choice-icon {
  transform: rotate(-4deg) scale(1.06);
}

.partner-choice-card::after {
  position: absolute;
  right: -52px;
  bottom: -68px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #eff6ff;
  content: "";
}

.choice-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.choice-number {
  color: var(--blue-700);
  font-weight: 900;
}

.choice-arrow {
  color: #93c5fd;
  font-size: 1.5rem;
  font-weight: 900;
}

.choice-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-top: 30px;
  place-items: center;
  border-radius: 14px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 1.25rem;
  font-weight: 900;
  transition: transform 180ms ease;
}

.independent-card .choice-icon {
  background: #cffafe;
  color: #0e7490;
}

.partner-choice-card h2 {
  margin-top: 18px;
  font-size: 1.4rem;
}

.partner-choice-card p {
  min-height: 48px;
  color: var(--muted);
}

.partner-choice-card strong {
  display: inline-block;
  position: relative;
  z-index: 1;
  margin-top: 22px;
  color: var(--blue-700);
}

.partner-choice-card strong i {
  margin-left: 6px;
  font-style: normal;
}

.partner-entry-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.partner-entry-footer > div {
  display: flex;
  gap: 12px;
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #f8fbff;
  padding: 18px;
}

.partner-entry-footer p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-check {
  display: grid;
  flex: 0 0 auto;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  font-weight: 900;
}

.partner-note-text {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
}

.full-partner-form {
  display: grid;
  gap: 16px;
  max-width: 860px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 38px);
}

.full-partner-form > label,
.full-partner-form fieldset {
  display: grid;
  gap: 8px;
  border: 0;
  margin: 0;
  padding: 0;
  color: var(--ink);
  font-weight: 800;
}

.full-partner-form input:not([type="checkbox"]),
.full-partner-form select,
.full-partner-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
}

.full-partner-form textarea {
  min-height: 100px;
  resize: vertical;
}

.full-partner-form legend {
  margin-bottom: 8px;
  font-weight: 800;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.check-grid label,
.full-partner-form fieldset > label,
.agreement {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 650;
}

.agreement {
  align-items: flex-start;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
  margin-top: 4px;
}
  gap: 10px;
  width: 100%;
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #f8fbff;
  line-height: 1.45;
  padding: 12px 14px;
}

.agreement input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue-700);
}

.agreement span {
  flex: 1;
}

.admin-queue {
  max-width: 860px;
}

.admin-login-card {
  max-width: 560px;
  border: 1px solid #dbeafe;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 41, 71, 0.08);
  padding: 32px;
}

body.admin-page {
  background: #eef1f4;
  color: #172536;
}

.admin-page .gov-strip {
  border-bottom: 4px solid #f2a900;
  background: #073b72;
  box-shadow: 0 2px 0 #16834b;
}

.admin-page .gov-strip p {
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.admin-page .gov-strip p::before {
  content: "AMOJEE | ";
  color: #f2c14e;
  font-weight: 900;
}

.admin-page .gov-strip-inner {
  justify-content: space-between;
}

.admin-page .gov-strip-inner::after {
  content: "Official internal portal";
  color: #dce9f7;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.admin-page .standalone-main {
  max-width: 1280px;
  padding-top: 34px;
}

.admin-page .standalone-heading {
  border-bottom: 1px solid #c8d2dc;
  padding-bottom: 22px;
}

.admin-page .standalone-heading::before {
  content: "ADMINISTRATION / PARTNER SERVICES";
  display: block;
  margin-bottom: 10px;
  color: #1c659f;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.admin-page .standalone-heading h1 {
  color: #0b315b;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  letter-spacing: 0;
}

.admin-page .standalone-heading > p:not(.eyebrow) {
  max-width: 760px;
  color: #526273;
}

.admin-page .admin-metrics article,
.admin-page .admin-customer-card,
.admin-page .admin-entity-card,
.admin-page .admin-application,
.admin-page .admin-login-card {
  border: 1px solid #c7d1dc;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(26, 47, 67, 0.08);
}

.admin-page .admin-metrics article {
  border-top: 4px solid #1769a8;
  padding: 16px 18px;
}

.admin-page .admin-metrics strong {
  color: #0b4f86;
  font-size: 1.9rem;
}

.admin-page .admin-directory-section,
.admin-page .admin-customer-section,
.admin-page .admin-queue {
  max-width: none;
}

.admin-page .admin-directory-section {
  border-top: 1px solid #aebdca;
  background: #f8fafb;
  padding: 18px;
}

.admin-page .admin-directory-section .panel-heading {
  border-bottom: 1px solid #d3dce4;
  padding-bottom: 12px;
}

.admin-page .admin-entity-card {
  border-radius: 3px;
  box-shadow: none;
}

.admin-page .admin-entity-card:hover,
.admin-page .admin-customer-card:hover {
  border-color: #1769a8;
  box-shadow: 0 4px 12px rgba(23, 105, 168, 0.14);
}

.admin-page .admin-application {
  border-left: 5px solid #f2a900;
  background: #fff;
  padding: 20px;
}

.admin-page .admin-customer-section {
  border-top: 4px solid #16834b;
  background: #fff;
  padding: 18px;
}

.admin-heading-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
  color: #466072;
  font-size: 0.78rem;
  font-weight: 800;
}

.admin-login-card form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.admin-login-card label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.admin-login-card input {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 13px;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.admin-metrics article {
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 20px;
}

.admin-metrics span,
.admin-metrics strong,
.admin-metrics small {
  display: block;
}

.admin-metrics span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.admin-metrics strong {
  margin: 8px 0 4px;
  color: var(--blue-700);
  font-size: 1.8rem;
}

.admin-metrics small {
  color: var(--muted);
}

.admin-customer-section {
  max-width: 860px;
  margin-bottom: 28px;
}

.admin-customer-list {
  display: grid;
  gap: 12px;
}

.admin-customer-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px;
}

.admin-customer-identity {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
}

.admin-entity-open {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.admin-directory {
  display: grid;
  gap: 24px;
  margin-bottom: 28px;
}

.admin-directory-section {
  border-top: 3px solid var(--blue-700);
  padding-top: 16px;
}

.admin-entity-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-entity-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--ink);
  cursor: pointer;
  padding: 14px;
  text-align: left;
}

.admin-entity-card img,
.admin-entity-avatar,
.admin-profile-photo {
  display: grid;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 900;
  object-fit: cover;
  place-items: center;
}

.admin-entity-card small,
.admin-entity-card span {
  color: var(--muted);
  font-size: 0.78rem;
}

.admin-upload-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 14px;
}

.admin-upload {
  display: grid;
  gap: 8px;
  min-width: 160px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 10px;
}

.admin-upload-preview {
  width: 150px;
  height: 110px;
  border-radius: 6px;
  object-fit: cover;
}

.admin-file-icon {
  display: grid;
  width: 150px;
  height: 70px;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 900;
  place-items: center;
}

.admin-earnings-note {
  border-left: 3px solid var(--green);
  background: #f0fdf4;
  color: var(--ink) !important;
  padding: 10px 12px;
}

.admin-customer-identity > img,
.admin-customer-identity > span {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 900;
  object-fit: cover;
  place-items: center;
}

.admin-customer-identity h3,
.admin-customer-identity p,
.admin-customer-identity small {
  margin: 0;
}

.admin-customer-identity p,
.admin-customer-identity small {
  color: var(--muted);
  font-size: 0.82rem;
}

.admin-customer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.account-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  max-width: min(440px, calc(100vw - 36px));
  border: 1px solid #fcd34d;
  border-radius: 10px;
  background: #fffbeb;
  box-shadow: var(--shadow-strong);
  color: #92400e;
  font-weight: 750;
  padding: 14px 16px;
}

.account-notice.danger {
  border-color: #fecaca;
  background: #fff1f2;
  color: #991b1b;
}

.admin-application {
  display: grid;
  gap: 10px;
  border: 1px solid #bfdbfe;
  border-radius: 14px;
  background: #eff6ff;
  padding: 24px;
}

.admin-application + .admin-application {
  margin-top: 16px;
}

.admin-application-heading,
.admin-application-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-application-actions .button-danger {
  border: 1px solid #fecaca;
  background: #fff7f7;
  color: #b91c1c;
}

.admin-details {
  margin-top: 8px;
  border-top: 1px solid #dbeafe;
  padding-top: 12px;
}

.admin-details summary {
  color: #2563eb;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 850;
}

.order-status.declined {
  background: #fee2e2;
  color: #b91c1c;
}

.partner-decision-notice {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
  border: 1px solid #fecaca;
  border-radius: 16px;
  background: #fff7f7;
  box-shadow: 0 8px 22px rgba(185, 28, 28, 0.07);
  padding: 20px 24px;
}

.partner-decision-notice strong {
  color: #991b1b;
}

.partner-decision-notice p {
  color: #7f1d1d;
}

.partner-decision-notice .button {
  justify-self: start;
}

.admin-decline-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, 0.55);
  padding: 18px;
}

.admin-decline-modal[hidden] {
  display: none;
}

.admin-decline-card {
  position: relative;
  width: min(100%, 500px);
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 25px 70px rgba(15, 23, 42, 0.25);
  padding: 30px;
}

.admin-decline-card .admin-application-actions {
  flex-wrap: wrap;
  justify-content: flex-start;
  margin: 16px 0;
}

.admin-decline-card h2 {
  margin: 8px 0 20px;
}

.admin-decline-card textarea {
  width: 100%;
  min-height: 130px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
  resize: vertical;
}

.admin-decline-card form > div {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.5rem;
}

.admin-application-heading small {
  color: var(--muted);
  font-weight: 800;
}

.admin-application p,
.admin-application small {
  color: var(--muted);
}

.admin-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 14px;
  margin-top: 10px;
  border-top: 1px solid #dbeafe;
  padding-top: 14px;
}

.admin-detail-grid div {
  display: grid;
  gap: 2px;
  font-size: 0.82rem;
}

.admin-detail-grid b {
  color: var(--ink);
  text-transform: capitalize;
}

.admin-detail-grid span {
  overflow-wrap: anywhere;
  color: var(--muted);
}

.admin-approved-note {
  color: #15803d;
  font-size: 0.85rem;
  font-weight: 850;
}

.ongoing-work-list {
  margin-top: 18px;
}

.ongoing-work-empty {
  display: grid;
  justify-items: start;
  gap: 7px;
  border: 1px dashed #bfdbfe;
  border-radius: 13px;
  background: #f8fbff;
  padding: 18px;
}

.ongoing-work-empty small {
  color: var(--muted);
}

.ongoing-work-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e2e8f0;
  padding: 13px 0;
}

.ongoing-work-item > div {
  display: grid;
  gap: 4px;
}

.ongoing-work-item small {
  color: var(--muted);
}

.work-live-status {
  border-radius: 999px;
  background: #fef3c7;
  color: #a16207;
  font-size: 0.74rem;
  font-weight: 850;
  padding: 6px 9px;
  white-space: nowrap;
}

.dashboard-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.dashboard-work-grid > article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 22px;
}

.dashboard-work-grid h2 {
  font-size: 1.2rem;
}

.dashboard-work-grid p {
  color: var(--muted);
  font-size: 0.9rem;
}

.red-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dc2626;
  box-shadow: 0 0 0 4px #fee2e2;
}

.work-stage-bar {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.work-stage-bar span {
  border-left: 3px solid var(--line);
  color: var(--muted);
  padding: 8px 10px;
}

.partner-profile-chip {
  color: var(--blue-700);
}

.content-page {
  background:
    linear-gradient(90deg, rgba(7, 31, 61, 0.045) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #ffffff 0%, #f4f7fb 56%, #eef5ff 100%);
  background-size: 44px 44px, auto;
}

.public-content-header .primary-nav {
  justify-content: flex-start;
  overflow-x: auto;
  scrollbar-width: none;
}

.public-content-header .primary-nav::-webkit-scrollbar {
  display: none;
}

.content-hero {
  max-width: 960px;
  margin-bottom: 34px;
}

.content-hero h1 {
  max-width: 920px;
}

.content-hero > p:not(.eyebrow) {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.content-band {
  border-block: 1px solid rgba(217, 226, 236, 0.9);
  background: rgba(255, 255, 255, 0.62);
  padding: 34px 0;
}

.content-layout,
.service-detail-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.content-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-panel,
.service-detail-grid article,
.contact-grid article,
.customer-history-card,
.rich-order-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(9, 24, 48, 0.06);
}

.content-panel {
  padding: clamp(22px, 3vw, 32px);
}

.content-panel.span-two {
  grid-column: 1 / -1;
}

.content-panel h2,
.content-panel h3 {
  margin-bottom: 12px;
}

.content-panel p,
.legal-document p,
.service-detail-grid p,
.contact-grid p,
.content-closing p {
  color: var(--muted);
}

.content-closing {
  display: grid;
  justify-items: start;
  gap: 14px;
  margin-top: 34px;
  padding-block: 24px;
}

.content-closing p {
  max-width: 820px;
  margin: 0;
}

.service-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-detail-grid article {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 24px;
}

.service-detail-grid article::after,
.partner-choice-card.helper-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(10, 119, 108, 0.08);
}

.service-detail-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  border-radius: 6px;
  background: #e7f6ef;
  color: #0a776c;
  font-size: 0.8rem;
  font-weight: 900;
  padding: 7px 9px;
}

.service-detail-grid h2 {
  font-size: 1.18rem;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid article {
  padding: clamp(24px, 4vw, 38px);
}

.contact-grid span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-grid h2 {
  margin-top: 10px;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.milestone-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 32px;
}

.milestone-strip div {
  border-left: 4px solid var(--teal);
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 24, 48, 0.05);
  padding: 20px;
}

.milestone-strip strong,
.milestone-strip span {
  display: block;
}

.milestone-strip span {
  margin-top: 6px;
  color: var(--muted);
}

.legal-document {
  max-width: 980px;
  padding: clamp(24px, 5vw, 48px);
}

.legal-document h2 {
  margin: 28px 0 10px;
  font-size: clamp(1.16rem, 2vw, 1.5rem);
}

.legal-document p {
  margin: 0 0 14px;
}

.legal-hero {
  margin-bottom: 20px;
}

.helper-results-head,
.order-heading,
.photo-customer-layout,
.dashboard-control-strip {
  display: grid;
  gap: 18px;
}

.helper-results-head,
.order-heading {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.helper-results-head {
  margin-top: 28px;
}

.helper-results-head h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.helper-results-head > span,
.order-support-button,
.helper-status-pill,
.quote-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.helper-results-head > span {
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #2563eb;
  padding: 8px 11px;
}

.online-helper-list[data-online-helper-list] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.online-helper-list[data-online-helper-list] > div {
  display: block;
  border-top: 0;
  padding-top: 0;
}

.helper-result-card,
.photo-interest-card,
.dashboard-request-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 24, 48, 0.06);
  padding: 18px;
}

.helper-card-top,
.photo-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.helper-profile-line,
.photo-partner-profile {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.helper-status-pill {
  background: #dcfce7;
  color: #15803d;
  padding: 7px 9px;
}

.helper-status-pill.busy {
  background: #fee2e2;
  color: #b91c1c;
}

.helper-result-card p,
.photo-interest-card p,
.dashboard-request-card p {
  color: var(--muted);
  font-size: 0.88rem;
}

.helper-meta-row,
.photo-meta-row,
.bill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.helper-meta-row span,
.photo-meta-row span,
.bill-row span,
.payment-pill {
  border-radius: 6px;
  background: #f8fafc;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 7px 9px;
}

.helper-price-box,
.quote-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-block: 1px solid var(--line);
  margin: 16px 0;
  padding: 12px 0;
}

.helper-price-box span,
.quote-box span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 750;
}

.helper-price-box strong,
.quote-box strong {
  color: var(--blue-700);
  font-size: 1.2rem;
}

.helper-result-card .button,
.photo-interest-card .button {
  width: 100%;
}

.helper-assignment-panel {
  margin-top: 18px;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  background: #f0fdf4;
  color: #166534;
  padding: 18px;
}

.helper-assignment-panel h3 {
  margin-bottom: 6px;
}

.photo-customer-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  align-items: stretch;
}

.photo-request-panel {
  margin: 0;
}

.photo-request-preview {
  display: grid;
  align-content: center;
  border: 1px dashed #bfdbfe;
  border-radius: 8px;
  background: #f8fbff;
  padding: clamp(22px, 4vw, 34px);
}

.photo-request-preview span {
  width: max-content;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 10px;
}

.photo-request-preview h2 {
  margin-top: 16px;
}

.photo-request-preview p {
  color: var(--muted);
}

.photo-interest-section {
  margin-top: 30px;
}

.photo-interest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quote-status-pill {
  background: #fffbeb;
  color: #a16207;
  padding: 7px 9px;
}

.order-support-button {
  border: 1px solid #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
  min-height: 40px;
  padding: 0 14px;
}

.order-support-button.compact {
  min-height: 34px;
}

.customer-history-card {
  margin-top: 22px;
  padding: 24px;
}

.customer-profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.customer-profile-grid div,
.order-detail-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 13px;
}

.customer-profile-grid span,
.order-detail-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.orders-list[data-orders-list] {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.rich-order-card {
  padding: 0;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.rich-order-card:hover {
  border-color: rgba(11, 92, 171, 0.32);
  box-shadow: 0 14px 34px rgba(9, 24, 48, 0.1);
  transform: translateY(-2px);
}

.rich-order-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  min-height: 132px;
  padding: 20px;
  text-align: left;
  color: inherit;
  text-decoration: none;
}

.rich-order-summary h2 {
  margin: 0;
  font-size: 1.16rem;
}

.rich-order-summary p {
  margin: 6px 0 0;
  color: var(--muted);
}

.rich-order-summary .order-summary-id {
  color: var(--blue-700);
  font-size: 0.82rem;
  font-weight: 700;
}

.rich-order-summary .order-summary-shop {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.rich-order-summary .order-summary-status {
  display: inline-flex;
  margin-top: 12px;
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 700;
}

.order-summary-chevron {
  align-self: center;
  color: var(--blue-700);
  font-size: 1.5rem;
  line-height: 1;
  transform: rotate(0deg);
  transition: transform 180ms ease;
}

.rich-order-card.is-expanded .order-summary-chevron {
  transform: rotate(180deg);
}

.order-details-page-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(9, 24, 48, 0.06);
  padding: clamp(20px, 4vw, 34px);
}

.order-detail-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
}

.order-detail-page-head h1 {
  margin: 4px 0 6px;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.order-detail-page-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
}

.order-status-badge {
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 8px 12px;
  white-space: nowrap;
}

.order-details-page-card > .panel-heading {
  margin-top: 22px;
}

.profile-heading {
  align-items: start;
}

.profile-heading .eyebrow {
  margin-top: 20px;
}

.profile-editor-layout {
  display: grid;
  gap: 18px;
  max-width: 900px;
}

.profile-overview-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 72%);
  box-shadow: 0 10px 28px rgba(9, 24, 48, 0.06);
  padding: clamp(18px, 3vw, 26px);
}

.profile-overview-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.customer-photo-preview-large {
  width: 76px;
  height: 76px;
  border-width: 3px;
  font-size: 1.8rem;
  flex: 0 0 auto;
}

.profile-overview-main h2 {
  margin: 8px 0 3px;
  font-size: 1.35rem;
}

.profile-overview-main p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.account-status-pill {
  display: inline-flex;
  border-radius: 999px;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 9px;
}

.profile-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.profile-overview-grid div {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.profile-overview-grid span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.profile-overview-grid strong {
  display: block;
  overflow: hidden;
  color: var(--blue-900);
  font-size: 0.86rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-editor-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(9, 24, 48, 0.06);
  padding: clamp(20px, 4vw, 34px);
}

.profile-editor-card::before {
  content: "Profile information";
  grid-column: 1 / -1;
  color: var(--blue-900);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: -12px;
}

.profile-editor-photo-area {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 12px;
  text-align: center;
}

.customer-photo-preview {
  display: grid;
  aspect-ratio: 1;
  width: 138px;
  height: 138px;
  overflow: hidden;
  place-items: center;
  border: 4px solid var(--blue-100);
  border-radius: 50%;
  background: var(--blue-700);
  color: #fff;
  font-size: 3rem;
  font-weight: 800;
}

.customer-photo-preview img {
  aspect-ratio: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-editor-photo-area p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.profile-form {
  display: grid;
  gap: 14px;
}

.profile-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.profile-form-grid label:last-child {
  grid-column: 1 / -1;
}

.profile-form label {
  display: grid;
  gap: 6px;
  color: var(--blue-900);
  font-size: 0.86rem;
  font-weight: 700;
}

.profile-form input,
.profile-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 11px 12px;
  resize: vertical;
}

.profile-form input:focus,
.profile-form textarea:focus {
  border-color: var(--blue-500);
  outline: 2px solid rgba(33, 118, 210, 0.14);
}

.profile-form .button {
  justify-self: start;
  margin-top: 4px;
}

.form-message {
  min-height: 20px;
  margin: 0;
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 700;
}

@media (max-width: 600px) {
  .rich-order-summary {
    min-height: 116px;
    gap: 10px;
    padding: 16px;
  }

  .rich-order-summary h2 {
    font-size: 1rem;
  }

  .rich-order-summary .order-summary-id,
  .rich-order-summary .order-summary-shop,
  .rich-order-summary .order-summary-status {
    font-size: 0.78rem;
  }

  .order-detail-page-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .profile-editor-card {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .profile-overview-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .profile-form-grid {
    grid-template-columns: 1fr;
  }

  .profile-form-grid label:last-child {
    grid-column: auto;
  }

  .profile-editor-photo-area {
    justify-items: center;
  }

  .profile-form .button {
    width: 100%;
  }
}

.rich-order-details {
  display: none;
  border-top: 1px solid var(--line);
  padding: 20px;
}

.rich-order-card.is-expanded .rich-order-details {
  display: block;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.bill-summary {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.bill-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.bill-line.total {
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
  padding-top: 10px;
}

.payment-pill.paid {
  background: #dcfce7;
  color: #15803d;
}

.order-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.dashboard-control-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.dashboard-control-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 41, 71, 0.05);
  padding: 22px;
}

.dashboard-control-card h2 {
  font-size: 1.18rem;
}

.dashboard-control-card p:not(.eyebrow) {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.toggle-switch {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 9px;
  min-width: 112px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--muted);
  cursor: pointer;
  padding: 6px 10px 6px 6px;
}

.toggle-switch span {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #94a3b8;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.18);
}

.toggle-switch[aria-pressed="true"] {
  border-color: #86efac;
  background: #dcfce7;
  color: #166534;
}

.toggle-switch[aria-pressed="true"] span {
  background: #16a34a;
}

.toggle-switch b {
  font-size: 0.82rem;
  font-weight: 900;
}

.dashboard-request-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.dashboard-request-card h3 {
  margin-bottom: 6px;
  font-size: 1rem;
}

.dashboard-request-card .button {
  margin-top: 12px;
}

.business-shop-studio {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
  gap: 16px;
  margin-top: 22px;
}

.business-shop-studio[hidden] {
  display: none;
}

.business-shop-studio > article {
  border: 1px solid #dce5f0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(15, 41, 71, 0.05);
  padding: 22px;
}

.business-service-requests {
  grid-column: 1 / -1;
}

[data-shop-owner-bookings] {
  margin-top: 16px;
}

.shop-booking-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 14px;
}

.shop-booking-card-head,
.shop-booking-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-booking-card h3 {
  font-size: 1rem;
}

.booking-problem-photo {
  width: min(100%, 280px);
  max-height: 180px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.customer-live-status-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}

.customer-live-booking {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
}

.customer-live-booking h3 {
  margin: 0;
}

.customer-live-booking-compact {
  max-width: 760px;
  margin-inline: auto;
}

.customer-live-booking-compact .button {
  justify-self: start;
}

.booking-action-success,
.booking-action-error {
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 750;
}

.booking-action-success {
  background: #ecfdf5;
  color: #047857;
}

.booking-action-error {
  background: #fef2f2;
  color: #b91c1c;
  overflow-wrap: anywhere;
}

.service-request-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 10px 12px;
}

.service-request-timer span {
  font-size: 0.8rem;
  font-weight: 800;
}

.service-request-timer strong {
  font-variant-numeric: tabular-nums;
  font-size: 1.05rem;
}

.customer-quote-details {
  display: grid;
  gap: 6px;
  border-left: 3px solid var(--blue-700);
  background: #f8fafc;
  padding: 10px 12px;
}

.shop-booking-card p,
.shop-booking-card small {
  margin: 0;
  color: var(--muted);
}

.shop-booking-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.shop-booking-meta span {
  display: grid;
  gap: 3px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 8px;
  font-size: 0.76rem;
}

.shop-booking-meta strong {
  font-size: 0.82rem;
}

.shop-booking-actions input,
.shop-booking-actions select {
  min-height: 38px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 7px 9px;
}

.business-profile-form,
.business-item-form,
.business-worker-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.business-profile-form label,
.business-item-form label,
.business-worker-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 850;
}

.business-profile-form input,
.business-profile-form textarea,
.business-item-form input,
.business-item-form textarea,
.business-worker-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--ink);
  font: inherit;
  padding: 11px 12px;
}

.business-profile-form textarea,
.business-item-form textarea {
  min-height: 86px;
  resize: vertical;
}

.business-shop-photo-preview {
  display: grid;
  width: 76px;
  height: 76px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: #e0f2fe;
  box-shadow: 0 0 0 2px #0ea5e9;
  color: #075985;
  font-size: 1.4rem;
  font-weight: 900;
  overflow: hidden;
  place-items: center;
}

.business-shop-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-item-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.worker-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.worker-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 10px;
}

.worker-card.is-inactive {
  opacity: 0.62;
}

.worker-card-photo {
  display: grid;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #dbeafe;
  color: var(--blue-700);
  font-weight: 900;
  overflow: hidden;
  place-items: center;
}

.worker-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.worker-card-copy strong,
.worker-card-copy span,
.worker-card-copy small {
  display: block;
}

.worker-card-copy span,
.worker-card-copy small {
  color: var(--muted);
  font-size: 0.78rem;
}

.worker-card-copy small {
  margin-top: 3px;
}

.worker-status {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
}

.worker-card.is-inactive .worker-status {
  color: var(--muted);
}

.business-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px;
}

.business-item-row strong,
.business-item-row small {
  display: block;
}

.business-item-row small {
  margin-top: 4px;
  color: var(--blue-700);
  font-weight: 850;
}

.business-item-row p {
  margin: 7px 0 0;
}

.business-request-card {
  border-left: 4px solid var(--blue-700);
}

.helper-rejection-popup {
  position: sticky;
  top: 82px;
  z-index: 30;
  margin-bottom: 18px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #fff7f7;
  box-shadow: 0 16px 38px rgba(127, 29, 29, 0.12);
  color: #991b1b;
  padding: 18px 48px 18px 18px;
}

.helper-rejection-popup[hidden] {
  display: none;
}

.helper-rejection-popup p {
  margin: 6px 0 0;
  color: #7f1d1d;
}

.nearby-partners.is-location-ready [data-live-location="off"] {
  display: none;
}

.helper-card .choice-icon {
  background: #e7f6ef;
  color: #0a776c;
}

@media (max-width: 740px) {
  body:not(.admin-page) {
    overflow-x: clip !important;
  }

  body:not(.admin-page) .hero-showcase,
  body:not(.admin-page) .hero-animation,
  body:not(.admin-page) .hero-panel,
  body:not(.admin-page) .site-header,
  body:not(.admin-page) .container {
    max-width: 100%;
  }

  body:not(.admin-page) .hero-showcase {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    overflow: hidden;
  }

  body:not(.admin-page) .hero-layout,
  body:not(.admin-page) .hero-copy,
  body:not(.admin-page) .hero-animation {
    min-width: 0;
    max-width: 100%;
  }

  body:not(.admin-page) .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  body:not(.admin-page) .hero-showcase {
    width: auto !important;
    max-width: 100% !important;
  }

  body:not(.admin-page) .header-actions,
  body:not(.admin-page) .primary-nav {
    max-width: 88vw;
  }

  body:not(.admin-page) .profile-sidebar {
    overflow: hidden;
  }

  .desktop-hero-service-art {
    display: none !important;
  }

  .mobile-what-amojee-art {
    display: flex !important;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: -18px 0 24px;
    overflow: hidden;
  }

  .mobile-what-amojee-art img {
    display: block;
    width: min(100%, 430px);
    height: auto;
    max-height: 300px;
    object-fit: contain;
    animation: mobile-service-art-float 5s ease-in-out infinite;
  }

  @keyframes mobile-service-art-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
  }

  .response-strip {
    grid-template-columns: 1fr auto;
  }

  .response-track {
    grid-column: 1 / -1;
  }

  .response-searching {
    grid-column: 1 / -1;
  }

  .decline-count {
    margin-left: 0;
  }
}

/* Vehicle tag storefront */
.tags-page { --tag-blue: #1565e8; --tag-ink: #07162f; --tag-muted: #66758d; --tag-line: #dce5f1; background: #f7faff; color: var(--tag-ink); font-family: "DM Sans", sans-serif; }
.tags-page .landing-header, .tags-page main, .tags-page .landing-footer { width: min(100% - 40px, 1240px); margin-inline: auto; }
.tags-page .landing-header { padding: 24px 0; }
.tags-page .landing-nav { gap: 30px; }
.tags-page .landing-nav a, .tags-page .landing-login { color: #52627b; }
.tags-page .landing-nav a:hover, .tags-page .landing-login:hover { color: var(--tag-blue); }
.tags-page .landing-hero { min-height: 700px; padding: 48px 0 112px; }
.tags-page .landing-kicker { color: #64738b; }
.tags-page .hero-copy h1 { letter-spacing: -.065em; }
.tags-page .hero-copy h1 strong, .tags-page h2 em { color: var(--tag-blue); }
.tags-page .hero-description { max-width: 500px; }
.tags-page .hero-proof { margin-top: 48px; }
.tags-page .hero-proof p { color: var(--tag-muted); }
.tags-page .hero-proof strong { color: var(--tag-ink); }
.tags-page .proof-line { width: 30px; background: var(--tag-blue); }
.tags-page .hero-media { min-height: 570px; }
.tags-page .media-backdrop { inset: 5% -2% 0 10%; border-radius: 26% 12% 24% 18%; background: linear-gradient(135deg, #d5e7ff, #edf6ff 54%, #c2dcff); }
.tags-page .media-card { inset: 24px 20px 40px 40px; border: 10px solid #fff; border-radius: 26px; transform: rotate(2.6deg); box-shadow: 0 30px 80px rgba(19, 66, 135, .2); }
.tags-page .hero-media { overflow: clip; }
.tags-page .media-card { top: 24px; right: auto; bottom: auto; left: 40px; width: calc((100% - 64px) * .6664); height: calc(100% - 64px); background: #07162f; }
.tags-page .media-card img { object-fit: contain; object-position: center; filter: saturate(1.05); }
.tags-page .media-card .tag-sticker { display: none; }
.tags-page #shop { display: block; }
.tags-page #shop .section-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.tags-page #shop .section-intro > p:not(.landing-kicker) { margin: 0 0 5px; }
.tags-page #shop .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 42px; }
.tags-page #shop .product-image { min-height: 290px; height: 290px; }
.tags-page .tag-sticker { position: absolute; right: 26px; bottom: 30px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.7); border-radius: 10px; background: rgba(255,255,255,.94); box-shadow: 0 12px 24px rgba(7,22,47,.18); padding: 10px; transform: rotate(-2.6deg); }
.tags-page .tag-sticker strong, .tags-page .tag-sticker small { display: block; }.tags-page .tag-sticker strong { font-size: .7rem; }.tags-page .tag-sticker small { margin-top: 3px; color: #71819a; font-size: .55rem; font-weight: 900; letter-spacing: .1em; }
.tag-qr { position: relative; display: block; width: 39px; height: 39px; background: repeating-linear-gradient(90deg, #07162f 0 4px, #fff 4px 7px), repeating-linear-gradient(0deg, transparent 0 4px, rgba(7,22,47,.85) 4px 7px); border: 3px solid #fff; outline: 2px solid #07162f; overflow: hidden; }.tag-qr i { position: absolute; width: 10px; height: 10px; border: 3px solid #fff; outline: 3px solid #07162f; background: #07162f; }.tag-qr i:nth-child(1) { top: 3px; left: 3px; }.tag-qr i:nth-child(2) { top: 3px; right: 3px; }.tag-qr i:nth-child(3) { bottom: 3px; left: 3px; }.tag-qr i:nth-child(4) { bottom: 4px; right: 4px; }.tag-qr b { position: absolute; inset: 15px; background: #fff; }
.tags-page .note-top { top: 24px; right: -10px; }.tags-page .note-bottom { bottom: 18px; left: -14px; }.tags-page .note-icon, .tags-page .note-number { background: #e8f1ff; color: var(--tag-blue); }
.tags-page .value-section, .tags-page .process-section { padding: 105px 0; }
.tags-page .value-section > .section-intro, .tags-page .process-heading { align-self: start; }
.tags-page .section-intro > p:not(.landing-kicker) { max-width: 330px; color: var(--tag-muted); line-height: 1.65; }
.product-grid { gap: 20px; align-items: stretch; perspective: 1200px; }.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--tag-line); border-radius: 18px; background: #fff; box-shadow: 0 14px 36px rgba(14, 46, 92, .07); transition: transform 220ms ease, box-shadow 220ms ease; transform: translateZ(0); }.product-card:hover { transform: translateY(-8px) rotateX(1deg) rotateY(-1deg); box-shadow: 0 26px 54px rgba(14, 46, 92, .16); }.product-image { position: relative; min-height: 190px; overflow: hidden; background: #dcecff; }.product-image::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,22,47,.02), rgba(7,22,47,.3)); content: ""; pointer-events: none; }.product-image img { display: block; width: 100%; height: 100%; min-height: 190px; object-fit: cover; object-position: center; transition: transform 500ms ease; }.product-card:hover .product-image img { transform: scale(1.045); }.product-badge { position: absolute; top: 14px; left: 14px; z-index: 1; border-radius: 999px; background: #fff; color: var(--tag-blue); padding: 7px 10px; font-size: .62rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; }.product-sticker { position: absolute; right: 18px; bottom: 18px; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border: 4px solid #fff; border-radius: 9px; background: #07162f; box-shadow: 0 8px 15px rgba(0,0,0,.2); color: #fff; font-size: .73rem; font-weight: 900; transform: rotate(-7deg); }.product-info { display: flex; flex: 1; flex-direction: column; padding: 24px; }.product-title { display: flex; align-items: start; justify-content: space-between; gap: 16px; }.product-title h3 { margin: 0; font-size: 1.08rem; }.product-title strong { color: var(--tag-blue); font-size: 1.05rem; }.product-info p { min-height: 43px; margin: 13px 0; color: var(--tag-muted); font-size: .86rem; line-height: 1.55; }.product-info ul { display: grid; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; color: #3f506a; font-size: .76rem; }.product-info li::before { margin-right: 8px; color: #22a36a; content: "✓"; font-weight: 900; }.product-button { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 46px; margin-top: auto; border: 0; border-radius: 9px; background: var(--tag-blue); color: #fff; cursor: pointer; font: inherit; font-size: .8rem; font-weight: 900; padding: 0 15px; transition: background 180ms ease, transform 180ms ease; }.product-button:hover { background: #0d51c6; transform: translateY(-2px); }.product-button span { font-size: 1.1rem; }
.tags-page .process-section { display: grid; }.tags-page .process-list li { align-items: start; }.tags-page .process-list li > span { border-radius: 10px; }.tags-page .closing-section { margin: 0 0 100px; }
.purchase-card h2 { margin: 16px 0; font-family: "Plus Jakarta Sans", sans-serif; font-size: 2.25rem; line-height: 1.06; letter-spacing: -.05em; }.purchase-card h2 em { color: var(--tag-blue); font-style: normal; }.purchase-login { width: 100%; margin-top: 22px; }.purchase-note { margin: 18px 0 0; color: #7a889d; font-size: .72rem; text-align: center; }
.tags-page .auth-modal { z-index: 200; }.tags-page .auth-modal.is-open { pointer-events: auto; }.tags-page .auth-backdrop { z-index: 0; }.tags-page .auth-card { z-index: 1; }
@media (max-width: 820px) { .tags-page .landing-header, .tags-page main, .tags-page .landing-footer { width: min(100% - 28px, 1240px); }.tags-page .landing-hero { padding-top: 45px; }.tags-page .hero-media { min-height: 420px; }.tags-page .media-card { inset: 20px 16px 24px 26px; }.tags-page .note-top { right: -2px; }.tags-page .note-bottom { left: -2px; }.tags-page #shop .section-intro { display: block; }.tags-page #shop .section-intro > p:not(.landing-kicker) { margin-top: 16px; }.tags-page #shop .product-grid { grid-template-columns: 1fr; margin-top: 30px; }.tags-page #shop .product-image { min-height: 230px; height: 230px; }.product-grid { grid-template-columns: 1fr; }.product-image { min-height: 210px; }.tags-page .value-section, .tags-page .process-section { padding: 72px 0; }.tags-page .closing-section { margin-bottom: 66px; } }
@media (max-width: 420px) { .tags-page .landing-header { width: calc(100% - 24px); }.tags-page .landing-brand img { width: 106px; }.tags-page .landing-hero { padding-top: 36px; }.tags-page .hero-copy h1 { font-size: clamp(2.7rem, 14vw, 4rem); }.tags-page .hero-media { min-height: 360px; }.tags-page .media-card { inset: 20px 10px 24px 18px; border-width: 7px; }.tags-page .floating-note { max-width: 178px; padding: 10px; }.tags-page .note-top { top: 4px; right: -4px; }.tags-page .note-bottom { bottom: 4px; left: -4px; }.tags-page .tag-sticker { right: 14px; bottom: 20px; }.tags-page .closing-section { padding: 28px 22px; } }

/* Premium storefront finish */
.tags-page { overflow-x: hidden; background: radial-gradient(circle at 78% 2%, rgba(205, 228, 255, .58), transparent 27rem), #f7faff; }
.tags-page .hero-copy h1, .tags-page .value-section h2, .tags-page .process-section h2, .tags-page .closing-section h2, .tags-page h3, .tags-page .purchase-card h2 { font-family: "Space Grotesk", sans-serif; }
.tags-page .hero-copy h1 { font-weight: 700; letter-spacing: -.07em; }
.tags-page h2 { font-weight: 700; letter-spacing: -.06em; }
.tags-page h3 { letter-spacing: -.025em; }
.tags-page .landing-header { position: sticky; top: 0; z-index: 20; margin-bottom: -1px; border-bottom: 1px solid rgba(220, 229, 241, .72); background: rgba(247, 250, 255, .82); backdrop-filter: blur(18px); }
.tags-page .landing-brand { display: inline-flex; align-items: center; }.tags-page .landing-brand img { box-shadow: 0 4px 14px rgba(7, 22, 47, .08); }
.tags-page .landing-login { min-height: 38px; border: 1px solid #cbd9ea; border-radius: 9px; background: rgba(255, 255, 255, .72); padding: 0 12px; transition: border-color 180ms ease, background 180ms ease, transform 180ms ease; }.tags-page .landing-login:hover { border-color: var(--tag-blue); background: #fff; transform: translateY(-1px); }
.tags-page .landing-hero { position: relative; isolation: isolate; overflow: hidden; }.tags-page .landing-hero::before { position: absolute; z-index: -1; top: 3%; right: -11%; width: 46%; height: 72%; border-radius: 50%; background: radial-gradient(circle, rgba(171, 213, 255, .37), transparent 68%); content: ""; filter: blur(2px); pointer-events: none; }
.tags-page .media-backdrop { right: 0; }
.tags-page .hero-description { color: #51627c; }.tags-page .landing-button { border-radius: 9px; background: linear-gradient(135deg, #2172f1, #1058d8); }.tags-page .landing-button:active, .tags-page .product-button:active { transform: translateY(1px); }
.tags-page .value-section:first-of-type { position: relative; }.tags-page .value-section:first-of-type::before { display: block; width: 54px; height: 3px; margin-bottom: 26px; background: var(--tag-blue); content: ""; }
.tags-page .product-grid { align-items: stretch; }.tags-page .product-card-featured { border-color: #bcd4f6; box-shadow: 0 18px 45px rgba(21, 101, 232, .12); }.tags-page .product-card-featured .product-info { background: linear-gradient(180deg, #fff, #fafdff); }.tags-page .product-info { padding: 26px; }.tags-page .product-title h3 { letter-spacing: -.015em; }.tags-page .product-button { border-radius: 8px; box-shadow: 0 8px 18px rgba(21, 101, 232, .18); }
.tags-page .process-section { background: linear-gradient(180deg, transparent, rgba(232, 242, 255, .34)); }.tags-page .process-list li { padding-bottom: 28px; margin-bottom: 28px; }.tags-page .process-list li:last-child { border-bottom: 0; }.tags-page .process-list li > span { box-shadow: inset 0 0 0 1px #cfe0f8; }
.benefits-grid { gap: 14px; }.benefits-grid article { position: relative; min-height: 208px; border: 1px solid var(--tag-line); border-radius: 14px; background: rgba(255, 255, 255, .72); box-shadow: 0 10px 26px rgba(14, 46, 92, .045); padding: 20px; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }.benefits-grid article:hover { border-color: #b8d1f4; box-shadow: 0 18px 34px rgba(14, 46, 92, .1); transform: translateY(-4px); }.benefits-grid .value-index { display: block; }.benefit-icon { display: grid; place-items: center; width: 38px; height: 38px; margin: 24px 0 18px; border-radius: 10px; background: #e8f1ff; color: var(--tag-blue); font-size: 1rem; font-weight: 900; }.benefits-grid h3 { margin: 0 0 10px; font-size: .98rem; }.benefits-grid p { margin: 0; color: var(--tag-muted); font-size: .8rem; line-height: 1.6; }
.tags-page .closing-section { position: relative; overflow: hidden; }.tags-page .closing-section::after { position: absolute; right: 7%; bottom: -90px; width: 240px; height: 240px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 22px rgba(255,255,255,.06), 0 0 0 45px rgba(255,255,255,.04); content: ""; pointer-events: none; }
@media (max-width: 820px) { .tags-page .landing-header { position: relative; }.tags-page .landing-hero::before { top: 20%; right: -35%; width: 90%; height: 40%; }.tags-page .hero-media { overflow: hidden; }.tags-page .media-backdrop { right: 0; }.tags-page .media-card { top: 20px; left: 26px; width: calc((100% - 50px) * .6664); height: calc(100% - 44px); }.tags-page .value-section:first-of-type::before { margin-bottom: 20px; }.tags-page .product-info { padding: 22px; }.benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .benefits-grid { grid-template-columns: 1fr; }.benefits-grid article { min-height: 0; } }

/* Keep the admin workspace simple and easy to scan. */
body.admin-page {
  background: #071f3d;
}

.admin-page .gov-strip {
  border-bottom: 0;
  box-shadow: none;
  background: #0b5cab;
}

.admin-page .gov-strip p::before,
.admin-page .gov-strip-inner::after,
.admin-page .standalone-heading::before {
  content: none;
}

.admin-page .standalone-main {
  max-width: 1180px;
  padding-top: 24px;
}

.admin-page .standalone-heading {
  padding-bottom: 18px;
}

.admin-page .standalone-heading h1 {
  font-size: 2rem;
}

.admin-page .standalone-heading > p:not(.eyebrow) {
  margin-top: 8px;
}

.admin-heading-meta {
  margin-top: 12px;
}

.admin-page .admin-metrics {
  margin-top: 20px;
}

.admin-page .admin-metrics article,
.admin-page .admin-customer-section,
.admin-page .admin-directory-section {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 43, 66, 0.06);
}

.admin-page .admin-directory-section {
  border-top: 0;
  padding: 18px;
}

.admin-page .admin-directory {
  gap: 16px;
}

.admin-page .admin-customer-section {
  padding: 18px;
}

.admin-page .admin-application {
  border-left: 1px solid #c7d1dc;
  border-radius: 8px;
  background: #fff;
}

.admin-page .panel-heading h2,
.admin-page .admin-directory-section h2,
.admin-page .admin-customer-section h2 {
  font-size: 1.35rem;
  line-height: 1.25;
}

.admin-page .admin-metrics article {
  min-height: 112px;
}

.admin-functions {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
}

.admin-functions button {
  display: grid;
  min-height: 86px;
  align-content: center;
  gap: 6px;
  border: 1px solid #c7d1dc;
  border-radius: 8px;
  background: #fff;
  color: #173c60;
  cursor: pointer;
  padding: 12px;
  text-align: left;
}

.admin-functions button:hover {
  border-color: #0b5cab;
  background: #f1f7fd;
}

.admin-function-box {
  display: grid;
  min-height: 150px;
  align-content: start;
  gap: 8px;
  border: 1px solid #c7d1dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 43, 66, 0.06);
  color: #173c60;
  cursor: pointer;
  padding: 14px;
}

.admin-function-box:hover {
  border-color: #0b5cab;
  background: #f7fbff;
}

.admin-function-box > strong {
  font-size: 0.9rem;
}

.admin-function-box > span {
  color: #68798b;
  font-size: 0.74rem;
}

.admin-function-users {
  display: grid;
  gap: 4px;
  max-height: 82px;
  align-items: center;
}

.admin-function-users button {
  min-height: 0;
  border: 0;
  border-bottom: 1px solid #e4eaf0;
  background: transparent;
  color: #0b5cab;
  cursor: pointer;
  padding: 3px 0;
  text-align: left;
  font-size: 0.76rem;
  font-weight: 750;
}

.admin-function-users button:hover {
  color: #073b72;
  text-decoration: underline;
}

.admin-page .admin-directory,
.admin-page .admin-customer-section {
  display: none;
}

.admin-functions strong {
  font-size: 0.86rem;
}

.admin-functions span {
  color: #68798b;
}

.admin-page .admin-customer-section,
.admin-page .admin-queue {
  line-height: 1.3;
}

.admin-page .admin-entity-card {
  min-height: 170px;
}

.admin-page .admin-customer-card {
  min-height: 88px;
}

.admin-page .admin-customer-identity h3 {
  font-size: 1rem;
}

@media (max-width: 900px) {
  .admin-functions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .admin-functions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.theme-toggle {
  display: inline-flex;
  min-width: 58px;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 5px 10px;
}

.theme-toggle:hover {
  border-color: var(--blue-700);
  background: var(--blue-100);
}

html[data-theme="dark"] body,
html[data-theme="dark"] .standalone-page,
html[data-theme="dark"] .content-page,
html[data-theme="dark"] .partner-dashboard-page,
html[data-theme="dark"] .nearby-partners,
html[data-theme="dark"] .member-home,
html[data-theme="dark"] .section-pad,
html[data-theme="dark"] .hero,
html[data-theme="dark"] .final-cta {
  background: #0b121b;
  color: #f4f7fb;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .gov-strip,
html[data-theme="dark"] .primary-nav,
html[data-theme="dark"] .header-actions,
html[data-theme="dark"] .profile-panel,
html[data-theme="dark"] .member-profile-card,
html[data-theme="dark"] .search-input-wrap,
html[data-theme="dark"] .location-chip,
html[data-theme="dark"] .location-search-box,
html[data-theme="dark"] .saved-location-card,
html[data-theme="dark"] .theme-toggle {
  background: #162231;
  color: #f4f7fb;
  border-color: #2b3b4d;
}

html[data-theme="dark"] button:not(.button-primary),
html[data-theme="dark"] .button-light,
html[data-theme="dark"] .google-login-button,
html[data-theme="dark"] .location-option,
html[data-theme="dark"] .profile-menu button,
html[data-theme="dark"] .menu-toggle {
  background: #162231;
  color: #f4f7fb;
  border-color: #2b3b4d;
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select,
html[data-theme="dark"] .location-option-current {
  background: #0e1824;
  color: #f4f7fb;
  border-color: #2b3b4d;
}

html[data-theme="dark"] .location-option-current,
html[data-theme="dark"] .theme-toggle:hover {
  background: #193653;
}

html[data-theme="dark"] .brand {
  background: #0b121b;
}

html[data-theme="dark"] .brand img,
html[data-theme="dark"] .footer-brand img {
  filter: grayscale(1) invert(1) contrast(1.08);
}

html[data-theme="dark"] .button-primary {
  background: #1776c9;
  color: #fff;
}

html[data-theme="light"] {
  color-scheme: light;
}

html[data-theme="light"] .theme-toggle {
  background: #fff;
  color: #111318;
  border-color: #d9e2ec;
}

html[data-theme="light"] .brand,
html[data-theme="light"] .footer-brand img {
  background: #fff;
}

html[data-theme="light"] .brand img,
html[data-theme="light"] .footer-brand img {
  filter: none;
}

/* Public landing page */
body.amojee-landing {
  --landing-ink: #07142b;
  --landing-blue: #1e62e8;
  --landing-line: rgba(7, 20, 43, 0.12);
  margin: 0;
  overflow-x: hidden;
  background: #f6f9ff;
  color: var(--landing-ink);
  font-family: "DM Sans", sans-serif;
}

.amojee-landing .landing-header,
.amojee-landing main,
.amojee-landing .landing-footer { width: min(100% - 40px, 1240px); margin-inline: auto; }
.amojee-landing .landing-header { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 24px 0; }
.landing-brand img { width: 132px; height: 42px; object-fit: contain; border-radius: 5px; }
.landing-nav { display: flex; gap: 28px; margin-left: auto; }
.landing-nav a, .landing-login { color: #55647b; font-size: .82rem; font-weight: 800; text-decoration: none; }
.landing-nav a:hover, .landing-login:hover { color: var(--landing-blue); }
.landing-login { display: inline-flex; gap: 8px; align-items: center; color: var(--landing-ink); }
.landing-hero { display: grid; grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr); align-items: center; gap: clamp(34px, 7vw, 105px); min-height: 690px; padding: 55px 0 105px; }
.hero-copy { position: relative; z-index: 1; }
.landing-kicker { display: flex; align-items: center; gap: 10px; margin: 0; color: #607089; font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.landing-kicker span { width: 24px; height: 2px; background: var(--landing-blue); }
.hero-copy h1 { max-width: 650px; margin: 20px 0 24px; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(3.3rem, 6vw, 6.3rem); line-height: .96; letter-spacing: -.055em; }
.hero-copy h1 strong, .value-section em, .process-section em, .closing-section em, .auth-card em { color: var(--landing-blue); font-style: normal; }
.hero-description { max-width: 470px; color: #607089; font-size: 1.08rem; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.landing-button { display: inline-flex; align-items: center; justify-content: center; gap: 15px; min-height: 54px; border-radius: 10px; background: var(--landing-blue); box-shadow: 0 14px 30px rgba(30,98,232,.22); color: #fff; font-size: .87rem; font-weight: 900; padding: 0 22px; text-decoration: none; transition: transform 180ms ease, box-shadow 180ms ease; }
.landing-button:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(30,98,232,.3); }
.hero-secondary, .process-link { color: var(--landing-ink); font-size: .85rem; font-weight: 900; text-decoration: none; }
.hero-secondary:hover, .process-link:hover { color: var(--landing-blue); }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 64px; color: #77859a; font-size: .78rem; line-height: 1.5; }
.hero-proof p { margin: 0; }.hero-proof strong { color: var(--landing-ink); }.proof-line { width: 38px; height: 1px; background: var(--landing-line); }
.hero-media { position: relative; min-height: 545px; }.media-backdrop { position: absolute; inset: 6% 0 1% 13%; border-radius: 32% 18% 30% 24%; background: linear-gradient(140deg, #d7eaff, #eef7ff 65%, #d0e5ff); transform: rotate(-5deg); }
.media-card { position: absolute; inset: 28px 20px 30px 58px; overflow: hidden; border: 9px solid rgba(255,255,255,.86); border-radius: 28px; background: #c8dff7; box-shadow: 0 28px 70px rgba(18,54,108,.2); transform: rotate(2.2deg); }
.media-card img { width: 100%; height: 100%; object-fit: cover; }.media-caption { position: absolute; right: 18px; bottom: 18px; left: 18px; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.65); border-radius: 12px; background: rgba(255,255,255,.9); box-shadow: 0 10px 26px rgba(7,20,43,.14); padding: 12px 14px; backdrop-filter: blur(10px); }.media-caption strong, .media-caption small, .floating-note strong, .floating-note small { display: block; }.media-caption strong { font-size: .78rem; }.media-caption small, .floating-note small { margin-top: 3px; color: #6b7890; font-size: .68rem; }.live-dot { width: 8px; height: 8px; border-radius: 50%; background: #28b879; box-shadow: 0 0 0 5px rgba(40,184,121,.14); }
.floating-note { position: absolute; display: flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.85); border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: 0 14px 32px rgba(7,20,43,.14); color: var(--landing-ink); padding: 12px 14px; backdrop-filter: blur(12px); }.note-top { top: 10px; right: 0; }.note-bottom { bottom: 8px; left: 0; }.note-icon, .note-number { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #e7f0ff; color: var(--landing-blue); font-size: .72rem; font-weight: 900; }.floating-note strong { font-size: .73rem; }
.value-section, .process-section { border-top: 1px solid var(--landing-line); padding: 105px 0; }.value-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }.value-section h2, .process-section h2, .closing-section h2 { margin: 16px 0 0; font-family: "Plus Jakarta Sans", sans-serif; font-size: clamp(2.3rem, 4vw, 4.4rem); line-height: 1; letter-spacing: -.05em; }.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }.value-grid article { border-top: 1px solid var(--landing-line); padding-top: 22px; }.value-index { color: var(--landing-blue); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }.value-grid h3 { margin: 34px 0 10px; font-size: 1.08rem; }.value-grid p, .process-list p { margin: 0; color: #65748a; font-size: .88rem; line-height: 1.65; }
.process-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }.process-heading { display: flex; flex-direction: column; align-items: flex-start; }.process-link { margin-top: 38px; }.process-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }.process-list li { display: grid; grid-template-columns: 46px 1fr; gap: 20px; border-bottom: 1px solid var(--landing-line); padding: 0 0 24px; margin-bottom: 24px; }.process-list li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #e7f0ff; color: var(--landing-blue); font-size: .73rem; font-weight: 900; }.process-list h3 { margin: 7px 0 8px; font-size: 1.08rem; }
.closing-section { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 0 0 100px; border-radius: 24px; background: linear-gradient(120deg, #092d6a, #1e62e8 68%, #70b5ff); color: #fff; padding: clamp(30px, 5vw, 60px); box-shadow: 0 24px 60px rgba(30,98,232,.22); }.closing-section .landing-kicker { color: #c9ddff; }.closing-section h2 { margin-top: 16px; }.closing-section em { color: #9ed0ff; }.light-button { background: #fff; color: var(--landing-ink); box-shadow: none; }.light-button:hover { box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.landing-footer { display: grid; grid-template-columns: 1fr auto; gap: 30px; border-top: 1px solid var(--landing-line); padding: 38px 0 46px; }.footer-main { display: contents; }.footer-brand img { width: 132px; height: 42px; border-radius: 5px; object-fit: contain; }.footer-brand p { margin: 10px 0 0; color: #738198; font-size: .8rem; font-weight: 800; }.landing-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }.landing-footer nav a { color: #5d6c82; font-size: .78rem; font-weight: 800; text-decoration: none; }.landing-footer nav a:hover { color: var(--landing-blue); }.footer-copyright { grid-column: 1 / -1; margin: 0; color: #8591a3; font-size: .75rem; }
.auth-logo { width: 108px; height: 34px; margin-bottom: 24px; object-fit: contain; }.auth-card h2 { margin: 16px 0; font-family: "Plus Jakarta Sans", sans-serif; font-size: 2.2rem; line-height: 1.03; letter-spacing: -.05em; }.auth-card .landing-kicker { font-size: .66rem; }.auth-intro { color: #6c7b90; font-size: .93rem; line-height: 1.65; }.google-login-button { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; gap: 11px; border: 1px solid #ccd8e8; border-radius: 10px; background: #fff; color: var(--landing-ink); cursor: pointer; font-weight: 900; transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease; }.google-login-button:hover { border-color: var(--landing-blue); box-shadow: 0 10px 24px rgba(30,98,232,.12); transform: translateY(-2px); }.google-login-button:disabled { cursor: wait; opacity: .65; }.google-mark { color: #4285f4; font-size: 1.1rem; font-weight: 900; }.auth-message { min-height: 20px; color: var(--landing-blue); font-size: .78rem; text-align: center; }
@media (max-width: 820px) { .amojee-landing .landing-header, .amojee-landing main, .amojee-landing .landing-footer { width: min(100% - 28px, 1240px); }.landing-header { padding: 15px 0; }.landing-brand img { width: 108px; height: 36px; }.landing-nav { display: none; }.landing-hero { grid-template-columns: 1fr; min-height: 0; gap: 42px; padding: 52px 0 74px; }.hero-copy h1 { font-size: clamp(3rem, 14vw, 5rem); }.hero-description { font-size: 1rem; }.hero-proof { margin-top: 38px; }.hero-media { min-height: 410px; }.media-card { inset: 22px 18px 24px 32px; }.note-top { right: -2px; }.note-bottom { left: -2px; }.value-section, .process-section { grid-template-columns: 1fr; gap: 42px; padding: 70px 0; }.value-grid { grid-template-columns: 1fr; gap: 30px; }.value-grid h3 { margin-top: 20px; }.closing-section { align-items: flex-start; flex-direction: column; margin-bottom: 64px; }.closing-section .landing-button { width: 100%; }.landing-footer { grid-template-columns: 1fr; gap: 22px; }.footer-copyright { grid-column: auto; } }

.mobile-bottom-nav {
  display: none;
}

body:not(.is-logged-in) .mobile-bottom-nav {
  display: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    z-index: 72;
    backdrop-filter: none;
  }

  .brand {
    width: 92px;
    min-width: 92px;
  }

  .site-header {
    padding-inline: 12px;
  }

  .header-menu-cluster {
    position: static;
    z-index: 82;
    display: flex;
    align-items: center;
    justify-self: end;
    min-width: 0;
    max-width: calc(100vw - 104px);
    gap: 8px;
    transform: none;
  }

  .header-location-pill {
    min-width: 0;
    max-width: min(44vw, 170px);
    min-height: 34px;
    flex: 1 1 auto;
    padding: 5px 9px 5px 7px;
    border-radius: 999px;
    font-size: 0.78rem;
  }

  .header-location-pill svg {
    width: 13px;
    height: 13px;
  }

  .header-location-pill span {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 44px;
    position: relative;
    z-index: 82;
  }

  .primary-nav,
  .header-actions {
    position: fixed;
    right: 0;
    z-index: 78;
    display: flex;
    width: min(88vw, 370px);
    background: #fff;
    opacity: 0;
    pointer-events: none;
    transform: translateX(110%);
    transition:
      opacity 220ms ease,
      transform 260ms cubic-bezier(0.2, 0.85, 0.22, 1);
  }

  body.nav-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(4px);
  }

  body.nav-open .primary-nav,
  body.nav-open .header-actions {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }

  .primary-nav {
    top: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    box-shadow: -24px 0 64px rgba(9, 24, 48, 0.16);
    padding: 96px 18px 134px;
  }

  .profile-sidebar .profile-panel {
    top: 0;
    height: 100%;
  }

  .header-actions {
    bottom: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding: 16px 18px 18px;
  }

  body:not(.is-logged-in).nav-open .header-actions [data-protected-action],
  body:not(.is-logged-in).nav-open .profile-trigger {
    display: none;
  }

  body:not(.is-logged-in).nav-open .header-actions {
    top: auto;
    bottom: 0;
    justify-content: flex-end;
    box-shadow: -18px -10px 44px rgba(9, 24, 48, 0.08);
    padding: 16px 18px 20px;
  }

  body:not(.is-logged-in).nav-open .primary-nav {
    padding-bottom: 118px;
  }

  body:not(.is-logged-in).nav-open .mobile-sidebar-only {
    display: flex;
  }

  body:not(.is-logged-in).nav-open .primary-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 46px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: var(--blue-900);
    padding: 12px 14px;
    opacity: 0;
    transform: translateX(18px);
    animation: sidebar-link-in 360ms ease forwards;
  }

  body:not(.is-logged-in).nav-open .primary-nav a:nth-child(2) { animation-delay: 40ms; }
  body:not(.is-logged-in).nav-open .primary-nav a:nth-child(3) { animation-delay: 80ms; }
  body:not(.is-logged-in).nav-open .primary-nav a:nth-child(4) { animation-delay: 120ms; }
  body:not(.is-logged-in).nav-open .primary-nav a:nth-child(5) { animation-delay: 160ms; }
  body:not(.is-logged-in).nav-open .primary-nav a:nth-child(6) { animation-delay: 200ms; }
  body:not(.is-logged-in).nav-open .primary-nav a:nth-child(7) { animation-delay: 240ms; }
  body:not(.is-logged-in).nav-open .primary-nav a:nth-child(8) { animation-delay: 280ms; }

  body:not(.is-logged-in).nav-open .primary-nav a::after {
    content: ">";
    color: #94a3b8;
    font-weight: 900;
  }

  body:not(.is-logged-in).nav-open .primary-nav a:hover {
    border-color: #dbeafe;
    background: #f8fbff;
  }

  body:not(.is-logged-in).nav-open .primary-nav .partner-network-link {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
  }

  @keyframes sidebar-link-in {
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .hero-layout,
  .member-layout,
  .feature-layout,
  .photo-layout,
  .trust-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-showcase {
    min-height: auto;
    align-content: start;
  }

  .hero-panel {
    width: min(100%, 680px);
    margin: 16px auto 0;
  }

  .capability-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-facilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-grid {
    grid-template-columns: 1fr;
  }

  .service-gate {
    grid-template-columns: 1fr;
  }

  .service-unlocked-banner {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .work-grid,
  .benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standalone-page .site-header {
    grid-template-columns: auto auto;
    row-gap: 8px;
  }

  .standalone-page .menu-toggle {
    display: none;
  }

  .standalone-page .primary-nav {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    overflow-x: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    padding: 0 0 2px;
    scrollbar-width: none;
  }

  .standalone-page .primary-nav::-webkit-scrollbar {
    display: none;
  }

  .standalone-page .primary-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }
}

@media (prefers-color-scheme: dark) and (min-width: 99999px) {
  :root {
    --ink: #f4f7fb;
    --muted: #aab7c7;
    --paper: #111923;
    --soft: #0b121b;
    --soft-blue: #14283d;
    --blue-900: #dbeafe;
    --blue-700: #66b3ff;
    --blue-500: #80c4ff;
    --blue-100: #193653;
    --teal: #55d6c4;
    --green: #5bd49a;
    --amber: #f5b94c;
    --mint: #14392f;
    --line: #2b3b4d;
    --shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    --shadow-strong: 0 20px 50px rgba(0, 0, 0, 0.42);
  }

  body,
  .standalone-page,
  .content-page,
  .partner-dashboard-page {
    background: #0b121b;
    color: var(--ink);
  }

  .site-header,
  .partner-dashboard-header,
  .gov-strip,
  .mobile-bottom-nav,
  .primary-nav,
  .header-actions,
  .profile-panel,
  .language-card,
  .auth-card,
  .address-card,
  .admin-login-card,
  .admin-application,
  .admin-customer-card,
  .dashboard-panel,
  .dashboard-control-card,
  .dashboard-work-grid > article,
  .business-shop-studio > article,
  .provider-card,
  .service-card,
  .search-card,
  .profile-head,
  .order-details-page-card,
  .rich-order-card,
  .shop-profile-panel,
  .photo-interest-card,
  .helper-result-card,
  .nearby-location-item,
  .admin-metrics article {
    background: #111923;
    color: var(--ink);
    border-color: var(--line);
    box-shadow: var(--shadow);
  }

  .site-header {
    border-bottom-color: var(--line);
    background: rgba(11, 18, 27, 0.96);
  }

  .brand {
    background: #0b121b;
  }

  .footer-brand img {
    background: #0b121b;
  }

  .brand img,
  .footer-brand img {
    filter: grayscale(1) invert(1) contrast(1.08);
  }

  .header-location-pill,
  .profile-trigger,
  .profile-close,
  .toggle-switch,
  .button.button-secondary,
  .button.button-ghost,
  .language-pill {
    background: #162231;
    color: var(--ink);
    border-color: var(--line);
  }

  .header-location-pill {
    display: inline-flex !important;
    visibility: visible !important;
    color: var(--ink);
  }

  .header-location-pill span,
  .header-location-pill svg {
    color: var(--ink);
  }

  .header-location-pill:hover,
  .profile-trigger:hover,
  .button.button-secondary:hover,
  .button.button-ghost:hover {
    background: #203246;
    border-color: #486783;
  }

  .primary-nav a,
  .header-actions a,
  .profile-menu a,
  .profile-menu button,
  .menu-toggle,
  .profile-close,
  .language-close,
  .modal-close {
    color: var(--ink);
  }

  .primary-nav a:hover,
  .primary-nav a[aria-current="page"],
  .standalone-page .primary-nav a[aria-current="page"] {
    background: #193653;
    color: #a9d7ff;
  }

  input,
  textarea,
  select,
  .shop-search-bar input,
  .profile-form input,
  .profile-form textarea,
  .business-profile-form input,
  .business-profile-form textarea,
  .business-item-form input,
  .business-item-form textarea,
  .admin-login-card input {
    background: #0e1824;
    color: var(--ink);
    border-color: var(--line);
  }

  input::placeholder,
  textarea::placeholder {
    color: #8495a9;
  }

  .service-card p,
  .search-card p,
  .hero-lead,
  .provider-heading p,
  .provider-card p,
  .profile-head p,
  .profile-head small,
  .admin-application p,
  .admin-customer-identity p,
  .admin-customer-identity small,
  .empty-service-state {
    color: var(--muted);
  }

  .empty-service-state,
  .business-item-row,
  .shop-item-card,
  .nearby-empty {
    background: #0e1824;
    border-color: var(--line);
    color: var(--muted);
  }

  .provider-waiting,
  .booking-confirmation,
  .location-card,
  .auth-card {
    background: linear-gradient(135deg, #111923, #14283d);
    border-color: #315170;
  }

  .service-core,
  .hero-showcase,
  .hero-animation {
    background-color: #101c29;
  }

  .profile-sidebar.is-open .profile-backdrop,
  .auth-backdrop,
  .language-backdrop,
  .address-backdrop {
    background: rgba(0, 0, 0, 0.7);
  }

  .admin-metrics strong,
  .text-link,
  .profile-menu-link {
    color: #8ac7ff;
  }

  .button.button-primary {
    background: #1776c9;
    color: #fff;
  }

  .button.button-primary:hover {
    background: #238de5;
  }

  button:not(.button-primary),
  .button-light,
  .member-profile-card,
  .location-option,
  .google-login-button,
  .auth-close,
  .saved-delete-button,
  .logout-button {
    background: #162231;
    color: var(--ink);
    border-color: var(--line);
  }

  button:not(.button-primary):hover,
  .button-light:hover,
  .location-option:hover,
  .google-login-button:hover {
    background: #203246;
    color: #fff;
    border-color: #486783;
  }

  .menu-toggle {
    background: #162231;
    color: var(--ink);
  }

  .location-option-current {
    background: #193653;
    color: #dbeafe;
  }

  .saved-delete-button,
  .logout-button {
    color: #ff9b9b;
    border-color: #69343b;
  }

  .nearby-partners,
  .member-home,
  .site-footer,
  .section-pad,
  .hero,
  .final-cta {
    background-color: #0b121b;
    color: var(--ink);
  }

  .live-note,
  .search-input-wrap,
  .location-chip,
  .panel-features span,
  .location-search-box,
  .saved-location-card {
    background: #162231;
    color: var(--ink);
    border-color: var(--line);
  }

  .search-input-wrap input,
  .location-chip span,
  .live-note,
  .panel-features span,
  .saved-location-card p,
  .saved-location-card strong {
    color: var(--ink);
  }

  .location-search-box input::placeholder {
    color: #8495a9;
  }

  .nearby-partners h1,
  .nearby-partners h2,
  .nearby-partners h3,
  .member-home h1,
  .member-home h2,
  .member-home h3,
  .section-pad h1,
  .section-pad h2,
  .section-pad h3 {
    color: var(--ink);
  }
}

@media (max-width: 740px) {
  .admin-entity-grid,
  .admin-metrics {
    grid-template-columns: 1fr;
  }

  .admin-customer-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-customer-actions {
    justify-content: flex-start;
  }

  body.is-logged-in {
    padding-bottom: 68px;
  }

  body {
    font-size: 15px;
    overflow-x: hidden;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(1.35rem, 6vw, 2rem);
    line-height: 1.15;
  }

  p {
    line-height: 1.5;
  }

  .container {
    width: min(100% - 24px, var(--container));
  }

  .service-grid,
  .standalone-service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-card {
    min-height: 188px;
    padding: 20px;
  }

  .hero-animation {
    min-height: 320px;
  }

  .hero-animation::before {
    inset: 14px;
    background-size: 26px 26px;
  }

  .hero-panel {
    width: calc(100% - 18px);
    margin: -8px auto 0;
    padding: 18px;
  }

  .service-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 13px;
  }

  .service-card p {
    margin-bottom: 10px;
  }

  .order-summary-grid,
  .partner-dashboard-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-dashboard-header {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .partner-dashboard-header .button-ghost {
    display: none;
  }

  .partner-header-context {
    margin: 0;
  }

  .partner-header-context .partner-header-label,
  .partner-dashboard-header .live-indicator {
    display: none;
  }

  .partner-dashboard-main {
    padding-top: 20px;
  }

  .partner-hero {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 18px;
    padding: 24px 20px;
  }

  .partner-hero h1 {
    font-size: 2rem;
  }

  .partner-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .partner-hero-status {
    width: 100%;
    grid-template-columns: auto 1fr;
    justify-items: start;
  }

  .partner-hero-status .status-orb {
    grid-row: span 2;
  }

  .partner-dashboard-columns {
    grid-template-columns: 1fr;
  }

  .dashboard-panel,
  .premium-work-grid > article {
    padding: 20px;
  }

  .partner-header-label {
    font-size: 0.68rem;
  }

  .order-card {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .order-card > div:nth-child(2) {
    text-align: left;
  }

  .partner-layout {
    grid-template-columns: 1fr;
  }

  .provider-grid {
    grid-template-columns: 1fr;
  }

  .partner-choice-grid,
  .dashboard-work-grid {
    grid-template-columns: 1fr;
  }

  .shop-profile-hero,
  .shop-item-grid,
  .business-shop-studio {
    grid-template-columns: 1fr;
  }

  .shop-search-bar {
    grid-template-columns: minmax(0, 1fr) 92px;
  }

  .business-service-requests {
    grid-column: auto;
  }

  .business-item-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .partner-entry-hero {
    align-items: flex-start;
    flex-direction: column;
    border-radius: 18px;
    padding: 24px 20px;
  }

  .partner-entry-hero h1 {
    font-size: 2rem;
  }

  .partner-entry-badge {
    width: 100%;
  }

  .partner-entry-footer {
    grid-template-columns: 1fr;
  }

  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-customer-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-customer-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .admin-detail-grid {
    grid-template-columns: 1fr;
  }

  .admin-login-card {
    padding: 24px 20px;
  }

  .check-grid {
    grid-template-columns: 1fr;
  }

  .provider-heading {
    flex-direction: column;
  }

  .booking-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gov-strip-inner {
    gap: 10px;
    min-height: 40px;
  }

  .gov-strip p {
    font-size: 0.76rem;
  }

  .access-tools {
    gap: 5px;
  }

  .language-pill {
    min-width: 72px;
  }

  .access-tools button {
    min-width: 30px;
    min-height: 28px;
    padding: 0;
  }

  .section-pad {
    padding: 56px 0;
  }

  .site-header {
    min-height: 66px;
    padding: 9px 12px;
  }

  .location-control {
    align-items: flex-start;
    flex-direction: column;
  }

  .helper-search {
    grid-template-columns: 1fr;
  }

  .online-helper-list > div {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .online-helper-list b {
    grid-column: 2;
  }

  .brand {
    width: 138px;
    height: 42px;
  }

  .hero {
    min-height: auto;
  }

  .hero-layout {
    gap: 22px;
  }

  .hero-animation,
  .hero-photo {
    min-height: 330px;
  }

  .service-orbit {
    inset: 76px 36px;
  }

  .service-orbit-two {
    inset: 108px 52px;
  }

  .service-core {
    min-width: 146px;
    min-height: 146px;
    padding: 20px;
  }

  .service-core img {
    width: 116px;
  }

  .service-bubble {
    font-size: 0.76rem;
    padding: 9px 10px;
  }

  .bubble-electric {
    top: 52px;
    left: 22px;
  }

  .bubble-clean {
    top: 74px;
    right: 18px;
  }

  .bubble-plumb {
    right: 24px;
    bottom: 82px;
  }

  .bubble-helper {
    left: 20px;
    bottom: 74px;
  }

  .hero-photo figcaption {
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
  }

  .hero-panel {
    width: 100%;
    margin: 14px 0 0;
    order: initial;
    padding: 20px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.85rem);
  }

  h2 {
    font-size: clamp(1.48rem, 7vw, 2.08rem);
  }

  .standalone-heading h1 {
    font-size: clamp(1.85rem, 9vw, 2.45rem);
  }

  .standalone-heading > p:not(.eyebrow),
  .hero-lead,
  .section-heading p:not(.eyebrow),
  .feature-copy p:not(.eyebrow) {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-lead {
    margin-top: 14px;
  }

  .hero-actions,
  .hero-stats {
    margin-top: 22px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-stats div {
    padding: 13px 14px;
  }

  .live-note,
  .location-chip {
    font-size: 0.86rem;
  }

  .request-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
  }

  .hero-panel .panel-heading h2 {
    font-size: clamp(1.42rem, 7vw, 1.92rem);
  }

  .search-card {
    padding: 16px;
  }

  .hero-actions,
  .partner-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-height: 46px;
    padding-inline: 16px;
  }

  .search-input-wrap {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .button-search {
    grid-column: 1 / -1;
  }

  .location-chip {
    width: 100%;
    align-items: flex-start;
  }

  .quick-actions {
    padding-bottom: 58px;
  }

  .action-grid,
  .capability-grid,
  .service-grid,
  .member-facilities,
  .benefit-grid,
  .testimonial-grid,
  .helper-list,
  .trust-list,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-gate {
    gap: 20px;
  }

  .gate-list {
    grid-template-columns: 1fr;
  }

  .action-card {
    min-height: 220px;
  }

  .photo-card {
    min-height: 280px;
  }

  .panel-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .panel-features span {
    font-size: 0.74rem;
    padding: 9px 8px;
  }

  .request-preview {
    display: none;
  }

  .full-partner-form {
    gap: 14px;
    border-radius: 12px;
    padding: 20px 16px;
  }

  .full-partner-form > label,
  .full-partner-form fieldset {
    font-size: 0.94rem;
  }

  .check-grid label,
  .full-partner-form fieldset > label,
  .agreement {
    align-items: flex-start;
    font-size: 0.88rem;
  }

  .agreement {
    padding: 12px;
  }

  .member-profile-card,
  .member-facilities a,
  .member-facilities button {
    min-height: auto;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 10px;
    bottom: 10px;
    left: 10px;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    border: 1px solid rgba(219, 228, 242, 0.9);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 44px rgba(13, 34, 82, 0.2);
    padding: 8px;
    backdrop-filter: blur(18px);
  }

  .mobile-bottom-nav a {
    border-radius: 6px;
    color: var(--blue-900);
    font-size: 0.8rem;
    font-weight: 900;
    padding: 10px 4px;
    text-align: center;
  }

  .mobile-bottom-nav a:hover {
    background: var(--blue-100);
  }

  .content-layout,
  .service-detail-grid,
  .contact-grid,
  .milestone-strip,
  .photo-customer-layout,
  .photo-interest-grid,
  .online-helper-list[data-online-helper-list],
  .customer-profile-grid,
  .order-detail-grid,
  .dashboard-control-strip {
    grid-template-columns: 1fr;
  }

  .content-panel,
  .service-detail-grid article,
  .contact-grid article,
  .legal-document,
  .customer-history-card {
    padding: 20px;
  }

  .service-detail-grid article {
    min-height: auto;
  }

  .helper-results-head,
  .order-heading,
  .rich-order-summary {
    grid-template-columns: 1fr;
  }

  .rich-order-summary strong {
    white-space: normal;
  }

  .order-support-button {
    width: max-content;
  }

  .dashboard-control-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .toggle-switch {
    width: 100%;
    justify-content: space-between;
  }

  .helper-rejection-popup {
    top: 76px;
    width: min(100% - 24px, var(--container));
  }
}

@media (max-width: 390px) {
  .container {
    width: calc(100% - 20px);
  }

  .hero-panel,
  .search-card,
  .action-card,
  .capability-card,
  .service-gate,
  .service-card,
  .benefit-grid article,
  .testimonial-grid article,
  .work-grid article {
    padding: 18px;
  }

  h1 {
    font-size: 2.12rem;
  }

  .hero-animation,
  .hero-photo {
    min-height: 310px;
  }

  .panel-features {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

/* A saved theme choice takes priority over the device color preference. */
html[data-theme="light"] {
  --ink: #111318 !important;
  --muted: #5d6673 !important;
  --paper: #ffffff !important;
  --soft: #f4f6f8 !important;
  --soft-blue: #eef5ff !important;
  --blue-900: #071f3d !important;
  --blue-700: #0b5cab !important;
  --blue-100: #e8f2ff !important;
  --line: #d9e2ec !important;
}

html[data-theme="light"] body,
html[data-theme="light"] .standalone-page,
html[data-theme="light"] .content-page,
html[data-theme="light"] .partner-dashboard-page,
html[data-theme="light"] .nearby-partners,
html[data-theme="light"] .member-home,
html[data-theme="light"] .section-pad,
html[data-theme="light"] .hero,
html[data-theme="light"] .final-cta {
  background: #f4f6f8 !important;
  color: #111318 !important;
}

html[data-theme="light"] .site-header,
html[data-theme="light"] .gov-strip,
html[data-theme="light"] .primary-nav,
html[data-theme="light"] .header-actions,
html[data-theme="light"] .profile-panel,
html[data-theme="light"] .member-profile-card,
html[data-theme="light"] .search-input-wrap,
html[data-theme="light"] .location-chip,
html[data-theme="light"] .location-search-box,
html[data-theme="light"] .saved-location-card,
html[data-theme="light"] .theme-toggle,
html[data-theme="light"] button:not(.button-primary),
html[data-theme="light"] .button-light,
html[data-theme="light"] .google-login-button,
html[data-theme="light"] .location-option,
html[data-theme="light"] .profile-menu button,
html[data-theme="light"] .menu-toggle {
  background: #ffffff !important;
  color: #111318 !important;
  border-color: #d9e2ec !important;
}

html[data-theme="light"] .location-option-current {
  background: #edf5ff !important;
  color: #071f3d !important;
}

html[data-theme="light"] .button-primary {
  background: #0b5cab !important;
  color: #fff !important;
}

html[data-theme="light"] .brand,
html[data-theme="light"] .footer-brand img {
  background: #fff !important;
}

html[data-theme="light"] .brand img,
html[data-theme="light"] .footer-brand img {
  filter: none !important;
}

/* Dark mode is disabled for now: normalize every control back to the original light palette. */
html[data-theme="light"] .header-location-pill,
html[data-theme="light"] .menu-toggle,
html[data-theme="light"] .button-secondary,
html[data-theme="light"] .button-light,
html[data-theme="light"] .google-login-button,
html[data-theme="light"] .auth-close,
html[data-theme="light"] .location-clear-button,
html[data-theme="light"] .location-option,
html[data-theme="light"] .profile-close,
html[data-theme="light"] .profile-menu button,
html[data-theme="light"] .logout-button,
html[data-theme="light"] .saved-delete-button,
html[data-theme="light"] .theme-toggle {
  background: #ffffff !important;
  color: #111318 !important;
  border-color: #d9e2ec !important;
  opacity: 1 !important;
}

html[data-theme="light"] .location-option-current {
  background: #edf5ff !important;
  color: #071f3d !important;
}

html[data-theme="light"] .button-primary,
html[data-theme="light"] .location-save-button {
  background: #0b5cab !important;
  color: #ffffff !important;
  border-color: transparent !important;
}

html[data-theme="light"] .button-outline-light {
  background: transparent !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

html[data-theme="light"] .header-location-pill:hover,
html[data-theme="light"] .menu-toggle:hover,
html[data-theme="light"] .button-secondary:hover,
html[data-theme="light"] .button-light:hover,
html[data-theme="light"] .google-login-button:hover,
html[data-theme="light"] .profile-menu button:hover {
  background: #edf5ff !important;
  color: #071f3d !important;
  border-color: #b9d5f2 !important;
}

/* The original top service strip stays Amojee blue in both themes. */
.gov-strip,
html[data-theme="dark"] .gov-strip,
html[data-theme="light"] .gov-strip {
  background: #071f3d !important;
  color: #fff !important;
}

.gov-strip p,
.gov-strip button,
.gov-strip .language-pill {
  color: #fff !important;
}

/* Keep the original logo badge visible in both themes. */
.brand,
.footer-brand img,
html[data-theme="dark"] .brand,
html[data-theme="dark"] .footer-brand img {
  background: #fff !important;
}

.brand img,
.footer-brand img,
html[data-theme="dark"] .brand img,
html[data-theme="dark"] .footer-brand img {
  filter: none !important;
}

.theme-toggle {
  display: flex !important;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 12px;
  text-align: left;
}

.theme-toggle:hover {
  background: var(--blue-100);
}

.theme-switch-track {
  position: relative;
  display: inline-flex;
  width: 48px;
  height: 26px;
  flex: 0 0 48px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #94a3b8;
  padding: 2px;
  transition: background 180ms ease, border-color 180ms ease;
}

.theme-switch-thumb {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.24);
  transform: translateX(0);
  transition: transform 180ms ease;
}

.theme-toggle:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.theme-coming-soon {
  border: 1px solid #d9e2ec;
  border-radius: 999px;
  background: #f4f6f8;
  color: #5d6673;
  font-size: 0.68rem;
  font-weight: 850;
  padding: 5px 9px;
  white-space: nowrap;
}

.theme-toggle[aria-pressed="true"] .theme-switch-track {
  border-color: #1776c9;
  background: #1776c9;
}

.theme-toggle[aria-pressed="true"] .theme-switch-thumb {
  transform: translateX(20px);
}

/* Final theme polish: keep the current layout, but make both appearances readable. */
.logo-dark {
  display: none;
}

.brand .logo-light,
.brand .logo-dark {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-core .logo-light,
.service-core .logo-dark {
  width: 142px;
  max-width: 82%;
  border-radius: 6px;
}

.footer-brand .logo-light,
.footer-brand .logo-dark {
  width: 170px;
  height: 54px;
  border-radius: 6px;
  object-fit: contain;
}

html[data-theme="light"] .logo-light {
  display: block !important;
}

html[data-theme="light"] .logo-dark {
  display: none !important;
}

html[data-theme="dark"] .logo-light {
  display: block !important;
}

html[data-theme="dark"] .logo-dark {
  display: none !important;
}

html[data-theme="dark"] .theme-toggle:disabled {
  background: #ffffff !important;
  color: #111318 !important;
}

html[data-theme="dark"] .theme-coming-soon {
  border-color: #d9e2ec;
  background: #f4f6f8;
  color: #5d6673;
}

html[data-theme="dark"] .profile-menu a:hover,
html[data-theme="dark"] .profile-menu button:hover,
html[data-theme="dark"] .profile-menu .theme-toggle:hover {
  background: #24445f !important;
  color: #ffffff !important;
  opacity: 1 !important;
}

.location-map-preview {
  display: block !important;
}

.location-map-preview[hidden] {
  display: none !important;
}

html[data-theme="dark"] {
  --ink: #f7fbff !important;
  --muted: #c4cfdd !important;
  --paper: #111b27 !important;
  --soft: #08111d !important;
  --soft-blue: #122337 !important;
  --blue-900: #d8ecff !important;
  --blue-700: #83c8ff !important;
  --blue-500: #5fb4ff !important;
  --blue-100: #17324c !important;
  --mint: #133a34 !important;
  --line: #304258 !important;
  --shadow: 0 14px 32px rgba(0, 0, 0, 0.34) !important;
  --shadow-strong: 0 24px 58px rgba(0, 0, 0, 0.48) !important;
}

html[data-theme="dark"] body,
html[data-theme="dark"] .standalone-page,
html[data-theme="dark"] .content-page,
html[data-theme="dark"] .partner-dashboard-page,
html[data-theme="dark"] .section-pad,
html[data-theme="dark"] .hero,
html[data-theme="dark"] .member-home,
html[data-theme="dark"] .nearby-partners,
html[data-theme="dark"] .final-cta {
  background:
    radial-gradient(circle at 18% 0%, rgba(33, 118, 210, 0.14), transparent 30%),
    #08111d !important;
  color: var(--ink) !important;
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .primary-nav,
html[data-theme="dark"] .header-actions,
html[data-theme="dark"] .profile-panel,
html[data-theme="dark"] .profile-head,
html[data-theme="dark"] .member-profile-card,
html[data-theme="dark"] .member-facilities a,
html[data-theme="dark"] .member-facilities button,
html[data-theme="dark"] .hero-panel,
html[data-theme="dark"] .hero-stats div,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .action-card,
html[data-theme="dark"] .capability-card,
html[data-theme="dark"] .search-card,
html[data-theme="dark"] .photo-request-form,
html[data-theme="dark"] .helper-page-card,
html[data-theme="dark"] .provider-card,
html[data-theme="dark"] .shop-profile-panel,
html[data-theme="dark"] .auth-card,
html[data-theme="dark"] .location-card,
html[data-theme="dark"] .language-card,
html[data-theme="dark"] .address-card,
html[data-theme="dark"] .location-chip,
html[data-theme="dark"] .search-input-wrap,
html[data-theme="dark"] .saved-location-card,
html[data-theme="dark"] .location-search-box,
html[data-theme="dark"] .profile-menu-link,
html[data-theme="dark"] .profile-menu button:not(.theme-toggle) {
  border-color: var(--line) !important;
  background: rgba(17, 27, 39, 0.96) !important;
  color: var(--ink) !important;
  box-shadow: var(--shadow);
}

/* Keep the public desktop header focused; these links remain in the mobile menu. */
@media (min-width: 1081px) {
  body:not(.is-logged-in) .site-header .primary-nav > a:nth-child(-n + 3) {
    display: none !important;
  }

  body:not(.is-logged-in) .site-header .primary-nav {
    justify-content: flex-end;
  }
}

@media (max-width: 1080px) {
  body:not(.is-logged-in).nav-open .site-header .primary-nav > a:nth-child(-n + 3) {
    display: flex !important;
    color: var(--ink) !important;
    opacity: 1;
    transform: none;
  }
}

html[data-theme="dark"] .hero-animation {
  border-color: var(--line) !important;
  background:
    radial-gradient(circle at 50% 42%, rgba(95, 180, 255, 0.2), transparent 29%),
    linear-gradient(145deg, #0b1521 0%, #101f31 56%, #142941 100%) !important;
}

html[data-theme="dark"] .service-core {
  border-color: rgba(131, 200, 255, 0.28) !important;
  background: rgba(8, 17, 29, 0.92) !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46);
}

html[data-theme="dark"] .service-bubble,
html[data-theme="dark"] .live-note,
html[data-theme="dark"] .panel-features span,
html[data-theme="dark"] .gate-list span,
html[data-theme="dark"] .shop-profile-meta span,
html[data-theme="dark"] .provider-meta span {
  border-color: rgba(131, 200, 255, 0.24) !important;
  background: rgba(18, 35, 55, 0.96) !important;
  color: #eaf6ff !important;
}

html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] strong,
html[data-theme="dark"] label,
html[data-theme="dark"] .member-facilities strong,
html[data-theme="dark"] .member-profile-card strong,
html[data-theme="dark"] .hero-stats strong,
html[data-theme="dark"] .profile-head h2,
html[data-theme="dark"] .profile-trigger strong,
html[data-theme="dark"] .header-location-pill span {
  color: var(--ink) !important;
}

html[data-theme="dark"] p,
html[data-theme="dark"] small,
html[data-theme="dark"] em,
html[data-theme="dark"] .hero-lead,
html[data-theme="dark"] .section-heading p:not(.eyebrow),
html[data-theme="dark"] .member-facilities small,
html[data-theme="dark"] .member-profile-card small,
html[data-theme="dark"] .member-profile-card em,
html[data-theme="dark"] .hero-stats span,
html[data-theme="dark"] .profile-head p,
html[data-theme="dark"] .profile-head small,
html[data-theme="dark"] .request-status span,
html[data-theme="dark"] .empty-service-state {
  color: var(--muted) !important;
}

html[data-theme="dark"] input,
html[data-theme="dark"] textarea,
html[data-theme="dark"] select,
html[data-theme="dark"] .shop-search-bar input {
  border-color: var(--line) !important;
  background: #091523 !important;
  color: var(--ink) !important;
}

html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder {
  color: #91a0b3 !important;
}

html[data-theme="dark"] .button-primary,
html[data-theme="dark"] .button.button-primary {
  border-color: rgba(131, 200, 255, 0.12) !important;
  background: linear-gradient(135deg, #0b6fc2, #159cbe) !important;
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(21, 156, 190, 0.24);
}

html[data-theme="dark"] .button-secondary,
html[data-theme="dark"] .button-ghost,
html[data-theme="dark"] .button-light,
html[data-theme="dark"] .google-login-button,
html[data-theme="dark"] .header-location-pill,
html[data-theme="dark"] .profile-trigger,
html[data-theme="dark"] .menu-toggle,
html[data-theme="dark"] button:not(.button-primary):not(.theme-toggle) {
  border-color: var(--line) !important;
  background: #111b27 !important;
  color: var(--ink) !important;
}

html[data-theme="dark"] .button-secondary:hover,
html[data-theme="dark"] .button-ghost:hover,
html[data-theme="dark"] .button-light:hover,
html[data-theme="dark"] .google-login-button:hover,
html[data-theme="dark"] .header-location-pill:hover,
html[data-theme="dark"] .profile-trigger:hover,
html[data-theme="dark"] .profile-menu-link:hover,
html[data-theme="dark"] .profile-menu button:not(.theme-toggle):hover {
  border-color: rgba(131, 200, 255, 0.34) !important;
  background: #17324c !important;
  color: #fff !important;
}

html[data-theme="dark"] .brand,
html[data-theme="dark"] .footer-brand img {
  background: #080d13 !important;
}

html[data-theme="dark"] .brand img,
html[data-theme="dark"] .footer-brand img {
  filter: none !important;
}

html[data-theme="dark"] .service-gate,
html[data-theme="dark"] .final-panel {
  background:
    linear-gradient(135deg, rgba(7, 31, 61, 0.98), rgba(10, 20, 32, 0.98) 58%, rgba(11, 92, 171, 0.82)),
    #071f3d !important;
  color: #fff !important;
}

html[data-theme="light"] body,
html[data-theme="light"] .standalone-page,
html[data-theme="light"] .content-page,
html[data-theme="light"] .section-pad,
html[data-theme="light"] .hero,
html[data-theme="light"] .member-home,
html[data-theme="light"] .nearby-partners,
html[data-theme="light"] .final-cta {
  background: #f4f6f8 !important;
  color: #111318 !important;
}

html[data-theme="light"] .member-profile-card,
html[data-theme="light"] .member-facilities a,
html[data-theme="light"] .member-facilities button,
html[data-theme="light"] .hero-panel,
html[data-theme="light"] .hero-stats div,
html[data-theme="light"] .profile-panel,
html[data-theme="light"] .profile-head,
html[data-theme="light"] .profile-menu-link,
html[data-theme="light"] .profile-menu button:not(.theme-toggle) {
  background: #fff !important;
  color: #111318 !important;
  border-color: #d9e2ec !important;
}

.member-layout {
  align-items: stretch;
}

.member-dashboard {
  min-width: 0;
  overflow: hidden;
}

.member-facilities {
  grid-template-columns: repeat(auto-fit, minmax(min(172px, 100%), 1fr));
  align-items: stretch;
}

.member-facilities a,
.member-facilities button {
  min-width: 0;
  min-height: 148px;
  align-content: space-between;
  overflow: hidden;
  gap: 12px;
  border-radius: 8px;
}

.member-facilities strong,
.member-facilities small {
  overflow-wrap: anywhere;
}

.member-facilities span {
  margin-bottom: 12px;
}

.profile-panel {
  grid-template-rows: auto auto minmax(0, 1fr);
  align-content: stretch;
}

.profile-menu {
  display: flex;
  min-height: 0;
  flex-direction: column;
}

.profile-menu .theme-toggle {
  width: 100%;
  min-height: 58px;
  margin-top: auto;
  border: 1px solid rgba(11, 92, 171, 0.18) !important;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(232, 242, 255, 0.95), rgba(255, 255, 255, 0.98)) !important;
  color: #071f3d !important;
  box-shadow: 0 10px 24px rgba(9, 24, 48, 0.08);
  padding: 10px 12px;
}

.profile-menu .theme-toggle::after {
  content: none !important;
}

.theme-toggle-label {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.theme-toggle-label::before {
  content: "Appearance";
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}

html[data-theme="dark"] .profile-menu .theme-toggle {
  border-color: rgba(131, 200, 255, 0.28) !important;
  background:
    linear-gradient(135deg, rgba(18, 35, 55, 0.98), rgba(11, 21, 33, 0.98)) !important;
  color: #f7fbff !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .theme-toggle-label::before {
  color: #a9b9ca;
}

html[data-theme="dark"] .theme-switch-track {
  border-color: rgba(131, 200, 255, 0.26);
  background: #26384c;
}

@media (max-width: 740px) {
  body.is-logged-in {
    padding-bottom: 96px;
  }

  body.is-logged-in[data-app-page="home"] .hero {
    padding-bottom: 96px !important;
  }

  .member-facilities {
    grid-template-columns: 1fr;
  }

  .member-facilities a,
  .member-facilities button {
    min-height: 118px;
  }

  .mobile-bottom-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    border-color: rgba(217, 226, 236, 0.95);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px) saturate(1.12);
  }

  .mobile-bottom-nav a {
    min-width: 0;
    border-radius: 7px;
    color: #071f3d;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  html[data-theme="dark"] .mobile-bottom-nav {
    border-color: rgba(131, 200, 255, 0.22);
    background: rgba(11, 21, 33, 0.96);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  }

  html[data-theme="dark"] .mobile-bottom-nav a {
    color: #f7fbff;
  }

  html[data-theme="dark"] .mobile-bottom-nav a:hover {
    background: #17324c;
  }
}

body.admin-page .admin-directory,
body.admin-page .admin-customer-section,
body.admin-page .admin-queue {
  display: none !important;
}

html[data-theme="light"] .standalone-page.admin-page {
  background: #f5f7fa !important;
}

html body.standalone-page.admin-page {
  background: #071f3d !important;
}

html[data-theme="light"] body.admin-page,
html[data-theme="light"] .standalone-page.admin-page,
body.admin-page {
  background: #f5f7fa !important;
}

@media (max-width: 740px) {
  .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 58px;
    padding: 8px 12px;
  }

  .brand {
    width: 88px;
    min-width: 88px;
    height: 36px;
  }

  .header-menu-cluster {
    grid-column: 4;
    grid-row: 1;
    justify-self: end;
  }

  .primary-nav {
    display: none !important;
  }

  body.nav-open .primary-nav {
    display: flex !important;
  }

  .header-actions {
    position: static;
    grid-column: 3;
    display: flex !important;
    width: auto !important;
    max-width: none !important;
    align-items: center;
    flex-direction: row;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
  }

  body.nav-open .header-actions {
    display: none !important;
  }

  body:not(.is-logged-in) .header-actions [data-protected-action] {
    display: none;
  }

  body.is-logged-in .site-header {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    row-gap: 6px;
  }

  body.is-logged-in .brand {
    grid-column: 1;
    grid-row: 1;
  }

  body.is-logged-in .header-menu-cluster {
    grid-column: 2 / 4;
    grid-row: 1;
    width: 100%;
    justify-content: flex-end;
  }

  body.is-logged-in .header-location-pill {
    display: inline-flex !important;
    max-width: min(52vw, 220px);
    min-width: 0;
  }

  body.is-logged-in .header-actions {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100% !important;
    justify-content: space-between;
    min-width: 0;
  }

  body.is-logged-in .login-signup-button {
    display: none !important;
  }

  body.is-logged-in .profile-trigger {
    min-width: 0;
    flex: 1 1 auto;
    max-width: calc(100% - 122px);
  }

  body.is-logged-in .header-actions [data-protected-action] {
    display: inline-flex;
    flex: 0 0 auto;
    width: auto;
    min-height: 36px;
    padding-inline: 10px;
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .profile-sidebar.is-open .profile-panel {
    display: grid;
    max-height: 100dvh;
    overflow-y: auto;
  }

  .profile-menu {
    min-width: 0;
    padding-bottom: 12px;
  }

  .shop-search-bar {
    min-width: 0;
    grid-template-columns: minmax(0, 1fr) 92px;
  }

  .shop-search-bar input {
    min-width: 0;
  }

  .login-signup-button {
    display: inline-flex !important;
    min-height: 36px;
    padding-inline: 9px;
    font-size: 0.72rem !important;
    white-space: nowrap;
  }

  h1,
  .section-pad h1 {
    font-size: 2rem !important;
  }

  h2,
  .section-pad h2,
  .section-heading h2 {
    font-size: 1.45rem !important;
  }

  h3,
  .section-pad h3,
  .capability-card h3,
  .action-card h2 {
    font-size: 1.05rem !important;
  }
}

body.admin-page .standalone-heading h1,
body.admin-page .standalone-heading > p:not(.eyebrow),
body.admin-page .admin-heading-meta {
  color: #172536 !important;
}

body.admin-page .standalone-heading h1,
body.admin-page .standalone-heading > p:not(.eyebrow) {
  color: #ffffff !important;
}

body.admin-page .admin-functions button,
body.admin-page .admin-functions button strong,
body.admin-page .admin-functions button span {
  color: #173c60 !important;
}

body.admin-page .admin-functions button {
  background: #ffffff !important;
  border-color: #c7d1dc !important;
}

.admin-customer-vehicles {
  display: grid;
  gap: 8px;
  margin: 12px 0 0 72px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.admin-customer-vehicles > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid #dbe5ef;
  border-radius: 8px;
  background: #f8fbff;
  padding: 9px;
}

.admin-customer-vehicles span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.admin-customer-vehicles b { font-size: .78rem; }
.admin-customer-vehicles small, .admin-no-vehicle-links { color: #718096; font-size: .7rem; }
.admin-customer-vehicles .button { flex: 0 0 auto; }

@media (max-width: 740px) {
  .admin-customer-vehicles { margin-left: 0; }
  .admin-customer-vehicles > div { align-items: flex-start; flex-direction: column; }
}

body:not(.helper-page) a[href="helper.html"],
body:not(.helper-page) .quick-helper,
body:not(.helper-page) .action-helper,
body:not(.helper-page) .bubble-helper {
  display: none !important;
}

body.partner-dashboard-page .helper-control {
  display: none !important;
}

body.partner-dashboard-page .dashboard-panel.profile-panel {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  min-width: 0 !important;
}

body.partner-dashboard-page .partner-dashboard-main {
  --dashboard-radius: 16px;
  --dashboard-padding: 22px;
}

body.partner-dashboard-page .partner-dashboard-grid,
body.partner-dashboard-page .dashboard-control-strip,
body.partner-dashboard-page .partner-dashboard-columns,
body.partner-dashboard-page .business-shop-studio,
body.partner-dashboard-page .dashboard-work-grid {
  align-items: stretch;
}

body.partner-dashboard-page .partner-dashboard-grid article,
body.partner-dashboard-page .dashboard-control-card,
body.partner-dashboard-page .dashboard-panel,
body.partner-dashboard-page .business-shop-studio > article,
body.partner-dashboard-page .dashboard-work-grid > article,
body.partner-dashboard-page .partner-footer-note {
  box-sizing: border-box;
  min-width: 0;
  border-radius: var(--dashboard-radius);
  padding: var(--dashboard-padding);
}

body.partner-dashboard-page .partner-dashboard-grid article,
body.partner-dashboard-page .dashboard-control-card,
body.partner-dashboard-page .dashboard-panel,
body.partner-dashboard-page .business-shop-studio > article,
body.partner-dashboard-page .dashboard-work-grid > article {
  height: 100%;
}

body.partner-dashboard-page .business-service-requests,
body.partner-dashboard-page .dashboard-work-grid > article {
  display: flex;
  flex-direction: column;
}

body.partner-dashboard-page .business-service-requests .dashboard-request-list,
body.partner-dashboard-page .dashboard-work-grid .dashboard-request-list {
  flex: 1;
}

@media (max-width: 740px) {
  body.partner-dashboard-page .partner-dashboard-main {
    --dashboard-padding: 16px;
  }

  body.partner-dashboard-page .partner-dashboard-grid article,
  body.partner-dashboard-page .dashboard-control-card,
  body.partner-dashboard-page .dashboard-panel,
  body.partner-dashboard-page .business-shop-studio > article,
  body.partner-dashboard-page .dashboard-work-grid > article {
    height: auto;
  }
}

@media (max-width: 740px) {
  body.partner-dashboard-page {
    overflow-x: hidden;
  }

  .partner-dashboard-page .partner-dashboard-main,
  .partner-dashboard-page .container,
  .partner-dashboard-page .business-shop-studio,
  .partner-dashboard-page .partner-dashboard-columns,
  .partner-dashboard-page .dashboard-work-grid {
    width: min(100% - 24px, var(--container));
    min-width: 0;
    max-width: 100%;
  }

  .partner-dashboard-page .shop-booking-meta {
    grid-template-columns: 1fr;
  }

  .partner-dashboard-page .dashboard-panel.profile-panel {
    width: 100%;
    min-width: 0;
    position: static;
    inset: auto;
    transform: none;
  }

  .partner-dashboard-page .partner-dashboard-columns,
  .partner-dashboard-page .dashboard-work-grid,
  .partner-dashboard-page .partner-dashboard-grid {
    grid-template-columns: 1fr !important;
  }

  .partner-dashboard-page .partner-dashboard-header {
    grid-template-columns: auto minmax(0, 1fr);
    min-width: 0;
  }

  .partner-dashboard-page .partner-header-context,
  .partner-dashboard-page .partner-header-context strong,
  .partner-dashboard-page .panel-heading,
  .partner-dashboard-page .panel-heading > div {
    min-width: 0;
  }

  .partner-dashboard-page .partner-header-context strong,
  .partner-dashboard-page .panel-heading h2,
  .partner-dashboard-page .shop-booking-card h3 {
    overflow-wrap: anywhere;
  }

  .partner-dashboard-page .dashboard-control-strip,
  .partner-dashboard-page .business-shop-studio {
    grid-template-columns: 1fr !important;
  }

  .partner-dashboard-page .dashboard-control-card {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .partner-dashboard-page .toggle-switch,
  .partner-dashboard-page .dashboard-control-card .toggle-switch {
    width: 100%;
    justify-content: center;
  }

  .partner-dashboard-page .business-shop-studio > article,
  .partner-dashboard-page .dashboard-panel,
  .partner-dashboard-page .dashboard-work-grid > article {
    min-width: 0;
    padding: 16px;
  }

  .partner-dashboard-page .shop-booking-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .partner-dashboard-page .shop-booking-actions input,
  .partner-dashboard-page .shop-booking-actions select,
  .partner-dashboard-page .shop-booking-actions .button {
    width: 100%;
    max-width: 100%;
  }

  .partner-dashboard-page .shop-booking-card,
  .partner-dashboard-page .shop-booking-meta,
  .partner-dashboard-page .dashboard-request-card,
  .partner-dashboard-page .business-item-row,
  .partner-dashboard-page .worker-list {
    min-width: 0;
    max-width: 100%;
  }

  .partner-dashboard-page .shop-booking-card,
  .partner-dashboard-page .dashboard-request-card {
    overflow-wrap: anywhere;
  }
}

body.admin-page .standalone-heading h1,
body.admin-page .standalone-heading > p:not(.eyebrow) {
  color: #ffffff !important;
}

body.admin-page .admin-functions button,
body.admin-page .admin-functions button strong,
body.admin-page .admin-functions button span {
  color: #173c60 !important;
}

body.admin-page .admin-functions button {
  background: #ffffff !important;
  border-color: #c7d1dc !important;
}

@media (max-width: 740px) {
  .customer-booking-grid {
    grid-template-columns: 1fr;
  }

  .customer-booking-wide {
    grid-column: auto;
  }

  .profile-head h2 {
    max-width: 100%;
    font-size: 0.98rem !important;
  }

  .profile-head p,
  .profile-head small {
    max-width: 100%;
    font-size: 0.68rem !important;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .profile-menu-link,
  .profile-menu button {
    min-height: 44px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
  }
}

@media (max-width: 740px) {
  .profile-panel {
    gap: 12px;
    padding: 16px;
  }

  .profile-head {
    gap: 10px;
    padding: 12px;
  }

  .profile-head p,
  .profile-head small {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .profile-head h2 {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .profile-menu {
    gap: 8px;
  }

  .profile-menu-link,
  .profile-menu button {
    min-height: 44px;
    font-size: 0.86rem;
    font-weight: 700;
    padding-inline: 12px;
  }

  .profile-panel {
    right: -80vw;
    width: 80vw;
    max-width: 390px;
    transform: none;
    transition: right 320ms cubic-bezier(0.2, 0.85, 0.22, 1);
  }

  .profile-sidebar:not(.is-open) .profile-panel {
    right: -80vw;
    transform: none;
  }

  .profile-sidebar.is-open .profile-panel {
    right: 0;
    transform: none;
  }

  .mobile-bottom-nav a[aria-current="page"] {
    background: var(--blue-700);
    color: #fff;
    box-shadow: 0 6px 14px rgba(11, 92, 171, 0.22);
  }
}

body.admin-page .standalone-heading {
  border-radius: 8px;
  background: #071f3d;
  padding: 24px;
}

body.admin-page .standalone-heading h1,
body.admin-page .standalone-heading > p:not(.eyebrow),
body.admin-page .admin-heading-meta {
  color: #fff !important;
}

html[data-theme="light"] body.admin-page,
html[data-theme="light"] .standalone-page.admin-page,
body.admin-page {
  background: #f5f7fa !important;
}

body.admin-page .standalone-heading h1,
body.admin-page .standalone-heading > p:not(.eyebrow),
body.admin-page .admin-heading-meta {
  color: #172536 !important;
}

html[data-theme="light"] body.admin-page {
  background: #f5f7fa !important;
}

body.admin-page {
  background: #f5f7fa !important;
}

html[data-theme="light"] body.admin-page,
html[data-theme="light"] .standalone-page.admin-page {
  background: #f5f7fa !important;
}

.admin-page .standalone-heading {
  border-color: rgba(255, 255, 255, 0.2);
}

.admin-page .standalone-heading h1,
.admin-page .standalone-heading > p:not(.eyebrow) {
  color: #172536;
}

.admin-page .admin-heading-meta {
  color: #d7e7f6;
}

.admin-page .admin-transactions {
  margin-top: 22px;
  width: min(100%, 980px);
  margin-right: auto;
  margin-left: auto;
  border: 1px solid #c7d1dc;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
  padding: 18px;
}

.admin-page .admin-transaction-grid > section {
  border: 1px solid #d2dce5;
  border-radius: 6px;
  background: #fbfcfd;
  padding: 12px;
}

.admin-page .admin-transaction-grid > section h3 {
  border-bottom: 1px solid #d2dce5;
  padding-bottom: 8px;
}

.admin-transaction-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #d6dfe8;
  padding-bottom: 12px;
}

.admin-transaction-heading h2 {
  margin: 0;
  color: #0b315b;
  font-size: 1.35rem;
}

.admin-transaction-heading > span {
  color: #68798b;
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-transaction-grid {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.admin-sheet-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  border: 1px solid #c7d1dc;
  border-bottom: 0;
  background: #f3f6f9;
  color: #5d6d7d;
  padding: 8px 10px;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.72rem;
}

.admin-transaction-grid h3,
.admin-growth h3 {
  margin: 0 0 8px;
  color: #173c60;
  font-size: 0.95rem;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid #c7d1dc;
}

.admin-table-wrap table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.admin-table-wrap th,
.admin-table-wrap td {
  border-right: 1px solid #d6dfe8;
  border-bottom: 1px solid #d6dfe8;
  padding: 10px 12px;
  text-align: left;
}

.admin-table-wrap .sheet-row-number {
  width: 38px;
  background: #f3f6f9;
  color: #7a8998;
  text-align: center;
}

.admin-table-wrap th {
  background: #eaf2f9;
  color: #173c60;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.admin-table-wrap td {
  color: #435466;
}

.admin-growth {
  margin-top: 22px;
  border-top: 1px solid #d6dfe8;
  padding-top: 16px;
}

.admin-growth-bars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: 16px;
  height: 170px;
  border-bottom: 1px solid #aebdca;
  padding: 10px 12px 0;
}

.admin-growth-bars > div {
  display: grid;
  height: 100%;
  align-items: end;
  justify-items: center;
  gap: 4px;
}

.admin-growth-bars span,
.admin-growth-bars strong {
  color: #526273;
  font-size: 0.72rem;
}

.admin-growth-bars b {
  display: block;
  width: min(48px, 70%);
  min-height: 12px;
  border-radius: 3px 3px 0 0;
  background: #0b5cab;
}

@media (max-width: 600px) {
  .admin-transaction-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-growth-bars {
    gap: 8px;
    padding-inline: 2px;
  }
}

body.admin-page {
  background: #f5f7fa !important;
}

body.admin-page .admin-directory,
body.admin-page .admin-customer-section,
body.admin-page .admin-queue {
  display: none !important;
}

body.admin-page,
html[data-theme="light"] body.admin-page,
html[data-theme="light"] .standalone-page.admin-page {
  background: #f5f7fa !important;
}

body.admin-page .admin-functions,
body.admin-page .admin-transactions {
  border: 1px solid rgba(191, 219, 254, 0.32);
  border-radius: 8px;
  background: rgba(5, 25, 52, 0.32);
  padding: 14px;
}

body.admin-page .admin-functions {
  border-bottom: 3px solid #0b5cab;
}

body.admin-page .admin-function-box {
  border: 2px solid #6ea8d6;
  border-radius: 6px;
  background: #0d3159;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 3px 8px rgba(0, 0, 0, 0.16);
}

body.admin-page .admin-function-box:hover {
  border-color: #f2bd4b;
  background: #124577;
}

body.admin-page .admin-function-box strong {
  color: #fff;
}

body.admin-page .admin-transactions {
  border-top: 3px solid #16834b;
}

body.admin-page .admin-table-wrap {
  border: 2px solid #8aa5bd;
  border-radius: 4px;
}

body.admin-page .admin-table-wrap th,
body.admin-page .admin-table-wrap td {
  border: 1px solid #c3d0dc;
}

body.admin-page .admin-sheet-toolbar {
  border: 1px solid #a9bac9;
  border-bottom: 0;
}

body.admin-page .admin-table-wrap table,
body.admin-page .admin-table-wrap th,
body.admin-page .admin-table-wrap td {
  border: 1px solid #111 !important;
}

body.admin-page .admin-table-wrap th {
  background: #e6edf3 !important;
  color: #111 !important;
}

body.admin-page .admin-table-wrap td {
  background: #fff !important;
  color: #111 !important;
}

body.admin-page .admin-table-wrap .sheet-row-number {
  background: #edf0f2 !important;
  color: #111 !important;
  text-align: center;
}

body.admin-page .standalone-heading {
  border-radius: 8px;
  background: #071f3d !important;
  padding: 24px;
}

body.admin-page .standalone-heading h1,
body.admin-page .standalone-heading > p:not(.eyebrow),
body.admin-page .admin-heading-meta {
  color: #ffffff !important;
}

body.admin-page .admin-functions button,
body.admin-page .admin-functions button strong,
body.admin-page .admin-functions button span {
  color: #173c60 !important;
}

body.admin-page .admin-functions button {
  background: #ffffff !important;
  border-color: #c7d1dc !important;
}
