/* ─────────────────────────────────────────────────────────────
   T.S.O.D — сайт. Та же палитра, что в лаунчере:
   туман, сталь и кость, кровавый акцент; навигация — ржавая стальная плита.
   ───────────────────────────────────────────────────────────── */

:root {
  --bg: #0a0b0a;
  --bg-2: #101210;
  --ink: #ebe7dc;
  --ink-2: #bdb8ab;
  --muted: #8a867a;
  --faint: #56544c;
  --line: rgba(235, 231, 220, 0.09);
  --line-2: rgba(235, 231, 220, 0.17);
  --tick: rgba(235, 231, 220, 0.34);
  --panel: linear-gradient(180deg, rgba(18, 20, 18, 0.9), rgba(10, 11, 10, 0.92));
  --accent: #b3241b;
  --accent-hi: #e2493b;
  --accent-ink: #f1a095;
  --accent-soft: rgba(179, 36, 27, 0.16);
  --rust: #7a4a2a;
  --rust-hi: #b0703e;
  --ok: #82b862;
  --warn: #d8b24a;
  --bad: #e2493b;
  --radius: 3px;
  --display: 'Oswald', 'Bahnschrift', 'Arial Narrow', sans-serif;
  --ui: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ticks:
    linear-gradient(var(--tick), var(--tick)) left top / 9px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) left top / 1px 9px no-repeat,
    linear-gradient(var(--tick), var(--tick)) right top / 9px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) right top / 1px 9px no-repeat,
    linear-gradient(var(--tick), var(--tick)) left bottom / 9px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) left bottom / 1px 9px no-repeat,
    linear-gradient(var(--tick), var(--tick)) right bottom / 9px 1px no-repeat,
    linear-gradient(var(--tick), var(--tick)) right bottom / 1px 9px no-repeat;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--ui);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; }
code, pre, .mono { font-family: 'Cascadia Mono', Consolas, 'Courier New', monospace; font-size: .92em; }
code { padding: 1px 5px; border-radius: 2px; background: rgba(235, 231, 220, 0.07); color: var(--ink-2); }
pre.code { margin: 8px 0 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(0, 0, 0, 0.45); color: #c9c5b8; white-space: pre-wrap; word-break: break-all; user-select: all; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--accent); color: #fff; padding: 8px 12px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.is-bad { color: var(--bad); }
.wrap { width: min(1160px, 100% - 40px); margin: 0 auto; }
.narrow { max-width: 680px; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 2px; }

/* ═════════ Потёртая краска на заголовках (маску рисует shared/js/fx.js) ═════════ */
.worn {
  -webkit-mask-image: var(--wear, none);
  -webkit-mask-size: 300px 150px;
  mask-image: var(--wear, none);
  mask-size: 300px 150px;
}

/* ═════════ Зерно поверх всего ═════════ */
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 90; background-size: 160px 160px; opacity: .9; }

