/* ==================================================================
     СОВЁНОК — СОН v4.8.0 «АВТОРСКИЙ РИТМ»: футер на токенах (ссылки видимы, были цвета
     фона), текст на цветных заливках = --dn-on-accent (одно правило кнопок), cta-band —
     глубокий индиго вместо кремового остатка рассвета, белые поверхности → СОН,
     rgb-тройки и area-токены — значения СОН. База: ночная палитра («сон» —
     режим, названный так в интерфейсе). Старый зелёный :root, слои
     рассвет/день/закат, механизм data-dawn/data-daypart и переключатель
     удалены физически. Все прежние световые литералы переведены на токены.
     ================================================================== */
:root { --primary-rgb: 125,155,240; --ok-rgb: 99,217,184; --danger-rgb: 255,156,136; --amber-rgb: 246,196,82; --info-rgb: 169,194,247; --ink: #E9EDFF; --ink-2: #C4CCF4; --muted: #C4CCF4; --faint: #AAB6E8; --bg: radial-gradient(900px 600px at 80% -10%, rgba(246, 196, 82, .16), transparent 55%), radial-gradient(1100px 700px at -12% 20%, rgba(125, 155, 240, .10), transparent 55%), linear-gradient(180deg, #161D4A 0%, #1B2358 45%, #232C6E 100%); --surface: #27307A; --surface-2: #2A3479; --line: #3A4387; --line-2: #444E96; --primary: #7D9BF0; --primary-2: #8FA9F4; --primary-soft: rgba(125, 155, 240, .14); --primary-line: rgba(125, 155, 240, .38); --amber: #F6C452; --amber-2: #F6C452; --amber-soft: rgba(246, 196, 82, .13); --danger: #FF9C88; --danger-soft: rgba(232, 96, 76, .16); --ok: #63D9B8; --ok-soft: rgba(87, 196, 166, .13); --info: #A9C2F7; --info-soft: rgba(125, 155, 240, .12); --r-lg: 20px; --r-md: 14px; --r-sm: 10px; --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 20px; --sp-6: 24px; --sp-7: 32px; --gap-media: 6px; --card-pad: var(--sp-4); --card-pad-lg: var(--sp-5); --header-h: 64px; --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --shadow-sm: 0 1px 2px rgba(0, 0, 10, .35); --shadow-md: 0 1px 2px rgba(0, 0, 10, .30), 0 12px 30px -16px rgba(0, 0, 10, .45); --shadow-lg: 0 2px 4px rgba(0, 0, 10, .32), 0 26px 52px -22px rgba(0, 0, 10, .55); --shadow-card: 0 1px 2px rgba(0, 0, 10, .28), 0 14px 34px -20px rgba(0, 0, 10, .42); --peach: #FFDDBB; --sun: #F2A93B; --sun2: #FFC96B; --sun-deep: #B8741A; --sun-text: #9A6410; --indigo-deep: #3D4FAE; --mint: #57C4A6; --coral: #E8604C; --dust: #DCE4FA; --gold-lit: #F6C452; --area-body: #57C4A6; --area-mind: #7D9BF0; --dn-ra: 38px 54px 42px 58px; --dn-rb: 54px 38px 58px 42px; --dn-rc: 30px 44px 34px 46px; --dn-re: 26px 36px 28px 38px; --dn-font-head: 'Nunito', system-ui, sans-serif; --dn-canvas: radial-gradient(900px 600px at 80% -10%, rgba(246, 196, 82, .16), transparent 55%), radial-gradient(1100px 700px at -12% 20%, rgba(125, 155, 240, .10), transparent 55%), linear-gradient(180deg, #161D4A 0%, #1B2358 45%, #232C6E 100%); --dn-surface: #27307A; --dn-surface-2: #2A3479; --dn-line: #3A4387; --dn-line-2: #444E96; --dn-ink: #E9EDFF; --dn-ink-2: #C4CCF4; --dn-ink-3: #AAB6E8; --dn-accent: #7D9BF0; --dn-accent-deep: #8FA9F4; --dn-accent-soft: rgba(125, 155, 240, .14); --dn-accent-line: rgba(125, 155, 240, .38); --dn-warm: #F6C452; --dn-warm-deep: #F6C452; --dn-warm-soft: rgba(246, 196, 82, .13); --dn-info: #A9C2F7; --dn-info-soft: rgba(125, 155, 240, .12); --dn-ok: #63D9B8; --dn-ok-soft: rgba(87, 196, 166, .13); --dn-danger: #FF9C88; --dn-danger-soft: rgba(232, 96, 76, .16); --dn-on-accent: #151B45; --dn-glow-sun: rgba(246, 196, 82, .16); --dn-glow-mint: rgba(87, 196, 166, .14); --dn-shadow-sm: 0 1px 2px rgba(0, 0, 10, .35); --dn-shadow-md: 0 1px 2px rgba(0, 0, 10, .30), 0 12px 30px -16px rgba(0, 0, 10, .45); --dn-shadow-lg: 0 2px 4px rgba(0, 0, 10, .32), 0 26px 52px -22px rgba(0, 0, 10, .55); --dn-shadow-card: 0 1px 2px rgba(0, 0, 10, .28), 0 14px 34px -20px rgba(0, 0, 10, .42); }
* { box-sizing: border-box; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
*::before { box-sizing: border-box; }
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15.5px; line-height: 1.55; color: var(--ink); background: var(--bg); text-rendering: optimizeLegibility; }
h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.18; }
h2 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.015em; line-height: 1.25; }
h3 { margin: 0; font-size: 16.5px; font-weight: 700; letter-spacing: -.01em; }
h4 { margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: rgba(var(--amber-rgb), .28); }
:focus-visible { outline: 2px solid rgba(var(--primary-rgb), .55); outline-offset: 2px; border-radius: 6px; }
.muted { color: var(--muted); }
.small { font-size: 13.5px; }
.center { text-align: center; }
.site-header { position: sticky; top: 0; z-index: 90; background: rgba(27, 35, 88, .88); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line-2); border-bottom-color: #3A4387; }
.header-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--dn-ink); }
.logo-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; box-shadow: none; background: none; color: inherit; }
.logo-text { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: inherit; }
.main-nav { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav-link { padding: 8px 13px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: background .15s, color .15s; white-space: nowrap; background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav-link:hover { background: var(--dn-accent-soft); color: var(--primary); }
.nav-link.on { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
.nav-more { position: relative; }
.nav-more > .nav-link { display: inline-flex; align-items: center; gap: 6px; }
.nav-more .caret { transition: transform .18s; }
.nav-more.open .caret { transform: rotate(180deg); }
.nav-dropdown { position: absolute; top: calc(100% + 8px); right: 0; min-width: 240px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 6px; display: grid; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none; transition: opacity .16s, transform .16s, visibility .16s; animation: dd-in .16s ease; }
.nav-more.open .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.nav-dropdown a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--ink-2); transition: background .12s, color .12s; }
.nav-dropdown a:hover { background: var(--primary-soft); color: var(--primary); }
.nav-dropdown a.on { background: var(--primary-soft); color: var(--primary); }
.nav-dropdown .dd-ico { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: var(--surface-2); color: var(--ink-2); flex-shrink: 0; }
.nav-dropdown a.on .dd-ico { background: rgba(var(--primary-rgb), .1); color: var(--primary); }
.nav-dropdown .dd-ico svg { width: 16px; height: 16px; }
.nav-dropdown hr { border: 0; border-top: 1px solid var(--line-2); margin: 6px 4px; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 1; min-width: 0; }
.alert-wrap { position: relative; }
.icon-btn { width: 40px; height: 40px; display: inline-flex; place-items: center; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink-2); cursor: pointer; transition: background .15s, color .15s; position: relative; align-items: center; justify-content: center; }
.icon-btn:hover { border-color: var(--primary-line); background: var(--surface-2); }
.alert-dot { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; display: grid; place-items: center; background: var(--amber); color: var(--dn-on-accent); font-size: 11px; font-weight: 800; border-radius: 999px; border: 2px solid #fff; }
.alert-panel { position: absolute; top: calc(100% + 10px); right: 0; width: 320px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; z-index: 60; }
.alert-panel-h { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); padding: 8px 12px 6px; }
.alert-item { display: grid; gap: 2px; padding: 10px 12px; border-radius: 10px; transition: background .15s; align-items: center; }
.alert-item:hover { background: var(--surface-2); }
.alert-item b { font-size: 14px; font-weight: 700; }
.alert-item span { font-size: 13px; color: var(--muted); }
.user-chip { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 15px; font-weight: 800; border: 0; overflow: hidden; flex-shrink: 0; cursor: pointer; font-family: inherit; }
.user-chip img { width: 100%; height: 100%; object-fit: cover; }
.top-search { position: relative; flex-shrink: 1; min-width: 148px; }
.top-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); pointer-events: none; }
.top-search input { width: 172px; max-width: 100%; height: 40px; padding: 0 14px 0 36px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-2); font-family: inherit; font-size: 14px; color: var(--ink); transition: width .2s, border-color .15s, background .15s; }
.top-search input::placeholder { color: var(--faint); }
.top-search input:focus { width: 208px; outline: none; border-color: var(--primary-line); background: var(--surface); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 20px; border: 1px solid transparent; border-radius: 12px; background: var(--primary); color: var(--dn-on-accent); font-family: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .15s, transform .1s, box-shadow .15s, border-color .15s, color .15s; text-align: center; }
.btn:hover { background: var(--primary-2); box-shadow: none; transform: none; }
.btn:active { transform: none; }
@media (max-width: 640px) {
  .btn { white-space: normal; height: auto; min-height: 42px; padding: 9px 20px; color: var(--dn-on-accent); }
}
.btn-ghost { background: var(--surface); color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); border-color: var(--primary-line); box-shadow: none; }
.btn-soft { background: var(--primary-soft); color: var(--primary); border-color: transparent; }
.btn-soft:hover { background: var(--dn-accent-soft); box-shadow: none; }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #E8604C; box-shadow: none; }
.btn-danger-soft { background: var(--danger-soft); color: var(--danger); }
.btn-danger-soft:hover { background: rgba(232, 96, 76, .26); color: var(--danger); box-shadow: none; }
.btn-sm { height: 34px; padding: 0 13px; font-size: 13px; border-radius: 10px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 16px; border-radius: 14px; }
.btn-amber { background: var(--amber); color: var(--dn-on-accent); }
.btn-amber:hover { background: var(--amber-2); color: var(--dn-on-accent); }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13.5px; font-weight: 700; color: var(--ink-2); transition: all .15s; line-height: 1; }
.chip:hover { border-color: var(--primary-line); color: var(--primary); }
.chip.on { background: var(--primary); border-color: var(--primary); color: var(--dn-on-accent); }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--ink-2); line-height: 1; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-danger { background: var(--danger-soft); color: var(--danger); }
.badge-amber { background: var(--amber-soft); color: var(--amber-2); }
.badge-primary { background: var(--primary-soft); color: var(--primary); }
.badge-info { background: var(--info-soft); color: var(--info); }
.dot { width: 10px; height: 10px; border-radius: 999px; flex-shrink: 0; }
input:not([type]) { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 10px 14px; font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; min-height: 44px; }
input[type="text"] { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 10px 14px; font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; min-height: 44px; }
input[type="search"] { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 10px 14px; font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; min-height: 44px; }
input[type="email"] { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 10px 14px; font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; min-height: 44px; }
input[type="password"] { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 10px 14px; font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; min-height: 44px; }
input[type="number"] { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 10px 14px; font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; min-height: 44px; }
input[type="date"] { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 10px 14px; font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; min-height: 44px; }
input[type="time"] { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 10px 14px; font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; min-height: 44px; }
input[type="tel"] { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 10px 14px; font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; min-height: 44px; }
input[type="url"] { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 10px 14px; font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; min-height: 44px; }
select { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 10px 14px; font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; min-height: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2368746E' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }
textarea { width: 100%; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface); padding: 10px 14px; font-family: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: border-color .15s, box-shadow .15s; appearance: none; min-height: 96px; resize: vertical; line-height: 1.5; }
input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); }
select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); }
textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field > label { font-size: 13px; font-weight: 700; color: var(--ink-2); letter-spacing: 0; }
.field .hint { font-size: 12px; color: var(--faint); line-height: 1.45; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
input[type="radio"] { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 12px; cursor: pointer; }
.flash-wrap { max-width: 1140px; margin: 16px auto 0; padding: 0 24px; display: grid; gap: 8px; }
.flash { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: var(--r-md); font-size: 14px; font-weight: 600; border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); box-shadow: var(--shadow-sm); }
.flash::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--info); flex-shrink: 0; }
.flash-success { background: var(--ok-soft); border-color: rgba(99, 217, 184, .38); color: var(--dn-ok); }
.flash-success::before { background: var(--ok); }
.flash-error { background: var(--danger-soft); border-color: rgba(232, 96, 76, .38); color: var(--dn-danger); }
.flash-warning { background: var(--danger-soft); border-color: rgba(232, 96, 76, .38); color: var(--dn-danger); }
.flash-error::before { background: var(--danger); }
.flash-warning::before { background: var(--danger); }
.main { max-width: 1140px; margin: 0 auto; padding: 28px 24px 96px; min-height: calc(100vh - 320px); }
.page-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.cols2 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.cols2 > .col-main { min-width: 0; display: grid; gap: 20px; }
.cols2 > .col-side { display: grid; gap: 20px; }
.stack { display: grid; gap: 20px; }
.section-gap { height: 20px; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat-grid > * { min-width: 0; }
.stat-card { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 0; border-radius: var(--r-md); padding: 16px 18px; box-shadow: var(--shadow-card); min-height: 84px; }
.stat-ico { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; flex-shrink: 0; background: var(--primary-soft); color: var(--primary); flex: 0 0 42px; }
.stat-ico svg { width: 21px; height: 21px; }
.stat-card .stat-n { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-card .stat-l { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.stat-card.accent { background: linear-gradient(135deg, var(--primary), var(--indigo-deep)); border: 0; color: #fff; }
.stat-card.accent .stat-ico { background: rgba(255, 255, 255, .16); color: var(--sun2); }
.stat-card.accent .stat-l { color: rgba(255, 255, 255, .75); }
.empty { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 28px 16px; color: var(--muted); font-size: 14px; }
.empty .empty-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--surface-2); border: 0; color: var(--faint); margin-bottom: 8px; }
.empty .empty-ico svg { width: 24px; height: 24px; }
.empty b { color: var(--ink-2); font-size: 15px; font-weight: 700; }
.empty .btn { margin-top: 14px; }
.kid-av { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 16px; flex-shrink: 0; overflow: hidden; }
.kid-av.xl { width: 76px; height: 76px; font-size: 30px; border-radius: 22px; box-shadow: none; }
.kid-av img { width: 100%; height: 100%; object-fit: cover; }
.list-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line-2); }
.list-row:last-child { border-bottom: 0; }
.list-row b { font-weight: 700; font-size: 14.5px; }
.list-row .row-main { flex: 1; min-width: 0; }
.list-row .row-sub { font-size: 13px; color: var(--muted); margin-top: 1px; }
.row-btns { display: flex; gap: 8px; align-items: center; flex-shrink: 0; margin-left: auto; }
.goal-badge { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; flex-shrink: 0; }
.goal-done { background: var(--ok-soft); color: var(--ok); }
.pip-row { display: inline-flex; gap: 4px; }
.pip { width: 8px; height: 8px; border-radius: 999px; background: var(--line); }
.pip.on { background: var(--amber); }
.bar { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--indigo-deep)); transition: width .45s cubic-bezier(.22, 1, .36, 1); }
.top-search input[type="search"] { height: 40px; padding: 0 14px 0 36px; border-radius: 12px; background: var(--surface-2); font-size: 14px; }
.top-search input[type="search"]:focus { width: 208px; background: var(--surface); border-color: var(--primary-line); }
.bottom-nav { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; background: rgba(27, 35, 88, .93); backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); grid-auto-flow: column; grid-auto-columns: 1fr; padding-bottom: max(6px, env(safe-area-inset-bottom)); border-top-color: #3A4387; }
.bottom-nav a { display: grid; justify-items: center; gap: 3px; padding: 6px 2px; border-radius: 12px; font-size: 10.5px; font-weight: 700; color: var(--faint); }
.bottom-nav a.on { color: var(--dn-accent-deep); font-weight: 800; }
.bottom-nav svg { width: 21px; height: 21px; }
.sheet-nav { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 99; background: var(--surface); border-radius: 24px 24px 0 0; box-shadow: var(--shadow-lg); padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateY(110%); transition: transform .26s cubic-bezier(.32, .72, .28, 1); }
.sheet-nav.open { transform: translateY(0); }
.sheet-nav .sheet-grip { width: 44px; height: 5px; border-radius: 999px; background: var(--line); margin: 0 auto 14px; }
.sheet-nav .sheet-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sheet-nav a { display: grid; justify-items: center; gap: 6px; padding: 13px 6px; border-radius: 14px; background: var(--surface-2); font-size: 12px; font-weight: 700; color: var(--ink-2); min-width: 0; overflow-wrap: anywhere; text-align: center; }
.sheet-nav a.on { background: var(--primary-soft); color: var(--primary); }
.sheet-nav svg { width: 20px; height: 20px; }
.site-footer { border-top: 1px solid var(--line-2); background: #1B2358; color: var(--dust); margin-top: 0; border-top-color: #3A4387; }
body.landing { background: var(--bg); }
body.landing .main { padding: 0; max-width: none; }
body.pricing-page .main { padding: 0; max-width: none; }
body.app-page .main { padding: 0; max-width: none; }
body.pres .main { padding: 0; max-width: none; }
.hero { position: relative; overflow: hidden; --hill-1: rgba(58,67,135,.45); --hill-2: rgba(42,52,121,.26); }
.hero-inner { position: relative; max-width: 1140px; margin: 0 auto; padding: 92px 24px 76px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 0; border-radius: 999px; background: none; border: 0; color: var(--amber-2); font-size: 12.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--amber); }
.hero h1 { font-size: 46px; line-height: 1.08; letter-spacing: -.03em; max-width: 15ch; }
.hero h1 .hl { color: var(--primary); position: relative; white-space: nowrap; }
.hero .lead { margin-top: 20px; font-size: 17px; line-height: 1.62; color: var(--muted); max-width: 50ch; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-note { display: flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.hero-note svg { color: var(--ok); flex-shrink: 0; }
@media (max-width: 480px) {
  .header-actions .btn-sm { padding: 9px 12px; font-size: 13px; }
}
.hero-visual { position: relative; }
.mock-tags { display: flex; gap: 6px; margin-top: 5px; flex-wrap: wrap; }
.mock-tags span { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.mock-float { position: absolute; top: -18px; right: -6px; background: #1B2358; color: #fff; border-radius: 14px; padding: 10px 16px; font-size: 12.5px; font-weight: 700; box-shadow: var(--shadow-lg); display: none !important; align-items: center; gap: 8px; }
.mock-float svg { color: var(--gold-lit); }
.section { padding: 46px 0; }
.section .wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section.tint { background: var(--surface); border-block: 1px solid var(--line-2); }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-2); margin-bottom: 10px; }
.section-head .kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--amber); flex: none; }
.section-head h2 { font-size: 30px; letter-spacing: -.025em; line-height: 1.16; max-width: 22ch; }
.section-head p { margin-top: 10px; font-size: 15.5px; color: var(--muted); line-height: 1.6; }
.compare-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-sm); scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.compare td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.compare thead th { background: var(--surface-2); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 2px solid var(--line); }
.compare thead th.us { color: var(--primary); background: var(--primary-soft); }
.compare td.us { background: var(--primary-soft); font-weight: 600; box-shadow: inset 2px 0 0 var(--primary-line), inset -2px 0 0 var(--primary-line); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .rowname { font-weight: 700; color: var(--ink-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.step-card { background: none; border: 0; border-radius: 0; padding: 22px 22px 0 0; position: relative; border-top: 2px solid var(--line); }
.step-num { width: auto; height: auto; display: grid; place-items: center; border-radius: 13px; background: none; color: var(--amber-2); font-weight: 800; font-size: 13px; margin-bottom: 12px; letter-spacing: .1em; text-transform: uppercase; }
.step-card h3 { margin-bottom: 8px; font-size: 16.5px; }
.step-card p { font-size: 14px; color: var(--muted); line-height: 1.58; }
.cta-band { background: linear-gradient(140deg, var(--indigo-deep), #232C6E); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 44px 40px 40px; text-align: center; color: #fff; position: relative; overflow: hidden; box-shadow: none; }
.cta-band h2 { color: #fff; font-size: 34px; letter-spacing: -.025em; }
.cta-band p { margin: 14px auto 30px; max-width: 54ch; color: rgba(255, 255, 255, .86); font-size: 16px; }
.cta-band .kicker { color: var(--gold-lit); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 auto 10px; }
.cta-band .hero-cta { justify-content: center; margin-top: 0; position: relative; }
.cta-band .btn { background: var(--gold-lit); color: var(--dn-on-accent); }
.cta-band .btn:hover { background: var(--sun2); box-shadow: none; }
.cta-band .btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .38); }
.cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .2); color: #fff; border-color: rgba(255, 255, 255, .55); box-shadow: none; }
.cta-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; position: relative; }
.cta-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .82); }
.cta-trust svg { color: var(--gold-lit); flex-shrink: 0; }
body.auth .main { display: grid; place-items: start center; padding-top: 64px; max-width: none; background: radial-gradient(900px 480px at 88% -8%, rgba(var(--amber-rgb), .12), transparent 62%), radial-gradient(760px 420px at -6% 104%, rgba(var(--primary-rgb), .08), transparent 58%); }
.auth-card { width: 100%; max-width: 440px; background: var(--surface); border: 0; border-radius: 24px; box-shadow: var(--shadow-card); padding: 36px 34px; }
.auth-card .auth-ico { width: 56px; height: 56px; border-radius: 18px; background: var(--primary-soft); display: grid; place-items: center; margin-bottom: 18px; color: var(--primary); }
.auth-card h1 { font-size: 24px; margin-bottom: 6px; }
.auth-card .auth-sub { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.auth-alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); font-size: 14px; color: var(--muted); text-align: center; }
.auth-alt a { color: var(--primary); font-weight: 700; }
.auth-alt a:hover { text-decoration: underline; }
.kids-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.today-list { display: grid; gap: 8px; }
.today-row { display: flex; align-items: center; gap: 13px; padding: 12px 14px; background: var(--surface-2); border: 0; border-radius: var(--r-md); transition: border-color .15s, background .15s; }
.today-row:hover { border-color: var(--primary-line); background: var(--surface-2); border: 0; box-shadow: none; }
.today-time { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 14px; color: var(--primary); background: var(--primary-soft); padding: 6px 10px; border-radius: 10px; flex-shrink: 0; }
.today-main { flex: 1; min-width: 0; }
.today-main b { font-size: 14.5px; display: block; }
.today-main .t-sub { font-size: 12.5px; color: var(--muted); }
.today-main .packing-line { font-size: 12px; color: var(--amber-2); font-weight: 600; margin-top: 2px; }
.where-badge { flex-shrink: 0; font-size: 11.5px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); margin-top: 2px; }
.where-badge.soon { background: var(--info-soft); color: var(--info); }
.pill-strip { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-stat { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 0; border-radius: 999px; padding: 8px 16px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); box-shadow: var(--shadow-card); }
.pill-stat svg { color: var(--amber-2); }
.pill-stat b { color: var(--primary); }
.pill-stat.ok b { color: var(--ok); }
.pill-stat.miss b { color: var(--danger); }
.load-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.load-day { display: grid; gap: 6px; justify-items: center; padding: 10px 4px 8px; border-radius: var(--r-md); border: 0; background: transparent; }
.load-day.today { background: var(--amber-soft); border-color: rgba(246, 196, 82, .38); border: 0; }
.ld-bar-wrap { height: 56px; width: 100%; max-width: 34px; display: flex; align-items: flex-end; }
.ld-bar { width: 100%; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--dn-accent), var(--primary)); min-height: 4px; }
.ld-h { font-size: 12px; font-weight: 800; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.ld-l { font-size: 11px; font-weight: 700; color: var(--faint); }
.lba-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.lba-name { font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lba-bar-wrap { display: flex; align-items: center; gap: 10px; }
.lba-bar { flex: 1; height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.lba-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), var(--indigo-deep)); }
.lba-target { font-size: 11.5px; color: var(--faint); font-weight: 600; white-space: nowrap; }
.lba-h { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.evening-list { display: grid; gap: 8px; }
.evening-row { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 0; background: var(--surface-2); border-radius: var(--r-md); font-size: 14.5px; font-weight: 600; transition: all .15s; }
.evening-check { width: 26px; height: 26px; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); color: #fff; font-size: 13px; font-weight: 800; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; transition: all .15s; padding: 0; line-height: 1; }
.evening-row.is-done { background: var(--ok-soft); border-color: rgba(99, 217, 184, .38); color: var(--dn-ok); border: 0; }
.evening-row.is-done .evening-check { background: var(--ok); border-color: var(--ok); }
.board-input-row { display: flex; gap: 10px; margin-bottom: 14px; }
.board-input-row input { flex: 1 1 0; min-width: 0; }
.board-row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.board-row:last-child { border-bottom: 0; }
.board-row .b-when { margin-left: auto; font-size: 12px; color: var(--faint); white-space: nowrap; }
.bday-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.bday-row:last-child { border-bottom: 0; }
.bday-ico { width: 34px; height: 34px; border-radius: 11px; background: var(--amber-soft); display: grid; place-items: center; color: var(--amber-2); flex-shrink: 0; }
.budget-row { display: flex; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.budget-row:last-child { border-bottom: 0; }
.budget-row b { font-variant-numeric: tabular-nums; }
.idea-area { font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.idea-done-label { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-size: 12.5px; font-weight: 800; color: var(--dn-ok); background: rgba(87,196,166,.14); border: 1px solid rgba(87,196,166,.35); border-radius: 999px; padding: 6px 12px; }
.idea-done-label svg { flex: none; }
.quiet-banner { display: flex; align-items: center; gap: 10px; background: var(--primary-soft); border: 0; color: var(--primary); border-radius: var(--r-md); padding: 11px 16px; font-size: 14px; margin-bottom: 16px; }
.quiet-banner svg { flex-shrink: 0; }
.week-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; align-items: start; }
.week-col { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 10px; min-height: 130px; }
.week-col.today-col { border-color: var(--amber); box-shadow: none; }
.wc-head { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 4px 8px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px; }
.wc-day { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.week-col.today-col .wc-day { color: var(--amber-2); }
.wc-date { font-size: 12px; font-weight: 700; color: var(--faint); }
.wc-slot { display: grid; gap: 2px; border-radius: 10px; padding: 8px 10px; margin-bottom: 6px; border-left: 3px solid var(--ac, var(--primary)); background: color-mix(in srgb, var(--ac, var(--primary)) 8%, var(--surface)); }
.wc-slot b { font-size: 12.5px; line-height: 1.3; }
.wc-slot .s-time { font-size: 11.5px; font-weight: 800; color: var(--ink-2); font-variantnumeric: tabular-nums; }
.wc-slot .s-child { font-size: 11px; color: var(--muted); font-weight: 600; }
.wc-empty { font-size: 12px; color: var(--faint); text-align: center; padding: 14px 4px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; gap: 12px; flex-wrap: wrap; }
.cal-title { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.cal-nav { display: flex; gap: 8px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); text-align: center; padding: 6px 0; }
.cal-cell { min-height: 86px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s; }
.cal-cell:hover { border-color: var(--primary-line); }
.cal-cell.pad { background: transparent; border-color: transparent; }
.cal-cell.other { opacity: .55; }
.cal-cell.today { border-color: var(--amber); box-shadow: none; }
.cal-num { font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.cal-ev { font-size: 11px; font-weight: 700; line-height: 1.25; padding: 3px 7px; border-radius: 6px; background: color-mix(in srgb, var(--ac, var(--primary)) 12%, var(--surface)); color: var(--ink-2); border-left: 3px solid var(--ac, var(--primary)); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-ev.mood-sad { background: var(--danger-soft); border-left-color: var(--danger); }
.cal-legend { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 14px; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.cal-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.index-ring { width: 108px; height: 108px; border-radius: 999px; display: grid; place-items: center; position: relative; background: radial-gradient(closest-side, var(--indigo-deep) 82%, transparent 83% 100%), conic-gradient(var(--gold-lit) calc(var(--pct, 0) * 1%), rgba(255, 255, 255, .16) 0); }
.index-ring .ir-val { font-size: 30px; font-weight: 800; position: relative; }
.index-ring .ir-cap { position: absolute; bottom: 16px; font-size: 9.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ih-lines { display: grid; grid-template-columns: repeat(4, auto); gap: 8px 22px; justify-content: start; }
.ih-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .82); }
.ih-line b { color: var(--gold-lit); font-size: 15px; font-variant-numeric: tabular-nums; }
.heat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.heat-dow { font-size: 11px; font-weight: 800; text-align: center; color: var(--faint); padding-bottom: 2px; }
.heat-cell { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--faint); background: var(--surface-2); border: 1px solid var(--line-2); position: relative; }
.heat-cell.ghost { visibility: hidden; }
.heat-cell.lv0 { background: var(--surface-2); }
.heat-cell.lv1 { background: var(--dn-accent-soft); color: var(--dn-ok); border-color: transparent; }
.heat-cell.lv2 { background: rgba(125, 155, 240, .32); color: var(--primary); border-color: transparent; }
.heat-cell.lv3 { background: rgba(125, 155, 240, .55); color: #151B45; border-color: transparent; }
.heat-cell.lv4 { background: var(--primary); color: #151B45; border-color: transparent; }
.heat-cell.miss { background: var(--danger-soft); color: var(--danger); border-color: rgba(232, 96, 76, .38); }
.heat-cell.today-cell { outline: 3px solid rgba(var(--amber-rgb), .5); outline-offset: 1px; }
.day-strip { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; }
.day-chip { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 10px 8px; display: grid; gap: 3px; justify-items: center; text-align: center; }
.day-chip.future { opacity: .5; }
.day-chip.today { border-color: var(--amber); background: var(--amber-soft); }
.day-chip .dc-dow { font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.day-chip .dc-num { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.day-chip .dc-sub { font-size: 11px; color: var(--muted); font-weight: 600; }
.mood-pick { display: flex; gap: 8px; flex-wrap: wrap; }
.mood-btn { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; transition: all .15s; font-family: inherit; }
.mood-btn:hover { border-color: var(--primary-line); background: var(--surface-2); }
.mood-btn .m-emoji { font-size: 17px; }
.mood-btn.on { background: var(--primary); border-color: var(--primary); color: var(--dn-on-accent); }
.mood-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.mood-row:last-child { border-bottom: 0; }
.mood-emoji-lg { font-size: 22px; width: 40px; text-align: center; flex-shrink: 0; }
.mood-scale { flex: 1; height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.mood-scale i { display: block; height: 100%; border-radius: 999px; }
.rate-pill { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; background: var(--ok-soft); color: var(--ok); font-size: 13px; font-weight: 700; border-radius: 999px; padding: 6px 14px; }
.area-mini { display: grid; gap: 8px; margin-top: 14px; max-width: 420px; }
.area-mini-item { display: grid; grid-template-columns: 170px 1fr; gap: 10px; align-items: center; }
.area-mini-item.has-value { grid-template-columns: 170px 1fr 64px; }
.area-mini-label { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.area-mini-bar { height: 7px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.area-mini-bar i { display: block; height: 100%; border-radius: 999px; background: var(--ac, var(--primary)); }
.kid-card { background: var(--dn-surface); border: 0; border-radius: 24px; padding: 18px; display: block; gap: 15px; align-items: flex-start; box-shadow: 0 8px 22px rgba(125, 155, 240, .08); transition: none; position: static; margin-bottom: 16px; transform: none; }
.kid-card:hover { transform: none; box-shadow: 0 8px 22px rgba(125, 155, 240, .08); border-color: transparent; }
.feed { display: grid; gap: 0; position: relative; }
.feed-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 14px 0; position: relative; }
.feed-item:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 58px; bottom: -2px; width: 2px; background: var(--line-2); border-radius: 2px; }
.feed-ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ink-2); z-index: 1; }
.feed-ico svg { width: 19px; height: 19px; }
.feed-ico.tone-ok { background: var(--ok-soft); border-color: rgba(99, 217, 184, .38); color: var(--ok); }
.feed-ico.tone-amber { background: var(--amber-soft); border-color: rgba(246, 196, 82, .38); color: var(--amber-2); }
.feed-ico.tone-info { background: var(--info-soft); border-color: rgba(125, 155, 240, .38); color: var(--info); }
.feed-body b { font-size: 14.5px; }
.feed-body .f-meta { font-size: 12.5px; color: var(--faint); margin-top: 2px; }
.feed-body .f-text { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.skill-area-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.skill-area-dot { width: 12px; height: 12px; border-radius: 4px; background: var(--ac); }
.skill-row-card { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.skill-row-card:last-child { border-bottom: 0; }
.skill-row-card .s-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 600; }
.skill-row-card .s-child { font-size: 11.5px; color: var(--faint); display: block; }
.contact-card { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 16px; display: grid; gap: 6px; box-shadow: var(--shadow-sm); }
.contact-card .c-top { display: flex; align-items: center; gap: 10px; }
.contact-card .c-name { font-weight: 800; font-size: 15px; }
.contact-card .c-kind { margin-left: auto; }
.contact-card .c-phone { font-size: 15px; font-weight: 700; color: var(--primary); }
.contact-card .c-note { font-size: 13px; color: var(--muted); }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.setting-row:last-child { border-bottom: 0; }
.setting-row .s-info { flex: 1; min-width: 220px; }
.setting-row .s-info b { display: block; font-size: 14.5px; }
.setting-row .s-info span { font-size: 13px; color: var(--muted); }
.code-box { display: inline-flex; align-items: center; gap: 10px; background: var(--surface-2); border: 0; border-radius: var(--r-md); padding: 10px 16px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 17px; font-weight: 700; letter-spacing: .12em; color: var(--primary); }
.danger-zone { border: 1px solid rgba(232, 96, 76, .38); background: var(--dn-danger-soft); border-radius: var(--r-md); padding: 16px; }
.danger-zone h3 { color: var(--danger); margin-bottom: 6px; }
.danger-zone p { font-size: 13.5px; color: var(--muted); margin-bottom: 12px; }
.search-hit { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px solid var(--line-2); font-size: 14.5px; }
.search-hit:last-child { border-bottom: 0; }
.search-hit:hover b { color: var(--primary); }
.search-hit .sh-where { margin-left: auto; font-size: 12px; color: var(--faint); white-space: nowrap; }
.actions-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.packing-list { font-size: 12px; color: var(--amber-2); font-weight: 600; margin-top: 2px; }
.note-body { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.link-more { font-size: 13.5px; font-weight: 700; color: var(--dn-accent-deep); display: inline-flex; align-items: center; gap: 4px; }
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.qa-row { display: flex; gap: 10px; flex-wrap: wrap; }
.qa-row .btn { flex: 0 0 auto; }
.inline-form { display: inline; }
.w-full { width: 100%; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 56px; }
  .hero h1 { font-size: 38px; }
  .steps { grid-template-columns: 1fr; }
  .cols2 { grid-template-columns: minmax(0, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .main-nav .nav-link { padding: 8px 9px; font-size: 13.5px; }
  .top-search { display: none; }
}
@media (max-width: 860px) {
  .main-nav { display: flex; }
  .bottom-nav { display: none; background: rgba(27, 35, 88, .93); border-top-color: #3A4387; }
  .sheet-nav { display: none; }
  .main { padding-bottom: 96px; }
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .week-grid { grid-template-columns: minmax(0, 1fr); }
  .week-col { min-height: 0; }
  .heat-grid { grid-template-columns: repeat(7, 1fr); gap: 4px; }
  .day-strip { grid-template-columns: repeat(7, 1fr); gap: 4px; }
  .ih-lines { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 22px 36px; border-radius: 24px; }
  .cta-band h2 { font-size: 26px; }
  .cta-trust { gap: 8px 18px; }
  .hero h1 { font-size: 32px; }
  .cal-cell { min-height: 64px; padding: 5px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .area-mini-item { grid-template-columns: 120px 1fr; }
}
@media (max-width: 560px) {
  .main { padding-left: 16px; padding-right: 16px; }
  .hero-inner { padding-left: 16px; padding-right: 16px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-card { padding: 12px; gap: 10px; }
  .stat-ico { width: 38px; height: 38px; border-radius: 11px; }
  .stat-card .stat-n { font-size: 21px; }
  h1 { font-size: 24px; }
  .day-chip .dc-num { font-size: 14px; }
  .cal-grid { gap: 3px; }
  .cal-cell { border-radius: 8px; min-height: 52px; }
  .cal-ev { font-size: 9px; padding: 2px 4px; }
  .cal-num { font-size: 10.5px; }
  .alert-panel { width: min(320px, calc(100vw - 32px)); right: -60px; }
  .lba-row { grid-template-columns: 96px 1fr auto; }
}
@media print {
  .site-header { display: none !important; background: rgba(27, 35, 88, .88); border-bottom-color: #3A4387; }
  .bottom-nav { display: none !important; background: rgba(27, 35, 88, .93); border-top-color: #3A4387; }
  .site-footer { display: none !important; background: #1B2358; border-top-color: #3A4387; color: var(--dust); }
  .flash-wrap { display: none !important; }
  .page-actions { display: none !important; }
  .actions-row { display: none !important; }
  .no-print { display: none !important; }
  body { background: var(--surface); }
  .main { padding: 0; }
}
.approve-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line-2); }
.approve-row:last-child { border-bottom: 0; }
.reward-ico { width: 40px; height: 40px; border-radius: 13px; background: var(--amber-soft); display: grid; place-items: center; font-size: 21px; flex-shrink: 0; }
.task-card { background: var(--surface); border-radius: var(--r-lg, 18px); padding: 12px 16px; display: flex; align-items: center; gap: 12px; margin-bottom: 10px; border: 0; box-shadow: var(--shadow-card); }
.task-card.is-off { opacity: .55; }
.task-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--surface-2); display: grid; place-items: center; font-size: 22px; flex-shrink: 0; }
.task-main { flex: 1; min-width: 0; }
.task-main b { font-size: 14.5px; }
.task-points { font-weight: 800; font-size: 15px; color: var(--amber-2); background: var(--amber-soft); border-radius: 12px; padding: 6px 12px; white-space: nowrap; }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.store-card { background: var(--surface); border-radius: var(--r-lg, 18px); border: 0; box-shadow: var(--shadow-card); padding: 18px; display: grid; justify-items: center; gap: 6px; text-align: center; }
.store-ico { width: 56px; height: 56px; border-radius: 18px; background: var(--amber-soft); display: grid; place-items: center; font-size: 28px; }
.store-title { font-size: 14.5px; }
.store-kind { color: var(--faint); font-size: 12px; font-weight: 700; }
.store-desc { color: var(--faint); font-size: 12.5px; margin: 0; }
.store-cost { font-weight: 800; color: var(--amber-2); font-size: 16px; }
.goal-add-n { width: 76px; flex: 0 1 76px; min-width: 0; padding-left: 10px; padding-right: 10px; text-align: center; border-color: var(--line); background: var(--surface); }
.how-list { margin: 0; padding-left: 18px; display: grid; gap: 9px; font-size: 13.5px; color: var(--dn-ink-2); padding: 0; list-style: none; counter-reset: how; }
.how-list li::marker { color: var(--amber, var(--amber)); font-weight: 800; }
.cnt-amber { background: var(--amber-soft); color: var(--amber-2); }
.hw-dot { width: 12px; height: 12px; border-radius: 4px; flex-shrink: 0; }
.list-row.overdue { background: var(--dn-danger-soft); border-radius: 12px; margin: 4px -8px; padding: 12px 12px; }
.slot-strip { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px; margin-top: 10px; background: var(--surface-2); border: 0; border-radius: var(--r-md); align-items: center; }
.slot-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--surface); border-radius: 999px; padding: 0 6px 0 12px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); height: 30px; border: 1px solid var(--line); line-height: 1; }
.slot-chip .inline { display: inline; }
.slot-chip form { margin: 0; }
.slot-chip button { border: 0; background: none; cursor: pointer; color: var(--faint); font-size: 13px; padding: 0; }
.slot-add-form { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.slot-add-form .mini { width: auto; }
input.mini { padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 13px; background: var(--surface); width: auto; min-height: 0; height: 34px; font-weight: 600; transition: border-color .15s, box-shadow .15s; }
select.mini { padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 13px; background: var(--surface); width: auto; min-height: 0; height: 34px; font-weight: 600; transition: border-color .15s, box-shadow .15s; padding-right: 30px; background-position: right 8px center; background-size: 12px; }
.readiness-form select.mini { font-weight: 700; }
.sd-batt { display: flex; align-items: center; gap: 10px; }
.sd-icon { font-size: 26px; }
.sd-batt b { font-size: 16px; }
.sd-batt.sd-low b { color: var(--danger); }
.sd-batt.sd-ok b { color: var(--dn-ok); }
.zone-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.zone-row:last-of-type { border-bottom: 0; }
.zone-ico { width: 40px; height: 40px; border-radius: 13px; background: var(--ok-soft); display: grid; place-items: center; font-size: 19px; flex-shrink: 0; }
.cmd-details { border-top: 1px solid var(--line-2); padding-top: 10px; margin-top: 10px; }
.cmd-details summary { cursor: pointer; font-weight: 800; font-size: 13.5px; color: var(--faint); }
.cmd-details summary:hover { color: var(--primary, var(--primary)); }
.token-box { background: #1B2358; color: #AAB6E8; border-radius: 12px; padding: 11px 14px; font-size: 13px; overflow-x: auto; margin-top: 10px; }
.notif-row.unread { background: var(--surface-2); border-radius: 12px; }
.notif-ico { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-size: 18px; flex-shrink: 0; background: var(--surface-2); }
.notif-ico.notif-task { background: var(--ok-soft); }
.notif-ico.notif-reward { background: var(--amber-soft); }
.notif-ico.notif-zone { background: var(--info-soft); }
.notif-ico.notif-device { background: var(--danger-soft); }
.notif-ico.notif-school { background: var(--dn-accent-soft); }
.notif-ico.notif-mood { background: var(--dn-warm-soft); }
.alert-dot-hot { background: var(--danger); color: var(--dn-on-accent); }
.alert-all { display: block; text-align: center; font-weight: 800; font-size: 12.5px; color: var(--amber-2); border-top: 1px solid var(--line); margin-top: 6px; padding: 10px 0 4px; text-decoration: none; }
.dd-badge { background: var(--danger); color: var(--dn-on-accent); border-radius: 9px; font-size: 10.5px; padding: 1px 6px; margin-left: 4px; }
.check-line { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; margin: 8px 0; }
.field-hint { color: var(--faint); font-size: 12.5px; margin: 5px 0 0; font-weight: 600; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) {
  .field-grid { grid-template-columns: 1fr; }
  .approve-row { flex-wrap: wrap; }
  .row-btns { flex-shrink: 1; flex-wrap: wrap; }
}
.social-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.social-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.social-aside { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 980px) {
  .social-layout { grid-template-columns: minmax(0, 1fr); }
  .social-aside { position: static; order: 2; }
}
.mini-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; white-space: nowrap; transition: background .15s, color .15s; }
a.mini-chip:hover { background: var(--primary); color: var(--dn-on-accent); }
.s-avatar { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0; font-size: 15px; font-weight: 800; letter-spacing: .02em; color: #fff; user-select: none; }
.s-avatar-xs { width: 30px; height: 30px; font-size: 12px; }
.s-avatar-me { background: linear-gradient(135deg, var(--primary) 0%, var(--indigo-deep) 100%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.18); }
.composer { padding: var(--card-pad); }
.composer-row { display: flex; gap: var(--sp-3); align-items: flex-start; }
.composer textarea { width: 100%; border: 0; background: var(--surface-2); border-radius: var(--r-md); padding: 12px 14px; font: inherit; font-size: 15px; color: var(--ink); resize: none; min-height: 48px; transition: background .15s, box-shadow .15s; }
.composer textarea:focus { outline: none; background: var(--surface); box-shadow: 0 0 0 2px var(--primary-line); }
.composer textarea::placeholder { color: var(--faint); }
.composer-extra { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); display: grid; gap: 12px; }
.composer-tags { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.composer-tags-label { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.tag-list { display: flex; gap: 6px; flex-wrap: wrap; }
.tag-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; user-select: none; transition: all .15s; }
.tag-chip input { position: absolute; opacity: 0; pointer-events: none; }
.tag-chip:has(input:checked) { background: var(--primary); border-color: var(--primary); color: var(--dn-on-accent); }
.file-previews { display: flex; gap: 6px; flex-wrap: wrap; }
.composer-actions { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.composer-submit { margin-left: auto; }
.tool-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink-2); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all .15s; }
.tool-btn:hover { background: var(--primary-soft); border-color: var(--primary-line); color: var(--primary); }
@media (max-width: 560px) {
  .tool-btn span { display: none; }
  .tool-btn { padding: 0 11px; }
}
.post { padding: var(--card-pad-lg); }
.post-head { display: flex; align-items: center; gap: var(--sp-3); }
.post-who { display: grid; gap: 1px; min-width: 0; }
.post-who b { font-size: 14.5px; font-weight: 800; }
.post-time { font-size: 12.5px; color: var(--faint); font-weight: 600; }
.pin-label { color: var(--amber-2); }
.post-kids { display: flex; gap: 5px; margin-left: 4px; flex-wrap: wrap; }
.post-tools { margin-left: auto; display: flex; gap: 2px; }
.post-tool { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; border: 0; background: none; color: var(--faint); cursor: pointer; transition: all .15s; }
.post-tool:hover { background: var(--surface-2); color: var(--ink); }
.post-text { margin-top: 12px; font-size: 15px; line-height: 1.6; overflow-wrap: break-word; }
.post-text p { margin: 0 0 8px; }
.post-text p:last-child { margin-bottom: 0; }
.pm-grid { margin-top: var(--sp-3); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-media); border-radius: var(--r-md); overflow: hidden; }
.pm-grid.pm-1 { grid-template-columns: 1fr; }
.pm-grid.pm-2 { grid-template-columns: repeat(2, 1fr); }
.pm-grid.pm-3 { grid-template-columns: repeat(6, 1fr); }
.pm-grid.pm-3 .pm-item:not(.pm-wide) { grid-column: span 3; }
.pm-item { position: relative; padding: 0; border: 0; background: var(--surface-2); cursor: zoom-in; overflow: hidden; aspect-ratio: 1 / 1; display: block; width: 100%; }
.pm-grid.pm-1 .pm-item { aspect-ratio: 16 / 10; }
.pm-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.pm-item:hover img { transform: scale(1.04); }
.pm-grid.pm-3 .pm-item.pm-wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.post-video { margin-top: var(--sp-3); border-radius: var(--r-md); overflow: hidden; background: #0A0D26; }
.post-video video { width: 100%; max-height: 460px; display: block; }
.post-actions { display: flex; gap: var(--sp-1); margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--line-2); }
.post-actions form { margin: 0; }
.act-btn { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; border-radius: 10px; border: 0; background: none; color: var(--muted); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all .15s; }
.act-btn:hover { background: var(--surface-2); color: var(--ink); }
.act-btn.liked { color: var(--coral); }
.act-btn.liked:hover { background: var(--danger-soft); }
.post-comments { margin-top: 4px; display: grid; gap: 10px; }
.comment { display: flex; gap: 10px; align-items: flex-start; }
.comment-body { min-width: 0; background: var(--surface-2); border-radius: 4px 14px 14px 14px; padding: 8px 12px 10px; }
.comment-body b { font-size: 13px; font-weight: 800; }
.comment-body p { margin: 2px 0 3px; font-size: 14px; line-height: 1.5; overflow-wrap: break-word; }
.comment-time { font-size: 11.5px; color: var(--faint); font-weight: 600; }
.comment-form { display: flex; gap: 8px; margin-top: 2px; }
.comment-form input { flex: 1; height: 38px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; font: inherit; font-size: 14px; background: var(--surface-2); transition: border-color .15s, background .15s; }
.comment-form input:focus { outline: none; border-color: var(--primary); background: var(--surface); }
.comment-send { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 0; background: var(--primary); color: var(--dn-on-accent); cursor: pointer; flex-shrink: 0; transition: background .15s, transform .15s; }
.comment-send:hover { background: var(--primary-2); transform: scale(1.05); }
.aside-card { padding: 16px; }
.aside-nav { display: flex; gap: 12px; align-items: center; padding: 10px; margin: 0 -6px; border-radius: var(--r-md); transition: background .15s; }
.aside-nav:hover { background: var(--surface-2); }
.aside-nav b { display: block; font-size: 14px; font-weight: 800; }
.aside-nav span { display: block; font-size: 12.5px; color: var(--muted); }
.aside-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; flex-shrink: 0; }
.aside-ico svg { width: 18px; height: 18px; }
.aside-ico.tone-amber { background: var(--amber-soft); color: var(--amber-2); }
.aside-ico.tone-ok { background: var(--ok-soft); color: var(--ok); }
.aside-ico.tone-info { background: var(--info-soft); color: var(--info); }
.aside-ico.tone-violet { background: var(--dn-accent-soft); color: var(--area-mind); }
.aside-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.aside-list li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.aside-list .dot { width: 8px; height: 8px; background: var(--line); }
.aside-list .dot-amber { background: var(--amber); }
.aside-list .dot-ok { background: var(--ok); }
.aside-list .dot-info { background: var(--info); }
.aside-tip { background: linear-gradient(150deg, var(--dn-warm-soft) 0%, var(--surface) 60%); border-color: var(--amber-soft); }
.aside-tip b { font-size: 14px; }
.aside-tip p { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.55; }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 8, 30, .92); display: grid; grid-template-columns: 56px 1fr 56px; grid-template-rows: 1fr; align-items: center; backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: grid; place-items: center; height: 100%; }
.lightbox img { max-width: min(94vw, 1200px); max-height: 88vh; object-fit: contain; border-radius: 8px; box-shadow: 0 24px 80px rgba(0,0,0,.5); }
.lb-close { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 22px; cursor: pointer; transition: background .15s; font-family: sans-serif; line-height: 1; position: absolute; top: 16px; right: 16px; grid-column: unset; }
.lb-prev { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 30px; cursor: pointer; transition: background .15s; font-family: sans-serif; line-height: 1; }
.lb-next { display: grid; place-items: center; width: 44px; height: 44px; margin: 0 auto; border: 0; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-size: 30px; cursor: pointer; transition: background .15s; font-family: sans-serif; line-height: 1; }
.lb-close:hover { background: rgba(255,255,255,.22); }
.lb-prev:hover { background: rgba(255,255,255,.22); }
.lb-next:hover { background: rgba(255,255,255,.22); }
@media (max-width: 700px) {
  .lightbox { grid-template-columns: 44px 1fr 44px; }
  .lb-prev { width: 38px; height: 38px; }
  .lb-next { width: 38px; height: 38px; }
}
.news-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.news-group { display: grid; gap: 10px; }
.news-group-h { display: flex; align-items: center; gap: 12px; margin: 8px 0 2px; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.news-group-h i { flex: 1; height: 1px; background: var(--line); }
.news-card { display: flex; gap: 14px; padding: var(--card-pad) var(--card-pad-lg); align-items: flex-start; }
.news-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0; }
.news-ico svg { width: 19px; height: 19px; }
.news-ico.tone-amber { background: var(--amber-soft); color: var(--amber-2); }
.news-ico.tone-ok { background: var(--ok-soft); color: var(--ok); }
.news-ico.tone-info { background: var(--info-soft); color: var(--info); }
.news-body { min-width: 0; flex: 1; }
.news-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.news-top b { font-size: 14.5px; font-weight: 800; }
.news-time { margin-left: auto; font-size: 12px; color: var(--faint); font-weight: 600; white-space: nowrap; }
.news-text { margin-top: 3px; font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.news-text p { margin: 0; }
.news-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--primary); }
.news-link:hover { text-decoration: underline; }
.masonry { columns: 4 240px; column-gap: var(--sp-3); }
.m-item { break-inside: avoid; margin: 0 0 var(--sp-3); border-radius: var(--r-md); overflow: hidden; position: relative; cursor: zoom-in; background: var(--surface-2); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.m-item:hover { transform: none; box-shadow: var(--shadow-card); border-color: transparent; }
.m-item img { width: 100%; display: block; }
.m-item figcaption { position: absolute; inset: auto 0 0 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(5, 8, 30, .78)); color: #fff; display: flex; gap: 8px; align-items: center; opacity: 0; transition: opacity .2s; }
.m-item:hover figcaption { opacity: 1; }
.m-kid { font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: rgba(255,255,255,.22); backdrop-filter: blur(4px); }
.m-meta { font-size: 12px; font-weight: 600; opacity: .85; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: var(--sp-4); }
@media (max-width: 800px) {
  .video-grid { grid-template-columns: 1fr; }
}
.video-card { padding: 12px; }
.video-frame { border-radius: var(--r-sm); overflow: hidden; background: #0A0D26; }
.video-frame video { width: 100%; display: block; max-height: 320px; }
.video-body { padding: 10px 6px 4px; display: grid; gap: 8px; }
.video-text { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.45; }
.video-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-id { display: flex; gap: 14px; align-items: center; flex: 1; min-width: 0; }
.profile-id-text { min-width: 0; }
.profile-id-text h1 { color: #fff; font-size: 26px; }
.profile-motto { margin-top: 3px; font-size: 13px; color: var(--dn-ink-3); font-weight: 600; font-style: italic; margin: 2px 0 0; }
.profile-chips { display: flex; gap: 6px; margin-top: 8px; flex-wrap: wrap; }
.profile-chips .badge { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(4px); box-shadow: inset 0 0 0 1px var(--dn-line-2); }
.profile-chips .badge-primary { background: rgba(var(--amber-rgb), .24); color: var(--sun2); }
.profile-actions { flex-shrink: 0; }
.btn-on-cover { background: rgba(255,255,255,.16); color: #fff; border-color: rgba(255,255,255,.3); backdrop-filter: blur(4px); }
.btn-on-cover:hover { background: rgba(255,255,255,.26); color: #fff; }
@media (max-width: 640px) {
  .profile-id { flex-direction: column; align-items: flex-start; gap: 12px; }
}
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: var(--sp-3); }
@media (max-width: 640px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
.stat-cell { display: grid; gap: 2px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
a.stat-cell:hover { transform: none; box-shadow: var(--shadow-card); border-color: transparent; }
.stat-cell b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--primary); }
.stat-cell span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.stat-cell span svg { color: var(--faint); }
.kids-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 12px; }
.kid-tile { display: grid; justify-items: center; gap: 3px; padding: 18px 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); text-align: center; transition: all .18s; }
.kid-tile:hover { transform: none; box-shadow: var(--shadow-card); border-color: transparent; background: var(--surface); }
.kid-tile-ava { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; box-shadow: var(--shadow-sm); margin-bottom: 4px; }
.kid-ava-fallback { display: grid; place-items: center; background: var(--kc, var(--primary)); color: #fff; font-size: 22px; font-weight: 800; }
.kid-tile-name { font-size: 14.5px; font-weight: 800; }
.kid-tile-age { font-size: 12px; color: var(--muted); font-weight: 700; }
.kid-tile-stats { display: flex; gap: 10px; margin-top: 7px; padding-top: 8px; border-top: 1px solid var(--line-2); }
.kid-tile-stats span { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 800; color: var(--muted); }
.mini-posts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.mini-post { display: flex; align-items: baseline; gap: 10px; padding: 9px 6px; border-radius: 10px; transition: background .15s; }
.mini-post:hover { background: var(--surface-2); }
.mini-post b { font-size: 13.5px; font-weight: 800; flex-shrink: 0; }
.mini-post span { flex: 1; min-width: 0; font-size: 13.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-post i { font-style: normal; font-size: 12px; color: var(--faint); font-weight: 700; flex-shrink: 0; }
.parents-list { display: grid; gap: 10px; }
.parent-row { display: flex; gap: 11px; align-items: center; }
.parent-info b { display: block; font-size: 14px; font-weight: 800; }
.parent-info span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-media); }
.photo-strip-item { border-radius: 8px; overflow: hidden; aspect-ratio: 1; background: var(--surface-2); }
.photo-strip-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.photo-strip-item:hover img { transform: scale(1.08); }
.hit-ico { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); color: var(--muted); flex-shrink: 0; }
.search-form-card { padding: var(--card-pad); }
.search-form-row { margin-bottom: 0; }
.search-form-row input[type="search"] { flex: 1; min-width: 0; height: 44px; }
.zone-empty-card { background: var(--surface-2); border-style: solid; }
.zone-empty { margin: 2px 0 4px; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); font-size: 13px; color: var(--faint); font-weight: 600; background: var(--surface); }
@media (max-width: 560px) {
  .composer textarea { min-height: 62px; }
  .composer-actions { flex-wrap: wrap; }
  .composer-submit { margin-left: auto; }
  .post { padding: 16px; }
  .post-head { flex-wrap: wrap; row-gap: 6px; }
  .post-kids { order: 4; width: 100%; margin-left: 54px; }
  .post-tools { margin-left: auto; }
  .pm-grid { gap: 4px; }
  .post-actions { gap: 2px; }
  .act-btn { padding: 0 10px; }
  .news-card { padding: 14px; gap: 11px; }
  .news-time { margin-left: 0; width: 100%; order: 5; }
  .stat-cell { padding: 12px 14px; }
  .stat-cell b { font-size: 19px; }
}
.user-menu .nav-dropdown { min-width: 210px; }
.nav-dropdown-end { right: 0; left: auto; }
.user-menu-name { padding: 8px 12px 6px; font-size: 13px; font-weight: 800; color: var(--ink-2); border-bottom: 1px solid var(--line-2); margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-menu-exit { color: var(--danger); }
.search-ico-link { display: none; place-items: center; width: 36px; height: 36px; border-radius: 10px; color: var(--ink-2); flex-shrink: 0; }
.search-ico-link:hover { background: var(--surface-2); color: var(--primary); }
@media (max-width: 1380px) {
  .main-nav .nav-link { padding: 8px 10px; font-size: 14px; }
  .top-search input { width: 150px; }
}
@media (max-width: 1240px) {
  .main-nav .nav-link { padding: 8px 8px; font-size: 13.5px; }
  .top-search { display: none; }
  .search-ico-link { display: grid; }
  .header-inner { gap: 12px; }
}
@media (max-width: 1120px) {
  .main-nav .nav-link { padding: 8px 7px; }
}
@media (min-width: 1241px) {
  .search-ico-link { display: none; }
}
.plans-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: var(--sp-4, 16px); margin: var(--sp-4, 16px) 0; }
.plan-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--dn-rc); background: var(--dn-surface); box-shadow: var(--dn-shadow-card), inset 0 0 0 1px var(--dn-line); }
.plan-card.plan-current { border-color: var(--amber); box-shadow: none; }
.plan-flag { position: absolute; top: -11px; right: var(--card-pad, 20px); background: var(--amber); color: var(--dn-on-accent); font-size: 11.5px; font-weight: 800; padding: 3px 11px; border-radius: 999px; box-shadow: var(--shadow-sm, 0 1px 3px rgba(20,30,40,.12)); }
.plan-name { font-size: 18px; font-weight: 800; }
.plan-tagline { font-size: 13px; color: var(--faint); }
.plan-price { display: flex; align-items: baseline; gap: 5px; flex-wrap: wrap; margin: var(--sp-1, 4px) 0; }
.plan-price b { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.plan-price span { color: var(--faint); font-weight: 600; }
.plan-year { width: 100%; font-size: 12.5px; color: var(--ok); font-weight: 600; }
.plan-feats { list-style: none; margin: var(--sp-2, 8px) 0 0; padding: 0; display: grid; gap: 7px; font-size: 14px; }
.plan-feats li { padding-left: 22px; position: relative; }
.plan-feats li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 800; }
.plan-current-note { margin-top: auto; padding-top: var(--sp-3, 12px); font-size: 13px; font-weight: 700; color: var(--amber-2); }
.sub-usage { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: var(--sp-4, 16px); margin: var(--sp-3, 12px) 0; }
.usage-item { display: grid; gap: 5px; }
.usage-item b { font-size: 20px; font-weight: 800; }
.usage-item span { font-size: 13px; color: var(--faint); }
.usage-bar { height: 8px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.usage-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--amber), var(--amber-2)); transition: width .3s; }
.promo-form { display: flex; gap: var(--sp-2, 8px); flex-wrap: wrap; margin-top: var(--sp-2, 8px); }
.promo-form input { flex: 1 1 220px; min-width: 0; }
.manage-row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3, 12px); flex-wrap: wrap; padding: var(--sp-2, 8px) 0; }
.manage-row .row-sub { font-size: 13px; color: var(--faint); }
.ch-bar { margin-top: 7px; height: 7px; border-radius: 999px; background: var(--line-2); overflow: hidden; max-width: 320px; }
.ch-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--dn-ok), var(--dn-ok)); transition: width .3s; }
.field-divider { height: 1px; background: var(--line-2); margin: var(--sp-4, 16px) 0; }
.warn-line { margin: var(--sp-2, 8px) 0 0; padding: 10px 14px; border-radius: var(--r-md, 12px); background: var(--amber-soft); color: var(--amber-2); font-size: 13.5px; font-weight: 600; }
.wd-picker { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 14px; }
.wd-chip { position: relative; display: inline-flex; }
.wd-chip input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.wd-chip span { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface-2); font-size: 13.5px; font-weight: 700; color: var(--ink-2); transition: border-color .15s, background .15s, color .15s, box-shadow .15s; user-select: none; }
.wd-chip:hover span { border-color: var(--primary-line); color: var(--ink); }
.wd-chip input:checked + span { background: var(--primary); border-color: var(--primary); color: var(--dn-on-accent); box-shadow: 0 2px 10px -3px rgba(0, 0, 10, .4); }
.wd-chip input:focus-visible + span { box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .16); }
.badge-miss { background: var(--danger-soft); color: var(--danger); }
.flash-info { background: var(--info-soft); border-color: rgba(169, 194, 247, .38); color: var(--info); }
.flash-info::before { background: var(--info); }
.plan-buy { display: grid; gap: 8px; margin-top: 14px; }
.plan-buy .btn { width: 100%; }
.news-card-post { box-shadow: inset 3px 0 0 var(--amber-2), var(--shadow-sm); }
.hero-copy { min-width: 0; }
.nav-more-family .nav-dropdown { min-width: 236px; }
.btn:focus-visible { outline-offset: 3px; }
.icon-btn:focus-visible { outline-offset: 3px; }
.chip:focus-visible { outline-offset: 3px; }
input:focus-visible { outline: none; }
select:focus-visible { outline: none; }
textarea:focus-visible { outline: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
.btn-ghost:disabled { background: var(--surface-2); color: var(--faint); border-color: var(--line-2); }
.btn-soft:disabled { background: var(--surface-2); color: var(--faint); border-color: var(--line-2); }
.btn-amber:disabled { background: var(--amber-soft); color: var(--faint); }
.stat-card b { font-size: 24px; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.stat-card small { font-size: 12.5px; color: var(--muted); }
input::placeholder { color: var(--faint); opacity: 1; }
textarea::placeholder { color: var(--faint); opacity: 1; }
.form-actions .btn { min-width: 120px; }
input[type="range"] { accent-color: var(--primary); width: 100%; }
input.mini:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); outline: none; }
select.mini:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), .12); outline: none; }
.slot-chip form.inline { display: inline-flex; align-items: center; }
.slot-chip form.inline button { width: 20px; height: 20px; border: 0; background: transparent; border-radius: 50%; color: var(--faint); font-size: 15px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.slot-chip form.inline input[type="submit"] { width: 20px; height: 20px; border: 0; background: transparent; border-radius: 50%; color: var(--faint); font-size: 15px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.slot-chip form.inline button:hover { background: var(--danger-soft); color: var(--danger); }
.slot-chip form.inline input[type="submit"]:hover { background: var(--danger-soft); color: var(--danger); }
.slot-add-form .btn { height: 34px; border-radius: 10px; font-size: 13px; }
.row-btns form { margin: 0; }
.cnt { line-height: 1; min-width: 24px; height: 24px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--amber-soft); color: var(--amber-2); font-size: 12px; font-weight: 800; }
.empty-ico { width: 52px; height: 52px; margin: 0 auto 10px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.empty p { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
@keyframes dd-in {   from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); }   }
.bottom-nav a.on svg { stroke-width: 2.4; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: var(--line); border-radius: 999px; border: 3px solid var(--bg); }
*::-webkit-scrollbar-track { background: transparent; }
table { border-collapse: collapse; width: 100%; }
th { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line-2); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--faint); }
td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line-2); }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .12s; }
tbody tr:hover { background: var(--surface-2); }
b { font-weight: 800; }
strong { font-weight: 800; }
hr { border: 0; border-top: 1px solid var(--line-2); margin: 14px 0; }
.row-sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.alert-item + .alert-item { border-top: 1px solid var(--line-2); }
.list-row + .list-row { border-top: 0; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  *::before { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto !important; }
}
@media (max-width: 720px) {
  .stat-card { min-height: 72px; }
  .form-actions .btn { flex: 1 1 auto; }
  th { padding: 8px 10px; }
  td { padding: 8px 10px; }
}
.user-menu-exit-form { display: block; margin: 0; }
.user-menu-exit-form button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: none; font-family: inherit; font-size: 14px; font-weight: 600; color: var(--danger); cursor: pointer; text-align: left; transition: background .12s, color .12s; }
.user-menu-exit-form button:hover { background: var(--danger-soft); color: var(--danger); }
.user-menu-exit-form button .dd-ico { background: rgba(var(--danger-rgb), .1); color: var(--danger); }
.compare thead th:first-child { border-top-left-radius: 0; background: var(--surface-2); z-index: 2; }
.compare tbody tr:hover td { background: var(--surface-2); }
.compare tbody tr:hover td.us { background: rgba(125, 155, 240, .20); }
.header-actions .btn { box-shadow: var(--shadow-sm); }
.footer-grid { max-width: 1140px; margin: 0 auto; padding: 48px 24px 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-brand .logo { color: #fff; margin-bottom: 12px; }
.footer-brand .logo .logo-text { color: #fff; font-weight: 800; }
.footer-about { font-size: 13.5px; line-height: 1.6; color: var(--muted); max-width: 300px; margin: 0; }
.footer-col h4 { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); margin: 4px 0 14px; }
.footer-col a { display: block; padding: 5px 0; font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; transition: color .15s ease; }
.footer-col a:hover { color: var(--amber); }
.footer-contact span { display: block; padding: 5px 0; font-size: 14px; color: var(--ink-2); }
.footer-legal { border-top: 1px solid var(--line); }
.footer-legal-inner { max-width: 1140px; margin: 0 auto; padding: 18px 24px 26px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; font-size: 12.5px; color: var(--faint); }
.footer-legal-inner a { color: var(--ink-2); text-decoration: none; }
.footer-legal-inner a:hover { color: var(--amber); }
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 24px; padding: 36px 20px 20px; }
  .footer-about { max-width: none; }
}
.legal-doc { margin: 0 auto; padding: 48px 24px 72px; }
.legal-doc .legal-kicker { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-2); margin: 0 0 8px; }
.legal-doc h1 { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 6px; }
.legal-doc .legal-updated { color: var(--muted); font-size: 13.5px; margin: 0 0 28px; }
.legal-doc h2 { font-size: 19px; font-weight: 800; margin: 34px 0 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.legal-doc h3 { font-size: 15.5px; font-weight: 800; margin: 20px 0 6px; }
.legal-doc p { font-size: 14.5px; line-height: 1.72; color: var(--ink); margin: 0 0 12px; }
.legal-doc li { font-size: 14.5px; line-height: 1.72; color: var(--ink); margin-bottom: 6px; }
.legal-doc ul { margin: 0 0 14px; padding-left: 22px; }
.legal-doc ol { margin: 0 0 14px; padding-left: 22px; }
.legal-doc strong { font-weight: 800; }
.legal-doc .legal-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; margin: 16px 0 22px; }
.legal-doc .legal-card p { margin: 0 0 8px; }
.legal-doc .legal-card p:last-child { margin: 0; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 14px 0 20px; }
.legal-doc td { border: 1px solid var(--line); padding: 9px 12px; font-size: 13.5px; text-align: left; vertical-align: top; }
.legal-doc th { border: 1px solid var(--line); padding: 9px 12px; font-size: 13.5px; text-align: left; vertical-align: top; background: var(--surface-2); font-weight: 800; white-space: nowrap; }
.legal-doc td:first-child { font-weight: 700; width: 34%; }
@media (max-width: 720px) {
  .legal-doc { padding: 32px 16px 56px; }
  .legal-doc h1 { font-size: 24px; }
}
.pres-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.pres-stat { display: inline-flex; align-items: baseline; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 700; color: var(--ink); box-shadow: var(--shadow-sm); }
.pres-stat b { font-size: 16px; color: var(--primary); }
.pres-section { max-width: 1140px; margin: 0 auto; padding: 26px 24px 8px; }
.pres-part-head { margin: 40px 0 8px; padding-top: 26px; border-top: 1px solid var(--line); }
.pres-part-head:first-child { border-top: 0; margin-top: 8px; }
.pres-part-head .kicker { margin-bottom: 6px; }
.pres-part-head h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.pres-row { display: grid; grid-template-columns: 380px 1fr; gap: 40px; align-items: center; padding: 30px 0; }
.pres-row + .pres-row { border-top: 1px solid var(--line-2); }
.pres-row.flip { grid-template-columns: 1fr 380px; }
.pres-row.flip .pres-caption { order: 2; }
.pres-caption .pres-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 10px; background: var(--primary); color: var(--dn-on-accent); font-size: 13.5px; font-weight: 800; margin-bottom: 12px; }
.pres-caption h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; letter-spacing: -.01em; }
.pres-caption p { font-size: 14.5px; line-height: 1.65; color: var(--muted); margin: 0 0 10px; }
.pres-shot { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 44px -22px rgba(0, 0, 10, .35), var(--shadow-sm); background: var(--surface); transition: transform .25s ease, box-shadow .25s ease; }
.pres-shot:hover { transform: translateY(-3px); box-shadow: 0 26px 56px -24px rgba(0, 0, 10, .42), var(--shadow-md); }
.pres-shot img { display: block; width: 100%; height: auto; }
.pres-shot::after { content: ""; position: absolute; inset: 0; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(0,0,10,.06); pointer-events: none; }
@media (max-width: 900px) {
  .pres-row { grid-template-columns: 1fr; gap: 16px; padding: 22px 0; }
  .pres-row.flip { grid-template-columns: 1fr; gap: 16px; padding: 22px 0; }
  .pres-row.flip .pres-caption { order: 0; }
}
.auth-consent { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 14px 0 0; text-align: center; }
.auth-consent a { color: var(--primary); font-weight: 700; text-decoration: none; }
.auth-consent a:hover { text-decoration: underline; }
.check-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 7px; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2327795A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.qr { margin-top: 14px; border-radius: 14px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.install-note { margin-top: 20px; text-align: center; }
.install-note a { color: var(--primary); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0 auto; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 26px 24px; box-shadow: var(--shadow-sm); }
.price-card .btn { margin-top: auto; }
.price-tagline { font-size: 13.5px; color: var(--faint); margin: 2px 0 0; }
.price-value { font-size: 34px; font-weight: 800; letter-spacing: -1px; margin: 14px 0 0; color: var(--ink); }
.price-value span { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--faint); }
.price-year { font-size: 13px; color: var(--primary); font-weight: 700; margin: 4px 0 0; }
.price-feats { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 9px; }
.price-feats li { position: relative; padding-left: 28px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.price-feats li::before { content: ""; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 6px; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%232E8B62' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center/11px no-repeat; }
.price-card.price-pop { border-color: var(--amber); box-shadow: 0 0 0 1px var(--amber), 0 18px 40px -22px rgba(var(--amber-rgb), .45); }
.price-flag { position: absolute; top: -12px; left: 24px; background: var(--amber); color: var(--dn-on-accent); font-size: 11.5px; font-weight: 800; padding: 4px 13px; border-radius: 999px; box-shadow: var(--shadow-sm); }
.price-notes { max-width: 760px; margin: 26px auto 0; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.65; display: grid; gap: 8px; }
.price-notes strong { color: var(--ink); }
@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .compare { min-width: 560px; }
  .compare th { padding: 11px 13px; font-size: 13px; }
  .compare td { padding: 11px 13px; font-size: 13px; }
  .compare thead th { font-size: 12px; }
  .legal-doc p a { padding: .38em 0; }
  .legal-doc li a { padding: .38em 0; }
  .legal-doc td a { padding: .38em 0; }
  .auth-consent a { padding: .38em 0; }
  .auth-alt a { padding: .38em 0; }
  .install-note a { padding: .38em 0; }
}
[id] { scroll-margin-top: 84px; }
.site-header.scrolled { box-shadow: 0 8px 26px -12px rgba(0, 0, 10, .5); }
.auth-card input:user-invalid { border-color: var(--dn-danger) !important; box-shadow: 0 0 0 3px rgba(232, 96, 76, .20); }
.kid-form input:user-invalid { border-color: var(--dn-danger) !important; box-shadow: 0 0 0 3px rgba(232, 96, 76, .20); }
.burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4.5px; width: 42px; height: 38px; padding: 0; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; flex: none; }
.burger span { display: block; width: 17px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .22s ease, opacity .18s ease; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (max-width: 760px) {
  .burger { display: inline-flex; }
}
@media (max-width: 520px) {
  .header-actions > .btn-ghost { display: none; }
}
@media (max-width: 380px) {
  .header-inner { padding: 0 14px; gap: 10px; }
  .logo-text { font-size: 17px; }
  .logo-mark { width: 34px; height: 34px; }
  .header-actions { gap: 8px; }
  .header-actions > .btn { display: none; }
}
@media (max-width: 520px) {
  .legal-doc table { display: block; width: 100%; }
  .legal-doc tbody { display: block; width: 100%; }
  .legal-doc tr { display: block; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
  .legal-doc tr:last-child { border-bottom: 0; }
  .legal-doc th { display: block; width: 100% !important; padding: 2px 0; border: 0; overflow-wrap: anywhere; border-bottom: 0; margin-bottom: 2px; }
  .legal-doc td { display: block; width: 100% !important; padding: 2px 0; border: 0; overflow-wrap: anywhere; }
  .legal-doc td:first-child { font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-bottom: 2px; }
}
.mobile-menu { position: fixed; top: 73px; left: 12px; right: 12px; z-index: 89; display: grid; padding: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(-8px) scale(.99); visibility: hidden; pointer-events: none; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.mobile-menu.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
.mobile-menu a { display: block; padding: 13px 14px; border-radius: 12px; font-size: 15px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.mobile-menu a:active { background: var(--surface-2); }
.mobile-menu .mm-sep { height: 1px; margin: 6px 10px; background: var(--line-2); }
.mobile-menu .mm-primary { background: var(--primary); color: var(--dn-on-accent); text-align: center; }
.mobile-menu .mm-secondary { text-align: center; color: var(--primary); }
@media (min-width: 761px) {
  .mobile-menu { display: none !important; }
}
.compare th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: inset -1px 0 0 var(--line-2); }
.compare td:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); box-shadow: inset -1px 0 0 var(--line-2); }
.compare thead th:first-child.us { background: var(--primary-soft); }
.compare tbody tr:hover td:first-child { background: var(--surface-2); }
.compare tbody tr:hover td:first-child.us { background: rgba(125, 155, 240, .20); }
@keyframes demoSwap {   from { opacity: 0; transform: translateY(10px) scale(.985); }
  to { opacity: 1; transform: none; }   }
.billing-toggle { display: flex; justify-content: center; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 26px; padding: 4px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow-sm); }
.bt-opt { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 700 14px/1 'Manrope', system-ui, sans-serif; cursor: pointer; transition: background .15s ease, color .15s ease, box-shadow .15s ease; white-space: nowrap; }
.bt-opt:hover { color: var(--ink); }
.bt-opt.on { background: var(--primary); color: var(--dn-on-accent); box-shadow: var(--shadow-sm); }
.bt-opt:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.bt-badge { padding: 2.5px 8px; border-radius: 999px; background: var(--amber-soft); color: var(--amber-2); font-size: 11.5px; font-weight: 800; }
.bt-opt.on .bt-badge { background: rgba(255, 255, 255, .18); color: var(--dn-on-accent); }
.bt-price.swap { animation: demoSwap .28s ease; }
.bt-note.swap { animation: demoSwap .28s ease; }
@media (max-width: 760px) {
  .bt-opt { padding: 9px 14px; font-size: 13px; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.cmp-counters { margin-top: 36px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; max-width: 760px; }
.cmp-count { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 16px 16px; box-shadow: var(--shadow-sm); display: grid; justify-items: start; gap: 6px; animation: cmpUp .7s ease both; }
.cmp-count:nth-child(2) { animation-delay: .08s; }
.cmp-count:nth-child(3) { animation-delay: .16s; }
.cmp-count:nth-child(4) { animation-delay: .24s; }
@keyframes cmpUp {   from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; }   }
.cmp-count b.cmp-num { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--primary); }
.cmp-count b.cmp-num::after { content: ""; display: block; width: 26px; height: 4px; border-radius: 4px; background: var(--amber); margin-top: 8px; }
.cmp-count span { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.cmp-rivals { margin-top: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cmp-rival { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line-2); color: var(--muted); font-weight: 700; font-size: 13px; background: var(--surface-2); }
.cmp-rival-us { border: 1.5px solid var(--primary); color: var(--primary); background: var(--primary-soft); border-style: solid; box-shadow: var(--shadow-sm); }
.cmp-vs { font-size: 12px; font-weight: 800; color: var(--faint); letter-spacing: .06em; text-transform: uppercase; }
.cmp-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.cmp-chip { font: inherit; font-size: 14px; font-weight: 700; color: var(--ink-2); background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: all .18s ease; }
.cmp-chip:hover { border-color: var(--primary-line); color: var(--primary); transform: translateY(-1px); }
.cmp-chip.on { background: var(--primary); border-color: var(--primary); color: var(--dn-on-accent); box-shadow: 0 8px 20px -10px rgba(var(--primary-rgb), .55); }
.cmp-chip:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.cmp-result { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--primary); background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: var(--r-md); padding: 12px 16px; display: inline-block; }
.cmp-tablewrap { overflow-x: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-md); border: 1px solid var(--line); background: var(--surface); }
.cmp-table { width: 100%; min-width: 820px; border-collapse: separate; border-spacing: 0; font-size: 14.5px; }
.cmp-table thead th { position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; background: var(--surface); text-align: left; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 16px 18px; border-bottom: 2px solid var(--line); white-space: nowrap; }
.cmp-table thead th.cmp-uscol { color: var(--primary); border-left: 1px solid var(--primary-line); border-right: 1px solid var(--primary-line); background: var(--primary-soft); }
.cmp-table td { padding: 13px 18px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.cmp-table td.rowname { font-weight: 600; color: var(--ink); width: 32%; min-width: 230px; }
.cmp-table tr.cmp-group td { background: var(--surface-2); padding: 10px 18px; border-bottom: 1px solid var(--line); position: sticky; left: 0; }
.cmp-table tr.cmp-group td span { font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--amber-2); }
.cmp-table tbody tr:not(.cmp-group):hover td { background: var(--surface-2); }
.cmp-table td.us { background: var(--primary-soft); border-left: 1px solid var(--primary-line); border-right: 1px solid var(--primary-line); }
.cmp-table td.us .cmp-yes { color: var(--primary); font-weight: 800; }
.cmp-yes { display: inline-flex; align-items: baseline; gap: 7px; font-weight: 600; color: var(--ink-2); }
.cmp-part { display: inline-flex; align-items: baseline; gap: 7px; font-weight: 600; color: var(--ink-2); }
.cmp-no { display: inline-flex; align-items: baseline; gap: 7px; font-weight: 600; color: var(--faint); }
.cmp-yes::before { flex: none; width: 19px; height: 19px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 800; line-height: 1; transform: translateY(3px); content: "✓"; background: var(--ok-soft); color: var(--ok); }
.cmp-part::before { flex: none; width: 19px; height: 19px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 800; line-height: 1; transform: translateY(3px); content: "~"; background: var(--amber-soft); color: var(--amber-2); }
.cmp-no::before { flex: none; width: 19px; height: 19px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 800; line-height: 1; transform: translateY(3px); content: "—"; background: var(--surface-2); color: var(--faint); }
.cmp-hint { display: none; font-size: 12.5px; color: var(--faint); margin-top: 10px; }
.cmp-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 14px; font-size: 13px; color: var(--muted); }
.cmp-legend i { display: inline-flex; width: 17px; height: 17px; border-radius: 999px; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 800; font-style: normal; margin-right: 7px; transform: translateY(3px); }
.cmp-legend .cmp-yes::before { transform: none; }
.cmp-unique-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.cmp-u-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 22px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.cmp-u-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cmp-u-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--uc) 14%, var(--surface)); color: var(--uc); margin-bottom: 14px; }
.cmp-u-ico svg { width: 23px; height: 23px; }
.cmp-u-card h3 { font-size: 16.5px; margin-bottom: 8px; letter-spacing: -.01em; }
.cmp-u-card p { font-size: 14px; line-height: 1.58; color: var(--muted); }
.cmp-honest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.cmp-hcard { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--hc, var(--primary)); border-radius: var(--r-md); padding: 20px; }
.cmp-hcard h3 { font-size: 15.5px; margin-bottom: 8px; }
.cmp-hcard p { font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.cmp-posband { margin-top: 28px; }
@media (max-width: 960px) {
  .cmp-counters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp-unique-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .cmp-honest-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 640px) {
  .cmp-counters { gap: 10px; }
  .cmp-count b.cmp-num { font-size: 32px; }
  .cmp-unique-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cmp-honest-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cmp-table thead th { top: calc(var(--header-h) + 2px); padding: 12px 14px; }
  .cmp-table td { padding: 11px 14px; }
  .cmp-posband { grid-template-columns: 1fr; padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .cmp-count { animation: none; }
  .cmp-chip { transition: none; }
  .cmp-u-card { transition: none; }
}
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); position: relative; flex-shrink: 0; margin-right: 2px; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--ok); opacity: .55; animation: livePing 2s ease-out infinite; }
@keyframes livePing {   0% { transform: scale(.6); opacity: .7; }
  70%, 100% { transform: scale(1.6); opacity: 0; }   }
