:root {
  --accent: #cf3e2b;
  --accent-dark: #8f2117;
  --accent-soft: #f5d4ca;
  --tomato: #d8422f;
  --tomato-deep: #9f291d;
  --tomato-pale: #f8ddd4;
  --leaf: #47644a;
  --leaf-soft: #dbe7d6;
  --timer-track: #e7dac7;
  --timer-ink: #21150f;
}

body[data-site="pomodoro"] {
  background-image:
    radial-gradient(circle at 88% 7%, rgba(207, 62, 43, .08), transparent 23rem),
    radial-gradient(circle at 4% 38%, rgba(71, 100, 74, .055), transparent 20rem),
    linear-gradient(rgba(25, 21, 16, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 21, 16, .035) 1px, transparent 1px);
  background-size: auto, auto, 28px 28px, 28px 28px;
}

.brand-mark {
  background: var(--tomato);
  transform: rotate(-2deg);
}

.hero {
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr);
  padding-block: clamp(48px, 7vw, 88px) 68px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(54px, 7.3vw, 92px);
  line-height: .99;
  letter-spacing: -.07em;
}

.hero h1 em {
  display: inline-block;
  transform: rotate(-2deg);
}

.hero h1 em::after {
  height: 12px;
  bottom: 7px;
  left: -.03em;
  right: -.03em;
  background: var(--tomato-pale);
}

.hero-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: #51483d;
  font-size: 16px;
  line-height: 1.85;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 25px;
}

.hero-facts span {
  padding: 6px 10px;
  color: var(--tomato-deep);
  background: rgba(255, 250, 241, .74);
  border: 1px solid #cbb9a1;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .035em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}

.hero-actions .button {
  min-width: 196px;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: var(--tomato);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.recipe-card {
  isolation: isolate;
  overflow: hidden;
  min-height: 500px;
  padding: 30px;
  color: #fff7ec;
  background: var(--timer-ink);
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: 11px 11px 0 var(--tomato);
}

.recipe-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 220px;
  height: 220px;
  right: -92px;
  bottom: -104px;
  border: 34px solid rgba(216, 66, 47, .22);
  border-radius: 50%;
}

.recipe-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 16px;
  right: 16px;
  bottom: 16px;
  left: 16px;
  border: 1px dashed rgba(255, 247, 236, .13);
  border-radius: 19px;
  pointer-events: none;
}

.recipe-kicker {
  margin: 0;
  color: #c9b9a7 !important;
  font-family: var(--font-mono);
  font-size: 9px !important;
  letter-spacing: .14em;
}

.recipe-equation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}

.recipe-equation div {
  display: grid;
  gap: 2px;
}

.recipe-equation strong {
  font-family: var(--font-display);
  font-size: clamp(45px, 5.2vw, 66px);
  font-weight: 700;
  line-height: .95;
  letter-spacing: -.06em;
}

.recipe-equation span {
  color: #cbbba8;
  font-size: 10px;
}

.recipe-equation b {
  color: var(--tomato);
  font-family: var(--font-display);
  font-size: 31px;
  font-weight: 400;
}

.tomato-figure {
  position: absolute;
  top: 164px;
  right: 28px;
  display: grid;
  place-items: center;
  width: 106px;
  height: 94px;
  color: #fff7ec;
  background: var(--tomato);
  border: 2px solid #160e0a;
  border-radius: 49% 51% 46% 54% / 55% 55% 45% 45%;
  box-shadow: 5px 5px 0 #080503;
  transform: rotate(7deg);
}

.tomato-figure::before,
.tomato-figure::after,
.tomato-figure i {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  width: 19px;
  height: 28px;
  background: var(--leaf);
  border: 2px solid #160e0a;
  border-radius: 80% 15% 80% 15%;
  transform-origin: 50% 100%;
}

.tomato-figure::before { transform: translateX(-50%) rotate(-43deg); }
.tomato-figure::after { transform: translateX(-50%) rotate(43deg); }
.tomato-figure i { transform: translateX(-50%) rotate(2deg); }
.tomato-figure b { font-family: var(--font-mono); font-size: 22px; letter-spacing: -.05em; }

