:root {
    color-scheme: light;
    --brand-blue: #0b69d1;
    --brand-blue-dark: #084d9c;
    --brand-blue-soft: #eaf4ff;
    --brand-green: #57c584;
    --brand-green-soft: #ecfbf2;
    --surface-ink: #0f172a;
    --surface-muted: #5b6475;
    --surface-line: rgba(11, 105, 209, 0.1);
    --surface-card: rgba(255, 255, 255, 0.88);
    --surface-shadow: 0 28px 80px rgba(11, 105, 209, 0.1);
}

html {
    font-family: "Inter", "Aptos", "Segoe UI Variable", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "cv11", "ss01";
    scroll-behavior: smooth;
}

body {
    color: var(--surface-ink);
    background:
        linear-gradient(180deg, #f8fbff 0%, #f4f8fb 48%, #f7fcf8 100%);
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

.app-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(11, 105, 209, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(11, 105, 209, 0.028) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.45;
}

svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.glass-panel {
    border: 1px solid var(--surface-line);
    background: var(--surface-card);
    box-shadow: var(--surface-shadow);
    backdrop-filter: blur(16px);
}

.auth-card {
    border: 1px solid rgba(11, 105, 209, 0.12);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 64px rgba(11, 105, 209, 0.14);
    backdrop-filter: blur(18px);
}

.auth-flash {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10000;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: start;
    width: min(24rem, calc(100vw - 2rem));
    overflow: hidden;
    border: 1px solid rgba(244, 63, 94, 0.22);
    border-radius: 1.1rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(255, 241, 242, 0.96)),
        #ffffff;
    box-shadow: 0 22px 48px rgba(159, 18, 57, 0.16), 0 10px 24px rgba(15, 23, 42, 0.08);
    padding: 1rem 1rem 1.05rem;
    color: #881337;
    animation: auth-flash-in 260ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.auth-flash.is-hiding {
    animation: auth-flash-out 220ms ease-in both;
}

.auth-flash__mark {
    display: grid;
    height: 2.25rem;
    width: 2.25rem;
    place-items: center;
    border-radius: 0.85rem;
    background: #fff1f2;
    color: #e11d48;
    box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.12);
}

.auth-flash__mark svg,
.auth-flash__close svg {
    height: 1.1rem;
    width: 1.1rem;
}

.auth-flash__copy {
    min-width: 0;
}

.auth-flash__copy strong {
    display: block;
    color: #4c0519;
    font-size: 0.9rem;
    font-weight: 850;
    line-height: 1.25;
}

.auth-flash__copy span {
    display: block;
    margin-top: 0.2rem;
    color: #be123c;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.auth-flash__close {
    display: grid;
    height: 2rem;
    width: 2rem;
    place-items: center;
    border-radius: 0.75rem;
    color: #9f1239;
    transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.auth-flash__close:hover {
    background: #ffe4e6;
    color: #be123c;
    transform: translateY(-1px);
}

.auth-flash__timer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #e11d48, #fb7185);
    transform-origin: left;
    animation: auth-flash-timer 4s linear forwards;
}

.brand-badge {
    background: linear-gradient(135deg, #0b69d1, #57c584);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.workspace-sidebar,
.dashboard-sidebar,
.workspace-card,
.dashboard-panel {
    position: relative;
    z-index: 1;
}

.workspace-sidebar,
.dashboard-sidebar {
    height: 100vh;
    overflow: hidden;
    transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.workspace-layout {
    grid-template-columns: 244px minmax(0, 1fr);
    transition: grid-template-columns 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.workspace-header {
    position: sticky;
    min-height: 4rem;
    z-index: 2200;
}

.workspace-card,
.dashboard-panel {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.workspace-card:hover {
    border-color: rgba(14, 165, 233, 0.2);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.075);
}

.select-layer-open {
    position: relative;
    z-index: 240 !important;
    overflow: visible !important;
}

.filter-panel.select-layer-open {
    z-index: 260 !important;
}

.modal-panel.select-layer-open,
.modal-body.select-layer-open {
    z-index: 280 !important;
}

.dashboard-hero {
    background: linear-gradient(135deg, rgba(11, 105, 209, 0.055), rgba(255, 255, 255, 0.96));
}

.sidebar-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    background: rgba(15, 23, 42, 0.3);
    transition: opacity 220ms ease;
    z-index: 30;
}

.profile-dropdown > summary {
    list-style: none;
}

.profile-dropdown > summary::-webkit-details-marker {
    display: none;
}

.profile-dropdown[open] {
    z-index: 120;
}

.profile-menu {
    z-index: 130;
    transform-origin: top right;
}

.profile-dropdown[open] .profile-menu {
    animation: menu-in 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.profile-menu-head {
    background:
        linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(16, 185, 129, 0.08)),
        #ffffff;
}

.profile-menu-item {
    transition: background 160ms ease, color 160ms ease, padding-left 160ms ease;
}

.profile-menu-item:hover {
    padding-left: 1.45rem;
}

.icon-button {
    height: 2.5rem;
    width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #ffffff;
    color: #64748b;
    transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.icon-button:hover {
    border-color: rgba(14, 165, 233, 0.35);
    background: #f0f9ff;
    color: #0369a1;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.1);
}

.icon-button:active,
button:active,
a:active,
select:active {
    transform: translateY(0) scale(0.985);
}

button,
a,
select {
    transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.icon-button svg,
.sidebar-icon svg,
.menu-icon svg {
    height: 1.25rem;
    width: 1.25rem;
}

.menu-icon {
    display: inline-flex;
    height: 1.5rem;
    width: 1.5rem;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

.profile-trigger {
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.profile-trigger:hover {
    background: #f8fafc;
    transform: translateY(-1px);
}

.filter-panel {
    padding: 0.95rem 1rem 1rem;
    border-radius: 1.15rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.filter-panel-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.filter-panel-title {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.filter-result-count {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(11, 105, 209, 0.08), rgba(16, 185, 129, 0.08));
    padding: 0.42rem 0.72rem;
    color: #0f172a;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.filter-tip {
    position: relative;
}

.filter-tip > summary {
    list-style: none;
}

.filter-tip > summary::-webkit-details-marker {
    display: none;
}

.filter-tip-trigger {
    display: inline-flex;
    height: 1.85rem;
    width: 1.85rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #ffffff;
    color: #64748b;
    transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.filter-tip-trigger:hover,
.filter-tip[open] .filter-tip-trigger {
    border-color: rgba(14, 165, 233, 0.35);
    color: #0b69d1;
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.12);
}

.filter-tip-trigger svg {
    height: 0.95rem;
    width: 0.95rem;
}

.filter-tip-card {
    position: absolute;
    left: 0;
    top: calc(100% + 0.75rem);
    z-index: 80;
    width: min(320px, calc(100vw - 3rem));
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.98);
    padding: 0.82rem 0.9rem;
    color: #475569;
    font-size: 0.8rem;
    line-height: 1.55;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    animation: menu-in 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.filter-kicker {
    color: #0b69d1;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.filter-head-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.filter-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: #ffffff;
    padding: 0.55rem 0.8rem;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.filter-pill-primary {
    border-color: rgba(14, 165, 233, 0.18);
    background: rgba(14, 165, 233, 0.08);
    color: #0369a1;
}

.workspace-filter-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: minmax(0, 1.45fr) repeat(2, minmax(0, 0.8fr)) auto;
    align-items: end;
}

.workspace-filter-grid--users {
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.74fr)) auto;
}

.workspace-stat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.workspace-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.9);
    padding: 0.48rem 0.78rem;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.workspace-stat-pill strong {
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
}

.workspace-stat-pill--active {
    border-color: rgba(16, 185, 129, 0.16);
    background: rgba(236, 253, 245, 0.95);
    color: #047857;
}

.workspace-stat-pill--inactive {
    border-color: rgba(245, 158, 11, 0.16);
    background: rgba(255, 251, 235, 0.96);
    color: #b45309;
}

.workspace-search-field {
    display: grid;
    gap: 0.45rem;
}

.workspace-search-field span {
    color: #475569;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.workspace-search-input {
    display: flex;
    min-height: 2.9rem;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    padding-inline: 0.9rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.workspace-search-input:hover {
    border-color: rgba(14, 165, 233, 0.34);
}

.workspace-search-input:focus-within {
    border-color: rgba(14, 165, 233, 0.62);
    box-shadow: 0 0 0 4px rgba(186, 230, 253, 0.45), 0 14px 26px rgba(14, 165, 233, 0.08);
    transform: translateY(-1px);
}

.workspace-search-input svg {
    height: 1rem;
    width: 1rem;
    flex-shrink: 0;
    color: #94a3b8;
}

.workspace-search-input input {
    width: 100%;
    border: 0;
    background: transparent;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 600;
    outline: 0;
}

.workspace-search-input input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

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

.workspace-filter-reset,
.workspace-filter-submit,
.workspace-action-button {
    min-height: 2.9rem;
    border-radius: 0.95rem;
    padding-inline: 1rem;
    font-size: 0.86rem;
    font-weight: 800;
}

.workspace-filter-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: #ffffff;
    color: #475569;
}

.workspace-filter-reset:hover {
    border-color: rgba(14, 165, 233, 0.28);
    background: #f8fbff;
    color: #0b69d1;
}

.workspace-filter-submit,
.workspace-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(11, 105, 209, 0.22);
    background: linear-gradient(135deg, #0b69d1, #1297eb);
    color: #ffffff;
    box-shadow: 0 18px 28px rgba(11, 105, 209, 0.18);
}

.workspace-filter-submit:hover,
.workspace-action-button:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(11, 105, 209, 0.22);
}

.workspace-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.workspace-toolbar-button {
    display: inline-flex;
    min-height: 2.85rem;
    align-items: center;
    gap: 0.55rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(11, 105, 209, 0.22);
    background: linear-gradient(135deg, #0b69d1, #1297eb);
    padding: 0.72rem 1rem;
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    box-shadow: 0 16px 26px rgba(11, 105, 209, 0.16);
}

.workspace-toolbar-button:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 18px 30px rgba(11, 105, 209, 0.2);
}

.workspace-toolbar-button__icon {
    display: inline-flex;
    height: 1rem;
    width: 1rem;
    align-items: center;
    justify-content: center;
}

.workspace-toolbar-button__icon svg {
    height: 1rem;
    width: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.workspace-toolbar-button--secondary {
    border-color: rgba(148, 163, 184, 0.24);
    background: #ffffff;
    color: #475569;
    box-shadow: none;
}

.workspace-toolbar-button--secondary:hover {
    border-color: rgba(14, 165, 233, 0.28);
    background: #f8fbff;
    color: #0b69d1;
    box-shadow: 0 12px 22px rgba(14, 165, 233, 0.08);
}

.workspace-table-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.workspace-icon-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.workspace-icon-action {
    display: inline-flex;
    height: 2.2rem;
    width: 2.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.92);
    color: #64748b;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.04);
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.workspace-icon-action svg {
    height: 1rem;
    width: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.workspace-icon-action:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, 0.28);
    background: #f8fbff;
    color: #0b69d1;
    box-shadow: 0 12px 20px rgba(14, 165, 233, 0.1);
}

.workspace-icon-action--accent {
    border-color: rgba(11, 105, 209, 0.18);
    background: rgba(239, 248, 255, 0.92);
    color: #0b69d1;
}

.workspace-icon-action--success {
    border-color: rgba(16, 185, 129, 0.22);
    background: rgba(236, 253, 245, 0.96);
    color: #047857;
}

.workspace-icon-action--success:hover {
    border-color: rgba(16, 185, 129, 0.36);
    background: #ecfdf5;
    color: #065f46;
    box-shadow: 0 12px 20px rgba(16, 185, 129, 0.12);
}

.workspace-icon-action--warning {
    border-color: rgba(245, 158, 11, 0.24);
    background: rgba(255, 251, 235, 0.98);
    color: #b45309;
}

.workspace-icon-action--warning:hover {
    border-color: rgba(245, 158, 11, 0.38);
    background: #fffbeb;
    color: #92400e;
    box-shadow: 0 12px 20px rgba(245, 158, 11, 0.12);
}

.workspace-icon-action--danger {
    border-color: rgba(244, 63, 94, 0.2);
    background: rgba(255, 241, 242, 0.92);
    color: #e11d48;
}

.workspace-icon-action--danger:hover {
    border-color: rgba(244, 63, 94, 0.34);
    background: #fff1f2;
    color: #be123c;
    box-shadow: 0 12px 20px rgba(244, 63, 94, 0.11);
}

.workspace-icon-action.is-loading {
    pointer-events: none;
    opacity: 0.7;
    box-shadow: none;
    transform: none;
}

.workspace-table-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.15rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.92);
    padding: 0.45rem 0.8rem;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.workspace-table-action:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, 0.32);
    background: #f8fbff;
    color: #0b69d1;
    box-shadow: 0 10px 18px rgba(14, 165, 233, 0.12);
}

.workspace-table-action--accent {
    border-color: rgba(11, 105, 209, 0.2);
    background: rgba(239, 248, 255, 0.96);
    color: #0b69d1;
}

.workspace-table-action--danger {
    border-color: rgba(244, 63, 94, 0.22);
    background: rgba(255, 241, 242, 0.96);
    color: #be123c;
}

.workspace-table-action--danger:hover {
    border-color: rgba(244, 63, 94, 0.36);
    background: #fff1f2;
    color: #9f1239;
    box-shadow: 0 10px 18px rgba(244, 63, 94, 0.12);
}

.filter-dropdown > summary {
    list-style: none;
}

.filter-dropdown > summary::-webkit-details-marker {
    display: none;
}

.filter-trigger {
    display: flex;
    height: 3rem;
    width: 100%;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: #ffffff;
    padding-inline: 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.filter-trigger:hover,
.filter-dropdown[open] .filter-trigger {
    border-color: rgba(14, 165, 233, 0.45);
    box-shadow: 0 10px 24px rgba(14, 165, 233, 0.08);
}

.filter-trigger svg {
    height: 1rem;
    width: 1rem;
    color: #64748b;
    transition: transform 160ms ease;
}

.filter-dropdown[open] .filter-trigger svg {
    transform: rotate(180deg);
}

.filter-menu {
    position: absolute;
    z-index: 80;
    inset-inline: 0;
    top: calc(100% + 0.45rem);
    overflow: hidden;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    animation: menu-in 150ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.filter-menu button {
    display: block;
    width: 100%;
    padding: 0.78rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
}

.filter-menu button:hover {
    background: #f0f9ff;
    color: #0369a1;
}

.health-banner {
    position: relative;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.health-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12)),
        radial-gradient(circle at 80% 0%, rgba(255, 255, 255, 0.18), transparent 30%);
}

.metric-card {
    min-height: 10.5rem;
}

.side-panel h2 {
    font-size: 1.05rem;
}

.side-panel {
    font-size: 0.92rem;
}

.profile-form {
    position: relative;
}

.profile-form-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.modal-form-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
    padding-top: 0.4rem;
}

.modal-primary-action {
    min-width: 12rem;
}

.profile-field {
    display: grid;
    gap: 0.45rem;
}

.profile-field span {
    color: #475569;
    font-size: 0.84rem;
    font-weight: 700;
}

.profile-input {
    min-height: 3rem;
    width: 100%;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #ffffff;
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 600;
    outline: none;
    padding: 0.75rem 0.95rem;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.profile-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.profile-input:hover {
    border-color: rgba(14, 165, 233, 0.38);
}

.profile-input:focus {
    border-color: rgba(14, 165, 233, 0.75);
    box-shadow: 0 0 0 4px rgba(186, 230, 253, 0.58);
}

.profile-input:disabled {
    cursor: not-allowed;
    background: #f8fafc;
    color: #94a3b8;
}

.custom-select {
    position: relative;
    width: 100%;
}

.custom-select.is-open {
    z-index: 300;
}

.custom-select__native {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.custom-select__trigger {
    display: flex;
    min-height: 3rem;
    width: 100%;
    cursor: pointer;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    color: #0f172a;
    padding: 0.75rem 0.95rem;
    text-align: left;
    outline: none;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.custom-select__trigger:hover {
    border-color: rgba(14, 165, 233, 0.38);
    background: #ffffff;
}

.custom-select.is-open .custom-select__trigger,
.custom-select__trigger:focus-visible {
    border-color: rgba(14, 165, 233, 0.75);
    box-shadow: 0 0 0 4px rgba(186, 230, 253, 0.54);
}

.custom-select.has-error .custom-select__trigger {
    border-color: rgba(244, 63, 94, 0.72);
    box-shadow: 0 0 0 4px rgba(254, 205, 211, 0.55);
}

.custom-select.is-disabled .custom-select__trigger,
.custom-select__trigger:disabled {
    cursor: not-allowed;
    background: #f8fafc;
    color: #94a3b8;
    box-shadow: none;
}

.custom-select__selected {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.94rem;
    font-weight: 650;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
}

.custom-select__selected.is-placeholder {
    color: #94a3b8;
    font-weight: 600;
}

.custom-select__arrow {
    display: inline-flex;
    flex: 0 0 auto;
    margin-top: 0.12rem;
    color: #64748b;
    transition: transform 160ms ease;
}

.custom-select.is-open .custom-select__arrow {
    transform: rotate(180deg);
}

.custom-select__arrow svg,
.custom-select__option-check svg {
    height: 1rem;
    width: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.custom-select__menu {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 0.45rem);
    z-index: 310;
    display: none;
    gap: 0.7rem;
    width: 100%;
    min-width: min(100%, calc(100vw - 2rem));
    max-width: calc(100vw - 2rem);
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: rgba(255, 255, 255, 0.98);
    padding: 0.72rem;
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(18px);
    animation: menu-in 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.custom-select.is-open .custom-select__menu {
    display: grid;
}

.custom-select__menu.is-portalled,
.custom-select__menu.is-portalled.is-open {
    position: fixed !important;
    right: auto !important;
    bottom: auto !important;
    z-index: 2147483647 !important;
    display: grid !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    min-width: 0 !important;
    max-width: min(27.5rem, calc(100vw - 2rem));
    overflow: hidden;
    background: #ffffff;
    isolation: isolate;
}

.custom-select__menu.is-portalled .custom-select__options {
    min-width: 0;
}

.custom-select__menu.is-portalled.is-above {
    transform-origin: bottom center;
}

.custom-select__search-shell {
    position: sticky;
    top: 0;
    z-index: 2;
}

.custom-select__search {
    height: 2.55rem;
    width: 100%;
    border-radius: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.24);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), #ffffff);
    color: #334155;
    font-size: 0.82rem;
    font-weight: 650;
    outline: none;
    padding: 0.68rem 0.82rem;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.custom-select__search:focus {
    border-color: rgba(14, 165, 233, 0.68);
    box-shadow: 0 0 0 4px rgba(186, 230, 253, 0.5);
}

.custom-select__options {
    display: grid;
    gap: 0.35rem;
    max-height: var(--custom-select-options-max-height, min(18rem, 48vh));
    overflow: auto;
    overscroll-behavior: contain;
    padding-right: 0.1rem;
}

.custom-select__option {
    display: flex;
    min-height: 2.75rem;
    width: 100%;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    border-radius: 0.78rem;
    border: 1px solid transparent;
    background: #ffffff;
    color: #0f172a;
    padding: 0.68rem 0.78rem;
    text-align: left;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.custom-select__option:hover,
.custom-select__option:focus-visible {
    border-color: rgba(186, 230, 253, 0.86);
    background: rgba(240, 249, 255, 0.92);
    outline: none;
    transform: translateY(-1px);
}

.custom-select__option.is-selected {
    border-color: rgba(14, 165, 233, 0.28);
    background: linear-gradient(135deg, rgba(239, 248, 255, 0.95), rgba(240, 253, 250, 0.9));
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.22);
}

.custom-select__option.is-hidden {
    display: none;
}

.custom-select__option:disabled {
    cursor: not-allowed;
    opacity: 0.48;
}

.custom-select__option-label {
    display: -webkit-box;
    min-width: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    color: inherit;
    font-size: 0.86rem;
    font-weight: 650;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    word-break: break-word;
}

.custom-select__option-check {
    display: inline-flex;
    flex: 0 0 auto;
    color: #0284c7;
    opacity: 0;
    transform: scale(0.86);
    transition: opacity 160ms ease, transform 160ms ease;
}

.custom-select__option.is-selected .custom-select__option-check {
    opacity: 1;
    transform: scale(1);
}

.custom-select__empty {
    border-radius: 0.8rem;
    background: rgba(248, 250, 252, 0.92);
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.5;
    padding: 0.8rem;
}

.team-choice {
    position: relative;
}

.team-choice > summary {
    list-style: none;
}

.team-choice > summary::-webkit-details-marker {
    display: none;
}

.team-choice__trigger {
    display: flex;
    min-height: 3.15rem;
    width: 100%;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #ffffff;
    padding: 0.8rem 0.95rem;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease, transform 160ms ease;
}

.team-choice__trigger:hover,
.team-choice[open] .team-choice__trigger {
    border-color: rgba(14, 165, 233, 0.44);
    box-shadow: 0 14px 28px rgba(14, 165, 233, 0.08);
}

.team-choice__trigger.is-disabled {
    cursor: not-allowed;
    background: #f8fafc;
    color: #94a3b8;
    box-shadow: none;
}

.team-choice__trigger svg {
    height: 1rem;
    width: 1rem;
    flex-shrink: 0;
    color: #64748b;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform 160ms ease;
}

.team-choice[open] .team-choice__trigger svg {
    transform: rotate(180deg);
}

.team-choice__value {
    min-width: 0;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
}

.team-choice__value.is-placeholder {
    color: #94a3b8;
}

.team-choice__menu {
    position: absolute;
    inset-inline: 0;
    top: calc(100% + 0.45rem);
    z-index: 42;
    display: grid;
    gap: 0.7rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.98);
    padding: 0.8rem;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
    animation: menu-in 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.team-choice__search-shell,
.team-member-picker__search-shell {
    position: sticky;
    top: 0;
    z-index: 2;
    background: rgba(255, 255, 255, 0.96);
}

.team-choice__search,
.team-member-picker__search {
    height: 2.7rem;
    width: 100%;
    border-radius: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), #ffffff);
    padding: 0.7rem 0.9rem;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 600;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.team-choice__search:focus,
.team-member-picker__search:focus {
    border-color: rgba(14, 165, 233, 0.68);
    box-shadow: 0 0 0 4px rgba(186, 230, 253, 0.52);
}

.team-choice__options {
    display: grid;
    gap: 0.38rem;
    max-height: 15.25rem;
    overflow: auto;
}

.team-choice__option {
    display: flex;
    min-height: 2.9rem;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-radius: 0.8rem;
    border: 1px solid transparent;
    background: #ffffff;
    padding: 0.72rem 0.82rem;
    text-align: left;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.team-choice__option:hover {
    border-color: rgba(186, 230, 253, 0.82);
    background: rgba(240, 249, 255, 0.9);
    transform: translateY(-1px);
}

.team-choice__option.is-selected {
    border-color: rgba(14, 165, 233, 0.22);
    background: linear-gradient(135deg, rgba(239, 248, 255, 0.92), rgba(240, 253, 250, 0.88));
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.24);
}

.team-choice__option.is-hidden {
    display: none;
}

.team-choice__option-label {
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.45;
}

.team-choice__empty,
.team-member-picker__empty {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.5;
}

.team-member-picker {
    position: relative;
    display: grid;
    gap: 0.6rem;
}

.team-member-picker__trigger {
    display: flex;
    min-height: 3.15rem;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #ffffff;
    padding: 0.8rem 0.95rem;
    text-align: left;
}

.team-member-picker__trigger:hover {
    border-color: rgba(14, 165, 233, 0.38);
}

.team-member-picker__trigger:focus {
    border-color: rgba(14, 165, 233, 0.75);
    box-shadow: 0 0 0 4px rgba(186, 230, 253, 0.58);
}

.team-member-picker__trigger svg {
    height: 1rem;
    width: 1rem;
    flex-shrink: 0;
    color: #64748b;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.team-member-picker__trigger-copy {
    display: grid;
    gap: 0.18rem;
}

.team-member-picker__trigger-copy strong {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 700;
}

.team-member-picker__trigger-copy span {
    color: #64748b;
    font-size: 0.78rem;
}

.team-member-picker__menu {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    z-index: 35;
    display: none;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
    overflow: hidden;
}

.team-member-picker.is-open .team-member-picker__menu {
    display: block;
    animation: menu-in 160ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.team-member-picker__menu-head {
    display: grid;
    gap: 0.15rem;
    padding: 0.9rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.96));
}

.team-member-picker__menu-head p {
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 700;
}

.team-member-picker__menu-head span {
    color: #64748b;
    font-size: 0.76rem;
}

.team-member-picker__options {
    max-height: 17rem;
    overflow: auto;
    padding: 0.45rem;
}

.team-member-picker__option {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 0.7rem;
    border-radius: 0.8rem;
    border: 1px solid transparent;
    padding: 0.75rem 0.8rem;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.team-member-picker__option:hover {
    border-color: rgba(186, 230, 253, 0.72);
    background: rgba(248, 250, 252, 0.9);
    transform: translateY(-1px);
}

.team-member-picker__option.is-selected {
    border-color: rgba(14, 165, 233, 0.22);
    background: linear-gradient(135deg, rgba(239, 248, 255, 0.92), rgba(240, 253, 250, 0.88));
}

.team-member-picker__option.is-disabled {
    opacity: 0.48;
}

.team-member-picker__option.is-hidden {
    display: none;
}

.team-member-picker__checkbox {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.team-member-picker__check {
    display: inline-flex;
    height: 1.2rem;
    width: 1.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.38rem;
    border: 1px solid rgba(148, 163, 184, 0.26);
    background: #ffffff;
    color: transparent;
}

.team-member-picker__option.is-selected .team-member-picker__check {
    border-color: rgba(11, 105, 209, 0.22);
    background: linear-gradient(135deg, #0b69d1, #0ea5e9);
    color: #ffffff;
}

.team-member-picker__check svg {
    height: 0.8rem;
    width: 0.8rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.team-member-picker__content {
    display: grid;
    gap: 0.14rem;
    min-width: 0;
}

.team-member-picker__title {
    color: #1e293b;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.45;
}

.team-member-picker__detail {
    color: #64748b;
    font-size: 0.75rem;
    line-height: 1.45;
}

.team-member-picker__helper {
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.45;
}

.team-member-picker__feedback {
    min-height: 1.15rem;
    font-size: 0.76rem;
    font-weight: 600;
}

.team-member-picker__feedback[data-kind="success"] {
    color: #047857;
}

.team-member-picker__feedback[data-kind="warning"] {
    color: #b45309;
}

.team-member-picker__feedback[data-kind="error"] {
    color: #be123c;
}

.profile-submit {
    min-height: 3rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, #0b69d1, #0ea5e9);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 0.85rem 1.2rem;
    box-shadow: 0 14px 28px rgba(11, 105, 209, 0.18);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease, opacity 160ms ease;
}

.profile-submit:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(11, 105, 209, 0.24);
}

.profile-submit:disabled,
.profile-submit.is-disabled {
    cursor: not-allowed;
    opacity: 0.62;
    filter: grayscale(0.1);
    transform: none;
    box-shadow: none;
}

.profile-form[aria-busy="true"] {
    opacity: 0.74;
}

.workspace-inline-result {
    display: grid;
    gap: 0.75rem;
}

.support-bullet {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.88), #ffffff);
    padding: 0.9rem 1rem;
}

.support-bullet p {
    color: #475569;
    font-size: 0.84rem;
    line-height: 1.55;
}

.support-bullet-dot {
    height: 0.65rem;
    width: 0.65rem;
    margin-top: 0.4rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #0ea5e9, #34d399);
    box-shadow: 0 0 0 4px rgba(186, 230, 253, 0.55);
}

.modal-shell {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: none;
}

.modal-shell.is-open {
    display: block;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(10px);
    animation: modal-fade-in 180ms ease both;
}

.modal-panel {
    position: relative;
    z-index: 2;
    width: min(680px, calc(100vw - 2rem));
    max-height: calc(100vh - 2rem);
    margin: 1rem auto;
    overflow: hidden;
    border-radius: 1.15rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.18);
    animation: modal-rise-in 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.modal-head {
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    background:
        radial-gradient(circle at top right, rgba(16, 185, 129, 0.12), transparent 34%),
        linear-gradient(135deg, rgba(11, 105, 209, 0.06), rgba(14, 165, 233, 0.04)),
        #fdfefe;
    padding: 0.95rem 1rem 0.88rem;
}

.modal-kicker {
    color: #0b69d1;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.modal-title {
    margin-top: 0.4rem;
    color: #0f172a;
    font-size: 1.08rem;
    font-weight: 800;
}

.modal-summary {
    margin-top: 0.3rem;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.55;
}

.modal-body {
    max-height: calc(100vh - 10.5rem);
    overflow: auto;
    padding: 0.9rem 1rem 1rem;
}

.modal-panel .workspace-card {
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.modal-panel .side-panel {
    padding: 0;
}

.modal-close-button {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: #64748b;
}

.modal-close-button:hover {
    background: #ffffff;
    color: #0f172a;
}

.modal-form-intro {
    display: grid;
    gap: 0.55rem;
    border-radius: 1rem;
    border: 1px solid rgba(186, 230, 253, 0.7);
    background: linear-gradient(135deg, rgba(239, 249, 255, 0.95), rgba(240, 253, 250, 0.92));
    padding: 0.9rem 1rem;
}

.modal-form-intro p {
    color: #52607a;
    font-size: 0.84rem;
    line-height: 1.55;
}

.modal-form-chip {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    padding: 0.32rem 0.72rem;
    color: #0b69d1;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.destructive-modal-panel {
    width: min(560px, calc(100vw - 1.5rem));
}

.destructive-modal-head {
    background:
        radial-gradient(circle at top right, rgba(244, 63, 94, 0.1), transparent 34%),
        linear-gradient(135deg, rgba(255, 241, 242, 0.92), rgba(255, 255, 255, 0.98));
}

.destructive-modal-kicker {
    color: #be123c;
}

.destructive-modal-impact {
    display: grid;
    gap: 1rem;
}

.destructive-modal-alert {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
    border-radius: 1rem;
    border: 1px solid rgba(244, 63, 94, 0.16);
    background: linear-gradient(135deg, rgba(255, 241, 242, 0.92), rgba(255, 255, 255, 0.96));
    padding: 0.95rem 1rem;
}

.destructive-modal-alert__icon {
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: #e11d48;
    box-shadow: inset 0 0 0 1px rgba(244, 63, 94, 0.14);
}

.destructive-modal-alert__icon svg {
    height: 1rem;
    width: 1rem;
}

.destructive-modal-alert__title {
    color: #881337;
    font-size: 0.92rem;
    font-weight: 800;
}

.destructive-modal-alert__detail {
    margin-top: 0.2rem;
    color: #9f1239;
    font-size: 0.8rem;
    line-height: 1.55;
}

.destructive-modal-impact__list {
    display: grid;
    gap: 0.65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.destructive-modal-impact__item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    border-radius: 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.86);
    padding: 0.82rem 0.95rem;
    color: #334155;
    font-size: 0.84rem;
    line-height: 1.55;
}

.destructive-modal-impact__dot {
    height: 0.55rem;
    width: 0.55rem;
    margin-top: 0.38rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #fb7185, #e11d48);
    box-shadow: 0 0 0 4px rgba(255, 228, 230, 0.8);
}

.destructive-modal-actions {
    padding-top: 0.2rem;
    align-items: center;
}

.destructive-modal-cancel {
    min-width: 8.5rem;
}

.destructive-modal-confirm {
    min-width: 13.5rem;
    background: linear-gradient(135deg, #dc2626, #f43f5e);
    box-shadow: 0 14px 28px rgba(225, 29, 72, 0.22);
}

.destructive-modal-confirm:hover {
    box-shadow: 0 18px 34px rgba(225, 29, 72, 0.28);
}

.profile-result {
    display: grid;
    gap: 0.35rem;
    border-radius: 0.85rem;
    border: 1px solid;
    padding: 0.9rem 1rem;
    animation: menu-in 180ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.profile-result strong {
    font-size: 0.92rem;
    font-weight: 800;
}

.profile-result span,
.profile-result small {
    font-size: 0.84rem;
    line-height: 1.5;
}

.profile-result-success {
    border-color: rgba(16, 185, 129, 0.24);
    background: #ecfdf5;
    color: #065f46;
}

.profile-result-error {
    border-color: rgba(244, 63, 94, 0.22);
    background: #fff1f2;
    color: #be123c;
}

.chart-track {
    position: relative;
    height: 165px;
    width: 100%;
    overflow: hidden;
    border-radius: 6px;
    background:
        linear-gradient(180deg, rgba(11, 105, 209, 0.08), rgba(11, 105, 209, 0.02));
}

.chart-fill {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    border-radius: 6px 6px 0 0;
}

.student-stepper-shell {
    border-color: rgba(186, 230, 253, 0.9);
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.student-stepper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.student-stepper__link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.72);
    padding: 0.88rem 1rem;
    color: #475569;
    transition:
        transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
        background 180ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.student-stepper__link:hover {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(240, 249, 255, 0.96);
    box-shadow: 0 12px 26px rgba(14, 116, 144, 0.08);
}

.student-stepper__link.is-active {
    border-color: rgba(14, 165, 233, 0.28);
    background: linear-gradient(135deg, rgba(239, 249, 255, 0.98), rgba(236, 253, 245, 0.92));
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.32);
    color: #0f172a;
}

.student-stepper__index {
    display: inline-flex;
    height: 2.2rem;
    width: 2.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.96);
    color: #0284c7;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.14);
}

.student-stepper__copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.student-stepper__copy strong {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 700;
}

.student-stepper__copy small {
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.45;
}

/* ============================================================
   Universal dashboard stepper (Overview / AI Readiness / Guidelines)
   Injected client-side by /assets/js/dashboard-stepper.js
   ============================================================ */
.dash-stepper-shell {
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    border-color: rgba(186, 230, 253, 0.9);
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 32%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.dash-stepper {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

@media (max-width: 860px) {
    .dash-stepper {
        grid-template-columns: 1fr;
    }
}

.dash-stepper__link {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    text-align: left;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(248, 250, 252, 0.72);
    padding: 0.88rem 1rem;
    color: #475569;
    cursor: pointer;
    transition:
        transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
        background 180ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dash-stepper__link:hover {
    transform: translateY(-1px);
    border-color: rgba(56, 189, 248, 0.28);
    background: rgba(240, 249, 255, 0.96);
    box-shadow: 0 12px 26px rgba(14, 116, 144, 0.08);
}

.dash-stepper__link.is-active {
    border-color: rgba(14, 165, 233, 0.28);
    background: linear-gradient(135deg, rgba(239, 249, 255, 0.98), rgba(236, 253, 245, 0.92));
    box-shadow: inset 0 0 0 1px rgba(125, 211, 252, 0.32);
    color: #0f172a;
}

.dash-stepper__link.is-disabled {
    opacity: 0.55;
    pointer-events: none;
}

/* Highlighted "Guidelines for Internship" tab — elegant green/blue gradient */
.dash-stepper__link[data-dash-tab="guidelines"] {
    position: relative;
    border-color: transparent;
    color: #fff;
    background:
        linear-gradient(135deg, #0284c7 0%, #0ea5e9 42%, #10b981 100%);
    box-shadow: 0 12px 26px rgba(13, 148, 136, 0.22);
}

.dash-stepper__link[data-dash-tab="guidelines"]:hover {
    transform: translateY(-2px);
    background:
        linear-gradient(135deg, #0369a1 0%, #0284c7 42%, #059669 100%);
    box-shadow: 0 18px 34px rgba(13, 148, 136, 0.3);
}

.dash-stepper__link[data-dash-tab="guidelines"].is-active {
    background:
        linear-gradient(135deg, #075985 0%, #0369a1 45%, #047857 100%);
    box-shadow:
        0 18px 34px rgba(13, 148, 136, 0.32),
        inset 0 0 0 1px rgba(255, 255, 255, 0.28);
    color: #fff;
}

.dash-stepper__link[data-dash-tab="guidelines"] .dash-stepper__index {
    background: rgba(255, 255, 255, 0.92);
    color: #0369a1;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.dash-stepper__link[data-dash-tab="guidelines"] .dash-stepper__copy strong {
    color: #fff;
}

.dash-stepper__link[data-dash-tab="guidelines"] .dash-stepper__copy small {
    color: rgba(236, 254, 255, 0.85);
}

.dash-stepper__index {
    display: inline-flex;
    height: 2.2rem;
    width: 2.2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.96);
    color: #0284c7;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.14);
}

.dash-stepper__copy {
    display: grid;
    gap: 0.12rem;
    min-width: 0;
}

.dash-stepper__copy strong {
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
}

.dash-stepper__copy small {
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.45;
}

/* Panels */
.dash-panel[hidden] {
    display: none;
}

.dash-panel.is-active {
    animation: dashPanelIn 320ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dash-program {
    display: grid;
    gap: 1.5rem;
}

@keyframes dashPanelIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered entrance for cards within a program panel */
.dash-program > .workspace-card {
    animation: dashFadeUp 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: calc(var(--dash-i, 0) * 80ms);
}

@keyframes dashFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dash-panel.is-active,
    .dash-program > .workspace-card {
        animation: none;
    }
}

/* Hero */
.dash-program__hero {
    padding: 1.85rem;
    border-color: rgba(186, 230, 253, 0.86);
    background:
        radial-gradient(circle at top right, rgba(52, 211, 153, 0.16), transparent 36%),
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.dash-program__hero--guidelines {
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.18), transparent 36%),
        radial-gradient(circle at top left, rgba(196, 181, 253, 0.16), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.dash-program__eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
    padding: 0.4rem 0.95rem;
    color: #0369a1;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.dash-program__title {
    margin-top: 1.1rem;
    color: #0f172a;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .dash-program__title {
        font-size: 2.15rem;
    }
}

.dash-program__lead {
    margin-top: 1rem;
    max-width: 68ch;
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.78;
}

.dash-program__lead--accent {
    margin-top: 1.25rem;
    max-width: none;
    color: #0369a1;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .dash-program__lead--accent {
        font-size: 1.5rem;
    }
}

/* Quote */
.dash-program-quote {
    position: relative;
    padding: 2rem 2.25rem 2rem 4rem;
    border-color: rgba(14, 165, 233, 0.2);
    background: linear-gradient(135deg, rgba(240, 249, 255, 0.92), rgba(236, 253, 245, 0.85));
}

.dash-program-quote p {
    color: #0f172a;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.65;
    font-style: italic;
    letter-spacing: -0.01em;
}

@media (min-width: 768px) {
    .dash-program-quote p {
        font-size: 1.5rem;
    }
}

.dash-program-quote__mark {
    position: absolute;
    top: 0.5rem;
    left: 1.25rem;
    color: rgba(14, 165, 233, 0.45);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

/* Generic content card */
.dash-program-card {
    padding: 1.75rem;
    transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dash-program-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
}

.dash-program-card__head {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.dash-program-card__index {
    display: inline-flex;
    height: 2.6rem;
    width: 2.6rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    box-shadow: 0 10px 22px rgba(14, 116, 144, 0.18);
}

.dash-program-card__title {
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.dash-program-card__sub {
    margin-top: 0.3rem;
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.6;
}

.dash-program-card__label {
    margin-bottom: 0.75rem;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 700;
}

.dash-program-card__note {
    margin-top: 1.1rem;
    border-top: 1px dashed rgba(148, 163, 184, 0.4);
    padding-top: 1rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

.dash-program-card__note strong {
    color: #0369a1;
}

.dash-program-callout {
    margin-bottom: 1.2rem;
    border-left: 4px solid rgba(14, 165, 233, 0.55);
    border-radius: 0 0.85rem 0.85rem 0;
    background: rgba(240, 249, 255, 0.7);
    padding: 1rem 1.25rem;
    color: #334155;
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.7;
}

/* Lists */
.dash-list {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dash-list li {
    position: relative;
    padding-left: 1.55rem;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.55;
}

.dash-list li::before {
    content: "";
    position: absolute;
    left: 0.1rem;
    top: 0.5rem;
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
}

.dash-list--tight li {
    font-size: 0.88rem;
}

/* Chips */
.dash-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.dash-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(14, 165, 233, 0.22);
    background: linear-gradient(135deg, rgba(239, 249, 255, 0.96), rgba(236, 253, 245, 0.9));
    padding: 0.5rem 1rem;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 600;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.dash-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(14, 116, 144, 0.1);
}

.dash-chip-grid--soft .dash-chip {
    border-color: rgba(148, 163, 184, 0.3);
    background: rgba(248, 250, 252, 0.9);
    color: #334155;
}

/* Sub-cards */
.dash-subcard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.dash-subcard-grid--two {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.dash-subcard {
    position: relative;
    border-radius: 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(248, 250, 252, 0.7);
    padding: 1.25rem 1.25rem 1.35rem;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.dash-subcard:hover {
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 16px 30px rgba(14, 116, 144, 0.1);
}

.dash-subcard__tag {
    display: inline-flex;
    height: 2rem;
    width: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.7rem;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
}

.dash-subcard__tag--sky {
    background: linear-gradient(135deg, #0284c7, #38bdf8);
}

.dash-subcard__tag--amber {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.dash-subcard__title {
    margin-top: 0.8rem;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
}

.dash-subcard__hint {
    margin: 0.35rem 0 0.85rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.5;
}

.student-platform-hero {
    border-color: rgba(186, 230, 253, 0.86);
    background:
        radial-gradient(circle at top right, rgba(52, 211, 153, 0.16), transparent 34%),
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.student-platform-hero__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), rgba(16, 185, 129, 0.12));
    padding: 0.65rem 1rem;
    color: #0369a1;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.student-platform-shell {
    display: grid;
    gap: 1.5rem;
}

.student-platform-grid {
    --platform-step-card-width: clamp(15.5rem, 22vw, 17rem);
    --platform-step-card-height: 12.4rem;
    --platform-connector-width: 4.25rem;
    display: grid;
    gap: 1.25rem;
}

.student-flow-card {
    position: relative;
    overflow: hidden;
    border-color: rgba(226, 232, 240, 0.92);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.05);
}

.student-flow-card--innovation {
    --flow-primary: #0284c7;
    --flow-secondary: #22d3ee;
    --flow-soft: rgba(224, 242, 254, 0.92);
    --flow-soft-strong: rgba(186, 230, 253, 0.94);
    --flow-contrast: #075985;
    --flow-glow: rgba(56, 189, 248, 0.16);
    --flow-card-surface: linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(255, 255, 255, 0.98));
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(255, 255, 255, 0.98));
}

.student-flow-card--career {
    --flow-primary: #059669;
    --flow-secondary: #34d399;
    --flow-soft: rgba(220, 252, 231, 0.92);
    --flow-soft-strong: rgba(187, 247, 208, 0.94);
    --flow-contrast: #047857;
    --flow-glow: rgba(16, 185, 129, 0.16);
    --flow-card-surface: linear-gradient(180deg, rgba(248, 255, 251, 0.98), rgba(255, 255, 255, 0.98));
    background:
        radial-gradient(circle at top right, rgba(52, 211, 153, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(248, 255, 251, 0.98), rgba(255, 255, 255, 0.98));
}

.student-flow-card__header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.3rem 1.35rem 1rem;
}

.student-flow-card__headline {
    min-width: 0;
}

.student-flow-card__kicker {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--flow-primary);
}

.student-flow-card__title {
    margin-top: 0.42rem;
    color: #0f172a;
    font-size: 1.14rem;
    font-weight: 700;
    line-height: 1.25;
}

.student-flow-card__detail {
    max-width: 50rem;
    margin-top: 0.34rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.65;
}

.student-flow-card__status {
    display: grid;
    gap: 0.45rem;
    justify-items: end;
}

.student-flow-card__badge,
.student-flow-card__current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.46rem 0.82rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.student-flow-card__badge {
    background: var(--flow-soft);
    color: var(--flow-contrast);
}

.student-flow-card__current {
    background: rgba(255, 255, 255, 0.82);
    color: #475569;
    box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.58);
}

.student-flow-card__progress {
    padding: 0 1.35rem 1rem;
}

.student-flow-card__progress-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #64748b;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.student-flow-card__progress-bar {
    position: relative;
    margin-top: 0.68rem;
    height: 0.48rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.78);
}

.student-flow-card__progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--flow-primary), var(--flow-secondary));
    box-shadow: 0 6px 18px var(--flow-glow);
    transition: width 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.student-flow-card__viewport-wrap {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem;
    padding: 0 1rem 1.25rem;
}

.student-flow-scroll {
    display: inline-flex;
    height: 2.8rem;
    width: 2.8rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(203, 213, 225, 0.7);
    background: rgba(255, 255, 255, 0.94);
    color: #475569;
    box-shadow: 0 12px 24px rgba(148, 163, 184, 0.1);
    transition:
        transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 180ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 180ms cubic-bezier(0.22, 1, 0.36, 1),
        color 180ms cubic-bezier(0.22, 1, 0.36, 1);
}

.student-flow-scroll:hover:not(:disabled) {
    transform: translateY(-1px);
    color: var(--flow-primary);
    border-color: rgba(125, 211, 252, 0.85);
    box-shadow: 0 16px 28px rgba(148, 163, 184, 0.14);
}

.student-flow-scroll:disabled {
    cursor: default;
    opacity: 0.42;
    box-shadow: none;
}

.student-flow-scroll svg {
    height: 1rem;
    width: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.student-flow-track-viewport {
    overflow-x: auto;
    padding: 0.2rem 0.15rem 0.4rem;
    scrollbar-width: none;
    scroll-behavior: smooth;
    cursor: grab;
}

.student-flow-track-viewport::-webkit-scrollbar {
    display: none;
}

.student-flow-track-viewport.is-dragging {
    cursor: grabbing;
}

.student-flow-track {
    display: flex;
    align-items: stretch;
    gap: 0.95rem;
    min-width: max-content;
}

.student-flow-track__step {
    display: flex;
    align-items: center;
    gap: 0.95rem;
}

.student-flow-track__step-card {
    width: var(--platform-step-card-width);
    min-width: var(--platform-step-card-width);
    height: var(--platform-step-card-height);
    min-height: var(--platform-step-card-height);
    display: grid;
    grid-template-rows: auto auto 1fr;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 32px rgba(148, 163, 184, 0.09);
    scroll-snap-align: start;
    transition:
        transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 200ms cubic-bezier(0.22, 1, 0.36, 1),
        background 200ms cubic-bezier(0.22, 1, 0.36, 1);
    animation: student-flow-rise 620ms cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: var(--step-delay, 0ms);
}

.student-flow-track__step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 40px rgba(148, 163, 184, 0.14);
}

.student-flow-track__step-card[data-status="completed"] {
    border-color: rgba(203, 213, 225, 0.82);
    background: var(--flow-card-surface);
}

.student-flow-card--innovation .student-flow-track__step-card[data-status="completed"] {
    border-color: rgba(56, 189, 248, 0.28);
}

.student-flow-card--career .student-flow-track__step-card[data-status="completed"] {
    border-color: rgba(16, 185, 129, 0.26);
}

.student-flow-track__step-card[data-status="active"] {
    transform: translateY(-2px) scale(1.015);
    border-color: rgba(148, 163, 184, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
    box-shadow:
        0 22px 44px rgba(15, 23, 42, 0.08),
        0 0 0 1px var(--flow-glow);
}

.student-flow-card--innovation .student-flow-track__step-card[data-status="active"] {
    border-color: rgba(14, 165, 233, 0.28);
}

.student-flow-card--career .student-flow-track__step-card[data-status="active"] {
    border-color: rgba(5, 150, 105, 0.28);
}

.student-flow-track__step-card[data-status="upcoming"] {
    background: rgba(248, 250, 252, 0.92);
}

.student-flow-track__step-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.student-flow-track__step-index,
.student-flow-track__step-state {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.student-flow-track__step-index {
    color: #94a3b8;
}

.student-flow-track__step-state {
    padding: 0.36rem 0.62rem;
    color: #64748b;
    background: rgba(241, 245, 249, 0.98);
}

.student-flow-track__step-card[data-status="completed"] .student-flow-track__step-state {
    background: var(--flow-soft);
    color: var(--flow-contrast);
}

.student-flow-track__step-card[data-status="active"] .student-flow-track__step-state {
    background: linear-gradient(135deg, var(--flow-soft), var(--flow-soft-strong));
    color: var(--flow-contrast);
    box-shadow: 0 10px 20px var(--flow-glow);
}

.student-flow-track__icon {
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
}

.student-flow-track__icon svg {
    height: 1.3rem;
    width: 1.3rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.85;
}

.student-flow-track__icon--innovation {
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.96), rgba(207, 250, 254, 0.92));
    color: #0284c7;
    box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.15);
}

.student-flow-track__icon--career {
    background: linear-gradient(135deg, rgba(220, 252, 231, 0.96), rgba(236, 253, 245, 0.92));
    color: #059669;
    box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.14);
}

.student-flow-track__copy {
    min-width: 0;
}

.student-flow-track__copy h4 {
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.42;
}

.student-flow-track__copy p {
    display: -webkit-box;
    margin-top: 0.36rem;
    color: #64748b;
    font-size: 0.77rem;
    line-height: 1.62;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.student-flow-track__connector {
    position: relative;
    width: var(--platform-connector-width);
    min-width: var(--platform-connector-width);
    height: 0.28rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(226, 232, 240, 0.84);
}

.student-flow-track__connector-fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--flow-primary), var(--flow-secondary));
    box-shadow: 0 8px 20px var(--flow-glow);
    transition: width 520ms cubic-bezier(0.22, 1, 0.36, 1);
    animation: student-connector-fill 780ms ease-out both;
}

.student-flow-track__connector[data-status="completed"] .student-flow-track__connector-fill {
    width: 100%;
}

.student-flow-track__connector[data-status="active"] .student-flow-track__connector-fill {
    width: 56%;
}

.student-flow-track__connector[data-status="upcoming"] .student-flow-track__connector-fill {
    width: 0;
}

@keyframes student-flow-rise {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes student-connector-fill {
    from {
        opacity: 0;
        transform: scaleX(0.2);
        transform-origin: left center;
    }
    to {
        opacity: 1;
        transform: scaleX(1);
        transform-origin: left center;
    }
}

@media (max-width: 767px) {
    .student-flow-card__status {
        width: 100%;
        justify-items: start;
    }

    .student-flow-card__viewport-wrap {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.75rem;
        padding-inline: 0.85rem;
    }

    .student-flow-scroll {
        display: none;
    }

    .student-platform-grid {
        --platform-step-card-width: 15.25rem;
        --platform-step-card-height: 12.1rem;
        --platform-connector-width: 3.25rem;
    }
}

.ui-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 520ms cubic-bezier(0.22, 1, 0.36, 1), transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.ui-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.internship-track-switch {
    display: flex;
    justify-content: center;
}

.internship-track-switch__tabs {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    width: min(100%, 36rem);
    padding: 0.35rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(226, 232, 240, 0.96);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.06);
}

.internship-track-switch__tab {
    display: grid;
    gap: 0.18rem;
    padding: 0.95rem 1rem;
    border-radius: 0.95rem;
    color: #64748b;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.internship-track-switch__tab:hover {
    transform: translateY(-1px);
    color: #0f172a;
    background: rgba(248, 250, 252, 0.95);
}

.internship-track-switch__tab.is-active {
    color: #0f172a;
    background: linear-gradient(135deg, rgba(239, 248, 255, 0.98), rgba(236, 253, 245, 0.92));
    box-shadow: 0 16px 30px rgba(14, 165, 233, 0.12);
}

.internship-track-switch__label {
    font-size: 0.94rem;
    font-weight: 700;
}

.internship-track-switch__caption {
    font-size: 0.76rem;
    color: #64748b;
}

.internship-team-rail {
    padding: 1.25rem;
}

.internship-team-rail__head {
    margin-bottom: 0.95rem;
}

.internship-team-rail__list {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
}

.internship-team-pill {
    min-width: 13rem;
    display: grid;
    gap: 0.18rem;
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.96);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.internship-team-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.7);
    box-shadow: 0 18px 34px rgba(14, 165, 233, 0.08);
}

