:root {
    --probis-primary: #2b569c;
    --probis-primary-deep: #20437a;
    --probis-brand-blue: #2b569c;
    --probis-ink: #172033;
    --probis-muted: #697386;
    --probis-line: #e6eaf0;
    --probis-surface: #ffffff;
    --probis-canvas: #f5f7fb;
    --probis-sidebar: 272px;
    --probis-radius: 14px;
    --probis-shadow: 0 9px 30px rgba(27, 48, 85, .07);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--probis-canvas); }
body.probis-body {
    margin: 0;
    color: var(--probis-ink);
    background: var(--probis-canvas);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    letter-spacing: -.01em;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.probis-shell { min-height: 100vh; }
.probis-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    display: flex;
    width: var(--probis-sidebar);
    flex-direction: column;
    border-right: 1px solid #e8edf5;
    background: #fff;
    transition: transform .22s ease;
}
.probis-sidebar-brand {
    display: flex;
    min-height: 76px;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid #eef1f6;
}
.probis-sidebar-brand a { display: flex; align-items: center; gap: 10px; color: #10284f; text-decoration: none; }
.probis-sidebar-brand img { display: block; width: 46px; height: 46px; object-fit: cover; border-radius: 12px; }
.probis-sidebar-brand a > span { display: grid; gap: 1px; line-height: 1.15; }
.probis-sidebar-brand a strong { font-size: 14px; letter-spacing: .035em; }
.probis-sidebar-brand a small { color: #71809a; font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.probis-brand-mark {
    display: none;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(145deg, var(--probis-brand-blue), #4a7ec7);
    color: #fff;
    place-items: center;
    font-size: 17px;
    font-weight: 800;
}
.probis-sidebar-nav { flex: 1; overflow-y: auto; padding: 20px 12px; }
.probis-nav-caption {
    margin: 15px 12px 6px;
    color: #9aa5b8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.probis-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    margin: 2px 0;
    padding: 6px 12px;
    border-radius: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}
.probis-nav-item .ki,
.probis-nav-item i,
.probis-nav-item [class*="ki-"] { width: 18px; color: #99a5b8; font-size: 16px; text-align: center; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.probis-nav-item:hover { color: var(--probis-brand-blue); background: #f0f4fa; transform: translateX(2px); }
.probis-nav-item:hover .ki, .probis-nav-item:hover i, .probis-nav-item:hover [class*="ki-"],
.probis-nav-item.is-active .ki, .probis-nav-item.is-active i, .probis-nav-item.is-active [class*="ki-"] { color: var(--probis-brand-blue); }
.probis-nav-item.is-active { color: var(--probis-brand-blue); background: #eaf1fb; }
.ki-clipboard-check.ki-filled:after { content: "\ea1a"; opacity: 0.1; }
.ki-clipboard-check.ki-filled:before { content: "\ea1b"; position: absolute; }
.ki-clipboard-check.ki-outline:before,
.ki-clipboard-check:before { content: "\ea1b"; }
.probis-nav-pill { margin-left: auto; padding: 2px 7px; border-radius: 999px; background: #fff0e8; color: #e86f24; font-size: 10px; font-weight: 700; }
.probis-sidebar-footer { padding: 13px 14px 16px; border-top: 1px solid #eef1f6; }
.probis-help-card { padding: 11px 12px; border-radius: 10px; background: #f0f4fa; color: #41506b; }
.probis-help-card strong { display: block; margin-bottom: 3px; font-size: 11.5px; }
.probis-help-card span { color: #7b879c; font-size: 10.5px; line-height: 1.45; }

.probis-main { min-height: 100vh; margin-left: var(--probis-sidebar); }
body.probis-resizing .probis-sidebar,
body.probis-resizing .probis-sidebar-scrim,
body.probis-resizing .probis-main {
    transition: none !important;
}
body.probis-resizing .probis-topbar {
    backdrop-filter: none;
}
.probis-topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 30px;
    border-bottom: 1px solid #e8edf5;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
}
.probis-topbar-left { display: flex; align-items: center; gap: 16px; min-width: 0; flex: 1 1 auto; }
.probis-topbar-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.probis-topbar-heading { min-width: 0; flex: 1 1 auto; }
.probis-icon-button { display: inline-grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #697386; flex-shrink: 0; }
.probis-icon-button:hover { background: #f2f5fa; color: var(--probis-brand-blue); }
.probis-icon-button-activate { color: #16a34a; }
.probis-icon-button-activate:hover { background: #f0fdf4; color: #15803d; }
.probis-topbar-title { color: #27344d; font-size: 17px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.probis-topbar-subtitle { margin-top: 2px; color: #8792a5; font-size: 11px; }
.probis-search { display: flex; width: min(340px, 35vw); align-items: center; gap: 9px; padding: 9px 12px; border: 1px solid #e6eaf0; border-radius: 10px; background: #fafbfc; color: #94a0b2; }
.probis-search input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--probis-ink); font-size: 12px; }
/* Topbar Notification Pill (Reference style) */
.probis-notification-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b;
    text-decoration: none;
    cursor: pointer;
    transition: all .15s ease;
    flex-shrink: 0;
}

.probis-notification-pill:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: var(--probis-brand-blue, #1b365d);
}

.probis-notification-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9999px;
    background: #ef4444;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* User Profile Trigger Pill (Reference style) */
.probis-dropdown {
    position: relative;
}

.probis-profile-pill-trigger {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 40px;
    padding: 3px 14px 3px 4px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    color: #1e293b;
    cursor: pointer;
    outline: none;
    transition: all .15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
}

.probis-profile-pill-trigger:hover,
.probis-profile-pill-trigger[aria-expanded="true"] {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.probis-profile-pill-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--probis-brand-blue, #2b569c);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0;
}

.probis-profile-pill-name {
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.probis-profile-pill-chevron {
    color: #64748b;
    transition: transform .2s ease;
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.probis-profile-pill-trigger[aria-expanded="true"] .probis-profile-pill-chevron {
    transform: rotate(180deg);
}

/* Legacy fallback bindings */
.probis-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--probis-brand-blue, #2b569c);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.probis-profile-trigger { border: 1px solid #e2e8f0; }

/* Redesigned Profile Dropdown Card */
.probis-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 1050;
    display: none;
    min-width: 190px;
    padding: 7px;
    border: 1px solid #e7ebf1;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--probis-shadow);
}

.probis-dropdown-menu.is-open {
    display: block;
}

.probis-dropdown-menu.probis-profile-dropdown {
    width: 290px;
    min-width: 290px;
    padding: 22px 18px 18px;
    border: 1px solid #e5eaf1;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.14), 0 8px 18px -4px rgba(15, 23, 42, 0.05);
    box-sizing: border-box;
    max-height: min(540px, calc(100vh - 90px));
    overflow-y: auto;
    scrollbar-width: thin;
}

.probis-dropdown-scrim {
    display: none;
}

.probis-menu-sheet-handle {
    display: none;
}

.probis-dropdown-menu.probis-profile-dropdown.is-open {
    display: flex;
    flex-direction: column;
    animation: probisProfileMenuIn .18s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes probisProfileMenuIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.probis-menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 18px;
}

.probis-menu-avatar-large {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3869b5 0%, var(--probis-brand-blue, #2b569c) 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 4px 14px rgba(43, 86, 156, 0.35);
    overflow: hidden;
    margin-bottom: 10px;
}

.probis-menu-name {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px;
    line-height: 1.3;
}

.probis-menu-email {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    font-weight: 400;
    word-break: break-all;
    line-height: 1.4;
}

.probis-menu-item-standalone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    color: #1e293b;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition: all .15s ease;
    margin-bottom: 6px;
}

.probis-menu-item-standalone:hover {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    color: #0f172a;
}

.probis-menu-item-standalone svg {
    color: #475569;
    flex-shrink: 0;
}

.probis-menu-group {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 8px;
}

.probis-menu-group-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 11px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s ease;
}

.probis-menu-group-item:hover {
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.probis-menu-group-item svg {
    color: #64748b;
    flex-shrink: 0;
}

.probis-menu-group-item:hover svg {
    color: #1e293b;
}

.probis-menu-subitem {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 14px;
    border-radius: 12px;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all .15s ease;
}

.probis-menu-subitem:hover {
    background: #f8fafc;
    color: #0f172a;
}

.probis-menu-subitem svg {
    color: #64748b;
    flex-shrink: 0;
}

.probis-menu-role-badge {
    cursor: default;
    color: #64748b;
    font-weight: 500;
}

.probis-menu-logout-form {
    margin-top: 14px;
    width: 100%;
}

.probis-menu-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    background: #ffffff;
    color: #0f172a;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all .15s ease;
}

.probis-menu-logout-btn:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
}

@media (max-width: 640px) {
    .probis-topbar {
        background: #ffffff;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .probis-dropdown {
        position: static;
    }
    .probis-profile-pill-name {
        display: none;
    }
    .probis-profile-pill-trigger {
        padding: 3px 8px 3px 3px;
    }
    .probis-dropdown-scrim {
        display: none;
    }
    .probis-dropdown-menu.probis-profile-dropdown.is-open + .probis-dropdown-scrim,
    .probis-dropdown:has(.probis-dropdown-menu.probis-profile-dropdown.is-open) .probis-dropdown-scrim {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1055;
        background: rgba(15, 23, 42, 0.5);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        animation: probisScrimFadeIn .2s ease;
        cursor: pointer;
    }
    .probis-dropdown-menu.probis-profile-dropdown {
        display: none !important;
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
        max-height: 85vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        padding: 12px 20px max(24px, env(safe-area-inset-bottom, 24px));
        border-radius: 26px 26px 0 0;
        border: 1px solid #e5eaf1;
        border-bottom: none;
        background: #ffffff;
        box-shadow: 0 -14px 45px rgba(15, 23, 42, 0.2);
        z-index: 1060;
    }
    .probis-dropdown-menu.probis-profile-dropdown.is-open {
        display: flex !important;
        flex-direction: column;
        transform: translateY(0);
        animation: probisSheetSlideUp .25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .probis-menu-sheet-handle {
        display: block;
        width: 42px;
        height: 4.5px;
        background: #cbd5e1;
        border-radius: 9999px;
        margin: 0 auto 16px;
        flex-shrink: 0;
    }
    .probis-menu-avatar-large {
        width: 58px;
        height: 58px;
        font-size: 22px;
        margin-bottom: 8px;
    }
    .probis-menu-header {
        margin-bottom: 14px;
    }
    .probis-menu-item-standalone,
    .probis-menu-group-item {
        padding: 11px 14px;
        font-size: 13.5px;
    }
    .probis-menu-logout-btn {
        height: 44px;
        font-size: 14px;
        font-weight: 700;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .probis-profile-pill-name {
        max-width: 110px;
    }
    .probis-dropdown-menu.probis-profile-dropdown {
        right: 0;
        top: calc(100% + 10px);
    }
}

@keyframes probisSheetSlideUp {
    from { transform: translateY(100%); opacity: 0.6; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes probisScrimFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.probis-content { width: 100%; max-width: 1640px; margin: 0 auto; padding: 28px 30px 44px; }
.probis-breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; color: #9aa4b4; font-size: 11px; font-weight: 600; }
.probis-breadcrumbs a:hover { color: var(--probis-brand-blue); }
.probis-breadcrumbs .is-current { color: #536177; }
.probis-page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.probis-page-head h1 { margin: 0; color: #1e2b44; font-size: clamp(22px, 2.3vw, 30px); font-weight: 800; letter-spacing: -.035em; }
.probis-page-head p { margin: 7px 0 0; color: #8490a3; font-size: 13px; }
.probis-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; }
.probis-btn { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border: 1px solid transparent; border-radius: 9px; font-size: 12px; font-weight: 800; white-space: nowrap; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.probis-btn:hover { transform: translateY(-1px); }
.probis-btn-primary { background: var(--probis-brand-blue); color: #fff; box-shadow: 0 6px 15px rgba(43, 86, 156, .22); }
.probis-btn-primary:hover { background: #234780; }
.probis-btn-secondary { border-color: #e0e6ef; background: #fff; color: #5d6a7f; }
.probis-btn-secondary:hover { background: #f6f8fb; }
.probis-btn-danger { background: #fff1f2; color: #cf3f51; }
.probis-btn-success { background: #e8f8f0; color: #118a5c; }
.probis-btn-warning { background: #fff6e8; color: #bf7019; }

.probis-card { border: 1px solid #e7ebf1; border-radius: var(--probis-radius); background: var(--probis-surface); box-shadow: var(--probis-shadow); }
.probis-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 20px; border-bottom: 1px solid #edf0f4; }
.probis-card-head h2, .probis-card-head h3 { margin: 0; color: #26344d; font-size: 14px; font-weight: 800; line-height: 1.3; }
.probis-card-head p { margin: 3px 0 0; color: #64748b; font-size: 12px; line-height: 1.35; }
.probis-dashboard-filter-body { padding: 14px 20px; background: #fafcfe; }
.probis-card-body { padding: 20px; }
.probis-grid { display: grid; gap: 16px; }
.probis-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.probis-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.probis-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.probis-grid-main { grid-template-columns: minmax(0, 1.5fr) minmax(300px, .9fr); }
.probis-mb-16 { margin-bottom: 16px; }
.probis-mb-24 { margin-bottom: 24px; }

.probis-kpi { position: relative; display: flex; flex-direction: column; overflow: hidden; min-height: 116px; padding: 18px 20px; }
.probis-kpi::after { position: absolute; right: -30px; bottom: -45px; width: 135px; height: 135px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; content: ""; }
.probis-kpi-label { padding-right: 44px; color: #7f8aa0; font-size: 11px; font-weight: 700; }
.probis-kpi-value { margin: 9px 0 4px; color: #1c2c49; font-size: 31px; font-weight: 850; letter-spacing: -.05em; line-height: 1.05; }
.probis-kpi-value-link { display: inline-flex; width: fit-content; text-decoration: none; border-radius: 6px; }
.probis-kpi-value-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.probis-kpi-value-link:focus-visible { outline: 3px solid rgba(47,95,170,.24); outline-offset: 3px; }
.probis-kpi-link {
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.probis-kpi-link:hover {
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
    border-color: rgba(47,95,170,.28);
    box-shadow: 0 12px 28px rgba(28,44,73,.11);
}
.probis-kpi-link:focus-visible {
    outline: 3px solid rgba(47,95,170,.28);
    outline-offset: 3px;
}
.probis-kpi-link-indicator {
    position: absolute;
    right: 18px;
    bottom: 16px;
    display: inline-grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 50%;
    background: rgba(47,95,170,.08);
    color: var(--probis-brand-blue);
    font-size: 13px;
    transition: transform .18s ease, background-color .18s ease;
}
.probis-kpi-link-indicator svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.probis-kpi-link:hover .probis-kpi-link-indicator { transform: translateX(3px); background: rgba(47,95,170,.14); }
.probis-kpi-note {
    margin-top: 5px;
    color: #5b6b82;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
}
.probis-kpi-link .probis-kpi-note { padding-right: 36px; }
.probis-kpi-icon { position: absolute; top: 18px; right: 18px; display: inline-grid; width: 36px; height: 36px; place-items: center; border-radius: 10px; background: #eaf1fb; color: var(--probis-brand-blue); font-size: 18px; }
.probis-kpi-blue { background: linear-gradient(135deg, #f0f4fa, #fff); }
.probis-kpi-cyan .probis-kpi-icon { background: #e8fbff; color: #0b9dbc; }
.probis-kpi-orange .probis-kpi-icon { background: #fff4e6; color: #d77b19; }
.probis-kpi-green .probis-kpi-icon { background: #e9f9f1; color: #129365; }

.probis-table-wrap { overflow-x: auto; }
.probis-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.probis-table th { padding: 11px 16px; background: #fafbfc; color: #8b97a9; font-size: 10px; font-weight: 800; letter-spacing: .055em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.probis-table td { padding: 14px 16px; border-top: 1px solid #f0f2f5; color: #556176; font-size: 12px; vertical-align: middle; }
.probis-table tbody tr:hover { background: #fbfcff; }
.probis-table-title { color: #27344c; font-weight: 800; }
.probis-table-meta { display: block; margin-top: 3px; color: #9aa4b4; font-size: 10px; }
.probis-table-actions { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: 6px; }
.probis-table-action {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 11px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #fff;
    color: #4b5c73;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.probis-table-action i { color: #60748f; font-size: 13px; }
.probis-table-action:hover {
    border-color: #b9c8dc;
    background: #f8fafc;
    color: #244f92;
    box-shadow: 0 3px 8px rgba(30, 64, 112, .08);
    transform: translateY(-1px);
}
.probis-table-action:focus-visible {
    outline: 3px solid rgba(43, 86, 156, .28);
    outline-offset: 2px;
}
.probis-table-action-edit { border-color: #fdba74; background: #fff7ed; color: #c2410c; }
.probis-table-action-edit i { color: #ea580c; }
.probis-table-action-edit:hover { border-color: #fb923c; background: #ffedd5; color: #9a3412; }
.probis-table-action-danger { border-color: #f2cfd4; background: #fff7f8; color: #b83d4d; }
.probis-table-action-danger i { color: #cf4b5b; }
.probis-table-action-success { border-color: #bfe8d5; background: #f2fbf7; color: #12805a; }
.probis-table-action-success i { color: #159469; }
.probis-link { color: var(--probis-brand-blue); font-weight: 800; }
.probis-link:hover { color: #234780; text-decoration: underline; }

.probis-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    white-space: nowrap;
    vertical-align: middle;
}
.probis-badge i {
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.probis-badge-blue { background: #eaf1fb; color: #2b569c; }
.probis-badge-amber { background: #ffedd5; color: #c2410c; }
.probis-badge-green { background: #d1fae5; color: #047857; }
.probis-badge-red { background: #fee2e2; color: #b91c1c; }
.probis-badge-lime { background: #ecfccb; color: #4d7c0f; }
.probis-badge-purple { background: #f3e8ff; color: #7e22ce; }
.probis-badge-gray { background: #f1f5f9; color: #475569; }
.probis-progress { width: 100%; height: 7px; overflow: hidden; border-radius: 999px; background: #eef1f5; }
.probis-progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2b569c, #4a7ec7); }
.probis-progress-line { display: flex; align-items: center; gap: 10px; }
.probis-progress-line .probis-progress { min-width: 75px; }
.probis-progress-line em { min-width: 32px; color: #7c889b; font-size: 10px; font-style: normal; font-weight: 800; }

.probis-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.probis-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; }
.probis-field[hidden] { display: none; }
.probis-field-full { grid-column: 1 / -1; }
.probis-field label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #4f5d73;
    font-size: 11px;
    font-weight: 800;
}
.probis-field label .required { color: #df5361; }
.probis-tooltip-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    margin-left: 2px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 0;
    cursor: pointer;
    vertical-align: middle;
    transition: all .15s ease;
    user-select: none;
    flex-shrink: 0;
}
.probis-tooltip-trigger i {
    font-size: 11px;
    line-height: 1;
}
.probis-tooltip-trigger:hover,
.probis-tooltip-trigger:focus-visible,
.probis-tooltip-trigger.has-tooltip-open {
    background: #e0edff;
    border-color: #bfdbfe;
    color: #1b84ff;
    outline: none;
}
.probis-floating-tooltip {
    position: absolute;
    z-index: 100000;
    max-width: 290px;
    padding: 7px 11px;
    background: #1e293b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.45;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.25);
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease;
    text-align: left;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}
.probis-floating-tooltip.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.probis-floating-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: var(--arrow-pos, 50%);
    transform: translateX(-50%);
    border-width: 5px 5px 0 5px;
    border-style: solid;
    border-color: #1e293b transparent transparent transparent;
}
.probis-floating-tooltip.is-bottom {
    transform: translateY(-4px);
}
.probis-floating-tooltip.is-bottom.is-visible {
    transform: translateY(0);
}
.probis-floating-tooltip.is-bottom::after {
    bottom: auto;
    top: -5px;
    border-width: 0 5px 5px 5px;
    border-style: solid;
    border-color: transparent transparent #1e293b transparent;
}
.probis-upload-field > label .probis-tooltip-trigger {
    align-self: center;
}
.probis-input, .probis-select, .probis-textarea { width: 100%; border: 1px solid #dfe5ee; border-radius: 9px; outline: 0; background: #fff; color: #27344c; font-size: 12px; transition: border .15s ease, box-shadow .15s ease; }
.probis-input, .probis-select { height: 40px; padding: 0 12px; }
[data-probis-history-field] .probis-select:disabled {
    background-color: #f1f5f9;
    color: #475569;
    cursor: not-allowed;
    opacity: 1;
}
.probis-textarea { min-height: 116px; padding: 11px 12px; resize: vertical; line-height: 1.5; }
.probis-input:focus, .probis-select:focus, .probis-textarea:focus { border-color: #6b8ec4; box-shadow: 0 0 0 3px #eaf1fb; }
.probis-input.is-invalid, .probis-select.is-invalid, .probis-textarea.is-invalid { border-color: #eb7180; }
.probis-help-text { color: #9aa4b4; font-size: 10px; line-height: 1.45; }
.probis-error { color: #d44b5c; font-size: 10px; }
.probis-searchable-select {
    position: relative;
    width: 100%;
}
.probis-searchable-select-native {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    opacity: 0;
    pointer-events: none;
    z-index: -1;
}
.probis-searchable-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
}
.probis-searchable-select-trigger:disabled {
    background-color: #f1f5f9;
    color: #475569;
    cursor: not-allowed;
    opacity: 1;
}
.probis-searchable-select.is-open .probis-searchable-select-trigger {
    border-color: #6b8ec4;
    box-shadow: 0 0 0 3px #eaf1fb;
}
.probis-searchable-select-value {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.probis-searchable-select-arrow {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    color: #53647c;
    transition: transform .15s ease;
}
.probis-searchable-select.is-open .probis-searchable-select-arrow {
    transform: rotate(180deg);
}
.probis-searchable-select-panel {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 40;
    border: 1px solid #dfe5ee;
    border-radius: 9px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(20, 32, 56, 0.12);
    overflow: hidden;
}
.probis-searchable-select.is-dropup .probis-searchable-select-panel {
    top: auto;
    bottom: calc(100% + 4px);
}
.probis-searchable-select-search-wrap {
    padding: 8px;
    border-bottom: 1px solid #edf0f4;
    background: #f8fafc;
}
.probis-searchable-select-search {
    height: 34px;
    padding: 0 10px;
    font-size: 12px;
}
.probis-searchable-select-list {
    max-height: 220px;
    overflow-y: auto;
    padding: 4px;
}
.probis-searchable-select-group + .probis-searchable-select-group {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px solid #edf0f4;
}
.probis-searchable-select-group-label {
    padding: 7px 10px 4px;
    font-size: 11px;
    font-weight: 700;
    color: #5b6a82;
    line-height: 1.35;
}
.probis-searchable-select-option {
    display: block;
    width: 100%;
    padding: 8px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #27344c;
    font-family: inherit;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    cursor: pointer;
}
.probis-searchable-select-option[hidden],
.probis-searchable-select-group[hidden] {
    display: none;
}
.probis-searchable-select-group .probis-searchable-select-option {
    padding-left: 18px;
}
.probis-searchable-select-option:hover,
.probis-searchable-select-option.is-highlighted {
    background: #eff6ff;
    color: #1d4ed8;
}
.probis-searchable-select-option.is-selected {
    background: #eaf1fb;
    color: #1e3a8a;
    font-weight: 600;
}
.probis-searchable-select-option:disabled {
    color: #9aa4b4;
    cursor: not-allowed;
    background: transparent;
}
.probis-searchable-select-empty {
    padding: 12px 10px;
    color: #7c8aa1;
    font-size: 12px;
    text-align: center;
}
.probis-searchable-select-status {
    padding: 7px 10px;
    border-top: 1px solid #edf0f4;
    background: #f8fafc;
    color: #5b6a82;
    font-size: 11px;
    text-align: center;
}
.probis-searchable-select-status.is-error {
    background: #fef2f2;
    color: #b91c1c;
}
.probis-searchable-select-multiline .probis-searchable-select-native {
    height: 100%;
}
.probis-searchable-select-multiline .probis-searchable-select-trigger {
    height: auto;
    min-height: 40px;
    padding: 9px 12px;
    align-items: flex-start;
}
.probis-searchable-select-multiline .probis-searchable-select-value {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.45;
}
.probis-searchable-select-multiline .probis-searchable-select-arrow {
    margin-top: 2px;
}
.probis-searchable-select-multiline .probis-searchable-select-list {
    max-height: min(360px, 50vh);
}
.probis-searchable-select-multiline .probis-searchable-select-option {
    padding: 9px 11px;
    line-height: 1.45;
}
.probis-searchable-select-multiline .probis-searchable-select-option + .probis-searchable-select-option {
    margin-top: 2px;
}
.probis-form-footer { display: flex; align-items: center; justify-content: flex-end; gap: 9px; margin-top: 23px; padding-top: 18px; border-top: 1px solid #edf0f4; }
.probis-progsun-intro {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border: 1px solid #dce7f5;
    border-radius: 12px;
    background: #f5f8fd;
    color: #53647c;
    font-size: 12px;
    line-height: 1.55;
}
.probis-progsun-intro i { margin-top: 2px; color: #2b569c; font-size: 18px; }
.probis-progsun-fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.probis-progsun-fieldset legend {
    margin-bottom: 9px;
    color: #4f5d73;
    font-size: 11px;
    font-weight: 800;
}
.probis-progsun-radio-group { display: flex; flex-wrap: wrap; gap: 10px; }
.probis-progsun-radio {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-width: 148px;
    padding: 11px 14px;
    border: 1px solid #dfe5ee;
    border-radius: 10px;
    background: #fff;
    color: #334155;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.probis-progsun-radio:hover { border-color: #9eb5d5; background: #f8fbff; }
.probis-progsun-radio:has(input:checked) { border-color: #2b569c; background: #eef4fd; box-shadow: 0 0 0 2px rgba(43, 86, 156, .09); }
.probis-progsun-radio input { width: 16px; height: 16px; margin: 0; accent-color: #2b569c; }
.probis-progsun-radio span { font-size: 12px; font-weight: 700; }
.probis-progsun-textarea-compact { min-height: 82px; }
.probis-progsun-documents { margin-top: 4px; }
.probis-progsun-documents-head { margin-bottom: 12px; }
.probis-progsun-documents-head h3 { margin: 0 0 4px; color: #1e293b; font-size: 14px; font-weight: 750; }
.probis-progsun-documents-head p { margin: 0; color: #7c889b; font-size: 11px; line-height: 1.5; }
.probis-file { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px dashed #cbd5e1; border-radius: 10px; background: #fafcff; color: #7c889b; }
.probis-file input { max-width: 100%; font-size: 11px; }

/* Toaster Alert Container (Fixed floating toasts at top-right) */
.probis-toaster {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10050;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: min(360px, calc(100vw - 32px));
    pointer-events: none;
}
@media (max-width: 640px) {
    .probis-toaster {
        top: 14px;
        right: 14px;
        left: 14px;
        width: auto;
        max-width: 360px;
        margin: 0 auto;
    }
}

.probis-toaster .probis-alert,
.probis-alert.probis-alert-toast {
    position: relative;
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.05);
    padding: 12px 12px 14px 13px;
    overflow: hidden;
    cursor: default;
    animation: probisToastSlideIn .35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: box-shadow .2s ease;
}

.probis-toaster .probis-alert:hover,
.probis-alert.probis-alert-toast:hover {
    box-shadow: 0 14px 30px -4px rgba(15, 23, 42, 0.15), 0 6px 12px -2px rgba(15, 23, 42, 0.06);
}

.probis-toaster .probis-alert .probis-toast-close,
.probis-alert.probis-alert-toast .probis-toast-close {
    position: static;
    flex: 0 0 auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: -2px -2px 0 2px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.probis-toaster .probis-alert .probis-toast-close:hover,
.probis-alert.probis-alert-toast .probis-toast-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.probis-toaster .probis-alert .probis-toast-close:focus-visible,
.probis-alert.probis-alert-toast .probis-toast-close:focus-visible {
    outline: 2px solid var(--probis-brand-blue, #1b365d);
    outline-offset: 2px;
    background: #f1f5f9;
    color: #0f172a;
}

.probis-toaster .probis-alert .probis-alert-icon,
.probis-alert.probis-alert-toast .probis-alert-icon,
.probis-alert.probis-alert-toast > i {
    width: 20px;
    height: 20px;
    font-size: 20px;
    margin-top: 1px;
    flex-shrink: 0;
}

.probis-toaster .probis-alert .probis-alert-title,
.probis-alert.probis-alert-toast .probis-alert-title {
    display: block;
    margin-bottom: 2px;
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.probis-toaster .probis-alert .probis-alert-desc,
.probis-alert.probis-alert-toast .probis-alert-desc {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.45;
}

.probis-toaster .probis-alert .probis-alert-desc ul,
.probis-alert.probis-alert-toast .probis-alert-desc ul {
    margin: 3px 0 0;
    padding-left: 1rem;
    font-size: 12px;
}

@keyframes probisToastSlideIn {
    0% {
        opacity: 0;
        transform: translate3d(105%, 0, 0) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

.probis-toaster .probis-alert.is-hiding,
.probis-alert.probis-alert-toast.is-hiding {
    pointer-events: none;
    animation: probisToastSlideOut .35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

@keyframes probisToastSlideOut {
    0% {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        max-height: 200px;
        margin-bottom: 0;
    }
    30% {
        opacity: 0.9;
        transform: translate3d(12px, 0, 0) scale(0.98);
    }
    100% {
        opacity: 0;
        transform: translate3d(115%, 0, 0) scale(0.92);
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        margin-bottom: 0;
        border-width: 0;
    }
}

/* Motion Line Timer */
.probis-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: #f1f5f9;
    overflow: hidden;
}

.probis-toast-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transform-origin: left center;
    transform: scaleX(0);
    animation: probisToastProgress 5s linear forwards;
    border-radius: 0 3px 3px 0;
}

.probis-toaster .probis-alert:hover .probis-toast-progress-bar,
.probis-alert.probis-alert-toast:hover .probis-toast-progress-bar,
.probis-toaster .probis-alert:focus-within .probis-toast-progress-bar,
.probis-alert.probis-alert-toast:focus-within .probis-toast-progress-bar {
    animation-play-state: paused;
}

.probis-alert-success .probis-toast-progress-bar {
    background: #16a34a;
}

.probis-alert-danger .probis-toast-progress-bar {
    background: #dc2626;
}

.probis-alert-warning .probis-toast-progress-bar {
    background: #ea580c;
}

.probis-alert-info .probis-toast-progress-bar {
    background: var(--probis-brand-blue, #1b365d);
}

@keyframes probisToastProgress {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

.probis-alert {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    padding: 18px 48px 18px 20px;
    border: 1px solid #edf2f7;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    font-size: 13px;
    line-height: 1.5;
    transition: opacity .2s ease, transform .2s ease;
}
.probis-alert-icon,
.probis-alert > i {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 34px;
    line-height: 1;
}
.probis-alert-content,
.probis-alert > div {
    flex: 1;
    min-width: 0;
}
.probis-alert-title,
.probis-alert strong {
    display: block;
    margin-bottom: 3px;
    color: #1e293b;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.3;
}
.probis-alert-desc,
.probis-alert p,
.probis-alert > div > span {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}
.probis-alert-close {
    position: absolute;
    top: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
    padding: 0;
}
.probis-alert-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}
.probis-alert-close svg {
    display: block;
    width: 12px;
    height: 12px;
}
.probis-alert-success .probis-alert-icon,
.probis-alert-success > i {
    color: #16a34a;
}
.probis-alert-danger {
    border-color: #fecaca;
    background: #fef2f2;
    color: #991b1b;
}
.probis-alert-danger .probis-alert-icon,
.probis-alert-danger > i {
    color: #dc2626;
}
.probis-alert-warning .probis-alert-icon,
.probis-alert-warning > i {
    color: #ea580c;
}
.probis-alert-info .probis-alert-icon,
.probis-alert-info > i {
    color: var(--probis-brand-blue);
}
.probis-alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
    color: #64748b;
}
.probis-alert ul li {
    margin-bottom: 3px;
}

.probis-empty { padding: 44px 20px; color: #8d99ab; text-align: center; }
.probis-empty .ki { display: block; margin-bottom: 12px; color: #b7c1cf; font-size: 32px; }
.probis-empty strong { display: block; margin-bottom: 5px; color: #59667b; font-size: 13px; }
.probis-empty p { max-width: 360px; margin: 0 auto; font-size: 11px; line-height: 1.5; }
.probis-pagination { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 18px; border-top: 1px solid #edf0f4; color: #97a1b0; font-size: 11px; }
.probis-pagination nav { margin-left: auto; }
.probis-pagination nav svg { width: 14px; }
.probis-pagination nav > div:first-child { display: none; }
.probis-pagination nav > div:last-child { display: flex; align-items: center; gap: 4px; }
.probis-pagination nav span, .probis-pagination nav a { display: inline-flex; min-width: 28px; height: 28px; align-items: center; justify-content: center; border: 1px solid #e2e7ef; border-radius: 7px; color: #69768b; font-size: 11px; }
.probis-pagination nav span[aria-current="page"] { border-color: var(--probis-brand-blue); background: var(--probis-brand-blue); color: #fff; }

.probis-chart { min-height: 220px; }
/* Status-distribution analytics chart */
.probis-status-chart {
    position: relative;
    min-height: 310px;
    padding: 8px 0 0;
    overflow: hidden;
}
.probis-status-chart svg {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}
.probis-status-chart svg circle {
    cursor: pointer;
    transition: r .16s ease, filter .16s ease;
}
.probis-status-chart svg circle:hover,
.probis-status-chart svg circle:focus {
    r: 7;
    filter: drop-shadow(0 2px 4px rgba(43, 86, 156, .24));
    outline: none;
}
/* The total is context for the chart, not a competing dashboard card. */
.probis-chart-metric {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 8px 54px;
    padding: 0;
    color: #2a3850;
}
.probis-chart-metric-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 9px;
    border-radius: 6px;
    background: #eaf1fb;
    color: #2b569c;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.2;
}
.probis-chart-metric-badge i {
    font-size: 12px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.probis-chart-metric-badge strong,
.probis-chart-metric strong {
    color: #2b569c;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: -.02em;
    line-height: 1;
}
.probis-chart-metric-label {
    color: #2b569c;
    font-size: 11px;
    font-weight: 750;
}
.probis-chart-metric-note,
.probis-chart-metric small {
    color: #8896ab;
    font-size: 11px;
    font-weight: 600;
}
.probis-chart-tooltip {
    position: absolute;
    z-index: 3;
    display: grid;
    min-width: 132px;
    gap: 4px;
    padding: 10px 12px;
    border: 1px solid #e4eaf4;
    border-radius: 10px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 12px 28px rgba(35, 51, 75, .14);
    color: #293852;
    pointer-events: none;
    transform: translate(-50%, -116%);
    white-space: nowrap;
}
.probis-chart-tooltip[hidden] { display: none; }
.probis-chart-tooltip strong { font-size: 11px; font-weight: 800; }
.probis-chart-tooltip span { color: #52627a; font-size: 11px; font-weight: 700; }
.probis-chart-tooltip em {
    margin-left: 5px;
    padding: 2px 5px;
    border-radius: 5px;
    background: #e8f4eb;
    color: #33845a;
    font-size: 9px;
    font-style: normal;
    font-weight: 850;
}
.probis-status-chart.has-chart-tooltip svg circle { opacity: .56; }
.probis-status-chart.has-chart-tooltip svg circle:focus,
.probis-status-chart.has-chart-tooltip svg circle:hover { opacity: 1; }
@media (max-width: 480px) {
    .probis-status-chart { min-height: 294px; padding-top: 6px; }
    .probis-chart-metric { gap: 6px; margin-bottom: 8px; margin-left: 44px; }
    .probis-chart-tooltip { min-width: 118px; padding: 8px 10px; }
    .probis-status-chart svg text { font-size: 9px; }
}
.probis-queue-item { display: flex; align-items: center; gap: 13px; padding: 14px 0; border-bottom: 1px solid #f0f2f5; }
.probis-queue-item:last-child { border-bottom: 0; }
.probis-queue-index { display: inline-grid; width: 30px; height: 30px; place-items: center; border-radius: 9px; background: #eaf1fb; color: var(--probis-brand-blue); font-size: 11px; font-weight: 800; }
.probis-queue-copy { min-width: 0; flex: 1; }
.probis-queue-copy strong { display: block; overflow: hidden; color: #344158; font-size: 11px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.probis-queue-copy span { display: block; margin-top: 4px; color: #9aa4b4; font-size: 10px; }

.probis-detail-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 22px; }
.probis-detail-code { color: #7890b4; font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.probis-detail-hero h1 { margin: 7px 0 8px; color: #22304a; font-size: 24px; line-height: 1.2; }
.probis-detail-hero p { max-width: 670px; margin: 0; color: #7e8a9d; font-size: 12px; line-height: 1.55; }
.probis-detail-meta { display: flex; flex-wrap: wrap; gap: 9px 20px; margin-top: 17px; color: #778398; font-size: 11px; }
.probis-detail-meta strong { color: #3d4a61; }
.probis-tabs { display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid #e9edf2; }
.probis-tab { position: relative; padding: 13px 14px; border: 0; background: transparent; color: #8792a5; font-size: 11px; font-weight: 800; }
.probis-tab.is-active { color: var(--probis-brand-blue); }
.probis-tab.is-active::after { position: absolute; right: 10px; bottom: -1px; left: 10px; height: 2px; background: var(--probis-brand-blue); content: ""; }
.probis-tab-panel { display: none; padding: 20px; }
.probis-tab-panel.is-active { display: block; }
.probis-timeline { position: relative; display: flex; flex-direction: column; gap: 18px; padding-left: 21px; }
.probis-timeline::before { position: absolute; top: 4px; bottom: 5px; left: 5px; width: 1px; background: #dce4f0; content: ""; }
.probis-timeline-item { position: relative; }
.probis-timeline-item::before { position: absolute; top: 4px; left: -20px; width: 9px; height: 9px; border: 3px solid #fff; border-radius: 50%; background: var(--probis-brand-blue); box-shadow: 0 0 0 1px #96b2de; content: ""; }
.probis-timeline-item strong { display: block; color: #3d4b63; font-size: 12px; }
.probis-timeline-item p { margin: 4px 0 0; color: #8994a6; font-size: 11px; line-height: 1.5; }
.probis-timeline-item time { display: block; margin-top: 5px; color: #adb5c2; font-size: 10px; }
.probis-stage-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; }
.probis-stage { position: relative; padding: 13px; border: 1px solid #e6ebf1; border-radius: 10px; }
.probis-stage.done { border-color: #bfe8d4; background: #f1fcf6; }
.probis-stage.current { border-color: #b5c7e3; background: #f2f6fc; }
.probis-stage-index { color: #9ca8b9; font-size: 10px; font-weight: 800; }
.probis-stage strong { display: block; margin-top: 8px; color: #46536a; font-size: 11px; }
.probis-stage small { display: block; margin-top: 4px; color: #98a2b3; font-size: 10px; }

.probis-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15, 23, 42, .5); backdrop-filter: none; -webkit-backdrop-filter: none; }
.probis-modal.is-open { display: flex; }
.probis-modal-dialog { width: min(540px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; border-radius: 16px; background: #fff; box-shadow: 0 20px 60px rgba(15, 23, 42, .18), 0 4px 16px rgba(15, 23, 42, .06); border: 1px solid #edf0f4; }
.probis-assign-modal-dialog { overflow: visible; }
.probis-modal .probis-searchable-select-panel { z-index: 60; }
@media (max-height: 620px), (max-width: 768px) {
    .probis-assign-modal-dialog { overflow-y: auto; }
}
.probis-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid #edf0f4; }
.probis-modal-head h3 { margin: 0; color: #0f172a; font-size: 16px; font-weight: 700; line-height: 1.3; }
.probis-modal-subtitle { margin: 3px 0 0; color: #64748b; font-size: 12px; font-weight: 400; line-height: 1.4; }
.probis-modal-body { padding: 22px; }
.probis-modal-body .probis-upload-zone { min-height: 148px; border-radius: 14px; }
.probis-modal-body .probis-upload-zone-content { min-height: 148px; padding: 16px 14px; gap: 5px; }
.probis-modal-body .probis-upload-icon { width: 38px; height: 38px; font-size: 18px; margin-bottom: 0; }
.probis-modal-body .probis-upload-title { font-size: 12.5px; }
.probis-modal-body .probis-upload-meta { font-size: 10.5px; }
.probis-assignment-summary { display: grid; gap: 4px; margin-bottom: 18px; padding: 12px 14px; border: 1px solid #dbe4f0; border-radius: 12px; background: #f8fafc; }
.probis-assignment-summary span { color: #2b569c; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.probis-assignment-summary strong { color: #0f172a; font-size: 13px; line-height: 1.45; }

/* Dialog Box / Confirmation Modal (Reference: Sure you want to accept? with No cancel and Yes Confirm) */
.probis-confirm-backdrop {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}
.kt-modal-backdrop,
.kt-drawer-backdrop {
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.probis-confirm-backdrop.is-open {
    opacity: 1;
    visibility: visible;
}
.probis-confirm-card {
    position: relative;
    width: min(440px, 92vw);
    padding: 26px 28px 24px;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.25);
    transform: scale(0.95);
    transition: transform .18s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}
.probis-confirm-backdrop.is-open .probis-confirm-card {
    transform: scale(1);
}
.probis-confirm-close {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 50%;
    background: #f1f5f9;
    color: #64748b;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
    padding: 0;
}
.probis-confirm-close:hover {
    background: #e2e8f0;
    color: #1e293b;
}
.probis-confirm-close svg {
    display: block;
    width: 12px;
    height: 12px;
}
.probis-confirm-title {
    margin: 0 0 8px;
    color: #1e293b;
    font-size: 18px;
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.3;
}
.probis-confirm-message {
    margin: 0 0 24px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
}
.probis-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.probis-confirm-btn {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
    box-sizing: border-box;
    text-decoration: none;
    outline: none;
}
.probis-confirm-btn:hover {
    transform: translateY(-1px);
}
.probis-confirm-btn-cancel,
.probis-confirm-btn[data-probis-confirm-cancel] {
    border: 1.5px solid #d1d5db !important;
    background: #ffffff !important;
    color: #374151 !important;
}
.probis-confirm-btn-cancel:hover,
.probis-confirm-btn[data-probis-confirm-cancel]:hover {
    border-color: #9ca3af !important;
    background: #f9fafb !important;
    color: #111827 !important;
}
.probis-confirm-btn-confirm,
.probis-confirm-btn[data-probis-confirm-accept] {
    border: 1.5px solid transparent !important;
    background: #239454 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(35, 148, 84, 0.28) !important;
}
.probis-confirm-btn-confirm:hover,
.probis-confirm-btn[data-probis-confirm-accept]:hover {
    background: #1e8248 !important;
}
.probis-confirm-btn-confirm.is-danger,
.probis-confirm-btn[data-probis-confirm-accept].is-danger {
    background: #dc2626 !important;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.28) !important;
}
.probis-confirm-btn-confirm.is-danger:hover,
.probis-confirm-btn[data-probis-confirm-accept].is-danger:hover {
    background: #b91c1c !important;
}


.probis-footer { padding-top: 25px; color: #9aa4b4; font-size: 10px; text-align: center; }

@media (max-width: 1180px) {
    .probis-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .probis-grid-main { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    .probis-sidebar { transform: translateX(-100%); box-shadow: 10px 0 40px rgba(31,43,68,.18); }
    body.probis-sidebar-open .probis-sidebar { transform: translateX(0); }
    .probis-main { margin-left: 0; }
    .probis-topbar { padding: 0 18px; }
    .probis-content { padding: 23px 18px 35px; }
    .probis-search { display: none; }
    .probis-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
    .probis-page-head, .probis-detail-hero { display: block; }
    .probis-page-head .probis-actions, .probis-detail-hero .probis-actions { margin-top: 15px; }
    .probis-grid-2, .probis-grid-3, .probis-grid-4, .probis-form-grid { grid-template-columns: 1fr; }
    .probis-field-full { grid-column: auto; }
    .probis-topbar-subtitle, .probis-profile-copy { display: none; }
    .probis-topbar-title { font-size: 15px; }
    .probis-content { padding-right: 13px; padding-left: 13px; }
    .probis-card-body, .probis-card-head { padding-right: 15px; padding-left: 15px; }
    .probis-stage-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Dashboard mobile information hierarchy */
.probis-dashboard-kpis,
.probis-dashboard-queues {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.probis-queue-card {
    display: flex;
    min-height: 72px;
    align-items: center;
    gap: 12px;
    padding: 15px 17px;
}
.probis-queue-card-icon {
    display: inline-grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 10px;
    background: #edf3ff;
    color: #2b64d8;
    font-size: 17px;
}
.probis-queue-card-amber .probis-queue-card-icon { background: #fff4e6; color: #d77b19; }
.probis-queue-card-green .probis-queue-card-icon { background: #e9f9f1; color: #129365; }
.probis-queue-card-purple .probis-queue-card-icon { background: #f3efff; color: #7155c7; }
.probis-queue-card-copy { min-width: 0; }
.probis-queue-card-copy strong { display: block; color: #293a56; font-size: 16px; font-weight: 850; line-height: 1.1; }
.probis-queue-card-copy span { display: block; margin-top: 4px; color: #7f8da3; font-size: 11px; font-weight: 600; line-height: 1.35; }
.probis-dashboard-task-list { display: none; }

/* Task document upload zones (Reference design) */
.probis-upload-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
    margin-top: 6px;
    padding-top: 20px;
    border-top: 1px solid #edf0f4;
}
.probis-upload-field { min-width: 0; }
.probis-upload-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.probis-upload-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.probis-upload-field > label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 8px;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
}
.probis-upload-required-note,
.probis-upload-optional-note {
    color: #8d9aaf;
    font-size: 11px;
    font-weight: 500;
}
.probis-upload-zone {
    position: relative;
    min-height: 174px;
    overflow: hidden;
    border: 1.5px dashed transparent;
    border-radius: 16px;
    background: #f1f3f6;
    transition: all .2s ease;
}
.probis-upload-zone:hover,
.probis-upload-zone:focus-within,
.probis-upload-zone.is-dragover {
    border-color: var(--probis-brand-blue, #2b569c);
    background: #f0f4fc;
    box-shadow: 0 0 0 3px rgba(43, 86, 156, .1);
}
.probis-upload-zone.is-invalid,
.probis-upload-field.has-error .probis-upload-zone {
    border-color: #ef4444;
    background: #fff5f5;
}
.probis-upload-zone.is-uploading {
    border-color: var(--probis-brand-blue, #2b569c);
    background: #f0f4fc;
    box-shadow: 0 0 0 3px rgba(43, 86, 156, .08);
}
.probis-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    opacity: 0;
}
.probis-upload-zone.is-uploading input[type="file"] { pointer-events: none; }
.probis-upload-zone-content {
    display: flex;
    min-height: 174px;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 20px 16px;
    color: #64748b;
    text-align: center;
    pointer-events: none;
}
.probis-upload-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 2px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    font-size: 20px;
    transition: transform .15s ease, color .15s ease;
}
.probis-upload-zone:hover .probis-upload-icon,
.probis-upload-zone.is-dragover .probis-upload-icon {
    transform: scale(1.05);
    border-color: #cbd5e1;
    color: var(--probis-brand-blue, #2b569c);
}
.probis-upload-title {
    color: #0f172a;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}
.probis-upload-file-name { max-width: 100%; color: #2b64d8; font-size: 11px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.probis-upload-meta {
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.45;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
}
.probis-upload-meta > span { display: block; }
.probis-upload-feedback {
    display: block;
    margin-top: 6px;
    min-height: 0;
    color: #ef4444;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
}
.probis-upload-zone.is-invalid .probis-upload-feedback:not(:empty) { min-height: 14px; }
.probis-upload-busy {
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    color: var(--probis-brand-blue, #2b569c);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}
.probis-upload-busy:not([hidden]) { display: inline-flex; }
.probis-upload-spinner,
.probis-submit-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: probis-upload-spin .7s linear infinite;
}
.probis-upload-zone.is-uploading .probis-upload-icon,
.probis-upload-zone.is-uploading .probis-upload-title,
.probis-upload-zone.is-uploading .probis-upload-meta,
.probis-upload-zone.is-uploading .probis-upload-feedback { display: none; }

/* Uploads Section & Cards (Reference Design) */
.probis-upload-section {
    margin-top: 14px;
}
.probis-upload-section[hidden] {
    display: none;
}
.probis-upload-section-title {
    color: #0f172a;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.probis-upload-file-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.probis-upload-card {
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
    transition: all .15s ease;
}
.probis-upload-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}
.probis-upload-card-main {
    display: flex;
    align-items: center;
    gap: 12px;
}
.probis-upload-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #1e293b;
}
.probis-upload-card-info {
    flex: 1;
    min-width: 0;
}
.probis-upload-card-name {
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.probis-upload-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    font-size: 11px;
    line-height: 1.2;
}
.probis-upload-card-size {
    color: #94a3b8;
    font-weight: 500;
}
.probis-upload-card-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
}
.probis-upload-card-status.is-completed {
    color: #059669;
}
.probis-upload-card-status.is-uploading {
    color: var(--probis-brand-blue, #2b569c);
}
.probis-upload-check-icon {
    display: inline-block;
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}
.probis-upload-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: all .15s ease;
    padding: 0;
}
.probis-upload-remove-btn:hover {
    background: #fee2e2;
    color: #ef4444;
}
.probis-upload-card-progress {
    display: none;
    width: 100%;
    height: 6px;
    margin-top: 10px;
    border-radius: 9999px;
    background: #e2e8f0;
    overflow: hidden;
}
.probis-upload-card.is-uploading .probis-upload-card-progress {
    display: block;
}
.probis-upload-progress-bar {
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background: var(--probis-brand-blue, #2b569c);
    animation: probis-progress-indeterminate 1.5s ease-in-out infinite;
}
@keyframes probis-progress-indeterminate {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0%); }
    100% { transform: translateX(100%); }
}

.probis-form-footer .probis-btn.is-submitting {
    cursor: wait;
    opacity: .72;
    transform: none;
}
.probis-submit-spinner { display: none; width: 14px; height: 14px; flex-basis: 14px; }
.probis-btn.is-submitting .probis-submit-spinner { display: inline-block; }
@keyframes probis-upload-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
    .probis-upload-spinner,
    .probis-submit-spinner { animation-duration: 1.8s; }
}

/* Authenticated workspace responsive layout */
.probis-sidebar-scrim {
    display: none;
}
.probis-content > * {
    min-width: 0;
}
.probis-grid > *,
.probis-card,
.probis-page-head > * {
    min-width: 0;
}
.probis-card-body,
.probis-detail-hero,
.probis-timeline-item,
.probis-feed-item > div {
    overflow-wrap: anywhere;
}
.probis-icon-button[data-probis-sidebar-toggle] {
    display: none;
}
.probis-btn:focus-visible,
.probis-icon-button:focus-visible,
.probis-nav-item:focus-visible,
.probis-profile-trigger:focus-visible,
.probis-dropdown-menu a:focus-visible,
.probis-dropdown-menu button:focus-visible,
.probis-tab:focus-visible {
    outline: 3px solid rgba(29, 78, 216, .45);
    outline-offset: 2px;
}
.probis-table-wrap {
    position: relative;
    max-width: 100%;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    touch-action: pan-x;
}
.probis-table-wrap:focus-visible {
    outline: 3px solid rgba(29, 78, 216, .32);
    outline-offset: 3px;
}
.probis-table-wrap::after {
    position: sticky;
    right: 0;
    display: block;
    width: 18px;
    height: 1px;
    margin-top: -1px;
    background: linear-gradient(90deg, transparent, rgba(29, 78, 216, .14));
    content: "";
    pointer-events: none;
}

@media (max-width: 900px) {
    body.probis-body {
        overflow-x: hidden;
    }
    .probis-sidebar {
        width: min(85vw, 320px);
        max-width: calc(100vw - 44px);
    }
    .probis-icon-button[data-probis-sidebar-toggle] {
        display: inline-grid;
    }
    .probis-sidebar-scrim {
        position: fixed;
        inset: 0;
        z-index: 35;
        width: 100%;
        border: 0;
        background: rgba(23, 32, 51, .46);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
    }
    body.probis-sidebar-open .probis-sidebar-scrim {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 768px) {
    .probis-topbar {
        min-height: 62px;
        gap: 10px;
        padding: 0 14px;
    }
    .probis-topbar-left, .probis-topbar-actions {
        gap: 9px;
        min-width: 0;
    }
    .probis-icon-button, .probis-avatar {
        width: 40px;
        height: 40px;
    }
    .probis-btn {
        min-height: 44px;
    }
    .probis-topbar-title {
        overflow: hidden;
        font-size: 14px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .probis-profile-trigger > .ki {
        display: none;
    }
    .probis-content {
        padding: 18px 14px 30px;
    }
    .probis-breadcrumbs {
        max-width: 100%;
        margin-bottom: 14px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }
    .probis-breadcrumbs::-webkit-scrollbar {
        display: none;
    }
    .probis-page-head {
        gap: 12px;
        margin-bottom: 16px;
    }
    .probis-page-head h1 {
        font-size: 23px;
        line-height: 1.2;
    }
    .probis-page-head p {
        font-size: 12px;
        line-height: 1.5;
    }
    .probis-page-head .probis-actions,
    .probis-detail-hero .probis-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
    .probis-page-head .probis-actions .probis-btn,
    .probis-detail-hero .probis-actions .probis-btn,
    .probis-page-head > .probis-btn {
        width: 100%;
        min-width: 0;
        padding: 0 10px;
    }
    .probis-card {
        border-radius: 12px;
    }
    .probis-card-head {
        align-items: flex-start;
        padding: 15px;
    }
    .probis-card-head > :last-child:not(:first-child) {
        flex: 0 0 auto;
    }
    .probis-card-body {
        padding: 15px;
    }
    .probis-kpi {
        min-height: 124px;
        padding: 16px;
    }
    .probis-kpi-value {
        font-size: 28px;
    }
    .probis-table-wrap {
        margin-inline: -15px;
        padding-inline: 15px;
    }
    .probis-table {
        min-width: 660px;
    }
    .probis-table th,
    .probis-table td {
        padding-inline: 12px;
    }
    .probis-form-footer {
        align-items: stretch;
        flex-direction: column-reverse;
        margin-top: 18px;
        padding-top: 15px;
    }
    .probis-form-footer .probis-btn {
        width: 100%;
    }
    .probis-file {
        align-items: flex-start;
        flex-direction: column;
    }
    .probis-file input {
        width: 100%;
    }
    .probis-pagination {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding: 14px 15px;
    }
    .probis-pagination nav {
        width: 100%;
        margin-left: 0;
        overflow-x: auto;
    }
    .probis-pagination nav > div:last-child {
        width: max-content;
    }
    .probis-detail-hero {
        padding: 17px;
    }
    .probis-detail-hero h1 {
        font-size: 21px;
    }
    .probis-detail-meta {
        gap: 8px 14px;
    }
    .probis-tabs {
        padding-inline: 8px;
        overflow-x: auto;
        scrollbar-width: none;
    }
    .probis-tabs::-webkit-scrollbar {
        display: none;
    }
    .probis-tab {
        flex: 0 0 auto;
        padding-inline: 12px;
    }
    .probis-tab-panel {
        padding: 15px;
    }
    .probis-stage-list {
        padding: 0 15px 15px !important;
    }
    .probis-modal {
        align-items: flex-end;
        padding: 0;
    }
    .probis-modal-dialog {
        width: 100%;
        max-height: min(88vh, 720px);
        border-radius: 16px 16px 0 0;
    }
    .probis-modal-head, .probis-modal-body {
        padding: 16px;
    }
}

@media (max-width: 420px) {
    .probis-content {
        padding-inline: 12px;
    }
    .probis-topbar-title {
        max-width: 146px;
    }
    .probis-page-head .probis-actions,
    .probis-detail-hero .probis-actions {
        grid-template-columns: 1fr;
    }
    .probis-badge {
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .probis-stage-list {
        grid-template-columns: 1fr;
    }
}

/* PROBIS sign-in */
.probis-auth {
    display: grid;
    min-height: 100vh;
    grid-template-columns: minmax(390px, .84fr) minmax(500px, 1.16fr);
    overflow-x: clip;
    background: var(--probis-canvas);
}
.probis-auth-panel {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(64px, 10.5vh, 122px) clamp(28px, 5vw, 76px);
    background: #fff;
}
.probis-auth-form { width: min(416px, 100%); }
.probis-auth-brand {
    display: inline-flex;
    margin-bottom: clamp(28px, 4vh, 58px);
    padding: 10px 0;
}
.probis-auth-brand { align-items: center; gap: 13px; color: #10284f; text-decoration: none; }
.probis-auth-brand img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 16px; filter: none; }
.probis-auth-brand > span { display: grid; gap: 4px; }
.probis-auth-brand strong { font-size: 18px; letter-spacing: .06em; }
.probis-auth-brand small { max-width: 230px; color: #64748b; font-size: 9px; font-weight: 650; line-height: 1.35; letter-spacing: .025em; }
.probis-auth-kicker {
    margin-bottom: 13px;
    color: var(--probis-brand-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.probis-auth-form h1 {
    max-width: 390px;
    margin: 0;
    color: var(--probis-ink);
    font-size: clamp(28px, 2.6vw, 36px);
    font-weight: 800;
    letter-spacing: -.05em;
    line-height: 1.14;
}
.probis-auth-form .intro {
    max-width: 385px;
    margin: 13px 0 30px;
    color: var(--probis-muted);
    font-size: 13px;
    line-height: 1.65;
}
.probis-auth-form .probis-field { margin-bottom: 16px; }
.probis-auth-alert {
    align-items: center;
    margin-bottom: 14px;
    padding: 9px 12px;
    border-color: #f2c2c9;
    background: #fff7f7;
    font-size: 11px;
    line-height: 1.4;
}
.probis-auth-alert .ki { flex: 0 0 auto; font-size: 15px; }
.probis-auth-alert strong { display: inline; margin: 0 4px 0 0; color: #b93848; }
.probis-auth-alert span { color: #c64858; }
.probis-auth-form .probis-input { height: 47px; background: #fff; }
.probis-auth-password-field { margin-top: 18px; }
.probis-password-control { position: relative; }
.probis-password-control .probis-input { padding-right: 48px; }
.probis-password-control .probis-icon-button {
    position: absolute;
    top: 50%;
    right: 4px;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    cursor: pointer;
}
.probis-check-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    margin-top: 17px;
    color: #59667a;
    font-size: 11px;
    line-height: 1.4;
}
.probis-check-row label { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.probis-check-row input { accent-color: var(--probis-brand-blue); }
.probis-check-row .probis-help-text { max-width: 215px; text-align: right; }
.probis-auth-notice,
.probis-check-row-session {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    width: 100%;
    margin-top: 14px;
    padding: 10px 14px;
    border: 1px solid #e2e8f2;
    border-radius: 9px;
    background: #f4f7fc;
    color: #4b586e;
    font-size: 11.5px;
    line-height: 1.45;
}
.probis-auth-notice i,
.probis-check-row-session i {
    flex: 0 0 auto;
    color: var(--probis-brand-blue);
    font-size: 15px;
    line-height: 1;
}
.probis-auth-notice .probis-help-text,
.probis-check-row-session .probis-help-text {
    max-width: none;
    text-align: left;
    color: inherit;
    font-size: inherit;
    line-height: inherit;
}
.probis-auth-submit { width: 100%; height: 47px; margin-top: 16px; border-radius: 10px; background: var(--probis-brand-blue); box-shadow: 0 6px 15px rgba(43, 86, 156, .24); }
.probis-auth-submit:hover { background: #234780; }
.probis-auth-submit:focus-visible { outline: 3px solid rgba(43, 86, 156, .34); outline-offset: 3px; }
[data-probis-email-submit]:disabled {
    background: #e8edf5;
    color: #475569;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}
.probis-email-login-hint { margin: 8px 0 0; color: var(--probis-muted); font-size: 12px; line-height: 1.5; }

/* Presentation POV selector and supervisor workspace */
.probis-demo-role-grid { display: grid; gap: 12px; margin-top: 24px; }
.probis-demo-role-grid form { margin: 0; }
.probis-demo-role-card { width: 100%; min-height: 82px; display: grid; grid-template-columns: 44px minmax(0, 1fr) 18px; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #cbd7e8; border-radius: 12px; background: #fff; color: var(--probis-ink); text-align: left; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease; }
.probis-demo-role-card:hover { border-color: var(--probis-primary); box-shadow: 0 10px 24px rgba(43, 86, 156, .12); transform: translateY(-1px); }
.probis-demo-role-card:focus-visible { outline: 3px solid rgba(43, 86, 156, .28); outline-offset: 2px; }
.probis-demo-role-card.is-supervisor { background: #f8fbff; }
.probis-demo-role-card.is-functional { background: #f7fbf9; }
.probis-demo-role-card.is-functional .probis-demo-role-icon { background: #e8f7ef; color: #0f8a5f; }
.probis-demo-role-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: #eaf2ff; color: var(--probis-primary); font-size: 20px; }
.probis-demo-role-card strong, .probis-demo-role-card small { display: block; }
.probis-demo-role-card strong { margin-bottom: 4px; font-size: 14px; }
.probis-demo-role-card small { color: #64748b; font-size: 12px; line-height: 1.45; }

.probis-pov-label { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 8px; color: #2b569c; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.probis-pov-dashboard-grid { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .8fr); gap: 20px; }
.probis-pov-queue { display: grid; }
.probis-pov-queue-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 20px; border-bottom: 1px solid #e7ecf3; }
.probis-pov-queue-item:last-child { border-bottom: 0; }
.probis-pov-queue-main { min-width: 0; display: grid; gap: 5px; }
.probis-pov-queue-item .probis-btn { flex: 0 0 auto; }
.probis-card-footer-action { padding: 14px 20px; border-top: 1px solid #e7ecf3; text-align: right; }
.probis-card-footer-action a { color: #2b569c; font-size: 12px; font-weight: 650; }
.probis-pov-monitor-list { display: grid; }
.probis-pov-monitor-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) 16px; align-items: center; gap: 11px; padding: 15px 18px; border-bottom: 1px solid #e7ecf3; color: inherit; text-decoration: none; }
.probis-pov-monitor-item:last-child { border-bottom: 0; }
.probis-pov-monitor-item:hover { background: #f8fafc; }
.probis-pov-avatar { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #eaf2ff; color: #2b569c; font-weight: 700; }
.probis-pov-monitor-copy { min-width: 0; display: grid; gap: 4px; }
.probis-pov-monitor-copy strong { overflow: hidden; color: #172033; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.probis-pov-monitor-copy small { overflow: hidden; color: #64748b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.probis-pov-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 20px; }
.probis-pov-step { display: grid; gap: 7px; padding: 16px; border: 1px solid #e1e8f1; border-radius: 10px; background: #fbfcfe; }
.probis-pov-step span { color: #2b569c; font-size: 11px; font-weight: 800; }
.probis-pov-step strong { color: #172033; font-size: 13px; }
.probis-pov-step small { color: #64748b; font-size: 11px; }
.probis-pov-tabs { display: flex; gap: 4px; padding: 12px 20px 0; border-bottom: 1px solid #e7ecf3; overflow-x: auto; }
.probis-pov-tabs a { display: inline-flex; min-height: 42px; align-items: center; gap: 7px; padding: 0 12px; border-bottom: 2px solid transparent; color: #64748b; font-size: 12px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.probis-pov-tabs a.is-active { border-color: #2b569c; color: #2b569c; }
.probis-pov-tabs a span { min-width: 20px; padding: 2px 6px; border-radius: 999px; background: #eef3fa; text-align: center; font-size: 10px; }
.probis-pov-filterbar { padding-top: 14px; padding-bottom: 14px; }
.probis-pov-task-search { width: min(520px, 100%); }
.probis-demo-assign-dialog { width: min(520px, calc(100% - 28px)); padding: 0; border: 0; border-radius: 14px; box-shadow: 0 24px 64px rgba(15, 23, 42, .28); }
.probis-demo-assign-dialog::backdrop { background: rgba(15, 23, 42, .5); }
.probis-demo-assign-panel { padding: 22px; }
.probis-demo-assign-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.probis-demo-assign-head h2 { margin: 0; color: #172033; font-size: 18px; }
.probis-demo-assign-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }

@media (max-width: 900px) {
    .probis-pov-dashboard-grid { grid-template-columns: 1fr; }
    .probis-pov-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.probis-existing-document {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 72px;
    margin-bottom: 8px;
    padding: 11px 12px;
    border: 1px solid #b9d2f4;
    border-radius: 11px;
    background: #edf5ff;
    box-shadow: 0 2px 8px rgba(43, 86, 156, .08);
}
.probis-existing-document-icon {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #fff;
    color: var(--probis-brand-blue, #2b569c);
    font-size: 18px;
}
.probis-existing-document-icon svg { width: 21px; height: 21px; display: block; }
.probis-existing-document-info { display: grid; min-width: 0; gap: 2px; }
.probis-existing-document-info strong { color: #163a72; font-size: 11px; text-transform: uppercase; letter-spacing: .03em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.probis-existing-document-name { display: block; min-width: 0; color: #0f172a; font-size: 13px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.probis-existing-document-info small { color: #64748b; font-size: 10.5px; }
.probis-existing-document-badge { padding: 4px 7px; border-radius: 999px; background: #dbeafe; color: #1d4f91; font-size: 9.5px; font-weight: 700; white-space: nowrap; }
.probis-existing-document-help { margin: 0 0 10px; color: #52647f; font-size: 10.5px; line-height: 1.5; }

@media (max-width: 560px) {
    .probis-existing-document { grid-template-columns: 38px minmax(0, 1fr); }
    .probis-existing-document-badge { grid-column: 2; justify-self: start; }
}

@media (max-width: 560px) {
    .probis-pov-queue-item { align-items: stretch; flex-direction: column; }
    .probis-pov-queue-item .probis-btn { width: 100%; }
    .probis-pov-steps { grid-template-columns: 1fr; }
    .probis-demo-assign-actions { flex-direction: column-reverse; }
    .probis-demo-assign-actions .probis-btn { width: 100%; }
}
.probis-auth-foot { margin: 31px 0 0; color: #9aa4b4; font-size: 10px; text-align: center; }
.probis-auth-foot strong { color: #64748b; }

.probis-auth-visual {
    position: sticky;
    top: 18px;
    align-self: start;
    height: calc(100vh - 36px);
    min-height: 540px;
    margin: 18px 18px 18px 0;
    overflow: hidden;
    border-radius: 22px;
    background: var(--probis-primary-deep);
    color: #fff;
    isolation: isolate;
}
.probis-auth-visual-image {
    position: absolute;
    inset: 0;
    z-index: -3;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 59% center;
    transform: scale(1.08);
}
.probis-auth-visual-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(145deg, rgba(12, 35, 91, .87) 2%, rgba(23, 58, 155, .55) 48%, rgba(14, 32, 79, .73) 100%);
}
.probis-auth-visual::before {
    position: absolute;
    top: -145px;
    right: -145px;
    z-index: -1;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    box-shadow: 0 0 0 52px rgba(255, 255, 255, .05), 0 0 0 104px rgba(255, 255, 255, .03);
    content: "";
}
.probis-auth-visual-copy {
    position: absolute;
    top: 50%;
    right: clamp(28px, 6vw, 86px);
    bottom: auto;
    left: clamp(28px, 5vw, 72px);
    max-width: 510px;
    transform: translateY(-50%);
}
.probis-auth-visual-eyebrow {
    color: #d6e5ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.probis-auth-visual h2 {
    margin: 14px 0;
    font-size: clamp(30px, 3.4vw, 52px);
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1.08;
}
.probis-auth-visual p {
    max-width: 440px;
    margin: 0;
    color: rgba(238, 245, 255, .9);
    font-size: 13px;
    line-height: 1.65;
}
@media (max-width: 1180px) {
    .probis-auth { grid-template-columns: minmax(350px, .92fr) minmax(420px, 1.08fr); }
    .probis-auth-panel { padding: 62px clamp(30px, 5vw, 68px); }
    .probis-auth-visual-copy { top: 50%; right: 44px; bottom: auto; left: 44px; transform: translateY(-50%); }
    .probis-auth-visual h2 { font-size: 38px; }
}
@media (max-height: 840px) and (min-width: 901px) {
    .probis-auth-panel { padding-top: 58px; padding-bottom: 24px; }
    .probis-auth-brand { margin-bottom: 20px; }
    .probis-auth-kicker { margin-bottom: 8px; }
    .probis-auth-form h1 { font-size: 30px; }
    .probis-auth-form .intro { margin: 8px 0 16px; }
    .probis-auth-form .probis-field { margin-bottom: 10px; }
    .probis-auth-password-field { margin-top: 10px; }
    .probis-check-row { margin-top: 10px; }
    .probis-auth-submit { margin-top: 14px; }
    .probis-auth-foot { margin-top: 17px; }
}
@media (max-width: 900px) {
    .probis-auth { display: flex; min-height: 100vh; flex-direction: column; }
    .probis-auth-panel { order: 1; min-height: auto; padding: 44px 26px 52px; }
    .probis-auth-brand { margin-bottom: 43px; }
    .probis-auth-visual { display: none; }
}
@media (max-width: 520px) {
    .probis-auth-panel { padding: 31px 20px 39px; }
    /* Fit the native 304px checkbox without shrinking its tap target. */
    .probis-auth-panel--with-captcha { padding-inline: clamp(0px, calc((100% - 304px) / 2), 20px); }
    .probis-auth-brand { width: 188px; margin-bottom: 36px; }
    .probis-auth-form h1 { font-size: 28px; }
    .probis-auth-form .intro { margin-bottom: 25px; }
    .probis-check-row { gap: 10px; }
    .probis-check-row .probis-help-text { max-width: 156px; }
    .probis-auth-notice, .probis-check-row-session { padding: 9px 12px; }
    .probis-auth-notice .probis-help-text, .probis-check-row-session .probis-help-text { max-width: 100%; }
    .probis-auth-visual { position: relative; top: auto; height: auto; min-height: 282px; margin: 0 9px 9px; }
    .probis-auth-visual-copy { top: 50%; right: 21px; bottom: auto; left: 21px; transform: translateY(-50%); }
    .probis-auth-visual h2 { font-size: 25px; }
}

@media (max-width: 1180px) {
    .probis-dashboard-kpis,
    .probis-dashboard-queues {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .probis-upload-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .probis-upload-field:last-child { grid-column: 1 / -1; }
    .probis-upload-grid-2 .probis-upload-field:last-child:not(.probis-field-full),
    .probis-upload-grid-4 .probis-upload-field:last-child:not(.probis-field-full) {
        grid-column: auto;
    }
}

@media (max-width: 767px) {
    .probis-dashboard-kpis,
    .probis-dashboard-queues {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .probis-dashboard-kpis .probis-kpi {
        min-height: 138px;
        padding: 15px;
    }
    .probis-dashboard-kpis .probis-kpi-label {
        max-width: calc(100% - 30px);
        font-size: 10px;
        line-height: 1.35;
    }
    .probis-dashboard-kpis .probis-kpi-value { margin: 9px 0 6px; font-size: 27px; }
    .probis-dashboard-kpis .probis-kpi-note { font-size: 10px; line-height: 1.35; }
    .probis-dashboard-kpis .probis-kpi-icon { top: 14px; right: 14px; width: 31px; height: 31px; font-size: 15px; }
    .probis-queue-card { min-height: 88px; gap: 10px; padding: 13px; }
    .probis-queue-card-icon { width: 32px; height: 32px; flex-basis: 32px; font-size: 16px; }
    .probis-queue-card-copy strong { font-size: 15px; }
    .probis-queue-card-copy span { font-size: 10px; overflow-wrap: anywhere; }
    .probis-dashboard-recent-table { display: none; }
    .probis-dashboard-task-list { display: grid; gap: 10px; padding: 12px 15px 15px; }
    .probis-dashboard-task-card { padding: 14px; border: 1px solid #e6ebf2; border-radius: 11px; background: #fff; }
    .probis-dashboard-task-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
    .probis-dashboard-task-card-head > div { min-width: 0; }
    .probis-dashboard-task-card-head .probis-badge { flex: 0 0 auto; }
    .probis-mobile-field-label { display: block; margin-bottom: 3px; color: #8b97a9; font-size: 10px; font-weight: 800; letter-spacing: .055em; text-transform: uppercase; }
    .probis-dashboard-task-card .probis-table-title { display: block; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
    .probis-mobile-task-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 14px 0 0; }
    .probis-mobile-task-fields > div { min-width: 0; }
    .probis-mobile-task-fields dt { margin-bottom: 4px; color: #8b97a9; font-size: 10px; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; }
    .probis-mobile-task-fields dd { margin: 0; color: #526178; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
    .probis-mobile-task-progress { grid-column: 1 / -1; }
    .probis-mobile-task-progress .probis-progress-line { min-width: 0; }
    .probis-mobile-task-link { display: inline-flex; min-height: 44px; align-items: center; gap: 7px; margin-top: 13px; color: var(--probis-primary); font-size: 11px; font-weight: 800; }
    .probis-upload-grid { grid-template-columns: 1fr; gap: 15px; }
    .probis-upload-field:last-child { grid-column: auto; }
    .probis-upload-zone,
    .probis-upload-zone-content { min-height: 158px; }
    .probis-upload-zone-content { padding: 18px 12px; }
    .probis-upload-title { font-size: 12.5px; }
    .probis-upload-meta { font-size: 10.5px; }
    .probis-upload-card { padding: 10px 12px; border-radius: 10px; }
    .probis-upload-card-name { font-size: 12.5px; }
    .probis-upload-card-icon { width: 34px; height: 34px; font-size: 16px; }
}

@media (max-width: 374px) {
    .probis-dashboard-kpis,
    .probis-dashboard-queues { gap: 9px; }
    .probis-dashboard-kpis .probis-kpi { min-height: 132px; padding: 13px; }
    .probis-dashboard-kpis .probis-kpi-value { font-size: 25px; }
    .probis-queue-card { min-height: 82px; padding: 11px; }
    .probis-queue-card-icon { width: 29px; height: 29px; flex-basis: 29px; }
    .probis-queue-card-copy span { font-size: 9px; }
}

/* Responsive data tables: preserve semantic tables on desktop and present every
   data row as a labelled record card for primary mobile workflows. */
@media (max-width: 767px) {
    .probis-table-wrap:has(.probis-responsive-table) {
        overflow: visible;
        margin-inline: 0;
        padding-inline: 0;
        touch-action: pan-y;
    }
    .probis-table-wrap:has(.probis-responsive-table)::after { display: none; }
    .probis-responsive-table,
    .probis-responsive-table tbody,
    .probis-responsive-table tr,
    .probis-responsive-table td { display: block; width: 100%; min-width: 0 !important; }
    .probis-responsive-table tr[hidden] { display: none; }
    .probis-responsive-table { border-collapse: separate; border-spacing: 0; }
    .probis-responsive-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
    .probis-responsive-table tbody { padding: 12px 14px 14px; }
    .probis-responsive-table tbody tr {
        margin: 0 0 12px;
        padding: 12px 14px 10px;
        border: 1px solid #e5eaf1;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 3px 12px rgba(30, 48, 78, .05);
    }
    .probis-responsive-table tbody tr:last-child { margin-bottom: 0; }
    .probis-responsive-table tbody tr:hover { background: #fff; }

    /* Top Card Header: Checkbox and Number inline */
    .probis-responsive-table td.probis-td-checkbox {
        display: inline-flex !important;
        align-items: center;
        width: auto !important;
        padding: 0 8px 10px 0 !important;
        border-top: none !important;
        vertical-align: middle;
    }
    .probis-responsive-table td.probis-td-checkbox::before {
        display: none !important;
    }

    .probis-responsive-table td.probis-td-num {
        display: inline-flex !important;
        align-items: center;
        width: auto !important;
        padding: 0 0 10px 0 !important;
        border-top: none !important;
        font-size: 12px;
        font-weight: 800;
        color: #64748b;
        vertical-align: middle;
    }
    .probis-responsive-table td.probis-td-num::before {
        content: "#" !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        color: #94a3b8 !important;
        letter-spacing: 0 !important;
        margin-right: 1px !important;
    }

    /* Clean Card Body Grid */
    .probis-responsive-table td {
        display: grid;
        grid-template-columns: minmax(116px, auto) minmax(0, 1fr);
        align-items: start;
        gap: 10px;
        padding: 9px 0;
        border-top: 1px solid #edf0f4;
        font-size: 12.5px;
        line-height: 1.45;
        overflow-wrap: anywhere;
    }
    .probis-responsive-table td:first-child { border-top: 0; }
    .probis-responsive-table td::before {
        color: #7f8da2;
        content: attr(data-label);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .05em;
        line-height: 1.45;
        text-transform: uppercase;
    }
    .probis-responsive-table .probis-table-title,
    .probis-responsive-table .probis-table-meta,
    .probis-responsive-table .probis-link { min-width: 0; overflow-wrap: anywhere; }
    .probis-responsive-table .probis-stage-stepper,
    .probis-responsive-table .probis-progress-line { min-width: 0; }
    .probis-responsive-table .probis-progress-line .probis-progress { min-width: 0; }
    .probis-responsive-table .probis-table-actions { justify-content: flex-start; flex-wrap: wrap; gap: 8px; }
    .probis-responsive-table .probis-table-action { min-height: 44px; padding-inline: 13px; }
    .probis-responsive-table .probis-icon-button,
    .probis-responsive-table .probis-table-actions form { flex: 0 0 auto; }
    .probis-responsive-table .probis-icon-button { width: 44px; height: 44px; }
    .probis-responsive-table .probis-icon-button { border: 1px solid #e2e8f0; border-radius: 8px; background: #fff; }
    .probis-responsive-table td[data-label="Aksi"] > .probis-link {
        display: inline-flex;
        min-height: 44px;
        align-items: center;
    }
    .probis-responsive-table .probis-table-empty-cell {
        display: block;
        padding: 12px 0;
        border: 0;
    }
    .probis-responsive-table .probis-table-empty-cell::before { display: none; }
    .probis-responsive-table tbody tr:has(.probis-table-empty-cell) { padding: 4px 14px; }
}

/* Tablet Optimizations (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .probis-content {
        padding: 20px 18px 35px;
    }
    .probis-table th,
    .probis-table td {
        padding: 11px 10px;
        font-size: 12px;
    }
    .probis-table th.probis-th-checkbox,
    .probis-table td.probis-td-checkbox {
        width: 38px;
        padding-left: 10px !important;
        padding-right: 4px !important;
    }
    .probis-table th.probis-th-num,
    .probis-table td.probis-td-num {
        width: 42px;
    }
    .probis-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .probis-grid-3 > :first-child {
        grid-column: 1 / -1;
    }
    .probis-table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
}

/* Shared page-loading skeleton. It is rendered by the two PROBIS layouts so
   every route gets the same short, descriptive loading state without page-level
   copies. The actual page remains in the DOM for a no-JavaScript fallback. */
.probis-page-skeleton {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: none;
    overflow: hidden;
    background: #f5f7fb;
    color: transparent;
    pointer-events: none;
}
html.probis-loading .probis-page-skeleton { display: block; }
/* Partial navigation keeps the persistent sidebar and topbar visible. Only the
   right-hand content region receives the loading skeleton, stacked below topbar/dropdowns. */
html.probis-partial-loading .probis-page-skeleton {
    top: 76px;
    left: var(--probis-sidebar);
    z-index: 20;
}
html.probis-partial-loading #probis-main-content { visibility: hidden; }
.probis-topbar:has(.probis-dropdown-menu.is-open) { z-index: 60; }
html.probis-partial-loading .probis-skeleton-shell { display: block; }
html.probis-partial-loading .probis-skeleton-sidebar,
html.probis-partial-loading .probis-skeleton-topbar { display: none; }
html.probis-partial-loading .probis-skeleton-content { padding-top: 29px; }
.probis-skeleton-shell { display: grid; min-height: 100%; grid-template-columns: 248px minmax(0, 1fr); }
.probis-skeleton-sidebar { padding: 28px 18px; background: #fff; border-right: 1px solid #e7ebf2; }
.probis-skeleton-workspace { min-width: 0; }
.probis-skeleton-topbar { display: flex; height: 76px; align-items: center; justify-content: space-between; padding: 0 32px; border-bottom: 1px solid #e7ebf2; background: #fff; }
.probis-skeleton-content { max-width: 1440px; margin: 0 auto; padding: 29px 32px 48px; }
.probis-skeleton-line,
.probis-skeleton-nav,
.probis-skeleton-menu,
.probis-skeleton-avatar,
.probis-skeleton-field,
.probis-skeleton-button,
.probis-skeleton-kpis > span,
.probis-skeleton-panel,
.probis-skeleton-table > span,
.probis-skeleton-list-lines > span {
    display: block;
    border-radius: 8px;
    background: linear-gradient(100deg, #e8edf5 34%, #f7f9fc 50%, #e8edf5 66%);
    background-size: 220% 100%;
    animation: probis-skeleton-shimmer 1.2s ease-in-out infinite;
}
@keyframes probis-skeleton-shimmer { to { background-position: -120% 0; } }
.probis-skeleton-brand { width: 130px; height: 25px; margin: 8px 0 46px; }
.probis-skeleton-nav { width: 100%; height: 40px; margin-bottom: 11px; }
.probis-skeleton-menu { width: 30px; height: 30px; }
.probis-skeleton-avatar { width: 38px; height: 38px; border-radius: 50%; }
.probis-skeleton-breadcrumb { width: 132px; height: 11px; margin-bottom: 24px; }
.probis-skeleton-page-head { margin-bottom: 26px; }
.probis-skeleton-heading { width: min(330px, 75%); height: 28px; margin-bottom: 12px; }
.probis-skeleton-copy { width: min(460px, 90%); height: 13px; }
.probis-skeleton-panel { min-height: 210px; padding: 24px; background-color: #fff; }
.probis-skeleton-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.probis-skeleton-kpis > span { height: 126px; background-color: #fff; }
.probis-skeleton-dashboard-grid,
.probis-skeleton-detail-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr); gap: 18px; }
.probis-skeleton-chart { min-height: 278px; }
.probis-skeleton-list-lines { display: grid; align-content: center; gap: 19px; }
.probis-skeleton-list-lines > span { width: 100%; height: 14px; }
.probis-skeleton-list-lines > span:nth-child(2n) { width: 76%; }
.probis-skeleton-table { display: grid; gap: 20px; min-height: 332px; }
.probis-skeleton-table-head { width: 100%; height: 28px; }
.probis-skeleton-table > span:not(.probis-skeleton-table-head) { width: 100%; height: 31px; }
.probis-skeleton-section-title { width: 180px; height: 19px; margin-bottom: 24px; }
.probis-skeleton-form { display: grid; gap: 18px; align-content: start; min-height: 380px; }
.probis-skeleton-field { width: 100%; height: 48px; }
.probis-skeleton-field-short { width: 57%; }
.probis-skeleton-button { width: 125px; height: 42px; margin-top: 8px; margin-left: auto; }
.probis-skeleton-auth { display: grid; min-height: 100%; grid-template-columns: minmax(360px, .85fr) minmax(420px, 1.15fr); background: #fff; }
.probis-skeleton-auth-panel { display: grid; align-content: center; gap: 20px; max-width: 470px; padding: 62px clamp(30px, 7vw, 112px); }
.probis-skeleton-logo { width: 190px; height: 36px; margin-bottom: 36px; }
.probis-skeleton-kicker { width: 215px; height: 11px; }
.probis-skeleton-auth-visual { margin: 18px 18px 18px 0; border-radius: 22px; background: linear-gradient(145deg, #173a9b, #0e204f); }
@media (max-width: 900px) {
    html.probis-partial-loading .probis-page-skeleton { top: 64px; left: 0; }
    .probis-skeleton-shell { display: block; }
    .probis-skeleton-sidebar { display: none; }
    .probis-skeleton-topbar { height: 64px; padding: 0 18px; }
    .probis-skeleton-content { padding: 23px 16px 40px; }
    .probis-skeleton-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .probis-skeleton-kpis > span { height: 112px; }
    .probis-skeleton-dashboard-grid,
    .probis-skeleton-detail-grid { grid-template-columns: 1fr; gap: 12px; }
    .probis-skeleton-panel { min-height: 196px; padding: 17px; }
    .probis-skeleton-auth { display: block; }
    .probis-skeleton-auth-panel { min-height: 100vh; padding: 36px 24px; }
    .probis-skeleton-auth-visual { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .probis-skeleton-line,
    .probis-skeleton-nav,
    .probis-skeleton-menu,
    .probis-skeleton-avatar,
    .probis-skeleton-field,
    .probis-skeleton-button,
    .probis-skeleton-kpis > span,
    .probis-skeleton-panel,
    .probis-skeleton-table > span,
    .probis-skeleton-list-lines > span { animation: none; }
}

/* ==========================================================================
   PROBIS Table Checkbox & Number Column
   ========================================================================== */
.probis-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1.5px solid #cbd5e1;
    border-radius: 6.5px;
    background-color: #ffffff;
    cursor: pointer;
    display: inline-grid;
    place-content: center;
    vertical-align: middle;
    position: relative;
    transition: all .15s ease-in-out;
    outline: none;
    flex-shrink: 0;
}

.probis-checkbox:hover {
    border-color: #94a3b8;
}

.probis-checkbox:focus-visible {
    border-color: var(--probis-brand-blue, #1b365d);
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.15);
}

.probis-checkbox:checked {
    background-color: var(--probis-brand-blue, #1b365d);
    border-color: var(--probis-brand-blue, #1b365d);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.2 4.8L6.5 10.5L3.8 7.8' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 13px 13px;
}

.probis-checkbox:indeterminate {
    background-color: var(--probis-brand-blue, #1b365d);
    border-color: var(--probis-brand-blue, #1b365d);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 8H12' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 12px 12px;
}

.probis-checkbox:disabled {
    background-color: #f1f5f9;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 0.6;
}

.probis-th-checkbox,
.probis-td-checkbox {
    width: 44px;
    text-align: center;
    padding-left: 14px !important;
    padding-right: 6px !important;
}

.probis-th-num,
.probis-td-num {
    width: 50px;
    text-align: center;
    color: #8b97a9;
    font-weight: 600;
    font-size: 12px;
}

/* ==========================================================================
   PROBIS Pagination Component (Reference: Option 1)
   ========================================================================== */
.probis-pagination-shell {
    width: 100%;
    min-width: 0;
    container-type: inline-size;
}
.probis-role-focus-card .probis-pagination-shell {
    margin-top: -1px;
}
.probis-pagination-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-top: 1px solid #edf2f7;
    background: #ffffff;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    font-size: 13px;
    color: #64748b;
    gap: 12px 16px;
    flex-wrap: wrap;
}
.probis-pagination-container[hidden] {
    display: none;
}

.probis-pagination-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    flex-wrap: wrap;
}

.probis-pagination-group {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.probis-pagination-label {
    font-weight: 500;
    color: #64748b;
    white-space: nowrap;
}

.probis-pagination-input {
    width: 44px;
    height: 34px;
    padding: 0 4px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
    -moz-appearance: textfield;
}

.probis-pagination-input::-webkit-outer-spin-button,
.probis-pagination-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.probis-pagination-input:focus {
    border-color: var(--probis-brand-blue, #1b365d);
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.12);
}

.probis-pagination-divider {
    color: #cbd5e1;
    margin: 0 10px;
    font-weight: 300;
}

.probis-pagination-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.probis-pagination-select {
    height: 34px;
    padding: 0 28px 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 8px center;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    appearance: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.probis-pagination-select:focus {
    border-color: var(--probis-brand-blue, #1b365d);
    box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.12);
}

.probis-pagination-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.probis-pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #64748b;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
    transition: all .15s ease;
}

.probis-pagination-btn:hover:not(.is-disabled) {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: var(--probis-brand-blue, #1b365d);
}

.probis-pagination-btn.is-disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
}

.probis-pagination-pages {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.probis-pagination-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 6px;
    border-radius: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    user-select: none;
    transition: all .15s ease;
}

.probis-pagination-num:hover:not(.is-active) {
    background: #f8fafc;
    color: #1e293b;
}

.probis-pagination-num.is-active {
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 800;
}

.probis-pagination-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 34px;
    color: #94a3b8;
    font-weight: 600;
}

/* Center controls cleanly whenever container narrows enough to wrap lines */
@container (max-width: 960px) {
    .probis-pagination-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px 14px;
        padding: 14px 16px;
        text-align: center;
    }
    .probis-pagination-left {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 10px;
    }
    .probis-pagination-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@container (max-width: 560px) {
    .probis-pagination-container {
        padding: 12px 14px;
        gap: 10px 12px;
        font-size: 12.5px;
    }
    .probis-pagination-divider {
        display: none;
    }
    .probis-pagination-btn {
        width: 34px;
        min-width: 34px;
        height: 34px;
        font-size: 12px;
    }
    .probis-pagination-num {
        width: auto;
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 12px;
    }
}

@media (max-width: 960px) {
    .probis-pagination-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px 14px;
        padding: 14px 16px;
        text-align: center;
    }
    .probis-pagination-left {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 10px;
    }
    .probis-pagination-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .probis-pagination-container {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px 12px;
        padding: 12px 14px;
        text-align: center;
    }
    .probis-pagination-left {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px 10px;
    }
    .probis-pagination-divider {
        display: none;
    }
    .probis-pagination-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    .probis-pagination-btn {
        width: 34px;
        min-width: 34px;
        height: 34px;
        font-size: 12px;
    }
    .probis-pagination-num {
        width: auto;
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 12px;
    }
}

/* ==========================================================================
   PROBIS Bulk Action Floating Toolbar (Elevated Light Island Redesign)
   ========================================================================== */
.probis-bulk-bar {
    position: fixed;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: transform .25s cubic-bezier(0.16, 1, 0.3, 1), opacity .25s ease, visibility .25s ease;
    pointer-events: none;
}

.probis-bulk-bar.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.probis-bulk-bar-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #ffffff;
    padding: 8px 12px 8px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.14), 0 4px 12px -2px rgba(15, 23, 42, 0.08);
}

.probis-bulk-info {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.probis-bulk-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
}

.probis-bulk-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.probis-bulk-divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
}

.probis-bulk-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.probis-bulk-btn-delete {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    background: #dc2626;
    color: #ffffff;
    border: 1px solid #dc2626;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(220, 38, 38, 0.2);
    transition: all .15s ease;
    line-height: 1.4;
}

.probis-bulk-btn-delete:hover {
    background: #b91c1c;
    border-color: #b91c1c;
    box-shadow: 0 2px 5px rgba(185, 28, 28, 0.28);
}

.probis-bulk-btn-delete:active {
    transform: scale(0.98);
}

.probis-bulk-btn-delete svg {
    flex-shrink: 0;
}

.probis-bulk-btn-cancel {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 8px;
    background: #ffffff;
    color: #475569;
    border: 1px solid #cbd5e1;
    cursor: pointer;
    transition: all .15s ease;
    line-height: 1.4;
}

.probis-bulk-btn-cancel:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #94a3b8;
}

.probis-bulk-btn-cancel:active {
    transform: scale(0.98);
}

@media (max-width: 640px) {
    .probis-bulk-bar {
        bottom: 16px;
        width: calc(100% - 32px);
    }
    .probis-bulk-bar-inner {
        width: 100%;
        justify-content: space-between;
        padding: 8px 10px 8px 12px;
        gap: 8px;
    }
    .probis-bulk-btn-delete,
    .probis-bulk-btn-cancel {
        padding: 7px 10px;
        font-size: 12px;
    }
}
/* Service navigation: native details keeps keyboard and screen-reader semantics. */
.probis-nav-service {
    margin: 2px 0;
}

.probis-nav-service > summary {
    cursor: pointer;
    list-style: none;
    user-select: none;
    outline: none;
}

.probis-nav-service > summary::-webkit-details-marker,
.probis-nav-service > summary::marker {
    display: none;
}

.probis-nav-arrow {
    margin-left: auto;
    color: #94a3b8;
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), color 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.probis-nav-service:hover > summary .probis-nav-arrow {
    color: #475569;
}

.probis-nav-service[open] > summary .probis-nav-arrow {
    transform: rotate(90deg);
    color: var(--probis-brand-blue);
}

.probis-nav-service[open] > summary.is-active {
    background: transparent;
    color: var(--probis-brand-blue);
}

.probis-nav-service[open] > summary:hover {
    background: #f0f4fa;
}

/* Fallback arrow when SVG not present */
.probis-nav-service > summary:not(:has(.probis-nav-arrow))::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: auto;
    border-top: 1.8px solid #94a3b8;
    border-right: 1.8px solid #94a3b8;
    transform: rotate(45deg);
    transition: transform .2s ease;
}

.probis-nav-service[open] > summary:not(:has(.probis-nav-arrow))::after {
    transform: rotate(135deg);
}

/* Submenu Children Container with Tree Line Navigation */
.probis-nav-children {
    position: relative;
    padding: 2px 0 6px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Child navigation link */
.probis-nav-child {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 12px;
    margin: 2px 4px 2px 36px;
    border-radius: 8px;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    transition: all .15s ease;
    border: 1px solid transparent;
}

/* Continuous vertical spine segment: identical border-left primitive ensures gapless continuous spine */
.probis-nav-child:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 0;
    bottom: -5px;
    width: 0;
    border-left: 1.5px solid #e2e8f0;
    pointer-events: none;
    z-index: 1;
}

/* Curved branch connector: sweeping concave quarter-circle arc matching reference design */
.probis-nav-child::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 0;
    width: 15px;
    height: 18px;
    border-left: 1.5px solid #e2e8f0;
    border-bottom: 1.5px solid #e2e8f0;
    border-bottom-left-radius: 14px;
    pointer-events: none;
    z-index: 2;
    transition: border-color .15s ease;
}

/* Top connector for first child reaching up seamlessly under parent icon */
.probis-nav-child:first-child::before {
    top: -6px;
    height: 24px;
}

/* Child item hover state */
.probis-nav-child:hover {
    color: #0f172a;
    background-color: #f8fafc;
}

.probis-nav-child:hover::before {
    border-color: #94a3b8;
}

/* Active child state (matching reference 'peter x louise') */
.probis-nav-child.is-active {
    color: var(--probis-brand-blue);
    background-color: #eff6ff;
    font-size: 12.5px;
    font-weight: 600;
    border-color: #dbeafe;
}

.probis-nav-child.is-active::before {
    border-color: var(--probis-brand-blue);
}

.probis-nav-child-text {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.35;
}

.probis-nav-child:focus-visible,
.probis-nav-subgroup-toggle:focus-visible,
.probis-nav-grandchild:focus-visible {
    outline: 2px solid var(--probis-brand-blue);
    outline-offset: -2px;
}

/* Nested level-2 subgroup accordion inside service children */
.probis-nav-subgroup {
    position: relative;
    margin: 2px 4px 2px 36px;
}

.probis-nav-subgroup:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -15px;
    top: 0;
    bottom: -5px;
    width: 0;
    border-left: 1.5px solid #e2e8f0;
    pointer-events: none;
    z-index: 1;
}

.probis-nav-subgroup::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 0;
    width: 15px;
    height: 18px;
    border-left: 1.5px solid #e2e8f0;
    border-bottom: 1.5px solid #e2e8f0;
    border-bottom-left-radius: 14px;
    pointer-events: none;
    z-index: 2;
    transition: border-color .15s ease;
}

.probis-nav-subgroup:first-child::before {
    top: -6px;
    height: 24px;
}

.probis-nav-subgroup:hover::before {
    border-color: #94a3b8;
}

.probis-nav-subgroup:has(> summary.is-active)::before {
    border-color: var(--probis-brand-blue);
}

.probis-nav-subgroup-toggle {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    min-height: 34px;
    padding: 6px 10px 6px 12px;
    border-radius: 8px;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    cursor: pointer;
    list-style: none;
    user-select: none;
    outline: none;
    border: 1px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.probis-nav-subgroup-toggle::-webkit-details-marker,
.probis-nav-subgroup-toggle::marker {
    display: none;
}

.probis-nav-subgroup-text {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    white-space: normal;
}

.probis-nav-subgroup-toggle .probis-nav-arrow {
    margin-top: 1px;
    width: 14px;
    height: 14px;
}

.probis-nav-subgroup-toggle:hover {
    color: #0f172a;
    background-color: #f8fafc;
}

.probis-nav-subgroup[open] > .probis-nav-subgroup-toggle .probis-nav-arrow {
    transform: rotate(90deg);
    color: var(--probis-brand-blue);
}

.probis-nav-subgroup-toggle.is-active {
    color: var(--probis-brand-blue);
    background-color: #f0f6ff;
    border-color: #dbeafe;
}

.probis-nav-subgroup[open] > .probis-nav-subgroup-toggle.is-active {
    background-color: transparent;
    border-color: transparent;
}

.probis-nav-subgroup[open] > .probis-nav-subgroup-toggle:hover {
    background-color: #f0f4fa;
}

/* Level-3 grandchild links inside a subgroup accordion */
.probis-nav-grandchildren {
    position: relative;
    padding: 2px 0 4px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.probis-nav-grandchild {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 32px;
    padding: 5px 10px;
    margin: 2px 0 2px 20px;
    border-radius: 7px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.probis-nav-grandchild:not(:last-child)::after {
    content: '';
    position: absolute;
    left: -12px;
    top: 0;
    bottom: -4px;
    width: 0;
    border-left: 1.5px solid #e2e8f0;
    pointer-events: none;
    z-index: 1;
}

.probis-nav-grandchild::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 0;
    width: 12px;
    height: 16px;
    border-left: 1.5px solid #e2e8f0;
    border-bottom: 1.5px solid #e2e8f0;
    border-bottom-left-radius: 10px;
    pointer-events: none;
    z-index: 2;
    transition: border-color .15s ease;
}

.probis-nav-grandchild:first-child::before {
    top: -4px;
    height: 20px;
}

.probis-nav-grandchild:hover {
    color: #0f172a;
    background-color: #f8fafc;
}

.probis-nav-grandchild:hover::before {
    border-color: #94a3b8;
}

.probis-nav-grandchild.is-active {
    color: var(--probis-brand-blue);
    background-color: #eff6ff;
    font-weight: 600;
    border-color: #dbeafe;
}

.probis-nav-grandchild.is-active::before {
    border-color: var(--probis-brand-blue);
}

@media (max-width: 991px) {
    .probis-nav-child,
    .probis-nav-subgroup {
        margin: 2px 4px 2px 32px;
    }
    .probis-nav-child::before,
    .probis-nav-subgroup::before {
        left: -14px;
        width: 14px;
    }
    .probis-nav-child:not(:last-child)::after,
    .probis-nav-subgroup:not(:last-child)::after {
        left: -14px;
    }
    .probis-nav-grandchild {
        margin: 2px 0 2px 18px;
    }
}

.probis-matrix-subgroup-row {
    background-color: #f8fafc;
}

.probis-matrix-subgroup-row td {
    padding: 8px 16px 8px 34px;
    border-top: 1px solid #e2e8f0;
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    letter-spacing: .01em;
}


/* Permission Matrix Table Styles */
.probis-matrix-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 780px;
}

.probis-matrix-control-row {
    background-color: #f1f5f9;
    border-bottom: 2px solid #cbd5e1;
}

.probis-matrix-control-row td {
    padding: 11px 16px;
    font-weight: 600;
    color: #1e293b;
    background-color: #f1f5f9;
}

.probis-matrix-parent-row {
    background-color: #f8fafc;
    border-top: 1.5px solid #e2e8f0;
}

.probis-matrix-parent-row td {
    padding: 12px 16px;
    font-weight: 600;
    color: #0f172a;
    background-color: #f8fafc;
}

.probis-matrix-parent-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0;
    font-weight: 700;
    font-size: 13px;
    color: #0f172a;
    user-select: none;
}

.probis-matrix-child-row {
    background-color: #ffffff;
}

.probis-matrix-child-row:hover {
    background-color: #f8fafc;
}

.probis-matrix-child-row td {
    padding: 10px 16px;
    border-top: 1px solid #f1f5f9;
    color: #334155;
    font-size: 13px;
}

.probis-matrix-child-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin: 0;
    font-size: 13px;
    color: #334155;
    user-select: none;
    padding-left: 24px;
}

.probis-matrix-tree-branch {
    color: #94a3b8;
    font-family: monospace;
    font-size: 13px;
    line-height: 1;
}

.probis-matrix-cell {
    text-align: center;
    vertical-align: middle;
}

.probis-matrix-cell .probis-checkbox {
    margin: 0 auto;
}

/* Document detail layout with right-hand preview */
.probis-document-layout {
    display: grid;
    grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
    gap: 20px;
    align-items: start;
}

.probis-document-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.probis-document-right {
    position: sticky;
    top: 85px;
}

.probis-document-viewer-card {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 175px);
    min-height: 640px;
    overflow: hidden;
}

.probis-document-viewer-card .probis-card-head {
    flex-shrink: 0;
}

.probis-document-viewer-body {
    flex: 1;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #525659;
}

.probis-document-iframe {
    width: 100%;
    height: 100%;
    flex: 1;
    border: none;
    display: block;
    background: #525659;
}

.probis-document-fallback {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 24px;
    height: 100%;
    gap: 12px;
    background: #ffffff;
}

.probis-document-fallback-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.probis-document-fallback h3 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: #1e293b;
}

.probis-document-fallback p {
    margin: 0;
    max-width: 360px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* Technical details collapsible section */
.probis-technical-section {
    margin-top: 18px;
    border-top: 1px solid #edf0f4;
    padding-top: 14px;
}

.probis-details-accordion {
    width: 100%;
}

.probis-details-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    padding: 4px 0;
    list-style: none;
    user-select: none;
    transition: color .15s ease;
}

.probis-details-summary::-webkit-details-marker {
    display: none;
}

.probis-details-summary:hover {
    color: var(--probis-brand-blue, #2b569c);
}

.probis-details-title {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.probis-details-chevron {
    font-size: 12px;
    color: #94a3b8;
    transition: transform .2s ease;
}

.probis-details-accordion[open] .probis-details-chevron {
    transform: rotate(180deg);
}

.probis-details-content {
    margin-top: 10px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.probis-details-hash-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
}

.probis-details-hash {
    display: block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 11px;
    color: #334155;
    background: #ffffff;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    word-break: break-all;
    user-select: all;
    line-height: 1.4;
}

.probis-details-explanation {
    margin: 8px 0 0;
    font-size: 11px;
    color: #64748b;
    line-height: 1.5;
}

.probis-btn-sm {
    min-height: 32px;
    padding: 0 10px;
    font-size: 11px;
    border-radius: 7px;
}

@media (max-width: 1024px) {
    .probis-document-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .probis-document-right {
        position: static;
    }
    .probis-document-viewer-card {
        height: 600px;
        min-height: 480px;
    }
}

@media (max-width: 620px) {
    .probis-document-viewer-card {
        height: 480px;
        min-height: 360px;
    }
    .probis-document-iframe {
        min-height: 360px;
    }
}

/* Scoped Table Loading (Circle Spinner & Dimmed Rows) */
.probis-table-wrap {
    position: relative;
}
.probis-table-wrap.is-loading {
    pointer-events: none;
    user-select: none;
}
.probis-table-wrap.is-loading .probis-table tbody {
    opacity: 0.38;
    filter: blur(0.5px) grayscale(20%);
    transition: opacity 0.15s ease, filter 0.15s ease;
}
.probis-table-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.12), 0 8px 10px -6px rgba(15, 23, 42, 0.08);
    color: #1e293b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    pointer-events: none;
    animation: probis-table-loader-pop 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.probis-table-spinner-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2.5px solid #e2e8f0;
    border-top-color: var(--probis-brand-blue, #1B84FF);
    animation: probis-table-spin 0.65s linear infinite;
    flex-shrink: 0;
}
@keyframes probis-table-spin {
    to { transform: rotate(360deg); }
}
@keyframes probis-table-loader-pop {
    from {
        opacity: 0;
        transform: translate(-50%, -46%) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

/* AI widget */
.probis-ai-card {
    background: linear-gradient(180deg, #ffffff 0%, #f9fbfe 100%);
    border: 1px solid #d8e5f8;
    box-shadow: 0 8px 24px -4px rgba(43, 86, 156, 0.07), 0 2px 6px -1px rgba(43, 86, 156, 0.04);
    position: relative;
    overflow: hidden;
}
.probis-ai-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2b569c, #3b82f6, #06b6d4, #10b981);
}
.probis-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 9999px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.probis-ai-briefing {
    background: #f0f6ff;
    border: 1px solid #c7ddfc;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.probis-ai-briefing-icon {
    font-size: 18px;
    color: #2563eb;
    margin-top: 2px;
}
.probis-ai-briefing-text {
    font-size: 13px;
    line-height: 1.55;
    color: #1e3a8a;
}
.probis-ai-briefing-text strong {
    color: #0f2356;
}
.probis-ai-insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
@media (max-width: 900px) {
    .probis-ai-insights-grid {
        grid-template-columns: 1fr;
    }
}
.probis-ai-insight-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.probis-ai-insight-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    font-size: 13px;
    flex-shrink: 0;
}
.probis-ai-insight-amber { background: #fef3c7; color: #b45309; }
.probis-ai-insight-blue { background: #dbeafe; color: #1d4ed8; }
.probis-ai-insight-green { background: #d1fae5; color: #047857; }
.probis-ai-insight-copy strong {
    display: block;
    font-size: 12px;
    color: #1e293b;
    margin-bottom: 2px;
}
.probis-ai-insight-copy span {
    display: block;
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}
.probis-ai-interactive-bar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
}
.probis-ai-prompt-form {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}
.probis-ai-prompt-input {
    flex: 1;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    color: #1e293b;
    outline: none;
    transition: border-color 0.15s ease;
}
.probis-ai-prompt-input:focus {
    border-color: #2b569c;
    box-shadow: 0 0 0 3px rgba(43, 86, 156, 0.12);
}
.probis-ai-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.probis-ai-chip-label {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    margin-right: 4px;
}
.probis-ai-preset-chip {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: #334155;
    transition: all 0.15s ease;
}
.probis-ai-preset-chip:hover {
    background: #e0e7ff;
    color: #1e40af;
    border-color: #93c5fd;
    transform: translateY(-1px);
}
.probis-ai-response-box {
    margin-top: 14px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #2b569c;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.6;
    color: #334155;
    animation: probis-table-loader-pop 0.2s ease-out;
}
.probis-ai-response-box strong {
    color: #1e293b;
}

/* Status per menu */
.probis-menu-status-card {
    background: #ffffff;
    border: 1px solid #eef1f6;
    border-radius: var(--probis-radius, 14px);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.probis-menu-status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -2px rgba(27, 48, 85, 0.08);
}
.probis-menu-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}
.probis-menu-card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f0f4fa;
    color: #2b569c;
    display: grid;
    place-items: center;
    font-size: 16px;
    flex-shrink: 0;
}
.probis-menu-card-title {
    font-size: 13px;
    font-weight: 800;
    color: #172033;
    margin: 0 0 2px;
    line-height: 1.35;
}
.probis-menu-card-code {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
}
.probis-multi-segment-bar {
    display: flex;
    height: 8px;
    border-radius: 9999px;
    overflow: hidden;
    background: #f1f5f9;
    gap: 2px;
}
.probis-segment-belum { background: #cbd5e1; }
.probis-segment-proses { background: #2b569c; }
.probis-segment-selesai { background: #10b981; }
.probis-menu-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.probis-metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}
.probis-metric-pill-blue { background: #eff6ff; color: #1d4ed8; }
.probis-metric-pill-green { background: #ecfdf5; color: #047857; }
.probis-metric-pill-gray { background: #f1f5f9; color: #475569; }

/* SLA watchlist */
.probis-sla-progress-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 130px;
}
.probis-sla-progress-bar {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}
.probis-sla-progress-fill {
    height: 100%;
    border-radius: 9999px;
}
.probis-sla-fill-safe { background: #10b981; }
.probis-sla-fill-warn { background: #f59e0b; }
.probis-sla-fill-danger { background: #ef4444; }

/* AI insight banner */
.probis-ai-service-banner {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f0fa 100%);
    border: 1px solid #bfdbfe;
    border-radius: var(--probis-radius, 14px);
    padding: 14px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.probis-ai-service-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 260px;
}
.probis-ai-sparkle-pill {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #2b569c;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 15px;
    flex-shrink: 0;
}
.probis-ai-review-box {
    display: grid;
    gap: 16px;
}
.probis-ai-check-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
}
.probis-ai-check-item.is-pass {
    border-left: 3px solid #10b981;
}
.probis-ai-check-item.is-warn {
    border-left: 3px solid #f59e0b;
}
.probis-ai-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    background: #ecfdf5;
    color: #047857;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid #a7f3d0;
}

/* Horizontal Stacked Bar */
.probis-stacked-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #64748b;
    flex-wrap: wrap;
}
.probis-legend-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    margin-right: 4px;
    vertical-align: middle;
}
.probis-dot-belum { background: #94a3b8; }
.probis-dot-proses { background: #2b569c; }
.probis-dot-selesai { background: #10b981; }

.probis-stacked-service-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.probis-stacked-row {
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.probis-stacked-row-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.probis-stacked-row-title strong {
    font-size: 13px;
    color: #1e293b;
    font-weight: 700;
}
.probis-stacked-row-total {
    font-size: 12px;
    color: #64748b;
    margin-left: 6px;
}
.probis-stacked-row-stats {
    font-size: 12px;
    color: #64748b;
}
.probis-horizontal-stacked-bar {
    display: flex;
    width: 100%;
    height: 14px;
    border-radius: 6px;
    overflow: hidden;
    background: #e2e8f0;
    gap: 1px;
}
.probis-stacked-segment {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    transition: width 0.3s ease;
}
.probis-seg-belum { background: #94a3b8; }
.probis-seg-proses { background: #2b569c; }
.probis-seg-selesai { background: #10b981; }

/* Attention List */
.probis-attention-list {
    display: flex;
    flex-direction: column;
}
.probis-attention-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease;
}
.probis-attention-item:last-child {
    border-bottom: none;
}
.probis-attention-item:hover {
    background-color: #f8fafc;
}
.probis-attention-indicator {
    width: 4px;
    height: 38px;
    border-radius: 2px;
    flex-shrink: 0;
}
.probis-attention-indicator.is-overdue { background: #ef4444; }
.probis-attention-indicator.is-neardue { background: #f59e0b; }
.probis-attention-content {
    flex: 1;
    min-width: 0;
}
.probis-attention-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}
.probis-attention-meta {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.probis-attention-sla {
    flex-shrink: 0;
    text-align: right;
}
.probis-sla-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
.probis-sla-pill.pill-overdue {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}
.probis-sla-pill.pill-neardue {
    background: #fffbeb;
    color: #b45309;
    border: 1px solid #fde68a;
}

/* Drawer Base & Overlay */
.probis-modal.probis-modal-drawer {
    padding: 0;
    justify-content: flex-end;
    align-items: stretch;
    background: rgba(15, 23, 42, 0.24);
    backdrop-filter: none;
}
.probis-modal-drawer .probis-modal-dialog.probis-drawer-dialog {
    width: 480px;
    max-width: 520px;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    border-left: 1px solid #e2e8f0;
    margin: 0;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 30px rgba(15, 23, 42, 0.12);
    animation: probis-drawer-slide-in 0.25s ease-out;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}
@keyframes probis-drawer-slide-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .probis-modal-drawer .probis-modal-dialog.probis-drawer-dialog {
        width: 65vw;
        max-width: 520px;
    }
}
@media (max-width: 768px) {
    .probis-modal-drawer {
        align-items: stretch;
    }
    .probis-modal-drawer .probis-modal-dialog.probis-drawer-dialog {
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        border-radius: 0 !important;
        border-left: none;
        border-top: none;
        animation: probis-drawer-slide-up 0.25s ease-out;
    }
    @keyframes probis-drawer-slide-up {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
}

/* Drawer Header */
.probis-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    flex-shrink: 0;
    position: relative;
}
.probis-drawer-header-left {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    flex: 1;
    padding-right: 48px;
}
.probis-drawer-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #eef4ff;
    color: #2b569c;
    display: grid;
    place-items: center;
    font-size: 16px;
    flex-shrink: 0;
}
.probis-drawer-header-copy {
    min-width: 0;
}
.probis-drawer-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
    line-height: 1.3;
}
.probis-drawer-subtitle {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}
.probis-drawer-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}
.probis-drawer-close:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
}
.probis-drawer-close:focus-visible {
    outline: 2px solid #2b569c;
    outline-offset: 2px;
}

/* Drawer Body */
.probis-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #ffffff;
}

/* Empty State & Recommendations */
.probis-drawer-empty-state {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.probis-empty-header {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
}
.probis-empty-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px 0;
}
.probis-empty-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}
.probis-rec-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.probis-rec-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #ffffff;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
}
.probis-rec-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}
.probis-rec-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #2b569c;
    display: grid;
    place-items: center;
    font-size: 15px;
    flex-shrink: 0;
}
.probis-rec-text {
    flex: 1;
    min-width: 0;
}
.probis-rec-text strong {
    display: block;
    font-size: 12.5px;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.35;
}
.probis-rec-text span {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
    line-height: 1.35;
}
.probis-rec-arrow {
    color: #94a3b8;
    font-size: 13px;
    flex-shrink: 0;
}
.probis-rec-more-wrap {
    margin-top: 4px;
}
.probis-rec-more-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    padding: 6px 4px;
    color: #2b569c;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.probis-rec-more-toggle:hover {
    text-decoration: underline;
}
.probis-rec-more-toggle.is-expanded i {
    transform: rotate(180deg);
}
.probis-rec-more-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
    animation: probis-fade-in 0.2s ease-out;
}
.probis-rec-item.is-subtle {
    border-style: dashed;
    background: #fafbfc;
}

/* Conversation Messages & Executive Memo Cards */
.probis-drawer-messages {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.probis-msg-row-user {
    display: flex;
    justify-content: flex-end;
}
.probis-msg-user-bubble {
    max-width: 85%;
    padding: 10px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px 12px 2px 12px;
    font-size: 13px;
    color: #1e293b;
    line-height: 1.5;
}
.probis-msg-row-assistant {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.probis-msg-assistant-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #2b569c;
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: #1e293b;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.probis-msg-assistant-memo-header {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #2b569c;
    margin-bottom: 6px;
}

/* Citation / Source Card */
.probis-citation-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.probis-citation-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}
.probis-citation-ref {
    font-size: 11px;
    font-weight: 700;
    color: #2b569c;
}
.probis-citation-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-top: 2px;
}
.probis-citation-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 12px;
    font-size: 11px;
    color: #475569;
    padding: 8px 0;
    border-top: 1px solid #edf2f7;
    border-bottom: 1px solid #edf2f7;
}
.probis-citation-fields dt {
    color: #64748b;
    font-weight: 500;
}
.probis-citation-fields dd {
    margin: 0;
    font-weight: 600;
    color: #1e293b;
}
.probis-citation-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #64748b;
}
.probis-citation-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: #2b569c;
    text-decoration: none;
}
.probis-citation-link:hover {
    text-decoration: underline;
}

/* Loading status & abort bar */
.probis-drawer-loading-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 16px;
    background: #f0f4fa;
    border-top: 1px solid #dbe6f5;
    border-bottom: 1px solid #dbe6f5;
    font-size: 12px;
    color: #2b569c;
    flex-shrink: 0;
}
.probis-loading-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}
.probis-btn-cancel-generation {
    background: transparent;
    border: none;
    padding: 4px 8px;
    color: #b91c1c;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
}
.probis-btn-cancel-generation:hover {
    background: #fee2e2;
    text-decoration: underline;
}

/* Usage Info Disclaimer */
.probis-drawer-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 18px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    font-size: 11.5px;
    color: #475569;
    line-height: 1.45;
    flex-shrink: 0;
}
.probis-drawer-disclaimer i {
    color: #2b569c;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Sticky Multiline Composer */
.probis-drawer-composer {
    padding: 12px 18px 16px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0;
}
.probis-composer-input-wrap {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 6px 8px 6px 12px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.probis-composer-input-wrap:focus-within {
    border-color: #2b569c;
    box-shadow: 0 0 0 3px rgba(43, 86, 156, 0.12);
}
.probis-composer-textarea {
    flex: 1;
    min-height: 32px;
    max-height: 110px;
    border: none;
    outline: none;
    resize: none;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.45;
    color: #0f172a;
    padding: 5px 0;
    background: transparent;
}
.probis-composer-textarea::placeholder {
    color: #94a3b8;
}
.probis-composer-submit {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: #2b569c;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
    transition: all 0.15s ease;
}
.probis-composer-submit:hover:not(:disabled) {
    background: #1e427b;
    box-shadow: 0 2px 6px rgba(43, 86, 156, 0.25);
    transform: translateY(-1px);
}
.probis-composer-submit:active:not(:disabled) {
    transform: translateY(0);
}
.probis-composer-submit:disabled {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}
.probis-composer-submit-icon {
    width: 17px;
    height: 17px;
    fill: currentColor;
    display: block;
    margin-left: 2px;
    transition: transform 0.15s ease;
}
.probis-composer-submit:hover:not(:disabled) .probis-composer-submit-icon {
    transform: translateX(1px);
}
.probis-composer-submit:disabled .probis-composer-submit-icon {
    opacity: 0.55;
}
.probis-composer-help {
    display: flex;
    justify-content: space-between;
    font-size: 10.5px;
    color: #94a3b8;
    margin-top: 6px;
    padding: 0 4px;
}


/* Dashboard KPI accents */
.probis-kpi-red { border-left: 3px solid #dc2626; }
.probis-kpi-red .probis-kpi-value { color: #dc2626; }
.probis-kpi-amber { border-left: 3px solid #f59e0b; }
.probis-kpi-amber .probis-kpi-value { color: #d97706; }
.probis-kpi-blue { border-left: 3px solid #2b569c; }
.probis-kpi-green { border-left: 3px solid #10b981; }

/* Mobile attention list */
@media (max-width: 480px) {
    .probis-attention-item {
        flex-wrap: wrap;
        gap: 8px;
        padding: 12px 14px;
    }
    .probis-attention-sla {
        width: 100%;
        text-align: left;
        padding-left: 16px;
    }
}

/* Table skeleton */
.probis-table-skeleton {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.probis-table-skeleton-row {
    height: 38px;
    border-radius: 6px;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: probis-skeleton-shimmer 1.5s infinite;
}

/* Accessible Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Subtle button */
.probis-btn-subtle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s ease;
}
.probis-btn-subtle:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
}
.probis-distribution-summary-body {
    margin-bottom: 16px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid #2b569c;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #334155;
}

/* Segmented Control */
.probis-segmented-control {
    display: inline-flex;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}
.probis-segmented-btn {
    padding: 5px 14px;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.15s ease;
}
.probis-segmented-btn.is-active {
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
    border-color: #cbd5e1;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

/* Grouped Horizontal Bar Chart */
.probis-grouped-bar-chart {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}
.probis-chart-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background-color 0.15s ease, opacity 0.15s ease;
    outline: none;
}
.probis-chart-group:focus-visible {
    outline: 2px solid #2b569c;
    outline-offset: 1px;
}
.probis-grouped-bar-chart.has-active-group .probis-chart-group:not(.is-active) {
    opacity: 0.45;
}
.probis-chart-group.is-active {
    background: #f8fafc;
    opacity: 1 !important;
}
.probis-chart-group-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 12.5px;
    flex-wrap: wrap;
    gap: 6px;
}
.probis-chart-group-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
}
.probis-chart-group-total {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
}
.probis-grouped-bars {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.probis-grouped-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.probis-bar-label {
    width: 72px;
    flex-shrink: 0;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    text-align: right;
}
.probis-bar-track {
    flex: 1;
    height: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    background: #f8fafc;
    border-radius: 0 4px 4px 0;
}
.probis-bar-fill {
    height: 100%;
    border-radius: 0 3px 3px 0;
    transition: width 0.35s ease, opacity 0.15s ease;
    cursor: pointer;
}
.probis-bar-fill:hover {
    opacity: 0.88;
}
.probis-fill-belum { background: #94a3b8; }
.probis-fill-proses { background: #2b569c; }
.probis-fill-selesai { background: #10b981; }
.probis-bar-value {
    font-size: 12px;
    font-weight: 700;
    color: #1e293b;
    min-width: 16px;
}

/* X-axis ticks */
.probis-chart-x-axis {
    display: flex;
    justify-content: space-between;
    margin-left: 82px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
}

/* Proportion stacked bar alternative */
.probis-stacked-bars-alt {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.probis-stacked-prop-labels {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

/* Mobile section ordering */
@media (max-width: 767px) {
    .probis-col-attention { order: 1; }
    .probis-col-distribution { order: 2; }
    .probis-bar-label { width: 54px; font-size: 11px; }
    .probis-chart-x-axis { margin-left: 64px; }
}

/* Trend Line Chart */
.probis-trend-chart-container {
    position: relative;
    width: 100%;
    min-height: 200px;
}
.probis-trend-crosshair {
    stroke: #cbd5e1;
    stroke-width: 1.5;
    stroke-dasharray: 3 3;
    pointer-events: none;
    transition: opacity 0.1s ease;
}
.probis-trend-legend {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    color: #64748b;
    flex-wrap: wrap;
}
.probis-trend-line-in {
    stroke: #2b569c;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.probis-trend-line-out {
    stroke: #10b981;
    stroke-width: 2.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.probis-trend-point {
    r: 4.5;
    cursor: pointer;
    transition: r 0.12s ease, stroke-width 0.12s ease;
}
.probis-trend-point:hover,
.probis-trend-point:focus,
.probis-trend-point.is-active {
    r: 6.5;
    stroke: #ffffff !important;
    stroke-width: 3px !important;
    outline: none;
}
.probis-trend-point-in {
    fill: #ffffff;
    stroke: #2b569c;
    stroke-width: 2.5;
}
.probis-trend-point-out {
    fill: #ffffff;
    stroke: #10b981;
    stroke-width: 2.5;
}

/* Floating Chart Interactive Tooltip */
.probis-chart-interactive-tooltip {
    position: fixed !important;
    z-index: 99999 !important;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 14px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.18), 0 4px 6px -2px rgba(15, 23, 42, 0.08);
    font-size: 12px;
    color: #1e293b;
    pointer-events: none;
    transition: opacity 0.1s ease-out;
    white-space: nowrap;
    min-width: 190px;
    max-width: 300px;
}
.probis-chart-interactive-tooltip.is-hidden {
    display: none !important;
    opacity: 0 !important;
}
.probis-cit-title {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}
.probis-cit-subtitle {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
}
.probis-cit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 2px 0;
    font-size: 11.5px;
}
.probis-cit-row.is-diff {
    margin-top: 4px;
    padding-top: 4px;
    border-top: 1px dashed #e2e8f0;
    font-weight: 700;
    color: #0f172a;
}
.probis-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #2b569c;
    text-decoration: none;
    transition: color 0.15s ease;
}
.probis-link-arrow:hover {
    color: #1e427b;
    text-decoration: underline;
}

/* Overview / Trend Chart Redesign (Reference UI) */
.probis-trend-ref-legend {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}
.probis-ref-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}
.probis-ref-pill-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.probis-ref-dash-line {
    display: inline-block;
    width: 16px;
    height: 0;
    border-top: 1.8px dashed #cbd5e1;
}

.probis-icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.15s ease;
    padding: 0;
}
.probis-icon-btn:hover {
    background: #f8fafc;
    color: #1e293b;
    border-color: #cbd5e1;
}

.probis-trend-svg {
    width: 100%;
    height: 340px;
    display: block;
    overflow: visible;
    font-family: inherit;
}

@media (max-width: 768px) {
    .probis-trend-chart-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
    .probis-trend-svg {
        min-width: 0;
        height: 330px;
    }
}

.probis-trend-grid-line {
    stroke: #f1f5f9;
    stroke-width: 1;
}

.probis-trend-axis-title {
    fill: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-anchor: start;
}

.probis-trend-y-label {
    fill: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-anchor: end;
}

.probis-trend-x-label {
    fill: #475569;
    font-size: 12.5px;
    font-weight: 700;
    text-anchor: middle;
    letter-spacing: 0.02em;
}

.probis-trend-spline {
    fill: none;
    stroke: #cbd5e1;
    stroke-width: 1.8;
    stroke-dasharray: 4 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.probis-trend-bar {
    cursor: pointer;
    transition: filter 0.15s ease, opacity 0.15s ease;
}

.probis-trend-bar-in {
    fill: #2b569c;
}

.probis-trend-bar-out {
    fill: #10b981;
}

.probis-trend-bar.is-voronoi-focused {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.28));
    stroke: #ffffff;
    stroke-width: 1;
}

.probis-trend-svg.has-voronoi-focus .probis-trend-bar:not(.is-voronoi-focused) {
    opacity: 0.55;
}

.probis-trend-svg.has-voronoi-focus .probis-trend-spline {
    stroke: #94a3b8;
}

#probis-voronoi-crosshair {
    stroke: #93c5fd;
    stroke-width: 1.2;
    stroke-dasharray: 3 3;
    pointer-events: none;
}

#probis-voronoi-col-highlight {
    fill: #f8fafc;
    pointer-events: none;
    transition: opacity 0.12s ease;
}

#probis-voronoi-halo,
#probis-voronoi-dot {
    pointer-events: none;
    transition: transform 0.08s ease-out;
}

.probis-spin-once {
    animation: probis-spin 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes probis-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes probis-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes probis-fade-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* KeenIcons ki-send universal fallback */
.ki-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-style: normal;
}
.ki-send:before {
    content: "";
    display: inline-block;
    width: 1.1em;
    height: 1.1em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2.01 21L23 12 2.01 3 2 10l15 2-15 2z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ============================================================
   REVISI FITUR ASISTEN PROBIS & TELAAH RANCANGAN
   ============================================================ */

/* Menu Scope: Ringkasan Layanan */
.probis-menu-summary-card {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 20px;
    background: #ffffff;
}
.probis-menu-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.probis-menu-summary-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1;
}
.probis-menu-summary-badge {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: #eef4ff;
    color: #2b569c;
    display: grid;
    place-items: center;
    font-size: 16px;
    flex-shrink: 0;
}
.probis-menu-summary-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 3px 0;
    line-height: 1.3;
}
.probis-menu-summary-sub {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.probis-context-tag {
    color: #2b569c;
    font-weight: 600;
}
.probis-context-dot {
    color: #94a3b8;
}

/* 7 Metric Tiles */
.probis-menu-summary-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin: 16px 0;
}
.probis-summary-metric-tile {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    transition: all 0.15s ease;
}
.probis-summary-metric-tile:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.probis-summary-metric-tile.is-warn {
    background: #fffdfa;
    border-color: #fde68a;
}
.probis-summary-metric-tile.is-danger {
    background: #fef2f2;
    border-color: #fecaca;
}
.probis-metric-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.probis-metric-value {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 4px 0 2px;
}
.probis-metric-value.text-blue { color: #2563eb; }
.probis-metric-value.text-amber { color: #d97706; }
.probis-metric-value.text-red { color: #dc2626; }
.probis-metric-value.text-green { color: #059669; }
.probis-metric-desc {
    font-size: 11px;
    color: #94a3b8;
}

/* Priority Findings */
.probis-priority-findings {
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    margin-top: 10px;
}
.probis-priority-findings-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.probis-priority-findings-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.probis-priority-findings-sub {
    font-size: 12px;
    color: #64748b;
}
.probis-priority-findings-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.probis-finding-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.15s ease;
}
.probis-finding-row:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}
.probis-finding-badge-wrap {
    flex-shrink: 0;
}
.probis-finding-details {
    flex: 1;
    min-width: 0;
    font-size: 12.5px;
    color: #334155;
    line-height: 1.45;
}
.probis-finding-code {
    font-weight: 700;
    color: #0f172a;
}
.probis-finding-stage {
    font-weight: 600;
    color: #2b569c;
}
.probis-finding-desc {
    color: #475569;
}
.probis-finding-sep {
    color: #94a3b8;
    margin: 0 4px;
}
.probis-finding-btn {
    flex-shrink: 0;
}

/* AI Tag Badge (Anthropic-style icon) */
.probis-ai-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 3px;
    border-radius: 5px;
    background-color: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
    user-select: none;
    vertical-align: middle;
    flex-shrink: 0;
}
.probis-ai-icon {
    display: block;
    width: 12px;
    height: 12px;
    fill: #1e40af;
    flex-shrink: 0;
}

/* Telaah Rancangan header */
.probis-telaah-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-content: space-between;
    column-gap: 24px;
    padding: 4px 0 18px;
    background: transparent;
    border: none;
    border-bottom: 1px solid #e9edf2;
    border-radius: 0;
    margin-bottom: 16px;
}

.probis-telaah-header-main {
    min-width: 0;
    flex: 1;
}

.probis-telaah-header-titles {
    display: block;
}

.probis-telaah-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
    line-height: 1.35;
}

.probis-telaah-desc {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.4;
}

.probis-telaah-meta-strip {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 12px;
    color: #64748b;
}

.probis-meta-sep {
    color: #cbd5e1;
}

.probis-doc-source-name {
    color: #334155;
    font-weight: 500;
    display: inline;
    vertical-align: baseline;
}
.probis-doc-source-name i {
    vertical-align: -1px;
    font-size: 12px;
}

.probis-telaah-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    flex-wrap: nowrap;
    justify-content: flex-end;
    align-self: center;
}

.probis-telaah-action {
    width: auto;
    min-width: max-content;
    min-height: 36px;
    height: 36px;
    padding: 0 12px;
    gap: 6px;
    font-size: 12px;
    line-height: 1;
    overflow: visible;
}

.probis-telaah-action > i,
.probis-telaah-action-menu > i {
    flex: 0 0 auto;
    font-size: 14px;
    line-height: 1;
}

.probis-telaah-action .probis-btn-label {
    display: inline-block;
    min-width: max-content;
    line-height: 1;
}

.probis-telaah-action-menu {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
    height: 36px;
}

.probis-btn-icon {
    min-width: 32px;
    min-height: 32px;
    height: 32px;
    width: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Button text label: hidden at narrow card widths */
.probis-btn-label {
    display: inline;
}

.probis-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.15s, color 0.15s;
}

.probis-dropdown-item:hover,
.probis-dropdown-item:focus-visible {
    background: #f1f5f9;
    color: #0f172a;
}

.probis-dropdown-item i {
    font-size: 14px;
    color: #64748b;
    flex-shrink: 0;
}

.probis-dropdown-item:hover i {
    color: #2b569c;
}

.probis-dropdown-menu form {
    margin: 0;
    padding: 0;
}

/* Re-analyze Banner */
.probis-reanalyze-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    font-size: 12.5px;
    color: #15803d;
    margin-bottom: 16px;
    animation: probis-fade-in 0.2s ease-out;
}
.probis-reanalyze-notice i {
    font-size: 16px;
    flex-shrink: 0;
}

/* Summary Status Bar */
.probis-telaah-summary-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.probis-telaah-summary-counters {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.probis-counter-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.4;
}
.probis-counter-badge i {
    font-size: 12px;
}
.probis-counter-badge.is-pass {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.probis-counter-badge.is-warn {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}
.probis-counter-badge.is-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}
.probis-telaah-summary-text {
    font-size: 12.5px;
    color: #64748b;
    flex: 1;
    min-width: 0;
}

/* Findings Section */
.probis-telaah-section {
    margin-bottom: 20px;
}
.probis-telaah-section-heading {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.probis-telaah-section-heading i {
    font-size: 16px;
    color: #64748b;
}
.probis-telaah-section-heading.is-warn i {
    color: #d97706;
}
.probis-telaah-section-heading.is-info i {
    color: #2563eb;
}
.probis-telaah-section-heading.is-pass i {
    color: #059669;
}
.probis-findings-cards-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.probis-finding-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.probis-finding-card.is-warn { border-left: 4px solid #f59e0b; }
.probis-finding-card.is-info { border-left: 4px solid #3b82f6; }
.probis-finding-card.is-pass { border-left: 4px solid #10b981; }

.probis-finding-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.probis-finding-card-head-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.probis-finding-loc {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}
.probis-reviewer-confirm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #475569;
    cursor: pointer;
    user-select: none;
}
.probis-reviewer-confirm input:checked + span {
    color: #10b981;
    font-weight: 600;
    text-decoration: line-through;
}

.probis-finding-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 13px;
    line-height: 1.55;
    color: #334155;
}
.probis-finding-block p {
    margin: 3px 0 0 0;
}
.probis-finding-block.probis-finding-rec {
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}
.probis-finding-citations {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 4px;
    padding-top: 8px;
    border-top: 1px solid #f1f5f9;
    font-size: 11.5px;
}
.probis-finding-cite-item {
    display: flex;
    align-items: baseline;
    gap: 6px;
    color: #64748b;
    flex-wrap: wrap;
}
.probis-cite-lbl {
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.probis-cite-val {
    color: #1e293b;
}

/* Status Tags */
.probis-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
}
.probis-status-tag.tag-pass { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.probis-status-tag.tag-warn { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }
.probis-status-tag.tag-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }

/* Sistematika Table */
.probis-sistematika-card {
    box-shadow: none;
    border: 1px solid #eef1f6;
    overflow: hidden;
}
.probis-sistematika-table {
    margin: 0;
    border-collapse: collapse;
    width: 100%;
    font-size: 12.5px;
}
.probis-sistematika-table th {
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.probis-sistematika-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    vertical-align: middle;
}
.probis-sistematika-table tbody tr:last-child td {
    border-bottom: none;
}
.probis-sistematika-table tbody tr:hover td {
    background: #f8fafc;
}
.probis-text-muted {
    color: #64748b;
    font-size: 12px;
}

/* Admin Disclaimer */
.probis-admin-disclaimer {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
}
.probis-admin-disclaimer-icon {
    color: #2b569c;
    font-size: 16px;
    flex-shrink: 0;
    margin-top: 1px;
}
.probis-admin-disclaimer-text {
    flex: 1;
}
.probis-admin-disclaimer-text strong {
    color: #334155;
}

/* Contextual Drawer Callout */
.probis-drawer-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    flex-wrap: wrap;
}
.probis-drawer-callout-text {
    flex: 1;
    min-width: 260px;
}
.probis-drawer-callout-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}
.probis-drawer-callout-text p {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}
.probis-drawer-callout-action {
    flex-shrink: 0;
}

/* Scope Indicator in Drawer */
.probis-drawer-scope-indicator {
    display: inline-block;
    color: #2b569c;
    font-weight: 600;
}

/* Responsive Rules for Mobile */
@media (max-width: 768px) {
    .probis-menu-summary-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
    .probis-finding-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .probis-finding-btn {
        width: 100%;
    }
    .probis-finding-btn .probis-btn {
        width: 100%;
        justify-content: center;
    }
    .probis-telaah-header {
        grid-template-columns: 1fr;
        align-items: stretch;
        gap: 12px;
    }
    .probis-telaah-header-actions {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 8px;
        flex-wrap: wrap;
    }
    .probis-telaah-header-actions .probis-btn:not(.probis-btn-icon) {
        flex: 1;
        justify-content: center;
    }
    .probis-drawer-callout {
        flex-direction: column;
        align-items: stretch;
    }
    .probis-drawer-callout-action .probis-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===========================================================================
   Dashboard responsive hardening: phone and tablet
   ========================================================================== */
.probis-dashboard-page-head > div:first-child,
.probis-dashboard-overview-grid > *,
.probis-dashboard-chart-head > *,
.probis-dashboard-trend-head > *,
.probis-dashboard-active-head > * {
    min-width: 0;
}

.probis-dashboard-chart-controls,
.probis-dashboard-trend-controls {
    max-width: 100%;
}

@media (min-width: 769px) and (max-width: 1024px) {
    .probis-content {
        padding: 24px;
    }
    .probis-dashboard-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .probis-dashboard-chart-head,
    .probis-dashboard-trend-head {
        display: grid;
        grid-template-columns: minmax(220px, 1fr) auto;
        align-items: start !important;
    }
    .probis-dashboard-chart-controls {
        justify-content: flex-end;
    }
    .probis-dashboard-trend-controls {
        justify-content: flex-end;
    }
    .probis-tabs {
        display: flex;
        width: 100%;
        padding-inline: 12px;
        overflow-x: auto;
        scrollbar-width: thin;
    }
    .probis-tabs .probis-tab {
        min-width: 112px;
        flex: 1 0 auto;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .probis-topbar-left > div {
        min-width: 0;
    }
    .probis-topbar-actions {
        margin-left: auto;
    }
    .probis-notification-pill {
        height: 40px;
        padding-inline: 10px;
    }
    .probis-dashboard-page-head .probis-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    .probis-dashboard-page-head .probis-actions > :nth-child(3):last-child {
        grid-column: 1 / -1;
    }
    .probis-dashboard-page-head .probis-actions .probis-btn {
        min-height: 42px;
        white-space: normal;
        line-height: 1.25;
        text-align: center;
    }
    .probis-dashboard-overview-grid {
        gap: 14px;
        margin-bottom: 16px;
    }
    .probis-dashboard-attention-card,
    .probis-dashboard-distribution-card,
    .probis-dashboard-trend-card,
    .probis-dashboard-active-card {
        min-width: 0;
        overflow: hidden;
    }
    .probis-dashboard-chart-head {
        display: flex !important;
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
    }
    .probis-dashboard-chart-head > div:first-child {
        width: 100%;
        margin-bottom: 13px;
    }
    .probis-dashboard-chart-controls {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center !important;
        width: 100%;
        min-width: 0;
        gap: 10px !important;
    }
    .probis-dashboard-chart-controls > .probis-btn-subtle {
        width: 100%;
        min-width: 0;
        min-height: 36px;
        justify-content: center;
        padding-inline: 8px !important;
        white-space: normal;
        text-align: center;
    }
    .probis-dashboard-chart-controls > .probis-segmented-control {
        display: flex;
        width: 100%;
        min-width: 0;
        justify-self: stretch;
    }
    .probis-dashboard-chart-controls > .probis-segmented-control .probis-segmented-btn {
        flex: 1 1 50%;
        min-width: 0;
        min-height: 32px;
        padding: 5px 7px;
    }
    .probis-dashboard-chart-controls > .probis-stacked-legend {
        display: grid !important;
        grid-column: 1 / -1 !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        width: 100% !important;
        min-width: 0;
        gap: 6px 10px;
        padding-top: 2px;
        font-size: 10.5px;
    }
    .probis-dashboard-chart-controls > .probis-stacked-legend > span {
        display: flex;
        min-width: 0;
        align-items: center;
        line-height: 1.25;
        overflow-wrap: anywhere;
        white-space: normal;
    }
    .probis-dashboard-chart-controls .probis-legend-dot {
        flex: 0 0 auto;
    }
    .probis-dashboard-distribution-body {
        padding: 14px 12px 16px !important;
    }
    .probis-grouped-bar-chart {
        gap: 8px;
    }
    .probis-chart-group {
        gap: 5px;
        padding: 5px 2px;
    }
    .probis-chart-group-head {
        gap: 4px 8px;
    }
    .probis-chart-group-title {
        max-width: calc(100% - 92px);
        font-size: 12px;
        line-height: 1.3;
    }
    .probis-chart-group-total {
        font-size: 10px;
    }
    .probis-grouped-bar-row {
        min-width: 0;
        gap: 7px;
    }
    .probis-bar-label {
        width: 50px;
        font-size: 10.5px;
    }
    .probis-bar-track {
        min-width: 0;
        height: 13px;
    }
    .probis-bar-value {
        min-width: 13px;
        font-size: 10.5px;
    }
    .probis-chart-x-axis {
        margin-left: 59px;
        font-size: 9.5px;
    }
    .probis-stacked-prop-labels {
        justify-content: flex-start;
        gap: 5px 10px;
        font-size: 10px;
        flex-wrap: wrap;
    }
    .probis-dashboard-trend-head {
        display: block;
    }
    .probis-dashboard-trend-head > div:first-child {
        margin-bottom: 12px;
    }
    .probis-dashboard-trend-controls {
        display: flex !important;
        width: 100%;
        align-items: center !important;
        justify-content: space-between;
        gap: 10px !important;
    }
    .probis-trend-ref-legend {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, auto));
        gap: 7px 10px;
    }
    .probis-ref-legend-item {
        min-width: 0;
        font-size: 10px;
        line-height: 1.2;
    }
    .probis-dashboard-trend-body {
        padding: 10px 8px 12px !important;
    }
    .probis-trend-chart-container {
        width: 100%;
        min-height: 300px;
        overflow: hidden;
        padding-bottom: 0;
    }
    .probis-trend-svg {
        width: 100%;
        min-width: 0;
        height: 330px;
        overflow: hidden;
    }
    .probis-dashboard-active-head > :last-child {
        display: flex;
        width: 100%;
        justify-content: space-between;
    }
    .probis-dashboard-filter-body {
        padding: 14px !important;
    }
    #probis-active-drafts-filter {
        grid-template-columns: 1fr;
        gap: 10px !important;
    }
    .probis-dashboard-task-list {
        gap: 9px;
        padding: 10px;
    }
    .probis-dashboard-task-card {
        min-width: 0;
        padding: 12px;
    }
    .probis-dashboard-task-card-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }
    .probis-dashboard-task-card-head .probis-badge,
    .probis-dashboard-task-card-head .probis-sla-pill {
        justify-self: start;
    }
    .probis-dashboard-task-card .probis-table-title {
        font-size: 12.5px;
        line-height: 1.35;
    }
    .probis-mobile-task-fields {
        gap: 10px 12px;
        margin-top: 12px;
    }
    .probis-mobile-task-link {
        min-height: 40px;
        margin-top: 9px;
    }
    #probis-drafts-pagination {
        gap: 10px 12px;
        padding: 12px 14px;
    }
    #probis-drafts-pagination .probis-pagination-btn {
        width: 34px;
        min-width: 34px;
        height: 34px;
    }
    #probis-drafts-pagination .probis-pagination-num {
        width: auto;
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
    }
    .probis-chart-interactive-tooltip {
        max-width: calc(100vw - 24px);
        min-width: min(260px, calc(100vw - 24px));
        white-space: normal;
    }
    .probis-tabs {
        width: 100%;
        max-width: 100%;
        padding-inline: 8px;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        overscroll-behavior-inline: contain;
    }
    .probis-tabs .probis-tab {
        min-height: 44px;
        flex: 0 0 auto;
        padding: 11px 12px;
        scroll-snap-align: start;
        line-height: 1.25;
    }
    .probis-tab-panel {
        min-width: 0;
        padding: 14px;
    }
}

@media (max-width: 559px) {
    .probis-trend-svg {
        height: 300px;
    }
    .probis-trend-x-label {
        font-size: 8.5px;
        letter-spacing: 0;
    }
    .probis-trend-y-label,
    .probis-trend-axis-title {
        font-size: 9.5px;
    }
}

@media (max-width: 420px) {
    .probis-dashboard-chart-controls > .probis-stacked-legend {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
    .probis-dashboard-chart-controls > .probis-stacked-legend > span:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 359px) {
    .probis-content {
        padding-inline: 10px;
    }
    .probis-dashboard-page-head .probis-actions {
        grid-template-columns: 1fr;
    }
    .probis-dashboard-page-head .probis-actions > * {
        grid-column: 1;
    }
    .probis-dashboard-chart-controls {
        grid-template-columns: 1fr;
    }
    .probis-dashboard-chart-controls .probis-segmented-control {
        width: 100%;
        justify-self: stretch;
    }
    .probis-dashboard-chart-controls .probis-segmented-btn {
        flex: 1;
    }
    .probis-dashboard-chart-controls > .probis-stacked-legend {
        grid-column: 1;
    }
    .probis-dashboard-trend-controls {
        align-items: flex-start !important;
        flex-direction: column;
    }
    .probis-notification-pill {
        padding-inline: 8px;
    }
    .probis-profile-pill-chevron {
        display: none;
    }
}

/* ===========================================================================
   Mobile layout repair: service summary and AI review
   ========================================================================== */
@media (max-width: 620px) {
    .probis-page-head .probis-actions > :only-child {
        grid-column: 1 / -1;
    }

    .probis-menu-summary-card {
        padding: 16px;
        overflow: hidden;
    }
    .probis-menu-summary-head {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: stretch;
        gap: 14px;
    }
    .probis-menu-summary-title-wrap {
        display: grid;
        grid-template-columns: 36px minmax(0, 1fr);
        align-items: start;
        width: 100%;
        gap: 10px;
    }
    .probis-menu-summary-title-wrap > div:last-child {
        min-width: 0;
    }
    .probis-menu-summary-title {
        overflow-wrap: anywhere;
    }
    .probis-menu-summary-sub {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 5px;
        line-height: 1.45;
    }
    .probis-menu-summary-sub > span {
        min-width: 0;
        overflow-wrap: anywhere;
    }
    .probis-context-dot {
        display: none;
    }
    .probis-menu-summary-actions,
    .probis-menu-summary-actions .probis-btn {
        width: 100%;
        min-width: 0;
    }
    .probis-menu-summary-actions .probis-btn {
        min-height: 42px;
        justify-content: center;
    }
    .probis-menu-summary-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-block: 16px;
    }
    .probis-menu-summary-metrics > :last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
    .probis-summary-metric-tile {
        min-width: 0;
        padding: 11px;
    }
    .probis-metric-label,
    .probis-metric-desc {
        overflow-wrap: anywhere;
    }

    .probis-card[data-probis-tabs] > .probis-tabs {
        justify-content: flex-start;
        gap: 2px;
        padding-inline: 6px;
    }
    .probis-card[data-probis-tabs] > .probis-tabs .probis-tab {
        min-height: 42px;
        padding: 10px 9px;
        font-size: 10.5px;
    }
    .probis-card[data-probis-tabs] > .probis-tabs .probis-ai-tag {
        width: 20px;
        height: 20px;
    }
    #probis-panel-ai {
        padding: 14px;
    }
    #probis-panel-ai .probis-telaah-header {
        width: 100%;
        padding-bottom: 14px;
        gap: 14px;
    }
    #probis-panel-ai .probis-telaah-meta-strip {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 4px;
        line-height: 1.45;
    }
    #probis-panel-ai .probis-telaah-meta-strip > span {
        min-width: 0;
        overflow-wrap: anywhere;
    }
    #probis-panel-ai .probis-meta-sep {
        display: none;
    }
    #probis-panel-ai .probis-doc-source-name {
        overflow-wrap: anywhere;
    }
    #probis-panel-ai .probis-telaah-header-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 36px;
        width: 100%;
        gap: 8px;
    }
    #probis-panel-ai .probis-telaah-header-actions .probis-btn:not(.probis-btn-icon) {
        width: 100%;
        min-width: 0;
        padding-inline: 8px;
    }
    #probis-panel-ai .probis-telaah-summary-bar {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 12px;
    }
    #probis-panel-ai .probis-telaah-summary-counters {
        width: 100%;
    }
    #probis-panel-ai .probis-telaah-summary-text {
        width: 100%;
        padding-top: 10px;
        border-top: 1px solid #e2e8f0;
        line-height: 1.45;
    }
    #probis-panel-ai .probis-finding-card {
        min-width: 0;
        padding: 14px;
    }
    #probis-panel-ai .probis-finding-card-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
    #probis-panel-ai .probis-finding-card-head-left {
        min-width: 0;
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }
    #probis-panel-ai .probis-finding-loc,
    #probis-panel-ai .probis-finding-block,
    #probis-panel-ai .probis-cite-val {
        min-width: 0;
        overflow-wrap: anywhere;
    }
    #probis-panel-ai .probis-reviewer-confirm {
        width: 100%;
        align-items: flex-start;
    }
}

@media (max-width: 380px) {
    .probis-menu-summary-card,
    #probis-panel-ai {
        padding-inline: 12px;
    }
    .probis-card[data-probis-tabs] > .probis-tabs .probis-tab {
        padding-inline: 8px;
    }
    #probis-panel-ai .probis-counter-badge {
        font-size: 10.5px;
        padding-inline: 7px;
    }
}

/* Role dashboards: richer hierarchy without duplicating the supervisor analytics. */
.probis-role-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #2f5faa;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.probis-role-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.probis-role-kpis:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.probis-role-kpis .probis-kpi { min-height: 116px; }
.probis-kpi-gray { border-left: 3px solid #94a3b8; }
.probis-role-kpi-icon {
    position: absolute;
    top: 17px;
    right: 17px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid #e1e8f2;
    border-radius: 10px;
    background: #f8fafc;
    color: #5e7394;
}
.probis-role-kpi-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}
.probis-kpi-amber .probis-role-kpi-icon { background: #fffaf0; border-color: #fde9b4; color: #d97706; }
.probis-kpi-blue .probis-role-kpi-icon { background: #f1f6fd; border-color: #d9e5f7; color: #2f5faa; }
.probis-kpi-green .probis-role-kpi-icon { background: #effbf6; border-color: #ccefe1; color: #0f9f6e; }
.probis-role-sla-card,
.probis-role-summary-card { min-width: 0; overflow: hidden; }
.probis-focus-origin {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #f8fafc;
    color: #475569;
    font-size: 10.5px;
    font-weight: 650;
    white-space: nowrap;
}
.probis-focus-origin.is-readonly {
    border-color: #e6ebf2;
    background: #f8fafc;
    color: #64748b;
    font-weight: 600;
}
.probis-focus-origin i {
    font-size: 11px;
}
.probis-table-meta.probis-table-meta-inline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.probis-badge-readonly {
    border: 1px solid #dbe4ef;
    background: #f8fafc;
    color: #475569;
}
.probis-active-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding: 8px 12px;
    border: 1px solid #dbe6f5;
    border-radius: 10px;
    background: #f5f9ff;
    font-size: 12px;
    color: #2b4570;
}
.probis-active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.probis-active-filter-chip i {
    color: #2b569c;
    font-size: 13px;
}
.probis-active-filter-reset {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border: 1px solid #cbd9ec;
    border-radius: 999px;
    background: #ffffff;
    color: #2b569c;
    font-size: 11.5px;
    font-weight: 650;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.probis-active-filter-reset:hover {
    background: #eaf1fb;
    border-color: #9fbce6;
    color: #1e3f73;
}
.probis-focus-sla {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.probis-focus-sla i { font-size: 11px; }
.probis-focus-sla.is-red { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.probis-focus-sla.is-amber { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.probis-focus-sla.is-neutral { background: #f1f5f9; border-color: #e2e8f0; color: #475569; }
.probis-stage-stepper {
    display: grid;
    gap: 6px;
    min-width: 0;
}
.probis-stage-stepper-label {
    overflow: hidden;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.probis-table .probis-stage-stepper { min-width: 148px; gap: 5px; }
.probis-table .probis-stage-stepper-label {
    max-width: 190px;
    white-space: normal;
    line-height: 1.3;
}
.probis-table .probis-stage-step-dot { width: 7px; height: 7px; }
.probis-table .probis-stage-step-line { width: 13px; }
.probis-stage-stepper-track {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.probis-stage-stepper-dots {
    display: inline-flex;
    align-items: center;
}
.probis-stage-step-dot {
    width: 8px;
    height: 8px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #e2e8f0;
}
.probis-stage-step-dot.is-done { background: #1e429f; }
.probis-stage-step-dot.is-complete { background: #059669; }
.probis-stage-step-line {
    width: 15px;
    height: 2px;
    flex: 0 0 auto;
    background: #e2e8f0;
}
.probis-stage-step-line.is-done { background: #6ea2e5; }
.probis-stage-step-line.is-complete { background: #6ee7b7; }
.probis-stage-stepper-fraction {
    color: #64748b;
    font-size: 11px;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.probis-role-sla-head { flex-wrap: wrap; gap: 10px 12px; }
.probis-sla-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-bottom: 1px solid #edf1f6;
    background: #fbfcfe;
}
.probis-sla-metric {
    display: grid;
    gap: 3px;
    padding: 12px 14px;
    border: 0;
    border-right: 1px solid #edf1f6;
    background: transparent;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color .15s ease, box-shadow .15s ease;
}
.probis-sla-metric:last-child { border-right: 0; }
.probis-sla-metric:hover { background: #f3f6fb; }
.probis-sla-metric:focus-visible { outline: 2px solid #2f5faa; outline-offset: -2px; }
.probis-sla-metric.is-active { background: #ffffff; box-shadow: inset 0 -2px 0 #2f5faa; }
.probis-sla-metric.is-overdue.is-active { background: #fffafa; box-shadow: inset 0 -2px 0 #dc2626; }
.probis-sla-metric.is-nearly.is-active { background: #fffdf5; box-shadow: inset 0 -2px 0 #d97706; }
.probis-sla-metric.is-ontrack.is-active { background: #f5fcf9; box-shadow: inset 0 -2px 0 #059669; }
.probis-sla-metric-label { color: #526075; font-size: 11px; font-weight: 650; }
.probis-sla-metric-value {
    color: #172946;
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
}
.probis-sla-metric.is-overdue .probis-sla-metric-value { color: #b91c1c; }
.probis-sla-metric.is-nearly .probis-sla-metric-value { color: #b45309; }
.probis-sla-metric.is-ontrack .probis-sla-metric-value { color: #047857; }
.probis-sla-list { display: grid; gap: 0; align-content: start; }
.probis-sla-item {
    display: grid;
    gap: 6px;
    padding: 13px 18px;
    border-bottom: 1px solid #edf1f6;
    color: inherit;
    text-decoration: none;
    transition: background-color .15s ease;
}
.probis-sla-item[hidden],
.probis-sla-empty-pad[hidden] { display: none; }
.probis-sla-item:hover { background: #f7faff; }
.probis-sla-item:focus-visible { outline: 2px solid #2f5faa; outline-offset: -2px; background: #f7faff; }
.probis-sla-item:hover .probis-sla-item-title { color: #2f5faa; }
.probis-sla-item:hover .probis-sla-item-meta i { transform: translateX(3px); }
.probis-sla-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.probis-sla-item-date {
    color: #526075;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
.probis-sla-item-title {
    display: -webkit-box;
    overflow: hidden;
    color: #172946;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.4;
    transition: color .15s ease;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.probis-sla-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #5b6b82;
    font-size: 11px;
    font-weight: 550;
}
.probis-sla-item-meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.probis-sla-item-meta i { flex: 0 0 auto; color: #8da0bb; font-size: 12px; transition: transform .15s ease; }
.probis-sla-empty-pad { padding: 20px 18px; }
.probis-sla-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    flex-wrap: wrap;
    margin-top: -1px;
    padding: 12px 18px;
    border-top: 1px solid #edf1f6;
    background: #fbfcfe;
}
.probis-sla-summary {
    color: #526075;
    font-size: 11.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.probis-sla-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #2f5faa;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    text-underline-offset: 3px;
}
.probis-sla-footer-link:hover { text-decoration: underline; }
.probis-sla-footer-link:focus-visible { outline: 3px solid rgba(47,95,170,.22); outline-offset: 2px; border-radius: 4px; }
.probis-role-summary-body { display: grid; gap: 10px; padding: 16px 20px 20px; }
.probis-role-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 12px;
    border: 1px solid #e8edf4;
    border-radius: 10px;
    background: #fbfcfe;
}
.probis-role-summary-row span { display: inline-flex; align-items: center; gap: 8px; color: #53627a; font-size: 11.5px; font-weight: 650; }
.probis-role-summary-row i { color: #2f5faa; }
.probis-role-summary-row strong { color: #172946; font-size: 18px; }
.probis-role-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 2px;
    padding: 12px;
    border-radius: 10px;
    background: #eef4fc;
    color: #48617f;
}
.probis-role-note i { margin-top: 1px; color: #2f5faa; }
.probis-role-note p { margin: 0; font-size: 11px; line-height: 1.55; }
.probis-unit-dashboard-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
}
.probis-unit-table-card { align-self: start; }
.probis-unit-side-stack { display: flex; min-width: 0; flex-direction: column; gap: 18px; }
.probis-unit-followup-card .probis-card-head { padding-bottom: 13px; }
.probis-unit-followup-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border: 1px solid #e6ebf2;
    border-radius: 10px;
    color: inherit;
    text-decoration: none;
}
.probis-unit-followup-item:not(.is-passive):hover { border-color: #b8cbea; background: #f7faff; }
.probis-unit-followup-item.is-passive { grid-template-columns: 34px minmax(0, 1fr); background: #fbfcfe; }
.probis-unit-followup-icon {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 9px;
    background: #eaf1fb;
    color: #2f5faa;
}
.probis-unit-followup-icon.is-amber { background: #fff4dc; color: #b96b00; }
.probis-unit-followup-item strong { display: block; color: #20314e; font-size: 11.5px; }
.probis-unit-followup-item small { display: block; margin-top: 3px; color: #7d899a; font-size: 10.5px; line-height: 1.4; }
.probis-unit-followup-item > .ki-arrow-right { color: #8da0bb; font-size: 13px; }
.probis-client-pagination .probis-pagination-num {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}
.probis-client-pagination .probis-pagination-num:focus-visible {
    outline: 3px solid rgba(47,95,170,.2);
    outline-offset: 1px;
}
.probis-client-pagination .probis-pagination-num.is-active { background: #f1f5f9; }
.probis-table-ref-top {
    display: block;
    margin-bottom: 3px;
    color: #64748b;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .01em;
    font-variant-numeric: tabular-nums;
}
.probis-status-dot-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}
.probis-status-dot-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: currentColor;
}
.probis-status-dot-pill.is-blue { background: #eff6ff; color: #1d4ed8; }
.probis-status-dot-pill.is-amber { background: #fff7ed; color: #b45309; }
.probis-status-dot-pill.is-green { background: #ecfdf5; color: #047857; }
.probis-status-dot-pill.is-red { background: #fef2f2; color: #b91c1c; }
.probis-status-dot-pill.is-gray { background: #f1f5f9; color: #475569; }
.probis-unit-card-subtitle {
    margin: 2px 0 0;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
}
.probis-unit-head-controls {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    flex-wrap: wrap;
}
.probis-unit-filter-menu { position: relative; }
.probis-unit-filter-trigger {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border: 1px solid #d7e0ec;
    border-radius: 9px;
    background: #fff;
    color: #334155;
    font-size: 12px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s ease, background-color .15s ease;
}
.probis-unit-filter-trigger::-webkit-details-marker { display: none; }
.probis-unit-filter-trigger:hover { border-color: #b7c7de; background: #f8fafc; }
.probis-unit-filter-trigger:focus-visible { outline: 3px solid rgba(47,95,170,.2); outline-offset: 1px; }
.probis-unit-filter-trigger i { font-size: 13px; color: #64748b; }
.probis-unit-filter-popover {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 25;
    min-width: 196px;
    max-width: calc(100vw - 32px);
    display: grid;
    gap: 2px;
    padding: 6px;
    border: 1px solid #dce4ef;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 14px 28px rgba(15,23,42,.12);
}
.probis-unit-filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #334155;
    font-family: inherit;
    font-size: 12px;
    font-weight: 550;
    text-align: left;
    cursor: pointer;
}
.probis-unit-filter-option:hover { background: #f3f7fc; color: #16243d; }
.probis-unit-filter-option.is-active { background: #eef4fc; color: #1e429f; font-weight: 700; }
.probis-unit-viewall-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #1e429f;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.probis-unit-viewall-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.probis-unit-viewall-link:focus-visible { outline: 3px solid rgba(30,66,159,.2); outline-offset: 2px; border-radius: 4px; }
.probis-unit-activity-card .probis-card-head {
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f7;
}
.probis-activity-timeline {
    padding: 18px 20px 20px;
}
.probis-activity-item {
    position: relative;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    padding-bottom: 18px;
    color: inherit;
    text-decoration: none;
}
.probis-activity-item:last-child { padding-bottom: 0; }
.probis-activity-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 16.25px;
    top: 38px;
    bottom: 4px;
    width: 1.5px;
    background: #e2e8f0;
}
.probis-activity-item:hover .probis-activity-title { color: #1e429f; }
.probis-activity-icon {
    position: relative;
    z-index: 1;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 50%;
    font-size: 16px;
}
.probis-activity-icon.is-complete { background: #dcfce7; color: #059669; }
.probis-activity-icon.is-progress { background: #dbeafe; color: #1d4ed8; }
.probis-activity-icon.is-pending { background: #fef3c7; color: #b45309; }
.probis-activity-body { min-width: 0; padding-top: 1px; }
.probis-activity-title {
    color: #16243d;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    transition: color .15s ease;
}
.probis-activity-meta {
    margin-top: 3px;
    color: #64748b;
    font-size: 11.5px;
    line-height: 1.35;
}
.probis-table-ref-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 3px;
}
.probis-table-ref-row .probis-table-ref-top {
    margin-bottom: 0;
}
.probis-role-pair-grid {
    gap: 20px;
    align-items: stretch;
}
.probis-role-pair-grid > * {
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.probis-role-pair-grid .probis-sla-list,
.probis-role-pair-grid .probis-activity-timeline,
.probis-role-pair-grid .probis-role-summary-body {
    flex: 1 1 auto;
}
.probis-role-pair-grid .probis-sla-empty-pad {
    display: grid;
    min-height: 180px;
    place-items: center;
}
@media (max-width: 1180px) {
    .probis-role-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .probis-role-kpis:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .probis-role-pair-grid,
    .probis-unit-dashboard-grid { grid-template-columns: 1fr; }
    .probis-unit-side-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .probis-unit-side-stack > :only-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .probis-role-kpis,
    .probis-role-kpis:has(> :nth-child(3):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .probis-role-kpis:has(> :nth-child(3):last-child) > :last-child { grid-column: 1 / -1; }
    .probis-role-kpi-icon { top: 13px; right: 13px; width: 30px; height: 30px; }
    .probis-role-kpi-icon svg { width: 16px; height: 16px; }
    .probis-unit-head-controls { margin-left: 0; }
    .probis-unit-filter-popover { left: 0; right: auto; }
    .probis-unit-side-stack { grid-template-columns: 1fr; }
    .probis-unit-side-stack > :last-child { grid-column: auto; }
}

@media (max-width: 480px) {
    .probis-dashboard-kpis,
    .probis-role-kpis,
    .probis-role-kpis:has(> :nth-child(3):last-child) { grid-template-columns: 1fr; }
    .probis-role-kpis:has(> :nth-child(3):last-child) > :last-child { grid-column: auto; }
    .probis-role-kpis .probis-kpi { min-height: 118px; }
    .probis-role-summary-body { padding-inline: 15px; }
}
.probis-field-notice{align-items:center;gap:8px;margin-top:2px;padding:7px 11px;border:1px solid #dbe5f4;border-radius:8px;background:#f5f8fd;color:#36507a;font-size:12px;font-weight:500;line-height:1.4}
.probis-field-notice:not([hidden]){display:flex}
.probis-field-notice i{flex:0 0 auto;color:var(--probis-brand-blue);font-size:14px;line-height:1}
@media (max-width:640px){.probis-field-notice{align-items:flex-start}}

/* Form pairing, inherited notice spacing, and 768px collapse */
.probis-form-grid > [data-probis-inherited-unit-notice] {
    margin-top: -10px;
}

@media (min-width: 1180px) {
    .probis-form-grid:has(> [data-confidentiality-field]:not([hidden])) > [data-category-field],
    .probis-form-grid:has(> [data-confidentiality-field]:not([hidden])) > [data-confidentiality-field] {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .probis-form-grid {
        grid-template-columns: 1fr;
    }
    .probis-form-grid > .probis-field-full {
        grid-column: auto;
    }
}

/* Task detail banded metadata, related attachments, and attachment table */
.probis-meta-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.probis-meta-band {
    display: grid;
    gap: 16px;
}

.probis-meta-band--cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.probis-meta-band--cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.probis-meta-band--priority-pair {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.probis-meta-band--priority-single {
    grid-template-columns: minmax(0, 1fr);
}

.probis-ref-item {
    min-width: 0;
}

.probis-source-card .probis-ref-card-head:has(+ .probis-ref-card-body) {
    border-bottom: 1px solid #f1f5f9;
}

.probis-attachment-group-full {
    grid-column: 1 / -1;
}

.probis-detail-scroll.probis-detail-related-attachments-scroll {
    max-height: 560px;
}

.probis-ref-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.probis-ref-two-col.probis-detail-bottom-grid {
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
}

.probis-detail-attachment-scroll > .probis-table-wrap {
    width: 100%;
    min-width: 0;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
    touch-action: auto;
}

.probis-detail-attachment-scroll > .probis-table-wrap::after {
    display: none;
}

.probis-table.probis-detail-attachment-table {
    width: 100%;
    min-width: 520px;
    margin: 0;
    font-size: 12.5px;
}

.probis-table.probis-detail-attachment-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 10px 8px;
    background: #f8fafc;
    border-bottom: 1px solid #edf2f7;
    color: #64748b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    white-space: nowrap;
}

.probis-table.probis-detail-attachment-table td {
    padding: 10px 8px;
    border-top: 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 12.5px;
    vertical-align: middle;
}

.probis-table.probis-detail-attachment-table th:first-child,
.probis-table.probis-detail-attachment-table td:first-child {
    padding-left: 14px;
}

.probis-table.probis-detail-attachment-table th:last-child,
.probis-table.probis-detail-attachment-table td:last-child {
    padding-right: 14px;
}

.probis-table.probis-detail-attachment-table tr.is-inherited-doc {
    background: #f8fafc;
}

.probis-table.probis-detail-attachment-table .probis-col-type,
.probis-table.probis-detail-attachment-table .probis-col-size,
.probis-table.probis-detail-attachment-table .probis-col-date,
.probis-table.probis-detail-attachment-table .probis-col-action {
    width: 1%;
    white-space: nowrap;
}

.probis-table.probis-detail-attachment-table .probis-col-size,
.probis-table.probis-detail-attachment-table .probis-col-date {
    color: #64748b;
    font-variant-numeric: tabular-nums;
}

.probis-table.probis-detail-attachment-table .probis-col-action {
    text-align: right;
}

.probis-detail-file-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.probis-detail-attachment-table .probis-file-row-icon {
    width: 32px;
    height: 32px;
}

.probis-detail-attachment-table .probis-file-row-icon svg {
    width: 18px;
    height: 18px;
}

.probis-detail-file-info {
    min-width: 0;
    flex: 1;
}

.probis-detail-file-name {
    font-weight: 600;
    color: #0f172a;
    line-height: 1.35;
    overflow-wrap: anywhere;
    white-space: normal;
}

.probis-detail-file-subtitle {
    margin-top: 2px;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.probis-detail-file-origin {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin-top: 3px;
    color: #475569;
    font-size: 11px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.probis-badge.probis-detail-origin-badge {
    max-width: 100%;
    padding: 2px 6px;
    font-size: 10px;
    line-height: 1.25;
    white-space: normal;
    text-align: left;
}

.probis-detail-ext-badge {
    display: inline-block;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.probis-table.probis-detail-attachment-table .probis-table-action {
    min-height: 30px;
    padding: 0 9px;
    gap: 5px;
    font-size: 11px;
}

.probis-task-ai-layout[data-task-ai-docked]:has(> .probis-task-ai-panel[open]) .probis-meta-band--cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.probis-task-ai-layout[data-task-ai-docked]:has(> .probis-task-ai-panel[open]) .probis-meta-band--cols-3 > :first-child {
    grid-column: 1 / -1;
}

.probis-task-ai-layout[data-task-ai-docked]:has(> .probis-task-ai-panel[open]) .probis-meta-band--priority-pair {
    grid-template-columns: minmax(0, 1fr);
}

.probis-task-ai-layout[data-task-ai-docked]:has(> .probis-task-ai-panel[open]) .probis-ref-two-col.probis-detail-bottom-grid {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 1179px) {
    .probis-ref-two-col.probis-detail-bottom-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1024px) {
    .probis-meta-band--cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .probis-meta-band--cols-3 > :first-child {
        grid-column: 1 / -1;
    }
    .probis-meta-band--priority-pair {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .probis-ref-two-col {
        grid-template-columns: minmax(0, 1fr);
    }
    .probis-detail-scroll.probis-detail-related-attachments-scroll {
        max-height: 420px;
    }
}

@media (max-width: 640px) {
    .probis-meta-stack,
    .probis-meta-band {
        gap: 12px;
    }
    .probis-meta-band--cols-3,
    .probis-meta-band--cols-2,
    .probis-meta-band--priority-pair,
    .probis-task-ai-layout[data-task-ai-docked]:has(> .probis-task-ai-panel[open]) .probis-meta-band--cols-3,
    .probis-task-ai-layout[data-task-ai-docked]:has(> .probis-task-ai-panel[open]) .probis-meta-band--cols-2 {
        grid-template-columns: minmax(0, 1fr);
    }
    .probis-meta-band--cols-3 > :first-child,
    .probis-task-ai-layout[data-task-ai-docked]:has(> .probis-task-ai-panel[open]) .probis-meta-band--cols-3 > :first-child {
        grid-column: auto;
    }
}
