/* Accounts (public/accounts.js): the dialogs over the sign-in card and the app, the gate links, the notification bell. */
.acc-dialog{box-sizing:border-box;width:min(420px,calc(100vw - 24px));max-height:calc(100dvh - 32px);margin:auto;padding:26px 26px 22px;border:1px solid rgba(45,212,191,.3);border-radius:var(--r-xl,16px);background:linear-gradient(160deg,#111827,#0A0F1C);color:var(--fg,#E8ECF4);overflow:auto;box-shadow:0 30px 80px rgba(0,0,0,.6),0 0 60px rgba(45,212,191,.08);font:inherit;font-family:var(--font-b)}
.acc-dialog.wide{width:min(560px,calc(100vw - 24px))}
.acc-dialog::backdrop{background:rgba(5,8,18,.72);backdrop-filter:blur(6px)}
.acc-dialog h2{margin:0 0 6px;font:600 19px var(--font-h);letter-spacing:.01em;line-height:1.35}
html[lang="ar"] .acc-dialog h2{line-height:1.6}
.acc-sub{margin:0 0 16px;color:var(--muted);font-size:13px;line-height:1.55}
.acc-hint{margin:-4px 0 12px;color:var(--muted);font-size:12px;line-height:1.5}   /* sec-auth: the new-password rule */
.acc-sec-out{margin-top:22px;padding-top:18px;border-top:1px solid var(--border)}
/* PR-15: the terms / privacy checkbox (registration) and the acceptance dialog (public/legal-consent.js) */
.acc-legal{display:flex;gap:10px;align-items:center;min-height:44px;margin:4px 0 12px;padding-block:6px;font-size:13px;line-height:1.5;cursor:pointer}
.acc-legal input{width:24px;height:24px;margin:0;flex:none;accent-color:var(--teal);cursor:pointer}   /* a 24 px box in a 44 px row whose space around the box ticks it too; the links stay links (review finding jawabbid-walk1-signup-consent-checkbox-13px) */
.acc-legal a,.acc-legal-docs a{color:var(--teal)}
.acc-legal-docs{margin:0 0 14px;padding-inline-start:20px;font-size:13px;line-height:1.8}
.acc-sub.acc-ok{color:#9BE7DA}
.acc-sub.acc-bad{color:#F8A3A3}
.acc-lbl{display:block;font:600 10.5px var(--font-h);letter-spacing:.14em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}
html[lang="ar"] .acc-lbl,html[lang="zh"] .acc-lbl,html[lang="ja"] .acc-lbl,html[lang="ko"] .acc-lbl{letter-spacing:0;font-size:12px}
.acc-txt{box-sizing:border-box;width:100%;padding:11px 12px;border-radius:var(--r,8px);border:1px solid var(--border);background:rgba(30,41,59,.5);color:inherit;outline:none;margin:0 0 12px;font-size:14px}
.acc-txt:focus{border-color:var(--teal)}
.acc-err{min-height:18px;margin:-4px 0 8px;font-size:12px;color:#F87171}
.acc-err:empty{min-height:0;margin:0}
.acc-err .acc-link{background:none;border:0;padding:2px 0;color:var(--teal);font:inherit;font-weight:600;text-decoration:underline;cursor:pointer}
.acc-row{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:6px}
.acc-row.start{justify-content:flex-start;align-items:center}
.acc-row .btn{min-height:42px}
.acc-dialog .btn[disabled]{opacity:.6;cursor:wait}
.acc-roles{border:0;padding:0;margin:0 0 10px;display:flex;gap:18px;flex-wrap:wrap}
.acc-roles label{display:inline-flex;gap:6px;align-items:center;font-size:13.5px;min-height:32px}
.acc-temp{display:flex;gap:8px;align-items:flex-start}
.acc-temp .acc-txt{font:600 15px ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.06em}
.acc-temp .opt{min-height:42px;flex-shrink:0}
.acc-steps{list-style:none;margin:0 0 16px;padding:0;display:grid;gap:10px}
.acc-steps li{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid var(--border);border-radius:var(--r-lg,12px);background:rgba(30,41,59,.35)}
.acc-steps .acc-n{flex-shrink:0;width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font:700 12px var(--font-h);color:#06251f;background:var(--teal)}
.acc-steps div{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.acc-steps b{font-size:13.5px}
.acc-steps small{color:var(--muted);font-size:12px;line-height:1.45}
.acc-steps .opt{flex-shrink:0}
.acc-sec h3{margin:4px 0 4px;font:600 15px var(--font-h)}
.acc-sec form{max-width:360px}
.gbox .acc-glink{margin-top:6px}
.gbox .acc-reg{margin-top:12px;color:var(--teal);text-decoration:none;font-weight:600}
.gbox .acc-reg:hover,.gbox .acc-reg:focus-visible{text-decoration:underline}
.glink.acc-inline{display:inline;width:auto;margin:0;padding:4px 2px;color:var(--muted);font-size:12px;text-decoration:underline;text-underline-offset:3px}
.glink.acc-inline:hover,.glink.acc-inline:focus-visible{color:var(--teal)}
/* the bell */
.acc-bellwrap{position:relative;display:flex;align-items:center}
.acc-bellwrap[hidden]{display:none}
.acc-bell{position:relative;width:36px;height:36px;border-radius:var(--r);border:1px solid var(--border);display:grid;place-items:center;color:var(--muted);transition:.2s}
.acc-bell:hover,.acc-bell[aria-expanded="true"]{color:var(--teal);border-color:rgba(45,212,191,.5)}
.acc-bell:focus-visible{outline:2px solid var(--teal);outline-offset:2px}
.acc-bell.ring svg{animation:accRing .9s ease}
@keyframes accRing{0%,100%{transform:rotate(0)}20%{transform:rotate(14deg)}40%{transform:rotate(-12deg)}60%{transform:rotate(8deg)}80%{transform:rotate(-4deg)}}
@media (prefers-reduced-motion:reduce){.acc-bell.ring svg{animation:none}}
.acc-badge{position:absolute;top:-6px;inset-inline-end:-6px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--teal);color:#06251f;font:700 10.5px/18px var(--font-h);text-align:center}
.acc-badge[hidden]{display:none}
.acc-panel{position:absolute;top:calc(100% + 8px);inset-inline-end:0;z-index:30;width:min(360px,calc(100vw - 24px));max-height:min(480px,calc(100dvh - 120px));overflow:auto;border:1px solid var(--border);border-radius:var(--r-lg,12px);background:#0F1624;box-shadow:0 18px 50px rgba(0,0,0,.55)}
.acc-panel[hidden]{display:none}
.acc-phead{position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;border-bottom:1px solid var(--border);background:#0F1624}
.acc-phead h2{margin:0;font:600 13px var(--font-h);letter-spacing:.06em;text-transform:uppercase;color:var(--label,#94A9B5)}
.acc-notes{list-style:none;margin:0;padding:4px 0}
.acc-note{display:flex;gap:10px;width:100%;padding:10px 14px;text-align:start;align-items:flex-start;border-bottom:1px solid rgba(42,51,71,.5)}
.acc-notes li:last-child .acc-note{border-bottom:0}
.acc-note:hover,.acc-note:focus-visible{background:rgba(45,212,191,.06);outline:none}
.acc-dot{flex-shrink:0;width:7px;height:7px;margin-top:7px;border-radius:50%;background:transparent}
.acc-note.unread .acc-dot{background:var(--teal)}
.acc-nt{display:flex;flex-direction:column;gap:2px;min-width:0}
.acc-nt b{font-weight:500;font-size:13px;line-height:1.45;overflow-wrap:anywhere}
.acc-note.unread .acc-nt b{font-weight:600}
.acc-nt small{color:var(--muted);font-size:12px}
.acc-nt time{color:var(--muted);font-size:11px}
.acc-empty{margin:0;padding:22px 14px;color:var(--muted);font-size:13px;text-align:center}
@media (max-width:960px){ header>.acc-bellwrap{order:3} }   /* row 1 of the compact header, next to the account (index.html orders .user 3) */
@media (max-width:640px){
  .acc-dialog{padding:20px 16px 16px}
  .acc-row .btn{flex:1 1 auto}
  .acc-steps li{flex-wrap:wrap}
  .acc-panel{position:fixed;top:64px;inset-inline:12px;width:auto}
}
/* Package H: the bell's delete button and "Clear read" */
.acc-nrow{position:relative}
.acc-nrow .acc-note{padding-inline-end:40px}
.acc-ndel{position:absolute;top:6px;inset-inline-end:6px;width:30px;height:30px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--muted);font-size:18px;line-height:1;cursor:pointer;opacity:.7}
.acc-ndel:hover,.acc-ndel:focus-visible{opacity:1;color:var(--text,#E6EDF3);background:rgba(255,255,255,.06);outline:none}
.acc-pacts{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}
/* Package H: Settings → Profile */
.pf-sec form{max-width:420px}
.pf-sec .pf-h{margin-top:22px}
.pf-sec bdi{word-break:break-all}
.acc-steps li.is-done{opacity:.78}
.acc-steps li.is-done .acc-n{background:var(--border);color:var(--fg)}
.acc-steps .acc-done{flex-shrink:0;font-size:12px;color:var(--teal);font-weight:600}
.acc-row-wrap{justify-content:space-between}
.acc-row-wrap #acc-onb-never{margin-inline-end:auto}
@media (max-width:520px){ .acc-row-wrap{justify-content:stretch} .acc-row-wrap .btn{flex:1 1 auto} }
/* light-theme:begin — generated by tools/light-theme.mjs from the rules above; do not edit by hand (hand-tuned light rules go after the end marker) */
html[data-theme="light"] .acc-dialog{border:1px solid rgba(45,212,191,.3);background:linear-gradient(160deg,#eff1f5,#f4f5f9);color:var(--fg,#273654);box-shadow:0 30px 80px rgba(15,23,42,.21),0 0 60px rgba(45,212,191,.048)}
html[data-theme="light"] .acc-dialog::backdrop{background:rgba(15,23,42,.396)}
html[data-theme="light"] .acc-sub.acc-ok{color:#1a7767}
html[data-theme="light"] .acc-sub.acc-bad{color:#740606}
html[data-theme="light"] .acc-txt{background:rgba(230,234,240,.5)}
html[data-theme="light"] .acc-err{color:#a50404}
html[data-theme="light"] .acc-steps li{background:rgba(230,234,240,.35)}
html[data-theme="light"] .acc-steps .acc-n{color:#06251f}
html[data-theme="light"] .acc-bell:hover,html[data-theme="light"] .acc-bell[aria-expanded="true"]{border-color:rgba(45,212,191,.5)}
html[data-theme="light"] .acc-badge{color:#06251f}
html[data-theme="light"] .acc-panel{background:#f1f3f6;box-shadow:0 18px 50px rgba(15,23,42,.193)}
html[data-theme="light"] .acc-phead{background:#f1f3f6}
html[data-theme="light"] .acc-phead h2{color:var(--label,#566973)}
html[data-theme="light"] .acc-note{border-bottom:1px solid rgba(225,228,234,.5)}
html[data-theme="light"] .acc-note:hover,html[data-theme="light"] .acc-note:focus-visible{background:rgba(45,212,191,.06)}
html[data-theme="light"] .acc-ndel:hover,html[data-theme="light"] .acc-ndel:focus-visible{color:var(--text,#273f54);background:rgba(15,23,42,.051)}
/* light-theme:end */
