:root {
  --ink: #1c1917;
  --muted: #5c564e;
  --paper: #ffffff;
  --white: #ffffff;
  --line: #f0d2c0;
  --orange: #ef6a1a;
  --orange-deep: #c4530e;
  --wash: #fff4ec;
  --top: #ffffff;
  --page: #ffffff;
  --bar: rgba(255, 252, 248, 0.92);
  --bar-ink: #1c1917;
  --pane: #ffffff;
  --pane-ink: #1c1917;
  --tab: #ffffff;
  --tab-ink: #c4530e;
  --accent: #ef6a1a;
  --accent-ink: #ffffff;
  --shadow: 0 18px 50px rgba(40, 32, 24, 0.12);
  font-family: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--page); }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
a { color: var(--orange-deep); }
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.5rem 0.8rem;
}
.skip:focus { top: 0.5rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.top, .app-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--bar);
  color: var(--bar-ink);
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--bar-ink);
  text-decoration: none;
  font-weight: 800;
}
.mark {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, var(--top) 0 18%, transparent 19%),
    linear-gradient(var(--orange), var(--orange));
}
.top-nav { display: flex; gap: 1rem; margin-left: 1rem; }
.top-nav a { color: var(--bar-ink); text-decoration: none; font-weight: 600; }
.top-actions { margin-left: auto; display: flex; gap: 0.6rem; }
.nav-toggle { display: none; }

