/* Account pages (server/accounts.mjs): register, sign in, reset, the account page. Text shades reach WCAG AAA on
   their backgrounds (CLAUDE.md rule 13); no inner scrolls; forms are one column and fit a phone. */
.acc{padding-top:18px;padding-bottom:64px;max-width:920px}
.acc h2{margin:34px 0 0;font-size:20px;line-height:28px;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}
.acc h2 small{font-weight:400;font-size:15px;color:#444E5B}
.acc-f{display:grid;gap:14px;margin-top:20px;max-width:440px}
.acc-f label{display:grid;gap:6px;font-weight:600;font-size:14px;color:#0E1A2B}
.acc-f input[type=email],.acc-f input[type=password],.acc-f input[type=text]{height:48px;padding:0 16px;border:1px solid #6B7480;border-radius:12px;font:inherit;width:100%;color:#0E1A2B;background:#fff}
.acc-f .secure{margin:-6px 0 0}
.acc-f .btn-dark,.acc-f .btn-outline{justify-content:center}
.acc-note{margin:16px 0 0;padding:12px 14px;border-radius:12px;font-weight:600;max-width:560px}
.acc-note.err{background:#FEF3F2;color:#7A271A}
.acc-note.ok{background:#ECFDF3;color:#14532D}
.acc-links{margin-top:18px;display:flex;flex-wrap:wrap;gap:6px 18px}
.acc-muted{color:#444E5B}
.acc-list{list-style:none;padding:0;margin:14px 0 0;display:flex;flex-direction:column;gap:10px}
.acc-list li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;border:1px solid #D5DAE0;border-radius:16px}
.acc-list small{color:#444E5B}
.acc-list span{min-width:0;overflow-wrap:anywhere}
.acc-prod{flex-wrap:nowrap!important}.acc-prod>span{flex:1}
.acc-thumb{flex:none;width:56px;height:56px;border-radius:10px;background:#F2F4F6;display:flex;align-items:center;justify-content:center;overflow:hidden}
.acc-thumb img{width:100%;height:100%;object-fit:contain;background:#fff}
@media (max-width:480px){.acc-prod{flex-wrap:wrap!important}.acc-prod>span{flex:1 1 calc(100% - 72px)}}
.acc-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.acc-danger{color:#7A271A;border-color:#7A271A}

/* the signed-in account area (server/accounts.mjs areaOf): the menu on the left, the section on the right; on a phone the
   menu stands above the section. No inner scrolls; the menu grows with its items. */
.acc.acc-area{max-width:1180px}
.acc-grid{display:grid;grid-template-columns:240px minmax(0,1fr);gap:40px;align-items:start;margin-top:18px}
.acc-nav{border:1px solid #D5DAE0;border-radius:18px;padding:14px;display:grid;gap:10px}
.acc-who{margin:0 4px 4px;display:grid;gap:2px}
.acc-who span{font-size:13px;color:#444E5B;overflow-wrap:anywhere}
.acc-nav ul{list-style:none;margin:0;padding:0;display:grid;gap:2px}
.acc-nav a{display:block;padding:10px 12px;border-radius:12px;color:#0E1A2B;text-decoration:none;font-weight:600;font-size:15px}
.acc-nav a:hover{background:#F1F3F5}
.acc-nav a[aria-current="page"]{background:#0E1A2B;color:#FFFFFF}
.acc-out{width:100%;height:40px;border:1px solid #D5DAE0;border-radius:999px;background:#FFFFFF;font:inherit;font-weight:600;color:#0E1A2B;cursor:pointer}
.acc-out:hover{border-color:#0E1A2B}
.acc-main .h1{margin:0}
.acc-main > .lead{margin-top:8px}
.acc-main h2:first-child{margin-top:8px}
.acc-small{font-size:13px;margin-top:10px}
.acc-cards{list-style:none;margin:20px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px}
.acc-cards a{display:grid;gap:2px;padding:16px;border:1px solid #D5DAE0;border-radius:16px;color:#0E1A2B;text-decoration:none}
.acc-cards a:hover{border-color:#0E1A2B}
.acc-cards strong{font-size:28px;line-height:34px}
.acc-cards span{font-size:14px;color:#444E5B}
.acc-tip{margin-top:28px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:16px;border-radius:16px;background:#F4F5F7}
.acc-tip span{flex:1 1 260px;color:#444E5B}
/* settings: one switch per row, its words on the left */
.acc-sets{display:grid;gap:0;margin-top:14px;max-width:720px;border:1px solid #D5DAE0;border-radius:16px;padding:4px 16px 16px}
.acc-sw,.acc-sel{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #E3E6EA;cursor:pointer}
.acc-sw-t{display:grid;gap:2px;min-width:0}
.acc-sw-t strong{font-size:15px;color:#0E1A2B}
.acc-sw-t small{font-size:13px;line-height:18px;color:#444E5B}
.acc-sw{position:relative}
.acc-sw input{position:absolute;opacity:0;width:44px;height:26px;right:0;margin:0;cursor:pointer}
.acc-sw-k{flex:0 0 44px;height:26px;border-radius:999px;background:#6B7480;position:relative;transition:background .15s}
.acc-sw-k::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#FFFFFF;transition:transform .15s}
.acc-sw input:checked + .acc-sw-k{background:#14532D}
.acc-sw input:checked + .acc-sw-k::after{transform:translateX(18px)}
.acc-sw input:focus-visible + .acc-sw-k{outline:2px solid #1E40AF;outline-offset:2px}
.acc-sel select{height:40px;border:1px solid #6B7480;border-radius:10px;padding:0 10px;font:inherit;background:#FFFFFF;color:#0E1A2B}
.acc-sets .btn-dark{justify-self:start;margin-top:16px}
.acc-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;padding:14px 16px;border:1px solid #D5DAE0;border-radius:16px}
.acc-dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 16px;margin-top:22px}
.acc-dl dt{font-weight:600;color:#444E5B}
.acc-dl dd{margin:0;overflow-wrap:anywhere}
@media (max-width:900px){.acc-grid{grid-template-columns:1fr;gap:20px}.acc-nav ul{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}
/* "Continuă cu Google": OUR button (server/accounts.mjs googleBox / googleConfirm) in Google's light sign-in style — white,
   grey border, Google's "G" on the left; the text #1F1F1F on white is AAA. Nothing of Google's is loaded for it. */
.acc-gsi{margin:20px 0 4px;max-width:440px}
.acc-gform{margin:0}
.acc-gbtn{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:48px;padding:0 20px;border:1px solid #747775;border-radius:999px;background:#fff;color:#1F1F1F;font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.acc-gbtn:hover{background:#F2F4F7}
.acc-gbtn:focus-visible{outline:3px solid #1E40AF;outline-offset:2px}
.acc-gmark{flex:none}
.acc-f .acc-gbtn{max-width:440px}
.acc-or{display:flex;align-items:center;gap:12px;margin:18px 0 0;color:#3B4656;font-size:14px}
.acc-or::before,.acc-or::after{content:"";flex:1;height:1px;background:#D5DAE1}
.acc-f .acc-check{display:flex;gap:10px;align-items:center}
.acc-f .acc-check input{width:20px;height:20px;margin:0}