@media (prefers-reduced-motion: reduce) {
  .live-dot::after { animation: none; opacity: .3; }
}
.cnt-live { background: var(--ok-soft); color: var(--ok); font-size: 12px; }
.pulse-list { display: grid; gap: 2px; }
.pulse-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; text-decoration: none; transition: background .15s; color: inherit; }
.pulse-row:hover { background: var(--surface-2); }
.pulse-ico { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.pulse-ico svg { width: 17px; height: 17px; }
.pulse-main { min-width: 0; display: grid; gap: 2px; }
.pulse-main b { font-size: 14px; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pulse-sub { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pulse-time { margin-left: auto; font-size: 12px; color: var(--faint); flex-shrink: 0; }
.live-toast.in { opacity: 1; transform: translateY(0) scale(1); }
.live-toast .lt-ico { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-lit); background: rgba(255, 198, 107, .14); border-radius: 10px; padding: 7px 9px; flex-shrink: 0; }
.live-toast .lt-main { display: grid; gap: 2px; min-width: 0; }
.live-toast .lt-main b { font-size: 13.5px; line-height: 1.3; }
.live-toast .lt-main i { font-style: normal; font-size: 12px; color: rgba(255, 255, 255, .72); }
.dev-status { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.dev-status.is-on { color: var(--ok); font-weight: 700; }
.dev-status.is-none { color: var(--faint); font-style: italic; }
.dev-ring { position: relative; margin-left: auto; width: 42px; height: 42px; flex-shrink: 0; box-shadow: none; }
.dev-ring svg { width: 42px; height: 42px; transform: rotate(-90deg); }
.ring-track { fill: none; stroke: var(--line); stroke-width: 3.6; }
.ring-val { fill: none; stroke: var(--ok); stroke-width: 3.6; stroke-linecap: round; transition: stroke-dashoffset .6s cubic-bezier(.22, 1, .36, 1); }
.ring-val.full { stroke: var(--amber); }
.ring-n { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--ink-2); }
.dev-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; line-height: 1.2; }
.dev-chip svg { width: 14px; height: 14px; color: var(--muted); flex-shrink: 0; }
.dev-chip .bat-bolt { width: 12px; height: 12px; color: var(--amber); }
.dev-chip.chip-prot { color: var(--ok); border-color: var(--primary-line); background: var(--ok-soft); }
.dev-chip.chip-prot svg { color: var(--ok); }
.inbox-list { max-height: 320px; overflow-y: auto; display: grid; gap: 2px; overscroll-behavior: contain; }
.inbox-item { position: relative; display: flex; align-items: flex-start; gap: 9px; padding: 10px 12px; border-radius: 10px; transition: background .15s ease; }
.inbox-item:hover { background: var(--surface-2); }
.inbox-item.unread { background: var(--dn-warm-soft); }
.inbox-item.unread:hover { background: rgba(246, 196, 82, .20); }
.inbox-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--line); margin-top: 6px; flex-shrink: 0; transition: background .2s ease, box-shadow .2s ease; }
.inbox-item.unread .inbox-dot { background: var(--amber); box-shadow: 0 0 0 3px rgba(var(--amber-rgb), .16); }
.inbox-main { display: grid; gap: 2px; min-width: 0; flex: 1; }
.inbox-main b { font-size: 13.5px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.inbox-main i { font-style: normal; font-size: 12.5px; color: var(--muted); line-height: 1.4; display: -webkit-box; overflow: hidden; }
.inbox-time { font-size: 11px; color: var(--faint); white-space: nowrap; flex-shrink: 0; margin-top: 2px; }
.inbox-empty { padding: 12px; font-size: 13px; }
.inbox-readall { margin-left: auto; font-family: inherit; font-size: 11.5px; font-weight: 800; color: var(--primary); background: var(--primary-soft); border: 1px solid var(--primary-line); border-radius: 999px; padding: 3px 11px; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.inbox-readall:hover { background: var(--primary-line); }
.inbox-readall:active { transform: scale(.96); }
.alert-panel-sub { margin-top: 6px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.kid-toast.in { opacity: 1; transform: translateY(0) scale(1); }
.cmp-live-sec { background: radial-gradient(58% 90% at 18% -10%, rgba(var(--primary-rgb), .05), transparent 60%), radial-gradient(52% 80% at 88% 4%, rgba(var(--amber-rgb), .07), transparent 62%); }
.cmp-sim { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; box-shadow: var(--shadow-lg); }
.cmp-sim-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; margin-bottom: 20px; }
.cmp-sim-note { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.cmp-sim-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cmp-phone { border: 1px solid var(--line); border-radius: 18px; background: var(--surface-2); overflow: hidden; display: flex; flex-direction: column; min-height: 264px; }
.cmp-phone-us { border-color: var(--primary-line); background: linear-gradient(180deg, var(--primary-soft), rgba(125, 155, 240, .08) 46%); box-shadow: 0 14px 34px -18px rgba(var(--primary-rgb), .35); }
.cmp-phone-head { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); background: var(--surface-2); }
.cmp-phone-head b { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.cmp-phone-head i { margin-left: auto; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.cmp-phone-us .cmp-phone-head i { color: var(--ok); }
.cmp-dot-live { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--ok); position: relative; }
.cmp-dot-idle { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; background: var(--line-2); }
.cmp-dot-live::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(var(--ok-rgb), .45); animation: cmpPing 2s ease-out infinite; }
@keyframes cmpPing {   0% { transform: scale(.6); opacity: 1; }
  70%, 100% { transform: scale(1.5); opacity: 0; }   }
@media (prefers-reduced-motion: reduce) {
  .cmp-dot-live::after { animation: none; opacity: .35; }
}
.cmp-feed { list-style: none; margin: 0; padding: 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.cmp-ev.in { opacity: 1; transform: translateY(0); }
.cmp-ev-ico { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; }
.cmp-ev-ico svg { width: 14px; height: 14px; }
.cmp-ev-body { font-size: 13px; line-height: 1.45; color: var(--ink-2); font-weight: 500; }
.cmp-ev-body b { color: var(--muted); font-weight: 700; }
.ev-rew .cmp-ev-ico { background: var(--dn-accent-soft); color: var(--area-mind); }
.cmp-empty { margin: 0 12px 12px; padding: 11px 12px; font-size: 12.5px; color: var(--faint); border: 1.5px solid var(--line-2); border-radius: 12px; text-align: center; }
.cmp-phone-sum { margin: 0 12px 12px; padding: 10px 12px; border-radius: 10px; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line-2); }
.cmp-phone-us .cmp-phone-sum { background: var(--ok-soft); color: var(--ok); border-color: rgba(99, 217, 184, .38); }
.cmp-sim-legend { font-size: 13px; color: var(--muted); margin-top: 18px; line-height: 1.55; }
.cmp-score-title { font-size: 13px; font-weight: 700; color: var(--muted); margin: 2px 0 12px; }
.cmp-score { display: grid; gap: 9px; padding: 16px; margin-bottom: 18px; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 16px; }
.cmp-score-row { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 12px; }
.cmp-score-row b { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.cmp-bar { height: 10px; border-radius: 999px; background: var(--line-2); overflow: hidden; }
.cmp-bar i { display: block; height: 100%; width: 0; border-radius: inherit; transition: width 1.1s cubic-bezier(.22, .8, .3, 1); }
.cmp-score-row[data-col="us"] .cmp-bar i { background: linear-gradient(90deg, var(--primary), var(--indigo-deep)); }
.cmp-score-row[data-col="kids360"] .cmp-bar i { background: var(--line-2); }
.cmp-score-row[data-col="fl"] .cmp-bar i { background: var(--line); }
.cmp-score-val { font-size: 12.5px; font-weight: 800; color: var(--ink-2); white-space: nowrap; }
.cmp-score-row[data-col="us"] .cmp-score-val { color: var(--primary); }
@media (min-width: 900px) {
  .cmp-tablewrap { overflow-x: visible; }
}
@media (max-width: 860px) {
  .cmp-sim { padding: 18px 14px; border-radius: 20px; }
  .cmp-sim-grid { grid-template-columns: 1fr; }
  .cmp-score-row { grid-template-columns: 78px 1fr auto; }
}
@media (max-width: 480px) {
  .cmp-score-row { grid-template-columns: 64px 1fr; }
  .cmp-score-val { grid-column: 2; justify-self: start; }
}
@media (prefers-reduced-motion: reduce) {
  .cmp-bar i { transition: width .2s; }
}
.stats-live-note { display: inline-flex; align-items: center; gap: 9px; margin-top: 18px; padding: 8px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.stats-live-note .live-dot { width: 9px; height: 9px; }
.stats-first { padding-top: 40px; }
.stats-tight { padding-top: 56px; }
.stats-pulse { display: flex; align-items: center; justify-content: space-between; gap: 28px; background: linear-gradient(135deg, var(--primary) 0%, var(--indigo-deep) 58%, var(--indigo-deep) 100%); border-radius: 28px; padding: 36px 40px; position: relative; overflow: hidden; }
.stats-pulse::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,198,107,.16) 0%, transparent 62%); top: -210px; right: -120px; pointer-events: none; }
.stats-pulse-main { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.live-dot-amber { width: 12px; height: 12px; background: var(--gold-lit); }
.live-dot-amber::after { border-color: var(--gold-lit); }
.stats-pulse-n { font-size: 58px; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.stats-pulse-l { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.78); margin-top: 6px; }
.stats-pulse-chips { display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 10px; }
.pulse-chip { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 12px 16px; }
.pulse-chip b { display: block; font-size: 21px; font-weight: 800; color: var(--gold-lit); font-variant-numeric: tabular-nums; line-height: 1.15; }
.pulse-chip span { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.85); }
.pulse-chip-wide { grid-column: 1 / -1; }
.pulse-chip-wide b { color: #fff; font-size: 18px; display: inline; }
.pulse-chip-wide span { margin-left: 7px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.statx-card { background: var(--surface); border: 0; border-radius: 20px; padding: 24px 22px; box-shadow: var(--shadow-card); transition: transform .18s, box-shadow .18s, border-color .18s; }
.statx-card:hover { transform: none; box-shadow: var(--shadow-card); border-color: transparent; }
.statx-ico { width: 44px; height: 44px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 16px; }
.statx-ico svg { width: 22px; height: 22px; }
.statx-n { font-size: 40px; font-weight: 800; letter-spacing: -.025em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.statx-l { font-size: 14.5px; font-weight: 700; color: var(--ink-2); margin-top: 9px; }
.statx-s { font-size: 12.5px; color: var(--faint); margin-top: 4px; line-height: 1.45; }
.statx-card-amber .statx-ico { background: var(--amber-soft); color: var(--amber-2); }
.stats-grid-sm { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.statx-mini { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 3px; }
.statx-mini b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--primary); font-variant-numeric: tabular-nums; }
.statx-mini span { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.stats-meta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.stats-meta-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; font-size: 13px; font-weight: 600; color: var(--muted); }
.stats-meta-pill svg { width: 15px; height: 15px; color: var(--ok); flex-shrink: 0; }
.stats-meta-pill b { color: var(--ink); font-variant-numeric: tabular-nums; }
.stats-week { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px 30px 24px; box-shadow: var(--shadow-sm); }
.stats-week-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.stats-week-head h3 { font-size: 19px; letter-spacing: -.02em; }
.stats-week-head p { font-size: 13.5px; color: var(--muted); margin-top: 4px; }
.stats-week-sum { flex-shrink: 0; background: var(--primary-soft); color: var(--primary); border-radius: 999px; padding: 7px 14px; font-size: 12.5px; font-weight: 800; font-variant-numeric: tabular-nums; }
.stats-bars { display: flex; align-items: flex-end; gap: 14px; height: 178px; }
.stats-bar { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; height: 100%; justify-content: flex-end; }
.stats-bar-n { font-size: 12.5px; font-weight: 800; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.stats-bar-fill { display: block; width: 100%; max-width: 46px; background: linear-gradient(180deg, var(--primary) 0%, var(--indigo-deep) 100%); border-radius: 8px 8px 4px 4px; min-height: 8px; transition: height .6s cubic-bezier(.22,.8,.35,1); }
.stats-bar:hover .stats-bar-fill { background: linear-gradient(180deg, var(--indigo-deep) 0%, var(--indigo-deep) 100%); }
.stats-bar-l { font-size: 11px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.stats-privacy { display: flex; gap: 24px; align-items: flex-start; background: var(--surface); border: 1px solid var(--primary-line); border-radius: 24px; padding: 30px 32px; box-shadow: var(--shadow-sm); }
.stats-privacy-ico { flex-shrink: 0; width: 56px; height: 56px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; }
.stats-privacy-ico svg { width: 28px; height: 28px; }
.stats-privacy-body h3 { font-size: 20px; letter-spacing: -.02em; margin-bottom: 8px; }
.stats-privacy-body p { font-size: 14.5px; line-height: 1.62; color: var(--muted); max-width: 78ch; }
.stats-privacy-list { display: grid; gap: 8px; margin-top: 16px; }
.stats-privacy-list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.stats-privacy-list svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; }
@media (max-width: 900px) {
  .stats-pulse { flex-direction: column; align-items: stretch; padding: 28px 24px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .stats-pulse-n { font-size: 44px; }
  .stats-pulse-chips { grid-template-columns: 1fr 1fr; }
  .stats-week-head { flex-direction: column; gap: 10px; }
  .stats-bars { gap: 6px; }
  .stats-bar-n { font-size: 10.5px; }
  .stats-bar-l { font-size: 9px; }
  .stats-privacy { flex-direction: column; padding: 22px 20px; gap: 16px; }
  .stats-week { padding: 20px 16px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .stats-bar-fill { transition: none; }
}
.stats-start-note { max-width: 46ch; margin-top: 10px; font-size: 13px; line-height: 1.5; font-weight: 600; color: rgba(255,255,255,.78); border-left: 3px solid rgba(255,198,107,.65); padding-left: 10px; }
.cmp-panel-head { display: flex; align-items: center; gap: 9px; font-size: 14px; width: 100%; }
.cmp-panel-head b { font-weight: 800; color: var(--ink); }
.cmp-panel-head i { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--faint); margin-left: auto; letter-spacing: .02em; }
.cmp-panel-foot { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 12.5px; line-height: 1.45; font-weight: 600; color: var(--muted); padding-top: 12px; border-top: 1px solid var(--line-2); width: 100%; }
.cmp-panel-foot svg { color: var(--ok); flex-shrink: 0; }
@media (max-width: 640px) {
  .cmp-panel-foot { font-size: 11.5px; }
}
.push-row { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--line-2); margin-top: 6px; padding: 9px 12px 4px; }
.push-row-ico { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary); }
.push-row-ico svg { width: 14px; height: 14px; }
.push-row-txt { min-width: 0; flex: 1; }
.push-row-txt b { display: block; font-size: 12.5px; color: var(--ink); line-height: 1.25; }
.push-row-txt i { font-style: normal; font-size: 11.5px; color: var(--muted); line-height: 1.3; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.push-toggle { font-family: inherit; font-size: 11.5px; font-weight: 800; color: var(--dn-on-accent); background: var(--primary); border: 1px solid var(--primary-2); border-radius: 999px; padding: 4px 12px; cursor: pointer; transition: background .15s ease, transform .15s ease, color .15s ease; flex-shrink: 0; }
.push-toggle:hover { background: var(--primary-2); }
.push-toggle:active { transform: scale(.96); }
.push-toggle-on { color: var(--primary); background: var(--surface); border-color: var(--primary-line); }
.push-toggle-on:hover { background: var(--primary-soft); }
@media (prefers-reduced-motion: reduce) {
  .push-toggle { transition: none; }
}
.chat-app { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 18px; align-items: stretch; min-height: calc(100vh - 240px); }
.chat-threads { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; display: flex; flex-direction: column; gap: 4px; align-self: start; }
.chat-threads-h { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 8px 10px 10px; }
.chat-thread { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--r-md); color: var(--ink); text-decoration: none; transition: background .15s ease; }
.chat-thread:hover { background: var(--surface-2); }
.chat-thread.on { background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary-line); }
.chat-ava { --ava: var(--dn-accent); width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--ava), color-mix(in srgb, var(--ava) 72%, #0A0D26)); color: #fff; font-weight: 800; font-size: 17px; box-shadow: 0 4px 12px color-mix(in srgb, var(--ava) 32%, transparent); }
.chat-ava.sm { width: 36px; height: 36px; border-radius: 12px; font-size: 15px; }
.chat-thread-main { min-width: 0; flex: 1; display: grid; gap: 2px; }
.chat-thread-main b { font-size: 14.5px; font-weight: 800; }
.chat-thread-sub { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-thread-sub i { font-style: normal; color: var(--faint); }
.chat-thread-meta { display: grid; justify-items: end; gap: 4px; }
.chat-thread-meta time { font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }
.chat-unread { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; display: grid; place-items: center; background: var(--amber); color: var(--dn-on-accent); font-size: 11.5px; font-weight: 800; box-shadow: 0 2px 8px rgba(var(--amber-rgb), .4); }
.chat-unread.hidden { display: none; }
.chat-threads-foot { margin-top: 6px; padding: 10px 12px 6px; font-size: 11.5px; color: var(--faint); border-top: 1px dashed var(--line-2); }
.chat-pane { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; overflow: hidden; min-height: 480px; }
.chat-pane--empty { justify-content: center; }
.chat-pane-h { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); background: var(--surface-2); }
.chat-back { display: none; width: 34px; height: 34px; border-radius: 10px; place-items: center; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); }
.chat-back svg { width: 16px; height: 16px; }
.chat-pane-title { display: grid; gap: 1px; }
.chat-pane-title b { font-size: 15px; font-weight: 800; }
.chat-pane-title span { font-size: 12px; color: var(--muted); }
.chat-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 700; color: var(--ok); background: var(--ok-soft); border-radius: 999px; padding: 4px 10px; }
.chat-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: chatPulse 1.8s ease-in-out infinite; }
.chat-live:not(.on) { color: var(--faint); background: var(--surface); border: 1px solid var(--line-2); }
.chat-live:not(.on) i { background: var(--faint); animation: none; }
@keyframes chatPulse {   0%, 100% { box-shadow: 0 0 0 0 rgba(var(--ok-rgb), .35); }
  50% { box-shadow: 0 0 0 5px rgba(var(--ok-rgb), 0); }   }
