/* Owner-supplied mobile design, implemented with fluid layout and shared tokens. */
:root{color-scheme:light;--bg:#f2f6fa;--surface:#fff;--text:#0f1b2d;--muted:#526479;--line:#dbe4ef;--brand:#0b5fd8;--brand-dark:#084cba;--soft:#e6effc;--green:#09623e;--green-bg:#e3f5ec;--orange:#993209;--orange-bg:#fff0e7;--red:#ae2838;--shadow:0 6px 24px #0f1b2d08;--radius:20px;--safe-top:0px;--safe-bottom:0px;--safe-left:0px;--safe-right:0px;font:500 16px/1.5 Manrope,system-ui,-apple-system,"Segoe UI",sans-serif}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--brand)}svg{width:24px;height:24px;flex:none;vertical-align:middle}h1,h2,h3,p{margin:0}h1{font-size:clamp(26px,4vw,34px);line-height:1.2;letter-spacing:-.8px}h2{font-size:20px;line-height:1.3;letter-spacing:-.3px}h3{font-size:17px;line-height:1.4}small,.small{font-size:13px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--brand);outline-offset:3px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:fixed;top:-100px;left:16px;z-index:20;padding:12px;background:var(--surface)}.skip-link:focus{top:12px}
.app-shell{max-width:1160px;margin:auto;padding-left:max(env(safe-area-inset-left),var(--safe-left));padding-right:max(env(safe-area-inset-right),var(--safe-right))}.app-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:calc(14px + max(env(safe-area-inset-top),var(--safe-top))) 20px 14px;background:var(--surface);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:800;font-size:22px;color:var(--text);letter-spacing:-.6px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;background:var(--brand);color:white;border-radius:14px;box-shadow:0 4px 12px #0b5fd829}.brand small{display:block;font-size:11px;font-weight:600;letter-spacing:.2px;color:var(--muted)}.header-actions{display:flex;align-items:center;gap:8px}.language-select{border:1px solid var(--line);border-radius:14px;min-height:44px;padding:0 8px;color:var(--brand);background:var(--surface);font-size:13px;font-weight:800}.icon-button{display:inline-grid;place-items:center;position:relative;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--text);font-size:24px}.notification-dot{position:absolute;right:9px;top:9px;width:8px;height:8px;border-radius:50%;background:var(--red);border:2px solid var(--surface)}
#screen{padding:24px 20px calc(108px + max(env(safe-area-inset-bottom),var(--safe-bottom)));min-height:70vh;outline:0}.stack{display:flex;flex-direction:column;gap:16px}.stack.tight{gap:10px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px}.row{display:flex;align-items:center;gap:12px;min-width:0}.row.between{justify-content:space-between}.grow{flex:1;min-width:0}.wrap{flex-wrap:wrap}.muted{color:var(--muted)}.eyebrow{font-size:12px;letter-spacing:1px;text-transform:uppercase;font-weight:800;color:var(--brand)}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow);min-width:0;overflow-wrap:anywhere}.card.interactive{display:block;width:100%;text-align:left;color:var(--text)}.card.interactive:hover{border-color:var(--brand)}.card-link{text-decoration:none}.icon-tile{width:48px;height:48px;display:grid;place-items:center;border-radius:16px;background:var(--soft);color:var(--brand);flex:none}.icon-tile.orange{background:var(--orange-bg);color:var(--orange)}.icon-tile.green{background:var(--green-bg);color:var(--green)}.icon-tile.large{width:68px;height:68px;border-radius:22px}.icon-tile.large svg{width:36px;height:36px}.avatar{display:grid;place-items:center;width:52px;height:52px;border-radius:18px;background:var(--soft);color:var(--brand);font-size:22px;font-weight:800;object-fit:cover}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 20px;border-radius:14px;border:1px solid transparent;background:var(--brand);color:#fff;font-weight:800;font-size:15px;text-decoration:none;text-align:center}.button:hover{background:var(--brand-dark)}.button.secondary{background:var(--soft);color:var(--brand)}.button.outline{background:var(--surface);color:var(--brand);border-color:var(--brand)}.button.danger{color:var(--red);background:#ffedf0}.button.white{background:#fff;color:#084cba}.button.full{width:100%}.text-button{border:0;background:none;color:var(--brand);padding:10px 4px;min-height:44px;font-size:14px;font-weight:750;text-decoration:none;display:inline-flex;align-items:center;gap:4px}.actions{display:flex;gap:10px;flex-wrap:wrap}.actions>.button{flex:1}.back{margin-bottom:12px}.badge{display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:50px;font-size:12px;font-weight:800;background:var(--soft);color:var(--brand);max-width:100%;overflow-wrap:anywhere}.badge.green{background:var(--green-bg);color:var(--green)}.badge.orange{background:var(--orange-bg);color:var(--orange)}.badge.neutral{background:var(--bg);color:var(--muted)}.notice{padding:14px 16px;border-radius:14px;background:var(--soft);color:var(--brand);font-size:14px;overflow-wrap:anywhere}.notice.warning{background:var(--orange-bg);color:var(--orange)}.notice.success{background:var(--green-bg);color:var(--green)}.notice.error{background:#ffedf0;color:var(--red)}.form-error{white-space:pre-line}.preview-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px 14px;background:#fff5d8;color:#644500;padding:6px 16px;font-size:12px}.preview-bar select{min-height:40px;border:1px solid #d8c37e;border-radius:10px;padding:4px;background:#fff}.preview-bar .text-button{font-size:12px;color:#644500}.offline-banner{margin:12px 20px 0}
.hero{position:relative;isolation:isolate;background:linear-gradient(120deg,#0b5fd8,#294ad1);color:white;border-radius:24px;padding:24px;overflow:hidden}.hero::after{content:"";position:absolute;width:220px;height:220px;border:38px solid #ffffff0d;border-radius:50%;right:-90px;top:-80px;z-index:-1}.hero h1{max-width:540px}.hero p{color:#edf3ff;max-width:540px}.hero-art{width:104px;height:104px;display:grid;place-items:center;border-radius:30px;background:#ffffff1a;flex:none}.hero-art svg{width:72px;height:72px}.hero .eyebrow{color:#deebff}.hero .row{align-items:flex-start}.hero .button.outline{color:white;background:transparent;border-color:#ffffff99}.trust-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;text-align:center;font-size:12px;font-weight:700}.trust-strip svg{color:var(--brand);margin-bottom:8px}.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category{display:flex;flex-direction:column;justify-content:space-between;gap:20px;min-height:136px;text-align:left;border:1px solid var(--line);border-radius:20px;background:linear-gradient(125deg,var(--surface),var(--soft));color:var(--text);padding:18px;font-weight:800;text-decoration:none}.category .icon-tile{align-self:flex-end;background:var(--surface);box-shadow:var(--shadow)}.category:nth-child(3n+2){background:linear-gradient(125deg,var(--surface),#fff0e7)}.category:nth-child(3n){background:linear-gradient(125deg,var(--surface),#e3f5ec)}.search-field{display:flex;align-items:center;gap:10px;padding:0 16px;background:var(--surface);border:1px solid var(--line);border-radius:16px;color:var(--muted)}.search-field input{border:0;background:none;min-height:50px;min-width:0;width:100%;color:var(--text)}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.stat{border-radius:16px;background:#ffffff1a;padding:12px;font-size:12px}.stat strong{display:block;font-size:24px;font-weight:800}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.quick-grid a{display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;color:var(--text);text-decoration:none;font-size:12px;font-weight:700;padding:8px 0}.split{display:grid;gap:20px}.price{font-size:20px;font-weight:800;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.divider{border:0;border-top:1px solid var(--line);margin:4px 0}.key-value{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;font-size:14px}.key-value>span:last-child{text-align:right;font-weight:700}.key-value.total{font-size:18px;font-weight:800;border-top:1px solid var(--line);padding-top:12px}.chips{display:flex;gap:8px;overflow:auto;padding:4px 2px 8px;scrollbar-width:thin}.chip{flex:none;border:1px solid var(--line);border-radius:30px;min-height:44px;padding:8px 16px;color:var(--muted);background:var(--surface);font-size:14px;font-weight:700;text-decoration:none}.chip.active{background:var(--brand);color:#fff;border-color:var(--brand)}.order-card .row{align-items:flex-start}.order-card .status-row{margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}.empty-state,.loading-state{text-align:center;display:flex;flex-direction:column;align-items:center;gap:16px;padding:40px 16px}.empty-state p{max-width:360px;color:var(--muted)}.spinner{display:inline-block;width:28px;height:28px;border:3px solid var(--line);border-top-color:var(--brand);border-radius:50%;animation:spin .8s linear infinite}.skeleton{height:120px;background:var(--line);border-radius:20px;width:100%;max-width:640px;animation:pulse 1.4s ease-in-out infinite}.skeleton.short{height:64px}.timeline{padding:0;list-style:none;margin:0;display:grid;gap:0}.timeline li{display:flex;gap:12px;padding:0 0 20px;position:relative}.timeline li:not(:last-child)::before{content:"";position:absolute;left:14px;top:30px;bottom:0;width:2px;background:var(--line)}.timeline .step{position:relative;display:grid;place-items:center;flex:none;width:30px;height:30px;background:var(--bg);border:1px solid var(--line);border-radius:50%;font-size:12px;font-weight:800;color:var(--muted)}.timeline .done .step{background:var(--green);color:white;border-color:var(--green)}.timeline .current .step{background:var(--brand);color:white;border-color:var(--brand)}.timeline p{font-size:14px}.timeline small{color:var(--muted)}
.form-field{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:700}.form-field input,.form-field select,.form-field textarea{border:1px solid var(--line);border-radius:12px;padding:12px;color:var(--text);background:var(--surface);min-height:48px;width:100%;min-width:0;font-weight:500;font-size:16px}.form-field textarea{min-height:112px;resize:vertical}.form-field small{font-weight:500;color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.checkbox{display:flex;gap:12px;align-items:flex-start;font-size:14px;font-weight:500;cursor:pointer;padding:8px 0}.checkbox input{width:22px;height:22px;flex:none;accent-color:var(--brand);margin:0}.checkbox span{flex:1}.field-error{color:var(--red);font-size:13px}.form-footer{padding-top:8px;display:flex;flex-direction:column;gap:12px}.line-editor{border:1px solid var(--line);border-radius:16px;padding:14px;display:flex;flex-direction:column;gap:12px;background:var(--bg)}fieldset{padding:0;margin:0;border:0;min-width:0}legend{margin-bottom:10px;font-weight:800}.stepper{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:4px;font-size:12px;color:var(--muted)}.stepper span{width:28px;height:28px;display:grid;place-items:center;background:var(--line);border-radius:50%;font-weight:800}.stepper span.active{background:var(--brand);color:white}.file-field{border:1px dashed var(--line);border-radius:14px;padding:16px}.file-field input{max-width:100%;font-size:14px}.sticky-summary{position:sticky;bottom:calc(84px + max(env(safe-area-inset-bottom),var(--safe-bottom)));z-index:2;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:14px;box-shadow:0 6px 32px #0f1b2d1a}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,1160px);z-index:5;background:var(--surface);border-top:1px solid var(--line);display:flex;padding:6px max(6px,env(safe-area-inset-right)) calc(6px + max(env(safe-area-inset-bottom),var(--safe-bottom))) max(6px,env(safe-area-inset-left));box-shadow:0 -4px 20px #0f1b2d05}.bottom-nav a{flex:1;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-width:0;min-height:56px;color:var(--muted);font-size:11px;font-weight:750;text-decoration:none;border-radius:14px}.bottom-nav a.active{color:var(--brand);background:var(--soft)}.bottom-nav .nav-create svg{background:var(--brand);color:white;border-radius:12px;box-sizing:content-box;padding:7px;width:23px;height:23px;margin-top:-15px;border:5px solid var(--surface)}.toast{position:fixed;z-index:30;bottom:calc(100px + max(env(safe-area-inset-bottom),var(--safe-bottom)));left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;padding:14px 20px;background:var(--text);color:var(--surface);border-radius:16px;box-shadow:0 8px 40px #0002;white-space:pre-line;font-size:14px}dialog{border:1px solid var(--line);border-radius:24px;background:var(--surface);color:var(--text);padding:24px;width:min(560px,calc(100% - 24px));max-height:85dvh;overflow:auto}dialog::backdrop{background:#07152c88;backdrop-filter:blur(4px)}.dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.onboarding{max-width:600px;margin:20px auto;text-align:center}.onboarding-art{display:grid;place-items:center;min-height:220px;border-radius:28px;background:linear-gradient(140deg,var(--soft),#d9e9fb);position:relative}.onboarding-art svg{width:140px;height:140px;color:var(--brand)}.dots{display:flex;justify-content:center;gap:6px}.dots span{width:7px;height:7px;border-radius:50%;background:var(--line)}.dots span.active{width:24px;border-radius:10px;background:var(--brand)}.language-options button{display:flex;align-items:center;gap:14px;width:100%;text-align:left;padding:18px;min-height:64px;background:var(--surface);border:1px solid var(--line);border-radius:16px;color:var(--text);font-weight:700}.language-options button.selected{border-color:var(--brand);background:var(--soft)}.legal-text{white-space:pre-wrap;font-size:14px;line-height:1.7;overflow-wrap:anywhere}.schedule-date{width:52px;flex:none;text-align:center;border-radius:14px;padding:8px;background:var(--soft);color:var(--brand);font-weight:800}.notification.unread{border-left:4px solid var(--brand)}.photo{width:60px;height:60px;border-radius:18px;object-fit:cover}.partner-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:12px}.rating-input{display:flex;gap:6px}.rating-input label{display:grid;place-items:center;position:relative;min-width:44px;min-height:44px;cursor:pointer}.rating-input input{position:absolute;opacity:0}.rating-input span{border:1px solid var(--line);border-radius:12px;padding:8px 13px}.rating-input input:checked+span{background:var(--brand);border-color:var(--brand);color:#fff}.rating-input input:focus-visible+span{outline:3px solid var(--brand);outline-offset:3px}
@media(min-width:650px){#screen{padding:32px 28px 120px}.app-header{padding-left:28px;padding-right:28px}.category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.split{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start}.hero{padding:32px}.hero-art{width:140px;height:140px}.hero-art svg{width:100px;height:100px}.trust-strip{font-size:14px}.bottom-nav a{flex-direction:row;gap:10px;font-size:14px}.bottom-nav .nav-create svg{margin:0;padding:3px;border:0}.onboarding{margin-top:40px}.sticky-summary{bottom:100px}.form-layout{max-width:740px;margin:auto}}
@media(max-width:360px){#screen{padding-left:12px;padding-right:12px}.app-header{padding-left:12px;padding-right:12px}.hero{padding:18px}.hero-art{width:64px;height:64px}.hero-art svg{width:48px;height:48px}.hero h1{font-size:24px}.trust-strip{grid-template-columns:repeat(2,1fr);gap:16px}.form-grid{grid-template-columns:1fr}.button{padding:12px 14px}.quick-grid{grid-template-columns:repeat(2,1fr)}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important}}
@media print{.app-header,.bottom-nav,.preview-bar,.toast,.actions,.back{display:none!important}#screen{padding:0}.card,.hero{break-inside:avoid;box-shadow:none}}
@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.45}}
/* Explicit dark surfaces preserve contrast instead of inheriting pale gradients. */
.button{color:var(--button-text,#fff)}
:root[data-theme="dark"] .category{background:var(--surface)}
:root[data-theme="dark"] .onboarding-art{background:var(--soft)}
:root[data-theme="dark"] .notice.error{background:#491e2a;color:#ffc4ce}
:root[data-theme="dark"] .button.danger{background:#491e2a;color:#ffc4ce}

