/* Тема «Мастерская ИВС» (29.09). Подключает узел, когда OSTROV_BRAND_THEME=ivs.
   Правила IVS: фон #000000, карточки #1E2028, один шрифт Montserrat, один
   точечный акцент — зелёный знака IVS. Акцент живёт на кнопке отправки, метках
   и активной строке; пузыри и плашки остаются тёмными. Страница поверх темы
   не меняется: всё держится на переменных и нескольких узких правилах. */

@font-face{
  font-family:'Montserrat';
  src:url('/бренд/montserrat.woff2') format('woff2');
  font-weight:100 900; font-style:normal; font-display:swap;
}

html[data-brand="ivs"]{
  --bg:#000000; --panel:#0b0c0f; --raised:#1E2028; --raised2:#17191f;
  --line:rgba(255,255,255,.07); --line2:rgba(255,255,255,.12);
  --sea:#74A72E; --sea-hi:#86bd38; --sea-lo:#a8d06a;
  --ocean:#a8d06a;
  --agent:#74A72E; --agent-hi:#86bd38; --agent-lo:#a8d06a; --agent-dk:#5f8a25;
  --text:#f4f5f7; --text2:#a3a7b0; --text3:#6c717b;
  --fill:rgba(255,255,255,.05); --fill-hi:rgba(255,255,255,.09); --sunk:#0c0d11;
  background:#000;
}

/* Один шрифт на всё; код и таблицы путей — моноширинным, иначе колонки плывут. */
html[data-brand="ivs"] *{font-family:'Montserrat', system-ui, -apple-system, sans-serif !important}
html[data-brand="ivs"] code, html[data-brand="ivs"] pre:not(.plaintext),
html[data-brand="ivs"] pre code, html[data-brand="ivs"] kbd, html[data-brand="ivs"] samp,
html[data-brand="ivs"] .viewer .vbody pre.plain, html[data-brand="ivs"] .viewer .vbody textarea{
  font-family:ui-monospace, 'SF Mono', Menlo, monospace !important}

html[data-brand="ivs"] body{background:#000 !important}
html[data-brand="ivs"] .side{background:#07080a; border-right-color:rgba(255,255,255,.06)}
html[data-brand="ivs"] .viewer{background:#000}
html[data-brand="ivs"] .viewer .vhead, html[data-brand="ivs"] .viewer .vbar{background:rgba(0,0,0,.72)}

/* Заголовки — плотный трекинг IVS, подписи — капс с разрядкой. */
html[data-brand="ivs"] .greet .big{font-weight:600; letter-spacing:-.02em}
html[data-brand="ivs"] .title{font-weight:600; letter-spacing:-.01em}
html[data-brand="ivs"] .sect{text-transform:uppercase; letter-spacing:.14em; font-size:10.5px; font-weight:600}

/* Свой пузырь — карточка IVS, а не заливка акцентом: акцент только точечно. */
html[data-brand="ivs"] .me .bubble{background:#1E2028; color:var(--text); font-weight:400}
html[data-brand="ivs"] .me .bubble pre{background:#101116}

/* Поле ввода — тёмная карточка, фокус — тихий ореол акцента. */
html[data-brand="ivs"] .composer .box{background:rgba(255,255,255,.07)}
html[data-brand="ivs"] .composer .box:focus-within{background:rgba(255,255,255,.10)}
html[data-brand="ivs"] .send svg{stroke:#0b0d05}

/* Владелец внизу панели — нейтральный круг вместо песочного. */
html[data-brand="ivs"] .foot .u{background:#1E2028; color:#fff}

/* ── Экран входа ─────────────────────────────────────────────── */
html[data-brand="ivs"] .login{background:#000}
html[data-brand="ivs"] .login .halo, html[data-brand="ivs"] .login .rings{display:none}
html[data-brand="ivs"] .login .lhead{gap:14px}
html[data-brand="ivs"] .login .lhead::before{
  content:''; display:block; width:150px; height:70px; margin-bottom:10px;
  background:url('/бренд/ivs-logo.png') center/contain no-repeat}
html[data-brand="ivs"] .login .lname{font-weight:700; font-size:30px; letter-spacing:-.025em; line-height:1}
html[data-brand="ivs"] .login .ltag{letter-spacing:.2em; font-size:10.5px; font-weight:500}
html[data-brand="ivs"] .login label{letter-spacing:.14em; font-weight:600; font-size:10.5px}
html[data-brand="ivs"] .login input{background:#1E2028; border-radius:6px}
html[data-brand="ivs"] .login input:focus{box-shadow:0 0 0 2px rgba(116,167,46,.55), 0 0 24px rgba(116,167,46,.14)}
html[data-brand="ivs"] .login button{border-radius:6px; color:#0b0d05; font-weight:700; letter-spacing:.02em}
html[data-brand="ivs"] .login .lfoot{text-transform:uppercase; letter-spacing:.2em; font-size:10px}

/* ── Поверхности: всё бирюзовое Острова — в чёрный и карточки IVS ───────── */
html[data-brand="ivs"] .apick, html[data-brand="ivs"] .files{background:#07080a !important}
html[data-brand="ivs"] .apickscrim, html[data-brand="ivs"] .scrim,
html[data-brand="ivs"] .mscrim, html[data-brand="ivs"] .счслой{background:rgba(0,0,0,.62)}
html[data-brand="ivs"] .lightbox{background:rgba(0,0,0,.92)}
html[data-brand="ivs"] .modal, html[data-brand="ivs"] .счокно{background:#15171d}
html[data-brand="ivs"] .ctxmenu{background:#1E2028}
html[data-brand="ivs"] header, html[data-brand="ivs"] .fhead{background:rgba(0,0,0,.72)}
html[data-brand="ivs"] .apwhat{background:#111318}
html[data-brand="ivs"] .ai .bubble pre, html[data-brand="ivs"] .vbody.md pre{background:#101116}
html[data-brand="ivs"] .attachbar .ath .rm:hover{background:#2a2d36}
html[data-brand="ivs"] .ava, html[data-brand="ivs"] .wava{
  background:linear-gradient(150deg, color-mix(in srgb, var(--agent) 24%, #111216),
                                     color-mix(in srgb, var(--agent) 12%, #0b0c0f))}
