/* Montréal & West Island Citizen Portal — design system. No framework. Light theme only (wip32: forced color-scheme:light so iOS/Android dark mode can't produce white-on-white controls). WCAG AA colours. */
:root{
  --teal:#0e7490;--teal-600:#0891b2;--indigo:#4f46e5;--indigo-700:#4338ca;
  --brand:var(--teal);--brand2:var(--teal);--accent:#0e7490;
  --bg:#f5f7fb;--bg2:#eef2f7;--card:#fff;--ink:#0f172a;--muted:#526077;--line:#e2e8f0;--line2:#cbd5e1;
  --ok:#15803d;--warn:#a15c07;--bad:#b91c1c;--ad:#8a5a00;
  --r:16px;--r-sm:12px;--sh1:0 1px 2px rgba(15,23,42,.05),0 1px 3px rgba(15,23,42,.06);--sh2:0 10px 30px -10px rgba(15,23,42,.18),0 4px 10px -4px rgba(15,23,42,.08);
  --glass:rgba(255,255,255,.72);--ring:0 0 0 3px rgba(79,70,229,.35);--ease:cubic-bezier(.2,.8,.2,1);
  --grad:linear-gradient(135deg,var(--teal) 0%,var(--indigo) 100%);
  --soft-ok:#dcfce7;--soft-warn:#fef3c7;--soft-bad:#fee2e2;--soft-info:#e0e7ff;--soft-teal:#cffafe;
}

:root{color-scheme:light}
*{box-sizing:border-box}html,body{margin:0}html{-webkit-text-size-adjust:100%}
body{font:16px/1.55 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--bg);-webkit-font-smoothing:antialiased;
  background-image:radial-gradient(1200px 400px at 10% -10%,color-mix(in srgb,var(--accent) 10%,transparent),transparent),radial-gradient(900px 400px at 110% 0,rgba(79,70,229,.08),transparent);background-attachment:fixed}
