/* Shared portal density and presentation; no application behavior is defined here. */
body.help-hub-compact { --hub-panel-padding: 16px; --hub-gap: 12px; }
body.help-hub-compact .content-wrapper { font-size: 14px; padding-bottom: 48px; }
body.help-hub-compact .content-header { padding: 0; }
body.help-hub-compact .content-wrapper > .content { padding: 12px 0 16px; }
body.help-hub-compact .content-wrapper > .content > .container-fluid { padding-left: 14px; padding-right: 14px; }
body.help-hub-compact .content-wrapper .content .content,
body.help-hub-compact .content-wrapper .container-fluid .container-fluid { padding-left: 0; padding-right: 0; }
body.help-hub-compact .content-wrapper .row:not(.no-gutters) { margin-left: -6px; margin-right: -6px; }
body.help-hub-compact .content-wrapper .row:not(.no-gutters) > [class*="col-"] { padding-left: 6px; padding-right: 6px; }
body.help-hub-compact .content-wrapper .mb-4 { margin-bottom: 16px !important; }
body.help-hub-compact .content-wrapper .mb-5 { margin-bottom: 20px !important; }
body.help-hub-compact .content-wrapper .mt-4 { margin-top: 16px !important; }
body.help-hub-compact .content-wrapper .mt-5 { margin-top: 20px !important; }
body.help-hub-compact .content-wrapper .p-4 { padding: 16px !important; }
body.help-hub-compact .content-wrapper .p-5 { padding: 20px !important; }
body.help-hub-compact .content-wrapper .py-4 { padding-top: 12px !important; padding-bottom: 12px !important; }
body.help-hub-compact .content-wrapper .py-5 { padding-top: 20px !important; padding-bottom: 20px !important; }
body.help-hub-compact .main-footer { padding: 8px 16px; font-size: 12px; }

/* Standard cards, forms, tables and dialogs cover administration and report screens. */
body.help-hub-compact .card { margin-bottom: 16px; }
body.help-hub-compact .card-header,
body.help-hub-compact .card-footer { padding: 10px 16px; }
body.help-hub-compact .card-body { padding: var(--hub-panel-padding); }
body.help-hub-compact .card-title { font-size: 17px; line-height: 1.4; }
body.help-hub-compact .form-group { margin-bottom: 12px; }
body.help-hub-compact .content-wrapper label { margin-bottom: 4px; }
body.help-hub-compact .content-wrapper .form-control:not(textarea),
body.help-hub-compact .content-wrapper .form-select,
body.help-hub-compact .content-wrapper .ob-control:not(textarea),
body.help-hub-compact .content-wrapper .support-filter-control,
body.help-hub-compact .content-wrapper .filter-select,
body.help-hub-compact .content-wrapper .filter-input,
body.help-hub-compact .content-wrapper .user-filter-control { min-height: 38px; height: 38px; padding: 7px 10px; font-size: 14px; }
body.help-hub-compact .content-wrapper textarea.form-control,
body.help-hub-compact .content-wrapper textarea.ob-control { min-height: 110px; padding: 10px 12px; font-size: 14px; }
body.help-hub-compact .content-wrapper .search-input { height: 38px; padding-top: 7px; padding-bottom: 7px; }
body.help-hub-compact .content-wrapper .form-select { width: 100%; }
body.help-hub-compact .content-wrapper .position-relative .form-control.search-input,
body.help-hub-compact .content-wrapper .search-container .form-control.search-input { padding-left: 40px; }
body.help-hub-compact .content-wrapper .btn:not(.btn-tool):not(.btn-sm) { padding: 7px 12px; font-size: 14px; }
body.help-hub-compact .table th,
body.help-hub-compact .table td,
body.help-hub-compact table.dataTable th,
body.help-hub-compact table.dataTable td { padding: 8px 10px; vertical-align: middle; }
body.help-hub-compact .table-responsive { max-width: 100%; }
body.help-hub-compact .modal-header,
body.help-hub-compact .modal-footer { padding: 12px 16px; }
body.help-hub-compact .modal-body { padding: 16px; }
body.help-hub-compact .select2-container--bootstrap4 .select2-selection,
body.help-hub-compact .select2-container--bootstrap-5 .select2-selection,
body.help-hub-compact .select2-container--default .select2-selection { min-height: 38px; }
body.help-hub-compact .select2-container--bootstrap4 .select2-selection--single,
body.help-hub-compact .select2-container--bootstrap-5 .select2-selection--single,
body.help-hub-compact .select2-container--default .select2-selection--single { height: 38px; padding: 0; }
body.help-hub-compact .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered,
body.help-hub-compact .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered,
body.help-hub-compact .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 36px; padding-left: 10px; font-size: 14px; }
body.help-hub-compact .select2-container--bootstrap4 .select2-selection--single .select2-selection__placeholder { line-height: 36px; }
body.help-hub-compact .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow,
body.help-hub-compact .select2-container--default .select2-selection--single .select2-selection__arrow { top: 0; height: 36px; }
body.help-hub-compact .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow b { top: 50%; }

/* Dashboard summaries and charts retain readable chart areas with smaller framing. */
body.help-hub-compact .dashboard-title,
body.help-hub-compact .welcome-text { font-size: 26px; margin-bottom: 4px; }
body.help-hub-compact .dashboard-subtitle,
body.help-hub-compact .subtitle { font-size: 14px; margin-bottom: 8px; }
body.help-hub-compact .stats-grid,
body.help-hub-compact .charts-grid,
body.help-hub-compact .quick-actions,
body.help-hub-compact .summary-stats,
body.help-hub-compact .solver-cards-grid { gap: var(--hub-gap); margin-bottom: 16px; }
body.help-hub-compact .stats-grid { grid-template-columns: repeat(auto-fit,minmax(min(100%,180px),1fr)); }
body.help-hub-compact .stats-grid.stats-grid-detailed { grid-template-columns: repeat(4,minmax(0,1fr)); }
body.help-hub-compact .charts-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
body.help-hub-compact .stat-card,
body.help-hub-compact .chart-card,
body.help-hub-compact .filter-section { padding: var(--hub-panel-padding); border-radius: 12px; }
body.help-hub-compact .stat-header { margin-bottom: 10px; }
body.help-hub-compact .stat-icon { width: 40px; height: 40px; border-radius: 10px; font-size: 18px; }
body.help-hub-compact .stat-value { font-size: 28px; margin-bottom: 4px; }
body.help-hub-compact .stat-label { font-size: 12px; }
body.help-hub-compact .chart-header { margin-bottom: 12px; padding-bottom: 10px; }
body.help-hub-compact .chart-title { font-size: 17px; margin-bottom: 0; gap: 8px; }
body.help-hub-compact .chart-container { height: 250px; }
body.help-hub-compact .table-card { margin-bottom: 16px; }
body.help-hub-compact .table-header { padding: 14px 16px 10px; }
body.help-hub-compact .table-card .table-responsive { padding: 0 16px 12px; height: auto; max-height: 360px; }
body.help-hub-compact .quick-actions .action-btn { padding: 12px 16px; font-size: 14px; gap: 10px; border-radius: 10px; }
body.help-hub-compact .filter-section { margin-bottom: 16px; }
body.help-hub-compact .dashboard-date-filter { padding: 12px 16px; margin-bottom: 16px; border-radius: 12px; }
body.help-hub-compact .dashboard-date-filter .date-filter-heading { font-size: 14px; margin-bottom: 8px; }
body.help-hub-compact .dashboard-date-filter .date-filter-fields { gap: 10px; }
body.help-hub-compact .dashboard-date-filter .date-filter-field { flex-basis: 150px; max-width: 220px; }
body.help-hub-compact .dashboard-date-filter input { min-height: 38px; padding: 7px 10px; }
body.help-hub-compact .dashboard-date-filter .date-filter-apply,
body.help-hub-compact .dashboard-date-filter .date-filter-reset { min-height: 38px; padding: 8px 12px; }
body.help-hub-compact .dashboard-date-filter .date-filter-hint { margin-top: 6px; font-size: 12px; }
body.help-hub-compact .dashboard-date-filter .date-filter-hint + .date-filter-hint { margin-top: 2px; }

