.dashboard-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 26px;
}

.dashboard-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
    align-items: stretch;
    margin-bottom: var(--section-gap);
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
}

.dashboard-hero-main {
    display: grid;
    gap: 14px;
}

.dashboard-hero .eyebrow {
    margin-bottom: 0;
    color: var(--primary-dark);
}

.dashboard-hero h1 {
    font-size: clamp(38px, 5vw, 64px);
}

.hero-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    font-weight: 750;
}

.hero-level-selector {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-top: 4px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .72);
}

.hero-level-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: -2px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.4;
}

.hero-level-form {
    margin: 0;
}

.hero-level-option {
    min-width: 54px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0 14px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    font-weight: 850;
    cursor: pointer;
}

.hero-level-option:hover {
    background: rgba(17, 24, 39, .045);
    color: var(--text);
    transform: translateY(-1px);
}

.hero-level-option.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 8px 18px rgba(15, 118, 110, .18);
}

.hero-level-option.locked {
    cursor: pointer;
    color: var(--muted-2);
    background: rgba(17, 24, 39, .035);
    border-color: rgba(17, 24, 39, .05);
}

.hero-level-option.locked:hover,
.hero-level-option.locked:focus-visible {
    color: var(--primary-dark);
    background: var(--primary-soft);
}

.lock-mark {
    font-size: 12px;
    line-height: 1;
}

.level-divider {
    width: 1px;
    height: 28px;
    margin: 0 2px;
    background: var(--border-strong);
}

.hero-action-area {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 16px;
    align-items: stretch;
}

.hero-action-card {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 20px;
    border: 1px solid rgba(15, 118, 110, .12);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
    transition: transform var(--motion-fast), box-shadow var(--motion-fast), border-color var(--motion-fast), background var(--motion-fast);
}

.hero-action-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-hover);
}

.training-action-card {
    padding: 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(239, 249, 246, .92));
}

.review-action-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .9), rgba(255, 253, 248, .9));
}

.hero-panel-title {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: var(--primary-dark);
    font-weight: 850;
}

.hero-action-card strong {
    display: block;
    color: var(--text);
    font-size: clamp(30px, 3.4vw, 42px);
    line-height: 1;
    font-weight: 850;
}

.review-action-card strong {
    font-size: clamp(26px, 2.8vw, 34px);
}

.hero-action-card span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.hero-action-card p:not(.hero-panel-title) {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

.hero-action-card .button {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    margin-top: 8px;
    text-align: center;
}

.training-action-card .button {
    min-height: 52px;
}

.metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 18px 0;
}

.card {
    min-height: 128px;
    padding: 22px;
    animation: card-in .32s ease both;
    transition: transform var(--motion-fast), box-shadow var(--motion-fast), border-color var(--motion-fast), background var(--motion-fast);
}

.card:hover,
.split article:hover,
.panel:hover,
.quiz:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-hover);
}

.card:hover {
    transform: translateY(-2px);
}

.card span {
    display: block;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
    margin-bottom: 12px;
}

.card strong {
    display: block;
    color: var(--text);
    font-size: clamp(26px, 3vw, 34px);
    line-height: 1.05;
    font-weight: 850;
}

.card small {
    display: block;
    margin-top: 12px;
    color: var(--muted-2);
    font-size: 12px;
    font-weight: 750;
}

.settings-profile-grid {
    grid-template-columns: minmax(0, 1fr);
}

.settings-email-card {
    min-height: auto;
}

.settings-email-card strong {
    font-size: clamp(20px, 2.4vw, 28px);
    overflow-wrap: anywhere;
    word-break: normal;
}

.settings-page {
    display: grid;
    gap: 30px;
    width: min(1160px, 100%);
    margin: 0 auto;
}

.settings-head {
    display: grid;
    gap: 8px;
}

.settings-head .eyebrow {
    margin: 0;
    color: var(--primary-dark);
}

.settings-head h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 900;
}

.settings-section {
    display: grid;
    gap: 14px;
}

.settings-section h2 {
    margin: 0;
    color: var(--text);
    font-size: 23px;
    line-height: 1.2;
    font-weight: 900;
}

