/* Opt-in presentation only. Do not override root tokens or unmarked shared drawers. */
body.reskin {
    --reskin-blue: #2461e9;
    --reskin-navy: #172d60;
    --reskin-ink: #253b5b;
    --reskin-muted: #647895;
    --reskin-line: #e1e8f2;
    --reskin-page: #f6f8fb;
    --reskin-sidebar-width: 216px;
    --reskin-topbar-height: 65px;
    background: var(--reskin-page) !important;
}

.reskin .reskin-skip {
    position: fixed;
    top: -80px;
    left: 16px;
    z-index: 1060;
    padding: 12px 18px;
    background: white;
    border: 2px solid var(--reskin-blue);
    border-radius: 8px;
}

.reskin .reskin-skip:focus {
    top: 12px;
}

.reskin .reskin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1000;
    width: var(--reskin-sidebar-width);
    display: flex;
    flex-direction: column;
    padding: 24px 16px 16px;
    background: var(--reskin-navy);
    color: #c0cde5;
}

.reskin .reskin-brand {
    display: block;
    flex: none;
    padding: 0 14px 20px;
    color: white;
}
.reskin .reskin-brand img {
    display: block;
    width: 112px;
    height: auto;
}
.reskin .reskin-brand > span {
    display: block;
    margin-top: 12px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #afc7f3;
}

