/* ==========================================================================
   GN Nederlands — дизайн-система
   Цвета можно поменять здесь или в content/config.json (brand).
   ========================================================================== */
:root {
  /* Палитра снята с логотипа Gezellig Nederlands */
  --bg: #FDF5E8;            /* кремовый фон логотипа */
  --paper: #FFFAF2;
  --ink: #1D2A1F;           /* почти чёрный с зелёным оттенком */
  --ink-2: #445046;
  --muted: #857C6B;
  --line: #EDE1CE;
  --line-strong: #D8C7AC;
  --green: #1E4222;         /* «Nederlands» */
  --green-2: #2F5A2F;
  --leaf: #627559;
  --accent: #E8580C;        /* тюльпан */
  --accent-ink: #B8410F;
  --sun: #FFB130;           /* солнце */
  --accent-wash: #FBE3CC;
  --ok: #2F6B34;
  --ok-wash: #E6EFDF;
  --err: #B8321A;
  --err-wash: #F8E0D6;
  --de: #1E4222;
  --het: #D2480C;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Onest", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --r-sm: 8px;
  --r: 12px;
  --gutter: 20px;
  --tabbar-h: 60px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overscroll-behavior-y: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; padding: 0; text-align: inherit; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
b, strong { font-weight: 600; }
em { font-style: italic; font-family: var(--serif); color: var(--accent-ink); }
.ic { display: block; flex: none; }

/* ---------- Типографика ---------- */
.display, .h1, .h2 { color: var(--green); }
.display { font-family: var(--serif); font-weight: 500; font-size: 44px; line-height: 1.02; letter-spacing: -.02em; }
.h1 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.08; letter-spacing: -.015em; }
.h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.2; letter-spacing: -.01em; }
.h3 { font-size: 16px; font-weight: 600; line-height: 1.3; }
.lead { font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.body { font-size: 16px; color: var(--ink-2); }
.small { font-size: 14px; line-height: 1.45; }
.muted { color: var(--muted); }
.eyebrow { font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow--accent { color: var(--accent-ink); }
.nl { font-family: var(--serif); font-style: italic; }
.num { font-family: var(--serif); font-variant-numeric: lining-nums tabular-nums; }

/* ---------- Каркас ---------- */
.view {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px var(--gutter) calc(var(--tabbar-h) + var(--safe-b) + 40px);
  min-height: 100vh;
  animation: enter .28s cubic-bezier(.2,.7,.2,1);
}
.view.no-tabbar { padding-bottom: calc(var(--safe-b) + 32px); }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.section { margin-top: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--green); }
.section-head a, .section-head button { font-size: 14px; font-weight: 500; color: var(--accent-ink); }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }
.stack > * + * { margin-top: 12px; }

.loader { display: grid; place-items: center; height: 70vh; }
.loader__mark { width: 96px; height: 96px; animation: breathe 1.6s infinite ease-in-out; }
@keyframes breathe { 0%,100% { transform: scale(.94); opacity: .7; } 50% { transform: scale(1); opacity: 1; } }

/* ---------- Шапка ---------- */
.masthead { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.masthead__logo { width: 48px; height: 48px; object-fit: contain; flex: none; margin: -4px 0 -4px -6px; }
.wordmark { font-family: var(--serif); font-size: 19px; line-height: 1.1; white-space: nowrap; }
.wordmark__a { font-style: italic; color: var(--accent); font-weight: 500; }
.wordmark__b { color: var(--green); font-weight: 600; }
.masthead__date { font-size: 13px; color: var(--muted); }
.masthead__body { flex: 1; min-width: 0; }
.icon-link { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); margin-right: -8px; }
.icon-link:active { background: var(--line); }

.page-head { padding: 8px 0 24px; }
.page-head .eyebrow { margin-bottom: 12px; }
.page-head .lead { margin-top: 12px; }

