:root {
    --shell-ink: #122033;
    --shell-muted: #5f6f86;
    --shell-surface: #f4f7fb;
    --shell-card: #ffffff;
    --shell-line: #d9e2ef;
    --shell-primary: #0d6a6f;
    --shell-primary-deep: #083f52;
    --shell-accent: #f3b53f;
    --shell-coral: #d96b53;
    --shell-shadow: 0 22px 50px rgba(10, 31, 68, 0.12);
}

html,
body {
    min-height: 100%;
}

body.app-shell {
    margin: 0;
    color: var(--shell-ink);
    background:
        radial-gradient(circle at top left, rgba(13, 106, 111, 0.12), transparent 28rem),
        radial-gradient(circle at top right, rgba(243, 181, 63, 0.16), transparent 24rem),
        linear-gradient(180deg, #f9fbfd 0%, #eef3f9 100%);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a {
    color: var(--shell-primary-deep);
}

a:hover {
    color: var(--shell-primary);
}

.shell-container {
    max-width: 1180px;
}

.topband {
    background: var(--shell-primary-deep);
    color: #e8f3f3;
    font-size: 0.95rem;
}

.topband-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.7rem 0;
}

.topband-link {
    color: #fff3cf;
    text-decoration: none;
    font-weight: 600;
}

.shell-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(217, 226, 239, 0.95);
    position: sticky;
    top: 0;
    z-index: 10;
}

.shell-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    color: var(--shell-ink);
    text-decoration: none;
}

.shell-brand:hover {
    color: var(--shell-ink);
}

.shell-brand strong,
.shell-brand small {
    display: block;
    line-height: 1.15;
}

.shell-brand small {
    color: var(--shell-muted);
    font-size: 0.82rem;
    font-weight: 500;
}

.brand-mark {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--shell-primary), var(--shell-primary-deep));
    color: #fff;
    box-shadow: 0 12px 24px rgba(8, 63, 82, 0.26);
}

.shell-nav-links {
    gap: 0.35rem;
    margin-left: 1.1rem;
}

.shell-nav-links .nav-link {
    color: var(--shell-muted);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
}

.shell-nav-links .nav-link:hover,
.shell-nav-links .nav-link:focus {
    color: var(--shell-primary-deep);
    background: rgba(13, 106, 111, 0.08);
}

.shell-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-top: 1rem;
}

.shell-action-link {
    color: var(--shell-muted);
    font-weight: 600;
    text-decoration: none;
}

.shell-action-link:hover {
    color: var(--shell-primary-deep);
}

.shell-cta,
.banner-cta,
.cta-button {
    border: none;
    border-radius: 999px;
    padding: 0.8rem 1.35rem;
    font-weight: 700;
    text-decoration: none;
    background: linear-gradient(135deg, var(--shell-primary), var(--shell-primary-deep));
    color: #fff;
    box-shadow: 0 16px 32px rgba(8, 63, 82, 0.2);
}

.shell-cta:hover,
.banner-cta:hover,
.cta-button:hover {
    color: #fff;
    transform: translateY(-1px);
}

.shell-cta-secondary {
    background: linear-gradient(135deg, #d96b53, #b4493e);
}

.shell-main {
    padding: 1.6rem 0 3rem;
}

.journey-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    margin: 0 0 1.75rem;
    padding: 1.4rem 1.6rem;
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shell-shadow);
}

.journey-banner h2 {
    margin: 0 0 0.35rem;
    font-size: 1.3rem;
}

.journey-banner p {
    margin: 0;
    color: rgba(18, 32, 51, 0.85);
}

.journey-banner-admin {
    background: linear-gradient(135deg, rgba(243, 181, 63, 0.24), rgba(217, 107, 83, 0.2));
}

.journey-banner-student {
    background: linear-gradient(135deg, rgba(13, 106, 111, 0.18), rgba(243, 181, 63, 0.18));
}

.journey-banner-facilitator {
    background: linear-gradient(135deg, rgba(8, 63, 82, 0.16), rgba(217, 107, 83, 0.18));
}

.journey-banner-school {
    background: linear-gradient(135deg, rgba(243, 181, 63, 0.18), rgba(13, 106, 111, 0.16));
}

