body.iq-report-page {
  --report-blue: var(--iq-accent);
  --report-green: var(--iq-success);
  --report-orange: #ff9f1c;
  --report-red: var(--iq-danger);
  --report-violet: var(--iq-violet);
  --report-card-radius: 14px;
  background: var(--iq-background);
}

body.iq-report-page .hub-view {
  display: grid !important;
  grid-template-columns: var(--iq-sidebar-width) minmax(0, 1fr) !important;
  align-items: start;
}

body.iq-report-page .hub-report-center {
  grid-column: 2 !important;
  width: 100% !important;
  min-width: 0;
  min-height: 100vh;
  margin: 0 !important;
  padding: 27px 32px 36px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: var(--iq-background) !important;
  color: var(--iq-text-primary) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

body.iq-report-page .hub-message { grid-column: 2 !important; }
body.iq-report-page .hub-report-center button,
body.iq-report-page .hub-report-center input,
body.iq-report-page .hub-report-center select,
body.iq-report-page .hub-report-center textarea { font: inherit; }
body.iq-report-page .hub-report-center button { cursor: pointer; }
body.iq-report-page .hub-report-center svg { display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }

.report-reference-loading {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding-top: 86px;
}
.report-reference-loading span { height: 118px; border: 1px solid var(--iq-border); border-radius: var(--report-card-radius); background: linear-gradient(100deg, #f5f7fb 20%, #fff 45%, #f5f7fb 70%); background-size: 220% 100%; animation: report-loading 1.4s linear infinite; }
.report-reference-loading p { grid-column: 1 / -1; color: var(--iq-text-muted); font-size: 12px; text-align: center; }
@keyframes report-loading { to { background-position: -220% 0; } }

.report-reference-page { display: grid; gap: 16px; min-width: 0; }
.report-page-header { display: flex; min-height: 52px; align-items: flex-start; justify-content: space-between; gap: 24px; }
.report-page-title > div { display: flex; align-items: center; gap: 9px; }
.report-page-title h1 { margin: 0; color: var(--iq-text-primary); font-size: 26px; font-weight: 600; line-height: 1.15; letter-spacing: -.025em; }
.report-page-title > div > button { display: grid; width: 15px; height: 15px; place-items: center; padding: 0; border: 0; background: transparent; color: #65738c; }
.report-page-title > div > button svg { width: 14px; height: 14px; }
.report-page-title p { margin: 7px 0 0; color: var(--iq-text-secondary); font-size: 12px; }
.report-header-tools { display: flex; align-items: center; gap: 11px; }
.report-search { display: grid; grid-template-columns: 18px minmax(0,1fr) 30px; width: 285px; min-height: 36px; align-items: center; padding: 0 10px; border-radius: 18px; background: #f2f5fa; color: #61718c; }
.report-search svg { width: 15px; height: 15px; }
.report-search input { min-width: 0; min-height: 34px; padding: 0 7px; border: 0 !important; background: transparent !important; color: var(--iq-text-primary) !important; box-shadow: none !important; outline: 0; font-size: 11px !important; }
.report-search kbd { display: grid; min-width: 26px; height: 20px; place-items: center; border: 1px solid #dfe4ed; border-radius: 6px; background: #fff; color: var(--iq-text-muted); font-family: inherit; font-size: 9px; }
.report-header-tools > button { position: relative; display: grid; width: 32px; height: 32px; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #5e6d88; }
.report-header-tools > button:hover { background: var(--iq-surface-hover); }
.report-header-tools > button svg { width: 18px; height: 18px; }
.report-header-tools > button i { position: absolute; top: -2px; right: -2px; display: grid; min-width: 14px; height: 14px; place-items: center; padding: 0 3px; border: 2px solid #fff; border-radius: 9px; background: var(--report-blue); color: #fff; font-size: 7px; font-style: normal; }

.report-toolbar { display: flex; min-height: 42px; align-items: center; justify-content: space-between; gap: 18px; }
.report-tabs { display: flex; min-width: 0; align-items: center; padding: 3px; border: 1px solid var(--iq-border); border-radius: 9px; background: var(--iq-surface); }
.report-tabs button { min-height: 34px; padding: 0 15px; border: 0; border-radius: 7px; background: transparent; color: var(--iq-text-secondary); font-size: 10px; font-weight: 500; white-space: nowrap; transition: background var(--iq-transition), color var(--iq-transition), box-shadow var(--iq-transition); }
.report-tabs button:hover { color: var(--report-blue); }
.report-tabs button.is-active { background: #f4f6ff; color: var(--report-blue); box-shadow: 0 1px 3px rgba(36, 58, 110, .08); }
.report-toolbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.report-date-range,
.report-select-control { display: grid; min-height: 38px; align-items: center; border: 1px solid var(--iq-border); border-radius: 9px; background: var(--iq-surface); color: #5d6c86; box-shadow: 0 1px 2px rgba(31,52,94,.02); }
.report-date-range { grid-template-columns: 17px 94px 8px 94px; gap: 4px; padding: 0 10px; }
.report-select-control { grid-template-columns: 17px minmax(0,1fr); min-width: 180px; padding: 0 10px; }
.report-date-range svg,
.report-select-control svg { width: 15px; height: 15px; }
.report-date-range input,
.report-select-control select { min-width: 0; min-height: 34px; padding: 0 4px !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; color: #34425d !important; box-shadow: none !important; outline: 0; font-size: 10px !important; }
.report-secondary-action,
.report-primary-action { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border-radius: 8px; font-size: 10px; font-weight: 600; white-space: nowrap; transition: background var(--iq-transition), border-color var(--iq-transition), transform var(--iq-transition); }
.report-secondary-action { border: 1px solid var(--iq-border); background: var(--iq-surface); color: var(--report-blue); }
.report-secondary-action.is-active,
.report-secondary-action:hover { border-color: #bdc9ff; background: var(--iq-accent-soft); }
.report-primary-action { border: 1px solid var(--report-blue); background: var(--report-blue); color: #fff; box-shadow: 0 5px 14px rgba(63,99,245,.16); }
.report-primary-action:hover { background: var(--iq-accent-strong); }
.report-secondary-action svg,
.report-primary-action svg { width: 15px; height: 15px; }

.report-filter-panel { display: grid; grid-template-columns: repeat(4,minmax(140px,1fr)) auto; gap: 10px; align-items: end; padding: 12px 14px; border: 1px solid var(--iq-border); border-radius: 11px; background: var(--iq-surface); box-shadow: var(--iq-shadow-card); }
.report-filter-panel label { display: grid; gap: 5px; color: var(--iq-text-muted); font-size: 9px; }
.report-filter-panel select { min-height: 36px; padding: 0 9px !important; border: 1px solid var(--iq-border) !important; border-radius: 7px !important; background: #fff !important; color: var(--iq-text-secondary) !important; box-shadow: none !important; font-size: 10px !important; }
.report-filter-panel > button { min-height: 36px; padding: 0 12px; border: 1px solid var(--iq-border); border-radius: 7px; background: var(--iq-surface-secondary); color: var(--iq-text-secondary); font-size: 10px; }

.report-metric-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.report-metric-card,
.report-card { border: 1px solid var(--iq-border); border-radius: var(--report-card-radius); background: var(--iq-surface); box-shadow: var(--iq-shadow-card); }
.report-metric-card { display: grid; grid-template-columns: minmax(0,1fr) 42px; min-height: 116px; align-items: start; gap: 8px; padding: 17px 15px 14px; }
.report-metric-card > div { display: grid; min-width: 0; }
.report-metric-label { min-height: 18px; color: #3f4e69; font-size: 10px; font-weight: 500; }
.report-metric-card strong { margin-top: 3px; color: var(--iq-text-primary); font-size: 22px; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; }
.report-metric-card small { margin-top: 5px; color: var(--iq-text-secondary); font-size: 9px; }
.report-metric-card > i { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--metric-soft); color: var(--metric-color); font-style: normal; }
.report-metric-card > i svg { width: 19px; height: 19px; }
.report-metric-card[data-tone="blue"] { --metric-color:var(--report-blue); --metric-soft:var(--iq-accent-soft); }
.report-metric-card[data-tone="orange"] { --metric-color:var(--report-orange); --metric-soft:#fff4e8; }
.report-metric-card[data-tone="green"] { --metric-color:var(--report-green); --metric-soft:var(--iq-success-soft); }
.report-metric-card[data-tone="red"] { --metric-color:var(--report-red); --metric-soft:var(--iq-danger-soft); }
.report-metric-card[data-tone="violet"] { --metric-color:var(--report-violet); --metric-soft:var(--iq-violet-soft); }
.report-metric-trend { min-height: 14px; margin: 8px 0 0; color: var(--iq-text-muted); font-size: 8px; font-weight: 500; }
.report-metric-trend span,
.report-metric-trend small { color: var(--iq-text-muted); font-weight: 400; }
.report-metric-trend.positive { color: var(--report-green); }
.report-metric-trend.negative { color: var(--report-red); }
.report-metric-trend.warning { color: var(--report-orange); }

.report-analysis-grid { display: grid; grid-template-columns: .98fr 1.35fr 1.02fr; gap: 14px; }
.report-card { min-width: 0; overflow: hidden; }
.report-donut-card,
.report-timeline-card { min-height: 228px; padding: 15px 14px 10px; }
.report-card h2,
.report-card-heading h2 { margin: 0; color: var(--iq-text-primary); font-size: 11px; font-weight: 600; }
.report-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.report-card-heading > span { padding: 6px 10px; border: 1px solid var(--iq-border); border-radius: 7px; color: var(--iq-text-secondary); font-size: 8px; }
.report-donut-layout { display: grid; grid-template-columns: 124px minmax(0,1fr); align-items: center; gap: 13px; min-height: 160px; padding: 8px 0; }
.report-donut { position: relative; display: grid; width: 120px; height: 120px; place-items: center; border-radius: 50%; background: var(--report-donut); }
.report-donut::after { content:""; position:absolute; inset:18px; border-radius:50%; background:#fff; }
.report-donut > span { position: relative; z-index: 1; display: grid; place-items: center; }
.report-donut strong { color: var(--iq-text-primary); font-size: 20px; font-weight: 600; }
.report-donut small { color: var(--iq-text-muted); font-size: 8px; }
.report-donut-legend { display: grid; gap: 7px; min-width: 0; }
.report-donut-legend > div { display: grid; grid-template-columns: 6px minmax(0,1fr) auto; align-items: center; gap: 7px; color: var(--iq-text-secondary); font-size: 8px; }
.report-donut-legend i { width: 6px; height: 6px; border-radius: 50%; background: var(--legend-color); }
.report-donut-legend span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.report-donut-legend strong { color: var(--iq-text-primary); font-size: 8px; font-weight: 500; }
.report-donut-legend strong small { color: var(--iq-text-muted); font-size: 7px; font-weight: 400; }
.report-card-link { display: flex; width: 100%; min-height: 30px; align-items: center; justify-content: center; gap: 8px; padding: 0; border: 1px solid var(--iq-border); border-radius: 6px; background: #fff; color: var(--report-blue); font-size: 8px; }
.report-card-link:hover { background: var(--iq-surface-hover); }
.report-card-link svg { width: 11px; height: 11px; }
.report-chart-legend { display: flex; gap: 16px; margin: 10px 0 1px; color: var(--iq-text-secondary); font-size: 8px; }
.report-chart-legend span { display:flex; align-items:center; gap:6px; }
.report-chart-legend i { width: 15px; height: 2px; background: var(--series-color); }
.report-timeline-chart { min-width: 0; }
.report-timeline-chart svg { width: 100%; height: 154px; overflow: visible; }
.report-chart-grid path { fill:none; stroke:#edf0f5; stroke-width:1; }
.report-series-line { fill:none; stroke:var(--series-color); stroke-width:2; }
.report-timeline-chart circle { fill:#fff; stroke:var(--series-color); stroke-width:2; }
.report-chart-labels { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; margin: -10px 3px 0; color: var(--iq-text-muted); font-size: 7px; text-align: center; }

.report-content-grid { display: grid; grid-template-columns: minmax(0,1fr) 365px; gap: 14px; align-items: stretch; }
.report-table-card { min-height: 248px; padding: 14px 0 8px; }
.report-table-card > .report-card-heading { padding: 0 14px 9px; }
.report-table-sort { display:flex; align-items:center; gap:7px; color:var(--iq-text-muted); font-size:8px; }
.report-table-sort select { min-height: 28px; padding:0 8px !important; border:1px solid var(--iq-border) !important; border-radius:6px !important; background:#fff !important; color:var(--iq-text-secondary) !important; box-shadow:none !important; font-size:8px !important; }
.report-table-wrap { width: 100%; overflow-x: auto; border-top: 1px solid var(--iq-border-subtle); }
.report-data-table { width: 100%; min-width: 870px; border-collapse: collapse; table-layout: fixed; }
.report-data-table th { height: 27px; padding: 0 7px; border-bottom: 1px solid var(--iq-border); background: #fbfcff; color: var(--iq-text-muted); font-size: 7px; font-weight: 500; text-align: left; }
.report-data-table td { height: 32px; padding: 0 7px; border-bottom: 1px solid var(--iq-border-subtle); overflow: hidden; color: var(--iq-text-secondary); font-size: 7.5px; text-overflow: ellipsis; white-space: nowrap; }
.report-data-table th:nth-child(1) { width: 13%; }.report-data-table th:nth-child(2) { width: 19%; }.report-data-table th:nth-child(3) { width: 13%; }.report-data-table th:nth-child(4) { width: 13%; }.report-data-table th:nth-child(5) { width: 11%; }.report-data-table th:nth-child(6) { width: 10%; }.report-data-table th:nth-child(7) { width: 11%; }.report-data-table th:nth-child(8) { width: 8%; }.report-data-table th:nth-child(9) { width: 5%; text-align:center; }
.report-data-table tbody tr { cursor: pointer; transition: background var(--iq-transition); }
.report-data-table tbody tr:hover,
.report-data-table tbody tr:focus { background: var(--iq-surface-hover); outline: 0; }
.report-data-table td strong { color: var(--iq-text-primary); font-size: 8px; font-weight: 500; }
.report-data-table td.is-overdue { color: var(--report-red); font-weight: 600; }
.report-status-badge { display: inline-flex; min-height: 18px; align-items: center; gap: 5px; padding: 0 7px; border-radius: 5px; background: var(--status-soft); color: var(--status-color); font-size: 7px; font-weight: 500; }
.report-status-badge > i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.report-status-badge[data-tone="green"] { --status-color:var(--report-green); --status-soft:var(--iq-success-soft); }
.report-status-badge[data-tone="orange"] { --status-color:#c9820d; --status-soft:var(--iq-warning-soft); }
.report-status-badge[data-tone="blue"] { --status-color:var(--report-blue); --status-soft:var(--iq-accent-soft); }
.report-status-badge[data-tone="violet"] { --status-color:var(--report-violet); --status-soft:var(--iq-violet-soft); }
.report-status-badge[data-tone="red"] { --status-color:var(--report-red); --status-soft:var(--iq-danger-soft); }
.report-status-badge[data-tone="gray"] { --status-color:#71809a; --status-soft:#f0f3f7; }
.report-row-menu { display:grid; width:25px; height:25px; place-items:center; margin:auto; padding:0; border:0; border-radius:6px; background:transparent; color:#5f6f89; }
.report-row-menu:hover { background:var(--iq-accent-soft); color:var(--report-blue); }
.report-row-menu svg { width:14px; height:14px; }
.report-table-empty { display:grid; min-height:148px; place-items:center; align-content:center; gap:6px; color:var(--iq-text-muted); white-space:normal; }
.report-table-empty svg { width:25px; height:25px; }
.report-table-empty strong { font-size:10px !important; }
.report-table-empty span { font-size:8px; }
.report-table-footer { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; padding:8px 14px 0; color:var(--iq-text-muted); font-size:8px; }
.report-table-footer > div { display:flex; align-items:center; gap:8px; }
.report-table-footer button { display:grid; width:26px; height:26px; place-items:center; padding:0; border:1px solid var(--iq-border); border-radius:6px; background:#fff; color:var(--iq-text-secondary); }
.report-table-footer button:disabled { opacity:.45; cursor:not-allowed; }
.report-table-footer strong { color:var(--iq-text-secondary); font-size:8px; font-weight:500; }
.report-table-footer label { justify-self:end; }
.report-table-footer select { min-height:26px; padding:0 8px !important; border:1px solid var(--iq-border) !important; border-radius:6px !important; background:#fff !important; color:var(--iq-text-secondary) !important; box-shadow:none !important; font-size:8px !important; }

.report-notification-card { min-height:248px; padding:14px 13px 9px; }
.report-notification-list { display:grid; min-height:183px; align-content:start; margin-top:7px; }
.report-notification-list > button { display:grid; grid-template-columns:24px minmax(0,1fr) 46px; min-height:42px; align-items:center; gap:8px; padding:6px 0; border:0; border-bottom:1px solid var(--iq-border-subtle); background:transparent; color:inherit; text-align:left; }
.report-notification-list > button:hover { background:var(--iq-surface-hover); }
.report-notification-list > button > i { display:grid; width:21px; height:21px; place-items:center; border-radius:50%; background:var(--notification-soft); color:var(--notification-color); }
.report-notification-list > button > i[data-tone="blue"] { --notification-color:var(--report-blue); --notification-soft:var(--iq-accent-soft); }
.report-notification-list > button > i[data-tone="green"] { --notification-color:var(--report-green); --notification-soft:var(--iq-success-soft); }
.report-notification-list > button > i[data-tone="orange"] { --notification-color:var(--report-orange); --notification-soft:var(--iq-warning-soft); }
.report-notification-list > button > i[data-tone="red"] { --notification-color:var(--report-red); --notification-soft:var(--iq-danger-soft); }
.report-notification-list svg { width:11px; height:11px; }
.report-notification-list span { min-width:0; }
.report-notification-list strong,
.report-notification-list small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.report-notification-list strong { color:var(--iq-text-primary); font-size:8px; font-weight:500; }
.report-notification-list small { margin-top:3px; color:var(--iq-text-muted); font-size:7px; }
.report-notification-list time { color:var(--iq-text-muted); font-size:7px; text-align:right; }
.report-empty-inline { margin:auto 0; padding:14px 2px; color:var(--iq-text-muted); font-size:8px; line-height:1.45; }

.report-lower-grid { display:grid; grid-template-columns:1.05fr .95fr 1.05fr 1.15fr; gap:14px; }
.report-lower-card { min-height:188px; padding:14px 13px 9px; }
.report-location-bars { display:grid; min-height:138px; align-content:center; gap:10px; margin-top:6px; }
.report-location-bars button { display:grid; grid-template-columns:76px minmax(0,1fr) 50px; align-items:center; gap:8px; padding:0; border:0; background:transparent; color:inherit; text-align:left; }
.report-location-bars span { overflow:hidden; color:var(--iq-text-secondary); font-size:7.5px; text-overflow:ellipsis; white-space:nowrap; }
.report-location-bars i { height:6px; overflow:hidden; border-radius:4px; background:#edf0f7; }
.report-location-bars b { display:block; height:100%; border-radius:inherit; background:linear-gradient(90deg,#4c6df4,#7189fb); }
.report-location-bars strong { color:var(--iq-text-primary); font-size:7px; font-weight:500; text-align:right; }
.report-location-bars small { color:var(--iq-text-muted); font-size:6px; font-weight:400; }
.report-processing-value { display:block; margin-top:12px; color:var(--iq-text-primary); font-size:22px; font-weight:600; }
.report-processing-card > span { color:var(--iq-text-secondary); font-size:8px; }
.report-processing-card svg { width:100%; height:72px; overflow:visible; }
.report-processing-card .report-mini-grid { fill:none; stroke:#edf0f5; stroke-width:1; }
.report-processing-card .report-mini-line { fill:none; stroke:var(--report-blue); stroke-width:2; }
.report-processing-card circle { fill:#fff; stroke:var(--report-blue); stroke-width:2; }
.report-template-list { display:grid; min-height:138px; align-content:center; margin-top:6px; }
.report-template-list > button { display:grid; grid-template-columns:22px minmax(0,1fr); align-items:center; gap:8px; min-height:39px; padding:4px 0; border:0; border-bottom:1px solid var(--iq-border-subtle); background:transparent; text-align:left; }
.report-template-list > button > i { display:grid; width:20px; height:20px; place-items:center; border-radius:5px; background:var(--iq-accent-soft); color:var(--report-blue); }
.report-template-list svg { width:11px; height:11px; }
.report-template-list strong,
.report-template-list small { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.report-template-list strong { color:var(--iq-text-primary); font-size:8px; font-weight:500; }
.report-template-list small { margin-top:3px; color:var(--iq-text-muted); font-size:7px; }
.report-quick-actions { display:grid; margin-top:7px; }
.report-quick-actions button { display:grid; grid-template-columns:22px minmax(0,1fr) 14px; min-height:30px; align-items:center; gap:7px; padding:0 2px; border:0; border-bottom:1px solid var(--iq-border-subtle); background:transparent; color:var(--iq-text-secondary); text-align:left; }
.report-quick-actions button:hover { color:var(--report-blue); }
.report-quick-actions button:disabled { opacity:.4; cursor:not-allowed; }
.report-quick-actions button > i { display:grid; width:19px; height:19px; place-items:center; border-radius:5px; background:var(--iq-accent-soft); color:var(--report-blue); }
.report-quick-actions svg { width:11px; height:11px; }
.report-quick-actions span { font-size:7.5px; }

.report-drawer-backdrop { position:fixed; z-index:110; inset:0; background:rgba(20,31,52,.18); backdrop-filter:blur(2px); }
.report-detail-drawer { position:fixed; z-index:120; top:0; right:0; display:flex; width:min(390px,100vw); height:100vh; flex-direction:column; overflow-y:auto; border-left:1px solid var(--iq-border); background:#fff; color:var(--iq-text-primary); box-shadow:-18px 0 50px rgba(31,52,94,.13); animation:report-drawer-in 190ms ease-out; }
@keyframes report-drawer-in { from { transform:translateX(28px); opacity:.75; } }
.report-detail-drawer > header { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; padding:22px 20px 17px; border-bottom:1px solid var(--iq-border); }
.report-detail-drawer header small { color:var(--report-blue); font-size:9px; font-weight:600; text-transform:uppercase; }
.report-detail-drawer header h2 { margin:5px 0 0; color:var(--iq-text-primary); font-size:19px; font-weight:600; }
.report-detail-drawer header p { margin:5px 0 0; color:var(--iq-text-muted); font-size:9px; word-break:break-all; }
.report-detail-drawer header button { display:grid; width:32px; height:32px; place-items:center; padding:0; border:1px solid var(--iq-border); border-radius:8px; background:#fff; color:var(--iq-text-secondary); }
.report-detail-drawer header button svg { width:16px; height:16px; }
.report-detail-status { padding:14px 20px 0; }
.report-detail-drawer section { padding:18px 20px; border-bottom:1px solid var(--iq-border-subtle); }
.report-detail-drawer h3 { margin:0 0 13px; color:var(--iq-text-primary); font-size:11px; font-weight:600; }
.report-detail-drawer dl { display:grid; gap:10px; margin:0; }
.report-detail-drawer dl div { display:grid; grid-template-columns:115px minmax(0,1fr); gap:12px; }
.report-detail-drawer dt { color:var(--iq-text-muted); font-size:9px; }
.report-detail-drawer dd { margin:0; color:var(--iq-text-secondary); font-size:9px; font-weight:500; text-align:right; }
.report-detail-drawer label { display:grid; gap:6px; margin-top:12px; color:var(--iq-text-muted); font-size:9px; }
.report-detail-drawer select,
.report-detail-drawer textarea { width:100%; padding:9px 10px !important; border:1px solid var(--iq-border) !important; border-radius:8px !important; background:#fff !important; color:var(--iq-text-primary) !important; box-shadow:none !important; font-size:10px !important; }
.report-detail-drawer textarea { resize:vertical; }
.report-detail-drawer .report-primary-action { width:100%; margin-top:12px; }
.report-document-link { display:flex; min-height:42px; align-items:center; gap:9px; padding:0 11px; border:1px solid var(--iq-border); border-radius:8px; color:var(--report-blue); font-size:9px; text-decoration:none; }
.report-document-link svg { width:15px; height:15px; }
.report-document-link svg:last-child { margin-left:auto; }

@media (max-width: 1460px) {
  body.iq-report-page .hub-report-center { padding-inline:24px !important; }
  .report-toolbar { align-items:flex-start; flex-direction:column; }
  .report-toolbar-actions { width:100%; justify-content:flex-end; }
  .report-content-grid { grid-template-columns:minmax(0,1fr) 280px; }
  .report-lower-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 1180px) {
  .report-metric-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .report-analysis-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .report-analysis-grid > :last-child { grid-column:1 / -1; }
  .report-content-grid { grid-template-columns:1fr; }
  .report-notification-card { min-height:auto; }
  .report-notification-list { min-height:auto; }
  .report-filter-panel { grid-template-columns:repeat(2,minmax(140px,1fr)); }
}

@media (max-width: 900px) {
  body.iq-report-page .hub-report-center { padding:22px 18px 28px !important; }
  .report-page-header { flex-direction:column; }
  .report-header-tools { width:100%; }
  .report-search { width:min(100%,380px); }
  .report-tabs { width:100%; overflow-x:auto; }
  .report-toolbar-actions { align-items:stretch; flex-wrap:wrap; justify-content:flex-start; }
  .report-date-range { flex:1 1 260px; }
  .report-select-control { flex:1 1 180px; }
}

@media (max-width: 760px) {
  body.iq-report-page .hub-view { display:block !important; }
  body.iq-report-page .hub-report-center { grid-column:auto !important; padding:78px 12px 24px !important; }
  .report-page-title h1 { font-size:24px; }
  .report-header-tools > button:last-child { display:none; }
  .report-search { width:calc(100% - 44px); }
  .report-search kbd { display:none; }
  .report-search { grid-template-columns:18px minmax(0,1fr); }
  .report-tabs button { padding-inline:12px; }
  .report-toolbar-actions > * { width:100%; }
  .report-date-range { grid-template-columns:17px minmax(0,1fr) 8px minmax(0,1fr); }
  .report-primary-action { min-height:44px; }
  .report-filter-panel,
  .report-metric-grid,
  .report-analysis-grid,
  .report-lower-grid { grid-template-columns:1fr; }
  .report-analysis-grid > :last-child { grid-column:auto; }
  .report-donut-layout { grid-template-columns:118px minmax(0,1fr); }
  .report-table-card { padding-inline:0; }
  .report-table-footer { grid-template-columns:1fr auto; gap:8px; }
  .report-table-footer label { display:none; }
  .report-detail-drawer { width:100vw; }
}

@media (max-width: 420px) {
  .report-donut-layout { grid-template-columns:1fr; justify-items:center; }
  .report-donut-legend { width:100%; }
  .report-metric-grid { gap:10px; }
  .report-metric-card { min-height:108px; }
}

@media (prefers-reduced-motion: reduce) {
  .report-reference-loading span { animation:none; }
  .report-detail-drawer { animation:none; }
}
