/* Reports per template (reports.js, docs/TASK-TEMPLATES.md §18d) and the editor's languages and keeping answers
   (template-langs.js, §6g, §6h): task templates step 12. Flat, as the rest: hairlines, a rule on the left for what is
   being edited, no boxed cards; 375 px and 1280 px. Classes rp- and tl-, and the form component's sensitivity mark. */
.rp-page [hidden] { display: none !important; }
.rp-filters { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: flex-end; margin-bottom: 14px; }
.rp-filters .tt-f { min-width: 120px; flex: 0 1 150px; }
.rp-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--hair); border-bottom: var(--hair); margin-bottom: 14px; }
.rp-kpi { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 12px 0; min-width: 0; }
.rp-kpi + .rp-kpi { padding-left: 14px; border-left: var(--hair); }
.rp-kpi b { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.rp-kpi .dim { font-size: 12px; }
.rp-table, .rp-meas { width: 100%; margin-bottom: 14px; }
.rp-table td, .rp-meas td { vertical-align: top; }
.rp-n { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rp-sub { display: block; font-size: 12px; }
.rp-total td { border-top: 1px solid var(--line-2); font-weight: 600; }
.rp-neg { color: var(--warn); }
.rp-blocks { display: none; }
.rp-block { border-bottom: var(--hair); padding: 10px 0; }
.rp-bh { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; margin-bottom: 6px; }
.rp-dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 12px; margin: 0; font-size: 13px; }
.rp-dl dt { color: var(--text-2); }
.rp-dl dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 780px) {
  .rp-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rp-kpi:nth-child(3) { padding-left: 0; border-left: 0; }
  .rp-kpi:nth-child(n+3) { border-top: var(--hair); }
  .rp-table { display: none; }
  .rp-blocks { display: block; border-top: var(--hair); margin-bottom: 14px; }
  .rp-filters .tt-f { flex: 1 1 140px; }
  .rp-meas th:nth-child(2), .rp-meas td:nth-child(2) { display: none; }
}

/* The editor's languages: tabs underlined, the language being edited ruled on the left. */
.tl-tabs { display: flex; gap: 18px; border-bottom: var(--hair); overflow-x: auto; scrollbar-width: none; }
.tl-tab { flex: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--text-2); padding: 8px 0; font: 600 13px var(--sans); cursor: pointer; }
.tl-tab .dim { font-weight: 400; font-size: 12px; }
.tl-tab.on { color: var(--text); border-bottom-color: var(--canopy); }
.tl-add { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: flex-end; }
.tl-err { font-size: 12.5px; color: var(--warn); padding-bottom: 7px; }
.tl-pane { display: flex; flex-direction: column; gap: 10px; padding-left: 10px; border-left: 2px solid var(--sky); }
.tl-fields { border-top: var(--hair); }
.tl-field { border-bottom: var(--hair); padding: 8px 0; display: flex; flex-direction: column; gap: 8px; }
.tl-fh { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.tl-fh b { font-size: 13.5px; font-weight: 600; }
.tl-fh .mono, .tl-opt .mono { font-size: 11.5px; }
.tl-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 10px; }
.tl-opt { display: flex; flex-direction: column; }
.tl-pre { padding-top: 4px; }
.tl-keep { display: flex; flex-direction: column; gap: 6px; border-top: var(--hair); padding-top: 12px; }

/* The form component's quiet mark of a sensitive field (schema-form.js, step 12). */
.sf-sens { text-transform: lowercase; }
.sf-sens[title^="Special"] { color: var(--warn); }