/* ---------- Слово дня ---------- */
.wotd { position: relative; padding: 32px 0 28px; border-bottom: 1px solid var(--line); overflow: hidden; }
/* восходящее солнце из логотипа, стоит на линии раздела */
.wotd::before { content: ""; position: absolute; right: 0; bottom: 0; width: 112px; height: 56px; border-radius: 112px 112px 0 0;
  background: linear-gradient(180deg, var(--sun) 0%, #F58A1F 60%, var(--accent) 100%); opacity: .9; }
.wotd__ex { max-width: calc(100% - 124px); }
.wotd > * { position: relative; }
.wotd__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-top: 14px; }
.wotd__art { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--muted); margin-bottom: 2px; }
.wotd__tr { font-size: 17px; margin-top: 8px; color: var(--ink-2); }
.wotd__ex { margin-top: 18px; padding-left: 14px; border-left: 2px solid var(--accent); }
.wotd__ex .nl { font-size: 17px; }
.wotd__ex .small { margin-top: 2px; }

/* ---------- Прогресс дня ---------- */
.day { padding: 24px 0; border-bottom: 1px solid var(--line); }
.day__top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.day__count { font-size: 15px; color: var(--ink-2); }
.day__count .num { font-size: 22px; color: var(--ink); }
.meter { display: flex; gap: 3px; height: 6px; }
.meter i { flex: 1; background: var(--line); border-radius: 1px; }
.meter i.on { background: var(--accent); }

