/* V1.7: compact clear controls and mobile touch behaviour. */
html,body{touch-action:manipulation;-webkit-text-size-adjust:100%;text-size-adjust:100%}
#accountPanel input,#accountPanel textarea,#accountPanel select{font-size:16px!important;touch-action:manipulation}
#accountPanel .field-clear-wrap>label{margin-bottom:7px}
#accountPanel .field-clear-control{position:relative}
#accountPanel .field-clear-control input{padding-right:52px;display:block}
#accountPanel .field-clear-control .field-clear{position:absolute;right:3px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;min-height:0;padding:0;border:0;border-radius:10px;background:transparent;color:#647398;font-size:23px;font-weight:400;line-height:1;box-shadow:none;touch-action:manipulation}
#accountPanel .field-clear-control .field-clear[hidden]{display:none!important}
#accountPanel .field-clear-control .field-clear:hover{background:transparent;color:#3548bf;filter:none}
#accountPanel .field-clear-control .field-clear:focus-visible{outline-offset:-4px}
@keyframes yu047-autofill{from{opacity:1}to{opacity:1}}
#accountPanel input:-webkit-autofill{animation-name:yu047-autofill;animation-duration:.01s}

/* V1.8: neutral initial state; reveal only after the existing session check. */
.shell[data-initial-state="pending"] #agentHero,
.shell[data-initial-state="pending"] .panel.slim,
.shell[data-initial-state="pending"] footer{display:none}
.shell[data-initial-state="pending"] #accountPanel{min-height:220px;display:grid;align-content:center;justify-items:stretch}
.shell[data-initial-state="pending"] #status{text-align:center;margin:0}
.shell[data-initial-state="ready"]{animation:yu047-initial-reveal 180ms ease-out both}
@keyframes yu047-initial-reveal{from{opacity:.35}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.shell[data-initial-state="ready"]{animation:none}}

#accountPanel .remember-option{display:flex;align-items:center;gap:10px;margin:12px 0 2px;font-size:14px;line-height:1.4;cursor:pointer;width:fit-content;min-height:32px}
#accountPanel .remember-option input{appearance:auto;-webkit-appearance:checkbox;accent-color:#4653d4;width:20px;height:20px;min-height:0;padding:0;margin:0;flex:none;box-shadow:none}
#accountPanel .remember-hint{font-size:12px;color:#53617d;margin:0 0 12px 30px;line-height:1.4}
