/* [hidden] must always win — class rules like .editor{display:grid} otherwise override it. */
[hidden] { display: none !important; }

:root {
  --saffron: #D9822B;
  --saffron-deep: #B86A1C;
  --indigo: #1C2541;
  --cream: #F6F0E4;
  --paper: #FFFDF8;
  --sage: #7F8F74;
  --ink: #2A2A2A;
  --muted: #6B6760;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
h3 { font-size: 1.5rem; }

.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px clamp(16px, 4vw, 48px); background: rgba(255,253,248,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(28,37,65,.08); }
.top nav { display: flex; align-items: center; gap: 20px; font-size: .95rem; }
.top nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.top nav a:not(.btn):hover { color: var(--indigo); }
.wordmark { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--indigo); text-decoration: none; letter-spacing: .01em; }
.wordmark em { color: var(--saffron); font-style: italic; font-weight: 500; }

.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font: 600 .95rem var(--sans);
  text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s; }
.btn-primary { background: var(--saffron); color: #fff; }
.btn-primary:hover { background: var(--saffron-deep); }
.btn-primary:disabled { opacity: .6; cursor: wait; }
.btn-ghost { border-color: rgba(28,37,65,.25); color: var(--indigo); padding: 8px 16px; }
.btn-ghost-light { border-color: rgba(246,240,228,.5); color: var(--cream); }

.hero { position: relative; overflow: hidden; background: var(--indigo); color: var(--cream);
  padding: clamp(72px, 12vw, 140px) clamp(16px, 6vw, 96px); }
.hero-inner { position: relative; z-index: 1; max-width: 640px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--saffron); margin: 0 0 12px; }
.lede { font-size: 1.15rem; color: rgba(246,240,228,.85); max-width: 34em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-mark { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: min(560px, 70vw);
  color: rgba(217,130,43,.35); }

.band { padding: clamp(56px, 9vw, 104px) clamp(16px, 6vw, 96px); }
.band-cream { background: var(--cream); }
.note { color: var(--muted); font-size: .9rem; margin: 0 0 20px; }

.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.steps li { padding: 28px; border: 1px solid rgba(28,37,65,.1); border-radius: 16px; background: #fff; }
.steps p { color: var(--muted); margin: 0; }
.num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cream);
  color: var(--saffron-deep); font-weight: 600; margin-bottom: 14px; }

.schedule { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.schedule li { display: grid; grid-template-columns: 170px 1fr auto; gap: 20px; align-items: center; padding: 20px 24px;
  background: var(--paper); border-radius: 12px; }
.schedule li.empty { display: block; color: var(--muted); }
.schedule span { display: block; }
.schedule .desc { margin: 6px 0 0; color: var(--muted); font-size: .92rem; }
.schedule .price { display: grid; justify-items: end; gap: 6px; text-align: right; }
.schedule .price b { font-family: var(--serif); font-size: 1.4rem; color: var(--indigo); }
.schedule time { color: var(--saffron-deep); font-weight: 600; font-size: .92rem; }
.schedule strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--indigo); }
.schedule span { color: var(--muted); font-size: .9rem; }

.teacher { display: flex; gap: clamp(24px, 5vw, 56px); align-items: center; flex-wrap: wrap; }
.teacher-photo { flex: none; width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center;
  background: var(--cream); color: var(--sage); font-family: var(--serif); font-size: 2.4rem; }
.teacher p:last-child { color: var(--muted); max-width: 36em; }

