/* =========================================================
   Reader accounts: /login/ and /account/ (reader-page.php)
   ========================================================= */
.ls-acct { min-width: 0; padding-bottom: 28px; color: #071d33; }
.ls-acct a { color: #0b5fd8; }
.ls-acct h1, .ls-acct h2 { color: #071d33; }

/* Messages */
.ls-acct-note { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; font-size: 15px; font-weight: 600; line-height: 1.45; }
.ls-acct-note p { margin: 0; }
.ls-acct-note p + p { margin-top: 4px; }
.ls-acct-note.is-ok { background: #e7f6ec; color: #126b36; border: 1px solid #bfe6cd; }
.ls-acct-note.is-error { background: #fdecec; color: #a3201b; border: 1px solid #f4c6c3; }

/* Fields */
.ls-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ls-field label { color: #33465f; font-size: 13.5px; font-weight: 700; }
.ls-field small { color: #667085; font-size: 12.5px; line-height: 1.4; }
.ls-field-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.ls-field-row a { font-size: 13px; font-weight: 600; }
.ls-acct input[type="text"], .ls-acct input[type="email"], .ls-acct input[type="password"] {
    width: 100%; box-sizing: border-box; height: 48px; margin: 0; padding: 0 14px;
    border: 1.5px solid #cfdcef; border-radius: 11px; background: #fff; color: #071d33;
    font: inherit; font-size: 16px; line-height: 1.2;
}
.ls-acct input[type="text"]:focus, .ls-acct input[type="email"]:focus, .ls-acct input[type="password"]:focus { outline: none; border-color: #0b5fd8; box-shadow: 0 0 0 3px rgba(11, 95, 216, .16); }
.ls-pw { position: relative; display: block; }
.ls-pw input { padding-right: 52px !important; }
.ls-pw-toggle { position: absolute; top: 2px; right: 2px; width: 46px; height: 44px; padding: 0; border: 0; border-radius: 9px; background: transparent; color: #4a5d7a; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ls-pw-toggle:hover, .ls-pw-toggle:focus-visible, .ls-pw-toggle[aria-pressed="true"] { color: #0b5fd8; background: #eef4fd; }
.ls-pw-toggle svg { width: 20px; height: 20px; }
.ls-check { display: flex; align-items: flex-start; gap: 10px; color: #33465f; font-size: 14px; line-height: 1.45; font-weight: 500; cursor: pointer; }
.ls-check input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: #0b5fd8; }
.ls-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.ls-meter { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-top: 2px; }
.ls-meter i { height: 5px; border-radius: 3px; background: #dbe7f7; }
.ls-meter i.is-on.is-1 { background: #ef4444; }
.ls-meter i.is-on.is-2 { background: #f59e0b; }
.ls-meter i.is-on.is-3, .ls-meter i.is-on.is-4 { background: #22a05a; }

/* Buttons */
.ls-btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; padding: 0 20px;
    border: 0; border-radius: 11px; background: #0b5fd8; color: #fff !important; font: inherit; font-size: 16px; font-weight: 800; cursor: pointer; text-decoration: none;
}
.ls-btn-primary:hover, .ls-btn-primary:focus-visible { background: #0849ad; }
.ls-btn-primary.is-auto { width: auto; min-height: 44px; font-size: 15px; }
.ls-btn-ghost, .ls-btn-ghost:visited { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1.5px solid #cfe0fa; border-radius: 10px; background: #fff; color: #0b5fd8; font-size: 14px; font-weight: 700; text-decoration: none; }
.ls-btn-ghost:hover, .ls-btn-ghost:focus-visible { border-color: #0b5fd8; }
.ls-btn-danger { min-height: 44px; padding: 0 18px; border: 0; border-radius: 10px; background: #c62828; color: #fff; font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
.ls-btn-danger:hover, .ls-btn-danger:focus-visible { background: #a3201b; }
.ls-btn-green, .ls-btn-green:visited { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 11px; background: #22a05a; color: #fff !important; font-size: 15px; font-weight: 800; text-decoration: none; }
.ls-btn-green svg { width: 18px; height: 18px; }
.ls-btn-green svg path { stroke: #fff; }
.ls-btn-green.is-off { background: #c9d5e6; color: #4a5d7a !important; cursor: not-allowed; }
.ls-btn-green.is-off svg path { stroke: #4a5d7a; }
.ls-btn-link { min-height: 36px; padding: 0 10px; border: 0; border-radius: 8px; background: transparent; color: #4a5d7a; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.ls-btn-link:hover, .ls-btn-link:focus-visible { background: #eef4fd; color: #0b5fd8; }
.ls-icon-btn { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 9px; background: #f4f7fc; color: #4a5d7a; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ls-icon-btn:hover, .ls-icon-btn:focus-visible { background: #fdecec; color: #c62828; }
.ls-icon-btn svg { width: 16px; height: 16px; }

/* ---------- Sign in / create account ---------- */
.ls-auth { container-type: inline-size; display: flex; flex-wrap: wrap; overflow: hidden; border: 1px solid #dbe7f7; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(7, 29, 51, .07); }
.ls-auth-why { flex: 1 1 300px; min-width: 0; box-sizing: border-box; display: flex; flex-direction: column; gap: 16px; padding: 32px 28px; background: #0a2544; color: #fff; }
.ls-auth-kicker { align-self: flex-start; padding: 5px 11px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.ls-auth-why h1 { margin: 0 !important; color: #fff !important; font-size: 30px !important; line-height: 1.15 !important; font-weight: 800 !important; }
.ls-auth-lead { margin: 0; color: #c4d4ea; font-size: 15px; line-height: 1.55; }
.ls-auth-perks { display: flex; flex-direction: column; gap: 14px; margin: 4px 0 0; padding: 0; list-style: none; }
.ls-auth-perks li { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.ls-auth-perks strong { display: block; color: #fff; font-size: 15px; }
.ls-auth-perks small { display: block; margin-top: 2px; color: #a9bdd8; font-size: 13px; line-height: 1.4; }
.ls-auth-perk-icon { flex: 0 0 auto; display: inline-flex; width: 38px; height: 38px; border-radius: 11px; background: #fff; align-items: center; justify-content: center; }
.ls-auth-perk-icon svg { width: 20px; height: 20px; }
.ls-auth-privacy { margin: auto 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); color: #a9bdd8; font-size: 12.5px; line-height: 1.5; }
.ls-auth-form { flex: 1 1 340px; min-width: 0; box-sizing: border-box; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.ls-auth-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: #eef4fd; }
.ls-auth-tabs a { display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 9px; color: #4a5d7a !important; font-size: 15px; font-weight: 700; text-decoration: none; }
.ls-auth-tabs a.is-on { background: #fff; color: #071d33 !important; font-weight: 800; box-shadow: 0 2px 8px rgba(7, 29, 51, .1); }
.ls-auth-form-title { margin: 0 !important; padding: 0 !important; border: 0 !important; color: #071d33 !important; font-size: 22px !important; line-height: 1.2 !important; font-weight: 800 !important; }
.ls-auth-or { display: flex; align-items: center; gap: 12px; margin: 0; color: #667085; font-size: 13px; font-weight: 600; }
.ls-auth-or::before, .ls-auth-or::after { content: ""; flex: 1 1 auto; height: 1px; background: #dbe7f7; }
.ls-auth-fields { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.ls-auth-help { margin: 0; color: #4a5d7a; font-size: 15px; line-height: 1.5; }
.ls-auth-switch { margin: 0; color: #4a5d7a; font-size: 14px; text-align: center; }
.ls-auth-switch a { font-weight: 700; }

/* ---------- My account ---------- */
.ls-acct-head { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin: 0 0 16px; padding: 20px; border: 1px solid #dbe7f7; border-radius: 16px; background: #fff; }
.ls-acct-avatar { flex: 0 0 auto; display: inline-flex; width: 60px; height: 60px; border-radius: 50%; background: #ff8a3d; color: #fff; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.ls-acct-who { flex: 1 1 220px; min-width: 0; }
.ls-acct-who h1 { margin: 0 0 3px !important; font-size: 25px !important; line-height: 1.2 !important; font-weight: 800 !important; overflow-wrap: anywhere; }
.ls-acct-who p { margin: 0; color: #4a5d7a; font-size: 14px; overflow-wrap: anywhere; }
.ls-acct-out, .ls-acct-out:visited { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1.5px solid #dbe7f7; border-radius: 10px; color: #4a5d7a !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.ls-acct-out:hover, .ls-acct-out:focus-visible { border-color: #4a5d7a; color: #071d33 !important; }
.ls-acct-out svg { width: 18px; height: 18px; }
.ls-acct-stats { flex: 1 1 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.ls-acct-stats li { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 12px 14px; border-radius: 12px; }
.ls-acct-stats strong { font-size: 22px; line-height: 1.1; }
.ls-acct-stats span { font-size: 13px; font-weight: 600; }
.ls-acct-stats .is-saved { background: #fdecec; color: #7a2a2a; } .ls-acct-stats .is-saved strong { color: #c62828; }
.ls-acct-stats .is-cmp { background: #e9f7ee; color: #1d5a35; } .ls-acct-stats .is-cmp strong { color: #15803d; }
.ls-acct-stats .is-follow { background: #e6f4fb; color: #0e4f6b; } .ls-acct-stats .is-follow strong { color: #0369a1; }

.ls-acct-tabs { display: flex; gap: 8px; margin: 0 0 16px; padding: 2px 0 4px; overflow-x: auto; scrollbar-width: none; }
.ls-acct-tabs::-webkit-scrollbar { display: none; }
.ls-acct-tabs a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border: 1.5px solid #cfdcef; border-radius: 999px; background: #fff; color: #071d33 !important; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.ls-acct-tabs a i { width: 9px; height: 9px; border-radius: 50%; }
.ls-acct-tabs a:hover, .ls-acct-tabs a:focus-visible { border-color: #0b5fd8; }
.ls-acct-tabs a.is-on { border-color: #0b5fd8; background: #0b5fd8; color: #fff !important; }
.ls-acct-tabs a.is-on i { background: #fff !important; }

.ls-acct-card { margin: 0 0 16px; padding: 20px; border: 1px solid #dbe7f7; border-radius: 16px; background: #fff; }
.ls-acct-card.is-danger { border-color: #f4c6c3; }
.ls-acct-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin: 0 0 14px; }
.ls-acct-card-head h2 { margin: 0 !important; padding: 0 !important; border: 0 !important; font-size: 18px !important; line-height: 1.25 !important; font-weight: 800 !important; }
.ls-acct-card-head a { font-size: 14px; font-weight: 700; text-decoration: none; }
.ls-acct-card-head form { margin: 0; }
.ls-acct-hint { margin: 0 0 12px; color: #4a5d7a; font-size: 14px; line-height: 1.5; }
.ls-acct-card-head .ls-acct-hint { margin: 0; font-size: 13px; }
.ls-acct-empty { margin: 0; padding: 18px; border: 1.5px dashed #cfdcef; border-radius: 12px; color: #4a5d7a; font-size: 14px; line-height: 1.5; text-align: center; }

.ls-acct-devices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.ls-acct-device { position: relative; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 12px; border: 1px solid #e3ecf8; border-radius: 14px; background: #fff; transition: border-color .15s ease, background-color .15s ease; }
.ls-acct-device.is-picked { border: 2px solid #0b5fd8; background: #f5f9ff; padding: 11px; }
.ls-acct-device-link { display: flex; flex-direction: column; align-items: center; gap: 6px; color: #071d33 !important; text-decoration: none; text-align: center; }
.ls-acct-device-link strong { font-size: 14px; line-height: 1.3; }
.ls-acct-device-link small { color: #667085; font-size: 12px; }
.ls-acct-device-link:hover strong { color: #0b5fd8; }
.ls-acct-device-img { display: flex; align-items: center; justify-content: center; height: 96px; }
.ls-acct-device-img img { display: block; max-height: 96px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.ls-acct-pick { display: inline-flex; align-items: center; gap: 7px; color: #33465f; font-size: 13px; font-weight: 700; cursor: pointer; padding-right: 40px; }
.ls-acct-pick input { width: 18px; height: 18px; margin: 0; accent-color: #0b5fd8; }
.ls-acct-unsave { position: absolute; top: 8px; right: 8px; margin: 0; }
.ls-acct-unsave button { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 9px; background: #f4f7fc; color: #4a5d7a; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ls-acct-unsave button:hover, .ls-acct-unsave button:focus-visible { background: #fdecec; color: #c62828; }
.ls-acct-unsave svg { width: 15px; height: 15px; }
.ls-acct-pickbar { position: sticky; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding: 10px 10px 10px 16px; border-radius: 14px; background: #071d33; color: #fff; font-size: 14px; font-weight: 700; }

.ls-acct-cmps { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ls-acct-cmps li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0; padding: 10px 12px; border: 1px solid #e3ecf8; border-radius: 12px; }
.ls-acct-cmps a { flex: 1 1 220px; min-width: 0; color: #071d33 !important; font-size: 14.5px; font-weight: 700; text-decoration: none; }
.ls-acct-cmps a:hover { color: #0b5fd8 !important; }
.ls-acct-cmps small { color: #667085; font-size: 12.5px; }
.ls-acct-cmps form { margin: 0; }
.ls-acct-cmp-icon { flex: 0 0 auto; display: inline-flex; width: 36px; height: 36px; border-radius: 10px; background: #e9f7ee; align-items: center; justify-content: center; }
.ls-acct-cmp-icon svg { width: 19px; height: 19px; }

.ls-acct-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.ls-acct-chips span { padding: 6px 12px; border-radius: 999px; background: #e8f0fd; color: #0b5fd8; font-size: 13.5px; font-weight: 700; }
.ls-acct-follow { margin: 0; }
.ls-acct-brand-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.ls-brand-chip { position: relative; cursor: pointer; }
.ls-brand-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ls-brand-chip span { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 0 16px; border: 1.5px solid #cfdcef; border-radius: 999px; background: #fff; color: #33465f; font-size: 14px; font-weight: 700; }
.ls-brand-chip span::before { content: "+"; font-weight: 800; color: #8a9bb5; }
.ls-brand-chip input:checked + span { border-color: #0b5fd8; background: #e8f0fd; color: #0b5fd8; }
.ls-brand-chip input:checked + span::before { content: "✓"; color: #0b5fd8; }
.ls-brand-chip input:focus-visible + span { outline: 2px solid #0b5fd8; outline-offset: 2px; }

.ls-acct-form { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin: 0; }
.ls-acct-form > .ls-field { width: 100%; max-width: 420px; }
.ls-acct-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; }

/* Sign-in card: when its column is too narrow for two panels side by side (most screens with the sidebar),
   the dark panel becomes a compact header with three small perk tiles. */
.ls-acct-articles { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ls-acct-articles li { display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px; border: 1px solid #e3ecf8; border-radius: 12px; }
.ls-acct-articles form { margin: 0; }
.ls-acct-article { flex: 1 1 auto; display: flex; align-items: center; gap: 12px; min-width: 0; color: #071d33 !important; text-decoration: none; }
.ls-acct-article:hover strong { color: #0b5fd8; }
.ls-acct-article-img { flex: 0 0 auto; width: 84px; height: 56px; border-radius: 9px; background: #dfe8f5; overflow: hidden; }
.ls-acct-article-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ls-acct-article-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ls-acct-article-text small { color: #0b5fd8; font-size: 11.5px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.ls-acct-article-text strong { font-size: 14.5px; line-height: 1.35; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

@container (max-width: 760px) {
    .ls-auth-why { flex-basis: 100%; padding: 22px 22px 18px; gap: 12px; }
    .ls-auth-why h1 { font-size: 26px !important; }
    .ls-auth-perks { flex-direction: row; gap: 8px; margin: 0; }
    .ls-auth-perks li { flex: 1 1 0; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px; border-radius: 12px; background: rgba(255, 255, 255, .06); text-align: center; }
    .ls-auth-perks strong { font-size: 12.5px; line-height: 1.3; }
    .ls-auth-perks small, .ls-auth-privacy { display: none; }
    .ls-auth-form { flex-basis: 100%; }
}
@container (max-width: 480px) {
    .ls-auth-why { padding: 22px 18px; }
    .ls-auth-why h1 { font-size: 24px !important; }
    .ls-auth-lead { display: none; }
    .ls-auth-perks strong { font-size: 12px; }
    .ls-auth-form { padding: 18px 16px 20px; }
}
@media (max-width: 700px) {
    .ls-acct-head { padding: 16px; }
    .ls-acct-stats li { padding: 10px; }
    .ls-acct-stats strong { font-size: 19px; }
    .ls-acct-stats span { font-size: 12px; }
    .ls-acct-devices, .ls-acct-devices.is-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ls-acct-card { padding: 16px; }
    .ls-acct-two { grid-template-columns: minmax(0, 1fr); }
}

/* Keep these colours when WordPress's default button style applies its own hover/focus colour. */
.ls-pw-toggle:focus { color: #0b5fd8; background: #eef4fd; }
.ls-btn-link:focus { background: #eef4fd; color: #0b5fd8; }
.ls-icon-btn:focus, .ls-acct-unsave button:focus { background: #fdecec; color: #c62828; }
.ls-btn-primary:focus { background: #0849ad; color: #fff; }
.ls-btn-danger:focus { background: #a3201b; color: #fff; }

/* ---------- Avatar (photo or initials) ---------- */
.ls-avatar { overflow: hidden; }
.ls-avatar.has-photo { background: #e8f0fd !important; padding: 0; }
.ls-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ls-acct-avatar-link { flex: 0 0 auto; display: inline-flex; border-radius: 50%; text-decoration: none; position: relative; }
.ls-acct-avatar-link:focus-visible { outline: 2px solid #0b5fd8; outline-offset: 3px; }

/* ---------- Settings + Log out (computers: top right, Settings first) ---------- */
.ls-acct-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.ls-acct-settings, .ls-acct-settings:visited { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 14px; border: 1.5px solid #dbe7f7; border-radius: 10px; color: #0b5fd8 !important; font-size: 14px; font-weight: 700; text-decoration: none; }
.ls-acct-settings:hover, .ls-acct-settings:focus-visible { border-color: #0b5fd8; background: #f2f7ff; }
.ls-acct-settings.is-on { border-color: #0b5fd8; background: #0b5fd8; color: #fff !important; }
.ls-acct-settings svg { width: 18px; height: 18px; }
@media (max-width: 700px) {
    /* Phones: below the numbers, Settings on the left and Log out at the right end. */
    .ls-acct-actions { order: 3; flex: 1 1 100%; justify-content: space-between; margin-left: 0; }
}

/* ---------- Brand logos in the followed-brand pills ---------- */
.ls-brand-logo { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 6px; background: #fff; overflow: hidden; font-style: normal; }
.ls-brand-logo img { display: block; max-width: 20px; max-height: 18px; width: auto; height: auto; object-fit: contain; }
.ls-brand-logo.is-letter { background: #0b5fd8; color: #fff; font-size: 11.5px; font-weight: 800; }
.ls-acct-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 6px; }
.ls-brand-chip span::before { display: none; }
.ls-brand-chip span { padding: 0 16px 0 8px; gap: 8px; }
.ls-brand-chip input:checked + span .ls-brand-logo { box-shadow: 0 0 0 1.5px #0b5fd8; }

/* ---------- Profile photo ---------- */
.ls-photo-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.ls-photo-preview { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 88px; height: 88px; border-radius: 50%; background: #ff8a3d; color: #fff; font-size: 30px; font-weight: 800; }
.ls-photo-form { flex: 1 1 260px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0; }
.ls-photo-pick { position: relative; gap: 8px; cursor: pointer; }
.ls-photo-pick svg { width: 18px; height: 18px; }
.ls-photo-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.ls-photo-pick:focus-within { outline: 2px solid #0b5fd8; outline-offset: 2px; }
.ls-photo-help { flex-basis: 100%; color: #667085; font-size: 13px; }
.ls-photo-help.is-error { color: #b42318; font-weight: 700; }

/* ---------- Password checklist ---------- */
.ls-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 14px; margin: -6px 0 0; padding: 0; list-style: none; }
.ls-rules li { display: flex; align-items: center; gap: 8px; margin: 0; color: #4a5d7a; font-size: 13px; font-weight: 600; }
.ls-rules li i { flex: 0 0 auto; position: relative; width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #b9c8de; background: #fff; box-sizing: border-box; }
.ls-rules li.is-typed:not(.is-ok) { color: #b42318; }
.ls-rules li.is-typed:not(.is-ok) i { border-color: #f1a7a1; }
.ls-rules li.is-ok { color: #15803d; }
.ls-rules li.is-ok i { border-color: #22a05a; background: #22a05a; }
.ls-rules li.is-ok i::after { content: ""; position: absolute; left: 4px; top: 1.5px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ls-field .ls-rules { margin-top: 8px; }
@media (max-width: 420px) { .ls-rules { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Check your email ---------- */
.ls-mail-icon { align-self: center; display: inline-flex; width: 72px; height: 72px; border-radius: 50%; background: #eef4fd; align-items: center; justify-content: center; }
.ls-mail-icon svg { width: 44px; height: 44px; }
.ls-check-mail .ls-auth-help { text-align: center; }
.ls-check-tips { margin: 0; padding: 12px 14px 12px 32px; border-radius: 12px; background: #f7faff; color: #33465f; font-size: 14px; line-height: 1.5; }
.ls-check-tips li { margin: 0; }
.ls-check-mail form { margin: 0; }
