:root{--auth-bg:#f7f4ee;--surface:#fff;--surface-soft:#fbfaf7;--border:#e4ded3;--text:#202a32;--muted:#69747d;--primary:#2f87bd;--primary-hover:#2476a8;--danger:#b84d43;--danger-soft:#faece9;--success:#2f8e62;--success-soft:#eaf6ef}
*{box-sizing:border-box}body{margin:0;color:var(--text);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5;background:var(--auth-bg)}a{color:var(--primary);text-decoration:none}button,input,textarea,select{font:inherit}
.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(360px,.82fr) minmax(480px,1.18fr)}
.auth-brand-panel{min-height:100vh;display:flex;flex-direction:column;padding:40px;color:#edf6fb;background:linear-gradient(rgba(111,170,204,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(111,170,204,.08) 1px,transparent 1px),radial-gradient(circle at 20% 10%,rgba(47,135,189,.28),transparent 32%),#0e1a24;background-size:32px 32px,32px 32px,auto,auto}
.auth-brand{display:flex;align-items:center;gap:12px;color:#fff}.auth-brand-mark{width:34px;height:32px;position:relative}.auth-brand-mark span{position:absolute;width:18px;height:8px;transform:skewX(-30deg);border-radius:2px;background:#4fa5d6}.auth-brand-mark span:nth-child(1){left:1px;top:4px}.auth-brand-mark span:nth-child(2){left:8px;top:12px;opacity:.78}.auth-brand-mark span:nth-child(3){left:15px;top:20px;opacity:.55}
.auth-brand>span:last-child,.auth-brand strong,.auth-brand small{display:block}.auth-brand strong{font-size:14px}.auth-brand small{margin-top:2px;color:#9db0bd;font-size:9px;letter-spacing:.1em;text-transform:uppercase}
.auth-brand-content{max-width:530px;margin:auto 0}.auth-eyebrow{color:#5bb1e0;font-size:10px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.auth-brand-content h1{margin:16px 0 20px;font-size:clamp(38px,4vw,58px);line-height:1.04;letter-spacing:-.05em}.auth-brand-content p{color:#aec0cb;font-size:16px}
.auth-security-note{display:flex;gap:11px;max-width:470px;color:#a9bdc9;font-size:11px}.auth-security-note span{color:#5fda94;font-weight:900}.auth-security-note p{margin:0}
.auth-main{min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:38px}.auth-card{width:min(480px,100%);margin:auto;padding:34px;border:1px solid var(--border);border-radius:12px;background:var(--surface);box-shadow:0 20px 55px rgba(32,42,50,.08)}
.auth-card-heading{margin-bottom:26px}.auth-card-heading h2,.legal-content h2{margin:8px 0;font-size:28px;letter-spacing:-.035em}.auth-card-heading p{margin:0;color:var(--muted);font-size:13px}
.form-group{margin-bottom:17px}.form-group label,.label-row label{display:block;margin-bottom:6px;color:#34424c;font-size:11px;font-weight:750}.label-row{display:flex;justify-content:space-between;gap:14px}.label-row a{font-size:10px;font-weight:700}
.form-group input,.form-group textarea,.form-group select,.project-form-card input,.project-form-card textarea,.project-form-card select{width:100%;border:1px solid var(--border);border-radius:6px;background:#fff;color:var(--text)}
.form-group input,.form-group select,.project-form-card input,.project-form-card select{min-height:43px;padding:0 12px}.form-group textarea,.project-form-card textarea{padding:10px 12px;resize:vertical}
.form-group input:focus,.form-group textarea:focus,.form-group select:focus,.project-form-card input:focus,.project-form-card textarea:focus,.project-form-card select:focus{outline:3px solid rgba(47,135,189,.14);border-color:var(--primary)}
.field-help{display:block;margin-top:5px;color:#89938f;font-size:10px}.field-error{display:block;margin-top:5px;color:var(--danger);font-size:10px}.field-error-block{margin-bottom:12px}
.checkbox-row{display:flex;align-items:flex-start;gap:9px;margin-bottom:18px;color:var(--muted);font-size:10px}.checkbox-row input{margin-top:2px}
.auth-submit{width:100%;min-height:44px;border:0;border-radius:6px;background:var(--primary);color:#fff;font-size:12px;font-weight:800;cursor:pointer}.auth-submit:hover{background:var(--primary-hover)}
.auth-alternative{display:flex;justify-content:center;gap:6px;margin-top:21px;color:var(--muted);font-size:11px}
.form-alert{padding:11px 12px;margin-bottom:18px;border-radius:6px;font-size:11px}.form-alert-error{border:1px solid #eccac5;background:var(--danger-soft);color:#913d35}.form-alert-success{border:1px solid #bfe2cd;background:var(--success-soft);color:#276f4e}
.auth-footer{display:flex;justify-content:center;gap:18px;margin:24px auto 0;color:var(--muted);font-size:10px}
.legal-content h3{margin:24px 0 6px;font-size:14px}.legal-content p{color:var(--muted);font-size:12px}.legal-updated{padding:10px;border:1px solid #eed9a7;border-radius:6px;background:#fff7e4;color:#876522!important}
.support-card{padding:14px;margin-top:12px;border:1px solid var(--border);border-radius:6px;background:var(--surface-soft)}.support-card strong{font-size:12px}.support-card p{margin:5px 0 0}
@media(max-width:900px){.auth-page{grid-template-columns:1fr}.auth-brand-panel{min-height:auto;padding:24px}.auth-brand-content,.auth-security-note{display:none}.auth-main{min-height:calc(100vh - 80px);padding:22px}}
@media(max-width:540px){.auth-card{padding:24px;box-shadow:none}}


/* Brand integration */
.brand-logo-image {
    width: 38px;
    height: 38px;
    object-fit: contain;
    flex: 0 0 38px;
    display: block;
}

.app-brand-logo {
    width: 34px;
    height: 34px;
    object-fit: contain;
    flex: 0 0 34px;
    display: block;
}

.auth-brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex: 0 0 40px;
    display: block;
}

@media (max-width: 640px) {
    .brand-logo-image {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .auth-brand-logo {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }
}

/* V4.10.6.4.4 dynamic branding */
.auth-brand-logo.auth-brand-logo-wordmark{width:210px;height:62px;max-width:75vw;object-fit:contain;object-position:left center;flex-basis:auto}
