/* Project-wide eye-comfort theme + InsuranceWork urban layer */
:root {
    --pm-color-primary: #345d74;
    --pm-color-primary-2: #4a7389;
    --pm-color-ink: #243540;
    --pm-color-muted: #6f808d;
    --pm-color-border: #cedce6;
    --pm-color-surface: #f4f7fa;
    --pm-color-surface-soft: #edf3f7;
    --pm-color-success: #3f7d5a;
    --pm-color-danger: #a8574f;
    --pm-color-warning: #b68a4e;
    --pm-radius-sm: 10px;
    --pm-radius-md: 16px;
    --pm-radius-lg: 22px;
    --pm-shadow-sm: 0 8px 18px rgba(16, 42, 61, 0.08);
    --pm-shadow-md: 0 16px 34px rgba(16, 42, 61, 0.13);
    --pm-shadow-focus: 0 0 0 0.22rem rgba(20, 83, 116, 0.2);
}

/* Theme presets: switch by setting body class to one of
   pm-theme-calm | pm-theme-corporate | pm-theme-warm */
body.pmidt-ui.pm-theme-calm {
    --pm-color-primary: #345d74;
    --pm-color-primary-2: #4a7389;
    --pm-color-ink: #243540;
    --pm-color-muted: #6f808d;
    --pm-color-border: #cedce6;
    --pm-color-surface: #f4f7fa;
    --pm-color-surface-soft: #edf3f7;
    --pm-color-success: #3f7d5a;
    --pm-color-danger: #a8574f;
    --pm-color-warning: #b68a4e;
}

body.pmidt-ui.pm-theme-corporate {
    --pm-color-primary: #2d4f67;
    --pm-color-primary-2: #3f657f;
    --pm-color-ink: #1f2f3a;
    --pm-color-muted: #657884;
    --pm-color-border: #c9d8e3;
    --pm-color-surface: #f2f6f9;
    --pm-color-surface-soft: #e9f0f5;
    --pm-color-success: #3d7258;
    --pm-color-danger: #9b5353;
    --pm-color-warning: #a98753;
}

body.pmidt-ui.pm-theme-warm {
    --pm-color-primary: #5e6267;
    --pm-color-primary-2: #787d83;
    --pm-color-ink: #2d3338;
    --pm-color-muted: #7b7470;
    --pm-color-border: #ddd3cb;
    --pm-color-surface: #f7f2ec;
    --pm-color-surface-soft: #f1eae1;
    --pm-color-success: #5e7b61;
    --pm-color-danger: #a7665b;
    --pm-color-warning: #b7935b;
}

