:root { --bg:#fbfaf7; --alt:#f3f1ec; --surface:#fff; --ink:#16161a; --ink2:#3b3b44; --muted:#676772; --line:#e4e1d9; --brand:#3b3bd6; --good:#17803f; --warn:#b3510c; --bad:#c0392b;
  --serif:"Instrument Serif",Georgia,serif; --sans:"Inter",system-ui,sans-serif; --shadow:0 1px 2px rgb(20 20 30/.05),0 12px 32px -12px rgb(20 20 30/.18); }
@media (prefers-color-scheme: dark) { :root { --bg:#0f0f12; --alt:#16161b; --surface:#1b1b21; --ink:#f2f1ed; --ink2:#d4d3cf; --muted:#a0a0aa; --line:#2b2b33; --brand:#8b8bff; --good:#4cc77a; --warn:#ff9f4a; --bad:#ff7b6b; } }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:var(--ink); font:15px/1.55 var(--sans); }
h1,h2 { font-family:var(--serif); font-weight:400; margin:0 0 6px; letter-spacing:-.01em; }
h1 { font-size:34px; } h2 { font-size:26px; } h3 { margin:0 0 8px; font-size:16px; }
.muted { color:var(--muted); } .small { font-size:13px; }
button, input, select { font:inherit; color:inherit; }
.btn { display:inline-flex; align-items:center; gap:6px; padding:9px 16px; border-radius:999px; border:1px solid var(--line); background:var(--surface); cursor:pointer; font-weight:600; font-size:14px; }
.btn:hover { box-shadow:var(--shadow); } .btn.primary { background:var(--brand); border-color:var(--brand); color:#fff; } .btn.danger { color:var(--bad); } .btn.sm { padding:5px 11px; font-size:13px; }
input, select { padding:9px 12px; border:1px solid var(--line); border-radius:10px; background:var(--surface); min-width:0; }
input:focus, select:focus { outline:2px solid var(--brand); outline-offset:-1px; }
label { display:block; font-weight:600; font-size:13px; margin:14px 0 5px; }
.shell { display:grid; grid-template-columns:220px 1fr; min-height:100vh; }
.side { border-right:1px solid var(--line); padding:22px 14px; background:var(--alt); position:sticky; top:0; height:100vh; display:flex; flex-direction:column; gap:4px; }
.brand { display:flex; align-items:center; gap:10px; } .brand img { display:block; } .wm { font-weight:500; font-size:19px; letter-spacing:-.02em; } .wm b { font-weight:800; } .brand small { font-size:11px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); border:1px solid var(--line); border-radius:99px; padding:2px 7px; margin-left:2px; }
.side .brand { padding:0 10px 18px; } .brand.lg { margin-bottom:18px; } .brand.lg .wm { font-size:26px; }
.side a { padding:9px 12px; border-radius:10px; color:var(--ink2); text-decoration:none; font-weight:500; cursor:pointer; }
.side a:hover { background:var(--surface); } .side a.on { background:var(--surface); box-shadow:inset 0 0 0 1px var(--line); color:var(--ink); }
.side .foot { margin-top:auto; padding:10px; } 
.main { padding:34px clamp(18px,4vw,48px) 80px; max-width:1180px; width:100%; }
.head { display:flex; justify-content:space-between; align-items:flex-end; gap:16px; flex-wrap:wrap; margin-bottom:22px; }
.card { background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:20px; }
.grid { display:grid; gap:14px; grid-template-columns:repeat(auto-fill,minmax(270px,1fr)); }
.person { display:flex; flex-direction:column; gap:10px; } .person .top { display:flex; align-items:center; gap:10px; } .person .nm { font-weight:600; font-size:16px; }
.dot { width:10px; height:10px; border-radius:50%; background:var(--line); flex:none; } .dot.on { background:var(--good); box-shadow:0 0 0 4px color-mix(in srgb,var(--good) 20%,transparent); } .dot.idle { background:var(--warn); }
.stat { display:flex; gap:22px; } .stat div small { display:block; color:var(--muted); font-size:12px; } .stat div b { font-size:20px; letter-spacing:-.02em; }
.pill { font-size:12px; font-weight:600; padding:3px 9px; border-radius:999px; background:var(--alt); border:1px solid var(--line); }
.pill.good { color:var(--good); } .pill.warn { color:var(--warn); }
table { width:100%; border-collapse:collapse; } th { text-align:left; font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); padding:8px 10px; border-bottom:1px solid var(--line); }
td { padding:12px 10px; border-bottom:1px solid var(--line); vertical-align:top; } tr:last-child td { border-bottom:0; }
.bar { height:8px; border-radius:99px; background:var(--alt); overflow:hidden; min-width:80px; } .bar i { display:block; height:100%; background:var(--brand); border-radius:99px; }
.shots { display:grid; gap:12px; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); }
.shot { border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--surface); cursor:pointer; } .shot img { width:100%; aspect-ratio:16/10; object-fit:cover; display:block; background:var(--alt); }
.shot div { padding:8px 11px; font-size:13px; } .shot b { display:block; } .shot span { color:var(--muted); display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.strip { position:relative; height:34px; border-radius:8px; background:var(--alt); overflow:hidden; margin:8px 0 4px; } .strip i { position:absolute; top:0; bottom:0; } .strip .s { background:color-mix(in srgb,var(--brand) 25%,transparent); } .strip .a { background:var(--brand); top:55%; }
.ticks { display:flex; justify-content:space-between; color:var(--muted); font-size:11px; }
.toolbar { display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-bottom:16px; }
.center { max-width:420px; margin:12vh auto; padding:0 18px; } .center .card { padding:28px; }
.err { color:var(--bad); font-size:13.5px; min-height:20px; margin-top:8px; } .code { font:700 30px/1 ui-monospace,Menlo,monospace; letter-spacing:.08em; background:var(--alt); border-radius:12px; padding:16px; text-align:center; margin:14px 0; }
dialog { border:0; border-radius:20px; padding:0; background:var(--surface); color:var(--ink); width:min(560px,calc(100vw - 24px)); box-shadow:0 40px 90px -20px rgba(0,0,0,.5); } dialog::backdrop { background:rgba(15,15,20,.55); }
#dlg-body { padding:26px; max-height:88vh; overflow:auto; } dialog.big { width:min(1000px,calc(100vw - 24px)); } dialog img { max-width:100%; border-radius:10px; }
.kv { display:grid; grid-template-columns:150px 1fr; gap:6px 14px; font-size:14px; } .kv dt { color:var(--muted); } .kv dd { margin:0; word-break:break-all; }
@media (max-width:820px) { .shell { grid-template-columns:1fr; } .side { position:static; height:auto; flex-direction:row; flex-wrap:wrap; } .side .foot { margin:0; } }

/* ---- v2: onboarding, remote status, toasts, copy rows ---- */
.chipbtn { display:flex; align-items:center; gap:8px; width:100%; padding:9px 11px; border-radius:12px; border:1px solid var(--line); background:var(--surface); font-size:12.5px; font-weight:600; cursor:pointer; text-align:left; }
.chipbtn:hover { box-shadow:var(--shadow); } .chipbtn small { display:block; color:var(--muted); font-weight:500; font-size:11.5px; }
.dot.warn { background:var(--warn); } .dot.bad { background:var(--bad); } .dot.good { background:var(--good); }
.toast { position:fixed; left:50%; bottom:26px; transform:translate(-50%,20px); opacity:0; background:var(--ink); color:var(--bg); padding:11px 18px; border-radius:999px; font-weight:600; font-size:14px; box-shadow:var(--shadow); transition:.25s; z-index:100; pointer-events:none; } .toast.on { opacity:1; transform:translate(-50%,0); } .toast.bad { background:var(--bad); color:#fff; }
.steps { display:grid; gap:10px; margin:0 0 22px; } .step { display:flex; gap:14px; align-items:center; padding:14px 16px; border-radius:14px; border:1px solid var(--line); background:var(--surface); }
.step .n { width:30px; height:30px; border-radius:50%; border:1.5px solid var(--line); display:grid; place-items:center; font-weight:700; font-size:13px; flex:none; color:var(--muted); } .step.done .n { background:var(--good); border-color:var(--good); color:#fff; } .step.now { border-color:var(--brand); box-shadow:0 0 0 3px color-mix(in srgb,var(--brand) 12%,transparent); } .step.now .n { border-color:var(--brand); color:var(--brand); }
.step b { display:block; } .step span { color:var(--muted); font-size:13.5px; } .step .btn { margin-left:auto; flex:none; }
.copyrow { display:flex; gap:8px; align-items:stretch; } .copyrow .code { flex:1; margin:0; display:flex; align-items:center; justify-content:center; font-size:22px; word-break:break-all; padding:14px 10px; } 
.hint { font-size:13px; color:var(--muted); } .okmsg { color:var(--good); font-size:13px; font-weight:600; } .row2 { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.tag { font-size:11px; font-weight:700; padding:2px 8px; border-radius:99px; background:var(--alt); border:1px solid var(--line); color:var(--muted); } .tag.remote { color:var(--brand); border-color:color-mix(in srgb,var(--brand) 35%,var(--line)); }
.callout { border-radius:12px; padding:12px 14px; font-size:13.5px; background:color-mix(in srgb,var(--brand) 8%,var(--surface)); border:1px solid color-mix(in srgb,var(--brand) 22%,var(--line)); }
.card.hero { background:linear-gradient(160deg,color-mix(in srgb,var(--brand) 9%,var(--surface)),var(--surface) 60%); }
.btn:disabled { opacity:.5; cursor:default; box-shadow:none; }

/* ---- v3: segmented control, checkbox rows, payroll, timeline legend ---- */
.seg { display:inline-flex; border:1px solid var(--line); border-radius:12px; overflow:hidden; background:var(--surface); }
.seg button { border:0; background:none; padding:9px 22px; font-weight:600; font-size:15px; cursor:pointer; color:var(--muted); border-right:1px solid var(--line); } .seg button:last-child { border-right:0; }
.seg button.on { background:var(--brand); color:#fff; }
label.check { display:flex; gap:11px; align-items:flex-start; font-weight:500; margin:16px 0 0; cursor:pointer; line-height:1.4; }
label.check input { width:auto; margin:3px 0 0; flex:none; } label.check small { display:block; color:var(--muted); font-weight:400; font-size:13px; margin-top:2px; } label.check b { font-weight:600; }
.strip .a.f1 { background:var(--bad); } .strip .a.f2 { background:#0ea5e9; }
.legend { display:flex; gap:16px; flex-wrap:wrap; margin-top:8px; font-size:12px; color:var(--muted); } .legend .sw { display:inline-block; width:10px; height:10px; border-radius:3px; background:var(--brand); margin-right:6px; vertical-align:-1px; } .legend .sw.call { background:#0ea5e9; } .legend .sw.mo { background:var(--bad); }
td .btn[disabled] { opacity:.45; }

/* ---- payroll, cleaner ---- */
.curpick { display:inline-flex; align-items:center; gap:8px; font-weight:500; font-size:13px; color:var(--muted); margin:0; } .curpick select { padding:8px 10px; border-radius:999px; font-weight:600; color:var(--ink); }
.pay-stats { display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:14px; margin-bottom:22px; }
.pstat { background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:18px 22px; display:flex; flex-direction:column; gap:2px; }
.pstat span { font-size:13px; color:var(--muted); font-weight:500; } .pstat b { font-size:28px; letter-spacing:-.03em; font-weight:700; font-variant-numeric:tabular-nums; line-height:1.15; } .pstat small { color:var(--muted); font-size:13px; }
.pstat.owed { background:linear-gradient(160deg,color-mix(in srgb,var(--brand) 11%,var(--surface)),var(--surface) 70%); border-color:color-mix(in srgb,var(--brand) 30%,var(--line)); } .pstat.owed b { color:var(--brand); font-size:34px; }
.pay-list { display:grid; gap:12px; }
.prow { display:grid; grid-template-columns:minmax(230px,1.5fr) repeat(3, minmax(88px,.8fr)) minmax(120px,.9fr) auto; align-items:center; gap:10px 18px; background:var(--surface); border:1px solid var(--line); border-radius:16px; padding:18px 22px; }
.prow .who { display:flex; align-items:center; gap:14px; min-width:0; } .prow .who b { font-size:16px; } .prow .who > div { min-width:0; }
.av { width:42px; height:42px; border-radius:50%; background:var(--alt); border:1px solid var(--line); display:grid; place-items:center; font-weight:700; font-size:14px; color:var(--brand); flex:none; }
.pm { display:flex; flex-direction:column; font-variant-numeric:tabular-nums; } .pm small { color:var(--muted); font-size:12px; margin-bottom:1px; } .pm b { font-size:15.5px; font-weight:600; white-space:nowrap; }
.pm.owe b { font-size:19px; font-weight:700; } .pm.owe small { color:var(--ink2); font-weight:600; }
.pa { display:flex; align-items:center; gap:8px; justify-content:flex-end; }
.more { position:relative; } .iconbtn { padding:5px 11px; font-size:18px; line-height:1; letter-spacing:1px; }
.more .menu { position:absolute; right:0; top:calc(100% + 6px); z-index:20; min-width:190px; background:var(--surface); border:1px solid var(--line); border-radius:12px; box-shadow:var(--shadow); padding:6px; }
.more .menu[hidden] { display:none; } .more .menu button { display:block; width:100%; text-align:left; border:0; background:none; padding:10px 12px; border-radius:8px; font-size:14px; cursor:pointer; color:var(--ink); } .more .menu button:hover { background:var(--alt); }
@media (max-width: 1080px) { .prow { grid-template-columns:1fr 1fr 1fr 1fr; } .prow .who { grid-column:1 / -1; } .pa { grid-column:1 / -1; justify-content:flex-start; } .pay-stats { grid-template-columns:1fr; } }

/* accounts */
.card.auth { width:min(420px,92vw); } .btn.wide { width:100%; padding:11px; }
.lnk { color:var(--brand); font-weight:600; text-decoration:none; } .lnk:hover { text-decoration:underline; }
.meter { display:flex; gap:4px; align-items:center; margin:6px 0 0; } .meter i { flex:0 0 38px; height:4px; border-radius:2px; background:var(--line); } .meter span { margin-left:8px; }
.meter[data-n="1"] i:nth-child(-n+1) { background:var(--bad,#d1453b); } .meter[data-n="2"] i:nth-child(-n+2) { background:var(--warn,#d98b1f); } .meter[data-n="3"] i:nth-child(-n+3), .meter[data-n="4"] i:nth-child(-n+4) { background:var(--good,#2f9e63); }
.me { display:flex; gap:10px; align-items:center; padding:8px 6px; margin-top:10px; border-radius:10px; cursor:pointer; } .me.on, .me:hover { background:var(--alt); } .me b { display:block; font-size:13px; } .me small { color:var(--muted); font-size:12px; }
.av { width:30px; height:30px; border-radius:50%; background:var(--brand); color:#fff; display:inline-grid; place-items:center; font-size:12px; font-weight:700; flex:none; }
.srow { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:9px 0; border-bottom:1px solid var(--line); } .srow:last-of-type { border-bottom:0; }
td select { padding:5px 8px; border:1px solid var(--line); border-radius:8px; background:var(--surface); color:inherit; }
.card table td { padding:10px; border-bottom:1px solid var(--line); vertical-align:middle; } .card table tr:last-child td { border-bottom:0; }

.plan { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:9px 20px; background:var(--alt); border-bottom:1px solid var(--line); font-size:13px; position:sticky; top:0; z-index:5; } .plan a { color:var(--brand); font-weight:700; white-space:nowrap; }
.plan.bad { background:#fdecea; color:#8a2b22; } .plan.warn { background:#fff4dd; color:#7a5200; }

/* console */
.bars { display:flex; align-items:flex-end; gap:3px; height:90px; } .bars i { flex:1; background:var(--brand); border-radius:3px 3px 0 0; min-height:2px; opacity:.85; } .bars i:hover { opacity:1; }
.kpis { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:12px; margin-bottom:18px; } .kpi { background:var(--surface); border:1px solid var(--line); border-radius:14px; padding:14px 16px; } .kpi small { color:var(--muted); display:block; font-size:12px; text-transform:uppercase; letter-spacing:.05em; } .kpi b { font-family:'Instrument Serif',serif; font-size:30px; font-weight:400; }
.thread { display:grid; grid-template-columns:320px 1fr; gap:16px; align-items:start; } @media (max-width:900px) { .thread { grid-template-columns:1fr; } }
.tli { padding:11px 12px; border-bottom:1px solid var(--line); cursor:pointer; } .tli:hover, .tli.on { background:var(--alt); } .tli.unread b { color:var(--brand); }
.msg { padding:10px 14px; border-radius:12px; margin:8px 0; max-width:88%; white-space:pre-wrap; } .msg.customer { background:var(--alt); } .msg.team { background:#e8eaff; margin-left:auto; } .msg small { display:block; color:var(--muted); margin-bottom:3px; }
.plan-edit input { max-width:130px; }

/* plan cards on the checkout page (one-time products with more than one plan) */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 6px; }
.plan { text-align: left; display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid rgba(16, 25, 56, .14); background: #fff; cursor: pointer; font: inherit; color: inherit; }
.plan b { font-size: 15px; } .plan .price { font-family: 'Instrument Serif', serif; font-size: 24px; } .plan small { color: #6b7080; font-size: 12.5px; }
.plan.on { border-color: #3b3bcc; box-shadow: 0 0 0 3px rgba(59, 59, 204, .12); }

/* ---- Console v4: organised sections ---- */
.main > .card, .main > .cols2, .main > .price-grid, .main > .callout, .main > div > .card { margin-bottom:16px; }
.cols2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:16px; } .cols2 .card { margin:0; }
@media (max-width:900px) { .cols2 { grid-template-columns:1fr; } }
.kpis.k5 { grid-template-columns:repeat(5,minmax(0,1fr)); } .kpis.k3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
@media (max-width:900px) { .kpis.k5, .kpis.k3 { grid-template-columns:repeat(2,minmax(0,1fr)); } }
.kpi small { display:block; color:var(--muted); font-size:12.5px; font-weight:500; } .kpi b { display:block; font-size:24px; letter-spacing:-.02em; font-variant-numeric:tabular-nums; margin-top:2px; }
.r { text-align:right; } .nowrap { white-space:nowrap; } .mono { font-family:ui-monospace,Menlo,monospace; letter-spacing:.03em; }
table.nums td:not(:first-child), table.nums th:not(:first-child) { text-align:right; font-variant-numeric:tabular-nums; }
table.src td { padding:8px 6px; vertical-align:middle; } table.src .bar { height:7px; }
table.sales td { padding:11px 14px; vertical-align:middle; } table.sales th { padding:8px 14px; } tr.click { cursor:pointer; } tr.click:hover td { background:var(--alt); }
.callout { margin-bottom:16px; } .callout.warn { background:color-mix(in srgb,var(--warn) 9%,var(--surface)); border-color:color-mix(in srgb,var(--warn) 30%,var(--line)); }
.callout.salebar { background:color-mix(in srgb,var(--good) 9%,var(--surface)); border-color:color-mix(in srgb,var(--good) 30%,var(--line)); }
.toolbar label.inl { display:inline-flex; align-items:center; gap:6px; margin:0; font-weight:500; color:var(--muted); }
.seg button { padding:8px 16px; font-size:14px; }
.price-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; } @media (max-width:900px) { .price-grid { grid-template-columns:1fr; } }
.pfs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 16px; }
.pf label { margin-top:10px; } .pf small { display:block; color:var(--muted); font-size:12px; margin-top:4px; }
.dollar { display:flex; align-items:center; border:1px solid var(--line); border-radius:10px; background:var(--surface); padding-left:12px; } .dollar span { color:var(--muted); font-weight:600; }
.dollar input { border:0; width:100%; font-size:18px; font-weight:600; font-variant-numeric:tabular-nums; } .dollar:focus-within { outline:2px solid var(--brand); outline-offset:-1px; } .dollar input:focus { outline:0; }
.formgrid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:0 16px; } @media (max-width:700px) { .formgrid { grid-template-columns:1fr; } }
.pct { display:flex; align-items:center; gap:6px; } .pct input { width:110px; font-size:18px; font-weight:600; } .pct span { font-weight:700; color:var(--muted); }
.checks { display:flex; gap:8px; flex-wrap:wrap; } label.ck { display:inline-flex; align-items:center; gap:7px; margin:0; padding:7px 13px; border:1px solid var(--line); border-radius:99px; font-weight:500; cursor:pointer; background:var(--surface); }
label.ck:has(input:checked) { border-color:var(--brand); background:color-mix(in srgb,var(--brand) 8%,var(--surface)); }
.ta { width:100%; border:1px solid var(--line); border-radius:10px; background:var(--surface); color:inherit; padding:9px; font:inherit; }
.navbadge:not(:empty) { float:right; min-width:20px; padding:1px 7px; border-radius:99px; background:var(--brand); color:#fff; font-size:12px; font-weight:700; text-align:center; }
.btn.wide { width:100%; justify-content:center; }
.kpi b { font-family:var(--sans); font-weight:650; font-size:24px; }
.bars i { max-width:26px; } .bars { justify-content:flex-start; }
.card h4 { margin: 14px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #777); font-weight: 650; }
/* Downloads and Visitors, in the clean style of Okie Dockie's admin */
.apptabs { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 16px; }
.apptabs button { display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius:99px; border:1px solid var(--line); background:var(--surface); color:var(--ink); font-size:14px; font-weight:500; cursor:pointer; }
.apptabs button span { min-width:20px; padding:1px 7px; border-radius:99px; background:var(--alt); color:var(--muted); font-size:12px; text-align:center; font-variant-numeric:tabular-nums; }
.apptabs button:hover { border-color:var(--ink); }
.apptabs button.on { background:var(--ink); border-color:var(--ink); color:var(--surface); } .apptabs button.on span { background:rgba(255,255,255,.16); color:var(--surface); }
.kpis.k4 { grid-template-columns:repeat(4,minmax(0,1fr)); }
table.clean { border:1px solid var(--line); border-radius:12px; border-collapse:separate; border-spacing:0; overflow:hidden; }
table.clean th { background:var(--alt); padding:11px 16px; border-bottom:1px solid var(--line); } table.clean td { padding:13px 16px; border-bottom:1px solid var(--line); font-variant-numeric:tabular-nums; }
table.clean tr:last-child td { border-bottom:0; } table.clean .r { text-align:right; }
.tally { border:1px solid var(--line); border-radius:12px; overflow:hidden; }
.tl { display:grid; grid-template-columns:1fr auto; grid-template-areas:'bar bar' 'name n'; gap:6px 12px; padding:12px 16px; border-bottom:1px solid var(--line); }
.tl:last-child { border-bottom:0; }
.tl i { grid-area:bar; height:4px; border-radius:99px; background:linear-gradient(90deg, var(--brand) var(--w), var(--alt) var(--w)); max-width:70%; }
.tl span { grid-area:name; } .tl b { grid-area:n; font-weight:500; font-variant-numeric:tabular-nums; }
@media (max-width:760px) { .kpis.k4 { grid-template-columns:repeat(2,minmax(0,1fr)); } table.clean th, table.clean td { padding:10px; } }
/* downloads over time: a bar per day (or week, or month), its count on top, dates underneath */
.gchart { display:grid; grid-template-columns:repeat(var(--cols), minmax(0,1fr)); gap:4px; align-items:end; height:170px; padding:18px 0 22px; border-bottom:1px solid var(--line); }
.gc { position:relative; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; height:100%; min-width:0; }
.gc i { display:block; width:100%; max-width:34px; border-radius:4px 4px 0 0; background:var(--brand); opacity:.85; }
.gc:hover i { opacity:1; }
.gc small { font-size:11px; color:var(--muted); line-height:1; margin-bottom:4px; font-variant-numeric:tabular-nums; }
.gc em { position:absolute; top:calc(100% + 6px); font-style:normal; font-size:11px; color:var(--muted); white-space:nowrap; }
.gc:first-child em { left:0; } .gc:last-child em { right:0; }
.gtrend { margin:14px 0 0; } .gtrend b.up { color:var(--good); } .gtrend b.down { color:var(--bad); }