.shell-footer {
    margin-top: auto;
    padding: 2.2rem 0;
    border-top: 1px solid rgba(217, 226, 239, 0.8);
    background: rgba(255, 255, 255, 0.82);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 1rem;
    align-items: center;
}

.footer-grid h4 {
    margin: 0 0 0.35rem;
}

.footer-grid p {
    margin: 0;
    color: var(--shell-muted);
}

.footer-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    text-decoration: none;
    font-weight: 600;
}

.footer-copy {
    text-align: right;
}

.page-panel,
.page-card,
.spotlight-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(217, 226, 239, 0.9);
    border-radius: 1.6rem;
    box-shadow: var(--shell-shadow);
}

.landing-hero {
    overflow: hidden;
    padding: 0;
}

.landing-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    align-items: center;
    padding: 2.6rem;
}

.landing-eyebrow {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 700;
    color: var(--shell-primary);
    margin-bottom: 1rem;
}

.landing-title {
    font-size: clamp(2.1rem, 3vw, 3.6rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.landing-copy,
.page-lead {
    color: var(--shell-muted);
    font-size: 1.05rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.cta-button-secondary {
    background: #ffffff;
    color: var(--shell-primary-deep);
    border: 1px solid rgba(13, 106, 111, 0.15);
    box-shadow: none;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-top: 1.8rem;
}

.metric-card {
    padding: 1rem;
    border-radius: 1.1rem;
    background: linear-gradient(180deg, #ffffff, #f6f9fc);
    border: 1px solid rgba(217, 226, 239, 0.85);
}

.metric-card strong {
    display: block;
    font-size: 1.45rem;
    margin-bottom: 0.2rem;
}

.metric-card span {
    color: var(--shell-muted);
    font-size: 0.92rem;
}

.hero-side {
    display: grid;
    gap: 1rem;
}

.hero-side .spotlight-card {
    padding: 1.35rem;
}

.spotlight-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.7rem;
    border-radius: 999px;
    background: rgba(13, 106, 111, 0.1);
    color: var(--shell-primary-deep);
    font-weight: 700;
    font-size: 0.85rem;
}

.quick-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 1.6rem;
}

.flow-card,
.info-card {
    padding: 1.45rem;
}

.flow-card h3,
.info-card h3,
.section-heading {
    margin-bottom: 0.7rem;
}

.flow-card p,
.info-card p,
.info-card li {
    color: var(--shell-muted);
}

.flow-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.section-stack {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

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

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

.persona-card {
    padding: 1.35rem;
}

.persona-card ul,
.info-card ul {
    margin: 0;
    padding-left: 1.1rem;
}

.persona-card li,
.info-card li {
    margin-bottom: 0.45rem;
}

.signal-box {
    padding: 1.15rem 1.2rem;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, rgba(13, 106, 111, 0.08), rgba(243, 181, 63, 0.14));
    border: 1px solid rgba(217, 226, 239, 0.9);
}

.contact-grid,
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.25rem;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.85rem;
}

.contact-list li {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: #f7fafc;
    border: 1px solid rgba(217, 226, 239, 0.9);
}

.contact-label {
    display: block;
    color: var(--shell-muted);
    font-size: 0.88rem;
    margin-bottom: 0.25rem;
}

.muted-note {
    color: var(--shell-muted);
}

.body-content {
    margin-top: 25px;
    padding-left: 15px;
    padding-right: 15px;
}

.dl-horizontal dt {
    white-space: normal;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}

@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}

