:root {
    --ink: #172033;
    --muted: #667085;
    --line: #e4e9f2;
    --canvas: #f9fafb;
    --blue: #1e3a8a;
    --blue-dark: #162e70;
    --brand: #10b981;
    --brand-dark: #059669;
    --amber: #facc15;
    --orange: #f97316;
    --purple: #7c3aed;
    --rose: #ef4444;
    --sky: #0ea5e9;
    --teal: #14b8a6;
}

* {
    letter-spacing: 0;
}

body {
    background: var(--canvas);
    color: var(--ink);
    font-family: Arial, sans-serif;
}

.app-disclaimer-banner {
    align-items: flex-start;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 4px solid var(--orange);
    border-radius: 12px;
    color: #7c2d12;
    display: flex;
    font-size: 12px;
    gap: 10px;
    line-height: 1.45;
    padding: 11px 13px;
}

.app-disclaimer-banner i {
    color: var(--orange);
    flex: 0 0 auto;
    margin-top: 2px;
}

.app-footer-disclaimer {
    padding: 6px 0 18px;
}

.app-nav {
    background: var(--blue);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 8px 24px rgba(30, 58, 138, .14);
}

.app-nav .navbar-brand,
.app-nav .nav-link {
    color: #fff;
}

.app-nav .nav-link {
    border-radius: 999px;
    font-size: 14px;
    padding-left: 12px !important;
    padding-right: 12px !important;
    position: relative;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.app-nav .nav-link:hover,
.app-nav .nav-link:focus {
    background: rgba(255, 255, 255, .13);
    color: #fff;
    transform: translateY(-2px);
}

.account-info-button {
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
}

.account-info-modal {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 1.5rem 4rem rgba(15, 23, 42, 0.22);
}

.account-info-row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.account-info-row:last-child {
    border-bottom: 0;
}

.account-info-row span {
    color: #64748b;
}

.account-info-row span i {
    width: 1.4rem;
    color: var(--brand);
}

.account-info-row strong {
    text-align: right;
}

.app-nav .btn-outline-secondary {
    border-color: rgba(255, 255, 255, .36);
    color: #fff;
}

.app-nav .btn-outline-secondary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--blue);
}

.app-submenu {
    border: 0;
    border-radius: 14px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
    padding: 8px;
}

.app-submenu .dropdown-item {
    align-items: center;
    border-radius: 10px;
    display: flex;
    font-size: 14px;
    font-weight: 700;
    gap: 10px;
    padding: 10px 11px;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

.app-submenu .dropdown-item i {
    color: var(--blue);
    width: 18px;
}

.app-submenu .dropdown-item:hover,
.app-submenu .dropdown-item:focus {
    background: #eff6ff;
    color: var(--blue);
    transform: translateX(3px);
}

.app-nav .navbar-toggler {
    border-color: rgba(255, 255, 255, .4);
    filter: brightness(0) invert(1);
}

.hero {
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(30, 58, 138, .94), rgba(30, 58, 138, .58)),
        url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1600&q=80') center/cover;
    color: #fff;
    display: flex;
    align-items: center;
}

.auth-panel {
    background: #fff;
    color: var(--ink);
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

.auth-panel-interactive {
    border: 1px solid rgba(255, 255, 255, .7);
    position: relative;
    transition: box-shadow .3s ease, transform .3s ease;
}

.auth-panel-interactive:hover {
    box-shadow: 0 30px 85px rgba(15, 23, 42, .3);
    transform: translateY(-4px);
}

.persona-selector {
    background: #f1f5f9;
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    gap: 5px;
    padding: 5px;
}

.persona-selector .persona-btn {
    border-radius: 10px !important;
    font-size: 13px;
    font-weight: 800;
    min-height: 46px;
}

.persona-selector .persona-btn:not(.active):hover,
.persona-selector .persona-btn:not(.active):focus-visible {
    background: #e0e7ff;
    border-color: #93c5fd;
    color: var(--blue);
}

.auth-primary-action {
    align-items: center;
    background: linear-gradient(135deg, #059669, #10b981);
    border: 2px solid #047857;
    box-shadow: 0 10px 24px rgba(5, 150, 105, .28);
    display: flex;
    font-size: 16px;
    font-weight: 800;
    justify-content: space-between;
    min-height: 50px;
    overflow: hidden;
    padding-left: 18px;
    padding-right: 16px;
    position: relative;
}

.auth-primary-action::before {
    background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .34) 50%, transparent 80%);
    content: "";
    height: 180%;
    left: -55%;
    position: absolute;
    top: -40%;
    transform: rotate(12deg);
    transition: left .45s ease;
    width: 38%;
}

