/* NLGRB report theme
   Shared visual language for licensing reports.
   Add this file under your static assets and include it from each report template.
*/

:root {
    --report-blue: #17438c;
    --report-blue-soft: #eef4fb;
    --report-border: #d9e2ef;
    --report-border-strong: #c8d5e5;
    --report-text: #334155;
    --report-muted: #64748b;
    --report-bg: #ffffff;
    --report-head-bg: #f5f8fc;
    --report-hover: #f8fbff;
}

.report-page {
    width: 100%;
    padding-top: 1.75rem;
}

.report-shell {
    background: var(--report-bg);
    border: 1px solid var(--report-border-strong);
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.report-titlebar {
    min-height: 36px;
    display: flex;
    align-items: center;
    padding: 7px 10px;
    color: var(--report-blue);
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(180deg, #f2f6fb 0%, #eaf1f8 100%);
    border-bottom: 1px solid var(--report-border-strong);
}

.report-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 9px;
    border-bottom: 1px solid var(--report-border);
    background: #fff;
}

.report-toolbar-btn,
.report-filter-btn {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #c9d6e6;
    border-radius: 3px;
    background: #fff;
    color: #36506f;
    font-size: 11px;
    font-weight: 400;
    line-height: 1;
    padding: 0 10px;
    box-shadow: none;
}

.report-toolbar-btn:hover,
.report-filter-btn:hover {
    color: var(--report-blue);
    border-color: #9eb6d3;
    background: #f6f9fd;
}

.report-toolbar-btn i,
.report-filter-btn i {
    font-size: 14px;
    line-height: 1;
}

.report-filter-area {
    padding: 8px 9px 9px;
    border-bottom: 1px solid var(--report-border);
    background: #fff;
}

.report-filter-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1.65fr) repeat(4, minmax(150px, 1fr)) auto;
    gap: 8px;
    align-items: end;
}

.report-filter label {
    display: block;
    margin: 0 0 4px;
    color: #53657b;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.2;
}

.report-filter input,
.report-filter select,
.report-filter .form-control,
.report-filter .form-select {
    width: 100%;
    min-height: 29px;
    height: 29px;
    margin: 0;
    border: 1px solid #cbd7e6;
    border-radius: 3px;
    background-color: #fff;
    color: #334155;
    font-size: 11px;
    line-height: 1.2;
    padding: 4px 8px;
    box-shadow: none !important;
}

.report-filter input:focus,
.report-filter select:focus,
.report-filter .form-control:focus,
.report-filter .form-select:focus {
    border-color: #8ca9cc;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(23, 67, 140, .07) !important;
}

.report-filter-actions {
    display: flex;
    gap: 6px;
    align-items: end;
}

.report-filter-btn--primary {
    color: var(--report-blue);
    border-color: #b9cae0;
}

.report-results {
    width: 100%;
    min-width: 0;
}

.report-summary-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    min-height: 30px;
    padding: 6px 9px;
    color: #53657b;
    font-size: 10px;
    border-bottom: 1px solid var(--report-border);
    background: #fbfcfe;
}

.report-summary-strip strong {
    color: var(--report-blue);
    font-weight: 600;
}

.report-table-section {
    padding: 12px 8px 8px;
    background: #fff;
}

.report-table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
}

.report-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: auto;
    color: var(--report-text);
    font-size: 11px;
    background: #fff;
}

.report-table--principal { min-width: 1600px; }
.report-table--premise   { min-width: 1850px; }
.report-table--employee  { min-width: 1950px; }

.report-table thead th {
    position: static;
    padding: 7px 7px;
    vertical-align: middle;
    text-align: left;
    color: #354a66;
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1.25;
    white-space: normal;
    background: var(--report-head-bg);
    border: 1px solid var(--report-border);
}

.report-table tbody td {
    padding: 7px 7px;
    vertical-align: middle;
    line-height: 1.3;
    white-space: nowrap;
    border: 1px solid var(--report-border);
    background: #fff;
}

.report-table tbody tr:hover td {
    background: var(--report-hover);
}

.report-table .wrap-cell {
    white-space: normal;
    min-width: 160px;
}

.report-table .reference-cell {
    min-width: 135px;
    color: var(--report-blue);
    font-weight: 500;
}

.report-table .date-cell {
    min-width: 105px;
}

.report-table .status-cell {
    min-width: 120px;
}

.report-table a {
    color: var(--report-blue);
    text-decoration: none;
}

.report-table a:hover {
    text-decoration: underline;
}

.ajax-sort-link {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: inherit !important;
    text-decoration: none !important;
}

.ajax-sort-link::after {
    content: "↕";
    color: #9aa9bb;
    font-size: 9px;
    font-weight: 400;
}

.ajax-sort-link.is-sorted.sort-asc::after {
    content: "↑";
    color: var(--report-blue);
}

.ajax-sort-link.is-sorted.sort-desc::after {
    content: "↓";
    color: var(--report-blue);
}

.report-footer {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 7px 8px 2px;
    color: #718096;
    font-size: 10px;
}

