/* CRM for Medilife — single stylesheet, no framework.
   One palette, defined once. Per-page colour overrides are how drift starts,
   so there are none: every green on every screen is --accent.
   2026-08-04 owner ruling: the CRM adopts the Xenicon dashboard's design
   language (tokens, pills, cards, tables). Styling only — structure and
   behavior are Medilife's own and no logic crosses projects. */
:root {
  --bg: #f8fbf7;
  --surface: #ffffff;
  --surface2: #f7f9f6;
  --border: rgba(24, 33, 22, .08);
  --border-strong: rgba(24, 33, 22, .16);
  --text: #182116;
  --text2: #666666;
  --text3: #6f7a6c;
  --accent: #2E7D32;
  --accent-dark: #1b5e20;
  --accent-tint: rgba(67, 201, 75, .10);
  --green: #2E7D32;
  --red: #c62828;
  --red-bg: #fff0f0;
  --blue: #1565C0;
  --blue-bg: #eef7ff;
  --amber: #b45309;
  --amber-bg: #fff7e8;
  --green-bg: #e8f5e9;
  --radius: 18px;
  --shadow: 0 6px 18px rgba(24, 33, 22, .04);
  --shadow-lg: 0 20px 40px rgba(34, 48, 33, .06);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  background: linear-gradient(180deg, #f8fbf7 0%, #f5f7f4 100%); color: var(--text); min-height: 100vh;
  font: 14px/1.6 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.3px; margin: 0 0 .9rem; }
h2 {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  color: var(--text3); margin: 0 0 .8rem;
  display: flex; justify-content: space-between; align-items: baseline;
}
.h-sub { font-size: .82rem; font-weight: 400; color: var(--text3); margin-left: .5rem; text-transform: none; letter-spacing: 0; }
h1 .h-sub { font-size: .82rem; }
.more { font-size: 11px; font-weight: 500; text-transform: none; letter-spacing: 0; }
.muted { color: var(--text3); font-size: .88em; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
b { font-variant-numeric: tabular-nums; }

/* top shell */
.topbar {
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--border);
  padding: .65rem 1.4rem;
}
.brand {
  font-size: 12px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase;
  color: var(--accent);
}
.brand::before {
  content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); margin-right: 8px; vertical-align: 1px;
}
.brand em { font-style: normal; color: var(--text3); font-weight: 400; letter-spacing: .5px; }
.departments { display: flex; gap: .4rem; flex-wrap: wrap; flex: 1; }
.pill {
  color: var(--text2); padding: .32rem .85rem; border-radius: 999px; font-size: 12px;
  font-weight: 600; border: 1px solid var(--border); background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow); transition: all .15s;
}
.pill:hover { color: var(--text); text-decoration: none; }
.pill.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.user { display: flex; align-items: center; gap: .7rem; font-size: 12px; color: var(--text2); }
.linklike {
  background: none; border: none; color: var(--red); cursor: pointer;
  font-size: 12px; font-weight: 600; padding: 0; font-family: inherit;
}
.linklike:hover { text-decoration: underline; }

/* tabs */
.tabs {
  display: flex; gap: 4px; background: rgba(24, 33, 22, .06);
  box-shadow: inset 0 1px 2px rgba(24, 33, 22, .05);
  padding: 4px; margin: 12px auto 0; width: fit-content; max-width: min(100%, 1280px);
  border-radius: 999px; overflow-x: auto;
}
.tabs a {
  padding: 9px 14px; color: var(--text2); white-space: nowrap; font-size: 12px;
  font-weight: 700; border-radius: 999px; transition: all .15s;
}
.tabs a:hover { color: var(--text); text-decoration: none; }
.tabs a.active { color: #1f2d1d; background: #fff; box-shadow: 0 2px 8px rgba(24, 33, 22, .08); }

main { padding: 1.2rem 1.4rem; max-width: 1280px; margin: 0 auto; }

/* cards */
.card {
  background: rgba(255, 255, 255, .94); border: 1px solid rgba(24, 33, 22, .05); border-radius: var(--radius);
  padding: 1rem 1.1rem; margin-bottom: 1rem; box-shadow: var(--shadow-lg);
}
.grid2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 880px) { .grid2 { grid-template-columns: 1fr 1fr; } }