.auth-primary-action:hover,
.auth-primary-action:focus-visible {
    background: linear-gradient(135deg, #047857, #059669);
    border-color: #065f46;
    box-shadow: 0 16px 32px rgba(5, 150, 105, .38);
    transform: translateY(-3px) scale(1.01);
}

.auth-primary-action:hover::before,
.auth-primary-action:focus-visible::before {
    left: 120%;
}

.auth-action-arrow {
    background: rgba(255, 255, 255, .18);
    border-radius: 999px;
    display: inline-grid;
    height: 30px;
    place-items: center;
    transition: background .2s ease, transform .2s ease;
    width: 30px;
}

.auth-primary-action:hover .auth-action-arrow,
.auth-primary-action:focus-visible .auth-action-arrow {
    background: #fff;
    color: var(--brand-dark);
    transform: translateX(3px);
}

.btn-brand {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.btn-brand:hover {
    background: var(--brand-dark);
    border-color: var(--brand-dark);
    color: #fff;
}

.btn {
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.btn:hover,
.btn:focus-visible {
    box-shadow: 0 10px 22px rgba(15, 23, 42, .1);
    transform: translateY(-2px);
}

.metric,
.panel,
.opportunity-card,
.plan-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
}

.panel {
    transition: box-shadow .22s ease, transform .22s ease;
}

.metric {
    border-top: 3px solid var(--brand);
    padding: 18px;
    height: 100%;
    transition: box-shadow .22s ease, transform .22s ease;
}

.metric:hover,
.panel:hover,
.opportunity-card:hover,
.section-shortcut:hover,
.swot-card:hover {
    box-shadow: 0 18px 34px rgba(30, 58, 138, .12);
    transform: translateY(-4px);
}

.metric span,
.eyebrow,
.muted {
    color: var(--muted);
}

.metric strong {
    display: block;
    font-size: 32px;
    line-height: 1;
    margin-top: 8px;
}

.dashboard-shell {
    padding: 28px 16px;
}

.dashboard-hero {
    background: linear-gradient(135deg, var(--blue), #3159b7);
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(30, 58, 138, .2);
    color: #fff;
    overflow: hidden;
    padding: 22px;
    position: relative;
}

.dashboard-hero::after {
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: "";
    height: 180px;
    position: absolute;
    right: -46px;
    top: -72px;
    width: 180px;
}

.dashboard-hero .muted,
.dashboard-hero .eyebrow {
    color: rgba(255, 255, 255, .74);
}

.dashboard-hero .btn-outline-secondary,
.dashboard-hero .btn-outline-primary {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .58);
    color: #fff;
}

.dashboard-hero .btn-outline-secondary:hover,
.dashboard-hero .btn-outline-primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--blue);
}

.weekly-update {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 14px;
    color: #854d0e;
}

.progress-ring {
    align-items: center;
    background: conic-gradient(var(--brand) calc(var(--progress) * 1%), rgba(255, 255, 255, .18) 0);
    border-radius: 50%;
    display: flex;
    flex: 0 0 auto;
    height: 86px;
    justify-content: center;
    position: relative;
    width: 86px;
}

.progress-ring::before {
    background: var(--blue);
    border-radius: 50%;
    content: "";
    height: 66px;
    position: absolute;
    width: 66px;
}

.progress-ring strong {
    color: #fff;
    font-size: 18px;
    position: relative;
    z-index: 1;
}

.section-shortcut {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--ink);
    display: block;
    height: 100%;
    padding: 15px;
    text-decoration: none;
    transition: box-shadow .22s ease, transform .22s ease;
}

.section-shortcut i {
    align-items: center;
    border-radius: 12px;
    display: flex;
    font-size: 17px;
    height: 38px;
    justify-content: center;
    margin-bottom: 12px;
    width: 38px;
}

.section-shortcut strong,
.section-shortcut span {
    display: block;
}

.section-shortcut span {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px;
}

