/* Klaraya by Macsen (brand kit, brand/klaraya/BRAND.md): mist pages, white cards, Manrope
   only, 24px cards and 14px buttons, labels as soft lavender pills. The layout is the
   Macsen app's: on a laptop a dark top bar with the sections as tabs. */
:root{--bg:#f5f1f7;--line:#e4dcec;--bar:#fff;--display:Manrope,ui-sans-serif,-apple-system,"Segoe UI",sans-serif;--shadow:0 1px 0 #2b1b290a;font-family:Manrope,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
h1,h2,h3,.stat strong,.gate-score strong,.brand strong,.gate-brand strong,.mobile-brand{font-family:var(--display)}
h1{font-weight:800;letter-spacing:-.025em}h2{font-weight:700;letter-spacing:-.02em}h3{font-weight:700}
.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:11.5px}
.badge,.pill,.due-chip,.home-updates-tag{border-radius:999px;text-transform:uppercase;letter-spacing:.07em;font-size:11px;font-weight:700}
.panel,.stat,.gate-card,.gate-hero,.focus-hero,.account-box,.exam-picker,dialog,.walkthrough,.learner-choice{border-radius:24px}
.btn,.option,.gate-option,.gate-level,.exam-option,.search,.name-input,.mode-label select,select.select,.level-select,.alert,.feedback,.hint,.subject-card,.gate-explain,.gate-preface,.context,.answer-diagnosis,.resume-banner,.review-prompt,.guided-banner,.admin-code,.filipino-help,.hint-used-note,.plan-week-box>summary,.practice-settings>summary{border-radius:14px}
.option .letter,.stat-icon,.subject-symbol,.route-step-icon,.coach-icon,.empty-icon{border-radius:10px}
.app-mark{width:34px;height:34px}.app-word{height:28px;width:auto}
.mobile-brand{align-items:center;gap:7px}.mobile-brand img{display:block}
.gate-word{height:32px;width:auto;display:block}.gate-mark{width:40px;height:40px}
@media(max-width:720px){.panel,.stat,.gate-card,.gate-hero,.focus-hero,dialog{border-radius:18px}}
.chip,.level-button{border-radius:999px}
.panel,.stat,.gate-card{box-shadow:var(--shadow)}
.topbar{background:#fff}
@media(min-width:721px){
  .sidebar{inset:0 0 auto 0;width:auto;height:64px;flex-direction:row;align-items:center;gap:26px;padding:0 340px 0 26px;background:var(--bar);border:0;border-bottom:1px solid var(--line)}
  .sidebar .brand{margin:0;flex-shrink:0;display:flex;align-items:center;gap:8px}
  .nav-label,.side-note{display:none}
  .nav{display:flex;gap:4px;flex:1;min-width:0;overflow-x:auto;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}
  .nav button{padding:8px 15px;border-radius:999px;color:#6f626e;font-size:14px;font-weight:600;white-space:nowrap;flex-shrink:0}
  .nav button svg{display:none}
  .nav button:hover{background:#f1eaf4;color:#4d2c46}
  .nav button.active{background:#4d2c46;color:#fff;font-weight:700}
  .nav button:focus-visible,.learner-button:focus-visible{outline:2px solid #4d2c46;outline-offset:2px}
  .workspace{margin-left:0;padding-top:64px}
  .topbar{position:fixed;top:0;right:26px;height:64px;padding:0;background:none;border:0;z-index:21;gap:16px}
  .crumb{display:none}
  .save-status{color:var(--muted)}
  main{max-width:1280px;margin-inline:auto}
}
@media(min-width:721px) and (max-width:1120px){.sidebar{padding-right:200px;gap:14px}.sidebar .app-word{display:none}.topright .save-status{display:none}.nav button{padding:8px 11px;font-size:13px}}

/* Light and soft (1 December 2026, the founder's choice): the same brand colours, but the
   darkest aubergine no longer covers large areas. White top bar, lavender panels; aubergine
   stays for buttons, headings and the selected tab. */
.focus-hero,.gate-hero{background:#ede4f1;color:var(--ink)}
.focus-hero h2,.gate-hero h1{color:#4d2c46}
.focus-hero>p{color:#5a4d59}
.hero-label,.gate-hero .eyebrow{color:#8b3d63}
.hero-grid-pattern{border-color:#4d2c461f;box-shadow:0 0 0 45px #4d2c460a,0 0 0 90px #4d2c4607}
.hero-button,.gate-hero .btn.primary{background:#4d2c46;color:#fff;border-color:#4d2c46}
.hero-button:hover,.gate-hero .btn.primary:hover{background:#352231;border-color:#352231}
.hero-link{color:#4d2c46}
.gate-hero .btn{color:#4d2c46;border-color:#4d2c4655}
.hero-foot{border-top-color:#4d2c4624;color:#5a4d59}

/* The tagline the founder liked from the first version, beside the logo on wide screens. */
.brand-tag{display:block;grid-column:2;font-size:9px;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:#6f626e;white-space:nowrap;line-height:1;margin-top:-2px}
.gate-brand{display:grid;grid-template-columns:auto auto;column-gap:9px;row-gap:0;align-items:center;justify-content:start}
.gate-brand>img:first-child,.sidebar .brand>img:first-child,.mobile-brand>img:first-child{grid-row:1/3}
.gate-brand>.gate-word,.sidebar .brand>.app-word,.mobile-brand>img:nth-child(2){height:24px;width:auto;align-self:end}
@media(min-width:721px){.sidebar .brand{display:grid;grid-template-columns:auto auto;column-gap:9px;row-gap:0;align-items:center;justify-content:start}}
@media(max-width:720px){.mobile-brand{display:grid;grid-template-columns:auto auto;column-gap:9px;row-gap:0;align-items:center;justify-content:start}}
@media(min-width:721px) and (max-width:1120px){.sidebar .brand-tag{display:none}}
@media(max-width:480px){.gate-brand .brand-tag{display:none}.gate-brand>.gate-word{height:30px;align-self:center}}