.chat-scroll { flex: 1; overflow-y: auto; padding: 18px 16px 10px; background: radial-gradient(600px 200px at 85% 0%, rgba(125, 155, 240, .045), transparent 70%), var(--surface); scroll-behavior: smooth; }
.chat-msgs { display: flex; flex-direction: column; gap: 7px; margin: 0 auto; }
.chat-day { display: flex; justify-content: center; margin: 12px 0 6px; }
.chat-day span { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 12px; }
.chat-text { display: block; overflow-wrap: anywhere; }
.chat-meta { display: inline-flex; align-items: center; gap: 4px; float: right; margin: 6px 0 0 10px; font-size: 10.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.chat-msg.mine .chat-meta { color: var(--faint); }
.chat-tick { display: inline-flex; width: 13px; height: 13px; opacity: .55; }
.chat-tick svg { width: 13px; height: 13px; }
.chat-tick.rd { opacity: 1; color: var(--dn-ok); }
.chat-empty { text-align: center; padding: 46px 20px 30px; color: var(--muted); display: grid; gap: 6px; justify-items: center; }
.kid-chat-empty { text-align: center; padding: 40px 18px 24px; color: var(--dn-ink-3); display: grid; gap: 6px; justify-items: center; }
.chat-empty-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; background: var(--amber-soft); }
.kc-ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; background: var(--amber-soft); }
.chat-empty b { color: var(--ink); font-size: 16px; }
.kid-chat-empty b { color: var(--dn-ink); font-size: 16.5px; }
.chat-empty p { max-width: 320px; font-size: 13.5px; margin: 0; }
.kid-chat-empty p { max-width: 300px; font-size: 14px; margin: 0; }
.chat-composer { display: flex; align-items: flex-end; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line-2); background: var(--surface-2); }
.chat-composer textarea { flex: 1; resize: none; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 10px 14px; font: inherit; font-size: 14.5px; color: var(--ink); max-height: 132px; transition: border-color .15s ease, box-shadow .15s ease; }
.chat-composer textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.chat-send { width: 44px; height: 44px; border-radius: 14px; flex-shrink: 0; display: grid; place-items: center; background: var(--primary); color: var(--dn-on-accent); border: 0; cursor: pointer; box-shadow: 0 6px 14px rgba(var(--primary-rgb), .28); transition: transform .15s ease, background .15s ease; }
.chat-send svg { width: 18px; height: 18px; }
.chat-send:hover { background: var(--primary-2); }
.chat-send:active { transform: scale(.94); }
.chat-dot { background: var(--amber); }
.icon-btn.chat-btn { position: relative; color: var(--ink-2); }
@media (max-width: 960px) {
  .chat-app { grid-template-columns: 1fr; min-height: calc(100vh - 210px); }
  .chat-threads { flex-direction: row; overflow-x: auto; padding: 8px; }
  .chat-threads-h { display: none; }
  .chat-threads-foot { display: none; }
  .chat-thread { min-width: 190px; }
  .chat-thread-main b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chat-thread-sub { display: none; }
  .chat-thread-meta time { display: none; }
  .chat-pane { min-height: 420px; }
  .chat-app .chat-threads { display: none; }
  .chat-app .chat-pane { display: none; }
  .chat-app:not(.thread-open) .chat-threads { display: flex; }
  .chat-app.thread-open .chat-pane { display: flex; }
  .chat-app.thread-open .chat-back { display: grid; }
}
@media (max-width: 480px) {
  .chat-scroll { padding: 12px 10px 8px; }
  .chat-composer { padding: 10px; gap: 8px; }
  .chat-send { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-live i { animation: none; }
  .chat-scroll { scroll-behavior: auto; }
}
.sos-banner[hidden] { display: none !important; }
.sos-banner { display: flex; align-items: center; gap: 14px; background: var(--danger-soft); border: 1.5px solid var(--danger); color: var(--dn-danger); border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 16px; box-shadow: 0 4px 18px rgba(var(--danger-rgb), .18); animation: sos-in .3s ease; }
@keyframes sos-in {   from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }   }
.sos-banner .sos-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.sos-banner .sos-main b { font-size: 15.5px; letter-spacing: .01em; }
.sos-banner .sos-main span { font-size: 13.5px; color: var(--dn-danger); }
.sos-banner .sos-main time { font-size: 12px; color: var(--dn-danger); }
.sos-pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--danger); flex-shrink: 0; animation: sos-beat 1.1s ease-in-out infinite; }
@keyframes sos-beat {   0%, 100% { box-shadow: 0 0 0 0 rgba(var(--danger-rgb), .45); transform: scale(1); }
  50% { box-shadow: 0 0 0 8px rgba(var(--danger-rgb), 0); transform: scale(1.15); }   }
