/* activityRow.css — a row that opens its activity (ActivityRow.jsx; Ryan, 2026-11-08: "the whole row clickable with a
   visible hover state, a cursor change, and something on the right edge that says there is more here"). The colors come
   from the surface's own theme through --ar-hover and --ar-ring, set on the row. The link covers the row (.ar-open);
   what keeps its own job (the arrow, the menu, an opened note or email) sits above it (.ar-above). */
.ar-row.ar-row--open { cursor: pointer; border-radius: 6px; transition: background-color 120ms; }
.ar-row.ar-row--open:hover { background: var(--ar-hover); }
.ar-row .ar-open { position: absolute; inset: 0; z-index: 1; border-radius: 6px; }
.ar-row .ar-open:focus-visible { outline: 2px solid var(--ar-ring); outline-offset: -2px; }
.ar-row .ar-above { position: relative; z-index: 2; }
.ar-row .ar-more { color: var(--ar-muted); }
.ar-row.ar-row--open:hover .ar-more { color: var(--ar-ring); }
/* src/modules/revenue/features/profile/awayNote.css — the line under a person picked for work who is away (AwayNote.jsx). Loaded
   by AwayNote alone. Amber, as the card's "away" is: something to know before giving them work, not an error. Two classes deep
   (the root's resets reach a single-class rule), every margin and padding stated; type through the tokens. */