/* Requester lists, creation forms and solver queues use the same spacing scale. */
body.help-hub-compact .main-container,
body.help-hub-compact .requester-supports,
body.help-hub-compact .on-behalf-entry { padding: 0 0 16px; }
body.help-hub-compact .hero-card,
body.help-hub-compact .form-card,
body.help-hub-compact .requester-supports .support-hero,
body.help-hub-compact .on-behalf-entry .ob-hero,
body.help-hub-compact .on-behalf-entry .ob-card,
body.help-hub-compact .dashboard-header { padding: 16px 18px; margin-bottom: 16px; border-radius: 12px; gap: 12px; }
body.help-hub-compact .requester-supports h1,
body.help-hub-compact .on-behalf-entry h1 { font-size: 24px; margin-bottom: 4px; }
body.help-hub-compact .form-section { margin-bottom: 16px; padding-bottom: 16px; }
body.help-hub-compact .section-header { margin-bottom: 12px; }
body.help-hub-compact .step-indicator { margin-bottom: 16px; gap: 12px; }
body.help-hub-compact .platform-info-card,
body.help-hub-compact .filters-card,
body.help-hub-compact .filter-card,
body.help-hub-compact .user-filter-bar { padding: 12px 14px; margin-bottom: 14px; }
body.help-hub-compact .dropzone-container { padding: 16px; }
body.help-hub-compact .btn-modern,
body.help-hub-compact .support-on-behalf-button,
body.help-hub-compact .requester-supports .support-button,
body.help-hub-compact .on-behalf-entry .ob-button { padding: 8px 12px; font-size: 13px; }
body.help-hub-compact .status-count-card { padding: 10px 12px; }
body.help-hub-compact .status-count-card .count-number { font-size: 25px; }
body.help-hub-compact .status-count-card .count-label { font-size: 12px; }
body.help-hub-compact .support-queue .filter-label { display: block; margin-bottom: 4px; }
body.help-hub-compact .support-queue .table { min-width: 1520px; }
body.help-hub-compact .support-queue .table th,
body.help-hub-compact .support-queue .table td:nth-child(8),
body.help-hub-compact .support-queue .table td:nth-child(12) { white-space: nowrap; }
body.help-hub-compact .support-queue .table th:last-child,
body.help-hub-compact .support-queue .table td:last-child { min-width: 250px; }
body.help-hub-compact .support-queue .action-buttons { display: grid; grid-template-columns: repeat(2, max-content); align-items: center; gap: 6px; }
body.help-hub-compact .support-queue .action-buttons .btn-sm { padding: 5px 8px; font-size: 12px; }
body.help-hub-compact .support-queue .support-details-cell { min-width: 116px; white-space: nowrap; }
body.help-hub-compact .support-queue :is(.support-details-button, .support-action-button) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; white-space: nowrap; }
body.help-hub-compact .support-queue .support-details-button { padding: 6px 10px; color: var(--hub-primary); background: var(--hub-primary-soft); border: 1px solid var(--hub-border); }
body.help-hub-compact .support-queue .support-details-button:hover { border-color: var(--hub-primary); }
body.help-hub-compact .support-queue .support-action-button { color: var(--hub-primary); border: 1px solid var(--hub-border); background: var(--hub-surface); }
body.help-hub-compact .support-queue .support-action-button:hover { color: var(--hub-primary); border-color: var(--hub-primary); background: var(--hub-primary-soft); }
body.help-hub-compact .support-queue .support-action-button.btn-outline-secondary { color: var(--hub-muted); }
body.help-hub-compact .support-queue .hold-info-box { padding: 8px 10px; margin-top: 6px; }
body.help-hub-compact .support-queue .hold-info-details { margin-top: 6px; }
body.help-hub-compact .support-queue .hold-info-details summary { color: #6d28d9; font-size: 12px; cursor: pointer; }
body.help-hub-compact .support-queue .hold-info-details summary:focus-visible { outline: 2px solid #4361ee; outline-offset: 2px; }
body.help-hub-compact .requester-supports .support-workspace { margin-bottom: 16px; border-radius: 12px; }
body.help-hub-compact .requester-supports .support-tabs { padding: 10px 12px; gap: 6px; }
body.help-hub-compact .requester-supports .support-tab { padding: 8px 10px; font-size: 13px; }
body.help-hub-compact .requester-supports .support-filter-grid { padding: 12px 16px; gap: 12px; }
body.help-hub-compact .requester-supports .support-ticket-grid { gap: 12px; }
body.help-hub-compact .requester-supports .support-ticket-header { padding: 12px 16px 10px; }
body.help-hub-compact .requester-supports .support-ticket-body { padding: 12px 16px; }
body.help-hub-compact .requester-supports .support-ticket-footer { padding: 10px 16px; }
body.help-hub-compact .requester-supports .support-ticket-top,
body.help-hub-compact .requester-supports .support-metadata { margin-bottom: 8px; }
body.help-hub-compact .requester-supports .support-ticket-title { font-size: 16px; }
body.help-hub-compact .requester-supports .support-description { line-height: 1.5; }
body.help-hub-compact .requester-supports .support-description.preview { margin-bottom: 10px; }
body.help-hub-compact .requester-supports .support-hold-note,
body.help-hub-compact .requester-supports .support-resolution,
body.help-hub-compact .requester-supports .support-feedback { padding: 10px 12px; margin-bottom: 10px; }
body.help-hub-compact .requester-supports .support-pagination { margin-top: 16px; }
body.help-hub-compact .on-behalf-entry .ob-grid { gap: 12px; margin-top: 12px; }
body.help-hub-compact .on-behalf-entry .ob-section + .ob-section { padding-top: 16px; margin-top: 16px; }
body.help-hub-compact .on-behalf-entry .ob-description { margin-top: 14px; }
body.help-hub-compact .on-behalf-entry .ob-requester-note { margin-top: 12px; padding: 10px 12px; }
body.help-hub-compact .on-behalf-entry .ob-footer { padding-top: 14px; margin-top: 16px; gap: 10px; }
body.help-hub-compact .on-behalf-entry .ob-hint { margin-top: 5px; font-size: 12px; }
body.help-hub-compact .empty-state,
body.help-hub-compact .requester-supports .support-empty { padding: 28px 20px; }

/* A single aligned timeline avoids the unused halves of alternating event rows. */
body.help-hub-compact .timeline-container { padding: 16px 0; }
body.help-hub-compact .timeline::before { display: none; }
body.help-hub-compact .timeline::after { left: 12px; width: 2px; margin-left: 0; }
body.help-hub-compact .timeline-item,
body.help-hub-compact .timeline-item:nth-child(even) { left: 0; width: 100%; padding: 6px 0 6px 36px; }
body.help-hub-compact .timeline-item::after,
body.help-hub-compact .timeline-item:nth-child(even)::after { left: 5px !important; right: auto; width: 16px; height: 16px; top: 34px; border-width: 3px; }
body.help-hub-compact .timeline-card { padding: 16px; }
body.help-hub-compact .timeline-header { margin-bottom: 10px; padding-bottom: 10px; }
body.help-hub-compact .timeline-icon { width: 40px; height: 40px; margin-right: 12px; }
body.help-hub-compact .timeline-title h3,
body.help-hub-compact .timeline-title h4 { font-size: 17px; }
body.help-hub-compact .timeline-body p { margin-bottom: 8px; }
body.help-hub-compact .timeline-description { padding: 10px 0; }
body.help-hub-compact .date-label { margin: 12px 0; padding-left: 36px; text-align: left; }
body.help-hub-compact .date-label::before { display: none; }
body.help-hub-compact .duration-display { padding: 16px; margin: 12px 0; }
body.help-hub-compact .solver-card { min-height: 0; }
body.help-hub-compact .solver-header,
body.help-hub-compact .solver-stats { padding: 16px; }
body.help-hub-compact .performance-section,
body.help-hub-compact .sla-section { padding: 0 16px 16px; }
body.help-hub-compact .stats-row { gap: 10px; margin-bottom: 12px; }

/* Standalone sign-in and recovery pages share compact panel framing. */
body.help-hub-auth .login-card .card-header { padding: 24px 24px 18px; }
body.help-hub-auth .login-card .card-body { padding: 24px; }
body.help-hub-auth .login-card .form-group { margin-bottom: 16px; }
body.help-hub-auth .login-card .form-control { padding-top: 13px; padding-bottom: 13px; }
body.help-hub-auth .login-card .remember-me { margin-bottom: 16px; }
body.help-hub-auth .login-card .links-section,
body.help-hub-auth .login-card .security-badge,
body.help-hub-auth .login-card .login-footer { margin-top: 16px; }
body.help-hub-auth .login-box .card-header { padding: 12px 16px; }
body.help-hub-auth .login-box .card-body { padding: 16px; }
body.help-hub-auth .login-box-msg { padding-bottom: 12px; }

@media (max-width: 991px) {
    body.help-hub-compact .charts-grid { grid-template-columns: minmax(0,1fr); }
    body.help-hub-compact .stats-grid.stats-grid-detailed { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.help-hub-compact .requester-supports .support-filter-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* Formal portal theme. Scoped overrides also cover the older page-local styles. */
/* The solver report uses one full-width card per solver, rather than a tile grid. */
body.help-hub-compact .solver-report .solver-report-list { display: flex; flex-direction: column; gap: 14px; }
body.help-hub-compact .solver-report .solver-report-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--hub-muted); }
body.help-hub-compact .solver-report .solver-report-meta strong { color: var(--hub-text); font-variant-numeric: tabular-nums; }
body.help-hub-compact .solver-report .solver-report-meta span { padding-left: 10px; border-left: 1px solid var(--hub-border); }
body.help-hub-compact .solver-report .solver-header { padding: 14px 16px; }
body.help-hub-compact .solver-report .solver-header::after { display: none; }
body.help-hub-compact .solver-report .solver-profile { display: block; }
body.help-hub-compact .solver-report .solver-info { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr); align-items: center; gap: 12px; }
body.help-hub-compact .solver-report .solver-section-label { margin-bottom: 6px; color: var(--hub-muted); font-size: 11px; font-weight: 600; line-height: 1.4; }
body.help-hub-compact .solver-report .solver-platforms { min-width: 0; text-align: right; }
body.help-hub-compact .solver-report .solver-name { margin-bottom: 3px; font-size: 17px; overflow-wrap: anywhere; }
body.help-hub-compact .solver-report .solver-id { margin: 0; font-family: inherit; font-size: 12px; color: var(--hub-muted); opacity: 1; }
body.help-hub-compact .solver-report .platform-tags { justify-content: flex-end; }
body.help-hub-compact .solver-report .platform-tag { padding: 4px 8px; border: 1px solid var(--hub-border); backdrop-filter: none; font-size: 12px; overflow-wrap: anywhere; }
body.help-hub-compact .solver-report .solver-stats { padding: 14px 16px; }
body.help-hub-compact .solver-report .stats-row { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; margin-bottom: 0; }
body.help-hub-compact .solver-report .stat-box { padding: 10px 12px; border-radius: 5px; border-color: var(--hub-border); background: var(--hub-soft); transform: none !important; }
body.help-hub-compact .solver-report .stat-box .label { color: var(--hub-muted); font-size: 11px; letter-spacing: 0; text-transform: none; }
body.help-hub-compact .solver-report .stat-box .label i { display: none; }
body.help-hub-compact .solver-report .stat-box .value { font-size: 23px; font-weight: 600; font-variant-numeric: tabular-nums; }
body.help-hub-compact .solver-report .stat-info .value { color: var(--hub-text); }
body.help-hub-compact .solver-report .stat-onhold .value { color: #6b587d; }
body.help-hub-compact.dark-mode .solver-report .stat-onhold .value { color: #c5afd9; }
body.help-hub-compact .solver-report .solver-detail-sections { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin: 0 16px; padding: 14px 0; border-top: 1px solid var(--hub-border); }
body.help-hub-compact .solver-report .performance-section,
body.help-hub-compact .solver-report .sla-section { padding: 0; min-width: 0; }
body.help-hub-compact .solver-report .sla-section { padding-left: 18px; border-left: 1px solid var(--hub-border); }
body.help-hub-compact .solver-report .performance-title,
body.help-hub-compact .solver-report .sla-title { margin-bottom: 10px; font-size: 13px; font-weight: 600; }
body.help-hub-compact .solver-report .performance-title i,
body.help-hub-compact .solver-report .sla-title i { display: none; }
body.help-hub-compact .solver-report .performance-metrics { gap: 10px; }
body.help-hub-compact .solver-report .metric-item { padding: 10px 12px; }
body.help-hub-compact .solver-report .metric-success .progress-fill { background: #47826b; }
body.help-hub-compact .solver-report .metric-info .progress-fill { background: #6686a8; }
body.help-hub-compact.dark-mode .solver-report .stat-success .value { color: #8fc8af; }
body.help-hub-compact.dark-mode .solver-report .stat-danger .value { color: #e5a4aa; }
body.help-hub-compact.dark-mode .solver-report .stat-warning .value { color: #ddc18c; }
body.help-hub-compact.dark-mode .solver-report .metric-success .metric-value { color: #8fc8af; }
body.help-hub-compact .solver-report .sla-item { padding: 9px 6px; transform: none; }
body.help-hub-compact .solver-report .sla-count { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
body.help-hub-compact .solver-report .sla-label { font-size: 10px; letter-spacing: 0; }
body.help-hub-compact .solver-report .solver-report-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
body.help-hub-compact .solver-report .solver-search { width: 330px; flex-shrink: 0; }
body.help-hub-compact .solver-report .solver-search label { display: block; margin: 0 0 6px; font-size: 12px; }
body.help-hub-compact .solver-report .solver-search-controls { display: flex; gap: 6px; }
body.help-hub-compact .solver-report .solver-search-input { position: relative; flex: 1; min-width: 0; }
body.help-hub-compact .solver-report .solver-search-input i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--hub-muted); font-size: 12px; pointer-events: none; }
body.help-hub-compact .solver-report .solver-search-input input { width: 100%; padding: 9px 10px 9px 32px; }
body.help-hub-compact .solver-report :is(.solver-search-input input, .solver-search-clear, .solver-date-controls input) { min-height: 38px; border: 1px solid var(--hub-border); border-radius: 5px; background: var(--hub-surface); color: var(--hub-text); font: inherit; font-size: 13px; }
body.help-hub-compact .solver-report .solver-search-clear { padding: 7px 10px; cursor: pointer; color: var(--hub-primary); }
body.help-hub-compact .solver-report .solver-search-clear:disabled { color: var(--hub-muted); opacity: .6; cursor: default; }
body.help-hub-compact .solver-report .solver-date-filter { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; padding: 14px 16px; margin-bottom: 16px; border: 1px solid var(--hub-border); border-radius: 7px; background: var(--hub-surface); }
body.help-hub-compact .solver-report .solver-date-heading { display: flex; flex-direction: column; gap: 4px; font-size: 13px; }
body.help-hub-compact .solver-report .solver-date-heading span { font-size: 12px; color: var(--hub-muted); }
body.help-hub-compact .solver-report .solver-date-controls { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 8px; }
body.help-hub-compact .solver-report .solver-date-controls label { display: block; font-size: 11px; margin-bottom: 4px; }
body.help-hub-compact .solver-report .solver-date-controls input { padding: 7px 10px; }
body.help-hub-compact .solver-report .solver-date-controls .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 7px 12px; font-size: 12px; }
body.help-hub-compact .solver-report .solver-date-controls .btn-outline-secondary { color: var(--hub-primary); background: var(--hub-surface); border: 1px solid var(--hub-border); }
body.help-hub-compact .solver-report .solver-date-scope { flex-basis: 100%; color: var(--hub-muted); font-size: 11px; margin: 0; }
body.help-hub-compact .solver-report .solver-date-warning { flex-basis: 100%; color: #a03943; font-size: 12px; margin: 0; }
body.help-hub-compact.dark-mode .solver-report .solver-date-warning { color: #e5a4aa; }
body.help-hub-compact .solver-report .solver-overview { margin-bottom: 18px; }
body.help-hub-compact .solver-report .solver-overview-heading,
body.help-hub-compact .solver-report .solver-list-heading { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; margin-bottom: 10px; }
body.help-hub-compact .solver-report :is(.solver-overview-heading h2, .solver-list-heading h2) { font-size: 17px; font-weight: 600; margin: 0; }
body.help-hub-compact .solver-report :is(.solver-overview-heading span, .solver-list-heading span, .solver-list-note) { color: var(--hub-muted); font-size: 11px; }
body.help-hub-compact .solver-report .overview-status-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
body.help-hub-compact .solver-report .overview-status-metric { display: flex; flex-direction: column; gap: 5px; padding: 10px 14px; border: 1px solid var(--hub-border); border-radius: 6px; background: var(--hub-surface); }
body.help-hub-compact .solver-report .overview-status-metric span { font-size: 11px; color: var(--hub-muted); }
body.help-hub-compact .solver-report .overview-status-metric strong { font-size: 24px; line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; }
body.help-hub-compact .solver-report .overview-status-metric.onhold strong { color: #6b587d; }
body.help-hub-compact .solver-report .overview-status-metric.pending strong { color: #926119; }
body.help-hub-compact .solver-report .overview-status-metric.solved strong { color: #28745b; }
body.help-hub-compact .solver-report .overview-status-metric.notsolved strong { color: #ad3e48; }
body.help-hub-compact.dark-mode .solver-report .overview-status-metric.onhold strong { color: #c5afd9; }
body.help-hub-compact.dark-mode .solver-report .overview-status-metric.pending strong { color: #ddc18c; }
body.help-hub-compact.dark-mode .solver-report .overview-status-metric.solved strong { color: #8fc8af; }
body.help-hub-compact.dark-mode .solver-report .overview-status-metric.notsolved strong { color: #e5a4aa; }
body.help-hub-compact .solver-report .overview-panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
body.help-hub-compact .solver-report .overview-panel { padding: 12px 14px; border: 1px solid var(--hub-border); border-radius: 6px; background: var(--hub-surface); min-width: 0; }
body.help-hub-compact .solver-report .overview-panel h3 { margin: 0 0 10px; font-size: 13px; font-weight: 600; }
body.help-hub-compact .solver-report .overview-mini-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
body.help-hub-compact .solver-report .overview-mini-grid > div { display: flex; flex-direction: column; gap: 4px; }
body.help-hub-compact .solver-report .overview-mini-grid span { font-size: 11px; color: var(--hub-muted); }
body.help-hub-compact .solver-report .overview-mini-grid strong { font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
body.help-hub-compact .solver-report .overview-distribution { max-height: 114px; overflow-y: auto; padding-right: 4px; }
body.help-hub-compact .solver-report .distribution-item { margin-bottom: 10px; }
body.help-hub-compact .solver-report .distribution-item:last-child { margin-bottom: 0; }
body.help-hub-compact .solver-report .distribution-item > div:first-child { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 5px; font-size: 12px; }
body.help-hub-compact .solver-report .distribution-item span { overflow-wrap: anywhere; }
body.help-hub-compact .solver-report .distribution-track { height: 4px; border-radius: 3px; background: var(--hub-soft); overflow: hidden; }
body.help-hub-compact .solver-report .distribution-track span { display: block; height: 100%; background: var(--hub-primary); border-radius: 3px; }
body.help-hub-compact .solver-report .overview-empty { color: var(--hub-muted); font-size: 12px; margin: 0; }
body.help-hub-compact .solver-report .solver-list-note { margin: -3px 0 12px; }
body.help-hub-compact .solver-report .solver-search-empty { padding: 18px; color: var(--hub-muted); font-size: 13px; border: 1px solid var(--hub-border); border-radius: 6px; background: var(--hub-surface); }
body.help-hub-compact .solver-report .solver-card[hidden],
body.help-hub-compact .solver-report .solver-search-empty[hidden] { display: none !important; }
@media (min-width: 1200px) {
    body.help-hub-compact .solver-report .overview-panel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    body.help-hub-compact .solver-report .overview-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
    body.help-hub-compact .solver-report .solver-report-heading { flex-direction: column; }
    body.help-hub-compact .solver-report .solver-search { width: 100%; max-width: 440px; }
    body.help-hub-compact .solver-report .overview-status-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    body.help-hub-compact .solver-report .overview-panel-grid { grid-template-columns: minmax(0, 1fr); }
    body.help-hub-compact .solver-report .solver-date-controls { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.help-hub-compact .solver-report .solver-date-controls input { width: 100%; min-width: 0; }
    body.help-hub-compact .solver-report :is(.solver-search-input input, .solver-search-clear, .solver-date-controls input, .solver-date-controls .btn) { min-height: 44px; }
}
@media (max-width: 1199px) {
    body.help-hub-compact .solver-report .stats-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.help-hub-compact .solver-report .solver-detail-sections { grid-template-columns: minmax(0, 1fr); gap: 14px; }
    body.help-hub-compact .solver-report .sla-section { padding-left: 0; border-left: 0; }
}
@media (max-width: 575px) {
    body.help-hub-compact .solver-report .overview-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.help-hub-compact .solver-report .overview-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.help-hub-compact .solver-report .solver-info { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    body.help-hub-compact .solver-report .solver-platforms { text-align: left; }
    body.help-hub-compact .solver-report .platform-tags { justify-content: flex-start; }
    body.help-hub-compact .solver-report .stats-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.help-hub-compact .solver-report .performance-metrics { grid-template-columns: minmax(0, 1fr); }
    body.help-hub-compact .solver-report .sla-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.help-hub-compact .solver-report .solver-report-meta span { padding-left: 0; border-left: 0; width: 100%; }
}
body.help-hub-compact,
body.help-hub-auth {
    --hub-bg: #f3f5f8;
    --hub-surface: #ffffff;
    --hub-soft: #f7f9fc;
    --hub-border: #dce3ec;
    --hub-text: #253247;
    --hub-muted: #64748b;
    --hub-primary: #285a91;
    --hub-primary-soft: #edf3fa;
    --hub-shadow: 0 1px 3px rgba(24, 39, 59, .05);
    --primary-color: var(--hub-primary);
    --primary-light: var(--hub-primary-soft);
    --primary-hover: #204b79;
    --primary-gradient: #285a91;
    --secondary-gradient: #53657c;
    --success-gradient: #28745b;
    --warning-gradient: #9b6a1b;
    --danger-gradient: #ad3e48;
    --success-color: #28745b;
    --warning-color: #9b6a1b;
    --danger-color: #ad3e48;
    --info-color: #285a91;
    --purple-color: #6b587d;
    --gray-color: var(--hub-muted);
    --light-gray: var(--hub-soft);
    --light-bg: var(--hub-bg);
    --card-shadow: var(--hub-shadow);
    --hover-shadow: var(--hub-shadow);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background: var(--hub-bg);
    color: var(--hub-text);
    -webkit-font-smoothing: antialiased;
}
body.help-hub-compact.dark-mode {
    --hub-bg: #17212e;
    --hub-surface: #202d3e;
    --hub-soft: #263548;
    --hub-border: #3b4b60;
    --hub-text: #e3eaf3;
    --hub-muted: #abbace;
    --hub-primary: #91b9e6;
    --hub-primary-soft: #293f58;
    --hub-shadow: none;
}
body.help-hub-compact .content-wrapper { background: var(--hub-bg); color: var(--hub-text); }
body.help-hub-compact .content-wrapper h1 { font-size: 24px; font-weight: 600; color: var(--hub-text); }
body.help-hub-compact .content-wrapper h2 { font-size: 20px; font-weight: 600; color: var(--hub-text); }
body.help-hub-compact .content-wrapper h3 { font-size: 18px; font-weight: 600; color: var(--hub-text); }
body.help-hub-compact .content-wrapper :is(h4, h5, h6) { color: var(--hub-text); }
body.help-hub-compact .content-wrapper .section-header h4 { font-size: 17px; }
body.help-hub-compact .section-header i { color: var(--hub-muted); font-size: 16px; }
body.help-hub-compact :is(.main-container, .requester-supports, .on-behalf-entry) { font-family: inherit; color: var(--hub-text); }

/* Navigation is quiet and persistent; the workspace provides the visual focus. */
body.help-hub-compact .main-sidebar { background: #1d2c40; box-shadow: none !important; }
body.help-hub-compact .brand-link { border-bottom: 1px solid #344256; color: #f1f5f9; padding: 15px 16px; }
body.help-hub-compact .brand-text { font-size: 18px; font-weight: 600 !important; letter-spacing: .1px; }
body.help-hub-compact .brand-image { box-shadow: none !important; }
body.help-hub-compact .sidebar .user-panel { border-color: #344256; padding-bottom: 12px !important; margin-bottom: 12px !important; }
body.help-hub-compact .sidebar .user-panel .info { color: #d9e2ef; font-size: 13px; }
body.help-hub-compact .sidebar .user-panel p { margin-bottom: 0; }
body.help-hub-compact .nav-sidebar .nav-link { border-radius: 5px; font-size: 14px; color: #c6d2e2; padding: 9px 12px; }
body.help-hub-compact .nav-sidebar .nav-link:hover { background: #293b53; color: #fff; }
body.help-hub-compact .nav-sidebar .nav-link.active { background: #324c6b; color: #fff; box-shadow: none; }
body.help-hub-compact .nav-sidebar .nav-icon { font-size: 15px !important; }
body.help-hub-compact .sidebar .form-control-sidebar,
body.help-hub-compact .sidebar .btn-sidebar { background: #26384f; border-color: #40516a; color: #edf2f8; box-shadow: none; }
body.help-hub-compact .sidebar .form-control-sidebar::placeholder { color: #bac8da; }
body.help-hub-compact .main-header { background: var(--hub-surface); border-bottom: 1px solid var(--hub-border); box-shadow: none; }
body.help-hub-compact .main-header .nav-link { color: var(--hub-muted); font-size: 14px; }
body.help-hub-compact .main-header .nav-link:hover { color: var(--hub-primary); }
/* Existing notification IDs and handlers are preserved; only the bell's appearance changes. */
body.help-hub-compact .navbar-row #notification-bell { margin: 0 12px; }
body.help-hub-compact .navbar-row #notification-bell i.fa-bell { font-size: 18px; color: var(--hub-muted); }
body.help-hub-compact .navbar-row .notification-count { top: -7px; right: -8px; padding: 1px 4px; min-width: 16px; border-radius: 4px; background: #ad3e48; font-size: 10px; font-weight: 600; }
body.help-hub-compact .main-footer { background: var(--hub-surface); color: var(--hub-muted); border-color: var(--hub-border); }

/* Neutral panel framing replaces decorative color bars, floating cards and gradients. */
body.help-hub-compact :is(.card, .stat-card, .stats-card, .chart-card, .hero-card, .form-card,
    .support-card, .support-ticket, .support-workspace, .support-hero, .ob-hero, .ob-card,
    .table-card, .timeline-card, .solver-card, .status-count-card, .filter-section,
    .filters-card, .filter-card, .user-filter-bar, .dashboard-date-filter, .dashboard-header) {
    background: var(--hub-surface);
    color: var(--hub-text);
    border: 1px solid var(--hub-border) !important;
    border-radius: 7px !important;
    box-shadow: var(--hub-shadow) !important;
    backdrop-filter: none;
    animation: none;
    opacity: 1;
    transform: none;
    transition: border-color .15s ease;
}
body.help-hub-compact :is(.card, .stat-card, .stats-card, .chart-card, .hero-card,
    .support-card, .support-ticket, .solver-card, .timeline-card, .status-count-card):hover {
    transform: none;
    box-shadow: var(--hub-shadow);
}
body.help-hub-compact :is(.stat-card, .stats-card, .hero-card, .form-card, .support-card,
    .dashboard-header, .solver-header)::before,
body.help-hub-compact :is(.stats-card, .support-card)::after { display: none; }
body.help-hub-compact .main-container { animation: none; opacity: 1; }
body.help-hub-compact :is(.card-header, .table-header, .support-header, .support-ticket-header, .solver-header) {
    background: var(--hub-soft);
    color: var(--hub-text);
    border-bottom: 1px solid var(--hub-border);
    border-radius: 6px 6px 0 0 !important;
    box-shadow: none;
}
body.help-hub-compact :is(.card-footer, .support-ticket-footer) { background: var(--hub-soft); border-color: var(--hub-border); }
body.help-hub-compact .card-header[class*="bg-"] { background: var(--hub-soft) !important; color: var(--hub-text) !important; }
body.help-hub-compact .card-header .text-white { color: var(--hub-text) !important; }
body.help-hub-compact .support-entry-header::after { display: none; }
body.help-hub-compact :is(.dashboard-title, .welcome-text, .support-hero h1, .ob-hero h1) {
    color: var(--hub-text);
    background: none;
    -webkit-text-fill-color: currentColor;
    font-weight: 600;
    letter-spacing: -.35px;
    line-height: 1.3;
}
body.help-hub-compact :is(.dashboard-title, .welcome-text, .support-hero h1, .ob-hero h1) i { color: var(--hub-muted); font-size: .8em; }
body.help-hub-compact :is(.dashboard-subtitle, .subtitle, .support-subtitle, .ob-muted, .ob-hint, .support-muted, .stat-label, .stats-label, .count-label) { color: var(--hub-muted); opacity: 1; }
body.help-hub-compact :is(.card-title, .chart-title, .section-header h4, .support-ticket-title, .support-topic, .timeline-title h3, .timeline-title h4) { color: var(--hub-text); font-weight: 600; }
body.help-hub-compact :is(.stat-value, .stats-number, .count-number) { color: var(--hub-text); font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: -.5px; }
body.help-hub-compact :is(.stats-label, .stat-label) { letter-spacing: .35px; font-size: 11px; }
body.help-hub-compact .text-muted { color: var(--hub-muted) !important; }
body.help-hub-compact .text-primary { color: var(--hub-primary) !important; }
body.help-hub-compact .bg-light { background: var(--hub-soft) !important; color: var(--hub-text) !important; }
body.help-hub-compact .bg-primary { background: #285a91 !important; }
body.help-hub-compact .stat-icon,
body.help-hub-compact .stat-card .stat-icon,
body.help-hub-compact .timeline-icon { background: var(--hub-primary-soft); color: var(--hub-primary); border-radius: 6px; box-shadow: none; }
body.help-hub-compact .stat-icon.success,
body.help-hub-compact .stat-card.success .stat-icon,
body.help-hub-compact .timeline-icon.icon-green { background: #edf6f1; color: #28745b; }
body.help-hub-compact .stat-icon.warning,
body.help-hub-compact .stat-card.warning .stat-icon,
body.help-hub-compact .timeline-icon.icon-yellow { background: #faf4e8; color: #926119; }
body.help-hub-compact .timeline-icon.icon-purple { background: #f2eef7; color: #6b587d; }
body.help-hub-compact .timeline-icon.icon-red { background: #fbefef; color: #ad3e48; }
body.help-hub-compact .timeline-icon.icon-gray { background: var(--hub-soft); color: var(--hub-muted); }
body.help-hub-compact .stats-icon { font-size: 30px; color: var(--hub-muted); opacity: .2; }
body.help-hub-compact .chart-title i { background: none; color: var(--hub-muted); border-radius: 0; }
body.help-hub-compact :is(.stat-icon.info, .stat-card.info .stat-icon) { background: var(--hub-primary-soft); color: var(--hub-primary); }
body.help-hub-compact .chart-header { border-color: var(--hub-border); }
body.help-hub-compact .status-count-card.active { border-color: var(--hub-primary) !important; background: var(--hub-primary-soft); }
body.help-hub-compact .dashboard-note { background: var(--hub-soft); border: 1px solid var(--hub-border); border-radius: 6px; color: var(--hub-muted); }
body.help-hub-compact .dashboard-note strong { color: var(--hub-text); }
body.help-hub-compact .dashboard-date-filter .date-filter-heading { color: var(--hub-text); }
body.help-hub-compact .dashboard-date-filter .date-filter-heading i { color: var(--hub-muted); }
body.help-hub-compact .dashboard-date-filter .date-filter-hint { color: var(--hub-muted); }
body.help-hub-compact .dashboard-date-filter .date-filter-period { background: var(--hub-primary-soft); color: var(--hub-primary); border-radius: 4px; }
body.help-hub-compact .dashboard-date-filter input { background: var(--hub-surface); color: var(--hub-text); border-color: var(--hub-border); border-radius: 5px; }
body.help-hub-compact.dark-mode input { color-scheme: dark; }
body.help-hub-compact.dark-mode .stat-change { background: var(--hub-soft) !important; color: var(--hub-text) !important; }

/* Consistent controls with visible focus rings, without glossy or animated decoration. */
body.help-hub-compact :is(.btn, .btn-modern, .support-button, .ob-button, .action-btn,
    .support-on-behalf-button, .date-filter-apply, .date-filter-reset, .chart-btn, .refresh-btn) {
    background-image: none !important;
    border-radius: 5px;
    box-shadow: none;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    transform: none;
    transition: background-color .15s ease, border-color .15s ease;
}
body.help-hub-compact :is(.btn, .btn-modern, .support-button, .ob-button, .action-btn, .support-on-behalf-button, .refresh-btn):hover { transform: none; box-shadow: none; }
body.help-hub-compact :is(.btn-modern, .action-btn)::before { display: none; }
body.help-hub-compact :is(.btn-primary, .btn-primary-modern, .support-button.primary, .ob-button.primary, .date-filter-apply) { background: #285a91; border-color: #285a91; color: #fff; }
body.help-hub-compact :is(.btn-primary, .btn-primary-modern, .support-button.primary, .ob-button.primary, .date-filter-apply):hover { background: #204b79; border-color: #204b79; color: #fff; }
body.help-hub-compact :is(.btn-success, .btn-success-modern, .support-button.success) { background: #28745b; border-color: #28745b; color: #fff; }
body.help-hub-compact :is(.btn-danger, .btn-danger-modern) { background: #ad3e48; border-color: #ad3e48; color: #fff; }
body.help-hub-compact :is(.btn-warning, .btn-warning-modern) { background: #faf4e8; border-color: #e7d4ae; color: #805717; }
body.help-hub-compact :is(.btn-info, .btn-info-modern) { background: #446a84; border-color: #446a84; color: #fff; }
body.help-hub-compact :is(.support-button, .ob-button, .support-on-behalf-button, .btn-outline-modern, .date-filter-reset) { color: var(--hub-primary); border: 1px solid var(--hub-border); background: var(--hub-surface); }
body.help-hub-compact :is(.support-button.primary, .ob-button.primary) { color: #fff; border-color: #285a91; background: #285a91; }
body.help-hub-compact .support-button.success { color: #fff; border-color: #28745b; background: #28745b; }
body.help-hub-compact :is(.form-control, .form-select, .ob-control, .support-filter-control, .user-filter-control, .filter-select, .filter-input) { border: 1px solid var(--hub-border); border-radius: 5px; background: var(--hub-surface); color: var(--hub-text); box-shadow: none; }
body.help-hub-compact :is(.form-control, .form-select, .ob-control, .support-filter-control, .user-filter-control, .filter-select, .filter-input):focus { border-color: var(--hub-primary); box-shadow: 0 0 0 3px rgba(40, 90, 145, .12); }
body.help-hub-compact :is(.form-control, .ob-control, .support-filter-control)::placeholder { color: var(--hub-muted); }
body.help-hub-compact :is(.form-control, .ob-control):disabled { background: var(--hub-soft); color: var(--hub-muted); }
body.help-hub-compact label { color: var(--hub-text); font-weight: 600; font-size: 13px; }
body.help-hub-compact .select2-container .select2-selection { background: var(--hub-surface); color: var(--hub-text); border: 1px solid var(--hub-border); border-radius: 5px; }
body.help-hub-compact .select2-container .select2-selection__rendered { color: var(--hub-text); }
body.help-hub-compact .select2-container .select2-selection__placeholder { color: var(--hub-muted); }
body.help-hub-compact .select2-container .select2-dropdown { border-color: var(--hub-border); border-radius: 5px; background: var(--hub-surface); color: var(--hub-text); box-shadow: 0 4px 16px rgba(24, 39, 59, .12); }
body.help-hub-compact .select2-container .select2-results__option--highlighted[aria-selected] { background: #285a91; color: #fff; }
body.help-hub-compact .select2-container .select2-search__field { border-color: var(--hub-border); border-radius: 4px; background: var(--hub-surface); color: var(--hub-text); }
body.help-hub-compact .on-behalf-entry .ob-method span { border-radius: 5px; background: var(--hub-soft); border-color: var(--hub-border); color: var(--hub-muted); }
body.help-hub-compact .on-behalf-entry .ob-method input:checked + span { background: var(--hub-primary-soft); border-color: var(--hub-primary); color: var(--hub-primary); box-shadow: none; }
body.help-hub-compact :is(.ob-step, .step-number) { background: var(--hub-primary-soft); color: var(--hub-primary); border-radius: 5px; box-shadow: none; }
body.help-hub-compact .step-circle { border-radius: 5px; background: var(--hub-soft); color: var(--hub-muted); border: 1px solid var(--hub-border); box-shadow: none; }
body.help-hub-compact .step.active .step-circle { background: var(--hub-primary-soft); color: var(--hub-primary); border-color: var(--hub-primary); transform: none; }
body.help-hub-compact .step.active .step-label { color: var(--hub-primary); }
body.help-hub-compact .step.active ~ .step-line { background: #a5b7cb; }
body.help-hub-compact :is(.ob-requester-note, .platform-info-card) { background: var(--hub-primary-soft); color: var(--hub-primary); border-radius: 5px; box-shadow: none; }
body.help-hub-compact .dropzone-container { background: var(--hub-soft); border-color: var(--hub-border); border-radius: 6px; }
body.help-hub-compact .dropzone-container:hover { background: var(--hub-primary-soft); border-color: var(--hub-primary); transform: none; }
body.help-hub-compact :is(a, button, input, select, textarea):focus-visible { outline: 2px solid var(--hub-primary); outline-offset: 2px; }

/* Status remains meaningful, using softer fills and clear text rather than gradients. */
body.help-hub-compact :is(.badge, .status-badge, .support-badge, .priority-badge, .platform-badge, .stat-change, .time-badge, .person-badge) { border-radius: 4px; font-weight: 600; background-image: none; box-shadow: none; letter-spacing: 0; }
body.help-hub-compact :is(.badge-unsolved, .badge-pending, .badge-warning, .support-badge, .stat-change.warning) { background: #faf4e8; color: #805717; }
body.help-hub-compact :is(.badge-solved, .badge-success, .badge-running, .badge-covered, .support-badge.solved, .stat-change.success) { background: #edf6f1; color: #246549; }
body.help-hub-compact :is(.badge-closed, .badge-primary, .support-badge.closed, .stat-change.info) { background: #edf3fa; color: #285a91; }
body.help-hub-compact :is(.badge-notsolved, .badge-breached, .badge-danger, .support-badge.not-solved) { background: #fbefef; color: #a03943; }
body.help-hub-compact :is(.badge-onhold, .support-badge.on-hold) { background: #f2eef7; color: #6b587d; }
body.help-hub-compact :is(.badge-nosla, .badge-secondary, .time-badge, .platform-badge) { background: var(--hub-soft); color: var(--hub-muted); }
body.help-hub-compact :is(.support-id, .support-ticket-id) { font-family: inherit; color: var(--hub-primary); font-weight: 600; }
body.help-hub-compact .requester-supports .support-ticket { border-left: 3px solid #b48c42 !important; }
body.help-hub-compact .requester-supports .support-ticket.solved { border-left-color: #47826b !important; }
body.help-hub-compact .requester-supports .support-ticket.closed { border-left-color: #6686a8 !important; }
body.help-hub-compact .requester-supports .support-ticket.on-hold { border-left-color: #88709e !important; }
body.help-hub-compact .requester-supports .support-ticket.not-solved { border-left-color: #b2636c !important; }
body.help-hub-compact .requester-supports .support-tab { border-radius: 5px; color: var(--hub-muted); }
body.help-hub-compact .requester-supports .support-tab.active,
body.help-hub-compact .nav-tab.active { background: var(--hub-primary-soft); color: var(--hub-primary); border-color: var(--hub-border); box-shadow: none; }
body.help-hub-compact .requester-supports .support-tab.active .tab-count { background: var(--hub-surface); color: var(--hub-primary); }
body.help-hub-compact :is(.support-hold-note, .hold-info-box, .support-resolution, .support-feedback, .closure-section, .resolution-section) { border-radius: 5px; box-shadow: none; background-image: none; }
body.help-hub-compact :is(.support-page, .page-link, .pagination a) { border-radius: 4px; color: var(--hub-primary); background: var(--hub-surface); border-color: var(--hub-border); box-shadow: none; }
body.help-hub-compact .requester-supports .support-page.active,
body.help-hub-compact .page-item.active .page-link,
body.help-hub-compact .pagination .active > a { background: #285a91; border-color: #285a91; color: #fff; }

/* Administration, reports, dialogs and legacy list pages share the same table treatment. */
body.help-hub-compact .table { background: var(--hub-surface); color: var(--hub-text); font-size: 13px; }
body.help-hub-compact .table thead th { background: var(--hub-soft) !important; color: var(--hub-muted) !important; border-color: var(--hub-border); font-size: 12px; font-weight: 600; letter-spacing: .2px; text-transform: none; }
body.help-hub-compact .table td { border-color: var(--hub-border); }
body.help-hub-compact .table-striped tbody tr:nth-of-type(odd) { background: var(--hub-soft); }
body.help-hub-compact .table-hover tbody tr:hover { background: var(--hub-primary-soft); color: var(--hub-text); transform: none; box-shadow: none; }
body.help-hub-compact .table tbody tr { transition: background-color .15s ease; animation: none; opacity: 1; transform: none; }
body.help-hub-compact .modal-content { background: var(--hub-surface); color: var(--hub-text); border: 1px solid var(--hub-border); border-radius: 7px; box-shadow: 0 12px 36px rgba(24, 39, 59, .18); }
body.help-hub-compact .modal .modal-header,
body.help-hub-compact .requester-supports .support-dialog .modal-header,
body.help-hub-compact .modal-modern .modal-header { background: var(--hub-soft); color: var(--hub-text); border-color: var(--hub-border); }
body.help-hub-compact .modal .close { color: var(--hub-muted); text-shadow: none; opacity: 1; }
body.help-hub-compact .modal .modal-title { font-size: 17px; font-weight: 600; }
body.help-hub-compact .modal-footer { border-color: var(--hub-border); }

/* Quick ticket details remain readable for short notes and long support requests. */
body.help-hub-compact #quickDetailsModal .modal-dialog { max-width: 760px; }
body.help-hub-compact #quickDetailsModal .modal-content { border-radius: 9px; }
body.help-hub-compact #quickDetailsModal .modal-header { align-items: center; padding: 16px 20px; }
body.help-hub-compact #quickDetailsModal .ticket-details-heading { display: flex; align-items: center; gap: 12px; min-width: 0; }
body.help-hub-compact #quickDetailsModal .ticket-details-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; border-radius: 6px; color: var(--hub-primary); background: var(--hub-primary-soft); font-size: 17px; }
body.help-hub-compact #quickDetailsModal .modal-title { font-size: 17px; line-height: 1.4; margin: 0; }
body.help-hub-compact #quickDetailsModal .ticket-details-reference { margin-top: 3px; font-size: 12px; color: var(--hub-muted); }
body.help-hub-compact #quickDetailsModal #quickSupportId { color: var(--hub-primary); font-weight: 600; font-variant-numeric: tabular-nums; }
body.help-hub-compact #quickDetailsModal .modal-body { display: flex; flex-direction: column; gap: 18px; padding: 20px; }
body.help-hub-compact #quickDetailsModal .ticket-details-label { display: flex; align-items: center; gap: 7px; font-size: 12px; line-height: 1.4; font-weight: 600; color: var(--hub-muted); margin: 0 0 8px; }
body.help-hub-compact #quickDetailsModal .ticket-topic-summary { padding: 12px 14px; border: 1px solid var(--hub-border); border-left: 3px solid var(--hub-primary); border-radius: 6px; background: var(--hub-primary-soft); }
body.help-hub-compact #quickDetailsModal #quickTopic { font-size: 16px; line-height: 1.5; font-weight: 600; color: var(--hub-text); margin: 0; overflow-wrap: anywhere; }
body.help-hub-compact #quickDetailsModal .ticket-details-text { font-size: 14px; line-height: 1.7; color: var(--hub-text); white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; }
body.help-hub-compact #quickDetailsModal .ticket-remarks-section { padding: 12px 14px; border: 1px solid var(--hub-border); border-radius: 6px; background: var(--hub-soft); }
body.help-hub-compact #quickDetailsModal .modal-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 20px; background: var(--hub-soft); }
body.help-hub-compact #quickDetailsModal .ticket-details-hint { flex: 1 1 250px; font-size: 12px; line-height: 1.5; color: var(--hub-muted); margin: 0; }
body.help-hub-compact #quickDetailsModal .ticket-details-hint i { margin-right: 6px; }
body.help-hub-compact #quickDetailsModal .modal-footer .btn { min-width: 76px; margin: 0; color: var(--hub-text); background: var(--hub-surface); border: 1px solid var(--hub-border); }
body.help-hub-compact #quickDetailsModal .modal-footer .btn:hover { background: var(--hub-primary-soft); border-color: var(--hub-primary); }
@media (max-width: 768px) {
    body.help-hub-compact .support-queue .support-details-button { min-height: 44px; }
    body.help-hub-compact #quickDetailsModal .modal-dialog { margin: .5rem; }
    body.help-hub-compact #quickDetailsModal .modal-header,
    body.help-hub-compact #quickDetailsModal .modal-body,
    body.help-hub-compact #quickDetailsModal .modal-footer { padding: 14px 16px; }
    body.help-hub-compact #quickDetailsModal .modal-title { font-size: 16px; }
    body.help-hub-compact #quickDetailsModal .modal-footer .btn { min-height: 44px; }
}
body.help-hub-compact .timeline-item:hover::after { transform: none; }
body.help-hub-compact :is(.duration-display, .date-label) { background: var(--hub-primary-soft); color: var(--hub-primary); border-radius: 5px; box-shadow: none; }
body.help-hub-compact .date-label { background: none; color: var(--hub-muted); }
body.help-hub-compact .timeline-description { color: var(--hub-text); background: none; }
body.help-hub-compact :is(.metric-item, .sla-item) { background: var(--hub-soft); color: var(--hub-text); border-color: var(--hub-border); border-radius: 5px; transform: none; }
body.help-hub-compact :is(.metric-value, .performance-title, .sla-title, .solver-name) { color: var(--hub-text); }
body.help-hub-compact .solver-header .solver-avatar { background: var(--hub-primary-soft); color: var(--hub-primary); box-shadow: none; }
body.help-hub-compact .solver-header .platform-tag { background: var(--hub-surface); color: var(--hub-muted); border-radius: 4px; }
body.help-hub-compact .sla-covered { background: #edf6f1; color: #246549; }
body.help-hub-compact .sla-breached { background: #fbefef; color: #a03943; }
body.help-hub-compact .sla-running { background: #faf4e8; color: #805717; }
body.help-hub-compact .progress-fill { background-image: none; }
body.help-hub-compact .stat-success .progress-fill { background: #47826b; }
body.help-hub-compact .stat-warning .progress-fill { background: #b48c42; }
body.help-hub-compact .stat-danger .progress-fill { background: #b2636c; }
body.help-hub-compact .stat-info .progress-fill { background: #6686a8; }
body.help-hub-compact .quick-actions .action-btn { background: var(--hub-surface); color: var(--hub-primary); border: 1px solid var(--hub-border); }

/* Requester entry is a distinct primary action above existing-support navigation. */
body.help-hub-compact .requester-create-panel { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px; margin-bottom: 20px; background: var(--hub-surface); border: 1px solid var(--hub-border); border-left: 3px solid var(--hub-primary); border-radius: 8px; }
body.help-hub-compact .requester-create-copy { display: flex; align-items: center; gap: 12px; }
body.help-hub-compact .requester-create-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex: 0 0 38px; background: var(--hub-primary-soft); color: var(--hub-primary); border-radius: 6px; font-size: 18px; }
body.help-hub-compact .requester-create-panel h2,
body.help-hub-compact .requester-support-heading h2 { margin: 0 0 4px; color: var(--hub-text); font-size: 17px; font-weight: 600; }
body.help-hub-compact .requester-create-panel p,
body.help-hub-compact .requester-support-heading p { margin: 0; color: var(--hub-muted); font-size: 13px; }
body.help-hub-compact .requester-create-button { display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; padding: 9px 14px; font-weight: 600; }
body.help-hub-compact .requester-support-navigation { margin-bottom: 18px; }
body.help-hub-compact .requester-support-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
body.help-hub-compact .requester-view-all { color: var(--hub-primary); font-size: 13px; font-weight: 600; white-space: nowrap; }
body.help-hub-compact .requester-support-navigation .quick-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
body.help-hub-compact .requester-support-navigation .action-btn:hover { transform: none; border-color: var(--hub-primary); background: var(--hub-primary-soft); color: var(--hub-primary); }
@media (max-width: 768px) {
    body.help-hub-compact .requester-create-panel { align-items: stretch; flex-direction: column; gap: 12px; }
    body.help-hub-compact .requester-create-button { width: 100%; }
    body.help-hub-compact .requester-support-heading { align-items: flex-start; flex-wrap: wrap; }
    body.help-hub-compact .requester-support-navigation .quick-actions { grid-template-columns: 1fr; }
}

/* Sign-in and recovery use the same formal palette and readable control geometry. */
body.help-hub-auth { background: #f3f5f8; color: #253247; }
body.help-hub-auth::before,
body.help-hub-auth .floating-element,
body.help-hub-auth .login-card .card-header::before,
body.help-hub-auth .submit-btn::before { display: none; }
body.help-hub-auth :is(.login-card, .login-box .card) { background: #fff; border: 1px solid #dce3ec; border-radius: 8px; box-shadow: 0 8px 28px rgba(24, 39, 59, .08); backdrop-filter: none; transform: none; transition: none; }
body.help-hub-auth .login-card:hover { transform: none; box-shadow: 0 8px 28px rgba(24, 39, 59, .08); }
body.help-hub-auth .login-card .card-header { background: #fff; color: #253247; border-bottom: 1px solid #dce3ec; }
body.help-hub-auth .brand-logo { background: #edf3fa; color: #285a91; border: 1px solid #dce3ec; border-radius: 6px; width: 48px; height: 48px; font-size: 23px; backdrop-filter: none; }
body.help-hub-auth .brand-title { font-size: 26px; font-weight: 600; }
body.help-hub-auth :is(.brand-subtitle, .welcome-text, .login-footer, .login-box-msg) { color: #64748b; opacity: 1; }
body.help-hub-auth .welcome-text { font-size: 14px; }
body.help-hub-auth .form-control { border: 1px solid #dce3ec; border-radius: 5px; background: #fff; color: #253247; font-weight: 400; }
body.help-hub-auth .input-label { font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; }
body.help-hub-auth .form-control:focus { border-color: #285a91; box-shadow: 0 0 0 3px rgba(40, 90, 145, .12); }
body.help-hub-auth .input-icon { color: #64748b; }
body.help-hub-auth :is(.submit-btn, .btn-primary) { background: #285a91; color: #fff; border: 1px solid #285a91; border-radius: 5px; box-shadow: none; transform: none; font-size: 14px; font-weight: 600; }
body.help-hub-auth :is(.submit-btn, .btn-primary):hover { background: #204b79; box-shadow: none; transform: none; }
body.help-hub-auth .submit-btn { padding: 13px 16px; }
body.help-hub-auth .forgot-link { color: #285a91; }
body.help-hub-auth .security-badge { background: #f7f9fc; color: #64748b; border-color: #dce3ec; border-radius: 5px; }
body.help-hub-auth :is(input, button, a):focus-visible { outline: 2px solid #285a91; outline-offset: 2px; }

/* Full-width split sign-in; scoped separately from password recovery. */
body.help-hub-auth.help-hub-login {
    --primary-color: #285a91;
    background: #fff;
    padding: 0;
    display: block;
    min-height: 100vh;
    min-height: 100dvh;
}
body.help-hub-auth.help-hub-login .login-container { max-width: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); min-height: 100vh; min-height: 100dvh; }
body.help-hub-auth.help-hub-login .login-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    background: radial-gradient(ellipse at 80% 35%, #2d557d 0, transparent 65%), #173956;
    padding: 40px clamp(28px, 4vw, 72px);
    overflow: hidden;
}
body.help-hub-auth.help-hub-login .login-visual .card-header { background: none; border: 0; padding: 0; text-align: left; overflow: visible; }
body.help-hub-auth.help-hub-login .login-visual .card-header::before { display: none; }
body.help-hub-auth.help-hub-login .login-illustration { margin: auto 0; padding: 36px 0 60px; }
body.help-hub-auth.help-hub-login .login-illustration svg { display: block; width: 100%; max-width: 620px; height: auto; margin: 0 auto; }
body.help-hub-auth.help-hub-login .login-visual-caption { color: #f1f6fb; font-size: clamp(23px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.6px; text-align: center; margin: 16px 0 0; }
body.help-hub-auth.help-hub-login .login-form-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px clamp(28px, 5vw, 80px); min-width: 0; }
body.help-hub-auth.help-hub-login .login-card,
body.help-hub-auth.help-hub-login .login-card:hover {
    width: 100%;
    max-width: 390px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}
body.help-hub-auth.help-hub-login .brand-section { justify-content: flex-start; gap: 13px; margin: 0; }
body.help-hub-auth.help-hub-login .brand-logo { width: 48px; height: 48px; background: #fff; border: 0; border-radius: 5px; animation: none; flex-shrink: 0; }
body.help-hub-auth.help-hub-login .brand-logo img { display: block; width: 44px; height: 44px; border-radius: 4px; }
body.help-hub-auth.help-hub-login .brand-title { color: #fff; font-size: 25px; line-height: 1.2; letter-spacing: -.6px; }
body.help-hub-auth.help-hub-login .brand-subtitle { color: #b8cbdf; font-size: 12px; font-weight: 400; margin-top: 3px; }
body.help-hub-auth.help-hub-login .login-card .card-body { padding: 0; }
body.help-hub-auth.help-hub-login .login-heading { font-size: 30px; font-weight: 600; line-height: 1.3; letter-spacing: -.6px; margin: 0 0 32px; }
body.help-hub-auth.help-hub-login .input-label { margin-bottom: 7px; }
body.help-hub-auth.help-hub-login .form-group { margin-bottom: 18px; }
body.help-hub-auth.help-hub-login .form-control {
    height: 46px;
    padding: 12px 14px 12px 42px;
    border-radius: 7px;
    font-size: 14px;
    letter-spacing: 0;
    transition: border-color .15s ease, box-shadow .15s ease;
}
body.help-hub-auth.help-hub-login .form-control:focus { transform: none; }
body.help-hub-auth.help-hub-login #Password { padding-right: 48px; }
body.help-hub-auth.help-hub-login .input-icon { left: 15px; font-size: 15px; }
body.help-hub-auth.help-hub-login .toggle-password { right: 3px; width: 42px; height: 42px; font-size: 15px; border-radius: 5px; }
body.help-hub-auth.help-hub-login .toggle-password:hover { color: #285a91; background: #edf3fa; }
body.help-hub-auth.help-hub-login .login-options { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; margin: 0 0 20px; }
body.help-hub-auth.help-hub-login .remember-me { margin: 0; gap: 8px; min-height: 32px; }
body.help-hub-auth.help-hub-login .checkbox-container,
body.help-hub-auth.help-hub-login .checkmark { width: 18px; height: 18px; flex-shrink: 0; }
body.help-hub-auth.help-hub-login .checkmark { border-width: 1px; border-radius: 4px; background: #fff; }
body.help-hub-auth.help-hub-login .checkmark::after { left: 5px; top: 2px; width: 5px; height: 9px; }
body.help-hub-auth.help-hub-login .checkbox-input:focus-visible ~ .checkmark { outline: 2px solid #285a91; outline-offset: 3px; }
body.help-hub-auth.help-hub-login .checkbox-label { font-size: 12px; font-weight: 400; color: #526176; }
body.help-hub-auth.help-hub-login .tooltip { left: 0; transform: none !important; font-size: 11px; padding: 7px 9px; border-radius: 4px; max-width: 290px; white-space: normal; width: max-content; }
body.help-hub-auth.help-hub-login .tooltip::after { left: 12px; transform: none; }
body.help-hub-auth.help-hub-login .forgot-link { font-size: 12px; font-weight: 600; padding: 7px 0; border-radius: 2px; }
body.help-hub-auth.help-hub-login .forgot-link:hover { background: none; transform: none; text-decoration: underline; }
body.help-hub-auth.help-hub-login .submit-btn { min-height: 46px; padding: 12px 16px; border-radius: 7px; letter-spacing: 0; }
body.help-hub-auth.help-hub-login .submit-btn i { font-size: 13px; }
body.help-hub-auth.help-hub-login .submit-btn:hover i { transform: none; }
body.help-hub-auth.help-hub-login .login-footer { width: 100%; max-width: 390px; margin: 36px 0 0; padding-top: 20px; border-top: 1px solid #e8edf3; text-align: left; font-size: 11px; line-height: 1.6; color: #64748b; }
body.help-hub-auth.help-hub-login .login-footer span { margin: 0 6px; }
@media (max-width: 767px) {
    body.help-hub-auth.help-hub-login .login-container { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
    body.help-hub-auth.help-hub-login .login-visual { padding: 24px 28px; }
    body.help-hub-auth.help-hub-login .login-illustration { display: none; }
    body.help-hub-auth.help-hub-login .login-form-panel { padding: 36px 28px; justify-content: flex-start; }
    body.help-hub-auth.help-hub-login .login-heading { font-size: 27px; margin-bottom: 26px; }
}
@media (max-width: 480px) {
    body.help-hub-auth.help-hub-login .form-control { font-size: 16px; }
    body.help-hub-auth.help-hub-login .remember-me,
    body.help-hub-auth.help-hub-login .forgot-link { min-height: 44px; }
    body.help-hub-auth.help-hub-login .forgot-link { display: inline-flex; align-items: center; }
    body.help-hub-auth.help-hub-login .login-options { margin-bottom: 16px; }
}
@media (max-width: 768px) {
    body.help-hub-auth .form-control { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
    body.help-hub-compact :is(.btn, .support-button, .ob-button, .card),
    body.help-hub-auth .submit-btn { transition: none; }
}
@media (max-width: 768px) {
    body.help-hub-compact { --hub-panel-padding: 14px; }
    body.help-hub-compact .content-wrapper > .content > .container-fluid { padding-left: 10px; padding-right: 10px; }
    body.help-hub-compact .stats-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    body.help-hub-compact .requester-supports .support-filter-grid,
    body.help-hub-compact .on-behalf-entry .ob-grid { grid-template-columns: minmax(0,1fr); }
    body.help-hub-compact .content-wrapper .form-control:not(textarea),
    body.help-hub-compact .content-wrapper .form-select,
    body.help-hub-compact .content-wrapper .ob-control:not(textarea),
    body.help-hub-compact .content-wrapper .support-filter-control,
    body.help-hub-compact .content-wrapper .filter-select,
    body.help-hub-compact .content-wrapper .filter-input,
    body.help-hub-compact .content-wrapper .search-input { height: 44px; min-height: 44px; }
    body.help-hub-compact .select2-container--bootstrap4 .select2-selection--single,
    body.help-hub-compact .select2-container--bootstrap-5 .select2-selection--single,
    /* Bootstrap 4's vendor theme marks its computed height as important. */
    body.help-hub-compact .select2-container--default .select2-selection--single { height: 44px !important; min-height: 44px; }
    body.help-hub-compact .select2-container--bootstrap4 .select2-selection--single .select2-selection__rendered,
    body.help-hub-compact .select2-container--bootstrap4 .select2-selection--single .select2-selection__placeholder,
    body.help-hub-compact .select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered,
    body.help-hub-compact .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; }
    body.help-hub-compact .select2-container--bootstrap4 .select2-selection--single .select2-selection__arrow,
    body.help-hub-compact .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
    body.help-hub-compact .on-behalf-entry .ob-method span,
    body.help-hub-compact .on-behalf-entry .ob-button,
    body.help-hub-compact .btn-modern,
    body.help-hub-compact .requester-supports .support-button,
    body.help-hub-compact .requester-supports .support-tab { min-height: 44px; }
    body.help-hub-compact .support-queue .action-buttons .btn-sm { min-height: 44px; min-width: 44px; }
    body.help-hub-compact .dashboard-date-filter input,
    body.help-hub-compact .dashboard-date-filter .date-filter-apply,
    body.help-hub-compact .dashboard-date-filter .date-filter-reset { min-height: 44px; }
    body.help-hub-compact .dashboard-date-filter .date-filter-field { max-width: none; }
}

/* Compact report filters, reconciled status summaries and export controls. */
body.help-hub-compact .report-status-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(115px,1fr)); gap:10px; margin-bottom:12px; }
body.help-hub-compact .report-metric { padding:11px 13px; background:var(--hub-surface); border:1px solid var(--hub-border); border-top:3px solid var(--hub-muted); border-radius:6px; }
body.help-hub-compact .report-metric span { display:block; color:var(--hub-muted); font-size:12px; }
body.help-hub-compact .report-metric strong { display:block; margin-top:3px; font-size:25px; line-height:1.2; color:var(--hub-text); font-variant-numeric:tabular-nums; }
body.help-hub-compact .report-metric.total { border-top-color:var(--hub-primary); }
body.help-hub-compact .report-metric.solved { border-top-color:#15803d; }
body.help-hub-compact .report-metric.closed { border-top-color:#2563eb; }
body.help-hub-compact .report-metric.pending { border-top-color:#b45309; }
body.help-hub-compact .report-metric.hold { border-top-color:#64748b; }
body.help-hub-compact .report-overview-grid { display:grid; grid-template-columns:1fr 1fr 1.25fr; gap:10px; }
body.help-hub-compact .report-overview-panel { background:var(--hub-soft); border:1px solid var(--hub-border); border-radius:6px; padding:11px 13px; min-width:0; }
body.help-hub-compact .report-overview-panel h3 { margin:0 0 8px; font-size:13px; color:var(--hub-text); font-weight:600; display:flex; justify-content:space-between; gap:8px; }
body.help-hub-compact .report-overview-panel h3 small { color:var(--hub-muted); }
body.help-hub-compact .report-mini-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; }
body.help-hub-compact .report-mini-grid span { display:block; font-size:11px; color:var(--hub-muted); }
body.help-hub-compact .report-mini-grid strong { font-size:20px; font-variant-numeric:tabular-nums; color:var(--hub-text); }
body.help-hub-compact .report-departments { max-height:65px; overflow:auto; }
body.help-hub-compact .report-departments > div { display:flex; justify-content:space-between; gap:12px; font-size:12px; padding:3px 0; }
body.help-hub-compact .report-muted, body.help-hub-compact .report-scope-note { color:var(--hub-muted); font-size:12px; }
body.help-hub-compact .report-scope-note { margin:9px 0 13px; }
body.help-hub-compact .report-filter-label { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:5px; }
body.help-hub-compact .report-filter-label label { margin-bottom:0; }
body.help-hub-compact .report-clear { border:0; background:transparent; color:var(--hub-primary); padding:2px 0 2px 8px; font-size:12px; font-weight:600; }
body.help-hub-compact .report-clear:hover { text-decoration:underline; }
body.help-hub-compact .report-clear:focus-visible { outline:2px solid var(--hub-primary); outline-offset:3px; }
body.help-hub-compact .report-filter-footer, body.help-hub-compact .report-data-header { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
body.help-hub-compact .report-data-header .card-title { float:none; margin-bottom:4px; }
body.help-hub-compact .report-export-actions { display:flex; gap:7px; }
body.help-hub-compact .report-table { font-size:12px; }
body.help-hub-compact .report-table th { white-space:nowrap; }
body.help-hub-compact .report-table td { vertical-align:top; }
body.help-hub-compact .report-table .report-long-text { min-width:200px; max-width:300px; overflow-wrap:anywhere; white-space:pre-line; }
body.help-hub-compact .report-table td > .report-muted { display:block; }
body.help-hub-compact .report-status-badge { display:inline-block; background:var(--hub-soft); border:1px solid var(--hub-border); padding:3px 7px; border-radius:4px; white-space:nowrap; }
body.help-hub-compact .report-empty { padding:24px 12px; text-align:center; color:var(--hub-muted); }
body.help-hub-compact .report-empty i { margin-bottom:8px; font-size:20px; }
body.help-hub-compact .support-status-report .select2-container .select2-selection--multiple { padding:3px 5px; }
body.help-hub-compact .support-status-report .select2-selection__choice { background:var(--hub-soft); color:var(--hub-text); border-color:var(--hub-border); border-radius:4px; font-size:12px; }
/* AdminLTE's white cross assumes coloured chips; these chips use the portal surface. */
body.help-hub-compact .support-status-report .select2-container .select2-selection__choice__remove { color:var(--hub-text); opacity:1; font-size:16px; font-weight:700; line-height:1; margin:0 0 0 7px; padding:2px; }
body.help-hub-compact .support-status-report .select2-container .select2-selection__choice__remove:hover,
body.help-hub-compact .support-status-report .select2-container .select2-selection__choice__remove:focus { color:var(--hub-primary); }
body.help-hub-compact .refresh-btn { background-color:#285a91 !important; color:#fff !important; border:1px solid #285a91; }
body.help-hub-compact .refresh-btn:hover, body.help-hub-compact .refresh-btn:focus { background-color:#1e3a5f !important; color:#fff !important; }
body.help-hub-compact .nav-sidebar .nav-treeview > .nav-item > .nav-link.active { background:var(--hub-soft); color:var(--hub-text); border-left:3px solid var(--hub-primary); }
@media(max-width:991px) { body.help-hub-compact .report-overview-grid { grid-template-columns:1fr; } body.help-hub-compact .report-departments { max-height:90px; } }
@media(max-width:575px) { body.help-hub-compact .report-status-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } body.help-hub-compact .report-data-header { align-items:flex-start; } body.help-hub-compact .report-clear { min-height:32px; } body.help-hub-compact .report-export-actions { width:100%; } body.help-hub-compact .report-export-actions .btn { flex:1; } }
body.help-hub-compact .report-data-header::after { display:none; }