.internship-team-pill.is-active {
    border-color: rgba(14, 165, 233, 0.45);
    background: linear-gradient(135deg, rgba(239, 248, 255, 0.98), rgba(240, 253, 250, 0.94));
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.12);
}

.internship-team-pill__title {
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 700;
}

.internship-team-pill__meta,
.internship-team-pill__foot {
    color: #64748b;
    font-size: 0.76rem;
}

.internship-summary {
    display: grid;
    gap: 1.3rem;
    padding: 1.5rem;
    background:
        radial-gradient(circle at top right, rgba(186, 230, 253, 0.3), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.internship-summary__main {
    display: grid;
    gap: 0.55rem;
}

.internship-summary__kicker {
    color: #0369a1;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.internship-summary__title {
    color: #0f172a;
    font-size: clamp(1.6rem, 2vw, 2.15rem);
    font-weight: 700;
    line-height: 1.1;
}

.internship-summary__copy,
.internship-summary__members {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.7;
}

.internship-summary__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.internship-summary__chip {
    display: inline-flex;
    align-items: center;
    min-height: 2.2rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(186, 230, 253, 0.84);
    color: #0f172a;
    font-size: 0.77rem;
    font-weight: 700;
}

.internship-summary__side {
    display: grid;
    gap: 0.9rem;
    align-content: start;
}

.internship-summary__score {
    display: grid;
    gap: 0.22rem;
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.92);
}

.internship-summary__score-label {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.internship-summary__score strong {
    color: #0f172a;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1;
}

.internship-summary__score p {
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.6;
}

.internship-summary__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.internship-summary__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    padding: 0.72rem 1.05rem;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 700;
    box-shadow: 0 16px 28px rgba(14, 165, 233, 0.18);
    transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.internship-summary__action:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(14, 165, 233, 0.22);
    filter: brightness(1.02);
}

.internship-summary__action--warning {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    box-shadow: 0 16px 28px rgba(249, 115, 22, 0.18);
}

.internship-step-panel {
    overflow: hidden;
}

.internship-step-panel__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.95rem;
    padding: 1.45rem 1.5rem 0;
}

