
:root {
  --bg: #eef0f3;
  --card: #ffffff;
  --text: #1d1f23;
  --muted: #5b6069;
  --faint: #8a9099;
  --line: #d9dce3;
  --soft: #f4f5f7;
  --hover: #eceef2;
  --primary: #1d1f23;
  --on-primary: #ffffff;
  --green: #8ccb72;
  --link: #2f6b12;
  --chip: #e7f4df;
  --chip-text: #2f5a16;
  --danger: #c2362b;
  --danger-soft: #fdecea;
  --mark: #1d1f23;
  --focus: #5a9e3f;
  --focus-text: #3b7a22;
  --shadow: 0 1px 2px rgba(20, 22, 26, .05), 0 12px 40px rgba(20, 22, 26, .06);
  --radius: 12px;
  --radius-sm: 6px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1113;
    --card: #1a1d21;
    --text: #e8eaed;
    --muted: #a6abb3;
    --faint: #80868f;
    --line: #353a41;
    --soft: #22262b;
    --hover: #272b31;
    --primary: #e8eaed;
    --on-primary: #14161a;
    --link: #9fd884;
    --chip: #24331d;
    --chip-text: #b6e3a0;
    --danger: #ff8a80;
    --danger-soft: #3a1f1d;
    --mark: #e8eaed;
    --focus: #8ccb72;
    --focus-text: #9fd884;
    --shadow: none;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--link); font-weight: 600; text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.2px; }