.shortcut-stream i { background: #dbeafe; color: var(--blue); }
.shortcut-course i { background: #ccfbf1; color: #0f766e; }
.shortcut-scholarship i { background: #ede9fe; color: var(--purple); }
.shortcut-internship i { background: #ffedd5; color: var(--orange); }
.shortcut-skills i { background: #e0f2fe; color: var(--sky); }
.shortcut-earnings i { background: #dcfce7; color: #15803d; }

.panel-accent-blue { border-top: 4px solid var(--blue); }
.panel-accent-purple { border-top: 4px solid var(--purple); }
.panel-accent-gold { border-top: 4px solid var(--amber); }
.panel-accent-sky { border-top: 4px solid var(--sky); }
.panel-accent-green { border-top: 4px solid var(--brand); }

.swot-card {
    border-left: 4px solid transparent;
    transition: box-shadow .22s ease, transform .22s ease;
}

.swot-strengths { background: #f0fdf4; border-left-color: #22c55e; }
.swot-weaknesses { background: #fef2f2; border-left-color: var(--rose); }
.swot-opportunities { background: #f0f9ff; border-left-color: var(--sky); }
.swot-threats { background: #fff7ed; border-left-color: var(--orange); }

.premium-vault {
    background: linear-gradient(145deg, #faf5ff, #fff);
    border-top: 4px solid var(--purple);
}

.academic-score-box,
.content-box {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
}

.academic-score-box {
    background: #f8fafc;
}

.empty-state,
.locked-state {
    border-radius: 10px;
    color: var(--muted);
    font-size: 13px;
    padding: 10px 12px;
}

.empty-state {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
}

.locked-state {
    background: #faf5ff;
    border: 1px solid #ddd6fe;
    color: #6d28d9;
}

.status-pill {
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
}

.trust-high { background: #dcfce7; color: #166534; }
.trust-mid { background: #fef3c7; color: #92400e; }
.trust-low { background: #ffe4e6; color: #9f1239; }

.roadmap-step {
    border-left: 3px solid var(--brand);
    padding-left: 14px;
}

.profile-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.profile-facts div {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 10px;
}

.profile-facts span {
    color: var(--muted);
    display: block;
    font-size: 12px;
}

.profile-facts strong {
    display: block;
    font-size: 14px;
    margin-top: 3px;
}

.profile-chip {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    color: #047857;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 9px;
}

.plan-card {
    display: flex;
    flex-direction: column;
}

.offer-badge {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    color: #9a3412;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    white-space: nowrap;
}

.price-stack strong {
    color: var(--brand-dark);
    display: block;
    font-size: 28px;
    line-height: 1.1;
}

.original-price {
    color: var(--muted);
    display: block;
    font-size: 13px;
    text-decoration: line-through;
}

.plan-benefits {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
}

.plan-benefits li {
    align-items: flex-start;
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.plan-benefits i {
    color: var(--brand);
    font-size: 12px;
    margin-top: 4px;
}

.plan-card form {
    margin-top: auto;
}

.stacked-form .form-label {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
    margin-top: 12px;
}

.stacked-form .form-control,
.stacked-form .form-select {
    font-size: 14px;
}

.admin-table {
    min-width: 720px;
}

.admin-table th {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.translation-input {
    min-width: 220px;
}

.table > :not(caption) > * > * {
    padding-bottom: .8rem;
    padding-top: .8rem;
}

.btn {
    border-radius: 10px;
    font-weight: 700;
}

.btn-outline-primary {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-outline-primary:hover {
    background: var(--blue);
    border-color: var(--blue);
}

.dashboard-tabs {
    margin-top: 24px;
    scroll-margin-top: 84px;
}

.dashboard-tab-list {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .05);
    display: flex;
    gap: 6px;
    margin-bottom: 18px;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: thin;
}

.dashboard-tabs::before {
    color: var(--muted);
    content: "Menu > Submenu > Section";
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 8px 2px;
}

.dashboard-tab {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 11px;
    color: var(--muted);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    padding: 11px 14px;
    position: relative;
    transition: background .22s ease, box-shadow .22s ease, color .22s ease, transform .22s ease;
}

.dashboard-tab::after {
    background: var(--brand);
    border-radius: 999px;
    bottom: 3px;
    content: "";
    height: 3px;
    left: 14px;
    opacity: 0;
    position: absolute;
    right: 14px;
    transform: scaleX(.35);
    transition: opacity .22s ease, transform .22s ease;
}

.dashboard-tab:hover,
.dashboard-tab:focus-visible {
    background: #eff6ff;
    color: var(--blue);
    box-shadow: 0 8px 18px rgba(30, 58, 138, .1);
    outline: none;
    transform: translateY(-3px);
}

.dashboard-tab.active {
    background: var(--blue);
    box-shadow: 0 9px 20px rgba(30, 58, 138, .2);
    color: #fff;
}

.dashboard-tab.active::after {
    opacity: 1;
    transform: scaleX(1);
}

.dashboard-tab-pane {
    display: none;
}

.dashboard-tab-pane.active {
    display: block;
}

.dashboard-section-nav {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px;
}

.dashboard-section-chip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    padding: 8px 11px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.dashboard-section-chip:hover,
.dashboard-section-chip:focus-visible {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
    outline: none;
    transform: translateY(-2px);
}

.dashboard-section {
    scroll-margin-top: 128px;
}

.dashboard-tab-pane > .panel,
.dashboard-tab-pane > .row {
    margin-bottom: 18px !important;
    margin-top: 0 !important;
}

.dashboard-tab-pane > :last-child {
    margin-bottom: 0 !important;
}

.nav-pills .nav-link.active,
.nav-tabs .nav-link.active {
    color: var(--blue);
}

.admin-summary-group {
    border-top: 4px solid var(--brand);
}

.admin-summary-row {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
}

.admin-summary-row:first-of-type {
    border-top: 0;
}

.admin-summary-row span {
    color: var(--muted);
    font-size: 13px;
}

.admin-summary-row strong {
    color: var(--blue);
    font-size: 20px;
    line-height: 1;
}

.admin-export-group {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px;
}

.admin-export-links {
    display: grid;
    gap: 7px;
}

.admin-export-links a {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    display: flex;
    font-size: 13px;
    font-weight: 700;
    justify-content: space-between;
    padding: 9px 10px;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.admin-export-links a::after {
    color: var(--muted);
    content: "\f019";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.admin-export-links a:hover,
.admin-export-links a:focus-visible {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: var(--blue);
    outline: none;
    transform: translateX(3px);
}

.psychometric-page .dashboard-hero,
.psychometric-hero {
    overflow: hidden;
}

.psychometric-hero {
    position: relative;
}

.psychometric-hero::before {
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .22), transparent 28%),
        linear-gradient(135deg, rgba(16, 185, 129, .2), rgba(255, 255, 255, 0));
    content: "";
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.psychometric-hero > * {
    position: relative;
    z-index: 1;
}

.psychometric-progress-card {
    align-items: center;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 14px;
    color: #fff;
    display: grid;
    min-width: 180px;
    padding: 14px 16px;
}

.psychometric-progress-card strong {
    font-size: 30px;
    line-height: 1;
}

.psychometric-progress-card strong.timer-warning {
    color: #fde68a;
}

.psychometric-progress-card span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
}

.psychometric-control-panel {
    border-left: 4px solid var(--brand);
}

.psychometric-meter,
.psychometric-bar {
    background: #e2e8f0;
    border-radius: 999px;
    height: 10px;
    overflow: hidden;
}

.psychometric-meter span,
.psychometric-bar span {
    background: linear-gradient(90deg, var(--brand), var(--success));
    border-radius: inherit;
    display: block;
    height: 100%;
    transition: width .35s ease;
}

.psychometric-block-nav {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(8, minmax(0, 1fr));
}

.psychometric-block-nav a {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    display: flex;
    flex-direction: column;
    gap: 3px;
    justify-content: center;
    min-height: 58px;
    padding: 8px 6px;
    text-align: center;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.psychometric-block-nav a span {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--blue);
    display: inline-flex;
    font-size: 13px;
    font-weight: 800;
    height: 26px;
    justify-content: center;
    width: 26px;
}

.psychometric-block-nav a small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
}

.psychometric-block-nav a:hover,
.psychometric-block-nav a:focus-visible {
    background: #eff6ff;
    border-color: #bfdbfe;
    box-shadow: 0 10px 22px rgba(30, 58, 138, .1);
    outline: none;
    transform: translateY(-3px);
}

.psychometric-block-nav a.active {
    background: var(--blue);
    border-color: var(--blue);
    box-shadow: 0 12px 28px rgba(30, 58, 138, .18);
    color: #fff;
}

.psychometric-block-nav a.active span {
    border-color: rgba(255, 255, 255, .6);
}

.psychometric-block-nav a.active small {
    color: rgba(255, 255, 255, .78);
}

.psychometric-question legend {
    color: var(--ink);
    display: flex;
    font-size: 16px;
    font-weight: 700;
    gap: 10px;
    line-height: 1.45;
    margin-bottom: 16px;
}

.psychometric-question {
    border-left: 4px solid transparent;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.psychometric-question:hover {
    box-shadow: 0 18px 38px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}

.psychometric-question.is-answered {
    border-left-color: var(--success);
}

.psychometric-question legend span {
    align-items: center;
    background: #eff6ff;
    border-radius: 999px;
    color: var(--blue);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 12px;
    height: 28px;
    justify-content: center;
    min-width: 42px;
    padding: 0 9px;
}

.psychometric-question legend strong {
    font-size: 16px;
    font-weight: 800;
}

.psychometric-scale {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.psychometric-scale input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.psychometric-scale label {
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    cursor: pointer;
    display: grid;
    gap: 6px;
    min-height: 86px;
    padding: 10px;
    text-align: center;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.psychometric-scale label strong {
    color: var(--blue);
    font-size: 20px;
    line-height: 1;
}

.psychometric-scale label span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.psychometric-scale label:hover,
.psychometric-scale input:focus-visible + label {
    border-color: #bfdbfe;
    box-shadow: 0 10px 24px rgba(30, 58, 138, .12);
    transform: translateY(-3px);
}

.psychometric-scale input:checked + label {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.psychometric-scale input:checked + label strong,
.psychometric-scale input:checked + label span {
    color: #fff;
}

.psychometric-question-footer {
    align-items: center;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
}

.psychometric-question-footer span {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    display: inline-flex;
    font-size: 12px;
    font-weight: 700;
    gap: 6px;
    padding: 6px 10px;
}

.psychometric-question-footer i {
    color: var(--blue);
}

.psychometric-actions {
    bottom: 14px;
    position: sticky;
    z-index: 5;
}

.psychometric-recommendations,
.psychometric-bars {
    display: grid;
    gap: 12px;
}

.psychometric-recommendation {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: flex;
    gap: 12px;
    padding: 12px;
}

.psychometric-recommendation > span {
    align-items: center;
    background: var(--blue);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 30px;
    font-weight: 800;
    height: 30px;
    justify-content: center;
}

.psychometric-radar-wrap {
    display: grid;
    justify-items: center;
    margin-bottom: 12px;
}

.psychometric-radar {
    max-width: 260px;
    width: 100%;
}

.psychometric-radar circle {
    fill: none;
    stroke: #dbeafe;
    stroke-width: 1.5;
}

.psychometric-radar polygon {
    fill: rgba(59, 130, 246, .28);
    stroke: var(--blue);
    stroke-width: 3;
}

.psychometric-radar text {
    fill: var(--muted);
    font-size: 10px;
    font-weight: 800;
}

.psychometric-radar-legend {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.psychometric-radar-legend div {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    padding: 8px 10px;
}

.psychometric-radar-legend span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.psychometric-radar-legend strong {
    color: var(--blue);
    font-size: 13px;
    white-space: nowrap;
}

.psychometric-bar-row {
    display: grid;
    gap: 7px;
}

.psychometric-bar-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.psychometric-bar-row span,
.psychometric-bar-row em {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.psychometric-dimension {
    background: #f8fafc;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: grid;
    gap: 9px;
    padding: 12px;
}

@media (prefers-reduced-motion: no-preference) {
    .weekly-update {
        animation: update-in .55s ease both;
    }

    .progress-ring {
        animation: progress-pop .6s ease both;
    }

    .dashboard-tab-pane.active {
        animation: dashboard-pane-in .3s ease both;
    }

    .app-submenu {
        animation: dashboard-pane-in .18s ease both;
    }

    @keyframes update-in {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes progress-pop {
        from { opacity: 0; transform: scale(.9); }
        to { opacity: 1; transform: scale(1); }
    }

    @keyframes dashboard-pane-in {
        from { opacity: 0; transform: translateY(8px); }
        to { opacity: 1; transform: translateY(0); }
    }
}

@media (max-width: 767px) {
    .hero {
        align-items: flex-start;
        padding-top: 32px;
        min-height: auto;
    }

    .display-4 {
        font-size: 2.1rem;
    }

    .metric strong {
        font-size: 26px;
    }

    .profile-facts {
        grid-template-columns: 1fr;
    }

    .dashboard-shell {
        padding: 16px 10px;
    }

    .dashboard-hero {
        border-radius: 16px;
        padding: 18px;
    }

    .dashboard-section-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .psychometric-block-nav {
        display: flex;
        overflow-x: auto;
        padding-bottom: 3px;
    }

    .psychometric-block-nav a {
        flex: 0 0 82px;
    }

    .psychometric-scale {
        grid-template-columns: 1fr;
    }

    .psychometric-scale label {
        align-items: center;
        grid-template-columns: 36px 1fr;
        min-height: auto;
        text-align: left;
    }

    .psychometric-actions {
        bottom: 8px;
    }
}
