/* Shared styles for the Aspire-shaped report views. Each view may add its own
 * sheet (/styles/<view>.css); the P&L's Industry system (styles.css) stays
 * the base: Barlow, blueprint cards with corner marks, square corners. */
.report-toolbar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin: 0 0 16px; }
.report-toolbar .grow { flex: 1 1 auto; }
.report-toolbar label { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; }
.report-tabs { display: flex; gap: 2px; margin: 0 0 16px; border-bottom: 1px solid var(--line, #d9d9dc); }
.report-tabs a { padding: 8px 14px; text-decoration: none; color: inherit; border-bottom: 2px solid transparent; }
.report-tabs a.active { border-bottom-color: var(--accent, #1f3a5f); font-weight: 600; }
.report-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.report-table th, .report-table td { padding: 6px 10px; border-bottom: 1px solid var(--line, #e3e3e6); text-align: right; white-space: nowrap; }
.report-table th:first-child, .report-table td:first-child { text-align: left; }
.report-table th.text-left, .report-table td.text-left { text-align: left; }
.report-table tr.group-row td { background: #f2f2f3; font-weight: 600; }
.report-table tr.total-row td { border-top: 2px solid var(--ink, #1a1a1c); font-weight: 700; }
.report-table td.neg { color: #b3261e; }
.report-table td.est { font-style: italic; }
.report-table a.line-link { text-decoration: underline dotted; color: inherit; }
.basis-note { font-size: 12px; color: var(--muted, #6b6b70); margin: 8px 0 0; }
.labor-basis { display: inline-block; font-size: 11px; letter-spacing: .02em; text-transform: uppercase; padding: 0 5px; border: 1px solid var(--line, #d9d9dc); margin-left: 6px; }
.labor-basis.estimate { border-color: #b26a00; color: #b26a00; }
.labor-basis.actual { border-color: #2e7d32; color: #2e7d32; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0 0 16px; }
.tile { padding: 12px 14px; border: 1px solid var(--line, #d9d9dc); background: #fff; }
.tile .tile-label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted, #6b6b70); }
.tile .tile-value { font-size: 26px; font-weight: 700; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.tile .tile-foot { font-size: 12px; color: var(--muted, #6b6b70); }
.tile.bad .tile-value { color: #b3261e; }
.tile.ok .tile-value { color: #2e7d32; }
.pill { display: inline-block; padding: 1px 8px; border: 1px solid var(--line, #d9d9dc); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
.pill.ok { border-color: #2e7d32; color: #2e7d32; }
.pill.warn { border-color: #b26a00; color: #b26a00; }
.pill.bad { border-color: #b3261e; color: #b3261e; }
.switch { display: inline-flex; border: 1px solid var(--line, #d9d9dc); }
.switch button { padding: 4px 10px; background: #fff; border: 0; cursor: pointer; font: inherit; }
.switch button.active { background: var(--accent, #1f3a5f); color: #fff; }
.mono { font-family: "Spline Sans Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
.table-scroll { overflow-x: auto; }
.report-table tr.clickable { cursor: pointer; }
.report-table tr.clickable:hover td { background: #f7f7f8; }
.findings { list-style: none; padding: 0; margin: 0; }
.findings li { padding: 8px 0; border-bottom: 1px solid var(--line, #e3e3e6); }
.eom-checklist { padding-left: 20px; }
.eom-checklist li { margin: 4px 0; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 12px 0; }
.kv dt { color: var(--muted, #6b6b70); }
.kv dd { margin: 0; font-variant-numeric: tabular-nums; }
.tile-grid a.tile { text-decoration: none; color: inherit; display: block; }
details.basis-note summary { cursor: pointer; }
