:root {
  --ink: #142a33;
  --ink-soft: #2b4149;
  --cream: #f6f4ee;
  --paper: #fffef9;
  --lime: #dceb73;
  --lime-deep: #bac94e;
  --coral: #f47c5d;
  --teal: #2f7c78;
  --teal-soft: #dcecea;
  --muted: #5f7074;
  --line: #d9ddd8;
  --shadow: 0 14px 36px rgba(20, 42, 51, .1);
  --radius: 22px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button,
a,
summary,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
.gantt-scroll:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 300;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.app-shell {
  width: min(100%, 760px);
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--cream);
}

.topbar {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(20, 42, 51, .08);
  background: rgba(246, 244, 238, .94);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--lime);
  font-family: system-ui, sans-serif;
  font-weight: 800;
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}

main {
  display: block;
}

.screen {
  min-height: calc(100dvh - 64px);
  padding: 28px 18px calc(116px + var(--safe-bottom));
}

.screen-heading {
  margin-bottom: 22px;
}

.screen-heading.with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(36px, 10vw, 52px);
  line-height: 1;
}

h2 {
  line-height: 1.16;
}

.eyebrow {
  margin-bottom: 7px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.return-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 13px 15px;
  border-radius: 16px;
  background: var(--teal-soft);
  color: var(--ink-soft);
}

.return-note > span {
  display: grid;
  flex: 0 0 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-weight: 800;
}

.return-note p,
.install-banner p {
  margin: 0;
  font-size: 14px;
}

.install-banner {
  display: grid;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px dashed #9ca8a5;
  border-radius: 18px;
  background: rgba(255, 254, 249, .68);
}

.install-banner strong {
  display: block;
  margin-bottom: 3px;
}