body.pmidt-ui {
    color: var(--pm-color-ink);
    font-family: NotoKufiArabic, DroidArabicKufi, Segoe UI, Tahoma, sans-serif;
    background: radial-gradient(circle at 8% 10%, #eaf1f6 0%, #f1f5f8 46%, #e7eef3 100%);
    line-height: 1.45;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.pmidt-ui a {
    color: var(--pm-color-primary);
}

body.pmidt-ui a:hover {
    color: #184e64;
}

body.pmidt-ui .bodycontainer {
    padding-bottom: 5.8rem;
}

body.pmidt-ui .pmidt-header-shell {
    position: sticky;
    top: 0;
    z-index: 1030;
}

body.pmidt-ui .pmidt-content-shell {
    padding: 0.35rem 0.4rem;
    background: linear-gradient(180deg, rgba(239, 245, 250, 0.72), rgba(233, 240, 245, 0.72));
}

body.pmidt-ui .pmidt-footer-shell {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-image: linear-gradient(to top, #5d6773 0%, #8ea0b1 55%, #c8d2dc 100%) !important;
}

body.pmidt-ui .navbar.navbar-light.bg-light {
    background: linear-gradient(120deg, #324c5f, #446276) !important;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 24px rgba(18, 36, 52, 0.22);
}

body.pmidt-ui .navbar .navbar-brand,
body.pmidt-ui .navbar .nav-link,
body.pmidt-ui .navbar .dropdown-toggle {
    color: #eef4f8 !important;
}

body.pmidt-ui .navbar .nav-link {
    border-radius: 999px;
    padding: 0.35rem 0.7rem;
}

body.pmidt-ui .navbar .nav-link:hover,
body.pmidt-ui .navbar .dropdown-toggle:hover {
    background: rgba(238, 244, 248, 0.14);
}

body.pmidt-ui footer.fixed-bottom {
    border-top: 1px solid rgba(26, 70, 95, 0.14);
    box-shadow: 0 -8px 18px rgba(18, 43, 60, 0.1);
    backdrop-filter: blur(4px);
}

body.pmidt-ui .pmidt-footer-shell {
    background-image: linear-gradient(120deg, #3d5160, #5d7180) !important;
    color: #edf3f7 !important;
}

body.pmidt-ui .pmidt-footer-shell label,
body.pmidt-ui .pmidt-footer-shell a {
    color: #edf3f7 !important;
}

body.pmidt-ui .pmidt-footer-shell a:hover {
    color: #ffffff !important;
}

body.pmidt-ui .btn {
    border-radius: var(--pm-radius-sm);
    font-weight: 600;
    padding: 0.53rem 0.95rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.pmidt-ui .btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--pm-shadow-sm);
}

body.pmidt-ui .btn-primary {
    background: linear-gradient(120deg, var(--pm-color-primary), var(--pm-color-primary-2));
    border-color: transparent;
    color: #f5f8fa;
}

body.pmidt-ui .btn-primary:hover,
body.pmidt-ui .btn-primary:focus {
    background: linear-gradient(120deg, #2d5268, #416a80);
    color: #ffffff;
}

body.pmidt-ui .btn-success {
    background: linear-gradient(120deg, #4b8664, #3b7254);
    border-color: transparent;
    color: #f3f8f4;
}

body.pmidt-ui .btn-danger {
    background: linear-gradient(120deg, #b3645c, #94514b);
    border-color: transparent;
    color: #fdf6f5;
}

body.pmidt-ui .btn-warning {
    background: linear-gradient(120deg, #c19a61, #a67f4c);
    border-color: transparent;
    color: #1f2f39;
}

body.pmidt-ui .btn-info {
    background: linear-gradient(120deg, #668ca3, #4f758d);
    border-color: transparent;
    color: #f2f6f9;
}

body.pmidt-ui .btn-secondary {
    background: linear-gradient(120deg, #7a828c, #636b75);
    border-color: transparent;
    color: #f3f5f7;
}

body.pmidt-ui .btn:focus,
body.pmidt-ui .btn:focus-visible,
body.pmidt-ui .form-control:focus,
body.pmidt-ui .form-select:focus,
body.pmidt-ui .form-check-input:focus {
    box-shadow: var(--pm-shadow-focus);
}

body.pmidt-ui .form-control,
body.pmidt-ui .form-select {
    border-radius: var(--pm-radius-sm);
    border: 1px solid var(--pm-color-border);
    background: #f2f6fa;
}

body.pmidt-ui .form-control::placeholder,
body.pmidt-ui .form-select::placeholder {
    color: #89a0b1;
}

body.pmidt-ui .card,
body.pmidt-ui .modal-content {
    border: 1px solid #dce7ef;
    border-radius: var(--pm-radius-md);
    box-shadow: var(--pm-shadow-sm);
}

body.pmidt-ui .dropdown-menu {
    border-radius: var(--pm-radius-md);
    border: 1px solid var(--pm-color-border);
    box-shadow: 0 14px 28px rgba(20, 48, 67, 0.12);
    background: #eef3f7;
    padding: 0.45rem;
}

body.pmidt-ui .dropdown-menu .dropdown-item {
    border-radius: 9px;
}

body.pmidt-ui .dropdown-menu .dropdown-item:hover {
    background: #dde7ee;
}

body.pmidt-ui .table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--pm-color-surface);
    box-shadow: var(--pm-shadow-sm);
}

body.pmidt-ui .table thead th,
body.pmidt-ui .table thead td {
    background: linear-gradient(120deg, #dbe7f0, #e7f0f6);
    color: #164661;
    font-weight: 700;
    white-space: nowrap;
    border-bottom: 1px solid #c8dce9;
}

body.pmidt-ui .table td,
body.pmidt-ui .table th {
    vertical-align: middle;
    border-color: #e1ebf2;
}

body.pmidt-ui .table-hover tbody tr:hover {
    background: #eaf1f6;
}

body.pmidt-ui .pagination .page-link {
    border-color: #d6e3ec;
    color: #2a5f7b;
}

body.pmidt-ui .pagination .page-item.active .page-link {
    background-color: #2a6f8d;
    border-color: #2a6f8d;
}

body.pmidt-ui .alert-primary {
    border: 1px solid #d5e8f5;
    background: linear-gradient(120deg, #e5edf3, #eef4f8);
    color: #134767;
}

body.pmidt-ui .ui-dialog {
    border-radius: var(--pm-radius-md);
    box-shadow: 0 18px 40px rgba(16, 34, 50, 0.25);
}

body.pmidt-ui .ui-dialog .ui-dialog-titlebar {
    background: linear-gradient(120deg, #145374, #1f6f8b);
    color: #fff;
    border: 0;
}

.iw-page {
    position: relative;
    padding: 0.5rem 0.2rem 1rem;
}

.iw-toolbar-shell {
    width: 100%;
    max-width: 100%;
    margin: 0.25rem 0;
    background: linear-gradient(155deg, #eef3f7 0%, #e5edf3 100%);
    border: 1px solid #d8e5ef;
    border-radius: var(--pm-radius-lg);
    box-shadow: var(--pm-shadow-md);
    padding: 1rem;
}

.iw-toolbar-head {
    display: grid;
    gap: 0.2rem;
    justify-items: center;
    margin-bottom: 0.75rem;
}

.iw-toolbar-title {
    margin: 0;
    font-size: 1.3rem;
    color: #163f58;
    font-weight: 800;
}

.iw-toolbar-subtitle {
    color: var(--pm-color-muted);
    font-size: 0.93rem;
}

.iw-toolbar-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.28rem;
}

.iw-page .js-iw-action,
.iw-page .iw-logout-btn {
    flex: 0 1 auto;
    min-height: 42px;
    border-radius: 11px;
    white-space: nowrap;
}

.iw-page .bi {
    line-height: 1;
    font-size: 1rem;
}

.iw-page td .btn.bi,
.iw-partial td .btn.bi,
.iw-partial td .btn[class*=" fa"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    min-height: 34px;
    padding: 0.34rem 0.45rem;
}

.iw-page .js-iw-action.active {
    background: linear-gradient(120deg, #2d4e62, #3e697f) !important;
    border-color: transparent !important;
    color: #f7fbff !important;
}

.iw-subtitle-wrap #titles {
    margin: 0 auto;
    width: min(860px, 96%);
    border-radius: 12px;
    font-size: 1.08rem;
}

.iw-claim-surface {
    margin-top: 0.6rem;
    border: 1px solid #d8e4ef;
    border-radius: 14px;
    background: #eef3f7;
    min-height: 160px;
    box-shadow: var(--pm-shadow-md);
    padding: 0.6rem;
}

.iw-partial {
    animation: iw-fade-up 0.3s ease;
}

.iw-panel {
    border: 1px solid #dae7f0;
    border-radius: var(--pm-radius-md);
    background: linear-gradient(180deg, #eef3f7, #e8eff4);
    box-shadow: var(--pm-shadow-sm);
    padding: 0.75rem;
    margin-bottom: 0.65rem;
}

.iw-panel-title {
    font-size: 0.95rem;
    color: #1a4a65;
    font-weight: 700;
    margin-bottom: 0.55rem;
}

.iw-table-shell,
.iw-page .table-responsive,
.iw-page .insu,
.iw-partial .table-responsive,
.iw-partial .insu {
    border: 1px solid #dbe6ef;
    border-radius: 12px;
    background: #edf3f7;
    padding: 0.3rem;
}

.iw-partial .cclick,
.iw-page .cclick {
    cursor: pointer;
    color: #176b87;
    font-size: 1.08rem;
    font-weight: 700;
}

.iw-doc-side {
    border: 1px solid #dce9f2;
    border-radius: 12px;
    background: linear-gradient(160deg, #edf3f7, #e5edf3);
    min-height: 240px;
    box-shadow: var(--pm-shadow-sm);
}

.iw-claims-layout {
    flex-wrap: nowrap;
}

.iw-claims-table-pane {
    max-height: 78vh;
    overflow: auto;
}

.iw-claims-pdf-pane {
    height: 78vh;
    overflow: auto;
}

.iw-pdf-embed {
    width: 100%;
    height: 78vh;
    min-height: 520px;
    border: 0;
}

.iw-form-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.45rem;
}

.iw-form-grid > .iw-col-2 {
    grid-column: span 2;
}

.iw-form-grid > .iw-col-3 {
    grid-column: span 3;
}

.iw-form-grid > .iw-col-4 {
    grid-column: span 4;
}

.iw-form-grid > .iw-col-6 {
    grid-column: span 6;
}

.iw-form-grid > .iw-col-12 {
    grid-column: span 12;
}

.iw-soft-bg {
    background: var(--pm-color-surface-soft);
}

.iw-highlight-cell {
    background-color: #efe3d2 !important;
}

@keyframes iw-fade-up {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 992px) {
    .iw-claims-layout {
        flex-wrap: wrap;
    }

    .iw-claims-table-pane,
    .iw-claims-pdf-pane,
    .iw-pdf-embed {
        height: 62vh;
        max-height: none;
        min-height: 420px;
    }

    .iw-page .js-iw-action,
    .iw-page .iw-logout-btn {
        flex: 0 1 auto;
    }

    .iw-form-grid > .iw-col-2,
    .iw-form-grid > .iw-col-3,
    .iw-form-grid > .iw-col-4,
    .iw-form-grid > .iw-col-6 {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    body.pmidt-ui .bodycontainer {
        padding-bottom: 7.1rem;
    }

    .iw-toolbar-shell {
        padding: 0.72rem;
        border-radius: 16px;
    }

    .iw-toolbar-title {
        font-size: 1.08rem;
    }

    .iw-toolbar-subtitle {
        font-size: 0.82rem;
        text-align: center;
    }

    .iw-page .js-iw-action,
    .iw-page .iw-logout-btn {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
        justify-content: center;
        margin: 0.16rem !important;
    }

    .iw-form-grid > .iw-col-2,
    .iw-form-grid > .iw-col-3,
    .iw-form-grid > .iw-col-4,
    .iw-form-grid > .iw-col-6,
    .iw-form-grid > .iw-col-12 {
        grid-column: span 12;
    }

    body.pmidt-ui .table {
        font-size: 0.91rem;
    }
}

@media (max-width: 420px) {
    .iw-page .js-iw-action,
    .iw-page .iw-logout-btn {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Civic glass theme: global shell + InsuranceWork command center */
body.pmidt-ui.pm-theme-civic {
    --pm-color-primary: #244b5a;
    --pm-color-primary-2: #386879;
    --pm-color-ink: #1d2d35;
    --pm-color-muted: #64747c;
    --pm-color-border: #d5dee3;
    --pm-color-surface: #f7f9fa;
    --pm-color-surface-soft: #eef3f5;
    --pm-color-success: #3f755a;
    --pm-color-danger: #9b5650;
    --pm-color-warning: #a78348;
    --pm-accent-aqua: #4d8b91;
    --pm-accent-gold: #b89452;
    --pm-accent-coral: #a7665b;
    --pm-radius-sm: 8px;
    --pm-radius-md: 12px;
    --pm-radius-lg: 18px;
    --pm-shadow-sm: 0 9px 22px rgba(16, 38, 40, 0.1);
    --pm-shadow-md: 0 18px 42px rgba(16, 38, 40, 0.16);
    --pm-shadow-focus: 0 0 0 0.22rem rgba(34, 166, 161, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 250, 0.92)),
        linear-gradient(135deg, #eef3f5 0%, #f7f9fa 48%, #e7edf0 100%);
}

body.pmidt-ui.pm-theme-civic,
body.pmidt-ui.pm-theme-civic .bodycontainer {
    min-height: 100%;
}

body.pmidt-ui.pm-theme-civic .bodycontainer {
    position: relative !important;
    top: auto !important;
    padding: 0.75rem 0.9rem 5.8rem;
}

body.pmidt-ui.pm-theme-civic .pmidt-header-shell {
    padding: 0.45rem 0.7rem 0;
    background: linear-gradient(180deg, rgba(248, 251, 250, 0.92), rgba(248, 251, 250, 0));
}

body.pmidt-ui.pm-theme-civic .navbar.navbar-light.bg-light {
    min-height: 72px;
    background:
        linear-gradient(120deg, #203843, #2f5a6a 58%, #56656d) !important;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(17, 41, 43, 0.22);
    backdrop-filter: blur(14px);
}

body.pmidt-ui.pm-theme-civic .navbar-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 210px;
    margin-inline-end: 0.8rem;
    padding: 0.2rem 0.75rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.12);
}

body.pmidt-ui.pm-theme-civic .navbar-brand img {
    width: 220px !important;
    height: 54px !important;
    object-fit: contain;
}

body.pmidt-ui.pm-theme-civic .navbar .nav-link {
    min-height: 40px;
    margin: 0.12rem;
    border: 1px solid transparent;
    border-radius: 10px;
    color: #f4fbf9 !important;
    font-size: 0.94rem;
    letter-spacing: 0;
}

body.pmidt-ui.pm-theme-civic .navbar .nav-link:hover,
body.pmidt-ui.pm-theme-civic .navbar .nav-link:focus,
body.pmidt-ui.pm-theme-civic .navbar .dropdown.show > .nav-link {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.22);
}

body.pmidt-ui.pm-theme-civic .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.18);
    border-radius: 10px;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu {
    min-width: 270px;
    max-height: min(76vh, 720px);
    overflow: auto;
    padding: 0.55rem;
    border: 1px solid rgba(20, 107, 111, 0.22);
    border-radius: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 243, 0.96));
    box-shadow: 0 22px 46px rgba(16, 38, 40, 0.22);
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item {
    min-height: 38px;
    margin: 0.1rem 0;
    padding: 0.54rem 0.7rem;
    border-radius: 9px;
    color: #203239;
    font-weight: 650;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item i {
    width: 1.35rem;
    color: #386879;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:hover,
body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(56, 104, 121, 0.13), rgba(184, 148, 82, 0.1));
    color: #244b5a;
}

body.pmidt-ui.pm-theme-civic .dropdown-header,
body.pmidt-ui.pm-theme-civic .dropdown-divider {
    margin: 0.3rem 0;
    border-radius: 9px;
    background: linear-gradient(90deg, rgba(56, 104, 121, 0.12), rgba(184, 148, 82, 0.12)) !important;
    color: #244b5a !important;
    font-weight: 800;
}

body.pmidt-ui.pm-theme-civic .pmidt-footer-shell {
    min-height: 42px;
    background: linear-gradient(120deg, #203843, #2f5a6a 58%, #56656d) !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-bottom: 0;
    color: #f7fbfa !important;
}

body.pmidt-ui.pm-theme-civic .btn {
    border-radius: 8px;
    border: 0;
    font-weight: 750;
    letter-spacing: 0;
}

body.pmidt-ui.pm-theme-civic .btn-primary {
    background: linear-gradient(135deg, #244b5a, #386879);
    color: #ffffff;
}

body.pmidt-ui.pm-theme-civic .btn-success {
    background: linear-gradient(135deg, #3f755a, #5d8f72);
}

body.pmidt-ui.pm-theme-civic .btn-danger {
    background: linear-gradient(135deg, #9b5650, #b66b61);
}

body.pmidt-ui.pm-theme-civic .btn-warning {
    background: linear-gradient(135deg, #b89452, #a78348);
    color: #17252b;
}

body.pmidt-ui.pm-theme-civic .btn-info {
    background: linear-gradient(135deg, #4c7888, #5e91a0);
    color: #fff;
}

body.pmidt-ui.pm-theme-civic .btn-secondary {
    background: linear-gradient(135deg, #536366, #728182);
}

body.pmidt-ui.pm-theme-civic .form-control,
body.pmidt-ui.pm-theme-civic .form-select,
body.pmidt-ui.pm-theme-civic .dx-texteditor-input {
    min-height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(20, 107, 111, 0.23);
    background: rgba(255, 255, 255, 0.88);
    color: #17252b;
}

body.pmidt-ui.pm-theme-civic .form-control[readonly],
body.pmidt-ui.pm-theme-civic .form-select:disabled {
    background: rgba(235, 243, 240, 0.9);
    color: #526569;
}

body.pmidt-ui.pm-theme-civic label,
body.pmidt-ui.pm-theme-civic .form-label {
    color: #234247;
    font-weight: 750;
}

body.pmidt-ui.pm-theme-civic .card,
body.pmidt-ui.pm-theme-civic .modal-content,
body.pmidt-ui.pm-theme-civic .ui-dialog {
    border-radius: 12px;
    border: 1px solid rgba(20, 107, 111, 0.18);
    background: rgba(250, 252, 251, 0.96);
    box-shadow: var(--pm-shadow-md);
}

body.pmidt-ui.pm-theme-civic .ui-dialog .ui-dialog-titlebar {
    background: linear-gradient(120deg, #146b6f, #22a6a1);
}

body.pmidt-ui.pm-theme-civic .table {
    border: 1px solid rgba(20, 107, 111, 0.16);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 12px 26px rgba(17, 41, 43, 0.1);
}

body.pmidt-ui.pm-theme-civic .table thead th,
body.pmidt-ui.pm-theme-civic .table thead td,
body.pmidt-ui.pm-theme-civic .table-primary,
body.pmidt-ui.pm-theme-civic .table-primary > th,
body.pmidt-ui.pm-theme-civic .table-primary > td {
    background: linear-gradient(120deg, #123a3d, #146b6f 64%, #8f6727) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.18);
}

body.pmidt-ui.pm-theme-civic .table tbody tr {
    transition: background-color 0.18s ease, transform 0.18s ease;
}

body.pmidt-ui.pm-theme-civic .table-hover tbody tr:hover {
    background: rgba(34, 166, 161, 0.08);
}

body.pmidt-ui.pm-theme-civic .iw-highlight-cell {
    background: linear-gradient(90deg, rgba(211, 155, 53, 0.18), rgba(34, 166, 161, 0.1)) !important;
}

body.pmidt-ui.pm-theme-civic .iw-page {
    max-width: 1920px;
    margin: 0 auto !important;
    padding: 0.6rem 0 1rem;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-shell {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(20, 107, 111, 0.2);
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 245, 247, 0.96));
    box-shadow: 0 22px 54px rgba(16, 38, 40, 0.16);
    padding: 1rem;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-shell::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 7px;
    height: 100%;
    background: linear-gradient(180deg, #386879, #b89452, #56656d);
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-title {
    color: #203843;
    font-size: 1.45rem;
    font-weight: 900;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
    gap: 0.55rem;
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action,
body.pmidt-ui.pm-theme-civic .iw-page .iw-logout-btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    margin: 0 !important;
    white-space: normal;
    text-align: center;
    box-shadow: 0 9px 18px rgba(18, 58, 61, 0.12);
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action.active {
    background: linear-gradient(135deg, #203843, #244b5a) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 14px 28px rgba(17, 41, 43, 0.22);
}

body.pmidt-ui.pm-theme-civic .iw-subtitle-wrap #titles {
    border: 1px solid rgba(20, 107, 111, 0.18);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(240, 245, 247, 0.96));
    color: #203843;
    box-shadow: var(--pm-shadow-sm);
}

/* Reusable section/page title for all screens */
.pm-page-title {
    margin: 0.35rem auto 0.9rem;
    width: min(100%, 980px);
    text-align: center;
    border-radius: 14px;
    padding: 0.88rem 1rem;
    font-size: clamp(1.2rem, 2.2vw, 1.8rem);
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

body.pmidt-ui.pm-theme-civic .pm-page-title {
    border: 1px solid rgba(20, 107, 111, 0.2);
    color: #203843;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.98), rgba(238, 246, 247, 0.98));
    box-shadow: 0 10px 24px rgba(17, 41, 43, 0.11);
}

/* Reusable top command strip and work surface */
.pm-command-strip {
    border: 1px solid rgba(20, 107, 111, 0.18);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 245, 247, 0.98));
    box-shadow: 0 10px 22px rgba(17, 41, 43, 0.1);
    padding: 0.7rem;
    margin: 0.4rem auto 0.7rem;
}

.pm-command-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pm-command-row .btn {
    min-width: 220px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.pm-content-surface {
    border: 1px solid rgba(20, 107, 111, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 14px 30px rgba(17, 41, 43, 0.1);
    padding: 0.65rem;
}

.pm-subsection-card {
    border: 1px solid rgba(20, 107, 111, 0.14);
    border-radius: 12px;
    background: linear-gradient(120deg, rgba(255,255,255,0.96), rgba(242,248,250,0.96));
    box-shadow: 0 6px 16px rgba(17, 41, 43, 0.08);
    padding: 0.5rem;
}

.pm-subsection-title {
    margin: 0;
    text-align: center;
    font-size: 1.03rem;
    font-weight: 800;
    color: #214254;
}

.pm-form-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.pm-table-shell {
    border: 1px solid rgba(20, 107, 111, 0.16);
    border-radius: 12px;
    background: rgba(255,255,255,0.93);
    box-shadow: 0 10px 22px rgba(17, 41, 43, 0.09);
    padding: 0.45rem;
}

/* Language-aware behavior: Arabic screens keep RTL, English screens keep LTR */
.iw-page[dir="rtl"],
.pm-content-surface[dir="rtl"],
.pm-command-strip[dir="rtl"] {
    direction: rtl;
    text-align: right;
    font-family: NotoKufiArabic, DroidArabicKufi, Segoe UI, Tahoma, sans-serif;
}

.iw-page:not([dir="rtl"]),
.pm-content-surface:not([dir="rtl"]),
.pm-command-strip:not([dir="rtl"]) {
    direction: ltr;
    text-align: left;
    font-family: Segoe UI, Tahoma, Arial, sans-serif;
}

.pm-page-title,
.pm-subsection-title,
.pm-command-row {
    text-align: center;
}

/* Direction-aware icon and label behavior */
[dir="rtl"] .pm-command-row .btn i,
[dir="rtl"] .pm-content-surface .btn i {
    margin-inline-start: 0.35rem;
    margin-inline-end: 0;
}

[dir="ltr"] .pm-command-row .btn i,
[dir="ltr"] .pm-content-surface .btn i {
    margin-inline-end: 0.35rem;
    margin-inline-start: 0;
}

[dir="rtl"] .pm-form-row label,
[dir="rtl"] .pm-content-surface label {
    text-align: right;
}

[dir="ltr"] .pm-form-row label,
[dir="ltr"] .pm-content-surface label {
    text-align: left;
}

/* Responsive containment: keep content inside viewport across devices */
.iw-page,
.pm-command-strip,
.pm-content-surface,
.pm-subsection-card,
.pm-table-shell {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.pm-table-shell {
    overflow-x: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.pm-table-shell .table {
    margin-bottom: 0;
    min-width: 620px;
}

.pm-form-row > .form-control,
.pm-form-row > .form-select,
.pm-form-row > .btn,
.pm-form-row > div {
    min-width: 0;
}

.pm-form-row > .form-control,
.pm-form-row > .form-select,
.pm-form-row > div {
    flex: 1 1 170px;
}

.pm-form-row > .btn {
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .pm-command-row .btn {
        min-width: 170px;
        flex: 1 1 calc(50% - 0.5rem);
    }

    .pm-table-shell .table {
        min-width: 540px;
    }

    .pm-content-surface {
        padding: 0.5rem;
    }
}

@media (max-width: 430px) {
    .pm-command-row .btn {
        flex: 1 1 100%;
    }

    .pm-command-strip {
        padding: 0.5rem;
    }

    .pm-table-shell .table {
        min-width: 500px;
    }
}

body.pmidt-ui.pm-theme-civic .iw-claim-surface,
body.pmidt-ui.pm-theme-civic .iw-panel,
body.pmidt-ui.pm-theme-civic .iw-table-shell,
body.pmidt-ui.pm-theme-civic .iw-page .table-responsive,
body.pmidt-ui.pm-theme-civic .iw-page .insu,
body.pmidt-ui.pm-theme-civic .iw-partial .table-responsive,
body.pmidt-ui.pm-theme-civic .iw-partial .insu,
body.pmidt-ui.pm-theme-civic .iw-doc-side {
    border: 1px solid rgba(20, 107, 111, 0.17);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 14px 32px rgba(17, 41, 43, 0.1);
    backdrop-filter: blur(10px);
}

body.pmidt-ui.pm-theme-civic .iw-claim-surface {
    min-height: 220px;
    padding: 0.75rem;
}

body.pmidt-ui.pm-theme-civic .iw-panel {
    padding: 0.85rem;
}

body.pmidt-ui.pm-theme-civic .iw-soft-bg {
    background:
        linear-gradient(135deg, rgba(56, 104, 121, 0.08), rgba(184, 148, 82, 0.07)),
        rgba(255, 255, 255, 0.86);
}

body.pmidt-ui.pm-theme-civic .cclick {
    width: 32px;
    color: #244b5a !important;
    font-size: 1.35rem !important;
}

body.pmidt-ui.pm-theme-civic .dx-datagrid,
body.pmidt-ui.pm-theme-civic .dx-datagrid-headers,
body.pmidt-ui.pm-theme-civic .dx-toolbar,
body.pmidt-ui.pm-theme-civic .dx-widget {
    font-family: NotoKufiArabic, DroidArabicKufi, Segoe UI, Tahoma, sans-serif;
}

body.pmidt-ui.pm-theme-civic .dx-datagrid {
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
}

body.pmidt-ui.pm-theme-civic .dx-datagrid-headers {
    background: linear-gradient(120deg, #203843, #2f5a6a);
    color: #fff;
}

body.pmidt-ui.pm-theme-civic .dx-datagrid-headers .dx-datagrid-table .dx-row > td {
    color: #fff;
    font-weight: 800;
}

body.pmidt-ui.pm-theme-civic .dx-datagrid-rowsview .dx-row:hover > td {
    background-color: rgba(34, 166, 161, 0.09);
}

body.pmidt-ui.pm-theme-civic .dx-button {
    border-radius: 8px;
}

body.pmidt-ui.pm-theme-civic .swal2-popup {
    border-radius: 14px;
    border: 1px solid rgba(20, 107, 111, 0.16);
    box-shadow: 0 24px 54px rgba(17, 41, 43, 0.22);
}

@media (max-width: 992px) {
    body.pmidt-ui.pm-theme-civic .navbar.navbar-light.bg-light {
        border-radius: 14px;
    }

    body.pmidt-ui.pm-theme-civic .navbar-collapse {
        margin-top: 0.6rem;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }
}

@media (max-width: 768px) {
    body.pmidt-ui.pm-theme-civic .bodycontainer {
        padding-inline: 0.45rem;
    }

    body.pmidt-ui.pm-theme-civic .navbar-brand {
        min-width: 170px;
        padding-inline: 0.4rem;
    }

    body.pmidt-ui.pm-theme-civic .navbar-brand img {
        width: 170px !important;
        height: 46px !important;
    }

    body.pmidt-ui.pm-theme-civic .iw-toolbar-title {
        font-size: 1.14rem;
    }

    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action,
    body.pmidt-ui.pm-theme-civic .iw-page .iw-logout-btn {
        flex: none;
        max-width: none;
        min-height: 46px;
        font-size: 0.86rem;
    }
}

@media (max-width: 430px) {
    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: 1fr;
    }
}

/* Final executive lock: this block intentionally stays last. */
body.pmidt-ui.pm-theme-civic {
    --exec-ink: #17232b;
    --exec-navy: #132d38;
    --exec-navy-2: #1e4654;
    --exec-petrol: #285f6c;
    --exec-teal: #327a78;
    --exec-gold: #c69b4e;
    --exec-red: #a85d56;
    --exec-green: #4b7d5c;
    --exec-line: #d7e0e4;
    color: var(--exec-ink);
    background: linear-gradient(180deg, #f8fafb 0%, #eef3f5 54%, #e7eef1 100%) !important;
}

body.pmidt-ui.pm-theme-civic .pmidt-header-shell {
    padding: 0 !important;
    background: transparent !important;
}

body.pmidt-ui.pm-theme-civic .navbar.navbar-light.bg-light {
    min-height: 68px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 3px solid var(--exec-gold) !important;
    border-radius: 0 !important;
    background: linear-gradient(90deg, var(--exec-navy) 0%, var(--exec-navy-2) 55%, #3e443c 100%) !important;
    box-shadow: 0 14px 34px rgba(19, 45, 56, 0.18) !important;
}

body.pmidt-ui.pm-theme-civic .navbar .container-fluid {
    max-width: 1860px;
}

body.pmidt-ui.pm-theme-civic .navbar-brand {
    min-width: 196px !important;
    height: 50px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

body.pmidt-ui.pm-theme-civic .navbar-brand img {
    width: 178px !important;
    height: 42px !important;
    object-fit: contain;
}

body.pmidt-ui.pm-theme-civic .navbar .nav-link {
    min-height: 38px !important;
    padding: 0.42rem 0.62rem !important;
    border-radius: 7px !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 0.88rem !important;
    font-weight: 750 !important;
}

body.pmidt-ui.pm-theme-civic .navbar .nav-link:hover,
body.pmidt-ui.pm-theme-civic .navbar .nav-link:focus,
body.pmidt-ui.pm-theme-civic .navbar .dropdown.show > .nav-link {
    background: rgba(255, 255, 255, 0.11) !important;
    box-shadow: inset 0 -2px 0 #ead8aa !important;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu {
    min-width: 292px !important;
    padding: 0.55rem !important;
    border: 1px solid rgba(19, 45, 56, 0.14) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 24px 54px rgba(19, 45, 56, 0.2) !important;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item {
    min-height: 38px !important;
    margin: 0.08rem 0 !important;
    padding: 0.52rem 0.64rem !important;
    border-radius: 7px !important;
    color: #20323b !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:hover,
body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(40, 95, 108, 0.11), rgba(198, 155, 78, 0.14)) !important;
}

body.pmidt-ui.pm-theme-civic .bodycontainer {
    top: auto !important;
    padding: 1rem 1.1rem 5.4rem !important;
}

body.pmidt-ui.pm-theme-civic .iw-page {
    max-width: 1580px !important;
    padding-top: 0.4rem !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-shell {
    max-width: 1520px !important;
    margin: 0 auto 0.85rem !important;
    padding: 1rem 1rem 1.05rem !important;
    border: 1px solid rgba(19, 45, 56, 0.12) !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 251, 0.98)) !important;
    box-shadow: 0 18px 46px rgba(19, 45, 56, 0.11) !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-shell::before {
    width: 5px !important;
    background: linear-gradient(180deg, var(--exec-gold), var(--exec-petrol)) !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-title {
    color: var(--exec-navy) !important;
    font-size: 1.36rem !important;
    font-weight: 950 !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(150px, 1fr)) !important;
    gap: 0.55rem !important;
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action,
body.pmidt-ui.pm-theme-civic .iw-page .iw-logout-btn {
    min-height: 48px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0.56rem 0.65rem !important;
    border-radius: 7px !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    font-size: 0.92rem !important;
    font-weight: 850 !important;
    box-shadow: 0 8px 18px rgba(19, 45, 56, 0.12) !important;
}

body.pmidt-ui.pm-theme-civic .btn-primary,
body.pmidt-ui.pm-theme-civic .iw-page .btn-primary {
    background: linear-gradient(135deg, var(--exec-petrol), #214e5b) !important;
    color: #fff !important;
}

body.pmidt-ui.pm-theme-civic .btn-secondary,
body.pmidt-ui.pm-theme-civic .iw-page .btn-secondary {
    background: linear-gradient(135deg, #64747c, #53646c) !important;
    color: #fff !important;
}

body.pmidt-ui.pm-theme-civic .btn-danger,
body.pmidt-ui.pm-theme-civic .iw-page .btn-danger {
    background: linear-gradient(135deg, var(--exec-red), #934e48) !important;
    color: #fff !important;
}

body.pmidt-ui.pm-theme-civic .btn-success,
body.pmidt-ui.pm-theme-civic .iw-page .btn-success {
    background: linear-gradient(135deg, var(--exec-green), #3e6f52) !important;
    color: #fff !important;
}

body.pmidt-ui.pm-theme-civic .btn-warning,
body.pmidt-ui.pm-theme-civic .iw-page .btn-warning {
    background: linear-gradient(135deg, #d0aa62, var(--exec-gold)) !important;
    color: #17232b !important;
}

body.pmidt-ui.pm-theme-civic .btn-info,
body.pmidt-ui.pm-theme-civic .iw-page .btn-info {
    background: linear-gradient(135deg, var(--exec-teal), #286665) !important;
    color: #fff !important;
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action.active {
    background: linear-gradient(135deg, var(--exec-navy), #10242d) !important;
    border-color: rgba(198, 155, 78, 0.46) !important;
    box-shadow: inset 0 -3px 0 var(--exec-gold), 0 12px 26px rgba(19, 45, 56, 0.2) !important;
}

body.pmidt-ui.pm-theme-civic .iw-subtitle-wrap #titles {
    width: min(680px, 94%) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--exec-navy) !important;
    font-size: 1rem !important;
    font-weight: 850 !important;
    box-shadow: 0 8px 20px rgba(19, 45, 56, 0.08) !important;
}

body.pmidt-ui.pm-theme-civic .iw-claim-surface {
    max-width: 1520px !important;
    min-height: 520px !important;
    margin: 0 auto !important;
    padding: 0.65rem !important;
    border: 1px solid rgba(19, 45, 56, 0.1) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 18px 46px rgba(19, 45, 56, 0.1) !important;
}

body.pmidt-ui.pm-theme-civic .iw-panel,
body.pmidt-ui.pm-theme-civic .iw-table-shell,
body.pmidt-ui.pm-theme-civic .iw-page .table-responsive,
body.pmidt-ui.pm-theme-civic .iw-page .insu,
body.pmidt-ui.pm-theme-civic .iw-partial .table-responsive,
body.pmidt-ui.pm-theme-civic .iw-partial .insu,
body.pmidt-ui.pm-theme-civic .iw-doc-side {
    border: 1px solid rgba(19, 45, 56, 0.1) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(19, 45, 56, 0.07) !important;
}

body.pmidt-ui.pm-theme-civic .table {
    border: 1px solid #dce5e9 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.pmidt-ui.pm-theme-civic .table thead th,
body.pmidt-ui.pm-theme-civic .table thead td,
body.pmidt-ui.pm-theme-civic .table-primary,
body.pmidt-ui.pm-theme-civic .table-primary > th,
body.pmidt-ui.pm-theme-civic .table-primary > td {
    background: linear-gradient(180deg, var(--exec-navy), #173540) !important;
    color: #fff !important;
    font-size: 0.92rem !important;
    font-weight: 900 !important;
}

body.pmidt-ui.pm-theme-civic .table td,
body.pmidt-ui.pm-theme-civic .table th {
    padding: 0.6rem 0.72rem !important;
    border-color: #e6edf0 !important;
}

body.pmidt-ui.pm-theme-civic .table tbody tr:nth-child(even) {
    background: #fbfcfc !important;
}

body.pmidt-ui.pm-theme-civic .iw-highlight-cell {
    background: linear-gradient(90deg, rgba(198, 155, 78, 0.16), rgba(40, 95, 108, 0.07)) !important;
}

body.pmidt-ui.pm-theme-civic .form-control,
body.pmidt-ui.pm-theme-civic .form-select,
body.pmidt-ui.pm-theme-civic .dx-texteditor-input {
    min-height: 39px !important;
    border: 1px solid #d4dee3 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: var(--exec-ink) !important;
}

body.pmidt-ui.pm-theme-civic .pmidt-footer-shell {
    min-height: 38px !important;
    border: 0 !important;
    border-top: 2px solid var(--exec-gold) !important;
    border-radius: 0 !important;
    background: linear-gradient(90deg, var(--exec-navy), var(--exec-navy-2)) !important;
}

@media (max-width: 1400px) {
    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
    }
}

@media (max-width: 992px) {
    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    body.pmidt-ui.pm-theme-civic .bodycontainer {
        padding: 0.65rem 0.55rem 5.4rem !important;
    }

    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 430px) {
    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: 1fr !important;
    }
}

/* InsuranceWork executive command bar */
body.pmidt-ui.pm-theme-civic .iw-toolbar-kicker {
    color: var(--exec-gold) !important;
    font-size: 0.74rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-subtitle {
    color: #5e7078 !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-command-panel {
    display: grid !important;
    grid-template-columns: minmax(220px, 0.78fr) minmax(330px, 1.24fr) minmax(430px, 1.42fr) minmax(330px, 1.2fr) !important;
    gap: 0.62rem !important;
    align-items: stretch !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-group {
    min-width: 0 !important;
    padding: 0.62rem !important;
    border: 1px solid rgba(19, 45, 56, 0.1) !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(247,249,250,0.96)) !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-primary {
    background: linear-gradient(180deg, rgba(248,250,251,0.98), rgba(239,246,247,0.98)) !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-support {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(249,247,242,0.98)) !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-group-title {
    margin: 0 0 0.46rem !important;
    color: #435861 !important;
    font-size: 0.78rem !important;
    font-weight: 900 !important;
    text-align: center !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-row {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)) !important;
    gap: 0.44rem !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-row .btn {
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 0.48rem 0.55rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 7px !important;
    line-height: 1.18 !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-row .btn span {
    display: inline-block !important;
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-row .btn i {
    margin-inline-end: 0.38rem !important;
    margin-inline-start: 0 !important;
}

@media (max-width: 1500px) {
    body.pmidt-ui.pm-theme-civic .iw-toolbar-command-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 820px) {
    body.pmidt-ui.pm-theme-civic .iw-toolbar-command-panel {
        grid-template-columns: 1fr !important;
    }
}

/* Final color identity: premium executive palette */
body.pmidt-ui.pm-theme-civic {
    --brand-ink: #12202a;
    --brand-midnight: #0d2533;
    --brand-ocean: #164862;
    --brand-blue: #246b8e;
    --brand-teal: #1d8c86;
    --brand-mint: #e8f6f3;
    --brand-gold: #c8a45d;
    --brand-gold-soft: #f1dfb0;
    --brand-silver: #eef3f6;
    --brand-line: #d8e3e8;
    --brand-red: #b75b54;
    --brand-green: #3f8462;
    --exec-ink: var(--brand-ink);
    --exec-navy: var(--brand-midnight);
    --exec-navy-2: var(--brand-ocean);
    --exec-petrol: var(--brand-blue);
    --exec-teal: var(--brand-teal);
    --exec-gold: var(--brand-gold);
    --exec-red: var(--brand-red);
    --exec-green: var(--brand-green);
    --pm-color-primary: var(--brand-blue);
    --pm-color-primary-2: var(--brand-teal);
    --pm-color-warning: var(--brand-gold);
    background:
        radial-gradient(circle at 12% -10%, rgba(200, 164, 93, 0.18), transparent 26%),
        radial-gradient(circle at 90% 4%, rgba(29, 140, 134, 0.12), transparent 28%),
        linear-gradient(180deg, #fbfdfe 0%, #f3f7f9 46%, #eaf1f4 100%) !important;
}

body.pmidt-ui.pm-theme-civic .navbar.navbar-light.bg-light {
    border-bottom-color: var(--brand-gold) !important;
    background: linear-gradient(90deg, #0d2533 0%, #12384d 48%, #164862 100%) !important;
}

body.pmidt-ui.pm-theme-civic .navbar-brand {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(241, 223, 176, 0.26) !important;
}

body.pmidt-ui.pm-theme-civic .navbar .nav-link:hover,
body.pmidt-ui.pm-theme-civic .navbar .nav-link:focus,
body.pmidt-ui.pm-theme-civic .navbar .dropdown.show > .nav-link {
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: inset 0 -2px 0 var(--brand-gold-soft) !important;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:hover,
body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(36, 107, 142, 0.1), rgba(200, 164, 93, 0.14)) !important;
    color: var(--brand-midnight) !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-shell,
body.pmidt-ui.pm-theme-civic .iw-action-group {
    border-color: rgba(36, 107, 142, 0.13) !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 252, 0.98)) !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-primary {
    background: linear-gradient(180deg, #ffffff, #eef8f7) !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-support {
    background: linear-gradient(180deg, #ffffff, #faf7ef) !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-kicker {
    color: var(--brand-gold) !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-title,
body.pmidt-ui.pm-theme-civic .iw-subtitle-wrap #titles {
    color: var(--brand-midnight) !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-group-title {
    color: #42606d !important;
}

body.pmidt-ui.pm-theme-civic .btn-primary,
body.pmidt-ui.pm-theme-civic .iw-page .btn-primary {
    background: linear-gradient(135deg, var(--brand-blue), var(--brand-ocean)) !important;
}

body.pmidt-ui.pm-theme-civic .btn-primary:hover,
body.pmidt-ui.pm-theme-civic .iw-page .btn-primary:hover {
    background: linear-gradient(135deg, #1d5f80, var(--brand-teal)) !important;
}

body.pmidt-ui.pm-theme-civic .btn-secondary,
body.pmidt-ui.pm-theme-civic .iw-page .btn-secondary {
    background: linear-gradient(135deg, #607682, #4b626e) !important;
}

body.pmidt-ui.pm-theme-civic .btn-danger,
body.pmidt-ui.pm-theme-civic .iw-page .btn-danger {
    background: linear-gradient(135deg, var(--brand-red), #9f4c46) !important;
}

body.pmidt-ui.pm-theme-civic .btn-success,
body.pmidt-ui.pm-theme-civic .iw-page .btn-success {
    background: linear-gradient(135deg, var(--brand-green), #2f7155) !important;
}

body.pmidt-ui.pm-theme-civic .btn-warning,
body.pmidt-ui.pm-theme-civic .iw-page .btn-warning {
    background: linear-gradient(135deg, #e0bf78, var(--brand-gold)) !important;
    color: var(--brand-midnight) !important;
}

body.pmidt-ui.pm-theme-civic .btn-info,
body.pmidt-ui.pm-theme-civic .iw-page .btn-info {
    background: linear-gradient(135deg, var(--brand-teal), #176f6c) !important;
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action.active {
    background: linear-gradient(135deg, var(--brand-midnight), var(--brand-ocean)) !important;
    border-color: rgba(200, 164, 93, 0.58) !important;
    box-shadow: inset 0 -3px 0 var(--brand-gold), 0 12px 26px rgba(13, 37, 51, 0.2) !important;
}

body.pmidt-ui.pm-theme-civic .table thead th,
body.pmidt-ui.pm-theme-civic .table thead td,
body.pmidt-ui.pm-theme-civic .table-primary,
body.pmidt-ui.pm-theme-civic .table-primary > th,
body.pmidt-ui.pm-theme-civic .table-primary > td,
body.pmidt-ui.pm-theme-civic .dx-datagrid-headers {
    background: linear-gradient(180deg, var(--brand-midnight), var(--brand-ocean)) !important;
}

body.pmidt-ui.pm-theme-civic .table-hover tbody tr:hover {
    background: linear-gradient(90deg, rgba(36, 107, 142, 0.07), rgba(29, 140, 134, 0.06)) !important;
}

body.pmidt-ui.pm-theme-civic .iw-highlight-cell {
    background: linear-gradient(90deg, rgba(200, 164, 93, 0.16), rgba(36, 107, 142, 0.07)) !important;
}

body.pmidt-ui.pm-theme-civic .form-control:focus,
body.pmidt-ui.pm-theme-civic .form-select:focus {
    border-color: var(--brand-blue) !important;
    box-shadow: 0 0 0 0.2rem rgba(36, 107, 142, 0.18) !important;
}

body.pmidt-ui.pm-theme-civic .pmidt-footer-shell {
    border-top-color: var(--brand-gold) !important;
    background: linear-gradient(90deg, var(--brand-midnight), var(--brand-ocean)) !important;
}

/* Final color identity v2: graphite, ivory, burgundy, champagne */
body.pmidt-ui.pm-theme-civic {
    --lux-ink: #1f2528;
    --lux-graphite: #252b2f;
    --lux-graphite-2: #343d42;
    --lux-charcoal: #40484d;
    --lux-burgundy: #7e3438;
    --lux-burgundy-2: #9c474c;
    --lux-champagne: #c8a96a;
    --lux-champagne-soft: #f0dfb5;
    --lux-ivory: #fbfaf7;
    --lux-mist: #f1f2ef;
    --lux-line: #dedbd3;
    --lux-green: #567760;
    --lux-red: #a14f4f;
    --exec-ink: var(--lux-ink);
    --exec-navy: var(--lux-graphite);
    --exec-navy-2: var(--lux-graphite-2);
    --exec-petrol: var(--lux-burgundy);
    --exec-teal: var(--lux-charcoal);
    --exec-gold: var(--lux-champagne);
    --exec-red: var(--lux-red);
    --exec-green: var(--lux-green);
    --brand-midnight: var(--lux-graphite);
    --brand-ocean: var(--lux-graphite-2);
    --brand-blue: var(--lux-burgundy);
    --brand-teal: var(--lux-charcoal);
    --brand-gold: var(--lux-champagne);
    --brand-red: var(--lux-red);
    --brand-green: var(--lux-green);
    --pm-color-primary: var(--lux-burgundy);
    --pm-color-primary-2: var(--lux-burgundy-2);
    --pm-color-warning: var(--lux-champagne);
    color: var(--lux-ink);
    background:
        radial-gradient(circle at 10% -12%, rgba(200, 169, 106, 0.22), transparent 27%),
        radial-gradient(circle at 92% 2%, rgba(126, 52, 56, 0.1), transparent 30%),
        linear-gradient(180deg, var(--lux-ivory) 0%, #f5f4f0 48%, #ebece8 100%) !important;
}

body.pmidt-ui.pm-theme-civic .navbar.navbar-light.bg-light {
    border-bottom-color: var(--lux-champagne) !important;
    background: linear-gradient(90deg, #202529 0%, #343d42 58%, #4b4032 100%) !important;
}

body.pmidt-ui.pm-theme-civic .navbar-brand {
    background: rgba(255, 255, 255, 0.09) !important;
    border-color: rgba(240, 223, 181, 0.28) !important;
}

body.pmidt-ui.pm-theme-civic .navbar .nav-link:hover,
body.pmidt-ui.pm-theme-civic .navbar .nav-link:focus,
body.pmidt-ui.pm-theme-civic .navbar .dropdown.show > .nav-link {
    background: rgba(255, 255, 255, 0.12) !important;
    box-shadow: inset 0 -2px 0 var(--lux-champagne-soft) !important;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu {
    border-color: rgba(64, 72, 77, 0.16) !important;
    background: rgba(255, 254, 251, 0.99) !important;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:hover,
body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(126, 52, 56, 0.1), rgba(200, 169, 106, 0.16)) !important;
    color: var(--lux-graphite) !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-shell,
body.pmidt-ui.pm-theme-civic .iw-action-group {
    border-color: rgba(64, 72, 77, 0.13) !important;
    background: linear-gradient(180deg, rgba(255, 254, 251, 0.98), rgba(247, 246, 242, 0.98)) !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-primary {
    background: linear-gradient(180deg, #fffefb, #f7f1ed) !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-support {
    background: linear-gradient(180deg, #fffefb, #f5f1e8) !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-kicker {
    color: var(--lux-burgundy-2) !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-title,
body.pmidt-ui.pm-theme-civic .iw-subtitle-wrap #titles {
    color: var(--lux-graphite) !important;
}

body.pmidt-ui.pm-theme-civic .iw-action-group-title {
    color: #6a5f52 !important;
}

body.pmidt-ui.pm-theme-civic .btn-primary,
body.pmidt-ui.pm-theme-civic .iw-page .btn-primary {
    background: linear-gradient(135deg, var(--lux-burgundy), var(--lux-burgundy-2)) !important;
}

body.pmidt-ui.pm-theme-civic .btn-primary:hover,
body.pmidt-ui.pm-theme-civic .iw-page .btn-primary:hover {
    background: linear-gradient(135deg, #6f2d31, #8f3d42) !important;
}

body.pmidt-ui.pm-theme-civic .btn-secondary,
body.pmidt-ui.pm-theme-civic .iw-page .btn-secondary {
    background: linear-gradient(135deg, var(--lux-charcoal), #596166) !important;
}

body.pmidt-ui.pm-theme-civic .btn-danger,
body.pmidt-ui.pm-theme-civic .iw-page .btn-danger {
    background: linear-gradient(135deg, var(--lux-red), #8c4545) !important;
}

body.pmidt-ui.pm-theme-civic .btn-success,
body.pmidt-ui.pm-theme-civic .iw-page .btn-success {
    background: linear-gradient(135deg, var(--lux-green), #486a52) !important;
}

body.pmidt-ui.pm-theme-civic .btn-warning,
body.pmidt-ui.pm-theme-civic .iw-page .btn-warning {
    background: linear-gradient(135deg, #ddc17e, var(--lux-champagne)) !important;
    color: var(--lux-graphite) !important;
}

body.pmidt-ui.pm-theme-civic .btn-info,
body.pmidt-ui.pm-theme-civic .iw-page .btn-info {
    background: linear-gradient(135deg, #6d6260, var(--lux-charcoal)) !important;
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action.active {
    background: linear-gradient(135deg, var(--lux-graphite), #1b2023) !important;
    border-color: rgba(200, 169, 106, 0.62) !important;
    box-shadow: inset 0 -3px 0 var(--lux-champagne), 0 12px 26px rgba(31, 37, 40, 0.2) !important;
}

body.pmidt-ui.pm-theme-civic .table thead th,
body.pmidt-ui.pm-theme-civic .table thead td,
body.pmidt-ui.pm-theme-civic .table-primary,
body.pmidt-ui.pm-theme-civic .table-primary > th,
body.pmidt-ui.pm-theme-civic .table-primary > td,
body.pmidt-ui.pm-theme-civic .dx-datagrid-headers {
    background: linear-gradient(180deg, var(--lux-graphite), #1f2528) !important;
}

body.pmidt-ui.pm-theme-civic .table-hover tbody tr:hover {
    background: linear-gradient(90deg, rgba(126, 52, 56, 0.065), rgba(200, 169, 106, 0.08)) !important;
}

body.pmidt-ui.pm-theme-civic .iw-highlight-cell {
    background: linear-gradient(90deg, rgba(200, 169, 106, 0.18), rgba(126, 52, 56, 0.06)) !important;
}

body.pmidt-ui.pm-theme-civic .form-control:focus,
body.pmidt-ui.pm-theme-civic .form-select:focus {
    border-color: var(--lux-burgundy) !important;
    box-shadow: 0 0 0 0.2rem rgba(126, 52, 56, 0.16) !important;
}

body.pmidt-ui.pm-theme-civic .pmidt-footer-shell {
    border-top-color: var(--lux-champagne) !important;
    background: linear-gradient(90deg, var(--lux-graphite), #343d42) !important;
}

/* Boardroom theme v3: executive-grade corporate interface */
body.pmidt-ui.pm-theme-civic {
    --exec-ink: #17232b;
    --exec-navy: #132d38;
    --exec-navy-2: #1e4654;
    --exec-petrol: #285f6c;
    --exec-teal: #327a78;
    --exec-gold: #c69b4e;
    --exec-gold-soft: #ead8aa;
    --exec-red: #a85d56;
    --exec-green: #4b7d5c;
    --exec-steel: #6a7b83;
    --exec-line: #d7e0e4;
    --exec-paper: #ffffff;
    --exec-bg: #eef3f5;
    --exec-bg-2: #f7f9fa;
    --pm-color-primary: var(--exec-petrol);
    --pm-color-primary-2: var(--exec-teal);
    --pm-color-ink: var(--exec-ink);
    --pm-color-muted: #61727a;
    --pm-color-border: var(--exec-line);
    --pm-color-surface: var(--exec-paper);
    --pm-color-surface-soft: #f4f7f8;
    --pm-color-success: var(--exec-green);
    --pm-color-danger: var(--exec-red);
    --pm-color-warning: var(--exec-gold);
    --pm-shadow-sm: 0 10px 24px rgba(19, 45, 56, 0.08);
    --pm-shadow-md: 0 18px 44px rgba(19, 45, 56, 0.12);
    --pm-shadow-lg: 0 30px 76px rgba(19, 45, 56, 0.16);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.72), rgba(238,243,245,0.9)),
        radial-gradient(circle at 18% -8%, rgba(198,155,78,0.2), transparent 30%),
        radial-gradient(circle at 96% 10%, rgba(50,122,120,0.12), transparent 32%),
        linear-gradient(180deg, var(--exec-bg-2), var(--exec-bg));
}

body.pmidt-ui.pm-theme-civic .pmidt-header-shell {
    padding: 0;
    background: transparent;
}

body.pmidt-ui.pm-theme-civic .navbar.navbar-light.bg-light {
    min-height: 68px;
    margin: 0;
    border: 0;
    border-bottom: 3px solid var(--exec-gold);
    border-radius: 0;
    background:
        linear-gradient(90deg, var(--exec-navy) 0%, var(--exec-navy-2) 52%, #3e443c 100%) !important;
    box-shadow: 0 14px 34px rgba(19, 45, 56, 0.18);
}

body.pmidt-ui.pm-theme-civic .navbar .container-fluid {
    max-width: 1860px;
}

body.pmidt-ui.pm-theme-civic .navbar-brand {
    min-width: 196px;
    height: 50px;
    margin-inline-end: 1rem;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    box-shadow: none;
}

body.pmidt-ui.pm-theme-civic .navbar-brand img {
    width: 178px !important;
    height: 42px !important;
    object-fit: contain;
}

body.pmidt-ui.pm-theme-civic .navbar .nav-link {
    min-height: 38px;
    margin: 0 0.08rem;
    padding: 0.42rem 0.62rem;
    border-radius: 7px;
    color: rgba(255,255,255,0.92) !important;
    font-size: 0.88rem;
    font-weight: 750;
}

body.pmidt-ui.pm-theme-civic .navbar .nav-link:hover,
body.pmidt-ui.pm-theme-civic .navbar .nav-link:focus,
body.pmidt-ui.pm-theme-civic .navbar .dropdown.show > .nav-link {
    background: rgba(255,255,255,0.11);
    box-shadow: inset 0 -2px 0 var(--exec-gold-soft);
}

body.pmidt-ui.pm-theme-civic .dropdown-menu {
    min-width: 292px;
    padding: 0.55rem;
    border: 1px solid rgba(19,45,56,0.14);
    border-radius: 10px;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 24px 54px rgba(19,45,56,0.2);
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item {
    min-height: 38px;
    margin: 0.08rem 0;
    padding: 0.52rem 0.64rem;
    border-radius: 7px;
    color: #20323b;
    font-size: 0.9rem;
    font-weight: 700;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:hover,
body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(40,95,108,0.11), rgba(198,155,78,0.14));
    color: var(--exec-navy);
}

body.pmidt-ui.pm-theme-civic .bodycontainer {
    top: auto !important;
    padding: 1rem 1.1rem 5.4rem;
}

body.pmidt-ui.pm-theme-civic .iw-page {
    max-width: 1580px;
    padding-top: 0.4rem;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-shell {
    max-width: 1520px;
    margin: 0 auto 0.85rem;
    padding: 1rem 1rem 1.05rem;
    border: 1px solid rgba(19,45,56,0.12);
    border-radius: 12px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,251,251,0.98));
    box-shadow: 0 18px 46px rgba(19,45,56,0.11);
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-shell::before {
    width: 5px;
    background: linear-gradient(180deg, var(--exec-gold), var(--exec-petrol));
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-head {
    margin-bottom: 0.85rem;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-title {
    color: var(--exec-navy);
    font-size: 1.36rem;
    font-weight: 950;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(150px, 1fr));
    gap: 0.55rem;
    align-items: stretch;
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action,
body.pmidt-ui.pm-theme-civic .iw-page .iw-logout-btn {
    position: relative;
    min-height: 48px;
    width: 100%;
    margin: 0 !important;
    padding: 0.56rem 0.65rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 7px;
    justify-content: center;
    gap: 0.35rem;
    text-align: center;
    white-space: normal;
    line-height: 1.25;
    font-size: 0.92rem;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(19,45,56,0.12);
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action::after,
body.pmidt-ui.pm-theme-civic .iw-page .iw-logout-btn::after {
    content: "";
    position: absolute;
    inset-inline: 10px;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: rgba(255,255,255,0.36);
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action i,
body.pmidt-ui.pm-theme-civic .iw-page .iw-logout-btn i {
    opacity: 0.86;
    font-size: 1rem;
}

body.pmidt-ui.pm-theme-civic .btn-primary,
body.pmidt-ui.pm-theme-civic .iw-page .btn-primary {
    background: linear-gradient(135deg, var(--exec-petrol), #214e5b);
    color: #fff;
}

body.pmidt-ui.pm-theme-civic .btn-secondary,
body.pmidt-ui.pm-theme-civic .iw-page .btn-secondary {
    background: linear-gradient(135deg, #64747c, #53646c);
    color: #fff;
}

body.pmidt-ui.pm-theme-civic .btn-danger,
body.pmidt-ui.pm-theme-civic .iw-page .btn-danger {
    background: linear-gradient(135deg, var(--exec-red), #934e48);
    color: #fff;
}

body.pmidt-ui.pm-theme-civic .btn-success,
body.pmidt-ui.pm-theme-civic .iw-page .btn-success {
    background: linear-gradient(135deg, var(--exec-green), #3e6f52);
    color: #fff;
}

body.pmidt-ui.pm-theme-civic .btn-warning,
body.pmidt-ui.pm-theme-civic .iw-page .btn-warning {
    background: linear-gradient(135deg, #d0aa62, var(--exec-gold));
    color: #17232b;
}

body.pmidt-ui.pm-theme-civic .btn-info,
body.pmidt-ui.pm-theme-civic .iw-page .btn-info {
    background: linear-gradient(135deg, var(--exec-teal), #286665);
    color: #fff;
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action.active {
    background: linear-gradient(135deg, var(--exec-navy), #10242d) !important;
    border-color: rgba(198,155,78,0.46) !important;
    color: #fff !important;
    box-shadow: inset 0 -3px 0 var(--exec-gold), 0 12px 26px rgba(19,45,56,0.2);
}

body.pmidt-ui.pm-theme-civic .iw-subtitle-wrap {
    margin: 0.8rem 0 0.95rem !important;
}

body.pmidt-ui.pm-theme-civic .iw-subtitle-wrap #titles {
    width: min(680px, 94%);
    padding: 0.75rem 1rem !important;
    border: 1px solid rgba(19,45,56,0.1);
    border-radius: 8px;
    background: var(--exec-paper);
    color: var(--exec-navy);
    font-size: 1rem;
    font-weight: 850;
    box-shadow: 0 8px 20px rgba(19,45,56,0.08);
}

body.pmidt-ui.pm-theme-civic .iw-claim-surface {
    max-width: 1520px;
    min-height: 520px;
    margin: 0 auto;
    padding: 0.65rem;
    border: 1px solid rgba(19,45,56,0.1);
    border-radius: 10px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 18px 46px rgba(19,45,56,0.1);
}

body.pmidt-ui.pm-theme-civic .iw-panel,
body.pmidt-ui.pm-theme-civic .iw-table-shell,
body.pmidt-ui.pm-theme-civic .iw-page .table-responsive,
body.pmidt-ui.pm-theme-civic .iw-page .insu,
body.pmidt-ui.pm-theme-civic .iw-partial .table-responsive,
body.pmidt-ui.pm-theme-civic .iw-partial .insu,
body.pmidt-ui.pm-theme-civic .iw-doc-side {
    border: 1px solid rgba(19,45,56,0.1);
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(19,45,56,0.07);
}

body.pmidt-ui.pm-theme-civic .iw-claims-layout {
    gap: 0.55rem;
}

body.pmidt-ui.pm-theme-civic .iw-claims-table-pane {
    padding: 0.28rem;
}

body.pmidt-ui.pm-theme-civic .iw-doc-side {
    background: #fdfefe;
}

body.pmidt-ui.pm-theme-civic .table {
    margin-bottom: 0;
    border: 1px solid #dce5e9;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
}

body.pmidt-ui.pm-theme-civic .table thead th,
body.pmidt-ui.pm-theme-civic .table thead td,
body.pmidt-ui.pm-theme-civic .table-primary,
body.pmidt-ui.pm-theme-civic .table-primary > th,
body.pmidt-ui.pm-theme-civic .table-primary > td {
    background: linear-gradient(180deg, var(--exec-navy), #173540) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.08);
    font-size: 0.92rem;
    font-weight: 900;
}

body.pmidt-ui.pm-theme-civic .table td,
body.pmidt-ui.pm-theme-civic .table th {
    padding: 0.6rem 0.72rem;
    border-color: #e6edf0;
}

body.pmidt-ui.pm-theme-civic .table tbody tr:nth-child(even) {
    background: #fbfcfc;
}

body.pmidt-ui.pm-theme-civic .table-hover tbody tr:hover {
    background: linear-gradient(90deg, rgba(40,95,108,0.065), rgba(198,155,78,0.075));
}

body.pmidt-ui.pm-theme-civic .iw-highlight-cell {
    background: linear-gradient(90deg, rgba(198,155,78,0.16), rgba(40,95,108,0.07)) !important;
}

body.pmidt-ui.pm-theme-civic td .btn.bi,
body.pmidt-ui.pm-theme-civic .iw-partial td .btn.bi,
body.pmidt-ui.pm-theme-civic .iw-partial td .btn[class*=" fa"] {
    min-width: 34px;
    min-height: 32px;
    padding: 0.34rem;
    border-radius: 7px;
    box-shadow: 0 6px 12px rgba(19,45,56,0.12);
}

body.pmidt-ui.pm-theme-civic .form-control,
body.pmidt-ui.pm-theme-civic .form-select,
body.pmidt-ui.pm-theme-civic .dx-texteditor-input {
    min-height: 39px;
    border: 1px solid #d4dee3;
    border-radius: 7px;
    background: #fff;
    color: var(--exec-ink);
    box-shadow: inset 0 1px 2px rgba(19,45,56,0.04);
}

body.pmidt-ui.pm-theme-civic .form-control:focus,
body.pmidt-ui.pm-theme-civic .form-select:focus {
    border-color: var(--exec-petrol);
    box-shadow: 0 0 0 0.2rem rgba(40,95,108,0.18);
}

body.pmidt-ui.pm-theme-civic .dx-datagrid {
    border: 1px solid #dce5e9;
    border-radius: 9px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 24px rgba(19,45,56,0.07);
}

body.pmidt-ui.pm-theme-civic .dx-datagrid-headers {
    background: linear-gradient(180deg, var(--exec-navy), #173540);
}

body.pmidt-ui.pm-theme-civic .dx-datagrid-headers .dx-datagrid-table .dx-row > td {
    color: #fff;
    font-weight: 900;
}

body.pmidt-ui.pm-theme-civic .pmidt-footer-shell {
    min-height: 38px;
    border: 0;
    border-top: 2px solid var(--exec-gold);
    border-radius: 0;
    background: linear-gradient(90deg, var(--exec-navy), var(--exec-navy-2)) !important;
}

@media (max-width: 1400px) {
    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: repeat(4, minmax(150px, 1fr));
    }
}

@media (max-width: 992px) {
    body.pmidt-ui.pm-theme-civic .navbar.navbar-light.bg-light {
        border-radius: 0;
    }

    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    body.pmidt-ui.pm-theme-civic .bodycontainer {
        padding: 0.65rem 0.55rem 5.4rem;
    }

    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action,
    body.pmidt-ui.pm-theme-civic .iw-page .iw-logout-btn {
        min-height: 46px;
        font-size: 0.84rem;
    }
}

@media (max-width: 430px) {
    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: 1fr;
    }
}

/* Executive corporate theme v2 */
body.pmidt-ui.pm-theme-civic {
    --pm-navy-950: #172a35;
    --pm-navy-900: #203844;
    --pm-navy-800: #294d5b;
    --pm-navy-700: #356779;
    --pm-slate-700: #586873;
    --pm-slate-500: #7b8990;
    --pm-slate-200: #dbe3e7;
    --pm-slate-100: #edf2f4;
    --pm-paper: #fbfcfc;
    --pm-ivory: #f7f4ee;
    --pm-gold-700: #9c793b;
    --pm-gold-600: #b8914e;
    --pm-gold-300: #e2c88f;
    --pm-teal-700: #326f70;
    --pm-teal-500: #4f9291;
    --pm-red-600: #a45a52;
    --pm-green-600: #47785a;
    --pm-color-primary: var(--pm-navy-800);
    --pm-color-primary-2: var(--pm-navy-700);
    --pm-color-ink: #1c2930;
    --pm-color-muted: #64747c;
    --pm-color-border: #d7e0e4;
    --pm-color-surface: var(--pm-paper);
    --pm-color-surface-soft: var(--pm-slate-100);
    --pm-color-success: var(--pm-green-600);
    --pm-color-danger: var(--pm-red-600);
    --pm-color-warning: var(--pm-gold-600);
    --pm-radius-sm: 8px;
    --pm-radius-md: 12px;
    --pm-radius-lg: 16px;
    --pm-shadow-sm: 0 8px 18px rgba(23, 42, 53, 0.08);
    --pm-shadow-md: 0 18px 40px rgba(23, 42, 53, 0.14);
    --pm-shadow-lg: 0 26px 64px rgba(23, 42, 53, 0.18);
    --pm-shadow-focus: 0 0 0 0.22rem rgba(53, 103, 121, 0.22);
    color: var(--pm-color-ink);
    background:
        linear-gradient(180deg, rgba(251, 252, 252, 0.98) 0%, rgba(240, 245, 247, 0.98) 48%, rgba(231, 238, 241, 0.98) 100%),
        radial-gradient(circle at 8% 0%, rgba(226, 200, 143, 0.24), transparent 32%),
        radial-gradient(circle at 96% 8%, rgba(79, 146, 145, 0.16), transparent 30%);
}

body.pmidt-ui.pm-theme-civic .pmidt-header-shell {
    padding: 0.55rem 0.8rem 0;
}

body.pmidt-ui.pm-theme-civic .navbar.navbar-light.bg-light {
    min-height: 74px;
    background:
        linear-gradient(115deg, var(--pm-navy-950) 0%, var(--pm-navy-900) 42%, var(--pm-navy-800) 74%, #5e523f 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    box-shadow: 0 18px 44px rgba(23, 42, 53, 0.26);
}

body.pmidt-ui.pm-theme-civic .navbar-brand {
    min-width: 224px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

body.pmidt-ui.pm-theme-civic .navbar .nav-link {
    min-height: 42px;
    padding: 0.48rem 0.78rem;
    border-radius: 8px;
    color: #f7fafb !important;
    font-weight: 700;
}

body.pmidt-ui.pm-theme-civic .navbar .nav-link:hover,
body.pmidt-ui.pm-theme-civic .navbar .nav-link:focus,
body.pmidt-ui.pm-theme-civic .navbar .dropdown.show > .nav-link {
    background: rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 -2px 0 var(--pm-gold-300);
}

body.pmidt-ui.pm-theme-civic .dropdown-menu {
    padding: 0.65rem;
    border: 1px solid rgba(41, 77, 91, 0.18);
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 250, 0.98));
    box-shadow: 0 24px 60px rgba(23, 42, 53, 0.22);
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item {
    position: relative;
    min-height: 40px;
    padding: 0.58rem 0.72rem;
    border-radius: 8px;
    color: #223640;
    font-weight: 700;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item::before {
    content: "";
    width: 3px;
    height: 0;
    position: absolute;
    inset-inline-start: 0;
    top: 8px;
    border-radius: 999px;
    background: var(--pm-gold-600);
    transition: height 0.18s ease;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:hover,
body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(53, 103, 121, 0.11), rgba(226, 200, 143, 0.16));
    color: var(--pm-navy-900);
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:hover::before,
body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item:focus::before {
    height: calc(100% - 16px);
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item i {
    color: var(--pm-navy-700);
}

body.pmidt-ui.pm-theme-civic .dropdown-header,
body.pmidt-ui.pm-theme-civic .dropdown-divider {
    border: 0;
    background: linear-gradient(90deg, rgba(41, 77, 91, 0.1), rgba(226, 200, 143, 0.18)) !important;
    color: var(--pm-navy-900) !important;
}

body.pmidt-ui.pm-theme-civic .bodycontainer {
    padding: 0.9rem 1rem 5.9rem;
}

body.pmidt-ui.pm-theme-civic .btn {
    min-height: 38px;
    border: 0;
    border-radius: 8px;
    font-weight: 800;
    letter-spacing: 0;
    box-shadow: 0 8px 18px rgba(23, 42, 53, 0.12);
}

body.pmidt-ui.pm-theme-civic .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(23, 42, 53, 0.16);
}

body.pmidt-ui.pm-theme-civic .btn-primary {
    background: linear-gradient(135deg, var(--pm-navy-800), var(--pm-navy-700));
    color: #fff;
}

body.pmidt-ui.pm-theme-civic .btn-primary:hover,
body.pmidt-ui.pm-theme-civic .btn-primary:focus {
    background: linear-gradient(135deg, var(--pm-navy-900), var(--pm-teal-700));
}

body.pmidt-ui.pm-theme-civic .btn-secondary {
    background: linear-gradient(135deg, var(--pm-slate-700), #718087);
    color: #fff;
}

body.pmidt-ui.pm-theme-civic .btn-success {
    background: linear-gradient(135deg, #3e704f, #5f946c);
    color: #fff;
}

body.pmidt-ui.pm-theme-civic .btn-danger {
    background: linear-gradient(135deg, #934b45, #b86b61);
    color: #fff;
}

body.pmidt-ui.pm-theme-civic .btn-warning {
    background: linear-gradient(135deg, #d0aa62, var(--pm-gold-600));
    color: #172a35;
}

body.pmidt-ui.pm-theme-civic .btn-info {
    background: linear-gradient(135deg, var(--pm-teal-700), var(--pm-teal-500));
    color: #fff;
}

body.pmidt-ui.pm-theme-civic .form-control,
body.pmidt-ui.pm-theme-civic .form-select,
body.pmidt-ui.pm-theme-civic .dx-texteditor-input {
    min-height: 40px;
    border: 1px solid var(--pm-slate-200);
    border-radius: 8px;
    background: #ffffff;
    color: #1d2d35;
    box-shadow: inset 0 1px 2px rgba(23, 42, 53, 0.04);
}

body.pmidt-ui.pm-theme-civic .form-control:focus,
body.pmidt-ui.pm-theme-civic .form-select:focus {
    border-color: var(--pm-navy-700);
    background: #fff;
}

body.pmidt-ui.pm-theme-civic .table {
    border: 1px solid var(--pm-slate-200);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--pm-shadow-sm);
}

body.pmidt-ui.pm-theme-civic .table thead th,
body.pmidt-ui.pm-theme-civic .table thead td,
body.pmidt-ui.pm-theme-civic .table-primary,
body.pmidt-ui.pm-theme-civic .table-primary > th,
body.pmidt-ui.pm-theme-civic .table-primary > td {
    background: linear-gradient(120deg, var(--pm-navy-950), var(--pm-navy-800)) !important;
    color: #ffffff !important;
    font-weight: 850;
}

body.pmidt-ui.pm-theme-civic .table td,
body.pmidt-ui.pm-theme-civic .table th {
    border-color: #e5ecef;
}

body.pmidt-ui.pm-theme-civic .table tbody tr:nth-child(even) {
    background-color: #fafbfb;
}

body.pmidt-ui.pm-theme-civic .table-hover tbody tr:hover {
    background: linear-gradient(90deg, rgba(53, 103, 121, 0.07), rgba(226, 200, 143, 0.08));
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-shell {
    border: 1px solid rgba(41, 77, 91, 0.16);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 250, 0.98)),
        linear-gradient(120deg, rgba(226, 200, 143, 0.16), transparent 42%);
    box-shadow: var(--pm-shadow-lg);
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-shell::before {
    width: 6px;
    background: linear-gradient(180deg, var(--pm-gold-600), var(--pm-navy-700), var(--pm-teal-500));
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-title {
    color: var(--pm-navy-950);
    font-size: 1.5rem;
    font-weight: 950;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.62rem;
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action,
body.pmidt-ui.pm-theme-civic .iw-page .iw-logout-btn {
    min-height: 50px;
    border-radius: 9px;
    box-shadow: 0 10px 22px rgba(23, 42, 53, 0.13);
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action i,
body.pmidt-ui.pm-theme-civic .iw-page .iw-logout-btn i {
    font-size: 1.1rem;
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action.active {
    background: linear-gradient(135deg, var(--pm-navy-950), var(--pm-navy-800)) !important;
    box-shadow: inset 0 -3px 0 var(--pm-gold-300), 0 14px 30px rgba(23, 42, 53, 0.2);
}

body.pmidt-ui.pm-theme-civic .iw-subtitle-wrap #titles {
    border: 1px solid rgba(41, 77, 91, 0.14);
    background: linear-gradient(120deg, #ffffff, #f5f8f9);
    color: var(--pm-navy-900);
}

body.pmidt-ui.pm-theme-civic .iw-claim-surface,
body.pmidt-ui.pm-theme-civic .iw-panel,
body.pmidt-ui.pm-theme-civic .iw-table-shell,
body.pmidt-ui.pm-theme-civic .iw-page .table-responsive,
body.pmidt-ui.pm-theme-civic .iw-page .insu,
body.pmidt-ui.pm-theme-civic .iw-partial .table-responsive,
body.pmidt-ui.pm-theme-civic .iw-partial .insu,
body.pmidt-ui.pm-theme-civic .iw-doc-side {
    border: 1px solid rgba(41, 77, 91, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--pm-shadow-sm);
}

body.pmidt-ui.pm-theme-civic .iw-panel {
    box-shadow: 0 10px 24px rgba(23, 42, 53, 0.08);
}

body.pmidt-ui.pm-theme-civic .iw-soft-bg {
    background: linear-gradient(120deg, rgba(53, 103, 121, 0.06), rgba(226, 200, 143, 0.11)), #fff;
}

body.pmidt-ui.pm-theme-civic .iw-highlight-cell {
    background: linear-gradient(90deg, rgba(226, 200, 143, 0.18), rgba(53, 103, 121, 0.08)) !important;
}

body.pmidt-ui.pm-theme-civic .dx-datagrid {
    border: 1px solid var(--pm-slate-200);
    border-radius: 12px;
    box-shadow: var(--pm-shadow-sm);
}

body.pmidt-ui.pm-theme-civic .dx-datagrid-headers {
    background: linear-gradient(120deg, var(--pm-navy-950), var(--pm-navy-800));
}

body.pmidt-ui.pm-theme-civic .dx-datagrid-rowsview .dx-row-alt > td {
    background: #fafbfb;
}

body.pmidt-ui.pm-theme-civic .dx-datagrid-rowsview .dx-row:hover > td {
    background: rgba(53, 103, 121, 0.08);
}

body.pmidt-ui.pm-theme-civic .pmidt-footer-shell {
    background: linear-gradient(120deg, var(--pm-navy-950), var(--pm-navy-800), #5e523f) !important;
}

@media (max-width: 768px) {
    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.pmidt-ui.pm-theme-civic .iw-toolbar-title {
        font-size: 1.16rem;
    }
}

@media (max-width: 430px) {
    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: 1fr;
    }
}

/* Final executive lock: this block intentionally stays last. */
body.pmidt-ui.pm-theme-civic {
    --exec-ink: #17232b;
    --exec-navy: #132d38;
    --exec-navy-2: #1e4654;
    --exec-petrol: #285f6c;
    --exec-teal: #327a78;
    --exec-gold: #c69b4e;
    --exec-red: #a85d56;
    --exec-green: #4b7d5c;
    color: var(--exec-ink);
    background: linear-gradient(180deg, #f8fafb 0%, #eef3f5 54%, #e7eef1 100%) !important;
}

body.pmidt-ui.pm-theme-civic .pmidt-header-shell {
    padding: 0 !important;
    background: transparent !important;
}

body.pmidt-ui.pm-theme-civic .navbar.navbar-light.bg-light {
    min-height: 68px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 3px solid var(--exec-gold) !important;
    border-radius: 0 !important;
    background: linear-gradient(90deg, var(--exec-navy) 0%, var(--exec-navy-2) 55%, #3e443c 100%) !important;
    box-shadow: 0 14px 34px rgba(19, 45, 56, 0.18) !important;
}

body.pmidt-ui.pm-theme-civic .navbar .container-fluid {
    max-width: 1860px;
}

body.pmidt-ui.pm-theme-civic .navbar-brand {
    min-width: 196px !important;
    height: 50px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

body.pmidt-ui.pm-theme-civic .navbar-brand img {
    width: 178px !important;
    height: 42px !important;
    object-fit: contain;
}

body.pmidt-ui.pm-theme-civic .navbar .nav-link {
    min-height: 38px !important;
    padding: 0.42rem 0.62rem !important;
    border-radius: 7px !important;
    color: rgba(255, 255, 255, 0.94) !important;
    font-size: 0.88rem !important;
    font-weight: 750 !important;
}

body.pmidt-ui.pm-theme-civic .navbar .nav-link:hover,
body.pmidt-ui.pm-theme-civic .navbar .nav-link:focus,
body.pmidt-ui.pm-theme-civic .navbar .dropdown.show > .nav-link {
    background: rgba(255, 255, 255, 0.11) !important;
    box-shadow: inset 0 -2px 0 #ead8aa !important;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu {
    min-width: 292px !important;
    padding: 0.55rem !important;
    border: 1px solid rgba(19, 45, 56, 0.14) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 24px 54px rgba(19, 45, 56, 0.2) !important;
}

body.pmidt-ui.pm-theme-civic .dropdown-menu .dropdown-item {
    min-height: 38px !important;
    margin: 0.08rem 0 !important;
    padding: 0.52rem 0.64rem !important;
    border-radius: 7px !important;
    color: #20323b !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

body.pmidt-ui.pm-theme-civic .bodycontainer {
    top: auto !important;
    padding: 1rem 1.1rem 5.4rem !important;
}

body.pmidt-ui.pm-theme-civic .iw-page {
    max-width: 1580px !important;
    padding-top: 0.4rem !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-shell {
    max-width: 1520px !important;
    margin: 0 auto 0.85rem !important;
    padding: 1rem 1rem 1.05rem !important;
    border: 1px solid rgba(19, 45, 56, 0.12) !important;
    border-radius: 12px !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 251, 251, 0.98)) !important;
    box-shadow: 0 18px 46px rgba(19, 45, 56, 0.11) !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-shell::before {
    width: 5px !important;
    background: linear-gradient(180deg, var(--exec-gold), var(--exec-petrol)) !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-title {
    color: var(--exec-navy) !important;
    font-size: 1.36rem !important;
    font-weight: 950 !important;
}

body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
    display: grid !important;
    grid-template-columns: repeat(6, minmax(150px, 1fr)) !important;
    gap: 0.55rem !important;
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action,
body.pmidt-ui.pm-theme-civic .iw-page .iw-logout-btn {
    min-height: 48px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0.56rem 0.65rem !important;
    border-radius: 7px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    font-size: 0.92rem !important;
    font-weight: 850 !important;
    box-shadow: 0 8px 18px rgba(19, 45, 56, 0.12) !important;
}

body.pmidt-ui.pm-theme-civic .btn-primary,
body.pmidt-ui.pm-theme-civic .iw-page .btn-primary {
    background: linear-gradient(135deg, var(--exec-petrol), #214e5b) !important;
    color: #fff !important;
}

body.pmidt-ui.pm-theme-civic .btn-secondary,
body.pmidt-ui.pm-theme-civic .iw-page .btn-secondary {
    background: linear-gradient(135deg, #64747c, #53646c) !important;
    color: #fff !important;
}

body.pmidt-ui.pm-theme-civic .btn-danger,
body.pmidt-ui.pm-theme-civic .iw-page .btn-danger {
    background: linear-gradient(135deg, var(--exec-red), #934e48) !important;
    color: #fff !important;
}

body.pmidt-ui.pm-theme-civic .btn-success,
body.pmidt-ui.pm-theme-civic .iw-page .btn-success {
    background: linear-gradient(135deg, var(--exec-green), #3e6f52) !important;
    color: #fff !important;
}

body.pmidt-ui.pm-theme-civic .btn-warning,
body.pmidt-ui.pm-theme-civic .iw-page .btn-warning {
    background: linear-gradient(135deg, #d0aa62, var(--exec-gold)) !important;
    color: #17232b !important;
}

body.pmidt-ui.pm-theme-civic .btn-info,
body.pmidt-ui.pm-theme-civic .iw-page .btn-info {
    background: linear-gradient(135deg, var(--exec-teal), #286665) !important;
    color: #fff !important;
}

body.pmidt-ui.pm-theme-civic .iw-page .js-iw-action.active {
    background: linear-gradient(135deg, var(--exec-navy), #10242d) !important;
    border-color: rgba(198, 155, 78, 0.46) !important;
    box-shadow: inset 0 -3px 0 var(--exec-gold), 0 12px 26px rgba(19, 45, 56, 0.2) !important;
}

body.pmidt-ui.pm-theme-civic .iw-subtitle-wrap #titles {
    width: min(680px, 94%) !important;
    padding: 0.75rem 1rem !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--exec-navy) !important;
    font-size: 1rem !important;
    font-weight: 850 !important;
    box-shadow: 0 8px 20px rgba(19, 45, 56, 0.08) !important;
}

body.pmidt-ui.pm-theme-civic .iw-claim-surface {
    max-width: 1520px !important;
    min-height: 520px !important;
    margin: 0 auto !important;
    padding: 0.65rem !important;
    border: 1px solid rgba(19, 45, 56, 0.1) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.92) !important;
    box-shadow: 0 18px 46px rgba(19, 45, 56, 0.1) !important;
}

body.pmidt-ui.pm-theme-civic .iw-panel,
body.pmidt-ui.pm-theme-civic .iw-table-shell,
body.pmidt-ui.pm-theme-civic .iw-page .table-responsive,
body.pmidt-ui.pm-theme-civic .iw-page .insu,
body.pmidt-ui.pm-theme-civic .iw-partial .table-responsive,
body.pmidt-ui.pm-theme-civic .iw-partial .insu,
body.pmidt-ui.pm-theme-civic .iw-doc-side {
    border: 1px solid rgba(19, 45, 56, 0.1) !important;
    border-radius: 9px !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(19, 45, 56, 0.07) !important;
}

body.pmidt-ui.pm-theme-civic .table {
    border: 1px solid #dce5e9 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
}

body.pmidt-ui.pm-theme-civic .table thead th,
body.pmidt-ui.pm-theme-civic .table thead td,
body.pmidt-ui.pm-theme-civic .table-primary,
body.pmidt-ui.pm-theme-civic .table-primary > th,
body.pmidt-ui.pm-theme-civic .table-primary > td {
    background: linear-gradient(180deg, var(--exec-navy), #173540) !important;
    color: #fff !important;
    font-size: 0.92rem !important;
    font-weight: 900 !important;
}

body.pmidt-ui.pm-theme-civic .table td,
body.pmidt-ui.pm-theme-civic .table th {
    padding: 0.6rem 0.72rem !important;
    border-color: #e6edf0 !important;
}

body.pmidt-ui.pm-theme-civic .table tbody tr:nth-child(even) {
    background: #fbfcfc !important;
}

body.pmidt-ui.pm-theme-civic .iw-highlight-cell {
    background: linear-gradient(90deg, rgba(198, 155, 78, 0.16), rgba(40, 95, 108, 0.07)) !important;
}

body.pmidt-ui.pm-theme-civic .form-control,
body.pmidt-ui.pm-theme-civic .form-select,
body.pmidt-ui.pm-theme-civic .dx-texteditor-input {
    min-height: 39px !important;
    border: 1px solid #d4dee3 !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: var(--exec-ink) !important;
}

body.pmidt-ui.pm-theme-civic .pmidt-footer-shell {
    min-height: 38px !important;
    border: 0 !important;
    border-top: 2px solid var(--exec-gold) !important;
    border-radius: 0 !important;
    background: linear-gradient(90deg, var(--exec-navy), var(--exec-navy-2)) !important;
}

@media (max-width: 1400px) {
    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: repeat(4, minmax(150px, 1fr)) !important;
    }
}

@media (max-width: 992px) {
    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    body.pmidt-ui.pm-theme-civic .bodycontainer {
        padding: 0.65rem 0.55rem 5.4rem !important;
    }

    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 430px) {
    body.pmidt-ui.pm-theme-civic .iw-toolbar-grid {
        grid-template-columns: 1fr !important;
    }
}
