@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --rum-bg: #edf4fb;
    --rum-bg-soft: #e2ebf5;
    --rum-surface: rgba(255, 255, 255, 0.82);
    --rum-surface-strong: rgba(255, 255, 255, 0.94);
    --rum-ink: #0b1f33;
    --rum-ink-soft: #5d748d;
    --rum-line: rgba(11, 31, 51, 0.1);
    --rum-line-strong: rgba(11, 31, 51, 0.18);
    --rum-accent: #1677e7;
    --rum-accent-strong: #0d58c5;
    --rum-teal: #0fa3b1;
    --rum-success: #109669;
    --rum-warning: #c88b12;
    --rum-danger: #c35e63;
    --rum-white: #f7fbff;
    --rum-shadow-xl: 0 34px 88px rgba(4, 16, 29, 0.22);
    --rum-shadow-lg: 0 24px 58px rgba(4, 16, 29, 0.18);
    --rum-shadow-md: 0 16px 38px rgba(4, 16, 29, 0.12);
}

:root[data-theme="dark"] {
    --rum-bg: #08111c;
    --rum-bg-soft: #0d1b2a;
    --rum-surface: rgba(19, 34, 51, 0.86);
    --rum-surface-strong: rgba(23, 42, 62, 0.96);
    --rum-ink: #edf6ff;
    --rum-ink-soft: #a9bbcf;
    --rum-line: rgba(237, 246, 255, 0.12);
    --rum-line-strong: rgba(237, 246, 255, 0.2);
    --rum-accent: #6ab7ff;
    --rum-accent-strong: #3b8ee8;
    --rum-teal: #52c4cf;
    --rum-success: #42d89a;
    --rum-warning: #f1bd4b;
    --rum-danger: #ff858b;
    --rum-white: #f7fbff;
    --rum-shadow-xl: 0 34px 88px rgba(0, 0, 0, 0.42);
    --rum-shadow-lg: 0 24px 58px rgba(0, 0, 0, 0.36);
    --rum-shadow-md: 0 16px 38px rgba(0, 0, 0, 0.28);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: "Manrope", "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 0% 0%, rgba(15, 163, 177, 0.18), transparent 30%),
        radial-gradient(circle at 100% 0%, rgba(22, 119, 231, 0.2), transparent 34%),
        linear-gradient(180deg, var(--rum-bg) 0%, var(--rum-bg-soft) 48%, #f7f9fc 100%);
    color: var(--rum-ink);
}

:root[data-theme="dark"] body {
    background:
        radial-gradient(circle at 0% 0%, rgba(82, 196, 207, 0.14), transparent 30%),
        radial-gradient(circle at 100% 0%, rgba(106, 183, 255, 0.14), transparent 34%),
        linear-gradient(180deg, var(--rum-bg) 0%, var(--rum-bg-soft) 52%, #101822 100%);
}

body {
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

h1,
h2,
h3,
h4,
.appbar-title-block strong,
.metric-value,
.wizard-index {
    font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

@keyframes rum-rise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

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

@keyframes rum-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes rum-loading-sweep {
    0% {
        transform: translateX(-120%);
    }

    100% {
        transform: translateX(220%);
    }
}

#blazor-error-ui {
    display: none;
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(195, 94, 99, 0.24);
    background: rgba(255, 249, 249, 0.98);
    box-shadow: var(--rum-shadow-md);
    z-index: 2000;
}

#blazor-error-ui .dismiss {
    float: right;
    cursor: pointer;
}

#blazor-error-details {
    display: block;
    margin: 0.5rem 0 0.75rem;
    font-size: 0.85rem;
    line-height: 1.55;
    white-space: pre-wrap;
    color: var(--rum-danger);
}

#app {
    min-height: 100vh;
}

.app-shell {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    min-height: 100vh;
    min-width: 0;
    max-width: 100vw;
    overflow-x: hidden;
}

.app-shell-sidebar-hidden {
    grid-template-columns: 1fr;
}

.app-shell-sidebar-hidden .app-sidebar {
    display: none;
}

.app-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 0;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    padding: 1.3rem;
    background:
        radial-gradient(circle at top right, rgba(76, 198, 255, 0.16), transparent 25%),
        linear-gradient(180deg, rgba(6, 20, 35, 0.97), rgba(10, 31, 55, 0.96));
    color: var(--rum-white);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
}

.brand-stack {
    display: grid;
    gap: 1rem;
    flex: 0 0 auto;
    min-width: 0;
    max-width: 100%;
}

.brand-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.25rem 0.2rem 0.5rem;
    background: transparent;
}

.brand-hacsys-logo {
    width: auto;
    max-width: 188px;
    margin: 0 auto;
    filter: drop-shadow(0 10px 20px rgba(1, 11, 23, 0.26));
}

.brand-rum-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 24px;
    overflow: hidden;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.brand-rum-meta {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.85rem;
}

.brand-rum-tag {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(247, 251, 255, 0.68);
}

.brand-rum-meta strong {
    font-size: 1.08rem;
    color: #fff;
}

.brand-rum-logo-frame {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    height: 148px;
    display: grid;
    place-items: center;
    padding: 1rem;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(227, 239, 250, 0.92));
    box-shadow: inset 0 0 0 1px rgba(11, 31, 51, 0.05);
    overflow: hidden;
}

.brand-rum-logo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-width: 0;
    object-fit: contain;
    object-position: center;
}