.figures { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.figure { padding: 18px 0 20px; }
.figure + .figure { padding-left: 16px; border-left: 1px solid var(--line); }
.figure__num { font-size: 30px; line-height: 1; }
.figure__label { font-size: 12.5px; color: var(--muted); margin-top: 6px; line-height: 1.3; }

/* ---------- Списки-строки ---------- */
.rows { border-bottom: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); width: 100%; transition: background .15s; }
.section-head + .rows .row:first-child, .rows--flush .row:first-child { border-top: 0; }
.row:active { background: linear-gradient(90deg, transparent, var(--paper) 20%, var(--paper) 80%, transparent); }
.row__idx { width: 30px; flex: none; font-size: 15px; color: var(--muted); padding-top: 1px; align-self: flex-start; }
.row__body { flex: 1; min-width: 0; }
.row__title, .row__sub { display: block; }
.row__title { font-size: 16.5px; font-weight: 500; line-height: 1.3; }
.row__sub { font-size: 14px; color: var(--muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row__sub.nl { font-size: 15px; }
.row__end { flex: none; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.row__end .num { font-size: 15px; color: var(--ink-2); }
.row .ic-chev { color: var(--line-strong); }
.done-mark { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }

.level-head { display: flex; align-items: baseline; gap: 12px; margin: 36px 0 4px; padding-bottom: 12px; border-bottom: 1px solid var(--green); }
.level-head:first-of-type { margin-top: 8px; }
.level-head__code { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--green); }
.level-head__name { font-family: var(--serif); font-style: italic; color: var(--muted); }
.level-head__count { margin-left: auto; font-size: 13px; color: var(--muted); }

.bar { height: 2px; background: var(--line); margin-top: 10px; }
.bar i { display: block; height: 100%; background: var(--accent); }

.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.tabs button { padding: 10px 0 12px; font-size: 15px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.is-active { color: var(--green); border-color: var(--green); }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 22px; border-radius: var(--r);
  background: var(--green); color: #FFF8EC; font-size: 16px; font-weight: 500; letter-spacing: .005em; transition: transform .12s, background .15s, opacity .15s; }
.btn:active { transform: scale(.985); }
.btn:disabled { opacity: .45; }
.btn--accent { background: linear-gradient(135deg, #F58A1F 0%, var(--accent) 55%, #D9470A 100%); color: #fff; }
.btn--accent:active { filter: brightness(.94); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--line:active { background: var(--paper); }
.btn--quiet { background: transparent; color: var(--accent-ink); min-height: 44px; padding: 0; }
.btn--danger { background: transparent; color: var(--err); box-shadow: inset 0 0 0 1px var(--err-wash); }
.btn--block { display: flex; width: 100%; }
.btn-row { display: flex; gap: 10px; }
.btn-row > * { flex: 1; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--accent-ink); }

.sticky-cta { position: sticky; bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); margin-top: 32px; }
.no-tabbar .sticky-cta { bottom: calc(var(--safe-b) + 12px); }

.speak { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-strong); flex: none; }
.speak:active { background: var(--paper); }
.speak--sm { width: 34px; height: 34px; }

/* ---------- Промо школы ---------- */
.promo { position: relative; margin-top: 44px; padding: 24px 0 4px; border-top: 1px solid var(--green); }
.promo__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.promo__logo { width: 40px; height: 40px; }
.promo__title { margin-bottom: 8px; padding-right: 24px; }
.promo__text { color: var(--ink-2); margin-bottom: 14px; }
.promo__close { position: absolute; top: 18px; right: -8px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); }

/* ---------- Теория ---------- */
.theory { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); }
.theory > * + * { margin-top: 18px; }
.theory b { color: var(--ink); }
.theory table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.theory th { text-align: left; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 0 12px 8px 0; border-bottom: 1px solid var(--green); }
.theory td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.theory td:first-child { font-family: var(--serif); font-style: italic; color: var(--ink); font-size: 16px; }
.table-wrap { overflow-x: auto; }
.examples { border-top: 1px solid var(--line); }
.example { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.example__body { flex: 1; }
.example__nl { font-family: var(--serif); font-style: italic; font-size: 17.5px; color: var(--ink); line-height: 1.35; }
.example__ru { font-size: 14px; color: var(--muted); margin-top: 2px; }
.note { padding: 14px 0 14px 16px; border-left: 2px solid var(--accent); }
.note .eyebrow { margin-bottom: 6px; }

/* ---------- Упражнения ---------- */
.quiz-top { display: flex; align-items: center; gap: 14px; margin-bottom: 36px; }
.quiz-close { width: 40px; height: 40px; margin-left: -10px; display: grid; place-items: center; color: var(--ink-2); flex: none; }
.steps { flex: 1; display: flex; gap: 3px; }
.steps i { flex: 1; height: 3px; background: var(--line); border-radius: 1px; }
.steps i.ok { background: var(--green); }
.steps i.bad { background: var(--err); }
.steps i.now { background: var(--accent); }
.quiz-count { font-size: 13px; color: var(--muted); flex: none; }

.q-label { margin-bottom: 14px; }
.q-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.q-text { font-family: var(--serif); font-size: 28px; line-height: 1.25; font-weight: 450; letter-spacing: -.01em; word-wrap: break-word; }
.q-text .blank { display: inline-block; min-width: 64px; height: .9em; border-bottom: 2px solid var(--accent); margin: 0 3px; vertical-align: baseline; }
.q-hint { color: var(--muted); font-size: 15px; margin-top: 10px; }

.options { margin-top: 32px; border-top: 1px solid var(--line); }
.option { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 4px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.35; transition: background .15s, color .15s; }
.option__key { width: 26px; height: 26px; flex: none; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-strong); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--muted); }
.option__text { flex: 1; }
.option:active { background: var(--paper); }
.option.is-correct { background: var(--ok-wash); color: var(--ok); }
.option.is-correct .option__key { background: var(--ok); color: #fff; box-shadow: none; }
.option.is-wrong { background: var(--err-wash); color: var(--err); }
.option.is-wrong .option__key { background: var(--err); color: #fff; box-shadow: none; }
.option.is-dim { color: var(--muted); }
.options--pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 0; }
.options--pair .option { justify-content: center; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 26px 0; font-family: var(--serif); font-style: italic; font-size: 28px; }
.options--pair .option__key { display: none; }
.options--pair .option__text { flex: none; }
.options--pair .option.is-correct { border-color: var(--ok); }
.options--pair .option.is-wrong { border-color: var(--err); }

.answer-input { width: 100%; margin-top: 32px; padding: 12px 0; border: 0; border-bottom: 2px solid var(--green); background: transparent; font-family: var(--serif); font-size: 26px; outline: none; border-radius: 0; }
.answer-input:focus { border-color: var(--accent); }
.answer-input.is-correct { border-color: var(--ok); color: var(--ok); }
.answer-input.is-wrong { border-color: var(--err); color: var(--err); }

.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--paper); border-top: 3px solid var(--ok);
  padding: 20px var(--gutter) calc(16px + var(--safe-b)); box-shadow: 0 -12px 40px rgba(30, 26, 21, .08); animation: rise .24s cubic-bezier(.2,.7,.2,1); }