.plan { max-width: 440px; padding: 36px; border-radius: 20px; background: #fff; border: 1px solid rgba(28,37,65,.1); }
.plan-name { font-weight: 600; color: var(--indigo); margin: 0; }
.plan-price { font-family: var(--serif); font-size: 3rem; font-weight: 600; margin: 4px 0 16px; color: var(--indigo); }
.plan-price span { font-family: var(--sans); font-size: 1rem; color: var(--muted); font-weight: 400; }
.plan ul { padding-left: 1.1em; margin: 0 0 24px; color: var(--muted); }
.plan .note { margin: 14px 0 0; }

.join { background: var(--indigo); color: var(--cream); }
.join h2 { color: var(--cream); }
.lede-dark { color: rgba(246,240,228,.8); margin: 0 0 28px; }
#signup { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 720px; }
#signup label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
#signup small { font-weight: 400; color: rgba(246,240,228,.6); }
#signup input, #signup select, #signup textarea { font: 1rem var(--sans); padding: 12px 14px; border-radius: 10px;
  border: 1px solid rgba(246,240,228,.25); background: rgba(255,255,255,.06); color: var(--cream); }
#signup select option { color: var(--ink); }
#signup input:focus, #signup select:focus, #signup textarea:focus { outline: 2px solid var(--saffron); outline-offset: 1px; }
#signup .wide { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; }
.flash { max-width: 720px; padding: 16px 20px; border-radius: 12px; margin: 0 0 20px; }
.flash-ok { background: rgba(127,143,116,.25); border: 1px solid var(--sage); }
.flash-err { background: rgba(217,130,43,.2); border: 1px solid var(--saffron); }

.foot { padding: 40px clamp(16px, 6vw, 96px); text-align: center; color: var(--muted); font-size: .9rem; }
.foot .wordmark { font-size: 1.3rem; margin: 0 0 6px; }