.install-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.mission-card,
.panel,
.planner-card,
.progress-hero {
  border: 1px solid rgba(20, 42, 51, .11);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.mission-card {
  padding: 22px;
  border-radius: 26px;
}

.mission-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mission-card h2 {
  max-width: 14ch;
  margin-bottom: 8px;
  font-size: clamp(29px, 8vw, 40px);
}

.mission-project {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
}

.mission-first-step {
  margin-bottom: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.mission-first-step span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.mission-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mission-actions .button-primary,
.mission-actions .button-secondary {
  grid-column: 1 / -1;
}

.button {
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.button:active {
  transform: translateY(1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.button-primary {
  min-height: 56px;
  background: var(--lime);
  color: var(--ink);
}

.button-primary:hover {
  background: #e5f083;
}

.button-secondary {
  background: var(--teal);
  color: white;
}

.button-help {
  border-color: var(--coral);
  background: #fff9f6;
  color: #8f321c;
}

.button-outline {
  border-color: var(--ink);
  background: transparent;
}

.button-quiet {
  background: transparent;
  color: var(--muted);
}

.button-wide {
  width: 100%;
}

.calm-details,
.advanced-details {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 254, 249, .64);
}

.calm-details summary,
.advanced-details summary {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}

.calm-details summary::-webkit-details-marker,
.advanced-details summary::-webkit-details-marker {
  display: none;
}

.calm-details[open] summary span {
  transform: rotate(45deg);
}

.soft-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0 16px 12px;
  list-style: none;
}

.soft-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #eeede7;
  color: var(--ink-soft);
}

.soft-dot {
  flex: 0 0 8px;
  height: 8px;
  border-radius: 50%;
  background: #a7afaa;
}

.microcopy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.calm-details .microcopy {
  padding: 0 16px 16px;
}

.centered {
  text-align: center;
}

.step-chip {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
}

.planner-intro {
  margin-bottom: 16px;
  color: var(--ink-soft);
}

.planner-list {
  display: grid;
  gap: 10px;
}

.activity-choice {
  display: grid;
  grid-template-columns: 28px 1fr;
  width: 100%;
  min-height: 64px;
  gap: 12px;
  align-items: center;
  padding: 13px;
  border: 2px solid var(--line);
  border-radius: 17px;
  background: var(--paper);
  cursor: pointer;
  text-align: left;
}

.activity-choice[aria-pressed="true"] {
  border-color: var(--ink);
  background: var(--lime);
}

.choice-indicator {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 2px solid #8d9997;
  border-radius: 9px;
  background: white;
  font-weight: 900;
}

.activity-choice[aria-pressed="true"] .choice-indicator {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--lime);
}

.activity-choice strong,
.activity-choice small {
  display: block;
}

.activity-choice small {
  margin-top: 2px;
  color: var(--muted);
}

.planner-footer {
  position: sticky;
  z-index: 5;
  bottom: calc(80px + var(--safe-bottom));
  margin-top: 18px;
  padding: 12px;
  border: 1px solid rgba(20, 42, 51, .1);
  border-radius: 18px;
  background: rgba(246, 244, 238, .94);
  box-shadow: 0 -8px 24px rgba(20, 42, 51, .08);
  backdrop-filter: blur(12px);
}

.planner-card {
  margin-bottom: 14px;
  padding: 16px;
  border-radius: 20px;
}

.planner-card h2 {
  margin-bottom: 4px;
  font-size: 21px;
}

.planner-card > p {
  margin-bottom: 15px;
  color: var(--muted);
  font-size: 13px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field-grid label,
.field-label {
  display: grid;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.field-grid .full {
  grid-column: 1 / -1;
}

select,
.text-input,
input[type="date"],
input[type="time"] {
  min-width: 0;
  min-height: 48px;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #aeb9b5;
  border-radius: 12px;
  background: white;
  color: var(--ink);
}

.day-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 13px;
}

.day-picker > span {
  flex: 1 0 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.day-picker button {
  min-width: 45px;
  min-height: 45px;
  padding: 8px;
  border: 1px solid #9aa6a2;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  font-weight: 800;
}

.day-picker button[aria-pressed="true"] {
  border: 2px solid var(--ink);
  background: var(--lime);
}

.preview-card {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: var(--ink);
  color: white;
}

.preview-card h2 {
  margin-bottom: 6px;
  font-size: 25px;
}

.preview-number {
  margin-bottom: 16px;
  color: var(--lime);
  font-size: 17px;
  font-weight: 800;
}

.preview-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.preview-list li {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .09);
  font-size: 14px;
}

.preview-warning {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff1e8;
  color: #75301f;
  font-size: 13px;
  font-weight: 700;
}

.export-actions {
  display: grid;
  gap: 8px;
}

.preview-card .button-quiet {
  color: #e9efed;
}

.segmented {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--paper);
}

.segmented button {
  min-height: 42px;
  padding: 7px 11px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.segmented button[aria-pressed="true"] {
  background: var(--ink);
  color: white;
}

.gantt-scroll {
  overflow-x: auto;
  margin: 16px -18px 0;
  padding: 0 18px 18px;
}

.gantt {
  position: relative;
  width: 720px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.gantt-months,
.gantt-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5px;
}

.gantt-months {
  margin-left: 136px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}

.gantt-row {
  position: relative;
  min-height: 62px;
  margin-left: 136px;
  align-items: center;
  border-top: 1px solid #ecece6;
}

.gantt-label {
  position: absolute;
  right: calc(100% + 14px);
  width: 122px;
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.gantt-bar {
  z-index: 2;
  grid-column: var(--start) / span var(--span);
  min-height: 34px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 11px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bar-explore { background: var(--lime); }
.bar-choose { background: var(--teal-soft); }
.bar-prepare { background: #f8c9b9; }
.bar-act { background: #d9d6ee; }

.today-line {
  position: absolute;
  z-index: 4;
  top: 42px;
  bottom: 18px;
  left: 168px;
  width: 2px;
  background: var(--coral);
}

.today-line span {
  position: absolute;
  top: -24px;
  left: -9px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--coral);
  color: #542011;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.milestone-row {
  display: grid;
  gap: 10px;
  margin-top: 15px;
}

.milestone-row article {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 254, 249, .68);
}

.milestone-row strong,
.milestone-row small {
  display: block;
}

.milestone-row small {
  margin-top: 2px;
  color: var(--muted);
}

.milestone-dot {
  width: 16px;
  height: 16px;
  border: 4px solid var(--cream);
  border-radius: 50%;
  outline: 2px solid var(--coral);
  background: var(--coral);
}

.milestone-dot.alt {
  outline-color: var(--teal);
  background: var(--teal);
}

.phase-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.phase-list li {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
  padding-bottom: 24px;
}

.phase-list li::before {
  position: absolute;
  top: 48px;
  bottom: 0;
  left: 23px;
  width: 2px;
  background: var(--line);
  content: "";
}

.phase-list li:last-child::before { display: none; }

.phase-list li > span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font-weight: 900;
}

.phase-list li.is-current > span {
  border-color: var(--ink);
  background: var(--lime);
}

.phase-list strong,
.phase-list small {
  display: block;
}

.phase-list small {
  color: var(--teal);
  font-size: 13px;
  font-weight: 750;
}

.phase-list p {
  margin: 5px 0 0;
  color: var(--muted);
}

.progress-hero {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px;
  border-radius: 24px;
}

.progress-ring {
  --progress: 42%;
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--teal) var(--progress), #e4e7e2 0);
}

.progress-ring::before {
  grid-area: 1 / 1;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.progress-ring span {
  z-index: 1;
  grid-area: 1 / 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 700;
}

.progress-ring small { font-size: 16px; }

.progress-hero h2 {
  margin-bottom: 5px;
  font-size: 25px;
}

.progress-hero p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.panel {
  margin-bottom: 16px;
  padding: 18px;
  border-radius: 22px;
}

.panel h2 {
  margin-bottom: 18px;
  font-size: 23px;
}

.progress-item + .progress-item {
  margin-top: 18px;
}

.progress-item > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  font-size: 14px;
}

.progress-item span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #e3e6e1;
}

.bar-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--teal);
}

.history-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.history-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
}

.history-list li > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
}

.history-list li.neutral > span {
  background: var(--teal-soft);
}