.recipe-card h2 {
  margin: 112px 0 12px;
  color: #fff7ec;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 35px);
  line-height: 1.2;
  letter-spacing: -.035em;
}

.recipe-card > p:not(.recipe-kicker) {
  max-width: 310px;
  margin: 0;
  color: #b9aa98 !important;
  font-size: 12px;
  line-height: 1.75;
}

.recipe-footer {
  position: absolute;
  right: 30px;
  bottom: 27px;
  left: 30px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding-top: 13px;
  color: #918170;
  border-top: 1px solid #3d332b;
  font-family: var(--font-mono);
  font-size: 9px;
}

.tool-section {
  grid-template-columns: minmax(0, 1.28fr) minmax(310px, .72fr);
  gap: 28px;
  scroll-margin-top: 28px;
}

.timer-card {
  position: relative;
  padding: clamp(22px, 3.3vw, 36px);
  overflow: hidden;
  background: rgba(255, 250, 241, .92);
  border: 1.5px solid var(--ink);
  box-shadow: 7px 7px 0 var(--tomato);
}

.timer-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--tomato) 0 64%, var(--leaf) 64% 100%);
}

.tool-heading {
  align-items: flex-start;
}

.tool-heading h2 {
  font-size: clamp(27px, 3.5vw, 40px);
}

.timer-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid #c8b8a1;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 9px;
  white-space: nowrap;
}

.timer-live::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #a89a88;
  border-radius: 50%;
}

.timer-live.is-running {
  color: var(--tomato-deep);
  border-color: #d99b8c;
  background: var(--tomato-pale);
}

.timer-live.is-running::before {
  background: var(--tomato);
  box-shadow: 0 0 0 4px rgba(207, 62, 43, .14);
  animation: live-pulse 1.6s ease-in-out infinite;
}

.timer-live.is-complete {
  color: #2d5732;
  border-color: #99b492;
  background: var(--leaf-soft);
}

.timer-live.is-complete::before { background: var(--leaf); }

@keyframes live-pulse {
  50% { opacity: .35; transform: scale(.78); }
}

.preset-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 23px;
}

.preset-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 46px;
  padding: 9px 12px;
  color: var(--muted);
  background: transparent;
  border: 1px dashed #b5a48f;
  border-radius: 9px;
  font-size: 11px;
  cursor: pointer;
}

.preset-button b {
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
}

.preset-button i {
  padding: 1px 4px;
  color: var(--card);
  background: var(--tomato-deep);
  border-radius: 3px;
  font-size: 8px;
  font-style: normal;
}

.preset-button.is-active {
  color: var(--tomato-deep);
  background: var(--tomato-pale);
  border-color: var(--tomato);
  border-style: solid;
}

.preset-button:disabled {
  cursor: not-allowed;
}

.mode-tabs {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 15px 0 8px;
  background: var(--paper-deep);
}

.mode-tab {
  min-width: 96px;
  color: #62584c;
  font-size: 12px;
}

.mode-tab i {
  margin-left: 2px;
  padding: 1px 3px;
  color: var(--card);
  background: var(--tomato-deep);
  border-radius: 2px;
  font-size: 7px;
  font-style: normal;
  vertical-align: 1px;
}

.mode-tab.is-active {
  background: var(--tomato);
  box-shadow: 2px 2px 0 var(--ink);
}

.timer-stage {
  display: grid;
  place-items: center;
  padding: 18px 0 4px;
}

.timer-dial {
  position: relative;
  width: min(100%, 390px);
  aspect-ratio: 1;
}