/* ═════════ Шапка: стальная плита с заклёпками ═════════ */
.topbar { position: sticky; top: 0; z-index: 50; padding: 14px 0 0; }
.has-hero .topbar { position: absolute; left: 0; right: 0; }
.plate {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  width: min(1160px, 100% - 40px);
  margin: 0 auto;
  min-height: 60px;
  padding: 0 14px 0 10px;
  border: 1px solid #090a09;
  border-radius: 4px;
  background:
    radial-gradient(circle at 10px 10px, #1a1b19 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 10px) 10px, #1a1b19 2.5px, transparent 3px),
    radial-gradient(circle at 10px calc(100% - 10px), #1a1b19 2.5px, transparent 3px),
    radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), #1a1b19 2.5px, transparent 3px),
    linear-gradient(90deg, rgba(122, 74, 42, 0.22), transparent 18%, transparent 82%, rgba(122, 74, 42, 0.22)),
    linear-gradient(180deg, #3b3f3a 0%, #2b2e2a 45%, #1f221f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -2px 0 rgba(0, 0, 0, 0.5),
    0 18px 40px -16px rgba(0, 0, 0, 0.9);
}
.plate::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 4px;
  background: var(--grunge, none) 0 0 / 300px 150px;
  opacity: .9;
  pointer-events: none;
}
.plate-emblem { display: grid; place-items: center; width: 50px; height: 50px; margin-right: 6px; }
.plate-emblem img { width: 38px; height: 38px; image-rendering: pixelated; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.7)); }
.plate-nav { display: flex; align-items: stretch; flex: 1; min-height: 60px; }
.plate-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 18px;
  color: #cfcbbf;
  font: 500 15px/1 var(--display);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.7);
  border-left: 1px solid rgba(0, 0, 0, 0.45);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.05);
  transition: color .2s, background-color .2s;
}
.plate-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.04); text-decoration: none; }
.plate-nav a.is-active { color: var(--accent-hi); }
.plate-nav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 10px; height: 2px; background: var(--accent); box-shadow: 0 0 10px rgba(226, 73, 59, 0.6); }
.plate-nav a.is-admin { color: var(--warn); }
.plate-user { display: flex; align-items: center; gap: 10px; margin-left: auto; padding-left: 12px; border-left: 1px solid rgba(0, 0, 0, 0.45); min-height: 40px; }
.user-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font: 500 14px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.plate-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.plate-toggle span { display: block; width: 22px; height: 2px; margin: 5px auto; background: var(--ink); }
.avatar { width: 28px; height: 28px; border-radius: 2px; image-rendering: pixelated; background: #1c201d; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08); }
.avatar.big { width: 72px; height: 72px; }

/* ═════════ Герой: живая сцена из лаунчера ═════════ */
.hero { position: relative; height: min(88vh, 760px); min-height: 520px; overflow: hidden; background: linear-gradient(180deg, #0e1314 0%, #303a38 50%, #58625c 62%, #121715 100%); }
.hero .world { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(6, 7, 6, 0.75) 0%, rgba(6, 7, 6, 0.1) 25%, rgba(6, 7, 6, 0) 60%, rgba(10, 11, 10, 0.92) 100%),
  linear-gradient(90deg, rgba(6, 7, 6, 0.72) 0%, rgba(6, 7, 6, 0.25) 45%, rgba(6, 7, 6, 0) 70%); }
.main-hero { position: relative; }
.hero-content { position: relative; margin-top: calc(-1 * min(88vh, 760px) + 120px); min-height: calc(min(88vh, 760px) - 120px); display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 48px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font: 500 12px/1 var(--display); letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); }
.kicker .dot { width: 6px; height: 6px; background: var(--accent); }
.hero-title {
  margin: 0;
  font: 700 clamp(44px, 7vw, 96px)/0.95 var(--display);
  letter-spacing: .02em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f5f1e7 0%, #ddd7c9 55%, #aba596 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.7));
  max-width: 900px;
}
.hero-tagline { margin: 16px 0 0; max-width: 560px; font-size: 18px; color: var(--ink-2); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

/* ═════════ Кнопки ═════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: rgba(235, 231, 220, 0.06); color: var(--ink);
  font: 500 14px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  cursor: pointer; transition: background-color .2s, border-color .2s, filter .2s;
}
.btn:hover { background: rgba(235, 231, 220, 0.1); border-color: rgba(235, 231, 220, 0.3); text-decoration: none; }
.btn-small { height: 34px; padding: 0 12px; font-size: 12.5px; }
.btn-big { height: 54px; padding: 0 26px; font-size: 17px; letter-spacing: .18em; }
.btn-ghost { background: transparent; }
.btn-primary {
  position: relative; overflow: hidden;
  border-color: rgba(0, 0, 0, 0.55);
  background: linear-gradient(180deg, #c92c21 0%, #a81f17 50%, #84160f 100%); color: #fbf1ea;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 30px -12px rgba(179, 36, 27, 0.85);
}
.btn-primary::after { content: ""; position: absolute; inset: 0; background: var(--grunge, none) 0 0 / 300px 150px; pointer-events: none; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-danger { border-color: rgba(226, 73, 59, 0.5); color: #f6c9c2; }
.link-danger { padding: 0; border: 0; background: none; color: var(--bad); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

/* ═════════ Панели, статы ═════════ */
.panel { padding: 20px 22px 22px; margin: 0 0 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ticks), var(--panel); background-origin: border-box; }
.panel-title { margin: 0 0 12px; font: 600 14px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; }
.panel-title::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; background: var(--accent); vertical-align: 2px; }
.stat { display: flex; flex-direction: column; gap: 4px; min-width: 190px; padding: 12px 16px 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ticks), var(--panel); background-origin: border-box; }
.stat-label { font: 500 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.stat-value { display: inline-flex; align-items: center; gap: 8px; font: 500 22px/1.05 var(--display); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.stat-value i { width: 7px; height: 7px; background: var(--faint); }
.stat[data-kind="online"] .stat-value i { background: var(--ok); box-shadow: 0 0 8px rgba(130, 184, 98, 0.75); }
.stat[data-kind="starting"] .stat-value i { background: var(--warn); }
.stat[data-kind="offline"] .stat-value i { background: var(--bad); }
.stat-sub { font-size: 12px; color: var(--muted); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 0 0 18px; }
.tile { display: flex; flex-direction: column; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ticks), var(--panel); background-origin: border-box; color: var(--ink); }
.tile:hover { text-decoration: none; border-color: var(--line-2); }
.tile b { font: 600 30px/1 var(--display); }
.tile span { margin-top: 4px; font: 500 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.tile small { margin-top: 8px; color: var(--ink-2); font-size: 12px; }

/* ═════════ Разделы, типографика ═════════ */
.main { padding-top: 28px; }
.section { padding: 40px 0 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-title { margin: 0 0 14px; font: 600 26px/1.1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.section-title::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 12px; background: var(--accent); vertical-align: 3px; }
.page-title { margin: 8px 0 10px; font: 600 clamp(32px, 4.6vw, 48px)/1.05 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.lead { margin: 0 0 24px; max-width: 720px; color: var(--ink-2); font-size: 17px; }
.link-more { font: 500 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.columns { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
.about { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 32px; align-items: start; padding-bottom: 48px; }
.prose { color: var(--ink-2); line-height: 1.65; }
.prose h2, .prose h3 { margin: 26px 0 10px; color: var(--ink); font: 600 20px/1.2 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 14px; }
.prose li { margin: 4px 0; }
.prose strong { color: var(--ink); }
.prose img { border-radius: var(--radius); }
.prose.small { font-size: 14px; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin: 6px 0; }
.steps ol { margin: 0 0 12px; padding-left: 20px; color: var(--ink-2); }
.steps li { margin: 8px 0; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 0; font-size: 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.alert { padding: 12px 14px; margin: 0 0 16px; border-left: 3px solid var(--ink-2); background: rgba(235, 231, 220, 0.05); font-size: 14px; }
.alert-ok { border-left-color: var(--ok); }
.alert-error { border-left-color: var(--bad); color: #f6c9c2; }
.subnav { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 22px; padding: 4px; border: 1px solid var(--line); background: rgba(4, 5, 4, 0.5); }
.subnav a { padding: 8px 14px; color: var(--muted); font: 500 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.subnav a:hover { color: var(--ink); text-decoration: none; }
.subnav a.is-active { background: var(--accent-soft); color: var(--accent-ink); box-shadow: inset 0 0 0 1px rgba(179, 36, 27, 0.5); }

/* ═════════ Новости ═════════ */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.news-list { display: grid; gap: 14px; }
.news-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); color: var(--ink); overflow: hidden; transition: border-color .2s, transform .2s var(--ease); }
.news-card:hover { border-color: var(--line-2); transform: translateY(-2px); text-decoration: none; }
.news-card.wide { display: grid; grid-template-columns: 1fr; }
.news-card.wide:has(.news-image) { grid-template-columns: 260px 1fr; }
.news-image { display: block; width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.news-card.wide .news-image { height: 100%; aspect-ratio: auto; }
.news-body { padding: 16px 18px 18px; }
.news-meta { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 12.5px; color: var(--muted); }
.tag { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border: 1px solid rgba(179, 36, 27, 0.38); background: var(--accent-soft); color: var(--accent-ink); font: 500 10.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.news-title { margin: 0; font: 500 20px/1.25 var(--display); letter-spacing: .02em; }
.news-text { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }
.article { padding-bottom: 40px; }
.article-image { display: block; margin: 0 0 22px; border-radius: var(--radius); }
.article-back { margin-top: 30px; }
.pager { display: flex; gap: 6px; margin: 22px 0; }
.pager a { display: grid; place-items: center; min-width: 36px; height: 36px; border: 1px solid var(--line); color: var(--ink-2); }
.pager a.is-active { border-color: var(--accent); color: var(--accent-ink); }

/* ═════════ Галерея ═════════ */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; padding-bottom: 40px; }
.shot { margin: 0; border: 1px solid var(--line); background: var(--panel); }
.shot img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.shot figcaption { padding: 8px 12px; font-size: 13px; color: var(--ink-2); }

/* ═════════ Формы ═════════ */
.form { display: flex; flex-direction: column; gap: 14px; max-width: 520px; }
.form.wide { max-width: none; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-2); }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .form select, .form textarea, .form-inline input {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: var(--radius);
  background: rgba(4, 5, 4, 0.5); color: var(--ink); font: inherit;
}
.form textarea { resize: vertical; line-height: 1.5; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: rgba(226, 73, 59, 0.7); box-shadow: 0 0 0 3px rgba(179, 36, 27, 0.18); }
.form select option { background: #121412; }
.check { flex-direction: row !important; align-items: center; gap: 10px !important; cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; accent-color: var(--accent); }
.form-actions { display: flex; gap: 10px; }
.form-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 16px; }
.form-inline input { width: auto; min-width: 240px; }
.inline { display: inline; }
.thumb { max-height: 90px; border-radius: var(--radius); margin-bottom: 6px; display: block; }
.download-box { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 28px; }

/* ═════════ Таблицы ═════════ */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.table th { font: 500 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.table tr.is-muted td { color: var(--muted); }
.row-actions { white-space: nowrap; }
.row-actions > * { margin-right: 10px; }

.upload-progress { display: flex; flex-direction: column; gap: 6px; }
.upload-progress progress { width: 100%; height: 8px; accent-color: var(--accent); }

/* ═════════ Консоль сервера ═════════ */
.console { display: flex; flex-direction: column; gap: 8px; max-height: 520px; overflow-y: auto; }
.console-line { padding: 8px 10px; border-left: 2px solid var(--ok); background: rgba(0, 0, 0, 0.35); font-size: 13px; }
.console-line.is-bad { border-left-color: var(--bad); }
.console-meta { display: block; margin-bottom: 2px; color: var(--muted); font-size: 11.5px; }
.console-line code { color: var(--accent-ink); background: none; padding: 0; }
.console-line pre { margin: 4px 0 0; white-space: pre-wrap; word-break: break-word; color: var(--ink-2); font-size: 12.5px; }

/* ═════════ Профиль ═════════ */
.profile-head { display: flex; align-items: center; gap: 18px; margin: 8px 0 18px; }
.profile-head .page-title { margin: 0; }
.profile-logout { margin-left: auto; }
.server-access li { display: flex; align-items: center; gap: 10px; }
.server-access i { width: 7px; height: 7px; background: var(--faint); flex: none; }
.server-access .is-ok i { background: var(--ok); }
.server-access .is-locked i { background: var(--warn); }
.links li a { font: 500 15px/1.3 var(--display); letter-spacing: .06em; }

/* ═════════ Подвал ═════════ */
.footer { margin-top: 48px; padding: 28px 0 34px; border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 30px; align-items: start; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.footer-brand img { width: 24px; height: 24px; image-rendering: pixelated; }
.footer-links { display: flex; gap: 18px; }
.footer-links a { color: var(--ink-2); font: 500 13px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.footer .small { grid-column: 1 / -1; margin: 0; }

/* ═════════ Адаптив ═════════ */
@media (max-width: 900px) {
  .plate { flex-wrap: wrap; padding-bottom: 0; }
  .plate-toggle { display: block; }
  .plate-nav { display: none; flex-direction: column; flex-basis: 100%; }
  .plate.is-open .plate-nav { display: flex; }
  .plate-nav a { padding: 14px 10px; border-left: 0; border-top: 1px solid rgba(0, 0, 0, 0.45); }
  .plate-user { margin-left: 0; padding-left: 0; border-left: 0; order: -1; flex: 1; justify-content: flex-end; }
  .columns, .about { grid-template-columns: 1fr; }
  .news-card.wide:has(.news-image) { grid-template-columns: 1fr; }
  .hero-content { padding-bottom: 32px; }
  .footer-in { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .wrap { width: min(1160px, 100% - 24px); }
  .plate { width: min(1160px, 100% - 24px); }
  .hero { min-height: 460px; }
  .stat { min-width: 0; flex: 1 1 140px; }
  .btn-big { height: 48px; padding: 0 18px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .news-card, .btn { transition: none; }
}

/* Лицензия Minecraft в профиле и блок приложения Microsoft в настройках админки */
.actions-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 8px; }
.actions-row form { margin: 0; }
.error-text { color: var(--accent-ink); }
.panel-sub { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 10px 14px 14px; margin: 6px 0 14px; }
.panel-sub legend { padding: 0 6px; color: var(--ink); }