.internship-step-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.internship-step-grid {
    display: grid;
    gap: 1rem;
    padding: 1.35rem 1.5rem 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.internship-step-card {
    display: grid;
    gap: 0.75rem;
    min-height: 18.25rem;
    padding: 1rem;
    border-radius: 1.1rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.05);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.internship-step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.08);
}

.internship-step-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.internship-step-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 0.95rem;
    background: rgba(224, 242, 254, 0.9);
    color: #0284c7;
}

.internship-step-card__icon svg {
    width: 1.3rem;
    height: 1.3rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.internship-step-card__status {
    display: inline-flex;
    align-items: center;
    min-height: 1.95rem;
    padding: 0.24rem 0.62rem;
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.internship-step-card__status.is-completed {
    background: rgba(220, 252, 231, 0.96);
    color: #047857;
}

.internship-step-card__status.is-active {
    background: rgba(224, 242, 254, 0.98);
    color: #0369a1;
    box-shadow: 0 0 0 4px rgba(186, 230, 253, 0.3);
}

.internship-step-card__status.is-upcoming {
    background: rgba(241, 245, 249, 0.96);
    color: #64748b;
}

.internship-step-card h3 {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.internship-step-card > p {
    color: #475569;
    font-size: 0.84rem;
    line-height: 1.65;
}

.internship-step-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.internship-step-card__meta span {
    color: #64748b;
    font-size: 0.73rem;
    font-weight: 700;
}

.internship-step-card__score {
    color: #0f172a;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.internship-step-card__session {
    display: grid;
    gap: 0.2rem;
    padding: 0.85rem;
    border-radius: 0.95rem;
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.internship-step-card__session strong {
    color: #0f172a;
    font-size: 0.84rem;
    font-weight: 700;
}

.internship-step-card__session span {
    color: #64748b;
    font-size: 0.74rem;
    line-height: 1.55;
}

.internship-step-card__action {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(186, 230, 253, 0.9);
    background: linear-gradient(135deg, rgba(239, 248, 255, 0.98), rgba(240, 253, 250, 0.95));
    color: #0369a1;
    font-size: 0.83rem;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.internship-step-card__action:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, 0.55);
    box-shadow: 0 16px 28px rgba(14, 165, 233, 0.08);
}

.internship-process-panel {
    --track-start: #0284c7;
    --track-end: #14b8a6;
    --track-soft: rgba(224, 242, 254, 0.92);
    --track-border: rgba(125, 211, 252, 0.58);
    overflow: hidden;
}

.internship-process-panel.is-skill {
    --track-start: #059669;
    --track-end: #06b6d4;
    --track-soft: rgba(209, 250, 229, 0.9);
    --track-border: rgba(110, 231, 183, 0.62);
}

.internship-process-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    background:
        radial-gradient(circle at 95% 0%, color-mix(in srgb, var(--track-soft) 78%, transparent), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.internship-process-panel__title {
    max-width: 48rem;
}

.internship-process-panel__title span {
    color: var(--track-start);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

.internship-process-panel__title h2 {
    margin-top: 0.35rem;
    color: #0f172a;
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    font-weight: 750;
    line-height: 1.15;
}

.internship-process-panel__title p {
    margin-top: 0.38rem;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.6;
}

.internship-process-panel__meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.internship-process-progress {
    min-width: 10.5rem;
    display: grid;
    gap: 0.45rem;
    padding: 0.75rem 0.85rem;
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.94);
    background: rgba(255, 255, 255, 0.86);
}

.internship-process-progress__copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
}

.internship-process-progress__copy span {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.internship-process-progress__copy strong {
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 800;
}

.internship-process-progress__bar {
    height: 0.42rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.internship-process-progress__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--track-start), var(--track-end));
    transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.internship-process-panel__action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8rem;
    white-space: nowrap;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, var(--track-start), var(--track-end));
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.72rem 1rem;
    box-shadow: 0 16px 30px color-mix(in srgb, var(--track-start) 22%, transparent);
    transition: transform 170ms ease, box-shadow 170ms ease, filter 170ms ease;
}

.internship-process-panel__action:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
    box-shadow: 0 20px 38px color-mix(in srgb, var(--track-start) 28%, transparent);
}

