.fs-page > .sd-page-heading { margin-top: clamp(18px, 2.7vw, 29px); }
.fs-page .sd-page-heading h1 { margin-top: 0; }
.fs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(14px, 2vw, 22px);
}
.fs-timer-card {
  min-width: 0;
  padding: clamp(19px, 2.7vw, 34px);
  border-radius: var(--sd-card-radius);
  background: radial-gradient(ellipse at 100% 0%, #456947 0%, transparent 68%), #203f33;
  color: #f9fbed;
}
.fs-timer-idle { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.fs-timer-heading { display: flex; align-items: center; gap: 13px; }
.fs-timer-icon, .fs-goal-icon {
  display: inline-grid;
  width: 41px;
  height: 41px;
  flex: none;
  place-items: center;
  border-radius: 11px;
}
.fs-timer-icon { background: #e3efc628; color: #e0f28e; }
.fs-goal-icon { background: #e9efdd; color: #426540; }
.fs-page .fs-timer-card h2 { color: inherit; font-size: clamp(1.22rem, 2vw, 1.65rem); }
.fs-page .fs-timer-card p { margin-top: 4px; color: #e2eadd; font-size: .86rem; }
.fs-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.fs-timer-card .jr-btn-primary { border-color: #def28f; background: #def28f; color: #24442d; }
.fs-timer-card .jr-btn-primary:hover { border-color: #edf9ad; background: #edf9ad; }
.fs-timer-card .jr-btn-secondary { border-color: #8ca298; background: transparent; color: #f8fbef; }
.fs-timer-card .jr-btn-secondary:hover { background: #ffffff18; }
.fs-timer-card :is(button, a):focus-visible { outline-color: #def28f; }
.fs-small-actions { margin-top: 8px; column-gap: 15px; }
.fs-small-actions .jr-text-btn { color: #e6efd9; }
.fs-reading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 5px 14px; }
.fs-timer-card .fs-reading { margin: clamp(22px, 3vw, 34px) 0 12px; }
.fs-counter { font-size: clamp(2rem, 8cqi, 3.6rem); line-height: 1; font-weight: 800; letter-spacing: -.055em; font-variant-numeric: lining-nums tabular-nums; }
.fs-status { font-size: .83rem; font-weight: 700; }
.fs-timer-card .fs-status { padding: 4px 10px; border-radius: 99px; background: #ffffff15; }
.fs-timer-card .fs-status.is-attained { color: var(--sd-citron); }
.fs-progress {
  width: 100%;
  height: 7px;
  display: block;
  border: 0;
  border-radius: 99px;
  overflow: hidden;
  appearance: none;
  background: #dfe9db;
  color: #5d834d;
}
.fs-progress::-webkit-progress-bar { background: transparent; }
.fs-progress::-webkit-progress-value { background: currentColor; border-radius: 99px; }
.fs-progress::-moz-progress-bar { background: currentColor; border-radius: 99px; }
.fs-timer-card .fs-progress { background: #d7e5ca3b; color: var(--sd-citron); }
.fs-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
  margin: 15px 0 0;
}
.fs-timeline > div:last-child { text-align: right; }
.fs-timeline dt { color: #d8e5d8; font-size: .76rem; font-weight: 600; }
.fs-timeline dd { margin: 4px 0 0; font-size: .87rem; font-weight: 700; overflow-wrap: anywhere; }
.fs-goal-header { display: flex; align-items: center; gap: 11px; }
.fs-goal-header p { color: var(--jr-muted); font-size: .83rem; margin-top: 3px; }
.fs-goal-card form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 10px; margin-top: 18px; }
.fs-goal-card form > button { align-self: end; }
.fs-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; grid-column: 1 / -1; }
.fs-presets button {
  min-height: 42px;
  padding: 6px 3px;
  border: 1px solid var(--jr-line);
  border-radius: 9px;
  background: #f3f5ee;
  font-size: .83rem;
  font-weight: 700;
}
.fs-presets button:hover { background: #e9efdf; }
.fs-presets button[aria-pressed="true"] { border-color: #99b184; background: #e2eccf; color: #294929; }
.fs-home { margin-top: 16px; padding-top: 10px; border-top: 1px solid var(--jr-line); }
.fs-home a { display: inline-block; }
.fs-history { margin-top: clamp(16px, 2vw, 23px); }
.fs-page .fs-history-list { margin: 13px 0 0; padding: 0; list-style: none; }
.fs-history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  border-top: 1px solid var(--jr-line);
}
.fs-history-row > div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 9px; }
.fs-history-row > div > small { display: block; width: 100%; color: var(--jr-muted); }
.fs-history-row > .jr-icon-btn { min-width: 44px; min-height: 44px; }
.fs-history-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--jr-muted);
  font-size: .75rem;
  font-weight: 600;
}
.fs-history-status.is-attained { color: #37603b; }
.fs-page .fs-error { margin-top: 12px; color: #87352c; font-size: .89rem; }
.fs-time-field { display: grid; min-width: 0; gap: 8px; }
.fs-offset { font-size: .79rem; }
.fs-modal-footer { flex-wrap: wrap; }
.fs-delete-button { margin-right: auto; color: #87352c; }
.fs-widget { padding: var(--sd-card-pad); background: var(--sd-paper); }
.fs-widget p { color: var(--sd-subtle); margin: 9px 0 0; font-size: .83rem; }
.fs-widget .fs-reading { margin: 12px 0 8px; }
.fs-widget .fs-counter { font-size: clamp(1.2rem, 2vw, 1.7rem); letter-spacing: -.03em; }
.fs-widget .fs-status { font-size: .77rem; color: #45643d; }
.fs-widget .fs-widget-end { display: flex; flex-wrap: wrap; column-gap: 5px; }
.fs-widget-end time { color: var(--sd-ink); font-weight: 700; }
.fs-widget .sd-plan-link { margin-top: 14px; }

@container (max-width: 575px) {
  .fs-grid { grid-template-columns: minmax(0, 1fr); }
}
@container (max-width: 365px) {
  .fs-page > .sd-page-heading { flex-wrap: wrap; gap: 9px 12px; }
  .fs-page .sd-page-heading h1 { font-size: 2rem; }
  .fs-page .sd-top-action { min-height: 38px; padding-inline: 11px; }
  .fs-timer-card .fs-actions:not(.fs-small-actions) > button { flex-grow: 1; }
  .fs-timeline { column-gap: 10px; }
  .fs-timeline dd { font-size: .81rem; }
}
