/* Prototype 18 account-security summary; values come from the current auth read. */
html body #xpage>.handoff-security-settings .security-summary{display:flex;margin:8px 16px;border:1px solid var(--ln,var(--line));border-radius:14px;overflow:hidden}
html body #xpage>.handoff-security-settings .security-summary>*{flex:1;min-width:0;text-align:center;padding:16px 4px;font-size:13px;color:var(--t3,var(--muted));text-decoration:none;border:0;border-left:1px solid var(--ln,var(--line));background:transparent;display:flex;flex-direction:column;align-items:center;justify-content:center}
html body #xpage>.handoff-security-settings .security-summary>:first-child{border-left:0}
html body #xpage>.handoff-security-settings .security-summary b{display:block;font-size:22px;font-weight:800;color:var(--tx,var(--text));margin-bottom:3px;white-space:nowrap}
html body #xpage>.handoff-security-settings .security-summary :is(a,button){cursor:pointer}
html body #xpage>.handoff-security-settings .security-summary :is(a,button):focus-visible{outline:2px solid var(--lk);outline-offset:-3px}
html body #xpage>.handoff-security-settings .security-factor-row{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid var(--ln2,var(--line))}
html body #xpage>.handoff-security-settings .security-factor-row>.fcopy{flex:1;min-width:0}
html body #xpage>.handoff-security-settings .security-factor-row b{font-size:16px;font-weight:700}
html body #xpage>.handoff-security-settings .security-factor-row .security-factor-status{display:inline;font-size:12px;font-weight:600;color:var(--t3);margin-left:5px}
html body #xpage>.handoff-security-settings .security-factor-row>.fcopy>small{display:block;font-size:13px;line-height:1.5;margin-top:4px;color:var(--t3)}
html body #xpage>.handoff-security-settings .security-factor-row>button{flex:none;min-height:44px;padding:8px 12px;color:var(--lk);font-size:14px;font-weight:700;background:transparent;border:0;cursor:pointer}

/* Final prototype uses compact choice rows. Keep descriptions available to
   assistive technology; warnings and account/recovery notices remain visible. */
html body #xpage>.handoff-content-settings[data-settings-section] :is(.prefrow,.prefcontrol){min-height:50px;padding-top:14px;padding-bottom:14px;align-items:center}
html body #xpage>.handoff-content-settings[data-settings-section] .prefcopy{font-size:15px;font-weight:600;line-height:1.35}
html body #xpage>.handoff-content-settings[data-settings-section] .prefcopy>small{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
html body #xpage>.handoff-content-settings[data-settings-section] .prefend{align-items:center;font-size:14px;line-height:1.35}