.boot { min-height: 100vh; display: grid; place-items: center; }
.spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--green); animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.spin.sm { width: 16px; height: 16px; border-width: 2px; border-color: currentColor; border-top-color: transparent; opacity: .85; flex: none; }
.mark { display: block; color: var(--mark); }
.svg { display: contents; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.actions.start { justify-content: flex-start; padding-top: 4px; }
.actions.tight { padding: 0 0 20px; }
.danger-box p { margin: 0 0 8px; }
.danger-box ul { margin: 0; padding-inline-start: 20px; }
.shell { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; padding: 32px 24px 0; }
.shell > .card { margin-block: auto; }
.card {
  position: relative; overflow: hidden; overflow: clip;
  width: 100%; max-width: 960px; min-height: 500px;
  background: var(--card); border-radius: 24px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}
.bar { position: absolute; left: 0; right: 0; top: 0; height: 4px; overflow: hidden; opacity: 0; transition: opacity .2s; z-index: 2; }
.bar.on { opacity: 1; }
.bar::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; background: var(--green); animation: slide 1.1s ease-in-out infinite; }
@keyframes slide { from { left: -40%; } to { left: 100%; } }
.card.busy .side { pointer-events: none; opacity: .6; }
.brandpanel {
  position: relative; overflow: hidden; overflow: clip; display: flex; flex-direction: column;
  background: #1d1f23; color: #fff; padding: 40px;
}
@media (prefers-color-scheme: dark) { .brandpanel { background: #0b0c0e; border-inline-end: 1px solid var(--line); } }
.brandpanel .wm { position: absolute; inset-inline-end: -90px; bottom: -110px; opacity: .07; pointer-events: none; color: #fff; }
.brandpanel .wm circle { display: none; }
.brandpanel .logo { display: flex; align-items: center; gap: 10px; font-size: 17px; position: relative; color: #fff; }
.brandpanel .logo b { font-weight: 700; }
.brandpanel .logo .svg svg { color: #fff; }
.brandpanel .hero-logo { position: relative; display: block; margin-top: auto; padding-top: 40px; color: #fff; }
.brandpanel .hero-logo svg { display: block; }
.brandpanel h1 { position: relative; font-size: 30px; line-height: 1.25; margin-top: 28px; letter-spacing: -.4px; }
.card.single .brandpanel .hero-logo { display: none; }
.brandpanel h1 b { color: var(--green); font-weight: 600; }
.brandpanel p { position: relative; margin: 14px 0 0; color: #b9bec6; font-size: 15px; }
.brandpanel .bp-in {
  position: sticky; top: 40px; display: flex; flex-direction: column; flex: 0 0 auto;
  height: calc(100vh - 150px); height: calc(100dvh - 150px); min-height: 420px; max-height: 100%;
}
.brandpanel .bp-in::after { content: ""; display: block; flex: 1 1 auto; max-height: 80px; }
@media (min-width: 761px) {
  .brandpanel { contain: size; }
  .brandpanel .hero-logo { margin-top: 0; padding-top: 48px; }
  .brandpanel .bp-in::after { display: none; }
  .brandpanel .wm { inset-inline-end: -150px; bottom: -170px; opacity: .08; }
  .brandpanel .wm svg { width: 540px; height: 540px; }
}
.side { display: flex; flex-direction: column; padding: 44px 44px 32px; min-width: 0; }
.steps { display: flex; gap: 6px; margin-bottom: 18px; }
.steps span { width: 24px; height: 4px; border-radius: 4px; background: var(--line); }
.steps span.on { background: var(--green); }
.heading { font-size: 24px; margin-bottom: 22px; }
.field { position: relative; margin-bottom: 16px; }
.field input {
  width: 100%; height: 54px; padding: 20px 15px 6px; font: inherit; font-size: 16px;
  color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: 12px; outline: none;
}
.field input:focus { border: 2px solid var(--focus); padding: 19px 14px 5px; }
.field.bad input { border: 2px solid var(--danger); padding: 19px 14px 5px; }
.field label {
  position: absolute; inset-inline-start: 11px; top: 16px; padding: 0 5px; background: var(--card); color: var(--muted);
  font-size: 16px; line-height: 1.3; pointer-events: none; transition: all .15s ease;
}
.field input:focus + label, .field input:not(:placeholder-shown) + label { top: -9px; font-size: 12px; color: var(--text); }
.field input:focus + label { color: var(--focus-text); }
.field.bad label { color: var(--danger); }
.err { display: flex; gap: 8px; align-items: flex-start; color: var(--danger); font-size: 13px; margin: -6px 0 14px; }
.err[hidden] { display: none; }
.err svg { flex: none; margin-top: 1px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; margin: -2px 0 16px; cursor: pointer; user-select: none; }
.check input { width: 18px; height: 18px; accent-color: var(--primary); margin: 0; }
.hint { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--link); font-weight: 600; font-size: inherit; cursor: pointer; }
.linkbtn:hover { text-decoration: underline; }
.linkbtn:disabled { color: var(--muted); cursor: default; text-decoration: none; font-weight: 500; }
.field input.code { font-size: 22px; letter-spacing: .35em; font-variant-numeric: tabular-nums; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 22px; border-radius: var(--radius); border: 0; cursor: pointer;
  background: var(--primary); color: var(--on-primary); font-weight: 600; font-size: 14px;
}
.btn:hover { filter: brightness(1.15); text-decoration: none; }
.btn.block { width: 100%; height: 50px; font-size: 15px; margin-top: 4px; }
.btn.block .svg svg { transition: transform .15s; }
.btn.block:hover .svg svg { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--link); }
.btn.ghost:hover { background: var(--chip); filter: none; }
.btn.outline { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.outline:hover { background: var(--hover); filter: none; }
.btn.danger { background: var(--danger); color: #fff; }
.btn:disabled { opacity: .5; cursor: default; }
.below { text-align: center; font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.trust { display: flex; gap: 8px; align-items: flex-start; margin: auto 0 0; padding-top: 28px; font-size: 13px; color: var(--muted); }
.trust svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.trust b { font-weight: 600; color: var(--text); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; align-self: flex-start;
  margin: -8px 0 20px; padding-block: 4px; padding-inline: 4px 10px; border: 1px solid var(--line); border-radius: var(--radius);
  background: transparent; cursor: pointer; font-size: 14px; font-weight: 500;
}
.chip:hover { background: var(--hover); }
.chip > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
  flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  background: var(--green); color: #1d1f23; font-weight: 700; font-size: 13px; text-transform: uppercase;
}
.avatar.lg { width: 40px; height: 40px; font-size: 17px; }
.avatar.xl { width: 88px; height: 88px; font-size: 38px; }
.avatar.xxl { width: 132px; height: 132px; font-size: 56px; }
.avatar.pic { overflow: hidden; background: var(--soft); aspect-ratio: 1; }
.avatar.pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-edit { position: relative; display: block; margin: 0 auto 14px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; }
.hero .avatar-edit .avatar { margin: 0; }
.avatar-edit:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.avatar-edit .cam {
  position: absolute; inset-inline-end: -2px; bottom: -2px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); color: var(--text); border: 1px solid var(--line); box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
}
.avatar-edit:hover .cam { background: var(--hover); }
.pick { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pick li + li { border-top: 1px solid var(--line); }
.pick button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 0; background: none;
  cursor: pointer; text-align: start;
}
.pick button:hover { background: var(--hover); }
.pick .who { min-width: 0; flex: 1; }
.pick .who b { display: block; font-weight: 600; }
.pick .who span { display: block; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.pick .go svg { color: var(--muted); }
.pick .other { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); background: var(--soft); }
.note { font-size: 13px; color: var(--muted); margin: 16px 0 0; }
.foot {
  width: 100%; max-width: 960px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); font-size: 13px; color: var(--muted); margin-top: 24px;
}
.foot nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-end { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.legal-date { font-size: 13px; color: var(--faint); margin: -4px 0 14px; }
.langpick {
  display: inline-flex; align-items: center; gap: 8px; max-width: 100%; height: 40px; padding-inline: 14px 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--muted); font: inherit; font-size: 13px; cursor: pointer;
}
.langpick:hover { background: var(--hover); color: var(--text); }
.langpick:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.langpick .lang-now { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foot a { color: var(--muted); font-weight: 400; }
.prose h2 { font-size: 19px; margin: 20px 0 6px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-inline-start: 20px; }
.card.single { max-width: 760px; min-height: 0; grid-template-columns: 1fr; }
.card.single .brandpanel { padding: 32px 40px 30px; }
.card.single .brandpanel h1 { margin-top: 0; padding-top: 28px; font-size: 28px; }
.card.single .brandpanel .bp-in::after { display: none; }
.card.single .side { padding: 32px 40px; }
.card.single .btn.block { margin-top: 20px; }
@media (max-width: 760px) {
  body { background: var(--card); }
  .shell { padding: 0; }
  .shell > .card { margin: 0 0 auto; }
  .card, .card.single { grid-template-columns: 1fr; border-radius: 0; max-width: none; min-height: 0; box-shadow: none; }
  .brandpanel, .card.single .brandpanel { padding: 22px 22px 26px; }
  .brandpanel .wm { inset-inline-end: -60px; bottom: auto; top: -50px; }
  .brandpanel .wm svg { width: 200px; height: 200px; }
  .brandpanel .logo { font-size: 15px; }
  .brandpanel .hero-logo { display: none; }
  .brandpanel h1, .card.single .brandpanel h1 { font-size: 23px; padding-top: 22px; margin-top: 0; }
  .brandpanel p { font-size: 14px; margin-top: 8px; }
  .brandpanel .bp-in { position: static; height: auto; min-height: 0; max-height: none; }
  .brandpanel .bp-in::after { display: none; }
  .side, .card.single .side { padding: 24px 22px 8px; }
  .heading { font-size: 21px; margin-bottom: 18px; }
  .trust { margin-top: 0; padding-top: 26px; }
  .foot { max-width: none; margin-top: 0; padding: 20px 22px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
}
.app { min-height: 100vh; background: var(--card); display: flex; flex-direction: column; }
.app > .layout { flex: 1; width: 100%; }
.app > .foot { max-width: none; margin-top: 0; padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { .app { background: var(--bg); } }
.top {
  position: sticky; top: 0; z-index: 5; height: 64px; display: flex; align-items: center; gap: 12px;
  padding: 0 20px; background: var(--card); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; color: var(--text); font-weight: 500; }
.brand b { font-weight: 700; }
.brand:hover { text-decoration: none; }
.grow { flex: 1; }
.me { position: relative; }
.me > button { display: grid; place-items: center; border: 0; background: none; padding: 4px; border-radius: 50%; cursor: pointer; line-height: 0; }
.me > button:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
.me > button:hover { background: var(--hover); }
.me > button .avatar { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--green); }
.me > button:hover .avatar { box-shadow: 0 0 0 2px var(--hover), 0 0 0 4px var(--green); }
.menu {
  position: absolute; inset-inline-end: 0; top: calc(100% + 16px); z-index: 10; width: 380px; max-height: calc(100vh - 88px); overflow-y: auto;
  padding: 10px 10px 12px; border-radius: 24px; background: var(--bg); border: 1px solid var(--line);
  box-shadow: 0 4px 8px rgba(0, 0, 0, .08), 0 12px 36px rgba(0, 0, 0, .16); text-align: center;
}
.menu[hidden] { display: none; }
.menu-head { position: relative; padding: 12px 48px 2px; font-size: 14px; font-weight: 500; color: var(--muted); overflow-wrap: anywhere; }
.menu-x {
  position: absolute; inset-inline-end: 2px; top: 2px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: none; color: var(--text); display: grid; place-items: center; cursor: pointer;
}
.menu-x:hover { background: var(--hover); }
.menu-x:focus-visible, .menu-pic:focus-visible, .menu-card a:focus-visible, .menu-card button:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.menu-pic { position: relative; display: block; margin: 18px auto 12px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; line-height: 0; }
.menu-pic:focus-visible { outline-offset: 4px; }
.menu-pic .menu-avatar { width: 84px; height: 84px; font-size: 36px; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--green); }
.menu-pic .cam {
  position: absolute; inset-inline-end: -4px; bottom: -4px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--card); color: var(--text); border: 1px solid var(--line);
}
.menu-pic .cam svg { width: 16px; height: 16px; }
.menu-pic:hover .cam { background: var(--hover); }
.menu-hi { margin: 0 16px 18px; font-size: 22px; font-weight: 500; line-height: 1.3; overflow-wrap: anywhere; }
.menu-card { background: var(--card); border-radius: 18px; overflow: hidden; text-align: start; }
.menu-card a, .menu-card button {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 54px; padding: 0 20px; border: 0; background: none;
  color: var(--text); font: inherit; font-weight: 500; text-decoration: none; cursor: pointer; text-align: start;
}
.menu-card a:hover, .menu-card button:hover { background: var(--hover); text-decoration: none; }
.menu-card > a + a, .menu-card > a + button { border-top: 1px solid var(--line); }
.menu-card svg { flex: none; color: var(--muted); }
.menu-foot { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.menu-foot a { color: inherit; padding: 8px 4px; border-radius: var(--radius-sm); }
.layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; padding: 20px 20px 60px; }
.nav { position: sticky; top: 84px; align-self: start; display: flex; flex-direction: column; gap: 2px; }
.navwrap { display: contents; }
.nav-arrow { display: none; }
.nav a {
  display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 18px; border-radius: var(--radius);
  color: var(--text); font-weight: 500;
}
.nav a:hover { background: var(--hover); text-decoration: none; }
.nav a.on { background: var(--chip); color: var(--chip-text); font-weight: 600; }
.main { min-width: 0; width: 100%; max-width: 760px; justify-self: center; }
.hero { text-align: center; padding: 12px 0 8px; }
.hero .avatar { margin: 0 auto 14px; }
.hero h1 { font-size: 28px; }
.hero p { color: var(--muted); margin: 6px 0 0; }
.pagehead { margin: 8px 0 20px; }
.pagehead h1 { font-size: 28px; }
.pagehead p { color: var(--muted); margin: 8px 0 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 24px; margin-bottom: 18px; }
.panel > h2 { font-size: 20px; padding: 18px 0 4px; }
.panel > p.sub { color: var(--muted); margin: 4px 0 8px; font-size: 14px; }
.row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.panel > h2 + .row, .panel > p.sub + .row, .panel > .row:first-child { border-top: 0; }
.row .k { width: 180px; flex: none; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .3px; }
.row .v { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.row .v small { display: block; color: var(--muted); font-size: 13px; }
.row button.go { border: 0; background: none; cursor: pointer; color: var(--muted); padding: 6px; border-radius: 50%; display: grid; place-items: center; }
.row.click { cursor: pointer; }
.row.click:hover { background: var(--soft); margin: 0 -24px; padding: 16px 24px; }
.ic { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--text); }
.ic.n { font-weight: 700; font-size: 15px; }
.tag { display: inline-block; padding: 2px 8px; border-radius: var(--radius-sm); background: var(--chip); color: var(--chip-text); font-size: 12px; font-weight: 600; margin-inline-start: 6px; vertical-align: 1px; }
.tag.grey { background: var(--soft); color: var(--muted); }
.tag.warn { background: #fdf1dc; color: #7a4a06; }
.tag.bad { background: var(--danger-soft); color: var(--danger); }
@media (prefers-color-scheme: dark) { .tag.warn { background: #3a3014; color: #f3dc9a; } }
.panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding: 18px 0 8px; }
.panel .panel-head h2 { margin: 0; padding: 0; font-size: 20px; }
.panel-head + div > .row:first-child { border-top: 0; }
.panel-note { font-size: 13px; color: var(--muted); }
.tag.why { display: table; margin: 4px 0 2px; white-space: normal; line-height: 1.4; }
.btn.more { display: flex; width: 100%; height: 44px; margin: 4px 0 16px; justify-content: center; }
.btn.more[hidden] { display: none; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 20px 0 18px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; cursor: pointer; text-align: start; }
.stat:hover { background: var(--soft); }
.stat b { display: block; font-size: 26px; font-weight: 600; }
.stat span { color: var(--muted); font-size: 13px; }
.danger-box { background: var(--danger-soft); border-radius: 12px; padding: 14px 16px; margin: 16px 0; color: var(--text); font-size: 14px; }
.empty { color: var(--muted); padding: 18px 0; }
.warn-box { background: #fff6e0; border-radius: 12px; padding: 14px 16px; margin: 0 0 16px; color: #5c4300; font-size: 14px; }
.warn-box p { margin: 0 0 8px; }
.warn-box ul { margin: 0 0 10px; padding-inline-start: 20px; }
@media (prefers-color-scheme: dark) { .warn-box { background: #3a3014; color: #f3dc9a; } }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 20; max-width: calc(100% - 32px);
  background: #1d1f23; color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px;
}
@media (prefers-color-scheme: dark) { .toast { background: #e8eaed; color: #14161a; } }
.toast[hidden] { display: none; }
dialog {
  width: min(440px, calc(100% - 32px)); border: 0; border-radius: 24px; padding: 24px; background: var(--card); color: var(--text);
}
dialog::backdrop { background: rgba(10, 12, 15, .45); }
dialog h2 { font-size: 22px; margin-bottom: 8px; }
dialog p { color: var(--muted); margin: 0 0 18px; }
dialog .actions { padding-top: 8px; }
dialog.codedialog .field { margin-bottom: 10px; }
dialog.codedialog .resend-row { margin: 0 0 14px; }
@media (max-width: 840px) {
  .app > .foot { padding-inline: 16px; }
  .top { padding: 0 12px; }
  .layout { grid-template-columns: 1fr; padding: 0 16px 48px; gap: 0; }
  .navwrap { display: block; position: sticky; top: 64px; z-index: 4; min-width: 0; margin: 0 -16px 12px; background: var(--card); border-bottom: 1px solid var(--line); }
  .nav {
    position: static; flex-direction: row; overflow-x: auto; gap: 4px; margin: 0;
    padding: 8px 12px; scrollbar-width: none; overscroll-behavior-x: contain; scroll-padding-inline: 44px;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav.dragging { cursor: grabbing; user-select: none; }
  .nav.dragging a { pointer-events: none; }
  .nav-arrow {
    position: absolute; top: 0; bottom: 0; width: 48px; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer;
    color: var(--text); z-index: 1;
  }
  .nav-arrow[hidden] { display: none; }
  .nav-arrow svg { width: 18px; height: 18px; }
  .nav-arrow.prev { inset-inline-start: 0; background: linear-gradient(to right, var(--card) 55%, transparent); }
  .nav-arrow.next { inset-inline-end: 0; background: linear-gradient(to left, var(--card) 55%, transparent); }
  .nav-arrow.prev svg { transform: scaleX(-1); }
  [dir="rtl"] .nav-arrow.prev { background: linear-gradient(to left, var(--card) 55%, transparent); }
  [dir="rtl"] .nav-arrow.next { background: linear-gradient(to right, var(--card) 55%, transparent); }
  [dir="rtl"] .nav-arrow.prev svg { transform: none; }
  [dir="rtl"] .nav-arrow.next svg { transform: scaleX(-1); }
  .nav-arrow:hover { color: var(--focus-text); }
  .nav a { flex: none; height: 38px; padding: 0 14px; border-radius: var(--radius); font-size: 14px; gap: 8px; }
  .nav a svg { width: 18px; height: 18px; }
  .panel { padding: 4px 18px; }
  .row.click:hover { margin: 0 -18px; padding: 16px 18px; }
  .row .k { width: 120px; }
  .stats { grid-template-columns: 1fr; }
  .menu { position: fixed; inset-inline: auto 12px; top: 72px; width: min(380px, calc(100vw - 24px)); max-height: calc(100vh - 84px); }
}
@media (max-width: 520px) {
  .row { flex-wrap: wrap; gap: 6px 12px; }
  .row .k { width: 100%; }
}
.btn.small { height: 38px; padding: 0 16px; font-size: 14px; }
.hint.pad { padding: 18px 0; margin: 0; }
.pill { display: inline-block; flex: none; padding: 4px 10px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 600; background: var(--soft); color: var(--text); white-space: nowrap; }
.pill.ok { background: var(--chip); color: var(--chip-text); }
.pill.warn { background: var(--danger-soft); color: var(--danger); }
.plan-row .v b { display: block; font-weight: 600; }
.plan-row .due-note { margin: 6px 0 0; color: var(--danger); font-size: 13.5px; }
.row .amt { flex: none; font-variant-numeric: tabular-nums; font-weight: 600; }
.row .v small.code-line { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 4px; }
.code-copy {
  display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: transparent; color: var(--text); font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; cursor: pointer;
}
.code-copy:hover { background: var(--hover); }
.code-copy .svg { display: inline-grid; color: var(--muted); }
.refund-toggle {
  display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: transparent; color: var(--text); font: inherit; font-size: 13px; cursor: pointer;
}
.refund-toggle:hover { background: var(--hover); }
.refund-toggle .svg { display: inline-grid; color: var(--muted); transition: transform .15s; }
.refund-toggle[aria-expanded="true"] .svg { transform: rotate(180deg); }
.refund-list { margin-top: 8px; padding: 2px 12px; border-radius: var(--radius); background: var(--soft); }
.refund-list[hidden] { display: none; }
.refund-item { padding: 10px 0; }
.refund-item + .refund-item { border-top: 1px solid var(--line); }
.shop-title { font-size: 20px; margin: 26px 0 12px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; padding: 8px 0 20px; }
.price { border: 1px solid var(--line); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.price.on { border-color: var(--green); background: var(--chip); }
.price .pname { font-weight: 600; }
.price .amount span { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.price .amount small { color: var(--muted); font-size: 14px; margin-inline-start: 2px; white-space: nowrap; }
.price .pdesc { color: var(--muted); font-size: 13.5px; margin: 0; }
.price .pnote { color: var(--link); font-size: 13px; margin: 0; }
.price .feat { margin: 0; padding-inline-start: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.price .btn { margin-top: auto; width: 100%; }
dialog.paydialog { width: min(560px, calc(100% - 24px)); padding: 12px 12px 8px; }
.payhead { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; }
.payhead .grow { flex: 1; }
.paybody { position: relative; }
.paywait { position: absolute; inset: 40px 0 auto; margin: 0; }
.paywait[hidden] { display: none; }
.payframe { position: relative; display: block; width: 100%; height: 640px; border: 0; border-radius: 12px; background: transparent; }
@media (max-width: 760px) {
  dialog.paydialog { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border-radius: 0; padding: 8px; }
  .plan-row { flex-wrap: wrap; }
  .row .amt { margin-inline-start: auto; }
}
.btn.working, .btn.working:disabled { cursor: progress; opacity: .85; }
.area { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.area label { font-size: 13px; color: var(--muted); font-weight: 600; }
.area textarea, .select { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; background: var(--card); color: var(--text); }
.area textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.area textarea:focus, .select:focus { outline: none; border: 2px solid var(--focus); padding: 11px 13px; }
.area.bad textarea { border-color: var(--danger); }
.area .count { align-self: flex-end; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.area .count.full { color: var(--danger); font-weight: 600; }
.area .count[hidden] { display: none; }
.select { height: 48px; padding: 0 12px; appearance: auto; }
.picker { margin: 0 0 14px; }
.picker-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.picker-row .hint { margin: 0; font-size: 13px; }
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb button { position: absolute; top: 3px; inset-inline-end: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; cursor: pointer; line-height: 1; font-size: 15px; }
.thumb.working, .thumb.bad { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 0 10px 14px; }
.thumb .pbar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.thumb .pbar-fill { display: block; width: 0; height: 100%; border-radius: 3px; background: var(--green, #8ccb72); transition: width .35s ease; }
.thumb .bar-pct { font-size: 12px; font-weight: 600; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.thumb.bad { border: 2px solid var(--danger); }
.thumb.bad .pbar-fill { background: var(--danger); }
.thumb.bad .bar-pct { color: var(--danger); }
.req-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 0 8px; }
.req-head h2 { font-size: 19px; margin: 2px 0 0; overflow-wrap: anywhere; }
.req-no { color: var(--muted); font-size: 13px; }
.thread { display: flex; flex-direction: column; gap: 12px; padding: 8px 0 20px; }
.msg { border-radius: 14px; padding: 12px 14px; background: var(--soft); max-width: 88%; }
.msg.customer { align-self: flex-end; background: var(--chip); }
.msg .meta { display: flex; gap: 10px; align-items: baseline; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
.msg .meta b { color: var(--text); font-size: 13px; }
.msg .body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.55; font-size: 14.5px; }
.msg .thumbs { margin: 10px 0 0; }
.back { margin: 0 0 12px; }
.actions.left { justify-content: flex-start; padding: 0 0 14px; }
.layout.single { grid-template-columns: minmax(0, 820px); justify-content: center; }
@media (max-width: 760px) { .msg { max-width: 100%; } .req-head { flex-direction: column; } }
.btn[hidden], .linkbtn[hidden] { display: none; }
[dir="rtl"] .btn.block .svg svg, [dir="rtl"] .row button.go svg, [dir="rtl"] .pick .go svg { transform: scaleX(-1); }
[dir="rtl"] .btn.block:hover .svg svg { transform: scaleX(-1) translateX(3px); }
[dir="rtl"] input[type="email"], [dir="rtl"] .field input.code { direction: ltr; text-align: right; }
[dir="rtl"] .secret code, [dir="rtl"] .codes code { direction: ltr; }
.steps-list { margin: 0 0 12px; padding-inline-start: 20px; font-size: 14px; line-height: 1.6; color: var(--text); }
.qr { display: flex; justify-content: center; margin: 8px 0 12px; }
.qr img { width: 200px; height: 200px; max-width: 70vw; max-height: 70vw; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; image-rendering: pixelated; }
.secret { margin: 0 0 16px; font-size: 13px; color: var(--muted); text-align: center; }
.secret summary { cursor: pointer; color: var(--primary); font-weight: 600; }
.secret code { display: block; margin: 10px 0 6px; padding: 10px; border-radius: 10px; background: var(--soft); color: var(--text); font-size: 14px; letter-spacing: 1px; word-break: break-all; user-select: all; }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 4px 0 12px; }
.codes code { padding: 10px 6px; border-radius: 10px; background: var(--soft); text-align: center; font-size: 15px; font-weight: 700; letter-spacing: 1px; font-family: ui-monospace, Menlo, Consolas, monospace; }
dialog .check { margin: 14px 0 4px; align-items: flex-start; }
.botbox:not(:empty) { margin: 4px 0 14px; min-height: 0; }
.botbox iframe { max-width: 100%; }
dialog.langdialog {
  width: min(460px, calc(100% - 32px)); height: min(680px, calc(100vh - 48px)); height: min(680px, calc(100dvh - 48px));
  max-height: none; padding: 20px 12px 12px; flex-direction: column;
}
dialog.langdialog[open] { display: flex; }
.lang-head { display: flex; align-items: center; gap: 8px; padding-inline: 12px 4px; }
.lang-head h2 { flex: 1; min-width: 0; margin: 0; font-size: 20px; }
.lang-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: var(--muted); cursor: pointer; }
.lang-x:hover { background: var(--hover); color: var(--text); }
.lang-x:focus-visible { outline: 2px solid var(--focus); }
dialog.langdialog > p { margin: 2px 12px 14px; font-size: 14px; line-height: 1.5; }
.lang-search { position: relative; flex: none; margin: 0 4px 4px; }
.lang-glass { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); display: flex; color: var(--muted); pointer-events: none; }
.lang-q {
  width: 100%; height: 48px; padding-inline: 42px 14px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--soft); color: var(--text); font: inherit; font-size: 16px;
}
.lang-q::placeholder { color: var(--faint); }
.lang-q:focus { outline: none; border: 2px solid var(--focus); padding-inline: 41px 13px; background: var(--card); }
.lang-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 4px 6px; }
.lang-h { margin: 14px 12px 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
dialog.langdialog .lang-h { margin: 14px 12px 6px; }
.lang-opt {
  width: 100%; min-height: 54px; display: flex; align-items: center; gap: 12px; padding: 8px 12px; margin: 1px 0;
  border: 0; border-radius: 14px; background: transparent; color: var(--text); font: inherit; text-align: start; cursor: pointer;
}
.lang-opt:hover { background: var(--hover); }
.lang-opt:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.lang-opt[aria-selected="true"] { background: var(--chip); color: var(--chip-text); }
.lang-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.lang-txt b { font-size: 15px; font-weight: 600; }
.lang-txt small { font-size: 13px; color: var(--muted); }
.lang-opt[aria-selected="true"] small { color: var(--chip-text); }
.lang-tick { flex: none; display: flex; color: var(--link); visibility: hidden; }
.lang-opt[aria-selected="true"] .lang-tick { visibility: visible; }
dialog.langdialog .lang-empty { margin: 28px 12px; text-align: center; }
dialog.langdialog .err { margin: 8px 12px 0; }
dialog.langdialog .actions { display: flex; justify-content: flex-end; gap: 8px; flex: none; margin-top: 4px; padding: 12px 8px 0; border-top: 1px solid var(--line); }
@media (max-width: 520px) {
  dialog.langdialog {
    width: 100%; max-width: 100%; height: calc(100vh - 40px); height: calc(100dvh - 40px); margin: auto 0 0;
    border-radius: 24px 24px 0 0; padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
}
dialog.photodialog { width: min(440px, calc(100% - 32px)); padding: 20px 16px 16px; }
dialog.photodialog > p { margin: 2px 8px 16px; font-size: 14px; line-height: 1.5; }
dialog.photodialog .lang-head { padding-inline: 8px 0; }
dialog.photodialog .actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 14px 4px 0; }
dialog.photodialog .err { margin: 10px 8px 0; }
.photo-body { display: flex; flex-direction: column; align-items: center; }
.photo-now { padding: 8px 0 4px; }
.photo-stage { position: relative; border-radius: 18px; overflow: hidden; background: #111; touch-action: none; }
.photo-canvas { display: block; cursor: grab; touch-action: none; }
.photo-canvas:active { cursor: grabbing; }
.photo-canvas:focus-visible { outline: none; }
.photo-stage:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.photo-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 999px rgba(10, 12, 15, .55); border: 2px solid rgba(255, 255, 255, .9); pointer-events: none; }
dialog.photodialog .photo-hint { margin: 12px 8px 4px; font-size: 13px; text-align: center; }
.photo-slider { display: flex; align-items: center; gap: 12px; width: min(280px, 100%); color: var(--muted); padding: 6px 0; }
.photo-slider input { flex: 1; min-width: 0; height: 32px; accent-color: var(--focus); }
@media (max-width: 520px) {
  dialog.photodialog {
    width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom));
  }
  dialog.photodialog .actions .btn { flex: 1; }
}
.birth-row { display: flex; flex-wrap: wrap; gap: 8px; }
.birth-row .select { min-width: 0; }
.birth-row .b-day { flex: 1 1 70px; }
.birth-row .b-month { flex: 1.6 1 120px; }
.birth-row .b-year { flex: 1.1 1 84px; }
.area.birth.bad .select, .area.birth.bad .arc-select { border-color: var(--danger); }
.birth-row.dates { flex-wrap: nowrap; }
.dpart {
  min-width: 0; height: 48px; padding: 0 12px; font: inherit; font-size: 16px; text-align: center; letter-spacing: .5px;
  color: var(--text); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); outline: none;
  font-variant-numeric: tabular-nums;
}
.dpart::placeholder { color: var(--faint); letter-spacing: 0; }
.dpart:focus { border: 2px solid var(--focus); padding: 0 11px; }
.dpart.d-day, .dpart.d-month { flex: 1 1 70px; }
.dpart.d-year { flex: 1.4 1 96px; }
.area.birth.bad .dpart, .birth-row.dates.bad .dpart { border: 2px solid var(--danger); padding: 0 11px; }
.arc-native { display: none !important; }
.arc-select {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; height: 48px; padding-inline: 14px 12px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--text); font: inherit; font-size: 15px;
  text-align: start; cursor: pointer; appearance: none;
}
.arc-select:hover { background: var(--soft); }
.arc-select:focus-visible, .arc-select[aria-expanded="true"] { outline: none; border: 2px solid var(--focus); padding-inline: 13px 11px; }
.arc-select:disabled { opacity: 1; color: var(--faint); cursor: default; }
.arc-select.placeholder .arc-select-text { color: var(--faint); }
.arc-select-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arc-select-chev { display: flex; flex: none; color: var(--muted); transition: transform .15s; }
.arc-select[aria-expanded="true"] .arc-select-chev { transform: rotate(180deg); }
.arc-list {
  position: fixed; z-index: 1000; padding: 6px; overflow-y: auto; overscroll-behavior: contain;
  background: var(--card); color: var(--text); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 32px rgba(10, 12, 15, .16);
}
.arc-list.sheet {
  left: 0; right: 0; bottom: 0; max-height: 70vh; max-height: 70dvh; border-radius: 20px 20px 0 0; border-bottom: 0;
  padding: 10px 8px calc(10px + env(safe-area-inset-bottom));
}
.arc-head { padding: 6px 12px 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.arc-shade { position: fixed; inset: 0; z-index: 999; background: rgba(10, 12, 15, .45); }
.arc-opt {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 40px; padding: 8px 12px;
  border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 15px; text-align: start; cursor: pointer;
}
.arc-list.sheet .arc-opt { min-height: 48px; }
.arc-opt:hover, .arc-opt:focus-visible { outline: none; background: var(--hover); }
.arc-opt.placeholder { color: var(--muted); }
.arc-opt[aria-selected="true"] { background: var(--chip); color: var(--chip-text); font-weight: 600; }
.arc-tick { display: flex; flex: none; color: var(--link); visibility: hidden; }
.arc-opt[aria-selected="true"] .arc-tick { visibility: visible; }
@media (prefers-color-scheme: dark) { .arc-list { box-shadow: 0 12px 32px rgba(0, 0, 0, .5); } }
input[type="checkbox"] {
  appearance: none; flex: none; width: 20px; height: 20px; margin: 0; border: 1.5px solid var(--faint); border-radius: 6px;
  background: var(--card); display: inline-grid; place-items: center; cursor: pointer; vertical-align: -4px;
}
input[type="checkbox"]::after { content: ''; width: 10px; height: 5px; border: 2px solid var(--on-primary); border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
input[type="checkbox"]:checked { background: var(--primary); border-color: var(--primary); }
input[type="checkbox"]:checked::after { opacity: 1; }
input[type="checkbox"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
input[type="range"] { appearance: none; height: 24px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--line); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--line); }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 6px; background: var(--primary); border: 2px solid var(--card); box-shadow: 0 1px 4px rgba(0, 0, 0, .25); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 6px; background: var(--primary); border: 2px solid var(--card); }
input[type="range"]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
.arc-list, .lang-list { scrollbar-width: none; -ms-overflow-style: none; }
.arc-list::-webkit-scrollbar, .lang-list::-webkit-scrollbar { display: none; width: 0; height: 0; }
.portal-wait { display: grid; place-items: center; padding: 24px 0; }
.self-reset { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; margin: 0 0 16px; border-radius: var(--radius); background: var(--chip); color: var(--chip-text); font-size: 14px; }
.self-reset p { margin: 0; flex: 1 1 220px; color: inherit; }
.locked-topic { display: flex; align-items: center; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); color: var(--text); font-size: 15px; }
.verify-box { padding: 16px; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.verify-box .verify-title { margin: 0 0 6px; font-weight: 600; color: var(--text); }
.verify-box .field:last-child { margin-bottom: 0; }
.field.above { display: flex; flex-direction: column-reverse; gap: 6px; margin-bottom: 14px; }
.field.above input, .field.above input:focus, .field.above.bad input { height: 46px; padding: 0 14px; font-size: 15px; }
.field.above input:focus { padding: 0 13px; }
.field.above.bad input { padding: 0 13px; }
.field.above label, .field.above input:focus + label, .field.above input:not(:placeholder-shown) + label {
  position: static; padding: 0; background: none; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--muted); transition: none;
}
.field.above.bad label { color: var(--danger); }
.botbox.bot-need { outline: 2px solid var(--danger); outline-offset: 4px; border-radius: var(--radius-sm); animation: bot-nudge .5s ease 2; }
@keyframes bot-nudge { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .botbox.bot-need { animation: none; } }
.bot-down { margin: 0; padding: 12px 14px; border: 1px solid var(--danger); border-radius: var(--radius); color: var(--danger); font-size: 13px; }
.shell.doc { padding-top: 40px; }
.doc-hero { width: 100%; max-width: 820px; padding: 0 4px 22px; color: var(--text); }
.doc-hero .logo { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 17px; text-decoration: none; }
.doc-hero .logo b { font-weight: 700; }
.doc-hero .logo .svg { color: var(--mark); }
.doc-hero h1 { margin: 34px 0 0; font-size: 34px; font-weight: 500; line-height: 1.2; letter-spacing: -.6px; }
.doc-date { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.doc-card { width: 100%; max-width: 820px; margin: 0 0 40px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 38px 46px; }
.doc-card h2 { font-weight: 500; }
.doc-card .doc-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; }
.doc-card .doc-actions .btn { margin: 0; }
@media (max-width: 520px) { .doc-card .doc-actions .btn { flex: 1 1 100%; justify-content: center; min-height: 44px; } }
@media (min-width: 761px) { .shell.doc .foot { max-width: 820px; padding-inline: 0; } }
@media (max-width: 760px) {
  .shell.doc { padding: 0; }
  .doc-hero { padding: 22px 22px 6px; }
  .doc-hero .logo { font-size: 15px; }
  .doc-hero h1 { margin-top: 24px; font-size: 26px; }
  .doc-card { border: 0; border-radius: 0; padding: 18px 22px 8px; margin-bottom: 24px; }
}
.rana-wait { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; animation: rana-in .25s .15s both; }
.rana-wait svg { width: 96px; height: auto; overflow: visible; display: block; }
.rana-wait .o { fill: var(--text, #1d1f23); stroke: var(--text, #1d1f23); stroke-width: 14; stroke-dasharray: 100; animation: rana-draw 2.6s infinite; }
.rana-wait .d { fill: var(--green, #8ccb72); transform-box: fill-box; transform-origin: center; animation: rana-dot 2.6s infinite cubic-bezier(.3, 1.6, .5, 1); }
.rana-wait-text { color: var(--muted, #5b6069); font-size: 13px; font-weight: 600; }
.rana-wait.sm svg { width: 56px; }
@keyframes rana-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rana-draw { 0% { stroke-dashoffset: 100; fill-opacity: 0; opacity: 1; } 45% { stroke-dashoffset: 0; fill-opacity: 0; } 60%, 88% { stroke-dashoffset: 0; fill-opacity: 1; opacity: 1; } 100% { stroke-dashoffset: 0; fill-opacity: 1; opacity: 0; } }
@keyframes rana-dot { 0%, 55% { transform: scale(0); } 68%, 88% { transform: scale(1); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .rana-wait, .rana-wait * { animation-duration: 0s !important; } }
.verify-row { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin: 0 0 16px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--text); font: inherit; font-size: 14px; text-align: start; cursor: pointer; }
.verify-row[hidden] { display: none; }
.verify-row .svg { display: inline-flex; color: #b06000; }
.verify-row .vr-text { flex: 1 1 auto; font-weight: 600; }
.verify-row .vr-go { color: var(--muted); }
.verify-row:hover { border-color: var(--muted); }
.verify-row.ok { background: #eef7e9; border-color: #c6e3b9; color: #27500a; }
.verify-row.ok .svg:first-child { color: #2f6b12; }
.verify-row.bad { border: 2px solid #c5221f; padding: 9px 13px; }
@media (prefers-color-scheme: dark) { .verify-row.ok { background: #1d2a17; border-color: #34502a; color: #c8e8b8; } .verify-row.ok .svg:first-child { color: #9fd884; } }
dialog.verifydialog { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; }
dialog.verifydialog .area, dialog.verifydialog .field { margin-bottom: 14px; }
.area textarea.grow { min-height: 104px; resize: none; overflow-y: auto; }
@media (max-width: 760px) {
  dialog.verifydialog { width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 24px 24px 0 0; padding: 22px 22px calc(18px + env(safe-area-inset-bottom)); max-height: 92dvh; }
}
@media (min-width: 761px) {
  .card:not(.single) .brandpanel .bp-in { position: static; height: 100%; min-height: 0; max-height: none; flex: 1 1 auto; }
  .card:not(.single) .brandpanel .hero-logo { margin-top: auto; padding-top: 32px; }
  .card:not(.single) .brandpanel .bp-in::after { display: block; content: ""; flex: 0 0 32px; margin-top: auto; max-height: none; }
  .card:not(.single) .brandpanel .wm { inset-inline-end: -70px; bottom: -80px; opacity: .06; }
  .card:not(.single) .brandpanel .wm svg { width: 300px; height: 300px; }
  .card.single .brandpanel { contain: none; }
  .card.single .brandpanel .bp-in { position: static; height: auto; min-height: 0; max-height: none; }
  .card.single .brandpanel .wm { inset-inline-end: -40px; bottom: auto; top: -60px; opacity: .06; }
  .card.single .brandpanel .wm svg { width: 220px; height: 220px; }
}