.reskin .reskin-company {
    display: flex;
    flex: none;
    gap: 10px;
    align-items: center;
    padding: 13px 11px;
    border: 1px solid #ffffff18;
    border-radius: 8px;
    margin: 5px 0 8px;
    color: #c0cde5;
    text-decoration: none;
    cursor: pointer;
}
.reskin .reskin-company:hover { background: #ffffff0c; border-color: #ffffff38; color: white; }
.reskin .reskin-company:focus-visible { background: #ffffff0c; outline: 2px solid #75a9ff; outline-offset: 3px; }
.reskin .reskin-company > i { flex: none; }
.reskin .reskin-company > div {
    flex: 1;
    min-width: 0;
}
.reskin .reskin-company strong {
    display: block;
    font-size: 12px;
    color: white;
    overflow-wrap: anywhere;
}
.reskin .reskin-company span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
}
.reskin .reskin-sidebar-links {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    scrollbar-width: thin;
    scrollbar-color: #526b94 transparent;
}
.reskin .reskin-sidebar-links:hover {
    scrollbar-color: #809ac1 transparent;
}
/* Edge/WebKit: remove native arrow buttons and keep the navy track visible. */
@supports selector(::-webkit-scrollbar) {
    .reskin .reskin-sidebar-links,
    .reskin .reskin-sidebar-links:hover {
        scrollbar-width: auto;
        scrollbar-color: auto;
    }
    .reskin .reskin-sidebar-links::-webkit-scrollbar { width: 6px; }
    .reskin .reskin-sidebar-links::-webkit-scrollbar-track { background: transparent; }
    .reskin .reskin-sidebar-links::-webkit-scrollbar-thumb { background: #526b94; border-radius: 6px; }
    .reskin .reskin-sidebar-links::-webkit-scrollbar-thumb:hover { background: #809ac1; }
    .reskin .reskin-sidebar-links::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
    .reskin .reskin-sidebar-links::-webkit-scrollbar-corner { background: transparent; }
}
.reskin .reskin-nav-label {
    margin: 14px 14px 6px;
    color: #9ab2de;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 10px;
}
.reskin .reskin-sidebar-links > .reskin-nav-label:first-child { margin-top: 8px; }
.reskin .reskin-sidebar-links a {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 9px 14px;
    margin-bottom: 2px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #c0cde5;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
}
.reskin .reskin-sidebar-links a:hover {
    background: #ffffff0c;
    color: white;
}
.reskin .reskin-sidebar-links a.active {
    background: #2e4f89;
    color: white;
    box-shadow: inset 3px 0 #75a9ff;
}
.reskin .reskin-sidebar .reskin-sidebar-links a:focus-visible { outline-offset: -3px; }

.reskin .reskin-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: var(--reskin-topbar-height);
    margin-left: var(--reskin-sidebar-width);
    padding: 0 30px;
    border-bottom: 1px solid var(--reskin-line);
    background: white;
}
.reskin .reskin-topbar-location,
.reskin .reskin-topbar nav {
    display: flex;
    align-items: center;
    gap: 14px;
}
.reskin .reskin-topbar nav {
    color: var(--reskin-muted);
    font-size: 12px;
}
.reskin .reskin-topbar nav [aria-current] {
    color: var(--reskin-ink);
}
.reskin .reskin-profile-button,
.reskin .reskin-mobile-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--reskin-line);
    border-radius: 8px;
    background: #f8faff;
    color: #416393;
    font-size: 12px;
}
.reskin .reskin-profile-button {
    width: 44px;
    height: 44px;
    padding: 5px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
}
.reskin .reskin-avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e0eafd;
    color: #3158a4;
    font-size: 11px;
    font-weight: 650;
}
.reskin .reskin-avatar > span:empty {
    display: none;
}
.reskin .reskin-avatar > span:not(:empty) + i {
    display: none;
}
.reskin .reskin-topbar-actions {
    display: flex;
    align-items: center;
    gap: 13px;
    flex-shrink: 0;
}
.reskin .reskin-notification {
    position: relative;
    display: grid;
    place-items: center;
    width: 30px;
    height: 34px;
    color: #65728a;
    text-decoration: none;
    border-radius: 6px;
}
.reskin .reskin-notification:hover { color: var(--reskin-blue); }
.reskin .action-important-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-height: 30px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #2563eb;
    color: white;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
}
.reskin .action-important-pill:hover {
    background: #1d4ed8;
    color: white;
}
@media (max-width: 480px) {
    .reskin .reskin-topbar,
    .reskin .reskin-topbar-location,
    .reskin .reskin-topbar-actions { gap: 8px; }
    .reskin .reskin-topbar-location,
    .reskin .reskin-topbar nav { min-width: 0; }
    .reskin .reskin-topbar nav > span:first-child,
    .reskin .reskin-topbar nav > i { display: none; }
    .reskin .reskin-topbar nav [aria-current] {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}
.reskin .action-notification-badge {
    position: absolute;
    top: -2px;
    right: -6px;
    min-width: 19px;
    padding: 2px 4px;
    border: 2px solid white;
    border-radius: 12px;
    background: #dc2626;
    color: white;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
}
.reskin .reskin-mobile-menu {
    display: none;
    font-size: 20px;
    padding: 5px 10px;
}

/* Account menu only; related editors retain their own existing presentation. */
.reskin #offcanvasMyProfile.reskin-account-menu {
    width: 414px;
    max-width: 100%;
    border-left: 1px solid #dfe6f1;
    background: white;
    color: #20334f;
    box-shadow: -12px 0 50px #12244a20;
    overflow: hidden;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}
/* This navigation header presents the signed-in identity instead of a panel title. */
.reskin .reskin-account-menu > .offcanvas-header .settings-drawer-close {
    top: 50%;
    transform: translateY(-50%);
}
.reskin .account-menu-identity {
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}
.reskin .account-menu-avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 48px;
    height: 48px;
    border: 1px solid #ffffff30;
    border-radius: 14px;
    background: #ffffff14;
    color: #f4f8ff;
    font-size: 17px;
    font-weight: 600;
}
.reskin .account-menu-avatar > span:empty { display: none; }
.reskin .account-menu-avatar > span:not(:empty) + i { display: none; }
.reskin .account-menu-person { min-width: 0; }
.reskin .reskin-account-menu #lblUserTitle {
    margin: 0 0 5px;
    color: white;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.45px;
    overflow-wrap: anywhere;
}
.reskin .reskin-account-menu #lblUserTitle:empty::before { content: "My Account"; }
.reskin .reskin-account-menu #txtUserEmail {
    margin: 0;
    color: #c7d7f2;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}
