/* The account's sheets (site/shell/watch/account.js; stage 4, 2026-12-02): a row's emails, the
   sign-in, the account. One element. A desktop draws it beside the bell (.ac-side), under the
   header's button (.ac-under) or in the middle (.ac-mid); a phone from the foot (.ac-foot). */
.ac-scrim{position:fixed;inset:0;z-index:99980;background:rgba(17,24,39,.42)}
.ac-scrim.ac-clear{background:transparent}
.ac-scrim[hidden],.ac-sheet[hidden]{display:none}
.ac-sheet{position:fixed;z-index:99990;width:348px;max-width:calc(100vw - 24px);max-height:calc(100vh - 86px);overflow-y:auto;box-sizing:border-box;background:#fff;color:#1a202e;
  border:1px solid #cfd5df;border-radius:12px;box-shadow:0 18px 44px rgba(17,24,39,.22);font:13px/1.4 Inter,system-ui,-apple-system,"Segoe UI",sans-serif;outline:0}
.ac-sheet.ac-mid{width:400px}
.ac-sheet.ac-under{width:372px}
.ac-sheet.ac-side::before{content:"";position:absolute;left:-7px;top:var(--ar,26px);width:12px;height:12px;background:#fff;border-left:1px solid #cfd5df;border-bottom:1px solid #cfd5df;transform:rotate(45deg)}
.ac-sheet.ac-side.ac-flip::before{left:auto;right:-7px;transform:rotate(225deg)}
.ac-sheet.ac-foot{left:0;right:0;top:auto;bottom:0;width:auto;max-width:none;max-height:86vh;border:0;border-radius:16px 16px 0 0;padding-bottom:max(14px,env(safe-area-inset-bottom));font-size:15px}
.ac-sheet.ac-foot::before{content:"";display:block;width:38px;height:4px;margin:8px auto -4px;border-radius:2px;background:#cfd5df}
.ac-h{display:flex;align-items:flex-start;gap:10px;padding:14px 16px 10px}
.ac-h h2{margin:0;flex:1;min-width:0;font-size:15px;font-weight:700;line-height:1.3}
.ac-h h2 small{display:block;margin-top:1px;font-size:12px;font-weight:500;color:#5b6270}
.ac-foot .ac-h h2{font-size:17px} .ac-foot .ac-h h2 small{font-size:13px}
.ac-x{flex:none;width:28px;height:28px;margin:-3px -6px 0 0;border:0;border-radius:14px;background:none;color:#5b6270;font-size:21px;line-height:1;cursor:pointer}
.ac-x:hover{background:#eef0f4;color:#1a202e}
.ac-sheet button:focus-visible,.ac-sheet a:focus-visible,.ac-sheet input:focus-visible,.ac-sheet select:focus-visible{outline:2px solid #0034a5;outline-offset:1px}
.ac-row{display:flex;align-items:flex-start;gap:12px;padding:11px 16px;border-top:1px solid #eef0f3}
.ac-row > div{flex:1;min-width:0}
.ac-row b{display:block;font-weight:600}
.ac-row small{display:block;margin-top:1px;font-size:12px;color:#5b6270}
.ac-foot .ac-row small{font-size:13px}
.ac-row.ac-off b{color:#5b6270}
.ac-sw{flex:none;position:relative;width:38px;height:22px;margin-top:1px;padding:0;border:0;border-radius:11px;background:#b9c0cc;cursor:pointer;transition:background .15s}
.ac-sw::after{content:"";position:absolute;left:2px;top:2px;width:18px;height:18px;border-radius:9px;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.25);transition:left .15s}
.ac-sw.on{background:#0034a5} .ac-sw.on::after{left:18px}
.ac-sw:disabled{opacity:.45;cursor:default}
.ac-rule{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-top:8px}
.ac-rule select,.ac-val input,.ac-form input,.ac-edit input{height:34px;box-sizing:border-box;border:1px solid #cfd5df;border-radius:7px;background:#fff;padding:0 9px;font:500 13px Inter,system-ui,sans-serif;color:#1a202e;margin:0}
.ac-rule select{max-width:100%}
.ac-val{display:inline-flex;align-items:center;gap:5px}
.ac-val input{width:74px;text-align:right;font-variant-numeric:tabular-nums}
.ac-val i{font-style:normal;color:#4b5563}
.ac-foot .ac-rule select,.ac-foot .ac-val input,.ac-foot .ac-form input,.ac-foot .ac-edit input{height:42px;font-size:16px}   /* 16px: a phone does not zoom to the field */
.ac-hint{margin:8px 0 0;font-size:12px;color:#4b5563;line-height:1.45}
.ac-saved{color:#17663c;font-weight:600}
.ac-link{font:600 12.5px Inter,system-ui,sans-serif;color:#0034a5;text-decoration:none;background:none;border:0;padding:0;cursor:pointer;text-align:left}
.ac-link:hover{text-decoration:underline}
.ac-foot .ac-link{font-size:14px}
.ac-danger{color:#a3261c}
.ac-f{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 16px 13px;border-top:1px solid #eef0f3;font-size:11.5px;color:#5b6270}
.ac-foot .ac-f{font-size:13px}
.ac-btn{font:600 13px Inter,system-ui,sans-serif;color:#1a202e;background:#fff;border:1px solid #cfd5df;border-radius:8px;padding:8px 14px;cursor:pointer}
.ac-btn:hover{background:#f6f8fc}
.ac-btn:disabled{opacity:.55;cursor:default}
.ac-btn-quiet{border-color:transparent;color:#0034a5;padding:6px 4px}
.ac-btn-primary{color:#fff;background:#0034a5;border-color:#0034a5}
.ac-btn-primary:hover{background:#002b8a}
.ac-btn-danger{color:#fff;background:#a3261c;border-color:#a3261c}
.ac-btn-danger:hover{background:#8a1f17}
.ac-wide{display:block;width:100%;padding:10px 14px}
.ac-foot .ac-btn{font-size:15px;padding:11px 16px}
.ac-kept{display:flex;gap:9px;align-items:center;margin:0 16px 12px;padding:9px 11px;border-radius:8px;background:#f1f4fb;font-size:12.5px;color:#1f2f5c}
.ac-kept svg{flex:none;width:16px;height:16px;fill:#0034a5;stroke:#0034a5;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round}
.ac-form{display:grid;grid-template-columns:1fr 1fr;gap:9px 10px;padding:2px 16px 4px;margin:0}
.ac-form[hidden]{display:none}
.ac-form .full{grid-column:1 / -1}
.ac-form label{display:block;margin-bottom:3px;font-size:11.5px;font-weight:600;color:#4b5563}
.ac-form input{width:100%;height:38px;font-size:14px}
.ac-form input[aria-invalid=true]{border-color:#a3261c}
.ac-err{margin:0;font-size:12.5px;color:#a3261c}
.ac-err[hidden]{display:none}
.ac-code{display:flex;gap:6px}
.ac-code input{width:40px;padding:0;text-align:center;font-size:18px;font-variant-numeric:tabular-nums}
.ac-p{margin:0;padding:0 16px 10px;font-size:13px;color:#1a202e;line-height:1.5}
.ac-foot .ac-p{font-size:15px}
.ac-wait,.ac-none{color:#5b6270}
.ac-addr{word-break:break-all}
.ac-small{margin:0;padding:8px 16px 14px;font-size:12px;color:#5b6270;line-height:1.5}
.ac-sec{padding:0 16px 8px}
.ac-field{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:4px 0;font-size:13px}
.ac-field span{min-width:0;overflow-wrap:anywhere}
.ac-field small{display:block;margin-top:2px;font-size:12px;color:#5b6270}
.ac-edit{display:flex;flex-wrap:wrap;gap:6px;padding:4px 0;margin:0}
.ac-edit input{flex:1 1 120px;min-width:0}
.ac-h3{display:flex;justify-content:space-between;align-items:baseline;margin:0;padding:12px 16px 6px;border-top:1px solid #eef0f3;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#5b6270}
.ac-h3 span{font-weight:600;letter-spacing:.02em;text-transform:none;color:#9aa3b2}
.ac-list{list-style:none;margin:0;padding:0 0 6px}
.ac-list li{display:flex;align-items:center;gap:10px;padding:6px 16px}
.ac-list li > div{flex:1;min-width:0}
.ac-list b{display:block;font-weight:600}
.ac-list small{display:block;font-size:12px;color:#5b6270;line-height:1.4}
.ac-radio{display:flex;gap:10px;align-items:flex-start;padding:6px 16px;cursor:pointer}
.ac-radio input{flex:none;width:16px;height:16px;margin:2px 0 0;accent-color:#0034a5}
.ac-radio b{display:block;font-weight:600}
.ac-radio small{display:block;font-size:12px;color:#5b6270}
.ac-radio:last-of-type{padding-bottom:12px}
/* the bell: on a watchlist row, on a Grid tile, in the account's list. Filled: this row emails. */
.ac-bell{flex:none;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;padding:0;border:0;border-radius:15px;background:none;color:#8a93a3;cursor:pointer}
.ac-bell svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;stroke-linecap:round}
.ac-bell.on{color:#0034a5} .ac-bell.on svg .b{fill:currentColor}
.ac-bell:hover,.ac-bell[aria-expanded=true]{background:#e9eefb;color:#0034a5}
.ac-bell:focus-visible{outline:2px solid #0034a5;outline-offset:1px}
@media (prefers-reduced-motion:reduce){ .ac-sw,.ac-sw::after{transition:none} }