.aw-note.aw-note { margin: 4px 0 0; padding: 6px 9px; border-radius: 7px; background: #FBF1DE; color: #6B4A12; font: 400 var(--text-sm)/1.4 var(--font-sans); }
/* src/modules/revenue/features/tasks/taskForm.css — the app's one task form (it replaced the Classic TaskForm). The accent
   is the workspace's own (--accent, --on-accent; Ryan, 2026-10-05 — never --pine). Loaded
   by TaskForm.jsx alone. Every rule two classes deep under .tc-screen; tokens only; Geist through --font-sans (the
   form draws no title of its own — its box's title is its host's); nothing here is a figure or code. One column. */
.tc-screen .tc-form { display: flex; flex-direction: column; gap: 12px; min-width: 0; font: 400 14px/1.45 var(--font-sans); color: var(--ink); }
.tc-screen .tc-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.tc-screen .tc-label { font: 500 12px/1.3 var(--font-sans); color: var(--ink-soft); }
.tc-screen .tc-need { font-weight: 400; color: var(--ink-faint); }
.tc-screen .tc-input { box-sizing: border-box; width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid var(--hairline-strong); border-radius: var(--radius-md); background: var(--white); color: var(--ink); font: 400 14px/1.35 var(--font-sans); }
.tc-screen .tc-input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.tc-screen .tc-input--area { resize: vertical; }
.tc-screen .tc-input--date { width: auto; }
.tc-screen .tc-hint { font-size: 12px; color: var(--ink-soft); }
.tc-screen .tc-problem { font: 600 12px/1.35 var(--font-sans); color: var(--amber); }
.tc-screen .tc-static { margin: 0; padding: 8px 10px; border: 1px dashed var(--hairline-strong); border-radius: var(--radius-md); font-size: 13px; line-height: 1.45; }
.tc-screen .tc-static--locked { border-style: solid; background: var(--parchment); color: var(--ink); font-weight: 500; }
.tc-screen .tc-muted { color: var(--ink-soft); }
.tc-screen .tc-attn { color: var(--amber); }
.tc-screen .tc-confirm { color: var(--accent); }
.tc-screen .tc-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tc-screen .tc-chip { padding: 4px 11px; border: 1px solid var(--hairline-strong); border-radius: var(--radius-full); background: var(--white); color: var(--ink); font: 500 12px/1.4 var(--font-sans); cursor: pointer; }
.tc-screen .tc-chip--on { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.tc-screen .tc-chip--team { border-style: dashed; color: var(--ink-soft); }
.tc-screen .tc-people { margin: 6px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.tc-screen .tc-person { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: var(--radius-full); background: var(--accent); color: var(--on-accent); font: 500 12px/1.4 var(--font-sans); }
.tc-screen .tc-person__x { width: 18px; height: 18px; padding: 0; border: 0; border-radius: var(--radius-full); background: var(--accent-raised); color: var(--on-accent); font: 400 12px/1 var(--font-sans); cursor: pointer; }
.tc-screen .tc-team { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; }
.tc-screen .tc-mentions { position: relative; }
.tc-screen .tc-pop { position: absolute; left: 0; right: 0; bottom: calc(100% + 4px); z-index: 200; margin: 0; padding: 4px 0; list-style: none; border: 1px solid var(--hairline-strong); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-md); }
.tc-screen .tc-pop__btn { display: block; width: 100%; padding: 7px 12px; border: 0; background: none; text-align: left; color: var(--ink); font: 400 13px/1.3 var(--font-sans); cursor: pointer; }
.tc-screen .tc-link { padding: 0; border: 0; background: none; color: var(--accent); font: 600 13px/1.3 var(--font-sans); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.tc-screen .tc-link--below { align-self: flex-start; margin-top: 2px; }
.tc-screen .tc-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--hairline); }
.tc-screen .tc-status { flex: 1 1 180px; min-width: 0; font-size: 12px; color: var(--ink-soft); }
.tc-screen .tc-btn { padding: 7px 14px; border: 1px solid var(--hairline-strong); border-radius: var(--radius-md); background: var(--white); color: var(--ink); font: 500 13px/1.2 var(--font-sans); cursor: pointer; }
.tc-screen .tc-btn--primary { border-color: var(--accent); background: var(--accent); color: var(--on-accent); }
.tc-screen .tc-btn:disabled { opacity: .55; cursor: default; }
.tc-screen .tc-chip:focus-visible, .tc-screen .tc-btn:focus-visible, .tc-screen .tc-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 767px) {
  .tc-screen .tc-input { font-size: 16px; }
  .tc-screen .tc-btn { flex: 1 1 auto; }
}
/* src/modules/revenue/features/analytics/boards/boards.css — Analytics' boards (handoff-1110/SCOPE-analytics-boards.md; landing 3,
   2026-11-26): the Boards tab, a board's page, its cards and the widget settings dialog. Loaded by BoardsTab.jsx and
   BoardPage.jsx. Tokens only, Geist only, and every rule two classes deep (as analytics.css: the global reset
   `[class^='cd-'] button` outranks one class).
   A WIDGET ON A BOARD SITS IN ITS OWN .an-screen (landing 1's decision 2): the page's rules all apply to it unchanged, and it
   is a size container named analytics, so a half-width widget lays out by its own width, the way the phone does. The one
   rule for that wrapper is here: it neither scrolls nor fills, nor draws the page's gutter.
   THE LIST (decision 3): two columns; a full widget takes both, a half one, and a half on its own takes the left. On a
   phone, one column, in the same order. */

.an-screen.an-screen--widget { flex: none; min-height: 0; overflow: visible; background: transparent; }
.an-screen.an-screen--widget .an-wrap--widget { padding: 0; gap: var(--space-record-card-gap); }

