@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
  --black: #000000;
  --bg: #000000;
  --surface: #0d0d0d;
  --grey-900: #1a1a1a;
  --grey-700: #2a2a2a;
  --grey-600: #3a3a3a;
  --grey-500: #555555;
  --grey-300: #bfbfbf;
  --white: #ffffff;
  --line: #222;
  --ok: #d9d9d9;
  --danger: #ff6b6b;
  --radius: 14px;
  --font: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--white); font-family: var(--font); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: 26px; }
h2 { font-size: 16px; }
h3 { font-size: 13px; }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey-300); }
.muted { color: var(--grey-300); }
.dim { color: var(--grey-500); }
.mono { font-variant-numeric: tabular-nums; }
.right { text-align: right; }
.hidden { display: none !important; }

/* ---------- layout ---------- */
.shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.side { border-right: 1px solid var(--line); padding: 28px 18px; position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 28px; background: var(--black); }
.side .brand img { width: 150px; display: block; margin: 0 auto; }
.nav { display: flex; flex-direction: column; gap: 4px; }
.nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; text-decoration: none; color: var(--grey-300); font-weight: 600; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; transition: .15s; }
.nav a:hover { background: var(--grey-900); color: var(--white); }
.nav a.active { background: var(--white); color: var(--black); }
.nav svg { width: 16px; height: 16px; flex: none; }
.nav-group-label { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-500); padding: 14px 14px 2px; }
.nav-group-label:first-child { padding-top: 0; }
.side .foot { margin-top: auto; }
.main { padding: 40px 48px 80px; max-width: 1280px; width: 100%; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.page-head .eyebrow { margin-bottom: 8px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.mt { margin-top: 24px; } .mt-s { margin-top: 12px; } .mb { margin-bottom: 16px; }

/* ---------- cards ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card.flush { padding: 0; overflow-x: auto; }
.card.flush td { white-space: nowrap; }
.split { grid-template-columns: 3fr 2fr; }
.split-rev { grid-template-columns: 2fr 3fr; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.card.flush .card-head { padding: 20px 22px 0; }
.kpi .label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey-300); }
.kpi .value { font-size: 28px; font-weight: 700; margin-top: 10px; letter-spacing: -0.02em; }
.kpi .sub { font-size: 12px; color: var(--grey-500); margin-top: 4px; }
.kpi.hero { background: var(--white); color: var(--black); border-color: var(--white); }
.kpi.hero .label, .kpi.hero .sub { color: #555; }

/* ---------- tables ---------- */
table { width: 100%; border-collapse: collapse; }
th { text-align: left; font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-500); padding: 12px 22px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 14px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr.click { cursor: pointer; transition: background .12s; }
tbody tr.click:hover { background: var(--grey-900); }
th.right, td.right { text-align: right; }
.empty { padding: 44px 22px; text-align: center; color: var(--grey-500); }
.info-table th, .info-table td { padding: 9px 6px; }
.info-table th { text-align: left; }
.info-table tr:first-child td { padding-top: 12px; }

/* ---------- forms + buttons ---------- */
label.f { display: block; }
label.f > span, .lab { display: block; font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey-300); margin-bottom: 8px; }
label.f > span .req, .lab .req { color: var(--white); }
.help { font-size: 12px; color: var(--grey-500); margin-top: 6px; }
input, select, textarea { width: 100%; background: var(--black); color: var(--white); border: 1px solid var(--grey-700); border-radius: 10px; padding: 12px 14px; font: inherit; outline: none; transition: border-color .15s, box-shadow .15s; }
input::placeholder, textarea::placeholder { color: var(--grey-500); }
input:focus, select:focus, textarea:focus { border-color: var(--grey-300); box-shadow: 0 0 0 3px rgba(255,255,255,.06); }
input[type=date] { color-scheme: dark; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: #fff; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23bfbfbf' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea { min-height: 96px; resize: vertical; }
.field-err { border-color: var(--danger) !important; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--white); background: var(--white); color: var(--black); border-radius: 999px; padding: 11px 22px; font: inherit; font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: .15s; white-space: nowrap; }
.btn:hover { background: var(--grey-300); border-color: var(--grey-300); }
.btn.ghost { background: transparent; color: var(--white); border-color: var(--grey-600); }
.btn.ghost:hover { border-color: var(--white); background: transparent; }
.btn.danger { background: transparent; color: var(--danger); border-color: #4a2222; }
.btn.danger:hover { border-color: var(--danger); }
.btn.sm { padding: 7px 14px; font-size: 11px; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.iconbtn { background: none; border: 0; color: var(--grey-500); cursor: pointer; padding: 6px; border-radius: 8px; font: inherit; }
.iconbtn:hover { color: var(--danger); background: var(--grey-900); }

/* ---------- pills / chips / tabs ---------- */
.pill { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--grey-600); color: var(--grey-300); }
.pill.solid { background: var(--white); color: var(--black); border-color: var(--white); }
.pill.good { border-color: var(--grey-300); color: var(--white); }
.acc-card > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; font-size: 16px; font-weight: 700; }
.acc-card > summary::-webkit-details-marker { display: none; }
.acc-card > summary::after { content: '▾'; color: var(--grey-500); font-size: 13px; transition: transform .15s; }
.acc-card[open] > summary::after { transform: rotate(180deg); }
.acc-card > summary + * { margin-top: 18px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; }
.tab { padding: 12px 18px; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-500); cursor: pointer; border: 0; background: none; border-bottom: 2px solid transparent; font-family: inherit; white-space: nowrap; }
.tab:hover { color: var(--white); }
.tab.active { color: var(--white); border-bottom-color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--grey-700); background: var(--black); color: var(--grey-300); font: inherit; font-size: 12.5px; font-weight: 500; cursor: pointer; transition: .12s; }
.chip:hover { border-color: var(--grey-300); }
.chip.on { background: var(--white); color: var(--black); border-color: var(--white); font-weight: 700; }
.chip.static { cursor: default; }

