:root {
  --color-primary-base: 32 62 97;
  --color-primary-gradient: 91 123 162;
  --color-primary-button-text: 32 62 97;
  --color-primary-button-alternative-text: 255 255 255;
  --color-secondary-base: 242 103 34;
  --color-secondary-gradient: 194 57 0;
  --color-secondary-button-text: 255 255 255;
  --color-tertiary-base: 68 68 68;
  --color-tertiary-gradient: 134 134 134;
  --color-tertiary-button-text: 68 68 68;
  --color-success-base: 122 166 12;
  --color-success-gradient: 84 125 0;
  --color-success-button-text: 255 255 255;
  --color-info-base: 53 132 228;
  --color-info-gradient: 0 94 187;
  --color-info-button-text: 255 255 255;
  --color-warning-base: 240 163 13;
  --color-warning-gradient: 188 115 0;
  --color-warning-button-text: 0 0 0;
  --color-danger-base: 224 27 36;
  --color-danger-gradient: 182 0 0;
  --color-danger-button-text: 255 255 255;
  --color-form-base: 32 62 97;
}

/* CITIA portal branding — scoped to the public learning entrance. */
:root{--color-primary-base:12 77 123;--color-primary-gradient:18 129 176;--color-primary-button-text:255 255 255;--color-secondary-base:8 145 178;--color-form-base:12 77 123}
.app-topbar .platform-logo{display:flex;align-items:center;gap:18px;min-height:70px}
.app-topbar .platform-logo img{width:174px!important;height:59px!important;max-width:none!important;object-fit:contain}
.app-topbar .platform-logo:after{content:'EDUCATION';font-size:11px;letter-spacing:.22em;font-weight:700;color:#456278;border-left:1px solid #dce6ed;padding:10px 0 10px 18px}
body.page-home:has(.login-section){background:#f2f6f9;color:#15314a}
body.page-home:has(.login-section) .app-topbar{background:#fff;border-bottom:1px solid #e1e9ef;box-shadow:none;padding:8px clamp(20px,4vw,60px)}
body.page-home:has(.login-section) .app-main{padding:92px 0 30px!important;min-height:100vh}
body.page-home:has(.login-section) .app-main>.container:first-child{display:grid!important;grid-template-columns:minmax(0,1fr) 360px;gap:26px;max-width:1220px;width:calc(100% - 72px);margin:42px auto 0!important;align-items:stretch}
body.page-home:has(.login-section) .app-main>.container:first-child>div:first-child{grid-column:2;grid-row:1;width:auto!important;order:2;justify-content:center}
body.page-home:has(.login-section) .app-main>.container:first-child>div:nth-child(2){grid-column:1;grid-row:1;width:auto!important;min-width:0}
body.page-home:has(.login-section) .p-card:has(.citia-portal){border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0}
body.page-home:has(.login-section) .p-card:has(.citia-portal) .p-card-body,body.page-home:has(.login-section) .p-card:has(.citia-portal) .p-card-content{padding:0!important;gap:0!important}
body.page-home:has(.login-section) .p-card:has(.citia-portal) .p-card-caption{display:none}
.citia-portal{font-family:Inter,'Segoe UI','Microsoft YaHei',sans-serif}
.citia-hero{position:relative;overflow:hidden;border-radius:26px;background:#092e4c;color:#fff;padding:48px 44px 36px;min-height:450px;isolation:isolate}
.citia-hero:before{content:'';position:absolute;z-index:-1;width:400px;height:400px;right:-185px;top:-165px;border:1px solid #64dbe12e;border-radius:50%;box-shadow:0 0 0 48px #44c7dc09,0 0 0 96px #44c7dc08,0 0 0 144px #44c7dc05}
.citia-eyebrow{display:inline-flex;align-items:center;gap:9px;color:#9ce2e9;font-weight:650;font-size:11px;letter-spacing:.16em;text-transform:uppercase;margin:0 0 26px}
.citia-eyebrow:before{content:'';width:7px;height:7px;border-radius:50%;background:#64d9cc;box-shadow:0 0 0 5px #64d9cc15}
.citia-hero h1{font-size:clamp(36px,4.15vw,57px);line-height:1.1;letter-spacing:-.045em;font-weight:650;max-width:600px;margin:0 0 22px;color:#fff}
.citia-hero h1 em{font-style:normal;color:#73d7df}
.citia-hero .citia-intro{font-size:15px;line-height:1.85;color:#c3d6e3;max-width:490px;margin:0 0 30px}
.citia-tags{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:37px}
.citia-tags span{border:1px solid #ffffff24;border-radius:30px;padding:7px 12px;color:#deedf5;font-size:11px;letter-spacing:.015em}
.citia-hero-foot{display:flex;align-items:center;gap:12px;border-top:1px solid #ffffff21;padding-top:19px;font-size:12px;color:#b2d1df}
.citia-step-mark{font-size:22px;color:#73d7df;font-weight:300}
.citia-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:25px 2px 0}
.citia-feature .citia-number{font-size:11px;font-weight:700;color:#168b9d;letter-spacing:.1em;display:block;margin-bottom:9px}
.citia-feature h2{font-size:14px;font-weight:700;line-height:1.45;margin:0 0 7px;color:#193a53}
.citia-feature p{font-size:12px;color:#6c8192;line-height:1.75;margin:0}
.citia-support{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #dbe5ed;margin-top:27px;padding-top:20px;color:#6d8190;font-size:11px}
.citia-support a{color:#156784;font-weight:600;text-decoration:none}.citia-support a:hover{text-decoration:underline}
body.page-home .login-section{background:#fff;border:1px solid #e1e9ef;border-radius:24px;padding:36px 29px;box-shadow:0 12px 45px #24476108;width:100%;margin:0!important;min-height:0!important;height:auto!important;justify-content:flex-start!important}
body.page-home .login-section:before{content:'YOUR LEARNING SPACE';display:block;font-size:10px;font-weight:700;color:#188497;letter-spacing:.16em;margin-bottom:11px}
body.page-home .login-section__title{font-size:30px!important;font-weight:650!important;letter-spacing:-.035em;margin:0 0 28px!important;line-height:1.25!important;color:#13364f}
body.page-home .login-section__form{margin:0!important;padding:0!important}
body.page-home .login-section__form>.field{margin-bottom:18px!important}
body.page-home .login-section .p-inputtext{width:100%!important;border:1px solid #dce5ed!important;background:#f7fafc!important;border-radius:10px!important;min-height:50px;padding:13px 15px!important;color:#1a3a50;font-size:14px!important;box-shadow:none!important}
body.page-home .login-section .p-inputtext:focus{border-color:#168fa4!important;box-shadow:0 0 0 3px #0891b215!important;background:#fff!important}
body.page-home .login-section .p-inputtext::placeholder{color:#8397a7!important}
body.page-home .login-section .p-password{display:flex;width:100%}
body.page-home .login-section__remember-me{justify-content:flex-start!important;gap:9px;font-size:12px!important;color:#637c8d}
body.page-home .login-section__buttons{display:flex!important;width:100%!important;justify-content:stretch!important;margin-top:24px}
body.page-home .login-section__buttons .p-button{width:100%!important;min-height:49px!important;background:#0d6588!important;border:1px solid #0d6588!important;border-radius:10px!important;color:#fff!important;font-size:14px!important;box-shadow:0 5px 14px #0d65881a;transition:background .2s,transform .2s}
body.page-home .login-section__buttons .p-button:hover{background:#0b526f!important;transform:translateY(-1px)}
body.page-home .login-section #forgot{font-size:12px;color:#607b8e;font-weight:500}
body.page-home .login-section .field.text-center{margin-top:18px}
html[lang^='zh'] .login-section:before{content:'CITIA · 学习空间';letter-spacing:.1em}
html[lang^='zh'] .citia-hero h1{font-size:clamp(34px,3.5vw,48px);letter-spacing:.02em;line-height:1.35}
@media(min-width:1500px){body.page-home:has(.login-section) .app-main>.container:first-child{margin-top:65px!important}}
@media(max-width:1000px){body.page-home:has(.login-section) .app-main>.container:first-child{grid-template-columns:minmax(0,1fr) 320px;width:calc(100% - 40px);gap:20px;margin-top:25px!important}.citia-hero{padding:37px 30px;min-height:430px}.citia-hero h1{font-size:40px}.citia-features{gap:13px}body.page-home .login-section{padding:30px 24px}}
@media(max-width:760px){body.page-home:has(.login-section) .app-main{padding-top:75px!important}body.page-home:has(.login-section) .app-main>.container:first-child{display:flex!important;flex-direction:column;width:calc(100% - 32px);margin-top:20px!important;gap:22px}body.page-home:has(.login-section) .app-main>.container:first-child>div:first-child{order:1!important}body.page-home:has(.login-section) .app-main>.container:first-child>div:nth-child(2){order:0!important}.citia-hero{min-height:0;padding:32px 27px 26px;border-radius:20px}.citia-hero h1{font-size:38px}.citia-hero .citia-intro{font-size:14px}.citia-tags{margin-bottom:24px}.citia-features{margin-top:22px;gap:14px}.citia-feature h2{font-size:13px}.citia-feature p{font-size:11px}.citia-support{margin-top:20px}.app-topbar .platform-logo img{width:137px!important;height:47px!important}.app-topbar .platform-logo{gap:10px;min-height:54px}.app-topbar .platform-logo:after{font-size:9px;padding-left:10px;letter-spacing:.12em}body.page-home:has(.login-section) .app-topbar{padding:6px 16px}body.page-home .login-section{border-radius:20px;padding:29px}}
@media(prefers-reduced-motion:reduce){body.page-home .login-section__buttons .p-button{transition:none;transform:none}}
@media(max-width:760px){body.page-home:has(.login-section) .app-main>.container:first-child>div:first-child{order:0!important}body.page-home:has(.login-section) .app-main>.container:first-child>div:nth-child(2){order:1!important}}