@media (max-width: 991.98px) {
    .shell-actions {
        margin-top: 1rem;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .landing-grid,
    .persona-grid,
    .quick-flow,
    .two-column,
    .contact-grid,
    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-metrics {
        grid-template-columns: 1fr;
    }

    .journey-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-copy {
        text-align: left;
    }
}

@media (max-width: 767.98px) {
    .landing-grid {
        padding: 1.5rem;
    }

    .topband-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

.teacher-workspace {
    --teacher-bg: #eef3f8;
    --teacher-surface: #ffffff;
    --teacher-surface-strong: #f7f9fc;
    --teacher-surface-soft: #e9eef5;
    --teacher-line: rgba(26, 43, 64, 0.12);
    --teacher-text: #1f2d3d;
    --teacher-muted: #53687f;
    --teacher-blue: #1a73e8;
    --teacher-green: #34a853;
    --teacher-amber: #fbbc04;
    --teacher-red: #ea4335;
    --teacher-metal: linear-gradient(135deg, #f8fafc 0%, #e6edf5 48%, #dce5ef 100%);
    --teacher-metal-soft: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 246, 251, 0.9));
    color: var(--teacher-text);
}

.teacher-workspace .teacher-shell {
    display: grid;
    gap: 1.25rem;
}

.teacher-workspace .teacher-hero,
.teacher-workspace .teacher-panel,
.teacher-workspace .teacher-stat {
    border-radius: 1.35rem;
    border: 1px solid var(--teacher-line);
    background: var(--teacher-metal);
    box-shadow: 0 24px 48px rgba(23, 40, 64, 0.14);
    overflow: hidden;
}

.teacher-workspace .teacher-hero {
    padding: 1.6rem;
    position: relative;
}

.teacher-workspace .teacher-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(26, 115, 232, 0.14), transparent 14rem),
        radial-gradient(circle at bottom left, rgba(251, 188, 4, 0.12), transparent 14rem);
    pointer-events: none;
}

.teacher-workspace .teacher-hero-inner,
.teacher-workspace .teacher-panel-body,
.teacher-workspace .teacher-panel-header {
    position: relative;
    z-index: 1;
}

.teacher-workspace .teacher-hero-inner {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-start;
}

.teacher-workspace .teacher-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(26, 115, 232, 0.1);
    color: var(--teacher-blue);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.teacher-workspace .teacher-title {
    margin: 0.85rem 0 0.45rem;
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
    line-height: 1.05;
    color: #1a2736;
}

.teacher-workspace .teacher-subtitle,
.teacher-workspace .teacher-panel-subtitle,
.teacher-workspace .teacher-empty {
    margin: 0;
    color: var(--teacher-muted);
}

.teacher-workspace .teacher-chip-row,
.teacher-workspace .teacher-actions,
.teacher-workspace .teacher-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.teacher-workspace .teacher-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(26, 43, 64, 0.1);
    background: rgba(255, 255, 255, 0.82);
    color: #233446;
    font-weight: 600;
}

.teacher-workspace .teacher-grid {
    display: grid;
    gap: 1.25rem;
}

.teacher-workspace .teacher-grid.teacher-grid-2 {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.95fr);
}

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

.teacher-workspace .teacher-panel-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.15rem;
    border-bottom: 1px solid var(--teacher-line);
    background: var(--teacher-metal-soft);
}

.teacher-workspace .teacher-panel-title {
    margin: 0;
    color: #203041;
    font-size: 1rem;
    font-weight: 700;
}

.teacher-workspace .teacher-panel-body {
    padding: 1.15rem;
}

.teacher-workspace .teacher-stat {
    padding: 1rem 1.1rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(239, 244, 249, 0.92)),
        var(--teacher-metal);
}

.teacher-workspace .teacher-stat strong {
    display: block;
    color: #1e3042;
    font-size: 1.5rem;
}

.teacher-workspace .teacher-stat span {
    color: var(--teacher-muted);
    font-size: 0.92rem;
}

.teacher-workspace .teacher-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.95rem 1.2rem;
}

.teacher-workspace .teacher-detail-label {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--teacher-muted);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.teacher-workspace .teacher-detail-value {
    color: #1d2d3d;
    font-weight: 600;
}

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

.teacher-workspace .teacher-form-grid .teacher-form-span {
    grid-column: 1 / -1;
}

.teacher-workspace .teacher-form-field label,
.teacher-workspace .teacher-form-field .form-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--teacher-muted);
    font-size: 0.88rem;
    font-weight: 600;
}

.teacher-workspace .form-control,
.teacher-workspace .form-select,
.teacher-workspace select,
.teacher-workspace textarea,
.teacher-workspace input[type="text"],
.teacher-workspace input[type="password"],
.teacher-workspace input[type="email"],
.teacher-workspace input[type="tel"],
.teacher-workspace input[type="date"],
.teacher-workspace input[type="number"] {
    width: 100%;
    max-width: none;
    min-height: 44px;
    border-radius: 0.95rem;
    border: 1px solid rgba(26, 43, 64, 0.16);
    background: rgba(255, 255, 255, 0.96);
    color: #1f2d3d;
    box-shadow: none;
}

