/* ==========================================================================
   REVENUE — the Office's page (revenue.html), queue 70, office-q70, 17 Nov 2026.
   admin/js/office-revenue.mjs draws it. The owner's alone.

   Additions only, on the Office's own system: every colour, size and radius
   is office.css's token (--o-*), which the pro theme points at the light
   sheet, the dark switch at the posts' black, and the classic theme at the
   dark two-tone, so light and dark read without a dark copy of this file.
   The tiles are office.css's own .ofc-stat. A state is a word; a step that
   waits for the owner has the one heavier button. Every control is at least
   44px tall; narrower than 560px everything stacks.
   ========================================================================== */
#office .ofc-rv { display: grid; gap: 22px; min-width: 0; max-width: 1080px; }
#office .ofc-rv-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
#office .ofc-rv button { min-height: 44px; }
#office .ofc-rv-sec > button { justify-self: start; }
#office .ofc-rv-month { font: 600 var(--o-t-md)/1.2 var(--body); color: var(--o-text); min-width: 9.5em; text-align: center; }
#office .ofc-rv-read { margin-left: auto; }
#office .ofc-rv-sec { display: grid; gap: 12px; min-width: 0; }
#office .ofc-rv-h { margin: 0; font: 600 var(--o-t-md)/1.3 var(--body); color: var(--o-text); }
#office .ofc-rv-cur { margin: 4px 0 0; font: 600 var(--o-t-sm)/1.2 var(--body); color: var(--o-dim); letter-spacing: 0.04em; }
#office .ofc-rv-note { margin: 0; font-size: var(--o-t-sm); color: var(--o-dim); }
#office .ofc-rv-said { margin: 0; font-size: var(--o-t-sm); color: var(--o-text); padding: 10px 12px; border: 1px solid var(--o-line-2); border-radius: var(--o-r-sm); }
#office .ofc-rv-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
#office .ofc-rv-tiles .ofc-stat { margin: 0; min-width: 0; }
#office .ofc-rv-tiles .ofc-stat__n { font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
#office .ofc-rv-table td { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
#office .ofc-rv-fail { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--o-line-2); border-radius: var(--o-r); background: var(--o-panel); min-width: 0; }
#office .ofc-rv-fail__h { margin: 0; font: 600 var(--o-t-sm)/1.4 var(--body); color: var(--o-text); }
#office .ofc-rv-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
#office .ofc-rv-step { display: grid; gap: 4px; padding: 10px 12px; border: 1px solid var(--o-line-2); border-radius: var(--o-r-sm); min-width: 0; }
#office .ofc-rv-step.is-proposed { border-color: var(--o-line-3); }
#office .ofc-rv-step__h { margin: 0; font: 600 var(--o-t-sm)/1.4 var(--body); color: var(--o-text); }
#office .ofc-rv-step__w { margin: 0; font-size: var(--o-t-sm); color: var(--o-text); overflow-wrap: anywhere; }
#office .ofc-rv-step__d { margin: 0; font-size: var(--o-t-xs); color: var(--o-dim); overflow-wrap: anywhere; }
#office .ofc-rv-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
#office .ofc-rv-credit { display: grid; gap: 6px; padding: 10px 12px; border: 1px solid var(--o-line-2); border-radius: var(--o-r-sm); font-size: var(--o-t-sm); color: var(--o-text); }
#office .ofc-rv-credit p { margin: 0; overflow-wrap: anywhere; }
#office .ofc-rv-form { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; align-items: end; }
#office .ofc-rv-field { display: grid; gap: 4px; font-size: var(--o-t-xs); color: var(--o-dim); }
#office .ofc-rv-field input { min-height: 44px; padding: 0 10px; border: 1px solid var(--o-line-3); border-radius: var(--o-r-sm); background: var(--o-inset); color: var(--o-text); font: 400 var(--o-t-sm)/1.2 var(--body); min-width: 0; }
#office .ofc-rv-covers { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; border: 0; min-width: 0; }
#office .ofc-rv-covers legend { padding: 0 0 4px; font-size: var(--o-t-xs); color: var(--o-dim); }
#office .ofc-rv-cover { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: var(--o-t-sm); color: var(--o-text); }
#office .ofc-rv-cover input { width: 18px; height: 18px; accent-color: currentColor; }
#office .ofc-rv-recon { margin: 0; font-size: var(--o-t-sm); color: var(--o-text); padding-left: 12px; border-left: 2px solid var(--o-line-3); }
#office .ofc-rv-recon.is-diff { border-left-color: var(--o-text); }
#office .ofc-rv-refused { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
@media (max-width: 560px) {
  #office .ofc-rv-read { margin-left: 0; width: 100%; }
  #office .ofc-rv-tiles { grid-template-columns: 1fr 1fr; }
  #office .ofc-rv-form { grid-template-columns: 1fr; }
}
