/* Common password controls: reserve a separate column for the reveal button.
   Browser/password-manager controls remain inside the input without overlap. */
html[data-theme] body .kh-password-field{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:stretch;position:relative}
html[data-theme] body .kh-password-field>input{width:100%;min-width:0;padding-right:14px;border-right:0;border-top-right-radius:0;border-bottom-right-radius:0}
html[data-theme] body .kh-password-field>button{position:static;inset:auto;display:grid;place-items:center;width:44px;min-height:44px;height:auto;margin:0;padding:0;border:1px solid var(--edge);border-left:0;border-radius:0 8px 8px 0;background:var(--surface);color:var(--muted);cursor:pointer}
html[data-theme] body .kh-password-field:focus-within>button{border-color:var(--field-focus-border)}
html[data-theme] body .kh-password-field>button:focus-visible{outline:2px solid var(--field-focus-border);outline-offset:2px}
html[data-theme] body .kh-password-field .password-eye-icon{width:20px;height:20px;pointer-events:none}
html[data-theme] body .kh-password-field .password-eye-slash{display:none}
html[data-theme] body .kh-password-field [aria-pressed="true"] .password-eye-slash{display:block}