.settings-section-heading {
    display: grid;
    gap: 6px;
}

.settings-section-heading p {
    margin: 0;
    color: var(--muted);
    font-weight: 750;
}

.settings-grid {
    display: grid;
    gap: var(--section-gap);
}

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

.settings-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
}

.settings-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 900;
}

.settings-card p {
    margin: 10px 0 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.settings-label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.settings-email-card strong {
    display: block;
    color: var(--text);
}

.premium-settings-card {
    display: grid;
    align-content: space-between;
    gap: 18px;
}

.premium-settings-card .button {
    justify-self: start;
}

.settings-form {
    max-width: 620px;
}

.settings-form .button,
.settings-form .small-button {
    justify-self: start;
}

.danger-settings-section {
    padding: 22px;
    border: 1px solid rgba(217, 72, 43, .16);
    border-radius: var(--radius);
    background: rgba(255, 240, 235, .34);
}

.danger-settings-card {
    background: rgba(255, 255, 255, .82);
    border-color: rgba(217, 72, 43, .18);
}

.danger-settings-card form:not(.form) {
    margin-top: 18px;
}

.danger-outline {
    background: white;
    border-color: rgba(217, 72, 43, .38);
    color: var(--danger);
}

.danger-outline:hover {
    background: var(--danger-soft);
    border-color: rgba(217, 72, 43, .5);
    color: #ad321d;
    box-shadow: 0 10px 22px rgba(217, 72, 43, .1);
}

.critical-action {
    justify-self: start;
}

.confirm-dialog {
    width: min(460px, calc(100% - 32px));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    background: white;
    box-shadow: 0 24px 70px rgba(17, 24, 39, .18);
    color: var(--text);
}

.confirm-dialog::backdrop {
    background: rgba(17, 24, 39, .28);
    backdrop-filter: blur(4px);
}

.confirm-dialog form {
    padding: 24px;
}

.confirm-dialog h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}

.confirm-dialog p {
    margin: 12px 0 0;
    color: var(--text-soft);
    line-height: 1.6;
}

.dialog-actions {
    justify-content: flex-end;
}

.blog-page,
.blog-post {
    width: min(1040px, 100%);
    margin: 0 auto;
}

.blog-head {
    display: grid;
    gap: 10px;
    margin-bottom: 24px;
}

.blog-head .eyebrow {
    margin: 0;
    color: var(--primary-dark);
}

.blog-head h1,
.blog-post-head h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(34px, 4.6vw, 58px);
    line-height: 1.08;
    font-weight: 900;
}

.blog-head p,
.blog-post-head p {
    max-width: 720px;
    margin: 0;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.65;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--section-gap);
}

.blog-card {
    display: grid;
    gap: 12px;
    min-height: 190px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
    color: var(--text);
    transition: transform var(--motion-fast), box-shadow var(--motion-fast), border-color var(--motion-fast);
}

.blog-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-hover);
}

.blog-card time,
.blog-post-head time {
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.blog-card h2 {
    margin: 0;
    font-size: 23px;
    line-height: 1.2;
    font-weight: 900;
}

.blog-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}

.blog-card span {
    align-self: end;
    color: var(--primary-dark);
    font-weight: 850;
}

.blog-post {
    max-width: 860px;
}

.blog-post-head {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
}

.blog-back-link {
    width: fit-content;
    color: var(--primary-dark);
    font-weight: 850;
}

.blog-hero-image {
    display: block;
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
}

.blog-toc {
    margin-top: 24px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
}

.blog-toc h2 {
    margin: 0 0 12px;
    font-size: 20px;
}

.blog-toc ol {
    display: grid;
    gap: 8px;
    margin: 0;
    padding-left: 22px;
}

.blog-toc a {
    font-weight: 800;
}

.blog-post-body {
    display: grid;
    gap: 28px;
    margin-top: 30px;
}

.blog-post-body section {
    scroll-margin-top: 100px;
}

.blog-post-body h2 {
    margin: 0 0 12px;
    font-size: 29px;
    line-height: 1.2;
}

