/* Dark theme is the default; the light theme is opt-in via the toggle (html[data-theme="light"]) */
:root {
  --bg: #0d1017;
  --bg-soft: #151a24;
  --surface: #141923;
  --border: #252c3a;
  --text: #e8ebf2;
  --muted: #8b95a8;
  --accent: #818cf8;
  --accent-soft: #1e2140;
  --accent-text: #0d1017;
  --ok: #34d399;
  --ok-soft: #0f2a22;
  --warn: #fbbf24;
  --warn-soft: #2b2310;
  --bad: #f87171;
  --bad-soft: #2d1416;
  --idle: #9aa3b5;
  --idle-soft: #1c2230;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3);
  --radius: 14px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f5f6fa;
  --bg-soft: #eef0f6;
  --surface: #ffffff;
  --border: #e3e6ee;
  --text: #111827;
  --muted: #6b7280;
  --accent: #4f46e5;
  --accent-soft: #eef2ff;
  --accent-text: #ffffff;
  --ok: #059669;
  --ok-soft: #ecfdf5;
  --warn: #b45309;
  --warn-soft: #fffbeb;
  --bad: #dc2626;
  --bad-soft: #fef2f2;
  --idle: #6b7280;
  --idle-soft: #f3f4f6;
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 4px 16px rgba(17, 24, 39, .05);
  color-scheme: light;
}
.theme-icon-light { display: none; }
:root[data-theme="light"] .theme-icon-light { display: block; }
:root[data-theme="light"] .theme-icon-dark { display: none; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.5 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1 { font-size: 28px; letter-spacing: -.02em; margin: 0 0 8px; }
h2 { font-size: 15px; margin: 0; font-weight: 600; }
h3 { font-size: 17px; margin: 0 0 14px; }
p { margin: 0; }
code, .mono { font-family: "Cascadia Code", Consolas, ui-monospace, monospace; font-size: 12.5px; }
a { color: var(--accent); }
svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- app layout: sidebar + content ---------- */
.app { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
body.signed-in .app { grid-template-columns: 248px minmax(0, 1fr); }
.content-col { display: flex; flex-direction: column; min-width: 0; min-height: 100vh; }
main { width: 100%; max-width: 1360px; margin: 0 auto; padding: 26px 30px 48px; flex: 1; }

.side {
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 2px; padding: 16px 12px 12px;
  background: var(--bg-soft); border-right: 1px solid var(--border);
}
.side[hidden] { display: none; }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.side .brand { padding: 2px 8px 16px; }
.side .brand > span:last-child { display: grid; }
.brand-title { font-weight: 650; font-size: 15px; }
.brand-sub { color: var(--muted); font-size: 11.5px; }
.logo {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, #6366f1, #8b5cf6); color: #fff;
}
.logo svg { width: 17px; height: 17px; fill: #fff; stroke: none; }
img.logo { display: block; background: none; }
.brand-accent { color: var(--accent); }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav-group { font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 10px 4px; }
.nav-empty { color: var(--muted); font-size: 12.5px; padding: 4px 10px; }
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 9px;
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: 13.5px;
}
.nav-item:hover { color: var(--text); background: color-mix(in srgb, var(--accent-soft) 50%, transparent); }
.nav-item.active { color: var(--text); background: var(--accent-soft); }
.nav-item.active svg { color: var(--accent); }
.nav-item.sub { padding-left: 14px; }
.nav-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-item .count {
  font-size: 11px; padding: 0 7px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--muted);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--idle); flex: none; }
.dot.ok { background: var(--ok); } .dot.warn { background: var(--warn); } .dot.bad { background: var(--bad); }
.side-bottom { margin-top: auto; display: grid; gap: 6px; padding-top: 14px; }
.side-tools { display: flex; align-items: center; gap: 6px; padding: 0 4px; }
.refresh-info { color: var(--muted); font-size: 12px; flex: 1; }
.user-box { display: flex; align-items: center; gap: 10px; padding: 10px 6px 2px; border-top: 1px solid var(--border); }
.user-text { display: grid; min-width: 0; flex: 1; }
.user-name { font-weight: 650; font-size: 13px; }
.user { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: none;
  background: var(--accent-soft); color: var(--accent); font-weight: 650; font-size: 12px;
}

.public-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 30px; border-bottom: 1px solid var(--border); }
.public-bar[hidden] { display: none; }

.footer {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 16px 30px; border-top: 1px solid var(--border); color: var(--muted); font-size: 12.5px;
}
.footer a { color: var(--muted); }
.footer a:hover { color: var(--accent); }

