/* Buyra V2 authentication and first-run checklist. */
.AuthV2,
.AuthV2 * { box-sizing: border-box; }
.AuthV2 { min-height: 100%; background: linear-gradient(180deg,#f3eeff 0%,#fff 46%); color: var(--ink); font-family: var(--font); overflow: auto; }
.AuthV2 button,
.AuthV2 input { font: inherit; }
.AuthV2 button { cursor: pointer; }
.AuthV2 h1,
.AuthV2 h2,
.AuthV2 p { margin: 0; }
.AuthV2 .auth-icon { display: block; flex: none; }
.AuthV2 .auth-top { display: flex; align-items: center; gap: 12px; max-width: 560px; min-height: 88px; margin: 0 auto; padding: 18px 20px 10px; }
.AuthV2 .auth-brand { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; flex: none; border-radius: 15px; background: var(--b); color: #fff; font: 800 22px/1 var(--font); }
.AuthV2 .auth-brand-name { font: 700 19px/1.2 var(--font); }
.AuthV2 .auth-brand-sub { margin-top: 3px; color: var(--t2); font: 500 15px/1.2 var(--font); }
.AuthV2 .auth-form { width: 100%; max-width: 440px; margin: 0 auto; padding: 0 20px 30px; }
.AuthV2 .auth-title { margin-top: 22px; font: 800 30px/1.15 var(--font); letter-spacing: -.025em; }
.AuthV2 .auth-lede { margin-top: 7px; color: var(--t2); font: 500 17px/1.45 var(--font); }
.AuthV2 .auth-field { margin-top: 16px; }
.AuthV2 .auth-label { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; margin-bottom: 7px; font: 700 16px/1.25 var(--font); }
.AuthV2 .auth-label-note { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font: 700 14px/1.2 var(--font); }
.AuthV2 .auth-label-note.bad { color: var(--bad); }
.AuthV2 .auth-input-wrap { display: flex; align-items: center; gap: 11px; height: 60px; padding: 0 6px 0 15px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; color: var(--b); }
.AuthV2 .auth-input-wrap:focus-within { border-color: var(--b); box-shadow: 0 0 0 3px var(--b-100); }
.AuthV2 .auth-input-wrap.bad { border-color: var(--bad); box-shadow: 0 0 0 3px var(--bad-s); color: var(--bad); }
.AuthV2 .auth-input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 18px/1.3 var(--font); }
.AuthV2 .auth-input:disabled { color: var(--t2); }
.AuthV2 .auth-eye { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 72px; height: 48px; padding: 0 10px; border: 0; border-radius: 13px; background: var(--fill); color: var(--b-ink); font: 700 14px/1 var(--font); }
.AuthV2 .auth-remember { display: flex; align-items: center; gap: 12px; min-height: 72px; margin-top: 14px; padding: 12px 14px; border-radius: 18px; background: var(--fill); cursor: pointer; }
.AuthV2 .auth-remember input { width: 28px; height: 28px; margin: 0; flex: none; accent-color: var(--b); }
.AuthV2 .auth-remember-copy { flex: 1; min-width: 0; }
.AuthV2 .auth-remember-title { font: 700 17px/1.25 var(--font); }
.AuthV2 .auth-remember-sub { margin-top: 3px; color: var(--t2); font: 500 14px/1.3 var(--font); }
.AuthV2 .auth-submit,
.AuthV2 .auth-secondary,
.AuthV2 .auth-share-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 60px; margin-top: 16px; padding: 0 18px; border: 0; border-radius: 18px; background: var(--b); color: #fff; font: 700 18px/1.2 var(--font); text-align: center; }
.AuthV2 .auth-submit:hover { background: var(--b-hi); }
.AuthV2 .auth-submit:disabled { opacity: .65; cursor: default; }
.AuthV2 .auth-submit.busy::before { content: ''; width: 24px; height: 24px; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: AuthV2Spin .7s linear infinite; }
.AuthV2 .auth-secondary { background: var(--fill); color: var(--ink); }
.AuthV2 .auth-secondary:hover { background: var(--b-100); color: var(--b-ink); }
.AuthV2 .auth-or { display: flex; align-items: center; gap: 12px; margin: 12px 0 -4px; color: var(--t2); font: 600 15px/1.2 var(--font); }
.AuthV2 .auth-or::before,
.AuthV2 .auth-or::after { content: ''; height: 1px; flex: 1; background: var(--line); }
.AuthV2 .auth-error { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; padding: 13px 14px; border-radius: 16px; background: var(--bad-s); color: var(--bad-ink); font: 600 16px/1.4 var(--font); scroll-margin-bottom: 20px; }
.AuthV2 .auth-wait { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; color: var(--b-ink); font: 600 15px/1.3 var(--font); }
.AuthV2 .auth-help { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 48px; margin-top: 12px; color: var(--t2); font: 500 15px/1.3 var(--font); text-align: center; }
.AuthV2 .auth-invite { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 14px; border: 1.5px solid var(--b-200); border-radius: 18px; background: var(--b-50); }
.AuthV2 .auth-invite-icon,
.AuthV2 .auth-step-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--b-100); color: var(--b); }
.AuthV2 .auth-invite-title { font: 700 17px/1.3 var(--font); }
.AuthV2 .auth-invite-copy { margin-top: 3px; color: var(--t2); font: 500 15px/1.35 var(--font); }
.AuthV2 .auth-rules { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.AuthV2 .auth-rule { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; padding: 0 10px; border-radius: 99px; background: var(--fill); color: var(--t2); font: 600 14px/1.2 var(--font); }
.AuthV2 .auth-rule.ok { background: var(--ok-s); color: var(--ok-ink); }
.AuthV2 .auth-how { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; padding: 14px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.AuthV2 .auth-how-row { display: flex; align-items: center; gap: 12px; min-height: 52px; }
.AuthV2 .auth-how-title { font: 700 17px/1.3 var(--font); }
.AuthV2 .auth-how-copy { margin-top: 3px; color: var(--t2); font: 500 15px/1.35 var(--font); }
.AuthV2 .auth-home-links { margin-top: 14px; }
.AuthV2 .auth-desktop-benefits { display: none; }
.AuthV2 .auth-submit.busy .auth-icon { display: none; }
.AuthV2 .auth-info,
.AuthV2 .auth-notice { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; padding: 13px 14px; border-radius: 16px; background: var(--b-50); color: var(--b-ink); font: 600 16px/1.4 var(--font); }
.AuthV2 .auth-notice .auth-icon { margin-top: 1px; }
.AuthV2 .auth-link-row { display: flex; justify-content: flex-end; margin-top: 4px; }
.AuthV2 .auth-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--b-ink); font: 700 15px/1.2 var(--font); text-decoration: underline; text-underline-offset: 3px; }
.AuthV2 .auth-forgot { margin-top: 4px; padding: 14px; border-radius: 16px; background: var(--fill); }
.AuthV2 .auth-forgot-text { color: var(--ink); font: 600 16px/1.4 var(--font); }
.AuthV2 .auth-whatsapp { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 52px; margin-top: 10px; padding: 0 16px; border-radius: 16px; background: var(--ok-s); color: var(--ok-ink); font: 700 16px/1.2 var(--font); text-decoration: none; }
.AuthV2 .auth-forgot > .auth-whatsapp:first-child { margin-top: 0; }
.AuthV2 .auth-invite-body { flex: 1; min-width: 0; }
.AuthV2 .auth-invite.bad { border-color: var(--bad); background: var(--bad-s); }
.AuthV2 .auth-invite.bad .auth-step-icon { background: #fff; color: var(--bad); }
.AuthV2 .auth-invite-copy { overflow-wrap: anywhere; }
.AuthV2 .auth-account { margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: var(--fill); color: var(--ink); font: 600 16px/1.4 var(--font); overflow-wrap: anywhere; }
.AuthV2 .auth-status { display: flex; flex-direction: column; align-items: center; padding-top: 32px; text-align: center; }
.AuthV2 .auth-status .auth-step-icon { width: 64px; height: 64px; border-radius: 20px; }
.AuthV2 .auth-status .auth-title { margin-top: 18px; }
.AuthV2 .auth-status .auth-lede { max-width: 360px; }
.AuthV2 [hidden] { display: none !important; }
.AuthV2 .auth-recovery .auth-whatsapp { background: var(--b); color: #fff; min-height: 60px; margin-top: 18px; }
.AuthV2 .auth-recovery .auth-info { margin-top: 20px; }
.AuthV2 .auth-invite.valid { background: var(--ok-s); border-color: var(--ok); }
.AuthV2 .auth-invite.valid .auth-step-icon { background: #fff; color: var(--ok-ink); }
.AuthV2 .auth-invite.expired { background: #fff5e3; border-color: #e6b86b; }
.AuthV2 .auth-invite.expired .auth-step-icon { background: #fff; color: #81510b; }
.AuthV2 .auth-recovery, .AuthV2 .auth-reset { padding-top: 20px; }
.AuthV2 .auth-reset .auth-account { background: transparent; padding: 0; color: var(--t2); font-size: 15px; font-weight: 500; }
.AuthV2 :is(.auth-reset,.auth-enroll) .auth-eye { background: transparent; }
.AuthV2 :is(.auth-reset,.auth-enroll) .auth-eye .auth-icon { display: none; }
.AuthV2 :is(.auth-reset,.auth-enroll) .auth-rule { padding: 0; background: transparent; font-weight: 500; }
.AuthV2 .auth-invite.valid { border-color: transparent; }
.AuthV2 .auth-invite.valid .auth-step-icon { width: 24px; background: transparent; }
@media (min-width: 900px) {
  .AuthV2 { display: flex; min-height: 100%; overflow: hidden; }
  .AuthV2 .auth-main { display: flex; flex-direction: column; width: min(560px, 50vw); min-height: 100%; flex: none; overflow-y: auto; background: linear-gradient(180deg,#f6f2ff 0%,#fff 42%); }
  .AuthV2 .auth-top { width: 400px; padding-right: 0; padding-left: 0; }
  .AuthV2 .auth-form { max-width: 400px; margin: auto; padding: 20px 0 32px; }
  .AuthV2 .auth-desktop-benefits { display: flex; flex: 1; flex-direction: column; justify-content: center; min-width: 0; padding: 48px; background: linear-gradient(150deg,#8455ee 0%,#5d2eb8 100%); color: #fff; }
  .AuthV2 .auth-main:has(.auth-enroll, .auth-reset, .auth-recovery:not([hidden])) { background: #fff; }
  .AuthV2 .auth-main:has(.auth-enroll, .auth-reset, .auth-recovery:not([hidden])) .auth-secondary { display: flex; width: fit-content; min-height: 46px; font-size: 15px; }
  .AuthV2 .auth-preview-head { flex-wrap: wrap; }
  .AuthV2 .auth-preview small, .AuthV2 .auth-benefit-item small { display: block; margin-top: 3px; font-size: 14px; font-weight: 500; }
  .AuthV2 .auth-preview-stats, .AuthV2 .auth-preview-stats > span, .AuthV2 .auth-benefit-pill { display: inline-flex; gap: 7px; align-items: center; }
  .AuthV2 .auth-preview-stats { flex-wrap: wrap; }
  .AuthV2 .auth-preview-stats > span { border-radius: 12px; background: var(--fill); padding: 10px; font-size: 14px; }
  .AuthV2 .auth-preview-stats svg { color: var(--b); }
  .AuthV2 .auth-preview-live { display: flex; align-items: center; justify-content: space-between; }
  .AuthV2 .auth-preview-progress { height: 6px; border-radius: 6px; margin: 12px 0 6px; background: linear-gradient(90deg,white 34%,#ffffff52 34%); }
  .AuthV2 .auth-initials { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ad4808; color: #fff; font-size: 13px; }
  .AuthV2 .auth-preview-row:nth-last-child(2) .auth-initials { background: #0a6879; }
  .AuthV2 .auth-preview-row .auth-step-icon { width: 36px; height: 36px; }
  .AuthV2 .auth-benefit-item .auth-step-icon { background: #fff; }
  .AuthV2 .auth-benefit-pill { align-self: flex-start; padding: 8px 12px; border-radius: 99px; background: #fff; color: var(--b-ink); font: 700 14px/1.2 var(--font); }
  .AuthV2 .auth-benefit-title { margin-top: 18px; font: 800 40px/1.12 var(--font); letter-spacing: -.025em; }
  .AuthV2 .auth-benefit-copy { margin-top: 8px; font: 500 18px/1.45 var(--font); }
  .AuthV2 .auth-preview { margin-top: 26px; padding: 18px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 24px 60px rgba(30,12,80,.3); }
  .AuthV2 .auth-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .AuthV2 .auth-preview-title { font: 800 26px/1.2 var(--font); }
  .AuthV2 .auth-preview-badge { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 6px 10px; border-radius: 99px; background: var(--fill); color: var(--t2); font: 600 14px/1.2 var(--font); }
  .AuthV2 .auth-preview-now { margin-top: 16px; padding: 16px; border-radius: 20px; background: linear-gradient(150deg,#8455ee,#5d2eb8); color: #fff; }
  .AuthV2 .auth-preview-live { font: 700 15px/1.25 var(--font); }
  .AuthV2 .auth-preview-name { margin-top: 10px; font: 800 22px/1.2 var(--font); }
  .AuthV2 .auth-preview-meta { margin-top: 4px; font: 500 16px/1.3 var(--font); }
  .AuthV2 .auth-preview-row { display: flex; align-items: center; gap: 12px; min-height: 64px; border-bottom: 1px solid var(--line); }
  .AuthV2 .auth-preview-row:last-child { border: 0; }
  .AuthV2 .auth-preview-time { width: 58px; font: 800 18px/1 var(--font); }
  .AuthV2 .auth-preview-text { flex: 1; font: 600 16px/1.3 var(--font); }
  .AuthV2 .auth-benefit-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 26px; }
  .AuthV2 .auth-benefit-item { display: flex; align-items: center; gap: 9px; font: 600 15px/1.35 var(--font); }
}
@media (max-width: 360px) {
  .AuthV2 .auth-top { padding-right: 14px; padding-left: 14px; }
  .AuthV2 .auth-form { padding-right: 14px; padding-left: 14px; }
  .AuthV2 .auth-title { font-size: 27px; }
  .AuthV2 .auth-brand-sub { font-size: 14px; }
  .AuthV2 .auth-input { font-size: 16px; }
  .AuthV2 .auth-eye { min-width: 58px; padding: 0 8px; }
}

/* Checklist uses the same OwnerV2 navigation shell as the diary. */
.CheckV2 { background: var(--fill); }
.CheckV2 .check-mobile { display: flex; flex: 1; flex-direction: column; min-width: 0; height: 100%; }
.CheckV2 .check-head { padding: 18px 18px 12px; flex: none; background: #fff; }
.CheckV2 .check-title { font: 800 30px/1.15 var(--font); letter-spacing: -.025em; }
.CheckV2 .check-sub { margin-top: 4px; color: var(--t2); font: 500 16px/1.3 var(--font); }
.CheckV2 .check-progress { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.CheckV2 .check-bars { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; flex: 1; }
.CheckV2 .check-bars > b { height: 10px; border-radius: 99px; background: var(--line); }
.CheckV2 .check-bars > b.done { background: var(--ok); }
.CheckV2 .check-bars > b.current { background: var(--b); }
.CheckV2 .check-count { color: var(--ok-ink); font: 700 15px/1.2 var(--font); white-space: nowrap; }
.CheckV2 .check-scroll { flex: 1; min-height: 0; padding: 0 0 108px; overflow-y: auto; }
.CheckV2 .check-scroll .check-progress { margin: 0 18px; padding-top: 4px; }
.CheckV2 .check-section-title { padding: 16px 18px 8px; font: 700 18px/1.25 var(--font); }
.CheckV2 .check-list { margin: 0 14px; padding: 2px 14px; border-radius: 22px; background: #fff; }
.CheckV2 .check-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 72px; border-bottom: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; }
.CheckV2 .check-row:last-child { border: 0; }
.CheckV2 .check-row-copy { display: block; flex: 1; min-width: 0; }
.CheckV2 .check-row-title { display: block; font: 700 17px/1.25 var(--font); }
.CheckV2 .check-row-meta { display: block; margin-top: 3px; overflow: hidden; color: var(--t2); font: 500 14px/1.35 var(--font); text-overflow: ellipsis; white-space: nowrap; }
.CheckV2 .check-status { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font: 700 14px/1.2 var(--font); white-space: nowrap; }
.CheckV2 .check-status.next { color: var(--b); }
.CheckV2 .check-status.wait { color: var(--t2); font-weight: 600; }
.CheckV2 .check-row.locked { opacity: .55; cursor: default; }
.CheckV2 .check-email { margin-top: 3px; color: var(--t2); font: 500 15px/1.3 var(--font); overflow-wrap: anywhere; }
.CheckV2 .check-next { margin: 12px 14px 0; padding: 16px; border: 2px solid var(--b-200); border-radius: 20px; background: var(--b-50); }
.CheckV2 .check-next-title { font: 800 21px/1.25 var(--font); }
.CheckV2 .check-next-copy { margin-top: 6px; color: var(--t2); font: 500 16px/1.4 var(--font); }
.CheckV2 .check-primary,
.CheckV2 .check-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; margin-top: 14px; padding: 0 18px; border: 0; border-radius: 16px; background: var(--b); color: #fff; font: 700 17px/1.2 var(--font); }
.CheckV2 .check-secondary { background: #fff; color: var(--b-ink); box-shadow: inset 0 0 0 1.5px var(--b-200); }
.CheckV2 .check-primary.full,
.CheckV2 .check-secondary.full { width: 100%; }
.CheckV2 .check-desktop { display: none; }
.CheckV2 .check-done-hero { display: flex; align-items: center; gap: 14px; margin: 14px; padding: 16px; border-radius: 20px; background: var(--ok-s); color: var(--ok-ink); }
.CheckV2 .check-done-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; flex: none; border-radius: 18px; background: #fff; color: var(--ok); }
.CheckV2 .check-done-title { font: 800 22px/1.25 var(--font); }
.CheckV2 .check-done-copy { margin-top: 3px; font: 500 15px/1.35 var(--font); }
.CheckV2 .check-share { margin: 12px 14px 0; padding: 16px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.CheckV2 .check-share-title { font: 800 21px/1.25 var(--font); }
.CheckV2 .check-link { display: flex; align-items: center; gap: 10px; min-height: 58px; margin-top: 12px; padding: 0 14px; border: 1.5px solid var(--b-200); border-radius: 16px; background: var(--b-50); color: var(--b-ink); font: 700 16px/1.3 var(--font); }
.CheckV2 .check-link > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.CheckV2 .check-share-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.CheckV2 .check-preview-link { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; margin-top: 10px; border-radius: 16px; background: var(--fill); color: var(--ink); font: 700 16px/1.2 var(--font); }
@media (min-width: 760px) {
  .CheckV2 .check-mobile { display: none; }
  .CheckV2 .check-desktop { display: flex; flex: 1; flex-direction: column; min-width: 0; height: 100%; }
  .CheckV2 .check-desktop-head { display: flex; align-items: center; gap: 16px; min-height: 84px; padding: 0 24px; flex: none; border-bottom: 1px solid var(--line); background: #fff; }
  .CheckV2 .check-desktop-head .check-progress { width: 330px; margin: 0 0 0 auto; }
  .CheckV2 .check-desktop-body { display: flex; flex: 1; gap: 18px; min-height: 0; padding: 20px 24px; overflow: auto; }
  .CheckV2 .check-desktop-list { width: 100%; max-width: 780px; margin: 0 auto; padding: 8px 20px; align-self: flex-start; border-radius: 22px; background: #fff; }
  .CheckV2 .check-desktop-list .check-list { margin: 0; padding: 0; }
  .CheckV2 .check-desktop-list .check-next { margin-right: 0; margin-left: 0; }
  .CheckV2 .check-desktop-list .check-share { margin-right: 0; margin-left: 0; }
  .CheckV2 .check-desktop-side { width: 290px; flex: none; align-self: flex-start; padding: 18px; border-radius: 20px; background: #fff; }
  .CheckV2 .check-side-title { font: 800 20px/1.25 var(--font); }
  .CheckV2 .check-side-copy { margin-top: 8px; color: var(--t2); font: 500 16px/1.45 var(--font); }
}
@media (max-width: 1100px) and (min-width: 760px) {
  .CheckV2 .check-desktop-side { display: none; }
}
@media (max-width: 360px) {
  .CheckV2 .check-row-meta { white-space: normal; }
  .CheckV2 .check-status { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .AuthV2 * { animation-duration: .01ms !important; }
}
@keyframes AuthV2Spin { to { transform: rotate(360deg); } }