.blog-post-body h3 {
    margin: 24px 0 10px;
    color: var(--text);
    font-size: 22px;
    line-height: 1.25;
}

.blog-post-body p {
    margin: 0 0 16px;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.75;
}

.blog-post-body ul,
.blog-post-body ol {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
    padding-left: 24px;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.65;
}

.blog-post-body blockquote {
    margin: 16px 0;
    padding: 16px 18px;
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    background: rgba(15, 118, 110, .07);
    color: var(--text);
}

.blog-post-body blockquote p {
    margin: 0;
}

.blog-post-body a {
    font-weight: 850;
}

.blog-faq,
.blog-related,
.blog-cta {
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
}

.blog-faq details {
    border-top: 1px solid var(--border);
    padding: 14px 0;
}

.blog-faq details:first-of-type {
    border-top: 0;
}

.blog-faq summary {
    cursor: pointer;
    color: var(--text);
    font-size: 17px;
    font-weight: 900;
}

.blog-faq p,
.blog-cta p {
    margin-bottom: 0;
}

.blog-cta {
    display: grid;
    gap: 14px;
    background: var(--primary-soft);
}

.blog-cta .primary-button {
    width: fit-content;
}

.help-page {
    display: grid;
    gap: 34px;
    width: min(1120px, 100%);
    margin: 0 auto;
}

.help-hero-scene,
.help-contact-scene {
    width: 100%;
}

.help-hero {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 120px;
    gap: 28px;
    align-items: center;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
}

.help-hero-mascot {
    right: -280px;
    top: -42px;
    width: 320px;
    opacity: .9;
}

.help-hero .eyebrow {
    margin: 0 0 10px;
    color: var(--primary-dark);
}

.help-hero h1 {
    margin: 0;
    color: var(--text);
    font-size: clamp(34px, 4.6vw, 58px);
    line-height: 1.08;
    font-weight: 900;
}

.help-hero p:not(.eyebrow) {
    max-width: 680px;
    margin: 14px 0 0;
    color: var(--text-soft);
    font-size: 18px;
    line-height: 1.65;
}

.help-hero-mark {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    justify-self: end;
    border-radius: 32px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 52px;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px rgba(15, 118, 110, .08);
}

.help-section {
    display: grid;
    gap: 18px;
}

.help-section > h2 {
    margin: 0;
    color: var(--text);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 900;
}

.help-feature-grid,
.help-topic-grid {
    display: grid;
    gap: var(--section-gap);
}

.help-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.help-card {
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
    transition: transform var(--motion-fast), box-shadow var(--motion-fast), border-color var(--motion-fast);
}

.help-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-hover);
}

.help-feature-card span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 900;
}

.help-card h2,
.help-card h3 {
    margin: 0;
    color: var(--text);
    font-size: 21px;
    line-height: 1.25;
    font-weight: 900;
}

.help-card p {
    margin: 12px 0 0;
    color: var(--text-soft);
    line-height: 1.68;
}

.help-topic-card .button {
    margin-top: 18px;
}

.legal-topic-grid {
    grid-template-columns: minmax(0, 1fr);
}

.legal-card p {
    white-space: pre-line;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .03);
}

.faq-item summary {
    cursor: pointer;
    padding: 18px 20px;
    color: var(--text);
    font-weight: 900;
}

.faq-item summary:hover {
    color: var(--primary-dark);
}

.faq-item summary:focus-visible {
    outline: 3px solid rgba(15, 118, 110, .25);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

.faq-item p {
    margin: 0;
    padding: 0 20px 18px;
    color: var(--text-soft);
    line-height: 1.65;
}

.help-contact-section {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(360px, 1fr);
    gap: var(--section-gap);
    padding: 28px;
    border: 1px solid rgba(15, 118, 110, .12);
    border-radius: var(--radius);
    background: linear-gradient(90deg, rgba(231, 244, 241, .62), rgba(255, 255, 255, .92));
    box-shadow: var(--shadow);
}

.help-contact-mascot {
    right: -56px;
    top: 42px;
    width: 150px;
    opacity: .16;
}

.help-contact-copy .eyebrow {
    margin: 0 0 10px;
    color: var(--primary-dark);
}

.help-contact-copy h2 {
    margin: 0;
    color: var(--text);
    font-size: 30px;
    line-height: 1.15;
    font-weight: 900;
}

.help-contact-copy p {
    margin: 12px 0 0;
    color: var(--text-soft);
    line-height: 1.65;
}

.contact-facts {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.contact-facts div {
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .72);
}

.contact-facts span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}