.btn {
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-orange { background: var(--accent); color: var(--accent-ink); }
.btn-orange:hover { background: var(--orange-deep); }
.btn-line { background: white; color: var(--orange-deep); border: 1px solid var(--line); }
.btn-dark { background: var(--ink); color: white; }
.btn-wide { width: 100%; background: var(--accent); color: var(--accent-ink); margin-top: 0.8rem; }
.btn-small { padding: 0.45rem 0.8rem; }

.hero {
  display: grid;
  grid-template-columns: minmax(18rem, 0.78fr) minmax(22rem, 1.22fr);
  gap: 1.2rem;
  align-items: center;
  padding: 1.5rem 1.5rem 2rem;
  max-width: 1180px;
  margin: 0 auto;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 0 0 1rem;
  max-width: 11ch;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 34rem; }
.class-facts { display: grid; gap: 0.35rem; margin: 0 0 1.2rem; max-width: 34rem; }
.class-facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.6rem; }
.class-facts dt { font-weight: 650; }
.class-facts dd { margin: 0; }
.hero-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.hero-stage { position: relative; min-height: 34rem; z-index: 1; }
.hero-stage > img {
  width: 100%;
  border-radius: 1.2rem;
  object-fit: cover;
  object-position: 50% 40%;
  height: 34rem;
}
.float {
  position: absolute;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  padding: 0.9rem 1rem;
}
.float h2 { margin: 0 0 0.45rem; font-size: 1rem; }
.float p, .float li { margin: 0.25rem 0; color: var(--muted); font-size: 0.92rem; }
.float-overview { left: 4%; top: 1.2rem; width: 13.5rem; }
.float-overview span {
  display: inline-block;
  min-width: 6.2rem;
  color: var(--ink);
  font-weight: 700;
}
.float-search { right: 0; top: 4.5rem; width: 15rem; }
.float-search a {
  display: inline-block;
  margin: 0.4rem 0;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 700;
}
.float-search ul { list-style: none; padding: 0; margin: 0.4rem 0 0; }
.float-search li { background: #f7f4ef; border-radius: 0.6rem; padding: 0.4rem 0.55rem; margin-top: 0.35rem; }
.float-search strong, .float-search span { display: block; }
.float-directory { left: 1.5rem; bottom: 1.5rem; width: 11rem; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.35rem; }
.mini-grid i {
  display: block;
  height: 2.1rem;
  border-radius: 0.4rem;
  background:
    linear-gradient(var(--top), var(--top)) 40% 30% / 40% 28% no-repeat,
    linear-gradient(var(--orange), var(--orange)) 30% 70% / 55% 22% no-repeat,
    #f3efe8;
}
.float-note { right: 0.5rem; bottom: 1rem; width: 13rem; }
.note-kicker, .detail-kicker { color: var(--orange); font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.75rem; margin: 0; }
.note-sa, .detail-sa { color: var(--muted); margin-top: 0; }
.float-note ul { padding-left: 1rem; margin: 0.3rem 0 0; }
.lotus-pose { display: none; }
.lotus-points { display: none; }
.lotus-studio { display: none; }
.lotus-about { display: none; }

.band { max-width: 1100px; margin: 0 auto; padding: 1rem 1.5rem 2.5rem; }
.band-plain { background: transparent; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-grid article, .band-plain, #support {
  background: var(--white);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
}
#support { margin-top: 1rem; }

.popup, .detail {
  border: 0;
  border-radius: 1.2rem;
  padding: 0;
  width: min(760px, calc(100% - 1.5rem));
  box-shadow: var(--shadow);
}
.popup::backdrop, .detail::backdrop { background: rgba(28, 25, 23, 0.46); }
.popup-small { width: min(420px, calc(100% - 1.5rem)); padding: 1.2rem; }
.popup-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; }
.popup-grid img { height: 100%; object-fit: cover; }
.popup-grid > div { padding: 1.3rem 1.3rem 1.1rem; }
.popup h2 { margin: 0 0 0.4rem; font-size: 1.7rem; line-height: 1.1; }
.popup-lead { font-weight: 800; margin: 0; }
.popup-close {
  position: absolute;
  right: 0.7rem;
  top: 0.6rem;
  border: 0;
  background: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
}
.pills { display: flex; gap: 0.45rem; flex-wrap: wrap; padding: 0; list-style: none; margin: 0.9rem 0 0; }
.pills li { background: #f6f3ee; border-radius: 999px; padding: 0.35rem 0.6rem; font-size: 0.82rem; }
.popup form { display: grid; gap: 0.35rem; }
[hidden] { display: none !important; }
.account-switch { margin-top: 0.8rem; border: 0; background: transparent; color: var(--orange-deep); font-weight: 700; cursor: pointer; padding: 0; }
.google-row { margin-top: 0.85rem; }
.btn-google { width: 100%; background: #fff; color: #1c2430; border: 1px solid #dadce0; }
.account-or { margin: 0.75rem 0 0.15rem; text-align: center; color: #6b6258; font-size: 0.85rem; }
.popup input, .search input, .plan-name input, select, textarea {
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.55rem 0.7rem;
  background: white;
}

.app { background: var(--page); min-height: 100vh; }
.app-bar {
  background: var(--bar);
  color: var(--bar-ink);
  border-bottom: 1px solid var(--line);
}
.brand-light { color: var(--bar-ink); }
.teacher-name { margin: 0 0 0 auto; font-weight: 700; color: var(--bar-ink); }
.workspace {
  display: grid;
  grid-template-columns: 16rem 18rem 1fr;
  gap: 0.7rem;
  padding: 0.7rem 0.7rem 4.5rem;
  align-items: start;
}
.plans, .adder, .board {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  min-height: 70vh;
}
.pane-head, .board-head, .board-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
}
.pane-head {
  background: var(--pane);
  color: var(--pane-ink);
  border-bottom: 1px solid var(--line);
  border-radius: 1rem 1rem 0 0;
  padding: 0.8rem 0.85rem;
}
.pane-head h1, .pane-head h2 { margin: 0; font-size: 1.05rem; color: var(--pane-ink); }
.icon-btn {
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  font-weight: 800;
  cursor: pointer;
}
.search, .chips, .menus, .plan-list { padding: 0.7rem; }
.search input, .plan-name input { width: 100%; }
.plan-list { display: grid; gap: 0.45rem; }
.plan-row { display: grid; grid-template-columns: 1fr auto; gap: 0.35rem; align-items: stretch; }
.plan-delete {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--orange-deep);
  border-radius: 0.7rem;
  padding: 0.35rem 0.45rem;
  font-weight: 700;
  cursor: pointer;
}
.plan-empty { margin: 0; color: var(--muted); }
.plan-card, .pose-link, .card-open, .card-remove {
  border: 0;
  background: var(--wash);
  text-align: left;
  border-radius: 0.7rem;
  cursor: pointer;
}
.plan-card { padding: 0.65rem 0.7rem; }
.plan-card strong, .plan-card span { display: block; }
.plan-card span { color: var(--muted); font-size: 0.82rem; }
.plan-card.is-current { background: #ffd8c2; }
.explore {
  display: block;
  margin: 0 0.7rem 0.8rem;
  text-align: center;
  background: var(--accent);
  color: var(--accent-ink);
  text-decoration: none;
  border-radius: 999px;
  padding: 0.55rem;
  font-weight: 700;
}
.chips { display: flex; flex-wrap: wrap; gap: 0.35rem; padding-top: 0; }
.chip { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 0.25rem 0.55rem; cursor: pointer; }
.chip.is-on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.menus { display: grid; gap: 0.25rem; max-height: 62vh; overflow: auto; }
.menu { border-bottom: 1px solid var(--line); padding-bottom: 0.25rem; }
.menu summary { cursor: pointer; font-weight: 700; padding: 0.35rem 0; }
.menu-poses { display: grid; gap: 0.35rem; }
.pose-row { display: flex; align-items: center; gap: 0.25rem; }
.pose-link { display: flex; gap: 0.45rem; align-items: center; padding: 0.3rem; flex: 1; min-width: 0; text-align: left; }
.pose-info {
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  border: 1px solid #1a9bb8;
  background: #fff;
  color: #1a9bb8;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
  flex: none;
}
.pose-link strong, .pose-link small { display: block; }
.pose-link small { color: var(--muted); }
.pose-card svg, .pose-card img, .variations svg, .variations img { width: 4.4rem; }
.thumb { flex: none; width: 4.4rem; min-width: 4.4rem; }
.thumb .art-zoom { width: 100%; }
.thumb img, .thumb svg { width: 100%; height: auto; aspect-ratio: 1; background: #fff; }
.detail-figure { width: 16rem; justify-self: end; }
.thumb svg, .detail-figure svg, .pose-card svg, .variations svg { width: 100%; height: auto; background: #f7f4ef; border-radius: 0.5rem; }

.board { padding-bottom: 1rem; }
.board-head, .board-tools { padding: 0.8rem 0.9rem 0; }
.plan-name { flex: 1; }
.plan-name input { font-size: 1.25rem; font-weight: 800; }
.board-tools { justify-content: flex-start; }
.share-note { margin: 0; color: var(--orange-deep); }
.pose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 0.6rem;
  padding: 0.8rem;
  min-height: 8rem;
}
.pose-grid.is-drop {
  outline: 2px dashed #c4530e;
  outline-offset: -6px;
  background: #fff6ef;
}
.pose-card.is-drop-before { box-shadow: inset 3px 0 0 #c4530e; }
.pose-card.is-drop-after { box-shadow: inset -3px 0 0 #c4530e; }
.pose-edit {
  border: 0;
  background: transparent;
  color: var(--orange-deep);
  font-weight: 700;
  cursor: pointer;
  flex: none;
  padding: 0.2rem;
}
.pose-card .pose-edit {
  position: static;
  display: block;
  width: max-content;
  margin: 0.15rem 0.35rem 0;
  background: transparent;
}
.pose-editor {
  display: grid;
  gap: 0.75rem;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.2rem 1rem 1.5rem;
}
.pose-editor label { display: grid; gap: 0.3rem; font-weight: 700; }
.editor-art {
  width: 11rem;
  min-height: 9rem;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
}
.editor-art img, .editor-art svg { width: 9rem; height: auto; }
button.editor-art { width: min(100%, 16rem); cursor: pointer; font: inherit; font-weight: 700; }
.pose-picker { width: min(100vw, 28rem); max-height: 92vh; }
.pose-library { overflow-y: auto; max-height: min(78vh, 40rem); display: grid; gap: 0.75rem; padding: 0.8rem; }
.pose-choice {
  display: grid;
  justify-items: center;
  gap: 0.25rem;
  width: 100%;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.pose-choice img, .pose-choice svg { width: min(100%, 16rem); height: auto; }
.pose-choice small { color: var(--muted); }
.editor-split { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.editor-note { margin: 0; color: var(--muted); }
.flyer-view { display: grid; gap: 0.8rem; max-width: 40rem; margin: 0 auto; padding: 1rem 0.9rem 2rem; }
.flyer-form label, .flyer-form fieldset { display: grid; gap: 0.35rem; }
.flyer-form fieldset { border: 1px solid var(--line); border-radius: 1rem; padding: 0.8rem; }
.flyer-form input[type="text"], .flyer-form select { width: 100%; padding: 0.7rem 0.8rem; border: 1px solid var(--line); border-radius: 0.8rem; font: inherit; }
.flyer-checks label { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.flyer-colors { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.flyer-colors input[type="color"] { width: 100%; height: 2.8rem; padding: 0.15rem; border: 1px solid var(--line); border-radius: 0.7rem; background: #fff; }
.flyer-scale { display: flex; align-items: center; gap: 0.7rem; }
.flyer-scale input[type="range"] { flex: 1; accent-color: #ef6a1a; }
.flyer-scale output { min-width: 3.4rem; font-weight: 700; }
.flyer-preview { width: 100%; height: auto; border-radius: 1rem; background: #f7f3ea; }
.flyer-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.flyer-actions button { flex: 1 1 12rem; }
.flyer-note { color: var(--muted); }
.flyer-query { display: block; text-align: center; font-weight: 700; color: #1c3428; }
@media (max-width: 640px) {
  .flyer-view { padding: 0.8rem 0.7rem 2rem; }
  .flyer-actions { flex-direction: column; }
  .flyer-actions button { flex-basis: auto; width: 100%; }
}
.tabbar button.is-on { text-decoration: underline; }
.seq-num {
  position: absolute;
  top: 0.3rem;
  right: 1.9rem;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: #c4530e;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}
.drag-handle {
  cursor: grab;
  user-select: none;
  color: #6b7280;
  font-weight: 800;
  letter-spacing: -0.12em;
  padding: 0.15rem 0.2rem;
  flex: none;
  line-height: 1;
}
.pose-card .drag-handle {
  position: absolute;
  left: 0.35rem;
  bottom: 0.35rem;
  background: #fff;
  border-radius: 0.35rem;
}
.pose-card { position: relative; padding-bottom: 1.6rem; }
.card-open strong, .card-open span, .pose-link strong, .pose-link small { overflow-wrap: break-word; }
.pose-card .pose-info { position: absolute; top: 0.3rem; left: 0.3rem; background: #fff; }
.card-open {
  width: 100%;
  background: white;
  border: 1px solid var(--line);
  padding: 0.4rem;
}
.card-open strong, .card-open span { display: block; }
.card-open span { color: var(--muted); font-size: 0.82rem; }
.card-remove {
  position: absolute;
  top: 0.3rem;
  right: 0.3rem;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
}

.detail { width: min(1080px, calc(100% - 1rem)); }
.sheet { padding: 0; border: 0; background: #fff; color: #243038; }
.sheet-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0;
  padding: 0.75rem 2.6rem;
  border-bottom: 1px solid #e6e8ea;
  font-weight: 700;
}
.sheet-bar p { margin: 0; }
.sheet-bar .popup-close { position: absolute; right: 0.7rem; top: 0.45rem; }
.sheet h2 { margin: 0; color: #1493b3; font-size: 1.7rem; }
.sheet .detail-sa { color: #6b7280; margin: 0.15rem 0 0.45rem; }
.sheet-head { display: grid; grid-template-columns: 1fr 6.2rem; gap: 1rem; align-items: start; }
.sheet-thumb { border: 1px solid #d5e3ea; border-radius: 0.35rem; padding: 0.15rem; background: #fff; }
.sheet-thumb img, .sheet-thumb svg { width: 100%; height: auto; display: block; }
.art-zoom { display: block; width: 4.4rem; margin: 0; padding: 0; border: 0; background: #fff; cursor: zoom-in; }
.art-zoom img, .art-zoom svg { width: 100%; height: auto; display: block; }
.pose-card .art-zoom, .sheet-thumb .art-zoom, .variations .art-zoom { width: 100%; }
.zoom { position: relative; width: min(960px, calc(100% - 1.5rem)); border: 0; padding: 2.2rem 1rem 1rem; background: #fff; }
.zoom .popup-close { position: absolute; right: 0.6rem; top: 0.4rem; }
.zoom-view { display: grid; justify-items: center; }
.zoom-view img, .zoom-view svg { width: min(100%, 52rem); max-height: 78vh; height: auto; }
.cat-pill { display: inline-block; margin: 0 0 0.7rem; background: #7dae2f; color: #fff; border-radius: 999px; padding: 0.12rem 0.65rem; font-size: 0.78rem; font-weight: 700; }
.sheet-grid { display: grid; grid-template-columns: 1.25fr 0.9fr; gap: 1rem; margin-top: 0.4rem; }
.sheet-main h3, .sheet-box h3 { color: #1493b3; margin: 0 0 0.4rem; font-size: 1.05rem; }
.sheet-main section { margin: 0 0 1rem; }
.sheet-main ol { margin: 0; padding-left: 1.2rem; }
.sheet-side { display: grid; gap: 0.7rem; align-content: start; }
.sheet-box { border-radius: 0.55rem; padding: 0.75rem 0.85rem; background: #fff; }
.box-benefits { border: 1px solid #8ec9d6; }
.box-mods { border: 1px solid #b7d48a; }
.box-care { border: 1px solid #8eb4e8; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.ticks li { display: flex; gap: 0.45rem; align-items: flex-start; }
.ticks li::before {
  content: "✓";
  flex: none;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: #3aaa5a;
  color: #fff;
  font-size: 0.68rem;
  line-height: 1.05rem;
  text-align: center;
  margin-top: 0.12rem;
}
.detail-body { padding: 1.2rem 1.2rem 1.4rem; }
.detail-top, .detail-columns { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 1rem; }
.detail-figure svg { width: 100%; background: #f7f4ef; border-radius: 0.8rem; }
.tag { display: inline-block; background: var(--wash); color: var(--orange-deep); border-radius: 999px; padding: 0.15rem 0.55rem; font-weight: 700; }
.detail-side { display: grid; gap: 0.6rem; align-content: start; }
.callout { border-radius: 0.8rem; padding: 0.7rem 0.8rem; }
.callout h3 { margin: 0 0 0.3rem; }
.callout ul { margin: 0; padding-left: 1.1rem; }
.callout-benefit { background: #fff1e6; }
.callout-change { background: #fff4d8; }
.callout-care { background: #fff8f3; }
.variations { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.variations figure { margin: 0; width: 7.2rem; text-align: center; border: 1px solid #d5e3ea; border-radius: 0.35rem; padding: 0.25rem; }
.variations figcaption { font-size: 0.78rem; color: #1493b3; }
.variations small { display: block; color: var(--muted); }

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  background: var(--tab);
  color: var(--tab-ink);
  border-top: 1px solid var(--line);
  padding: 0.7rem;
  z-index: 4;
}
.tabbar a, .tabbar button {
  color: var(--tab-ink);
  background: transparent;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero, .feature-grid, .popup-grid, .workspace, .detail-top, .detail-columns, .sheet-grid, .sheet-head { grid-template-columns: 1fr; }
  .pose-card .pose-info { position: static; }
  .hero-stage { min-height: 0; }
  .hero-stage > img { width: 100%; height: auto; }
  .float { position: static; width: auto; margin-top: 0.7rem; }
  .top { flex-wrap: wrap; }
  .top-nav { display: none; }
  .top-nav.is-open { display: flex; flex-direction: column; width: 100%; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .top-actions { width: 100%; }
  .workspace { padding-bottom: 5rem; }
  .plans, .adder, .board { min-height: 0; }
  .menus { max-height: none; }
}

.print-plan, .surya-sheet { display: none; }
.print-plan.is-preparing {
  display: block;
  position: fixed;
  left: -120vw;
  top: 0;
  width: 180mm;
  background: #fff;
}
.surya-clothes { display: flex; gap: 0.4rem; margin: 0.45rem 0.55rem 0.15rem; }
.surya-clothes label { display: grid; gap: 0.15rem; flex: 1; font-size: 0.75rem; font-weight: 700; }
.surya-clothes input[type="color"] { width: 100%; height: 2rem; padding: 0; border: 1px solid var(--line); border-radius: 0.45rem; background: #fff; }
.menu [data-print-surya] { margin: 0.35rem 0.55rem 0.15rem; }

@media print {
  @page { size: A4 portrait; margin: 10mm; }
  .app-bar, .plans, .adder, .tabbar, .board-tools, .board-head, .pose-grid, .pose-editor, .flyer-view, .site-footer, dialog { display: none !important; }
  .workspace, .board { display: block; box-shadow: none; background: #fff; color: #000; }
  .print-plan, .print-plan.is-preparing { display: block; position: static; left: auto; width: auto; }
  .print-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    padding: 0.45rem 0.2rem;
    margin-bottom: 0.6rem;
  }
  .print-title-block { flex: 1; text-align: center; }
  .print-title-block h1 { margin: 0; font-size: 1.7rem; color: #000; }
  .print-title-block p { margin: 0.15rem 0 0; }
  .print-meta { text-align: right; font-size: 0.85rem; }
  .print-meta p { margin: 0; }
  .print-plan table { width: 100%; border-collapse: collapse; }
  .print-plan th, .print-plan td { border: 1px solid #000; padding: 0.35rem 0.45rem; vertical-align: top; text-align: left; color: #000; }
  .print-plan thead { display: table-header-group; }
  .print-plan tr { break-inside: avoid; }
  .print-fig { width: 5rem; }
  .print-fig img, .print-fig svg { width: 22mm; height: 22mm; object-fit: contain; }
  .print-name { width: 28%; }
  .print-name strong, .print-name em { display: block; }
  body.print-surya .print-plan { display: none !important; }
  body.print-surya .surya-sheet { display: block; color: #000; }
  .surya-sheet h1 { margin: 0 0 4mm; text-align: center; font-size: 16pt; color: #000; }
  .surya-sheet ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4mm 3mm; margin: 0; padding: 0; list-style: none; }
  .surya-step { break-inside: avoid; text-align: center; }
  .surya-step img, .surya-step svg { width: 100%; height: 42mm; object-fit: contain; }
  .surya-step strong, .surya-step span { display: block; font-size: 8.5pt; line-height: 1.2; }
  .surya-step span { font-style: italic; }
}

[data-theme="bars"] {
  --bar: #ef6a1a;
  --bar-ink: #ffffff;
  --pane: #ef6a1a;
  --pane-ink: #ffffff;
  --tab: #c4530e;
  --tab-ink: #ffffff;
}
[data-theme="bars"] .icon-btn,
[data-theme="bars"] .top .btn-orange { background: #ffffff; color: #c4530e; }
[data-theme="mission"] {
  --page: #f4efe6;
  --bar: #16324f;
  --bar-ink: #fffcf8;
  --pane: #16324f;
  --pane-ink: #fffcf8;
  --tab: #0e2238;
  --tab-ink: #e8b56a;
  --accent: #9a4f12;
  --accent-ink: #fffcf8;
  --orange: #9a4f12;
  --orange-deep: #7d3e0d;
  --line: #e4dcd2;
  --wash: #ebe4d6;
  --ink: #1c2430;
}
[data-theme="paper"] {
  --page: #f4efe6;
  --bar: #fffcf8;
  --bar-ink: #16324f;
  --pane: #fffcf8;
  --pane-ink: #16324f;
  --tab: #fffcf8;
  --tab-ink: #9a4f12;
  --accent: #9a4f12;
  --accent-ink: #fffcf8;
  --orange: #9a4f12;
  --orange-deep: #7d3e0d;
  --line: #e4dcd2;
  --wash: #ebe4d6;
  --ink: #1c2430;
}
[data-theme="forest"] {
  --page: #e7f2e4;
  --bar: #1f4d32;
  --bar-ink: #f4fff6;
  --pane: #1f4d32;
  --pane-ink: #f4fff6;
  --tab: #163b26;
  --tab-ink: #d7f0c8;
  --accent: #2f6b45;
  --accent-ink: #f4fff6;
  --orange: #2f6b45;
  --orange-deep: #1f4d32;
  --line: #c9dfc6;
  --wash: #d7ead3;
  --ink: #173326;
}
[data-theme="night"] {
  --page: #e8eef6;
  --bar: #10192b;
  --bar-ink: #f7f3ea;
  --pane: #10192b;
  --pane-ink: #f7f3ea;
  --tab: #0e1726;
  --tab-ink: #e8b56a;
  --accent: #c48a3a;
  --accent-ink: #172033;
  --orange: #c48a3a;
  --orange-deep: #8d6424;
  --line: #d5deea;
  --wash: #d9e3f0;
  --ink: #172033;
}
[data-theme="dawn"] {
  --page: #fff6ee;
  --bar: #e08a4f;
  --bar-ink: #fffaf6;
  --pane: #fff6ee;
  --pane-ink: #5a2e24;
  --tab: #fff1e4;
  --tab-ink: #c46a4a;
  --accent: #c46a4a;
  --accent-ink: #fffaf6;
  --orange: #c46a4a;
  --orange-deep: #9a4e32;
  --line: #f0d8c8;
  --wash: #ffe8d6;
  --ink: #5a2e24;
}
[data-theme="ocean"] {
  --page: #e6f3f7;
  --bar: #14324c;
  --bar-ink: #f4fbff;
  --pane: #14324c;
  --pane-ink: #f4fbff;
  --tab: #0f283c;
  --tab-ink: #9fd4ea;
  --accent: #2f7ea6;
  --accent-ink: #f4fbff;
  --orange: #2f7ea6;
  --orange-deep: #14324c;
  --line: #c5dde6;
  --wash: #d4ebf2;
  --ink: #14324c;
}
[data-theme="blossom"] {
  --page: #fbeff3;
  --bar: #8d4a62;
  --bar-ink: #fff8fa;
  --pane: #fbeff3;
  --pane-ink: #5c2438;
  --tab: #f7e4ea;
  --tab-ink: #8d4a62;
  --accent: #a85a74;
  --accent-ink: #fff8fa;
  --orange: #a85a74;
  --orange-deep: #8d4a62;
  --line: #f0d0da;
  --wash: #f8e0e8;
  --ink: #5c2438;
}
[data-theme="slate"] {
  --page: #eef2f4;
  --bar: #1d2b36;
  --bar-ink: #f7fafb;
  --pane: #1d2b36;
  --pane-ink: #f7fafb;
  --tab: #243642;
  --tab-ink: #d5e2ea;
  --accent: #3d6278;
  --accent-ink: #f7fafb;
  --orange: #3d6278;
  --orange-deep: #1d2b36;
  --line: #d5dee4;
  --wash: #e2e9ed;
  --ink: #1d2b36;
}
[data-theme="lotus"] .marketing .hero {
  position: relative;
  overflow: hidden;
  grid-template-columns: minmax(16rem, 1fr) minmax(16rem, 0.9fr);
  max-width: 1100px;
  margin: 1rem auto 0;
  padding: 2.4rem 2rem 3rem;
  border-radius: 1.8rem;
  background: linear-gradient(125deg, #5c3d86 0%, #b86aae 58%, #f4b7d4 100%);
  color: #fffafc;
}
[data-theme="lotus"] .marketing .hero::before {
  content: "";
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -28%;
  height: 55%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}
[data-theme="lotus"] .marketing .hero-copy,
[data-theme="lotus"] .marketing .lotus-pose { position: relative; z-index: 1; }
[data-theme="lotus"] .marketing .hero h1,
[data-theme="lotus"] .marketing .lede,
[data-theme="lotus"] .marketing .class-facts,
[data-theme="lotus"] .marketing .class-facts dd { color: #fffafc; }
[data-theme="lotus"] .marketing .hero-stage,
[data-theme="lotus"] .marketing .float { display: none; }
[data-theme="lotus"] .marketing .lotus-pose {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0;
}
[data-theme="lotus"] .marketing .lotus-pose img {
  width: min(100%, 26rem);
  height: auto;
  background: transparent;
}
[data-theme="lotus"] .marketing .lotus-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  max-width: 920px;
  margin: -2.2rem auto 2rem;
  padding: 0 1.5rem;
  list-style: none;
  position: relative;
  z-index: 2;
}
@media (max-width: 980px) {
  [data-theme="lotus"] .marketing .hero { grid-template-columns: 1fr; padding: 1.6rem 1.1rem 2.2rem; }
  [data-theme="lotus"] .marketing .lotus-points { grid-template-columns: 1fr; margin-top: 1rem; }
}
[data-theme="lotus"] .marketing .lotus-points li { text-align: center; }
[data-theme="lotus"] .marketing .lotus-points strong,
[data-theme="lotus"] .marketing .lotus-points li > span:not(.lotus-mark) { display: block; }
[data-theme="lotus"] .marketing .lotus-mark {
  display: grid;
  place-items: center;
  width: 7.2rem;
  height: 7.2rem;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  background: #efe07a;
}
[data-theme="lotus"] .marketing .lotus-mark::before {
  content: "";
  display: block;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: #5c3d86;
}
[data-theme="lotus"] .marketing .lotus-points li:nth-child(2) .lotus-mark::before {
  width: 1.1rem;
  border-radius: 0 1.8rem 1.8rem 0;
}
[data-theme="lotus"] .marketing .lotus-points li:nth-child(3) .lotus-mark::before {
  width: 1.35rem;
  height: 1.7rem;
  border-radius: 0.25rem;
}
[data-theme="lotus"] .marketing { background: #fbf4fb; color: #3d3154; }
[data-theme="lotus"] .marketing .top {
  background: #5c3d86;
  color: #fffafc;
}
[data-theme="lotus"] .marketing .brand,
[data-theme="lotus"] .marketing .top-nav a { color: #fffafc; }
[data-theme="lotus"] .marketing .btn-line {
  background: transparent;
  color: #fffafc;
  border-color: rgba(255, 250, 252, 0.45);
}
[data-theme="lotus"] .marketing .btn-orange,
[data-theme="lotus"] .marketing .btn-wide {
  background: #efe07a;
  color: #3d3154;
}
[data-theme="lotus"] .marketing .btn-dark {
  background: #fffafc;
  color: #3d3154;
}
[data-theme="lotus"] .marketing .hero {
  max-width: none;
  margin: 0;
  border-radius: 0;
  padding: 3.2rem 8vw 6.5rem;
}
[data-theme="lotus"] .marketing .class-facts { display: none; }
[data-theme="lotus"] .marketing .hero-actions { position: relative; z-index: 2; }
[data-theme="lotus"] .marketing .hero::before {
  left: -8%;
  right: -8%;
  bottom: -48%;
  height: 62%;
  background: #fbf4fb;
}
[data-theme="lotus"] .marketing .lotus-points { margin-top: -1.2rem; }
[data-theme="lotus"] .marketing .lotus-studio {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(16rem, 1.15fr);
  gap: 1.6rem;
  align-items: start;
  max-width: 1000px;
  margin: 0.4rem auto 2.2rem;
  padding: 0 1.5rem;
}
[data-theme="lotus"] .marketing .lotus-kicker {
  margin: 0 0 0.35rem;
  color: #6d4b8a;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
[data-theme="lotus"] .marketing .lotus-studio h2 {
  margin: 0 0 0.8rem;
  color: #3d3154;
  letter-spacing: -0.03em;
}
[data-theme="lotus"] .marketing .lotus-hours {
  background: #efe07a;
  border-radius: 1.2rem;
  padding: 1.3rem 1.35rem 1.15rem;
}
[data-theme="lotus"] .marketing .lotus-hours .lotus-kicker,
[data-theme="lotus"] .marketing .lotus-hours h2,
[data-theme="lotus"] .marketing .lotus-hours p { color: #3d3154; }
[data-theme="lotus"] .marketing .lotus-hours dl { display: grid; gap: 0.55rem; margin: 0 0 0.9rem; }
[data-theme="lotus"] .marketing .lotus-hours div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.6rem;
}
[data-theme="lotus"] .marketing .lotus-hours dt { font-weight: 700; }
[data-theme="lotus"] .marketing .lotus-hours dd { margin: 0; }
[data-theme="lotus"] .marketing #about {
  display: grid;
  grid-template-columns: minmax(16rem, 1.1fr) minmax(14rem, 0.9fr);
  gap: 1.5rem;
  align-items: center;
  max-width: none;
  margin: 0;
  padding: 4.2rem 8vw 4.6rem;
  border-radius: 0;
  background: linear-gradient(125deg, #5c3d86 0%, #b86aae 62%, #f4b7d4 100%);
  color: #fffafc;
}
[data-theme="lotus"] .marketing #about h2,
[data-theme="lotus"] .marketing #about p { color: #fffafc; }
[data-theme="lotus"] .marketing .lotus-about { display: block; margin: 0; }
[data-theme="lotus"] .marketing .lotus-about img {
  width: 100%;
  border: 6px solid #fffafc;
  border-radius: 1.3rem;
}
[data-theme="lotus"] .marketing .band h2,
[data-theme="lotus"] .marketing .feature-grid h3 { color: #3d3154; }
[data-theme="lotus"] .marketing .feature-grid article,
[data-theme="lotus"] .marketing #questions,
[data-theme="lotus"] .marketing #contact,
[data-theme="lotus"] .marketing #support {
  background: #fffafc;
  border: 1px solid #eadff0;
  box-shadow: 0 16px 36px rgba(92, 61, 134, 0.06);
}
@media (max-width: 980px) {
  [data-theme="lotus"] .marketing .hero { padding: 1.8rem 1.1rem 4.4rem; }
  [data-theme="lotus"] .marketing .lotus-points { margin-top: 0.2rem; }
  [data-theme="lotus"] .marketing .lotus-studio,
  [data-theme="lotus"] .marketing #about { grid-template-columns: 1fr; }
  [data-theme="lotus"] .marketing .lotus-hours div { grid-template-columns: 1fr; }
}
[data-theme="lotus"] {
  --page: #fbf4fb;
  --bar: #6d4b8a;
  --bar-ink: #fffafc;
  --pane: #6d4b8a;
  --pane-ink: #fffafc;
  --tab: #5c3d78;
  --tab-ink: #f6e7a8;
  --accent: #efe07a;
  --accent-ink: #3d3154;
  --orange: #8d5cab;
  --orange-deep: #6d4b8a;
  --line: #eadff0;
  --wash: #f6e4f6;
  --ink: #3d3154;
}

.theme-pick {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--bar-ink);
  font-weight: 700;
}
.theme-pick select { width: auto; }

.enquiry-form { display: grid; gap: 0.75rem; max-width: 36rem; }
.enquiry-form input, .enquiry-form textarea, .enquiry-form select { width: 100%; }
.enquiry-form .tick { display: flex; align-items: center; gap: 0.6rem; }
.enquiry-form .tick input { width: 1.15rem; height: 1.15rem; accent-color: var(--orange); }
.session-note { margin: 0; color: var(--muted); }
.enquiry-row { display: grid; gap: 0.75rem; }
.enquiry-form label { display: grid; gap: 0.3rem; font-weight: 700; }
.field-error { min-height: 1.1rem; margin: 0; color: #9a3412; font-size: 0.85rem; font-weight: 600; }
.form-note { min-height: 1.2rem; margin: 0; font-weight: 700; }
.hp { position: absolute; left: -9999px; }

.site-footer {
  margin-top: 2rem;
  padding: 2.6rem 0 1.3rem;
  background: #0e2238;
  color: #e7e1d6;
}
.app .site-footer { padding-bottom: 4.4rem; }
.wrap { width: min(1100px, calc(100% - 2.5rem)); margin: 0 auto; }
.footer-grid { display: grid; gap: 1.5rem; }
.footer-name { margin: 0 0 0.45rem; font-size: 1.2rem; font-weight: 700; color: #f4efe6; }
.footer-heading {
  margin: 0 0 0.45rem;
  color: #e8b56a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.site-footer p, .site-footer address { color: #e7e1d6; }
.footer-links, .social { margin: 0; padding: 0; list-style: none; }
.footer-links a, .site-footer a { color: #fff; }
.social { display: flex; gap: 0.55rem; margin-top: 0.85rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.social-link svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }
.acknowledgement, .footer-base { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.acknowledgement-label {
  margin: 0 0 0.4rem;
  color: #e8b56a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-base { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; justify-content: space-between; }
.footer-base p { margin: 0; }
@media (min-width: 48rem) {
  .enquiry-row, .footer-grid, #trends .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 64rem) {
  .footer-grid { grid-template-columns: repeat(4, 1fr); }
}