.sos-ack-btn { background: var(--coral); color: #fff; border: none; padding: 10px 16px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600; cursor: pointer; flex-shrink: 0; white-space: nowrap; transition: background .18s ease, transform .12s ease; }
.sos-ack-btn:hover { background: color-mix(in srgb, var(--coral) 85%, #000); }
.sos-ack-btn:active { transform: scale(.97); }
.sos-ack-btn[disabled] { opacity: .75; cursor: default; }
.sos-banner.done { border-color: var(--dn-ok); background: var(--ok-soft); color: var(--dn-ok); box-shadow: none; }
.sos-banner.done .sos-pulse { background: var(--dn-ok); animation: none; }
.sos-banner.done .sos-ack-btn { background: var(--dn-ok); }
@media (max-width: 640px) {
  .sos-banner { flex-wrap: wrap; padding: 12px 14px; }
  .sos-ack-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .sos-pulse { animation: none; }
  .sos-banner { animation: none; }
}
.push-card { margin-bottom: 16px; }
.push-main { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.push-main b { font-size: 15px; }
.push-main span { font-size: 13px; color: var(--muted); }
.push-switch { position: relative; width: 52px; height: 30px; flex-shrink: 0; border-radius: 15px; border: none; cursor: pointer; background: var(--line); transition: background .2s ease; }
.push-switch .push-knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface); box-shadow: 0 1px 4px rgba(0,0,0,.22); transition: transform .2s ease; }
.push-switch.on { background: var(--primary); }
.push-switch.on .push-knob { transform: translateX(22px); }
.push-switch[disabled] { opacity: .5; cursor: default; }
.push-foot { display: flex; align-items: center; gap: 12px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.push-note { margin-top: 8px; font-size: 13px; }
.push-note.ok { color: var(--ok); }
.push-note.err { color: var(--danger, var(--danger)); }
.chat-voice { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid rgba(125, 155, 240, .22); border-radius: 14px; padding: 8px 12px 8px 10px; box-shadow: 0 1px 2px rgba(0, 0, 10, .25); }
.chat-voice audio { width: 208px; max-width: 56vw; height: 38px; vertical-align: middle; border-radius: 9px; }
.chat-voice-dur { font-size: 11px; font-weight: 800; color: var(--dn-ok); white-space: nowrap; background: var(--ok-soft); border-radius: 999px; padding: 3px 9px; }
.chat-circle { width: 216px; height: 216px; max-width: 72vw; max-height: 72vw; border-radius: 50%; object-fit: cover; display: block; background: #0A0D26; }
.ico { width: 1.05em; height: 1.05em; display: inline-block; vertical-align: -0.18em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.auth-about { margin-top: 16px; }
.auth-about h2 { font-size: 19px; margin-bottom: 6px; }
.auth-about-list { list-style: none; margin: 14px 0 4px; padding: 0; display: grid; gap: 12px; }
.auth-about-list li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.auth-about-list li svg { width: 22px; height: 22px; margin-top: 1px; color: var(--primary, var(--primary)); }
.auth-about-list b { display: block; margin-bottom: 1px; color: var(--ink); }
.stat-chip { display: flex; align-items: baseline; gap: 8px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 14px 18px; }
.stat-chip b { font-size: 21px; letter-spacing: -.02em; color: var(--primary); }
.stat-chip span { font-size: 13px; color: var(--muted); font-weight: 600; }
.ritual-grid { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; }
.ritual-grid thead th { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: center; }
.ritual-grid thead th:first-child { text-align: left; padding-left: 18px; }
.ritual-grid thead th i { display: block; font-style: normal; font-weight: 600; color: var(--faint); font-size: 10.5px; }
.ritual-grid thead th.is-today { color: var(--primary); }
.ritual-grid tbody td { padding: 8px; text-align: center; border-bottom: 1px solid var(--line-2); }
.ritual-grid tbody tr:last-child td { border-bottom: 0; }
.ritual-grid tbody th { text-align: left; padding: 10px 8px 10px 18px; border-bottom: 1px solid var(--line-2); font-weight: 400; min-width: 240px; }
.ritual-grid td.is-today { background: rgba(var(--primary-rgb), .045); }
.r-title { display: flex; align-items: center; gap: 11px; }
.r-title b { display: block; font-size: 14.5px; letter-spacing: -.01em; }
.r-title i { font-style: normal; display: block; margin-top: 2px; }
.r-ico { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; }
.r-dot { width: 26px; height: 26px; display: inline-grid; place-items: center; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); padding: 0; cursor: pointer; transition: border-color .15s ease, background .15s ease, transform .1s ease; font-family: inherit; color: #fff; }
.r-dot:hover { border-color: var(--primary); transform: scale(1.08); }
.r-dot.r-on { background: var(--primary); border-color: var(--primary); }
.r-dot.r-off { cursor: default; background: var(--surface-2); }
.r-dot.r-off:hover { transform: none; border-color: var(--line); }
.r-dot.r-future { cursor: default; border-style: dashed; background: var(--surface-2); }
.r-dot.r-future:hover { transform: none; border-color: var(--line); }
.r-check-form { display: flex; margin: 0; }
.r-streak-col { white-space: nowrap; }
.r-streak { font-size: 15px; color: var(--muted); }
.r-streak.r-hot { color: var(--amber-2); }
.r-actions { display: flex; gap: 12px; align-items: center; justify-content: center; white-space: nowrap; }
.mini-link { font-size: 12.5px; font-weight: 700; color: var(--muted); background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.mini-link:hover { color: var(--primary); }
.mini-danger:hover { color: var(--danger); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ritual-quick { display: grid; gap: 8px; }
.ritual-quick-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 0; border-radius: 12px; background: var(--surface-2); }
.ritual-quick-item .rq-main { flex: 1; min-width: 0; }
.ritual-quick-item .rq-main b { font-size: 14px; display: block; }
.ritual-quick-item .rq-main i { font-style: normal; font-size: 12px; color: var(--faint); }
.ritual-quick-item .r-dot { width: 30px; height: 30px; }
.rq-streak { font-size: 12px; font-weight: 800; color: var(--muted); background: var(--surface); border: 1px solid var(--line-2); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.rq-streak.hot { color: var(--amber-2); border-color: rgba(246, 196, 82, .38); background: var(--amber-soft); }
.seg-row { display: flex; flex-wrap: wrap; gap: 8px; }
.icon-row { display: flex; flex-wrap: wrap; gap: 8px; }
.wd-row { display: flex; flex-wrap: wrap; gap: 8px; }
.color-row { display: flex; flex-wrap: wrap; gap: 8px; }
.seg { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); background: var(--surface); transition: border-color .15s ease, background .15s ease, color .15s ease; user-select: none; }
.seg input:checked + span { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); }
.seg input:focus-visible + span { outline: 3px solid rgba(var(--primary-rgb), .28); outline-offset: 2px; }
.seg-icon span { padding: 9px 12px; border-radius: 12px; }
.seg-sm span { padding: 8px 12px; font-size: 13px; }
.color-dot { position: relative; cursor: pointer; }
.color-dot input { position: absolute; opacity: 0; pointer-events: none; }
.color-dot span { display: block; width: 34px; height: 34px; border-radius: 999px; border: 3px solid transparent; transition: border-color .15s ease, transform .1s ease; }
.color-dot:hover span { transform: scale(1.06); }
.color-dot input:checked + span { border-color: var(--surface); outline: 2px solid var(--primary); }
.ana-block { padding: 22px 24px; }
.ana-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ana-head h3 { font-size: 16.5px; margin-bottom: 4px; }
.ana-kpi { text-align: right; display: grid; gap: 3px; }
.ana-kpi b { font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--primary); line-height: 1; }
.delta { font-size: 12.5px; font-weight: 800; border-radius: 999px; padding: 3px 10px; display: inline-block; }
.delta.up { color: var(--ok); background: var(--ok-soft); }
.delta.down { color: var(--danger); background: var(--danger-soft); }
.ana-svg { width: 100%; height: auto; display: block; }
.ana-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10.5px; font-weight: 600; color: var(--faint); }
.ana-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.head-links { display: flex; gap: 8px; flex-wrap: wrap; }
.area-bars { display: grid; gap: 12px; }
.area-bar { display: grid; grid-template-columns: 170px 1fr 36px; align-items: center; gap: 12px; font-size: 13.5px; }
.area-name { font-weight: 700; color: var(--ink-2); }
.area-track { height: 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); overflow: hidden; }
.area-track i { display: block; height: 100%; border-radius: 999px; }
.area-val { text-align: right; font-weight: 800; color: var(--muted); }
.top-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.top-skills .chip { font-size: 12px; font-weight: 700; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); }
.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 8px; }
.bar-col { flex: 1; display: grid; gap: 6px; justify-items: center; min-width: 0; }
.bar-col > span { font-size: 10px; font-weight: 600; color: var(--faint); white-space: nowrap; }
.bar-stack { width: 100%; max-width: 42px; height: 118px; display: flex; flex-direction: column-reverse; border-radius: 8px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line-2); }
.bar-stack i { display: block; width: 100%; transition: height .3s ease; }
.bar-done { background: var(--primary); }
.bar-missed { background: rgba(232, 96, 76, .45); }
.bar-rit-fill { background: var(--amber); border-radius: 0; }
.legend { display: flex; gap: 18px; margin-top: 14px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.lg-done { background: var(--primary); }
.lg-missed { background: rgba(232, 96, 76, .45); }
.mood-bars { display: flex; align-items: flex-end; gap: 6px; height: 150px; padding-top: 8px; }
.mood-col { flex: 1; display: grid; gap: 6px; justify-items: center; min-width: 0; }
.mood-col > span { font-size: 10px; font-weight: 600; color: var(--faint); }
.mood-track { width: 100%; height: 118px; display: flex; align-items: flex-end; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-2); overflow: hidden; }
.mood-track i { display: block; width: 100%; background: linear-gradient(180deg, var(--area-body), var(--ok)); border-radius: 0; }
.compare-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.compare-cell { display: grid; gap: 5px; border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 16px 18px; background: var(--surface-2); }
.compare-nums { display: flex; align-items: center; gap: 10px; }
.compare-nums b { font-size: 24px; letter-spacing: -.02em; }
@media (max-width: 860px) {
  .ana-grid { grid-template-columns: 1fr; }
  .compare-row { grid-template-columns: 1fr; }
  .area-bar { grid-template-columns: 120px 1fr 32px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 56px; }
}
@media (max-width: 560px) {
  .ritual-grid tbody th { min-width: 190px; }
  .ana-block { padding: 18px 16px; }
  .bar-chart { gap: 5px; }
  .r-actions { flex-direction: column; gap: 6px; }
}
[hidden] { display: none !important; }
.kid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(252px, 1fr)); gap: 12px; }
.kidc { border: 0; border-radius: 18px; padding: 14px; background: var(--surface); transition: box-shadow .22s ease, border-color .22s ease, background .22s ease, transform .22s ease; min-width: 0; box-shadow: var(--shadow-card); }
.kidc.is-on { border-color: var(--primary-line); background: linear-gradient(180deg, var(--dn-surface-2), rgba(125, 155, 240, .10)); box-shadow: 0 8px 22px -12px rgba(var(--primary-rgb), .32); border: 0; }
.kidc-top { display: flex; align-items: center; gap: 12px; }
.kidc-av { position: relative; width: 44px; height: 44px; border-radius: 14px; background: var(--av); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28), 0 5px 12px -5px rgba(0, 0, 10, .45); }
.kidc-initial { font-size: 17px; font-weight: 800; line-height: 1; }
.kidc-dot { position: absolute; right: -3px; bottom: -3px; width: 12px; height: 12px; border-radius: 999px; background: var(--line-2); border: 2.5px solid #fff; transition: background .25s ease; }
.kidc.is-on .kidc-dot { background: var(--ok); box-shadow: none; }
.kidc-who { display: grid; gap: 1px; min-width: 0; }
.kidc-name { font-size: 15px; font-weight: 800; color: var(--ink); line-height: 1.25; }
.kidc-status { font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.kidc-status.is-on { color: var(--ok); font-weight: 700; }
.kidc-status.is-none { color: var(--faint); font-style: italic; }
.kidc .dev-ring { margin-left: auto; }
.kidc-where { display: flex; align-items: baseline; gap: 8px; margin-top: 11px; padding: 8px 10px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-sm); min-width: 0; }
.kidc-where .where-badge { flex-shrink: 0; }
.kidc-where-t { font-size: 13px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.kidc-when { margin-left: auto; font-size: 12px; color: var(--faint); flex-shrink: 0; }
.kidc-meta { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.kidc .dev-chip.chip-mood { background: var(--amber-soft); border-color: rgba(246, 196, 82, .38); color: var(--amber-2); border: 0; }
.kidc .dev-chip.chip-points { background: var(--primary-soft); border-color: var(--primary-line); color: var(--primary); border: 0; }
.kidc-add { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1.5px dashed var(--line); background: transparent; color: var(--faint); font-size: 13.5px; font-weight: 700; min-height: 96px; transition: border-color .2s ease, color .2s ease, background .2s ease; box-shadow: none; }
.kidc-add:hover { border-color: var(--primary-line); color: var(--primary); background: var(--primary-soft); box-shadow: none; }
.kidc-plus { width: 26px; height: 26px; border-radius: 999px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line); font-size: 17px; font-weight: 600; line-height: 1; }
.today-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.today-col { display: grid; gap: 12px; min-width: 0; align-content: start; }
.inbox-ok { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px dashed var(--primary-line); border-radius: var(--r-md); background: var(--ok-soft); }
.inbox-ok-ico { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; background: var(--surface); color: var(--ok); border: 1px solid rgba(99, 217, 184, .38); flex-shrink: 0; }
.inbox-ok div { display: grid; gap: 1px; }
.inbox-ok b { font-size: 14px; color: var(--dn-ok); }
.inbox-ok span { font-size: 12.5px; color: var(--muted); }
.week-band { padding: 16px 18px; }
.wb-stats { display: flex; align-items: stretch; flex-wrap: wrap; }
.wb-stat { flex: 1 1 120px; display: grid; gap: 2px; padding: 6px 16px; border-left: 1px solid var(--line-2); text-decoration: none; min-width: 0; }
.wb-stat:first-child { border-left: 0; padding-left: 2px; }
.wb-stat b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); line-height: 1.15; }
.wb-stat span { font-size: 12px; color: var(--muted); line-height: 1.3; }
.wb-stat.ok b { color: var(--ok); }
.wb-stat.miss b { color: var(--danger); }
.wb-stat.fire b { color: var(--amber-2); }
.wb-stat.idx b { color: var(--primary); }
.wb-stat:hover b { text-decoration: underline; text-underline-offset: 3px; }
.wb-load { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.wb-load-h { display: flex; align-items: baseline; justify-content: space-between; font-size: 12.5px; font-weight: 800; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.wb-load-h b { font-size: 13.5px; color: var(--ink); letter-spacing: 0; text-transform: none; }
.wb-load .ld-bar-wrap { height: 42px; }
.wb-win { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line-2); min-width: 0; }
.wb-win-ico { width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--amber-soft); color: var(--amber-2); font-size: 14px; flex-shrink: 0; }
.wb-win div { display: flex; align-items: baseline; gap: 8px; min-width: 0; flex-wrap: wrap; }
.wb-win b { font-size: 13.5px; color: var(--ink); }
.wb-win span { font-size: 12.5px; color: var(--faint); }
.insight-line { display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 10px 14px; border: 0; border-radius: var(--r-md); background: var(--surface); font-size: 13px; color: var(--muted); min-width: 0; }
.insight-line svg { flex-shrink: 0; color: var(--faint); }
.insight-line b { color: var(--ink); font-weight: 800; white-space: nowrap; }
.insight-line span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.insight-line.tone-ok { background: var(--ok-soft); border-color: rgba(99, 217, 184, .38); }
.insight-line.tone-ok b { color: var(--dn-ok); }
.insight-line.tone-ok svg { color: var(--dn-ok); }
.insight-line.tone-warn { background: var(--amber-soft); border-color: rgba(246, 196, 82, .38); }
.insight-line.tone-warm { background: var(--amber-soft); border-color: rgba(246, 196, 82, .38); }
.insight-line.tone-warn b { color: var(--amber-2); }
.insight-line.tone-warn svg { color: var(--amber-2); }
.insight-line.tone-warm b { color: var(--amber-2); }
.insight-line.tone-warm svg { color: var(--amber-2); }
.insight-line.tone-info { background: var(--info-soft); border-color: rgba(125, 155, 240, .38); }
.insight-line.tone-info b { color: var(--info); }
.insight-line.tone-info svg { color: var(--info); }
.pulse-zone { padding: 16px 18px; }
.evening-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.evening-col { display: grid; gap: 12px; min-width: 0; align-content: start; }
.idea-hint { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface); min-width: 0; }
.idea-hint .idea-area { flex-shrink: 0; }
.idea-hint .ih-main { display: grid; gap: 1px; min-width: 0; flex: 1; }
.idea-hint .ih-main b { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--faint); }
.idea-hint .ih-main span { font-size: 13.5px; color: var(--ink); font-weight: 600; }
.idea-hint form { flex-shrink: 0; }
@media (max-width: 600px) {
  .today-row { flex-wrap: wrap; }
  .today-row .row-btns { width: 100%; justify-content: flex-end; margin-top: 2px; }
}
@media (max-width: 1020px) {
  .today-grid { grid-template-columns: minmax(0, 1fr); }
  .evening-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .kid-cards { grid-template-columns: repeat(auto-fill, minmax(228px, 1fr)); gap: 10px; }
  .wb-stat { flex: 1 1 40%; padding: 6px 10px; }
  .wb-stat:nth-child(odd) { border-left: 0; padding-left: 2px; }
  .wb-stat b { font-size: 19px; }
}
@media (max-width: 480px) {
  .kidc-when { display: none; }
  .wb-stats { flex-direction: column; gap: 8px; }
  .wb-stat { border-left: 0; padding-left: 2px; }
  .wb-stat b { font-size: 18px; }
}
.table-scroll { position: relative; overflow-x: auto; }
.table-scroll .ritual-grid { min-width: 760px; }
.main-app { display: grid; gap: 20px; align-content: start; }
.main-app > .quiet-banner { margin: 0; }
.list-row.overdue:first-child { margin-top: -4px; }
.list-row.overdue:last-child { margin-bottom: -4px; }
@media (max-width: 1000px) {
  .header-inner { gap: 12px; }
  .logo-text { font-size: 17.5px; }
  .logo-mark { width: 34px; height: 34px; }
  .main-nav .nav-link { padding: 8px 8px; font-size: 13.5px; }
  .header-actions .icon-btn { width: 34px; height: 34px; }
  .header-actions .alert-wrap > .icon-btn { width: 34px; height: 34px; }
  .user-chip { width: 34px; height: 34px; }
}
@media (max-width: 760px) {
  .header-actions #tourHelpBtn { display: none; }
}
@media (max-width: 800px) {
  .main-nav { display: none; }
  .bottom-nav { display: grid; background: rgba(27, 35, 88, .93); border-top-color: #3A4387; }
  .sheet-nav { display: block; }
  .main { padding-bottom: 120px; }
}
.ritual-quick-item:hover { border: 0; background: var(--surface-2); }
.goal-row { border-bottom: 1px solid var(--line-2); }
.goal-row:last-child { border-bottom: 0; }
.kidc .dev-chip { border: 0; }
.goal-add-n:focus { border-color: var(--primary); }
.task-card .btn { flex-shrink: 0; }
.how-list li { counter-increment: how; position: relative; padding: 0 0 0 34px; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); }
.how-list li::before { content: counter(how); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 8px; background: var(--primary-soft); color: var(--primary); font-size: 11.5px; font-weight: 800; }
.app-upd-banner { background: var(--surface); border-bottom: 1px solid var(--line); padding: 7px 16px; font-family: Manrope, system-ui, sans-serif; }
.aub-btn { box-shadow: none; background: var(--primary); color: #fff; text-decoration: none; font-weight: 700; font-size: 12.5px; padding: 7px 14px; border-radius: 9px; white-space: nowrap; flex: none; }
@media (max-width: 800px) {
  .main-app { gap: 16px; }
  .cols2 { gap: 16px; }
  .grid-2 { gap: 16px; }
}
@media (max-width: 1180px) {
  .top-search { display: none; }
}
@media (max-width: 800px) {
  .site-footer .footer-legal-inner { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}
.ctl-alert { display: flex; align-items: center; gap: 12px; background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(232, 96, 76, .38); border-radius: var(--r-md); padding: 12px 16px; margin-bottom: 16px; }
.ctl-alert svg { width: 22px; height: 22px; flex: none; }
.ctl-alert div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.ctl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ctl-budget { grid-column: span 2; }
.ctl-links { grid-column: span 2; }
@media (max-width: 860px) {
  .ctl-grid { grid-template-columns: 1fr; }
  .ctl-budget { grid-column: span 1; }
  .ctl-links { grid-column: span 1; }
}
.ctl-ring-wrap { display: flex; align-items: center; gap: 20px; margin: 12px 0; }
.ctl-ring { width: 112px; height: 112px; border-radius: 50%; flex: none; display: grid; place-content: center; text-align: center; background: conic-gradient(var(--primary) calc(var(--pct) * 1%), var(--primary-soft) 0); position: relative; }
.ctl-ring::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--surface); }
.ctl-ring b { position: relative; line-height: 1.15; font-size: 26px; color: var(--primary); }
.ctl-ring span { position: relative; line-height: 1.15; font-size: 11px; color: var(--muted); }
.ctl-budget-meta { flex: 1; min-width: 0; }
.ctl-row { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.ctl-row:last-child { border-bottom: 0; }
.ctl-row span { color: var(--muted); }
@media (max-width: 520px) {
  .ctl-ring-wrap { flex-direction: column; }
  .ctl-budget-meta { width: 100%; }
}
.ctl-bars { display: flex; align-items: flex-end; gap: 10px; height: 130px; padding-top: 8px; }
.ctl-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.ctl-bar { width: 100%; max-width: 38px; border-radius: 8px 8px 4px 4px; background: var(--primary-soft); border: 1px solid var(--primary-line); margin-top: auto; min-height: 3px; }
.ctl-bar-col:last-child .ctl-bar { background: var(--primary); border-color: var(--primary); }
.ctl-bar-col span { font-size: 10.5px; color: var(--faint); text-transform: capitalize; }
.ctl-app-list { list-style: none; margin: 0; padding: 0; }
.ctl-app-list li { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.ctl-app-list li:last-child { border-bottom: 0; }
.ctl-app-name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ctl-app-name b { font-size: 14.5px; }
.ctl-others { border-bottom: 0 !important; }
.ctl-app-min { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 92px; }
.ctl-app-min b { font-size: 13.5px; font-variant-numeric: tabular-nums; }
.ctl-minbar { width: 92px; height: 5px; border-radius: 3px; background: var(--surface-2); position: relative; overflow: hidden; }
.ctl-minbar::after { content: ""; position: absolute; inset: 0; width: calc(var(--pct) * 1%); background: var(--primary); border-radius: 3px; }
.ctl-actions { display: flex; gap: 8px; margin-top: 12px; }
.ctl-toggle { position: relative; min-width: 52px; width: 52px; height: 30px; border-radius: 15px; flex: none; border: 1px solid var(--line); background: var(--surface-2); cursor: pointer; transition: background .15s, border-color .15s; display: grid; place-items: center; font-family: inherit; }
.ctl-toggle .ctl-knob { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); transition: transform .15s; box-shadow: none; }
.ctl-toggle.blocked { background: var(--danger-soft); border-color: rgba(232, 96, 76, .38); }
.ctl-toggle.blocked .ctl-knob { transform: translateX(22px); background: var(--danger); border-color: var(--danger); }
.ctl-toggle-label { display: none; }
@media (min-width: 861px) {
  .ctl-toggle { width: auto; height: 34px; padding: 0 12px 0 34px; border-radius: 17px; }
  .ctl-toggle .ctl-knob { top: 4px; left: 4px; }
  .ctl-toggle.blocked { padding: 0 30px 0 12px; }
  .ctl-toggle.blocked .ctl-knob { left: auto; right: 4px; transform: none; }
  .ctl-toggle-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--ok); }
  .ctl-toggle.blocked .ctl-toggle-label { color: var(--danger); }
}
.ctl-block-list { list-style: none; margin: 0; padding: 0; }
.ctl-block-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.ctl-block-list li:last-child { border-bottom: 0; }
.ctl-blocks-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; }
.ctl-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 980px) {
  .ctl-two-col { grid-template-columns: 1fr; }
}
.ctl-sched-list { list-style: none; margin: 0; padding: 0; }
.ctl-sched-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.ctl-sched-list li:last-child { border-bottom: 0; }
.ctl-sched-name { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.ctl-sched-cards { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ctl-sched-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px; background: var(--surface-2); }
.ctl-sched-card.now { border-color: var(--danger); background: var(--danger-soft); }
.ctl-sched-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ctl-sched-times { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.ctl-sched-days { display: flex; gap: 4px; margin-bottom: 10px; }
.ctl-day { width: 26px; height: 24px; display: grid; place-content: center; font-size: 11px; border-radius: 7px; background: var(--surface); color: var(--faint); border: 1px solid var(--line-2); }
.ctl-day.on { background: var(--primary-soft); color: var(--primary); border-color: var(--primary-line); font-weight: 700; }
.ctl-sched-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.ctl-del { color: var(--danger) !important; border-color: rgba(232, 96, 76, .38) !important; }
.ctl-form { display: flex; flex-direction: column; gap: 12px; }
.ctl-field { display: flex; flex-direction: column; gap: 5px; border: 0; padding: 0; margin: 0; }
.ctl-field > span { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ctl-field legend { font-size: 12.5px; font-weight: 700; color: var(--muted); }
.ctl-field input { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; font: inherit; background: var(--surface); color: var(--ink); }
.ctl-field select { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; font: inherit; background: var(--surface); color: var(--ink); }
.ctl-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ctl-day-picker { display: flex; gap: 6px; flex-wrap: wrap; }
.ctl-day-check input { position: absolute; opacity: 0; pointer-events: none; }
.ctl-day-check span { display: grid; place-content: center; width: 34px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); font-size: 12px; font-weight: 700; color: var(--muted); cursor: pointer; }
.ctl-day-check input:checked + span { background: var(--primary); border-color: var(--primary); color: #fff; }
.ctl-hint { margin-top: 12px; }
.ctl-inline { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ctl-inline input[type="text"] { flex: 1; min-width: 160px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; font: inherit; }
.ctl-inline select { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 10px; font: inherit; background: var(--surface); }
.ctl-rule-list { list-style: none; margin: 12px 0 0; padding: 0; }
.ctl-rule-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.ctl-rule-list li:last-child { border-bottom: 0; }
.ctl-log-list { list-style: none; margin: 8px 0 0; padding: 0; }
.ctl-log-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; }
.ctl-log-list li:last-child { border-bottom: 0; }
.ctl-log-list li .small { flex: 1; min-width: 0; }
.ctl-domain { font-weight: 700; font-size: 13.5px; word-break: break-all; }
.ctl-test { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.ctl-verdict { margin: 8px 0 0; font-size: 14px; }
.ctl-verdict.bad { color: var(--danger); }
.ctl-verdict.good { color: var(--ok); }
.ctl-link-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 760px) {
  .ctl-link-grid { grid-template-columns: repeat(2, 1fr); }
}
.ctl-link { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r-md); font-size: 13.5px; font-weight: 700; color: var(--ink); background: var(--surface-2); transition: border-color .15s, background .15s; }
.ctl-link:hover { border-color: var(--primary-line); background: var(--primary-soft); }
.ctl-link svg { width: 20px; height: 20px; color: var(--primary); flex: none; }
.ctl-device { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface-2); font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.ctl-device i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
.ctl-device.on { color: var(--ink); }
.ctl-device.on i { background: var(--ok); }
.ctl-req-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.ctl-req-row:last-child { border-bottom: 0; }
.ctl-ins-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
@media (max-width: 860px) {
  .ctl-ins-grid { grid-template-columns: repeat(2, 1fr); }
}
.ctl-ins { padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: var(--surface-2); display: flex; flex-direction: column; gap: 2px; }
.ctl-ins b { font-size: 20px; font-variant-numeric: tabular-nums; }
.ctl-ins b.up { color: var(--danger); }
.ctl-ins b.down { color: var(--ok); }
.ctl-ins span { font-size: 12px; color: var(--muted); }
.ctl-ins-advice { margin: 10px 0 0; display: flex; flex-direction: column; gap: 4px; }
.ctl-ins-advice span { font-size: 13px; color: var(--muted); display: flex; gap: 7px; align-items: baseline; }
.ctl-ins-advice span::before { content: "\2192"; color: var(--primary); font-weight: 800; }
.ctl-bar-val { font-size: 10.5px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; min-height: 13px; }
.ctl-minbar.over::after { background: var(--danger); }
.ctl-next { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line-2); }
.ctl-limit { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; min-width: 168px; }
.ctl-limit-now { font-size: 12px; font-weight: 800; color: var(--primary); white-space: nowrap; }
.ctl-limit-pills { display: flex; gap: 4px; }
.ctl-pill { min-width: 34px; height: 26px; padding: 0 8px; border-radius: 13px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: 11.5px; font-weight: 800; color: var(--muted); cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.ctl-pill:hover { border-color: var(--primary-line); color: var(--primary); }
.ctl-pill.on { background: var(--primary); border-color: var(--primary); color: #fff; }
.grt-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.grt-card { padding: 14px; position: relative; }
.grt-map { height: 420px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2); z-index: 0; }
@media (max-width: 700px) {
  .grt-map { height: 320px; }
}
.grt-legend { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.grt-legend span { display: inline-flex; align-items: center; gap: 5px; }
.grt-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.grt-start { background: var(--ok); }
.grt-end { background: var(--amber); }
.grt-zone { background: var(--info); opacity: .6; }
.grt-empty { padding: 30px 10px; text-align: center; }
.blg-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 860px) {
  .blg-grid { grid-template-columns: 1fr; }
}
.blg-card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; color: var(--ink); transition: border-color .15s, transform .15s; }
.blg-card:hover { border-color: var(--primary-line); transform: translateY(-1px); }
.blg-emoji { width: 52px; height: 52px; border-radius: 16px; flex: none; display: grid; place-content: center; font-size: 26px; background: var(--amber-soft); border: 1px solid var(--amber-soft); }
.blg-emoji-lg { width: 64px; height: 64px; font-size: 32px; }
.blg-card-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.blg-card-body h2 { font-size: 17.5px; line-height: 1.3; margin: 0; }
.blg-card-body p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.blg-tag { align-self: flex-start; font-size: 11.5px; font-weight: 800; color: var(--amber-2); background: var(--amber-soft); border-radius: 999px; padding: 3px 10px; letter-spacing: .02em; }
.blg-meta { font-size: 12.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.blg-article { max-width: 760px; margin: 0 auto; }
.blg-article-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
.blg-article-head h1 { font-size: 27px; line-height: 1.25; margin: 0; }
.blg-body { padding: 26px; font-size: 15.5px; line-height: 1.72; }
.blg-body p { margin: 0 0 14px; }
.blg-body h2 { font-size: 19px; margin: 22px 0 10px; color: var(--primary); }
.blg-body ul { margin: 0 0 14px; padding-left: 20px; }
.blg-body li { margin-bottom: 8px; }
.blg-body strong { color: var(--primary-2); }
.blg-back { margin: 20px 0 8px; }
.blg-more { max-width: 760px; margin: 26px auto 0; }
.blg-more-title { font-size: 15px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.brn-parent-stats { display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 18px 22px; margin-bottom: 16px; }
.brn-pstat { display: flex; flex-direction: column; gap: 2px; }
.brn-pstat b { font-size: 22px; color: var(--primary); font-variant-numeric: tabular-nums; }
.brn-pstat span { font-size: 12px; color: var(--muted); }
.brn-cats { display: flex; flex-direction: column; gap: 12px; }
.brn-cat-row { display: flex; align-items: center; gap: 12px; }
.brn-cat-label { width: 92px; font-size: 13.5px; font-weight: 700; }
.brn-cat-bar { flex: 1; height: 10px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line-2); overflow: hidden; }
.brn-cat-bar i { display: block; height: 100%; background: var(--primary); border-radius: 5px; min-width: 2px; }
.grt-pin { width: 30px; height: 38px; filter: drop-shadow(0 2px 2px rgba(5,8,30,.25)); }
.lang-switch { position: relative; display: inline-flex; flex: none; margin: 0; }
.lang-btn { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 10px 0 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: .02em; cursor: pointer; transition: border-color .15s, background .15s, color .15s, box-shadow .15s; appearance: none; }
.lang-btn:hover { border-color: var(--line-2); color: var(--ink); background: var(--surface-2); }
.lang-btn:focus-visible { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.lang-switch.open .lang-btn { border-color: var(--primary); color: var(--ink); }
.lang-globe { flex: none; opacity: .72; }
.lang-chev { flex: none; opacity: .55; transition: transform .18s; }
.lang-switch.open .lang-chev { transform: rotate(180deg); }
.lang-code { line-height: 1; }
.lang-panel { position: absolute; top: calc(100% + 6px); right: 0; z-index: 80; min-width: 196px; padding: 6px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-lg); animation: lang-pop .16s ease-out; }
@keyframes lang-pop {   from { opacity: 0; transform: translateY(-4px) scale(.98); }
  to { opacity: 1; transform: none; }   }
.lang-opt { display: flex; align-items: center; gap: 9px; width: 100%; padding: 8px 9px; border: 0; border-radius: 9px; background: none; color: var(--ink-2); font: inherit; font-size: 13.5px; font-weight: 600; text-align: left; cursor: pointer; appearance: none; }
.lang-opt:hover { background: var(--surface-2); color: var(--ink); }
.lang-opt:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--primary-soft); }
.lang-opt-code { display: grid; place-items: center; flex: none; width: 26px; height: 22px; border-radius: 6px; background: var(--surface-2); color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .03em; }
.lang-opt.on { color: var(--primary); }
.lang-opt.on .lang-opt-code { background: var(--primary-soft); color: var(--primary); }
.lang-opt-check { margin-left: auto; opacity: 0; flex: none; }
.lang-opt.on .lang-opt-check { opacity: 1; }
.lang-go { font: inherit; font-size: 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 10px; color: var(--ink-2); cursor: pointer; }
.header-actions .lang-switch { margin-right: 2px; }
.footer-brand .lang-switch { margin-top: 12px; }
.footer-brand .lang-btn { color: var(--muted); background: transparent; }
.footer-brand .lang-btn:hover { color: var(--ink); background: var(--surface-2); }
.footer-brand .lang-panel { top: auto; bottom: calc(100% + 6px); }
#navUserMenu .lang-switch { display: flex; width: 100%; padding: 2px 0 6px; }
.mm-lang .lang-switch { display: flex; width: 100%; padding: 2px 0 6px; }
#navUserMenu .lang-btn { flex: 1; height: 36px; justify-content: center; }
.mm-lang .lang-btn { flex: 1; height: 36px; justify-content: center; }
#navUserMenu .lang-panel { position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; border-radius: 12px; background: var(--surface-2); padding: 6px; animation: none; }
.mm-lang .lang-panel { position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; border-radius: 12px; background: var(--surface-2); padding: 6px; animation: none; }
#navUserMenu .lang-panel[hidden] { display: none; }
.mm-lang .lang-panel[hidden] { display: none; }
#navUserMenu .lang-opt-code { background: var(--surface); }
.mm-lang .lang-opt-code { background: var(--surface); }
@media (max-width: 840px) {
  .lang-btn { height: 34px; padding: 0 9px; }
}
@media (max-width: 480px) {
  .header-actions .lang-code { display: none; }
  .header-actions .lang-btn { padding: 0 8px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .lang-panel { animation: none; }
  .lang-chev { transition: none; }
}
.map-layers { position: absolute; top: 10px; right: 10px; z-index: 500; display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); box-shadow: var(--shadow-md); }
.map-layer-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border: 0; border-radius: 8px; background: none; color: var(--muted); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; appearance: none; }
.map-layer-btn:hover { color: var(--ink); }
.map-layer-btn.on { background: var(--primary-soft); color: var(--primary); }
.map-layer-btn svg { flex: none; opacity: .8; }
.rep-head { display: grid; gap: var(--sp-3); }
.rep-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 14px; }
.rep-big { font-size: 44px; font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -1px; }
.rep-unit { color: var(--muted); font-weight: 600; font-size: 14px; }
.rep-delta { font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.rep-delta.up { background: var(--danger-soft); color: var(--danger); }
.rep-delta.down { background: var(--ok-soft); color: var(--ok); }
.rep-meta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.rep-meta-item { display: grid; gap: 2px; padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg); }
.rep-meta-item b { font-size: 15px; color: var(--ink); }
.rep-meta-item span { font-size: 12px; color: var(--muted); }
.rep-bars { display: flex; align-items: flex-end; gap: 10px; height: 120px; padding-top: 6px; }
.rep-bar-col { flex: 1; display: grid; grid-template-rows: 1fr auto; align-items: end; gap: 6px; height: 100%; }
.rep-bar-col i { display: block; width: 100%; min-height: 3px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--primary), var(--primary-2)); }
.rep-bar-col span { text-align: center; font-size: 11.5px; color: var(--faint); font-weight: 700; }
.rep-advice { display: grid; gap: 8px; margin-bottom: var(--sp-4); }
.rep-advice-item { display: flex; gap: 10px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 14px; color: var(--ink-2); font-size: 14px; }
.rep-advice-item svg { flex: none; width: 16px; height: 16px; color: var(--amber-2); margin-top: 2px; }
.rep-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
@media (max-width: 800px) {
  .rep-grid { grid-template-columns: 1fr; }
}
.rep-top-apps { display: grid; gap: 12px; }
.rep-app-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.rep-app-head b { font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rep-app-head span { flex: none; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.rep-app-bar { height: 8px; border-radius: 6px; background: var(--bg); overflow: hidden; margin-top: 4px; }
.rep-app-bar i { display: block; height: 100%; border-radius: 6px; background: var(--primary); }
.rep-app-row.hot .rep-app-bar i { background: var(--danger); }
.rep-kv { display: grid; gap: 2px; }
.rep-kv-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.rep-kv-row:last-child { border-bottom: 0; }
.rep-kv-row span { color: var(--muted); }
.rep-kv-row b { color: var(--ink); font-weight: 700; text-align: right; }
.rep-brain { display: flex; gap: var(--sp-3); align-items: center; margin-bottom: var(--sp-2); }
.rep-brain-badge { display: grid; place-items: center; gap: 2px; width: 92px; height: 92px; border-radius: 50%; background: var(--primary-soft); border: 2px solid var(--primary); flex: none; }
.rep-level-n { font-size: 26px; font-weight: 800; color: var(--primary-2, var(--primary)); line-height: 1; }
.rep-level-name { font-size: 9.5px; font-weight: 700; color: var(--muted); text-align: center; padding: 0 6px; }
.ctl-alert.ok { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.ctl-alert.ok svg { color: var(--ok); }
.game-card-rows { display: grid; gap: 10px; }
.game-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: var(--dn-surface-2); border: 1px solid var(--dn-line); }
.game-row-ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-content: center; font-size: 20px; background: linear-gradient(160deg, var(--dn-warm-soft), var(--peach)); border: 1px solid var(--dn-line-2); }
.game-row-main { min-width: 0; flex: 1; }
.game-row-main b { display: block; font-size: 14px; color: var(--ink, var(--dn-ink)); }
.game-row-main span { font-size: 12px; color: var(--sun-text); font-weight: 600; }
.game-row-bar { height: 8px; border-radius: 999px; background: var(--dn-line-2); overflow: hidden; margin-top: 5px; }
.game-row-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sun), var(--dn-danger)); }
.game-badges-strip { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.game-badge-pill { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--dn-surface-2); border: 1px solid var(--dn-line-2); color: var(--sun-text); }
.dn-pill { display: inline-flex; align-items: center; gap: 9px; border: 0; border-radius: 999px; padding: 13px 26px; font: 700 15px/1.2 inherit; transition: .18s; text-decoration: none !important; cursor: pointer; }
.dn-pill:active { transform: translateY(1px); }
.dn-pill-gold { background: linear-gradient(180deg, var(--sun2), var(--sun)); color: var(--dn-on-accent); box-shadow: 0 12px 30px rgba(var(--amber-rgb), .38), inset 0 1px 0 rgba(255,255,255,.75); }
.dn-pill-gold:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(242,169,59,.48), inset 0 1px 0 rgba(255,255,255,.75); }
.dn-pill-ghost { background: var(--dn-surface); color: var(--dn-ink-2); box-shadow: inset 0 0 0 1.5px rgba(184,116,26,.24); }
.dn-pill-ghost:hover { background: var(--dn-surface-2); color: var(--dn-ink); box-shadow: inset 0 0 0 1.5px rgba(184,116,26,.4); }
.dn-pill-sm { padding: 9px 18px; font-size: 13.5px; }
@media (prefers-reduced-motion: reduce) {
  .dn-pill { transition: none !important; }
}
body.landing h1 { font-family: var(--dn-font-head); }
body.landing h2 { font-family: var(--dn-font-head); }
body.landing h3 { font-family: var(--dn-font-head); }
body.pricing-page h1 { font-family: var(--dn-font-head); }
body.pricing-page h2 { font-family: var(--dn-font-head); }
body.pricing-page h3 { font-family: var(--dn-font-head); }
body.pricing-page .price-value { font-family: var(--dn-font-head); color: var(--sun-deep); }
body.landing .eyebrow { background: var(--dn-warm-soft); border: 0; box-shadow: inset 0 0 0 1px rgba(184,116,26,.28); color: var(--dn-warm-deep); font: 800 11.5px/1.3 var(--dn-font-head); letter-spacing: .16em; text-transform: uppercase; }
body.pricing-page .eyebrow { background: var(--dn-warm-soft); border: 0; box-shadow: inset 0 0 0 1px rgba(184,116,26,.28); color: var(--dn-warm-deep); font: 800 11.5px/1.3 var(--dn-font-head); letter-spacing: .16em; text-transform: uppercase; }
body.landing .eyebrow::before { display: none; }
body.pricing-page .eyebrow::before { display: none; }
body.landing .section-head .kicker { color: var(--dn-warm-deep); font-family: var(--dn-font-head); letter-spacing: .16em; }
body.pricing-page .section-head .kicker { color: var(--dn-warm-deep); font-family: var(--dn-font-head); letter-spacing: .16em; }
body.pricing-page .hero-inner { background: var(--dn-surface); border-radius: var(--dn-ra); box-shadow: var(--dn-shadow-lg), inset 0 0 0 1px var(--dn-line); overflow: hidden; }
body.landing .hero h1 .hl { color: var(--sun-deep); }
body.pricing-page .hero h1 .hl { color: var(--sun-deep); }
body.landing .hero-note { color: var(--dn-ink-2); }
body.pricing-page .hero-note { color: var(--dn-ink-2); }
body.landing .hero-note svg { color: var(--dn-ok); }
body.pricing-page .hero-note svg { color: var(--dn-ok); }
body.landing .hero-hills { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 84px; pointer-events: none; }
body.landing .hero-hills .hh1 { fill: var(--hill-1); }
body.landing .hero-hills .hh2 { fill: var(--hill-2); }
body.landing .hero { --hill-1: rgba(58,67,135,.55); --hill-2: rgba(42,52,121,.75); }
body.pricing-page .price-card { border: 0; border-radius: var(--dn-rc); background: var(--dn-surface); box-shadow: var(--dn-shadow-card), inset 0 0 0 1px var(--dn-line); }
body.landing .step-card { border: 0; border-radius: var(--dn-rc); background: var(--dn-surface); box-shadow: var(--dn-shadow-card), inset 0 0 0 1px var(--dn-line); }
@media (min-width: 601px) {
  body.landing .step-num { background: radial-gradient(circle at 34% 30%, var(--sun2), var(--sun) 72%); color: var(--dn-on-accent); border-radius: 46% 54% 50% 50%; box-shadow: 0 6px 16px rgba(var(--amber-rgb), .4); }
}
body.landing .step-num { color: var(--dn-warm-deep); }
body.landing .cta-band { border-radius: var(--dn-ra); }
body.pricing-page .cta-band { border-radius: var(--dn-ra); }
body.pricing-page .cta-band::before { background: radial-gradient(52% 84% at 50% -22%, rgba(var(--amber-rgb), .35), transparent 64%); }
body.landing .cta-band h2 { color: #fff; }
body.pricing-page .cta-band h2 { color: #fff; }
body.landing .cta-band p { color: rgba(255, 255, 255, .86); }
body.pricing-page .cta-band p { color: rgba(255, 255, 255, .86); }
body.landing .cta-band .kicker { color: var(--gold-lit); }
body.pricing-page .cta-band .kicker { color: var(--gold-lit); }
body.landing .cta-trust span { color: rgba(255, 255, 255, .82); }
body.pricing-page .cta-trust span { color: rgba(255, 255, 255, .82); }
body.pricing-page .price-card .dn-pill { margin-top: auto; }
body.pricing-page .price-pop { border: 0; box-shadow: 0 0 0 2px var(--sun), var(--dn-shadow-lg), inset 0 0 0 1px var(--dn-line); }
body.pricing-page .price-flag { background: linear-gradient(180deg, var(--sun2), var(--sun)); color: var(--dn-on-accent); box-shadow: 0 8px 22px rgba(var(--amber-rgb), .38); }
body.pricing-page .price-value span { color: var(--dn-ink-3); }
body.pricing-page .billing-toggle { background: var(--dn-surface); border-color: var(--dn-line); box-shadow: var(--dn-shadow-sm); }
body.pricing-page .bt-opt { color: var(--dn-ink-2); }
body.pricing-page .bt-opt:hover { color: var(--dn-ink); }
body.pricing-page .bt-opt[aria-pressed="true"] { background: linear-gradient(180deg, var(--sun2), var(--sun)); color: var(--dn-on-accent); box-shadow: 0 8px 22px rgba(var(--amber-rgb), .38); }
body.pricing-page .bt-badge { background: var(--dn-warm-soft); color: var(--dn-warm-deep); }
@media (max-width: 940px) {
  body.pricing-page .hero-inner { border-radius: var(--dn-re); }
}
body.dashboard-page h1 { font-family: var(--dn-font-head); }
body.dashboard-page .today-col section:nth-child(even) { border-radius: var(--dn-re); }
body.dashboard-page .evening-grid section:nth-child(even) { border-radius: var(--dn-re); }
body.dashboard-page .empty-ico { border-radius: 44% 56% 52% 48% / 52% 46% 54% 48%; border-color: transparent; }
body.dashboard-page .kidc { border: 0; border-radius: var(--dn-re); background: var(--dn-surface-2); box-shadow: var(--dn-shadow-sm), inset 0 0 0 1px var(--dn-line-2); }
body.dashboard-page .kidc.is-on { background: linear-gradient(180deg, var(--dn-surface) 30%, rgba(87, 196, 166, .12) 130%); box-shadow: var(--dn-shadow-md), inset 0 0 0 1px var(--dn-line); }
body.dashboard-page .kidc-av { border-radius: 44% 56% 52% 48% / 52% 46% 54% 48%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .30), 0 5px 12px -5px rgba(0, 0, 10, .30); }
body.dashboard-page .kidc-dot { border-color: var(--dn-surface); }
body.dashboard-page .kidc-where { border: 0; border-radius: 999px; background: var(--dn-surface); box-shadow: inset 0 0 0 1px var(--dn-line-2); }
body.dashboard-page .kidc-add { border: 1.5px dashed var(--dn-line); border-radius: var(--dn-re); box-shadow: none; }
body.dashboard-page .kidc-add:hover { background: var(--dn-accent-soft); }
body.dashboard-page .kidc .dev-chip.chip-mood { box-shadow: inset 0 0 0 1px rgba(246, 196, 82, .20); }
body.dashboard-page .kidc .dev-chip.chip-points { box-shadow: inset 0 0 0 1px rgba(74, 95, 193, .18); }
body.dashboard-page .today-row { border: 0; border-radius: 16px 22px 16px 24px; background: var(--dn-surface-2); box-shadow: inset 0 0 0 1px var(--dn-line-2); }
body.dashboard-page .today-row:hover { background: var(--dn-surface); box-shadow: var(--dn-shadow-sm), inset 0 0 0 1px var(--dn-accent-line); }
body.dashboard-page .today-time { border-radius: 999px; }
body.dashboard-page .r-ico { border-radius: 44% 56% 52% 48% / 52% 46% 54% 48%; }
body.dashboard-page .rq-streak.hot { box-shadow: inset 0 0 0 1px rgba(246, 196, 82, .25); }
body.dashboard-page .evening-row { border: 0; border-radius: 16px 22px 16px 24px; background: var(--dn-surface-2); box-shadow: inset 0 0 0 1px var(--dn-line-2); }
body.dashboard-page .evening-check { background: var(--dn-surface); }
body.dashboard-page .evening-row.is-done { background: var(--dn-ok-soft); box-shadow: inset 0 0 0 1px rgba(87, 196, 166, .25); color: var(--dn-ok); }
body.dashboard-page .inbox-ok { border: 1px dashed var(--dn-accent-line); }
body.dashboard-page .inbox-ok-ico { border-color: transparent; background: var(--dn-surface); }
body.dashboard-page .inbox-ok b { color: var(--dn-ok); }
body.dashboard-page .wb-stat b { font-family: var(--dn-font-head); }
body.dashboard-page .ld-bar { border-radius: 999px; background: linear-gradient(180deg, var(--mint), var(--dn-accent)); }
body.dashboard-page .load-day.today { border-color: transparent; box-shadow: inset 0 0 0 1px rgba(246, 196, 82, .30); }
body.dashboard-page .wb-win-ico { border-radius: 44% 56% 52% 48% / 52% 46% 54% 48%; }
body.dashboard-page .insight-line { border: 0; border-radius: 18px 24px 18px 26px; }
body.dashboard-page .insight-line.tone-ok { box-shadow: inset 0 0 0 1px rgba(87, 196, 166, .25); }
body.dashboard-page .insight-line.tone-ok b { color: var(--dn-ok); }
body.dashboard-page .insight-line.tone-ok svg { color: var(--dn-ok); }
body.dashboard-page .insight-line.tone-warn { box-shadow: inset 0 0 0 1px rgba(246, 196, 82, .25); }
body.dashboard-page .insight-line.tone-warm { box-shadow: inset 0 0 0 1px rgba(246, 196, 82, .25); }
body.dashboard-page .insight-line.tone-warn b { color: var(--dn-warm-deep); }
body.dashboard-page .insight-line.tone-warn svg { color: var(--dn-warm-deep); }
body.dashboard-page .insight-line.tone-warm b { color: var(--dn-warm-deep); }
body.dashboard-page .insight-line.tone-warm svg { color: var(--dn-warm-deep); }
body.dashboard-page .insight-line.tone-info { box-shadow: inset 0 0 0 1px rgba(61, 79, 174, .22); }
body.dashboard-page .insight-line.tone-info b { color: var(--dn-info); }
body.dashboard-page .insight-line.tone-info svg { color: var(--dn-info); }
body.dashboard-page .pulse-row { border-radius: 16px 22px 16px 24px; }
body.dashboard-page .pulse-ico { border-radius: 44% 56% 52% 48% / 52% 46% 54% 48%; }
body.dashboard-page .pi-task { background: var(--dn-ok-soft); color: var(--dn-ok); }
body.dashboard-page .pi-wish { background: var(--dn-accent-soft); color: var(--dn-accent); }
body.dashboard-page .pi-checkin { background: var(--dn-info-soft); color: var(--dn-info); }
body.dashboard-page .pi-note { background: var(--dn-warm-soft); color: var(--dn-warm-deep); }
body.dashboard-page .cnt-live { background: var(--dn-ok-soft); }
body.dashboard-page .idea-hint { border: 0; border-radius: 18px 24px 18px 26px; background: var(--dn-surface-2); box-shadow: inset 0 0 0 1px var(--dn-line-2); }
body.dashboard-page .bday-ico { border-radius: 44% 56% 52% 48% / 52% 46% 54% 48%; }
body.dashboard-page .board-input-row input { border-radius: 999px; }
body.dashboard-page .quiet-banner { border: 0; border-radius: var(--dn-re); box-shadow: inset 0 0 0 1px var(--dn-accent-line); }
body.dashboard-page .sos-banner { color: var(--dn-danger); box-shadow: 0 4px 18px rgba(232, 96, 76, .20), inset 0 0 0 1px var(--dn-danger-soft); border-radius: var(--dn-re); }
body.dashboard-page .sos-banner .sos-main span { color: var(--dn-danger); }
body.dashboard-page .sos-banner .sos-main time { color: var(--dn-danger); }
body.dashboard-page .sos-banner.done { border-color: transparent; background: var(--dn-ok-soft); color: var(--dn-ok); box-shadow: none; }
body.dashboard-page .sos-banner.done .sos-pulse { background: var(--dn-ok); }
body.dashboard-page .flash { border: 0; border-radius: var(--dn-re); box-shadow: var(--dn-shadow-sm), inset 0 0 0 1px var(--dn-line-2); }
body.dashboard-page .flash-success { border-color: transparent; background: var(--dn-ok-soft); color: var(--dn-ok); }
body.dashboard-page .flash-error { border-color: transparent; background: var(--dn-danger-soft); color: var(--dn-danger); }
body.dashboard-page .flash-warning { border-color: transparent; background: var(--dn-danger-soft); color: var(--dn-danger); }
body.dashboard-page .btn-soft:hover { background: var(--dn-accent-soft); box-shadow: none; }
body.dashboard-page .nav-link { border-radius: 999px; }
body.dashboard-page .icon-btn { border-radius: 999px; }
body.dashboard-page .alert-dot { border-color: var(--dn-surface); }
body.dashboard-page .nav-dropdown { border-radius: var(--dn-re); }
body.dashboard-page .alert-panel { border-radius: var(--dn-re); }
body.dashboard-page .top-search input { border-radius: 999px; }
.main-app h1 { font-family: var(--dn-font-head); }
.main-app .grid-2 > :nth-child(even) { border-radius: var(--dn-re); }
.main-app .stat-grid > :nth-child(even) { border-radius: var(--dn-re); }
.main-app .empty-ico { border-radius: 44% 56% 52% 48% / 52% 46% 54% 48%; border-color: transparent; }
.main-app .empty b { font-family: var(--dn-font-head); }
.main-app .kid-card { border: 0; border-radius: var(--dn-re); background: var(--dn-surface); box-shadow: var(--dn-shadow-sm), inset 0 0 0 1px var(--dn-line-2); transition: box-shadow .25s ease, transform .25s ease; }
.main-app .kid-card:hover { box-shadow: var(--dn-shadow-md), inset 0 0 0 1px var(--dn-accent-line); }
.main-app .kid-av { border-radius: 44% 56% 52% 48% / 52% 46% 54% 48%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .30), 0 5px 12px -5px rgba(0, 0, 10, .30); }
.main-app .mock-tags span { border: 0; border-radius: 999px; background: var(--dn-surface-2); box-shadow: inset 0 0 0 1px var(--dn-line-2); }
.main-app .approve-row { border: 0; border-radius: 16px 22px 16px 24px; background: var(--dn-surface-2); box-shadow: inset 0 0 0 1px var(--dn-line-2); }
.main-app .approve-row:hover { background: var(--dn-surface); box-shadow: var(--dn-shadow-sm), inset 0 0 0 1px var(--dn-accent-line); }
.main-app .list-row { border: 0; border-radius: 16px 22px 16px 24px; background: var(--dn-surface-2); box-shadow: inset 0 0 0 1px var(--dn-line-2); }
.main-app .list-row:hover { background: var(--dn-surface); box-shadow: var(--dn-shadow-sm), inset 0 0 0 1px var(--dn-accent-line); }
.main-app .row-sub { color: var(--dn-ink-3); }
.main-app .badge { border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--dn-line-2); }
.main-app .badge-amber { box-shadow: inset 0 0 0 1px rgba(246, 196, 82, .25); }
.main-app .badge-miss { box-shadow: inset 0 0 0 1px rgba(232, 96, 76, .22); }
.main-app .readiness-form select { border-radius: 999px; }
.main-app .zone-row { border: 0; border-radius: 16px 22px 16px 24px; background: var(--dn-surface-2); box-shadow: inset 0 0 0 1px var(--dn-line-2); }
.main-app .zone-ico { border-radius: 44% 56% 52% 48% / 52% 46% 54% 48%; }
.main-app .sd-batt { border: 0; border-radius: var(--dn-ra); background: var(--dn-surface-2); box-shadow: inset 0 0 0 1px var(--dn-line-2); }
.main-app .field input { border-radius: var(--dn-rb); }
.main-app .field select { border-radius: var(--dn-rb); }
.main-app .field textarea { border-radius: var(--dn-rb); }
.main-app input[type="text"] { border-radius: var(--dn-rb); }
.main-app input[type="email"] { border-radius: var(--dn-rb); }
.main-app input[type="password"] { border-radius: var(--dn-rb); }
.main-app input[type="number"] { border-radius: var(--dn-rb); }
.main-app input[type="date"] { border-radius: var(--dn-rb); }
.main-app input[type="time"] { border-radius: var(--dn-rb); }
.main-app textarea { border-radius: var(--dn-rb); }
.main-app .field input:focus { box-shadow: 0 0 0 3px rgba(255, 196, 120, .25); }
.main-app .field select:focus { box-shadow: 0 0 0 3px rgba(255, 196, 120, .25); }
.main-app .field textarea:focus { box-shadow: 0 0 0 3px rgba(255, 196, 120, .25); }
.main-app .nav-link { border-radius: 999px; }
.main-app .icon-btn { border-radius: 999px; }
.main-app .chip { border-radius: 999px; }
.main-app .alert-dot { border-color: var(--dn-surface); }
.main-app .flash { border: 0; border-radius: var(--dn-re); box-shadow: var(--dn-shadow-sm), inset 0 0 0 1px var(--dn-line-2); }
body:not(.landing):not(.pricing-page) .flash-wrap .flash { border: 0; border-radius: var(--dn-re); box-shadow: var(--dn-shadow-sm), inset 0 0 0 1px var(--dn-line-2); }
.main-app .flash-success { border-color: transparent; background: var(--dn-ok-soft); color: var(--dn-ok); }
body:not(.landing):not(.pricing-page) .flash-wrap .flash-success { border-color: transparent; background: var(--dn-ok-soft); color: var(--dn-ok); }
.main-app .flash-error { border-color: transparent; background: var(--dn-danger-soft); color: var(--dn-danger); }
.main-app .flash-warning { border-color: transparent; background: var(--dn-danger-soft); color: var(--dn-danger); }
body:not(.landing):not(.pricing-page) .flash-wrap .flash-error { border-color: transparent; background: var(--dn-danger-soft); color: var(--dn-danger); }
body:not(.landing):not(.pricing-page) .flash-wrap .flash-warning { border-color: transparent; background: var(--dn-danger-soft); color: var(--dn-danger); }
body:not(.landing):not(.pricing-page) .nav-dropdown { border-radius: var(--dn-re); }
body:not(.landing):not(.pricing-page) .alert-panel { border-radius: var(--dn-re); }
body:not(.landing):not(.pricing-page) .top-search input { border-radius: 999px; }
body:not(.landing):not(.pricing-page) .user-chip { border-radius: 44% 56% 52% 48% / 52% 46% 54% 48%; }
.ctx { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; margin: 0 0 14px; padding: 0 2px 12px; border-bottom: 1px solid var(--line-2); border-bottom-color: var(--dn-line); }
.ctx h1 { margin: 0; font-family: var(--dn-font-head,'Nunito'),system-ui,sans-serif; font-size: 19px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; color: var(--dn-ink); }
.ctx p { margin: 2px 0 0; font-size: 13px; color: var(--dn-ink-3); }
.ctx p.sub { margin-top: 3px; font-size: 13px; }
.ctx .muted { margin: 2px 0 0; font-size: 13px; color: var(--dn-ink-3); }
.ctx .crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; font-weight: 600; color: var(--dn-ink-3); margin: 0 0 3px; }
.ctx .crumbs a { color: inherit; text-decoration: none; }
.ctx .crumbs a:hover { color: var(--dn-accent); }
.ctx .h-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.ctx .page-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.sec { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 26px 0 4px; padding-top: 20px; border-top: 0; background-image: linear-gradient(90deg, var(--line-2), transparent 74%); background-repeat: no-repeat; background-size: 100% 1px; background-position: 0 0; }
.sec h2 { margin: 0; font-family: var(--dn-font-head,'Nunito'),system-ui,sans-serif; font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.sec .cnt { font-size: 12.5px; font-weight: 600; color: var(--dn-ink-3); }
.sec .go { margin-left: auto; font-size: 13px; font-weight: 700; color: var(--dn-accent); text-decoration: none; }
.sec .go:hover { text-decoration: underline; }
.sec .h-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sec .h-actions + .go { margin-left: 0; }
.sec .go + .h-actions { margin-left: 0; }
.ctx + .sec { border-top: 0; padding-top: 2px; margin-top: 2px; }
main > .sec:first-child { border-top: 0; padding-top: 2px; margin-top: 2px; }
.app-wrap .ctx + .sec { border-top: 0; padding-top: 2px; margin-top: 2px; }
.rows { min-width: 0; }
.rows .list-row { background: none; box-shadow: none; border-radius: 0; border: 0; border-bottom: 1px solid var(--dn-line-2); padding: 12px 4px; margin: 0; }
.rows .zone-row { background: none; box-shadow: none; border-radius: 0; border: 0; border-bottom: 1px solid var(--dn-line-2); padding: 12px 4px; margin: 0; }
.rows .approve-row { background: none; box-shadow: none; border-radius: 0; border: 0; border-bottom: 1px solid var(--dn-line-2); padding: 12px 4px; margin: 0; }
.rows .list-row:last-child { border-bottom: 0; }
.rows .zone-row:last-child { border-bottom: 0; }
.rows .approve-row:last-child { border-bottom: 0; }
.rows .list-row:hover { background: var(--dn-surface-2); border-radius: 14px; }
.rows .approve-row:hover { background: var(--dn-surface-2); border-radius: 14px; }
.kids-ribbon { min-width: 0; }
.krow { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 18px 8px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--line-2); border-radius: 20px; border-bottom-color: var(--dn-line-2); }
.krow:last-child { border-bottom-color: transparent; }
.krow:hover { background: linear-gradient(90deg,var(--dn-warm-soft),transparent 74%); }
.krow-orb { width: 62px; height: 62px; border-radius: 50%; flex: none; display: grid; place-items: center; font-family: var(--dn-font-head,'Nunito'),system-ui,sans-serif; font-weight: 900; font-size: 24px; color: #fff; box-shadow: inset 0 -6px 12px rgba(0,0,10,.12),0 10px 22px -12px rgba(0,0,10,.35); }
.krow-orb img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.krow-who { min-width: 180px; }
.krow-who h3 { margin: 0; font-family: var(--dn-font-head,'Nunito'),system-ui,sans-serif; font-size: 21px; font-weight: 800; line-height: 1.15; color: var(--dn-ink); }
.krow-meta { font-size: 13px; color: var(--dn-ink-3); margin-top: 3px; }
.krow-nums { display: flex; gap: 24px; margin-left: auto; align-items: baseline; }
.knum b { display: block; font-family: var(--dn-font-head,'Nunito'),system-ui,sans-serif; font-weight: 900; font-size: 20px; line-height: 1.1; color: var(--dn-ink); }
.knum span { font-size: 11.5px; font-weight: 600; color: var(--dn-ink-3); white-space: nowrap; }
.dews { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 9px; }
.dew { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--dn-warm-soft); border: 1px solid var(--dn-line-2); color: var(--dn-warm-deep); white-space: nowrap; border-color: var(--dn-line-2); }
.krow .chev { color: rgba(246, 196, 82, .55); flex: none; }
.balline { display: flex; flex-wrap: wrap; }
.balance { flex: 1 1 230px; padding: 14px 22px 12px 2px; min-width: 0; }
.balance + .balance { border-left: 1px solid var(--line-2); padding-left: 22px; border-left-color: var(--dn-line); }
.bal-kid { display: flex; align-items: center; gap: 9px; }
.bal-kid .bal-orb { width: 32px; height: 32px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-family: var(--dn-font-head,'Nunito'),system-ui,sans-serif; font-weight: 900; font-size: 14px; box-shadow: inset 0 -4px 8px rgba(0,0,10,.12); }
.bal-kid b { font-family: var(--dn-font-head,'Nunito'),system-ui,sans-serif; font-weight: 800; font-size: 15px; color: var(--dn-ink); }
.bal-n { font-family: var(--dn-font-head,'Nunito'),system-ui,sans-serif; font-weight: 900; font-size: 38px; line-height: 1.05; letter-spacing: -.01em; color: var(--sun-deep); margin-top: 6px; }
.bal-n small { font-size: 14px; font-weight: 800; color: var(--sun-text); letter-spacing: 0; margin-left: 4px; }
.bal-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; font-weight: 600; color: var(--dn-ink-3); margin-top: 7px; }
.bal-meta b { color: var(--dn-ink-2); font-weight: 700; }
.bal-screen { height: 6px; max-width: 230px; border-radius: 999px; background: var(--dn-line-2); margin-top: 11px; overflow: hidden; }
.bal-screen i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--mint), var(--ok)); }
.queue { position: relative; overflow: hidden; background: var(--dn-surface); border-radius: var(--dn-rc,30px 44px 34px 46px); padding: 6px 22px 2px; margin: 16px 0 0; box-shadow: var(--dn-shadow-card); }
.queue::before { content: ""; position: absolute; top: -70px; right: -40px; width: 240px; height: 240px; background: radial-gradient(circle,rgba(255,201,107,.32),transparent 65%); pointer-events: none; }
.dec { position: relative; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--dn-line-2); border-bottom-color: var(--dn-line-2); }
.dec:last-child { border-bottom: 0; }
.dec-orb { width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center; color: #fff; font-family: var(--dn-font-head,'Nunito'),system-ui,sans-serif; font-weight: 900; font-size: 16px; box-shadow: inset 0 -4px 8px rgba(0,0,10,.12); }
.dec-what { min-width: 0; }
.dec-what b { font-weight: 700; font-size: 14.5px; color: var(--dn-ink); }
.dec-what .s { font-size: 12.5px; color: var(--dn-ink-3); margin-top: 2px; }
.dec-what .s em { font-style: normal; color: var(--dn-warm-deep); font-weight: 700; }
.dec-btns { margin-left: auto; display: flex; gap: 8px; flex: none; align-items: center; flex-wrap: wrap; }
.diary { position: relative; }
.diary::before { content: ""; position: absolute; left: 84px; top: 14px; bottom: 14px; border-left: 2px dotted rgba(246, 196, 82, .40); border-left-color: var(--peach); }
.ev { position: relative; display: flex; align-items: baseline; padding: 11px 0; border-bottom: 1px solid var(--line-2); border-bottom-color: var(--dn-line-2); }
.ev:last-child { border-bottom: 0; }
.ev-t { width: 62px; flex: none; text-align: right; font-size: 12px; font-weight: 700; color: var(--dn-ink-3); font-variant-numeric: tabular-nums; }
.ev-node { width: 44px; flex: none; display: flex; justify-content: center; }
.ev-node i { width: 9px; height: 9px; border-radius: 50%; background: var(--dn-surface); border: 3px solid var(--mint); position: relative; z-index: 1; }
.ev-node i.sun { border-color: var(--sun); }
.ev-node i.ind { border-color: var(--dn-accent); }
.ev-body { padding-left: 4px; min-width: 0; }
.ev-body b { font-weight: 700; font-size: 14px; color: var(--dn-ink); }
.ev-body b .amt { color: var(--gold-lit); font-weight: 800; }
.ev-body .s { font-size: 12.5px; color: var(--dn-ink-3); margin-top: 1px; }
.goaltrail { position: relative; height: 32px; margin: 10px 2px 2px; }
.goaltrail .path { position: absolute; left: 2px; right: 2px; top: 15px; height: 2px; background: repeating-linear-gradient(90deg,rgba(246, 196, 82, .40) 0 10px,transparent 10px 18px); }
.goaltrail .fill { position: absolute; left: 2px; top: 15px; height: 2px; background: var(--sun); border-radius: 2px; }
.goaltrail .sun { position: absolute; top: 2px; width: 28px; height: 28px; border-radius: 50%; transform: translateX(-50%); background: radial-gradient(circle at 32% 28%,var(--sun2),var(--sun) 70%); box-shadow: 0 0 0 6px rgba(242,169,59,.16),0 8px 18px -8px rgba(184,116,26,.6); }
.goaltrail .mark { position: absolute; top: 8px; transform: translateX(-50%); font-size: 10.5px; font-weight: 700; color: var(--dn-ink-3); white-space: nowrap; }
.sgroup { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line-2); border-top-color: var(--dn-line); }
.sgroup > h2 { margin: 0 0 2px; font-family: var(--dn-font-head,'Nunito'),system-ui,sans-serif; font-size: 16px; font-weight: 800; color: var(--dn-ink); }
.sgroup > .sg-sub { margin: 0 0 8px; font-size: 13px; color: var(--dn-ink-3); }
@media (max-width:760px) {
  .krow { gap: 12px; }
  .krow-nums { gap: 16px; margin-left: 84px; width: calc(100% - 84px); order: 5; }
  .balline { flex-direction: column; }
  .balance + .balance { border-left: 0; border-top: 1px solid var(--line-2); padding-left: 2px; padding-top: 14px; margin-top: 6px; border-top-color: var(--dn-line); }
  .bal-n { font-size: 32px; }
  .diary::before { left: 11px; }
  .ev { flex-wrap: wrap; }
  .ev-t { width: auto; min-width: 48px; text-align: left; }
  .ev-node { display: none; }
  .ev-body { padding-left: 0; width: 100%; }
  .dec-btns { margin-left: 54px; }
  .krow .chev { display: none; }
}
.app-upd-banner[hidden] { display: none; }
.aub-inner { max-width: 1140px; margin: 0 auto; display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
.aub-inner img { width: 34px; height: 34px; border-radius: 8px; background: var(--surface-2); padding: 2px; border: 1px solid var(--line); flex: none; }
.aub-text { flex: 1; min-width: 0; color: var(--ink-2); font-size: 13px; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aub-text b { color: var(--ink); font-weight: 700; }
.aub-text .aub-note { color: var(--faint); }
.aub-btn:hover { background: var(--primary-2); }
.aub-close { background: none; border: none; font-size: 19px; color: var(--faint); cursor: pointer; padding: 2px 6px; line-height: 1; flex: none; }
.aub-close:hover { color: var(--ink-2); }
@media (max-width: 860px) {
  .aub-inner img { display: none; }
}
@media (max-width: 720px) {
  .aub-note { display: none; }
}
.badge-muted { background: var(--surface-2); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.pane { min-width: 0; }
.pane .list-row { background: none; box-shadow: none; border-radius: 0; border: 0; border-bottom: 1px solid var(--dn-line-2); padding: 12px 4px; margin: 0; }
.pane .zone-row { background: none; box-shadow: none; border-radius: 0; border: 0; border-bottom: 1px solid var(--dn-line-2); padding: 12px 4px; margin: 0; }
.pane .approve-row { background: none; box-shadow: none; border-radius: 0; border: 0; border-bottom: 1px solid var(--dn-line-2); padding: 12px 4px; margin: 0; }
.pane .list-row:last-child { border-bottom: 0; }
.pane .zone-row:last-child { border-bottom: 0; }
.pane .approve-row:last-child { border-bottom: 0; }
.pane .list-row:hover { background: var(--dn-surface-2); border-radius: 14px; }
.pane .approve-row:hover { background: var(--dn-surface-2); border-radius: 14px; }
.pane .stat-card { background: none; box-shadow: none; border: 0; border-radius: 0; padding: 0; }
.pane .empty { background: none; box-shadow: none; border: 0; }
.pane-foot { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--dn-line); }
.sec-sub { margin: -2px 0 10px; font-size: 13px; line-height: 1.55; color: var(--dn-ink-3); }
.main-app .ctx + .pane > .sec:first-child { border-top: 0; padding-top: 2px; margin-top: 0; }
.ctx-person { align-items: center; }
.ctx-person .kid-av.xl { width: 64px; height: 64px; font-size: 26px; }
.ctx-person-main { min-width: 200px; flex: 1 1 280px; }
.ctx-person-main h1 { font-size: 21px; color: var(--dn-ink); }
.ctx .ctx-in { display: contents; }
.digest-head { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding: 4px 2px 18px; border-bottom: 1px solid var(--dn-line); }
.digest-head h2 { margin: 0; font-family: var(--dn-font-head, "Nunito"), system-ui, sans-serif; font-size: 19px; font-weight: 800; color: var(--dn-ink); }
.digest-head .ih-sub { margin: 3px 0 0; font-size: 13px; color: var(--dn-ink-3); }
.digest-head .ih-lines { margin-top: 10px; }
.app-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.cmp-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.price-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.app-note { margin: 12px 0 0; font-size: 13px; color: var(--dn-ink-3); }
.price-note { margin: 12px 0 0; font-size: 13px; color: var(--dn-ink-3); }
.app-visual { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.phone { width: 300px; padding: 12px; border-radius: 42px; background: var(--primary-2); box-shadow: var(--shadow-lg), 0 40px 80px -30px rgba(0, 0, 10, .45); position: relative; transform: rotate(-2deg); }
.phone-notch { width: 96px; height: 22px; border-radius: 999px; background: var(--primary-2); margin: 0 auto 12px; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); z-index: 2; }
.phone-screen { display: flex; flex-direction: column; gap: 10px; background: var(--bg); border-radius: 32px; overflow: hidden; padding: 34px 14px 12px; min-height: 540px; }
.pk-top { display: flex; align-items: center; gap: 10px; padding: 2px 4px 6px; }
.pk-av { flex: none; width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; background: var(--amber); color: var(--dn-on-accent); font-size: 18px; }
.pk-top b { display: block; font-size: 15px; line-height: 1.2; color: var(--dn-ink); }
.pk-sub { font-size: 12px; color: var(--muted); }
.pk-live { margin-left: auto; font-size: 11px; font-weight: 800; color: var(--ok); display: inline-flex; align-items: center; gap: 6px; background: var(--ok-soft); border-radius: 999px; padding: 3px 9px 3px 8px; white-space: nowrap; }
.pk-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); animation: livePulse 1.4s ease-out infinite; }
.pk-row { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.pk-stat { flex: 1; display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border-radius: 16px; background: var(--dn-surface-2); font-size: 10.5px; color: var(--dn-ink-3); }
.pk-stat b { font-size: 24px; color: var(--dn-ink); font-weight: 800; }
.pk-ico { color: var(--dn-warm-deep); }
.pk-card { padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pk-card-h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: var(--ink-2); margin-bottom: 8px; }
.pk-bar { height: 8px; border-radius: 999px; background: var(--amber-soft); margin: 7px 0 6px; overflow: hidden; }
.pk-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--amber), var(--amber-2)); }
.pk-card-f { display: flex; align-items: baseline; gap: 6px; font-size: 10px; color: var(--dn-ink-3); justify-content: space-between; margin-top: 6px; }
.pk-card-f b { font-size: 13px; color: var(--ok); }
.logo-mark svg { display: block; }
.apk-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--amber); color: var(--dn-on-accent); }
.apk-btn:hover { background: var(--amber-2); }
.pk-stat span:last-child { font-size: 11.5px; opacity: .75; }
.pk-stat .pk-ico { font-size: 16px; }
.pk-green { background: var(--primary); color: #fff; }
.pk-amber { background: var(--amber); color: var(--dn-on-accent); }
.pk-card-f span { font-size: 11.5px; color: var(--faint); }
.pk-task { display: flex; justify-content: space-between; font-size: 12.5px; padding: 7px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); margin-top: 6px; }
.pk-task span { font-weight: 800; color: var(--amber-2); }
.pk-task.done { opacity: .55; text-decoration: line-through; }
.pk-task.done span { text-decoration: none; color: var(--ok); }
.pk-nav { margin-top: auto; background: var(--primary); border-radius: 999px; display: flex; justify-content: space-around; padding: 10px 8px; font-size: 16px; }
.pk-nav span { opacity: .55; }
.pk-nav .on { opacity: 1; transform: translateY(-2px); }
@keyframes livePulse {  
  0%   { box-shadow: 0 0 0 0 rgba(42, 52, 121, .45); }
  70%  { box-shadow: 0 0 0 7px rgba(42, 52, 121, 0); }
  100% { box-shadow: 0 0 0 0 rgba(42, 52, 121, 0); }
  }
