/* Technical review screen: framework tabs, summary, section list and item decision panel. */
#view-technical-review .technical-review-status{margin:0 0 12px;font-size:12px;line-height:1.6;color:var(--muted);min-height:18px}
#view-technical-review .technical-review-status.is-error{color:#8a2d1d;font-weight:550}
.technical-review-reviewer{display:grid;grid-template-columns:minmax(200px,1fr) minmax(160px,240px);gap:14px 18px;align-items:end;padding:18px 22px;margin-bottom:14px}
.technical-review-reviewer .technical-review-not-login{grid-column:1/-1;margin:0}
.technical-review-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px}
.technical-review-tab{padding:8px 14px;border:1px solid #d7dfd4;border-radius:6px 6px 0 0;background:#f4f6f1;color:#35553f;font:inherit;font-size:12px;font-weight:550;cursor:pointer}
.technical-review-tab[aria-selected="true"]{background:white;border-bottom-color:white;color:var(--ifac-teal,#008080);box-shadow:inset 0 3px 0 var(--ifac-teal,#008080)}
.technical-review-tab:focus-visible{outline:3px solid var(--ifac-teal,#008080);outline-offset:1px}
.technical-review-tab-count{margin-left:6px;font-size:10px;color:var(--muted);font-weight:500}
.technical-review-summary{margin-bottom:14px}
.technical-review-summary .section-heading{margin:0 0 12px}
.technical-review-counts{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px;margin-bottom:12px}
.technical-review-count{display:grid;gap:2px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:#f8faf6}
.technical-review-count strong{font-size:18px;font-weight:600}
.technical-review-count span{font-size:11px;color:var(--muted)}
.technical-review-count.approved{background:#eaf6ef;border-color:#b9d3c6}
.technical-review-count.stale{background:#fff4d6;border-color:#ecd28c}
.technical-review-count.outstanding{background:#f4f7fa;border-color:#b7c3cf}
.technical-review-establishable{margin:0 0 10px;padding:10px 12px;border-radius:6px;font-size:12px;line-height:1.6;border:1px solid var(--line)}
.technical-review-establishable.yes{background:#e8f1ec;border-color:#b9d3c6;color:#1f5e4d}
.technical-review-establishable.no{background:#fff4d6;border-color:#ecd28c;color:#7a5a12}
.technical-review-bykind{margin:0;padding-left:18px;font-size:12px;line-height:1.8;color:var(--muted);columns:2}
.technical-review-toolbar{display:flex;gap:16px;align-items:end;flex-wrap:wrap;padding:16px 22px;margin-bottom:14px}
.technical-review-toolbar .review-field{flex:0 1 220px}
.technical-review-toolbar .technical-review-search{flex:1 1 260px}
.technical-review-body{display:grid;grid-template-columns:minmax(280px,2fr) minmax(320px,3fr);gap:14px;align-items:start}
@media (max-width:1100px){.technical-review-body{grid-template-columns:1fr}}
.technical-review-sections .section-heading{margin:0 0 12px}
.technical-review-progress{font-size:11px;color:var(--muted);font-weight:550}
.technical-review-section-list,.technical-review-item-list{list-style:none;margin:0;padding:0;display:grid;gap:6px}
.technical-review-section-toggle,.technical-review-item-toggle{display:flex;gap:10px;align-items:center;flex-wrap:wrap;width:100%;text-align:left;padding:10px 12px;border:1px solid var(--line);border-radius:8px;background:white;color:var(--ink);font:inherit;font-size:12px;cursor:pointer}
.technical-review-section-toggle:hover,.technical-review-item-toggle:hover{border-color:#b9d3c6;background:#f6fbf8}
.technical-review-section-toggle:focus-visible,.technical-review-item-toggle:focus-visible{outline:3px solid var(--ifac-teal,#008080);outline-offset:1px}
.technical-review-section-toggle.is-open{border-color:var(--ifac-teal,#008080);background:#f0fdf4}
.technical-review-item-toggle.is-selected{border-color:var(--ifac-teal,#008080);box-shadow:inset 4px 0 0 var(--ifac-teal,#008080)}
.technical-review-section-title,.technical-review-item-title{flex:1;min-width:160px;font-weight:550}
.technical-review-section-count{font-size:11px;color:var(--muted)}
.technical-review-section-body{display:grid;gap:10px;padding:10px 0 4px 14px}
.technical-review-section-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.technical-review-section-actions .small-copy{margin:0;flex:1 1 200px}
.technical-review-state-badge{font-size:9px;letter-spacing:.08em;text-transform:uppercase;padding:4px 7px;border-radius:4px;font-weight:600;background:#eef1e8;color:#626e5b}
.technical-review-state-badge.approved{background:#e8f1ec;color:#1f5e4d}
.technical-review-state-badge.amended{background:#e6f0fa;color:#2c527a}
.technical-review-state-badge.removed{background:#f4e6e6;color:#7a2c2c}
.technical-review-state-badge.deferred{background:#f4f7fa;color:#4c5f72}
.technical-review-state-badge.stale{background:#fff4d6;color:#7a5a12}
.technical-review-state-badge.outstanding{background:#fffcf3;color:#8a6a1f;border:1px dashed #d9b562}
.pill-success{background:#e8f1ec;color:#1f5e4d}
.pill-warning{background:#fff4d6;color:#7a5a12}
.technical-review-item h2{margin:0 0 4px;font-size:16px}
.technical-review-item h3{margin:14px 0 6px;font-size:12px;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.technical-review-item-id{margin:0;font-size:10px;color:var(--muted);word-break:break-all}
.technical-review-badges{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0}
.technical-review-pre{white-space:pre-wrap;word-break:break-word;font:inherit;font-size:12px;line-height:1.7;margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:8px;background:#fbfcfa;max-height:420px;overflow:auto}
.technical-review-authority ul{margin:0;padding-left:18px;font-size:12px;line-height:1.8}
.technical-review-notes p{margin:0 0 6px;font-size:12px;line-height:1.7}
.technical-review-decision{display:grid;gap:12px;margin-top:8px;padding-top:8px;border-top:1px solid var(--line)}
.technical-review-current{margin:0;padding:10px 12px;border-radius:6px;background:#e8f1ec;border:1px solid #b9d3c6;font-size:12px;line-height:1.6}
.technical-review-current.is-stale{background:#fff4d6;border-color:#ecd28c;color:#7a5a12}
.technical-review-choices{display:grid;gap:8px;margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:8px}
.technical-review-choices legend{font-size:12px;font-weight:550;padding:0 4px}
.technical-review-choice{display:grid;grid-template-columns:auto auto 1fr;gap:4px 10px;align-items:baseline;font-size:12px;cursor:pointer}
.technical-review-choice input{accent-color:var(--ifac-teal,#008080);width:16px;height:16px;align-self:center}
.technical-review-choice-label{font-weight:550}
.technical-review-choice-help{color:var(--muted);font-size:11px;line-height:1.5}
.technical-review-amended textarea{font:inherit;font-size:12px;line-height:1.6;resize:vertical}
/* Reflow at narrow widths and 200 % zoom (R14, 16 September 2026): the reviewer card's two fixed-minimum
   columns and the standards-calendar entries (long edition URLs) pushed the page sideways at 400 px. */
@media (max-width:650px){.technical-review-reviewer{grid-template-columns:1fr}}
.technical-review-calendar-entry,.technical-review-calendar-toggle{min-width:0;max-width:100%}
.technical-review-calendar-title,.technical-review-calendar-delta,.technical-review-calendar-edition{min-width:0;overflow-wrap:anywhere;word-break:break-word}