.sheet--err { border-top-color: var(--err); }
.sheet__inner { max-width: 600px; margin: 0 auto; }
.sheet__title { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ok); margin-bottom: 6px; }
.sheet--err .sheet__title { color: var(--err); }
.sheet__text { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; max-height: 34vh; overflow-y: auto; margin-bottom: 16px; }
.sheet__text > * + * { margin-top: 8px; }
@keyframes rise { from { transform: translateY(100%); } to { transform: none; } }
.quiz-spacer { height: 240px; }

.result { padding-top: 32px; }
.result__score { font-family: var(--serif); font-size: 96px; line-height: .9; font-weight: 400; letter-spacing: -.03em; margin: 18px 0 14px; }
.result__score sup { font-size: 36px; vertical-align: top; margin-left: 4px; color: var(--muted); }
.mistake { padding: 14px 0; border-bottom: 1px solid var(--line); }
.mistake__q { font-family: var(--serif); font-size: 17px; }
.mistake__a { font-size: 14px; margin-top: 4px; }
.mistake__a s { color: var(--err); text-decoration-thickness: 1px; }
.mistake__a b { color: var(--ok); font-weight: 600; }

/* ---------- Карточки слов ---------- */
.flash-wrap { perspective: 1400px; margin: 0 0 20px; }
.flash { position: relative; height: 360px; transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2,.8,.2,1); cursor: pointer; }
.flash.is-flipped { transform: rotateY(180deg); }
.flash__side { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: var(--r);
  background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; padding: 22px; }
.flash__back { transform: rotateY(180deg); }
.flash__center { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 8px; }
.flash__art { font-family: var(--serif); font-style: italic; font-size: 20px; }
.flash__word { font-family: var(--serif); font-size: 44px; line-height: 1.05; font-weight: 500; letter-spacing: -.02em; word-break: break-word; }
.flash__tr { font-family: var(--serif); font-size: 32px; line-height: 1.15; }
.flash__ex { margin-top: 18px; max-width: 30ch; }
.flash__ex .nl { font-size: 17px; }
.flash__foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.art-de { color: var(--de); }
.art-het { color: var(--het); }

