:root {
  color-scheme: light;
  --bg: #f7f5ef;
  --card: #fffef9;
  --ink: #243a32;
  --muted: #59675d;
  --line: #dddcd2;
  --accent: #254f3e;
  --accent-ink: #fffef9;
  --work: #327359;
  --hold: #9b621b;
  --rest: #54758d;
  --danger: #ab4430;
  --track: #dce3d6;
  --paused: #778279;
  --mint: #e4eddb;
  --coral: #ef8f75;
  --art: #e4eddb;
}
.ghent-feature{display:flex;flex-direction:column;gap:9px;background:#d7ff43;color:#171331;border:2px solid #171331;padding:18px 20px;margin:23px 0;text-decoration:none;box-shadow:6px 6px 0 #2b16d6;max-width:560px}
.ghent-feature-kicker{font-size:11px;font-weight:800;letter-spacing:.08em}
.ghent-feature strong{font-size:clamp(27px,5vw,42px);line-height:1.02;letter-spacing:-.05em}
.ghent-feature span:last-child{font-size:12px;font-weight:700;line-height:1.35}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #17251e;
    --card: #213329;
    --ink: #f5f2e7;
    --muted: #b6c5b6;
    --line: #435548;
    --accent: #c9e1b8;
    --accent-ink: #1b3024;
    --work: #b7d7a4;
    --hold: #ebbb77;
    --rest: #aac9dd;
    --danger: #f7aa91;
    --track: #3d5343;
    --paused: #a0b19e;
    --mint: #2a4031;
    --art: #354e36;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a,
summary {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--hold);
  outline-offset: 5px;
}
button {
  min-height: 44px;
}
a {
  color: inherit;
}
.app {
  max-width: 1240px;
  margin: auto;
  padding: 0 48px;
}
.site-header {
  min-height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -1px;
  text-decoration: none;
}
.brand-icon {
  display: grid;
  place-items: center;
  background: var(--accent);
  color: var(--accent-ink);
  width: 39px;
  height: 39px;
  border-radius: 50%;
  font-size: 27px;
  letter-spacing: -2px;
  padding-right: 3px;
}
.pill {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 40px;
  padding: 10px 18px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}
