:root {
  --ink: #1C1C20; --ink2: #3A3D42; --graphite: #6C757D; --line: #E2E3E6; --concrete: #F5F5F7; --soft: #EAEAEA; --white: #FFFFFF;
  --blue: #007BFF; --red: #D70C19; --green: #1F9D55; --amber: #A86200;
  --font: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 14px; --pill: 30px; --ease: cubic-bezier(.2, .7, .1, 1);
  --safe-b: env(safe-area-inset-bottom, 0px); --safe-t: env(safe-area-inset-top, 0px);
  color-scheme: light;
}
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
html[data-size="l"] { font-size: 18px; }
html[data-size="xl"] { font-size: 20px; }
html[data-contrast="1"] { --graphite: #2F3338; --line: #70767D; --soft: #DCDDE0; --concrete: #EEEFF1; }
html[data-calm="1"] *, html[data-calm="1"] *::before, html[data-calm="1"] *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.5 var(--font); -webkit-font-smoothing: antialiased; }
#app { max-width: 560px; margin: 0 auto; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
@media (min-width: 700px) { body { background: var(--concrete); } #app { background: var(--white); box-shadow: 0 0 0 1px var(--line); } }
main { flex: 1; padding-bottom: calc(24px + var(--safe-b)); }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.15rem; }
h3 { font-size: 1rem; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
html[data-contrast="1"] :focus-visible { outline-width: 4px; }
h1:focus { outline: none; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--graphite); }
.small { font-size: .875rem; }
.center-text { text-align: center; }
.pad { padding: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.stack { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
.stack > * { min-width: 0; }
.eyebrow { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--graphite); margin-bottom: 6px; }
.fine { font-size: .8rem; color: var(--graphite); line-height: 1.45; }
.sect { font-size: 1.05rem; margin-bottom: 12px; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: calc(58px + var(--safe-t)); padding: var(--safe-t) 18px 0; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.mark { display: block; width: 62px; color: var(--ink); line-height: 0; }
.mark svg { width: 100%; height: auto; }
.appname { font-size: .82rem; font-weight: 500; color: var(--graphite); letter-spacing: .02em; }
.me { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-size: .8rem; font-weight: 600; text-decoration: none; letter-spacing: .04em; }
.backlink { display: inline-flex; align-items: center; gap: 4px; margin: 14px 0 0 12px; padding: 6px 10px 6px 4px; font-size: .9rem; font-weight: 500; color: var(--graphite); text-decoration: none; }
.backlink svg { width: 20px; height: 20px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: var(--pill); border: 2px solid var(--ink); background: var(--ink); color: var(--white); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .15s, opacity .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.98); }
.btn svg { width: 22px; height: 22px; }
.btn.wide { width: 100%; }
.btn.sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn.soft { background: var(--soft); border-color: var(--soft); color: var(--ink); }
.btn.line { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--graphite); text-decoration: underline; text-underline-offset: 3px; }
.btn.dangerbtn { background: transparent; color: var(--red); border-color: var(--red); }
.btn[disabled] { opacity: .55; cursor: default; }
.btn.busy { position: relative; color: transparent !important; }
.btn.busy::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid currentColor; border-color: var(--white) var(--white) transparent; animation: spin .8s linear infinite; }
.btn.soft.busy::after, .btn.line.busy::after, .btn.ghost.busy::after { border-color: var(--ink) var(--ink) transparent; }
.iconbtn { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; font-size: 1.6rem; line-height: 1; flex: none; }
.iconbtn svg { width: 24px; height: 24px; }
.iconbtn.light { color: var(--white); }
.linkbtn { border: 0; background: none; padding: 0; color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.field { display: grid; gap: 6px; }
.field > span { font-size: .85rem; font-weight: 600; }
.field > span small { font-weight: 400; color: var(--graphite); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font-size: 1rem; }
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(0, 123, 255, .25); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.note { padding: 14px 16px; border-radius: 12px; font-size: .92rem; }
.note.warn { background: #FFF4E5; color: #6B3F00; }
.note.ok { background: #EAF6EE; color: #145C31; }

.center { display: grid; place-items: center; min-height: 50vh; }
.spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.toast { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); transform: translate(-50%, 20px); max-width: min(92vw, 480px); padding: 12px 18px; border-radius: 12px; background: var(--ink); color: var(--white); font-size: .92rem; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); z-index: 90; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: #8F0A13; }
.toast.ok { background: #145C31; }

.outmain { display: flex; }
.out { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 9vh 24px 28px; }
.outmark { width: 120px; color: var(--ink); margin-bottom: 10px; }
.out h1 { font-size: 2.1rem; }
.lead { color: var(--graphite); font-size: 1.05rem; margin-bottom: 14px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--graphite); font-size: .8rem; margin: 6px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.out .fine { margin-top: auto; padding-top: 24px; }

.terms h1 { margin-bottom: 18px; }
.tblock { padding: 16px 0; border-top: 1px solid var(--line); }
.tblock h2 { font-size: .98rem; margin-bottom: 6px; }
.tblock p, .tblock li { color: var(--ink2); font-size: .95rem; }
.ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ticks li { padding-left: 18px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.agree { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.keyset { padding-top: 12vh; display: grid; gap: 14px; }
.faceart { width: 92px; height: 92px; margin: 0 auto 8px; border-radius: 28px; background: var(--concrete); display: grid; place-items: center; }
.faceart svg { width: 54px; height: 54px; }

.carcard { display: block; text-decoration: none; background: radial-gradient(120% 90% at 50% 18%, #FFFFFF 0%, var(--concrete) 62%); padding: 18px 20px 22px; border-bottom: 1px solid var(--line); }
.carcard .pic { aspect-ratio: 16 / 8.2; display: grid; place-items: center; }
.carcard .pic img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 18px rgba(0, 0, 0, .12)); }
.carcard h2 { font-size: 1.7rem; letter-spacing: -.015em; }
.carcard .meta { color: var(--graphite); font-size: .9rem; }
.carcard.empty { padding-top: 40px; }
.helpbox { padding: 20px; display: grid; gap: 12px; }
.avail { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; color: var(--ink2); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #B9BEC4; flex: none; }
.dot.on { background: var(--green); box-shadow: 0 0 0 0 rgba(31, 157, 85, .5); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 85, .45); } 70% { box-shadow: 0 0 0 9px rgba(31, 157, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0); } }
.openreq { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r); background: var(--ink); color: var(--white); text-decoration: none; }
.openreq b { display: block; font-weight: 600; }
.openreq small { color: #C9CCD0; font-size: .82rem; }
.openreq .go { margin-left: auto; font-weight: 600; font-size: .88rem; padding: 6px 14px; border-radius: var(--pill); background: rgba(255, 255, 255, .14); }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--red); flex: none; animation: pulse 1.6s infinite; }
.openreq.active .pulse { background: #36D27A; }
.openreq.booked .pulse { background: #9AA0A6; animation: none; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.rows li:first-child { border-top: 0; }
.rows li > a { display: flex; align-items: center; gap: 12px; flex: 1; text-decoration: none; }
.rows b { display: block; font-weight: 600; font-size: .96rem; }
.rows small { display: block; color: var(--graphite); font-size: .82rem; }
.rows .chev { margin-left: auto; color: var(--graphite); transform: rotate(180deg); width: 20px; height: 20px; }
.rows li > span:first-child { flex: 1; min-width: 0; }
.install { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-radius: var(--r); background: var(--concrete); }
.install div { flex: 1; }
.install b { display: block; font-size: .95rem; }
.install small { color: var(--graphite); font-size: .82rem; }

.carhero { padding: 6px 20px 24px; background: radial-gradient(130% 80% at 50% 24%, #FFFFFF 0%, var(--concrete) 64%); border-bottom: 1px solid var(--line); }
.carhero .pic { aspect-ratio: 16 / 8.4; display: grid; place-items: center; margin-bottom: 8px; }
.carhero .pic img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .13)); }
.carhero h1 { font-size: 2.1rem; letter-spacing: -.02em; }
.carhero .meta { color: var(--graphite); font-size: .9rem; margin-top: 4px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0 0; }
.stats div { padding: 12px; border-radius: 12px; background: var(--white); }
.stats dt { font-size: .7rem; color: var(--graphite); font-weight: 500; line-height: 1.3; }
.stats dd { margin: 4px 0 0; font-size: 1.25rem; font-weight: 600; }
.stats dd small { font-size: .72rem; font-weight: 500; margin-left: 3px; color: var(--graphite); }
.askrow { display: flex; gap: 8px; }
.askrow input { flex: 1; min-width: 0; min-height: 46px; padding: 0 18px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--concrete); font-size: 1rem; }
.askrow input:focus { outline: none; border-color: var(--ink); background: var(--white); }
#answers { display: grid; gap: 12px; margin-top: 14px; }
.answer { padding: 16px; border-radius: var(--r); background: var(--concrete); }
.answer h3 { margin-bottom: 6px; }
.answer p { font-size: .95rem; color: var(--ink2); }
.answer .src { display: block; margin-top: 10px; font-size: .78rem; color: var(--graphite); }
.noanswer { padding: 16px; border-radius: var(--r); border: 1.5px dashed var(--line); display: grid; gap: 12px; justify-items: start; }
.clips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.clips.one { grid-template-columns: 1fr; }
.clip { display: grid; gap: 8px; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; }
.clip .thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--soft); }
.clip .thumb img { width: 100%; height: 100%; object-fit: cover; }
.playbtn { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: rgba(28, 28, 32, .78); color: #fff; display: grid; place-items: center; }
.playbtn svg { width: 20px; height: 20px; margin-left: 3px; }
.ct { font-size: .86rem; font-weight: 600; line-height: 1.3; }
.ct small { display: block; font-weight: 400; color: var(--graphite); font-size: .76rem; margin-top: 2px; }
.links { display: grid; gap: 14px; }
.warranty { font-weight: 500; }
.player { position: fixed; inset: 0; z-index: 100; background: rgba(10, 10, 12, .9); display: grid; place-items: center; padding: 16px; }
.pbox { width: min(100%, 960px); }
.pbar { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 8px; }
.pbar b { flex: 1; font-weight: 600; font-size: .95rem; }
.pframe { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #000; }
.pframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.helpform h1 { margin-bottom: 10px; }
.helpform .avail { margin-bottom: 18px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-size: .85rem; font-weight: 600; margin-bottom: 8px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { width: 100%; }
.chip { position: relative; cursor: pointer; }
.chip input, .seg input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border-radius: var(--pill); border: 1.5px solid var(--line); font-size: .9rem; font-weight: 500; transition: background .12s, color .12s, border-color .12s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.segbox { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--pill); background: var(--soft); }
.seg.three .segbox { grid-template-columns: repeat(3, 1fr); }
.seg label { position: relative; cursor: pointer; }
.seg span { display: block; text-align: center; padding: 10px 8px; border-radius: var(--pill); font-weight: 600; font-size: .9rem; color: var(--ink2); }
.seg input:checked + span { background: var(--white); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
#booker { min-width: 0; display: grid; gap: 10px; }
#booker[hidden] { display: none; }
.days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scrollbar-width: none; }
.days::-webkit-scrollbar { display: none; }
.day, .time { flex: none; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: .88rem; cursor: pointer; white-space: nowrap; }
.day.on, .time.on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.time { padding: 10px 4px; text-align: center; }

.convmain { display: flex; flex-direction: column; padding-bottom: 0; }
.conv { display: flex; flex-direction: column; flex: 1; }
.cstatus { position: sticky; top: calc(58px + var(--safe-t)); z-index: 10; background: var(--white); border-bottom: 1px solid var(--line); }
.st { display: flex; align-items: center; gap: 12px; padding: 12px 18px; }
.st > div { flex: 1; min-width: 0; }
.st b { display: block; font-weight: 600; }
.st small { display: block; color: var(--graphite); font-size: .82rem; }
.st .av { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; flex: none; }
.st.active .av { box-shadow: 0 0 0 3px #fff, 0 0 0 5px #36D27A; }
.stage { background: #0B0B0D; }
.view { position: relative; height: min(62vh, 560px); overflow: hidden; }
.view video, .view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #0B0B0D; }
.view canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mirror { transform: scaleX(-1); }
.pip { position: absolute; width: 24%; max-width: 118px; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; border: 2px solid rgba(255, 255, 255, .9); box-shadow: 0 8px 22px rgba(0, 0, 0, .4); background: #222; z-index: 3; cursor: grab; transition: top .2s var(--ease), left .2s var(--ease), right .2s var(--ease), bottom .2s var(--ease); }
.pip[data-corner="tr"] { top: 12px; right: 12px; }
.pip[data-corner="tl"] { top: 12px; left: 12px; }
.pip[data-corner="br"] { bottom: 12px; right: 12px; }
.pip[data-corner="bl"] { bottom: 12px; left: 12px; }
.pip video { object-fit: cover; }
.pip span { position: absolute; left: 6px; bottom: 6px; padding: 2px 8px; border-radius: 10px; background: rgba(0, 0, 0, .55); color: #fff; font-size: .7rem; font-weight: 600; }
.frozechip { position: absolute; left: 12px; top: 12px; padding: 5px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .92); color: var(--ink); font-size: .75rem; font-weight: 600; z-index: 3; }
.recchip { position: absolute; right: 12px; bottom: 12px; padding: 5px 12px 5px 24px; border-radius: var(--pill); background: var(--red); color: #fff; font-size: .75rem; font-weight: 600; z-index: 3; }
.recchip::before { content: ""; position: absolute; left: 10px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.hear { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 4; padding: 10px 18px; border-radius: var(--pill); border: 0; background: var(--white); color: var(--ink); font-weight: 600; cursor: pointer; }
.camctl { display: flex; justify-content: center; gap: 10px; padding: 12px; }
.ctl { display: grid; justify-items: center; gap: 4px; min-width: 76px; padding: 8px 10px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .1); color: #fff; font-size: .74rem; font-weight: 600; cursor: pointer; }
.ctl svg { width: 22px; height: 22px; }
.ctl[aria-pressed="true"] { background: #fff; color: var(--ink); }
.ctl.stop { background: var(--red); }
.msgs { list-style: none; margin: 0; padding: 18px 16px 8px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.m { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; max-width: 84%; }
.m.mine { align-self: flex-end; align-items: flex-end; }
.m.them { align-self: flex-start; }
.m .who { font-size: .74rem; font-weight: 600; color: var(--graphite); padding-left: 4px; }
.bubble { padding: 10px 14px; border-radius: 18px; font-size: .96rem; line-height: 1.42; overflow-wrap: break-word; max-width: 100%; }
.m.mine .bubble { background: var(--ink); color: var(--white); border-bottom-right-radius: 5px; }
.m.them .bubble { background: var(--concrete); border-bottom-left-radius: 5px; }
html[data-contrast="1"] .m.them .bubble { background: var(--white); border: 1.5px solid var(--ink); }
.m time { font-size: .68rem; color: var(--graphite); padding: 0 6px; }
.m.sys { align-self: center; align-items: center; max-width: 92%; text-align: center; }
.m.sys span { font-size: .78rem; color: var(--graphite); }
.m .clips.one { width: min(260px, 70vw); }
.cardbtn { justify-self: start; }
.typing { padding: 0 20px 6px; font-size: .8rem; color: var(--graphite); font-style: italic; }
.cextra { padding: 0 16px; display: grid; gap: 12px; }
.cextra:empty { display: none; }
.consent { display: flex; gap: 14px; align-items: center; padding: 12px 14px; border-radius: var(--r); background: var(--concrete); margin-bottom: 10px; }
.consent b { display: block; font-size: .9rem; }
.consent small { display: block; color: var(--graphite); font-size: .78rem; }
.rate { display: grid; gap: 10px; padding: 16px; border-radius: var(--r); background: var(--concrete); margin-bottom: 12px; }
.rate textarea { padding: 10px 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--white); resize: vertical; }
.rate .btn { justify-self: start; }
.stars { display: flex; gap: 6px; }
.stars label { cursor: pointer; color: #C5C9CE; }
.stars input { position: absolute; opacity: 0; }
.stars svg { width: 34px; height: 34px; }
.stars label.lit { color: #F2A900; }
.stars input:focus-visible + span { outline: 3px solid var(--blue); border-radius: 6px; }
.thanks { text-align: center; color: var(--graphite); font-size: .9rem; padding: 6px 0; }
.compose { position: sticky; bottom: 0; display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px calc(10px + var(--safe-b)); background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
.compose[hidden] { display: none; }
.compose textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 140px; padding: 11px 16px; border-radius: 22px; border: 1.5px solid var(--line); background: var(--concrete); resize: none; font-size: 1rem; line-height: 1.35; }
.compose textarea:focus { outline: none; border-color: var(--ink); background: var(--white); }
.sendbtn { background: var(--ink); color: var(--white); }
.sendbtn svg { width: 20px; height: 20px; }
.cambtn { background: var(--soft); }
.cambtn[hidden] { display: none; }

.acct h1 { margin-bottom: 16px; }
.facts { margin: 0 0 18px; display: grid; gap: 10px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--graphite); font-size: .88rem; }
.facts dd { margin: 0; font-weight: 500; font-size: .92rem; text-align: right; overflow-wrap: break-word; max-width: 100%; }
.card { padding: 18px; border-radius: var(--r); border: 1px solid var(--line); margin-bottom: 14px; display: grid; gap: 14px; }
.card h2 { font-size: 1rem; }
.card .btn { justify-self: start; }
.card.danger { border-color: #F2C4C7; }
.card video { width: 100%; border-radius: 12px; background: #000; }
.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 500; cursor: pointer; }
.switch { position: relative; width: 50px; height: 30px; flex: none; display: inline-block; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 30px; background: #C5C9CE; transition: background .15s; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .18s var(--ease); }
.switch input:checked + span { background: var(--green); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.installwrap { padding: 0; }

.sw { display: inline-block; width: 15px; height: 15px; border-radius: 50%; margin: 0 7px -2px 0; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); vertical-align: baseline; }
.st .av { overflow: hidden; }
.st .av img { width: 100%; height: 100%; object-fit: cover; }
.codein { font-size: 1.6rem !important; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.center-row { justify-content: center; }
.fine a { color: var(--ink2); }
.langnote { margin-top: -6px; font-size: .84rem; color: var(--ink2); padding: 10px 14px; border-radius: 12px; background: var(--concrete); }
.waitcard { display: grid; gap: 6px; padding: 16px; border-radius: var(--r); background: #FFF6E5; margin-bottom: 10px; }
.waitcard b { font-weight: 600; }
.waitcard small { color: var(--ink2); font-size: .85rem; }
.waitcard .row { margin-top: 6px; }
.callbar { position: sticky; top: calc(124px + var(--safe-t)); z-index: 9; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 16px 0; padding: 10px 12px 10px 16px; border-radius: var(--r); background: var(--ink); color: #fff; }
.callbar b { flex: 1; font-weight: 600; font-size: .92rem; min-width: 140px; }
.callbar .btn.soft { background: rgba(255, 255, 255, .14); border-color: transparent; color: #fff; }
.callbar .btn svg { width: 18px; height: 18px; }
.callon { width: 10px; height: 10px; border-radius: 50%; background: #36D27A; animation: pulse 1.4s infinite; }
.btn.dangerfill { background: var(--red); border-color: var(--red); color: #fff; }
.zoomrow { display: flex; align-items: center; gap: 12px; padding: 0 18px 12px; color: #fff; font-size: .8rem; font-weight: 600; }
.zoomrow input { flex: 1; accent-color: #fff; }
.flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 5; }
.flash.go { animation: flash .45s ease-out; }
@keyframes flash { 0% { opacity: .85; } 100% { opacity: 0; } }
.sheet-wrap { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; background: rgba(10, 10, 12, 0); transition: background .18s; }
.sheet-wrap.in { background: rgba(10, 10, 12, .5); }
.sheet { width: min(100%, 520px); max-height: 90vh; overflow-y: auto; padding: 22px 20px calc(18px + var(--safe-b)); border-radius: 22px 22px 0 0; background: var(--white); transform: translateY(24px); opacity: 0; transition: transform .2s var(--ease), opacity .18s; }
.sheet-wrap.in .sheet { transform: none; opacity: 1; }
@media (min-width: 700px) { .sheet-wrap { align-items: center; } .sheet { border-radius: 20px; } }
.sheet h2 { font-size: 1.2rem; margin-bottom: 8px; }
.sheet-text { color: var(--ink2); font-size: .95rem; margin-bottom: 14px; }
.sheet-form { display: grid; gap: 14px; }
.sheet-field { display: grid; gap: 6px; }
.sheet-field span { font-size: .85rem; font-weight: 600; }
.sheet-field input, .sheet-field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font-size: 1rem; background: var(--white); }
.sheet-field textarea { resize: vertical; }
.sheet-check { display: flex; gap: 12px; align-items: center; font-weight: 500; cursor: pointer; }
.sheet-check input { width: 22px; height: 22px; accent-color: var(--red); margin: 0; }
.sheet-choice { display: grid; gap: 8px; }
.sheet-choice label { display: flex; gap: 10px; align-items: center; cursor: pointer; }
.sheet-acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 4px; }
.carchip { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .94); color: var(--ink); font-size: .78rem; font-weight: 600; z-index: 3; max-width: 80%; }
.svc { margin-top: 2px; }
.journeycard { display: grid; gap: 10px; padding: 16px 18px; border-radius: var(--r); background: var(--concrete); text-decoration: none; }
.journeycard b { display: block; font-weight: 600; }
.journeycard small { color: var(--graphite); font-size: .84rem; }
.bar { display: block; height: 8px; border-radius: 8px; background: var(--soft); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 8px; background: var(--green); transition: width .4s var(--ease); }
.journey h1 { margin-bottom: 12px; }
.jprog { display: grid; gap: 8px; margin-bottom: 18px; }
.jprog small { color: var(--graphite); font-size: .84rem; }
.jgroup { margin-top: 18px; }
.jlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.jlist li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.jlist li:first-child { border-top: 0; }
.jbody { display: grid; gap: 4px; flex: 1; min-width: 0; }
.jbody b { font-weight: 600; }
.jbody small { color: var(--graphite); font-size: .84rem; }
.jbody small.covered { color: var(--green); font-weight: 600; }
.jbody .row { margin-top: 6px; }
.jlist li.done b { color: var(--graphite); }
.jcheck { position: relative; width: 28px; height: 28px; flex: none; margin-top: 2px; cursor: pointer; }
.jcheck input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.jcheck span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--line); background: var(--white); }
.jcheck input:checked + span { background: var(--green); border-color: var(--green); }
.jcheck input:checked + span::after { content: ""; position: absolute; left: 9px; top: 4px; width: 6px; height: 12px; border: solid #fff; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.jcheck input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.jcheck input:disabled { cursor: default; }
.card small.muted { font-size: .8rem; }