.internship-process-track-wrap {
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    padding: 1.15rem 1.35rem 1.35rem;
}

.internship-process-track {
    display: flex;
    gap: 1rem;
    width: max-content;
}

.internship-process-step {
    position: relative;
    flex: 0 0 16.5rem;
}

.internship-process-step + .internship-process-step::before {
    content: "";
    position: absolute;
    left: -1rem;
    top: 2.15rem;
    width: 1rem;
    height: 2px;
    background: #cbd5e1;
}

.internship-process-step.is-completed + .internship-process-step::before,
.internship-process-step.is-active + .internship-process-step::before {
    background: linear-gradient(90deg, var(--track-start), var(--track-end));
}

.internship-process-card {
    display: flex;
    min-height: 18rem;
    height: 18rem;
    flex-direction: column;
    gap: 0.68rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.96);
    padding: 1rem;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.052);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.internship-process-card:hover {
    transform: translateY(-2px);
    border-color: var(--track-border);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.08);
}

.internship-process-step.is-active .internship-process-card {
    border-color: var(--track-border);
    box-shadow:
        0 24px 44px color-mix(in srgb, var(--track-start) 14%, transparent),
        0 0 0 4px color-mix(in srgb, var(--track-soft) 70%, transparent);
}

.internship-process-step.is-upcoming .internship-process-card {
    background: rgba(248, 250, 252, 0.92);
}

.internship-process-card__top,
.internship-process-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.internship-process-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 2.4rem;
    width: 2.4rem;
    border-radius: 0.9rem;
    background: var(--track-soft);
    color: var(--track-start);
}

.internship-process-card__icon svg {
    height: 1.14rem;
    width: 1.14rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.85;
}

.internship-process-card__status,
.internship-process-card__group {
    display: inline-flex;
    align-items: center;
    width: max-content;
    min-height: 1.65rem;
    border-radius: 999px;
    padding: 0.18rem 0.55rem;
    font-size: 0.62rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.internship-process-card__status.is-completed {
    background: rgba(220, 252, 231, 0.96);
    color: #047857;
}

.internship-process-card__status.is-active {
    background: var(--track-soft);
    color: var(--track-start);
}

.internship-process-card__status.is-upcoming {
    background: rgba(241, 245, 249, 0.96);
    color: #64748b;
}

.internship-process-card__group {
    background: rgba(248, 250, 252, 0.96);
    color: #64748b;
}

.internship-process-card h3 {
    color: #0f172a;
    font-size: 0.96rem;
    font-weight: 780;
    line-height: 1.25;
}

.internship-process-card p {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.5;
}

.internship-process-card__foot {
    margin-top: auto;
}

.internship-process-card__foot div {
    display: grid;
    gap: 0.1rem;
}

.internship-process-card__actions {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem !important;
}

.internship-process-card__foot span,
.internship-process-card__session span {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 700;
}

.internship-process-card__foot strong {
    color: #0f172a;
    font-size: 1.12rem;
    font-weight: 800;
}

.internship-process-card__foot a,
.internship-process-card__foot button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.2rem;
    border-radius: 0.72rem;
    border: 1px solid var(--track-border);
    background: #ffffff;
    color: var(--track-start);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.5rem 0.72rem;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.internship-process-card__foot button {
    cursor: pointer;
}

.internship-process-card__foot a:hover,
.internship-process-card__foot button:hover {
    transform: translateY(-1px);
    background: var(--track-soft);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--track-start) 14%, transparent);
}

.internship-process-card__session {
    display: grid;
    gap: 0.16rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(226, 232, 240, 0.86);
    background: rgba(248, 250, 252, 0.82);
    padding: 0.72rem;
}

.internship-process-card__session strong {
    color: #0f172a;
    font-size: 0.76rem;
    font-weight: 760;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.internship-table-card,
.internship-side-card {
    overflow: hidden;
}

.internship-table-card__head,
.internship-side-card__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.95rem;
    padding: 1.35rem 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.internship-side-card__value {
    color: #0369a1;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
}

.internship-table-shell {
    overflow-x: auto;
}

.internship-table {
    width: 100%;
    border-collapse: collapse;
}

.internship-table thead {
    background: rgba(248, 250, 252, 0.96);
}

.internship-table th,
.internship-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    vertical-align: top;
}

.internship-table th {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.internship-table tbody tr + tr {
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.internship-table td {
    color: #334155;
    font-size: 0.86rem;
    line-height: 1.65;
}

.internship-table td strong {
    display: block;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 700;
}

.internship-table td span {
    display: block;
    color: #64748b;
    font-size: 0.76rem;
    margin-top: 0.12rem;
}

.internship-table__empty {
    color: #64748b;
    font-size: 0.86rem;
}

.internship-inline-chip {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.18rem 0.72rem;
    border-radius: 999px;
    background: rgba(239, 248, 255, 0.96);
    color: #0369a1;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.internship-inline-chip--strong {
    background: rgba(220, 252, 231, 0.96);
    color: #047857;
}

.internship-side-card__stack {
    display: grid;
    gap: 0.7rem;
    padding: 1.2rem 1.5rem 0;
}

.internship-side-card__info {
    display: grid;
    gap: 0.18rem;
    padding: 0.9rem 1rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: rgba(248, 250, 252, 0.92);
}

.internship-side-card__info strong {
    color: #0f172a;
    font-size: 0.83rem;
    font-weight: 700;
}

.internship-side-card__info span {
    color: #475569;
    font-size: 0.8rem;
    line-height: 1.55;
}

.internship-breakdown,
.internship-session-list {
    display: grid;
    gap: 0.75rem;
    padding: 1.2rem 1.5rem 1.5rem;
}

.internship-breakdown__row,
.internship-session-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 0.95rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.96);
}

.internship-breakdown__row span,
.internship-session-item span,
.internship-session-item small {
    color: #64748b;
    font-size: 0.76rem;
}

.internship-breakdown__row strong,
.internship-session-item strong {
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 700;
}

.internship-session-item {
    display: grid;
    justify-content: start;
}

.internship-session-item:hover {
    border-color: rgba(125, 211, 252, 0.82);
    background: rgba(240, 249, 255, 0.86);
}

.internship-session-list__empty {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.6;
}

.student-report-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid rgba(125, 211, 252, 0.42);
    background:
        radial-gradient(circle at 15% 20%, rgba(186, 230, 253, 0.72), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(236, 253, 245, 0.86));
    padding: 1.5rem;
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.08);
}

.student-report-kicker {
    color: #0284c7;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.student-report-hero h2 {
    margin-top: 0.45rem;
    color: #0f172a;
    font-size: clamp(1.5rem, 2vw, 2.15rem);
    font-weight: 760;
    letter-spacing: -0.045em;
}

.student-report-hero p {
    margin-top: 0.65rem;
    max-width: 58rem;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.75;
}

.student-report-score {
    display: grid;
    min-width: 8.5rem;
    place-items: center;
    border-radius: 1.35rem;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    padding: 1rem;
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(14, 165, 233, 0.25);
}

.student-report-score.is-strong,
.student-report-mini-score.is-strong .student-report-mini-score__ring {
    background: linear-gradient(135deg, #0ea5e9, #10b981);
}

.student-report-score.is-average,
.student-report-mini-score.is-average .student-report-mini-score__ring {
    background: linear-gradient(135deg, #f59e0b, #facc15);
}

.student-report-score.is-weak,
.student-report-mini-score.is-weak .student-report-mini-score__ring {
    background: linear-gradient(135deg, #fb7185, #ef4444);
}

.student-report-score span,
.student-report-score small {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    opacity: 0.82;
    text-transform: uppercase;
}

.student-report-score strong {
    font-size: 2.45rem;
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1;
}

.student-report-bars {
    display: grid;
    gap: 0.85rem;
}

.student-report-bar {
    display: grid;
    gap: 0.45rem;
}

.student-report-bar__copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: #475569;
    font-size: 0.84rem;
    font-weight: 650;
}

.student-report-bar__copy strong {
    color: #0f172a;
}

.student-report-bar__track {
    height: 0.7rem;
    overflow: hidden;
    border-radius: 999px;
    background: #eaf2f8;
}

.student-report-bar__track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
    transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Score Bar Chart (grade-by-subject style) */
.score-bar-chart {
    position: relative;
    z-index: 5;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 1.25rem;
    margin: 0 0.95rem 0.95rem;
    padding: 0.85rem 0.95rem;
    max-width: calc(100% - 1.9rem);
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.055);
}

.score-bar-chart::before,
.report-line-chart::before,
.report-radar-graph::before,
.report-analytics-card--dark::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(105deg, transparent 0 35%, rgba(255, 255, 255, 0.44) 45%, transparent 56% 100%);
    opacity: 0;
    transform: translateX(-100%);
    animation: none;
}

.score-bar-chart__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.68rem;
    border-bottom: 1px solid #f1f5f9;
}

.score-bar-chart__header h3 {
    font-size: 1.05rem;
    font-weight: 720;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.score-bar-chart__header span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
}

.score-bar-chart__canvas {
    display: grid;
    grid-template-columns: repeat(var(--bar-count), minmax(4.4rem, 1fr));
    justify-content: stretch;
    gap: 0.35rem;
    min-height: 9.25rem;
    overflow: visible;
    padding: 0.45rem 0.35rem 0;
    background:
        linear-gradient(to top, rgba(226, 232, 240, 0.52) 1px, transparent 1px),
        linear-gradient(90deg, rgba(226, 232, 240, 0.28) 1px, transparent 1px);
    background-size: 100% 25%, 10% 100%;
}

.score-bar-column {
    position: relative;
    display: grid;
    grid-template-rows: 5.9rem auto auto;
    justify-items: center;
    min-width: 0;
    outline: none;
}

.score-bar-column__plot {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 5.9rem;
    width: min(4.35rem, 74%);
    overflow: visible;
    border-radius: 0.6rem 0.6rem 0.18rem 0.18rem;
    background: transparent;
    border-bottom: 1px solid rgba(148, 163, 184, 0.24);
}

.score-bar-column__fill {
    position: relative;
    width: 100%;
    min-height: 0.18rem;
    overflow: hidden;
    border-radius: 0.34rem 0.34rem 0.1rem 0.1rem;
    box-shadow: 0 12px 24px rgba(14, 165, 233, 0.16);
    transform: scaleY(0);
    transform-origin: bottom;
    animation: none;
}

.score-bar-chart.is-report-visible .score-bar-column__fill {
    animation: barRevealSlow 2.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.score-bar-column__fill::before,
.score-bar-column__fill::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 26%;
    background: rgba(255, 255, 255, 0.24);
}

.score-bar-column__fill::before {
    top: 33%;
}

.score-bar-column__fill::after {
    top: 66%;
}

.score-bar-column__label {
    display: -webkit-box;
    margin-top: 0.38rem;
    min-height: 1.85rem;
    overflow: hidden;
    color: #334155;
    font-size: 0.68rem;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.score-bar-column small {
    margin-top: 0.12rem;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
}

.score-bar-column::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    top: 0.25rem;
    bottom: auto;
    z-index: 30;
    width: max-content;
    max-width: 13rem;
    border-radius: 0.75rem;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 750;
    line-height: 1.35;
    opacity: 0;
    padding: 0.45rem 0.62rem;
    pointer-events: none;
    transform: translateX(-50%) translateY(0.35rem);
    transition: opacity 160ms ease, transform 160ms ease;
}

.score-bar-column:hover::after,
.score-bar-column:focus-visible::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@keyframes barGrow {
    from { height: 0 !important; }
}

@keyframes barRevealSlow {
    from {
        opacity: 0.28;
        transform: scaleY(0);
    }
    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

@keyframes reportBarPulse {
    0%, 100% { filter: saturate(1) brightness(1); transform: translateY(0); }
    45% { filter: saturate(1.12) brightness(1.04); transform: translateY(-2px); }
}

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

.student-report-mini-score {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: rgba(255, 255, 255, 0.96);
    padding: 1rem;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
}

.student-report-mini-score__ring {
    display: grid;
    height: 4.2rem;
    width: 4.2rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 999px;
    color: #ffffff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.student-report-mini-score__ring strong {
    font-size: 1.35rem;
    font-weight: 800;
}

.student-report-mini-score span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.student-report-mini-score h3 {
    margin-top: 0.25rem;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 750;
}

.student-report-mini-score p {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.45;
}

.student-report-section {
    overflow: visible;
    border-radius: 1.4rem;
    border: 1px solid rgba(226, 232, 240, 0.94);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.08);
}

