:root {
  --bg: #f5f3ed;
  --surface: #fffefb;
  --ink: #272b26;
  --muted: #686d62;
  --line: #dcded4;
  --accent: #506340;
  --accent-dark: #3d4d30;
  --tint: #e9eddf;
  --orange: #ae512c;
  --error: #a7362d;
  --radius: 20px;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
  line-height: 1.6;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
summary {
  touch-action: manipulation;
}
button,
a,
summary {
  cursor: pointer;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
}
textarea {
  resize: vertical;
}
input[type="checkbox"] {
  width: 21px;
  min-height: 21px;
  height: 21px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 550;
  line-height: 1.3;
}
h1 {
  font-size: 42px;
  letter-spacing: -1.5px;
}
h2 {
  font-size: 26px;
  letter-spacing: -0.6px;
}
h3 {
  font-size: 20px;
}
svg {
  width: 24px;
  height: 24px;
}
.header {
  max-width: 1280px;
  margin: auto;
  padding: 26px 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 2px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 4px;
  color: var(--muted);
  line-height: 1.3;
}
.brand-mark {
  width: 42px;
  height: 46px;
  border: 1px solid var(--accent);
  border-radius: 14px 14px 5px 5px;
  font-family: Georgia, serif;
  font-size: 38px;
  line-height: 40px;
  position: relative;
  color: var(--accent);
  text-align: center;
  letter-spacing: -5px;
  padding-right: 4px;
}
.brand-mark span {
  color: var(--orange);
}
nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-item {
  font-size: 14px;
  min-height: 44px;
}
.avatar {
  height: 36px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--accent);
  font-size: 13px;
}
.icon-button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
}
.icon-button:hover {
  background: var(--tint);
}
#main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 54px 20px 90px;
  min-height: calc(100dvh - 200px);
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2.7px;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 14px;
}
.intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.intro p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 14px;
  font-size: 14px;
}
.button {
  min-height: 46px;
  padding: 11px 21px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 550;
  border: 1px solid transparent;
  transition:
    background 0.18s,
    color 0.18s;
}
.primary {
  background: var(--accent);
  color: #fff;
}
.primary:hover {
  background: var(--accent-dark);
}
.secondary {
  background: var(--surface);
  border-color: var(--line);
}
.secondary:hover {
  background: var(--tint);
}
.text-button {
  color: var(--accent);
  font-size: 13px;
  min-height: 44px;
  padding: 8px;
}
.danger {
  color: var(--error);
}
.notification-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 18px;
  background: var(--tint);
  border-radius: 10px;
  margin-bottom: 30px;
  font-size: 13px;
}
.notification-banner p {
  flex: 1;
}
.notification-banner .text-button {
  white-space: nowrap;
}
.notification-banner svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent);
}
.feature {
  background: #e6e9dc;
  border: 1px solid #d8ddcc;
  border-radius: var(--radius);
  padding: 36px 42px;
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 290px;
  margin-bottom: 40px;
}
.feature:after {
  content: "";
  position: absolute;
  right: 28%;
  top: -140px;
  width: 380px;
  height: 380px;
  border: 1px solid #ced5c1;
  border-radius: 50%;
  pointer-events: none;
}
.feature .feature-copy {
  z-index: 1;
  align-self: center;
}
.feature h2 {
  font-size: 32px;
  margin: 16px 0 12px;
  max-width: 580px;
  overflow-wrap: anywhere;
}
.pill {
  display: inline-flex;
  border: 1px solid #bcc7ad;
  border-radius: 5px;
  padding: 3px 9px;
  font-size: 11px;
  gap: 4px;
  background: #eef1e8;
}
.feature-date {
  font-size: 14px;
  color: #525b46;
}
.feature-count {
  z-index: 1;
  justify-self: end;
  align-self: center;
  text-align: right;
  padding-left: 20px;
}
.feature-count strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 116px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -6px;
}
.feature-count .today-word {
  font-family: inherit;
  font-size: 50px;
  letter-spacing: 0;
}
.feature-count span {
  font-size: 15px;
  padding-left: 13px;
}
.feature-count p {
  font-size: 11px;
  letter-spacing: 3px;
  color: #525b46;
  margin-top: 5px;
}
.feature-bottom {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: #525b46;
}
.feature-open {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius);
}
.feature:hover {
  border-color: #9eaf8c;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.section-head h2 {
  font-size: 18px;
  letter-spacing: 0;
}
.section-head span {
  font-size: 12px;
  color: var(--muted);
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.day-card {
  background: var(--surface);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
  transition: border-color 0.2s;
  min-height: 240px;
  overflow: hidden;
}
.day-card:hover {
  border-color: #9aab88;
}
.card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 19px;
}
.card-symbol {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.card-head > span {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
.day-card h3 {
  font-size: 17px;
  margin-bottom: 7px;
  overflow-wrap: anywhere;
}
.card-label {
  font-size: 12px;
  color: var(--muted);
}
.card-bottom {
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.card-number {
  font-size: 34px;
  font-family: Georgia, serif;
  line-height: 1.1;
}
.card-number small {
  font-family: inherit;
  font-size: 12px;
  margin-left: 6px;
  color: var(--muted);
}
.card-bottom > span {
  font-size: 11px;
  color: var(--muted);
}
.card-open {
  position: absolute;
  inset: 0;
  width: 100%;
  border-radius: 14px;
}
.past-section {
  margin-top: 36px;
}
.past-section .day-card {
  opacity: 0.8;
}
.empty {
  padding: 65px 20px;
  text-align: center;
  border: 1px dashed #bdc6b0;
  border-radius: var(--radius);
  background: var(--surface);
}
.empty-art {
  width: 74px;
  height: 86px;
  border: 1px solid #b8c2a8;
  border-radius: 24px 24px 8px 8px;
  margin: 0 auto 23px;
  display: grid;
  place-items: center;
  background: var(--tint);
}
.empty-art svg {
  width: 36px;
  height: 36px;
  color: var(--accent);
}
.empty h2 {
  font-size: 24px;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
  max-width: 340px;
  margin: 15px auto 25px;
}
.footer {
  max-width: 1192px;
  padding: 25px 24px;
  margin: auto;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: var(--muted);
}
.footer span:last-child {
  letter-spacing: 1.5px;
  font-size: 9px;
}
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
  padding: 28px 0 40px;
}
.auth-story {
  padding: 20px 0;
}
.auth-story h1 {
  font-size: 57px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -2px;
}
.auth-story h1 em {
  font-family: Georgia, serif;
  font-weight: 400;
  color: var(--accent);
  font-style: normal;
}
.auth-story > p:not(.eyebrow) {
  margin: 24px 0;
  color: var(--muted);
  max-width: 355px;
  font-size: 14px;
  line-height: 2;
}
.auth-art {
  margin-top: 40px;
  width: 260px;
  border-radius: 70px 70px 12px 12px;
  border: 1px solid #cbd1c0;
  padding: 26px 30px;
  background: var(--tint);
  transform: rotate(-4deg);
}
.auth-art .big-day {
  font-family: Georgia, serif;
  font-size: 65px;
  line-height: 1.2;
  color: var(--accent);
}
.auth-art p {
  font-size: 12px;
  letter-spacing: 1px;
}
.auth-art .art-line {
  border-top: 1px solid #bdc8ad;
  margin: 16px 0;
}
.auth-box {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 34px;
  border-radius: 20px;
}
.auth-tabs {
  display: flex;
  gap: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.auth-tabs button {
  min-height: 46px;
  font-size: 16px;
  color: var(--muted);
  border-bottom: 2px solid transparent;
}
.auth-tabs button.active {
  color: var(--ink);
  border-color: var(--accent);
}
label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
}
label > input,
label > select,
label > textarea {
  display: block;
  margin-top: 8px;
}
label small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
}
.auth-box .button {
  width: 100%;
  margin-top: 8px;
}
.auth-hint {
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.9;
}
.form-error {
  color: var(--error);
  font-size: 13px;
  white-space: pre-line;
  margin-bottom: 15px;
}
.form-error:empty {
  display: none;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.back {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 13px;
  min-height: 44px;
  padding: 0;
}
.page-title {
  margin-bottom: 28px;
}
.settings-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
}
.panel h2 {
  font-size: 20px;
  margin-bottom: 16px;
}
.panel p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 18px;
  line-height: 1.9;
}
.status-line {
  font-size: 14px;
  margin-bottom: 15px;
  padding: 11px 14px;
  background: var(--tint);
  border-radius: 8px;
}
.status-line:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 9px;
}
.steps {
  font-size: 13px;
  padding-left: 22px;
  color: var(--muted);
  line-height: 2.4;
}
.panel .button {
  margin: 4px 6px 4px 0;
}
.settings-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.setting-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  gap: 12px;
}
.detail {
  max-width: 690px;
  margin: auto;
}
.detail-hero {
  padding: 36px;
  background: var(--tint);
  border: 1px solid #d4dcc7;
  border-radius: 20px;
  margin-bottom: 24px;
}
.detail-hero h1 {
  font-size: 30px;
  overflow-wrap: anywhere;
}
.detail-hero .detail-count {
  font-family: Georgia, serif;
  font-size: 88px;
  line-height: 1.2;
  margin: 28px 0;
}
.detail-count small {
  font-family: inherit;
  font-size: 16px;
  color: var(--muted);
  margin-left: 15px;
}
.detail-hero > p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 10px;
}
.detail-actions {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}
.detail-actions .primary {
  flex: 1;
}
.note {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.helper {
  font-size: 12px;
  color: var(--muted);
  margin: -3px 0 18px;
  line-height: 1.8;
}
.helper:empty {
  display: none;
}
dialog {
  border: 1px solid var(--line);
  padding: 0;
  background: var(--surface);
  color: var(--ink);
  border-radius: 20px;
  width: 580px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 48px);
  box-shadow: 0 30px 100px #202c2430;
}
dialog::backdrop {
  background: #1b251b66;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 28px 16px;
}
.dialog-head .eyebrow {
  margin-bottom: 8px;
}
.dialog-head h2 {
  font-size: 24px;
}
.form-content {
  padding: 8px 28px 15px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.date-row {
  grid-template-columns: 1.1fr 1fr 1fr;
}
.optional {
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 5px;
}
.checkline {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}
.checkline[hidden] {
  display: none;
}
.checkline input {
  margin: 0;
}
.checkline .muted {
  font-size: 11px;
}
.form-section {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 19px;
}
.switchline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.switchline input {
  margin: 0;
  width: 38px;
  height: 24px;
  appearance: none;
  background: #bdc2b6;
  border: 0;
  border-radius: 14px;
  position: relative;
  padding: 0;
}
.switchline input:checked {
  background: var(--accent);
}
.switchline input:after {
  content: "";
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: left 0.2s;
}
.switchline input:checked:after {
  left: 17px;
}
.field-label {
  font-size: 13px;
  margin-bottom: 10px;
}
.day-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 17px;
}
.day-options label {
  margin: 0;
  position: relative;
}
.day-options input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.day-options span {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 12px;
}
.day-options input:checked + span {
  border-color: var(--accent);
  background: var(--tint);
  color: var(--accent);
}
.day-options input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.time-field {
  display: flex;
  align-items: center;
  gap: 12px;
}
.time-field input {
  width: 120px;
  margin: 0;
}
.time-field .muted {
  font-size: 11px;
}
summary {
  font-size: 13px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
details textarea {
  margin: 7px 0 18px;
}
.preview {
  border: 1px solid #d4ddc7;
  background: var(--tint);
  border-radius: 9px;
  padding: 13px;
  font-size: 12px;
  line-height: 1.9;
}
.dialog-actions {
  padding: 18px 28px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  position: sticky;
  bottom: 0;
}
.confirm-body {
  padding: 28px 28px 0;
}
.confirm-body h2 {
  font-size: 23px;
}
.confirm-body > p {
  margin-top: 14px;
}
.confirm-body .dialog-actions {
  padding: 20px 0;
  margin-top: 20px;
}
.toast {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  z-index: 10;
  padding: 13px 22px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-size: 13px;
  box-shadow: 0 10px 30px #0002;
  min-width: 180px;
  text-align: center;
}
.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip:focus {
  position: fixed;
  width: auto;
  height: auto;
  clip: auto;
  top: 8px;
  left: 8px;
  background: white;
  padding: 12px;
  z-index: 100;
}
.loading {
  padding: 70px;
  text-align: center;
  color: var(--muted);
}
.tiny-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 24px;
  line-height: 1.9;
}
.install-tip {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-top: 28px;
}
.install-tip strong {
  font-size: 14px;
}
.install-tip p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
}
.install-tip .text-button {
  float: right;
}
#password-form {
  margin-top: 18px;
}
.error-box {
  border: 1px solid #dec9c2;
  background: #faf2ee;
  padding: 25px;
  border-radius: 12px;
}
.error-box p {
  color: var(--error);
  margin-bottom: 15px;
}
@media (min-width: 1400px) {
  #main {
    padding-top: 70px;
  }
  .auth-layout {
    padding-top: 50px;
  }
}
@media (max-width: 850px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .auth-layout {
    gap: 35px;
    grid-template-columns: 1fr 380px;
  }
  .auth-story h1 {
    font-size: 43px;
  }
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .header {
    padding: 20px 24px;
  }
}
@media (max-width: 620px) {
  .header {
    padding: 14px 20px;
    padding-top: max(14px, env(safe-area-inset-top));
    margin: 0 4px;
  }
  .brand {
    font-size: 19px;
  }
  .brand-mark {
    width: 35px;
    height: 39px;
    font-size: 32px;
    line-height: 33px;
    border-radius: 12px 12px 4px 4px;
  }
  .brand small {
    font-size: 8px;
  }
  nav {
    gap: 8px;
  }
  .nav-item {
    display: none;
  }
  #main {
    padding: 32px 20px 65px;
  }
  h1 {
    font-size: 31px;
    letter-spacing: -1px;
  }
  .intro {
    align-items: flex-start;
    gap: 12px;
  }
  .intro .button {
    padding: 10px 13px;
    font-size: 12px;
    gap: 8px;
    white-space: nowrap;
    min-height: 44px;
    margin-top: 28px;
  }
  .intro .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .intro p:not(.eyebrow) {
    font-size: 12px;
    margin-top: 9px;
  }
  .notification-banner {
    padding: 10px 12px;
    gap: 9px;
    margin-bottom: 22px;
    font-size: 11px;
  }
  .notification-banner .text-button {
    font-size: 11px;
    padding: 3px;
  }
  .notification-banner svg {
    width: 17px;
  }
  .feature {
    padding: 24px;
    min-height: 245px;
    grid-template-columns: 1fr 0.65fr;
    gap: 10px;
    margin-bottom: 28px;
  }
  .feature h2 {
    font-size: 23px;
    margin-top: 16px;
  }
  .feature .eyebrow {
    font-size: 9px;
  }
  .feature-count {
    padding: 0;
  }
  .feature-count strong {
    font-size: 76px;
    letter-spacing: -4px;
  }
  .feature-count span {
    font-size: 12px;
    padding-left: 6px;
  }
  .feature-count p {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .feature-date {
    font-size: 11px;
  }
  .feature-bottom {
    font-size: 10px;
    margin-top: 22px;
  }
  .feature-count .today-word {
    font-size: 32px;
  }
  .feature:after {
    right: 10%;
    width: 230px;
    height: 230px;
    top: -110px;
  }
  .card-grid {
    gap: 12px;
  }
  .day-card {
    padding: 17px;
    min-height: 215px;
  }
  .day-card h3 {
    font-size: 15px;
  }
  .card-symbol {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .card-symbol svg {
    width: 20px;
  }
  .card-head {
    margin-bottom: 17px;
  }
  .card-head > span {
    font-size: 9px;
  }
  .card-label {
    font-size: 10px;
  }
  .card-bottom {
    margin-top: 22px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .card-number {
    font-size: 30px;
  }
  .card-bottom > span {
    font-size: 10px;
  }
  .section-head {
    margin-bottom: 14px;
  }
  .section-head h2 {
    font-size: 16px;
  }
  .section-head > span {
    font-size: 10px;
  }
  .footer {
    display: block;
    padding: 20px;
    margin: 0 20px;
    text-align: center;
  }
  .footer span {
    display: block;
    margin: 5px 0;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 0;
  }
  .auth-story {
    padding: 0;
  }
  .auth-story h1 {
    font-size: 38px;
    line-height: 1.5;
  }
  .auth-story > p:not(.eyebrow) {
    margin: 15px 0 0;
    font-size: 12px;
    max-width: 320px;
  }
  .auth-art {
    display: none;
  }
  .auth-box {
    padding: 25px;
  }
  .auth-tabs {
    margin-bottom: 20px;
  }
  .page-title {
    font-size: 29px;
  }
  .panel {
    padding: 23px;
  }
  .detail-hero {
    padding: 28px;
  }
  .detail-hero h1 {
    font-size: 27px;
  }
  .detail-hero .detail-count {
    font-size: 76px;
  }
  .dialog-head {
    padding: 22px 20px 12px;
  }
  .form-content {
    padding: 8px 20px 15px;
  }
  .dialog-actions {
    padding: 16px 20px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
  .dialog-head h2 {
    font-size: 22px;
  }
  .form-row {
    gap: 10px;
  }
  .date-row {
    grid-template-columns: 1.1fr 1fr 1fr;
  }
  .date-row input,
  .date-row select {
    padding: 10px 8px;
  }
  .checkline {
    flex-wrap: wrap;
  }
  .checkline .muted {
    width: 100%;
    padding-left: 30px;
  }
  .day-options {
    gap: 7px;
  }
  .day-options span {
    padding: 8px 9px;
    font-size: 11px;
  }
  dialog {
    max-width: calc(100vw - 20px);
    max-height: calc(100dvh - 24px);
  }
  .time-field {
    gap: 10px;
  }
  .form-error {
    font-size: 12px;
  }
  .eyebrow {
    margin-bottom: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 620px) {
  .intro {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .intro h1 {
    font-size: 30px;
    line-height: 1.45;
  }
  .intro .button {
    margin: 0;
    align-self: flex-start;
    padding: 10px 17px;
  }
  .intro p:not(.eyebrow) {
    max-width: 320px;
    line-height: 1.9;
  }
  .feature {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 22px;
  }
  .feature-copy {
    min-width: 0;
  }
  .feature h2 {
    font-size: 25px;
    margin: 12px 0 9px;
  }
  .feature-date {
    font-size: 12px;
    line-height: 1.9;
  }
  .feature-bottom {
    margin-top: 15px;
  }
  .feature-count {
    justify-self: stretch;
    text-align: left;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 9px;
  }
  .feature-count strong {
    font-size: 86px;
    white-space: nowrap;
    letter-spacing: -4px;
  }
  .feature-count span {
    font-size: 14px;
    padding: 0;
  }
  .feature-count p {
    margin-left: auto;
    font-size: 9px;
    letter-spacing: 2px;
  }
  .feature-count .today-word {
    font-size: 45px;
    letter-spacing: 0;
  }
  .feature:after {
    right: -80px;
    top: -90px;
    width: 300px;
    height: 300px;
  }
}
