:root {
  color-scheme: dark;
  --bg: #08090a; --bg-auth: #08090a; --group: #161618; --group-hi: #202023; --raised: #1c1c1f;
  --sheet-group: #161618;
  --fill: rgb(118 118 128 / .22); --fill-hi: rgb(118 118 128 / .32); --sep: rgb(255 255 255 / .085);
  --text: #f5f5f7; --text-2: #a1a1a6; --text-3: #8a8a8f;
  --accent: #0a84ff; --accent-fill: #0b6bdc; --accent-fill-hi: #1a78e6; --accent-text: #4aa3ff; --accent-tint: rgb(10 132 255 / .16);
  --ok: #30d158; --ok-text: #4cd474; --ok-tint: rgb(48 209 88 / .15); --ok-fill: #1f7a37;
  --warn: #ff9f0a; --warn-text: #ffb340; --warn-tint: rgb(255 159 10 / .15);
  --fail: #ff453a; --fail-text: #ff6961; --fail-tint: rgb(255 69 58 / .15); --fail-fill: #d70015;
  --off: #636366;
  --input-bg: rgb(255 255 255 / .05); --input-line: #5f5f63;
  --shadow: 0 24px 64px rgb(0 0 0 / .6), 0 2px 8px rgb(0 0 0 / .4);
  --scrim: rgb(0 0 0 / .55); --bar: rgb(8 9 10 / .82);
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --display: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --t-hero: 32px; --t-large: 28px; --t-title: 22px; --t-head: 17px; --t-body: 16px; --t-call: 15px; --t-sub: 14px; --t-foot: 13px; --t-cap: 12px; --t-cap2: 11px;
  --lh-tight: 1.15; --lh-head: 1.25; --lh-text: 1.4; --lh-body: 1.5;
  --ls-tight: -.02em; --ls-snug: -.01em; --ls-caps: .06em; --ls-code: .1em; --ls-wide: .18em; --ls-digits: .4em;
  --r-group: 16px; --r-ctl: 12px; --r-cap: 999px;
  --ctl-h: 44px; --ctl-h-sm: 32px;
  --s0: 2px; --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 20px; --s6: 24px; --s8: 32px; --s10: 40px; --s12: 48px; --s14: 56px; --s16: 64px;
  --row-h: 56px; --row-h-lg: 64px; --row-h-sm: 48px;
  --ease: cubic-bezier(.22, 1, .36, 1); --dur: 200ms;
  --rail-w: 272px;
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #f2f2f7; --bg-auth: #ffffff; --group: #ffffff; --group-hi: #f7f7fa; --raised: #ffffff;
    --sheet-group: #f2f2f7;
    --fill: rgb(118 118 128 / .12); --fill-hi: rgb(118 118 128 / .2); --sep: rgb(60 60 67 / .14);
    --text: #1d1d1f; --text-2: #5d5d62; --text-3: #6e6e73;
    --accent: #0071e3; --accent-fill: #0066cc; --accent-fill-hi: #0077ed; --accent-text: #0062c4; --accent-tint: rgb(0 113 227 / .1);
    --ok: #28a745; --ok-text: #1d7d38; --ok-tint: rgb(40 167 69 / .12); --ok-fill: #1d7d38;
    --warn: #e08600; --warn-text: #a35200; --warn-tint: rgb(224 134 0 / .13);
    --fail: #e0352b; --fail-text: #c4161c; --fail-tint: rgb(224 53 43 / .1);
    --off: #aeaeb2;
    --input-bg: #ffffff; --input-line: #8e8e93;
    --shadow: 0 24px 64px rgb(0 0 0 / .18), 0 2px 8px rgb(0 0 0 / .08);
    --scrim: rgb(0 0 0 / .32); --bar: rgb(242 242 247 / .84);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; min-height: 100dvh; color: var(--text); background: var(--bg); font: 400 var(--t-body)/var(--lh-body) var(--sans);
  letter-spacing: var(--ls-snug); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-variant-numeric: tabular-nums; overflow-x: hidden;
  overflow-wrap: break-word; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-family: var(--display); }
p { margin: var(--s2) 0; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { -webkit-tap-highlight-color: transparent; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
::selection { background: var(--accent-tint); }
.mono { font-family: var(--mono); font-size: .92em; letter-spacing: 0; overflow-wrap: anywhere; }
.muted { color: var(--text-2); }
.small { font-size: var(--t-call); }
.center { text-align: center; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: var(--s3) var(--s4); border-radius: var(--r-cap); background: var(--raised); color: var(--text); }
.skip:focus { top: 16px; box-shadow: var(--shadow); }
.ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: -4px; }
.ic.sm { width: 16px; height: 16px; vertical-align: -3px; }
.ic.ok { color: var(--ok); }
.mark { width: 28px; height: 28px; border-radius: 8px; flex: none; display: block; }
.mark.lg { width: 56px; height: 56px; border-radius: 15px; }
.word { font-weight: 600; letter-spacing: var(--ls-wide); font-size: var(--t-foot); }
.view:not([hidden]) { animation: rise .36s var(--ease) backwards; }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 40px; padding: 0 var(--s5); border: 0;
  border-radius: var(--r-cap); background: var(--fill); color: var(--text); font-weight: 600; font-size: var(--t-call); letter-spacing: var(--ls-snug);
  cursor: pointer; white-space: nowrap; text-decoration: none; user-select: none;
  transition: background var(--dur) var(--ease), color var(--dur), transform var(--dur) var(--ease), opacity var(--dur); }
.btn:hover { background: var(--fill-hi); text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent-fill); color: #fff; }
.btn.primary:hover { background: var(--accent-fill-hi); }
.btn.danger { color: var(--fail-text); }
.btn.danger:hover { background: var(--fail-tint); }
.btn.ghost { background: transparent; color: var(--accent-text); }
.btn.ghost:hover { background: var(--accent-tint); }
.btn.sm { min-height: var(--ctl-h-sm); padding: 0 var(--s4); font-size: var(--t-call); }
.btn.wide { width: 100%; min-height: 48px; border-radius: var(--r-ctl); font-size: var(--t-body); }
.btn.flat { width: 100%; border-radius: 0; background: transparent; color: var(--accent-text); box-shadow: inset 0 1px var(--sep); }
.btn[disabled] { opacity: .4; cursor: default; transform: none; }
.btn.round { width: 36px; min-height: 36px; height: 36px; padding: 0; border-radius: 50%; flex: none; }
.btn.primary.ok { background: var(--ok-fill); color: #fff; }
.btn.primary.ok:hover { background: var(--ok-fill); filter: brightness(1.08); }
.link { border: 0; background: none; padding: var(--s2) 0; color: var(--accent-text); font-weight: 500; font-size: var(--t-body); cursor: pointer; min-height: 32px; }
.link:hover { text-decoration: underline; }
.link.sm { padding: var(--s0) 0; min-height: 0; }
.link.inline { padding: 0; min-height: 0; font-size: inherit; font-weight: inherit; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s1) var(--s6); }
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--fill); color: var(--text); cursor: pointer; flex: none; transition: background var(--dur); }
.iconbtn:hover { background: var(--fill-hi); }
.iconbtn.plain { background: transparent; color: var(--accent-text); }
.iconbtn.plain:hover { background: var(--fill); }
.pill { display: inline-flex; align-items: center; gap: var(--s2); min-height: 24px; max-width: 100%; padding: var(--s0) var(--s3); border-radius: var(--r-cap); white-space: nowrap;
  background: var(--fill); color: var(--text-2); font-size: var(--t-foot); font-weight: 600; letter-spacing: 0; }
.pill.ok { color: var(--ok-text); background: var(--ok-tint); }
.pill.warn { color: var(--warn-text); background: var(--warn-tint); }
.pill.fail { color: var(--fail-text); background: var(--fail-tint); }
.pill.acc { color: var(--accent-text); background: var(--accent-tint); }
.pill:empty { display: none; }
.noscript { max-width: 520px; margin: var(--s12) auto; padding: var(--s4) var(--s5); border-radius: var(--r-ctl); background: var(--warn-tint); color: var(--warn-text); text-align: center; font-size: var(--t-call); }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; background: var(--off); }
.dot.ok { background: var(--ok); }
.dot.warn { background: var(--warn); }
.dot.fail { background: var(--fail); }
.dot.acc { background: var(--accent); }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; flex: none; font-size: var(--t-foot); font-weight: 600; letter-spacing: 0;
  color: #fff; background: linear-gradient(160deg, #8e8e93, #5e5e63); }
.avatar.lg { width: 64px; height: 64px; font-size: var(--t-title); }
.avatar:empty { display: none; }

.form { display: grid; gap: var(--s4); margin-top: var(--s6); }
.field { display: grid; gap: var(--s2); min-width: 0; }
.field > label, .flabel { color: var(--text-2); font-size: var(--t-body); font-weight: 500; padding: 0; }
input, select, textarea { width: 100%; min-height: var(--ctl-h); padding: var(--s3) var(--s4); border: 1px solid var(--input-line); border-radius: var(--r-ctl);
  background: var(--input-bg); color: var(--text); font-size: var(--t-head); transition: border-color var(--dur), box-shadow var(--dur); }
select { -webkit-appearance: none; appearance: none; padding-right: var(--s10); cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
input[aria-invalid="true"] { border-color: var(--fail); }
input[disabled], select[disabled] { opacity: .5; }
.code-in { font-family: var(--mono); font-size: var(--t-title); letter-spacing: var(--ls-digits); text-align: center; min-height: 56px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s2); min-width: 0; }
legend { margin-bottom: var(--s2); }
.hint { color: var(--text-3); font-size: var(--t-call); line-height: var(--lh-text); margin: 0; }
.hint.ok { color: var(--ok-text); } .hint.warn { color: var(--warn-text); } .hint.bad { color: var(--fail-text); }
.err { color: var(--fail-text); background: var(--fail-tint); padding: var(--s3) var(--s4); border-radius: var(--r-ctl); margin: 0; font-size: var(--t-body); }
.note { color: var(--ok-text); background: var(--ok-tint); padding: var(--s3) var(--s4); border-radius: var(--r-ctl); margin: var(--s4) 0 0; font-size: var(--t-body); }
.note.bad { color: var(--warn-text); background: var(--warn-tint); }
.pw { position: relative; }
.pw input { padding-right: 72px; }
.pw .reveal-pw { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.meter { height: 4px; border-radius: 2px; background: var(--fill); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--fail); border-radius: 2px; transition: width var(--dur) var(--ease), background var(--dur); }
.meter i.l2 { background: var(--warn); } .meter i.l3 { background: var(--accent); } .meter i.l4 { background: var(--ok); }
.check { display: flex; align-items: center; gap: var(--s3); color: var(--text); font-weight: 500; margin: var(--s6) 0 var(--s4); cursor: pointer; min-height: 32px; }
.check input { width: 22px; min-height: 22px; height: 22px; margin: 0; padding: 0; flex: none; accent-color: var(--accent); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); padding: var(--s0); gap: var(--s0); border-radius: 10px; background: var(--fill); }
.seg button { min-height: 34px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font-weight: 500; font-size: var(--t-sub); cursor: pointer; transition: background var(--dur), box-shadow var(--dur); }
.seg button[aria-checked="true"] { background: var(--raised); font-weight: 600; box-shadow: 0 1px 3px rgb(0 0 0 / .18), 0 0 0 .5px rgb(0 0 0 / .04); }
@media (prefers-color-scheme: dark) { .seg button[aria-checked="true"] { background: #636366; } }
.choices { gap: 0; border-radius: var(--r-ctl); background: var(--fill); padding: 0; overflow: hidden; }
.choices legend { padding: 0; }
.choice { display: flex; gap: var(--s4); align-items: flex-start; padding: var(--s4) var(--s4); color: var(--text); cursor: pointer; transition: background var(--dur); }
.choice + .choice { box-shadow: inset 0 1px var(--sep); }
.choice:hover { background: var(--fill); }
.choice input { -webkit-appearance: none; appearance: none; flex: none; width: 22px; min-height: 22px; height: 22px; margin: 0; padding: 0;
  border: 1.5px solid var(--input-line); border-radius: 50%; background: transparent; display: grid; place-items: center; }
.choice input::after { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); transform: scale(0); transition: transform var(--dur) var(--ease); }
.choice input:checked { border-color: var(--accent); }
.choice input:checked::after { transform: scale(1); }
.choice input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.choice b { display: block; font-weight: 500; }
.choice small { display: block; color: var(--text-2); font-size: var(--t-call); margin-top: var(--s0); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.btns { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.btns .btn.primary { margin-left: auto; }
.acts { display: flex; flex-direction: column; gap: var(--s4); }
.acts > .act { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.acts > .act > .btn { flex: none; min-height: 44px; }
.acts > .act > .hint { flex: 1 1 220px; margin: 0; }
@media (max-width: 560px) {
  .acts > .act { flex-direction: column; align-items: stretch; gap: var(--s2); }
  .acts > .act > .btn { width: 100%; min-height: 48px; border-radius: var(--r-ctl); }
  .acts > .act > .hint { flex: none; padding: 0 var(--s1); }
}

details.disc > summary, details.fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--s2); color: var(--accent-text); font-weight: 500; font-size: var(--t-call); min-height: var(--ctl-h); }
details.disc > summary::-webkit-details-marker, details.fold > summary::-webkit-details-marker, details.faq > summary::-webkit-details-marker, details.whatsnew > summary::-webkit-details-marker, details.more-m > summary::-webkit-details-marker { display: none; }
details.disc > summary::after { content: ""; width: 7px; height: 7px; margin-left: var(--s0); border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--dur) var(--ease); }
details.disc[open] > summary::after { transform: rotate(-135deg) translate(-1px, -1px); }
.disc-b { display: grid; gap: var(--s4); padding-top: var(--s2); }
details.row-disc { box-shadow: inset 0 1px var(--sep); }
.group > details.row-disc:first-child { box-shadow: none; }
details.row-disc > summary { min-height: var(--row-h); padding: var(--s3) var(--s4); color: var(--accent-text); justify-content: space-between; gap: var(--s4); border-radius: inherit; }
details.row-disc > summary > span:last-of-type { flex: 1; }
details.row-disc > summary:hover { background: var(--fill); }
details.row-disc > summary::after { color: var(--text-3); transform: rotate(-45deg); width: 8px; height: 8px; }
details.row-disc[open] > summary::after { transform: rotate(45deg); }
details.row-disc > .card-b { padding-top: 0; }
details.row-disc > .card-b > .form:first-child { margin-top: var(--s1); }
details.row-disc .row-ic { color: var(--accent-text); }

body.is-auth { background: var(--bg-auth); }
body.is-auth main { max-width: 440px; margin: 0 auto; padding: max(8vh, var(--s8)) var(--s6) var(--s16); }
.auth-top { display: flex; flex-direction: column; align-items: center; gap: var(--s3); margin-bottom: var(--s8); text-align: center; }
.auth-host { margin: 0; color: var(--text-3); font-size: var(--t-sub); overflow-wrap: anywhere; }
.auth-card { padding: 0; }
.auth-card.center { display: grid; place-items: center; min-height: 50vh; }
.auth-card h1 { font-size: var(--t-hero); font-weight: 700; letter-spacing: var(--ls-tight); line-height: var(--lh-tight); text-align: center; }
.auth-card > .kicker, .auth-card > .lede { text-align: center; }
.auth-card h1:focus { outline: none; }
.lede { color: var(--text-2); font-size: var(--t-head); margin: var(--s2) 0 0; }
.kicker { display: flex; align-items: center; justify-content: center; gap: var(--s2); margin: 0 0 var(--s2); color: var(--accent-text); font-size: var(--t-foot); font-weight: 600; letter-spacing: 0; }
.kicker:empty { display: none; }
.auth-card .form > .btn.wide { margin-top: var(--s2); }
.auth-card > .links, .auth-card > .hint, .auth-card .form > .links { margin-top: var(--s6); }
.auth-card > .hint { text-align: center; }
.first { margin-top: var(--s10); padding-top: var(--s6); box-shadow: inset 0 1px var(--sep); }
.first h2 { font-size: var(--t-call); font-weight: 600; margin-bottom: var(--s2); }
.first ol { margin: 0; padding-left: var(--s5); display: grid; gap: var(--s2); color: var(--text-2); font-size: var(--t-body); }
.first li::marker { color: var(--text-3); font-weight: 600; }
.first a { overflow-wrap: anywhere; }
.who-chip { display: flex; align-items: center; gap: var(--s3); padding: var(--s3) var(--s4); border-radius: var(--r-cap); background: var(--fill); color: var(--text); font-size: var(--t-call); min-width: 0; }
.who-chip span { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-chip .link { margin-left: auto; flex: none; }
.dots { display: flex; gap: var(--s2); margin: 0 auto var(--s6); padding: 0; list-style: none; max-width: 160px; }
.dots li { flex: 1; height: 4px; border-radius: 2px; background: var(--fill-hi); transition: background var(--dur); }
.dots li.done { background: var(--accent-fill); opacity: .55; }
.dots li[aria-current="step"] { background: var(--accent); }
.steps { margin: 0; padding-left: var(--s5); display: grid; gap: var(--s2); color: var(--text-2); font-size: var(--t-body); }
.steps li::marker { color: var(--text-3); font-weight: 600; }
.steps b { color: var(--text); font-weight: 600; }
.steps code { font-family: var(--mono); font-size: var(--t-foot); background: var(--fill); padding: 1px var(--s2); border-radius: 6px; overflow-wrap: anywhere; color: var(--text); }
.steps.form-steps { gap: var(--s5); color: var(--text-2); }
.steps.form-steps > li > :is(.field, .seg, .btn, .err) { margin-top: var(--s3); }
.steps.form-steps > li > .sw-field .note-s { padding-left: 0; }
.keybox { display: grid; gap: var(--s2); padding: var(--s4); border-radius: var(--r-ctl); background: var(--fill); }
.keybox .key { font-size: var(--t-title); letter-spacing: var(--ls-code); line-height: var(--lh-text); color: var(--text); }
.keybox .btn { justify-self: start; }
.codes { list-style: none; margin: var(--s6) 0 var(--s4); padding: var(--s5) var(--s6); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s6);
  border-radius: var(--r-group); background: var(--fill); font-size: var(--t-body); letter-spacing: var(--ls-caps); counter-reset: rc; }
.codes li { counter-increment: rc; }
.codes li::before { content: counter(rc) ". "; color: var(--text-3); display: inline-block; min-width: 2.2em; }
.acts { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.auth-card .acts { margin-top: 0; margin-bottom: var(--s3); justify-content: center; }
.out-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto var(--s6); background: var(--ok-tint); color: var(--ok); }
.out-ic .ic { width: 30px; height: 30px; stroke-width: 2; }
#out-again, #notice-go { margin-top: var(--s8); }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid var(--fill-hi); border-top-color: var(--text-2); animation: spin .9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

body.is-app { display: grid; grid-template-columns: var(--rail-w) minmax(0, 1fr); min-height: 100vh; }
body.is-app main { min-width: 0; width: 100%; max-width: 840px; margin: 0 auto; padding: var(--s14) var(--s12) calc(var(--s16) + var(--s8)); outline: none; }
body.is-app main:has(> .view.wide:not([hidden])) { max-width: 1180px; }
.rail { position: sticky; top: 0; display: flex; flex-direction: column; gap: var(--s1); padding: var(--s6) var(--s4) var(--s4); height: 100vh; overflow: auto; box-shadow: inset -1px 0 var(--sep); }
.rail-brand { display: flex; align-items: center; gap: var(--s3); padding: 0 var(--s3); min-width: 0; }
.rail-home { margin: var(--s2) var(--s3) var(--s6); color: var(--text-3); font-size: var(--t-foot); overflow-wrap: anywhere; line-height: var(--lh-text); }
.nav { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s0); }
.nav-i { white-space: nowrap; display: flex; align-items: center; gap: var(--s3); width: 100%; min-height: 40px; padding: 0 var(--s3); border: 0; border-radius: 10px;
  background: transparent; color: var(--text); font-weight: 500; font-size: var(--t-call); text-align: left; cursor: pointer; transition: background var(--dur), color var(--dur); }