.float-badge-1 { position: absolute; left: -26px; right: auto; top: 96px; animation: floaty 5s ease-in-out infinite; }
.float-badge-2 { position: absolute; right: -14px; left: auto; top: auto; bottom: 110px; animation: floaty 6s ease-in-out .8s infinite; }
@keyframes floaty {  
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  }
#pwa-install { margin-top: 24px; }
#pwa-install .muted.small { margin-top: 10px; }
#pwa-install h3 { margin-bottom: 6px; }
#pwa-install .muted.small:first-of-type { margin-bottom: 12px; }
.cap-ico { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; background: var(--dn-warm-soft); color: var(--dn-warm); border-radius: 14px 18px 14px 19px; box-shadow: inset 0 0 0 1px rgba(184, 116, 26, .16); }
.cap-ico svg { width: 20px; height: 20px; }
body.landing .cap-ico { background: var(--dn-warm-soft); }
.flow { max-width: 760px; margin: 0 auto; }
.flow-step { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 0 0 30px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; border-left: 2px dashed var(--dn-accent-line); }
.flow-step:last-child::before { display: none; }
.flow-num { flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; background: linear-gradient(180deg, var(--sun2), var(--sun)); color: var(--dn-on-accent); font: 800 18px/1 var(--dn-font-head), system-ui, sans-serif; border-radius: 16px 22px 16px 23px; box-shadow: 0 10px 24px rgba(242, 169, 59, .35), inset 0 1px 0 rgba(255, 255, 255, .7); }
.flow-body h3 { margin: 0 0 6px; font-family: var(--dn-font-head), system-ui, sans-serif; font-size: 17px; font-weight: 800; color: var(--dn-ink); }
.flow-body p { margin: 0; color: var(--dn-ink-2); font-size: 15px; line-height: 1.6; }
.faq-rows { max-width: 860px; margin: 0 auto; }
.faq-row { border-bottom: 1px solid var(--dn-line-2); padding: 4px 2px; }
.faq-row:last-child { border-bottom: 0; }
.faq-row summary { list-style: none; cursor: pointer; position: relative; padding: 14px 44px 14px 0; font: 800 16px/1.4 var(--dn-font-head), system-ui, sans-serif; color: var(--dn-ink); }
.faq-row summary::-webkit-details-marker { display: none; }
.faq-row summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--dn-ink-3); transition: transform .2s ease; }
.faq-row[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-row p { margin: 0 0 16px; color: var(--dn-ink-2); font-size: 14.5px; line-height: 1.65; max-width: 760px; }
.m-sub { font-size: 12.5px; color: var(--muted); }
.pres-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 18px 0 8px; }
@media (max-width: 900px) {
  .app-visual { order: -1; }
  .phone { transform: rotate(0); width: 280px; }
  .float-badge-1 { left: 0; }
  .float-badge-2 { right: 0; }
}
@media (max-width: 480px) {
  .pk-live { font-size: 10px; padding: 2px 7px; }
}
@media (max-width: 760px) {
  .flow-step::before { left: 19px; }
  .flow-num { width: 40px; height: 40px; font-size: 16px; }
}
.kid-body { background: var(--dn-canvas); min-height: 100vh; font-family: "Manrope", system-ui, sans-serif; color: var(--dn-ink); }
.kid-main { max-width: 760px; margin: 0 auto; padding: 18px 16px 96px; }
.kid-flash-wrap { display: grid; gap: 8px; margin-bottom: 14px; }
.kid-flash { padding: 12px 16px; border-radius: 18px; font-weight: 700; font-size: 15px; box-shadow: 0 6px 18px rgba(0, 0, 10, .08); animation: kid-pop .35s cubic-bezier(.34, 1.56, .64, 1); }
.kid-flash.flash-success { background: var(--dn-ok-soft); color: var(--dn-ok); }
.kid-flash.flash-info { background: var(--dn-info-soft); color: var(--dn-info); }
.kid-flash.flash-error { background: var(--dn-danger-soft); color: var(--dn-danger); }
.kid-flash.flash-warning { background: var(--dn-warm-soft); color: var(--sun-text); }
@keyframes kid-pop {   from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; }   }
.kid-entry { min-height: calc(100vh - 40px); display: grid; place-items: center; position: relative; overflow: hidden; padding: 20px 0; }
.kid-sun { position: absolute; top: -140px; right: -120px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--sun2) 0%, var(--sun) 70%); opacity: .35; filter: blur(2px); animation: kid-sun 9s ease-in-out infinite alternate; }
@keyframes kid-sun {   from { transform: translateY(0); } to { transform: translateY(26px); }   }
.kid-entry-card { position: relative; width: 100%; max-width: 420px; background: var(--dn-surface); border-radius: 28px; padding: 34px 28px; text-align: center; box-shadow: 0 18px 44px rgba(125, 155, 240, .12); animation: kid-pop .4s cubic-bezier(.34, 1.56, .64, 1); }
.kid-owl { display: grid; place-items: center; margin-bottom: 8px; }
.kid-title { font-size: 26px; font-weight: 800; margin: 8px 0 6px; letter-spacing: -.02em; }
.kid-sub { color: var(--dn-ink-3); font-size: 15px; font-weight: 600; margin-bottom: 20px; }
.kid-form { display: grid; gap: 12px; justify-items: stretch; }
.kid-label { font-weight: 800; font-size: 14px; color: var(--dn-ink-2); text-align: left; }
.kid-input { width: 100%; border: 2px solid var(--dn-surface-2); border-radius: 16px; padding: 14px 16px; font: inherit; font-size: 18px; font-weight: 700; background: var(--dn-surface); transition: border-color .15s, box-shadow .15s; }
.kid-input:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(244, 168, 51, .18); }
.kid-input-code { text-transform: uppercase; letter-spacing: .35em; text-align: center; font-size: 22px; }
.kid-hint { color: var(--dn-ink-3); font-size: 13px; font-weight: 600; }
.kid-btn { border: 0; border-radius: 18px; padding: 15px 22px; font: inherit; font-weight: 800; font-size: 17px; color: var(--dn-surface); background: linear-gradient(135deg, var(--sun), var(--sun)); cursor: pointer; box-shadow: 0 8px 20px rgba(238, 146, 36, .35); transition: transform .12s, box-shadow .12s; min-height: 52px; }
.kid-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(238, 146, 36, .42); }
.kid-btn:active { transform: translateY(1px) scale(.99); }
.kid-btn-full { width: 100%; }
.kid-btn-amber { background: linear-gradient(135deg, var(--sun), var(--sun)); }
.kid-code-note { margin-top: 18px; background: var(--dn-ok-soft); border-radius: 14px; padding: 10px 14px; font-size: 13.5px; color: var(--dn-ok); font-weight: 600; }
.kid-link-back { display: inline-block; margin-top: 16px; color: var(--dn-ink-3); font-weight: 700; font-size: 14px; text-decoration: none; border: 0; background: none; cursor: pointer; font-family: inherit; padding: 8px 12px; border-radius: 12px; }
.kid-link-back:hover { color: var(--dn-ink-2); background: rgba(0, 0, 0, .04); }
.kid-picker { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 8px 0 4px; }
.kid-pick-form { margin: 0; }
.kid-pick { display: grid; justify-items: center; gap: 8px; border: 0; background: none; cursor: pointer; font: inherit; padding: 6px; }
.kid-pick-av { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; color: var(--dn-surface); font-size: 32px; font-weight: 800; box-shadow: 0 8px 18px rgba(125, 155, 240, .18); transition: transform .15s; }
.kid-pick-av-lg { width: 92px; height: 92px; font-size: 38px; margin: 0 auto 6px; }
.kid-pick:hover .kid-pick-av { transform: scale(1.07); }
.kid-pick-name { font-weight: 800; font-size: 15px; color: var(--dn-ink-2); }
.pin-row { display: flex; gap: 10px; justify-content: center; }
.pin-cell { width: 56px; height: 66px; border: 2px solid var(--dn-surface-2); border-radius: 16px; text-align: center; font-size: 28px; font-weight: 800; background: var(--dn-surface); font-family: inherit; }
.pin-cell:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(244, 168, 51, .18); }
.kid-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.kid-top-hi { display: flex; align-items: center; gap: 12px; }
.kid-hi-emoji { font-size: 34px; }
.kid-title-sm { font-size: 23px; font-weight: 800; letter-spacing: -.02em; margin: 0; }
.kid-sub-sm { color: var(--dn-ink-3); font-size: 13.5px; font-weight: 600; margin: 2px 0 0; }
.kid-balance { display: flex; align-items: baseline; gap: 5px; background: var(--dn-surface); border-radius: 20px; padding: 10px 18px; box-shadow: 0 8px 20px rgba(125, 155, 240, .1); white-space: nowrap; }
.kb-star { color: var(--sun); font-size: 20px; }
.kb-n { font-size: 24px; font-weight: 800; }
.kb-l { color: var(--dn-ink-3); font-size: 12.5px; font-weight: 700; }
.kid-quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kq { display: grid; justify-items: center; gap: 2px; background: var(--dn-surface); border-radius: 20px; padding: 14px 6px 11px; text-decoration: none; box-shadow: 0 6px 16px rgba(125, 155, 240, .08); transition: transform .14s, box-shadow .14s; }
.kq:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(125, 155, 240, .12); }
.kq-ico { font-size: 26px; }
.kq-n { font-size: 19px; font-weight: 800; color: var(--dn-ink); }
.kq-l { font-size: 11px; font-weight: 700; color: var(--dn-ink-3); text-align: center; }
.kq-tasks .kq-n { color: var(--dn-ok); }
.kq-schedule .kq-n { color: var(--coral); }
.kq-store .kq-n { color: var(--sun); }
.kq-goals .kq-n { color: var(--area-mind); }
.kq-screen .kq-n { color: var(--dn-info); }
.kq-zones .kq-n { color: var(--dn-ok); }
.kid-card-title { font-size: 16.5px; font-weight: 800; margin: 0 0 12px; letter-spacing: -.01em; display: flex; align-items: center; gap: 8px; }
.kid-card-link { display: inline-block; margin-top: 10px; font-weight: 800; font-size: 13.5px; color: var(--sun); text-decoration: none; }
.kid-empty { color: var(--dn-ink-3); font-size: 14px; font-weight: 600; padding: 6px 0; }
.kid-note { color: var(--dn-ink-3); font-size: 13px; font-weight: 600; margin: 10px 0 2px; }
.kid-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) {
  .kid-cols { grid-template-columns: 1fr; }
}
.kid-task { display: flex; align-items: center; gap: 12px; padding: 11px 4px; border-bottom: 1px dashed var(--dn-line); }
.kid-task:last-of-type { border-bottom: 0; }
.kid-task.st-approved { opacity: .55; }
.kid-task.st-rejected { opacity: .5; }
.kt-check { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--dn-surface-2); font-weight: 800; flex-shrink: 0; }
.kt-check.ok { background: var(--dn-ok-soft); color: var(--dn-ok); }
.kt-main { flex: 1; min-width: 0; display: grid; }
.kt-main b { font-size: 15px; }
.kt-cat { color: var(--dn-ink-3); font-size: 12.5px; font-weight: 600; }
.kt-points { font-weight: 800; color: var(--sun); font-size: 15px; white-space: nowrap; }
.kid-btn-sm { border: 0; border-radius: 14px; padding: 10px 14px; font: inherit; font-size: 13.5px; font-weight: 800; color: var(--dn-surface); background: linear-gradient(135deg, var(--dn-ok), var(--dn-ok)); cursor: pointer; box-shadow: 0 5px 12px rgba(87, 196, 166, .3); transition: transform .12s; min-height: 42px; }
.kid-btn-sm:hover { transform: translateY(-1px); }
.kid-store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.kid-reward-card { border: 2px solid var(--dn-line); border-radius: 20px; padding: 14px; display: grid; gap: 6px; justify-items: center; text-align: center; }
.kid-reward-card.can { border-color: var(--sun2); background: var(--dn-surface-2); }
.krc-ico { font-size: 34px; }
.krc-title { font-size: 14.5px; font-weight: 800; }
.krc-cost { font-weight: 800; color: var(--sun); font-size: 13.5px; }
.krc-desc { color: var(--dn-ink-3); font-size: 12px; font-weight: 600; }
.krc-need { color: var(--dn-ink-3); font-size: 12.5px; font-weight: 700; padding: 6px 0; }
.kid-reward { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px dashed var(--dn-line); }
.kid-reward:last-of-type { border-bottom: 0; }
.kr-ico { font-size: 24px; flex-shrink: 0; flex: 0 0 auto; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; }
.kr-main { flex: 1 1 auto; display: grid; min-width: 0; gap: 1px; }
.kr-main b { font-size: 15.5px; font-weight: 700; color: var(--dn-accent-deep); line-height: 1.25; }
.kr-main span { color: rgba(125, 155, 240, .62); font-size: 12.5px; font-weight: 700; }
.kid-goal { padding: 10px 0; border-bottom: 1px dashed var(--dn-line); }
.kid-goal:last-of-type { border-bottom: 0; }
.kg-head { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.kg-head b { font-size: 14.5px; }
.kg-ico { font-size: 20px; }
.kg-bar { height: 12px; border-radius: 8px; background: var(--dn-surface-2); overflow: hidden; }
.kg-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--sun), var(--dn-danger)); transition: width .4s ease; }
.kg-meta { display: flex; justify-content: space-between; color: var(--dn-ink-3); font-size: 12.5px; font-weight: 700; margin-top: 5px; }
.kg-big-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.kg-big-ico { font-size: 30px; width: 56px; height: 56px; border-radius: 18px; background: var(--dn-warm-soft); display: grid; place-items: center; }
.kg-title { font-size: 17px; display: block; }
.kg-sub { color: var(--dn-ink-3); font-size: 12.5px; font-weight: 600; }
.kg-done { margin-left: auto; background: var(--dn-ok-soft); color: var(--dn-ok); font-weight: 800; font-size: 12.5px; border-radius: 12px; padding: 7px 12px; white-space: nowrap; }
.kg-form { display: flex; gap: 8px; margin-top: 12px; }
.kg-form .kid-input { flex: 0 1 130px; padding: 11px 13px; font-size: 15px; }
.kg-form .kid-input[type="text"] { flex: 1; }
.kid-plan { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.kp-time { font-weight: 800; font-size: 13px; color: var(--dn-ink-3); min-width: 66px; }
.kp-dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.kp-dot.ok { background: var(--dn-ok); }
.kp-dot.wait { background: var(--sun2); }
.kp-dot.bad { background: var(--dn-danger); }
.kp-main { flex: 1; display: grid; }
.kp-main b { font-size: 14px; }
.kp-main span { color: var(--dn-ink-3); font-size: 12px; font-weight: 600; }
.kp-badge { font-size: 10.5px; font-weight: 800; border-radius: 8px; padding: 4px 7px; min-width: 38px; text-align: center; }
.kp-badge.hw { background: var(--dn-info-soft); color: var(--dn-info); }
.kp-badge.test { background: var(--dn-danger-soft); color: var(--dn-danger); }
.kid-moods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kid-moods-lg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
.kid-mood-btn { border: 2px solid var(--dn-line); background: var(--dn-surface); border-radius: 16px; padding: 12px 8px; font: inherit; font-weight: 800; font-size: 13.5px; cursor: pointer; transition: all .13s; }
.kid-mood-btn:hover { border-color: var(--sun); }
.kid-mood-btn.on { border-color: var(--sun); background: var(--dn-warm-soft); color: var(--sun-text); }
.kid-mood-btn-lg { padding: 16px 10px; font-size: 15px; }
.kid-screen-hero { display: flex; gap: 20px; align-items: center; }
.ksh-ring { --pct: 0; width: 118px; height: 118px; border-radius: 50%; background: conic-gradient(var(--sun) calc(var(--pct) * 1%), var(--dn-line) 0); display: grid; place-items: center; flex-shrink: 0; position: relative; }
.ksh-ring::before { content: ""; position: absolute; width: 94px; height: 94px; border-radius: 50%; background: var(--dn-surface); }
.ksh-ring b { position: relative; z-index: 1; display: block; text-align: center; font-size: 27px; font-weight: 800; }
.ksh-ring span { position: relative; z-index: 1; display: block; text-align: center; font-size: 10.5px; font-weight: 700; color: var(--dn-ink-3); }
.ksh-meta { flex: 1; display: grid; gap: 7px; }
.ksh-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; font-weight: 600; color: var(--dn-ink-3); border-bottom: 1px dashed var(--dn-line); padding-bottom: 6px; }
.ksh-row:last-child { border-bottom: 0; }
.ksh-row b { color: var(--dn-ink); }
.kid-week-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; }
.kwb { display: grid; justify-items: center; gap: 4px; }
.kwb-bar-wrap { width: 100%; height: 84px; display: flex; align-items: flex-end; background: var(--dn-surface-2); border-radius: 10px; overflow: hidden; }
.kwb-bar { width: 100%; background: linear-gradient(180deg, var(--dn-ok), var(--dn-ok)); border-radius: 10px 10px 0 0; min-height: 4%; }
.kwb.today .kwb-bar { background: linear-gradient(180deg, var(--sun2), var(--sun)); }
.kwb-n { font-size: 11.5px; font-weight: 800; color: var(--dn-ink-2); }
.kwb-l { font-size: 10.5px; font-weight: 700; color: var(--dn-ink-3); }
.kid-zones { display: grid; gap: 10px; }
.kid-zone { display: flex; align-items: center; gap: 12px; width: 100%; border: 2px solid var(--dn-line); background: var(--dn-surface); border-radius: 18px; padding: 12px 14px; font: inherit; cursor: pointer; transition: all .13s; }
.kid-zone:hover { border-color: var(--dn-ok); background: var(--dn-ok-soft); }
.kz-ico { font-size: 26px; }
.kz-name { font-weight: 800; font-size: 15px; flex: 1; text-align: left; }
.kz-btn { background: var(--dn-ok-soft); color: var(--dn-ok); font-weight: 800; font-size: 13px; border-radius: 12px; padding: 8px 14px; }
.kid-tabbar { position: fixed; left: 0; right: 0; bottom: 0; margin: 0 auto; max-width: 760px; display: flex; justify-content: space-around; background: var(--dn-surface); box-shadow: 0 -8px 24px rgba(125, 155, 240, .1); border-radius: 22px 22px 0 0; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); z-index: 50; }
.kid-tabbar a { display: grid; justify-items: center; gap: 2px; text-decoration: none; color: var(--dn-ink-3); font-size: 10.5px; font-weight: 800; padding: 6px 6px; border-radius: 14px; min-width: 50px; flex: 1; }
.kid-tabbar a span { font-size: 21px; line-height: 1.15; }
.kid-tabbar a.on { color: var(--sun); background: var(--dn-warm-soft); }
.kid-logout-row { text-align: center; padding: 6px 0 12px; }
.kid-logout-row .kid-link-back { margin-top: 4px; }
@media (max-width: 480px) {
  .kid-quick { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .kid-store-grid { grid-template-columns: 1fr 1fr; }
  .kid-screen-hero { flex-direction: column; }
  .pin-cell { width: 46px; height: 58px; font-size: 24px; }
  .kid-tabbar a { min-width: 0; padding: 6px 2px; font-size: 9.5px; }
  .kid-tabbar a span { font-size: 19px; }
}
.kid-daychips { display: flex; gap: 6px; margin-bottom: 14px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.kid-daychips::-webkit-scrollbar { display: none; }
.kid-daychip { flex: 1 0 auto; min-width: 44px; text-align: center; padding: 9px 10px; border-radius: 14px; background: var(--dn-surface); color: var(--dn-ink-3); font-size: 12.5px; font-weight: 800; text-decoration: none; box-shadow: 0 4px 12px rgba(125, 155, 240, .07); transition: transform .12s, background .12s, color .12s; }
.kid-daychip:hover { transform: translateY(-1px); }
.kid-daychip.today { color: var(--sun); }
.kid-daychip.on { background: var(--sun); color: var(--dn-surface); box-shadow: 0 6px 16px rgba(238, 146, 36, .35); }
.kid-daychip.on.today { color: var(--dn-surface); }
.kp-when { font-size: 11.5px; font-weight: 800; color: var(--dn-ink-3); background: var(--dn-surface-2); border-radius: 10px; padding: 4px 9px; white-space: nowrap; }
.kp-when.soon { color: var(--sun-deep); background: var(--dn-warm-soft); }
.kp-when.overdue { color: var(--dn-danger); background: var(--dn-danger-soft); }
.kid-device { display: flex; align-items: center; gap: 12px; background: var(--dn-surface-2); border-radius: 18px; padding: 12px 14px; margin-bottom: 8px; }
.kid-device.dev-low { background: var(--dn-danger-soft); }
.kd-emoji { font-size: 26px; line-height: 1; }
.kd-main { display: grid; gap: 1px; }
.kd-main b { font-size: 14px; }
.kd-main span { color: var(--dn-ink-3); font-size: 12.5px; font-weight: 600; }
.kid-more-row { display: flex; align-items: center; gap: 12px; padding: 12px 2px; text-decoration: none; color: inherit; border-bottom: 1px solid var(--dn-surface-2); }
.kid-more-row:last-child { border-bottom: 0; }
.kid-more-row:hover .kmr-arr { transform: translateX(3px); }
.kmr-ico { font-size: 24px; line-height: 1; }
.kmr-main { flex: 1; display: grid; gap: 1px; }
.kmr-main b { font-size: 14.5px; }
.kmr-main span { color: var(--dn-ink-3); font-size: 12px; font-weight: 600; }
.kmr-arr { color: var(--dn-ink-3); font-weight: 800; font-size: 16px; transition: transform .14s; }
.kid-hw-actions { display: flex; gap: 8px; justify-content: flex-end; margin: -6px 0 10px 0; }
.kid-btn-ghost-sm { border: 2px solid var(--dn-line); border-radius: 14px; padding: 8px 14px; font: inherit; font-size: 13.5px; font-weight: 800; color: var(--dn-ink-2); background: var(--dn-surface); cursor: pointer; transition: transform .12s, border-color .12s; }
.kid-btn-ghost-sm:hover { transform: translateY(-1px); border-color: var(--dn-line); }
.kq-wishes .kq-n { color: var(--area-mind); }
.kq-victories .kq-n { color: var(--sun-deep); }
.kp-badge.wait { background: var(--dn-surface-2); color: var(--dn-warm-deep); }
.wish-st-converted .kp-main b { color: var(--dn-ok); }
.wish-st-declined { opacity: .72; }
.kid-q-card { background: linear-gradient(160deg, var(--dn-surface) 0%, var(--dn-surface-2) 100%); }
.kid-q-text { font-size: 17px; font-weight: 800; color: var(--dn-ink); line-height: 1.4; margin: 4px 0 8px; }
.kid-q-input { resize: vertical; min-height: 84px; }
.kid-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(140px, 100%), 1fr)); gap: 10px; }
.kid-stat { background: var(--dn-surface); border: 2px solid var(--dn-line); border-radius: 18px; padding: 14px 12px; display: grid; gap: 2px; justify-items: center; min-width: 0; }
.ks-n { font-size: 21px; font-weight: 800; color: var(--dn-ok); }
.kid-stat:nth-child(2) .ks-n { color: var(--sun); }
.kid-stat:nth-child(3) .ks-n { color: var(--coral); }
.kid-stat:nth-child(4) .ks-n { color: var(--area-mind); }
.ks-l { font-size: 11.5px; font-weight: 700; color: var(--dn-ink-3); text-align: center; }
@media (max-width: 420px) {
  .kid-stats { grid-template-columns: 1fr 1fr; }
}
.wish-convert { align-items: center; }
.wish-convert .goal-add-n { width: 68px; }
.kid-task.st-pending { background: linear-gradient(90deg, var(--dn-warm-soft), rgba(255, 246, 222, 0) 72%); border-radius: 12px; }
.kid-body :focus-visible { outline: 3px solid rgba(238, 146, 36, .6); outline-offset: 2px; border-radius: 10px; }
.kid-btn:disabled { opacity: .55; transform: none !important; box-shadow: none !important; cursor: not-allowed; }
.kid-btn-ghost-sm:disabled { opacity: .5; }
.kid-card > .kid-card-title:last-child { margin-bottom: 0; }
.kid-task b { min-width: 0; overflow-wrap: anywhere; }
.kid-body * { scrollbar-width: thin; scrollbar-color: var(--dn-line) transparent; }
.kid-body *::-webkit-scrollbar { width: 8px; }
.kid-body *::-webkit-scrollbar-thumb { background: var(--dn-line); border-radius: 999px; }
@media (prefers-reduced-motion: reduce) {
  .kid-body * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .kid-body *::before { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .kid-body *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (max-width: 720px) {
  .kid-main { padding: 14px 14px 96px; }
  .kid-card { padding: 16px; }
  .kid-store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.kid-ava-big { --ava: var(--dn-info); width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--ava), color-mix(in srgb, var(--ava) 70%, var(--dn-ink))); color: var(--dn-surface); font-weight: 800; font-size: 21px; box-shadow: 0 6px 16px color-mix(in srgb, var(--ava) 35%, transparent); }
.kid-chat { background: var(--surface); border: 1px solid var(--dn-line); border-radius: 22px; box-shadow: 0 8px 24px rgba(0, 0, 10, .28); display: flex; flex-direction: column; height: calc(100vh - 300px); min-height: 380px; overflow: hidden; }
.kid-chat-scroll { flex: 1; overflow-y: auto; padding: 16px 14px 8px; scroll-behavior: smooth; }
.kid-chat-msgs { display: flex; flex-direction: column; gap: 8px; }
.kid-chat-day { display: flex; justify-content: center; margin: 10px 0 4px; }
.kid-chat-day span { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--sun-text); background: var(--dn-surface-2); border: 1px solid var(--dn-line); border-radius: 999px; padding: 4px 12px; }
.kid-msg { display: flex; }
.kid-msg.mine { justify-content: flex-end; }
.kc-text { display: block; overflow-wrap: anywhere; }
.kc-meta { display: inline-block; float: right; margin: 5px 0 0 10px; font-size: 11px; font-weight: 700; color: var(--dn-ink-3); font-variant-numeric: tabular-nums; }
.kid-msg.mine .kc-meta { color: var(--faint); }
.kid-chat-empty .kc-ico { width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center; font-size: 30px; background: var(--dn-warm-soft); }
.kid-chat-composer { display: flex; align-items: flex-end; gap: 10px; padding: 12px; border-top: 1.5px solid var(--dn-line); background: var(--dn-surface-2); }
.kid-chat-composer textarea { flex: 1; resize: none; border: 2px solid var(--dn-line); background: var(--dn-surface); border-radius: 16px; padding: 12px 15px; font: inherit; font-size: 16px; color: var(--dn-ink); max-height: 120px; }
.kid-chat-composer textarea:focus { outline: none; border-color: var(--sun); box-shadow: 0 0 0 4px rgba(244, 168, 51, .18); }
.kid-chat-send { width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--sun), var(--sun)); color: var(--dn-on-accent); border: 0; cursor: pointer; box-shadow: 0 6px 14px rgba(238, 159, 46, .4); transition: transform .15s ease; }
.kid-chat-send svg { width: 20px; height: 20px; }
.kid-chat-send:active { transform: scale(.93); }
.kid-chat-badge { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: var(--sun); color: var(--dn-on-accent); font-size: 13px; font-weight: 800; box-shadow: 0 3px 8px rgba(238, 159, 46, .45); }
.kq-chat-alt { font-size: 15px; font-weight: 800; color: var(--dn-ink); }
.kq-chat .kq-n { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; }
.kmr-chat { background: linear-gradient(90deg, rgba(244, 168, 51, .10), transparent 70%); }
@media (max-width: 720px) {
  .kid-chat { height: calc(100vh - 280px); min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  .kid-chat-scroll { scroll-behavior: auto; }
}
.kid-sos { margin: 0 0 16px; border-radius: 20px; padding: 14px; background: var(--dn-surface); border: 2px solid var(--dn-line); box-shadow: 0 6px 18px rgba(0, 0, 10, .06); }
.kid-sos[data-sos-state="waiting"] { border-color: rgba(246, 196, 82, .45); background: linear-gradient(135deg, var(--dn-surface-2), rgba(246, 196, 82, .22)); }
.kid-sos[data-sos-state="ack"] { border-color: var(--dn-ok-soft); background: linear-gradient(135deg, var(--dn-ok-soft), rgba(87, 196, 166, .22)); }
.kid-sos-btn { display: flex; align-items: center; gap: 14px; width: 100%; background: linear-gradient(135deg, var(--dn-danger), var(--dn-danger)); color: var(--dn-surface); border: none; border-radius: 16px; padding: 16px 18px; cursor: pointer; font-family: inherit; box-shadow: 0 8px 20px rgba(232, 96, 76, .28); transition: transform .12s ease, box-shadow .18s ease; animation: sos-kid-breathe 2.6s ease-in-out infinite; }
@keyframes sos-kid-breathe {  
  0%, 100% { box-shadow: 0 8px 20px rgba(232, 96, 76, .28); }
  50% { box-shadow: 0 8px 26px rgba(232, 96, 76, .45); }
  }
.kid-sos-btn:hover { transform: translateY(-1px); }
.kid-sos-btn:active { transform: scale(.98); }
.kid-sos-ico { font-size: 30px; line-height: 1; }
.kid-sos-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.kid-sos-txt b { font-size: 19px; letter-spacing: .06em; }
.kid-sos-txt i { font-style: normal; font-size: 13px; opacity: .92; }
.kid-sos-panel { margin-top: 12px; }
.kid-sos-q { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--dn-ink-2); }
.kid-sos-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kid-sos-notes button { padding: 12px 10px; border-radius: 14px; border: 1.5px solid var(--dn-line); background: var(--dn-surface-2); font-family: inherit; font-size: 13.5px; font-weight: 700; color: var(--dn-ink-2); cursor: pointer; min-height: 48px; transition: background .15s ease, border-color .15s ease, transform .1s ease; }
.kid-sos-notes button:hover { background: var(--dn-warm-soft); border-color: rgba(246, 196, 82, .45); }
.kid-sos-notes button:active { transform: scale(.97); }
.kid-sos-notes button[disabled] { opacity: .6; cursor: default; }
.kid-sos-status { margin: 10px 2px 0; font-size: 14.5px; font-weight: 800; text-align: center; }
.kid-sos[data-sos-state="waiting"] .kid-sos-status { color: var(--sun-text); animation: sos-kid-blink 1.4s ease-in-out infinite; }
.kid-sos[data-sos-state="ack"] .kid-sos-status { color: var(--dn-ok); }
@keyframes sos-kid-blink {   0%, 100% { opacity: 1; } 50% { opacity: .55; }   }
.kid-sos-cancel { display: block; margin: 10px auto 0; background: none; border: none; border-bottom: 1.5px dashed rgba(246, 196, 82, .50); font-family: inherit; font-size: 12.5px; font-weight: 700; color: var(--dn-warm); cursor: pointer; padding: 2px 4px; min-height: 32px; }
.kid-sos-cancel[disabled] { opacity: .5; cursor: default; }
@media (max-width: 420px) {
  .kid-sos-notes { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .kid-sos-btn { animation: none; }
  .kid-sos[data-sos-state="waiting"] .kid-sos-status { animation: none; }
}
.kid-voice { display: flex; align-items: center; gap: 8px; }
.kid-voice audio { width: 190px; max-width: 58vw; height: 34px; vertical-align: middle; }
.kid-voice-dur { font-size: 11px; font-weight: 700; opacity: .65; white-space: nowrap; }
.kid-circle { width: 200px; height: 200px; max-width: 68vw; max-height: 68vw; border-radius: 50%; object-fit: cover; display: block; background: var(--dn-ink); }
.kid-tabbar a .ico { width: 21px; height: 21px; margin: 0 auto 2px; display: block; stroke-width: 1.9; }
@media (max-width: 640px) {
  .kid-tabbar a .ico { width: 19px; height: 19px; }
}
.kq-rituals .kq-ico { color: var(--amber-2, var(--sun)); }
.kid-ritual { display: flex; align-items: center; gap: 11px; padding: 11px 4px; border-bottom: 1px solid rgba(125, 155, 240, .08); }
.kid-ritual:last-of-type { border-bottom: 0; }
.kid-ritual.done .kr-main b { text-decoration: line-through; text-decoration-thickness: 1.5px; color: rgba(125,155,240,.55); }
.kr-check { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; border: 2.2px solid rgba(125, 155, 240, .3); background: var(--dn-surface); color: transparent; display: grid; place-items: center; cursor: pointer; padding: 0; transition: border-color .18s ease, background .18s ease, transform .12s ease; }
.kr-check svg { width: 17px; height: 17px; display: block; }
.kr-check:hover { border-color: var(--area-body); }
.kr-check:active { transform: scale(.92); }
.kid-ritual.done .kr-check { background: var(--area-body); border-color: var(--area-body); color: var(--dn-surface); }
.kr-ico svg { width: 21px; height: 21px; }
.kr-streak { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 800; color: var(--sun); background: rgba(238, 159, 46, .13); border-radius: 999px; padding: 4px 9px; }
.kr-streak .ico { width: 13px; height: 13px; fill: var(--sun); stroke: none; }
.kr-week { display: grid; gap: 2px; }
.kr-week-head { display: grid; grid-template-columns: minmax(96px, 1.6fr) repeat(7, 1fr); align-items: center; gap: 3px; padding-bottom: 4px; }
.kr-week-row { display: grid; grid-template-columns: minmax(96px, 1.6fr) repeat(7, 1fr); align-items: center; gap: 3px; }
.kr-wd { text-align: center; font-size: 11px; font-weight: 700; color: rgba(125, 155, 240, .55); text-transform: uppercase; letter-spacing: .4px; }
.kr-wd.today { color: var(--sun); }
.kr-week-name { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 13px; font-weight: 700; color: var(--dn-accent-deep); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kr-week-name i { flex: 0 0 auto; width: 9px; height: 9px; border-radius: 3px; }
.kr-cell { display: grid; place-items: center; min-height: 30px; }
.kr-cell.today { background: rgba(238, 159, 46, .1); border-radius: 9px; }
.kr-dot { width: 21px; height: 21px; border-radius: 50%; display: grid; place-items: center; padding: 0; font-size: 0; border: 0; }
.kr-dot svg { width: 11px; height: 11px; color: var(--dn-surface); display: block; }
.kr-dot.on { background: var(--area-body); }
.kr-dot.todo { background: var(--dn-surface); border: 2px dashed rgba(125, 155, 240, .35); cursor: pointer; }
.kr-dot.todo:hover { border-color: var(--area-body); background: rgba(87, 196, 166, .08); }
.kr-dot.missed { background: rgba(125, 155, 240, .14); }
.kr-dot.future { background: transparent; border: 1.6px solid rgba(125, 155, 240, .16); }
.kr-dot.off { background: transparent; }
.kb-star.r-flame svg { fill: var(--sun); stroke: none; }
@media (max-width: 380px) {
  .kr-week-head { grid-template-columns: minmax(78px, 1.4fr) repeat(7, 1fr); }
  .kr-week-row { grid-template-columns: minmax(78px, 1.4fr) repeat(7, 1fr); }
  .kr-week-name { font-size: 12px; }
}
.brn-progress { display: flex; flex-direction: column; gap: 8px; }
.brn-progress-bar { height: 12px; border-radius: 6px; overflow: hidden; background: var(--dn-surface-2, var(--dn-surface-2)); border: 1px solid rgba(125, 155, 240, .12); }
.brn-progress-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--dn-ok), var(--dn-ok)); border-radius: 6px; min-width: 4px; transition: width .25s; }
.brn-cat { display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; border-radius: 999px; padding: 4px 12px; margin-bottom: 10px; }
.brn-cat-logic { background: var(--dn-ok-soft); color: var(--dn-accent-deep); }
.brn-cat-attention { background: var(--dn-warm-soft); color: var(--sun-text); }
.brn-cat-memory { background: var(--dn-info-soft); color: var(--dn-info); }
.brn-cat-math { background: var(--dust); color: var(--indigo-deep); }
.brn-prompt { font-size: 18.5px; line-height: 1.42; margin: 0 0 14px; }
.brn-form { display: flex; flex-direction: column; gap: 9px; }
.brn-option { display: flex; align-items: center; gap: 11px; border: 1.5px solid rgba(125, 155, 240, .14); border-radius: 14px; padding: 13px 14px; cursor: pointer; background: var(--dn-surface); font-size: 15.5px; font-weight: 600; line-height: 1.35; transition: border-color .15s, background .15s; }
.brn-option:hover { border-color: rgba(125, 155, 240, .4); }
.brn-option input[type="radio"] { width: 18px; height: 18px; accent-color: var(--dn-accent-deep); flex: none; }
.brn-option:has(input:checked) { border-color: var(--dn-accent-deep); background: var(--dn-ok-soft); }
.brn-done { text-align: center; }
.brn-done-text { font-size: 15px; line-height: 1.55; color: var(--dn-ink, var(--dn-ink)); margin: 6px 0 16px; }
.brn-stats-row { display: flex; justify-content: space-around; gap: 10px; padding: 4px 0; }
.brn-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.brn-stat b { font-size: 24px; color: var(--dn-accent-deep); font-variant-numeric: tabular-nums; }
.brn-stat span { font-size: 11.5px; color: var(--dn-ink-2, var(--dn-ink-2)); }
.brn-level { margin-bottom: 12px; }
.brn-level-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.brn-level-badge { display: inline-block; padding: 6px 12px; border-radius: 14px; background: var(--primary); color: var(--dn-surface); font-size: 12.5px; font-weight: 800; letter-spacing: .2px; }
.ksr-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.ksr-pill input { position: absolute; opacity: 0; pointer-events: none; }
.ksr-pill span { display: inline-block; padding: 10px 16px; border-radius: 14px; border: 2px solid var(--line, var(--dn-line)); background: var(--surface, var(--dn-surface)); font-weight: 800; font-size: 14px; color: var(--muted, var(--dn-ink-2)); cursor: pointer; transition: all .15s; }
.ksr-pill input:checked + span { border-color: var(--primary); background: var(--primary-soft, var(--dn-ok-soft)); color: var(--primary); }
.ksr-list { margin-top: 12px; }
.ksr-badge { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 10px; white-space: nowrap; }
.ksr-badge.ksr-pending { background: var(--dn-warm-soft); color: var(--sun-text); }
.ksr-badge.ksr-approved { background: var(--dn-ok-soft); color: var(--dn-ok); }
.ksr-badge.ksr-denied { background: var(--dn-danger-soft); color: var(--dn-danger); }
.ksr-list li b { flex: 1; }
.game-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 16px 18px; background: radial-gradient(140% 120% at 100% 0%, rgba(244, 168, 51, .16) 0%, transparent 55%), radial-gradient(120% 140% at 0% 100%, rgba(87, 196, 166, .12) 0%, transparent 60%), var(--dn-surface); border: 1px solid var(--dn-line); box-shadow: 0 10px 26px rgba(0, 0, 10, .07); margin-bottom: 14px; animation: kid-pop .35s cubic-bezier(.34, 1.56, .64, 1); }
.game-hero::after { position: absolute; inset: -40% -20% auto auto; width: 220px; height: 220px; background: conic-gradient(from 210deg, rgba(244, 168, 51, .14) 0 40deg, transparent 40deg 360deg); border-radius: 50%; pointer-events: none; }
.gh-top { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.gh-ring { --p: 0; flex: 0 0 auto; width: 72px; height: 72px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: radial-gradient(closest-side, var(--dn-surface) 78%, transparent 79% 100%), conic-gradient(var(--sun) calc(var(--p) * 1%), var(--dn-line-2) 0); box-shadow: inset 0 0 0 1px var(--dn-line), 0 4px 12px rgba(244, 168, 51, .18); }
.gh-ring b { font-size: 22px; font-weight: 800; line-height: 1; color: var(--dn-ink); }
.gh-ring i { font-style: normal; font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--sun-text); }
.gh-ring-lg { width: 92px; height: 92px; }
.gh-ring-lg b { font-size: 28px; }
.gh-info { min-width: 0; flex: 1; }
.gh-name { margin: 0 0 2px; font-size: 18px; font-weight: 800; color: var(--dn-ink); }
.gh-xp { margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--sun-text); }
.gh-bar { height: 10px; border-radius: 999px; background: var(--dn-line-2); overflow: hidden; box-shadow: inset 0 1px 2px rgba(0, 0, 10, .06); }
.gh-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sun), var(--dn-danger)); transition: width .6s cubic-bezier(.22, 1, .36, 1); }
.gh-bar-lg { height: 12px; }
.gh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; position: relative; z-index: 1; }
.gh-chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 800; background: var(--dn-surface-2); color: var(--sun-text); border: 1px solid var(--dn-line-2); text-decoration: none; }
.gh-chip-plain { background: var(--dn-ok-soft); color: var(--dn-ok); border-color: var(--dn-ok-soft); }
a.gh-chip { transition: transform .15s ease, box-shadow .15s ease; }
a.gh-chip:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(244, 168, 51, .25); }
.game-head { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 22px; background: radial-gradient(140% 120% at 100% 0%, rgba(244, 168, 51, .18) 0%, transparent 55%), var(--dn-surface); border: 1px solid var(--dn-line); box-shadow: 0 10px 26px rgba(0, 0, 10, .07); margin-bottom: 18px; }
.game-head-info { min-width: 0; }
.game-head-info h1 { margin: 0 0 4px; font-size: 20px; font-weight: 800; }
.game-xp-line { margin: 0 0 8px; font-size: 14px; color: var(--sun-text); font-weight: 600; }
.game-xp-line b { color: var(--dn-ink); }
.game-head-sub { margin: 8px 0 0; font-size: 12.5px; font-weight: 700; color: var(--sun-text); }
.game-group { margin-bottom: 18px; }
.game-group-title { margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--dn-ink); display: flex; align-items: center; gap: 8px; }
.game-group-title::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--dn-line), transparent); }
.badge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.badge-card { position: relative; border-radius: 18px; padding: 14px 12px 12px; text-align: center; background: var(--dn-surface); border: 1.5px solid var(--dn-surface-2); box-shadow: 0 4px 12px rgba(0, 0, 10, .05); display: grid; gap: 4px; justify-items: center; transition: transform .15s ease; }
.badge-card.is-on { animation: badge-in .45s cubic-bezier(.34, 1.56, .64, 1); }
@keyframes badge-in {   from { transform: scale(.85); opacity: .4; } to { transform: scale(1); opacity: 1; }   }
.badge-card.is-on.tier-bronze { border-color: rgba(227, 176, 138, .60); background: linear-gradient(180deg, var(--dn-surface-2), rgba(246, 196, 82, .14)); }
.badge-card.is-on.tier-silver { border-color: var(--dn-info-soft); background: linear-gradient(180deg, var(--dn-info-soft), var(--dn-info-soft)); }
.badge-card.is-on.tier-gold { border-color: rgba(246, 196, 82, .55); background: linear-gradient(180deg, var(--dn-surface-2), rgba(246, 196, 82, .16)); box-shadow: 0 6px 18px rgba(244, 168, 51, .22); }
.badge-card.is-on::before { content: ""; position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--dn-ok); box-shadow: 0 0 0 3px rgba(87, 196, 166, .18); }
.badge-card:not(.is-on) { filter: saturate(.25); opacity: .82; }
.bc-ico { font-size: 30px; line-height: 1; }
.badge-card:not(.is-on) .bc-ico { filter: grayscale(.9); opacity: .55; }
.bc-title { margin: 2px 0 0; font-size: 13.5px; font-weight: 800; color: var(--dn-ink); }
.bc-desc { margin: 0; font-size: 11.5px; line-height: 1.35; color: var(--sun-text); }
.bc-flag { font-size: 11px; font-weight: 800; color: var(--dn-ok); }
.bc-progress { width: 100%; height: 7px; border-radius: 999px; background: var(--dn-line-2); overflow: hidden; margin-top: 4px; }
.bc-progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--sun), var(--dn-danger)); transition: width .5s ease; }
.bc-n { font-size: 11px; font-weight: 800; color: var(--sun-text); }
@media (max-width: 420px) {
  .badge-grid { grid-template-columns: repeat(2, 1fr); }
  .gh-ring { width: 62px; height: 62px; }
  .gh-ring b { font-size: 19px; }
  .game-head { flex-direction: column; text-align: center; }
  .game-head .gh-bar-lg { width: 100%; }
}
.game-group-weekly { position: relative; border: 1px solid var(--dn-line-2); background: radial-gradient(120% 140% at 100% 0%, rgba(244, 168, 51, .10) 0%, transparent 55%), var(--dn-surface-2); border-radius: 20px; padding: 14px 14px 4px; margin-bottom: 20px; }
.gg-week-chip { display: inline-flex; align-items: center; vertical-align: middle; margin-left: 8px; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; color: var(--sun-text); background: var(--dn-warm-soft); border: 1px solid var(--dn-line-2); white-space: nowrap; }
.gg-week-note { margin: -4px 0 12px; font-size: 12px; line-height: 1.45; color: var(--sun-text); }
.badge-card.is-weekly:not(.is-on) { opacity: .9; filter: saturate(.45); }
.badge-card.is-almost:not(.is-on) { filter: saturate(.9); opacity: 1; border-color: var(--sun); box-shadow: 0 6px 18px rgba(244, 168, 51, .18); animation: badge-almost 2.2s ease-in-out infinite; }
@keyframes badge-almost {  
  0%, 100% { box-shadow: 0 6px 18px rgba(244, 168, 51, .14); }
  50%      { box-shadow: 0 8px 22px rgba(244, 168, 51, .30); }
  }