.report-pagination {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.report-pagination .page-link {
    min-width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #38506e;
    font-size: 10px;
    line-height: 1;
    box-shadow: none;
}

.report-pagination .page-link:hover {
    color: var(--report-blue);
    background: #eef3fa;
}

.report-pagination .page-item.active .page-link {
    color: #fff;
    background: #3974f6;
}

.report-empty {
    padding: 42px 20px;
    text-align: center;
    color: var(--report-muted);
}

.report-empty i {
    display: block;
    margin-bottom: 8px;
    color: #9ba9ba;
    font-size: 28px;
}

.report-empty-title {
    margin-bottom: 3px;
    color: #475569;
    font-size: 13px;
    font-weight: 500;
}

.report-empty-text {
    margin: 0;
    font-size: 11px;
}

@media (max-width: 1500px) {
    .report-filter-grid {
        grid-template-columns: repeat(3, minmax(180px, 1fr));
    }

    .report-filter-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 900px) {
    .report-page {
        padding-top: 1rem;
    }

    .report-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .report-filter-grid {
        grid-template-columns: 1fr;
    }

    .report-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}
/* --------------------------------------------------------------------------
   Batch 2 additions
   These extend the same report theme to DataTables, tabbed reports,
   expiry reports and stacked report sections without changing report logic.
   -------------------------------------------------------------------------- */

.report-page a.report-toolbar-btn {
    text-decoration: none;
}

.report-toolbar .report-toolbar-spacer {
    flex: 1 1 auto;
}

.report-section-wrap {
    width: 100%;
}

.report-section-wrap + .report-section-wrap {
    margin-top: 12px;
}

.report-section {
    margin: 0;
}

.report-tabs-bar {
    padding: 0 8px;
    background: #fbfcfe;
    border-bottom: 1px solid var(--report-border);
}

.report-tabs {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 2px;
    margin: 0;
    padding: 0;
    border: 0 !important;
}

.report-tabs .nav-item {
    margin: 0;
}

.report-tabs .nav-link,
.report-tab-link {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 12px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #586a80 !important;
    font-size: 10.5px;
    font-weight: 500 !important;
    line-height: 1.15;
    text-decoration: none;
    box-shadow: none !important;
}

.report-tabs .nav-link:hover,
.report-tab-link:hover {
    color: var(--report-blue) !important;
    background: #f1f5fa !important;
}

.report-tabs .nav-link.active,
.report-tab-link.active,
.report-tab-link.tab-active {
    color: var(--report-blue) !important;
    background: #eef4fb !important;
    box-shadow: inset 0 -2px 0 var(--report-blue) !important;
}

.report-tab-content {
    color: var(--report-text) !important;
}

.report-tab-panel {
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.report-legacy-tabs-row {
    margin: 0 !important;
    padding: 0 !important;
}

.report-legacy-tabs-row > [class*="col-"] {
    padding: 0 !important;
}

.report-legacy-tabs-row .mt-2 {
    margin-top: 0 !important;
}

.report-inline-filter {
    margin: 0 !important;
    padding: 8px;
    align-items: end;
    background: #fff;
    border-bottom: 1px solid var(--report-border);
}

.report-inline-filter .form-control,
.report-inline-filter .form-select {
    min-height: 29px;
    height: 29px;
    border: 1px solid #cbd7e6;
    border-radius: 3px;
    color: #334155;
    font-size: 10.5px;
    padding: 3px 7px;
    box-shadow: none !important;
}

.report-inline-filter .form-control:focus,
.report-inline-filter .form-select:focus {
    border-color: #8ca9cc;
    box-shadow: 0 0 0 2px rgba(23, 67, 140, .07) !important;
}

.report-datatable-area {
    width: 100%;
    min-width: 0;
    padding: 9px 8px 8px;
    background: #fff;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.report-datatable-area > .report-inline-filter {
    margin: -9px -8px 9px !important;
}

.report-table--datatable {
    width: 100% !important;
    min-width: 880px;
    table-layout: auto !important;
}

.report-table--datatable thead th,
.report-table--datatable tbody td {
    box-sizing: border-box;
}

.report-datatable-area .dataTables_wrapper {
    width: 100%;
    min-width: 0;
    color: var(--report-text);
    font-size: 10px;
}

.report-datatable-area .dataTables_wrapper > .row {
    margin-left: 0;
    margin-right: 0;
}

.report-datatable-area .dataTables_wrapper > .row > [class*="col-"] {
    padding-left: 0;
    padding-right: 6px;
}

.report-datatable-area .dataTables_length,
.report-datatable-area .dataTables_filter,
.report-datatable-area .dataTables_info,
.report-datatable-area .dataTables_paginate {
    margin: 0 !important;
    color: #6b7c91;
    font-size: 10px;
}

.report-datatable-area .dataTables_length label,
.report-datatable-area .dataTables_filter label {
    margin: 0;
    color: #53657b;
    font-size: 10px;
    font-weight: 400;
}

.report-datatable-area .dataTables_length select,
.report-datatable-area .dataTables_filter input {
    min-height: 28px;
    height: 28px;
    margin-left: 5px;
    border: 1px solid #cbd7e6 !important;
    border-radius: 3px !important;
    background: #fff;
    color: #334155;
    font-size: 10px !important;
    padding: 3px 7px !important;
    box-shadow: none !important;
}

.report-datatable-area .dataTables_filter input {
    width: min(280px, 55vw) !important;
}

.report-datatable-area .dataTables_length select:focus,
.report-datatable-area .dataTables_filter input:focus {
    border-color: #8ca9cc !important;
    box-shadow: 0 0 0 2px rgba(23, 67, 140, .07) !important;
    outline: 0;
}

.report-datatable-area .dt-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0 !important;
}

.report-datatable-area .dt-buttons .btn,
.report-datatable-area .dt-buttons .dt-button {
    min-height: 28px;
    margin: 0 !important;
    padding: 0 9px !important;
    border: 1px solid #c9d6e6 !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #36506f !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    line-height: 26px !important;
    box-shadow: none !important;
}

.report-datatable-area .dt-buttons .btn:hover,
.report-datatable-area .dt-buttons .dt-button:hover {
    color: var(--report-blue) !important;
    border-color: #9eb6d3 !important;
    background: #f6f9fd !important;
}

.report-datatable-area .dataTables_info {
    padding-top: 8px !important;
}

.report-datatable-area .dataTables_paginate {
    padding-top: 5px !important;
}

.report-datatable-area .dataTables_paginate .pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 3px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.report-datatable-area .dataTables_paginate .page-item {
    margin: 0;
}

.report-datatable-area .dataTables_paginate .page-link {
    min-width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 7px;
    border: 0 !important;
    border-radius: 5px !important;
    background: transparent !important;
    color: #38506e !important;
    font-size: 10px;
    line-height: 1;
    box-shadow: none !important;
}

.report-datatable-area .dataTables_paginate .page-link:hover {
    background: #eef3fa !important;
    color: var(--report-blue) !important;
}

.report-datatable-area .dataTables_paginate .page-item.active .page-link {
    background: #3974f6 !important;
    color: #fff !important;
}

.report-datatable-area table.dataTable {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    border-collapse: collapse !important;
}

.report-datatable-area table.dataTable thead th {
    padding: 7px !important;
    background: var(--report-head-bg) !important;
    color: #354a66 !important;
    font-size: 10.5px !important;
    font-weight: 500 !important;
    line-height: 1.25;
    white-space: normal !important;
    border: 1px solid var(--report-border) !important;
}

.report-datatable-area table.dataTable tbody td {
    padding: 7px !important;
    vertical-align: middle !important;
    background: #fff;
    color: var(--report-text);
    font-size: 10.5px !important;
    line-height: 1.3;
    white-space: nowrap;
    border: 1px solid var(--report-border) !important;
}

.report-datatable-area table.dataTable tbody tr:hover td {
    background: var(--report-hover) !important;
}

.report-filter-grid--3 {
    grid-template-columns: minmax(240px, 1.7fr) minmax(170px, .9fr) minmax(220px, 1fr) auto;
}

.report-filter-grid--expiry {
    grid-template-columns: minmax(240px, 1.5fr) minmax(170px, .85fr) minmax(240px, 1.1fr) minmax(180px, .9fr) auto;
}

.report-range-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 6px;
}

