:root {
  --ink: #20231f;
  --muted: #6e7068;
  --paper: #f5f1e8;
  --card: #fffdf8;
  --line: #dcd6ca;
  --green: #244d3d;
  --green-2: #3f725e;
  --lime: #d9e6a3;
  --coral: #e8795d;
  --yellow: #f2cd6b;
  --blue: #8db7c4;
  --shadow: 0 18px 50px rgba(60, 52, 40, .08);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 0%, rgba(217, 230, 163, .35), transparent 28rem),
    var(--paper);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.5;
}

button, input, textarea, select { font: inherit; }
button { color: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid rgba(63, 114, 94, .25);
  outline-offset: 2px;
}

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 230px 1fr; }

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  background: rgba(245, 241, 232, .88);
  backdrop-filter: blur(12px);
}

.brand { display: flex; align-items: center; gap: 12px; margin: 0 10px 38px; }
.brand-mark {
  width: 39px; height: 39px; display: grid; place-items: center;
  border-radius: 12px; background: var(--green); color: white;
  font-family: Georgia, serif; font-size: 21px; font-style: italic;
}
.brand strong, .brand small { display: block; }
.brand strong { letter-spacing: .12em; }
.brand small { color: var(--muted); font-size: 11px; }

.desktop-nav { display: grid; gap: 8px; }
.nav-item {
  border: 0; background: transparent; cursor: pointer;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: 13px;
  color: var(--muted); text-align: left;
}
.nav-item span { font-size: 18px; }
.nav-item:hover { background: rgba(255, 255, 255, .65); color: var(--ink); }
.nav-item.active { background: var(--green); color: white; }

.sidebar-bottom { margin-top: auto; }
.level-card { padding: 15px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.45); }
.level-row { display: flex; justify-content: space-between; font-size: 13px; }
.level-card small { display: block; margin-top: 10px; color: var(--muted); font-size: 10px; }
.progress-track { height: 7px; margin-top: 9px; border-radius: 99px; background: rgba(36, 77, 61, .12); overflow: hidden; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--green-2); transition: width .35s ease; }
.plain-button, .text-button {
  border: 0; background: transparent; color: var(--muted); cursor: pointer;
}
.plain-button { padding: 14px; width: 100%; text-align: left; margin-top: 8px; }
.text-button { text-decoration: underline; text-underline-offset: 3px; }

.main-content { width: min(1180px, 100%); margin: 0 auto; padding: 30px 46px 80px; }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.topbar h1 { margin: 2px 0 0; font: 500 clamp(25px, 3vw, 36px)/1.1 Georgia, "Songti SC", serif; }
.eyebrow { margin: 0; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.account-button {
  display: inline-flex; align-items: center; gap: 7px; min-height: 38px;
  padding: 7px 11px; border: 1px solid var(--line); border-radius: 99px;
  background: rgba(255,255,255,.58); color: var(--muted); cursor: pointer;
  font-size: 11px; font-weight: 700;
}
.cloud-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #aaa79f; }
.cloud-dot.syncing { background: var(--yellow); animation: cloudPulse 1s ease infinite; }
.cloud-dot.synced { background: var(--green-2); }
.cloud-dot.error { background: var(--coral); }
@keyframes cloudPulse { 50% { opacity: .35; } }
.state-picker {
  display: flex; align-items: center; gap: 7px; padding: 7px 11px;
  border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.55);
}
.state-picker select { border: 0; background: transparent; color: var(--ink); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); }
.icon-button {
  width: 42px; height: 42px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--ink); color: white; font-size: 25px; line-height: 1;
}
.settings-icon {
  width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%;
  background: rgba(255,255,255,.58); color: var(--muted); cursor: pointer;
}

@media (min-width: 901px) {
  .top-actions .settings-icon { display: none; }
}

.view { display: none; animation: fade .25s ease; }
.view.active { display: block; }
@keyframes fade { from { opacity: .35; transform: translateY(4px); } }

