body[data-ui-style] {
    --inspector-ink: #172329;
    --inspector-muted: #637178;
    --inspector-line: #dce5e1;
    --inspector-paper: #ffffff;
    --inspector-surface: #f5f8f7;
    --inspector-teal: #0f766e;
    --inspector-green: #3c8f42;
    --inspector-gold: #d6a01d;
    --inspector-magenta: #c2186a;
    --inspector-deep: #15272d;
}

body[data-ui-style] h1,
body[data-ui-style] h2,
body[data-ui-style] h3,
body[data-ui-style] h4,
body[data-ui-style] h5,
body[data-ui-style] h6 {
    letter-spacing: 0;
}

.app-brand-logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.app-brand-logo .logo-sm {
    align-items: center;
    justify-content: center;
}

.app-brand-logo .logo-sm img {
    width: 32px;
    height: auto;
    object-fit: contain;
}

.app-brand-logo .logo-lg {
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.app-brand-logo .logo-lg img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    flex: 0 0 36px;
}

.app-brand-text {
    display: grid;
    min-width: 0;
    line-height: 1.18;
}

.app-brand-text strong,
.app-brand-text span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-brand-text strong {
    color: var(--inspector-ink);
    font-size: 14px;
    font-weight: 800;
}

.app-brand-text span {
    color: var(--inspector-muted);
    font-size: 11px;
    font-weight: 700;
}

body[data-sidebar="dark"] .app-brand-text strong,
body[data-sidebar="colored"] .app-brand-text strong {
    color: #ffffff;
}

body[data-sidebar="dark"] .app-brand-text span,
body[data-sidebar="colored"] .app-brand-text span {
    color: rgba(255, 255, 255, 0.72);
}

body[data-ui-style] .brand-signature {
    border-radius: 8px;
    background: #edf7f4;
    color: var(--inspector-teal);
    letter-spacing: 0;
}

.topbar-context {
    display: grid;
    line-height: 1.2;
}

.topbar-context strong {
    color: var(--inspector-ink);
    font-size: 15px;
    font-weight: 800;
}

.topbar-context span {
    color: var(--inspector-muted);
    font-size: 12px;
    font-weight: 600;
}

.notification-icon-soft {
    background: #edf7f4;
    color: var(--inspector-teal);
}

.vertical-menu .menu-title {
    color: var(--inspector-muted) !important;
    font-weight: 800;
    letter-spacing: 0;
}

body[data-ui-style] #sidebar-menu ul li a {
    font-weight: 700;
}

body[data-ui-style] #sidebar-menu ul li a i {
    font-size: 18px;
}

.sidebar-footer-note {
    margin: 18px 18px 22px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--inspector-line);
    background: #f0f6f2;
}

.sidebar-footer-note span {
    display: block;
    color: var(--inspector-teal);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.sidebar-footer-note strong {
    display: block;
    color: var(--inspector-ink);
    font-size: 13px;
    line-height: 1.35;
    margin-top: 4px;
}

body[data-ui-style][data-sidebar-size="sm"] .sidebar-footer-note,
body[data-ui-style][data-sidebar-size="small"] .sidebar-footer-note {
    display: none;
}

.footer {
    color: var(--inspector-muted);
}

.footer strong {
    color: var(--inspector-ink);
}

.inspektorat-dashboard {
    color: var(--inspector-ink);
}

.inspektorat-dashboard .card,
.inspector-stat-card,
.inspector-hero {
    border-radius: 8px;
}

.app-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.app-page-kicker,
.panel-kicker,
.inspector-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--inspector-teal);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.app-page-heading h1 {
    margin: 8px 0 8px;
    color: var(--inspector-ink);
    font-size: 30px;
    line-height: 1.18;
    font-weight: 800;
}

.app-page-heading p {
    max-width: 760px;
    margin: 0;
    color: var(--inspector-muted) !important;
    font-size: 15px;
    line-height: 1.7;
}

.app-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.app-page-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    border-radius: 8px;
    font-weight: 800;
}

body[data-ui-style] .btn-primary {
    background-color: var(--inspector-teal);
    border-color: var(--inspector-teal);
}

body[data-ui-style] .btn-primary:hover,
body[data-ui-style] .btn-primary:focus {
    background-color: #0b625c;
    border-color: #0b625c;
}

.inspector-hero {
    position: relative;
    overflow: hidden;
    min-height: 290px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    align-items: end;
    gap: 28px;
    padding: 32px;
    margin-bottom: 24px;
    color: #ffffff;
    background-image:
        linear-gradient(90deg, rgba(8, 21, 26, 0.94) 0%, rgba(8, 21, 26, 0.78) 46%, rgba(8, 21, 26, 0.34) 100%),
        var(--dashboard-hero-image);
    background-position: center;
    background-size: cover;
    box-shadow: 0 24px 54px rgba(27, 48, 55, 0.18);
}

.inspector-hero-content {
    max-width: 760px;
}