.report-range-separator {
    color: #8291a4;
    font-size: 10px;
}

.report-status-badge,
.status-badge,
.days-left {
    display: inline-flex;
    align-items: center;
    min-height: 21px;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 9.5px;
    font-weight: 500;
    line-height: 1;
}

.report-table tr.status-expired td {
    background: #fff8f8;
}

.report-table tr.status-warning td {
    background: #fffdf5;
}

.report-table tr.status-ok td {
    background: #fbfffc;
}

.report-table tr.status-expired:hover td,
.report-table tr.status-warning:hover td,
.report-table tr.status-ok:hover td {
    background: var(--report-hover);
}

.report-table .status-submitted {
    background: #edf4ff;
    color: #23579f;
}

.report-table .status-inspected {
    background: #fff7dd;
    color: #85620d;
}

.report-table .status-verified {
    background: #e9f8f0;
    color: #26724c;
}

.report-table .status-endorsed {
    background: #eef0ff;
    color: #4a54a3;
}

.report-table .status-board_minutes_attached {
    background: #fbeef6;
    color: #934768;
}

.report-table .days-left.expired {
    background: #fde9e9;
    color: #b84040;
}

.report-table .cell-content {
    display: inline-block;
    max-width: 240px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.report-empty--inline {
    padding: 26px 16px;
}

.report-modal .modal-content {
    border: 1px solid var(--report-border-strong) !important;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(33, 52, 76, .12);
}

.report-modal .modal-header {
    padding: 10px 12px !important;
    background: var(--report-head-bg) !important;
    border-bottom: 1px solid var(--report-border) !important;
}

.report-modal .modal-title {
    color: var(--report-blue);
    font-size: 12px;
    font-weight: 500;
}

.report-modal .modal-body {
    padding: 12px;
}

.report-modal .modal-footer {
    padding: 8px 12px;
    border-top: 1px solid var(--report-border);
}

@media (max-width: 1100px) {
    .report-filter-grid--3,
    .report-filter-grid--expiry {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .report-datatable-area .dataTables_filter input {
        width: 220px !important;
    }
}

@media (max-width: 576px) {
    .report-filter-grid--3,
    .report-filter-grid--expiry {
        grid-template-columns: 1fr;
    }

    .report-range-inputs {
        grid-template-columns: 1fr;
    }

    .report-range-separator {
        text-align: center;
    }

    .report-datatable-area .dataTables_filter input {
        width: 100% !important;
        margin: 5px 0 0 !important;
    }

    .report-tabs .nav-item,
    .report-tabs .nav-link,
    .report-tab-link {
        width: 100%;
    }
}
/* --------------------------------------------------------------------------
   Batch 3 additions
   Operator summary/profile, operator-detail modal and audit log report.
   -------------------------------------------------------------------------- */

.report-filter-grid--single-search {
    grid-template-columns: minmax(320px, 1fr) auto;
}

.report-filter-grid--profile-search {
    grid-template-columns: minmax(280px, 520px);
}

.report-table--operator-summary {
    min-width: 980px;
}

.report-table--operator-profile {
    min-width: 1180px;
}

.report-table--audit {
    min-width: 1420px;
}

.report-table .report-list {
    margin: 0;
    padding-left: 15px;
}

.report-table .report-list li + li {
    margin-top: 2px;
}

.report-table .report-address-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.report-table .report-address-list li + li {
    margin-top: 2px;
}

/* django-el-pagination output */
.report-server-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 6px;
    border-top: 1px solid var(--report-border);
    color: #708096;
    font-size: 10px;
}

.report-server-pagination .endless_container,
.report-server-pagination .endless_page_current,
.report-server-pagination .endless_page_link,
.report-server-pagination a,
.report-server-pagination span {
    font-size: 10px;
}

.report-server-pagination .endless_page_link,
.report-server-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    margin: 0 2px;
    padding: 0 7px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #38506e;
    text-decoration: none;
}

