/* Log in, create account, forgot password, and "My account". */
.acct-page { min-height: 100vh; background: linear-gradient(180deg, #f7f1e6, #fbf7ef 55%, #f4ecdc); }
.acct-back { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1.5px solid #e2d6bd; border-radius: 999px; background: #fff; color: var(--brand-900); font: inherit; font-weight: 700; font-size: .9rem; text-decoration: none; cursor: pointer; }
.acct-back .icon { width: 16px; height: 16px; }
.acct-back:hover { border-color: var(--brand-900); }

.acct-main { position: relative; width: min(460px, calc(100% - 28px)); margin: 0 auto; padding: 28px 0 60px; }
.acct-main.acct-wide { width: min(760px, calc(100% - 28px)); }
.acct-bg .ab { position: fixed; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; }
.acct-bg .ab1 { width: 380px; height: 380px; left: -120px; top: 80px; background: radial-gradient(circle, #fcd9a8, transparent 70%); }
.acct-bg .ab2 { width: 420px; height: 420px; right: -140px; bottom: -60px; background: radial-gradient(circle, #c9d3ff, transparent 70%); }

.acct-card { background: #fff; border: 1px solid #ece3d1; border-radius: 26px; box-shadow: 0 30px 70px -40px rgba(23, 27, 74, .55); padding: 18px 18px 22px; }
@media (min-width: 560px) { .acct-card { padding: 22px 28px 28px; } }
.acct-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 999px; background: #f4efe4; }
.acct-tab { padding: 10px 12px; border: 0; border-radius: 999px; background: transparent; color: #6b6f86; font: inherit; font-weight: 800; cursor: pointer; transition: background .2s, color .2s; }
.acct-tab[aria-selected="true"] { background: var(--brand-900); color: #fff; box-shadow: 0 8px 18px -10px rgba(23, 27, 74, .8); }
.acct-tab:focus-visible { outline: 3px solid #d4a24c; outline-offset: 2px; }
.acct-pane { display: grid; gap: 14px; }
@media (prefers-reduced-motion: no-preference) { .acct-pane:not(.hidden) { animation: acctIn .35s cubic-bezier(.2, .8, .2, 1) both; } }
@keyframes acctIn { from { opacity: 0; transform: translateY(8px); } }
.acct-h { margin: 0; font-size: clamp(1.5rem, 5vw, 1.9rem); font-weight: 800; letter-spacing: -.02em; }
.acct-p { margin: -6px 0 2px; color: var(--muted); }
.acct-eyebrow { margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a6a2a; }
.acct-link { justify-self: center; padding: 6px 10px; border: 0; background: none; color: var(--brand-900); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.acct-claim { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: #eef6f1; border: 1px solid #cfe6d8; color: #1f4a3a; font-weight: 600; font-size: .9rem; }
.acct-safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 16px 0 0; color: var(--muted); font-size: .82rem; text-align: center; }
.acct-safe .icon { width: 14px; height: 14px; flex: none; }

.acct-page input[type=tel], .acct-page input[type=text], .acct-page input[type=password], .acct-page select {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #e2d6bd; border-radius: 14px; background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
.acct-page input:focus, .acct-page select:focus { outline: none; border-color: var(--brand-900); box-shadow: 0 0 0 3px rgba(23, 27, 74, .12); }
.acct-page input[readonly] { background: #f7f2e7; color: #4b4f68; }
.acct-page .invalid { border-color: #c0392b !important; box-shadow: 0 0 0 3px rgba(192, 57, 43, .15) !important; }
.pw-wrap { position: relative; display: block; }
.pw-wrap input { padding-right: 74px; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); padding: 6px 10px; border: 0; border-radius: 10px; background: #f4efe4; color: var(--brand-900); font: inherit; font-size: .8rem; font-weight: 800; cursor: pointer; }
.sq-set { margin: 4px 0 0; padding: 14px; border: 1.5px dashed #d9c79f; border-radius: 16px; background: #fffaf0; display: grid; gap: 10px; }
.sq-set legend { font-weight: 800; padding: 0 4px; }
.fg-tip { margin: 0; padding: 8px 12px; border-radius: 12px; background: #fff8e6; color: #6b4e00; font-size: .9rem; }
.error-msg.ok { color: #1f6b3a; background: #e9f7ef; border-color: #cdebd9; }

/* My account */
.acct-hello { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.acct-av { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(150deg, #20265d, #0a0d2d); color: #e3c47a; font-family: var(--font-display, Georgia, serif); font-size: 1.5rem; font-weight: 800; box-shadow: 0 12px 26px -14px rgba(23, 27, 74, .9); }
.acct-hello .acct-p { margin: 2px 0 0; }
.acct-sec { margin-top: 18px; padding: 16px; border-radius: 22px; background: #fff; border: 1px solid #ece3d1; box-shadow: 0 20px 50px -40px rgba(23, 27, 74, .6); }
.acct-sec h2 { margin: 0 0 10px; font-size: 1.15rem; }
.acct-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.acct-sec-head h2 { margin: 0; }
.acct-sec-head .btn .icon { width: 16px; height: 16px; }
.acct-list { display: grid; gap: 8px; }
.acct-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid #ece3d1; border-radius: 16px; background: #faf7f0; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s; }
.acct-row:hover { border-color: var(--brand-900); transform: translateY(-1px); }
.acct-row:focus-visible { outline: 3px solid #d4a24c; outline-offset: 2px; }
.acct-row > .icon { flex: none; width: 18px; height: 18px; color: #b8913a; }
.acct-pic { display: grid; place-items: center; flex: none; width: 56px; height: 42px; border-radius: 10px; overflow: hidden; background: #f4efe4; }
.acct-pic img { width: 100%; height: 100%; object-fit: cover; }
.acct-pic .icon { width: 20px; height: 20px; color: #b8913a; }
.acct-row-t { display: grid; gap: 2px; min-width: 0; flex: 1; }
.acct-row-t b { font-size: .98rem; }
.acct-row-t small { color: var(--muted); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct-badge { flex: none; padding: 4px 9px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: #f4efe4; color: #6b4e00; white-space: nowrap; }
.acct-badge.go { background: #e7f6ee; color: #1f6b3a; }
.acct-badge.done { background: #eef0ff; color: #2b3170; }
.acct-badge.off { background: #f3f3f3; color: #777; }
@media (max-width: 420px) { .acct-badge { display: none; } }
.acct-empty { margin: 4px 0 0; color: var(--muted); }
.acct-pw summary { font-weight: 800; cursor: pointer; }
.acct-pw form { display: grid; gap: 12px; margin-top: 12px; }
@media (prefers-reduced-motion: reduce) { .acct-row, .acct-tab { transition: none; } .acct-row:hover { transform: none; } }

/* "Log in" / "My account" link in the site headers */
.hd-acct { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; color: var(--brand-900); font-weight: 800; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.hd-acct:hover { background: #f4efe4; }
.hd-acct .icon { width: 18px; height: 18px; }
