/* ============================================================
   SEO · Minidream — design system
   Tema chiaro "carta" + verde scuro, tipografia IBM Plex, menu a sinistra
   grafite a contrasto (stessa logica di ai-visibility, palette e font diversi).
   ============================================================ */

:root {
  --bg: #f5f3ee;
  --bg-sunken: #ece9e1;
  --surface: #ffffff;
  --surface-2: #faf9f6;
  --ink: #17191c;
  --ink-2: #3d434b;
  --muted: #6b7079;
  --line: #e2ded4;
  --line-strong: #cfc9bc;
  --accent: #0b6e4f;
  --accent-ink: #ffffff;
  --accent-soft: #e3f1ea;
  --accent-hover: #095c42;
  --focus: #1f8f68;
  --danger: #b42318;
  --danger-soft: #fdecea;
  --warn: #b25e09;
  --warn-soft: #fdf1e2;
  --sev-critica: #b42318;
  --sev-alta: #d1500f;
  --sev-media: #b7870b;
  --sev-bassa: #3b6fb6;
  --sev-info: #6b7079;
  --shadow: 0 1px 2px rgba(23, 25, 28, .06), 0 4px 16px rgba(23, 25, 28, .05);
  --shadow-pop: 0 10px 40px rgba(23, 25, 28, .16);
  --radius: 10px;
  --radius-sm: 6px;
  --font: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --maxw: 1240px;
  --side-w: 264px;
  --side-bg: #1c2024;
  --side-raised: #252a2f;
  --side-hover: #262b31;
  --side-active: #2d343a;
  --side-line: #31373d;
  --side-ink: #c4c8cc;
  --side-ink-strong: #f3f2ee;
  --side-muted: #868d94;
  --side-accent: #4fd19c;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121416;
    --bg-sunken: #0c0d0f;
    --surface: #1a1d20;
    --surface-2: #1f2226;
    --ink: #ecebe6;
    --ink-2: #c8c6bf;
    --muted: #8f949b;
    --line: #2b2f34;
    --line-strong: #3a3f45;
    --accent: #3dbe8b;
    --accent-ink: #0b1712;
    --accent-soft: #15302a;
    --accent-hover: #5ad0a0;
    --focus: #5ad0a0;
    --danger: #f2705f;
    --danger-soft: #3a1c19;
    --warn: #f0a34a;
    --warn-soft: #3a2a14;
    --sev-critica: #f2705f;
    --sev-alta: #f08a4b;
    --sev-media: #e0b84a;
    --sev-bassa: #7aa7e6;
    --sev-info: #8f949b;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-pop: 0 10px 40px rgba(0, 0, 0, .55);
    --side-bg: #0f1113;
    --side-raised: #181b1e;
    --side-hover: #181b1e;
    --side-active: #1f2428;
    --side-line: #24282c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #121416;
  --bg-sunken: #0c0d0f;
  --surface: #1a1d20;
  --surface-2: #1f2226;
  --ink: #ecebe6;
  --ink-2: #c8c6bf;
  --muted: #8f949b;
  --line: #2b2f34;
  --line-strong: #3a3f45;
  --accent: #3dbe8b;
  --accent-ink: #0b1712;
  --accent-soft: #15302a;
  --accent-hover: #5ad0a0;
  --focus: #5ad0a0;
  --danger: #f2705f;
  --danger-soft: #3a1c19;
  --warn: #f0a34a;
  --warn-soft: #3a2a14;
  --sev-critica: #f2705f;
  --sev-alta: #f08a4b;
  --sev-media: #e0b84a;
  --sev-bassa: #7aa7e6;
  --sev-info: #8f949b;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-pop: 0 10px 40px rgba(0, 0, 0, .55);
  --side-bg: #0f1113;
  --side-raised: #181b1e;
  --side-hover: #181b1e;
  --side-active: #1f2428;
  --side-line: #24282c;
  color-scheme: dark;
}