.word { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.word__body { flex: 1; min-width: 0; }
.word__nl { font-family: var(--serif); font-size: 18px; line-height: 1.3; }
.word__nl .art { font-style: italic; font-size: 15px; margin-right: 4px; }
.word__ru { font-size: 14px; color: var(--muted); }
.strength { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.strength i { width: 3px; background: var(--line); border-radius: 1px; }
.strength i:nth-child(1) { height: 4px; } .strength i:nth-child(2) { height: 6px; } .strength i:nth-child(3) { height: 8px; }
.strength i:nth-child(4) { height: 10px; } .strength i:nth-child(5) { height: 12px; }
.strength i.on { background: var(--green); }

/* ---------- Формы ---------- */
.field { display: block; margin-bottom: 22px; }
.field__label { display: block; font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 4px; }
.input { width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line-strong); background: transparent; outline: none; font-size: 17px; border-radius: 0; }
.input:focus { border-color: var(--green); }
.input::placeholder { color: #B7AB9B; }
textarea.input { min-height: 80px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; -webkit-appearance: none; background: transparent; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choice { min-height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 15px; }
.choice.is-active { background: var(--green); color: #FFF8EC; box-shadow: none; }
.fine { font-size: 13px; color: var(--muted); line-height: 1.45; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.panel--ink { position: relative; overflow: hidden; background: var(--green); color: #FFF8EC; border: 0; }
.panel--ink > * { position: relative; }
.panel--ink::before { content: ""; position: absolute; width: 190px; height: 190px; right: -70px; top: -80px; border-radius: 50%;
  background: linear-gradient(200deg, var(--sun), var(--accent)); opacity: .9; }
.panel--ink .h2 { color: #FFF8EC; }
.panel--ink .lead, .panel--ink .body { color: #D6DCCB; }
.panel--ink .eyebrow { color: #A9B89F; }

.feature { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.feature__idx { font-family: var(--serif); font-size: 15px; color: var(--accent-ink); width: 26px; flex: none; padding-top: 1px; }
.feature__title { font-weight: 600; }
.feature__text { color: var(--ink-2); font-size: 15px; margin-top: 2px; }

.toggle { width: 46px; height: 28px; border-radius: 999px; background: var(--line-strong); position: relative; flex: none; transition: background .2s; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.toggle.is-on { background: var(--green); }
.toggle.is-on::after { transform: translateX(18px); }

.empty { padding: 48px 0; }
.empty .h2 { margin-bottom: 8px; }
.empty .btn { margin-top: 20px; }

details.more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; margin-top: 16px; }
details.more summary { font-weight: 500; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details.more summary::-webkit-details-marker { display: none; }
details.more[open] summary .ic { transform: rotate(45deg); }

/* ---------- Нижнее меню ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: rgba(253, 245, 232, .93);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--line); padding-bottom: var(--safe-b); }
.tabbar__inner { max-width: 600px; margin: 0 auto; display: flex; }
.tabbar[hidden] { display: none; }
.tabbar a { flex: 1; height: var(--tabbar-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11px; font-weight: 500; color: var(--muted); position: relative; }
.tabbar a.is-active { color: var(--green); }
.tabbar a.is-active::before { content: ""; position: absolute; top: -1px; left: 50%; width: 20px; margin-left: -10px; height: 2px; background: var(--accent); }

.toast { position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + var(--safe-b) + 16px); transform: translateX(-50%); background: var(--ink); color: var(--bg);
  padding: 12px 18px; border-radius: var(--r); font-size: 14px; z-index: 50; width: max-content; max-width: calc(100% - 40px); text-align: center; animation: enter .2s; }
.toast[hidden] { display: none; }

@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .display { font-size: 38px; }
  .q-text { font-size: 24px; }
  .figure__num { font-size: 26px; }
}
@media (min-width: 700px) {
  .view { padding-top: 40px; }
  .display { font-size: 56px; }
}

/* ---------- Логотип ---------- */
.brand-hero { display: block; width: 210px; max-width: 64%; margin: -4px auto 8px; }
.admin-group { border-bottom: 1px solid var(--line); padding: 22px 0; }
.admin-check { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 16px; }
.admin-check input { width: 20px; height: 20px; accent-color: var(--green); }
.admin-feedback { margin: 24px 0; min-height: 24px; }
.admin-feedback--error { color: var(--accent-ink); }
.admin-detail { border-bottom: 1px solid var(--line); padding: 14px 0; }
.admin-detail summary { cursor: pointer; font-size: 16px; font-weight: 500; padding: 8px 0; }
.admin-detail[open] summary { margin-bottom: 16px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.admin-actions .btn, .admin-detail .btn { font-size: 14px; }
.admin-table { overflow-x: auto; max-width: 100%; }
.admin-table-row { display: flex; gap: 12px; }
.admin-table-row .field { flex: 0 0 160px; }