/* ---------- key/value display ---------- */
.kv { display: grid; grid-template-columns: 200px 1fr; gap: 10px 20px; }
.kv dt { font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-500); padding-top: 3px; }
.kv dd { margin: 0; white-space: pre-wrap; word-break: break-word; }
.section-title { display: flex; align-items: center; gap: 14px; margin: 34px 0 16px; }
.section-title:first-child { margin-top: 0; }
.section-title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.secret { font-family: ui-monospace, Menlo, monospace; background: var(--black); border: 1px solid var(--grey-700); border-radius: 8px; padding: 3px 9px; font-size: 12.5px; }
.sub-card { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: var(--black); }

/* ---------- charts ---------- */
.chart { width: 100%; height: 220px; }
.chart text { fill: #8a8a8a; font-size: 10px; font-family: var(--font); }
.legend { display: flex; gap: 18px; font-size: 11px; color: var(--grey-300); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.bar { height: 6px; border-radius: 999px; background: var(--grey-900); overflow: hidden; }
.bar > div { height: 100%; background: var(--white); }

/* ---------- modal / toast ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; z-index: 50; }
.modal { background: var(--surface); border: 1px solid var(--grey-700); border-radius: 18px; padding: 28px; width: 100%; max-width: 540px; max-height: 90vh; overflow: auto; }
.modal h2 { font-size: 18px; margin-bottom: 20px; }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.toast { position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%); background: var(--white); color: var(--black); padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 12px; letter-spacing: .08em; z-index: 80; }
.toast.err { background: var(--danger); }

/* ---------- login ---------- */
.center-screen { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(1000px 500px at 50% -10%, #1a1a1a, transparent), var(--black); }
.login { width: 100%; max-width: 380px; text-align: center; }
.login img { width: 200px; margin-bottom: 28px; }
.login form { display: grid; gap: 14px; text-align: left; margin-top: 24px; }
.err-text { color: var(--danger); font-size: 12.5px; }

/* ---------- invoice ---------- */
.paper { background: #fff; color: #000; width: 100%; max-width: 820px; margin: 0 auto; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,.6); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.paper .inv-head { background: #000; color: #fff; padding: 38px 48px; display: flex; justify-content: space-between; align-items: center; }
.paper .inv-head img { width: 150px; display: block; }
.paper .inv-head .big { font-size: 34px; font-weight: 800; letter-spacing: .18em; }
.paper .inv-body { padding: 44px 48px; }
.paper .meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 38px; }
.paper .meta .k { font-size: 9.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #777; margin-bottom: 6px; }
.paper .meta .v { font-size: 13px; font-weight: 600; white-space: pre-line; }
.paper table th { color: #777; border-bottom: 2px solid #000; padding: 12px 0; }
.paper table td { border-bottom: 1px solid #e5e5e5; padding: 16px 0; }
.paper .total-row { display: flex; justify-content: flex-end; margin-top: 26px; }
.paper .total-box { background: #000; color: #fff; padding: 20px 28px; min-width: 260px; display: flex; justify-content: space-between; align-items: baseline; gap: 30px; border-radius: 4px; }
.paper .total-box .k { font-size: 10px; letter-spacing: .2em; font-weight: 700; text-transform: uppercase; }
.paper .total-box .v { font-size: 26px; font-weight: 800; }
.paper .pay { margin-top: 44px; padding-top: 24px; border-top: 1px solid #e5e5e5; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.paper .foot { background: #f4f4f4; padding: 20px 48px; font-size: 11px; color: #555; display: flex; justify-content: space-between; letter-spacing: .04em; }
.paper .status-stamp { display: inline-block; border: 2px solid currentColor; padding: 4px 12px; border-radius: 4px; letter-spacing: .2em; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.invoice-tools { max-width: 820px; margin: 0 auto 20px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; }

.preview-wrap { background: #fff; color: #000; border-radius: 14px; }

@media (max-width: 1180px) {
  .split, .split-rev { grid-template-columns: 1fr; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .main { min-width: 0; }
  .side .eyebrow { display: none; }
  .nav-group-label { display: none; }
  .page-head { align-items: flex-start; }
  .side { position: static; height: auto; flex-direction: row; align-items: center; flex-wrap: wrap; padding: 14px; gap: 14px; }
  .side .brand img { width: 72px; margin: 0; }
  .nav { flex-direction: row; flex-wrap: wrap; }
  .nav a { padding: 8px 10px; font-size: 10px; }
  .nav a span { display: none; }
  .side .foot { margin: 0 0 0 auto; }
  .side .foot .dim { display: none; }
  .side .foot .btn { width: auto !important; }
  .main { padding: 24px 16px 60px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; }
  .kv dd { margin-bottom: 12px; }
  .paper .meta, .paper .pay { grid-template-columns: 1fr; }
  .paper .inv-head, .paper .inv-body, .paper .foot { padding-left: 22px; padding-right: 22px; }
  table { display: block; overflow-x: auto; }
}

/* Staff/client portal on mobile: keep the tab labels visible (as a scrollable pill row) instead of icon-only, so it's clear which tab is which. */
@media (max-width: 960px) {
  .portal-side .nav { flex: 1 1 100%; order: 3; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; gap: 8px; margin-top: 6px; padding-bottom: 2px; }
  .portal-side .nav::-webkit-scrollbar { display: none; }
  .portal-side .nav a { flex: none; padding: 9px 14px; font-size: 11px; border: 1px solid var(--grey-700); border-radius: 999px; }
  .portal-side .nav a span { display: inline !important; }
  .portal-side .nav a.active { border-color: #fff; }
  .portal-side .nav svg { width: 14px; height: 14px; }
  .social-banner .row { flex-wrap: wrap; }
}

@media print {
  @page { size: A4; margin: 0; }
  html, body { background: #fff !important; }
  .side, .invoice-tools, .no-print, .toast { display: none !important; }
  .shell { display: block; }
  .main { padding: 0; max-width: none; }
  .paper { box-shadow: none; border-radius: 0; max-width: none; }
}

/* ---------- onboarding form (public page + client portal) ---------- */
    .ob { max-width: 760px; margin: 0 auto; padding: 36px 20px 90px; }
    .ob-top { text-align: center; margin-bottom: 30px; }
    .ob-top img { width: 170px; }
    .progress { display: flex; gap: 6px; margin: 26px 0 8px; }
    .progress i { flex: 1; height: 3px; border-radius: 3px; background: var(--grey-700); }
    .progress i.done { background: var(--white); }
    .step-h { margin: 26px 0 6px; font-size: 24px; }
    .step-sub { color: var(--grey-300); margin-bottom: 26px; }
    .fields { display: grid; gap: 20px; }
    .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .nav-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 36px; }
    .repeat { display: grid; gap: 12px; }
    .bd-row { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
    .bd-opts { display: flex; gap: 6px; flex-wrap: wrap; }
    .terms-box { background: var(--black); border: 1px solid var(--grey-700); border-radius: 12px; padding: 18px; max-height: 240px; overflow: auto; white-space: pre-wrap; font-size: 13px; color: var(--grey-300); }
    .check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
    .check input { margin-top: 3px; width: 18px; height: 18px; }
    .drop { border: 1px dashed var(--grey-600); border-radius: 12px; padding: 22px; text-align: center; cursor: pointer; background: var(--black); transition: .15s; }
    .drop:hover { border-color: var(--white); }
    .drop img { max-width: 220px; max-height: 160px; border-radius: 8px; margin-top: 12px; }
    .note-banner { border: 1px solid var(--grey-700); border-radius: 12px; padding: 14px 16px; font-size: 12.5px; color: var(--grey-300); background: var(--surface); }
    .done-screen { text-align: center; padding: 70px 0; }
    .done-screen h1 { margin: 22px 0 10px; }
    @media (max-width: 600px) { .two { grid-template-columns: 1fr; } .bd-row { grid-template-columns: 1fr; } }
  
img[src="/logo.png"] { mix-blend-mode: lighten; }

.card.compact th, .card.compact td { padding-left: 14px; padding-right: 14px; }
.card.compact th:first-child, .card.compact td:first-child { padding-left: 22px; }
.card.compact th:last-child, .card.compact td:last-child { padding-right: 22px; }

/* ---------- form polish: upload box, $ prefix, phone friendliness ---------- */
label.drop { display: block; }
.drop img { display: block; margin-left: auto; margin-right: auto; }
.prefixed { position: relative; }
.prefixed i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--grey-300); font-weight: 600; pointer-events: none; }
.prefixed input { padding-left: 30px; }
.add-row { display: flex; gap: 8px; margin-top: 12px; }
.add-row input { flex: 1; min-width: 0; max-width: 300px; }
@media (max-width: 600px) {
  input, select, textarea { font-size: 16px; } /* stops iPhones zooming in on focus */
  .modal .actions { flex-direction: column-reverse; align-items: stretch; justify-content: center; }
  .modal .actions .btn { width: 100%; }
  .ob { padding: 22px 16px 80px; }
  .ob-top img { width: 130px; }
  .step-h { font-size: 22px; }
  .chip { padding: 10px 16px; font-size: 13.5px; }
  .nav-row { position: sticky; bottom: 0; background: linear-gradient(to top, #000 70%, transparent); padding: 16px 0 14px; margin-top: 28px; z-index: 5; }
  .nav-row .btn { flex: 1; padding: 14px 20px; }
  .add-row input { max-width: none; }
  .sub-card { padding: 14px; }
  .bd-opts .chip { flex: 1 1 100%; text-align: center; }
  .drop { padding: 26px 14px; }
}

/* ---------- hub switcher + badges ---------- */
.hubswitch { display: grid; gap: 4px; background: #0a0a0a; border: 1px solid var(--line); border-radius: 12px; padding: 4px; }
.hubswitch a { position: relative; text-align: center; padding: 9px 8px; border-radius: 9px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; color: var(--grey-500); transition: .15s; }
.hubswitch a:hover { color: #fff; }
.hubswitch a.on { background: #1a1a1a; color: #fff; }
.hubswitch a i { position: absolute; top: 8px; right: 10px; width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.navbadge { margin-left: auto; background: #fff; color: #000; border-radius: 999px; font-size: 10.5px; padding: 1px 8px; font-weight: 800; letter-spacing: 0; }
.nav a.active .navbadge { background: #000; color: #fff; }
details.app > summary::-webkit-details-marker { display: none; }
details.app[open] { border-color: var(--grey-600); }
@media (max-width: 960px) { .hubswitch { display: flex; order: 3; width: 100%; } .hubswitch a { flex: 1; } .navbadge { margin-left: 6px; } }

/* ---------- client deliverables (sandboxed guide) ---------- */
.deliv-frame { width: 100%; height: calc(100vh - 170px); min-height: 520px; border: 1px solid var(--line); border-radius: 14px; background: #000; display: block; }
@media (max-width: 960px) { .deliv-frame { height: calc(100vh - 230px); } }

.sr-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); pointer-events: none; }

/* ---------- rota ---------- */
.pill.danger { border-color: #5a2a2a; color: var(--danger); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.swatch i { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 2px solid transparent; box-shadow: 0 0 0 1px #000 inset; transition: .12s; }
.swatch input:checked + i { border-color: #fff; transform: scale(1.1); }

.rwrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.rgrid { display: grid; grid-template-columns: 96px repeat(7, minmax(132px, 1fr)); min-width: 1020px; }
.rgrid > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rgrid > *:nth-child(8n) { border-right: 0; }
.rh { padding: 12px 10px; display: flex; flex-direction: column; justify-content: center; gap: 2px; background: #0a0a0a; font: inherit; color: var(--white); text-align: left; }
.rh b { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.rh small { font-size: 11px; color: var(--grey-500); }
.rh.day { align-items: center; text-align: center; }
.rh.day.today { background: #171717; }
.rh.day.today small { color: var(--grey-300); }
.rh.shift small { color: var(--grey-300); }
.rcell { position: relative; padding: 8px; min-height: 118px; display: flex; flex-direction: column; gap: 8px; transition: background .12s, box-shadow .12s; }
.rcell.today { background: #101010; }
.rcell.uncov { background: repeating-linear-gradient(135deg, rgba(255,107,107,.08) 0 8px, transparent 8px 16px); }
.rcell.over { box-shadow: inset 0 0 0 1px #6b5a1e; }
.rcell[data-pref=want] { box-shadow: inset 0 0 0 2px #6fcf8a; }
.rcell[data-pref=off] { box-shadow: inset 0 0 0 2px #c9a13b; }
.rcell[data-pref=cant] { background: repeating-linear-gradient(135deg, rgba(255,107,107,.22) 0 6px, rgba(255,107,107,.06) 6px 12px); box-shadow: inset 0 0 0 2px var(--danger); }
.rhint { position: absolute; top: 4px; right: 6px; display: flex; gap: 6px; font-size: 10.5px; font-weight: 700; z-index: 1; }
.hw { color: #6fcf8a; } .hc { color: var(--danger); }
.rz { display: flex; flex-wrap: wrap; gap: 5px; align-content: flex-start; border-radius: 8px; transition: .12s; }
.rz-chat { flex: 1; min-height: 44px; padding: 2px; }
.rz-sup { align-items: center; padding: 4px 6px; border: 1px dashed var(--grey-700); min-height: 32px; }
.rlab { font-size: 9.5px; letter-spacing: .16em; font-weight: 700; color: var(--grey-500); }
.rempty { font-size: 11px; color: var(--grey-600); }
.rneed { font-size: 11px; font-weight: 700; color: var(--danger); align-self: center; letter-spacing: .06em; text-transform: uppercase; }
.rz.over { background: rgba(255,255,255,.08); outline: 1px dashed #fff; }
.dragging .rz-chat, .dragging .rz-sup { outline: 1px dashed var(--grey-600); }
.rchip { --c: #888; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 5px 9px 5px 7px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; cursor: grab; user-select: none; -webkit-user-select: none;
  background: color-mix(in srgb, var(--c) 22%, #0d0d0d); border: 1px solid color-mix(in srgb, var(--c) 65%, transparent); }
.rchip:active { cursor: grabbing; }
.rchip .rn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rdot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.rchip.sug { border-style: dashed; background: color-mix(in srgb, var(--c) 9%, #0d0d0d); }
.rchip.warn { outline: 2px solid #c9a13b; outline-offset: 1px; }
.rchip.err { outline: 2px solid var(--danger); outline-offset: 1px; }
.rchip.mine { box-shadow: 0 0 0 2px #fff; }
.rchip.pal.sel { box-shadow: 0 0 0 2px #fff; background: color-mix(in srgb, var(--c) 40%, #0d0d0d); }
.rchip.mini { width: 26px; height: 14px; padding: 0; display: inline-block; vertical-align: middle; margin-right: 6px; cursor: default; }
.rtag { flex: none; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; padding: 1px 5px; border-radius: 6px; background: rgba(255,255,255,.16); }
.rtag.bang { background: var(--danger); color: #000; }
.rcount { display: inline-block; min-width: 20px; text-align: center; font-size: 11px; font-weight: 800; padding: 1px 6px; border-radius: 999px; background: rgba(255,255,255,.14); }
.rcount.ok { background: rgba(111,207,138,.2); color: #8fe0a6; } .rcount.low { background: rgba(201,161,59,.22); color: #e6c465; } .rcount.hi { background: rgba(255,107,107,.22); color: var(--danger); }
.rsep { width: 1px; align-self: stretch; background: var(--grey-700); margin: 0 6px; }
.rpalette { position: relative; }
.rtrash { display: none; position: absolute; inset: 0; align-items: center; justify-content: center; border: 1px dashed var(--grey-600); border-radius: inherit; background: rgba(10,10,10,.94); font-size: 12px; color: var(--grey-300); z-index: 2; }
.dragging-placed .rtrash { display: flex; }
.rtrash.over { border-color: var(--danger); color: var(--danger); background: rgba(255,107,107,.08); }
.rlegend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-size: 12px; color: var(--grey-300); align-items: center; }
.ralert { border-color: #5a2a2a; background: linear-gradient(0deg, rgba(255,107,107,.07), rgba(255,107,107,.07)), var(--surface); }
.ralert-row { display: flex; gap: 10px; align-items: baseline; padding: 6px 0; flex-wrap: wrap; font-size: 13px; }
.ralert-row .rdot { align-self: center; }
.ralert .ralert-row span { color: #ffb3b3; }
.rissues { display: grid; gap: 8px; }
.rissue { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.rissue i { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: #c9a13b; }
.rissue.err i { background: var(--danger); }
.rmenu { display: grid; gap: 10px; margin-top: 20px; }
.rmine { display: grid; gap: 8px; }
.rmine-row { --c: #888; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13.5px; }
.rmine-row span:not(.pill) { color: var(--grey-300); }
.rq-warn { font-size: 12.5px; color: #ffb3b3; background: rgba(255,107,107,.08); border: 1px solid #5a2a2a; border-radius: 10px; padding: 10px 14px; margin-bottom: 14px; }
.rq-k { font-weight: 700; } .rq-k.want { color: #8fe0a6; } .rq-k.off { color: #e6c465; } .rq-k.cant { color: var(--danger); }
.rqlist { display: grid; gap: 8px; }
.rqhead, .rqrow { display: grid; grid-template-columns: 84px repeat(3, 1fr); gap: 8px; align-items: stretch; }
.rqhead span { display: flex; flex-direction: column; text-align: center; }
.rqhead b { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.rqhead small { font-size: 11px; color: var(--grey-500); }
button.rqday { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; background: #0a0a0a; color: var(--white); font: inherit; text-align: left; cursor: pointer; }
button.rqday b { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
button.rqday small { font-size: 10.5px; color: var(--grey-500); }
button.rqday:hover:not(:disabled) { background: #1a1a1a; }
.rdays { display: none; gap: 12px; }
.rday { padding: 16px; }
.rday.today { border-color: var(--grey-300); }
.rday-h { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.rday-h b { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.rday-h span:not(.pill) { color: var(--grey-500); font-size: 12px; }
.rday-s { display: grid; grid-template-columns: 88px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.rday-l { display: flex; flex-direction: column; }
.rday-l b { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.rday-l small { font-size: 11px; color: var(--grey-500); }
.rday-c { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.rday-sup { flex-basis: 100%; display: flex; gap: 8px; align-items: center; margin-top: 2px; }
@media (max-width: 720px) { .rwrap.ro { display: none; } .rdays { display: grid; } .rqhead, .rqrow { grid-template-columns: 64px repeat(3, 1fr); gap: 6px; } .rq { font-size: 10.5px; letter-spacing: .02em; } }
.rq { width: 100%; min-height: 48px; border-radius: 10px; border: 1px dashed var(--grey-700); background: transparent; color: var(--grey-300); font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: .12s; }
.rq:hover:not(:disabled) { border-color: var(--grey-300); }
.rq.want { border: 1px solid #6fcf8a; background: rgba(111,207,138,.16); color: #8fe0a6; }
.rq.off { border: 1px solid #c9a13b; background: rgba(201,161,59,.16); color: #e6c465; }
.rq.cant { border: 1px solid var(--danger); background: repeating-linear-gradient(135deg, rgba(255,107,107,.28) 0 6px, rgba(255,107,107,.1) 6px 12px); color: #ffd0d0; }
.rq:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 960px) { .rcell { min-height: 104px; } }

/* rota: accounts */
.rseg { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 16px; background: #0a0a0a; border: 1px solid var(--line); border-radius: 12px; }
.rseg button { padding: 9px 18px; border: 0; border-radius: 9px; background: transparent; color: var(--grey-500); font: inherit; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.rseg button.on { background: #1f1f1f; color: #fff; }
.rissue.info i { background: var(--grey-500); }
.acell { min-height: 60px; }
.acell .rz-acct { flex: 1; min-height: 40px; padding: 2px; }
.racct .card-head { margin-bottom: 14px; }
.rday-acct { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.rday-acct .rlab { min-width: 64px; }
@media (max-width: 720px) { .rdesk { display: none; } }

/* applications shortlist */
.tris { display: inline-flex; gap: 8px; }
.tri { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--grey-700); background: transparent; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; transition: .12s; color: var(--grey-500); padding: 0; }
.tri.red { border-color: #6a2a2a; color: #ff6b6b; } .tri.yellow { border-color: #7a6520; color: #e6c465; } .tri.green { border-color: #2c6a3e; color: #6fcf8a; }
.tri.red.on { background: #ff6b6b; color: #000; border-color: #ff6b6b; } .tri.yellow.on { background: #e6c465; color: #000; border-color: #e6c465; } .tri.green.on { background: #6fcf8a; color: #000; border-color: #6fcf8a; }
.tri:hover { transform: scale(1.08); }
.tri-k { font-weight: 800; } .tri-k.red { color: #ff6b6b; } .tri-k.yellow { color: #e6c465; } .tri-k.green { color: #6fcf8a; }
.appname.reviewing { color: #e6c465; } .appname.hired { color: #6fcf8a; }

/* applications board */
.kb { display: grid; grid-template-columns: repeat(6, minmax(200px, 1fr)); gap: 14px; overflow-x: auto; align-items: start; padding-bottom: 10px; }
.kcol { background: #0a0a0a; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; min-height: 240px; transition: .12s; }
.kcol.over { border-color: #fff; background: #131313; }
.kcol-h { display: flex; justify-content: space-between; align-items: center; padding: 2px 4px 12px; }
.kcol-h b { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.kcol-b { display: grid; gap: 10px; }
.kcard { background: var(--surface); border: 1px solid var(--grey-700); border-radius: 12px; padding: 12px; cursor: grab; transition: .12s; }
.kcard:hover { border-color: var(--grey-300); }
.kcard.drag { opacity: .4; }
.kname { font-size: 14px; } .kname.hired { color: #6fcf8a; }
.kx { background: none; border: 0; color: var(--grey-500); cursor: pointer; font: inherit; padding: 2px 6px; border-radius: 6px; flex: none; }
.kx:hover { color: var(--danger); background: var(--grey-900); }
.kfoot { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 10px; }
.kempty { padding: 26px 10px; text-align: center; font-size: 12px; color: var(--grey-600); border: 1px dashed var(--grey-700); border-radius: 10px; }

.meetlinks { display: grid; gap: 6px; margin-bottom: 10px; }
.meetlinks .btn { width: 100%; }

/* ---------- marketing hub: content calendar + viral content ---------- */
.mc-list { display: grid; gap: 10px; }
.mc-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.mc-who { display: flex; flex-direction: column; }
.mc-who .dim { font-size: 12px; }
.mc-chip { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--grey-700); background: transparent; color: var(--grey-300); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; transition: .12s; white-space: nowrap; }
.mc-chip:hover { border-color: var(--grey-300); }
.mc-chip.on { background: var(--white); color: var(--black); border-color: var(--white); font-weight: 700; }
.vc-subnav { display: inline-flex; gap: 4px; padding: 4px; background: #0a0a0a; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 18px; }
.vc-subnav-btn { padding: 10px 20px; border: 0; border-radius: 9px; background: transparent; color: var(--grey-500); font: inherit; font-size: 12px; font-weight: 700; letter-spacing: .08em; cursor: pointer; }
.vc-subnav-btn.active { background: #fff; color: #000; }
.vc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.vc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .12s; }
.vc-card:hover { border-color: var(--grey-300); transform: translateY(-2px); }
.vc-card-thumb { position: relative; aspect-ratio: 9/16; background-size: cover; background-position: center; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; }
.vc-card-thumb.vc-fallback-instagram { background-image: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); }
.vc-card-thumb.vc-fallback-tiktok { background-image: linear-gradient(135deg,#000000,#25f4ee,#fe2c55); }
.vc-card-thumb.vc-fallback-youtube { background-image: linear-gradient(135deg,#ff0000,#282828); }
.vc-card-thumb.vc-fallback-other { background-image: linear-gradient(135deg,#3a3a3a,#0d0d0d); }
.vc-card-playbtn { background: rgba(0,0,0,.6); color: #fff; font-size: 11px; font-weight: 700; padding: 7px 12px; border-radius: 999px; letter-spacing: .02em; }
.vc-card-iframe { width: 100%; aspect-ratio: 9/16; border: 0; display: block; }
.vc-card-body { padding: 10px 12px; }
.vc-card-caption { font-size: 12px; font-weight: 600; color: #fff; line-height: 1.35; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vc-card-meta { font-size: 11px; color: var(--grey-500); }
.vc-del { background: none; border: 0; color: var(--grey-500); font: inherit; font-size: 11px; padding: 0; cursor: pointer; text-decoration: underline; }
.vc-del:hover { color: var(--danger); }
.vc-sound-row { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.vc-sound-row:last-child { border-bottom: 0; }
.vc-sound-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex: none; }
.vc-sound-icon.vc-fallback-instagram { background: linear-gradient(135deg,#833ab4,#fd1d1d,#fcb045); }
.vc-sound-icon.vc-fallback-tiktok { background: linear-gradient(135deg,#000000,#25f4ee,#fe2c55); }
.vc-sound-icon.vc-fallback-youtube { background: linear-gradient(135deg,#ff0000,#282828); }
.vc-sound-icon.vc-fallback-other { background: linear-gradient(135deg,#3a3a3a,#0d0d0d); }
.vc-sound-info { flex: 1; min-width: 0; }
.vc-sound-caption { font-size: 13px; font-weight: 600; color: #fff; }
.vc-sound-meta { font-size: 11.5px; color: var(--grey-500); margin-top: 2px; }
.vc-sound-btn { flex: none; font-size: 11.5px; font-weight: 700; color: #fff; border: 1px solid var(--grey-600); border-radius: 999px; padding: 8px 14px; text-decoration: none; }
.vc-sound-btn:hover { border-color: #fff; }

/* ---------- SOP / chatting tools ---------- */
.sop-card { max-width: 780px; }
.sop-section { padding: 16px 0; border-top: 1px solid var(--line); }
.sop-section:first-of-type { border-top: 0; padding-top: 0; }
.sop-section h3 { font-size: 13px; letter-spacing: .04em; margin-bottom: 8px; }
.sop-section p { margin: 0 0 8px; font-size: 13.5px; color: var(--grey-300); line-height: 1.6; }
.sop-section p:last-child { margin-bottom: 0; }
.sop-section ul { margin: 0 0 8px; padding-left: 20px; display: grid; gap: 5px; }
.sop-section ul:last-child { margin-bottom: 0; }
.sop-section li { font-size: 13.5px; color: var(--grey-300); line-height: 1.5; }
.sop-section li::marker { color: var(--grey-500); }
.sop-row { position: relative; }

/* ---------- marketing hub: not-connected placeholder ---------- */

/* ---------- contracts (printable paper) ---------- */
.ct-paper { padding: 56px 64px; }
.ct-title { font-size: 22px; margin-bottom: 4px; }
.ct-sub { color: #666; font-size: 12.5px; margin: 0 0 22px; }
.ct-label { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 11px; color: #666; margin: 22px 0 6px; }
.ct-h2, .ct-h3 { font-size: 14px; margin: 26px 0 10px; padding-top: 14px; border-top: 1px solid #e2e2e2; }
.ct-h2:first-of-type, .ct-h3:first-of-type { border-top: 0; padding-top: 0; }
.ct-sig-h { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #666; margin: 30px 0 8px; }
.ct-paper p { font-size: 12.5px; line-height: 1.65; color: #1a1a1a; margin: 0 0 10px; }
.ct-paper p.ct-sub { color: #666; }
.ct-paper p.ct-witness { margin-top: 24px; font-weight: 600; }
.ct-paper p.ct-sub-item, .ct-paper p.ct-sub { margin-left: 22px; }
.ct-table { width: 100%; border-collapse: collapse; margin: 10px 0 16px; font-size: 12.5px; }
.ct-table td { padding: 8px 10px; border: 1px solid #e2e2e2; vertical-align: top; }
.ct-table td.ct-k { font-weight: 600; width: 180px; background: #fafafa; }
.ct-sigline { display: flex; align-items: baseline; gap: 10px; margin: 10px 0; font-size: 12.5px; }
.ct-siglabel { width: 70px; flex: none; color: #666; }
.ct-sigblank { flex: 1; border-bottom: 1px solid #999; height: 1px; }

.ct-head { background: #000; color: #fff; padding: 30px 48px; display: flex; justify-content: space-between; align-items: center; }
.ct-head img { width: 120px; display: block; }
.ct-head-label { text-align: right; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; line-height: 1.6; }
@media print { .ct-head { -webkit-print-color-adjust: exact; print-color-adjust: exact; } }

.tc-tile { cursor: pointer; transition: .12s; }
.tc-tile:hover { border-color: var(--grey-300); }

.tc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tc-chip { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; background: var(--surface); }
.tc-creator { margin-top: 18px; }
.tc-creator h3 { margin: 0; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 16px; }
.tc-reels { margin: 10px 0 8px; font-size: 14px; }
.tc-link { display: block; margin-top: 8px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); color: #fff; font-weight: 600; text-decoration: none; }
a.tc-link:hover { border-color: var(--grey-300); }
.tc-link.off { color: var(--grey-500); font-style: italic; font-weight: 400; }
.tc-stat { padding: 18px; text-align: center; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.tc-stat b { display: block; font-size: 30px; }
.tc-stat span { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey-500); }
.tc-warn { margin-top: 8px; padding: 16px; border: 1px solid #5a2a2a; border-radius: 12px; background: rgba(255,107,107,.06); white-space: pre-wrap; line-height: 1.5; }

/* ---------- Analytics hub ---------- */
.an-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; }
.an-bar .chips { gap: 6px; }
.an-bar .chip { padding: 7px 13px; font-size: 12px; }
.an-custom input[type=date] { padding: 8px 10px; }
.an-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.an-crumb a { color: var(--grey-300); font-size: 12.5px; text-decoration: none; }
.an-crumb a:hover { color: var(--white); }
.an-fresh { font-size: 12px; color: var(--grey-500); }
.an-note { font-size: 12.5px; margin: 10px 2px 18px; line-height: 1.5; }
.an-f { min-width: 150px; margin: 0; }
.an-warn { color: #e6c465; font-size: 12.5px; margin: 8px 0; }
.an-setup { border-color: #5a4a1a; font-size: 13.5px; }
.an-table th.sortable { cursor: pointer; user-select: none; white-space: nowrap; }
.an-table th.sortable:hover { color: var(--white); }
.an-table td { vertical-align: middle; }
.an-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; background: var(--grey-800); }
.an-avatar.ph { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: var(--grey-300); }
.an-thumb { width: 44px; height: 58px; object-fit: cover; border-radius: 8px; display: block; background: var(--grey-800); }
.an-thumb.ph { display: inline-block; }
.an-chart { width: 100%; }
.an-chart svg { width: 100%; height: auto; display: block; }
.an-ax { font-size: 11px; fill: var(--grey-500); }
.an-chart-empty { padding: 28px 10px; }
.an-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; font-size: 12px; color: var(--grey-300); }
.an-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; }
.an-st { letter-spacing: .08em; white-space: nowrap; }
.an-st.an-connected { border-color: #2a5a3a; color: #6fcf8a; }
.an-st.an-syncing { border-color: #5a4a1a; color: #e6c465; }
.an-st.an-needs_attention { border-color: #6a4219; color: #e8a15a; }
.an-st.an-error, .an-st.an-expired { border-color: #5a2a2a; color: var(--danger); }
.an-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.an-flow span { border: 1px solid var(--grey-700); border-radius: 999px; padding: 8px 16px; font-size: 12.5px; font-weight: 600; }
.an-flow i { color: var(--grey-500); font-style: normal; }
.an-drop { display: flex; flex-direction: column; gap: 4px; align-items: center; justify-content: center; border: 1.5px dashed var(--grey-600); border-radius: 14px; padding: 30px; cursor: pointer; text-align: center; }
.an-drop:hover, .an-drop.over { border-color: var(--white); background: #0d0d0d; }
.an-map { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px 14px; }
.an-map label.f { margin: 0; }
.an-map .req { color: var(--white); font-style: normal; }
.an-prog { flex: 1; min-width: 160px; height: 8px; border-radius: 99px; background: var(--grey-800); overflow: hidden; }
.an-prog > div { height: 100%; width: 0; background: var(--white); transition: width .2s; }
.an-steps { padding-left: 20px; line-height: 1.7; margin: 0; }
.an-steps li { margin-bottom: 8px; }
.an-pre { background: var(--black); border: 1px solid var(--grey-700); border-radius: 8px; padding: 10px 12px; font-size: 12.5px; overflow-x: auto; margin: 8px 0 0; }
.an-list { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--grey-300); }
.an-done { border-color: #2a5a3a; }
@media (max-width: 700px) { .an-f { min-width: 130px; } .an-flow i { display: none; } }
.an-iacc { margin-left: auto; min-width: 190px; }
.an-cls { white-space: nowrap; }
.an-cls-viral { border-color: #7a3b1a; color: #ff9a5c; }
.an-cls-winning { border-color: #2a5a3a; color: #6fcf8a; }
.an-cls-rising { border-color: #2a4a6a; color: #7ea6c9; }
.an-cls-under { border-color: #5a2a2a; color: #d08770; }
.an-why { font-size: 11px; max-width: 220px; white-space: normal; text-align: right; }
