:root{--bg:#07101f;--panel:#0d1b2d;--line:#1d344c;--text:#eef8ff;--muted:#88a2ba;--blue:#3aa8ff;--cyan:#35e2d0;--green:#22d797;--red:#ff5f6d;--amber:#ffc857}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at 75% 0,#123457 0,transparent 32%),var(--bg);color:var(--text);font:14px Inter,Segoe UI,sans-serif;min-height:100vh}.center{display:grid;place-items:center}.login{width:min(430px,calc(100% - 32px));padding:38px;background:#0c1929e8;border:1px solid var(--line);border-radius:24px;box-shadow:0 25px 80px #0008}.brand{font-weight:900;letter-spacing:.06em;font-size:18px}.brand span{color:var(--cyan)}h1{font-size:28px;margin:8px 0}h2{margin:5px 0;font-size:18px}.eyebrow{color:var(--cyan);font-size:10px;letter-spacing:.18em;font-weight:800}.muted,small{color:var(--muted)}label{display:grid;gap:7px;margin:18px 0;color:var(--muted)}input{padding:13px;background:#07111f;border:1px solid var(--line);border-radius:10px;color:white}button{width:100%;border:0;border-radius:10px;padding:13px;background:linear-gradient(90deg,#168cff,#28cbd6);color:white;font-weight:800;cursor:pointer}.error{padding:10px;background:#6e1f2a;border-radius:8px}aside{position:fixed;inset:0 auto 0 0;width:230px;padding:28px 18px;background:#081423e8;border-right:1px solid var(--line);display:flex;flex-direction:column}nav{display:grid;gap:6px;margin-top:30px;flex:1}nav a{padding:11px;border-radius:9px;color:var(--muted)}nav .active{background:#168cff22;color:white;border:1px solid #279cff44}.ghost{background:transparent;border:1px solid var(--line)}.shell{margin-left:230px;padding:25px}header{display:flex;justify-content:space-between;align-items:center}.live{color:var(--green);font-size:11px;font-weight:900;letter-spacing:.1em}.live i{display:inline-block;width:8px;height:8px;border-radius:50%;background:var(--green);box-shadow:0 0 14px var(--green);margin-right:7px}.kpis{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.kpis article,.mapcard,.sidecard{background:linear-gradient(140deg,#10243aee,#0a1727ee);border:1px solid var(--line);border-radius:16px}.kpis article{padding:16px}.kpis span{color:var(--muted);font-size:11px}.kpis strong{display:block;font-size:25px;margin-top:8px}.green{color:var(--green)}.red{color:var(--red)}.amber{color:var(--amber)}.cyan{color:var(--cyan)}.grid{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(260px,1fr);gap:14px;margin-top:14px}.mapcard,.sidecard{padding:18px}.cardhead{display:flex;justify-content:space-between}.legend{display:flex;gap:12px;color:#8396a9;font-size:10px}.legend .on{color:var(--green)}.legend .off{color:var(--red)}.legend .warn{color:var(--amber)}#map{height:520px;border-radius:12px;margin-top:14px;background:#07101f}.feed{border-top:1px solid var(--line);margin-top:18px}.feed p{color:var(--muted);padding:10px;border-bottom:1px solid #16283a}footer{text-align:center;color:#547087;padding:20px}@media(max-width:1050px){.kpis{grid-template-columns:repeat(3,1fr)}.grid{grid-template-columns:1fr}aside{display:none}.shell{margin:0}}@media(max-width:600px){.kpis{grid-template-columns:repeat(2,1fr)}.shell{padding:14px}.legend{display:none}#map{height:420px}}

/* Executive login — Dinas Perhubungan Kabupaten Demak */
.login-page{--login-blue:#2457c6;--login-gold:#ffc928;--login-ink:#17213c;--login-soft:#667085;margin:0;background:#f5f8ff;color:var(--login-ink);font-family:Inter,"Segoe UI",Arial,sans-serif}
.login-layout{display:grid;grid-template-columns:minmax(520px,1.16fr) minmax(440px,.84fr);min-height:100vh;overflow:hidden}
.login-hero{position:relative;isolation:isolate;display:flex;padding:clamp(34px,5vw,76px);color:#fff;background:linear-gradient(145deg,#18275f 0%,#244aa9 55%,#376ed8 100%);overflow:hidden}
.login-hero::before{content:"";position:absolute;z-index:-1;width:620px;height:620px;border-radius:50%;right:-240px;top:-280px;background:linear-gradient(145deg,#ffd845,#f5b900);box-shadow:0 0 0 55px rgba(255,255,255,.055)}
.login-hero::after{content:"";position:absolute;z-index:-1;width:440px;height:440px;border:1px solid rgba(255,255,255,.12);border-radius:50%;left:-250px;bottom:-280px;box-shadow:0 0 0 70px rgba(255,255,255,.035),0 0 0 140px rgba(255,255,255,.025)}
.login-hero__grid{position:absolute;inset:0;z-index:-2;opacity:.42;background-image:linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);background-size:44px 44px;mask-image:linear-gradient(to bottom right,#000,transparent 72%)}
.login-hero__content{width:min(700px,100%);display:flex;flex-direction:column;justify-content:space-between;gap:50px}
.agency-lockup{display:flex;align-items:center;gap:18px}.agency-logo-wrap{width:78px;height:78px;display:grid;place-items:center;flex:0 0 auto;border-radius:20px;background:#fff;box-shadow:0 14px 36px rgba(6,16,55,.24)}.agency-logo-wrap img{width:61px;height:61px;object-fit:contain}.agency-kicker,.agency-name{margin:0}.agency-kicker{text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:700;color:#dce7ff}.agency-name{margin-top:5px;font-size:22px;line-height:1.15;font-weight:800;letter-spacing:-.02em}
.hero-copy{max-width:650px}.hero-badge{display:inline-flex;align-items:center;gap:9px;padding:8px 13px;border:1px solid rgba(255,255,255,.19);border-radius:999px;background:rgba(255,255,255,.09);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;backdrop-filter:blur(8px)}.hero-badge i{width:8px;height:8px;border-radius:50%;background:#8cf4c7;box-shadow:0 0 0 5px rgba(140,244,199,.12)}
.hero-copy h1{margin:24px 0 20px;font-size:clamp(38px,4.4vw,68px);line-height:1.06;letter-spacing:-.045em}.hero-copy h1 span{color:#ffd23d}.hero-copy>p{max-width:590px;margin:0;color:#dfe8ff;font-size:16px;line-height:1.75}
.hero-features{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.18);padding-top:24px}.hero-features article{padding-right:16px}.hero-features article+article{padding-left:24px;border-left:1px solid rgba(255,255,255,.16)}.hero-features strong,.hero-features span{display:block}.hero-features strong{font-size:15px}.hero-features span{margin-top:5px;color:#c8d7f8;font-size:11px}
.login-access{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;padding:48px clamp(32px,6vw,92px);background:linear-gradient(160deg,#fff 0%,#f8faff 65%,#f1f5ff 100%)}.login-access::before{content:"";position:absolute;width:180px;height:180px;right:-95px;bottom:10%;border:28px solid rgba(255,201,40,.18);border-radius:50%}
.login-card{position:relative;z-index:1;width:min(430px,100%)}.login-eyebrow{margin:0 0 12px;color:var(--login-blue);font-size:12px;font-weight:900;letter-spacing:.2em}.login-card h2{margin:0;color:var(--login-ink);font-size:38px;line-height:1.1;letter-spacing:-.035em}.login-intro{margin:14px 0 32px;color:var(--login-soft);font-size:14px;line-height:1.6}
.login-form label{display:grid;gap:9px;margin:0 0 18px;color:#34405d;font-size:12px;font-weight:750}.field-control{position:relative;display:block}.field-control svg{position:absolute;z-index:1;left:16px;top:50%;width:20px;height:20px;transform:translateY(-50%);fill:none;stroke:#8a96ad;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.login-form input{width:100%;height:54px;padding:0 16px 0 48px;border:1px solid #d9e0ec;border-radius:12px;outline:none;background:#fff;color:#1e2945;font-size:14px;box-shadow:0 4px 12px rgba(26,51,98,.03);transition:border-color .2s,box-shadow .2s}.login-form input::placeholder{color:#aab3c2}.login-form input:focus{border-color:#3d6fd3;box-shadow:0 0 0 4px rgba(61,111,211,.12)}
.login-submit{height:56px;display:flex;align-items:center;justify-content:space-between;margin-top:26px;padding:0 22px;border:0;border-radius:12px;background:linear-gradient(100deg,#253d91,#2f61cd);color:#fff;font-size:13px;font-weight:800;letter-spacing:.015em;box-shadow:0 14px 28px rgba(38,79,170,.24);cursor:pointer;transition:transform .2s,box-shadow .2s}.login-submit:hover{transform:translateY(-2px);box-shadow:0 18px 34px rgba(38,79,170,.3)}.login-submit:focus-visible{outline:3px solid rgba(37,87,198,.28);outline-offset:3px}.login-submit span{font-size:21px;font-weight:400}
.login-error{display:flex;align-items:center;gap:11px;margin:0 0 22px;padding:12px 14px;border:1px solid #fecaca;border-radius:11px;background:#fff1f2;color:#a51d34;font-size:12px}.login-error span{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#dc2948;color:#fff;font-weight:900}.security-note{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:24px;color:#7a8599;font-size:11px}.security-note svg{width:17px;height:17px;fill:none;stroke:#5f6f8c;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.login-footer{position:absolute;z-index:1;left:clamp(32px,6vw,92px);right:clamp(32px,6vw,92px);bottom:25px;display:flex;justify-content:space-between;gap:20px;padding:0;color:#9aa4b5;font-size:10px}
@media(max-width:980px){.login-layout{grid-template-columns:1fr}.login-hero{min-height:290px;padding:32px 8vw}.login-hero__content{gap:38px}.agency-logo-wrap{width:64px;height:64px;border-radius:16px}.agency-logo-wrap img{width:49px;height:49px}.hero-copy h1{font-size:36px;margin:18px 0 12px}.hero-copy>p{font-size:13px}.hero-features{display:none}.login-access{min-height:650px;padding:62px 24px 82px}.login-footer{left:24px;right:24px}}
@media(max-width:600px){.login-hero{min-height:220px;padding:24px}.agency-lockup{gap:13px}.agency-logo-wrap{width:54px;height:54px;border-radius:14px}.agency-logo-wrap img{width:42px;height:42px}.agency-kicker{font-size:9px}.agency-name{font-size:17px}.hero-badge{display:none}.hero-copy h1{margin:0;font-size:29px}.hero-copy>p{display:none}.login-access{min-height:calc(100vh - 220px);justify-content:flex-start;padding:42px 22px 90px}.login-card h2{font-size:32px}.login-intro{margin-bottom:26px}.login-footer{display:grid;justify-content:center;text-align:center;bottom:18px}}
@media(prefers-reduced-motion:reduce){.login-submit{transition:none}}
