/* 课芽 · Bloom Warm V2 · 工作台与账号页面共用 */
:root{
  --ink:#2A241E;
  --ink-2:#55493C;
  --muted:#7A6E5F;
  --soft:#A79983;
  --line:#EDE4D7;
  --line-strong:#DFD3C2;
  --page:#FAF6EF;
  --panel:#FFFFFF;
  --panel-warm:#FDFBF6;
  --paper:#F4EFE6;

  --primary:#CE4B2F;
  --primary-dark:#A83A22;
  --primary-tint:#FBEDE6;
  --primary-line:#F0CFBF;
  --leaf:#4E7D46;
  --leaf-tint:#EDF4E4;
  --leaf-line:#D8E6C8;
  --sun:#B97E1E;
  --sun-tint:#FBF1DA;
  --sun-line:#F0DEB4;
  --sky:#4E6E8C;
  --sky-tint:#EBF1F6;
  --sky-line:#D5E1EB;
  --danger:#B0381F;
  --danger-tint:#FBECE7;

  /* 正文和小字在白底、纸色和状态浅底上的可读配色。 */
  --text-secondary:#706455;
  --sun-ink:#795211;
  --leaf-ink:#416E3B;
  --on-accent:#FFFFFF;
  --primary-action:#CB492E;
  --focus-ring:#E9A98F;
  --backdrop:rgba(42,32,24,.45);

  --shadow-s:0 1px 2px rgba(74,56,38,.05),0 2px 8px rgba(74,56,38,.04);
  --shadow-m:0 2px 6px rgba(74,56,38,.05),0 12px 32px rgba(74,56,38,.07);
  --shadow-l:0 8px 20px rgba(74,56,38,.08),0 28px 70px rgba(74,56,38,.14);
  --shadow-paper:0 4px 14px rgba(74,56,38,.14);
  --shadow-art-edge:inset 0 0 0 1px rgba(74,56,38,.06);
  --ring-input:0 0 0 3px var(--primary-tint);
  --ring-step:0 0 0 4px var(--primary-tint);
  --ring-success:0 0 0 3px var(--leaf-tint);
  --r-s:8px;
  --r-control:10px;
  --r-m:12px;
  --r-l:16px;
  --r-icon:18px;
  --r-xl:22px;
  --r-pill:999px;
  --r-circle:50%;

  --font-body:"Inter","PingFang SC","Microsoft YaHei",system-ui,sans-serif;
  --font-display:"Fraunces","Songti SC",Georgia,serif;
  --type-micro:10px;
  --type-label:11px;
  --type-caption:12px;
  --type-small:13px;
  --type-body:14px;
  --type-lead:16px;
  --type-subheading:18px;
  --type-heading:20px;
  --type-title-small:24px;
  --type-title:28px;
  --type-title-large:30px;
  --type-display-small:34px;
  --type-display-medium:42px;
  --type-display:50px;
  --motion:box-shadow .16s ease,transform .16s ease,background .16s ease,border-color .16s ease,color .16s ease;
}

:focus-visible,
label:has(+ .visually-hidden-file:focus-visible){
  outline:3px solid var(--focus-ring);
  outline-offset:2px;
}
:where(button, a[href], summary){
  min-height:32px;
  min-width:32px;
}
.brand-name{white-space:nowrap}
.brand-symbol{
  display:inline-block;
  flex:none;
  width:32px;height:32px;
  border-radius:var(--r-control);
  background:var(--primary) url("assets/brand/bloom-leaf.svg") center / 20px no-repeat;
  box-shadow:var(--shadow-s);
}
.demo-label,.demo-chip{
  display:inline-flex;align-items:center;gap:7px;
  padding:4px 12px;border-radius:var(--r-pill);
  color:var(--sky);background:var(--sky-tint);border:1px solid var(--sky-line);
  font-size:var(--type-label);font-weight:600;white-space:nowrap;
}
.demo-label>span,.demo-chip i{
  width:6px;height:6px;border-radius:var(--r-circle);background:var(--sky);
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}
}
