.gcse-auth-controls{margin-left:auto;display:flex;align-items:center}.gcse-account-button{display:inline-flex;align-items:center;gap:.55rem;border:1px solid rgba(148,163,184,.22);background:rgba(15,23,42,.72);color:#f8fafc;border-radius:999px;padding:.62rem .9rem;font:inherit;font-weight:800;cursor:pointer;transition:.2s ease;max-width:180px}.gcse-account-button:hover{border-color:rgba(125,211,252,.5);transform:translateY(-1px)}.gcse-account-button.signed-in{background:rgba(14,116,144,.18);border-color:rgba(34,211,238,.35)}.gcse-account-button span:last-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gcse-account-icon{width:.65rem;height:.65rem;border-radius:50%;background:#38bdf8;color:transparent;box-shadow:0 0 0 4px rgba(56,189,248,.12)}.gcse-account-button.signed-in .gcse-account-icon{background:#4ade80;box-shadow:0 0 0 4px rgba(74,222,128,.12)}
.gcse-auth-modal[hidden]{display:none!important}.gcse-auth-modal{position:fixed;inset:0;z-index:5000;background:rgba(2,6,23,.78);backdrop-filter:blur(10px);display:grid;place-items:center;padding:1rem}.gcse-auth-open{overflow:hidden}.gcse-auth-shell{position:relative;width:min(520px,100%);max-height:min(760px,calc(100vh - 2rem));overflow:auto;background:linear-gradient(180deg,#0f1d31,#08111f);border:1px solid rgba(148,163,184,.2);border-radius:24px;padding:1.55rem;box-shadow:0 28px 80px rgba(0,0,0,.45)}.gcse-auth-close{position:absolute;right:1rem;top:1rem;width:38px;height:38px;border-radius:50%;border:1px solid rgba(148,163,184,.2);background:rgba(15,23,42,.82);color:#e2e8f0;font-size:1.45rem;cursor:pointer}.gcse-auth-brand{display:flex;align-items:center;gap:.8rem;margin-bottom:1.45rem;padding-right:3rem}.gcse-auth-brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,#38bdf8,#6366f1);font-weight:900;color:white}.gcse-auth-brand div{display:flex;flex-direction:column;gap:.15rem}.gcse-auth-brand strong{color:#f8fafc}.gcse-auth-brand span:last-child{color:#94a3b8;font-size:.82rem}.gcse-auth-eyebrow{display:inline-block;text-transform:uppercase;letter-spacing:.11em;font-size:.72rem;font-weight:900;color:#7dd3fc;margin-bottom:.45rem}.gcse-auth-shell h2{margin:.1rem 0 .55rem;color:#f8fafc;font-size:clamp(1.55rem,4vw,2rem)}.gcse-auth-lead{margin:0 0 1.15rem;color:#aebed3;line-height:1.6}.gcse-auth-switch{display:grid;grid-template-columns:1fr 1fr;background:rgba(15,23,42,.75);padding:.25rem;border-radius:14px;margin-bottom:1rem;border:1px solid rgba(148,163,184,.14)}.gcse-auth-switch button{border:0;border-radius:10px;padding:.72rem .8rem;background:transparent;color:#94a3b8;font:inherit;font-weight:800;cursor:pointer}.gcse-auth-switch button.active{background:#f8fafc;color:#0f172a}.gcse-auth-form{display:grid;gap:.92rem}.gcse-auth-form label{display:grid;gap:.38rem;color:#dbeafe;font-size:.86rem;font-weight:800}.gcse-auth-form input{width:100%;box-sizing:border-box;border-radius:12px;border:1px solid rgba(148,163,184,.25);background:rgba(2,6,23,.62);color:#f8fafc;padding:.82rem .9rem;font:inherit;outline:none}.gcse-auth-form input:focus{border-color:#38bdf8;box-shadow:0 0 0 3px rgba(56,189,248,.12)}.gcse-auth-submit,.gcse-auth-secondary{width:100%;border:0;border-radius:13px;padding:.86rem 1rem;font:inherit;font-weight:900;cursor:pointer}.gcse-auth-submit{background:linear-gradient(135deg,#38bdf8,#6366f1);color:white}.gcse-auth-submit:disabled,.gcse-auth-secondary:disabled{opacity:.65;cursor:wait}.gcse-auth-secondary{background:rgba(148,163,184,.11);color:#e2e8f0;border:1px solid rgba(148,163,184,.2);margin-top:1rem}.gcse-auth-fineprint{color:#718096;font-size:.76rem;line-height:1.45;margin:1rem 0 0}.gcse-auth-message{border-radius:11px;padding:.72rem .8rem;font-size:.84rem;line-height:1.45}.gcse-auth-message.info{background:rgba(14,165,233,.1);color:#bae6fd;border:1px solid rgba(14,165,233,.18)}.gcse-auth-message.success{background:rgba(34,197,94,.1);color:#bbf7d0;border:1px solid rgba(34,197,94,.18)}.gcse-auth-message.error{background:rgba(239,68,68,.1);color:#fecaca;border:1px solid rgba(239,68,68,.18)}
.gcse-account-identity{display:flex;align-items:center;gap:.85rem;margin:1rem 0 1.15rem;padding:1rem;background:rgba(15,23,42,.72);border:1px solid rgba(148,163,184,.14);border-radius:16px}.gcse-account-avatar{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,#38bdf8,#6366f1);color:white;font-weight:900;font-size:1.2rem}.gcse-account-identity>div:last-child{display:flex;min-width:0;flex-direction:column;gap:.22rem}.gcse-account-identity strong{color:#f8fafc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.gcse-account-identity span{color:#94a3b8;font-size:.82rem}.gcse-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.gcse-account-grid article{display:flex;flex-direction:column;gap:.25rem;padding:.95rem;background:rgba(15,23,42,.54);border:1px solid rgba(148,163,184,.12);border-radius:14px}.gcse-account-grid article span{color:#94a3b8;font-size:.72rem;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.gcse-account-grid article strong{color:#f8fafc;font-size:1.1rem}.gcse-account-grid article small{color:#7c8da4}.gcse-account-progress{margin-top:1rem;padding:1rem;background:rgba(2,6,23,.38);border-radius:14px}.gcse-account-progress>div:first-child{display:flex;justify-content:space-between;gap:1rem;color:#cbd5e1;font-size:.85rem}.gcse-account-progress-track{height:9px;background:rgba(148,163,184,.14);border-radius:999px;overflow:hidden;margin-top:.7rem}.gcse-account-progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#38bdf8,#6366f1)}
@media(max-width:760px){.topbar-inner{gap:.65rem}.gcse-auth-controls{margin-left:0}.gcse-account-button{padding:.55rem .7rem;max-width:112px}.gcse-auth-shell{padding:1.2rem;border-radius:19px}.gcse-account-grid{grid-template-columns:1fr 1fr}.top-progress{min-width:0;flex:1}.brand small{display:none}}@media(max-width:480px){.gcse-account-button span:last-child{display:none}.gcse-account-button{width:38px;height:38px;padding:0;justify-content:center}.gcse-account-grid{grid-template-columns:1fr}.gcse-auth-modal{padding:.55rem}.gcse-auth-shell{max-height:calc(100vh - 1.1rem)}}