html body #xpage>.zip14-guest-info-page .zip14-guest-switch{display:flex;align-items:center;gap:12px;position:relative;min-height:76px;margin:0 -16px 16px;padding:16px;border-bottom:1px solid var(--ln2,var(--line));cursor:pointer}
html body #xpage>.zip14-guest-info-page .zip14-guest-switch>span:first-child{flex:1;min-width:0;font-size:15px;font-weight:600;line-height:1.35}
html body #xpage>.zip14-guest-info-page .zip14-guest-switch small{display:block;margin-top:4px;color:var(--t3);font-size:13px;font-weight:400;line-height:1.5}
html body #xpage>.zip14-guest-info-page #guestEnable{position:absolute;width:1px;height:1px;opacity:0;margin:0}
html body #xpage>.zip14-guest-info-page .zip14-guest-track{position:relative;flex:none;width:44px;height:26px;border-radius:13px;background:var(--ln2,#e9ebef)}
html body #xpage>.zip14-guest-info-page .zip14-guest-track:after{content:'';position:absolute;left:3px;top:3px;width:20px;height:20px;border-radius:50%;background:var(--bg,#fff);box-shadow:0 1px 3px #0002;transition:transform .15s}
html body #xpage>.zip14-guest-info-page #guestEnable:checked+.zip14-guest-track{background:var(--ctl,var(--tx))}
html body #xpage>.zip14-guest-info-page #guestEnable:checked+.zip14-guest-track:after{transform:translateX(18px);background:var(--on,var(--bg))}
html body #xpage>.zip14-guest-info-page #guestEnable:focus-visible+.zip14-guest-track{outline:2px solid var(--lk);outline-offset:3px}
html body #xpage>.zip14-nickname .zip14-identity-row{margin:0 -16px;padding:16px;border-radius:0;background:transparent;border-bottom:1px solid var(--ln2,var(--line))}
html body #xpage>.zip14-nickname .zip14-nickname-preview{justify-content:flex-start;gap:12px;padding:12px 0;background:transparent;border:0}
html body #xpage>.zip14-nickname .zip14-nickname-preview>strong{display:none}
html body #xpage>.zip14-nickname .zip14-nickname-avatar{display:flex;flex:none;align-items:center;justify-content:center;width:40px;height:40px;border-radius:12px;background:var(--ctl,var(--tx));color:var(--on,var(--bg));font-size:17px;font-weight:800;font-style:normal}
html body #xpage>.zip14-writing-page :is(.prefrow,.prefcontrol){display:flex;align-items:center;justify-content:space-between;min-height:50px;padding:14px 16px;margin:0 -16px;width:calc(100% + 32px);border-bottom:1px solid var(--ln2,var(--line));background:transparent}
html body #xpage>.zip14-writing-page .prefcopy{font-size:15px;font-weight:600;line-height:1.35}
html body #xpage>.zip14-writing-page .prefcopy>small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body #xpage>.zip14-writing-page .prefend{display:flex;align-items:center;gap:8px;color:var(--lk);font-size:14px}
html body #xpage>.zip14-setting-page .zip14-file-actions{display:flex;gap:8px}
html body #xpage>.zip14-setting-page .zip14-file-actions>.xmain{flex:1;min-width:0;margin:8px 0;font-size:15px}
html body #xpage>.zip14-setting-page .zip14-file-actions>#backupFileLoad{background:transparent;border:1px solid var(--ctl,var(--tx));color:var(--tx,var(--text))}
html body #xpage>:is(.zip14-guest-info-page,.zip14-writing-page){padding-top:0}
html body #xpage>:is(.zip14-setting-page,.zip14-nickname) .xmain:disabled,html body .zip14-account-receipt .xmain:disabled{opacity:1;background:var(--ln2,#eceef1);color:var(--t3,var(--muted));border-color:transparent}
html body .zip14-account-receipt .zip14-receipt-actions>button{min-height:50px;border:1px solid var(--ctl,var(--tx));border-radius:14px;color:var(--tx,var(--text));font-size:15px;background:transparent}

/* Final Prototype18 nickname hierarchy; current account values remain authoritative. */
html body #xpage>.zip14-nickname h2{font-size:13px;color:var(--t3,var(--muted));font-weight:700;margin:20px 0 12px}
html body #xpage>.zip14-nickname .zip14-nickname-count{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:8px;font-size:13px}
html body #xpage>.zip14-nickname .zip14-nickname-count #fnGuide{flex:1;min-width:0;margin:0;font-size:13px}
html body #xpage>.zip14-nickname .zip14-nickname-count #fnCount{flex:none}
html body #xpage>.zip14-nickname .zip14-nickname-guidance{font-size:13px;line-height:1.6;margin:14px 0 0;color:var(--t3,var(--muted))}
html body #xpage>.handoff-security-settings .security-factor-icon{flex:none;display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--s,var(--surface));color:var(--t3,var(--muted))}
html body #xpage>.handoff-security-settings .security-factor-status{display:inline-block;border-radius:10px;padding:2px 6px;margin-left:5px;font-size:11px;font-weight:700;background:var(--pt,var(--point));color:#fff}

/* Later owner request: keep-login is a compact row directly beneath the fields. */
html body.handoff-auth .auth-form .auth-login-options{display:flex;align-items:center;gap:12px;padding:0 16px}
html body.handoff-auth .auth-form .auth-login-options>.auth-check{flex:1;min-width:0;margin:0;padding:4px 0;min-height:48px}
html body.handoff-auth .auth-form .auth-login-options>.auth-show{flex:none;width:auto;min-width:7em;float:none;margin:0;padding:0;min-height:44px;align-self:center}

/* Final security form: reveal the same validation guidance only while typing. */
html body .handoff-security-settings .security-password-rule{display:flex;align-items:center;justify-content:space-between;padding:16px;font-size:13px;font-weight:600;color:var(--t3,var(--muted))}
html body .handoff-security-settings .security-password-rule[hidden],html body .handoff-security-settings #passwordRules[hidden]{display:none}
html body .handoff-security-settings .security-password-rule i{visibility:hidden;font-style:normal;font-weight:800}
html body .handoff-security-settings .security-password-rule[data-met=true]{color:#1a8a4a}
html body .handoff-security-settings .security-password-rule[data-met=true] i{visibility:visible}