.reskin .reskin-account-menu .account-offcanvas-body {
    padding: 20px 18px 16px;
    scrollbar-width: thin;
    scrollbar-color: #c8d5ea transparent;
}
.reskin .reskin-account-menu .account-menu-heading {
    margin: 0 10px 8px;
    color: #7b8aa2;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    letter-spacing: .15em;
    text-transform: uppercase;
}
.reskin .account-menu-row + .account-menu-row { margin-top: 3px; }
.reskin .account-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 45px;
    padding: 9px 11px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #263b59;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
}
.reskin .account-menu-link > span { flex: 1; min-width: 0; }
.reskin .account-menu-link > i:first-child { color: #627eaa; }
.reskin .account-menu-link > i:last-child { color: #98a8bf; }
.reskin .account-menu-link:hover { background: #f0f5fd; color: #1d4c9b; }
.reskin .account-menu-link[aria-current="page"] { background: #f0f5fd; color: #1d4c9b; }
.reskin .account-menu-link:hover > i:first-child { color: #346bc6; }
.reskin .account-menu-company {
    margin-top: 17px;
    padding-top: 18px;
    border-top: 1px solid #edf1f7;
}
.reskin .account-menu-navigation { margin-bottom: 18px; }
.reskin .reskin-account-menu .account-offcanvas-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    padding: 15px 23px max(16px, env(safe-area-inset-bottom));
    border-top: 1px solid #e7edf6;
    background: #fafbfd;
    box-shadow: none;
}
.reskin .reskin-account-menu .account-offcanvas-footer .btn {
    min-height: 44px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}
.reskin .account-menu-switch { border: 1px solid #2461e9; background: #2461e9; color: white; }
.reskin .account-menu-switch:hover { border-color: #1c51c8; background: #1c51c8; color: white; }
.reskin .account-menu-signout { border: 0; background: transparent; color: #60728e; }
.reskin .account-menu-signout:hover { background: #fceff1; color: #a43d4c; }
.reskin .reskin-account-menu :focus-visible { outline: 3px solid #75a5f6; outline-offset: 1px; }
@media (max-width: 480px) {
    .reskin #offcanvasMyProfile.reskin-account-menu { width: 100%; border-left: 0; }
    .reskin .reskin-account-menu .account-offcanvas-body { padding: 17px 14px 14px; }
    .reskin .reskin-account-menu .account-offcanvas-footer { padding-inline: 20px; }
}
@media (max-height: 650px) {
    .reskin .reskin-account-menu .account-offcanvas-body { padding-top: 13px; }
    .reskin .reskin-account-menu .account-offcanvas-footer { padding-block: 10px max(10px, env(safe-area-inset-bottom)); }
    .reskin .account-menu-company { margin-top: 10px; padding-top: 13px; }
}

/* Settings drawers opt in individually; other panels retain their styles. */
.reskin .offcanvas.reskin-settings-drawer {
    width: 460px;
    max-width: 100%;
    overflow: hidden;
    border-left: 1px solid #dce5f1;
    background: white;
    color: var(--reskin-ink);
    box-shadow: -12px 0 60px #172d6020;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}
.reskin .settings-drawer-body {
    min-height: 0;
    padding: 23px 24px 26px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #c9d6e9 transparent;
}
.reskin .settings-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding: 13px 14px;
    border: 1px solid #e6edf7;
    border-radius: 10px;
    background: #f6f9fe;
    overflow-wrap: anywhere;
}
.reskin .settings-identity-avatar {
    display: grid;
    place-items: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #e9f0fe;
    color: #3666af;
    font-size: 12px;
    font-weight: 650;
}
.reskin #lblAccountDetailsInitials:empty { display: none; }
.reskin #lblAccountDetailsInitials:not(:empty) + i { display: none; }
.reskin .settings-identity strong { display: block; font-size: 13px; font-weight: 600; }
.reskin .settings-identity small { display: block; margin-top: 4px; font-size: 11px; color: #7586a0; }
.reskin .settings-section + .settings-section {
    margin-top: 24px;
    padding-top: 22px;
    border-top: 1px solid #edf1f6;
}
.reskin .settings-section h3 {
    margin: 0 0 16px;
    color: #4b6487;
    font-size: 11px;
    font-weight: 650;
    letter-spacing: .07em;
    text-transform: uppercase;
}
.reskin .settings-two-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.reskin .settings-field { min-width: 0; margin-bottom: 17px; }
.reskin .settings-section > .settings-field:last-child { margin-bottom: 0; }
.reskin .settings-field .form-label { margin-bottom: 7px; color: #3b506e; font-size: 12px; font-weight: 550; line-height: 1.4; }
.reskin .settings-field .form-control {
    min-width: 0;
    height: 42px;
    padding: 10px 12px;
    border: 1px solid #dbe4f0;
    border-radius: 8px;
    background: white;
    color: #253c5d;
    font-size: 13px;
    line-height: 20px;
}
.reskin .settings-field .form-control:focus { border-color: #6095ed; box-shadow: 0 0 0 3px #2461e912; }
.reskin .settings-field .form-control::placeholder { color: #93a1b4; }
.reskin .settings-field .form-control[readonly] { background: #f5f7fb; color: #61738c; }
.reskin .settings-field .form-text { margin-top: 7px; color: #76869e; font-size: 11px; line-height: 1.6; }
.reskin .settings-field .form-select {
    min-width: 0;
    min-height: 42px;
    padding: 10px 36px 10px 12px;
    border-color: #dbe4f0;
    border-radius: 8px;
    color: #253c5d;
    font-size: 13px;
    line-height: 20px;
}
.reskin .settings-field .form-select:focus { border-color: #6095ed; box-shadow: 0 0 0 3px #2461e912; }
.reskin .settings-company-tag {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 22px;
    color: #6e819c;
    font-size: 11px;
    overflow-wrap: anywhere;
}
.reskin .settings-company-tag > i { flex: none; }
.reskin .settings-company-tag > span { min-width: 0; }
.reskin .company-settings-label { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.reskin .company-settings-label .form-label { flex: 1; margin-bottom: 0; }
.reskin .company-settings-help { display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #6f88aa; }
.reskin .company-settings-help:hover { background: #edf3fc; color: #285ba7; }
.reskin .blackout-date-controls { display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-items: end; gap: 10px; }
.reskin .blackout-date-controls .settings-field { margin-bottom: 0; }
.reskin .blackout-date-controls .settings-two-fields { gap: 10px; }
.reskin .blackout-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}
.reskin .blackout-add:has(#icoSpinBlackOutDate:not(.d-none)) > .cl-plus { display: none; }
.reskin .blackout-period-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 13px; }
.reskin .blackout-period-heading h3 { margin: 0; }
.reskin .blackout-count { padding: 3px 7px; border-radius: 5px; background: #edf3fd; color: #5475a8; font-size: 11px; }
.reskin .blackout-period-list { display: grid; gap: 10px; }
.reskin .blackout-period-card { display: flex; align-items: center; gap: 12px; padding: 14px 12px; border: 1px solid #e1e9f4; border-radius: 10px; background: white; }
.reskin .blackout-date-stamp { flex: none; width: 42px; overflow: hidden; border: 1px solid #dce7f8; border-radius: 8px; background: #f2f6fd; text-align: center; }
.reskin .blackout-date-stamp small { display: block; background: #e7effc; color: #5677aa; font-size: 9px; font-weight: 600; line-height: 19px; text-transform: uppercase; letter-spacing: .06em; }
.reskin .blackout-date-stamp strong { display: block; color: #2c507f; font-size: 19px; font-weight: 550; line-height: 28px; }
.reskin .blackout-period-range { flex: 1; min-width: 0; color: #2c4568; font-size: 12px; font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.reskin .blackout-remove { display: grid; place-items: center; flex: none; width: 44px; min-height: 44px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: #ad5967; }
.reskin .blackout-remove:hover { background: #fdf0f2; color: #b23f53; }
.reskin .blackout-empty { padding: 22px 18px; border: 1px dashed #d5dfed; border-radius: 10px; color: #72839d; text-align: center; }
.reskin .blackout-empty p { margin: 8px 0 0; font-size: 12px; }
@media (max-width: 350px) {
    .reskin .blackout-period-card { gap: 8px; padding-inline: 9px; }
}
.reskin .settings-security-actions { display: grid; gap: 8px; }
.reskin .settings-security-action {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 48px;
    padding: 12px;
    border: 1px solid #e4ebf5;
    border-radius: 9px;
    background: white;
    color: #315581;
    text-align: left;
}
.reskin .settings-security-action:hover { background: #f6f9ff; border-color: #c8d9f0; }
.reskin .settings-security-action > span { flex: 1; font-size: 12px; font-weight: 550; }
.reskin .settings-security-action > i { color: #6081b2; }
.reskin .settings-security-action > i:last-child { color: #99aac0; }
.reskin .settings-password-field { margin-top: 18px; }
.reskin .settings-drawer-footer {
    flex: none;
    padding: 15px 24px max(17px, env(safe-area-inset-bottom));
    border-top: 1px solid #e4ebf5;
    background: #fafbfd;
}
.reskin .settings-drawer-footer p { margin: 0 0 11px; color: #7c8da5; font-size: 10px; line-height: 1.5; }
.reskin .settings-footer-buttons { display: flex; justify-content: flex-end; align-items: center; gap: 10px; flex-wrap: wrap; }
.reskin .settings-footer-buttons .btn,
.reskin .settings-activation-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 20px;
}
.reskin .settings-primary { border: 1px solid var(--reskin-blue); background: var(--reskin-blue); color: white; }
.reskin .settings-primary:hover { background: #1d53ce; color: white; }
.reskin .settings-secondary { border: 1px solid #dce5f1; background: white; color: #60738f; }
.reskin .settings-secondary:hover { background: #f0f4fa; }
.reskin .settings-activation-actions input[type="date"] { max-width: 20rem; }
.reskin .settings-split-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.reskin .settings-split-footer .settings-activation-actions { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.reskin .settings-split-footer > .settings-footer-buttons { margin-left: auto; }
.reskin .reskin-settings-drawer button:focus-visible { outline: 3px solid #83adf5; outline-offset: 3px; }
@media (max-width: 480px) {
    .reskin .offcanvas.reskin-settings-drawer { width: 100%; border-left: 0; }
    .reskin .settings-drawer-body { padding: 21px 20px; }
    .reskin .settings-drawer-footer { padding-inline: 20px; }
    .reskin .settings-two-fields { gap: 10px; }
}
@media (max-width: 350px) {
    .reskin .settings-two-fields { grid-template-columns: 1fr; gap: 0; }
}

.reskin .settings-info-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    padding: 13px 14px;
    border: 1px solid #dfeafc;
    border-radius: 10px;
    background: #f0f6ff;
    overflow-wrap: anywhere;
}
.reskin .settings-info-note > i { flex: none; margin-top: 2px; color: #5483c6; }
.reskin .settings-info-note strong { color: #385d91; font-size: 12px; font-weight: 600; }
.reskin .settings-info-note p { margin: 5px 0 0; color: #617b9e; font-size: 11px; line-height: 1.7; }
.reskin .settings-section .settings-step-title { display: flex; align-items: center; gap: 8px; }
.reskin .settings-step-title > span {
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border: 1px solid #e0e9f8;
    border-radius: 7px;
    background: #f1f6ff;
    color: #6486b8;
    font-size: 10px;
    letter-spacing: 0;
}
.reskin .settings-mfa-box { padding: 16px; border: 1px solid #e2eaf5; border-radius: 10px; background: #f8faff; }
.reskin .reskin-settings-drawer .email-change-mfa-controls {
    display: grid;
    grid-template-columns: minmax(155px, 1.2fr) minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}
.reskin .settings-mfa-box .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 10px 8px;
    border-radius: 8px;
    font-size: 11px;
    white-space: nowrap;
}
.reskin .settings-mfa-box .form-control { width: 100%; height: 44px; letter-spacing: .12em; }
.reskin .settings-mfa-box .form-control::placeholder { letter-spacing: 0; }
.reskin .settings-security-identity { padding: 0 0 20px; border: 0; border-bottom: 1px solid #edf1f6; border-radius: 0; background: none; }
.reskin #lblPasswordAccountInitials:empty { display: none; }
.reskin #lblPasswordAccountInitials:not(:empty) + i { display: none; }
.reskin .settings-password-strength .form-control { flex: 1 1 0; width: 0; border-radius: 8px 0 0 8px; }
.reskin .settings-password-strength .input-group-text { border-color: #dbe4f0; border-radius: 0 8px 8px 0; background: #f5f7fb; font-size: 11px; }
.reskin .settings-danger { border: 1px solid #e4bbc2; background: white; color: #a63247; }
.reskin .settings-danger:hover { background: #fff1f3; color: #89283a; }
/* The existing reader/cancel handlers own state through these two containers. */
.reskin #offcanvasChangeEmail:has(#divEmailChangeForm.d-none) #btnRequestEmailChange,
.reskin #offcanvasChangeEmail:has(#divEmailChangePending.d-none) #btnCancelEmailChange { display: none; }
@media (max-width: 480px) {
    .reskin .reskin-settings-drawer .email-change-mfa-controls { grid-template-columns: 1fr; }
}



.reskin .reskin-workspace {
    margin-left: var(--reskin-sidebar-width);
    padding: 0;
    color: var(--reskin-ink);
    font-size: 13px;
}
.reskin .reskin-page {
    display: flex;
    flex-direction: column;
    height: calc(100vh - var(--reskin-topbar-height));
    height: calc(100dvh - var(--reskin-topbar-height));
    min-height: 500px;
    max-width: 1760px;
    margin: 0 auto;
    padding: 28px 30px 24px;
}
.reskin .reskin-page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.reskin .reskin-eyebrow {
    margin-bottom: 7px;
    color: var(--reskin-muted);
    font-size: 10px;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.reskin .reskin-page-heading h1 {
    margin: 0;
    color: #192941;
    font-size: 28px;
    font-weight: 650;
    letter-spacing: -0.8px;
}
.reskin .reskin-page-heading p {
    margin: 9px 0 0;
    color: var(--reskin-muted);
    font-size: 12px;
}
.reskin .reskin-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-shrink: 0;
    min-height: 40px;
    padding: 10px 15px;
    background: var(--reskin-blue);
    color: white;
    border: 1px solid var(--reskin-blue);
    border-radius: 7px;
    box-shadow: 0 3px 8px #2461e918;
    font-size: 13px;
    font-weight: 600;
}
.reskin .reskin-primary:hover {
    color: white;
    background: #1b4fc4;
    border-color: #1b4fc4;
}
.reskin .reskin-panel {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-height: 0;
    border: 1px solid var(--reskin-line);
    border-radius: 12px;
    background: white;
    box-shadow: 0 5px 18px #172d6004;
    overflow: hidden;
}
.reskin .reskin-tabs.nav.nav-tabs {
    flex-shrink: 0;
    gap: 24px;
    padding: 0 20px;
    border: 0;
    border-bottom: 1px solid var(--reskin-line);
    border-radius: 0;
    background: white;
    backdrop-filter: none;
}
.reskin .reskin-tabs.nav.nav-tabs .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 52px;
    margin: 0;
    padding: 15px 0;
    color: var(--reskin-muted);
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    font-size: 13px;
    font-weight: 500;
}
.reskin .reskin-tabs.nav.nav-tabs .nav-link:hover {
    color: #2455a4;
    background: transparent;
    box-shadow: none;
    transform: none;
}
.reskin .reskin-tabs.nav.nav-tabs .nav-link.active {
    color: #2455a4;
    border-bottom-color: #5f91e8;
    background: transparent;
    box-shadow: none;
}
.reskin-users #companyInvitationCount,
.reskin-users #membershipCount {
    border-radius: 4px !important;
    background: #edf3fd !important;
    color: #416393 !important;
    font-size: 10px;
}
.reskin-users #adminUsersTabContent {
    display: flex;
    flex: 1;
    min-height: 0;
}
.reskin-users #adminUsersTabContent > .tab-pane.active {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
}
.reskin .reskin-grid {
    flex: 1;
    min-height: 0;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #cbd8ec #f8faff;
}
.reskin .reskin-table {
    width: 100%;
    margin: 0;
    color: var(--reskin-ink);
}
.reskin .reskin-table .th-sticky {
    z-index: 2;
    border: 0 !important;
}
.reskin .reskin-table .td-cell {
    padding: 18px 12px !important;
    border-bottom-color: #edf1f6;
    color: #536a89;
    font-size: 13px;
    overflow-wrap: anywhere;
}
.reskin .reskin-table th.td-cell {
    padding-block: 14px !important;
    background: #f9fbfe;
    color: #607693;
    font-size: 11px;
    font-weight: 600;
}
.reskin .reskin-table .td-cell:first-child {
    padding-left: 20px !important;
}
.reskin .reskin-table .td-cell:last-child {
    padding-right: 20px !important;
}
.reskin .reskin-table tbody tr:hover > * {
    background: #f7faff !important;
}
.reskin .reskin-table .lastupdateby {
    color: #6d809c !important;
    font-size: 12px;
}
.reskin .reskin-table .custom-text {
    color: #536a89;
}
.reskin-users #tbUsers td:nth-child(1) {
    min-width: 100px;
}
.reskin-users #tbUsers td:nth-child(2) {
    min-width: 115px;
}
.reskin .reskin-table .btn-a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid transparent;
    border-radius: 6px;
}
.reskin .reskin-table .btn-a:hover {
    background: #eef3fc;
    border-color: #d9e4f5;
}
.reskin .reskin-membership-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    min-height: 28px;
    padding: 4px 7px;
    border-radius: 6px;
    background: #eef7f1;
}
.reskin .reskin-membership-status:has(.ico-inactive) {
    background: #f1f3f7;
}
.reskin .reskin-membership-status:has(.ico-awaiting) {
    background: #fff6e6;
}
.reskin .reskin-membership-status .ico-inactive {
    color: #74829a;
}
.reskin .reskin-status {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 5px;
    background: #edf3fd;
    color: #416393;
    font-size: 12px;
}
.reskin .reskin-status[data-status="ACCEPTED"] {
    background: #eef7f1;
    color: #39735a;
}
.reskin .reskin-status[data-status="EXPIRED"],
.reskin .reskin-status[data-status="BLOCKED"] {
    background: #fcf0ee;
    color: #98504a;
}
.reskin .reskin-status[data-status="CANCELLED"],
.reskin .reskin-status[data-status="SUPERSEDED"] {
    background: #f1f3f7;
    color: #64738c;
}
.reskin .reskin-status[data-status="PENDING"],
.reskin .reskin-status[data-status="PENDING_RESEND"] {
    background: #fff6e6;
    color: #876527;
}
.reskin .reskin-empty {
    padding: 55px 20px;
    text-align: center;
    color: var(--reskin-muted) !important;
}

/* List density is opt-in on each tbody, never on forms or permission matrices. */
.reskin .reskin-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-shrink: 0;
    gap: 0 16px;
    border-bottom: 1px solid var(--reskin-line);
}

.reskin .reskin-list-toolbar .reskin-tabs.nav.nav-tabs {
    border-bottom: 0;
}

.reskin-users #tbUsers > tbody .td-cell,
.reskin-users #tbInvitations > tbody .td-cell {
    padding-block: 7px !important;
}

/* Only this editor opts in; shared account/company drawers keep their existing rules. */
.reskin #offcanvasUsers.reskin-editor {
    width: 460px;
    max-width: 100%;
    margin-bottom: 0;
    color: var(--reskin-ink);
}
.reskin .reskin-editor .offcanvas-body {
    min-height: 0;
    padding: 22px 25px;
    scrollbar-width: thin;
}
.reskin .reskin-editor .reskin-tabs.nav.nav-tabs {
    gap: 22px;
    padding: 0;
    margin-bottom: 20px;
}
.reskin #offcanvasUsers .tab-pane {
    display: none;
    min-height: 0;
}
.reskin #offcanvasUsers .tab-pane.active {
    display: flex;
    flex-direction: column;
}
.reskin .reskin-editor .form-label {
    color: #536a89;
    font-size: 13px;
    font-weight: 600;
}
.reskin .reskin-editor .form-control,
.reskin .reskin-editor .form-select {
    min-height: 42px;
    border-color: #dce5f1;
    border-radius: 7px;
    padding: 9px 12px;
    color: #3d577a;
    font-size: 14px;
}
.reskin .reskin-editor .form-control[readonly],
.reskin .reskin-editor .form-control:disabled,
.reskin .reskin-editor .form-select:disabled {
    background-color: #f4f7fb;
    color: #63758e;
}
.reskin .reskin-editor .form-text {
    margin-top: 7px;
    color: #667a96;
    font-size: 12px;
}
.reskin .reskin-editor .access-header {
    margin-top: 18px;
    padding: 10px 12px;
    background: #f1f5fc;
    color: #42618c;
    font-size: 13px;
    font-weight: 600;
}
.reskin .reskin-editor .newrowpermission:not(.access-header),
.reskin .reskin-editor .newrowpermissionlocation:not(.access-header) {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 7px 0;
    color: #536a89;
    font-size: 14px;
}
.reskin .reskin-editor .access-cbox {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    border-color: #9aacc6;
}
.reskin .reskin-editor .access-cbox:checked {
    background-color: var(--reskin-blue);
    border-color: var(--reskin-blue);
}
.reskin .reskin-editor .btn-outline-success {
    min-height: 42px;
    border: 1px solid var(--reskin-blue);
    border-radius: 7px;
    background: var(--reskin-blue);
    color: white;
    font-size: 13px;
    font-weight: 600;
}
.reskin .reskin-editor .btn-outline-success:hover {
    background: #1b4fc4;
    border-color: #1b4fc4;
}
.reskin .reskin-editor hr {
    border-color: var(--reskin-line);
    opacity: 1;
}

.reskin .reskin-sidebar :focus-visible,
.reskin .reskin-topbar :focus-visible,
.reskin .reskin-workspace :focus-visible,
.reskin .reskin-editor :focus-visible {
    outline: 2px solid #75a9ff;
    outline-offset: 3px;
}

@media (max-width: 1199.98px) {
    .reskin .reskin-page {
        padding-inline: 22px;
    }
    .reskin .reskin-table .td-cell {
        padding-inline: 9px !important;
    }
}

@media (max-width: 991.98px) {
    .reskin .reskin-sidebar {
        display: none;
    }
    .reskin .reskin-topbar,
    .reskin .reskin-workspace {
        margin-left: 0;
    }
    .reskin .reskin-mobile-menu {
        display: inline-flex;
    }
}

@media (max-width: 767.98px) {
    .reskin .reskin-topbar {
        padding-inline: 14px;
    }
    .reskin .reskin-topbar nav {
        gap: 8px;
        font-size: 11px;
    }
    .reskin .reskin-page {
        padding: 22px 12px 16px;
    }
    .reskin .reskin-page-heading {
        gap: 12px;
        margin-bottom: 20px;
    }
    .reskin .reskin-page-heading h1 {
        font-size: 25px;
    }
    .reskin .reskin-page-heading p {
        font-size: 11px;
        max-width: 200px;
    }
    .reskin .reskin-primary {
        padding-inline: 10px;
        font-size: 12px;
    }
    .reskin .reskin-tabs.nav.nav-tabs {
        padding-inline: 12px;
        gap: 14px;
    }
    .reskin .reskin-tabs.nav.nav-tabs .nav-link {
        font-size: 12px;
        gap: 2px;
    }
    .reskin .reskin-tabs .cl {
        font-size: 14px;
    }
    .reskin .reskin-table .td-cell {
        padding: 15px 6px !important;
        font-size: 12px;
    }
    .reskin .reskin-table th.td-cell {
        font-size: 10px;
    }
    .reskin-users #tbUsers td:nth-child(1),
    .reskin-users #tbUsers td:nth-child(2) {
        min-width: 0;
    }
    .reskin .reskin-table .td-cell:first-child {
        padding-left: 12px !important;
    }
    .reskin .reskin-table .td-cell:last-child {
        padding-right: 10px !important;
    }
    .reskin .reskin-table .btn-a {
        width: 34px;
        height: 38px;
    }
    .reskin .reskin-editor .offcanvas-body {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .reskin .reskin-sidebar a,
    .reskin .reskin-tabs .nav-link {
        transition: none;
    }
}