.contact-facts a,
.contact-facts strong {
    color: var(--text);
    font-weight: 850;
}

.help-contact-form {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow);
}

.help-contact-form p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.help-contact-guest input,
.help-contact-guest textarea {
    background: rgba(255, 255, 255, .68);
}

.dashboard-metrics,
.dashboard-stats-grid {
    gap: var(--section-gap);
    margin: 0;
}

.dashboard-metrics {
    margin-bottom: var(--section-gap);
}

.panel.dashboard-panel,
.dashboard-stats-panel {
    max-width: none;
    width: 100%;
    margin: var(--section-gap) 0 0;
    padding: var(--card-padding);
}

.dashboard-stats-panel {
    display: grid;
    gap: 18px;
}

.dashboard-stats-panel h2,
.dashboard-panel h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

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

.dashboard-stat-card {
    min-height: var(--dashboard-card-height);
    padding: var(--card-padding);
    display: grid;
    grid-template-rows: minmax(34px, auto) 42px minmax(18px, auto);
    align-items: end;
    gap: 10px;
}

.dashboard-stat-card span {
    margin: 0;
    align-self: start;
    min-height: 34px;
    line-height: 1.25;
}

.dashboard-stat-card strong {
    min-height: 42px;
    display: flex;
    align-items: flex-end;
    font-size: clamp(28px, 2.8vw, 34px);
}

.dashboard-stat-card small {
    min-height: 18px;
    margin: 0;
    line-height: 1.35;
}

.dashboard-stat-card .mini-progress {
    width: 100%;
    margin: 0;
    align-self: center;
}

.premium-locked-card {
    border: 1px solid #f2d9a6 !important;
    background: #fff7e6 !important;
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .025), 0 8px 20px rgba(183, 121, 31, .08);
}

.premium-locked-card:hover {
    border-color: rgba(183, 121, 31, .38) !important;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, .04), 0 12px 26px rgba(183, 121, 31, .12);
}

.premium-locked-card strong {
    min-height: 28px;
    color: #7a5a1f;
    font-size: clamp(14px, 1.45vw, 18px);
    line-height: 1.25;
}

.premium-locked-card small {
    color: #7a5a1f;
}

.premium-locked-card span {
    color: var(--text);
    font-size: 15px;
    font-weight: 900;
}

.dashboard-stats-panel .stats-level-filter {
    margin: 0;
}

.dashboard-stats-panel .metrics + .metrics {
    margin-top: 0;
}

.dashboard-insight-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--section-gap);
}

.dashboard-insight-card {
    min-height: 214px;
    padding: var(--card-padding);
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top-width: 3px;
}

.premium-locked-card-wide {
    justify-content: space-between;
}

.premium-locked-card-wide strong {
    margin-top: auto;
}

.recent-errors-card,
.category-summary-card {
    border-top-color: rgba(217, 72, 43, .45);
}

.frequent-errors-card {
    border-top-color: rgba(183, 121, 31, .5);
}

.dashboard-insight-card > span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.25;
    font-weight: 850;
}

.insight-subtitle {
    min-height: 16px;
}

.insight-word-list {
    display: grid;
    gap: 10px;
    margin: 2px 0 0;
    padding: 0;
    list-style: none;
}

.insight-word-list li {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: rgba(17, 24, 39, .035);
}

.compact-error-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
}

