/* TOF dashboard, editorial restyle (2026-11-25). Loaded after beta.css and cards.css and overrides them.
   Direction: reads like a newspaper graphic, not an admin panel. White page, ink and gray, red only for what
   matters, green only for signed off / on track. Panels are divided by thin rules, never boxed. No shadows,
   no gradients, no pills, no icons. Numbers are set in the text face with tabular figures. */
:root {
  --canvas: #ffffff; --side: #ffffff; --panel: #ffffff; --ink: #1d1d1d; --text: #2b2b2a; --muted: #6e6e6a; --faint: #8f8f8a;
  --line: #dcdcd8; --line2: #e9e9e5; --hover: #f4f4f2; --rowhi: #f6f6f3; --mark: #bdbdb8; --mark-soft: #e6e6e2;
  --red: #cd0404; --red-soft: #fbeaea; --green: #2f7d4f;
  --st-review: #d3d3cf; --st-appr: #9a9a96; --st-permit: #1d1d1d;
  --r-contractor: #8f8f8a; --r-applicant: #8f8f8a; --r-rep: #8f8f8a; --r-owner: #8f8f8a; --r-si: #8f8f8a;
  --ev-filed: #9a9a96; --ev-appr: #5f5f5c; --ev-permit: #1d1d1d; --ev-done: #2f7d4f;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
body { background: var(--canvas); color: var(--text); font: 400 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
.mono, td.mono, .lk.mono { font-family: var(--sans); font-variant-numeric: tabular-nums; }
svg text { font-family: var(--sans) !important; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.lk { border-bottom: 0; text-decoration: underline; text-decoration-color: var(--mark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lk:hover { color: var(--ink); text-decoration-color: var(--red); }
a.num { font-weight: 600; color: var(--ink); text-decoration-color: var(--mark); font-variant-numeric: tabular-nums; }
a.num:hover { color: var(--ink); text-decoration-color: var(--red); }

/* Site header stays as on theorderingforce.com */
header.site { border-bottom: 1px solid var(--ink); }

/* Sidebar: plain text, one rule */
.app { max-width: 1340px; margin: 0 auto; grid-template-columns: 216px minmax(0, 1fr); }
.side { background: var(--side); border-right: 1px solid var(--line); padding: 22px 20px 24px 15px; }
.side-title { display: none; }
.side-h { font: 600 11px var(--sans); letter-spacing: .09em; color: var(--muted); padding: 22px 0 6px; }
.it { padding: 5px 0; border-radius: 0; font-size: 14px; color: var(--text); gap: 8px; }
.it svg { display: none; }
a.it:hover, button.it:hover { background: none; color: var(--red); }
.it.on { background: none; box-shadow: none; font-weight: 600; color: var(--ink); }
.it i { border-radius: 0; width: 6px; height: 6px; background: var(--ink); }
.side-empty { padding: 2px 0 4px; font-size: 12.5px; }
.side-mail { margin-top: 26px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.side-mail b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 3px; }

/* Search: a line set into the page */
.topbar { background: var(--canvas); border-bottom: 0; padding: 18px 0 0 40px; }
.omni { max-width: none; height: auto; padding: 0; gap: 12px; background: none; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; }
.omni > svg, .omni kbd { display: none; }
.omni:focus-within { border-color: var(--red); box-shadow: none; }
.omni input { font: 600 clamp(17px, 2.2vw, 22px) var(--display); height: auto; padding: 6px 0 9px; }
.omni input::placeholder { color: var(--mark); font-weight: 600; }
.omni-drop { border: 1px solid var(--ink); border-radius: 0; box-shadow: none; top: calc(100% + 2px); }
.omni-drop .grp { letter-spacing: .09em; color: var(--muted); }
.omni-drop .opt mark { color: var(--red); }
.omni-drop .right { font: 12px var(--sans); }
.omni-drop .foot-row { background: none; }
.badge { border: 0; background: none; padding: 0; border-radius: 0; font: 600 11px var(--sans); letter-spacing: .09em; color: var(--muted); }
.badge i { display: none; }
.content { padding: 0 0 40px 40px; }
.foot { margin-left: 40px; padding: 16px 0 30px; border-top: 1px solid var(--ink); font-size: 11.5px; line-height: 1.6; color: var(--muted); }

/* Type */
.eyebrow, .todayhead .eyebrow, .kicker { font: 600 11px var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.page-head { padding: 34px 0 8px; }
.page-head h1, .card-head h1, h1.headline { font: 700 clamp(28px, 3.9vw, 42px)/1.06 var(--display); letter-spacing: -.022em; color: var(--ink); margin: 8px 0 0; max-width: 22em; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--red); }
h1.headline b, h1.headline .lk { font-weight: 700; }
.subt { color: var(--muted); font-size: 15px; line-height: 1.5; margin-top: 12px; max-width: 46em; }
.sum { font-size: 16.5px; line-height: 1.55; color: var(--text); margin: 14px 0 0; max-width: 42em; }
.sum b, .sum .n { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.hot, .sum .hot { color: var(--red); font-weight: 600; }
.credit, .note { font-size: 11.5px; line-height: 1.5; color: var(--muted); margin-top: 10px; }
.datanote { font-size: 12.5px; color: var(--muted); }

/* Panels: ruled, not boxed */
.grid { gap: 0 44px; padding-top: 0; margin-top: 30px; border-top: 1px solid var(--ink); }
.grid:empty { display: none; }
.w { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 20px 0 26px; margin-top: -1px; }
.wh { margin-bottom: 8px; }
.wh h3, .lead-title { font: 600 11px var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.find { font: 700 21px/1.15 var(--display); letter-spacing: -.01em; color: var(--ink); margin: 0 0 14px; max-width: 26em; text-wrap: balance; }
.s12 > .find { font-size: 26px; letter-spacing: -.016em; }
.empty-state { padding: 28px 0; }

/* Numbers that used to be big tiles: quiet figures in the text face */
.tile { padding: 16px 0 20px; }
.tile .v { font: 700 26px/1.1 var(--display); letter-spacing: -.015em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tile .v.small { font-size: 19px; padding-top: 2px; }
.tile .v.red { color: var(--red); }
.tile .sub { font-size: 12.5px; }
.tile-go { font-size: 12px; font-weight: 600; color: var(--muted); text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 3px; }
a.tile.linked:hover, .tile.clickable:hover, .leadcard:hover { border-color: var(--line); }
.tile.clickable:hover .tile-go, a.tile.linked:hover .tile-go, .leadcard:hover .tile-go { color: var(--ink); text-decoration-color: var(--red); }
.cmp-bar, .bt { border-radius: 0; background: var(--line2); } .cmp-bar i, .bt span { border-radius: 0; }
.cmp-row b { font: 600 12px var(--sans); font-variant-numeric: tabular-nums; }
.speed-head b { font: 700 22px/1.1 var(--display); }

/* Record header: finding on the left, fixed facts on the right */
.card-head { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 26px 48px; padding: 34px 0 0; align-items: start; }
.ch-main { flex: none; }
.ch-name { font: 600 15px var(--sans); color: var(--ink); margin-top: 12px; }
.ch-side { align-items: stretch; gap: 0; }
.factlist { margin: 0; border-top: 1px solid var(--ink); font-size: 13.5px; }
.factlist div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.factlist dt { color: var(--muted); white-space: nowrap; }
.factlist dd { margin: 0; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.facts { display: block; margin-top: 12px; font-size: 14px; color: var(--muted); line-height: 1.7; }
.facts span { display: inline; padding: 0; border: 0; border-radius: 0; background: none; font-size: inherit; }
.facts span + span::before { content: " · "; color: var(--mark); }
.descr { font-size: 14px; max-width: 46em; }
.ids { font: 13px var(--sans); }
.btn-watch { align-self: flex-start; margin-top: 14px; border: 0; background: none; padding: 0; border-radius: 0; font: 600 13px var(--sans); color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 3px; }
.btn-watch:hover { text-decoration-color: var(--red); }
.btn-watch.on { background: none; color: var(--red); }
.cap-note { background: none; border: 0; border-left: 2px solid var(--ink); border-radius: 0; padding: 2px 0 2px 12px; margin-top: 18px; max-width: 52em; }

/* Controls as text: pills, tabs, segments, chips */
.pill, .tab, .bchip, .rolef button, .seg button { border: 0; background: none; border-radius: 0; padding: 2px 0; margin-right: 16px; color: var(--muted); font: 13.5px var(--sans); }
.pill:hover, .tab:hover, .bchip:hover, .rolef button:hover { color: var(--ink); border: 0; }
.pill.on, .tab.on, .rolef button.on, .seg button.on { background: none; color: var(--ink); font-weight: 600; box-shadow: inset 0 -1.5px 0 var(--ink); }
.tab span, .rolef button b, .rolef button.on b, .bchip b { font: inherit; font-variant-numeric: tabular-nums; color: inherit; margin-left: 3px; }
.tab.on span { color: var(--ink); }
.seg { border: 0; border-radius: 0; background: none; overflow: visible; } .seg button + button { border-left: 0; }
.pillset, .tabs, .rolef, .bchips { gap: 2px 0; }
.todaybar { justify-content: flex-start; padding-top: 12px; }
.chip { border-radius: 0; background: var(--ink); } .chip button { border-radius: 0; }
.rchip, .wts span { border: 0; background: none; border-radius: 0; padding: 0; margin-right: 10px; }
.rchip b { font: 600 12px var(--sans); }
.dpill { min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; font: 600 12.5px var(--sans); font-variant-numeric: tabular-nums; }
.legend i, .st i, .speed-legend i, .rr i, .mini-steps i { border-radius: 0; }

/* Forms: underlined, not boxed */
.filters select, .filters input, .tool-form input[type="search"], .tool-form select, .sel select, .daynav input, .pager select {
  border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; background: var(--panel); font: 600 13.5px var(--sans); color: var(--ink); padding: 0 2px; }
.filters .set { background: none; border-color: var(--red); }
.filters .count { font: 12.5px var(--sans); font-variant-numeric: tabular-nums; }
.tool-form button, .daynav button, .pager button, .pager .pbtn, .zoomctl button { border-radius: 0; box-shadow: none; }
.tool-form button { background: none; color: var(--ink); border: 0; border-bottom: 1.5px solid var(--ink); padding: 0 2px; }
.pager { font-size: 12.5px; }
.pager button, .pager .pbtn { border: 0; background: none; padding: 0 4px; font-weight: 600; text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 3px; }
.pager button:disabled { text-decoration: none; }
.pager .pg-info { font-family: var(--sans); font-variant-numeric: tabular-nums; }

/* Tables: scrolling frame, sticky header, thin rules */
.tw { border-top: 1px solid var(--ink); max-height: 640px; }
table { font-size: 13.5px; font-variant-numeric: tabular-nums; }
thead th { font: 600 11px var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 9px 14px 8px 0; border-bottom: 1px solid var(--ink); }
thead th .ar, a.sortlink.on { color: var(--ink); }
tbody td { padding: 9px 14px 9px 0; border-bottom: 1px solid var(--line); }
tr.focus td { box-shadow: inset 0 1px 0 var(--ink), inset 0 -1px 0 var(--ink); }
.bar-in { border-radius: 0; height: 9px; background: var(--mark) !important; }
tr.focus .bar-in, tbody tr:first-child .bar-in.lead { background: var(--red) !important; }
.chg { font-size: 12.5px; color: var(--muted); white-space: nowrap; } .chg.up { color: var(--ink); font-weight: 600; } .chg.big { color: var(--red); font-weight: 600; }

/* Lists and small parts */
.jrow, .nowrow, .rr, .prow, .wrow, .typo li, .due-row { border-color: var(--line); }
.plist .prow, .wlist .wrow { border-radius: 0; padding: 8px 0; }
.wrow.hi { background: var(--rowhi); box-shadow: inset 2px 0 0 var(--red); }
.pnum, .wn, .typo .tc, .typo .tr, .feed .when, .ev-d, .rr .d, .jright, .res-right, .ryr, .mt-d, .ft-tick, .steps .sdate { font-family: var(--sans); font-variant-numeric: tabular-nums; }
.typo .tr { color: var(--muted); } .typo li:first-child .tn { color: var(--ink); } .typo .tn a:hover { color: var(--ink); text-decoration-color: var(--red); }
.typo .tn { font-family: var(--display); }
.person { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 12px 0; } a.person:hover { border-color: var(--ink); }
.person .pgo, .webcard .wc-go { color: var(--ink); text-decoration: underline; text-decoration-color: var(--mark); text-underline-offset: 3px; }
.webcard { border: 1px solid var(--ink); border-radius: 0; box-shadow: none; }
.webcard .wc-stats b { font: 600 13.5px var(--sans); }
.tip { border-radius: 0; }
.fcounts { gap: 0 40px; margin-top: 26px; border-top: 1px solid var(--ink); }
.fcount { background: none; border: 0; border-radius: 0; padding: 14px 0 4px; min-width: 150px; }
.fcount b { font: 700 26px/1.1 var(--display); letter-spacing: -.015em; }
.fcount.on b { box-shadow: inset 0 -2px 0 var(--ink); }
.w-h b { font: 700 21px/1.15 var(--display); letter-spacing: -.01em; color: var(--ink); }
.mlwrap, .lmap { border-radius: 0; }
.mlwrap .maplibregl-ctrl-group { box-shadow: none; border: 1px solid var(--line); border-radius: 0; }
.steps .sstat { border-radius: 0; }
.tabbar { background: #fff; backdrop-filter: none; border-top: 1px solid var(--ink); }
.tabbar svg { display: none; } .tb { font: 500 13px var(--sans); padding: 10px 2px; border-radius: 0; } .tb.on { font-weight: 600; box-shadow: inset 0 2px 0 var(--ink); }
.tb-count { position: static; margin-left: 0; border-radius: 0; }
details.more { margin-top: 14px; }
details.more > summary { display: inline-block; list-style: none; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid var(--ink); padding-bottom: 1px; }
details.more > summary::-webkit-details-marker { display: none; }
details.more > summary::after { content: "  +"; font-weight: 500; }
details.more[open] > summary::after { content: "  \2212"; }
details.more .more-body { display: grid; gap: 12px; margin-top: 14px; font-size: 14.5px; max-width: 46em; }
details.more .look { padding-left: 12px; border-left: 2px solid var(--ink); }
details.more .look b { font-weight: 600; color: var(--ink); }

/* Home */
.scope { display: flex; flex-wrap: wrap; gap: 2px 0; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.scope > span { margin-right: 14px; }
.brief { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 44px; margin-top: 30px; align-items: start; }
.brief .lede { font-size: 16.5px; line-height: 1.55; margin: 14px 0 0; }
.brief ul.facts2 { list-style: none; padding: 0; margin: 16px 0 0; border-top: 1px solid var(--line); font-size: 14px; }
.brief ul.facts2 li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.brief ul.facts2 li > span:first-child { color: var(--muted); white-space: nowrap; }
.brief ul.facts2 li > span:last-child { text-align: right; }
.figcap { font-size: 13px; font-weight: 600; color: var(--ink); margin: 0 0 2px; }
.figsub { font-size: 12.5px; color: var(--muted); margin: 0 0 10px; }
.strip { margin: 26px 0 0; }
figure { margin: 0; }
.leadf { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--ink); }
.leadf h2, .fpanel h3 { font-family: var(--display); font-weight: 700; color: var(--ink); margin: 8px 0 0; text-wrap: balance; }
.leadf h2 { font-size: clamp(23px, 3vw, 31px); line-height: 1.1; letter-spacing: -.016em; max-width: 24em; }
.fpanel h3 { font-size: 21px; line-height: 1.15; letter-spacing: -.01em; }
.leadf figure, .fpanel figure { margin: 18px 0 0; }
.fgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 40px; border-top: 1px solid var(--ink); }
.fpanel { min-width: 0; padding: 22px 0 30px; border-bottom: 1px solid var(--line); }
.fpanel:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); }
.fpanel:nth-child(even) { padding-left: 32px; }
.fpanel:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; padding-right: 0; }
.fchart svg { display: block; width: 100%; height: auto; overflow: visible; }
.fchart text { font-size: 12px; fill: var(--muted); }
.fchart text.strong { fill: var(--ink); font-weight: 600; }
.fchart text.hot { fill: var(--red); font-weight: 600; }
.fchart a text { text-decoration: underline; }
.busiest { margin-top: 40px; border-top: 1px solid var(--ink); padding-top: 20px; }
.busiest .leaders { gap: 0 40px; margin-top: 10px; }
.busiest h4 { font: 700 17px var(--display); margin: 0 0 4px; color: var(--ink); }

@media (max-width: 1100px) { .card-head { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) {
  .app { grid-template-columns: 1fr; }
  .topbar { padding: 12px 0 0; top: 81px; } .content { padding: 0 0 28px; } .foot { margin-left: 0; }
  .main { padding: 0 16px; }
  .side { border-radius: 0; box-shadow: none; border-top: 1px solid var(--ink); padding: 22px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
  .brief { grid-template-columns: minmax(0, 1fr); }
  .grid { gap: 0; }
}
@media (max-width: 760px) {
  .fgrid { grid-template-columns: minmax(0, 1fr); }
  .fpanel:nth-child(odd) { padding-right: 0; border-right: 0; } .fpanel:nth-child(even) { padding-left: 0; }
}
.card-head.one { grid-template-columns: minmax(0, 1fr); }