.report-server-pagination .endless_page_link:hover,
.report-server-pagination a:hover {
    background: #eef3fa;
    color: var(--report-blue);
}

.report-server-pagination .endless_page_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 25px;
    height: 25px;
    margin: 0 2px;
    padding: 0 7px;
    border-radius: 5px;
    background: #3974f6;
    color: #fff;
}

/* Operator profile modal */
.report-detail-modal .modal-dialog {
    width: min(1180px, calc(100vw - 34px));
    max-width: min(1180px, calc(100vw - 34px)) !important;
}

.report-detail-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--report-border-strong);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(28, 47, 72, .14);
}

.report-detail-modal .modal-header {
    min-height: 40px;
    padding: 8px 11px;
    border-bottom: 1px solid var(--report-border);
    background: var(--report-head-bg);
}

.report-detail-modal .modal-title {
    margin: 0;
    color: var(--report-blue);
    font-size: 12px;
    font-weight: 500;
}

.report-detail-modal .modal-body {
    padding: 0;
    background: #fff;
}

.report-detail-modal .btn-close {
    transform: scale(.75);
    opacity: .55;
}

.report-detail-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    margin: 0;
    padding: 0 8px;
    border-bottom: 1px solid var(--report-border);
    background: #fbfcfe;
}

.report-detail-tabs .nav-item {
    margin: 0;
}

.report-detail-tabs .nav-link {
    min-height: 34px;
    padding: 0 11px;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #5b6c82 !important;
    font-size: 10.5px;
    font-weight: 500;
    box-shadow: none !important;
}

.report-detail-tabs .nav-link:hover {
    background: #f2f6fb !important;
    color: var(--report-blue) !important;
}

.report-detail-tabs .nav-link.active {
    background: #eef4fb !important;
    color: var(--report-blue) !important;
    box-shadow: inset 0 -2px 0 var(--report-blue) !important;
}

.report-detail-tab-content {
    padding: 10px;
}

.report-detail-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    table-layout: auto;
}

.report-detail-table th,
.report-detail-table td {
    padding: 7px 8px !important;
    border: 1px solid var(--report-border) !important;
    font-size: 10.5px;
    line-height: 1.35;
    vertical-align: middle;
}

.report-detail-table th {
    width: 190px;
    background: var(--report-head-bg);
    color: #43566f;
    font-weight: 500;
    white-space: nowrap;
}

.report-detail-table td {
    background: #fff;
    color: var(--report-text);
}

.report-detail-grid-table {
    width: 100%;
    min-width: 760px;
    margin: 0;
    border-collapse: collapse;
}

.report-detail-grid-table thead th {
    padding: 7px 8px !important;
    border: 1px solid var(--report-border) !important;
    background: var(--report-head-bg) !important;
    color: #43566f !important;
    font-size: 10.5px;
    font-weight: 500;
    white-space: nowrap;
}

.report-detail-grid-table tbody td {
    padding: 7px 8px !important;
    border: 1px solid var(--report-border) !important;
    color: var(--report-text);
    font-size: 10.5px;
    vertical-align: middle;
}

.report-detail-empty {
    padding: 24px 12px;
    color: #8090a3;
    font-size: 10.5px;
    text-align: center;
}

/* External DataTables search rows */
.report-search-strip {
    padding: 8px;
    border-bottom: 1px solid var(--report-border);
    background: #fff;
}

.report-search-strip .form-control {
    width: min(520px, 100%);
    min-height: 29px;
    height: 29px;
    padding: 3px 8px;
    border: 1px solid #cbd7e6;
    border-radius: 3px;
    color: #334155;
    font-size: 10.5px;
    box-shadow: none;
}

.report-search-strip .form-control:focus {
    border-color: #8ca9cc;
    box-shadow: 0 0 0 2px rgba(23, 67, 140, .07);
}

/* Audit table wrapping rules - keep long values readable without disturbing headers */
.report-table--audit th {
    white-space: nowrap !important;
    word-break: normal !important;
}

.report-table--audit td {
    white-space: normal !important;
    word-break: break-word;
    vertical-align: top !important;
}

