@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* ZETPAS enterprise design system
   Last-loaded compatibility layer for MVC 5 / Bootstrap 3. It deliberately leaves
   print dimensions and application behaviour to the existing specialised assets. */
:root {
    --zp-font: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    --zp-ink-950: #101215;
    --zp-ink-900: #17191c;
    --zp-ink-800: #25292e;
    --zp-ink-700: #3d444d;
    --zp-ink-600: #59636f;
    --zp-ink-500: #737e8c;
    --zp-surface: #ffffff;
    --zp-surface-subtle: #f8f9fb;
    --zp-canvas: #f2f4f7;
    --zp-border: #dfe3e8;
    --zp-border-strong: #cbd1d8;
    --zp-gold: #e5aa00;
    --zp-gold-hover: #f0b600;
    --zp-gold-soft: #fff6d6;
    --zp-blue: #2563eb;
    --zp-blue-soft: #eaf1ff;
    --zp-cyan: #0891b2;
    --zp-purple: #7c3aed;
    --zp-emerald: #087f5b;
    --zp-emerald-soft: #e8f7f1;
    --zp-amber: #9a6700;
    --zp-amber-soft: #fff5d8;
    --zp-red: #b42318;
    --zp-red-soft: #ffedeb;
    --zp-neutral-soft: #eef1f4;
    --zp-radius-sm: 8px;
    --zp-radius: 12px;
    --zp-radius-lg: 18px;
    --zp-shadow-sm: 0 1px 2px rgba(16, 24, 40, .04), 0 4px 12px rgba(16, 24, 40, .04);
    --zp-shadow: 0 10px 30px rgba(16, 24, 40, .08);
    --zp-shadow-lg: 0 22px 55px rgba(16, 24, 40, .14);
    --zp-focus: 0 0 0 3px rgba(229, 170, 0, .24);
    --zp-fast: 150ms ease;
    --zp-sidebar: 272px;
    --zp-header-z: 1030;
    --zp-sidebar-z: 1040;
    --zp-modal-z: 1050;
    --chart-gold: #e5aa00;
    --chart-blue: #2563eb;
    --chart-emerald: #087f5b;
    --chart-purple: #7c3aed;
    --chart-red: #c0362c;
    --chart-grid: #e7eaee;
}

