/* work.css — the Opendoor work board (work.html). Same tokens as the jobs board; one glyph per home, chips, no prose. */
:root {
  --bg: #f4f4f7; --surface: #fcfcfd; --fg: #141418; --fg2: #51515b; --muted: #83838d; --line: #dfdfe6; --line-soft: #ebebf0;
  --ok: #1baf7a; --ok-soft: rgba(27,175,122,0.14); --fill: #4cc596; --fill-soft: #a9e5cc;
  --warn: #e07b00; --warn-soft: rgba(224,123,0,0.16); --bad: #d03b3b; --bad-soft: rgba(208,59,59,0.14); --wait: #2a78d6; --wait-soft: rgba(42,120,214,0.14);
  --book: #6f8fcf; --nodate: #e6bf2f; --sel: rgba(42,120,214,0.10);
  --font: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #121214; --surface: #1b1b20; --fg: #ededf0; --fg2: #bdbdc6; --muted: #8b8b95; --line: #2e2e36; --line-soft: #26262d;
  --ok: #2fb886; --ok-soft: rgba(47,184,134,0.18); --fill: #2fb886; --fill-soft: #177a56;
  --warn: #f0a040; --warn-soft: rgba(240,160,64,0.2); --bad: #e66767; --bad-soft: rgba(230,103,103,0.18); --wait: #3987e5; --wait-soft: rgba(57,135,229,0.18);
  --book: #7f9fe0; --nodate: #e9c84f; --sel: rgba(57,135,229,0.14); color-scheme: dark; } }
:root[data-theme="dark"] {
  --bg: #121214; --surface: #1b1b20; --fg: #ededf0; --fg2: #bdbdc6; --muted: #8b8b95; --line: #2e2e36; --line-soft: #26262d;
  --ok: #2fb886; --ok-soft: rgba(47,184,134,0.18); --fill: #2fb886; --fill-soft: #177a56;
  --warn: #f0a040; --warn-soft: rgba(240,160,64,0.2); --bad: #e66767; --bad-soft: rgba(230,103,103,0.18); --wait: #3987e5; --wait-soft: rgba(57,135,229,0.18);
  --book: #7f9fe0; --nodate: #e9c84f; --sel: rgba(57,135,229,0.14); color-scheme: dark; }

* { box-sizing: border-box; min-width: 0; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--fg); font: 13px/1.4 var(--font); }
body { display: grid; grid-template-rows: auto minmax(0, 1fr); }
button, select, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
[hidden] { display: none !important; }

/* ---- top bar ---- */
.top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 8px 16px; border-bottom: 1px solid var(--line); background: var(--surface); min-height: 48px; }
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand h1 { margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.live { font-size: 11px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: inline-block; }
.live .dot.off { background: var(--bad); }
.scope { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.scope label { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.scope select, .scope input { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 4px 8px; font-size: 12.5px; color: var(--fg); max-width: 220px; }
.scope input { width: 200px; }
.scope select.me { font-weight: 600; }
.tabs { display: flex; align-items: center; gap: 4px; }
.tab { border: 0; background: none; padding: 6px 10px; border-radius: 6px; color: var(--fg2); font-weight: 500; }
.tab[aria-selected="true"] { background: var(--line-soft); color: var(--fg); font-weight: 600; }
.tab:disabled { opacity: 0.45; cursor: default; }
.tabs .link { font-size: 12px; color: var(--fg2); text-decoration: none; margin-left: 8px; border-bottom: 1px solid var(--line); }
.pop { position: relative; }
.pop > summary { list-style: none; cursor: pointer; border: 1px solid var(--line); border-radius: 50%; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); color: var(--fg2); font-weight: 600; }
.pop > summary::-webkit-details-marker { display: none; }
.pop-body { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; width: min(560px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 36px rgba(0,0,0,0.18); padding: 12px 14px; display: grid; gap: 8px; max-height: 70vh; overflow: auto; font-size: 12.5px; }
.pop-body h4 { margin: 4px 0 0; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.pop-body dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 3px 12px; }
.pop-body dt { font-weight: 600; white-space: nowrap; }
.pop-body dd { margin: 0; color: var(--fg2); }

/* ---- view ---- */
main { min-height: 0; }
.view { display: none; }
.view.on { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 10px 16px 12px; max-width: 1480px; margin: 0 auto; width: 100%; }
.view.on > * { flex: none; }
.view.on > .body { flex: 1 1 auto; min-height: 0; }
.notice { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--warn); border-radius: 8px; background: var(--warn-soft); font-size: 12.5px; }
.notice button { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 3px 8px; }

/* week strip */
.weekstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 6px; }
.wk { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 7px 10px 8px; display: grid; gap: 5px; text-align: left; position: relative; }
.wk:hover { border-color: var(--fg2); }
.wk[aria-pressed="true"] { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.wk .l { font-size: 11px; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; overflow: hidden; }
.wk .l b { color: var(--fg); font-weight: 600; }
.wk .n { font-size: 20px; font-weight: 600; line-height: 1; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 6px; }
.wk .n small { font-size: 11px; font-weight: 400; color: var(--muted); }
.wk.proj .n::after { content: "projected"; font-size: 10px; font-weight: 400; color: var(--muted); margin-left: auto; }
.bar { display: flex; height: 6px; border-radius: 3px; overflow: hidden; background: var(--line-soft); }
.bar i { display: block; height: 100%; }
.bar .s { background: var(--fill); } .bar .b { background: var(--book); } .bar .d { background: var(--nodate); } .bar .v { background: var(--bad); }
.wk.proj .bar { opacity: 0.55; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tile { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 8px 10px; display: grid; gap: 2px; text-align: left; }
.tile .v { font-size: 22px; font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; display: flex; align-items: center; gap: 8px; }
.tile .v i { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.tile .l { font-size: 11px; color: var(--muted); }
.tile[aria-pressed="true"] { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.tile.sep { border-style: dashed; }

/* filters */
.filters { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--surface); }
.seg button { border: 0; background: none; padding: 4px 10px; color: var(--fg2); }
.seg button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.chip { display: inline-flex; align-items: center; gap: 5px; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; font-size: 12px; background: var(--surface); color: var(--fg2); white-space: nowrap; }
.chip b { color: var(--fg); font-weight: 600; }
.chip i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.chip.tog { cursor: pointer; }
.chip.tog[aria-pressed="true"] { border-color: var(--fg); color: var(--fg); }
.chip.due i { background: var(--warn); } .chip.late i { background: var(--bad); } .chip.wait i { background: var(--wait); } .chip.ok i { background: var(--ok); } .chip.flag i { background: var(--bad); }
.filters .sp { flex: 1; }
.filters .small { font-size: 11px; color: var(--muted); }
.filters .x { border: 0; background: none; color: var(--fg2); text-decoration: underline; font-size: 12px; }

/* list + card */
.body { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 12px; min-height: 0; }
@media (max-width: 1100px) { .body { grid-template-columns: 1fr; } .card { display: none; } }
.list { min-height: 0; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
table.rows { width: 100%; border-collapse: collapse; font-size: 12.5px; }
table.rows th { position: sticky; top: 0; z-index: 1; background: var(--surface); text-align: left; font-size: 11px; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; padding: 7px 8px; border-bottom: 1px solid var(--line); }
table.rows td { padding: 5px 8px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; white-space: nowrap; }
tr.g td { background: var(--line-soft); font-weight: 600; padding: 6px 8px; border-top: 1px solid var(--line); cursor: pointer; }
tr.g .caret { display: inline-block; width: 12px; color: var(--muted); font-size: 11px; }
tr.g .ref { font-family: var(--mono); font-size: 11.5px; color: var(--fg2); margin-right: 8px; }
tr.g .area { font-weight: 600; }
tr.g .who { font-weight: 400; color: var(--fg2); margin-left: 8px; }
tr.g .vend { font-weight: 400; color: var(--muted); margin-left: 8px; }
tr.g .bar { width: 120px; display: inline-flex; vertical-align: middle; margin-right: 8px; }
tr.g .gn { font-weight: 500; color: var(--fg2); }
tr.r { cursor: pointer; }
tr.r:hover td { background: var(--line-soft); }
tr.r.sel td { background: var(--sel); }
tr.r.late td.act, tr.r.late .act .chip { border-color: var(--bad); }
td.addr b { font-weight: 600; }
td.addr .muted { margin-left: 4px; }
td.ck { width: 40px; }
.cad { display: inline-block; min-width: 26px; text-align: center; font-family: var(--mono); font-size: 10.5px; font-weight: 600; padding: 1px 4px; border-radius: 4px; border: 1px solid var(--line); color: var(--fg2); background: var(--surface); }
.cad.flag { border-color: var(--bad); color: var(--bad); background: var(--bad-soft); }
.cad.chg::after { content: "↗"; margin-left: 2px; font-size: 9px; }
.tr { display: inline-flex; width: 18px; height: 18px; border-radius: 4px; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; color: var(--fg2); background: var(--line-soft); font-family: var(--mono); }
.tr.C { background: rgba(42,120,214,0.14); } .tr.L { background: rgba(27,175,122,0.16); } .tr.P { background: rgba(98,80,214,0.14); }
/* the seven-step glyph */
.gl { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 16px; gap: 2px; vertical-align: middle; }
.gl i { display: block; height: 10px; border-radius: 2px; background: var(--line); }
.gl i.on { background: var(--fill); }
.gl i.cur.due { background: var(--warn); } .gl i.cur.late { background: var(--bad); } .gl i.cur.wait { background: var(--wait); } .gl i.cur.ok { background: var(--line); box-shadow: inset 0 0 0 1.5px var(--fill); }
.gl i.cur.done { background: var(--fill); }
.gl.proj i.on { opacity: 0.6; }
.gl i:first-child { border-radius: 4px 2px 2px 4px; } .gl i:last-child { border-radius: 2px 4px 4px 2px; }
td.act .chip { border: 0; padding: 0; background: none; font-size: 12px; color: var(--fg2); }
td.act .chip.due { color: var(--warn); } td.act .chip.late { color: var(--bad); } td.act .chip.wait { color: var(--wait); } td.act .chip.ok { color: var(--muted); } td.act .chip.done { color: var(--ok); }
td.act .chip b { font-weight: 600; color: inherit; }
.ini { display: inline-flex; width: 22px; height: 22px; border-radius: 50%; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; background: var(--line-soft); color: var(--fg2); }
td.links a { color: var(--fg2); text-decoration: none; margin-left: 6px; font-size: 12px; border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; }
td.links a:hover { border-color: var(--fg); color: var(--fg); }
.flags { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.flags i { width: 7px; height: 7px; border-radius: 50%; background: var(--bad); display: inline-block; }
.flags i.sign { background: var(--warn); } .flags i.docs { background: var(--nodate); } .flags i.ended { background: var(--fg2); }
tr.empty td { padding: 24px; color: var(--muted); text-align: center; }

/* right card */
/* a flex column, not a grid: an auto grid row inside a fixed-height scroll box is clipped to the free space when its item hides overflow (the steps box) */
.card { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 12px 14px; overflow: auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; font-size: 12.5px; }
.card > * { flex: none; }
.card .empty { color: var(--muted); padding: 20px 0; text-align: center; }
.card h3 { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.25; }
.card .sub { color: var(--fg2); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; }
.card .sub a { color: var(--fg2); }
.card .kv { display: grid; grid-template-columns: 92px 1fr; gap: 4px 10px; }
.card .kv dt { color: var(--muted); } .card .kv dd { margin: 0; }
.steps { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.step { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 7px 10px; border-bottom: 1px solid var(--line-soft); align-items: start; }
.step:last-child { border-bottom: 0; }
.step .m { width: 14px; height: 14px; border-radius: 50%; margin-top: 2px; background: var(--line); display: inline-block; }
.step.on .m { background: var(--fill); } .step.cur.due .m { background: var(--warn); } .step.cur.late .m { background: var(--bad); } .step.cur.wait .m { background: var(--wait); } .step.cur.ok .m { background: var(--surface); box-shadow: inset 0 0 0 2px var(--fill); }
.step .t { font-weight: 600; }
.step .f { color: var(--fg2); font-size: 12px; }
.step.cur .f { color: var(--fg); }
.step .f a { color: var(--fg2); }
.card .actions { display: flex; flex-wrap: wrap; gap: 6px; }
.card .actions a, .card .actions button { border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; background: var(--surface); text-decoration: none; color: var(--fg); font-size: 12px; }
.card .actions a.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.card h4 { margin: 4px 0 0; font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.card .wkrow { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; }
.card .wkrow button { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 4px 2px; display: grid; gap: 3px; justify-items: center; font-size: 10px; color: var(--muted); }
.card .wkrow button[aria-pressed="true"] { border-color: var(--fg); }
.card .wkrow .gl { grid-auto-columns: 5px; gap: 1px; } .card .wkrow .gl i { height: 6px; }
.card .warn { border: 1px solid var(--bad); background: var(--bad-soft); border-radius: 6px; padding: 6px 10px; }
.card .warn.soft { border-color: var(--warn); background: var(--warn-soft); }

/* ---- Actions view ---- */
.tiles.nine { grid-template-columns: repeat(10, minmax(0, 1fr)); }
@media (max-width: 1200px) { .tiles.nine { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.tile .v small { font-size: 11px; font-weight: 400; color: var(--muted); margin-left: auto; }
.sections { min-height: 0; overflow: auto; display: flex; flex-direction: column; gap: 10px; }
.sections > * { flex: none; }
.sec { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.sec > header { display: flex; align-items: baseline; gap: 10px; padding: 8px 12px; border-bottom: 1px solid var(--line-soft); }
.sec h3 { margin: 0; font-size: 14px; font-weight: 600; white-space: nowrap; }
.sec .cnt { font-size: 12px; color: var(--fg2); white-space: nowrap; }
.sec .cnt b { color: var(--fg); font-weight: 600; }
.sec .hint { flex: 1; font-size: 12px; color: var(--muted); min-width: 0; }
.sec header .x { border: 0; background: none; color: var(--fg2); text-decoration: underline; font-size: 12px; white-space: nowrap; }
.sec.wait h3 { color: var(--fg2); font-weight: 500; }
.sec table.rows tr.g td { background: none; border-top: 0; font-weight: 500; }
.sec table.rows tr.g:hover td { background: var(--line-soft); }
.sec tr.g .lbl { font-weight: 600; }
.sec tr.g .sub { font-weight: 400; color: var(--muted); margin-left: 8px; font-size: 12px; }
.sec tr.g .meta { font-weight: 400; color: var(--fg2); margin-left: 10px; font-size: 12px; }
.sec tr.g .meta b { font-weight: 600; color: var(--fg); }
.sec tr.g .meta .chip { padding: 0 7px; font-size: 11px; margin-left: 4px; }
.sec tr.g .meta .chip.bad { border-color: var(--bad); color: var(--bad); }
.sec tr.g .right { float: right; display: inline-flex; align-items: center; gap: 10px; color: var(--fg2); font-weight: 500; }
.sec tr.r td.addr { padding-left: 28px; }
.sec tr.r td.det { color: var(--fg2); white-space: normal; min-width: 240px; }
.sec tr.r td.det .chip { border: 0; padding: 0; background: none; font-weight: 600; }
.sec tr.r td.det .chip.due { color: var(--warn); } .sec tr.r td.det .chip.late { color: var(--bad); } .sec tr.r td.det .chip.wait { color: var(--wait); } .sec tr.r td.det .chip.ok { color: var(--muted); }
.wkchip { display: inline-block; font-size: 11px; color: var(--fg2); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; white-space: nowrap; }
.wkchip.late { border-color: var(--bad); color: var(--bad); }
.sec .empty { padding: 14px; color: var(--muted); text-align: center; }
/* snoozes */
.snz { border: 1px solid var(--line); border-radius: 4px; background: var(--surface); color: var(--fg2); font-size: 10.5px; font-weight: 700; font-family: var(--mono); padding: 1px 5px; margin-left: 6px; letter-spacing: 0.02em; }
.snz:hover { border-color: var(--fg); color: var(--fg); }
.snz.wake { font-family: var(--font); font-weight: 500; }
tr.snoozed td { opacity: 0.6; }
tr.snoozed td.det .chip, tr.g.snoozed .lbl { text-decoration: line-through; text-decoration-color: var(--muted); }
.zz { display: inline-flex; align-items: center; gap: 5px; color: var(--wait); font-size: 12px; }
.zz b { font-family: var(--mono); font-size: 10.5px; font-weight: 700; }
.sec header .zzc { margin-left: 4px; }
.snz-panel { position: fixed; top: 64px; right: 24px; z-index: 50; width: 340px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 36px rgba(0,0,0,0.22); padding: 12px 14px; display: grid; gap: 10px; font-size: 12.5px; }
.snz-panel h4 { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.3; }
.snz-panel label { display: grid; gap: 4px; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.snz-panel input { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 5px 8px; font-size: 12.5px; color: var(--fg); text-transform: none; letter-spacing: 0; }
.snz-presets { display: flex; flex-wrap: wrap; gap: 5px; }
.snz-presets button { border: 1px solid var(--line); border-radius: 999px; background: var(--surface); padding: 2px 9px; font-size: 12px; color: var(--fg2); }
.snz-presets button[aria-pressed="true"] { border-color: var(--fg); color: var(--fg); }
.snz-foot { display: flex; align-items: center; gap: 8px; }
.snz-foot .muted { flex: 1; font-size: 11px; }
.snz-foot button { border: 1px solid var(--line); border-radius: 6px; background: var(--surface); padding: 4px 10px; font-size: 12px; }
.snz-foot button.primary { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.snz-err { color: var(--bad); font-size: 12px; }
.card .zz-line { display: flex; align-items: center; gap: 8px; border: 1px solid var(--wait); background: var(--wait-soft); border-radius: 6px; padding: 6px 10px; }
.card .zz-line .sp { flex: 1; }
.card .sub a.home { margin-left: auto; text-decoration: none; border-bottom: 1px solid var(--line); color: var(--fg2); }
.card .sub a.home:hover { color: var(--fg); border-color: var(--fg); }

/* ---- Homes view ---- */
.tiles.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.hbody { grid-template-columns: 420px minmax(0, 1fr); }
@media (max-width: 1100px) { .hbody { grid-template-columns: 1fr; } }
.hcard { padding: 12px 14px; }
.hcard h4 { margin: 6px 0 0; }
.hcard table.rows th { position: static; }
.hcard table.rows td { white-space: nowrap; }
.hcard table.rows td.desc { white-space: normal; color: var(--fg2); max-width: 420px; }
.hbody .list table.rows td { white-space: normal; }
.hrow td.addr { line-height: 1.25; }
.hrow td.addr .muted { display: block; margin-left: 0; font-size: 11.5px; }
.hrow td.area { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.hrow .tl { white-space: nowrap; }
.tl { display: inline-flex; gap: 3px; }
.tr.D { background: rgba(201,61,138,0.16); } .tr.H { background: rgba(224,123,0,0.16); }
.tl .tr.late { box-shadow: inset 0 0 0 1.5px var(--bad); } .tl .tr.due { box-shadow: inset 0 0 0 1.5px var(--warn); } .tl .tr.wait { box-shadow: inset 0 0 0 1.5px var(--wait); } .tl .tr.ok, .tl .tr.done { box-shadow: inset 0 0 0 1.5px var(--fill); }
.hist { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 11px; gap: 2px; vertical-align: middle; }
.hist i { display: block; height: 11px; border-radius: 2px; background: var(--line-soft); }
.hist i.ok { background: var(--fill); } .hist i.late { background: var(--bad); } .hist i.due { background: var(--warn); } .hist i.wait { background: var(--wait); } .hist i.hollow { background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--fill); }
.hist i.cur { outline: 1.5px solid var(--fg); outline-offset: 1px; }
.hist i.gap { margin-left: 5px; }
.st { display: inline-block; font-size: 11px; border: 1px solid var(--line); border-radius: 4px; padding: 0 6px; color: var(--fg2); white-space: nowrap; }
.st.done { border-color: var(--fill); color: var(--ok); } .st.draft { border-style: dashed; } .st.due { border-color: var(--warn); color: var(--warn); }
tr.r.none td.act { color: var(--muted); }
.sections .none { padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; }