.screen {
  display: none;
}
.screen.on {
  display: flex;
}
#s-start.on {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  padding: 42px 0 35px;
}
.welcome {
  min-width: 0;
  position: relative;
}
.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: var(--work);
  border-radius: 50%;
}
.brand {
  font-size: clamp(48px, 5.7vw, 76px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 26px 0 18px;
}
.brand em {
  font-style: normal;
  color: var(--danger);
}
.intro {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.hero-art {
  height: 270px;
  position: relative;
  perspective: 850px;
  isolation: isolate;
  margin: 8px 0 15px;
}
.hero-art:before {
  content: "";
  position: absolute;
  width: 270px;
  height: 190px;
  border-radius: 50%;
  background: var(--art);
  left: 50%;
  top: 55px;
  transform: translateX(-50%) rotate(-15deg);
  z-index: -2;
}
.hero-art:after {
  content: "";
  position: absolute;
  width: 210px;
  height: 20px;
  border-radius: 50%;
  background: #273e2c22;
  filter: blur(10px);
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
}
.foot {
  position: absolute;
  width: 108px;
  height: 205px;
  transform-style: preserve-3d;
  top: 30px;
  left: calc(50% - 112px);
  animation: float-foot 6s ease-in-out infinite;
  --turn: -26deg;
  --shade: #d9674e;
  --light: #ffbba1;
  --mid: #ee9275;
}
.foot-right {
  left: calc(50% + 11px);
  top: 7px;
  --turn: 19deg;
  --shade: #6b8a52;
  --light: #e1edb7;
  --mid: #b3cd88;
  animation-delay: -3s;
}
.sole {
  position: absolute;
  left: 16px;
  top: 49px;
  width: 78px;
  height: 146px;
  border-radius: 49% 49% 45% 46% / 34% 36% 66% 66%;
  transform: rotate(-5deg);
  background: radial-gradient(
    ellipse at 29% 20%,
    var(--light),
    var(--mid) 48%,
    var(--shade)
  );
  box-shadow:
    inset -8px -10px 13px #23301828,
    inset 4px 6px 8px #ffffff65,
    8px 11px 0 var(--shade),
    12px 18px 20px #25372320;
}
.foot-right .sole {
  transform: rotate(5deg);
}
.toe {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 24%,
    var(--light),
    var(--mid) 55%,
    var(--shade)
  );
  box-shadow:
    inset -3px -4px 5px #273a2820,
    3px 5px 0 var(--shade);
}
.t1 {
  width: 33px;
  height: 41px;
  top: 4px;
  left: 4px;
}
.t2 {
  width: 23px;
  height: 32px;
  top: 0;
  left: 43px;
}
.t3 {
  width: 20px;
  height: 27px;
  top: 12px;
  left: 71px;
}
.t4 {
  width: 17px;
  height: 23px;
  top: 35px;
  left: 91px;
}
.t5 {
  width: 15px;
  height: 19px;
  top: 62px;
  left: 101px;
}
.foot-right {
  scale: -1 1;
}
.orbit {
  position: absolute;
  border: 2px solid #b5c3a2;
  border-radius: 50%;
  width: 300px;
  height: 130px;
  left: calc(50% - 150px);
  top: 73px;
  transform: rotate(-28deg);
  z-index: -1;
}
.orbit-two {
  width: 240px;
  height: 200px;
  left: calc(50% - 120px);
  top: 23px;
  transform: rotate(29deg);
  border-style: dashed;
  opacity: 0.45;
}
.spark {
  position: absolute;
  color: var(--danger);
  font-size: 48px;
  animation: turn-spark 18s linear infinite;
  left: 15%;
  top: 18px;
}
.spark-two {
  font-size: 36px;
  left: auto;
  right: 10%;
  top: 162px;
  color: var(--work);
  animation-direction: reverse;
}
.art-tag {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
  white-space: nowrap;
  font-size: 11px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 9px 15px;
}
.session-note {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.bigbtn {
  border: 0;
  border-radius: 18px;
  background: var(--accent);
  color: var(--accent-ink);
  width: 100%;
  min-height: 65px;
  font-weight: 800;
  font-size: 18px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 5px 0 #152b2220;
}
.bigbtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 #152b2220;
}
.bigbtn:active {
  transform: translateY(2px);
}
.equipment {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
  margin: 14px 0 0;
}
.routine {
  min-width: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
}
.routine-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}
.routine-head > span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}
.section-title {
  font-size: 32px;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin: 22px 0;
}
.stats {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 20px;
  background: var(--mint);
  border-radius: 18px;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.stat-n {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.stat-l {
  font-size: 10px;
  color: var(--muted);
}
.dots {
  display: flex;
  gap: 5px;
  align-items: center;
  margin: 14px 0 20px;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--track);
}
.dots i.hit {
  background: var(--accent);
}
.dots i.today-empty {
  background: none;
  border: 2px solid var(--hold);
}
.dlbl {
  font-size: 10px;
  color: var(--muted);
  margin-left: auto;
}
.rules {
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 24px;
}
.rules b {
  color: var(--danger);
}
.mixnote {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 16px;
}
.mixnote span {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}
.plan-h {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 17px 0 5px;
  font-weight: 800;
}
.plan-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}
.nm {
  flex: 1;
  line-height: 1.3;
  font-size: 13px;
  font-weight: 600;
}
.tm {
  font:
    10px "Spline Sans Mono",
    monospace;
  white-space: nowrap;
  color: var(--muted);
}
.new-badge {
  display: inline-block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 3px 6px;
  background: var(--mint);
  border-radius: 12px;
  margin-left: 6px;
  vertical-align: middle;
  color: var(--ink);
}
.library {
  margin-top: 22px;
  font-size: 12px;
}
.library > summary {
  font-weight: 700;
  padding: 10px 0;
  cursor: pointer;
  line-height: 1.6;
}
.library > summary > span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  margin-left: 14px;
}
.exercise {
  border-top: 1px solid var(--line);
}
.exercise summary {
  cursor: pointer;
  padding: 12px 0;
  line-height: 1.5;
}
.exercise p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 12px;
}
.site-footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 22px 0;
  font-size: 10px;
  color: var(--muted);
  gap: 15px;
  letter-spacing: 0.03em;
}
#s-work {
  max-width: 700px;
  min-height: calc(100dvh - 170px);
  margin: 30px auto;
  flex-direction: column;
  background: var(--card);
  padding: 30px 40px;
  border: 1px solid var(--line);
  border-radius: 30px;
}
.top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  color: var(--muted);
}
.total {
  font-variant-numeric: tabular-nums;
}
.progress {
  display: flex;
  gap: 4px;
  margin: 18px 0;
}
.progress i {
  height: 5px;
  flex: 1;
  background: var(--track);
  border-radius: 4px;
}
.progress i.done {
  background: var(--work);
}
.progress i.now {
  background: var(--hold);
}
.phase {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 14px 0 8px;
}
.exname {
  font-size: 30px;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.cue {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 16px 0;
}
.clockwrap {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 0 10px;
  min-height: 295px;
}
.clock {
  width: 210px;
  aspect-ratio: 1;
  position: relative;
  z-index: 1;
}
.clock svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.clock .num {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.t {
  font:
    700 52px/1 "Spline Sans Mono",
    monospace;
  font-variant-numeric: tabular-nums;
}
.lbl {
  font-size: 11px;
  color: var(--muted);
}
.tempo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.05em;
  min-height: 25px;
  margin: 20px 0 10px;
}
.rhythm-art {
  width: 88px;
  height: 100px;
  position: absolute;
  right: 0;
  top: 95px;
  perspective: 500px;
}
.rhythm-orb {
  width: 65px;
  height: 65px;
  border-radius: 44%;
  background: radial-gradient(circle at 25% 20%, #ffe8bf, #efa285 55%, #b65e44);
  box-shadow:
    inset -4px -6px 8px #5d392822,
    5px 8px 0 #b7734e;
  transform: translateY(20px) rotate3d(1, 1, 0, 25deg);
  transition: transform 3s linear;
}
.lift .rhythm-orb {
  transform: translateY(-12px) rotate3d(1, 1, 0, 45deg);
}
[data-kind="hold"] .rhythm-orb {
  transform: translateY(-12px) rotate3d(1, 1, 0, 45deg);
}
.rhythm-floor {
  position: absolute;
  width: 80px;
  height: 12px;
  border-radius: 50%;
  background: #59614a25;
  bottom: 0;
  filter: blur(3px);
}
.paused-tag .rhythm-orb {
  transition: none;
}
.paused-tag #ring {
  stroke: var(--paused) !important;
}
.ctls {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.ctl {
  border: 1px solid var(--line);
  background: var(--mint);
  color: var(--ink);
  border-radius: 15px;
  min-height: 54px;
  flex: 1;
  font-size: 12px;
  font-weight: 600;
}
.ctl.main {
  flex: 2;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 17px;
  border: 0;
}
.ctl.ghost {
  background: none;
}
.mute {
  text-align: center;
  margin: 14px 0 0;
}
#s-done {
  min-height: calc(100dvh - 171px);
  max-width: 600px;
  margin: auto;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 0;
}
.done-art {
  width: 220px;
  height: 190px;
  position: relative;
  perspective: 700px;
}
.done-art b {
  position: absolute;
  left: 65px;
  top: 30px;
  display: grid;
  place-items: center;
  width: 105px;
  height: 105px;
  border-radius: 40%;
  font-size: 65px;
  color: #314e33;
  background: radial-gradient(circle at 30% 20%, #eef4c6, #c1d69b 60%, #799153);
  box-shadow: 7px 12px 0 #738a4d;
  animation: float-foot 6s ease-in-out infinite;
  --turn: -12deg;
}
.done-art span {
  position: absolute;
  top: 0;
  left: 18px;
  font-size: 45px;
  color: var(--danger);
  animation: turn-spark 15s linear infinite;
}
.done-art i {
  position: absolute;
  right: 4px;
  bottom: 35px;
  border: 8px solid var(--coral);
  width: 35px;
  height: 35px;
  border-radius: 50%;
}
.done-h {
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 20px 0 8px;
}
.done-p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  margin: 12px 0;
}
.done-btnwrap {
  width: 100%;
  margin-top: 24px;
}
@keyframes float-foot {
  0%,
  100% {
    transform: translateY(0) rotateZ(var(--turn)) rotateY(-15deg) rotateX(12deg);
  }
  50% {
    transform: translateY(-14px) rotateZ(calc(var(--turn) + 7deg))
      rotateY(15deg) rotateX(20deg);
  }
}
@keyframes turn-spark {
  to {
    transform: rotate(360deg);
  }
}
.motion-off * {
  animation: none !important;
  transition: none !important;
}
.motion-off .foot {
  transform: rotateZ(var(--turn));
}
.motion-off .rhythm-orb {
  transform: translateY(20px) rotate3d(1, 1, 0, 25deg) !important;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .foot {
    transform: rotateZ(var(--turn));
  }
  .rhythm-orb {
    transform: translateY(20px) rotate3d(1, 1, 0, 25deg) !important;
  }
}
@media (max-width: 900px) {
  .app {
    padding: 0 28px;
  }
  #s-start.on {
    gap: 35px;
  }
  .routine {
    padding: 22px;
  }
  .brand {
    font-size: 60px;
  }
  .dots {
    gap: 4px;
  }
  .dots i {
    width: 8px;
    height: 8px;
  }
  .hero-art {
    margin-left: -20px;
    margin-right: -20px;
  }
  .rhythm-art {
    right: -10px;
  }
}
@media (max-width: 680px) {
  .app {
    padding: 0 22px;
  }
  .site-header {
    min-height: 82px;
  }
  .wordmark {
    font-size: 19px;
    gap: 8px;
  }
  .brand-icon {
    width: 32px;
    height: 32px;
    font-size: 23px;
  }
    .pill {
    font-size: 10px;
    padding: 8px 12px;
  }
  #s-start.on {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 28px;
  }
  .brand {
    font-size: 64px;
    margin-top: 22px;
  }
  .intro {
    font-size: 14px;
  }
  .hero-art {
    height: 255px;
    margin-top: -6px;
    margin-bottom: 4px;
  }
  .routine {
    padding: 24px;
  }
  .startwrap {
    position: relative;
  }
  .section-title {
    font-size: 30px;
  }
  .stats {
    padding: 18px;
  }
  .stat-l {
    font-size: 10px;
  }
  .dots {
    gap: 6px;
  }
  .dots i {
    width: 11px;
    height: 11px;
  }
  .site-footer {
    font-size: 9px;
    padding: 20px 0;
  }
  .eyebrow {
    font-size: 9px;
  }
  #s-work {
    padding: 22px 20px;
    margin: 20px -5px;
    min-height: calc(100dvh - 165px);
  }
  .exname {
    font-size: 27px;
  }
  .cue {
    font-size: 14px;
  }
  .clockwrap {
    min-height: 270px;
    padding-top: 15px;
  }
  .clock {
    width: 190px;
  }
  .rhythm-art {
    width: 40px;
    height: 62px;
    top: 80px;
    right: -2px;
  }
  .rhythm-orb {
    width: 30px;
    height: 30px;
    box-shadow: 3px 5px 0 #b7734e;
  }
  .rhythm-floor {
    width: 40px;
    height: 7px;
  }
  .ctls {
    gap: 7px;
  }
  .ctl {
    font-size: 10px;
  }
  .ctl.main {
    font-size: 15px;
  }
  .done-h {
    font-size: 36px;
  }
  #s-done {
    min-height: calc(100dvh - 150px);
  }
}
@media (max-width: 360px) {
  .app {
    padding: 0 16px;
  }
  .brand {
    font-size: 58px;
  }
  .routine {
    padding: 18px;
  }
  .dots {
    gap: 4px;
  }
  .dots i {
    width: 10px;
    height: 10px;
  }
  .wordmark {
    font-size: 17px;
  }
  .motion-toggle {
    padding: 8px;
  }
  .rhythm-art {
    display: none;
  }
  .site-footer {
    letter-spacing: 0;
  }
  .routine-head .eyebrow {
    font-size: 8px;
  }
}
/* Practice setup */
.app-nav { display:flex; gap:6px; margin-left:auto; }
.nav-button { border:0; background:transparent; color:var(--muted); padding:10px 18px; border-radius:30px; font-size:13px; font-weight:700; }
.nav-button.active { background:var(--mint); color:var(--ink); }
body[data-screen="work"] .app-nav { display:none; }
#s-start.on { grid-template-columns:minmax(0,1fr) minmax(0,.9fr); gap:64px; padding-top:32px; }
.welcome .brand { font-size:58px; line-height:1.03; margin:20px 0 12px; }
.welcome .intro { font-size:14px; }
.welcome .hero-art { height:195px; margin:2px 0; }
.welcome .hero-art .foot { zoom:.75; }
.welcome .hero-art .foot-left { left:calc(50% - 112px); }
.welcome .hero-art .foot-right { left:calc(50% + 11px); }
.welcome .hero-art:before { top:25px; height:140px; width:235px; }
.welcome .hero-art:after { bottom:20px; }
.welcome .hero-art .orbit { scale:.8; top:35px; }
.welcome .hero-art .orbit-two { top:0; }
.welcome .art-tag { display:none; }
.welcome .spark { top:15px; font-size:36px; }
.welcome .spark-two { top:115px; }
.practice-settings { border-top:1px solid var(--line); }
.setting-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:17px 0; border-bottom:1px solid var(--line); }
.setting-row span { display:flex; flex-direction:column; gap:4px; }
.setting-row b { font-size:15px; }
.setting-row small { font-size:11px; color:var(--muted); }
select { font:600 13px "Bricolage Grotesque",system-ui,sans-serif; border:1px solid var(--line); border-radius:12px; background:var(--card); color:var(--ink); padding:12px 28px 12px 12px; max-width:58%; min-height:44px; cursor:pointer; }
select:focus-visible { outline:3px solid var(--hold); outline-offset:3px; }
.mix-actions { display:flex; flex-wrap:wrap; gap:8px; padding-top:18px; }
.mix-actions .pill { font-size:11px; padding:8px 13px; }
button:disabled { cursor:default; opacity:.55; }
.setup-status { min-height:30px; font-size:11px; line-height:1.5; color:var(--muted); margin:10px 0; }
.routine .section-title { margin:20px 0 8px; }
.preview-note { font-size:12px; line-height:1.55; color:var(--muted); }
.routine .rules { margin-top:20px; padding:14px 16px; background:var(--mint); border-radius:14px; }
.routine { align-self:start; }
.player-header { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:24px; }
.player-header>span { font-size:9px; letter-spacing:.12em; color:var(--muted); }
#s-work { max-width:780px; min-height:calc(100dvh - 190px); }
#s-work .exname { text-align:center; font-size:36px; }
#s-work .phase { text-align:center; }
#s-work .cue { text-align:center; max-width:560px; margin:16px auto; }
#prog { overflow-x:auto; padding:4px 2px 10px; gap:7px; scrollbar-width:thin; }
.timeline-step { flex:0 0 36px; min-height:36px; border:0; border-radius:50%; background:var(--track); color:var(--ink); font:600 11px "Spline Sans Mono",monospace; }
.timeline-step.now { background:var(--accent); color:var(--accent-ink); box-shadow:0 0 0 3px var(--mint); }
.timeline-step.done { background:var(--mint); color:var(--work); }
.up-next { display:flex; align-items:center; gap:16px; padding:15px 18px; border:1px solid var(--line); border-radius:16px; margin-top:10px; }
.up-next>span { font-size:9px; font-weight:800; color:var(--muted); letter-spacing:.1em; }
.up-next p { font-size:13px; margin:0; line-height:1.4; }
.player-settings { display:flex; justify-content:center; align-items:center; gap:14px; flex-wrap:wrap; margin-top:18px; }
.player-settings label { font-size:11px; color:var(--muted); display:flex; align-items:center; gap:8px; }
.player-settings select { max-width:none; font-size:11px; }
#s-activity { max-width:650px; margin:45px auto; flex-direction:column; }
.activity-title { font-size:44px; letter-spacing:-.045em; margin:20px 0 30px; }
#s-activity .stats { padding:26px; }
#s-activity .stat-n { font-size:38px; }
#s-activity .stat-l { font-size:12px; }
#s-activity .dots { margin:24px 0; }
.calendar-card { background:var(--card); border:1px solid var(--line); border-radius:26px; padding:28px; margin-bottom:24px; }
.calendar-card h2 { font-size:22px; text-transform:capitalize; margin:0 0 25px; }
.calendar-week,.calendar { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); gap:8px; text-align:center; }
.calendar-week { font-size:10px; color:var(--muted); margin-bottom:14px; }
.calendar-day { display:grid; place-items:center; aspect-ratio:1; border-radius:50%; font-size:14px; }
.calendar-day.hit { background:var(--accent); color:var(--accent-ink); }
.calendar-day.today { outline:2px solid var(--hold); outline-offset:-2px; }
.calendar-card .preview-note { font-size:10px; margin-bottom:0; margin-top:20px; }
@media(max-width:900px) { #s-start.on { gap:28px; } .setting-row small { font-size:10px; } select { font-size:12px; } }
@media(max-width:680px) {
  .site-header { flex-wrap:wrap; padding:16px 0 12px; gap:12px; }
  .app-nav { order:3; width:100%; margin:0; }
  .nav-button { flex:1; }
  .motion-toggle { margin-left:auto; }
  #s-start.on { display:flex; gap:26px; padding-top:24px; }
  .welcome .brand { font-size:44px; margin-top:15px; }
  .welcome .hero-art { height:155px; }
  .welcome .hero-art .foot { zoom:.6; }
  .welcome .hero-art:before { height:115px; top:15px; }
  .welcome .hero-art .orbit { scale:.65; top:15px; }
  .welcome .hero-art .orbit-two { top:-20px; }
  .welcome .spark-two { top:90px; }
  .setting-row { padding:14px 0; }
  .startwrap { margin-top:8px; }
  .routine { width:100%; }
  #s-work { padding:20px 16px; }
  #s-work .exname { font-size:27px; }
  .player-header { margin-bottom:18px; }
  .timeline-step { flex-basis:40px; min-height:40px; }
  .up-next { padding:13px; gap:12px; }
  .up-next p { font-size:12px; }
  .activity-title { font-size:36px; }
  #s-activity { margin:28px auto; }
  #s-activity .stats { padding:20px; }
  #s-activity .stat-n { font-size:30px; }
  #s-activity .stat-l { font-size:10px; }
  .calendar-card { padding:20px; }
  .calendar-day { font-size:12px; }
}

.setup-status:empty { display:none; }
@media(max-width:680px) {
  #s-work .top { order:1; }
  #s-work #prog { order:2; margin:10px 0; }
  #s-work .phase { order:3; margin:6px 0 8px; }
  #s-work .exname { order:4; }
  #s-work .clockwrap { order:5; min-height:220px; flex:0; }
  #s-work .ctls { order:6; position:sticky; bottom:8px; z-index:3; background:var(--card); border-radius:15px; }
  #s-work .cue { order:7; }
  #s-work .up-next { order:8; }
  #s-work .player-settings { order:9; }
}
