/* Extracted from MainLayout.razor for browser caching and smaller render batches. */
:root {
        --jli-sidebar-wide: 17rem;
        --jli-sidebar-mini: 3.85rem;
        --jli-topbar-height: 4.25rem;
        --jli-primary: #4f46e5;
        --jli-secondary: #dc2626;
        --jli-bg: #eef3f8;
        --jli-card: #ffffff;
        --jli-text: #0f172a;
        --jli-muted: #64748b;
        --jli-border: #e2e8f0;
        --jli-soft: #eef2ff;
    }

    .jli-shell {
        min-height: 100vh;
        background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.10), transparent 28rem), radial-gradient(circle at top right, rgba(220, 38, 38, 0.08), transparent 26rem), var(--jli-bg);
        color: var(--jli-text);
        font-family: "Inter", "Noto Sans Bengali", "Segoe UI", Arial, sans-serif;
    }

        .jli-shell.dark {
            --jli-bg: #0f172a;
            --jli-card: #111827;
            --jli-text: #f8fafc;
            --jli-muted: #cbd5e1;
            --jli-border: #334155;
            --jli-soft: rgba(79, 70, 229, 0.18);
            background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.18), transparent 28rem), radial-gradient(circle at top right, rgba(220, 38, 38, 0.12), transparent 26rem), #0f172a;
        }

    .theme-sakura {
        --jli-primary: #db2777;
        --jli-secondary: #f97316;
        --jli-soft: #fdf2f8;
    }

    .theme-ocean {
        --jli-primary: #0284c7;
        --jli-secondary: #0d9488;
        --jli-soft: #e0f2fe;
    }

    .theme-emerald {
        --jli-primary: #059669;
        --jli-secondary: #65a30d;
        --jli-soft: #ecfdf5;
    }

    .theme-royal {
        --jli-primary: #7c3aed;
        --jli-secondary: #2563eb;
        --jli-soft: #f5f3ff;
    }

    .theme-sunset {
        --jli-primary: #ea580c;
        --jli-secondary: #e11d48;
        --jli-soft: #fff7ed;
    }

    .jli-auth-loading {
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.16), transparent 25rem), linear-gradient(135deg, #eef2ff, #fff1f2);
    }

    .auth-loading-card {
        width: min(24rem, 100%);
        padding: 2rem;
        border-radius: 1.25rem;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 30px 70px rgba(15, 23, 42, 0.16);
        text-align: center;
        border: 1px solid rgba(226, 232, 240, 0.9);
    }

        .auth-loading-card img {
            width: 4rem;
            height: 4rem;
            margin: 0 auto 1rem;
            border-radius: 999px;
        }

        .auth-loading-card h2 {
            margin: 0;
            font-size: 1.15rem;
            font-weight: 950;
            color: #0f172a;
        }

        .auth-loading-card p {
            margin: 0.5rem 0 0;
            color: #64748b;
            font-weight: 700;
        }

    .jli-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 60;
        width: var(--jli-sidebar-wide);
        display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.96);
        border-right: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: 18px 0 48px rgba(15, 23, 42, 0.08);
        backdrop-filter: blur(18px);
        transition: width 0.25s ease, transform 0.25s ease;
    }

    .dark .jli-sidebar {
        background: rgba(15, 23, 42, 0.96);
        border-right-color: #334155;
        box-shadow: 18px 0 48px rgba(0, 0, 0, 0.25);
    }

    .jli-sidebar.collapsed {
        width: var(--jli-sidebar-mini);
        overflow: visible;
    }

    .jli-brand {
        height: 4.5rem;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0 1rem;
        text-decoration: none;
        color: var(--jli-text);
        border-bottom: 1px solid var(--jli-border);
        overflow: hidden;
    }

        .jli-brand img {
            width: 2.75rem;
            height: 2.75rem;
            border-radius: 1rem;
            flex-shrink: 0;
            box-shadow: 0 14px 28px rgba(79, 70, 229, 0.22);
        }

    .brand-text {
        min-width: 0;
        display: grid;
        gap: 0.08rem;
    }

        .brand-text strong {
            font-size: 1.2rem;
            font-weight: 950;
            line-height: 1;
        }

        .brand-text span {
            color: var(--jli-muted);
            font-size: 0.72rem;
            font-weight: 850;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    .jli-sidebar.collapsed .brand-text,
    .jli-sidebar.collapsed .nav-parent b,
    .jli-sidebar.collapsed .chev {
        display: none;
    }

    .jli-nav {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 0.55rem;
    }

    .jli-sidebar.collapsed .jli-nav {
        overflow: visible;
        padding: 0.45rem 0.35rem;
    }

    .nav-group {
        position: relative;
        margin-bottom: 0.25rem;
    }

    .jli-sidebar.collapsed .nav-group {
        position: relative;
        z-index: 1;
        margin-right: -1.2rem;
        padding-right: 1.2rem;
    }

        .jli-sidebar.collapsed .nav-group:hover, .jli-sidebar.collapsed .nav-group:focus-within {
            z-index: 1200;
        }

    .nav-parent {
        width: 100%;
        min-height: 2.65rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.65rem;
        border: 0;
        background: transparent;
        color: #475569;
        border-radius: 0.9rem;
        padding: 0.68rem 0.75rem;
        cursor: pointer;
        transition: 0.2s ease;
    }

        .nav-parent:hover, .nav-parent.active {
            background: var(--jli-soft);
            color: var(--jli-primary);
            transform: translateY(-1px);
        }

    .dark .nav-parent {
        color: #cbd5e1;
    }

    .nav-parent span {
        min-width: 0;
        display: flex;
        align-items: center;
        gap: 0.78rem;
    }

    .nav-parent i:first-child {
        width: 1.25rem;
        text-align: center;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .nav-parent b {
        font-size: 0.78rem;
        font-weight: 950;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .chev {
        font-size: 0.7rem;
        color: #94a3b8;
        transition: 0.2s ease;
    }

        .chev.open {
            transform: rotate(180deg);
        }

    .nav-children {
        display: grid;
        gap: 0.12rem;
        margin: 0.18rem 0 0.35rem 2.05rem;
        padding-left: 0.65rem;
        border-left: 1px solid var(--jli-border);
    }

        .nav-children a {
            display: block;
            padding: 0.48rem 0.65rem;
            border-radius: 0.65rem;
            color: #64748b;
            text-decoration: none;
            font-size: 0.78rem;
            font-weight: 800;
            transition: 0.2s ease;
        }

            .nav-children a:hover, .nav-children a.active {
                background: var(--jli-soft);
                color: var(--jli-primary);
            }

    .dark .nav-children a {
        color: #cbd5e1;
    }

    .jli-sidebar.collapsed .jli-brand {
        justify-content: center;
        padding: 0;
    }

        .jli-sidebar.collapsed .jli-brand img {
            width: 2.25rem;
            height: 2.25rem;
            border-radius: 0.82rem;
        }

    .jli-sidebar.collapsed .nav-parent {
        justify-content: center;
        min-height: 2.6rem;
        padding-inline: 0;
        border-radius: 0.85rem;
    }

        .jli-sidebar.collapsed .nav-parent span {
            justify-content: center;
            gap: 0;
        }

        .jli-sidebar.collapsed .nav-parent i:first-child {
            width: 2.25rem;
            height: 2.25rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.78rem;
        }

        .jli-sidebar.collapsed .nav-parent:hover i:first-child, .jli-sidebar.collapsed .nav-parent.active i:first-child {
            background: #ffffff;
            box-shadow: 0 10px 22px rgba(79, 70, 229, 0.16);
        }

    .jli-sidebar.expanded .nav-popout {
        display: none;
    }

    .nav-popout {
        position: absolute;
        top: 0;
        left: calc(100% + 0.18rem);
        z-index: 1300;
        width: 16rem;
        max-height: min(70vh, 32rem);
        overflow-y: auto;
        border-radius: 1rem;
        border: 1px solid rgba(226, 232, 240, 0.96);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
        backdrop-filter: blur(18px);
        padding: 0.45rem;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-0.18rem) scale(0.98);
        transition: opacity 0.14s ease, transform 0.14s ease, visibility 0.14s ease;
    }

    .dark .nav-popout {
        background: rgba(15, 23, 42, 0.98);
        border-color: #334155;
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.42);
    }

    .jli-sidebar.collapsed .nav-group:hover .nav-popout, .jli-sidebar.collapsed .nav-group:focus-within .nav-popout, .jli-sidebar.collapsed .nav-popout:hover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0) scale(1);
    }

    .nav-popout::before {
        content: "";
        position: absolute;
        left: -1.5rem;
        top: -0.35rem;
        width: 1.7rem;
        height: calc(100% + 0.7rem);
        background: transparent;
    }

    .nav-popout-head {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        padding: 0.78rem 0.8rem;
        border-radius: 0.8rem;
        background: linear-gradient(135deg, var(--jli-soft), rgba(255, 241, 242, 0.78));
        border: 1px solid rgba(226, 232, 240, 0.8);
        color: var(--jli-text);
    }

        .nav-popout-head i {
            width: 2.1rem;
            height: 2.1rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.72rem;
            background: #ffffff;
            color: var(--jli-primary);
            box-shadow: 0 10px 20px rgba(79, 70, 229, 0.12);
        }

        .nav-popout-head strong {
            min-width: 0;
            font-size: 0.86rem;
            font-weight: 950;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    .nav-popout-links {
        display: grid;
        gap: 0.22rem;
        margin-top: 0.4rem;
    }

        .nav-popout-links a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.55rem;
            padding: 0.62rem 0.7rem;
            border-radius: 0.75rem;
            color: #475569;
            text-decoration: none;
            font-size: 0.78rem;
            font-weight: 850;
            transition: 0.18s ease;
        }

            .nav-popout-links a span {
                min-width: 0;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            .nav-popout-links a:hover, .nav-popout-links a.active {
                background: var(--jli-soft);
                color: var(--jli-primary);
                transform: translateX(0.15rem);
            }

    .nav-popout-empty {
        margin-top: 0.4rem;
        padding: 0.75rem;
        border-radius: 0.75rem;
        background: var(--jli-soft);
        color: var(--jli-muted);
        font-size: 0.78rem;
        font-weight: 850;
    }

    .jli-workspace {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        transition: margin-left 0.25s ease;
    }

        .jli-workspace.wide-sidebar {
            margin-left: var(--jli-sidebar-wide);
        }

        .jli-workspace.mini-sidebar {
            margin-left: var(--jli-sidebar-mini);
        }

    .jli-topbar {
        position: sticky;
        top: 0;
        z-index: 30;
        min-height: var(--jli-topbar-height);
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
        padding: 0.52rem 0.75rem;
        background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.10), transparent 20rem), rgba(255, 255, 255, 0.88);
        border-bottom: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
        backdrop-filter: blur(18px);
    }

    .dark .jli-topbar {
        background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.16), transparent 20rem), rgba(15, 23, 42, 0.88);
        border-bottom-color: #334155;
    }

    .topbar-left, .topbar-actions {
        display: flex;
        align-items: center;
        min-width: 0;
    }

    .topbar-left {
        gap: 0.6rem;
    }

    .topbar-actions {
        justify-content: flex-end;
        gap: 0.45rem;
    }

    .page-title {
        min-width: 0;
    }

        .page-title span {
            display: block;
            color: var(--jli-primary);
            font-size: 0.64rem;
            font-weight: 950;
            letter-spacing: 0.08em;
            text-transform: uppercase;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .page-title h1 {
            margin: 0.08rem 0 0;
            color: var(--jli-text);
            font-size: 1rem;
            font-weight: 950;
            line-height: 1.12;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    .icon-btn, .pill-btn {
        height: 2.55rem;
        min-width: 2.55rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.42rem;
        border-radius: 0.9rem;
        border: 1px solid var(--jli-border);
        background: rgba(255, 255, 255, 0.92);
        color: #334155;
        box-shadow: 0 10px 22px rgba(148, 163, 184, 0.14);
        cursor: pointer;
        transition: 0.2s ease;
        font-weight: 950;
    }

    .pill-btn {
        padding: 0 0.72rem;
        font-size: 0.75rem;
    }

        .icon-btn:hover, .pill-btn:hover {
            transform: translateY(-1px);
            border-color: var(--jli-primary);
            background: var(--jli-soft);
            color: var(--jli-primary);
        }

    .dark .icon-btn, .dark .pill-btn {
        background: rgba(2, 6, 23, 0.48);
        border-color: #334155;
        color: #cbd5e1;
        box-shadow: none;
    }

    .date-chip {
        height: 2.55rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0 0.75rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid var(--jli-border);
        color: #334155;
        font-size: 0.78rem;
        font-weight: 950;
        white-space: nowrap;
    }

    .dark .date-chip {
        background: rgba(2, 6, 23, 0.48);
        color: #cbd5e1;
    }

    .dropdown-wrap {
        position: relative;
    }

    .dropdown-panel {
        position: absolute;
        right: 0;
        top: calc(100% + 0.55rem);
        z-index: 70;
        width: 18rem;
        overflow: hidden;
        border-radius: 1rem;
        border: 1px solid var(--jli-border);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
        backdrop-filter: blur(18px);
    }

    .dark .dropdown-panel {
        background: rgba(15, 23, 42, 0.98);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
    }

    .dropdown-panel h3 {
        margin: 0;
        padding: 0.8rem 0.85rem;
        color: var(--jli-text);
        font-size: 0.95rem;
        font-weight: 950;
        background: linear-gradient(135deg, var(--jli-soft), rgba(255, 255, 255, 0.55));
        border-bottom: 1px solid var(--jli-border);
    }

    .option-row {
        width: calc(100% - 0.8rem);
        margin: 0.22rem 0.4rem;
        display: grid;
        grid-template-columns: 2rem minmax(0, 1fr);
        gap: 0.45rem;
        align-items: center;
        border: 0;
        border-radius: 0.75rem;
        background: transparent;
        color: var(--jli-text);
        padding: 0.55rem;
        text-align: left;
        cursor: pointer;
        transition: 0.2s ease;
    }

        .option-row:hover, .option-row.active {
            background: var(--jli-soft);
            color: var(--jli-primary);
        }

        .option-row span {
            grid-row: span 2;
            width: 2rem;
            height: 2rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 0.7rem;
            background: #f8fafc;
        }

        .option-row b {
            font-size: 0.82rem;
            font-weight: 950;
        }

        .option-row small {
            color: var(--jli-muted);
            font-size: 0.7rem;
            font-weight: 800;
        }

    .swatch.default {
        background: linear-gradient(135deg, #4f46e5, #dc2626);
    }

    .swatch.sakura {
        background: linear-gradient(135deg, #db2777, #f97316);
    }

    .swatch.ocean {
        background: linear-gradient(135deg, #0284c7, #0d9488);
    }

    .swatch.emerald {
        background: linear-gradient(135deg, #059669, #65a30d);
    }

    .swatch.royal {
        background: linear-gradient(135deg, #7c3aed, #2563eb);
    }

    .swatch.sunset {
        background: linear-gradient(135deg, #ea580c, #e11d48);
    }

    .notify-btn {
        position: relative;
    }

        .notify-btn em {
            position: absolute;
            top: -0.22rem;
            right: -0.22rem;
            min-width: 1.12rem;
            height: 1.12rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: #dc2626;
            color: #ffffff;
            border: 2px solid #ffffff;
            font-size: 0.63rem;
            font-style: normal;
            font-weight: 950;
        }

    .dark .notify-btn em {
        border-color: #0f172a;
    }

    .notification-panel {
        width: min(23rem, calc(100vw - 1.25rem));
        max-height: min(30rem, calc(100vh - 6rem));
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .notification-scroll-list {
        max-height: min(24rem, calc(100vh - 11rem));
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 0.22rem 0;
    }

    .panel-head {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.85rem;
        background: linear-gradient(135deg, var(--jli-soft), rgba(255, 241, 242, 0.72));
        border-bottom: 1px solid var(--jli-border);
    }

        .panel-head span {
            color: var(--jli-primary);
            font-size: 0.66rem;
            font-weight: 950;
            letter-spacing: 0.1em;
            text-transform: uppercase;
        }

        .panel-head h3 {
            padding: 0;
            margin: 0.12rem 0 0;
            background: transparent;
            border: 0;
        }

        .panel-head button {
            border: 0;
            border-radius: 999px;
            padding: 0.42rem 0.7rem;
            background: #ffffff;
            color: var(--jli-primary);
            font-size: 0.72rem;
            font-weight: 950;
            cursor: pointer;
        }

    .notification-item {
        width: calc(100% - 0.8rem);
        margin: 0.25rem 0.4rem;
        display: grid;
        grid-template-columns: 2.35rem minmax(0, 1fr);
        gap: 0.6rem;
        border: 0;
        border-radius: 0.82rem;
        background: transparent;
        padding: 0.62rem;
        text-align: left;
        cursor: pointer;
        transition: 0.2s ease;
    }

        .notification-item:hover, .notification-item.unread {
            background: var(--jli-soft);
        }

    .note-icon {
        width: 2.35rem;
        height: 2.35rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 0.75rem;
        color: #ffffff;
    }

        .note-icon.info {
            background: linear-gradient(135deg, #4f46e5, #2563eb);
        }

        .note-icon.danger {
            background: linear-gradient(135deg, #dc2626, #e11d48);
        }

        .note-icon.warning {
            background: linear-gradient(135deg, #d97706, #f59e0b);
        }

        .note-icon.success {
            background: linear-gradient(135deg, #059669, #22c55e);
        }

    .notification-item span {
        display: grid;
        gap: 0.12rem;
        min-width: 0;
    }

    .notification-item b {
        color: var(--jli-text);
        font-size: 0.8rem;
        font-weight: 950;
    }

    .notification-item small {
        color: var(--jli-muted);
        font-size: 0.73rem;
        font-weight: 750;
        line-height: 1.35;
    }

    .notification-item time {
        color: #94a3b8;
        font-size: 0.68rem;
        font-weight: 850;
    }

    .notice-empty-mini {
        display: grid;
        place-items: center;
        gap: 0.35rem;
        min-height: 8rem;
        padding: 1rem;
        color: var(--jli-muted);
        text-align: center;
    }

        .notice-empty-mini i {
            font-size: 1.6rem;
            color: #cbd5e1;
        }

        .notice-empty-mini strong {
            color: var(--jli-text);
            font-weight: 950;
        }

        .notice-empty-mini small {
            font-weight: 800;
        }

    .user-btn {
        min-width: 12.5rem;
        height: 2.7rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        border: 1px solid var(--jli-border);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.92);
        padding: 0.22rem 0.55rem 0.22rem 0.25rem;
        color: var(--jli-text);
        box-shadow: 0 10px 22px rgba(148, 163, 184, 0.14);
        cursor: pointer;
        transition: 0.2s ease;
    }

        .user-btn:hover {
            transform: translateY(-1px);
            background: var(--jli-soft);
        }

    .dark .user-btn {
        background: rgba(2, 6, 23, 0.48);
        box-shadow: none;
    }

    .user-btn img {
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 999px;
        flex-shrink: 0;
    }

    .user-btn span {
        min-width: 0;
        display: grid;
        text-align: left;
    }

    .user-btn b, .user-btn small {
        max-width: 7.6rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .user-btn b {
        font-size: 0.78rem;
        font-weight: 950;
    }

    .user-btn small {
        color: var(--jli-muted);
        font-size: 0.68rem;
        font-weight: 850;
    }

    .user-panel {
        width: 17rem;
        padding: 0.45rem;
    }

    .user-card {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        padding: 0.75rem;
        border-radius: 0.9rem;
        background: linear-gradient(135deg, var(--jli-soft), rgba(255, 241, 242, 0.72));
        margin-bottom: 0.35rem;
    }

        .user-card img {
            width: 2.65rem;
            height: 2.65rem;
            border-radius: 999px;
        }

        .user-card b, .user-card small {
            display: block;
        }

        .user-card b {
            font-weight: 950;
            color: var(--jli-text);
        }

        .user-card small {
            margin-top: 0.12rem;
            color: var(--jli-muted);
            font-size: 0.72rem;
            font-weight: 800;
        }

    .user-panel button {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 0.55rem;
        border: 0;
        border-radius: 0.72rem;
        background: transparent;
        padding: 0.65rem;
        color: var(--jli-text);
        font-weight: 850;
        cursor: pointer;
        text-align: left;
        transition: 0.2s ease;
    }

        .user-panel button:hover {
            background: var(--jli-soft);
            color: var(--jli-primary);
        }

        .user-panel button.danger {
            color: #dc2626;
        }

    .jli-notice-ticker {
        position: sticky;
        top: var(--jli-topbar-height);
        z-index: 28;
        min-height: 2.05rem;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.45rem;
        padding: 0.18rem 0.55rem;
        border-bottom: 1px solid rgba(14, 165, 233, 0.18);
        background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 38%, #0f766e 100%);
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.14);
        backdrop-filter: blur(16px);
        overflow: hidden;
    }

        .jli-notice-ticker::before {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            background: radial-gradient(circle at 12% 50%, rgba(255, 255, 255, 0.18), transparent 10rem), radial-gradient(circle at 86% 50%, rgba(34, 197, 94, 0.18), transparent 12rem);
        }

    .dark .jli-notice-ticker {
        border-bottom-color: rgba(51, 65, 85, 0.86);
        background: linear-gradient(90deg, #020617 0%, #111827 45%, #064e3b 100%);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .ticker-label {
        position: relative;
        height: 1.55rem;
        display: inline-flex;
        align-items: center;
        gap: 0.32rem;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.14);
        color: #fff7ed;
        padding: 0 0.35rem 0 0.42rem;
        font-size: 0.62rem;
        text-shadow: 0 1px 8px rgba(255, 247, 237, 0.22);
        font-weight: 950;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        white-space: nowrap;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 8px 18px rgba(0, 0, 0, 0.16);
    }

        .ticker-label i {
            color: #fcd34d;
            font-size: 0.72rem;
            text-shadow: 0 0 10px rgba(252, 211, 77, 0.42);
        }

        .ticker-label small {
            min-width: 1.05rem;
            height: 1.05rem;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 999px;
            background: linear-gradient(135deg, #fde68a, #facc15);
            color: #422006;
            font-size: 0.55rem;
            font-weight: 950;
            box-shadow: 0 0 0 2px rgba(250, 204, 21, 0.18);
        }

    .ticker-live-dot {
        width: 0.42rem;
        height: 0.42rem;
        border-radius: 999px;
        background: #22c55e;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.82);
        animation: tickerLivePulse 1.8s ease-out infinite;
    }

    .ticker-window {
        position: relative;
        min-width: 0;
        overflow: hidden;
        border-radius: 999px;
        padding: 0.02rem 0;
        mask-image: linear-gradient(90deg, transparent, #000 1.5rem, #000 calc(100% - 1.5rem), transparent);
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.5rem, #000 calc(100% - 1.5rem), transparent);
    }

    .ticker-track {
        width: max-content;
        display: inline-flex;
        align-items: center;
        gap: 0.48rem;
        animation: jliNoticeMarquee 110s linear infinite;
        will-change: transform;
    }

    .ticker-window:hover .ticker-track {
        animation-play-state: paused;
    }

    .ticker-item {
        min-height: 1.55rem;
        display: inline-grid;
        grid-template-columns: 1.25rem minmax(10rem, auto) auto;
        align-items: center;
        gap: 0.35rem;
        max-width: 36rem;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.16);
        background: rgba(255, 255, 255, 0.10);
        padding: 0.15rem 0.45rem 0.15rem 0.18rem;
        color: #f8fafc;
        text-decoration: none;
        white-space: nowrap;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 6px 14px rgba(0, 0, 0, 0.12);
        cursor: pointer;
        font-family: inherit;
        text-align: left;
        transition: 0.18s ease;
    }

        .ticker-item:hover {
            background: rgba(255, 255, 255, 0.18);
            border-color: rgba(255, 255, 255, 0.34);
            transform: translateY(-1px);
        }

    .dark .ticker-item {
        border-color: rgba(148, 163, 184, 0.18);
        background: rgba(255, 255, 255, 0.08);
        box-shadow: none;
    }

        .dark .ticker-item:hover {
            background: rgba(255, 255, 255, 0.14);
            border-color: rgba(125, 211, 252, 0.32);
        }

    .ticker-item-icon {
        width: 1.25rem;
        height: 1.25rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background: #38bdf8;
        color: #082f49;
        box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.14);
    }

        .ticker-item-icon.danger {
            background: #fb7185;
            color: #fff1f2;
            box-shadow: 0 0 0 2px rgba(251, 113, 133, 0.16);
        }

        .ticker-item-icon.warning {
            background: #fbbf24;
            color: #422006;
            box-shadow: 0 0 0 2px rgba(251, 191, 36, 0.16);
        }

        .ticker-item-icon.success {
            background: #34d399;
            color: #052e16;
            box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.16);
        }

        .ticker-item-icon i {
            color: inherit;
            font-size: 0.62rem;
        }

    .ticker-item-copy {
        min-width: 0;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
    }

        .ticker-item-copy strong {
            max-width: 13rem;
            overflow: hidden;
            color: #fff7ed;
            font-size: 0.70rem;
            text-shadow: 0 1px 9px rgba(255, 247, 237, 0.26);
            font-weight: 950;
            text-overflow: ellipsis;
        }

        .ticker-item-copy small {
            max-width: 18rem;
            overflow: hidden;
            color: #bae6fd;
            font-size: 0.66rem;
            text-shadow: 0 1px 8px rgba(186, 230, 253, 0.18);
            font-weight: 800;
            text-overflow: ellipsis;
        }

    .ticker-item em {
        max-width: 7.5rem;
        overflow: hidden;
        border-radius: 999px;
        background: rgba(250, 204, 21, 0.16);
        color: #fde68a;
        padding: 0.13rem 0.38rem;
        text-shadow: 0 0 8px rgba(253, 230, 138, 0.22);
        font-size: 0.56rem;
        font-style: normal;
        font-weight: 950;
        text-overflow: ellipsis;
        box-shadow: inset 0 0 0 1px rgba(250, 204, 21, 0.20);
    }

    .ticker-view-btn {
        position: relative;
        height: 1.55rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.28rem;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.14);
        color: #fef3c7;
        padding: 0 0.52rem;
        text-shadow: 0 1px 8px rgba(254, 243, 199, 0.22);
        font-size: 0.62rem;
        font-weight: 950;
        cursor: pointer;
        white-space: nowrap;
        transition: 0.18s ease;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 8px 18px rgba(0, 0, 0, 0.12);
    }

        .ticker-view-btn:hover {
            transform: translateY(-1px);
            background: rgba(255, 255, 255, 0.22);
            border-color: rgba(255, 255, 255, 0.36);
        }

    .dark .ticker-view-btn {
        border-color: rgba(148, 163, 184, 0.20);
        background: rgba(255, 255, 255, 0.08);
        color: #fef3c7;
        box-shadow: none;
    }

    .ticker-modal-backdrop {
        position: fixed;
        inset: 0;
        z-index: 3000;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
        background: rgba(15, 23, 42, 0.64);
        backdrop-filter: blur(6px);
    }

    .ticker-modal-card {
        width: min(34rem, 100%);
        overflow: hidden;
        border-radius: 1.15rem;
        border: 1px solid var(--jli-border);
        background: var(--jli-card);
        box-shadow: 0 34px 90px rgba(15, 23, 42, 0.34);
    }

    .ticker-modal-head {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem;
        border-bottom: 1px solid var(--jli-border);
        background: linear-gradient(135deg, var(--jli-soft), rgba(255, 241, 242, 0.70));
    }

    .ticker-modal-title {
        min-width: 0;
    }

        .ticker-modal-title h3 {
            margin: 0.55rem 0 0;
            color: var(--jli-text);
            font-size: 1.05rem;
            font-weight: 950;
            line-height: 1.25;
        }

        .ticker-modal-title p {
            margin: 0.22rem 0 0;
            color: var(--jli-muted);
            font-size: 0.78rem;
            font-weight: 850;
        }

    .ticker-modal-chip {
        display: inline-flex;
        align-items: center;
        gap: 0.42rem;
        border-radius: 999px;
        background: #eef2ff;
        color: var(--jli-primary);
        padding: 0.38rem 0.72rem;
        font-size: 0.72rem;
        font-weight: 950;
    }

        .ticker-modal-chip.danger {
            background: #fef2f2;
            color: #dc2626;
        }

        .ticker-modal-chip.warning {
            background: #fffbeb;
            color: #d97706;
        }

        .ticker-modal-chip.success {
            background: #ecfdf5;
            color: #059669;
        }

    .ticker-modal-close {
        width: 2.35rem;
        height: 2.35rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 0.85rem;
        background: rgba(255, 255, 255, 0.86);
        color: #dc2626;
        cursor: pointer;
        font-weight: 950;
    }

    .ticker-modal-body {
        display: grid;
        grid-template-columns: 3.2rem minmax(0, 1fr);
        gap: 0.9rem;
        padding: 1rem;
    }

    .ticker-modal-icon {
        width: 3.2rem;
        height: 3.2rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 1rem;
        background: linear-gradient(135deg, var(--jli-primary), var(--jli-secondary));
        color: #ffffff;
        font-size: 1.1rem;
    }

        .ticker-modal-icon.danger {
            background: linear-gradient(135deg, #dc2626, #e11d48);
        }

        .ticker-modal-icon.warning {
            background: linear-gradient(135deg, #d97706, #f59e0b);
        }

        .ticker-modal-icon.success {
            background: linear-gradient(135deg, #059669, #22c55e);
        }

    .ticker-modal-content strong {
        display: block;
        color: var(--jli-text);
        font-size: 0.98rem;
        font-weight: 950;
    }

    .ticker-modal-content p {
        margin: 0.38rem 0 0;
        color: var(--jli-muted);
        font-size: 0.88rem;
        font-weight: 760;
        line-height: 1.6;
    }

    .ticker-modal-content small {
        display: block;
        margin-top: 0.75rem;
        color: #94a3b8;
        font-size: 0.72rem;
        font-weight: 850;
    }

    .ticker-modal-actions {
        display: flex;
        justify-content: flex-end;
        gap: 0.65rem;
        padding: 0 1rem 1rem;
    }

    .ticker-modal-secondary {
        min-height: 2.45rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.45rem;
        border-radius: 0.82rem;
        padding: 0 0.95rem;
        font-size: 0.78rem;
        font-weight: 950;
        cursor: pointer;
        transition: 0.18s ease;
        border: 1px solid var(--jli-border);
        background: #ffffff;
        color: #475569;
    }

        .ticker-modal-secondary:hover {
            transform: translateY(-1px);
        }

    .dark .ticker-modal-close, .dark .ticker-modal-secondary {
        background: rgba(2, 6, 23, 0.48);
        color: #cbd5e1;
    }

    @keyframes tickerLivePulse {
        0% {
            box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.72);
        }

        70% {
            box-shadow: 0 0 0 0.45rem rgba(34, 197, 94, 0);
        }

        100% {
            box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
        }
    }

    @keyframes jliNoticeMarquee {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-50%);
        }
    }

    .jli-content {
        flex: 1;
        min-width: 0;
        overflow-y: auto;
        padding: 0.45rem !important;
    }

        .jli-content > * {
            max-width: 100%;
        }

    .desktop-only {
        display: inline-flex;
    }

    .mobile-only {
        display: none;
    }

    .mobile-backdrop {
        display: none;
    }

    #blazor-error-ui {
        display: none;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 9999;
        padding: 0.8rem 1rem;
        background: #fef2f2;
        color: #991b1b;
        border-top: 1px solid #fecaca;
        font-weight: 800;
    }

        #blazor-error-ui .reload {
            margin-left: 0.75rem;
            color: #dc2626;
            font-weight: 950;
        }

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

    @media (max-width: 1200px) {
        .date-chip {
            display: none;
        }
    }

    @media (max-width: 980px) {
        .jli-notice-ticker {
            top: var(--jli-topbar-height);
            grid-template-columns: auto minmax(0, 1fr);
            min-height: 1.95rem;
            padding: 0.16rem 0.42rem;
            gap: 0.34rem;
        }

        .ticker-view-btn {
            display: none;
        }

        .ticker-track {
            animation-duration: 96s;
        }

        .ticker-item {
            grid-template-columns: 1.2rem minmax(9rem, auto);
            max-width: 26rem;
        }

            .ticker-item em, .ticker-item-copy small {
                display: none;
            }

        .jli-sidebar {
            transform: translateX(-105%);
            width: var(--jli-sidebar-wide);
        }

            .jli-sidebar.mobile-open {
                transform: translateX(0);
            }

            .jli-sidebar.collapsed .nav-popout {
                display: none !important;
            }

        .jli-workspace.wide-sidebar, .jli-workspace.mini-sidebar {
            margin-left: 0;
        }

        .mobile-backdrop {
            position: fixed;
            inset: 0;
            z-index: 35;
            display: block;
            border: 0;
            background: rgba(15, 23, 42, 0.55);
        }

        .desktop-only {
            display: none;
        }

        .mobile-only {
            display: inline-flex;
        }
    }

    @media (max-width: 768px) {
        .jli-topbar {
            grid-template-columns: minmax(0, 1fr) auto;
            padding: 0.45rem 0.5rem;
        }

        .page-title span {
            display: none;
        }

        .page-title h1 {
            max-width: 11rem;
            font-size: 0.9rem;
        }

        .pill-btn {
            min-width: 2.45rem;
            width: 2.45rem;
            padding: 0;
            font-size: 0;
        }

        .icon-btn {
            width: 2.45rem;
            height: 2.45rem;
            min-width: 2.45rem;
        }

        .user-btn {
            min-width: 0;
            width: 2.45rem;
            height: 2.45rem;
            padding: 0.18rem;
            justify-content: center;
        }

            .user-btn span, .user-btn > i {
                display: none;
            }

            .user-btn img {
                width: 2rem;
                height: 2rem;
            }

        .topbar-actions {
            gap: 0.32rem;
        }

        .jli-content {
            padding: 0.25rem !important;
        }

        .dropdown-panel {
            right: -0.25rem;
        }
    }

    @media (max-width: 560px) {
        .jli-notice-ticker {
            min-height: 1.85rem;
            gap: 0.28rem;
        }

        .ticker-label {
            height: 1.42rem;
            padding: 0 0.36rem;
            font-size: 0.58rem;
        }

            .ticker-label small {
                display: none;
            }

        .ticker-item {
            min-height: 1.42rem;
            padding: 0.12rem 0.38rem 0.12rem 0.16rem;
        }

        .ticker-item-copy strong {
            max-width: 12rem;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .page-title h1 {
            max-width: 8.8rem;
        }

        .dropdown-panel {
            width: min(18rem, calc(100vw - 1rem));
        }

        .notification-panel {
            width: min(22rem, calc(100vw - 1rem));
        }

        .jli-content {
            padding: 0.2rem !important;
        }
    }

/* ============================================================
   AUTHENTICATED USER PHOTO
   Real employee photo is loaded from SELECTEMPLOYEEPHOTOMAPFAST01
   and displayed through api/documents/view.
   ============================================================ */
.user-avatar-shell,
.user-card-photo-shell {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
}

.user-avatar-shell {
    width: 2.3rem;
    height: 2.3rem;
}

.user-card-photo-shell {
    width: 2.8rem;
    height: 2.8rem;
}

.user-avatar-photo,
.user-card-photo {
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border-radius: 999px !important;
    object-fit: cover;
    object-position: center;
    background: #f8fafc;
    border: 2px solid rgba(255, 255, 255, .96);
    box-shadow: 0 0 0 1px rgba(148, 163, 184, .28),
                0 5px 15px rgba(15, 23, 42, .15);
}

.user-avatar-online,
.user-card-online {
    position: absolute;
    right: -1px;
    bottom: -1px;
    border-radius: 999px;
    background: #22c55e;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 6px rgba(15, 23, 42, .18);
}

.user-avatar-online {
    width: .62rem;
    height: .62rem;
}

.user-card-online {
    width: .68rem;
    height: .68rem;
}

.dark .user-avatar-online,
.dark .user-card-online {
    border-color: #0f172a;
}



/* ===== JLI Premium Auto-Rotating Announcement Bar ===== */
.jli-notice-spotlight {
    position: sticky;
    top: var(--jli-topbar-height);
    z-index: 28;
    min-height: 2.55rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: .5rem;
    padding: .28rem .55rem;
    overflow: hidden;
    border-bottom: 1px solid rgba(14,165,233,.18);
    background:
        radial-gradient(circle at 15% 50%, rgba(56,189,248,.13), transparent 16rem),
        radial-gradient(circle at 85% 50%, rgba(52,211,153,.12), transparent 18rem),
        linear-gradient(90deg, #071a2b 0%, #10234a 46%, #083f3d 100%);
    box-shadow: 0 9px 24px rgba(15,23,42,.14), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(18px);
}

.jli-notice-spotlight.danger {
    background:
        radial-gradient(circle at 18% 50%, rgba(251,113,133,.16), transparent 16rem),
        linear-gradient(90deg, #2b0b18 0%, #4c1024 48%, #3b1020 100%);
}

.jli-notice-spotlight.warning {
    background:
        radial-gradient(circle at 18% 50%, rgba(251,191,36,.16), transparent 16rem),
        linear-gradient(90deg, #241505 0%, #3a2307 48%, #1f2937 100%);
}

.notice-spotlight-label {
    height: 1.78rem;
    display: inline-flex;
    align-items: center;
    gap: .36rem;
    padding: 0 .55rem;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #f8fafc;
    white-space: nowrap;
    font-size: .61rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.notice-spotlight-label > i { color:#facc15; }
.notice-spotlight-label small {
    min-width:1.1rem;
    height:1.1rem;
    display:inline-grid;
    place-items:center;
    border-radius:999px;
    background:#f8fafc;
    color:#0f172a;
    font-size:.55rem;
    font-weight:950;
}

.notice-live-dot {
    width:.42rem;
    height:.42rem;
    border-radius:999px;
    background:#34d399;
    animation:noticeLivePulse 1.8s ease-out infinite;
}

.notice-spotlight-main {
    min-width:0;
    min-height:1.95rem;
    display:grid;
    grid-template-columns:1.45rem minmax(0,1fr) auto;
    align-items:center;
    gap:.48rem;
    padding:.18rem .55rem .18rem .2rem;
    border:1px solid rgba(255,255,255,.12);
    border-radius:.7rem;
    background:rgba(255,255,255,.075);
    color:#fff;
    text-align:left;
    cursor:pointer;
    transition:.18s ease;
}
.notice-spotlight-main:hover {
    border-color:rgba(255,255,255,.26);
    background:rgba(255,255,255,.13);
    transform:translateY(-1px);
}

.notice-spotlight-icon {
    width:1.45rem;
    height:1.45rem;
    display:grid;
    place-items:center;
    border-radius:.5rem;
    background:#38bdf8;
    color:#082f49;
    font-size:.65rem;
}
.notice-spotlight-icon.danger { background:#fb7185; color:#fff1f2; }
.notice-spotlight-icon.warning { background:#fbbf24; color:#422006; }
.notice-spotlight-icon.success { background:#34d399; color:#052e16; }

.notice-spotlight-copy {
    min-width:0;
    display:grid;
    grid-template-columns:minmax(0,auto) minmax(0,1fr);
    grid-template-areas:"tags tags" "title message";
    align-items:center;
    column-gap:.5rem;
    row-gap:.05rem;
}
.notice-spotlight-tags {
    grid-area:tags;
    display:flex;
    align-items:center;
    gap:.3rem;
    min-width:0;
}
.notice-spotlight-copy > strong {
    grid-area:title;
    min-width:0;
    overflow:hidden;
    color:#f8fafc;
    font-size:.72rem;
    font-weight:950;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.notice-spotlight-copy > small {
    grid-area:message;
    min-width:0;
    overflow:hidden;
    color:#bae6fd;
    font-size:.64rem;
    font-weight:750;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.notice-subtype,.notice-priority {
    display:inline-flex;
    align-items:center;
    gap:.22rem;
    width:fit-content;
    padding:.08rem .35rem;
    border-radius:999px;
    font-size:.49rem;
    font-weight:950;
    letter-spacing:.05em;
    text-transform:uppercase;
    white-space:nowrap;
}
.notice-subtype.public { background:rgba(56,189,248,.16); color:#bae6fd; }
.notice-subtype.office { background:rgba(167,139,250,.18); color:#ddd6fe; }
.notice-subtype.student { background:rgba(52,211,153,.16); color:#a7f3d0; }
.notice-subtype.admission { background:rgba(99,102,241,.20); color:#c7d2fe; }
.notice-subtype.payment { background:rgba(250,204,21,.17); color:#fde68a; }
.notice-subtype.exam { background:rgba(244,114,182,.17); color:#fbcfe8; }
.notice-priority.warning { background:rgba(251,191,36,.18); color:#fde68a; }
.notice-priority.danger { background:rgba(251,113,133,.18); color:#fecdd3; }
.notice-priority.info,.notice-priority.success { background:rgba(255,255,255,.10); color:#e2e8f0; }

.notice-spotlight-time {
    display:inline-flex;
    align-items:center;
    gap:.3rem;
    max-width:10rem;
    overflow:hidden;
    color:#cbd5e1;
    font-size:.56rem;
    font-weight:850;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.notice-spotlight-controls {
    display:inline-flex;
    align-items:center;
    justify-content:flex-end;
    gap:.28rem;
    white-space:nowrap;
}
.notice-nav-btn,.notice-view-btn {
    height:1.78rem;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.28rem;
    border:1px solid rgba(255,255,255,.14);
    border-radius:.55rem;
    background:rgba(255,255,255,.09);
    color:#e2e8f0;
    cursor:pointer;
    transition:.16s ease;
}
.notice-nav-btn { width:1.78rem; }
.notice-view-btn {
    padding:0 .55rem;
    color:#fef3c7;
    font-size:.59rem;
    font-weight:950;
}
.notice-nav-btn:hover,.notice-view-btn:hover {
    border-color:rgba(255,255,255,.28);
    background:rgba(255,255,255,.16);
    transform:translateY(-1px);
}
.notice-dots {
    display:inline-flex;
    align-items:center;
    gap:.2rem;
    padding:0 .12rem;
}
.notice-dot {
    width:.32rem;
    height:.32rem;
    padding:0;
    border:0;
    border-radius:999px;
    background:rgba(255,255,255,.30);
    cursor:pointer;
    transition:.16s ease;
}
.notice-dot.active { width:.8rem; background:#34d399; }
.notice-position {
    min-width:2.2rem;
    color:#94a3b8;
    text-align:center;
    font-size:.53rem;
    font-weight:900;
}

@keyframes noticeLivePulse {
    0% { box-shadow:0 0 0 0 rgba(52,211,153,.70); }
    70% { box-shadow:0 0 0 .36rem rgba(52,211,153,0); }
    100% { box-shadow:0 0 0 0 rgba(52,211,153,0); }
}

@media (max-width:900px) {
    .jli-notice-spotlight {
        gap:.32rem;
        padding:.24rem .35rem;
    }
    .notice-spotlight-label > span:not(.notice-live-dot),
    .notice-spotlight-label > small,
    .notice-dots,
    .notice-position,
    .notice-view-btn span { display:none; }
    .notice-spotlight-label {
        width:1.9rem;
        padding:0;
        justify-content:center;
    }
    .notice-spotlight-copy {
        grid-template-columns:1fr;
        grid-template-areas:"tags" "title";
    }
    .notice-spotlight-copy > small,
    .notice-spotlight-time { display:none; }
    .notice-spotlight-main { grid-template-columns:1.35rem minmax(0,1fr); }
}

@media (max-width:520px) {
    .notice-spotlight-controls .notice-nav-btn:first-child { display:none; }
    .notice-spotlight-main { padding-right:.3rem; }
    .notice-spotlight-copy > strong { font-size:.66rem; }
    .notice-subtype,.notice-priority { font-size:.45rem; }
}

@media (prefers-reduced-motion:reduce) {
    .notice-live-dot { animation:none; }
    .notice-spotlight-main,.notice-nav-btn,.notice-view-btn,.notice-dot { transition:none; }
}