.timer-ring {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.ring-track,
.ring-progress,
.ring-inner {
  fill: none;
}

.ring-track {
  stroke: var(--timer-track);
  stroke-width: 10;
}

.ring-progress {
  stroke: var(--tomato);
  stroke-width: 11;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  transform: rotate(-90deg);
  transform-origin: 150px 150px;
  transition: stroke-dashoffset .24s linear;
}

.ring-inner {
  stroke: #cfc0ac;
  stroke-width: 1;
  stroke-dasharray: 2 8;
}

.timer-face {
  position: absolute;
  inset: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  background: #fffaf2;
  border: 1px solid #d7c9b5;
  border-radius: 50%;
}

.timer-face::before {
  content: "";
  position: absolute;
  top: 28px;
  width: 5px;
  height: 5px;
  background: var(--leaf);
  border-radius: 50%;
  box-shadow: -6px 4px 0 -1px var(--leaf), 6px 4px 0 -1px var(--leaf);
}

.timer-mode {
  margin: 15px 0 0;
  color: var(--tomato-deep);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .12em;
}

#result.timer-digits {
  margin: 5px 0 0;
  padding: 0;
  color: var(--timer-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: clamp(58px, 8vw, 84px);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.075em;
  white-space: nowrap;
}

.timer-status {
  max-width: 230px;
  min-height: 36px;
  margin: 10px 0 0;
  color: #756858;
  font-size: 10.5px;
  line-height: 1.65;
}

.timer-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.timer-run {
  min-width: 140px;
  font-size: 14px;
}

.timer-note {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10px;
}

.timer-progress-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 21px;
  padding-top: 13px;
  color: var(--muted);
  border-top: 1px dashed #c8b8a1;
  font-family: var(--font-mono);
  font-size: 9px;
}

.timer-progress-line b { color: var(--tomato-deep); font-size: 11px; }

.today-card {
  background: rgba(255, 250, 241, .9);
  box-shadow: 5px 5px 0 var(--ink);
}

.today-date {
  flex: 0 0 auto;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
}

.today-count {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 20px;
}

.today-count strong {
  color: var(--tomato);
  font-family: var(--font-display);
  font-size: clamp(66px, 9vw, 92px);
  line-height: .85;
  letter-spacing: -.07em;
}

.today-count span {
  max-width: 92px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.tomato-meter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 21px;
}

.tomato-meter i {
  position: relative;
  width: 27px;
  height: 24px;
  background: #e7d9c8;
  border: 1px solid #b9a68e;
  border-radius: 48% 52% 46% 54% / 54% 55% 45% 46%;
}

.tomato-meter i::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 50%;
  width: 9px;
  height: 8px;
  background: #e7d9c8;
  border: 1px solid #b9a68e;
  border-radius: 80% 10% 80% 10%;
  transform: translateX(-50%) rotate(-16deg);
}

.tomato-meter i.is-filled {
  background: var(--tomato);
  border-color: var(--tomato-deep);
  box-shadow: inset -3px -3px 0 rgba(119, 28, 18, .16);
}

.tomato-meter i.is-filled::before {
  background: var(--leaf);
  border-color: #2c492f;
}

.tomato-meter-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.today-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 21px 0 0;
}

.today-facts div {
  min-width: 0;
  padding: 11px;
  background: var(--paper);
  border: 1px solid #d5c5b0;
  border-radius: 9px;
}

.today-facts dt {
  color: var(--muted);
  font-size: 9px;
}

.today-facts dd {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 650;
}

.today-stats {
  margin-top: 21px;
  padding: 18px;
  color: #fff6e9;
  background: var(--timer-ink);
  border: 1px solid #080503;
  border-radius: 15px;
  box-shadow: 3px 3px 0 var(--tomato);
}

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

.stats-heading .section-index {
  color: #d99889;
  font-size: 8px;
}

.stats-heading h3 {
  margin: 3px 0 0;
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.25;
}

.stats-heading .premium-chip {
  color: #2b160f;
  background: #ffc9b9;
  border-color: #ffc9b9;
}

.mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}

.mini-stats div {
  padding: 10px;
  background: #30241d;
  border: 1px solid #4b3a2e;
  border-radius: 8px;
}

.mini-stats strong {
  display: block;
  color: #fff6e9;
  font-family: var(--font-mono);
  font-size: 22px;
  line-height: 1.2;
}

.mini-stats span {
  color: #b7a490;
  font-size: 9px;
}

.today-stats .lock-note {
  margin: 13px 0 0;
  padding: 9px 10px;
  color: #ffd5ca;
  background: rgba(207, 62, 43, .18);
  border-left-color: var(--tomato);
  font-size: 10px;
}

.stats-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}

.stats-actions .button {
  flex: 1 1 auto;
  padding-inline: 9px;
  color: #f4eadc;
  background: #30241d;
  border-color: #695445;
  font-size: 10px;
}

