:root {
    --student-ink: #1a1919;
    --student-ink-muted: #625f57;
    --student-green: #02ae6e;
    --student-green-dark: #007c4f;
    --student-green-soft: #e8f8f2;
    --student-yellow: #ffd42f;
    --student-yellow-dark: #caa500;
    --student-yellow-soft: #fff8dc;
    --student-pink-soft: #fff0f5;
    --student-cream: #fff8e0;
    --student-page: #f5f3ed;
    --student-white: #fff;
    --student-border: #dedbd2;
    --student-border-strong: #c9c5ba;
    --student-error: #b42318;
    --student-error-soft: #fff0ee;
    --student-radius: 6px;
    --student-shadow: 0 6px 18px rgba(26, 25, 25, .045);
    --student-font-heading: var(--font-heading, "Recht", "Arial Black", sans-serif);
    --student-font-subheading: var(--font-subheading, "Cake Mono", Consolas, monospace);
    --student-font-body: var(--font-body, "Geologica", Arial, sans-serif);
    --student-font-number: var(--font-number, "TA-DA Numbers", "Arial Black", sans-serif);
}

.student-ui-shell,
.student-ui-shell button,
.student-ui-shell input,
.student-ui-shell textarea,
.student-ui-shell select {
    font-family: var(--student-font-body);
}

.student-ui-shell {
    color: var(--student-ink);
    font-family: var(--student-font-body);
    font-size: 16px;
}

.student-ui-shell .content-wrapper {
    background: var(--student-page);
}

.student-ui-shell .content-header {
    padding: 12px 0 0;
}

.student-ui-shell .content {
    padding: 0 0 32px;
}

