/* GENERATED from web/app.html (the /login screen's rules, scoped under .auth-shell) for
   /purchases. Do not edit by hand: re-run the extractor so the two screens stay identical. */
.auth-shell { --border-default: #e2e8f0; --border-strong: #cbd5e1; --dur-fast: 0.15s; --focus-ring: rgba(35, 61, 49, 0.15); --kp-cream: #f7f7f2; --kp-display: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; --kp-grad: linear-gradient(135deg, #2f5040 0%, #233d31 100%); --kp-grad-hero: linear-gradient(135deg, #365443 0%, #233d31 100%); --kp-ink: #222923; --kp-pink: #233d31; --kp-pink-deep: #1b3026; --r-lg: 12px; --slate-400: #94a3b8; --slate-900: #0f172a; }
.auth-shell { font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif; font-size: 16px; line-height: normal; color: rgb(30, 41, 59); }
.auth-shell input, .auth-shell button { font-family: inherit; }
.auth-shell { display: flex; min-height: 100vh; height: 100vh; height: 100dvh; overflow: hidden; }
.auth-shell .auth-hero { position: relative; flex: 1 1 50%; display: flex; flex-direction: column; justify-content: center; overflow-y: auto; padding: 56px 56px 40px; color: #fff; overflow: hidden; background: var(--kp-grad-hero, linear-gradient(135deg, #b9e05b 0%, #f97316 42%, #233d31 100%)); }
.auth-shell .auth-hero-content { position: relative; z-index: 1; max-width: 620px; }
.auth-shell .auth-logo { display: inline-block; font-size: 30px; font-weight: 800; letter-spacing: -0.5px; color: #fff; text-decoration: none; margin-bottom: 48px; }
.auth-shell .auth-hero-title { font-family: var(--kp-display, inherit); font-size: clamp(60px, 5.6vw, 88px); line-height: 1.04; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 30px; }
.auth-shell .auth-hero-sub { font-size: clamp(20px, 1.5vw, 25px); line-height: 1.6; color: rgba(255,255,255,0.92); margin-bottom: 44px; max-width: 520px; }
.auth-shell .auth-hero-list { list-style: none; display: flex; flex-direction: column; gap: 22px; }
.auth-shell .auth-hero-list li { position: relative; padding-left: 40px; font-size: 21px; color: rgba(255,255,255,0.96); }
.auth-shell .auth-hero-list li::before { content: ''; position: absolute; left: 0; top: 0; width: 28px; height: 28px; background: rgba(255,255,255,0.18); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; background-size: 15px 15px; }
.auth-shell .auth-panel { position: relative; overflow-y: auto; flex: 1 1 50%; display: flex; align-items: safe center; justify-content: center; padding: 32px 24px; background: var(--kp-cream, #faf7f1); }
.auth-shell .auth-card { position: relative; z-index: 1; overflow: hidden; width: 100%; max-width: 540px; margin: auto 0; background: #fff; border-radius: 18px; box-shadow: 0 1px 3px rgba(16,24,40,0.05), 0 18px 50px rgba(16,24,40,0.10); border: 1px solid #eef0f4; padding: 44px 44px; }
.auth-shell .auth-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: #d8f68b; }
.auth-shell .auth-back { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin: 0 0 14px -8px; padding: 0 10px 0 8px; font-size: 14px; font-weight: 600; color: #475569; text-decoration: none; border-radius: 9px; transition: color .18s ease, background .22s ease; }
.auth-shell .auth-back svg { width: 16px; height: 16px; flex: none; }
.auth-shell .auth-back:hover { color: #0f172a; background: #f1f5f9; }
.auth-shell .auth-back:focus-visible { outline: 2px solid var(--ui-focus); outline-offset: 2px; }
.auth-shell .brand { text-align: left; margin-bottom: 22px; }
.auth-shell .auth-card-logo { display: none; align-items: center; gap: 9px; text-decoration: none; margin-bottom: 24px; }
.auth-shell .auth-card-logo span { font-family: var(--kp-display, inherit); font-weight: 800; font-size: 21px; letter-spacing: -.3px; color: var(--kp-ink, #222923); }
.auth-shell .brand h1 { font-family: var(--kp-display, inherit); font-size: 32px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em; }
.auth-shell .brand p { font-size: 16px; color: #475569; margin-top: 6px; }
.auth-shell .tabs { display: flex; gap: 6px; margin-bottom: 22px; background: #f1f5f9; border-radius: 10px; padding: 4px; }
.auth-shell .tab { flex: 1; text-align: center; padding: 9px 0; border-radius: 8px; font-size: 13px; font-weight: 600; color: #475569; cursor: pointer; border: none; background: transparent; transition: color .18s ease, background .22s ease, box-shadow .22s ease; }
.auth-shell .tab:hover:not(.active) { color: #0f172a; background: rgba(255,255,255,0.55); }
.auth-shell .tab.active { background: #fff; color: #0f172a; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.auth-shell .auth-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.auth-shell .auth-grid > .span2 { grid-column: 1 / -1; }
@media (max-width: 560px) {
  .auth-shell .auth-grid { grid-template-columns: 1fr; column-gap: 0; }
}
.auth-shell .auth-anim-r { animation: authSlideR .3s cubic-bezier(.22,.61,.36,1); }
.auth-shell .auth-anim-l { animation: authSlideL .3s cubic-bezier(.22,.61,.36,1); }
.auth-shell .auth-hero-content { animation: authHeroIn .7s cubic-bezier(.16,1,.3,1) backwards; }
.auth-shell .auth-card { animation: authCardIn .7s cubic-bezier(.16,1,.3,1) 90ms backwards; }
@media (prefers-reduced-motion: reduce) {
  .auth-shell .auth-anim-r, .auth-shell .auth-anim-l, .auth-shell .auth-hero-content, .auth-shell .auth-card { animation: none; }
}
.auth-shell .auth-grid .grp { margin-top: 10px; }
.auth-shell .auth-card .btn:focus-visible, .auth-shell .auth-card .reveal:focus-visible, .auth-shell .auth-card .tab:focus-visible, .auth-shell .auth-card input[type="checkbox"]:focus-visible { outline: 2px solid var(--ui-focus); outline-offset: 2px; }
.auth-shell .consent-note { font-size: 13px; color: #475569; line-height: 1.45; margin: 2px 0 16px; }
.auth-shell .consent-note a { color: #1b3026; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.auth-shell .consent-modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(15,23,42,0.55); padding: 16px; }
.auth-shell .consent-modal.hidden { display: none; }
.auth-shell .consent-card { width: 100%; max-width: 580px; max-height: 90vh; background: #fff; border-radius: var(--ui-r-card); display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.32); }
.auth-shell .consent-head { display: flex; align-items: flex-start; justify-content: space-between; padding: 18px 22px 14px; border-bottom: 1px solid #eef0f4; }
.auth-shell .consent-step { font-size: 11px; font-weight: 700; letter-spacing: .4px; color: #1b3026; text-transform: uppercase; }
.auth-shell .consent-head h2 { font-size: 20px; font-weight: 700; color: #0f172a; margin-top: 3px; }
.auth-shell .consent-x { border: none; background: transparent; font-size: 26px; line-height: 1; color: #475569; cursor: pointer; padding: 0 2px; }
.auth-shell .consent-x:hover { color: #0f172a; }
.auth-shell .consent-body { position: relative; flex: 1; min-height: 0; }
.auth-shell .consent-body iframe { width: 100%; height: 50vh; border: 0; display: block; background: #fff; }
.auth-shell .consent-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 26px; background: linear-gradient(transparent, #fff); pointer-events: none; }
.auth-shell .consent-foot { padding: 14px 22px 18px; border-top: 1px solid #eef0f4; }
.auth-shell .consent-hint { font-size: 13px; color: #475569; text-align: center; margin: 0 0 10px; transition: color .2s; }
.auth-shell .consent-modal .btn-primary:disabled { opacity: .5; cursor: not-allowed; }
.auth-shell .field { margin-bottom: 16px; }
.auth-shell .field label { display: block; font-size: 12px; font-weight: 600; color: #374151; margin-bottom: 6px; }
.auth-shell .field input { width: 100%; padding: 11px 12px; border: 1px solid var(--ui-line-strong); border-radius: var(--ui-r); font-size: 14px; color: var(--slate-900); background: #fff; outline: none; transition: border-color var(--dur-fast), box-shadow var(--dur-fast); }
.auth-shell .field input:hover:not(:focus) { border-color: var(--border-strong); }
.auth-shell .field input:focus { border-color: var(--kp-pink); box-shadow: 0 0 0 3px var(--focus-ring); }
.auth-shell .field input::placeholder { color: var(--slate-400); }
.auth-shell .field label .req { color: #dc2626; font-weight: 700; margin-left: 2px; }
.auth-shell .req-legend { font-size: 12px; color: #475569; margin: 0 0 12px; }
.auth-shell .req-legend .req { color: #dc2626; font-weight: 700; }
.auth-shell .reg-err { display: none; margin-top: 5px; font-size: 12px; line-height: 1.4; color: #dc2626; }
.auth-shell .field.is-invalid > .reg-err { display: block; }
.auth-shell .auth-card .reg-err { font-size: 14px; }
.auth-shell .code-help { font-size: 14px; line-height: 1.5; color: #475569; margin: 0 0 16px; overflow-wrap: anywhere; }
.auth-shell .field.is-invalid input { border-color: #dc2626; }
.auth-shell .field.is-invalid input:focus { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.15); }
.auth-shell .input-wrap { position: relative; }
.auth-shell .input-wrap input { padding-right: 58px; }
.auth-shell .reveal { min-height: 44px; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: none; background: transparent; color: var(--kp-pink-deep); font-size: 12px; font-weight: 600; cursor: pointer; padding: 4px 8px; border-radius: 6px; font-family: inherit; }
.auth-shell .reveal:hover { background: #e8ecdf; }
.auth-shell .otp-input { text-align: center; letter-spacing: 8px; font-weight: 600; font-size: 18px; font-variant-numeric: tabular-nums; }
.auth-shell .otp-hint { text-align: left; margin-top: 8px; }
.auth-shell .otp-sep { color: #94a3b8; margin: 0 2px; }
.auth-shell .btn { font-size: 13px; transition: all .15s; }
.auth-shell .btn:hover { opacity: 0.92; transform: translateY(-1px); }
.auth-shell .btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }
.auth-shell .btn-primary:hover { opacity: 1; }
.auth-shell .btn.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.auth-shell .btn.is-loading::after { content: ''; position: absolute; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.45); border-top-color: #fff; border-radius: 50%; animation: kp-spin .6s linear infinite; }
.auth-shell .link { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; color: #1b3026; cursor: pointer; background: none; border: none; text-decoration: underline; }
.auth-shell .link:hover { color: #1b3026; }
.auth-shell .link:disabled { color: #475569; cursor: not-allowed; text-decoration: none; }
.auth-shell .hint { font-size: 12px; color: #475569; text-align: center; margin-top: 14px; }
.auth-shell .auth-card .field input:hover:not(:focus) { border-color: #cbd5e1; }
.auth-shell .auth-card .field input:focus { border-color: #233d31; box-shadow: 0 0 0 3px rgba(35, 61, 49,0.15); }
.auth-shell .auth-card .link { color: #1b3026; }
.auth-shell .auth-card .link:hover { color: #1b3026; }
.auth-shell .auth-card .reveal { color: #1b3026; }
.auth-shell .auth-card .reveal:hover { background: #e8ecdf; }
.auth-shell .auth-card .tabs { margin-bottom: 22px; padding: 5px; }
.auth-shell .auth-card .tab { padding: 13px 0; font-size: 16px; }
.auth-shell .auth-card .field { margin-bottom: 16px; }
.auth-shell .auth-card .field label { font-size: 15px; margin-bottom: 8px; }
.auth-shell .auth-card .field input { padding: 13px 16px; font-size: 16px; border-radius: 12px; }
.auth-shell .auth-card .field input::placeholder { color: #475569; }
.auth-shell .auth-card .field.is-invalid input, .auth-shell .auth-card .field input[aria-invalid="true"] { border-color: #dc2626; }
.auth-shell .auth-card .field.is-invalid input:focus, .auth-shell .auth-card .field input[aria-invalid="true"]:focus { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220,38,38,0.15); }
.auth-shell .auth-card .input-wrap input { padding-right: 74px; }
.auth-shell .auth-card .reveal { font-size: 15px; padding: 6px 10px; }
.auth-shell .auth-card .otp-input { font-size: 26px; letter-spacing: 12px; }
.auth-shell .auth-card .btn { padding: 16px 20px; font-size: 17px; border-radius: 12px; }
.auth-shell .auth-card .hint { font-size: 15px; margin-top: 18px; }
.auth-shell .auth-card .link { font-size: 15px; }
.auth-shell .auth-card .section-title { font-size: 18px; margin-bottom: 16px; }
@media (max-height: 860px) {
  .auth-shell .auth-hero { padding: 32px 44px 28px; }
  .auth-shell .auth-logo { margin-bottom: 22px; }
  .auth-shell .auth-hero-title { font-size: clamp(38px, 4vw, 56px); margin-bottom: 18px; }
  .auth-shell .auth-hero-sub { font-size: clamp(15px, 1.15vw, 18px); margin-bottom: 22px; }
  .auth-shell .auth-hero-list { gap: 13px; }
  .auth-shell .auth-hero-list li { font-size: 16px; padding-left: 34px; }
  .auth-shell .auth-hero-list li::before { width: 24px; height: 24px; background-size: 15px; }
  .auth-shell .auth-panel { padding: 22px 20px; align-items: flex-start; }
  .auth-shell .auth-card { padding: 32px 38px; }
  .auth-shell .auth-card .field { margin-bottom: 12px; }
}
@media (max-height: 620px) {
  .auth-shell .auth-hero { display: none; }
  .auth-shell .auth-panel { flex: 1 1 100%; }
}
@media (max-width: 860px) {
  .auth-shell .auth-hero { display: none; }
  .auth-shell .auth-panel { flex: 1 1 100%; padding: 28px 16px; }
  .auth-shell .auth-card { padding: 38px 26px; }
  .auth-shell .auth-card-logo { display: inline-flex; }
}
.auth-shell .section-title { font-size: 14px; font-weight: 600; color: #0f172a; margin-bottom: 12px; }
.auth-shell .hidden { display: none !important; }
.auth-shell .section-title { font-family:var(--kp-display); font-weight:700; letter-spacing:-.2px; color:var(--kp-ink); }
.auth-shell .btn:disabled:hover { opacity:.65; filter:none; box-shadow:none; }
@keyframes authSlideR { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }
@keyframes authSlideL { from { opacity: 0; transform: translateX(-18px); } to { opacity: 1; transform: none; } }
@keyframes authHeroIn { from { opacity: 0; transform: translateY(16px); filter: blur(8px); } }
@keyframes authCardIn { from { opacity: 0; transform: translateY(18px); } }
@keyframes kp-spin { to { transform: rotate(360deg); } }
