/* Commission Portal v0.8.0 – secure login and profile surfaces. */
:root{--ce-orange:#f05a00;--ce-ink:#101828;--ce-muted:#667085;--ce-line:#e4e7ec;--ce-bg:#f5f6f8;--ce-danger:#b42318;--ce-success:#027a48}
*{box-sizing:border-box}
.ce-auth-body{margin:0;min-height:100vh;background:radial-gradient(circle at 15% 15%,rgba(240,90,0,.09),transparent 34%),linear-gradient(145deg,#f8fafc 0%,#eef1f5 100%);color:var(--ce-ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}
.ce-auth-shell{width:min(1040px,calc(100% - 32px));min-height:100vh;margin:0 auto;display:grid;grid-template-columns:minmax(260px,.85fr) minmax(360px,1.15fr);gap:72px;align-items:center;padding:40px 0}
.ce-auth-brand{display:flex;align-items:center;gap:15px}
.ce-auth-mark{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:var(--ce-orange);color:#fff;font-size:30px;font-weight:900;box-shadow:0 16px 34px rgba(240,90,0,.24)}
.ce-auth-brand div{display:grid;gap:4px}.ce-auth-brand strong{font-size:24px;letter-spacing:-.03em}.ce-auth-brand span{color:var(--ce-muted);font-size:13px}
.ce-auth-card{padding:38px;border:1px solid rgba(208,213,221,.9);border-radius:26px;background:rgba(255,255,255,.96);box-shadow:0 28px 70px rgba(16,24,40,.13);backdrop-filter:blur(10px)}
.ce-auth-card header{margin-bottom:24px}.ce-auth-kicker{display:inline-flex;margin-bottom:10px;color:var(--ce-orange);font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.ce-auth-card h1{margin:0 0 8px;font-size:34px;letter-spacing:-.045em}.ce-auth-card p{margin:0;color:var(--ce-muted);font-size:14px;line-height:1.55}
.ce-auth-card form{display:grid;gap:10px}.ce-auth-card label{margin-top:6px;color:#344054;font-size:12px;font-weight:800}.ce-auth-card input{width:100%;min-height:48px;padding:0 14px;border:1px solid #d0d5dd;border-radius:12px;background:#fff;color:var(--ce-ink);font:inherit;outline:none}.ce-auth-card input:focus{border-color:var(--ce-orange);box-shadow:0 0 0 4px rgba(240,90,0,.11)}.ce-auth-card button{min-height:48px;margin-top:12px;border:0;border-radius:12px;background:var(--ce-orange);color:#fff;font-size:14px;font-weight:850;cursor:pointer;box-shadow:0 10px 22px rgba(240,90,0,.2)}.ce-auth-card button:hover{filter:brightness(.96)}.ce-auth-card button:disabled{cursor:not-allowed;opacity:.5;box-shadow:none}
.ce-auth-alert{margin:0 0 18px;padding:12px 14px;border:1px solid #fecdca;border-radius:12px;background:#fef3f2;color:var(--ce-danger);font-size:13px;line-height:1.45}.ce-auth-alert-info{border-color:#fedf89;background:#fffaeb;color:#93370d}
.ce-auth-card footer{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px;padding-top:18px;border-top:1px solid #eaecf0}.ce-auth-card footer span{padding:6px 9px;border-radius:999px;background:#f2f4f7;color:#475467;font-size:10px;font-weight:750}

.ce-profile-page{display:grid;gap:18px}.ce-profile-hero{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:24px}.ce-profile-hero h1{margin:4px 0 6px;font-size:28px}.ce-profile-hero p{margin:0;color:var(--ce-muted)}.ce-profile-session-pill{display:inline-flex;padding:9px 12px;border:1px solid #d0d5dd;border-radius:999px;background:#fff;color:#475467;font-size:11px;font-weight:800;white-space:nowrap}.ce-profile-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.ce-profile-card{padding:22px}.ce-profile-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.ce-profile-card>header h2{margin:0 0 4px;font-size:18px}.ce-profile-card>header p{margin:0;color:var(--ce-muted);font-size:12px}.ce-profile-card>header>svg{width:22px;height:22px;fill:none;stroke:var(--ce-orange)}.ce-profile-card dl{display:grid;gap:0;margin:0}.ce-profile-card dl>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:18px;padding:11px 0;border-bottom:1px solid #eaecf0}.ce-profile-card dl>div:last-child{border-bottom:0}.ce-profile-card dt{color:var(--ce-muted);font-size:12px}.ce-profile-card dd{margin:0;color:var(--ce-ink);font-size:12px;font-weight:750;overflow-wrap:anywhere}.ce-profile-form{display:grid;gap:12px}.ce-profile-form label{display:grid;gap:6px;color:#344054;font-size:11px;font-weight:800}.ce-profile-form input{min-height:42px;padding:0 12px;border:1px solid #d0d5dd;border-radius:10px;font:inherit;outline:none}.ce-profile-form input:focus{border-color:var(--ce-orange);box-shadow:0 0 0 3px rgba(240,90,0,.1)}.ce-profile-form .btn{justify-self:start;margin-top:4px}.ce-profile-message{padding:12px 14px;border-radius:12px;font-size:13px}.ce-profile-message.is-success{border:1px solid #abefc6;background:#ecfdf3;color:var(--ce-success)}.ce-profile-message.is-error{border:1px solid #fecdca;background:#fef3f2;color:var(--ce-danger)}.ce-session-list{display:grid}.ce-session-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 0;border-top:1px solid #eaecf0}.ce-session-row:first-child{border-top:0}.ce-session-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#f2f4f7;color:#475467}.ce-session-icon svg{width:20px;height:20px;fill:none;stroke:currentColor}.ce-session-row>div{display:grid;gap:4px;min-width:0}.ce-session-row strong{font-size:12px}.ce-session-row span{color:var(--ce-muted);font-size:10px;line-height:1.5}.ce-session-row form{margin:0}
@media(max-width:900px){.ce-auth-shell{grid-template-columns:1fr;gap:30px;align-content:center}.ce-auth-brand{justify-content:center}.ce-profile-grid{grid-template-columns:1fr}.ce-profile-hero{align-items:flex-start;flex-direction:column}.ce-profile-session-pill{white-space:normal}}
@media(max-width:560px){.ce-auth-shell{width:min(100% - 20px,520px);padding:20px 0}.ce-auth-card{padding:26px 20px;border-radius:20px}.ce-auth-brand strong{font-size:20px}.ce-auth-mark{width:50px;height:50px}.ce-session-row{grid-template-columns:38px minmax(0,1fr)}.ce-session-row form{grid-column:2}.ce-profile-card dl>div{grid-template-columns:1fr;gap:4px}}