/* ─── base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; margin: 0; letter-spacing: -.01em; }
h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
p { margin: 0 0 12px; }
.mono { font-family: var(--mono); font-size: .92em; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.boot { padding: 48px 16px; color: var(--muted); text-align: center; }
[hidden] { display: none !important; }

/* ─── brand ────────────────────────────────────────────────── */
.brand { display: inline-flex; align-items: baseline; gap: 2px; color: var(--ink); text-decoration: none; flex: none; }
.brand:hover { text-decoration: none; }
.brand-mark { font: 600 22px/1 var(--mono); letter-spacing: -.02em; }
.brand-caret {
  display: inline-block; width: 10px; height: 3px; background: var(--accent);
  margin-left: 1px; transform: translateY(-1px);
  animation: caret 1.1s steps(1) infinite;
}
.brand-by { font-size: 12px; color: var(--muted); margin-left: 10px; letter-spacing: .02em; }
.brand-lg .brand-mark { font-size: 44px; }
.brand-lg .brand-caret { width: 20px; height: 5px; }
@keyframes caret { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .brand-caret { animation: none; } }

/* ─── shell: barra in alto ─────────────────────────────────── */
.topbar {
  display: flex; align-items: center; gap: 20px;
  padding: 12px max(16px, calc((100vw - var(--maxw)) / 2));
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.topbar-project { padding: 0 24px; height: 60px; position: sticky; top: 0; z-index: 20; }
.topbar-brand { display: none; }
.topbar-title { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 15px; }
.topbar-area { color: var(--muted); white-space: nowrap; }
.topbar-sep { color: var(--line-strong); }
.topbar-sub { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px; padding: 0 10px; flex: none;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }

/* ─── shell: barra laterale (dentro un progetto) ───────────── */
.shell-side { display: grid; grid-template-columns: var(--side-w) minmax(0, 1fr); min-height: 100vh; }
.main-col { min-width: 0; }
.shell-side .content { max-width: 1120px; margin: 0; padding: 28px 32px 64px; }
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column;
  background: var(--side-bg); color: var(--side-ink);
  border-right: 1px solid var(--side-line);
  scrollbar-width: thin;
}
.sidebar-head { padding: 18px 20px 14px; }
.sidebar .brand { color: var(--side-ink-strong); }
.sidebar .brand-by { color: var(--side-muted); }
.project-switch { display: flex; flex-direction: column; gap: 6px; padding: 0 14px 14px; border-bottom: 1px solid var(--side-line); }
.project-switch-label { font: 500 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--side-muted); padding-left: 6px; }
.project-switch select {
  font: 500 15px var(--font); color: var(--side-ink-strong);
  background-color: var(--side-raised); border: 1px solid var(--side-line); border-radius: var(--radius-sm);
  padding: 8px 34px 8px 10px; width: 100%;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--side-muted) 50%), linear-gradient(135deg, var(--side-muted) 50%, transparent 50%);
  background-position: calc(100% - 17px) 50%, calc(100% - 12px) 50%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.project-switch select:focus { border-color: var(--side-accent); box-shadow: none; }
.sidebar-nav { flex: 1; padding: 10px 10px 20px; }
.nav-group { padding: 6px 0; }
.nav-group + .nav-group { border-top: 1px dashed var(--side-line); }
.nav-group-label {
  display: block; padding: 10px 10px 6px;
  font: 600 11px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em;
  color: var(--side-muted);
}
a.nav-group-label:hover { color: var(--side-ink-strong); text-decoration: none; }
.nav-group.current .nav-group-label { color: var(--side-accent); }
.nav-item {
  position: relative; display: flex; align-items: center; gap: 8px;
  padding: 7px 10px 7px 14px; margin: 1px 0; border-radius: var(--radius-sm);
  font-size: 15px; color: var(--side-ink);
}
.nav-item:hover { background: var(--side-hover); color: var(--side-ink-strong); text-decoration: none; }
.nav-item.active { background: var(--side-active); color: var(--side-ink-strong); font-weight: 600; }
.nav-item.active::before {
  content: ''; position: absolute; left: 3px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px;
  background: var(--side-accent);
}
.nav-item-top { font-weight: 500; }
.nav-label { flex: 1; min-width: 0; }
.nav-phase {
  flex: none; font: 500 11px/1 var(--mono); padding: 3px 5px; border-radius: 4px;
  color: var(--side-muted); border: 1px solid var(--side-line);
}
.sidebar-foot { padding: 14px 20px 18px; border-top: 1px solid var(--side-line); font-size: 14px; }
.sidebar-foot a { color: var(--side-muted); }
.sidebar-foot a:hover { color: var(--side-ink-strong); }
.sidebar-backdrop { display: none; }