.now-secondary { display: none !important; }
.task-quote {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  max-width: 620px; margin: 14px auto 16px; color: var(--muted);
}
.task-quote p { margin: 0; font: 500 13px Georgia, "Songti SC", serif; }
.task-quote .text-button { flex: 0 0 auto; padding: 3px; text-decoration: none; font-size: 14px; }
.task-toolbar { display: flex; gap: 7px; justify-content: flex-start; }
.task-toolbar label {
  display: flex; align-items: center; gap: 5px; padding-left: 8px;
  border: 1px solid var(--line); border-radius: 99px; color: var(--muted);
  font-size: 9px; font-weight: 700; background: #faf8f2;
}
.task-toolbar select { width: auto; padding: 5px 23px 5px 3px; border: 0; background: transparent; font-size: 10px; }
.anchor-inline {
  display: grid; grid-template-columns: auto minmax(70px, 150px) auto; align-items: center;
  justify-content: center; gap: 9px; margin: 0 auto 18px; color: var(--muted);
  font-size: 10px;
}
.anchor-inline .progress-track { width: 100%; min-width: 70px; margin: 0; height: 5px; }
.anchor-inline strong { color: var(--green-2); font-size: 10px; }
.anchor-inline small { display: none; }
.fate-card {
  position: relative; display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px; padding: 11px 15px; border: 1px solid var(--line);
  border-radius: 14px; background: rgba(255,255,255,.46);
}
.fate-card > span { flex: 0 0 auto; color: var(--coral); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.fate-card p { flex: 1; margin: 0; font: 500 14px Georgia, "Songti SC", serif; }
.fate-card .text-button { font-size: 10px; }
.mode-bar {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  padding: 9px 12px; border-radius: 14px; background: rgba(36,77,61,.07);
}
.mode-bar label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; font-weight: 700; }
.mode-bar select { width: auto; padding: 6px 28px 6px 9px; background: var(--card); font-size: 11px; }
.mode-bar small { margin-left: auto; color: var(--muted); font-size: 10px; }

.sprint-banner {
  padding: 24px 28px; border-radius: var(--radius); background: var(--green); color: white;
  display: flex; justify-content: space-between; align-items: end; gap: 30px;
  box-shadow: var(--shadow);
}
.sprint-banner h2 { margin: 13px 0 0; font: 400 clamp(20px, 2.4vw, 29px) Georgia, "Songti SC", serif; }
.tag { display: inline-flex; padding: 5px 9px; border-radius: 99px; background: #e7eee9; color: var(--green); font-size: 11px; font-weight: 700; }
.tag.warm { background: var(--lime); color: var(--ink); }
.tag.dark { background: rgba(255,255,255,.17); color: white; }
.sprint-progress { width: min(250px, 38%); font-size: 12px; }
.sprint-progress .progress-track { background: rgba(255,255,255,.15); }
.sprint-progress .progress-track span { background: var(--lime); }

.source-strip {
  display: flex; align-items: center; gap: 9px; margin: 12px 2px 0;
  color: var(--muted); font-size: 10px; flex-wrap: wrap;
}
.source-strip span {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px;
  border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.46);
}
.source-strip b { color: var(--green); font-size: 12px; }
.source-strip em {
  min-width: 17px; height: 17px; padding: 0 4px; display: grid; place-items: center;
  border-radius: 99px; background: var(--green); color: white; font-style: normal;
}
.source-strip small { margin-left: auto; }

