:root{--blue:#2563EB;--blue-d:#1D4ED8;--ink:#0A1E46;--mut:#5C6B7F;--line:#DBEAFE;--bg:#F6FAFF;--card:#fff;--ok:#1D4ED8}
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:"Plus Jakarta Sans",system-ui,sans-serif;color:var(--ink);background:var(--bg);line-height:1.55}
a{color:var(--blue);text-decoration:none}
header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}
.hwrap{max-width:980px;margin:0 auto;padding:10px 20px;display:flex;align-items:center;gap:10px}
.hwrap img{width:36px;height:36px;border-radius:10px;display:block}
.hwrap .wm{font-weight:800;font-size:19px;line-height:1.05}
.hwrap .wm span{color:var(--blue)}
.hwrap .sub{font-size:10.5px;letter-spacing:2px;color:var(--mut);font-weight:700}
.hwrap .sp{flex:1}
.btn{background:var(--blue);color:#fff;border:0;border-radius:999px;padding:11px 22px;font:inherit;font-weight:700;font-size:14.5px;cursor:pointer}
.btn:hover{background:var(--blue-d)}
.btn.ghost{background:#fff;color:var(--blue);border:1.5px solid var(--blue)}
.btn.small{padding:8px 16px;font-size:13.5px}
main{max-width:980px;margin:0 auto;padding:34px 20px 70px}
.card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:26px;margin-bottom:22px;box-shadow:0 10px 30px rgba(37,99,235,.06)}
.card h2{font-size:20px;font-weight:800;margin-bottom:4px}
.card p.hint{color:var(--mut);font-size:14px;margin-bottom:16px}
label{display:block;font-size:13px;font-weight:700;margin:14px 0 6px}
input,select,textarea{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:11px 13px;font:inherit;font-size:14.5px;background:#fff;color:var(--ink)}
textarea{resize:vertical}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(37,99,235,.35);border-color:var(--blue)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
@media(max-width:640px){.grid2{grid-template-columns:1fr}}
.tabs{display:flex;gap:10px;margin-bottom:20px}
.tabs button{flex:1;padding:12px;border-radius:12px;border:1.5px solid var(--line);background:#fff;font:inherit;font-weight:700;cursor:pointer;color:var(--mut)}
.tabs button.on{background:var(--blue);border-color:var(--blue);color:#fff}
.err{background:#FDECEC;border:1px solid #F5B5B5;color:#8C1D1D;border-radius:12px;padding:11px 14px;font-size:14px;margin-bottom:14px;display:none}
.okmsg{color:var(--ok);font-weight:700;font-size:14px;margin-top:12px;min-height:20px}
.rowline{display:flex;gap:8px;margin-bottom:8px}
.rowline input{flex:1}
.rowline .rm{background:#FDECEC;color:#8C1D1D;border:0;border-radius:10px;width:40px;cursor:pointer;font-weight:800}
.pics{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}
.upzone{border:2px dashed #B9D4F8;background:#F2F8FF;border-radius:20px;padding:28px 20px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s}
.upzone:hover,.upzone.drag{border-color:var(--blue);background:#EAF3FF}
.upzone .up-ic{width:52px;height:52px;border-radius:50%;background:var(--blue);color:#fff;font-size:30px;font-weight:600;display:flex;align-items:center;justify-content:center;margin:0 auto 10px;box-shadow:0 10px 20px rgba(37,99,235,.28)}
.upzone b{display:block;font-size:16px}
.upzone span{display:block;color:var(--mut);font-size:13px;margin-top:3px}
.upzone .up-count{color:var(--blue);font-weight:800;font-size:12px;letter-spacing:.6px;margin-top:10px}
.pics .pic{position:relative;width:110px;height:110px;border-radius:14px;overflow:hidden;border:1px solid var(--line)}
.pics .pic img{width:100%;height:100%;object-fit:cover}
.pics .pic button{position:absolute;top:5px;right:5px;background:rgba(10,30,70,.75);color:#fff;border:0;border-radius:8px;width:24px;height:24px;cursor:pointer;font-weight:800}
.chatbox{border:1.5px solid var(--line);border-radius:16px;overflow:hidden}
.chatlog{height:300px;overflow-y:auto;padding:16px;background:#F2F7FF;display:flex;flex-direction:column;gap:9px}
.msg{max-width:82%;padding:10px 14px;border-radius:16px;font-size:14.5px;white-space:pre-wrap}
.msg.me{align-self:flex-end;background:var(--blue);color:#fff;border-bottom-right-radius:5px}
.msg.bot{align-self:flex-start;background:#fff;border:1px solid var(--line);border-bottom-left-radius:5px}
.chatin{display:flex;gap:9px;padding:11px;background:#fff;border-top:1px solid var(--line)}
.chatin input{flex:1}
.hidden{display:none!important}
.hero-t{font-size:30px;font-weight:800;letter-spacing:-.5px;margin-bottom:6px}
.hero-t span{color:var(--blue)}
.sub2{color:var(--mut);margin-bottom:24px;font-size:15.5px}
footer{max-width:980px;margin:0 auto;padding:0 20px 40px;color:var(--mut);font-size:13px}
.kv{font-size:13.5px;color:var(--mut)}
.kv b{color:var(--ink)}

/* --- Auth screen: light, slim, premium — same sky feel as the landing page (Arnold, 2026-10-23 late) --- */
.auth-hero{text-align:center;padding:10px 0 2px}
.auth-hero img{width:56px;height:56px;border-radius:16px}
.auth-hero h1{font-size:34px;font-weight:800;letter-spacing:-.8px;line-height:1.14;margin:16px 0 8px;color:var(--ink)}
.auth-hero h1 span{color:var(--blue)}
.auth-hero p{color:#33506E;font-size:15px}
.auth-card{max-width:440px;margin:20px auto 0}
#authView label{display:none}
#authView input,#authView select{margin-bottom:11px;width:100%}
#authView .btn.big{width:100%;padding:14px;font-size:15.5px;border-radius:999px;margin-top:2px}
#authView .grid2{gap:0}
.fineprint{text-align:center;color:#7A8CA3;font-size:12.5px;margin-top:14px}

/* --- Premium pass (2026-10-23) --- */
body{background:linear-gradient(180deg,#EDF4FF 0,#F8FBFF 360px) fixed}
header{backdrop-filter:blur(10px);background:rgba(255,255,255,.86)}
.card{border-color:#E1EDFA;border-radius:22px;box-shadow:0 16px 36px rgba(10,30,70,.06)}
input,select,textarea{border-color:#D7E6F7;transition:border-color .2s,box-shadow .2s}
input:focus,select:focus,textarea:focus{box-shadow:0 0 0 4px rgba(37,99,235,.13)}
.btn{background:var(--blue);box-shadow:0 10px 22px rgba(37,99,235,.28)}
.btn.ghost{background:#fff;box-shadow:none}
.auth-hero img{box-shadow:0 18px 44px rgba(37,99,235,.5)}
#authView .btn.big{background:linear-gradient(135deg,#3B82F6,#2563EB);box-shadow:0 14px 30px rgba(37,99,235,.45)}
.msg.bot{box-shadow:0 6px 16px rgba(10,30,70,.05)}

.calhead{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.caltitle{flex:1;text-align:center;font-weight:800;font-size:17px}
.calgrid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.calgrid .dow{font-size:11.5px;font-weight:800;color:var(--mut);text-align:center;padding:4px 0;letter-spacing:1px}
.calday{border:1.5px solid var(--line);border-radius:12px;min-height:64px;padding:6px 7px;font-size:12.5px;cursor:pointer;background:#fff}
.calday.dim{opacity:.35;cursor:default}
.calday.today{border-color:var(--blue)}
.calday.sel{border-color:var(--blue);background:#EFF6FF}
.calday .n{font-weight:800;font-size:13px}
.calday .bk{display:block;background:var(--blue);color:#fff;border-radius:6px;padding:1px 5px;margin-top:4px;font-size:10.5px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.calday .more{font-size:10.5px;color:var(--blue);font-weight:800}

/* Page tabs: NORMAL tabs — every tab always shows icon + text label.
   No container card behind the bar (tabs float directly on the page)
   and NO tab animations of any kind: state changes are instant
   (transition:none). The active tab is a plain filled ReplyPilot
   blue pill with white icon + text. The row scrolls horizontally
   when the tabs are wider than the screen. */
.pagenav{position:sticky;top:64px;z-index:9;display:flex;align-items:center;justify-content:flex-start;gap:6px;overflow-x:auto;width:100%;max-width:100%;margin:10px auto 0;padding:4px 2px 20px;background:#F8FAFC;scrollbar-width:none}
.pagenav::-webkit-scrollbar{display:none}
.pagenav button{flex:0 0 auto;height:42px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1.5px solid transparent;background:transparent;color:var(--mut);font:inherit;font-weight:700;font-size:13.5px;padding:0 14px;border-radius:999px;cursor:pointer;transition:none;white-space:nowrap}
.pagenav button svg{width:19px;height:19px;flex:none;display:block}
.pagenav button:hover{color:var(--blue)}
.pagenav button.on{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:none}
.page .card:last-child{margin-bottom:6px}
.saverow{display:flex;align-items:center;gap:14px;margin:4px 0 22px}
.pagehint{color:var(--mut);font-size:14px;margin:-6px 0 18px}

.auth-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center;max-width:1080px;margin:0 auto}
body.auth-light main{max-width:1120px}
.auth-brand .auth-hero{text-align:left;padding-top:0}
.auth-brand .auth-hero p{max-width:420px;line-height:1.6}
.mini-phone{width:300px;margin-top:30px;background:linear-gradient(180deg,#1B2A44,#0C1526);border-radius:38px;padding:11px;box-shadow:0 30px 55px rgba(10,35,90,.30);transform:rotate(-1.5deg)}
.mp-screen{background:#F7FAFD;border-radius:28px;overflow:hidden}
.mp-head{background:var(--blue);padding:12px 14px;display:flex;gap:10px;align-items:center;color:#fff}
.mp-av{width:34px;height:34px;border-radius:50%;background:#fff;color:var(--blue);display:flex;align-items:center;justify-content:center;font-weight:800;font-size:15px;flex:none}
.mp-meta b{display:block;font-size:13.5px;line-height:1.2}
.mp-meta i{display:block;font-style:normal;font-size:10.5px;color:#BFDBFE}
.mp-body{padding:14px 12px 16px;display:flex;flex-direction:column;gap:8px}
.mp-bub{max-width:85%;padding:8px 12px;border-radius:14px;font-size:12.5px;line-height:1.45}
.mp-cust{align-self:flex-start;background:#FCE7F1;border-bottom-left-radius:4px}
.mp-bot{align-self:flex-end;background:#FFF0CC;border-bottom-right-radius:4px;font-weight:600}
.mp-chip{align-self:center;background:#EEF4FD;border:1.5px solid #CBDEF8;color:var(--blue-d);font-size:10px;font-weight:800;letter-spacing:1px;padding:5px 12px;border-radius:999px;margin-top:2px}
@media(max-width:900px){.auth-grid{grid-template-columns:1fr;gap:8px}.auth-brand .auth-hero{text-align:center}.auth-brand .auth-hero p{margin:0 auto}.auth-brand .auth-hero img{margin:0 auto}.mini-phone{display:none}}

/* --- Light premium auth (final, overrides the old dark/heavy pass) --- */
body.auth-light{background:linear-gradient(180deg,#7CC7F5 0%,#A8DCFA 30%,#D8F1FE 60%,#FBF9F3 100%);background-attachment:fixed;min-height:100vh}
body.auth-light header{background:rgba(255,255,255,.85);backdrop-filter:blur(12px);border-bottom:1px solid rgba(220,233,247,.9);box-shadow:none}
body.auth-light main{padding-top:26px}
body.auth-light footer{color:#5C6B7F}
.auth-hero img{box-shadow:0 10px 24px rgba(16,42,90,.14);border:3px solid rgba(255,255,255,.9)}
.auth-card.card{background:rgba(255,255,255,.97);border:1px solid #DCE9F7;border-radius:24px;padding:24px 24px 20px;box-shadow:0 18px 40px rgba(16,42,90,.10)}
#authView input,#authView select{background:#F8FBFF;border:1.5px solid #D7E6F7;color:var(--ink);border-radius:14px;padding:13px 16px;font-size:14.5px;box-shadow:none}
#authView input::placeholder{color:#8AA0B8}
#authView input:focus,#authView select:focus{background:#fff;box-shadow:0 0 0 4px rgba(37,99,235,.12);border-color:var(--blue);outline:none}
#authView .tabs{background:#EFF6FF;border:0;border-radius:999px;padding:4px;margin-bottom:18px;gap:4px}
#authView .tabs button{border:0;border-radius:999px;background:transparent;color:var(--mut);padding:9px 10px;font-size:14px;box-shadow:none}
#authView .tabs button.on{background:var(--blue);color:#fff;box-shadow:0 6px 14px rgba(37,99,235,.22)}
#authView .btn.big{background:linear-gradient(135deg,#2F6BFF,#1D4ED8);box-shadow:0 10px 20px rgba(37,99,235,.24)}
#authView .err{border-radius:14px}

/* --- Split-card auth (login inspiration, 2026-10-23) --- */
body.auth-light{background:radial-gradient(900px 520px at 12% -6%,rgba(37,99,235,.30),rgba(37,99,235,0) 60%),radial-gradient(820px 560px at 105% 12%,rgba(56,189,248,.32),rgba(56,189,248,0) 62%),linear-gradient(180deg,#7CC7F5 0%,#A8DCFA 30%,#D8F1FE 60%,#FBF9F3 100%);background-attachment:fixed}
body.auth-light main{max-width:1040px}
#authView .auth-grid{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:0;max-width:980px;margin:10px auto 0;background:#fff;border-radius:28px;overflow:hidden;box-shadow:0 34px 80px rgba(10,35,90,.28);border:1px solid rgba(255,255,255,.65)}
#authView .auth-brand{background:linear-gradient(165deg,#38BDF8 0%,#2563EB 58%,#1D4ED8 100%);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:38px 30px;gap:26px}
#authView .auth-brand .mini-phone{margin-top:0;width:272px;transform:rotate(-1.5deg)}
#authView .auth-caption{color:#EAF4FF;font-size:14.5px;line-height:1.6;text-align:center;max-width:300px;font-weight:600}
#authView .auth-card.card{background:#fff;border:0;border-radius:0;box-shadow:none;margin:0;padding:42px 42px 30px;display:flex;flex-direction:column}
.auth-eyebrow{font-size:13px;font-weight:700;color:#5C6B7F;letter-spacing:.4px}
.auth-headline{font-size:31px;font-weight:800;letter-spacing:-.7px;line-height:1.18;color:var(--ink);margin:6px 0 22px}
.auth-headline span{color:var(--blue)}
#authView input,#authView select{background:#F1F5F9;border:1.5px solid transparent;border-radius:12px;padding:13px 15px}
#authView input:focus,#authView select:focus{background:#fff;border-color:var(--blue);box-shadow:0 0 0 4px rgba(37,99,235,.12)}
.auth-switch{display:flex;align-items:center;gap:7px;margin-top:16px;font-size:13.5px;color:#5C6B7F}
#authView .auth-switch{background:none;border:0;padding:0}
#authView .auth-switch button{flex:none;display:none;border:0;background:none;padding:0;font:inherit;font-weight:800;font-size:13.5px;color:var(--blue);cursor:pointer;box-shadow:none}
#authView .auth-switch button:not(.on){display:inline}
#authView .auth-switch button:hover{text-decoration:underline}
.auth-lockup{display:flex;align-items:center;gap:11px;margin-top:auto;padding-top:30px}
.auth-lockup img{width:40px;height:40px;border-radius:11px;display:block}
.auth-lockup .lk-wm{font-weight:800;font-size:19px;line-height:1.05;color:var(--ink)}
.auth-lockup .lk-wm span{color:var(--blue)}
.auth-lockup .lk-sub{font-size:9.5px;letter-spacing:1.8px;color:var(--mut);font-weight:700;margin-top:2px}
@media(max-width:900px){.auth-grid{grid-template-columns:1fr;gap:8px}.auth-brand .auth-hero{text-align:center}.auth-brand .auth-hero p{margin:0 auto}.auth-brand .auth-hero img{margin:0 auto}}
@media(max-width:860px){
  #authView .auth-grid{grid-template-columns:1fr;border-radius:24px}
  #authView .auth-brand{padding:20px 18px;flex-direction:row;justify-content:center}
  #authView .auth-brand .mini-phone{display:none}
  #authView .auth-caption{font-size:13.5px;max-width:340px}
  #authView .auth-card.card{padding:28px 22px 24px}
  .auth-headline{font-size:26px}
}

/* --- Onboarding flow (2026-10-23) --- */
#obView{padding:4px 0 8px}
.ob-col{max-width:460px;margin:0 auto}
.ob-top{display:flex;align-items:flex-start;gap:14px;margin-bottom:24px;min-height:34px}
.ob-back{background:none;border:0;font:inherit;font-weight:800;color:var(--blue);cursor:pointer;font-size:14.5px;padding:3px 2px;flex:none}
.ob-prog{flex:1}
.ob-bar{height:6px;background:#D8E9F8;border-radius:99px;overflow:hidden}
#obBarFill{height:100%;width:16.66%;background:linear-gradient(90deg,#38BDF8,#1D4ED8);border-radius:99px;transition:width .35s ease}
.ob-count{font-size:11px;font-weight:800;letter-spacing:1.4px;color:#54708F;margin-top:7px;text-transform:uppercase}
.ob-step{display:none}
.ob-step.on{display:block}
.ob-step.on>*{opacity:0;transform:translateY(12px)}
.ob-step.play>*{animation:obRise .45s cubic-bezier(.22,.8,.32,1) forwards;animation-delay:calc(var(--d,0)*65ms)}
@keyframes obRise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion: reduce){
  .ob-step.on>*{opacity:1;transform:none}
  .ob-step.play>*{animation:none}
  .ob-bub{animation:none!important}
  .ob-confetti i{animation:none!important;display:none}
  .ob-check.pop{animation:none!important}
  .ob-check path{stroke-dashoffset:0!important;transition:none!important}
}
.ob-logo{width:94px;height:94px;border-radius:50%;background:linear-gradient(160deg,#7CC7F5,#2563EB);display:flex;align-items:center;justify-content:center;margin:6px auto 22px;box-shadow:0 18px 38px rgba(37,99,235,.32)}
.ob-logo img{width:58px;height:58px;border-radius:17px;display:block}
.ob-h{font-size:26px;font-weight:800;letter-spacing:-.5px;line-height:1.22;color:var(--ink)}
.ob-h span{color:var(--blue)}
.ob-center{text-align:center}
.ob-sub{color:#54708F;font-size:14.5px;margin-top:8px;line-height:1.55}
.ob-sub.ob-center{max-width:340px;margin-left:auto;margin-right:auto}
#obView .mini-phone{display:block;width:248px;margin:24px auto 4px}
.ob-next{width:100%;padding:15px;font-size:15.5px;margin-top:26px}
.btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}
.ob-skip{display:block;margin:15px auto 0;background:none;border:0;font:inherit;font-weight:700;color:#5C6B7F;cursor:pointer;font-size:14px;padding:4px}
.ob-skip:hover{color:var(--blue)}
.ob-opts{display:flex;flex-direction:column;gap:10px;margin-top:22px}
.ob-opt{display:flex;align-items:center;gap:12px;width:100%;text-align:left;background:#fff;border:1.5px solid #E1EDFA;border-radius:16px;padding:12px 16px;font:inherit;font-weight:600;font-size:15px;color:var(--ink);cursor:pointer;transition:border-color .15s,background .15s;box-shadow:0 4px 14px rgba(10,30,70,.04)}
.ob-opt:hover{border-color:#B9D4F8}
.ob-opt.sel{border-color:var(--blue);background:#F4F9FF}
.ob-ic{font-size:19px;line-height:1;flex:none}
.ob-radio{margin-left:auto;width:23px;height:23px;border-radius:50%;border:2px solid #C9D9EE;flex:none;color:#fff;font-size:12.5px;font-weight:800;display:flex;align-items:center;justify-content:center}
.ob-opt.sel .ob-radio{border-color:var(--blue);background:var(--blue)}
.ob-opt.sel .ob-radio::after{content:"\2713"}
.ob-fields{margin-top:8px}
.ob-fields label{color:var(--ink)}
.ob-svcs{display:flex;flex-direction:column;gap:10px;margin-top:20px}
.ob-svc-row{display:flex;gap:8px}
.ob-svc-row .ob-svc-name{flex:1.6}
.ob-svc-row .ob-svc-price{flex:1}
.ob-check{width:94px;height:94px;border-radius:50%;background:linear-gradient(160deg,#38BDF8,#1D4ED8);color:#fff;font-size:46px;font-weight:800;display:flex;align-items:center;justify-content:center;margin:6px auto 22px;box-shadow:0 18px 38px rgba(37,99,235,.32)}
.ob-sum{background:#fff;border:1px solid #E1EDFA;border-radius:20px;padding:4px 18px;margin-top:22px;box-shadow:0 12px 28px rgba(10,30,70,.05);text-align:left}
.ob-sum .srow{display:flex;gap:13px;align-items:flex-start;padding:13px 0;border-bottom:1px solid #EEF4FB}
.ob-sum .srow:last-child{border-bottom:0}
.ob-sum .n{width:26px;height:26px;border-radius:50%;background:var(--blue);color:#fff;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center;flex:none;margin-top:1px}
.ob-sum b{display:block;font-size:14.5px}
.ob-sum span{color:var(--mut);font-size:13px;line-height:1.45;display:block}
.ob-note{color:#54708F;font-size:13.5px;line-height:1.6;margin-top:18px;text-align:center}

/* --- Segmented onboarding progress + tools grid + assistant Home (2026-10-24) --- */
.ob-top{align-items:center}
.ob-segs{display:flex;gap:5px}
.ob-segs span{height:8px;flex:1;border-radius:99px;background:#DCEBFA;transition:background .3s}
.ob-segs span.fill{background:linear-gradient(90deg,#38BDF8,#1D4ED8)}
.ob-more{width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid #E1EDFA;color:#54708F;display:flex;align-items:center;justify-content:center;font-weight:800;flex:none;box-shadow:0 4px 12px rgba(10,30,70,.05)}
.ob-back{width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid #E1EDFA;color:var(--ink);display:flex;align-items:center;justify-content:center;font-size:19px;padding:0;box-shadow:0 4px 12px rgba(10,30,70,.05)}
.ob-tools{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:22px}
.ob-tool{background:#fff;border:1.5px solid #E1EDFA;border-radius:18px;padding:16px 6px 12px;text-align:center;font:inherit;cursor:pointer;transition:border-color .15s,background .15s;box-shadow:0 4px 14px rgba(10,30,70,.04)}
.ob-tool:hover{border-color:#B9D4F8}
.ob-tool.sel{border-color:var(--blue);background:#F4F9FF}
.ob-tool .tb{width:46px;height:46px;border-radius:14px;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:17px;color:#fff}
.ob-tool b{display:block;font-size:12.5px;font-weight:700;line-height:1.25}
.ob-tool small{display:block;color:var(--mut);font-size:10.5px;margin-top:3px;line-height:1.3}
.home-hero{background:linear-gradient(165deg,#8ED0FA 0%,#D9EFFF 55%,#F4FAFF 100%);border:1px solid #CDE7FB;border-radius:26px;padding:24px 20px 20px;box-shadow:0 18px 36px rgba(37,99,235,.10)}
.hh-h{font-size:25px;font-weight:800;letter-spacing:-.4px;color:var(--ink)}
.hh-chips{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0 16px}
.hh-chip{background:#fff;border:1px solid #D8E9F8;border-radius:99px;padding:8px 13px;font:inherit;font-weight:700;font-size:13px;color:var(--ink);cursor:pointer;box-shadow:0 4px 12px rgba(10,30,70,.05)}
.hh-chip:hover{border-color:var(--blue);color:var(--blue)}
.hh-sec{display:flex;justify-content:space-between;align-items:baseline;margin:24px 2px 10px}
.hh-sec b{font-size:16px}
.hh-sec button{background:none;border:0;color:var(--blue);font-weight:800;cursor:pointer;font:inherit;font-size:13px}
.hh-bks{display:flex;flex-direction:column;gap:8px}
.hh-bk{background:#fff;border:1px solid #E1EDFA;border-radius:16px;padding:12px 14px;font-size:14px;display:flex;gap:10px;align-items:center;box-shadow:0 4px 14px rgba(10,30,70,.03)}
.hh-bk .tag{font-size:10px;font-weight:800;letter-spacing:.8px;color:var(--blue);background:#EAF3FF;border-radius:6px;padding:3px 7px;flex:none}
.appgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
@media(max-width:640px){.appgrid{grid-template-columns:repeat(2,1fr)}}
.ag-card{background:#fff;border:1.5px solid #E1EDFA;border-radius:20px;padding:18px 10px 14px;text-align:center;font:inherit;cursor:pointer;box-shadow:0 4px 14px rgba(10,30,70,.04);transition:border-color .15s}
.ag-card:hover{border-color:#B9D4F8}
.ag-card .tb{width:48px;height:48px;border-radius:15px;margin:0 auto 9px;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:17px;color:#fff}
.ag-card b{display:block;font-size:13.5px}
.ag-card small{display:block;color:var(--mut);font-size:11px;margin-top:2px;line-height:1.35}

/* ============================================================
   POLISH PASS (2026-10-24): premium icon family, onboarding
   colour system, assistant Home, per-page system, calendar.
   Icon family: inline SVG, 24 viewBox, 1.75 stroke, round caps.
   ============================================================ */
:root{--navy:#0F2A52}
.ic{width:22px;height:22px;flex:none}

/* --- Onboarding: one calm premium treatment --- */
#obView{background:linear-gradient(180deg,#E3F1FE 0%,#F2F9FF 55%,rgba(242,249,255,0) 100%);border-radius:30px;padding:26px 18px 30px;margin-top:-8px}
#obView .ob-h{color:var(--navy)}
#obView .ob-sub{color:#54708F}
#obView input,#obView select{background:#fff;border-color:#D7E6F7;border-radius:14px}
#obView .ob-opt{border-radius:18px}
.ob-ic{width:40px;height:40px;border-radius:13px;background:#E3EEFF;color:var(--blue);display:flex;align-items:center;justify-content:center;flex:none}
.ob-ic svg{width:21px;height:21px}

/* Step 1 hero: restored 2026-10-24 — gradient-circle logo (.ob-logo) +
   poster phone (#obView .mini-phone), styles in the onboarding section above. */

/* Tools step: authentic brand marks on clean white tiles */
.ob-tool{position:relative;padding:18px 6px 13px;border-radius:20px}
.ob-tool .tb{width:54px;height:54px;border-radius:16px;background:#fff;margin:0 auto 9px;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 20px rgba(10,30,70,.10);border:1px solid #EDF3FA;font-size:0;color:inherit}
.ob-tool .tb svg{width:31px;height:31px}
.ob-tool.sel{border-color:var(--blue);background:#F4F9FF;box-shadow:0 0 0 3px rgba(37,99,235,.14),0 8px 20px rgba(37,99,235,.10)}
.ob-tool.sel::after{content:"";position:absolute;top:9px;right:9px;width:19px;height:19px;border-radius:50%;background:var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.8 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;box-shadow:0 4px 10px rgba(37,99,235,.35)}

/* Onboarding option icons (owner, 2026-10-24): colour variety like Popular
   actions — each option's icon in its own soft pastel tile, deeper icon colour.
   Soft tints only, NO green; navy option text and the blue selected ring +
   radio check on the row stay untouched. Tools step keeps real brand icons. */
#obTypes .ob-opt:nth-child(1) .ob-ic{background:#FCE7F1;color:#BE185D}
#obTypes .ob-opt:nth-child(2) .ob-ic{background:#E0F2FE;color:#0369A1}
#obTypes .ob-opt:nth-child(3) .ob-ic{background:#FEF3C7;color:#B45309}
#obTypes .ob-opt:nth-child(4) .ob-ic{background:#EDE9FE;color:#6D28D9}
#obTypes .ob-opt:nth-child(5) .ob-ic{background:#E2E8F0;color:#475569}
#obGoals .ob-opt:nth-child(1) .ob-ic{background:#FEF3C7;color:#B45309}
#obGoals .ob-opt:nth-child(2) .ob-ic{background:#E0F2FE;color:#0369A1}
#obGoals .ob-opt:nth-child(3) .ob-ic{background:#EDE9FE;color:#6D28D9}
#obGoals .ob-opt:nth-child(4) .ob-ic{background:#E0E7FF;color:#4338CA}
#obGoals .ob-opt:nth-child(5) .ob-ic{background:#FCE7F1;color:#BE185D}
/* Step 7: celebration */
.ob-ready{position:relative;width:fit-content;margin:6px auto 22px}
.ob-check{margin:0 auto}
.ob-check svg{width:46px;height:46px}
.ob-check svg path{stroke-dasharray:24;stroke-dashoffset:24}
.ob-step.play .ob-check{animation:obPop .55s cubic-bezier(.34,1.56,.64,1) both}
.ob-step.play .ob-check svg path{transition:stroke-dashoffset .5s ease .18s;stroke-dashoffset:0}
@keyframes obPop{0%{transform:scale(.55);opacity:0}60%{transform:scale(1.09);opacity:1}100%{transform:scale(1);opacity:1}}
.ob-confetti{position:absolute;inset:0;pointer-events:none}
.ob-confetti i{position:absolute;left:50%;top:50%;width:7px;height:7px;border-radius:50%;opacity:0}
.ob-step.play .ob-confetti i{animation:obBurst 1.05s cubic-bezier(.17,.67,.35,1) forwards}
@keyframes obBurst{0%{opacity:1;transform:translate(-50%,-50%) scale(1)}100%{opacity:0;transform:translate(calc(-50% + var(--tx)),calc(-50% + var(--ty))) scale(.55)}}

/* --- Home: Nuvio/Niva-style assistant page --- */
.home-hero{background:linear-gradient(180deg,#9ED6FB 0%,#CDEBFD 52%,rgba(205,235,253,0) 100%);border:0;border-radius:0 0 34px 34px;box-shadow:none;padding:30px 20px 34px;text-align:center;margin:0 -6px}
.hh-h{font-size:27px;text-align:center;color:var(--navy)}
.hh-chips{justify-content:center;margin:17px 0 18px}
.hh-chip{display:inline-flex;align-items:center;gap:7px}
.hh-chip svg{width:15px;height:15px;color:var(--blue)}

.hh-bk{border-radius:18px;padding:13px 15px}
/* Popular actions: soft pastel cards */
.pop-row{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}
@media(max-width:760px){.pop-row{display:flex;overflow-x:auto;padding:4px 2px 12px;scrollbar-width:none}.pop-row::-webkit-scrollbar{display:none}.pop-card{flex:0 0 128px}}
.pop-card{border:1.5px solid rgba(255,255,255,.7);border-radius:24px;padding:17px 13px 14px;text-align:left;font:inherit;cursor:pointer;box-shadow:0 10px 22px rgba(10,30,70,.06);transition:transform .16s,box-shadow .16s;display:flex;flex-direction:column;gap:2px}
.pop-card:hover{transform:translateY(-2px);box-shadow:0 16px 30px rgba(10,30,70,.10)}
.pop-card .pop-ic{width:46px;height:46px;border-radius:15px;background:rgba(255,255,255,.85);display:flex;align-items:center;justify-content:center;margin-bottom:10px;box-shadow:0 5px 12px rgba(10,30,70,.07)}
.pop-card .pop-ic svg{width:24px;height:24px}
.pop-card b{display:block;font-size:13.5px;color:var(--navy)}
.pop-card small{display:block;color:#5C6B7F;font-size:11px;margin-top:2px;line-height:1.35}
/* Decorative tints: plain ReplyPilot blue family ONLY (owner, 2026-10-24) —
   light blue fills, blue icon tones. No lilac/amber/rose/steel variety. */
.tint-sky{background:#E3EEFF;color:#2563EB}
.tint-blue{background:#DCE9FD;color:#1D4ED8}
.tint-lilac{background:#E8F1FE;color:#2563EB}
.tint-violet{background:#DFEBFE;color:#1D4ED8}
.tint-azure{background:#E3EEFF;color:#2563EB}
.tint-amber{background:#DCE9FD;color:#1D4ED8}
.tint-steel{background:#E8F1FE;color:#2563EB}
.tint-rose{background:#DFEBFE;color:#1D4ED8}
/* Popular actions ONLY (owner, 2026-10-24): each card gets its own soft pastel
   tint + matching deeper icon colour. Scoped to .pop-card so page-header tiles
   and everything else keep the plain-blue system above. NO green tints. */
.pop-card.tint-sky{background:#E0F2FE;color:#0369A1}
.pop-card.tint-blue{background:#FEF3C7;color:#B45309}
.pop-card.tint-lilac{background:#EDE9FE;color:#6D28D9}
.pop-card.tint-violet{background:#FCE7F1;color:#BE185D}
.pop-card.tint-azure{background:#FFEDD5;color:#C2410C}
.pop-card.tint-amber{background:#E0E7FF;color:#4338CA}
.pop-card.tint-steel{background:#E2E8F0;color:#475569}
.pop-card.tint-rose{background:#F3E8FF;color:#7E22CE}

/* --- Per-page premium system --- */
.pg-old{display:none!important}
.pg-head{display:flex;align-items:center;gap:14px;margin:2px 2px 18px}
.pg-head .pg-ic{width:52px;height:52px;border-radius:17px;display:flex;align-items:center;justify-content:center;flex:none;border:1.5px solid rgba(255,255,255,.75);box-shadow:0 10px 22px rgba(10,30,70,.07)}
.pg-head .pg-ic svg{width:26px;height:26px}
.pg-head h2{font-size:23px;font-weight:800;letter-spacing:-.4px;color:var(--navy);line-height:1.15}
.pg-head p{color:var(--mut);font-size:13.5px;margin-top:2px;line-height:1.45}
.page.pg-in{animation:pgIn .3s ease both}
@keyframes pgIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){.page.pg-in{animation:none}.pop-card{transition:none}}
.card{border-radius:24px;border-color:#E1EDFA;box-shadow:0 14px 34px rgba(10,30,70,.055),0 2px 6px rgba(10,30,70,.03)}
label{font-size:11.5px;letter-spacing:1.1px;text-transform:uppercase;color:#54708F}
input,select,textarea{border-radius:14px;border-color:#D7E6F7;padding:12px 14px}
.rowline{gap:9px;margin-bottom:9px;background:#F8FBFF;border:1px solid #E7F0FA;border-radius:16px;padding:9px}
.rowline input{background:#fff}
.rowline .rm{border-radius:12px;align-self:stretch;height:auto}
.kv:empty{display:none}
#custBot,#custSaved{background:#F8FBFF;border:1.5px dashed #CBDEF8;border-radius:16px;padding:14px 16px}
.saveBtn{border-radius:999px}

.qa-add svg{width:16px;height:16px}
.qa-add:disabled{opacity:.55}

/* Test-your-bot: premium messenger */
.chatbox{border-color:#DCEAF8;border-radius:22px;box-shadow:0 12px 28px rgba(10,30,70,.05)}
.chatlog{background:linear-gradient(180deg,#EAF4FE,#F7FBFF)}
.msg.me{background:#FCE7F1;color:#3D2434;border-bottom-right-radius:5px}
.msg.bot{background:#FFF3D4;color:#3D3420;border:0;box-shadow:0 4px 12px rgba(10,30,70,.05)}
.chatin{padding:12px;gap:10px;align-items:center}
.chatin input{border-radius:999px;background:#F4F9FF;border-color:#DCEAF8}
.chat-send{width:44px;height:44px;border-radius:50%;border:0;background:var(--blue);color:#fff;cursor:pointer;flex:none;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 18px rgba(37,99,235,.32)}
.chat-send svg{width:19px;height:19px}

/* Broadcast audience pill */
.aud-row{margin:11px 0 2px}
.aud-pill{display:inline-flex;align-items:center;gap:8px;background:#EAF3FF;color:var(--blue-d);font-weight:700;font-size:13px;border-radius:999px;padding:7px 14px 7px 11px}
.aud-pill svg{width:16px;height:16px}
.bc-btn{display:inline-flex;align-items:center;gap:9px}
.bc-btn svg{width:18px;height:18px}

/* Pictures tile polish */
.upzone{border-radius:24px}
.upzone .up-ic{background:linear-gradient(135deg,#2F6BFF,#1D4ED8)}
.upzone .up-ic svg{width:27px;height:27px}
.pics .pic{border-radius:16px}

/* --- Calendar: light Zainstudio-style grid + dots --- */
.cal-card{padding:22px}
.calhead{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.caltitle{flex:none;text-align:left;font-size:18px;color:var(--navy)}
.calnav{margin-left:auto;display:flex;gap:7px}
.calbtn{width:36px;height:36px;border-radius:50%;border:1.5px solid #E1EDFA;background:#fff;color:var(--navy);cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(10,30,70,.05)}
.calbtn:hover{border-color:var(--blue);color:var(--blue)}
.calbtn svg{width:17px;height:17px}
.calgrid{gap:5px}
.calgrid .dow{color:#8AA0B8}
.calday{border:0;background:transparent;min-height:56px;display:flex;flex-direction:column;align-items:center;padding:5px 2px;gap:3px;border-radius:14px}
.calday:hover{background:#F2F8FF}
.calday .n{width:32px;height:32px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13.5px;color:var(--navy)}
.calday.dim{background:transparent;opacity:1;cursor:pointer}
.calday.dim .n{color:#B7C7D9}
.calday.today .n{box-shadow:inset 0 0 0 1.8px var(--blue);color:var(--blue);font-weight:800}
.calday.sel{background:transparent}
.calday.sel .n{background:var(--navy);color:#fff;font-weight:800;box-shadow:0 8px 16px rgba(15,42,82,.28)}
.calday .dots{display:flex;gap:3.5px;height:6px;align-items:center}
.calday .dot{width:6px;height:6px;border-radius:50%}
.dot.confirmed{background:var(--blue)}
.dot.pending{background:#F59E0B}
.dot.completed{background:#94A9C4}
.dot.cancelled{background:#D98A8A}
.day-head{display:flex;align-items:center;gap:10px;margin:20px 2px 11px}
.day-head b{font-size:16px;color:var(--navy)}
.addbk{width:34px;height:34px;border-radius:50%;border:0;background:var(--blue);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 8px 16px rgba(37,99,235,.30);flex:none}
.addbk svg{width:16px;height:16px}
.day-list{display:flex;flex-direction:column;gap:9px}
.bk-ev{text-align:left;width:100%;border:1.5px solid rgba(255,255,255,.65);border-radius:18px;padding:13px 15px;font:inherit;cursor:pointer;display:block;box-shadow:0 6px 16px rgba(10,30,70,.045)}
.bk-ev:hover{filter:brightness(.985)}
.bk-ev .bk-t{font-weight:800;font-size:14.5px;color:var(--navy)}
.bk-ev .bk-m{display:flex;align-items:center;gap:6px;color:#5C6B7F;font-size:12.5px;margin-top:4px}
.bk-ev .bk-m svg{width:13px;height:13px;flex:none}
.bk-ev .bk-tag{float:right;font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase;padding:4px 9px;border-radius:99px;background:rgba(255,255,255,.75);color:var(--navy)}
.bk-ev.st-confirmed{background:#E4EEFE}
.bk-ev.st-pending{background:#FCF0DA}
.bk-ev.st-completed{background:#EDF1F6}
.bk-ev.st-cancelled{background:#FAEDED}
.bk-ev.st-cancelled .bk-t{text-decoration:line-through;opacity:.65}
.day-empty{background:#F8FBFF;border:1.5px dashed #CBDEF8;border-radius:16px;padding:16px;color:var(--mut);font-size:14px;text-align:center}

/* Booking edit sheet */
.bk-modal{position:fixed;inset:0;background:rgba(10,25,55,.45);backdrop-filter:blur(3px);z-index:60;display:flex;align-items:flex-end;justify-content:center}
@media(min-width:640px){.bk-modal{align-items:center}}
.bk-sheet{background:#fff;width:min(460px,100%);max-height:92vh;overflow-y:auto;border-radius:26px 26px 0 0;padding:24px 22px 26px;box-shadow:0 -18px 50px rgba(10,30,70,.25);animation:bkUp .3s cubic-bezier(.22,.8,.32,1)}
@media(min-width:640px){.bk-sheet{border-radius:26px}}
@keyframes bkUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion: reduce){.bk-sheet{animation:none}}
.bk-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.bk-top b{font-size:18px;color:var(--navy)}
.bk-x{width:34px;height:34px;border-radius:50%;border:1.5px solid #E1EDFA;background:#fff;color:var(--navy);cursor:pointer;display:flex;align-items:center;justify-content:center}
.bk-x svg{width:15px;height:15px}
.bk-actions{display:flex;gap:10px;margin-top:20px}
.bk-actions .btn{flex:1}

/* Toast */
.toast{position:fixed;left:50%;bottom:26px;transform:translate(-50%,80px);background:var(--navy);color:#fff;border-radius:999px;padding:11px 19px 11px 12px;display:flex;align-items:center;gap:10px;font-weight:700;font-size:14px;box-shadow:0 18px 40px rgba(10,30,70,.35);z-index:80;opacity:0;transition:transform .35s cubic-bezier(.22,.8,.32,1),opacity .3s;pointer-events:none;max-width:92vw}
.toast.show{transform:translate(-50%,0);opacity:1}
.toast-ic{width:26px;height:26px;border-radius:50%;background:var(--blue);display:flex;align-items:center;justify-content:center;flex:none}
.toast-ic svg{width:14px;height:14px}
@media (prefers-reduced-motion: reduce){.toast{transition:none}}

.qa-pic{position:relative;width:118px;min-height:118px;flex:none;border:2px dashed #A9CBF5;background:#fff;border-radius:20px;cursor:pointer;color:var(--blue);display:flex;align-items:center;justify-content:center;overflow:hidden;font:inherit;padding:0}
.qa-pic:hover{border-color:var(--blue)}
@media(max-width:560px){.qa-pic{width:100%;min-height:104px}}
.qa-pic-empty{display:flex;flex-direction:column;align-items:center;gap:7px;font-size:12px;font-weight:700;color:#54708F;padding:12px}
.qa-pic-empty svg{width:30px;height:30px;color:var(--blue)}
.qa-pic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.qa-pic-rm{position:absolute;top:7px;right:7px;width:26px;height:26px;border-radius:50%;background:rgba(10,30,70,.78);color:#fff;display:flex;align-items:center;justify-content:center;z-index:2}
.qa-pic-rm svg{width:13px;height:13px}
.qa-cancel{display:block;margin:11px auto 0;background:none;border:0;font:inherit;font-weight:700;color:#5C6B7F;cursor:pointer;font-size:13.5px}
.qa-cancel:hover{color:var(--blue)}
.svc-row{align-items:center}
.svc-thumb{width:46px;height:46px;border-radius:13px;object-fit:cover;flex:none;border:1px solid #E1EDFA}
.rowline .ed{background:#EAF3FF;color:var(--blue);border:0;border-radius:12px;width:40px;align-self:stretch;cursor:pointer;display:flex;align-items:center;justify-content:center;flex:none}
.rowline .ed svg{width:17px;height:17px}
.rowline .ed:hover{background:#DCEBFD}

/* --- Add product page (reference layout) --- */
.ap-open{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:14px;margin-bottom:16px;font-size:15px;background:var(--blue);box-shadow:0 12px 24px rgba(37,99,235,.25)}
.ap-open svg{width:18px;height:18px}
.ap-top{display:flex;align-items:center;gap:12px;margin:2px 2px 20px}
.ap-back{width:40px;height:40px;border-radius:50%;border:1.5px solid var(--line);background:#fff;color:var(--navy);display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 6px 14px rgba(10,30,70,.06);flex:none;transition:border-color .15s,color .15s}
.ap-back:hover{border-color:var(--blue);color:var(--blue)}
.ap-back svg{width:19px;height:19px}
.ap-title{font-size:16.5px;font-weight:800;color:var(--navy)}
.ap-h{font-size:29px;font-weight:800;letter-spacing:-.6px;line-height:1.18;color:var(--navy);max-width:430px;margin:0 2px 0}
.ap-form{max-width:560px}
.ap-label{display:block;font-size:13.5px;font-weight:800;color:var(--navy);margin:20px 0 8px}
.ap-opt{color:var(--mut);font-weight:600}
.ap-input{font-size:16.5px;padding:14px 16px;border-radius:14px}
.ap-input::placeholder{color:#A7B6C8}
.ap-pic{width:100%;min-height:118px}
.ap-vat{display:flex;background:#E3EEFF;border-radius:999px;padding:4px;gap:4px}
.ap-vat button{flex:1;border:0;background:transparent;font:inherit;font-weight:800;font-size:14.5px;color:#54708F;padding:10px 0;border-radius:999px;cursor:pointer;transition:background .18s,color .18s,box-shadow .18s}
.ap-vat button.on{background:#fff;color:var(--navy);box-shadow:0 4px 12px rgba(10,30,70,.12)}
.ap-submit{width:100%;margin-top:32px;padding:16px;font-size:16px;display:flex;align-items:center;justify-content:center;gap:9px;border-radius:999px;background:var(--blue);box-shadow:0 14px 28px rgba(37,99,235,.30)}
.ap-submit svg{width:19px;height:19px}
@media (prefers-reduced-motion: reduce){.ap-vat button,.ap-back{transition:none}}

/* --- Add / edit answer page (same premium pattern as Add product) --- */
.aa-area{resize:vertical;min-height:150px;line-height:1.55}
.aa-delete{display:block;margin:16px auto 0;background:none;border:0;font:inherit;font-weight:700;font-size:13.5px;color:#B3261E;cursor:pointer;padding:6px 10px}
.aa-delete:hover{text-decoration:underline}
.faq-empty{padding:6px 2px 2px}

/* ============================================================
   RESPONSIVE FIT PASS (2026-10-24): every screen fitted to
   the phone — no horizontal overflow at 320-430px, calm
   centred max-widths on desktop, fluid headlines, >=40px
   tap targets, safe-area insets for notches/home indicators.
   ============================================================ */
body{overflow-x:hidden;overflow-x:clip;overflow-wrap:break-word}
img{max-width:100%;height:auto}
svg{max-width:100%}
.kv,.mp-bub,footer{overflow-wrap:anywhere}
.rowline input,.chatin input,.ob-svc-row input{min-width:0}
.hero-t{font-size:clamp(25px,7vw,30px)}
.hh-h{font-size:clamp(23px,6.2vw,27px)}
.ap-h{font-size:clamp(24px,7vw,29px)}
.ob-h{font-size:clamp(22px,6vw,26px)}
#page-addproduct,#page-addanswer{max-width:560px;margin:0 auto}
.ap-form{margin:0 auto}
.hh-chip{min-height:40px}
.calbtn{width:40px;height:40px}
.addbk{width:40px;height:40px}
.bk-x{width:40px;height:40px}
.ob-back,.ob-more{width:40px;height:40px}
.qa-pic-rm{width:30px;height:30px}
.saverow{flex-wrap:wrap}
.hh-sec{flex-wrap:wrap;gap:6px}
header{padding-top:env(safe-area-inset-top,0px)}
.toast{bottom:calc(26px + env(safe-area-inset-bottom,0px))}
.bk-sheet{padding-bottom:calc(26px + env(safe-area-inset-bottom,0px))}
.ap-submit{margin-bottom:env(safe-area-inset-bottom,0px)}
footer{padding-bottom:calc(40px + env(safe-area-inset-bottom,0px))}
@media(max-width:480px){
  main{padding:26px 14px 60px}
  .hwrap{padding:10px 14px}
  .card{padding:20px 16px}
  .calgrid{gap:4px}
  .calday{min-height:50px;padding:4px 1px}
  .calday .n{width:28px;height:28px;font-size:12.5px}
  .chatlog{height:260px}
  #obView .mini-phone{width:232px}
}
@media(max-width:400px){
  .ob-tools{grid-template-columns:repeat(2,1fr)}
}

/* ============================================================
   OWNER CORRECTION PASS (2026-10-24): onboarding fit, pinned
   submit bars, spacing / declutter audit.
   ============================================================ */

/* --- Onboarding fit: the card uses the available height
   deliberately. Steps are equal-height flex columns; the
   progress header stays at top and the primary Continue
   anchors to a consistent footer zone (margin-top:auto),
   so the button sits in the same place on every step. --- */
#obView .ob-col{display:flex;flex-direction:column;min-height:calc(100vh - 150px);min-height:calc(100dvh - 150px)}
.ob-step.on{display:flex;flex-direction:column;flex:1}
.ob-step>*{flex:none}
.ob-step .ob-opts,.ob-step .ob-tools,.ob-step .ob-fields,.ob-step .ob-svcs{margin-bottom:26px}
#obView .mini-phone{margin-bottom:26px}
.ob-step .ob-note{margin-bottom:26px}
.ob-step .ob-next{margin-top:auto}

/* --- Add product / add answer: the primary submit is pinned
   to the bottom of the screen; content scrolls above it. --- */
#page-addproduct .ap-submit,#page-addanswer .ap-submit{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:5}

/* --- Add product balance pass (owner, 2026-10-24): one even
   20px label rhythm (above), the picture tile capped to a
   deliberate height on the same full-width grid as the fields,
   calm air under the form's end state, and a soft page-colour
   halo above the stuck submit so fields sliding beneath it
   fade out instead of colliding with the pill. --- */
#page-addproduct{padding-bottom:34px}
#page-addproduct .qa-pic{min-height:108px}
#page-addproduct .ap-submit{box-shadow:0 -16px 22px 8px rgba(248,250,252,.94),0 14px 28px rgba(37,99,235,.30)}

/* --- Declutter audit: generous, consistent breathing room.
   Phone side padding 16-20px everywhere; clear vertical
   rhythm; option rows, cards and list rows never pressed
   together. No features, labels or behaviour changed. --- */
.pg-head{margin-bottom:20px}
.ob-opts{gap:12px}
.ob-tools{gap:12px}
.ob-svc-row{gap:10px}
.rowline{gap:10px;margin-bottom:10px;padding:10px}
.hh-chips{gap:10px}
.hh-bks{gap:10px}
.pop-row{gap:12px}
.day-list{gap:10px}
.chatlog{gap:10px}
.pics{gap:14px}
@media(max-width:480px){
  main{padding:26px 16px 64px}
  .card{padding:22px 18px}
}

/* ============================================================
   AUTH RESTORE — option A two-column (owner, 2026-10-24;
   replaces the split-card arrangement). Desktop: LEFT blue
   gradient brand panel (little logo, headline, poster phone)
   and RIGHT white form card as two separate columns — the
   centred single card, "Login to" eyebrow card treatment and
   bottom logo lockup are gone. Mobile: one clean column,
   brand panel hidden, form only on the light background.
   Layout only: every id, input, button and handler is as it
   was; phone-safe basics (box-sizing, no overflow) kept.
   ============================================================ */
body.auth-light main{max-width:1120px}
#authView .auth-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:54px;align-items:center;max-width:1080px;margin:0 auto;background:transparent;border:0;border-radius:0;overflow:visible;box-shadow:none}
#authView .auth-brand{background:linear-gradient(165deg,#38BDF8 0%,#2563EB 58%,#1D4ED8 100%);border-radius:28px;padding:40px 32px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:24px;box-shadow:0 30px 60px rgba(10,35,90,.25)}
#authView .auth-brand .mini-phone{margin-top:0;width:272px;transform:rotate(-1.5deg)}
.auth-b-logo{width:54px;height:54px;border-radius:15px;display:block;border:3px solid rgba(255,255,255,.85);box-shadow:0 12px 26px rgba(10,35,90,.25)}
.auth-b-head{color:#fff;font-size:23px;font-weight:800;letter-spacing:-.4px;line-height:1.3;text-align:center;max-width:320px}
.auth-b-head span{color:#BFDBFE}
#authView .auth-card.card{background:rgba(255,255,255,.97);border:1px solid #DCE9F7;border-radius:24px;box-shadow:0 18px 40px rgba(16,42,90,.10);margin:0;padding:34px 36px 28px;display:block}
#authView input,#authView select{background:#F8FBFF;border:1.5px solid #D7E6F7}
@media(max-width:860px){
  #authView .auth-grid{grid-template-columns:1fr;max-width:520px}
  #authView .auth-brand{display:none}
  #authView .auth-card.card{padding:28px 22px 24px}
}

/* ============================================================
   TOP BAR FIX + SERVICES SIGNATURE (owner, 2026-10-24)
   ============================================================ */

/* --- Header: one clean row on every page. Wordmark left, a
   quiet "Welcome, {name}" as small secondary text (dashboard
   only — hidden while logged out), actions right. Nothing
   wraps, tap targets are 40px, sticky offsets unchanged
   (header 58px, tab row sticks at top:64px as before). --- */
.hwrap{min-height:58px}
.h-wel{font-size:13px;font-weight:600;color:var(--mut);white-space:nowrap;margin-left:16px}
.h-wel #whoName{color:var(--ink);font-weight:800}
body.auth-light .h-wel{display:none}
/* App header logo (owner, 2026-10-24): the ReplyPilot squircle mark
   sits left of the wordmark in the DASHBOARD header only — it stays
   hidden on the auth screens, which keep their own hero logo. */
.hwrap img.h-logo{width:30px;height:30px;border-radius:9px;display:none}
body:has(#dashView:not(.hidden)) .hwrap img.h-logo{display:block}
header .btn.small{min-height:40px}
@media(max-width:640px){.h-wel{display:none}}

/* --- Services & prices: its own signature style, in the
   spirit of the "Add a shiny new product" reference — big
   type, spacious minimal rows, one statement add block. --- */
#page-services .pg-head{display:none}
#page-services #addSvc{display:none}
.svc-hero{margin:4px 2px 20px}
.svc-h{font-size:clamp(27px,7.4vw,34px);font-weight:800;letter-spacing:-.7px;line-height:1.15;color:var(--navy)}
.svc-h span{color:var(--blue)}
.svc-sub{color:var(--mut);font-size:14.5px;margin-top:7px;line-height:1.5}
#page-services .card{padding:26px 24px}
#page-services .ap-open{background:#F2F8FF;border:2px dashed #A9CBF5;color:var(--blue-d);box-shadow:none;border-radius:20px;padding:22px 18px;font-size:16.5px;margin-bottom:20px}
#page-services .ap-open:hover{background:#EAF3FF;border-color:var(--blue)}
.svc-row{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1.5px solid #E7F0FA;border-radius:20px;padding:16px;margin-bottom:12px;box-shadow:0 6px 18px rgba(10,30,70,.04)}
.svc-main{flex:1;display:flex;flex-direction:column;gap:3px;min-width:0}
.svc-main input{border:0;background:transparent;padding:3px 4px;border-radius:8px;width:100%;box-shadow:none}
.svc-main input:focus{outline:none;box-shadow:0 0 0 3px rgba(37,99,235,.15);background:#F8FBFF}
.svc-in-name{font-size:16.5px;font-weight:800;color:var(--navy)}
.svc-in-price{font-size:15px;font-weight:800;color:var(--blue)}
.svc-in-note{font-size:13px;color:var(--mut)}
.svc-thumb{width:52px;height:52px;border-radius:15px}
.svc-tile{width:52px;height:52px;border-radius:15px;background:#E3EEFF;color:var(--blue);display:flex;align-items:center;justify-content:center;flex:none}
.svc-tile svg{width:26px;height:26px}
.svc-row .ed{background:transparent;align-self:center;width:40px;height:40px}
.svc-row .ed:hover{background:#EAF3FF}
.svc-row .rm{background:transparent;color:#C0564F;align-self:center;width:38px;height:38px}
.svc-row .rm:hover{background:#FDECEC}
.svc-empty{text-align:center;padding:28px 12px 22px}
.svc-empty b{display:block;font-size:19px;color:var(--navy);margin-bottom:5px}
.svc-empty span{color:var(--mut);font-size:14px;line-height:1.5}

/* ============================================================
   AUTH — OPTION B (owner, 2026-10-24; supersedes the two-
   column restore): the light, simple auth. Sky gradient
   background (body.auth-light, unchanged), slim translucent
   header, small logo + headline above ONE slim white card
   (max 440px, soft shadow) holding the forms. No brand
   panel, no poster phone, no split card, no bottom lockup.
   ============================================================ */
#authView .auth-grid{display:block;max-width:440px;margin:0 auto;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.auth-top{text-align:center;padding:8px 0 2px}
.auth-top img{width:54px;height:54px;border-radius:15px;box-shadow:0 10px 24px rgba(16,42,90,.14);border:3px solid rgba(255,255,255,.9)}
.auth-top .auth-headline{font-size:30px;margin:14px auto 8px;max-width:520px}
.auth-top-sub{color:#33506E;font-size:14.5px;line-height:1.55;max-width:420px;margin:0 auto}
#authView .auth-card.card{max-width:440px;margin:20px auto 0;background:rgba(255,255,255,.97);border:1px solid #DCE9F7;border-radius:24px;box-shadow:0 18px 40px rgba(16,42,90,.10);padding:26px 26px 22px;display:block}
@media(max-width:860px){
  #authView .auth-grid{max-width:440px}
  #authView .auth-card.card{padding:24px 20px 20px}
}

/* ============================================================
   ONBOARDING TOP BAR (owner, 2026-10-24): circular back
   (left, hidden on step 1 as before), restyled step
   identification (centre), circular X close (right) that
   exits with the same save-and-finish semantics as Skip.
   Segments: plain blue filled = done/current, light
   blue-grey track = upcoming; "Step N of 7" caption below.
   ============================================================ */
.ob-top{align-items:center;min-height:40px}
.ob-back svg{width:18px;height:18px;display:block}
.ob-x{width:40px;height:40px;border-radius:50%;background:#fff;border:1px solid #E1EDFA;color:var(--ink);display:flex;align-items:center;justify-content:center;cursor:pointer;flex:none;box-shadow:0 4px 12px rgba(10,30,70,.05);font:inherit;padding:0}
.ob-x:hover{border-color:#B9D4F8;color:var(--blue)}
.ob-x svg{width:16px;height:16px;display:block}
.ob-segs{gap:6px}
.ob-segs span{height:9px;border-radius:99px;background:#D8E6F5}
.ob-segs span.fill{background:var(--blue)}
.ob-count{margin-top:8px;text-align:center}

/* ============================================================
   ONBOARDING — FULL SCREEN, ONE SCREEN PER STEP (owner,
   2026-10-24; supersedes the panel look above AND the item-10
   circular buttons): no container card — the step content
   sits directly on ONE full-screen sky-to-white surface.
   Top bar per the owner's reference image: bare navy chevron
   (left), centred row of short dash segments (blue = passed/
   current, light blue-grey = upcoming), bare navy X (right).
   Each step fits inside 100dvh — content compresses before
   anything scrolls; only the services list may scroll
   internally as a last resort.
   ============================================================ */
#obView{position:fixed;inset:0;z-index:80;height:100dvh;background:#FBFCFE;border:0;border-radius:0;box-shadow:none;padding:calc(10px + env(safe-area-inset-top,0px)) 20px calc(14px + env(safe-area-inset-bottom,0px));overflow:hidden;overscroll-behavior:none}
#obView .ob-col{display:flex;flex-direction:column;height:100%;min-height:0;width:100%}
#obView .ob-top{flex:none;display:flex;align-items:center;gap:8px;margin:0 0 10px;min-height:44px}
#obView .ob-back{background:transparent;border:0;box-shadow:none;color:var(--navy);width:44px;height:44px}
#obView .ob-back svg{width:25px;height:25px}
#obView .ob-x{background:transparent;border:0;box-shadow:none;color:var(--navy);width:44px;height:44px}
#obView .ob-x svg{width:24px;height:24px}
#obView .ob-prog{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:center}
#obView .ob-segs{gap:4px;justify-content:center}
#obView .ob-segs span{width:18px;height:3px;border-radius:99px;background:#C7DAF0}
#obView .ob-segs span.fill{background:var(--blue)}
#obView .ob-count{display:none}
#obView .ob-step.on{display:flex;flex-direction:column;flex:1;min-height:0}
#obView .ob-head{margin-bottom:16px}
#obView .ob-head h2{font-size:25px}
#obView .ob-illo{margin-bottom:14px}
#obView .ob-logo-c{width:68px;height:68px}
#obView .mini-phone{max-width:225px;margin-bottom:14px}
#obView .ob-opts{gap:10px;margin-bottom:14px}
#obView .ob-opt{padding:12px 14px}
#obView .ob-tools{gap:10px;margin-bottom:14px}
#obView .ob-tool{padding:14px 10px 12px}
#obView .ob-field{margin-bottom:12px}
#obView .ob-field input,#obView .ob-field select{padding:12px 14px}
#obView .ob-svcs{min-height:0;overflow-y:auto}
#obView .bigcheck{width:76px;height:76px}
#obView .ob-sum{margin-bottom:14px}
#obView .ob-sum .ob-srow{padding:10px 14px}
#obView .ob-skiprow{margin-top:10px}

/* ============================================================
   SINGLE SURFACE (owner, 2026-10-24): no blue-on-blue. While
   the dashboard is showing, the page background is a clean
   plain neutral — the sky gradient belongs to the auth
   screens only. Blue lives in buttons, active states and
   small accents; the Home hero keeps its own single sky
   gradient (the approved look) on top of the plain page.
   Also: the tab row's sticky offset is aligned to the real
   header height (58px bar + 1px border = 59px) so the two
   bars sit flush with no dead gap or overlap.
   ============================================================ */
body.auth-light:has(#dashView:not(.hidden)){background:#F8FAFC}
.pagenav{top:59px}

/* ============================================================
   STEP 1 — OWNER REFERENCE LAYOUT (item 11, 2026-10-24):
   no logo (removed from the markup), poster phone as the
   centred hero, "Skip ›" top-right (same Skip behaviour),
   slim dashes centred just above the big blue Continue in
   the bottom zone. Steps 2-7 keep the back/dashes/X bar.
   Plus: the app font is locked across the whole onboarding.
   ============================================================ */
#obView{font-family:'Plus Jakarta Sans',system-ui,-apple-system,'Segoe UI',sans-serif}
#obView button,#obView input,#obView select,#obView textarea{font-family:inherit}
.ob-skip-top{display:none;background:none;border:0;font-size:14px;font-weight:700;color:#44597A;cursor:pointer;padding:10px 2px;min-height:44px;flex:none}
#obView.on-step1 .ob-skip-top{display:block}
#obView.on-step1 .ob-prog{visibility:hidden}
#obView.on-step1 #obClose{display:none}
#obView [data-step="1"] .ob-skip{display:none}
#obView [data-step="1"] .mini-phone{max-width:250px;margin-top:12px}
#obView [data-step="1"] .ob-next{margin-top:0}
#obView [data-step="1"] .ob-sub{margin-top:8px;font-size:15.5px;font-weight:600;color:#33455E}
#obView [data-step="1"] .ob-h{font-size:31px;line-height:1.18}
.ob-dashes-bot{display:flex;gap:2px;justify-content:center;margin-top:20px;margin-bottom:12px}
.ob-dot{width:26px;height:18px;background:transparent;border:0;cursor:pointer;position:relative;padding:0;flex:none}
.ob-dot::before{content:"";position:absolute;left:4px;right:4px;top:50%;height:3px;margin-top:-1.5px;border-radius:99px;background:#C7DAF0;transition:background .3s}
.ob-dot.fill::before{background:var(--blue)}
.ob-carousel{position:relative;margin:30px 0 0;flex:none}
#obView .ob-carousel{flex:1 1 auto;min-height:256px}
.ob-slide{position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;opacity:0;transform:translateX(16px) scale(.985);transition:opacity .5s ease,transform .5s ease;pointer-events:none}
.ob-slide.on{opacity:1;transform:none;pointer-events:auto}
.ob-car-tile{width:256px;height:256px;border-radius:40px;background:#E9F2FE;box-shadow:inset 0 0 0 1px #DCE9F7,0 18px 36px rgba(16,42,90,.08);display:flex;align-items:center;justify-content:center}
.ob-car-tile svg{width:226px;height:226px;display:block}
.ob-feat-cap{display:flex;flex-direction:column;align-items:center;gap:11px;text-align:center;flex:none;margin-top:31px}
.ob-feat-cap b{font-size:33px;font-weight:800;color:var(--navy);letter-spacing:-.7px;line-height:1.14}
.ob-feat-cap span{font-size:17.5px;font-weight:600;color:#33455E;line-height:1.4}
.ob-feat-cap.swap{animation:capFade .45s ease both}
@keyframes capFade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media (max-height:830px){.ob-carousel{margin:20px 0 0}#obView .ob-carousel{min-height:226px}.ob-car-tile{width:226px;height:226px}.ob-car-tile svg{width:200px;height:200px}.ob-feat-cap{margin-top:26px;gap:10px}.ob-feat-cap b{font-size:29px}.ob-feat-cap span{font-size:16px}.ob-dashes-bot{margin-top:16px}#obView [data-step="1"] .ob-sub{margin-top:7px;font-size:15px}#obView [data-step="1"] .ob-h{font-size:28px}}
@media (prefers-reduced-motion: reduce){.ob-slide{transition:none}.ob-feat-cap.swap{animation:none}}
@media (max-height:830px){#obView [data-step="1"] .mini-phone{max-width:230px}}
.svc-row{position:relative}
.svc-row .svc-main{padding-right:44px}
.svc-row .ed{position:absolute;top:12px;right:12px}
.svc-row .rm{position:absolute;top:54px;right:13px}
@media (max-height:830px){
  #obView .ob-ready{margin:2px auto 12px}
  #obView .ob-check{width:64px;height:64px}
  #obView .ob-sum{margin-top:12px;margin-bottom:8px}
  #obView .ob-sum .ob-srow{padding:8px 14px}
  #obView [data-step="7"] .ob-h{font-size:23px}
  #obView [data-step="7"] .ob-sub{margin-top:5px}
  #obView [data-step="7"] .ob-note{margin-top:10px;margin-bottom:10px;font-size:12.5px}
  #obView [data-step="7"] .ob-sum{min-height:0;overflow-y:auto}
}

/* ============================================================
   MOTION PASS (owner, 2026-10-24): skeleton loading, smooth
   effects and micro-animations on every action — premium and
   60fps (transform/opacity only, 150–300ms ease-out family).
   Design decisions are NOT changed: tab active-state swaps
   stay instant (only a tiny press scale is added), no glow or
   platform shadows anywhere. EVERYTHING below is neutralised
   under prefers-reduced-motion (final block of this file).
   ============================================================ */
:root{--ease-out:cubic-bezier(.22,.8,.32,1);--ease-spring:cubic-bezier(.34,1.56,.64,1)}

/* --- Page transitions: the existing fade+rise, standardised
   to ~240ms ease-out on every page switch. --- */
.page.pg-in{animation:pgIn .24s var(--ease-out) both}

/* --- Press feedback: subtle scale on tap/click, everywhere --- */
.btn{transition:transform .15s var(--ease-out),background-color .2s ease}
.btn:active{transform:scale(.97)}
.btn:disabled:active,.btn.busy:active{transform:none}
.hh-chip{transition:transform .15s var(--ease-out),border-color .15s,color .15s}
.hh-chip:active{transform:scale(.96)}
.pop-card:active{transform:scale(.975)}
.bk-ev{transition:transform .15s var(--ease-out),filter .15s}
.bk-ev:active{transform:scale(.985)}
.pagenav button{transition:transform .12s var(--ease-out)}
.pagenav button:active{transform:scale(.95)}
.calday{transition:background .15s ease,transform .12s var(--ease-out)}
.calday:active{transform:scale(.93)}
.calbtn,.bk-x,.ap-back,.qa-pic-rm{transition:transform .14s var(--ease-out),border-color .15s,color .15s,background .15s}
.calbtn:active,.bk-x:active,.ap-back:active,.qa-pic-rm:active{transform:scale(.9)}
.addbk{transition:transform .14s var(--ease-out)}
.addbk:active{transform:scale(.9)}
.chat-send{transition:transform .15s var(--ease-out),background .2s}
.chat-send:active{transform:scale(.9)}
.ob-opt{transition:border-color .18s,background .18s,transform .15s var(--ease-out)}
.ob-opt:active{transform:scale(.985)}
.ob-tool{transition:border-color .18s,background .18s,box-shadow .18s,transform .15s var(--ease-out)}
.ob-tool:active{transform:scale(.97)}
.ap-vat button{transition:background .18s,color .18s,box-shadow .18s,transform .14s var(--ease-out)}
.ap-vat button:active{transform:scale(.96)}
.qa-pic,.upzone{transition:border-color .15s,background .15s,transform .15s var(--ease-out)}
.qa-pic:active,.upzone:active{transform:scale(.995)}

/* --- Onboarding select micro-pops: ring/check/icon settle in --- */
.ob-opt.sel .ob-radio{animation:radioPop .32s var(--ease-spring) both}
.ob-opt.sel .ob-ic{animation:popIn .3s var(--ease-spring) both}
.ob-tool.sel::after{animation:popIn .3s var(--ease-spring) both}
@keyframes radioPop{0%{transform:scale(.55)}60%{transform:scale(1.18)}100%{transform:scale(1)}}
@keyframes popIn{0%{transform:scale(.4);opacity:0}100%{transform:scale(1);opacity:1}}

/* --- Primary button sheen sweep on hover (desktop pointers
   only; a light sweep, never a glow or shadow). Dashboard and
   onboarding buttons; the auth submit keeps its own gradient. --- */
@media(hover:hover) and (pointer:fine){
  #dashView .btn:not(.ghost),#obView .btn:not(.ghost){background-image:linear-gradient(115deg,rgba(255,255,255,0) 32%,rgba(255,255,255,.26) 50%,rgba(255,255,255,0) 68%);background-size:260% 100%;background-position:130% 0;transition:background-position .55s ease,transform .15s var(--ease-out),background-color .2s ease}
  #dashView .btn:not(.ghost):hover,#obView .btn:not(.ghost):hover{background-position:-130% 0}
  #dashView .btn.ghost,#obView .btn.ghost,header .btn.ghost{background-image:linear-gradient(115deg,rgba(37,99,235,0) 32%,rgba(37,99,235,.09) 50%,rgba(37,99,235,0) 68%);background-size:260% 100%;background-position:130% 0;transition:background-position .55s ease,transform .15s var(--ease-out),background-color .2s ease}
  #dashView .btn.ghost:hover,#obView .btn.ghost:hover,header .btn.ghost:hover{background-position:-130% 0}
}

/* --- Inline button loading state: spinner + soft busy tone.
   The action itself still fires immediately; this is purely
   feedback while the request is in flight. --- */
.btn.busy{pointer-events:none;filter:saturate(.85)}
.spin{width:15px;height:15px;border-radius:50%;border:2.5px solid rgba(255,255,255,.35);border-top-color:#fff;animation:rotSpin .7s linear infinite;display:inline-block;flex:none;margin-right:8px;vertical-align:-2px}
.btn.ghost .spin{border-color:rgba(37,99,235,.25);border-top-color:var(--blue)}
@keyframes rotSpin{to{transform:rotate(360deg)}}

/* --- Success morph: a drawn check + label ("Saved" / "Sent")
   shown briefly on the button after a successful action. --- */
.ckdraw{width:18px;height:18px;display:inline-block;vertical-align:-3px;margin-right:7px}
.ckdraw path{stroke-dasharray:24;stroke-dashoffset:24;animation:ckDraw .45s ease .05s forwards}
@keyframes ckDraw{to{stroke-dashoffset:0}}

/* --- Skeleton loading: soft grey-blue placeholders in the
   real layout geometry, with a gentle shimmer sweep. --- */
.skel{position:relative;overflow:hidden;background:#E2ECF9;border-radius:14px;flex:none}
.skel::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(255,255,255,0) 25%,rgba(255,255,255,.7) 50%,rgba(255,255,255,0) 75%);transform:translateX(-100%);animation:skelShimmer 1.5s ease-in-out infinite}
@keyframes skelShimmer{to{transform:translateX(100%)}}
#bootSkel{display:flex;flex-direction:column;gap:14px}
.skel-hero{height:158px;border-radius:26px}
.skel-line{height:16px;width:55%}
.skel-line.w40{width:40%}
.skel-pop{display:grid;grid-template-columns:repeat(4,1fr);gap:11px}
@media(max-width:760px){.skel-pop{grid-template-columns:repeat(2,1fr)}}
.skel-card{height:104px;border-radius:24px}
.skel-row{height:58px;border-radius:18px}
#dashView.booting .sub2,#dashView.booting .pagenav{visibility:hidden}

/* --- Booking sheet: backdrop fades in with the sheet's rise --- */
.bk-modal{animation:bkFade .22s ease both}
@keyframes bkFade{from{opacity:0}to{opacity:1}}

/* --- Test-your-bot: messages settle in; typing indicator
   while the bot's reply is on its way. --- */
.msg{animation:msgIn .28s var(--ease-out) both}
@keyframes msgIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.msg.typing{display:inline-flex;gap:5px;align-items:center;padding:15px 16px}
.tdot{width:7px;height:7px;border-radius:50%;background:#7FA8E0;animation:tblink 1.2s ease-in-out infinite}
.tdot:nth-child(2){animation-delay:.15s}
.tdot:nth-child(3){animation-delay:.3s}
@keyframes tblink{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-2px)}}

/* --- Reduced motion: neutralise the whole motion system.
   Skeletons stay as static placeholders (no shimmer sweep),
   press scales and entrances become instant, content is
   never left hidden waiting on an animation. --- */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .skel::after{display:none}
  .spin{display:none}
}