.badge-card.is-almost:not(.is-on) .bc-ico { filter: none; opacity: 1; }
.badge-card.is-almost .bc-progress span { background: linear-gradient(90deg, var(--sun), var(--dn-danger)); }
.bc-almost { color: var(--sun-deep); }
.bc-times { position: absolute; top: 8px; right: 8px; padding: 2px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 800; color: var(--dn-ok); background: var(--dn-ok-soft); border: 1px solid var(--dn-ok-soft); }
.brn-applist { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.brn-applist li { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--dn-surface); border-radius: 14px; padding: 10px 14px; box-shadow: inset 0 0 0 1px var(--dn-line); font-size: 14.5px; }
.brn-appname { font-weight: 700; color: var(--dn-ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brn-promo { display: flex; align-items: center; gap: 14px; justify-content: space-between; flex-wrap: wrap; }
.brn-promo-text { flex: 1 1 220px; min-width: 0; }
.kid-ritual-card { margin-top: 14px; }
.pin-form { width: 100%; }
.pin-form .pin-row { justify-content: center; }
.pl-head { padding: 46px 0 22px; }
.pl-head-in { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.pl-head-grid { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 36px; align-items: center; }
.pl-head-copy h1 { margin: 12px 0 0; font-family: var(--dn-font-head, "Nunito"), system-ui, sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.16; color: var(--dn-ink); }
.pl-head h1 { margin: 12px 0 0; font-family: var(--dn-font-head, "Nunito"), system-ui, sans-serif; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.16; color: var(--dn-ink); }
.pl-head-copy .lead { margin: 12px 0 0; max-width: 66ch; font-size: 15.5px; line-height: 1.62; color: var(--dn-ink-2); }
.pl-head .lead { margin: 12px 0 0; max-width: 66ch; font-size: 15.5px; line-height: 1.62; color: var(--dn-ink-2); }
.pl-head .eyebrow { color: var(--dn-warm-deep); }
.pl-head .kicker { color: var(--dn-warm-deep); }
.pl-head .hl { color: var(--sun-deep); }
.pl-head-visual { max-width: 420px; padding: 18px; border-radius: var(--dn-rc); background: var(--dn-surface); box-shadow: var(--dn-shadow-card), inset 0 0 0 1px var(--dn-line); }
.pl-head .mock-float { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px; gap: 10px; box-shadow: var(--shadow-md); }
.pl-head .mock-float b { display: block; font-size: 13.5px; }
.pl-head .mock-float span { display: block; font-size: 12px; font-weight: 500; color: var(--muted); }
.pl-head .mock-float .pos-ico { width: 34px; height: 34px; display: grid; place-items: center; background: var(--primary-soft); border-radius: 12px; font-size: 16px; }
.pl-head .mock-float.live-badge .pos-ico { background: var(--ok); color: #fff; }
.pl-head .mock-float.live-badge b { color: var(--primary); }
@media (max-width: 940px) {
  .pl-head-grid { grid-template-columns: 1fr; }
  .pl-head-visual { max-width: none; }
}
body.landing .hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(52% 46% at 84% 12%, rgba(var(--amber-rgb), .20) 0%, transparent 66%), radial-gradient(44% 50% at 8% 88%, rgba(var(--primary-rgb), .08) 0%, transparent 62%); pointer-events: none; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: rgba(var(--amber-rgb), .30); border-radius: 999px; z-index: -1; }
.hero-scene { display: block; width: 100%; height: auto; }
.hs-sun { fill: var(--sun2); }
.hs-sun-glow { fill: var(--dn-glow-sun); }
.hs-hill-far { fill: var(--hill-1); }
.hs-hill-near { fill: var(--hill-2); }
.hs-owl { fill: var(--primary-2); }
.live-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.live-shot { margin: 0; min-width: 0; }
.live-shot img { display: block; width: 100%; height: auto; border-radius: 24px 32px 26px 34px; background: var(--dn-surface); box-shadow: var(--dn-shadow-lg), inset 0 0 0 1px var(--dn-line); }
.live-shot figcaption { margin-top: 14px; display: grid; gap: 3px; }
.live-shot figcaption b { font-size: 15.5px; color: var(--dn-ink); }
.live-shot figcaption span { font-size: 13.5px; line-height: 1.55; color: var(--dn-ink-2); }
.live-more { margin-top: 26px; text-align: center; }
.live-more a { font-weight: 800; color: var(--dn-accent); text-decoration: none; }
.live-more a:hover { text-decoration: underline; }
@media (max-width: 860px) {
  .live-duo { grid-template-columns: 1fr; gap: 24px; }
}
.feat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 44px; margin-top: 14px; }
.feat { display: flex; gap: 14px; align-items: flex-start; min-width: 0; }
.feat .cap-ico { width: 46px; height: 46px; border-radius: 44% 56% 52% 48% / 52% 46% 54% 48%; background: linear-gradient(165deg, rgba(255, 224, 164, .75), rgba(255, 196, 120, .30)); color: var(--dn-warm-deep); box-shadow: inset 0 0 0 1px rgba(184, 116, 26, .20); }
.feat .cap-ico svg { width: 21px; height: 21px; }
.feat b { display: block; font-size: 15.5px; line-height: 1.35; color: var(--dn-ink); }
.feat .row-sub { margin-top: 3px; font-size: 13.5px; line-height: 1.55; color: var(--dn-ink-2); }
body.landing .sec { margin-top: 30px; }
body.pricing-page .sec { margin-top: 30px; }
body.landing .sec:first-of-type { margin-top: 6px; }
body.pricing-page .sec:first-of-type { margin-top: 6px; }
@media (max-width: 760px) {
  .feat-grid { grid-template-columns: 1fr; gap: 18px; }
}
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(52% 84% at 50% -22%, rgba(var(--amber-rgb), .4), transparent 64%); pointer-events: none; }
.pl-duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 48px; }
.pl-role h3 { display: flex; align-items: center; gap: 11px; font-family: var(--dn-font-head, "Nunito"), system-ui, sans-serif; font-size: 17px; color: var(--dn-ink); }
.pl-role .cap-ico { width: 38px; height: 38px; }
@media (max-width: 860px) {
  .pl-duo { grid-template-columns: 1fr; }
}
.pwa-note { margin-top: 26px; padding: 20px 22px; border-radius: var(--dn-rc); background: var(--dn-surface); box-shadow: var(--dn-shadow-sm), inset 0 0 0 1px var(--dn-line); }
.pwa-note h3 { font-size: 15.5px; color: var(--dn-ink); }
.pwa-note p { margin-top: 7px; font-size: 13.5px; line-height: 1.55; color: var(--dn-ink-2); }
.pwa-note .btn { margin-top: 12px; }
.pl-error { max-width: 560px; margin: 0 auto; padding: 76px 24px 88px; text-align: center; }
.pl-error-mark { display: inline-grid; place-items: center; width: 84px; height: 84px; border-radius: 46% 54% 50% 50%; background: var(--dn-warm-soft); color: var(--dn-warm); box-shadow: inset 0 0 0 1.5px rgba(184, 116, 26, .22); margin-bottom: 18px; }
.pl-error h1 { font-family: var(--dn-font-head, "Nunito"), system-ui, sans-serif; font-size: 26px; letter-spacing: -.02em; color: var(--dn-ink); }
.pl-error p { margin-top: 10px; color: var(--dn-ink-2); }
.pl-error .hero-cta { justify-content: center; margin-top: 24px; }
.price-top h2 { font-size: 19px; font-weight: 800; letter-spacing: -.01em; }
.guest-nav .nav-link { padding: 8px 2px; border-radius: 0; background: none; }
.guest-nav .nav-link:hover { background: none; color: var(--primary); }
.nav-link-quiet { position: relative; }
.nav-link-quiet::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 3px; height: 2px; border-radius: 2px; background: var(--amber); transition: right .18s ease; }
.nav-link-quiet:hover::after { right: 0; }
.nav-link-quiet.on::after { right: 0; }
.nav-link-quiet.on { background: none; color: var(--primary); font-weight: 800; }
@media (max-width: 860px) {
  .guest-nav { display: none; }
}
.guest-login { display: none; }
@media (min-width: 640px) {
  .guest-login { display: inline-block; }
}
.nav-dropdown-wide { min-width: 288px; }
.dd-group { display: grid; gap: 2px; }
.dd-group + .dd-group { margin-top: 8px; }
.dd-group-head { margin: 2px 12px 4px; font: 800 10.5px/1.4 var(--dn-font-head, 'Nunito'), system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.dd-ico-amber { background: var(--amber-soft) !important; color: var(--amber-2) !important; }
.mobile-menu .mm-brand { display: flex; align-items: center; gap: 9px; font: 800 17px/1.2 var(--dn-font-head, 'Nunito'), system-ui, sans-serif; color: var(--ink); padding: 4px 4px 12px; }
.mobile-menu .mm-brand .logo-mark { width: 30px; height: 30px; display: inline-grid; place-items: center; color: var(--amber-2); background: var(--amber-soft); border-radius: 44% 56% 52% 48% / 52% 46% 54% 48%; box-shadow: none; }
.mobile-menu .mm-brand .logo-mark svg { width: 17px; height: 17px; }
.mobile-menu .mm-title { margin: 12px 4px 2px; font: 800 10.5px/1.4 var(--dn-font-head, 'Nunito'), system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.dash-top { margin: 30px 0 0; }
.dash-top > .sec:first-child { margin-top: 0; }
.split { justify-content: space-between; }
.btn-x { border: 0 !important; color: var(--faint); }
.btn-x:hover { color: var(--danger); }
.push-r { margin-left: auto; }
.dim-row { opacity: .65; }
.dot-primary { background: var(--primary); }
.w-read { max-width: 760px; }
.sec-note { margin: 2px 2px 8px; font-size: 13.5px; }
.goal-line { padding: 10px 2px 14px; border-bottom: 1px solid var(--line-2); }
.goal-scale { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.list-row-plain { padding: 2px 0; border: 0; }
.empty-tight { padding: 22px 4px; }
.sgroup-plain { border-top: 0; padding-top: 0; }
.mt-4 { margin-top: 4px; }
.mt-6 { margin-top: 6px; }
.mt-10 { margin-top: 10px; }
.mt-14 { margin-top: 14px; }

/* ==================== ЧАТ: запись голосовых и кружков (СОН) ==================== */
.chat-tool { width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--dn-accent); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s, border-color .15s; }
.chat-tool:hover { background: var(--surface-2); border-color: var(--line-2); }
.chat-tool svg { width: 20px; height: 20px; }
.chat-recbar { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 14px; background: var(--dn-warm-soft); border: 1px solid rgba(246, 196, 82, .38); border-radius: 14px; }
.chat-recbar.hidden { display: none; }
.chat-rec-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dn-danger); animation: chatRecPulse 1.1s infinite; }
@keyframes chatRecPulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.chat-rec-time { font-weight: 800; color: var(--dn-warm-deep); font-variant-numeric: tabular-nums; }
.chat-rec-hint { flex: 1; color: var(--dn-warm-deep); font-size: 13px; }
.chat-rec-btn { border: none; border-radius: 10px; padding: 8px 14px; font-weight: 700; cursor: pointer; font-size: 13px; }
.chat-rec-cancel { background: var(--surface-2); color: var(--dn-ink-2); }
.chat-rec-stop { background: var(--dn-accent); color: var(--dn-on-accent); }
.chat-toast { position: fixed; left: 50%; transform: translateX(-50%) translateY(12px); bottom: 88px; background: #1B2358; color: var(--dn-ink); padding: 10px 16px; border-radius: 12px; font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; max-width: min(92vw, 440px); text-align: center; }
.chat-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.chat-circle-overlay { position: fixed; inset: 0; background: rgba(5, 8, 30, .96); z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; }
.chat-circle-overlay.hidden { display: none; }
.chat-circle-video { width: min(72vw, 300px); height: min(72vw, 300px); border-radius: 50%; object-fit: cover; background: #0A0D26; border: 3px solid rgba(255, 255, 255, .4); transform: scaleX(-1); }
.chat-circle-video.ring { border-color: var(--dn-danger); }
.chat-circle-video.playback { transform: none; border-color: rgba(255, 255, 255, .65); }
.chat-circle-time { color: var(--dn-ink); font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; }
.chat-circle-msg { color: #FFD9D2; font-size: 13.5px; min-height: 18px; text-align: center; max-width: 80vw; }
.chat-circle-ctl { display: flex; align-items: center; gap: 22px; }
.chat-circle-big { width: 72px; height: 72px; border-radius: 50%; border: 4px solid #FFF; background: var(--coral); cursor: pointer; transition: background .15s; }
.chat-circle-big.recording { background: #FFF; border-color: var(--dn-danger); }
.chat-circle-side { background: rgba(255, 255, 255, .14); border: none; color: #FFF; border-radius: 12px; padding: 10px 18px; font-weight: 700; cursor: pointer; font-size: 14px; }
.chat-circle-side.go { background: var(--dn-accent); color: var(--dn-on-accent); }
.chat-circle-side.hidden, .chat-circle-big.hidden { display: none; }
.kid-chat-tool { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--dn-accent); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.kid-chat-tool svg { width: 19px; height: 19px; }
.kc-recbar { display: flex; align-items: center; gap: 10px; margin: 0 8px 8px; padding: 9px 12px; background: var(--dn-warm-soft); border: 1px solid rgba(246, 196, 82, .38); border-radius: 14px; }
.kc-recbar.hidden { display: none; }
.kc-rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dn-danger); animation: kcRecPulse 1.1s infinite; }
@keyframes kcRecPulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }
.kc-rec-time { font-weight: 800; color: var(--dn-warm-deep); font-variant-numeric: tabular-nums; }
.kc-rec-hint { flex: 1; color: var(--dn-warm-deep); font-size: 12.5px; }
.kc-rec-btn { border: none; border-radius: 10px; padding: 7px 12px; font-weight: 700; cursor: pointer; font-size: 12.5px; }
.kc-rec-cancel { background: var(--surface-2); color: var(--dn-ink-2); }
.kc-rec-stop { background: var(--dn-accent); color: var(--dn-on-accent); }
.kc-toast { position: fixed; left: 50%; transform: translateX(-50%) translateY(12px); bottom: 96px; background: #1B2358; color: var(--dn-ink); padding: 10px 16px; border-radius: 12px; font-size: 13px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 90; max-width: min(92vw, 420px); text-align: center; }
.kc-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.kc-circle-overlay { position: fixed; inset: 0; background: rgba(5, 8, 30, .96); z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; }
.kc-circle-overlay.hidden { display: none; }
.kc-circle-video { width: min(74vw, 280px); height: min(74vw, 280px); border-radius: 50%; object-fit: cover; background: #0A0D26; border: 3px solid rgba(255, 255, 255, .4); transform: scaleX(-1); }
.kc-circle-video.ring { border-color: var(--dn-danger); }
.kc-circle-video.playback { transform: none; border-color: rgba(255, 255, 255, .65); }
.kc-circle-time { color: var(--dn-ink); font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.kc-circle-msg { color: #FFD9D2; font-size: 13px; min-height: 16px; text-align: center; max-width: 80vw; }
.kc-circle-ctl { display: flex; align-items: center; gap: 18px; }
.kc-circle-big { width: 66px; height: 66px; border-radius: 50%; border: 4px solid #FFF; background: var(--coral); cursor: pointer; }
.kc-circle-big.recording { background: #FFF; border-color: var(--dn-danger); }
.kc-circle-side { background: rgba(255, 255, 255, .14); border: none; color: #FFF; border-radius: 12px; padding: 9px 16px; font-weight: 700; cursor: pointer; font-size: 13.5px; }
.kc-circle-side.go { background: var(--dn-accent); color: var(--dn-on-accent); }
.kc-circle-side.hidden, .kc-circle-big.hidden { display: none; }

/* ==================== СРАВНЕНИЕ: полоса доверия (СОН) ==================== */
.cmp-posband { display: flex; align-items: flex-start; gap: 20px; background: var(--dn-surface); border-radius: var(--dn-rc); box-shadow: var(--dn-shadow-card), inset 0 0 0 1px var(--dn-line); padding: 24px 28px; margin-top: 36px; }
.cmp-posband .pos-ico { flex: none; }
.cmp-posband h2 { margin: 0; font-family: var(--dn-font-head), system-ui, sans-serif; font-size: 19px; letter-spacing: -.01em; color: var(--dn-ink); }
.cmp-posband p { margin: 8px 0 0; font-size: 14px; line-height: 1.6; color: var(--dn-ink-2); }


/* ================= СОН v4.8.0 «АВТОРСКИЙ РИТМ» =================
   Каждый раздел — своя композиция: карта-действие (.pane-card),
   лента-рельс (.pane-rail), цитата (.pane-quote), таймлайн
   (.pane-timeline), лента поиска с кикер-группами (.search-group),
   карточка ребёнка (.safety-kid), пустые секции в одну строку
   (.pane-min). Палитра не расширялась: только токены СОН. */
.pane-card { background: linear-gradient(180deg, var(--surface), rgba(39, 48, 122, .45)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 16px 10px; box-shadow: var(--shadow-card); }
.pane-card > .sec:first-child { padding-top: 0; margin-top: 0; background-image: none; }
.pane-card .list-row, .pane-card .approve-row { padding-left: 2px; padding-right: 2px; }
.pane-rail { border-left: 2px solid rgba(125, 155, 240, .55); padding-left: 16px; }
.pane-rail > .sec:first-child { padding-top: 0; margin-top: 0; background-image: none; }
.pane-min { display: flex; align-items: baseline; gap: 14px; }
.pane-min > .sec { margin: 0; padding-top: 0; background-image: none; flex-shrink: 0; }
.pane-min > .muted.small { margin: 0 0 0 auto; text-align: right; }
.pane-quote .sec-sub { font-size: 16px; line-height: 1.5; color: var(--ink); font-weight: 700; margin: 6px 0 12px; }
.pane-timeline { position: relative; }
.pane-timeline .list-row { position: relative; border-bottom: 0; padding: 9px 0 9px 20px; }
.pane-timeline .list-row:last-child { padding-bottom: 4px; }
.pane-timeline .list-row::before { content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; border-radius: 999px; background: var(--primary); box-shadow: 0 0 0 3px rgba(125, 155, 240, .16); }
.pane-timeline .list-row::after { content: ""; position: absolute; left: 5px; top: 27px; bottom: -6px; width: 1px; background: var(--line); }
.pane-timeline .list-row:last-child::after { display: none; }
.pane-timeline .list-row .badge { min-width: 58px; justify-content: center; }
.search-group { margin-bottom: 0; }
.search-group > .sec { display: block; border-top: 0; background-image: none; margin: 22px 0 2px; padding-top: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--faint); }
.search-group > .sec h2 { font-size: inherit; letter-spacing: inherit; text-transform: inherit; color: inherit; }
section.search-group:first-of-type > .sec { margin-top: 6px; }
.safety-kid { margin: 26px 0 0; padding: 18px 18px 14px; background: linear-gradient(180deg, var(--surface), rgba(39, 48, 122, .35)); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); }
.safety-kid > .sec:first-child { margin-top: 0; padding-top: 0; background-image: none; align-items: center; gap: 12px; }
.safety-kid > .sec:first-child h2 { font-size: 18px; }
.safety-kid .sec .kid-av { width: 36px; height: 36px; font-size: 15px; flex-shrink: 0; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #1B2358; font-weight: 800; }
.safety-kid .sd-batt { margin: 8px 0 10px; }
.dash-top > .sec:first-child h2 { font-size: 19px; letter-spacing: -.015em; }
.week-band { background: linear-gradient(135deg, rgba(61, 79, 174, .32), transparent 58%); border: 1px solid var(--line); border-radius: var(--r-lg); }
.wb-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wb-stat { border-left: 1px solid var(--line); padding: 6px 14px; }
.wb-stat:first-child { border-left: 0; padding-left: 2px; }
.wb-stat b { font-size: 26px; font-variant-numeric: tabular-nums; }
.today-time, .ld-h, .ev-t, .b-when, .sh-where, .badge, .cnt, .ring-n, .ld-bar-wrap { font-variant-numeric: tabular-nums; }
.empty { padding: 22px 14px; }
.empty .empty-ico { width: 44px; height: 44px; border-radius: 13px; margin-bottom: 6px; }
@media (max-width: 860px) {
  .wb-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .wb-stat:nth-child(odd) { border-left: 0; padding-left: 2px; }
  .wb-stat b { font-size: 19px; }
  .dash-top > .sec:first-child h2 { font-size: 17.5px; }
}
@media (max-width: 640px) {
  .pane-min { flex-direction: column; gap: 2px; }
  .pane-min > .muted.small { margin: 0; text-align: left; }
  .pane-card { padding: 12px 12px 8px; }
  .pane-rail { padding-left: 12px; }
  .safety-kid { padding: 14px 12px 12px; }
}


/* ============================================================
   СОН v4.9.0 «ЖИВАЯ ДЕТАЛЬ» — продолжение полировки: каждый раздел
   получил собственную композицию; повторяющиеся блоки устранены.
   Палитра не расширялась — только токены СОН.
   ============================================================ */

/* --- Лента семьи: дневная группировка (композиция раздела) --- */
.feed-wrap { max-width: 760px; }
.feed-day { display: flex; align-items: baseline; gap: 10px; padding: 20px 0 6px; }
.feed-day:first-child { padding-top: 2px; }
.feed-day .fd-d { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.feed-day .fd-w { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.feed-day::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line-2), transparent); }
.feed-item + .feed-item { padding-top: 9px; }
.feed-item + .feed-item .feed-ico { width: 34px; height: 34px; border-radius: 11px; }
.feed-item + .feed-item .feed-ico svg { width: 16px; height: 16px; }
.feed-item + .feed-item .f-meta { display: none; }
.feed-item + .feed-item::before { left: 16px; top: 44px; }
.feed-day + .feed-item { padding-top: 12px; }
.feed-day + .feed-item .feed-ico { width: 44px; height: 44px; border-radius: 14px; }
.feed-day + .feed-item .feed-ico svg { width: 19px; height: 19px; }
.feed-day + .feed-item .f-meta { display: block; }
.feed-day + .feed-item::before { left: 21px; top: 58px; }

/* --- Расписание недели: тихие «свободные дни», тёплый акцент «сегодня» --- */
.wc-empty { padding: 22px 4px 14px; letter-spacing: .03em; }
.wc-empty::before { content: "· · ·"; display: block; letter-spacing: .3em; margin-bottom: 6px; color: var(--line-2); font-weight: 800; }
.week-col.today-col { border-color: rgba(var(--amber-rgb), .55); background: linear-gradient(180deg, rgba(var(--amber-rgb), .07), transparent 62%), var(--surface); }

/* --- Навыки: пустые зоны одной компактной полосой (вместо N карточек) --- */
.zone-strip { display: none; border-style: dashed; background: transparent; }
.zone-strip:has(.zone-chip) { display: block; }
.zone-strip .skill-area-head h3 { font-size: 15px; }
.zone-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.zone-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; border: 1px dashed var(--line-2); font-size: 12.5px; font-weight: 700; color: var(--muted); }
.zone-chip .zdot { width: 8px; height: 8px; border-radius: 50%; background: var(--ac, var(--primary)); opacity: .55; }
.zone-chip small { font-weight: 600; color: var(--faint); letter-spacing: .05em; }

/* --- Календарь: сетка-таблица вместо 35 одинаковых коробок --- */
.cal-cell { background: transparent; border-color: transparent; }
.cal-cell:hover { background: var(--surface-2); border-color: var(--line-2); }
.cal-cell.today { background: var(--surface-2); border-color: rgba(var(--amber-rgb), .6); }
.cal-cell:not(:has(.cal-ev)) .cal-num { color: var(--faint); font-weight: 600; }
.cal-cell .cal-num { font-variant-numeric: tabular-nums; }

/* --- Настроение: компактный пустой график; подписи кнопок ребёнка --- */
.empty-sm { padding: 18px 12px; }
.empty-sm .empty-ico { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 4px; }
.empty-sm .empty-ico svg { width: 18px; height: 18px; }
.empty-sm b { font-size: 14px; }
.empty-sm p { font-size: 12.5px; }

/* --- Посещаемость: живые кнопки отметки, тихие «нет занятия» --- */
.compare td.off { background: transparent; }
.compare td.off .small { color: var(--line-2); font-size: 14px; font-weight: 800; }
.compare .att-yes { border-color: rgba(var(--ok-rgb), .42); color: var(--ok); font-weight: 800; }
.compare .att-no { color: var(--danger); font-weight: 800; }

/* --- Аналитика: живые бары, композитная карточка «месяц к месяцу» --- */
.bar-stack { background: transparent; border-color: transparent; border-bottom: 1px solid var(--line-2); border-radius: 6px 6px 0 0; }
.bar-done { background: linear-gradient(180deg, var(--primary), rgba(var(--primary-rgb), .55)); border-radius: 6px 6px 0 0; }
.bar-missed { background: linear-gradient(180deg, var(--danger), rgba(var(--danger-rgb), .45)); border-radius: 6px 6px 0 0; }
.bar-rit-fill { background: linear-gradient(180deg, var(--amber), rgba(var(--amber-rgb), .5)); border-radius: 6px 6px 0 0; }
.mood-track { background: transparent; border-color: transparent; border-bottom: 1px solid var(--line-2); border-radius: 6px 6px 0 0; }
.mood-track i { border-radius: 6px 6px 0 0; }
.compare-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; background: var(--surface-2); border: 1px solid var(--line-2); border-radius: var(--r-md); overflow: hidden; }
.compare-cell { border: 0; border-radius: 0; box-shadow: none; background: transparent; border-right: 1px solid var(--line-2); }
.compare-cell:last-child { border-right: 0; }
.compare-nums b { font-variant-numeric: tabular-nums; }

/* --- Профиль семьи: семейный срез одной лентой (вместо 4 карточек) --- */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); overflow: hidden; }
.stat-cell { background: transparent; border: 0; border-radius: 0; box-shadow: none; border-right: 1px solid var(--line-2); }
.stat-cell:last-child { border-right: 0; }
a.stat-cell:hover { background: var(--surface-2); transform: none; box-shadow: none; border-color: transparent; }

/* --- Дайджест: дорожка истории индекса (один бар тоже осмыслен) --- */
.ld-bar-wrap { background: var(--surface-2); border-radius: 8px; }

/* --- Настройки: иконки секций + чистые классы вместо inline --- */
.sgroup h2 { display: flex; align-items: center; gap: 10px; }
.sg-ico { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--ac, var(--ink-2)); flex-shrink: 0; }
.sg-ico svg { width: 15px; height: 15px; }
.input-code { width: 110px; text-transform: uppercase; }
.input-pin { width: 90px; }
.row-x { color: var(--faint); }

/* --- Обзор недели: пустые секции — компактные карточки, не строки --- */
/* (использует .empty-sm выше) */

/* --- Глобальная живая деталь --- */
.list-row { border-radius: 10px; transition: background .12s; }
.list-row:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }

@media (max-width: 860px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-cell { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .compare-cell:last-child { border-bottom: 0; }
}
@media (max-width: 720px) {
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2n) { border-right: 0; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line-2); }
}


/* ============================================================
   СОН v5.0.0 «ЧИСТКА» — нулевой фонд статических inline-стилей:
   каждый остаточный style="…" (кроме data-binding из БД и email-
   шаблона) вынесен в класс на токенах СОН. Значения 1:1 —
   визуальная дельта нулевая. Новых цветов нет.
   ============================================================ */

/* --- Панели: ширины и состояния (вместо max-width в inline) --- */
.pane--form { max-width: 640px; }
.pane--wide { max-width: 720px; }
.pane--full { grid-column: 1 / -1; }
.pane--danger { border-color: rgba(var(--danger-rgb), .45); }
.err-pane { max-width: 520px; margin: 40px auto; text-align: center; }
.err-pane b { font-size: 22px; }

/* --- Микро-утилиты (значения прежних inline) --- */
.pt-0 { padding-top: 0; }
.confirm-row { gap: 10px; margin-top: 12px; }
.pin-in { width: 160px; }
.ico-inl { vertical-align: -2px; margin-right: 5px; }
.badge-push { margin-left: auto; }
.val-right { text-align: right; }
.val-nowrap { text-align: right; white-space: nowrap; }
.danger-link { color: var(--danger); }
.btn-x { color: var(--faint); justify-self: start; }
.ctl-h { margin: 0 0 6px; }
.share-code { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; overflow-wrap: anywhere; }

/* --- Компонентные варианты (1:1 к прежним inline) --- */
.auth-ico.auth-ico-danger { background: var(--danger-soft); color: var(--danger); }
.stat-ico.stat-ico-amber { background: var(--amber-soft); color: var(--amber-2); }
.kid-av.kid-av-ghost { background: var(--primary-soft); color: var(--primary); }
.user-chip.chip-sm { width: 36px; height: 36px; font-size: 13px; }
.code-box.code-sm { font-size: 13px; padding: 6px 10px; }
.board-input-row.flush-b { margin-bottom: 0; }
.pill-stat.pill-sm { padding: 6px 10px; }
.r-ico.r-ico-sm { width: 34px; height: 34px; }
.dot-inl { display: inline-block; margin-right: 8px; }
.list-box { border: 1px solid var(--line-2); border-radius: 10px; padding: 8px 12px; margin-bottom: 6px; }
.empty-cozy { padding: 22px; }
.empty-room { padding: 40px 20px; }
.av-preview { border-radius: 16px; object-fit: cover; }
.field input[type="color"] { height: 42px; padding: 4px; }
.form-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.area-mini-item.area-mini-rep { grid-template-columns: 170px 1fr 52px; }
.area-mini-label { display: flex; align-items: center; gap: 8px; }
button.badge { border: 0; cursor: pointer; font-family: inherit; }
.danger-zone { margin-top: 20px; }
.mood-pick { align-items: center; }
.compare .ctr { text-align: center; }
.compare .ctr.today { color: var(--amber-2); }
.att-kid { font-weight: 500; }
.compare th.rowname { width: 26%; }

/* --- Иконки на токенах без inline (--ac/--uc/--hc) --- */
.sg-ico.sg-primary { --ac: var(--primary); }
.sg-ico.sg-amber { --ac: var(--amber); }
.sg-ico.sg-info { --ac: var(--info); }
.sg-ico.sg-mint { --ac: var(--mint); }
.sg-ico.sg-sun { --ac: var(--sun); }
.cmp-u-ico.cmp-u-primary { --uc: var(--primary); }
.cmp-u-ico.cmp-u-sun { --uc: var(--sun); }
.cmp-u-ico.cmp-u-mint { --uc: var(--mint); }
.cmp-u-ico.cmp-u-indigo { --uc: var(--indigo-deep); }
.cmp-u-ico.cmp-u-ok { --uc: var(--ok); }
.cmp-u-ico.cmp-u-coral { --uc: var(--coral); }
.cmp-hcard.cmp-h-indigo { --hc: var(--indigo-deep); }
.cmp-hcard.cmp-h-primary { --hc: var(--primary); }
.cmp-hcard.cmp-h-ok { --hc: var(--ok); }
.skill-area-dot.dot-faint { --ac: var(--faint); }

/* --- Легенды календарей (месяц / неделя) --- */
.cal-legend .lg-sched { background: var(--line-2); border: 1px solid var(--line); }
.cal-legend .lg-ev { background: var(--amber); }
.cal-legend .lg-miss { background: var(--danger); }
.cal-legend .lg-l1 { background: rgba(var(--ok-rgb), .30); }
.cal-legend .lg-l2 { background: rgba(var(--ok-rgb), .55); }
.cal-legend .lg-l3 { background: var(--ok); }
.cal-legend .lg-l4 { background: var(--primary); }
.cal-legend .lg-abs { background: var(--danger-soft); border: 1px solid rgba(var(--danger-rgb), .4); }

/* --- Экономика: копилки и подсказки --- */
.goal-name { font-family: var(--dn-font-head, 'Nunito'), system-ui, sans-serif; font-weight: 800; font-size: 15.5px; }
.goal-pts { margin-left: auto; font-size: 12.5px; font-weight: 700; color: var(--sun-text); }
.goaltrail .mark-lo { left: 2%; }
.goaltrail .mark-hi { left: 98%; }
.goal-cta { margin-top: 2px; }
.bal-gear { color: var(--dn-ink-3); display: inline-flex; }
.econ-hint { padding: 6px 2px; font-size: 13.5px; }
.econ-hint2 { margin: 2px 2px 6px; font-size: 13.5px; }
.econ-note { margin: 8px 2px 0; font-size: 12.5px; }

/* --- Контекстные подсказки разделов (значения 1:1) --- */
.prof-hint { padding: 4px 2px 8px; }
.hist-hint { padding: 8px 0; }
.sfz-hint { padding: 4px 2px 8px; }
.sfz-add { margin: 10px 2px 0; }
.sd-batt-inset { margin: 0 2px 4px; }
.sch-hint { padding: 4px 2px; font-size: 13.5px; }
.sch-recent { padding: 8px 2px 0; }
.skill-hint { margin: 10px 2px 0; }
.rit-hint { margin-top: 14px; }

/* --- Настроение --- */
.mood-stack { gap: 7px; }
.mood-row { padding: 6px 0; }
.mood-date { width: 46px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.mood-who { width: 96px; text-align: right; flex-shrink: 0; }
.mood-set { gap: 10px; }
.mood-kid { min-width: 80px; }

/* --- Навыки --- */
.skill-stack { gap: 10px; }

/* --- Нижняя навигация: кнопка «Ещё» (лист) --- */
.nav-sheet { display: grid; justify-items: center; gap: 3px; height: auto; padding: 6px 2px; border-radius: 12px; font-size: 10.5px; font-weight: 700; color: var(--faint); background: none; border: 0; cursor: pointer; font-family: inherit; }

/* --- Демо-бар экранного времени (app_page) --- */
.pk-demo i { width: 62%; }

/* --- Подписки --- */
.sec-sub-gap { margin-top: 12px; }

/* ============================================================
   СОН v5.1.0 «БРАУЗЕР» — исправления по итогам браузерного
   аудита всех экранов (agent-browser, 27 страниц × 1440px).
   Только токены; каждый пункт закрыт на живых скриншотах.
   ============================================================ */

/* 1. Токены зон развития: --area-art/social/life отсутствовали —
      точки и полосы зон «Творчество/Общение/Быт» были невидимы */
:root { --area-art: #E8604C; --area-social: #F2A93B; --area-life: #3D4FAE; }

/* 2. Полоса статистики: было repeat(4,1fr) при 3 чипах — пустая
      4-я ячейка выглядела браком (страница «Ритуалы дня») */
.stat-row { grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); }

/* 3. Кнопка «Принял, я рядом» (SOS) — в систему кнопок:
      тир btn-sm (13px/10px), контрастный текст на токене */
.sos-ack-btn { padding: 8px 14px; border-radius: var(--r-sm); font-size: 13px; font-weight: 700; color: var(--dn-on-accent); }

/* 4. Настроение: статические градиенты из inline → классы на токенах
      (ширина полосы остаётся data-binding) */
.mood-scale i.mood-fill--hi  { background: linear-gradient(90deg, var(--mint), var(--ok)); }
.mood-scale i.mood-fill--mid { background: linear-gradient(90deg, var(--sun), var(--amber)); }
.mood-scale i.mood-fill--low { background: linear-gradient(90deg, var(--coral), var(--danger)); }

/* 5. Зоны развития: цвет точки/полосы через классы вместо
      inline var() — одно имя класса на токен */
.dot--area-body { background: var(--area-body); }
.dot--area-mind { background: var(--area-mind); }
.dot--area-art { background: var(--area-art); }
.dot--area-social { background: var(--area-social); }
.dot--area-life { background: var(--area-life); }
.bar--area-body, .bar-fill--area-body { --ac: var(--area-body); background: var(--area-body); }
.bar--area-mind, .bar-fill--area-mind { --ac: var(--area-mind); background: var(--area-mind); }
.bar--area-art, .bar-fill--area-art { --ac: var(--area-art); background: var(--area-art); }
.bar--area-social, .bar-fill--area-social { --ac: var(--area-social); background: var(--area-social); }
.bar--area-life, .bar-fill--area-life { --ac: var(--area-life); background: var(--area-life); }
.skill-area-dot--body { --ac: var(--area-body); }
.skill-area-dot--mind { --ac: var(--area-mind); }
.skill-area-dot--art { --ac: var(--area-art); }
.skill-area-dot--social { --ac: var(--area-social); }
.skill-area-dot--life { --ac: var(--area-life); }
.zone-chip--body { --ac: var(--area-body); }
.zone-chip--mind { --ac: var(--area-mind); }
.zone-chip--art { --ac: var(--area-art); }
.zone-chip--social { --ac: var(--area-social); }
.zone-chip--life { --ac: var(--area-life); }
/* уровни выше 5 не должны переполнять полосу */
.area-mini-bar i, .bar i { max-width: 100%; }

/* 6. Дневник баллов: разделители дней — снимают монотонность
      одинаковых строк (экономика) */
.ev-day { display: flex; align-items: center; gap: 8px; margin: 12px 0 2px; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--faint); }
.ev-day::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* 7. Сводка настроения (замена 14 одинаковых строк-дублей) */
.mood-sum-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mood-sum-row:last-child { border-bottom: 0; }
.mood-sum-name { display: flex; flex-direction: column; line-height: 1.25; }
.mood-sum-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-left: auto; justify-content: flex-end; }
.mood-sum-chips .chip-sm { height: 26px; padding: 0 10px; font-size: 12px; }