.nav-i .ic { color: var(--text-2); }
.nav-i:hover { background: var(--fill); }
.nav-i[aria-current="page"] { background: var(--fill-hi); font-weight: 600; }
.nav-i[aria-current="page"] .ic { color: var(--accent-text); }
.rail-who { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); padding: var(--s4) var(--s2) var(--s1); min-width: 0; }
.who-n { min-width: 0; flex: 1; line-height: var(--lh-head); }
.who-n b { display: block; font-weight: 600; font-size: var(--t-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who-n span { display: block; color: var(--text-3); font-size: var(--t-foot); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-who .btn { flex: 1 1 100%; justify-content: flex-start; padding: 0 var(--s1); margin-top: var(--s2); min-height: 36px; border-radius: 10px; }
.phonebar { display: none; }
.rail-brand .rail-fold { margin-left: auto; width: 44px; height: 44px; color: var(--text-3); }
.rail-brand .rail-fold:hover { color: var(--text); background: var(--fill); }
.rail-fold .fold-arrow { transition: transform var(--dur) var(--ease); transform-origin: 14.5px 12px; }
body.rail-mini .rail-fold .fold-arrow { transform: scaleX(-1); }
.rail-grip { position: absolute; top: 0; right: 0; width: 8px; height: 100%; cursor: col-resize; touch-action: none; z-index: 2; }
.rail-grip::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 2px; background: transparent; transition: background var(--dur); }
.rail-grip:hover::after, .rail-grip:focus-visible::after, body.rail-dragging .rail-grip::after { background: var(--accent); }
.rail-grip:focus-visible { outline: none; }
body.rail-dragging { cursor: col-resize; user-select: none; }
body.is-app { transition: grid-template-columns var(--dur) var(--ease); }
body.rail-dragging.is-app { transition: none; }
.rail-scrim { display: none; }
@media (min-width: 861px) {
  body.is-app.rail-mini .rail { padding: var(--s5) var(--s3) var(--s4); align-items: stretch; overflow-x: hidden; }
  body.is-app.rail-mini .rail .rail-brand { justify-content: center; padding: 0; }
  body.is-app.rail-mini .rail .rail-brand .mark, body.is-app.rail-mini .rail .rail-brand .word, body.is-app.rail-mini .rail .rail-home,
  body.is-app.rail-mini .rail .nav-i span, body.is-app.rail-mini .rail .who-n, body.is-app.rail-mini .rail #signout span,
  body.is-app.rail-mini .rail .rail-who .live-chip { display: none; }
  body.is-app.rail-mini .rail .rail-brand .rail-fold { margin: 0 auto var(--s5); }
  body.is-app.rail-mini .rail .nav-i { justify-content: center; padding: 0; min-height: 44px; }
  body.is-app.rail-mini .rail .rail-who { flex-direction: column; justify-content: center; padding: var(--s4) 0 var(--s1); }
  body.is-app.rail-mini .rail .rail-who .btn { flex: 0 0 auto; width: 44px; justify-content: center; padding: 0; }
  body.is-app.rail-mini #signout .ic { margin-right: 0; }
}
#signout .ic { margin-right: var(--s2); }

.page-h { margin: 0 0 var(--s8); }
.page-h h1 { font-size: var(--t-hero); font-weight: 700; letter-spacing: var(--ls-tight); line-height: var(--lh-tight); }
.page-h h1:focus { outline: none; }
.page-h p { color: var(--text-2); font-size: var(--t-head); margin: var(--s2) 0 0; max-width: 56ch; }
.sec-h { margin: var(--s14) 0 var(--s4); outline: none; }
.sec-h h2 { font-size: var(--t-title); font-weight: 700; letter-spacing: var(--ls-tight); line-height: var(--lh-head); }
.sec-h p { color: var(--text-2); margin: var(--s2) 0 0; max-width: 62ch; }
.page-h + .sec-h { margin-top: 0; }
.card { min-width: 0; margin: 0; }
.view.app > .card, .view.app > .grid2, .view.app > .card + .card, .view.app > .card + .group { margin-top: var(--s6); }
.view.app > .page-h + .card, .view.app > .page-h + .grid2, .view.app > .sec-h + .card, .view.app > .sec-h + .grid2,
.view.app > .rule + .card { margin-top: 0; }
.view.app > .card.sec { margin-top: var(--s14); }
.card-h { display: flex; align-items: center; gap: var(--s3); padding: 0 var(--s4) var(--s2); min-height: 28px; }
.card-h h2 { margin: 0; font: 600 var(--t-foot)/var(--lh-head) var(--sans); letter-spacing: var(--ls-caps); text-transform: uppercase; color: var(--text-2); }
.card-h h2:focus { outline: none; }
.card.sec > .card-h { padding: 0 0 var(--s4); }
.card.sec > .card-h h2 { font: 700 var(--t-title)/var(--lh-head) var(--display); letter-spacing: var(--ls-tight); text-transform: none; color: var(--text); }
.card-h .end { margin-left: auto; display: flex; gap: var(--s3); align-items: center; }
.card-h .end .pill { background: transparent; padding: 0; min-height: 0; font-weight: 500; }
.card-h .end .pill:not(.ok):not(.warn):not(.fail):not(.acc) { color: var(--text-3); }
.group { background: var(--group); border-radius: var(--r-group); min-width: 0; }
.group > * + *:not(details) { box-shadow: inset 0 1px var(--sep); }
.group > [hidden] + * { box-shadow: none; }
.card-b { padding: var(--s4); }
.card-b > :first-child { margin-top: 0; }
.card-b > :last-child { margin-bottom: 0; }
.card-b.tight:not(:has(> :not([hidden]))) { display: none; }
.card-b > .btn:only-child { margin: 0; }
.pad { padding: var(--s4); margin: 0; }
.card-f { display: flex; flex-direction: column; }
.card-f .btn { width: 100%; justify-content: flex-start; min-height: var(--row-h); padding: 0 var(--s4); border-radius: 0; background: transparent; color: var(--accent-text); font-weight: 500; }
.card-f .btn + .btn { box-shadow: inset 0 1px var(--sep); }
.card-f .btn:last-child { border-radius: 0 0 var(--r-group) var(--r-group); }
.card-f .btn:hover { background: var(--fill); }
.card-f .btn.danger { color: var(--fail-text); }
.card-f .btn:active { transform: none; }
.note-s { color: var(--text-3); font-size: var(--t-call); padding: var(--s2) var(--s4) 0; margin: 0; max-width: 72ch; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s8) var(--s6); align-items: start; }
.h2 { font-size: var(--t-title); font-weight: 700; letter-spacing: var(--ls-tight); line-height: var(--lh-head); }
.big-ic { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--accent-tint); color: var(--accent-text); }
.big-ic.dim { background: var(--fill); color: var(--text-3); }
.big-ic .ic { width: 28px; height: 28px; }
.prose p { margin: 0 0 var(--s3); color: var(--text-2); }
.prose p:last-child { margin-bottom: 0; }
.prose b { color: var(--text); font-weight: 600; }
.big { font-size: var(--t-title); font-weight: 700; letter-spacing: var(--ls-tight); margin: 0; overflow-wrap: anywhere; font-family: var(--display); }
.fp { font-size: var(--t-foot); color: var(--text-2); }
.page-foot { margin-top: var(--s8); padding: 0 var(--s4); color: var(--text-3); font-size: var(--t-call); max-width: 72ch; }
.page-foot p { margin: var(--s1) 0; }
.page-foot details.how > summary { font-size: var(--t-call); min-height: var(--ctl-h); }
.page-foot details.how .disc-b { gap: var(--s2); color: var(--text-2); font-size: var(--t-call); }

:root {
  --ic-person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a8f' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E");
  --ic-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a8f' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H8l-4 4z'/%3E%3Cpath d='M9 10.5h6'/%3E%3C/svg%3E");
}
.page-h.has-acts { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4) var(--s6); }
.page-t { min-width: 0; flex: 1 1 auto; }
.page-acts { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: var(--s2); flex: 0 1 auto; }
.ph-row { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s3); min-width: 0; }
.ph-row > h1, .ph-row > h2 { flex: none; max-width: 100%; margin: 0; }
.pill.hp, .pill.hp.ok, .pill.hp.warn, .pill.hp.fail, .pill.hp.acc { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: var(--t-foot);
  font-weight: 600; color: var(--text); background: var(--fill); }
