/* Premium theme for the customer and admin panels. Loads after app.css and only restyles it:
   clean white cards on a cool background, a dark sidebar shared with the home page, softer controls.
   Remove the <link> to theme.css in layout.html to get the original look back. */

:root {
  --bg: #F4F6F9;
  --panel: #FFFFFF;
  --white: #FFFFFF;
  --line: #E3E8EE;
  --line-strong: #CFD7E0;
  --line-soft: #EDF1F5;
  --ink: #101C27;
  --ink-2: #26343F;
  --ink-3: #4A5966;
  --muted: #66737F;
  --accent: #0B7C86;
  --accent-ink: #06606A;
  --accent-tint: #E8F4F5;
  --accent-ring: rgba(11, 124, 134, 0.22);
  --seg-off: #E7ECF1;
  --night: #0D1A24;
  --night-2: #13293A;
  --night-line: #213646;
  --night-text: #B9C8D3;
  --night-muted: #7F94A4;
  --glow: #2FC4CD;
  --radius: 10px;
  --radius-l: 14px;
  --shadow-s: 0 1px 2px rgba(16, 28, 39, 0.04), 0 1px 3px rgba(16, 28, 39, 0.06);
  --shadow-m: 0 4px 8px -2px rgba(16, 28, 39, 0.06), 0 2px 4px -2px rgba(16, 28, 39, 0.04);
  --shadow-l: 0 20px 40px -16px rgba(16, 28, 39, 0.22);
}

body { background: var(--bg); font-stretch: 100%; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(47, 196, 205, 0.28); }