.student-report-section__head {
    position: relative;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    padding: 1rem 1.15rem;
}

.student-report-section__head p {
    color: #0284c7;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.student-report-section__head h2 {
    margin-top: 0.25rem;
    color: #0f172a;
    font-size: 1.18rem;
    font-weight: 780;
    letter-spacing: -0.035em;
}

.student-report-section__head span {
    display: block;
    margin-top: 0.32rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.5;
}

.report-track-menu {
    position: relative;
    z-index: 1200;
    flex: 0 0 auto;
}

.report-head-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
}

.report-download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(14, 165, 233, 0.28);
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: #ffffff;
    min-height: 2.55rem;
    padding: 0 0.92rem;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    box-shadow: 0 16px 32px rgba(14, 165, 233, 0.18);
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.report-download-button:hover,
.report-download-button:focus-visible {
    transform: translateY(-1px);
    filter: saturate(1.08);
    box-shadow: 0 20px 42px rgba(14, 165, 233, 0.24);
}

.report-download-button svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.report-track-menu[open] {
    z-index: 1600;
}

.report-track-menu > summary {
    display: flex;
    min-width: 13rem;
    cursor: pointer;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.46);
    background: linear-gradient(135deg, rgba(239, 248, 255, 0.98), rgba(236, 253, 245, 0.94));
    color: #0f172a;
    padding: 0.58rem 0.72rem 0.58rem 0.9rem;
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.1);
}

.report-track-menu > summary::-webkit-details-marker {
    display: none;
}

.report-track-menu > summary span {
    margin: 0;
    color: #0369a1;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.report-track-menu > summary strong {
    border-radius: 999px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.76rem;
    font-weight: 850;
    padding: 0.28rem 0.52rem;
}

.report-track-menu__panel {
    position: absolute;
    right: 0;
    top: calc(100% + 0.55rem);
    z-index: 1610;
    display: grid;
    width: min(19rem, calc(100vw - 2rem));
    gap: 0.45rem;
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: #ffffff;
    padding: 0.55rem;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.35rem);
    transition: opacity 160ms ease, transform 160ms ease;
}

.report-track-menu[open] .report-track-menu__panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.report-track-menu__panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-radius: 0.82rem;
    color: #475569;
    padding: 0.7rem 0.78rem;
    text-decoration: none;
}

.report-track-menu__panel a:hover,
.report-track-menu__panel a.is-active {
    background: #f0f9ff;
    color: #0369a1;
}

.report-track-menu__panel a span {
    color: inherit;
    font-size: 0.82rem;
    font-weight: 760;
}

.report-track-menu__panel a strong {
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 850;
    white-space: nowrap;
}

@media (max-width: 760px) {
    .student-report-section__head,
    .report-head-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .report-track-menu > summary,
    .report-download-button {
        width: 100%;
    }
}

.student-report-process-grid {
    position: relative;
    z-index: 60;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 1rem 1rem 0.85rem;
}

.student-report-process-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 1.1rem;
    min-height: 7.8rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background:
        radial-gradient(circle at 20% 15%, rgba(240, 249, 255, 0.88), transparent 40%),
        #ffffff;
    padding: 1.05rem;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
    animation: none;
}

.student-report-process-card:hover,
.student-report-process-card:focus-visible {
    z-index: 700;
    border-color: rgba(125, 211, 252, 0.85);
    box-shadow: 0 18px 42px rgba(14, 165, 233, 0.12);
    transform: translateY(-2px);
}

.student-report-ring {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    --ring-reveal: 0%;
    display: grid;
    height: 6.45rem;
    width: 6.45rem;
    place-items: center;
    border-radius: 999px;
    background: #eaf2f8;
    margin-inline: auto;
    box-shadow:
        inset -0.65rem -0.75rem 1.5rem rgba(15, 23, 42, 0.1),
        inset 0.5rem 0.45rem 1rem rgba(255, 255, 255, 0.72),
        0 1.1rem 2.2rem color-mix(in srgb, var(--ring) 22%, transparent);
    transition: background 320ms ease, transform 180ms ease;
    animation: none;
}

.student-report-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    background: var(--ring-bg, conic-gradient(var(--ring) var(--score), #eaf2f8 0));
    -webkit-mask: conic-gradient(#000 0 var(--ring-reveal), transparent var(--ring-reveal) 100%);
    mask: conic-gradient(#000 0 var(--ring-reveal), transparent var(--ring-reveal) 100%);
    animation: none;
}

.student-report-process-card.is-report-visible .student-report-ring::before {
    animation: ringSegmentReveal 2.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.student-report-ring::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background:
        radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.98) 0 7%, rgba(255, 255, 255, 0.5) 8% 17%, transparent 18%),
        radial-gradient(circle at 72% 82%, rgba(15, 23, 42, 0.1), transparent 34%);
    pointer-events: none;
}

.student-report-ring > div {
    position: relative;
    z-index: 2;
    display: grid;
    height: 4.55rem;
    width: 4.55rem;
    place-items: center;
    border-radius: inherit;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.92);
}

.student-report-ring strong {
    color: #0f172a;
    font-size: 1.55rem;
    font-weight: 820;
    line-height: 1;
}

.student-report-ring span {
    margin-top: -0.7rem;
    color: #64748b;
    font-size: 0.66rem;
    font-weight: 760;
}

.student-report-process-card__copy {
    min-width: 0;
    text-align: left;
}

.student-report-process-card__copy h3 {
    color: #0f172a;
    font-size: 1.08rem;
    font-weight: 780;
}

.student-report-process-card__copy p {
    display: -webkit-box;
    margin-top: 0.18rem;
    overflow: hidden;
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.student-report-process-card__copy span {
    display: inline-flex;
    margin-top: 0.42rem;
    border-radius: 999px;
    background: #f1f5f9;
    padding: 0.35rem 0.65rem;
    color: #475569;
    font-size: 0.62rem;
    font-weight: 820;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.student-report-process-card.is-strong .student-report-process-card__copy span {
    background: #dcfce7;
    color: #047857;
}

.student-report-process-card.is-average .student-report-process-card__copy span {
    background: #fef3c7;
    color: #b45309;
}

.student-report-process-card.is-weak .student-report-process-card__copy span {
    background: #ffe4e6;
    color: #be123c;
}

.student-report-process-card__detail {
    position: absolute;
    top: calc(100% + 0.5rem);
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-0.25rem);
    z-index: 980;
    width: min(17.5rem, calc(100vw - 2rem));
    max-width: none;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(15, 23, 42, 0.05);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.student-report-ring:hover ~ .student-report-process-card__detail,
.student-report-process-card__detail:hover,
.student-report-process-card:focus-visible .student-report-process-card__detail,
.student-report-process-card:focus-within .student-report-process-card__detail {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    padding: 0.72rem;
}

.student-report-process-card__detail > strong {
    display: block;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
}

.student-report-process-card__items {
    display: grid;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.student-report-process-card__items div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    border-radius: 0.65rem;
    background: #f8fafc;
    padding: 0.45rem 0.55rem;
}

.student-report-process-card__items span,
.student-report-process-card__items small,
.student-report-process-card__note,
.student-report-process-card__detail small {
    color: #64748b;
    font-size: 0.74rem;
    line-height: 1.4;
}

.student-report-process-card__items strong {
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.student-report-process-card__note {
    margin-top: 0.5rem;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.process-card--training {
    background:
        radial-gradient(circle at 10% 15%, rgba(124, 58, 237, 0.12), transparent 42%),
        #ffffff;
}

.process-card--assessment,
.process-card--discovery {
    background:
        radial-gradient(circle at 10% 15%, rgba(14, 165, 233, 0.13), transparent 42%),
        #ffffff;
}

.process-card--behaviour {
    background:
        radial-gradient(circle at 10% 15%, rgba(245, 158, 11, 0.14), transparent 42%),
        #ffffff;
}

.process-card--solution {
    background:
        radial-gradient(circle at 10% 15%, rgba(16, 185, 129, 0.13), transparent 42%),
        #ffffff;
}

.process-card--execution {
    background:
        radial-gradient(circle at 10% 15%, rgba(37, 99, 235, 0.13), transparent 42%),
        #ffffff;
}

@keyframes reportCardBreath {
    0%, 100% { box-shadow: 0 16px 38px rgba(15, 23, 42, 0.045); }
    50% { box-shadow: 0 20px 46px rgba(14, 165, 233, 0.09); }
}

@keyframes ringBreath {
    0%, 100% { transform: scale(1); filter: saturate(1); }
    50% { transform: scale(1.025); filter: saturate(1.1); }
}

@keyframes ringSegmentGlow {
    0%, 100% { filter: saturate(1) brightness(1); }
    50% { filter: saturate(1.22) brightness(1.08); }
}

.report-step-analytics-row {
    position: relative;
    z-index: 20;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    align-items: stretch;
    margin: 0 0.95rem 0.95rem;
}

.report-step-analytics-row .score-bar-chart {
    height: 100%;
    margin: 0;
    max-width: none;
}

.report-step-analytics-row .score-bar-chart__canvas {
    grid-template-columns: repeat(var(--bar-count), minmax(3.75rem, 1fr));
    gap: 0.28rem;
    min-height: 12.2rem;
    padding-inline: 0.32rem;
    background-size: 100% 25%, 12.5% 100%;
}

.report-step-analytics-row .score-bar-column {
    grid-template-rows: 8.5rem auto auto;
}

.report-step-analytics-row .score-bar-column__plot {
    height: 8.5rem;
    width: min(3.35rem, 68%);
}

.report-step-analytics-row .score-bar-column__label {
    min-height: 1.55rem;
    font-size: 0.64rem;
}

.report-step-analytics-row .score-bar-column small {
    font-size: 0.68rem;
}

.report-step-analytics-row > .report-analytics-card--radar {
    grid-column: auto !important;
    height: 100%;
    padding: 0.95rem;
}

.report-step-analytics-row .report-radar-graph {
    min-height: 15.8rem;
}

.report-step-analytics-row .report-radar-graph svg {
    height: 15.9rem;
    width: min(100%, 19rem);
}

.report-step-analytics-row .report-radar-legend {
    gap: 0.35rem;
    margin-top: 0.55rem;
}

.report-step-analytics-row .report-radar-legend span {
    padding: 0.36rem 0.44rem;
}

.student-report-analytics-board {
    max-width: calc(100% - 1.9rem);
    margin: 0 0.95rem 1rem;
    overflow: hidden;
    border-radius: 1.55rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background:
        radial-gradient(circle at 12% 5%, rgba(186, 230, 253, 0.42), transparent 26%),
        radial-gradient(circle at 92% 10%, rgba(187, 247, 208, 0.44), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.07);
}

.student-report-analytics-board__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.2rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.82);
}

.student-report-analytics-board__head p,
.report-kpi-card p,
.report-analytics-card__head p,
.report-analytics-card--dark > p {
    color: #0284c7;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.student-report-analytics-board__head h3 {
    margin-top: 0.3rem;
    color: #0f172a;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 850;
    letter-spacing: -0.04em;
}

.student-report-analytics-board__head span {
    display: block;
    margin-top: 0.3rem;
    max-width: 64rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.6;
}

.student-report-analytics-board__score {
    display: grid;
    min-width: 7.5rem;
    place-items: center;
    border-radius: 1.25rem;
    background: #f1f5f9;
    color: #0f172a;
    padding: 0.8rem 0.95rem;
}

.student-report-analytics-board__score strong {
    font-size: 1.7rem;
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
}

.student-report-analytics-board__score span {
    margin-top: 0.18rem;
    color: #64748b;
    font-size: 0.66rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.report-kpi-grid {
    display: grid;
    grid-template-columns: minmax(20rem, 0.82fr) minmax(28rem, 1.58fr);
    gap: 0.9rem;
    align-items: stretch;
    padding: 1rem 1.15rem 0;
}

.report-kpi-card,
.report-analytics-card {
    min-width: 0;
    border-radius: 1.25rem;
    border: 1px solid rgba(226, 232, 240, 0.86);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.045);
}

.report-kpi-card {
    padding: 1rem;
}

.report-kpi-card h4,
.report-analytics-card h4 {
    color: #0f172a;
    font-size: 1.02rem;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.report-kpi-card > span,
.report-analytics-card__head span {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.report-kpi-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.85rem;
}

.report-kpi-card dl div,
.report-context-list div {
    border-radius: 0.95rem;
    background: rgba(248, 250, 252, 0.92);
    padding: 0.7rem;
}

.report-kpi-card dt,
.report-context-list dt {
    color: #64748b;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.report-kpi-card dd,
.report-context-list dd {
    display: block;
    margin-top: 0.18rem;
    color: #0f172a;
    font-size: 0.8rem;
    font-weight: 820;
    line-height: 1.35;
}

.report-orbit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-self: start;
    gap: 0.75rem;
}

.report-orbit-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.75rem;
    min-height: 6.4rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(226, 232, 240, 0.86);
    background:
        radial-gradient(circle at 10% 10%, rgba(240, 249, 255, 0.94), transparent 48%),
        #ffffff;
    padding: 0.9rem;
}

.report-orbit {
    display: grid;
    height: 4.45rem;
    width: 4.45rem;
    place-items: center;
    border-radius: 999px;
    background:
        radial-gradient(circle at center, #ffffff 0 52%, transparent 53%),
        conic-gradient(var(--ring) var(--score), #eaf2f8 0);
    animation: none;
}

.report-orbit strong {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 900;
}

.report-orbit-card p {
    color: #0f172a;
    font-size: 0.86rem;
    letter-spacing: 0;
    text-transform: none;
}

.report-orbit-card span {
    display: block;
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.35;
}

.report-analytics-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.9rem;
    padding: 0.9rem 1.15rem 1.15rem;
}

.report-analytics-card {
    padding: 1rem;
}

.report-analytics-card--wide {
    grid-column: span 7;
}

.report-analytics-card:not(.report-analytics-card--wide):not(.report-analytics-card--dark):not(.report-analytics-card--pathway):not(.report-analytics-card--compact) {
    grid-column: span 5;
}

.report-analytics-card--dark {
    position: relative;
    grid-column: span 5;
    overflow: hidden;
    border-color: rgba(125, 211, 252, 0.55);
    background:
        radial-gradient(circle at 90% -4%, rgba(56, 189, 248, 0.42), transparent 38%),
        radial-gradient(circle at 0% 106%, rgba(16, 185, 129, 0.24), transparent 40%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 249, 255, 0.96) 48%, rgba(236, 253, 245, 0.94));
    color: #0f172a;
    animation: none;
}

.report-kpi-grid > .report-analytics-card--prediction {
    grid-column: auto;
    min-height: 100%;
    padding: 1.08rem;
}

.report-analytics-card--dark::before {
    content: "";
    position: absolute;
    inset: -40% -25% auto auto;
    height: 12rem;
    width: 12rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.28), transparent 62%);
    animation: none;
}

.report-analytics-card--dark::after {
    z-index: 0;
    pointer-events: none;
}

.report-analytics-card--dark > * {
    position: relative;
    z-index: 2;
}

.report-analytics-card--radar {
    grid-column: span 4;
}

.report-step-analytics-row > .report-analytics-card--radar {
    grid-column: auto !important;
}

.report-analytics-card--pathway {
    grid-column: span 7;
}

.report-analytics-card--compact {
    grid-column: span 3;
}

.report-analytics-card__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.report-analytics-card__head span {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #f1f5f9;
    padding: 0.32rem 0.62rem;
}

.report-line-chart {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background:
        linear-gradient(90deg, rgba(226, 232, 240, 0.45) 1px, transparent 1px),
        linear-gradient(180deg, rgba(226, 232, 240, 0.62) 1px, transparent 1px);
    background-size: 52px 100%, 100% 25%;
}

.report-line-chart svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 14rem;
}

.report-chart-grid line {
    stroke: rgba(148, 163, 184, 0.28);
    stroke-width: 1;
}

