html, body { touch-action: pan-x pan-y; }
.account-page {
  min-height: 100vh; min-height: 100dvh;
  display: grid; place-items: center; padding: 28px 16px;
  background: #edf5ef; color: #19291f;
}
.welcome-card, .account-page .onboard {
  background: #fff; width: min(100%, 430px); border-radius: 24px;
  box-shadow: 0 14px 54px #25472a17; overflow: hidden;
}
.welcome-card { display: flex; flex-direction: column; text-align: center; }
.welcome-brand { margin: 0; padding: clamp(24px, 5vh, 60px) 20px 0; color: #136c43; font-size: clamp(34px, 5vh, 48px); letter-spacing: -.055em; line-height: 1.12; }
.welcome-brand img { display: block; width: clamp(78px, 13vh, 120px); margin: 0 auto 15px; border-radius: 29%; }
.welcome-tagline { margin: 16px 0 0; color: #18251d; font-size: clamp(20px, 3.2vh, 27px); line-height: 1.3; }
.welcome-features { width: fit-content; max-width: 90%; margin: auto; padding: clamp(20px, 4vh, 35px) 0 12px; display: grid; gap: clamp(8px, 1.5vh, 14px); list-style: none; text-align: left; }
.welcome-features li { display: flex; align-items: center; gap: 18px; font-size: clamp(16px, 2.4vh, 20px); font-weight: 500; line-height: 1.25; }
.welcome-features img { width: clamp(42px, 7vh, 60px); height: clamp(42px, 7vh, 60px); }
.welcome-landscape { width: 100%; height: clamp(55px, 11vh, 104px); object-fit: fill; display: block; }
.welcome-actions { display: grid; gap: 10px; padding: 16px 7% 22px; }
.welcome-actions button, .account-submit { width: 100%; min-height: 49px; border-radius: 12px; padding: 11px 16px; font-size: 17px; font-weight: 650; }
.welcome-primary, .account-submit { background: #14693e; border: 1px solid #14693e; color: white; }
.welcome-secondary { background: #fff; border: 1px solid #c7d4ca; color: #1c3024; }
.account-back, .account-link { color: #15683f; border: 0; background: transparent; padding: 9px 0; font-weight: 650; }
.account-page .onboard { padding: clamp(20px, 4vw, 32px); max-height: none; overflow: visible; text-align: left; }
.account-page .big-logo img, .logo-mark-image { width: 40px; height: 40px; border-radius: 27%; }
.gk-mobile-topbar .brand img { width: 25px; height: 25px; vertical-align: middle; border-radius: 27%; }
.account-back { display: block; margin-bottom: 12px; }
.account-error:not(:empty) { display: block; margin: 12px 0; color: #9c2c20; font-size: 14px; }
.welcome-actions .account-link { font-size: 14px; min-height: 36px; }
@media (max-width: 600px) {
  .account-page { background: white; padding: 0; align-items: start; }
  .welcome-card { width: 100%; min-height: 100vh; min-height: 100svh; border-radius: 0; box-shadow: none; }
  .welcome-brand { padding-top: max(4vh, env(safe-area-inset-top)); }
  .welcome-features { flex: 1; align-content: center; }
  .welcome-actions { padding-bottom: max(18px, env(safe-area-inset-bottom)); }
  .account-page .onboard { max-width: 100% !important; width: 100%; border: 0; border-radius: 0; box-shadow: none; }
}
@media (max-width: 760px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea, select { font-size: max(16px, 1em) !important; }
}
.draft-progress { position: fixed; inset: 0; z-index: 125; display: grid; place-items: center; background: #193b251c; pointer-events: none; }
.draft-progress div { display: flex; align-items: center; gap: .75rem; background: white; color: #15582d; padding: 16px 21px; border-radius: 15px; box-shadow: 0 6px 30px #152b212e; font-weight: 650; }
.draft-spinner { width: 23px; height: 23px; border: 3px solid #d6e8da; border-top-color: #136e45; border-radius: 50%; animation: draft-spin .8s linear infinite; }
@keyframes draft-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .draft-spinner { animation-duration: 2s; } }
.welcome-wing { display: none; }
@media (min-width: 960px) {
  .welcome-stage {
    --wing-width: min(25vw, 348px);
    grid-template-columns: minmax(0, var(--wing-width)) minmax(365px, 430px) minmax(0, var(--wing-width));
    justify-content: center; gap: clamp(20px, 4vw, 78px); align-items: center;
    background: radial-gradient(ellipse at 2% 12%, #f6f2e7 0, transparent 46%),
      radial-gradient(ellipse at 98% 90%, #dcece0 0, transparent 45%), #edf4ed;
  }
  .welcome-stage .welcome-card { grid-column: 2; z-index: 1; }
  .welcome-wing { display: flex; flex-direction: column; width: 100%; gap: clamp(20px, 3.6vh, 46px); }
  .welcome-pair { position: relative; width: 100%; height: clamp(210px, 19.5vw, 301px); pointer-events: none; }
  .welcome-print {
    position: absolute; margin: 0; background: #f3f3e9; border: 7px solid #fffdf6;
    border-radius: 6px; box-shadow: 0 7px 20px #2e412519;
  }
  .welcome-print img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .73; filter: saturate(.72); }
  .welcome-print figcaption {
    position: absolute; top: 5px; left: 5px; display: inline-flex; align-items: center; gap: 3px;
    padding: 4px 7px; border-radius: 20px; background: #fffdf6; color: #15583b;
    box-shadow: 0 1px 5px #203b251c; font-size: clamp(11px, .94vw, 14px); font-weight: 700; line-height: 1.15; white-space: nowrap;
  }
  .detail-print figcaption { top: auto; bottom: 4px; left: 50%; transform: translateX(-50%); }
  .main-print { width: 72%; aspect-ratio: 1; top: 0; left: 2%; transform: rotate(-7deg); }
  .detail-print { width: max(112px, 43%); aspect-ratio: 1; right: 2%; bottom: 1%; transform: rotate(9deg); }
  .wing-right .main-print { left: auto; right: 2%; transform: rotate(6deg); }
  .wing-right .detail-print { right: auto; left: 0; transform: rotate(-8deg); }
  .wing-copy { max-width: 19rem; margin: 0 auto; padding: 0 5px; }
  .wing-copy h2 { font: 500 clamp(24px, 2.4vw, 38px)/1.07 Georgia, serif; letter-spacing: -.055em; color: #304e38; margin: 0; }
  .wing-copy h2 em { font-weight: 400; color: #4a7455; }
  .wing-copy p { margin: 13px 0 0; color: #516455; font-size: clamp(13px, 1.08vw, 16px); line-height: 1.58; }
}