.inspector-hero-eyebrow {
    color: #fff8de;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.inspector-hero h2 {
    max-width: 720px;
    margin: 16px 0 12px;
    color: #fffdf5;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 38px;
    line-height: 1.12;
    font-weight: 800;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
}

.inspector-hero p {
    max-width: 690px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84) !important;
    font-size: 15px;
    line-height: 1.75;
    font-weight: 500;
}

.inspector-hero-summary {
    display: grid;
    gap: 12px;
}

.inspector-hero-summary > div {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(10, 25, 30, 0.62);
    padding: 16px;
    backdrop-filter: blur(12px);
}

.inspector-hero-summary span,
.inspector-hero-summary strong {
    display: block;
}

.inspector-hero-summary span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 700;
}

.inspector-hero-summary strong {
    color: #ffffff;
    font-size: 17px;
    line-height: 1.25;
    margin-top: 5px;
    font-weight: 800;
}

.inspector-stat-card {
    height: 100%;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
    background: var(--inspector-paper);
    border: 1px solid var(--inspector-line);
    box-shadow: 0 16px 38px rgba(25, 43, 51, 0.08);
}

.stat-icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 27px;
}

.stat-icon-teal {
    color: var(--inspector-teal);
    background: #edf7f4;
}

.stat-icon-gold {
    color: #9a6900;
    background: #fff6db;
}

.stat-icon-green {
    color: var(--inspector-green);
    background: #eff8ef;
}

.stat-icon-magenta {
    color: var(--inspector-magenta);
    background: #fff0f7;
}

.stat-label {
    display: block;
    color: var(--inspector-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.inspector-stat-card strong {
    display: block;
    color: var(--inspector-ink);
    font-size: 29px;
    line-height: 1.1;
    margin: 7px 0 6px;
    font-weight: 800;
}

.inspector-stat-card p {
    margin: 0;
    color: var(--inspector-muted) !important;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
}

.inspector-panel {
    height: 100%;
    border: 1px solid var(--inspector-line) !important;
    box-shadow: 0 16px 38px rgba(25, 43, 51, 0.08) !important;
}

.panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.panel-heading h3 {
    margin: 6px 0 0;
    color: var(--inspector-ink);
    font-size: 20px;
    font-weight: 800;
}

.panel-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff6db;
    color: #8f6400;
    font-size: 12px;
    font-weight: 800;
}

.panel-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--inspector-teal);
    font-size: 13px;
    font-weight: 800;
}

.panel-link:hover,
.panel-link:focus {
    color: var(--inspector-green);
}

.audit-progress-list {
    display: grid;
    gap: 20px;
}

.audit-progress-label {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 9px;
}

.audit-progress-label span {
    color: var(--inspector-ink);
    font-weight: 700;
}

.audit-progress-label strong {
    color: var(--inspector-muted);
}

.audit-progress {
    height: 8px;
    border-radius: 8px;
    background: #eef3f1;
}

.audit-progress .progress-bar {
    border-radius: 8px;
}

.agenda-list {
    display: grid;
    gap: 14px;
}

.agenda-item {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 14px;
    border: 1px solid var(--inspector-line);
    border-radius: 8px;
    background: #fbfdfc;
}

.agenda-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border-radius: 8px;
    background: #edf7f4;
    color: var(--inspector-teal);
    font-size: 12px;
    font-weight: 800;
}

.agenda-item strong {
    display: block;
    color: var(--inspector-ink);
    font-size: 14px;
    line-height: 1.35;
}

.agenda-item p {
    margin: 5px 0 0;
    color: var(--inspector-muted) !important;
    font-size: 13px;
    line-height: 1.55;
}

.inspector-table thead th {
    background: #f4f8f6;
    color: var(--inspector-ink);
}

.inspector-table tbody td {
    color: var(--inspector-ink);
    vertical-align: middle;
}

.quick-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.quick-module {
    min-height: 96px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 8px;
    border: 1px solid var(--inspector-line);
    background: #fbfdfc;
    color: var(--inspector-ink);
    font-weight: 800;
    text-align: center;
}

.quick-module i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #edf7f4;
    color: var(--inspector-teal);
    font-size: 23px;
}

.quick-module:hover,
.quick-module:focus {
    color: var(--inspector-teal);
    border-color: rgba(15, 118, 110, 0.32);
    background: #f5fbf8;
}

@media (max-width: 1199.98px) {
    .inspector-hero {
        grid-template-columns: 1fr;
    }

    .inspector-hero-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .app-page-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .app-page-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .app-page-heading h1 {
        font-size: 26px;
    }

    .inspector-hero {
        padding: 24px;
    }

    .inspector-hero h2 {
        font-size: 30px;
    }

    .inspector-hero-summary,
    .quick-module-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .app-page-actions,
    .app-page-actions .btn {
        width: 100%;
    }

    .inspector-stat-card {
        grid-template-columns: 1fr;
    }

    .panel-heading {
        align-items: flex-start;
        flex-direction: column;
    }
}