.report-chart-area {
    fill: url(#reportTrendFill);
    stroke: none;
    opacity: 0;
    animation: none;
}

.report-chart-line {
    fill: none;
    stroke: #2563eb;
    stroke-width: 4;
    filter: drop-shadow(0 10px 16px rgba(37, 99, 235, 0.16));
    stroke-dasharray: 960;
    stroke-dashoffset: 960;
    animation: none;
}

.report-chart-dot {
    fill: #ffffff;
    stroke: #0ea5e9;
    stroke-width: 3;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
    animation: none;
}

.report-line-chart.is-report-visible .report-chart-area {
    animation: chartAreaRevealSlow 2.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.report-line-chart.is-report-visible .report-chart-line {
    animation: chartLineDrawSlow 2.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.report-line-chart.is-report-visible .report-chart-dot {
    animation: chartDotRevealSlow 0.7s cubic-bezier(0.16, 1, 0.3, 1) 1.55s forwards;
}

.report-chart-label {
    fill: #64748b;
    stroke: none;
    font-size: 10px;
    font-weight: 800;
    text-anchor: middle;
}

.report-data-activity {
    display: grid;
    gap: 0.55rem;
}

.report-data-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.95rem;
    background: #f8fafc;
    padding: 0.62rem 0.7rem;
    animation: none;
}

.report-data-row > span {
    height: 0.64rem;
    width: 0.64rem;
    border-radius: 999px;
    background: #ef4444;
    box-shadow: 0 0 0 0.32rem rgba(239, 68, 68, 0.1);
}

.report-data-row.is-average > span {
    background: #f59e0b;
    box-shadow: 0 0 0 0.32rem rgba(245, 158, 11, 0.1);
}

.report-data-row.is-strong > span {
    background: #10b981;
    box-shadow: 0 0 0 0.32rem rgba(16, 185, 129, 0.1);
}

.report-data-row strong {
    display: block;
    overflow: hidden;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.report-data-row small {
    display: block;
    margin-top: 0.12rem;
    overflow: hidden;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.report-data-row em {
    border-radius: 999px;
    background: #ffffff;
    color: #475569;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
    padding: 0.28rem 0.5rem;
}

.report-radar-graph {
    position: relative;
    display: grid;
    min-height: 15.8rem;
    place-items: center;
    border-radius: 1.05rem;
    background:
        radial-gradient(circle at center, rgba(125, 211, 252, 0.34), transparent 44%),
        radial-gradient(circle at 50% 58%, rgba(16, 185, 129, 0.2), transparent 52%),
        linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(255, 255, 255, 0.96));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.report-radar-graph svg {
    position: relative;
    z-index: 1;
    display: block;
    height: 15.9rem;
    width: min(100%, 19rem);
}

.report-radar-grid {
    fill: none;
    stroke: rgba(14, 165, 233, 0.22);
    stroke-width: 1;
}

.report-radar-axis {
    stroke: rgba(14, 165, 233, 0.14);
    stroke-width: 1;
}

.report-radar-potential {
    fill: rgba(224, 242, 254, 0.44);
    stroke: rgba(14, 165, 233, 0.18);
    stroke-width: 1;
}

.report-radar-area {
    fill: url(#reportRadarFill);
    stroke: none;
    opacity: 0.9;
    filter: drop-shadow(0 20px 22px rgba(14, 165, 233, 0.2));
    transform-box: fill-box;
    transform-origin: center;
    opacity: 0;
    transform: scale(0.32);
    animation: none;
}

.report-radar-line {
    fill: none;
    stroke: rgba(37, 99, 235, 0.72);
    stroke-width: 2.2;
    stroke-linejoin: round;
    filter: drop-shadow(0 10px 16px rgba(14, 165, 233, 0.18));
    stroke-dasharray: 760;
    stroke-dashoffset: 760;
    animation: none;
}

.report-radar-graph.is-report-visible .report-radar-area {
    animation: radarAreaLoad 2.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.report-radar-graph.is-report-visible .report-radar-line {
    animation: radarLineDrawSlow 2.55s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.report-radar-node {
    display: none;
    fill: #ffffff;
    stroke: #0ea5e9;
    stroke-width: 3;
    filter: drop-shadow(0 8px 14px rgba(14, 165, 233, 0.22));
    animation: none;
}

.report-radar-label {
    fill: #334155;
    stroke: none;
    font-size: 10px;
    font-weight: 900;
    text-anchor: middle;
}

.report-radar-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 0.75rem;
}

.report-radar-legend span {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-radius: 0.85rem;
    background: #f8fafc;
    color: #475569;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.46rem 0.55rem;
}

.report-radar-legend i {
    height: 0.5rem;
    width: 0.5rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #0ea5e9;
    box-shadow: 0 0 0 0.25rem rgba(14, 165, 233, 0.1);
}

.report-radar-legend strong {
    color: #0f172a;
    font-size: 0.68rem;
    font-weight: 900;
}

.report-analytics-card--dark h4 {
    margin-top: 0.35rem;
    color: #0f172a;
    font-size: clamp(1.35rem, 2vw, 1.82rem);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.report-analytics-card--dark > span {
    display: block;
    margin-top: 0.6rem;
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.78;
}

.report-insight-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 0.82rem;
}

.report-insight-stack > div:not(.report-insight-bars) {
    border-radius: 0.9rem;
    border: 1px solid rgba(186, 230, 253, 0.72);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.84));
    padding: 0.72rem 0.76rem;
    animation: none;
}

.report-insight-stack > div:nth-child(2) {
    animation-delay: 0.35s;
}

.report-insight-stack > div:nth-child(3) {
    animation-delay: 0.7s;
}

.report-insight-stack strong {
    display: block;
    color: #0369a1;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.report-insight-stack span {
    display: block;
    margin-top: 0.3rem;
    color: #334155;
    font-size: 0.78rem;
    line-height: 1.58;
}

.report-insight-bars {
    display: flex;
    grid-column: 1 / -1;
    height: 4.8rem;
    align-items: end;
    justify-content: space-between;
    gap: 0.45rem;
    border-radius: 1rem;
    background:
        linear-gradient(to top, rgba(148, 163, 184, 0.18) 1px, transparent 1px),
        linear-gradient(135deg, rgba(224, 242, 254, 0.95), rgba(236, 253, 245, 0.82));
    background-size: 100% 25%;
    padding: 0.55rem 0.65rem;
}

.report-insight-bars span {
    width: 100%;
    max-width: 2.1rem;
    border-radius: 0.45rem 0.45rem 0.14rem 0.14rem;
    background: linear-gradient(180deg, #38bdf8, #0ea5e9);
    transform: scaleY(0);
    transform-origin: bottom;
    animation: none;
}

.report-insight-bars.is-report-visible span {
    animation: barRevealSlow 1.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.report-prediction-meter {
    height: 0.55rem;
    margin-top: 1rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
}

.report-prediction-meter i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
    transform: scaleX(0);
    transform-origin: left;
    animation: none;
}

.report-prediction-meter.is-report-visible i {
    animation: reportMeterGrow 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.report-dark-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1rem;
}

.report-dark-metrics div {
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(255, 255, 255, 0.78);
    padding: 0.78rem;
}

.report-dark-metrics small {
    color: #64748b;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.report-dark-metrics strong {
    display: block;
    margin-top: 0.35rem;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
}

.report-ai-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
}

.report-ai-card-head p {
    margin: 0;
}

.report-ai-detail-button {
    display: inline-flex;
    min-height: 2.15rem;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(14, 165, 233, 0.28);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(240, 249, 255, 0.86));
    color: #0369a1;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    padding: 0 0.82rem;
    text-transform: uppercase;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease;
}

.report-ai-detail-button:hover {
    border-color: rgba(14, 165, 233, 0.58);
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(14, 165, 233, 0.16);
    transform: translateY(-1px);
}

.report-ai-modal-panel {
    width: min(1040px, calc(100vw - 1.5rem));
}

.report-ai-modal-head {
    padding: 1.1rem 1.25rem 1rem;
}

.report-ai-modal-body {
    display: grid;
    gap: 1rem;
    padding: 1rem 1.25rem 1.25rem;
}

.report-ai-modal-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.9fr);
    gap: 1rem;
    overflow: hidden;
    border-radius: 1.2rem;
    border: 1px solid rgba(125, 211, 252, 0.48);
    background:
        radial-gradient(circle at 5% 8%, rgba(14, 165, 233, 0.16), transparent 34%),
        radial-gradient(circle at 94% 90%, rgba(16, 185, 129, 0.14), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.76));
    padding: 1rem;
}

.report-ai-modal-summary span,
.report-ai-guidance span,
.report-ai-process-card__head span {
    color: #0284c7;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.report-ai-modal-summary h3 {
    margin-top: 0.38rem;
    color: #0f172a;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-weight: 900;
    letter-spacing: -0.055em;
}

.report-ai-modal-summary p {
    margin-top: 0.5rem;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.72;
}

.report-ai-modal-summary dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.62rem;
}

.report-ai-modal-summary dl div {
    border-radius: 0.95rem;
    border: 1px solid rgba(226, 232, 240, 0.74);
    background: rgba(255, 255, 255, 0.76);
    padding: 0.72rem 0.78rem;
}

.report-ai-modal-summary dt {
    color: #64748b;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.report-ai-modal-summary dd {
    margin-top: 0.25rem;
    color: #0f172a;
    font-size: 0.88rem;
    font-weight: 860;
}

.report-ai-process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.report-ai-process-card {
    display: grid;
    gap: 0.8rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(226, 232, 240, 0.86);
    background:
        radial-gradient(circle at 12% 0%, rgba(255, 255, 255, 0.95), transparent 42%),
        #ffffff;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.055);
    padding: 0.92rem;
}

.report-ai-process-card.is-strong {
    border-color: rgba(16, 185, 129, 0.32);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(236, 253, 245, 0.74));
}

.report-ai-process-card.is-average {
    border-color: rgba(245, 158, 11, 0.34);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(254, 243, 199, 0.56));
}

.report-ai-process-card.is-weak {
    border-color: rgba(125, 211, 252, 0.42);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.68));
}

.report-ai-process-card__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 0.75rem;
}

.report-ai-process-card__head h3 {
    margin-top: 0.25rem;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
}

.report-ai-process-card__head p {
    margin-top: 0.22rem;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.45;
}

.report-ai-process-card__head strong {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 900;
    padding: 0.35rem 0.58rem;
}

.report-ai-process-meter {
    height: 0.48rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.16);
}

.report-ai-process-meter i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
    transform: scaleX(0);
    transform-origin: left;
}

.report-ai-process-card.is-average .report-ai-process-meter i {
    background: linear-gradient(90deg, #f59e0b, #facc15);
}

.report-ai-process-card.is-weak .report-ai-process-meter i {
    background: linear-gradient(90deg, #38bdf8, #94a3b8);
}

.report-ai-process-meter.is-report-visible i,
.report-ai-insight-modal.is-open .report-ai-process-meter i {
    animation: reportMeterGrow 1.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.report-ai-process-advice {
    color: #334155;
    font-size: 0.8rem;
    line-height: 1.58;
}

.report-ai-integrity-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.report-ai-integrity-strip span {
    display: grid;
    gap: 0.22rem;
    min-height: 4.2rem;
    align-content: start;
    border-radius: 0.85rem;
    border: 1px solid rgba(226, 232, 240, 0.7);
    background:
        radial-gradient(circle at 18% 0%, rgba(14, 165, 233, 0.11), transparent 42%),
        rgba(255, 255, 255, 0.76);
    padding: 0.62rem;
}

.report-ai-integrity-strip em {
    color: #0284c7;
    font-size: 0.58rem;
    font-style: normal;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.report-ai-integrity-strip strong {
    color: #0f172a;
    font-size: 0.74rem;
    font-weight: 850;
    line-height: 1.35;
}

.report-ai-step-list {
    display: grid;
    gap: 0.5rem;
}

.report-ai-step-row {
    display: grid;
    gap: 0.5rem;
    border-radius: 0.86rem;
    border: 1px solid rgba(226, 232, 240, 0.72);
    background: rgba(248, 250, 252, 0.78);
    padding: 0.62rem;
}

.report-ai-step-row > div:first-child,
.report-ai-step-row__score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.report-ai-step-row strong {
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 860;
}

.report-ai-step-row span {
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 850;
}

.report-ai-step-row__score {
    position: relative;
    height: 0.46rem;
    overflow: hidden;
    border-radius: 999px;
    background: #eaf2f8;
}

.report-ai-step-row__score em {
    position: absolute;
    right: 0.38rem;
    top: 50%;
    z-index: 2;
    color: #334155;
    font-size: 0.62rem;
    font-style: normal;
    font-weight: 900;
    transform: translateY(-50%);
}

.report-ai-step-row__score i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
}

.report-ai-step-row.is-pending .report-ai-step-row__score i {
    background: #cbd5e1;
}

.report-ai-step-row p {
    color: #64748b;
    font-size: 0.74rem;
    line-height: 1.48;
}

.report-ai-guidance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.report-ai-guidance div {
    border-radius: 1rem;
    border: 1px solid rgba(186, 230, 253, 0.72);
    background:
        linear-gradient(135deg, rgba(240, 249, 255, 0.9), rgba(236, 253, 245, 0.76));
    padding: 0.9rem;
}

.report-ai-guidance p {
    margin-top: 0.42rem;
    color: #334155;
    font-size: 0.84rem;
    line-height: 1.65;
}

.report-step-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(3.1rem, 1fr));
    gap: 0.45rem;
    margin-top: 0.8rem;
}

.report-step-timeline span {
    display: grid;
    justify-items: center;
    gap: 0.25rem;
    border-radius: 0.9rem;
    background: #f8fafc;
    padding: 0.5rem 0.35rem;
    text-align: center;
}

.report-step-timeline i {
    display: grid;
    height: 1.8rem;
    width: 1.8rem;
    place-items: center;
    border-radius: 999px;
    background: #eaf2f8;
    color: #64748b;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 900;
}

.report-step-timeline strong {
    color: #475569;
    font-size: 0.62rem;
    font-weight: 900;
}

.report-step-timeline small {
    color: #94a3b8;
    font-size: 0.62rem;
    font-weight: 850;
}

.report-step-timeline .is-complete i,
.report-step-timeline .is-current i {
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: #ffffff;
}

.report-context-list {
    display: grid;
    gap: 0.58rem;
}

@keyframes reportMeterGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes reportMeterBreath {
    0%, 100% { filter: saturate(1) brightness(1); }
    50% { filter: saturate(1.18) brightness(1.08); }
}

@keyframes radarAreaBreathe {
    0%, 100% { fill-opacity: 0.68; transform: scale(1); transform-origin: center; }
    50% { fill-opacity: 0.92; transform: scale(1.035); transform-origin: center; }
}

@keyframes radarAreaLoad {
    from { opacity: 0; transform: scale(0.35); }
    to { opacity: 0.9; transform: scale(1); }
}

@keyframes radarLineDrawSlow {
    from {
        stroke-dashoffset: 760;
        opacity: 0.3;
    }
    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes radarLineBreathe {
    0%, 100% { stroke-width: 2.2; stroke-opacity: 0.72; }
    50% { stroke-width: 2.8; stroke-opacity: 0.9; }
}

@keyframes insightPanelGlow {
    0%, 100% { box-shadow: 0 16px 42px rgba(15, 23, 42, 0.045); }
    50% { box-shadow: 0 22px 52px rgba(14, 165, 233, 0.16); }
}

@keyframes insightOrbFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.78; }
    50% { transform: translate3d(-1rem, 0.8rem, 0) scale(1.12); opacity: 1; }
}

@keyframes insightCardPulse {
    0%, 100% {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.84));
        transform: translateY(0);
    }
    50% {
        background: linear-gradient(135deg, rgba(240, 249, 255, 1), rgba(236, 253, 245, 0.92));
        transform: translateY(-1px);
    }
}

@keyframes reportDataPulse {
    0%, 100% { box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0); }
    50% { box-shadow: inset 0 0 0 1px rgba(186, 230, 253, 0.9); }
}

@keyframes chartLinePulse {
    0%, 100% { stroke-width: 4; filter: drop-shadow(0 10px 16px rgba(37, 99, 235, 0.16)); }
    50% { stroke-width: 5; filter: drop-shadow(0 14px 22px rgba(14, 165, 233, 0.22)); }
}