.brand-copy {
    margin: 0.9rem 0 0;
    color: rgba(247, 251, 255, 0.74);
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.nav-links {
    display: grid;
    gap: 0.55rem;
    flex: 0 0 auto;
    min-height: 0;
    overflow-y: visible;
    overflow-x: hidden;
    padding-right: 0.2rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.8rem 0.9rem;
    border-radius: 20px;
    border: 1px solid transparent;
    color: rgba(247, 251, 255, 0.76);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.03);
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.nav-link.active {
    background: linear-gradient(135deg, rgba(22, 119, 231, 0.22), rgba(15, 163, 177, 0.18));
    border-color: rgba(105, 190, 255, 0.3);
    color: #fff;
}

.nav-icon {
    flex: 0 0 auto;
    width: 2.45rem;
    height: 2.45rem;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.nav-link.active .nav-icon {
    background: rgba(255, 255, 255, 0.96);
    color: var(--rum-accent-strong);
}

.nav-label {
    font-weight: 700;
}

.sidebar-footer {
    margin-top: auto;
    display: grid;
    gap: 1rem;
    flex: 0 0 auto;
}

.sidebar-footer-copy {
    display: grid;
    gap: 0.3rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sidebar-footer-copy span {
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(247, 251, 255, 0.62);
}

.sidebar-footer-copy strong {
    font-size: 0.92rem;
    line-height: 1.6;
    color: #fff;
}

.app-main {
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.portal-appbar.e-appbar {
    position: sticky;
    top: 1rem;
    z-index: 40;
    margin: 1rem 1.25rem 0;
    width: auto;
    max-width: calc(100% - 2.5rem);
    min-width: 0;
    padding: 0.8rem 1rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(22px);
    box-shadow: var(--rum-shadow-md);
    color: var(--rum-ink);
    overflow: visible;
}

.appbar-menu-button.e-btn {
    border-radius: 18px !important;
    flex: 0 0 auto;
}

.appbar-title-block {
    display: grid;
    gap: 0.05rem;
    margin-left: 0.35rem;
    min-width: 0;
}

.appbar-eyebrow {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--rum-ink-soft);
}

.appbar-title-block strong {
    font-size: 1.05rem;
}

.appbar-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    position: relative;
    justify-content: flex-end;
    min-width: 0;
    max-width: 100%;
    flex: 0 1 auto;
}

.appbar-date {
    font-size: 0.85rem;
    color: var(--rum-ink-soft);
    white-space: nowrap;
}

.appbar-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(16, 150, 105, 0.12);
    border: 1px solid rgba(16, 150, 105, 0.18);
    color: var(--rum-success);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    flex: 0 0 auto;
}

.portal-appbar.e-appbar .e-appbar-spacer {
    min-width: 0;
    flex: 1 1 auto;
}

.app-content {
    display: grid;
    gap: 1.1rem;
    align-content: start;
    padding: 1.25rem;
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.global-process-overlay {
    position: fixed;
    inset: 0;
    z-index: 30000;
    display: grid;
    place-items: center;
    background: rgba(8, 17, 28, 0.22);
    backdrop-filter: blur(2px);
    cursor: progress;
}

.global-process-spinner {
    position: relative;
    display: grid;
    place-items: center;
    width: 108px;
    height: 108px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--rum-shadow-lg);
}

:root[data-theme="dark"] .global-process-spinner {
    border-color: rgba(237, 246, 255, 0.18);
    background: rgba(19, 34, 51, 0.94);
}

.global-process-syncfusion-spinner.e-spinner-pane {
    position: static;
    width: 58px;
    height: 58px;
}

.notification-center {
    position: relative;
    z-index: 100;
}

.notification-bell-button {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(11, 31, 51, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--rum-ink);
    box-shadow: 0 12px 24px rgba(11, 31, 51, 0.08);
}

.notification-bell-icon {
    font-size: 1.05rem;
    line-height: 1;
}

.notification-bell-badge {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    min-width: 20px;
    height: 20px;
    display: inline-grid;
    place-items: center;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: #d92d20;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(217, 45, 32, 0.32);
}

.notification-panel {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    width: min(330px, calc(100vw - 1rem));
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(11, 31, 51, 0.08);
    box-shadow: 0 28px 48px rgba(11, 31, 51, 0.18);
    z-index: 90;
}

.notification-panel-scrim,
.user-menu-scrim {
    position: fixed;
    inset: 0;
    z-index: 80;
    padding: 0;
    border: 0;
    background: transparent;
}

.notification-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

.notification-panel-header strong {
    color: var(--rum-ink);
    font-size: 0.95rem;
}

.notification-panel-header span,
.notification-empty-state {
    color: var(--rum-ink-soft);
    font-size: 0.8rem;
}

.notification-list {
    display: grid;
    gap: 0.7rem;
    max-height: min(62vh, 560px);
    overflow-y: auto;
    padding-right: 0.15rem;
}

.notification-list-item {
    text-align: left;
    display: grid;
    gap: 0.3rem;
    padding: 0.9rem;
    border-radius: 18px;
    border: 1px solid rgba(11, 31, 51, 0.07);
    background: rgba(11, 31, 51, 0.03);
    color: var(--rum-ink);
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.user-menu {
    position: relative;
    z-index: 100;
}

.user-menu-button {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(11, 31, 51, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    color: var(--rum-ink);
    box-shadow: 0 12px 24px rgba(11, 31, 51, 0.08);
    font-weight: 800;
    font-size: 0.74rem;
}

.user-menu-panel {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    z-index: 90;
    width: min(280px, calc(100vw - 1rem));
    display: grid;
    gap: 0.35rem;
    padding: 0.75rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(11, 31, 51, 0.08);
    box-shadow: 0 28px 48px rgba(11, 31, 51, 0.18);
}

.user-menu-header {
    display: grid;
    gap: 0.15rem;
    padding: 0.55rem 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(11, 31, 51, 0.08);
    margin-bottom: 0.25rem;
}

.user-menu-header strong {
    color: var(--rum-ink);
    font-size: 0.92rem;
    overflow-wrap: anywhere;
}

.user-menu-header span {
    color: var(--rum-ink-soft);
    font-size: 0.78rem;
    overflow-wrap: anywhere;
}

.user-menu-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.75rem 0.7rem;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--rum-ink);
    text-align: left;
    font-weight: 700;
}

.user-menu-item:hover {
    background: rgba(22, 119, 231, 0.08);
}

.user-menu-item .e-icons {
    color: var(--rum-ink-soft);
}

.about-content {
    display: grid;
    justify-items: center;
    gap: 1.15rem;
    padding: 0.7rem 0.3rem 0.2rem;
    text-align: center;
}

.about-rum-logo {
    width: min(240px, 80%);
    height: auto;
}

.about-hacsys-logo {
    width: min(180px, 70%);
    height: auto;
}

.about-content strong {
    color: var(--rum-ink);
    font-size: 1rem;
}

.notification-list-item:hover {
    transform: translateY(-1px);
    border-color: rgba(22, 119, 231, 0.22);
    box-shadow: 0 12px 24px rgba(11, 31, 51, 0.08);
}

.notification-list-item-unread {
    background: linear-gradient(135deg, rgba(255, 243, 205, 0.84), rgba(255, 255, 255, 0.95));
    border-color: rgba(217, 119, 6, 0.18);
}

.notification-list-item strong {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--rum-ink);
    font-size: 0.88rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.notification-level-dot {
    width: 0.62rem;
    height: 0.62rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--rum-accent);
}

.notification-level-dot-success {
    background: var(--rum-success);
}

.notification-level-dot-warning {
    background: var(--rum-warning);
}

.notification-level-dot-error {
    background: var(--rum-danger);
}

.notification-list-item span,
.notification-list-item small {
    color: var(--rum-ink-soft);
    font-size: 0.78rem;
    line-height: 1.45;
    min-width: 0;
    overflow-wrap: anywhere;
}

.notification-toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    width: min(380px, calc(100vw - 2rem));
    z-index: 120;
    display: grid;
    gap: 0.45rem;
    padding: 1rem 1.1rem;
    border-radius: 22px;
    border: 1px solid rgba(217, 45, 32, 0.18);
    background: linear-gradient(180deg, rgba(255, 247, 245, 0.98), rgba(255, 255, 255, 0.98));
    box-shadow: 0 28px 60px rgba(11, 31, 51, 0.22);
    text-align: left;
    animation: rum-toast-drop 0.22s ease-out both;
}