/* KPIs — dashboard style: micro-label above a big tabular number */
.kpis {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: .9rem; margin-bottom: 1.1rem;
}
.kpi {
  background: linear-gradient(180deg, rgba(248, 250, 247, .95), rgba(255, 255, 255, .98));
  border: 1px solid rgba(24, 33, 22, .06); border-radius: var(--radius);
  padding: 14px 15px;
}
.kpi-label {
  font-size: 10px; color: var(--text3); text-transform: uppercase; letter-spacing: .9px;
  font-weight: 800; margin-bottom: .45rem;
}
.kpi-num { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.15; }
.kpi-num.green { color: var(--green); }
.kpi-num.blue { color: var(--blue); }
.kpi-num.red { color: var(--red); }
.kpi.alert { border-color: #ffc2c2; background: #fffafa; }
.kpi.alert .kpi-num { color: var(--red); }

/* tables */
table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
td, th { padding: .5rem .6rem; vertical-align: top; }
table.list thead th {
  text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .6px;
  color: var(--text3); font-weight: 800; background: var(--surface2);
  border-bottom: 1px solid var(--border);
}
table.list thead th.right { text-align: right; }
table.list tbody tr { border-bottom: 1px solid rgba(24, 33, 22, .06); }
table.list tbody tr:last-child { border-bottom: none; }
table.list tbody tr:hover td, .card table tr:hover td { background: #f9fbf8; }
tfoot td { border-top: 2px solid var(--border-strong); }
tr.overdue td:first-child { box-shadow: inset 3px 0 0 var(--red); }
tr.overdue { background: var(--red-bg); }
li.done, tr.done { opacity: .55; }

/* badges & tags — soft dashboard palette */
.badge {
  display: inline-block; font-size: 11px; font-weight: 600; border-radius: 999px;
  padding: .12rem .55rem; margin-right: .3rem; vertical-align: middle;
  font-variant-numeric: tabular-nums;
}
.badge.tS { background: var(--accent-tint); color: var(--accent-dark); }
.badge.tP { background: var(--blue-bg); color: var(--blue); }
.badge.tR { background: var(--red-bg); color: var(--red); }
.badge.tV { background: var(--surface2); color: var(--text2); }
.badge.knote { background: var(--surface2); color: var(--text2); }
.badge.kfollowup { background: var(--blue-bg); color: var(--blue); }
.badge.kcollection { background: var(--amber-bg); color: var(--amber); }
.tag-overdue, .tag-inactive {
  display: inline-block; font-size: 10px; font-weight: 800; text-transform: uppercase;
  letter-spacing: .5px; color: var(--red); background: var(--red-bg);
  border-radius: 999px; padding: .12rem .5rem; margin-left: .35rem;
}

/* forms & filters */
.filters { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: .9rem; }
input[type="search"], input[type="text"], input[type="password"], input[type="date"],
input[type="number"], select, textarea {
  font: inherit; font-size: 13px; padding: .45rem .8rem; border: 1px solid var(--border);
  border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--text); max-width: 100%;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
textarea { border-radius: 14px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(46, 125, 50, .12); }
input[type="search"] { min-width: 240px; flex: 1; }
textarea { width: 100%; resize: vertical; }
.check { font-size: 12px; color: var(--text2); display: flex; gap: .35rem; align-items: center; }
.btn {
  font: inherit; font-size: 12px; font-weight: 600; padding: .45rem 1rem; border-radius: 999px;
  cursor: pointer; border: 1px solid var(--border); background: rgba(255, 255, 255, .92);
  color: var(--text2); box-shadow: var(--shadow); transition: all .15s;
}
.btn:hover { border-color: var(--border-strong); color: var(--text); }
.btn.primary { background: var(--accent); border-color: transparent; color: #fff; box-shadow: 0 10px 20px rgba(46, 125, 50, .18); }
.btn.primary:hover { background: var(--accent-dark); border-color: transparent; color: #fff; }
.btn.small { font-size: 11px; padding: .2rem .6rem; }
.btn.wide { width: 100%; }
form.inline { display: inline; }

/* note form + timeline */
.note-form { margin-bottom: .9rem; display: flex; flex-direction: column; gap: .45rem; align-items: flex-start; }
.note-row { display: flex; gap: .45rem; flex-wrap: wrap; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { padding: .55rem 0; border-bottom: 1px solid rgba(24, 33, 22, .06); }
.timeline li:last-child { border-bottom: none; }
.timeline li.overdue { background: var(--red-bg); border-radius: 10px; padding-left: .5rem; }

/* detail header */
.detail-head { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; margin-bottom: .8rem; }
.detail-head p { margin: .15rem 0; }
.stat-box {
  background: linear-gradient(180deg, rgba(248, 250, 247, .95), rgba(255, 255, 255, .98));
  border: 1px solid rgba(24, 33, 22, .06); border-radius: var(--radius);
  padding: .8rem 1.1rem; min-width: 240px; font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.stat-box b { font-size: 17px; color: var(--green); }

/* misc */
.flash { padding: .6rem .9rem; border-radius: var(--radius); margin-bottom: .9rem; font-size: 13px; border: 1px solid var(--border); background: rgba(255, 255, 255, .92); }
.flash.success { background: var(--green-bg); border-color: transparent; color: #1b5e20; }
.flash.error { background: var(--red-bg); border-color: #ffc2c2; color: var(--red); }
.flash.warn, .flash.warning { background: var(--amber-bg); border-color: #f0d9ac; color: var(--amber); }
.subnav { display: flex; gap: .9rem; margin: 0 0 .8rem; font-size: 12px; font-weight: 600; }
.subnav a { color: var(--text2); padding-bottom: .15rem; }
.subnav a.active { color: var(--accent-dark); border-bottom: 2px solid var(--accent); }
.pagination { display: flex; gap: 1rem; align-items: center; justify-content: center; font-size: 12px; color: var(--text3); }
.syncline { font-size: 11px; color: var(--text3); text-align: right; }
.syncline.stale { color: var(--red); font-weight: 600; }

/* login */
.login-wrap { display: flex; justify-content: center; padding-top: 10vh; }
.login-card { width: 330px; border-radius: 24px; box-shadow: var(--shadow-lg); }
.login-card .brand { display: block; margin-bottom: 1.2rem; }
.login-card label { display: block; margin-bottom: .75rem; font-size: 12px; color: var(--text2); font-weight: 600; }
.login-card input { width: 100%; margin-top: .25rem; }

/* 6-month trend */
.trend { display: flex; flex-direction: column; gap: .35rem; }
.trend-row { display: flex; align-items: center; gap: .6rem; }
.trend-label { width: 52px; font-size: 11px; color: var(--text3); text-align: right; }
.trend-track { flex: 1; background: var(--surface2); border-radius: 999px; height: 13px; }
.trend-bar { background: var(--accent); border-radius: 999px; height: 13px; min-width: 2px; transition: width .3s; }
.trend-value { width: 90px; font-size: 12px; font-variant-numeric: tabular-nums; text-align: right; }

/* nav search + user links */
.navsearch input[type="search"] { min-width: 150px; font-size: 12px; padding: .3rem .7rem; }
.userlink { font-size: 12px; font-weight: 600; color: var(--text2); }
.userlink:hover { color: var(--accent-dark); }
/* Phones keep the customer search — it moves to its own full row instead
   of disappearing (it is the most-used control on the move). */
@media (max-width: 620px) {
  .navsearch { order: 10; width: 100%; }
  .navsearch input[type="search"] { width: 100%; min-width: 0; }
  .user { flex-wrap: wrap; }
}

/* phones: the page itself NEVER scrolls sideways. Wide tables pan inside
   their own strip; filters and actions stack full-width under the thumb. */
@media (max-width: 700px) {
  main { padding: .9rem .8rem; }
  .card { padding: .85rem .8rem; }
  table.list {
    display: block; overflow-x: auto; -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
  td, th { padding: .45rem .5rem; }
  .filters { flex-direction: column; align-items: stretch; }
  .filters input, .filters select, .filters .btn { width: 100%; }
  input[type="search"] { min-width: 0; }
  .detail-head { flex-direction: column; }
  .stat-box { min-width: 0; width: 100%; }
  .btn { padding: .55rem 1rem; }
  .note-row { flex-direction: column; align-items: stretch; }
  .note-row input, .note-row select, .note-row .btn { width: 100%; }
}

/* empty states — a quiet card that says what to do next, never a bare void */
.empty {
  text-align: center; padding: 2.2rem 1rem; color: var(--text3);
  font-size: 13px; line-height: 1.7;
}
.empty b { display: block; font-size: 14px; color: var(--text2); margin-bottom: .15rem; }

/* in-place hints — the approved subtle disclosure pattern; no popups */
.hint { color: var(--text3); font-size: 11.5px; line-height: 1.55; margin: .35rem 0 0; }
details.hint-more { margin-top: .4rem; }
details.hint-more summary {
  cursor: pointer; list-style: none; color: var(--accent-dark);
  font-size: 11.5px; font-weight: 650; width: fit-content;
}
details.hint-more summary::-webkit-details-marker { display: none; }
details.hint-more summary::after { content: " ▾"; font-size: 9px; }
details.hint-more[open] summary::after { content: " ▴"; }
details.hint-more p { margin: .3rem 0 0; color: var(--text3); font-size: 11.5px; line-height: 1.55; }

/* global sales dashboard (legacy shared hooks; the Sales pages load their own
   copied stylesheet after this one) */
.sales-head { display: flex; gap: 1rem; align-items: end; justify-content: space-between; flex-wrap: wrap; margin-bottom: .65rem; }
.sales-head .pagetitle { margin-bottom: .1rem; }
.sales-eyebrow { color: var(--accent); font-size: 10px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }
.sales-filters { display: flex; gap: .55rem; align-items: end; flex-wrap: wrap; }
.sales-filters label { display: grid; gap: .2rem; color: var(--text3); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.sales-filters input[type="date"] { border-radius: 999px; background: rgba(255,255,255,.92); }
.quick-ranges { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: .8rem; font-size: 12px; }
.sales-range-bar { gap: .25rem; padding: .25rem; width: fit-content; max-width: 100%; overflow-x: auto; border-radius: 999px; background: rgba(24, 33, 22, .06); }
.sales-range-bar a { padding: .5rem .8rem; border-radius: 999px; color: var(--text2); white-space: nowrap; }
.sales-range-bar a:hover { color: var(--text); background: rgba(255, 255, 255, .72); text-decoration: none; }
.sales-view-switch { display: flex; gap: .2rem; padding: .25rem; width: fit-content; max-width: 100%; overflow-x: auto; border-radius: 999px; background: rgba(24, 33, 22, .06); margin-bottom: .8rem; }
.sales-view-switch a { padding: .5rem .8rem; border-radius: 999px; color: var(--text2); font-size: 12px; font-weight: 700; white-space: nowrap; }
.sales-view-switch a:hover { color: var(--text); text-decoration: none; }
.sales-view-switch a.active { color: #1f2d1d; background: #fff; box-shadow: 0 2px 8px rgba(24, 33, 22, .08); }
.division-switch { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 1rem; }
.division-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: .8rem; margin-bottom: .55rem; }
.division-group { min-width: 0; display: grid; gap: .4rem; align-content: start; }
.division-children { display: grid; gap: .4rem; padding-left: .55rem; border-left: 2px solid var(--accent-tint); }
.division-card { display: flex; flex-direction: column; gap: .18rem; padding: .9rem 1rem; border: 1px solid rgba(24, 33, 22, .06); border-radius: var(--radius); background: linear-gradient(180deg, rgba(248, 250, 247, .95), rgba(255, 255, 255, .98)); color: var(--text2); }
.division-card:hover { border-color: var(--accent); text-decoration: none; }
.division-card.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-tint); }
.division-card.subset { background: var(--surface2); }
.division-card strong { color: var(--text); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.division-card span { font-size: 11px; }
.division-name { color: var(--accent-dark); font-size: 12px !important; font-weight: 800; text-transform: uppercase; letter-spacing: .55px; }
.division-parent { color: var(--text3); font-size: 10px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.division-note { color: var(--text3); font-size: 11px; margin: 0 0 1rem; }
.sales-grid .card { min-width: 0; }
.sales-span-2 { grid-column: 1 / -1; }
.table-scroll { overflow-x: auto; }
.sales-trend-label { width: 68px; }
.sales-section-head { display: flex; align-items: start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: .75rem; }
.sales-section-head h2 { margin: 0 0 .2rem; }
.sales-section-head p, .table-note { margin: 0; color: var(--text3); font-size: 11px; line-height: 1.5; }
.table-note { margin-top: .7rem; }
.sales-search { display: flex; gap: .4rem; flex: 1; min-width: min(100%, 320px); justify-content: end; }
.sales-search input[type="search"] { max-width: 360px; }
.sales-summary-hero { display: flex; gap: 2rem; justify-content: space-between; align-items: end; }
.sales-summary-hero p { color: var(--text2); margin: .4rem 0 0; }
.sales-summary-value { color: var(--text); font-size: clamp(32px, 6vw, 52px); font-weight: 700; letter-spacing: -1.5px; line-height: 1; font-variant-numeric: tabular-nums; }
.sales-summary-compare { display: grid; gap: .25rem; text-align: right; }
.sales-summary-compare strong, .invoice-total { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.sales-summary-compare span { font-size: 13px; font-weight: 700; }
.green { color: var(--green); }
.red { color: var(--red); }
.invoice-meta { display: flex; gap: .6rem 1.2rem; flex-wrap: wrap; padding: .65rem 0; margin-bottom: .5rem; color: var(--text2); font-size: 12px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.invoice-focus { border-color: var(--accent); }
.invoice-results a { color: var(--accent-dark); }
.invoice-modal-backdrop {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(17,24,16,.42); backdrop-filter: blur(2px);
}
.invoice-modal-backdrop[hidden] { display: none; }
.invoice-modal {
  width: min(760px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: #fff; border: 1px solid rgba(24, 33, 22, .05); border-radius: 24px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22); animation: invoice-modal-in .2s ease;
}
.invoice-modal__header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  position: sticky; top: 0; z-index: 1; padding: .9rem 1.1rem;
  background: rgba(255,255,255,.96); border-bottom: 1px solid #eef1ec;
}
.invoice-modal__eyebrow { color: var(--accent-dark); font-size: 10px; font-weight: 800; letter-spacing: 1.1px; text-transform: uppercase; }
.invoice-modal__close { border: 0; background: transparent; color: var(--text2); font-size: 26px; line-height: 1; cursor: pointer; padding: .1rem .35rem; border-radius: 12px; }
.invoice-modal__close:hover { background: #f3f5f2; color: var(--text); }
.invoice-modal__content { padding: 1rem 1.1rem 1.1rem; }
.invoice-modal__content .invoice-focus { margin: 0; box-shadow: none; }
.invoice-modal__loading, .invoice-modal__error { padding: 2.5rem 1rem; text-align: center; color: var(--text2); }
body.invoice-modal-open { overflow: hidden; }
@keyframes invoice-modal-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 620px) {
  .sales-filters { width: 100%; }
  .sales-filters label { flex: 1; }
  .sales-filters input { width: 100%; }
  .sales-filters .btn { width: 100%; }
  .division-grid { grid-template-columns: 1fr 1fr; }
  .trend-value { width: 82px; }
  .sales-view-switch { width: 100%; border-radius: 12px; }
  .sales-search { width: 100%; justify-content: stretch; }
  .sales-search input[type="search"] { min-width: 0; width: 100%; }
  .sales-summary-hero { align-items: start; flex-direction: column; gap: 1rem; }
  .sales-summary-compare { text-align: left; }
  .invoice-modal-backdrop { align-items: end; padding: 0; }
  .invoice-modal { max-height: 90vh; border-radius: 22px 22px 0 0; }
  .tabs { width: 100%; border-radius: 12px; }
}
@media (max-width: 420px) { .division-grid { grid-template-columns: 1fr; } }


/* ---- freshness strip -------------------------------------------------- */
/* Every figure in the product hangs off this. It states the age of the data
   from Marg's own returned watermark, and says so plainly when that is old. */
.freshness {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  padding: .45rem .9rem; font-size: 12.5px; line-height: 1.4;
  border-bottom: 1px solid var(--border); background: var(--surface2);
  color: var(--text2);
}
.freshness__dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint);
}
.freshness__text b { color: var(--text); font-weight: 650; }
.freshness__note { font-weight: 650; }
.freshness--red { background: var(--red-bg); color: var(--red); }
.freshness--red .freshness__dot { background: var(--red); box-shadow: 0 0 0 3px rgba(198,40,40,.12); }
.freshness--red .freshness__text b { color: var(--red); }
.freshness--not_connected { background: var(--blue-bg); color: var(--blue); }
.freshness--not_connected .freshness__dot { background: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.12); }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 10;
  background: var(--surface); padding: .5rem .8rem; border: 1px solid var(--border);
}
.skip:focus { left: .5rem; top: .5rem; }
.userchip em { font-style: normal; color: var(--text3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.freshness__link { font-weight: 650; text-decoration: underline; }
.freshness--red .freshness__link { color: var(--red); }
.pagetitle { font-size: 20px; margin: 1rem 0 .8rem; letter-spacing: -.01em; }
.verdict__line { font-size: 16px; font-weight: 700; margin: 0 0 .35rem; }
.verdict__sub { margin: 0; color: var(--text2); font-size: 13.5px; line-height: 1.55; }
.verdict--red .verdict__line { color: var(--red); }
.verdict--not_connected .verdict__line { color: var(--blue); }
.cardtitle { font-size: 14px; margin: 0 0 .5rem; }
.tag { display: inline-block; padding: .12rem .55rem; border-radius: 999px;
  font-size: 11px; font-weight: 650; background: var(--surface2); color: var(--text2); }
.tag--ok { background: var(--accent-tint); color: var(--accent-dark); }
.tag--bad { background: var(--red-bg); color: var(--red); }