/* Header Navbar & Layout Hierarchy Reset */
.main-header ul,
.main-header ol,
.main-header li,
.student-ui-shell .main-header ul,
.student-ui-shell .main-header ol,
.student-ui-shell .main-header li {
    list-style: none !important;
    list-style-type: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.main-header .navbar-nav,
.student-ui-shell .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-header .navbar-nav .nav-item,
.student-ui-shell .navbar-nav .nav-item {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.student-ui-shell .main-header {
    min-height: 58px !important;
    height: 58px !important;
    background: #ffffff !important;
    border-bottom: 1px solid var(--student-border) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
}

.student-menu-trigger {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 7px 16px !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important;
}

.student-menu-trigger:hover,
.student-menu-trigger:focus-visible {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    transform: translateY(-1px) !important;
}

.student-topbar-context {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 6px 14px !important;
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 99px !important;
    font-size: 0.825rem !important;
    color: #475569 !important;
    text-decoration: none !important;
}

.student-topbar-context__label {
    color: #64748b !important;
    font-weight: 400 !important;
}

.student-topbar-context strong {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.student-account-trigger {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 7px 16px !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03) !important;
}

.student-account-trigger:hover,
.student-account-trigger:focus-visible {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

.student-ui-shell .dropdown-menu {
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    padding: 6px !important;
    margin-top: 8px !important;
    background: #ffffff !important;
    min-width: 220px !important;
}

.student-account-heading {
    font-family: var(--student-font-subheading), monospace !important;
    font-size: 0.75rem !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-weight: 700 !important;
}

.student-ui-shell .main-sidebar {
    background: var(--student-ink);
    box-shadow: none !important;
}

.student-ui-shell .brand-link {
    min-height: 58px;
    height: 58px;
    padding: 10px 18px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    overflow: hidden;
    background: var(--student-white) !important;
    border-bottom: 1px solid var(--student-border);
}

.student-brand-logo {
    width: 110px;
    height: 24px;
    object-fit: contain;
}

.student-brand-product {
    display: none !important;
}

.student-ui-shell .sidebar {
    padding: 8px 10px 24px;
}

.student-ui-shell .nav-sidebar .nav-item > .nav-link {
    min-height: 48px;
    margin-bottom: 4px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    color: #f4f3ee;
    font-weight: 600;
}

.student-ui-shell .nav-sidebar .nav-link p {
    width: calc(100% - 32px);
    margin: 0;
    white-space: normal;
}

.student-ui-shell .nav-sidebar .nav-icon {
    width: 24px;
    margin-right: 10px;
    color: #c7c4bb;
    font-size: 16px;
}

.student-ui-shell .nav-sidebar .nav-item > .nav-link:hover,
.student-ui-shell .nav-sidebar .nav-item > .nav-link:focus-visible {
    background: #32302f;
    color: var(--student-white);
}

.student-ui-shell .nav-sidebar .nav-item > .nav-link.active {
    background: var(--student-yellow);
    color: var(--student-ink);
    box-shadow: none;
}

.student-ui-shell .nav-sidebar .nav-link.active .nav-icon {
    color: var(--student-ink);
}

.student-nav-help {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.student-nav-badge {
    min-width: 24px;
    padding: 4px 7px;
    border-radius: 999px;
    background: var(--student-yellow);
    color: var(--student-ink);
}

.student-ui-shell .main-footer {
    color: var(--student-ink-muted);
    background: var(--student-white);
    border-top: 1px solid var(--student-border);
}

.student-ui-shell .alert {
    border: 1px solid currentColor;
    border-radius: var(--student-radius);
    box-shadow: none;
}

.student-ui {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 0 40px;
    color: var(--student-ink);
    font-size: 16px;
    line-height: 1.55;
}

.student-ui > .container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.student-ui h1,
.student-ui h2,
.student-ui h3,
.student-ui p {
    overflow-wrap: anywhere;
}

.student-ui h1,
.student-page-title,
.student-page-header__title {
    margin: 0;
    color: var(--student-ink);
    font-size: clamp(28px, 4vw, 42px);
    font-family: var(--student-font-heading);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.015em;
}

.student-ui h2,
.student-panel-title,
.student-panel__title {
    margin: 0;
    color: var(--student-ink);
    font-size: clamp(22px, 2.5vw, 28px);
    font-family: var(--student-font-heading);
    font-weight: 900;
    line-height: 1.08;
}

.student-ui h3 {
    color: var(--student-ink);
    font-family: var(--student-font-body);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;
}

.student-ui p:last-child {
    margin-bottom: 0;
}

.student-page-header {
    margin-bottom: 24px;
    padding: 16px 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.student-page-header > div:first-child,
.student-page-header__content {
    max-width: 780px;
}

.student-page-header p,
.student-page-description,
.student-page-header__description {
    margin: 10px 0 0;
    color: var(--student-ink-muted);
    font-size: 17px;
}

.student-eyebrow,
.student-page-eyebrow,
.student-page-header__eyebrow,
.student-panel__eyebrow {
    margin: 0 0 7px !important;
    color: var(--student-green-dark) !important;
    font-family: var(--student-font-subheading) !important;
    font-size: 13px !important;
    font-weight: 700;
    letter-spacing: .035em;
    line-height: 1.2;
    text-transform: uppercase;
}

.student-panel,
.student-test-card {
    margin-bottom: 28px !important;
    padding: 28px 32px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03) !important;
}

.student-panel-header,
.student-panel__header,
.student-section-heading {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.student-panel-description,
.student-panel__description,
.student-section-heading p {
    margin: 7px 0 0;
    color: var(--student-ink-muted);
}

.student-section {
    margin: 30px 0;
}

.student-section-heading--compact {
    align-items: center;
}

.student-section-heading--compact h2 {
    font-size: 23px;
}

.student-button,
.student-button--primary,
.student-button--secondary,
.student-button-primary,
.student-button-secondary {
    min-height: 46px;
    padding: 11px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color .15s ease, border-color .15s ease, transform .15s ease;
}

.student-button--primary,
.student-button-primary {
    color: var(--student-ink) !important;
    background: var(--student-yellow);
    border-color: var(--student-yellow-dark);
}

.student-button--primary:hover,
.student-button--primary:focus-visible,
.student-button-primary:hover,
.student-button-primary:focus-visible {
    color: var(--student-ink) !important;
    background: #ffe05d;
    border-color: var(--student-ink);
}

.student-button--secondary,
.student-button-secondary {
    color: var(--student-ink) !important;
    background: var(--student-white);
    border-color: var(--student-border-strong);
}

.student-button--secondary:hover,
.student-button--secondary:focus-visible,
.student-button-secondary:hover,
.student-button-secondary:focus-visible {
    color: var(--student-ink) !important;
    background: var(--student-cream);
    border-color: var(--student-ink);
}

.student-button:focus-visible,
.student-segmented__item:focus-visible,
.student-answer__input:focus-visible + .student-answer__label,
.student-ui input:focus-visible,
.student-ui textarea:focus-visible,
.student-ui summary:focus-visible {
    outline: 3px solid rgba(2, 174, 110, .28);
    outline-offset: 2px;
}

.student-button:disabled,
.student-button[aria-disabled="true"] {
    color: #77746c !important;
    background: #eceae3;
    border-color: #d5d2ca;
    cursor: not-allowed;
    opacity: 1;
}

.student-text-link,
.student-back-link,
.student-breadcrumbs a {
    color: var(--student-green-dark);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.student-back-link {
    min-height: 44px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.status-chip,
.student-status-chip {
    width: fit-content;
    min-height: 28px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--student-border-strong);
    border-radius: 999px;
    color: #504e49;
    background: #f4f3ef;
    font-size: 13px;
    font-weight: 750;
    line-height: 1.25;
}

.status-chip--success,
.student-status-chip-success {
    color: #086443;
    background: var(--student-green-soft);
    border-color: #82d9b8;
}

.status-chip--attention,
.status-chip--warning,
.student-status-chip-warning {
    color: #6d5600;
    background: var(--student-yellow-soft);
    border-color: #e8c94d;
}

.status-chip--error {
    color: var(--student-error);
    background: var(--student-error-soft);
    border-color: #efaaa4;
}

.student-progress {
    width: 100%;
    height: 9px;
    overflow: hidden;
    background: #e7e5de;
    border-radius: 999px;
}

.student-progress__bar {
    height: 100%;
    display: block;
    background: var(--student-green);
    border-radius: inherit;
}

.student-progress--compact {
    height: 7px;
}

.student-progress__bar--warning {
    background: var(--student-yellow-dark);
}

.student-state,
.student-state-empty,
.student-state-loading,
.student-state-error,
.student-state-info,
.student-state-success {
    min-height: 120px;
    padding: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--student-ink);
    background: #faf9f6;
    border: 1px dashed var(--student-border-strong);
    border-radius: var(--student-radius);
    text-align: left;
}

.student-state__icon,
.student-state > i {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--student-green-dark);
    background: var(--student-green-soft);
    border-radius: 50%;
    font-size: 20px;
}

.student-state__body,
.student-state > div {
    max-width: 620px;
}

.student-state__title,
.student-state strong {
    margin: 0 0 5px;
    display: block;
    font-size: 19px;
    font-weight: 750;
}

.student-state__message,
.student-state p {
    margin: 0 0 12px;
    color: var(--student-ink-muted);
}

.student-state--error,
.student-state-error {
    background: var(--student-error-soft);
    border-color: #efaaa4;
    border-style: solid;
}

.student-state--error .student-state__icon,
.student-state-error > i {
    color: var(--student-error);
    background: #ffe1de;
}

.student-state--loading,
.student-state-loading {
    min-height: 90px;
    background: var(--student-white);
    border-style: solid;
}

.student-state--success,
.student-state-success,
.student-state-info {
    background: var(--student-green-soft);
    border-color: #82d9b8;
    border-style: solid;
}

.student-skeleton {
    min-height: 18px;
    overflow: hidden;
    background: linear-gradient(90deg, #e9e7e0 25%, #f7f6f2 50%, #e9e7e0 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    animation: student-skeleton 1.3s linear infinite;
}

@keyframes student-skeleton {
    to { background-position: -200% 0; }
}

.student-help-panel,
.student-results-help {
    margin: 18px 0 24px;
    background: var(--student-white);
    border: 1px solid var(--student-border);
    border-radius: var(--student-radius);
}

.student-help-panel summary,
.student-results-help summary {
    min-height: 50px;
    padding: 13px 17px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 750;
    cursor: pointer;
}

.student-help-panel > div,
.student-results-help__content {
    padding: 0 18px 18px;
    color: var(--student-ink-muted);
}

.student-help-text {
    color: var(--student-ink-muted);
    font-size: 14px;
}

/* Student home */
.student-next-step {
    min-height: 210px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: var(--student-cream);
    border-color: #eadb9c;
}

.student-next-step__content {
    max-width: 760px;
}

.student-next-step h2 {
    margin: 13px 0 8px;
    font-size: clamp(25px, 3vw, 34px);
}

.student-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--student-border);
    border-radius: var(--student-radius);
    background: var(--student-white);
}

.student-metric {
    min-height: 150px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--student-border);
}

.student-metric:last-child {
    border-right: 0;
}

.student-metric__label {
    color: var(--student-ink-muted);
    font-size: 14px;
}

.student-metric__value {
    margin: 8px 0;
    display: block;
    font-size: 27px;
    line-height: 1.2;
}

.student-metric__value--small {
    font-size: 21px;
}

.student-metric__hint {
    color: var(--student-ink-muted);
    font-size: 13px;
}

.student-metric .student-progress {
    margin-top: 7px;
}

.student-list-row,
.student-learning-item,
.student-learning-row,
.student-resource-item,
.student-certificate-item,
.student-result-item {
    padding: 16px 20px !important;
    margin-bottom: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #f1f5f9 !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    transition: all 0.2s ease !important;
}

.student-list-row:hover,
.student-learning-item:hover,
.student-learning-row:hover,
.student-resource-item:hover,
.student-certificate-item:hover,
.student-result-item:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    transform: translateY(-1px) !important;
}

.student-list-row__icon,
.student-learning-row__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--student-green-dark);
    background: var(--student-green-soft);
    border-radius: 6px;
}