.teacher-workspace .form-control:focus,
.teacher-workspace .form-select:focus,
.teacher-workspace select:focus,
.teacher-workspace textarea:focus,
.teacher-workspace input:focus {
    border-color: rgba(26, 115, 232, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(26, 115, 232, 0.12);
    background: #ffffff;
    color: #142434;
}

.teacher-workspace select option {
    background: #ffffff;
    color: #1f2d3d;
}

.teacher-workspace .text-danger,
.teacher-workspace .validator,
.teacher-workspace span[style*="color:Red"] {
    color: #ff8a80 !important;
}

.teacher-workspace .teacher-gridview,
.teacher-workspace .teacher-gridview table,
.teacher-workspace .table {
    color: var(--teacher-text);
}

.teacher-workspace .table {
    margin-bottom: 0;
    --bs-table-bg: transparent;
    --bs-table-striped-bg: rgba(244, 247, 251, 0.9);
    --bs-table-hover-bg: rgba(26, 115, 232, 0.06);
    --bs-table-border-color: rgba(26, 43, 64, 0.1);
}

.teacher-workspace .table thead th {
    color: #33475b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.76rem;
    border-bottom-width: 1px;
    background: rgba(232, 238, 245, 0.95);
}

.teacher-workspace .table tbody td,
.teacher-workspace .table tbody th {
    vertical-align: middle;
    border-color: rgba(26, 43, 64, 0.08);
    color: #223244;
}

.teacher-workspace .table a {
    color: var(--teacher-blue);
    font-weight: 600;
    text-decoration: underline;
}

.teacher-workspace .teacher-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.teacher-workspace .teacher-badge-blue {
    background: rgba(26, 115, 232, 0.12);
    color: #185abc;
}

.teacher-workspace .teacher-badge-green {
    background: rgba(52, 168, 83, 0.14);
    color: #24753b;
}

.teacher-workspace .teacher-badge-amber {
    background: rgba(251, 188, 4, 0.18);
    color: #9a6800;
}

.teacher-workspace .teacher-badge-red {
    background: rgba(234, 67, 53, 0.14);
    color: #b3261e;
}

.teacher-workspace .btn,
.teacher-workspace .btn-primary,
.teacher-workspace .btn-secondary,
.teacher-workspace .btn-info,
.teacher-workspace .btn-success,
.teacher-workspace .btn-warning,
.teacher-workspace .btn-danger,
.teacher-workspace .btn-outline-primary,
.teacher-workspace .btn-outline-secondary,
.teacher-workspace .btn-outline-danger {
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    padding: 0.6rem 1rem;
}

.teacher-workspace .btn-primary,
.teacher-workspace .btn-info,
.teacher-workspace .btn-success {
    background: linear-gradient(135deg, #8ab4f8 0%, #3b82f6 100%);
    border-color: rgba(138, 180, 248, 0.35);
    color: #081018;
}

.teacher-workspace .btn-secondary,
.teacher-workspace .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(26, 43, 64, 0.12);
    color: #203244;
}

.teacher-workspace .btn-warning {
    background: linear-gradient(135deg, #fbbc04 0%, #f59e0b 100%);
    border-color: rgba(251, 188, 4, 0.35);
    color: #181003;
}

.teacher-workspace .btn-danger,
.teacher-workspace .btn-outline-danger {
    background: rgba(234, 67, 53, 0.12);
    border-color: rgba(234, 67, 53, 0.32);
    color: #b3261e;
}

.teacher-workspace .btn-outline-primary {
    background: rgba(26, 115, 232, 0.08);
    border-color: rgba(26, 115, 232, 0.22);
    color: #185abc;
}

.teacher-workspace .btn:hover {
    transform: translateY(-1px);
}

.teacher-workspace .teacher-empty {
    padding: 1rem 0;
}

.teacher-workspace .teacher-panel .table .table {
    margin-top: 0.65rem;
    background: rgba(248, 250, 252, 0.96);
    border-radius: 1rem;
    overflow: hidden;
}

.teacher-workspace .teacher-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.teacher-workspace .teacher-stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.teacher-workspace .teacher-empty-state {
    padding: 1.25rem;
    border: 1px dashed rgba(26, 115, 232, 0.22);
    border-radius: 18px;
    background: rgba(248, 250, 252, 0.92);
    color: var(--teacher-muted);
}

.teacher-workspace .teacher-empty-state strong {
    display: block;
    color: var(--teacher-text);
    margin-bottom: 0.25rem;
}

.teacher-workspace .live-video-empty {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 1rem;
    z-index: 2;
}

.teacher-workspace .teacher-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.teacher-workspace .teacher-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(26, 115, 232, 0.1);
    border: 1px solid rgba(26, 115, 232, 0.16);
    color: #203244;
    font-size: 0.92rem;
}

.teacher-workspace .teacher-list {
    display: grid;
    gap: 0.9rem;
}

.teacher-workspace .teacher-choice-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 0;
    padding: 0.25rem 0 0;
    color: var(--teacher-text);
}

