*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    body {
      font-family: 'Lato', arial, sans-serif;
      background: #ffffff;
      color: #1b1b1b;
      min-height: 100vh;
      font-size: 16px;
    }

    /* ── TOP BAR ── */
    .topbar {
      text-align: center;
      padding: 8px 20px;
      font-size: 13px;
      color: #5e5e5e;
      border-bottom: 1px solid #ebebeb;
    }

    /* ── NAVBAR ── */
    nav {
      background: #ffffff;
      border-bottom: 1px solid #e8e8e8;
      position: sticky; top: 0; z-index: 100;
    }
    .nav-inner {
      max-width: 1100px; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between;
      padding: 12px 24px; gap: 16px;
    }
    .nav-logo {
      display: flex; align-items: center; gap: 10px;
      flex-shrink: 0; text-decoration: none;
      color: #1b1b1b;
    }
    .nav-logo img { height: 34px; width: auto; aspect-ratio: 1024 / 1536; object-fit: contain; display: block; }
    .nav-logo span {
      font-family: 'Lato', sans-serif;
      font-size: 14px; font-weight: 700;
      letter-spacing: .4px;
      color: #1b1b1b;
    }
    .nav-links {
      display: flex; align-items: center; justify-content: center;
      flex-wrap: wrap; gap: 0;
      min-width: 0; flex: 1;
    }
    .nav-links a, .nav-links button, .nav-dashboard {
      font-family: 'Lato', sans-serif;
      font-size: 12px; font-weight: 700;
      letter-spacing: 1.1px; text-transform: uppercase;
      color: #1b1b1b; text-decoration: none;
      background: none; border: none; cursor: pointer;
      padding: 8px 10px;
      transition: color .15s;
    }
    .nav-links a:hover, .nav-links button:hover { color: #3AA9AB; }
    .nav-links .nav-active { color: #3AA9AB; }
    .nav-dashboard {
      color: #a4a4a4;
      cursor: default;
      position: relative;
    }
    .nav-dashboard::after {
      content: 'Coming soon';
      display: inline-block;
      margin-left: 6px;
      font-size: 10px;
      letter-spacing: .6px;
      text-transform: none;
      color: #a4a4a4;
    }
    .nav-sep { color: #ddd; font-size: 11px; }
    @media (max-width: 900px) {
      .nav-inner {
        flex-direction: column;
        align-items: stretch;
        padding: 12px 18px;
      }
      .nav-logo {
        justify-content: center;
        display: flex;
      }
      .nav-links {
        justify-content: center;
        row-gap: 4px;
      }
      .nav-sep {
        display: none;
      }
    }
    @media (max-width: 560px) {
      .nav-links a, .nav-links button, .nav-dashboard {
        width: 100%;
        text-align: center;
        padding: 6px 8px;
      }
      .nav-dashboard::after {
        display: block;
        margin-left: 0;
        margin-top: 4px;
      }
    }

    /* ── LAYOUT ── */
    .page { max-width: 1100px; margin: 0 auto; padding: 40px 24px 80px; display: flex; gap: 48px; }
    .content { flex: 1; min-width: 0; }
    .sidebar { width: 280px; flex-shrink: 0; }
    @media (max-width: 768px) { .page { flex-direction: column; } .sidebar { width: 100%; } }

    /* ── BREADCRUMB ── */
    .breadcrumb {
      font-size: 13px; color: #3AA9AB; margin-bottom: 28px;
      cursor: pointer; display: flex; align-items: center; gap: 4px;
    }
    .breadcrumb:hover { text-decoration: underline; }

    /* ── SECTION TITLE ── */
    .section-heading {
      font-family: 'Cabin', sans-serif;
      font-size: 22px; font-weight: 700; color: #1b1b1b;
      margin-bottom: 6px;
    }
    .section-sub { font-size: 14px; color: #5e5e5e; margin-bottom: 28px; }

    /* ── HORIZONTAL RULE ── */
    hr { border: none; border-top: 1px solid #e8e8e8; margin: 28px 0; }

    /* ── THEMA GRID ── */
    .thema-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1px; background: #e8e8e8; border: 1px solid #e8e8e8; margin-bottom: 32px; }
    .thema-sections { margin-bottom: 32px; }
    .thema-block { margin-bottom: 28px; }
    .thema-block-title {
      margin-bottom: 12px;
      padding-top: 10px;
      border-top: 2px solid var(--block-accent, #e8e8e8);
    }
    .thema-block-title span {
      display: inline-block;
      padding: 4px 10px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.4px;
      text-transform: uppercase;
      color: #405364;
      background: var(--block-accent, #f6f6f6);
    }
    .thema-grid-group {
      grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      margin-bottom: 0;
    }
    .thema-card {
      background: #fff; padding: 18px 16px;
      border-top: 3px solid var(--tc, #3AA9AB);
      cursor: pointer; transition: background .15s, box-shadow .15s;
      text-align: left;
    }
    .thema-card:hover { background: #fafafa; box-shadow: inset 0 -2px 0 rgba(16,37,38,.08); }
    .thema-card.sel   { background: #f0fafa; }
    .thema-card-minimal { border-top-width: 2px; }
    .t-num  { font-family: 'Cabin', sans-serif; font-size: 11px; font-weight: 700; color: #5c7084; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 4px; }
    .t-name { font-family: 'Cabin', sans-serif; font-size: 15px; font-weight: 700; color: #1b1b1b; margin-bottom: 6px; }
    .t-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
    .t-cnt  { font-size: 12px; color: #a4a4a4; }
    .t-pill { font-size: 10px; font-weight: 700; letter-spacing: .3px; padding: 2px 7px; border-radius: 999px; white-space: nowrap; }
    .t-progress {
      font-size: 13px;
      font-weight: 700;
      color: #32485a;
    }
    .t-complete {
      font-size: 11px;
      font-weight: 700;
      color: #597244;
      white-space: nowrap;
    }
    @media (max-width: 640px) {
      .thema-grid-group {
        grid-template-columns: 1fr;
      }
    }

    /* ── MODE CARDS ── */
    .mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #e8e8e8; border: 1px solid #e8e8e8; margin-bottom: 40px; }
    @media (max-width: 500px) { .mode-grid { grid-template-columns: 1fr; } }
    .mode-card {
      background: #fff; padding: 32px 28px;
      cursor: pointer; transition: background .15s;
    }
    .mode-card:hover { background: #f6f6f6; }
    .mode-icon { font-size: 28px; margin-bottom: 12px; }
    .mode-label { font-family: 'Cabin', sans-serif; font-size: 17px; font-weight: 700; color: #1b1b1b; margin-bottom: 8px; }
    .mode-desc  { font-size: 14px; color: #5e5e5e; line-height: 1.6; }
    .mode-tag   { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #3AA9AB; }

    /* ── CHIP / FILTER ── */
    .filter-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #5e5e5e; margin-bottom: 10px; }
    .chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
    .chip {
      font-family: 'Lato', sans-serif; font-size: 13px;
      padding: 6px 14px; border: 1px solid #d0d0d0;
      background: #fff; color: #5e5e5e; cursor: pointer;
      transition: all .15s; user-select: none;
    }
    .chip:hover { border-color: #3AA9AB; color: #3AA9AB; }
    .chip.sel   { background: #3AA9AB; border-color: #3AA9AB; color: #fff; font-weight: 700; }

    /* ── ADV SUMMARY ── */
    .adv-box {
      background: #f6f6f6; border-left: 3px solid #3AA9AB;
      padding: 14px 18px; font-size: 14px; color: #5e5e5e;
      line-height: 1.6; margin-bottom: 20px;
    }
    .adv-box strong { color: #1b1b1b; }

    /* ── BUTTONS ── */
    .btn {
      font-family: 'Lato', sans-serif; font-size: 12px; font-weight: 700;
      letter-spacing: 2px; text-transform: uppercase;
      border: none; padding: 14px 32px; cursor: pointer;
      transition: background .18s;
      display: inline-block;
      text-align: center;
      text-decoration: none;
    }
    .btn-teal    { background: #3AA9AB; color: #fff; }
    .btn-teal:hover { background: #2C8182; }
    .btn-outline { background: #fff; color: #1b1b1b; border: 1px solid #1b1b1b; }
    .btn-outline:hover { background: #f6f6f6; }
    .btn:disabled { background: #e0e0e0; color: #aaa; cursor: not-allowed; }
    .btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

    /* ── STATS ROW ── */
    .stats-row { display: flex; gap: 1px; background: #e8e8e8; border: 1px solid #e8e8e8; margin-bottom: 32px; }
    .stat-box { background: #fff; padding: 18px 20px; flex: 1; text-align: center; }
    .stat-n { font-family: 'Cabin', sans-serif; font-size: 28px; font-weight: 700; color: #3AA9AB; }
    .stat-l { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #a4a4a4; margin-top: 2px; }
    @media (max-width: 640px) {
      .stats-row {
        flex-direction: column;
      }
    }

    /* ── DASHBOARD ── */
    body.body-dashboard {
      background: #f4f7f7;
    }
    .dashboard-page {
      max-width: 1180px;
      padding-top: 32px;
    }
    .dashboard-header-title {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .dashboard-header-title .section-heading {
      font-size: 66px;
      line-height: 0.95;
      margin-bottom: 0;
    }
    .dashboard-header-icons {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      line-height: 0;
    }
    .dashboard-header-icon {
      width: 22px;
      height: 22px;
      color: #2fa3a6;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
    }
    .dashboard-header-icon svg {
      width: 100%;
      height: 100%;
      display: block;
    }
    .dashboard-page .content {
      flex: 1 1 100%;
      width: 100%;
    }
    .dashboard-hero-shell {
      display: grid;
      grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr);
      gap: 18px;
      margin-bottom: 18px;
      align-items: stretch;
    }
    #dashboardHero {
      height: 100%;
    }
    .dashboard-hero-card,
    .dashboard-rail-card,
    .dashboard-panel,
    .dashboard-word-card,
    .dashboard-topic-card {
      background: #ffffff;
      border: 1px solid #e3eaea;
      box-shadow: 0 18px 40px rgba(36, 69, 73, 0.06);
    }
    .dashboard-hero-card {
      padding: 32px 32px 30px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 24px;
      position: relative;
      overflow: hidden;
      min-height: 360px;
      height: 100%;
    }
    .dashboard-hero-card::before {
      content: '';
      position: absolute;
      inset: auto -12% -35% auto;
      width: 260px;
      height: 260px;
      background: radial-gradient(circle, rgba(58,169,171,0.18) 0%, rgba(58,169,171,0) 68%);
      pointer-events: none;
    }
    .dashboard-hero-copy h2 {
      font-family: 'Cabin', sans-serif;
      font-size: 40px;
      line-height: 1.05;
      color: #102f31;
      max-width: 12ch;
      margin: 4px 0 14px;
    }
    .dashboard-hero-copy p {
      font-size: 15px;
      line-height: 1.75;
      color: #5c6d70;
      max-width: 56ch;
    }
    .dashboard-hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 20px;
    }
    .dashboard-lab-btn,
    .dashboard-advanced-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
    }
    .dashboard-btn-icon {
      width: 16px;
      height: 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex: 0 0 auto;
    }
    .dashboard-btn-icon svg {
      width: 100%;
      height: 100%;
      display: block;
    }
    .dashboard-advanced-btn {
      border-color: #3aa9ab;
      color: #235f62;
    }
    .dashboard-advanced-btn:hover {
      background: #edf8f8;
    }
    .dashboard-hero-score {
      display: flex;
      flex-direction: column;
      gap: 18px;
      align-items: center;
      justify-content: center;
      min-width: 248px;
    }
    .dashboard-score-orbit {
      width: 208px;
      height: 208px;
      border-radius: 50%;
      padding: 13px;
      background: conic-gradient(#3aa9ab 0deg, #3aa9ab calc(var(--score, 0) * 3.6deg), #d9ecec calc(var(--score, 0) * 3.6deg), #d9ecec 360deg);
      display: grid;
      place-items: center;
    }
    .dashboard-score-disc {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      background: #ffffff;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      box-shadow: inset 0 0 0 1px #e5eded;
    }
    .dashboard-score-disc span {
      font-family: 'Cabin', sans-serif;
      font-size: 58px;
      line-height: 1;
      color: #143b3d;
    }
    .dashboard-score-disc small {
      margin-top: 6px;
      font-size: 12px;
      font-weight: 700;
      letter-spacing: 1.1px;
      text-transform: uppercase;
      color: #6d8283;
    }
    .dashboard-score-meta {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      width: 100%;
    }
    .dashboard-score-meta div {
      padding: 12px 14px;
      background: #f4f9f9;
      border: 1px solid #dfebeb;
    }
    .dashboard-score-meta strong {
      display: block;
      font-family: 'Cabin', sans-serif;
      font-size: 24px;
      color: #183f42;
    }
    .dashboard-score-meta span {
      display: block;
      margin-top: 4px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .9px;
      text-transform: uppercase;
      color: #708486;
    }
    .dashboard-hero-progress {
      grid-column: 1 / -1;
      background: linear-gradient(180deg, #f7fbfb 0%, #f0f7f7 100%);
      border: 1px solid #deecec;
      padding: 16px 18px;
    }
    .dashboard-progress-head {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 10px;
      align-items: baseline;
    }
    .dashboard-progress-head strong {
      font-size: 14px;
      color: #183e40;
    }
    .dashboard-progress-head span {
      font-family: 'Cabin', sans-serif;
      font-size: 24px;
      color: #2b6668;
    }
    .dashboard-hero-progress p {
      font-size: 13px;
      line-height: 1.6;
      color: #66787a;
      margin-top: 10px;
    }
    .dashboard-rail {
      display: grid;
      gap: 18px;
    }
    .dashboard-rail-card {
      padding: 22px;
    }
    .dashboard-rail-card h3 {
      font-family: 'Cabin', sans-serif;
      font-size: 26px;
      line-height: 1.1;
      color: #14393c;
      margin: 6px 0 10px;
    }
    .dashboard-rail-card p {
      font-size: 14px;
      line-height: 1.75;
      color: #617173;
    }
    .dashboard-rail-card--accent {
      background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
      align-self: start;
      padding: 18px 18px 16px;
    }
    .dashboard-rail-divider {
      border-top: 1px solid #e8eeee;
      margin: 16px 0;
    }
    .dashboard-rail-point + .dashboard-rail-point {
      margin-top: 14px;
    }
    .dashboard-rail-point span {
      display: block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #728486;
      margin-bottom: 4px;
    }
    .dashboard-rail-point strong,
    .dashboard-rail-metric strong {
      display: block;
      font-family: 'Cabin', sans-serif;
      font-size: 20px;
      color: #193c3f;
    }
    .dashboard-rail-metric {
      margin-top: 12px;
    }
    .dashboard-rail-metric span {
      display: block;
      margin-top: 4px;
      font-size: 12px;
      color: #748587;
    }
    .dashboard-daily-row {
      margin-top: 12px;
    }
    .dashboard-daily-layout {
      display: flex;
      align-items: flex-end;
      gap: 14px;
      margin: 8px 0 10px;
    }
    .dashboard-daily-copy {
      flex: 1;
      min-width: 0;
    }
    .dashboard-beaker {
      width: 34px;
      flex: 0 0 34px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2px;
    }
    .dashboard-beaker-neck {
      width: 12px;
      height: 10px;
      border: 2px solid #8dbec0;
      border-bottom: 0;
      border-radius: 4px 4px 0 0;
      background: #fff;
    }
    .dashboard-beaker-body {
      position: relative;
      width: 28px;
      height: 86px;
      border: 2px solid #8dbec0;
      border-radius: 0 0 10px 10px;
      overflow: hidden;
      background: linear-gradient(180deg, #ffffff 0%, #f5fbfb 100%);
    }
    .dashboard-beaker-fill {
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(180deg, rgba(74, 199, 187, 0.9) 0%, rgba(58, 169, 171, 0.96) 100%);
    }
    .dashboard-beaker-mark {
      position: absolute;
      right: 4px;
      width: 7px;
      height: 2px;
      background: rgba(92, 125, 128, 0.36);
      z-index: 2;
    }
    .dashboard-beaker-mark.mark-1 { top: 18px; }
    .dashboard-beaker-mark.mark-2 { top: 38px; }
    .dashboard-beaker-mark.mark-3 { top: 58px; }
    .dashboard-daily-label {
      display: block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #728486;
      margin-bottom: 8px;
    }
    .dashboard-daily-controls {
      display: flex;
      gap: 8px;
      align-items: center;
    }
    .dashboard-daily-input {
      width: 92px;
      border: 1px solid #d6e2e2;
      background: #ffffff;
      color: #16393c;
      padding: 10px 12px;
      font: inherit;
    }
    .dashboard-daily-save {
      padding: 10px 16px;
      letter-spacing: 1px;
    }
    .dashboard-daily-save--teal {
      border-color: #3aa9ab;
      color: #235f62;
    }
    .dashboard-daily-save--teal:hover {
      background: #edf8f8;
    }
    .dashboard-daily-hint {
      display: block;
      margin-top: 10px;
      font-size: 12px;
      color: #738486;
    }
    .dashboard-grid {
      display: grid;
      grid-template-columns: 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }
    .dashboard-panel {
      padding: 24px 24px 20px;
      margin-bottom: 20px;
    }
    .dashboard-panel-head {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 18px;
    }
    .dashboard-panel h2 {
      font-family: 'Cabin', sans-serif;
      font-size: 18px;
      margin: 2px 0 0;
      color: #1b1b1b;
    }
    .dashboard-panel-action {
      padding: 10px 16px;
      letter-spacing: 1px;
      align-self: center;
    }
    .dashboard-kicker {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.4px;
      text-transform: uppercase;
      color: #6e8a8b;
    }
    .dashboard-mini-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 12px;
    }
    .dashboard-mini-stat {
      background: linear-gradient(180deg, #f8fbfb 0%, #f1f7f7 100%);
      border: 1px solid #dfeaea;
      padding: 18px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      position: relative;
      overflow: hidden;
    }
    .dashboard-mini-stat--dna::after {
      content: "";
      position: absolute;
      inset: 10px 10px auto auto;
      width: 58px;
      height: 88px;
      opacity: 0.12;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 88' fill='none'%3E%3Cpath d='M19 6c14 10 14 24 0 34s-14 24 0 42' stroke='%236b8f93' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M39 6c-14 10-14 24 0 34s14 24 0 42' stroke='%236b8f93' stroke-width='2.4' stroke-linecap='round'/%3E%3Cpath d='M22 16h14M18 30h22M20 44h18M18 58h22M22 72h14' stroke='%236b8f93' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
      background-size: contain;
      background-repeat: no-repeat;
      pointer-events: none;
    }
    .dashboard-mini-stat strong {
      font-family: 'Cabin', sans-serif;
      font-size: 28px;
      color: #23484a;
    }
    .dashboard-mini-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #6d7f80;
    }
    .dashboard-mini-stat p {
      font-size: 13px;
      line-height: 1.6;
      color: #627274;
    }
    .dashboard-list {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .dashboard-list-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 14px;
      border-bottom: 1px solid #edf1f1;
      padding-bottom: 10px;
    }
    .dashboard-list-item:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }
    .dashboard-list-item strong,
    .dashboard-topic-card strong,
    .dashboard-word-top strong {
      display: block;
      font-size: 15px;
      color: #1b1b1b;
    }
    .dashboard-link-button {
      display: block;
      padding: 0;
      border: 0;
      background: none;
      font: inherit;
      font-size: 15px;
      font-weight: 700;
      color: #1b1b1b;
      cursor: pointer;
      text-align: left;
    }
    .dashboard-link-button:hover {
      color: #2c8f91;
    }
    .dashboard-list-item span,
    .dashboard-topic-card span,
    .dashboard-word-top span {
      font-size: 12px;
      color: #738082;
    }
    .dashboard-activity-copy p {
      font-size: 13px;
      line-height: 1.6;
      color: #69797b;
      margin-top: 8px;
    }
    .dashboard-list-meta {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 6px;
      flex-shrink: 0;
    }
    .dashboard-status {
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      padding: 5px 8px;
      border-radius: 999px;
    }
    .dashboard-status.is-success {
      background: #ebf7ef;
      color: #4f7a58;
    }
    .dashboard-status.is-failure {
      background: #fff0ee;
      color: #a05a53;
    }
    .dashboard-topic-stack {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .dashboard-topic-card {
      padding: 18px;
    }
    .dashboard-topic-headline {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: flex-start;
      margin-bottom: 12px;
    }
    .dashboard-topic-eyebrow {
      display: block;
      margin-bottom: 6px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #7c8f91;
    }
    .dashboard-topic-chip {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .9px;
      text-transform: uppercase;
      color: #2c6668;
      background: #edf8f8;
      border: 1px solid #d8ecec;
      padding: 6px 9px;
      white-space: nowrap;
    }
    .dashboard-bar {
      height: 12px;
      background: #dfe8e8;
      position: relative;
      overflow: hidden;
      border-radius: 999px;
    }
    .dashboard-bar span {
      display: block;
      height: 100%;
      background: linear-gradient(90deg, #3aa9ab 0%, #85cbc8 100%);
      border-radius: 999px;
      transition: width .65s ease;
    }
    .dashboard-bar--tall {
      height: 14px;
    }
    .dashboard-bar--hero {
      height: 16px;
    }
    .dashboard-topic-foot {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      align-items: center;
      margin-top: 12px;
    }
    .dashboard-topic-foot p {
      font-size: 13px;
      line-height: 1.6;
      color: #68787a;
    }
    .dashboard-topic-foot strong {
      font-size: 14px;
      color: #2b6769;
      white-space: nowrap;
    }
    .dashboard-cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 14px;
    }
    .dashboard-word-card {
      padding: 18px;
    }
    .dashboard-word-card--featured {
      background: linear-gradient(180deg, #ffffff 0%, #f7fbfb 100%);
      transform: translateY(-2px);
    }
    .dashboard-word-top {
      margin-bottom: 10px;
    }
    .dashboard-word-copy {
      font-size: 13px;
      line-height: 1.6;
      color: #69797b;
      margin-bottom: 14px;
    }
    .dashboard-word-metrics {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }
    .dashboard-word-metrics div {
      background: #f7f8f8;
      padding: 10px 8px;
      text-align: center;
    }
    .dashboard-word-metrics b {
      display: block;
      font-family: 'Cabin', sans-serif;
      font-size: 20px;
      color: #314f51;
    }
    .dashboard-word-metrics span {
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: .8px;
      color: #819092;
    }
    .dashboard-empty {
      border: 1px dashed #cfdcdd;
      background: linear-gradient(180deg, #fbfcfc 0%, #f4f8f8 100%);
      padding: 36px 28px;
      text-align: center;
    }
    .dashboard-empty-copy {
      font-size: 14px;
      color: #677375;
    }
    .dashboard-reset-zone {
      margin: 30px 0 10px;
      padding: 20px 0 0;
      border-top: 1px solid #dbe5e5;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      flex-wrap: wrap;
    }
    .dashboard-reset-zone p {
      font-size: 13px;
      line-height: 1.7;
      color: #6d7a7c;
      max-width: 56ch;
    }
    .dashboard-reset-btn {
      border-color: #c98e89;
      color: #8c4f4a;
      background: #fff8f7;
    }
    .dashboard-reset-btn:hover {
      background: #fff0ee;
    }
    @media (max-width: 860px) {
      .dashboard-hero-shell,
      .dashboard-grid {
        grid-template-columns: 1fr;
      }
      .dashboard-hero-card {
        grid-template-columns: 1fr;
      }
      .dashboard-hero-copy h2 {
        max-width: none;
        font-size: 34px;
      }
      .dashboard-topic-headline,
      .dashboard-topic-foot {
        flex-direction: column;
        align-items: flex-start;
      }
      .dashboard-list-item {
        flex-direction: column;
        align-items: flex-start;
      }
      .dashboard-list-meta {
        align-items: flex-start;
      }
    }
    @media (max-width: 560px) {
      .dashboard-page {
        padding-left: 18px;
        padding-right: 18px;
      }
      .dashboard-header-title {
        gap: 8px;
      }
      .dashboard-header-title .section-heading {
        font-size: 42px;
      }
      .dashboard-mini-grid,
      .dashboard-score-meta,
      .dashboard-word-metrics {
        grid-template-columns: 1fr;
      }
      .dashboard-daily-layout {
        align-items: stretch;
      }
      .dashboard-hero-card,
      .dashboard-panel,
      .dashboard-rail-card {
        padding: 20px;
      }
      .dashboard-score-orbit {
        width: 176px;
        height: 176px;
      }
      .dashboard-score-disc span {
        font-size: 46px;
      }
    }

    /* ── PROGRESS BAR ── */
    .prog-wrap { height: 3px; background: #e8e8e8; margin-bottom: 4px; }
    .prog-fill  { height: 100%; background: #3AA9AB; transition: width .6s; }
    .prog-label { font-size: 12px; color: #a4a4a4; text-align: right; margin-bottom: 24px; }

    /* ── FLASHCARD ── */
    .card-wrap { perspective: 1000px; margin-bottom: 20px; }
    .card {
      width: 100%; height: 200px; position: relative;
      transform-style: preserve-3d; transition: transform .5s;
      cursor: pointer;
    }
    .card.flipped { transform: rotateY(180deg); }
    .card-face {
      position: absolute; inset: 0;
      backface-visibility: hidden;
      display: flex; flex-direction: column;
      justify-content: center; align-items: center; text-align: center;
      padding: 28px 36px;
      border: 1px solid #e8e8e8;
    }
    .card-front { background: #f6f6f6; }
    .card-back  { background: #3AA9AB; color: #fff; transform: rotateY(180deg); }

    .c-badges { position: absolute; top: 14px; display: flex; gap: 8px; justify-content: space-between; width: calc(100% - 28px); }
    .c-badge  { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #a4a4a4; }
    .c-badge.teal { color: #3AA9AB; }
    .c-word   { font-family: 'Cabin', sans-serif; font-size: 28px; font-weight: 700; color: #1b1b1b; }
    .c-hint   { font-size: 12px; color: #a4a4a4; margin-top: 8px; letter-spacing: .5px; }
    .c-trans  { font-family: 'Cabin', sans-serif; font-size: 22px; font-weight: 700; margin-bottom: 8px; }
    .c-ex     { font-size: 13px; font-style: italic; opacity: .9; line-height: 1.5; }
    .c-type   { font-size: 11px; opacity: .75; margin-top: 6px; letter-spacing: 1px; text-transform: uppercase; }

    /* ── CARD NAV ── */
    .card-nav { display: flex; gap: 12px; justify-content: center; align-items: center; margin-bottom: 32px; }
    .btn-no  { border: 1px solid #1b1b1b; background: #fff; color: #1b1b1b; }
    .btn-no:hover  { background: #1b1b1b; color: #fff; }
    .btn-yes { background: #3AA9AB; color: #fff; border: 1px solid #3AA9AB; }
    .btn-yes:hover { background: #2C8182; border-color: #2C8182; }
    .c-counter { font-size: 13px; color: #a4a4a4; min-width: 60px; text-align: center; }

    /* ── WORD LIST ── */
    .word-table { width: 100%; border-collapse: collapse; }
    .word-table th {
      font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
      color: #a4a4a4; padding: 0 16px 10px; text-align: left; border-bottom: 1px solid #e8e8e8;
    }
    .word-table td { padding: 13px 16px; border-bottom: 1px solid #f0f0f0; font-size: 14px; color: #5e5e5e; }
    .word-table tr:hover td { background: #f6f6f6; }
    .td-de { font-family: 'Cabin', sans-serif; font-weight: 700; color: #1b1b1b; font-size: 15px; }
    .lvl-badge { font-size: 10px; font-weight: 700; letter-spacing: 1px; padding: 3px 8px; text-transform: uppercase; }
    .lvl-A { background: #e8f5e9; color: #2e7d32; }
    .lvl-B { background: #fff8e1; color: #f57f17; }
    .lvl-C { background: #fce4ec; color: #c62828; }
    .dom-yes { color: #3AA9AB; font-weight: 700; font-size: 13px; }
    .dom-no  { color: #a4a4a4; font-size: 13px; }

    /* ── SIDEBAR ── */
    .sidebar-box { border: 1px solid #e8e8e8; padding: 24px; margin-bottom: 24px; }
    .sidebar-title { font-family: 'Cabin', sans-serif; font-size: 15px; font-weight: 700; color: #1b1b1b; margin-bottom: 14px; }
    .sidebar-stat { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; }
    .sidebar-stat:last-child { border-bottom: none; }
    .sidebar-stat span:first-child { color: #5e5e5e; }
    .sidebar-stat span:last-child  { font-weight: 700; color: #1b1b1b; }
    .sidebar-stat .teal { color: #3AA9AB; }

    /* ── HERO ── */
    .hero-popup {
      position: relative;
      margin-bottom: 32px;
      padding: 34px;
      border: 1px solid rgba(17, 56, 57, 0.12);
      background:
        radial-gradient(circle at top left, rgba(58,169,171,0.22), transparent 34%),
        radial-gradient(circle at bottom right, rgba(248,197,57,0.20), transparent 30%),
        linear-gradient(145deg, #fffef9 0%, #f4fbfb 52%, #eef7f7 100%);
      overflow: hidden;
      box-shadow: 0 24px 60px rgba(17, 56, 57, 0.12);
    }
    .hero-popup::before,
    .hero-popup::after {
      content: '';
      position: absolute;
      border-radius: 999px;
      background: rgba(58,169,171,0.08);
      filter: blur(4px);
    }
    .hero-popup::before {
      width: 220px; height: 220px;
      top: -90px; right: -90px;
    }
    .hero-popup::after {
      width: 160px; height: 160px;
      bottom: -70px; left: -50px;
    }
    .hero-popup-inner {
      position: relative;
      z-index: 1;
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(260px, 360px);
      gap: 26px;
      align-items: center;
    }
    .hero-copy {
      display: flex;
      flex-direction: column;
      gap: 16px;
      align-items: flex-start;
    }
    .hero-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 7px 12px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1.4px;
      text-transform: uppercase;
      color: #1f6f70;
      background: rgba(58,169,171,0.12);
      border: 1px solid rgba(58,169,171,0.16);
    }
    .hero-popup h1 {
      font-family: 'Cabin', sans-serif;
      font-size: clamp(32px, 5vw, 56px);
      line-height: .94;
      color: #102526;
      max-width: 10ch;
    }
    .hero-popup p {
      max-width: 56ch;
      font-size: 16px;
      line-height: 1.7;
      color: #486364;
    }
    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
      margin-top: 4px;
    }
    .hero-action-item {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .hero-action-desc {
      font-size: 12px;
      color: #759091;
      line-height: 1.4;
      max-width: 160px;
    }
    .hero-card {
      position: relative;
      justify-self: center;
      width: min(100%, 340px);
      padding: 16px;
      background: rgba(255,255,255,0.82);
      border: 1px solid rgba(16,37,38,0.08);
      box-shadow: 0 20px 40px rgba(16,37,38,0.16);
      transform: rotate(3deg);
      backdrop-filter: blur(8px);
    }
    .hero-card::before {
      content: 'Live Preview';
      position: absolute;
      top: -12px;
      left: 18px;
      padding: 5px 10px;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 1.4px;
      text-transform: uppercase;
      color: #fff;
      background: #102526;
    }
    .hero-card img {
      width: 100%;
      height: auto;
      aspect-ratio: 1024 / 1536;
      object-fit: contain;
      display: block;
      background: #fff;
    }
    .hero-card-shadow {
      position: absolute;
      inset: 22px -10px -14px 18px;
      background: linear-gradient(180deg, rgba(58,169,171,0.18), rgba(248,197,57,0.15));
      z-index: -1;
      transform: rotate(-6deg);
    }
    @media (max-width: 860px) {
      .hero-popup { padding: 26px 22px; }
      .hero-popup-inner { grid-template-columns: 1fr; }
      .hero-copy { order: 2; }
      .hero-card {
        order: 1;
        transform: rotate(0deg);
        width: min(100%, 300px);
      }
      .hero-card-shadow { transform: rotate(-3deg); }
      .hero-popup h1 { max-width: 100%; }
    }
    @media (max-width: 560px) {
      .hero-popup { padding: 22px 18px; }
      .hero-card {
        width: min(100%, 220px);
        padding: 10px;
        box-shadow: 0 14px 28px rgba(16,37,38,0.12);
      }
      .hero-card::before {
        left: 12px;
        top: -10px;
        padding: 4px 8px;
        font-size: 9px;
      }
      .hero-card-shadow {
        inset: 16px -8px -10px 12px;
      }
    }

    /* ── EMPTY ── */
    .empty { text-align: center; padding: 60px 20px; }
    .empty-icon { font-size: 40px; margin-bottom: 16px; }
    .empty-text { font-family: 'Cabin', sans-serif; font-size: 18px; font-weight: 700; color: #1b1b1b; margin-bottom: 8px; }
    .empty-sub  { font-size: 14px; color: #5e5e5e; }
    .result-summary-card {
      margin: 0 auto 22px;
      max-width: 720px;
      padding: 22px;
      text-align: left;
      border: 1px solid #e8e8e8;
      background: linear-gradient(180deg, #fff, #f8fcfc);
    }
    .result-summary-top {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      align-items: baseline;
      justify-content: space-between;
      margin-bottom: 14px;
    }
    .result-summary-top h3 {
      font-family: 'Cabin', sans-serif;
      font-size: 20px;
      color: #102526;
    }
    .result-summary-top p {
      font-size: 13px;
      color: #6b8485;
    }
    .result-summary-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 10px;
    }
    .result-stat {
      padding: 14px;
      background: #fff;
      border: 1px solid #eef3f3;
    }
    .result-stat strong {
      display: block;
      font-family: 'Cabin', sans-serif;
      font-size: 24px;
      color: #1f6f70;
      margin-bottom: 4px;
    }
    .result-stat span {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #759091;
    }
    .result-review {
      margin: 0 auto 24px;
      max-width: 720px;
      text-align: left;
      border: 1px solid #e8e8e8;
      background: #fff;
    }
    .result-review[hidden] {
      display: none;
    }
    .result-review-header {
      padding: 18px 20px 12px;
      border-bottom: 1px solid #eef3f3;
    }
    .result-review-header h4 {
      font-family: 'Cabin', sans-serif;
      font-size: 18px;
      color: #102526;
      margin-bottom: 4px;
    }
    .result-review-header p {
      font-size: 13px;
      color: #6b8485;
      line-height: 1.5;
    }
    .result-review-list {
      display: flex;
      flex-direction: column;
    }
    .result-review-item {
      display: grid;
      grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) auto;
      gap: 14px;
      padding: 16px 20px;
      border-top: 1px solid #f1f4f4;
      align-items: center;
    }
    .result-review-item:first-child {
      border-top: none;
    }
    .result-review-word strong {
      display: block;
      font-family: 'Cabin', sans-serif;
      font-size: 18px;
      color: #102526;
      margin-bottom: 4px;
    }
    .result-review-word span,
    .result-review-answer span {
      font-size: 12px;
      letter-spacing: .04em;
      text-transform: uppercase;
      color: #7d9495;
    }
    .result-review-word p,
    .result-review-answer p {
      margin-top: 4px;
      font-size: 14px;
      color: #486364;
      line-height: 1.5;
    }
    .result-review-badge {
      justify-self: end;
      padding: 7px 10px;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
    }
    .result-review-badge.ok {
      color: #1f6f70;
      background: rgba(58,169,171,0.12);
    }
    .result-review-badge.ko {
      color: #b84a2f;
      background: rgba(231,111,81,0.12);
    }
    .result-empty-note {
      padding: 20px;
      font-size: 14px;
      color: #6b8485;
      text-align: center;
    }
    @media (max-width: 760px) {
      .result-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
      .result-review-item {
        grid-template-columns: 1fr;
      }
      .result-review-badge {
        justify-self: start;
      }
    }

    /* ── TABS ── */
    .tabs { display: flex; gap: 0; border-bottom: 2px solid #e8e8e8; margin-bottom: 28px; }
    .tab-btn {
      font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
      padding: 12px 20px; background: none; border: none; cursor: pointer;
      color: #a4a4a4; border-bottom: 2px solid transparent; margin-bottom: -2px;
      transition: all .15s;
    }
    .tab-btn:hover { color: #1b1b1b; }
    .tab-btn.active { color: #3AA9AB; border-bottom-color: #3AA9AB; }

    /* ── ESCRIBIR ── */
    .write-word {
      font-family: 'Cabin', sans-serif; font-size: 32px; font-weight: 700;
      color: #1b1b1b; text-align: center; padding: 36px 24px 28px;
      border: 1px solid #e8e8e8; background: #f6f6f6; margin-bottom: 16px;
    }
    .write-badges { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; }
    .write-input {
      width: 100%; padding: 14px 16px; font-family: 'Lato', sans-serif;
      font-size: 16px; border: 1.5px solid #d0d0d0; outline: none;
      transition: border-color .15s; color: #1b1b1b;
    }
    .write-input:focus { border-color: #3AA9AB; }
    .write-input.correct { border-color: #3AA9AB; background: #f0fafa; }
    .write-input.wrong   { border-color: #e76f51; background: #fdf3f0; }
    .write-answer-panel {
      margin-top: 12px;
      padding: 12px 16px;
      border: 1px solid rgba(58,169,171,0.24);
      background: #f4fbf7;
    }
    .write-answer-label {
      display: block;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 1px;
      text-transform: uppercase;
      color: #5b8f69;
      margin-bottom: 6px;
    }
    .write-answer-value {
      display: block;
      font-family: 'Cabin', sans-serif;
      font-size: 20px;
      color: #25733c;
    }
    .write-feedback {
      margin-top: 12px; padding: 12px 16px; font-size: 14px;
      border-left: 3px solid; display: none;
    }
    .write-feedback.correct { border-color: #3AA9AB; background: #f0fafa; color: #2C8182; }
    .write-feedback.wrong   { border-color: #e76f51; background: #fdf3f0; color: #c0392b; }
    .write-btn-row { display: flex; gap: 10px; margin-top: 14px; }
    @media (max-width: 620px) {
      .write-btn-row {
        flex-wrap: wrap;
      }
      .write-btn-row .c-counter {
        width: 100%;
        margin-left: 0 !important;
        text-align: left;
      }
    }

    /* ── MULTIPLE CHOICE ── */
    .mc-word {
      font-family: 'Cabin', sans-serif; font-size: 32px; font-weight: 700;
      color: #1b1b1b; text-align: center; padding: 36px 24px 28px;
      border: 1px solid #e8e8e8; background: #f6f6f6; margin-bottom: 20px;
    }
    .mc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
    @media (max-width: 500px) { .mc-options { grid-template-columns: 1fr; } }
    .mc-opt {
      padding: 14px 18px; border: 1.5px solid #d0d0d0; background: #fff;
      font-family: 'Lato', sans-serif; font-size: 14px; color: #1b1b1b;
      cursor: pointer; text-align: left; transition: all .15s;
    }
    .mc-opt:hover:not(:disabled) { border-color: #3AA9AB; background: #f0fafa; }
    .mc-opt.correct  { border-color: #3AA9AB; background: #f0fafa; color: #2C8182; font-weight: 700; }
    .mc-opt.wrong    { border-color: #e76f51; background: #fdf3f0; color: #c0392b; }
    .mc-opt.reveal   { border-color: #3AA9AB; background: #f0fafa; color: #2C8182; font-weight: 700; }
    .mc-opt:disabled { cursor: default; }