.privacy-note {
  margin: 18px 0 0;
  color: #8b7e6e;
  font-size: 9px;
  line-height: 1.6;
}

.premium-shell {
  margin-top: 54px;
  scroll-margin-top: 28px;
}

.premium-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: 22px;
  align-items: stretch;
  margin-top: 22px;
}

.premium-grid .premium-card {
  min-width: 0;
  box-shadow: 5px 5px 0 var(--tomato);
}

.premium-grid .premium-chip {
  color: var(--card);
  background: var(--tomato-deep);
  border-color: var(--tomato-deep);
}

.settings-card .card-heading,
.task-card .card-heading {
  align-items: flex-start;
}

.settings-card h2,
.task-card h2 {
  font-size: clamp(23px, 2.7vw, 30px);
}

.timer-settings-grid {
  gap: 13px;
}

.timer-field {
  color: #5f5448;
  font-size: 11px;
}

.input-with-unit {
  display: flex;
  align-items: center;
  margin-top: 7px;
}

.input-with-unit input {
  border-radius: 9px 0 0 9px;
}

.input-with-unit em {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 10px;
  color: var(--muted);
  background: var(--paper-deep);
  border: 1.5px solid #8a7b68;
  border-left: 0;
  border-radius: 0 9px 9px 0;
  font-size: 9px;
  font-style: normal;
  white-space: nowrap;
}

.input-with-unit input:disabled + em {
  color: #8b8175;
  background: #eee6da;
}

.settings-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.settings-actions > span {
  color: var(--muted);
  font-size: 9.5px;
}

.settings-message {
  min-height: 20px;
  margin-bottom: 0;
}

.settings-message.is-error {
  color: #9c2813;
}

.rhythm-sample {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px dashed #cfc0ad;
}

.rhythm-sample span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: var(--tomato-deep);
  background: var(--tomato-pale);
  border: 1px solid #e0a99c;
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 8px;
}

.rhythm-sample i {
  width: 6px;
  height: 1px;
  background: #c4b29b;
}

.rhythm-sample b {
  margin-left: 3px;
  padding: 4px 6px;
  color: #2d5732;
  background: var(--leaf-soft);
  border: 1px solid #a6bda0;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 600;
}

.task-card {
  background: linear-gradient(145deg, #fffaf1, #fbf1e2);
}

.task-count {
  flex: 0 0 auto;
  color: var(--tomato-deep);
  font-family: var(--font-mono);
  font-size: 9px;
}

.task-add {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}

.task-add input {
  flex: 1;
  min-width: 0;
}

.task-add .button {
  flex: 0 0 auto;
}

.task-list {
  display: grid;
  gap: 8px;
  max-height: 318px;
  margin: 16px 0 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
}

.task-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 6px;
  min-height: 56px;
  padding: 5px 8px 5px 4px;
  background: rgba(255, 253, 248, .86);
  border: 1px solid #d5c5b0;
  border-radius: 9px;
}

.task-check-wrap {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.task-item input[type="checkbox"] {
  width: 21px;
  height: 21px;
  margin: 0;
}

.task-text {
  min-width: 0;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.task-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 7px;
  min-width: 0;
}

.task-item.is-done .task-text {
  color: #958878;
  text-decoration: line-through;
  text-decoration-color: var(--tomato);
}

.task-done-tag {
  padding: 2px 5px;
  color: #2d5732;
  background: var(--leaf-soft);
  border-radius: 3px;
  font-size: 8px;
  white-space: nowrap;
}

.task-delete {
  min-height: 44px;
  padding: 5px 8px;
  color: #8a3e30;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 9px;
  cursor: pointer;
}

.task-delete:hover:not(:disabled) {
  background: var(--tomato-pale);
  border-color: #dca99c;
}

.task-delete:disabled { cursor: not-allowed; opacity: .45; }

.task-empty {
  padding: 28px 16px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 253, 248, .58);
  border: 1px dashed #b9a88f;
  border-radius: 9px;
  font-size: 11px;
}

.task-message {
  min-height: 18px;
  margin: 11px 0 0;
  color: var(--green);
  font-size: 10px;
}

.guide-shell,
.faq-shell {
  margin-top: 54px;
}

