#app[data-view="choose"] { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
#app[data-view="choose"] > .site-header, #app[data-view="choose"] > .site-footer { flex-shrink: 0; }
#app[data-view="choose"] .header-inner { max-width: 760px; }
.app-main.mode-main { display: flex; flex: 1 0 auto; flex-direction: column; justify-content: center; width: 100%; max-width: 688px; margin: 0 auto; padding: 28px 20px 16px; }
.mode-main > * { flex-shrink: 0; }
.mode-steps { list-style: none; display: flex; align-items: center; justify-content: center; gap: 18px; margin: 0 0 27px; padding: 0; }
.mode-steps li { display: flex; align-items: center; gap: 6px; color: #6d816a; font-size: 12px; white-space: nowrap; }
.mode-steps li + li::before { content: ""; width: 16px; height: 1px; background: #e0e7dd; margin-right: 5px; }
.mode-steps b { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid #e0e7dd; border-radius: 50%; font-weight: 500; }
.mode-steps [aria-current="step"] { color: #64855f; font-weight: 700; }
.mode-steps [aria-current="step"] b { color: white; border-color: #526e52; background: #526e52; }
.mode-panel { padding: clamp(64px, 10vh, 100px) 34px; }
.mode-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; border: 0; padding: 0; margin: 0; min-width: 0; }
.mode-option { position: relative; display: block; cursor: pointer; min-width: 0; }
.mode-option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.mode-card { display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; min-height: 195px; height: 100%; padding: 34px 16px 25px; border: 1.5px solid #e6ece4; border-radius: 23px; background: #fff; transition: background .18s, border-color .18s, box-shadow .18s; }
.mode-option:hover .mode-card { border-color: #619259; background: #fdfefd; }
.mode-option input:checked + .mode-card { border-color: #4f8249; background: linear-gradient(155deg, #eaf6e4, #d9ebd0); box-shadow: 0 5px 19px #91b48b16; }
.mode-option input:focus-visible + .mode-card { outline: 3px solid #436c50; outline-offset: 4px; }
.mode-check { position: absolute; top: 14px; right: 14px; width: 21px; height: 21px; display: grid; place-items: center; border: 1.5px solid #d6e2d4; border-radius: 50%; color: transparent; font-size: 13px; }
.mode-option input:checked + .mode-card .mode-check { border-color: #526e52; color: #fff; background: #526e52; }
.mode-count { display: flex; align-items: baseline; gap: 6px; margin: 0 0 13px; color: #61845b; }
.mode-count strong { font-size: 48px; font-weight: 600; line-height: 1; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.mode-count span { font-size: 13px; color: #6c8269; }
.mode-title { font-size: 18px; font-weight: 750; color: #3d4c3b; letter-spacing: -.5px; }
.mode-panel > .mode-next.btn { width: 100%; margin-top: 25px; }
.mode-selection-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; margin-bottom: 22px; border-bottom: 1px solid #ecf1eb; }
.mode-selection-bar strong { display: block; font-size: 12px; color: #6a8565; }
.mode-selection-bar .text-btn { font-size: 11px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 540px) {
  .app-main.mode-main { padding: 21px 16px 12px; }
  .mode-panel { padding-inline: 20px; border-radius: 24px; }
  .mode-steps { gap: 10px; margin-bottom: 21px; }
  .mode-steps li { font-size: 11px; }
  .mode-steps li + li::before { width: 10px; margin-right: 2px; }
  .mode-options { gap: 10px; }
  .mode-card { min-height: 165px; padding: 35px 8px 22px; border-radius: 19px; }
  .mode-check { top: 11px; right: 11px; width: 18px; height: 18px; font-size: 11px; }
  .mode-count { gap: 4px; }
  .mode-count strong { font-size: 38px; }
  .mode-count span { font-size: 12px; }
  .mode-title { font-size: 15px; white-space: nowrap; }
  .mode-panel > .mode-next.btn { margin-top: 21px; }
}
@media (prefers-reduced-motion: reduce) { .mode-card { transition: none; } }