/* shared bits */
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.fine { font-size: .82rem; color: rgba(246,240,228,.6); margin: 0; }
.tag { display: inline-block; font-style: normal; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  padding: 2px 8px; border-radius: 999px; background: rgba(28,37,65,.08); color: var(--indigo); margin-left: 6px; vertical-align: middle; }
.tag-live, .tag-published { background: rgba(127,143,116,.25); color: #4A5A40; }
.tag-warn, .tag-draft { background: rgba(217,130,43,.18); color: var(--saffron-deep); }
.tag-muted, .tag-canceled { color: var(--muted); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; max-width: 520px; }
.inline-form input { flex: 1 1 240px; font: 1rem var(--sans); padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(28,37,65,.2); }
.signin .flash { max-width: 520px; margin-top: 16px; }

/* members area */
.members-shell { display: grid; grid-template-columns: 1fr 340px; gap: 28px; padding: 32px clamp(16px, 4vw, 48px) 64px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--indigo); color: var(--cream); }
.stage, .stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.stage:empty { display: none; }
.player-msg { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 24px; text-align: center; }
.player-msg h2 { color: var(--cream); margin: 0; }
.player-msg p { color: rgba(246,240,228,.75); margin: 0 0 12px; max-width: 30em; }
.player .live { position: absolute; z-index: 2; top: 16px; left: 16px; background: #C0392B; color: #fff; font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; }
.player-bar { position: absolute; z-index: 2; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.player-bar .btn { background: rgba(0,0,0,.45); }
.panel { background: var(--cream); border-radius: 16px; padding: 24px; }
.panel h3 { margin-bottom: 12px; }
.panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.panel li { background: var(--paper); padding: 12px 14px; border-radius: 10px; font-size: .92rem; }
.panel li b { display: block; font-family: var(--serif); font-size: 1.15rem; color: var(--indigo); }
#paid-ok { margin-top: 16px; }

/* admin */
.admin-tag { font-family: var(--sans); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-left: 6px; }
.admin-shell { display: grid; grid-template-columns: 1fr 380px; gap: 28px; padding: 32px clamp(16px, 4vw, 48px) 64px; align-items: start; }
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.admin-list h3 { font-size: 1.2rem; color: var(--muted); margin: 24px 0 10px; }
.admin-card { background: #fff; border: 1px solid rgba(28,37,65,.1); border-radius: 14px; padding: 18px 20px; margin-bottom: 12px; }
.admin-card.status-canceled { opacity: .6; }
.ac-top { display: flex; justify-content: space-between; gap: 12px; }
.ac-top strong { font-family: var(--serif); font-size: 1.35rem; color: var(--indigo); display: block; }
.ac-top span { color: var(--muted); font-size: .9rem; }
.ac-roster { margin: 8px 0; font-size: .92rem; }
.admin-card details { font-size: .9rem; margin-bottom: 10px; }
.admin-card details ul { padding-left: 1.1em; margin: 8px 0 0; }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.row > label { flex: 1 1 120px; }
.admin-side { position: sticky; top: 84px; display: grid; gap: 20px; }
.editor, .studio { display: grid; gap: 12px; }
.editor label, .studio label { display: grid; gap: 5px; font-size: .85rem; font-weight: 500; }
.editor small { font-weight: 400; color: var(--muted); }
.editor input, .editor select, .editor textarea, .studio select { font: .95rem var(--sans); padding: 10px 12px; border-radius: 8px;
  border: 1px solid rgba(28,37,65,.18); background: #fff; }
.studio video { width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 10px; object-fit: cover; }
.live-dot { color: #C0392B; }
.admin .flash { margin: 0; }

@media (max-width: 900px) {
  .members-shell, .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: static; }
}
@media (max-width: 760px) {
  .top nav a:not(.btn) { display: none; }
  .schedule li { grid-template-columns: 1fr; gap: 6px; }
  .schedule .price { justify-items: start; text-align: left; grid-auto-flow: column; justify-content: start; align-items: center; gap: 12px; }
  .hero-mark { opacity: .5; }
}

/* ── brand: Manji Yoga members area (logo palette, 2026-10-01) ── */
body.brand { --night: #000; --sun: #FFFF0A; --rose: #D9739E; --cream: #FFF0DC; --cocoa: #2E1A19;
  background: var(--night); color: var(--cream); font-family: 'Quicksand', system-ui, sans-serif; }
.brand .top { background: rgba(0,0,0,.85); border-bottom: 1px solid rgba(217,115,158,.25); }
.brand-mark img { display: block; width: 56px; height: 56px; }
.brand h2, .brand h3 { font-family: 'Quicksand', system-ui, sans-serif; font-weight: 700; }
.brand .btn-primary { background: var(--sun); color: var(--cocoa); }
.brand .btn-primary:hover { background: #F2F200; }
.brand .btn-ghost { border-color: rgba(217,115,158,.5); color: var(--rose); background: transparent; }
.brand .player { background: #0d0d0d; border: 1px solid rgba(217,115,158,.25); }
.brand .player-msg h2 { color: var(--sun); }
.brand .panel { background: #0d0d0d; border: 1px solid rgba(217,115,158,.25); }
.brand .panel h3 { color: var(--rose); }
.brand .panel li { background: #161616; color: var(--cream); }
.brand .panel li b { font-family: inherit; font-weight: 700; color: var(--sun); }
.brand .tag { background: rgba(255,240,220,.1); color: var(--cream); }
.brand .tag-live { background: rgba(255,255,10,.18); color: var(--sun); }
.brand .tag-warn { background: rgba(217,115,158,.2); color: var(--rose); }
.brand .flash-ok { background: rgba(255,255,10,.1); border-color: var(--sun); color: var(--sun); }

/* admin additions (CLIENT-MANJIYOGA-001) */
.admin-tabs { display: inline-flex; gap: 4px; margin-right: 8px; }
.tab { font: 700 .9rem 'Quicksand', sans-serif; background: transparent; color: var(--cream, #FFF0DC); border: 1.5px solid transparent; border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.tab.on { border-color: var(--rose, #D9739E); color: var(--rose, #D9739E); }
.brand .admin-card { background: #0d0d0d; border-color: rgba(217,115,158,.25); }
.brand .ac-top strong { font-family: inherit; font-weight: 700; color: var(--sun); }
.brand .ac-top span, .brand .note, .brand .admin-list h3 { color: rgba(255,240,220,.6); }
.brand .admin-card a { color: var(--rose); }
.brand .editor input, .brand .editor select, .brand .editor textarea, .brand .studio select, .brand .inline-form input, .brand .search {
  background: #070707; color: var(--cream); border: 1.5px solid rgba(217,115,158,.35); font-family: inherit; }
.brand .editor label, .brand .studio label { color: var(--cream); }
.search { font: 600 .95rem 'Quicksand', sans-serif; padding: 10px 14px; border-radius: 999px; min-width: 240px; }
.days { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.days legend { font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.days label { display: inline-flex !important; align-items: center; gap: 6px; padding: 6px 10px; border: 1.5px solid rgba(217,115,158,.35); border-radius: 999px; cursor: pointer; }
.days input { accent-color: #FFFF0A; }
.roster li { margin-bottom: 8px; }
.roster small { color: rgba(255,240,220,.65); }
.person-row { cursor: pointer; }
.person-row:hover { border-color: var(--rose); }
.person p { font-size: .92rem; }
.brand .tag-published { background: rgba(255,255,10,.15); color: var(--sun); }
.brand .tag-draft { background: rgba(217,115,158,.18); color: var(--rose); }
.brand .flash-err { background: rgba(217,115,158,.12); border-color: var(--rose); color: var(--rose); }
.brand .signin h2 { color: var(--sun); }

.inline-form.stack { flex-direction: column; max-width: 360px; }
.inline-form.stack input { flex: none; }

/* members sign-in (signed out) */
.signin-card { max-width: 380px; margin: 0 auto; padding: 8px 16px 64px; text-align: center; }
.signin-logo { width: min(220px, 56vw); height: auto; display: block; margin: 0 auto 4px; }
.signin-card h1 { font-family: 'Quicksand', sans-serif; color: var(--sun, #FFFF0A); margin: 6px 0 4px; font-size: 1.6rem; }
.signin-card p { color: rgba(255,240,220,.75); margin: 0 0 16px; }
.signin-card form { display: grid; gap: 12px; }
.signin-card input { font: 600 1.05rem 'Quicksand', sans-serif; padding: 15px 18px; border-radius: 999px; text-align: center;
  border: 2px solid rgba(217,115,158,.45); background: rgba(13,13,13,.8); color: #FFF0DC; }
.signin-card input:focus { outline: none; border-color: #D9739E; }
.signin-card .btn { padding: 15px 18px; font-size: 1.05rem; border: 0; }
.signin-ok { color: #FFFF0A !important; }
.signin-err { color: #D9739E !important; margin-top: 12px !important; }
.signin-foot { margin-top: 22px !important; }
.signin-foot a { color: #D9739E; }

/* admin card tags: never stretch with the row (2026-10-02 mobile fix) */
.ac-top { align-items: flex-start; }
.ac-top .tag { flex: none; align-self: flex-start; white-space: nowrap; line-height: 1.6; }
@media (max-width: 600px) {
  .admin-head { flex-direction: column; align-items: flex-start; }
  .admin-head .row { width: 100%; }
  .admin-head .row .btn { flex: 1; text-align: center; }
}

/* admin mobile tidy (v=20261002c) */
.brand .admin-head h2 { margin: 0; }
@media (max-width: 600px) {
  .admin-shell { padding-top: 20px; gap: 18px; }
  .brand .admin-head h2 { font-size: 1.8rem; }
  .admin-head .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .admin-head .row .btn { padding: 12px 10px; font-size: .95rem; }
  .admin-card { padding: 16px; }
  .ac-top strong { font-size: 1.2rem; }
  .top nav { gap: 6px; }
  .tab { padding: 6px 10px; }
  .brand .top .btn-ghost { padding: 7px 12px; font-size: .9rem; }
}
.agree-row { display: flex !important; align-items: center; gap: 8px; font-weight: 500 !important; }
.agree-row input { width: 18px; height: 18px; accent-color: #FFFF0A; }