.student-list-row__main,
.student-learning-item__main,
.student-learning-row__main,
.student-resource-item__content,
.student-certificate-item__content,
.student-result-item__main {
    min-width: 0;
    flex: 1;
}

.student-list-row h3,
.student-learning-item h3,
.student-learning-row h3,
.student-resource-item__title,
.student-certificate-item__title,
.student-result-item h3 {
    margin: 5px 0;
}

.student-list-row p,
.student-learning-item p,
.student-learning-row p {
    margin: 4px 0 0;
    color: var(--student-ink-muted);
}

.student-learning-list,
.student-resource-list,
.student-certificate-list {
    border-bottom: 1px solid var(--student-border);
}

/* Learning list */
.student-segmented {
    margin-bottom: 20px;
    padding: 4px;
    display: inline-flex;
    gap: 4px;
    background: #e9e7e0;
    border-radius: 8px;
}

.student-segmented__item {
    min-height: 44px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    color: var(--student-ink) !important;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none !important;
}

.student-segmented__item.active {
    background: var(--student-white);
    border-color: var(--student-border-strong);
    box-shadow: 0 2px 8px rgba(26, 25, 25, .05);
}

.student-search {
    width: min(100%, 320px);
}

.student-search label,
.student-form-field label,
.student-field-label {
    margin-bottom: 6px;
    display: block;
    color: var(--student-ink);
    font-size: 14px;
    font-weight: 700;
}

.student-search__field {
    position: relative;
}

.student-search__field i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--student-ink-muted);
    transform: translateY(-50%);
}

.student-search__field input,
.student-search-row input,
.student-textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    color: var(--student-ink);
    background: var(--student-white);
    border: 1px solid var(--student-border-strong);
    border-radius: 6px;
    font-size: 16px;
}

.student-search__field input {
    padding-left: 42px;
}

.student-learning-row__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--student-ink-muted);
    font-size: 13px;
}

/* Test information */
.student-page-header--test {
    background: var(--student-cream);
    border-color: #eadb9c;
}

.student-facts,
.student-result-metrics {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid var(--student-border);
    border-radius: 6px;
}

.student-facts > div,
.student-result-metrics > div {
    padding: 18px;
    border-right: 1px solid var(--student-border);
}

.student-facts > div:last-child,
.student-result-metrics > div:last-child {
    border-right: 0;
}

.student-facts dt,
.student-result-metrics dt {
    margin-bottom: 6px;
    color: var(--student-ink-muted);
    font-size: 14px;
    font-weight: 600;
}

.student-facts dd,
.student-result-metrics dd {
    margin: 0;
    font-size: 23px;
    font-weight: 800;
}

.student-test-description {
    margin-top: 22px;
}

.student-test-description h3 {
    margin-bottom: 8px;
}

.student-notice {
    margin-top: 22px;
    padding: 16px;
    display: flex;
    gap: 13px;
    background: var(--student-green-soft);
    border-left: 4px solid var(--student-green);
    border-radius: 4px;
}

.student-notice > i {
    margin-top: 4px;
    color: var(--student-green-dark);
}

.student-material-preview {
    height: min(70vh, 720px);
    min-height: 440px;
    overflow: hidden;
    background: #eceae3;
    border: 1px solid var(--student-border);
    border-radius: 6px;
}

.student-material-preview iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.student-sticky-action {
    position: sticky;
    z-index: 10;
    bottom: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: var(--student-white);
    border: 1px solid var(--student-border-strong);
    border-radius: var(--student-radius);
    box-shadow: 0 12px 30px rgba(26, 25, 25, .14);
}

.student-sticky-action span {
    margin-left: 8px;
    color: var(--student-ink-muted);
}

/* Test process */
.student-test {
    max-width: 900px;
}

.student-test__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.student-test__time {
    min-height: 40px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--student-green-dark);
    background: var(--student-green-soft);
    border-radius: 6px;
    font-weight: 700;
}

.student-test__time--warning {
    color: #6d5600;
    background: var(--student-yellow-soft);
}

.student-test-card {
    padding: 0;
    overflow: hidden;
}

.student-test-card__header {
    padding: 22px 28px;
    background: #faf9f6;
    border-bottom: 1px solid var(--student-border);
}

.student-test-progress-label {
    margin-bottom: 9px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--student-ink-muted);
}

.student-test-progress-label strong {
    color: var(--student-ink);
}

.student-question {
    min-width: 0;
    margin: 0;
    padding: 30px 34px;
    border: 0;
}

.student-question legend {
    width: 100%;
    margin-bottom: 10px;
    padding: 0;
    color: var(--student-ink);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 750;
    line-height: 1.3;
}

.student-question__hint {
    margin-bottom: 20px;
    color: var(--student-ink-muted);
}

.student-textarea {
    min-height: 150px;
    resize: vertical;
}

.student-answers {
    display: grid;
    gap: 12px;
}

.student-answer {
    position: relative;
}

