:root{--dark:#0d1c30;--darker:#091525;--navline:#25354c;--muted:#77879b;--ink:#14263b;--blue:#1966ef;--teal:#10bba3;--teal-dark:#079886;--bg:#f5f8fc;--line:#e6ecf3;--panel:#fff;--shadow:0 8px 35px rgba(18,45,78,.043);--softblue:#edf5ff;--green:#16a079;--orange:#e99629;--red:#dc5260}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font:14px/1.52 'DM Sans',system-ui,-apple-system,sans-serif;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}input:focus,select:focus,textarea:focus{outline:0;border-color:#48b6ed!important;box-shadow:0 0 0 3px rgba(41,153,243,.12)}button:focus-visible,a:focus-visible{outline:3px solid #83c7ff;outline-offset:2px}a{color:inherit}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{font-family:'Manrope','DM Sans',sans-serif;letter-spacing:-.035em}.hidden{display:none!important}.eyebrow{font-size:10px;letter-spacing:1.65px;font-weight:800;color:#8998ac}.eyebrow.teal{color:#06a996}.btn{display:inline-flex;justify-content:center;align-items:center;gap:10px;border:none;border-radius:10px;padding:11px 16px;font-weight:750;transition:background .14s,transform .14s;white-space:nowrap}.btn:active{transform:translateY(1px)}.btn-primary{background:var(--blue);color:#fff;box-shadow:0 3px 8px rgba(27,105,226,.16)}.btn-primary:hover{background:#1157dc}.btn-soft{color:#39516e;background:#eff3f9;border:1px solid #e6ecf3}.btn-soft:hover{background:#e5edf8}.btn-white{color:#2059ad;background:#fff}.btn-danger{color:#c74450;background:#fff2f3;border:1px solid #f7dfe3}.btn-sm{padding:7px 11px;font-size:12px}.btn-outline{border:1px solid #dce7f2;background:#fff;color:#425a77}.tag{display:inline-flex;align-items:center;gap:6px;padding:5px 10px;background:#f0f3f8;border-radius:99px;color:#697a8e;font-weight:800;font-size:11px;white-space:nowrap}.tag:before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor}.tag.approved,.tag.active,.tag.completed,.tag.finished{background:#e4f8f0;color:#078762}.tag.review,.tag.pending{background:#fff5e5;color:#b97721}.tag.draft,.tag.archived,.tag.inactive{background:#edf1f5;color:#718196}.tag.rejected{background:#ffedef;color:#d45264}.icon-box{display:inline-flex;justify-content:center;align-items:center;width:44px;height:44px;border-radius:13px;font-size:21px}.icon-blue{color:#1f69ed;background:#edf4ff}.icon-teal{color:#11a997;background:#e2f8f4}.icon-amber{color:#d69724;background:#fff4df}.icon-purple{color:#7861de;background:#f0edff}.dot{display:inline-block;width:8px;height:8px;background:#19c39a;border-radius:99px;flex:none}.pulse{box-shadow:0 0 0 4px rgba(12,198,147,.12)}
/* Authentication */
.auth-screen{display:grid;grid-template-columns:minmax(360px,52%) 1fr;min-height:100vh;background:white}.auth-visual{background:radial-gradient(ellipse at 65% 35%,#1d4d73 0%,#102b47 32%,#08192d 78%);color:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;padding:46px 60px 40px}.brand-symbol{height:43px;width:43px;display:inline-flex;align-items:center;justify-content:center;border-radius:13px;background:#12c4ac;color:#053d3e;font-weight:950;font-size:32px;line-height:1}.auth-brand{display:flex;align-items:center;gap:14px;font-size:28px;font-weight:900;font-family:Manrope,sans-serif;letter-spacing:-1.5px;position:relative;z-index:2}.auth-brand small{display:block;text-transform:uppercase;color:#65caba;font-size:9px;letter-spacing:2px;margin-top:-7px;margin-left:2px}.brand-light{font-weight:500}.auth-visual-copy{margin-top:auto;position:relative;z-index:2;margin-bottom:240px;max-width:580px}.auth-tag{font-size:11px;font-weight:800;letter-spacing:.8px;text-transform:uppercase;background:#ffffff0d;border:1px solid #ffffff1c;border-radius:30px;display:inline-flex;gap:10px;padding:9px 15px;align-items:center;color:#b7e4e6}.auth-visual h2{font-size:clamp(32px,3.45vw,63px);line-height:1.15;margin:23px 0;font-weight:800}.auth-visual h2 em{font-style:normal;color:#41dbc4}.auth-visual-copy p{color:#b3c6d5;font-size:16px;max-width:425px}.auth-foot{font-size:11px;color:#708ba3;position:relative;z-index:1;margin-top:auto}.auth-abstract{position:absolute;bottom:54px;left:50px;right:50px;height:255px;transform:rotate(-6deg);opacity:.9}.road-line{position:absolute;width:90%;height:100%;border:3px dashed #55dfcd66;border-top:0;border-right:0;border-radius:10px 0 0 80%;transform:translate(20px,-10px) rotate(-11deg)}.road-stop{position:absolute;border:5px solid #102b47;background:#13ddba;border-radius:50%;width:24px;height:24px;box-shadow:0 0 0 5px #13ddba26}.s1{left:15%;top:45%}.s2{left:43%;top:80%}.s3{left:79%;top:52%}.moving-bus{position:absolute;color:#1ef3ca;background:#103e5e;box-shadow:0 0 0 16px #1bdab015;font-size:30px;border-radius:18px;padding:12px 18px;left:62%;top:51%}.auth-shape{position:absolute;border-radius:50%;border:1px solid #59b5c31a}.auth-shape.one{height:600px;width:600px;right:-390px;top:-200px}.auth-shape.two{height:800px;width:800px;right:-390px;top:-280px}.auth-right{display:flex;flex-direction:column;padding:42px 7%;}.auth-form-wrap{margin:auto;width:100%;max-width:405px}.auth-mobile-brand{display:none}.auth-right .eyebrow{margin-bottom:18px}.auth-right h1{font-size:33px;font-weight:800;margin-bottom:12px}.auth-intro{color:var(--muted);font-size:14px;margin-bottom:37px}.auth-form label{display:block;font-size:13px;font-weight:750;color:#34506d;margin:0 0 21px}.auth-form input{margin-top:9px;width:100%;height:47px;border:1px solid #e1e8f0;padding:0 14px;border-radius:10px;color:#18314b;background:#fbfcfe}.auth-form input::placeholder{color:#a8b4c1}.password-holder{position:relative}.password-holder button{position:absolute;right:10px;top:15px;border:0;background:none;color:#9da9b8;padding:7px}.password-holder input{padding-right:45px}.auth-submit{height:49px;width:100%;justify-content:space-between;margin-top:13px}.auth-help{border-top:1px solid var(--line);margin-top:34px;padding-top:23px;display:flex;flex-direction:column;gap:6px;font-size:11px;color:#93a0ad}.auth-bottom{text-align:right;color:#a6b2be;font-size:11px}.form-error{font-size:12px;color:#d84b5e;margin:12px 0;min-height:10px}
/* App chrome */
.app-shell{display:flex;min-height:100vh}.sidebar{flex:0 0 262px;width:262px;min-height:100vh;height:100vh;position:sticky;top:0;background:linear-gradient(180deg,#102238 0%,#0b192a 100%);color:#d5e2ef;display:flex;flex-direction:column;padding:29px 16px 14px;z-index:1050}.side-top{padding:0 13px}.side-brand{display:flex;align-items:center;gap:11px;color:white;font-size:23px;letter-spacing:-1.2px;font-family:Manrope,sans-serif;font-weight:500}.side-brand .brand-symbol{height:33px;width:33px;font-size:24px;border-radius:10px}.side-brand strong{font-weight:900}.side-brand small{display:block;font-size:9px;letter-spacing:1.75px;color:#7190aa;font-weight:800;margin-top:-3px}.workspace-label{margin:46px 12px 13px;color:#69829a;font-size:9px;font-weight:800;letter-spacing:1.45px}.workspace{display:flex;gap:10px;align-items:center;background:#1b304a;border:1px solid #27405d;border-radius:12px;padding:10px}.workspace-mark{width:33px;height:33px;display:grid;place-items:center;background:#164e64;color:#61e4cf;border-radius:9px;font-weight:900}.workspace-copy{min-width:0;flex:1}.workspace-copy strong{display:block;color:#f2f7ff;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-copy small{display:block;color:#8299b2;font-size:10px}.workspace-chevron{color:#7b95ad}.sidebar nav{overflow-y:auto;flex:1;display:flex;flex-direction:column;gap:4px;padding:30px 2px 10px;scrollbar-width:thin}.nav-group{font-size:9px;font-weight:800;letter-spacing:1.45px;color:#667f98;padding:18px 14px 8px}.sidebar nav button{width:100%;border:0;background:none;display:flex;gap:13px;align-items:center;text-align:left;padding:11px 13px;color:#9fb4c9;font-weight:650;border-radius:9px}.sidebar nav button:hover{background:#203650;color:white}.sidebar nav button.active{color:#7ff1da;background:#1d3b50;box-shadow:inset 3px 0 0 #1fddba}.nav-icon{width:22px;font-size:18px;text-align:center}.nav-text{flex:1}.nav-badge{background:#2b465d;border-radius:6px;font-size:10px;padding:2px 6px}.side-bottom{border-top:1px solid #26384c;padding:15px 3px 0}.side-platform{display:flex;gap:8px;align-items:center;font-size:11px;color:#b9c7d7;padding:0 9px 16px}.side-platform small{margin-left:auto;color:#7289a1}.connection-light{width:7px;height:7px;border-radius:50%;background:#20cba7}.side-user{display:flex;gap:10px;align-items:center;border-radius:11px;background:#15293d;padding:9px}.user-avatar,.header-avatar{width:35px;height:35px;border-radius:11px;background:#daecfb;color:#2356a1;display:grid;place-items:center;font-weight:900}.user-mini{flex:1;min-width:0}.user-mini strong{display:block;color:#f3f8fc;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-mini small{display:block;color:#8aa0b4;font-size:10px}.logout-btn{color:#a7bfd4;font-size:20px;background:none;border:0;transform:rotate(45deg)}.content-shell{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e6ebf2;padding:0 clamp(23px,4%,60px);background:#fff}.topbar-start,.topbar-right{display:flex;align-items:center;gap:13px}.crumb-first{color:#9eabbb}.crumb-separator{color:#c8d0da}.topbar-start strong{font-size:12px;color:#445975}.topbar-right{gap:24px}.live-chip{font-size:11px;color:#1b9b77;font-weight:800;background:#eaf9f5;padding:8px 12px;border-radius:30px;display:flex;gap:9px;align-items:center}.header-clock{font-size:12px;color:#91a0b2}.header-avatar{width:34px;height:34px}.main-area{width:100%;max-width:1780px;margin:0 auto;flex:1;padding:37px clamp(24px,4%,60px) 70px}.page-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:20px}.page-heading .eyebrow{margin-bottom:7px}.page-heading h1{font-size:30px;font-weight:850;line-height:1.25;margin:0 0 8px}.page-heading p{margin:0;color:#7e90a5;font-size:13px}.page-actions{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.page-body{min-height:360px}.app-footer{display:flex;justify-content:space-between;padding:20px clamp(24px,4%,60px);color:#a4b2c1;font-size:11px;border-top:1px solid #e8edf3}.mobile-menu,.mobile-close{display:none}
/* Components */
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:23px}.metric{background:#fff;padding:22px;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow);min-height:150px;display:flex;flex-direction:column}.metric-top{display:flex;align-items:center;justify-content:space-between}.metric-value{font-family:Manrope,sans-serif;font-size:30px;letter-spacing:-1.5px;font-weight:850;margin-top:20px;line-height:1}.metric-label{color:#73859b;font-size:12px;font-weight:700;margin-top:10px}.metric-trail{display:flex;gap:6px;align-items:center;font-size:10px;color:#91a1b1;margin-top:10px}.panel{background:var(--panel);border-radius:16px;border:1px solid var(--line);box-shadow:var(--shadow);overflow:hidden}.panel-pad{padding:22px}.panel-head{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.panel-head h2,.panel-head h3{font-size:15px;margin:0;color:#1e3351;font-weight:850}.panel-head p{font-size:11px;color:#8da0b1;margin:5px 0 0}.section-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:19px;margin:22px 0}.section-grid.half{grid-template-columns:repeat(2,minmax(0,1fr))}.section-grid.wide-map{grid-template-columns:minmax(0,2fr) minmax(280px,1fr)}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0 14px;gap:12px}.section-heading h2{margin:0;font-size:17px}.section-heading p{margin:3px 0 0;color:var(--muted);font-size:12px}.data-table-wrap{overflow-x:auto}table.data-table{width:100%;border-collapse:collapse;text-align:left}table.data-table th{text-transform:uppercase;letter-spacing:.8px;font-size:10px;font-weight:850;color:#91a0b2;background:#fbfcfe;padding:14px 18px;white-space:nowrap;border-bottom:1px solid var(--line)}table.data-table td{font-size:12px;color:#50647f;padding:15px 18px;border-bottom:1px solid #edf1f6;vertical-align:middle}table.data-table tbody tr:last-child td{border-bottom:0}table.data-table tbody tr:hover{background:#fbfcff}table.data-table .main-cell{font-weight:850;color:#243d5a}table.data-table .sub-cell{display:block;font-weight:450;color:#98a8b7;font-size:10px;margin-top:4px}.table-tools{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-bottom:16px}.searchbox{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid #e4ebf3;border-radius:11px;padding:0 13px;color:#91a1b3}.searchbox input{border:0;background:transparent;min-width:220px;min-height:42px;outline:0;box-shadow:none!important;font-size:12px}.select-filter{height:42px;min-width:140px;background:#fff;border:1px solid #e4ebf3;border-radius:10px;padding:0 12px;color:#50647e;font-size:12px}.empty-state{padding:55px 20px;text-align:center;color:#92a1b3}.empty-state .empty-icon{display:flex;align-items:center;justify-content:center;width:68px;height:68px;margin:0 auto 16px;background:#f0f6fc;border-radius:21px;font-size:27px;color:#5981ad}.empty-state h3{color:#314866;font-size:15px;margin:0 0 8px}.empty-state p{margin:0 auto;max-width:390px;font-size:12px}.small-muted{font-size:11px;color:#9baabb}.strong{color:#243f5d;font-weight:800}.blue-link{border:0;background:none;color:#1d68e8;font-size:12px;font-weight:800;padding:6px 0}.blue-link:hover{text-decoration:underline}.divider{height:1px;background:var(--line);margin:18px 0}.quick-link{width:100%;display:flex;gap:12px;align-items:center;text-align:left;padding:13px 16px;background:#fff;border:1px solid #e8edf4;border-radius:11px;color:#274565;margin-bottom:10px}.quick-link b{font-size:12px}.quick-link small{font-size:10px;color:#98a9b9;display:block}.quick-link .arrow{margin-left:auto;color:#92a4b8}.quick-link:hover{border-color:#aac5ec;background:#f9fcff}.operation-banner{background:linear-gradient(105deg,#14334f,#136672);padding:25px;color:#fff;display:flex;align-items:center;justify-content:space-between;border-radius:15px;position:relative;overflow:hidden;gap:20px}.operation-banner:after{content:'';position:absolute;right:5%;width:190px;height:190px;border:2px solid #ffffff14;border-radius:50%;transform:scale(2);pointer-events:none}.operation-banner h3{font-size:18px;margin:0 0 6px}.operation-banner p{color:#b4d9de;margin:0;font-size:12px;max-width:470px}.operation-banner button{position:relative;z-index:1}.activity-list{padding:12px 20px}.activity-entry{display:flex;gap:13px;padding:12px 0;border-bottom:1px solid #f0f3f7}.activity-entry:last-child{border:0}.activity-circle{background:#eaf4fe;color:#2579cf;display:grid;place-items:center;border-radius:10px;height:36px;width:36px;flex:none;font-weight:900}.activity-entry b{display:block;color:#263e5b;font-size:12px}.activity-entry small{font-size:10px;color:#9eacbb}.bars{display:flex;align-items:flex-end;height:186px;gap:7px;border-bottom:1px solid #e6eef7;padding:0 4px}.bar{background:linear-gradient(0deg,#1762dc,#5caaf4);border-radius:5px 5px 0 0;flex:1;min-height:3px;max-width:50px;position:relative;cursor:default}.bar:hover{background:linear-gradient(0deg,#04a897,#4fdec6)}.bar-labels{display:flex;gap:7px;margin-top:10px}.bar-labels span{flex:1;font-size:9px;color:#90a0b1;overflow:hidden;text-align:center}.insight{display:flex;align-items:center;justify-content:space-between;padding:17px 22px;border-top:1px solid #e9eef4}.insight strong{font-size:12px}.insight span{font-size:12px;color:#7c8da3}.map{height:440px;background:#e7f0f4;border-radius:12px;overflow:hidden}.map.frame{border-radius:0;height:460px}.map.big{height:560px}.map-list{max-height:560px;overflow-y:auto}.map-item{display:flex;align-items:flex-start;gap:10px;padding:14px 19px;border-bottom:1px solid var(--line);cursor:pointer}.map-item:hover,.map-item.selected{background:#f4f9ff}.bus-symbol{width:37px;height:37px;background:#e5f5ff;display:grid;place-items:center;border-radius:10px;flex:none;color:#1c75c5;font-size:19px}.map-item-title{font-size:12px;font-weight:850}.map-item-sub{color:#92a2b4;font-size:11px;margin:4px 0}.map-item-time{font-size:10px;color:#27a886}.map-item-time.old{color:#d88d32}.map-legend{display:flex;gap:16px;align-items:center;font-size:11px;color:#70839a;padding:10px 20px;background:#fff}.mini-map{height:260px}.route-detail{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(260px,1fr);gap:18px}.route-pills{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 14px}.route-pills span{border-radius:8px;background:#edf4fd;color:#4e698b;padding:6px 10px;font-weight:700;font-size:11px}.detail-list{margin:0;padding:0;list-style:none}.detail-list li{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf1f6;padding:12px 0;font-size:12px;gap:12px}.detail-list li:last-child{border:0}.detail-list li span{color:#8597a9}.detail-list li strong{font-weight:750;text-align:right}.stop-timeline{padding:4px 0}.stop-row{display:flex;gap:16px;padding-bottom:20px;position:relative}.stop-row:before{content:'';position:absolute;left:7px;top:16px;bottom:0;width:2px;background:#d7e8f1}.stop-row:last-child:before{display:none}.stop-dot{height:17px;width:17px;background:white;border:4px solid #12b7a0;border-radius:50%;flex:none;position:relative;z-index:1}.stop-row b{font-size:12px}.stop-row small{display:block;color:#879bb0;font-size:10px}.pill-outline{display:inline-flex;border-radius:8px;padding:6px 11px;font-size:11px;font-weight:800;color:#63809f;border:1px solid #e2ebf5}.notice{padding:12px 15px;border-radius:10px;margin:0 0 20px;font-size:12px;font-weight:650}.notice.success{background:#e8f8f2;color:#11875e;border:1px solid #c5eddb}.notice.error{background:#fff0f1;color:#be4054;border:1px solid #f5d5d8}.notice.info{background:#edf6ff;color:#2464a6;border:1px solid #d8eaf9}.progress-line{height:8px;background:#e9eff7;border-radius:20px;overflow:hidden}.progress-line>span{height:100%;display:block;background:linear-gradient(90deg,#14bfa7,#2694e7);border-radius:20px}.progress-row{display:grid;grid-template-columns:1fr auto;gap:8px;margin:12px 0 17px}.progress-row strong{font-size:12px}.progress-row span{font-size:12px;color:#6583a2}.progress-row .progress-line{grid-column:1/-1}.settings-card{padding:25px}.settings-card h3{font-size:17px;margin-bottom:7px}.settings-card p{font-size:12px;color:#8092a9}.stats-strip{display:flex;gap:26px;flex-wrap:wrap;padding:18px 22px;border-top:1px solid var(--line)}.stats-strip div strong{display:block;font-size:18px}.stats-strip div span{font-size:11px;color:#96a6b8}
/* Modal */
.modal-layer{position:fixed;inset:0;z-index:2000;background:#07192ab0;display:flex;align-items:center;justify-content:center;padding:20px;backdrop-filter:blur(5px)}.modal-panel{background:white;border-radius:18px;width:min(610px,100%);max-height:90vh;overflow:auto;box-shadow:0 34px 90px rgba(3,20,41,.28)}.modal-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:28px 30px 18px;border-bottom:1px solid #e8eef5}.modal-heading h2{font-size:20px;margin:7px 0 0}.close-modal{border:0;background:#eef3f8;color:#7690a6;width:31px;height:31px;border-radius:8px}.modal-fields{padding:22px 30px 5px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.field{margin-bottom:17px;min-width:0}.field.wide{grid-column:1/-1}.field label{font-size:11px;font-weight:850;color:#49617d;display:block;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;border:1px solid #e0e8f0;border-radius:9px;color:#2f4762;min-height:43px;padding:10px 12px;background:#fcfdff;font-size:12px}.field textarea{resize:vertical;min-height:90px}.field p{color:#9aabbd;font-size:10px;margin:5px 0 0}.modal-footer{padding:16px 30px 26px;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #eef2f6}.modal-panel>.form-error,.modal-panel form>.form-error{padding:0 30px}.map-bus{width:30px;height:30px;display:grid;place-items:center;background:#0c95b5;border:3px solid #fff;border-radius:13px;color:white;box-shadow:0 5px 14px #0b548d40;font-size:17px;transition:background .15s;will-change:transform}.map-bus.stale{background:#e6a02b}.leaflet-div-icon{border:0;background:transparent}.leaflet-container{font:inherit}.leaflet-popup-content{font:12px 'DM Sans',sans-serif}
@media(min-width:1300px){.metrics{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:1200px){.sidebar{flex-basis:226px;width:226px}.section-grid{grid-template-columns:1.4fr 1fr}.metrics{grid-template-columns:repeat(3,1fr)}.main-area{padding:31px 30px 55px}.auth-visual{padding:40px}}
@media(max-width:900px){.sidebar{position:fixed;transform:translateX(-100%);transition:transform .2s;height:100vh}.sidebar.open{transform:none}.mobile-shade:not(.hidden){display:block;position:fixed;inset:0;background:#09203880;z-index:1040}.mobile-menu,.mobile-close{display:inline-flex;border:0;background:transparent;color:#5d718c;font-size:20px}.mobile-close{color:#c4d4e4;position:absolute;right:15px;top:29px}.topbar{padding:0 25px}.auth-screen{grid-template-columns:43% 57%}.auth-visual{padding:30px}.auth-visual-copy{margin-bottom:160px}.auth-visual h2{font-size:29px}.auth-abstract{bottom:20px;height:170px}.auth-right{padding:30px 7%}.metrics{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.auth-screen{display:block}.auth-visual{display:none}.auth-mobile-brand{display:flex;align-items:center;gap:10px;margin-bottom:65px;font-family:Manrope,sans-serif;font-weight:850;font-size:21px}.auth-right{min-height:100vh;padding:28px 8%}.auth-form-wrap{margin:auto}.auth-right h1{font-size:27px}.topbar{height:65px;padding:0 17px}.topbar-right{gap:10px}.topbar-right .live-chip,.header-clock{display:none}.main-area{padding:27px 16px 60px}.page-top{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:25px}.page-actions{justify-content:flex-start;width:100%}.page-actions .btn{flex:1}.metrics{gap:11px}.metric{padding:15px;min-height:127px}.metric-value{font-size:25px;margin-top:12px}.section-grid,.section-grid.half,.section-grid.wide-map,.route-detail{grid-template-columns:1fr}.section-grid{gap:13px;margin:13px 0}.panel-head{padding:17px}.panel-pad{padding:17px}.map{height:350px}.map.big{height:410px}.modal-layer{padding:10px}.modal-heading{padding:23px 20px 16px}.modal-fields{padding:18px 20px 2px;grid-template-columns:1fr}.modal-footer{padding:15px 20px 22px}.app-footer span:last-child{display:none}.app-footer{padding:19px 17px}}

@media(max-width:650px){.operation-banner{flex-direction:column;align-items:stretch}.operation-banner .btn{align-self:flex-start}.operation-banner:after{right:-100px}}

/* MiBus official identity · Premium route motion */
.auth-brand{gap:13px;align-items:center}
.auth-brand-icon{display:block;object-fit:cover;width:55px;height:55px;border-radius:17px;box-shadow:0 14px 34px #001a3260}
.auth-brand-name{color:#fff;letter-spacing:-1.2px;font-size:30px;line-height:1.08}
.auth-brand-name>span{color:#40e0d1}
.auth-brand-name small{display:block;color:#9bdadf;letter-spacing:2.8px;font-size:9px;font-weight:800;margin:5px 0 0 2px}
.auth-form-brand{margin:0 0 26px}
.auth-form-brand img{display:block;width:min(238px,74%);height:auto;object-fit:contain}
.auth-mobile-brand img{width:200px;height:auto;display:block}
.sidebar-logo{display:block;width:43px;height:43px;object-fit:cover;border-radius:13px;box-shadow:0 7px 18px #0005}
.side-brand-name{font-size:25px;font-weight:600;line-height:1}
.side-brand-name strong{color:#32ddce;font-weight:850}
.side-brand-name small{font-size:9px;letter-spacing:1.8px;margin-top:7px}
.auth-abstract{height:230px;left:18px;right:18px;bottom:67px;transform:none;opacity:1;pointer-events:none}
.route-stage{position:relative;width:100%;height:100%;isolation:isolate}
.animated-route{position:absolute;left:0;top:8px;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 3px 18px rgba(0,237,221,.12))}
.route-stage-label{position:absolute;z-index:1;top:13%;right:7%;display:flex;align-items:center;gap:8px;font-size:10px;font-weight:800;letter-spacing:1.3px;color:#8bc9d5;background:#0b2b42aa;padding:7px 12px;border:1px solid #21788b66;border-radius:20px}
.route-stage-blink{width:7px;height:7px;background:#4aecd7;border-radius:50%;box-shadow:0 0 12px #45ffcf;animation:mibus-beacon 2.5s ease-in-out infinite}
.route-stage-caption{position:absolute;left:9%;bottom:4%;font-size:11px;color:#5fa2b4;letter-spacing:.2px}
.route-station{fill:#34e2d1;stroke:#0d344a;stroke-width:3}
.route-station-halo{fill:#1dd0c4;opacity:.14;transform-box:fill-box;transform-origin:center;animation:mibus-station 4.6s ease-in-out infinite alternate}
@keyframes mibus-beacon{0%,100%{opacity:.6;transform:scale(.82)}50%{opacity:1;transform:scale(1.22)}}
@keyframes mibus-station{0%{transform:scale(.82);opacity:.08}100%{transform:scale(1.15);opacity:.2}}
@media (max-width:900px){.auth-abstract{bottom:15px;left:5px;right:5px;height:170px}.route-stage-label{right:4%;top:8%;font-size:8px}.route-stage-caption{font-size:9px}.auth-form-brand img{width:190px}}
@media (max-width:650px){.auth-form-brand{display:none}.auth-mobile-brand{margin-bottom:40px}}
@media(prefers-reduced-motion:reduce){.route-traveler{display:none}.route-stage-blink,.route-station-halo{animation:none}}

/* Editable stop pins: drag on route map to correct GPS with no manual coordinates. */
.mibus-stop-marker{background:none;border:none}
.mibus-stop-pin{display:block;width:20px;height:20px;border-radius:50%;border:4px solid white;background:#10bba3;box-shadow:0 2px 13px rgba(1,55,93,.35);cursor:grab}
.leaflet-dragging .mibus-stop-pin{cursor:grabbing}

/* MiBus — aprendizajes activos (separados de los buses en servicio) */
.mibus-learning-marker{width:34px;height:34px;display:flex;align-items:center;justify-content:center;background:#04bca9;border:3px solid white;border-radius:50%;color:#fff;box-shadow:0 0 0 5px #00c1ad30,0 4px 17px #005c6160;font-size:20px;font-weight:bold;}
.mibus-learning-marker.is-stale{background:#df9c31;box-shadow:0 0 0 4px #efa73244;}