.teacher-workspace .teacher-choice-list input {
    margin-right: 0.35rem;
}

.teacher-workspace .teacher-list-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(26, 43, 64, 0.08);
}

.teacher-workspace .teacher-list-item strong {
    display: block;
    color: var(--teacher-text);
    margin-bottom: 0.2rem;
}

.teacher-workspace .teacher-list-item span {
    color: var(--teacher-muted);
    font-size: 0.92rem;
}

.teacher-workspace .teacher-copy-stack {
    display: grid;
    gap: 0.2rem;
}

.teacher-workspace .teacher-copy-stack strong {
    color: var(--teacher-text);
    font-size: 0.95rem;
}

.teacher-workspace .teacher-copy-stack span {
    color: var(--teacher-muted);
    font-size: 0.9rem;
    line-height: 1.45;
}

.teacher-workspace .teacher-progress {
    display: grid;
    gap: 0.35rem;
    min-width: 180px;
}

.teacher-workspace .teacher-progress-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(26, 43, 64, 0.08);
    border: 1px solid rgba(26, 43, 64, 0.06);
}

.teacher-workspace .teacher-progress-fill {
    height: 100%;
    border-radius: 999px;
}

.teacher-workspace .teacher-progress-fill.teacher-badge-green {
    background: linear-gradient(90deg, #34a853 0%, #2f7d41 100%);
}

.teacher-workspace .teacher-progress-fill.teacher-badge-amber {
    background: linear-gradient(90deg, #fbbc04 0%, #f29900 100%);
}

.teacher-workspace .teacher-progress-fill.teacher-badge-red {
    background: linear-gradient(90deg, #ea4335 0%, #c5221f 100%);
}

.teacher-workspace .teacher-progress-text {
    color: var(--teacher-muted);
    font-size: 0.84rem;
    font-weight: 600;
}

.teacher-workspace .teacher-call-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.teacher-workspace .teacher-video-card {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top right, rgba(66, 133, 244, 0.28), transparent 38%),
        linear-gradient(180deg, rgba(22, 28, 39, 0.95), rgba(7, 11, 18, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 24px 48px rgba(0, 0, 0, 0.32);
}

.teacher-workspace .teacher-video-card video {
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    display: block;
    background: #030712;
}

.teacher-workspace .teacher-video-meta {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.teacher-workspace .teacher-video-label {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--teacher-text);
    font-size: 0.9rem;
}

.teacher-workspace .teacher-media-controls,
.teacher-workspace .teacher-call-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.teacher-workspace .btn-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    padding: 0;
}

.teacher-workspace .teacher-status-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.95rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(26, 115, 232, 0.16);
    color: var(--teacher-text);
}

.teacher-workspace .teacher-status-banner.info {
    border-color: rgba(138, 180, 248, 0.28);
}

.teacher-workspace .teacher-status-banner.success {
    border-color: rgba(52, 168, 83, 0.34);
}

.teacher-workspace .teacher-status-banner.warning {
    border-color: rgba(251, 188, 4, 0.36);
}

.teacher-workspace .teacher-status-banner.error {
    border-color: rgba(234, 67, 53, 0.4);
}

.teacher-workspace .teacher-loader {
    color: var(--teacher-muted);
    font-size: 0.95rem;
}

.teacher-workspace .teacher-loader i {
    margin-right: 0.45rem;
}

@media (max-width: 991.98px) {
    .teacher-workspace .teacher-hero-inner,
    .teacher-workspace .teacher-grid.teacher-grid-2,
    .teacher-workspace .teacher-grid.teacher-grid-3,
    .teacher-workspace .teacher-details,
    .teacher-workspace .teacher-form-grid {
        grid-template-columns: 1fr;
    }

    .teacher-workspace .teacher-list-item,
    .teacher-workspace .teacher-video-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

.auth-stage {
    padding: 1.25rem 0 2.75rem;
}

.auth-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
    gap: 1.5rem;
    align-items: stretch;
}

.auth-showcase,
.auth-panel {
    position: relative;
    overflow: hidden;
    min-height: 100%;
}

.auth-showcase {
    padding: 2.2rem;
    background:
        radial-gradient(circle at top right, rgba(243, 181, 63, 0.24), transparent 32%),
        radial-gradient(circle at 20% 18%, rgba(13, 106, 111, 0.22), transparent 26%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 245, 252, 0.94));
}

.auth-showcase::after {
    content: "";
    position: absolute;
    inset: auto -10% -20% 40%;
    height: 19rem;
    background:
        radial-gradient(circle at center, rgba(8, 63, 82, 0.16), transparent 62%);
    pointer-events: none;
}

.auth-showcase-copy,
.auth-panel-inner {
    position: relative;
    z-index: 1;
}

.auth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(13, 106, 111, 0.12);
    color: var(--shell-primary-deep);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-title {
    margin: 1rem 0 0.9rem;
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 0.98;
    color: #102131;
    max-width: 12ch;
}

.auth-copy {
    max-width: 38rem;
    margin: 0;
    color: #4d6077;
    font-size: 1.06rem;
    line-height: 1.7;
}

.auth-rhythm-bar {
    display: flex;
    align-items: end;
    gap: 0.7rem;
    margin: 1.8rem 0 1.6rem;
    min-height: 4.8rem;
}

.auth-rhythm-bar span {
    flex: 1 1 0;
    max-width: 80px;
    border-radius: 999px 999px 22px 22px;
    background: linear-gradient(180deg, rgba(13, 106, 111, 0.85), rgba(8, 63, 82, 0.45));
    box-shadow: 0 14px 28px rgba(8, 63, 82, 0.14);
    animation: authPulse 3.6s ease-in-out infinite;
}

.auth-rhythm-bar span:nth-child(1) {
    height: 2.6rem;
    animation-delay: 0s;
}

.auth-rhythm-bar span:nth-child(2) {
    height: 4.5rem;
    animation-delay: 0.35s;
}

.auth-rhythm-bar span:nth-child(3) {
    height: 3.4rem;
    animation-delay: 0.7s;
}

.auth-rhythm-bar span:nth-child(4) {
    height: 5.2rem;
    animation-delay: 1.05s;
}

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

.auth-feature-card {
    padding: 1.15rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(217, 226, 239, 0.95);
    box-shadow: 0 12px 26px rgba(10, 31, 68, 0.08);
    backdrop-filter: blur(8px);
}

.auth-feature-card strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #1a3041;
    font-size: 1rem;
}

