/* The password in the text (Nov 14 2026; her pick from old/password-options.html: 5 No texto on b Janela, the chat window's paper and hairline). Loaded after short.css by the two short versions; pw-text.js builds the block.
   The field is the chat's own (.pw-bar · .pw-eye · .pw-go, short.css), so the two read as one and the flight lands on itself; on these pages its border is 3:1 (ink 60%), the chat's too.
   html.pwt-in-view = the block on screen, the corner avatar steps aside · html.pwt-away = the chat open, the block a dashed slot · html.pwt-mx = the flight */
:root{--pwt-fl:color-mix(in oklab,var(--ink) 60%,transparent);--pwt-slot:color-mix(in oklab,var(--ink) 30%,transparent)}
.pw-bar{border-color:var(--pwt-fl);background:var(--pp)}
.pwt{display:flex;flex-direction:column;align-items:flex-start;gap:var(--s-3);max-width:480px;margin-top:var(--s-5);padding:var(--s-5);border:1px solid var(--line);border-radius:var(--r-card);background:var(--pp);color:var(--ink)}
.pwt [hidden]{display:none}
html.pwt-away .pwt{border-style:dashed;border-color:var(--pwt-slot);background:none}
html.pwt-away .pwt>*{visibility:hidden}
.pwt-k{display:flex;align-items:center;gap:var(--s-2);color:var(--muted)}
.pwt-k svg{flex:none}
.pwt-q{font:600 var(--t-heading)/1.1 var(--f-serif);font-variation-settings:'SOFT' 100,'WONK' 0}
.pwt-d{max-width:36ch;text-wrap:pretty}
.pwt-f{align-self:stretch}
.pwt.busy .pw-go{opacity:.6;cursor:progress}
.pwt.ok .pw-bar{border-color:var(--olive)}.pwt.ok .pw-go{background:var(--olive);translate:none}
.pwt.bad .pw-bar{border-color:var(--rose-ink);animation:pw-shake .45s ease}
html.still .pwt.bad .pw-bar{animation:none}
.pwt-msg{color:var(--rose-ink);font-weight:600}
.pwt-msg:empty{display:none}
.pwt.ok .pwt-msg{color:var(--ink)}
.pwt-help{color:var(--muted);text-wrap:pretty}
.pwt-help a{color:var(--ink);background:linear-gradient(currentColor,currentColor) 0 100%/100% 1px no-repeat}
.pwt-help a:hover{color:var(--rose-ink)}
.pwt-open{align-self:flex-start}
.pwt .pwt-open,.pwt .pwt-open:is(:hover,:focus-visible){color:var(--cream)}
.pwt.pwt-rv>*{animation:pwt-rv .28s var(--e-bloom) both}
.pwt.pwt-rv>:nth-child(2){animation-delay:.02s}.pwt.pwt-rv>:nth-child(3){animation-delay:.04s}.pwt.pwt-rv>:nth-child(n+4){animation-delay:.06s}
.pwt.pwt-rv.pwt-lk>:is(.pwt-f,.pwt-open){animation:none}
@keyframes pwt-rv{from{opacity:0;translate:0 6px}}
html.still .pwt.pwt-rv>*{animation-name:pw-fade}
@media (prefers-reduced-motion:reduce){.pwt.pwt-rv>*{animation-name:pw-fade}}
#pw{transition:opacity .3s,translate .45s var(--e-bloom),visibility .3s}
html.pwt-in-view #pw:not(.open){opacity:0;visibility:hidden;translate:0 var(--s-3)}
html.pwt-mx #pw{transition:none;opacity:0;visibility:hidden}
/* the flight: a ghost of the window (its content fades out) and the field riding on top */
.pwt-gh{position:fixed;z-index:49;box-sizing:border-box;overflow:hidden;border:1px solid transparent;border-radius:var(--r-card);pointer-events:none}
.pw.open.pwt-gw{position:absolute;left:-1px;top:-1px;right:auto;bottom:auto;z-index:auto;transition:opacity .14s ease}
.pw.open.pwt-gw .pw-card{animation:none;border-color:transparent;background:none;box-shadow:none}
.pwt-gw .pw-b{animation:none}
.pw.pwt-gf{left:0;top:0;right:auto;bottom:auto;box-sizing:border-box;align-items:stretch;pointer-events:none}
.pw.pwt-gf>*{flex:1 1 auto;min-width:0;margin:0;align-self:stretch}
