/* Shalvit Online School — app pages (sign-in, register, dashboard and
   the signed-in sections). Companion to style.css: the same approved
   app design (cream ground, Baloo 2 + Nunito, amber-ringed surfaces,
   glossy dashboard tiles). No build step. */

.auth-wrap { max-width: 560px; margin: 0 auto; padding: 28px 20px 64px; }
.dash-wrap { max-width: 1080px; margin: 0 auto; padding: 24px 20px 64px; }

.panel {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; padding: 26px;
  box-shadow: 0 12px 28px -16px rgba(180, 110, 10, .35);
}
.panel h1 { font-size: 1.8rem; margin: 0 0 6px; font-weight: 800; }
.panel .sub { color: var(--dim); line-height: 1.6; margin: 0 0 18px; }

.field { margin: 0 0 16px; }
.field label { display: block; font-size: .92rem; font-weight: 700; font-family: var(--font-display); color: var(--text); margin: 0 0 6px; }
.field .hint { font-weight: 600; color: var(--dim); font-size: .85rem; font-family: var(--font-body); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 16px; font-size: 1rem;
  border: 1px solid var(--border); background: var(--surface-warm); color: var(--text);
  font-family: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent); outline-offset: 1px; background: #fff; }

/* Password show/hide eye — behaviour: /assets/pw-toggle.js (shared helper).
   The button sits inside the field's right edge; the input keeps its full
   width and gains right padding so typed text never runs under the eye. */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 58px; }