html { font-size: 16px; scroll-behavior: smooth; }
html, body, button, input, select, textarea, .btn, .table { font-family: var(--zp-font) !important; }
body { min-width: 320px; background: var(--zp-canvas); color: var(--zp-ink-800); font-size: 13px; line-height: 1.55; text-rendering: optimizeLegibility; }
a { color: #765a00; text-underline-offset: 2px; }
a:hover, a:focus { color: var(--zp-ink-950); }
::selection { background: #ffe48b; color: var(--zp-ink-950); }

.skip-link { position: fixed; z-index: 100000; top: 10px; left: 10px; transform: translateY(-160%); padding: 10px 14px; border-radius: var(--zp-radius-sm); background: var(--zp-ink-950); color: #fff; font-weight: 700; transition: transform var(--zp-fast); }
.skip-link:focus { transform: none; color: #fff; outline: 3px solid var(--zp-gold); }
.sr-only-focusable:focus { clip: auto; width: auto; height: auto; }
:focus-visible { outline: 3px solid rgba(229, 170, 0, .58); outline-offset: 2px; }

/* Application shell */
.app-sidebar { width: var(--zp-sidebar); background: linear-gradient(180deg, #15171a 0%, #0d0f11 100%); border-right: 1px solid #292d32; box-shadow: 10px 0 34px rgba(16, 18, 21, .14); }
.app-main { margin-left: var(--zp-sidebar); }
.brand { min-height: 112px; padding: 16px 22px; border-bottom-color: rgba(255,255,255,.08); }
.brand-logo { width: 188px; max-height: 64px; padding: 5px 8px; border-radius: 9px; background: #fff; object-fit: contain; }
.sidebar-context { margin: 14px 14px 6px; padding: 12px 13px; border: 1px solid #30343a; border-radius: var(--zp-radius); background: #1c1f23; }
.sidebar-context span { color: #aab1ba; font-size: 10px; letter-spacing: .1em; }
.sidebar-context strong { margin-top: 4px; color: #fff; font-size: 12px; }
.side-nav { padding: 4px 11px 18px; scrollbar-width: thin; scrollbar-color: #3c4148 transparent; }
.nav-section { padding: 17px 12px 7px; color: #848d98; font-size: 10px; letter-spacing: .09em; }
.side-nav a { min-height: 42px; margin: 2px 0; padding: 10px 12px; border-radius: 9px; color: #c6cbd2; font-size: 12px; font-weight: 550; }
.side-nav a i { color: #aeb5be; }
.side-nav a:hover, .side-nav a:focus { background: #24282d; color: #fff; }
.side-nav a.active, .side-nav a.current { background: linear-gradient(90deg, var(--zp-gold), #f0bd28); color: #111; box-shadow: inset 3px 0 #fff0b4, 0 7px 16px rgba(229,170,0,.14); }
.side-nav a.active i, .side-nav a.current i { color: #111; }
.side-nav .submenu { padding-left: 42px; }
.side-nav .submenu a { min-height: 34px; padding: 7px 10px; color: #aeb5be; font-size: 11px; }
.side-nav .submenu a:hover, .side-nav .submenu a:focus { color: #ffe089; }
.sidebar-help { margin: 10px 14px 18px; padding: 12px; border: 1px solid #30343a; border-radius: var(--zp-radius); background: #1c1f23; }
.sidebar-help strong { font-size: 11px; }.sidebar-help small { color: #aeb5be; font-size: 10px; }

/* Professional application sidenav */
.app-sidebar { isolation: isolate; overflow: hidden; background: radial-gradient(circle at 15% 8%,rgba(229,170,0,.09),transparent 24%),linear-gradient(180deg,#16191d 0%,#0c0e11 68%,#090b0d 100%); border-right-color: #282c31; box-shadow: 12px 0 38px rgba(8,10,12,.2); }
.app-sidebar:before { position: absolute; z-index: -1; top: 0; right: 0; width: 1px; height: 100%; background: linear-gradient(180deg,rgba(255,215,96,.24),rgba(255,255,255,.03) 34%,transparent 82%); content: ""; pointer-events: none; }
.app-sidebar .brand { position: relative; flex: 0 0 auto; min-height: 106px; padding: 17px 20px; border-bottom: 1px solid rgba(255,255,255,.075); background: rgba(8,10,12,.18); }
.app-sidebar .brand:after { position: absolute; right: 20px; bottom: -1px; left: 20px; height: 1px; background: linear-gradient(90deg,transparent,rgba(229,170,0,.36),transparent); content: ""; }
.app-sidebar .brand-logo { width: 190px; max-width: 100%; max-height: 66px; padding: 6px 9px; border: 1px solid rgba(255,255,255,.62); border-radius: 11px; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.app-sidebar .sidebar-context { position: relative; display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 11px; margin: 15px 12px 7px; padding: 12px; border: 1px solid #343940; border-radius: 14px; background: linear-gradient(145deg,rgba(255,255,255,.07),rgba(255,255,255,.025)); box-shadow: inset 0 1px rgba(255,255,255,.035),0 8px 20px rgba(0,0,0,.13); }
.sidebar-context-icon { display: grid !important; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: linear-gradient(145deg,#f2bc18,#d99d00); color: #121416 !important; font-size: 15px !important; letter-spacing: 0 !important; box-shadow: 0 7px 16px rgba(229,170,0,.18); }
.sidebar-context-copy { min-width: 0; }.app-sidebar .sidebar-context-copy > span { display: block; color: #9da6b1; font-size: 8px; font-weight: 750; letter-spacing: .105em; line-height: 1.3; }.app-sidebar .sidebar-context-copy > strong { display: block; margin-top: 4px; color: #fff; font-size: 10.5px; font-weight: 680; line-height: 1.35; overflow-wrap: anywhere; }
.sidebar-secure-indicator { position: relative; display: block !important; width: 8px; height: 8px; border-radius: 50%; background: #28c490; box-shadow: 0 0 0 4px rgba(40,196,144,.11); }.sidebar-secure-indicator:after { position: absolute; inset: -4px; border: 1px solid rgba(40,196,144,.22); border-radius: inherit; content: ""; }
.app-sidebar .side-nav { padding: 5px 10px 20px; scrollbar-color: #3f454d transparent; }
.app-sidebar .nav-section { display: flex; align-items: center; gap: 9px; padding: 20px 9px 8px; color: #858e9a; font-size: 8.5px; font-weight: 800; letter-spacing: .115em; line-height: 1; }.app-sidebar .nav-section:after { height: 1px; flex: 1; background: linear-gradient(90deg,#343940,transparent); content: ""; }
.app-sidebar .side-nav > a,.app-sidebar .nav-group > .nav-toggle { display: flex; min-height: 47px; align-items: center; gap: 10px; margin: 3px 0; padding: 7px 9px; border: 1px solid transparent; border-radius: 12px; color: #bbc1c9; font-size: 12px; font-weight: 610; line-height: 1.3; transition: color var(--zp-fast),background-color var(--zp-fast),border-color var(--zp-fast),transform var(--zp-fast),box-shadow var(--zp-fast); }
.app-sidebar .side-nav > a > span,.app-sidebar .nav-group > .nav-toggle > span { min-width: 0; flex: 1; }
.app-sidebar .side-nav > a > i:first-child,.app-sidebar .nav-group > .nav-toggle > i:first-child { display: grid; width: 31px; height: 31px; flex: 0 0 31px; place-items: center; margin: 0; border: 1px solid rgba(255,255,255,.055); border-radius: 9px; background: rgba(255,255,255,.045); color: #aeb6c0; font-size: 13px; transition: color var(--zp-fast),background-color var(--zp-fast),border-color var(--zp-fast),transform var(--zp-fast); }
.app-sidebar .side-nav > a:hover,.app-sidebar .side-nav > a:focus,.app-sidebar .nav-group > .nav-toggle:hover,.app-sidebar .nav-group > .nav-toggle:focus { transform: translateX(2px); border-color: rgba(255,255,255,.065); background: rgba(255,255,255,.07); color: #fff; box-shadow: none; }
.app-sidebar .side-nav > a:hover > i:first-child,.app-sidebar .side-nav > a:focus > i:first-child,.app-sidebar .nav-group > .nav-toggle:hover > i:first-child,.app-sidebar .nav-group > .nav-toggle:focus > i:first-child { border-color: rgba(229,170,0,.26); background: rgba(229,170,0,.11); color: #f0bd28; }
.app-sidebar .side-nav > a.active,.app-sidebar .side-nav > a.current,.app-sidebar .nav-group > .nav-toggle.active,.app-sidebar .nav-group > .nav-toggle.current { transform: none; border-color: #f3c033; background: linear-gradient(135deg,#f6c323 0%,#e4a700 100%); color: #151719; box-shadow: 0 9px 22px rgba(229,170,0,.2),inset 0 1px rgba(255,255,255,.42); font-weight: 720; }
.app-sidebar .side-nav > a.active > i:first-child,.app-sidebar .side-nav > a.current > i:first-child,.app-sidebar .nav-group > .nav-toggle.active > i:first-child,.app-sidebar .nav-group > .nav-toggle.current > i:first-child { border-color: rgba(20,22,24,.08); background: rgba(20,22,24,.09); color: #151719; }
.app-sidebar .nav-chevron { display: grid; width: 24px !important; height: 24px; flex: 0 0 24px; place-items: center; margin-left: auto !important; border-radius: 7px; background: rgba(255,255,255,.04); color: #8f98a3 !important; font-size: 8px !important; }.app-sidebar .nav-toggle.active .nav-chevron,.app-sidebar .nav-toggle.current .nav-chevron { background: rgba(20,22,24,.09); color: #151719 !important; }
.app-sidebar .side-nav .submenu { position: relative; margin: 3px 0 7px 24px; padding: 4px 0 4px 17px; }.app-sidebar .side-nav .submenu:before { position: absolute; top: 4px; bottom: 5px; left: 0; width: 1px; background: linear-gradient(180deg,rgba(229,170,0,.5),#33383f); content: ""; }
.app-sidebar .side-nav .submenu a { position: relative; min-height: 34px; margin: 2px 0; padding: 7px 9px; border: 0; border-radius: 8px; background: transparent; color: #929ba6; font-size: 10.5px; font-weight: 570; box-shadow: none; }.app-sidebar .side-nav .submenu a:before { position: absolute; top: 50%; left: -20px; width: 7px; height: 7px; margin: -3px 0 0; border: 2px solid #4e555e; background: #15181c; content: ""; }
.app-sidebar .side-nav .submenu a:hover,.app-sidebar .side-nav .submenu a:focus { transform: none; background: rgba(255,255,255,.055); color: #fff; }.app-sidebar .side-nav .submenu a.current { transform: none; background: rgba(229,170,0,.1); color: #f2c64b; font-weight: 680; }.app-sidebar .side-nav .submenu a.current:before { border-color: #e5aa00; background: #e5aa00; box-shadow: 0 0 0 4px rgba(229,170,0,.1); }
.app-sidebar .sidebar-help { flex: 0 0 auto; margin: 10px 12px 16px; padding: 12px; border-color: #33383f; border-radius: 13px; background: linear-gradient(145deg,#1b1f24,#14171b); box-shadow: 0 8px 18px rgba(0,0,0,.12); }.app-sidebar .sidebar-help > i { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 10px; background: var(--zp-gold-soft); color: #8a6500; font-size: 14px; }.app-sidebar .sidebar-help strong { color: #f2f4f6; font-size: 10.5px; }.app-sidebar .sidebar-help small { margin-top: 2px; color: #8f98a3; font-size: 9px; }

.app-header { height: 68px; z-index: var(--zp-header-z); padding: 0 clamp(16px, 2vw, 32px); border-bottom: 1px solid var(--zp-border); background: rgba(255,255,255,.94); box-shadow: 0 1px 8px rgba(16,24,40,.04); }
.global-search { width: min(480px, 42vw); min-height: 42px; padding: 9px 14px; border: 1px solid var(--zp-border); border-radius: 11px; background: var(--zp-surface-subtle); }
.global-search:focus-within { border-color: var(--zp-gold); background: #fff; box-shadow: var(--zp-focus); }
.global-search input { font-size: 13px; }
.icon-button { width: 40px; height: 40px; border-color: var(--zp-border); border-radius: 10px; color: var(--zp-ink-600); }
.icon-button:hover, .icon-button:focus { border-color: #d8b13a; background: var(--zp-gold-soft); color: var(--zp-ink-950); box-shadow: var(--zp-shadow-sm); }
.profile-button { min-height: 44px; border-radius: 11px; }
.profile-button:hover, .profile-button:focus { background: var(--zp-surface-subtle); }
.avatar { width: 38px; height: 38px; border-radius: 10px; background: var(--zp-ink-950); color: #ffd75c; }
.profile-copy strong { font-size: 12px; }.profile-copy small { font-size: 10px; }
.dropdown-menu { padding: 7px; border: 1px solid var(--zp-border); border-radius: var(--zp-radius); box-shadow: var(--zp-shadow-lg); }
.dropdown-menu > li > a, .logout-button { min-height: 38px; padding: 9px 11px; border-radius: 8px; font-size: 12px; }

.page-bar { min-height: 78px; padding: 17px clamp(16px, 2.2vw, 36px); border-bottom-color: var(--zp-border); background: #fff; }
.page-bar h1 { margin-bottom: 5px; color: var(--zp-ink-950); font-size: clamp(19px, 1.6vw, 23px); font-weight: 750; letter-spacing: -.02em; }
.breadcrumb { font-size: 11px; }.breadcrumb > li + li:before { color: #a0a7b0; }.breadcrumb a { color: var(--zp-ink-600); }
.page-date { padding: 8px 11px; border-color: var(--zp-border); border-radius: 9px; color: var(--zp-ink-600); font-size: 11px; }
.page-content { width: 100%; max-width: 1920px; padding: clamp(18px, 2vw, 32px) clamp(16px, 2.2vw, 36px) 44px; }
.app-footer { padding: 18px clamp(16px, 2.2vw, 36px); border-color: var(--zp-border); color: var(--zp-ink-500); font-size: 11px; }

/* Type and reusable surfaces */
.page-head { gap: 18px; margin-bottom: 22px; }
.page-head h1 { color: var(--zp-ink-950); font-size: clamp(22px, 2vw, 29px); font-weight: 760; letter-spacing: -.025em; }
.page-head p { max-width: 820px; margin-top: 6px; color: var(--zp-ink-600); font-size: 13px; }
.page-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.card, .panel, .stat-card, .data-card, .filter-bar, .verification-card, .user-editor-card { border: 1px solid var(--zp-border); border-radius: var(--zp-radius-lg); background: var(--zp-surface); box-shadow: var(--zp-shadow-sm); }
.panel, .data-card { overflow: hidden; }
.panel-default > .panel-heading, .card-head, .data-card-title { min-height: 60px; padding: 17px 20px; border-bottom: 1px solid var(--zp-border); background: #fff; color: var(--zp-ink-900); font-size: 13px; font-weight: 700; }
.panel-heading i, .data-card-title i { color: #8a6800; }.panel-body { padding: 20px; }
.data-card-title h3 { font-size: 15px; }.data-card-title p { margin-top: 4px; color: var(--zp-ink-600); font-size: 11px; }
.data-card-body { padding: 0 20px 20px; }

.executive-hero { min-height: 136px; padding: 28px 30px; border: 1px solid #2b2f34; border-radius: var(--zp-radius-lg); background: radial-gradient(circle at 86% 24%, rgba(229,170,0,.19), transparent 22%), linear-gradient(118deg,#111315,#25292e); box-shadow: var(--zp-shadow); }
.executive-hero:after { border-color: rgba(229,170,0,.10); }
.dashboard-wordmark p { margin: 0 0 7px; color: #fff; font-size: clamp(19px, 2vw, 27px); font-weight: 750; letter-spacing: -.02em; }
.dashboard-wordmark small { max-width: 760px; color: #c9ced4; font-size: 12px; line-height: 1.65; }
.hero-meta span { color: #aeb5be; font-size: 10px; }.hero-meta strong { color: #fff; font-size: 12px; }

.stat-card { min-height: 142px; padding: 22px 21px; transition: transform var(--zp-fast), box-shadow var(--zp-fast), border-color var(--zp-fast); }
.stat-card:hover { transform: translateY(-2px); border-color: var(--zp-border-strong); box-shadow: var(--zp-shadow); }
.stat-card:before { width: 4px; border-radius: 0 4px 4px 0; background: var(--zp-emerald); }
.stat-card.warn:before { background: var(--zp-amber); }.stat-card.danger:before { background: var(--zp-red); }
.stat-card .value { color: var(--zp-ink-950); font-size: clamp(28px, 2.4vw, 36px); font-weight: 760; letter-spacing: -.04em; }
.stat-card .label { margin-top: 9px; color: var(--zp-ink-700); font-size: 12px; font-weight: 650; }
.metric-note { margin-top: 6px; color: var(--zp-ink-500); font-size: 10px; line-height: 1.45; }
.stat-icon { top: 19px; right: 19px; width: 42px; height: 42px; border-radius: 12px; background: var(--zp-emerald-soft); color: var(--zp-emerald); font-size: 16px; }
.warn .stat-icon { background: var(--zp-amber-soft); color: var(--zp-amber); }.danger .stat-icon { background: var(--zp-red-soft); color: var(--zp-red); }

/* Buttons, controls and validation */
.btn { min-height: 40px; padding: 9px 15px; border-radius: 9px; font-size: 12px; font-weight: 650; line-height: 20px; transition: transform var(--zp-fast), box-shadow var(--zp-fast), background-color var(--zp-fast), border-color var(--zp-fast); }
.btn:hover { transform: translateY(-1px); }.btn:active { transform: none; }.btn i { margin-right: 6px; }
.btn-primary, .btn-warning { border-color: var(--zp-gold); background: var(--zp-gold); color: #111; }
.btn-primary:hover, .btn-primary:focus, .btn-warning:hover, .btn-warning:focus { border-color: var(--zp-gold-hover) !important; background: var(--zp-gold-hover) !important; color: #111 !important; box-shadow: 0 7px 18px rgba(229,170,0,.22); }
.btn-default, .btn-outline { border-color: var(--zp-border-strong); background: #fff; color: var(--zp-ink-700); }
.btn-default:hover, .btn-default:focus, .btn-outline:hover, .btn-outline:focus { border-color: var(--zp-ink-700); background: var(--zp-ink-900); color: #fff; }
.btn-success { border-color: var(--zp-emerald); background: var(--zp-emerald); }.btn-danger { border-color: var(--zp-red); background: var(--zp-red); }
.btn-link, .btn-ghost { border-color: transparent; background: transparent; color: var(--zp-ink-700); box-shadow: none; }
.btn[disabled], .btn.disabled { transform: none; opacity: .55; box-shadow: none; cursor: not-allowed; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading:after { content: ""; position: absolute; inset: 0; width: 17px; height: 17px; margin: auto; border: 2px solid rgba(17,17,17,.26); border-top-color: #111; border-radius: 50%; animation: zp-spin .65s linear infinite; }
.btn-danger.is-loading:after, .btn-success.is-loading:after, .btn-default:hover.is-loading:after { border-color: rgba(255,255,255,.35); border-top-color: #fff; }
.btn-xs { min-height: 32px; padding: 5px 10px; font-size: 11px; }.btn-sm { min-height: 36px; padding: 7px 12px; }
.action-button { width: 34px; height: 34px; border-color: var(--zp-border); border-radius: 8px; color: var(--zp-ink-600); }
.action-button:hover, .action-button:focus { border-color: #d5ad34; background: var(--zp-gold-soft); color: var(--zp-ink-950); box-shadow: var(--zp-shadow-sm); }

label { margin-bottom: 6px; color: var(--zp-ink-700); font-size: 12px; font-weight: 650; }
.form-group { margin-bottom: 18px; }
.form-control { width: 100%; max-width: none; height: 44px; padding: 10px 12px; border: 1px solid var(--zp-border-strong); border-radius: 9px; background: #fff; color: var(--zp-ink-900); font-size: 13px; box-shadow: none; transition: border-color var(--zp-fast), box-shadow var(--zp-fast), background-color var(--zp-fast); }
textarea.form-control { min-height: 108px; height: auto; resize: vertical; line-height: 1.55; }
select.form-control { padding-right: 34px; }
.form-control:hover { border-color: #aeb6c0; }.form-control:focus { border-color: var(--zp-gold); box-shadow: var(--zp-focus); }
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { border-color: #e2e6ea; background: #f2f4f6; color: #69737e; cursor: not-allowed; }
.form-control::placeholder { color: #9099a5; opacity: 1; }
.enterprise-field-wrap { position: relative; display: block; }
.enterprise-field-wrap > .field-icon { position: absolute; z-index: 2; left: 13px; top: 50%; width: 17px; transform: translateY(-50%); color: #7b8591; text-align: center; pointer-events: none; }
.enterprise-field-wrap > .form-control { padding-left: 40px; }
.enterprise-field-wrap.has-toggle > .form-control { padding-right: 47px; }
.enterprise-field-wrap.textarea-icon > .field-icon { top: 16px; transform: none; }
.password-toggle { top: 6px; right: 7px; width: 34px; height: 32px; border-radius: 7px; }
.field-help, .help-block, .password-guidance { display: block; margin-top: 6px; color: var(--zp-ink-500); font-size: 11px; line-height: 1.45; }
.field-validation-error { display: block; margin-top: 6px; color: var(--zp-red); font-size: 11px; font-weight: 600; }
.input-validation-error { border-color: var(--zp-red) !important; background: #fffafa; }.input-validation-error:focus { box-shadow: 0 0 0 3px rgba(180,35,24,.14); }
.validation-summary-errors { margin-bottom: 18px; padding: 13px 15px; border: 1px solid #f4bbb7; border-left: 4px solid var(--zp-red); border-radius: 10px; background: var(--zp-red-soft); color: #8f1b14; }
.filter-bar { padding: 17px; margin-bottom: 20px; }.filter-bar .form-group:last-child { margin-bottom: 0; }

/* Tables and DataTables */
.table-responsive { width: 100%; border: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { color: var(--zp-ink-800); font-size: 12px; }
.table > thead > tr > th { top: 0; z-index: 2; padding: 13px 12px; border: 0; border-bottom: 1px solid var(--zp-border-strong); background: #f3f5f7; color: var(--zp-ink-600); font-size: 10px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; white-space: nowrap; }
.table > tbody > tr > td { padding: 13px 12px; border-top: 1px solid #eaedf0; font-size: 12px; line-height: 1.45; vertical-align: middle; }
.table-hover > tbody > tr { transition: background-color var(--zp-fast); }.table-hover > tbody > tr:hover { background: #fffaf0; }
.table > tbody > tr:focus-within { background: #fffaf0; box-shadow: inset 3px 0 var(--zp-gold); }
.directory-split-table { min-width: 1180px; table-layout: auto; }
.directory-split-table > thead > tr > th i { width: 16px; margin-right: 6px; color: #9a7100; text-align: center; }
.directory-split-table > tbody > tr > td { vertical-align: top !important; }
.directory-split-table .licensee-row-start > td { border-top-color: #d8dde3; }
.directory-split-table .licensee-row-continuation > td { border-top-style: dashed; border-top-color: #e2e6ea; }
.directory-licensee-cell { min-width: 210px; }
.directory-licensee-cell > a { display: flex; align-items: center; gap: 10px; color: var(--zp-ink-950); line-height: 1.4; text-decoration: none; }
.directory-licensee-cell > a:hover strong,.directory-licensee-cell > a:focus strong { color: #8a6500; text-decoration: underline; }
.directory-cell-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--zp-gold-soft); color: #8a6500; }
.directory-value,.directory-subvalue,.directory-licence-number { display: block; }
.directory-value { color: var(--zp-ink-800); font-size: 13px; font-weight: 600; white-space: nowrap; }
.directory-value i { width: 15px; margin-right: 5px; color: var(--zp-ink-500); text-align: center; }
.directory-subvalue { margin: 4px 0 0 20px; color: var(--zp-ink-500); font-size: 11px; }
.directory-licence-number { min-width: 128px; color: var(--zp-ink-950); font-size: 13px; font-weight: 750; white-space: nowrap; }
.directory-licence-number i { margin-right: 6px; color: #9a7100; }
.directory-category { min-width: 190px; white-space: normal; line-height: 1.45; }.directory-category i { color: #9a7100; }
.directory-expiry { min-width: 126px; }.directory-alerts { display: grid; min-width: 160px; gap: 6px; }
.directory-alerts .reg-flag { width: fit-content; margin: 0; white-space: normal; }.directory-clear { display: inline-flex; align-items: center; gap: 6px; color: #087f5b; font-size: 11px; font-weight: 650; }
.directory-split-table .btn { white-space: nowrap; }
.directory-split-table .directory-sort-link { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; white-space: nowrap; }
.directory-split-table .directory-sort-link:hover,.directory-split-table .directory-sort-link:focus { color: #8a6700; text-decoration: none; }
.directory-split-table .directory-sort-order { padding: 2px 6px; border-radius: 999px; background: var(--zp-gold-soft); color: #805d00; font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.directory-split-table .directory-sort-direction { color: #a77d00; font-size: 11px; }
.table-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 17px 0 13px; }
.table-toolbar .dt-buttons { display: flex; flex-wrap: wrap; gap: 6px; }.table-toolbar .dt-buttons .btn { margin: 0 !important; }
.dataTables_filter { position: relative; }.dataTables_filter:before { content: "\f002"; position: absolute; z-index: 2; top: 12px; left: 12px; color: #7b8591; font: 900 12px/1 "Font Awesome 6 Free"; pointer-events: none; }
.dataTables_filter input { width: 260px !important; height: 40px !important; padding: 8px 12px 8px 34px !important; border-color: var(--zp-border-strong) !important; border-radius: 9px !important; background: #fff !important; font-size: 12px !important; }
.dataTables_filter input:focus { border-color: var(--zp-gold) !important; box-shadow: var(--zp-focus) !important; }
.table-footer { padding-top: 16px; color: var(--zp-ink-500); font-size: 11px; }
.dataTables_length select { min-height: 34px; border-color: var(--zp-border-strong); border-radius: 8px; background: #fff; }
.pagination > li > a, .pagination > li > span { min-width: 34px; min-height: 34px; margin: 0 2px; padding: 7px 10px; border: 1px solid transparent; border-radius: 8px !important; color: var(--zp-ink-600); font-size: 11px; text-align: center; }
.pagination > li > a:hover, .pagination > li > a:focus { border-color: var(--zp-border); background: #fff; color: var(--zp-ink-950); }
.pagination > .active > a, .pagination > .active > a:hover, .pagination > .active > span { border-color: var(--zp-gold); background: var(--zp-gold); color: #111; }

/* Status, alerts, dialogs and state feedback */
.badge, .reg-badge, .reg-status, .pp-status { display: inline-flex; align-items: center; gap: 5px; min-height: 25px; padding: 5px 9px; border-radius: 999px; font-size: 10px; font-weight: 700; line-height: 1.2; }
.badge-valid, .badge-active, .badge-approved, .badge-synced, .reg-status.active, .reg-badge.live { background: var(--zp-emerald-soft); color: #066548; }
.badge-expired, .badge-revoked { background: var(--zp-neutral-soft); color: #505a66; }
.badge-failed, .badge-danger, .reg-status.revoked { background: var(--zp-red-soft); color: var(--zp-red); }
.badge-pending, .badge-draft, .badge-awaiting-review, .badge-submitted, .reg-status.suspended, .reg-status.expired { background: var(--zp-amber-soft); color: #805600; }
.badge-info, .badge-in-progress { background: var(--zp-blue-soft); color: #1f55bd; }
.alert, .reg-alert { padding: 14px 16px; border-radius: var(--zp-radius); font-size: 12px; line-height: 1.5; box-shadow: var(--zp-shadow-sm); }
.alert-success { border: 1px solid #bce5d5; background: var(--zp-emerald-soft); color: #075c43; }.alert-danger { border: 1px solid #f2bbb6; background: var(--zp-red-soft); color: #8e1e17; }
.modal-backdrop.in { opacity: .58; }.modal-content { border: 0; border-radius: var(--zp-radius-lg); box-shadow: var(--zp-shadow-lg); }.modal-header { padding: 19px 22px; }.modal-title { font-size: 18px; }.modal-body { padding: 22px; }.modal-footer { padding: 15px 22px; }
.tooltip-inner { max-width: 280px; padding: 7px 10px; border-radius: 7px; background: var(--zp-ink-950); font-family: var(--zp-font); font-size: 11px; }
.nav-pills > li > a, .nav-tabs > li > a { min-height: 40px; border-radius: 9px; color: var(--zp-ink-600); font-size: 12px; font-weight: 600; }
.nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-tabs > li.active > a { background: var(--zp-ink-900); color: #fff; }
.empty-state, .reg-empty { padding: 42px 20px; color: var(--zp-ink-500); font-size: 12px; }.empty-state i, .reg-empty i { color: #a1a9b3; }
.empty-state h3 { margin: 12px 0 7px; color: var(--zp-ink-900); font-size: 17px; }
.app-preloader { background: rgba(247,248,250,.98); }.preloader-ring { border-color: #e3e6e9; border-top-color: var(--zp-gold); }
.skeleton { min-height: 16px; border-radius: 6px; background: linear-gradient(90deg,#eef0f3 25%,#f8f9fa 50%,#eef0f3 75%); background-size: 200% 100%; animation: zp-shimmer 1.35s infinite; }
.is-loading-value { display: inline-block; min-width: 112px; min-height: 25px; border-radius: 7px; color: transparent !important; background: linear-gradient(90deg,#eceff2 25%,#f8f9fa 50%,#eceff2 75%); background-size: 200% 100%; animation: zp-shimmer 1.35s infinite; }
.value.is-healthy { color: var(--zp-emerald) !important; }.value.is-unavailable { color: var(--zp-red) !important; }

/* Charts and reporting */
.reg-chart, .chart-surface { position: relative; min-height: 260px; }
.reg-chart canvas, .chart-surface canvas { max-width: 100%; }
.reg-legend { gap: 16px; color: var(--zp-ink-600); font-size: 12px; }.reg-table { font-size: 12px; }
.reg-table th { padding: 9px 8px; color: var(--zp-ink-600); }.reg-table td { padding: 9px 8px; }
.reg-sector-grid { gap: 18px; }.reg-sector { min-height: 184px; padding: 20px; border-color: var(--zp-border); border-radius: var(--zp-radius-lg); box-shadow: var(--zp-shadow-sm); transition: transform var(--zp-fast), box-shadow var(--zp-fast), border-color var(--zp-fast); }
a.reg-sector:hover, a.reg-sector:focus { transform: translateY(-2px); border-color: #d9af31; box-shadow: var(--zp-shadow); }.reg-sector h3 { font-size: 15px; }.reg-sector .reg-sector-value { font-size: clamp(25px,2vw,32px); }.reg-sector p { color: var(--zp-ink-600); font-size: 12px; line-height: 1.55; }
.reg-kv { gap: 16px 24px; }.reg-kv > div { padding: 13px 14px; border: 1px solid #eaedf0; border-radius: 10px; background: #fafbfc; }.reg-kv dt { color: var(--zp-ink-500); font-size: 11px; }.reg-kv dd { margin-top: 5px; font-size: 12px; }
.reg-definitions { color: var(--zp-ink-500); font-size: 11px; line-height: 1.6; }

/* Public and authentication surfaces */
.login-page { font-family: var(--zp-font); }.login-frame { border-radius: 22px; box-shadow: 0 26px 70px rgba(16,24,40,.16); }.login-showcase-copy h1 { font-size: clamp(32px,4vw,43px); }.login-showcase-copy p, .login-access .subtitle { font-size: 13px; }.login-access label { font-size: 12px; }.login-input .form-control { height: 48px; font-size: 13px; }.login-options label, .login-options > span, .secure-note, .login-footer { font-size: 10px !important; }
.public-shell, .public-register-page { min-height: 100vh; background: var(--zp-canvas); color: var(--zp-ink-800); font-family: var(--zp-font); }
.public-header, .pp-top { min-height: 76px; padding: 13px clamp(15px,3vw,42px); border-bottom: 1px solid var(--zp-border); background: rgba(255,255,255,.97); }
.public-hero, .pp-hero { padding: clamp(30px,5vw,58px) clamp(16px,3vw,44px) 72px; background: radial-gradient(circle at 88% 20%, rgba(229,170,0,.18), transparent 24%), linear-gradient(120deg,#111315,#292d32); }
.public-hero h1, .pp-hero h1 { font-size: clamp(27px,4vw,44px); letter-spacing: -.035em; }.public-hero p, .pp-hero p { color: #d2d6dc; font-size: 13px; }
.pp-content { max-width: 1760px; margin: -38px auto 42px; padding: 0 clamp(14px,2.5vw,36px); }.pp-kpis { gap: 16px; }.pp-kpi { padding: 20px; border-color: var(--zp-border); border-radius: 15px; box-shadow: var(--zp-shadow-sm); }.pp-kpi strong { font-size: 30px; }.pp-kpi span { color: var(--zp-ink-600); font-size: 11px; }.pp-card { border-color: var(--zp-border); border-radius: var(--zp-radius-lg); box-shadow: var(--zp-shadow-sm); }.pp-filter { gap: 12px; padding: 20px; background: #fafbfc; }.pp-filter label { font-size: 11px; }.pp-table th { font-size: 10px; }.pp-note { color: var(--zp-ink-600); font-size: 11px; }
.maintenance-page { display: grid; min-height: 100vh; place-items: center; padding: 22px; background: var(--zp-canvas); font-family: var(--zp-font); }.maintenance-card { width: min(660px,100%); margin: 0; padding: 34px 30px; border: 1px solid var(--zp-border); border-radius: var(--zp-radius-lg); background: #fff; box-shadow: var(--zp-shadow); }

@keyframes zp-spin { to { transform: rotate(360deg); } }
@keyframes zp-shimmer { to { background-position: -200% 0; } }

/* Responsive contract: 360/390 mobile, 768 tablet, 1024 laptop, wide desktop. */
@media (max-width: 1199px) {
    :root { --zp-sidebar: 244px; }
    .page-content { padding-left: 22px; padding-right: 22px; }
    .profile-copy { display: none; }
    .pp-filter { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 1023px) {
    :root { --zp-sidebar: 272px; }
    .app-sidebar { transform: translateX(-100%); }
    .app-main { margin-left: 0; }
    .mobile-toggle { display: grid; }
    .sidebar-open { overflow: hidden; }.sidebar-open .app-sidebar { transform: translateX(0); }.sidebar-open .sidebar-backdrop { display: block; position: fixed; z-index: 1035; inset: 0; background: rgba(8,10,12,.62); backdrop-filter: blur(2px); }
    .global-search { width: min(470px,58vw); }
    .reg-sector-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    body { font-size: 13px; }
    .app-header { height: 62px; padding: 0 12px; }.global-search { flex: 1; width: auto; }.global-search input { font-size: 12px; }.header-tools { gap: 4px; }
    .page-bar { min-height: 68px; padding: 13px 15px; }.page-date { display: none; }.page-content { padding: 16px 14px 34px; }
    .page-head { display: block; }.page-actions { margin-top: 13px; }.page-actions .btn { flex: 1 1 auto; }
    .executive-hero { display: block; padding: 23px 20px; }.hero-meta { margin-top: 18px; }.dashboard-hero-actions { display: flex; flex-wrap: wrap; }
    .stat-card { min-height: 128px; }.panel-body { padding: 16px; }.data-card-body { padding: 0 14px 16px; }
    .table-toolbar, .table-footer { display: block; }.dataTables_filter { margin-top: 10px !important; text-align: left !important; }.dataTables_filter input { width: 100% !important; }
    .table > thead > tr > th, .table > tbody > tr > td { padding: 11px 10px; }
    .notification-dropdown { position: fixed; top: 58px; right: 10px; width: calc(100vw - 20px); max-width: 380px; }
    .app-footer { display: block; }.app-footer span { display: block; margin: 4px 0; }
    .verification-layout { grid-template-columns: 1fr; }.verification-detail-grid { grid-template-columns: 1fr 1fr; }.permit-record-grid { grid-template-columns: 1fr 1fr; }
    .pp-content { margin-top: -34px; }.pp-kpis { grid-template-columns: 1fr; }.pp-filter { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 479px) {
    .global-search { padding: 8px 10px; }.global-search input { min-width: 0; }.header-tools .icon-button { display: none; }.profile-button { margin-left: 0; }.avatar { width: 36px; height: 36px; }
    .page-bar h1 { font-size: 18px; }.breadcrumb { font-size: 10px; }
    .btn { width: 100%; }.action-button, .icon-button, .profile-button, .table-toolbar .btn, .pagination a { width: auto; }
    .page-actions, .verification-result-actions { display: grid; grid-template-columns: 1fr; }
    .verification-detail-grid, .permit-record-grid { grid-template-columns: 1fr; }.verification-detail-grid > div, .permit-record-grid > div { border-right: 0; }
    .reg-expiring { gap: 4px; }.reg-expiring strong { font-size: 17px; }
    .pp-filter { grid-template-columns: 1fr; }.pp-filter .btn { margin-top: 0; }
    .public-header, .pp-top { align-items: flex-start; flex-direction: column; }.pp-top img { width: 132px; }
}
@media (min-width: 1600px) {
    .page-content { padding-left: 42px; padding-right: 42px; }
    .stat-card { min-height: 148px; }.panel-body { padding: 23px; }
}

/* Full-width enterprise layout v2: deliberately overrides the original
   Bootstrap-era proportions while preserving its components and behaviours. */
:root { --zp-sidebar: 256px; --zp-content-gutter: clamp(18px,1.6vw,30px); }
body { overflow-x: hidden; font-size: 14px; line-height: 1.6; }
.app-shell { width: 100%; min-height: 100vh; }
.app-sidebar { width: var(--zp-sidebar); }
.app-main { width: calc(100% - var(--zp-sidebar)); min-width: 0; margin-left: var(--zp-sidebar); }
.page-content { width: 100%; max-width: none !important; margin: 0 !important; padding: 24px var(--zp-content-gutter) 48px; }
.page-content > .container,.page-content > .container-fluid,.page-content .container,.page-content .container-fluid { width: 100%; max-width: none !important; padding-left: 0; padding-right: 0; }
.page-content > *:not(.verification-shell):not(.verification-result-shell) { max-width: none; }
.data-card,.panel,.filter-bar,.report-surface,.settings-tabs,.user-editor-card { width: 100%; }
.table-responsive,.dataTables_wrapper,.table { width: 100% !important; max-width: none; }
.side-nav a { min-height: 44px; font-size: 13px; }
.page-bar { padding-left: var(--zp-content-gutter); padding-right: var(--zp-content-gutter); }
.page-bar h1 { font-size: 23px; }.breadcrumb,.page-date { font-size: 12px; }
.page-head { align-items: center; margin-bottom: 26px; }
.page-head h1 { font-size: clamp(28px,2.25vw,34px); font-weight: 780; letter-spacing: -.035em; }
.page-head p { max-width: 1080px; margin-top: 7px; font-size: 14px; line-height: 1.65; }
.page-actions { flex-wrap: wrap; align-items: center; }

.executive-hero { min-height: 178px; padding: 36px clamp(26px,2.5vw,44px); border-radius: 22px; background: radial-gradient(circle at 84% 18%,rgba(229,170,0,.24),transparent 24%),linear-gradient(118deg,#101214,#292d32); box-shadow: 0 18px 42px rgba(16,24,40,.14); }
.dashboard-wordmark p { margin: 0 0 9px; font-size: clamp(26px,2.4vw,38px); font-weight: 780; letter-spacing: -.04em; }
.dashboard-wordmark small { display: block; max-width: 920px; color: #d4d8de; font-size: 14px; line-height: 1.7; }
.hero-meta span { font-size: 11px; }.hero-meta strong { font-size: 14px; }

.equal-card-row { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 20px; width: 100%; margin: 0 0 20px; }
.equal-card-row:before,.equal-card-row:after { display: none; content: none; }
.equal-card-row > [class*="col-"] { display: flex; float: none; grid-column: span 12; width: auto; min-width: 0; padding: 0; }
.equal-card-row > [class*="col-"] > .panel,.equal-card-row > [class*="col-"] > .stat-card { width: 100%; height: 100%; margin: 0; }
.stat-card { min-height: 166px; margin: 0; padding: 26px 24px; border-radius: 18px; }
.stat-card .value { font-size: clamp(34px,2.7vw,44px); font-weight: 780; letter-spacing: -.05em; }
.stat-card .label { margin-top: 11px; font-size: 14px; font-weight: 680; }
.stat-icon { top: 22px; right: 22px; width: 48px; height: 48px; border-radius: 14px; font-size: 19px; }
.metric-note { margin-top: 8px; font-size: 12px; line-height: 1.5; }
.reg-expiring strong { font-size: 24px; }.reg-expiring span { font-size: 12px; }

.reg-sector-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.reg-sector { min-height: 220px; padding: 24px; border-radius: 20px; }
.reg-sector h3 { font-size: 18px; }.reg-sector .reg-sector-value { font-size: clamp(32px,2.4vw,42px); }.reg-sector p { font-size: 14px; line-height: 1.6; }
.reg-sector .reg-sector-icon { width: 46px; height: 46px; border-radius: 13px; font-size: 18px; }
.reg-section-title,.analytics-section-title { margin: 34px 0 16px; font-size: clamp(20px,1.7vw,26px); letter-spacing: -.02em; }

.panel-default > .panel-heading,.card-head,.data-card-title { min-height: 64px; padding: 18px 22px; font-size: 14px; }
.data-card-title h3 { font-size: 17px; }.data-card-title p { font-size: 13px; }
.panel-body { padding: 22px; }.data-card-body { padding: 0 22px 22px; }
.reg-chart,.chart-surface { width: 100%; min-height: 350px; }.reg-chart.tall { height: 410px; }
.analytics-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.85fr); gap: 20px; width: 100%; margin-bottom: 20px; }
.analytics-grid > .panel { height: 100%; margin: 0; }
.analytics-grid .chart-surface { min-height: 330px; }
.sector-jump-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; width: 100%; margin: 20px 0; }
.sector-jump-nav > a { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 13px; min-height: 74px; padding: 13px 16px; border: 1px solid var(--zp-border); border-radius: 16px; background: #fff; color: var(--zp-ink-900); box-shadow: var(--zp-shadow-sm); text-decoration: none; transition: transform var(--zp-fast),border-color var(--zp-fast),box-shadow var(--zp-fast); }
.sector-jump-nav > a:hover,.sector-jump-nav > a:focus { transform: translateY(-2px); border-color: #d5ad34; box-shadow: var(--zp-shadow); text-decoration: none; }
.sector-jump-nav strong,.sector-jump-nav small { display: block; }.sector-jump-nav strong { font-size: 15px; }.sector-jump-nav small { margin-top: 3px; color: var(--zp-ink-500); font-size: 12px; }
.sector-jump-icon,.sector-heading-icon { display: grid; place-items: center; flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; font-size: 18px; }
.sector-jump-icon.electricity,.electricity-group .sector-heading-icon { background: #e4f5ef; color: #087f5b; }
.sector-jump-icon.petroleum,.petroleum-group .sector-heading-icon { background: var(--zp-gold-soft); color: #8a6500; }
.sector-analytics-group { --sector-accent: #087f5b; width: 100%; margin: 0 0 28px; padding: 22px; scroll-margin-top: 88px; border: 1px solid var(--zp-border); border-top: 4px solid var(--sector-accent); border-radius: 22px; background: linear-gradient(180deg,rgba(8,127,91,.035),#fff 135px); box-shadow: var(--zp-shadow-sm); }
.sector-analytics-group.petroleum-group { --sector-accent: #d69b00; background: linear-gradient(180deg,rgba(229,170,0,.055),#fff 135px); }
.sector-group-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 0 0 20px; padding-bottom: 18px; border-bottom: 1px solid var(--zp-border); }
.sector-group-heading > div { display: flex; align-items: center; gap: 13px; min-width: 0; }.sector-group-heading small { display: block; margin-bottom: 2px; color: var(--sector-accent); font-size: 11px; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
.sector-group-heading h2 { margin: 0; color: var(--zp-ink-950); font-size: clamp(22px,1.8vw,28px); font-weight: 780; letter-spacing: -.03em; }
.sector-analytics-group .reg-section-title { margin-top: 28px; }
.chart-unavailable { display: grid; min-height: inherit; padding: 28px; place-items: center; border: 1px dashed #d7dce2; border-radius: 14px; background: #fafbfc; color: var(--zp-ink-600); text-align: center; }
.chart-unavailable i { display: block; margin-bottom: 10px; color: #b47d00; font-size: 28px; }.chart-unavailable strong,.chart-unavailable span { display: block; }.chart-unavailable strong { color: var(--zp-ink-900); font-size: 15px; }.chart-unavailable span { max-width: 420px; margin-top: 5px; font-size: 12px; line-height: 1.55; }
.expiry-window-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.expiry-window { padding: 18px; border: 1px solid var(--zp-border); border-radius: 14px; background: var(--zp-surface-subtle); }
.expiry-window strong,.expiry-window span { display: block; }.expiry-window strong { color: var(--zp-ink-950); font-size: 30px; }.expiry-window span { margin-top: 5px; color: var(--zp-ink-600); font-size: 12px; }

/* Regulatory overview: ZIRS synchronisation health */
.sync-health-panel { width: 100%; margin: 0 0 20px; overflow: hidden; border: 1px solid var(--zp-border); border-radius: 20px; background: var(--zp-surface); box-shadow: var(--zp-shadow-sm); }
.sync-health-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-bottom: 1px solid var(--zp-border); background: linear-gradient(135deg,#fff 0%,#fafbfc 70%,#fff8df 100%); }
.sync-health-heading { display: flex; align-items: center; gap: 14px; min-width: 0; }.sync-health-heading-icon { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border-radius: 14px; background: var(--zp-gold-soft); color: #8a6500; font-size: 18px; }
.sync-health-eyebrow { display: block; margin-bottom: 2px; color: #8a6500; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.sync-health-heading h2,.sync-run-heading h3 { margin: 0; color: var(--zp-ink-950); font-weight: 780; letter-spacing: -.025em; }.sync-health-heading h2 { font-size: 20px; }.sync-health-heading p { margin: 3px 0 0; color: var(--zp-ink-500); font-size: 12px; }
.sync-health-actions { display: flex; align-items: center; gap: 10px; }.sync-health-badge { display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 7px 11px; border-radius: 999px; font-size: 11px; font-weight: 750; white-space: nowrap; }.sync-health-badge.healthy { background: var(--zp-emerald-soft); color: #066548; }.sync-health-badge.review { background: var(--zp-amber-soft); color: #805d00; }.sync-health-badge.attention { background: var(--zp-red-soft); color: var(--zp-red); }
.sync-health-body { padding: 22px; }.sync-status-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.sync-status-card { display: flex; align-items: flex-start; gap: 12px; min-width: 0; min-height: 116px; padding: 17px; border: 1px solid var(--zp-border); border-radius: 15px; background: #fff; }.sync-status-icon { display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: var(--zp-neutral-soft); color: var(--zp-ink-600); }.sync-status-card.success .sync-status-icon,.sync-status-card.active .sync-status-icon { background: var(--zp-emerald-soft); color: var(--zp-emerald); }.sync-status-card.warning .sync-status-icon { background: var(--zp-amber-soft); color: var(--zp-amber); }
.sync-status-card > div { min-width: 0; }.sync-card-label { display: block; margin: 0 0 7px; color: var(--zp-ink-500); font-size: 10px; font-weight: 750; letter-spacing: .055em; text-transform: uppercase; }.sync-status-card strong,.sync-status-card small { display: block; }.sync-status-card > div > strong { overflow-wrap: anywhere; color: var(--zp-ink-950); font-size: 14px; line-height: 1.35; }.sync-status-card > div > small { margin-top: 5px; color: var(--zp-ink-500); font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
.sync-attention-copy { flex: 1; }.sync-attention-values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }.sync-attention-values > span + span { padding-left: 12px; border-left: 1px solid var(--zp-border); }.sync-attention-values strong { color: var(--zp-ink-950); font-size: 22px; line-height: 1; }.sync-attention-values small { margin-top: 6px; color: var(--zp-ink-500); font-size: 10px; line-height: 1.35; }
.sync-run-overview { margin-top: 16px; padding: 20px; border: 1px solid var(--zp-border); border-radius: 16px; background: var(--zp-surface-subtle); }.sync-run-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }.sync-run-heading h3 { font-size: 16px; }.sync-run-time { color: var(--zp-ink-500); font-size: 11px; white-space: nowrap; }
.sync-run-metrics { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; }.sync-run-metric { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 14px; border: 1px solid #e5e8ec; border-radius: 13px; background: #fff; }.sync-run-metric-icon { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 10px; background: var(--zp-blue-soft); color: var(--zp-blue); }.sync-run-metric.imported .sync-run-metric-icon,.sync-run-metric.updated .sync-run-metric-icon { background: var(--zp-emerald-soft); color: var(--zp-emerald); }.sync-run-metric.skipped .sync-run-metric-icon { background: var(--zp-amber-soft); color: var(--zp-amber); }.sync-run-metric.failed .sync-run-metric-icon { background: var(--zp-red-soft); color: var(--zp-red); }.sync-run-metric strong,.sync-run-metric small { display: block; }.sync-run-metric strong { color: var(--zp-ink-950); font-size: 21px; line-height: 1; }.sync-run-metric small { margin-top: 5px; color: var(--zp-ink-500); font-size: 10px; font-weight: 650; text-transform: uppercase; }
.sync-run-details { margin-top: 14px; border: 1px solid var(--zp-border); border-radius: 12px; background: #fff; }.sync-run-details summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 15px; color: var(--zp-ink-700); font-size: 12px; font-weight: 700; cursor: pointer; list-style: none; }.sync-run-details summary::-webkit-details-marker { display: none; }.sync-run-details summary span { display: inline-flex; align-items: center; gap: 8px; }.sync-run-details[open] .sync-details-chevron { transform: rotate(180deg); }.sync-details-chevron { color: var(--zp-ink-500); transition: transform var(--zp-fast); }.sync-run-details p { margin: 0; padding: 14px 15px 16px; border-top: 1px solid var(--zp-border); color: var(--zp-ink-600); font-size: 11px; line-height: 1.65; overflow-wrap: anywhere; }

.btn { min-height: 42px; padding: 10px 16px; border-radius: 10px; font-size: 14px; }
label { margin-bottom: 7px; font-size: 13px; }
.form-control { height: 46px; padding: 10px 13px; border-radius: 10px; font-size: 15px; }
.filter-bar { padding: 20px; }.filter-bar .row { margin-left: -8px; margin-right: -8px; }.filter-bar [class*="col-"] { padding-left: 8px; padding-right: 8px; }
.field-help,.help-block,.password-guidance { font-size: 12px; }
.table { font-size: 13px; }
.table > thead > tr > th { padding: 15px 13px; font-size: 11px; }
.table > tbody > tr > td { padding: 15px 13px; font-size: 13px; line-height: 1.5; }
.reg-table { width: 100%; font-size: 13px; }.reg-table th,.reg-table td { padding: 11px 10px; }
.badge,.reg-badge,.reg-status,.pp-status { min-height: 27px; padding: 6px 10px; font-size: 11px; }
.dataTables_filter input { width: min(360px,35vw) !important; height: 42px !important; font-size: 13px !important; }
.detail-grid dd,.permit-record-grid strong,.verification-detail-grid strong { font-size: 13px; }
.detail-grid dt,.permit-record-grid span,.verification-detail-grid span { font-size: 11px; }

.pp-content { width: 100%; max-width: none; margin: -42px 0 42px; padding: 0 clamp(16px,2vw,32px); }
.pp-kpis { gap: 18px; }.pp-kpi { padding: 23px; border-radius: 18px; }.pp-kpi strong { font-size: 36px; }.pp-kpi span { font-size: 12px; }
.pp-card { border-radius: 20px; }.pp-filter { gap: 14px; padding: 22px; }.pp-filter label { font-size: 12px; }.pp-note { font-size: 13px; }
.public-hero-inner,.public-content { width: 100%; max-width: none; }.public-content { padding-left: 24px; padding-right: 24px; }

@media (min-width:1200px) {
    .equal-card-row > .col-lg-3 { grid-column: span 3; }.equal-card-row > .col-lg-4 { grid-column: span 4; }.equal-card-row > .col-lg-5 { grid-column: span 5; }.equal-card-row > .col-lg-6 { grid-column: span 6; }.equal-card-row > .col-lg-7 { grid-column: span 7; }.equal-card-row > .col-lg-8 { grid-column: span 8; }.equal-card-row > .col-lg-9 { grid-column: span 9; }.equal-card-row > .col-lg-12 { grid-column: span 12; }
}
@media (min-width:768px) and (max-width:1199px) {
    :root { --zp-sidebar: 244px; }
    .equal-card-row > .col-sm-3 { grid-column: span 3; }.equal-card-row > .col-sm-4 { grid-column: span 4; }.equal-card-row > .col-sm-6 { grid-column: span 6; }.equal-card-row > .col-sm-8 { grid-column: span 8; }.equal-card-row > .col-sm-12 { grid-column: span 12; }
    .reg-sector-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .sync-status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.sync-run-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width:1024px) {
    .sidenav-collapsed .app-sidebar { transform: translateX(-100%); }
    .sidenav-collapsed .app-main { width: 100%; margin-left: 0; }
}
@media (max-width:1023px) {
    :root { --zp-sidebar: 272px; }
    .app-main { width: 100%; margin-left: 0; }
    .analytics-grid { grid-template-columns: 1fr; }
}
@media (max-width:767px) {
    body { font-size: 14px; }
    .page-content { padding: 16px 14px 36px; }
    .page-head h1 { font-size: 26px; }
    .executive-hero { min-height: 0; padding: 26px 21px; }.dashboard-wordmark p { font-size: 27px; }.dashboard-wordmark small { font-size: 13px; }
    .equal-card-row { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }.equal-card-row > [class*="col-"] { grid-column: 1; }
    .sector-jump-nav { grid-template-columns: 1fr; }.sector-analytics-group { padding: 16px 14px; border-radius: 18px; }.sector-group-heading { align-items: flex-start; flex-direction: column; }.sector-group-heading .btn { width: 100%; }
    .reg-sector-grid { grid-template-columns: 1fr; gap: 14px; }.reg-sector { min-height: 0; }
    .stat-card { min-height: 148px; }.stat-card .value { font-size: 36px; }
    .reg-chart,.chart-surface { min-height: 290px; }.reg-chart.tall { height: 340px; }
    .expiry-window-list { grid-template-columns: 1fr; }
    .sync-health-header,.sync-health-actions,.sync-run-heading { align-items: flex-start; flex-direction: column; }.sync-health-actions,.sync-health-actions .btn { width: 100%; }.sync-health-actions .btn { text-align: center; }.sync-health-body { padding: 14px; }.sync-status-grid,.sync-run-metrics { grid-template-columns: 1fr; }.sync-status-card { min-height: 0; }.sync-run-overview { padding: 15px; }
    .panel-body { padding: 17px; }.data-card-body { padding: 0 14px 16px; }
    .form-control { font-size: 16px; }
    .public-content { padding-left: 14px; padding-right: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *:before, *:after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
    .skip-link, .app-preloader { display: none !important; }
    body { background: #fff; color: #111; font-family: Arial, sans-serif !important; }
    .card, .panel, .stat-card, .data-card, .filter-bar { box-shadow: none; }
    a[href]:after { content: none !important; }
}
