@font-face{font-family:Vazirmatn;src:url('/app/assets/Vazirmatn.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:swap}
:root{color-scheme:light;--brand:#4f46e5;--brand-dark:#3730a3;--ink:#172033;--muted:#5d6677;--line:#dce1eb;--surface:#fff;--background:#f5f6fa;--focus:#4338ca;--radius:14px;font-family:Vazirmatn,Tahoma,sans-serif;color:var(--ink);background:var(--background)}
*{box-sizing:border-box}body{margin:0;min-width:280px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.58}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--focus);outline-offset:4px}[hidden]{display:none!important}
.shell{display:grid;grid-template-columns:1fr 1fr;max-width:1060px;min-height:660px;margin:clamp(24px,6vh,84px) auto;background:var(--surface);border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:0 16px 48px #17203308}.intro{padding:48px;background:#eeeffb;display:flex;flex-direction:column;justify-content:space-between}.brand{display:inline-flex;align-items:center;gap:12px;color:var(--brand-dark);font-size:26px;font-weight:800;text-decoration:none;align-self:flex-start}.brand-mark{width:42px;height:42px;display:grid;place-items:center;background:var(--brand);border-radius:12px;color:#fff}.eyebrow{font-size:13px;font-weight:600;color:var(--brand-dark)}h1{font-size:clamp(32px,4vw,46px);line-height:1.6;letter-spacing:-1px;margin:16px 0}.intro p{line-height:2;color:var(--muted);font-size:15px;max-width:340px}.intro-foot{font-size:12px!important;margin:36px 0 0}.panel{padding:42px 48px 24px;display:flex;flex-direction:column}.panel-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:36px}.status-dot{width:8px;height:8px;border-radius:50%;background:var(--brand)}h2{font-size:23px;line-height:1.8;margin:0 0 8px;letter-spacing:-.4px}.muted{color:var(--muted);font-size:14px;line-height:1.9;margin:0 0 20px}form{display:flex;flex-direction:column;gap:9px}label{font-size:14px;font-weight:600;margin-top:12px}input,select,textarea{width:100%;border:1px solid #7c899e;border-radius:10px;background:#fff;color:var(--ink);padding:12px 14px;min-height:48px;font-size:16px;transition:border-color .15s}textarea{resize:vertical}input::placeholder{color:#687387;font-size:15px}small,.fine-print{font-size:12px;color:var(--muted);line-height:1.9}.fine-print{margin-top:20px}.primary,.secondary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:50px;padding:13px 18px;border:1px solid transparent;border-radius:10px;font-weight:600;margin-top:20px;text-decoration:none}.primary{color:#fff;background:var(--brand)}.primary:hover:not(:disabled){background:var(--brand-dark)}.secondary{background:#fff;color:var(--brand-dark);border-color:var(--line);width:100%;justify-content:center}.text-button{background:transparent;border:0;color:var(--brand-dark);font-size:13px;min-height:44px;padding:8px 0;text-align:start}.text-button:hover{text-decoration:underline}.captcha-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:9px}.captcha-head label{margin:0}.captcha-question{margin:0;padding:12px 16px;background:#f2f3f9;border-radius:10px;font-size:17px;text-align:center;line-height:1.7}.code-input{font-size:24px;letter-spacing:8px;text-align:center;margin-top:8px}.message,.notice{padding:12px 14px;border-radius:10px;line-height:1.9;font-size:13px;margin-bottom:20px}.message{background:#fff3f1;color:#9d2525;border:1px solid #f0c9c5}.notice{background:#fff8e8;color:#75510b;border:1px solid #eed89f}.panel-foot{margin-top:auto;padding-top:32px;color:var(--muted);font-size:11px;text-align:center}.optional{font-size:12px;color:var(--muted);font-weight:400}.success-mark{display:grid;place-items:center;width:44px;height:44px;margin-bottom:20px;border-radius:50%;background:#e6f5ec;color:#19683e;font-size:24px}.membership{padding:16px;border:1px solid var(--line);border-radius:12px;margin-top:12px;overflow-wrap:anywhere}.membership h3{font-size:16px;margin:0}.membership p{color:var(--muted);font-size:12px;line-height:1.8;margin:6px 0 0}.membership button{margin-top:12px}.loader{display:block;width:24px;height:24px;border:3px solid var(--line);border-top-color:var(--brand);border-radius:50%;animation:spin 1s linear infinite;margin:24px auto}.logout{margin-top:20px}@keyframes spin{to{transform:rotate(360deg)}}
.remember-me-row{display:flex;align-items:center;gap:12px;min-height:44px;margin-top:8px;cursor:pointer}.remember-me-row input{width:24px;height:24px;min-height:24px;margin:0;accent-color:var(--brand)}.remember-me-row input:focus-visible{outline:3px solid var(--focus);outline-offset:3px}.remember-me-row span{font-size:14px;font-weight:600}.remember-me-help{display:block;margin-top:-5px}
@media(max-width:1100px){.shell{margin:32px 24px;min-height:620px}.intro{padding:36px}.panel{padding:36px 32px 24px}}
@media(max-width:279px){body{min-width:0}.shell{margin-inline:0;border-radius:0}.panel{padding-inline:16px}.intro{padding-inline:16px}}

:root {
  --brand:#5b33d6;
  --brand-dark:#4322a5;
  --ink:#17132a;
  --muted:#625d74;
  --line:#e7e3f0;
  --surface:#fff;
  --background:#f8f6fc;
  --focus:#5b33d6;
  --radius:16px;
}
.intro { background:#ede7fd; }
.brand-mark { border-radius:14px; }
input,select,textarea { border-radius:12px; }
.primary,.secondary { min-height:52px; border-radius:14px; }
.text-button { min-height:48px; }
.captcha-question { background:#efecf6; }
@media(max-width:700px){.shell{display:block;margin:0;min-height:100dvh;border:0;border-radius:0;box-shadow:none}.intro{padding:calc(22px + env(safe-area-inset-top)) 24px 20px;background:#fff;border-bottom:1px solid var(--line)}.intro-copy,.intro-foot{display:none}.brand{font-size:22px}.brand-mark{width:36px;height:36px;font-size:22px}.panel{padding:28px max(24px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));min-height:calc(100dvh - 100px)}.panel-top{margin-bottom:26px}h2{font-size:22px}.panel-foot{padding-top:34px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.session-toolbar,.session-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between}.session-list{list-style:none;margin:16px 0;padding:0;display:grid;gap:14px}.session-item{padding:16px;border:1px solid var(--line);border-radius:12px;min-width:0;overflow-wrap:anywhere}.session-item h3{font-size:15px;line-height:1.9;margin:0 0 6px}.current-session{display:inline-block;border-radius:6px;background:#eeeffb;color:var(--brand-dark);padding:3px 8px;font-size:12px}.session-item dl{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:8px 12px;margin:16px 0;font-size:12px;line-height:1.9}.session-item dt{color:var(--muted)}.session-item dd{margin:0;overflow-wrap:anywhere}.session-item .secondary{margin-top:12px;min-height:48px}.danger{color:#9d2525;border-color:#d9a5a0}.session-confirm{padding:16px;border:1px solid #d9a5a0;border-radius:12px;margin-top:20px}.session-confirm h3{font-size:16px;margin:0 0 8px}.session-confirm p{font-size:13px;line-height:2}.session-actions .secondary{margin-top:8px}.open-sessions{margin-top:16px}
.membership .selected-business{display:inline-block;border-radius:6px;padding:4px 8px;background:#eeeffb;color:var(--brand-dark);font-weight:600}.select-business[aria-pressed="true"]{border-color:var(--brand);color:var(--brand-dark)}
.pwa-update-notice{position:fixed;z-index:30;inset-inline:16px;top:max(12px,env(safe-area-inset-top));margin-inline:auto;max-width:720px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border:1px solid var(--line,#d8dbea);border-radius:14px;background:var(--surface,#fff);color:var(--ink,#211d35);box-shadow:0 8px 28px #14122624}.pwa-update-notice p{margin:0;line-height:1.8;font-size:13px}.pwa-update-notice button{flex:none;min-height:44px;padding:8px 14px;border:1px solid var(--line,#d8dbea);border-radius:9px;background:var(--surface,#fff);color:var(--ink,#211d35);font:inherit}@media(max-width:520px){.pwa-update-notice{align-items:stretch;flex-direction:column;gap:8px}.pwa-update-notice button{align-self:flex-start}}@media(prefers-reduced-motion:reduce){.pwa-update-notice{scroll-behavior:auto}}
.terms-acceptance { margin:8px 0 0; color:var(--muted); font-size:12px; line-height:1.9; text-align:center; }
/* Session cards follow the Android SessionCard hierarchy while retaining web-only metadata. */
.session-list{gap:10px}
.session-section-heading{list-style:none;padding:4px 2px 0}
.session-section-heading h3{margin:0;color:var(--brand-dark);font-size:14px;font-weight:700;line-height:1.7}
.session-item{padding:14px;border-radius:16px;background:var(--surface);border-color:var(--line);transition:background-color .16s ease,border-color .16s ease}
.session-item.current-session-item{background:var(--session-current-surface,var(--work-tint,#eeeffb));border-color:var(--brand);}
.session-identity{display:flex;align-items:center;gap:12px;min-width:0}
.session-device-icon{display:grid;place-items:center;flex:none;width:24px;height:24px;border-radius:0;background:transparent;font-size:24px;line-height:1}
.current-session-item .session-device-icon{background:transparent}
.session-device-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;flex:1}
.session-device-heading h4{margin:0;min-width:0;font-size:14px;line-height:1.7;overflow-wrap:anywhere}
.current-session{flex:none;border-radius:999px;background:var(--brand);color:#fff;padding:3px 9px;font-size:11px}
.session-item dl{margin:12px 0 0;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:6px 10px;font-size:12px}
.session-empty{list-style:none;padding:12px 14px;border-radius:14px;background:var(--work-subtle,#f5f2fa);color:var(--muted);font-size:13px;line-height:1.8}
.session-item .secondary{margin-top:10px;width:100%;min-height:48px}
@media(prefers-reduced-motion:reduce){.session-item{transition:none}}
/* Use the saved Android app theme on the web authentication and onboarding screens. */
:root[data-app-style="sadeh"] { --auth-hero-gradient:linear-gradient(135deg,#2a1b6b,#7a4bf0); --auth-on-hero:#fff; --auth-on-primary:#fff; --auth-desktop-gradient:linear-gradient(135deg,#2a1b6b,#714ad5); }
:root[data-app-style="firoozeh"] { --brand:#0f6e56; --brand-dark:#0a3f31; --ink:#132a24; --muted:#536b64; --line:#d5e2de; --surface:#fff; --background:#ecf2f0; --focus:#0f6e56; --auth-hero-gradient:linear-gradient(135deg,#0f6e56,#13836a 58%,#d99a1e); --auth-on-hero:#fff; --auth-on-primary:#fff; --auth-desktop-gradient:linear-gradient(135deg,#0a3f31,#0f6e56); }
:root[data-app-style="shabnama"] { --brand:#1f6fd1; --brand-dark:#0b2e5c; --ink:#141a2e; --muted:#596177; --line:#e2e5ef; --surface:#fff; --background:#f4f5fa; --focus:#1f6fd1; --auth-hero-gradient:linear-gradient(135deg,#1f6fd1,#b86400 58%,#1f6fd1); --auth-on-hero:#fff; --auth-on-primary:#fff; --auth-desktop-gradient:linear-gradient(135deg,#0b2e5c,#1f6fd1); }
:root[data-app-style="belit"] { --brand:#1a1a1e; --brand-dark:#1a1a1e; --ink:#1a1a1e; --muted:#64646c; --line:#dadad5; --surface:#fff; --background:#ededea; --focus:#1a1a1e; --auth-hero-gradient:linear-gradient(135deg,#1a1a1e,#c42e46); --auth-on-hero:#ededea; --auth-on-primary:#fff; --auth-desktop-gradient:linear-gradient(135deg,#111113,#55555c); }
:root[data-app-style="meh"] { --brand:#0e6a63; --brand-dark:#053c37; --ink:#16232b; --muted:#5f6e78; --line:#d9e1e5; --surface:#fff; --background:#eef2f4; --focus:#0e6a63; --auth-hero-gradient:linear-gradient(135deg,#9fe0cf,#c3d3ff 55%,#f8d3b4); --auth-on-hero:#fff; --auth-on-primary:#fff; --auth-desktop-gradient:linear-gradient(135deg,#053c37,#0e6a63); }
:root[data-app-style="shafagh"] { --brand:#0f9a78; --brand-dark:#003d2e; --ink:#102229; --muted:#52696f; --line:#d3e4e2; --surface:#fafeFD; --background:#eef6f5; --focus:#0f9a78; --auth-hero-gradient:linear-gradient(135deg,#08795f,#1d7191 52%,#5143bd); --auth-on-hero:#fff; --auth-on-primary:#00120c; --auth-desktop-gradient:linear-gradient(135deg,#003d2e,#08795f); }
:root[data-app-style="zarrin"] { --brand:#7e6118; --brand-dark:#3d2e08; --ink:#16130d; --muted:#6b6252; --line:#e3daca; --surface:#fffdf8; --background:#f5f1e8; --focus:#7e6118; --auth-hero-gradient:linear-gradient(135deg,#9c7a33,#7e6118 58%,#5c450f); --auth-on-hero:#f2ebdd; --auth-on-primary:#fff; --auth-desktop-gradient:linear-gradient(135deg,#3d2e08,#7e6118); }
:root[data-color-mode="dark"][data-app-style="sadeh"] { --brand:#a88cff; --brand-dark:#e6deff; --ink:#eeebf5; --muted:#a9a3b8; --line:#2c2838; --surface:#1b1824; --background:#121019; --focus:#a88cff; --auth-hero-gradient:linear-gradient(135deg,#6a45e8,#9c7bff); --auth-on-hero:#fff; --auth-on-primary:#23105e; --auth-desktop-gradient:linear-gradient(135deg,#33236b,#6a45e8); color-scheme:dark; }
:root[data-color-mode="dark"][data-app-style="firoozeh"] { --brand:#5cc9a7; --brand-dark:#c8f2e3; --ink:#e2eeea; --muted:#8fa9a1; --line:#22332f; --surface:#15211e; --background:#0c1513; --focus:#5cc9a7; --auth-on-primary:#00382a; --auth-desktop-gradient:linear-gradient(135deg,#13513f,#13836a); color-scheme:dark; }
:root[data-color-mode="dark"][data-app-style="shabnama"] { --brand:#6ec1ff; --brand-dark:#cfe6ff; --ink:#eef1fa; --muted:#8c94ad; --line:#222a40; --surface:#141a2b; --background:#0a0e1a; --focus:#6ec1ff; --auth-hero-gradient:linear-gradient(135deg,#6ec1ff,#ffb547 58%,#6ec1ff); --auth-on-hero:#002e52; --auth-on-primary:#002e52; --auth-desktop-gradient:linear-gradient(135deg,#16294a,#6ec1ff); color-scheme:dark; }
:root[data-color-mode="dark"][data-app-style="belit"] { --brand:#f0efea; --brand-dark:#f0efea; --ink:#f0efea; --muted:#8e8e96; --line:#2e2e34; --surface:#1c1c20; --background:#0f0f11; --focus:#f0efea; --auth-hero-gradient:linear-gradient(135deg,#2a2a2f,#2a2a2f); --auth-on-hero:#f0efea; --auth-on-primary:#111113; --auth-desktop-gradient:linear-gradient(135deg,#111113,#2a2a2f); color-scheme:dark; }
:root[data-color-mode="dark"][data-app-style="meh"] { --brand:#6fd8c8; --brand-dark:#c8f5ee; --ink:#eaf0f2; --muted:#93a3ac; --line:#ffffff1a; --surface:#151c22; --background:#0a0f13; --focus:#92eee0; --auth-hero-gradient:linear-gradient(135deg,#12403b,#12403b); --auth-on-hero:#c8f5ee; --auth-on-primary:#00332e; --auth-desktop-gradient:linear-gradient(135deg,#12403b,#0e6a63); color-scheme:dark; }
:root[data-color-mode="dark"][data-app-style="shafagh"] { --brand:#2ee6b0; --brand-dark:#b8ffe9; --ink:#e6f5f3; --muted:#8daeb2; --line:#1b3240; --surface:#0f1f29; --background:#06121a; --focus:#5fffd0; --auth-hero-gradient:linear-gradient(135deg,#2ee6b0,#4cc9f0 52%,#8b7bff); --auth-on-hero:#00382a; --auth-on-primary:#00382a; --auth-desktop-gradient:linear-gradient(135deg,#00382a,#0f9a78); color-scheme:dark; }
:root[data-color-mode="dark"][data-app-style="zarrin"] { --brand:#e2bf6c; --brand-dark:#f6e3b0; --ink:#f2ebdd; --muted:#a8a090; --line:#2a2722; --surface:#151516; --background:#0a0a0b; --focus:#e2bf6c; --auth-hero-gradient:linear-gradient(135deg,#f3d98b,#d4af5a 55%,#8a6a2f); --auth-on-hero:#f2ebdd; --auth-on-primary:#1a1405; --auth-desktop-gradient:linear-gradient(135deg,#1a1405,#7e6118); color-scheme:dark; }
:root[data-app-style] body { background:var(--background); color:var(--ink); }
:root[data-app-style] input,
:root[data-app-style] select,
:root[data-app-style] textarea { border-color:var(--line); background:var(--surface); color:var(--ink); }
:root[data-app-style] input::placeholder { color:var(--muted); }
:root[data-app-style] .primary { color:var(--auth-on-primary,#fff); }
:root[data-app-style] .secondary { background:var(--surface); color:var(--brand-dark); }
:root[data-app-style] .message { color:#9d2525; }
:root[data-app-style] .intro { background-image:var(--auth-desktop-gradient)!important; }
:root[data-app-style] .intro .brand,
:root[data-app-style] .intro .eyebrow,
:root[data-app-style] .intro h1,
:root[data-app-style] .intro p,
:root[data-app-style] .intro .intro-foot { color:#fff; }
:root[data-app-style] .intro .brand-mark { color:var(--work-on-brand,#fff); }
:root[data-app-style="belit"] #phone { letter-spacing:.04em; }
.panel #phone[data-valid="true"] { border-color:#1c8b5a; }
.panel #phone[aria-invalid="true"] { border-color:#b3261e; }
.panel #phone-help { min-height:20px; }
@media(prefers-reduced-motion:reduce) { .mobile-brand,.shell { animation:none!important; transition:none!important; } }
.terms-link { display:inline; min-height:0; padding:0; border:0; background:transparent; color:var(--brand-dark); font-size:inherit; font-weight:700; text-decoration:underline; text-underline-offset:3px; }
.terms-dialog { box-sizing:border-box; width:min(680px,calc(100vw - 28px)); max-width:calc(100vw - 28px); max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); margin:auto; padding:0; overflow:hidden; border:1px solid var(--line); border-radius:20px; background:var(--surface); color:var(--ink); box-shadow:0 18px 56px #14101f30; }
.terms-dialog[open] { display:flex; flex-direction:column; }
.terms-dialog::backdrop { background:rgb(20 16 35 / 44%); backdrop-filter:blur(3px); }
.terms-dialog-header { flex:none; padding:16px 20px 10px; border-bottom:1px solid var(--line); background:var(--surface); }
.terms-dialog-header h2 { margin:0; font-size:18px; line-height:1.6; }
.terms-dialog-content { min-height:0; padding:8px 20px 16px; overflow-y:auto; overscroll-behavior:contain; font-size:13px; line-height:1.9; }
.terms-dialog-content p { margin:10px 0; }
.terms-dialog-content h3 { margin:14px 0 2px; color:var(--brand-dark); font-size:14px; line-height:1.8; }
.terms-dialog-actions { flex:none; padding:10px 20px 16px; border-top:1px solid var(--line); }
.terms-dialog-actions .secondary { width:100%; min-height:48px; margin:0; }
@media(max-width:520px) { .terms-dialog { max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); border-radius:18px; } .terms-dialog-header { padding:14px 16px 8px; } .terms-dialog-content { padding-inline:16px; } .terms-dialog-actions { padding:8px 16px 12px; } }
@media(prefers-reduced-motion:reduce) { .terms-dialog::backdrop { backdrop-filter:none; } }

/* Three-step business onboarding: compact Material-like progress and controls. */
.onboarding-progress { margin:0 0 24px; padding:0; border:0; border-radius:0; background:transparent; }
.onboarding-progress p { margin:0 0 8px; color:var(--brand-dark); font-size:12px; font-weight:700; line-height:1.6; }
.onboarding-progress-track { height:4px; overflow:hidden; border-radius:999px; background:#ded8ed; }
.onboarding-progress-track span { display:block; height:100%; border-radius:inherit; background:var(--brand); transition:width .18s ease; }
.onboarding-step { min-width:0; padding:0; }
.onboarding-step h3 { margin:4px 0 4px; font-size:18px; line-height:1.65; }
.onboarding-step > .muted { margin:0 0 12px; font-size:13px; }
#register-form > .onboarding-step > label,
#register-form .onboarding-service-field > label { display:block; margin:8px 0 4px; font-size:12px; }
#register-form input:not([type=checkbox]),
#register-form select,
#register-form textarea { min-width:0; min-height:56px; padding:9px 11px; border-color:#d6d1e2; border-radius:12px; font-size:14px; }
#register-form textarea { min-height:80px; }
.slug-input-row { display:flex; align-items:center; min-width:0; min-height:56px; overflow:hidden; border:1px solid #d6d1e2; border-radius:12px; background:#fff; }
.slug-input-row span { flex:none; padding-inline:10px 6px; color:var(--muted); font-size:11px; white-space:nowrap; }
#register-form .slug-input-row input { min-width:0; min-height:54px; padding-inline:4px 10px; border:0; border-radius:0; font-size:14px; text-align:left; }
.field-status { display:block; min-height:20px; margin-top:4px; font-size:11px; }
.field-status[data-state=available] { color:#176b45; }
.field-status[data-state=unavailable],.field-status[data-state=error] { color:#a23535; }
.field-status[data-state=checking] { color:var(--muted); }
#retry-business-slug { min-height:36px; margin:0; font-size:12px; }
.onboarding-service-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.onboarding-service-field { min-width:0; }
.onboarding-hours-hint { margin:0 0 8px; font-size:11px; }
.onboarding-hours-list { display:grid; gap:4px; }
.onboarding-hours-row { display:grid; grid-template-columns:48px minmax(64px,.65fr) minmax(0,1fr) minmax(0,1fr); align-items:center; gap:7px; min-width:0; padding:5px 0; border-bottom:1px solid var(--line); }
#register-form .onboarding-day-toggle { display:grid; place-items:center; width:48px; height:48px; margin:0; cursor:pointer; }
#register-form .onboarding-day-toggle { position:relative; }
.onboarding-day-toggle input { position:absolute; width:1px!important; height:1px!important; min-height:1px!important; opacity:0; }
.onboarding-day-track { position:relative; width:24px; height:14px; border-radius:999px; background:#d5d0df; transition:background .15s ease; }
.onboarding-day-track::after { position:absolute; top:2px; inset-inline-start:2px; width:10px; height:10px; border-radius:50%; background:#fff; box-shadow:0 1px 3px #20193330; content:""; transition:transform .15s ease; }
.onboarding-day-toggle input:checked + .onboarding-day-track { background:var(--brand); }
.onboarding-day-toggle input:checked + .onboarding-day-track::after { transform:translateX(10px); }
:dir(rtl) .onboarding-day-toggle input:checked + .onboarding-day-track::after { transform:translateX(-10px); }
.onboarding-day-toggle input:focus-visible + .onboarding-day-track { outline:3px solid var(--focus); outline-offset:3px; }
.onboarding-hours-row > strong { min-width:0; font-size:12px; }
#register-form .onboarding-time-field { display:flex; align-items:center; gap:4px; min-width:0; margin:0; color:var(--muted); font-size:10px; }
#register-form .onboarding-time-field select { flex:1; width:auto; min-width:0; min-height:56px; padding:6px 4px; font-size:14px; }
#register-business,#continue-business,#continue-service { min-height:52px; margin-top:14px; }
#register-screen .text-button { min-height:48px; }
#skip-service,#previous-service,#previous-hours { margin-top:4px; }
#back-from-register { margin:0 0 8px; }
@media(max-width:360px) {
  .onboarding-progress { margin-bottom:24px; }
  .onboarding-hours-row { grid-template-columns:48px minmax(58px,.55fr) minmax(0,1fr) minmax(0,1fr); gap:5px; }
  .onboarding-hours-row > strong { font-size:11px; }
  #register-form .onboarding-time-field { gap:2px; font-size:9px; }
  #register-form .onboarding-time-field select { padding-inline:2px; font-size:12px; }
}
@media(prefers-reduced-motion:reduce) { .onboarding-progress-track span,.onboarding-day-track,.onboarding-day-track::after { transition:none; } }
.membership { display:flex; align-items:center; gap:12px; min-width:0; }
.membership.select-business { width:100%; min-height:72px; background:var(--surface); color:var(--ink); font:inherit; text-align:start; cursor:pointer; transition:border-color .15s,background-color .15s; }
.membership-avatar { width:40px; height:40px; flex:none; display:grid; place-items:center; border-radius:50%; background:var(--work-tint,#eeeffb); color:var(--brand-dark); font-size:16px; font-weight:700; }
.membership-copy { display:grid; gap:3px; min-width:0; }
.membership-name { font-size:16px; font-weight:600; overflow-wrap:anywhere; }
.membership-role { color:var(--muted); font-size:12px; line-height:1.75; }
.membership .selected-business { justify-self:start; margin:4px 0 0; font-size:11px; }
.select-business:hover:not(:disabled) { border-color:var(--brand); background:color-mix(in srgb,var(--brand) 4%,var(--surface)); }
.select-business[aria-pressed="true"]:disabled { opacity:1; border-color:var(--brand); }

/* Auth's active primary buttons use the same accessible brand ink as the app theme. */
:root[data-app-style="shafagh"] { --work-on-brand:#00120c; }
:root[data-color-mode="dark"][data-app-style="shafagh"] { --work-on-brand:#00382a; }
.panel form > .primary { align-self:flex-start; width:auto; min-width:min(220px,100%); }