/* ---------------------------------------------------------------- sidebar */
.shell { flex-wrap: nowrap; }
.rail, .rail.admin {
  position: sticky; top: 0; align-self: flex-start; height: 100vh; overflow-y: auto;
  flex: 0 0 244px; gap: 22px; padding: 20px 14px 16px;
  background:
    radial-gradient(420px 260px at 0% 0%, rgba(47, 196, 205, 0.10), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, #0F2130 100%);
  border-right: 1px solid var(--night-line); color: var(--night-text);
  scrollbar-width: none;
}
.rail .brand, .rail.admin .brand { padding: 4px 10px 10px; color: #fff; font-size: 20px; font-stretch: 112%; }
.rail .brand svg, .rail.admin .brand svg { color: var(--glow); }
.rail.admin .brand .tag {
  margin-left: 4px; padding: 2px 8px; border: 0; border-radius: 999px;
  background: rgba(47, 196, 205, 0.14); color: var(--glow); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
}
.rail .nav { gap: 2px; }
.rail .nav a, .rail.admin .nav a {
  position: relative; min-height: 38px; padding: 0 12px; gap: 12px; border-radius: 8px;
  color: var(--night-text); font-size: 14.5px; font-weight: 500; box-shadow: none;
  transition: background 0.12s, color 0.12s;
}
.rail .nav a svg { color: var(--night-muted); transition: color 0.12s; }
.rail .nav a:hover, .rail.admin .nav a:hover { background: rgba(255, 255, 255, 0.06); color: #fff; }
.rail .nav a:hover svg { color: #fff; }
.rail .nav a[aria-current="page"], .rail.admin .nav a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(47, 196, 205, 0.18), rgba(47, 196, 205, 0.06)); color: #fff; font-weight: 600; box-shadow: none;
}
.rail .nav a[aria-current="page"] svg { color: var(--glow); }
.rail .nav a[aria-current="page"]::before {
  content: ""; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: var(--glow);
}
.rail .nav .count { color: var(--night-muted); font-weight: 600; }
.rail .badge, .rail.admin .badge { background: #F5B83D; color: #2B1D00; font-size: 11px; }
.rail.admin { gap: 16px; }
.rail.admin .groups { gap: 10px; }
.rail.admin .nav a { min-height: 33px; }
.rail::-webkit-scrollbar { display: none; }
.rail.admin .group-title {
  padding: 0 12px 6px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--night-muted);
}
.rail-foot, .rail.admin .rail-foot {
  flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 16px; padding: 14px 10px 0; border-top: 1px solid var(--night-line);
}
.rail-foot .me { flex: 1 1 100%; }
.rail-foot .me { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; min-width: 0; }
.rail-foot .me > div { min-width: 0; }
.avatar {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--glow), var(--accent)); color: #fff; font-weight: 750; font-size: 15px;
}
.rail-foot .who, .rail.admin .rail-foot .who { color: #fff; font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-foot .mail, .rail.admin .rail-foot .mail { color: var(--night-muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail .linkbtn, .rail.admin .linkbtn { min-height: 36px; padding: 0 2px; color: var(--night-text); font-size: 14px; text-decoration: none; }
.rail .linkbtn:hover, .rail.admin .linkbtn:hover { color: #fff; text-decoration: none; }

/* ---------------------------------------------------------------- page */
.main { flex: 1 1 auto; padding: 36px 44px 80px; }
.wrap { max-width: 1200px; gap: 24px; }
.page-head { align-items: center; padding-bottom: 4px; }
.title { font-size: 30px; font-weight: 750; font-stretch: 106%; letter-spacing: -0.02em; }
.sub { margin-top: 6px; font-size: 15px; }
.crumbs { font-size: 13.5px; }
.crumbs a { color: var(--muted); font-weight: 550; text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.section-title { font-size: 18px; font-weight: 700; font-stretch: 104%; }

/* ---------------------------------------------------------------- server cards */
.units { gap: 12px; }
.unit {
  min-height: 0; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--panel);
  box-shadow: var(--shadow-s); position: relative; transition: box-shadow 0.15s, border-color 0.15s;
}
.unit::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 0 3px 3px 0; background: transparent; }
.unit:has(.led.run)::before { background: var(--ok); }
.unit:has(.led.warn)::before { background: var(--warn); }
.unit:has(.led.bad)::before { background: var(--bad); }
.unit:hover { border-color: var(--line-strong); box-shadow: var(--shadow-m); }
.ear { display: none; }
.face { padding: 20px 24px; gap: 16px 32px; }
.unit.big .face { padding: 26px 28px; }
.ident .host { font-size: 17px; font-weight: 700; font-stretch: 104%; letter-spacing: -0.01em; }
.ident a.host:hover { color: var(--accent); text-decoration: none; }
.unit.big .ident .host { font-size: 28px; font-stretch: 106%; letter-spacing: -0.02em; }
.meta { gap: 6px 12px; font-size: 13.5px; }
.pill { padding: 2px 8px; border: 0; border-radius: 6px; background: #EEF2F6; color: var(--ink-3); font-size: 11.5px; letter-spacing: 0.04em; }
.addr .v4 { font-family: var(--mono); font-size: 14px; font-weight: 600; }
.addr .v6 { font-family: var(--mono); font-size: 12.5px; }
.spec { color: var(--ink-3); font-size: 13.5px; }

.led { width: 10px; height: 10px; margin-top: 7px; }
.led.run { box-shadow: 0 0 0 4px rgba(31, 163, 91, 0.14); }
.led.warn { box-shadow: 0 0 0 4px rgba(232, 155, 23, 0.16); }
.led.bad { box-shadow: 0 0 0 4px rgba(196, 55, 43, 0.14); }

/* meters as smooth bars */
.segs { gap: 0; border-radius: 999px; overflow: hidden; background: var(--seg-off); }
.segs i { height: 7px; border-radius: 0; }
.segs.tall i { height: 10px; }
.segs i.on, .segs i.step { background: linear-gradient(90deg, var(--accent), #14A1AC); }
.segs i.warn { background: #E39A19; }
.segs i.hot { background: var(--bad); }
.segs i.off { background: transparent; }
.meter-row { font-size: 12.5px; }
.meter-row .k { color: var(--muted); font-weight: 500; }

/* ---------------------------------------------------------------- panels */
.panel, .panel.raised {
  padding: 24px 26px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--panel); box-shadow: var(--shadow-s);
}
.panel > h2, .panel-head h2 { font-size: 17px; font-weight: 700; font-stretch: 104%; letter-spacing: -0.005em; }
.panel > h2 { margin-bottom: 14px; }
.panel.danger { border-color: #F0C9C5; background: linear-gradient(180deg, #FFF8F7, #FFFFFF 60%); }
dl.kv > div { padding: 12px 0; }
dl.kv dt { font-size: 13.5px; }
dl.kv dd { font-size: 14.5px; }
.lines > li { padding: 14px 0; }

.readouts { gap: 16px; background: none; border: 0; box-shadow: none; border-radius: 0; }
.readout {
  flex: 1 1 200px; padding: 20px 22px; border: 1px solid var(--line); border-right: 1px solid var(--line);
  border-radius: var(--radius-l); background: var(--panel); box-shadow: var(--shadow-s); position: relative; overflow: hidden;
}
.readout:last-child { border-right: 1px solid var(--line); }
.readout::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--glow)); opacity: 0.85; }
.readout .k { font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.readout .v { margin-top: 8px; font-size: 28px; font-weight: 750; font-stretch: 104%; letter-spacing: -0.02em; }
.readout .s { margin-top: 4px; }
.readout-v { font-stretch: 104%; }

.banner { border-radius: var(--radius); padding: 14px 18px; border-left-width: 4px; }
.banner.warn { background: #FFF8E6; border-color: #F1D68A; border-left-color: #E39A19; }
.banner.bad { border-left-color: var(--bad); }
.banner.info { background: var(--accent-tint); border-color: #BFE0E3; border-left-color: var(--accent); }
.banner.ok { border-left-color: var(--ok); }
.flash .msg { border-radius: var(--radius); border-left-width: 4px; border-left-color: var(--ok); box-shadow: var(--shadow-s); }
.flash .msg.bad { border-left-color: var(--bad); }
.flash .msg.warn { border-left-color: #E39A19; }

.empty { padding: 56px 24px; border: 1px dashed var(--line-strong); border-radius: var(--radius-l); background: var(--panel); }

/* ---------------------------------------------------------------- buttons */
.btn {
  min-height: 42px; padding: 0 16px; border-radius: var(--radius); border-color: var(--line-strong);
  background: var(--white); box-shadow: var(--shadow-s); font-size: 14.5px; font-weight: 600;
  transition: background 0.12s, border-color 0.12s, box-shadow 0.12s, transform 0.12s;
}
.btn:hover { border-color: #B5C0CB; background: #FAFBFC; }
.btn:active { transform: translateY(1px); }
.btn.primary {
  background: linear-gradient(180deg, #0E8A95, var(--accent)); border-color: var(--accent-ink);
  box-shadow: 0 1px 2px rgba(6, 96, 106, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn.primary:hover { background: linear-gradient(180deg, var(--accent), var(--accent-ink)); }
.btn.dark { background: var(--ink); border-color: var(--ink); }
.btn.ghost, .btn.icon { box-shadow: none; }
.btn.small { min-height: 36px; font-size: 13.5px; border-radius: 8px; }
.btn.big { min-height: 48px; }
.btn.danger { background: #fff; }

/* ---------------------------------------------------------------- forms */
label, .label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
input:not([type]), input[type="text"], input[type="email"], input[type="password"], input[type="number"],
input[type="search"], input[type="url"], input[type="date"], select, textarea {
  min-height: 42px; border-radius: var(--radius); border-color: var(--line-strong); box-shadow: inset 0 1px 1px rgba(16, 28, 39, 0.03);
  transition: border-color 0.12s, box-shadow 0.12s;
}
input:hover, select:hover, textarea:hover { border-color: #B5C0CB; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.choice, .tab-choice { border-radius: var(--radius); border-color: var(--line); transition: border-color 0.12s, box-shadow 0.12s, background 0.12s; }
.choice:hover, .tab-choice:hover { border-color: var(--line-strong); }
.choice:has(input:checked), .tab-choice[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); background: #F6FBFB; }
legend .step { border: 0; border-radius: 50%; background: var(--ink); color: #fff; font-size: 13px; }
.switch { background: #C3CCD5; }
.setting { padding: 16px 0; }

/* ---------------------------------------------------------------- tables */
.table { border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--panel); box-shadow: var(--shadow-s); }
.panel .table { border: 0; border-radius: 0; box-shadow: none; background: none; }
table.data th {
  padding: 12px 16px; background: #F8FAFC; border-bottom: 1px solid var(--line);
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
table.data td { padding: 14px 16px; border-top: 1px solid var(--line-soft); }
table.data th:first-child, table.data td:first-child { padding-left: 20px; }
table.data th:last-child, table.data td:last-child { padding-right: 20px; }
.panel table.data th { background: none; }
.panel table.data th:first-child, .panel table.data td:first-child { padding-left: 0; }
.panel table.data th:last-child, .panel table.data td:last-child { padding-right: 0; }
table.data tbody tr { transition: background 0.1s; }
table.data tbody tr:hover { background: #F8FAFC; }
.state { font-size: 13px; padding: 3px 10px 3px 8px; border-radius: 999px; background: #F1F4F7; }
.state.ok { background: #E8F6EE; }
.state.warn { background: #FDF3DD; }
.state.bad { background: #FCECEA; }
.state::before { width: 7px; height: 7px; }
.filters input, .filters select { min-height: 38px; }
table.data a.rowlink, table.data td:first-child { white-space: nowrap; }
table.data td a:not(.btn) { color: var(--ink); font-weight: 600; text-decoration: none; }
table.data td a:not(.btn):hover { color: var(--accent); }
table.data td.small { min-width: 180px; }
.tabs-inline { gap: 6px; }
.tabs-inline > .tab-choice:not(.wide) { min-height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; box-shadow: none; }
.tabs-inline > .tab-choice:not(.wide)[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }

/* ---------------------------------------------------------------- tabs */
.tabs { gap: 2px; border-bottom: 1px solid var(--line); }
.tabs a { min-height: 44px; padding: 0 14px; font-size: 14.5px; color: var(--muted); border-bottom-width: 2px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.seg-switch { background: #EBEFF3; border-radius: 9px; }
.seg-switch a { border-radius: 7px; }

/* ---------------------------------------------------------------- code and charts */
.cmd, pre.code { border-radius: var(--radius); background: var(--night); }
.cmd .btn.icon { background: #1B3142; }
.chart .area { fill: rgba(11, 124, 134, 0.12); }
.secret-box { border-radius: var(--radius); background: var(--accent-tint); }

/* ---------------------------------------------------------------- order summary */
.summary .panel { box-shadow: var(--shadow-m); }
.summary .plan-name { font-stretch: 106%; }
.summary .total { font-stretch: 104%; letter-spacing: -0.02em; }

/* ---------------------------------------------------------------- sign-in pages */
.auth {
  background:
    radial-gradient(800px 500px at 100% 0%, rgba(47, 196, 205, 0.16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(11, 124, 134, 0.22), transparent 60%),
    linear-gradient(180deg, var(--night), var(--night-2));
}
.auth-card { gap: 22px; }
.auth-card .brand { color: #fff; font-size: 22px; font-stretch: 112%; }
.auth-card .brand svg { color: var(--glow); }
.auth-card .panel { padding: 32px; border: 0; box-shadow: var(--shadow-l); }
.auth-card h1 + p { margin-bottom: 20px; }
.auth-card h1 { font-size: 24px; font-stretch: 104%; letter-spacing: -0.015em; }
.auth-card .foot { color: var(--night-text); }
.auth-card .foot a { color: var(--glow); font-weight: 600; }
.auth-card > .flash .msg { box-shadow: var(--shadow-l); }

/* public pay page */
.main > .wrap > .brand { color: var(--ink); font-stretch: 112%; }

/* ---------------------------------------------------------------- dialog */
.dialog { border: 0; border-radius: var(--radius-l); background: var(--panel); box-shadow: var(--shadow-l); }
.dialog::backdrop { background: rgba(13, 26, 36, 0.55); backdrop-filter: blur(2px); }

/* ---------------------------------------------------------------- small screens */
@media (max-width: 900px) {
  .shell { flex-wrap: wrap; }
  .rail, .rail.admin { position: static; height: auto; flex: 1 1 100%; padding: 12px 14px; gap: 10px; border-right: 0; border-bottom: 1px solid var(--night-line); }
  .rail .nav { flex-direction: row; flex-wrap: wrap; }
  .rail .nav a { min-height: 38px; }
  .rail .nav a[aria-current="page"]::before { display: none; }
  .rail.admin .groups { flex-direction: row; flex-wrap: wrap; gap: 2px; }
  .rail.admin .group-title { display: none; }
  .rail-foot, .rail.admin .rail-foot { display: flex; padding: 6px 10px 0; }
  .rail-foot .me { display: none; }
  .main { padding: 24px 16px 64px; }
}
@media (max-width: 720px) {
  .title { font-size: 24px; }
  .face { padding: 16px 18px; }
  .readout .v { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .unit, .rail .nav a, input, select, textarea, .choice { transition: none; }
}
@media print {
  .rail, .rail.admin { display: none !important; }
  .panel, .table, .readout { box-shadow: none; }
}

/* two-step login setup */
.center-text { text-align: center; }
code.secret-key { display: inline-block; margin-top: 6px; padding: 6px 10px; border-radius: 8px; background: var(--accent-tint); font-size: 16px; letter-spacing: 0.08em; }

/* ---------------------------------------------------------------- support tickets */
.thread { display: flex; flex-direction: column; gap: 14px; }
.tmsg { max-width: 860px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--panel); box-shadow: var(--shadow-s); }
.tmsg header { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin-bottom: 8px; font-size: 13.5px; }
.tmsg .who { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.tmsg time { color: var(--muted); }
.tmsg .body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 15px; line-height: 1.55; }
.tmsg.customer { align-self: flex-start; }
.tmsg.staff, .tmsg.ai { align-self: flex-end; background: #F4FAFA; border-color: #CFE5E7; }
.tmsg.ai .who { color: var(--accent-ink); }
.tmsg.note { align-self: stretch; max-width: none; background: #FFFBEA; border-color: #F1DE9A; border-style: dashed; }
.ai-note { margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.prio { font-size: 12.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: #EEF2F6; color: var(--ink-3); }
.prio.high { background: #FDF3DD; color: var(--warn-ink); }
.prio.urgent { background: #FCECEA; color: var(--bad-ink); }
.lp-custom { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 22px 26px; border-radius: var(--r); background: var(--night); color: var(--night-text); }
.lp-custom h3 { color: #fff; font-size: 19px; }
.lp-custom p { margin-top: 4px; }

/* ---------------------------------------------------------------- branding and view switch */
.brand-logo { display: block; height: var(--logo-h, 32px); width: auto; max-width: 240px; object-fit: contain; }
.brand .brand-name, .lp-brand .brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.view-switch { display: flex; padding: 3px; margin: -6px 0 2px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--night-line); }
.view-switch a { flex: 1; text-align: center; padding: 7px 10px; border-radius: 7px; color: var(--night-text); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.view-switch a:hover { color: #fff; }
.view-switch a[aria-current="page"] { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); }
.brand-preview { display: flex; flex-wrap: wrap; gap: 16px; }
.brand-preview > div { flex: 1 1 240px; display: grid; place-items: center; min-height: 110px; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); }
.brand-preview .on-dark { background: var(--night); color: #fff; }
.brand-preview .on-light { background: #fff; }
.brand-preview .brand { font-size: 20px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); }
.swatch i { display: block; width: 72px; height: 40px; border-radius: 8px; border: 1px solid var(--line); }
.swatch.s-accent i { background: var(--accent); } .swatch.s-ink i { background: var(--accent-ink); }
.swatch.s-tint i { background: var(--accent-tint); } .swatch.s-glow i { background: var(--glow); }
.asset-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.asset-row:first-of-type { border-top: 0; }
.asset-row .thumb { width: 120px; height: 56px; display: grid; place-items: center; border-radius: 8px; border: 1px dashed var(--line-strong); background: repeating-conic-gradient(#F1F4F7 0% 25%, #fff 0% 50%) 50% / 16px 16px; }
.asset-row .thumb.dark { background: var(--night); border-style: solid; }
.asset-row .thumb img { max-width: 104px; max-height: 44px; }
.asset-row .grow { flex: 1 1 220px; }
input[type="color"] { width: 56px; height: 42px; padding: 3px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: #fff; cursor: pointer; }
input[type="file"] { font: inherit; font-size: 14px; }

/* ---------------------------------------------------------------- customer dashboard */
.glance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.glance-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--panel); box-shadow: var(--shadow-s); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.glance-card:hover { border-color: var(--accent); box-shadow: var(--shadow-m); transform: translateY(-1px); color: var(--ink); }
.glance-card .k { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.glance-card .k svg { color: var(--accent); }
.glance-card .v { font-size: 26px; font-weight: 750; font-stretch: 104%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.glance-card .v small { font-size: 15px; color: var(--muted); font-weight: 600; }
.glance-card .s { font-size: 13px; color: var(--muted); }
.glance-card.warn { border-color: #F1D68A; background: linear-gradient(180deg, #FFFBEE, #fff 70%); }
.glance-card.hot { border-color: #BFE0E3; background: linear-gradient(180deg, var(--accent-tint), #fff 70%); }
.first-server { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; align-items: center; padding: 32px; border-radius: var(--radius-l); color: var(--night-text);
  background: radial-gradient(600px 300px at 100% 0%, rgba(47, 196, 205, .18), transparent 60%), linear-gradient(160deg, var(--night), var(--night-2)); }
.first-server h2 { color: #fff; font-size: 26px; font-stretch: 106%; letter-spacing: -0.02em; margin-bottom: 8px; }
.first-server p { margin-bottom: 20px; line-height: 1.55; }
.fs-plans { display: grid; gap: 10px; }
.fs-plan { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 14px 18px; border-radius: 12px; background: rgba(255, 255, 255, .06); border: 1px solid var(--night-line); color: #fff; text-decoration: none; transition: background .15s, border-color .15s; }
.fs-plan:hover { background: rgba(255, 255, 255, .1); border-color: var(--glow); color: #fff; }
.fs-plan .n { font-weight: 700; }
.fs-plan .spec { grid-column: 1; font-size: 13px; color: var(--night-muted); }
.fs-plan .p { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-weight: 750; font-size: 18px; }
.fs-plan .p small { font-size: 12px; color: var(--night-muted); font-weight: 500; }
@media (max-width: 980px) { .glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } .first-server { grid-template-columns: 1fr; padding: 24px; } }
@media (prefers-reduced-motion: reduce) { .glance-card { transition: none; } .glance-card:hover { transform: none; } }
.brand-preview .on-dark .brand { color: #fff; }
.brand-preview .on-dark .brand svg { color: var(--glow); }
.brand-preview .on-light .brand { color: var(--ink); }

/* ---------------------------------------------------------------- grouped customer menu */
.rail .groups { display: flex; flex-direction: column; gap: 14px; }
.rail .group-title { display: flex; align-items: center; gap: 10px; padding: 6px 12px 4px; font-size: 14px; font-weight: 600; color: #fff; }
.rail .group-title svg { color: var(--night-muted); }
.rail .nav.sub a { padding-left: 40px; min-height: 34px; font-size: 14px; }
.rail .nav.sub a[aria-current="page"] { background: var(--accent); color: #fff; }
.rail .nav.sub a[aria-current="page"]::before { display: none; }
.rail .nav .badge { margin-left: auto; }

/* ---------------------------------------------------------------- service management page */
.svc-head .sub { display: inline-flex; align-items: center; gap: 8px; }
.svc-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 20px; align-items: start; }
.svc-side { position: sticky; top: 16px; }
.svc-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 20px 20px; text-align: center;
  border-radius: var(--radius-l); background: linear-gradient(180deg, var(--night-2), var(--night)); color: var(--night-text); box-shadow: var(--shadow-m); }
.svc-badge { position: absolute; top: 14px; right: 14px; padding: 4px 12px; border-radius: 8px; font-size: 14px; font-weight: 700; color: #fff; background: var(--idle); }
.svc-badge.ok { background: var(--ok); } .svc-badge.warn { background: var(--warn); color: #2B1D00; } .svc-badge.bad { background: var(--bad); }
.svc-icon { margin: 8px 0 4px; color: var(--ok); }
.svc-name { color: #fff; font-size: 18px; font-weight: 750; overflow-wrap: anywhere; }
.svc-meta, .svc-up { font-size: 13.5px; color: var(--night-muted); }
.svc-ip code { color: #fff; font-size: 14px; }
.svc-expiry { margin: 8px 0 4px; display: flex; flex-direction: column; gap: 2px; }
.svc-expiry .k { color: #fff; font-weight: 700; }
.svc-expiry .v { font-size: 15px; font-variant-numeric: tabular-nums; color: #fff; }
.svc-actions { width: 100%; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.svc-actions form { margin: 0; }
.svc-card .btn { box-shadow: none; }
.svc-card .btn:not(.primary):not(.danger):not(.ok) { background: rgba(255, 255, 255, .06); border-color: var(--night-line); color: #fff; }
.svc-card .btn:not(.primary):not(.danger):not(.ok):hover { background: rgba(255, 255, 255, .12); }
.btn.ok { background: var(--ok); border-color: var(--ok); color: #fff; }
.btn.ok:hover { background: var(--ok-ink); border-color: var(--ok-ink); color: #fff; }
.svc-card .btn.danger:not(.solid) { background: transparent; border-color: #E2766C; color: #FFB4AD; }
.svc-card .banner { margin-top: 10px; text-align: left; color: var(--ink); }
.svc-main { min-width: 0; border-radius: var(--radius-l); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.svc-tabs { display: flex; gap: 2px; overflow-x: auto; padding: 0 12px; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.svc-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 14px 14px 12px; white-space: nowrap; color: var(--muted); font-weight: 600; font-size: 14.5px;
  text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.svc-tabs a:hover { color: var(--ink); }
.svc-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ok); }
.svc-body { padding: 20px; display: flex; flex-direction: column; gap: 18px; }
.svc-body .panel { box-shadow: none; }
.svc-body .cols { gap: 18px; }
h3.mt { margin-top: 16px; margin-bottom: 6px; }

/* ---------------------------------------------------------------- live graphs */
.graphs-head { align-items: center; margin: 0; }
.graph-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 16px; }
.graph .panel-head { margin-bottom: 8px; }
.graph .chart svg, .graph .chart .yaxis { height: 160px; }
.graph-now { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- anti-DDoS */
.ddos-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 6px 0 16px; }
.ddos-compare > div { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.ddos-compare > div.current { border-color: var(--ok); box-shadow: 0 0 0 3px rgba(31, 163, 91, .15); }
.ddos-compare ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-3); font-size: 14px; }

@media (max-width: 1100px) { .svc-layout { grid-template-columns: 1fr; } .svc-side { position: static; } }

/* ---------------------------------------------------------------- order: location with its CPU */
.tabs-inline > .tab-choice.loc { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 0; padding: 10px 18px; border-radius: 12px; text-align: left; }
.tab-choice.loc .t { font-size: 15px; font-weight: 700; line-height: 1.25; }
.tab-choice.loc .d { font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--ink-3); }
.tab-choice.loc[aria-current="true"] .d { color: rgba(255, 255, 255, .72); }

/* ---------------------------------------------------------------- admin: danger zone */
.danger-zone { border-color: #F3C7C3; }
.danger-zone h2 { color: #B42318; }

/* ---------------------------------------------------------------- top bar with theme switch */
.main { display: flex; flex-direction: column; }
.topbar { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin: -36px -44px 30px; padding: 12px 28px; border-bottom: 1px solid var(--line); background: var(--panel); }
.theme-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink-2); cursor: pointer; }
.theme-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.me-chip { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.me-chip .avatar { width: 30px; height: 30px; font-size: 13px; }

/* ---------------------------------------------------------------- dashboard greeting and overview */
.hello { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 24px; margin-bottom: 26px; border-radius: var(--radius-l); background: var(--panel); border: 1px solid var(--line); }
.hello-avatar { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 999px; background: var(--accent-tint); color: var(--accent); font-size: 22px; font-weight: 700; flex: none; }
.hello .title { margin: 0 0 6px; }
.hello-chips { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-3); }
.hello-chips li, .hello-chips a { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.hello-chips .ok svg { color: var(--ok); }
.hello-chips .no svg { color: var(--warn); }
.ov-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 10px 0 30px; }
.ov-card { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; align-items: center; padding: 20px; border-radius: var(--radius-l); background: var(--panel); border: 1px solid var(--line); }
.ov-card .ov-ico { color: var(--ink-3); }
.ov-card .k { display: block; font-size: 14px; color: var(--ink-3); }
.ov-card .v { display: block; font-size: 22px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.ov-card .v small { font-size: 13px; font-weight: 500; color: var(--muted); }
.ov-card > a { grid-column: 1 / -1; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent); }
.ov-card.warn { border-color: var(--warn-line); }
.ov-card.hot { border-color: var(--accent); }
.activity { margin-top: 30px; }
.panel.flush { padding: 0; overflow: hidden; }
.activity-table td { padding-top: 14px; padding-bottom: 14px; }
.act-ico { display: inline-flex; vertical-align: -3px; margin-right: 10px; color: var(--ok); }
.act-ico.bad { color: var(--bad); }

/* ---------------------------------------------------------------- tabs with an underline (tickets) */
.line-tabs { display: flex; margin: 4px 0 18px; border-bottom: 1px solid var(--line); }
.line-tabs a { flex: 1; text-align: center; padding: 14px 10px; color: var(--ink-3); font-weight: 600; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.line-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.line-tabs .count { margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--line-soft); font-size: 12px; color: var(--muted); }
td.center { text-align: center; padding: 28px; }

/* ---------------------------------------------------------------- key / value table (hardware) */
table.data.info-table th { width: 38%; font-weight: 500; font-size: 15px; letter-spacing: normal; text-transform: none; color: var(--ink-3); text-align: left; background: none; }
table.data.info-table td { font-weight: 600; color: var(--ink); }
table.data.info-table th, table.data.info-table td { padding-top: 15px; padding-bottom: 15px; }
@media (max-width: 900px) { .topbar { margin: -24px -16px 20px; padding: 10px 16px; } .me-chip { display: none; } .hello { padding: 18px; } }

/* ---------------------------------------------------------------- abuse reports */
pre.evidence { margin: 8px 0 0; padding: 14px 16px; max-height: 480px; overflow: auto; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--line-soft); color: var(--ink-2); font: 13px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.pre-wrap { white-space: pre-wrap; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- order: software that does not fit the plan */
.choice.off { opacity: 0.55; cursor: not-allowed; }

/* ---------------------------------------------------------------- add software later */
form.choice.plan { display: grid; grid-template-columns: minmax(140px, auto) 1fr auto auto; align-items: center; gap: 14px; }
.steps-list { margin: 4px 0 14px; padding-left: 20px; display: grid; gap: 12px; }
.cmd-line { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 10px 12px; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--line-soft); }
.cmd-line code { flex: 1; font-size: 12.5px; overflow-wrap: anywhere; }
@media (max-width: 720px) { form.choice.plan { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- invoice (print / PDF) */
.inv-page { min-height: 100vh; background: #EEEDF4; padding: 32px 16px 64px; color: #1F1B33; }
.inv-wrap { max-width: 860px; margin: 0 auto; }
.inv-actions { margin-bottom: 18px; }
.inv { background: #fff; border-radius: 16px; border: 1px solid #E2DFEC; box-shadow: 0 24px 50px -30px rgba(40, 30, 90, .35); overflow: hidden; }
.inv::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--brand, var(--accent)), color-mix(in srgb, var(--brand, var(--accent)) 55%, #fff)); }
.inv-head { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 34px 44px 10px; }
.inv-brand img { display: block; height: 44px; width: auto; }
.inv-name { font-size: 22px; font-weight: 800; color: var(--brand, var(--accent)); }
.inv-title { display: flex; align-items: center; gap: 14px; }
.inv-title h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: #1F1B33; }
.inv-badge { padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.inv-badge.ok { background: #E3F6EA; color: #17663C; }
.inv-badge.due { background: #FFF1D6; color: #8A5A00; }
.inv-badge.void { background: #EEEDF4; color: #6B6880; }
.inv-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; margin: 22px 44px 0; border: 1px solid #ECEAF3; border-radius: 12px; overflow: hidden; }
.inv-meta div { padding: 14px 18px; border-right: 1px solid #ECEAF3; }
.inv-meta div:last-child { border-right: 0; }
.inv-meta dt { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #8A86A0; margin-bottom: 4px; }
.inv-meta dd { margin: 0; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.inv-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 22px 44px; }
.inv-party { display: flex; flex-direction: column; gap: 3px; padding: 18px 20px; border-radius: 12px; background: #F7F6FB; font-size: 14px; line-height: 1.5; color: #3A3652; }
.inv-party h2 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--brand, var(--accent)); }
.inv-party strong { font-size: 16px; color: #1F1B33; }
.inv-items { width: calc(100% - 88px); margin: 8px 44px 0; border-collapse: collapse; font-size: 14px; }
.inv-items th { padding: 12px 10px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: #1F1B33; }
.inv-items th:first-child { border-radius: 10px 0 0 10px; padding-left: 16px; }
.inv-items th:last-child { border-radius: 0 10px 10px 0; padding-right: 16px; }
.inv-items td { padding: 14px 10px; border-bottom: 1px solid #ECEAF3; color: #2E2A45; vertical-align: top; }
.inv-items td:first-child { padding-left: 16px; }
.inv-items td:last-child { padding-right: 16px; }
.inv-items .num { text-align: right; font-variant-numeric: tabular-nums; }
.inv-items .desc { font-weight: 600; color: #1F1B33; }
.inv-bottom { display: grid; grid-template-columns: 1fr 340px; gap: 28px; margin: 24px 44px 0; align-items: start; }
.inv-pay { font-size: 14px; line-height: 1.6; color: #3A3652; }
.inv-pay h2 { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--brand, var(--accent)); }
.inv-pay p { margin: 0 0 8px; }
.inv-pay a { color: var(--brand, var(--accent)); }
.inv-thanks { margin-top: 12px !important; font-weight: 700; color: #1F1B33; }
.inv-totals { margin: 0; border-radius: 12px; background: #F7F6FB; padding: 8px 18px; }
.inv-totals div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #E8E6F0; font-size: 14px; }
.inv-totals div:last-child { border-bottom: 0; }
.inv-totals dt { color: #6B6880; }
.inv-totals dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.inv-totals .grand { margin: 4px -18px; padding: 14px 18px; background: var(--brand, var(--accent)); border-bottom: 0; }
.inv-totals .grand dt, .inv-totals .grand dd { color: #fff; font-size: 18px; font-weight: 800; }
.inv-totals .due dt, .inv-totals .due dd { color: #8A5A00; font-weight: 800; }
.inv-foot { margin: 34px 44px 0; padding: 18px 0 30px; border-top: 1px solid #ECEAF3; font-size: 12.5px; color: #8A86A0; text-align: center; }
.inv-foot p { margin: 0 0 4px; white-space: pre-line; }
@media (max-width: 720px) {
  .inv-head, .inv-meta, .inv-parties, .inv-bottom, .inv-foot { margin-left: 18px; margin-right: 18px; }
  .inv-head { padding: 24px 18px 6px; }
  .inv-items { width: calc(100% - 36px); margin: 8px 18px 0; }
  .inv-parties, .inv-bottom { grid-template-columns: 1fr; }
}
@media print {
  @page { size: A4; margin: 12mm; }
  .inv-page { background: #fff; padding: 0; min-height: 0; }
  .inv { border: 0; box-shadow: none; border-radius: 0; }
  .inv-items th, .inv-totals .grand, .inv::before, .inv-badge { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------------------------------------------------------------- accounting tables */
.acct-table td { vertical-align: top; padding-top: 14px; padding-bottom: 14px; }
.info-lines { display: flex; flex-direction: column; gap: 3px; font-size: 14px; line-height: 1.45; }
.type-pill { background: var(--accent-tint); color: var(--accent); font-weight: 600; }
.amt-plus { color: var(--ok); }
.amt-minus { color: var(--bad); }
.row-actions { display: inline-flex; gap: 6px; }

/* ---------------------------------------------------------------- invoice as an A4 business letter */
.letter-page { min-height: 100vh; background: #E9E8EF; padding: 28px 16px 60px; color: #1A1A1A; }
.letter-actions { max-width: 210mm; margin: 0 auto 16px; display: flex; gap: 8px; }
.letter { box-sizing: border-box; max-width: 210mm; min-height: 297mm; margin: 0 auto; padding: 18mm 20mm 16mm; background: #fff;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .35); font-family: "Helvetica Neue", Arial, sans-serif; font-size: 10.5pt; line-height: 1.45;
  display: flex; flex-direction: column; }
.letter-top { display: flex; justify-content: space-between; gap: 10mm; }
.letter-left { padding-top: 22mm; flex: 1; }
.letter-sender { margin: 0 0 4mm; font-size: 7.5pt; color: #555; border-bottom: 1px solid #999; display: inline-block; padding-bottom: 1px; }
.letter-to { font-style: normal; font-size: 10.5pt; line-height: 1.5; }
.letter-vat { display: block; margin-top: 2mm; font-size: 9pt; color: #555; }
.letter-right { width: 78mm; }
.letter-logo { text-align: right; margin-bottom: 9mm; }
.letter-logo img { height: 15mm; width: auto; }
.letter-meta { width: 100%; border-collapse: collapse; font-size: 9.5pt; }
.letter-meta th { text-align: left; font-weight: 400; color: #444; padding: 1px 0; }
.letter-meta td { text-align: right; padding: 1px 0; }
.letter-meta tr:first-child th, .letter-meta tr:first-child td { font-size: 12pt; padding-bottom: 2mm; color: #111; }
.letter-meta tr.gap th, .letter-meta tr.gap td { padding-top: 3mm; }
.letter-title { margin: 16mm 0 5mm; font-size: 15pt; font-weight: 700; color: #111; letter-spacing: 0; }
.letter-paid, .letter-void { display: inline-block; margin-left: 3mm; padding: 1px 8px; border-radius: 4px; font-size: 9pt; vertical-align: 3px; }
.letter-paid { background: #E2F4E8; color: #17663C; }
.letter-void { background: #EEE; color: #555; }
.letter-intro { margin: 0 0 6mm; }
.letter-items { width: 100%; border-collapse: collapse; }
.letter-items th { background: #ECECEC; text-align: left; font-weight: 700; padding: 2mm 2.5mm; font-size: 9.5pt; }
.letter-items td { padding: 2.5mm; border-bottom: 1px solid #E2E2E2; vertical-align: top; }
.letter-items td span { display: block; font-size: 9.5pt; color: #333; }
.letter-items .num { text-align: right; }
.letter-items .pos { width: 10mm; }
.letter-totals { margin: 4mm 0 0 auto; width: 100%; border-collapse: collapse; }
.letter-totals th { text-align: left; font-weight: 400; padding: 2mm 2.5mm 2mm 12.5mm; background: #F4F4F4; }
.letter-totals td { text-align: right; padding: 2mm 2.5mm; background: #F4F4F4; width: 35mm; }
.letter-totals tr + tr th, .letter-totals tr + tr td { border-top: 2px solid #fff; }
.letter-totals .grand th, .letter-totals .grand td { font-weight: 700; background: #E4E4E4; }
.letter-note { margin-top: 8mm; font-size: 10pt; }
.letter-note p { margin: 0 0 2mm; }
.letter-foot { margin-top: auto; padding-top: 6mm; border-top: 1px solid #CCC; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6mm;
  font-size: 7.5pt; color: #555; line-height: 1.5; }
@media (max-width: 720px) {
  .letter { padding: 18px; min-height: 0; }
  .letter-top { flex-direction: column-reverse; }
  .letter-left { padding-top: 0; }
  .letter-right { width: 100%; }
  .letter-foot { grid-template-columns: 1fr; }
}
@media print {
  @page { size: A4; margin: 0; }
  .letter-page { background: #fff; padding: 0; min-height: 0; }
  .letter { box-shadow: none; margin: 0; max-width: none; width: 210mm; min-height: 297mm; }
  .letter-items th, .letter-totals th, .letter-totals td, .letter-paid { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* edge-to-edge panels: give the outer columns room */
.panel.flush table.data th:first-child, .panel.flush table.data td:first-child { padding-left: 22px; }
.panel.flush table.data th:last-child, .panel.flush table.data td:last-child { padding-right: 22px; }
.panel.flush table.data th { padding-top: 14px; padding-bottom: 14px; }

.ov-card form { grid-column: 1 / -1; margin-top: 14px; }
.ov-link { padding: 0; font-size: 14px; font-weight: 600; color: var(--accent); }
[data-theme="dark"] .ov-link { color: color-mix(in srgb, var(--accent) 55%, #fff); }