.report-table--audit .text-wrap {
    max-width: 320px;
}

/* Server-side DataTables can add a processing overlay */
.report-datatable-area .dataTables_processing {
    top: 46px !important;
    z-index: 10;
    padding: 8px 12px !important;
    border: 1px solid var(--report-border) !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, .96) !important;
    color: #53657b !important;
    font-size: 10.5px !important;
    box-shadow: 0 4px 14px rgba(33, 52, 76, .08) !important;
}

@media (max-width: 768px) {
    .report-filter-grid--single-search,
    .report-filter-grid--profile-search {
        grid-template-columns: 1fr;
    }

    .report-detail-modal .modal-dialog {
        width: calc(100vw - 18px);
        max-width: calc(100vw - 18px) !important;
        margin: 9px auto;
    }

    .report-detail-tabs .nav-item,
    .report-detail-tabs .nav-link {
        flex: 1 1 50%;
    }

    .report-table--audit .text-wrap {
        max-width: 100%;
    }
}
/* Batch 4 - Inspected Premises Map */
.report-map-shell{overflow:visible}
.report-map-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:8px;border-bottom:1px solid var(--report-border);background:#fff}
.report-map-stat{min-height:58px;display:flex;flex-direction:column;justify-content:center;padding:8px 10px;border:1px solid var(--report-border);border-radius:3px;background:#fbfcfe}
.report-map-stat-number{color:var(--report-blue);font-size:18px;font-weight:600;line-height:1.1}
.report-map-stat-label{margin-top:4px;color:#6d7d91;font-size:9.5px;font-weight:500;text-transform:uppercase;letter-spacing:.02em}
.report-map-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,.9fr);gap:8px;padding:8px;background:#f7f9fc}
.report-map-panel,.report-map-filter-panel{min-width:0;overflow:hidden;border:1px solid var(--report-border-strong);border-radius:3px;background:#fff}
.report-section-title{min-height:34px;display:flex;align-items:center;padding:0 10px;border-bottom:1px solid var(--report-border);background:var(--report-head-bg);color:var(--report-blue);font-size:11px;font-weight:500}
.report-map-container{width:100%;height:560px}
.report-map-filter-body{height:560px;overflow-y:auto;padding:10px}
.report-map-filter-group+.report-map-filter-group{margin-top:14px;padding-top:12px;border-top:1px solid var(--report-border)}
.report-map-filter-heading{margin:0 0 6px;color:#43566f;font-size:10.5px;font-weight:600}
.report-map-selection-control{display:flex;align-items:center;gap:7px;min-height:31px;padding:6px 8px;border:1px solid var(--report-border);border-radius:3px;background:#fbfcfe;color:#53657b;font-size:10.5px}
.report-map-selection-dot{width:8px;height:8px;flex:0 0 auto;border-radius:50%;background:#3aa0b5}
.report-map-select,.report-map-search{width:100%;min-height:30px;height:30px;padding:3px 8px;border:1px solid #cbd7e6;border-radius:3px;background:#fff;color:#334155;font-size:10.5px;outline:0;box-shadow:none}
.report-map-select:focus,.report-map-search:focus{border-color:#8ca9cc;box-shadow:0 0 0 2px rgba(23,67,140,.07)}
.report-map-selected-tags{min-height:39px;max-height:104px;overflow-y:auto;padding:5px;border:1px solid var(--report-border);border-radius:3px;background:#fff}
.report-map-tag{display:inline-flex;align-items:center;gap:5px;max-width:100%;margin:2px;padding:3px 7px;border:1px solid #cbd8e8;border-radius:12px;background:#eef4fb;color:#405774;font-size:9.5px}
.report-map-tag-name{max-width:125px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.report-map-tag-count{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:#d8e5f4;color:#34577d;font-size:9px}
.report-map-tag-remove{width:15px;height:15px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:0;border-radius:50%;background:transparent;color:#708096;font-size:12px;line-height:1}
.report-map-tag-remove:hover{background:#e35d5d;color:#fff}
.report-map-selection-summary{margin-top:6px;padding:5px 7px;border-radius:3px;background:#f6f8fb;color:#708096;font-size:9.5px}
.report-map-dropdown{max-height:190px;overflow-y:auto;margin-top:5px;border:1px solid var(--report-border);border-radius:3px;background:#fff;box-shadow:0 6px 16px rgba(34,53,77,.08)}
.report-map-district-option{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 8px;border-bottom:1px solid #edf1f6;color:#40536c;font-size:10px;cursor:pointer}
.report-map-district-option:last-child{border-bottom:0}
.report-map-district-option:hover{background:#f5f8fc}
.report-map-district-region{margin-top:2px;color:#8a98aa;font-size:9px}
.report-map-district-count{min-width:24px;padding:2px 6px;border-radius:10px;background:#eef2f7;color:#5e6f84;font-size:9px;text-align:center}
.report-map-no-results{padding:14px 8px;color:#8a98aa;font-size:10px;font-style:italic;text-align:center}
.report-map-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.report-map-action-btn{min-height:29px;border:1px solid #c8d6e6;border-radius:3px;background:#fff;color:#3e5877;font-size:10px;font-weight:500}
.report-map-action-btn:hover:not(:disabled){border-color:#9fb7d2;background:#f5f8fc;color:var(--report-blue)}
.report-map-action-btn:disabled{opacity:.45;cursor:not-allowed}
.report-map-container .leaflet-control-zoom a{color:#40536c}
.report-map-container .leaflet-popup-content-wrapper{border-radius:4px;box-shadow:0 6px 20px rgba(24,43,67,.16)}
.report-map-container .leaflet-popup-content{margin:10px 12px;color:#3f5269;font-size:10.5px;line-height:1.45}
@media(max-width:1100px){.report-map-layout{grid-template-columns:1fr}.report-map-filter-body{height:auto;max-height:none}}
@media(max-width:768px){.report-map-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.report-map-container{height:470px}}
@media(max-width:480px){.report-map-summary{grid-template-columns:1fr}.report-map-actions{grid-template-columns:1fr}}

/* --------------------------------------------------------------------------
   Batch 5 additions
   Compliance workflow forms and compliance administration lists.
   -------------------------------------------------------------------------- */

.compliance-page {
    width: 100%;
    padding-top: 1.75rem;
}

.compliance-shell {
    overflow: visible;
}

.compliance-titlebar {
    justify-content: space-between;
    gap: 10px;
}

.compliance-titlebar-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

.compliance-titlebar-btn {
    min-height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 9px;
    border: 1px solid #c9d6e6;
    border-radius: 3px;
    background: #fff;
    color: #36506f;
    font-size: 10px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.compliance-titlebar-btn:hover {
    color: var(--report-blue);
    border-color: #9eb6d3;
    background: #f6f9fd;
    text-decoration: none;
}

.compliance-titlebar-btn--primary {
    border-color: #9db9da;
    color: var(--report-blue);
}

.compliance-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 9px;
    border-bottom: 1px solid var(--report-border);
    background: #fff;
}

.compliance-toolbar-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.compliance-btn {
    min-height: 29px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0 9px;
    border: 1px solid #c9d6e6;
    border-radius: 3px;
    background: #fff;
    color: #36506f;
    font-size: 10px;
    line-height: 1;
    text-decoration: none;
    box-shadow: none;
}

.compliance-btn:hover:not(:disabled) {
    color: var(--report-blue);
    border-color: #9eb6d3;
    background: #f6f9fd;
    text-decoration: none;
}

.compliance-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.compliance-btn--primary {
    color: #17438c;
    border-color: #a9bfd9;
}

.compliance-btn--success {
    color: #23704b;
    border-color: #b5d6c7;
}

.compliance-btn--danger {
    color: #a14141;
    border-color: #deb7b7;
}

.compliance-btn--muted {
    color: #69798d;
}

.compliance-breadcrumb {
    min-height: 32px;
    display: flex;
    align-items: center;
    padding: 5px 9px;
    border-bottom: 1px solid var(--report-border);
    background: #fbfcfe;
}

.compliance-breadcrumb .breadcrumb {
    margin: 0;
    font-size: 9.5px;
}

.compliance-breadcrumb .breadcrumb-item,
.compliance-breadcrumb .breadcrumb-item a {
    color: #718197;
    text-decoration: none;
}

.compliance-breadcrumb .breadcrumb-item.active {
    color: #42566f;
}

.compliance-info {
    margin: 8px 9px 0;
    padding: 8px 10px;
    border: 1px solid #cfdeee;
    border-radius: 3px;
    background: #f6f9fd;
    color: #52677f;
    font-size: 10px;
    line-height: 1.45;
}

.compliance-info--warning {
    border-color: #e8d6a4;
    background: #fffaf0;
    color: #725d22;
}

.compliance-info--danger {
    border-color: #e6bebe;
    background: #fff6f6;
    color: #934747;
}

.compliance-form-section {
    margin: 8px;
    border: 1px solid var(--report-border-strong);
    border-radius: 3px;
    background: #fff;
    overflow: visible;
}

.compliance-form-section + .compliance-form-section {
    margin-top: 10px;
}

.compliance-section-title {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 9px;
    border-bottom: 1px solid var(--report-border);
    background: var(--report-head-bg);
    color: var(--report-blue);
    font-size: 10.5px;
    font-weight: 500;
}

.compliance-section-title small {
    color: #7b8a9c;
    font-size: 9px;
    font-weight: 400;
}

.compliance-section-body {
    padding: 10px;
}

.compliance-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.compliance-field-grid--single {
    grid-template-columns: minmax(260px, 580px);
}

.compliance-field-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.compliance-field {
    min-width: 0;
}

.compliance-field label,
.compliance-label {
    display: block;
    margin: 0 0 4px;
    color: #4f6279;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
}

.compliance-field .form-control,
.compliance-field .form-select,
.compliance-field select,
.compliance-field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]),
.compliance-field textarea,
.compliance-input,
.compliance-shell .els-input {
    width: 100%;
    min-height: 30px;
    border: 1px solid #cbd7e6 !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #334155 !important;
    font-size: 10px !important;
    line-height: 1.3;
    padding: 4px 7px !important;
    box-shadow: none !important;
}

.compliance-field textarea,
.compliance-shell textarea.els-input {
    min-height: 64px;
    resize: vertical;
}

.compliance-field .form-control:focus,
.compliance-field .form-select:focus,
.compliance-field select:focus,
.compliance-field input:focus,
.compliance-field textarea:focus,
.compliance-shell .els-input:focus {
    border-color: #8ca9cc !important;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(23, 67, 140, .07) !important;
}

.compliance-help {
    display: block;
    margin-top: 4px;
    color: #8492a4;
    font-size: 9px;
    line-height: 1.35;
}

.compliance-error {
    margin-top: 4px;
    color: #b44949;
    font-size: 9px;
}

.compliance-divider {
    height: 1px;
    margin: 10px 0;
    background: var(--report-border);
}

.compliance-entry-list {
    display: grid;
    gap: 9px;
}

.compliance-entry {
    overflow: visible;
    border: 1px solid var(--report-border-strong);
    border-radius: 3px;
    background: #fff;
}

.compliance-entry-header {
    min-height: 33px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 5px 8px;
    border-bottom: 1px solid var(--report-border);
    background: #f8fafc;
    color: #43566f;
    font-size: 10px;
    font-weight: 500;
}

.compliance-entry-body {
    padding: 9px;
}

.compliance-period-block {
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid var(--report-border);
}

.compliance-period-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
}

.compliance-period-toolbar strong {
    color: #43566f;
    font-size: 10px;
    font-weight: 500;
}

.compliance-period-row {
    margin-bottom: 7px;
    padding: 8px;
    border: 1px solid var(--report-border);
    border-radius: 3px;
    background: #fbfcfe;
}

.compliance-period-row:last-child {
    margin-bottom: 0;
}

.compliance-period-number {
    margin-bottom: 6px;
    color: #65758a;
    font-size: 9.5px;
    font-weight: 500;
}

.compliance-period-grid {
    display: grid;
    grid-template-columns: minmax(130px, .8fr) minmax(130px, .8fr) minmax(200px, 1.4fr) 110px;
    gap: 8px;
    align-items: end;
}

.compliance-empty-state {
    padding: 24px 14px;
    color: #8492a4;
    font-size: 10px;
    text-align: center;
}

.compliance-actionbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 9px;
    border-top: 1px solid var(--report-border);
    background: #fbfcfe;
}

.compliance-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.compliance-table {
    width: 100%;
    min-width: 900px;
    margin: 0;
    border-collapse: collapse;
    color: var(--report-text);
    font-size: 10px;
}

.compliance-table thead th {
    padding: 7px;
    border: 1px solid var(--report-border);
    background: var(--report-head-bg);
    color: #354a66;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.25;
    white-space: normal;
    vertical-align: middle;
}

.compliance-table tbody td {
    padding: 7px;
    border: 1px solid var(--report-border);
    background: #fff;
    color: var(--report-text);
    font-size: 10px;
    line-height: 1.35;
    vertical-align: middle;
}

.compliance-table tbody tr:hover td {
    background: var(--report-hover);
}

.compliance-table .wrap-cell {
    min-width: 180px;
    white-space: normal;
}

.compliance-table .number-cell,
.compliance-table .status-cell,
.compliance-table .action-cell,
.compliance-table .check-cell {
    text-align: center;
    white-space: nowrap;
}

.compliance-status {
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 7px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 500;
    line-height: 1;
}

.compliance-status--warning {
    background: #fff4d9;
    color: #8b6716;
}

.compliance-status--success {
    background: #e9f7ef;
    color: #28714c;
}

.compliance-status--neutral {
    background: #eef2f7;
    color: #5f6f82;
}

.compliance-bulkbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 9px;
    border-bottom: 1px solid var(--report-border);
    background: #fbfcfe;
}

.compliance-bulkbar-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.compliance-bulk-comment {
    width: 310px;
    max-width: 45vw;
    min-height: 29px;
    height: 29px;
    padding: 4px 7px;
    border: 1px solid #cbd7e6;
    border-radius: 3px;
    background: #fff;
    color: #334155;
    font-size: 10px;
}

.compliance-pagination {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 9px;
    border-top: 1px solid var(--report-border);
    color: #758498;
    font-size: 9.5px;
}

.compliance-pagination .pagination {
    margin: 0;
}

.compliance-pagination .page-link {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    border: 1px solid #d2dce8;
    color: #45607f;
    font-size: 9.5px;
    box-shadow: none;
}

.compliance-modal .modal-content {
    overflow: hidden;
    border: 1px solid var(--report-border-strong);
    border-radius: 4px;
    box-shadow: 0 12px 30px rgba(33, 52, 76, .14);
}

.compliance-modal .modal-header {
    min-height: 38px;
    padding: 8px 10px;
    border-bottom: 1px solid var(--report-border);
    background: var(--report-head-bg);
}

.compliance-modal .modal-title {
    color: var(--report-blue);
    font-size: 11px;
    font-weight: 500;
}

.compliance-modal .modal-body {
    padding: 10px;
}

.compliance-modal .modal-footer {
    padding: 7px 10px;
    border-top: 1px solid var(--report-border);
    background: #fbfcfe;
}

.compliance-modal-summary {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 5px 8px;
    margin-bottom: 9px;
    padding: 8px;
    border: 1px solid var(--report-border);
    border-radius: 3px;
    background: #f8fafc;
    color: #53657b;
    font-size: 9.5px;
}

.compliance-modal-summary strong {
    color: #3f536d;
    font-weight: 500;
}

/* Dynamic licence-pair table */
.compliance-dynamic-table {
    width: 100%;
    min-width: 660px;
    margin: 0;
    border-collapse: collapse;
}

.compliance-dynamic-table th,
.compliance-dynamic-table td {
    padding: 7px;
    border: 1px solid var(--report-border);
    font-size: 10px;
    vertical-align: middle;
}

.compliance-dynamic-table th {
    background: var(--report-head-bg);
    color: #354a66;
    font-weight: 500;
}

.compliance-dynamic-table td {
    background: #fff;
}

.compliance-dynamic-table .form-select {
    min-height: 29px;
    height: 29px;
    border: 1px solid #cbd7e6;
    border-radius: 3px;
    color: #334155;
    font-size: 10px;
    box-shadow: none;
}

/* Create/edit principal application sections */
.compliance-application-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 18px;
}

.compliance-legacy-fields .row {
    margin-left: 0;
    margin-right: 0;
}

.compliance-legacy-fields .col-form-label {
    color: #4f6279;
    font-size: 9.5px;
    font-weight: 500;
}

.compliance-legacy-fields .form-control,
.compliance-legacy-fields .form-select,
.compliance-legacy-fields input[type="text"],
.compliance-legacy-fields input[type="url"],
.compliance-legacy-fields select,
.compliance-legacy-fields textarea {
    min-height: 30px;
    border: 1px solid #cbd7e6 !important;
    border-radius: 3px !important;
    color: #334155 !important;
    font-size: 10px !important;
    box-shadow: none !important;
}

.compliance-question {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid var(--report-border);
}

.compliance-question:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.compliance-radio-row {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 30px;
}

.compliance-radio-row label {
    margin-left: 3px;
    color: #52657c;
    font-size: 9.5px;
}

.compliance-attachments-note {
    padding: 8px 9px;
    border-bottom: 1px solid var(--report-border);
    background: #fbfcfe;
    color: #718197;
    font-size: 9px;
}

.compliance-attachment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    padding: 10px;
}

.compliance-attachment-item {
    padding: 8px;
    border: 1px solid var(--report-border);
    border-radius: 3px;
    background: #fff;
}

.compliance-attachment-item label {
    display: inline-block;
    margin-bottom: 5px;
    color: #4f6279;
    font-size: 9.5px;
    font-weight: 500;
}

.compliance-attachment-item input[type="file"] {
    width: 100%;
    min-height: 30px;
    border: 1px solid #cbd7e6;
    border-radius: 3px;
    color: #53657b;
    font-size: 9px;
}

.compliance-current-file {
    display: inline-flex;
    margin-top: 5px;
    color: var(--report-blue);
    font-size: 9px;
    text-decoration: none;
}

.compliance-current-file:hover {
    text-decoration: underline;
}

/* Select2 should visually match report inputs. */
.compliance-shell .select2-container {
    width: 100% !important;
}

.compliance-shell .select2-container--default .select2-selection--single {
    min-height: 30px !important;
    height: 30px !important;
    border: 1px solid #cbd7e6 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}

.compliance-shell .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px !important;
    color: #334155 !important;
    font-size: 10px !important;
}

.compliance-shell .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 28px !important;
}

@media (max-width: 1050px) {
    .compliance-field-grid,
    .compliance-field-grid--three,
    .compliance-application-grid,
    .compliance-attachment-grid {
        grid-template-columns: 1fr;
    }

    .compliance-period-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .compliance-titlebar,
    .compliance-toolbar,
    .compliance-bulkbar,
    .compliance-pagination,
    .compliance-period-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .compliance-period-grid {
        grid-template-columns: 1fr;
    }

    .compliance-bulk-comment {
        width: 100%;
        max-width: 100%;
    }

    .compliance-toolbar-group,
    .compliance-bulkbar-group,
    .compliance-titlebar-actions {
        width: 100%;
    }

    .compliance-titlebar-btn,
    .compliance-btn {
        flex: 1 1 auto;
    }
}

.compliance-tabs {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    padding: 7px 8px 0;
    border-bottom: 1px solid var(--report-border);
    background: #fbfcfe;
}

.compliance-tab {
    min-height: 31px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 11px;
    border: 1px solid transparent;
    border-bottom: 0;
    border-radius: 3px 3px 0 0;
    color: #62758c;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
}

.compliance-tab:hover {
    color: var(--report-blue);
    background: #f3f7fb;
    text-decoration: none;
}

.compliance-tab.active {
    margin-bottom: -1px;
    border-color: var(--report-border);
    background: #fff;
    color: var(--report-blue);
}

.compliance-tab-count {
    min-width: 19px;
    min-height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 9px;
    background: #e7eef7;
    color: #526e91;
    font-size: 8.5px;
    line-height: 1;
}

.compliance-tab.active .compliance-tab-count {
    background: #dce8f7;
    color: #17438c;
}

.compliance-filter-form {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
}

.compliance-filter-form label {
    margin: 0;
    color: #6d7e92;
    font-size: 9px;
    font-weight: 500;
}

.compliance-filter-select {
    min-height: 28px;
    height: 28px;
    padding: 2px 25px 2px 7px;
    border: 1px solid #cbd7e6;
    border-radius: 3px;
    background: #fff;
    color: #3f536c;
    font-size: 9.5px;
    box-shadow: none;
}

@media (max-width: 680px) {
    .compliance-tabs {
        align-items: stretch;
        flex-direction: column;
        padding-bottom: 7px;
    }

    .compliance-tab,
    .compliance-tab.active {
        margin-bottom: 0;
        border: 1px solid var(--report-border);
        border-radius: 3px;
    }
}
