:root {
  --bg: #f6f5f1; --card: #fff; --ink: #1d1d1b; --muted: #6b6a66; --line: #e4e2dc;
  --accent: #b8860b; --accent-ink: #fff; --ok: #2e7d32; --warn: #c77800; --bad: #b3261e; --soft: #f1efe8;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
[hidden] { display: none !important; }
a { color: inherit; }
.muted { color: var(--muted); }
.err { color: var(--bad); margin: .5rem 0 0; }
.top { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.brand { font-weight: 700; letter-spacing: .01em; }
.who { font-size: .9rem; display: flex; gap: .6rem; align-items: center; }
main { padding: 1rem; max-width: 1200px; margin: 0 auto; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1.2rem; }
.narrow { max-width: 420px; margin: 3rem auto; }
h1 { font-size: 1.4rem; margin: 0 0 .3rem; }
h2 { font-size: 1.1rem; margin: 0; }
label { display: block; margin: .8rem 0 .4rem; font-size: .9rem; color: var(--muted); }
input, select, textarea { width: 100%; padding: .6rem .7rem; border: 1px solid var(--line); border-radius: 8px; font: inherit; background: #fff; color: var(--ink); }
textarea { min-height: 90px; resize: vertical; }
button { font: inherit; padding: .6rem 1rem; border-radius: 8px; border: 1px solid var(--accent); background: var(--accent); color: var(--accent-ink); cursor: pointer; margin-top: .8rem; }
button.link { background: none; border: none; color: var(--muted); text-decoration: underline; padding: .4rem .2rem; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .8rem; }
.tabs button { margin: 0; background: #fff; color: var(--ink); border: 1px solid var(--line); }
.tabs button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill { display: inline-block; min-width: 1.4em; padding: 0 .4em; border-radius: 999px; background: var(--warn); color: #fff; font-size: .75rem; text-align: center; margin-left: .3em; }
.pill:empty { display: none; }
.toolbar { display: grid; grid-template-columns: 1fr; gap: .5rem; margin-bottom: .8rem; }
@media (min-width: 720px) { .toolbar { grid-template-columns: 2fr 1fr 1fr; } .toolbar .chips { grid-column: 1 / -1; } }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { padding: .3rem .7rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: .85rem; margin: 0; color: var(--ink); }
.chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.summary { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; font-size: .9rem; color: var(--muted); margin-bottom: .6rem; }
.summary b { color: var(--ink); }
.list { display: grid; gap: .5rem; }
.row { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .9rem; display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; cursor: pointer; }
.row:hover { border-color: var(--accent); }
.row .name { font-weight: 600; }
.row .cost { font-variant-numeric: tabular-nums; text-align: right; font-weight: 600; }
.row .sub { grid-column: 1 / -1; font-size: .85rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .3rem .8rem; }
.tag { display: inline-block; padding: .05rem .5rem; border-radius: 999px; background: var(--soft); font-size: .8rem; }
.tag.ok { background: #e7f3e8; color: var(--ok); }
.tag.warn { background: #fff2df; color: var(--warn); }
.tag.bad { background: #fbe9e7; color: var(--bad); }
.tag.review { background: #fff2df; color: var(--warn); font-weight: 600; }
.reason { grid-column: 1 / -1; font-size: .85rem; color: var(--warn); }
.group-title { margin: 1rem 0 .3rem; font-size: .95rem; color: var(--muted); }
.drawer { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 10; display: flex; justify-content: flex-end; }
.drawer-body { background: #fff; width: min(560px, 100%); height: 100%; overflow: auto; padding: 1rem 1.2rem 2rem; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
.drawer-actions { display: flex; gap: .8rem; align-items: center; position: sticky; bottom: 0; background: #fff; padding-top: .6rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
@media (max-width: 480px) { .grid2 { grid-template-columns: 1fr; } }
.checkline { display: flex; align-items: center; gap: .5rem; margin-top: .8rem; }
.checkline input { width: auto; }
.empty { padding: 2rem; text-align: center; color: var(--muted); }

/* Sign-in page (2026-10-04): Desk name, colors and fonts; Google first, emailed code second. */
body:has(#signin:not([hidden])) .top { display: none; }
.sx { position: fixed; inset: 0; z-index: 20; overflow: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); font-family: "Public Sans", -apple-system, BlinkMacSystemFont, sans-serif; }
.sx[hidden] { display: none; }
.sx-side { background: #1b2622; color: #e5ebe7; padding: 48px clamp(24px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.sx-brand { display: flex; align-items: center; gap: 12px; font: 700 22px/1 "Schibsted Grotesk", sans-serif; letter-spacing: -0.01em; }
.sx-brand svg { width: 38px; height: 38px; }
.sx-pitch { margin: 0; max-width: 24ch; font: 700 clamp(26px, 3vw, 36px)/1.15 "Schibsted Grotesk", sans-serif; letter-spacing: -0.015em; color: #fff; }
.sx-points { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: #a9b6af; max-width: 44ch; }
.sx-points li { padding-left: 22px; position: relative; }
.sx-points li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 8px; height: 8px; background: #e0aa3e; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.sx-main { background: #f4f6f2; display: grid; place-items: center; padding: 40px 20px; }
.sx-card { width: min(400px, 100%); background: #fff; border: 1px solid #d5dbd4; border-radius: 14px; padding: 32px 28px; box-shadow: 0 1px 0 rgba(27,38,34,.04), 0 12px 32px -18px rgba(27,38,34,.3); }
.sx-card h1 { margin: 0; font: 700 26px/1.1 "Schibsted Grotesk", sans-serif; color: #1b2622; }
.sx-sub { margin: 6px 0 22px; color: #4d5b55; }
.sx-google { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 11px 14px; border: 1px solid #c9d0c8; border-radius: 9px; background: #fff; color: #1b2622; font-weight: 600; text-decoration: none; }
.sx-google:hover { background: #f4f6f2; border-color: #a9b6af; }
.sx-google svg { width: 18px; height: 18px; }
.sx-or { display: flex; align-items: center; gap: 12px; margin: 18px 0 2px; color: #7b8781; font-size: 13px; }
.sx-or::before, .sx-or::after { content: ""; flex: 1; height: 1px; background: #e6eae5; }
.sx-card label { margin-top: 10px; color: #4d5b55; }
.sx-card form button[type="submit"] { width: 100%; padding: 11px 14px; background: #c28a12; border-color: #c28a12; font-weight: 600; border-radius: 9px; }
.sx-card form button[type="submit"]:hover { background: #a97710; }
.sx.coding #g-signin { display: none; }
.sx-foot { margin: 22px 0 0; padding-top: 16px; border-top: 1px solid #e6eae5; color: #7b8781; font-size: 13px; }
@media (max-width: 820px) {
  .sx { grid-template-columns: 1fr; }
  .sx-side { padding: 28px 22px 26px; gap: 12px; }
  .sx-points { display: none; }
  .sx-pitch { font-size: 22px; }
  .sx-main { place-items: start center; padding: 24px 16px 40px; }
}

/* "← Back to the Desk" on the inspection pages (2026-10-09): quiet, like the Desk's own Back link. */
.top .desk-back { color: var(--muted, #6b6b6b); text-decoration: none; font-size: 13px; margin-right: 14px; white-space: nowrap; }
.top .desk-back:hover { text-decoration: underline; }
.top .desk-back + .brand { margin-right: auto; }
@media (max-width: 640px) { .top:has(.desk-back) { flex-wrap: wrap; gap: 6px 12px; } }