.student-answer__input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.student-answer__label {
    min-height: 58px;
    margin: 0;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 13px;
    color: var(--student-ink);
    background: var(--student-white);
    border: 1px solid var(--student-border-strong);
    border-radius: 6px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.student-answer__label:hover {
    background: #faf9f6;
    border-color: var(--student-ink-muted);
}

.student-answer__marker {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border: 2px solid #77746c;
    border-radius: 50%;
}

.student-answer__input[type="checkbox"] + .student-answer__label .student-answer__marker {
    border-radius: 4px;
}

.student-answer__input:checked + .student-answer__label {
    background: var(--student-green-soft);
    border-color: var(--student-green);
}

.student-answer__input:checked + .student-answer__label .student-answer__marker {
    background: var(--student-green);
    border-color: var(--student-green);
    box-shadow: inset 0 0 0 4px var(--student-green-soft);
}

.student-form-error {
    margin: 16px 0 0;
    padding: 12px 14px;
    color: var(--student-error);
    background: var(--student-error-soft);
    border-left: 4px solid var(--student-error);
}

.student-test-card__footer {
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #faf9f6;
    border-top: 1px solid var(--student-border);
}

.student-test-card__footer p {
    color: var(--student-ink-muted);
    font-size: 14px;
}

.student-answer-confirmation {
    padding: 30px 34px 34px;
}

.student-answer-confirmation[hidden] {
    display: none;
}

.student-answer-confirmation h2 {
    margin: 6px 0 8px;
    font-family: var(--student-font-body);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.25;
}

.student-answer-confirmation__intro {
    max-width: 680px;
    color: var(--student-ink-muted);
}

.student-answer-confirmation__choice {
    margin: 24px 0 18px;
    padding: 18px 20px;
    background: var(--student-cream);
    border: 1px solid #e5dcae;
    border-left: 4px solid var(--student-green);
    border-radius: 5px;
}

.student-answer-confirmation__label {
    margin-bottom: 8px;
    color: var(--student-ink-muted);
    font-family: var(--student-font-subheading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.student-answer-confirmation__content {
    font-size: 17px;
    font-weight: 650;
    overflow-wrap: anywhere;
}

.student-answer-confirmation__text,
.student-answer-confirmation__list {
    margin: 0;
}

.student-answer-confirmation__text {
    white-space: pre-wrap;
}

.student-answer-confirmation__list {
    padding: 0;
    display: grid;
    gap: 9px;
    list-style: none;
}

.student-answer-confirmation__list li {
    position: relative;
    padding-left: 27px;
}

.student-answer-confirmation__list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--student-white);
    background: var(--student-green);
    border-radius: 4px;
    font-size: 13px;
    line-height: 1;
}

.student-answer-confirmation__notice {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--student-ink-muted);
    font-size: 14px;
}

.student-answer-confirmation__notice i {
    margin-top: 3px;
    color: var(--student-green-dark);
}

.student-answer-confirmation__actions {
    margin-top: 24px;
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--student-border);
}

/* Test result */
.student-result {
    max-width: 1050px;
}

.student-result-hero {
    margin-bottom: 24px;
    padding: 28px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    border: 1px solid;
    border-radius: var(--student-radius);
}

.student-result-hero--success {
    background: var(--student-green-soft);
    border-color: #82d9b8;
}

.student-result-hero--retry {
    background: var(--student-yellow-soft);
    border-color: #e8c94d;
}

.student-result-hero__icon {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--student-white);
    background: var(--student-green-dark);
    border-radius: 50%;
    font-size: 22px;
}

.student-result-hero--retry .student-result-hero__icon {
    color: var(--student-ink);
    background: var(--student-yellow);
}

.student-result-hero h1 {
    font-size: clamp(26px, 3.5vw, 37px);
}

.student-result-hero p {
    margin: 7px 0 0;
    color: #4f4d47;
}

.student-result-score {
    min-width: 130px;
    padding-left: 20px;
    text-align: center;
    border-left: 1px solid rgba(26, 25, 25, .18);
}

.student-result-score strong {
    display: block;
    font-size: 40px;
    line-height: 1;
}

.student-result-score span {
    margin-top: 5px;
    display: block;
    color: var(--student-ink-muted);
    font-size: 13px;
}

.student-result-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.student-result-metrics__success dd {
    color: var(--student-green-dark);
}

.student-result-metrics__error dd {
    color: var(--student-error);
}

.student-result-actions,
.student-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.student-answer-review-list {
    display: grid;
    gap: 12px;
}

.student-answer-review {
    background: var(--student-white);
    border: 1px solid var(--student-border);
    border-radius: 6px;
}

.student-answer-review summary {
    min-height: 58px;
    padding: 14px 17px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.student-answer-review summary::-webkit-details-marker {
    display: none;
}

.student-answer-review[open] summary {
    border-bottom: 1px solid var(--student-border);
}

.student-answer-review[open] summary > i {
    transform: rotate(180deg);
}

.student-answer-review__number {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eceae3;
    border-radius: 50%;
}

.student-answer-review__body {
    padding: 16px;
    display: grid;
    gap: 8px;
}

.student-reviewed-answer {
    min-height: 44px;
    padding: 11px 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f7f6f2;
    border: 1px solid transparent;
    border-radius: 5px;
}

.student-reviewed-answer > span:first-child {
    color: var(--student-ink-muted);
}

.student-reviewed-answer strong {
    flex: 1;
}

.student-reviewed-answer small {
    color: var(--student-ink-muted);
}

.student-reviewed-answer--correct {
    background: var(--student-green-soft);
    border-color: #82d9b8;
}

.student-reviewed-answer--correct > span:first-child {
    color: var(--student-green-dark);
}

.student-reviewed-answer--wrong {
    background: var(--student-error-soft);
    border-color: #efaaa4;
}

.student-reviewed-answer--wrong > span:first-child {
    color: var(--student-error);
}

/* Resource and certificate lists */
.student-resource-item,
.student-certificate-item {
    align-items: flex-start;
}

.student-resource-item__action,
.student-certificate-item__action {
    width: min(100%, 320px);
    display: flex;
    justify-content: flex-end;
}

.student-meta-list {
    margin: 12px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
}

.student-meta-list__item {
    display: flex;
    gap: 7px;
}

.student-meta-list dt {
    flex: 0 0 auto;
    color: var(--student-ink-muted);
    font-weight: 500;
    white-space: nowrap;
}

.student-meta-list dd {
    min-width: 0;
    margin: 0;
    font-weight: 700;
}

.student-inline-message {
    margin: 8px 0 0 0;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    gap: 8px;
    grid-column: 1 / -1;
    position: static;
}

.student-inline-message--error,
.student-inline-message--warning {
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

/* Learning results */
.student-results-sections {
    display: grid;
    gap: 22px;
}

.student-results-summary__header,
.student-results-section__header {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.student-results-summary__value {
    font-size: 34px;
}

.student-results-summary__hint {
    margin-top: 10px;
    color: var(--student-ink-muted);
    font-size: 14px;
}

.student-results-section__header p {
    margin: 6px 0 0;
    color: var(--student-ink-muted);
}

.student-results-section__progress {
    min-width: 130px;
    text-align: right;
}

.student-results-section__progress span {
    display: block;
    color: var(--student-ink-muted);
    font-size: 13px;
}

.student-results-section__progress strong {
    font-size: 25px;
}

.student-result-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--student-ink-muted);
    font-size: 13px;
}

.student-result-item__main p {
    margin: 0;
    color: var(--student-ink-muted);
}

.student-result-item__score {
    width: min(100%, 250px);
}

.student-result-item__status {
    margin-bottom: 9px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.student-result-item__status strong {
    font-size: 22px;
}

/* Video pages */
.student-search-form {
    margin-top: 14px;
}

.student-search-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.student-video-list {
    margin-right: -10px;
    margin-left: -10px;
}

.student-video-list > [class*="col-"] {
    padding-right: 10px;
    padding-left: 10px;
}

.student-video-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--student-ink) !important;
    background: var(--student-white);
    border: 1px solid var(--student-border);
    border-radius: var(--student-radius);
    box-shadow: var(--student-shadow);
    text-decoration: none !important;
}