.history-list strong,
.history-list small {
  display: block;
}

.history-list small {
  color: var(--muted);
}

.quick-add {
  position: fixed;
  z-index: 45;
  right: max(18px, calc((100vw - 724px) / 2));
  bottom: calc(82px + var(--safe-bottom));
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 19px;
  background: var(--coral);
  box-shadow: 0 10px 24px rgba(87, 37, 23, .2);
  color: #4e1e12;
  cursor: pointer;
  font-size: 30px;
  line-height: 1;
}

.bottom-nav {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(100%, 760px);
  min-height: calc(68px + var(--safe-bottom));
  margin: 0 auto;
  padding: 5px 6px var(--safe-bottom);
  border-top: 1px solid rgba(20, 42, 51, .11);
  background: rgba(255, 254, 249, .97);
  box-shadow: 0 -10px 30px rgba(20, 42, 51, .08);
  backdrop-filter: blur(14px);
}

.bottom-nav button {
  min-height: 58px;
  padding: 6px 2px;
  border: 0;
  border-radius: 13px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 750;
}

.bottom-nav button > span:first-child {
  display: block;
  margin-bottom: 2px;
  font-size: 19px;
  line-height: 1;
}

.bottom-nav button[aria-current="page"] {
  background: var(--teal-soft);
  color: var(--ink);
}

.sheet-dialog {
  width: min(100% - 20px, 560px);
  max-height: min(88dvh, 760px);
  margin: auto auto 0;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 26px 26px 0 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 -24px 70px rgba(20, 42, 51, .25);
}

.sheet-dialog::backdrop {
  background: rgba(20, 42, 51, .6);
  backdrop-filter: blur(3px);
}

.sheet-card {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 10px 18px calc(24px + var(--safe-bottom));
}

.sheet-handle {
  width: 44px;
  height: 5px;
  margin: 0 auto 4px;
  border-radius: 999px;
  background: #c9cfcb;
}

.sheet-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.sheet-heading h2 {
  max-width: 18ch;
  margin: 0;
  font-size: 29px;
}

.icon-button {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  cursor: pointer;
  font-size: 25px;
}

.choice-stack {
  display: grid;
  gap: 10px;
}

.choice-card {
  min-height: 72px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  cursor: pointer;
  text-align: left;
}

.choice-card:hover {
  border-color: var(--teal);
  background: var(--teal-soft);
}

.choice-card span,
.choice-card small {
  display: block;
}

.choice-card span {
  margin-bottom: 3px;
  font-weight: 850;
}

.choice-card small {
  color: var(--muted);
}

.pill-fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.pill-fieldset legend {
  width: 100%;
  margin-bottom: 7px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.pill-fieldset label {
  position: relative;
}

.pill-fieldset input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pill-fieldset label span,
.pill-fieldset button {
  display: grid;
  min-height: 46px;
  place-items: center;
  padding: 9px 14px;
  border: 1px solid #9aa6a2;
  border-radius: 13px;
  background: white;
  cursor: pointer;
  font-weight: 750;
}

.pill-fieldset input:checked + span,
.pill-fieldset button[aria-pressed="true"] {
  border: 2px solid var(--ink);
  background: var(--lime);
}

.pill-fieldset input:focus-visible + span {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.advanced-details {
  margin-top: 0;
}

.advanced-details summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
}

.advanced-details .field-grid {
  padding: 0 14px 16px;
}

.toast {
  position: fixed;
  z-index: 250;
  right: 18px;
  bottom: calc(90px + var(--safe-bottom));
  left: 18px;
  max-width: 520px;
  min-height: 48px;
  margin: 0 auto;
  padding: 13px 16px;
  border-radius: 15px;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: white;
  font-weight: 750;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .18s ease, transform .18s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 620px) {
  .topbar,
  .screen {
    padding-right: 30px;
    padding-left: 30px;
  }

  .install-banner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .planner-list {
    grid-template-columns: 1fr 1fr;
  }

  .planner-card .field-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .planner-card .field-grid .full {
    grid-column: span 2;
  }

  .milestone-row {
    grid-template-columns: 1fr 1fr;
  }

  .sheet-dialog {
    margin-bottom: 24px;
    border-radius: 26px;
  }
}

@media (max-width: 370px) {
  .topbar { padding-inline: 12px; }
  .screen { padding-inline: 14px; }
  .brand { font-size: 20px; }
  .topbar-status { padding-inline: 8px; }
  .mission-card { padding: 18px; }
  .mission-actions { grid-template-columns: 1fr; }
  .mission-actions > * { grid-column: 1 !important; }
  .field-grid { grid-template-columns: 1fr; }
  .progress-hero { grid-template-columns: 90px 1fr; }
  .progress-ring { width: 88px; height: 88px; }
  .progress-ring::before { width: 64px; height: 64px; }
  .progress-ring span { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .topbar,
  .bottom-nav,
  .quick-add,
  .install-banner {
    display: none !important;
  }

  .screen {
    display: block !important;
    min-height: 0;
    padding: 20px;
    break-after: page;
  }
}