.guide-heading h2 {
  color: var(--ink);
}

.how-to-grid li > span {
  background: var(--tomato);
}

.faq-list summary::after {
  color: var(--accent-dark);
}

.unlock-section {
  margin-top: 58px;
}

.premium-map {
  box-shadow: 5px 5px 0 var(--tomato);
}

.site-footer .brand-mark.small {
  color: var(--ink);
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .recipe-card {
    min-height: 470px;
  }

  .tomato-figure {
    top: 133px;
    right: 48px;
  }

  .recipe-card h2 {
    margin-top: 82px;
  }

  .tool-section {
    grid-template-columns: 1fr;
  }

  .today-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr);
    column-gap: 24px;
  }

  .today-card .card-heading,
  .today-card .privacy-note {
    grid-column: 1 / -1;
  }

  .today-stats {
    grid-column: 2;
    grid-row: 2 / span 4;
    margin-top: 18px;
  }

  .today-count,
  .tomato-meter,
  .tomato-meter-note,
  .today-facts {
    grid-column: 1;
  }

  .premium-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .top-nav {
    gap: 11px;
    font-size: 11px;
  }

  .hero {
    padding-top: 41px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(47px, 14vw, 66px);
  }

  .hero h1 em::after {
    bottom: 4px;
    height: 8px;
  }

  .hero-lead {
    font-size: 14px;
  }

  .recipe-card {
    min-height: 405px;
    padding: 23px;
    box-shadow: 8px 8px 0 var(--tomato);
  }

  .recipe-card h2 {
    max-width: 245px;
    margin-top: 76px;
    font-size: 27px;
  }

  .tomato-figure {
    top: 129px;
    right: 27px;
    width: 88px;
    height: 78px;
  }

  .recipe-footer {
    right: 23px;
    bottom: 22px;
    left: 23px;
  }

  .timer-card,
  .today-card {
    padding: 20px;
    box-shadow: 4px 4px 0 var(--tomato);
  }

  .timer-card::before {
    height: 5px;
  }

  .timer-stage {
    padding-top: 10px;
  }

  .timer-note {
    flex: 1 0 100%;
    margin-left: 0;
  }

  .today-card {
    display: block;
  }

  .today-stats {
    margin-top: 21px;
  }

  .settings-card,
  .task-card {
    padding: 21px;
  }

  .rhythm-sample {
    flex-wrap: wrap;
  }

  .guide-shell,
  .faq-shell {
    margin-top: 44px;
  }
}

@media (max-width: 460px) {
  .header-inner {
    align-items: flex-start;
  }

  .brand-copy strong {
    font-size: 14px;
  }

  .top-nav {
    justify-content: flex-end;
    gap: 7px 10px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-link {
    margin-left: 4px;
  }

  .recipe-equation strong {
    font-size: 43px;
  }

  .tomato-figure {
    top: 104px;
    right: 22px;
    width: 77px;
    height: 70px;
  }

  .recipe-card h2 {
    margin-top: 75px;
    font-size: 24px;
  }

  .recipe-card > p:not(.recipe-kicker) {
    max-width: 245px;
    font-size: 11px;
  }

  .preset-strip {
    grid-template-columns: 1fr;
  }

  .mode-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .mode-tab {
    min-width: 0;
    padding-inline: 5px;
    font-size: 11px;
  }

  .timer-face {
    inset: 23px;
  }

  #result.timer-digits {
    font-size: clamp(51px, 17vw, 70px);
  }

  .timer-status {
    max-width: 175px;
    margin-top: 8px;
    font-size: 9.5px;
  }

  .timer-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .timer-actions .button {
    width: 100%;
  }

  .timer-note {
    text-align: center;
  }

  .timer-progress-line {
    font-size: 8px;
  }

  .today-facts {
    grid-template-columns: 1fr;
  }

  .mini-stats {
    grid-template-columns: 1fr 1fr;
  }

  .settings-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .settings-actions .button {
    width: 100%;
  }

  .task-add {
    flex-direction: column;
  }

  .task-add .button {
    width: 100%;
  }

  .task-item {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .task-done-tag {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timer-live.is-running::before {
    animation: none;
  }
}