.bd-board { display: flex; flex-direction: column; gap: var(--space-panel-gap); min-width: 0; }
.bd-board .bd-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.bd-board .bd-head__name { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.bd-board .bd-h1 { margin: 0; padding: 0; font: var(--weight-title) var(--text-page-title)/var(--leading-page-title) var(--font-sans); color: var(--ink); }
.bd-board .bd-kind { padding: 3px 9px; border-radius: var(--radius-full); border: 1px solid var(--hairline-strong); background: var(--white); color: var(--ink-soft); font: 500 12px/1.3 var(--font-sans); white-space: nowrap; }
.bd-board .bd-kind--personal { color: var(--ink); }
.bd-board .bd-pick { display: inline-flex; align-items: center; gap: 8px; }
.bd-board .bd-pick__label { font: 500 12px/1.3 var(--font-sans); color: var(--ink-soft); white-space: nowrap; }
.bd-board .bd-head__right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.bd-board .bd-editbar { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 10px 12px; border: 1px dashed var(--hairline-strong); border-radius: var(--radius-lg); background: var(--white); }
.bd-board .bd-rename { display: inline-flex; align-items: center; gap: 8px; }
.bd-board .bd-button--danger { color: var(--danger); }

.bd-board .bd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-panel-gap); align-items: start; }
.bd-board .bd-card { box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; min-width: 0; grid-column: span 1; }
.bd-board .bd-card--full { grid-column: 1 / -1; }
.bd-board .bd-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: var(--radius-lg); }
.bd-board .bd-card__head { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.bd-board .bd-card__titles { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bd-board .bd-card__title { margin: 0; padding: 0; font: var(--weight-heading) 15px/1.3 var(--font-sans); color: var(--ink); }
.bd-board .bd-caption { margin: 0; padding: 0; font: 400 12px/1.4 var(--font-sans); color: var(--ink-soft); }
.bd-board .bd-card__menu { display: flex; flex-wrap: wrap; gap: 6px; }
.bd-board .bd-card__body { min-width: 0; }
@container analytics (max-width: 760px) {
  .bd-board .bd-grid { grid-template-columns: minmax(0, 1fr); }
  .bd-board .bd-card, .bd-board .bd-card--full { grid-column: 1 / -1; }
}

.bd-board .bd-link, .bd-modal .bd-link { margin: 0; padding: 0; border: 0; background: none; color: var(--accent); font: 600 13px/1.35 var(--font-sans); cursor: pointer; text-align: left; }
.bd-board .bd-link:hover, .bd-modal .bd-link:hover { text-decoration: underline; }
.bd-board .bd-link--head { color: var(--ink); font: var(--weight-heading) 15px/1.3 var(--font-sans); }
.bd-board .bd-link--head:hover { color: var(--accent); }
.bd-board .bd-link--row { color: var(--ink); font-weight: 500; }
.bd-board .bd-button, .bd-modal .bd-button { display: inline-flex; align-items: center; margin: 0; padding: 7px 12px; border-radius: var(--radius-md); border: 1px solid var(--hairline-strong); background: var(--white); color: var(--ink); font: 600 13px/1.2 var(--font-sans); cursor: pointer; white-space: nowrap; }
.bd-board .bd-button--small { padding: 4px 8px; font-size: 12px; }
.bd-board .bd-button:disabled, .bd-modal .bd-button:disabled { opacity: .45; cursor: default; }
.bd-modal .bd-button--primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.bd-board .bd-note, .bd-modal .bd-note { margin: 0; padding: 0; font: 400 13px/1.45 var(--font-sans); color: var(--ink-soft); }
.bd-board .bd-note--bad, .bd-modal .bd-note--bad { color: var(--ink); }
.bd-board .bd-attn { color: var(--amber); }
.bd-board .bd-small, .bd-modal .bd-small { font-size: 12px; }
.bd-modal .bd-muted { color: var(--ink-soft); }
.bd-board .bd-num { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }

/* Gone quiet and a saved report: drawn in a card of the board's own, as Analytics draws its cards. */
.bd-board .bd-quiet, .bd-board .bd-report { box-sizing: border-box; display: flex; flex-direction: column; gap: 8px; padding: var(--space-record-card-y) var(--space-record-card-x); background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-lg); min-width: 0; }
.bd-board .bd-quiet__lead { margin: 0; font: 400 14px/1.4 var(--font-sans); color: var(--ink); }
.bd-board .bd-list { list-style: none; margin: 0; padding: 0; }
.bd-board .bd-list__item { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: var(--space-record-row-y) 0; border-bottom: 1px solid var(--hairline); }
.bd-board .bd-totals { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; }
.bd-board .bd-totals__item { display: flex; flex-direction: column; gap: 2px; }
.bd-board .bd-totals__item dt { font-size: 12px; color: var(--ink-soft); }
.bd-board .bd-totals__item dd { margin: 0; font: var(--weight-figure) 18px/1.2 var(--font-sans); color: var(--ink); text-align: left; }
.bd-board .bd-tablewrap { overflow-x: auto; }
.bd-board .bd-table { width: 100%; border-collapse: collapse; font: 400 13px/1.35 var(--font-sans); }
.bd-board .bd-table th { padding: 6px 8px; text-align: left; font-weight: 600; color: var(--ink-soft); border-bottom: 1px solid var(--hairline-strong); white-space: nowrap; }
.bd-board .bd-table td { padding: 6px 8px; border-bottom: 1px solid var(--hairline); }

/* The Boards tab. */
.bd-boards { display: flex; flex-direction: column; gap: var(--space-panel-gap); }
.bd-boards .bd-boards__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; }
.bd-boards .bd-new { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 12px; border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: var(--white); }
.bd-boards .bd-new__kind { display: inline-flex; gap: 14px; }
.bd-boards .bd-radio, .bd-modal .bd-radio { display: inline-flex; align-items: center; gap: 6px; font: 400 13px/1.3 var(--font-sans); color: var(--ink); }
.bd-boards .bd-boards__lists { display: flex; flex-direction: column; gap: var(--space-panel-gap); }
.bd-boards .bd-boards__h { margin: 0 0 6px; font: var(--weight-heading) 15px/1.3 var(--font-sans); color: var(--ink); }
.bd-boards .bd-boards__list { list-style: none; margin: 0; padding: 0; background: var(--white); border: 1px solid var(--hairline); border-radius: var(--radius-lg); }
.bd-boards .bd-boards__item { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--hairline); }
.bd-boards .bd-boards__item:last-child { border-bottom: 0; }