.lock-pill {
  font: 500 12px/1 var(--mono); padding: 6px 10px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); white-space: nowrap;
}
.lock-pill::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 7px; background: currentColor; vertical-align: 1px; }
.lock-pill.ok { color: var(--accent); background: var(--accent-soft); border-color: transparent; }
.lock-pill.busy { color: var(--warn); background: var(--warn-soft); border-color: transparent; }

.user-menu { position: relative; }
.user-menu summary { list-style: none; cursor: pointer; }
.user-menu summary::-webkit-details-marker { display: none; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  font: 600 13px var(--mono); color: var(--accent-ink); background: var(--accent);
}
.menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30;
  min-width: 240px; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
}
.menu-head { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.menu-head span { color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.menu a, .menu button {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: var(--radius-sm);
  font: inherit; font-size: 15px; color: var(--ink); background: none; border: 0; cursor: pointer;
}
.menu a:hover, .menu button:hover { background: var(--bg-sunken); text-decoration: none; }
.danger-text { color: var(--danger) !important; }

.content { max-width: var(--maxw); margin: 0 auto; padding: 28px 16px 64px; }
.content-narrow { max-width: 880px; }

/* ─── intestazione pagina ──────────────────────────────────── */
.page-head { margin-bottom: 24px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.page-head-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.lede { color: var(--ink-2); margin-top: 8px; max-width: 70ch; }

/* ─── pannelli e "in arrivo" ───────────────────────────────── */
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; margin-bottom: 16px; box-shadow: var(--shadow);
}
.panel-danger { border-color: color-mix(in srgb, var(--danger) 35%, var(--line)); }
.soon {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; margin-bottom: 16px; border-radius: var(--radius);
  border: 1px dashed var(--line-strong); background: var(--surface-2);
}
.soon p { margin: 0; color: var(--ink-2); }
.phase-tag {
  flex: none; font: 600 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em;
  padding: 7px 9px; border-radius: var(--radius-sm); background: var(--accent-soft); color: var(--accent);
}
.empty { text-align: center; padding: 48px 16px; border: 1px dashed var(--line-strong); border-radius: var(--radius); background: var(--surface); }
.empty-title { font-size: 20px; font-weight: 600; }

/* ─── statistiche ──────────────────────────────────────────── */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.stat-label { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 500; }
.stat-value { font-size: 24px; font-weight: 600; overflow-wrap: anywhere; }
.stat-note { font-size: 14px; color: var(--muted); }
.quick-links { display: flex; gap: 10px; flex-wrap: wrap; }

/* ─── elenco progetti ──────────────────────────────────────── */
.project-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.project-list li + li { border-top: 1px solid var(--line); }
.project-row {
  display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name arrow" "host arrow" "meta arrow";
  gap: 2px 16px; padding: 16px 20px; color: var(--ink);
}
.project-row:hover { background: var(--surface-2); text-decoration: none; }
.project-name { grid-area: name; font-weight: 600; font-size: 17px; }
.project-host { grid-area: host; color: var(--accent); }
.project-meta { grid-area: meta; font-size: 14px; color: var(--muted); }
.project-arrow { grid-area: arrow; align-self: center; font-size: 20px; color: var(--muted); }

/* ─── form ─────────────────────────────────────────────────── */
.form .panel { margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field > span { font-weight: 500; font-size: 15px; }
.field small, .check small { color: var(--muted); font-size: 14px; }
input[type=text], input[type=email], input[type=password], input[type=number], input:not([type]), select, textarea {
  width: 100%; font: 400 16px var(--font); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 9px 12px;
}
textarea { resize: vertical; line-height: 1.5; }
input.mono, textarea.mono { font-family: var(--mono); font-size: 15px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 22%, transparent); }
input:disabled, select:disabled, textarea:disabled { background: var(--bg-sunken); color: var(--muted); }
.field-num input { max-width: 200px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 0 24px; }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.check > span { display: flex; flex-direction: column; gap: 2px; }
.check-boxed { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); margin-bottom: 16px; }
.form-error {
  color: var(--danger); background: var(--danger-soft);
  padding: 10px 14px; border-radius: var(--radius-sm); font-size: 15px;
}
.form-actions { display: flex; justify-content: flex-end; gap: 10px; }
.sticky-actions {
  position: sticky; bottom: 0; padding: 12px 0;
  background: linear-gradient(to top, var(--bg) 70%, transparent);
}
.advanced { margin-top: 4px; }
.advanced summary, .filter-patterns summary { cursor: pointer; color: var(--accent); font-weight: 500; font-size: 15px; }
.advanced[open] summary { margin-bottom: 14px; }
.ua-preview {
  padding: 10px 12px; border-radius: var(--radius-sm); background: var(--bg-sunken);
  color: var(--ink-2); overflow-wrap: anywhere; font-size: 14px;
}

/* filtri di esclusione */
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; margin-bottom: 18px; }
.filter { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: var(--surface-2); }
.filter.on { border-color: var(--accent); background: var(--accent-soft); }
.filter-patterns { margin-top: 8px; padding-left: 28px; }
.filter-patterns textarea { margin-top: 8px; font-size: 14px; }
.filter-actions { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.badge { font: 500 11px var(--mono); padding: 2px 6px; border-radius: 4px; background: var(--warn-soft); color: var(--warn); }
.regex-grid { margin-top: 4px; }

/* ─── pulsanti ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px var(--font); padding: 9px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { background: var(--bg-sunken); text-decoration: none; }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }
.btn-danger:hover { filter: brightness(.92); background: var(--danger); }
.btn-block { width: 100%; }
.btn-small { padding: 5px 10px; font-size: 14px; }

/* ─── tabelle ──────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th {
  text-align: left; font-size: 13px; font-weight: 600; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em;
  padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--surface-2); white-space: nowrap;
}
.table td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table-empty { text-align: center; color: var(--muted); padding: 28px 14px !important; }

/* ─── lock ─────────────────────────────────────────────────── */
.lock-detail p { margin: 0 0 8px; }
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.dot-ok { background: var(--accent); }
.dot-busy { background: var(--warn); }
.dot-muted { background: var(--line-strong); }
.waiters { margin: 8px 0 0; padding-left: 22px; color: var(--ink-2); }

/* ─── fatti (dl) ───────────────────────────────────────────── */
.facts { margin: 0; display: grid; gap: 12px; }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }

