/* VertexRok: electric blue, crown gold and midnight navy. */
:root{--vertex-navy:#06152e;--vertex-blue:#087ac2;--vertex-cyan:#35d5ff;--vertex-gold:#e8b44c}
.vertex-logo{display:block;width:100%;height:auto;object-fit:contain;border-radius:8px}
.login-brand:has(.vertex-logo),.brand:has(.vertex-logo){display:block;width:154px;max-width:100%;padding:0;line-height:0;letter-spacing:normal}
.login-shell,.admin-shell{--bg:#f0f5fc;--panel:#fff;--text:#152a46;--muted:#5b6e88;--line:#d7e2f0;--accent:#086ca8;--soft:#edf6ff;--button:#0b5591;--button-text:#fff}
html[data-theme=dark] .login-shell,html[data-theme=dark] .admin-shell{--bg:#07162b;--panel:#0c203a;--text:#edf5ff;--muted:#a0b5cf;--line:#27425e;--accent:#51cfff;--soft:#102e4b;--button:#efbd58;--button-text:#14253b}
.vertex-login{background:#f0f5fc;color:#152a46}
html[data-theme=dark] .vertex-login{background:#050f21;color:#edf5ff}
.vertex-login .login-shell{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:40px 60px;align-content:center;align-items:center;max-width:1180px;padding:48px 32px;position:relative}
.vertex-login .intro{display:block;margin:0;min-width:0;align-self:center}
.vertex-login .login-brand{width:100%;border:1px solid #163d68;border-radius:16px;overflow:hidden;box-shadow:0 20px 50px #03152b24;background:#030e23}
.vertex-login .vertex-logo{border-radius:0}
.vertex-intro-copy{padding:25px 6px 0}
.vertex-intro-copy .vertex-signature{font-size:23px;font-weight:650;letter-spacing:-.6px;line-height:1.4;color:var(--text);margin:0 0 10px}
.vertex-intro-copy p:last-child{max-width:420px;font-size:14px;line-height:1.8;color:var(--muted);margin:0}
.vertex-login .login-content{padding:30px 32px 34px;border-radius:16px;border-top:3px solid var(--vertex-gold);box-shadow:0 18px 55px #03152b0c}
.vertex-login h1{font-size:30px;letter-spacing:-.8px}
.vertex-login .primary-button,.vertex-key .primary-button{background:var(--button);box-shadow:0 5px 16px #08558c18}
.vertex-login .login-topbar{margin-bottom:25px}
.vertex-login footer{grid-column:1/-1;padding:0;color:var(--muted);font-size:11px;letter-spacing:.4px}
.vertex-login footer:after{content:' · Rise of Kingdoms Tool';color:var(--muted)}
.vertex-key .intro{display:block;text-align:center}
.vertex-key .login-brand{width:210px;margin:0 auto 24px}
.vertex-key .intro-copy{display:none}
.vertex-key .login-content{border-top:3px solid var(--vertex-gold)}
.vertex-dashboard .sidebar{background:#06152e;border-right:1px solid #183455}
.vertex-dashboard .vertex-sidebar-brand{width:100%;max-width:208px;align-self:center;border:1px solid #1f4975;border-radius:9px;overflow:hidden;background:#030e23;flex-shrink:0}
.vertex-dashboard .brand-profile{background:#0c223e;border-color:#25405f}
.vertex-dashboard .brand-profile-stats span{background:#122d4c}
.vertex-dashboard .brand-profile-stats span:last-child{color:#f0c46b}
.vertex-dashboard .nav-item.active{background:#123554;color:#7de0ff;border-color:#2386b4}
.vertex-dashboard .nav-item:hover{background:#102b49}
.vertex-dashboard .sidebar-actions button{background:#102b49;border-color:#264664;color:#c7e8ff}
.vertex-dashboard .sidebar-bottom{border-color:#25405f}
.vertex-dashboard{--accent:#136b9b;--accent-strong:#0a5682;--accent-soft:#e9f5fc;background:#f2f6fc}
html[data-theme=dark] .vertex-dashboard{--accent:#6bcfff;--accent-strong:#a0e1ff;--accent-soft:#14324a;--surface:#0c1b2d;--surface-soft:#101f32;--surface-raised:#112238;--border:#263d55;--border-strong:#3a5772;--text:#e0ecf8;--text-soft:#99adc4;background:#081426}
html[data-theme=dark] .vertex-dashboard .sidebar{background:#06152e;border-color:#183455}
html[data-theme=dark] .vertex-dashboard .brand-profile{background:#0c223e;border-color:#25405f}
html[data-theme=dark] .vertex-dashboard .nav-item.active{background:#123554;color:#7de0ff;border-color:#2386b4}
.vertex-dashboard footer{color:#657d98}
.admin-shell .login-brand{width:150px}
@media(min-width:761px){.vertex-dashboard .sidebar{padding-top:18px}.vertex-dashboard .brand-profile{margin-top:16px}.vertex-dashboard .nav-label{margin-top:22px}}
@media(max-width:1000px) and (min-width:761px){.vertex-login .login-shell{gap:30px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.vertex-intro-copy .vertex-signature{font-size:21px}.vertex-login .login-content{padding:25px}}
@media(max-width:760px){
 .vertex-login .login-shell{display:flex;max-width:470px;padding:24px 20px;gap:0;justify-content:flex-start;min-height:100svh}
 .vertex-login .intro{width:100%;margin:0 0 23px}
 .vertex-login .login-brand{width:100%;max-width:350px;margin:auto;border-radius:12px}
 .vertex-intro-copy{padding:16px 0 0;text-align:center}
 .vertex-intro-copy .vertex-signature{font-size:18px;letter-spacing:-.3px;margin:0}
 .vertex-intro-copy p:last-child{display:none}
 .vertex-login .login-content{width:100%;padding:22px 23px 26px;border-radius:13px}
 .vertex-login h1{font-size:27px}
 .vertex-login footer{padding-top:22px}
 .vertex-dashboard .vertex-sidebar-brand{width:82px;max-width:82px;border-radius:5px;align-self:auto}
 .vertex-dashboard .sidebar{min-height:70px;height:auto;padding-top:8px;padding-bottom:8px}
 .vertex-dashboard .brand-profile{background:transparent;border:0}
 .vertex-dashboard .brand-profile-stats span{background:transparent}
 .brand:has(.vertex-logo):not(.vertex-sidebar-brand){width:112px;flex-shrink:0}
}
@media(max-width:380px){.vertex-login .login-shell{padding:18px 15px}.vertex-login .login-brand{max-width:290px}.vertex-login .login-content{padding:20px}.vertex-intro-copy .vertex-signature{font-size:16px}}