.now-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(245px, .38fr); gap: 18px; margin-top: 0; }
.task-stage, .locked-card, .anchor-card, .body-card, .quick-entry, .brain-dump, .shopping-panel {
  border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow);
}
.task-stage { min-height: 0; padding: clamp(22px, 3.5vw, 38px); border-radius: var(--radius); text-align: center; }
.task-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }
.task-kicker { margin: 26px 0 7px; color: var(--coral); font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.task-stage h2 { max-width: 580px; margin: 0 auto; font: 500 clamp(28px, 4vw, 44px)/1.14 Georgia, "Songti SC", serif; }
.task-description { max-width: 560px; min-height: 48px; margin: 16px auto; color: var(--muted); }
.completion-rule {
  max-width: 570px; margin: 24px auto; padding: 14px 18px; border-radius: 13px;
  background: #f1eee6; text-align: left;
}
.completion-rule span { color: var(--green-2); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.completion-rule p { margin: 4px 0 0; font-size: 13px; }
.timer { margin: 24px auto 16px; }
.timer-main-row { display: flex; align-items: center; justify-content: center; gap: 11px; }
.timer-adjuster {
  display: inline-flex; align-items: center; gap: 8px; padding: 4px 8px;
  border: 1px solid transparent; border-radius: 16px;
}
.timer-display {
  font: 400 38px/1 Georgia, serif; font-variant-numeric: tabular-nums;
}
.timer-step {
  width: 27px; height: 27px; display: grid; place-items: center;
  padding: 0; border: 1px solid var(--line); border-radius: 50%;
  background: #f7f4ed; color: var(--green-2); cursor: pointer;
  font-size: 15px; line-height: 1;
}
.timer-step:disabled { opacity: .35; cursor: not-allowed; }
.timer small { color: var(--muted); }
.timer-tools { display: flex; align-items: center; gap: 4px; }
.timer-tools .text-button {
  padding: 4px 6px; border: 1px solid var(--line); border-radius: 99px;
  text-decoration: none; font-size: 9px;
}
.sound-toggle {
  display: inline-grid; place-items: center; width: 28px; height: 28px; margin: 0;
  padding: 0; border: 1px solid var(--line); border-radius: 50%;
  background: transparent; color: var(--muted); cursor: pointer; font-size: 10px;
}
.sound-toggle[aria-pressed="false"] { opacity: .6; }
.primary-actions { display: flex; justify-content: center; gap: 10px; }
.button {
  border: 0; border-radius: 12px; padding: 12px 18px; cursor: pointer; font-weight: 700; font-size: 13px;
  transition: transform .15s ease, opacity .15s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--green); color: white; }
.button.secondary { background: #e8e3d8; color: var(--ink); }
.button.light { background: var(--lime); color: var(--ink); }
.button.full { width: 100%; margin-top: 5px; }
.bargain-button { margin-top: 16px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.switch-button {
  margin-top: 14px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 99px;
  background: transparent; color: var(--green-2); cursor: pointer; font-size: 11px; font-weight: 700;
}
.switch-button:disabled { opacity: .45; cursor: not-allowed; }
.mode-explanation { display: block; margin-top: 13px; color: var(--muted); font-size: 9px; }

.side-stack { display: grid; gap: 16px; align-content: start; }
.locked-card, .anchor-card, .body-card { border-radius: 18px; padding: 21px; }
.locked-card { min-height: 150px; display: flex; align-items: center; gap: 17px; background: #e9e5dc; }
.lock-icon { width: 53px; height: 53px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: white; font: italic 25px Georgia, serif; }
.locked-card span, .body-card span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.locked-card h3, .body-card h3 { margin: 5px 0; font: 500 17px/1.35 Georgia, "Songti SC", serif; }
.anchor-card h3 { margin: 4px 0 0; font-size: 16px; }
.anchor-card #anchorProgress { font: 18px Georgia, serif; }
.anchor-card > p { margin: 13px 0 0; color: var(--muted); font-size: 12px; }
.body-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; }
.body-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: var(--yellow); }
.mini-button { border: 0; border-radius: 9px; background: #eee9df; padding: 7px 9px; cursor: pointer; font-size: 11px; }

.today-map { margin-top: 42px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 18px; }
.section-heading.compact { align-items: center; margin: 0; }
.section-heading h2 { margin: 5px 0 0; font: 500 clamp(22px, 2.5vw, 30px) Georgia, "Songti SC", serif; }
.section-heading h3 { margin: 4px 0 0; }
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.roadmap.collapsed { display: none; }
.roadmap-card {
  position: relative; min-height: 118px; padding: 15px; border: 1px solid var(--line);
  border-radius: 15px; background: rgba(255,255,255,.48);
}
.roadmap-card.current { border-color: var(--green-2); background: var(--card); }
.roadmap-card.done { opacity: .55; }
.roadmap-card.locked .roadmap-title { filter: blur(5px); user-select: none; }
.roadmap-index { color: var(--muted); font: 12px Georgia, serif; }
.roadmap-title { display: block; margin-top: 18px; font-size: 13px; font-weight: 700; }
.roadmap-type { position: absolute; left: 15px; bottom: 12px; color: var(--muted); font-size: 9px; }

.quick-entry { padding: 24px; border-radius: 18px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 15px; }
.quick-entry label, .brain-dump label, .dialog-card label { display: grid; gap: 7px; font-size: 12px; font-weight: 700; }
input, textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 11px; background: #fbf9f4;
  padding: 12px 13px; color: var(--ink);
}
textarea { resize: vertical; }
.input-help { margin: 9px 4px 25px; color: var(--muted); font-size: 11px; }
.deadline-list { display: grid; gap: 11px; }
.deadline-card {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: center;
  padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.58);
}
.deadline-date { text-align: center; }
.deadline-date strong { display: block; font: 25px Georgia, serif; }
.deadline-date span { color: var(--muted); font-size: 10px; }
.deadline-copy h3 { margin: 0 0 5px; font-size: 16px; }
.deadline-copy p { margin: 0; color: var(--muted); font-size: 11px; }
.deadline-side { display: grid; justify-items: end; gap: 9px; }
.item-actions { display: flex; gap: 6px; justify-content: flex-end; }
.item-action {
  border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px;
  background: transparent; color: var(--muted); cursor: pointer; font-size: 10px;
}
.item-action.danger:hover { color: #8f3826; border-color: #e4b8ad; }
.risk { padding: 7px 10px; border-radius: 99px; font-size: 10px; font-weight: 700; }
.risk.high { background: #f5d5cc; color: #8f3826; }
.risk.medium { background: #f3e2ae; color: #755500; }
.risk.low { background: #dce9d9; color: #2b5b40; }

.brain-dump { padding: 24px; border-radius: 18px; }
.form-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 13px; color: var(--muted); font-size: 11px; }
.project-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; margin-top: 25px; }
.project-column { padding: 18px; border-radius: 18px; background: rgba(255,255,255,.5); border: 1px solid var(--line); }
.project-column h3 { margin: 0; font: 500 18px Georgia, "Songti SC", serif; }
.project-column > p { margin: 5px 0 15px; color: var(--muted); font-size: 10px; }
.project-item { position: relative; padding: 12px 62px 12px 0; border-top: 1px solid var(--line); }
.project-item strong { display: block; font-size: 13px; }
.project-item small { color: var(--muted); font-size: 10px; }
.project-item .item-actions { position: absolute; right: 0; top: 9px; }

.meal-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 20px; }
.meal-days { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.meal-day { min-height: 180px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.58); }
.meal-day span { color: var(--coral); font-size: 10px; font-weight: 700; }
.meal-day h3 { margin: 8px 0 15px; font: 500 20px Georgia, "Songti SC", serif; }
.meal-day ul { padding-left: 18px; margin: 0; color: var(--muted); font-size: 12px; }
.shopping-panel { padding: 22px; border-radius: 18px; }
.shopping-group { margin-top: 18px; }
.shopping-group h4 { margin: 0 0 8px; font-size: 11px; color: var(--muted); }
.check-item { display: flex; gap: 9px; align-items: center; padding: 7px 0; font-size: 12px; }
.check-item input { width: auto; accent-color: var(--green); }
.check-item.checked { color: var(--muted); text-decoration: line-through; }
.panel-note { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }

.featured-reward {
  overflow: hidden; border-radius: 24px; background: var(--green); color: white;
  display: grid; grid-template-columns: .8fr 1.2fr; min-height: 390px; box-shadow: var(--shadow);
}
.reward-symbol {
  display: grid; place-items: center; color: var(--lime); font: 180px/1 Georgia, serif;
  background: radial-gradient(circle, rgba(217,230,163,.16), transparent 60%);
  transform: rotate(18deg);
}
.reward-copy { padding: clamp(28px, 5vw, 55px); display: flex; flex-direction: column; justify-content: center; }
.reward-copy h2 { margin: 17px 0 8px; font: 400 clamp(28px, 4vw, 45px) Georgia, "Songti SC", serif; }
.reward-copy > p { color: rgba(255,255,255,.72); }
.reward-question { margin: 17px 0 24px; padding-left: 15px; border-left: 2px solid var(--lime); }
.reward-question span { color: var(--lime); font-size: 10px; letter-spacing: .1em; font-weight: 700; }
.reward-question p { margin: 4px 0; }
.recommendation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.recommendation-card { min-height: 160px; padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: rgba(255,255,255,.55); }
.recommendation-card span { color: var(--muted); font-size: 10px; }
.recommendation-card h3 { margin: 12px 0 7px; font: 500 18px Georgia, "Songti SC", serif; }
.recommendation-card p { margin: 0; color: var(--muted); font-size: 11px; }

dialog { padding: 0; border: 0; border-radius: 22px; background: transparent; box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(26, 29, 26, .48); backdrop-filter: blur(4px); }
.dialog-card { position: relative; width: min(430px, calc(100vw - 30px)); padding: 31px; background: var(--card); }
.dialog-card h2 { margin: 7px 0 22px; font: 500 27px Georgia, "Songti SC", serif; }
.dialog-card label { margin-top: 13px; }
.dialog-card .checkbox-label { display: flex; grid-template-columns: none; align-items: center; gap: 9px; }
.dialog-card .checkbox-label input { width: auto; }
.module-settings { margin: 17px 0 4px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; }
.module-settings legend { padding: 0 5px; color: var(--muted); font-size: 11px; font-weight: 700; }
.module-settings .checkbox-label { margin-top: 8px; }
.data-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 17px; }
.data-actions .button { padding: 9px; }
.auth-copy { margin: 0 0 15px; color: var(--muted); font-size: 12px; }
.auth-note { display: block; margin-top: 12px; color: var(--muted); font-size: 10px; }
.auth-feedback { min-height: 18px; margin: 10px 0 0; color: var(--muted); font-size: 11px; }
.auth-feedback.success { color: var(--green-2); }
.auth-feedback.error { color: #9a3d29; }
.sync-line { display: flex; align-items: center; gap: 8px; margin: 15px 0; color: var(--muted); font-size: 11px; }
.sign-out-button { display: block; margin: 18px auto 0; font-size: 11px; }
.dialog-close { position: absolute; right: 14px; top: 12px; border: 0; background: transparent; cursor: pointer; font-size: 24px; color: var(--muted); }
.choice-button { width: 100%; padding: 15px; margin-top: 9px; border: 1px solid var(--line); border-radius: 13px; background: #f8f5ee; text-align: left; cursor: pointer; }
.choice-button span, .choice-button small { display: block; }
.choice-button span { font-weight: 700; }
.choice-button small { color: var(--muted); margin-top: 3px; }
.toast {
  position: fixed; z-index: 20; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  padding: 11px 17px; border-radius: 99px; background: var(--ink); color: white;
  opacity: 0; pointer-events: none; transition: .25s ease; font-size: 12px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .app-shell { display: block; }
  .sidebar { display: none; }
  .main-content { padding: 22px 20px 95px; }
  .now-grid, .meal-layout { grid-template-columns: 1fr; }
  .side-stack { display: none; }
  .roadmap { grid-template-columns: repeat(2, 1fr); }
  .project-columns, .recommendation-grid { grid-template-columns: 1fr 1fr; }
  .mobile-nav {
    position: fixed; z-index: 10; bottom: 0; left: 0; right: 0;
    display: grid; grid-template-columns: repeat(5, 1fr);
    padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-top: 1px solid var(--line); background: rgba(250,248,242,.93); backdrop-filter: blur(15px);
  }
  .mobile-nav .nav-item { justify-content: center; display: grid; gap: 0; text-align: center; padding: 5px; border-radius: 9px; }
  .mobile-nav .nav-item.active { color: var(--green); background: rgba(36,77,61,.08); }
  .mobile-nav small { font-size: 9px; }
}

@media (max-width: 620px) {
  .fate-card { align-items: flex-start; }
  .fate-card > span { display: none; }
  .mode-bar { align-items: stretch; display: grid; grid-template-columns: 1fr 1fr; }
  .mode-bar label { display: grid; gap: 4px; }
  .mode-bar select { width: 100%; }
  .mode-bar small { grid-column: 1 / -1; margin: 0; }
  .topbar { align-items: flex-start; margin-bottom: 16px; }
  .state-picker { max-width: 125px; }
  .account-button { width: 38px; padding: 0; justify-content: center; }
  .account-button #accountLabel { display: none; }
  .state-picker select { font-size: 12px; }
  .sprint-banner { padding: 13px 15px; align-items: center; flex-direction: row; gap: 12px; }
  .sprint-banner h2 { display: none; }
  .sprint-progress { width: 42%; margin-left: auto; }
  .sprint-progress .progress-track { margin-top: 4px; }
  .source-strip { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .source-strip::-webkit-scrollbar { display: none; }
  .source-strip span { flex: 0 0 auto; }
  .source-strip small { display: none; }
  .task-stage { min-height: auto; padding: 20px 17px; }
  .task-quote { margin-bottom: 15px; }
  .task-kicker { margin-top: 18px; }
  .task-description { margin: 11px auto; }
  .completion-rule { margin: 17px auto; }
  .timer { margin: 18px auto 12px; }
  .timer-main-row { gap: 6px; }
  .timer-adjuster { gap: 5px; padding: 3px; }
  .timer-display { font-size: 34px; }
  .timer-step { width: 25px; height: 25px; }
  .primary-actions { flex-direction: column-reverse; }
  .task-toolbar span { display: none; }
  .task-toolbar label { padding-left: 3px; }
  .anchor-inline { grid-template-columns: auto minmax(60px, 110px) auto; }
  .button { width: 100%; }
  .anchor-card, .body-card { display: none; }
  .locked-card { min-height: 105px; }
  .today-map { margin-top: 24px; }
  .quick-entry { grid-template-columns: 1fr; }
  .deadline-card { grid-template-columns: 62px 1fr; gap: 12px; }
  .deadline-side { grid-column: 2; justify-self: start; justify-items: start; }
  .project-columns, .recommendation-grid, .meal-days { grid-template-columns: 1fr; }
  .featured-reward { grid-template-columns: 1fr; }
  .reward-symbol { display: none; }
  .form-footer { align-items: stretch; flex-direction: column; }
}
