/* The admin: warm neutral surfaces, one brand colour (the yellow of the app), semantic colours only for meaning. No inline styles (the page policy forbids them). */
:root {
  color-scheme: light dark;
  --bg: #f5f3ec; --surface: #ffffff; --surface-2: #faf8f2; --ink: #1c1b17; --ink-2: #5a574c; --ink-3: #8a8678;
  --line: #e6e2d5; --line-2: #eeebe0;
  --brand: #f6bf42; --brand-ink: #241d08; --brand-soft: #fcefc8;
  --ok: #2c7a38; --ok-soft: #e2f1e3; --warn: #8f6200; --warn-soft: #fff0cc; --bad: #b3261e; --bad-soft: #fce4e1; --info: #2a5ca6; --info-soft: #e3ecf8;
  --radius: 16px; --radius-sm: 10px; --shadow: 0 1px 2px rgba(40, 32, 10, .05), 0 10px 24px -14px rgba(40, 32, 10, .18);
  --side: 244px; --nav-h: 64px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #12120e; --surface: #1c1b17; --surface-2: #22211b; --ink: #f4f1e7; --ink-2: #bfbbab; --ink-3: #8e8a7c;
    --line: #34322a; --line-2: #2a2923; --brand-soft: #3a3112;
    --ok: #86cf90; --ok-soft: #1d3320; --warn: #f2c862; --warn-soft: #3a2f11; --bad: #ff9489; --bad-soft: #43201d; --info: #94bbf0; --info-soft: #1b2b44;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 24px -14px rgba(0, 0, 0, .6);
  }
}
* { box-sizing: border-box; }
html, body, #app { height: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, textarea, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
svg.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }
.soft { color: var(--ink-3); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons, chips, badges ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 12px; background: var(--brand); color: var(--brand-ink); font-weight: 650; text-decoration: none; transition: transform .08s ease, filter .15s ease; }
.btn:hover { filter: brightness(1.04); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .5; cursor: default; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); font-weight: 550; }
.btn.ghost:hover { background: var(--surface-2); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); }
.icon-btn:hover { background: var(--surface-2); color: var(--ink); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink-2); white-space: nowrap; }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); font-weight: 600; }
.chip b { font-weight: 650; font-variant-numeric: tabular-nums; opacity: .7; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; }
.badge.info { background: var(--info-soft); color: var(--info); border-color: transparent; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); flex: none; }
.dot.ok { background: var(--ok); } .dot.warn { background: #d9a31b; } .dot.bad { background: var(--bad); }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 700; font-size: 15px; flex: none; background: var(--brand-soft); color: var(--warn); }
.avatar.lg { width: 56px; height: 56px; font-size: 20px; }
.avatar.sm { width: 32px; height: 32px; font-size: 13px; }
.av1 { background: var(--info-soft); color: var(--info); } .av2 { background: var(--ok-soft); color: var(--ok); } .av3 { background: var(--bad-soft); color: var(--bad); } .av4 { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }

/* ---------- login ---------- */
.login-wrap { min-height: 100%; display: grid; place-items: center; padding: 24px 16px; }
.login { width: 100%; max-width: 420px; padding: 32px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); text-align: center; }
.mark { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 15px; background: var(--brand); color: var(--brand-ink); font-weight: 800; font-size: 20px; letter-spacing: -.02em; }
.login h1 { margin: 16px 0 6px; font-size: 24px; letter-spacing: -.01em; }
.login .lead { margin: 0 0 22px; color: var(--ink-2); }
.steps { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; text-align: left; }
.steps li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 14px; }
.steps .n { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--warn); font-weight: 700; font-size: 13px; flex: none; }
.login .btn { width: 100%; }
.waiting { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; color: var(--ink-2); font-size: 14px; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--brand); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.login .error { margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: var(--bad-soft); color: var(--bad); font-size: 14px; }