.notification-toast-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.notification-toast-head strong {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.notification-toast-success {
    border-color: rgba(16, 150, 105, 0.22);
    background: linear-gradient(180deg, rgba(243, 255, 250, 0.98), rgba(255, 255, 255, 0.98));
}

.notification-toast-success .notification-toast-head strong {
    color: var(--rum-success);
}

.notification-toast-warning {
    border-color: rgba(200, 139, 18, 0.24);
    background: linear-gradient(180deg, rgba(255, 250, 236, 0.98), rgba(255, 255, 255, 0.98));
}

.notification-toast-warning .notification-toast-head strong {
    color: #8f640b;
}

.notification-toast-error .notification-toast-head strong {
    color: #b42318;
}

.notification-toast h4,
.notification-toast p {
    margin: 0;
}

.notification-toast h4 {
    color: var(--rum-ink);
    font-size: 1rem;
}

.notification-toast p {
    color: var(--rum-ink-soft);
    font-size: 0.83rem;
    line-height: 1.5;
}

.notification-toast-close {
    display: inline-grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    color: var(--rum-ink-soft);
    font-size: 1.1rem;
    cursor: pointer;
}

.notification-toast-close:hover {
    background: rgba(11, 31, 51, 0.06);
    color: var(--rum-ink);
}

@keyframes rum-toast-drop {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }

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

.page-header,
.page-hero,
.dashboard-spotlight-card,
.metric-card,
.panel,
.wizard-shell,
.login-panel,
.login-showcase,
.state-panel {
    animation: rum-rise 0.45s ease both;
}

.page-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    min-height: 64px;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    color: #f8fbff;
    background:
        radial-gradient(circle at 100% 0%, rgba(93, 207, 255, 0.16), transparent 28%),
        linear-gradient(135deg, rgba(7, 21, 36, 0.97), rgba(13, 44, 80, 0.92));
    box-shadow: var(--rum-shadow-md);
    position: relative;
    overflow: hidden;
}

.page-hero::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -54px;
    bottom: -104px;
    border-radius: 999px;
    background: rgba(22, 119, 231, 0.12);
    filter: blur(10px);
}

.page-hero-copy,
.page-hero-actions {
    position: relative;
    z-index: 1;
}

.page-hero-copy {
    min-width: 0;
}

.eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(168, 217, 255, 0.95);
}

.page-header h1,
.state-panel h1,
.login-panel h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
}

.page-header h1 {
    color: #f8fbff;
    font-size: clamp(1.2rem, 2vw, 1.65rem);
    font-weight: 750;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

.page-description,
.helper-text,
.user-meta,
.selection-card p,
.state-panel p,
.login-panel p,
.login-copy,
.metric-helper {
    color: var(--rum-ink-soft);
    line-height: 1.65;
}

.page-description {
    margin: 0.85rem 0 0;
    max-width: 72ch;
    color: rgba(247, 251, 255, 0.78);
}

.page-actions,
.button-row,
.inline-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.dashboard-spotlight {
    display: grid;
}

.dashboard-spotlight-card {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(228, 239, 250, 0.86));
    border: 1px solid rgba(255, 255, 255, 0.68);
    box-shadow: var(--rum-shadow-lg);
}

.spotlight-eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--rum-accent-strong);
}

.dashboard-spotlight-card h2 {
    margin: 0;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.1;
}

.dashboard-spotlight-card p {
    margin: 0.85rem 0 0;
    max-width: 64ch;
}

.dashboard-spotlight-stats {
    display: grid;
    gap: 0.85rem;
}

.dashboard-rate-ring {
    min-height: 180px;
    display: grid;
    place-items: center;
    gap: 0.25rem;
    padding: 1.3rem;
    border-radius: 26px;
    color: #fff;
    background:
        radial-gradient(circle at top, rgba(106, 225, 255, 0.3), transparent 42%),
        linear-gradient(135deg, var(--rum-accent-strong), #052850);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.dashboard-rate-ring span {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
}

.dashboard-rate-ring small {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.74);
}

.dashboard-mini-metrics {
    display: grid;
    gap: 0.75rem;
}

.dashboard-mini-metric {
    padding: 0.95rem 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(11, 31, 51, 0.08);
}

.mini-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--rum-ink-soft);
}

.metric-grid,
.content-grid,
.two-column,
.wizard-grid {
    display: grid;
    gap: 1rem;
}

.metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.content-grid,
.two-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric-card,
.panel,
.wizard-shell,
.state-panel,
.login-panel,
.login-showcase {
    background: var(--rum-surface);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 28px;
    box-shadow: var(--rum-shadow-lg);
    backdrop-filter: blur(22px);
}

.metric-card {
    position: relative;
    padding: 1.25rem 1.25rem 1.35rem;
    overflow: hidden;
}

.metric-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 28px;
    background: var(--metric-tone, var(--rum-accent));
}

.metric-card-default {
    --metric-tone: var(--rum-accent);
}

.metric-card-success {
    --metric-tone: var(--rum-success);
}

.metric-card-warning {
    --metric-tone: var(--rum-warning);
}

.metric-card-accent {
    --metric-tone: var(--rum-teal);
}

.metric-card-danger {
    --metric-tone: var(--rum-danger);
}

.metric-label {
    display: block;
    margin-bottom: 0.8rem;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--rum-ink-soft);
}

.metric-value {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 2.3rem;
    line-height: 1;
}

.panel,
.wizard-shell,
.login-panel,
.login-showcase {
    padding: 1.35rem;
}

.panel h2,
.wizard-shell h3 {
    margin: 0;
}

.panel-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.panel-toolbar h2 {
    margin: 0 0 0.35rem;
}

.form-grid,
.selection-list {
    display: grid;
    gap: 1rem;
}

.filter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.form-field {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.form-field > span {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--rum-ink);
}

.form-field small {
    color: var(--rum-ink-soft);
    font-size: 0.78rem;
    line-height: 1.45;
}

.app-input,
.app-select,
.app-textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid var(--rum-line-strong);
    background: rgba(255, 255, 255, 0.9);
    color: var(--rum-ink);
    font: inherit;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.app-input:focus,
.app-select:focus,
.app-textarea:focus {
    border-color: rgba(22, 119, 231, 0.42);
    box-shadow: 0 0 0 4px rgba(22, 119, 231, 0.12);
}

.form-field .app-combobox {
    width: 100% !important;
}

.form-field .app-combobox.e-control-wrapper,
.form-field .app-combobox.e-input-group {
    min-height: 3.15rem;
    border: 1px solid var(--rum-line-strong) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    box-shadow: none !important;
}

.form-field .app-combobox.e-input-focus,
.form-field .app-combobox.e-control-wrapper.e-input-focus {
    border-color: rgba(22, 119, 231, 0.42) !important;
    box-shadow: 0 0 0 4px rgba(22, 119, 231, 0.12) !important;
}