@keyframes chartLineDrawSlow {
    from {
        stroke-dashoffset: 960;
        opacity: 0.35;
    }
    to {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes chartAreaBreath {
    0%, 100% { opacity: 0.92; }
    50% { opacity: 1; }
}

@keyframes chartAreaRevealSlow {
    from { opacity: 0; }
    to { opacity: 0.92; }
}

@keyframes chartDotPulse {
    0%, 100% { r: 5; }
    50% { r: 6.5; }
}

@keyframes chartDotRevealSlow {
    from {
        opacity: 0;
        transform: scale(0.4);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes graphScan {
    0%, 72%, 100% {
        opacity: 0;
        transform: translateX(-100%);
    }
    78% {
        opacity: 0.75;
    }
    92% {
        opacity: 0;
        transform: translateX(100%);
    }
}

.student-report-support-grid {
    display: grid;
    grid-template-columns: minmax(18rem, 1fr) minmax(22rem, 1.3fr) minmax(18rem, 1fr) minmax(18rem, 1fr);
    gap: 1rem;
    padding: 0 1rem 1rem;
}

.student-report-support-card {
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 1.25rem;
    background:
        radial-gradient(circle at 15% 15%, rgba(240, 249, 255, 0.84), transparent 42%),
        #ffffff;
    box-shadow: 0 20px 46px rgba(15, 23, 42, 0.055);
    padding: 1rem;
}

.student-report-support-card__top,
.student-report-support-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
}

.student-report-support-card__top p,
.student-report-support-card__head p,
.student-report-support-card--insight > p {
    color: #0284c7;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.student-report-support-card__top h3,
.student-report-support-card__head h3,
.student-report-support-card--insight h3 {
    margin-top: 0.18rem;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.student-report-support-card__top span,
.student-report-support-card__head span,
.student-report-support-card--insight > span {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.55;
}

.student-report-support-card__top > strong {
    display: grid;
    min-width: 4.4rem;
    place-items: center;
    border-radius: 1rem;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 1.45rem;
    font-weight: 850;
    line-height: 1;
    padding: 0.7rem 0.55rem;
}

.student-report-support-card__top > strong small {
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.62rem;
    font-weight: 850;
}

.student-report-support-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.student-report-support-card dl div,
.student-report-support-metrics div {
    border-radius: 0.9rem;
    background: #f8fafc;
    padding: 0.7rem;
}

.student-report-support-card dt,
.student-report-support-metrics small {
    color: #64748b;
    font-size: 0.64rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.student-report-support-card dd,
.student-report-support-metrics strong {
    display: block;
    margin-top: 0.2rem;
    color: #0f172a;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.35;
}

.student-report-pathway {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.55rem;
    margin-top: 1rem;
}

.student-report-pathway::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 1.15rem;
    height: 0.18rem;
    border-radius: 999px;
    background: #e2e8f0;
}

.student-report-pathway span {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 0.45rem;
    color: #94a3b8;
    text-align: center;
}

.student-report-pathway i {
    display: grid;
    height: 2.25rem;
    width: 2.25rem;
    place-items: center;
    border-radius: 999px;
    background: #f1f5f9;
    color: inherit;
    font-size: 0.78rem;
    font-style: normal;
    font-weight: 850;
    box-shadow: 0 0 0 0.35rem #ffffff;
}

.student-report-pathway strong {
    color: inherit;
    font-size: 0.68rem;
    font-weight: 850;
}

.student-report-pathway .is-complete i,
.student-report-pathway .is-current i {
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: #ffffff;
}

.student-report-pathway .is-complete strong,
.student-report-pathway .is-current strong {
    color: #0f172a;
}

.student-report-mini-calendar {
    margin-top: 0.9rem;
}

.student-report-support-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 0.9rem;
}

.student-report-support-card--insight {
    background: #020617;
}

.student-report-support-card--insight h3,
.student-report-support-card--insight .student-report-support-metrics strong {
    color: #ffffff;
}

.student-report-support-card--insight > span {
    display: block;
    margin-top: 0.65rem;
    color: #cbd5e1;
}

.student-report-support-card--insight .student-report-support-metrics div {
    background: rgba(255, 255, 255, 0.08);
}

.student-report-support-card--activity .student-report-support-card__head > span {
    max-width: 11rem;
    overflow: hidden;
    border-radius: 999px;
    background: #f1f5f9;
    padding: 0.35rem 0.65rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.student-report-activity-bars {
    display: flex;
    height: 7.7rem;
    align-items: end;
    justify-content: space-between;
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.student-report-activity-bars div {
    display: grid;
    flex: 1 1 0;
    min-width: 1.85rem;
    height: 100%;
    align-content: end;
    justify-items: center;
    gap: 0.45rem;
}

.student-report-activity-bars span {
    display: block;
    width: 100%;
    min-height: 0.6rem;
    border-radius: 999px 999px 0.35rem 0.35rem;
    background: linear-gradient(180deg, #38bdf8, #0ea5e9);
}

.student-report-activity-bars small {
    color: #64748b;
    font-size: 0.6rem;
    font-weight: 850;
}

.student-report-directory {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 24rem);
    align-items: start;
}

.student-report-list__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    padding: 1.15rem 1.25rem;
}

.student-report-list__head h2,
.student-report-profile h2 {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 780;
    letter-spacing: -0.025em;
}

.student-report-list__head p {
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.84rem;
}

.student-report-list__head > span {
    border-radius: 999px;
    background: rgba(239, 248, 255, 0.96);
    color: #0369a1;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.42rem 0.7rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.student-report-list__table {
    overflow-x: auto;
}

.student-report-list table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
    text-align: left;
}

.student-report-list th {
    background: #f8fafc;
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 0.9rem 1.25rem;
    text-transform: uppercase;
}

.student-report-list td {
    border-top: 1px solid rgba(226, 232, 240, 0.76);
    padding: 0.95rem 1.25rem;
    vertical-align: middle;
}

.student-report-list tr {
    transition: background 160ms ease;
}

.student-report-list tbody tr:hover,
.student-report-list tbody tr.is-selected {
    background: rgba(240, 249, 255, 0.72);
}

.student-report-list a {
    display: grid;
    gap: 0.18rem;
    color: inherit;
    text-decoration: none;
}

.student-report-list strong {
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 760;
}

.student-report-list span,
.student-report-list small {
    color: #64748b;
    font-size: 0.78rem;
}

.student-report-spark {
    display: flex;
    height: 2.1rem;
    align-items: end;
    gap: 0.22rem;
}

.student-report-spark i {
    width: 0.42rem;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(180deg, #7dd3fc, #10b981);
}

.student-report-grade {
    display: inline-flex;
    min-width: 2.6rem;
    justify-content: center;
    border-radius: 0.7rem;
    padding: 0.38rem 0.58rem;
    font-size: 0.78rem;
    font-weight: 820;
}

.student-report-grade.is-strong {
    background: #dcfce7;
    color: #047857;
}

.student-report-grade.is-average {
    background: #fef3c7;
    color: #b45309;
}

.student-report-grade.is-weak {
    background: #ffe4e6;
    color: #be123c;
}

.student-report-grade.is-neutral {
    background: #f1f5f9;
    color: #475569;
}

.student-report-empty {
    color: #64748b;
    font-size: 0.86rem;
}

.student-report-profile {
    display: grid;
    gap: 1rem;
    padding: 1.25rem;
}

.student-report-profile__top {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
}

.student-report-avatar {
    display: grid;
    height: 4.6rem;
    width: 4.6rem;
    place-items: center;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 850;
    box-shadow: 0 16px 34px rgba(14, 165, 233, 0.18);
}

.student-report-profile__top p,
.student-report-profile__top span {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.8rem;
    overflow-wrap: anywhere;
}

.student-report-profile__score {
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: #ffffff;
    padding: 1.05rem;
}

.student-report-profile__score.is-average {
    background: linear-gradient(135deg, #f59e0b, #facc15);
}

.student-report-profile__score.is-weak {
    background: linear-gradient(135deg, #fb7185, #ef4444);
}

.student-report-profile__score strong {
    display: block;
    font-size: 2.3rem;
    font-weight: 850;
    letter-spacing: -0.06em;
    line-height: 1;
}

.student-report-profile__score span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    opacity: 0.85;
    text-transform: uppercase;
}

.student-report-profile__mini {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.student-report-profile__mini div {
    border-radius: 0.95rem;
    border: 1px solid rgba(226, 232, 240, 0.82);
    background: #f8fafc;
    padding: 0.8rem;
}

.student-report-profile__mini span {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.student-report-profile__mini strong {
    display: block;
    margin-top: 0.25rem;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 760;
    line-height: 1.35;
}

.student-report-profile__insight,
.student-report-profile__empty p {
    color: #475569;
    font-size: 0.86rem;
    line-height: 1.7;
}

.student-report-profile__button {
    justify-content: center;
    text-align: center;
}

.student-report-profile__empty {
    display: grid;
    min-height: 16rem;
    align-content: center;
    gap: 0.5rem;
}

@media (max-width: 1180px) {
    .student-report-directory {
        grid-template-columns: 1fr;
    }

    .student-report-profile {
        order: -1;
    }

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

    .report-kpi-grid,
    .report-orbit-grid {
        grid-template-columns: 1fr;
    }

    .report-analytics-card--wide,
    .report-analytics-card:not(.report-analytics-card--wide):not(.report-analytics-card--dark):not(.report-analytics-card--pathway):not(.report-analytics-card--compact):not(.report-analytics-card--radar),
    .report-analytics-card--dark,
    .report-analytics-card--radar,
    .report-analytics-card--pathway,
    .report-analytics-card--compact {
        grid-column: 1 / -1;
    }

    .report-step-analytics-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .student-report-hero,
    .student-report-summary-grid,
    .student-report-process-grid {
        grid-template-columns: 1fr;
    }

    .student-report-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .student-report-mini-score,
    .student-report-profile__top {
        grid-template-columns: 1fr;
    }

    .student-report-mini-score {
        display: grid;
    }

    .student-report-section__head {
        align-items: stretch;
        flex-direction: column;
    }

    .report-track-menu > summary {
        width: 100%;
    }

    .report-track-menu__panel {
        left: 0;
        right: auto;
        width: 100%;
    }

    .score-bar-chart {
        margin-inline: 0.75rem;
        padding-inline: 0.9rem;
    }

    .report-step-analytics-row {
        margin-inline: 0.75rem;
    }

    .student-report-support-grid {
        grid-template-columns: 1fr;
        padding: 0 0.75rem 0.75rem;
    }

    .report-ai-modal-summary,
    .report-ai-process-grid,
    .report-ai-guidance {
        grid-template-columns: 1fr;
    }

    .student-report-analytics-board {
        max-width: calc(100% - 1.5rem);
        margin-inline: 0.75rem;
    }

    .student-report-analytics-board__head,
    .report-analytics-card__head {
        align-items: stretch;
        flex-direction: column;
    }

    .report-kpi-grid,
    .report-analytics-grid {
        padding-inline: 0.75rem;
    }

    .report-kpi-card dl,
    .report-dark-metrics {
        grid-template-columns: 1fr;
    }

    .report-line-chart svg {
        min-height: 11.5rem;
    }
}

@media (min-width: 1024px) {
    .workspace-sidebar {
        position: sticky;
        top: 0;
    }

    body.sidebar-collapsed .workspace-layout {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    body.sidebar-collapsed .workspace-sidebar {
        width: 84px;
    }

    body.sidebar-collapsed .brand-copy,
    body.sidebar-collapsed .sidebar-label,
    body.sidebar-collapsed .sidebar-section-label {
        display: none;
    }

    body.sidebar-collapsed .workspace-sidebar .brand-mark {
        margin-inline: auto;
    }

    body.sidebar-collapsed .workspace-sidebar > div:first-child {
        justify-content: center;
        padding-inline: 0;
    }

    body.sidebar-collapsed .sidebar-nav {
        padding-inline: 0.75rem;
    }

    body.sidebar-collapsed .sidebar-link {
        justify-content: center;
        padding-inline: 0.5rem;
    }

    body.sidebar-collapsed .sidebar-icon {
        height: 2.5rem;
        width: 2.5rem;
    }
}

/* Sidebar brand hover control (replaces the header collapse hamburger) */
.brand-shell {
    position: relative;
}

.sidebar-resize-toggle {
    display: none;
}

@media (min-width: 1024px) and (hover: hover) {
    .sidebar-resize-toggle {
        display: inline-grid;
        place-items: center;
        position: absolute;
        right: 0.8rem;
        top: 50%;
        height: 2.15rem;
        width: 2.15rem;
        transform: translateY(-50%) translateX(8px);
        border-radius: 0.7rem;
        border: 1px solid rgba(148, 163, 184, 0.28);
        background: #ffffff;
        color: #475569;
        opacity: 0;
        pointer-events: none;
        box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
        cursor: pointer;
        transition:
            opacity 200ms ease,
            transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
            color 180ms ease,
            border-color 180ms ease,
            background 180ms ease,
            box-shadow 180ms ease;
    }

    .sidebar-resize-toggle svg {
        height: 1.15rem;
        width: 1.15rem;
        fill: none;
        stroke: currentColor;
        stroke-width: 2.2;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .sidebar-resize-toggle:hover {
        color: #0284c7;
        border-color: rgba(14, 165, 233, 0.45);
        background: #f0f9ff;
        box-shadow: 0 10px 22px rgba(2, 132, 199, 0.18);
    }

    .brand-mark {
        transition: opacity 200ms ease, transform 200ms ease;
    }

    .brand-shell:hover .sidebar-resize-toggle,
    .sidebar-resize-toggle:focus-visible {
        opacity: 1;
        transform: translateY(-50%) translateX(0);
        pointer-events: auto;
    }

    .brand-shell:hover .sidebar-resize-toggle:active {
        transform: translateY(-50%) translateX(0) scale(0.92);
    }

    /* Collapsed: center the control and reveal it over the logo on hover */
    body.sidebar-collapsed .sidebar-resize-toggle {
        right: 50%;
        transform: translate(50%, -50%) scale(0.85);
    }

    body.sidebar-collapsed .sidebar-resize-toggle svg {
        transform: rotate(180deg);
    }

    body.sidebar-collapsed .brand-shell:hover .sidebar-resize-toggle,
    body.sidebar-collapsed .sidebar-resize-toggle:focus-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translate(50%, -50%) scale(1);
    }

    body.sidebar-collapsed .brand-shell:hover .brand-mark {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* App toast notifications (styled success/error feedback for dashboard forms) */
.app-toast-stack {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 4000;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    pointer-events: none;
    max-width: min(380px, calc(100vw - 2rem));
}

.app-toast {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.95rem;
    border-radius: 0.9rem;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    transform: translateX(24px);
    opacity: 0;
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), opacity 280ms ease;
}

.app-toast.is-visible {
    transform: translateX(0);
    opacity: 1;
}

.app-toast.is-hiding {
    transform: translateX(24px);
    opacity: 0;
}

.app-toast__icon {
    display: grid;
    place-items: center;
    height: 2.1rem;
    width: 2.1rem;
    flex-shrink: 0;
    border-radius: 0.7rem;
}

.app-toast__icon svg {
    height: 1.15rem;
    width: 1.15rem;
}

.app-toast--success {
    border-color: rgba(16, 185, 129, 0.35);
}

.app-toast--success .app-toast__icon {
    background: #ecfdf5;
    color: #059669;
}

.app-toast--error {
    border-color: rgba(244, 63, 94, 0.35);
}

.app-toast--error .app-toast__icon {
    background: #fef2f2;
    color: #e11d48;
}

.app-toast__msg {
    flex: 1;
    min-width: 0;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: #0f172a;
}

.app-toast__close {
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.15rem;
    transition: color 160ms ease;
}

.app-toast__close:hover {
    color: #475569;
}

@media (prefers-reduced-motion: reduce) {
    .app-toast {
        transition: opacity 200ms ease;
        transform: none;
    }

    .app-toast.is-visible,
    .app-toast.is-hiding {
        transform: none;
    }
}

/* Admin Scope workspace (client module) */
.scope-loading,
.scope-error {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 2rem;
    color: #64748b;
    font-weight: 600;
}

.scope-error {
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 1rem;
}

.scope-spinner {
    height: 1.1rem;
    width: 1.1rem;
    border-radius: 50%;
    border: 2px solid rgba(14, 165, 233, 0.3);
    border-top-color: #0ea5e9;
    animation: ateam-spin 0.7s linear infinite;
}

.scope-card {
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.scope-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.scope-tabs {
    display: inline-flex;
    gap: 0.25rem;
    padding: 0.3rem;
    background: #f1f5f9;
    border-radius: 0.85rem;
}

.scope-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    background: transparent;
    color: #475569;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 0.65rem;
    cursor: pointer;
    transition: background 0.16s, color 0.16s, box-shadow 0.16s;
}

.scope-tab.is-active {
    background: #fff;
    color: #0369a1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.scope-tab__count {
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(14, 165, 233, 0.12);
    color: #0369a1;
    border-radius: 999px;
    padding: 0.05rem 0.45rem;
}

.scope-tab.is-active .scope-tab__count {
    background: #e0f2fe;
}

.scope-head__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.scope-search {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.scope-search svg {
    position: absolute;
    left: 0.7rem;
    height: 1rem;
    width: 1rem;
    color: #94a3b8;
}

.scope-search input {
    height: 2.5rem;
    width: 15rem;
    max-width: 48vw;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.7rem;
    padding: 0 0.8rem 0 2.1rem;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.16s, box-shadow 0.16s;
}

.scope-search input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.3);
}

.scope-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: none;
    color: #fff;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    box-shadow: 0 8px 18px rgba(13, 148, 136, 0.2);
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0 1.1rem;
    height: 2.5rem;
    border-radius: 0.7rem;
    cursor: pointer;
    transition: background 0.16s, transform 0.16s, box-shadow 0.16s;
}

.scope-primary svg {
    height: 1rem;
    width: 1rem;
}

.scope-primary:hover {
    background: linear-gradient(135deg, #0284c7, #059669);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(13, 148, 136, 0.28);
}

.scope-primary--solid {
    height: auto;
    padding: 0.7rem 1.4rem;
    box-shadow: 0 10px 22px rgba(13, 148, 136, 0.2);
}

.scope-table-wrap {
    max-height: 62vh;
    overflow: auto;
}

.scope-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.scope-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #f8fafc;
    text-align: left;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #e2e8f0;
}

.scope-table tbody td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    vertical-align: middle;
}

.scope-table tbody tr:hover {
    background: #f8fafc;
}

.scope-strong {
    font-weight: 700;
    color: #0f172a;
}

.scope-sub {
    margin-top: 0.15rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

.scope-pill {
    display: inline-flex;
    border-radius: 0.6rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
}

.scope-pill--ok {
    background: #ecfdf5;
    color: #059669;
}

.scope-actions-col {
    text-align: right;
}

.scope-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.4rem;
}

.scope-icon {
    display: inline-grid;
    place-items: center;
    height: 2.1rem;
    width: 2.1rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.6rem;
    background: #fff;
    color: #475569;
    cursor: pointer;
    transition: background 0.14s, color 0.14s, border-color 0.14s, transform 0.14s;
}

.scope-icon svg {
    height: 1.05rem;
    width: 1.05rem;
}

.scope-icon:hover {
    background: #f0f9ff;
    color: #0284c7;
    border-color: rgba(14, 165, 233, 0.4);
    transform: translateY(-1px);
}

.scope-icon--danger:hover {
    background: #fef2f2;
    color: #e11d48;
    border-color: rgba(244, 63, 94, 0.4);
}

.scope-empty {
    padding: 2.5rem 1.25rem;
    text-align: center;
    color: #94a3b8;
    font-weight: 500;
}

.scope-confirm {
    color: #334155;
    font-size: 0.95rem;
    line-height: 1.6;
}

.scope-danger-btn {
    border: none;
    border-radius: 0.7rem;
    background: #e11d48;
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.7rem 1.4rem;
    cursor: pointer;
    transition: background 0.16s;
}

.scope-danger-btn:hover {
    background: #be123c;
}

/* Coding playground UI */
.playground-open-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
    border: none;
    border-radius: 0.7rem;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.6rem 1.1rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(13, 148, 136, 0.2);
    transition: transform 0.16s, box-shadow 0.16s, opacity 0.16s;
}

.playground-open-btn svg {
    height: 1rem;
    width: 1rem;
}

.playground-open-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(13, 148, 136, 0.28);
}

.playground-open-btn.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.playground-code,
.playground-output {
    margin-top: 0.5rem;
    max-height: 16rem;
    overflow: auto;
    border-radius: 0.6rem;
    background: #0f172a;
    color: #e2e8f0;
    padding: 0.7rem 0.85rem;
    font-family: "SFMono-Regular", "Consolas", "Liberation Mono", Menlo, monospace;
    font-size: 0.78rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.playground-output {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.playground-output--err {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

/* Trainer practical multi-question builder */
.practical-questions__list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.4rem;
}

.practical-question-row {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.practical-question-row textarea {
    flex: 1;
    min-width: 0;
}

.practical-question-row__remove {
    flex-shrink: 0;
    height: 2.2rem;
    width: 2.2rem;
    border: 1px solid rgba(244, 63, 94, 0.3);
    border-radius: 0.6rem;
    background: #fff;
    color: #e11d48;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: background 0.14s;
}

.practical-question-row__remove:hover {
    background: #fef2f2;
}

.practical-questions__add {
    margin-top: 0.6rem;
    border: 1px dashed rgba(14, 165, 233, 0.4);
    border-radius: 0.6rem;
    background: #f0f9ff;
    color: #0284c7;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.5rem 0.9rem;
    cursor: pointer;
}

.practical-questions__hint {
    display: block;
    margin-top: 0.5rem;
    color: #94a3b8;
    font-size: 0.76rem;
    line-height: 1.5;
}

/* Auth (register/login) consistent fields — match the styled select look */
.reg-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
}

.reg-input {
    height: 3rem;
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.75rem;
    background: #fff;
    padding: 0 0.95rem;
    font-size: 0.92rem;
    color: #0f172a;
    outline: none;
    transition: border-color 0.16s, box-shadow 0.16s;
}

.reg-input::placeholder {
    color: #94a3b8;
}

.reg-input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.3);
}

/* Scope modal styled select */
.scope-select {
    position: relative;
    width: 100%;
}

.scope-select__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.75rem;
    background: #fff;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.16s, box-shadow 0.16s;
}

.scope-select__trigger:hover {
    border-color: rgba(14, 165, 233, 0.4);
}

.scope-select.is-open .scope-select__trigger {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.3);
}

.scope-select.is-disabled .scope-select__trigger {
    opacity: 0.6;
    cursor: not-allowed;
    background: #f8fafc;
}

.scope-select__label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.scope-select__label.is-placeholder {
    color: #94a3b8;
    font-weight: 500;
}

.scope-select__arrow {
    height: 1.1rem;
    width: 1.1rem;
    flex-shrink: 0;
    color: #64748b;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s;
}

.scope-select.is-open .scope-select__arrow {
    transform: rotate(180deg);
}

.scope-select__menu {
    position: absolute;
    z-index: 50;
    top: calc(100% + 0.35rem);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 0.85rem;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
    overflow: hidden;
    padding: 0.35rem;
    max-height: 16rem;
    display: flex;
    flex-direction: column;
    animation: scope-pop 0.16s ease;
}

.scope-select__menu.is-up {
    top: auto;
    bottom: calc(100% + 0.35rem);
}

@keyframes scope-pop {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: none; }
}

.scope-select__search-shell {
    padding: 0.25rem 0.25rem 0.4rem;
}

.scope-select__search {
    width: 100%;
    height: 2.3rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.6rem;
    padding: 0 0.7rem;
    font-size: 0.85rem;
    outline: none;
}

.scope-select__search:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.3);
}

