/* EYE: кнопка «показать/скрыть пароль» */
.pwt-wrap { position: relative; display: block; width: 100%; min-width: 0; }
.pwt-wrap > input.pwt-input.pwt-input { width: 100%; padding-right: 48px !important; box-sizing: border-box; }
.pwt-btn {
  position: absolute; top: 50%; right: 0; transform: translateY(-50%);
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; margin: 0; padding: 0;
  display: grid; place-items: center; border: 0; border-radius: 12px; background: transparent;
  color: var(--muted, #8a9690); cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none;
  transition: color .15s ease, background-color .15s ease;
}
.pwt-btn:hover { color: var(--text, #e9efec); }
.pwt-btn:active { background: rgba(127, 127, 127, .14); }
.pwt-btn:focus-visible { outline: 2px solid var(--accent, #22c55e); outline-offset: -4px; color: var(--text, #e9efec); }
.pwt-btn[aria-pressed="true"] { color: var(--text, #e9efec); }
.pwt-btn svg { display: block; pointer-events: none; }
/* Edge/IE: встроенный «глаз» не дублируем */
input.pwt-input::-ms-reveal, input.pwt-input::-ms-clear { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .pwt-btn:active { background: rgba(0, 0, 0, .08); }
}
