/* A lightweight visual layer: local assets only; original control IDs retained. */
:root{--trial-navy:#103c5a;--trial-teal:#087e89;--trial-gold:#d8b56b}
body{background:radial-gradient(ellipse at 95% 0,#e2f1f3 0,transparent 45%),#f2f5f8!important;color:#173c55}
.header{background:radial-gradient(ellipse at 10% 0,rgba(55,135,152,.28),transparent 55%),linear-gradient(125deg,#0c2c47,#124b6c)!important;border-bottom:3px solid var(--trial-gold);box-shadow:0 12px 35px #133d5718}
.header .head-row{padding-top:25px!important;padding-bottom:22px!important;gap:12px!important}.project-brand{gap:24px}.project-brand-text .title{font-size:clamp(27px,3.2vw,39px);letter-spacing:-.5px;line-height:1.5}.project-brand-text .sub{font-weight:400!important;color:#d8e9f2!important;line-height:1.9;max-width:780px}.project-brand-text .head-badge{border:1px solid #ffffff30;background:#ffffff0d!important;font-size:12px!important;font-weight:400!important}.project-header-logo{box-shadow:0 0 0 7px #ffffff0b,0 10px 25px #041d2d20;border:2px solid #fff}
.project-mission{font-size:16px;margin:8px 0 6px;color:#f5e5c2!important}.front-credits{gap:12px;margin:0}.front-credits>div{position:relative;background:linear-gradient(120deg,#ffffff10,#ffffff05);border:1px solid #ffffff26;border-top:2px solid #d8b56b99;border-radius:14px;padding:12px 16px;text-align:right;backdrop-filter:blur(5px)}.front-credits strong{font-size:18px;line-height:1.7}.front-credits span{font-size:12px;margin-bottom:3px}.front-credits small{font-size:12px;margin-top:3px;color:#e7eff4}
.trial-policy-banner{padding:7px 16px;font-size:12px;text-align:center;background:#06233399;color:#f1dba9;line-height:1.7}.account-toolbar{border:1px solid #d9e5ec;border-top:0;border-radius:0 0 13px 13px;background:#ffffff!important;margin-bottom:15px;box-shadow:0 6px 20px #15395007}
.card{border-color:#dee7ed!important;box-shadow:0 10px 32px #173d5508!important}.question-card{border-top:3px solid var(--trial-teal)!important}.question-card textarea{background:#fcfefe;border-color:#c9dce4!important;transition:border-color .15s,box-shadow .15s}.question-card textarea:focus{outline:0;border-color:var(--trial-teal)!important;box-shadow:0 0 0 3px #087e8918}.btn.primary{background:linear-gradient(110deg,#113e5c,#0a6572)!important;box-shadow:0 5px 12px #0e536f12}.btn{transition:transform .15s,box-shadow .15s}.btn:hover{transform:translateY(-1px)}.question-details{border-color:#dbe6ec!important;border-radius:12px!important}
.login-page{background:radial-gradient(circle at 0 0,#124b6c 0,transparent 62%),#0c2c47!important}.login-card{border-top:4px solid var(--trial-gold);box-shadow:0 25px 80px #0003}.login-card form>button{background:linear-gradient(110deg,#113e5c,#0a6572)}.login-credits{line-height:2}
.failure-guidance{border:1px solid #e3c58b;border-right:4px solid #bd8530;border-radius:12px;padding:16px;background:#fffaf1;margin:14px 0;line-height:1.9}.failure-guidance p{margin:5px 0}.failure-guidance .failure-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.failure-guidance button{white-space:normal}.failure-guidance[hidden]{display:none}
@media(max-width:640px){.header .head-row{padding-top:20px!important;padding-bottom:18px!important;gap:11px!important}.project-brand{gap:13px}.project-brand-text .title{font-size:24px!important}.project-brand-text .sub{font-size:12px!important;margin-top:8px}.project-header-logo{box-shadow:0 0 0 4px #ffffff0a}.project-mission{font-size:13px;line-height:1.9;margin:0}.front-credits{gap:7px}.front-credits>div{padding:9px 12px;border-radius:11px}.front-credits strong{font-size:16px}.front-credits span,.front-credits small{font-size:11px}.front-credits small{margin:0}.account-toolbar{margin:0 10px 12px}.trial-policy-banner{font-size:11px}.failure-guidance{padding:12px}}
@media(prefers-reduced-motion:reduce){.btn{transition:none}.btn:hover{transform:none}}
@media(max-width:640px){.account-toolbar>span{flex:1 1 100%;width:100%;line-height:1.8}.account-toolbar>button{flex:1 1 auto}.account-toolbar{padding:12px 14px}}

/* Original app emblem; institutional logos remain unchanged. */
.legal-emblem{display:block;width:112px;height:112px;object-fit:contain;margin:0 auto 12px;filter:drop-shadow(0 5px 12px #071f3440)}
.project-brand-text .legal-emblem{margin:0 0 10px auto}
@media(max-width:640px){.legal-emblem{width:82px;height:82px}.project-brand-text .legal-emblem{margin:0 auto 10px}.project-brand-text{text-align:center}.project-brand-text .title{line-height:1.5}}

/* Balanced three-emblem header: centre column stays at the exact midpoint. */
.header{padding-bottom:0}
.header .project-brand{display:grid;grid-template-columns:minmax(0,1fr) 128px minmax(0,1fr);gap:16px;align-items:center;width:100%}
.header .project-brand>.project-header-logo:first-child{grid-column:1;grid-row:1;justify-self:center}
.header .project-brand>.project-header-logo:last-of-type{grid-column:3;grid-row:1;justify-self:center}
.header .project-brand>.project-header-logo{width:104px;height:104px;object-fit:contain}
.header .project-brand>.legal-emblem{grid-column:2;grid-row:1;justify-self:center;width:128px;height:128px;margin:0}
.header .project-brand-text{grid-column:1/-1;grid-row:2;text-align:center;width:100%}
.header .project-intro{width:100%;max-width:900px;margin:0 auto;text-align:center;color:#d8e9f2;font-size:15px;line-height:1.9}
.header .project-mission{text-align:center;margin-top:0}
.header-edition{width:100%;text-align:center;background:#06233366;padding:9px 16px;box-sizing:border-box}
.header-edition .head-badge{margin:0;padding:0;border:0;background:transparent;font-size:12px;line-height:1.8;color:#e1eaf0;white-space:normal}
@media(max-width:640px){
 .header .project-brand{grid-template-columns:minmax(0,1fr) 86px minmax(0,1fr);gap:10px}
 .header .project-brand>.project-header-logo{width:64px;height:64px}
 .header .project-brand>.legal-emblem{width:86px;height:86px;margin:0}
 .header .project-intro{font-size:12px;line-height:1.9}
 .header .project-brand-text .title{font-size:24px!important}
 .header-edition .head-badge{font-size:11px}
}