.form-field .app-combobox .e-input,
.form-field .app-combobox input.e-input {
    min-height: 3rem !important;
    padding-left: 1rem !important;
    color: var(--rum-ink) !important;
    font: inherit !important;
}

.app-textarea {
    min-height: 124px;
    resize: vertical;
}

input[type="file"] {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    border: 1px dashed rgba(11, 31, 51, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: var(--rum-ink);
    font: inherit;
}

progress {
    width: 100%;
    height: 10px;
    border: none;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(11, 31, 51, 0.08);
}

progress::-webkit-progress-bar {
    background: rgba(11, 31, 51, 0.08);
}

progress::-webkit-progress-value {
    background: linear-gradient(135deg, var(--rum-accent), var(--rum-teal));
}

progress::-moz-progress-bar {
    background: linear-gradient(135deg, var(--rum-accent), var(--rum-teal));
}

.selection-card {
    display: grid;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(11, 31, 51, 0.08);
}

.selection-card h4 {
    margin: 0;
}

.selection-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.selection-card-header span {
    flex: 0 0 auto;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: rgba(22, 119, 231, 0.1);
    color: var(--rum-accent-strong);
    font-size: 0.76rem;
    font-weight: 800;
}

.selection-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.8rem 0.85rem;
    border-radius: 18px;
    background: rgba(11, 31, 51, 0.03);
    border: 1px solid rgba(11, 31, 51, 0.06);
    line-height: 1.5;
}

.selection-option input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-top: 0.2rem;
    accent-color: var(--rum-accent);
}

.inline-option {
    margin-top: 0.2rem;
}

.empty-state {
    margin: 0;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(11, 31, 51, 0.04);
    color: var(--rum-ink-soft);
    font-weight: 700;
}

.task-step-list {
    display: grid;
    gap: 0.55rem;
}

.task-step-row {
    display: grid;
    gap: 0.2rem;
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
    background: rgba(11, 31, 51, 0.035);
    border: 1px solid rgba(11, 31, 51, 0.06);
}

.task-step-row strong {
    color: var(--rum-ink);
    font-size: 0.9rem;
}

.task-step-row span,
.task-step-row small {
    color: var(--rum-ink-soft);
    font-size: 0.8rem;
}

.task-step-asset {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    padding: 0.55rem 0.65rem;
    border-radius: 12px;
    background: rgba(22, 119, 231, 0.06);
    border: 1px solid rgba(22, 119, 231, 0.12);
}

.task-step-asset span {
    color: var(--rum-ink);
    font-weight: 800;
}

.task-step-definition {
    margin-top: 0.25rem;
}

.task-detail-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.85rem;
}

.task-detail-summary-grid div {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem 0.9rem;
    border-radius: 16px;
    background: rgba(11, 31, 51, 0.035);
    border: 1px solid rgba(11, 31, 51, 0.06);
}

.task-detail-summary-grid strong {
    color: var(--rum-ink);
    font-size: 1.15rem;
}

.task-detail-summary-grid span {
    color: var(--rum-ink-soft);
    font-size: 0.8rem;
    font-weight: 700;
}

.task-equipment-summary-grid.e-grid,
.e-grid[cssclass~="task-equipment-summary-grid"] {
    border-radius: 18px !important;
}

.task-equipment-summary-grid.e-grid .e-row,
.e-grid[cssclass~="task-equipment-summary-grid"] .e-row {
    cursor: pointer;
}

.task-equipment-summary-grid.e-grid .e-detailcell,
.e-grid[cssclass~="task-equipment-summary-grid"] .e-detailcell {
    background: rgba(248, 251, 255, 0.96);
    padding: 0.9rem 1rem !important;
}

.task-equipment-summary-grid.e-grid .e-headercell,
.task-equipment-summary-grid.e-grid .e-rowcell,
.e-grid[cssclass~="task-equipment-summary-grid"] .e-headercell,
.e-grid[cssclass~="task-equipment-summary-grid"] .e-rowcell {
    padding: 0 !important;
}

.task-equipment-summary-grid.e-grid .e-rowcell > div,
.e-grid[cssclass~="task-equipment-summary-grid"] .e-rowcell > div {
    width: 100%;
}

.task-equipment-accordion-header,
.task-equipment-accordion-summary {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 42px minmax(150px, 1.3fr) minmax(120px, 0.75fr) minmax(130px, 1fr) minmax(135px, 0.9fr) minmax(135px, 0.9fr);
}

.task-equipment-accordion-header {
    color: var(--rum-ink-muted);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 0.7rem 1rem;
    text-transform: uppercase;
}

.task-equipment-accordion-row {
    background: #fff;
    border-left: 4px solid transparent;
    color: var(--rum-ink);
}

.task-equipment-accordion-row.has-errors {
    border-left-color: var(--rum-danger);
}

.task-equipment-accordion-row.is-expanded {
    background: rgba(248, 251, 255, 0.98);
    border-left-color: var(--rum-primary);
}

.task-equipment-accordion-summary {
    cursor: pointer;
    min-height: 3.25rem;
    padding: 0.8rem 1rem;
}

.task-equipment-accordion-summary strong {
    color: var(--rum-ink);
    font-size: 0.9rem;
}

.task-equipment-accordion-summary > span:not(.equipment-compliance-icon):not(.task-status-badge) {
    color: var(--rum-ink-soft);
    font-size: 0.82rem;
    font-weight: 700;
    min-width: 0;
    overflow-wrap: anywhere;
}

.task-equipment-accordion-row.is-expanded .task-equipment-accordion-summary {
    border-bottom: 1px solid rgba(11, 31, 51, 0.08);
}

.task-equipment-detail-card {
    background: #fff;
    border: 1px solid rgba(11, 31, 51, 0.08);
    border-radius: 16px;
    box-shadow: none;
    margin: 0.9rem 1rem 1rem;
    padding: 1rem;
}

.equipment-compliance-icon {
    display: inline-grid;
    font-size: 1.15rem;
    font-weight: 900;
    height: 1.65rem;
    place-items: center;
    width: 1.65rem;
}

.equipment-compliance-success {
    color: var(--rum-success);
}

.equipment-compliance-error {
    color: var(--rum-danger);
}

.equipment-compliance-success::before {
    content: "\2713";
}

.equipment-compliance-error::before {
    content: "X";
}

.task-log-details {
    border-radius: 16px;
    background: rgba(9, 18, 33, 0.96);
    color: #f5f7fb;
    border: 1px solid rgba(11, 31, 51, 0.18);
    overflow: hidden;
}