.student-video-card:hover,
.student-video-card:focus-visible {
    color: var(--student-ink) !important;
    border-color: var(--student-green);
}

.student-video-card-preview {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e9e7e0;
}

.student-video-card-preview img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.student-video-play {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--student-ink);
    background: var(--student-yellow);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.student-video-card-body {
    padding: 18px;
    display: flex;
    flex: 1;
    flex-direction: column;
}

.student-video-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--student-ink-muted);
    font-size: 13px;
}

.student-video-card h3 {
    margin: 14px 0 7px;
}

.student-video-card p {
    color: var(--student-ink-muted);
}

.student-video-card-course {
    padding-top: 10px;
    border-top: 1px solid var(--student-border);
}

.student-video-card-action {
    width: 100%;
    margin-top: auto;
}

.back-to-top {
    position: fixed;
    z-index: 20;
    right: 24px;
    bottom: 24px;
}

.student-breadcrumbs {
    margin-bottom: 14px;
}

.student-video-player-panel {
    padding: 12px;
    background: var(--student-ink);
}

.student-video-player {
    overflow: hidden;
    border-radius: 5px;
}

.student-video-player .video-js {
    width: 100%;
    height: 100%;
}

.student-step-list {
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.student-step-list li {
    padding: 12px 0;
    display: flex;
    gap: 13px;
    color: var(--student-ink-muted);
    border-top: 1px solid var(--student-border);
}

.student-step-number {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--student-ink);
    background: #e7e5de;
    border-radius: 50%;
    font-weight: 800;
}

.student-step-list li.is-current .student-step-number {
    background: var(--student-yellow);
}

.student-step-list li.is-complete .student-step-number {
    color: var(--student-white);
    background: var(--student-green-dark);
}

.student-public-certificate {
    max-width: 1200px;
}

.student-public-certificate__preview {
    min-height: 620px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eceae3;
    border: 1px solid var(--student-border);
    border-radius: 6px;
}

.student-public-certificate__preview iframe {
    width: 100%;
    min-height: 760px;
    border: 0;
}

.student-public-certificate__preview img {
    width: auto;
    max-width: 100%;
    max-height: 80vh;
}

.tada-ui-public footer {
    flex-wrap: wrap;
    text-align: center;
    overflow-wrap: anywhere;
}

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

    .student-metric:nth-child(2) {
        border-right: 0;
    }

    .student-metric:nth-child(-n+2) {
        border-bottom: 1px solid var(--student-border);
    }

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

    .student-facts > div:nth-child(2) {
        border-right: 0;
    }

    .student-facts > div:nth-child(-n+2) {
        border-bottom: 1px solid var(--student-border);
    }

    .student-resource-item,
    .student-certificate-item {
        align-items: stretch;
        flex-direction: column;
    }

    .student-resource-item__action,
    .student-certificate-item__action {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 767.98px) {
    .student-ui-shell .content-header {
        padding-top: 4px;
    }

    .student-ui-shell .content > .container-fluid {
        padding-right: 12px;
        padding-left: 12px;
    }

    .student-ui {
        padding-top: 4px;
    }

    .student-page-header,
    .student-panel,
    .student-test-card {
        padding: 20px 17px;
    }

    .student-page-header,
    .student-panel-header,
    .student-panel__header,
    .student-section-heading,
    .student-next-step,
    .student-results-summary__header,
    .student-results-section__header {
        align-items: stretch;
        flex-direction: column;
    }

    .student-page-header .student-button,
    .student-next-step .student-button,
    .student-resource-item__action .student-button,
    .student-certificate-item__action .student-button {
        width: 100%;
    }

    .student-next-step {
        min-height: 0;
        padding: 22px 18px;
    }

    .student-metrics,
    .student-facts,
    .student-result-metrics {
        grid-template-columns: 1fr;
    }

    .student-metric,
    .student-metric:nth-child(2),
    .student-facts > div,
    .student-facts > div:nth-child(2),
    .student-result-metrics > div {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--student-border);
    }

    .student-metric:last-child,
    .student-facts > div:last-child,
    .student-result-metrics > div:last-child {
        border-bottom: 0;
    }

    .student-list-row,
    .student-learning-item,
    .student-learning-row,
    .student-result-item {
        align-items: stretch;
        flex-direction: column;
    }

    .student-list-row__icon,
    .student-learning-row__icon {
        display: none;
    }

    .student-list-row .student-button,
    .student-learning-item .student-button,
    .student-learning-row .student-button {
        width: 100%;
    }

    .student-segmented {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
    }

    .student-segmented__item {
        justify-content: center;
    }

    .student-section-heading--compact {
        align-items: stretch;
    }

    .student-search {
        width: 100%;
    }

    .student-material-preview {
        display: none;
    }

    .student-sticky-action {
        bottom: 8px;
        align-items: stretch;
        flex-direction: column;
    }

    .student-sticky-action span {
        margin: 3px 0 0;
        display: block;
    }

    .student-sticky-action .student-button {
        width: 100%;
    }

    .student-test__topbar,
    .student-test-card__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .student-test-card {
        padding: 0;
    }

    .student-test-card__header,
    .student-question,
    .student-test-card__footer,
    .student-answer-confirmation {
        padding: 18px 16px;
    }

    .student-test-card__footer .student-button,
    .student-answer-confirmation__actions .student-button {
        width: 100%;
    }

    .student-answer-confirmation__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .student-result-hero {
        padding: 22px 18px;
        grid-template-columns: auto 1fr;
    }

    .student-result-score {
        grid-column: 1 / -1;
        padding: 16px 0 0;
        border-top: 1px solid rgba(26, 25, 25, .18);
        border-left: 0;
    }

    .student-result-actions {
        flex-direction: column;
    }

    .student-result-actions .student-button {
        width: 100%;
    }

    .student-reviewed-answer {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .student-reviewed-answer strong {
        min-width: calc(100% - 32px);
    }

    .student-meta-list {
        flex-direction: column;
        gap: 7px;
    }

    .student-result-item__score {
        width: 100%;
    }

    .student-result-item__status {
        justify-content: space-between;
    }

    .student-results-section__progress {
        text-align: left;
    }

    .student-search-row {
        align-items: stretch;
        flex-direction: column;
    }

    .student-search-row .student-button {
        width: 100%;
    }

    .student-video-list {
        margin-right: -4px;
        margin-left: -4px;
    }

    .student-video-list > [class*="col-"] {
        padding-right: 4px;
        padding-left: 4px;
    }

    .student-public-certificate__preview {
        min-height: 360px;
    }

    .student-public-certificate__preview iframe {
        min-height: 520px;
    }

    .back-to-top {
        right: 12px;
        bottom: 12px;
    }
}