/* ---------- landing page (before sign-in) ---------- */
.landing { display: grid; grid-template-columns: minmax(300px, 440px) minmax(0, 1fr); gap: 48px; align-items: center; padding: 40px 0; }
.landing[hidden] { display: none; }
.landing h1 { font-size: 34px; line-height: 1.15; margin-bottom: 14px; }
.landing-text > p { color: var(--muted); font-size: 15px; }
.landing .features { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 9px; }
.landing .features li::before { content: "✓"; color: var(--ok); font-weight: 800; margin-right: 10px; }
.landing .note { color: var(--muted); font-size: 12.5px; margin-top: 12px; }
.landing-shot { margin: 0; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; background: var(--bg-soft);
                box-shadow: 0 30px 80px rgba(0, 0, 0, .35); position: relative; }
.landing-shot img { display: block; width: 100%; height: auto; }
.landing-shot figcaption { position: absolute; right: 10px; bottom: 8px; font-size: 11px; color: var(--muted);
                           background: var(--bg-soft); padding: 1px 8px; border-radius: 99px; border: 1px solid var(--border); }
/* Two screenshots: the host pool page and, overlapping its lower right corner, the replace dialog */
.landing-shots { position: relative; padding-bottom: 30%; }
.landing-shots > .landing-shot:first-child { width: 88%; }
.landing-shot.second { position: absolute; right: 0; bottom: 0; width: 44%; box-shadow: 0 24px 60px rgba(0, 0, 0, .55); }
@media (max-width: 1000px) {
  .landing { grid-template-columns: 1fr; }
  .landing-shots { padding-bottom: 0; display: grid; gap: 16px; }
  .landing-shot.second { position: static; width: 100%; max-width: 560px; }
}
@media (max-width: 800px) {
  /* Phones: the sidebar becomes a compact sticky header with a horizontally scrolling navigation */
  body.signed-in .app { grid-template-columns: 1fr; }
  .side { position: sticky; top: 0; z-index: 20; height: auto; overflow: visible; padding: 8px 10px; gap: 6px;
          display: grid; grid-template-columns: 1fr auto; align-items: center; border-right: 0; border-bottom: 1px solid var(--border); }
  .side .brand { padding: 0 4px; }
  .brand-sub, .nav-group, .nav-empty, .refresh-info, .user-text, .side-bottom > a.nav-item { display: none; }
  .nav { grid-column: 1 / -1; grid-row: 2; flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .nav::-webkit-scrollbar { display: none; }
  .nav-item { flex: none; padding: 6px 10px; }
  .nav-item.sub { padding-left: 10px; }
  .nav-label { overflow: visible; }
  .side-bottom { grid-column: 2; grid-row: 1; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
  .user-box { border: 0; padding: 0; }
  main { padding: 18px 14px 40px; }
  .page-head .inline.wrap { justify-content: flex-start; }
  .footer { padding: 14px; }
}

.hero { text-align: center; padding: 96px 16px; max-width: 520px; margin: 0 auto; }
.hero p { color: var(--muted); margin-bottom: 28px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.page-head h1 { font-size: 24px; margin: 0; }
.page-head .sub { color: var(--muted); margin-top: 4px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.chips.tight { margin-top: 0; }
.grid { display: grid; gap: 16px; }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); }

/* ---------- host pool summary tiles ---------- */
.stats { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; margin-bottom: 18px; }
@media (max-width: 1100px) { .stats { grid-template-columns: 1fr; } }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
        padding: 14px 18px; display: grid; gap: 8px; align-content: start; }
.stat .label { color: var(--muted); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }
.stat .value { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.stat .value.text { font-size: 17px; letter-spacing: 0; overflow-wrap: anywhere; }
.stat .value small { font-size: 13px; color: var(--muted); font-weight: 600; }
.bar { display: flex; height: 8px; border-radius: 99px; overflow: hidden; background: var(--idle-soft); margin-bottom: 8px; }
.bar span { display: block; height: 100%; }
.legend { display: flex; gap: 6px 16px; flex-wrap: wrap; color: var(--muted); font-size: 12.5px; }
.legend b { color: var(--text); }

/* ---------- bulk bar, check column, host menu ---------- */
.bulk { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 8px 18px; background: var(--accent-soft); border-bottom: 1px solid var(--border); font-size: 13px; }
.bulk .spacer { flex: 1; }
th.check, td.check { width: 40px; padding-right: 0; }
input[type=checkbox] { accent-color: var(--accent); width: 15px; height: 15px; }
tr.selected td { background: color-mix(in srgb, var(--accent-soft) 45%, transparent); }
.btn.icon { padding: 3px 7px; }
.btn.icon svg { stroke-width: 3.4; width: 18px; }
th.actions { text-align: right; }
td.nowrap { white-space: nowrap; }
.menu {
  position: fixed; z-index: 50; min-width: 220px; padding: 6px; display: grid;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 12px; box-shadow: 0 14px 34px rgba(0, 0, 0, .4);
}
.menu-sep { color: var(--muted); font-size: 11px; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; padding: 6px 10px 3px; }
.menu-item {
  display: block; text-align: left; width: 100%; padding: 7px 10px; border: 0; border-radius: 8px; background: transparent;
  color: var(--text); font: inherit; font-size: 13px; cursor: pointer; text-decoration: none;
}
.menu-item:hover:not(:disabled) { background: var(--accent-soft); }
.menu-item:disabled { opacity: .4; cursor: not-allowed; }
.menu hr { border: none; border-top: 1px solid var(--border); margin: 5px 0; width: 100%; }
details.rdp { margin-top: 16px; }
details.rdp summary { cursor: pointer; color: var(--muted); font-size: 13px; }

/* ---------- KPI cards ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin-bottom: 18px; }
.kpi {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; box-shadow: var(--shadow);
}
.kpi .label { color: var(--muted); font-size: 12px; font-weight: 550; }
.kpi .value { font-size: 28px; font-weight: 650; letter-spacing: -.02em; margin-top: 4px; }
.kpi .value small { font-size: 15px; color: var(--muted); font-weight: 500; }
.kpi .sub { color: var(--muted); font-size: 12px; margin-top: 2px; }

/* ---------- panels & tables ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); margin-bottom: 18px; overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  /* subtle accent tint so the section titles stand out from the table header rows */
  background: linear-gradient(90deg, var(--accent-soft) 0%, color-mix(in srgb, var(--accent-soft) 35%, transparent) 60%, transparent 100%);
  box-shadow: inset 3px 0 0 var(--accent);
}
.panel-head h2 { color: color-mix(in srgb, var(--accent) 55%, var(--text)); }
.panel-head .hint { color: var(--muted); font-size: 12px; }
.panel-body { padding: 16px 18px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 11px 18px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
th { font-size: 11.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; background: var(--bg-soft); }
tr:last-child td { border-bottom: none; }
tbody tr:hover td { background: color-mix(in srgb, var(--bg-soft) 60%, transparent); }
td.actions { text-align: right; white-space: nowrap; }
td.actions .btn { margin-left: 4px; }
td .strong { font-weight: 600; }
td .muted, .muted { color: var(--muted); }
.link-row { cursor: pointer; }
.empty { padding: 22px 18px; color: var(--muted); text-align: center; }
.loading { padding: 40px; text-align: center; color: var(--muted); }

dl.props { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
dl.props dt { color: var(--muted); }
dl.props dd { margin: 0; word-break: break-word; }
.rdp { margin-top: 18px; }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 550; background: var(--idle-soft); color: var(--idle); white-space: nowrap;
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.plain::before { display: none; }
.chip.ok { background: var(--ok-soft); color: var(--ok); }
.chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.bad { background: var(--bad-soft); color: var(--bad); }
.chip.accent { background: var(--accent-soft); color: var(--accent); }
.chip.busy::before { animation: pulse 1.1s infinite; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 6px; justify-content: center;
  font: inherit; font-weight: 550; color: var(--text); text-decoration: none;
  background: var(--surface); border: 1px solid var(--border); border-radius: 9px;
  padding: 6px 12px; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s;
}
.btn:hover:not(:disabled) { border-color: var(--accent); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn.danger { color: var(--bad); }
.btn.danger:hover:not(:disabled) { background: var(--bad-soft); border-color: var(--bad); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn.ghost:hover { color: var(--text); }
.btn.small { padding: 3px 9px; font-size: 12.5px; border-radius: 7px; }
.btn.large { padding: 10px 28px; font-size: 15px; border-radius: 11px; }
.btn.launch { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.btn.launch:hover { border-color: var(--accent); }
.icon-btn {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: transparent; border: 1px solid transparent; color: var(--muted); cursor: pointer;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--text); }
.icon-btn.spin svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
select, input, textarea {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: 9px; padding: 6px 10px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
textarea { width: 100%; min-height: 90px; resize: vertical; }
textarea.code { min-height: 300px; line-height: 1.45; tab-size: 4; white-space: pre; background: var(--bg-soft); }
#dialogBody select { width: 100%; }
#dialogBody select.size-list { margin-top: 8px; padding: 4px; font-family: "Cascadia Code", Consolas, ui-monospace, monospace; font-size: 12.5px; }
#dialogBody select.size-list option { padding: 4px 6px; border-radius: 6px; }
#dialogBody p.muted { margin-top: 6px; font-size: 13px; }
input[type=text] { width: 100%; }

/* ---------- script library ---------- */
ol.steps { margin: 0; padding-left: 20px; display: grid; gap: 2px; font-size: 13px; }
ol.steps li.action { color: var(--accent); }
.step-list { display: grid; gap: 6px; margin: 6px 0 10px; }
.step-row { display: flex; align-items: center; gap: 8px; }
.step-row .step-no { width: 22px; color: var(--muted); text-align: right; flex: none; }
#dialogBody .step-row select { flex: 1; width: auto; min-width: 0; }
label.check { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text); white-space: nowrap; margin: 0; }
label.check input { width: auto; margin: 0; }
#dialogBody label.check { display: flex; margin: 0; color: var(--text); }
#dialogBody label.check + .danger-note { margin-top: 8px; }
.danger-note { font-size: 13px; color: var(--muted); padding: 8px 10px; border-radius: 9px; border: 1px solid var(--border); }
.danger-note.on { color: var(--bad); background: var(--bad-soft); border-color: var(--bad); }
.host-checks { display: grid; gap: 6px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 9px; background: var(--bg-soft); }
.run-details { margin: 6px 0 4px; }

/* ---------- runbooks ---------- */
.runbook {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 14px 18px; border-bottom: 1px solid var(--border);
}
.runbook:last-child { border-bottom: none; }
.runbook .desc { color: var(--muted); font-size: 13px; margin-top: 2px; }
.inline { display: flex; gap: 8px; align-items: center; }
.inline.wrap { flex-wrap: wrap; justify-content: flex-end; }
.inline select { max-width: 340px; }
#dialogBody p + p { margin-top: 8px; }

/* ---------- app groups ---------- */
.ag-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ag-meta { color: var(--muted); font-size: 12.5px; margin-top: 3px; }
.sub-title { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; margin: 0 0 8px; }

/* ---------- dialog & toast ---------- */
dialog {
  border: 1px solid var(--border); border-radius: 18px; padding: 22px;
  background: var(--surface); color: var(--text); width: min(720px, calc(100vw - 32px));
  box-shadow: 0 24px 64px rgba(0, 0, 0, .25);
}
dialog::backdrop { background: rgba(10, 12, 20, .5); backdrop-filter: blur(2px); }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
#dialogBody label { display: block; margin: 12px 0 5px; color: var(--muted); font-size: 13px; }
pre.output {
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 12px;
  max-height: 60vh; overflow: auto; white-space: pre-wrap; margin: 12px 0 0;
}
.toast {
  position: fixed; right: 20px; bottom: 20px; max-width: 440px; z-index: 30;
  background: var(--text); color: var(--bg); padding: 12px 16px; border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
}
.toast.error { background: var(--bad); color: #fff; }

@media (max-width: 720px) {
  .grid.two { grid-template-columns: 1fr; }
  .runbook { flex-direction: column; align-items: flex-start; }
  th, td { padding: 10px 12px; }
}

/* ---------- host pool builder ---------- */
[hidden] { display: none !important; }
button.nav-item { border: 0; background: none; cursor: pointer; text-align: left; font: inherit; font-weight: 600; font-size: 13px; width: 100%; }
.nav-add { color: var(--accent); }
fieldset.schedule { border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px 12px; margin: 12px 0 0; background: var(--bg-soft); min-width: 0; }
fieldset.schedule .inline label, fieldset.schedule .inline label.check { margin: 0; }
fieldset.schedule .inline input[type=text] { flex: 1; min-width: 160px; }
fieldset.schedule .days { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 8px 0; }
fieldset.schedule > .btn { margin-top: 8px; }
table.compact td, table.compact th { padding: 4px 6px; }
table.compact select, table.compact input { width: auto; max-width: 140px; }
input.num { width: 72px !important; }
#dialogBody .inline input[type=text] { flex: 1; }

/* ---------- user sessions ---------- */
.filters { justify-content: flex-start !important; width: 100%; }
.filters input.search { flex: 1; min-width: 200px; }
.filters select { width: auto; }

/* ---------- insights ---------- */
.daychart { display: flex; align-items: flex-end; gap: 2px; height: 180px; padding: 8px 0 0; border-bottom: 1px solid var(--border); }
.daycol { flex: 1; min-width: 6px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; cursor: default; }
.daycol:hover .daystack { opacity: .8; }
.daystack { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; max-width: 28px; width: 100%; margin: 0 auto; }
.daystack span { display: block; min-height: 2px; }
.daystack span:first-child { border-radius: 4px 4px 0 0; }
.seg-ok { background: var(--ok); }
.seg-bad { background: var(--bad); }
.daylabel { font-size: 11px; color: var(--muted); text-align: center; padding-top: 4px; height: 18px; overflow: hidden; white-space: nowrap; }
.chart-legend { margin-bottom: 4px; }
.chart-legend .sw { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.page-note { margin: 0 0 16px; }

/* Second row of the landing page: more screenshots side by side */
.landing-more { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 900px) { .landing-more { grid-template-columns: 1fr; } }

/* Product: only one landing screenshot */
.landing-shots:not(:has(.second)) { padding-bottom: 0; }
.landing-shots:not(:has(.second)) > .landing-shot:first-child { width: 100%; }