/* ─── login ────────────────────────────────────────────────── */
.login-wrap {
  min-height: 100vh; display: grid; place-items: center; padding: 24px 16px;
  /* righe da quaderno tecnico */
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, color-mix(in srgb, var(--line) 70%, transparent) 31px 32px),
    var(--bg);
}
.login-card {
  width: 100%; max-width: 400px; padding: 32px 28px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-pop);
}
.login-sub { color: var(--muted); margin: 8px 0 24px; }

/* ─── dialog ───────────────────────────────────────────────── */
.dialog {
  width: min(560px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--line); border-radius: 14px;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-pop);
}
.dialog::backdrop { background: rgba(10, 12, 14, .45); }
.dialog form { padding: 24px; }
.dialog h2 { font-size: 22px; margin-bottom: 18px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }

/* ─── toast ────────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px);
  padding: 11px 18px; border-radius: var(--radius-sm); background: var(--ink); color: var(--bg);
  font-size: 15px; box-shadow: var(--shadow-pop); opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s; z-index: 100; max-width: calc(100vw - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: var(--danger); color: #fff; }

/* ─── telefono ─────────────────────────────────────────────── */
/* tablet e telefono: la barra laterale diventa un pannello a scomparsa */
@media (max-width: 960px) {
  .shell-side { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 50;
    width: min(300px, 86vw); height: auto;
    transform: translateX(-100%); transition: transform .2s ease, visibility .2s; visibility: hidden;
  }
  .nav-open .sidebar { transform: none; visibility: visible; box-shadow: var(--shadow-pop); }
  .nav-open .sidebar-backdrop { display: block; position: fixed; inset: 0; z-index: 40; background: rgba(10, 12, 14, .5); }
  .nav-toggle { display: inline-flex; }
  .topbar-project { padding: 0 16px; gap: 12px; }
  .topbar-brand { display: inline-flex; }
  .topbar-brand .brand-by { display: none; }
  .topbar-title { display: none; }
  .shell-side .content { padding: 24px 20px 56px; }
}
@media (prefers-reduced-motion: reduce) { .sidebar { transition: none; } }

@media (max-width: 720px) {
  h1 { font-size: 24px; }
  .topbar { gap: 10px 12px; }
  .brand-by { display: none; }
  .lock-pill { font-size: 11px; padding: 5px 8px; }
  .content, .shell-side .content { padding: 20px 16px 56px; }
  .panel { padding: 16px; }
  .soon { flex-direction: column; gap: 10px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .page-head-row .btn { width: 100%; }
  .filters { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