/* Reports' Add to a board, on a saved report's row (Reports.jsx): a link, as the list's own, by a name of its own (the
   reports.list proof reads the list's names by .rp-link). */
.rp-screen .rp-addboard { margin: 0; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; cursor: pointer; text-align: left; white-space: nowrap; text-underline-offset: 2px; }
.rp-screen .rp-addboard:hover { text-decoration: underline; }

/* The widget settings dialog: drawn on the page's body, not in .an-screen (a size container that scrolls would place a
   fixed dialog itself), as Build a review's is. */
.bd-modal { position: fixed; inset: 0; z-index: 9000; display: flex; align-items: flex-start; justify-content: center; padding: 34px 16px; box-sizing: border-box; background: color-mix(in srgb, var(--ink) 16%, transparent); overflow-y: auto; font-family: var(--font-sans); }
.bd-modal .bd-modal__card { width: min(560px, 100%); display: flex; flex-direction: column; background: var(--parchment); border: 1px solid var(--hairline-strong); border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); color: var(--ink); }
.bd-modal .bd-modal__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 22px 14px; border-bottom: 1px solid var(--hairline); }
.bd-modal .bd-modal__title { margin: 0; font: var(--weight-heading) 18px/1.3 var(--font-sans); }
.bd-modal .bd-modal__close { margin: 0; padding: 0 4px; border: 0; background: none; color: var(--ink-soft); font: 400 20px/1 var(--font-sans); cursor: pointer; }
.bd-modal .bd-modal__body { display: flex; flex-direction: column; gap: 14px; padding: 16px 22px; }
.bd-modal .bd-modal__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 22px 18px; border-top: 1px solid var(--hairline); }
.bd-modal .bd-field { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; border: 0; min-width: 0; }
.bd-modal .bd-field__label { padding: 0; font: 600 13px/1.3 var(--font-sans); color: var(--ink); }
.bd-modal .bd-select { box-sizing: border-box; width: 100%; margin: 0; padding: 7px 10px; border: 1px solid var(--hairline-strong); border-radius: var(--radius-md); background: var(--white); color: var(--ink); font: 500 14px/1.3 var(--font-sans); }
