:root {
    --section-gap: 12px;
    --hero-panel-height: 290px;
    --bg: #09111f;
    --panel: rgba(14, 25, 49, 0.88);
    --panel-alt: rgba(17, 31, 60, 0.78);
    --line: rgba(110, 146, 214, 0.24);
    --text: #eef4ff;
    --muted: #8ea4cb;
    --blue: #63c8ff;
    --green: #6cf0a7;
    --amber: #ffcb7a;
    --red: #ff7d8e;
    --purple: #a98bff;
    --font-main: "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    --type-body-size: 14px;
    --type-body-line: 1.45;
    --type-small-size: 12px;
    --type-label-size: 11px;
    --type-title-weight: 800;
    --type-ui-weight: 700;
}

* { box-sizing: border-box; }

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-main);
    font-size: var(--type-body-size);
    line-height: var(--type-body-line);
    font-variant-numeric: tabular-nums;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(69, 122, 255, 0.20), transparent 28%),
        radial-gradient(circle at 100% 0%, rgba(100, 229, 176, 0.12), transparent 22%),
        linear-gradient(180deg, #0b1426 0%, #08101b 100%);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

code,
pre,
kbd,
samp,
.technical-value {
    font-family: var(--font-mono);
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(108, 240, 167, 0.95), rgba(108, 240, 167, 0.28));
    box-shadow:
        0 0 10px rgba(108, 240, 167, 0.38),
        0 0 28px rgba(108, 240, 167, 0.16);
    pointer-events: none;
    z-index: 999;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    width: 2px;
    background: linear-gradient(180deg, rgba(108, 240, 167, 0.95), rgba(108, 240, 167, 0.28));
    box-shadow:
        0 0 10px rgba(108, 240, 167, 0.38),
        0 0 28px rgba(108, 240, 167, 0.16);
    pointer-events: none;
    z-index: 999;
}

.main-content {
    padding-top: 10px;
    padding-right: 28px;
    padding-bottom: 18px;
    padding-left: 28px;
}

.main-content-full {
    width: 100%;
    max-width: 100%;
}

.topbar-logout-link {
    text-decoration: none;
}

.login-body {
    min-height: 100vh;
    padding: 32px;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.login-body::before,
.login-body::after {
    display: none;
}

.login-shell {
    width: min(420px, 100%);
}

.login-panel {
    position: relative;
    border: 1px solid rgba(112, 146, 214, 0.22);
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 22px 50px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.login-eyebrow,
.login-panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(99, 200, 255, 0.2);
    background: rgba(13, 26, 48, 0.72);
    color: var(--blue);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.login-panel h2 {
    margin: 0;
    letter-spacing: -0.03em;
}
.login-panel p {
    margin: 18px 0 0;
    color: #a9bddf;
    line-height: 1.6;
}

.login-panel {
    padding: 34px 30px;
    background:
        linear-gradient(180deg, rgba(17, 31, 60, 0.96), rgba(9, 17, 31, 0.98));
}

.login-alert {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 125, 142, 0.26);
    background: rgba(87, 20, 36, 0.36);
    color: #ffd4da;
    font-size: 14px;
    line-height: 1.45;
}

.login-form {
    display: grid;
    gap: 16px;
}

.login-field {
    display: grid;
    gap: 8px;
}

.login-field span {
    color: #c7d4ec;
    font-size: 13px;
    font-weight: 700;
}

.login-field input {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid rgba(112, 146, 214, 0.24);
    border-radius: 16px;
    outline: none;
    color: var(--text);
    font: inherit;
    background: rgba(7, 15, 29, 0.84);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.login-field input:focus {
    border-color: rgba(99, 200, 255, 0.62);
    box-shadow: 0 0 0 4px rgba(99, 200, 255, 0.12);
    transform: translateY(-1px);
}

.login-field input::placeholder {
    color: rgba(174, 191, 219, 0.52);
}

.login-submit {
    min-height: 54px;
    margin-top: 4px;
    border: 0;
    border-radius: 18px;
    color: #04101f;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    background:
        linear-gradient(135deg, #6cf0a7 0%, #63c8ff 50%, #ffcb7a 100%);
    box-shadow:
        0 20px 36px rgba(8, 15, 28, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.login-submit:hover {
    transform: translateY(-1px);
    box-shadow:
        0 24px 42px rgba(8, 15, 28, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.login-submit:active {
    transform: translateY(0);
}

/* ==========================================================================
   Usuários Conectados (Sessões Ativas)
   ========================================================================== */
.connected-users-panel {
    margin-bottom: var(--section-gap);
}

.connected-pulse-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: connected-pulse 2s infinite;
}

@keyframes connected-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.status-totalizer-highlight {
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.3) !important;
    background: rgba(14, 165, 233, 0.12) !important;
    font-weight: 700;
}

.connected-users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

@media (max-width: 768px) {
    .connected-users-grid {
        grid-template-columns: 1fr;
    }
}

.connected-user-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(86, 119, 187, 0.22);
    background: linear-gradient(180deg, rgba(16, 29, 56, 0.75) 0%, rgba(10, 19, 38, 0.9) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 24px rgba(0, 0, 0, 0.22);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.connected-user-card:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 200, 255, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 28px rgba(0, 0, 0, 0.32);
}

.connected-user-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.connected-user-identity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.connected-user-avatar {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.connected-user-avatar.role-admin {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.35), rgba(3, 105, 161, 0.65));
    border: 1px solid rgba(56, 189, 248, 0.36);
    color: #7dd3fc;
}

.connected-user-avatar.role-support {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.35), rgba(15, 118, 110, 0.65));
    border: 1px solid rgba(45, 212, 191, 0.36);
    color: #5eead4;
}

.connected-online-indicator {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #22c55e;
    border: 2px solid #0a1326;
    box-shadow: 0 0 6px #22c55e;
}

.connected-online-indicator.status-online {
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}

.connected-online-indicator.status-idle {
    background: #f59e0b;
    box-shadow: 0 0 6px rgba(245, 158, 11, 0.7);
}

.connected-online-indicator.status-offline {
    background: #64748b;
    box-shadow: none;
}

.connected-user-titles {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.connected-user-name {
    font-size: 14.5px;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.connected-user-email {
    font-size: 11.5px;
    color: #94a3b8;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.connected-user-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
    text-align: right;
}

.connected-presence-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
}

.connected-presence-badge.status-online {
    background: rgba(34, 197, 94, 0.14);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
}

.connected-presence-badge.status-idle {
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

.connected-presence-badge.status-offline {
    background: rgba(100, 116, 139, 0.15);
    border: 1px solid rgba(100, 116, 139, 0.3);
    color: #94a3b8;
}

.connected-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.connected-role-badge.role-admin {
    background: rgba(2, 132, 199, 0.16);
    border: 1px solid rgba(56, 189, 248, 0.32);
    color: #38bdf8;
}

.connected-role-badge.role-support {
    background: rgba(13, 148, 136, 0.16);
    border: 1px solid rgba(45, 212, 191, 0.32);
    color: #2dd4bf;
}

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

.is-spinning {
    animation: spin-refresh 0.75s linear infinite;
    transform-origin: center;
}

.connected-user-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.connected-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(7, 14, 29, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.connected-detail-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.connected-detail-item-full {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 6px;
    margin-top: 2px;
}

.connected-detail-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #64748b;
}

.connected-detail-value {
    font-size: 12px;
    color: #cbd5e1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.connected-detail-value.ip-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #93c5fd;
    font-weight: 600;
}

.connected-detail-value.host-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    color: #94a3b8;
    font-size: 11px;
}

.connected-user-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11px;
    color: #64748b;
}

.connected-time-info {
    display: flex;
    align-items: center;
    gap: 5px;
}

.connected-time-val {
    color: #94a3b8;
    font-weight: 500;
}

.connected-time-val.active-stamp {
    color: #38bdf8;
    font-weight: 600;
}

html.light-mode .connected-user-card {
    border-color: rgba(33, 48, 72, 0.12);
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(30, 45, 68, 0.06);
}

html.light-mode .connected-user-name {
    color: #18233a;
}

html.light-mode .connected-online-indicator {
    border-color: #ffffff;
}

html.light-mode .connected-detail-grid {
    background: rgba(241, 245, 249, 0.85);
    border-color: rgba(33, 48, 72, 0.08);
}

html.light-mode .connected-detail-value {
    color: #334155;
}

html.light-mode .connected-detail-value.ip-code {
    color: #0284c7;
}

html.light-mode .connected-user-card-footer {
    border-top-color: rgba(33, 48, 72, 0.08);
}

.access-approval-panel {
    margin-bottom: var(--section-gap);
}

.access-approval-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.access-approval-card {
    min-height: 280px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(86, 119, 187, 0.24);
    background: linear-gradient(180deg, rgba(15, 29, 58, 0.86), rgba(11, 21, 42, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.access-approval-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 14px;
}

.access-approval-card-head h4 {
    margin: 0;
    font-size: 18px;
    color: #f2f7ff;
}

.access-approval-list {
    display: grid;
    gap: 12px;
}

.access-approval-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(94, 132, 201, 0.22);
    background: rgba(9, 19, 38, 0.72);
}

.access-approval-item-main {
    min-width: 0;
    flex: 1;
}

.access-approval-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.access-approval-item-top strong {
    color: #ffffff;
    font-size: 16px;
}

.access-approval-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(99, 200, 255, 0.24);
    background: rgba(18, 35, 66, 0.84);
    color: #8fd7ff;
    font-size: 12px;
    font-weight: 700;
}

.access-approval-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: #aac0e0;
    font-size: 13px;
    line-height: 1.45;
}

.access-approval-actions {
    display: grid;
    gap: 10px;
}

.access-action {
    min-width: 92px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.access-action:hover {
    transform: translateY(-1px);
}

.access-action:disabled {
    opacity: 0.58;
    cursor: wait;
    transform: none;
}

.access-action-approve {
    color: #041522;
    background: linear-gradient(135deg, #6cf0a7 0%, #63c8ff 100%);
    box-shadow: 0 12px 22px rgba(9, 21, 39, 0.26);
}

.access-action-deny {
    color: #ffe5ea;
    border-color: rgba(255, 131, 151, 0.28);
    background: rgba(97, 22, 37, 0.42);
}

.access-approval-empty {
    padding: 20px 18px;
    border-radius: 18px;
    border: 1px dashed rgba(110, 145, 214, 0.24);
    color: #abc1df;
    background: rgba(9, 19, 38, 0.48);
}

body.access-popup-open {
    overflow: hidden;
}

.access-popup-launcher {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 18px 0 14px;
    border: 1px solid rgba(121, 201, 255, 0.26);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(14, 30, 58, 0.96), rgba(9, 20, 38, 0.96)),
        radial-gradient(circle at top right, rgba(108, 240, 167, 0.22), transparent 40%);
    color: #f3f8ff;
    box-shadow: 0 18px 40px rgba(3, 10, 24, 0.34);
    cursor: pointer;
    z-index: 94;
}

.access-popup-launcher[hidden] {
    display: none !important;
}

.access-popup-launcher.has-pending {
    animation: access-popup-pulse 1.8s ease-in-out infinite;
}

.access-popup-launcher-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #6cf0a7 0%, #63c8ff 100%);
    color: #03131f;
    font-size: 14px;
    font-weight: 900;
}

.access-popup-launcher-label {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.access-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 9, 18, 0.58);
    backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 95;
}

.access-popup-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.access-popup-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(680px, calc(100vw - 28px));
    max-height: min(82vh, 760px);
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 22px;
    border-radius: 28px;
    border: 1px solid rgba(125, 183, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(14, 27, 51, 0.98), rgba(8, 17, 32, 0.98)),
        radial-gradient(circle at top right, rgba(255, 194, 92, 0.14), transparent 26%);
    box-shadow: 0 34px 72px rgba(0, 0, 0, 0.38);
    transform: translate(-50%, -46%) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 96;
}

.access-popup-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.access-popup-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.access-popup-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: #8fd7ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.access-popup-title {
    margin: 0;
    color: #f6fbff;
    font-size: 28px;
}

.access-popup-subtitle {
    margin: 8px 0 0;
    color: #a9bfdc;
}

.access-popup-close {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 1px solid rgba(162, 204, 255, 0.24);
    border-radius: 50%;
    background: rgba(15, 28, 52, 0.86);
    color: #f3f8ff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.access-popup-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(111, 159, 224, 0.18);
    background: rgba(8, 18, 36, 0.62);
    color: #cfe0f7;
}

.access-popup-summary strong {
    color: #f7fbff;
    font-size: 18px;
}

.access-popup-list {
    overflow: auto;
    display: grid;
    gap: 12px;
    padding-right: 4px;
}

@keyframes access-popup-pulse {
    0%,
    100% {
        transform: translateY(0);
        box-shadow: 0 18px 40px rgba(3, 10, 24, 0.34);
    }
    50% {
        transform: translateY(-2px);
        box-shadow: 0 24px 46px rgba(3, 10, 24, 0.44);
    }
}

@media (max-width: 980px) {
    .login-shell {
        width: min(420px, 100%);
    }
}

.admin-page .topbar-unified,
.support-page:not(.support-page-compact) .topbar-unified,
.chamados-page .topbar-unified {
    grid-template-columns: minmax(0, max-content) minmax(180px, 1fr) max-content;
    align-items: center;
    gap: 10px;
    min-height: 68px;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(99, 200, 255, 0.30);
    background: transparent;
}

.admin-page .top-tabs-embedded,
.support-page:not(.support-page-compact) .top-tabs-embedded,
.chamados-page .top-tabs-embedded {
    grid-column: auto;
    min-height: 52px;
    gap: 8px;
    padding: 0;
    border-bottom: 0;
    background: transparent;
}

.admin-page .top-tabs .nav-tab,
.support-page:not(.support-page-compact) .top-tabs .nav-tab,
.chamados-page .top-tabs .nav-tab {
    min-height: 52px;
    padding: 0 11px;
    font-size: 13px;
}

.admin-page .top-tabs .nav-tab.active,
.support-page:not(.support-page-compact) .top-tabs .nav-tab.active,
.chamados-page .top-tabs .nav-tab.active,
.support-page:not(.support-page-compact) .top-tabs .nav-tab-static.active,
.chamados-page .top-tabs .nav-tab-static.active {
    min-height: 58px;
}

.admin-page .top-tabs .nav-tab.active::after,
.support-page:not(.support-page-compact) .top-tabs .nav-tab.active::after,
.chamados-page .top-tabs .nav-tab.active::after,
.support-page:not(.support-page-compact) .top-tabs .nav-tab-static.active::after,
.chamados-page .top-tabs .nav-tab-static.active::after {
    left: 18px;
    right: 18px;
}

.admin-page .top-tabs .nav-tab::before,
.support-page:not(.support-page-compact) .top-tabs .nav-tab::before,
.chamados-page .top-tabs .nav-tab::before {
    width: 18px;
    height: 18px;
}

.admin-page .top-tabs .dashboard-theme-toggle,
.support-page:not(.support-page-compact) .top-tabs .dashboard-theme-toggle,
.chamados-page .top-tabs .dashboard-theme-toggle {
    width: 48px;
    min-width: 48px;
}

.admin-page .status-progress-embedded,
.support-page:not(.support-page-compact) .status-progress-embedded,
.chamados-page .status-progress-embedded {
    grid-column: auto;
    width: min(360px, 24vw);
    min-width: 180px;
    min-height: 44px;
    padding: 5px 10px;
    align-self: center;
}

.admin-page .topbar-unified > .topbar-actions-row,
.support-page:not(.support-page-compact) .topbar-unified > .topbar-actions-row,
.chamados-page .topbar-unified > .topbar-actions-row {
    grid-column: auto;
    align-self: center;
}

.admin-page .topbar-actions-segmented .refresh-button,
.support-page:not(.support-page-compact) .topbar-actions-segmented .refresh-button,
.chamados-page .topbar-actions-segmented .refresh-button,
.admin-page .topbar-page-control {
    min-height: 44px;
    padding: 0 12px;
    font-size: 12px;
}

.admin-page .progress-track,
.support-page:not(.support-page-compact) .progress-track,
.chamados-page .progress-track {
    height: 5px;
}

html.light-mode .admin-page .topbar-unified,
html.light-mode .support-page:not(.support-page-compact) .topbar-unified,
html.light-mode .chamados-page .topbar-unified {
    background: #f7faff;
    border-color: rgba(33, 48, 72, 0.12);
}

@media (max-width: 1320px) {
    .admin-page .topbar-unified,
    .support-page:not(.support-page-compact) .topbar-unified,
    .chamados-page .topbar-unified {
        grid-template-columns: minmax(0, 1fr) max-content;
    }

    .admin-page .status-progress-embedded,
    .support-page:not(.support-page-compact) .status-progress-embedded,
    .chamados-page .status-progress-embedded {
        display: none;
    }
}

.admin-page .topbar-unified,
.support-page:not(.support-page-compact) .topbar-unified,
.chamados-page .topbar-unified {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
    min-height: 54px !important;
    padding: 5px 10px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(99, 200, 255, 0.24) !important;
    border-radius: 0 !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    background: transparent !important;
    box-shadow: none !important;
    scrollbar-width: none;
}

.admin-page .topbar-unified::-webkit-scrollbar,
.support-page:not(.support-page-compact) .topbar-unified::-webkit-scrollbar,
.chamados-page .topbar-unified::-webkit-scrollbar {
    display: none;
}

.admin-page .top-tabs-embedded,
.support-page:not(.support-page-compact) .top-tabs-embedded,
.chamados-page .top-tabs-embedded {
    flex: 0 1 auto !important;
    width: auto !important;
    min-width: max-content !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

.admin-page .top-tabs .nav-tab,
.support-page:not(.support-page-compact) .top-tabs .nav-tab,
.chamados-page .top-tabs .nav-tab {
    min-width: max-content !important;
    min-height: 42px !important;
    padding: 0 9px !important;
    gap: 7px !important;
    border-radius: 9px !important;
    font-size: 12px !important;
    line-height: 1 !important;
}

.admin-page .top-tabs .nav-tab.active,
.support-page:not(.support-page-compact) .top-tabs .nav-tab.active,
.chamados-page .top-tabs .nav-tab.active,
.support-page:not(.support-page-compact) .top-tabs .nav-tab-static.active,
.chamados-page .top-tabs .nav-tab-static.active {
    min-height: 46px !important;
    padding: 0 12px !important;
}

.admin-page .top-tabs .nav-tab.active::after,
.support-page:not(.support-page-compact) .top-tabs .nav-tab.active::after,
.chamados-page .top-tabs .nav-tab.active::after,
.support-page:not(.support-page-compact) .top-tabs .nav-tab-static.active::after,
.chamados-page .top-tabs .nav-tab-static.active::after {
    left: 14px !important;
    right: 14px !important;
    height: 2px !important;
}

.admin-page .top-tabs .nav-tab::before,
.support-page:not(.support-page-compact) .top-tabs .nav-tab::before,
.chamados-page .top-tabs .nav-tab::before,
.admin-page .topbar-actions-segmented .refresh-button::before,
.support-page:not(.support-page-compact) .topbar-actions-segmented .refresh-button::before,
.chamados-page .topbar-actions-segmented .refresh-button::before {
    width: 16px !important;
    height: 16px !important;
}

.admin-page .top-tabs .dashboard-theme-toggle,
.support-page:not(.support-page-compact) .top-tabs .dashboard-theme-toggle,
.chamados-page .top-tabs .dashboard-theme-toggle {
    width: 42px !important;
    min-width: 42px !important;
}

.admin-page .status-progress-embedded,
.support-page:not(.support-page-compact) .status-progress-embedded,
.chamados-page .status-progress-embedded {
    flex: 1 1 220px !important;
    width: auto !important;
    min-width: 320px !important;
    max-width: 520px !important;
    min-height: 46px !important;
    display: flex !important;
    align-items: center !important;
    padding: 6px 16px !important;
    border: 1px solid rgba(103, 139, 204, 0.18) !important;
    border-radius: 10px !important;
    background: rgba(18, 28, 52, 0.74) !important;
}

.admin-page .status-progress-group,
.support-page:not(.support-page-compact) .status-progress-group,
.chamados-page .status-progress-group {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.admin-page .status-line,
.support-page:not(.support-page-compact) .status-line,
.chamados-page .status-line,
.admin-page .progress-text,
.support-page:not(.support-page-compact) .progress-text,
.chamados-page .progress-text {
    display: none !important;
}

.admin-page .progress-track,
.support-page:not(.support-page-compact) .progress-track,
.chamados-page .progress-track {
    flex: 0 0 150px !important;
    height: 4px !important;
}

.admin-page .progress-stamp,
.support-page:not(.support-page-compact) .progress-stamp,
.chamados-page .progress-stamp,
.admin-page .status-pill,
.support-page:not(.support-page-compact) .status-pill,
.chamados-page .status-pill {
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 11px !important;
}

.admin-page .topbar-unified > .topbar-actions-row,
.support-page:not(.support-page-compact) .topbar-unified > .topbar-actions-row,
.chamados-page .topbar-unified > .topbar-actions-row {
    flex: 0 0 auto !important;
    min-height: 40px !important;
    align-self: center !important;
    margin-left: auto !important;
    border: 0 !important;
}

.admin-page .topbar-actions-segmented .refresh-button,
.support-page:not(.support-page-compact) .topbar-actions-segmented .refresh-button,
.chamados-page .topbar-actions-segmented .refresh-button,
.admin-page .topbar-page-control {
    min-height: 34px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
}

.admin-page .topbar-page-input {
    height: 30px !important;
}

.admin-page #refresh-all,
.support-page:not(.support-page-compact) #support-refresh-now,
.chamados-page #chamados-refresh {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    align-self: center !important;
}

html.light-mode .admin-page .topbar-unified,
html.light-mode .support-page:not(.support-page-compact) .topbar-unified,
html.light-mode .chamados-page .topbar-unified {
    background: #f7faff !important;
    border-color: rgba(33, 48, 72, 0.12) !important;
}

@media (max-width: 640px) {
    .login-body {
        padding: 16px;
    }

    .login-panel {
        padding: 24px 20px;
    }
}

@media (max-width: 980px) {
    .access-approval-grid {
        grid-template-columns: 1fr;
    }

    .access-approval-item {
        flex-direction: column;
    }

    .access-approval-actions {
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .access-popup-summary {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .access-popup-launcher {
        right: 14px;
        bottom: 14px;
        left: 14px;
        justify-content: center;
    }

    .access-popup-modal {
        width: calc(100vw - 18px);
        max-height: calc(100vh - 18px);
        padding: 18px;
        border-radius: 22px;
    }

    .access-popup-head {
        align-items: flex-start;
    }

    .access-popup-title {
        font-size: 24px;
    }
}

.topbar h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
}

.topbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0;
}

.topbar-unified {
    width: fit-content;
    max-width: 100%;
    display: grid;
    grid-template-columns: auto auto auto;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(122, 181, 236, 0.42);
    border-radius: 14px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(53, 82, 129, 0.72), rgba(24, 39, 67, 0.82)),
        radial-gradient(circle at top left, rgba(157, 234, 245, 0.12), transparent 40%);
    box-shadow:
        inset 0 1px 0 rgba(220, 244, 255, 0.12),
        0 8px 20px rgba(6, 12, 26, 0.18);
    min-height: 42px;
}

.topbar-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.topbar-copy > * {
    margin: 0;
}

.topbar-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.topbar-actions-stack {
    display: grid;
    justify-items: end;
    align-content: start;
    gap: 3px;
}

.topbar-actions-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.topbar-actions-segmented,
.top-tabs-segmented {
    display: inline-flex;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
}

.topbar-tools {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.status-progress-group {
    display: grid;
    align-content: center;
    gap: 1px;
    width: 168px;
    min-width: 0;
    margin: 0;
    justify-items: start;
}

.top-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    margin-bottom: 0;
}

.top-tabs-inline {
    margin-top: 0;
    margin-bottom: 0;
}

.top-tabs-embedded,
.status-progress-embedded {
    min-width: 0;
}

.top-tabs-embedded,
.topbar-unified > .topbar-actions-row {
    border-right: 1px solid rgba(152, 204, 238, 0.24);
}

.status-progress-embedded {
    align-self: center;
    padding: 4px 8px;
}

.bot-top-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-top: 0;
    margin-bottom: 0;
    flex: 0 1 auto;
    min-width: 0;
}

.bot-top-strip[hidden] {
    display: none !important;
}

.bot-top-strip-shell {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    min-width: 0;
    width: fit-content;
    max-width: min(520px, calc(100vw - 24px));
    padding: 4px 8px;
    border: 1px solid rgba(103, 139, 204, 0.18);
    border-radius: 16px;
    background: rgba(18, 28, 52, 0.9);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 20px rgba(6, 12, 26, 0.18);
}

.bot-top-strip-shell.is-empty {
    opacity: 0.9;
}

.bot-top-strip-shell-wide {
    max-width: min(620px, calc(100vw - 24px));
}

.bot-top-strip-inline {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 6px;
    flex: 1 1 auto;
    max-width: 100%;
}

.bot-top-strip-time,
.bot-top-strip-count,
.bot-top-strip-toggle summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.bot-top-strip-time {
    color: #0d1b33;
    background: #d8ff49;
    flex: 0 0 auto;
}

.bot-top-strip-summary {
    color: #e7f0ff;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 360px;
}

.bot-top-strip-shell-wide .bot-top-strip-summary {
    max-width: 460px;
}

.bot-top-strip-count,
.bot-top-strip-toggle summary {
    border: 1px solid rgba(255, 214, 107, 0.24);
    background: rgba(12, 23, 43, 0.9);
    color: #ffd66b;
    cursor: pointer;
}

.bot-top-strip-count.is-empty {
    color: rgba(202, 228, 255, 0.72);
    border-color: rgba(96, 142, 219, 0.2);
    cursor: default;
}

.bot-top-strip-toggle {
    position: relative;
    flex: 0 0 auto;
}

.bot-top-strip-toggle summary {
    list-style: none;
}

.bot-top-strip-toggle summary::-webkit-details-marker {
    display: none;
}

.bot-top-strip-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: min(560px, calc(100vw - 32px));
    max-height: 420px;
    overflow: auto;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(103, 139, 204, 0.22);
    background: rgba(12, 21, 40, 0.98);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
    display: grid;
    gap: 8px;
    z-index: 30;
}

.main-content.bot-tab-active {
    padding-top: 10px;
}

.main-content.bot-tab-active #bot-cards {
    margin-top: 0;
    transform: translateY(2px);
}

.nav-tab, .refresh-button {
    border: 1px solid rgba(103, 139, 204, 0.18);
    background: rgba(18, 28, 52, 0.9);
    color: #caeef4;
    padding: 10px 12px;
    border-radius: 12px;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}

.refresh-button:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}

.nav-tab:hover, .refresh-button:hover, .nav-tab.active {
    transform: translateY(-1px);
    border-color: rgba(99, 200, 255, 0.45);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.16);
}

.top-tabs .nav-tab,
.topbar-actions-segmented .refresh-button {
    min-width: 0;
    min-height: 40px;
    padding: 0 10px;
    border: 0;
    border-right: 1px solid rgba(152, 204, 238, 0.28);
    border-radius: 0;
    background: linear-gradient(180deg, rgba(78, 119, 176, 0.12), rgba(20, 34, 60, 0.12));
    box-shadow: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: -0.03em;
    text-align: center;
    white-space: nowrap;
}

.top-tabs-segmented .nav-tab:last-child,
.topbar-actions-segmented .refresh-button:last-child {
    border-right: 0;
}

.nav-tab.active {
    background: linear-gradient(180deg, rgba(106, 160, 219, 0.16), rgba(39, 62, 101, 0.16));
    border-color: transparent;
    color: #eefbfd;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 0 0 1px rgba(117, 194, 255, 0.12);
}

.sidebar-card {
    padding: 9px 12px;
    border: 1px solid rgba(102, 138, 200, 0.18);
    border-radius: 12px;
    background: rgba(16, 29, 54, 0.85);
}

.sidebar-card-inline {
    min-width: 170px;
}

.sidebar-label {
    color: var(--muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.sidebar-value {
    margin-top: 3px;
    font-size: 12px;
    font-weight: 600;
}

.refresh-button-inline {
    min-width: 0;
    text-align: center;
    padding: 0 10px;
    align-self: stretch;
}

.refresh-button-subtle {
    min-width: 0;
    padding: 0 10px;
    background: linear-gradient(180deg, rgba(78, 119, 176, 0.12), rgba(20, 34, 60, 0.12));
    border-color: transparent;
    color: #caeef4;
    font-weight: 500;
}

.refresh-button-subtle.active {
    background: linear-gradient(180deg, rgba(37, 76, 145, 0.92), rgba(19, 43, 86, 0.92));
    border-color: rgba(117, 194, 255, 0.72);
    color: #f7fbff;
}

.support-refresh-actions {
    display: inline-flex;
    align-items: stretch;
}

.support-refresh-icon-button {
    flex: 0 0 40px;
    width: 40px;
    padding: 0;
}

.support-refresh-icon-button::before {
    margin: 0;
}

.nav-tab::before,
.topbar-actions-segmented .refresh-button::before {
    flex: 0 0 auto;
    display: inline-block;
    color: #b6edf1;
    line-height: 1;
}

.nav-tab[data-icon="grid"]::before {
    content: "▦";
    font-size: 18px;
}

.nav-tab[data-icon="message"]::before {
    content: "◫";
    font-size: 18px;
}

.refresh-button[data-icon="arrow-left"]::before {
    content: "‹";
    font-size: 24px;
    margin-top: -1px;
}

.refresh-button[data-icon="refresh"]::before {
    content: "↻";
    font-size: 20px;
}

.refresh-button[data-icon="logout"]::before {
    content: "⇥";
    font-size: 18px;
}

.status-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
}

.progress-shell {
    display: grid;
    gap: 1px;
    width: 168px;
    margin-top: 0;
    margin-left: 0;
}

.progress-track {
    width: 100%;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    border: 1px solid rgba(104, 152, 222, 0.18);
    background: rgba(10, 18, 35, 0.72);
    min-width: 0;
}

.progress-track,
.progress-bar {
    display: block;
}

.progress-bar {
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(86, 177, 255, 0.95), rgba(104, 241, 178, 0.95));
    box-shadow: 0 0 16px rgba(99, 200, 255, 0.35);
    transition: width 0.25s ease;
}

.progress-shell.is-loading .progress-bar {
    background:
        linear-gradient(90deg, rgba(86, 177, 255, 0.98), rgba(104, 241, 178, 0.98)),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 255, 255, 0.18) 0 10px,
            rgba(255, 255, 255, 0.02) 10px 20px
        );
    background-size: 100% 100%, 28px 100%;
    animation: progress-stripes 0.9s linear infinite;
}

@keyframes progress-stripes {
    from { background-position: 0 0, 0 0; }
    to { background-position: 0 0, 28px 0; }
}

.progress-text {
    font-size: 10px;
    color: var(--muted);
    text-align: left;
    line-height: 1.2;
}

.progress-stamp {
    font-size: 10px;
    line-height: 1.2;
    color: #eef4ff;
    text-align: left;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #4fb8af;
    font-size: 10px;
    font-weight: 700;
}

.status-pill.muted { color: var(--muted); }
.status-line {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    margin-bottom: 2px;
}

.page-progress-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(104, 241, 178, 0.3);
    background: rgba(8, 22, 20, 0.78);
    color: #8ef3be;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
}
.tab-view { display: none; }
.tab-view.active { display: block; }
.hero-grid, .panel-grid, .ticket-card-grid { display: grid; gap: var(--section-gap); }
#view-bot:not(.active) { display: none !important; }
#view-bot:not(.active) #bot-info,
#view-bot:not(.active) #bot-cards,
#view-bot:not(.active) #bot-ticket-cards { display: none !important; }
#bot-ticket-cards { display: none; }
#view-bot.active #bot-ticket-cards { display: grid; }
#view-bot:not(.active) .bot-kanban-board,
#view-bot:not(.active) .bot-kanban-head,
#view-bot:not(.active) .bot-kanban-columns,
#view-bot:not(.active) .banner-chip {
    display: none !important;
}
.hero-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: var(--section-gap); }
.hero-grid-general {
    margin-top: 22px;
    margin-bottom: var(--section-gap);
}
.layout-board {
    display: grid;
    gap: var(--section-gap);
    margin-bottom: var(--section-gap);
}
.layout-board-geral {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
}
.layout-span-4 { grid-column: span 4; }
.layout-span-6 { grid-column: span 6; }
.layout-span-12 { grid-column: span 12; }
.layout-board > .panel {
    margin-bottom: 0;
}
.panel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: var(--section-gap); align-items: start; }
.panel-grid-featured { grid-template-columns: 1fr; }
.panel-grid-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.panel-grid-chart-operator { align-items: stretch; }
.panel-grid-triple { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.panel-grid-triple > .panel {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.panel-grid-triple > .panel .stack-list {
    flex: 1;
    align-content: start;
}

#geral-status,
#geral-atendentes,
#geral-organizacoes {
    max-height: 650px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(210, 226, 248, 0.26) transparent;
}

#geral-status::-webkit-scrollbar,
#geral-atendentes::-webkit-scrollbar,
#geral-organizacoes::-webkit-scrollbar {
    width: 8px;
}

#geral-status::-webkit-scrollbar-track,
#geral-atendentes::-webkit-scrollbar-track,
#geral-organizacoes::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
}

#geral-status::-webkit-scrollbar-thumb,
#geral-atendentes::-webkit-scrollbar-thumb,
#geral-organizacoes::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(233, 241, 252, 0.32), rgba(184, 203, 231, 0.14));
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

#geral-status::-webkit-scrollbar-thumb:hover,
#geral-atendentes::-webkit-scrollbar-thumb:hover,
#geral-organizacoes::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(241, 247, 255, 0.42), rgba(194, 214, 240, 0.2));
}

.ticket-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

#bot-ticket-cards {
    grid-template-columns: 1fr;
}

.hero-card, .panel, .ticket-list-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(21, 34, 63, 0.96), rgba(12, 22, 42, 0.92)),
        radial-gradient(circle at top right, rgba(98, 198, 255, 0.14), transparent 28%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
}

[data-layout-container] > [data-layout-item="true"] {
    cursor: default;
}

.layout-draggable {
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.layout-draggable:hover {
    transform: translateY(-8px);
}

.layout-dragging {
    position: fixed !important;
    z-index: 999;
    margin: 0;
    opacity: 0.96;
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 36px 70px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    transition: none;
}

.layout-placeholder {
    grid-column: span 12;
    border-radius: 22px;
    border: 1px dashed rgba(159, 214, 255, 0.22);
    background: rgba(99, 200, 255, 0.06);
    box-shadow: inset 0 0 0 1px rgba(159, 214, 255, 0.05);
}

.layout-span-4.layout-placeholder { grid-column: span 4; }
.layout-span-6.layout-placeholder { grid-column: span 6; }
.layout-span-12.layout-placeholder { grid-column: span 12; }

.layout-drag-handle {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(159, 214, 255, 0.12);
    border-radius: 999px;
    background: rgba(7, 14, 29, 0.12);
    backdrop-filter: blur(4px);
    cursor: grab;
    touch-action: none;
    opacity: 0;
    pointer-events: auto;
    transition: opacity 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.layout-draggable:focus-within .layout-drag-handle,
.layout-drag-handle:hover,
.layout-drag-handle:focus-visible,
.layout-drag-handle:active {
    opacity: 1;
    background: rgba(7, 14, 29, 0.3);
    border-color: rgba(159, 214, 255, 0.22);
}

.layout-drag-handle:active {
    cursor: grabbing;
}

body.layout-sorting,
body.layout-sorting * {
    user-select: none;
}

.hero-card {
    min-height: 144px;
    padding: 4px 16px 8px;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(29, 46, 82, 0.94), rgba(10, 21, 40, 0.97)),
        radial-gradient(circle at 84% 12%, rgba(111, 220, 255, 0.18), transparent 22%);
    box-shadow:
        inset 0 0 42px rgba(112, 180, 255, 0.06),
        0 18px 36px rgba(0, 0, 0, 0.24);
}

.hero-card-general {
    min-height: 222px;
    padding: 4px 12px 10px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(35, 49, 87, 0.96), rgba(13, 23, 44, 0.98)),
        radial-gradient(circle at 84% 12%, rgba(111, 220, 255, 0.16), transparent 24%);
    box-shadow:
        inset 0 0 24px rgba(130, 185, 255, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.28);
}

.hero-grid-general .hero-card::after {
    border-radius: 19px;
}

.hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
    z-index: 0;
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: 21px;
    border: 1px solid rgba(159, 214, 255, 0.08);
    pointer-events: none;
    z-index: 0;
}

.hero-status,
.hero-title,
.hero-badges,
.hero-metric,
.hero-chart-wrap {
    position: relative;
    z-index: 1;
}

.hero-card-static {
    transform: none !important;
}

.hero-status {
    margin-bottom: 2px;
    text-align: center;
    font-size: 9px;
    letter-spacing: 0.02em;
    color: rgba(216, 233, 255, 0.82);
    text-shadow: none;
}

.hero-grid-general .hero-status {
    margin-bottom: 4px;
    font-size: 9px;
}

.hero-glow {
    position: absolute;
    inset: auto -12% -42% -12%;
    height: 64%;
    background: radial-gradient(circle at 50% 0%, currentColor 0%, transparent 62%);
    opacity: 0.18;
    filter: blur(24px);
    pointer-events: none;
    z-index: 0;
}

.hero-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.hero-title-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}
.hero-expand-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 1px solid rgba(159, 214, 255, 0.18);
    background: rgba(7, 14, 29, 0.2);
    color: #dfeafc;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.hero-expand-button:hover,
.hero-expand-button:focus-visible {
    background: rgba(18, 31, 56, 0.56);
    border-color: rgba(159, 214, 255, 0.34);
    transform: translateY(-1px);
}
.hero-kicker { font-size: 15px; color: #e9f2ff; font-weight: 500; }
.hero-grid-general .hero-title { margin-bottom: 0; }
.hero-grid-general .hero-kicker { font-size: 14px; font-weight: 700; }
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 22px;
    margin-top: 4px;
    margin-bottom: 0;
    padding-right: 0;
}
.hero-badges-buttons {
    display: grid;
    gap: 6px;
    margin-top: 14px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    padding: 3px 7px;
    border-radius: 999px;
    border: 1px solid rgba(145, 202, 255, 0.2);
    background: rgba(9, 17, 31, 0.48);
    color: rgba(226, 239, 255, 0.9);
    font-size: 10px;
    line-height: 1;
}
.hero-badge-main {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}
.hero-badge-button {
    width: 100%;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.hero-badge-button:hover {
    transform: translateY(-1px);
    border-color: rgba(180, 223, 255, 0.32);
    background: rgba(16, 26, 49, 0.9);
    box-shadow: 0 0 0 1px rgba(139, 208, 255, 0.08), 0 6px 14px rgba(0, 0, 0, 0.24);
}
.hero-badge-button:focus-visible {
    outline: 2px solid rgba(143, 215, 255, 0.65);
    outline-offset: 2px;
}
.hero-badge-value {
    font-weight: 800;
    color: #f3f8ff;
}
.hero-badge-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 92px;
    color: rgba(211, 227, 249, 0.82);
}
.hero-grid-general .hero-badge-label {
    max-width: 146px;
}
.hero-badge-arrow {
    flex: 0 0 auto;
    font-size: 18px;
    line-height: 1;
    color: rgba(229, 240, 255, 0.88);
}
.hero-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 700;
    color: inherit;
    border: 1px solid currentColor;
    background: rgba(6, 13, 27, 0.58);
    box-shadow:
        0 0 14px currentColor,
        0 0 0 6px rgba(255, 255, 255, 0.01);
}
.hero-grid-general .hero-icon {
    width: 42px;
    height: 42px;
    font-size: 14px;
}

.hero-grid-general .hero-icon {
    display: none;
}

.hero-metric { display: flex; gap: 12px; align-items: center; min-height: 52px; }
.hero-metric-split {
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
    min-height: 84px;
    margin-top: 9px;
}
.hero-metric-split-block {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(159, 214, 255, 0.12);
    background: linear-gradient(180deg, rgba(9, 17, 31, 0.34), rgba(18, 29, 52, 0.54));
    box-shadow: inset 0 0 18px rgba(146, 201, 255, 0.05);
}
.hero-metric-split-label {
    font-size: 11px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(226, 238, 255, 0.72);
}
.hero-metric-split-value {
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #ffd07a;
}
.hero-metric-split-value.is-compact {
    font-size: clamp(20px, 1.8vw, 28px);
}
.hero-metric-split-note {
    font-size: 10px;
    line-height: 1.3;
    color: rgba(220, 233, 252, 0.78);
}
.hero-metric-split-divider {
    width: 1px;
    align-self: stretch;
    margin: 6px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(159, 214, 255, 0.24), rgba(255, 255, 255, 0));
}
.hero-mini-day-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    margin-top: 17px;
}
.hero-mini-day-card {
    display: grid;
    gap: 3px;
    min-width: 0;
    padding: 8px 9px;
    border-radius: 14px;
    border: 1px solid rgba(159, 214, 255, 0.12);
    background: linear-gradient(180deg, rgba(8, 16, 30, 0.46), rgba(14, 24, 43, 0.56));
    box-shadow: inset 0 0 18px rgba(146, 201, 255, 0.04);
}
.hero-mini-day-weekday {
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(226, 238, 255, 0.72);
}
.hero-mini-day-value {
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    color: #eef4ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-mini-day-note {
    font-size: 9px;
    line-height: 1.2;
    color: rgba(220, 233, 252, 0.72);
}
.hero-value {
    font-size: clamp(44px, 3.5vw, 56px);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-shadow: none;
}
.hero-value-compact {
    font-size: clamp(32px, 3vw, 46px);
    line-height: 0.95;
}
.hero-subtitle {
    font-size: 12px;
    line-height: 1.35;
    color: rgba(223, 234, 252, 0.84);
    max-width: 210px;
    padding-top: 0;
}
.hero-grid-general .hero-subtitle {
    max-width: 154px;
}

.hero-chart-wrap {
    position: relative;
    margin-top: -4px;
    height: 60px;
}
.hero-grid-general .hero-chart-wrap {
    margin-top: 10px;
    height: 66px;
}
.hero-card-weekly-handling .hero-chart-wrap {
    margin-top: -22px;
    height: 30px;
}
.hero-card-weekly-handling .hero-chart-grid {
    inset: 15px 4px 3px;
}
.hero-card-weekly-handling .hero-spark {
    height: 30px;
}
.hero-card-weekly-handling .hero-badges-buttons {
    margin-top: 16px;
}

.hero-card-weekly-handling .hero-badge-button {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 0;
    justify-content: normal;
    min-height: 22px;
    padding: 3px 9px;
    border-color: rgba(145, 202, 255, 0.18);
    background: rgba(9, 18, 35, 0.74);
    color: #eef4ff;
    font: inherit;
}

.hero-card-weekly-handling .hero-badge-main {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.hero-card-weekly-handling .hero-badge-value {
    color: #39a8ff;
    font-size: 16px;
    line-height: 1;
    text-align: center;
}

.hero-card-weekly-handling .hero-badge-label {
    min-width: 0;
    max-width: none;
    overflow: hidden;
    color: rgba(226, 239, 255, 0.82);
    font-size: 12px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-card-weekly-handling .hero-badge-arrow {
    display: none;
}

.hero-card-weekly-handling .hero-chart-wrap {
    display: none;
}
.hero-card-weekly-handling {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 12px;
}
.hero-card-weekly-handling .hero-title {
    flex: 0 0 auto;
}

.hero-card-weekly-handling .hero-kicker {
    margin: 0;
    font-size: 13.5px;
    font-weight: 750;
    color: #eef4ff;
    line-height: 1.1;
}

.hero-weekly-handling-layout {
    display: grid;
    grid-template-columns: minmax(92px, 0.34fr) minmax(0, 1fr);
    gap: 8px;
    min-height: 134px;
    margin-top: 16px;
}
.hero-weekly-handling-summary,
.hero-weekly-handling-main {
    min-width: 0;
}
.hero-weekly-summary-card,
.hero-weekly-today-card,
.hero-mini-day-grid-modern .hero-mini-day-card {
    border: 1px solid rgba(77, 166, 255, 0.26);
    background:
        radial-gradient(circle at 24% 12%, rgba(72, 133, 220, 0.14), transparent 34%),
        linear-gradient(180deg, rgba(16, 34, 64, 0.66), rgba(9, 20, 38, 0.78));
    box-shadow:
        inset 0 0 18px rgba(62, 160, 255, 0.08),
        0 0 0 1px rgba(8, 17, 32, 0.22);
}
.hero-weekly-summary-card {
    min-height: 132px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 9px 9px;
    border-radius: 18px;
    text-align: center;
}
.hero-weekly-summary-icon,
.hero-weekly-today-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(83, 178, 255, 0.28);
    background: linear-gradient(180deg, rgba(38, 79, 143, 0.32), rgba(9, 23, 48, 0.56));
    box-shadow: inset 0 0 16px rgba(88, 192, 255, 0.12);
}
.hero-weekly-summary-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    margin-bottom: 2px;
}
.hero-weekly-summary-icon::before {
    content: "";
    position: absolute;
    width: 24px;
    height: 18px;
    border: 0;
    border-radius: 0;
    background: #63c8ff;
    clip-path: polygon(0 76%, 27% 46%, 49% 58%, 76% 16%, 100% 16%, 55% 82%, 30% 67%, 8% 92%);
    transform: none;
    filter: drop-shadow(0 0 5px rgba(99, 200, 255, 0.65));
}
.hero-weekly-summary-icon::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #63c8ff;
    box-shadow:
        7px -8px 0 #63c8ff,
        16px -13px 0 #63c8ff;
    transform: translate(-8px, 4px);
    opacity: 0.95;
}
.hero-weekly-summary-label,
.hero-weekly-today-label,
.hero-mini-day-weekday {
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.hero-weekly-summary-label {
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    color: rgba(218, 233, 255, 0.76);
}
.hero-weekly-summary-value {
    max-width: 100%;
    margin-top: 5px;
    font-size: 29px;
    line-height: 0.95;
    font-weight: 850;
    color: #ffd071;
    overflow-wrap: anywhere;
    font-variant-numeric: tabular-nums;
}
.hero-weekly-summary-rule,
.hero-mini-day-rule {
    display: block;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, #63c8ff, transparent);
}
.hero-weekly-summary-rule {
    width: 54px;
    margin: 2px 0 4px;
}
.hero-weekly-summary-note {
    max-width: 110px;
    font-size: 11px;
    line-height: 1.2;
    color: rgba(221, 235, 255, 0.78);
}
.hero-weekly-handling-main {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 5px;
}
.hero-weekly-today-card {
    min-height: 52px;
    display: grid;
    grid-template-columns: 42px 1px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    padding: 7px 12px;
    border-radius: 18px;
}
.hero-weekly-today-icon {
    width: 36px;
    height: 36px;
    border-radius: 999px;
}
.hero-weekly-today-icon::before {
    content: "";
    width: 19px;
    height: 16px;
    border: 3px solid #63c8ff;
    border-top-width: 7px;
    border-radius: 4px;
    box-shadow: inset 0 0 0 1px rgba(99, 200, 255, 0.18);
}
.hero-weekly-today-icon::after {
    content: "";
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 999px;
    background: #63c8ff;
    box-shadow:
        -6px 0 0 #63c8ff,
        6px 0 0 #63c8ff,
        -6px 6px 0 rgba(99, 200, 255, 0.72),
        0 6px 0 rgba(99, 200, 255, 0.72),
        6px 6px 0 rgba(99, 200, 255, 0.72);
    transform: translateY(3px);
}
.hero-weekly-today-divider {
    width: 1px;
    height: 36px;
    background: linear-gradient(180deg, transparent, rgba(159, 214, 255, 0.42), transparent);
}
.hero-weekly-today-copy {
    min-width: 0;
    display: grid;
    gap: 1px;
}
.hero-weekly-today-label {
    font-size: 13px;
    line-height: 1;
    font-weight: 850;
    color: #75c7ff;
}
.hero-weekly-today-value {
    margin-top: 5px;
    font-size: 25px;
    line-height: 0.95;
    font-weight: 850;
    color: #ffd071;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}
.hero-weekly-today-note {
    font-size: 11px;
    line-height: 1.1;
    color: rgba(221, 235, 255, 0.84);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hero-weekly-day-track {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    align-items: center;
    position: relative;
    height: 12px;
    padding: 0;
    margin: 3px 0 -4px;
    transform: translateY(9px);
}
.hero-weekly-day-track::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 2px;
    border-radius: 999px;
    background: rgba(80, 139, 218, 0.42);
    transform: translateY(-50%);
}
.hero-weekly-day-dot {
    position: relative;
    z-index: 1;
    justify-self: center;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 2px solid rgba(88, 151, 229, 0.7);
    background: #0c2448;
}
.hero-weekly-day-dot.is-active {
    border-color: #79dbff;
    background: #79dbff;
    box-shadow: 0 0 16px rgba(102, 213, 255, 0.9);
}
.hero-mini-day-grid-modern {
    gap: 4px;
    margin-top: 4px;
}
.hero-mini-day-grid-modern .hero-mini-day-card {
    min-height: 62px;
    gap: 1px;
    padding: 7px 4px;
    border-radius: 14px;
    text-align: center;
    overflow: hidden;
}
.hero-mini-day-grid-modern .hero-mini-day-card.is-today {
    border-color: rgba(37, 169, 255, 0.82);
    box-shadow:
        inset 0 0 18px rgba(21, 141, 255, 0.16),
        0 0 18px rgba(20, 141, 255, 0.18);
}
.hero-mini-day-grid-modern .hero-mini-day-card.is-today .hero-mini-day-weekday {
    color: #2ebcff;
}
.hero-mini-day-grid-modern .hero-mini-day-value {
    margin-top: 5px;
    color: #ffd071;
    display: block;
    font-size: 13px;
    line-height: 1.02;
    max-width: 100%;
    white-space: normal;
    overflow: hidden;
    text-overflow: clip;
    word-break: normal;
    font-variant-numeric: tabular-nums;
}
.hero-mini-day-rule {
    width: 26px;
    height: 1px;
    margin: 1px auto;
    opacity: 0.65;
}
.hero-mini-day-grid-modern .hero-mini-day-note {
    font-size: 10px;
    line-height: 1.1;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}
@media (max-width: 680px) {
    .hero-metric-split {
        flex-direction: column;
        gap: 8px;
    }

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

    .hero-card-weekly-handling {
        min-height: 0;
    }

    .hero-card-weekly-handling .hero-weekly-handling-layout {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-card-weekly-handling .hero-weekly-summary-card {
        min-height: 112px;
    }

    .hero-card-weekly-handling .hero-mini-day-grid-modern {
        grid-template-columns: repeat(5, minmax(46px, 1fr));
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero-metric-split-divider {
        width: 100%;
        height: 1px;
        margin: 0;
    }

    .hero-card-weekly-handling .hero-chart-wrap {
        margin-top: -17px;
        height: 30px;
    }
}

.hero-chart-grid {
    position: absolute;
    inset: 2px 0 10px;
    border-radius: 16px;
    background:
        linear-gradient(to right, rgba(118, 155, 218, 0.18) 1px, transparent 1px) 0 0 / 28px 100%,
        linear-gradient(to top, rgba(118, 155, 218, 0.14) 1px, transparent 1px) 0 100% / 100% 10px;
    clip-path: polygon(0 62%, 100% 48%, 100% 100%, 0 100%);
    opacity: 0.58;
}
.hero-grid-general .hero-chart-grid {
    inset: 7px 4px 10px;
}

.hero-spark { width: 100%; height: 60px; display: block; filter: none; }
.hero-grid-general .hero-spark { height: 66px; }
.hero-grid-general .hero-card:not(.hero-card-weekly-handling):not(.hero-card-open-closed) .hero-badges-buttons {
    margin-top: 22px;
}
.hero-card.metric-blue { color: var(--blue); }
.hero-card.metric-green { color: var(--green); }
.hero-card.metric-amber { color: var(--amber); }
.hero-card.metric-red { color: var(--red); }
.hero-card.metric-purple { color: var(--purple); }

.hero-card-open-closed {
    color: #dff2ff;
    min-height: 0;
    padding: 10px 12px;
    background:
        linear-gradient(180deg, rgba(35, 49, 87, 0.96), rgba(13, 23, 44, 0.98)),
        radial-gradient(circle at 84% 12%, rgba(111, 220, 255, 0.16), transparent 24%);
}

.hero-card-open-closed .hero-status {
    margin-bottom: 2px;
    text-align: center;
    font-size: 9px;
    color: rgba(224, 236, 255, 0.72);
}

.hero-card-open-closed .hero-title {
    display: none;
}

.hero-card-open-closed .hero-kicker {
    font-size: clamp(14px, 1.2vw, 22px);
    letter-spacing: -0.03em;
    text-align: center;
}

.hero-card-open-closed .hero-glow {
    display: none;
}

.hero-card-open-closed .hero-title::after {
    content: "";
    width: min(180px, 46%);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(187, 220, 255, 0.8), transparent);
}

.hero-open-closed-layout,
.hero-open-closed-grid,
.hero-open-closed-footer,
.hero-open-closed-summary {
    position: relative;
    z-index: 1;
}

.hero-open-closed-grid {
    display: grid;
    grid-template-columns: clamp(108px, 34%, 132px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(6px, 2vw, 14px);
    min-height: 202px;
    margin-top: 0;
}

.hero-open-closed-column {
    display: grid;
    gap: 5px;
}

.hero-open-closed-stack {
    position: relative;
    z-index: 2;
    align-self: stretch;
    align-content: center;
}

.hero-open-closed-action {
    position: relative;
    width: 100%;
    border: 0;
    text-align: left;
    font: inherit;
    color: inherit;
    cursor: pointer;
    appearance: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, filter 0.18s ease;
    overflow: visible;
}

.hero-open-closed-action:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.hero-open-closed-action:focus-visible {
    outline: 2px solid rgba(178, 222, 255, 0.72);
    outline-offset: 2px;
}

.hero-open-closed-side {
    --connector-color: #63c8ff;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 8px;
    row-gap: 0;
    align-items: center;
    min-height: 44px;
    padding: 6px 10px 6px;
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--connector-color) 42%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--connector-color) 9%, #13213d), #08172d);
    box-shadow:
        inset 0 -18px 28px rgba(4, 10, 20, 0.34),
        0 0 14px color-mix(in srgb, var(--connector-color) 12%, transparent);
}

.hero-open-closed-side-top {
    display: contents;
}

.hero-open-closed-connector {
    display: none;
}

.hero-open-closed-connector::before,
.hero-open-closed-connector::after {
    content: "";
    position: absolute;
    top: 50%;
    border-radius: 999px;
    transform: translateY(-50%);
}

.hero-open-closed-connector::before {
    left: -2px;
    width: 5px;
    height: 5px;
    background: var(--connector-color);
    box-shadow: 0 0 10px var(--connector-color);
}

.hero-open-closed-connector::after {
    right: -2px;
    width: 4px;
    height: 4px;
    background: rgba(227, 243, 255, 0.95);
    box-shadow: 0 0 10px var(--connector-color);
}

.hero-open-closed-stack .hero-open-closed-action:nth-child(1) .hero-open-closed-connector {
    transform: translateY(-50%) rotate(26deg);
}

.hero-open-closed-stack .hero-open-closed-action:nth-child(2) .hero-open-closed-connector {
    transform: translateY(-50%) rotate(9deg);
}

.hero-open-closed-stack .hero-open-closed-action:nth-child(3) .hero-open-closed-connector {
    transform: translateY(-50%) rotate(-9deg);
}

.hero-open-closed-stack .hero-open-closed-action:nth-child(4) .hero-open-closed-connector {
    transform: translateY(-50%) rotate(-26deg);
}

.hero-open-closed-side-open {
    --connector-color: #38c6ff;
    box-shadow:
        inset 0 -18px 28px rgba(4, 10, 20, 0.34),
        0 0 0 1px rgba(82, 188, 255, 0.08),
        0 0 14px rgba(72, 190, 255, 0.1);
}

.hero-open-closed-side-pending {
    --connector-color: #ff5d74;
}

.hero-open-closed-side-closed {
    --connector-color: #62f09d;
    box-shadow:
        inset 0 -18px 28px rgba(4, 10, 20, 0.34),
        0 0 0 1px rgba(151, 238, 142, 0.08),
        0 0 14px rgba(151, 238, 142, 0.1);
}

.hero-open-closed-side-goal {
    --connector-color: #ffbc5b;
}

.hero-open-closed-side-goal.is-complete {
    --connector-color: #90f89d;
}

.hero-open-closed-card-icon {
    display: inline-grid;
    place-items: center;
    grid-column: 1;
    grid-row: 1 / span 3;
    width: 28px;
    height: 28px;
    border-radius: 10px;
    color: inherit;
    background: color-mix(in srgb, var(--connector-color) 18%, rgba(8, 18, 35, 0.68));
    border: 1px solid color-mix(in srgb, var(--connector-color) 42%, transparent);
    box-shadow: inset 0 0 12px color-mix(in srgb, var(--connector-color) 22%, transparent);
}

.hero-open-closed-card-icon svg {
    width: 21px;
    height: 21px;
    filter: drop-shadow(0 0 12px currentColor);
}

.hero-open-closed-card-icon-folder {
    color: #78dcff;
}

.hero-open-closed-card-icon-check {
    color: #a8f39b;
}

.hero-open-closed-card-icon-calendar {
    color: #ff8d9c;
}

.hero-open-closed-card-icon-target {
    color: #ffbc5b;
}

.hero-open-closed-side-label {
    grid-column: 2;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(237, 243, 255, 0.86);
    line-height: 1.1;
}

.hero-open-closed-side-divider {
    display: none;
}

.hero-open-closed-side-label-emphasis {
    color: #ffef9f;
}

.hero-open-closed-side-value {
    grid-column: 2;
    font-size: clamp(20px, 1.75vw, 28px);
    line-height: 1;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.hero-open-closed-side-open .hero-open-closed-side-value {
    color: #68ccff;
}

.hero-open-closed-side-pending .hero-open-closed-side-value {
    color: #ff6479;
}

.hero-open-closed-side-closed .hero-open-closed-side-value {
    color: #90f89d;
}

.hero-open-closed-side-goal .hero-open-closed-side-value {
    color: #ffcb7a;
}

.hero-open-closed-side-goal.is-complete .hero-open-closed-side-value {
    color: #90f89d;
}

.hero-open-closed-side-caption {
    grid-column: 2;
    color: rgba(220, 235, 255, 0.72);
    font-size: 10px;
    line-height: 1.15;
}

.hero-open-closed-center {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: end;
    align-items: center;
    min-width: 0;
}

.hero-open-closed-ring {
    position: relative;
    width: min(100%, 202px);
    aspect-ratio: 1;
    height: auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(8, 18, 35, 0.98) 58%, transparent 59%),
        conic-gradient(var(--ring-color, #ff4343) 0 var(--closed-percent), rgba(96, 130, 184, 0.28) var(--closed-percent) 100%);
    box-shadow:
        0 0 40px var(--ring-glow, rgba(255, 67, 67, 0.42)),
        inset 0 0 26px rgba(255, 255, 255, 0.08);
    isolation: isolate;
}

.hero-open-closed-ring-flag {
    display: none;
}

.hero-open-closed-ring-label {
    display: none;
}

html.support-br-flag-enabled .hero-open-closed-ring-flag {
    position: absolute;
    inset: 15%;
    z-index: 0;
    display: block;
    border-radius: 50%;
    pointer-events: none;
    background:
        url("./br-flag-original.jpg") center / cover no-repeat,
        url("./br-flag-background.png") center / cover no-repeat;
    box-shadow:
        inset 0 0 34px rgba(2, 8, 18, 0.72),
        0 0 18px rgba(255, 191, 23, 0.12);
}

html.support-br-flag-enabled .hero-open-closed-ring-orbit {
    display: none;
}

html.support-br-flag-enabled .hero-open-closed-ring.has-ring-label .hero-open-closed-ring-label {
    position: absolute;
    inset: 3%;
    z-index: 3;
    display: block;
    overflow: visible;
    pointer-events: none;
}

html.support-br-flag-enabled .hero-open-closed-ring.has-ring-label .hero-open-closed-ring-label text {
    fill: #ffffff;
    font-size: 8.5px;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(0, 0, 0, 0.7);
}

html.support-br-flag-enabled .hero-open-closed-ring.has-ring-label .hero-open-closed-ring-core {
    opacity: 0;
}

.hero-open-closed-ring::before,
.hero-open-closed-ring::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-open-closed-ring::before {
    inset: -5px;
    border: 1px solid color-mix(in srgb, var(--ring-color, #ff4343) 62%, transparent);
    opacity: 0.85;
    animation: heroOpenClosedPulse 2.4s ease-in-out infinite;
}

.hero-open-closed-ring::after {
    inset: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-open-closed-ring-orbit {
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, transparent 0 40%, var(--ring-color, #ff4343) 52%, transparent 64% 100%);
    filter: blur(2px);
    opacity: 0.9;
    animation: heroOpenClosedSpin 4.8s linear infinite;
}

.hero-open-closed-ring-core {
    position: relative;
    z-index: 1;
    width: 62%;
    height: 62%;
    display: grid;
    place-items: center;
    align-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(39, 61, 100, 0.95), rgba(8, 18, 35, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 22px color-mix(in srgb, var(--ring-color, #ff4343) 28%, transparent);
}

html.support-br-flag-enabled .hero-open-closed-ring-core {
    background: transparent;
    box-shadow: none;
}

html.support-br-flag-enabled .hero-open-closed-ring-core strong,
html.support-br-flag-enabled .hero-open-closed-ring-core span {
    position: relative;
    z-index: 1;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.82),
        0 0 18px rgba(0, 0, 0, 0.58);
}

.hero-open-closed-ring-core strong {
    font-size: clamp(34px, 3vw, 46px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.05em;
    color: #f2fbff;
}

.hero-open-closed-ring-core span {
    margin-top: 4px;
    font-size: clamp(10px, 0.95vw, 14px);
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(212, 232, 255, 0.74);
}

@media (min-width: 1500px) {
    .hero-card-open-closed .hero-open-closed-grid {
        grid-template-columns: clamp(120px, 27%, 148px) minmax(220px, 1fr);
        min-height: clamp(220px, 13.5vw, 266px);
    }

    .hero-card-open-closed .hero-open-closed-ring {
        width: clamp(220px, 13vw, 258px);
        transform: translateX(-14px);
    }

    .hero-card-open-closed .hero-open-closed-ring-core strong {
        font-size: clamp(42px, 3.15vw, 56px);
    }

    .hero-card-open-closed .hero-open-closed-ring-core span {
        font-size: clamp(12px, 0.9vw, 16px);
    }
}

@media (min-width: 2200px) {
    .hero-card-open-closed .hero-open-closed-grid {
        grid-template-columns: clamp(132px, 25%, 170px) minmax(260px, 1fr);
        min-height: clamp(250px, 12.5vw, 306px);
    }

    .hero-card-open-closed .hero-open-closed-ring {
        width: clamp(260px, 12vw, 304px);
        transform: translateX(-24px);
    }

    .hero-card-open-closed .hero-open-closed-ring-core strong {
        font-size: clamp(50px, 2.75vw, 66px);
    }
}

.hero-open-closed-summary {
    margin-top: 44px;
    font-size: 12px;
    line-height: 1.4;
    color: rgba(214, 228, 249, 0.84);
    text-align: center;
}

.hero-open-closed-highlight {
    position: relative;
    display: grid;
    gap: 4px;
    align-content: space-between;
    min-height: 44px;
    padding: 6px 10px;
    border-radius: 14px;
    border: 1px solid rgba(159, 214, 255, 0.18);
    background: linear-gradient(180deg, rgba(18, 32, 57, 0.94), rgba(15, 29, 52, 0.86));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.hero-open-closed-highlight-primary {
    border-color: rgba(104, 204, 255, 0.28);
    background:
        radial-gradient(circle at 18% 18%, rgba(104, 204, 255, 0.16), transparent 42%),
        linear-gradient(180deg, rgba(10, 24, 45, 0.92), rgba(12, 31, 58, 0.82));
    box-shadow:
        inset 0 0 22px rgba(99, 200, 255, 0.16),
        0 0 0 1px rgba(104, 204, 255, 0.08);
}

.hero-open-closed-highlight-open {
    border-color: rgba(255, 154, 168, 0.42);
    background:
        radial-gradient(circle at 18% 18%, rgba(255, 154, 168, 0.24), transparent 42%),
        linear-gradient(180deg, rgba(62, 25, 35, 0.94), rgba(42, 22, 31, 0.86));
    box-shadow:
        inset 0 0 22px rgba(255, 154, 168, 0.18),
        0 0 0 1px rgba(255, 154, 168, 0.10),
        0 0 18px rgba(255, 154, 168, 0.14);
}

.hero-open-closed-highlight-goal {
    border-color: rgba(255, 203, 122, 0.34);
    background:
        radial-gradient(circle at 100% 0, rgba(255, 203, 122, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(47, 33, 12, 0.94), rgba(28, 24, 20, 0.82));
    box-shadow:
        inset 0 0 22px rgba(255, 203, 122, 0.16),
        0 0 0 1px rgba(255, 203, 122, 0.08),
        0 0 18px rgba(255, 203, 122, 0.12);
}

.hero-open-closed-highlight-goal.is-complete {
    border-color: rgba(144, 248, 157, 0.34);
    background:
        radial-gradient(circle at 100% 0, rgba(144, 248, 157, 0.22), transparent 36%),
        linear-gradient(180deg, rgba(14, 39, 24, 0.94), rgba(15, 31, 24, 0.78));
    box-shadow:
        inset 0 0 22px rgba(119, 247, 169, 0.16),
        0 0 0 1px rgba(144, 248, 157, 0.08),
        0 0 18px rgba(119, 247, 169, 0.12);
}

.hero-open-closed-highlight::after {
    content: "";
    position: absolute;
    inset: auto -18% -40% 28%;
    height: 58px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
    pointer-events: none;
}

.hero-open-closed-highlight-goal:not(.is-complete) {
    animation: heroOpenClosedGoalAlert 2.6s ease-in-out infinite;
}

.hero-open-closed-highlight-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(237, 243, 255, 0.86);
    max-width: 82px;
    line-height: 1.15;
}

.hero-open-closed-highlight-label-emphasis {
    display: inline-block;
    font-size: 1.5em;
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #90f89d;
    vertical-align: baseline;
}

.hero-open-closed-highlight-value {
    font-size: clamp(20px, 1.75vw, 28px);
    line-height: 0.9;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #f2fbff;
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.1);
}

.hero-open-closed-highlight-primary .hero-open-closed-highlight-value {
    color: #68ccff;
    text-shadow: 0 0 24px rgba(104, 204, 255, 0.28);
}

.hero-open-closed-highlight-open .hero-open-closed-highlight-value {
    color: #ff9aa8;
    text-shadow: 0 0 24px rgba(255, 154, 168, 0.30);
}

.hero-open-closed-highlight-open .hero-open-closed-card-watermark {
    color: #ff9aa8;
}

.hero-open-closed-highlight-goal .hero-open-closed-highlight-value {
    color: #ffcb7a;
    text-shadow: 0 0 22px rgba(255, 203, 122, 0.24);
}

.hero-open-closed-highlight-goal.is-complete .hero-open-closed-highlight-value {
    color: #90f89d;
    text-shadow: 0 0 22px rgba(144, 248, 157, 0.26);
}

.hero-open-closed-highlight-goal.is-complete .hero-open-closed-highlight-label-emphasis {
    color: #90f89d;
}

.hero-open-closed-card-watermark {
    position: absolute;
    right: 10px;
    bottom: 8px;
    width: 28px;
    height: 28px;
    opacity: 0.16;
    color: #8bcfff;
    pointer-events: none;
}

.hero-open-closed-card-watermark svg {
    width: 100%;
    height: 100%;
}

.hero-open-closed-highlight-goal-body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 6px;
}

.hero-open-closed-highlight-goal-metric {
    display: grid;
    gap: 2px;
}

.hero-open-closed-card-icon-target {
    color: #ffbc5b;
}

.hero-open-closed-highlight-caption {
    font-size: 9px;
    line-height: 1.15;
    color: #ffffff;
    max-width: 58px;
}

@keyframes heroOpenClosedGoalAlert {
    0%, 100% {
        transform: translateY(0);
        box-shadow:
            inset 0 0 22px rgba(255, 203, 122, 0.16),
            0 0 0 1px rgba(255, 203, 122, 0.08),
            0 0 18px rgba(255, 203, 122, 0.12);
    }
    50% {
        transform: translateY(-1px);
        box-shadow:
            inset 0 0 24px rgba(255, 203, 122, 0.18),
            0 0 0 1px rgba(255, 203, 122, 0.12),
            0 0 24px rgba(255, 203, 122, 0.2);
    }
}

@keyframes heroOpenClosedSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes heroOpenClosedPulse {
    0%, 100% {
        transform: scale(0.98);
        opacity: 0.5;
        box-shadow: 0 0 0 rgba(108, 240, 167, 0);
    }
    50% {
        transform: scale(1.03);
        opacity: 0.95;
        box-shadow: 0 0 18px color-mix(in srgb, var(--ring-color, #77f7a9) 40%, transparent);
    }
}

#bot-cards {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
}

#bot-cards .hero-card {
    min-height: 116px;
    padding: 6px 10px 11px;
    border-radius: 18px;
}

#bot-cards .hero-card::after {
    border-radius: 17px;
}

#bot-cards .hero-glow {
    display: none;
}

#geral-cards .hero-glow {
    display: none;
}

#bot-cards .hero-status {
    margin-bottom: 0;
    font-size: 9px;
}

#bot-cards .hero-title {
    margin-bottom: 2px;
    gap: 8px;
}

#bot-cards .hero-title-actions {
    gap: 6px;
}

#bot-cards .hero-kicker {
    font-size: 11px;
    font-weight: 700;
}

#bot-cards .hero-expand-button {
    width: 18px;
    height: 18px;
    font-size: 12px;
    border-color: rgba(159, 214, 255, 0.16);
    background: rgba(7, 14, 29, 0.12);
}

#bot-cards .hero-icon {
    display: none;
}

#bot-cards .hero-metric {
    gap: 8px;
    align-items: flex-start;
    min-height: 0;
}

#bot-cards .hero-value {
    font-size: clamp(24px, 2vw, 34px);
    line-height: 0.95;
}

#bot-cards .hero-value-compact {
    font-size: clamp(20px, 1.8vw, 28px);
}

#bot-cards .hero-subtitle {
    font-size: 10px;
    line-height: 1.2;
    max-width: none;
}

#bot-cards .hero-chart-wrap {
    display: none;
}

#bot-cards .hero-badges {
    display: none;
}

#bot-cards .hero-card:has(.hero-mini-list) {
    min-height: 206px;
}

#bot-cards .hero-mini-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 8px;
    margin-top: 8px;
    max-height: 118px;
    overflow: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(210, 226, 248, 0.26) transparent;
}

#bot-cards .hero-mini-list::-webkit-scrollbar {
    width: 6px;
}

#bot-cards .hero-mini-list::-webkit-scrollbar-track {
    background: transparent;
}

#bot-cards .hero-mini-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(233, 241, 252, 0.32), rgba(184, 203, 231, 0.14));
    border-radius: 999px;
}

#bot-cards .hero-mini-item {
    display: grid;
    gap: 4px;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--item-color, #63c8ff) 24%, rgba(118, 160, 225, 0.14));
    background: rgba(16, 28, 51, 0.86);
}

#bot-cards .hero-mini-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 6px;
}

#bot-cards .hero-mini-item-id {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--item-color, #63c8ff) 85%, white 15%);
    color: var(--item-color, #63c8ff);
    font-size: 10px;
    font-weight: 800;
}

#bot-cards .hero-mini-item-status {
    color: color-mix(in srgb, var(--item-color, #63c8ff) 78%, white 22%);
    font-size: 9px;
    text-align: right;
}

#bot-cards .hero-mini-item-title {
    color: #eef4ff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

#bot-cards .hero-mini-empty {
    padding: 10px;
    border-radius: 12px;
    border: 1px dashed rgba(126, 167, 228, 0.2);
    color: #9fb3d8;
    font-size: 11px;
    line-height: 1.3;
    background: rgba(16, 28, 51, 0.5);
}
.hero-card.metric-blue {
    border-color: rgba(112, 201, 255, 0.34);
    box-shadow: inset 0 0 42px rgba(112, 180, 255, 0.08), 0 0 0 1px rgba(104, 195, 255, 0.08), 0 18px 36px rgba(0, 0, 0, 0.24);
}
.hero-card.metric-green {
    border-color: rgba(110, 240, 167, 0.34);
    box-shadow: inset 0 0 42px rgba(108, 240, 167, 0.08), 0 0 0 1px rgba(108, 240, 167, 0.08), 0 18px 36px rgba(0, 0, 0, 0.24);
}
.hero-card.metric-amber {
    border-color: rgba(255, 203, 122, 0.34);
    box-shadow: inset 0 0 42px rgba(255, 203, 122, 0.08), 0 0 0 1px rgba(255, 203, 122, 0.08), 0 18px 36px rgba(0, 0, 0, 0.24);
}

.hero-card-open-closed.metric-amber,
.hero-card-open-closed.metric-green,
.hero-card-open-closed.metric-blue,
.hero-card-open-closed.metric-red,
.hero-card-open-closed.metric-purple {
    border-color: var(--line);
    box-shadow:
        inset 0 0 24px rgba(130, 185, 255, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.28);
}

.hero-card-weekly-comparison {
    display: flex;
    flex-direction: column;
    grid-column: span 1;
    align-self: start;
    height: 282px;
    min-height: 282px;
    padding: 10px 14px 9px;
    overflow: hidden;
    color: #dff2ff;
    background:
        linear-gradient(180deg, rgba(35, 49, 87, 0.96), rgba(13, 23, 44, 0.98)),
        radial-gradient(circle at 84% 12%, rgba(111, 220, 255, 0.16), transparent 24%);
    border-color: var(--line);
    box-shadow:
        inset 0 0 24px rgba(130, 185, 255, 0.08),
        0 8px 20px rgba(0, 0, 0, 0.28);
}

.hero-card-weekly-comparison::after {
    border-color: rgba(114, 161, 210, 0.26);
}

.support-weekly-comparison-head,
.support-weekly-comparison-chart-shell,
.support-weekly-comparison-footer {
    position: relative;
    z-index: 1;
}

.support-weekly-comparison-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    align-items: start;
}

.support-weekly-comparison-title {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.support-weekly-comparison-title h3 {
    margin: 0;
    color: #eef4ff;
    font-size: 13.5px;
    line-height: 1.1;
    font-weight: 750;
    letter-spacing: 0;
}

.support-weekly-comparison-row:hover,
.support-weekly-comparison-row:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(177, 224, 255, 0.42);
    background: rgba(13, 28, 57, 0.94);
}

.support-weekly-comparison-row:focus-visible {
    outline: 2px solid rgba(143, 215, 255, 0.65);
    outline-offset: 2px;
}

.support-weekly-comparison-chart-shell {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    margin-top: 5px;
    margin-bottom: 6px;
    border-radius: 14px;
    border: 1px solid rgba(117, 154, 219, 0.16);
    background: linear-gradient(180deg, rgba(13, 28, 55, 0.74), rgba(7, 17, 35, 0.42));
    overflow: hidden;
}

.support-weekly-comparison-chart-overlay {
    position: absolute;
    inset: 0;
    overflow: visible;
}

.support-weekly-comparison-chart-badge-group {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.support-weekly-comparison-chart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 18px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    background: #08111f;
    box-shadow:
        inset 0 0 0 1px var(--badge-color, #67b7ff),
        0 8px 18px rgba(2, 8, 23, 0.22);
    color: #eef4ff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    cursor: pointer;
}

.support-weekly-comparison-chart-badge.is-open {
    --badge-color: #67b7ff;
}

.support-weekly-comparison-chart-badge.is-closed {
    --badge-color: #6cf0a7;
}

.support-weekly-comparison-chart-badge:hover,
.support-weekly-comparison-chart-badge:focus-visible {
    transform: translateY(-1px);
    box-shadow:
        inset 0 0 0 1px var(--badge-color, #67b7ff),
        0 10px 22px rgba(2, 8, 23, 0.28);
}

.support-weekly-comparison-chart-badge:focus-visible {
    outline: 2px solid rgba(143, 215, 255, 0.65);
    outline-offset: 2px;
}

.support-weekly-comparison-chart {
    display: block;
    width: 100%;
    height: 100%;
}

.support-weekly-comparison-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: auto;
}

.support-weekly-comparison-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    min-width: 0;
    padding: 5px 7px;
    border: 1px solid color-mix(in srgb, var(--weekly-color, #39a8ff) 48%, transparent);
    border-radius: 11px;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--weekly-color, #39a8ff) 13%, rgba(8, 20, 43, 0.84)), rgba(6, 15, 33, 0.76));
    box-shadow:
        inset 0 0 18px color-mix(in srgb, var(--weekly-color, #39a8ff) 14%, transparent),
        0 0 0 1px rgba(255, 255, 255, 0.02);
}

.support-weekly-comparison-list-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    min-width: 0;
    padding-bottom: 4px;
    border-bottom: 1px solid color-mix(in srgb, var(--weekly-color, #39a8ff) 74%, transparent);
}

.support-weekly-comparison-list-title {
    color: var(--weekly-color, #39a8ff);
    font-size: 11.5px;
    line-height: 1.1;
    font-weight: 750;
    text-align: center;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-weekly-comparison-row {
    display: grid;
    grid-template-columns: 50px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 24px;
    padding: 2px 7px;
    border-radius: 9px;
    border: 1px solid color-mix(in srgb, var(--weekly-color, #39a8ff) 44%, transparent);
    background: linear-gradient(180deg, rgba(9, 24, 52, 0.88), rgba(5, 13, 31, 0.78));
    color: #eef4ff;
    font: inherit;
    cursor: pointer;
    box-shadow: inset 0 0 14px color-mix(in srgb, var(--weekly-color, #39a8ff) 8%, transparent);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.support-weekly-comparison-row strong {
    display: grid;
    align-items: center;
    min-height: 18px;
    padding-right: 7px;
    border-right: 1px solid color-mix(in srgb, var(--weekly-color, #39a8ff) 48%, transparent);
    color: var(--weekly-color, #39a8ff);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.support-weekly-comparison-row span {
    min-width: 0;
    overflow: hidden;
    color: rgba(226, 239, 255, 0.82);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-weekly-comparison-row.has-closed-breakdown {
    grid-template-columns: 40px minmax(68px, 1fr) minmax(50px, 0.45fr) minmax(50px, 0.45fr);
    gap: 4px;
    min-height: 25px;
    padding: 2px 4px;
}

.support-weekly-comparison-row.has-closed-breakdown .support-weekly-comparison-row-label {
    height: 100%;
    padding-right: 4px;
    border-right: 1px solid color-mix(in srgb, var(--weekly-color, #55e78f) 32%, transparent);
    display: flex;
    align-items: center;
}

.support-weekly-comparison-breakdown {
    display: grid !important;
    gap: 1px;
    justify-items: center;
    align-items: center;
    min-width: 0;
    padding: 1px 4px;
    border: 1px solid color-mix(in srgb, var(--weekly-color, #55e78f) 34%, transparent);
    border-radius: 7px;
    background: color-mix(in srgb, var(--weekly-color, #55e78f) 8%, rgba(5, 15, 31, 0.78));
    color: rgba(226, 239, 255, 0.82);
    line-height: 1;
}

.support-weekly-comparison-breakdown small,
.support-weekly-comparison-breakdown b {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-weekly-comparison-breakdown small {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: 0;
}

.support-weekly-comparison-breakdown b {
    color: var(--weekly-color, #55e78f);
    font-size: 13px;
    font-weight: 900;
}

.support-weekly-comparison-empty {
    min-height: 24px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px dashed rgba(145, 202, 255, 0.16);
    color: rgba(226, 239, 255, 0.62);
    font-size: 12px;
    text-align: center;
}

.hero-card-status-ticket-list {
    align-self: stretch;
    height: 100%;
    min-height: 222px;
    padding: 10px 12px;
    overflow: hidden;
    color: var(--status-card-color, #ff5b67);
}

.hero-card-status-ticket-list::after {
    border-color: color-mix(in srgb, var(--status-card-color, #ff5b67) 36%, rgba(159, 214, 255, 0.08));
}

.hero-card-status-ranking {
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 96% 18%, color-mix(in srgb, var(--status-card-color, #ff5b67) 22%, transparent), transparent 30%),
        linear-gradient(135deg, rgba(12, 6, 9, 0.96), rgba(10, 12, 22, 0.94));
    border-color: color-mix(in srgb, var(--status-card-color, #ff5b67) 58%, rgba(255, 255, 255, 0.12));
    box-shadow:
        inset 0 0 34px color-mix(in srgb, var(--status-card-color, #ff5b67) 10%, transparent),
        0 0 18px color-mix(in srgb, var(--status-card-color, #ff5b67) 20%, transparent);
}

.hero-card-status-ranking::before {
    background:
        linear-gradient(180deg, transparent 4%, color-mix(in srgb, var(--status-card-color, #ff5b67) 88%, white 12%) 22%, transparent 42%) left center / 2px 180% no-repeat,
        linear-gradient(180deg, transparent 58%, color-mix(in srgb, var(--status-card-color, #ff5b67) 88%, white 12%) 78%, transparent 96%) right center / 2px 180% no-repeat;
    opacity: 0.92;
    animation: support-ranking-side-pulse 1.6s ease-in-out infinite;
}

.hero-card-status-ranking::after {
    border-color: color-mix(in srgb, var(--status-card-color, #ff5b67) 72%, rgba(255, 255, 255, 0.08));
    box-shadow:
        inset 0 0 0 1px color-mix(in srgb, var(--status-card-color, #ff5b67) 16%, transparent),
        0 0 18px color-mix(in srgb, var(--status-card-color, #ff5b67) 26%, transparent);
}

.support-status-ticket-card-head,
.support-status-ticket-list,
.support-status-ticket-more,
.support-status-ranking-total {
    position: relative;
    z-index: 1;
}

.support-status-ticket-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

.support-status-ticket-card-title {
    min-width: 0;
    display: grid;
}

.hero-card-status-ranking .support-status-ticket-card-title {
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.support-status-ranking-icon {
    display: inline-grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--status-card-color, #ff5b67) 74%, #ffffff);
    background: color-mix(in srgb, var(--status-card-color, #ff5b67) 18%, rgba(8, 10, 18, 0.82));
    color: color-mix(in srgb, var(--status-card-color, #ff5b67) 84%, #ffffff);
    font-size: 16px;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 0 14px color-mix(in srgb, var(--status-card-color, #ff5b67) 30%, transparent);
}

.support-status-ticket-card-title span {
    max-width: 100%;
    overflow: hidden;
    color: rgba(238, 244, 255, 0.72);
    font-size: 10px;
    line-height: 1.2;
    font-weight: 800;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.support-status-ticket-card-title .support-status-ranking-icon {
    width: 24px;
    height: 24px;
    max-width: none;
    overflow: visible;
    color: color-mix(in srgb, var(--status-card-color, #ff5b67) 84%, #ffffff);
    font-size: 16px;
    line-height: 1;
    text-overflow: clip;
}

.support-status-ranking-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-status-ticket-list {
    display: grid;
    gap: 6px;
    margin-top: 8px;
}

.support-status-ticket-row {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 4px 8px;
    align-items: center;
    min-width: 0;
    padding: 7px 9px;
    border-radius: 13px;
    border: 1px solid rgba(145, 202, 255, 0.14);
    background: rgba(9, 18, 35, 0.72);
    color: #eef4ff;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.support-status-ticket-row:hover,
.support-status-ticket-row:focus-visible,
.support-status-ticket-more:hover,
.support-status-ticket-more:focus-visible {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--status-card-color, #ff5b67) 54%, rgba(177, 224, 255, 0.34));
    background: rgba(13, 28, 57, 0.94);
}

.support-status-ticket-row:focus-visible,
.support-status-ticket-more:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--status-card-color, #ff5b67) 62%, #ffffff);
    outline-offset: 2px;
}

.support-status-ranking-row {
    grid-template-columns: 20px minmax(72px, 0.52fr) minmax(62px, 1fr) 74px;
    align-items: center;
    appearance: none;
    width: 100%;
    cursor: pointer;
}

.support-status-ranking-position {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--status-card-color, #ff5b67) 20%, rgba(9, 18, 35, 0.74));
    color: color-mix(in srgb, var(--status-card-color, #ff5b67) 82%, #ffffff);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
}

.support-status-ranking-count {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 3px;
    width: 74px;
    color: color-mix(in srgb, var(--status-card-color, #ff5b67) 80%, #ffffff);
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.support-status-ranking-track {
    position: relative;
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 0,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px,
            transparent 20%
        ),
        rgba(255, 255, 255, 0.04);
}

.support-status-ranking-bar {
    display: block;
    width: var(--ranking-percent, 0%);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, color-mix(in srgb, var(--status-card-color, #ff5b67) 76%, #8c0711), #ff202c 72%, #ff777f);
    box-shadow:
        0 0 10px color-mix(in srgb, var(--status-card-color, #ff5b67) 44%, transparent),
        inset 0 0 5px rgba(255, 255, 255, 0.22);
}

.support-status-ranking-count small {
    color: rgba(198, 219, 255, 0.66);
    font-size: 9px;
    font-weight: 700;
}

.support-status-ticket-protocol {
    color: var(--status-card-color, #ff5b67);
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
}

.support-status-ticket-title {
    min-width: 0;
    overflow: hidden;
    color: rgba(238, 244, 255, 0.9);
    font-size: 12px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-status-ticket-meta {
    grid-column: 2;
    min-width: 0;
    overflow: hidden;
    color: rgba(198, 219, 255, 0.66);
    font-size: 10px;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-status-ticket-empty {
    padding: 12px 8px;
    border-radius: 14px;
    border: 1px dashed rgba(145, 202, 255, 0.18);
    color: rgba(199, 218, 246, 0.72);
    font-size: 12px;
    line-height: 1.3;
    text-align: center;
}

.support-status-ticket-more {
    width: 100%;
    margin-top: 8px;
    padding: 7px 9px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--status-card-color, #ff5b67) 38%, rgba(145, 202, 255, 0.14));
    background: rgba(9, 18, 35, 0.56);
    color: rgba(238, 244, 255, 0.88);
    font: inherit;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.hero-card-status-ticket-list-compact {
    padding-block: 8px;
}

.hero-card-status-ticket-list-compact .support-status-ticket-card-title span {
    color: #eef4ff;
    font-size: 11.5px;
    font-weight: 750;
    line-height: 1.1;
    text-align: left;
    text-transform: capitalize;
}

.hero-card-status-ranking.hero-card-status-ticket-list-compact .support-status-ticket-card-title span:not(.support-status-ranking-icon) {
    font-size: 11.5px;
    font-weight: 750;
    line-height: 1.1;
    text-shadow: none;
    text-transform: uppercase;
}

.hero-card-status-ranking.hero-card-status-ticket-list-compact .support-status-ticket-card-head {
    flex: 0 0 auto;
}

.hero-card-status-ticket-list-compact .support-status-ticket-list {
    gap: 0;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(145, 202, 255, 0.10);
    background: rgba(9, 18, 35, 0.48);
}

.hero-card-status-ticket-list-compact .support-status-ticket-row {
    gap: 0 8px;
    padding: 2px 8px;
    border: 0;
    border-bottom: 1px solid rgba(145, 202, 255, 0.10);
    border-radius: 0;
    background: transparent;
}

.hero-card-status-ticket-list-compact .support-status-ticket-row.is-urgent {
    animation: support-status-ticket-urgent-pulse 1.05s ease-in-out infinite;
    border-bottom-color: rgba(255, 69, 82, 0.58);
}

.hero-card-status-ticket-list-compact .support-status-ticket-row.is-urgent .support-status-ticket-protocol,
.hero-card-status-ticket-list-compact .support-status-ticket-row.is-urgent .support-status-ticket-title {
    color: #ff5b67;
}

.hero-card-status-ticket-list-compact .support-status-ticket-row.is-urgent .support-status-ticket-meta {
    color: rgba(255, 159, 168, 0.9);
}

.hero-card-status-ticket-list-compact .support-status-ticket-row:last-child {
    border-bottom: 0;
}

.hero-card-status-ticket-list-compact .support-status-ticket-row:hover,
.hero-card-status-ticket-list-compact .support-status-ticket-row:focus-visible {
    transform: none;
    background: rgba(13, 28, 57, 0.72);
}

.hero-card-status-ticket-list-compact .support-status-ranking-row {
    grid-template-columns: 22px minmax(72px, 0.52fr) minmax(62px, 1fr) 74px;
}

.hero-card-status-ticket-list-compact .support-status-ranking-row:hover,
.hero-card-status-ticket-list-compact .support-status-ranking-row:focus-visible {
    background: color-mix(in srgb, var(--status-card-color, #ff5b67) 10%, rgba(13, 28, 57, 0.68));
}

.hero-card-status-ticket-list-compact .support-status-ranking-position {
    width: 19px;
    height: 19px;
}

.hero-card-status-ranking .support-status-ticket-list {
    flex: 1 1 auto;
    align-content: stretch;
    grid-template-rows: repeat(7, minmax(20px, 1fr));
    border-color: color-mix(in srgb, var(--status-card-color, #ff5b67) 22%, rgba(145, 202, 255, 0.08));
}

.hero-card-status-ranking .support-status-ticket-row {
    min-height: 0;
}

.hero-card-status-ranking .support-status-ticket-title {
    font-size: 13px;
    font-weight: 800;
}

.hero-card-status-ranking .support-status-ranking-track {
    height: 11px;
}

.hero-card-status-ranking .support-status-ranking-count {
    font-size: 14px;
}

.hero-card-status-ranking .support-status-ranking-count small {
    font-size: 10px;
}

.hero-card-status-dual-list {
    padding: 8px 10px;
}

.hero-card-status-dual-list .support-status-dual-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex: 1 1 auto;
    gap: 8px;
    min-height: 0;
    overflow: hidden;
}

.hero-card-status-dual-list .support-status-dual-column {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
}

.hero-card-status-dual-list .support-status-dual-review {
    padding-left: 8px;
    border-left: 1px solid rgba(211, 225, 246, 0.24);
}

.hero-card-status-dual-list .support-status-ticket-card-title {
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 5px;
}

.hero-card-status-ranking.hero-card-status-ticket-list-compact.hero-card-status-dual-list .support-status-ticket-card-title span:not(.support-status-ranking-icon) {
    overflow: hidden;
    font-size: 9px;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.hero-card-status-dual-list .support-status-ranking-icon,
.hero-card-status-dual-list .support-status-ticket-card-title .support-status-ranking-icon {
    width: 20px;
    height: 20px;
}

.hero-card-status-dual-list .support-status-ranking-icon svg {
    width: 13px;
    height: 13px;
}

.hero-card-status-dual-list .support-status-ticket-list {
    margin-top: 6px;
}

.hero-card-status-dual-list .support-status-ranking-row {
    grid-template-columns: 16px 56px 1fr 16px;
    gap: 0 5px;
    padding-inline: 4px;
}

.hero-card-status-dual-list .support-status-ranking-position {
    width: 16px;
    height: 16px;
    font-size: 8px;
}

.hero-card-status-dual-list .support-status-ticket-title {
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-card-status-dual-list .support-status-ranking-track {
    height: 8px;
    min-width: 18px;
    width: 100%;
}

.hero-card-status-dual-list .support-status-ranking-count {
    display: inline-flex;
    width: 100%;
    justify-content: flex-end;
    text-align: right;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

.hero-card-status-dual-list .support-status-ranking-count small {
    display: none;
}

.hero-card-status-dual-list .support-status-review-row {
    grid-template-columns: 17px minmax(45px, 0.72fr) minmax(54px, 1fr);
    gap: 0 4px;
    padding-inline: 4px;
}

.support-status-review-protocol {
    min-width: 0;
    overflow: hidden;
    color: rgba(238, 244, 255, 0.94);
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-status-review-operator {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 3px;
    color: rgba(238, 244, 255, 0.9);
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.support-status-review-operator svg {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-status-review-operator span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-card-status-dual-list .support-status-ticket-empty {
    align-self: start;
    padding: 8px 5px;
    font-size: 9px;
}

.support-status-ranking-total {
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: min(92%, 230px);
    margin: 4px auto 0;
    padding: 2px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--status-card-color, #ff5b67) 50%, rgba(255, 255, 255, 0.12));
    background: rgba(9, 10, 17, 0.7);
    color: rgba(238, 244, 255, 0.82);
    font: inherit;
    box-shadow: inset 0 0 18px color-mix(in srgb, var(--status-card-color, #ff5b67) 12%, transparent);
    cursor: pointer;
    text-transform: uppercase;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.support-status-ranking-total:hover,
.support-status-ranking-total:focus-visible {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--status-card-color, #ff5b67) 68%, rgba(255, 255, 255, 0.18));
    background: rgba(18, 13, 22, 0.86);
}

.support-status-ranking-total:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--status-card-color, #ff5b67) 62%, #ffffff);
    outline-offset: 2px;
}

.support-status-ranking-total span {
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
}

.support-status-ranking-total strong {
    color: color-mix(in srgb, var(--status-card-color, #ff5b67) 82%, #ffffff);
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
}

.support-status-ranking-total small {
    color: rgba(238, 244, 255, 0.9);
    font-size: 10px;
    line-height: 1;
    text-transform: none;
}

@keyframes support-ranking-side-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 3px color-mix(in srgb, var(--status-card-color, #ff5b67) 58%, transparent));
        opacity: 0.62;
        background-position: left -24px, right 24px;
    }

    50% {
        filter: drop-shadow(0 0 11px color-mix(in srgb, var(--status-card-color, #ff5b67) 86%, transparent));
        opacity: 1;
        background-position: left 24px, right -24px;
    }
}

@keyframes support-status-ticket-urgent-pulse {
    0%, 100% {
        background: rgba(255, 38, 58, 0.10);
        box-shadow: inset 0 0 0 1px rgba(255, 78, 92, 0.20);
    }

    50% {
        background: rgba(255, 38, 58, 0.34);
        box-shadow: inset 0 0 0 1px rgba(255, 93, 108, 0.68), 0 0 16px rgba(255, 48, 67, 0.42);
    }
}

.hero-card-status-ticket-list-compact .support-status-ticket-protocol {
    font-size: 12px;
}

.hero-card-status-ticket-list-compact .support-status-ticket-title {
    font-size: 12px;
    line-height: 1.1;
}

.hero-card-status-ticket-list-compact .support-status-ticket-meta {
    font-size: 10px;
    line-height: 1.05;
}

.hero-card-status-ticket-list-compact .support-status-ticket-more {
    margin-top: 9px;
    padding-block: 5px;
}

.panel, .ticket-list-card { padding: 16px; }
.panel-banner { margin-bottom: var(--section-gap); }
.panel-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 12px; }
.panel-header-actions {
    align-items: flex-start;
    margin-bottom: 10px;
}
.panel-header-actions-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.panel-header h3 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 750;
    color: #eef4ff;
    line-height: 1.1;
    white-space: nowrap;
}
.panel-header p { margin: 6px 0 0; color: var(--muted); }
.panel-header-inline { align-items: center; }
.operator-handling-header-inline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.operator-handling-header-inline h3 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 750;
    color: #eef4ff;
    line-height: 1.1;
    white-space: nowrap;
}
.operator-handling-header-inline p {
    margin: 0;
    white-space: nowrap;
}
.panel-icon-button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(150, 188, 245, 0.22);
    background: rgba(14, 24, 44, 0.84);
    color: #eaf2ff;
    font-size: 16px;
    cursor: pointer;
}
.panel-chip-button {
    min-width: 92px;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    border: 1px solid rgba(150, 188, 245, 0.22);
    background: rgba(14, 24, 44, 0.84);
    color: #eaf2ff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.panel-chip-button:hover,
.panel-chip-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(173, 206, 255, 0.38);
    background: rgba(18, 31, 58, 0.92);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
}
.panel-chip-button.active {
    border-color: rgba(108, 240, 167, 0.42);
    background: rgba(32, 92, 66, 0.9);
    color: #eafff3;
    box-shadow:
        0 12px 22px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.panel-chip-button.active:hover,
.panel-chip-button.active:focus-visible {
    border-color: rgba(132, 246, 183, 0.6);
    background: rgba(39, 111, 79, 0.96);
}
.chart-panel { min-height: 270px; padding: 14px 16px; align-self: start; }
.chart-panel-compare {
    height: var(--hero-panel-height);
    min-height: var(--hero-panel-height);
    display: flex;
    flex-direction: column;
}
.chart-panel-full { margin-bottom: var(--section-gap); }
.chart-panel-half {
    height: var(--hero-panel-height);
    min-height: var(--hero-panel-height);
    position: relative;
    display: flex;
    flex-direction: column;
}
.chart-mode-button {
    border: 1px solid rgba(112, 148, 214, 0.24);
    background: rgba(14, 24, 44, 0.72);
    color: #cfe0ff;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.chart-mode-button:hover {
    transform: translateY(-1px);
    border-color: rgba(136, 182, 255, 0.34);
    background: rgba(18, 31, 58, 0.88);
}

.chart-mode-button.active {
    color: #effff6;
    border-color: rgba(111, 245, 167, 0.58);
    background: linear-gradient(180deg, rgba(29, 93, 55, 0.96), rgba(20, 66, 40, 0.96));
    box-shadow: 0 0 16px rgba(51, 223, 120, 0.2);
}

.chart-mode-button-inline {
    position: absolute;
    top: 56px;
    right: 20px;
    z-index: 3;
}

.panel-grid-chart-operator > .panel {
    height: var(--hero-panel-height);
    align-self: stretch;
    min-height: var(--hero-panel-height);
}
.operator-handling-panel {
    height: var(--hero-panel-height);
    min-height: var(--hero-panel-height);
    display: flex;
    flex-direction: column;
}

.support-details-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 20, 0.78);
    z-index: 120;
}

.support-details-modal {
    position: fixed;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    z-index: 121;
}

.support-details-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.support-details-modal-shell {
    width: min(1600px, calc(100vw - 48px));
    max-height: min(92vh, 1180px);
    display: grid;
    gap: 0;
    padding: 12px;
    border-radius: 24px;
    border: 1px solid rgba(125, 183, 255, 0.22);
    background: rgba(12, 22, 40, 0.98);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.support-startup-details-shell {
    width: min(1880px, calc(100vw - 12px));
    height: min(92vh, 1180px);
    max-height: calc(100vh - 32px);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 12px;
    overflow: hidden;
}

.support-startup-details-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.support-startup-details-header h3 {
    margin: 0;
    color: #eef4ff;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.support-startup-details-header p {
    margin: 6px 0 0;
    color: rgba(214, 230, 255, 0.74);
    font-size: 13px;
    line-height: 1.45;
}

.support-startup-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
    gap: 10px;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 232, 244, 0.18) transparent;
}

.support-startup-details-grid::-webkit-scrollbar {
    width: 6px;
}

.support-startup-details-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
}

.support-startup-details-grid::-webkit-scrollbar-thumb {
    background: rgba(210, 220, 238, 0.24);
    border-radius: 999px;
}

.support-startup-details-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    border-radius: 18px;
    border: 1px dashed rgba(129, 169, 255, 0.2);
    background: rgba(10, 18, 35, 0.52);
    color: rgba(211, 226, 255, 0.72);
}

.support-startup-detail-card {
    position: relative;
    display: grid;
    grid-template-rows: auto auto;
    gap: 12px;
    min-height: 340px;
    padding: 16px 14px;
    border-radius: 20px;
    border: 1px solid rgba(129, 169, 255, 0.16);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.08), transparent 44%),
        linear-gradient(180deg, rgba(18, 35, 68, 0.96), rgba(9, 19, 37, 0.98));
    box-shadow: 0 14px 32px rgba(2, 6, 23, 0.3);
    overflow: hidden;
}

.support-startup-detail-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--startup-detail-accent), rgba(255, 255, 255, 0));
    opacity: 0.95;
}

.support-startup-detail-top {
    position: relative;
    z-index: 1;
}

.support-startup-detail-heading h4 {
    margin: 0;
    color: #eef4ff;
    font-size: 20px;
    letter-spacing: -0.02em;
}

.support-startup-detail-heading p {
    margin: 6px 0 0;
    color: rgba(214, 230, 255, 0.74);
    font-size: 12px;
    line-height: 1.45;
}

.support-startup-detail-heading p span {
    margin: 0 5px;
    color: rgba(152, 181, 225, 0.55);
}

.support-startup-detail-heading p strong {
    color: #ffffff;
}

.support-startup-detail-heading p .support-startup-detail-average-received {
    color: #ffcc7a;
}

.support-startup-detail-chart {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    min-height: 0;
    overflow: visible;
    padding-bottom: 0;
}

.support-startup-detail-day-card {
    display: grid;
    grid-template-rows: auto auto minmax(130px, 1fr) auto auto;
    gap: 6px;
    min-width: 0;
    padding: 10px 7px;
    border-radius: 16px;
    border: 1px solid rgba(129, 169, 255, 0.14);
    background: rgba(7, 18, 38, 0.72);
    color: #eef4ff;
    text-align: center;
    font: inherit;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

button.support-startup-detail-day-card {
    cursor: pointer;
}

button.support-startup-detail-day-card:hover,
button.support-startup-detail-day-card:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(99, 200, 255, 0.32);
    background: rgba(10, 24, 48, 0.9);
    outline: none;
}

.support-startup-detail-day-card.is-empty {
    opacity: 0.78;
}

.support-startup-detail-day-count {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.support-startup-detail-day-average {
    min-height: 28px;
    color: rgba(206, 223, 255, 0.72);
    font-size: 10px;
    line-height: 1.25;
}

.support-startup-detail-day-bar-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
    align-items: end;
    justify-items: center;
    min-height: 130px;
    padding: 10px 4px 0;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(12, 25, 49, 0.36), rgba(5, 11, 23, 0.9));
    overflow: hidden;
}

.support-startup-detail-day-bar-center {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.support-startup-detail-day-bar-fill {
    width: 16px;
    min-height: 12px;
    border-radius: 999px 999px 12px 12px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), var(--startup-detail-accent));
    box-shadow: 0 0 20px rgba(99, 200, 255, 0.26);
}

.support-startup-detail-day-bar-fill.is-good {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), #6cf0a7);
    box-shadow: 0 0 20px rgba(108, 240, 167, 0.3);
}

.support-startup-detail-day-bar-fill.is-alert {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24), #ff6b7d);
    box-shadow: 0 0 20px rgba(255, 107, 125, 0.3);
}

.support-startup-detail-day-card.is-empty .support-startup-detail-day-bar-fill {
    opacity: 0.35;
}

.support-startup-detail-day-times {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-self: stretch;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    gap: 2px;
}

.support-startup-detail-day-times-left {
    text-align: right;
    padding-right: 4px;
}

.support-startup-detail-day-times-right {
    text-align: left;
    padding-left: 4px;
}

.support-startup-detail-day-time {
    display: block;
    color: rgba(225, 237, 255, 0.78);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.support-startup-detail-day-label {
    color: rgba(214, 230, 255, 0.84);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.support-startup-detail-day-date {
    color: rgba(175, 196, 231, 0.72);
    font-size: 11px;
}

.support-details-modal-header {
    margin-bottom: 0;
}

.support-details-open {
    overflow: hidden;
}

@media (max-width: 1680px) {
    .support-startup-details-shell {
        width: min(1500px, calc(100vw - 20px));
        overflow: hidden;
        padding-right: 8px;
    }

    .support-startup-details-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    .support-startup-details-shell {
        width: min(1120px, calc(100vw - 16px));
    }

    .support-startup-details-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .support-startup-detail-chart {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
    }

    .support-startup-detail-day-card {
        min-width: 0;
        padding: 10px 6px;
    }

    .support-startup-detail-day-bar-shell {
        grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
        padding: 10px 2px 0;
    }

    .support-startup-detail-day-bar-fill {
        width: 14px;
    }

    .support-startup-detail-day-time {
        font-size: 9px;
    }
}

.support-operator-details-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 12px;
    flex: 1;
    min-height: 0;
    padding-right: 4px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 232, 244, 0.18) transparent;
    contain: layout paint;
    transform: translateZ(0);
    will-change: scroll-position;
}

.support-operator-details-grid::-webkit-scrollbar {
    width: 6px;
}

.support-operator-details-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 999px;
}

.support-operator-details-grid::-webkit-scrollbar-thumb {
    background: rgba(210, 220, 238, 0.24);
    border-radius: 999px;
}

.support-operator-details-grid-modal {
    max-height: calc(92vh - 24px);
    padding-right: 6px;
}

.support-operator-detail-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    align-self: stretch;
    gap: 12px;
    min-height: 236px;
    height: 100%;
    padding: 12px 14px 14px;
    border-radius: 12px;
    overflow: hidden;
    contain: content;
    content-visibility: auto;
    contain-intrinsic-size: 236px;
    border: 1px solid rgba(34, 52, 87, 0.12);
    background: linear-gradient(180deg, rgba(252, 252, 252, 0.98), rgba(243, 246, 250, 0.98));
    box-shadow: 0 8px 24px rgba(8, 17, 35, 0.16);
}

.support-operator-detail-top {
    display: grid;
    gap: 4px;
}

.support-operator-detail-heading {
    min-width: 0;
}

.support-operator-detail-heading h4 {
    margin: 0;
    color: #1e2430;
    font-size: 18px;
    letter-spacing: -0.02em;
}

.support-operator-detail-heading p {
    margin: 0;
    color: #353c48;
    font-size: 12px;
    line-height: 1.35;
}

.support-operator-detail-heading p span {
    color: #9ca6b5;
    margin: 0 4px;
}

.support-operator-detail-heading p strong {
    color: #161c27;
    font-weight: 800;
}

.support-operator-detail-table-wrap {
    height: 100%;
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid rgba(174, 147, 82, 0.18);
    background: rgba(255, 250, 239, 0.72);
}

.support-operator-detail-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.support-operator-detail-table th,
.support-operator-detail-table td {
    padding: 6px 8px;
    border-bottom: 1px solid rgba(68, 83, 107, 0.14);
    border-right: 1px solid rgba(68, 83, 107, 0.1);
    text-align: center;
    color: #232b37;
    font-size: 12px;
    line-height: 1.15;
}

.support-operator-detail-table th:last-child,
.support-operator-detail-table td:last-child {
    border-right: 0;
}

.support-operator-detail-table thead th {
    color: #2b2518;
    font-size: 12px;
    font-weight: 800;
    background: linear-gradient(180deg, rgba(243, 231, 203, 0.96), rgba(231, 214, 176, 0.96));
}

.support-operator-detail-table tbody tr:last-child td {
    border-bottom: 0;
}

.support-operator-detail-table tbody tr.is-empty td {
    color: #6f7786;
}

.support-operator-detail-table tbody td:first-child {
    text-align: left;
    white-space: nowrap;
}

.support-operator-detail-day-count-button,
.support-operator-detail-day-count-static {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    font-size: 12px;
    font-weight: 700;
}

.support-operator-detail-day-count-button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: #1a4c8f;
    transition: color 0.16s ease, text-decoration-color 0.16s ease;
}

.support-operator-detail-day-count-button:hover,
.support-operator-detail-day-count-button:focus-visible {
    color: #0b67c2;
    text-decoration: underline;
    outline: none;
}

.support-operator-detail-day-count-static {
    color: #4f5868;
}

.operator-handling-shell {
    position: relative;
    flex: 1;
    padding-bottom: 0;
    min-height: 0;
}

#geral-chart {
    width: 100%;
    min-height: 0;
    height: 216px;
    flex: 1;
    cursor: pointer;
}

.chart-totals {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 8px;
}

.admin-page .chart-totals,
.admin-page .chart-total-card {
    background: transparent !important;
    box-shadow: none !important;
}

.admin-page .chart-total-card {
    border: 0 !important;
    padding: 0 !important;
}

.chart-totals-inline {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 3;
    margin: 0;
    max-width: 260px;
    justify-content: flex-end;
    pointer-events: none;
}

.chart-total-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(122, 160, 221, 0.2);
    background: rgba(14, 24, 44, 0.56);
    color: #a9bddf;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.chart-total-item strong {
    color: #eef4ff;
    font-size: 13px;
}

.chart-total-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.chart-total-open .chart-total-dot {
    background: #63c8ff;
    box-shadow: 0 0 10px rgba(99, 200, 255, 0.28);
}

.chart-total-closed .chart-total-dot {
    background: #6cf0a7;
    box-shadow: 0 0 10px rgba(108, 240, 167, 0.24);
}

.operator-handling-list {
    display: block;
    height: 100%;
    max-height: 216px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 2px;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 232, 244, 0.12) transparent;
}

.operator-handling-list::-webkit-scrollbar {
    height: 6px;
}

.operator-handling-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.015);
    border-radius: 999px;
}

.operator-handling-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(238, 243, 252, 0.14), rgba(210, 220, 238, 0.08));
    border-radius: 999px;
    border: none;
}

.operator-handling-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(243, 247, 255, 0.2), rgba(219, 229, 244, 0.12));
}

.operator-handling-chart {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(72px, 1fr);
    align-items: end;
    gap: 10px;
    min-height: 204px;
    padding: 0 4px 144px 2px;
}

.operator-handling-chart-horizontal {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-height: auto;
    padding: 4px 2px 4px 2px;
}

.operator-handling-row {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 78px;
    align-items: center;
    gap: 2px;
    width: 100%;
}

.operator-handling-row-label {
    font-size: 11.5px;
    font-weight: 750;
    color: #f1f5f9;
    line-height: 1.1;
    white-space: nowrap;
}

.operator-handling-row-bars {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    padding: 1px 0;
}

.operator-handling-row-grid {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    background-image: linear-gradient(to right, rgba(121, 145, 190, 0.16) 1px, transparent 1px);
    background-size: calc(100% / 6) 100%;
    opacity: 0.75;
}

.operator-handling-row-line {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px;
}

.operator-handling-row-track {
    position: relative;
    height: 12px;
    border-radius: 999px;
    background: rgba(23, 39, 72, 0.3);
    border: 1px solid rgba(99, 125, 182, 0.12);
    overflow: hidden;
}

.operator-handling-row-track-secondary {
    height: 10px;
    background: rgba(23, 39, 72, 0.22);
}

.operator-handling-row-fill {
    position: absolute;
    inset: 0 auto 0 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #e1b347, #ffd38b);
    box-shadow: 0 0 16px rgba(255, 203, 122, 0.22);
}

.operator-handling-row-fill-secondary {
    background: linear-gradient(90deg, #4aaee3, #92dbff);
    box-shadow: 0 0 16px rgba(99, 200, 255, 0.2);
}

.operator-handling-row-value {
    width: 84px;
    font-size: 11px;
    font-weight: 800;
    color: #ffcb7a;
    text-align: left;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.operator-handling-row-value-secondary {
    color: #7dd9ff;
}

.operator-handling-button-inline {
    width: 34px;
    height: 34px;
    min-width: 0;
    max-width: 34px;
    margin: 0;
    justify-self: end;
    padding: 0;
    font-size: 15px;
    line-height: 1;
}

.operator-handling-button-spacer {
    width: 34px;
    height: 34px;
}

.panel-expand-placeholder {
    visibility: hidden;
    pointer-events: none;
    border-radius: 22px;
}

.panel-expand-host {
    position: absolute;
    inset: 0 auto auto 0;
    width: 0;
    height: 0;
    z-index: 90;
    pointer-events: none;
}

.operator-handling-panel.is-expanded {
    position: absolute;
    left: var(--panel-expand-left, 24px);
    top: var(--panel-expand-top, 24px);
    width: var(--panel-expand-width, 100%);
    height: auto;
    min-height: 0;
    z-index: 90;
    overflow: visible;
    background:
        linear-gradient(135deg, rgb(20, 33, 61), rgb(11, 20, 39)),
        radial-gradient(circle at top right, rgba(98, 198, 255, 0.08), transparent 28%);
    background-color: rgb(12, 22, 42);
    backdrop-filter: none;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
    pointer-events: auto;
}

.operator-handling-panel.is-expanded .operator-handling-shell {
    flex: 0 0 auto;
    min-height: auto;
    overflow: visible;
}

.operator-handling-panel.is-expanded .operator-handling-list {
    height: auto;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    padding-bottom: 0;
}

.operator-handling-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 1px;
    min-height: 100%;
}

.operator-handling-value {
    font-size: 12px;
    font-weight: 800;
    color: var(--row-color, #ffcb7a);
    text-align: center;
    min-height: 22px;
    margin-bottom: 0;
}

.operator-handling-average-value {
    font-size: 11px;
    font-weight: 800;
    color: #7dd9ff;
    text-align: center;
    line-height: 1;
    min-height: 14px;
    margin-top: -1px;
}

.operator-handling-count {
    font-size: 15px;
    font-weight: 800;
    color: #eef4ff;
    text-align: center;
    line-height: 1;
    min-height: 12px;
    margin-top: -1px;
    margin-bottom: 4px;
}

.operator-handling-bar-group {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 6px;
    min-height: 96px;
}

.operator-handling-bar-rail {
    position: relative;
    width: 24px;
    height: 96px;
    border-radius: 999px;
    background: rgba(37, 58, 99, 0.42);
    overflow: hidden;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.26);
}

.operator-handling-bar-rail-average {
    background: rgba(32, 53, 98, 0.5);
}

.operator-handling-bar-fill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--row-color, #ffcb7a) 72%, #ffffff), var(--row-color, #ffcb7a));
    box-shadow: 0 0 14px color-mix(in srgb, var(--row-color, #ffcb7a) 24%, transparent);
}

.operator-handling-bar-fill-average {
    background: linear-gradient(180deg, #9fe6ff, #63c8ff);
    box-shadow: 0 0 14px rgba(99, 200, 255, 0.26);
}

.operator-handling-label {
    font-size: 13px;
    font-weight: 700;
    color: #eef4ff;
    text-align: center;
    line-height: 1.15;
    max-width: 72px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    margin-top: 2px;
}

.operator-handling-button {
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    height: 34px;
    margin: 8px auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--row-color, #ffcb7a) 20%, rgba(120, 156, 220, 0.18));
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.14), transparent 38%),
        linear-gradient(180deg, rgba(16, 28, 51, 0.96), rgba(11, 20, 38, 0.92));
    color: #eef4ff;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 10px 22px rgba(0, 0, 0, 0.22);
}

.operator-handling-button:hover {
    transform: translateY(-1px);
    background:
        radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.18), transparent 40%),
        linear-gradient(180deg, rgba(18, 31, 56, 0.98), rgba(12, 22, 41, 0.94));
    border-color: color-mix(in srgb, var(--row-color, #ffcb7a) 36%, rgba(120, 156, 220, 0.18));
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.operator-handling-button > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.operator-handling-arrow {
    display: none;
}

@media (max-width: 960px) {
    .operator-handling-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .operator-handling-row-label {
        white-space: normal;
    }

    .operator-handling-button-inline,
    .operator-handling-button-spacer {
        width: 100%;
        max-width: none;
    }
}

.organization-handling-panel {
    min-height: 292px;
    margin-bottom: var(--section-gap);
    display: flex;
    flex-direction: column;
}

.layout-board > .support-summary-panel,
.layout-board > .support-compare-panel,
.layout-board > .organization-handling-panel {
    margin-bottom: 0;
}

.organization-handling-shell {
    position: relative;
    flex: 1;
}

.organization-handling-list {
    display: block;
    height: 100%;
    max-height: 222px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 2px;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 232, 244, 0.12) transparent;
}

.organization-handling-list::-webkit-scrollbar {
    height: 6px;
}

.organization-handling-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.015);
    border-radius: 999px;
}

.organization-handling-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(238, 243, 252, 0.14), rgba(210, 220, 238, 0.08));
    border-radius: 999px;
    border: none;
}

.organization-handling-chart {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(138px, 1fr);
    align-items: end;
    gap: 12px;
    min-height: 214px;
    padding: 0 4px 56px 2px;
}

.organization-handling-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    min-height: 100%;
}

.organization-handling-value {
    font-size: 12px;
    font-weight: 800;
    color: var(--row-color, #6cf0a7);
    text-align: center;
    min-height: 28px;
}

.organization-handling-bar-rail {
    position: relative;
    width: 32px;
    height: 108px;
    border-radius: 999px;
    background: rgba(37, 58, 99, 0.42);
    overflow: hidden;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.26);
}

.organization-handling-bar-fill {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--row-color, #6cf0a7) 72%, #ffffff), var(--row-color, #6cf0a7));
    box-shadow: 0 0 14px color-mix(in srgb, var(--row-color, #6cf0a7) 24%, transparent);
}

.organization-handling-label {
    font-size: 13px;
    font-weight: 700;
    color: #eef4ff;
    text-align: center;
    line-height: 1.15;
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 30px;
}

.organization-handling-button {
    width: 100%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 26px;
    padding: 4px 28px 4px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--row-color, #6cf0a7) 20%, rgba(120, 156, 220, 0.18));
    background: rgba(12, 21, 39, 0.64);
    color: #eef4ff;
    font-size: 9px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.organization-handling-button span:first-child {
    width: 100%;
    text-align: center;
}

.organization-handling-button:hover {
    transform: translateY(-1px);
    background: rgba(15, 26, 47, 0.88);
    border-color: color-mix(in srgb, var(--row-color, #6cf0a7) 36%, rgba(120, 156, 220, 0.18));
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.organization-handling-arrow {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    line-height: 1;
    color: color-mix(in srgb, var(--row-color, #6cf0a7) 82%, #ffffff);
}

.support-compare-panel {
    min-height: 254px;
    margin-bottom: var(--section-gap);
}

.support-summary-panel {
    margin-bottom: var(--section-gap);
    padding: 14px 16px;
}

.support-summary-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.support-summary-item {
    min-height: 78px;
    padding: 8px 12px 7px;
    border-radius: 18px;
    border: 1px solid rgba(112, 148, 214, 0.18);
    background: linear-gradient(180deg, rgba(18, 31, 58, 0.9), rgba(14, 25, 46, 0.84));
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
}

.support-summary-label {
    color: #c9d8f3;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.15;
}

.support-summary-value {
    color: #eef4ff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.support-summary-note {
    color: #8fa7ce;
    font-size: 10px;
    line-height: 1.15;
    white-space: normal;
}

.support-summary-blue .support-summary-value {
    color: #63c8ff;
}

.support-summary-green .support-summary-value {
    color: #33df78;
}

.support-summary-amber .support-summary-value {
    color: #ffcb7a;
    font-size: 20px;
}

.support-summary-amber .support-summary-note {
    font-size: 10px;
    line-height: 1;
}

.support-summary-purple .support-summary-value {
    color: #a98bff;
}

.support-summary-red .support-summary-value {
    color: #ff6b67;
}

.support-compare-shell {
    position: relative;
    width: 100%;
    min-height: 194px;
}

.support-compare-list {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 232, 244, 0.12) transparent;
}

.support-compare-list::-webkit-scrollbar {
    height: 6px;
}

.support-compare-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.015);
    border-radius: 999px;
}

.support-compare-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(238, 243, 252, 0.14), rgba(210, 220, 238, 0.08));
    border-radius: 999px;
}

.support-compare-chart {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(172px, 1fr);
    align-items: stretch;
    gap: 12px;
    min-height: 204px;
    padding: 2px 2px 8px;
}

.support-compare-chart.is-expanded-grid {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    grid-template-columns: repeat(6, minmax(172px, 1fr));
}

.support-compare-column {
    position: relative;
    display: grid;
    grid-template-rows: 26px 56px 148px 56px auto auto;
    align-items: stretch;
    gap: 6px;
    min-height: 100%;
    padding: 4px 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(112, 148, 214, 0.12);
    background: linear-gradient(180deg, rgba(18, 31, 58, 0.76), rgba(12, 22, 41, 0.72));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.support-compare-column .support-compare-header {
    grid-row: 2;
    min-height: 56px;
}

.support-compare-column .support-compare-day-grid {
    grid-row: 3;
    min-height: 148px;
    height: 148px;
}

.support-compare-column .support-status-inline {
    grid-row: 4;
    align-self: center;
    min-height: 56px;
    height: 56px;
    margin-top: 0;
}

.support-compare-column .support-compare-operator-name {
    grid-row: 1;
    align-self: center;
    min-height: 26px;
    height: 26px;
}

.support-compare-column .support-compare-metrics-card {
    grid-row: 5;
    align-self: stretch;
    min-height: var(--support-compare-metrics-height, auto);
    height: auto;
    margin-top: 0;
}

.support-compare-column .support-compare-month-card {
    grid-row: 6;
    align-self: start;
}

.support-compare-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 0.88fr) minmax(0, 1.24fr);
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(54, 112, 205, 0.36);
    background: rgba(9, 21, 43, 0.86);
    box-shadow: none;
}

.support-compare-chart.is-two-metrics .support-compare-header {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-compare-total {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 17px minmax(0, 1fr);
    align-items: center;
    justify-content: center;
    align-content: center;
    column-gap: 4px;
    row-gap: 1px;
    padding: 6px 5px 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #eaf3ff;
    cursor: pointer;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.support-compare-total + .support-compare-total::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 1px;
    background: rgba(47, 90, 160, 0.42);
}

.support-compare-chart.is-two-metrics .support-compare-total {
    width: 100%;
}

.support-compare-total-handling {
    min-width: 0;
}

.support-compare-total:hover {
    background: rgba(68, 124, 215, 0.08);
    box-shadow: none;
}

.support-compare-total-open {
    color: #63c8ff;
}

.support-compare-total-closed {
    color: #6cf0a7;
}

.support-compare-total-handling {
    color: #ffc15c;
}

.support-compare-total-value {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    justify-self: center;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-compare-total-label {
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: end;
    justify-self: center;
    font-size: 11px;
    font-weight: 700;
    color: #8da3c9;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-compare-total-open .support-compare-total-value {
    color: #63c8ff;
}

.support-compare-total-closed .support-compare-total-value {
    color: #6cf0a7;
}

.support-compare-total-handling .support-compare-total-value {
    color: #ffc15c;
    font-size: 14px;
}

.support-compare-day-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(26px, 1fr));
    justify-items: center;
    gap: 10px;
    align-items: end;
    min-height: 148px;
    height: 148px;
    width: 100%;
    margin: 0 auto;
    padding: 0 6px;
}

.support-compare-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    gap: 5px;
    min-width: 0;
}

.support-compare-day-values {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    min-height: 24px;
    margin-bottom: 4px;
    transform: translateY(0);
}

.support-compare-day-value {
    appearance: none;
    border: 0;
    padding: 1px 4px;
    border-radius: 5px;
    background: transparent;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.support-compare-day-value-button {
    cursor: pointer;
    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.support-compare-day-value-button:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.support-compare-day-value-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(99, 200, 255, 0.16);
}

.support-compare-day-value-open {
    color: #7dd9ff;
}

.support-compare-day-value-closed {
    color: #7cf6b7;
}

.support-compare-day-bars {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 3px;
    height: 104px;
    width: 100%;
}

.support-compare-day-bar {
    width: 6px;
    min-height: 4px;
    border-radius: 999px 999px 4px 4px;
}

.support-compare-day-bar-open {
    background: linear-gradient(180deg, #93ddff, #63c8ff);
    box-shadow: 0 0 10px rgba(99, 200, 255, 0.18);
}

.support-compare-day-bar-closed {
    background: linear-gradient(180deg, #74f7b0, #33df78);
    box-shadow: 0 0 12px rgba(51, 223, 120, 0.22);
}

.support-compare-day-label {
    font-size: 10px;
    font-weight: 700;
    color: #88a2cb;
    letter-spacing: 0.02em;
    line-height: 1.1;
    text-align: center;
}

.support-compare-label {
    max-width: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #eef4ff;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.admin-page .support-compare-operator-name .support-compare-label {
    font-size: 17px;
}

.support-compare-footer {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 7px;
    min-width: 0;
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 3px;
}

.support-compare-column > .support-compare-operator-name {
    grid-row: 1;
    position: static;
    min-width: 0;
    min-height: 26px;
    height: 26px;
    margin-bottom: 0;
}

.weekly-summary-button {
    position: relative;
    place-self: center;
    width: 30px;
    height: 20px;
    margin-top: 0;
    border: 1px solid rgba(126, 217, 255, 0.38);
    border-radius: 8px;
    background: rgba(99, 200, 255, 0.1);
    color: #8fd9ff;
    cursor: pointer;
    display: inline-grid;
    place-items: center;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.weekly-summary-button:hover,
.weekly-summary-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(126, 217, 255, 0.46);
    background: rgba(18, 38, 68, 0.86);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22), 0 0 14px rgba(99, 200, 255, 0.18);
    outline: none;
}

.weekly-summary-button-icon {
    width: 14px;
    height: 12px;
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
}

.weekly-summary-button-icon i {
    display: block;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 8px rgba(99, 200, 255, 0.2);
}

body.weekly-summary-open {
    overflow: hidden;
}

.weekly-summary-overlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(2, 8, 20, 0.68);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    backdrop-filter: blur(6px);
}

.weekly-summary-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.weekly-summary-modal {
    position: fixed;
    inset: 18px;
    z-index: 1050;
    display: grid;
    place-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.99);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.weekly-summary-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.weekly-summary-card {
    min-width: 0;
    min-height: 0;
    border-radius: 18px;
    border: 1px solid rgba(126, 170, 232, 0.22);
    background:
        radial-gradient(circle at 20% 0%, rgba(99, 200, 255, 0.12), transparent 30%),
        radial-gradient(circle at 88% 4%, rgba(108, 240, 167, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(12, 23, 43, 0.98), rgba(7, 14, 27, 0.98));
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.46), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    overflow: hidden;
}

.weekly-summary-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(126, 170, 232, 0.12);
}

.weekly-summary-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid rgba(99, 200, 255, 0.24);
    background: rgba(99, 200, 255, 0.08);
    color: #8fd9ff;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.weekly-summary-eyebrow:empty {
    display: none;
}

.weekly-summary-head h3 {
    margin: 8px 0 4px;
    color: #f4f8ff;
    font-size: 26px;
    font-weight: 900;
    line-height: 1;
}

.weekly-summary-head p {
    margin: 0;
    color: #9eb4d6;
    font-size: 13px;
    font-weight: 700;
}

.weekly-summary-head p:empty {
    display: none;
}

.weekly-summary-close {
    flex: 0 0 auto;
    height: 34px;
    padding: 0 14px;
    border-radius: 9px;
    border: 1px solid rgba(126, 170, 232, 0.18);
    background: rgba(8, 18, 34, 0.68);
    color: #eaf4ff;
    font-weight: 800;
    cursor: pointer;
}

.weekly-summary-close:hover,
.weekly-summary-close:focus-visible {
    border-color: rgba(255, 107, 103, 0.46);
    background: rgba(65, 24, 30, 0.72);
    outline: none;
}

.weekly-summary-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 10px 20px 12px;
    border-bottom: 1px solid rgba(126, 170, 232, 0.1);
    background:
        radial-gradient(circle at 8% 0%, rgba(50, 128, 255, 0.16), transparent 38%),
        linear-gradient(180deg, rgba(5, 16, 34, 0.64), rgba(5, 14, 27, 0.3));
}

.weekly-summary-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.weekly-summary-stat {
    position: relative;
    min-width: 0;
    min-height: 72px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    column-gap: 12px;
    align-items: center;
    padding: 10px 14px 10px 12px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--summary-color) 28%, rgba(126, 170, 232, 0.15));
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--summary-color) 18%, rgba(14, 25, 49, 0.88)), rgba(9, 18, 35, 0.86) 60%),
        rgba(9, 18, 35, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 14px 26px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.weekly-summary-stat::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, color-mix(in srgb, var(--summary-color) 13%, transparent), transparent 52%);
    opacity: 0.72;
    pointer-events: none;
}

.weekly-summary-stat-icon {
    position: relative;
    z-index: 1;
    grid-row: 1 / 3;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--summary-color) 44%, rgba(255, 255, 255, 0.12));
    background: color-mix(in srgb, var(--summary-color) 18%, rgba(7, 16, 31, 0.86));
    box-shadow:
        0 0 18px color-mix(in srgb, var(--summary-color) 22%, transparent),
        inset 0 0 18px color-mix(in srgb, var(--summary-color) 16%, transparent);
}

.weekly-summary-stat-icon::before {
    content: "";
    position: absolute;
    inset: 10px;
    background: var(--summary-color);
    -webkit-mask: var(--summary-icon) center / contain no-repeat;
    mask: var(--summary-icon) center / contain no-repeat;
}

.weekly-summary-stat-received {
    --summary-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14.5 6.4 5.8A2.2 2.2 0 0 1 8.5 4h7a2.2 2.2 0 0 1 2.1 1.8L20 14.5V18a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3.5Z'/%3E%3Cpath d='M4.5 14.5H9l1.4 2h3.2l1.4-2h4.5'/%3E%3C/g%3E%3C/svg%3E");
}

.weekly-summary-stat-treated {
    --summary-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 11.4V12a8 8 0 1 1-4.7-7.3'/%3E%3Cpath d='m8.7 11.8 2.4 2.4L20 5.4'/%3E%3C/g%3E%3C/svg%3E");
}

.weekly-summary-stat-escalated {
    --summary-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20V5'/%3E%3Cpath d='m5.8 11.2 6.2-6.2 6.2 6.2'/%3E%3C/g%3E%3C/svg%3E");
}

.weekly-summary-stat-average {
    --summary-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 7v5l3.2 2'/%3E%3C/g%3E%3C/svg%3E");
}

.weekly-summary-stat-label {
    position: relative;
    z-index: 1;
    display: block;
    color: #9fb4d8;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.weekly-summary-stat strong {
    position: relative;
    z-index: 1;
    display: block;
    grid-column: 2;
    align-self: start;
    color: var(--summary-color);
    font-size: 30px;
    line-height: 1;
    font-weight: 900;
}

.weekly-summary-stat small {
    position: relative;
    z-index: 1;
    grid-column: 3;
    grid-row: 2;
    align-self: end;
    color: #9fb4d8;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.weekly-summary-status-counters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    min-width: 0;
}

.weekly-summary-status-counter {
    appearance: none;
    min-width: 124px;
    max-width: 260px;
    flex: 1 1 146px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 36px;
    padding: 6px 8px 6px 12px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--status-color) 38%, rgba(126, 170, 232, 0.16));
    background: color-mix(in srgb, var(--status-color) 10%, rgba(11, 21, 40, 0.9));
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.weekly-summary-status-counter:hover,
.weekly-summary-status-counter:focus-visible,
.weekly-summary-status-counter.active {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--status-color) 70%, #ffffff);
    background: color-mix(in srgb, var(--status-color) 16%, rgba(9, 18, 35, 0.9));
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--status-color) 22%, transparent),
        0 10px 20px color-mix(in srgb, var(--status-color) 18%, transparent);
    outline: none;
}

.weekly-summary-status-counter::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--status-color);
    box-shadow: 0 0 12px color-mix(in srgb, var(--status-color) 54%, transparent);
}

.weekly-summary-status-counter span {
    min-width: 0;
    color: color-mix(in srgb, var(--status-color) 74%, #ffffff);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.weekly-summary-status-counter strong {
    flex: 0 0 auto;
    min-width: 24px;
    padding: 3px 6px;
    border-radius: 999px;
    background: rgba(8, 16, 31, 0.54);
    color: var(--status-color);
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    text-align: right;
}

.weekly-summary-filterbar {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.weekly-summary-filter-search,
.weekly-summary-filter-select {
    min-width: 0;
}

.weekly-summary-filter-search {
    position: relative;
    flex: 1 1 340px;
    max-width: 430px;
}

.weekly-summary-filter-search span {
    position: absolute;
    left: 13px;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    background: #7f9ac7;
    pointer-events: none;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.weekly-summary-filter-search input,
.weekly-summary-filter-select select {
    width: 100%;
    min-height: 40px;
    border-radius: 9px;
    border: 1px solid rgba(126, 170, 232, 0.18);
    outline: none;
    background: rgba(11, 22, 42, 0.82);
    color: #dce9ff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
}

.weekly-summary-filter-search input {
    padding: 0 14px 0 40px;
}

.weekly-summary-filter-search input::placeholder {
    color: #6f86ae;
}

.weekly-summary-filter-select {
    position: relative;
    flex: 0 1 190px;
}

.weekly-summary-filter-select select {
    appearance: none;
    padding: 0 36px 0 14px;
    color: #f0f6ff;
}

.weekly-summary-filter-select::after {
    content: "";
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid #7f9ac7;
    border-bottom: 1.5px solid #7f9ac7;
    transform: translateY(-66%) rotate(45deg);
    pointer-events: none;
}

.weekly-summary-filter-search input:focus,
.weekly-summary-filter-select select:focus {
    border-color: rgba(99, 200, 255, 0.48);
    box-shadow: 0 0 0 3px rgba(99, 200, 255, 0.1);
}

.weekly-summary-stats {
    gap: 0;
    padding: 12px 14px 14px;
    background: rgba(5, 13, 27, 0.28);
}

.weekly-summary-stat-stack {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.weekly-summary-stat-grid {
    grid-template-columns: 1.08fr 1.05fr 1.05fr 0.78fr 1.72fr;
    gap: 14px;
}

.weekly-summary-stat,
.weekly-summary-status-overview {
    min-height: 102px;
    border-radius: 8px;
    border: 1px solid rgba(103, 142, 209, 0.22);
    background:
        radial-gradient(circle at 16% 10%, color-mix(in srgb, var(--summary-color, #63c8ff) 16%, transparent), transparent 34%),
        linear-gradient(180deg, rgba(22, 36, 67, 0.92), rgba(16, 29, 55, 0.9));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 10px 22px rgba(0, 0, 0, 0.18);
}

.weekly-summary-stat {
    grid-template-columns: 52px minmax(0, 1fr);
    grid-template-rows: minmax(48px, auto) 1fr;
    column-gap: 12px;
    align-items: start;
    padding: 18px 18px 16px;
}

.weekly-summary-stat::after {
    background: linear-gradient(90deg, color-mix(in srgb, var(--summary-color) 14%, transparent), transparent 62%);
}

.weekly-summary-stat-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
}

.weekly-summary-stat-icon::before {
    inset: 9px;
}

.weekly-summary-stat-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.weekly-summary-stat-label {
    color: #c9d8ee;
    font-size: 11px;
    line-height: 1.1;
}

.weekly-summary-stat strong {
    grid-column: auto;
    margin-top: 8px;
    color: #ffffff;
    font-size: 27px;
    letter-spacing: 0;
}

.weekly-summary-stat small {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: end;
    color: #b3c2db;
    font-size: 11px;
    line-height: 1.2;
}

.weekly-summary-status-overview {
    --summary-color: #6fa8ff;
    display: grid;
    grid-template-columns: minmax(130px, 0.9fr) minmax(190px, 1.1fr);
    grid-template-rows: auto 1fr;
    column-gap: 18px;
    padding: 18px 20px 14px;
}

.weekly-summary-status-title {
    grid-column: 1 / -1;
    color: #c9d8ee;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 900;
}

.weekly-summary-status-bars {
    align-self: center;
    display: grid;
    gap: 9px;
    padding-top: 4px;
}

.weekly-summary-status-bar {
    position: relative;
    height: 6px;
    border-radius: 999px;
    background: rgba(53, 69, 103, 0.46);
    overflow: hidden;
}

.weekly-summary-status-bar::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--status-percent);
    border-radius: inherit;
    background: var(--status-color);
    box-shadow: 0 0 14px color-mix(in srgb, var(--status-color) 45%, transparent);
}

.weekly-summary-status-legend {
    align-self: center;
    display: grid;
    gap: 7px;
    min-width: 0;
}

.weekly-summary-status-legend-row {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr) max-content;
    gap: 8px;
    align-items: center;
    color: #c0cfe7;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
}

.weekly-summary-status-legend-row::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--status-color);
    box-shadow: 0 0 10px color-mix(in srgb, var(--status-color) 45%, transparent);
}

.weekly-summary-status-legend-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.weekly-summary-status-legend-row strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 950;
}

.weekly-summary-week-status-panel {
    display: grid;
    gap: 6px;
    padding: 7px 10px 9px;
    border-radius: 8px;
    border: 1px solid rgba(103, 142, 209, 0.18);
    background:
        radial-gradient(circle at 10% 0%, rgba(99, 200, 255, 0.08), transparent 32%),
        rgba(12, 24, 46, 0.74);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.weekly-summary-week-status-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #c9d8ee;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.1;
}

.weekly-summary-week-status-title strong {
    color: #ffffff;
    font-size: 11px;
    font-weight: 950;
}

.weekly-summary-week-status-panel .weekly-summary-status-counters {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    padding: 2px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
}

.weekly-summary-ticket-search {
    width: 126px;
    max-width: 126px;
    min-width: 126px;
    min-height: 30px;
    flex: 0 0 126px;
    display: flex;
}

.weekly-summary-ticket-search input {
    width: 100%;
    min-width: 0;
    height: 30px;
    padding: 4px 10px;
    border: 1px solid rgba(143, 176, 223, 0.38);
    border-radius: 8px;
    background: rgba(10, 20, 38, 0.64);
    color: #e7f0ff;
    font: inherit;
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
    outline: none;
}

.weekly-summary-ticket-search input::placeholder {
    color: #86a0c9;
}

.weekly-summary-ticket-search input:focus {
    border-color: rgba(143, 200, 255, 0.82);
    box-shadow: 0 0 0 2px rgba(99, 200, 255, 0.12);
}

.weekly-summary-finalized-toggle {
    min-height: 30px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 4px 10px 4px 6px;
    border: 1px solid rgba(143, 176, 223, 0.34);
    border-radius: 8px;
    background: rgba(10, 20, 38, 0.54);
    color: #c8d8f6;
    cursor: pointer;
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
    user-select: none;
}

.weekly-summary-finalized-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.weekly-summary-finalized-switch {
    position: relative;
    width: 30px;
    height: 16px;
    flex: 0 0 30px;
    border-radius: 999px;
    background: rgba(91, 108, 138, 0.72);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.weekly-summary-finalized-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d8e6ff;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.32);
    transition: transform 0.18s ease, background 0.18s ease;
}

.weekly-summary-finalized-toggle input:checked + .weekly-summary-finalized-switch {
    background: rgba(98, 239, 157, 0.7);
    box-shadow: inset 0 0 0 1px rgba(125, 255, 191, 0.34), 0 0 14px rgba(98, 239, 157, 0.12);
}

.weekly-summary-finalized-toggle input:checked + .weekly-summary-finalized-switch::after {
    transform: translateX(14px);
    background: #f5fff9;
}

.weekly-summary-finalized-toggle:focus-within {
    border-color: rgba(143, 200, 255, 0.82);
    box-shadow: 0 0 0 2px rgba(99, 200, 255, 0.12);
}

.weekly-summary-week-status-panel .weekly-summary-status-counter {
    width: auto;
    max-width: 42ch;
    min-height: 30px;
    flex: 0 0 auto;
    border-radius: 8px;
    gap: 7px;
    padding: 4px 2ch;
}

.weekly-summary-week-status-panel .weekly-summary-status-counter span {
    font-size: 9px;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.weekly-summary-week-status-panel .weekly-summary-status-counter strong {
    min-width: 20px;
    padding: 2px 5px;
    font-size: 10px;
}

.weekly-summary-week-status-panel .weekly-summary-status-counter::before {
    width: 8px;
    height: 8px;
}

.weekly-summary-content {
    min-height: 0;
    overflow: auto;
    padding: 14px 20px 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 232, 244, 0.16) transparent;
}

.weekly-summary-board {
    display: grid;
    grid-template-columns: repeat(5, minmax(210px, 1fr));
    gap: 12px;
    align-items: stretch;
}

.weekly-summary-day,
.weekly-summary-status-group {
    min-width: 0;
    border-radius: 12px;
    border: 1px solid rgba(126, 170, 232, 0.16);
    background: rgba(8, 18, 34, 0.62);
    overflow: hidden;
}

.weekly-summary-day-head,
.weekly-summary-status-group header,
.weekly-summary-section-title {
    display: grid;
    gap: 8px;
    min-height: 58px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(126, 170, 232, 0.12);
}

.weekly-summary-status-group header,
.weekly-summary-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 42px;
}

.weekly-summary-day-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

.weekly-summary-day-head strong,
.weekly-summary-section-title span {
    color: #f2f7ff;
    font-size: 13px;
    font-weight: 900;
}

.weekly-summary-day-head span,
.weekly-summary-section-title strong {
    color: #8fb0df;
    font-size: 11px;
    font-weight: 900;
}

.weekly-summary-day-statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-width: 0;
}

.weekly-summary-day-statuses-empty {
    color: #748aad;
    font-size: 10px;
    font-weight: 800;
}

.weekly-summary-day-status {
    appearance: none;
    min-width: 0;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 20px;
    padding: 3px 6px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--status-color) 36%, rgba(126, 170, 232, 0.12));
    background: color-mix(in srgb, var(--status-color) 10%, rgba(6, 15, 29, 0.74));
    color: color-mix(in srgb, var(--status-color) 78%, #ffffff);
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    font-family: inherit;
    cursor: pointer;
    transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.weekly-summary-day-status:hover,
.weekly-summary-day-status:focus-visible,
.weekly-summary-day-status.active {
    border-color: color-mix(in srgb, var(--status-color) 72%, #ffffff);
    background: color-mix(in srgb, var(--status-color) 18%, rgba(6, 15, 29, 0.86));
    box-shadow: 0 0 0 1px color-mix(in srgb, var(--status-color) 20%, transparent);
    outline: none;
}

.weekly-summary-day-status.active {
    transform: translateY(-1px);
}

.weekly-summary-day-status i {
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--status-color);
    box-shadow: 0 0 8px color-mix(in srgb, var(--status-color) 52%, transparent);
}

.weekly-summary-day-status span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: inherit;
    font-size: inherit;
}

.weekly-summary-day-status strong {
    color: #ffffff;
    font-size: 10px;
    line-height: 1;
}

.weekly-summary-ticket-list,
.weekly-summary-status-list {
    display: grid;
    gap: 9px;
    padding: 10px;
}

.weekly-summary-ticket {
    min-width: 0;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid color-mix(in srgb, var(--status-color) 30%, rgba(126, 170, 232, 0.1));
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--status-color) 13%, transparent), transparent 34%),
        rgba(10, 20, 38, 0.88);
    box-shadow: inset 3px 0 0 var(--status-color);
}

.weekly-summary-ticket-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.weekly-summary-protocol {
    color: #8fd9ff;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

a.weekly-summary-protocol:hover {
    text-decoration: underline;
}

.weekly-summary-status {
    max-width: 58%;
    padding: 3px 7px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--status-color) 44%, rgba(255, 255, 255, 0.1));
    background: color-mix(in srgb, var(--status-color) 14%, rgba(7, 15, 29, 0.9));
    color: color-mix(in srgb, var(--status-color) 82%, #ffffff);
    font-size: 12px;
    line-height: 1.15;
    font-weight: 900;
    text-align: right;
}

.weekly-summary-ticket h4 {
    margin: 8px 0 7px;
    color: #eef4ff;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 850;
}

.weekly-summary-meta {
    display: grid;
    gap: 4px;
    color: #9eb4d6;
    font-size: 13px;
    line-height: 1.2;
}

.weekly-summary-meta strong {
    color: #cfe0fb;
}

.weekly-summary-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.weekly-summary-chip {
    padding: 3px 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 900;
}

.weekly-summary-chip-open {
    color: #8fd9ff;
    background: rgba(99, 200, 255, 0.11);
}

.weekly-summary-chip-closed {
    color: #8dffc0;
    background: rgba(108, 240, 167, 0.11);
}

.weekly-summary-empty {
    min-height: 74px;
    display: grid;
    place-items: center;
    padding: 12px;
    color: #879dc5;
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.weekly-summary-escalated {
    margin-top: 14px;
    border-radius: 12px;
    border: 1px solid rgba(205, 232, 58, 0.2);
    background: rgba(13, 22, 35, 0.68);
    overflow: hidden;
}

.weekly-summary-escalated-groups {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 12px;
    padding: 12px;
}

.weekly-summary-status-group {
    border-color: color-mix(in srgb, var(--status-color) 32%, rgba(126, 170, 232, 0.12));
    background: color-mix(in srgb, var(--status-color) 8%, rgba(8, 18, 34, 0.82));
}

.weekly-summary-status-group header span {
    color: color-mix(in srgb, var(--status-color) 82%, #ffffff);
    font-size: 12px;
    font-weight: 900;
}

.weekly-summary-status-group header strong {
    color: var(--status-color);
    font-size: 16px;
    font-weight: 900;
}

@media (max-width: 1180px) {
    .weekly-summary-modal {
        inset: 10px;
    }

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

    .weekly-summary-status-overview {
        grid-column: 1 / -1;
    }

    .weekly-summary-board,
    .weekly-summary-escalated-groups {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}

@media (max-width: 720px) {
    .weekly-summary-head,
    .weekly-summary-stats {
        grid-template-columns: 1fr;
    }

    .weekly-summary-stat-grid,
    .weekly-summary-filterbar {
        grid-template-columns: 1fr;
    }

    .weekly-summary-head {
        flex-direction: column;
    }

    .weekly-summary-stat-grid,
    .weekly-summary-filterbar {
        display: grid;
    }

    .weekly-summary-filter-search,
    .weekly-summary-filter-select {
        max-width: none;
        width: 100%;
    }

    .weekly-summary-status-overview {
        grid-column: auto;
        grid-template-columns: 1fr;
        row-gap: 12px;
    }

    .weekly-summary-stats,
    .weekly-summary-board,
    .weekly-summary-escalated-groups {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1181px) {
    .weekly-summary-stats {
        display: block !important;
        padding: 10px 14px 12px !important;
    }

    .weekly-summary-stat-grid {
        display: grid !important;
        grid-template-columns: minmax(180px, 1.08fr) minmax(180px, 1.05fr) minmax(180px, 1.05fr) minmax(150px, 0.78fr) minmax(300px, 1.72fr) !important;
        gap: 14px !important;
        align-items: stretch !important;
    }

    .weekly-summary-stat-grid > .weekly-summary-stat,
    .weekly-summary-stat-grid > .weekly-summary-status-overview {
        width: auto !important;
        max-width: none !important;
        min-height: 102px !important;
        margin: 0 !important;
    }

    .weekly-summary-stat-grid > .weekly-summary-stat {
        grid-template-columns: minmax(0, 1fr) 40px !important;
        grid-template-rows: auto minmax(32px, 1fr) auto !important;
        column-gap: 10px !important;
        padding: 18px 18px 14px !important;
    }

    .weekly-summary-stat-grid .weekly-summary-stat-icon {
        grid-column: 2 !important;
        grid-row: 1 / 3 !important;
        justify-self: end !important;
        width: 38px !important;
        height: 38px !important;
    }

    .weekly-summary-stat-grid .weekly-summary-stat-copy {
        grid-column: 1 !important;
        grid-row: 1 / 3 !important;
        align-self: start !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .weekly-summary-stat-grid .weekly-summary-stat-label {
        display: block !important;
        max-width: none !important;
        color: #c9d8ee !important;
        font-size: 10px !important;
        line-height: 1.1 !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .weekly-summary-stat-grid .weekly-summary-stat strong {
        grid-column: auto !important;
        margin-top: 8px !important;
        color: #ffffff !important;
        font-size: 26px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .weekly-summary-stat-grid .weekly-summary-stat-average strong {
        font-size: 24px !important;
    }

    .weekly-summary-stat-grid .weekly-summary-stat small {
        grid-column: 1 / -1 !important;
        grid-row: 3 !important;
        align-self: end !important;
        max-width: none !important;
        color: #b3c2db !important;
        font-size: 10px !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }

    .weekly-summary-status-counters,
    .weekly-summary-filterbar {
        display: none !important;
    }

    .weekly-summary-week-status-panel .weekly-summary-status-counters {
        display: flex !important;
    }
}

.support-status-inline {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    transform: translateY(-3px);
}

.support-status-inline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    gap: 3px;
    width: 16px;
    min-height: 56px;
}

.support-status-value-inline {
    min-height: 14px;
    font-size: 10px;
}

.support-status-bar-inline {
    width: 100%;
    min-height: 8px;
}

.support-compare-legend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    margin-top: 4px;
    color: #9cb2d8;
    font-size: 11px;
    font-weight: 700;
}

.support-compare-legend span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.support-apoio-classification-list {
    margin: 0 0 12px;
    display: block;
}

.support-apoio-classification-line {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 2px 2px 6px;
}

.support-apoio-classification-title {
    flex: 0 0 auto;
    color: #a9bad8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.support-apoio-classification-pill {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(112, 148, 214, 0.18);
    background: linear-gradient(180deg, rgba(18, 31, 58, 0.9), rgba(14, 25, 46, 0.84));
    color: #eef4ff;
    font-size: 12px;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.support-apoio-classification-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(112, 148, 214, 0.32);
    background: linear-gradient(180deg, rgba(22, 37, 68, 0.94), rgba(16, 28, 52, 0.9));
}

.support-apoio-classification-pill strong {
    color: #63c8ff;
    font-size: 13px;
}

.support-apoio-classification-pill-total strong {
    color: #ffcb7a;
}

.support-apoio-classification-card {
    width: min(420px, 100%);
    border: 1px solid rgba(112, 148, 214, 0.18);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(18, 31, 58, 0.9), rgba(14, 25, 46, 0.84));
    overflow: hidden;
}

.support-apoio-classification-head,
.support-apoio-classification-row,
.support-apoio-classification-foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 72px;
    gap: 12px;
    align-items: center;
    padding: 10px 14px;
}

.support-apoio-classification-head {
    color: #a9bad8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(112, 148, 214, 0.2);
}

.support-apoio-classification-body {
    display: grid;
}

.support-apoio-classification-row {
    color: #eef4ff;
    font-size: 14px;
    border-top: 1px solid rgba(112, 148, 214, 0.12);
}

.support-apoio-classification-row:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.support-apoio-classification-row strong,
.support-apoio-classification-foot strong {
    justify-self: end;
}

.support-apoio-classification-foot {
    color: #eef4ff;
    font-size: 14px;
    font-weight: 800;
    border-top: 1px solid rgba(112, 148, 214, 0.2);
}

@media (max-width: 1200px) {
    .support-compare-chart {
        grid-auto-columns: minmax(152px, 1fr);
        gap: 12px;
    }

    .support-compare-column {
        padding: 9px 8px 8px;
    }

    .support-compare-day-grid {
        grid-template-columns: repeat(5, minmax(22px, 1fr));
        gap: 8px;
    }

    .support-compare-day-bar {
        width: 5px;
    }

    .support-compare-metrics-card {
        padding: 9px 8px 7px;
    }

    .support-compare-metrics-table th {
        width: 55%;
        font-size: 11px;
    }

    .support-compare-metrics-table td {
        font-size: 12px;
    }
}

.legend-swatch {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
}

.legend-open {
    background: #63c8ff;
    box-shadow: 0 0 10px rgba(99, 200, 255, 0.26);
}

.legend-closed {
    background: #33df78;
    box-shadow: 0 0 12px rgba(51, 223, 120, 0.32);
}

.legend-status {
    background: #a98bff;
    box-shadow: 0 0 10px rgba(169, 139, 255, 0.24);
}

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

.support-status-panel {
    min-height: 286px;
    margin-bottom: var(--section-gap);
}

.support-status-shell {
    position: relative;
    width: 100%;
    min-height: 224px;
}

.support-status-list {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(226, 232, 244, 0.12) transparent;
}

.support-status-list::-webkit-scrollbar {
    height: 6px;
}

.support-status-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.015);
    border-radius: 999px;
}

.support-status-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(238, 243, 252, 0.14), rgba(210, 220, 238, 0.08));
    border-radius: 999px;
}

.support-status-chart {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(132px, 1fr);
    align-items: end;
    gap: 18px;
    min-height: 214px;
    padding: 4px 2px 6px;
}

.support-status-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-height: 100%;
}

.support-status-bars {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 8px;
    height: 140px;
    width: 100%;
}

.support-status-bar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: end;
    gap: 4px;
    width: 18px;
    height: 100%;
}

.support-status-value {
    font-size: 11px;
    font-weight: 800;
    color: var(--status-color, #63c8ff);
    min-height: 16px;
    text-align: center;
}

.support-status-bar {
    width: 100%;
    min-height: 10px;
    border: 0;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, color-mix(in srgb, var(--status-color, #63c8ff) 78%, #ffffff), var(--status-color, #63c8ff));
    box-shadow: 0 0 14px color-mix(in srgb, var(--status-color, #63c8ff) 22%, transparent);
    cursor: pointer;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.support-status-bar:hover {
    transform: translateY(-2px);
    filter: brightness(1.06);
}

.support-status-caption {
    font-size: 10px;
    font-weight: 800;
    color: var(--status-color, #63c8ff);
    text-align: center;
    line-height: 1;
}

.support-status-operator {
    max-width: 120px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #eef4ff;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.stack-list { display: grid; gap: 10px; }
.stack-row {
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid color-mix(in srgb, var(--row-color, #63c8ff) 18%, rgba(112, 145, 205, 0.15));
    background:
        linear-gradient(180deg, rgba(25, 38, 67, 0.94), rgba(13, 23, 43, 0.96)),
        radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--row-color, #63c8ff) 12%, transparent), transparent 26%);
    box-shadow:
        inset 0 0 18px color-mix(in srgb, var(--row-color, #63c8ff) 5%, transparent),
        0 10px 22px rgba(0, 0, 0, 0.16);
}
.stack-row-neon {
    padding: 11px 16px 13px;
    border-radius: 20px;
    border: 1px solid var(--row-color);
    background:
        linear-gradient(180deg, rgba(28, 40, 54, 0.88), rgba(17, 29, 44, 0.82)),
        radial-gradient(circle at 18% 0%, rgba(255, 255, 255, 0.04), transparent 55%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 10px color-mix(in srgb, var(--row-color) 58%, transparent),
        0 0 36px rgba(0, 0, 0, 0.14);
}
.stack-row-card {
    position: relative;
    overflow: hidden;
}
.stack-row-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid color-mix(in srgb, var(--row-color, #63c8ff) 10%, transparent);
    pointer-events: none;
}
.stack-row-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 10px; align-items: center; }
.stack-row-neon .stack-row-head { margin-bottom: 9px; }
.stack-row-label { font-weight: 600; font-size: 14px; color: #f3f8ff; }
.stack-row-neon .stack-row-label { font-weight: 500; font-size: 14px; }
.stack-row-value {
    color: var(--blue);
    font-weight: 700;
    font-size: 14px;
}
.stack-row-neon .stack-row-value {
    color: var(--row-color);
    font-size: 14px;
    text-shadow: 0 0 7px color-mix(in srgb, var(--row-color) 55%, transparent);
}
.stack-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(38, 58, 98, 0.52);
    overflow: hidden;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.28);
}
.stack-row-neon .stack-bar { height: 10px; background: rgba(51, 71, 102, 0.55); }
.stack-bar-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(69, 127, 255, 0.6), rgba(102, 216, 255, 0.95));
}
.stack-row-neon .stack-bar-fill {
    background: linear-gradient(90deg, var(--row-color), var(--row-color));
    box-shadow:
        0 0 7px color-mix(in srgb, var(--row-color) 62%, transparent),
        0 0 12px color-mix(in srgb, var(--row-color) 28%, transparent);
}

.status-totalizer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(116, 162, 230, 0.22);
    background: rgba(14, 24, 44, 0.62);
    color: #dce9ff;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}
.status-panel-tools {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.status-panel-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(116, 162, 230, 0.16);
    background: rgba(10, 19, 36, 0.58);
}
.status-panel-toggle-button {
    border: 0;
    border-radius: 999px;
    padding: 7px 12px;
    background: transparent;
    color: #9fb4d8;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.status-panel-toggle-button.active {
    background: rgba(24, 44, 78, 0.9);
    color: #eef6ff;
    box-shadow: inset 0 0 0 1px rgba(111, 156, 228, 0.22);
}
.stack-row-card .stack-bar {
    height: 10px;
    background: rgba(39, 59, 98, 0.5);
}
.stack-row-card .stack-bar-fill {
    box-shadow: 0 0 14px color-mix(in srgb, var(--row-color, #63c8ff) 24%, transparent);
}
.stack-row-button {
    margin-top: 10px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--row-color, #63c8ff) 18%, rgba(120, 156, 220, 0.18));
    background: rgba(12, 21, 39, 0.64);
    color: #eaf3ff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}
.stack-row-button:hover {
    transform: translateY(-1px);
    background: rgba(15, 26, 47, 0.9);
    border-color: color-mix(in srgb, var(--row-color, #63c8ff) 38%, rgba(120, 156, 220, 0.18));
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
.stack-row-arrow {
    font-size: 18px;
    line-height: 1;
    color: color-mix(in srgb, var(--row-color, #63c8ff) 82%, #ffffff);
}

.search-input {
    width: min(360px, 100%);
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(111, 146, 211, 0.18);
    background: rgba(10, 19, 36, 0.86);
    color: var(--text);
}

.table-wrap { overflow: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.data-table th, .data-table td { padding: 12px 10px; border-bottom: 1px solid rgba(106, 138, 197, 0.12); text-align: left; font-size: 13px; }
.data-table th { color: #d4e0f7; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; }
.data-table td { color: #c7d5ef; }

.ticket-list-card { min-height: 240px; }
.ticket-scroll { display: grid; gap: 10px; max-height: 980px; overflow: auto; padding-right: 8px; }
.ticket-item { padding: 12px; border-radius: 16px; border: 1px solid rgba(112, 146, 211, 0.16); background: linear-gradient(180deg, rgba(18, 30, 54, 0.88), rgba(14, 24, 44, 0.88)); }
.ticket-item-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.ticket-chip { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid currentColor; font-weight: 700; }
.ticket-status { color: #bfd0ed; font-size: 12px; font-weight: 600; flex: 1; text-align: center; }
.ticket-title { margin: 10px 0 8px; font-size: 18px; font-weight: 700; color: #dce7fb; }
.ticket-meta-line { margin-top: 8px; color: #9ab0d8; }
.ticket-go { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 17px; border: 1px solid currentColor; color: inherit; }

.bot-attendant-notifications-panel {
    display: none !important;
}

.bot-attendant-notification-featured,
.bot-attendant-notification-row {
    border-radius: 18px;
    border: 1px solid rgba(117, 161, 227, 0.16);
    background: linear-gradient(180deg, rgba(17, 29, 52, 0.94), rgba(10, 20, 39, 0.96));
}

.bot-attendant-notification-featured {
    padding: 16px;
    display: grid;
    gap: 12px;
}

.bot-attendant-notification-featured-top,
.bot-attendant-notification-row-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.bot-attendant-notification-summary,
.bot-attendant-notification-row-summary {
    color: #eef4ff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.45;
}

.bot-attendant-notification-note {
    color: #9eb4dc;
    font-size: 13px;
}

.bot-attendant-notification-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bot-attendant-notification-chip,
.bot-attendant-notification-kind,
.bot-attendant-notification-source,
.bot-attendant-notification-time {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.bot-attendant-notification-time {
    color: #0d1b33;
    background: #d8ff49;
}

.bot-attendant-notification-kind,
.bot-attendant-notification-source,
.bot-attendant-notification-chip {
    color: #d5e4ff;
    border: 1px solid rgba(114, 154, 222, 0.18);
    background: rgba(12, 23, 43, 0.9);
}

.bot-attendant-notification-featured.tone-blue {
    box-shadow: inset 0 0 0 1px rgba(99, 200, 255, 0.08);
}

.bot-attendant-notification-featured.tone-amber {
    box-shadow: inset 0 0 0 1px rgba(244, 162, 89, 0.1);
}

.bot-attendant-notification-row {
    padding: 12px 14px;
    display: grid;
    gap: 10px;
}

.bot-attendant-notification-history {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.bot-attendant-notification-toggle {
    min-width: 0;
}

.bot-attendant-notification-toggle summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 214, 107, 0.24);
    background: rgba(12, 23, 43, 0.9);
    color: #ffd66b;
    font-size: 12px;
    font-weight: 800;
}

.bot-attendant-notification-toggle summary::-webkit-details-marker {
    display: none;
}

.bot-kanban-board {
    display: grid;
    gap: 4px;
}

.bot-kanban-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bot-kanban-head-title {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.bot-kanban-head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bot-kanban-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bot-kanban-search-submit {
    border: 1px solid rgba(255, 214, 107, 0.28);
    background: rgba(14, 25, 45, 0.92);
    color: #ffd66b;
    border-radius: 999px;
    font-weight: 800;
}

.bot-kanban-search-panel {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid rgba(118, 160, 225, 0.18);
    background: rgba(9, 18, 34, 0.9);
}

.bot-kanban-search-input {
    width: 170px;
    height: 30px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #eef4ff;
    padding: 0 12px;
    font-size: 13px;
}

.bot-kanban-search-input::placeholder {
    color: #8ea7d1;
}

.bot-kanban-search-submit {
    height: 30px;
    padding: 0 12px;
    font-size: 11px;
}

.bot-kanban-search-feedback {
    min-height: 0;
    white-space: nowrap;
    color: rgba(255, 214, 107, 0.92);
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 160ms ease;
}

.bot-kanban-search-feedback.is-visible {
    opacity: 1;
}

.bot-kanban-search-feedback.is-error {
    color: #ff8798;
}

.bot-kanban-head h3 {
    margin: 0;
    font-size: 20px;
}

.bot-kanban-head p {
    margin: 4px 0 0;
    color: var(--muted);
}

.bot-kanban-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    align-items: start;
    padding-bottom: 6px;
}

.bot-kanban-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 10px;
    border-radius: 18px;
    border: 1px solid rgba(126, 167, 228, 0.16);
    background: linear-gradient(180deg, rgba(18, 31, 56, 0.94), rgba(10, 21, 40, 0.96));
}

.bot-kanban-column-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.bot-kanban-column-meta {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.bot-kanban-column-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.bot-kanban-column-availability {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 10px currentColor;
}

.bot-kanban-column-availability.is-available {
    color: #69f0ae;
    background: #69f0ae;
}

.bot-kanban-column-availability.is-unavailable {
    color: #ff6f8c;
    background: #ff6f8c;
}

.bot-kanban-column-availability.is-warning {
    color: #ffd166;
    background: #ffd166;
}

.bot-kanban-column-availability.is-unknown {
    color: rgba(161, 186, 223, 0.78);
    background: rgba(161, 186, 223, 0.78);
    box-shadow: none;
}

.support-page:not(.support-page-compact) .topbar-unified {
    grid-template-columns: minmax(700px, 1fr) max-content;
}

.bot-kanban-column-title {
    font-size: 15px;
    font-weight: 800;
    color: #eef4ff;
    min-width: 0;
}

.bot-kanban-column-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.bot-kanban-column-stat {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    border-radius: 999px;
    border: 1px solid rgba(126, 167, 228, 0.18);
    background: rgba(11, 20, 38, 0.38);
    color: #a9bddf;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
}

.bot-kanban-column-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(99, 200, 255, 0.24);
    background: rgba(11, 20, 38, 0.64);
    color: var(--blue);
    font-weight: 800;
}

.bot-kanban-ticket-list {
    display: grid;
    gap: 10px;
    max-height: 520px;
    overflow: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(210, 226, 248, 0.26) transparent;
}

.bot-kanban-ticket-list::-webkit-scrollbar {
    width: 8px;
}

.bot-kanban-ticket-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
}

.bot-kanban-ticket-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(233, 241, 252, 0.32), rgba(184, 203, 231, 0.14));
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bot-kanban-ticket-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(241, 247, 255, 0.42), rgba(194, 214, 240, 0.2));
}

.bot-kanban-ticket {
    --ticket-status-color: #63c8ff;
    display: grid;
    gap: 8px;
    position: relative;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--ticket-status-color) 24%, rgba(118, 160, 225, 0.14));
    background:
        linear-gradient(180deg, rgba(18, 30, 54, 0.88), rgba(12, 22, 42, 0.9)),
        radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--ticket-status-color) 14%, transparent), transparent 34%);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ticket-status-color) 8%, transparent);
    isolation: isolate;
}

.bot-kanban-ticket.is-urgent {
    --ticket-status-color: #ff5f73;
    border-color: rgba(255, 95, 115, 0.82);
    box-shadow:
        inset 0 0 0 1px rgba(255, 95, 115, 0.18),
        0 0 0 1px rgba(255, 95, 115, 0.18),
        0 0 18px rgba(255, 68, 92, 0.26);
    animation: urgentTicketPulse 1.15s ease-in-out infinite;
}

.bot-kanban-ticket.is-search-match {
    border-color: rgba(255, 214, 107, 0.96);
    box-shadow:
        0 0 0 1px rgba(255, 214, 107, 0.28),
        0 0 14px rgba(255, 214, 107, 0.22),
        0 0 34px rgba(255, 204, 64, 0.48);
    animation: botKanbanSearchPulse 1s ease-in-out infinite;
}

.bot-kanban-ticket.is-search-match::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 8px;
    bottom: 8px;
    width: 6px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 237, 159, 0.98), rgba(255, 204, 64, 1));
    box-shadow:
        0 0 12px rgba(255, 214, 107, 0.62),
        0 0 24px rgba(255, 204, 64, 0.82),
        0 0 40px rgba(255, 204, 64, 0.46);
}

.bot-kanban-ticket.is-search-match::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 22px;
    border: 2px solid rgba(255, 222, 116, 0.92);
    box-shadow:
        0 0 0 1px rgba(255, 237, 159, 0.18),
        0 0 18px rgba(255, 214, 107, 0.34),
        0 0 34px rgba(255, 204, 64, 0.4);
    opacity: 0.95;
    z-index: -1;
    pointer-events: none;
}

@keyframes botKanbanSearchPulse {
    0%,
    100% {
        border-color: rgba(255, 214, 107, 0.74);
        box-shadow:
            0 0 0 1px rgba(255, 214, 107, 0.22),
            0 0 12px rgba(255, 214, 107, 0.18),
            0 0 22px rgba(255, 204, 64, 0.28);
    }
    50% {
        border-color: rgba(255, 228, 148, 1);
        box-shadow:
            0 0 0 1px rgba(255, 228, 148, 0.3),
            0 0 18px rgba(255, 228, 148, 0.24),
            0 0 40px rgba(255, 204, 64, 0.62);
    }
}

@keyframes urgentTicketPulse {
    0%,
    100% {
        border-color: rgba(255, 95, 115, 0.72);
        box-shadow:
            inset 0 0 0 1px rgba(255, 95, 115, 0.14),
            0 0 0 1px rgba(255, 95, 115, 0.12),
            0 0 14px rgba(255, 68, 92, 0.18);
    }
    50% {
        border-color: rgba(255, 131, 143, 1);
        box-shadow:
            inset 0 0 0 1px rgba(255, 131, 143, 0.24),
            0 0 0 1px rgba(255, 131, 143, 0.22),
            0 0 26px rgba(255, 68, 92, 0.38);
    }
}

.bot-kanban-ticket-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.bot-kanban-ticket-id {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--ticket-status-color) 85%, white 15%);
    color: var(--ticket-status-color);
    font-weight: 800;
}

.bot-kanban-ticket-status {
    font-size: 11px;
    line-height: 1.15;
    color: color-mix(in srgb, var(--ticket-status-color) 78%, white 22%);
    text-align: center;
    align-self: center;
    max-width: 92px;
    text-wrap: balance;
}

.bot-kanban-ticket-title {
    font-size: 15px;
    font-weight: 800;
    color: #eef4ff;
}

.bot-kanban-ticket-meta {
    font-size: 12px;
    color: #9fb3d8;
}

.bot-kanban-ticket.is-archived {
    opacity: 0.96;
}

.bot-kanban-extra-group {
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(122, 153, 206, 0.18);
}

.bot-kanban-extra-group[open] {
    padding-bottom: 2px;
}

.bot-kanban-extra-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    list-style: none;
    color: #b5c7e7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.bot-kanban-extra-summary::-webkit-details-marker {
    display: none;
}

.bot-kanban-extra-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bot-kanban-extra-label::before {
    content: "";
    width: 18px;
    height: 1px;
    background: rgba(125, 255, 191, 0.55);
}

.bot-kanban-extra-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(125, 255, 191, 0.28);
    color: #7dffbf;
    background: rgba(18, 34, 53, 0.74);
}

.bot-kanban-extra-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

#geral-panels-double,
[data-layout-id="geral-departamentos-panel"],
[data-layout-id="geral-finalizados-org-panel"] {
    display: none !important;
}

@media (max-width: 900px) {
    .bot-kanban-columns {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    }
}

@media (max-width: 640px) {
    .bot-kanban-columns {
        grid-template-columns: 1fr;
    }

    .bot-kanban-head,
    .bot-kanban-head-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bot-kanban-head-title {
        align-items: stretch;
        flex-direction: column;
    }

    .bot-kanban-search-panel {
        width: 100%;
        flex-wrap: wrap;
    }

    .bot-kanban-search-input {
        width: 100%;
        min-width: 0;
    }

    .bot-attendant-notification-toggle {
        width: 100%;
    }

    .bot-attendant-notification-toggle summary {
        width: 100%;
    }
}

.panel-banner .banner-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: nowrap;
}

.banner-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.banner-title {
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.banner-inline-meta {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.banner-subtitle, .banner-source {
    color: var(--muted);
    margin-top: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 10px;
    line-height: 1;
}

.banner-subtitle {
    flex: 0 0 auto;
}

.banner-source {
    flex: 1;
}

.banner-chip {
    display: inline-flex;
    align-items: center;
    padding: 1px 7px;
    border-radius: 999px;
    border: 1px solid rgba(99, 200, 255, 0.24);
    color: var(--blue);
    font-weight: 700;
    font-size: 10px;
    line-height: 1;
}

.panel-banner {
    padding: 2px 10px;
    border-radius: 14px;
}

#bot-info .banner-chip {
    padding: 1px 6px;
    font-size: 9px;
}

#view-bot {
    display: grid;
    align-content: start;
    justify-items: start;
    gap: 0;
    margin-top: 0;
}

#view-bot > .panel {
    display: none;
}

#view-bot > #bot-attendant-notifications.panel {
    display: block;
    width: 100%;
    justify-self: stretch;
}

#bot-ticket-cards {
    width: 100%;
    justify-self: stretch;
}

#view-bot > .panel > .panel-header,
#bot-status {
    display: none;
}

#view-bot > #bot-attendant-notifications.panel > .panel-header {
    display: flex;
}

#bot-info.panel-banner {
    display: none;
}

#bot-info .banner-grid {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    justify-content: start;
    gap: 6px;
    min-height: 18px;
}

#bot-info .banner-main {
    flex: 0 1 auto;
    gap: 6px;
}

#bot-info .banner-inline-meta {
    flex: 0 1 auto;
    min-width: 0;
    gap: 6px;
}

#bot-info .banner-source {
    display: none;
}

#bot-info .banner-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#bot-cards {
    margin-top: 0;
    transform: translateY(2px);
}

@media (max-width: 980px) {
    .panel-banner .banner-grid,
    .banner-main,
    .banner-inline-meta {
        flex-wrap: wrap;
    }

    #bot-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    #bot-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

body.drawer-open {
    overflow: hidden;
}

.department-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 10, 20, 0.52);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 90;
}

.department-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.operator-filter-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 10, 20, 0.54);
    backdrop-filter: blur(5px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
    z-index: 92;
}

.operator-filter-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.operator-filter-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(520px, 92vw);
    max-height: min(78vh, 680px);
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(144, 197, 255, 0.18);
    background:
        linear-gradient(180deg, rgba(18, 30, 56, 0.98), rgba(10, 19, 36, 0.98)),
        radial-gradient(circle at top right, rgba(255, 203, 122, 0.12), transparent 24%);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
    transform: translate(-50%, -48%) scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 93;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.operator-filter-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.operator-filter-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.operator-filter-eyebrow {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--amber);
}

.operator-filter-title {
    margin: 6px 0 0;
    font-size: 26px;
}

.operator-filter-subtitle {
    margin: 8px 0 0;
    color: var(--muted);
}

.operator-filter-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(164, 205, 255, 0.24);
    background: rgba(16, 26, 47, 0.85);
    color: #f4f8ff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.operator-filter-actions,
.operator-filter-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.operator-filter-action,
.operator-filter-cancel,
.operator-filter-apply {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(144, 197, 255, 0.18);
    background: rgba(13, 22, 42, 0.76);
    color: #eaf2ff;
    font-weight: 700;
    cursor: pointer;
}

.operator-filter-apply {
    border-color: rgba(255, 203, 122, 0.24);
    color: #14233d;
    background: linear-gradient(180deg, rgba(255, 213, 143, 0.96), rgba(255, 194, 87, 0.94));
}

.operator-filter-list {
    display: grid;
    gap: 8px;
    overflow: auto;
    padding-right: 4px;
}

.operator-filter-option {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(136, 170, 226, 0.14);
    background: rgba(14, 23, 42, 0.72);
}

.operator-filter-option input {
    width: 16px;
    height: 16px;
}

.operator-filter-option-label {
    color: #eef4ff;
    font-weight: 700;
}

.operator-filter-option-value {
    color: var(--amber);
    font-weight: 800;
}

.department-drawer {
    --drawer-accent: #63c8ff;
    position: fixed;
    top: 0;
    right: 0;
    width: min(720px, 96vw);
    height: 100vh;
    padding: 10px 18px 18px;
    background:
        linear-gradient(180deg, rgba(16, 27, 50, 0.98), rgba(9, 16, 31, 0.99)),
        radial-gradient(circle at top right, rgba(99, 200, 255, 0.16), transparent 28%);
    border-left: 1px solid color-mix(in srgb, var(--drawer-accent) 48%, rgba(130, 190, 255, 0.18));
    box-shadow:
        -24px 0 48px rgba(0, 0, 0, 0.34),
        -1px 0 0 color-mix(in srgb, var(--drawer-accent) 72%, transparent),
        0 0 0 1px color-mix(in srgb, var(--drawer-accent) 14%, transparent) inset;
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 6px;
    overflow-x: hidden;
}

.department-drawer.active {
    transform: translateX(0);
}

body.weekly-summary-drawer-open .department-overlay {
    z-index: 1060;
}

body.weekly-summary-drawer-open .department-drawer {
    z-index: 1070;
}

.department-drawer::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: linear-gradient(180deg, transparent, var(--drawer-accent), transparent);
    box-shadow: 0 0 24px color-mix(in srgb, var(--drawer-accent) 90%, transparent);
}

.department-drawer-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 8px 12px 6px;
    border-radius: 20px;
    border: 1px solid color-mix(in srgb, var(--drawer-accent) 20%, rgba(140, 190, 255, 0.08));
    background:
        linear-gradient(180deg, rgba(23, 36, 63, 0.92), rgba(12, 20, 38, 0.9)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--drawer-accent) 24%, transparent), transparent 30%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 18px 30px rgba(0, 0, 0, 0.18);
}

.department-drawer-topline {
    display: none;
}

.department-drawer-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.85fr);
    gap: 6px;
    align-items: start;
}

.department-drawer-hero-copy {
    display: grid;
    gap: 3px;
}

.department-drawer-count-wrap {
    display: grid;
    gap: 0;
}

.department-drawer-count {
    font-size: 48px;
    line-height: 0.95;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #f7fbff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.department-drawer-count-label {
    font-size: 9px;
    color: #aebfdf;
    letter-spacing: 0.01em;
}

.department-drawer-filter-label {
    display: none;
}

.department-drawer-eyebrow {
    display: none;
}

.department-drawer-title {
    display: none;
}

.department-drawer-subtitle {
    margin: 0;
    max-width: 44ch;
    color: #d2def4;
    font-size: 9px;
    line-height: 1.2;
}

.department-drawer-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(164, 205, 255, 0.24);
    background: rgba(16, 26, 47, 0.85);
    color: #f4f8ff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.department-drawer-meta {
    display: grid;
    gap: 6px;
    margin-top: 0;
    align-content: end;
}

.department-drawer-stat {
    position: relative;
    display: grid;
    gap: 3px;
    min-height: 52px;
    padding: 7px 12px;
    border-radius: 16px;
    border: 1px solid rgba(141, 210, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(21, 34, 60, 0.94), rgba(13, 22, 40, 0.9)),
        radial-gradient(circle at top center, color-mix(in srgb, var(--drawer-accent) 16%, transparent), transparent 34%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 12px 22px rgba(0, 0, 0, 0.16);
}

.department-drawer-stat::before {
    content: "";
    position: absolute;
    top: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--drawer-accent) 84%, white), transparent);
    opacity: 0.75;
}

.department-drawer-stat-kicker {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8ea7d3;
    font-weight: 700;
}

.department-drawer-stat-value {
    font-size: 11px;
    line-height: 1.15;
    color: #eff5ff;
    font-weight: 700;
}

.department-drawer-stat.is-primary .department-drawer-stat-value {
    font-size: 13px;
    color: #ffffff;
}

.department-drawer-filters {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.22fr) minmax(0, 1.03fr) minmax(120px, 0.5fr);
    gap: 8px;
    padding: 8px;
    margin-top: -2px;
    border-radius: 16px;
    border: 1px solid rgba(141, 210, 255, 0.14);
    background:
        linear-gradient(180deg, rgba(196, 202, 213, 0.92), rgba(162, 170, 183, 0.9)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 2px, rgba(0, 0, 0, 0.03) 2px 4px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 12px 24px rgba(0, 0, 0, 0.18);
}

.department-drawer.mode-ticket-lookup .department-drawer-filters {
    display: none;
}

.department-filter-field {
    display: grid;
    gap: 5px;
    position: relative;
    min-width: 0;
}

.department-filter-field span {
    padding-left: 4px;
    font-size: 9px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(39, 50, 71, 0.72);
    font-weight: 800;
}

.department-native-select {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

body.support-page-body .department-native-select {
    position: relative;
    inset: auto;
    opacity: 1;
    pointer-events: auto;
    width: 100%;
    min-height: 44px;
    padding: 9px 36px 9px 14px;
    border-radius: 16px;
    border: 1px solid rgba(84, 99, 128, 0.24);
    background:
        linear-gradient(180deg, rgba(210, 214, 222, 0.94), rgba(183, 190, 201, 0.9)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 2px, rgba(0, 0, 0, 0.02) 2px 4px);
    color: #243145;
    font-size: 14px;
    font-weight: 700;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        0 8px 16px rgba(0, 0, 0, 0.14);
    appearance: auto;
}

body.support-page-body .department-custom-select .department-native-select {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    appearance: none;
}

.department-custom-select {
    position: relative;
    min-width: 0;
    width: 100%;
}

.department-custom-select-button {
    appearance: none;
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 9px 36px 9px 14px;
    border-radius: 16px;
    border: 1px solid rgba(84, 99, 128, 0.24);
    background:
        linear-gradient(180deg, rgba(210, 214, 222, 0.94), rgba(183, 190, 201, 0.9)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 2px, rgba(0, 0, 0, 0.02) 2px 4px);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        0 8px 16px rgba(0, 0, 0, 0.14);
    background-image:
        linear-gradient(180deg, rgba(210, 214, 222, 0.94), rgba(183, 190, 201, 0.9)),
        linear-gradient(45deg, transparent 50%, #44506a 50%),
        linear-gradient(135deg, #44506a 50%, transparent 50%);
    background-position:
        0 0,
        calc(100% - 20px) calc(50% - 4px),
        calc(100% - 12px) calc(50% - 4px);
    background-size:
        100% 100%,
        10px 10px,
        10px 10px;
    background-repeat: no-repeat;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
    text-align: left;
    cursor: pointer;
}

.department-custom-select-value {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.department-filter-input {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 9px 14px;
    border-radius: 16px;
    border: 1px solid rgba(84, 99, 128, 0.24);
    background:
        linear-gradient(180deg, rgba(210, 214, 222, 0.94), rgba(183, 190, 201, 0.9)),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 2px, rgba(0, 0, 0, 0.02) 2px 4px);
    color: #243145;
    font-size: 14px;
    font-weight: 700;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        0 8px 16px rgba(0, 0, 0, 0.14);
}

.department-filter-input::placeholder {
    color: rgba(36, 49, 69, 0.58);
    font-weight: 600;
}

.operator-filter-card .department-filter-field-search {
    display: none;
}

.department-filter-input:focus,
body.support-page-body .department-native-select:focus,
.department-custom-select-button:focus-visible {
    outline: none;
    border-color: rgba(74, 140, 255, 0.38);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 0 0 3px rgba(74, 140, 255, 0.12),
        0 8px 16px rgba(0, 0, 0, 0.14);
}

.department-custom-select-caret {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    pointer-events: none;
}

.department-custom-select-caret::before,
.department-custom-select-caret::after {
    content: "";
    position: absolute;
    top: 2px;
    width: 9px;
    height: 2px;
    border-radius: 999px;
    background: #44506a;
}

.department-custom-select-caret::before {
    left: 0;
    transform: rotate(45deg);
}

.department-custom-select-caret::after {
    right: 0;
    transform: rotate(-45deg);
}

.department-custom-select-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    right: auto;
    width: min(160%, 520px);
    min-width: 100%;
    z-index: 12;
    display: grid;
    gap: 6px;
    max-height: 340px;
    overflow: auto;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(147, 199, 255, 0.18);
    background:
        linear-gradient(180deg, rgba(21, 34, 60, 0.98), rgba(11, 20, 37, 0.98)),
        radial-gradient(circle at top right, color-mix(in srgb, var(--drawer-accent) 14%, transparent), transparent 28%);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -6px) scale(0.98);
    transform-origin: top center;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.department-custom-select.active .department-custom-select-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
}

.department-custom-select-option {
    width: 100%;
    padding: 14px 16px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: #eaf2ff;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
    white-space: normal;
}

.department-custom-select-option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
}

.department-custom-select-option.active {
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--drawer-accent) 28%, rgba(40, 79, 132, 0.9)), rgba(29, 58, 96, 0.92));
    color: #ffffff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 18px rgba(0, 0, 0, 0.18);
}

.department-custom-select.active .department-custom-select-button,
.department-custom-select-button:hover,
.department-custom-select-button:focus {
    outline: none;
    border-color: rgba(84, 99, 128, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.42),
        0 0 0 3px color-mix(in srgb, var(--drawer-accent) 14%, transparent),
        0 12px 18px rgba(0, 0, 0, 0.16);
}

.department-drawer-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: grid;
    gap: 12px;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(214, 232, 255, 0.24) transparent;
}

.department-drawer-list::-webkit-scrollbar {
    width: 6px;
}

.department-drawer-list::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
}

.department-drawer-list::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(226, 240, 255, 0.28), rgba(176, 198, 228, 0.12));
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(6px);
}

.department-drawer-list::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(236, 247, 255, 0.42), rgba(184, 206, 234, 0.18));
}

.department-ticket-card {
    min-width: 0;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(123, 174, 244, 0.16);
    background:
        linear-gradient(180deg, rgba(19, 31, 56, 0.96), rgba(12, 22, 40, 0.94)),
        radial-gradient(circle at top right, rgba(99, 200, 255, 0.1), transparent 26%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.department-ticket-card.is-ticket-lookup {
    display: grid;
    gap: 12px;
}

.department-ticket-card.is-urgent {
    border-color: rgba(255, 95, 115, 0.82);
    box-shadow:
        inset 0 0 0 1px rgba(255, 95, 115, 0.18),
        0 0 0 1px rgba(255, 95, 115, 0.18),
        0 0 18px rgba(255, 68, 92, 0.26);
    animation: urgentTicketPulse 1.15s ease-in-out infinite;
}

.department-ticket-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
    min-width: 0;
}

.department-ticket-protocol,
.department-ticket-status {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--status-color, var(--drawer-accent)) 14%, rgba(12, 20, 38, 0.9));
    border: 1px solid color-mix(in srgb, var(--status-color, var(--drawer-accent)) 46%, rgba(130, 191, 255, 0.14));
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.02),
        0 0 18px color-mix(in srgb, var(--status-color, var(--drawer-accent)) 24%, transparent);
    font-size: 12px;
    font-weight: 700;
    color: var(--status-color, var(--drawer-accent));
    overflow-wrap: anywhere;
}

.department-ticket-protocol-link {
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.department-ticket-protocol-link:hover,
.department-ticket-protocol-link:focus-visible {
    transform: translateY(-1px);
    filter: brightness(1.08);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.04),
        0 0 24px color-mix(in srgb, var(--status-color, var(--drawer-accent)) 30%, transparent);
}

.department-ticket-protocol-link:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--status-color, var(--drawer-accent)) 64%, #ffffff);
    outline-offset: 2px;
}

.department-ticket-subject {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 6px;
    color: #eef5ff;
}

.department-ticket-subject-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 6px;
    color: rgba(214, 227, 248, 0.82);
    font-size: 12px;
    line-height: 1.35;
}

.department-ticket-subject-meta strong {
    color: #eef5ff;
    font-weight: 700;
}

.department-ticket-subject-meta-full {
    flex: 1 1 100%;
}

.department-ticket-secondary-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    gap: 8px 18px;
    flex-wrap: wrap;
    margin: 0 0 6px;
}

.department-ticket-responsible-row {
    display: flex;
    align-items: baseline;
    color: rgba(214, 227, 248, 0.82);
    font-size: 12px;
    line-height: 1.35;
}

.department-ticket-responsible-row strong {
    color: #eef5ff;
    font-weight: 700;
}

.department-ticket-justification-row {
    display: block;
    margin: 0 0 6px;
    color: rgba(214, 227, 248, 0.82);
    font-size: 12px;
    line-height: 1.35;
}

.department-ticket-justification-row strong {
    color: #eef5ff;
    font-weight: 700;
}

.department-ticket-date-row {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 0;
    padding-left: 0;
}

.department-ticket-date-row span {
    display: inline;
    margin-bottom: 0;
    color: rgba(214, 227, 248, 0.82);
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
}

.department-ticket-date-row strong {
    display: inline;
    color: #eef5ff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.department-ticket-date-row div::after {
    content: "|";
    margin-left: 18px;
    color: rgba(214, 227, 248, 0.42);
}

.department-ticket-date-row div:last-child::after {
    content: none;
}

.department-ticket-highlight {
    min-width: 0;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 203, 122, 0.22);
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr);
    gap: 16px;
    align-items: start;
    background:
        linear-gradient(180deg, rgba(255, 203, 122, 0.14), rgba(255, 186, 82, 0.08)),
        rgba(16, 25, 42, 0.9);
    box-shadow:
        inset 0 0 18px rgba(255, 203, 122, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.14);
}

.department-ticket-highlight-main {
    min-width: 0;
    overflow: hidden;
}

.department-ticket-highlight-main-startup {
    padding-right: 8px;
}

.department-ticket-highlight-side {
    display: grid;
    gap: 10px;
    align-content: start;
    min-width: 0;
}

.department-ticket-highlight-side-startup {
    gap: 12px;
}

.department-ticket-highlight-startup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.department-ticket-highlight-side-item {
    display: grid;
    gap: 3px;
    align-content: start;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(9, 20, 39, 0.76), rgba(11, 23, 44, 0.66));
    border: 1px solid rgba(112, 186, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.department-ticket-highlight-side-item.is-startup {
    border-color: rgba(112, 186, 255, 0.18);
    background:
        linear-gradient(180deg, rgba(15, 35, 66, 0.9), rgba(10, 23, 42, 0.8)),
        rgba(8, 18, 32, 0.7);
}

.department-ticket-highlight-side-item.is-received,
.department-ticket-highlight-side-item.is-received.is-duration {
    border-color: rgba(255, 187, 90, 0.18);
    background:
        linear-gradient(180deg, rgba(50, 34, 16, 0.56), rgba(32, 24, 15, 0.54)),
        rgba(12, 18, 32, 0.72);
}

.department-ticket-highlight-side-label {
    display: block;
    color: #a8c9ff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
}

.department-ticket-highlight-side-item.is-received .department-ticket-highlight-side-label {
    color: #f1be73;
}

.department-ticket-highlight-side-value {
    display: block;
    color: #eef5ff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.department-ticket-highlight-side-item.is-received .department-ticket-highlight-side-value {
    color: #ffd58f;
}

.department-ticket-highlight-label {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f3c66d;
}

.department-ticket-highlight-value {
    display: block;
    font-size: 26px;
    line-height: 1;
    color: #ffd486;
}

.department-ticket-highlight-meta {
    display: block;
    margin-top: 6px;
    color: #f6d79a;
    font-size: 11px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.department-ticket-highlight-intervals {
    display: grid;
    gap: 8px;
    min-width: 0;
    grid-column: 1 / -1;
}

.department-ticket-highlight-intervals-startup {
    margin-top: 4px;
}

.department-ticket-highlight-interval {
    padding: 10px 12px;
    border-radius: 16px;
    border: 1px solid rgba(112, 186, 255, 0.14);
    background: linear-gradient(180deg, rgba(9, 19, 36, 0.82), rgba(10, 20, 38, 0.7));
}

.department-ticket-highlight-interval-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 4px;
}

.department-ticket-highlight-interval-group .department-ticket-highlight-interval-top {
    margin-bottom: 0;
}

.department-ticket-highlight-interval-group-startup {
    padding-bottom: 10px;
}

.department-ticket-highlight-timeline-header-merged {
    margin: -2px -2px 10px;
    padding: 0 2px 10px;
    border-bottom: 1px solid rgba(112, 186, 255, 0.1);
}

.department-ticket-highlight-interval-title {
    color: #e6f2ff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.department-ticket-highlight-interval-duration {
    color: #4cc9f0;
    font-size: 12px;
    font-weight: 800;
}

.department-ticket-highlight-interval-subtitle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 6px;
    color: rgba(201, 220, 255, 0.78);
    font-size: 11px;
}

.department-ticket-highlight-interval-subtitle strong {
    color: #eef5ff;
    font-size: 12px;
}

.department-ticket-highlight-timeline-legend {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.department-ticket-highlight-timeline-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(201, 220, 255, 0.78);
    font-size: 10px;
    font-weight: 700;
}

.department-ticket-highlight-timeline-legend-item i {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, #89e5ff, #56b8ff);
    box-shadow: 0 0 10px rgba(99, 200, 255, 0.2);
}

.department-ticket-highlight-timeline-legend-item.is-startup-window i {
    background: linear-gradient(90deg, #64e8ff, #33b8ff);
    box-shadow: 0 0 10px rgba(64, 195, 255, 0.24);
}

.department-ticket-highlight-timeline-legend-item.is-received-window i {
    background: linear-gradient(90deg, #ffc06a, #ff9f43);
    box-shadow: 0 0 10px rgba(255, 159, 67, 0.22);
}

.department-ticket-highlight-timeline-legend-item.is-opening i {
    background: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.14);
}

.department-ticket-highlight-timeline-legend-item.is-work-start i {
    background: #72efdd;
    box-shadow: 0 0 0 3px rgba(114, 239, 221, 0.16);
}

.department-ticket-highlight-timeline-legend-item.is-received i {
    background: #2dcf89;
    box-shadow: 0 0 0 3px rgba(45, 207, 137, 0.14);
}

.department-ticket-highlight-timeline-legend-item.is-received-work-start i {
    background: #ffd166;
    box-shadow: 0 0 0 3px rgba(255, 209, 102, 0.16);
}

.department-ticket-highlight-timeline-legend-item.is-treatment i {
    background: #80ed99;
    box-shadow: 0 0 10px rgba(128, 237, 153, 0.22);
}

.department-ticket-highlight-interval-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
}

.department-ticket-highlight-interval-grid span {
    display: block;
    margin-bottom: 3px;
    color: #d4b87b;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.department-ticket-highlight-interval-grid strong {
    display: block;
    color: #fff0ce;
    font-size: 12px;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.department-ticket-highlight-empty {
    display: flex;
    align-items: center;
    min-height: 100%;
    color: #f0d9a7;
    font-size: 12px;
    line-height: 1.35;
}

.department-ticket-highlight-interval-timeline {
    gap: 8px;
}

.department-ticket-highlight-timeline-date {
    margin-top: 2px;
    color: rgba(201, 220, 255, 0.68);
    font-size: 10px;
    text-transform: capitalize;
}

.department-ticket-highlight-timeline-shell {
    margin-top: 4px;
    display: grid;
    gap: 6px;
}

.department-ticket-highlight-timeline-row {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 4px;
    align-items: start;
}

.department-ticket-highlight-timeline-row-label {
    display: block;
    padding-top: 8px;
    color: rgba(224, 237, 255, 0.82);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.department-ticket-highlight-timeline-row-label.is-startup {
    color: #72dfff;
}

.department-ticket-highlight-timeline-row-label.is-received {
    color: #ffb15c;
    padding-top: 16px;
}

.department-ticket-highlight-timeline-row-main {
    min-width: 0;
    width: 90%;
    justify-self: center;
}

.department-ticket-highlight-timeline-row-total {
    text-align: right;
    margin-bottom: 2px;
    color: #72dfff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.department-ticket-highlight-timeline-row-total.is-received {
    color: #ffb15c;
    position: absolute;
    top: -14px;
    right: -5.56%;
    margin-bottom: 0;
}

.department-ticket-highlight-timeline-row-label.is-received + .department-ticket-highlight-timeline-row-main {
    padding-left: 0;
    position: relative;
    margin-top: 4px;
}

.department-ticket-highlight-timeline-scale {
    display: grid;
    grid-template-columns: repeat(var(--timeline-scale-columns, 5), minmax(0, 1fr));
    gap: 8px;
    width: 90%;
    justify-self: center;
    padding-left: 0;
    padding-right: 0;
    margin-bottom: -8px;
    color: rgba(201, 220, 255, 0.72);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.department-ticket-highlight-timeline-scale span:first-child { text-align: left; }
.department-ticket-highlight-timeline-scale span:last-child { text-align: right; }
.department-ticket-highlight-timeline-scale span:not(:first-child):not(:last-child) { text-align: center; }

.department-ticket-highlight-timeline-row-main > .department-ticket-highlight-timeline-scale {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.department-ticket-highlight-timeline-track {
    position: relative;
    min-height: 20px;
    padding-top: 0;
    width: 100%;
}

.department-ticket-highlight-timeline-track-base {
    position: absolute;
    top: 14px;
    left: 0;
    right: 0;
    height: 10px;
    border-radius: 999px;
    background:
        repeating-linear-gradient(
            90deg,
            rgba(194, 213, 242, 0.22) 0,
            rgba(194, 213, 242, 0.22) 1px,
            transparent 1px,
            transparent 10%
        ),
        linear-gradient(180deg, rgba(181, 203, 238, 0.14), rgba(120, 148, 193, 0.08));
    box-shadow: inset 0 0 0 1px rgba(171, 196, 236, 0.12);
}

.department-ticket-highlight-timeline-track-ticks {
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.department-ticket-highlight-timeline-tick {
    position: absolute;
    top: 8px;
    width: 1px;
    height: 7px;
    background: rgba(205, 221, 247, 0.26);
    transform: translateX(-50%);
}

.department-ticket-highlight-timeline-tick.is-ten {
    height: 11px;
    background: rgba(220, 233, 255, 0.42);
}

.department-ticket-highlight-timeline-track-fill {
    position: absolute;
    top: 12px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, #64e8ff, #33b8ff);
    box-shadow: 0 0 16px rgba(64, 195, 255, 0.24);
}

.department-ticket-highlight-timeline-track-fill.is-startup {
    top: 12px;
    background: linear-gradient(90deg, #64e8ff, #33b8ff);
    box-shadow: 0 0 10px rgba(64, 195, 255, 0.16);
}

.department-ticket-highlight-timeline-track-fill.is-received {
    top: 19px;
    background: linear-gradient(90deg, #ffc06a, #ff9f43);
    box-shadow: 0 0 16px rgba(255, 159, 67, 0.24);
}

.department-ticket-highlight-timeline-marker {
    position: absolute;
    top: 8px;
    transform: translateX(calc(-50% + var(--marker-nudge, 0px)));
    width: 0;
    pointer-events: none;
}

.department-ticket-highlight-timeline-marker i {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #89d6ff;
    border: 2px solid rgba(8, 15, 29, 0.92);
    box-shadow: 0 0 0 3px rgba(99, 200, 255, 0.12);
}

.department-ticket-highlight-timeline-marker::before {
    content: none;
}

.department-ticket-highlight-timeline-marker.is-opening i {
    background: #4361ee;
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.14);
}

.department-ticket-highlight-timeline-marker.is-work-start i {
    background: #72efdd;
    box-shadow: 0 0 0 3px rgba(114, 239, 221, 0.16);
}

.department-ticket-highlight-timeline-marker.is-treatment i {
    background: #80ed99;
    box-shadow: 0 0 0 3px rgba(128, 237, 153, 0.14);
}

.department-ticket-highlight-timeline-marker.is-received i {
    background: #2dcf89;
    box-shadow: 0 0 0 4px rgba(45, 207, 137, 0.14);
}

.department-ticket-highlight-timeline-marker.is-received-work-start i {
    background: #ffd166;
    box-shadow: 0 0 0 4px rgba(255, 209, 102, 0.16);
}

.department-ticket-highlight-timeline-marker-rail {
    position: relative;
    min-height: 38px;
    margin-top: 2px;
}

.department-ticket-highlight-timeline-marker-rail.is-received {
    min-height: 32px;
    margin-top: 2px;
}

.department-ticket-highlight-timeline-marker-label {
    position: absolute;
    transform: translateX(calc(-50% + var(--marker-nudge, 0px)));
    display: grid;
    justify-items: center;
    gap: 2px;
    width: min(120px, 22vw);
}

.department-ticket-highlight-timeline-marker-label::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 8px;
    background: linear-gradient(180deg, rgba(210, 227, 255, 0.78), rgba(210, 227, 255, 0.18));
}

.department-ticket-highlight-timeline-marker-label.is-below.is-lane-1 {
    top: 8px;
}

.department-ticket-highlight-timeline-marker-label.is-below.is-lane-1::before {
    top: -16px;
}

.department-ticket-highlight-timeline-marker-label.is-below.is-lane-2 {
    top: 22px;
}

.department-ticket-highlight-timeline-marker-label.is-below.is-lane-2::before {
    top: -16px;
}

.department-ticket-highlight-timeline-marker-rail.is-received .department-ticket-highlight-timeline-marker-label.is-below.is-lane-1 {
    top: 8px;
}

.department-ticket-highlight-timeline-marker-rail.is-received .department-ticket-highlight-timeline-marker-label.is-below.is-lane-1::before {
    top: -16px;
}

.department-ticket-highlight-timeline-marker-rail.is-received .department-ticket-highlight-timeline-marker-label.is-below.is-lane-2 {
    top: 8px;
}

.department-ticket-highlight-timeline-marker-rail.is-received .department-ticket-highlight-timeline-marker-label.is-below.is-lane-2::before {
    top: -16px;
}

.department-ticket-highlight-timeline-marker-label span,
.department-ticket-highlight-timeline-marker-label strong {
    display: block;
    max-width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
    text-shadow: 0 1px 0 rgba(5, 10, 20, 0.5);
}

.department-ticket-highlight-timeline-marker-label span {
    color: rgba(224, 237, 255, 0.78);
    font-size: 9px;
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
}

.department-ticket-highlight-timeline-marker-label strong {
    color: #eef5ff;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.05;
}

.department-ticket-highlight-timeline-marker-label.is-align-left {
    transform: translateX(calc(4px + var(--marker-nudge, 0px)));
    justify-items: start;
}

.department-ticket-highlight-timeline-marker-label.is-align-left-tight {
    transform: translateX(var(--marker-nudge, 0px));
    justify-items: start;
}

.department-ticket-highlight-timeline-marker-label.is-align-right {
    transform: translateX(calc(-100% - 4px + var(--marker-nudge, 0px)));
    justify-items: end;
}

.department-ticket-highlight-timeline-marker-label.is-align-right-tight {
    transform: translateX(calc(-100% + var(--marker-nudge, 0px)));
    justify-items: end;
}

.department-ticket-highlight-timeline-marker-label.is-align-left::before {
    left: 10px;
    transform: none;
}

.department-ticket-highlight-timeline-marker-label.is-align-left-tight::before {
    left: 0;
    transform: none;
}

.department-ticket-highlight-timeline-marker-label.is-align-right::before {
    left: auto;
    right: 10px;
    transform: none;
}

.department-ticket-highlight-timeline-marker-label.is-align-right-tight::before {
    left: auto;
    right: 0;
    transform: none;
}

.department-ticket-highlight-timeline-marker-label.is-align-left span,
.department-ticket-highlight-timeline-marker-label.is-align-left strong {
    text-align: left;
}

.department-ticket-highlight-timeline-marker-label.is-align-left-tight span,
.department-ticket-highlight-timeline-marker-label.is-align-left-tight strong {
    text-align: left;
}

.department-ticket-highlight-timeline-marker-label.is-align-right span,
.department-ticket-highlight-timeline-marker-label.is-align-right strong {
    text-align: right;
}

.department-ticket-highlight-timeline-marker-label.is-align-right-tight span,
.department-ticket-highlight-timeline-marker-label.is-align-right-tight strong {
    text-align: right;
}

.department-ticket-highlight-timeline-times {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 10px;
}

.department-ticket-highlight-timeline-times-top {
    margin-top: 2px;
    align-content: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 100%;
}

@media (max-width: 720px) {
    .department-ticket-highlight-timeline-scale {
        padding-left: 0;
        padding-right: 0;
    }

    .department-ticket-highlight-timeline-row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .department-ticket-highlight-timeline-row-label {
        padding-top: 0;
    }

    .department-ticket-highlight-timeline-marker-label {
        width: min(110px, 34vw);
    }
}

.department-ticket-highlight-timeline-times span {
    display: block;
    margin-bottom: 1px;
    color: rgba(201, 220, 255, 0.72);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.department-ticket-highlight-timeline-times strong {
    display: block;
    color: #eef5ff;
    font-size: 12px;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.department-ticket-highlight-timeline-inline-note {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    color: rgba(201, 220, 255, 0.72);
    font-size: 11px;
    font-weight: 700;
}

.department-ticket-highlight-timeline-inline-note strong {
    color: #ff8da1;
    font-size: 11px;
}

.department-ticket-highlight-timeline-inline-note-double {
    justify-content: space-between;
}

.department-ticket-highlight-timeline-inline-note-double .is-startup {
    color: #72dfff;
}

.department-ticket-highlight-timeline-inline-note-double strong {
    color: #ffb15c;
}

.department-ticket-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.department-ticket-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(123, 174, 244, 0.12);
    background: rgba(7, 15, 29, 0.36);
}

.department-ticket-detail-grid > div {
    min-width: 0;
    display: grid;
    gap: 3px;
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
}

.department-ticket-detail-grid .is-wide {
    grid-column: 1 / -1;
}

.department-ticket-lookup-panel {
    display: grid;
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(123, 174, 244, 0.12);
    background: rgba(7, 15, 29, 0.28);
}

.department-ticket-lookup-summary,
.department-ticket-lookup-section,
.department-ticket-lookup-customer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.department-ticket-lookup-section-dates {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.department-ticket-lookup-summary > div,
.department-ticket-lookup-section > div,
.department-ticket-lookup-customer > div {
    min-width: 0;
    display: grid;
    gap: 2px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.035);
}

.department-ticket-lookup-summary > div {
    background: color-mix(in srgb, var(--drawer-accent) 10%, rgba(255, 255, 255, 0.035));
}

.department-ticket-lookup-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.department-ticket-lookup-pills span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--status-color, var(--drawer-accent)) 34%, rgba(130, 191, 255, 0.14));
    background: color-mix(in srgb, var(--status-color, var(--drawer-accent)) 12%, rgba(12, 20, 38, 0.88));
    color: color-mix(in srgb, var(--status-color, var(--drawer-accent)) 82%, #ffffff);
    font-size: 11px;
    line-height: 1.15;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.department-ticket-lookup-customer {
    grid-template-columns: 1fr;
}

.department-ticket-lookup-panel span {
    display: block;
    color: #8ea7d3;
    font-size: 10px;
    line-height: 1.15;
    font-weight: 800;
}

.department-ticket-lookup-panel strong {
    display: block;
    color: #eef5ff;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.department-ticket-lookup-panel .department-ticket-lookup-pills span {
    display: inline-flex;
    color: color-mix(in srgb, var(--status-color, var(--drawer-accent)) 82%, #ffffff);
    font-size: 11px;
    line-height: 1.15;
}

.department-ticket-grid > div:nth-child(1),
.department-ticket-grid > div:nth-child(2),
.department-ticket-grid > div:nth-child(5),
.department-ticket-grid > div:nth-child(6) {
    display: none;
}

@media (max-width: 720px) {
    .department-ticket-highlight {
        grid-template-columns: 1fr;
    }

    .department-ticket-highlight-side,
    .department-ticket-highlight-side-item {
        justify-items: start;
        text-align: left;
    }

    .department-ticket-date-row div::after {
        content: none;
    }
}

.department-ticket-grid span {
    display: block;
    margin-bottom: 4px;
    color: #8ea7d3;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.department-ticket-grid strong {
    display: block;
    color: #e4edfb;
    font-size: 13px;
    line-height: 1.35;
}

.empty-state { padding: 18px; color: var(--muted); border: 1px dashed rgba(110, 146, 214, 0.18); border-radius: 18px; text-align: center; }

#geral-status,
#geral-atendentes,
#geral-organizacoes,
#bot-cards .hero-mini-list,
.operator-handling-list,
.organization-handling-list,
.support-compare-list,
.support-status-list,
.table-wrap,
.ticket-scroll,
.bot-kanban-ticket-list,
.department-drawer-list,
.department-custom-select-menu {
    scrollbar-width: thin;
    scrollbar-color: rgba(214, 232, 255, 0.22) transparent;
}

#geral-status::-webkit-scrollbar,
#geral-atendentes::-webkit-scrollbar,
#geral-organizacoes::-webkit-scrollbar,
#bot-cards .hero-mini-list::-webkit-scrollbar,
.operator-handling-list::-webkit-scrollbar,
.organization-handling-list::-webkit-scrollbar,
.support-compare-list::-webkit-scrollbar,
.support-status-list::-webkit-scrollbar,
.table-wrap::-webkit-scrollbar,
.ticket-scroll::-webkit-scrollbar,
.bot-kanban-ticket-list::-webkit-scrollbar,
.department-drawer-list::-webkit-scrollbar,
.department-custom-select-menu::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

#geral-status::-webkit-scrollbar-track,
#geral-atendentes::-webkit-scrollbar-track,
#geral-organizacoes::-webkit-scrollbar-track,
#bot-cards .hero-mini-list::-webkit-scrollbar-track,
.operator-handling-list::-webkit-scrollbar-track,
.organization-handling-list::-webkit-scrollbar-track,
.support-compare-list::-webkit-scrollbar-track,
.support-status-list::-webkit-scrollbar-track,
.table-wrap::-webkit-scrollbar-track,
.ticket-scroll::-webkit-scrollbar-track,
.bot-kanban-ticket-list::-webkit-scrollbar-track,
.department-drawer-list::-webkit-scrollbar-track,
.department-custom-select-menu::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 999px;
}

#geral-status::-webkit-scrollbar-thumb,
#geral-atendentes::-webkit-scrollbar-thumb,
#geral-organizacoes::-webkit-scrollbar-thumb,
#bot-cards .hero-mini-list::-webkit-scrollbar-thumb,
.operator-handling-list::-webkit-scrollbar-thumb,
.organization-handling-list::-webkit-scrollbar-thumb,
.support-compare-list::-webkit-scrollbar-thumb,
.support-status-list::-webkit-scrollbar-thumb,
.table-wrap::-webkit-scrollbar-thumb,
.ticket-scroll::-webkit-scrollbar-thumb,
.bot-kanban-ticket-list::-webkit-scrollbar-thumb,
.department-drawer-list::-webkit-scrollbar-thumb,
.department-custom-select-menu::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(226, 240, 255, 0.26), rgba(176, 198, 228, 0.1));
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

#geral-status::-webkit-scrollbar-thumb:hover,
#geral-atendentes::-webkit-scrollbar-thumb:hover,
#geral-organizacoes::-webkit-scrollbar-thumb:hover,
#bot-cards .hero-mini-list::-webkit-scrollbar-thumb:hover,
.operator-handling-list::-webkit-scrollbar-thumb:hover,
.organization-handling-list::-webkit-scrollbar-thumb:hover,
.support-compare-list::-webkit-scrollbar-thumb:hover,
.support-status-list::-webkit-scrollbar-thumb:hover,
.table-wrap::-webkit-scrollbar-thumb:hover,
.ticket-scroll::-webkit-scrollbar-thumb:hover,
.bot-kanban-ticket-list::-webkit-scrollbar-thumb:hover,
.department-drawer-list::-webkit-scrollbar-thumb:hover,
.department-custom-select-menu::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(236, 247, 255, 0.38), rgba(184, 206, 234, 0.16));
}

.nav-tab-link,
.nav-tab-static {
    text-decoration: none;
}

.nav-tab-static {
    cursor: default;
}

.panel-chip-button-static {
    cursor: default;
    pointer-events: none;
}

.support-page .topbar {
    margin-bottom: 16px;
}

.support-page .topbar-unified {
    width: 100%;
    max-width: 100%;
    grid-template-columns: max-content minmax(420px, 1fr) 360px max-content;
    min-height: 68px;
    border-radius: 0 24px 24px 0;
    align-items: stretch;
}

.support-page .top-tabs .nav-tab,
.support-page .topbar-actions-segmented .refresh-button {
    min-height: 68px;
    padding: 0 18px;
    font-size: 13px;
}

.support-page .top-tabs-embedded,
.support-page .topbar-unified > .topbar-actions-row,
.support-page .status-progress-embedded {
    align-self: stretch;
    display: flex;
    align-items: center;
}

.support-page .top-tabs-embedded {
    justify-self: start;
}

.support-page .topbar-unified > .topbar-actions-row {
    justify-content: space-between;
}

.support-page .status-progress-embedded {
    justify-content: flex-start;
    padding: 8px 14px 8px 18px;
}

.support-page .status-progress-group {
    width: 320px;
    padding: 0;
    gap: 4px;
    align-content: start;
    justify-items: start;
}

.support-page .status-pill {
    font-size: 12px;
    line-height: 1.15;
}

.support-page .progress-text {
    font-size: 10px;
}

.support-page .progress-stamp {
    font-size: 11px;
}

.support-page .progress-text,
.support-page .progress-stamp {
    line-height: 1.05;
}

.support-page .support-auto-pill {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
}

.support-page .support-logout-segment {
    justify-self: end;
}

.support-page .topbar-logout-link {
    flex: 0 0 auto;
    min-width: 86px;
}

.support-page-compact .topbar-unified {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.support-page-compact .support-compact-status {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    padding: 0 18px 0 0;
}

.support-page-compact .support-compact-caption,
.support-page-compact .support-compact-page-progress {
    font-size: 12px;
    line-height: 1.2;
    color: rgba(226, 241, 255, 0.8);
    white-space: nowrap;
}

.support-page-compact .support-compact-page-progress {
    display: inline;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.support-ticket-search {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    min-width: 0;
    height: 30px;
    padding: 0 7px;
    border: 1px solid rgba(140, 190, 255, 0.14);
    border-radius: 999px;
    background: rgba(7, 15, 29, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.support-ticket-search-admin {
    height: 34px;
    margin-left: 2px;
}

.support-ticket-search-compact {
    margin-left: auto;
}

.support-access-levels-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    text-decoration: none;
    white-space: nowrap;
}

.support-access-levels-link-compact {
    min-height: 30px;
    margin-left: auto;
    padding: 0 11px;
    border: 1px solid rgba(140, 190, 255, 0.14);
    border-radius: 999px;
    color: rgba(238, 244, 255, 0.9);
    background: rgba(7, 15, 29, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 12px;
    font-weight: 700;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.support-access-levels-link-compact + .support-notes-link-compact {
    margin-left: 0;
}

.support-monthly-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    text-decoration: none;
    white-space: nowrap;
}

.support-monthly-link-compact {
    min-height: 30px;
    margin-left: auto;
    padding: 0 11px;
    border: 1px solid rgba(140, 190, 255, 0.14);
    border-radius: 999px;
    color: rgba(238, 244, 255, 0.9);
    background: rgba(7, 15, 29, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 12px;
    font-weight: 700;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.support-monthly-link-compact:hover,
.support-monthly-link-compact:focus-visible {
    border-color: rgba(99, 200, 255, 0.38);
    color: #fff;
    background: rgba(18, 36, 63, 0.72);
}

.support-monthly-link-compact + .support-access-levels-link-compact,
.support-access-levels-link-compact + .support-access-levels-link-compact,
.support-monthly-link-compact + .support-notes-link-compact {
    margin-left: 0 !important;
}

.support-access-levels-link-compact:hover,
.support-access-levels-link-compact:focus-visible {
    border-color: rgba(99, 200, 255, 0.38);
    color: #fff;
    background: rgba(18, 36, 63, 0.72);
}

.support-notes-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 0 0 auto;
    text-decoration: none;
    white-space: nowrap;
}

.support-notes-link-compact {
    min-height: 30px;
    margin-left: auto;
    padding: 0 11px;
    border: 1px solid rgba(140, 190, 255, 0.14);
    border-radius: 999px;
    color: rgba(238, 244, 255, 0.9);
    background: rgba(7, 15, 29, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 12px;
    font-weight: 700;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.support-notes-link-compact + .support-ticket-search-compact {
    margin-left: 0;
}

.support-notes-link-compact:hover,
.support-notes-link-compact:focus-visible {
    border-color: rgba(99, 200, 255, 0.38);
    color: #fff;
    background: rgba(18, 36, 63, 0.72);
}

.support-change-password-compact {
    min-height: 30px;
    margin-left: 0;
    padding: 0 11px;
    border: 1px solid rgba(140, 190, 255, 0.14);
    border-radius: 999px;
    color: rgba(238, 244, 255, 0.9);
    background: rgba(7, 15, 29, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.support-change-password-compact:hover,
.support-change-password-compact:focus-visible {
    border-color: rgba(99, 200, 255, 0.38);
    color: #fff;
    background: rgba(18, 36, 63, 0.72);
}

.support-change-password-compact + .support-ticket-search-compact {
    margin-left: 0;
}

.support-notes-link-compact.has-unread-notes {
    border-color: rgba(255, 92, 102, 0.94);
    color: #fff;
    background: rgba(126, 23, 34, 0.82);
    box-shadow:
        inset 0 1px 0 rgba(255, 222, 224, 0.2),
        0 0 0 0 rgba(255, 72, 84, 0.64);
    animation: support-notes-unread-pulse 1.1s ease-in-out infinite;
}

@keyframes support-notes-unread-pulse {
    0%,
    100% {
        border-color: rgba(255, 92, 102, 0.94);
        background: rgba(126, 23, 34, 0.82);
        box-shadow:
            inset 0 1px 0 rgba(255, 222, 224, 0.2),
            0 0 0 0 rgba(255, 72, 84, 0.64);
    }

    50% {
        border-color: rgba(255, 174, 179, 1);
        background: rgba(206, 39, 54, 0.96);
        box-shadow:
            inset 0 1px 0 rgba(255, 237, 238, 0.3),
            0 0 12px 3px rgba(255, 72, 84, 0.68);
    }
}

.support-notes-link-admin {
    gap: 5px;
}

:is(.admin-page, .support-page) .support-change-password-admin,
.top-tabs .support-change-password-admin,
.support-change-password-admin {
    align-self: center !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
    padding: 0 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    border-radius: 6px !important;
    border: 1px solid rgba(140, 190, 255, 0.22) !important;
    background: rgba(14, 24, 42, 0.7) !important;
    color: rgba(222, 233, 248, 0.9) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    margin: 0 4px !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease !important;
}

:is(.admin-page, .support-page) .support-change-password-admin:hover,
:is(.admin-page, .support-page) .support-change-password-admin:focus-visible,
.top-tabs .support-change-password-admin:hover,
.top-tabs .support-change-password-admin:focus-visible,
.support-change-password-admin:hover,
.support-change-password-admin:focus-visible {
    border-color: rgba(99, 200, 255, 0.45) !important;
    color: #fff !important;
    background: rgba(20, 36, 64, 0.9) !important;
}

.support-notes-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border: 2px solid #111722;
    border-radius: 999px;
    color: #fff;
    background: #e34850;
    box-shadow: 0 3px 9px rgba(227, 72, 80, 0.32);
    font-size: 9px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
}

.support-notes-badge[hidden] {
    display: none;
}

.support-ticket-search-button {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
}

.support-ticket-search-button::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    margin: 3px;
    background-color: rgba(226, 241, 255, 0.74);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.support-ticket-search-input {
    width: 86px;
    min-width: 0;
    height: 24px;
    padding: 0 4px 1px 0;
    border: 0;
    outline: none;
    background: transparent;
    color: rgba(238, 244, 255, 0.92);
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

.support-ticket-search-input::placeholder {
    color: rgba(226, 241, 255, 0.42);
    font-weight: 600;
}

.support-ticket-search:focus-within {
    border-color: rgba(99, 200, 255, 0.38);
    box-shadow:
        0 0 0 3px rgba(99, 200, 255, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.support-ticket-search.is-error {
    border-color: rgba(255, 125, 142, 0.48);
    box-shadow:
        0 0 0 3px rgba(255, 125, 142, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.support-ticket-search.is-loading .support-ticket-search-button::before {
    opacity: 0.55;
}

.support-page-compact .support-compact-logout {
    margin-left: 2px;
    font-size: 11px;
    line-height: 1.2;
    color: rgba(226, 241, 255, 0.72);
    text-decoration: none;
    white-space: nowrap;
}

.support-page-compact .support-compact-logout:hover {
    color: rgba(226, 241, 255, 0.96);
    text-decoration: underline;
}

.support-theme-switch-shell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    margin-left: 0;
    min-width: 0;
    color: rgba(226, 241, 255, 0.64);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.support-theme-select-shell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: rgba(196, 216, 244, 0.82);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.support-theme-select {
    min-width: 108px;
    min-height: 34px;
    padding: 0 34px 0 12px;
    border: 1px solid rgba(105, 144, 208, 0.26);
    border-radius: 999px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
    background:
        linear-gradient(180deg, rgba(18, 30, 56, 0.9), rgba(10, 18, 35, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 18px rgba(0, 0, 0, 0.14);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    background-image:
        linear-gradient(180deg, rgba(18, 30, 56, 0.9), rgba(10, 18, 35, 0.94)),
        linear-gradient(45deg, transparent 50%, rgba(214, 232, 255, 0.9) 50%),
        linear-gradient(135deg, rgba(214, 232, 255, 0.9) 50%, transparent 50%);
    background-position:
        0 0,
        calc(100% - 16px) 50%,
        calc(100% - 11px) 50%;
    background-size:
        100% 100%,
        5px 5px,
        5px 5px;
    background-repeat: no-repeat;
    color-scheme: light;
}

.support-theme-select:focus-visible {
    outline: none;
    border-color: rgba(99, 200, 255, 0.46);
    box-shadow:
        0 0 0 3px rgba(99, 200, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dashboard-theme-select-shell {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0 4px;
    color: rgba(196, 216, 244, 0.82);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.dashboard-theme-select {
    min-width: 110px;
    min-height: 34px;
    padding: 0 34px 0 12px;
    border: 1px solid rgba(105, 144, 208, 0.26);
    border-radius: 999px;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    background:
        linear-gradient(180deg, rgba(18, 30, 56, 0.9), rgba(10, 18, 35, 0.94));
    background-image:
        linear-gradient(180deg, rgba(18, 30, 56, 0.9), rgba(10, 18, 35, 0.94)),
        linear-gradient(45deg, transparent 50%, rgba(214, 232, 255, 0.9) 50%),
        linear-gradient(135deg, rgba(214, 232, 255, 0.9) 50%, transparent 50%);
    background-position:
        0 0,
        calc(100% - 16px) 50%,
        calc(100% - 11px) 50%;
    background-size:
        100% 100%,
        5px 5px,
        5px 5px;
    background-repeat: no-repeat;
    color-scheme: light;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 8px 18px rgba(0, 0, 0, 0.14);
}

.support-theme-select option,
.dashboard-theme-select option {
    color: #14171a;
    background: #f3f5f7;
}

.dashboard-theme-select:focus-visible {
    outline: none;
    border-color: rgba(99, 200, 255, 0.46);
    box-shadow:
        0 0 0 3px rgba(99, 200, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.support-theme-switch-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.support-theme-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 48px;
    height: 26px;
    flex: 0 0 48px;
    border: 1px solid rgba(140, 190, 255, 0.18);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(17, 30, 54, 0.94), rgba(8, 15, 29, 0.94));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 8px 18px rgba(0, 0, 0, 0.14);
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.support-theme-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: linear-gradient(180deg, #c7d4e7, #7f8fa7);
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.support-theme-switch-input:checked + .support-theme-switch {
    border-color: rgba(59, 163, 255, 0.28);
    background: linear-gradient(180deg, #f8fbff, #e7edf6);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 8px 18px rgba(53, 89, 138, 0.12);
}

.support-theme-switch-input:checked + .support-theme-switch .support-theme-switch-thumb {
    transform: translateX(22px);
    background: linear-gradient(180deg, #55c8f0, #2d90da);
    box-shadow:
        0 4px 10px rgba(45, 144, 218, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.support-theme-switch-input:focus-visible + .support-theme-switch {
    border-color: rgba(99, 200, 255, 0.46);
    box-shadow:
        0 0 0 3px rgba(99, 200, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.support-hidden-status,
.support-page .support-hidden-status,
.support-page-compact .support-hidden-status {
    display: none !important;
}

.support-page-compact .topbar {
    margin-bottom: 2px;
}

.support-page-compact .support-shell {
    padding-top: 0;
}

.support-page-compact .hero-grid-general {
    margin-top: 6px;
}

.support-page:not(.support-page-compact) .hero-grid-general,
.support-page-compact .hero-grid-general {
    gap: 12px;
    margin-top: 12px;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.82fr) minmax(0, 1fr) minmax(0, 1fr);
}

@media (min-width: 981px) {
    .support-page:not(.support-page-compact) .hero-grid-general,
    .support-page-compact .hero-grid-general {
        --support-hero-card-height: 282px;
    }

    .support-page:not(.support-page-compact) .hero-card-status-ticket-list,
    .support-page:not(.support-page-compact) .hero-card-weekly-handling,
    .support-page:not(.support-page-compact) .hero-card-open-closed,
    .support-page-compact .hero-card-status-ticket-list,
    .support-page-compact .hero-card-weekly-handling,
    .support-page-compact .hero-card-open-closed {
        box-sizing: border-box;
        height: var(--support-hero-card-height);
        min-height: var(--support-hero-card-height);
    }

    .support-page:not(.support-page-compact) .hero-card-weekly-handling,
    .support-page-compact .hero-card-weekly-handling {
        padding-top: 10px;
    }

    .support-page:not(.support-page-compact) .hero-weekly-handling-layout,
    .support-page-compact .hero-weekly-handling-layout {
        flex: 1 1 auto;
        min-height: 0;
        margin-top: 10px;
    }

    .support-page:not(.support-page-compact) .hero-weekly-summary-card,
    .support-page-compact .hero-weekly-summary-card {
        min-height: 0;
        padding-block: 8px;
    }

    .support-page:not(.support-page-compact) .hero-weekly-today-card,
    .support-page-compact .hero-weekly-today-card {
        min-height: 48px;
        padding-block: 6px;
    }

    .support-page:not(.support-page-compact) .hero-mini-day-grid-modern .hero-mini-day-card,
    .support-page-compact .hero-mini-day-grid-modern .hero-mini-day-card {
        min-height: 56px;
        padding-block: 6px;
    }

    .support-page:not(.support-page-compact) .hero-card-open-closed .hero-open-closed-grid,
    .support-page-compact .hero-card-open-closed .hero-open-closed-grid {
        grid-template-columns: clamp(108px, 31%, 132px) minmax(0, 1fr);
        min-height: 0;
        height: 100%;
        gap: 10px;
    }

    .support-page:not(.support-page-compact) .hero-card-open-closed .hero-open-closed-center,
    .support-page-compact .hero-card-open-closed .hero-open-closed-center {
        justify-items: center;
    }

    .support-page:not(.support-page-compact) .hero-card-open-closed .hero-open-closed-ring,
    .support-page-compact .hero-card-open-closed .hero-open-closed-ring {
        width: min(100%, 244px);
        transform: translateX(-8px);
    }

    .support-page:not(.support-page-compact) .hero-card-open-closed .hero-open-closed-side,
    .support-page-compact .hero-card-open-closed .hero-open-closed-side {
        min-height: 42px;
        padding-block: 5px;
    }
}

.admin-page .hero-grid-general {
    margin-top: 6px;
}

.support-shell {
    gap: 12px;
}

.support-grid {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    grid-template-columns: 1fr;
}

.support-grid-main {
    --support-main-panel-height: 530px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: stretch;
}

.support-grid-main-primary {
    height: var(--support-main-panel-height);
    min-height: var(--support-main-panel-height);
    position: relative;
    display: grid;
    grid-template-rows: 248px minmax(0, 1fr);
    gap: 12px;
    overflow: hidden;
}

.support-grid-main > .panel {
    height: var(--support-main-panel-height);
    min-height: var(--support-main-panel-height);
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.support-grid-main > .support-grid-side {
    height: var(--support-main-panel-height);
    min-height: var(--support-main-panel-height);
    align-self: stretch;
    display: grid;
    grid-template-rows: 176px minmax(0, 1fr);
    gap: 12px;
    min-width: 0;
}

.support-grid-side > .panel {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.support-grid-side > .operator-handling-panel {
    height: auto;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 8px;
}

.support-grid-side > .operator-handling-panel .panel-header {
    min-height: 38px;
    flex: 0 0 auto;
    align-items: center;
    margin-bottom: 2px;
    padding-top: 0;
    padding-bottom: 0;
    gap: 10px;
}

.support-grid-side > .operator-handling-panel .panel-header h3 {
    line-height: 1.1;
}

.support-grid-side > .operator-handling-panel .panel-header-actions-group {
    align-items: center;
}

.support-apoio-week-summary-panel {
    padding: 0;
}

.support-apoio-week-summary {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 6px;
    height: 100%;
    min-height: 0;
    padding: 6px 10px;
}

.support-apoio-week-section {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    gap: 4px;
    min-width: 0;
    min-height: 0;
    padding: 6px 10px 8px;
    border: 1px solid rgba(112, 148, 214, 0.16);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(12, 20, 34, 0.52), rgba(8, 14, 25, 0.4));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.support-apoio-week-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 18px;
}

.support-apoio-week-head h3 {
    margin: 0;
    color: #eef4ff;
    font-size: 13.5px;
    font-weight: 750;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.support-apoio-week-head span {
    color: #7f91ad;
    font-size: 10px;
    font-weight: 750;
    white-space: nowrap;
}

.support-apoio-week-info-icon {
    width: 15px;
    height: 15px;
    color: #9fb4d9;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.support-apoio-week-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(112, 148, 214, 0.22);
    border-radius: 8px;
    background: rgba(8, 16, 28, 0.74);
    color: #dfeaff !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.support-apoio-week-chip-icon {
    width: 14px;
    height: 14px;
    color: #a9bddf;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.support-apoio-week-card-grid {
    display: grid;
    gap: 7px;
    min-width: 0;
    min-height: 0;
}

.support-apoio-week-classification-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.support-apoio-week-category-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    align-items: stretch;
}

.support-apoio-week-category-section {
    gap: 4px;
    padding-top: 6px;
}

.support-apoio-week-category-section .support-apoio-week-head {
    min-height: 18px;
    align-items: center;
}

.support-apoio-week-expand-button {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(132, 169, 228, 0.16);
    border-radius: 8px;
    background: rgba(11, 20, 36, 0.54);
    color: rgba(222, 233, 248, 0.86);
    box-shadow: none;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.support-apoio-week-expand-button:hover,
.support-apoio-week-expand-button:focus-visible {
    border-color: rgba(150, 186, 244, 0.24);
    background: rgba(14, 24, 42, 0.7);
    color: #eef4ff;
    outline: none;
    transform: translateY(-1px);
}

.support-apoio-week-expand-icon {
    width: 15px;
    height: 15px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.support-apoio-week-card {
    position: relative;
    min-width: 0;
    min-height: 92px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 2px;
    padding: 5px 7px 6px;
    overflow: hidden;
    border: 1px solid rgba(112, 148, 214, 0.22);
    border-radius: 7px;
    background:
        linear-gradient(180deg, rgba(12, 24, 41, 0.96), rgba(8, 16, 29, 0.92)),
        rgba(7, 15, 27, 0.92);
    color: #eef4ff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
    font: inherit;
}

.support-apoio-week-card::after {
    content: none;
    position: absolute;
    inset: auto 10px 10px;
    height: 34px;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--support-week-glow, rgba(99, 200, 255, 0.6)), transparent);
    opacity: 0.26;
    filter: blur(2px);
}

.support-apoio-week-card:hover,
.support-apoio-week-card:focus-visible {
    border-color: rgba(125, 214, 255, 0.48);
    background: linear-gradient(180deg, rgba(15, 31, 53, 0.98), rgba(9, 19, 35, 0.96));
    outline: none;
}

.support-apoio-week-card.is-blue,
.support-grid-main .support-apoio-treatment-card.is-blue {
    --support-week-accent: #4eb8ff;
    --support-week-glow: rgba(78, 184, 255, 0.72);
    --support-apoio-accent: #4eb8ff;
    --support-apoio-glow: rgba(78, 184, 255, 0.72);
}

.support-apoio-week-card.is-green,
.support-grid-main .support-apoio-treatment-card.is-green {
    --support-week-accent: #49dd91;
    --support-week-glow: rgba(73, 221, 145, 0.72);
}

.support-apoio-week-card.is-amber,
.support-grid-main .support-apoio-treatment-card.is-amber {
    --support-week-accent: #ffca4f;
    --support-week-glow: rgba(255, 202, 79, 0.72);
}

.support-apoio-week-card.is-orange,
.support-grid-main .support-apoio-treatment-card.is-orange {
    --support-week-accent: #ff8a1f;
    --support-week-glow: rgba(255, 138, 31, 0.74);
}

.support-apoio-week-card.is-teal,
.support-grid-main .support-apoio-treatment-card.is-teal {
    --support-week-accent: #22d3bd;
    --support-week-glow: rgba(34, 211, 189, 0.72);
}

.support-apoio-week-card.is-indigo,
.support-grid-main .support-apoio-treatment-card.is-indigo {
    --support-week-accent: #7c8cff;
    --support-week-glow: rgba(124, 140, 255, 0.72);
}

.support-apoio-week-card.is-lime,
.support-grid-main .support-apoio-treatment-card.is-lime {
    --support-week-accent: #b6e34d;
    --support-week-glow: rgba(182, 227, 77, 0.7);
}

.support-apoio-week-card.is-violet,
.support-grid-main .support-apoio-treatment-card.is-violet {
    --support-week-accent: #b28cff;
    --support-week-glow: rgba(178, 140, 255, 0.72);
}

.support-apoio-week-card.is-gray,
.support-grid-main .support-apoio-treatment-card.is-gray {
    --support-week-accent: #a8b3c4;
    --support-week-glow: rgba(168, 179, 196, 0.58);
}

.support-apoio-week-card.is-cyan,
.support-grid-main .support-apoio-treatment-card.is-cyan {
    --support-week-accent: #24d4e3;
    --support-week-glow: rgba(36, 212, 227, 0.7);
}

.support-apoio-week-card.is-pink,
.support-grid-main .support-apoio-treatment-card.is-pink {
    --support-week-accent: #ff5ecf;
    --support-week-glow: rgba(255, 94, 207, 0.72);
    --support-apoio-accent: #ff5ecf;
    --support-apoio-glow: rgba(255, 94, 207, 0.72);
}

.support-apoio-week-card.is-red,
.support-grid-main .support-apoio-treatment-card.is-red {
    --support-week-accent: #ff6177;
    --support-week-glow: rgba(255, 97, 119, 0.72);
}

.support-apoio-week-card span,
.support-apoio-week-card strong,
.support-apoio-week-card small,
.support-apoio-week-card .support-apoio-week-icon,
.support-apoio-week-card .support-apoio-week-plus-icon {
    position: relative;
    z-index: 1;
}

.support-apoio-week-card span {
    max-width: 100%;
    color: #e2e8f0;
    font-size: 9px;
    font-weight: 750;
    line-height: 1.15;
    text-align: center;
    text-transform: uppercase;
    min-height: 18px;
    letter-spacing: 0.2px;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.support-apoio-week-icon {
    width: 23px;
    height: 23px;
    margin-top: 0;
    margin-bottom: 1px;
    color: var(--support-week-accent, #63c8ff);
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    filter: none;
}

.support-apoio-week-classification-button[data-classification-label="Problema"] .support-apoio-week-icon {
    color: #ff6177;
}

.support-apoio-week-classification-button[data-classification-label="Problema"] {
    --support-week-accent: #ff6177;
    --support-week-glow: rgba(255, 97, 119, 0.72);
}

.support-apoio-week-card strong {
    color: var(--support-week-accent, #63c8ff);
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    text-shadow: none;
    font-variant-numeric: tabular-nums;
}

.support-apoio-week-card small {
    color: #94a3b8;
    font-size: 9px;
    font-weight: 650;
    line-height: 1.05;
}

.support-apoio-week-classification-section .support-apoio-week-card > * {
    transform: translateY(3px);
}

.support-apoio-week-classification-section .support-apoio-week-card {
    padding-left: 4px;
    padding-right: 4px;
}

.support-apoio-week-classification-section .support-apoio-week-card span {
    font-size: 7.8px;
}

.support-apoio-week-classification-section .support-apoio-week-icon {
    width: 24px;
    height: 24px;
    margin-top: 1px;
    margin-bottom: 2px;
}

.support-apoio-week-classification-section .support-apoio-week-card strong {
    font-size: 18px;
}

.support-apoio-week-classification-section .support-apoio-week-percent {
    min-width: 30px;
    padding: 0 5px;
    font-size: 8.8px !important;
}

.support-apoio-week-category-section .support-apoio-week-card {
    min-height: 100px;
    padding-top: 6px;
    padding-bottom: 7px;
}

.support-apoio-week-category-section .support-apoio-week-icon {
    width: 26px;
    height: 26px;
    margin-top: 1px;
    margin-bottom: 2px;
}

.support-apoio-week-count-label {
    margin-top: 0;
}

.support-apoio-week-percent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 17px;
    min-width: 34px;
    margin-top: 1px;
    padding: 0 7px;
    border: 1px solid color-mix(in srgb, var(--support-week-accent, #63c8ff) 58%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--support-week-accent, #63c8ff) 12%, transparent);
    color: var(--support-week-accent, #63c8ff) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1;
}

.support-apoio-week-all-button {
    justify-content: center;
    gap: 7px;
    background: linear-gradient(180deg, rgba(9, 17, 28, 0.96), rgba(5, 10, 18, 0.96));
    border-style: dashed;
}

.support-apoio-week-plus-icon {
    width: 30px;
    height: 30px;
    margin-top: 2px;
    color: #dbe8ff;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.support-apoio-week-all-button strong {
    color: #f5f9ff;
    font-size: 18px;
}

.support-apoio-week-all-button span {
    color: #eaf2ff;
    font-size: 10px;
    text-transform: none;
}

body.support-apoio-category-open {
    overflow: hidden;
}

.support-apoio-category-overlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(2, 8, 20, 0.72);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    backdrop-filter: blur(6px);
}

.support-apoio-category-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.support-apoio-category-modal {
    position: fixed;
    inset: 18px;
    z-index: 1050;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.99);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.support-apoio-category-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.support-apoio-category-shell {
    width: min(1120px, calc(100vw - 48px));
    height: min(760px, calc(100vh - 48px));
    min-width: 0;
    min-height: 0;
    border-radius: 18px;
    border: 1px solid rgba(126, 170, 232, 0.22);
    background:
        radial-gradient(circle at 20% 0%, rgba(99, 200, 255, 0.12), transparent 30%),
        radial-gradient(circle at 88% 4%, rgba(108, 240, 167, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(12, 23, 43, 0.98), rgba(7, 14, 27, 0.98));
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.46), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    overflow: hidden;
}

.support-apoio-category-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid rgba(126, 170, 232, 0.12);
}

.support-apoio-category-head h3 {
    margin: 0;
    color: #f4f8ff;
    font-size: 24px;
    font-weight: 900;
    line-height: 1.05;
}

.support-apoio-category-head p {
    margin: 6px 0 0;
    color: #a4b6d2;
    font-size: 13px;
    line-height: 1.45;
}

.support-apoio-category-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    margin-bottom: 8px;
    color: #9ecbff;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.support-apoio-category-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(126, 170, 232, 0.1);
    color: #9fb4d9;
    font-size: 12px;
    font-weight: 700;
}

.support-apoio-category-toolbar strong {
    color: #eef4ff;
    font-size: 14px;
    font-weight: 900;
}

.support-apoio-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
    gap: 10px;
    padding: 18px 20px 20px;
    overflow: auto;
    min-width: 0;
    min-height: 0;
}

.support-apoio-category-grid .support-apoio-week-card {
    min-height: 126px;
    padding: 12px 10px;
}

.support-apoio-category-grid .support-apoio-week-card span {
    min-height: 24px;
    font-size: 9.5px;
}

.support-apoio-category-grid .support-apoio-week-card strong {
    font-size: 23px;
}

.support-apoio-category-grid .support-apoio-week-card small {
    font-size: 10.5px;
}

.support-grid-main-primary > .panel {
    width: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.support-startup-split-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    height: 248px;
    min-height: 248px;
    max-height: 248px;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.support-startup-split-grid > .panel {
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 8px 12px;
    box-sizing: border-box;
}

/* Header inside split grid for Inicialização por Atendente */
.support-startup-split-grid .support-startup-panel:not(.is-expanded) {
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.support-startup-split-grid .support-startup-panel:not(.is-expanded) .panel-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 4px !important;
    grid-template-columns: none !important;
    min-height: 28px !important;
    height: 28px !important;
    margin-bottom: 6px !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
}

.support-startup-split-grid .support-startup-panel:not(.is-expanded) .support-startup-title {
    display: flex !important;
    align-items: center !important;
    grid-template-columns: none !important;
    flex: 0 0 auto !important;
    min-width: 0 !important;
    margin-right: 0 !important;
}

.support-startup-split-grid .support-startup-panel:not(.is-expanded) .support-startup-title h3 {
    font-size: 13px !important;
    font-weight: 750 !important;
    white-space: nowrap !important;
    line-height: 1.1 !important;
    margin: 0 !important;
}

.support-startup-split-grid .support-startup-panel:not(.is-expanded) .support-startup-summary-inline {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 3px !important;
    min-width: 0 !important;
    margin: 0 0 0 auto !important;
    flex: 0 1 auto !important;
    overflow: visible !important;
}

.support-startup-split-grid .support-startup-panel:not(.is-expanded) .support-startup-inline-day {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    column-gap: 3px !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    min-height: 24px !important;
    height: 24px !important;
    padding: 2px 4.5px !important;
    border-radius: 5px !important;
    font-size: 10px !important;
    line-height: 1 !important;
    flex: 0 0 auto !important;
    box-sizing: border-box !important;
    white-space: nowrap !important;
}

.support-startup-split-grid .support-startup-panel:not(.is-expanded) .support-startup-inline-weekday {
    font-size: 9px !important;
    font-weight: 850 !important;
    letter-spacing: -0.2px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.support-startup-split-grid .support-startup-panel:not(.is-expanded) .support-startup-inline-average {
    font-size: 9.5px !important;
    font-weight: 700 !important;
    padding-left: 3px !important;
    letter-spacing: -0.25px !important;
    line-height: 1 !important;
    border-left: 1px solid rgba(255, 255, 255, 0.18) !important;
    white-space: nowrap !important;
}

.support-startup-split-grid .support-startup-panel:not(.is-expanded) .panel-header-actions-group {
    display: none !important;
}

.support-startup-panel {
    position: relative;
    z-index: 3;
    height: 100%;
    min-height: 0;
    max-height: 248px;
    padding-top: 0;
    padding-bottom: 6px;
    overflow: hidden;
    transition: max-height 180ms ease, box-shadow 180ms ease;
}

.support-startup-panel.is-expanded {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    height: 100%;
    max-height: none;
    box-shadow: 0 22px 42px rgba(2, 6, 23, 0.42);
}

.support-startup-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    margin-bottom: 0;
    margin-top: 0;
    justify-content: stretch;
}

.support-startup-summary-main {
    display: grid;
    grid-template-columns: repeat(2, minmax(116px, 148px));
    gap: 6px;
    justify-content: start;
}

.support-startup-panel .panel-header {
    min-height: 38px;
    flex: 0 0 auto;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    gap: 8px;
}

.support-startup-panel:not(.is-expanded) .panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.support-startup-panel:not(.is-expanded) .panel-header h3 {
    max-width: none;
    font-size: 14.5px;
    line-height: 1.05;
    white-space: nowrap;
}

.support-startup-title {
    position: relative;
    display: inline-grid;
    grid-template-columns: max-content;
    align-items: center;
    min-width: 0;
}

.support-startup-title h3 {
    min-width: 0;
}

.support-startup-panel.is-expanded .panel-header {
    min-height: 0;
    height: auto;
    flex: 0 0 auto;
    padding-top: 10px;
    padding-bottom: 4px;
}

.support-startup-summary-inline {
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
    gap: 4px;
    align-items: center;
    margin-top: 0;
}

.support-startup-inline-day {
    width: max-content;
    min-width: 0;
    max-width: none;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    column-gap: 4px;
    min-height: 26px;
    padding: 2px 7px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    column-gap: 5px;
    min-height: 36px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1px solid rgba(99, 200, 255, 0.12);
    background: linear-gradient(180deg, rgba(8, 18, 38, 0.7), rgba(11, 22, 43, 0.62));
}

.support-startup-inline-day-button,
.support-startup-day-card-button {
    appearance: none;
    text-align: left;
    color: inherit;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.support-startup-inline-day-button:hover,
.support-startup-inline-day-button:focus-visible,
.support-startup-day-card-button:hover,
.support-startup-day-card-button:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(173, 206, 255, 0.3);
    background: linear-gradient(180deg, rgba(12, 26, 52, 0.88), rgba(14, 29, 57, 0.78));
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.16);
    outline: none;
}

.support-startup-inline-day.is-good,
.support-startup-day-card.is-good {
    border-color: rgba(108, 240, 167, 0.5);
    background: linear-gradient(180deg, rgba(22, 82, 54, 0.86), rgba(12, 46, 34, 0.72));
    box-shadow: inset 0 0 0 1px rgba(108, 240, 167, 0.12);
}

.support-startup-inline-day.is-alert,
.support-startup-day-card.is-alert {
    border-color: rgba(255, 91, 103, 0.58);
    background: linear-gradient(180deg, rgba(92, 31, 38, 0.9), rgba(55, 18, 25, 0.76));
    box-shadow: inset 0 0 0 1px rgba(255, 91, 103, 0.14);
}

.support-startup-inline-day.is-good .support-startup-inline-weekday,
.support-startup-day-card.is-good .support-startup-day-weekday,
.support-startup-day-card.is-good .support-startup-day-date {
    color: rgba(213, 255, 231, 0.78);
}

.support-startup-inline-day.is-alert .support-startup-inline-weekday,
.support-startup-day-card.is-alert .support-startup-day-weekday,
.support-startup-day-card.is-alert .support-startup-day-date {
    color: rgba(255, 218, 222, 0.78);
}

.support-startup-inline-weekday {
    min-width: 0;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
    color: rgba(198, 219, 255, 0.76);
    line-height: 1;
    white-space: nowrap;
}

.support-startup-inline-average {
    min-width: 0;
    display: block;
    padding-left: 5px;
    border-left: 1px solid rgba(99, 200, 255, 0.28);
    font-size: 11px;
    line-height: 1;
    color: #eef4ff;
    white-space: nowrap;
}

.support-startup-panel.is-expanded .support-startup-summary-inline {
    display: none;
}

.support-startup-panel.is-expanded .support-startup-summary {
    margin-top: 0;
}

.support-startup-panel:not(.is-expanded) .support-startup-summary {
    display: none;
}

.support-startup-panel:not(.is-expanded) .support-startup-list {
    display: block;
    margin-top: 0;
    overflow-x: hidden;
    overflow-y: hidden;
}

.support-startup-summary-card {
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid rgba(99, 200, 255, 0.18);
    background: rgba(7, 18, 38, 0.72);
}

.support-startup-summary-card span {
    display: block;
    font-size: 10px;
    color: rgba(198, 219, 255, 0.74);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.support-startup-summary-card strong {
    display: block;
    margin-top: 0;
    font-size: 13px;
    color: #eef4ff;
}

.support-startup-summary-days {
    display: grid;
    grid-template-columns: repeat(5, minmax(72px, 86px));
    justify-content: start;
    gap: 5px;
    align-items: start;
}

.support-startup-day-card {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    padding: 3px 5px;
    border-radius: 10px;
    border: 1px solid rgba(99, 200, 255, 0.14);
    background: linear-gradient(180deg, rgba(7, 18, 38, 0.78), rgba(13, 27, 53, 0.68));
}

.support-startup-day-weekday {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(198, 219, 255, 0.72);
    line-height: 1;
}

.support-startup-day-average {
    font-size: 10px;
    line-height: 1.05;
    color: #eef4ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-startup-day-date {
    font-size: 9px;
    line-height: 1;
    color: rgba(198, 219, 255, 0.72);
}

.support-startup-panel #support-startup-toggle {
    min-width: 86px;
    min-height: 28px;
    padding: 5px 12px;
}

.support-startup-panel #support-startup-details,
.operator-handling-panel .support-flip-toggle {
    display: inline-grid;
    grid-template-columns: 16px max-content;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 96px;
    min-height: 34px;
    border-color: rgba(47, 166, 255, 0.72);
    background: rgba(12, 31, 63, 0.7);
    color: #eef4ff;
    box-shadow: inset 0 0 0 1px rgba(47, 166, 255, 0.08);
}

#support-operator-toggle-all,
#support-live-toggle-all,
.support-startup-panel #support-startup-details,
.operator-handling-panel .support-flip-toggle {
    min-width: 82px;
    min-height: 30px;
    padding: 5px 11px;
    border-color: rgba(132, 169, 228, 0.16);
    background: rgba(11, 20, 36, 0.54);
    color: rgba(222, 233, 248, 0.86);
    box-shadow: none;
    font-size: 11px;
    font-weight: 750;
}

#support-operator-toggle-all:hover,
#support-operator-toggle-all:focus-visible,
#support-live-toggle-all:hover,
#support-live-toggle-all:focus-visible,
.support-startup-panel #support-startup-details:hover,
.support-startup-panel #support-startup-details:focus-visible,
.operator-handling-panel .support-flip-toggle:hover,
.operator-handling-panel .support-flip-toggle:focus-visible {
    border-color: rgba(150, 186, 244, 0.24);
    background: rgba(14, 24, 42, 0.7);
    color: #eef4ff;
    box-shadow: none;
}

.support-startup-panel #support-startup-details[hidden] {
    display: none;
}

.support-startup-panel #support-startup-details::before,
.operator-handling-panel .support-flip-toggle::before {
    content: "";
    width: 16px;
    height: 16px;
    background:
        linear-gradient(currentColor, currentColor) 1px 11px / 3px 4px no-repeat,
        linear-gradient(currentColor, currentColor) 7px 5px / 3px 10px no-repeat,
        linear-gradient(currentColor, currentColor) 13px 8px / 3px 7px no-repeat,
        linear-gradient(currentColor, currentColor) 0 15px / 16px 1px no-repeat;
    color: currentColor;
}

@media (max-width: 1560px) and (min-width: 1381px) {
    .support-startup-panel .panel-header {
        gap: 12px;
    }

    .support-startup-panel:not(.is-expanded) .panel-header {
        grid-template-columns: max-content minmax(0, 1fr) auto;
        column-gap: 22px;
    }

    .support-startup-panel .panel-header h3 {
        font-size: 17px;
    }

    .support-startup-panel .panel-header-actions-group {
        gap: 6px;
        flex-wrap: wrap;
        flex: 0 0 auto;
    }

    .support-startup-legend-header {
        gap: 8px;
    }

    .support-startup-legend-header .support-startup-legend-item {
        font-size: 10px;
    }

    .support-startup-panel .panel-chip-button {
        min-width: 78px;
        min-height: 30px;
        padding: 5px 10px;
        font-size: 11px;
    }

    .support-startup-summary-inline {
        gap: 6px;
    }

    .support-startup-inline-day {
        column-gap: 4px;
        min-width: 90px;
        max-width: 108px;
        min-height: 34px;
        padding: 6px 7px;
    }

    .support-startup-inline-weekday,
    .support-startup-inline-average {
        font-size: 10px;
    }

    .support-startup-inline-average {
        padding-left: 4px;
    }
}

.support-startup-table-head {
    display: grid;
    grid-template-columns: minmax(56px, 68px) 30px minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 0 7px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 3px;
    flex: 0 0 auto;
}

.support-startup-col-header {
    font-size: 10px;
    font-weight: 750;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
}

.support-startup-col-header.is-attendant {
    color: #64748b;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: 0.5px;
}

.support-startup-col-header.is-count {
    color: #64748b;
    text-transform: uppercase;
    font-size: 9.5px;
    letter-spacing: 0.5px;
    justify-content: center;
    text-align: center;
}

.support-startup-col-header.is-entry {
    color: #38bdf8;
}

.support-startup-col-header.is-received {
    color: #fb923c;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: visible;
}

.support-startup-col-header #support-startup-details {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 19px !important;
    width: 19px !important;
    min-height: 19px !important;
    height: 19px !important;
    padding: 0 !important;
    margin-left: 14px !important;
    border-radius: 4px !important;
    border: 1px solid rgba(251, 146, 60, 0.35) !important;
    background: rgba(251, 146, 60, 0.12) !important;
    color: #fb923c !important;
    cursor: pointer !important;
    flex: 0 0 19px !important;
    box-sizing: border-box !important;
    transition: background 150ms ease, border-color 150ms ease, transform 150ms ease !important;
}

.support-startup-col-header #support-startup-details:hover,
.support-startup-col-header #support-startup-details:focus-visible {
    background: rgba(251, 146, 60, 0.26) !important;
    border-color: rgba(251, 146, 60, 0.7) !important;
    color: #fdba74 !important;
    transform: translateY(-1px) !important;
}

.support-startup-col-header #support-startup-details::before {
    content: "" !important;
    width: 12px !important;
    height: 12px !important;
    margin: 0 !important;
    background:
        linear-gradient(currentColor, currentColor) 0 6.5px / 2px 3.5px no-repeat,
        linear-gradient(currentColor, currentColor) 3.5px 2px / 2px 8px no-repeat,
        linear-gradient(currentColor, currentColor) 7px 4.5px / 2px 5.5px no-repeat,
        linear-gradient(currentColor, currentColor) 0 10.5px / 10px 1.5px no-repeat !important;
    transform: none !important;
}

.support-startup-list {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 2px;
    margin-top: 1px;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 200, 255, 0.2) transparent;
}

.support-startup-list::-webkit-scrollbar {
    width: 4px;
}

.support-startup-list::-webkit-scrollbar-thumb {
    background: rgba(99, 200, 255, 0.2);
    border-radius: 4px;
}

.support-startup-list-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.support-startup-row-item {
    display: grid;
    grid-template-columns: minmax(56px, 68px) 30px minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 1.5px 7px;
    min-height: 21px;
    height: 22px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.035);
    background: rgba(255, 255, 255, 0.015);
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-align: left;
    transition: background 150ms ease, border-color 150ms ease;
    min-width: 0;
}

.support-startup-row-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(99, 200, 255, 0.25);
}

.support-startup-row-attendant {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0;
}

.support-startup-row-name {
    font-size: 11.5px;
    font-weight: 750;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
}

.support-startup-row-count {
    font-size: 11px;
    font-weight: 750;
    color: #cbd5e1;
    text-align: center;
    justify-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1px 4px;
    min-width: 20px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.support-startup-row-metric {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.support-startup-metric-icon {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 999px;
    flex: 0 0 12px;
}

.support-startup-metric-icon.is-entry {
    border: 1.5px solid #2da4ff;
}

.support-startup-metric-icon.is-entry::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 4.5px;
    width: 1px;
    height: 3.5px;
    background: #2da4ff;
}

.support-startup-metric-icon.is-entry::after {
    content: "";
    position: absolute;
    top: 4.5px;
    left: 4.5px;
    width: 3px;
    height: 1px;
    background: #2da4ff;
}

.support-startup-metric-icon.is-received {
    border: 1.5px solid #ff9f43;
}

.support-startup-metric-icon.is-received::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #ff9f43;
}

.support-startup-metric-time {
    font-size: 11px;
    font-weight: 750;
    white-space: nowrap;
    line-height: 1;
    color: #f8fafc;
    flex: 0 0 auto;
    font-variant-numeric: tabular-nums;
}

.support-startup-metric-bar-track {
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    flex: 0 0 clamp(72px, 48%, 100px);
    max-width: 100px;
    min-width: 72px;
}

.support-startup-metric-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    transition: width 200ms ease;
}

.support-startup-metric-bar-fill.is-entry {
    background: #2da4ff;
}

.support-startup-metric-bar-fill.is-received {
    background: #ff9f43;
}

/* Novo Card: Entrada de Chamados por Hora */
.support-hourly-panel,
.support-startup-split-grid .support-hourly-panel {
    position: relative;
    height: 100%;
    min-height: 0;
    max-height: 248px;
    padding: 8px 12px 8px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.support-hourly-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 22px;
    height: 22px;
    padding: 0;
    gap: 6px;
    flex: 0 0 auto;
    margin-bottom: 6px;
}

.support-hourly-title-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 0 1 auto;
}

.support-hourly-title h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 750;
    color: #eef4ff;
    white-space: nowrap;
    line-height: 1.1;
}

.support-hourly-flow-btn {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 8px;
    min-height: 21px;
    height: 21px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: -0.15px;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.38);
    color: #00e676;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.15), inset 0 0 4px rgba(0, 230, 118, 0.08);
    transition: all 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.support-hourly-flow-btn:hover {
    background: rgba(0, 230, 118, 0.20);
    border-color: #00e676;
    color: #ffffff;
    box-shadow: 0 0 16px rgba(0, 230, 118, 0.45), inset 0 0 6px rgba(0, 230, 118, 0.22);
    transform: translateY(-0.5px);
}

.support-hourly-flow-btn:active {
    transform: scale(0.97);
}

.support-hourly-flow-icon {
    font-size: 10px;
    line-height: 1;
    filter: drop-shadow(0 0 3px #00e676);
}

.support-hourly-flow-text {
    line-height: 1;
}

.support-hourly-day-selector {
    display: flex;
    align-items: center;
    gap: 4px;
}

.support-hourly-day-pill {
    appearance: none;
    background: rgba(14, 24, 42, 0.7);
    border: 1px solid rgba(132, 169, 228, 0.16);
    border-radius: 6px;
    color: rgba(222, 233, 248, 0.82);
    font-size: 11.5px;
    font-weight: 800;
    padding: 0 7px;
    min-height: 21px;
    height: 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.support-hourly-day-pill:hover {
    border-color: rgba(150, 186, 244, 0.32);
    color: #fff;
}

.support-hourly-day-pill.is-active {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.16) !important;
    color: #34d399 !important;
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.25);
}

.support-hourly-day-pill.is-today:not(.is-active) {
    border-color: rgba(16, 185, 129, 0.45);
    color: #6ee7b7;
}

.support-hourly-content {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 0;
}

.support-hourly-middle-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 6px;
}

.support-hourly-middle-row .support-hourly-row {
    width: calc(50% - 4px);
}

.support-hourly-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    align-items: start;
    width: 100%;
}

.support-hourly-col {
    display: flex;
    flex-direction: column;
    gap: 4.5px;
    min-width: 0;
}

.support-hourly-row {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 2px 8px;
    min-height: 26px;
    height: 26px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.035);
    background: rgba(255, 255, 255, 0.018);
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-align: left;
    transition: background 150ms ease, border-color 150ms ease;
    min-width: 0;
    box-sizing: border-box;
}

.support-hourly-row:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
}

.support-hourly-row.is-current {
    border-color: rgba(16, 185, 129, 0.65) !important;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.12), rgba(16, 185, 129, 0.04)) !important;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.28), inset 0 0 0 1px rgba(16, 185, 129, 0.18) !important;
}

.support-hourly-row.is-current .support-hourly-slot {
    color: #34d399 !important;
    font-weight: 800;
}

.support-hourly-row.is-current:hover {
    border-color: #10b981 !important;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.18), rgba(16, 185, 129, 0.07)) !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.38), inset 0 0 0 1px rgba(16, 185, 129, 0.30) !important;
}

.support-hourly-slot {
    font-size: 12px;
    font-weight: 750;
    color: #e2e8f0;
    white-space: nowrap;
    letter-spacing: -0.2px;
    font-variant-numeric: tabular-nums;
}

.support-hourly-bar-shell {
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    min-width: 14px;
    width: 100%;
}

.support-hourly-bar-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: #10b981;
    transition: width 200ms ease, background 200ms ease;
}

.support-hourly-bar-fill.is-green,
.support-hourly-bar-fill.is-good {
    background: #10b981;
}

.support-hourly-bar-fill.is-yellow,
.support-hourly-bar-fill.is-warn {
    background: #f59e0b;
}

.support-hourly-bar-fill.is-red,
.support-hourly-bar-fill.is-danger {
    background: #ef4444;
}

.support-hourly-total {
    display: inline-flex;
    align-items: baseline;
    justify-content: flex-end;
    gap: 3px;
    white-space: nowrap;
    min-width: 64px;
    font-variant-numeric: tabular-nums;
}

.support-hourly-count {
    font-size: 13px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1;
}

.support-hourly-unit {
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1;
}

.support-startup-panel.is-expanded .support-startup-list {
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 8px;
}

.support-startup-list.is-expanded {
    overflow-x: auto;
    overflow-y: hidden;
    padding-right: 4px;
}

.support-startup-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 88px;
    border-radius: 16px;
    border: 1px dashed rgba(129, 169, 255, 0.18);
    color: rgba(211, 226, 255, 0.72);
    background: rgba(10, 18, 35, 0.52);
}

.support-startup-chart {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 8px;
    align-items: stretch;
    min-height: 0;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

.support-startup-panel.is-expanded .support-startup-chart {
    min-height: 100%;
}

.support-startup-bar-card {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    align-content: center;
    gap: 5px;
    min-width: 0;
    min-height: 146px;
    height: 100%;
    padding: 9px 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(99, 143, 211, 0.24);
    background:
        linear-gradient(180deg, rgba(16, 33, 63, 0.86), rgba(11, 25, 50, 0.9));
    box-shadow: none;
    color: #eef4ff;
    font: inherit;
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.support-startup-bar-card:hover {
    transform: none;
    border-color: rgba(99, 200, 255, 0.34);
    background:
        linear-gradient(180deg, rgba(18, 38, 72, 0.9), rgba(12, 28, 56, 0.94));
    box-shadow: none;
}

.support-startup-bar-card:focus-visible {
    outline: 2px solid rgba(99, 200, 255, 0.42);
    outline-offset: 2px;
}

.support-startup-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    min-width: 0;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(129, 169, 255, 0.13);
}

.support-startup-card-name {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.support-startup-bar-operator {
    min-width: 0;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.05;
    color: #eef4ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-startup-bar-count {
    font-size: 11px;
    color: rgba(198, 219, 255, 0.72);
    line-height: 1.1;
}

.support-startup-card-metrics {
    display: grid;
    align-content: stretch;
    gap: 5px;
    min-width: 0;
}

.support-startup-card-metric {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    min-width: 0;
}

.support-startup-metric-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 3px;
    min-width: 0;
}

.support-startup-metric-main {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.support-startup-card-label {
    min-width: 0;
    color: rgba(238, 244, 255, 0.86);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.08;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-startup-time-row {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.support-startup-card-icon {
    position: relative;
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    border-radius: 999px;
    border: 2px solid #2da4ff;
    box-shadow: none;
}

.support-startup-card-icon::before,
.support-startup-card-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    background: currentColor;
    border-radius: 999px;
    transform-origin: left center;
}

.support-startup-card-icon::before {
    width: 5px;
    height: 2px;
    color: #56b8ff;
    transform: translate(-1px, -1px) rotate(42deg);
}

.support-startup-card-icon::after {
    width: 2px;
    height: 5px;
    color: #56b8ff;
    transform: translate(-1px, -5px);
}

.support-startup-card-metric.is-received .support-startup-card-icon {
    border-color: #ff9f24;
    box-shadow: none;
}

.support-startup-card-metric.is-received .support-startup-card-icon::before,
.support-startup-card-metric.is-received .support-startup-card-icon::after {
    color: #ff9f43;
}

.support-startup-bar-time {
    justify-self: start;
    font-size: 16px;
    font-weight: 900;
    color: #56b8ff;
    white-space: nowrap;
    line-height: 1.05;
    letter-spacing: 0;
}

.support-startup-bar-time-received {
    color: #ffcc7a;
}

.support-startup-bar-shell {
    position: relative;
    display: block;
    min-height: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(11, 22, 43, 0.86);
    border: 1px solid rgba(98, 126, 183, 0.18);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.34);
    overflow: visible;
}

.support-startup-bar-fill {
    position: absolute;
    top: 1px;
    bottom: 1px;
    left: 1px;
    display: block;
    min-width: 0;
    border-radius: 999px;
}

.support-startup-bar-fill-entry {
    width: max(0px, calc(var(--startup-entry-width, 0%) - 2px));
    background: linear-gradient(90deg, #2b8cff, #56b8ff);
    box-shadow: none;
}

.support-startup-bar-fill-received {
    width: max(0px, calc(var(--startup-received-width, 0%) - 2px));
    background: linear-gradient(90deg, #ffbd66, #ff941f);
    box-shadow: none;
}

.support-startup-legend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.support-startup-legend-header {
    justify-content: flex-end;
    gap: 10px;
    margin-right: 4px;
}

.support-startup-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(220, 233, 255, 0.84);
}

.support-startup-legend-swatch {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #8fe4ff, #56b8ff);
    box-shadow: 0 0 12px rgba(99, 200, 255, 0.2);
}

.support-startup-legend-swatch-received {
    background: linear-gradient(180deg, #ffd18a, #ff9f43);
    box-shadow: 0 0 12px rgba(255, 159, 67, 0.2);
}

.support-startup-bar-label {
    display: none;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #eef4ff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-startup-panel.is-expanded .support-startup-chart {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(236px, 1fr);
    gap: 10px;
    padding-bottom: 12px;
}

.support-startup-panel.is-expanded .support-startup-bar-card {
    align-self: start;
    min-height: 128px;
}

.support-startup-panel:not(.is-expanded) .support-startup-bar-label {
    display: none;
}

.support-startup-panel.is-expanded .support-startup-bar-shell {
    min-height: 10px;
}

.support-trend-panel {
    position: relative;
    z-index: 2;
    height: 54px;
    min-height: 54px;
    max-height: 54px;
    align-self: start;
    padding-top: 0;
    padding-bottom: 0;
    overflow: hidden;
    transition: max-height 180ms ease, box-shadow 180ms ease;
}

.support-trend-panel.is-expanded {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    z-index: 4;
    height: auto;
    min-height: 0;
    max-height: none;
    align-self: stretch;
    box-shadow: 0 22px 42px rgba(2, 6, 23, 0.42);
}

.support-trend-panel .panel-header {
    min-height: 100%;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    gap: 10px;
}

.support-trend-panel.is-expanded .panel-header {
    min-height: 0;
    height: auto;
    flex: 0 0 auto;
    padding-top: 10px;
    padding-bottom: 4px;
}

.support-trend-panel .chart-totals {
    flex: 0 0 auto;
}

.support-trend-panel:not(.is-expanded) .chart-totals,
.support-trend-panel:not(.is-expanded) .support-weekly-chart-shell {
    display: none;
}

.support-trend-panel #support-weekly-toggle {
    min-width: 86px;
    min-height: 28px;
    padding: 5px 12px;
}

.support-live-panel {
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-top: 8px;
}

.support-live-panel .panel-header {
    padding-bottom: 2px;
    margin-bottom: 0;
}

.support-live-panel .panel-header h3 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 750;
    color: #eef4ff;
    line-height: 1.1;
    white-space: nowrap;
}

.support-live-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.support-live-panel-title {
    min-width: 0;
}

.support-live-panel-updated {
    margin: 0;
    font-size: 11px;
    color: rgba(198, 219, 255, 0.72);
    text-align: right;
    white-space: nowrap;
    flex: 0 0 auto;
}

.support-live-handling-list {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 8px;
    align-items: stretch;
    overflow-x: hidden;
    overflow-y: hidden;
    padding-right: 0;
    padding-top: 6px;
    padding-bottom: 2px;
}

.support-live-handling-list::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.support-live-handling-list::-webkit-scrollbar-thumb {
    background: rgba(120, 162, 230, 0.22);
    border-radius: 999px;
}

.support-live-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    min-width: 0;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    padding: 6px 6px 5px;
    border-radius: 16px;
    border: 1px solid rgba(120, 162, 230, 0.18);
    background: linear-gradient(180deg, rgba(9, 20, 40, 0.88), rgba(12, 24, 46, 0.7));
}

.support-live-row-operator {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(120, 162, 230, 0.12);
}

.support-live-row-operator strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 750;
    color: #f1f5f9;
}

.support-live-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex: 0 0 10px;
    box-shadow: 0 0 0 2px rgba(7, 16, 33, 0.7);
}

.support-live-status-button {
    border: 0;
    padding: 0;
    cursor: pointer;
}

.support-live-status-button:disabled {
    cursor: not-allowed;
    filter: saturate(0.85);
    opacity: 0.62;
}

.support-live-status-button:focus-visible {
    outline: 2px solid rgba(125, 224, 255, 0.9);
    outline-offset: 3px;
}

.support-availability-menu {
    position: absolute;
    z-index: 80;
    min-width: 152px;
    padding: 8px;
    border: 1px solid rgba(133, 181, 255, 0.28);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(20, 34, 62, 0.98), rgba(8, 16, 32, 0.98));
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
}

.support-availability-menu button {
    width: 100%;
    min-height: 36px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #dceaff;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 10px;
}

.support-availability-menu button:hover,
.support-availability-menu button:focus-visible {
    background: rgba(111, 164, 245, 0.16);
    outline: none;
}

.support-availability-menu-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    flex: 0 0 8px;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.support-availability-menu-dot--available {
    background: #43d787;
}

.support-availability-menu-dot--warning {
    background: #f5c94a;
}

.support-availability-menu-dot--unavailable {
    background: #ff6b6b;
}

.support-availability-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(5, 10, 22, 0.58);
    backdrop-filter: blur(8px);
}

.support-availability-dialog {
    width: min(440px, 100%);
    border: 1px solid rgba(133, 181, 255, 0.26);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(20, 34, 62, 0.98), rgba(8, 16, 32, 0.98));
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    padding: 18px;
}

.support-availability-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.support-availability-dialog h4 {
    margin: 0;
    color: #f2f7ff;
    font-size: 16px;
}

.support-availability-dialog p {
    margin: 10px 0 14px;
    color: rgba(213, 229, 255, 0.76);
    font-size: 13px;
    line-height: 1.45;
}

.support-availability-dialog-close {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(126, 168, 232, 0.18);
    border-radius: 8px;
    background: rgba(94, 132, 190, 0.12);
    color: #dceaff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.support-availability-reason-input {
    width: 100%;
    resize: vertical;
    min-height: 94px;
    border: 1px solid rgba(121, 184, 255, 0.34);
    border-radius: 8px;
    background: rgba(5, 13, 28, 0.72);
    color: #eef5ff;
    padding: 12px;
    font: inherit;
    line-height: 1.4;
    outline: none;
}

.support-availability-reason-input:focus {
    border-color: rgba(112, 224, 255, 0.82);
    box-shadow: 0 0 0 3px rgba(112, 224, 255, 0.12);
}

.support-availability-dialog-error {
    margin-top: 8px;
    color: #ff9aa8;
    font-size: 12px;
    font-weight: 700;
}

.support-availability-dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 16px;
}

.support-availability-dialog-button {
    min-height: 36px;
    border-radius: 8px;
    padding: 0 14px;
    border: 1px solid rgba(132, 177, 244, 0.24);
    color: #eaf3ff;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.support-availability-dialog-button.is-secondary {
    background: rgba(94, 132, 190, 0.12);
}

.support-availability-dialog-button.is-primary {
    border-color: rgba(112, 224, 255, 0.38);
    background: linear-gradient(135deg, rgba(70, 178, 219, 0.88), rgba(45, 122, 201, 0.88));
}

.support-live-status-dot--available {
    background: #43d787;
}

.support-live-status-dot--warning {
    background: #f5c94a;
}

.support-live-status-dot--unavailable {
    background: #ff6b6b;
}

.support-live-row-operator > span {
    font-size: 10.5px;
    font-weight: 600;
    color: #94a3b8;
}

.support-live-row-tickets {
    flex: 1;
    min-height: 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow-y: auto;
    padding-bottom: 1px;
    padding-right: 0;
    scrollbar-gutter: auto;
}

.support-live-row-tickets.has-scroll {
    max-height: 100%;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-gutter: stable;
}

.support-live-row-tickets::-webkit-scrollbar {
    width: 6px;
}

.support-live-row-tickets::-webkit-scrollbar-thumb {
    background: rgba(120, 162, 230, 0.18);
    border-radius: 999px;
}

.support-live-ticket {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    gap: 2px;
    align-items: flex-start;
    min-width: 0;
    padding: 5px 7px;
    border-radius: 12px;
    background: rgba(7, 16, 33, 0.72);
    border: 1px solid rgba(120, 162, 230, 0.12);
}

.support-live-ticket.is-urgent {
    border-color: rgba(255, 95, 115, 0.82);
    box-shadow:
        inset 0 0 0 1px rgba(255, 95, 115, 0.18),
        0 0 0 1px rgba(255, 95, 115, 0.18),
        0 0 18px rgba(255, 68, 92, 0.26);
    animation: urgentTicketPulse 1.15s ease-in-out infinite;
}

.support-live-ticket-protocol {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    color: #63c8ff;
    white-space: nowrap;
    text-decoration: none;
}

a.support-live-ticket-protocol:hover {
    color: #8cdbff;
    text-decoration: underline;
}

.support-live-ticket-title {
    min-width: 0;
    font-size: 11.5px;
    font-weight: 650;
    line-height: 1.25;
    color: #e2e8f0;
    white-space: normal;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.support-live-ticket-meta {
    min-width: 0;
    font-size: 10px;
    font-weight: 600;
    color: #94a3b8;
    white-space: normal;
    line-height: 1.35;
}

.support-live-ticket-time {
    display: grid;
    gap: 1px;
    width: 100%;
    margin-top: 2px;
    padding: 5px 7px;
    border-radius: 10px;
    border: 1px dashed rgba(159, 180, 217, 0.34);
    background: rgba(255, 255, 255, 0.02);
}

.support-live-ticket-time-label {
    font-size: 9.5px;
    font-weight: 600;
    color: #94a3b8;
    line-height: 1.2;
}

.support-live-ticket-time-value {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: normal;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
}

.support-live-ticket-empty {
    font-size: 12px;
    color: rgba(198, 219, 255, 0.72);
    padding: 6px 0;
}

.support-live-no-interaction {
    display: grid;
    gap: 3px;
    min-width: 0;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: 0;
    color: #ffffff;
    animation: supportNoInteractionBlink 1s steps(2, start) infinite;
}

.support-live-no-interaction-label {
    color: #ffffff;
    font-weight: 700;
}

.support-live-no-interaction-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    min-width: 0;
}

.support-live-no-interaction-protocol {
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

a.support-live-no-interaction-protocol:hover {
    color: #ffffff;
    text-decoration: underline;
}

@keyframes supportNoInteractionBlink {
    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0.24;
    }
}

.support-grid-main-primary.is-weekly-expanded {
    grid-template-rows: 54px minmax(0, 1fr) 0;
}

.support-grid-main-primary.is-weekly-expanded .support-trend-panel.is-expanded {
    grid-row: 2 / 4;
}

.support-grid-main-primary.is-weekly-expanded .support-live-panel {
    display: none;
}

.support-grid-main .operator-handling-list {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: none;
    padding-right: 6px;
    padding-bottom: 0;
}

.support-grid-main > .operator-handling-panel {
    padding-top: 0;
    padding-bottom: 8px;
}

.support-grid-main > .operator-handling-panel .panel-header {
    min-height: 42px;
    flex: 0 0 auto;
    align-items: center;
    margin-bottom: 4px;
    padding-top: 0;
    padding-bottom: 0;
    gap: 10px;
}

.support-grid-main > .operator-handling-panel .panel-header h3 {
    line-height: 1.1;
}

.support-grid-main > .operator-handling-panel .panel-header-actions-group {
    align-items: center;
}

#support-weekly-chart {
    display: block;
}

.support-weekly-chart-shell {
    position: relative;
    flex: 1;
    min-height: 0;
}

.support-weekly-chart-badges {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: visible;
}

.support-weekly-chart-badge-group {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.support-weekly-chart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 26px;
    padding: 0 11px;
    border-radius: 999px;
    background: #08111f;
    box-shadow:
        inset 0 0 0 1px var(--badge-color, #67b7ff),
        0 8px 18px rgba(2, 8, 23, 0.22);
    color: #eef4ff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

#support-weekly-chart {
    width: 100%;
    min-height: 0;
    height: 100%;
    flex: 1;
    cursor: pointer;
}

.support-grid-main .operator-handling-chart-horizontal {
    justify-content: flex-start;
    height: 100%;
    gap: 5px;
    padding: 0 0 2px 0;
}

.support-grid-main .operator-handling-row {
    grid-template-columns: minmax(78px, 82px) minmax(0, 1fr) 104px;
    gap: 4px;
    min-height: 55px;
    padding: 7px 10px 7px 10px;
    border: 1px solid rgba(112, 148, 214, 0.18);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(9, 20, 40, 0.88), rgba(12, 24, 46, 0.7));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.support-grid-main .operator-handling-row-label {
    min-width: 0;
    overflow: hidden;
    color: #f3f7ff;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-grid-main .operator-handling-row-bars {
    gap: 5px;
    padding: 0 8px 0 0;
}

.support-grid-main .operator-handling-row-value {
    min-width: 76px;
    color: #ffd15c;
    font-size: 15px;
    font-weight: 900;
    text-align: left;
    font-variant-numeric: tabular-nums;
}

.support-grid-main .operator-handling-row-track {
    height: 12px;
    border: 0;
    background: rgba(27, 45, 78, 0.72);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.18);
}

.support-grid-main .operator-handling-row-track-secondary {
    height: 11px;
    background: rgba(27, 45, 78, 0.58);
}

.support-grid-main .operator-handling-row-line {
    gap: 14px;
}

.support-grid-main .operator-handling-row-line-secondary .operator-handling-row-value {
    color: #79dfff;
}

.support-grid-main .operator-handling-ticket-card {
    width: 96px;
    min-width: 0;
    max-width: none;
    height: 42px;
    margin: 0;
    align-self: center;
    justify-self: end;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 4px 8px;
    border-radius: 8px;
    border: 1px solid rgba(112, 148, 214, 0.28);
    background: rgba(7, 16, 33, 0.72);
    color: #eef4ff;
    transform: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 8px 18px rgba(0, 0, 0, 0.16);
}

.support-grid-main button.operator-handling-ticket-card {
    cursor: pointer;
}

.support-grid-main button.operator-handling-ticket-card:hover,
.support-grid-main button.operator-handling-ticket-card:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(125, 214, 255, 0.44);
    background: rgba(14, 29, 52, 0.92);
    outline: none;
}

.support-grid-main .operator-handling-ticket-card span:first-child {
    color: #dbe8ff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.support-grid-main .operator-handling-ticket-card strong {
    color: #f6f9ff;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
}

.support-grid-main .operator-handling-list {
    display: flex;
    flex-direction: column;
}

.support-grid-main .support-apoio-treatment-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 78px;
    gap: 7px;
    flex: 0 0 auto;
    margin: 0 6px 6px 0;
}

.support-grid-main .support-apoio-treatment-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    grid-column: 1 / -1;
    min-width: 0;
}

.support-grid-main .support-apoio-treatment-card,
.support-grid-main .support-apoio-treatment-category-card,
.support-grid-main .support-apoio-treatment-all-button {
    min-width: 0;
    min-height: 78px;
    border: 1px solid rgba(112, 148, 214, 0.2);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(9, 20, 36, 0.94), rgba(7, 15, 27, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.support-grid-main .support-apoio-treatment-card {
    position: relative;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 1px;
    padding: 8px 7px 7px;
    color: #eef4ff;
    cursor: pointer;
    overflow: hidden;
}

.support-grid-main .support-apoio-treatment-card::after {
    content: "";
    position: absolute;
    inset: auto 14px 6px;
    height: 22px;
    border-radius: 50%;
    background: radial-gradient(closest-side, var(--support-apoio-glow, rgba(99, 200, 255, 0.56)), transparent);
    opacity: 0.35;
    filter: blur(2px);
}

.support-grid-main .support-apoio-treatment-sparkline {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 5px;
    z-index: 1;
    width: calc(100% - 16px);
    height: 22px;
    opacity: 0.78;
    pointer-events: none;
}

.support-grid-main .support-apoio-treatment-sparkline polyline {
    fill: none;
    stroke: var(--support-apoio-accent, #63c8ff);
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 4px var(--support-apoio-glow, rgba(99, 200, 255, 0.5)));
}

.support-grid-main .support-apoio-treatment-card.is-cyan {
    --support-apoio-accent: #63c8ff;
    --support-apoio-glow: rgba(99, 200, 255, 0.75);
}

.support-grid-main .support-apoio-treatment-card.is-red {
    --support-apoio-accent: #ff6b7e;
    --support-apoio-glow: rgba(255, 107, 126, 0.72);
}

.support-grid-main .support-apoio-treatment-card.is-violet {
    --support-apoio-accent: #b28cff;
    --support-apoio-glow: rgba(178, 140, 255, 0.72);
}

.support-grid-main .support-apoio-treatment-card.is-green {
    --support-apoio-accent: #63f0a2;
    --support-apoio-glow: rgba(99, 240, 162, 0.72);
}

.support-grid-main .support-apoio-treatment-card:hover,
.support-grid-main .support-apoio-treatment-card:focus-visible,
.support-grid-main .support-apoio-treatment-category-pill:hover,
.support-grid-main .support-apoio-treatment-category-pill:focus-visible,
.support-grid-main .support-apoio-treatment-category-mini:hover,
.support-grid-main .support-apoio-treatment-category-mini:focus-visible,
.support-grid-main .support-apoio-treatment-all-button:hover,
.support-grid-main .support-apoio-treatment-all-button:focus-visible {
    border-color: rgba(125, 214, 255, 0.44);
    background: linear-gradient(180deg, rgba(13, 27, 48, 0.98), rgba(8, 18, 34, 0.94));
    outline: none;
}

.support-grid-main .support-apoio-treatment-card span,
.support-grid-main .support-apoio-treatment-card strong,
.support-grid-main .support-apoio-treatment-card small {
    position: relative;
    z-index: 1;
}

.support-grid-main .support-apoio-treatment-card span {
    max-width: 100%;
    overflow: hidden;
    color: #dfeaff;
    font-size: 9px;
    font-weight: 900;
    line-height: 1.08;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

.support-grid-main .support-apoio-treatment-card strong {
    color: var(--support-apoio-accent, #63c8ff);
    font-size: 25px;
    font-weight: 950;
    line-height: 0.95;
    text-shadow: 0 0 16px var(--support-apoio-glow, rgba(99, 200, 255, 0.45));
    font-variant-numeric: tabular-nums;
}

.support-grid-main .support-apoio-treatment-card small {
    color: #9fb4d9;
    font-size: 9px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 12px;
}

.support-grid-main .support-apoio-treatment-category-card {
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 4px;
    padding: 6px 7px;
    min-height: 76px;
}

.support-grid-main .support-apoio-treatment-category-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: #e8f1ff;
    font-size: 9px;
    font-weight: 950;
    line-height: 1;
    text-transform: uppercase;
}

.support-grid-main .support-apoio-treatment-category-head strong {
    color: #f6f9ff;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
}

.support-grid-main .support-apoio-treatment-category-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
    min-width: 0;
}

.support-grid-main .support-apoio-treatment-category-mini {
    position: relative;
    min-width: 0;
    min-height: 52px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 0;
    padding: 5px 5px 4px;
    overflow: hidden;
    border: 1px solid rgba(99, 200, 255, 0.2);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(8, 18, 33, 0.92), rgba(5, 12, 23, 0.9));
    color: #dbe8ff;
    cursor: pointer;
}

.support-grid-main .support-apoio-treatment-category-mini span {
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow: hidden;
    color: #dfeaff;
    font-size: 8px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.support-grid-main .support-apoio-treatment-category-mini strong {
    position: relative;
    z-index: 1;
    color: #79dfff;
    font-size: 18px;
    font-weight: 950;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.support-grid-main .support-apoio-treatment-category-mini small {
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
    color: #9fb4d9;
    font-size: 7px;
    font-weight: 800;
    line-height: 1;
}

.support-grid-main .support-apoio-treatment-category-pill {
    min-width: 0;
    height: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px;
    padding: 0 6px;
    border: 1px solid rgba(99, 200, 255, 0.22);
    border-radius: 5px;
    background: rgba(5, 14, 26, 0.82);
    color: #dbe8ff;
    cursor: pointer;
}

.support-grid-main .support-apoio-treatment-category-pill span {
    overflow: hidden;
    font-size: 9px;
    font-weight: 850;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-grid-main .support-apoio-treatment-category-pill strong {
    color: #79dfff;
    font-size: 11px;
    font-weight: 950;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.support-grid-main .support-apoio-treatment-category-empty {
    grid-column: 1 / -1;
    align-self: center;
    color: #9fb4d9;
    font-size: 11px;
    font-weight: 800;
}

.support-grid-main .support-apoio-treatment-all-button {
    padding: 0 8px;
    color: #eef4ff;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
    min-height: 76px;
}

.support-grid-main .operator-handling-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex: 0 0 auto;
    min-height: 16px;
    padding: 0 8px 3px 0;
    color: #9fb4d9;
    font-size: 10px;
    font-weight: 800;
}

.support-grid-main .operator-handling-legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.support-grid-main .operator-handling-legend i {
    width: 16px;
    height: 6px;
    border-radius: 999px;
}

.support-grid-main .operator-handling-legend-total {
    background: linear-gradient(90deg, #e1b347, #ffd38b);
}

.support-grid-main .operator-handling-legend-average {
    background: linear-gradient(90deg, #4aaee3, #92dbff);
}

.support-grid-main .operator-handling-chart-horizontal {
    flex: 1;
    min-height: 0;
}

.support-grid-main .operator-handling-row {
    grid-template-columns: minmax(70px, 78px) minmax(0, 1fr) 86px;
    min-height: 36px;
    padding: 4px 8px 4px 10px;
}

.support-grid-main .operator-handling-row-label {
    font-size: 13px;
}

.support-grid-main .operator-handling-row-bars {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.58fr);
    align-items: center;
    gap: 18px;
    padding: 0 6px 0 0;
}

.support-grid-main .operator-handling-row-line {
    gap: 8px;
}

.support-grid-main .operator-handling-row-value {
    min-width: 70px;
    font-size: 12px;
}

.support-grid-main .operator-handling-row-track {
    height: 9px;
}

.support-grid-main .operator-handling-row-track-secondary {
    height: 8px;
}

.support-grid-main .operator-handling-ticket-card {
    width: 78px;
    height: 30px;
    padding: 2px 6px;
    transform: translateY(-1px);
}

.support-grid-main button.operator-handling-ticket-card:hover,
.support-grid-main button.operator-handling-ticket-card:focus-visible {
    transform: translateY(-1px);
}

.support-grid-main .operator-handling-ticket-card span:first-child {
    font-size: 8.5px;
    font-weight: 700;
    line-height: 1;
    color: #94a3b8;
}

.support-grid-main .operator-handling-ticket-card strong {
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.support-auto-pill {
    cursor: default;
    pointer-events: none;
}

.support-mini-chart {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    min-height: 240px;
    align-items: end;
}

.support-mini-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.support-mini-bars {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 170px;
    padding: 0 6px;
    border-radius: 18px 18px 12px 12px;
    background: linear-gradient(180deg, rgba(11, 19, 36, 0.18), rgba(11, 19, 36, 0.42));
    border: 1px solid rgba(98, 126, 183, 0.12);
}

.support-mini-bar {
    width: 18px;
    border-radius: 999px 999px 6px 6px;
    min-height: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.16);
}

.support-mini-bar-open {
    background: linear-gradient(180deg, #7fd9ff, #45a8d7);
}

.support-mini-bar-closed {
    background: linear-gradient(180deg, #84ffb6, #33df78);
}

.support-mini-values {
    display: flex;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    color: #dce9ff;
}

.support-mini-label {
    font-size: 12px;
    color: #9eb4d8;
    font-weight: 700;
}

.support-compare-day-bars {
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 5px;
    width: 100%;
    height: 86px;
}

.support-compare-day-bar {
    width: 9px;
    min-height: 4px;
    border-radius: 999px 999px 4px 4px;
}

.support-compare-day-bar-open {
    background: linear-gradient(180deg, #86ddff, #4aaee3);
}

.support-compare-day-bar-closed {
    background: linear-gradient(180deg, #8effbd, #36dd7d);
}

.support-compare-operator-name {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #eef4ff;
    letter-spacing: -0.02em;
    min-height: 28px;
}

.support-compare-operator-name > span {
    min-width: 0;
}

.support-compare-operator-name .weekly-summary-button {
    flex: 0 0 auto;
    width: 26px;
    height: 22px;
    margin-top: 0;
}

.support-compare-metrics-card {
    margin-top: 2px;
    height: 100%;
    padding: 6px 5px 7px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(14, 25, 49, 0.96), rgba(9, 18, 34, 0.96));
    box-shadow:
        0 10px 24px rgba(4, 10, 22, 0.22);
    overflow: hidden;
}

.support-compare-metrics-top-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
}

.support-compare-metric-row {
    min-width: 0;
}

.support-compare-metric-tile {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    grid-template-rows: minmax(28px, auto) 24px;
    column-gap: 4px;
    min-height: 68px;
    padding: 8px 7px 8px;
    border: 1px solid color-mix(in srgb, var(--blue) 22%, transparent);
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(13, 25, 49, 0.92), rgba(8, 17, 33, 0.94));
    box-shadow: none;
}

.support-compare-metric-tile:nth-child(1) {
    border-top-left-radius: 10px;
    border-color: color-mix(in srgb, var(--blue) 46%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--blue) 26%, rgba(13, 25, 49, 0.94)), rgba(8, 17, 33, 0.94));
}

.support-compare-metric-tile:nth-child(2) {
    border-top-right-radius: 10px;
    border-color: color-mix(in srgb, var(--green) 46%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, var(--green) 24%, rgba(13, 25, 49, 0.94)), rgba(8, 17, 33, 0.94));
}

.support-compare-metric-tile:nth-child(2) .support-compare-metric-icon {
    color: var(--green);
}

.support-compare-metric-tile:nth-child(3) {
    border-bottom-left-radius: 10px;
    border-color: color-mix(in srgb, #ffd66b 46%, transparent);
    background: linear-gradient(180deg, color-mix(in srgb, #ffd66b 24%, rgba(13, 25, 49, 0.94)), rgba(8, 17, 33, 0.94));
}

.support-compare-metric-tile:nth-child(3) .support-compare-metric-icon {
    color: #ffd66b;
}

.support-compare-metric-tile:nth-child(4) {
    border-bottom-right-radius: 10px;
    border-color: rgba(255, 255, 255, 0.42);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(8, 17, 33, 0.94));
}

.support-compare-metric-tile:nth-child(4) .support-compare-metric-icon {
    color: #ffffff;
}

.support-compare-metric-tile .support-compare-metric-label {
    grid-column: 1 / -1;
    align-self: start;
    min-height: 0;
    color: rgba(221, 236, 255, 0.92);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.12;
}

.support-compare-metric-tile .support-compare-metric-icon {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
    align-self: end;
    width: 17px;
    height: 17px;
}

.support-compare-metric-tile .support-compare-metric-icon svg {
    width: 17px;
    height: 17px;
}

.support-compare-metric-tile .support-compare-metric-value {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: end;
    justify-self: end;
    min-width: 0;
    max-width: 100%;
    padding-left: 0;
    color: #eef4ff;
    font-size: 22px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-align: right;
}

.support-compare-metric-tile:nth-child(3) .support-compare-metric-value {
    font-size: 20px;
    letter-spacing: -0.05em;
}

.support-compare-metrics-section {
    margin-top: 6px;
    padding: 0 8px 3px;
    border-top: 1px solid color-mix(in srgb, var(--blue) 22%, transparent);
}

.support-compare-metrics-section-title {
    padding: 7px 0 5px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    text-transform: uppercase;
}

.support-compare-metrics-lines {
    display: grid;
}

.support-compare-metric-line {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px;
    min-height: 23px;
    border-bottom: 1px solid rgba(126, 163, 216, 0.08);
}

.support-compare-metric-line:last-child {
    border-bottom: none;
}

.support-compare-metric-line .support-compare-metric-label {
    min-width: 0;
    overflow: hidden;
    color: rgba(208, 225, 250, 0.9);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-compare-metric-line .support-compare-metric-value {
    color: #eef4ff;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.25;
    text-align: right;
    white-space: nowrap;
}

.support-compare-metric-row-volume .support-compare-metric-value {
    font-size: 12px;
    letter-spacing: -0.03em;
}

.support-compare-metric-row-green .support-compare-metric-value {
    color: var(--green);
}

.support-compare-metric-row-red .support-compare-metric-value {
    color: var(--red);
}

.support-compare-metric-row.is-clickable {
    cursor: pointer;
    transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.support-compare-metric-row.is-clickable:hover {
    background: color-mix(in srgb, var(--blue) 14%, transparent);
    border-color: color-mix(in srgb, var(--blue) 38%, transparent);
}

.support-compare-metric-row.is-clickable:focus-visible {
    outline: 2px solid rgba(114, 198, 255, 0.72);
    outline-offset: -1px;
    background: rgba(108, 159, 255, 0.12);
    box-shadow: inset 0 0 0 1px rgba(114, 198, 255, 0.18);
}

.support-compare-metric-row.is-clickable .support-compare-metric-label,
.support-compare-metric-row.is-clickable .support-compare-metric-value {
    user-select: none;
}

.support-compare-metric-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    color: var(--blue);
}

.support-compare-metric-icon svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-compare-month-card {
    --month-balance-color: #a9bad7;
    --month-open-color: #4bbdff;
    --month-closed-color: #55e89a;
    display: grid;
    gap: 12px;
    margin-top: 0;
    padding: 10px;
    border-radius: 16px;
    border: 1px solid rgba(110, 145, 209, 0.16);
    background:
        linear-gradient(180deg, rgba(14, 26, 48, 0.94), rgba(9, 18, 34, 0.90));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 10px 24px rgba(4, 10, 22, 0.20);
}

.support-compare-month-card-green {
    --month-balance-color: #39e585;
}

.support-compare-month-card-red {
    --month-balance-color: #ff7370;
}

.support-compare-month-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(136, 165, 218, 0.10);
}

.support-compare-month-title {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.support-compare-month-title-icon {
    position: relative;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(110, 145, 209, 0.18);
    background: rgba(10, 24, 46, 0.82);
    box-shadow: inset 0 0 12px rgba(99, 200, 255, 0.08);
}

.support-compare-month-title-icon::before {
    content: "";
    position: absolute;
    left: 7px;
    right: 9px;
    top: 9px;
    bottom: 11px;
    border: 3px solid #8ed0ff;
    border-bottom: none;
    border-radius: 14px 14px 0 0;
}

.support-compare-month-title-icon::after {
    content: "";
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 8px;
    height: 5px;
    border-radius: 999px;
    background: #8ed0ff;
    box-shadow:
        -6px -1px 0 -1px #8ed0ff,
        6px -1px 0 -1px #8ed0ff;
}

.support-compare-month-title div {
    min-width: 0;
    display: grid;
    gap: 0;
    justify-items: center;
    text-align: center;
}

.support-compare-month-title span:not(.support-compare-month-title-icon) {
    color: #eef4ff;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0;
}

.support-compare-month-title small {
    display: block;
    justify-self: center;
    margin-top: 3px;
    color: #8eb8f3;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

.support-compare-month-period {
    width: 100%;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid rgba(110, 145, 209, 0.16);
    background: rgba(8, 18, 34, 0.76);
}

.support-compare-month-period span {
    position: relative;
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    border: 2px solid #299fff;
    border-radius: 3px;
}

.support-compare-month-period span::before {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    top: 4px;
    height: 2px;
    border-radius: 999px;
    background: #299fff;
}

.support-compare-month-period strong {
    color: #eef4ff;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.support-compare-month-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.support-compare-month-stat {
    position: relative;
    appearance: none;
    display: grid;
    justify-items: center;
    align-content: center;
    min-width: 0;
    min-height: 84px;
    padding: 10px 9px;
    text-align: center;
    border-radius: 12px;
    border: 1px solid rgba(110, 145, 209, 0.14);
    background:
        linear-gradient(180deg, rgba(11, 25, 47, 0.88), rgba(7, 17, 32, 0.86));
    font: inherit;
    overflow: visible;
}

.support-compare-month-stat::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--month-stat-color, #4bbdff);
}

.support-compare-month-stat-open {
    --month-stat-color: var(--month-open-color);
}

.support-compare-month-stat-closed {
    --month-stat-color: var(--month-closed-color);
}

.support-compare-month-stat-icon {
    position: relative;
    display: block;
    width: 28px;
    height: 28px;
    margin: 0 auto 7px;
    border-radius: 999px;
    border: 1px solid rgba(110, 145, 209, 0.16);
    background: rgba(8, 18, 34, 0.78);
}

.support-compare-month-stat-open .support-compare-month-stat-icon::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 5px;
    width: 3px;
    height: 10px;
    border-radius: 999px;
    background: var(--month-open-color);
    transform: translateX(-50%);
}

.support-compare-month-stat-open .support-compare-month-stat-icon::after {
    content: "";
    position: absolute;
    left: 9px;
    top: 11px;
    width: 7px;
    height: 7px;
    border-right: 3px solid var(--month-open-color);
    border-bottom: 3px solid var(--month-open-color);
    transform: rotate(45deg);
}

.support-compare-month-stat-closed .support-compare-month-stat-icon::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 8px;
    width: 10px;
    height: 7px;
    border-left: 3px solid var(--month-closed-color);
    border-bottom: 3px solid var(--month-closed-color);
    transform: rotate(-45deg);
}

.support-compare-month-stat-label {
    display: block;
    width: 100%;
    color: #dce9ff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
}

.support-compare-month-stat strong {
    display: block;
    width: 100%;
    margin-top: 6px;
    color: #eef4ff;
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.support-compare-month-delta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 18px;
    padding: 2px 5px;
    border-radius: 999px;
    color: #a9bad7;
    background: rgba(136, 165, 218, 0.10);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    white-space: nowrap;
}

.support-compare-month-delta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    min-width: 0;
}

.support-compare-month-delta-slot {
    display: flex;
    min-width: 0;
    overflow: hidden;
}

.support-compare-month-delta-icon {
    flex: 0 0 auto;
    font-size: 11px;
    line-height: 1;
}

.support-compare-month-delta-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-compare-month-delta-up,
.support-compare-month-delta-down {
    color: #c3ccd9;
    background: rgba(169, 186, 215, 0.12);
}

.support-compare-month-history-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 3px 8px;
    border-radius: 999px;
    color: #a9bad7;
    background: rgba(136, 165, 218, 0.10);
    font-size: 10px;
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.support-compare-month-stat-art {
    display: none;
}

.support-compare-month-stat-open strong {
    color: #66caff;
}

.support-compare-month-stat-closed strong {
    color: #6cf0a7;
}

.support-compare-month-balance {
    appearance: none;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(110, 145, 209, 0.14);
    background:
        linear-gradient(180deg, rgba(11, 25, 47, 0.86), rgba(7, 17, 32, 0.84));
    color: inherit;
    font: inherit;
}

.support-compare-month-balance-icon {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(110, 145, 209, 0.16);
    background:
        linear-gradient(var(--month-balance-color), var(--month-balance-color)) 7px 16px / 4px 7px no-repeat,
        linear-gradient(var(--month-balance-color), var(--month-balance-color)) 13px 13px / 4px 10px no-repeat,
        linear-gradient(var(--month-balance-color), var(--month-balance-color)) 19px 10px / 4px 13px no-repeat,
        rgba(8, 18, 34, 0.78);
}

.support-compare-month-balance-icon::before {
    content: none;
}

.support-compare-month-balance-icon::after {
    content: none;
}

.support-compare-month-balance span:not(.support-compare-month-balance-icon) {
    color: #dce9ff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.1;
}

.support-compare-month-balance span:not(.support-compare-month-balance-icon) strong {
    display: block;
}

.support-compare-month-balance span:not(.support-compare-month-balance-icon) strong {
    color: #dce9ff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.1;
}

.support-compare-month-balance > strong {
    color: var(--month-balance-color);
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.support-organization-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-organization-row {
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(112, 148, 214, 0.14);
    background: linear-gradient(180deg, rgba(18, 31, 58, 0.68), rgba(12, 22, 41, 0.72));
}

.support-organization-row-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: #eef4ff;
}

.support-organization-row-top strong {
    font-size: 13px;
}

.support-organization-row-top span {
    color: #6cf0a7;
    font-weight: 800;
    white-space: nowrap;
}

.support-organization-row-bar {
    height: 12px;
    border-radius: 999px;
    background: rgba(23, 39, 72, 0.32);
    border: 1px solid rgba(99, 125, 182, 0.12);
    overflow: hidden;
}

.support-organization-row-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #5bd89c, #b6ffd3);
    box-shadow: 0 0 16px rgba(108, 240, 167, 0.22);
}

@media (max-width: 1380px) {
    .hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .support-page:not(.support-page-compact) .hero-grid-general,
    .support-page-compact .hero-grid-general {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .panel-grid, .ticket-card-grid, .panel-grid-hero, .panel-grid-triple { grid-template-columns: 1fr; }
    .support-grid-main { grid-template-columns: 1fr; }
    .support-grid-main-primary {
        height: auto;
        min-height: 0;
        display: grid;
        grid-template-rows: repeat(2, minmax(0, auto));
        gap: 12px;
        overflow: visible;
    }
    .support-startup-panel,
    .support-trend-panel,
    .support-live-panel {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        min-height: 0;
        max-height: none;
        box-shadow: none;
    }
    .support-startup-panel {
        height: auto;
        min-height: 0;
        max-height: none;
    }
    .support-startup-summary-inline {
        display: none;
    }
    .support-trend-panel {
        height: auto;
        overflow: visible;
    }
    .support-live-handling-list {
        grid-template-columns: repeat(7, minmax(0, 1fr));
        gap: 6px;
        overflow-x: hidden;
        overflow-y: hidden;
        padding-right: 0;
    }
    .support-live-row {
        min-width: 0;
        min-height: 232px;
        padding: 6px 6px 5px;
    }
    .support-startup-summary {
        grid-template-columns: 1fr;
    }
    .support-startup-summary-main,
    .support-startup-summary-days {
        grid-template-columns: 1fr;
    }
    .support-startup-chart {
        grid-auto-columns: minmax(176px, 1fr);
    }
    .support-startup-details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .support-startup-details-shell { width: min(1320px, calc(100vw - 24px)); }
    .support-operator-details-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .support-details-modal-shell { width: min(1280px, calc(100vw - 40px)); }

    .support-compare-list {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 10px;
    }

    .support-compare-chart {
        width: max-content;
        min-width: max-content;
        grid-auto-columns: 248px;
    }

    .support-compare-column {
        width: 248px;
    }
}

@media (max-width: 640px) {
    .support-live-handling-list {
        grid-template-columns: none;
        grid-template-rows: 1fr;
        grid-auto-flow: column;
        grid-auto-columns: minmax(204px, min(72vw, 232px));
        overflow-x: auto;
        overflow-y: hidden;
        padding-right: 0;
        scroll-snap-type: x proximity;
    }

    .support-live-row {
        scroll-snap-align: start;
    }
}

@media (max-width: 980px) {
    .main-content { padding: 18px; }
    .topbar { flex-direction: column; }
    .topbar-unified { grid-template-columns: 1fr; }
    .topbar-actions { width: 100%; flex-direction: column; align-items: stretch; }
    .topbar-tools { width: 100%; flex-direction: column; flex-wrap: wrap; }
    .topbar-unified > .topbar-actions-row,
    .top-tabs-embedded { border-right: 0; border-bottom: 1px solid rgba(152, 204, 238, 0.24); }
    .status-strip { flex-wrap: wrap; }
    .status-progress-group { min-width: 0; width: 100%; }
    .progress-shell { width: 100%; margin-left: 0; }
    .progress-text { text-align: left; }
    .sidebar-card-inline, .refresh-button-inline { width: 100%; min-width: 0; }
    .top-tabs { flex-direction: column; }
    .top-tabs .nav-tab { width: 100%; min-width: 0; }
    .hero-grid { grid-template-columns: 1fr; }
    .support-page:not(.support-page-compact) .hero-grid-general,
    .support-page-compact .hero-grid-general {
        grid-template-columns: 1fr;
    }
    .hero-card-weekly-comparison {
        grid-column: span 1;
        min-height: 0;
    }
    .support-weekly-comparison-head,
    .support-weekly-comparison-footer {
        grid-template-columns: 1fr;
    }
    .support-weekly-comparison-chart-shell {
        min-height: 142px;
    }
    .hero-open-closed-layout,
    .hero-open-closed-grid {
        grid-template-columns: 1fr;
        justify-items: stretch;
        gap: 12px;
    }
    .hero-open-closed-column { gap: 12px; }
    .hero-open-closed-side,
    .hero-open-closed-highlight { min-height: 132px; width: 100%; }
    .hero-open-closed-side { text-align: center; justify-items: center; }
    .hero-open-closed-side-top { justify-items: center; width: 100%; }
    .hero-open-closed-side-divider { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent); }
    .hero-open-closed-center { order: -1; }
    .hero-open-closed-ring { width: 188px; height: 188px; }
    .hero-open-closed-ring-core { width: 126px; height: 126px; }
    .hero-open-closed-ring-core strong { font-size: 46px; }
    .hero-open-closed-ring-core span { font-size: 15px; }
    .hero-open-closed-highlight { text-align: left; }
    .hero-open-closed-highlight-goal-body { align-items: center; }
    .hero-card-open-closed .hero-open-closed-grid {
        grid-template-columns: clamp(108px, 34%, 132px) minmax(0, 202px);
        justify-content: center;
        gap: 12px;
    }
    .hero-card-open-closed .hero-open-closed-column { gap: 5px; }
    .hero-card-open-closed .hero-open-closed-connector { display: none; }
    .hero-card-open-closed .hero-open-closed-center {
        order: initial;
        justify-items: end;
        padding: 6px;
    }
    .hero-card-open-closed .hero-open-closed-side,
    .hero-card-open-closed .hero-open-closed-highlight {
        min-height: 44px;
        width: 100%;
    }
    .hero-card-open-closed .hero-open-closed-side {
        text-align: left;
        justify-items: stretch;
    }
    .hero-card-open-closed .hero-open-closed-side-top {
        display: contents;
        width: auto;
    }
    .hero-card-open-closed .hero-open-closed-ring {
        width: min(calc(100% - 12px), 190px);
        height: auto;
    }
    .hero-card-open-closed .hero-open-closed-ring-core {
        width: 62%;
        height: 62%;
    }
    .hero-card-open-closed .hero-open-closed-ring-core strong {
        font-size: clamp(34px, 3vw, 46px);
    }
    .hero-card-open-closed .hero-open-closed-ring-core span {
        font-size: clamp(10px, 0.95vw, 14px);
    }
    .support-mini-chart { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .support-details-modal { padding: 12px; }
    .support-details-modal-shell { width: calc(100vw - 24px); padding: 14px; }
    .support-startup-details-header { flex-direction: column; }
    .support-startup-details-shell { width: min(100%, calc(100vw - 12px)); }
    .support-startup-details-grid { grid-template-columns: 1fr; }
    .support-startup-detail-chart {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 8px;
    }
    .support-startup-detail-day-card {
        min-width: 0;
        padding: 9px 5px;
    }
    .support-startup-detail-day-bar-shell { grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr); }
    .support-startup-detail-day-bar-fill { width: 12px; }
    .support-startup-detail-day-time { font-size: 9px; }
    .support-operator-details-grid { grid-template-columns: 1fr; }
    .support-operator-detail-days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .support-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .department-drawer-hero { grid-template-columns: 1fr; }
    .department-drawer-count { font-size: 58px; }
    .department-drawer-filters { grid-template-columns: 1fr; }
    .department-custom-select-button { min-height: 48px; font-size: 18px; }
    .department-custom-select-option { font-size: 16px; }
    .department-ticket-highlight { grid-template-columns: 1fr; }
    .department-ticket-highlight-startup-grid { grid-template-columns: 1fr; }
    .department-ticket-detail-grid { grid-template-columns: 1fr; }
    .department-ticket-lookup-summary,
    .department-ticket-lookup-section,
    .department-ticket-lookup-section-dates {
        grid-template-columns: 1fr;
    }
    .department-ticket-highlight-interval-grid { grid-template-columns: 1fr; }
    .department-ticket-highlight-timeline-times { grid-template-columns: 1fr; }
    .department-ticket-highlight-timeline-marker {
        width: min(116px, 42vw);
    }
}

@media (max-width: 640px) {
    .department-drawer {
        width: calc(100vw - 8px);
        padding: 8px 10px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .support-details-modal {
        transition: none;
    }

    .support-startup-detail-day-card {
        transition: none;
    }

    .support-notes-link-compact.has-unread-notes {
        animation: none;
    }
}

.topbar-unified {
    min-height: 86px;
    border-radius: 18px;
    border-color: rgba(132, 194, 255, 0.3);
    background:
        radial-gradient(circle at 20% 0%, rgba(148, 216, 255, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(30, 49, 82, 0.94), rgba(12, 24, 46, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -18px 24px rgba(2, 8, 18, 0.18),
        0 14px 28px rgba(0, 0, 0, 0.24);
}

.top-tabs .nav-tab,
.topbar-actions-segmented .refresh-button,
.topbar-page-control {
    position: relative;
    min-height: 62px;
    padding: 0 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        linear-gradient(180deg, rgba(22, 37, 64, 0.98), rgba(9, 17, 32, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -12px 18px rgba(0, 0, 0, 0.18);
}

.top-tabs .nav-tab:hover,
.topbar-actions-segmented .refresh-button:hover,
.topbar-page-control:hover,
.nav-tab.active {
    border-color: rgba(133, 205, 255, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -12px 18px rgba(0, 0, 0, 0.22),
        0 10px 18px rgba(1, 8, 19, 0.18);
}

.nav-tab.active {
    background:
        radial-gradient(circle at 50% 100%, rgba(122, 208, 255, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(35, 58, 94, 0.98), rgba(12, 21, 38, 0.98));
}

.topbar-page-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid rgba(152, 204, 238, 0.28);
    cursor: text;
}

.topbar-page-save {
    min-width: 78px;
}

.topbar-page-label {
    color: #92a9c9;
    font-size: 12px;
    font-weight: 700;
}

.topbar-page-input {
    width: 58px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid rgba(155, 208, 255, 0.22);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(72, 97, 138, 0.6), rgba(18, 28, 49, 0.96));
    color: #eef7ff;
    font: inherit;
    text-align: center;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.topbar-page-input:focus {
    border-color: rgba(126, 211, 255, 0.68);
    box-shadow:
        0 0 0 3px rgba(99, 200, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.status-progress-group {
    width: 262px;
    padding: 10px 16px;
}

.status-pill {
    color: #5cc0ff;
    font-size: 14px;
    font-weight: 800;
}

.progress-text {
    font-size: 11px;
    line-height: 1.15;
}

.progress-stamp {
    font-size: 12px;
    line-height: 1.2;
    color: #dcecff;
}

.progress-track {
    height: 4px;
    border-color: rgba(104, 152, 222, 0.26);
    background: rgba(4, 11, 23, 0.85);
}

.nav-tab::before,
.topbar-actions-segmented .refresh-button::before {
    content: "";
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

.nav-tab[data-icon="grid"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3'%3E%3Crect x='1.5' y='1.5' width='13' height='13' rx='1.5'/%3E%3Cpath d='M5.33 1.5v13M10.66 1.5v13M1.5 5.33h13M1.5 10.66h13'/%3E%3C/g%3E%3C/svg%3E");
}

.nav-tab[data-icon="message"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1.5' y='3' width='13' height='9.5' rx='2'/%3E%3Cpath d='M5 12.5l-1.2 2V12.5M5 6.2h6M5 8.9h3.5'/%3E%3C/g%3E%3C/svg%3E");
}

.nav-tab[data-icon="users"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='5.2' r='2.3'/%3E%3Ccircle cx='11.2' cy='6.2' r='1.8'/%3E%3Cpath d='M2.6 12.8c.7-2 2.3-3 4.6-3s3.9 1 4.6 3M9.8 12.6c.4-1.2 1.3-1.9 2.7-2.1'/%3E%3C/g%3E%3C/svg%3E");
}

.nav-tab[data-icon="shield"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1.7l4.8 1.8v3.8c0 3-1.7 5.4-4.8 7-3.1-1.6-4.8-4-4.8-7V3.5L8 1.7z'/%3E%3Cpath d='M5.4 8l1.7 1.7L10.7 6'/%3E%3C/g%3E%3C/svg%3E");
}

.nav-tab[data-icon="ticket"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.2A1.7 1.7 0 0 1 4.7 2.5h6.6A1.7 1.7 0 0 1 13 4.2v2a1.7 1.7 0 0 0 0 3.6v2a1.7 1.7 0 0 1-1.7 1.7H4.7A1.7 1.7 0 0 1 3 11.8v-2a1.7 1.7 0 0 0 0-3.6v-2z'/%3E%3Cpath d='M6 5.4h4M6 8h4M6 10.6h2.4'/%3E%3C/g%3E%3C/svg%3E");
}

.refresh-button[data-icon="arrow-left"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23b7f2ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' d='M10.5 3.5L5.5 8l5 4.5'/%3E%3C/svg%3E");
}

.refresh-button[data-icon="refresh"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23b7f2ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M12.8 5.8A5.5 5.5 0 1 0 13 8M10.7 2.8h2.6v2.6'/%3E%3C/svg%3E");
}

.refresh-button[data-icon="logout"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.2 2.3H3.7A1.7 1.7 0 0 0 2 4v8a1.7 1.7 0 0 0 1.7 1.7h2.5'/%3E%3Cpath d='M8 5.1L11 8l-3 2.9M5.7 8h7.2'/%3E%3C/g%3E%3C/svg%3E");
}

@media (max-width: 980px) {
    .topbar-page-control {
        width: 100%;
        justify-content: center;
        border-right: 0;
        border-bottom: 1px solid rgba(152, 204, 238, 0.24);
    }

    .topbar-page-save {
        width: 100%;
    }

    .status-progress-group {
        width: 100%;
    }
}

.admin-page .topbar,
.support-page:not(.support-page-compact) .topbar {
    margin-bottom: 6px;
}

.admin-page .topbar-unified,
.support-page:not(.support-page-compact) .topbar-unified {
    width: 100%;
    max-width: 100%;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    min-height: 68px;
    border-radius: 0 24px 24px 0;
    align-items: stretch;
}

.admin-page .top-tabs .nav-tab,
.support-page:not(.support-page-compact) .top-tabs .nav-tab,
.admin-page .topbar-actions-segmented .refresh-button,
.support-page:not(.support-page-compact) .topbar-actions-segmented .refresh-button,
.admin-page .topbar-page-control {
    min-height: 68px;
    padding: 0 18px;
    font-size: 13px;
}

.admin-page .top-tabs-embedded,
.support-page:not(.support-page-compact) .top-tabs-embedded,
.admin-page .topbar-unified > .topbar-actions-row,
.support-page:not(.support-page-compact) .topbar-unified > .topbar-actions-row,
.admin-page .status-progress-embedded,
.support-page:not(.support-page-compact) .status-progress-embedded {
    display: flex;
    align-items: center;
    align-self: stretch;
}

.admin-page .status-progress-embedded,
.support-page:not(.support-page-compact) .status-progress-embedded {
    padding: 8px 18px;
}

.admin-page .status-progress-group,
.support-page:not(.support-page-compact) .status-progress-group {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0;
}

.admin-page .status-line,
.support-page:not(.support-page-compact) .status-line {
    display: none;
}

.admin-page .progress-track,
.support-page:not(.support-page-compact) .progress-track {
    flex: 0 0 120px;
}

.admin-page .status-pill,
.admin-page .progress-text,
.admin-page .progress-stamp,
.support-page:not(.support-page-compact) .status-pill,
.support-page:not(.support-page-compact) .progress-text,
.support-page:not(.support-page-compact) .progress-stamp {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-page .status-pill,
.support-page:not(.support-page-compact) .status-pill {
    flex: 0 1 auto;
    font-size: 11px;
}

.admin-page .progress-text,
.support-page:not(.support-page-compact) .progress-text {
    flex: 1 1 auto;
    font-size: 11px;
}

.admin-page .progress-stamp,
.support-page:not(.support-page-compact) .progress-stamp {
    flex: 0 0 auto;
    font-size: 11px;
}

.admin-page .topbar-unified > .topbar-actions-row,
.support-page:not(.support-page-compact) .topbar-unified > .topbar-actions-row {
    justify-self: end;
}

.topbar-unified {
    min-height: 86px;
    border-radius: 18px;
    border-color: rgba(132, 194, 255, 0.3);
    background:
        radial-gradient(circle at 20% 0%, rgba(148, 216, 255, 0.18), transparent 34%),
        linear-gradient(180deg, rgba(30, 49, 82, 0.94), rgba(12, 24, 46, 0.96));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -18px 24px rgba(2, 8, 18, 0.18),
        0 14px 28px rgba(0, 0, 0, 0.24);
}

.top-tabs .nav-tab,
.topbar-actions-segmented .refresh-button,
.topbar-page-control {
    position: relative;
    min-height: 62px;
    padding: 0 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
        linear-gradient(180deg, rgba(22, 37, 64, 0.98), rgba(9, 17, 32, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        inset 0 -12px 18px rgba(0, 0, 0, 0.18);
}

.top-tabs .nav-tab:hover,
.topbar-actions-segmented .refresh-button:hover,
.topbar-page-control:hover,
.nav-tab.active {
    border-color: rgba(133, 205, 255, 0.42);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -12px 18px rgba(0, 0, 0, 0.22),
        0 10px 18px rgba(1, 8, 19, 0.18);
}

.nav-tab.active {
    background:
        radial-gradient(circle at 50% 100%, rgba(122, 208, 255, 0.18), transparent 55%),
        linear-gradient(180deg, rgba(35, 58, 94, 0.98), rgba(12, 21, 38, 0.98));
}

.topbar-page-control {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid rgba(152, 204, 238, 0.28);
    cursor: text;
}

.topbar-page-label {
    color: #92a9c9;
    font-size: 12px;
    font-weight: 700;
}

.topbar-page-input {
    width: 58px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid rgba(155, 208, 255, 0.22);
    border-radius: 10px;
    background:
        linear-gradient(180deg, rgba(72, 97, 138, 0.6), rgba(18, 28, 49, 0.96));
    color: #eef7ff;
    font: inherit;
    text-align: center;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.topbar-page-input:focus {
    border-color: rgba(126, 211, 255, 0.68);
    box-shadow:
        0 0 0 3px rgba(99, 200, 255, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.status-progress-group {
    width: 262px;
    padding: 10px 16px;
}

.status-pill {
    color: #5cc0ff;
    font-size: 14px;
    font-weight: 800;
}

.progress-text {
    font-size: 11px;
    line-height: 1.15;
}

.progress-stamp {
    font-size: 12px;
    line-height: 1.2;
    color: #dcecff;
}

.progress-track {
    height: 4px;
    border-color: rgba(104, 152, 222, 0.26);
    background: rgba(4, 11, 23, 0.85);
}

.nav-tab::before,
.topbar-actions-segmented .refresh-button::before {
    content: "";
    width: 16px;
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 16px 16px;
}

.nav-tab[data-icon="grid"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3'%3E%3Crect x='1.5' y='1.5' width='13' height='13' rx='1.5'/%3E%3Cpath d='M5.33 1.5v13M10.66 1.5v13M1.5 5.33h13M1.5 10.66h13'/%3E%3C/g%3E%3C/svg%3E");
}

.nav-tab[data-icon="message"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='1.5' y='3' width='13' height='9.5' rx='2'/%3E%3Cpath d='M5 12.5l-1.2 2V12.5M5 6.2h6M5 8.9h3.5'/%3E%3C/g%3E%3C/svg%3E");
}

.nav-tab[data-icon="users"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='5.2' r='2.3'/%3E%3Ccircle cx='11.2' cy='6.2' r='1.8'/%3E%3Cpath d='M2.6 12.8c.7-2 2.3-3 4.6-3s3.9 1 4.6 3M9.8 12.6c.4-1.2 1.3-1.9 2.7-2.1'/%3E%3C/g%3E%3C/svg%3E");
}

.nav-tab[data-icon="shield"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 1.7l4.8 1.8v3.8c0 3-1.7 5.4-4.8 7-3.1-1.6-4.8-4-4.8-7V3.5L8 1.7z'/%3E%3Cpath d='M5.4 8l1.7 1.7L10.7 6'/%3E%3C/g%3E%3C/svg%3E");
}

.nav-tab[data-icon="ticket"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4.2A1.7 1.7 0 0 1 4.7 2.5h6.6A1.7 1.7 0 0 1 13 4.2v2a1.7 1.7 0 0 0 0 3.6v2a1.7 1.7 0 0 1-1.7 1.7H4.7A1.7 1.7 0 0 1 3 11.8v-2a1.7 1.7 0 0 0 0-3.6v-2z'/%3E%3Cpath d='M6 5.4h4M6 8h4M6 10.6h2.4'/%3E%3C/g%3E%3C/svg%3E");
}

.refresh-button[data-icon="arrow-left"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23b7f2ff' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' d='M10.5 3.5L5.5 8l5 4.5'/%3E%3C/svg%3E");
}

.refresh-button[data-icon="refresh"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23b7f2ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' d='M12.8 5.8A5.5 5.5 0 1 0 13 8M10.7 2.8h2.6v2.6'/%3E%3C/svg%3E");
}

.refresh-button[data-icon="logout"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.2 2.3H3.7A1.7 1.7 0 0 0 2 4v8a1.7 1.7 0 0 0 1.7 1.7h2.5'/%3E%3Cpath d='M8 5.1L11 8l-3 2.9M5.7 8h7.2'/%3E%3C/g%3E%3C/svg%3E");
}

@media (max-width: 980px) {
    .topbar-page-control {
        width: 100%;
        justify-content: center;
        border-right: 0;
        border-bottom: 1px solid rgba(152, 204, 238, 0.24);
    }

    .status-progress-group {
        width: 100%;
    }
}

html.light-mode {
    --bg: #f4f7fb;
    --panel: rgba(255, 255, 255, 0.96);
    --panel-alt: rgba(248, 251, 255, 0.94);
    --line: rgba(32, 48, 72, 0.12);
    --text: #172033;
    --muted: #66758d;
    --blue: #2f8cff;
    --green: #16a667;
    --amber: #f39a18;
    --red: #dc4760;
    --purple: #7764d8;
}

html.light-mode body {
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(47, 140, 255, 0.08), transparent 28%),
        radial-gradient(circle at 100% 0%, rgba(22, 166, 103, 0.07), transparent 22%),
        linear-gradient(180deg, #f8fbff 0%, #eef3f8 100%);
}

html.light-mode body.support-page-body {
    background: #ffffff;
}

html.light-mode .support-page,
html.light-mode .support-shell,
html.light-mode .support-view {
    background: #ffffff;
}

html.light-mode .support-page-compact .support-compact-caption,
html.light-mode .support-page-compact .support-compact-page-progress {
    color: #5f6f87;
}

html.light-mode .support-ticket-search {
    border-color: rgba(32, 48, 72, 0.12);
    background: #f8fbff;
    box-shadow: 0 4px 10px rgba(28, 43, 64, 0.05);
}

html.light-mode .support-ticket-search-button::before {
    background-color: #61718a;
}

html.light-mode .support-ticket-search-input {
    color: #1f2b40;
}

html.light-mode .support-ticket-search-input::placeholder {
    color: rgba(81, 95, 120, 0.58);
}

html.light-mode .support-monthly-link-compact {
    border-color: rgba(51, 65, 85, 0.18);
    color: rgba(30, 41, 59, 0.9);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

html.light-mode .support-monthly-link-compact:hover,
html.light-mode .support-monthly-link-compact:focus-visible {
    border-color: rgba(75, 86, 205, 0.34);
    color: #4b56cd;
    background: #fff;
}

html.light-mode .support-access-levels-link-compact {
    border-color: rgba(51, 65, 85, 0.18);
    color: rgba(30, 41, 59, 0.9);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

html.light-mode .support-access-levels-link-compact:hover,
html.light-mode .support-access-levels-link-compact:focus-visible {
    border-color: rgba(75, 86, 205, 0.34);
    color: #4b56cd;
    background: #fff;
}

html.light-mode .support-notes-link-compact {
    border-color: rgba(51, 65, 85, 0.18);
    color: rgba(30, 41, 59, 0.9);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

html.light-mode .support-notes-link-compact:hover,
html.light-mode .support-notes-link-compact:focus-visible {
    border-color: rgba(75, 86, 205, 0.34);
    color: #4b56cd;
    background: #fff;
}

html.light-mode .support-notes-badge {
    border-color: #fff;
}

html.light-mode .support-page-compact .support-compact-logout {
    color: #43536b;
}

html.light-mode .support-page-compact .support-compact-logout:hover {
    color: #172033;
}

html.light-mode .support-theme-switch-shell {
    color: #66758c;
}

html.light-mode .support-theme-select-shell {
    color: #66758c;
}

html.light-mode .support-theme-select {
    color: #1b2a40;
    border-color: rgba(42, 89, 168, 0.18);
    background:
        linear-gradient(180deg, #ffffff, #edf4fc);
    background-image:
        linear-gradient(180deg, #ffffff, #edf4fc),
        linear-gradient(45deg, transparent 50%, rgba(44, 92, 171, 0.72) 50%),
        linear-gradient(135deg, rgba(44, 92, 171, 0.72) 50%, transparent 50%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 8px 18px rgba(53, 89, 138, 0.1);
}

html.light-mode .dashboard-theme-select-shell {
    color: #66758c;
}

html.light-mode .dashboard-theme-select {
    color: #1b2a40;
    border-color: rgba(42, 89, 168, 0.18);
    background:
        linear-gradient(180deg, #ffffff, #edf4fc);
    background-image:
        linear-gradient(180deg, #ffffff, #edf4fc),
        linear-gradient(45deg, transparent 50%, rgba(44, 92, 171, 0.72) 50%),
        linear-gradient(135deg, rgba(44, 92, 171, 0.72) 50%, transparent 50%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 8px 18px rgba(53, 89, 138, 0.1);
}

html.light-mode body::before,
html.light-mode body::after {
    background: linear-gradient(180deg, rgba(47, 140, 255, 0.36), rgba(47, 140, 255, 0.08));
    box-shadow: none;
}

.dashboard-theme-toggle {
    width: 42px;
    min-width: 42px;
    padding: 0;
}

.dashboard-theme-toggle::before {
    content: "";
    width: 18px;
    height: 18px;
    margin: 0;
    border-radius: 999px;
    border: 1px solid rgba(183, 242, 255, 0.72);
    background:
        radial-gradient(circle at 68% 34%, rgba(9, 17, 32, 0.98) 0 34%, transparent 35%),
        #b7f2ff;
    opacity: 0.76;
}

.dashboard-theme-toggle[data-theme-state="light"]::before {
    border-color: rgba(47, 140, 255, 0.32);
    background:
        radial-gradient(circle, #f7c948 0 32%, transparent 34%),
        conic-gradient(from 0deg, transparent 0 8%, #f7c948 8% 13%, transparent 13% 20%, #f7c948 20% 25%, transparent 25% 33%, #f7c948 33% 38%, transparent 38% 45%, #f7c948 45% 50%, transparent 50% 58%, #f7c948 58% 63%, transparent 63% 70%, #f7c948 70% 75%, transparent 75% 83%, #f7c948 83% 88%, transparent 88%);
    opacity: 0.92;
}

html.light-mode .topbar-unified {
    border-color: rgba(46, 73, 112, 0.14);
    background:
        radial-gradient(circle at 20% 0%, rgba(47, 140, 255, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 252, 0.98));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 10px 24px rgba(30, 45, 68, 0.08);
}

html.light-mode .top-tabs-embedded,
html.light-mode .topbar-unified > .topbar-actions-row {
    border-color: rgba(33, 48, 72, 0.12);
}

html.light-mode .nav-tab,
html.light-mode .refresh-button,
html.light-mode .top-tabs .nav-tab,
html.light-mode .topbar-actions-segmented .refresh-button,
html.light-mode .topbar-page-control {
    color: #33425a;
    border-color: rgba(33, 48, 72, 0.10);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(241, 245, 250, 0.82)),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 244, 251, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html.light-mode .top-tabs .nav-tab:hover,
html.light-mode .topbar-actions-segmented .refresh-button:hover,
html.light-mode .topbar-page-control:hover,
html.light-mode .nav-tab.active {
    color: #13223a;
    border-color: rgba(47, 140, 255, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 10px 18px rgba(31, 63, 108, 0.08);
}

html.light-mode .nav-tab.active {
    background:
        radial-gradient(circle at 50% 100%, rgba(47, 140, 255, 0.12), transparent 55%),
        linear-gradient(180deg, rgba(247, 251, 255, 0.98), rgba(224, 235, 248, 0.98));
}

html.light-mode .nav-tab::before,
html.light-mode .topbar-actions-segmented .refresh-button::before {
    filter: invert(34%) sepia(71%) saturate(1059%) hue-rotate(184deg) brightness(89%) contrast(92%);
}

html.light-mode .dashboard-theme-toggle::before {
    filter: none;
}

html.light-mode .panel,
html.light-mode .hero-card,
html.light-mode .chart-total-card,
html.light-mode .support-summary-card,
html.light-mode .support-compare-card,
html.light-mode .support-startup-day-card,
html.light-mode .support-live-card,
html.light-mode .ticket-card,
html.light-mode .sidebar-card,
html.light-mode .chamados-sidebar-panel,
html.light-mode .chamados-tickets-panel,
html.light-mode .chamados-analysis-panel,
html.light-mode .access-approval-card,
html.light-mode .modal-card,
html.light-mode .department-drawer,
html.light-mode .support-details-modal-shell {
    color: var(--text);
    border-color: rgba(33, 48, 72, 0.10);
    background: rgba(255, 255, 255, 0.94);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 10px 24px rgba(30, 45, 68, 0.07);
}

html.light-mode .panel h2,
html.light-mode .panel h3,
html.light-mode .panel h4,
html.light-mode .hero-card h3,
html.light-mode .stack-title,
html.light-mode .operator-handling-row-label,
html.light-mode .operator-handling-label,
html.light-mode .support-live-card-title,
html.light-mode .chamados-board-title-group h2 {
    color: #18233a;
}

html.light-mode .panel p,
html.light-mode .muted,
html.light-mode .progress-text,
html.light-mode .progress-stamp,
html.light-mode .sidebar-label,
html.light-mode .operator-handling-average-value,
html.light-mode .department-ticket-highlight-label,
html.light-mode .chamados-analysis-header span {
    color: #65748b;
}

html.light-mode .status-pill,
html.light-mode .page-progress-pill,
html.light-mode .status-totalizer {
    color: #2f8cff;
}

html.light-mode .progress-track,
html.light-mode .operator-handling-row-track,
html.light-mode .operator-handling-bar-rail,
html.light-mode .support-weekly-chart-shell,
html.light-mode .chamados-table-grid-head {
    border-color: rgba(33, 48, 72, 0.10);
    background: rgba(231, 238, 247, 0.86);
}

html.light-mode .operator-handling-row-track-secondary,
html.light-mode .operator-handling-bar-rail-average {
    background: rgba(246, 181, 61, 0.15);
}

html.light-mode .stack-item,
html.light-mode .stack-row,
html.light-mode .stack-row-neon,
html.light-mode .department-drawer-list > *,
html.light-mode .support-live-handling-card,
html.light-mode .support-startup-row,
html.light-mode .support-compare-row,
html.light-mode .chamados-table-grid-body > *,
html.light-mode .chamados-attendant-button,
html.light-mode .access-approval-item {
    color: var(--text);
    border-color: rgba(33, 48, 72, 0.10);
    background: rgba(248, 251, 255, 0.86);
}

html.light-mode .stack-row,
html.light-mode .stack-row-neon {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 250, 255, 0.94)),
        radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--row-color, #63c8ff) 9%, transparent), transparent 26%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.88),
        0 8px 18px rgba(28, 43, 64, 0.07);
}

html.light-mode .stack-row-card::after {
    border-color: color-mix(in srgb, var(--row-color, #63c8ff) 14%, transparent);
}

html.light-mode .stack-row-label,
html.light-mode .stack-row-neon .stack-row-label,
html.light-mode .organization-handling-label,
html.light-mode .support-compare-label,
html.light-mode .support-status-operator {
    color: #18233a;
}

html.light-mode .stack-row-value,
html.light-mode .stack-row-neon .stack-row-value {
    text-shadow: none;
}

html.light-mode .stack-bar,
html.light-mode .stack-row-card .stack-bar,
html.light-mode .stack-row-neon .stack-bar,
html.light-mode .organization-handling-bar-rail {
    border: 1px solid rgba(32, 48, 72, 0.08);
    background: #edf3f9;
    box-shadow: inset 0 1px 2px rgba(32, 48, 72, 0.05);
}

html.light-mode input,
html.light-mode select,
html.light-mode textarea,
html.light-mode .department-native-select,
html.light-mode .department-filter-input,
html.light-mode .department-custom-select-button,
html.light-mode .topbar-page-input,
html.light-mode .department-filter-date-button {
    color: #1c2940;
    border-color: rgba(33, 48, 72, 0.16);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html.light-mode input::placeholder,
html.light-mode textarea::placeholder {
    color: #8a98aa;
}

html.light-mode .panel-chip-button,
html.light-mode .operator-filter-action,
html.light-mode .operator-filter-cancel,
html.light-mode .operator-filter-apply {
    color: #21324b;
    border-color: rgba(33, 48, 72, 0.12);
    background: rgba(247, 250, 254, 0.94);
    box-shadow: 0 6px 14px rgba(30, 45, 68, 0.06);
}

html.light-mode .panel-chip-button.active,
html.light-mode .status-panel-toggle-button.active {
    color: #ffffff;
    border-color: rgba(47, 140, 255, 0.28);
    background: linear-gradient(180deg, #5f728f, #25334a);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 8px 16px rgba(35, 52, 78, 0.16);
}

html.light-mode .status-panel-toggle {
    border-color: rgba(32, 48, 72, 0.10);
    background: #eef4fa;
}

html.light-mode .status-panel-toggle-button {
    color: #52627a;
}

html.light-mode .panel-chip-button:hover,
html.light-mode .panel-chip-button:focus-visible {
    border-color: rgba(47, 140, 255, 0.26);
    background: #ffffff;
}

html.light-mode .department-overlay,
html.light-mode .modal-overlay,
html.light-mode .support-details-overlay {
    background: rgba(17, 29, 46, 0.38);
}

html.light-mode .hero-card,
html.light-mode .hero-card-general,
html.light-mode .hero-card-open-closed,
html.light-mode .hero-card-weekly-comparison,
html.light-mode .panel,
html.light-mode .ticket-list-card {
    color: #172033;
    border-color: rgba(32, 48, 72, 0.10) !important;
    background: #ffffff !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 6px 18px rgba(28, 43, 64, 0.07) !important;
}

html.light-mode .hero-card::after {
    border-color: rgba(32, 48, 72, 0.07);
}

html.light-mode .hero-status,
html.light-mode .hero-kicker,
html.light-mode .hero-title,
html.light-mode .hero-subtitle,
html.light-mode .hero-badge-label,
html.light-mode .hero-badge-arrow,
html.light-mode .hero-mini-day-note,
html.light-mode .hero-metric-split-note,
html.light-mode .hero-open-closed-side-label,
html.light-mode .hero-open-closed-highlight-label,
html.light-mode .hero-open-closed-summary,
html.light-mode .support-startup-inline-weekday,
html.light-mode .support-startup-day-weekday,
html.light-mode .support-startup-day-date,
html.light-mode .support-live-row-operator > span,
html.light-mode .support-live-ticket-time-label,
html.light-mode .support-live-ticket-meta,
html.light-mode .support-live-ticket-empty,
html.light-mode .support-mini-label,
html.light-mode .support-compare-total-label,
html.light-mode .support-compare-metrics-heading,
html.light-mode .support-compare-metrics-table th {
    color: #63718a !important;
}

html.light-mode .hero-badge,
html.light-mode .hero-badge-button,
html.light-mode .hero-metric-split-block,
html.light-mode .hero-mini-day-card,
html.light-mode .support-weekly-comparison-row,
html.light-mode .support-status-ticket-row,
html.light-mode .support-status-ticket-more,
html.light-mode .hero-open-closed-side,
html.light-mode .hero-open-closed-highlight,
html.light-mode .hero-open-closed-highlight-primary,
html.light-mode .hero-open-closed-highlight-goal,
html.light-mode .hero-open-closed-highlight-goal.is-complete,
html.light-mode .chart-total-item,
html.light-mode .support-startup-inline-day,
html.light-mode .support-startup-summary-card,
html.light-mode .support-startup-day-card,
html.light-mode .support-startup-bar-card,
html.light-mode .support-live-row,
html.light-mode .support-live-ticket,
html.light-mode .support-live-ticket-time,
html.light-mode .support-weekly-chart-badge,
html.light-mode .support-mini-bars,
html.light-mode .support-compare-column,
html.light-mode .support-compare-total,
html.light-mode .support-compare-metrics-card,
html.light-mode .support-compare-month-card,
html.light-mode .support-organization-row,
html.light-mode .hero-open-closed-ring-core {
    color: #18233a !important;
    border-color: rgba(32, 48, 72, 0.10) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(28, 43, 64, 0.06) !important;
}

html.light-mode .support-summary-item,
html.light-mode .support-apoio-classification-pill {
    color: #18233a !important;
    border-color: rgba(32, 48, 72, 0.10) !important;
    background: linear-gradient(180deg, #ffffff, #f7faff) !important;
    box-shadow: 0 4px 12px rgba(28, 43, 64, 0.06) !important;
}

html.light-mode .hero-open-closed-highlight-open {
    color: #7e1f2e !important;
    border-color: rgba(255, 115, 135, 0.30) !important;
    background: linear-gradient(180deg, #fff1f3, #ffe3e8) !important;
    box-shadow:
        inset 0 0 18px rgba(255, 115, 135, 0.12),
        0 4px 12px rgba(128, 32, 48, 0.08) !important;
}

html.light-mode .hero-open-closed-highlight-open .hero-open-closed-highlight-value,
html.light-mode .hero-open-closed-highlight-open .hero-open-closed-card-watermark {
    color: #e24f65 !important;
}

html.light-mode .support-weekly-comparison-title h3,
html.light-mode .support-weekly-comparison-row strong {
    color: #177bd3 !important;
}

html.light-mode .support-weekly-comparison-list.is-closed .support-weekly-comparison-list-title,
html.light-mode .support-weekly-comparison-list.is-closed .support-weekly-comparison-row strong {
    color: #1da765 !important;
}

html.light-mode .support-weekly-comparison-list {
    border-color: rgba(32, 48, 72, 0.12);
    background: linear-gradient(180deg, #ffffff, #f7faff);
    box-shadow: 0 4px 12px rgba(28, 43, 64, 0.06);
}

html.light-mode .support-weekly-comparison-list-head {
    border-bottom-color: rgba(32, 48, 72, 0.12);
}

html.light-mode .support-weekly-comparison-row strong,
html.light-mode .support-weekly-comparison-row.has-closed-breakdown .support-weekly-comparison-row-label {
    border-color: rgba(32, 48, 72, 0.14);
}

html.light-mode .support-weekly-comparison-breakdown {
    border-color: rgba(32, 48, 72, 0.12);
    background: #f7faff;
}

html.light-mode .support-weekly-comparison-breakdown b {
    color: #1da765 !important;
}

html.light-mode .support-weekly-comparison-row span,
html.light-mode .support-status-ticket-meta {
    color: #63718a !important;
}

html.light-mode .support-status-ticket-card-title span {
    color: #18233a !important;
}

html.light-mode .support-status-ticket-title {
    color: #172033 !important;
}

html.light-mode .support-status-ticket-protocol {
    color: var(--status-card-color, #d9354b) !important;
}

html.light-mode .hero-card-status-ticket-list-compact .support-status-ticket-row.is-urgent .support-status-ticket-protocol,
html.light-mode .hero-card-status-ticket-list-compact .support-status-ticket-row.is-urgent .support-status-ticket-title {
    color: #d92035 !important;
}

html.light-mode .hero-card-status-ticket-list-compact .support-status-ticket-row.is-urgent .support-status-ticket-meta {
    color: #9f2636 !important;
}

html.light-mode .support-weekly-comparison-chart-shell {
    border-color: rgba(32, 48, 72, 0.10);
    background: rgba(231, 238, 247, 0.86);
}

html.light-mode .support-summary-label,
html.light-mode .support-summary-note,
html.light-mode .support-apoio-classification-title,
html.light-mode .support-compare-legend,
html.light-mode .support-compare-day-label,
html.light-mode .support-compare-month-title small,
html.light-mode .support-compare-month-period,
html.light-mode .support-compare-month-balance span:not(.support-compare-month-balance-icon),
html.light-mode .support-compare-month-stat-label {
    color: #5f6f87 !important;
}

html.light-mode .support-summary-value {
    color: #18233a;
}

html.light-mode .hero-badge-button:hover,
html.light-mode .support-startup-inline-day-button:hover,
html.light-mode .support-startup-inline-day-button:focus-visible,
html.light-mode .support-startup-day-card-button:hover,
html.light-mode .support-startup-day-card-button:focus-visible,
html.light-mode .support-startup-bar-card:hover,
html.light-mode .support-compare-total:hover {
    background: #f8fbff !important;
    border-color: rgba(47, 140, 255, 0.22) !important;
    box-shadow: 0 8px 18px rgba(31, 63, 108, 0.08) !important;
}

html.light-mode .hero-mini-day-weekday {
    color: #52627a !important;
    font-weight: 900;
}

html.light-mode .hero-mini-day-note {
    color: #58687f !important;
}

html.light-mode .hero-badge-value,
html.light-mode .hero-mini-day-value,
html.light-mode .hero-metric-split-value,
html.light-mode .support-startup-inline-average,
html.light-mode .support-startup-summary-card strong,
html.light-mode .support-startup-day-average,
html.light-mode .support-startup-bar-label,
html.light-mode .support-live-row-operator strong,
html.light-mode .support-live-ticket-title,
html.light-mode .support-live-ticket-time-value,
html.light-mode .support-compare-operator-name,
html.light-mode .support-compare-metrics-table td,
html.light-mode .support-compare-month-title span:not(.support-compare-month-title-icon),
html.light-mode .support-compare-month-period strong,
html.light-mode .support-compare-month-balance span:not(.support-compare-month-balance-icon) strong,
html.light-mode .support-organization-row-top strong,
html.light-mode .chart-total-item strong {
    color: #18233a !important;
}

html.light-mode .support-compare-month-stat {
    border-color: rgba(32, 48, 72, 0.10);
    background: #f4f8fe;
}

html.light-mode .support-compare-month-delta {
    color: #5f6f87;
    background: rgba(32, 48, 72, 0.07);
}

html.light-mode .support-compare-month-delta-up,
html.light-mode .support-compare-month-delta-down {
    color: #5f6f87;
    background: rgba(32, 48, 72, 0.09);
}

html.light-mode .support-compare-month-history-note {
    color: #5f6f87;
    background: rgba(32, 48, 72, 0.07);
}

html.light-mode .support-compare-metric-tile {
    border-color: rgba(32, 48, 72, 0.10);
    background: #f4f8fe;
    box-shadow: none;
}

html.light-mode .support-compare-metric-value {
    color: #18233a;
}

html.light-mode .support-compare-metric-label {
    color: #5f6f87;
}

html.light-mode .support-compare-metrics-section {
    border-color: rgba(32, 48, 72, 0.10);
}

html.light-mode .support-compare-metrics-section-title,
html.light-mode .support-compare-metric-icon {
    color: #147cc5;
}

html.light-mode .support-compare-metric-row-green .support-compare-metric-value {
    color: #158f54;
}

html.light-mode .support-compare-metric-row-red .support-compare-metric-value {
    color: #d82e3d;
}

html.light-mode .support-compare-month-period,
html.light-mode .support-compare-month-balance {
    border-color: rgba(32, 48, 72, 0.10);
    background: #f4f8fe;
}

html.light-mode .support-compare-month-stat-open strong {
    color: #147cc5;
}

html.light-mode .support-compare-month-stat-closed strong {
    color: #168d57;
}

html.light-mode .hero-metric-split-label,
html.light-mode .support-startup-summary-card span,
html.light-mode .support-startup-bar-count {
    color: #6a788f !important;
}

html.light-mode .support-live-no-interaction,
html.light-mode .support-live-no-interaction-label,
html.light-mode .support-live-no-interaction-protocol {
    color: #ffffff !important;
}

html.light-mode .hero-chart-grid {
    background:
        linear-gradient(to right, rgba(65, 83, 112, 0.08) 1px, transparent 1px) 0 0 / 28px 100%,
        linear-gradient(to top, rgba(65, 83, 112, 0.07) 1px, transparent 1px) 0 100% / 100% 10px;
    opacity: 1;
}

html.light-mode .hero-open-closed-side-divider,
html.light-mode .hero-metric-split-divider {
    background: linear-gradient(90deg, transparent, rgba(32, 48, 72, 0.14), transparent) !important;
}

html.light-mode .hero-open-closed-ring {
    background:
        radial-gradient(circle at 50% 50%, #ffffff 58%, transparent 59%),
        conic-gradient(var(--ring-color, #e02a2e) 0 var(--closed-percent), rgba(47, 140, 255, 0.90) var(--closed-percent) 100%) !important;
    box-shadow: 0 0 0 1px rgba(32, 48, 72, 0.06), 0 10px 24px rgba(47, 140, 255, 0.10) !important;
}

html.light-mode .hero-open-closed-ring::before {
    display: none;
}

html.light-mode .hero-open-closed-ring-orbit {
    display: block;
    opacity: 0.42;
    filter: blur(1px);
}

html.light-mode .hero-open-closed-ring::after {
    border-color: rgba(32, 48, 72, 0.08);
}

html.light-mode .hero-open-closed-ring-core strong {
    color: #18233a !important;
}

html.light-mode .hero-open-closed-ring-core span {
    color: #40506a !important;
}

html.light-mode .hero-open-closed-highlight::after,
html.light-mode .hero-glow,
html.light-mode .hero-open-closed-card-watermark {
    display: none;
}

html.light-mode .support-startup-bar-shell,
html.light-mode .support-startup-detail-day-bar-shell,
html.light-mode .operator-handling-row-track,
html.light-mode .operator-handling-row-track-secondary,
html.light-mode .operator-handling-bar-rail,
html.light-mode .operator-handling-bar-rail-average,
html.light-mode .support-mini-bars,
html.light-mode .support-organization-row-bar {
    border-color: rgba(32, 48, 72, 0.08) !important;
    background: #eef3f8 !important;
    box-shadow: none !important;
}

html.light-mode .operator-handling-button {
    color: #1e2a3f;
    border-color: rgba(32, 48, 72, 0.12);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(28, 43, 64, 0.08);
}

html.light-mode .organization-handling-button,
html.light-mode .support-compare-total {
    color: #1e2a3f;
    border-color: rgba(32, 48, 72, 0.12);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(28, 43, 64, 0.08);
}

html.light-mode .operator-handling-button:hover,
html.light-mode .organization-handling-button:hover {
    background: #f8fbff;
    box-shadow: 0 8px 18px rgba(31, 63, 108, 0.10);
}

html.light-mode .support-details-modal-shell,
html.light-mode .support-startup-detail-card,
html.light-mode .support-startup-detail-day-card,
html.light-mode .support-operator-detail-card {
    color: #18233a;
    border-color: rgba(32, 48, 72, 0.10);
    background: #ffffff !important;
    box-shadow: 0 10px 24px rgba(28, 43, 64, 0.08);
}

html.light-mode .support-startup-details-header h3,
html.light-mode .support-startup-detail-heading h4,
html.light-mode .support-startup-detail-heading p strong,
html.light-mode .support-startup-detail-day-count,
html.light-mode .support-startup-detail-day-label,
html.light-mode .support-startup-detail-day-average,
html.light-mode .support-startup-detail-day-time,
html.light-mode .support-startup-detail-day-date {
    color: #18233a !important;
}

html.light-mode .support-startup-details-header p,
html.light-mode .support-startup-detail-heading p {
    color: #63718a !important;
}

html.light-mode .support-live-status-dot {
    box-shadow: 0 0 0 2px #ffffff;
}

html.light-mode .department-drawer {
    color: #18233a;
    background: #f7f9fc !important;
    border-left-color: rgba(32, 48, 72, 0.12);
    box-shadow: -18px 0 42px rgba(28, 43, 64, 0.16);
}

html.light-mode .department-drawer::before {
    background: linear-gradient(180deg, transparent, rgba(47, 140, 255, 0.34), transparent);
    box-shadow: none;
}

html.light-mode .department-drawer-head {
    color: #172033;
    border-color: rgba(32, 48, 72, 0.10);
    background: #ffffff !important;
    box-shadow: 0 8px 22px rgba(28, 43, 64, 0.07);
}

html.light-mode .department-drawer-title {
    color: #172033;
}

html.light-mode .department-drawer-subtitle,
html.light-mode .department-drawer-count-label,
html.light-mode .department-drawer-eyebrow {
    color: #5d6c84 !important;
}

html.light-mode .department-drawer-count {
    color: #172033 !important;
    text-shadow: none;
}

html.light-mode .department-drawer-stat,
html.light-mode .department-drawer-stat.is-primary {
    color: #172033;
    border-color: rgba(32, 48, 72, 0.10);
    background: #f8fbff !important;
    box-shadow: none;
}

html.light-mode .department-drawer-stat::before {
    background: linear-gradient(90deg, transparent, rgba(22, 166, 103, 0.55), transparent);
}

html.light-mode .department-drawer-stat-kicker {
    color: #61728b !important;
}

html.light-mode .department-drawer-stat-value,
html.light-mode .department-drawer-stat.is-primary .department-drawer-stat-value {
    color: #172033 !important;
}

html.light-mode .department-drawer-filters {
    border-color: rgba(32, 48, 72, 0.10);
    background: #eef3f8 !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82), 0 6px 16px rgba(28, 43, 64, 0.06);
}

html.light-mode .department-filter-field span {
    color: #546279 !important;
}

html.light-mode body.support-page-body .department-native-select,
html.light-mode .department-custom-select-button,
html.light-mode .department-filter-input {
    color: #1f2b40 !important;
    text-shadow: none !important;
    border-color: rgba(32, 48, 72, 0.13) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 10px rgba(28, 43, 64, 0.05) !important;
}

html.light-mode .department-custom-select-menu {
    border-color: rgba(32, 48, 72, 0.12);
    background: #ffffff !important;
    box-shadow: 0 18px 36px rgba(28, 43, 64, 0.14);
}

html.light-mode .department-custom-select-option {
    color: #243047;
}

html.light-mode .department-custom-select-option:hover,
html.light-mode .department-custom-select-option.active {
    color: #172033;
    background: #eef5ff !important;
    box-shadow: none;
}

html.light-mode .department-drawer-list {
    scrollbar-color: rgba(99, 116, 143, 0.28) transparent;
}

html.light-mode .department-ticket-card {
    color: #172033;
    border-color: rgba(32, 48, 72, 0.10);
    background: #ffffff !important;
    box-shadow: 0 6px 16px rgba(28, 43, 64, 0.06);
}

html.light-mode .department-ticket-detail-grid,
html.light-mode .department-ticket-detail-grid > div,
html.light-mode .department-ticket-lookup-panel,
html.light-mode .department-ticket-lookup-summary > div,
html.light-mode .department-ticket-lookup-section > div,
html.light-mode .department-ticket-lookup-customer > div {
    border-color: rgba(32, 48, 72, 0.08);
    background: #f6f9fd !important;
}

html.light-mode .department-ticket-lookup-summary > div {
    background: color-mix(in srgb, var(--drawer-accent) 9%, #ffffff) !important;
}

html.light-mode .department-ticket-subject {
    color: #172033 !important;
}

html.light-mode .department-ticket-subject-meta,
html.light-mode .department-ticket-responsible-row,
html.light-mode .department-ticket-date-row span,
html.light-mode .department-ticket-grid span,
html.light-mode .department-ticket-detail-grid span,
html.light-mode .department-ticket-lookup-panel span,
html.light-mode .department-ticket-highlight-meta,
html.light-mode .department-ticket-highlight-interval-subtitle,
html.light-mode .department-ticket-highlight-timeline-legend-item,
html.light-mode .department-ticket-highlight-timeline-date,
html.light-mode .department-ticket-highlight-timeline-scale,
html.light-mode .department-ticket-highlight-timeline-times span,
html.light-mode .department-ticket-highlight-timeline-inline-note {
    color: #61718a !important;
}

html.light-mode .department-ticket-subject-meta strong,
html.light-mode .department-ticket-responsible-row strong,
html.light-mode .department-ticket-date-row strong,
html.light-mode .department-ticket-grid strong,
html.light-mode .department-ticket-detail-grid strong,
html.light-mode .department-ticket-lookup-panel strong,
html.light-mode .department-ticket-highlight-side-value,
html.light-mode .department-ticket-highlight-interval-subtitle strong,
html.light-mode .department-ticket-highlight-interval-grid strong,
html.light-mode .department-ticket-highlight-timeline-times strong,
html.light-mode .department-ticket-highlight-timeline-inline-note strong {
    color: #1f2b40 !important;
}

html.light-mode .department-ticket-date-row div::after {
    color: rgba(32, 48, 72, 0.18);
}

html.light-mode .department-ticket-protocol,
html.light-mode .department-ticket-status,
html.light-mode .department-ticket-lookup-pills span {
    background: color-mix(in srgb, var(--status-color, var(--drawer-accent)) 12%, #ffffff) !important;
    border-color: color-mix(in srgb, var(--status-color, var(--drawer-accent)) 36%, rgba(32, 48, 72, 0.10)) !important;
    box-shadow: none !important;
    color: color-mix(in srgb, var(--status-color, var(--drawer-accent)) 78%, #0f1b2e) !important;
}

html.light-mode .department-ticket-highlight,
html.light-mode .department-ticket-highlight-side-item,
html.light-mode .department-ticket-highlight-side-item.is-startup,
html.light-mode .department-ticket-highlight-side-item.is-received,
html.light-mode .department-ticket-highlight-side-item.is-received.is-duration,
html.light-mode .department-ticket-highlight-interval,
html.light-mode .department-ticket-highlight-empty {
    color: #172033;
    border-color: rgba(232, 160, 45, 0.18) !important;
    background: #fffaf0 !important;
    box-shadow: none !important;
}

html.light-mode .department-ticket-highlight-label,
html.light-mode .department-ticket-highlight-side-label,
html.light-mode .department-ticket-highlight-side-item.is-received .department-ticket-highlight-side-label,
html.light-mode .department-ticket-highlight-interval-title,
html.light-mode .department-ticket-highlight-interval-grid span,
html.light-mode .department-ticket-highlight-timeline-row-label {
    color: #84642b !important;
}

html.light-mode .department-ticket-highlight-value,
html.light-mode .department-ticket-highlight-side-item.is-received .department-ticket-highlight-side-value,
html.light-mode .department-ticket-highlight-interval-duration {
    color: #d78916 !important;
}

html.light-mode .department-ticket-highlight-timeline-row-label.is-startup,
html.light-mode .department-ticket-highlight-timeline-row-total {
    color: #1687b3 !important;
}

html.light-mode .department-ticket-highlight-timeline-row-label.is-received,
html.light-mode .department-ticket-highlight-timeline-row-total.is-received {
    color: #d78916 !important;
}

html.light-mode .department-ticket-highlight-timeline-track,
html.light-mode .department-ticket-highlight-timeline-track-base {
    background: #edf2f7 !important;
    border-color: rgba(32, 48, 72, 0.10) !important;
}

html.light-mode .department-ticket-highlight-timeline-marker-label {
    color: #1f2b40;
    width: max-content;
    max-width: min(120px, 22vw);
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

html.light-mode .department-ticket-highlight-timeline-marker-label span {
    color: #44516a !important;
    text-shadow: none;
}

html.light-mode .department-ticket-highlight-timeline-marker-label strong {
    color: #1f2b40 !important;
    text-shadow: none;
}

html.light-mode .department-ticket-highlight-timeline-marker-label::before {
    background: linear-gradient(180deg, rgba(75, 88, 112, 0.44), rgba(75, 88, 112, 0.08));
}

html.light-mode .department-ticket-highlight-timeline-scale {
    position: relative;
    z-index: 2;
    color: #56657c !important;
    opacity: 1;
}

html.light-mode .department-ticket-highlight-timeline-scale span {
    color: #56657c !important;
}

html.light-mode .department-ticket-highlight-timeline-row-label.is-received + .department-ticket-highlight-timeline-row-main .department-ticket-highlight-timeline-scale {
    margin-bottom: 0;
    color: #56657c !important;
}

html.light-mode .department-ticket-highlight-timeline-row-label.is-received + .department-ticket-highlight-timeline-row-main .department-ticket-highlight-timeline-track {
    margin-top: 2px;
}

html.light-mode .support-startup-panel.is-expanded {
    height: 100%;
    min-height: 0;
    max-height: none;
    bottom: 0;
    padding-bottom: 0;
    box-shadow: 0 10px 24px rgba(28, 43, 64, 0.08) !important;
}

html.light-mode .support-startup-panel {
    background: #ffffff !important;
    background-clip: padding-box;
}

html.light-mode .support-startup-summary-inline {
    overflow: hidden;
}

html.light-mode .support-startup-inline-day {
    color: #1f2b40;
    border-color: rgba(32, 48, 72, 0.10) !important;
    background: #ffffff !important;
    background-clip: padding-box;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(28, 43, 64, 0.04) !important;
}

html.light-mode .support-startup-inline-day:hover,
html.light-mode .support-startup-inline-day:focus-visible {
    background: #ffffff !important;
    border-color: rgba(47, 140, 255, 0.18) !important;
}

html.light-mode .support-startup-inline-day.is-good,
html.light-mode .support-startup-inline-day.is-good:hover,
html.light-mode .support-startup-inline-day.is-good:focus-visible,
html.light-mode .support-startup-day-card.is-good,
html.light-mode .support-startup-day-card.is-good:hover,
html.light-mode .support-startup-day-card.is-good:focus-visible {
    border-color: rgba(24, 151, 82, 0.42) !important;
    background: #eafff1 !important;
    box-shadow: 0 5px 12px rgba(24, 151, 82, 0.1) !important;
}

html.light-mode .support-startup-inline-day.is-alert,
html.light-mode .support-startup-inline-day.is-alert:hover,
html.light-mode .support-startup-inline-day.is-alert:focus-visible,
html.light-mode .support-startup-day-card.is-alert,
html.light-mode .support-startup-day-card.is-alert:hover,
html.light-mode .support-startup-day-card.is-alert:focus-visible {
    border-color: rgba(224, 54, 67, 0.42) !important;
    background: #fff0f1 !important;
    box-shadow: 0 5px 12px rgba(224, 54, 67, 0.1) !important;
}

html.light-mode .support-startup-panel.is-expanded .panel-header {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr) max-content;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
    padding-bottom: 2px;
}

html.light-mode .support-startup-panel .panel-header h3 {
    white-space: nowrap;
    font-size: 17px;
    line-height: 1.1;
}

html.light-mode .support-startup-panel .panel-header-actions-group {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: nowrap;
}

html.light-mode .support-startup-panel .panel-chip-button {
    min-width: 90px;
    min-height: 32px;
    padding: 7px 14px;
}

html.light-mode .support-startup-panel #support-startup-details {
    border-color: rgba(47, 140, 255, 0.42) !important;
    background: #ffffff !important;
    color: #1f2b40 !important;
    box-shadow: 0 4px 10px rgba(28, 43, 64, 0.04) !important;
}

html.light-mode .support-startup-legend-header {
    justify-content: center;
    gap: 8px;
    margin-right: 0;
    flex-wrap: nowrap;
    overflow: hidden;
    min-width: 0;
}

html.light-mode .support-startup-legend-header .support-startup-legend-item {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1;
    overflow: hidden;
}

html.light-mode .support-startup-legend-header .support-startup-legend-swatch {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
}

html.light-mode .support-startup-legend-header .support-startup-legend-item span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.light-mode .support-startup-panel.is-expanded .support-startup-summary {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
    margin-top: 4px;
}

html.light-mode .support-startup-summary-main {
    grid-template-columns: repeat(2, minmax(116px, 148px));
}

html.light-mode .support-startup-summary-days {
    grid-template-columns: repeat(5, minmax(82px, 1fr));
}

html.light-mode .support-startup-panel.is-expanded .support-startup-list {
    margin-top: 8px;
    flex: 1 1 auto;
}

html.light-mode .support-startup-chart {
    grid-auto-columns: minmax(176px, 1fr);
    gap: 8px;
    height: 100%;
    min-height: 100%;
    padding-bottom: 0;
}

html.light-mode .support-startup-panel.is-expanded .support-startup-chart {
    min-height: 100%;
}

html.light-mode .support-startup-bar-card {
    grid-template-rows: auto minmax(0, 1fr);
    padding: 8px;
    overflow: hidden;
    background-clip: padding-box;
    background: #ffffff !important;
    box-shadow: none !important;
}

html.light-mode .support-startup-card-head {
    border-bottom-color: rgba(32, 48, 72, 0.09);
}

html.light-mode .support-startup-card-label {
    color: #58687f !important;
}

html.light-mode .support-startup-card-icon {
    background: #ffffff;
}

html.light-mode .support-startup-bar-shell {
    min-height: 8px;
    height: 8px;
    overflow: visible;
    background-clip: padding-box;
    border-radius: 999px;
    background: #eef3f8 !important;
}

html.light-mode .support-startup-bar-card::before,
html.light-mode .support-startup-bar-card::after,
html.light-mode .support-startup-bar-shell::before,
html.light-mode .support-startup-bar-shell::after {
    display: none !important;
}

html.light-mode .support-startup-bar-label {
    position: relative;
    z-index: 2;
    background: #ffffff;
}

html.light-mode .support-startup-bar-fill {
    min-width: 0;
}

html.light-mode .support-startup-bar-label {
    display: none;
    min-height: 18px;
    margin-top: 3px;
    color: #18233a !important;
    font-size: 11px;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html.light-mode .support-startup-legend-item,
html.light-mode .department-ticket-highlight-timeline-legend-item {
    color: #27334a !important;
    font-weight: 800;
}

html.light-mode .support-startup-legend-item:first-child,
html.light-mode .department-ticket-highlight-timeline-legend-item.is-startup-window {
    color: #1687b3 !important;
}

html.light-mode .support-startup-legend-item:nth-child(2),
html.light-mode .department-ticket-highlight-timeline-legend-item.is-received-window {
    color: #bf7412 !important;
}

html.light-mode .support-startup-legend-swatch {
    background: linear-gradient(180deg, #43c8f5, #1687b3);
    box-shadow: 0 0 0 1px rgba(22, 135, 179, 0.18);
}

html.light-mode .support-startup-legend-swatch-received {
    background: linear-gradient(180deg, #ffbd66, #d78916);
    box-shadow: 0 0 0 1px rgba(215, 137, 22, 0.18);
}

html.light-mode .department-ticket-highlight-timeline-legend-item.is-startup-window i {
    background: linear-gradient(90deg, #43c8f5, #1687b3);
    box-shadow: 0 0 0 1px rgba(22, 135, 179, 0.18);
}

html.light-mode .department-ticket-highlight-timeline-legend-item.is-received-window i {
    background: linear-gradient(90deg, #ffbd66, #d78916);
    box-shadow: 0 0 0 1px rgba(215, 137, 22, 0.18);
}

html.light-mode .empty-state {
    color: #61718a;
    border-color: rgba(32, 48, 72, 0.10);
    background: #ffffff;
}

.nav-tab[data-icon="levels"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5.5' cy='6.5' r='2.7'/%3E%3Cpath d='m7.6 8.4 5.4 5.4M10.5 11.3l1.8 1.8M11.8 10l1.4 1.4'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.nav-tab[data-icon="notes"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 1.8h6l3 3v8.4a1.3 1.3 0 0 1-1.3 1.3H4A1.3 1.3 0 0 1 2.7 13.2V3.1A1.3 1.3 0 0 1 4 1.8z'/%3E%3Cpath d='M10 1.8v3h3M5.2 7.1h5.6M5.2 9.5h5.6M5.2 11.9h3.7'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.nav-tab[data-icon="route"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.2 3.7h5.2a2.4 2.4 0 0 1 0 4.8H6.2a2.2 2.2 0 1 0 0 4.4h5.6'/%3E%3Ccircle cx='3.2' cy='3.7' r='1.6'/%3E%3Cpath d='M11.8 12.9l1.6-1.6-1.6-1.6'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.nav-tab[data-icon="calendar"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3.2' width='12' height='10.5' rx='2'/%3E%3Cpath d='M2 6.5h12M5 1.8v2.6M11 1.8v2.6'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.admin-page .topbar,
.support-page:not(.support-page-compact) .topbar,
.chamados-page .topbar {
    width: 100%;
    margin-bottom: 10px;
}

.support-page:not(.support-page-compact) .topbar {
    margin-bottom: 0;
}

.admin-page .topbar-unified,
.support-page:not(.support-page-compact) .topbar-unified,
.chamados-page .topbar-unified {
    width: 100%;
    max-width: 100%;
    min-height: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 10px 12px;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.support-page:not(.support-page-compact) .topbar-unified {
    grid-template-columns: minmax(700px, 1fr) max-content;
}

.admin-page .top-tabs-embedded,
.support-page:not(.support-page-compact) .top-tabs-embedded,
.chamados-page .top-tabs-embedded {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    min-height: 104px;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 18px;
    border: 0;
    border-bottom: 1px solid rgba(99, 200, 255, 0.30);
    border-radius: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    background: transparent;
}

.admin-page .top-tabs-embedded::-webkit-scrollbar,
.support-page:not(.support-page-compact) .top-tabs-embedded::-webkit-scrollbar,
.chamados-page .top-tabs-embedded::-webkit-scrollbar {
    display: none;
}

.admin-page .top-tabs .nav-tab,
.support-page:not(.support-page-compact) .top-tabs .nav-tab,
.chamados-page .top-tabs .nav-tab {
    position: relative;
    min-width: max-content;
    min-height: 78px;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #e4edf8;
    background: transparent;
    box-shadow: none;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
}

.admin-page .top-tabs .nav-tab:hover,
.support-page:not(.support-page-compact) .top-tabs .nav-tab:hover,
.chamados-page .top-tabs .nav-tab:hover,
.admin-page .top-tabs .nav-tab.active,
.support-page:not(.support-page-compact) .top-tabs .nav-tab.active,
.chamados-page .top-tabs .nav-tab.active,
.support-page:not(.support-page-compact) .top-tabs .nav-tab-static.active,
.chamados-page .top-tabs .nav-tab-static.active {
    transform: translateY(-1px);
    color: #f7fbff;
    border-color: rgba(127, 211, 255, 0.36);
    background:
        radial-gradient(circle at 50% 100%, rgba(98, 199, 242, 0.18), transparent 58%),
        rgba(24, 47, 75, 0.72);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 12px 22px rgba(0, 0, 0, 0.16);
}

.admin-page .top-tabs .nav-tab.active::after,
.support-page:not(.support-page-compact) .top-tabs .nav-tab.active::after,
.chamados-page .top-tabs .nav-tab.active::after,
.support-page:not(.support-page-compact) .top-tabs .nav-tab-static.active::after,
.chamados-page .top-tabs .nav-tab-static.active::after {
    content: "";
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 0;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, #68edff, #65d69a);
    box-shadow: 0 0 14px rgba(98, 199, 242, 0.45);
}

.admin-page .top-tabs .nav-tab::before,
.support-page:not(.support-page-compact) .top-tabs .nav-tab::before,
.chamados-page .top-tabs .nav-tab::before {
    width: 20px;
    height: 20px;
    background-size: contain;
}

.admin-page .top-tabs .dashboard-theme-toggle,
.support-page:not(.support-page-compact) .top-tabs .dashboard-theme-toggle,
.chamados-page .top-tabs .dashboard-theme-toggle {
    width: 58px;
    min-width: 58px;
    padding: 0;
}

.admin-page .status-progress-embedded,
.support-page:not(.support-page-compact) .status-progress-embedded,
.chamados-page .status-progress-embedded {
    grid-column: 1;
    width: min(420px, 100%);
    align-self: start;
    padding: 8px 12px;
    border: 1px solid rgba(103, 139, 204, 0.18);
    border-radius: 12px;
    background: rgba(18, 28, 52, 0.78);
}

.admin-page .status-progress-embedded,
.support-page:not(.support-page-compact) .status-progress-embedded {
    width: 600px !important;
    min-width: 600px !important;
    max-width: calc(100vw - 56px);
    padding-right: 18px;
    justify-content: center;
}

.admin-page .topbar-unified > .topbar-actions-row,
.support-page:not(.support-page-compact) .topbar-unified > .topbar-actions-row,
.chamados-page .topbar-unified > .topbar-actions-row {
    grid-column: 2;
    align-self: start;
    justify-self: end;
    border: 0;
}

.admin-page .status-progress-group,
.support-page:not(.support-page-compact) .status-progress-group {
    display: grid;
    grid-template-columns: max-content 140px max-content;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 600px !important;
    min-width: 600px !important;
}

.admin-page .progress-track,
.support-page:not(.support-page-compact) .progress-track {
    grid-column: 2;
    flex: none;
    width: 140px;
}

.admin-page .status-pill,
.support-page:not(.support-page-compact) .status-pill {
    grid-column: 1;
    flex: none;
    width: auto;
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
}

.admin-page .progress-text,
.support-page:not(.support-page-compact) .progress-text {
    display: none;
}

.admin-page .progress-stamp,
.support-page:not(.support-page-compact) .progress-stamp {
    grid-column: 3;
    flex: none;
    width: max-content !important;
    min-width: 0;
    padding-right: 0;
    overflow: visible !important;
    text-overflow: clip;
    white-space: nowrap;
}

.support-page:not(.support-page-compact) .topbar-unified > .topbar-actions-row {
    gap: 0;
}

.support-page:not(.support-page-compact) .topbar-actions-segmented .refresh-button {
    padding: 0 12px;
    font-size: 12px;
}

.support-page:not(.support-page-compact) .topbar-logout-link {
    min-width: 64px;
}

.support-page:not(.support-page-compact) .topbar {
    margin-bottom: 2px;
    padding-top: 0;
}

.support-page:not(.support-page-compact) .topbar-unified {
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none;
    gap: 4px !important;
    min-height: 42px !important;
    padding: 0 6px !important;
    align-items: center !important;
    border: 0 !important;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.support-page:not(.support-page-compact) .top-tabs-embedded {
    grid-column: auto;
    flex: 0 1 auto !important;
    width: auto !important;
    min-height: 40px !important;
    height: 40px !important;
    gap: 3px !important;
    padding: 0 4px !important;
    border: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0;
    background: transparent;
}

.support-page:not(.support-page-compact) .top-tabs .nav-tab,
.support-page:not(.support-page-compact) .topbar-actions-segmented .refresh-button {
    min-height: 30px !important;
    height: 30px !important;
    gap: 4px !important;
    padding: 0 7px !important;
    border-radius: 7px !important;
    border: 1px solid rgba(103, 139, 204, 0.14);
    background: rgba(18, 31, 54, 0.58);
    box-shadow: none;
    font-size: 11px !important;
    line-height: 1;
    transform: none !important;
}

.support-page:not(.support-page-compact) .top-tabs .nav-tab:hover,
.support-page:not(.support-page-compact) .top-tabs .nav-tab:focus-visible,
.support-page:not(.support-page-compact) .topbar-actions-segmented .refresh-button:hover,
.support-page:not(.support-page-compact) .topbar-actions-segmented .refresh-button:focus-visible {
    transform: none !important;
    border-color: rgba(99, 200, 255, 0.28);
    background: rgba(24, 47, 75, 0.58);
    box-shadow: none;
}

.support-page:not(.support-page-compact) .top-tabs .nav-tab.active,
.support-page:not(.support-page-compact) .top-tabs .nav-tab-static.active {
    min-height: 34px !important;
    height: 34px !important;
    padding: 0 8px !important;
    border-color: rgba(127, 211, 255, 0.28);
    background: rgba(24, 47, 75, 0.72);
    box-shadow: inset 0 0 0 1px rgba(117, 194, 255, 0.08);
}

.support-page:not(.support-page-compact) .top-tabs .nav-tab.active::after,
.support-page:not(.support-page-compact) .top-tabs .nav-tab-static.active::after {
    left: 10px;
    right: 10px;
    bottom: -1px;
    height: 2px;
}

.support-page:not(.support-page-compact) .top-tabs .nav-tab::before,
.support-page:not(.support-page-compact) .topbar-actions-segmented .refresh-button::before {
    width: 12px !important;
    height: 12px !important;
    background-size: 12px 12px !important;
}

.support-page:not(.support-page-compact) .top-tabs .dashboard-theme-toggle {
    width: 30px !important;
    min-width: 30px !important;
    padding: 0;
}

.support-page:not(.support-page-compact) .support-ticket-search-admin {
    height: 28px;
    padding: 0 6px;
    margin-left: 0;
}

.support-page:not(.support-page-compact) .support-ticket-search-button {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
}

.support-page:not(.support-page-compact) .support-ticket-search-button::before {
    width: 12px;
    height: 12px;
    margin: 2px;
}

.support-page:not(.support-page-compact) .support-ticket-search-input {
    width: 76px;
    height: 21px;
    font-size: 11px;
}

.support-page .status-progress-embedded,
.support-page .status-progress-group,
.support-page .progress-shell.status-progress-embedded {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.support-page:not(.support-page-compact) .topbar-unified > .topbar-actions-row {
    grid-column: auto;
    flex: 0 0 auto !important;
    align-self: center !important;
    gap: 4px !important;
    margin-left: auto !important;
}

.support-page:not(.support-page-compact) .topbar-logout-link {
    min-width: 52px;
}

.support-page:not(.support-page-compact) #support-refresh-now,
.support-page:not(.support-page-compact) #support-alert-config-open,
.support-page:not(.support-page-compact) .topbar-logout-link {
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
    padding: 0 8px !important;
}

.main-content-full.admin-page,
.main-content-full.support-page:not(.support-page-compact),
.main-content-full.chamados-page {
    padding-top: 0;
}

:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .topbar {
    margin-top: 0;
    margin-bottom: 2px;
    padding-top: 0;
}

:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .hero-grid-general {
    margin-top: 4px;
}

:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .topbar-unified {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    min-height: 48px !important;
    padding: 0 8px !important;
    align-items: center !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .top-tabs-embedded {
    flex: 0 1 auto !important;
    width: auto !important;
    min-height: 44px !important;
    height: 44px !important;
    gap: 5px !important;
    padding: 0 4px !important;
    border: 0 !important;
    border-bottom: 0 !important;
    background: transparent !important;
}

:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .top-tabs .nav-tab:not(.support-change-password-admin),
:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .topbar-actions-segmented .refresh-button {
    min-height: 34px !important;
    height: 34px !important;
    gap: 8px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    border-width: 1px !important;
    border-style: solid !important;
    box-shadow: none !important;
    font-size: 11px !important;
    line-height: 1 !important;
    transform: none !important;
}

html:not([data-theme="grafite"]):not(.light-mode) :is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .top-tabs .nav-tab:not(.support-change-password-admin),
html:not([data-theme="grafite"]):not(.light-mode) :is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .topbar-actions-segmented .refresh-button {
    border-color: rgba(103, 139, 204, 0.16) !important;
    background: rgba(18, 31, 54, 0.62) !important;
}

html:not([data-theme="grafite"]):not(.light-mode) :is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .top-tabs .nav-tab:not(.support-change-password-admin):hover,
html:not([data-theme="grafite"]):not(.light-mode) :is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .top-tabs .nav-tab:not(.support-change-password-admin):focus-visible,
html:not([data-theme="grafite"]):not(.light-mode) :is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .topbar-actions-segmented .refresh-button:hover,
html:not([data-theme="grafite"]):not(.light-mode) :is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .topbar-actions-segmented .refresh-button:focus-visible {
    transform: none !important;
    border-color: rgba(99, 200, 255, 0.30) !important;
    background: rgba(24, 47, 75, 0.62) !important;
    box-shadow: none !important;
}

:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .top-tabs .nav-tab.active,
:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .top-tabs .nav-tab-static.active {
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 11px !important;
}

html:not([data-theme="grafite"]):not(.light-mode) :is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .top-tabs .nav-tab.active,
html:not([data-theme="grafite"]):not(.light-mode) :is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .top-tabs .nav-tab-static.active {
    border-color: rgba(127, 211, 255, 0.30) !important;
    background: rgba(24, 47, 75, 0.76) !important;
    box-shadow: inset 0 0 0 1px rgba(117, 194, 255, 0.08) !important;
}

:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .top-tabs .nav-tab.active::after,
:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .top-tabs .nav-tab-static.active::after {
    left: 12px !important;
    right: 12px !important;
    bottom: -1px !important;
    height: 2px !important;
}

:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .top-tabs .nav-tab::before,
:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .topbar-actions-segmented .refresh-button::before {
    width: 14px !important;
    height: 14px !important;
    background-size: 14px 14px !important;
}

.nav-tab[data-icon="grid"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='12' height='12' rx='2'/%3E%3Cpath d='M5 10.5V7.8M8 10.5V5.5M11 10.5V8.8M4.4 12.2h7.2'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.nav-tab[data-icon="message"]::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4.3' width='10' height='7.8' rx='2'/%3E%3Cpath d='M6.2 4.3V2.7M8 2.7h.1M9.9 4.3V2.7M5.8 8.2h.1M10.1 8.2h.1M7 10h2'/%3E%3Cpath d='M1.8 7.2v2M14.2 7.2v2'/%3E%3C/g%3E%3C/svg%3E") !important;
}

.nav-tab[data-icon="email"]::before,
.refresh-button[data-icon="email"]::before {
    content: "" !important;
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg fill='none' stroke='%23b7f2ff' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3.2' width='12' height='9.6' rx='2'/%3E%3Cpath d='m3 5 5 3.7L13 5'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}

:is(.admin-page, .chamados-page) .status-progress-embedded {
    flex: 1 1 360px !important;
    align-self: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 620px !important;
    min-height: 34px !important;
    padding: 4px 10px !important;
    border-radius: 8px !important;
}

:is(.admin-page, .chamados-page) .status-progress-group {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: max-content minmax(90px, 150px) max-content !important;
    gap: 8px !important;
}

:is(.admin-page, .chamados-page) .progress-track {
    width: 150px !important;
    height: 2px !important;
}

:is(.admin-page, .chamados-page) .status-pill,
:is(.admin-page, .chamados-page) .progress-stamp {
    font-size: 10px !important;
}

:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .topbar-unified > .topbar-actions-row {
    flex: 0 0 auto !important;
    align-self: center !important;
    gap: 4px !important;
    margin-left: auto !important;
}

:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .topbar-actions-segmented .refresh-button,
:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .topbar-logout-link,
:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) #support-refresh-now,
:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) #support-alert-config-open,
:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) #chamados-refresh {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
}

.support-sync-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(103, 139, 204, 0.16) !important;
    background: rgba(18, 31, 54, 0.62) !important;
    color: rgba(226, 241, 255, 0.92) !important;
    font-size: 11px !important;
    font-weight: 500;
    line-height: 1 !important;
    white-space: nowrap !important;
    flex: 0 0 auto !important;
    user-select: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.support-sync-badge:hover {
    border-color: rgba(99, 200, 255, 0.30) !important;
    background: rgba(24, 47, 75, 0.62) !important;
}

.support-sync-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
    flex: 0 0 7px;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.support-sync-badge.is-syncing {
    border-color: rgba(245, 158, 11, 0.35) !important;
    background: rgba(45, 34, 18, 0.62) !important;
    color: #fbbf24 !important;
}

.support-sync-badge.is-syncing .support-sync-dot {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.9);
    animation: supportSyncDotPulse 1.2s infinite ease-in-out;
}

.support-sync-badge.is-error {
    border-color: rgba(239, 68, 68, 0.35) !important;
    background: rgba(45, 18, 18, 0.62) !important;
    color: #fca5a5 !important;
}

.support-sync-badge.is-error .support-sync-dot {
    background: #ef4444;
    box-shadow: 0 0 6px rgba(239, 68, 68, 0.8);
}

.support-sync-caption {
    letter-spacing: 0.15px;
}

@keyframes supportSyncDotPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.3;
        transform: scale(1.35);
    }
}

html[data-theme="grafite"] .support-sync-badge {
    border-color: rgba(255, 255, 255, 0.12) !important;
    background: rgba(30, 34, 42, 0.75) !important;
    color: rgba(240, 243, 248, 0.92) !important;
}

html[data-theme="grafite"] .support-sync-badge:hover {
    border-color: rgba(255, 255, 255, 0.22) !important;
    background: rgba(38, 44, 54, 0.85) !important;
}

html.light-mode .support-sync-badge {
    border-color: rgba(33, 48, 72, 0.14) !important;
    background: #f5f9ff !important;
    color: #13223a !important;
    box-shadow: 0 1px 3px rgba(31, 63, 108, 0.05);
}

html.light-mode .support-sync-badge:hover {
    border-color: rgba(47, 140, 255, 0.25) !important;
    background: #edf4ff !important;
}

html.light-mode .admin-page .top-tabs-embedded,
html.light-mode .support-page:not(.support-page-compact) .top-tabs-embedded,
html.light-mode .chamados-page .top-tabs-embedded {
    border-color: rgba(33, 48, 72, 0.12);
    background: transparent !important;
}

html.light-mode .admin-page .top-tabs .nav-tab,
html.light-mode .support-page:not(.support-page-compact) .top-tabs .nav-tab,
html.light-mode .chamados-page .top-tabs .nav-tab {
    color: #263853;
}

html.light-mode .admin-page .top-tabs .nav-tab:hover,
html.light-mode .support-page:not(.support-page-compact) .top-tabs .nav-tab:hover,
html.light-mode .chamados-page .top-tabs .nav-tab:hover,
html.light-mode .admin-page .top-tabs .nav-tab.active,
html.light-mode .support-page:not(.support-page-compact) .top-tabs .nav-tab.active,
html.light-mode .chamados-page .top-tabs .nav-tab.active {
    color: #13223a;
    border-color: rgba(47, 140, 255, 0.18);
    background: #f5f9ff;
    box-shadow: 0 8px 18px rgba(31, 63, 108, 0.08);
}

@media (max-width: 980px) {
    .admin-page .topbar-unified,
    .support-page:not(.support-page-compact) .topbar-unified,
    .chamados-page .topbar-unified {
        grid-template-columns: 1fr;
    }

    .admin-page .top-tabs-embedded,
    .support-page:not(.support-page-compact) .top-tabs-embedded,
    .chamados-page .top-tabs-embedded {
        min-height: 76px;
        gap: 10px;
        padding: 0 10px;
    }

    .admin-page .top-tabs .nav-tab,
    .support-page:not(.support-page-compact) .top-tabs .nav-tab,
    .chamados-page .top-tabs .nav-tab {
        min-height: 54px;
        padding: 0 12px;
        font-size: 14px;
    }

    .admin-page .topbar-unified > .topbar-actions-row,
    .support-page:not(.support-page-compact) .topbar-unified > .topbar-actions-row,
    .chamados-page .topbar-unified > .topbar-actions-row,
    .admin-page .status-progress-embedded,
    .support-page:not(.support-page-compact) .status-progress-embedded,
    .chamados-page .status-progress-embedded {
        grid-column: 1;
        width: 100%;
        justify-self: stretch;
    }

    .support-page:not(.support-page-compact) .status-progress-embedded {
        width: 600px !important;
        min-width: 600px;
        max-width: calc(100vw - 24px);
        justify-self: start;
    }
}

.refresh-button[data-icon="alert"]::before {
    content: "!";
    font-size: 18px;
    font-weight: 900;
}

.support-alert-config-open {
    min-width: 58px;
}

.support-alert-config-open.support-alert-active {
    color: #fff8df;
    font-weight: 800;
    isolation: isolate;
}

.support-alert-config-open.support-alert-active::before {
    color: currentColor;
    text-shadow: 0 0 10px currentColor;
}

.support-alert-config-open.support-alert-active.is-alert-yellow {
    animation: supportAlertButtonPulseYellow 900ms ease-in-out infinite;
    border-color: rgba(255, 203, 66, 0.92);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 224, 83, 0.38), transparent 62%),
        linear-gradient(180deg, rgba(117, 79, 0, 0.98), rgba(35, 25, 4, 0.98));
}

.support-alert-config-open.support-alert-active.is-alert-red {
    animation: supportAlertButtonPulseRed 760ms ease-in-out infinite;
    border-color: rgba(255, 91, 91, 0.96);
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 93, 93, 0.42), transparent 62%),
        linear-gradient(180deg, rgba(125, 15, 18, 0.98), rgba(39, 6, 10, 0.98));
}

:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .topbar-actions-segmented #support-alert-config-open.support-alert-active.is-alert-yellow {
    color: #fff8df !important;
    border-color: rgba(255, 214, 92, 0.96) !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 232, 114, 0.58), transparent 62%),
        linear-gradient(180deg, rgba(168, 111, 0, 0.98), rgba(64, 43, 0, 0.98)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 248, 214, 0.28),
        0 0 0 1px rgba(255, 214, 92, 0.16),
        0 0 22px rgba(255, 196, 46, 0.38) !important;
}

:is(.admin-page, .support-page:not(.support-page-compact), .chamados-page) .topbar-actions-segmented #support-alert-config-open.support-alert-active.is-alert-red {
    color: #fff3f3 !important;
    border-color: rgba(255, 109, 109, 0.98) !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 124, 124, 0.54), transparent 62%),
        linear-gradient(180deg, rgba(170, 22, 28, 0.98), rgba(66, 8, 12, 0.98)) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 224, 224, 0.26),
        0 0 0 1px rgba(255, 109, 109, 0.18),
        0 0 24px rgba(255, 67, 67, 0.44) !important;
}

html.light-mode .support-alert-config-open.support-alert-active.is-alert-yellow {
    color: #3b2600;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 229, 92, 0.72), transparent 66%),
        linear-gradient(180deg, rgba(255, 206, 51, 0.98), rgba(255, 176, 0, 0.98));
}

html.light-mode .support-alert-config-open.support-alert-active.is-alert-red {
    color: #fffafa;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 115, 115, 0.68), transparent 66%),
        linear-gradient(180deg, rgba(224, 42, 46, 0.98), rgba(145, 18, 23, 0.98));
}

html.light-mode body.support-page-body {
    background:
        radial-gradient(circle at 18% 0%, rgba(47, 140, 255, 0.08), transparent 28%),
        radial-gradient(circle at 100% 4%, rgba(255, 82, 99, 0.06), transparent 24%),
        linear-gradient(180deg, #f1f4f8 0%, #e8edf3 100%);
}

html.light-mode .support-page,
html.light-mode .support-shell,
html.light-mode .support-view {
    background: transparent;
}

html.light-mode .hero-card-status-ranking {
    color: #172033;
    border-color: rgba(224, 67, 84, 0.34) !important;
    background:
        radial-gradient(circle at 96% 16%, rgba(255, 78, 98, 0.12), transparent 34%),
        linear-gradient(135deg, #fffafa, #f6f8fb) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.96),
        0 8px 20px rgba(132, 42, 55, 0.10) !important;
}

html.light-mode .hero-card-status-ranking::after {
    border-color: rgba(224, 67, 84, 0.26);
    box-shadow: inset 0 0 0 1px rgba(224, 67, 84, 0.08);
}

html.light-mode .hero-card-status-ranking::before {
    background:
        linear-gradient(180deg, transparent 4%, rgba(224, 67, 84, 0.86) 22%, transparent 42%) left center / 2px 180% no-repeat,
        linear-gradient(180deg, transparent 58%, rgba(224, 67, 84, 0.86) 78%, transparent 96%) right center / 2px 180% no-repeat;
}

html.light-mode .support-status-ranking-icon {
    border-color: rgba(224, 67, 84, 0.44);
    background: #ffe8ec;
    color: #b92739 !important;
    box-shadow: 0 0 12px rgba(224, 67, 84, 0.16);
}

html.light-mode .hero-card-status-ranking .support-status-ticket-list {
    border-color: rgba(224, 67, 84, 0.18) !important;
    background: rgba(255, 255, 255, 0.72) !important;
}

html.light-mode .hero-card-status-ranking .support-status-ranking-row {
    color: #172033 !important;
    border-color: rgba(32, 48, 72, 0.08) !important;
    background: rgba(255, 255, 255, 0.72) !important;
    box-shadow: none !important;
}

html.light-mode .hero-card-status-ranking .support-status-ranking-row:hover,
html.light-mode .hero-card-status-ranking .support-status-ranking-row:focus-visible {
    background: #fff2f4 !important;
    border-color: rgba(224, 67, 84, 0.24) !important;
}

html.light-mode .support-status-ranking-position {
    background: #ffe2e7;
    color: #9f2b3a;
}

html.light-mode .hero-card-status-ranking .support-status-ticket-title,
html.light-mode .hero-card-status-ranking .support-status-ranking-count {
    color: #172033 !important;
}

html.light-mode .hero-card-status-ranking .support-status-ranking-count small {
    color: #6a7485 !important;
}

html.light-mode .support-status-ranking-track {
    background:
        repeating-linear-gradient(90deg, rgba(91, 107, 132, 0.12) 0, rgba(91, 107, 132, 0.12) 1px, transparent 1px, transparent 20%),
        #e8edf4;
}

html.light-mode .support-status-ranking-total {
    color: #172033;
    border-color: rgba(224, 67, 84, 0.28);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(132, 42, 55, 0.08);
}

html.light-mode .support-status-ranking-total:hover,
html.light-mode .support-status-ranking-total:focus-visible {
    background: #fff2f4;
    border-color: rgba(224, 67, 84, 0.42);
}

html.light-mode .hero-weekly-summary-card,
html.light-mode .hero-weekly-today-card,
html.light-mode .hero-mini-day-grid-modern .hero-mini-day-card {
    color: #172033;
    border-color: rgba(32, 48, 72, 0.10) !important;
    background:
        radial-gradient(circle at 20% 0%, rgba(47, 140, 255, 0.10), transparent 36%),
        linear-gradient(180deg, #ffffff, #f2f6fb) !important;
    box-shadow: 0 4px 12px rgba(28, 43, 64, 0.07) !important;
}

html.light-mode .hero-weekly-summary-icon,
html.light-mode .hero-weekly-today-icon {
    border-color: rgba(47, 140, 255, 0.22);
    background: #e8f4ff;
    box-shadow: inset 0 0 12px rgba(47, 140, 255, 0.10);
}

html.light-mode .hero-weekly-summary-label,
html.light-mode .hero-weekly-today-label,
html.light-mode .hero-mini-day-weekday {
    color: #51627a !important;
}

html.light-mode .hero-weekly-summary-value,
html.light-mode .hero-weekly-today-value {
    color: #d99014 !important;
}

html.light-mode .hero-weekly-summary-note,
html.light-mode .hero-weekly-today-note,
html.light-mode .hero-mini-day-note {
    color: #65748b !important;
}

html.light-mode .hero-weekly-day-track::before {
    background: rgba(47, 140, 255, 0.22);
}

html.light-mode .hero-weekly-day-dot {
    border-color: rgba(47, 140, 255, 0.36);
    background: #ffffff;
}

html.light-mode .hero-weekly-day-dot.is-active {
    border-color: #2f8cff;
    background: #2f8cff;
    box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.12);
}

html.light-mode .operator-handling-row {
    color: #172033;
    border-color: rgba(32, 48, 72, 0.10);
    background: linear-gradient(180deg, #ffffff, #f3f6fb) !important;
    box-shadow: 0 4px 12px rgba(28, 43, 64, 0.07) !important;
}

html.light-mode .operator-handling-row-label {
    color: #172033 !important;
}

html.light-mode .operator-handling-row-grid {
    background-image: linear-gradient(to right, rgba(91, 107, 132, 0.14) 1px, transparent 1px);
    opacity: 1;
}

html.light-mode .operator-handling-row-track,
html.light-mode .operator-handling-row-track-secondary {
    border-color: rgba(32, 48, 72, 0.08) !important;
    background: #e8edf4 !important;
}

html.light-mode .operator-handling-row-value {
    color: #c88412 !important;
}

html.light-mode .operator-handling-row-value-secondary {
    color: #168ec0 !important;
}

html.light-mode .operator-handling-button-inline,
html.light-mode .operator-handling-ticket-card,
html.light-mode .operator-handling-ticket-card-static {
    color: #172033 !important;
    border-color: rgba(32, 48, 72, 0.10) !important;
    background: #ffffff !important;
    box-shadow: 0 3px 10px rgba(28, 43, 64, 0.07) !important;
}

html.light-mode .support-grid-main .operator-handling-ticket-card span:first-child {
    color: #506079 !important;
}

html.light-mode .support-grid-main .operator-handling-ticket-card strong {
    color: #172033 !important;
}

@keyframes supportAlertButtonPulseYellow {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.22),
            0 0 0 rgba(255, 197, 35, 0),
            0 0 12px rgba(255, 197, 35, 0.36);
        transform: translateY(0);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.34),
            0 0 0 4px rgba(255, 197, 35, 0.18),
            0 0 28px rgba(255, 197, 35, 0.74);
        transform: translateY(-1px);
    }
}

@keyframes supportAlertButtonPulseRed {
    0%, 100% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.22),
            0 0 0 rgba(255, 67, 67, 0),
            0 0 14px rgba(255, 67, 67, 0.42);
        transform: translateY(0);
    }
    50% {
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.34),
            0 0 0 5px rgba(255, 67, 67, 0.2),
            0 0 32px rgba(255, 67, 67, 0.82);
        transform: translateY(-1px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .support-alert-config-open.support-alert-active {
        animation: none;
    }
}

.support-operational-alert {
    position: fixed;
    inset: 0;
    z-index: 2400;
    pointer-events: none;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 180ms ease, transform 180ms ease;
    background: rgba(1, 6, 12, 0.96);
}

.support-operational-alert.active {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.support-operational-alert-shell {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 186, 0, 0.75);
    border-radius: 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(255, 183, 0, 0.26), transparent 32%),
        linear-gradient(135deg, rgba(16, 15, 11, 0.98), rgba(5, 12, 18, 0.98));
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 20px 80px rgba(0,0,0,0.62), 0 0 44px rgba(255, 176, 0, 0.28);
}

.support-operational-alert-top-actions {
    position: absolute;
    top: 16px;
    right: 18px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.support-operational-alert-logout,
.support-operational-alert-preview-close {
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(128, 180, 255, 0.34);
    border-radius: 7px;
    color: #dceaff;
    background: rgba(4, 12, 22, 0.88);
    font-size: 12px;
    font-weight: 800;
    line-height: 32px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.support-operational-alert-logout:hover,
.support-operational-alert-logout:focus-visible,
.support-operational-alert-preview-close:hover,
.support-operational-alert-preview-close:focus-visible {
    border-color: rgba(128, 180, 255, 0.58);
    background: rgba(20, 42, 70, 0.92);
    color: #eef4ff;
    outline: none;
}

.support-operational-alert.is-red .support-operational-alert-shell {
    border-color: rgba(255, 55, 55, 0.82);
    background:
        radial-gradient(circle at 12% 10%, rgba(255, 30, 35, 0.30), transparent 34%),
        linear-gradient(135deg, rgba(24, 6, 12, 0.98), rgba(6, 10, 16, 0.98));
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 20px 80px rgba(0,0,0,0.66), 0 0 52px rgba(255, 42, 42, 0.34);
}

.support-operational-alert.is-unavailable .support-operational-alert-shell {
    border-color: rgba(120, 150, 180, 0.45);
    background: rgba(8, 14, 22, 0.98);
}

.support-operational-alert-hero {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    min-height: 180px;
    padding: 8px 20px 10px;
    border: 1px solid rgba(255, 190, 18, 0.22);
    border-radius: 8px;
    background: linear-gradient(90deg, rgba(255, 190, 18, 0.10), rgba(255,255,255,0.025));
}

.support-operational-alert.is-red .support-operational-alert-hero {
    border-color: rgba(255, 70, 70, 0.25);
    background: linear-gradient(90deg, rgba(255, 60, 60, 0.13), rgba(255,255,255,0.025));
}

.support-siren {
    position: relative;
    width: 210px;
    height: 210px;
    margin: -28px auto -18px;
    perspective: 900px;
    transform-style: preserve-3d;
    --siren-rgb: 255, 190, 20;
    --siren-strong: #ffc01f;
    --siren-mid: #f58408;
    --siren-dark: #4c2200;
    filter: drop-shadow(0 18px 26px rgba(0, 0, 0, 0.42));
    overflow: visible;
}

.support-operational-alert.is-red .support-siren {
    --siren-rgb: 255, 42, 42;
    --siren-strong: #ff3131;
    --siren-mid: #b10d16;
    --siren-dark: #2c0000;
}

.support-operational-alert.is-red .support-siren-distant-beam,
.support-operational-alert.is-red .support-siren-rotor {
    animation-duration: 0.73s;
}

.support-operational-alert.is-red .support-siren-room-glow,
.support-operational-alert.is-red .support-siren-ground,
.support-operational-alert.is-red .support-siren-dome {
    animation-duration: 0.77s;
}

.support-siren-room-glow,
.support-siren-distant-beam,
.support-siren-ground,
.support-siren-ring,
.support-siren-spark,
.support-siren-rotor,
.support-siren-reflector,
.support-siren-core,
.support-siren-post,
.support-siren-dome,
.support-siren-seal,
.support-siren-base,
.support-siren-base-highlight,
.support-siren-screw {
    position: absolute;
}

.support-siren-room-glow {
    inset: -22px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 50% 45%, rgba(var(--siren-rgb), 0.30), rgba(var(--siren-rgb), 0.12) 30%, transparent 68%),
        conic-gradient(from 0deg, transparent, rgba(var(--siren-rgb), 0.18), transparent, rgba(var(--siren-rgb), 0.12), transparent);
    filter: blur(12px);
    animation: supportSirenRoomPulse 1.08s ease-in-out infinite;
    z-index: 0;
}

.support-siren-distant-beam {
    left: 50%;
    top: 40%;
    width: 300px;
    height: 76px;
    border-radius: 999px;
    transform-origin: center;
    background: linear-gradient(90deg, transparent 0%, rgba(var(--siren-rgb), 0.05) 18%, rgba(var(--siren-rgb), 0.52) 48%, rgba(255, 255, 210, 0.92) 52%, rgba(var(--siren-rgb), 0.48) 56%, rgba(var(--siren-rgb), 0.05) 84%, transparent 100%);
    filter: blur(10px);
    mix-blend-mode: screen;
    animation: supportSirenFlashSweep 1.02s linear infinite;
    z-index: 1;
}

.support-siren-ground {
    left: 50%;
    bottom: 27px;
    width: 174px;
    height: 48px;
    border-radius: 999px;
    background: radial-gradient(ellipse, rgba(var(--siren-rgb), 0.82) 0%, rgba(var(--siren-rgb), 0.30) 38%, transparent 74%);
    filter: blur(9px);
    animation: supportSirenGroundPulse 1.02s ease-in-out infinite;
    z-index: 0;
}

.support-siren-ring {
    left: 50%;
    bottom: 26px;
    border: 1px solid rgba(var(--siren-rgb), 0.25);
    border-radius: 999px;
    transform: translateX(-50%) rotateX(64deg);
    box-shadow: 0 0 14px rgba(var(--siren-rgb), 0.15);
    z-index: 1;
}

.support-siren-ring.ring-1 {
    width: 96px;
    height: 96px;
}

.support-siren-ring.ring-2 {
    width: 138px;
    height: 138px;
    opacity: 0.65;
}

.support-siren-ring.ring-3 {
    width: 184px;
    height: 184px;
    opacity: 0.42;
}

.support-siren-spark {
    border-radius: 999px;
    background: rgba(var(--siren-rgb), 0.88);
    box-shadow: 0 0 10px rgba(var(--siren-rgb), 0.92);
    animation: supportSirenSpark 2.2s ease-in-out infinite;
    z-index: 2;
}

.support-siren-rotor {
    left: 50%;
    top: 82px;
    z-index: 8;
    width: 76px;
    height: 58px;
    transform-style: preserve-3d;
    transform-origin: center center;
    animation: supportSirenRotorSpin 1.02s linear infinite;
}

.support-siren-reflector {
    top: 9px;
    left: 50%;
    width: 44px;
    height: 40px;
    border-radius: 48% 10% 10% 48%;
    transform-origin: left center;
    background:
        radial-gradient(circle at 25% 50%, #fffccf 0%, #fff6a5 10%, var(--siren-strong) 25%, rgba(var(--siren-rgb), 0.32) 54%, rgba(60, 0, 0, 0.16) 100%),
        linear-gradient(90deg, rgba(255,255,255,.82), rgba(255,255,255,.14));
    box-shadow: 0 0 20px rgba(255, 248, 190, 0.82), 0 0 48px rgba(var(--siren-rgb), 0.70);
    backface-visibility: visible;
}

.support-siren-reflector.right {
    transform: rotateY(0deg) translateZ(4px);
}

.support-siren-reflector.left {
    transform: rotateY(180deg) translateZ(4px);
    opacity: 0.74;
}

.support-siren-core {
    left: 50%;
    top: 30px;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    border-radius: 999px;
    background: radial-gradient(circle, #fffde3 0%, #ffcf4d 18%, var(--siren-strong) 44%, var(--siren-dark) 78%);
    box-shadow: 0 0 22px rgba(255,255,220,.82), 0 0 50px rgba(var(--siren-rgb), 0.90);
}

.support-siren-post {
    left: 50%;
    top: 109px;
    z-index: 6;
    width: 13px;
    height: 42px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--siren-dark), rgba(255,255,255,0.55), var(--siren-dark));
    box-shadow: 0 0 20px rgba(var(--siren-rgb), 0.62);
}

.support-siren-dome {
    left: 50%;
    top: 24px;
    z-index: 7;
    width: 98px;
    height: 124px;
    transform: translateX(-50%);
    border-radius: 50px 50px 24px 24px;
    overflow: hidden;
    border: 2px solid rgba(var(--siren-rgb), 0.72);
    background:
        linear-gradient(90deg, rgba(255,255,255,.42) 0%, rgba(255,255,255,.10) 9%, transparent 22%, transparent 76%, rgba(255,255,255,.16) 90%, rgba(255,255,255,.32) 100%),
        radial-gradient(circle at 50% 32%, rgba(255, 246, 204, .72) 0%, rgba(var(--siren-rgb), .38) 19%, rgba(var(--siren-rgb), .62) 42%, rgba(54, 0, 0, .84) 100%);
    box-shadow:
        inset 12px 0 26px rgba(255, 255, 255, .13),
        inset -18px -6px 30px rgba(45, 0, 0, .62),
        inset 0 24px 26px rgba(255, 255, 255, .16),
        inset 0 -34px 34px rgba(45, 0, 0, .78),
        0 0 34px rgba(var(--siren-rgb), .70),
        0 0 94px rgba(var(--siren-rgb), .35);
    animation: supportSirenDomePulse 1.02s ease-in-out infinite;
}

.support-siren-dome::before {
    content: "";
    position: absolute;
    top: 12px;
    left: 21px;
    width: 17px;
    height: 88px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.14) 58%, transparent);
    animation: supportSirenGlassGlint 2.35s ease-in-out infinite;
}

.support-siren-dome::after {
    content: "";
    position: absolute;
    inset: 7px 8px 9px;
    border-radius: 44px 44px 18px 18px;
    border: 1px solid rgba(255,255,255,.20);
    box-shadow: inset 0 0 22px rgba(255,255,255,.08);
}

.support-siren-seal {
    left: 50%;
    top: 146px;
    z-index: 10;
    width: 118px;
    height: 26px;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 1px solid rgba(var(--siren-rgb), 0.48);
    background: radial-gradient(ellipse at center, #3a3b43 0%, #16181f 45%, #040508 75%);
    box-shadow: inset 0 7px 13px rgba(255,255,255,.12), 0 0 25px rgba(var(--siren-rgb), .38);
}

.support-siren-base {
    left: 50%;
    top: 160px;
    z-index: 9;
    width: 144px;
    height: 42px;
    transform: translateX(-50%);
    border-radius: 18px 18px 34px 34px;
    background:
        linear-gradient(180deg, #343742 0%, #181b24 38%, #06070c 100%),
        radial-gradient(ellipse at top, rgba(255,255,255,.18), transparent 48%);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow:
        inset 0 14px 20px rgba(255,255,255,.08),
        inset 0 -20px 24px rgba(0,0,0,.62),
        0 22px 40px rgba(0,0,0,.72);
}

.support-siren-base-highlight {
    left: 50%;
    top: 171px;
    z-index: 12;
    width: 128px;
    height: 6px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(var(--siren-rgb), .95), rgba(255, 245, 180, .70), rgba(var(--siren-rgb), .95), transparent);
    box-shadow: 0 0 18px rgba(var(--siren-rgb), .86);
}

.support-siren-screw {
    top: 178px;
    z-index: 13;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: radial-gradient(circle at 35% 30%, #d1d4dd, #30333c 47%, #090a0e 76%);
    box-shadow: inset 0 1px 3px rgba(255,255,255,.35), 0 0 10px rgba(var(--siren-rgb), .26);
}

.support-siren-screw::after {
    content: "";
    position: absolute;
    left: 2px;
    top: 5px;
    width: 7px;
    height: 1px;
    border-radius: 999px;
    background: rgba(0,0,0,.65);
    transform: rotate(-18deg);
}

.support-siren-screw.screw-left {
    left: 51px;
}

.support-siren-screw.screw-right {
    right: 51px;
}

.support-operational-alert-copy h2 {
    margin: 0;
    color: #ffbf17;
    font-size: clamp(30px, 5vw, 58px);
    line-height: 1;
    text-transform: uppercase;
}

.support-operational-alert.is-red .support-operational-alert-copy h2 {
    color: #ff5252;
}

.support-operational-alert-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-top: 8px;
    padding: 0 14px;
    border: 1px solid currentColor;
    border-radius: 6px;
    color: #ffc21f;
    background: rgba(255, 180, 0, 0.10);
    font-weight: 900;
    text-transform: uppercase;
}

.support-operational-alert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.support-operational-alert-preview-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-top: 8px;
    padding: 0 12px;
    border: 1px solid rgba(128, 180, 255, 0.46);
    border-radius: 6px;
    color: #b8d5ff;
    background: rgba(80, 140, 220, 0.13);
    font-weight: 900;
    text-transform: uppercase;
}

.support-operational-alert.is-red .support-operational-alert-badge {
    color: #ff6363;
    background: rgba(255, 60, 60, 0.12);
}

.support-operational-alert-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 10px;
    margin: 2px 0 0;
}

.support-operational-alert-stats div {
    min-width: 0;
    padding: 8px 14px;
    border-left: 1px solid rgba(255, 190, 18, 0.45);
    background: rgba(0,0,0,0.18);
}

.support-operational-alert.is-red .support-operational-alert-stats div {
    border-left-color: rgba(255, 70, 70, 0.48);
}

.support-operational-alert-stats span,
.support-operational-alert-copy small {
    color: rgba(235, 243, 255, 0.78);
}

.support-operational-alert-stats strong {
    display: block;
    margin-top: 4px;
    color: #ffbd18;
    font-size: clamp(22px, 3vw, 38px);
    line-height: 1;
    overflow-wrap: anywhere;
}

.support-operational-alert.is-red .support-operational-alert-stats strong {
    color: #ff6666;
}

.support-operational-alert-copy p {
    margin: 0 0 8px;
    color: #fff5d0;
    font-size: clamp(17px, 2.1vw, 24px);
    font-weight: 800;
}

.support-operational-alert.is-red .support-operational-alert-copy p {
    color: #ffe5e5;
}

.support-operational-alert-table-card {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    margin-top: 10px;
    border: 1px solid rgba(255, 190, 18, 0.24);
    border-radius: 8px;
    overflow: hidden;
    background: rgba(3, 10, 17, 0.86);
}

.support-operational-alert.is-red .support-operational-alert-table-card {
    border-color: rgba(255, 70, 70, 0.28);
}

.support-operational-alert-table-card header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
}

.support-operational-alert-table-card h3 {
    margin: 0;
    color: #edf5ff;
    font-size: 17px;
}

.support-operational-alert-table-card header span {
    min-width: 30px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(255, 190, 18, 0.18);
    color: #ffc21f;
    text-align: center;
    font-weight: 900;
}

.support-operational-alert.is-red .support-operational-alert-table-card header span {
    background: rgba(255, 60, 60, 0.18);
    color: #ff7474;
}

.support-operational-alert-table-wrap {
    flex: 1 1 auto;
    min-height: 0;
    max-height: none;
    overflow: auto;
}

.support-operational-alert-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.support-operational-alert-table th:nth-child(1),
.support-operational-alert-table td:nth-child(1) {
    width: 116px;
}

.support-operational-alert-table th:nth-child(2),
.support-operational-alert-table td:nth-child(2) {
    width: 270px;
}

.support-operational-alert-table th:nth-child(3),
.support-operational-alert-table td:nth-child(3) {
    width: 300px;
}

.support-operational-alert-table th:nth-child(4),
.support-operational-alert-table td:nth-child(4) {
    width: 280px;
}

.support-operational-alert-table th:nth-child(5),
.support-operational-alert-table td:nth-child(5) {
    width: 130px;
}

.support-operational-alert-table th:nth-child(6),
.support-operational-alert-table td:nth-child(6) {
    width: 180px;
}

.support-operational-alert-table th:nth-child(7),
.support-operational-alert-table td:nth-child(7) {
    width: 240px;
}

.support-operational-alert-table th,
.support-operational-alert-table td {
    padding: 11px 12px;
    border-top: 1px solid rgba(255,255,255,0.07);
    color: rgba(237, 245, 255, 0.92);
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.support-operational-alert-ticket-row.is-clickable {
    cursor: pointer;
}

.support-operational-alert-ticket-row.is-clickable:hover td,
.support-operational-alert-ticket-row.is-clickable:focus-visible td {
    background: rgba(255, 194, 31, 0.06);
}

.support-operational-alert-ticket-row.is-clickable:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -2px;
}

.support-operational-alert-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(7, 16, 25, 0.98);
    color: #ffbf17;
    font-size: 12px;
    text-transform: uppercase;
}

.support-operational-alert.is-red .support-operational-alert-table th {
    color: #ff6666;
}

.support-operational-alert-table td:nth-child(1),
.support-operational-alert-table td:nth-child(6) {
    color: #ffd35a;
    font-weight: 900;
}

.support-operational-alert.is-red .support-operational-alert-table td:nth-child(1),
.support-operational-alert.is-red .support-operational-alert-table td:nth-child(6) {
    color: #ff7676;
}

.support-operational-alert-ticket-link {
    color: inherit;
    text-decoration: none;
    text-underline-offset: 3px;
}

.support-operational-alert-ticket-link:hover,
.support-operational-alert-ticket-link:focus-visible {
    text-decoration: underline;
}

.support-operational-alert-priority,
.support-operational-alert-table td:nth-child(7) span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 8px;
    border-radius: 5px;
    background: rgba(255, 190, 18, 0.12);
    color: #ffc21f;
}

.support-operational-alert-priority.is-low {
    background: rgba(84, 214, 139, 0.14);
    color: #82e6a9;
}

.support-operational-alert-priority.is-high {
    background: rgba(255, 190, 18, 0.16);
    color: #ffd35a;
}

.support-operational-alert-priority.is-urgent {
    background: rgba(255, 60, 60, 0.16);
    color: #ff7a7a;
}

.support-operational-alert.is-red .support-operational-alert-table td:nth-child(7) span {
    background: rgba(255, 60, 60, 0.14);
    color: #ff7a7a;
}

.support-alert-admin-overlay {
    position: fixed;
    inset: 0;
    z-index: 2800;
    background: rgba(2, 7, 13, 0.72);
    opacity: 0;
    transition: opacity 180ms ease;
}

.support-alert-admin-overlay.active {
    opacity: 1;
}

.support-alert-admin-modal {
    position: fixed;
    inset: 0;
    z-index: 2810;
    display: grid;
    place-items: center;
    padding: 22px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.support-alert-admin-modal.active {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.support-alert-admin-card {
    width: min(620px, calc(100vw - 28px));
    padding: 18px;
    border: 1px solid rgba(110, 146, 214, 0.22);
    border-radius: 8px;
    background: rgba(10, 18, 30, 0.98);
    box-shadow: 0 24px 70px rgba(0,0,0,0.55);
}

.support-alert-admin-head,
.support-alert-admin-toggle-row,
.support-alert-admin-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.support-alert-admin-head h3 {
    margin: 2px 0 0;
    color: var(--text);
}

.support-alert-admin-eyebrow,
.support-alert-admin-toggle-row span,
.support-alert-admin-actions span {
    color: var(--muted);
    font-size: 12px;
}

.support-alert-admin-toggle-row {
    margin: 16px 0;
    padding: 14px;
    border: 1px solid rgba(110, 146, 214, 0.16);
    border-radius: 8px;
    background: rgba(255,255,255,0.035);
}

.support-alert-admin-toggle-row strong {
    display: block;
    color: var(--text);
}

.support-alert-switch input {
    position: absolute;
    opacity: 0;
}

.support-alert-switch-track {
    display: inline-flex;
    width: 48px;
    height: 28px;
    padding: 3px;
    border-radius: 999px;
    background: rgba(125, 145, 170, 0.28);
    cursor: pointer;
}

.support-alert-switch-track span {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e8eef8;
    transition: transform 180ms ease, background 180ms ease;
}

.support-alert-switch input:checked + .support-alert-switch-track {
    background: rgba(255, 190, 18, 0.38);
}

.support-alert-switch input:checked + .support-alert-switch-track span {
    transform: translateX(20px);
    background: #ffbf17;
}

.support-alert-admin-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.support-alert-admin-form label {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-size: 12px;
}

.support-alert-admin-form input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(110, 146, 214, 0.20);
    border-radius: 8px;
    background: rgba(2, 8, 16, 0.72);
    color: var(--text);
}

.support-alert-admin-actions {
    grid-column: 1 / -1;
    margin-top: 4px;
}

.support-alert-admin-preview-actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding-top: 4px;
}

.support-alert-preview-button.is-yellow {
    border-color: rgba(255, 190, 18, 0.35);
    color: #ffc21f;
    background: rgba(255, 190, 18, 0.08);
}

.support-alert-preview-button.is-red {
    border-color: rgba(255, 80, 80, 0.38);
    color: #ff7474;
    background: rgba(255, 60, 60, 0.09);
}

@keyframes supportSirenSpin {
    to { transform: rotate(360deg); }
}

@keyframes supportSirenPulse {
    from { filter: brightness(0.95); transform: scale(0.98); }
    to { filter: brightness(1.35); transform: scale(1.04); }
}

@keyframes supportSirenRotorSpin {
    from { transform: translate(-50%, -50%) rotateY(0deg); }
    to { transform: translate(-50%, -50%) rotateY(360deg); }
}

@keyframes supportSirenFlashSweep {
    0%, 100% {
        opacity: 0.18;
        transform: translate(-50%, -50%) rotate(0deg) scaleX(0.72);
    }
    12% {
        opacity: 0.88;
        transform: translate(-50%, -50%) rotate(13deg) scaleX(1.04);
    }
    25% {
        opacity: 0.26;
        transform: translate(-50%, -50%) rotate(25deg) scaleX(0.82);
    }
    50% {
        opacity: 0.12;
        transform: translate(-50%, -50%) rotate(180deg) scaleX(0.72);
    }
    62% {
        opacity: 0.72;
        transform: translate(-50%, -50%) rotate(193deg) scaleX(1.02);
    }
    75% {
        opacity: 0.22;
        transform: translate(-50%, -50%) rotate(205deg) scaleX(0.82);
    }
}

@keyframes supportSirenRoomPulse {
    0%, 100% { opacity: 0.44; transform: scale(0.96); }
    50% { opacity: 0.95; transform: scale(1.06); }
}

@keyframes supportSirenGroundPulse {
    0%, 100% { opacity: 0.32; transform: translateX(-50%) scale(0.92); }
    50% { opacity: 0.82; transform: translateX(-50%) scale(1.12); }
}

@keyframes supportSirenDomePulse {
    0%, 100% {
        filter: drop-shadow(0 0 18px rgba(var(--siren-rgb), 0.62)) drop-shadow(0 0 60px rgba(var(--siren-rgb), 0.32));
    }
    50% {
        filter: drop-shadow(0 0 34px rgba(var(--siren-rgb), 0.90)) drop-shadow(0 0 92px rgba(var(--siren-rgb), 0.50));
    }
}

@keyframes supportSirenGlassGlint {
    0%, 100% { transform: translateX(-5px) rotate(-10deg); opacity: 0.24; }
    50% { transform: translateX(10px) rotate(-10deg); opacity: 0.62; }
}

@keyframes supportSirenSpark {
    0%, 100% { opacity: 0.04; transform: scale(0.6); }
    40% { opacity: 0.85; transform: scale(1.15); }
    60% { opacity: 0.28; transform: scale(0.85); }
}

@media (max-width: 760px) {
    .support-operational-alert-hero {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .support-siren {
        width: 210px;
        height: 210px;
        margin: -24px auto;
        transform: scale(0.72);
    }

    .support-operational-alert-stats,
    .support-alert-admin-form {
        grid-template-columns: 1fr;
    }

    .support-operational-alert-table {
        min-width: 860px;
    }
}

html.light-mode .support-compare-header {
    border-color: rgba(47, 140, 255, 0.22) !important;
    background: linear-gradient(180deg, #ffffff, #f5f9ff) !important;
    box-shadow:
        inset 0 0 0 1px rgba(47, 140, 255, 0.08),
        0 4px 12px rgba(28, 43, 64, 0.06) !important;
}

html.light-mode .support-compare-total {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

html.light-mode .support-compare-total:hover {
    background: rgba(47, 140, 255, 0.06) !important;
    box-shadow: inset 0 0 16px rgba(47, 140, 255, 0.08) !important;
}

html.light-mode .support-compare-total-open {
    color: #147cc5 !important;
}

html.light-mode .support-compare-total-closed {
    color: #168d57 !important;
}

html.light-mode .support-compare-total-handling {
    color: #c77912 !important;
}

/* FKN ticket trash manager */
.support-weekly-comparison-head {
    grid-template-columns: minmax(0, 1fr) auto;
}

.support-ticket-trash-open {
    position: relative;
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    margin: -3px -4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #9cb0cb;
    background: transparent;
    opacity: 0.42;
    cursor: pointer;
    transition: color 160ms ease, background 160ms ease, opacity 160ms ease;
}

.support-ticket-trash-open:hover,
.support-ticket-trash-open:focus-visible {
    color: #d9e9ff;
    background: rgba(126, 170, 232, 0.1);
    opacity: 1;
}

.support-ticket-trash-open:focus-visible {
    outline: 2px solid rgba(99, 200, 255, 0.58);
    outline-offset: 2px;
}

.support-ticket-trash-open svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

body.support-ticket-trash-open {
    overflow: hidden;
}

.support-ticket-trash-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(2, 7, 17, 0.76);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(7px);
    transition: opacity 180ms ease;
}

.support-ticket-trash-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.support-ticket-trash-modal {
    position: fixed;
    inset: 20px;
    z-index: 1090;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.99);
    transition: opacity 180ms ease, transform 180ms ease;
}

.support-ticket-trash-modal.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.support-ticket-trash-shell {
    width: min(980px, calc(100vw - 48px));
    height: min(720px, calc(100vh - 48px));
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto auto minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(126, 170, 232, 0.22);
    border-radius: 18px;
    background:
        radial-gradient(circle at 12% 0%, rgba(99, 200, 255, 0.11), transparent 30%),
        linear-gradient(180deg, rgba(13, 24, 44, 0.99), rgba(7, 14, 27, 0.99));
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.54), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.support-ticket-trash-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px 16px;
    border-bottom: 1px solid rgba(126, 170, 232, 0.12);
}

.support-ticket-trash-head-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 8px;
}

.support-ticket-trash-empty-button {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid rgba(255, 91, 105, 0.44);
    border-radius: 999px;
    color: #ff9ba4;
    background: rgba(255, 73, 91, 0.1);
    font-size: 11px;
    font-weight: 850;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, opacity 160ms ease;
}

.support-ticket-trash-empty-button:hover:not(:disabled),
.support-ticket-trash-empty-button:focus-visible:not(:disabled) {
    border-color: rgba(255, 112, 124, 0.72);
    color: #fff;
    background: rgba(255, 73, 91, 0.22);
}

.support-ticket-trash-empty-button:focus-visible {
    outline: 2px solid rgba(255, 116, 127, 0.48);
    outline-offset: 2px;
}

.support-ticket-trash-empty-button:disabled {
    opacity: 0.42;
    cursor: not-allowed;
}

.support-ticket-trash-head h3 {
    margin: 0;
    color: #f4f8ff;
    font-size: 23px;
    font-weight: 900;
    line-height: 1.1;
}

.support-ticket-trash-head p {
    margin: 7px 0 0;
    color: #9fb1cc;
    font-size: 12.5px;
    line-height: 1.45;
}

.support-ticket-trash-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #73cfff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-ticket-trash-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 22px;
    border-bottom: 1px solid rgba(126, 170, 232, 0.1);
}

.support-ticket-trash-tabs {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px;
    border: 1px solid rgba(126, 170, 232, 0.16);
    border-radius: 11px;
    background: rgba(4, 12, 26, 0.5);
}

.support-ticket-trash-tab {
    min-height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    color: #91a4c0;
    background: transparent;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.support-ticket-trash-tab strong {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    margin-left: 5px;
    padding: 0 5px;
    border-radius: 10px;
    color: inherit;
    background: rgba(126, 170, 232, 0.12);
    font-size: 10px;
}

.support-ticket-trash-tab.is-active {
    color: #eaf5ff;
    background: rgba(53, 143, 219, 0.24);
    box-shadow: inset 0 0 0 1px rgba(99, 200, 255, 0.22);
}

.support-ticket-trash-search {
    flex: 0 1 310px;
}

.support-ticket-trash-search input {
    width: 100%;
    min-height: 38px;
    padding: 0 13px;
    border: 1px solid rgba(126, 170, 232, 0.18);
    border-radius: 10px;
    outline: 0;
    color: #eaf3ff;
    background: rgba(4, 12, 26, 0.58);
    font-size: 12px;
}

.support-ticket-trash-search input:focus {
    border-color: rgba(99, 200, 255, 0.52);
    box-shadow: 0 0 0 3px rgba(99, 200, 255, 0.08);
}

.support-ticket-trash-feedback {
    min-height: 0;
    padding: 0 22px;
    overflow: hidden;
    color: #9fb4d1;
    font-size: 11px;
    font-weight: 750;
    line-height: 0;
    transition: padding 150ms ease, line-height 150ms ease;
}

.support-ticket-trash-feedback:not(:empty) {
    padding-top: 9px;
    padding-bottom: 1px;
    line-height: 1.35;
}

.support-ticket-trash-feedback.is-success {
    color: #76e7a8;
}

.support-ticket-trash-feedback.is-error {
    color: #ff8796;
}

.support-ticket-trash-list {
    min-width: 0;
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 8px;
    padding: 14px 22px 20px;
    overflow: auto;
}

.support-ticket-trash-row {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    min-height: 78px;
    padding: 10px 12px;
    border: 1px solid rgba(126, 170, 232, 0.14);
    border-radius: 12px;
    background: rgba(8, 18, 34, 0.7);
    transition: border-color 150ms ease, background 150ms ease, opacity 150ms ease;
}

.support-ticket-trash-row:hover {
    border-color: rgba(126, 190, 242, 0.3);
    background: rgba(11, 25, 47, 0.82);
}

.support-ticket-trash-row.is-clickable {
    cursor: pointer;
}

.support-ticket-trash-row.is-clickable:focus-visible {
    outline: 2px solid rgba(99, 200, 255, 0.58);
    outline-offset: 2px;
}

.support-ticket-trash-row.is-busy {
    opacity: 0.62;
}

.support-ticket-trash-row-id span,
.support-ticket-trash-row-copy > span {
    display: block;
    color: #8498b7;
    font-size: 10px;
    font-weight: 700;
}

.support-ticket-trash-row-id strong,
.support-ticket-trash-row-id a {
    display: block;
    margin-top: 3px;
    color: #70cfff;
    font-size: 14px;
    font-weight: 900;
}

.support-ticket-trash-row-id a {
    text-decoration: none;
}

.support-ticket-trash-row-id a:hover {
    color: #a8e4ff;
    text-decoration: underline;
}

.support-ticket-trash-row-copy {
    min-width: 0;
}

.support-ticket-trash-row-copy > strong {
    display: block;
    overflow: hidden;
    color: #eef5ff;
    font-size: 12.5px;
    font-weight: 850;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-ticket-trash-row-copy > span {
    margin-top: 3px;
}

.support-ticket-trash-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 7px;
}

.support-ticket-trash-row-meta small {
    padding: 3px 7px;
    border-radius: 10px;
    color: #9db1cd;
    background: rgba(126, 170, 232, 0.08);
    font-size: 9px;
    font-weight: 750;
}

.support-ticket-trash-action {
    min-width: 104px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid currentColor;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 850;
    cursor: pointer;
    transition: background 150ms ease, transform 150ms ease;
}

.support-ticket-trash-action:hover:not(:disabled) {
    transform: translateY(-1px);
}

.support-ticket-trash-action.is-trash {
    color: #ff7d8e;
    background: rgba(255, 97, 119, 0.08);
}

.support-ticket-trash-action.is-restore {
    color: #6ce6a2;
    background: rgba(108, 230, 162, 0.08);
}

.support-ticket-trash-action:disabled {
    cursor: wait;
}

.support-ticket-trash-empty {
    display: grid;
    place-items: center;
    min-height: 220px;
    color: #8498b6;
    font-size: 12px;
    font-weight: 750;
    text-align: center;
}

html.light-mode .support-ticket-trash-shell {
    border-color: rgba(78, 118, 170, 0.24);
    background: linear-gradient(180deg, rgba(251, 253, 255, 0.99), rgba(239, 245, 251, 0.99));
    box-shadow: 0 24px 70px rgba(34, 63, 97, 0.24);
}

html.light-mode .support-ticket-trash-head h3,
html.light-mode .support-ticket-trash-row-copy > strong {
    color: #18324f;
}

html.light-mode .support-ticket-trash-head p,
html.light-mode .support-ticket-trash-row-id span,
html.light-mode .support-ticket-trash-row-copy > span,
html.light-mode .support-ticket-trash-empty {
    color: #607690;
}

html.light-mode .support-ticket-trash-tabs,
html.light-mode .support-ticket-trash-search input,
html.light-mode .support-ticket-trash-row {
    border-color: rgba(67, 110, 158, 0.18);
    color: #1b3858;
    background: rgba(255, 255, 255, 0.78);
}

@media (max-width: 720px) {
    .support-ticket-trash-modal {
        inset: 8px;
    }

    .support-ticket-trash-shell {
        width: calc(100vw - 16px);
        height: calc(100vh - 16px);
    }

    .support-ticket-trash-head,
    .support-ticket-trash-toolbar {
        padding-left: 14px;
        padding-right: 14px;
    }

    .support-ticket-trash-head-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .support-ticket-trash-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .support-ticket-trash-search {
        flex-basis: auto;
    }

    .support-ticket-trash-list {
        padding: 12px 14px 18px;
    }

    .support-ticket-trash-row {
        grid-template-columns: 82px minmax(0, 1fr);
    }

    .support-ticket-trash-action {
        grid-column: 1 / -1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .support-ticket-trash-head {
        align-items: stretch;
        flex-direction: column;
    }

    .support-ticket-trash-head-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
}

/* ==========================================================================
   Modal: Raio-X de Fluxo (Entradas vs. Encerrados)
   ========================================================================== */

.support-flow-overlay {
    position: fixed;
    inset: 0;
    z-index: 130;
    background: rgba(3, 7, 14, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.support-flow-overlay:not([hidden]) {
    opacity: 1;
    pointer-events: auto;
}

.support-flow-overlay[hidden],
.support-flow-overlay:not(.active):not(:not([hidden])) {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
}

.support-flow-modal {
    position: fixed;
    inset: 0;
    z-index: 131;
    display: none;
    place-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 220ms ease;
}

.support-flow-modal.active:not([hidden]) {
    display: grid !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

.support-flow-modal:not(.active),
.support-flow-modal[hidden] {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.support-flow-modal-shell {
    position: relative;
    width: min(1360px, calc(100vw - 32px));
    max-height: min(92vh, 980px);
    display: flex;
    flex-direction: column;
    padding: 20px 24px;
    border-radius: 20px;
    border: 1px solid rgba(132, 169, 228, 0.18);
    background: linear-gradient(180deg, #111622 0%, #0c1017 100%);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.75), 0 0 32px rgba(0, 230, 118, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    overflow: hidden;
    transform: scale(0.96);
    transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

.support-flow-modal.active .support-flow-modal-shell {
    transform: scale(1);
}

/* Modal Header */
.support-flow-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
    flex: 0 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 12px;
}

.support-flow-modal-title-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.support-flow-modal-heading-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.support-flow-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2.5px 8px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 800;
    color: #00e676;
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.3);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.support-flow-modal-heading-row h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.3px;
    line-height: 1.2;
}

.support-flow-modal-subtitle {
    margin: 0;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.support-flow-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.support-flow-period-selector {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(14, 24, 42, 0.7);
    padding: 3px;
    border-radius: 8px;
    border: 1px solid rgba(132, 169, 228, 0.16);
}

.support-flow-period-pill {
    appearance: none;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #94a3b8;
    font-size: 11.5px;
    font-weight: 800;
    padding: 4px 9px;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 160ms ease;
    white-space: nowrap;
}

.support-flow-period-pill:hover:not(.is-active) {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.support-flow-period-pill.is-active {
    background: rgba(0, 230, 118, 0.16) !important;
    border-color: #00e676 !important;
    color: #34d399 !important;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.25), inset 0 0 0 1px rgba(0, 230, 118, 0.25);
    font-weight: 850;
}

.support-flow-period-pill.is-consolidated {
    border-left: 1px solid rgba(132, 169, 228, 0.2);
    margin-left: 2px;
    padding-left: 10px;
}

.support-flow-period-pill.is-consolidated.is-active {
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.20), rgba(0, 210, 255, 0.20)) !important;
    border-color: #38bdf8 !important;
    color: #e0f2fe !important;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3), inset 0 0 0 1px rgba(56, 189, 248, 0.3);
}

.support-flow-close-btn {
    appearance: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: all 160ms ease;
}

.support-flow-close-btn:hover {
    background: rgba(239, 68, 68, 0.16);
    border-color: #ef4444;
    color: #f87171;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
}

/* Modal Body */
.support-flow-modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 4px 4px 6px 0;
}

.support-flow-modal-body::-webkit-scrollbar {
    width: 6px;
}

.support-flow-modal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 999px;
}

.support-flow-modal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

.support-flow-modal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* 4 KPIs */
.support-flow-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding-top: 2px;
}

.support-flow-kpi-card {
    position: relative;
    background: rgba(18, 25, 39, 0.65);
    border: 1px solid rgba(132, 169, 228, 0.14);
    border-radius: 12px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
    overflow: hidden;
}

.support-flow-kpi-card:hover {
    transform: none;
    border-color: rgba(132, 169, 228, 0.32);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
    background: rgba(22, 32, 50, 0.75);
}

.support-flow-kpi-card.is-incoming {
    border-left: 3px solid #00d2ff;
}

.support-flow-kpi-card.is-closed {
    border-left: 3px solid #00e676;
}

.support-flow-kpi-card.is-rate {
    border-left: 3px solid #a855f7;
}

.support-flow-kpi-card.is-peak {
    border-left: 3px solid #f59e0b;
}

.support-flow-kpi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.support-flow-kpi-label {
    font-size: 11px;
    font-weight: 750;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.support-flow-kpi-icon {
    font-size: 13px;
    line-height: 1;
}

.support-flow-kpi-value-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.support-flow-kpi-value {
    font-size: 24px;
    font-weight: 850;
    color: #f8fafc;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.3px;
}

.support-flow-kpi-unit {
    font-size: 11.5px;
    font-weight: 600;
    color: #64748b;
}

.support-flow-kpi-badge {
    font-size: 10.5px;
    font-weight: 800;
    padding: 1.5px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.support-flow-kpi-badge.is-good {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.support-flow-kpi-badge.is-warn {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.support-flow-kpi-badge.is-danger {
    background: rgba(239, 68, 68, 0.16);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.support-flow-kpi-sub {
    font-size: 11px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 1px;
}

.support-flow-kpi-sub strong {
    color: #e2e8f0;
    font-weight: 700;
}

/* Chart Panel */
.support-flow-chart-panel {
    background: rgba(18, 25, 39, 0.65);
    border: 1px solid rgba(132, 169, 228, 0.14);
    border-radius: 14px;
    padding: 14px 16px 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: visible;
}

.support-flow-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.support-flow-chart-title-wrap h4 {
    margin: 0;
    font-size: 13.5px;
    font-weight: 750;
    color: #e2e8f0;
}

.support-flow-chart-caption {
    font-size: 11px;
    color: #64748b;
}

.support-flow-chart-legend {
    display: flex;
    align-items: center;
    gap: 14px;
}

.support-flow-legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11.5px;
    font-weight: 650;
    color: #cbd5e1;
}

.support-flow-legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.support-flow-legend-item.is-incoming .support-flow-legend-dot {
    background: #00d2ff;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.6);
}

.support-flow-legend-item.is-closed .support-flow-legend-dot {
    background: #00e676;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.6);
}

.support-flow-chart-host {
    position: relative;
    width: 100%;
    height: 245px;
    min-height: 245px;
    user-select: none;
    overflow: visible;
    cursor: pointer;
}

#support-flow-crosshair,
#support-flow-active-incoming-dot,
#support-flow-active-closed-dot {
    pointer-events: none !important;
}

.support-flow-svg-chart {
    width: 100%;
    height: 100%;
    overflow: visible;
    display: block;
}

/* Marcador de Pico de Demanda no Gráfico */
.support-flow-peak-marker {
    filter: drop-shadow(0 2px 8px rgba(0, 210, 255, 0.45));
    transition: opacity 160ms ease, transform 160ms ease;
    cursor: pointer;
    pointer-events: auto;
}

.support-flow-peak-marker:hover rect {
    fill: rgba(14, 27, 49, 0.98);
    stroke: rgba(0, 210, 255, 0.95);
    filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.7));
}

.support-flow-peak-marker:hover text {
    fill: #7dd3fc;
}

.support-flow-peak-marker:focus-visible {
    outline: 2px solid #00d2ff;
    outline-offset: 2px;
}

.support-flow-kpi-clickable-pico {
    cursor: pointer;
    transition: color 150ms ease, text-decoration 150ms ease;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.support-flow-kpi-clickable-pico:hover {
    color: #38bdf8 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Camada de Balões de Comentário */
.support-flow-balloons-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 25;
}

.support-flow-balloons-layer .support-flow-peak-balloon {
    pointer-events: auto;
}

/* Balão de Comentário direcionado para o horário ou PICO */
.support-flow-peak-balloon {
    position: absolute;
    z-index: 25;
    background: rgba(9, 16, 30, 0.94);
    border: 1px solid rgba(0, 210, 255, 0.7);
    border-radius: 6px;
    padding: 3px 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.65), 0 0 8px rgba(0, 210, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    gap: 1px;
    max-width: 250px;
    min-width: 120px;
    pointer-events: auto;
    user-select: text;
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
    animation: supportPeakBalloonPop 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.support-flow-peak-balloon.is-editing {
    z-index: 50 !important;
    padding: 6px 10px;
    min-width: 220px;
    background: rgba(10, 18, 32, 0.98);
    border-color: #00d2ff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.85), 0 0 16px rgba(0, 210, 255, 0.4);
}

.support-flow-peak-balloon:hover {
    z-index: 30;
    border-color: #00d2ff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.75), 0 0 12px rgba(0, 210, 255, 0.35);
}

.support-flow-peak-balloon-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
}

.support-flow-peak-balloon-body {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
    margin-top: 1px;
}

.support-flow-balloon-slot-tag {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 9.5px;
    font-weight: 800;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 4px;
    padding: 1px 5px;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

.support-flow-peak-balloon-text {
    font-size: 11.5px;
    font-weight: 700;
    color: #f8fafc;
    word-break: break-word;
    white-space: normal;
    line-height: 1.3;
}

.support-flow-peak-balloon-edit-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #38bdf8;
    font-size: 11px;
    padding: 1px 2px;
    opacity: 0.8;
    transition: opacity 140ms ease, transform 140ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
}

.support-flow-peak-balloon-edit-btn:hover {
    opacity: 1;
    transform: scale(1.18);
}

.support-flow-balloon-compact-author {
    font-size: 8.5px;
    color: #64748b;
    line-height: 1;
    margin-top: 1px;
    padding-top: 1px;
}

/* Linha guia fraca do topo (comentário) até o ponto na onda */
.support-flow-balloon-guide-line {
    position: absolute;
    width: 1px;
    pointer-events: none;
    border-left: 1px dashed rgba(0, 210, 255, 0.45);
    z-index: 20;
    transition: border-color 140ms ease;
}

.support-flow-balloon-guide-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #00d2ff;
    box-shadow: 0 0 6px rgba(0, 210, 255, 0.8);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 21;
}

.support-flow-peak-balloon:hover ~ .support-flow-balloon-guide-line,
.support-flow-balloon-guide-line:hover {
    border-left-color: rgba(0, 210, 255, 0.85);
}

/* Interatividade nas bolinhas do gráfico */
.flow-dot-group,
.flow-dot-closed-group {
    cursor: pointer;
}

.flow-dot-group:hover .flow-dot.is-incoming {
    r: 6;
    stroke: #ffffff;
    stroke-width: 2.5;
    filter: drop-shadow(0 0 6px rgba(0, 210, 255, 0.95));
}

.flow-dot-closed-group:hover .flow-dot.is-closed {
    r: 5.5;
    stroke: #ffffff;
    stroke-width: 2.2;
    filter: drop-shadow(0 0 6px rgba(0, 230, 118, 0.9));
}

.flow-dot-group:focus-visible,
.flow-dot-closed-group:focus-visible {
    outline: none;
}

.flow-dot-group:focus-visible .flow-dot.is-incoming {
    r: 6;
    stroke: #38bdf8;
    stroke-width: 2.5;
}

@keyframes supportPeakBalloonPop {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(-2px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Formulário de Edição dentro do Balão */
.support-flow-peak-balloon-form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 215px;
}

.support-flow-peak-balloon-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 750;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.support-flow-peak-balloon-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.support-flow-peak-balloon-input {
    width: 100%;
    box-sizing: border-box;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.5);
    border-radius: 6px;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    outline: none;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.support-flow-peak-balloon-input:focus {
    border-color: #00d2ff;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.4);
}

.support-flow-peak-balloon-input::placeholder {
    color: #64748b;
    font-size: 11px;
}

.support-flow-peak-balloon-counter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: #94a3b8;
}

.support-flow-peak-balloon-counter {
    font-variant-numeric: tabular-nums;
    font-weight: 700;
}

.support-flow-peak-balloon-counter.is-warning {
    color: #fbbf24;
}

.support-flow-peak-balloon-counter.is-limit {
    color: #f87171;
}

.support-flow-peak-balloon-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.support-flow-peak-balloon-btn {
    border: none;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    cursor: pointer;
    transition: background 150ms ease, transform 100ms ease, opacity 150ms ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.support-flow-peak-balloon-btn:active {
    transform: scale(0.96);
}

.support-flow-peak-balloon-btn.is-save {
    background: #0284c7;
    color: #ffffff;
}

.support-flow-peak-balloon-btn.is-save:hover {
    background: #0ea5e9;
}

.support-flow-peak-balloon-btn.is-cancel {
    background: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.support-flow-peak-balloon-btn.is-cancel:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.support-flow-peak-balloon-btn.is-delete {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
    margin-right: auto;
}

.support-flow-peak-balloon-btn.is-delete:hover {
    background: rgba(239, 68, 68, 0.35);
    color: #ffffff;
}

/* Adaptação Tema Claro */
[data-dashboard-theme="light"] .support-flow-peak-balloon {
    background: rgba(255, 255, 255, 0.98);
    border-color: #0284c7;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12), 0 0 8px rgba(2, 132, 199, 0.2);
}

[data-dashboard-theme="light"] .support-flow-balloon-slot-tag {
    color: #0284c7;
    background: rgba(2, 132, 199, 0.1);
    border-color: rgba(2, 132, 199, 0.3);
}

[data-dashboard-theme="light"] .support-flow-peak-balloon-text {
    color: #0f172a;
}

[data-dashboard-theme="light"] .support-flow-balloon-compact-author {
    color: #64748b;
}

[data-dashboard-theme="light"] .support-flow-balloon-guide-line {
    border-left-color: rgba(2, 132, 199, 0.45);
}

[data-dashboard-theme="light"] .support-flow-balloon-guide-dot {
    background: #0284c7;
    box-shadow: 0 0 6px rgba(2, 132, 199, 0.8);
}

[data-dashboard-theme="light"] .support-flow-peak-balloon-input {
    background: #f8fafc;
    color: #0f172a;
    border-color: #94a3b8;
}

/* Tooltip do Gráfico */
.support-flow-chart-tooltip {
    position: absolute;
    pointer-events: none;
    z-index: 20;
    background: rgba(10, 15, 26, 0.94);
    border: 1px solid rgba(132, 169, 228, 0.35);
    border-radius: 9px;
    padding: 8px 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7), 0 0 14px rgba(0, 230, 118, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    flex-direction: column;
    gap: 3px;
    min-width: 155px;
    transform: none;
    margin: 0;
    transition: opacity 120ms ease;
    box-sizing: border-box;
}

.support-flow-tooltip-title {
    font-size: 11.5px;
    font-weight: 800;
    color: #f8fafc;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 4px;
    margin-bottom: 2px;
}

.support-flow-tooltip-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 11px;
}

.support-flow-tooltip-label {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #94a3b8;
}

.support-flow-tooltip-val {
    font-weight: 750;
    color: #f8fafc;
    font-variant-numeric: tabular-nums;
}

.support-flow-tooltip-val.is-green {
    color: #34d399;
}

.support-flow-tooltip-val.is-cyan {
    color: #38bdf8;
}

.support-flow-tooltip-val.is-warn {
    color: #fbbf24;
}

.support-flow-tooltip-val.is-danger {
    color: #f87171;
}

.support-flow-tooltip-val.is-neutral {
    color: #94a3b8;
}

/* Dica de comentário no Tooltip */
.support-flow-tooltip-comment {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed rgba(255, 255, 255, 0.14);
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 11px;
    color: #38bdf8;
    line-height: 1.3;
}

.support-flow-tooltip-comment strong {
    color: #f1f5f9;
}

.support-flow-tooltip-comment.is-empty {
    color: #94a3b8;
    font-size: 10px;
    font-style: italic;
}

.support-flow-tooltip-comment-sub {
    font-size: 9.5px;
    color: #94a3b8;
}

/* Grid Inferior: Tabela & Heatmap */
.support-flow-bottom-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 12px;
}

.support-flow-section-card {
    background: rgba(18, 25, 39, 0.65);
    border: 1px solid rgba(132, 169, 228, 0.14);
    border-radius: 14px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-flow-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.support-flow-card-title-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.support-flow-card-title-wrap h4 {
    margin: 0;
    font-size: 13px;
    font-weight: 750;
    color: #e2e8f0;
}

.support-flow-card-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 1.5px 6px;
    border-radius: 4px;
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.support-flow-card-badge.is-accent {
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.28);
}

.support-flow-card-hint {
    font-size: 10.5px;
    color: #64748b;
}

/* Heatmap Legend */
.support-flow-heatmap-legend {
    display: flex;
    align-items: center;
    gap: 8px;
}

.support-flow-heatmap-legend-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 650;
    color: #94a3b8;
}

.support-flow-heatmap-legend-item .swatch {
    width: 8px;
    height: 8px;
    border-radius: 2px;
}

.support-flow-heatmap-legend-item.is-good .swatch {
    background: #10b981;
}

.support-flow-heatmap-legend-item.is-warn .swatch {
    background: #f59e0b;
}

.support-flow-heatmap-legend-item.is-danger .swatch {
    background: #ef4444;
}

.support-flow-heatmap-legend-item.is-empty .swatch {
    background: #334155;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Tabela Detalhada */
.support-flow-table-host {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
}

.support-flow-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    table-layout: fixed;
}

.support-flow-table th {
    padding: 6px 8px;
    text-align: left;
    color: #64748b;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 10px;
    vertical-align: middle;
}

.support-flow-table td {
    padding: 5px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #cbd5e1;
    font-variant-numeric: tabular-nums;
    vertical-align: middle;
}

.support-flow-table th.is-center,
.support-flow-table td.is-center {
    text-align: center;
}

.support-flow-table th.is-left,
.support-flow-table td.is-left {
    text-align: left;
}

.support-flow-table th.is-right,
.support-flow-table td.is-right {
    text-align: right;
}

.support-flow-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.support-flow-table-comment-tag {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 11px;
    padding: 1px 4px;
    margin-left: 6px;
    opacity: 0.85;
    transition: transform 120ms ease, opacity 120ms ease;
    vertical-align: middle;
}

.support-flow-table-comment-tag:hover {
    opacity: 1;
    transform: scale(1.25);
}

.support-flow-table-comment-tag.is-empty {
    opacity: 0.25;
    color: #94a3b8;
    font-size: 12px;
    font-weight: bold;
}

.support-flow-table-comment-tag.is-empty:hover {
    opacity: 0.95;
    color: #38bdf8;
}

.support-flow-table tr.is-current-slot td {
    background: rgba(0, 230, 118, 0.08);
}

.support-flow-table tfoot {
    border-top: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.55);
}

.support-flow-table tr.support-flow-table-total-row td {
    padding: 8px 8px;
    border-bottom: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.support-flow-total-label {
    font-size: 10.5px;
    font-weight: 850;
    color: #f1f5f9;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.support-flow-val-total {
    font-size: 12.5px;
    font-weight: 900;
}

.support-flow-balance-total {
    font-size: 11px;
    padding: 2px 7px;
    font-weight: 850;
}

.support-flow-table-slot {
    font-weight: 750;
    color: #e2e8f0;
    white-space: nowrap;
}

.support-flow-val-incoming {
    color: #00d2ff;
    font-weight: 750;
}

.support-flow-val-closed {
    color: #00e676;
    font-weight: 750;
}

.support-flow-balance-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 800;
}

.support-flow-balance-badge.is-positive {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.support-flow-balance-badge.is-neutral {
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.support-flow-balance-badge.is-warn {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.support-flow-balance-badge.is-negative {
    background: rgba(239, 68, 68, 0.16);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.support-flow-balance-badge.is-empty {
    background: rgba(255, 255, 255, 0.04);
    color: #64748b;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.support-flow-ratio-bar {
    width: 100%;
    min-width: 70px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    overflow: hidden;
}

.support-flow-ratio-bar.is-empty {
    background: rgba(255, 255, 255, 0.03);
}

.support-flow-ratio-empty {
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.support-flow-ratio-incoming {
    height: 100%;
    background: #00d2ff;
    transition: width 200ms ease;
}

.support-flow-ratio-closed {
    height: 100%;
    background: #00e676;
    transition: width 200ms ease;
}

/* Heatmap Grid */
.support-flow-heatmap-host {
    width: 100%;
    overflow-x: auto;
}

.support-flow-heatmap-grid {
    display: grid;
    grid-template-columns: 80px repeat(5, minmax(0, 1fr));
    gap: 3.5px;
    align-items: center;
}

.support-flow-heatmap-col-head {
    font-size: 10.5px;
    font-weight: 800;
    color: #94a3b8;
    text-align: center;
    padding: 3px 0;
}

.support-flow-heatmap-col-head.is-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background 140ms ease, color 140ms ease;
    font-family: inherit;
}

.support-flow-heatmap-col-head.is-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #00e676;
}

.support-flow-heatmap-row-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #cbd5e1;
    white-space: nowrap;
    text-align: right;
    padding-right: 6px;
    font-variant-numeric: tabular-nums;
}

.support-flow-heatmap-cell {
    height: 22px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 140ms ease, box-shadow 140ms ease;
    user-select: none;
    font-variant-numeric: tabular-nums;
}

.support-flow-heatmap-cell:hover {
    transform: scale(1.12);
    z-index: 5;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
}

.support-flow-heatmap-cell.is-empty {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #475569;
}

.support-flow-heatmap-cell.is-empty:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: #94a3b8;
}

.support-flow-heatmap-cell.is-good {
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(16, 185, 129, 0.45);
    color: #6ee7b7;
}

.support-flow-heatmap-cell.is-good:hover {
    background: rgba(16, 185, 129, 0.35);
    border-color: #34d399;
}

.support-flow-heatmap-cell.is-warn {
    background: rgba(245, 158, 11, 0.22);
    border: 1px solid rgba(245, 158, 11, 0.48);
    color: #fcd34d;
}

.support-flow-heatmap-cell.is-warn:hover {
    background: rgba(245, 158, 11, 0.35);
    border-color: #fbbf24;
}

.support-flow-heatmap-cell.is-danger {
    background: rgba(239, 68, 68, 0.28);
    border: 1px solid rgba(239, 68, 68, 0.55);
    color: #fca5a5;
}

.support-flow-heatmap-cell.is-danger:hover {
    background: rgba(239, 68, 68, 0.42);
    border-color: #f87171;
}

/* ==========================================================================
   Grade Semanal Completa por Hora: Abertos e Encerrados (Segunda a Sexta)
   ========================================================================== */

.support-flow-weekly-table-card {
    background: rgba(18, 25, 39, 0.65);
    border: 1px solid rgba(132, 169, 228, 0.14);
    border-radius: 14px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.support-flow-weekly-table-card .support-flow-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.support-flow-weekly-summary-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.support-flow-weekly-summary-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    padding: 3.5px 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.support-flow-weekly-summary-item .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.support-flow-weekly-summary-item.is-incoming {
    border-color: rgba(0, 210, 255, 0.28);
    background: rgba(0, 210, 255, 0.07);
    color: #38bdf8;
}

.support-flow-weekly-summary-item.is-incoming .dot {
    background: #00d2ff;
    box-shadow: 0 0 6px rgba(0, 210, 255, 0.6);
}

.support-flow-weekly-summary-item.is-closed {
    border-color: rgba(0, 230, 118, 0.28);
    background: rgba(0, 230, 118, 0.07);
    color: #34d399;
}

.support-flow-weekly-summary-item.is-closed .dot {
    background: #00e676;
    box-shadow: 0 0 6px rgba(0, 230, 118, 0.6);
}

.support-flow-weekly-summary-item.is-balance.is-positive {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.1);
    color: #6ee7b7;
}

.support-flow-weekly-summary-item.is-balance.is-warn {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

.support-flow-weekly-summary-item.is-balance.is-negative {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
}

/* Host & Table */
.support-flow-weekly-table-host {
    width: 100%;
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(10, 15, 24, 0.55);
    scrollbar-width: thin;
}

.support-flow-weekly-table-host::-webkit-scrollbar {
    height: 6px;
    width: 6px;
}

.support-flow-weekly-table-host::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.25);
}

.support-flow-weekly-table-host::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.support-flow-weekly-table-host::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.28);
}

.support-flow-weekly-table {
    width: 100%;
    min-width: 1060px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 11px;
}

/* Headers */
.support-flow-weekly-table th {
    padding: 6px 6px;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.support-flow-weekly-head-l1 th {
    background: #0f1624;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.support-flow-weekly-head-l2 th {
    background: #0c121d;
    padding-top: 4px;
    padding-bottom: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Slot column (Sticky left) */
.support-flow-weekly-table th.support-flow-weekly-slot-th,
.support-flow-weekly-table td.support-flow-weekly-slot {
    position: sticky;
    left: 0;
    z-index: 6;
    background: #0f1624;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
    padding: 6px 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: 750;
    color: #e2e8f0;
}

.support-flow-weekly-table td.support-flow-weekly-slot {
    background: #0c1017;
    font-size: 11px;
}

.support-flow-weekly-table tr:hover td.support-flow-weekly-slot {
    background: #141c2c;
}

/* Day header button */
.support-flow-weekly-day-col-head {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 150ms ease;
}

.support-flow-weekly-day-col-head.is-active {
    background: rgba(0, 210, 255, 0.08) !important;
    border-top: 2px solid #00d2ff;
}

.support-flow-weekly-day-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: #cbd5e1;
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 140ms ease, color 140ms ease;
    width: 100%;
}

.support-flow-weekly-day-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #38bdf8;
}

.support-flow-weekly-day-col-head.is-active .support-flow-weekly-day-btn {
    color: #38bdf8;
}

.support-flow-weekly-date {
    font-size: 9.5px;
    font-weight: 600;
    color: #64748b;
}

.support-flow-weekly-day-col-head.is-active .support-flow-weekly-date {
    color: #7dd3fc;
}

/* Sub-headers */
.support-flow-sub-th {
    font-size: 9.5px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.support-flow-sub-th.is-incoming {
    color: #38bdf8;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.support-flow-sub-th.is-closed {
    color: #34d399;
}

.support-flow-sub-th.is-balance {
    color: #fbbf24;
}

.support-flow-sub-th.is-active {
    background: rgba(0, 210, 255, 0.06);
}

/* Total Column Group (Weekly Total) */
.support-flow-weekly-grand-col-head {
    border-left: 2px solid rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.08) !important;
    color: #7dd3fc;
    font-size: 11px;
    font-weight: 850;
}

.support-flow-total-col {
    background: rgba(56, 189, 248, 0.035);
}

th.support-flow-total-col.is-incoming,
td.support-flow-total-col:first-of-type {
    border-left: 2px solid rgba(56, 189, 248, 0.3);
}

/* Table Cells */
.support-flow-weekly-table td {
    padding: 5px 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #cbd5e1;
    font-variant-numeric: tabular-nums;
    vertical-align: middle;
    font-size: 11px;
}

.support-flow-weekly-table td.is-incoming {
    border-left: 1px solid rgba(255, 255, 255, 0.06);
}

.support-flow-weekly-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* Active Day Column cells */
.support-flow-weekly-table td.is-active-day {
    background: rgba(0, 210, 255, 0.04);
}

.support-flow-weekly-table tr:hover td.is-active-day {
    background: rgba(0, 210, 255, 0.075);
}

/* Numbers inside cells */
.support-flow-val-zero {
    color: #475569;
    font-weight: 600;
}

.support-flow-row-total {
    font-weight: 850;
}

/* Footer */
.support-flow-weekly-foot-totals td {
    border-top: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(15, 23, 42, 0.7);
    padding: 7px 6px;
}

.support-flow-weekly-foot-balances td {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(12, 18, 32, 0.85);
    padding: 6px 6px;
}

.support-flow-weekly-table tfoot tr:hover td {
    background: rgba(20, 29, 48, 0.9);
}

.support-flow-total-sublabel {
    font-size: 10px;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   Modo Chamados: Botão, Switcher e Colunas Expandidas com Lista de Chamados
   ========================================================================== */

.support-flow-btn-chamados {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3.5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 750;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    cursor: pointer;
    transition: all 160ms ease;
    user-select: none;
    margin-left: 4px;
}

.support-flow-btn-chamados:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}

.support-flow-btn-chamados.is-active {
    background: rgba(0, 210, 255, 0.18);
    border-color: #00d2ff;
    color: #38bdf8;
    box-shadow: 0 0 12px rgba(0, 210, 255, 0.4);
}

.support-flow-day-switcher-bar {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5px 6px;
    border-radius: 6px;
}

.support-flow-day-switcher-bar .switcher-hint {
    font-size: 10px;
    font-weight: 750;
    color: #94a3b8;
    margin-right: 2px;
}

.support-flow-switcher-pill {
    background: transparent;
    border: none;
    font-size: 10px;
    font-weight: 800;
    color: #cbd5e1;
    padding: 2px 7px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: all 130ms ease;
}

.support-flow-switcher-pill:hover {
    background: rgba(255, 255, 255, 0.09);
    color: #38bdf8;
}

.support-flow-switcher-pill.is-active {
    background: #00d2ff;
    color: #08111e;
    font-weight: 900;
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.5);
}

/* Coluna expandida */
th.support-flow-weekly-day-col-head.is-expanded {
    background: rgba(14, 28, 48, 0.95) !important;
    border-top: 2px solid #00d2ff !important;
    border-left: 2px solid rgba(0, 210, 255, 0.45) !important;
    border-right: 2px solid rgba(0, 210, 255, 0.45) !important;
}

.support-flow-expanded-head-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 2px 4px;
}

.expanded-day-badge {
    font-size: 11px;
    font-weight: 850;
    color: #38bdf8;
}

.expanded-day-tag {
    font-size: 9.5px;
    font-weight: 700;
    background: rgba(0, 210, 255, 0.15);
    color: #7dd3fc;
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid rgba(0, 210, 255, 0.28);
}

th.support-flow-sub-th.is-expanded {
    min-width: 250px;
    max-width: 320px;
    background: rgba(10, 20, 36, 0.95);
    padding: 6px 8px;
    font-size: 10px;
}

td.support-flow-cell.is-expanded {
    min-width: 250px;
    max-width: 320px;
    vertical-align: top;
    padding: 6px 8px;
    background: rgba(10, 20, 36, 0.45);
    border-left: 1px solid rgba(0, 210, 255, 0.12);
}

/* Colunas compactas */
th.support-flow-weekly-day-col-head.is-compact {
    opacity: 0.85;
}

th.support-flow-sub-th.is-compact,
td.support-flow-cell.is-compact {
    max-width: 48px;
    font-size: 10px;
    padding: 5px 3px;
}

.support-flow-weekly-day-btn.is-compact {
    font-size: 10px;
    padding: 2px 4px;
    gap: 3px;
    color: #94a3b8;
}

.support-flow-weekly-day-btn.is-compact:hover {
    color: #38bdf8;
}

.support-flow-weekly-day-btn.is-compact .expand-icon {
    font-size: 9px;
    opacity: 0.65;
}

/* Lista de chamados dentro da célula */
.support-flow-ticket-cell-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.support-flow-cell-header {
    display: flex;
    align-items: center;
    margin-bottom: 2px;
}

.support-flow-slot-count-badge {
    font-size: 9.5px;
    font-weight: 800;
    padding: 1.5px 6px;
    border-radius: 4px;
    display: inline-block;
}

.support-flow-slot-count-badge.is-incoming {
    background: rgba(0, 210, 255, 0.12);
    color: #38bdf8;
    border: 1px solid rgba(0, 210, 255, 0.28);
}

.support-flow-slot-count-badge.is-closed {
    background: rgba(0, 230, 118, 0.12);
    color: #34d399;
    border: 1px solid rgba(0, 230, 118, 0.28);
}

.support-flow-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 3.5px;
    max-height: 140px;
    overflow-y: auto;
    padding-right: 2px;
}

.support-flow-ticket-list::-webkit-scrollbar {
    width: 4px;
}

.support-flow-ticket-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.support-flow-ticket-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
}

.support-flow-ticket-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 3px 6px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
    text-align: left;
}

.support-flow-ticket-item:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateX(2px);
}

.support-flow-ticket-item.is-incoming:hover {
    border-color: rgba(0, 210, 255, 0.45);
    background: rgba(0, 210, 255, 0.12);
}

.support-flow-ticket-item.is-closed:hover {
    border-color: rgba(0, 230, 118, 0.45);
    background: rgba(0, 230, 118, 0.12);
}

.support-flow-ticket-num {
    font-size: 9.5px;
    font-weight: 800;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    padding: 1px 4px;
    border-radius: 3px;
    flex-shrink: 0;
}

.support-flow-ticket-num.is-incoming {
    background: rgba(0, 210, 255, 0.18);
    color: #00d2ff;
}

.support-flow-ticket-num.is-closed {
    background: rgba(0, 230, 118, 0.18);
    color: #00e676;
}

.support-flow-ticket-title {
    font-size: 10.5px;
    font-weight: 550;
    color: #cbd5e1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 215px;
}

.support-flow-ticket-item:hover .support-flow-ticket-title {
    color: #ffffff;
}

/* Responsividade do Modal */
@media (max-width: 1024px) {
    .support-flow-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-flow-bottom-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .support-flow-modal-header {
        flex-direction: column;
        align-items: stretch;
    }

    .support-flow-modal-actions {
        justify-content: space-between;
    }

    .support-flow-kpi-grid {
        grid-template-columns: 1fr;
    }

    .support-flow-modal-shell {
        padding: 16px;
    }
}