.task-log-details summary {
    cursor: pointer;
    padding: 0.7rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.task-log-preview {
    margin: 0;
    padding: 0 0.9rem 0.9rem;
    max-height: 240px;
    overflow: auto;
    white-space: pre-wrap;
    word-break: break-word;
    font-size: 0.8rem;
    line-height: 1.45;
    color: inherit;
}

.asset-content-preview {
    max-height: 620px;
    padding: 1rem;
    border-radius: 18px;
    background: #091221;
    color: #f5f7fb;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

.history-status-cell {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 800;
    color: var(--rum-ink);
}

.history-status-dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    display: inline-block;
    box-shadow: 0 0 0 4px rgba(11, 31, 51, 0.06);
}

.history-status-dot-green {
    background: #16a34a;
}

.history-status-dot-yellow {
    background: #f59e0b;
}

.history-status-dot-red {
    background: #dc2626;
}

.history-status-dot-neutral {
    background: #94a3b8;
}

.workflow-upload-panel,
.package-version-card {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(11, 31, 51, 0.08);
    background: rgba(255, 255, 255, 0.72);
}

.workflow-rule-grid,
.workflow-detail-grid,
.package-detail-metrics {
    display: grid;
    gap: 0.85rem;
}

.workflow-rule-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.workflow-rule-grid div,
.package-detail-metrics div {
    display: grid;
    gap: 0.25rem;
    padding: 0.85rem;
    border-radius: 16px;
    background: rgba(11, 31, 51, 0.035);
    border: 1px solid rgba(11, 31, 51, 0.06);
}

.workflow-rule-grid strong,
.package-detail-metrics strong {
    color: var(--rum-ink);
}

.workflow-rule-grid span,
.package-detail-metrics span {
    color: var(--rum-ink-soft);
    font-size: 0.84rem;
    line-height: 1.45;
}

.workflow-step-chip-list {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.workflow-step-chip-list span {
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(22, 119, 231, 0.08);
    color: var(--rum-accent-strong);
    font-size: 0.75rem;
    font-weight: 900;
}

.package-wizard-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 1rem;
}

.package-wizard-step {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    padding: 0.75rem 0.85rem;
    border-radius: 16px;
    border: 1px solid rgba(11, 31, 51, 0.08);
    background: rgba(255, 255, 255, 0.76);
    color: var(--rum-ink-soft);
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.package-wizard-step span {
    flex: 0 0 auto;
    width: 1.8rem;
    height: 1.8rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(11, 31, 51, 0.08);
    color: var(--rum-ink);
    font-size: 0.78rem;
    font-weight: 900;
}

.package-wizard-step strong {
    overflow: hidden;
    color: inherit;
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.package-wizard-step.active {
    border-color: rgba(22, 119, 231, 0.34);
    background: rgba(22, 119, 231, 0.1);
    color: var(--rum-accent-strong);
}

.package-wizard-step.active span {
    background: var(--rum-accent);
    color: #fff;
}

.package-wizard-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.package-wizard-stage {
    display: grid;
    gap: 1rem;
    min-height: 0;
}

.package-wizard-stage-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.package-wizard-stage-header h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
}

.package-wizard-stage-header span {
    flex: 0 0 auto;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: rgba(11, 31, 51, 0.07);
    color: var(--rum-ink-soft);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.package-wide-field {
    grid-column: 1 / -1;
}

.package-detail-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.package-detail-header h3 {
    margin: 0.55rem 0 0.3rem;
}

.package-detail-header p {
    margin: 0;
    color: var(--rum-ink-soft);
}

.package-detail-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.package-version-list {
    display: grid;
    gap: 1rem;
}

.package-version-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
}

.package-version-header h4 {
    margin: 0 0 0.25rem;
}

.package-version-header span,
.package-version-meta,
.package-release-notes {
    color: var(--rum-ink-soft);
    font-size: 0.84rem;
    line-height: 1.45;
}

.package-version-badges,
.package-version-meta {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.package-release-notes {
    margin: 0;
    padding: 0.75rem 0.85rem;
    border-radius: 14px;
    background: rgba(15, 163, 177, 0.08);
}

.workflow-detail-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
}

.workflow-detail-grid section {
    min-width: 0;
}

.package-asset-list {
    display: grid;
    gap: 0.55rem;
}

.package-asset-row {
    display: grid;
    gap: 0.2rem;
    padding: 0.7rem 0.8rem;
    border-radius: 14px;
    background: rgba(11, 31, 51, 0.035);
    border: 1px solid rgba(11, 31, 51, 0.06);
}

.package-asset-row strong {
    color: var(--rum-ink);
    font-size: 0.9rem;
}

.package-asset-row span,
.package-asset-row small {
    overflow-wrap: anywhere;
    color: var(--rum-ink-soft);
    font-size: 0.8rem;
}

.wizard-shell {
    display: grid;
    gap: 1rem;
}

.wizard-step {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(7, 21, 36, 0.98), rgba(14, 47, 84, 0.92));
    color: #fff;
}

.wizard-step p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.wizard-index {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--rum-accent), var(--rum-teal));
    color: #fff;
    font-weight: 800;
}

.task-wizard-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.task-wizard-summary div {
    padding: 0.85rem;
    border-radius: 18px;
    background: rgba(11, 31, 51, 0.04);
    border: 1px solid rgba(11, 31, 51, 0.06);
}

.task-wizard-summary span {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--rum-ink-soft);
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.task-wizard-summary strong {
    font-size: 1.55rem;
    line-height: 1;
}

.task-wizard-stepper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.task-target-filter-grid {
    align-items: end;
}

.task-target-toolbar,
.task-wizard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.task-target-grid {
    align-items: start;
}

.task-inline-toggle {
    min-height: 2.85rem;
    margin: 0;
}

.task-selection-preview,
.task-confirm-summary {
    background: linear-gradient(180deg, rgba(22, 119, 231, 0.05), rgba(0, 152, 144, 0.04));
}

.task-selected-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.task-selected-chip {
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: rgba(11, 31, 51, 0.08);
    color: var(--rum-ink);
    font-size: 0.82rem;
    font-weight: 700;
}

.selection-option span strong,
.selection-option span small {
    display: block;
}

.selection-option span small {
    margin-top: 0.18rem;
    color: var(--rum-ink-soft);
}

.selection-scroll {
    display: grid;
    gap: 0.7rem;
    max-height: 320px;
    overflow: auto;
    padding-right: 0.15rem;
}

.task-confirm-grid {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.55fr);
    align-items: end;
}

.task-confirm-grid .form-field:has(.app-textarea) {
    grid-column: 1 / -1;
}

.task-submit-button.e-btn {
    min-height: 3.1rem;
}

.text-button {
    padding: 0;
    border: none;
    background: transparent;
    color: var(--rum-accent-strong);
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    transition: transform 0.18s ease, color 0.18s ease;
}

.text-button:hover {
    transform: translateX(2px);
    color: var(--rum-accent);
}

.text-button.danger {
    color: var(--rum-danger);
}

.logout-button,
.login-button {
    width: 100%;
}

.state-panel {
    width: min(560px, calc(100% - 2rem));
    min-height: min(100vh, 680px);
    margin: 0 auto;
    display: grid;
    place-content: center;
    gap: 0.8rem;
    padding: 2rem;
}