a{color:var(--indigo-700)}
button,input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:none;box-shadow:var(--ring);border-radius:10px}
.i{flex:none;vertical-align:middle}
/* header: glass */
.top{position:sticky;top:0;z-index:1000;background:var(--glass);backdrop-filter:saturate(180%) blur(14px);-webkit-backdrop-filter:saturate(180%) blur(14px);border-bottom:1px solid var(--line);color:var(--ink)}
.top-in{max-width:1180px;margin:auto;display:flex;align-items:center;gap:8px;padding:10px 14px;padding-top:max(10px,env(safe-area-inset-top))}
.brand{color:var(--ink);text-decoration:none;font-weight:700;flex:1;display:flex;align-items:center;justify-content:center;gap:9px;font-size:15px;line-height:1.2;letter-spacing:-.01em}
.mark{display:inline-grid;place-items:center;width:30px;height:30px;border-radius:9px;background:var(--grad);color:#fff;font-size:12px;font-weight:800;box-shadow:var(--sh1);flex:none}
.nav-l,.nav-r{display:flex;gap:6px;align-items:center}
.hbtn{background:var(--bg2);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:6px 11px;cursor:pointer;white-space:nowrap;font-size:14px;font-weight:500;transition:background .15s,transform .15s var(--ease)}
.hbtn:hover{background:var(--line)}.hbtn:active{transform:scale(.96)}
#acct a{color:var(--ink);font-size:14px;margin-left:8px;white-space:nowrap;text-decoration:none;font-weight:500;opacity:.85}#acct a:hover{opacity:1;text-decoration:underline}
/* layout */
.wrap{max-width:1180px;margin:auto;display:flex;gap:24px;padding:20px 14px 30px}
main{flex:1;min-width:0;max-width:760px;margin:auto;padding-bottom:96px}
aside{display:none;width:260px;flex:none}
@media(min-width:900px){aside.has{display:block}.ad-inline{display:none!important}main{margin:0}.wrap.noaside main{margin:auto}}
h1{font-size:1.65rem;line-height:1.2;letter-spacing:-.02em;margin:.2em 0 .6em}h2{font-size:1.15rem;letter-spacing:-.01em;margin:1.1em 0 .5em}h3{letter-spacing:-.01em}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:18px;margin-bottom:16px;box-shadow:var(--sh1)}
.muted{color:var(--muted);font-size:.93rem}.small{font-size:.86rem}
/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--teal);color:#fff;border:0;border-radius:12px;padding:12px 18px;cursor:pointer;text-decoration:none;font-weight:600;text-align:center;box-shadow:0 1px 0 rgba(255,255,255,.15) inset,0 6px 16px -6px color-mix(in srgb,var(--teal) 70%,transparent);transition:transform .15s var(--ease),filter .15s,box-shadow .15s}
.btn:hover{filter:brightness(1.07)}.btn:active{transform:translateY(1px) scale(.99)}
.btn.sec{background:var(--card);color:var(--ink);border:1px solid var(--line2);box-shadow:var(--sh1)}.btn.ghost{background:transparent;color:var(--indigo-700);padding:8px 4px;box-shadow:none}
.btn.block{display:flex;width:100%;margin:8px 0}.btn:disabled{opacity:.5;cursor:not-allowed}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.row>*{flex:1}
/* forms */
label{display:block;font-weight:600;margin:12px 0 6px;font-size:.93rem}
input[type=text],input[type=email],input[type=password],input[type=number],input[type=url],input[type=date],input[type=search],select,textarea{width:100%;padding:12px 14px;border:1px solid var(--line2);border-radius:12px;background:var(--card);transition:border-color .15s,box-shadow .15s}
input:focus,select:focus,textarea:focus{outline:none;border-color:var(--indigo);box-shadow:var(--ring)}
input[type=checkbox]{accent-color:var(--teal);width:18px;height:18px}
textarea{min-height:100px;resize:vertical}
/* chips & tiles */
.chips{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0}
.chip{border:1px solid var(--line2);background:var(--card);border-radius:999px;padding:7px 14px;cursor:pointer;font-size:.92rem;transition:all .15s var(--ease)}
.chip:hover{border-color:var(--teal)}.chip.on{background:var(--teal);color:#fff;border-color:var(--teal)}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}@media(min-width:560px){.tiles{grid-template-columns:repeat(3,1fr)}}
.tile{display:flex;flex-direction:column;gap:10px;align-items:flex-start;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px;text-decoration:none;color:var(--ink);font-weight:600;cursor:pointer;box-shadow:var(--sh1);transition:transform .18s var(--ease),box-shadow .18s,border-color .18s}
.tile:hover{transform:translateY(-2px);box-shadow:var(--sh2);border-color:color-mix(in srgb,var(--accent) 45%,var(--line))}
.tile .ic{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:12px;background:color-mix(in srgb,var(--accent) 14%,transparent);color:var(--accent);font-size:1.35rem}

.askbox{display:flex;gap:8px}.askbox input{flex:1}
.askcard .btn{display:flex;align-items:center;justify-content:center;gap:8px}
.mic{display:inline-grid;place-items:center;background:var(--card);border:1px solid var(--line2);border-radius:12px;padding:0 13px;min-width:46px;cursor:pointer;font-size:1.1rem;transition:all .15s}
.mic.rec{background:var(--soft-bad);border-color:var(--bad);animation:pulse 1.2s infinite}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(220,38,38,.35)}50%{box-shadow:0 0 0 8px rgba(220,38,38,0)}}
.strip{display:block;background:var(--soft-teal);border-left:4px solid var(--teal);padding:12px 14px;border-radius:12px;text-decoration:none;color:var(--ink)}
.banner{background:var(--soft-warn);border:1px solid color-mix(in srgb,var(--warn) 30%,transparent);border-radius:12px;padding:10px 13px;font-size:.9rem;margin-bottom:14px}
.banner.ex{background:var(--soft-bad);border-color:color-mix(in srgb,var(--bad) 30%,transparent);font-weight:600}
/* chat */
.chatlog{display:flex;flex-direction:column;gap:10px;min-height:200px;margin-bottom:12px}
.bub{max-width:85%;padding:10px 14px;border-radius:18px;animation:pop .22s var(--ease);word-wrap:break-word;line-height:1.45}
.bub.me{align-self:flex-end;background:var(--grad);color:#fff;border-bottom-right-radius:6px;box-shadow:var(--sh1)}
.bub.ai{align-self:flex-start;background:var(--card);border:1px solid var(--line);border-bottom-left-radius:6px;box-shadow:var(--sh1)}
.bub.ai.notice{background:var(--soft-info);border-color:transparent}
.bub .tag{font-size:.74rem;color:var(--warn);font-weight:700;display:block;margin-bottom:4px;text-transform:uppercase;letter-spacing:.04em}
.bub .chip.small{margin-top:6px;padding:4px 10px;font-size:.8rem}
.typing{display:flex;gap:5px;padding:14px 16px}.typing i{width:7px;height:7px;border-radius:50%;background:var(--muted);opacity:.5;animation:blink 1.2s infinite}.typing i:nth-child(2){animation-delay:.15s}.typing i:nth-child(3){animation-delay:.3s}
@keyframes blink{0%,80%,100%{transform:translateY(0);opacity:.35}40%{transform:translateY(-4px);opacity:1}}
@keyframes pop{from{opacity:0;transform:translateY(6px) scale(.98)}to{opacity:1;transform:none}}
.srcs{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.src{font-size:.8rem;background:var(--bg2);border:1px solid var(--line);border-radius:999px;padding:3px 10px;text-decoration:none}
.inputbar{display:flex;gap:6px;position:sticky;bottom:0;background:var(--bg);padding:8px 0}.inputbar input{flex:1}
body.has-tabs .inputbar{bottom:calc(64px + env(safe-area-inset-bottom))}@media(min-width:700px){body.has-tabs .inputbar{bottom:0}}
/* badges */
.badge{display:inline-block;font-size:.76rem;font-weight:700;border-radius:999px;padding:2px 10px;background:var(--bg2);color:var(--muted);vertical-align:middle}
.badge.soon{background:var(--soft-info);color:var(--indigo-700)}
.b-submitted{background:var(--soft-info);color:var(--indigo-700)}.b-in_progress{background:var(--soft-warn);color:var(--warn)}.b-resolved{background:var(--soft-ok);color:var(--ok)}
.b-adopted{background:var(--soft-ok);color:var(--ok)}.b-rejected{background:var(--soft-bad);color:var(--bad)}.b-deferred{background:var(--soft-warn);color:var(--warn)}

.list a.item,.list .item{display:block;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:14px 16px;margin-bottom:10px;text-decoration:none;color:var(--ink);box-shadow:var(--sh1);transition:transform .15s var(--ease),box-shadow .15s}
.list a.item:hover{transform:translateY(-1px);box-shadow:var(--sh2)}
#map{height:300px;border-radius:var(--r);border:1px solid var(--line);margin:8px 0;overflow:hidden}
.timeline{list-style:none;padding:0;margin:0}.timeline li{border-left:3px solid var(--line);padding:4px 0 12px 14px;position:relative}.timeline li.done{border-color:var(--teal)}
.thumbs{display:flex;gap:8px;flex-wrap:wrap}.thumbs img{width:96px;height:96px;object-fit:cover;border-radius:12px;border:1px solid var(--line)}
table{border-collapse:separate;border-spacing:0;width:100%;background:var(--card);font-size:.92rem;border:1px solid var(--line);border-radius:var(--r-sm);overflow:hidden}
th,td{border-bottom:1px solid var(--line);padding:10px;text-align:right}th{background:var(--bg2)}th:first-child,td:first-child{text-align:left}tr:last-child td{border-bottom:0}
.tablewrap{overflow-x:auto;margin-bottom:14px}.bar{height:12px;background:var(--grad);border-radius:6px;margin:4px 0 10px;transition:width .5s var(--ease)}
.result{font-size:1.25rem;font-weight:700;padding:16px;border-radius:var(--r);margin-bottom:14px}
.r-req{background:var(--soft-warn);color:var(--warn)}.r-not{background:var(--soft-ok);color:var(--ok)}.r-check{background:var(--soft-info);color:var(--indigo-700)}
/* ads */
.adcard{border:1.5px dashed color-mix(in srgb,var(--ad) 50%,transparent);background:color-mix(in srgb,var(--ad) 5%,var(--card));border-radius:var(--r);padding:12px;margin:16px 0}
.adcard .adlbl{display:flex;justify-content:space-between;font-size:.76rem;font-weight:700;color:var(--ad);text-transform:uppercase;margin-bottom:6px;letter-spacing:.04em}
.adcard .adlbl a{text-transform:none;font-weight:600;color:var(--ad)}
.adcard img,.adcard video{width:100%;border-radius:12px;display:block;aspect-ratio:400/220;object-fit:cover;background:var(--bg2)}
.adcard h3{margin:8px 0 2px;font-size:1rem}.adcard p{margin:0 0 8px;font-size:.9rem}
.admin-row{display:flex;gap:10px;align-items:center;background:var(--card);border:1px solid var(--line);border-radius:12px;padding:10px;margin-bottom:8px}
.admin-row img{width:64px;height:40px;object-fit:cover;border-radius:6px}.admin-row .grow{flex:1;min-width:0}
.prev{display:grid;grid-template-columns:1fr;gap:16px}@media(min-width:700px){.prev{grid-template-columns:2fr 1fr}}
.phoneframe{border:8px solid #1e293b;border-radius:28px;padding:8px;max-width:260px}
footer{max-width:1180px;margin:auto;padding:16px 14px 40px;font-size:.85rem;color:var(--muted);text-align:center}
footer a{color:var(--muted);margin:0 6px}.err{color:var(--bad);font-weight:600}.ok{color:var(--ok);font-weight:600}

.sr{position:absolute;left:-9999px}
/* empty states & skeletons */
.empty{text-align:center;padding:36px 18px;background:var(--card);border:1px dashed var(--line2);border-radius:var(--r);margin-bottom:16px}
.empty-ic,.empty>.i{display:inline-grid;place-items:center;width:64px;height:64px;border-radius:20px;background:var(--soft-teal);color:var(--teal);margin-bottom:6px;padding:15px}

.empty h3{margin:8px 0 4px}.empty p{margin:0 auto 14px;max-width:34ch}
.skel{display:grid;gap:14px}.sk{border-radius:var(--r);background:linear-gradient(90deg,var(--bg2) 25%,var(--line) 37%,var(--bg2) 63%);background-size:400% 100%;animation:shim 1.3s ease infinite}
.sk-h{height:34px;width:55%}.sk-card{height:110px}.sk-line{height:16px;width:80%}
@keyframes shim{0%{background-position:100% 50%}100%{background-position:0 50%}}
.enter{animation:fadeup .28s var(--ease)}@keyframes fadeup{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* bottom tab bar (phones) */
.tabs{display:none}
@media(max-width:699px){
  .tabs{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:1400;background:var(--glass);backdrop-filter:saturate(180%) blur(14px);-webkit-backdrop-filter:saturate(180%) blur(14px);border-top:1px solid var(--line);padding:6px 4px max(6px,env(safe-area-inset-bottom))}
  .tabs[hidden]{display:none}
  .tabs a,.tabs button{background:none;border:0;font-family:inherit;cursor:pointer;flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:4px 2px;color:var(--muted);text-decoration:none;font-size:.7rem;font-weight:600;border-radius:12px;transition:color .15s}
  .tabs a.on{color:var(--teal)}
  .tabs a.on .i{transform:translateY(-1px)}
  body.has-tabs #fab{bottom:calc(76px + env(safe-area-inset-bottom))}
  body.has-tabs main{padding-bottom:150px}
  body.has-tabs footer{padding-bottom:110px}
  .nav-l #btnHome{display:none}
}
@media(max-width:480px){.brand{font-size:13px}.brand #brand{max-width:46vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hbtn{padding:5px 8px;font-size:13px}#acct a{font-size:12.5px;margin-left:6px}#acct a:first-child{display:none}}
/* floating AI assistant button + popup */
#fab{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:1500;background:var(--grad);color:#fff;border:0;border-radius:999px;padding:13px 20px;font-weight:700;box-shadow:0 10px 28px -8px rgba(79,70,229,.6);cursor:pointer;max-width:70vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:transform .2s var(--ease)}
#fab:hover{transform:translateY(-2px)}
#fab[hidden],#pop[hidden]{display:none}
#pop{position:fixed;inset:0;z-index:2000;background:var(--bg);display:flex;flex-direction:column;animation:popin .25s var(--ease)}
@keyframes popin{from{opacity:0;transform:translateY(16px) scale(.98)}to{opacity:1;transform:none}}
@media(min-width:700px){#pop{inset:auto 22px 22px auto;width:410px;height:min(640px,calc(100vh - 110px));border-radius:22px;box-shadow:0 24px 60px -12px rgba(15,23,42,.45);overflow:hidden;border:1px solid var(--line)}}
@media(max-width:699px){body.pop-open{overflow:hidden}}
.pop-h{background:linear-gradient(135deg,var(--cc,#0e7490),color-mix(in srgb,var(--cc,#0e7490) 55%,#312e81));color:#fff;display:flex;align-items:center;gap:6px;padding:12px;padding-top:max(12px,env(safe-area-inset-top))}
.pop-h .pop-t{flex:1;display:flex;flex-direction:column;line-height:1.2;min-width:0}.pop-h .pop-t span{font-size:.82rem;opacity:.92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pop-h .hbtn{background:rgba(255,255,255,.16);border-color:rgba(255,255,255,.2);color:#fff;padding:6px 9px}.pop-h .hbtn:hover{background:rgba(255,255,255,.28)}
.logo{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.2);color:#fff;font-weight:800;font-size:.78rem;padding:0 5px;flex:none}
#pop .banner{margin:10px 12px 0}.pop-body{flex:1;overflow-y:auto;padding:12px}.pop-in{padding:8px 12px;background:var(--bg)}.pop-ho{padding:0 12px 12px}
.psearch{margin:4px 0 10px}
.pickg{font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);margin:12px 2px 2px}
.pick{display:grid;gap:8px}.pickc{display:flex;gap:10px;align-items:center;background:var(--card);border:1px solid var(--line);border-left:5px solid var(--cc);border-radius:12px;padding:8px 10px;text-align:left;cursor:pointer;transition:transform .12s var(--ease),box-shadow .12s}
.pickc:hover{transform:translateX(2px);box-shadow:var(--sh1)}.pickc .pn{flex:1}.pickc .logo{min-width:34px;height:34px;font-size:.7rem}
.soon-state .btn{margin:4px}
.hbtn.on{background:rgba(255,255,255,.38)!important}
/* modal */
.modal{position:fixed;inset:0;z-index:2500;background:rgba(15,23,42,.5);backdrop-filter:blur(4px);display:flex;align-items:flex-end;justify-content:center;animation:fade .2s}
@keyframes fade{from{opacity:0}}
.modal-in{background:var(--card);width:100%;max-width:440px;border-radius:22px 22px 0 0;padding:22px;padding-bottom:max(22px,env(safe-area-inset-bottom));box-shadow:var(--sh2);animation:popin .25s var(--ease)}
@media(min-width:600px){.modal{align-items:center}.modal-in{border-radius:22px}}
.consent{border:1px solid var(--line2);border-radius:12px;padding:14px;margin:14px 0;background:var(--bg2)}.chk{font-weight:600;display:flex;gap:10px;align-items:flex-start}.chk input{width:auto;margin-top:3px}
.privacy{background:var(--card);padding:10px;border-radius:10px;border:1px solid var(--line)}.req{color:var(--bad)}.fwd-yes{border-left:4px solid var(--ok)}.fwd-no{border-left:4px solid var(--line2)}
.f-to_forward{background:var(--soft-warn);color:var(--warn)}.f-forwarded{background:var(--soft-ok);color:var(--ok)}.f-portal_only{background:var(--bg2);color:var(--muted)}
.leaflet-container{font:inherit}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* tax-deadline reminders */
.taxbn{display:flex;gap:12px;align-items:flex-start;background:linear-gradient(135deg,color-mix(in srgb,var(--accent) 14%,#fff),#fff);border:1px solid color-mix(in srgb,var(--accent) 35%,transparent);border-radius:16px;padding:14px 16px;margin-bottom:16px;box-shadow:0 6px 20px -12px color-mix(in srgb,var(--accent) 60%,transparent);animation:taxIn .35s ease}
.taxbn>.i{color:var(--accent);flex:none;margin-top:2px}.taxbn div{flex:1;display:flex;flex-direction:column;gap:2px}.taxbn span{font-size:.9rem}.taxbn a{font-weight:600;font-size:.9rem}
.taxbn-x{background:none;border:0;font-size:1.4rem;line-height:1;cursor:pointer;color:inherit;opacity:.6;padding:0 4px}.taxbn-x:hover{opacity:1}
@keyframes taxIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.taxbn{animation:none}}
.taxlist{list-style:none;padding:0;margin:10px 0 14px;display:grid;gap:8px}
.taxlist li{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,var(--accent) 7%,transparent)}
.taxlist .n{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;font-weight:700;font-size:.85rem}
.sw{display:flex;align-items:center;gap:10px;cursor:pointer;font-weight:600}.sw input{position:absolute;opacity:0;width:1px;height:1px}
.sw-ui{flex:none;width:44px;height:26px;border-radius:13px;background:#c9ced6;position:relative;transition:background .2s}
.sw-ui::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:transform .2s}
.sw input:checked+.sw-ui{background:var(--accent)}.sw input:checked+.sw-ui::after{transform:translateX(18px)}.sw input:focus-visible+.sw-ui{outline:2px solid var(--accent);outline-offset:2px}
.taxch{display:flex;flex-direction:column;gap:6px;margin:10px 0 0 54px}.taxch.off{opacity:.5}.ck{display:flex;gap:8px;align-items:center;font-weight:400}
/* my reports, chips, local cards, contacts */
.tile{position:relative}.tile-hi{outline:2px solid var(--accent,#0e7490);outline-offset:-2px}
.tbadge{position:absolute;top:8px;right:8px;min-width:22px;height:22px;padding:0 6px;border-radius:11px;background:#dc2626;color:#fff;font-size:.8rem;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.stchip{display:inline-block;padding:2px 10px;border-radius:999px;font-size:.8rem;font-weight:600;color:#fff}
.st-submitted{background:#2563eb}.st-in_progress{background:#d97706}.st-resolved{background:#16a34a}
.card.now{border-left:4px solid #d97706}.office .row{display:flex;gap:8px;flex-wrap:wrap}
.phonebox{margin-top:12px;border-top:1px solid rgba(127,127,127,.25);padding-top:10px}
textarea.mono{font-family:ui-monospace,monospace;font-size:.8rem;width:100%}

/* ---------- landing background (sign-in screen only) ---------- */
#lbg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #0b2533; pointer-events: none; }
#lbg[hidden] { display: none; }
.lbg-l { position: absolute; inset: -2%; background: center / cover no-repeat; opacity: 0; transition: opacity 1.5s ease-in-out; will-change: opacity, transform; transform: translateZ(0) scale(1); backface-visibility: hidden; }
.lbg-l.on { opacity: 1; }
.lbg-l.kb0 { animation: kb0 4s linear forwards; }
.lbg-l.kb1 { animation: kb1 4s linear forwards; }
@keyframes kb0 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-1.5%,-1%,0) scale(1.08); } }
@keyframes kb1 { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(1.5%,1%,0) scale(1.08); } }
.lbg-o { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,22,33,.55) 0%, rgba(5,22,33,.35) 40%, rgba(5,22,33,.7) 100%); }
body.landing { background: #0b2533; }
body.landing > header, body.landing .wrap, body.landing > footer { position: relative; z-index: 1; }
body.landing > footer, body.landing > footer a { color: rgba(255,255,255,.85); }
body.landing #main .card { box-shadow: 0 12px 40px rgba(0,0,0,.35); }
body.landing #main > a, body.landing #main > p { color: #fff; }
.lbg-cap { display: none; }
body.landing .lbg-cap { display: block; position: fixed; left: 12px; bottom: 10px; z-index: 2; margin: 0; max-width: min(70vw, 560px); font-size: 11px; line-height: 1.35; color: rgba(255,255,255,.85); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.lbg-cap a { color: inherit; text-decoration: underline; }
body.landing.tabs-on .lbg-cap { bottom: 72px; }
@media (prefers-reduced-motion: reduce) { .lbg-l { transition: none; animation: none !important; } }

/* ---------- landing v2: full-bleed hero + frosted glass sign-in (body.landing only) ---------- */
.lbg-o { background:
  linear-gradient(100deg, rgba(4,14,32,.92) 0%, rgba(6,22,48,.72) 38%, rgba(6,22,48,.25) 70%, rgba(6,22,48,.45) 100%),
  radial-gradient(900px 600px at 85% 110%, rgba(6,182,212,.28), transparent 70%),
  linear-gradient(180deg, rgba(4,14,32,.55) 0%, transparent 22%, transparent 70%, rgba(4,14,32,.85) 100%); }
body.landing { background: #06142a; background-image: none; color: #fff; }
body.landing .top { background: transparent; border-bottom: 0; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
body.landing .top .brand, body.landing .top #brand { color: #fff; }
body.landing .top .hbtn { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }
body.landing .top .hbtn:hover { background: rgba(255,255,255,.18); }
body.landing #btnBack, body.landing #btnHome { visibility: hidden; }
body.landing .tabs, body.landing #aside { display: none; }
body.landing .wrap { max-width: 1200px; padding-top: 8px; }
body.landing main { max-width: none; padding-bottom: 72px; }
body.landing > footer { background: transparent; border: 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(340px, 420px); gap: clamp(32px, 6vw, 96px); align-items: center; min-height: calc(100vh - 170px); padding: 24px 8px; }
.hero > * { animation: heroUp .8s cubic-bezier(.2,.7,.2,1) both; }
.hero > .glass { animation-delay: .15s; }
@keyframes heroUp { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #67e8f9; }
.kicker::before { content: ''; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #22d3ee, #818cf8); }
.hero-h { margin: 0 0 18px; color: #fff; font-size: clamp(2.4rem, 5.6vw, 4.6rem); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; text-shadow: 0 2px 30px rgba(0,0,0,.35); max-width: 12ch; }
.hero-sub { margin: 0 0 28px; max-width: 46ch; color: rgba(255,255,255,.82); font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.55; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.chip-g { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px; border-radius: 999px; font-size: .88rem; font-weight: 600; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.chip-g .i { color: #67e8f9; }
.glass { position: relative; padding: 34px 32px 28px; border-radius: 24px; color: #fff; background: rgba(10,24,48,.78); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 30px 80px -20px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.12); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.06)) , rgba(8,20,42,.38); backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%); }
}
.glass-k { margin: 0 0 4px; font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #67e8f9; }
.glass h2 { margin: 0 0 22px; color: #fff; font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.glass label { color: rgba(255,255,255,.88); font-weight: 600; font-size: .88rem; }
.glass label.chk { color: rgba(255,255,255,.9); }
.glass input[type=email], .glass input[type=password], .glass input[type=text], .glass select { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.glass select option { background: #0b1a33; color: #fff; }
.glass input::placeholder { color: rgba(255,255,255,.5); }
.glass input:focus, .glass select:focus { outline: none; background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.7); box-shadow: 0 0 0 4px rgba(255,255,255,.14), 0 0 24px rgba(103,232,249,.25); }
.glass .btn:not(.ghost) { margin-top: 10px; border: 0; border-radius: 999px; padding: 14px 20px; font-weight: 700; font-size: 1rem; color: #fff; background: linear-gradient(100deg, #06b6d4 0%, #0ea5e9 50%, #6366f1 100%); box-shadow: 0 12px 30px -10px rgba(6,182,212,.7); transition: transform .2s, box-shadow .2s, filter .2s; }
.glass .btn:not(.ghost):hover { transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 18px 38px -12px rgba(99,102,241,.75); }
.glass .btn.ghost { border-radius: 999px; padding: 13px 20px; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); font-weight: 600; box-shadow: none; transition: background .2s, border-color .2s, transform .2s; }
.glass .btn.ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; transform: translateY(-1px); }
.glass-link { display: inline-block; margin-top: 16px; color: #a5f3fc; font-weight: 600; font-size: .92rem; text-decoration: none; }
.glass-link:hover { color: #fff; text-decoration: underline; }
.glass .err { color: #fecaca; }
.glass .muted, .glass small { color: rgba(255,255,255,.75); }
.glass a:not(.btn):not(.glass-link) { color: #a5f3fc; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: rgba(255,255,255,.6); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.or::before, .or::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.18); }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 28px; min-height: 0; padding: 12px 2px 8px; }
  .hero-h { font-size: clamp(2.2rem, 10vw, 3rem); max-width: 14ch; }
  .hero-sub { margin-bottom: 20px; }
  .chip-g { padding: 6px 12px 6px 9px; font-size: .8rem; }
  .glass { padding: 26px 20px 22px; border-radius: 22px; }
  .lbg-o { background: linear-gradient(180deg, rgba(4,14,32,.7) 0%, rgba(6,22,48,.55) 40%, rgba(4,14,32,.9) 100%), radial-gradient(600px 400px at 100% 100%, rgba(6,182,212,.25), transparent 70%); }
}
@media (prefers-reduced-motion: reduce) { .hero > * { animation: none; } }
body.landing .top .brand { justify-content: flex-start; font-size: 15px; letter-spacing: -.01em; }
body.landing .nav-l { display: none; }
@media (max-width: 860px) {
  body.landing .lbg-cap { position: relative; left: auto; bottom: auto; z-index: 1; max-width: none; padding: 0 16px 18px; text-align: center; }
  body.landing main { padding-bottom: 24px; }
}
/* ---------- sign-up sub-panels inside the dark glass (consent, privacy, address, opt-ins) ---------- */
.glass .consent { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 16px; margin: 16px 0; color: #fff; }
.glass .consent .privacy { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 10px 12px; color: rgba(255,255,255,.72); line-height: 1.45; }
.glass p, .glass .small, .glass #addrHint { color: rgba(255,255,255,.72); }
.glass .req { color: #fca5a5; }
.glass input[type=checkbox] { accent-color: #06b6d4; }
.glass input:not([type=checkbox]):not([type=radio]), .glass select, .glass textarea { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.22); border-radius: 14px; }
.glass textarea::placeholder { color: rgba(255,255,255,.5); }
.glass select { color-scheme: dark; }
.glass select option, .glass select optgroup { background: #0b1a33; color: #fff; }
.glass input:disabled, .glass select:disabled, .glass textarea:disabled { opacity: .55; cursor: not-allowed; background: rgba(255,255,255,.04); }
.glass input:-webkit-autofill { -webkit-text-fill-color: #fff; -webkit-box-shadow: 0 0 0 1000px #13243f inset; caret-color: #fff; }
.glass .ok { color: #86efac; }

/* ---------- UI/UX audit fixes ---------- */
.bn-short{display:none}
h1.h2{font-size:1.25rem;margin-top:0}
.mic{gap:6px;grid-auto-flow:column;font-size:.95rem;font-weight:600;color:var(--ink)}
.pop-h .spk .lbl{font-size:13px}
@media(max-width:480px){
  .top-in{gap:6px;padding-left:10px;padding-right:10px}
  .brand{min-width:0;flex:1 1 auto}.brand #brand{max-width:none;min-width:0}
  .bn-full{display:none}.bn-short{display:inline;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  #btnHome{display:none}
  .nav-l,.nav-r{flex:0 0 auto}
  .mic .lbl{font-size:13px}
  .pop-h .spk .lbl{display:inline}
}
@media(max-width:380px){.brand .mark{display:none}}
@media(max-width:480px){.pop-h{flex-wrap:wrap;row-gap:8px;column-gap:6px}.pop-h .logo{order:0}.pop-h .pop-t{order:1;flex:1 1 0;min-width:0}.pop-h .pc-x{order:2;margin-left:auto}.pop-h .citysw-pop,.pop-h #pspk,.pop-h #plang,.pop-h #pmin{order:3}.pop-h .citysw-pop{flex:1 1 0;min-width:0;max-width:none}.pop-h .citysw-pop select{width:100%;max-width:none;min-width:0;text-overflow:ellipsis}.pop-h #pspk,.pop-h #plang,.pop-h #pmin{flex:0 0 auto;white-space:nowrap}.pop-h #pspk{margin-left:0}.pop-h:not(:has(.citysw-pop)) #pspk{margin-left:auto}}
@media(max-width:420px){.brand .mark{display:none}}

/* ---------- auth-flow screens (verify email / SMS code / verified / expired) on the dark landing ---------- */
body.authflow main { max-width: 480px; margin: 0 auto; padding-top: 12px; }
body.authflow #main > h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
body.authflow #main .card.glass { margin-bottom: 16px; padding: 28px 24px 24px; border-radius: 22px; }
.glass .phonebox { background: transparent; border: 0; padding: 0; color: #fff; }
.glass h3 { color: #fff; }
.glass .btn.sec { margin-top: 10px; border-radius: 999px; padding: 13px 20px; background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); font-weight: 600; box-shadow: none; transition: background .2s, border-color .2s; }
.glass .btn.sec:hover { background: rgba(255,255,255,.1); border-color: #fff; filter: none; transform: none; }
.glass input[inputmode=numeric] { letter-spacing: .3em; font-size: 1.15rem; }
body.authflow .top a, body.authflow .top button:not(.hbtn) { color: #fff; }
body.authflow .glass input:not([type=checkbox]):not([type=radio]) { width: 100%; box-sizing: border-box; padding: 13px 15px; }
body.authflow #acct a { color: #fff !important; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
@media (max-width: 480px) { body.authflow .top-in { flex-wrap: wrap; row-gap: 6px; } body.authflow .nav-r { flex-wrap: wrap; justify-content: flex-end; gap: 8px; font-size: 13px; } }

/* city request form */
.linkbtn{background:none;border:0;padding:0;margin-top:10px;font:inherit;font-size:.9rem;font-weight:600;cursor:pointer;text-align:left;text-decoration:underline;text-underline-offset:3px}
.cityreq-l{color:var(--accent,#0e7490);display:block}
.modal-glass .modal-in.glass{background:rgba(10,24,48,.86);color:#fff;border:1px solid rgba(255,255,255,.16)}
@supports (backdrop-filter: blur(1px)){.modal-glass .modal-in.glass{background:linear-gradient(160deg,rgba(255,255,255,.14),rgba(255,255,255,.06)),rgba(8,20,42,.72);backdrop-filter:blur(20px) saturate(140%);-webkit-backdrop-filter:blur(20px) saturate(140%)}}
.modal-glass label{display:block;margin-top:12px}
.modal-glass input,.modal-glass textarea{width:100%;box-sizing:border-box}
.glass textarea{background:rgba(255,255,255,.08);color:#fff;border:1px solid rgba(255,255,255,.22);border-radius:14px;padding:13px 15px;font:inherit}
.glass input[type=email]:focus,.glass textarea:focus{outline:none;border-color:rgba(255,255,255,.7);box-shadow:0 0 0 4px rgba(255,255,255,.14)}
.glass .err{color:#fca5a5}
.modal-glass .btn.ghost.block{margin-top:10px;width:100%}
.modal.modal-glass{background:rgba(2,8,20,.62);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}

/* ---------- per-screen city switcher (compact dark frosted pill) ---------- */
.titlerow{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 6px}
.titlerow h1{margin:0;flex:1 1 auto;min-width:0}
.citysw{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;max-width:100%}
.citysw-ic{display:inline-flex;color:#67e8f9;margin-right:-30px;position:relative;z-index:1;pointer-events:none;padding-left:11px}
.citysw select,.citysw-pop select{width:auto;max-width:min(230px,70vw);padding:7px 30px 7px 32px;border-radius:999px;font-size:.88rem;font-weight:600;color:#fff;
  background:rgba(10,24,48,.78) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2399f6e4' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center;
  -webkit-appearance:none;appearance:none;border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(14px) saturate(140%);-webkit-backdrop-filter:blur(14px) saturate(140%);box-shadow:0 6px 18px -8px rgba(0,0,0,.45),inset 0 1px 0 rgba(255,255,255,.1);cursor:pointer}
.citysw select:focus,.citysw-pop select:focus{outline:none;border-color:rgba(255,255,255,.7);box-shadow:0 0 0 3px rgba(103,232,249,.3)}
.citysw select option,.citysw select optgroup,.citysw-pop select option,.citysw-pop select optgroup{background:#0b1a33;color:#fff}
.citysw-home{border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:6px 11px;font-size:.78rem;font-weight:600;color:#a5f3fc;background:rgba(10,24,48,.6);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);cursor:pointer}
.citysw-pop select{max-width:150px;padding:4px 26px 4px 12px;font-size:.78rem;background-position:right 8px center}
@media (max-width:600px){.titlerow{flex-direction:column;align-items:flex-start}.titlerow h1{font-size:1.45rem}}

/* ---------- wip20: landmark photo background on ALL screens (body.photobg) + dark frosted-glass panels ---------- */
body.photobg{background:#06142a;background-image:none;color-scheme:dark;
  --bg:rgba(6,20,42,.6);--bg2:rgba(255,255,255,.06);--card:rgba(10,24,48,.62);--ink:#f1f5fb;--muted:#c3cee0;--line:rgba(255,255,255,.14);--line2:rgba(255,255,255,.24);
  --ok:#4ade80;--warn:#fbbf24;--bad:#fca5a5;--ad:#fbbf24;--glass:rgba(6,18,38,.55);--ring:0 0 0 3px rgba(103,232,249,.35);
  --sh1:0 10px 30px -12px rgba(0,0,0,.55);--sh2:0 18px 40px -12px rgba(0,0,0,.65);
  --soft-ok:rgba(74,222,128,.18);--soft-warn:rgba(251,191,36,.16);--soft-bad:rgba(248,113,113,.18);--soft-info:rgba(129,140,248,.2);--soft-teal:rgba(34,211,238,.16);color:var(--ink)}
body.photobg > header,body.photobg .wrap,body.photobg > footer,body.photobg .tabs{position:relative;z-index:1}
body.photobg .tabs{position:fixed}
body.photobg a{color:#a5f3fc}
body.photobg .card,body.photobg .tile,body.photobg .list .item,body.photobg .banner,body.photobg .result,body.photobg .tablewrap,body.photobg .modal-in,body.photobg .taxbn,body.photobg .strip{
  background-color:var(--card);border-color:var(--line);color:var(--ink);backdrop-filter:blur(16px) saturate(140%);-webkit-backdrop-filter:blur(16px) saturate(140%)}
body.photobg .banner{background-color:rgba(120,80,0,.38);border-color:rgba(251,191,36,.35);color:#fde68a}
body.photobg .result{border:1px solid var(--line)}body.photobg .result.r-req{color:#fcd34d}body.photobg .result.r-not{color:#86efac}body.photobg .result.r-check{color:#a5b4fc}
body.photobg .btn.sec,body.photobg .btn.ghost,body.photobg .chip,body.photobg .hbtn{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22);color:#fff}
body.photobg input[type=text],body.photobg input[type=email],body.photobg input[type=password],body.photobg input[type=number],body.photobg input[type=url],body.photobg input[type=date],body.photobg input[type=search],body.photobg select,body.photobg textarea{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.22)}
body.photobg select option,body.photobg select optgroup{background:#0b1a33;color:#fff}
body.photobg .top{background:rgba(6,18,38,.5);border-bottom-color:rgba(255,255,255,.1);color:#fff}
body.photobg #brand,body.photobg .brand,body.photobg #acct a{color:#fff}
body.photobg > footer,body.photobg > footer a,body.photobg > footer p{color:rgba(255,255,255,.82);background:transparent;border:0}
body.photobg h1,body.photobg h2,body.photobg h3{color:#fff;text-shadow:0 1px 12px rgba(0,0,0,.35)}
body.photobg table th,body.photobg table td{border-color:var(--line)}
body.photobg .lbg-cap{display:block;position:fixed;left:12px;bottom:8px;z-index:2;margin:0;max-width:min(60vw,520px);font-size:10.5px;line-height:1.35;color:rgba(255,255,255,.8);text-shadow:0 1px 2px rgba(0,0,0,.7)}
body.photobg.has-tabs .lbg-cap{bottom:calc(66px + env(safe-area-inset-bottom))}
/* wip22: inner screens use the IDENTICAL landing background (same overlay, 2 s rotation, 4 s zoom); readability comes from the frosted-glass panels */
@media (max-width:600px){body.photobg .card,body.photobg .tile,body.photobg .list .item{backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}}
body.photobg .linkbtn{color:#a5f3fc}

/* wip21 report photos */
.photobtns{display:flex;gap:8px;flex-wrap:wrap;margin:6px 0}.photobtn{flex:1 1 180px;display:inline-flex;align-items:center;justify-content:center;gap:6px;cursor:pointer;margin:0}
.photobtn.disabled{opacity:.45;pointer-events:none}
.thumbs .thumb{position:relative;width:96px;height:96px}.thumbs .thumb img{width:96px;height:96px}
.thumb-x{position:absolute;top:4px;right:4px;width:28px;height:28px;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(10,20,30,.7);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff;font-size:14px;line-height:1;cursor:pointer;padding:0}
.thumb-sz{position:absolute;left:4px;bottom:4px;font-size:11px;padding:1px 6px;border-radius:8px;background:rgba(10,20,30,.7);color:#e6fffa}
.thumbs.mini{margin-top:6px}.thumbs.mini img{width:56px;height:56px;border-radius:8px}
/* Official tax data banner (replaces the red example-data banner) */
.banner.ok{background:color-mix(in srgb,#16a34a 14%,transparent);border-color:color-mix(in srgb,#16a34a 35%,transparent);font-weight:600}
body.photobg .banner.ok{background-color:rgba(20,90,50,.42);border-color:rgba(74,222,128,.35);color:#bbf7d0}
.np{font-style:italic}
/* wip22b: built-in chat matches the ycsdinc.com widget (white header, light bubbles, pill chips/input, seasonal animated background) */
#pop{background:#fff;color:#111}
#pop .pc-h{background:#fff;color:#111;border-bottom:1px solid #eceff3;box-shadow:0 1px 0 rgba(15,23,42,.04)}
#pop .pc-h .logo{width:38px;height:38px;border-radius:50%;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800;font-size:.72rem;flex:0 0 auto}
#pop .pc-h .pop-t strong{font-size:1rem;color:#111}#pop .pc-h .pop-t span{color:#6b7280;opacity:1}
#pop .pc-h .hbtn{background:transparent;border-color:transparent;color:#4b5563}#pop .pc-h .hbtn:hover{background:rgba(17,24,39,.08)}
#pop .pc-h .citysw-pop select{color:#111;background-color:#f4f4f5;border-color:#e2e8f0}
#pop .pc-h .citysw-pop select option{background:#fff;color:#111}
.pop-stage{position:relative;flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:linear-gradient(160deg,#fde9dc 0%,#fbe3d6 35%,#fff1e8 65%,#fadbc8 100%)}
.pop-stage[data-season=winter]{background:linear-gradient(160deg,#dbe8f7,#eef4fb 50%,#d5e3f4)}
.pop-stage[data-season=spring]{background:linear-gradient(160deg,#fdeaf0,#fff5f8 50%,#fbe1ea)}
.pop-stage[data-season=summer]{background:linear-gradient(160deg,#fff3d6,#fffaf0 50%,#ffe9bf)}
.pop-season{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.pop-stage .pop-body{position:relative;z-index:1;margin:0;background:transparent}
#pop .bub.ai{background:#f4f4f5;border:1px solid #e2e8f0;color:#1e293b;border-radius:18px;box-shadow:none;display:flex;gap:8px;align-items:flex-start;flex-wrap:wrap;max-width:88%}
#pop .bub.ai .pc-txt{flex:1;min-width:0}#pop .bub.ai .srcs{flex-basis:100%}#pop .bub.ai .srcs:empty{display:none}
#pop .bub.ai.notice{background:#eef6ff}
#pop .bub.me{background:#334155;color:#fff;border-radius:18px;box-shadow:none}
.pc-spk{border:0;background:transparent;color:#64748b;padding:2px 0 0;cursor:pointer;line-height:0;flex:0 0 auto}.pc-spk:hover{color:#111}
.pc-sugg{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding:12px 12px 2px;background:#fff}
.pc-chip{max-width:92%;border:2px solid #dedede;border-radius:28px;background:#fff;color:#111;padding:11px 18px;font:inherit;font-size:.95rem;font-weight:600;line-height:1.35;text-align:left;cursor:pointer}.pc-chip:hover{background:#fafafa}
#pop .pc-form{display:flex;align-items:center;gap:8px;margin:12px 12px 8px;padding:6px 7px 6px 18px;border:1.5px solid #73777c;border-radius:999px;background:#fff;box-shadow:0 2px 8px rgba(15,23,42,.08)}
#pop .pc-form input{flex:1;min-width:0;height:40px;border:0;border-radius:999px;padding:8px 0;background:transparent;color:#111;font:inherit;font-size:16px;outline:none;box-shadow:none}
.pc-mic,.pc-send{display:inline-flex;align-items:center;justify-content:center;width:34px;min-width:34px;height:34px;padding:0;border:0;border-radius:50%;cursor:pointer}
.pc-mic{background:transparent;color:#73777c}.pc-mic.on,.pc-mic.listening{background:#f1f5f9;color:#111;box-shadow:0 0 0 3px rgba(15,23,42,.12)}
.pc-send{background:#ececec;color:#9ca3af}.pc-form:focus-within .pc-send{background:#0e7490;color:#fff}
.pc-terms{background:#fff;color:#73777c;padding:2px 18px 14px;text-align:center;font-size:12px;line-height:1.4;padding-bottom:max(14px,env(safe-area-inset-bottom))}
.pc-terms a{color:#73777c;text-decoration:underline;display:inline;padding:0}
@media(max-width:480px){#pop .pc-h .pop-t strong{font-size:.92rem}}
#pop .pc-h{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px}
#pop .pc-h .pop-t{flex:1 1 calc(100% - 50px);min-width:0}
#pop .pc-h .pop-t strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#pop .pc-h .citysw-pop{margin-right:auto}
#pop .pc-h .citysw-pop select{box-shadow:none;padding:4px 26px 4px 10px;font-size:.82rem}
#pop .pc-h .hbtn{padding:4px 8px;font-size:.82rem}
.pop-stage .pc-sugg{background:transparent;padding:4px 0 0}
#pop .pc-form,#pop .pc-terms{background:#fff}
#pop .pop-stage .src,#pop .pc-terms a{color:#0e7490}

/* wip23 social sign-in — brand guidelines: Google = white button, 4-colour G, Roboto-like 500 text, #1F1F1F; Apple = black button, white logo */
.oa-btns{display:grid;gap:10px;margin:4px 0 6px}.oa-btns:empty{display:none}
.oa-btn{display:flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 16px;border-radius:999px;font:500 15px/1 Roboto,Inter,system-ui,sans-serif;text-decoration:none!important;letter-spacing:.1px;transition:filter .15s,box-shadow .15s}
.oa-btn svg{flex:none}
.oa-google{background:#fff;color:#1f1f1f!important;border:1px solid #747775}
.oa-apple{background:#000;color:#fff!important;border:1px solid rgba(255,255,255,.35);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text",Inter,system-ui,sans-serif}
.oa-btn:hover{filter:brightness(.96);box-shadow:0 2px 10px rgba(0,0,0,.25)}.oa-btn:focus-visible{outline:none;box-shadow:var(--ring)}
.oa-btns .or{margin:4px 0 0}

/* =====================================================================================
   YULConnect redesign CONCEPT (review only) — patterns borrowed from apple.com / tesla.com / spacex.com:
   system SF-Pro/Inter stack, near-black + white + ONE accent (#0e7490), 44-52px translucent sticky nav with
   saturate+blur, full-bleed dark hero with one headline and two pill CTAs, large 28px-radius cards, section
   storytelling, quiet motion (disabled under prefers-reduced-motion). This layer overrides everything above.
   ===================================================================================== */
:root{
  --rd-acc:#0e7490;--rd-acc-ink:#0e7490;--rd-acc-on:#fff;
  --bg:#ffffff;--bg2:#f5f5f7;--card:#ffffff;--ink:#1d1d1f;--muted:#5c5c61;--line:#e5e5ea;--line2:#d2d2d7;
  --accent:var(--rd-acc);--teal:var(--rd-acc);--brand:var(--rd-acc);--indigo:var(--rd-acc);--indigo-700:var(--rd-acc-ink);
  --grad:linear-gradient(135deg,#1d1d1f,#3a3a3c);--r:22px;--r-sm:14px;
  --sh1:0 1px 2px rgba(0,0,0,.04);--sh2:0 18px 40px -18px rgba(0,0,0,.22);
  --ring:0 0 0 3px #fff,0 0 0 5px var(--rd-acc);--glass:rgba(255,255,255,.72);
  --soft-teal:#effaf8;--soft-info:#eef7f6;--ease:cubic-bezier(.25,.1,.25,1);
  --rd-font:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text",Inter,"Segoe UI Variable","Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

body,body.photobg{font-family:var(--rd-font);background:var(--bg);background-image:none;color:var(--ink);letter-spacing:-.011em;font-size:17px;line-height:1.47}
a{color:var(--rd-acc-ink)}
:focus-visible{outline:2px solid var(--rd-acc-ink);outline-offset:3px;box-shadow:none;border-radius:8px}
#lbg,.lbg-cap{display:none!important}
/* nav */
.top,body.photobg .top{background:var(--glass);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);border-bottom:1px solid color-mix(in srgb,var(--ink) 8%,transparent);color:var(--ink)}
.top-in{max-width:1080px;min-height:52px;padding:6px 22px;padding-top:max(6px,env(safe-area-inset-top))}
.brand,body.photobg .brand,body.photobg #brand{color:var(--ink);order:-1;flex:0 1 auto;justify-content:flex-start;margin-right:auto}
.mark{width:28px;height:28px;border-radius:8px;background:var(--ink);color:var(--bg);font-size:0;position:relative}
.mark::after{content:"YUL";font-size:9.5px;font-weight:700;letter-spacing:.02em}
#brand{display:flex;flex-direction:column;line-height:1.1}
.bn-y{font-size:17px;font-weight:600;letter-spacing:-.02em}.bn-sub{font-size:11px;font-weight:500;color:var(--muted);letter-spacing:0}
.hbtn,body.photobg .hbtn{background:transparent;border:0;color:var(--ink);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:500}
.hbtn:hover{background:color-mix(in srgb,var(--ink) 7%,transparent)}
.hbtn.lang,body.photobg .hbtn.lang{border:1px solid var(--line2)}
#acct a,body.photobg #acct a{color:var(--ink);font-size:13px;opacity:.88}
/* hero (home) */
#hero:empty{display:none}
.rd-hero{position:relative;overflow:hidden;color:#f5f5f7;background:#000;margin:0;
  background-image:radial-gradient(60% 70% at 18% 10%,rgba(14,116,144,.55),transparent 60%),radial-gradient(50% 60% at 85% 20%,rgba(6,182,212,.38),transparent 62%),radial-gradient(70% 50% at 50% 110%,rgba(41,151,255,.25),transparent 70%);
  min-height:min(78vh,720px);display:flex;align-items:center;text-align:center}
.rd-hero-in{position:relative;z-index:1;max-width:1000px;margin:auto;padding:110px 24px 120px}
.rd-eyebrow{display:inline-flex;align-items:center;gap:8px;margin:0 0 20px;font-size:14px;font-weight:600;letter-spacing:.02em;color:#d2d2d7;border:1px solid rgba(255,255,255,.18);padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.06)}
.rd-dot{width:7px;height:7px;border-radius:50%;background:#22d3ee;box-shadow:0 0 0 4px rgba(34,211,238,.2)}
.rd-h{margin:0;color:#fff;font-size:clamp(2.5rem,6vw,4.75rem);line-height:1.04;font-weight:700;letter-spacing:-.045em}
.rd-sub{margin:22px auto 34px;max-width:40ch;font-size:clamp(1.05rem,1.6vw,1.35rem);line-height:1.45;color:#c7c7cc}
.rd-ctas{display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
.rd-pill{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 26px;border-radius:999px;border:0;background:var(--rd-acc);color:#fff;font-size:17px;font-weight:500;text-decoration:none;cursor:pointer;transition:background .2s var(--ease),transform .2s var(--ease)}
.rd-pill:hover{background:#155e75;transform:translateY(-1px)}
.rd-pill-o{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.7)}.rd-pill-o:hover{background:rgba(255,255,255,.1)}
.rd-hero .rd-pill:focus-visible{outline-color:#fff}
.rd-stat{margin:36px 0 0;font-size:13px;color:#a1a1a6;letter-spacing:.02em}
.rd-sky{position:absolute;left:0;right:0;bottom:-1px;width:100%;height:120px;color:var(--bg);z-index:0}
.rd-hero-in>*{animation:rdUp .9s var(--ease) both}.rd-hero-in>:nth-child(2){animation-delay:.08s}.rd-hero-in>:nth-child(3){animation-delay:.16s}.rd-hero-in>:nth-child(4){animation-delay:.24s}
@keyframes rdUp{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
/* layout */
.wrap{max-width:1080px;padding:32px 22px 40px;gap:32px}
main{max-width:1080px}
body.rd-home main{max-width:none}
h1{font-size:clamp(2rem,4vw,3rem);line-height:1.08;letter-spacing:-.035em;font-weight:700;margin:.2em 0 .5em}
h2{font-size:clamp(1.4rem,2.4vw,2rem);letter-spacing:-.025em;font-weight:700;line-height:1.15}
body.photobg h1,body.photobg h2,body.photobg h3{color:var(--ink);text-shadow:none}
.rd-greet{margin:0;font-size:1.5rem}
.rd-sec{margin:48px 0 18px;font-size:clamp(1.8rem,3.4vw,2.6rem)}
/* cards / tiles */
.card,.list .item,.list a.item,body.photobg .card,body.photobg .tile,body.photobg .list .item,body.photobg .strip,body.photobg .tablewrap,body.photobg .taxbn{background:var(--bg2);border:0;border-radius:var(--r);box-shadow:none;color:var(--ink);backdrop-filter:none;-webkit-backdrop-filter:none}
.card{padding:24px}
.tiles{gap:16px}@media(min-width:560px){.tiles{grid-template-columns:repeat(3,1fr)}}
.tile,body.photobg .tile{background:var(--bg2);border:0;border-radius:var(--r);padding:22px;min-height:132px;justify-content:space-between;font-size:17px;font-weight:600;letter-spacing:-.015em;box-shadow:none;transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
.tile:hover{transform:scale(1.015);box-shadow:var(--sh2)}
.tile .ic,body.photobg .tile .ic{width:44px;height:44px;border-radius:50%;background:var(--card);color:var(--ink)}

.tile-hi{outline:0;box-shadow:inset 0 0 0 2px var(--rd-acc)}
.askcard{background:var(--bg2)}
/* buttons */
.btn{border-radius:999px;background:var(--rd-acc);box-shadow:none;font-weight:500;padding:12px 22px;font-size:17px}
.btn:hover{filter:none;background:#155e75}
.btn.sec,body.photobg .btn.sec{background:transparent;color:var(--rd-acc-ink);box-shadow:inset 0 0 0 1.5px currentColor;border:0}
.btn.ghost,body.photobg .btn.ghost{color:var(--rd-acc-ink);background:transparent}
.chip,body.photobg .chip{background:var(--card);border:1px solid var(--line2);color:var(--ink);padding:9px 16px;font-size:15px}
.chip:hover{border-color:var(--ink)}.chip.on{background:var(--ink);border-color:var(--ink);color:var(--bg)}
body.photobg a,body.photobg .linkbtn,.linkbtn{color:var(--rd-acc-ink)}
/* forms */
input[type=text],input[type=email],input[type=password],input[type=number],input[type=url],input[type=date],input[type=search],select,textarea,
body.photobg input[type=text],body.photobg input[type=email],body.photobg input[type=password],body.photobg input[type=search],body.photobg select,body.photobg textarea{background:var(--card);color:var(--ink);border:1px solid var(--line2);border-radius:14px;padding:13px 16px}
input:focus,select:focus,textarea:focus{border-color:var(--rd-acc);box-shadow:0 0 0 4px color-mix(in srgb,var(--rd-acc) 25%,transparent)}
.citysw select,body.photobg .citysw select{color:var(--ink);background-color:var(--card);border:1px solid var(--line2);box-shadow:none;backdrop-filter:none}
.citysw select option,.citysw select optgroup{background:var(--card);color:var(--ink)}
.citysw-home{color:var(--rd-acc-ink);background:var(--bg2);border-color:var(--line2)}
.citysw .i,.citysw svg{color:var(--muted)}
.banner,body.photobg .banner{background:#fff8e6;color:#5c3d00;border:0;border-radius:14px}

.banner.ok,body.photobg .banner.ok{background:#e9f8ee;color:#0b5d27}
.result,body.photobg .result{background:var(--bg2);border:0}
body.photobg .result.r-req{color:#b45309}body.photobg .result.r-not{color:#15803d}body.photobg .result.r-check{color:var(--rd-acc-ink)}

table{border:0;background:var(--card);border-radius:14px}th{background:var(--bg2)}
.adcard{border:1px dashed var(--line2);background:var(--bg2);border-radius:var(--r)}
.adcard .adlbl,.adcard .adlbl a{color:#8a5a00}
/* storytelling */
.rd-stories{display:grid;gap:20px;margin:56px 0 40px}
.rd-story{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;gap:24px;border-radius:28px;padding:clamp(28px,5vw,64px);background:var(--bg2);overflow:hidden;min-height:320px}
.rd-story h2{margin:6px 0 12px;font-size:clamp(1.7rem,3.6vw,2.8rem);line-height:1.08;letter-spacing:-.035em}
.rd-story p{margin:0 0 10px;color:var(--muted);font-size:clamp(1rem,1.3vw,1.18rem);max-width:44ch}
.rd-k{font-size:14px!important;font-weight:600;color:var(--rd-acc-ink)!important;letter-spacing:.01em}
.rd-links{display:flex;gap:22px;flex-wrap:wrap;margin-top:18px!important}
.rd-link{background:none;border:0;padding:0;font:inherit;font-size:17px;color:var(--rd-acc-ink);cursor:pointer;text-decoration:none}.rd-link:hover{text-decoration:underline}
.rd-art{justify-self:center;display:grid;place-items:center;width:clamp(150px,20vw,220px);aspect-ratio:1;border-radius:50%;color:#fff;background:conic-gradient(from 210deg,#0e7490,#06b6d4,#22d3ee,#0e7490);box-shadow:0 30px 60px -25px rgba(14,116,144,.6)}
.rd-v-a{background:#000;color:#f5f5f7}.rd-v-a p{color:#a1a1a6}.rd-v-a .rd-k,.rd-v-a .rd-link{color:#22d3ee!important}
.rd-v-b .rd-art{background:conic-gradient(from 90deg,#1d1d1f,#48484a,#1d1d1f)}
.rd-v-c .rd-art{background:conic-gradient(from 0deg,#e5e5ea,#fff,#d2d2d7,#e5e5ea);color:#1d1d1f}

@media(max-width:699px){.rd-story{grid-template-columns:1fr;text-align:left;min-height:0}.rd-art{order:-1;justify-self:start;width:96px}.rd-art svg{width:40px;height:40px}}
.rd-story{opacity:1}
@supports (animation-timeline:view()){@media (prefers-reduced-motion:no-preference){.rd-story,.tile{animation:rdUp linear both;animation-timeline:view();animation-range:entry 0% entry 40%}}}
/* footer */
footer,body.photobg>footer{max-width:1080px;border-top:1px solid var(--line);color:var(--muted);font-size:12px;text-align:left;padding:20px 22px 48px}
footer a,body.photobg>footer a,body.photobg>footer p{color:var(--muted)}
/* tabs (phones) */
@media(max-width:699px){.tabs,body.photobg .tabs{background:var(--glass);border-top:1px solid var(--line)}.tabs a.on{color:var(--rd-acc-ink)}
  .rd-hero{min-height:auto}.rd-hero-in{padding:64px 22px 110px}.rd-pill{flex:1 1 100%;justify-content:center}.wrap{padding:20px 18px 32px}.top-in{padding:6px 14px}
  .bn-y{font-size:16px}}
@media(max-width:480px){.brand #brand{max-width:none}.nav-l{display:none}}
/* floating assistant button */
#fab{background:var(--ink);color:var(--bg);font-weight:500;box-shadow:0 12px 30px -10px rgba(0,0,0,.45);padding:13px 22px}
/* assistant popup: neutral, Apple-like sheet; visible Speak / Listen labels */
#pop{background:var(--bg);color:var(--ink);border-radius:0}
@media(min-width:700px){#pop{border-radius:26px;border:1px solid var(--line);box-shadow:0 40px 80px -20px rgba(0,0,0,.45)}}
#pop .pc-h{background:var(--glass);backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px);color:var(--ink);border-bottom:1px solid var(--line)}
#pop .pc-h .pop-t strong{color:var(--ink)}#pop .pc-h .pop-t span{color:var(--muted)}
#pop .pc-h .hbtn{color:var(--ink)}#pop .pc-h .citysw-pop select{background-color:var(--bg2);color:var(--ink);border-color:var(--line2)}
.pop-stage,.pop-stage[data-season]{background:var(--bg)}
.pop-season{opacity:.35}
#pop .bub.ai{background:var(--bg2);border:0;color:var(--ink)}#pop .bub.ai.notice{background:var(--soft-info)}
#pop .bub.me{background:var(--rd-acc);color:#fff}
.pc-chip{border:1px solid var(--line2);background:var(--card);color:var(--ink);border-radius:18px;font-weight:500}.pc-chip:hover{border-color:var(--ink)}
#pop .pc-form,#pop .pc-terms{background:var(--bg)}
#pop .pc-form{border:1px solid var(--line2);box-shadow:none;background:var(--card)}
#pop .pc-form input{color:var(--ink)}
.pc-terms,.pc-terms a{color:var(--muted)}#pop .pop-stage .src,#pop .pc-terms a{color:var(--rd-acc-ink)}
.pc-mic{width:auto;min-width:34px;padding:0 12px 0 10px;gap:5px;border-radius:999px;background:var(--bg2);color:var(--ink);font-size:13px;font-weight:600}
.pc-spk{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:12.5px;font-weight:600;line-height:1;padding:3px 0 0}.pc-spk:hover{color:var(--ink)}
.pc-send{background:var(--bg2);color:var(--muted)}.pc-form:focus-within .pc-send{background:var(--rd-acc);color:#fff}
@media(max-width:380px){.pc-mic .rd-lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}}
/* login / verify: dark full-bleed (SpaceX-like) on CSS gradient, frosted card */
body.landing{background:#000;background-image:radial-gradient(70% 60% at 15% 0%,rgba(14,116,144,.45),transparent 60%),radial-gradient(60% 50% at 100% 100%,rgba(6,182,212,.35),transparent 60%);background-attachment:fixed;color:#f5f5f7}
body.landing .top{background:rgba(0,0,0,.4)}body.landing .brand,body.landing #brand{color:#fff}body.landing .bn-sub{color:#a1a1a6}
body.landing .mark{background:#fff;color:#000}body.landing .hbtn,body.landing #acct a{color:#fff}body.landing .hbtn.lang{border-color:rgba(255,255,255,.35)}
body.landing footer,body.landing footer a{color:#a1a1a6;border-color:rgba(255,255,255,.12)}
.hero-h{font-weight:700;letter-spacing:-.045em;text-shadow:none}.kicker{color:#a1a1a6;letter-spacing:.08em}
.glass{background:rgba(28,28,30,.72);border:1px solid rgba(255,255,255,.12);border-radius:28px}
.glass .btn:not(.ghost){background:var(--rd-acc);box-shadow:none}.glass .btn:not(.ghost):hover{background:#155e75;box-shadow:none}
.glass-k{color:#22d3ee}.glass-link,.glass a:not(.btn):not(.glass-link){color:#22d3ee}
.chip-g{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.16)}
@media (prefers-reduced-motion:reduce){.rd-hero-in>*,.rd-story,.tile{animation:none!important}.tile:hover,.rd-pill:hover{transform:none}}
.chip-g .i{color:#22d3ee}
/* reserve the hero's space before app.js renders it (CLS) */
#hero.pre:empty{display:block;min-height:min(78vh,720px);background:#000}
@media(max-width:699px){.rd-hero,#hero.pre:empty{min-height:640px}}

/* =====================================================================================
   Redesign (teal) + the wip22 shared moving landmark background (#lbg: rotation, soft fades, gentle zoom)
   behind EVERY page incl. the home hero and story sections. Dark translucent overlay keeps text WCAG AA;
   nav/cards are frosted dark glass so the photos show through. Chat fallback keeps its leaf stage.
   ===================================================================================== */
#lbg{display:block!important}#lbg[hidden]{display:none!important}
body.photobg .lbg-cap{display:block!important}
body.photobg,body.photobg.landing{color-scheme:dark;background:#06142a;background-image:none;
  --bg:rgba(8,14,22,.62);--bg2:rgba(255,255,255,.08);--card:rgba(14,20,28,.66);--ink:#f5f5f7;--muted:#c7c7cc;--line:rgba(255,255,255,.14);--line2:rgba(255,255,255,.26);
  --glass:rgba(8,12,18,.58);--rd-acc-ink:#67e8f9;--ring:0 0 0 3px #000,0 0 0 5px #22d3ee;--soft-info:rgba(6,182,212,.16);--soft-teal:rgba(6,182,212,.16);color:#f5f5f7}
/* stronger overlay than wip22 so body text on photos passes AA everywhere */
body.photobg .lbg-o{background:linear-gradient(180deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.5) 45%,rgba(0,0,0,.72) 100%)}
body.photobg .top{background:rgba(8,12,18,.55);color:#fff;border-bottom-color:rgba(255,255,255,.12)}
body.photobg .brand,body.photobg #brand,body.photobg .hbtn,body.photobg #acct a{color:#fff}body.photobg .bn-sub{color:#c7c7cc}
body.photobg .mark{background:#fff;color:#000}
body.photobg .card,body.photobg .tile,body.photobg .list .item,body.photobg .strip,body.photobg .tablewrap,body.photobg .taxbn,body.photobg .askcard,body.photobg .result,body.photobg .adcard,body.photobg .modal-in{
  background:var(--card);color:var(--ink);border:1px solid var(--line);backdrop-filter:saturate(160%) blur(18px);-webkit-backdrop-filter:saturate(160%) blur(18px);text-shadow:none}
body.photobg .tile .ic{background:rgba(255,255,255,.12);color:#67e8f9}
body.photobg h1,body.photobg h2,body.photobg h3,body.photobg .wrap>p,body.photobg .muted{text-shadow:0 1px 3px rgba(0,0,0,.6)}
/* hero: no black gradient; dark translucent veil + soft teal glow over the moving photos */
body.photobg .rd-hero{background:rgba(0,0,0,.38);background-image:radial-gradient(60% 70% at 18% 10%,rgba(14,116,144,.32),transparent 60%),linear-gradient(180deg,rgba(0,0,0,.15),rgba(0,0,0,.5))}
body.photobg .rd-hero h1,body.photobg .rd-hero p{text-shadow:0 2px 12px rgba(0,0,0,.55)}
body.photobg .rd-sub{color:#e5e5ea}
#hero.pre:empty{background:transparent}
body.photobg .rd-story,body.photobg .rd-story.rd-v-a{background:rgba(8,12,18,.6);color:#f5f5f7;border:1px solid rgba(255,255,255,.12);backdrop-filter:saturate(160%) blur(18px);-webkit-backdrop-filter:saturate(160%) blur(18px)}
body.photobg .rd-story p{color:#d1d1d6}body.photobg .rd-k,body.photobg .rd-link{color:#67e8f9!important}
body.photobg>footer,body.photobg>footer a,body.photobg>footer p{color:rgba(255,255,255,.85);border-color:rgba(255,255,255,.16)}
body.photobg .tabs{background:rgba(8,12,18,.72)}
body.photobg .glass{background:rgba(20,20,22,.66);backdrop-filter:saturate(170%) blur(18px);-webkit-backdrop-filter:saturate(170%) blur(18px)}
/* the assistant sheet stays opaque & readable; chat fallback keeps the seasonal leaf stage (wip22b) */
body.photobg #pop{--bg:#fff;--bg2:#f4f4f5;--card:#fff;--ink:#1d1d1f;--muted:#5c5c61;--line:#e5e5ea;--line2:#d2d2d7;--glass:rgba(255,255,255,.85);--rd-acc-ink:#0e7490;color-scheme:light;text-shadow:none}
body.photobg #pop h1,body.photobg #pop h2,body.photobg #pop h3,body.photobg #pop .muted{text-shadow:none}
.pop-stage{background:linear-gradient(160deg,#fde9dc 0%,#fbe3d6 35%,#fff1e8 65%,#fadbc8 100%)}
.pop-stage[data-season=winter]{background:linear-gradient(160deg,#dbe8f7,#eef4fb 50%,#d5e3f4)}
.pop-stage[data-season=spring]{background:linear-gradient(160deg,#fdeaf0,#fff5f8 50%,#fbe1ea)}
.pop-stage[data-season=summer]{background:linear-gradient(160deg,#fff3d6,#fffaf0 50%,#ffe9bf)}
.pop-season{opacity:1}
@media (prefers-reduced-motion:reduce){.lbg-l{transition:none!important;animation:none!important}}
body.photobg #hero,body.photobg main{position:relative;z-index:1}
/* AA on photos: overlay ≥65% black at every point (worst case white pixel -> #595959); text outside panels ≥ #e5e5ea */
body.photobg .lbg-o{background:linear-gradient(180deg,rgba(0,0,0,.7) 0%,rgba(0,0,0,.65) 45%,rgba(0,0,0,.78) 100%)}
body.photobg .wrap>.muted,body.photobg .wrap>p.small,body.photobg .titlerow .muted{color:#e5e5ea}
body.photobg .lbg-cap{background:rgba(0,0,0,.6);padding:3px 8px;border-radius:8px;z-index:3}
@media(max-width:699px){body.photobg .lbg-cap{position:relative;left:auto;bottom:auto;display:block;max-width:none;margin:0 16px calc(84px + env(safe-area-inset-bottom));text-align:center}}
/* assistant close: always visible top-right, 44x44 tap target, high contrast, never wraps */
#pop .pc-h{position:relative;padding-right:64px;flex-wrap:wrap}
#pop .pc-h .pc-x{position:absolute;top:max(8px,env(safe-area-inset-top));right:10px;width:44px;height:44px;min-width:44px;padding:0;margin:0;border-radius:50%;
  display:flex;align-items:center;justify-content:center;background:#fff;color:#111;border:2px solid #0e7490;font-size:28px;font-weight:700;line-height:1;box-shadow:0 2px 8px rgba(0,0,0,.25);z-index:5;flex:none}
#pop .pc-h .pc-x:hover{background:#0e7490;color:#fff}
#pop .pc-h .pc-x:focus-visible{outline:3px solid #0e7490;outline-offset:2px}
.glass-legal{text-align:center;font-size:.85rem;margin:12px 0 0}
/* =====================================================================================
   wip25 LIGHT THEME (J: "too dark, lighter colors"): light semi-transparent white overlay over the moving
   landmark photos (still visible), near-white frosted cards, dark slate text (AA), teal #0e7490 accents/icons.
   ===================================================================================== */
html{--accent:#0e7490!important}
body.photobg,body.photobg.landing{color-scheme:light;background:#eef6f5;
  --bg:rgba(255,255,255,.7);--bg2:rgba(255,255,255,.78);--card:rgba(255,255,255,.84);--ink:#0f172a;--muted:#334155;--line:rgba(15,23,42,.10);--line2:rgba(15,23,42,.18);
  --glass:rgba(255,255,255,.8);--rd-acc:#0e7490;--rd-acc-ink:#0e7490;--accent:#0e7490;--ring:0 0 0 3px #fff,0 0 0 5px #0e7490;--soft-info:rgba(14,116,144,.10);--soft-teal:rgba(14,116,144,.10);color:#0f172a}
/* worst case black photo pixel under ≥55% white -> #8c8c8c: #0f172a = 5.6:1, #0e7490 on card ≥ 5.0:1 */
body.photobg .lbg-o{background:linear-gradient(180deg,rgba(255,255,255,.6) 0%,rgba(255,255,255,.55) 45%,rgba(255,255,255,.66) 100%)}
body.photobg .top{background:rgba(255,255,255,.8);color:#0f172a;border-bottom-color:rgba(15,23,42,.08)}
body.photobg .brand,body.photobg #brand,body.photobg .hbtn,body.photobg #acct a{color:#0f172a}body.photobg .bn-sub{color:#334155}
body.photobg .mark{background:#0e7490;color:#fff}
body.photobg .card,body.photobg .tile,body.photobg .list .item,body.photobg .strip,body.photobg .tablewrap,body.photobg .taxbn,body.photobg .askcard,body.photobg .result,body.photobg .adcard,body.photobg .rd-story,body.photobg .rd-story.rd-v-a{
  background:rgba(255,255,255,.84);color:#0f172a;border:1px solid rgba(255,255,255,.7);box-shadow:0 4px 18px rgba(15,23,42,.08),0 1px 2px rgba(15,23,42,.06);backdrop-filter:saturate(160%) blur(16px);-webkit-backdrop-filter:saturate(160%) blur(16px);text-shadow:none}
body.photobg .modal-in,body.photobg .glass{background:rgba(255,255,255,.94);color:#0f172a;box-shadow:0 12px 40px rgba(15,23,42,.18)}
body.photobg .tile .ic{background:rgba(14,116,144,.12);color:#0e7490}
body.photobg .tile .ic svg,body.photobg .chips svg{color:#0e7490}
body.photobg h1,body.photobg h2,body.photobg h3,body.photobg .wrap>p,body.photobg .muted,body.photobg .rd-hero h1,body.photobg .rd-hero p{color:inherit;text-shadow:0 1px 8px rgba(255,255,255,.6)}
body.photobg h1,body.photobg h2,body.photobg h3{color:#0f172a}
body.photobg .muted,body.photobg .wrap>.muted,body.photobg .wrap>p.small,body.photobg .titlerow .muted,body.photobg .rd-sub,body.photobg .rd-story p{color:#334155}
body.photobg .rd-hero{background:rgba(255,255,255,.4);background-image:radial-gradient(60% 70% at 18% 10%,rgba(14,116,144,.14),transparent 60%);color:#0f172a}
body.photobg .rd-k,body.photobg .rd-link,body.photobg a,body.photobg .linkbtn{color:#0e7490!important}
body.photobg .btn:not(.sec):not(.ghost),body.photobg .btn:not(.sec):not(.ghost) *{color:#fff!important}
body.photobg .btn:not(.sec):not(.ghost){background:#0e7490}
body.photobg .btn.sec,body.photobg .btn.ghost{color:#0e7490;background:rgba(255,255,255,.7)}
body.photobg .chip{background:rgba(255,255,255,.8);color:#0f172a;border-color:rgba(15,23,42,.14)}
body.photobg input[type=text],body.photobg input[type=email],body.photobg input[type=password],body.photobg input[type=number],body.photobg input[type=search],body.photobg input[type=date],body.photobg select,body.photobg textarea{background:#fff;color:#0f172a;border:1px solid #cbd5e1}
body.photobg select option,body.photobg select optgroup{background:#fff;color:#0f172a}
body.photobg>footer,body.photobg>footer a,body.photobg>footer p{color:#1e293b;border-color:rgba(15,23,42,.12)}body.photobg>footer a{color:#0e7490}
body.photobg .tabs{background:rgba(255,255,255,.88)}body.photobg .tabs a{color:#334155}body.photobg .tabs a.on{color:#0e7490}
body.photobg .lbg-cap{background:rgba(255,255,255,.8);color:#1e293b;text-shadow:none}
body.photobg .adcard .adlbl,body.photobg .adcard .adlbl a{color:#8a5a00!important}body.photobg .adcard p{color:#334155}
body.photobg .banner{background:rgba(255,248,230,.92);color:#5c3d00}body.photobg .banner.ok{background:rgba(233,248,238,.92);color:#0b5d27}
body.photobg .result.r-req{color:#b45309}body.photobg .result.r-not{color:#15803d}body.photobg .result.r-check{color:#0e7490}
body.photobg #fab{background:#0e7490;color:#fff;box-shadow:0 10px 28px -10px rgba(14,116,144,.6)}
/* light theme on sign-in / verify landing screens */
body.photobg.landing,body.photobg.authflow{color:#0f172a}
body.photobg.landing .top,body.photobg.authflow .top{background:rgba(255,255,255,.8)}
body.photobg.landing .brand,body.photobg.landing #brand,body.photobg.landing .hbtn,body.photobg.landing #acct a,body.photobg.authflow .top a,body.photobg.authflow .top button:not(.hbtn),body.photobg.authflow #acct a{color:#0f172a!important;text-shadow:none!important}
body.photobg.landing .bn-sub{color:#334155}body.photobg.landing .mark{background:#0e7490;color:#fff}
body.photobg.landing .hbtn.lang,body.photobg.landing .top .hbtn{border-color:rgba(15,23,42,.2);background:rgba(255,255,255,.6)}
body.photobg .hero-h,body.photobg.authflow #main>h1{color:#0f172a;text-shadow:0 1px 14px rgba(255,255,255,.7)}
body.photobg .hero-sub,body.photobg .kicker,body.photobg.landing #main>p,body.photobg.landing #main>a{color:#1e293b}
body.photobg .kicker{color:#0e7490}
body.photobg .chip-g{background:rgba(255,255,255,.82);border-color:rgba(15,23,42,.12);color:#0f172a}body.photobg .chip-g .i{color:#0e7490}
body.photobg .glass{border-color:rgba(255,255,255,.8)}body.photobg .glass h2{color:#0f172a}
body.photobg .glass-k,body.photobg .glass-link,body.photobg .glass a:not(.btn):not(.glass-link){color:#0e7490}
body.photobg .or span{color:#334155}body.photobg .or:before,body.photobg .or:after{background:rgba(15,23,42,.15)}
body.photobg.landing footer,body.photobg.landing footer a,body.photobg.landing>footer p{color:#1e293b}body.photobg.landing footer a{color:#0e7490}
/* 8 service tiles after removing the navigation guide: 2 cols (phone/tablet) -> 4 cols (desktop), always balanced */
body.rd-home #main .tiles{grid-template-columns:1fr 1fr}@media(min-width:900px){body.rd-home #main .tiles{grid-template-columns:repeat(4,1fr)}}
/* phone: no floating launcher (the hero "Ask the AI assistant" button + the "AI assistant" tab cover it); compact example chips; last tile clears the bottom nav */
@media(max-width:768px){
  #fab{display:none!important}
  body.rd-home #main .chips{flex-wrap:wrap;justify-content:center;gap:6px 8px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  body.rd-home #main .chips::-webkit-scrollbar{display:none}
  body.rd-home #main .chip[data-ask]{flex:0 0 auto;white-space:nowrap;font-size:13px;padding:6px 12px;min-height:32px;width:auto}
  body.has-tabs #main{padding-bottom:calc(96px + env(safe-area-inset-bottom))}
}
/* ad label + "Why this ad?": small, muted, normal weight (grey #5b6472 on white card = 5.9:1, AA) */
.adcard .adlbl,body.photobg .adcard .adlbl{font-size:10.5px!important;font-weight:400!important;letter-spacing:.06em;color:#5b6472!important;margin-bottom:4px;align-items:baseline}
.adcard .adlbl a,body.photobg .adcard .adlbl a{font-size:11px!important;font-weight:400!important;color:#5b6472!important;text-decoration:underline;text-underline-offset:2px}
/* "Add to your phone" slim bar (phones only; inserted under the header, in flow -> never covers content or the bottom nav) */
#a2hs{display:flex;width:max-content;align-items:center;justify-content:center;gap:6px;margin:8px auto 0;max-width:calc(100% - 24px);position:relative;z-index:5}
#a2hsBtn{display:inline-flex;align-items:center;gap:7px;background:rgba(255,255,255,.9);color:#0e7490;border:1px solid rgba(14,116,144,.35);border-radius:999px;padding:6px 14px;font-family:inherit;font-size:13px;font-weight:500;line-height:1.2;box-shadow:0 2px 8px rgba(15,23,42,.08);min-height:34px}
#a2hsX{background:rgba(255,255,255,.85);border:1px solid rgba(15,23,42,.12);color:#334155;border-radius:50%;width:34px;height:34px;font-size:18px;line-height:1}
#a2hsSheet{position:fixed;inset:0;z-index:3000}
#a2hsSheet .a2hs-bd{position:absolute;inset:0;background:rgba(15,23,42,.45)}
#a2hsSheet .a2hs-card{position:absolute;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));background:#fff;color:#0f172a;border-radius:18px;padding:18px 44px 18px 18px;box-shadow:0 20px 40px -10px rgba(0,0,0,.4)}
#a2hsSheet h3{margin:0 0 6px;font-size:16px}#a2hsSheet p{margin:0;font-size:15px;color:#334155}
#a2hsSheet .a2hs-x{position:absolute;top:8px;right:8px;width:36px;height:36px;border:0;background:#f1f5f9;border-radius:50%;font-size:20px;color:#334155}
.adcard .adtag{margin:-2px 0 6px;font-size:13px;color:#475569}.adcard img{width:100%;height:auto;aspect-ratio:800/310;object-fit:cover;border-radius:12px}

/* Events list: link cards must be blocks (were inline: broken boxes) */
#evList a.card{display:block;text-decoration:none;color:inherit;padding:14px 16px;margin-bottom:10px}#evList a.card h3{margin:0 0 6px;font-size:1.02rem}#evList a.card p{margin:2px 0}#evList a.card:hover{outline:2px solid var(--accent,#0e7490)}#evList .evmonth{font-size:1.05rem}

/* =====================================================================================
   SLICK 2026 layer (J: "feels like 2005"). Premium dark scrim over the moving photos, crisp white surfaces,
   soft layered shadows, 22px radii, no heavy outlines, one solid primary action + iOS grouped rows,
   frosted tab bar with an active pill, press micro-interactions, polished dark mode. Front-end only.
   ===================================================================================== */
:root{--s-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display",Inter,ui-sans-serif,system-ui,"Segoe UI",Roboto,sans-serif;
  --s-r:22px;--s-r-sm:14px;--s-acc:#0e7490;--s-acc-2:#0d6b63;--s-ink:#0b1220;--s-ink2:#3f4a5c;--s-sep:rgba(60,60,67,.14);
  --s-surf:#fff;--s-surf2:#f4f5f7;--s-sh:0 1px 1px rgba(16,24,40,.04),0 2px 6px rgba(16,24,40,.05),0 12px 32px -8px rgba(16,24,40,.18);
  --s-sh-lg:0 2px 4px rgba(16,24,40,.06),0 24px 60px -12px rgba(16,24,40,.35);--s-ease:cubic-bezier(.22,1,.36,1)}
body,body.photobg{font-family:var(--s-font);font-size:17px;line-height:1.5;letter-spacing:-.011em;font-feature-settings:"cv11","ss01"}
h1,body.photobg h1{font-size:clamp(1.65rem,1.2rem + 1.6vw,2.25rem);line-height:1.12;font-weight:700;letter-spacing:-.028em;margin:.2em 0 .5em}
h2,body.photobg h2{font-size:1.2rem;font-weight:650;letter-spacing:-.02em;line-height:1.25}
h3,body.photobg h3{font-size:1.04rem;font-weight:600;letter-spacing:-.015em}
.small{font-size:.88rem}

/* ---- backdrop: moving photo kept, premium scrim (darkened + blur + subtle teal/indigo glow), never grey haze ---- */
body.photobg,body.photobg.landing{background:#0a111c;
  --card:#fff;--bg:#fff;--bg2:var(--s-surf2);--ink:var(--s-ink);--muted:var(--s-ink2);--line:var(--s-sep);--line2:rgba(60,60,67,.22);--glass:rgba(255,255,255,.78)}
body.photobg .lbg-o{background:
  radial-gradient(120% 70% at 0% 0%,rgba(14,116,144,.32),transparent 60%),
  radial-gradient(90% 60% at 100% 100%,rgba(67,56,202,.22),transparent 65%),
  linear-gradient(180deg,rgba(6,10,18,.58) 0%,rgba(6,10,18,.46) 38%,rgba(6,10,18,.78) 100%);
  backdrop-filter:blur(3px) saturate(125%);-webkit-backdrop-filter:blur(3px) saturate(125%)}
/* text that sits directly on the scrim: white (AA on the darkened photo) */
body.photobg #main>h1,body.photobg .titlerow h1,body.photobg .titlerow,body.photobg #main>h2,body.photobg #main>p,body.photobg #main>.muted,body.photobg #main>p.muted,body.photobg .titlerow .muted,
body.photobg .hero-h,body.photobg.authflow #main>h1,body.photobg .hero-sub,body.photobg.landing #main>p,body.photobg .rd-hero h1,body.photobg .rd-hero p,body.photobg .rd-sub{color:#fff!important;text-shadow:0 1px 18px rgba(0,0,0,.35)}
body.photobg #main>p.muted,body.photobg #main>.muted,body.photobg .titlerow .muted,body.photobg .hero-sub,body.photobg .rd-sub{color:rgba(255,255,255,.86)!important}
body.photobg #main>a:not(.btn),body.photobg.landing #main>a:not(.btn){color:#a5f3fc!important}
body.photobg .kicker{color:#67e8f9!important}
body.photobg .rd-hero{background:transparent;background-image:none;box-shadow:none;border:0}
body.photobg>footer,body.photobg>footer p,body.photobg.landing footer,body.photobg.landing>footer p{color:rgba(255,255,255,.82)!important;border-color:rgba(255,255,255,.12)}
body.photobg>footer a,body.photobg.landing footer a{color:#a5f3fc!important}
body.photobg .lbg-cap{background:rgba(0,0,0,.42);color:#fff;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-radius:999px}

/* ---- header: real frosted glass ---- */
body.photobg .top,body.photobg.landing .top,body.photobg.authflow .top{background:rgba(255,255,255,.72);backdrop-filter:saturate(180%) blur(24px);-webkit-backdrop-filter:saturate(180%) blur(24px);border-bottom:0;box-shadow:0 1px 0 rgba(0,0,0,.06)}
body.photobg .mark{border-radius:10px;background:linear-gradient(135deg,#06b6d4,#0e7490 55%,#155e75);box-shadow:0 1px 2px rgba(0,0,0,.2),inset 0 1px 0 rgba(255,255,255,.25)}
.hbtn,body.photobg .hbtn,body.photobg.landing .top .hbtn{border:0!important;background:rgba(118,118,128,.12)!important;border-radius:999px;padding:7px 13px;font-weight:550;transition:background .2s,transform .2s var(--s-ease)}
.hbtn:hover,body.photobg .hbtn:hover{background:rgba(118,118,128,.2)!important}

/* ---- surfaces: crisp white, soft layered shadow, 22px radii, no outlines ---- */
body.photobg .card,body.photobg .tile,body.photobg .list .item,body.photobg .strip,body.photobg .tablewrap,body.photobg .taxbn,body.photobg .askcard,body.photobg .adcard,body.photobg .rd-story,body.photobg .rd-story.rd-v-a{
  background:var(--s-surf);color:var(--s-ink);border:0;border-radius:var(--s-r);box-shadow:var(--s-sh);backdrop-filter:none;-webkit-backdrop-filter:none;text-shadow:none}
body.photobg .card{padding:20px 20px}
body.photobg .card h1,body.photobg .card h2,body.photobg .card h3,body.photobg .card p,body.photobg .tile{text-shadow:none}
body.photobg .card .muted,body.photobg .card .small.muted{color:var(--s-ink2)}
body.photobg .card ul{padding-left:1.15em;margin:.4em 0}body.photobg .card li{margin:.35em 0}body.photobg .card li::marker{color:var(--s-acc)}
body.photobg .modal-in,body.photobg .glass{background:rgba(255,255,255,.9);backdrop-filter:saturate(180%) blur(30px);-webkit-backdrop-filter:saturate(180%) blur(30px);border:0;border-radius:26px;box-shadow:var(--s-sh-lg)}

/* tiles: left-aligned, icon chip, no borders */
body.photobg .tile{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:10px;padding:16px;font-weight:600;letter-spacing:-.01em;transition:transform .25s var(--s-ease),box-shadow .25s var(--s-ease)}
body.photobg .tile:hover{transform:translateY(-2px);box-shadow:var(--s-sh-lg)}
body.photobg .tile .ic{display:grid;place-items:center;width:40px;height:40px;border-radius:12px;background:linear-gradient(180deg,rgba(14,116,144,.14),rgba(14,116,144,.08));color:var(--s-acc);font-size:0}

/* ---- buttons: one solid primary, quiet secondaries ---- */
.btn,body.photobg .btn{font-family:inherit;font-size:17px;font-weight:600;letter-spacing:-.01em;line-height:1.25;border-radius:16px;padding:14px 20px;min-height:52px;text-align:left;justify-content:center;
  transition:transform .18s var(--s-ease),background-color .2s,box-shadow .2s,opacity .2s;-webkit-tap-highlight-color:transparent}
body.photobg .btn:not(.sec):not(.ghost){background:#0e7490;color:#fff;border:0;box-shadow:0 1px 0 rgba(255,255,255,.18) inset,0 1px 2px rgba(0,0,0,.12),0 8px 20px -8px rgba(14,116,144,.7)}
body.photobg .btn:not(.sec):not(.ghost):hover{background:linear-gradient(180deg,#0f7d74,#0d6b63)}
body.photobg .btn.sec{background:#fff;color:var(--s-acc)!important;border:0;box-shadow:var(--s-sh)}
body.photobg .btn.ghost{background:rgba(255,255,255,.14);color:#fff!important;border:0;box-shadow:none;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
body.photobg .card .btn.ghost,body.photobg .glass .btn.ghost,body.photobg .modal-in .btn.ghost,body.photobg .adcard .btn.ghost{background:rgba(118,118,128,.12);color:var(--s-acc)!important;backdrop-filter:none}
body.photobg .card .btn.sec,body.photobg .glass .btn.sec,body.photobg .modal-in .btn.sec{background:rgba(14,116,144,.09);box-shadow:none}
.btn:active,.tile:active,.lrow:active,.hbtn:active,.tabs a:active,.chip:active{transform:scale(.97)}
.btn[disabled]{opacity:.45}
.btn .i{flex:none}
.btn.block{width:100%;margin:10px 0}
.btn-primary{min-height:56px;font-size:17px}
.row{gap:10px}

/* ---- iOS grouped list rows ---- */
.lgroup{background:var(--s-surf);border-radius:var(--s-r);box-shadow:var(--s-sh);overflow:hidden;margin:12px 0 18px}
.lrow{display:flex;align-items:center;gap:14px;min-height:56px;padding:0 16px;color:var(--s-ink)!important;text-decoration:none;font-weight:500;font-size:17px;letter-spacing:-.01em;position:relative;transition:background-color .15s,transform .18s var(--s-ease)}
.lrow+.lrow::before{content:"";position:absolute;top:0;left:62px;right:0;height:1px;background:var(--s-sep)}
.lrow:hover{background:rgba(118,118,128,.07)}
.lrow:focus-visible{box-shadow:inset 0 0 0 3px #0e7490;border-radius:0}
.lrow-ic{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:#0e7490;color:#fff;flex:none}
.lrow-ic .i{width:18px;height:18px}
.lrow:nth-child(2) .lrow-ic{background:#16a34a}.lrow:nth-child(3) .lrow-ic{background:#2563eb}.lrow:nth-child(4) .lrow-ic{background:#7c3aed}.lrow:nth-child(5) .lrow-ic{background:#64748b}
.lrow-t{flex:1;padding:14px 0;line-height:1.3}
.lrow-chev{color:#8e8e93;flex:none}

/* ---- callouts: subtle info instead of beige box ---- */
.callout{display:flex;gap:12px;align-items:flex-start;background:rgba(255,255,255,.94);color:var(--s-ink2);border-radius:18px;padding:14px 16px;margin:12px 0;box-shadow:var(--s-sh);font-size:.94rem;line-height:1.45}
.callout .i{color:#2563eb;margin-top:1px}.callout p{margin:0}
body.photobg .banner{background:rgba(255,255,255,.94);color:var(--s-ink2);border:0;border-left:0;border-radius:18px;padding:13px 16px;box-shadow:var(--s-sh);font-size:.94rem;position:relative;padding-left:44px}
body.photobg .banner::before{content:"";position:absolute;left:16px;top:15px;width:18px;height:18px;border-radius:50%;background:#2563eb;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 15h-2v-6h2Zm0-8h-2V7h2Z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20Zm1 15h-2v-6h2Zm0-8h-2V7h2Z'/%3E%3C/svg%3E") center/contain no-repeat}
body.photobg .banner.ok{color:#0b5d27}body.photobg .banner.ok::before{background:#16a34a}

/* ---- permit result: status hero ---- */
body.photobg .result{background:#fff;border:0;border-radius:var(--s-r);box-shadow:var(--s-sh);font-size:1.3rem;letter-spacing:-.02em;padding:18px 20px 18px 56px;position:relative;text-shadow:none}
body.photobg .result::before{content:"";position:absolute;left:18px;top:50%;width:26px;height:26px;margin-top:-13px;border-radius:50%;background:currentColor;opacity:.16}
body.photobg .result::after{content:"";position:absolute;left:27px;top:50%;width:8px;height:8px;margin-top:-4px;border-radius:50%;background:currentColor}
body.photobg .result.r-req{color:#b45309}body.photobg .result.r-not{color:#15803d}body.photobg .result.r-check{color:#0e7490}

/* ---- inputs ---- */
body.photobg input[type=text],body.photobg input[type=email],body.photobg input[type=password],body.photobg input[type=number],body.photobg input[type=search],body.photobg input[type=tel],body.photobg input[type=date],body.photobg select,body.photobg textarea{
  background:var(--s-surf2);border:1px solid transparent;border-radius:14px;min-height:48px;padding:11px 14px;font-size:17px;transition:border-color .2s,box-shadow .2s,background .2s}
body.photobg input:focus,body.photobg select:focus,body.photobg textarea:focus{background:#fff;border-color:#0e7490;box-shadow:0 0 0 4px rgba(14,116,144,.18);outline:none}
body.photobg label{font-weight:600;font-size:.92rem;color:var(--s-ink)}
body.photobg .chip,body.photobg .chip-g{border:0!important;background:rgba(255,255,255,.92);box-shadow:0 1px 2px rgba(0,0,0,.08);border-radius:999px;color:var(--s-ink)}

/* ---- Sponsored: tasteful, card-like, small caps label ---- */
body.photobg .adcard{padding:14px;border:0!important}
body.photobg .adcard img,body.photobg .adcard video{border-radius:16px}
body.photobg .adcard h3{margin:12px 2px 2px;font-size:1.02rem}body.photobg .adcard p{margin:2px 2px 10px;font-size:.92rem}
body.photobg .adcard .btn{min-height:44px;padding:10px 16px;font-size:15px;width:100%}
body.photobg .adcard .btn.sec{background:rgba(118,118,128,.12);color:var(--s-ink)!important;box-shadow:none}

/* ---- bottom tab bar: frosted iOS bar with active pill ---- */
@media(max-width:699px){
  body.photobg .tabs,.tabs{left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));border-radius:26px;padding:6px;border:0!important;
    background:rgba(255,255,255,.72)!important;backdrop-filter:saturate(180%) blur(28px);-webkit-backdrop-filter:saturate(180%) blur(28px);box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 10px 30px -8px rgba(0,0,0,.35)}
  .tabs a,.tabs button,body.photobg .tabs a{border-radius:20px;padding:6px 4px;font-size:11px;font-weight:600;letter-spacing:0;color:#3c3c43!important;transition:background-color .25s var(--s-ease),color .2s,transform .18s var(--s-ease)}
  .tabs a.on,body.photobg .tabs a.on{background:rgba(14,116,144,.13);color:#0e7490!important}
  body.has-tabs #main{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
}
body.photobg #fab{border-radius:999px;background:#0e7490;box-shadow:0 12px 30px -10px rgba(14,116,144,.8),0 2px 6px rgba(0,0,0,.2)}

/* ---- AI assistant panel ---- */
#pop{border-radius:26px;box-shadow:var(--s-sh-lg)}
#pop .pc-h .pc-x{border:0;background:rgba(118,118,128,.16);color:#1c1c1e;box-shadow:none;font-size:24px}
#pop .pc-h .pc-x:hover{background:rgba(118,118,128,.28);color:#000}
#pop .hbtn.spk.on{background:rgba(14,116,144,.14)!important;color:#0e7490}
#pop .pc-mic,#pop .pc-send{transition:transform .18s var(--s-ease),background .2s}
#pop .pc-mic:active,#pop .pc-send:active{transform:scale(.94)}

/* ---- motion ---- */
#main>*{animation:s-in .45s var(--s-ease) both}
@keyframes s-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
  .btn:active,.tile:active,.lrow:active,.hbtn:active,.tabs a:active,.chip:active,body.photobg .tile:hover{transform:none}}

/* ---- dark mode: deep surfaces, same hierarchy ---- */

body.photobg a.lrow{color:var(--s-ink)!important}
body.photobg .citysw select{padding-left:34px;min-height:40px;border-radius:999px}
body.photobg .titlerow,body.photobg .titlerow h1{background:transparent!important;box-shadow:none}
body.photobg .rd-pill{border-radius:16px;min-height:54px;font-weight:600;letter-spacing:-.01em;transition:transform .18s var(--s-ease),background .2s}
body.photobg .rd-pill:not(.rd-pill-o){background:#0e7490;color:#fff!important;border:0;box-shadow:0 1px 0 rgba(255,255,255,.18) inset,0 10px 24px -8px rgba(14,116,144,.8)}
body.photobg .rd-pill.rd-pill-o{background:rgba(255,255,255,.16)!important;color:#fff!important;border:0!important;backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);box-shadow:inset 0 0 0 1px rgba(255,255,255,.22)}
body.photobg .rd-pill:active{transform:scale(.97)}
body.photobg .lbg-cap a{color:#a5f3fc!important}
@media (prefers-reduced-motion:reduce){body.photobg .rd-pill:active{transform:none}}
body.photobg .glass,body.photobg.authflow #main .card.glass,body.photobg.landing #main .card.glass{background:rgba(255,255,255,.96)!important}
body.photobg .glass input[type=email],body.photobg .glass input[type=password],body.photobg .glass input[type=text]{background:#f2f2f7;border:1px solid rgba(60,60,67,.12)}
body.photobg #main>p a,body.photobg #main>.muted a,body.photobg #main>div>p.muted a:not(.btn){color:#a5f3fc!important}

body.photobg .cityreq-l,body.photobg #main>.cityreq-l{color:#a5f3fc!important}
body.photobg .card .cityreq-l,body.photobg .glass .cityreq-l{color:#0e7490!important}
body.photobg .glass .btn.ghost,body.photobg .glass .btn.sec,body.photobg .modal-in .btn.ghost,body.photobg .card .btn.ghost{color:#0b5f58!important}


/* =====================================================================================
   SLICK v2 — "one seamless sheet" (J: "no pieces/pills, smooth layout", "we are in 2026").
   Immersive edge-to-edge photo header with a large overlaid title (collapses on scroll), then ONE white sheet
   with a single large top radius; sections separated by whitespace + hairlines. No cards, outlines, pills or tints.
   Real glass only on the docked nav. Teal is a sparing accent.
   ===================================================================================== */
:root{--v2-sheet:#fff;--v2-ink:#0a0a0b;--v2-ink2:#55565c;--v2-hair:rgba(0,0,0,.08);--v2-acc:#0e7490;--v2-r:34px;--v2-pad:max(22px,calc((100vw - 760px)/2));--v2-spring:cubic-bezier(.34,1.3,.64,1)}
html,body{overflow-x:clip}
body.photobg{--s-surf:#fff;--s-surf2:#fff;--card:#fff;--bg2:#f6f6f7}

/* --- sheet painting: the first title on a page sits on the photo; everything after it is on the sheet --- */
body.photobg .wrap{max-width:none;padding:0;gap:0;display:block}
body.photobg main,body.photobg #main{max-width:760px;margin:0 auto;padding:0 22px calc(110px + env(safe-area-inset-bottom));position:relative;z-index:1}
body.photobg #main>.titlerow:first-child,body.photobg #main>h1:first-child{position:relative;display:flex;flex-direction:column-reverse;align-items:flex-start;gap:6px;
  margin:0 0 28px;padding:clamp(120px,22vh,230px) 0 30px}
body.photobg #main>.titlerow:first-child::after,body.photobg #main>h1:first-child::after{content:none}
body.photobg #main>h1:first-child{display:block}
body.photobg #main>.titlerow:first-child h1,body.photobg #main>h1:first-child{font-size:clamp(2.4rem,1.6rem + 3.2vw,3.6rem)!important;line-height:1.02;font-weight:800;letter-spacing:-.04em;color:#fff!important;margin:0;text-shadow:0 2px 30px rgba(0,0,0,.35)}
/* home: hero is the photo header; the sheet is the wrap */
body.photobg.rd-home .wrap{background:var(--v2-sheet);border-radius:var(--v2-r) var(--v2-r) 0 0;margin-top:-34px;position:relative;z-index:2;padding-top:18px;box-shadow:0 -30px 60px -20px rgba(0,0,0,.35)}
body.photobg.rd-home #main{padding-top:10px}
/* the scrim only needs to darken the header area now */
body.photobg .lbg-o{background:linear-gradient(180deg,rgba(0,0,0,.45) 0%,rgba(0,0,0,.18) 30%,rgba(0,0,0,.55) 100%)}
@supports (animation-timeline:scroll()){
  body.photobg #main>.titlerow:first-child h1,body.photobg #main>h1:first-child,body.photobg #hero .rd-h{animation:v2-collapse linear both;animation-timeline:scroll(root);animation-range:0 260px}
  @keyframes v2-collapse{to{opacity:.35}}
}

/* --- eyebrow city (plain text, no pill) --- */
body.photobg .citysw{gap:4px;flex-wrap:nowrap}
body.photobg .citysw-ic{color:#fff;margin-right:-22px;padding-left:0}
body.photobg .citysw select,body.photobg .citysw-pop select{appearance:none;-webkit-appearance:none;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:6px!important;
  padding:2px 18px 2px 22px!important;min-height:32px;font-size:13px!important;font-weight:700!important;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.92)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 0 center!important;max-width:80vw}
body.photobg .citysw select option{color:#000;background:#fff;text-transform:none}
body.photobg .citysw a,body.photobg .citysw .small{color:rgba(255,255,255,.85)!important}

/* --- flatten everything inside the sheet: no boxes in boxes --- */
body.photobg .card,body.photobg .askcard,body.photobg .tablewrap,body.photobg .taxbn,body.photobg .strip,body.photobg .lgroup,body.photobg .result,body.photobg .callout,body.photobg .banner,body.photobg .adcard,body.photobg .rd-story,body.photobg .rd-story.rd-v-a{
  background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;color:var(--v2-ink)}
body.photobg #main .card,body.photobg #main .askcard,body.photobg #main .lgroup,body.photobg #main .adcard,body.photobg #aside .adcard{padding:26px 0;margin:0;border-top:1px solid var(--v2-hair)!important}
body.photobg #main>.titlerow:first-child+*,body.photobg #main>h1:first-child+*{border-top:0!important}
body.photobg #main>p.muted{color:var(--v2-ink2)!important;text-shadow:none;margin:0 0 8px}
body.photobg #main h2,body.photobg #main h3{color:var(--v2-ink);text-shadow:none}
body.photobg #main h2{font-size:1.45rem;font-weight:750;letter-spacing:-.03em}
body.photobg #main p,body.photobg #main li{color:#2a2b30}
body.photobg #main .muted,body.photobg #main .small.muted{color:var(--v2-ink2)!important}
body.photobg #main>a:not(.btn){color:var(--v2-acc)!important;text-shadow:none}

/* --- result: display headline + dot --- */
body.photobg .result{display:flex;align-items:center;gap:14px;padding:0 0 10px!important;font-size:clamp(2.1rem,1.6rem + 2vw,2.6rem)!important;line-height:1.05;font-weight:800;letter-spacing:-.04em;text-shadow:none}
body.photobg .result::before{position:static;flex:none;width:14px;height:14px;margin:0;opacity:1;background:currentColor;box-shadow:0 0 0 6px color-mix(in srgb,currentColor 16%,transparent)}
body.photobg .result::after{display:none}
body.photobg .result.r-req{color:#b4410a}body.photobg .result.r-not{color:#15803d}body.photobg .result.r-check{color:#0e7490}
body.photobg .result+.card{border-top:0!important;padding-top:6px}
body.photobg .result+.card p strong{font-size:.8rem;letter-spacing:.08em;text-transform:uppercase;color:var(--v2-ink2)}

/* --- guidance: inline small print --- */
body.photobg .callout,body.photobg .banner{padding:0 0 0 0!important;margin:4px 0 22px;font-size:.84rem;line-height:1.45;color:var(--v2-ink2)!important;display:flex;gap:8px}
body.photobg .callout .i{color:var(--v2-ink2);width:16px;height:16px;margin-top:1px}
body.photobg .banner{padding-left:24px!important;display:block}body.photobg .banner::before{left:0;top:2px;width:15px;height:15px;background:var(--v2-ink2)}

/* --- buttons: rounded-rect, primary full width, no pills/outlines --- */
body.photobg .btn{border-radius:14px!important;box-shadow:none!important;min-height:54px}
body.photobg .btn:not(.sec):not(.ghost){background:var(--v2-ink)!important;color:#fff!important}
body.photobg .btn:not(.sec):not(.ghost):hover{background:#26272b!important}
body.photobg .btn-primary,body.photobg #main .btn.block:not(.sec):not(.ghost){width:100%;background:var(--v2-acc)!important}
body.photobg .btn-primary:hover{background:#0c625b!important}
body.photobg .btn.sec,body.photobg .card .btn.sec,body.photobg .glass .btn.sec{background:#f2f2f3!important;color:var(--v2-ink)!important;border:0!important}
body.photobg .btn.ghost,body.photobg .card .btn.ghost,body.photobg .glass .btn.ghost{background:transparent!important;color:var(--v2-acc)!important;min-height:44px;backdrop-filter:none}
body.photobg .row>.btn{flex:1}
.btn,.lrow,.tile,.tabs a{transition:transform .35s var(--v2-spring),background-color .2s,color .2s}

/* --- action list: rows inside the sheet --- */
body.photobg .lgroup{margin:18px 0 0;padding:4px 0 0!important}
body.photobg .lrow{padding:0;min-height:60px;font-size:17px}
body.photobg .lrow+.lrow::before{left:48px}
body.photobg .lrow-ic,.lrow:nth-child(n) .lrow-ic{background:transparent!important;color:var(--v2-acc);width:32px;height:32px;border-radius:0}
body.photobg .lrow-ic .i{width:22px;height:22px}
body.photobg .lrow:hover{background:transparent}body.photobg .lrow:hover .lrow-t{color:var(--v2-acc)}

/* --- tiles (home services): flat grid cells with hairlines --- */
body.photobg .tiles{gap:0!important}
body.photobg .tile{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;border-bottom:1px solid var(--v2-hair)!important;padding:20px 4px!important;font-size:16px}
body.photobg .tile:hover{transform:none;box-shadow:none;color:var(--v2-acc)}
body.photobg .tile .ic{background:transparent!important;width:auto;height:auto;color:var(--v2-acc)}
body.photobg .list .item{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;border-bottom:1px solid var(--v2-hair)!important;padding:18px 0!important;display:block;color:var(--v2-ink)!important;text-decoration:none}

/* --- no pills anywhere: chips/tags/badges become text --- */
body.photobg .chip,body.photobg .chip-g{border-radius:12px!important;background:#f2f2f3!important;box-shadow:none!important;border:0!important;color:var(--v2-ink)!important}
body.photobg .stchip,body.photobg .badge{background:transparent!important;border-radius:0!important;padding:0 0 0 14px!important;position:relative;font-weight:650;letter-spacing:.01em;color:var(--v2-ink2)!important}
body.photobg .stchip::before,body.photobg .badge::before{content:"";position:absolute;left:2px;top:50%;width:7px;height:7px;margin-top:-3.5px;border-radius:50%;background:var(--v2-acc)}
body.photobg .st-resolved::before,body.photobg .b-resolved::before{background:#16a34a}body.photobg .st-submitted::before,body.photobg .b-submitted::before{background:#a1a1aa}
body.photobg .hbtn,body.photobg.landing .top .hbtn{border-radius:10px!important;background:transparent!important}
body.photobg .hbtn:hover{background:rgba(0,0,0,.06)!important}
body.photobg .rd-pill{border-radius:16px!important}
body.photobg .rd-k,body.photobg .kicker,body.photobg .rd-hero .rd-badge{background:transparent!important;border:0!important;box-shadow:none!important;padding-left:0!important;backdrop-filter:none!important}
body.photobg .lbg-cap{background:transparent!important;border-radius:0!important;backdrop-filter:none!important;text-shadow:0 1px 6px rgba(0,0,0,.6)}
#a2hsBtn{border-radius:12px!important;border:0!important;background:rgba(255,255,255,.18)!important;color:#fff!important;backdrop-filter:blur(30px) saturate(180%);-webkit-backdrop-filter:blur(30px) saturate(180%);box-shadow:none!important}
#a2hsX{border:0!important;background:rgba(255,255,255,.18)!important;color:#fff!important;border-radius:12px!important;backdrop-filter:blur(30px)}

/* --- header: transparent over the photo, glass only once scrolled is not needed: keep it clear --- */
body.photobg .top,body.photobg.landing .top,body.photobg.authflow .top{background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;position:absolute;left:0;right:0}
body.photobg .top .brand,body.photobg .top #brand,body.photobg .top .hbtn,body.photobg .top #acct a,body.photobg .bn-sub{color:#fff!important;text-shadow:0 1px 10px rgba(0,0,0,.35)}
body.photobg .top .hbtn:hover{background:rgba(255,255,255,.14)!important}

/* --- sponsored: a quiet section --- */
body.photobg #aside{max-width:760px;margin:0 auto;padding:0 22px;position:relative;z-index:2}
body.photobg .adcard img,body.photobg .adcard video{border-radius:18px}
body.photobg .adcard .btn.sec{background:#f2f2f3!important}

/* --- footer belongs to the sheet --- */
body.photobg>footer{position:relative;z-index:2;background:var(--v2-sheet);color:var(--v2-ink2)!important;border-top:1px solid var(--v2-hair)!important;padding-bottom:calc(100px + env(safe-area-inset-bottom))}
body.photobg>footer p,body.photobg>footer{color:var(--v2-ink2)!important;text-shadow:none}
body.photobg>footer a{color:var(--v2-acc)!important}

/* --- docked tab bar: full width, real glass, no pill --- */
@media(max-width:699px){
  body.photobg .tabs,.tabs{left:0!important;right:0!important;bottom:0!important;border-radius:0!important;padding:6px 6px max(8px,env(safe-area-inset-bottom))!important;
    background:rgba(255,255,255,.66)!important;backdrop-filter:blur(36px) saturate(200%)!important;-webkit-backdrop-filter:blur(36px) saturate(200%)!important;box-shadow:0 -.5px 0 rgba(0,0,0,.18)!important;border-top:0!important}
  .tabs a,body.photobg .tabs a,.tabs button{border-radius:0!important;background:transparent!important;color:#6b6b72!important;font-size:10.5px;font-weight:600}
  .tabs a.on,body.photobg .tabs a.on{background:transparent!important;color:var(--v2-acc)!important}
  .tabs a.on .i{stroke-width:2.4}
  body.has-tabs #main,body.photobg.has-tabs #main{padding-bottom:calc(150px + env(safe-area-inset-bottom))!important}
}

/* --- login: copy on the photo, the form IS the sheet --- */
body.photobg.landing #main .card.glass,body.photobg.authflow #main .card.glass{background:var(--v2-sheet)!important;border-radius:var(--v2-r) var(--v2-r) 0 0!important;box-shadow:0 -30px 60px -20px rgba(0,0,0,.35)!important;
  margin:28px -22px 0!important;padding:34px 22px 40px!important;backdrop-filter:none!important;border:0!important}
body.photobg.landing .hero-l{padding-top:90px}
body.photobg .hero-h{font-size:clamp(2.6rem,1.8rem + 3vw,4rem)!important;font-weight:800;letter-spacing:-.045em;line-height:1}
body.photobg .chips-g,body.photobg .hero .chips{display:none}
body.photobg .glass input[type=email],body.photobg .glass input[type=password],body.photobg .glass input[type=text],body.photobg input[type=text],body.photobg input[type=email],body.photobg input[type=password],body.photobg input[type=number],body.photobg select:not([data-citysw]),body.photobg textarea{
  background:#f4f4f5!important;border:0!important;border-radius:12px!important;box-shadow:none}
body.photobg input:focus,body.photobg select:focus,body.photobg textarea:focus{background:#fff!important;box-shadow:0 0 0 2px var(--v2-acc)!important}
@media(min-width:900px){body.photobg.landing #main .card.glass{margin:0!important;border-radius:var(--v2-r)!important;box-shadow:0 30px 80px -20px rgba(0,0,0,.45)!important}body.photobg.landing .hero-l{padding-top:40px}}

/* --- assistant panel: one surface, glass header, no pills --- */
#pop{border-radius:var(--v2-r) var(--v2-r) 0 0!important;border:0!important}
@media(min-width:700px){#pop{border-radius:28px!important;box-shadow:0 40px 100px -20px rgba(0,0,0,.5)!important}}
#pop .pop-h{background:rgba(255,255,255,.7)!important;backdrop-filter:blur(30px) saturate(180%);-webkit-backdrop-filter:blur(30px) saturate(180%);border-bottom:1px solid var(--v2-hair)!important}
#pop .hbtn{border-radius:10px!important;background:transparent!important;border:0!important;color:var(--v2-ink)!important}
#pop .hbtn.spk.on{color:var(--v2-acc)!important;background:rgba(14,116,144,.08)!important}
#pop .citysw-pop select{color:var(--v2-ink)!important;background-color:transparent!important;border:0!important;text-transform:none;letter-spacing:0;font-size:14px!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")!important;padding-left:2px!important}
#pop .pc-h .pc-x{border-radius:12px!important;background:#f2f2f3!important}
#pop .pc-sugg button,#pop .pc-sugg a,#pop .pc-sugg>*{border-radius:0!important;border:0!important;border-bottom:1px solid var(--v2-hair)!important;background:transparent!important;box-shadow:none!important;text-align:left;width:100%;padding:14px 4px!important;color:var(--v2-acc)!important;font-weight:550}
#pop .pc-sugg{flex-direction:column;gap:0!important;padding:8px 16px!important}
#pop .bub.ai{border-radius:20px 20px 20px 6px}
#pop .pc-form{border-radius:16px!important;border:0!important;background:#f4f4f5!important;box-shadow:none!important}
#pop .pc-form input{background:transparent!important;border:0!important}
#pop .pc-mic{border-radius:10px!important;background:#fff!important}

/* motion: spring entrance for the sheet content */
#main>*{animation:v2-in .45s var(--v2-spring)}
@keyframes v2-in{from{transform:translateY(14px)}to{transform:none}}
@media (prefers-reduced-motion:reduce){#main>*,body.photobg #main>.titlerow:first-child h1,body.photobg #main>h1:first-child,body.photobg .rd-hero-in{animation:none!important;opacity:1!important;transform:none!important;filter:none!important}}

/* --- dark mode: same structure, graphite sheet --- */

/* v2 fixes: keep header in flow; clip the sheet paint to main; side-fill aside */
body.photobg .top,body.photobg.landing .top,body.photobg.authflow .top{position:relative}

body.photobg #aside{background:var(--v2-sheet);box-shadow:0 0 0 50vw var(--v2-sheet);clip-path:inset(0 -50vw)}
body.photobg #aside:empty{display:none}
body.photobg .rd-eyebrow{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;padding:0!important;text-transform:uppercase;letter-spacing:.1em;font-size:12.5px!important}
body.photobg .rd-h{font-size:clamp(2.8rem,1.8rem + 4vw,5rem)!important;font-weight:800!important;letter-spacing:-.045em;line-height:.98}
body.photobg .rd-hero{text-align:left}body.photobg .rd-hero-in{align-items:flex-start;text-align:left;max-width:760px;margin:0 auto}
body.photobg .lbg-cap{top:calc(64px + env(safe-area-inset-top));bottom:auto!important;right:14px;left:auto!important;opacity:.75;font-size:11px}
body.photobg.has-tabs .lbg-cap{bottom:auto!important}
#pop .citysw-pop select{background-repeat:no-repeat!important;background-position:right 2px center!important;padding-right:20px!important}
html body.photobg #hero .rd-eyebrow{background:transparent!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;padding:0!important;text-transform:uppercase;letter-spacing:.1em;font-size:12.5px!important}
html body.photobg #hero .rd-hero,html body.photobg #hero .rd-hero-in{text-align:left!important;align-items:flex-start!important}
html body.photobg #hero .rd-hero-in{max-width:760px;margin-inline:auto;padding-inline:22px}
html body.photobg #hero .rd-h{font-size:clamp(2.8rem,1.8rem + 4vw,5rem)!important;font-weight:800!important;letter-spacing:-.045em;line-height:.98;text-align:left}
html body.photobg #hero .rd-hero p{text-align:left;margin-inline:0}
@media(max-width:899px){html body.photobg.landing #main .card.glass{margin:28px -22px 0!important;width:auto!important;max-width:none!important;border-radius:var(--v2-r) var(--v2-r) 0 0!important;background:var(--v2-sheet)!important}}
body.photobg .tabs{z-index:60!important}
html body.photobg.landing #main .glass,html body.photobg.authflow #main .glass{background:var(--v2-sheet)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border:0!important;
  border-radius:var(--v2-r) var(--v2-r) 0 0!important;box-shadow:0 -30px 60px -20px rgba(0,0,0,.35)!important;margin:28px -22px 0!important;padding:34px 22px 40px!important;max-width:none!important}
@media(min-width:900px){html body.photobg.landing #main .glass{margin:0!important;border-radius:var(--v2-r)!important;box-shadow:0 30px 80px -20px rgba(0,0,0,.45)!important}}

html body.photobg.landing #main .hero{padding-inline:0!important}
#main>*{animation-duration:.45s}
@supports (animation-timeline:scroll()){body.photobg .lbg-cap{animation:v2-fade linear both;animation-timeline:scroll(root);animation-range:0 120px}@keyframes v2-fade{to{opacity:0;visibility:hidden}}}
@media (prefers-reduced-motion:reduce){body.photobg .lbg-cap{animation:none!important}}
body.photobg .titlerow .citysw select{width:auto!important;flex:none}
body.photobg .titlerow .citysw-ic,body.photobg .titlerow .citysw .i{color:rgba(255,255,255,.9)!important}
body.photobg #main .empty{border:0!important;background:transparent!important;border-radius:0!important;padding:40px 0!important}
body.photobg #main .empty .ic,body.photobg #main .empty>span:first-child{background:transparent!important}
body.photobg .chip.on,body.photobg .chip[aria-pressed=true],body.photobg .chip[aria-checked=true]{background:var(--v2-ink)!important;color:#fff!important}
body.photobg #main .empty-ic{background:transparent!important}
html body.photobg>footer a,html body.photobg.landing>footer a,html body.photobg.landing #footer a{color:var(--v2-acc)!important;text-shadow:none!important}
html body.photobg>footer,html body.photobg.landing>footer{background:var(--v2-sheet)!important}
body.photobg #main .ad-inline{background:var(--v2-sheet)}
body.photobg #a2hs{position:absolute;top:calc(58px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);margin:0;z-index:20}

.result+.card>p:first-child,.card>p:first-child{margin-top:0}

/* wip29: city switcher pin never overlaps the city name (icon absolutely placed, select reserves its space) */
.citysw{position:relative}
.citysw-ic{position:absolute!important;left:12px;top:0;height:40px;display:flex!important;align-items:center;margin:0!important;padding:0!important;z-index:1;pointer-events:none}
.citysw select{min-height:40px;padding-left:36px!important;text-overflow:ellipsis}
body.photobg .citysw-ic{left:0}
body.photobg .citysw select{padding-left:22px!important}
/* wip29: bigger service-grid / permit-project icons, tighter icon-label gap, proportional tab-bar icons */
body.photobg .tile{gap:11px!important}
body.photobg .tile .ic svg,.tile .ic svg{width:32px;height:32px;stroke-width:1.75}
@media(min-width:768px){body.photobg .tile .ic svg,.tile .ic svg{width:36px;height:36px}}
.tabs a svg,.tabs button svg{width:26px;height:26px;stroke-width:1.75}

/* FIX black-on-scroll (iOS Safari): the sheet used to be a 100000px-tall, 100vw, blurred-shadow ::after on the title inside an
   isolated, overflow-clipped <main> - far beyond WebKit's compositing-layer/tile limits, so iOS painted it black while scrolling.
   Now the sheet is a ::before on <main> bounded by main itself (top = measured title height via --sheet-top, set in app.js),
   no blur shadow, no scroll-driven opacity on content, no filter:blur, and a scrim colour behind everything for overscroll. */
html{background:#0b1d22}
body.photobg #main::before{content:"";position:absolute;z-index:-1;top:var(--sheet-top,0px);bottom:0;left:50%;width:100vw;transform:translateX(-50%);
  background:var(--v2-sheet);border-radius:var(--v2-r) var(--v2-r) 0 0;box-shadow:0 -1px 0 rgba(255,255,255,.25)}
body.photobg:not(.v2-sheet) #main::before,body.photobg.landing #main::before,body.photobg.rd-home #main::before{content:none}
body.photobg.rd-home #main>.titlerow:first-child{padding:8px 0 4px;margin:0 0 12px}
body.photobg.rd-home #main>.titlerow:first-child h1{color:var(--v2-ink)!important;text-shadow:none;font-size:clamp(1.8rem,1.4rem + 1.6vw,2.4rem)!important;animation:none}
body.photobg.rd-home #main>.titlerow:first-child .citysw select{color:var(--v2-ink2)!important}
body.photobg.landing #main .glass,body.photobg.authflow #main .glass{min-height:62vh}
@media(min-width:900px){body.photobg.landing #main .glass{min-height:0}}

/* wip32: city name in the home headline; long names (Dollard-des-Ormeaux, L'Île-Bizard–Sainte-Geneviève) wrap at hyphens and step down in size */
#hero .rd-h .rd-city{overflow-wrap:break-word;hyphens:manual}
html body.photobg #hero .rd-h.rd-h-l{font-size:clamp(2.3rem,1.5rem + 3.4vw,4.4rem)!important}
html body.photobg #hero .rd-h.rd-h-xl{font-size:clamp(2rem,1.3rem + 2.8vw,3.8rem)!important}

/* wip32 stay signed in */
.chk.stay{align-items:flex-start;margin-top:10px}.chk.stay span{display:flex;flex-direction:column;gap:2px}.stay-h{font-size:.82em}

/* wip32 Work with us / Collaborez avec nous */
.pt-hero{padding:8px 0 4px}.pt-hero h1{margin:.1em 0 .3em}.pt-lead{font-size:1.08rem;color:var(--muted,#555);max-width:62ch}
.pt-grid{display:grid;gap:16px;margin:16px 0}@media(min-width:760px){.pt-grid{grid-template-columns:1fr 1fr}}
.pt-card{display:flex;flex-direction:column;gap:6px}.pt-card h2{margin:.2em 0 0}.pt-card .btn{margin-top:auto;align-self:flex-start}
.pt-ic{display:inline-flex;width:42px;height:42px;border-radius:12px;align-items:center;justify-content:center;background:var(--bg2,#eef3fb)}
.pt-offer{background:#fff7e0;border:1px solid #f1d58a;border-radius:10px;padding:10px 12px;color:#4a3800}
.pt-list{list-style:none;padding:0;margin:6px 0 12px;display:grid;gap:8px}.pt-list li{display:flex;gap:8px;align-items:flex-start}.pt-list svg{flex:none;margin-top:3px;color:var(--accent,#1a73e8)}
.pt-form fieldset{border:0;padding:0;margin:0 0 8px;display:flex;flex-wrap:wrap;gap:6px 18px}.pt-form legend{font-weight:700;margin-bottom:6px}
.pt-row{display:grid;gap:0 14px}@media(min-width:700px){.pt-row{grid-template-columns:1fr 1fr}}
.pt-hp{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}.pt-msg{white-space:pre-wrap}

/* wip32 form controls + states: explicit colours so OS dark mode / iOS autofill never yields white-on-white */
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=submit]):not([type=button]),select,textarea{
  background-color:#fff;color:#0f172a;-webkit-text-fill-color:#0f172a;caret-color:#0e7490;border:1px solid #94a3b8;opacity:1}
input::placeholder,textarea::placeholder{color:#64748b;-webkit-text-fill-color:#64748b;opacity:1}
input:disabled,select:disabled,textarea:disabled{background-color:#f1f5f9;color:#334155;-webkit-text-fill-color:#334155}
input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus,textarea:-webkit-autofill,select:-webkit-autofill{
  -webkit-box-shadow:0 0 0 1000px #fff inset!important;box-shadow:0 0 0 1000px #fff inset!important;-webkit-text-fill-color:#0f172a!important;caret-color:#0e7490}
select{-webkit-appearance:none;appearance:none;padding-right:2.2em;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23334155' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right .8em center;background-size:12px 8px}
select option,select optgroup{background:#fff;color:#0f172a}
.glass select{color-scheme:light}
input[type=checkbox],input[type=radio]{accent-color:#0e7490}

/* wip32 sign-in/sign-up card on the (light) photo theme: the old dark-glass rules left white labels on a white card */
body.photobg .glass,body.photobg .glass label,body.photobg .glass label.chk,body.photobg .glass .consent,body.photobg .glass h2,body.photobg .glass h3,body.photobg .glass .phonebox{color:#0f172a}
body.photobg .glass p,body.photobg .glass .small,body.photobg .glass #addrHint,body.photobg .glass .muted,body.photobg .glass small,body.photobg .glass .consent .privacy{color:#334155;text-shadow:none}
body.photobg .glass .consent{background:#f8fafc;border-color:#cbd5e1}body.photobg .glass .consent .privacy{background:#fff;border-color:#e2e8f0}
body.photobg .glass .glass-k{color:#0e7490}body.photobg .glass .req{color:#b91c1c}body.photobg .glass .opt{color:#475569;font-weight:500}
body.photobg .glass input:not([type=checkbox]):not([type=radio]),body.photobg .glass select,body.photobg .glass textarea{background-color:#fff;color:#0f172a;-webkit-text-fill-color:#0f172a;border:1px solid #7b8494;caret-color:#0e7490}
body.photobg .glass input::placeholder,body.photobg .glass textarea::placeholder{color:#64748b;-webkit-text-fill-color:#64748b}
body.photobg .glass input:focus,body.photobg .glass select:focus,body.photobg .glass textarea:focus{background-color:#fff;border-color:#0e7490;box-shadow:0 0 0 3px rgba(14,116,144,.25)}
body.photobg .glass select option{background:#fff;color:#0f172a}
body.photobg .glass input:-webkit-autofill{-webkit-text-fill-color:#0f172a!important;-webkit-box-shadow:0 0 0 1000px #fff inset!important;caret-color:#0e7490}
body.photobg .glass .btn.ghost,body.photobg .glass .btn.sec{color:#0e7490;border-color:#0e7490;background:#fff}
body.photobg .glass .err{color:#b91c1c}body.photobg .glass .ok{color:#15803d}
.chk{cursor:pointer}.chk input[type=checkbox],.chk input[type=radio]{width:18px!important;height:18px!important;min-width:18px;flex:none;margin:3px 0 0;padding:0}
.req-legend{margin:0 0 6px}
.form-err.on{display:flex;gap:8px;align-items:flex-start;background:#fef2f2;border:1px solid #fca5a5;border-left:4px solid #b91c1c;color:#991b1b!important;border-radius:10px;padding:10px 12px;margin:10px 0;font-weight:600}
.form-err.on svg{flex:none;margin-top:2px;color:#b91c1c}
html body input.invalid,html body select.invalid,html body textarea.invalid{border:2px solid #b91c1c!important;box-shadow:0 0 0 3px rgba(185,28,28,.22)!important;background-color:#fff}
/* wip32 sign-in/up layout (desktop): give the hero column room; the photo stays fixed behind; footer is a compact frosted strip, not a white block */
@media (min-width:900px){
  html body.landing main#main:has(>.hero){max-width:1160px}
  html body.landing .hero{grid-template-columns:minmax(0,1fr) 440px;gap:56px;align-items:start}
  html body.landing .hero-l{position:sticky;top:96px}
}
html body.photobg.landing>footer{max-width:none;margin:0;background:#f8fafc!important;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:14px max(22px,calc((100vw - 1160px)/2)) calc(14px + env(safe-area-inset-bottom));color:#1e293b!important}
html body.photobg.landing>footer p{color:#1e293b!important}
/* wip32: phone verification buttons always readable (were white-on-white) */
.phonebox .btn.sec,html body .phonebox .btn.sec{background:#fff!important;color:#0e7490!important;-webkit-text-fill-color:#0e7490;border:1.5px solid #0e7490!important}
.phonebox .btn.sec:hover{background:#ecfeff!important}
.pt-lead{color:#334155}.pt-ic{background:#ecfdf5!important;color:#0e7490!important}.pt-list svg{color:#0e7490}
/* wip32 contrast audit fixes (forced light theme; >=4.5 text, >=3 large text/icons/control borders) */
html body.photobg #main .cityreq-l,html body .cityreq-l{color:#0e7490!important}
html body.photobg .wrap #services.rd-sec,html body.photobg .wrap h2.rd-sec{color:#0a0a0b!important;text-shadow:none!important}
html body .rd-pill:not(.rd-pill-o){background:#0e7490!important;background-image:none!important;color:#fff!important}
html body.photobg .rd-pill.rd-pill-o,html body .rd-pill.rd-pill-o{background:rgba(0,0,0,.5)!important;color:#fff!important;border-color:rgba(255,255,255,.7)!important}
html body #a2hsBtn,html body #a2hsX{background:rgba(0,0,0,.62)!important;color:#fff!important}
html body.photobg .lbg-cap,html body.photobg .lbg-cap a,html body .lbg-cap,html body .lbg-cap a{color:#fff!important}html body.photobg .lbg-cap,html body .lbg-cap{background:rgba(0,0,0,.62)!important;padding:2px 8px!important;border-radius:6px!important}
html body.photobg .kicker,html body.photobg p.kicker{color:#cffafe!important;text-shadow:0 1px 4px rgba(0,0,0,.7)}
html body.photobg .card .kicker,html body.photobg .glass .kicker{color:#0e7490!important;text-shadow:none}
html body>footer a,html body.photobg>footer a,html body.photobg.landing>footer a{color:#155e75!important}
html body>footer,html body>footer p{color:#334155!important}
input::placeholder,textarea::placeholder,html body input::placeholder,html body textarea::placeholder{color:#556275!important;-webkit-text-fill-color:#556275!important;opacity:1}
html body input:not([type=checkbox]):not([type=radio]):not([type=range]),html body select,html body textarea{border-color:#7b8494!important}
html body.photobg .citysw select,html body.photobg #citysw{color:#fff!important;-webkit-text-fill-color:#fff!important;background-color:rgba(0,0,0,.45)!important;border-radius:8px;text-shadow:none}
html body.photobg.rd-home #main>.titlerow:first-child .citysw select,html body.photobg .wrap .citysw select{color:#334155!important;-webkit-text-fill-color:#334155!important;background-color:#fff!important}
html body .citysw select option{color:#0f172a;background:#fff}
/* tab bar: opaque, no smear behind labels, readable labels */
html body .tabs,html body.photobg .tabs{background:#fff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:0 -1px 0 rgba(15,23,42,.14)!important}
html body .tabs a,html body .tabs button,html body.photobg .tabs a{color:#3f3f46!important}
html body .tabs a.on,html body.photobg .tabs a.on{color:#0e7490!important}
/* wip32: markdown in chat answers */
.pc-txt ul,.pc-txt ol{margin:.3em 0 .3em 1.2em;padding:0}.pc-txt li{margin:.15em 0}.pc-txt a{color:#0e7490;text-decoration:underline;word-break:break-word}.pc-txt code{background:#f1f5f9;border-radius:4px;padding:0 .25em;font-size:.92em}
/* wip32: iPhone SE (320-399px) chat header: city selector gets its own full-width row; input text never clipped */
@media (max-width:399px){
 #pop .pc-h{row-gap:6px}
 #pop .pc-h .pop-t{flex:1 1 0;min-width:0}
 #pop .pc-h .citysw-pop{flex:1 0 100%;order:3;margin:0;max-width:none}
 #pop .pc-h .citysw-pop select{width:100%;max-width:none;min-height:44px;font-size:16px;text-overflow:ellipsis}
 #pop .pc-form input{min-width:0;font-size:16px;text-overflow:ellipsis}
}
/* wip32: tap targets - every inline link/button is at least 24x24 (WCAG 2.2 AA), 44px tall on touch screens */
#acct a,#footer a,.adlbl a,a.small,.small a,.muted a,.cityreq-l,button.cityreq-l,.glass-link,.linkbtn,.srcs a{display:inline-flex;align-items:center;min-height:24px;min-width:24px;padding-block:2px}
@media (pointer:coarse){#acct a,#footer a,.adlbl a,a.small,.small a,.muted a,.cityreq-l,button.cityreq-l,.glass-link,.linkbtn,.srcs a{min-height:44px;padding-block:4px}}
/* wip32 forced-light: plain text/links that sit directly on the white sheet (not inside a dark element) */
html body.photobg.v2-sheet #main > p:not(.banner):not(.err):not(.ok){color:#334155!important}
html body.photobg.v2-sheet #main > p a:not(.btn),html body.photobg.v2-sheet #main .card p a:not(.btn),html body.photobg.v2-sheet #main .muted a:not(.btn){color:#0e7490!important}
.lbg-cap a{display:inline-flex;align-items:center;min-height:24px}
@media (pointer:coarse){button:not(.pc-spk):not(.pc-mic),.btn,.chip,.hbtn,.chips a,.qchips button{min-height:44px}button.x,.a2hs button,[aria-label="Fermer"],[aria-label="Close"]{min-width:44px}.lbg-cap a{min-height:44px}}
/* QA32 #9: 44px tap targets on phones (also when pointer:coarse isn't reported) */
@media (pointer:coarse),(max-width:399px){#main button:not(.pc-spk):not(.pc-mic),#main a[href]:not(p a):not(.pc-txt a):not(li a),.a2hs button{min-height:44px!important}#main a[href]:not(p a):not(.pc-txt a):not(li a):not(.btn):not(.card){display:inline-flex;align-items:center}}
@media (pointer:coarse),(max-width:399px){a.rd-link{display:inline-flex!important;align-items:center;min-height:44px!important}#a2hsbar button,.a2hsbar button,[id*=a2hs] button,[class*=a2hs] button{min-height:44px!important}}
@media (prefers-color-scheme:dark){#fab{background:#0e7490!important;color:#fff!important}}
#fab,body.photobg #fab{background:#0e7490!important;color:#fff!important}
/* J (Oct 26): landing CTA on the full-width city photo */
.rd-cta-big{display:inline-flex;align-items:center;gap:12px;margin:18px 0 6px;padding:18px 30px;min-height:60px;border:0;border-radius:999px;background:#0e7490;color:#fff;font:700 clamp(1.15rem,2.6vw,1.6rem)/1.2 inherit;font-family:inherit;cursor:pointer;box-shadow:0 14px 34px -10px rgba(0,0,0,.6)}
.rd-cta-big:hover{background:#155e75}.rd-cta-big:focus-visible{outline:3px solid #fff;outline-offset:3px}
@media(max-width:699px){.rd-cta-big{width:100%;justify-content:center;padding:16px 18px}}
/* J (Oct 26): Change-city pill beside the home city label */
.citysw-hm{gap:8px 10px;align-items:center}
.citysw-hm select{max-width:100%}
.citychg{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 16px;border-radius:999px;border:1.5px solid #0e7490;background:#0e7490;color:#fff;font:600 .9rem/1 inherit;font-family:inherit;cursor:pointer;white-space:nowrap;box-shadow:0 4px 14px -6px rgba(14,116,144,.6)}
.citychg:hover{background:#155e75;border-color:#155e75}.citychg:focus-visible{outline:3px solid #67e8f9;outline-offset:2px}
.citychg .i{flex:none}
@media(max-width:480px){.citysw-hm{width:100%}.citysw-hm select{flex:1 1 100%;max-width:100%;white-space:normal;text-overflow:clip}}
html body .titlerow .citysw.citysw-hm{display:flex!important;flex-wrap:wrap!important;width:100%!important;max-width:100%!important;position:static!important;transform:none!important}
html body .titlerow .citysw.citysw-hm select{flex:0 1 auto!important;min-width:0!important;max-width:100%!important}
html body .titlerow .citysw.citysw-hm .citychg{position:static!important;flex:none}
@media(min-width:481px){html body .titlerow .citysw.citysw-hm select{width:auto!important}}
/* wip32: hero CTA is the first thing everyone sees: sits right under the headline, headline capped on short desktop screens */
.rd-hero .rd-cta-big{margin:18px 0 14px}
@media(min-width:700px) and (max-height:920px){html body .rd-hero h1{font-size:clamp(40px,7.2vh,64px)!important;line-height:1.02!important}}
/* wip32 signed-in QA: #/verify (and forgot/reset) inputs were white-on-white; give them an explicit high-contrast field */
html body.authflow #main input:not([type=checkbox]):not([type=radio]), html body.authflow #main select{background:#fff!important;color:#0f172a!important;-webkit-text-fill-color:#0f172a!important;border:1.5px solid #475569!important;min-height:44px}
html body.authflow #main input::placeholder{color:#64748b!important;-webkit-text-fill-color:#64748b!important}
html body.authflow #main label{color:inherit}
.toast{position:fixed;left:50%;bottom:90px;transform:translate(-50%,20px);background:#0e7490;color:#fff;padding:12px 18px;border-radius:12px;font-weight:600;box-shadow:0 8px 30px rgba(0,0,0,.25);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:10000;max-width:90vw}
.toast.show{opacity:1;transform:translate(-50%,0)}
.nx-hint{margin-top:8px}
.glass-link.forgot{display:inline-block;margin-top:10px;min-height:44px;line-height:44px}
/* wip33: change city inside the chat (#ccp sheet + tappable chat title). Teal #0e7490; light + dark. */
#ccp{position:fixed;inset:0;z-index:2147483647;display:flex;align-items:flex-end;justify-content:center;background:rgba(15,23,42,.5);color-scheme:light}
#ccp .ccp-p{width:min(460px,100%);max-height:min(680px,86vh);display:flex;flex-direction:column;background:#fff;color:#1d1d1f;border-radius:20px 20px 0 0;box-shadow:0 -12px 40px rgba(15,23,42,.3);padding:10px 14px calc(12px + env(safe-area-inset-bottom));text-shadow:none}
@media(min-width:600px){#ccp{align-items:center}#ccp .ccp-p{border-radius:20px}}
#ccp .ccp-h{display:flex;align-items:center;gap:8px}#ccp h2{flex:1;margin:0;font-size:18px;font-weight:700;color:inherit}
#ccp .ccp-x{width:44px;height:44px;border:0;border-radius:12px;background:transparent;color:#4b5563;font-size:28px;line-height:1;cursor:pointer}
#ccp .ccp-x:hover{background:rgba(17,24,39,.08)}
#ccp input{width:100%;box-sizing:border-box;min-height:44px;margin:6px 0 8px;padding:0 14px;font-size:16px;border:1px solid #d2d2d7;border-radius:12px;background:#f4f4f5;color:#1d1d1f}
#ccp input:focus{outline:none;border-color:#0e7490;box-shadow:0 0 0 3px rgba(14,116,144,.3)}
#ccp .ccp-l{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#ccp .ccp-g{padding:10px 8px 4px;font-size:12px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#5c5c61}
#ccp .ccp-c{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:6px 8px;border:0;border-radius:12px;background:transparent;color:inherit;font:inherit;font-size:16px;text-align:left;cursor:pointer}
#ccp .ccp-c:hover{background:#ecfeff}#ccp .ccp-c.on{background:#cffafe;font-weight:600}
#ccp .ccp-c:focus-visible,#ccp .ccp-x:focus-visible{outline:2px solid #0e7490;outline-offset:-2px}
#ccp .ccp-c .logo{width:32px;height:32px;flex:none;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#fff;font-size:.62rem;font-weight:800}
#ccp .ccp-c .pn{flex:1;min-width:0}#ccp .ccp-none{color:#5c5c61;padding:12px 8px}
#ccp .badge{font-size:11px;padding:2px 8px;border-radius:999px;background:#f1f5f9;color:#334155;white-space:nowrap}#ccp .badge.soon{background:#fff3d6;color:#8a5a00}
@media(prefers-color-scheme:dark){#ccp{color-scheme:dark;background:rgba(0,0,0,.6)}
 #ccp .ccp-p{background:#1c1c1e;color:#f5f5f7;box-shadow:0 -12px 40px rgba(0,0,0,.6)}
 #ccp .ccp-x{color:#d1d1d6}#ccp .ccp-x:hover{background:rgba(255,255,255,.1)}
 #ccp input{background:#2c2c2e;border-color:#48484a;color:#f5f5f7}#ccp input:focus{border-color:#67e8f9;box-shadow:0 0 0 3px rgba(103,232,249,.3)}
 #ccp .ccp-g,#ccp .ccp-none{color:#a1a1a6}#ccp .ccp-c:hover{background:rgba(103,232,249,.1)}#ccp .ccp-c.on{background:#155e75;color:#fff}
 #ccp .ccp-c:focus-visible,#ccp .ccp-x:focus-visible{outline-color:#67e8f9}
 #ccp .badge{background:#3a3a3c;color:#f5f5f7}#ccp .badge.soon{background:#4a3b12;color:#fde68a}}
#pop .pop-city{display:inline-flex;align-items:center;gap:2px;max-width:100%;min-height:32px;padding:0;border:0;background:transparent;color:inherit;font:inherit;font-weight:inherit;cursor:pointer;border-radius:6px;text-align:left}
#pop .pop-city .pop-cn{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
#pop .pop-city svg{flex:none;color:var(--rd-acc-ink,#0e7490)}#pop .pop-city:hover .pop-cn{text-decoration:underline;text-underline-offset:3px}
#pop .pop-city:focus-visible{outline:2px solid var(--rd-acc-ink,#0e7490);outline-offset:2px}
#pop .pc-fb{margin:6px 8px;padding:8px 10px;border-radius:10px;background:#ecfeff;color:#164e63!important;border:1px solid #a5f3fc;text-align:left!important}
/* wip33 (J iPhone screenshot): no black primary buttons, no borderless faint fields. Teal primary, visible 1px field border. */
html body.photobg .btn:not(.sec):not(.ghost):not(.oa-apple){background:#0e7490!important;color:#fff!important}
html body.photobg .btn:not(.sec):not(.ghost):not(.oa-apple):hover{background:#155e75!important}
html body.photobg .btn:not(.sec):not(.ghost):focus-visible{outline:3px solid #67e8f9!important;outline-offset:2px}
html body.photobg .chip.on,html body.photobg .chip[aria-pressed=true],html body.photobg .chip[aria-checked=true]{background:#0e7490!important;color:#fff!important}
html body.photobg .glass input[type=email],html body.photobg .glass input[type=password],html body.photobg .glass input[type=text],html body.photobg input[type=text],html body.photobg input[type=email],html body.photobg input[type=password],html body.photobg input[type=number],html body.photobg input[type=tel],html body.photobg input[type=search],html body.photobg input[type=date],html body.photobg select:not([data-citysw]):not([data-popcity]),html body.photobg textarea{background:#fff!important;border:1px solid #8291a3!important;color:#0f172a!important}
html body.photobg input::placeholder,html body.photobg textarea::placeholder{color:#64748b!important}
html body.photobg input:focus,html body.photobg select:not([data-citysw]):focus,html body.photobg textarea:focus{background:#fff!important;border-color:#0e7490!important;outline:none!important;box-shadow:0 0 0 3px rgba(14,116,144,.3)!important}
#ccp input{background:#fff;border-color:#8291a3}
@media(prefers-color-scheme:dark){#ccp input{background:#2c2c2e;border-color:#636366}}
/* wip33 admin tables */
.adm-tw{overflow-x:auto;padding:0!important}.adm-t{width:100%;border-collapse:collapse;font-size:.92rem}
.adm-t th,.adm-t td{padding:10px 12px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:top}.adm-t th{background:#f8fafc;color:#334155;font-weight:700;white-space:nowrap;position:sticky;top:0}
.adm-t td.pt-msg{min-width:240px;white-space:pre-wrap}.adm-t tbody tr:hover{background:#ecfeff}

/* =====================================================================================
   wip35: floating card on EVERY white-sheet page (report/track/partners/compare/info/admin…)
   Desktop (>=900px): centred max 720px (960px for float-wide tables/compare); photo L/R/bottom.
   Card height = content (no full-height stretch). Phones: 12px side margin, 16px radius, photo at bottom.
   ===================================================================================== */
body.photobg.float-card #main::before{content:none!important}
body.photobg.float-card #aside{background:transparent!important;box-shadow:none!important;clip-path:none!important}
body.photobg.float-card #aside:empty{display:none}
body.photobg.float-card #main{
  max-width:720px;margin:0 auto;padding:0 12px 0!important;position:relative;z-index:1;
  /* do not stretch the card to full viewport — height follows content */
  min-height:0!important;height:auto!important;align-self:flex-start
}
body.photobg.float-card.float-wide #main{max-width:960px}
body.photobg.float-card.has-tabs #main{padding-bottom:0!important}
body.photobg.float-card #main>.titlerow,body.photobg.float-card #main>h1{
  margin-bottom:12px
}
body.photobg.float-card .sheet-card{
  background:#fff;color:var(--v2-ink,#0a0a0b);border-radius:16px;
  box-shadow:0 10px 40px rgba(0,0,0,.18);
  padding:24px 16px 24px;margin:0 0 0;width:100%;max-width:720px;box-sizing:border-box;
  height:auto!important;min-height:0!important;align-self:flex-start
}
body.photobg.float-card.float-wide .sheet-card{max-width:960px}
body.photobg.float-card .sheet-card>.card,
body.photobg.float-card .sheet-card .card{
  background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;
  border-top:0!important;padding:0!important;margin:0 0 16px;backdrop-filter:none!important
}
body.photobg.float-card .sheet-card .card:last-child{margin-bottom:0}
body.photobg.float-card .sheet-card>*{max-width:none!important;width:100%;box-sizing:border-box}
body.photobg.float-card .sheet-card .row{display:flex;gap:10px;margin-top:8px}
body.photobg.float-card .sheet-card .nx-hint{margin:12px 0 0;color:#475569!important}
/* progress bar (bilingual label + 3 segments) */
.stepbar{margin:0 0 18px}
.stepbar-label{display:block;font-size:.95rem;font-weight:600;color:#475569;margin:0 0 10px}
.stepbar-track{display:flex;gap:8px;height:8px}
.stepbar-track .seg{flex:1;border-radius:999px;background:#e2e8f0}
.stepbar-track .seg.on{background:#0E7490}
/* category chips: 40px; selected teal */
body.photobg.float-card .sheet-card .chip{
  height:40px;min-height:40px!important;padding:0 16px;display:inline-flex;align-items:center;
  border-radius:999px!important;background:#f1f5f9!important;color:#0f172a!important;border:0!important;box-shadow:none!important
}
body.photobg.float-card .sheet-card .chip.on,
body.photobg.float-card .sheet-card .chip[aria-pressed=true]{
  background:#0E7490!important;color:#fff!important;border-color:#0E7490!important
}
/* Next/Suivant: disabled slate, enabled teal */
body.photobg.float-card .sheet-card .btn:not(.sec):not(.ghost){background:#0E7490!important;color:#fff!important}
body.photobg.float-card .sheet-card .btn:not(.sec):not(.ghost):hover{background:#155e75!important}
body.photobg.float-card .sheet-card .btn:disabled,
body.photobg.float-card .sheet-card .btn[disabled]{
  opacity:1!important;background:#CBD5E1!important;color:#475569!important;cursor:not-allowed;
  box-shadow:none!important;-webkit-text-fill-color:#475569
}
/* description textarea */
body.photobg.float-card .sheet-card textarea#desc,
body.photobg.float-card .sheet-card #desc{
  min-height:96px!important;border:1px solid #64748B!important;border-radius:12px!important;background:#fff!important
}
/* matching footer card; 16px gap under the form card; photo visible below */
body.photobg.float-card>footer{
  max-width:720px;width:calc(100% - 24px);margin:16px auto 24px;padding:20px 24px!important;
  border-radius:16px;background:#fff!important;box-shadow:0 10px 40px rgba(0,0,0,.18);
  border-top:0!important;color:#475569!important;text-align:left;box-sizing:border-box;position:relative;z-index:1
}
body.photobg.float-card.float-wide>footer{max-width:960px}
body.photobg.float-card.has-tabs>footer{margin-bottom:calc(24px + 72px + env(safe-area-inset-bottom))}
body.photobg.float-card>footer p,body.photobg.float-card>footer{color:#475569!important;text-shadow:none}
body.photobg.float-card>footer a{color:#0E7490!important}
/* readable ink on the white card (override photo-on-title white text rules that leak) */
body.photobg.float-card .sheet-card,body.photobg.float-card .sheet-card p,body.photobg.float-card .sheet-card li,
body.photobg.float-card .sheet-card h2,body.photobg.float-card .sheet-card h3,body.photobg.float-card .sheet-card label{
  color:#0f172a!important;text-shadow:none
}
body.photobg.float-card .sheet-card .muted,body.photobg.float-card .sheet-card .small.muted,
body.photobg.float-card .sheet-card p.muted{color:#475569!important}
body.photobg.float-card .sheet-card a:not(.btn){color:#0E7490!important}
/* admin tables stay readable inside the card */
body.photobg.float-card .sheet-card .adm-tw{margin:0 -4px}
@media(min-width:900px){
  body.photobg.float-card #main{padding:0!important;margin:0 auto 0}
  body.photobg.float-card .sheet-card{
    margin:32px auto 0;padding:32px 40px 24px;max-width:720px;border-radius:20px
  }
  body.photobg.float-card.float-wide .sheet-card{max-width:960px}
  body.photobg.float-card>footer{
    width:100%;max-width:720px;margin:16px auto 40px;padding:20px 40px!important;border-radius:20px
  }
  body.photobg.float-card.float-wide>footer{max-width:960px}
  body.photobg.float-card.has-tabs>footer{margin-bottom:40px}
}

/* =====================================================================================
   wip35b: overlay dismiss — desktop scrim, shake, why-ad popover, menus, swipe sheets
   ===================================================================================== */
/* body.ov-scrim is a flag only — never position/pointer-events on <body> (that ate clicks) */
#ovScrim{
  position:fixed; inset:0; z-index:1900; background:rgba(15,23,42,.25); border:0; padding:0; margin:0;
  /* Visual only — capture-phase pointerdown on document closes overlays so headings/links remain clickable */
  pointer-events:none; cursor:default;
}
@media(max-width:699px){
  #ovScrim{ background:rgba(15,23,42,.35); }
  /* phone chat is full-screen — no scrim behind it */
  body.pop-open #ovScrim{ display:none; }
}
#whyAdPop.ov-pop{
  position:fixed; z-index:2600; left:50%; top:50%; transform:translate(-50%,-50%);
  width:min(420px, calc(100vw - 32px)); max-height:min(80vh, 520px); overflow:auto;
}
#whyAdPop .ov-pop-in{
  background:#fff; color:#0f172a; border-radius:20px; padding:24px 24px 20px;
  box-shadow:0 20px 50px rgba(0,0,0,.25); position:relative;
}
#whyAdPop .ov-x, .ov-x{
  position:absolute; top:10px; right:12px; width:36px; height:36px; border:0; background:transparent;
  font-size:1.5rem; line-height:1; cursor:pointer; color:#475569; border-radius:999px;
}
#whyAdPop .ov-x:hover{ background:#f1f5f9; }
#whyAdPop h2{ margin:0 36px 10px 0; font-size:1.15rem; }
#whyAdPop p{ margin:0 0 10px; color:#334155; }
.menu-pop{
  position:fixed; z-index:2700; min-width:180px; background:#fff; color:#0f172a;
  border-radius:14px; box-shadow:0 12px 40px rgba(0,0,0,.2); padding:6px; display:flex; flex-direction:column; gap:2px;
}
.menu-pop a, .menu-pop button{
  display:block; width:100%; text-align:left; border:0; background:transparent; color:inherit;
  padding:10px 12px; border-radius:10px; font:inherit; cursor:pointer; text-decoration:none;
}
.menu-pop a:hover, .menu-pop button:hover, .menu-pop .on{ background:#f1f5f9; }
.menu-pop .on{ font-weight:700; color:#0E7490; }
@keyframes ovShake{
  0%,100%{ transform:translateX(0); }
  20%{ transform:translateX(-6px); }
  40%{ transform:translateX(6px); }
  60%{ transform:translateX(-4px); }
  80%{ transform:translateX(4px); }
}
.ov-shake, #pop.ov-shake, .modal-in.ov-shake, #whyAdPop.ov-shake{
  animation:ovShake .4s ease;
}
@media(min-width:700px){
  #pop.ov-shake{ /* keep desktop floating position while shaking */ }
}


/* =====================================================================================
   wip36: UI/UX polish — verify notice, chat leaves in header, scrim, phone chrome,
   city pill, photo credit bottom-left
   ===================================================================================== */

/* 1) Email-not-verified notice card (above title, same width as form card) */
.vnotice, .vbanner.vnotice{
  display:flex; align-items:flex-start; gap:10px;
  background:#ECFEFF; border-left:4px solid #0E7490; color:#0F172A;
  font-size:14px; line-height:1.45; padding:12px 12px 12px 14px;
  border-radius:12px; margin:0 0 12px; box-sizing:border-box; width:100%;
  text-decoration:none; box-shadow:0 1px 2px rgba(15,23,42,.06);
}
body.photobg .vnotice, body.photobg .vbanner.vnotice{
  background:#ECFEFF!important; color:#0F172A!important; border-left:4px solid #0E7490!important;
  backdrop-filter:none!important; -webkit-backdrop-filter:none!important;
  text-shadow:none!important;
}
.vnotice-ic{flex:none; color:#0E7490; display:inline-flex; margin-top:1px}
.vnotice-t{flex:1; min-width:0}
.vnotice-a{color:#0E7490; font-weight:600; text-decoration:underline; white-space:nowrap}
.vnotice-x{
  flex:none; width:36px; height:36px; margin:-6px -4px -6px 0; border:0; background:transparent;
  color:#475569; font-size:1.35rem; line-height:1; border-radius:999px; cursor:pointer;
}
.vnotice-x:hover{background:rgba(14,116,144,.1); color:#0E7490}
body.photobg.float-card #main > .vnotice{max-width:720px}

/* 2) Chat leaves confined to header strip; greeting not clipped */
#pop .pop-h{position:relative; overflow:hidden; z-index:2}
#pop .pop-h > .pop-season{
  position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:0; opacity:.35;
}
#pop .pop-h > *:not(.pop-season){position:relative; z-index:1}
#pop .pop-stage > .pop-season{display:none} /* legacy guard */
@media (prefers-reduced-motion: reduce){
  #pop .pop-season{display:none!important}
}
#pop .pop-body.chatlog{padding-top:16px}
#pop .pc-hello{margin-top:2px}

/* 3) Desktop chat scrim */
@media(min-width:700px){
  #ovScrim{ background:rgba(15,23,42,.40); }
}

/* 4) Chat header: equal icon+label action buttons; chevron minimize ≥40px */
#pop .pop-h .hbtn.pop-act{
  display:inline-flex; align-items:center; justify-content:center; gap:6px;
  min-height:40px; min-width:40px; padding:6px 10px; border-radius:10px;
  font-size:.82rem; font-weight:600; line-height:1.1;
}
#pop .pop-h .hbtn.pop-act .lbl{display:inline}
#pop .pop-h .hbtn.pop-act .i{flex:none}
#pop .pop-h #pmin.pop-act{min-width:40px; min-height:40px}
@media(max-width:420px){
  #pop .pop-h .hbtn.pop-act .lbl{ /* keep labels; wrap header instead */ }
}

/* 5) Phone header (≤480 covers 390): logo + FR|EN + account icon; links in overlay */
#btnLang .lt-seg{display:none}
#btnLang .lt-full{display:inline}
#btnAcct{display:none; align-items:center; justify-content:center; width:40px; height:40px; min-width:40px; padding:0; border-radius:999px}
#btnAcct .i{display:block}
@media(max-width:480px){
  body.hdr-compact .top-in{gap:8px; padding-left:12px; padding-right:12px}
  body.hdr-compact .nav-l{display:none!important}
  body.hdr-compact .brand{
    flex:1 1 auto; min-width:0; justify-content:flex-start; overflow:visible; max-width:none;
  }
  body.hdr-compact .brand .mark{display:inline-grid!important; flex:none; width:28px; height:28px}
  html body.hdr-compact .brand #brand,
  body.hdr-compact .brand #brand{
    max-width:none!important; width:auto!important; overflow:visible!important;
    text-overflow:clip!important; white-space:nowrap!important;
  }
  body.hdr-compact .bn-y{font-size:15px; letter-spacing:-.02em}
  body.hdr-compact .bn-sub{display:none!important} /* full wordmark only — no truncated subtitle */
  body.hdr-compact #btnLang.hbtn.lang{
    display:inline-flex!important; align-items:center; gap:0; padding:3px;
    border-radius:999px!important; min-height:40px; background:rgba(255,255,255,.14)!important;
  }
  body.hdr-compact #btnLang .lt-full{display:none!important}
  body.hdr-compact #btnLang .lt-seg{display:inline-flex!important; align-items:center; gap:0}
  body.hdr-compact #btnLang .lt{
    font-size:12px; font-weight:700; letter-spacing:.04em; padding:6px 9px; border-radius:999px; opacity:.75;
  }
  body.hdr-compact #btnLang .lt.on{background:#fff; color:#0E7490; opacity:1}
  body.hdr-compact #btnLang .lt-sep{padding:0 1px; opacity:.5; font-weight:600}
  body.hdr-compact #btnAcct{display:inline-flex!important}
  body.hdr-compact #acct{display:none!important} /* links live in overlay menu */
}

/* 6) City chip — white pill first above eyebrow/headline on city-context pages */
.citychip, button.citychip{
  display:inline-flex; align-items:center; gap:8px;
  background:#fff; color:#0F172A; font:inherit; font-weight:600; font-size:15px; line-height:1.2;
  min-height:44px; padding:0 16px; border:0; border-radius:999px; cursor:pointer;
  box-shadow:0 1px 3px rgba(15,23,42,.10), 0 4px 14px rgba(15,23,42,.06);
  max-width:100%; box-sizing:border-box;
}
.citychip .i, .citychip svg.i{ flex:none; color:#0E7490 }
.citychip-n{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:42vw }
.citychip-dot{ opacity:.45; font-weight:700 }
.citychip-chg{ color:#0E7490; font-weight:600; white-space:nowrap }
.citychip:hover{ box-shadow:0 2px 8px rgba(15,23,42,.14) }
.citychip:focus-visible{ outline:2px solid #0E7490; outline-offset:2px }
.citychip-pick{
  background:#0E7490; color:#fff;
  box-shadow:0 4px 16px rgba(14,116,144,.35);
}
.citychip-pick .i, .citychip-pick svg.i{ color:#fff }
.citychip-pick .citychip-n{ max-width:none }
@keyframes citychipPulse{
  0%,100%{ box-shadow:0 4px 16px rgba(14,116,144,.35); transform:scale(1) }
  50%{ box-shadow:0 6px 22px rgba(14,116,144,.55); transform:scale(1.02) }
}
.citychip-pick{ animation:citychipPulse 1.6s ease-in-out 1 }
@media (prefers-reduced-motion: reduce){
  .citychip-pick{ animation:none }
}
.rd-hero-in > .citychip{ margin-bottom:18px }
.titlerow{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 12px }
.titlerow > .citychip{ order:-1; flex:0 1 auto }
.titlerow > h1, .titlerow > h2{ flex:1 1 100%; margin:0 }
.titlerow .citysw-legacy{
  position:absolute!important; width:1px!important; height:1px!important; padding:0!important; margin:-1px!important;
  overflow:hidden!important; clip:rect(0,0,0,0)!important; border:0!important; white-space:nowrap!important;
}
/* Headline city name = dotted underline link to same picker */
button.rd-city, .rd-city{
  display:inline; margin:0; padding:0; border:0; background:transparent; color:inherit; font:inherit;
  font-weight:inherit; letter-spacing:inherit; cursor:pointer;
  text-decoration:underline; text-decoration-style:dotted; text-underline-offset:6px; text-decoration-thickness:2px;
}
button.rd-city:hover{ color:#0E7490 }
body.photobg .rd-hero button.rd-city{ color:inherit }
body.photobg .rd-hero button.rd-city:hover{ color:#67e8f9 }
button.rd-city:focus-visible{ outline:2px solid #0E7490; outline-offset:3px; border-radius:4px }
/* Picker: Use my location + checkmark */
.ccp-loc{
  display:flex; align-items:center; justify-content:center; gap:8px; width:calc(100% - 24px); margin:0 12px 10px;
  min-height:44px; padding:0 14px; border:1px solid #e2e8f0; border-radius:12px;
  background:#f8fafc; color:#0E7490; font:inherit; font-weight:600; font-size:14px; cursor:pointer;
}
.ccp-loc:hover{ background:#ecfeff; border-color:#a5f3fc }
.ccp-loc:disabled{ opacity:.6; cursor:wait }
.ccp-c{ position:relative }
.ccp-c .ccp-chk{ margin-left:auto; color:#0E7490; flex:none }
.ccp-c.on{ background:#ecfeff }
@media(min-width:600px){
  #ccp.ccp-page{ align-items:flex-start; padding-top:12vh }
  #ccp.ccp-page .ccp-p{ max-width:420px; border-radius:18px; margin:0 auto }
}

/* 7) Photo credit: bottom-left 11px caption (no longer top-right overlapping header) */
html body.photobg .lbg-cap,
body.photobg .lbg-cap{
  top:auto!important; bottom:10px!important; left:12px!important; right:auto!important;
  font-size:11px!important; opacity:.9; z-index:3;
  max-width:min(70vw, 420px);
}
body.photobg.has-tabs .lbg-cap{
  bottom:calc(72px + env(safe-area-inset-bottom))!important; top:auto!important;
}
@media(max-width:699px){
  body.photobg .lbg-cap{
    position:fixed!important; left:12px!important; right:auto!important;
    bottom:calc(72px + env(safe-area-inset-bottom))!important;
    margin:0!important; text-align:left!important; max-width:min(70vw, 360px);
  }
}
@supports (animation-timeline:scroll()){
  body.photobg .lbg-cap{animation:none!important} /* keep caption readable; no scroll-fade that hides it oddly */
}

/* =====================================================================================
   wip36 QA (run6): phone float for auth pages + login-gate modal; partners H-overflow
   ===================================================================================== */
/* (1) login / signup / forgot / verify: same 12px float-card + 16px radius on phones */
@media (max-width: 899px) {
  body.photobg.landing #main,
  body.photobg.authflow #main {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  html body.photobg.landing #main .glass,
  html body.photobg.authflow #main .glass,
  html body.photobg.landing #main .card.glass,
  body.photobg.landing #main .card.glass,
  body.photobg.authflow #main .card.glass,
  body.photobg.landing #main .glass,
  body.photobg.authflow #main .glass {
    margin: 12px 0 24px !important;
    width: auto !important;
    max-width: none !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18) !important;
    min-height: 0 !important;
  }
}
/* (2) guest login-gate .modal-in: 12px margin + 16px radius on phones */
@media (max-width: 899px) {
  .modal {
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
  }
  .modal-in,
  body.photobg .modal-in {
    width: 100%;
    max-width: 440px;
    margin: 0;
    border-radius: 16px !important;
    box-sizing: border-box;
  }
}
/* (3) partners: .pt-row grid children (email inputs) must shrink — no H-scroll at 320px */
.pt-row { min-width: 0; }
.pt-row > * { min-width: 0; max-width: 100%; }
.pt-form input:not([type=checkbox]):not([type=radio]),
.pt-form textarea,
.pt-form select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.sheet-card .pt-form,
.sheet-card .pt-grid,
.sheet-card .pt-card {
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