.scope-select__options {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.scope-select__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    border-radius: 0.6rem;
    padding: 0.6rem 0.7rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}

.scope-select__option:hover {
    background: #f1f5f9;
}

.scope-select__option.is-selected {
    background: #f0f9ff;
    color: #0369a1;
}

.scope-select__check {
    height: 1rem;
    width: 1rem;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
}

.scope-select__option.is-selected .scope-select__check {
    opacity: 1;
}

.scope-select__empty {
    padding: 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Admin team builder + member picker */
.team-builder {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.6);
    padding: 1rem 1.1rem 1.1rem;
}

.team-builder__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.team-builder__title {
    font-weight: 700;
    color: #0f172a;
}

.team-builder__hint {
    display: block;
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.45;
}

.team-builder__add {
    flex-shrink: 0;
    border-radius: 0.7rem;
    border: 1px solid rgba(14, 165, 233, 0.35);
    background: #fff;
    color: #0284c7;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.5rem 0.9rem;
    cursor: pointer;
    transition: background 0.16s, border-color 0.16s, transform 0.16s, opacity 0.16s;
}

.team-builder__add:hover:not(:disabled) {
    background: #f0f9ff;
    transform: translateY(-1px);
}

.team-builder__add:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.team-builder__selected {
    margin-top: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.team-builder__empty {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
}

.team-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.5rem 0.4rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    background: #fff;
    opacity: 0;
    transform: translateY(6px) scale(0.96);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s, background 0.2s;
}

.team-chip.is-in {
    opacity: 1;
    transform: none;
}

.team-chip.is-lead {
    border-color: rgba(16, 185, 129, 0.5);
    background: #ecfdf5;
}

.team-chip__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.team-chip__tag {
    font-style: normal;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #059669;
    background: #d1fae5;
    border-radius: 999px;
    padding: 0.1rem 0.4rem;
}

.team-chip__lead {
    display: inline-grid;
    place-items: center;
    height: 1.5rem;
    width: 1.5rem;
    border: none;
    background: transparent;
    color: #cbd5e1;
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.16s, transform 0.16s;
}

.team-chip__lead svg {
    height: 1rem;
    width: 1rem;
    fill: currentColor;
}

.team-chip__lead:hover {
    color: #f59e0b;
    transform: scale(1.12);
}

.team-chip.is-lead .team-chip__lead {
    color: #f59e0b;
}

.team-chip__remove {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 0.15rem;
    transition: color 0.16s;
}

.team-chip__remove:hover {
    color: #e11d48;
}

.team-picker {
    position: fixed;
    inset: 0;
    z-index: 5000;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.team-picker[hidden] {
    display: none;
}

.team-picker__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.team-picker.is-open .team-picker__backdrop {
    opacity: 1;
}

.team-picker__panel {
    position: relative;
    width: min(520px, 100%);
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.3);
    overflow: hidden;
    transform: translateY(12px) scale(0.97);
    opacity: 0;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}

.team-picker.is-open .team-picker__panel {
    transform: none;
    opacity: 1;
}

.team-picker__panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.team-picker__panel-title {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.05rem;
}

.team-picker__panel-sub {
    color: #64748b;
    font-size: 0.8rem;
}

.team-picker__close {
    border: none;
    background: transparent;
    color: #94a3b8;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.team-picker__close:hover {
    color: #475569;
}

.team-picker__search-shell {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #f8fafc;
}

.team-picker__search {
    width: 100%;
    height: 2.6rem;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 0.7rem;
    padding: 0 0.9rem;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.16s, box-shadow 0.16s;
}

.team-picker__search:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.35);
}

.team-picker__list {
    overflow-y: auto;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.team-picker__empty {
    color: #94a3b8;
    font-size: 0.88rem;
    padding: 1.5rem 1rem;
    text-align: center;
}

.team-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    text-align: left;
    padding: 0.6rem 0.7rem;
    border: 1px solid transparent;
    border-radius: 0.8rem;
    background: transparent;
    cursor: pointer;
    transition: background 0.14s, border-color 0.14s;
}

.team-option:hover {
    background: #f8fafc;
}

.team-option.is-selected {
    background: #f0f9ff;
    border-color: rgba(14, 165, 233, 0.3);
}

.team-option__check {
    display: grid;
    place-items: center;
    height: 1.35rem;
    width: 1.35rem;
    flex-shrink: 0;
    border-radius: 0.45rem;
    border: 2px solid #cbd5e1;
    color: #fff;
    transition: background 0.16s, border-color 0.16s, transform 0.16s;
}

.team-option__check svg {
    height: 0.9rem;
    width: 0.9rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transform: scale(0.4);
    transition: opacity 0.16s, transform 0.16s;
}

.team-option.is-selected .team-option__check {
    background: #0ea5e9;
    border-color: #0ea5e9;
    transform: scale(1.05);
}

.team-option.is-selected .team-option__check svg {
    opacity: 1;
    transform: none;
}

.team-option__body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.team-option__name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
}

.team-option__email {
    font-size: 0.78rem;
    color: #94a3b8;
}

.team-picker__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.25rem;
    border-top: 1px solid #f1f5f9;
}

.team-picker__count {
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
}

.team-picker__foot-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.team-picker__cancel {
    border: none;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 0.55rem 0.8rem;
    cursor: pointer;
    border-radius: 0.7rem;
    transition: background 0.14s, color 0.14s;
}

.team-picker__cancel:hover {
    background: #f1f5f9;
    color: #334155;
}

.team-picker__done {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 6.4rem;
    border: none;
    border-radius: 0.7rem;
    background: #0ea5e9;
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 1.1rem;
    cursor: pointer;
    transition: background 0.16s;
}

.team-picker__done:hover {
    background: #0284c7;
}

.team-picker__done .team-picker__spinner {
    display: none;
}

.team-picker__done.is-loading {
    pointer-events: none;
}

.team-picker__done.is-loading .team-picker__done-label {
    visibility: hidden;
}

.team-picker__done.is-loading .team-picker__spinner {
    display: block;
    position: absolute;
    height: 1.1rem;
    width: 1.1rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-top-color: #fff;
    animation: ateam-spin 0.6s linear infinite;
}

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

@media (prefers-reduced-motion: reduce) {
    .team-chip,
    .team-picker__panel,
    .team-picker__backdrop,
    .team-option__check {
        transition: none;
    }

    .team-chip {
        opacity: 1;
        transform: none;
    }
}

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

@keyframes modal-rise-in {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modal-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.app-fade-in {
    animation: app-fade-in 420ms ease-out both;
}

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

@keyframes auth-flash-in {
    from {
        opacity: 0;
        transform: translate3d(18px, -10px, 0) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes auth-flash-out {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        opacity: 0;
        transform: translate3d(18px, -8px, 0) scale(0.98);
    }
}

@keyframes auth-flash-timer {
    from {
        transform: scaleX(1);
    }
    to {
        transform: scaleX(0);
    }
}

@media (max-width: 1023px) {
    .workspace-sidebar,
    .dashboard-sidebar {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 40;
        width: min(86vw, 300px);
        box-shadow: 0 32px 70px rgba(15, 23, 42, 0.18);
        transform: translateX(-118%);
        transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .workspace-sidebar.is-open,
    .dashboard-sidebar.is-open {
        transform: translateX(0);
    }

    body.sidebar-open {
        overflow: hidden;
    }

    body.sidebar-open .sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }
}

@media (max-width: 767px) {
    .profile-form-grid {
        grid-template-columns: 1fr;
    }

    .internship-track-switch__tabs {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .internship-process-panel__head {
        align-items: stretch;
        flex-direction: column;
        padding-inline: 1rem;
    }

    .internship-process-panel__meta {
        align-items: stretch;
        flex-direction: column;
    }

    .internship-process-progress {
        min-width: 0;
    }

    .internship-process-track-wrap {
        padding-inline: 1rem;
    }

    .internship-process-step {
        flex-basis: 15.6rem;
    }

    .internship-summary,
    .internship-step-panel__head,
    .internship-table-card__head,
    .internship-side-card__head {
        padding-inline: 1rem;
    }

    .internship-step-grid,
    .internship-breakdown,
    .internship-session-list,
    .internship-side-card__stack {
        padding-inline: 1rem;
    }

    .internship-table th,
    .internship-table td {
        padding-inline: 1rem;
    }

    .workspace-filter-grid {
        grid-template-columns: 1fr;
    }

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

    .workspace-filter-reset,
    .workspace-filter-submit,
    .workspace-action-button {
        width: 100%;
    }

    .modal-form-actions {
        justify-content: stretch;
    }

    .modal-form-actions > * {
        width: 100%;
    }

    .modal-panel {
        width: calc(100vw - 1rem);
        max-height: calc(100vh - 1rem);
        margin: 0.5rem auto;
        border-radius: 1.2rem;
    }

    .modal-body {
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
    }

    .ui-reveal {
        opacity: 1;
        transform: none;
    }
}

@media print {
    @page {
        margin: 10mm 9mm;
        size: A4 portrait;
    }

    *,
    *::before,
    *::after {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        animation: none !important;
        transition: none !important;
    }

    html,
    body {
        background: #ffffff !important;
        color: #0f172a !important;
        height: auto !important;
        min-width: 0 !important;
        overflow: visible !important;
        width: 100% !important;
    }

    body.is-printing-report .workspace-sidebar,
    body.is-printing-report .workspace-header,
    body.is-printing-report .sidebar-overlay,
    body.is-printing-report .report-head-actions,
    body.is-printing-report .report-ai-insight-modal,
    body.is-printing-report .modal-shell,
    body.is-printing-report .report-track-menu,
    body.is-printing-report .report-download-button {
        display: none !important;
    }

    body.is-printing-report .workspace-layout {
        display: block !important;
        min-height: auto !important;
        overflow: visible !important;
        width: 100% !important;
    }

    body.is-printing-report .dashboard-content {
        padding: 0 !important;
        overflow: visible !important;
        width: 100% !important;
    }

    body.is-printing-report .dashboard-main,
    body.is-printing-report main,
    body.is-printing-report .student-report-section,
    body.is-printing-report .student-report-section * {
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.is-printing-report .student-report-section {
        border-color: #dbeafe !important;
        border-radius: 18px !important;
        margin: 0 !important;
        overflow: visible !important;
        page-break-after: auto;
        width: 100% !important;
    }

    body.is-printing-report .student-report-section__head {
        align-items: flex-start !important;
        break-inside: avoid-page;
        display: flex !important;
        gap: 12px !important;
        padding: 14px 16px !important;
    }

    body.is-printing-report .student-report-process-grid,
    body.is-printing-report .report-step-analytics-row,
    body.is-printing-report .report-kpi-grid,
    body.is-printing-report .report-analytics-grid,
    body.is-printing-report .student-report-support-grid,
    body.is-printing-report .report-ai-process-grid,
    body.is-printing-report .report-ai-guidance {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        margin-inline: 0 !important;
        padding-inline: 0 !important;
        width: 100% !important;
    }

    body.is-printing-report .student-report-process-grid {
        padding: 12px !important;
    }

    body.is-printing-report .student-report-process-card {
        grid-template-columns: auto minmax(0, 1fr) !important;
        min-height: auto !important;
        padding: 12px !important;
    }

    body.is-printing-report .student-report-section,
    body.is-printing-report .student-report-analytics-board,
    body.is-printing-report .report-analytics-card,
    body.is-printing-report .report-kpi-card,
    body.is-printing-report .student-report-process-card {
        box-shadow: none !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    body.is-printing-report .score-bar-chart,
    body.is-printing-report .student-report-analytics-board,
    body.is-printing-report .report-analytics-card,
    body.is-printing-report .report-kpi-card {
        margin: 0 !important;
        max-width: 100% !important;
        overflow: visible !important;
        padding: 12px !important;
        width: 100% !important;
    }

    body.is-printing-report .score-bar-chart__canvas {
        gap: 4px !important;
        grid-template-columns: repeat(var(--bar-count), minmax(0, 1fr)) !important;
        min-height: 130px !important;
        padding: 8px 4px 0 !important;
    }

    body.is-printing-report .score-bar-column {
        grid-template-rows: 82px auto auto !important;
    }

    body.is-printing-report .score-bar-column__plot {
        height: 82px !important;
        width: min(26px, 72%) !important;
    }

    body.is-printing-report .score-bar-column__fill {
        opacity: 1 !important;
        transform: scaleY(1) !important;
    }

    body.is-printing-report .score-bar-column::after,
    body.is-printing-report .student-report-process-card__detail {
        display: none !important;
    }

    body.is-printing-report .score-bar-column__label {
        -webkit-line-clamp: 2 !important;
        font-size: 8px !important;
        line-height: 1.15 !important;
        min-height: 18px !important;
    }

    body.is-printing-report .score-bar-column small {
        font-size: 8px !important;
    }

    body.is-printing-report .student-report-ring {
        --ring-reveal: 100%;
        height: 74px !important;
        width: 74px !important;
    }

    body.is-printing-report .student-report-ring::before {
        -webkit-mask: none !important;
        mask: none !important;
        opacity: 1 !important;
    }

    body.is-printing-report .student-report-ring > div {
        height: 52px !important;
        width: 52px !important;
    }

    body.is-printing-report .student-report-ring strong {
        font-size: 19px !important;
    }

    body.is-printing-report .student-report-ring span {
        font-size: 8px !important;
    }

    body.is-printing-report .report-line-chart,
    body.is-printing-report .report-radar-graph {
        overflow: visible !important;
    }

    body.is-printing-report .report-line-chart svg,
    body.is-printing-report .report-radar-graph svg {
        height: auto !important;
        max-height: 210px !important;
        min-height: 0 !important;
        width: 100% !important;
    }

    body.is-printing-report .report-chart-area {
        opacity: 0.85 !important;
    }

    body.is-printing-report .report-chart-line {
        stroke-dashoffset: 0 !important;
    }

    body.is-printing-report .report-chart-dot {
        opacity: 1 !important;
    }

    body.is-printing-report .report-radar-area {
        opacity: 0.9 !important;
        transform: scale(1) !important;
    }

    body.is-printing-report .report-radar-line {
        stroke-dashoffset: 0 !important;
    }

    body.is-printing-report .report-prediction-meter i,
    body.is-printing-report .report-ai-process-meter i {
        transform: scaleX(1) !important;
    }

    body.is-printing-report .report-insight-bars span {
        transform: scaleY(1) !important;
    }

    body.is-printing-report .report-kpi-card dl,
    body.is-printing-report .report-dark-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.is-printing-report a {
        color: inherit !important;
        text-decoration: none !important;
    }
}

@property --score {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

@property --ring-reveal {
    syntax: '<percentage>';
    inherits: false;
    initial-value: 0%;
}

@keyframes fillRing {
    from { --score: 0%; }
}

@keyframes ringSegmentReveal {
    from { --ring-reveal: 0%; }
    to { --ring-reveal: 100%; }
}