.state-panel.app-loading {
    justify-items: center;
    text-align: center;
    gap: 1.08rem;
}

.loading-mark {
    position: relative;
    width: 132px;
    height: 132px;
    display: grid;
    place-items: center;
    margin-bottom: 0.35rem;
}

.loading-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background:
        conic-gradient(from 90deg, rgba(22, 119, 231, 0), var(--rum-accent), var(--rum-teal), rgba(22, 119, 231, 0) 72%);
    filter: drop-shadow(0 16px 28px rgba(22, 119, 231, 0.26));
    mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #000 calc(100% - 12px));
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 13px), #000 calc(100% - 12px));
    animation: rum-spin 1.1s linear infinite;
}

.loading-ring-secondary {
    inset: 20px;
    opacity: 0.62;
    background:
        conic-gradient(from 260deg, rgba(15, 163, 177, 0), rgba(15, 163, 177, 0.9), rgba(22, 119, 231, 0.8), rgba(15, 163, 177, 0) 70%);
    animation-duration: 1.7s;
    animation-direction: reverse;
}

.loading-core {
    position: relative;
    z-index: 1;
    width: 74px;
    height: 74px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(226, 235, 245, 0.88));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84), 0 18px 34px rgba(4, 16, 29, 0.16);
}

.loading-core-image {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 5px 8px rgba(13, 88, 197, 0.2));
}

.loading-progress {
    position: relative;
    width: min(260px, 76%);
    height: 4px;
    margin-top: 0.2rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(11, 31, 51, 0.09);
}

.loading-progress::after {
    content: "";
    position: absolute;
    inset: 0;
    width: 42%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(22, 119, 231, 0), var(--rum-accent), var(--rum-teal));
    animation: rum-loading-sweep 1.25s ease-in-out infinite;
}

.login-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(380px, 470px);
    gap: 1.4rem;
    align-items: center;
    padding: 1.5rem 2rem;
}

.login-showcase {
    display: grid;
    gap: 1.25rem;
    align-content: start;
    align-self: center;
    min-height: min(700px, calc(100vh - 3rem));
    background:
        radial-gradient(circle at 100% 0%, rgba(89, 207, 255, 0.18), transparent 30%),
        linear-gradient(180deg, rgba(7, 21, 36, 0.97), rgba(12, 37, 64, 0.95));
    color: #fff;
    padding: 1.65rem;
}

.login-brand-strip {
    max-width: none;
    padding-bottom: 0.15rem;
}

.login-hero-card {
    display: grid;
    gap: 0.95rem;
    align-content: start;
    padding: 1.15rem 1.15rem 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.login-rum-logo-frame {
    min-height: 285px;
    height: auto;
    padding: 1.6rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(229, 240, 251, 0.92));
}

.login-rum-logo-frame .brand-rum-logo {
    width: 100%;
    max-width: 880px;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}

.login-copy {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(247, 251, 255, 0.76);
}

.login-panel {
    width: 100%;
    max-width: 470px;
    min-height: min(700px, calc(100vh - 3rem));
    justify-self: stretch;
    align-self: center;
    display: grid;
    align-content: center;
    gap: 0.75rem;
    padding: 2.15rem 2.1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9));
}

.login-panel .eyebrow {
    color: rgba(13, 88, 197, 0.72);
}

.login-panel h1 {
    max-width: 8ch;
}

.login-panel > p {
    max-width: 27ch;
}

.login-form {
    display: grid;
    gap: 1.05rem;
    margin-top: 1.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(11, 31, 51, 0.08);
}

.login-button.e-btn {
    min-height: 3.2rem;
}

.form-error,
.form-success,
.helper-text,
.user-meta {
    margin: 0;
}

.form-error {
    color: var(--rum-danger);
    font-weight: 700;
}

.form-success {
    color: var(--rum-success);
    font-weight: 700;
}

.user-admin-layout {
    align-items: start;
}

.e-btn {
    border-radius: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
}

.e-btn.e-primary {
    box-shadow: 0 14px 26px rgba(22, 119, 231, 0.16);
}

.e-btn.e-outline {
    background: rgba(255, 255, 255, 0.88);
}

.e-control-wrapper,
.e-input-group,
.e-float-input.e-control-wrapper {
    border-radius: 16px !important;
}

.e-control-wrapper:not(.e-error):not(.e-warning),
.e-input-group:not(.e-error):not(.e-warning) {
    border-color: var(--rum-line-strong) !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.e-control-wrapper.e-input-focus,
.e-input-group.e-input-focus {
    border-color: rgba(22, 119, 231, 0.42) !important;
    box-shadow: 0 0 0 4px rgba(22, 119, 231, 0.12) !important;
}

.e-control-wrapper .e-input,
.e-input-group .e-input,
.e-dropdownbase .e-input,
.e-ddl .e-input {
    font-family: "Manrope", "Segoe UI", sans-serif !important;
}

.e-grid {
    border: 1px solid rgba(11, 31, 51, 0.08) !important;
    border-radius: 22px !important;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.74) !important;
}

.e-grid .e-gridheader {
    border-bottom: 1px solid rgba(11, 31, 51, 0.08) !important;
    background: rgba(247, 250, 255, 0.96) !important;
}

.e-grid .e-headercell {
    font-size: 0.82rem;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--rum-ink-soft);
}

.e-grid .e-rowcell {
    color: var(--rum-ink);
}

.e-grid .e-row:hover .e-rowcell {
    background: rgba(22, 119, 231, 0.05) !important;
}

.e-grid .e-gridpager {
    border-top: 1px solid rgba(11, 31, 51, 0.08) !important;
}

.e-grid .e-pager .e-currentitem,
.e-grid .e-pager .e-active {
    border-radius: 12px;
}

.catalog-shell,
.catalog-workbench {
    display: grid;
    gap: 1rem;
    min-width: 0;
    max-width: 100%;
}

.catalog-metric-grid {
    margin-bottom: 0.15rem;
}