.pill.hp::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--off); }
.pill.hp.ok::before { background: var(--ok); }
.pill.hp.warn::before { background: var(--warn); }
.pill.hp.fail::before { background: var(--fail); }
.pill.hp.acc::before { background: var(--accent); }
dialog.ask .sp-head { padding-right: 36px; }
.pill.hp[hidden] { display: none; }
.page-h.has-acts:has(.ph-row) { align-items: center; }
.page-acts #line { max-width: 300px; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 560px) {
  .page-h.has-acts:has(.ph-row):not(:has(#line:not([hidden]))) { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s2) var(--s3); }
  .page-h.has-acts:has(.ph-row):not(:has(#line:not([hidden]))) > .page-t,
  .page-h.has-acts:has(.ph-row):not(:has(#line:not([hidden]))) .ph-row { display: contents; }
  .page-h.has-acts:has(.ph-row):not(:has(#line:not([hidden]))) .ph-row > h1 { grid-column: 1; grid-row: 1; }
  .page-h.has-acts:has(.ph-row):not(:has(#line:not([hidden]))) > .page-acts { grid-column: 2; grid-row: 1; }
  .page-h.has-acts:has(.ph-row):not(:has(#line:not([hidden]))) .pill.hp { grid-column: 1 / -1; grid-row: 2; justify-self: start; max-width: 100%; }
}
#v-texts > .page-h.has-acts:has(#line:not([hidden])) { flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s2); }
#v-texts > .page-h.has-acts:has(#line:not([hidden])) > .page-acts { display: contents; }
#v-texts > .page-h.has-acts:has(#line:not([hidden])) > .page-t { flex: 1 1 0; min-width: 0; }
#v-texts > .page-h.has-acts #line:not([hidden]) { order: -1; flex: 1 1 100%; width: 100%; max-width: none; min-width: 0; text-overflow: ellipsis; }
#v-texts > .page-h.has-acts #new-conv, #v-texts > .page-h.has-acts .tx-set-b, #v-texts > .page-h.has-acts .seal-note { flex: 0 0 auto; }
@media (max-width: 380px) { .view:not(.wide) > .page-h.has-acts { flex-wrap: wrap; } .view:not(.wide) > .page-h.has-acts .page-t { flex: 1 1 100%; } .view:not(.wide) > .page-h.has-acts .page-acts { justify-content: flex-start; } }
.page-acts select { width: auto; min-height: var(--ctl-h-sm); padding: 0 36px 0 var(--s4); border: 1px solid var(--input-line); border-radius: var(--r-cap);
  background-color: var(--group); color: var(--text); font-size: var(--t-sub); font-weight: 600; background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; }
.page-acts select:hover { background-color: var(--group-hi); }
select option, select optgroup { background-color: var(--raised); color: var(--text); }
select option:checked { background-color: var(--accent-fill); color: #fff; }
.page-act { display: contents; }
.view.wide > .page-h { margin-bottom: var(--s6); }
.view.wide > .page-h p { margin-top: var(--s2); }
.split { display: grid; grid-template-columns: minmax(300px, 360px) minmax(0, 1fr); height: calc(100vh - 188px); height: calc(100dvh - 188px); min-height: 520px;
  background: var(--group); border-radius: 20px; overflow: hidden; }
.split-list, .split-detail { display: flex; flex-direction: column; min-height: 0; min-width: 0; overflow: hidden; }
.split-list { box-shadow: inset -1px 0 var(--sep); }
.split-bar { display: flex; align-items: center; gap: var(--s2); padding: var(--s3); }
.view.wide:has(> .split:not([hidden])) { display: flex; flex-direction: column; height: calc(100vh - 96px); height: calc(100dvh - 96px); }
body.is-app main:has(> .view.wide > .split:not([hidden])) { padding-bottom: var(--s10); }
.view.wide > .split { flex: 1 1 auto; height: auto; min-height: 440px; }
@media (min-width: 961px) { .split-detail:has(#to[hidden]):has(#thread-who[hidden]) .thread-head { display: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.search { position: relative; }
.search .ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.search input { width: 100%; min-height: 38px; padding: 0 var(--s3) 0 36px; border: 0; border-radius: 10px; background: var(--fill); font-size: var(--t-call); }
.search input:focus { box-shadow: 0 0 0 3px var(--accent-tint); }
.hero-empty, .empty-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s2); }
.hero-empty { padding: var(--s16) var(--s6); background: var(--group); border-radius: 24px; }
.hero-empty .big-ic { margin-bottom: var(--s2); }
.hero-empty p { max-width: 46ch; margin: 0 0 var(--s4); }
.hero-empty .err { margin-top: var(--s2); }
.empty-state { margin: auto; padding: var(--s8) var(--s6); max-width: 42ch; }
.empty-state .big-ic { margin-bottom: var(--s2); }
.empty-state h3 { font: 600 var(--t-head)/var(--lh-head) var(--display); letter-spacing: var(--ls-snug); color: var(--text); }
.empty-state p { margin: 0; color: var(--text-2); font-size: var(--t-sub); line-height: var(--lh-text); }
.empty-state .btn { margin-top: var(--s3); }
.stick-pic { flex: none; margin-bottom: var(--s2); }
.stick-pic .sp-body, .stick-pic .sp-plug { fill: var(--group); stroke: var(--input-line); stroke-width: 2; }
.stick-pic .sp-plug { fill: var(--fill); }
.stick-pic .sp-mark { fill: var(--text); font-family: var(--display); }
.stick-pic .sp-light { fill: var(--accent); }
.avatar.t0 { background: linear-gradient(160deg, #8e8e93, #636366); }
.avatar.t1 { background: linear-gradient(160deg, #5aa9ff, #2f6fd6); }
.avatar.t2 { background: linear-gradient(160deg, #b28dff, #7a4fd6); }
.avatar.t3 { background: linear-gradient(160deg, #4fd18b, #23955a); }
.avatar.t4 { background: linear-gradient(160deg, #ffb35c, #e07a1f); }
.avatar.t5 { background: linear-gradient(160deg, #ff8aa8, #d6466f); }
.avatar.t6 { background: linear-gradient(160deg, #5fd3d6, #2a98a6); }
.avatar .ic { width: 55%; height: 55%; stroke-width: 1.8; vertical-align: 0; }
button.pill { border: 0; cursor: pointer; font: inherit; font-size: var(--t-foot); font-weight: 600; }
.banner.fail { background: var(--fail-tint); color: var(--fail-text); }
.banner.ok { background: var(--ok-tint); color: var(--ok-text); }

.rows { display: flex; flex-direction: column; }
.row { position: relative; display: flex; align-items: center; gap: var(--s4); min-height: var(--row-h); padding: var(--s3) var(--s4); min-width: 0; --lead: 0px; }
.row:has(> .dot) { --lead: 22px; }
.row:has(> .row-ic) { --lead: 46px; }
.rows > .row + .row::before, .rows > .app-qr + .row::before, .todo > .todo-i + .todo-i::before {
  content: ""; position: absolute; top: 0; right: 0; left: calc(16px + var(--lead)); height: 1px; background: var(--sep); }
.row-n { min-width: 0; flex: 1 1 auto; }
.row-n b { display: block; font-weight: 500; font-size: var(--t-head); letter-spacing: var(--ls-snug); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-n b.mono { font-size: var(--t-call); letter-spacing: 0; }
.row-n b > .dot { vertical-align: middle; margin: 0 0 var(--s0) var(--s1); }
.row-n b > .link { font-size: inherit; }
.row-n > span { display: block; color: var(--text-2); font-size: var(--t-call); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-n > span.wrap { white-space: normal; }
.row-n > span .dot { width: 6px; height: 6px; vertical-align: 2px; margin-right: var(--s0); }
.row-v { flex: none; text-align: right; font-size: var(--t-call); color: var(--text-2); max-width: 45%; }
.row-v.ok { color: var(--ok-text); } .row-v.warn { color: var(--warn-text); } .row-v.fail { color: var(--fail-text); } .row-v.acc { color: var(--accent-text); }
.row-v small { display: block; color: var(--text-3); font-size: var(--t-cap); }
.row > .btn { flex: none; }
.row-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--fill); color: var(--text-2); flex: none; }
.row-ic .ic { width: 18px; height: 18px; }
.row-ic > .avatar { width: 32px; height: 32px; }
.row.shp + button.row.go { padding-left: calc(var(--s4) + var(--s8)); }
.row.sub { padding-left: 62px; min-height: var(--row-h-sm); --lead: 22px; }
.row-acts { display: flex; flex-wrap: wrap; gap: var(--s2); justify-content: flex-end; align-items: center; flex: none; max-width: 56%; }
.row-n span.relink, .row-n span.held { color: var(--warn-text); white-space: normal; }
.empty { display: flex; align-items: center; gap: var(--s4); padding: var(--s4); min-height: var(--row-h); color: var(--text-2); }
.empty .ic { width: 32px; height: 32px; padding: var(--s2); border-radius: 9px; background: var(--fill); color: var(--text-3); }
details.tech { display: block; margin-top: var(--s0); font-size: var(--t-call); }
details.tech > summary { display: inline; list-style: none; cursor: pointer; color: var(--accent-text); }
details.tech > summary::-webkit-details-marker { display: none; }
details.tech[open] > summary { color: var(--text-3); }
details.tech .mono { display: block; color: var(--text-2); margin-top: var(--s0); white-space: normal; }
details.more-m { position: relative; }
details.more-m > summary { list-style: none; }
details.more-m > summary .ic { width: 18px; height: 18px; }
.menu-p { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 200px; padding: var(--s2); display: grid; gap: var(--s0);
  background: var(--raised); border-radius: 14px; box-shadow: var(--shadow), 0 0 0 .5px var(--sep); animation: pop .18s var(--ease) both; }
.menu-p .btn { justify-content: flex-start; width: 100%; background: transparent; border-radius: 8px; min-height: 40px; font-weight: 500; }
.menu-p .btn:hover { background: var(--fill); }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) {
  details.more-m[open] > summary::before { content: ""; position: fixed; inset: 0; z-index: 95; background: var(--scrim); cursor: default; }
  details.more-m > .menu-p { position: fixed; left: 8px; right: 8px; top: auto; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); z-index: 96;
    min-width: 0; padding: var(--s2); border-radius: 18px; animation: sheet-up .22s var(--ease) both; }
  details.more-m > .menu-p > .btn, details.more-m > .menu-p > form > .btn { min-height: var(--row-h); width: 100%; justify-content: flex-start; font-size: var(--t-head); }
  .seal-note > .seal-pop { position: fixed; left: 16px; right: 16px; width: auto; top: calc(var(--tb-h, 60px) + 8px); z-index: 96; }
}
@keyframes sheet-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.home-head { margin-bottom: var(--s8); }
.home-head p { font-size: var(--t-call); color: var(--text-3); margin-top: var(--s2); overflow-wrap: anywhere; }
.hero { background: var(--group); border-radius: 24px; padding: var(--s8) var(--s8) 0; overflow: hidden; }
.wait-tab { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s3); margin: 0 auto; padding: var(--s4); max-width: 520px; text-align: center; }
.wait-tab .wt-row { display: flex; align-items: center; justify-content: center; gap: var(--s4); text-align: left; }
.wait-tab .mark { width: 36px; height: 36px; border-radius: 10px; margin: 0; animation: breathe-mark 2.4s ease-in-out infinite; }
.wait-tab h1 { margin: 0; font: 600 var(--t-title)/var(--lh-head) var(--display); letter-spacing: var(--ls-snug); }
.wait-tab p { margin: 0; color: var(--text-2); font-size: var(--t-body); }
.wait-tab .wt-act:has(button[hidden]) { display: none; }
@keyframes breathe-mark { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .wait-tab .mark { animation: none; } }
.st-row { align-items: center; }
.st-row .row-n > b, .st-name { font-weight: 600; }
.st-name { display: block; padding: 0; line-height: var(--lh-head); min-height: 0; border: 0; background: none; color: var(--accent-text); font-size: var(--t-head); text-align: left; cursor: pointer; }
.st-live { flex: 0 1 auto; display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s3); margin-left: auto; min-width: 0; white-space: normal; text-align: right; justify-content: flex-end; }
.st-state { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--t-call); font-weight: 600; color: var(--text-2); white-space: normal; overflow-wrap: anywhere; }
.st-row .row-n > .st-live { display: flex; margin: var(--s1) 0 0; gap: var(--s2) var(--s3); text-align: left; justify-content: flex-start; }
.st-row .row-n > .st-live .st-state { font-size: var(--t-call); font-weight: 400; color: var(--text-2); gap: var(--s2); }
.st-row .row-n > .st-live .st-state.warn { color: var(--warn-text); }
.st-row .row-n > .st-live .st-state.fail { color: var(--fail-text); }
.st-row > .row-v { max-width: none; }
.st-row .row-n > b, .st-row .st-name { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; }
.st-row.st-open { cursor: pointer; }
.st-row.st-open:hover { background: var(--group-hi); }
.st-row .row-acts { max-width: none; }
.st-state.ok { color: var(--ok-text); } .st-state.warn { color: var(--warn-text); } .st-state.fail { color: var(--fail-text); }
.st-live .bars { color: var(--text-2); }
.st-row > .st-live + .row-acts { margin-left: var(--s2); }
.st-row .ord-mv { margin-right: calc(-1 * var(--s1)); }
@media (max-width: 760px) {
  .rows > .row.st-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: var(--s1) var(--s3); }
  .rows > .row.st-row > .row-n { display: contents; }
  .rows > .row.st-row .row-n > b, .rows > .row.st-row .row-n > .st-name { grid-column: 1; grid-row: 1; }
  .rows > .row.st-row > .row-v { grid-column: 2; grid-row: 1; margin: 0; }
  .rows > .row.st-row > .row-acts { grid-column: 3; grid-row: 1; flex: none; max-width: none; padding-left: 0; margin: 0; justify-content: flex-end; }
  .rows > .row.st-row .row-n > .st-live { grid-column: 1 / -1; margin: 0; }
  .rows > .row.st-row .row-n > span.wrap { grid-column: 1 / -1; }
  .rows > .row.st-row > .st-live { grid-column: 1 / -1; margin-left: 0; justify-content: flex-start; }
}
.ov-page { min-width: 0; }
.page-h .ov-say, .roomy .page-h .ov-say { max-width: none; margin: var(--s4) 0 0; color: var(--text); font: 600 var(--t-title)/var(--lh-head) var(--display); }
.ov-say { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3) var(--s4); margin: var(--s3) 0 0; font: 600 var(--t-title)/var(--lh-head) var(--display); letter-spacing: var(--ls-snug); }
.ov-say .dot.lg { width: 14px; height: 14px; flex: none; }
.ov-say.warn .ov-say-t { color: var(--warn-text); } .ov-say.fail .ov-say-t { color: var(--fail-text); }
.ov-say-t { flex: 1 1 260px; min-width: 0; }
.ov-say-a { flex: none; }
.ov-places { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: var(--s4); margin: var(--s8) 0 0; }
.ov-place { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s3); min-height: 148px; padding: var(--s6) var(--s6) var(--s5); border: 0;
  border-radius: var(--r-group); background: var(--group); color: var(--text); text-align: left; cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease); }
.ov-place:hover { background: var(--group-hi); }
.ov-place:active { transform: scale(.985); }
.ov-place:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ov-place-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-text); }
.ov-place-ic .ic { width: 24px; height: 24px; }
.ov-place-n { margin-top: auto; font: 700 var(--t-title)/var(--lh-head) var(--display); letter-spacing: var(--ls-snug); }
.ov-place-w { display: flex; align-items: flex-start; gap: var(--s2); min-height: 2.8em; color: var(--text-2); font-size: var(--t-body); line-height: var(--lh-text); }
.ov-place-w .dot { margin-top: .5em; }
.ov-place-w.warn { color: var(--warn-text); } .ov-place-w.fail { color: var(--fail-text); }
.spark { display: flex; flex-direction: column; gap: var(--s1); width: 100%; max-width: 240px; }
.spark-g { display: block; width: 100%; height: 28px; overflow: visible; }
.spark-g path { fill: none; stroke-width: 2px; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark-g .spark-base { stroke: var(--sep); stroke-width: 1px; }
.spark-g .spark-rx { stroke: var(--accent); }
.spark-g .spark-tx { stroke: var(--text-3); stroke-dasharray: 3 3; }
.spark-k { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s0) var(--s2); color: var(--text-2); font-size: var(--t-cap); line-height: var(--lh-head); font-variant-numeric: tabular-nums; }
.spark-k i { display: inline-block; width: 12px; height: 2px; border-radius: 1px; }
.spark-k i.spark-rx { background: var(--accent); }
.row-n span.row-spark { margin-top: var(--s2); overflow: visible; white-space: normal; }
button.row.vpn-dev .row-n > span.wrap { white-space: normal; }
button.row.vpn-dev .row-n span.row-spark { display: block; }
.vd-state { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s2); margin: 0 0 var(--s3); color: var(--text-2); }
#vd-spark:not(:empty) { margin: 0 0 var(--s4); }
#vd-spark .spark { max-width: none; }
.vchart { margin: 0; }
.vchart-g { display: block; width: 100%; height: auto; overflow: visible; }
.vchart-g path { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.vchart-g .vchart-grid { stroke: var(--sep); stroke-width: 1px; }
.vchart-g path.vchart-rx { stroke: var(--accent); stroke-width: 1.75px; }
.vchart-g path.vchart-tx { stroke: var(--text-3); stroke-width: 1.5px; stroke-dasharray: 3 3; }
.vchart-g circle.vchart-rx { fill: var(--accent); }
.vchart-g circle.vchart-tx { fill: var(--text-3); }
.vchart-g text { fill: var(--text-3); font-size: var(--t-cap2); font-variant-numeric: tabular-nums; }
.vchart-g .vchart-y { text-anchor: end; }
.vchart-g .vchart-hit { fill: transparent; cursor: crosshair; }
.vchart-g .vchart-hit:hover, .vchart-g .vchart-hit.on { fill: color-mix(in srgb, var(--accent) 10%, transparent); }
.vchart-k { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s4); margin-top: var(--s2); color: var(--text-2); font-size: var(--t-cap); line-height: var(--lh-head); font-variant-numeric: tabular-nums; }
.vchart-k span { display: inline-flex; align-items: center; gap: var(--s2); }
.vchart-k i { display: inline-block; width: 14px; height: 2px; border-radius: 1px; }
.vchart-k i.vchart-rx { background: var(--accent); }
.vchart-k i.vchart-tx { background: repeating-linear-gradient(90deg, var(--text-3) 0 3px, transparent 3px 6px); }
.vchart-k .vchart-read { margin-left: auto; color: var(--text-3); }
.vchart-none { display: flex; align-items: center; justify-content: center; min-height: 96px; border: 1px dashed var(--sep); border-radius: var(--r-group); color: var(--text-3); }
.vchart-none p { margin: 0; }
.vd-more { margin: 0 0 var(--s4); }
.vd-more > .group { margin-top: var(--s1); }
.va-back { margin: 0 0 var(--s3); min-height: 44px; min-width: 44px; }
.roomy .seg button { min-height: 44px; }
.roomy .disc.how > summary, .roomy .nav-pick select { min-height: 44px; }
.app-foot .link { min-width: 44px; }
.va-sec { margin: 0 0 var(--s2); outline: none; }
#vpn-add-sheet .card { margin: 0; }
.spark-k i.spark-tx { margin-left: var(--s1); background: repeating-linear-gradient(90deg, var(--text-3) 0 3px, transparent 3px 6px); }
.ov-next { margin: var(--s6) 0 0; padding: var(--s5) var(--s6); border-radius: var(--r-group); background: var(--group); box-shadow: inset 4px 0 0 var(--accent); }
.ov-next-k { margin: 0 0 var(--s2); color: var(--text-2); font-size: var(--t-foot); font-weight: 600; letter-spacing: var(--ls-caps); text-transform: uppercase; }
.ov-next-r { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3) var(--s4); }
.ov-next-t { flex: 1 1 240px; margin: 0; font-size: var(--t-head); font-weight: 600; }
.ov-next-a { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.ov-homes { margin-top: var(--s6); }
.ov-sticks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--s3); margin: var(--s6) 0 0; }
.ov-stick { display: flex; flex-direction: column; align-items: stretch; gap: var(--s2); min-height: 44px; padding: var(--s4) var(--s5); border: 0; border-radius: var(--r-group);
  background: var(--group); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background var(--dur); }
.ov-stick:hover { background: var(--group-hi); }
.ov-stick:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ov-stick-h { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s3); }
.ov-stick-h b { flex: 1 1 auto; min-width: 0; font: 700 var(--t-head)/var(--lh-head) var(--display); overflow-wrap: anywhere; }
.ov-stick-l { color: var(--text-2); font-size: var(--t-call); overflow-wrap: anywhere; }
.ov-sticks-all { justify-self: start; }
.card.ov-started { margin-top: var(--s6); }
.ov-started details.row-disc > summary { color: var(--text); }
.ov-started .todo { box-shadow: inset 0 1px var(--sep); }
.ov-linked .banner { margin: var(--s6) 0 0; }
.ov-linked.tx .banner { margin: 0 0 var(--s4); }
.in-sub > .card > .card-h.sub-same { display: none; }
.st-updates { margin: 0 0 var(--s6); }
.ov-switch { display: none; }
.ov-switch-r select, .ov-switch select { flex: 1 1 auto; min-width: 0; max-width: 100%; min-height: 44px; padding: 0 var(--s3); border: 0; border-radius: var(--r-ctl); background: var(--fill); color: inherit; font: inherit; }
.ov-switch-r { flex-wrap: nowrap; }
.ov-switch-r .row-n { flex: 0 0 auto; }
.ov-switch-r label b { font-weight: 500; }
@media (max-width: 860px) {
  .ov-switch { display: flex; align-items: center; gap: var(--s3); margin: var(--s4) 0 0; }
  .ov-switch label { flex: none; color: var(--text-2); font-size: var(--t-call); }
}
.act-row > .dot { display: none; }
.act-row { min-height: var(--row-h-sm); flex-wrap: wrap; row-gap: var(--s0); }
.row.act-row { align-items: flex-start; }
.row.act-row > .row-n, .roomy .row.act-row > .row-n { flex: 1 1 0; min-width: 0; }
.row.act-row > .row-n b { white-space: normal; }
.row.act-row > .row-v { flex: none; color: var(--text-2); font-size: var(--t-call); }
.row.act-row > .row-acts, .roomy .row.has-acts.act-row .row-acts { flex: 1 1 100%; justify-content: flex-start; padding-left: 0; }
.ov-sticks + .ov-places { margin-top: var(--s6); }
.ov-homes + .ov-places { margin-top: var(--s6); }
@media (max-width: 560px) {
  .ov-say-a, .ov-say-a .btn { flex: 1 1 100%; width: 100%; }
  .ov-places { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3); margin-top: var(--s6); }
  .ov-place:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .ov-place { min-height: 128px; padding: var(--s5); }
  .ov-next-a, .ov-next-a .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .ov-place, .ov-stick { transition: none; } .ov-place:active { transform: none; } }
.ov-hero .kicker { margin: 0 0 var(--s3); justify-content: flex-start; color: var(--text-2); }
.ov-hero .state .row-acts { margin-left: auto; flex: none; }
.ov-hero.compact .state-t { font-size: var(--t-title); }
.ov-hero + .ov-hero, .ov-hero + .card, .card + .ov-hero { margin-top: var(--s6); }
@media (max-width: 560px) { .ov-hero .state { flex-wrap: wrap; } .ov-hero .state .row-acts { margin-left: 0; flex: 1 1 100%; } }
.state { display: flex; align-items: center; gap: var(--s5); }
.orb { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; flex: none; background: var(--fill); }
.orb .dot.lg { width: 16px; height: 16px; }
.orb:has(.dot.ok) { background: var(--ok-tint); }
.orb:has(.dot.warn) { background: var(--warn-tint); }
.orb:has(.dot.fail) { background: var(--fail-tint); }
.orb:has(.dot.ok)::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 var(--ok-tint); animation: breathe 3.2s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgb(48 209 88 / .22); } 50% { box-shadow: 0 0 0 10px rgb(48 209 88 / 0); } }
.state-w { min-width: 0; }
.state-t { font: 700 var(--t-hero)/var(--lh-tight) var(--display); letter-spacing: var(--ls-tight); }
.state-t.warn { color: var(--warn-text); } .state-t.fail { color: var(--fail-text); } .state-t.off { color: var(--text-2); }
.state-s { color: var(--text-2); font-size: var(--t-head); margin-top: var(--s1); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: var(--s8) calc(-1 * var(--s8)) 0; box-shadow: inset 0 1px var(--sep); }
.stats:empty { display: none; }
.stat { display: flex; flex-direction: column; gap: var(--s1); padding: var(--s5) var(--s6) var(--s6) var(--s8); min-width: 0; border: 0; background: transparent; color: var(--text);
  text-align: left; cursor: pointer; transition: background var(--dur); }
.stat + .stat { box-shadow: inset 1px 0 var(--sep); padding-left: var(--s6); }
.stat:hover { background: var(--fill); }
.stat span { order: -1; color: var(--text-3); font-size: var(--t-foot); font-weight: 500; }
.stat b { display: flex; align-items: center; gap: var(--s2); font: 600 var(--t-head)/var(--lh-head) var(--display); letter-spacing: var(--ls-snug); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--off); flex: none; }
.stat.ok b::before { background: var(--ok); } .stat.warn b::before { background: var(--warn); } .stat.fail b::before { background: var(--fail); }
.stat.fail b { color: var(--fail-text); }
.view.app > .hero + .card { margin-top: var(--s12); }
.home-grid { margin-top: var(--s12) !important; }
.todo { list-style: none; margin: 0; padding: 0; }
.todo-i { position: relative; display: flex; align-items: center; gap: var(--s4); min-height: var(--row-h-lg); padding: var(--s3) var(--s4); --lead: 38px; }
.todo-c { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px var(--input-line); color: #fff; }
.todo-c .ic { width: 14px; height: 14px; stroke-width: 2.6; }
.todo-i.done .todo-c { background: var(--ok); box-shadow: none; }
.todo-n { flex: 1; min-width: 0; }
.todo-n b { display: block; font-weight: 500; font-size: var(--t-head); letter-spacing: var(--ls-snug); }
.todo-n span { display: block; color: var(--text-2); font-size: var(--t-call); }
.todo-i.done .todo-n b { color: var(--text-2); }
.todo-i.done .todo-n span { color: var(--text-3); }
.todo-i .btn, .todo-i .pill { flex: none; }
.todo-x { flex: none; width: 44px; min-height: 44px !important; height: 44px; padding: 0 !important; border-radius: 50% !important; font-size: var(--t-head); line-height: 1; color: var(--text-3) !important; opacity: .7; }
.todo-x:hover, .todo-x:focus-visible { opacity: 1; background: var(--fill) !important; }
@media (hover: hover) { .todo-i:not(:hover):not(:focus-within) .todo-x { opacity: 0; } }
.todo-more { margin: var(--s2) 0 0; padding: 0 var(--s2); }
.todo-later { margin: var(--s4) 0 0; }
.todo-sub { margin: 0 0 var(--s2); padding: 0 var(--s2); font-size: var(--t-foot); font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.todo-soon { margin: var(--s3) 0 0; padding: 0 var(--s2); font-size: var(--t-sub); color: var(--text-3); }
#todo-card .end { display: flex; gap: var(--s2); align-items: center; }

.messenger .convs-head { padding: var(--s4) var(--s4) var(--s3); flex-wrap: wrap; row-gap: var(--s2); }
.messenger .convs-head .seg { flex: 1; }
.messenger .convs-head .tx-auto-go { flex: none; margin-left: auto; padding: 0 var(--s3); }
.messenger #new-conv .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.messenger .conv-search { margin: 0 var(--s4) var(--s3); }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s2); padding: var(--s0) var(--s4) var(--s2); }
.chips[hidden] { display: none; }
.chips .chip { flex: none; display: inline-flex; align-items: center; gap: var(--s2); min-height: 36px; padding: 0 var(--s3); border: 0; border-radius: var(--r-cap);
  background: var(--fill); color: var(--text); font: inherit; font-size: var(--t-call); font-weight: 500; white-space: nowrap; cursor: pointer; transition: background var(--dur); }
.chips .chip:hover { background: var(--fill-hi); }
.chips .chip[aria-checked="true"] { background: var(--accent-fill); color: #fff; font-weight: 600; }
.chips .chip-n { min-width: 20px; padding: 0 var(--s2); border-radius: var(--r-cap); background: rgb(0 0 0 / .08); font-size: var(--t-foot); font-weight: 600; text-align: center; }
.chips .chip[aria-checked="true"] .chip-n { background: rgb(255 255 255 / .22); }
.seal-note { position: relative; font-size: var(--t-foot); color: var(--text-3); }
.view:has(#texts-on-view[hidden]) .seal-note { display: none; }
.seal-badge { display: inline-flex; align-items: center; gap: var(--s2); max-width: min(320px, 70vw); min-height: var(--ctl-h-sm); padding: 0 var(--s3); border: 0; border-radius: var(--r-cap);
  background: var(--fill); color: var(--text-2); font-size: var(--t-foot); font-weight: 600; cursor: pointer; transition: background var(--dur); }
.seal-badge span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seal-badge:hover { background: var(--fill-hi); }
.seal-note.ok .seal-badge { background: var(--ok-tint); color: var(--ok-text); }
.seal-note.bad .seal-badge { background: var(--fail-tint); color: var(--fail-text); }
.switch { position: relative; display: inline-flex; align-items: center; gap: var(--s2); min-height: var(--ctl-h-sm); padding: 0 var(--s1); cursor: pointer; user-select: none;
  color: var(--text-2); font-size: var(--t-foot); font-weight: 600; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.switch .sw-track { position: relative; flex: none; width: 36px; height: 22px; border-radius: var(--r-cap); background: var(--fill-hi); transition: background var(--dur) var(--ease); }
.switch .sw-track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgb(0 0 0 / .35); transition: transform var(--dur) var(--ease); }
.switch input:checked + .sw-track { background: var(--ok); }
.switch input:checked + .sw-track::after { transform: translateX(14px); }
.switch input:focus-visible + .sw-track { outline: 2px solid var(--accent); outline-offset: 2px; }
.switch:hover .sw-track { filter: brightness(1.08); }
.switch .sw-lbl { display: inline-flex; align-items: center; gap: var(--s1); }
.switch input:checked ~ .sw-lbl { color: var(--text); }
.view:has(#texts-on-view[hidden]) .switch { display: none; }
.seal-pop { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: min(340px, calc(100vw - 32px)); padding: var(--s4) var(--s4); border-radius: 14px;
  background: var(--raised); box-shadow: var(--shadow), 0 0 0 .5px var(--sep); color: var(--text-2); font-size: var(--t-foot); line-height: var(--lh-text); animation: pop .18s var(--ease) both; }
.seal-pop p { margin: 0 0 var(--s2); } .seal-pop p:last-child { margin: 0; }
.seal-code { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); padding: var(--s3) var(--s3); border-radius: 10px; background: var(--fill); }
.seal-code span { color: var(--text-3); font-size: var(--t-foot); }
.seal-code b { font-family: var(--mono); font-size: var(--t-head); letter-spacing: var(--ls-code); color: var(--text); }
.conv-list { list-style: none; margin: 0; padding: 0 var(--s2) var(--s2); overflow-y: auto; flex: 1; scrollbar-width: thin; }
.conv-list li { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: var(--s3); row-gap: 1px; align-items: center;
  min-height: var(--row-h-lg); padding: var(--s3) var(--s3); border-radius: 14px; cursor: pointer; transition: background var(--dur); }
.conv-list li .avatar { grid-row: 1 / span 2; width: 44px; height: 44px; font-size: var(--t-call); }
.conv-list li:hover { background: var(--fill); }
.conv-list li[aria-current="true"] { background: var(--fill-hi); }
.conv-list b { font-weight: 600; font-size: var(--t-head); letter-spacing: var(--ls-snug); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-list time { font-size: var(--t-foot); color: var(--text-3); }
.conv-list p { grid-column: 2 / -1; margin: 0; padding-right: var(--s5); font-size: var(--t-call); color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-list li.unread b { font-weight: 700; } .conv-list li.unread p { color: var(--text); } .conv-list li.unread time { color: var(--accent-text); font-weight: 600; }
.dot-unread { position: absolute; right: 14px; bottom: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.conv-list .empty-li { display: flex; flex-direction: column; align-items: center; gap: var(--s3); min-height: 0; margin: var(--s10) auto 0; max-width: 30ch; padding: 0 var(--s3);
  cursor: default; color: var(--text-2); font-size: var(--t-sub); line-height: var(--lh-text); text-align: center; }
.conv-list .empty-li:hover { background: none; }
.conv-list .empty-li:not(.busy)::before { content: ""; width: 56px; height: 56px; border-radius: 50%; background: var(--fill) var(--ic-chat) center / 26px no-repeat; }
.conv-list .empty-li .link { margin-top: var(--s1); }
.ct-list .empty-li:not(.busy)::before { background-image: var(--ic-person); }
.conv-list .empty-li.busy::before { content: ""; display: block; width: 20px; height: 20px; margin: 0 auto var(--s3); border-radius: 50%;
  border: 2px solid var(--fill-hi); border-top-color: var(--text-2); animation: spin .9s linear infinite; }
.thread-head { display: flex; align-items: center; gap: var(--s2); padding: var(--s3) var(--s3) var(--s3) var(--s4); min-height: var(--row-h-lg); box-shadow: inset 0 -1px var(--sep); }
.thread-head .back { display: none; }
.thread-who { display: flex; align-items: center; gap: var(--s3); min-width: 0; margin-right: auto; }
.thread-who .avatar { width: 36px; height: 36px; font-size: var(--t-foot); }
.thread-who[hidden] + .iconbtn { margin-left: auto; }
.thread-title { font-weight: 600; font-size: var(--t-head); line-height: var(--lh-head); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread-title small { display: block; font-weight: 400; font-size: var(--t-foot); color: var(--text-3); }
.thread-head .to { flex: 1; min-height: 40px; border: 0; border-radius: var(--r-cap); background: var(--fill); padding: 0 var(--s4); }
.thread-head .to:focus { box-shadow: 0 0 0 3px var(--accent-tint); }
.bubbles { list-style: none; margin: 0; padding: var(--s2) var(--s6) var(--s4); overflow-y: auto; flex: 1; display: flex; flex-direction: column; gap: var(--s0); scrollbar-width: thin; }
.bubbles li { display: flex; flex-direction: column; max-width: min(72%, 520px); margin-top: var(--s3); }
.bubbles li.cont { margin-top: 0; }
.bubbles li.in { align-self: flex-start; align-items: flex-start; }
.bubbles li.out { align-self: flex-end; align-items: flex-end; }
.bub { padding: var(--s2) var(--s4); border-radius: 20px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--t-body); line-height: var(--lh-text); }
.in .bub { background: var(--fill-hi); }
.out .bub { background: var(--accent-fill); color: #fff; }
.bubbles li.out + li.in, .bubbles li.in + li.out { margin-top: var(--s4); }
.in.more .bub { border-bottom-left-radius: 6px; } .in.cont .bub { border-top-left-radius: 6px; }
.out.more .bub { border-bottom-right-radius: 6px; } .out.cont .bub { border-top-right-radius: 6px; }
.bubbles li.pending .bub { opacity: .6; }
.bubbles li.failed .bub { background: var(--fail-tint); color: var(--fail-text); }
.bubbles li time, .bubbles .dlv { font-size: var(--t-cap); color: var(--text-3); margin: var(--s1) var(--s2) 0; }
.bubbles .dlv.bad { color: var(--fail-text); }
.bubbles .masked { letter-spacing: var(--ls-code); opacity: .7; }
.bubbles .code { font-family: var(--mono); font-size: 1.05em; letter-spacing: var(--ls-caps); background: rgb(255 255 255 / .16); padding: 1px var(--s2); border-radius: 6px; }
.in .code { background: var(--accent-tint); color: var(--accent-text); }
.bubbles .reveal { display: block; margin-top: var(--s1); border: 0; background: none; padding: 0; color: inherit; text-decoration: underline; font-size: var(--t-sub); font-weight: 600; cursor: pointer; }
.in .reveal { color: var(--accent-text); text-decoration: none; }
.bubbles .hint { display: block; margin-top: var(--s1); }
.bubbles li.day { align-self: center; max-width: none; align-items: center; margin: var(--s5) 0 var(--s2); }
.bubbles li.day span { padding: var(--s1) var(--s3); border-radius: var(--r-cap); background: var(--fill); font-size: var(--t-cap); font-weight: 600; color: var(--text-2); letter-spacing: 0; }
.bubbles li.empty, .bubbles .empty-li { align-self: center; margin: auto; max-width: 40ch; background: none; color: var(--text-3); text-align: center; }
.bubbles .empty-li .empty-state { padding: var(--s6); }
.composer { display: flex; gap: var(--s3); align-items: flex-end; padding: var(--s3) var(--s4) var(--s4); margin: 0; box-shadow: inset 0 1px var(--sep); }
.composer textarea { flex: 1; resize: none; max-height: 140px; min-height: 40px; border: 0; border-radius: 20px; padding: var(--s2) var(--s4); background: var(--fill); line-height: var(--lh-text); }
.composer textarea:focus { border: 0; box-shadow: 0 0 0 3px var(--accent-tint); }
.composer .btn.round { width: 40px; height: 40px; min-height: 40px; }
.seg.two { grid-template-columns: 1fr 1fr; }
.contacts { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.contacts-acts { padding: 0 var(--s4) var(--s2); }
.ct-note { margin: 0 var(--s4) var(--s2); }
.ct-note:empty { display: none; }
.conv-list li.sect { display: block; min-height: 0; cursor: default; padding: var(--s3) var(--s3) var(--s1); font-size: var(--t-cap); font-weight: 700; color: var(--text-3); letter-spacing: var(--ls-caps); background: none; }
.blocked-link { margin: 0 var(--s4) var(--s3); align-self: flex-start; }
button.thread-who { border: 0; background: none; padding: var(--s1) var(--s2) var(--s1) var(--s1); border-radius: 12px; color: inherit; cursor: pointer; text-align: left; }
button.thread-who:hover { background: var(--fill); }
.ct-top { display: flex; align-items: center; gap: var(--s4); margin-bottom: var(--s4); }
.ct-top .avatar:empty { display: grid; background: var(--fill-hi); }
#ct-sheet .field { margin-bottom: var(--s3); }
#ct-sheet textarea { width: 100%; resize: vertical; }
.ct-b { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: var(--s2); margin-top: var(--s4); }
.ct-b #ct-del { margin-right: auto; color: var(--fail-text); }
.ct-seal { display: flex; gap: var(--s2); align-items: flex-start; margin: var(--s4) 0 0 !important; }
.ct-seal .ic { flex: none; margin-top: var(--s0); color: var(--ok); }
.msg-count { align-self: center; flex: none; font-size: var(--t-cap); color: var(--text-3); white-space: nowrap; }
.msg-count:empty { display: none; }
.msg-count.over { color: var(--warn-text); font-weight: 600; }
.msg-over { padding: 0 var(--s4) var(--s3); }
.view:has(#texts-on-view[hidden]) .tx-set-b { display: none; }
.view:has(#texts-on-view[hidden]) .tx-new { display: none; }
.view.wide > .page-h.has-acts .page-acts #new-conv .lbl { display: inline; }
#new-conv .ic { width: 18px; height: 18px; }
.view.wide > .page-h.has-acts .page-acts { flex-wrap: nowrap; }
@media (max-width: 1180px) { .view.wide > .page-h.has-acts .page-acts .btn .lbl { display: none; } }
.messenger .catch-up { margin: 0 var(--s4) var(--s3); padding: var(--s2) var(--s3); font-size: var(--t-foot); }
.messenger .catch-up[hidden] { display: none; }
.conv-list .empty-li.busy { margin: var(--s3) auto var(--s2); }
.conv-list .empty-li.busy::before { display: none; }
.conv-list li.ghost { cursor: default; pointer-events: none; }
.conv-list li.ghost::before { content: ""; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; background: var(--fill); }
.conv-list li.ghost::after { content: ""; grid-column: 2 / -1; grid-row: 1 / span 2; height: 38px;
  background: linear-gradient(var(--fill), var(--fill)) 0 4px / 46% 12px no-repeat, linear-gradient(var(--fill), var(--fill)) 0 26px / 78% 10px no-repeat;
  animation: ghost 1.6s ease-in-out infinite; }
.conv-list li.fold b { font-weight: 600; }
.conv-list li.fold time { min-width: 22px; padding: 1px var(--s2); border-radius: var(--r-cap); background: var(--fill); color: var(--text-2); text-align: center; font-weight: 600; }
.conv-list .draft { font-style: normal; font-weight: 600; color: var(--fail-text); }
.conv-list li.sw-li { display: block; padding: 0; overflow: hidden; touch-action: pan-y; --sw-w: 176px; }
.conv-list li.sw-li > .sw { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: var(--s3); row-gap: 1px; align-items: center;
  min-height: var(--row-h-lg); padding: var(--s3) var(--s3); transition: transform var(--dur); }
.conv-list li.sw-li.sw-drag { -webkit-user-select: none; user-select: none; }
.conv-list li.sw-li.sw-drag > .sw, .conv-list li.sw-li.sw-drag > .sw-acts { transition: none; }
.conv-list li.sw-li.sw-open > .sw { transform: translateX(calc(-1 * var(--sw-w))); }
.sw-acts { position: absolute; top: 0; right: 0; bottom: 0; display: flex; width: 0; overflow: hidden; transition: width var(--dur); }
.conv-list li.sw-li.sw-open > .sw-acts { width: var(--sw-w); }
.sw-act { flex: 1 1 50%; min-width: 0; display: grid; place-items: center; align-content: center; gap: var(--s0); border: 0; padding: 0 var(--s2); color: #fff;
  font-size: var(--t-foot); font-weight: 600; letter-spacing: var(--ls-snug); white-space: nowrap; overflow: hidden; cursor: pointer; transition: flex-basis var(--dur); }
.sw-act .ic { width: 22px; height: 22px; }
.sw-act.arch { background: var(--accent-fill); }
.sw-act.del { background: var(--fail-fill); }
.sw-acts.full .sw-act.arch { flex-basis: 100%; }
.sw-acts.full .sw-act.del { flex-basis: 0; padding: 0; }
.sw-more { position: absolute; right: var(--s2); top: var(--s2); width: 28px; height: 28px; min-width: 0; min-height: 0; opacity: 0; pointer-events: none; background: var(--group); color: var(--text-2); }
.conv-list li.sw-li:hover .sw-more, .conv-list li.sw-li .sw-more:focus-visible { opacity: 1; pointer-events: auto; }
.conv-list li.sw-li:hover time, .conv-list li.sw-li:has(.sw-more:focus-visible) time { opacity: 0; }
.conv-list li.sw-li > .sw > p { padding-right: var(--s10); }
.conv-list .fold-ic { background: var(--fill); color: var(--text-2); }
.conv-list .fold-ic .ic { width: 22px; height: 22px; }
.bubbles .fold-n { text-decoration: none; text-align: left; font-weight: 500; color: var(--text-2); }
.bubbles .fold-n:hover { text-decoration: underline; }
.toast-a { flex: none; margin-left: auto; }
.bub .tx-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.in .bub .tx-link { color: var(--accent-text); }
.bub .tx-num { display: inline; min-height: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline dotted; text-underline-offset: 3px; cursor: pointer; }
.in .bub .tx-num { color: var(--accent-text); }
.bubbles .reveal + .reveal { margin-top: var(--s0); }
.ticks { display: inline-flex; margin-left: var(--s1); color: var(--text-3); vertical-align: -1px; }
.ticks:has(.two) { color: var(--accent-text); }
.tick { width: 14px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tick.two { width: 18px; }
.bubbles li.out time { display: inline-flex; align-items: center; }
.bubbles li.day.time { margin: var(--s3) 0 var(--s1); }
.bubbles li.day.time span { background: none; font-weight: 500; color: var(--text-3); }
.composer { position: relative; }
.composer .quick-b { flex: none; align-self: flex-end; }
.quick-pop { position: absolute; z-index: 20; left: 12px; bottom: calc(100% - 6px); display: flex; flex-direction: column; min-width: 240px; max-width: calc(100% - 24px);
  max-height: min(360px, 60vh); overflow-y: auto; padding: var(--s2); border-radius: 14px; background: var(--raised); box-shadow: var(--shadow), 0 0 0 .5px var(--sep); animation: pop .18s var(--ease) both; }
.quick-pop[hidden] { display: none; }
.quick-i { min-height: 44px; padding: var(--s3) var(--s3); border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; font-size: var(--t-call); text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.quick-i:hover, .quick-i:focus-visible { background: var(--fill); }
.quick-i.edit { margin-top: var(--s1); border-top: 1px solid var(--sep); border-radius: 0 0 10px 10px; color: var(--accent-text); font-weight: 600; }
.emoji-pop:not([hidden]) { display: grid; grid-template-columns: repeat(8, 40px); gap: var(--s0); min-width: 0; }
.emo { width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: none; font-size: var(--t-title); line-height: 1; cursor: pointer; }
.emo:hover, .emo:focus-visible { background: var(--fill); }
.emo-h { grid-column: 1 / -1; margin: var(--s1) var(--s2) var(--s0); font-size: var(--t-cap); font-weight: 600; color: var(--text-2); }
@media (pointer: coarse) { .composer .emoji-b { width: 32px; height: 32px; margin-bottom: var(--s1); } }
.cv-num { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s3); margin: 0 0 var(--s4); padding: var(--s4) var(--s4); border-radius: var(--r-group); background: var(--fill); }
.cv-num-v { flex: 1 1 auto; min-width: 0; font-size: var(--t-large); font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; color: var(--text); }
.cv-acts { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0 0 var(--s5); }
.cv-acts .btn[hidden] { display: none; }
.cv-log .card-h { padding: 0 var(--s1) var(--s2); }
.dns-all { max-height: min(420px, 55vh); overflow-y: auto; overscroll-behavior: contain; }
.cv-log .group { max-height: min(320px, 45vh); overflow-y: auto; }
#cv-sheet .page-t p { margin: var(--s0) 0 0; }
.ar-steps { margin: var(--s4) 0 var(--s3); }
.ar-steps[hidden] { display: none; }
#tx-set-sheet .group { margin: var(--s4) 0; }
#tx-set-sheet .row .switch { flex: none; }
.txs-q { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); margin: calc(-1 * var(--s1)) 0 var(--s4); }
.txs-q[hidden] { display: none; }
#tx-set-sheet .page-foot { margin: var(--s6) 0 var(--s4); padding: 0; }
#tx-set-sheet .rows > .row:not(.has-acts) { flex-wrap: nowrap; }
#tx-set-sheet .rows > .row:not(.has-acts) > .row-n { flex: 1 1 auto; }
#tx-set-sheet .rows > .row:not(.has-acts) > .btn { margin-left: 0; }
#txs-v-kept .rows > .row[hidden]:first-child + .row::before { display: none; }
.txs-nav { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.txs-nav #txs-quick-edit { padding: 0 0 0 var(--s3); }
dialog.ask .rows.order > .row.ord { background: var(--sheet-group); }
#txs-quick-list .grip { display: grid; margin-right: calc(-1 * var(--s2)); }
#txs-quick-list .qr-t { display: block; align-self: stretch; min-height: 32px; padding: 0; border: 0; border-radius: var(--s1); background: none; color: inherit; font: inherit; text-align: left; cursor: text; }
#txs-quick-list .qr-t:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
#txs-quick-list .qr-rm { flex: none; display: grid; place-items: center; width: 32px; height: 40px; margin: 0 calc(-1 * var(--s1)); padding: 0; border: 0; background: none; color: var(--fail-fill); cursor: pointer; }
#txs-quick-list .qr-rm .ic { width: 22px; height: 22px; }
#txs-quick-list .qr-add b, #txs-quick-list .qr-add .row-ic, #txs-quick-add-ed .row-ic { color: var(--accent-text); }
#txs-quick-list .row-n { text-align: left; }
#txs-quick-list input { width: 100%; }
#txs-phones .btn.danger { background: transparent; padding: 0 var(--s2); }
#txs-phones .btn.danger:hover { background: var(--fail-tint); }
@media (max-width: 560px) { .cv-num-v { font-size: var(--t-title); } .quick-pop { left: 8px; right: 8px; min-width: 0; max-width: none; }
  .emoji-pop:not([hidden]) { grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); } }
#sms-pair-sheet .steps { margin: var(--s4) 0; }
#sms-pair-sheet .qr { margin: var(--s2) 0 var(--s4); }
#sms-pair-sheet .qr img { margin: 0 auto; }
#vpn-share-sheet .qr { margin: var(--s2) 0 var(--s4); }
#vpn-share-sheet .qr img { margin: 0 auto; }
#jq-sheet .qr { margin: var(--s2) 0 var(--s4); }
#jq-sheet .qr img { margin: 0 auto; max-width: 100%; height: auto; }
#jq-sheet .mono { overflow-wrap: anywhere; }

.done-head { display: flex; align-items: center; gap: var(--s3); }
.done-head h3 { font-size: var(--t-title); font-weight: 700; letter-spacing: var(--ls-tight); }
.done-head h3:focus { outline: none; }
.profile-body { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--s6); align-items: center; margin-top: var(--s6); padding-top: var(--s6); box-shadow: inset 0 1px var(--sep); }
.deliver { display: grid; gap: var(--s2); }
#profile .steps { margin-top: var(--s4); }
.qr { margin: 0; text-align: center; }
.qr img { display: block; border-radius: 14px; background: #fff; padding: var(--s3); }
.qr figcaption { font-size: var(--t-foot); color: var(--text-3); margin-top: var(--s2); }
#pair-show .qr { justify-self: start; margin-bottom: var(--s4); }
#pair-show .qr img { margin: 0; }
#pair-start .btn.primary { margin-top: var(--s2); }
#f-add .hint.center { display: flex; align-items: center; justify-content: center; gap: var(--s2); }
.app-qr { display: flex; gap: var(--s4); align-items: center; padding: 0 var(--s4) var(--s4) 62px; }
.app-qr img { border-radius: 12px; background: #fff; padding: var(--s2); }
.app-qr p { margin: 0; max-width: 30ch; font-size: var(--t-sub); }

details.row-disc .row-ic { background: var(--accent-tint); }
#claim-fold > summary { justify-content: flex-start; }
.rule { display: flex; gap: var(--s4); align-items: flex-start; margin: calc(-1 * var(--s4)) 0 var(--s10); padding: 0 var(--s1); }
.rule-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--ok-tint); color: var(--ok-text); }
.rule b { display: block; font-weight: 600; }
.rule p { margin: var(--s1) 0 0; color: var(--text-2); font-size: var(--t-sub); }
.row.upd { align-items: flex-start; }
.row.upd > .row-ic { margin-top: var(--s0); }
.row.upd .row-n > span + span { margin-top: var(--s0); }
.row.upd .row-v { padding-top: var(--s1); }
.whatsnew { margin-top: var(--s2); font-size: var(--t-sub); }
.whatsnew > summary { cursor: pointer; color: var(--accent-text); font-weight: 500; list-style: none; min-height: 28px; display: inline-flex; align-items: center; gap: var(--s2); }
.whatsnew > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translate(-2px, -1px); transition: transform var(--dur); }
.whatsnew[open] > summary::after { transform: rotate(-135deg) translate(-1px, -1px); }
.whatsnew p { margin: var(--s1) 0 0; color: var(--text-2); white-space: pre-line; overflow-wrap: anywhere; }
.row-n span.upd-line { white-space: normal; color: var(--text-2); }
.row-n span.upd-line.acc, .row-n span.upd-line.warn { color: var(--accent-text); }
.row-n span.upd-line.fail { color: var(--fail-text); }
.row-n span.card-line { white-space: normal; color: var(--text-2); }
.row-n span.card-line.acc, .row-n span.card-line.warn { color: var(--accent-text); }
.row-n span.upd-line .link { margin-left: var(--s1); }

.me-head { display: flex; align-items: center; gap: var(--s4); padding: var(--s5) var(--s4); }
.me-n { min-width: 0; display: grid; gap: var(--s1); justify-items: start; }
.dns-wrap { overflow-x: auto; margin: var(--s2) 0 var(--s3); border-radius: var(--r-ctl); background: var(--fill); }
.dns { width: 100%; border-collapse: collapse; font-size: var(--t-sub); }
.dns th { text-align: left; color: var(--text-3); font-size: var(--t-cap); font-weight: 600; padding: var(--s3) var(--s3); }
.dns td { padding: var(--s3) var(--s3); box-shadow: inset 0 1px var(--sep); vertical-align: middle; }
.dns td.mono { overflow-wrap: anywhere; word-break: break-all; }
.dns td:last-child { text-align: right; white-space: nowrap; }

.helps { overflow: hidden; }
details.faq + details.faq { box-shadow: inset 0 1px var(--sep); }
details.faq > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: var(--row-h); padding: var(--s3) var(--s4); transition: background var(--dur); }
details.faq > summary:hover { background: var(--fill); }
details.faq > summary h2 { font: 500 var(--t-head)/var(--lh-head) var(--sans); letter-spacing: var(--ls-snug); }
details.faq > summary::after { content: ""; flex: none; width: 8px; height: 8px; border-right: 1.7px solid var(--text-3); border-bottom: 1.7px solid var(--text-3); transform: rotate(45deg) translate(-2px, -2px); transition: transform var(--dur) var(--ease); }
details.faq[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
details.faq > .prose { padding: 0 var(--s4) var(--s4); max-width: 72ch; }
details.faq[open] > summary h2 { font-weight: 600; }

dialog.ask { width: min(420px, calc(100vw - 32px)); max-width: none; padding: var(--s6); border: 0; border-radius: 22px; color: var(--text); background: var(--raised); box-shadow: var(--shadow); }
dialog.ask[open] { animation: sheet .28s var(--ease) both; }
@keyframes sheet { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
dialog.ask::backdrop { background: var(--scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
dialog.ask h2 { font-size: var(--t-title); font-weight: 700; letter-spacing: var(--ls-tight); line-height: var(--lh-head); }
dialog.ask p { color: var(--text-2); margin: var(--s2) 0 var(--s6); }
dialog.ask.wide { width: min(560px, calc(100vw - 32px)); }
dialog.ask.wide.is-page { width: min(960px, calc(100vw - 32px)); }
.sp-frame > iframe { display: block; width: 100%; height: min(75vh, 860px); border: 0; border-radius: 14px; background: var(--group); }
dialog.ask .row-n b, dialog.ask .row-n > span, dialog.ask .page-foot > p, dialog.ask .st-state, dialog.ask .row-v,
dialog.ask button.row.go .row-n b, dialog.ask button.row.go .row-n > span { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: break-word; min-width: 0; }
dialog.ask > .sheet-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 44px; height: 44px; min-height: 44px; color: var(--text-2); }
dialog.ask > .sheet-x:hover { color: var(--text); }
dialog.ask:has(> .sheet-x) > :is(h2, .ct-top), dialog.ask:has(> .sheet-x) > form > :is(h2, .ct-top):first-child { padding-right: var(--s10); }
dialog.ask > .sheet-hint { position: absolute; top: 18px; right: 60px; margin: 0; padding: var(--s1) var(--s3); border-radius: var(--r-cap); background: var(--fill-hi); color: var(--text); font-size: var(--t-cap); font-weight: 600; }
dialog.ask > .sheet-hint[hidden] { display: none; }
.ask-b { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s2); }
.ask-b .btn { min-height: 48px; border-radius: var(--r-ctl); }
.ask-b.one { grid-template-columns: 1fr; }
dialog.ask .field { margin: 0 0 var(--s4); }
dialog.ask .err { margin: 0 0 var(--s4); }
dialog.ask .steps { margin: var(--s3) 0 var(--s4); }
dialog.ask .fp { overflow-wrap: anywhere; margin: 0 0 var(--s2); }
dialog.ask .sp-relay { margin: var(--s4) 0 var(--s1); padding-top: var(--s3); border-top: 1px solid var(--sep, rgb(127 127 127 / .25)); }
dialog.ask .sp-relay h3 { margin: 0 0 var(--s2); font-size: var(--t-call); }
dialog.ask .hint { margin: 0 0 var(--s4); }
dialog.ask .choices { margin: 0 0 var(--s4); }
.choice.off { cursor: default; color: var(--text-3); }
.choice.off:hover { background: transparent; }
dialog.ask.is-danger #ac-yes, dialog.ask.is-danger #ask-yes { background: var(--fail-fill); color: #fff; }
.toasts { position: fixed; z-index: 90; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; width: min(360px, calc(100vw - 32px));
  display: flex; flex-direction: column; align-items: flex-end; gap: var(--s2); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: var(--s3); max-width: 100%; padding: var(--s2) var(--s4) var(--s2) var(--s3); cursor: pointer;
  border: 1px solid var(--sep); border-radius: var(--r-ctl); background: var(--raised); color: var(--text); box-shadow: var(--shadow);
  font-size: var(--t-sub); font-weight: 500; line-height: var(--lh-text); animation: toast-in .14s var(--ease) both; }
.toast .dot { flex: none; }
.toast-t { min-width: 0; overflow-wrap: anywhere; }
.toast.out { animation: toast-out .14s ease both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateX(12px); } }
body:has(> .topbar:not([hidden])) .toasts { top: calc(var(--tb-h, 64px) + 12px); right: 24px; }
.topbar:has([aria-haspopup][aria-expanded="true"]) { z-index: 95; }
@media (max-width: 860px) {
  .toasts { left: 16px; right: 16px; width: auto; align-items: center; }
  body:has(> .topbar:not([hidden])) .toasts { top: calc(var(--tb-h, 60px) + 8px); right: 16px; }
}
.banner { display: flex; align-items: center; gap: var(--s4); margin: 0 0 var(--s10); padding: var(--s4) var(--s4); border-radius: var(--r-group); background: var(--warn-tint); color: var(--warn-text); }
.banner .ic { flex: none; }
.banner-t { flex: 1; min-width: 0; }
.banner-t b { display: block; color: var(--text); font-weight: 600; }
.banner-t span { display: block; font-size: var(--t-call); color: var(--text-2); }
body.is-auth .banner, body.is-wiz .banner { display: none; }
.banner + .banner { margin-top: calc(var(--s3) - var(--s10)); }
.paused-list { margin: 0 0 var(--s5); }
.paused-k { margin: var(--s4) 0 var(--s2); font-weight: 600; color: var(--text); }
.paused-list ul { margin: 0; padding-left: var(--s5); color: var(--text-2); }
.paused-list li { margin: var(--s1) 0; }

body.is-wiz main { max-width: 1080px; margin: 0 auto; padding: var(--s6) var(--s8) var(--s12); outline: none; }
.wz-top { display: flex; align-items: center; gap: var(--s4); }
.wz-top .rail-brand { padding: 0; }
.wz-count { flex: 1; margin: 0; text-align: center; color: var(--text-3); font-size: var(--t-foot); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wz-bar { height: 3px; margin: var(--s6) 0 var(--s12); border-radius: 2px; background: var(--fill); overflow: hidden; }
.wz-bar i { display: block; height: 100%; width: 10%; border-radius: 2px; background: var(--accent); transition: width 480ms var(--ease); }
.wz-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--s14); align-items: start; }
.wz-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s0); position: sticky; top: 24px; }
.wz-steps li { display: flex; align-items: center; gap: var(--s3); min-height: 36px; padding: 0 var(--s2); border-radius: 10px; color: var(--text-3); font-size: var(--t-sub); }
.wz-steps li.cur { color: var(--text); font-weight: 600; background: var(--fill); }
.wz-steps li.done { color: var(--text-2); }
.wz-n { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1.5px var(--fill-hi); font-size: var(--t-cap2); font-weight: 700; }
.wz-steps li.cur .wz-n { box-shadow: none; background: var(--accent-fill); color: #fff; }
.wz-steps li.done .wz-n { box-shadow: none; background: var(--ok); color: #fff; }
.wz-steps li.done .wz-n .ic { width: 12px; height: 12px; vertical-align: 0; stroke-width: 2.6; }
.wz-card { min-height: min(620px, calc(100vh - 180px)); display: flex; flex-direction: column; max-width: 680px; }
.wz-card > .kicker { justify-content: flex-start; }
.wz-card h1 { font-size: var(--t-hero); font-weight: 700; letter-spacing: var(--ls-tight); line-height: var(--lh-tight); }
.wz-card h1:focus { outline: none; }
.wz-card > .lede { max-width: 60ch; font-size: var(--t-head); margin-top: var(--s3); }
.wz-slot { display: grid; gap: var(--s6); margin-top: var(--s8); align-content: start; }
.wz-html > p { margin: 0; }
.wz-html > ul + p { margin-top: var(--s4); }
.wz-slot > .card { margin: 0 !important; }
.wz-slot > .form, .wz-slot > form { margin-top: 0; max-width: 560px; background: var(--group); border-radius: var(--r-group); padding: var(--s4); }
.wz-slot > .hero-empty { padding: var(--s10) var(--s6); }
.wz-live:empty, .wz-html:empty { display: none; }
.wz-live { background: var(--group); border-radius: var(--r-group); }
.wz-live > .hint { padding: var(--s3) var(--s4) var(--s4); box-shadow: inset 0 1px var(--sep); }
.wz-live > .empty + .hint { box-shadow: inset 0 1px var(--sep); }
.wz-status { display: flex; align-items: center; gap: var(--s3); margin-top: var(--s6); min-height: 48px; padding: var(--s3) var(--s4); border-radius: var(--r-ctl);
  background: var(--fill); color: var(--text-2); font-size: var(--t-sub); }
.wz-status:empty { display: none; }
.wz-status.ok { color: var(--ok-text); background: var(--ok-tint); }
.wz-wait { color: var(--text-3); }
.wz-nav { display: flex; align-items: center; gap: var(--s3); margin-top: auto; padding-top: var(--s10); }
.wz-nav #wz-next { margin-left: auto; min-width: 160px; min-height: 48px; font-size: var(--t-body); }
.wz-nav #wz-back { min-height: 48px; }
.wz-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s4); }
.wz-tiles li { display: grid; gap: var(--s1); align-content: start; padding: var(--s5); border-radius: var(--r-group); background: var(--group); }
.wz-tiles .ic { color: var(--accent-text); width: 26px; height: 26px; margin-bottom: var(--s2); }
.wz-tiles b { font-weight: 600; }
.wz-tiles span { color: var(--text-2); font-size: var(--t-sub); }
.wz-sum { list-style: none; margin: 0; padding: 0; background: var(--group); border-radius: var(--r-group); }
.wz-sum li { display: grid; grid-template-columns: 24px 140px minmax(0, 1fr); gap: var(--s4); align-items: center; min-height: var(--row-h); padding: var(--s3) var(--s4); }
.wz-sum li + li { box-shadow: inset 0 1px var(--sep); }
.wz-sum b { font-weight: 500; }
.wz-sum li > span:last-child { color: var(--text-2); font-size: var(--t-sub); }
.wz-sum li.done .todo-c { background: var(--ok); box-shadow: none; }

@media (max-width: 1100px) {
  body.is-app main { padding: var(--s12) var(--s8) calc(var(--s16) + var(--s8)); }
  .home-grid { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { box-shadow: inset 0 1px var(--sep); padding-left: var(--s8); }
  .stat:nth-child(4) { box-shadow: inset 1px 0 var(--sep), inset 0 1px var(--sep); }
}
@media (max-width: 960px) {
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .split.reading > .split-list { display: none; }
  .split:not(.reading) > .split-detail { display: none; }
  .split-list { box-shadow: none; }
  .split-detail .back { display: inline-grid; }
}

@media (max-width: 860px) {
  body.is-app { display: block; }
  body.is-app main { padding: var(--s2) var(--s4) calc(var(--s16) + env(safe-area-inset-bottom, 0px)); }
  .phonebar { display: flex; position: sticky; top: 0; z-index: 50; align-items: center; gap: var(--s3); height: 56px; padding: 0 var(--s2) 0 var(--s5);
    padding-top: env(safe-area-inset-top, 0px); box-sizing: content-box;
    background: var(--bar); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    transition: box-shadow var(--dur); }
  .phonebar.titled { box-shadow: inset 0 -1px var(--sep); }
  .phone-title { flex: 1; min-width: 0; text-align: center; font-weight: 600; font-size: var(--t-body); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    opacity: 0; transform: translateY(4px); transition: opacity var(--dur), transform var(--dur) var(--ease); }
  .phonebar.titled .phone-title { opacity: 1; transform: none; }
  .phonebar .mark { margin-right: var(--s8); }
  .rail { display: none; }
  .rail.is-open { display: flex; position: fixed; z-index: 70; inset: 0 auto 0 0; width: min(86vw, 340px); height: 100%;
    padding: calc(var(--s4) + env(safe-area-inset-top, 0px)) var(--s4) calc(var(--s6) + env(safe-area-inset-bottom, 0px));
    background: var(--bg); box-shadow: var(--shadow); animation: drawer .28s var(--ease) both; }
  .rail-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 65; background: var(--scrim); animation: fade .2s ease both; }
  .rail.is-open .rail-fold, .rail-grip { display: none; }
  .rail.is-open .rail-brand { padding: var(--s1) var(--s4) 0; }
  .rail.is-open .rail-home { margin: var(--s2) var(--s4) var(--s4); }
  .rail.is-open .nav { background: var(--group); border-radius: var(--r-group); gap: 0; padding: 0; }
  .rail.is-open .nav li + li .nav-i { box-shadow: inset 0 1px var(--sep); }
  .rail.is-open .nav li + li .nav-i { background-clip: padding-box; }
  .rail.is-open .nav-i { min-height: var(--row-h); padding: 0 var(--s4); font-size: var(--t-head); border-radius: 0; }
  .rail.is-open .nav li:first-child .nav-i { border-radius: var(--r-group) var(--r-group) 0 0; }
  .rail.is-open .nav li:last-child .nav-i { border-radius: 0 0 var(--r-group) var(--r-group); }
  .rail.is-open .nav-i[aria-current="page"] { background: var(--fill); }
  .rail.is-open .rail-who { margin-top: var(--s6); padding: var(--s3) var(--s4); background: var(--group); border-radius: var(--r-group); }
  .page-h { margin: var(--s3) 0 var(--s6); }
  .page-h h1 { font-size: var(--t-large); }
  .sec-h { margin-top: var(--s12); }
  .view.app > .card.sec { margin-top: var(--s12); }
  .split { margin: 0 calc(-1 * var(--s4)); border-radius: 0; box-shadow: inset 0 1px var(--sep); }
  .view.wide:has(> .split:not([hidden])) { height: calc(100dvh - 64px - env(safe-area-inset-top, 0px)); }
  body.is-app main:has(> .view.wide > .split:not([hidden])) { padding-bottom: 0; }
  .view.wide > .split { min-height: 320px; }
  .view:has(> .split.reading) { animation: none; }
  .split.reading { position: fixed; inset: 0; z-index: 60; margin: 0; height: 100dvh; min-height: 0; box-shadow: none;
    padding: env(safe-area-inset-top, 0px) 0 env(safe-area-inset-bottom, 0px); animation: slide-in .26s var(--ease) both; }
  .view.wide > .page-h { margin: var(--s2) 0 var(--s4); }
  .view.wide > .page-h .page-t p { display: none; }
  .view.wide > .page-h.has-acts { align-items: center; flex-wrap: nowrap; }
  .page-acts .btn .lbl, .page-acts .switch .lbl { display: none; }
  .banner { margin: var(--s2) 0 var(--s2); }
  .banner + .view .page-h { margin-top: var(--s6); }
}
@media (max-width: 560px) {
  .view.wide > .page-h.has-acts .page-acts { flex-wrap: nowrap; gap: var(--s2); }
  .page-acts .seal-badge > span { display: none; }
  .page-acts .seal-badge { padding-right: var(--s3); }
  .page-acts .switch { padding: 0; }
  body.is-auth main { padding: var(--s10) var(--s5) var(--s12); }
  .auth-top { margin-bottom: var(--s6); }
  .auth-card h1 { font-size: var(--t-large); }
  .hero { padding: var(--s6) var(--s5) 0; border-radius: 20px; }
  .state { gap: var(--s4); align-items: flex-start; }
  .orb { width: 44px; height: 44px; margin-top: var(--s0); }
  .orb .dot.lg { width: 12px; height: 12px; }
  .state-t { font-size: var(--t-large); }
  .stats { margin: var(--s6) calc(-1 * var(--s5)) 0; }
  .stat { padding: var(--s4) var(--s4) var(--s5) var(--s5); }
  .stat + .stat { padding-left: var(--s4); }
  .stat:nth-child(3) { padding-left: var(--s5); }
  .stat b { font-size: var(--t-head); }
  .row-v { max-width: 42%; }
  .row-n b, .row-n > span { white-space: normal; }
  .row.has-acts { flex-wrap: wrap; row-gap: var(--s2); }
  .row.has-acts > .row-n { flex: 1 1 0; }
  .row.has-acts .row-acts { max-width: 100%; flex: 1 1 100%; justify-content: flex-start; padding-left: var(--lead); }
  .row.has-acts .row-acts:empty { display: none; }
  .todo-i { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; column-gap: var(--s4); row-gap: var(--s2); align-items: start; }
  .todo-i > .todo-c { grid-column: 1; grid-row: 1; margin-top: var(--s0); }
  .todo-i > .todo-n { grid-column: 2; grid-row: 1; }
  .todo-i > .todo-x { grid-column: 3; grid-row: 1; margin: calc(-1 * var(--s2)) calc(-1 * var(--s2)) 0 0; }
  .todo-i > .btn:not(.todo-x) { grid-column: 2 / -1; grid-row: 2; justify-self: start; }
  .todo-i .pill { white-space: normal; }
  .two { grid-template-columns: minmax(0, 1fr); }
  .profile-body { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .qr img { margin: 0 auto; }
  .codes { grid-template-columns: minmax(0, 1fr); padding: var(--s4) var(--s5); }
  .app-qr { padding-left: var(--s4); }
  .banner { flex-wrap: wrap; }
  .banner .btn { flex: 1 1 100%; }
  .rule { margin-top: calc(-1 * var(--s4)); }
  .row.upd.has-acts .row-n { flex: 1 1 calc(100% - 60px); }
  .row.upd.has-acts .row-v { display: none; }
  .hero-empty { padding: var(--s12) var(--s5); }
  dialog.ask, dialog.ask.wide { width: calc(100% - 16px); max-width: none; height: fit-content; margin: auto auto calc(var(--s2) + env(safe-area-inset-bottom, 0px)); border-radius: 22px; padding: var(--s6) var(--s5) var(--s5);
    max-height: calc(100dvh - 72px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow: auto; overscroll-behavior: contain; }
  dialog.ask[open] { animation: up .32s var(--ease) both; }
  @keyframes up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (max-width: 860px) {
  body.is-wiz main { padding: var(--s4) var(--s5) calc(var(--s16) + var(--s10) + env(safe-area-inset-bottom, 0px)); }
  .wz-body { grid-template-columns: minmax(0, 1fr); }
  .wz-steps { display: none; }
  .wz-count { display: none; }
  .wz-top .rail-brand { flex: 1; }
  .wz-bar { margin: var(--s4) 0 var(--s8); }
  .wz-card { min-height: 0; }
  .wz-card h1 { font-size: var(--t-large); }
  .wz-tiles { grid-template-columns: minmax(0, 1fr); }
  .wz-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; margin: 0; padding: var(--s3) var(--s5) calc(var(--s3) + env(safe-area-inset-bottom, 0px));
    background: var(--bar); box-shadow: inset 0 1px var(--sep); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); }
  .wz-nav #wz-next { flex: 1; min-width: 0; }
  .wz-sum li { grid-template-columns: 24px minmax(0, 1fr); }
  .wz-sum li > span:last-child { grid-column: 2; }
}
@media (pointer: coarse) {
  :root { --ctl-h: 48px; --ctl-h-sm: 36px; }
  .nav-i { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.mo) *, html:not(.mo) *::before, html:not(.mo) *::after { transition: none !important; animation: none !important; }
}
html.rm *, html.rm *::before, html.rm *::after { transition: none !important; animation: none !important; }

#apps .row.has-acts { flex-wrap: wrap; row-gap: var(--s2); }
#apps .row-n { flex: 1 1 0; }
#apps .row-acts { flex: 1 1 100%; max-width: 100%; justify-content: flex-start; gap: var(--s2) var(--s5); padding-left: var(--lead); }
#apps .row { align-items: flex-start; }
#apps .row > .row-ic { margin-top: var(--s0); }
#apps .row-v { padding-top: var(--s0); }
.row-ic:has(> .app-ic) { background: none; border-radius: 8px; overflow: hidden; }
.app-ic { display: block; width: 32px; height: 32px; border-radius: 8px; }
.row-n a.inl { color: var(--accent-text); white-space: nowrap; }
.home-grid > .card.wide { grid-column: 1 / -1; }
.home-grid .row-n b, .home-grid .row-n > span { white-space: normal; }
.rail.is-open .nav-i:focus-visible { outline-offset: -2px; }

.row.ghost { pointer-events: none; }
.row.ghost .dot { background: var(--fill-hi); }
.row.ghost .row-n b, .row.ghost .row-n span { display: block; height: 10px; border-radius: 5px; background: var(--fill); }
.row.ghost .row-n b { width: 38%; margin-bottom: var(--s2); }
.row.ghost .row-n span { width: 62%; background: var(--fill); opacity: .7; }
.view.app.is-shell .home-grid .card-h .end { visibility: hidden; }
.view.app.is-shell .hero { padding-bottom: var(--s8); }
.view.app.is-shell .page-foot { display: none; }
.shell-act { margin-top: var(--s6); }
.shell-act:empty { display: none; }
.nav-i.is-dim { opacity: .45; }
.nav-i.is-dim .ic { color: var(--text-3); }
.live-chip { margin: var(--s2) var(--s2) 0; padding: var(--s2) var(--s3); border-radius: var(--r-cap); background: var(--warn-tint); color: var(--warn-text); font-size: var(--t-cap); line-height: var(--lh-head); flex: 1 1 100%; }
.live-chip.m { margin: 0 var(--s2) 0 auto; flex: none; max-width: 48vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.danger-card .card-h h2 { color: var(--fail-text); }
.form.pad { padding: var(--s3) var(--s4) var(--s4); }
.form.pad > .opt-rows { margin: 0 calc(-1 * var(--s4)); }

@keyframes drawer { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }


.diag-out { white-space: pre-wrap; overflow-wrap: anywhere; max-height: 40vh; overflow: auto; margin: var(--s2) 0; padding: var(--s3) var(--s3); background: var(--fill); border-radius: var(--r-group); font-size: var(--t-cap); line-height: var(--lh-text); }
.net-card { margin: var(--s3) 0 var(--s1); background: var(--group, var(--fill)); border-radius: var(--r-group); overflow: hidden; }
.callout { display: flex; gap: var(--s2); align-items: flex-start; margin: var(--s2) 0; padding: var(--s3) var(--s4); border-radius: var(--r-group); background: var(--fill); color: var(--text-2); font-size: var(--t-call); line-height: var(--lh-text); }
.callout.ok { color: var(--ok-text); background: var(--ok-tint); }
.callout.warn { color: var(--warn-text); background: var(--warn-tint); }
.callout { flex-wrap: wrap; }
.callout > span:first-child { flex: 1 1 220px; min-width: 0; }
.callout-b { display: flex; gap: var(--s2); flex-wrap: wrap; align-items: center; }
.callout-b:empty { display: none; }
dialog.ask .net-card, dialog.ask .group { background: var(--sheet-group); }
dialog.ask .net-card + .hint { margin-top: var(--s2); }
dialog.ask .net-card + .ask-b { margin-top: var(--s4); }
dialog.ask .ask-b > .btn { min-width: 0; }
dialog.ask .hint > .st-live { margin-left: 0; justify-content: flex-start; text-align: left; }
dialog.ask .hint > .st-live .st-state { font-size: var(--t-head); }
#sp-state > .upd-line, #sp-state > .card-line { display: block; margin-top: var(--s1); text-align: left; font-size: var(--t-foot); color: var(--text-2); }
#sp-state > .upd-line.ok { color: var(--ok-text); }
#sp-state > .upd-line.warn, #sp-state > .card-line.warn, #sp-state > .card-line.acc { color: var(--accent-text); }
@media (max-width: 560px) { dialog.ask .net-card + .ask-b { grid-template-columns: 1fr; } }
dialog.ask .ask-b + .hint { margin: var(--s3) 0 0; }
dialog.ask .net-card + details.disc, dialog.ask .hint + details.disc, dialog.ask .ask-b + details.disc { margin-top: var(--s2); }
dialog.ask .page-foot { margin-top: var(--s4); padding: 0; }
dialog.ask .page-foot > p { margin: 0 0 var(--s0); color: var(--text-3); }
dialog.ask .page-foot details.how .disc-b p { margin: 0; color: var(--text-2); }
#stick-page .sp-head { margin: 0 0 var(--s1); }
#stick-page .sp-head h2 { font-size: var(--t-title); letter-spacing: var(--ls-tight); }
#stick-page #sp-state { margin: 0 0 var(--s6); font-size: var(--t-call); color: var(--text-2); }
#stick-page #sp-state > .st-live { display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s1) var(--s3); }
#stick-page #sp-state > .st-live .st-state { font-size: var(--t-call); font-weight: 500; color: var(--text-2); }
#stick-page #sp-state > .st-live .st-state .dot { display: none; }
.net-card.tiles, dialog.ask .net-card.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 148px), 1fr)); gap: 1px; margin: 0 0 var(--s6); background: var(--sep); }
.net-card.tiles > .row.kv { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: var(--s1); min-height: 0; padding: var(--s3) var(--s4); background: var(--sheet-group); }
.net-card.tiles > .row.kv::before { display: none; }
.net-card.tiles > .row.kv .row-n b { font-size: var(--t-foot); font-weight: 500; letter-spacing: 0; color: var(--text-3); }
.net-card.tiles > .row.kv .row-v { max-width: none; margin: 0; text-align: left; font-size: var(--t-body); font-weight: 600; color: var(--text); }
.net-card.tiles > .row.kv .row-v small { display: block; margin-top: var(--s0); font-size: var(--t-foot); font-weight: 400; color: var(--text-2); }
@media (max-width: 560px) { .net-card.tiles, dialog.ask .net-card.tiles { grid-template-columns: 1fr; } }
@media (min-width: 561px) { .net-card.tiles:has(> .row.kv:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
dialog.ask .net-card.tiles + .ask-b { margin-top: 0; }
#stick-page #sp-main-b + #sp-open-h { margin: var(--s2) 0 0; font-size: var(--t-foot); color: var(--text-3); text-align: center; }
#stick-page #sp-set-g { margin: var(--s6) 0 0; }
#stick-page #sp-acts, #stick-page #sp-own-g { margin-top: var(--s3); }
#stick-page #sp-acts > .row > .dot:not(.ok):not(.warn):not(.fail), #stick-page #sp-own > .row > .dot:not(.ok):not(.warn):not(.fail) { visibility: hidden; }
#stick-page #sp-v-priv .card { margin-top: var(--s3); }
#stick-page .card-h h2 { font-size: var(--t-foot); font-weight: 600; letter-spacing: var(--ls-caps); }
#stick-page #sp-v-priv .card > .hint { margin: 0 0 var(--s3); padding: 0 var(--s4); color: var(--text-2); }
#stick-page #sp-v-priv .card > .fp { margin: 0 0 var(--s3); padding: 0 var(--s4); }
#stick-page #sp-priv-more { margin: 0 0 var(--s3); padding: 0 var(--s4); }
#stick-page #sp-priv-more .disc-b { gap: var(--s3); }
#stick-page #sp-priv-more .hint, #stick-page #sp-priv-more .fp { margin: 0; color: var(--text-2); }
#stick-page #sp-cert h3 { margin: var(--s3) 0 var(--s1); font-size: var(--t-foot); font-weight: 600; letter-spacing: var(--ls-caps); color: var(--text); }
#stick-page #sp-priv { margin-top: var(--s2); }
#stick-page #sp-v-main > .page-foot { margin-top: var(--s8); padding-top: var(--s4); box-shadow: inset 0 1px var(--sep); }
#stick-page #sp-v-main > .page-foot > p { margin: 0 0 var(--s2); color: var(--text-3); }
button.row.go[disabled] { cursor: default; background: transparent; }
button.row.go[disabled] .chev { opacity: .35; }

.rows.order > .row.ord { background: var(--group); touch-action: pan-y; }
.rows.order > .row.ord:first-child { border-radius: var(--r-group) var(--r-group) 0 0; }
.rows.order > .row.ord:last-child { border-radius: 0 0 var(--r-group) var(--r-group); }
.rows.order > .row.ord:only-child { border-radius: var(--r-group); }
.row.ord .row-v { max-width: none; }
.row.ord.fixed .row-v { margin-right: 0; }
.ord-mv { display: flex; align-items: center; gap: var(--s0); flex: none; margin-right: calc(-1 * var(--s2)); }
.ord-mv .iconbtn { width: 32px; height: 32px; }
.ord-mv .iconbtn:disabled { opacity: .3; cursor: default; background: transparent; }
.grip { display: grid; place-items: center; width: 32px; height: 40px; border: 0; padding: 0; border-radius: var(--r-ctl); background: none; color: var(--text-3);
  cursor: grab; touch-action: none; -webkit-user-select: none; user-select: none; }
.grip:hover { color: var(--text-2); background: var(--fill); }
.rows.order.dragging { cursor: grabbing; -webkit-user-select: none; user-select: none; }
.rows.order.dragging > .row.ord:not(.lifted) { transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
.row.ord.lifted { z-index: 3; background: var(--raised); border-radius: var(--r-ctl); box-shadow: 0 12px 32px rgb(0 0 0 / .28), 0 0 0 1px var(--sep); }
.row.ord.lifted::before { opacity: 0; }
.row.ord.lifted .grip { cursor: grabbing; color: var(--accent-text); }
@media (max-width: 560px) { .row.ord { gap: var(--s3); padding-right: var(--s3); } .row.ord .row-v .pill { padding: var(--s0) var(--s2); } .ord-mv .iconbtn { width: 30px; }
  .row.ord .grip { display: none; } .row.ord .row-n b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
.from-bar { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s3); margin: 0; padding: var(--s3) var(--s4) 0; color: var(--text-2); font-size: var(--t-sub); box-shadow: inset 0 1px var(--sep); }
.from-bar + .composer { box-shadow: none; }
.from-bar .pill { border: 0; font: inherit; font-weight: 500; cursor: pointer; }
.from-bar .pill:disabled { cursor: default; }
.from-bar .pill:not(:disabled)::after { content: ""; width: 6px; height: 6px; margin-left: var(--s0); border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.frame-full { position: fixed; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: var(--bg); }
.frame-down { position: fixed; inset: 0; z-index: 1; justify-content: center; max-width: none; background: var(--bg); }

.home-head .home-tag { display: inline-flex; align-items: center; gap: var(--s2); max-width: 100%; margin: 0 0 var(--s3); padding: var(--s1) var(--s3) var(--s1) var(--s3);
  border-radius: var(--r-cap); background: var(--fill); color: var(--text); font-size: var(--t-sub); font-weight: 600; line-height: var(--lh-text); }
.home-tag .ic { color: var(--accent-text); }
.home-tag span { min-width: 0; overflow-wrap: anywhere; }
.hero-next { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3) var(--s4); margin-top: var(--s6); padding: var(--s3) var(--s3) var(--s3) var(--s4);
  border-radius: 14px; background: var(--accent-tint); }
.hero-next-t { flex: 1 1 220px; min-width: 0; font-size: var(--t-call); font-weight: 500; }
.hero-next-t b { margin-right: var(--s2); color: var(--accent-text); font-weight: 600; }
.hero-next .btn, .hero-next .link { flex: none; }
.home-grid + .card { margin-top: var(--s12); }
.bars { position: relative; display: inline-flex; align-items: flex-end; gap: var(--s0); height: 13px; flex: none; }
.bars i { display: block; width: 4px; border-radius: 1px; background: var(--fill-hi); }
.bars i:nth-child(1) { height: 35%; } .bars i:nth-child(2) { height: 57%; } .bars i:nth-child(3) { height: 79%; } .bars i:nth-child(4) { height: 100%; }
.bars.n1 i:nth-child(-n+1), .bars.n2 i:nth-child(-n+2), .bars.n3 i:nth-child(-n+3), .bars.n4 i { background: currentColor; }
.bars.n4, .bars.n3 { color: var(--ok) !important; } .bars.n2 { color: var(--warn) !important; } .bars.n1 { color: var(--fail) !important; }
.bars.n0::after { content: ""; position: absolute; left: -1px; right: -1px; top: 50%; height: 1.5px; border-radius: 1px; background: var(--text-3); transform: rotate(-35deg); }
.stat b .bars { order: 1; margin-left: var(--s0); }
.row-v .bars { color: var(--text-2); }
.row-v small .bars { display: flex; margin: var(--s1) 0 0 auto; }
.stat.ghost { cursor: default; pointer-events: none; }
.stat.ghost b { width: 64%; height: 18px; border-radius: 6px; background: var(--fill); }
.stat.ghost b::before { display: none; }
.stat.ghost span { width: 40%; height: 10px; border-radius: 5px; background: var(--fill); }
.stat.ghost, .row.ghost.load .row-n, .boot-mark { animation: ghost 1.6s ease-in-out infinite; }
@keyframes ghost { 50% { opacity: .45; } }
.boot-mark { margin: 0 auto; }
.state-t, .state-s { transition: color .4s var(--ease); }
.orb { transition: background-color .4s var(--ease); }
.state-t.moved { animation: settle .45s var(--ease); }
@keyframes settle { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) {
  .hero-next { margin-top: var(--s5); }
  .hero-next .btn { flex: 1 1 auto; }
}
.card > details.tech { padding: var(--s2) var(--s4) 0; font-size: var(--t-foot); }
body.roomy { font-size: var(--t-head); --text-3: var(--text-2); }
.roomy .row-n b { white-space: normal; overflow-wrap: anywhere; }
.roomy .row-n > span { white-space: normal; }
.roomy .btn, .roomy .btn.sm, .roomy .iconbtn, .roomy .nav-i { min-height: 44px; }
.roomy .link.sm, .roomy .link { min-height: 44px; }
.roomy .link.inline { min-height: 0; font-size: inherit; }
.roomy input:not([type=radio]):not([type=checkbox]), .roomy select { min-height: 48px; }
.roomy .row-acts { max-width: none; }
.roomy .row:has(.row-acts) { flex-wrap: wrap; }
.roomy .row:has(.row-acts) > .row-n { flex: 1 1 200px; }
.roomy .row-n .meter { margin-top: var(--s3); height: 6px; max-width: 360px; }
.roomy .row-n .meter i { min-width: 6px; }
.roomy details.tech > summary { display: inline-flex; align-items: center; min-height: 44px; }
.roomy .tech-b { display: grid; gap: var(--s2); padding: var(--s1) 0 var(--s3); font-size: var(--t-call); color: var(--text-2); }
.roomy .tech-b .mono { color: var(--text); }
@media (max-width: 560px) {
  .roomy .row:has(.row-acts) > .row-acts { flex: 1 1 100%; justify-content: flex-start; padding-left: var(--lead); }
}
.roomy .hero { padding-bottom: var(--s8); }
.roomy .row-n .meter { display: block; }
.topbar { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: var(--s3); min-height: 64px; padding: var(--s3) var(--s6);
  background: var(--bar); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: inset 0 -1px var(--sep);
  transition: min-height var(--dur) var(--ease), padding var(--dur) var(--ease); }
.topbar.tb-condensed { min-height: 52px; padding-top: var(--s1); padding-bottom: var(--s1); }
.topbar.tb-condensed .tb-title { font-size: var(--t-head); }
@media (prefers-reduced-motion: reduce) { .topbar, .tb-title, .tb-who .avatar { transition: none; } }
body.is-app:has(> .topbar:not([hidden])) { grid-template-rows: auto minmax(0, 1fr); }
body.is-app > .topbar { grid-column: 2; grid-row: 1; }
body.is-app:has(> .topbar:not([hidden])) > .rail { grid-column: 1; grid-row: 1 / span 2; }
body.is-app:has(> .topbar:not([hidden])) > main { grid-column: 2; grid-row: 2; padding-top: var(--s10); }
.topbar .tb-mark, .topbar .tb-menu { display: none; }
button.tb-mark { flex: none; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: transparent; cursor: pointer; }
button.tb-mark:hover { background: var(--fill); }
.tb-rooms { position: relative; display: inline-flex; gap: var(--s0); padding: var(--s1); border-radius: var(--r-cap); background: var(--fill); min-width: 0; }
.tb-room { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4); border: 0; border-radius: var(--r-cap);
  background: transparent; color: var(--text-2); font-weight: 600; font-size: var(--t-call); white-space: nowrap; cursor: pointer; transition: background var(--dur), color var(--dur); }
.tb-room:hover { color: var(--text); }
.tb-room[aria-current="page"] { background: var(--raised); color: var(--text); box-shadow: 0 1px 3px rgb(0 0 0 / .18), 0 0 0 .5px var(--sep); cursor: default; }
.tb-room .tb-sm { display: none; }
.tb-end { position: relative; margin-left: auto; }
.tb-who { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3) 0 var(--s1); border: 0; border-radius: var(--r-cap);
  background: transparent; color: var(--text); font-weight: 600; cursor: pointer; }
.tb-who:hover, .tb-who[aria-expanded="true"] { background: var(--fill); }
.tb-who .avatar { width: 34px; height: 34px; font-size: var(--t-foot); }
.tb-who { min-width: 44px; justify-content: center; }
.tb-chev { color: var(--text-3); }
.tb-pick { left: 0; right: auto; }
.tb-head { display: grid; gap: var(--s0); padding: var(--s2) var(--s3) var(--s3); margin-bottom: var(--s1); box-shadow: inset 0 -1px var(--sep); min-width: 0; }
.tb-head b { font-weight: 600; overflow-wrap: anywhere; }
.tb-head span { color: var(--text-2); font-size: var(--t-sub); overflow-wrap: anywhere; }
.menu-p .btn.tb-out { color: var(--fail-text); }
@media (max-width: 860px) {
  body.is-app:has(> .topbar:not([hidden])) > main { padding-top: var(--s4); }
  .topbar { padding: var(--s2) var(--s2); padding-top: max(var(--s2), env(safe-area-inset-top, 0px)); gap: var(--s2); min-height: 60px; }
  .topbar.tb-condensed { min-height: 52px; padding-bottom: var(--s0); padding-top: max(var(--s0), env(safe-area-inset-top, 0px)); }
  .topbar .tb-menu { display: inline-grid; place-items: center; width: 44px; height: 44px; }
  .topbar .tb-mark { display: inline-grid; }
  .tb-name { display: none; }
}
@media (max-width: 560px) {
  .topbar .tb-mark { display: none; }
  .tb-room { padding: 0 var(--s3); }
  .tb-room .tb-lg { display: none; }
  .tb-room .tb-sm { display: inline; }
  .tb-who { padding: 0 var(--s1); }
}
.rows.easy .row-n b { white-space: normal; overflow-wrap: anywhere; }
.rows.easy .row-n > span { white-space: normal; }
.rows.easy .btn, .rows.easy .btn.sm { min-height: 44px; }
.rows.easy .row-v .bars { vertical-align: middle; }
dialog.ask .form > .switch { min-height: 44px; margin: 0 0 var(--s3); }
dialog.ask .form > .choices { margin: 0 0 var(--s3); max-height: 40vh; overflow-y: auto; }
@media (max-width: 560px) {
  .roomy .row { flex-wrap: wrap; row-gap: var(--s3); }
  .roomy .row > .row-n { flex: 1 1 calc(100% - 60px); }
  .roomy .row > .btn, .roomy .row > a.btn { margin-left: var(--lead); }
  .tb-room .ic, .tb-who .tb-chev { display: none; }
  .tb-rooms { flex: 0 1 auto; }
  .tb-room { padding: 0 var(--s3); }
}
.tb-end { display: flex; align-items: center; gap: var(--s1); }
.tb-bell { position: relative; width: 44px; height: 44px; }
.tb-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 var(--s1); border-radius: var(--r-cap);
  background: var(--fail-fill); color: #fff; font-size: var(--t-cap2); font-weight: 700; line-height: 18px; text-align: center; }
.tb-notes { width: min(380px, calc(100vw - 24px)); padding-bottom: var(--s2); }
.tb-nh { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.tb-nh .tb-clear { min-height: 32px; padding: 0 var(--s2); }
.tb-list { max-height: 60vh; overflow-y: auto; overscroll-behavior: contain; }
.tb-list .act-day { padding: var(--s3) var(--s3) var(--s0); }
.tb-row { display: flex; align-items: center; gap: var(--s0); }
.tb-row .btn.tb-note { flex: 1 1 auto; min-width: 0; }
.tb-note.tb-read { color: var(--text-2); font-weight: 400; }
.tb-x { flex: none; width: 44px; height: 44px; color: var(--text-3); }
.tb-x:hover { color: var(--text); background: var(--fill); }
.tb-live { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s3); border: 0; border-radius: var(--r-cap);
  background: transparent; color: var(--text-2); font: inherit; font-size: var(--t-foot); cursor: pointer; white-space: nowrap; }
.tb-live:hover { background: var(--fill); color: var(--text); }
.tb-live.checking { cursor: default; }
.tb-live .dot { width: 7px; height: 7px; }
.tb-spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--fill-hi); border-top-color: var(--text-2); animation: spin .9s linear infinite; flex: none; }
@media (prefers-reduced-motion: reduce) { .tb-spin { animation: none; border-top-color: var(--text-3); } }
@media (max-width: 560px) { .tb-live { padding: 0 var(--s2); min-width: 44px; justify-content: center; } .tb-live.live .tb-live-t { display: none; } }
.menu-p .btn.tb-note { white-space: normal; text-align: left; line-height: var(--lh-text); min-height: 48px; padding: var(--s2) var(--s3); gap: var(--s3); }
.tb-note .dot { flex: none; }
.tb-none { margin: var(--s1) var(--s3) var(--s2); color: var(--text-2); font-size: var(--t-sub); }
.menu-p .btn.tb-alerts { color: var(--accent-text); }
.match { display: grid; gap: var(--s3); margin: 0 0 var(--s4); }
.match .btn { min-height: 60px; font: 600 var(--t-large)/1 var(--mono); letter-spacing: var(--ls-code); border-radius: var(--r-ctl); background: var(--fill); }
.match .btn:hover { background: var(--fill-hi); }
.match-who { display: grid; gap: var(--s0); margin: 0 0 var(--s4); padding: var(--s3) var(--s4); border-radius: var(--r-ctl); background: var(--fill); }
.match-who b { font-size: var(--t-head); }
.match-who span { color: var(--text-2); font-size: var(--t-call); }
button.row.go { width: 100%; border: 0; margin: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer;
  border-radius: 0; transition: background var(--dur); }
button.row.go:hover { background: var(--fill); }
.group > .rows > button.row.go:first-child { border-radius: var(--r-group) var(--r-group) 0 0; }
.group > .rows > button.row.go:last-child { border-radius: 0 0 var(--r-group) var(--r-group); }
.group > .rows > button.row.go:only-child { border-radius: var(--r-group); }
button.row.go .row-v { color: var(--text-2); font-size: var(--t-call); text-align: right; max-width: 45%; }
button.row.go .chev { flex: none; color: var(--text-3); width: 16px; height: 16px; }
.sub-h { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); margin: 0 0 var(--s8); }
.sub-h .btn { margin-left: calc(-1 * var(--s3)); }
.sub-h h1 { font-size: var(--t-hero); font-weight: 700; letter-spacing: var(--ls-tight); line-height: var(--lh-tight); }
.sub-h p { margin: 0; color: var(--text-2); }
.act-day { padding: var(--s4) var(--s4) var(--s2); color: var(--text-2); font-size: var(--t-foot); font-weight: 600; letter-spacing: var(--ls-caps); text-transform: uppercase; }
.card > .act-day:first-of-type { padding-top: 0; }
@media (max-width: 560px) { button.row.go .row-v:not(:has(> .dot:only-child)) { display: none; } }
.track { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.track li { position: relative; padding: 0 0 var(--s5) var(--s8); min-height: 36px; }
.track li::before { content: ""; position: absolute; left: 6px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--fill-hi); box-shadow: 0 0 0 3px var(--group); }
.track li::after { content: ""; position: absolute; left: 11px; top: 19px; bottom: -2px; width: 2px; background: var(--sep); }
.track li:last-child::after { display: none; }
.track li.done::before { background: var(--ok); }
.track li.done::after { background: var(--ok); }
.track li.now::before { background: var(--accent); box-shadow: 0 0 0 3px var(--group), 0 0 0 6px var(--accent-tint); }
.track li.need::before { background: var(--warn); box-shadow: 0 0 0 3px var(--group), 0 0 0 6px var(--warn-tint); }
.track li b { display: block; font-weight: 600; font-size: var(--t-head); }
.track li.next b { color: var(--text-3); font-weight: 500; }
.track li .when { display: block; color: var(--text-3); font-size: var(--t-sub); }
.track li > span:not(.when) { display: block; margin-top: var(--s1); color: var(--text-2); font-size: var(--t-call); max-width: 56ch; }
.track li.now > span:not(.when) { color: var(--text); }
.track li.need > span:not(.when) { color: var(--warn-text); }
.track li.need { display: block; padding: 0 0 var(--s5) var(--s8); }
.track li .link { display: inline-block; margin-top: var(--s1); }
@media (max-width: 560px) {
  .roomy button.row.go { flex-wrap: nowrap; }
  .roomy button.row.go > .row-n { flex: 1 1 auto; }
}
.roomy .hero + .card, .roomy .page-h + .card, .roomy .card + .card, .roomy .card + #ov-homes > .card:first-child, .roomy .apps + .card,
.roomy #ov-homes > .card + .card, .roomy #st-groups > .card + .card, .roomy #st-list > .card + div > .card:first-child, .roomy .hero-empty { margin-top: var(--s6); }
.roomy button.row.go { min-height: var(--row-h-lg); padding: var(--s3) var(--s3) var(--s3) var(--s4); }
.roomy button.row.go .row-n b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roomy button.row.go .row-n > span { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.roomy button.row.go .row-v { flex: none; max-width: 40%; font-variant-numeric: tabular-nums; }
.roomy button.row.go .chev { margin-left: var(--s1); }
.roomy h1, .roomy h2, .roomy .state-t { text-wrap: balance; }
.roomy .card-b.tight { padding: var(--s3) var(--s4) var(--s4); }
.roomy .card-b.tight .steps { gap: var(--s2); }
.roomy .page-foot p { margin: 0; }
@media (max-width: 560px) {
  .page-foot { margin-top: var(--s6); }
  .roomy button.row.go .row-n b, .roomy button.row.go .row-n > span { white-space: normal; }
}


.ov-head .truth { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s2) var(--s3); margin: var(--s4) 0 0; font-size: var(--t-head); line-height: var(--lh-text); }
.truth > .dot { width: 12px; height: 12px; }
.truth > .dot.ok { box-shadow: 0 0 0 4px var(--ok-tint); }
.truth > .dot.warn { box-shadow: 0 0 0 4px var(--warn-tint); }
.truth > .dot.fail { box-shadow: 0 0 0 4px var(--fail-tint); }
.truth > .dot.acc { box-shadow: 0 0 0 4px var(--accent-tint); }
.truth > b { font-weight: 600; letter-spacing: var(--ls-snug); color: var(--text); }
.truth > b.warn { color: var(--warn-text); } .truth > b.fail { color: var(--fail-text); } .truth > b.off { color: var(--text-2); }
.truth > b.moved { animation: settle .45s var(--ease); }
.truth > span:not(.dot) { color: var(--text-2); }
.truth > span:not(.dot):empty { display: none; }
.fresh { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s1) var(--s2); margin: var(--s3) 0 0; color: var(--text-3); font-size: var(--t-call); min-height: 20px; }
.fresh:empty { display: none; }
.fresh .live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex: none; animation: live-dot 2.4s ease-in-out infinite; }
.fresh.off .live { background: var(--warn); animation: none; }
.fresh .link.inline { color: var(--accent-text); }
.fresh .link.inline::before { content: "\00b7"; margin-right: var(--s2); color: var(--text-3); }
.fresh > .btn { margin-top: var(--s2); }
@keyframes live-dot { 0%, 100% { box-shadow: 0 0 0 0 var(--ok-tint); } 50% { box-shadow: 0 0 0 5px var(--ok-tint); } }
.need { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: var(--s0) var(--s4); align-items: start; padding: var(--s4); }
.rows > .need + .need, .rows > .need + .row, .rows > .row + .need { box-shadow: inset 0 1px var(--sep); }
.need > .row-ic { grid-row: 1 / span 2; width: 36px; height: 36px; border-radius: 10px; margin-top: var(--s0); }
.need > .row-ic.warn { background: var(--warn-tint); color: var(--warn-text); }
.need > .row-ic.acc { background: var(--accent-tint); color: var(--accent-text); }
.need > .row-ic.fail { background: var(--fail-tint); color: var(--fail-text); }
.need-t { min-width: 0; }
.need-t b { display: block; font-weight: 600; font-size: var(--t-head); letter-spacing: var(--ls-snug); line-height: var(--lh-head); overflow-wrap: anywhere; }
.need-t span { display: block; color: var(--text-2); font-size: var(--t-call); margin-top: var(--s1); line-height: var(--lh-text); }
.need-a { grid-column: 2; display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s3); }
.need-a:empty { display: none; }
.need-a > .row-acts { display: contents; }
@media (min-width: 700px) {
  .need { grid-template-columns: 36px minmax(0, 1fr) fit-content(46%); align-items: center; }
  .need-a { grid-column: 3; grid-row: 1 / span 2; margin: 0; justify-content: flex-end; }
}
.prog { padding: var(--s4) var(--s4) var(--s4); }
.prog-h { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s3) var(--s4); min-height: 36px; }
.prog-h > .row-n { flex: 1 1 120px; }
.prog-h > .row-n b { font-size: var(--t-head); font-weight: 600; letter-spacing: var(--ls-snug); }
.prog-h > .row-acts { margin-left: auto; max-width: none; }
.prog-h > .row-acts:empty { display: none; }
.stepper { list-style: none; margin: var(--s4) 0 0; padding: 0; display: flex; }
.stepper li { position: relative; flex: 1 1 0; min-width: 12px; padding: var(--s5) var(--s2) 0 0; }
.stepper li:last-child { flex: 0 0 auto; padding-right: 0; }
.stepper li i { position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--fill-hi); box-shadow: 0 0 0 2px var(--group); z-index: 1; }
.stepper li::after { content: ""; position: absolute; left: 12px; right: 0; top: 5px; height: 2px; background: var(--sep); }
.stepper li:last-child::after { display: none; }
.stepper li.done i { background: var(--ok); }
.stepper li.done::after { background: var(--ok); }
.stepper li.now i { background: var(--accent); animation: step-pulse 2.4s ease-out infinite; }
.stepper li.need i { background: var(--warn); animation: step-pulse-warn 2.4s ease-out infinite; }
.stepper li span { display: block; font-size: var(--t-foot); line-height: var(--lh-head); color: var(--text-3); overflow-wrap: anywhere; }
.stepper li.done span { color: var(--text-2); }
.stepper li.now span, .stepper li.need span { color: var(--text); font-weight: 600; }
.stepper li small { display: block; font-size: var(--t-cap); color: var(--text-3); margin-top: 1px; }
.prog-step { display: none; margin: var(--s2) 0 0; font-size: var(--t-call); font-weight: 600; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .prog .stepper li { padding-top: var(--s3); }
  .prog .stepper li span, .prog .stepper li small, .prog .stepper li.now span, .prog .stepper li.need span, .prog .stepper li.now small, .prog .stepper li.need small { display: none; }
  .prog .stepper li.now, .prog .stepper li.need { flex: 1 1 0; }
  .prog-step { display: block; }
}
.stepper li.need small { color: var(--warn-text); }
.prog-now { margin: var(--s3) 0 0; font-size: var(--t-call); line-height: var(--lh-text); color: var(--text-2); max-width: 60ch; }
.prog-now b { color: var(--text); font-weight: 600; }
.prog-now.warn { color: var(--warn-text); }
.prog > .meter { display: block; margin-top: var(--s3); height: 6px; max-width: 360px; }
@keyframes step-pulse { 0% { box-shadow: 0 0 0 2px var(--group), 0 0 0 2px var(--accent-tint); } 70%, 100% { box-shadow: 0 0 0 2px var(--group), 0 0 0 11px rgb(10 132 255 / 0); } }
@keyframes step-pulse-warn { 0% { box-shadow: 0 0 0 2px var(--group), 0 0 0 2px var(--warn-tint); } 70%, 100% { box-shadow: 0 0 0 2px var(--group), 0 0 0 11px rgb(255 159 10 / 0); } }
@media (max-width: 600px) {
  .stepper li span, .stepper li small { display: none; }
  .stepper li.now, .stepper li.need { flex: 3 1 0; }
  .stepper li.now span, .stepper li.need span, .stepper li.now small, .stepper li.need small { display: block; white-space: normal; }
}
.apps { display: grid; gap: var(--s4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .apps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.app-card { display: flex; flex-direction: column; gap: var(--s2); padding: var(--s5); background: var(--group); border-radius: var(--r-group); min-width: 0; }
.app-card > .row-ic { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-tint); color: var(--accent-text); margin-bottom: var(--s1); }
.app-card > .row-ic .ic { width: 24px; height: 24px; }
.app-card .app-t { margin: 0; font: 600 var(--t-head)/var(--lh-head) var(--display); letter-spacing: var(--ls-snug); color: var(--text); }
.app-card .app-l { margin: 0; color: var(--text-2); font-size: var(--t-call); line-height: var(--lh-text); flex: 1 1 auto; }
.app-card > .btn { align-self: flex-start; margin-top: var(--s2); }
.apps > .empty { grid-column: 1 / -1; }
.tabbar { display: none; }
@media (max-width: 860px) {
  body.is-app .tabbar:not([hidden]) { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; justify-content: space-around; gap: var(--s0);
    padding: var(--s2) var(--s2) calc(var(--s2) + env(safe-area-inset-bottom, 0px)); background: var(--bar); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    box-shadow: inset 0 1px var(--sep); }
  .tabbar .nav-i { flex: 1 1 0; width: auto; flex-direction: column; justify-content: center; align-items: center; gap: var(--s1); min-height: 52px; padding: var(--s1) var(--s0); font-size: var(--t-cap); font-weight: 500;
    color: var(--text-2); border-radius: 12px; text-align: center; }
  .tabbar .nav-i .ic { width: 24px; height: 24px; color: inherit; }
  .tabbar .nav-i:hover { background: transparent; color: var(--text); }
  .tabbar .nav-i[aria-current="page"] { background: transparent; color: var(--accent-text); font-weight: 600; }
  .tabbar .nav-i[aria-current="page"] .ic { color: var(--accent-text); }
  body.is-app:has(> .tabbar:not([hidden])) main { padding-bottom: calc(var(--s16) + var(--s10) + env(safe-area-inset-bottom, 0px)); }
  body:has(> .tabbar:not([hidden])) .rail.is-open .nav > li:not(.nav-pick) { display: none; }
  body:has(> .tabbar:not([hidden])):not(:has(.rail .nav-pick)) .topbar .tb-menu { display: none; }
  body:has(> .tabbar:not([hidden])):not(:has(.rail .nav-pick)) .topbar .tb-mark { display: inline-grid; margin-left: var(--s2); }
  body:has(> .tabbar:not([hidden])):not(:has(.rail .nav-pick)) .topbar button.tb-mark { margin-left: 0; }
  .rail.is-open .nav-pick select { width: 100%; min-height: var(--row-h); font-size: var(--t-head); }
}
.roomy .page-h.has-acts .page-acts .btn.sm { min-height: 44px; }
.roomy .row.tight { flex-wrap: nowrap; }
.roomy .row.tight > .row-n { flex: 1 1 auto; }
.roomy .row.tight > .btn { margin-left: 0; }
.card > .group > .card-b > details.disc + details.tech { margin-top: var(--s3); }

.rail-me { display: flex; align-items: center; gap: var(--s3); margin: var(--s4) 0 var(--s5); padding: 0 var(--s3); min-width: 0; }
.rail-me .avatar { flex: none; width: 32px; height: 32px; font-size: var(--t-cap); }
.nav-sec { margin: var(--s5) var(--s3) var(--s2); color: var(--text-3); font-size: var(--t-cap); font-weight: 600; letter-spacing: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rail-end { margin-top: auto; padding-top: var(--s4); display: grid; gap: var(--s0); }
.rail-end .nav-i { color: var(--text-2); font-size: var(--t-sub); min-height: 36px; }
.rail .nav-i[aria-current="page"] { position: relative; }
.rail .nav-i[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--accent); }
.tb-place { display: flex; align-items: center; gap: var(--s3); flex: 0 1 auto; min-width: 0; }
.topbar > .tb-end { flex: none; }
.tb-title { flex: 0 1 auto; min-width: 0; font-family: var(--display); font-weight: 700; font-size: var(--t-title); line-height: var(--lh-head); letter-spacing: var(--ls-tight); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  transition: font-size var(--dur) var(--ease); }
.tb-state { display: inline-flex; align-items: center; gap: var(--s2); flex: none; margin-right: var(--s1); font-size: var(--t-foot); font-weight: 600; line-height: var(--lh-head); white-space: nowrap; color: var(--text-2); }
.tb-state .dot { width: 7px; height: 7px; }
.tb-state.warn { color: var(--warn-text); } .tb-state.fail { color: var(--fail-text); } .tb-state.acc { color: var(--accent-text); }
.topbar:has(.tb-state) .tb-live.live { display: none; }
.tb-back { flex: none; width: 44px; height: 44px; margin: 0 calc(-1 * var(--s3)) 0 calc(-1 * var(--s3)); color: var(--accent-text); }
.tb-back:hover { background: var(--fill); }
.tb-back .ic { width: 22px; height: 22px; }
body.is-app:has(> .topbar:not([hidden])) main .crumb[data-in-bar] { display: none; }
.tb-who .tb-name, .tb-who .tb-chev { display: none; }
.tb-who { padding: 0 var(--s1); }
.tb-who .avatar { width: 36px; height: 36px; font-size: var(--t-foot); box-shadow: 0 0 0 1px var(--sep); transition: box-shadow var(--dur) var(--ease); }
.tb-who:hover .avatar, .tb-who[aria-expanded="true"] .avatar { box-shadow: 0 0 0 2px var(--fill-hi); }
body.is-app:has(> .topbar:not([hidden])) main h1[data-in-bar] { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
body.is-app:has(> .topbar:not([hidden])) main .pill.hp[data-in-bar] { display: none; }
body.is-app:has(> .topbar:not([hidden])) main .page-h:has(h1[data-in-bar]) p { margin-top: 0; }
body.is-app:has(> .topbar:not([hidden])) main .page-h:has(h1[data-in-bar]):not(.has-acts):not(:has(p:not([hidden]), > div:not(.ph-row):not(.page-t))) { margin: 0; }
body.is-app:has(> .topbar:not([hidden])) main .page-h.has-acts:has(h1[data-in-bar]):not(:has(.page-t > p:not([hidden]), .page-t > div:not(.ph-row):not(:empty))) { justify-content: flex-end; }
body.is-app:has(> .topbar:not([hidden])) main .page-h.has-acts:has(h1[data-in-bar]):not(:has(.page-t > p:not([hidden]), .page-t > div:not(.ph-row):not(:empty), .page-acts > *)) { margin: 0; }
body.is-app:has(> .topbar:not([hidden])) main .sub-h:has(> h1[data-in-bar]), body.is-app:has(> .topbar:not([hidden])) main .sub-h:has(> .ph-row > h1[data-in-bar]) { gap: var(--s1); }
.tb-place > .tb-title { flex: 0 1 auto; }
@media (max-width: 560px) {
  .topbar { gap: var(--s1); }
  .tb-place { gap: var(--s2); }
  .tb-back { margin: 0 calc(-1 * var(--s2)) 0 calc(-1 * var(--s2)); }
  .tb-title, .topbar.tb-condensed .tb-title { font-size: var(--t-head); }
  .tb-state { margin-right: 0; font-size: var(--t-cap); gap: var(--s1); }
  .topbar:has(.tb-back) .tb-mark { display: none !important; }
  .topbar .tb-live.live { display: none; }
  .topbar:has(.tb-live:not(.live)) .tb-state { display: none; }
}
.crumb { margin: 0 0 var(--s2); }
.view[data-subs]:not(.in-sub) > [data-sub], .view[data-subs].in-sub > [data-sub]:not(.sub-on), .view[data-subs].in-sub > [data-sub-index] { display: none; }
.crumb .link { display: inline-flex; align-items: center; gap: var(--s0); min-height: 44px; padding: 0 var(--s1) 0 0; font-size: var(--t-call); font-weight: 500; }
.crumb .ic { width: 18px; height: 18px; }
.app-foot { margin: var(--s16) 0 0; padding: var(--s5) var(--s1) 0; box-shadow: inset 0 1px var(--sep); color: var(--text-3); font-size: var(--t-foot); line-height: var(--lh-body);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s5); }
.app-foot .mark { width: 18px; height: 18px; border-radius: 5px; }
.app-foot .foot-brand { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; color: var(--text-2); letter-spacing: var(--ls-caps); font-size: var(--t-cap); }
.app-foot a, .app-foot .link { color: var(--text-2); font-size: var(--t-foot); min-height: 44px; display: inline-flex; align-items: center; padding: 0 var(--s1); }
.app-foot .sel { user-select: all; -webkit-user-select: all; color: var(--text-2); }
.app-foot .foot-end { margin-left: auto; }
.app-foot .ver { font-variant-numeric: tabular-nums; }
@media (min-width: 861px) {
  body.is-app.rail-mini .rail .rail-me { justify-content: center; padding: 0; }
  body.is-app.rail-mini .rail .nav-sec, body.is-app.rail-mini .rail .rail-me .who-n { display: none; }
  body.is-app.rail-mini .rail .nav-i[aria-current="page"]::before { left: -6px; }
  body.is-app.rail-mini:has(> .rail) .topbar .tb-mark { display: inline-grid; }
  body.is-app.rail-mini .rail nav:has(> .nav-sec) { display: none; }
}
@media (max-width: 860px) {
  .rail.is-open .rail-me { margin: var(--s3) 0 var(--s4); padding: 0 var(--s4); }
  .rail.is-open .nav-sec { margin: var(--s5) var(--s4) var(--s2); }
  .rail .nav-i[aria-current="page"]::before { display: none; }
  .app-foot { margin-top: var(--s12); gap: var(--s1) var(--s4); flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
  .app-foot .sel, .app-foot .ver-id, .app-foot .ver-w { display: none; }
  .app-foot .foot-end { margin-left: auto; }
}
.conn { display: flex; align-items: center; gap: var(--s2); margin: calc(-1 * var(--s3)) var(--s3) var(--s4); color: var(--text-2); font-size: var(--t-foot); line-height: var(--lh-head); }
.conn .dot { animation: ghost 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .conn .dot { animation: none; } }
@media (min-width: 861px) {
  body.is-app.rail-mini .rail .conn { justify-content: center; margin: calc(-1 * var(--s2)) 0 var(--s3); }
  body.is-app.rail-mini .rail .conn span:not(.dot) { display: none; }
}
@media (max-width: 860px) { .rail.is-open .conn { margin: calc(-1 * var(--s2)) var(--s4) var(--s4); } }
.row.kv > .dot { display: none; }
.row.kv .row-n b { font-weight: 500; color: var(--text-2); }
.row.kv { flex-wrap: nowrap; }
.row.kv > .row-n { flex: 1 1 auto; min-width: 0; }
.row.kv .row-v { max-width: 62%; margin-left: auto; color: var(--text); overflow-wrap: anywhere; }
.card .group + .card-h, .card .note-s + .card-h { margin-top: var(--s6); }
.stack { display: grid; gap: var(--s6); margin-top: var(--s8); }
.stack > * { margin: 0; }
.offer { display: grid; gap: var(--s3); padding: var(--s5); border-radius: var(--r-group); background: var(--fill); }
.offer h2 { font-size: var(--t-head); font-weight: 600; letter-spacing: var(--ls-snug); }
.offer p { color: var(--text-2); font-size: var(--t-call); line-height: var(--lh-text); margin: 0; }
.steps.big { gap: var(--s3); font-weight: 400; color: var(--text); padding-left: var(--s6); }
.steps.big li { font-weight: 400; }
.auth-foot { margin-top: var(--s10); padding-top: var(--s5); box-shadow: inset 0 1px var(--sep); text-align: center; }
.auth-foot .hint { margin: 0; }
.nav-pick { padding: 0 var(--s0) var(--s2); }
.nav-pick select { width: 100%; min-height: var(--ctl-h-sm); padding: 0 36px 0 var(--s3); border: 1px solid var(--input-line); border-radius: var(--r-ctl);
  background-color: var(--group); color: var(--text); font: inherit; font-size: var(--t-call); font-weight: 600; }
.nav-pick select:hover { background-color: var(--group-hi); }
body.is-app.rail-mini .rail .nav-pick { display: none; }
.topbar .tb-said { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); clip: rect(0 0 0 0); white-space: nowrap; }
.tb-live-t { overflow: visible; text-overflow: clip; }
.menu-p a.btn.tb-status { text-decoration: none; color: inherit; }
.addr { color: var(--text-3); font-size: var(--t-foot); font-family: var(--mono); }
.apps + .card-h, .apps + .note-s { margin-top: var(--s5); }
.iconbtn.copy { width: 44px; height: 44px; color: var(--text-2); }
.iconbtn.copy:hover { color: var(--text); background: var(--fill); }

.setup-steps { --i: 0; --n1: 2; position: relative; display: flex; width: 100%; max-width: 360px; list-style: none; margin: var(--s2) auto 0; padding: 0; }
.setup-steps.n3 { --n1: 2; } .setup-steps.n4 { --n1: 3; } .setup-steps.n5 { --n1: 4; }
.setup-steps.s1 { --i: 0; } .setup-steps.s2 { --i: 1; } .setup-steps.s3 { --i: 2; } .setup-steps.s4 { --i: 3; } .setup-steps.s5 { --i: 4; }
.setup-steps::before, .setup-steps::after { content: ""; position: absolute; top: 13px; height: 2px; border-radius: 1px;
  left: calc(50% / (var(--n1) + 1)); right: calc(50% / (var(--n1) + 1)); }
.setup-steps::before { background: var(--fill-hi); }
.setup-steps::after { background: linear-gradient(90deg, var(--accent-tint), var(--accent)); transform-origin: 0 50%;
  transform: scaleX(calc(var(--i) / var(--n1))); animation: stepfill .45s var(--ease) both; }
@keyframes stepfill { from { transform: scaleX(calc(max(var(--i) - 1, 0) / var(--n1))); } }
.setup-steps li { position: relative; z-index: 1; flex: 1; min-width: 0; padding-top: var(--s8); text-align: center; }
.setup-steps li::before { content: ""; position: absolute; top: 9px; left: calc(50% - 5px); width: 10px; height: 10px; border-radius: 50%;
  background: var(--bg-auth); box-shadow: inset 0 0 0 2px var(--text-3); }
.setup-steps li.done::before { top: 6px; left: calc(50% - 8px); width: 16px; height: 16px; background: var(--accent-fill); box-shadow: none; }
.setup-steps li.on::before { top: 5px; left: calc(50% - 19px); width: 38px; height: 18px; border-radius: 9px; background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-tint), 0 3px 12px var(--accent-tint); animation: steppill .4s .12s var(--ease) both; }
.setup-steps li.done::after, .setup-steps li.on:last-child::after { content: ""; position: absolute; top: 9px; left: calc(50% - 2px); width: 4px; height: 7px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.setup-steps li.on:last-child::after { top: 8.5px; }
.setup-steps li.done:has(+ li.on)::before { animation: stepfold .36s var(--ease) both; }
.setup-steps li.done:has(+ li.on)::after { animation: stepcheck .3s .22s var(--ease) both; }
@keyframes steppill { from { transform: scale(.3, .6); opacity: .3; } }
@keyframes stepfold { from { transform: scaleX(2.3); } }
@keyframes stepcheck { from { transform: rotate(45deg) scale(.4); opacity: 0; } }
.setup-steps.busy li.on::before { background: linear-gradient(100deg, var(--accent) 35%, rgb(255 255 255 / .6) 50%, var(--accent) 65%) 0 0 / 300% 100%;
  animation: steppill .4s .12s var(--ease) both, stepsheen 1.8s .6s linear infinite; }
.setup-steps.busy li.on:not(:last-child)::after { content: ""; position: absolute; top: 5px; left: calc(50% - 19px); width: 38px; height: 18px;
  border-radius: 9px; box-shadow: 0 0 0 2px var(--accent); opacity: 0; animation: stepring 2.2s .6s ease-out infinite; }
@keyframes stepsheen { from { background-position: 100% 0; } to { background-position: 0 0; } }
@keyframes stepring { from { transform: scale(1); opacity: .6; } to { transform: scale(1.5, 2.2); opacity: 0; } }
.setup-steps span { display: block; margin-top: var(--s1); padding: 0 var(--s0); font-size: var(--t-cap); font-weight: 600; line-height: var(--lh-head); color: var(--text-3); }
.setup-steps li.on span { color: var(--accent-text); }
.keybox .key .rk-g { display: inline; }
.keybox .key mark.rk-ask { background: var(--accent-tint); color: var(--accent-text); border-radius: 6px; padding: 0 var(--s0); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.btn.a11ybtn { display: none; position: absolute; z-index: 20; top: max(var(--s4), env(safe-area-inset-top, 0px)); right: max(var(--s4), env(safe-area-inset-right, 0px)); }
html.a11yjs body.is-auth .btn.a11ybtn { display: inline-flex; }
html.a11yjs body.is-auth main { padding-top: max(8vh, calc(var(--s16) + var(--s4))); }
html.tx125 .pw.kb input, html.tx150 .pw.kb input { padding-right: calc(var(--s16) + var(--s16)); }
html.tx125 .pw.kb .kbbtn { right: 66px; } html.tx150 .pw.kb .kbbtn { right: 78px; }
.a11ybtn .ic { color: var(--accent-text); }
dialog.a11ysheet .a11y-rows { margin: var(--s4) 0; border-radius: var(--r-ctl); background: var(--sheet-group); }
dialog.a11ysheet .row { gap: var(--s3); }
dialog.a11ysheet .row-n b { white-space: normal; }
dialog.a11ysheet .seg { flex: none; width: 190px; }
dialog.a11ysheet .seg button[aria-pressed="true"] { background: var(--raised); font-weight: 600; box-shadow: 0 1px 3px rgb(0 0 0 / .18), 0 0 0 .5px rgb(0 0 0 / .04); }
dialog.a11ysheet .row.a11ysay { justify-content: flex-end; }
dialog.a11ysheet > form > .hint { margin: 0 0 var(--s4); text-align: center; }
button.switch { border: 0; background: none; padding: 0 var(--s1); }
button.switch[aria-checked="true"] .sw-track { background: var(--ok); }
button.switch[aria-checked="true"] .sw-track::after { transform: translateX(14px); }
button.switch:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: var(--r-cap); }
.btn.a11ystop { position: fixed; z-index: 96; left: 50%; bottom: max(var(--s4), env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); box-shadow: var(--shadow); }
body.osk-on .btn.a11ystop { bottom: 330px; }

:root.tx125 { --t-hero: 40px; --t-large: 35px; --t-title: 27.5px; --t-head: 21px; --t-body: 20px; --t-call: 19px; --t-sub: 17.5px; --t-foot: 16px; --t-cap: 15px; --t-cap2: 14px; }
:root.tx150 { --t-hero: 44px; --t-large: 40px; --t-title: 33px; --t-head: 25.5px; --t-body: 24px; --t-call: 22.5px; --t-sub: 21px; --t-foot: 19.5px; --t-cap: 18px; --t-cap2: 16.5px; }
html.tx150 .btn { white-space: normal; text-align: center; line-height: var(--lh-head); padding-top: var(--s2); padding-bottom: var(--s2); }
html.tx125 .auth-card h1, html.tx150 .auth-card h1 { font-size: var(--t-large); }

:root.hc { --bg: #000; --bg-auth: #000; --group: #000; --group-hi: #0a0a0a; --raised: #000; --sheet-group: #000;
  --fill: rgb(255 255 255 / .16); --fill-hi: rgb(255 255 255 / .26); --sep: rgb(255 255 255 / .6);
  --text: #fff; --text-2: #e8e8ed; --text-3: #d6d6db;
  --accent: #8cc8ff; --accent-fill: #0050b8; --accent-fill-hi: #0a60d0; --accent-text: #8cc8ff; --accent-tint: rgb(140 200 255 / .22);
  --ok: #7ee2a0; --ok-text: #7ee2a0; --warn: #ffc870; --warn-text: #ffc870; --fail: #ff9a90; --fail-text: #ff9a90;
  --input-bg: #000; --input-line: #fff; --scrim: rgb(0 0 0 / .8); --bar: #000; }
@media (prefers-color-scheme: light) {
  :root.hc { --bg: #fff; --bg-auth: #fff; --group: #fff; --group-hi: #f7f7f7; --raised: #fff; --sheet-group: #fff;
    --fill: rgb(0 0 0 / .1); --fill-hi: rgb(0 0 0 / .18); --sep: rgb(0 0 0 / .6);
    --text: #000; --text-2: #1c1c1e; --text-3: #2c2c2e;
    --accent: #003a8c; --accent-fill: #003a8c; --accent-fill-hi: #004aa8; --accent-text: #003a8c; --accent-tint: rgb(0 58 140 / .12);
    --ok: #0b5a26; --ok-text: #0b5a26; --warn: #6b3a00; --warn-text: #6b3a00; --fail: #a00000; --fail-text: #a00000;
    --input-bg: #fff; --input-line: #000; --scrim: rgb(0 0 0 / .5); --bar: #fff; }
}
html.hc :focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
html.hc .field input, html.hc .field select, html.hc .field textarea { border: 2px solid var(--input-line); }
html.hc .btn, html.hc .seg, html.hc .keybox, html.hc .offer, html.hc dialog.ask, html.hc .card, html.hc .group { border: 2px solid var(--sep); }
html.hc .btn.primary { border-color: transparent; }
html.hc a, html.hc .link { text-decoration: underline; text-underline-offset: 3px; }
html.hc .setup-steps::before { background: var(--text-3); }
html.hc .setup-steps li::before { box-shadow: inset 0 0 0 2px var(--text-2); }
html.hc .setup-steps li.done::before { background: var(--accent-fill); box-shadow: 0 0 0 2px var(--accent-text); }
html.hc .setup-steps li.on::before { background: var(--accent-fill); box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--accent-text); }

.kbwrap { position: relative; display: block; }
.kbwrap input { width: 100%; padding-right: var(--s12); }
.pw.kb input { padding-right: calc(var(--s16) + var(--s12)); }
.kbbtn { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--text-3); cursor: pointer; display: grid; place-items: center; }
.pw.kb .kbbtn { right: 56px; }
.kbbtn.on { color: var(--accent-text); }
.osk { position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; padding: var(--s2) max(var(--s2), env(safe-area-inset-left, 0px)) calc(var(--s2) + env(safe-area-inset-bottom, 0px));
  background: var(--raised); border-top: 1px solid var(--sep); box-shadow: var(--shadow); animation: rise .22s var(--ease) both; }
.osk-in { display: grid; gap: var(--s1); max-width: 640px; margin: 0 auto; }
.osk-r { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: var(--s1); }
.osk-k { grid-column: span 2; min-width: 0; min-height: 46px; padding: 0; border: 1px solid var(--sep); border-radius: 8px; background: var(--fill); color: var(--text);
  font: 500 var(--t-head)/var(--lh-tight) var(--sans); cursor: pointer; touch-action: manipulation; -webkit-user-select: none; user-select: none; }
.osk-k.w3 { grid-column: span 3; } .osk-k.w4 { grid-column: span 4; } .osk-k.w6 { grid-column: span 6; }
.osk-k.fn { font-size: var(--t-sub); font-weight: 600; color: var(--text-2); }
.osk-k.go { background: var(--accent-fill); border-color: transparent; color: #fff; font-size: var(--t-call); font-weight: 600; }
.osk-k[aria-pressed="true"] { background: var(--accent-tint); border-color: var(--accent); color: var(--accent-text); }
body.osk-on main { padding-bottom: calc(var(--s16) * 5); }

.cover { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: var(--s6) var(--s4); background: rgba(8, 9, 10, .72); background: color-mix(in srgb, var(--bg) 74%, transparent); }
.cover[hidden] { display: none; }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .cover { -webkit-backdrop-filter: blur(14px) saturate(.85); backdrop-filter: blur(14px) saturate(.85); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .cover { background: var(--bg); } }
.cover-card { width: 100%; max-width: 440px; text-align: center; background: var(--group); box-shadow: 0 18px 60px rgba(0, 0, 0, .35); }
.cover-card h2:focus { outline: none; }
.cover-card .big-ic { margin: 0 auto var(--s3); }
.cover-card h2 { margin: 0; font-size: var(--t-title); }
.cover-card .lede { margin-top: var(--s2); }
.cover-card .btns { justify-content: center; margin-top: var(--s4); }
.cover-card .btns:not(:has(> :not([hidden]))) { display: none; }
@media (prefers-reduced-motion: no-preference) { .cover { animation: cover-in .25s ease-out; } .cover-card { animation: cover-up .25s ease-out; } }
@keyframes cover-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes cover-up { from { transform: translateY(8px); } to { transform: none; } }
body.is-covered { overflow: hidden; }
