/* Page components: explicitly sized containers, independent of the old page CSS. */
@media screen {
 body.nr-workspace .filters.pv-filter-row,
 body.nr-workspace .report-filter-panel.pv-filter-row {display:block!important;background:var(--surface)!important;border:1px solid var(--line);border-radius:7px;padding:16px!important;margin-bottom:18px}
 body.nr-workspace form.filter-grid,
 body.nr-workspace form.report-filter-grid {display:grid;width:100%;min-width:0;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px}
 body.nr-workspace :is(.filter-grid,.report-filter-grid)>* {min-width:0;max-width:100%}
 body.nr-workspace :is(.filter-grid,.report-filter-grid) :is(input:not([type=checkbox]),select) {width:100%;max-width:100%!important}
 body.nr-workspace :is(.filter-grid,.report-filter-grid)>label {display:flex;flex-direction:column;gap:6px}
 body.nr-workspace .report-filter-actions {display:flex;gap:8px;align-items:center;flex-wrap:wrap}
 body.nr-workspace .nr-filter-panel[hidden] {display:none!important}
 body.nr-workspace .nr-filter-panel {margin:0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important}
 body.nr-workspace .pv-command-bar {flex-wrap:wrap}
 body.nr-workspace .pv-command-bar .nr-command-actions {display:flex;gap:6px;align-items:center;flex-wrap:wrap}
 body.nr-workspace .pv-view-tabs button {border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}
 body.nr-workspace .pv-drawer-tabs {display:flex;flex-direction:row;flex-wrap:nowrap;gap:20px;height:48px;padding:0 4px;overflow:auto}
 body.nr-workspace .pv-drawer-tabs button {position:relative;border:0!important;border-radius:0!important;background:none!important;flex:0 0 auto;padding:0!important;height:100%;font-size:12px!important;color:var(--muted)}
 body.nr-workspace .pv-drawer-tabs button.pv-active {color:var(--text);box-shadow:inset 0 -3px var(--accent)}
 body.nr-workspace.nr-panel-view .pv-page-heading {display:none!important}
 body.nr-workspace.nr-panel-view .pv-main {padding:0 24px 24px!important;min-height:0!important}
 body.nr-workspace.nr-panel-view .nr-detail-section>h2:first-child {font-size:18px}
 body.nr-workspace .nr-detail-section form {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;min-width:0;margin:16px 0 24px}
 body.nr-workspace .nr-detail-section form>label {display:flex;flex-direction:column;gap:6px;min-width:0}
 body.nr-workspace .nr-detail-section form>label:has(textarea),
 body.nr-workspace .nr-detail-section form>.check,
 body.nr-workspace .nr-detail-section form>textarea,
 body.nr-workspace .nr-detail-section form>details,
 body.nr-workspace .nr-detail-section form>.field-help {grid-column:1/-1}
 body.nr-workspace .nr-detail-section form :is(input:not([type=checkbox]):not([type=radio]),select) {width:100%}
 body.nr-workspace .nr-detail-section form>button {justify-self:start}
 body.nr-workspace .nr-detail-section form>.check {display:flex;flex-direction:row;align-items:flex-start;line-height:1.5}
 body.nr-workspace .nr-detail-section form>.check input {margin-top:3px;flex-shrink:0}
 body.nr-workspace .nr-detail-section .side-panel {border:0;padding:0;margin:0}
 body.nr-workspace .meta-grid>div {padding:12px 0!important;border-bottom:1px solid var(--line)}
 body.nr-workspace .meta-grid strong {display:block;font-size:12px;font-weight:500;line-height:1.6}
 body.nr-workspace .nr-monitor-scope {margin:0 0 18px;justify-content:flex-end}
 body.nr-workspace .nr-monitor-heading-actions {display:flex;align-items:end;justify-content:flex-end;gap:14px;flex-wrap:wrap}
 body.nr-workspace .nr-monitor-heading-actions .nr-monitor-scope {margin:0}
 body.nr-workspace .nr-monitor-heading-actions select {width:190px}
 body.nr-workspace .nr-monitor-heading-actions .pv-heading-actions {margin:0}
 body.nr-workspace .nr-monitor-tools {margin:0 0 16px}
 body.nr-workspace .nr-monitor-list .pv-data-table {table-layout:fixed;min-width:1000px}
 body.nr-workspace .nr-monitor-list td {overflow:hidden;text-overflow:ellipsis}
 body.nr-workspace .nr-monitor-list th:first-child {width:19%}
 body.nr-workspace .nr-monitor-list th:nth-child(2) {width:14%}
 body.nr-workspace .nr-monitor-list th:nth-child(3) {width:15%}
 body.nr-workspace .nr-monitor-list th:nth-child(4) {width:17%}
 body.nr-workspace .nr-monitor-list .pv-table-search {min-width:240px}
 body.nr-workspace .filter-summary {margin-bottom:18px;background:var(--surface);border:1px solid var(--line);border-radius:7px}
 body.nr-workspace .report-header {display:flex;align-items:end;justify-content:space-between;gap:20px;margin:22px 0}
 body.nr-workspace .report-header h2 {font-size:23px;margin:6px 0!important}
 body.nr-workspace :is(.report-period,.report-generated,.report-section-title span) {font-size:12px;color:var(--muted);line-height:1.6}
 body.nr-workspace .report-eyebrow {font-size:10px;letter-spacing:.1em;color:var(--muted)}
 body.nr-workspace .report-section {margin-bottom:24px;min-width:0}
 body.nr-workspace .report-kpi-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
 body.nr-workspace .report-kpi>span {display:block;font-size:11px;color:var(--muted);margin-bottom:8px}
 body.nr-workspace .report-kpi>strong {display:block;font-size:26px;line-height:1.25;font-weight:600;overflow-wrap:anywhere}
 body.nr-workspace .report-kpi>small {display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:8px}
 body.nr-workspace .report-rank-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
 body.nr-workspace :is(.ranking-row,.tech-row,.alert-ticket-row) {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
 body.nr-workspace .ranking-row>span {min-width:0;overflow-wrap:anywhere}
 body.nr-workspace :is(.report-table-wrap,.table-wrap) {max-width:100%;overflow-x:auto}
 body.nr-workspace .trend-card {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(180px,1fr);gap:24px}
 body.nr-workspace .trend-chart {height:200px;margin-top:24px;margin-bottom:20px}
 body.nr-workspace .trend-col {min-width:0;gap:8px}
 body.nr-workspace .trend-bar-wrap {min-height:0;justify-content:center}
 body.nr-workspace .trend-bar {max-width:36px}
 body.nr-workspace .trend-label {font-size:11px;white-space:nowrap;color:var(--muted)}
 body.nr-workspace .document.panel {width:100%;max-width:900px;margin:20px auto;padding:32px;background:var(--surface)}
 body.nr-workspace .company-term-brand {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding-bottom:18px;border-bottom:1px solid var(--line);margin-bottom:20px}
 body.nr-workspace .company-term-text strong {display:block;font-size:14px;line-height:1.5}
 body.nr-workspace .company-term-text span {display:block;margin-top:4px;font-size:11px;color:var(--muted)}
 body.nr-workspace .term-number {font-size:12px;white-space:nowrap}
 body.nr-workspace .doc-head h1 {font-size:20px!important;line-height:1.4!important;margin-bottom:20px!important}
 body.nr-workspace .doc-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 24px;margin:18px 0 24px}
 body.nr-workspace .doc-grid>div {padding-bottom:10px;border-bottom:1px solid var(--line);min-width:0}
 body.nr-workspace .doc-grid span {display:block;font-size:11px;color:var(--muted);margin-bottom:5px}
 body.nr-workspace .doc-grid strong {display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}
 body.nr-workspace .term-body {font-size:13px;line-height:1.8}
 body.nr-workspace .term-body p {margin:0 0 14px!important}
 body.nr-workspace .signature-view {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;margin-top:32px}
 body.nr-workspace .sigview {text-align:center;font-size:12px}
 body.nr-workspace .sigview :is(strong,span) {display:block;margin-top:5px}
 body.nr-workspace .signature-space {height:46px;border-bottom:1px solid var(--muted);margin-bottom:8px}
 body.nr-workspace .sector-signature {grid-column:1/-1;width:50%;justify-self:center}
 body.nr-workspace .detail-actions {display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 18px}
 @media(max-width:1100px) {
  body.nr-workspace form.filter-grid,body.nr-workspace form.report-filter-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.nr-workspace .report-kpi-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
  body.nr-workspace .trend-card {grid-template-columns:1fr}
 }
 @media(max-width:700px) {
  body.nr-workspace form.filter-grid,body.nr-workspace form.report-filter-grid {grid-template-columns:1fr}
  body.nr-workspace .report-rank-grid {grid-template-columns:1fr}
  body.nr-workspace .report-header {align-items:start;flex-direction:column}
  body.nr-workspace .document.panel {padding:20px}
  body.nr-workspace .company-term-brand {grid-template-columns:auto 1fr}
  body.nr-workspace .term-number {grid-column:1/-1}
  body.nr-workspace .doc-grid {grid-template-columns:1fr}
  body.nr-workspace .nr-monitor-scope {justify-content:flex-start}
 }
}