.catalog-filter-panel,
.catalog-grid-panel {
    box-shadow: var(--rum-shadow-md);
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.catalog-counter {
    flex: 0 0 auto;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(22, 119, 231, 0.1);
    color: var(--rum-accent-strong);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.collapsible-filter-toolbar {
    margin-bottom: 0;
}

.collapsible-filter-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.collapsible-filter-content {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.collapsed-filter-summary {
    margin: 0.75rem 0 0;
    color: var(--rum-ink-soft);
    font-size: 0.92rem;
}

.filter-toggle-button.e-btn {
    border-radius: 999px !important;
    font-weight: 900;
}

.grid-title-cell {
    display: grid;
    gap: 0.2rem;
}

.grid-title-cell strong {
    color: var(--rum-ink);
}

.grid-title-cell span {
    color: var(--rum-ink-soft);
    font-size: 0.84rem;
    line-height: 1.35;
}

.rum-data-grid.e-grid .e-toolbar {
    border-bottom: 1px solid rgba(11, 31, 51, 0.08);
    background: linear-gradient(135deg, rgba(247, 250, 255, 0.98), rgba(232, 242, 252, 0.9));
}

.rum-data-grid.e-grid {
    max-width: 100%;
}

.rum-data-grid.e-grid .e-gridcontent,
.rum-data-grid.e-grid .e-content {
    max-width: 100%;
}

.rum-data-grid.e-grid .e-toolbar .e-tbar-btn {
    border-radius: 999px;
    font-weight: 800;
}

.rum-data-grid.e-grid .e-toolbar .e-icons {
    color: var(--rum-accent-strong);
}

.compact-grid.e-grid .e-rowcell,
.compact-grid.e-grid .e-headercell {
    padding: 0.65rem 0.75rem;
}

.inline-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
}

.rum-icon-button.e-btn {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px !important;
    color: var(--rum-accent-strong);
    background: rgba(22, 119, 231, 0.08);
}

.rum-icon-button.e-btn:hover {
    background: rgba(22, 119, 231, 0.16);
}

.rum-icon-button.danger.e-btn {
    color: var(--rum-danger);
    background: rgba(195, 94, 99, 0.1);
}

.rum-icon-button.danger.e-btn:hover {
    background: rgba(195, 94, 99, 0.18);
}

.rum-status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.95rem;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 900;
    white-space: nowrap;
}

.rum-status-success {
    background: rgba(16, 150, 105, 0.12);
    color: var(--rum-success);
}

.rum-status-warning {
    background: rgba(200, 139, 18, 0.13);
    color: #8f640b;
}

.rum-status-info {
    background: rgba(15, 163, 177, 0.12);
    color: #08747e;
}

.rum-status-muted {
    background: rgba(11, 31, 51, 0.07);
    color: var(--rum-ink-soft);
}

.rum-dialog.e-dialog {
    display: flex !important;
    flex-direction: column;
    max-height: min(88vh, 840px) !important;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--rum-shadow-lg);
}

.rum-dialog.e-dialog .e-dlg-header-content {
    padding: 1.1rem 1.35rem;
    border-bottom: 1px solid rgba(11, 31, 51, 0.08);
    background: linear-gradient(135deg, rgba(11, 31, 51, 0.96), rgba(15, 55, 89, 0.94));
}

.rum-dialog.e-dialog .e-dlg-header,
.rum-dialog.e-dialog .e-dlg-closeicon-btn .e-icons {
    color: #fff;
}

.rum-dialog.e-dialog .e-dlg-header {
    font-size: 1.1rem;
    font-weight: 900;
}

.rum-dialog.e-dialog .e-dlg-content {
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(min(88vh, 840px) - 4.75rem);
    overflow-y: auto;
    scrollbar-gutter: stable;
    padding: 1.25rem 1.35rem 1.35rem;
    background:
        radial-gradient(circle at 10% 0%, rgba(15, 163, 177, 0.1), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 246, 252, 0.86));
}

.dialog-helper {
    margin: 0 0 1rem;
}

.equipment-dialog-layout {
    display: grid;
    gap: 1rem;
}

.dialog-summary-strip {
    display: grid;
    gap: 0.3rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(22, 119, 231, 0.14);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(22, 119, 231, 0.09), rgba(15, 163, 177, 0.07));
}

.dialog-summary-strip span,
.dialog-section-heading span {
    color: var(--rum-ink-soft);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dialog-summary-strip strong {
    color: var(--rum-ink);
    font-size: 0.96rem;
    line-height: 1.45;
}

.dialog-form-section {
    display: grid;
    gap: 1rem;
    padding: 1.1rem;
    border: 1px solid rgba(11, 31, 51, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
}

.dialog-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
}

.dialog-section-heading strong {
    color: var(--rum-ink);
    font-size: 1rem;
}

.configuration-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: end;
}

.configuration-toggle {
    min-height: 3.15rem;
    align-items: center;
    margin: 0;
}

.configuration-toggle .e-checkbox-wrapper {
    flex: 0 0 auto;
}

.configuration-actions {
    justify-content: flex-end;
    margin-top: 1rem;
}

.profile-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
}

.profile-notification-emails,
.profile-notification-section {
    grid-column: 1 / -1;
}

.user-notification-section {
    grid-column: 1 / -1;
}

.user-notification-levels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.equipment-azure-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(220px, 0.75fr);
}

.dialog-action-row {
    position: sticky;
    z-index: 2;
    bottom: -1.35rem;
    margin: 1rem -1.35rem -1.35rem;
    padding: 0.95rem 1.35rem;
    border-top: 1px solid rgba(11, 31, 51, 0.08);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.package-dialog-message {
    margin: 0 0 1rem;
}

.package-dialog-actions {
    position: sticky;
    z-index: 2;
    bottom: -1.35rem;
    margin: 1rem -1.35rem -1.35rem;
    padding: 0.9rem 1.35rem;
    border-top: 1px solid rgba(11, 31, 51, 0.08);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.package-upload-dialog.e-dialog {
    height: min(860px, 94vh) !important;
    max-height: min(860px, 94vh) !important;
}

.package-upload-dialog.e-dialog .e-dlg-content {
    max-height: calc(min(860px, 94vh) - 4.75rem);
}

.package-step-dialog.e-dialog {
    height: min(760px, 92vh) !important;
    max-height: min(760px, 92vh) !important;
}

.package-step-dialog.e-dialog .e-dlg-content {
    max-height: calc(min(760px, 92vh) - 4.75rem);
    overflow-y: auto !important;
}

.package-edit-dialog.e-dialog {
    height: min(860px, 94vh) !important;
    max-height: min(860px, 94vh) !important;
}

.package-edit-dialog.e-dialog .e-dlg-content {
    max-height: calc(min(860px, 94vh) - 4.75rem);
    overflow-y: auto !important;
}

.equipment-form-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
}

.connection-quick-form {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) auto;
    gap: 0.85rem 1rem;
    align-items: end;
    margin-bottom: 1rem;
}

.connection-string-field {
    min-width: 0;
}

.connection-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.connection-form-actions .selection-option {
    margin: 0;
    min-height: 2.65rem;
    align-items: center;
}

.connection-form-actions .selection-option input[type="checkbox"] {
    margin-top: 0;
}

.dialog-task-create-shell {
    grid-template-columns: minmax(240px, 0.33fr) minmax(0, 1fr);
}

.dialog-task-create-shell .task-create-summary,
.dialog-task-create-shell .task-create-panel {
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(11, 31, 51, 0.08);
}

.upload-progress {
    margin-top: 1rem;
}