@media (max-width: 420px) {
    .student-ui-shell .main-header .nav-link {
        padding-right: 9px;
        padding-left: 9px;
    }

    .student-page-header h1,
    .student-page-title,
    .student-page-header__title {
        font-size: 29px;
    }

    .student-state {
        align-items: flex-start;
        flex-direction: column;
    }

    .student-result-hero {
        display: flex;
        align-items: flex-start;
        flex-direction: column;
    }

    .student-result-score {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .student-button,
    .student-skeleton {
        animation: none;
        transition: none;
    }
}

/* TA-DA serious product system — canonical layer from tada-design-system-complete.zip */
.student-ui-shell {
    --tada-font-body: var(--student-font-body);
    --tada-font-headline: var(--student-font-heading);
    --tada-font-headline-italic: var(--student-font-heading);
    --tada-font-accent: var(--student-font-subheading);
    --tada-font-numeric: var(--student-font-number);
}

.student-ui-shell :where(p, span, div, a, li, small, label, input, textarea, select, button, summary, dt, dd) {
    font-family: var(--student-font-body);
}

.student-ui .tada-heading,
.student-ui .tada-heading > span,
.student-auth .tada-heading,
.student-auth .tada-heading > span {
    font-family: var(--student-font-heading);
    font-style: normal;
    font-weight: 900;
    font-synthesis: none;
}

.student-ui .tada-heading > .is-italic,
.student-auth .tada-heading > .is-italic {
    font-family: var(--student-font-heading);
    font-style: italic;
    font-weight: 900;
}

.student-ui .tada-subheading,
.student-auth .tada-subheading {
    font-family: var(--student-font-subheading);
}

.student-ui .tada-number,
.student-ui .tada-number > span,
.student-auth .tada-number {
    font-family: var(--student-font-number);
    font-variant-numeric: tabular-nums;
    font-weight: 400;
}

.student-ui-shell .main-header {
    min-height: 64px;
    padding: 0 18px;
    background: var(--student-white);
}

.student-ui-shell .main-header .navbar-nav {
    align-items: center;
}

.student-ui-shell .main-header .nav-link {
    min-height: 44px;
    padding: 10px 12px;
    gap: 8px;
    border-radius: 5px;
    font-weight: 600;
}

.student-ui-shell .main-header .nav-link:hover,
.student-ui-shell .main-header .nav-link:focus-visible {
    background: var(--student-cream);
}

.student-menu-trigger,
.student-account-trigger,
.student-topbar-context {
    display: inline-flex !important;
    align-items: center;
}

.student-topbar-context__label {
    color: var(--student-ink-muted);
    font-size: 13px;
    font-weight: 400;
}

.student-topbar-context strong {
    font-weight: 700;
}

.student-account-heading {
    color: var(--student-ink-muted);
    text-align: left;
}

.student-ui-shell .main-sidebar {
    border-right: 0;
}

.student-ui-shell .brand-link {
    min-height: 58px !important;
    height: 58px !important;
    padding: 10px 18px !important;
    border-bottom: 1px solid var(--student-border) !important;
    box-sizing: border-box !important;
}

.student-brand-logo--compact {
    display: none;
}

.student-ui-shell .sidebar {
    padding: 10px 10px 24px;
}

.student-ui-shell .nav-sidebar .nav-item > .nav-link {
    min-height: 48px;
    margin-bottom: 4px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-weight: 600;
}

.student-ui-shell .nav-sidebar .nav-item > .nav-link.active {
    border-color: #e2b800;
}

.student-ui-shell .nav-sidebar .nav-link.active .student-nav-badge {
    background: var(--student-white);
}

.student-ui-shell .content-wrapper {
    min-width: 0;
    background: var(--student-page);
}

.student-ui-shell .content > .container-fluid {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding-right: clamp(16px, 3vw, 34px);
    padding-left: clamp(16px, 3vw, 34px);
}

.student-ui {
    min-width: 0;
    max-width: 1160px;
    padding-top: 14px;
    font-family: var(--student-font-body);
    line-height: 1.5;
}

.student-ui > *,
.student-page-header > *,
.student-panel > * {
    min-width: 0;
}

.student-page-header {
    margin-bottom: 22px;
    gap: 20px;
}

.student-page-header > div:first-child,
.student-page-header__content {
    max-width: 820px;
}

.student-page-header p,
.student-page-description,
.student-page-header__description {
    max-width: 760px;
    font-size: 16px;
    line-height: 1.55;
}

.student-page-header--test,
.student-page-header--intro {
    padding: 24px 26px;
    align-items: flex-start;
    background: var(--student-cream);
    border: 1px solid #e5dcae;
    border-radius: var(--student-radius);
}

.student-panel,
.student-test-card {
    padding: 24px 26px;
    border-color: var(--student-border);
    border-radius: var(--student-radius);
    box-shadow: none;
}

.student-panel-header,
.student-panel__header,
.student-section-heading {
    margin-bottom: 18px;
}

.student-ui h1,
.student-page-title,
.student-page-header__title {
    max-width: 900px;
    font-size: clamp(30px, 4vw, 44px);
}

.student-ui h2,
.student-panel-title,
.student-panel__title {
    font-size: clamp(23px, 2.7vw, 30px);
}

.student-list-row h3,
.student-learning-item h3,
.student-learning-row h3,
.student-resource-item__title,
.student-certificate-item__title,
.student-result-item h3,
.student-video-card h3,
.student-state__title {
    font-family: var(--student-font-body);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

.student-eyebrow,
.student-page-eyebrow,
.student-page-header__eyebrow,
.student-panel__eyebrow {
    font-family: var(--student-font-subheading) !important;
    font-weight: 700;
    letter-spacing: .035em;
}

.student-button,
.student-button--primary,
.student-button--secondary,
.student-button-primary,
.student-button-secondary {
    min-height: 46px;
    padding: 11px 17px;
    border-radius: 5px;
    font-family: var(--student-font-body);
    font-weight: 700;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.student-button--primary:hover,
.student-button--primary:focus-visible,
.student-button-primary:hover,
.student-button-primary:focus-visible {
    background: #ffe165;
    border-color: var(--student-ink);
}

.status-chip,
.student-status-chip {
    min-height: 27px;
    padding: 4px 9px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.student-progress {
    height: 8px;
    border-radius: 3px;
}

.student-progress__bar {
    border-radius: 3px;
}

.student-segmented {
    padding: 3px;
    border: 1px solid var(--student-border);
    border-radius: 6px;
    background: #e9e7df;
}

.student-segmented__item {
    border-radius: 4px;
    font-weight: 600;
}

.student-segmented__item.active {
    border-color: var(--student-border-strong);
    box-shadow: none;
}

.student-search__field input,
.student-search-row input,
.student-textarea,
.student-auth__input {
    border-radius: 5px;
    font-family: var(--student-font-body);
}

.student-ui-shell .student-form-field .form-control {
    min-height: 48px;
    color: var(--student-ink);
    background: var(--student-white);
    border: 1px solid var(--student-border-strong);
    border-radius: 5px;
    box-shadow: none;
    font-family: var(--student-font-body);
}

.student-ui-shell .student-form-field .form-control:focus {
    border-color: var(--student-green);
    box-shadow: 0 0 0 3px rgba(2, 174, 110, .2);
    outline: 0;
}

.student-learning-row--expired {
    opacity: .74;
}

.student-learning-row--expired .student-learning-row__icon {
    color: var(--student-ink-muted);
    background: #eceae4;
}

.student-learning-row--expired .student-button {
    min-width: 132px;
}

.student-next-step {
    min-height: 0;
    padding: 26px;
    border-color: #e5d172;
    background: var(--student-cream);
}

.student-next-step h2 {
    font-size: clamp(26px, 3vw, 34px);
}

.student-learning-steps {
    margin: 0 0 24px;
    padding: 20px 24px;
    background: var(--student-white);
    border: 1px solid var(--student-border);
    border-radius: var(--student-radius);
}

.student-learning-steps__list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 16px;
    list-style: none;
}

.student-learning-steps__item {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.student-learning-steps__number {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--student-ink);
    background: var(--student-yellow);
    border: 1px solid var(--student-yellow-dark);
    border-radius: 4px;
    font-family: var(--student-font-number) !important;
    font-size: 20px;
}

.student-learning-steps__copy {
    display: grid;
    gap: 2px;
}

.student-learning-steps__copy strong {
    font-size: 16px;
}

.student-learning-steps__copy span {
    color: var(--student-ink-muted);
    font-size: 13px;
}

.student-learning-steps__arrow {
    color: var(--student-border-strong);
    font-size: 22px;
}

.student-learning-steps__item:last-child .student-learning-steps__arrow {
    display: none;
}

.student-home-priority-grid {
    margin-bottom: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
    align-items: stretch;
    gap: 22px;
}

.student-home-priority-grid > .student-panel,
.student-home-priority-grid > .student-section {
    margin: 0;
}

.student-home-priority-grid .student-certificates-preview .student-section-heading {
    align-items: flex-start;
    flex-direction: column;
}

.student-home-priority-grid .certificate-list-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.student-home-priority-grid .certificate-list-row .student-list-row__icon {
    display: none;
}

.student-home-priority-grid .certificate-list-row .student-list-row__main {
    grid-column: 1 / -1;
}

.student-home-priority-grid .certificate-list-row .status-chip {
    grid-column: 1;
}

.student-home-priority-grid .certificate-list-row > .student-button {
    grid-column: 2;
    margin: 0;
}

.student-home-priority-grid .certificate-list-row > .student-inline-message {
    grid-column: 1 / -1 !important;
    margin-top: 10px !important;
    width: 100% !important;
}

.student-metrics {
    overflow: hidden;
    border-radius: var(--student-radius);
}

.student-metric {
    min-height: 132px;
    padding: 18px 20px;
}

.student-result-score strong,
.student-results-summary__value,
.student-result-item__status strong,
.student-test__time-value {
    font-family: var(--student-font-number);
    font-variant-numeric: tabular-nums;
    font-weight: 400;
}

.student-test__time {
    align-items: flex-start;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 8px;
}

.student-test__time > i {
    grid-row: 1 / span 2;
    margin-top: 3px;
}

.student-test__time-label {
    color: inherit;
    font-size: 12px;
    font-weight: 500;
}

.student-test__time-value {
    font-size: 17px;
}

.student-question legend {
    font-family: var(--student-font-body);
    font-weight: 700;
}

.student-answer__label {
    border-radius: 5px;
    font-weight: 500;
}

.student-state,
.student-state-empty,
.student-state-loading,
.student-state-error,
.student-state-info,
.student-state-success {
    min-height: 104px;
    padding: 20px;
    justify-content: flex-start;
    border-radius: 5px;
}

.student-state__icon,
.student-state > i {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 5px;
    font-size: 17px;
}

.student-state--info {
    background: var(--student-white);
    border-color: var(--student-border-strong);
    border-style: solid;
}

.student-state--info .student-state__icon {
    color: var(--student-ink-muted);
    background: #eceae4;
}

.student-results-empty {
    margin-bottom: 22px;
}

.student-result-hero {
    border-radius: var(--student-radius);
}

.student-result-hero__icon,
.student-answer-review__number,
.student-step-number,
.student-video-play {
    border-radius: 5px;
}

.student-video-card {
    border-radius: var(--student-radius);
    box-shadow: none;
}

.student-video-card:hover,
.student-video-card:focus-visible {
    border-color: var(--student-ink-muted);
    outline: 3px solid rgba(2, 174, 110, .2);
    outline-offset: 2px;
}

.student-video-player-panel {
    border-color: var(--student-ink);
}

.student-inline-message {
    border-radius: 4px;
}

.student-sticky-action {
    border-radius: 6px;
    box-shadow: 0 8px 22px rgba(26, 25, 25, .11);
}

body.student-test-focus .main-sidebar,
body.student-test-focus .main-header,
body.student-test-focus .main-footer {
    display: none !important;
}

body.student-test-focus .content-wrapper,
body.student-test-focus .content-wrapper > .content,
body.student-test-focus .content-wrapper > .content-header {
    margin-left: 0 !important;
}

body.student-test-focus .content-wrapper {
    min-height: 100vh !important;
}

body.student-test-focus .student-test {
    padding-top: 22px;
}

/* Standalone login and session states */
.student-auth-shell {
    min-height: 100vh;
    margin: 0;
    padding: 32px 18px;
    display: grid;
    place-items: center;
    color: var(--student-ink);
    background: var(--student-page);
    font-family: var(--student-font-body);
}

.student-auth,
.student-auth-shell .student-auth {
    width: min(100%, 470px);
    margin: 0 auto;
}

.student-auth__brand {
    margin-bottom: 18px;
    text-align: center;
}

.student-auth__brand img {
    width: 150px;
    height: auto;
}

.student-auth-card {
    padding: 28px;
    background: var(--student-white);
    border: 1px solid var(--student-border);
    border-radius: var(--student-radius);
    box-shadow: var(--student-shadow);
}

.student-auth-card h1 {
    margin: 0;
    color: var(--student-ink);
    font-family: var(--student-font-heading);
    font-size: clamp(30px, 8vw, 40px);
    font-weight: 900;
    line-height: 1.03;
}

.student-auth__intro {
    margin: 10px 0 24px;
    color: var(--student-ink-muted);
    line-height: 1.5;
}

.student-auth__field {
    margin-bottom: 17px;
}

.student-auth__field label {
    margin-bottom: 7px;
    display: block;
    color: var(--student-ink);
    font-family: var(--student-font-body);
    font-size: 14px;
    font-weight: 700;
}

.student-auth__input-wrap {
    position: relative;
}

.student-auth__input-wrap > i {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--student-ink-muted);
    transform: translateY(-50%);
}

.student-auth__input {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px 12px 42px;
    color: var(--student-ink);
    background: var(--student-white);
    border: 1px solid var(--student-border-strong);
    font-size: 16px;
}

.student-auth__input:focus-visible {
    border-color: var(--student-green);
    outline: 3px solid rgba(2, 174, 110, .22);
    outline-offset: 1px;
}

.student-auth__submit {
    width: 100%;
    margin-top: 4px;
}

.student-auth__error {
    margin: 0 0 16px;
    padding: 12px 14px;
    color: var(--student-error);
    background: var(--student-error-soft);
    border: 1px solid #efaaa4;
    border-radius: 5px;
}

.student-auth-help {
    margin-top: 14px;
    background: var(--student-white);
    border: 1px solid var(--student-border);
    border-radius: var(--student-radius);
}

.student-auth-help summary {
    min-height: 48px;
    padding: 13px 16px;
    color: var(--student-ink);
    font-family: var(--student-font-body);
    font-weight: 700;
    cursor: pointer;
}

.student-auth-help ol,
.student-auth-help__content {
    margin: 0;
    padding: 0 22px 18px 38px;
    color: var(--student-ink-muted);
}

@media (min-width: 992px) {
    .student-ui-shell.sidebar-mini.sidebar-collapse .brand-link {
        padding: 15px;
        align-items: center;
    }

    .student-ui-shell.sidebar-mini.sidebar-collapse .student-brand-logo,
    .student-ui-shell.sidebar-mini.sidebar-collapse .student-brand-product {
        display: none;
    }

    .student-ui-shell.sidebar-mini.sidebar-collapse .student-brand-logo--compact {
        width: 39px;
        height: 39px;
        display: block;
        object-fit: contain;
    }
}

@media (max-width: 991.98px) {
    .student-home-priority-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    html,
    body.student-ui-shell {
        max-width: 100%;
        overflow-x: hidden;
    }

    .student-ui-shell .main-header {
        min-width: 0;
        padding: 0 6px;
    }

    .student-ui-shell .main-header .nav-link {
        padding-right: 9px;
        padding-left: 9px;
    }

    .student-topbar-context__label,
    .student-account-trigger span {
        display: none;
    }

    .student-topbar-context strong {
        max-width: 118px;
        overflow: hidden;
        display: block;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .student-ui-shell .content-wrapper,
    .student-ui-shell .content,
    .student-ui-shell .content > .container-fluid,
    .student-ui,
    .student-ui > .container-fluid {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .student-ui-shell .content > .container-fluid {
        padding-right: 14px;
        padding-left: 14px;
    }

    .student-page-header {
        padding: 12px 0 4px;
    }

    .student-page-header--test,
    .student-page-header--intro,
    .student-panel,
    .student-test-card {
        padding: 19px 16px;
    }

    .student-learning-steps {
        padding: 17px;
    }

    .student-learning-steps__list {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .student-learning-steps__arrow {
        display: none;
    }

    .student-learning-steps__item {
        padding-bottom: 11px;
        border-bottom: 1px solid var(--student-border);
    }

    .student-learning-steps__item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .student-home-priority-grid .certificate-list-row {
        grid-template-columns: 1fr;
    }

    .student-home-priority-grid .certificate-list-row .student-list-row__main,
    .student-home-priority-grid .certificate-list-row .status-chip,
    .student-home-priority-grid .certificate-list-row > .student-button,
    .student-home-priority-grid .certificate-list-row > .student-inline-message {
        grid-column: 1;
    }

    .student-home-priority-grid .certificate-list-row > .student-button {
        width: 100%;
    }

    .student-next-step {
        padding: 20px 17px;
    }

    .student-test__topbar {
        gap: 10px;
    }

    .student-auth-shell {
        padding: 18px 12px;
        place-items: start center;
    }

    .student-auth-card {
        padding: 22px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fa-spin {
        animation: none !important;
    }
}

/* Password visibility control stays inside the input on the standalone login. */
.student-password-field {
    position: relative;
    width: 100%;
}

.student-password-field input {
    width: 100%;
    padding-right: 52px !important;
}

.student-password-toggle {
    position: absolute;
    top: 50%;
    right: 10px;
    z-index: 3;
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transform: translateY(-50%);
}

.student-password-toggle:hover,
.student-password-toggle:focus-visible {
    color: #007c4f;
    background: #e8f8f2;
}

.student-password-toggle:focus-visible {
    outline: 2px solid rgba(0, 124, 79, .35);
    outline-offset: 1px;
}


/* ==========================================================================
   TA-DA! BRANDBOOK TYPOGRAPHY GLOBAL ENFORCEMENT
   ========================================================================== */

/* 1. Body, Navigation, Inputs, Controls & Tables: Geologica */
html, body, p, span, div, a, button, input, select, textarea, label, td, th, li, .nav-link, .btn, .form-control, .table, .dropdown-item, .modal-body {
  font-family: "Geologica", Arial, sans-serif !important;
}

/* 2. Headings, Titles, Brand Logos & Hero Banners: Recht */
h1, h2, h3, h4, h5, h6,
.tada-heading,
.content-header h1,
.content-header h2,
.tada-ref-hero-title,
.tada-operating-home__title,
.brand-link,
.student-section-title,
.tada-panel-title,
.card-title {
  font-family: "Recht", "Arial Black", sans-serif !important;
}

/* 3. Badges, Kickers, Numbers, Codes & Status Pills: Cake Mono */
.badge,
.tada-subheading,
.tada-number,
.tada-ref-kicker-green,
.tada-operating-home__eyebrow,
.tada-operating-home__panel-kicker,
.kpi-card strong,
.score-ring,
.status-pill,
code, pre, .font-mono {
  font-family: "Cake Mono", Consolas, monospace !important;
}