.frequent-error-text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.insight-word-list strong,
.insight-category {
    color: var(--text);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.insight-category {
    margin-top: 0;
}

.category-summary-card {
    gap: 8px;
}

.category-summary-card .insight-category {
    font-size: 22px;
}

.category-summary-card small:not(.insight-subtitle) {
    margin-bottom: 4px;
}

.insight-divider {
    display: block;
    width: 100%;
    height: 1px;
    margin: 8px 0 6px;
    background: var(--border);
}

.insight-word-list strong {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.insight-word-list strong em {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.2;
    font-style: normal;
    font-weight: 800;
}

.error-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: var(--warning-soft);
    color: var(--warning);
    font-size: 12px !important;
    line-height: 1;
    font-weight: 900 !important;
    white-space: nowrap;
}

.insight-word-list small,
.dashboard-insight-card small,
.dashboard-insight-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 750;
}

.empty-insight {
    margin-top: auto !important;
}

.dashboard-progress-card {
    padding: var(--card-padding);
    background: linear-gradient(180deg, #ffffff, #fbfaf7);
}

.dashboard-progress-card .panel-heading {
    align-items: flex-start;
}

.progress-distribution {
    display: flex;
    height: 18px;
    margin-top: 22px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(17, 24, 39, .06);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .04);
}

.progress-segment {
    min-width: 0;
    height: 100%;
    transform-origin: left center;
    animation: progress-grow .7s cubic-bezier(.2, .8, .2, 1) both;
}

.process-segment {
    background: var(--primary);
}

.review-segment {
    background: var(--warning);
}

.fixed-segment {
    background: var(--success);
}

.progress-legend {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.progress-legend div {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 10px;
    row-gap: 2px;
    min-height: 54px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, .72);
}

.progress-legend strong {
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    font-weight: 850;
}

.progress-legend small {
    grid-column: 2;
    color: var(--muted);
    font-weight: 750;
}

.legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
}

.locked-legend {
    opacity: .72;
    border-style: dashed !important;
}

.remaining-card {
    background: linear-gradient(180deg, #ffffff, #f7f8f4);
}

.dashboard-split {
    gap: var(--section-gap);
    margin-top: var(--section-gap);
}

.single-panel-split {
    grid-template-columns: 1fr;
}

.dashboard-split article {
    min-height: var(--dashboard-panel-min-height);
    padding: var(--card-padding);
    display: flex;
    flex-direction: column;
}

.dashboard-panel-body {
    flex: 1;
    display: grid;
    align-content: start;
    gap: 16px;
    margin-top: 18px;
}

.dashboard-panel-body p {
    margin: 0;
}

.dashboard-split .actions {
    margin-top: auto;
}

.dashboard-danger-zone {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--section-gap);
}

.dashboard-danger-zone h2,
.dashboard-danger-zone p {
    margin: 0;
}

.dashboard-danger-zone p {
    margin-top: 8px;
    max-width: 720px;
}

.level-card {
    background: linear-gradient(180deg, #ffffff, #f2fbf8);
}

.goal-card {
    background: linear-gradient(180deg, #ffffff, #f6fbf9);
}

.streak-card {
    background: linear-gradient(180deg, #ffffff, #fff9eb);
}

.success-card {
    background: linear-gradient(180deg, #ffffff, var(--success-soft));
}

.danger-card {
    background: linear-gradient(180deg, #ffffff, var(--danger-soft));
}

.empty-card {
    background: rgba(255, 255, 255, .68);
    border-style: dashed;
}

.card.locked {
    background: rgba(255, 255, 255, .6);
    border-style: dashed;
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.split article {
    padding: 26px;
    transition: transform var(--motion-fast), box-shadow var(--motion-fast), border-color var(--motion-fast);
}

.split h2,
.panel h2,
.inline-result h2 {
    margin: 0;
    font-weight: 850;
}

.progress-line {
    height: 13px;
    border-radius: 999px;
    background: rgba(15, 118, 110, .09);
    overflow: hidden;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .04);
}

.progress-line span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), #62b59b);
    transform-origin: left center;
    animation: progress-grow .7s cubic-bezier(.2, .8, .2, 1) both;
}

.mini-progress {
    height: 7px;
    margin-top: 14px;
    border-radius: 999px;
    background: rgba(15, 118, 110, .1);
    overflow: hidden;
}

.mini-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--primary), #62b59b);
    transform-origin: left center;
    animation: progress-grow .65s cubic-bezier(.2, .8, .2, 1) both;
}