.auth-feature-card span {
    color: #5c6f85;
    font-size: 0.92rem;
    line-height: 1.55;
}

.auth-panel {
    padding: 1.2rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 253, 0.96));
}

.auth-panel-inner {
    display: grid;
    gap: 1.15rem;
    height: 100%;
    padding: 1.25rem;
    border-radius: 1.35rem;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
    border: 1px solid rgba(217, 226, 239, 0.92);
}

.auth-panel-header {
    display: grid;
    gap: 0.45rem;
}

.auth-form-title {
    margin: 0;
    color: #142535;
    font-size: 1.9rem;
}

.auth-form-copy {
    margin: 0;
    color: #62758c;
    line-height: 1.6;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

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

.auth-label {
    color: #213548;
    font-weight: 700;
    font-size: 0.94rem;
}

.auth-input {
    min-height: 56px;
    border-radius: 1rem;
    border: 1px solid rgba(25, 46, 70, 0.12);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.auth-input:focus {
    border-color: rgba(13, 106, 111, 0.42);
    box-shadow: 0 0 0 0.2rem rgba(13, 106, 111, 0.1);
}

.auth-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #2a3d52;
    font-weight: 600;
    cursor: pointer;
}

.auth-check input {
    margin: 0;
}

.auth-note {
    color: #73859a;
    font-size: 0.9rem;
}

.auth-submit {
    min-height: 56px;
    border-radius: 1rem;
    font-size: 1rem;
    letter-spacing: 0.01em;
    background: linear-gradient(135deg, var(--shell-primary) 0%, var(--shell-primary-deep) 100%);
    border: none;
    box-shadow: 0 16px 30px rgba(8, 63, 82, 0.18);
}

.auth-submit:hover,
.auth-submit:focus {
    color: #fff;
    transform: translateY(-1px);
}

.auth-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.auth-link {
    color: var(--shell-primary-deep);
    font-weight: 700;
    text-decoration: none;
}

.auth-link:hover {
    color: var(--shell-primary);
}

.auth-provider-panel {
    padding-top: 0.35rem;
    border-top: 1px solid rgba(217, 226, 239, 0.8);
}

.auth-alert,
.auth-validation {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(217, 107, 83, 0.28);
    background: rgba(255, 245, 243, 0.92);
    color: #8a3a2d;
}

.auth-alert {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.auth-validation ul {
    margin: 0;
    padding-left: 1.1rem;
}

.auth-stage .text-danger {
    color: #b63f2f !important;
    font-size: 0.9rem;
}

@keyframes authPulse {
    0%,
    100% {
        transform: translateY(0);
        opacity: 0.88;
    }

    50% {
        transform: translateY(-6px);
        opacity: 1;
    }
}

@media (max-width: 991.98px) {
    .auth-grid,
    .auth-feature-grid {
        grid-template-columns: 1fr;
    }

    .auth-showcase,
    .auth-panel {
        padding: 1.35rem;
    }

    .auth-title {
        max-width: none;
    }
}

.teacher-workspace .teacher-no-print {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.teacher-workspace .teacher-report-sheet {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.96));
}

.teacher-workspace .teacher-report-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.teacher-workspace .teacher-report-signoff {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.teacher-workspace .teacher-report-note {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    border: 1px dashed rgba(26, 43, 64, 0.12);
    background: rgba(255, 255, 255, 0.78);
}

@media print {
    body.app-shell {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .topband,
    .shell-navbar,
    .shell-footer,
    .journey-banner,
    .teacher-no-print,
    .teacher-workspace .btn,
    .teacher-workspace .teacher-inline-actions {
        display: none !important;
    }

    .shell-main {
        padding: 0 !important;
    }

    .teacher-workspace,
    .teacher-workspace .teacher-shell,
    .teacher-workspace .teacher-grid,
    .teacher-workspace .teacher-grid.teacher-grid-2,
    .teacher-workspace .teacher-grid.teacher-grid-3 {
        display: block !important;
    }

    .teacher-workspace .teacher-hero,
    .teacher-workspace .teacher-panel,
    .teacher-workspace .teacher-stat {
        box-shadow: none !important;
        border: 1px solid rgba(32, 48, 65, 0.16) !important;
        background: #ffffff !important;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .teacher-workspace .teacher-hero::after {
        display: none !important;
    }

    .teacher-workspace .teacher-title,
    .teacher-workspace .teacher-panel-title,
    .teacher-workspace .teacher-detail-value,
    .teacher-workspace .teacher-copy-stack strong,
    .teacher-workspace .table thead th,
    .teacher-workspace .table tbody td,
    .teacher-workspace .table tbody th {
        color: #000000 !important;
    }

    .teacher-workspace .teacher-subtitle,
    .teacher-workspace .teacher-panel-subtitle,
    .teacher-workspace .teacher-copy-stack span,
    .teacher-workspace .teacher-detail-label,
    .teacher-workspace .teacher-progress-text {
        color: #4f5b67 !important;
    }

    .teacher-workspace .teacher-pill,
    .teacher-workspace .teacher-badge {
        border: 1px solid rgba(32, 48, 65, 0.16) !important;
        background: #f4f7fb !important;
        color: #203041 !important;
    }

    .teacher-workspace .table {
        --bs-table-bg: transparent;
    }

    .teacher-workspace .table a {
        color: #000000 !important;
        text-decoration: none !important;
    }
}