/* ---------- shell: the menu at the side on a computer, at the bottom on a phone ---------- */
.back-btn { display: none; }
button.card { font: inherit; color: inherit; }
.app { display: grid; grid-template-columns: var(--side) minmax(0, 1fr); height: 100%; }
.side { display: flex; flex-direction: column; gap: 6px; padding: 18px 12px 14px; background: var(--surface); border-right: 1px solid var(--line); min-height: 0; }
.brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 18px; }
.brand .mark { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; }
.brand-t { font-weight: 700; line-height: 1.2; }
.brand-t small { display: block; color: var(--ink-3); font-weight: 500; font-size: 12.5px; }
.menu { display: flex; flex-direction: column; gap: 4px; }
.menu button { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 12px; background: none; color: var(--ink-2); text-align: left; font-weight: 550; }
.menu button:hover { background: var(--surface-2); color: var(--ink); }
.menu button[aria-current="page"] { background: var(--brand-soft); color: var(--ink); font-weight: 650; }
.menu button[aria-current="page"] svg { color: var(--warn); }
.menu .count { margin-left: auto; min-width: 22px; padding: 1px 7px; border-radius: 11px; background: var(--bad); color: #fff; font-size: 12px; font-weight: 700; text-align: center; }
.me { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 12px 8px 0; border-top: 1px solid var(--line-2); }
.me-name { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.me-name small { display: block; color: var(--ink-3); font-weight: 500; font-size: 12.5px; }
.content { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.top { display: none; }
.banner[hidden] { display: none; }
.banner { display: flex; align-items: center; gap: 10px; padding: 10px 20px; background: var(--warn-soft); color: var(--warn); font-size: 14px; font-weight: 550; }
main { flex: 1; min-height: 0; overflow-y: auto; padding: 28px clamp(16px, 3vw, 40px) 48px; }
main > .page { max-width: 1180px; margin: 0 auto; }
main.fill { display: flex; flex-direction: column; overflow: hidden; padding-bottom: 20px; }
main.fill > .page { flex: 1; min-height: 0; width: 100%; display: flex; flex-direction: column; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { margin: 0; font-size: 26px; letter-spacing: -.015em; line-height: 1.2; }
.page-head .sub { margin: 4px 0 0; color: var(--ink-3); font-size: 14px; }
h2 { margin: 30px 0 12px; font-size: 16px; letter-spacing: -.005em; display: flex; align-items: baseline; gap: 10px; }
h2 small { color: var(--ink-3); font-weight: 500; font-size: 13px; }

/* ---------- cards and numbers ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.pad { padding: 18px 20px; }
.grid { display: grid; gap: 14px; }
.grid.k3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid.k4 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.kpi { padding: 16px 18px; }
.kpi .v { font-size: 30px; font-weight: 750; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi .v small { font-size: 16px; font-weight: 600; color: var(--ink-3); margin-left: 4px; }
.kpi .l { margin-top: 6px; color: var(--ink-2); font-size: 14px; }
.kpi .d { margin-top: 8px; font-size: 13px; color: var(--ink-3); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.delta { font-weight: 650; padding: 1px 8px; border-radius: 999px; font-size: 12.5px; }
.delta.up { background: var(--ok-soft); color: var(--ok); } .delta.down { background: var(--bad-soft); color: var(--bad); } .delta.flat { background: var(--surface-2); color: var(--ink-3); }
a.kpi, button.kpi { display: block; width: 100%; text-align: left; text-decoration: none; color: inherit; }
button.kpi:hover, .attn:hover { border-color: var(--brand); }

/* attention */
.attn-list { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.attn { display: flex; align-items: center; gap: 14px; padding: 14px 16px; text-align: left; width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.attn .ic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px; flex: none; }
.attn .ic.bad { background: var(--bad-soft); color: var(--bad); } .attn .ic.warn { background: var(--warn-soft); color: var(--warn); } .attn .ic.info { background: var(--info-soft); color: var(--info); } .attn .ic.ok { background: var(--ok-soft); color: var(--ok); }
.attn b { display: block; font-weight: 650; }
.attn span.t { color: var(--ink-2); font-size: 14px; }
.attn .go { margin-left: auto; color: var(--ink-3); }
.allgood { display: flex; align-items: center; gap: 12px; padding: 14px 18px; color: var(--ok); background: var(--ok-soft); border-radius: var(--radius); font-weight: 600; }

/* stacked bar of the plans */
.stack { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: var(--line-2); }
.stack i { display: block; height: 100%; }
.stack .s-paid { background: var(--ok); } .stack .s-trial { background: var(--brand); } .stack .s-ended { background: var(--bad); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; font-size: 14px; color: var(--ink-2); }
.legend span { display: inline-flex; align-items: center; gap: 7px; }

/* column chart */
.cols { display: flex; align-items: flex-end; gap: 4px; height: 128px; padding: 22px 6px 0; }
.col { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; }
.col i { display: block; width: 100%; max-width: 28px; background: var(--brand); border-radius: 5px 5px 0 0; min-height: 3px; }
.col i.zero { background: var(--line); }
.col em { font-style: normal; font-size: 11px; color: var(--ink-3); position: absolute; top: 0; }
.axis { display: flex; justify-content: space-between; padding: 6px 6px 0; color: var(--ink-3); font-size: 12px; }

/* funnel */
.funnel { padding: 6px 20px 14px; }
.frow { display: grid; grid-template-columns: 200px minmax(0, 1fr) 150px; gap: 14px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.frow:last-child { border-bottom: 0; }
.frow .fl { font-weight: 550; }
.fbar { height: 16px; border-radius: 8px; background: var(--line-2); overflow: hidden; }
.fbar i { display: block; height: 100%; min-width: 3px; border-radius: 8px; background: var(--brand); }
.fbar i.low { background: #e7b24a; }
.frow .fv { text-align: right; font-variant-numeric: tabular-nums; }
.frow .fv .loss { display: block; font-size: 12.5px; color: var(--ink-3); }
.frow .fv .loss.worst { color: var(--bad); font-weight: 650; }
.insight { display: flex; gap: 12px; align-items: flex-start; margin: 14px 0 0; padding: 14px 16px; border-radius: var(--radius); background: var(--warn-soft); color: var(--ink); }
.insight svg { color: var(--warn); margin-top: 2px; }

/* tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: middle; }
th { color: var(--ink-3); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }
td.r, th.r { text-align: right; font-variant-numeric: tabular-nums; }
table.hover tbody tr { cursor: pointer; }
table.hover tbody tr:hover { background: var(--surface-2); }
.three { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.lbox { padding: 4px 18px; }
.lrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); }
.lrow:last-child { border-bottom: 0; }
.lrow .lt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lrow .lb { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: var(--line-2); overflow: hidden; margin-top: -4px; }
.lrow .lb i { display: block; height: 100%; background: var(--brand); border-radius: 3px; }

/* masters */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 260px; max-width: 420px; }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-3); }
.search input { width: 100%; min-height: 44px; padding: 0 14px 0 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.person { display: flex; align-items: center; gap: 12px; min-width: 0; }
.person .pn { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.person .ps { color: var(--ink-3); font-size: 13px; }
.seen { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 14px; white-space: nowrap; }
.crumbs { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.hero { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding: 20px; }
.hero h1 { margin: 0; font-size: 22px; letter-spacing: -.01em; }
.hero .facts { display: flex; gap: 8px 16px; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.timeline { padding: 6px 0; }
.tl { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 9px 18px; }
.tl .tdot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); justify-self: center; box-shadow: 0 0 0 4px var(--brand-soft); }
.tl .tdot.muted { background: var(--line); box-shadow: none; }
.tl .tt { color: var(--ink-3); font-size: 13px; white-space: nowrap; }
.dayhead { padding: 10px 18px 4px; color: var(--ink-3); font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .04em; }

/* support */
.support { flex: 1; min-height: 0; display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 16px; }
.pane { display: flex; flex-direction: column; min-height: 0; overflow: hidden; }
.pane-head { padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
.list { overflow-y: auto; flex: 1; }
.item { display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 13px 16px; border: 0; border-bottom: 1px solid var(--line-2); background: none; text-align: left; }
.item:hover { background: var(--surface-2); }
.item.on { background: var(--brand-soft); }
.item .body { flex: 1; min-width: 0; }
.item .top1 { display: flex; gap: 8px; align-items: baseline; }
.item .nm { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .tm { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; }
.item .pv { color: var(--ink-2); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item.new .nm { font-weight: 750; } .item.new .pv { color: var(--ink); }
.thread-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line-2); flex-wrap: wrap; }
.thread-head .ti { flex: 1; min-width: 160px; }
.thread-head .ti b { display: block; }
.msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--surface-2); }
.sep { align-self: center; margin: 8px 0 2px; padding: 2px 12px; border-radius: 999px; background: var(--line-2); color: var(--ink-3); font-size: 12.5px; font-weight: 600; }
.msg { max-width: min(78%, 560px); padding: 9px 13px 7px; border-radius: 16px 16px 16px 4px; background: var(--surface); border: 1px solid var(--line); white-space: pre-wrap; word-wrap: break-word; overflow-wrap: anywhere; }
.msg.out { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--brand-soft); border-color: transparent; }
.msg small { display: flex; gap: 8px; justify-content: flex-end; margin-top: 3px; color: var(--ink-3); font-size: 11.5px; }
.msg small.bad { color: var(--bad); }
.composer { border-top: 1px solid var(--line-2); padding: 10px 12px 12px; }
.tpl { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; }
.tpl .chip { min-height: 32px; font-size: 13px; padding: 0 12px; flex: none; }
.compose { display: flex; gap: 10px; align-items: flex-end; }
.compose textarea { flex: 1; min-height: 44px; max-height: 160px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); resize: none; line-height: 1.4; }
.hint { margin-top: 6px; color: var(--ink-3); font-size: 12.5px; }

/* states */
.empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 44px 20px; text-align: center; color: var(--ink-3); }
.empty .ic { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 16px; background: var(--surface-2); color: var(--ink-3); }
.empty b { color: var(--ink); font-size: 16px; }
.skeleton { display: grid; gap: 14px; }
.skeleton i { display: block; height: 96px; border-radius: var(--radius); background: linear-gradient(90deg, var(--line-2), var(--surface-2), var(--line-2)); background-size: 200% 100%; animation: shimmer 1.3s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.toast { position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px); transform: translateX(-50%); z-index: 20; padding: 11px 18px; border-radius: 12px; background: var(--ink); color: var(--bg); font-weight: 550; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
@media (min-width: 900px) { .toast { bottom: 28px; } }
@media (prefers-reduced-motion: reduce) { .spinner, .skeleton i { animation: none; } .btn { transition: none; } }

/* ---------- a phone: the menu goes to the bottom, the lists and the thread take turns ---------- */
@media (max-width: 899px) {
  .app { display: flex; flex-direction: column; }
  .side { order: 2; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; flex-direction: row; padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-right: 0; border-top: 1px solid var(--line); height: auto; gap: 0; }
  .side .brand, .side .me { display: none; }
  .menu { flex-direction: row; width: 100%; gap: 2px; }
  .menu button { flex: 1; flex-direction: column; justify-content: center; gap: 2px; min-height: 52px; padding: 4px 2px; font-size: 11.5px; text-align: center; }
  .menu .count { position: absolute; top: 2px; left: 54%; margin: 0; min-width: 18px; font-size: 11px; padding: 0 5px; }
  .content { flex: 1; min-height: 0; padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom)); }
  .top { display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .top .mark { width: 32px; height: 32px; border-radius: 10px; font-size: 13px; }
  .top .tt { font-weight: 700; flex: 1; }
  main { padding: 18px 14px 28px; }
  .page-head h1 { font-size: 22px; }
  .back-btn { display: inline-flex; }
  .composer .hint { display: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .support { grid-template-columns: 1fr; }
  .support.has-thread .pane-list { display: none; }
  .support:not(.has-thread) .pane-thread { display: none; }
  .frow { grid-template-columns: minmax(0, 1fr) 110px; }
  .frow .fbar { grid-column: 1 / -1; order: 3; }
  .msg { max-width: 88%; }
  .kpi .v { font-size: 26px; }
  table.cards thead { display: none; }
  table.cards, table.cards tbody, table.cards tr, table.cards td { display: block; }
  table.cards tr { padding: 12px 14px; border-bottom: 1px solid var(--line-2); }
  table.cards td { padding: 2px 0; border: 0; }
  table.cards td.r { text-align: left; }
  table.cards td[data-l]::before { content: attr(data-l) ": "; color: var(--ink-3); font-size: 13px; }
}
td[data-l="Телефон"], .person .pn { white-space: nowrap; }
