:root {
  --teal: #00adb5;
  --teal-dark: #008b93;
  --teal-soft: #e5f7f8;
  --navy: #071d36;
  --ink: #142022;
  --muted: #647173;
  --surface: #f3f5f5;
  --white: #fff;
  --line: #dbe1e2;
  --danger: #b42318;
  --shadow: 0 4px 14px rgba(14, 31, 33, .08);
}

* { box-sizing: border-box; letter-spacing: 0; }
[hidden] { display: none !important; }

@media(max-width:520px) { .service-row > .service-symbol { display: none; } }
/* Shared readable surfaces and predictable interaction states. */
body { font-family: 'Segoe UI', Arial, sans-serif; color: #222831; }
button, input, select, textarea { font-family: inherit; letter-spacing: 0; }
button, a, input, select, textarea { touch-action: manipulation; }
:focus-visible { outline: 3px solid #008f98; outline-offset: 3px; }
.app-frame { box-shadow: none; }
.app-view { background: #f6f8f9; }
.view-intro h1 { font-size: 26px; line-height: 1.25; }
.view-intro p, .hero-copy p, .legal-card p, .checkout-note { font-size: 15px; line-height: 1.6; }
.filter-tabs { overflow-x: auto; scrollbar-width: thin; }
.filter-tabs button { min-height: 48px; font-size: 14px; flex-shrink: 0; }
.search-box input, .checkout-form input, .checkout-form textarea, .profile-form input { font-size: 16px; }
.catalog-list { gap: 8px; }
.catalog-list .service-row { box-shadow: none; min-height: 72px; gap: 12px; }
.service-row strong { font-size: 16px; line-height: 1.35; }
.service-price { font-size: 16px; min-height: 40px; background: #eef4f4; color: #1e5454; border-color: #d8e7e6; }
.add-button { min-height: 40px; background: #00858b; color: white; border-color: #00858b; font-size: 13px; padding: 8px 12px; }
.add-button:hover, .checkout-button:hover { background: #006d72; color: white; }
.bottom-nav button { font-size: 13px; }
.home-hero { background: #222831; box-shadow: none; border-radius: 8px; }
.hero-copy h1 { font-size: 28px; line-height: 1.2; }
.hero-service-strip button { font-size: 13px; }
.home-shortcuts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin: 20px 0; border-block: 1px solid #dfe6e8; }
.home-shortcuts button { min-height: 74px; display: flex; align-items: center; justify-content: center; gap: 10px; background: transparent; border: 0; color: #17696c; font-size: 14px; font-weight: 600; }
.home-shortcuts button:hover { background: #eaf4f3; }
.home-shortcuts svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.special-card { box-shadow: none; border-radius: 8px; }
.special-card h3 { font-size: 21px; line-height: 1.3; }
.special-card p, .special-card li { font-size: 14px; line-height: 1.5; }
.special-price strong { font-size: 28px; }
.client-order { background: white; border-bottom: 1px solid #dfe6e8; }
.client-order summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 16px; }
.client-order summary::after { content: '+'; color: #00858b; font-size: 22px; }
.client-order[open] summary::after { content: '-'; }
.client-order summary > span:first-child { flex: 1; min-width: 0; }
.client-order strong { display: block; font-size: 16px; overflow-wrap: anywhere; }
.client-order small { display: block; color: #65747a; margin-top: 5px; font-size: 13px; }
.order-status { padding: 6px 9px; color: #17696c; background: #eaf4f3; font-size: 12px; border-radius: 4px; }
.order-detail { padding: 0 16px 20px; font-size: 15px; }
.order-detail dl { display: grid; grid-template-columns: 140px minmax(0,1fr); gap: 10px; }
.order-detail dt { color: #65747a; }.order-detail dd { margin: 0; overflow-wrap: anywhere; }
.order-detail a { color: #007b80; font-weight: 600; }
.orders-empty { padding: 28px 0; }.orders-empty p { color: #65747a; }
.orders-empty button { background: #00858b; color: white; padding: 12px 18px; border: 0; border-radius: 6px; }
@media(min-width:1024px) { .catalog-list { grid-template-columns: 1fr; }.bottom-nav button { font-size: 15px; }.app-view { padding: 28px 32px; } }
@media(max-width:520px) { .service-row { grid-template-columns: minmax(0,1fr) auto auto; padding: 12px 8px; gap: 7px; }.service-row > .service-icon { display: none; }.service-row strong { font-size: 14px; }.service-price { font-size: 14px; padding: 6px; }.add-button { font-size: 12px; padding: 8px; }.home-shortcuts button { flex-direction: column; font-size: 12px; gap: 6px; }.order-detail dl { grid-template-columns: 1fr; gap: 5px; }.order-detail dd { margin-bottom: 8px; } }
html, body { width: 100%; height: 100%; overflow: hidden; }
body { margin: 0; min-width: 320px; background: #dfe5e6; color: var(--ink); font-family: "Manrope", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
img { display: block; max-width: 100%; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.desktop-brand { display: none; }

.app-frame { position: relative; width: 100%; min-width: 0; height: 100dvh; overflow: hidden; background: var(--surface); }
.app-header {
  position: absolute; inset: 0 0 auto; z-index: 50; height: 64px;
  display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px;
  padding: 8px 12px; background: var(--teal-dark); color: var(--white); box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.icon-button { position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: inherit; }
.icon-button:hover { background: rgba(255,255,255,.12); }
.header-title { min-width: 0; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 9px; line-height: 1.15; }
.header-logo { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 34px; overflow: hidden; border-radius: 0; background: transparent; }
.header-logo img { width: 58px; height: 34px; object-fit: contain; filter: brightness(0) invert(1); }
.header-title strong { overflow: hidden; max-width: 100%; font-size: 18px; white-space: nowrap; text-overflow: ellipsis; }
.cart-badge { position: absolute; top: 1px; right: 0; min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid var(--teal-dark); border-radius: 10px; background: #d51f39; color: #fff; font-size: 9px; font-weight: 800; }

.app-content { position: absolute; inset: 64px 0 72px; min-width: 0; overflow: hidden; }
.app-view { display: none; width: 100%; min-width: 0; height: 100%; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 28px; scrollbar-width: thin; scrollbar-color: #9eaaab transparent; }
.app-view.active { display: block; }

.app-drawer { position: absolute; inset: 0 auto 0 0; z-index: 90; width: min(86%, 360px); padding: 0 18px 24px; background: #fff; box-shadow: 24px 0 70px rgba(0,0,0,.2); transform: translateX(-110%); visibility: hidden; transition: transform .22s ease, visibility .22s ease; }
.app-drawer.open { transform: translateX(0); visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; z-index: 80; border: 0; background: rgba(4,19,31,.52); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease; }
.drawer-backdrop.open { opacity: 1; visibility: visible; }
.drawer-profile { min-height: 92px; display: grid; grid-template-columns: 48px 1fr 42px; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.drawer-profile img { width: 48px; height: 42px; object-fit: contain; }
.drawer-profile > div { min-width: 0; display: flex; flex-direction: column; }
.drawer-profile strong { font-size: 14px; }
.drawer-profile span { color: var(--muted); font-size: 9px; }
.drawer-close { color: var(--ink); }
.drawer-close svg { width: 20px; height: 20px; }
.drawer-nav { padding-top: 12px; }
.drawer-nav button { width: 100%; min-height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 8px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--ink); text-align: left; font-weight: 700; }
.drawer-nav button span { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; color: var(--teal-dark); }
.drawer-nav button span svg { width: 18px; height: 18px; }
.drawer-contact { position: absolute; right: 18px; bottom: 24px; left: 18px; display: flex; flex-direction: column; gap: 5px; padding: 14px; border-radius: 8px; background: var(--surface); color: var(--muted); font-size: 11px; }
.drawer-contact a { color: var(--teal-dark); font-weight: 700; }

.bottom-nav { position: absolute; inset: auto 0 0; z-index: 60; height: 72px; display: flex; justify-content: space-between; padding: 5px 2px max(5px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.98); box-shadow: 0 -5px 20px rgba(0,0,0,.08); }
.bottom-nav button { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; border: 0; background: transparent; color: #697778; font-size: 9px; font-weight: 700; }
.bottom-nav button { width: 22%; flex: 0 0 22%; }
.bottom-nav button.active { color: var(--teal-dark); }
.bottom-nav button:focus:not(:focus-visible) { outline: none; }
.bottom-nav button:focus-visible { outline: 2px solid var(--teal-dark); outline-offset: -2px; }
.bottom-nav svg { width: 21px; height: 21px; }
.nav-main { padding-top: 22px !important; }
.nav-main-icon { position: absolute; top: -25px; width: 52px; height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 5px solid #fff; border-radius: 50%; background: var(--teal); color: var(--navy); box-shadow: var(--shadow); }
.nav-main-icon svg { width: 23px; height: 23px; }
.bottom-nav .cart-badge { top: 2px; right: 18%; border-color: #fff; }

.home-hero { position: relative; display: grid; grid-template-columns: 118px minmax(0,1fr); align-items: center; gap: 14px 16px; min-height: 0; overflow: hidden; padding: 18px; border-radius: 8px; background: var(--navy); color: #fff; box-shadow: 0 14px 28px rgba(7,29,54,.16); }
.home-hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 36px 36px; pointer-events: none; }
.hero-speak { position: relative; z-index: 1; grid-column: 1 / -1; min-height: 42px; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; background: rgba(255,255,255,.1); color: #fff; font-size: 12px; font-weight: 900; }
.hero-brand-mark { position: relative; z-index: 2; width: 118px; height: 58px; padding: 0; object-fit: contain; border: 0; border-radius: 0; background: transparent; opacity: 1; }
.hero-copy { position: relative; z-index: 2; width: 100%; min-width: 0; padding: 0; }
.open-status { display: none; align-items: center; gap: 6px; color: #8ce9dd; font-size: 10px; font-weight: 800; }
.open-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #40d783; }
.hero-copy h1 { max-width: 18ch; margin: 0 0 6px; font-size: 24px; line-height: 1.08; overflow-wrap: anywhere; }
.hero-copy p { max-width: 46ch; margin: 0; color: #d2dfe1; font-size: 12px; line-height: 1.35; }
.hero-metrics { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px; width: 100%; margin-top: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; background: rgba(255,255,255,.08); }
.hero-metrics div { min-width: 0; padding: 12px 8px; border-right: 1px solid rgba(255,255,255,.14); }
.hero-metrics div:last-child { border-right: 0; }
.hero-metrics strong, .hero-metrics span { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hero-metrics strong { color: #fff; font-size: 14px; }
.hero-metrics span { margin-top: 2px; color: #aabdc4; font-size: 8px; }
.hero-service-strip { position: relative; z-index: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; width: 100%; }
.hero-service-strip button { min-height: 38px; padding: 8px 9px; border: 1px solid rgba(255,255,255,.16); border-radius: 6px; background: rgba(255,255,255,.08); color: #e9fbfb; font-size: 10px; font-weight: 800; text-align: left; box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.hero-service-strip button:hover { background: rgba(0,173,181,.22); }
.section-heading { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.section-heading h2 { margin: 0; font-size: 17px; }
.section-heading button { border: 0; background: transparent; color: var(--teal-dark); font-size: 11px; font-weight: 800; }
.specials-heading { margin-top: 10px; }
.specials-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(218px,68%); gap: 12px; overflow-x: auto; padding: 0 1px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.specials-rail::-webkit-scrollbar { display: none; }
.special-card { position: relative; min-height: 318px; display: flex; flex-direction: column; scroll-snap-align: start; padding: 17px; overflow: hidden; border: 1px solid var(--line); border-top: 5px solid var(--teal-dark); border-radius: 8px; background: #fff; box-shadow: 0 9px 24px rgba(14,31,33,.12); transition: transform .18s ease, box-shadow .18s ease; }
.special-card-top { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 10px; }
.special-identity { min-width: 0; display: flex; align-items: center; gap: 10px; }
.special-icon { width: 42px; height: 42px; flex: 0 0 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; background: var(--teal-soft); color: var(--teal-dark); }
.special-icon svg { width: 22px; height: 22px; }
.special-label { color: var(--teal-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.special-saving { padding: 5px 8px; border-radius: 4px; background: var(--teal-soft); color: var(--teal-dark); font-size: 10px; font-weight: 800; }
.special-card h3 { margin: 18px 0 6px; font-size: 21px; line-height: 1.16; }
.special-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.4; }
.special-card ul { display: grid; grid-template-columns: 1fr; gap: 7px; margin: 16px 0 16px; padding: 0; list-style: none; }
.special-card li { position: relative; padding-left: 16px; color: var(--muted); font-size: 11px; line-height: 1.35; }
.special-card li::before { content: ""; position: absolute; top: 2px; left: 1px; width: 4px; height: 7px; border: solid var(--teal-dark); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.special-card-bottom { display: flex; align-items: end; justify-content: space-between; gap: 10px; margin-top: auto; }
.special-price { display: grid; justify-items: start; gap: 0; }
.special-price strong { font-size: 30px; line-height: 1; }
.special-price small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.special-price del { color: var(--muted); font-size: 11px; }
.special-card-bottom { align-items: center; }
.special-card-bottom button { min-width: 76px; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 13px; border: 0; border-radius: 5px; background: var(--navy); color: #fff; font-size: 11px; font-weight: 800; }
.special-card-bottom button svg { width: 16px; height: 16px; }
.special-digital { border-color: #164658; border-top-color: var(--teal); background: var(--navy); color: #fff; }
.special-digital .special-label { color: #8ce9dd; }
.special-digital .special-icon { background: rgba(0,173,181,.18); color: #8ce9dd; }
.special-digital .special-saving { background: rgba(0,173,181,.18); color: #8ce9dd; }
.special-digital p, .special-digital li, .special-digital .special-price small, .special-digital .special-price del { color: #b8c8cf; }
.special-digital li::before { border-color: #8ce9dd; }
.special-digital .special-card-bottom button { background: #fff; color: var(--navy); }
.special-registration { border-top-color: #007b84; }
.special-design { border-top-color: #38484c; background: #fbfcfc; }
.quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.quick-actions button { min-height: 105px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); text-align: left; font-size: 11px; font-weight: 800; box-shadow: var(--shadow); }
.action-icon { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; background: var(--teal-soft); font-size: 18px; }
.action-icon svg { width: 21px; height: 21px; color: var(--teal-dark); }
.home-list { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.catalog-list { display: grid; gap: 9px; }
.service-row { min-height: 70px; display: grid; grid-template-columns: 44px minmax(0,1fr) auto auto; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.catalog-list .service-row { min-height: 70px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.service-row:last-child { border-bottom: 0; }
.service-symbol { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--teal-soft); color: var(--teal-dark); font-size: 20px; }
.service-symbol svg { width: 23px; height: 23px; }
.service-info { min-width: 0; display: flex; flex-direction: column; }
.service-info strong { font-size: 15px; line-height: 1.25; }
.service-row-action { display: contents; }
.service-price { min-height: 34px; display: inline-flex; align-items: center; justify-content: center; padding: 7px 9px; border: 1px solid #bde8e9; border-radius: 5px; background: var(--teal-soft); color: var(--teal-dark); font-size: 13px; font-weight: 900; white-space: nowrap; text-align: right; }
.add-button { min-width: 82px; min-height: 34px; padding: 7px 9px; border: 1px solid var(--teal); border-radius: 5px; background: var(--teal); color: #fff; font-size: 10px; font-weight: 800; white-space: nowrap; }
.add-button:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.support-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding: 16px; border-radius: 8px; background: var(--teal-dark); color: #fff; }
.support-banner > div { display: flex; flex-direction: column; }
.support-banner strong { font-size: 13px; }
.support-banner span { color: #d3f4f5; font-size: 10px; }
.support-banner a { padding: 8px 10px; border-radius: 5px; background: #fff; color: var(--teal-dark); font-size: 10px; font-weight: 800; }
.home-regulators { margin-top: 12px; padding: 11px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.home-regulators .section-heading { min-height: 26px; margin: 0 0 3px; }
.home-regulators > p { margin: 0 0 11px; color: var(--muted); font-size: 10px; }
.home-trust-title { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-bottom: 8px; }
.home-trust-title strong { font-size: 12px; }
.home-trust-title span { color: var(--muted); font-size: 8px; }
.home-regulator-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; }
.home-regulator-grid img { width: 100%; height: 48px; padding: 6px; border: 1px solid var(--line); border-radius: 5px; object-fit: contain; background: #fff; }
.featured-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.featured-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.featured-visual { height: 88px; display: flex; align-items: center; justify-content: center; background: #edf7f7; color: var(--teal-dark); }
.featured-visual svg { width: 42px; height: 42px; stroke-width: 1.5; }
.featured-copy { padding: 10px; }
.featured-copy strong { display: block; min-height: 34px; font-size: 11px; line-height: 1.3; }
.featured-copy span { display: block; margin: 4px 0 8px; color: var(--teal-dark); font-size: 9px; font-weight: 800; }
.featured-copy button { width: 100%; min-height: 34px; border: 0; border-radius: 5px; background: var(--navy); color: #fff; font-size: 9px; font-weight: 800; }

.view-intro { margin-bottom: 16px; }
.view-intro > span { color: var(--teal-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.view-intro h1 { margin: 3px 0 4px; font-size: 28px; }
.view-intro p { margin: 0; color: var(--muted); font-size: 12px; }
.services-intro { margin-bottom: 10px; }
.service-search { margin-bottom: 12px; }
.project-starter { display: grid; gap: 16px; margin: 0 0 12px; padding: 18px; border: 1px solid #0b5360; border-radius: 8px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.project-starter > div > span { color: #8ce9dd; font-size: 10px; font-weight: 800; text-transform: uppercase; }
.project-starter h2 { margin: 4px 0 5px; font-size: 19px; }
.project-starter p { margin: 0; color: #c9d8dc; font-size: 12px; line-height: 1.55; }
.project-starter .checkout-button { width: 100%; min-height: 46px; }
.shop-banner { position: relative; min-height: 170px; overflow: hidden; margin-bottom: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.shop-banner img { width: 100%; height: 170px; object-fit: cover; object-position: left center; }
.shop-banner-copy { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; padding: 12px 14px; background: rgba(7,29,54,.92); color: #fff; }
.shop-banner-copy strong { font-size: 13px; }
.shop-banner-copy span { margin-top: 2px; color: #d4e3e6; font-size: 9px; line-height: 1.35; }
.store-status { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-bottom: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.store-status span { min-width: 0; padding: 10px 7px; border-right: 1px solid var(--line); color: var(--muted); font-size: 8px; text-align: center; }
.store-status span:last-child { border-right: 0; }
.store-status b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 10px; }
.search-box { height: 52px; display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 9px; margin-bottom: 12px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.search-box svg { color: var(--muted); }
.search-box input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 16px; }
.filter-tabs { display: flex; gap: 0; margin-bottom: 12px; overflow-x: auto; border-bottom: 1px solid var(--line); background: #fff; scrollbar-width: none; }
.filter-tabs::-webkit-scrollbar { display: none; }
.filter-tabs button { flex: 0 0 auto; min-height: 43px; padding: 8px 13px; border: 0; border-bottom: 3px solid transparent; background: #fff; color: var(--muted); font-size: 10px; font-weight: 700; }
.filter-tabs button.active { border-color: var(--teal-dark); background: #fff; color: var(--ink); }
.empty-state { padding: 36px 20px; text-align: center; color: var(--muted); font-size: 12px; }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.product-visual { aspect-ratio: 1.3; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--teal-soft), #fff); color: var(--teal-dark); font-size: 46px; }
.product-photo { background-color: #f7f8f8; background-image: url("assets/gadget-shop-banner.jpg"); background-repeat: no-repeat; background-size: 520% auto; }
.product-visual svg { width: 54px; height: 54px; stroke-width: 1.5; }
.product-copy { padding: 12px; }
.stock-pill { display: inline-block; margin: 0 0 7px; padding: 3px 6px; border-radius: 3px; background: var(--teal-soft); color: var(--teal-dark); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.product-copy h3 { min-height: 34px; margin: 0 0 4px; font-size: 13px; line-height: 1.3; }
.product-copy p { min-height: 30px; margin: 0 0 8px; color: var(--muted); font-size: 9px; line-height: 1.35; }
.quote-price { display: block; margin-bottom: 9px; color: var(--teal-dark); font-size: 11px; font-weight: 800; }
.product-copy button { width: 100%; min-height: 36px; border: 0; border-radius: 5px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 800; }

.cart-items { display: grid; gap: 9px; }
.order-flow, .intake-flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin: 0 0 14px; padding: 0; list-style: none; }
.order-flow li, .intake-flow li { min-width: 0; display: grid; justify-items: center; gap: 4px; color: var(--muted); font-size: 8px; font-weight: 800; text-align: center; }
.order-flow b, .intake-flow b { width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 10px; }
.order-flow li.active, .intake-flow li.active { color: var(--teal-dark); }
.order-flow li.active b, .intake-flow li.active b { border-color: var(--teal-dark); background: var(--teal-dark); color: #fff; }
.order-flow li.complete, .intake-flow li.complete { color: var(--teal-dark); }
.order-flow li.complete b, .intake-flow li.complete b { border-color: var(--teal); background: var(--teal-soft); color: var(--teal-dark); }
.cart-item { display: grid; grid-template-columns: 44px minmax(0,1fr); gap: 11px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.cart-item-main { min-width: 0; }
.cart-item-head { display: flex; align-items: start; justify-content: space-between; gap: 8px; }
.cart-item h3 { margin: 0; font-size: 15px; }
.cart-item-price { margin-top: 4px; color: var(--teal-dark); font-size: 15px; font-weight: 900; }
.remove-item { width: 30px; height: 30px; border: 0; background: transparent; color: var(--danger); font-size: 18px; }
.quantity-control { display: inline-grid; grid-template-columns: 34px 42px 34px; align-items: center; margin-top: 10px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.quantity-control button { height: 32px; border: 0; background: var(--surface); color: var(--ink); font-size: 17px; }
.quantity-control span { text-align: center; font-size: 11px; font-weight: 800; }
.detail-button { min-height: 34px; margin-top: 10px; padding: 7px 10px; border: 1px solid var(--teal); border-radius: 6px; background: var(--teal-soft); color: var(--teal-dark); font-size: 10px; font-weight: 900; }
.cart-summary { margin-top: 12px; padding: 15px; border-radius: 8px; background: var(--navy); color: #fff; }
.cart-summary > div { display: flex; justify-content: space-between; gap: 16px; }
.cart-summary span { font-size: 12px; }
.cart-summary strong { font-size: 17px; }
.cart-summary small { display: block; margin-top: 8px; color: #b8c8cf; font-size: 9px; }
.checkout-form { margin-top: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.checkout-form h2 { margin: 0 0 14px; font-size: 17px; }
.checkout-form label { display: block; margin-bottom: 12px; }
.checkout-form label span { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 700; }
.checkout-form input, .checkout-form textarea, .checkout-form select { width: 100%; min-height: 46px; padding: 10px 11px; border: 1px solid #cbd4d5; border-radius: 6px; background: #fff; color: var(--ink); font-size: 16px; }
.checkout-form textarea { min-height: 86px; resize: vertical; }
.consent-check { display: grid !important; grid-template-columns: 22px minmax(0,1fr); align-items: start; gap: 9px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.consent-check input { width: 18px; min-height: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--teal-dark); }
.consent-check span { margin: 0 !important; color: var(--ink); font-size: 10px !important; line-height: 1.4; }
.checkout-button { width: 100%; min-height: 48px; border: 0; border-radius: 6px; background: var(--teal-dark); color: #fff; font-size: 12px; font-weight: 800; }
.secondary-button { width: 100%; min-height: 44px; margin-top: 8px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 800; }
.checkout-note { margin: 9px 0 0; color: var(--muted); font-size: 9px; line-height: 1.4; }

.profile-auth { display: grid; gap: 12px; }
.auth-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.auth-tabs button { min-height: 44px; border: 0; border-bottom: 3px solid transparent; background: #fff; color: var(--muted); font-size: 11px; font-weight: 800; }
.auth-tabs button.active { border-color: var(--teal-dark); color: var(--ink); }
.auth-form { display: none; margin-top: 0; }
.auth-form.active { display: block; }
.profile-hero { display: grid; grid-template-columns: 68px minmax(0,1fr); align-items: center; gap: 16px; padding: 16px 18px; border: 1px solid var(--line); border-left: 4px solid var(--teal-dark); border-radius: 8px; background: #fff; color: var(--ink); box-shadow: none; }
.profile-avatar { width: 68px; height: 40px; object-fit: contain; }
.profile-hero span { color: var(--teal-dark); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.profile-hero h1 { margin: 3px 0 4px; color: var(--ink); font-size: 22px; line-height: 1.15; }
.profile-hero p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.profile-grid { display: grid; gap: 9px; margin-top: 12px; }
.profile-card { min-height: 82px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.profile-card div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.profile-card strong { font-size: 13px; }
.profile-card small { color: var(--muted); font-size: 10px; line-height: 1.3; }
.profile-card b { color: var(--teal-dark); font-size: 10px; white-space: nowrap; }
.profile-form { margin-top: 12px; }
.document-panel { margin-top: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.document-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.document-head span { color: var(--teal-dark); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.document-head h2 { margin: 2px 0 0; font-size: 17px; }
.upload-button { min-width: 78px; min-height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; background: var(--navy); color: #fff; font-size: 10px; font-weight: 900; }
.upload-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.document-types { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; margin-bottom: 10px; }
.document-types span { padding: 7px 8px; border-radius: 6px; background: var(--teal-soft); color: var(--teal-dark); font-size: 9px; font-weight: 800; }
.document-list { display: grid; gap: 8px; }
.document-item { display: grid; grid-template-columns: 34px minmax(0,1fr) 48px 34px; align-items: center; gap: 9px; padding: 9px; border: 1px solid var(--line); border-radius: 7px; background: #fbfcfc; }
#clientOrders { display: grid; gap: 10px; margin-bottom: 20px; }
#clientOrders .document-item { display: block; padding: 14px; }
#clientOrders strong { font-size: 15px; white-space: normal; overflow-wrap: anywhere; }
#clientOrders small { font-size: 12px; overflow-wrap: anywhere; }
.document-item button[data-open-doc] { width: 48px; font-size: 13px; color: var(--ink); border-radius: 4px; background: #e4f6f7; }
.document-item div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.document-item strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.document-item small { color: var(--muted); font-size: 9px; }
.document-item button { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--danger); font-size: 18px; }
.document-empty { padding: 18px 12px; }

.admin-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; margin-bottom: 12px; }
.admin-stats div { padding: 13px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.admin-stats strong, .admin-stats span { display: block; }
.admin-stats strong { color: var(--teal-dark); font-size: 22px; line-height: 1; }
.admin-stats span { margin-top: 4px; color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.admin-toolbar { display: grid; gap: 9px; margin-bottom: 12px; }
.admin-filters { margin-bottom: 0; border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; }
.compact-button { min-height: 40px; margin: 0; }
.admin-orders { display: grid; gap: 10px; }
.admin-order { padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.admin-order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.admin-order-head span { color: var(--teal-dark); font-size: 9px; font-weight: 900; }
.admin-order-head h2 { margin: 3px 0 2px; font-size: 16px; }
.admin-order-head small { color: var(--muted); font-size: 9px; }
.admin-order-head select { min-height: 36px; max-width: 132px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 10px; font-weight: 800; }
.admin-order-meta { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; margin: 12px 0; }
.admin-order-meta span { min-width: 0; padding: 8px; border-radius: 6px; background: var(--surface); color: var(--muted); font-size: 9px; overflow-wrap: anywhere; }
.admin-order-meta b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 8px; text-transform: uppercase; }
.admin-order ul { margin: 0; padding-left: 18px; color: var(--ink); font-size: 11px; line-height: 1.5; }
.admin-order p { margin: 10px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.admin-order a { display: inline-flex; margin-top: 12px; color: var(--teal-dark); font-size: 10px; font-weight: 900; }
.admin-documents { display: grid; gap: 5px; margin-top: 12px; padding: 10px; border-radius: 7px; background: var(--surface); }
.admin-documents b { color: var(--ink); font-size: 9px; text-transform: uppercase; }
.admin-documents span { color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }
.admin-intake { display: grid; gap: 5px; margin-top: 12px; padding: 10px; border-left: 3px solid var(--teal-dark); border-radius: 7px; background: #f8fbfb; }
.admin-intake b { color: var(--ink); font-size: 9px; text-transform: uppercase; }
.admin-intake span { color: var(--muted); font-size: 10px; overflow-wrap: anywhere; }

.intake-modal { position: fixed; inset: 0; z-index: 140; display: flex; align-items: flex-end; justify-content: center; padding: 16px; background: rgba(4,19,31,.62); }
.intake-modal[hidden] { display: none; }
.intake-card { width: min(100%, 560px); max-height: min(86dvh, 720px); overflow-y: auto; padding: 16px; border-radius: 10px 10px 8px 8px; background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.26); }
.intake-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.intake-head span { color: var(--teal-dark); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.intake-head h2 { margin: 2px 0 0; font-size: 18px; }
.intake-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 16px; }
.intake-fields label { display: block; margin-bottom: 11px; }
.intake-fields label span { display: block; margin-bottom: 5px; font-size: 10px; font-weight: 800; }
.intake-fields input, .intake-fields textarea, .intake-fields select { width: 100%; min-height: 44px; padding: 10px 11px; border: 1px solid #cbd4d5; border-radius: 6px; background: #fff; color: var(--ink); font-size: 16px; }
.intake-fields textarea { min-height: 82px; resize: vertical; }
.choice-field { margin: 0 0 12px; padding: 0; border: 0; }
.choice-field legend { margin-bottom: 7px; font-size: 10px; font-weight: 800; }
.choice-field > div { display: grid; gap: 7px; }
.choice-field label { display: flex !important; align-items: center; gap: 9px; min-height: 44px; margin: 0 !important; padding: 9px 11px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 12px; font-weight: 700; }
.choice-field input { width: 18px !important; min-height: 18px !important; height: 18px; margin: 0; padding: 0 !important; accent-color: var(--teal-dark); }
.choice-field label:has(input:checked) { border-color: var(--teal-dark); background: var(--teal-soft); color: var(--teal-dark); }
.requirements-panel { padding-top: 2px; }
.requirements-panel > span { color: var(--teal-dark); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.requirements-panel h3 { margin: 4px 0 7px; font-size: 17px; line-height: 1.3; }
.requirements-panel > p { margin: 0 0 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.requirements-panel ul { display: grid; gap: 8px; padding: 0; margin: 0 0 14px; list-style: none; }
.requirements-panel li { display: flex; gap: 8px; color: var(--ink); font-size: 12px; line-height: 1.35; }
.requirements-panel li::before { content: '✓'; color: var(--teal-dark); font-weight: 900; }
.requirements-upload { display: inline-flex !important; align-items: center; min-height: 42px; margin: 0 0 8px !important; padding: 9px 11px; border: 1px solid var(--teal); border-radius: 6px; background: var(--teal-soft); color: var(--teal-dark); font-size: 11px; font-weight: 900; cursor: pointer; }
.requirements-upload input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.requirements-files { display: grid; gap: 5px; margin: 0 0 11px; }
.requirements-files span { padding: 8px 10px; border-radius: 5px; background: var(--surface); color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.requirements-note { padding: 10px; border-left: 3px solid var(--teal); background: #f5fafb; font-size: 10px !important; }
.intake-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.intake-actions .secondary-button { margin-top: 0; }
.project-brief-card { padding: 20px; }
.project-intro { margin: 0 0 15px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.project-input-label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 800; }
.project-brief-card textarea { width: 100%; min-height: 150px; padding: 12px; border: 1px solid #cbd4d5; border-radius: 6px; color: var(--ink); font: inherit; font-size: 16px; line-height: 1.5; resize: vertical; }
.voice-tools { display: flex; align-items: center; gap: 10px; margin: 12px 0 8px; }
.voice-button { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; }
.voice-button svg { width: 18px; height: 18px; }
.voice-button.recording { border-color: var(--danger); background: #fff3f1; color: var(--danger); }
.voice-tools > span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.voice-note-tools { display: flex; align-items: center; gap: 10px; margin: 8px 0 12px; }
.voice-note-tools > span { color: var(--muted); font-size: 11px; line-height: 1.35; }
.voice-note-preview { display: grid; gap: 9px; margin: 0 0 12px; padding: 12px; border: 1px solid #bfe8ea; border-radius: 7px; background: #f0fbfb; }
.voice-note-preview strong { font-size: 12px; }
.voice-note-preview audio { width: 100%; height: 36px; }
.voice-note-preview > div { display: flex; gap: 8px; flex-wrap: wrap; }
.voice-note-preview a { display: inline-flex; min-height: 38px; align-items: center; padding: 8px 10px; border-radius: 5px; background: var(--teal-dark); color: #fff; font-size: 11px; font-weight: 800; text-decoration: none; }
.voice-note-preview .secondary-button { margin: 0; background: #fff; color: var(--teal-dark); }
.voice-note-preview small { color: var(--muted); font-size: 10px; line-height: 1.4; }
.voice-fallback { margin: 0 0 12px; padding: 12px; border: 1px solid #d3e7e8; border-radius: 7px; background: #f7fcfc; color: var(--muted); font-size: 11px; line-height: 1.45; }
.voice-fallback strong { display: block; color: var(--ink); font-size: 12px; }
.voice-fallback p { margin: 5px 0 10px; }
.voice-fallback a { display: inline-flex; min-height: 38px; align-items: center; padding: 8px 10px; border-radius: 5px; background: var(--teal-dark); color: #fff; font-size: 11px; font-weight: 800; text-decoration: none; }
.project-actions { margin: 12px 0; }
.project-actions .secondary-button { width: 100%; margin: 0; }
.brief-analysis { margin: 16px 0; padding: 14px; border: 1px solid #bfe8ea; border-radius: 7px; background: #f0fbfb; }
.brief-analysis > span { color: var(--teal-dark); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.brief-analysis h3 { margin: 3px 0 7px; font-size: 16px; }
.brief-analysis ul { display: grid; gap: 6px; padding: 0; margin: 0; list-style: none; }
.brief-analysis li { display: flex; align-items: flex-start; gap: 7px; color: var(--ink); font-size: 12px; line-height: 1.35; }
.brief-analysis li::before { content: '✓'; color: var(--teal-dark); font-weight: 900; }
.brief-analysis p { margin: 11px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }

.info-list { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.info-list > * { min-height: 74px; display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.info-list button { width: 100%; border: 0; background: #fff; color: var(--ink); text-align: left; }
.info-list > *:last-child { border-bottom: 0; }
.info-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; background: var(--teal-soft); color: var(--teal-dark); }
.info-icon svg { width: 21px; height: 21px; }
.info-list > * > span:nth-child(2) { display: flex; flex-direction: column; }
.info-list strong { font-size: 13px; }
.info-list small { margin-top: 2px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.info-list b { width: 28px; height: 28px; display: grid; place-items: center; color: var(--teal-dark); }
.info-list b svg { width: 18px; height: 18px; }
.regulator-panel { margin-top: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.regulator-panel h2 { margin: 0 0 4px; font-size: 17px; }
.regulator-panel p { margin: 0 0 12px; color: var(--muted); font-size: 11px; }
.regulator-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.regulator-grid img { width: 100%; height: 50px; padding: 8px; border: 1px solid var(--line); border-radius: 5px; object-fit: contain; }
.regulator-panel > small { display: block; margin-top: 10px; color: var(--muted); font-size: 8px; line-height: 1.4; }
.legal-stack { display: grid; gap: 10px; }
.legal-card { padding: 15px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.legal-card h2 { margin: 0 0 7px; font-size: 16px; }
.legal-card p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.legal-card p + p { margin-top: 8px; }

.toast { position: fixed; left: 50%; bottom: 86px; z-index: 120; max-width: calc(100% - 32px); padding: 10px 14px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; opacity: 0; visibility: hidden; transform: translate(-50%, 12px); transition: .2s ease; }
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

@media (min-width: 760px) {
  .app-frame { max-width: 1240px; margin: 0 auto; box-shadow: 0 0 50px rgba(0,0,0,.12); }
  .app-header { padding-inline: 24px; }
  .app-view { padding: 24px 28px 34px; }
  .home-hero { grid-template-columns: 190px minmax(0,1fr); padding: 30px; }
  .hero-brand-mark { width: 190px; height: 90px; padding: 0; }
  .hero-copy { width: 100%; padding-top: 0; }
  .hero-copy h1 { max-width: 20ch; font-size: 34px; }
  .hero-metrics { margin-top: 18px; }
  .hero-service-strip { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .hero-service-strip button { min-height: 44px; font-size: 11px; text-align: center; }
  .quick-actions { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .quick-actions button { min-height: 120px; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .featured-products { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .profile-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .document-types { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .admin-toolbar { grid-template-columns: minmax(0,1fr) 150px; align-items: center; }
  .home-regulator-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .home-regulator-grid img { height: 52px; }
  .home-trust-title { flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .regulator-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .shop-banner, .shop-banner img { min-height: 220px; height: 220px; }
  .specials-rail { grid-auto-flow: initial; grid-template-columns: repeat(3,minmax(190px,240px)); justify-content: start; overflow: visible; }
  .special-card { min-height: 326px; }
}

@media (min-width: 1024px) {
  .app-frame { display: grid; grid-template-columns: 220px 1fr; grid-template-rows: 70px 1fr; }
  .app-header { position: static; grid-column: 2; grid-row: 1; height: 70px; background: #fff; color: var(--ink); border-bottom: 1px solid var(--line); box-shadow: none; }
  .app-header { grid-template-columns: 44px minmax(0,1fr) 44px; }
  .menu-button { display: inline-flex; }
  .header-title { grid-column: 2; align-items: center; justify-content: flex-start; }
  .header-logo img { filter: none; }
  .header-cart { grid-column: 3; }
  .header-brand { color: var(--teal-dark); }
  .app-content { position: static; grid-column: 2; grid-row: 2; min-height: 0; }
  .app-view { padding: 28px 34px 38px; }
  .desktop-brand { grid-column: 1; grid-row: 1; z-index: 2; display: flex; align-items: center; gap: 9px; padding: 12px 20px; border-right: 1px solid var(--line); background: #fff; }
  .desktop-brand img { width: 58px; height: 40px; object-fit: contain; }
  .desktop-brand span { color: var(--ink); font-size: 12px; font-weight: 800; }
  .bottom-nav { position: static; grid-column: 1; grid-row: 2; height: auto; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; padding: 18px 14px; border: 0; border-right: 1px solid var(--line); box-shadow: none; }
  .bottom-nav button { width: 100%; min-height: 52px; flex: 0 0 auto; flex-direction: row; justify-content: flex-start; gap: 12px; padding: 0 14px; border-radius: 7px; font-size: 12px; }
  .bottom-nav button.active { background: var(--teal-soft); }
  .nav-main { padding: 0 14px !important; }
  .nav-main-icon { position: static; width: auto; height: auto; border: 0; background: transparent; box-shadow: none; }
  .bottom-nav .cart-badge { top: 10px; right: 10px; }
  .home-hero { grid-template-columns: 230px minmax(0,1fr); padding: 34px; }
  .hero-brand-mark { width: 230px; height: 108px; }
  .hero-copy { width: 100%; padding-top: 0; }
  .hero-copy h1 { font-size: 38px; }
  .hero-metrics { margin-top: 20px; }
  .product-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .catalog-list { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; background: transparent; }
  .catalog-list .service-row { border: 1px solid var(--line); background: #fff; }
  .checkout-form { max-width: 680px; }
  .project-starter { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .project-starter .checkout-button { width: auto; min-width: 190px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

.payment-steps { border-top: 1px solid var(--line); padding-top: 18px; }
.payment-steps h3 { font-size: 16px; margin: 0 0 12px; }
.payment-steps ol { padding-left: 22px; margin: 0; color: var(--muted); line-height: 1.7; font-size: 14px; }
.payment-option { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 18px; padding: 12px; border: 1px solid #bde8e9; border-radius: 6px; background: var(--teal-soft); }
.payment-option-icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 5px; background: var(--teal); color: #fff; }
.payment-option-icon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.payment-option strong { display: block; font-size: 14px; }
.payment-option p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.35; }
.payment-option-status { padding: 5px 8px; border-radius: 999px; background: #fff; color: var(--teal-dark); font-size: 10px; font-weight: 900; white-space: nowrap; }
.payment-option.is-ready { border-color: var(--teal); background: #e7fbfa; }
.payment-option.is-pending { border-color: var(--line); background: #f7f9fa; }
.payment-option.is-pending .payment-option-icon { background: var(--ink); }
.request-review, .guest-access { max-width: 680px; padding: 24px 0; line-height: 1.6; }
.request-review { border-top: 2px solid var(--teal); margin-top: 24px; scroll-margin-top: 20px; }
.request-review h2, .guest-access h1 { font-size: 24px; margin: 12px 0; }
.request-review p, .guest-access p { font-size: 15px; overflow-wrap: anywhere; }
.request-status { color: var(--teal-dark); font-size: 13px; font-weight: 800; }
.request-review textarea { display: block; width: 100%; resize: vertical; min-height: 180px; padding: 14px; margin: 8px 0 18px; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 14px; line-height: 1.6; }
.request-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.request-actions > * { min-height: 48px; flex: 1 1 150px; text-align: center; text-decoration: none; }
.request-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.copy-text-button { padding: 0; border: 0; background: transparent; color: var(--teal-dark); font-size: 12px; font-weight: 900; }
.brief-analysis li button { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid var(--teal); border-radius: 6px; background: #fff; color: var(--teal-dark); font: inherit; font-size: 12px; font-weight: 800; text-align: left; }
.guest-access > a { display: block; margin-top: 20px; }
.request-review a, .checkout-form > a { overflow-wrap: anywhere; }
button:disabled { opacity: .6; cursor: wait; }
[hidden] { display: none !important; }