.appbar-chipset.e-chip-set,
.dashboard-chipset.e-chip-set,
.login-chipset.e-chip-set {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.appbar-chipset .e-chip,
.dashboard-chipset .e-chip,
.login-chipset .e-chip {
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
}

.appbar-chipset .e-chip {
    background: rgba(11, 31, 51, 0.05);
}

.dashboard-chipset .e-chip {
    background: rgba(11, 31, 51, 0.05);
}

.login-chipset .e-chip {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.login-chipset .e-chip .e-chip-text {
    color: inherit;
}

.tasks-tabs.e-tab {
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.58);
    box-shadow: var(--rum-shadow-md);
}

.tasks-tabs.e-tab .e-tab-header {
    background: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(11, 31, 51, 0.08);
}

.tasks-tabs.e-tab .e-content {
    background: transparent;
}

.tasks-tabs.e-tab .e-content .e-item {
    padding: 1rem;
}

.task-metric-grid {
    margin-bottom: 0.15rem;
}

.tasks-monitor-shell,
.task-create-shell {
    display: grid;
    gap: 1rem;
}

.task-create-shell {
    grid-template-columns: minmax(260px, 0.32fr) minmax(0, 1fr);
    align-items: start;
}

.task-create-summary {
    position: sticky;
    top: 6rem;
}

.task-create-summary h2 {
    margin: 0 0 0.55rem;
}

.task-create-checklist {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.1rem;
}

.task-create-checklist span {
    padding: 0.85rem;
    border-radius: 18px;
    background: rgba(22, 119, 231, 0.07);
    color: var(--rum-ink);
    font-weight: 800;
}

.task-filter-panel,
.task-grid-panel,
.task-create-panel {
    box-shadow: var(--rum-shadow-md);
}

.task-filter-buttons,
.task-filter-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.task-filter-button.e-btn {
    min-height: 2.45rem;
    border-radius: 999px !important;
}

.task-filter-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.task-search-field {
    grid-column: span 2;
}

.task-filter-actions {
    justify-content: flex-end;
    margin-top: 1rem;
}

.task-name-cell {
    display: grid;
    gap: 0.2rem;
}

.task-grid-click-cell {
    box-sizing: border-box;
    cursor: pointer;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    min-height: 3rem;
    width: 100% !important;
}

.task-overview-grid.e-grid .e-rowcell {
    padding: 0;
}

.task-overview-grid.e-grid .e-rowcell .task-grid-click-cell {
    height: 100%;
    min-height: 3.2rem;
    padding: 0.65rem 0.75rem;
}

.task-overview-grid.e-grid .e-rowcell .task-actions-cell {
    padding: 0.45rem 0.55rem;
}

.task-name-cell strong {
    color: var(--rum-ink);
}

.task-name-cell span,
.task-scope-cell {
    color: var(--rum-ink-soft);
    font-size: 0.86rem;
    line-height: 1.45;
}

.task-status-badge,
.task-mode-badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.95rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    white-space: nowrap;
}

.task-status-queued {
    background: rgba(200, 139, 18, 0.12);
    color: #8f640b;
}

.task-status-progress {
    background: rgba(22, 119, 231, 0.12);
    color: var(--rum-accent-strong);
}

.task-status-completed {
    background: rgba(16, 150, 105, 0.12);
    color: var(--rum-success);
}

.task-status-attention {
    background: rgba(195, 94, 99, 0.13);
    color: var(--rum-danger);
}

.task-mode-badge {
    background: rgba(11, 31, 51, 0.06);
    color: var(--rum-ink-soft);
}

.task-mode-immediate {
    background: rgba(15, 163, 177, 0.12);
    color: #08747e;
}

.task-mode-scheduled {
    background: rgba(22, 119, 231, 0.11);
    color: var(--rum-accent-strong);
}

@media (max-width: 1440px) {
    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .dashboard-spotlight-card {
        grid-template-columns: 1fr;
    }

    .dashboard-rate-ring {
        min-height: 150px;
    }
}

@media (max-width: 1100px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .app-sidebar {
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        overflow: visible;
        scrollbar-gutter: auto;
    }

    .nav-links {
        overflow: visible;
        padding-right: 0;
        scrollbar-gutter: auto;
    }

    .portal-appbar.e-appbar {
        top: 0;
        margin: 0 0 0.5rem;
        border-radius: 0 0 24px 24px;
    }

    .content-grid,
    .two-column,
    .wizard-grid,
    .metric-grid,
    .filter-grid,
    .login-shell {
        grid-template-columns: 1fr;
    }

    .login-shell {
        padding: 1rem;
        gap: 1rem;
    }

    .login-panel {
        justify-self: stretch;
        max-width: none;
    }

    .login-panel,
    .login-showcase {
        min-height: auto;
    }

    .task-create-shell,
    .task-filter-grid,
    .configuration-form-grid,
    .profile-form-grid,
    .workflow-detail-grid,
    .workflow-rule-grid,
    .package-detail-metrics,
    .package-wizard-form-grid,
    .task-target-filter-grid {
        grid-template-columns: 1fr;
    }

    .package-wizard-stepper {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .task-search-field,
    .task-confirm-grid .form-field:has(.app-textarea) {
        grid-column: auto;
    }

    .task-create-summary {
        position: static;
    }
}

@media (max-width: 720px) {
    .app-content,
    .app-sidebar,
    .panel,
    .wizard-shell,
    .login-panel,
    .login-showcase {
        padding: 1rem;
    }

    .page-hero {
        padding: 1.2rem;
    }

    .page-hero,
    .panel-toolbar,
    .package-detail-header,
    .package-version-header {
        align-items: flex-start;
    }

    .package-detail-header,
    .package-version-header {
        flex-direction: column;
    }

    .login-panel h1,
    .login-panel > p {
        max-width: none;
    }

    .appbar-meta {
        display: flex;
        gap: 0.5rem;
    }

    .appbar-date,
    .appbar-status-badge {
        display: none;
    }

    .brand-rum-logo-frame,
    .login-rum-logo-frame {
        height: 128px;
    }

    .task-wizard-summary,
    .task-confirm-grid {
        grid-template-columns: 1fr;
    }

    .tasks-tabs.e-tab .e-content .e-item {
        padding: 0.75rem;
    }

    .task-filter-actions {
        justify-content: stretch;
    }

    .connection-quick-form {
        grid-template-columns: 1fr;
    }

    .equipment-azure-grid,
    .equipment-form-grid,
    .profile-form-grid,
    .user-notification-levels {
        grid-template-columns: 1fr;
    }

    .notification-panel,
    .user-menu-panel {
        position: fixed;
        top: 4.75rem;
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
    }

    .connection-form-actions {
        justify-content: flex-start;
    }

    .task-filter-actions .e-btn,
    .task-filter-buttons .e-btn {
        flex: 1 1 auto;
    }

    .package-wizard-stepper {
        grid-template-columns: 1fr;
    }

    .task-target-toolbar,
    .task-wizard-actions {
        flex-direction: column;
    }

    .task-target-toolbar .e-btn,
    .task-wizard-actions .e-btn {
        width: 100%;
    }

    .brand-rum-logo {
        height: 100%;
    }

    .selection-option {
        padding: 0.75rem;
    }
}