.pw-eye {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: 44px; height: 44px; padding: 0; border: none; border-radius: 12px;
  background: transparent; color: var(--teal); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pw-eye:hover { background: var(--surface-warm); }
.pw-eye:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
.pw-eye svg { width: 24px; height: 24px; display: block; }
.pw-eye .pw-icon-shut { display: none; }
.pw-eye[aria-pressed="true"] .pw-icon-open { display: none; }
.pw-eye[aria-pressed="true"] .pw-icon-shut { display: block; }

/* "Forgot password?" — quiet link-button under the password field
   (sign-in mode only; the page script hides it in create mode). */
.forgot-row { margin: -8px 0 14px; text-align: right; }
.forgot-link {
  background: none; border: none; padding: 6px 2px; cursor: pointer;
  color: var(--teal-deep); font-weight: 700; font-size: .92rem;
  font-family: inherit; text-decoration: underline;
}
.forgot-link:hover { color: var(--teal); }
.forgot-link:disabled { opacity: .55; cursor: default; }

.btn.block { display: block; width: 100%; text-align: center; border: 1px solid #fcd34d; cursor: pointer; }
.btn.small { padding: 9px 16px; font-size: .92rem; cursor: pointer; }
button.btn { font-family: var(--font-display); }
.btn:disabled { opacity: .55; cursor: default; }

.btn-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; padding: 12px 22px; border-radius: 999px; cursor: pointer;
  background: #ffffff; color: var(--text); font-weight: 700; font-size: 1rem; font-family: var(--font-display);
  border: 1px solid var(--border); box-shadow: 0 4px 12px -6px rgba(120, 70, 5, .35);
}
.btn-google:hover { background: var(--surface-warm); }
.btn-google .g { font-family: var(--font-display); font-weight: 800; color: #d97706; font-size: 1.15rem; }

.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--dim); font-size: .88rem; font-weight: 600; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

.mode-row { display: flex; gap: 8px; margin: 0 0 16px; }
.mode-row button {
  flex: 1; padding: 10px; border-radius: 999px; cursor: pointer; font-family: var(--font-display); font-size: .95rem; font-weight: 700;
  background: var(--surface-warm); color: var(--dim); border: 2px solid var(--border);
}
.mode-row button.on { background: var(--teal); color: #fff; font-weight: 800; border-color: var(--teal); }

.msg { border-radius: 16px; padding: 13px 16px; line-height: 1.55; font-size: .96rem; margin: 0 0 16px; display: none; }
.msg.show { display: block; }
.msg.error { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.msg.notice { background: #fffbeb; border: 1px solid #fcd34d; color: #78350f; }
.msg.good { background: #f0fdf9; border: 1px solid #99f6e4; color: #134e4a; }
.msg a { color: #115e59; font-weight: 800; }

/* Registration doors */
.door-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 0 0 18px; }
.door-card {
  position: relative; display: block; cursor: pointer; border-radius: 24px; padding: 18px;
  background: var(--surface); border: 2px solid var(--border);
  transition: transform .3s cubic-bezier(.22, .9, .3, 1), box-shadow .3s ease;
}
.door-card input { position: absolute; opacity: 0; pointer-events: none; }
.door-card h3 { color: var(--text); margin: 0 0 6px; font-size: 1.08rem; font-weight: 800; }
.door-card p { margin: 0; font-size: .9rem; line-height: 1.55; color: var(--dim); }
.door-card p strong { color: var(--text); }
.door-card:hover { border-color: #fbbf24; transform: translateY(-2px); }
.door-card.selected, .door-card:has(input:checked) {
  border-color: var(--teal); background: #f0fdf9;
  box-shadow: 0 0 0 1px var(--teal) inset, 0 10px 20px -12px rgba(15, 118, 110, .4);
}

.child-block { border: 1px dashed #f59e0b; background: var(--surface-warm); border-radius: 16px; padding: 14px; margin: 0 0 12px; }
.child-block .row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.child-block .field { margin: 0; }
.link-btn { background: none; border: none; color: var(--teal); cursor: pointer; font-size: .92rem; font-weight: 700; font-family: var(--font-display); padding: 6px 0; }
.link-btn.danger { color: #dc2626; }

/* Dashboard */
.dash-head {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  border-radius: 28px; padding: 22px 24px; margin: 0 0 10px;
  background: linear-gradient(120deg, #042f2e, #115e59 55%, #0f766e);
  color: #fff; box-shadow: 0 16px 30px -16px rgba(4, 47, 46, .55);
  position: relative; overflow: hidden;
}
.dash-head::after {
  content: ""; position: absolute; inset: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.16), transparent);
  animation: dashSheen 7s ease-in-out infinite; pointer-events: none;
}
.dash-head h1 { font-size: 1.9rem; margin: 0; margin-right: auto; color: #fff; font-weight: 800; }
.dash-head .btn.ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); box-shadow: none; }
.dash-head .btn.ghost:hover { background: rgba(255,255,255,.2); }
.pill {
  display: inline-block; background: #f59e0b; color: #1c1917; font-weight: 800;
  border-radius: 999px; padding: 4px 12px; font-size: .85rem; text-transform: capitalize;
  font-family: var(--font-display);
}
section.dash-block { margin: 30px 0; }
section.dash-block > h2 { font-size: 1.4rem; margin: 0 0 12px; font-weight: 800; }
section.dash-block > h3 { font-weight: 800; }
.item-list { display: grid; gap: 10px; }
.item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 15px 18px; line-height: 1.6;
  box-shadow: 0 1px 3px rgba(120, 70, 5, .05);
}
.item .t { font-weight: 700; color: var(--text); font-family: var(--font-display); font-size: 1.02rem; }
.item .t a { color: var(--teal); text-decoration: none; }
.item .t a:hover { text-decoration: underline; }
.item .d { color: var(--dim); font-size: .93rem; }
#hub-block .item {
  position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 22px -14px rgba(120, 70, 5, .35);
  transition: transform .3s cubic-bezier(.22, .9, .3, 1);
}
@media (hover: hover) { #hub-block .item:hover { transform: translateY(-3px); } }
.empty-note {
  background: #fffbeb; border: 1px dashed #f59e0b;
  border-radius: 16px; padding: 14px 16px; color: #57534e; line-height: 1.6;
}
.refcode { font-family: var(--font-display); letter-spacing: 1px; color: #115e59; font-weight: 800; }

/* Premium lift (2026-11-14, owner maturity pass): every card on the
   inner pages gets the glossy treatment the hub cards already had —
   inset highlight, warm depth shadow, gentle hover lift. Same frozen
   palette; only finish changes. */
.item {
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 22px -14px rgba(120, 70, 5, .35);
  transition: transform .3s cubic-bezier(.22, .9, .3, 1), box-shadow .3s ease;
}
@media (hover: hover) { .item:hover { transform: translateY(-2px); } }
section.dash-block > h2 { padding-bottom: 10px; border-bottom: 2px solid #fde68a; }
.tbl-wrap { box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 12px 24px -16px rgba(120, 70, 5, .35); }
.empty-note { background: linear-gradient(120deg, #fffbeb, #fff7ed); }

/* Accordion sections (2026-11-14, owner order: "every connected section
   hidden in a button — click opens, click again closes"). Shared by the
   member dashboard; behaviour: /assets/accordion.js. The owner page
   keeps its own inline variant of the same pattern. */
.acc-btn {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 16px 20px; margin: 0 0 10px; border-radius: 18px; cursor: pointer;
  background: linear-gradient(120deg, #ffffff, #fff7ed);
  border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-display); font-weight: 700; font-size: 1.12rem;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 8px 18px -12px rgba(120, 70, 5, .4);
  transition: background .25s ease, transform .25s ease;
}
.acc-btn::after {
  content: "▾"; margin-left: auto; font-size: 1.05rem; color: var(--accent-deep);
  transition: transform .25s ease;
}
.acc-btn.open { background: linear-gradient(120deg, #f59e0b, #fbbf24); color: #1c1917; border-color: #f59e0b; font-weight: 800; }
.acc-btn.open::after { content: "▴"; color: #1c1917; }
.acc-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.acc-panel { margin: 0 0 22px; animation: accIn .28s ease; }
@keyframes accIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* At-a-glance subscriptions strip (dashboard, always visible). */
.glance { margin: 26px 0 6px; }
.glance > h2 { font-size: 1.4rem; margin: 0 0 4px; font-weight: 800; padding-bottom: 10px; border-bottom: 2px solid #fde68a; }
.glance .sub { color: var(--dim); margin: 0 0 14px; line-height: 1.6; }
.glance-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.glance-card {
  background: var(--surface); border: 1px solid var(--border); border-left: 6px solid var(--accent);
  border-radius: 20px; padding: 16px 18px; line-height: 1.55;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 12px 24px -14px rgba(120, 70, 5, .4);
}
.glance-card .t { font-weight: 700; font-family: var(--font-display); font-size: 1.02rem; color: var(--text); }
.glance-card .d { color: var(--dim); font-size: .92rem; }
.glance-card .days { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--teal-deep); margin-top: 6px; }
.glance-card.ended { border-left-color: #d6d3d1; background: #fafaf9; }
.glance-card.ended .days { color: #78716c; font-size: 1.05rem; }
.glance-free {
  background: linear-gradient(120deg, #fffbeb, #fff7ed); border: 1px dashed #f59e0b;
  border-radius: 16px; padding: 14px 16px; color: #57534e; line-height: 1.6;
}

/* My Class hero panel (dashboard, starts open). */
.myclass-panel {
  border-radius: 24px; padding: 22px;
  background: linear-gradient(120deg, #042f2e, #115e59 55%, #0f766e);
  color: #fff; box-shadow: 0 16px 30px -16px rgba(4, 47, 46, .55);
}
.myclass-panel p { margin: 0 0 16px; line-height: 1.65; color: #ecfdf5; }
.myclass-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.myclass-actions .btn.ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); box-shadow: none; }
.myclass-actions .btn.ghost:hover { background: rgba(255,255,255,.2); }

/* Account menu (2026-11-14, owner order: a proper Menu ▾ in the account).
   Behaviour: /assets/account-menu.js — renders only for signed-in members. */
.acct-menu { position: relative; margin-left: auto; z-index: 60; align-self: center; }
.acct-menu-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px;
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  background: linear-gradient(120deg, #f59e0b, #fbbf24); color: #1c1917;
  border: 1px solid #f59e0b; font-family: var(--font-display); font-weight: 800; font-size: 1rem;
  box-shadow: 0 10px 20px -10px rgba(180, 110, 10, .65);
}
.acct-menu-btn .acct-arrow { font-size: .95rem; line-height: 1; }
.acct-menu-panel {
  position: absolute; top: calc(100% + 10px); right: 0; width: min(430px, calc(100vw - 24px));
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  box-shadow: 0 30px 50px -20px rgba(120, 70, 5, .45); padding: 14px;
  animation: accIn .25s ease;
}
.acct-menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acct-group { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); margin: 8px 2px 0; }
.acct-item {
  display: block; padding: 11px 13px; border-radius: 14px; text-decoration: none;
  background: var(--surface-warm); border: 1px solid var(--border); color: var(--text);
}
.acct-item:hover { border-color: #f59e0b; background: #fffbeb; }
.acct-item .l { display: block; font-family: var(--font-display); font-weight: 700; font-size: .98rem; }
.acct-item .s { display: block; color: var(--dim); font-size: .8rem; line-height: 1.45; margin-top: 2px; }
.acct-item .on-pill {
  display: inline-block; margin-top: 6px; background: #f0fdf9; color: #115e59;
  border: 1px solid #99f6e4; border-radius: 999px; padding: 1px 9px;
  font-size: .72rem; font-weight: 800; font-family: var(--font-display);
}
.acct-item.here { border-color: var(--teal); background: #f0fdf9; }
.acct-menu-foot { margin-top: 12px; border-top: 1px solid var(--border); padding-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.acct-menu-foot .who { color: var(--dim); font-size: .85rem; }
@media (max-width: 700px) {
  .acct-menu { margin: 8px 4px 10px auto; }
  .site-head { flex-wrap: wrap; }
  .acct-menu-panel { position: fixed; top: 76px; right: 12px; left: 12px; width: auto; max-height: 70vh; overflow: auto; }
  .acct-menu-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .dash-head::after { animation: none; }
  #hub-block .item { transition: none; }
  #hub-block .item:hover { transform: none; }
  .item, .acc-btn, .acc-panel, .acct-menu-panel { transition: none; animation: none; }
  .item:hover { transform: none; }
}

@media (max-width: 560px) {
  .child-block .row { grid-template-columns: 1fr; }
  .dash-head { padding: 18px; }
  .dash-head h1 { font-size: 1.5rem; }
}

/* ── Inner shell (2026-11-14, owner order: "Inside signed account
   dashboard experience should be different from outside homepage,
   separate it properly" + acceptance bar: "more dope and premium than
   the first one"). Session-driven by /assets/inner-shell.js: only a
   signed-in member's pages gain body.inner, the deepened header and
   the member strip — guests keep the public face exactly as before.
   Frozen palette only: cream, warm surface, gold, teal. ── */
body.inner { background: linear-gradient(180deg, #ffedd5 0, var(--surface-warm) 220px, var(--bg) 560px); }
.site-head.inner-head {
  background: linear-gradient(120deg, rgba(255, 247, 237, .98), rgba(255, 251, 235, .96));
  border-bottom: 3px solid var(--accent);
  box-shadow: 0 14px 30px -18px rgba(180, 110, 10, .55);
}
.site-head.inner-head img.logo { box-shadow: 0 4px 12px -4px rgba(180, 110, 10, .5); border-color: var(--accent); }
.site-head.inner-head .brand-sub::after { content: " · Member area"; color: var(--accent-deep); }
.site-head.inner-head nav a { border-radius: 999px; padding: 6px 12px; }
.site-head.inner-head nav a:hover { background: #fff; box-shadow: 0 4px 10px -6px rgba(120, 70, 5, .35); }
.member-strip {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  width: min(1040px, calc(100% - 40px)); margin: 18px auto 0; padding: 13px 18px;
  background: linear-gradient(120deg, var(--teal-deep), var(--teal));
  color: #ecfdf5; border: 1px solid #0b4f4a; border-radius: 20px;
  box-shadow: 0 18px 34px -18px rgba(17, 94, 89, .7), inset 0 1px 0 rgba(255, 255, 255, .28);
}
.member-strip img { width: 40px; height: 40px; border-radius: 11px; background: #fff; object-fit: cover; padding: 2px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); flex: none; }
.member-strip .ms-house { display: block; font-family: var(--font-display); font-weight: 800; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: #fcd34d; }
.member-strip .ms-name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.14rem; color: #fff; line-height: 1.2; }
.member-strip .ms-role {
  background: var(--accent); color: #1c1917; border-radius: 999px; padding: 3px 11px;
  font-size: .74rem; font-weight: 800; font-family: var(--font-display); text-transform: capitalize; white-space: nowrap;
}
.member-strip .ms-tag { margin-left: auto; font-size: .85rem; font-weight: 700; color: #ccfbf1; }
.member-strip .ms-owner-btn {
  margin-left: auto; background: var(--accent); color: #1c1917; text-decoration: none;
  font-family: var(--font-display); font-weight: 800; font-size: .9rem;
  padding: 8px 16px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .45);
}
.member-strip .ms-owner-btn:hover { background: #fbbf24; }
@media (max-width: 560px) {
  .member-strip { padding: 11px 14px; gap: 10px; }
  .member-strip .ms-tag { display: none; }
}
/* My University-Level (inner) — faculty group heads + state chips. */
.fac-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 0 0 6px; }
.fac-head h3 { margin: 0; font-size: 1.18rem; }
.state-chip {
  display: inline-block; border-radius: 999px; padding: 2px 11px; font-size: .76rem; font-weight: 800;
  font-family: var(--font-display); background: #f0fdf9; color: var(--teal-deep); border: 1px solid #99f6e4;
}
.state-chip.locked { background: var(--surface-warm); color: #92400e; border-color: #fcd34d; }
@media (prefers-reduced-motion: reduce) {
  .member-strip, .site-head.inner-head { transition: none; }
}

/* Dashboard simplicity pass (owner order 2026-11-14 ~04:37): the five
   per-arm enrolment lists now live under ONE "Everything I have joined"
   button, grouped by plain sub-headings. */
.joined-head { margin: 18px 0 8px; font-size: 1.02rem; font-weight: 800; color: var(--teal-deep); border-bottom: 2px solid var(--border); padding-bottom: 5px; }
#panel-joined > div:first-of-type .joined-head { margin-top: 4px; }

/* ── Slim top layer + unified inner gloss (2026-11-14, owner order
   ~05:03 WAT: "That boat that carries dashboard and everything —
   remove it or carry it upward… few things should be in that upper
   layer… clean glossy button that is so nice… everything more
   premium"). The header now carries crest + wordmark + two quick
   links (Dashboard · My Class) + the Menu ▾; every destination lives
   in the menu. Buttons across the house share ONE glossy finish:
   gold gradient primary, teal secondary, white-gloss ghost, inset
   highlight, soft depth shadow, a true pressed state. Frozen palette
   only — every colour below already existed in the palette. ── */
.site-head .quick-nav { gap: 6px; }
.site-head .quick-nav a { padding: 8px 16px; }
body.inner .site-head { padding-top: 8px; padding-bottom: 8px; }
body.inner .member-strip { margin-top: 14px; }
body.inner .btn {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 10px 18px -8px rgba(245, 158, 11, .55);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
body.inner .btn:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 4px 8px -4px rgba(245, 158, 11, .5); }
body.inner .btn.teal {
  background: linear-gradient(to bottom, #0f766e, #115e59);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 0 10px 18px -8px rgba(15, 118, 110, .55);
}
body.inner .btn.ghost {
  background: linear-gradient(to bottom, #ffffff, #fff7ed);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), 0 6px 14px -8px rgba(15, 118, 110, .35);
}
body.inner .btn.ghost:hover { background: #f0fdf9; }
/* On the deep-teal heads (dashboard greeting, My Class hero) ghost
   buttons keep their translucent-white form, above the gloss rules. */
body.inner .dash-head .btn.ghost, body.inner .myclass-panel .btn.ghost {
  background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.4); box-shadow: none;
}
body.inner .dash-head .btn.ghost:hover, body.inner .myclass-panel .btn.ghost:hover { background: rgba(255,255,255,.2); }
.acct-menu-btn { transition: transform .15s ease, box-shadow .2s ease; }
.acct-menu-btn:active { transform: translateY(1px); box-shadow: 0 4px 10px -6px rgba(180, 110, 10, .65); }
.acct-item { transition: background .2s ease, border-color .2s ease, transform .15s ease; }
.acct-item:active { transform: translateY(1px); }
.acc-btn:active { transform: translateY(1px); }
/* The one Explore door on the dashboard carries full prominence. */
#explore-strip .btn.explore-btn { font-size: 1.06rem; padding: 14px 28px; }
@media (prefers-reduced-motion: reduce) {
  body.inner .btn, .acct-menu-btn, .acct-item, .acc-btn { transition: none; }
  body.inner .btn:active, .acct-menu-btn:active, .acct-item:active, .acc-btn:active { transform: none; }
}

/* Timetable preset chips (owner order 2026-11-14 ~17:25 WAT): the chip
   holding the member's own time stands lit amber, so the time they set
   shows in the boxes as well as in the time box — dashboard editor
   (.btn chips) and register editor (.link-btn chips) alike. */
.btn.tt-chip-on, .link-btn.tt-chip-on {
  background: linear-gradient(120deg, #f59e0b, #fbbf24);
  color: #1c1917; border-color: #f59e0b; font-weight: 800;
  border-radius: 999px; padding: 6px 12px;
}

/* ── Class reminders on/off switch (owner order 2026-11-14 ~18:51 WAT:
   reminders ON by default for every new account, with a proper sliding
   toggle beside the bell card — slide right = ON, slide left = OFF.
   Frozen palette: teal track when on, warm cream track with a gold knob
   when off. Behaviour: /assets/push-reminders.js. ── */
.reminders-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.switch { position: relative; display: inline-block; flex: none; cursor: pointer; }
.switch input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch-track {
  display: block; width: 56px; height: 32px; border-radius: 999px;
  background: var(--surface-warm); border: 2px solid var(--border);
  box-shadow: inset 0 1px 3px rgba(120, 70, 5, .18);
  transition: background .22s ease, border-color .22s ease;
}
.switch-knob {
  display: block; width: 24px; height: 24px; margin: 2px; border-radius: 50%;
  background: linear-gradient(to bottom, #fbbf24, var(--accent-deep));
  box-shadow: 0 2px 5px rgba(120, 70, 5, .35);
  transition: transform .22s ease, background .22s ease;
}
.switch input:checked + .switch-track { background: linear-gradient(120deg, var(--teal-deep), var(--teal)); border-color: var(--teal-deep); }
.switch input:checked + .switch-track .switch-knob { transform: translateX(24px); background: #fff; }
.switch input:disabled + .switch-track { opacity: .55; }
.switch input:focus-visible + .switch-track { outline: 3px solid var(--accent); outline-offset: 2px; }
.reminders-word { font-family: var(--font-display); font-weight: 700; font-size: .98rem; }
@media (prefers-reduced-motion: reduce) {
  .switch-track, .switch-knob { transition: none; }
}
