:root{--navy:#073f63;--navy2:#062f4b;--blue:#0c6f9e;--cyan:#16a1bd;--green:#16845a;--amber:#c58b17;--red:#b63c3c;--violet:#5d3fd3;--ink:#152635;--muted:#647887;--bg:#f3f7f9;--card:#fff;--line:#d9e4ea;--soft:#edf5f8;--shadow:0 15px 40px rgba(8,55,83,.08)}*{box-sizing:border-box}html,body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,"Segoe UI",Arial,sans-serif}a{text-decoration:none;color:inherit}button,input,select,textarea{font:inherit}.layout{min-height:100vh;display:grid;grid-template-columns:292px minmax(0,1fr)}.side{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,var(--navy2),var(--navy));padding:20px 15px;color:#fff;z-index:30}.brand{display:flex;gap:12px;align-items:center;padding:4px 8px 22px;border-bottom:1px solid rgba(255,255,255,.15)}.brand-mark{width:58px;height:58px;border-radius:16px;background:white;color:var(--navy);display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,0,0,.13)}.brand-mark span{font-weight:900;font-size:20px;letter-spacing:-1px}.brand b{display:block;font-size:14px}.brand small{display:block;color:#d3e9f3;margin-top:3px}.brand em{display:block;font-style:normal;color:#7ed9e7;font-size:10px;font-weight:900;letter-spacing:.09em;margin-top:5px}.nav{display:grid;gap:5px;margin-top:17px}.nav a{padding:11px 12px;border-radius:11px;color:#dbeef6;font-weight:750;font-size:13px;display:flex;gap:10px;align-items:center}.nav a:hover{background:rgba(255,255,255,.12);color:#fff}.side-foot{position:absolute;left:15px;right:15px;bottom:16px;padding:12px;border-radius:12px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);font-size:10.5px;line-height:1.5;color:#e0f0f6}.main{min-width:0}.top{height:86px;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 24px;position:sticky;top:0;z-index:20}.top h1{font-size:22px;margin:4px 0 0}.eyebrow{font-size:10px;letter-spacing:.08em;color:var(--blue);font-weight:900}.userbox{display:flex;align-items:center;gap:10px}.userpill{background:var(--soft);padding:9px 12px;border-radius:12px;font-size:12px;min-width:190px}.userpill b,.userpill span{display:block}.userpill span{color:var(--muted);margin-top:3px;font-size:10px}.content{padding:25px;max-width:1720px;margin:auto}.hero{background:linear-gradient(135deg,#fff,#f0f8fb);border:1px solid #d8e8ef;border-radius:20px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;box-shadow:var(--shadow);margin-bottom:18px}.hero.compact{padding:17px 20px}.hero h2{margin:4px 0 6px;font-size:24px}.hero p{margin:0;color:var(--muted);max-width:900px;line-height:1.55}.grid{display:grid;gap:15px}.kpis{grid-template-columns:repeat(5,minmax(0,1fr))}.kpis.k3{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:var(--shadow);padding:18px}.kpi label{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:900}.kpi strong{display:block;color:var(--navy);font-size:31px;margin:7px 0 2px}.kpi span{font-size:11px;color:var(--muted)}.section{display:flex;justify-content:space-between;gap:10px;align-items:center;margin:25px 0 12px}.section h2{margin:0;font-size:18px}.section p{margin:4px 0 0;color:var(--muted);font-size:13px}.route-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.route{position:relative;overflow:hidden}.route:before{content:"";position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(var(--blue),var(--cyan))}.route-head{display:flex;justify-content:space-between;gap:12px}.rid{font-size:10px;font-weight:900;color:var(--blue);letter-spacing:.05em}.route h3{margin:7px 0 10px}.stops{display:flex;flex-wrap:wrap;gap:5px}.node,.person-chip{display:inline-flex;background:#eaf4f8;color:var(--navy);border:1px solid #cfe3ec;padding:6px 9px;border-radius:999px;font-weight:800;font-size:10px}.person-chip{margin:2px}.muted{color:var(--muted)}.tiny{font-size:11px}.btn{border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:10px;padding:9px 12px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:6px}.btn:hover{filter:brightness(.98);transform:translateY(-1px)}.btn.primary{background:var(--navy);border-color:var(--navy);color:#fff}.btn.good{background:var(--green);border-color:var(--green);color:#fff}.btn.warn{background:var(--amber);border-color:var(--amber);color:#fff}.btn.danger{background:var(--red);border-color:var(--red);color:#fff}.btn.violet{background:var(--violet);border-color:var(--violet);color:white}.btn.ghost{background:transparent}.btn.small{padding:6px 8px;font-size:11px}.btn.micro{padding:4px 6px;font-size:9px}.btn.full{width:100%;margin-top:12px}input,select,textarea{border:1px solid #cbd9e0;background:#fff;border-radius:10px;padding:9px 10px;outline:none;width:100%}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px rgba(12,111,158,.11)}textarea{min-height:90px;resize:vertical}fieldset{border:0;padding:0;margin:0}fieldset:disabled{opacity:.68}.formgrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.formgrid.one{grid-template-columns:1fr}.formgrid label{display:grid;gap:5px;font-size:11px;color:var(--muted);font-weight:850}.formgrid label small{font-weight:500}.formgrid .span2{grid-column:span 2}.cols{display:grid;grid-template-columns:1fr 1fr;gap:10px}.toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.actions-stack{display:grid;gap:6px;min-width:150px}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:15px;box-shadow:var(--shadow)}table{width:100%;border-collapse:collapse;min-width:900px}th{position:sticky;top:0;background:#eaf3f7;color:#274454;text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.045em;padding:11px;border-bottom:1px solid var(--line);z-index:1}td{padding:10px 11px;border-bottom:1px solid #edf1f3;font-size:12px;vertical-align:top}tr:hover td{background:#fbfdfe}.badge{display:inline-block;border-radius:999px;padding:4px 8px;font-size:9px;font-weight:900;background:#edf1f3;color:#5f6d76}.badge.ok{background:#e6f6ee;color:#16764d}.badge.bad{background:#fdeaea;color:#a83a3a}.badge.warn{background:#fff2d6;color:#8e6111}.badge.info{background:#e7f3f9;color:#166b96}.notice{background:#fff7e3;border:1px solid #edd59a;color:#684f18;padding:13px 14px;border-radius:12px;font-size:12px;line-height:1.5}.notice.info{background:#edf7fb;border-color:#c7e2ed;color:#215b76}.split{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:16px}.physical-layout{align-items:start}.searchbar,.assignbar{display:flex;gap:8px;align-items:center;margin-bottom:14px}.searchbar input{flex:1;min-width:240px}.searchbar.wrap{flex-wrap:wrap}.searchbar select{max-width:220px}.assignbar select{max-width:330px}.workflow{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:15px 0}.workflow span{background:#fff;border:1px solid var(--line);box-shadow:0 5px 14px rgba(8,55,83,.05);border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900;color:var(--navy)}.workflow i{font-style:normal;color:#8aa0ad}.source-card{border-top:4px solid var(--blue)}.source-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:12px}.source-grid div{background:#f7fafb;border:1px solid #e4ecef;padding:10px;border-radius:10px}.source-grid span{display:block;font-size:9px;color:var(--muted);text-transform:uppercase;font-weight:900}.source-grid b{display:block;margin-top:3px;font-size:12px}.source-desc{margin-top:10px;padding:10px;background:#f8fafb;border-radius:10px;font-size:11px;color:#526978;line-height:1.5}.savebar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:14px}.evidence-card{border-top:4px solid var(--green)}.evidence-meter{padding:10px;background:#ebf7f0;border-radius:10px;color:#176846;margin:10px 0}.photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.photo-card{border:1px solid var(--line);border-radius:13px;padding:9px;background:#fff}.photo-card img{width:100%;height:165px;object-fit:cover;border-radius:9px}.file-tile{display:grid;height:120px;place-items:center;background:#eef5f8;border-radius:9px;font-weight:900;color:var(--navy)}.preview img{width:100%;max-height:220px;object-fit:contain;border-radius:10px;background:#eef3f6}.pager{display:flex;align-items:center;justify-content:center;gap:12px;margin:15px}.dialog{width:min(760px,94vw);border:0;border-radius:18px;padding:0;box-shadow:0 28px 80px rgba(0,0,0,.22)}.dialog::backdrop{background:rgba(5,30,45,.55)}.dialog form{padding:22px}.dialog-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:16px}.dialog-head h3{margin:4px 0}.close{border:0;background:#edf2f5;border-radius:50%;width:34px;height:34px;font-size:20px;cursor:pointer}.empty,.empty-state{text-align:center;color:var(--muted);padding:28px}.empty-state{background:#fff;border:1px dashed #b9ccd7;border-radius:14px;grid-column:1/-1}.review-form{display:flex;gap:5px;margin:3px 0}.review-form input{min-width:190px}.report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.report-card{text-align:center;padding:28px}.report-icon{width:64px;height:64px;margin:auto;display:grid;place-items:center;border-radius:16px;background:#eaf4f8;color:var(--navy);font-weight:900}.report-card h3{margin:14px 0 8px}.report-card p{color:var(--muted);font-size:12px;min-height:48px}.error-page{max-width:620px;margin:60px auto;text-align:center;background:#fff;padding:35px;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow)}.error-code{font-size:64px;font-weight:900;color:var(--red)}.oktext{color:var(--green)}.hamb{display:none;border:0;background:#edf5f8;width:38px;height:38px;border-radius:10px;color:var(--navy);font-size:18px}.overlay{display:none}.login-bg{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#052d47,#0b4f78 55%,#0b7497);padding:20px}.login-card{width:min(470px,96vw);background:#fff;border-radius:22px;box-shadow:0 30px 80px rgba(0,0,0,.23);padding:30px}.login-card h1{margin:12px 0 5px;color:var(--navy)}.error{background:#fdeaea;color:#9f3434;padding:10px;border-radius:10px;font-size:12px;margin:10px 0}@media(max-width:1150px){.kpis{grid-template-columns:repeat(2,1fr)}.route-grid{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}.photo-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:800px){.layout{grid-template-columns:1fr}.side{position:fixed;left:-305px;width:292px;transition:.22s}.side.open{left:0}.overlay.show{display:block;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:25}.hamb{display:inline-grid;place-items:center}.top{padding:0 12px;height:74px;justify-content:flex-start;gap:10px}.heading{flex:1}.content{padding:14px}.userpill{display:none}.kpis,.kpis.k3,.route-grid,.photo-grid,.report-grid,.formgrid,.source-grid{grid-template-columns:1fr}.formgrid .span2{grid-column:auto}.hero{align-items:flex-start;flex-direction:column}.top h1{font-size:17px}.eyebrow{font-size:8px}.side-foot{display:none}.searchbar,.assignbar{align-items:stretch;flex-direction:column}.searchbar select,.assignbar select{max-width:none}.cols{grid-template-columns:1fr}.review-form{flex-direction:column}}
.route-stop-list{display:grid;gap:6px;margin:10px 0}.route-stop{display:flex;align-items:center;justify-content:space-between;gap:6px}.stop-actions{display:flex;gap:3px}.stop-actions form{margin:0}.route-add-stop{display:flex;gap:6px;margin:9px 0}.route-add-stop select{min-width:0}
.login-brand{display:flex;align-items:center;gap:12px;margin-bottom:22px}.login-brand .brand-mark{background:var(--navy);color:white;box-shadow:none}.login-brand b,.login-brand small{display:block}.login-brand small{color:var(--muted);margin-top:3px}.login-foot{font-size:10px;color:var(--muted);text-align:center;border-top:1px solid var(--line);padding-top:14px;margin-top:18px}


.brand-pro{display:grid;gap:10px;align-items:center;padding:10px 8px 18px}.brand-pro .brand-msp{width:100%;max-width:242px;height:auto;background:white;border-radius:12px;padding:8px 10px;box-shadow:0 8px 22px rgba(0,0,0,.12)}.brand-divider{height:1px;background:rgba(255,255,255,.15);width:100%}.brand-pro .brand-hm1{width:100%;max-width:250px;height:auto;background:white;border-radius:12px;padding:4px;box-shadow:0 8px 22px rgba(0,0,0,.09)}
.navlink .navico{width:24px;height:24px;border-radius:8px;background:rgba(255,255,255,.09);display:grid;place-items:center;flex:none;font-size:12px}.navlink:hover .navico{background:rgba(255,255,255,.18)}.admin-link{border:1px solid rgba(255,255,255,.12)}
.login-shell{width:min(1000px,96vw);display:grid;grid-template-columns:1.05fr .95fr;background:white;border-radius:26px;overflow:hidden;box-shadow:0 34px 90px rgba(0,0,0,.28)}.login-brand-panel{min-height:560px;padding:42px;background:linear-gradient(145deg,#f7fbfd,#eaf5f8);display:flex;flex-direction:column;justify-content:center;gap:24px;border-right:1px solid #d9e4ea}.login-msp{width:min(100%,520px);height:auto}.login-hm1{width:min(100%,560px);height:auto}.login-strap{font-size:12px;text-transform:uppercase;letter-spacing:.09em;color:#537082;font-weight:900}.login-shell .login-card{width:auto;box-shadow:none;border-radius:0;display:flex;flex-direction:column;justify-content:center;padding:54px}.login-shell .login-card h1{font-size:30px}.login-foot{font-size:10px;color:var(--muted);text-align:center;border-top:1px solid var(--line);padding-top:14px;margin-top:18px}
.danger-zone{border:1px solid #efc6c6;background:linear-gradient(180deg,#fff,#fff8f8)}.danger-zone h3{color:#8f2f2f}.danger-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.confirm-code{font-family:Consolas,monospace;background:#f7eded;padding:3px 7px;border-radius:6px;color:#8f2f2f;font-weight:900}.source-badge{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#eef6fa;color:#1d678a;font-size:10px;font-weight:900}.source-badge.manual{background:#fff3d8;color:#8c6116}.manual-entry-hero{border-left:5px solid var(--amber)}.manual-entry-card{border-top:4px solid var(--amber)}.manual-hint{background:#fff8e8;border:1px dashed #e5c87f;padding:12px;border-radius:11px;font-size:11px;line-height:1.5;color:#674d1b}.quick-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.btn.outline-amber{border-color:#d2a63d;color:#7a5710;background:#fffaf0}.btn.outline-amber:hover{background:#fff3d8}.system-stat{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.system-stat .card strong{font-size:27px;color:var(--navy);display:block;margin-top:5px}.system-path{font-family:Consolas,monospace;font-size:11px;word-break:break-all;background:#f7fafb;border:1px solid var(--line);border-radius:8px;padding:8px}.reset-warning{display:flex;gap:10px;align-items:flex-start;background:#fff0f0;border:1px solid #efcaca;color:#7f3030;padding:12px;border-radius:12px}.reset-warning b{display:block;margin-bottom:3px}
@media(max-width:800px){.brand-pro .brand-msp,.brand-pro .brand-hm1{max-width:238px}.login-shell{grid-template-columns:1fr}.login-brand-panel{min-height:auto;padding:26px}.login-shell .login-card{padding:30px}.danger-grid,.system-stat{grid-template-columns:1fr}}


:root{
  --navy:#083f63;--navy2:#052f4b;--navy3:#031f32;--blue:#0a6f9b;--cyan:#1c96af;
  --green:#187b55;--amber:#b97a14;--red:#aa3c3c;--violet:#5641b8;
  --ink:#182b38;--muted:#667b89;--bg:#f4f7f9;--card:#fff;--line:#dbe5ea;--soft:#eef4f7;
  --shadow:0 10px 30px rgba(7,47,75,.075);--shadow-hover:0 16px 34px rgba(7,47,75,.12);
  --radius:14px;--radius-lg:18px;
}
html{scroll-behavior:smooth}body{min-width:320px;background:radial-gradient(circle at 92% 0,rgba(28,150,175,.045),transparent 28%),var(--bg)}
.ico{width:1.05em;height:1.05em;display:inline-block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.16em;flex:none}
.layout{grid-template-columns:300px minmax(0,1fr)}
.side{width:300px;padding:18px 14px;background:linear-gradient(180deg,var(--navy3) 0%,#073a59 46%,#084566 100%);border-right:1px solid rgba(255,255,255,.08);box-shadow:8px 0 30px rgba(5,31,50,.08)}
.side:before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 0 0,rgba(31,166,191,.12),transparent 26%),linear-gradient(115deg,transparent 60%,rgba(255,255,255,.018));}
.brand-pro{position:relative;z-index:1;display:grid;gap:9px;padding:5px 5px 17px;border-bottom:0}
.brand-official,.brand-system{background:#fff;border:1px solid rgba(255,255,255,.22);border-radius:13px;display:flex;align-items:center;justify-content:center;box-shadow:0 9px 22px rgba(0,0,0,.12)}
.brand-official{padding:11px 13px;min-height:74px}.brand-system{padding:4px 6px;min-height:62px}
.brand-pro .brand-msp{width:100%;max-width:244px;height:auto;padding:0;background:transparent;border-radius:0;box-shadow:none;object-fit:contain}
.brand-pro .brand-hm1{width:100%;max-width:248px;height:auto;padding:0;background:transparent;border-radius:0;box-shadow:none}
.brand-divider{height:1px;background:linear-gradient(90deg,transparent,rgba(255,255,255,.22),transparent);margin:2px 0}
.nav{position:relative;z-index:1;display:grid;gap:4px;margin-top:11px;max-height:calc(100vh - 295px);overflow:auto;padding-right:2px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.16) transparent}
.nav a{min-height:43px;padding:8px 10px;border-radius:10px;color:#d8e9f0;font-weight:700;font-size:12.5px;gap:10px;border:1px solid transparent;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}
.nav a:hover{background:rgba(255,255,255,.085);border-color:rgba(255,255,255,.08);color:#fff;transform:translateX(1px)}
.nav a.active{background:linear-gradient(90deg,rgba(255,255,255,.15),rgba(255,255,255,.08));border-color:rgba(255,255,255,.15);color:#fff;box-shadow:inset 3px 0 0 #38b4ca}
.navlink .navico{width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.075);font-size:16px;transition:.16s ease}
.navlink:hover .navico,.navlink.active .navico{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.13)}
.admin-link{border-color:transparent}
.side-foot{position:absolute;z-index:1;left:14px;right:14px;bottom:14px;padding:12px 13px;border-radius:12px;background:rgba(2,25,40,.25);border:1px solid rgba(255,255,255,.11);font-size:10px;line-height:1.5;color:#cfe3eb;box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.side-foot-title{display:flex;gap:7px;align-items:center;color:#fff;margin-bottom:5px;font-size:10.5px}.side-foot-title .ico{font-size:15px;color:#69cada}
.main{background:transparent}.top{height:88px;padding:0 26px;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid #dce6eb;box-shadow:0 3px 14px rgba(7,47,75,.035)}
.heading{min-width:0}.top h1{font-size:21px;line-height:1.2;letter-spacing:-.015em;color:#173b51;margin:4px 0 0}.eyebrow{font-size:9.5px;line-height:1.35;letter-spacing:.085em;color:#247595;font-weight:800}
.userbox{gap:9px}.userpill{display:flex;align-items:center;gap:9px;background:#f3f7f9;border:1px solid #e0e9ed;padding:6px 10px 6px 6px;border-radius:12px;min-width:210px}.user-avatar{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:linear-gradient(145deg,var(--navy),var(--blue));color:#fff;font-weight:800;font-size:12px;box-shadow:0 4px 10px rgba(7,63,99,.16)}.userpill b{font-size:11.5px;color:#254355;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:185px}.userpill span:not(.user-avatar){font-size:9.5px;color:#728692}
.content{padding:24px 26px 34px;max-width:1760px}
.hero{border-radius:var(--radius-lg);padding:21px 23px;background:linear-gradient(132deg,#fff 0%,#fbfdfe 66%,#edf7fa 100%);border:1px solid #d9e7ed;box-shadow:var(--shadow);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;right:-55px;top:-80px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(28,150,175,.10),transparent 67%);pointer-events:none}.hero>*{position:relative;z-index:1}.hero h2{font-size:23px;line-height:1.22;letter-spacing:-.02em;color:#183d53}.hero p{font-size:12.5px;color:#647985}
.card{border-radius:var(--radius);border-color:#dce6eb;box-shadow:var(--shadow);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}.card:hover{border-color:#d0dfe6}.route.card:hover,.report-card:hover{box-shadow:var(--shadow-hover);transform:translateY(-1px)}
.section{margin:23px 0 11px}.section h2{font-size:17px;color:#203f52;letter-spacing:-.01em}.section p{font-size:12px}
.kpi{position:relative;overflow:hidden;padding:17px 18px}.kpi:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:linear-gradient(var(--blue),var(--cyan));opacity:.78}.kpi label{font-size:9.5px}.kpi strong{font-size:29px;letter-spacing:-.04em;color:#0c4b70}.kpi span{font-size:10.5px}
.btn{min-height:36px;border-radius:9px;padding:8px 11px;font-size:11.5px;line-height:1.1;font-weight:750;border-color:#d4e0e6;background:#fff;box-shadow:0 1px 1px rgba(7,47,75,.02);transition:transform .14s ease,box-shadow .14s ease,background .14s ease,border-color .14s ease,filter .14s ease}.btn:hover{filter:none;transform:translateY(-1px);box-shadow:0 6px 15px rgba(7,47,75,.09);border-color:#c3d4dc}.btn:active{transform:translateY(0);box-shadow:none}.btn:focus-visible{outline:3px solid rgba(12,111,158,.18);outline-offset:2px}.btn.primary{background:linear-gradient(180deg,#0b527d,#083f63);border-color:#083f63}.btn.good{background:linear-gradient(180deg,#208760,#18734f);border-color:#18734f}.btn.warn{background:linear-gradient(180deg,#c88b1e,#af7412);border-color:#af7412}.btn.danger{background:linear-gradient(180deg,#b54a4a,#a03838);border-color:#a03838}.btn.violet{background:linear-gradient(180deg,#6651c5,#5140aa);border-color:#5140aa}.btn.ghost{color:#38596a;background:#fff;border-color:#dce6eb}.btn.small{min-height:31px;padding:6px 8px;font-size:10.5px}.btn.micro{width:29px;height:29px;min-height:29px;padding:0}.btn .ico{font-size:14px}.btn.micro .ico{font-size:13px}
input,select,textarea{min-height:38px;border-color:#ccdbe2;border-radius:9px;padding:8px 10px;color:#1d3442;font-size:12px;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}textarea{min-height:91px}input:hover,select:hover,textarea:hover{border-color:#b9cdd7}input:focus,select:focus,textarea:focus{border-color:#4c9bb8;box-shadow:0 0 0 3px rgba(12,111,158,.10)}input::placeholder,textarea::placeholder{color:#93a3ad}.formgrid label{font-size:10.5px;color:#5e7482;font-weight:760}
.table-wrap{border-radius:13px;border-color:#dbe5ea;box-shadow:0 7px 22px rgba(7,47,75,.055)}table{min-width:900px}th{background:#edf4f7;color:#395465;font-size:9.2px;letter-spacing:.052em;padding:10px 11px;border-bottom-color:#d8e3e8}td{font-size:11.5px;padding:10px 11px;color:#2e4655}tbody tr:last-child td{border-bottom:0}tr:hover td{background:#f9fcfd}
.badge{padding:4px 7px;border-radius:7px;font-size:8.8px;letter-spacing:.015em}.source-badge{border-radius:7px;padding:4px 7px;font-size:8.8px}.person-chip,.node{font-size:9.7px;padding:5px 8px;background:#edf6f9;border-color:#d5e7ed}
.notice{border-radius:11px;font-size:11.5px}.notice.info{background:#f0f8fb}.workflow{gap:6px}.workflow span{font-size:9.8px;padding:7px 9px;border-radius:8px;box-shadow:none;background:#fff;border-color:#dce6eb}.workflow i{color:#8da2ad}
.route:before{width:4px;background:linear-gradient(var(--blue),var(--cyan))}.route h3{color:#284758}.rid{font-size:9px;letter-spacing:.07em}.rstats{display:flex;justify-content:space-between;gap:8px;margin-top:13px;font-size:10px;color:#6b7e89}.rstats b{color:#244c64}.progress{height:6px;margin-top:7px;background:#e7eff3;border-radius:99px;overflow:hidden}.progress i{display:block;height:100%;background:linear-gradient(90deg,var(--blue),var(--cyan));border-radius:99px}
.dialog{border-radius:16px;border:1px solid rgba(255,255,255,.65);box-shadow:0 28px 70px rgba(4,37,58,.26)}.dialog::backdrop{background:rgba(3,27,43,.55);backdrop-filter:blur(2px)}.dialog form{padding:21px}.close{display:grid;place-items:center;color:#536b79;font-size:16px}.close .ico{font-size:15px}
.login-bg{background:radial-gradient(circle at 18% 15%,rgba(46,178,199,.16),transparent 26%),linear-gradient(135deg,#031f32,#063b5a 54%,#075a72);padding:24px}.login-shell{width:min(1040px,96vw);border:1px solid rgba(255,255,255,.18);border-radius:24px;box-shadow:0 34px 90px rgba(0,0,0,.28)}.login-brand-panel{min-height:570px;padding:48px;background:linear-gradient(145deg,#f8fbfc,#eaf4f7);gap:25px;position:relative}.login-brand-panel:after{content:"";position:absolute;right:-80px;bottom:-90px;width:250px;height:250px;border-radius:50%;background:radial-gradient(circle,rgba(28,150,175,.09),transparent 68%)}.login-msp{width:min(100%,505px);max-height:126px;object-fit:contain;object-position:left center;position:relative;z-index:1}.login-hm1{width:min(100%,530px);position:relative;z-index:1}.login-strap{font-size:10px;color:#5a7482;position:relative;z-index:1}.login-shell .login-card{padding:58px 56px;background:#fff}.login-shell .login-card h1{font-size:29px;letter-spacing:-.03em}.login-shell .login-card p{font-size:12px;line-height:1.55}.login-foot{font-size:9.7px}
.system-stat .card{position:relative;overflow:hidden}.system-stat .card:after{content:"";position:absolute;right:-35px;top:-35px;width:85px;height:85px;border-radius:50%;background:rgba(10,111,155,.055)}.danger-zone{box-shadow:none}.reset-warning{border-radius:11px}.reset-warning .warning-icon{width:34px;height:34px;border-radius:9px;display:grid;place-items:center;flex:none;background:#f8dede;color:#9d3c3c}.reset-warning .warning-icon .ico{font-size:18px}
.empty,.empty-state{font-size:11.5px}.empty-state{background:#fbfdfe}.file-tile{border:1px solid #dde7ec}.photo-card{box-shadow:0 4px 12px rgba(7,47,75,.04)}
@media(max-width:1150px){.layout{grid-template-columns:286px minmax(0,1fr)}.side{width:286px}.brand-pro .brand-msp{max-width:230px}.nav a{font-size:12px}.content{padding-left:20px;padding-right:20px}}
@media(max-width:800px){.layout{grid-template-columns:1fr}.side{left:-302px;width:292px}.top{height:72px;padding:0 12px}.content{padding:14px 12px 26px}.hamb{width:38px;height:38px;display:inline-grid;place-items:center;background:#f0f5f7;border:1px solid #dbe5ea;border-radius:9px;color:#174f6e}.hamb .ico{font-size:19px}.hero{padding:17px 17px}.hero h2{font-size:19px}.login-bg{padding:12px}.login-shell{border-radius:18px}.login-brand-panel{padding:25px;gap:16px}.login-msp{max-height:88px}.login-shell .login-card{padding:30px 25px}.login-shell .login-card h1{font-size:25px}.nav{max-height:calc(100vh - 225px)}.userbox form{display:block}.userbox .btn span{display:none}.userbox .btn{width:36px;padding:0}.userbox .btn .ico{font-size:16px}}
@media(max-width:520px){.top .eyebrow{display:none}.top h1{font-size:16px}.content{padding-left:10px;padding-right:10px}.card{padding:14px}.hero{border-radius:14px}.login-brand-panel{padding:22px}.login-shell .login-card{padding:26px 22px}}


:root{
 --hm1-navy:#062f4b;--hm1-blue:#0a5f8c;--hm1-cyan:#24a8bf;--hm1-ice:#eef7fa;
 --hm1-gold:#d7a624;--surface:#ffffff;--surface-2:#f7fafc;--border:#d9e6ec;
 --elev-1:0 8px 24px rgba(5,47,75,.07);--elev-2:0 18px 45px rgba(5,47,75,.11);
}
body{background:linear-gradient(180deg,#eef5f8 0,#f7fafb 260px,#f3f7f9 100%)}
.side{background:linear-gradient(180deg,#042a42 0%,#073e5e 52%,#062f4b 100%);box-shadow:10px 0 32px rgba(3,32,50,.10);padding:14px 13px 18px}
.side:before{content:"";position:absolute;inset:0 0 auto;height:240px;background:radial-gradient(circle at 20% 0,rgba(51,187,208,.14),transparent 58%);pointer-events:none}
.brand-pro{gap:11px;padding:0 0 14px!important}
.brand-official{min-height:86px!important;padding:8px 11px!important;border-radius:16px!important;box-shadow:0 12px 28px rgba(0,0,0,.14)!important;overflow:hidden}
.brand-pro .brand-msp{width:100%!important;height:66px!important;max-width:none!important;object-fit:contain!important;object-position:center!important;background:#fff!important}
.brand-system-pro{min-height:78px!important;padding:11px 13px!important;justify-content:flex-start!important;gap:11px;background:linear-gradient(145deg,#fff,#f3f8fa)!important;border-radius:16px!important;position:relative;overflow:hidden}
.brand-system-pro:after{content:"";position:absolute;width:92px;height:92px;border-radius:50%;right:-35px;top:-38px;background:rgba(26,154,185,.09)}
.hm1-emblem{width:46px;height:46px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(145deg,#073e62,#0d7198);color:#fff;position:relative;box-shadow:0 7px 18px rgba(7,69,103,.22);flex:none}
.hm1-emblem .ico{width:24px;height:24px;stroke-width:1.8}.hm1-dot{position:absolute;width:9px;height:9px;border-radius:50%;background:#f1c232;border:2px solid #fff;right:4px;bottom:4px}
.hm1-lockup{display:grid;min-width:0;line-height:1.05}.hm1-lockup strong{font-size:17px;letter-spacing:.015em;color:#083c5c}.hm1-lockup strong span{color:#0a7697}.hm1-lockup small{margin-top:5px;font-size:9px;font-weight:800;color:#567486;letter-spacing:.025em}.hm1-lockup em{margin-top:3px;font-size:8px;font-style:normal;color:#8195a0;font-weight:700}
.nav{gap:4px;margin-top:4px;max-height:calc(100vh - 295px);overflow:auto;padding-right:2px}.nav::-webkit-scrollbar{width:4px}.nav::-webkit-scrollbar-thumb{background:rgba(255,255,255,.17);border-radius:99px}
.nav a{position:relative;min-height:44px;padding:8px 9px;border-radius:11px;font-size:11.5px;letter-spacing:.003em;color:#dcebf2;border:1px solid transparent;transition:.16s ease}
.nav a:hover{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.08);transform:translateX(2px)}
.nav a.active{background:linear-gradient(90deg,rgba(38,168,195,.24),rgba(255,255,255,.08));border-color:rgba(110,212,230,.24);box-shadow:inset 3px 0 0 #43bdd2,0 6px 16px rgba(0,0,0,.08);color:#fff}
.navico{width:31px;height:31px;border-radius:9px;display:grid;place-items:center;background:rgba(255,255,255,.075);border:1px solid rgba(255,255,255,.1);color:#bfe9f1;flex:none}.nav a.active .navico{background:#fff;color:#0b6d91;border-color:#fff;box-shadow:0 5px 13px rgba(0,0,0,.12)}.navico .ico{width:17px;height:17px;stroke-width:1.8}
.side-foot{bottom:13px;background:rgba(3,31,49,.25);backdrop-filter:blur(5px);border-color:rgba(255,255,255,.12);padding:9px 11px}.gov-sign{display:none}.side-foot-title{font-size:9.8px}.side-foot>span{font-size:8.6px;line-height:1.45}
.top{height:82px;padding:0 21px;background:rgba(255,255,255,.90);backdrop-filter:blur(14px) saturate(125%);box-shadow:0 2px 14px rgba(7,55,82,.035)}
.heading .eyebrow{font-size:8.7px;letter-spacing:.105em;color:#0a6f94}.top h1{font-size:21px;color:#17384b;letter-spacing:-.015em}.userpill{display:flex;align-items:center;gap:9px;padding:7px 10px 7px 7px;border:1px solid #d8e5ea;background:linear-gradient(145deg,#f9fbfc,#eef5f8);box-shadow:0 4px 14px rgba(7,55,82,.04)}.user-avatar{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;color:#fff;font-weight:900;background:linear-gradient(145deg,#0a547c,#087da1);box-shadow:0 5px 12px rgba(8,91,127,.18)}
.content{padding:26px 27px 40px;max-width:1760px}.hero{border-radius:20px;border:1px solid #d7e7ed;background:linear-gradient(128deg,#fff 0%,#fbfdfe 57%,#eaf7fa 100%);box-shadow:var(--elev-1);position:relative;overflow:hidden}.hero:after{content:"";position:absolute;right:-60px;top:-95px;width:230px;height:230px;border-radius:50%;background:radial-gradient(circle,rgba(40,171,195,.10),transparent 66%);pointer-events:none}.hero h2{font-size:23px;letter-spacing:-.025em;color:#14394e}.hero p{font-size:12px;max-width:980px}
.card{border-color:#dbe6eb;box-shadow:0 8px 24px rgba(6,49,75,.055);transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}.card:hover{border-color:#cbdde5;box-shadow:0 13px 30px rgba(6,49,75,.075)}
.route-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.route{min-height:286px;padding:18px 18px 16px;border-radius:17px;background:linear-gradient(155deg,#fff,#fbfdfe);overflow:hidden}.route:before{width:4px;background:linear-gradient(180deg,#0a7099,#2ab4c8)}.route:after{content:"";position:absolute;width:100px;height:100px;border-radius:50%;right:-44px;top:-45px;background:rgba(37,167,194,.055);pointer-events:none}.route-head{align-items:flex-start;position:relative;z-index:1}.route-title-wrap{display:flex;gap:11px;align-items:flex-start;min-width:0}.route-symbol{width:37px;height:37px;border-radius:11px;display:grid;place-items:center;flex:none;background:#e8f6fa;color:#0a7395;border:1px solid #d1ebf1}.route-symbol .ico{width:19px;height:19px}.rid{font-size:8.8px;color:#08769a;letter-spacing:.085em;text-transform:uppercase}.route h3{font-size:17px;line-height:1.25;margin:5px 0 12px;color:#183d50}.route .badge{border-radius:8px;padding:5px 8px}.route-stop-list{display:grid;gap:6px;margin:7px 0 10px}.route-stop{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 7px 6px 9px;border-radius:10px;background:#f7fbfc;border:1px solid #e0ebef}.route-stop .node{background:transparent;border:0;padding:0;border-radius:0;font-size:10px}.stop-actions{display:flex;gap:4px}.route-add-stop{display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:10px}.route .toolbar{margin-top:11px;padding-top:10px;border-top:1px solid #edf2f4}.route .tiny.muted{display:block;min-height:16px;margin:7px 0;color:#7b909b}.route-policy{display:flex;align-items:center;gap:11px;padding:13px 15px;background:linear-gradient(90deg,#eef8fb,#f8fcfd)!important;border-color:#cee5ee!important}.route-policy>.ico{width:22px;height:22px;color:#08779a;flex:none}.route-policy div{display:grid;gap:2px}.route-policy b{color:#174d67}.route-policy span{font-size:10.7px;color:#527181}.btn.elevated{box-shadow:0 7px 18px rgba(5,71,107,.19)}
.section h2{color:#1b4053;letter-spacing:-.01em}.empty-state{padding:42px;border:1px dashed #bad3dd;background:linear-gradient(145deg,#fff,#f7fbfc);border-radius:17px;box-shadow:0 8px 22px rgba(7,55,82,.03)}
.btn{border-radius:9px}.btn.primary{background:linear-gradient(145deg,#0a5f8c,#06486f)}.btn.danger{background:linear-gradient(145deg,#c94a4a,#a93434)}
.dialog{border-radius:18px}.dialog-head{padding-bottom:11px;border-bottom:1px solid #edf1f3}.formgrid label{letter-spacing:.005em}.notice.info{border-color:#cfe4ec}
@media(max-width:1180px){.route-grid{grid-template-columns:1fr}.content{padding-left:20px;padding-right:20px}}
@media(max-width:800px){.brand-official{min-height:78px!important}.brand-pro .brand-msp{height:58px!important}.brand-system-pro{min-height:72px!important}.route{min-height:0}.route-add-stop{grid-template-columns:1fr}.route-add-stop .btn{width:100%}}


:root{
  --hm1-ink:#173346;
  --hm1-navy:#0b3047;
  --hm1-navy-deep:#082638;
  --hm1-blue:#136487;
  --hm1-cyan:#26a7bb;
  --hm1-teal:#1a8797;
  --hm1-gold:#d7a826;
  --hm1-bg:#f4f7f9;
  --hm1-surface:#ffffff;
  --hm1-line:#dbe5ea;
  --hm1-muted:#6d7f8b;
  --hm1-shadow:0 10px 28px rgba(13,50,72,.07);
  --hm1-shadow-soft:0 5px 16px rgba(13,50,72,.055);
}
html,body{background:var(--hm1-bg);color:var(--hm1-ink)}
.layout{grid-template-columns:300px minmax(0,1fr)}
.side{
  width:300px;
  padding:18px 16px 16px;
  background:
    radial-gradient(circle at 15% -5%,rgba(42,171,191,.16),transparent 24%),
    linear-gradient(180deg,var(--hm1-navy-deep) 0%,#0b3650 52%,#0b405d 100%);
  box-shadow:8px 0 26px rgba(5,30,45,.07);
  overflow:hidden;
}
.side:before{display:none!important}
.brand-pro{display:grid!important;gap:10px!important;padding:0 0 14px!important;border-bottom:1px solid rgba(255,255,255,.10)!important}
.brand-official{
  min-height:92px!important;
  padding:10px 14px!important;
  background:#fff!important;
  border:1px solid rgba(255,255,255,.75)!important;
  border-radius:18px!important;
  box-shadow:0 12px 28px rgba(0,0,0,.12)!important;
}
.brand-pro .brand-msp{
  width:100%!important;
  height:70px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
  display:block!important;
}
.brand-system-pro{
  min-height:86px!important;
  display:flex!important;
  align-items:center!important;
  gap:12px!important;
  padding:13px 14px!important;
  background:linear-gradient(145deg,#ffffff 0%,#f7fbfc 100%)!important;
  border:1px solid rgba(203,221,229,.95)!important;
  border-radius:18px!important;
  box-shadow:0 8px 22px rgba(0,0,0,.09)!important;
  overflow:hidden!important;
}
.brand-system-pro:after{width:110px!important;height:110px!important;right:-52px!important;top:-55px!important;background:rgba(38,167,187,.075)!important}
.hm1-emblem{
  width:50px!important;height:50px!important;border-radius:14px!important;
  background:linear-gradient(145deg,#0b405e,#117a97)!important;
  box-shadow:0 8px 18px rgba(8,65,92,.20)!important;
}
.hm1-emblem .ico{width:25px!important;height:25px!important}.hm1-dot{background:var(--hm1-gold)!important}
.hm1-lockup{display:block!important;min-width:0!important;position:relative!important;z-index:2!important}
.hm1-product-name{display:flex!important;align-items:baseline!important;gap:6px!important;white-space:nowrap!important}
.hm1-prefix{font-size:19px!important;line-height:1!important;font-weight:950!important;letter-spacing:-.03em!important;color:#0b3d5a!important}
.hm1-product{font-size:19px!important;line-height:1!important;font-weight:950!important;letter-spacing:.015em!important;color:#0a7896!important}
.hm1-lockup small{display:block!important;margin-top:7px!important;font-size:8.8px!important;line-height:1.25!important;font-weight:800!important;color:#527182!important;letter-spacing:.015em!important}
.hm1-lockup em{display:block!important;margin-top:4px!important;font-size:8px!important;line-height:1!important;font-style:normal!important;font-weight:800!important;color:#8a9aa4!important}
.nav{margin-top:11px!important;gap:4px!important;max-height:calc(100vh - 320px)!important;padding:0 2px 4px 0!important}
.nav a{
  min-height:44px!important;
  padding:8px 10px!important;
  border:1px solid transparent!important;
  border-radius:12px!important;
  color:#e6f0f4!important;
  font-size:12.2px!important;
  font-weight:720!important;
  transition:background .16s ease,border-color .16s ease,transform .16s ease!important;
}
.nav a:hover{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.08)!important;transform:translateX(1px)!important}
.nav a.active{background:linear-gradient(90deg,rgba(49,164,188,.18),rgba(255,255,255,.07))!important;border-color:rgba(101,205,222,.22)!important;color:#fff!important;box-shadow:inset 3px 0 0 #35abc0!important}
.navico{
  width:32px!important;height:32px!important;border-radius:9px!important;
  background:rgba(255,255,255,.065)!important;border:1px solid rgba(255,255,255,.085)!important;
  display:grid!important;place-items:center!important;flex:none!important
}
.navico .ico{width:17px!important;height:17px!important;stroke-width:1.8!important;color:#bfe6ed!important}
.side-foot{
  left:16px!important;right:16px!important;bottom:14px!important;
  padding:10px 11px!important;
  background:rgba(3,28,42,.28)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:12px!important;
  box-shadow:none!important;
  overflow:hidden!important;
}
.side-foot-title{display:flex!important;align-items:center!important;gap:7px!important;font-size:9.4px!important;color:#eef8fa!important}
.side-foot-title .ico{width:14px!important;height:14px!important;color:#63cfde!important}.side-foot>span{display:block!important;margin-top:5px!important;font-size:8.15px!important;line-height:1.45!important;color:#b9d4df!important}
.gov-sign{display:none!important}.gov-sign img{display:none!important;max-width:0!important;max-height:0!important}
.main{background:linear-gradient(180deg,#f8fafb 0,#f4f7f9 150px,#f4f7f9 100%)!important}
.top{
  height:82px!important;
  padding:0 24px!important;
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid #e1e9ed!important;
  box-shadow:0 4px 16px rgba(18,57,78,.035)!important;
}
.heading .eyebrow{font-size:8.6px!important;letter-spacing:.105em!important;color:#23708d!important}.top h1{font-size:20px!important;color:#16394c!important;margin-top:5px!important}
.userpill{border-radius:12px!important;box-shadow:none!important;background:#f7fafb!important;border-color:#dde8ed!important}.user-avatar{border-radius:9px!important;background:linear-gradient(145deg,#0b4e70,#117f9b)!important}
.content{padding:24px 26px 42px!important;max-width:1760px!important}
.card,.route,.table-wrap,.hero{box-shadow:var(--hm1-shadow)!important;border-color:var(--hm1-line)!important}
.card{border-radius:15px!important}.hero{border-radius:18px!important}
.kpi{background:linear-gradient(145deg,#fff,#fbfcfd)!important;box-shadow:var(--hm1-shadow-soft)!important}.kpi:before{width:3px!important;background:linear-gradient(#227da0,#32afc0)!important}.kpi strong{color:#134e6b!important}
.route-grid{gap:16px!important}.route{min-height:0!important;padding:18px!important;border-radius:16px!important;background:#fff!important}.route:before{background:linear-gradient(180deg,#17789c,#2bb0bf)!important}.route:after{display:none!important}.route h3{font-size:17px!important;color:#173c50!important}.route-symbol{background:#eff8fa!important;border-color:#d9ebf0!important;color:#177a98!important}.route-stop{background:#f8fafb!important;border-color:#e4ecef!important}.route .toolbar{border-top-color:#edf2f4!important}
.btn{border-radius:9px!important;box-shadow:none!important;transition:transform .14s ease,box-shadow .14s ease,filter .14s ease!important}.btn:hover{transform:translateY(-1px)!important;box-shadow:0 5px 12px rgba(15,55,77,.08)!important}.btn.primary{background:#0e587c!important;border-color:#0e587c!important}.btn.good{background:#2a7a61!important;border-color:#2a7a61!important}.btn.danger{background:#a94848!important;border-color:#a94848!important}.btn.warn{background:#b98125!important;border-color:#b98125!important}
input,select,textarea{border-radius:9px!important;border-color:#ccdce4!important;background:#fff!important}input:focus,select:focus,textarea:focus{border-color:#2b8eaa!important;box-shadow:0 0 0 3px rgba(43,142,170,.10)!important}
.notice.info,.route-policy{background:#f0f8fa!important;border-color:#d3e8ee!important;color:#295c70!important}
.badge{border-radius:7px!important}.badge.info{background:#e8f4f8!important;color:#176c88!important}.badge.ok{background:#eaf4ef!important;color:#2a7159!important}.badge.warn{background:#fbf1db!important;color:#8a6222!important}.badge.bad{background:#f9e8e8!important;color:#984242!important}
.table-wrap{border-radius:14px!important;box-shadow:var(--hm1-shadow-soft)!important}th{background:#eff5f7!important;color:#45606e!important}
@media(max-width:1180px){.layout{grid-template-columns:286px minmax(0,1fr)}.side{width:286px}.hm1-product-name{gap:5px!important}.hm1-prefix,.hm1-product{font-size:18px!important}}
@media(max-width:800px){.layout{grid-template-columns:1fr}.side{width:292px;left:-304px}.brand-official{min-height:84px!important}.brand-pro .brand-msp{height:62px!important}.brand-system-pro{min-height:82px!important}.nav{max-height:calc(100vh - 310px)!important}.content{padding:14px 12px 28px!important}}

.side{display:flex!important;flex-direction:column!important}
.brand-pro{flex:0 0 auto!important}
.nav{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;margin-bottom:10px!important}
.side-foot{position:static!important;left:auto!important;right:auto!important;bottom:auto!important;flex:0 0 auto!important;margin-top:auto!important}



html,body,button,input,select,textarea{font-family:"Aptos","Segoe UI Variable","Segoe UI",system-ui,-apple-system,sans-serif!important}
h1,h2,h3,.hm1-prefix,.hm1-product,.kpi strong{font-family:"Aptos Display","Aptos","Segoe UI Variable","Segoe UI",system-ui,sans-serif!important;letter-spacing:-.018em}
body{font-size:14px}.top h1{font-weight:750!important}.hero h2{font-weight:760!important}.route h3,.sector-card h3{font-weight:730!important}.nav a{font-weight:650!important}.btn{font-weight:680!important}
.user-content,.user-comment,.user-description,.user-observation,.route p.tiny{white-space:pre-wrap;text-transform:none!important}
.sector-section{scroll-margin-top:102px}.sector-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:28px}.sector-card{display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-height:145px}.sector-card-main{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.sector-card h3{margin:6px 0 5px;font-size:16px;color:var(--hm1-ink)}.sector-inactive{opacity:.68;background:#f7f9fa!important}.sector-card .toolbar{padding-top:10px;border-top:1px solid #edf2f4}
.doc-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0 20px}.doc-action{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--hm1-line);border-radius:15px;padding:17px 18px;box-shadow:var(--hm1-shadow-soft);transition:.15s ease}.doc-action:hover{transform:translateY(-2px);border-color:#bcd7e2;box-shadow:var(--hm1-shadow)}.doc-action b{display:block;color:#173c50;font-size:15px}.doc-action small{display:block;color:var(--hm1-muted);margin-top:4px;line-height:1.4}.doc-icon{width:52px;height:42px;border-radius:10px;display:grid;place-items:center;background:#edf7fa;color:#126c8b;font-size:10px;font-weight:850;letter-spacing:.05em;border:1px solid #d3e9ef}.doc-kpis{margin-bottom:12px}.status-word{font-size:19px!important;margin-top:11px!important}
.route-add-stop select{max-height:44px}
@media(max-width:1180px){.sector-grid,.doc-actions{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.sector-grid,.doc-actions{grid-template-columns:1fr}}

.login-msp{width:min(100%,520px);height:190px;object-fit:contain;object-position:center;background:#fff;border-radius:0;box-shadow:none;padding:0}
.login-brand-panel{overflow:hidden}
@media(max-width:900px){.login-msp{height:130px}}

.login-shell-v116{width:min(1080px,94vw);min-height:600px;grid-template-columns:1.05fr .95fr;border-radius:28px}
.login-brand-v116{min-width:0;padding:48px 54px;background:linear-gradient(155deg,#f7fbfd 0%,#edf6f8 58%,#e7f2f5 100%);gap:34px;align-items:stretch}
.login-msp-wrap{display:flex;align-items:center;justify-content:center;width:100%;min-height:170px;background:#fff;border:1px solid #e3ebef;border-radius:20px;padding:24px 30px;box-shadow:0 10px 30px rgba(11,58,82,.06)}
.login-msp-v116{display:block;width:100%;height:auto;max-width:500px;max-height:132px;object-fit:contain;object-position:center;background:transparent!important}
.login-system-v116{display:flex;align-items:center;gap:18px;width:100%;padding:22px 24px;background:#fff;border:1px solid #d7e5eb;border-radius:20px;box-shadow:0 12px 28px rgba(11,58,82,.06)}
.login-system-icon{width:68px;height:68px;flex:none;display:grid;place-items:center;border-radius:18px;background:linear-gradient(145deg,#0b5377,#0e829a);color:#fff;box-shadow:0 10px 24px rgba(8,92,126,.18)}
.login-system-icon svg{width:36px;height:36px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.login-system-copy{min-width:0;display:grid;gap:5px}
.login-system-copy strong{font-family:"Aptos Display","Segoe UI Variable","Segoe UI",system-ui,sans-serif;font-size:35px;line-height:1;letter-spacing:-.025em;color:#0e4567;white-space:nowrap}
.login-system-copy span{font-size:15px;font-weight:730;color:#4f6a7a;white-space:normal;line-height:1.25}
.login-system-copy small{font-size:12px;font-weight:650;color:#77909d}
.login-card-v116{padding:64px 62px!important}
.login-card-v116 h1{font-size:34px!important;margin:8px 0 28px;color:#103e5b}
.login-card-v116 .formgrid{gap:17px}
.login-card-v116 .formgrid label{font-size:12px;color:#486273}
.login-card-v116 input{min-height:48px;border-radius:12px;font-size:15px}
.login-card-v116 .btn.full{min-height:48px;border-radius:12px;font-size:13px;margin-top:18px}

@media(max-width:800px){
  html,body{overflow-x:hidden}
  .top{height:72px!important;min-height:72px!important;padding:0 10px!important;display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important}
  .hamb{display:grid!important;width:42px!important;height:42px!important;place-items:center!important;margin:0!important}
  .heading{min-width:0!important;overflow:hidden!important}
  .heading .eyebrow{display:none!important}
  .top h1{font-size:18px!important;line-height:1.1!important;margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
  .userbox{gap:6px!important;justify-self:end!important;min-width:0!important}
  .userpill{min-width:0!important;width:42px!important;height:42px!important;padding:4px!important;border-radius:12px!important;display:grid!important;place-items:center!important;background:#f4f8fa!important}
  .userpill>div{display:none!important}
  .user-avatar{width:32px!important;height:32px!important;margin:0!important}
  .userbox .btn{width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;border-radius:12px!important}
  .userbox .btn span{display:none!important}
  .content{padding:18px 14px 34px!important}
  .hero{display:grid!important;grid-template-columns:1fr!important;gap:16px!important;padding:20px!important;border-radius:18px!important;margin-bottom:18px!important}
  .hero .btn{width:100%!important}
  .hero h2{font-size:24px!important;line-height:1.12!important;margin:5px 0 0!important}
  .hero .eyebrow{font-size:10px!important}
  .section{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;align-items:start!important;margin:24px 0 14px!important}
  .section>div:last-child,.section>.toolbar{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .section .btn{width:100%!important;min-width:0!important}
  .section h2{font-size:22px!important;line-height:1.15!important}
  .kpis,.kpis.k3{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  .kpi{min-height:128px!important;padding:16px!important}
  .kpi strong{font-size:34px!important;margin-top:9px!important}
  .kpis>.kpi:last-child:nth-child(odd){grid-column:1/-1!important}
  .route-grid{grid-template-columns:1fr!important;gap:14px!important}
  .route{padding:17px 15px!important;border-radius:16px!important}
  .route-head{gap:10px!important}
  .route-title-wrap{gap:10px!important}
  .route-symbol{width:40px!important;height:40px!important}
  .route h3{font-size:20px!important;line-height:1.18!important;margin-top:5px!important;overflow-wrap:anywhere!important}
  .route-stop{padding:9px 9px 9px 12px!important;gap:8px!important}
  .route-stop .node{font-size:12px!important;line-height:1.25!important;min-width:0!important;overflow-wrap:anywhere!important}
  .stop-actions{flex:none!important}
  .stop-actions .btn.micro{width:38px!important;height:38px!important;min-height:38px!important}
  .route-add-stop{grid-template-columns:1fr!important;gap:9px!important}
  .route-add-stop select,.route-add-stop .btn{min-height:46px!important;width:100%!important}
  .route .toolbar{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important}
  .route .toolbar .btn{width:100%!important;min-height:42px!important}
  .card{border-radius:16px!important}
  .table-wrap{margin-left:-2px!important;margin-right:-2px!important}
  .dialog{width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;overflow:auto!important;border-radius:16px!important}
  .dialog form{padding:18px!important}
  .formgrid,.cols{grid-template-columns:1fr!important}
  .formgrid .span2{grid-column:auto!important}
  .searchbar,.assignbar{display:grid!important;grid-template-columns:1fr!important}
  .searchbar input,.searchbar select,.assignbar select{min-width:0!important;max-width:none!important;width:100%!important}
  .login-bg{min-height:100dvh!important;padding:14px!important;align-items:center!important}
  .login-shell-v116{width:100%!important;min-height:0!important;grid-template-columns:1fr!important;border-radius:22px!important;overflow:hidden!important}
  .login-brand-v116{min-height:0!important;padding:24px 22px 20px!important;gap:16px!important;border-right:0!important;border-bottom:1px solid #dfe9ed!important}
  .login-msp-wrap{min-height:96px!important;padding:14px 18px!important;border-radius:15px!important}
  .login-msp-v116{max-height:74px!important;max-width:390px!important}
  .login-system-v116{padding:16px!important;border-radius:15px!important;gap:13px!important}
  .login-system-icon{width:52px!important;height:52px!important;border-radius:14px!important}
  .login-system-icon svg{width:29px!important;height:29px!important}
  .login-system-copy strong{font-size:27px!important;white-space:normal!important}
  .login-system-copy span{font-size:13px!important}
  .login-system-copy small{font-size:11px!important}
  .login-card-v116{padding:28px 24px 30px!important}
  .login-card-v116 h1{font-size:28px!important;margin:6px 0 22px!important}
}

@media(max-width:420px){
  .content{padding-left:12px!important;padding-right:12px!important}
  .top{grid-template-columns:42px minmax(0,1fr) 90px!important;gap:7px!important}
  .userbox{width:90px!important;grid-template-columns:42px 42px!important;display:grid!important}
  .top h1{font-size:17px!important}
  .kpis,.kpis.k3{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .kpi{min-height:116px!important;padding:14px!important}
  .kpi label{font-size:9px!important}
  .kpi strong{font-size:31px!important}
  .section>div:last-child,.section>.toolbar{grid-template-columns:1fr!important}
  .route .toolbar{grid-template-columns:1fr!important}
  .login-bg{padding:10px!important}
  .login-shell-v116{border-radius:18px!important}
  .login-brand-v116{padding:18px 16px 16px!important}
  .login-msp-wrap{min-height:84px!important;padding:10px 14px!important}
  .login-msp-v116{max-height:62px!important}
  .login-system-v116{padding:14px!important}
  .login-system-copy strong{font-size:24px!important}
  .login-system-copy span{font-size:12px!important}
  .login-card-v116{padding:24px 20px 26px!important}
  .login-card-v116 h1{font-size:26px!important}
}

.nav{flex:0 1 auto!important;align-content:start!important;grid-auto-rows:max-content!important;max-height:calc(100dvh - 250px)!important;overflow-y:auto!important;margin-bottom:0!important}
.nav a{flex:none!important}
.camera-capture{display:grid;gap:9px}
.camera-label{font-size:11px;color:var(--muted);font-weight:850}
.camera-input{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
.camera-trigger{min-height:58px;border:1px solid #b9d7e2;background:linear-gradient(145deg,#f5fbfd,#eaf6f9);border-radius:13px;display:flex!important;align-items:center;justify-content:center;gap:10px;color:#0b5f82!important;font-size:13px!important;font-weight:780!important;cursor:pointer;transition:.15s ease;box-shadow:0 5px 14px rgba(12,88,120,.06)}
.camera-trigger:hover{border-color:#7db9ca;background:#edf9fb;transform:translateY(-1px)}
.camera-trigger .ico{width:22px;height:22px;stroke-width:1.8}
.camera-status{font-size:11px;color:#6d7f8b;display:flex;align-items:center;gap:7px;min-height:18px}
.camera-status.ready{color:#207354;font-weight:700}
.camera-preview:empty{display:none}
.camera-preview img{width:100%;max-height:300px;object-fit:contain;border-radius:12px;background:#eef3f6;border:1px solid #dbe6eb}
.document-capture[hidden]{display:none!important}
.document-capture label{display:grid;gap:5px;font-size:11px;color:var(--muted);font-weight:850}
@media(max-width:800px){.nav{max-height:calc(100dvh - 245px)!important}.camera-trigger{min-height:62px;font-size:14px!important}.camera-trigger .ico{width:24px;height:24px}.camera-preview img{max-height:360px}}
.candidate-action{display:flex;gap:8px;align-items:center;min-width:320px}.candidate-action select{min-width:170px;flex:1}.candidate-action .btn{white-space:nowrap}@media(max-width:760px){.candidate-action{min-width:240px;flex-direction:column;align-items:stretch}.candidate-action select,.candidate-action .btn{width:100%;min-width:0}}

.delete-check-form{margin-top:14px;display:flex;justify-content:flex-end}.delete-check-form .btn{min-width:210px}@media(max-width:720px){.delete-check-form{justify-content:stretch}.delete-check-form .btn{width:100%}}

.row-check-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.row-check-actions form{margin:0}.row-check-actions .btn{white-space:nowrap}@media(max-width:720px){.row-check-actions{align-items:stretch}.row-check-actions>a,.row-check-actions form,.row-check-actions form .btn{width:100%}}
.participant-select{display:grid;gap:10px}.participant-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.participant-head>div{display:flex;gap:7px}.participant-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:360px;overflow:auto;padding:4px}.participant-option{display:flex!important;align-items:center;gap:10px;padding:11px 12px;border:1px solid #d5e2e8;border-radius:12px;background:#f8fbfc;cursor:pointer}.participant-option:hover{border-color:#86bdcb;background:#f0f8fa}.participant-option input{width:18px;height:18px;flex:none}.participant-option span{display:grid;gap:2px;min-width:0}.participant-option b{font-size:12px;line-height:1.2}.participant-option small{font-size:10px;color:var(--muted)}
.catalog-picker{position:relative}.catalog-results{position:absolute;left:0;right:0;top:100%;z-index:40;background:#fff;border:1px solid #c9dce4;border-radius:12px;box-shadow:0 14px 34px rgba(7,54,78,.14);display:none;max-height:330px;overflow:auto}.catalog-results.open{display:block}.catalog-result{width:100%;border:0;border-bottom:1px solid #e6eef2;background:#fff;padding:11px 13px;text-align:left;display:grid;gap:3px;cursor:pointer;color:#173b52}.catalog-result:hover{background:#eef8fa}.catalog-result b{font-size:11px;color:#0e7595}.catalog-result span{font-size:12px;line-height:1.3}.recount-inline{display:grid;grid-template-columns:82px minmax(180px,1fr) auto;gap:6px;align-items:center}.recount-inline input{min-height:36px!important;padding:6px 9px!important}
@media(max-width:800px){.participant-grid{grid-template-columns:1fr}.participant-head{align-items:stretch;flex-direction:column}.participant-head>div{display:grid;grid-template-columns:1fr 1fr}.recount-inline{grid-template-columns:1fr}.catalog-results{position:relative;top:auto;margin-top:5px}}
.count-groups{display:grid;grid-template-columns:1fr 1fr;gap:14px}.count-group{border:1px solid #d5e2e8;border-radius:16px;padding:12px;background:#f8fbfc}.count-group.group-two{border-color:#d7d2ea;background:#fbfaff}.count-group-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.count-group-head>div{display:flex;align-items:baseline;gap:8px}.count-group-head strong{font-size:15px;color:var(--navy)}.count-group-head span{font-size:11px;color:var(--muted);font-weight:700;text-transform:uppercase;letter-spacing:.05em}.count-stage-chip{display:inline-flex;align-items:center;margin-top:9px;padding:6px 10px;border-radius:999px;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;border:1px solid #9bcbd7;background:#eaf7fa;color:#0f6d86}.count-stage-chip.g2{border-color:#c9bce7;background:#f4effd;color:#6c4ca0}.person-chip.group2{background:#f1ecfb;border-color:#d8ccef;color:#624a91}.comparison-card{margin:14px 0;border-left:4px solid #8a67bf}.comparison-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:10px}.comparison-grid div{display:grid;gap:3px}.comparison-grid span{font-size:10px;color:var(--muted);font-weight:700;text-transform:uppercase}.comparison-grid b{font-size:12px}.group-label{display:inline-flex;padding:4px 8px;border-radius:999px;font-size:10px;font-weight:800;background:#eaf7fa;color:#0f6d86}.group-label.g2{background:#f1ecfb;color:#624a91}@media(max-width:900px){.count-groups{grid-template-columns:1fr}.comparison-grid{grid-template-columns:1fr 1fr}}@media(max-width:520px){.comparison-grid{grid-template-columns:1fr}}
.participant-option.locked{opacity:.72;background:#eef3f5;cursor:not-allowed}

.planning-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(620px,.78fr);gap:22px;align-items:start}.planning-list-panel,.planning-form-panel{min-width:0}.planning-form-panel{position:sticky;top:100px}.planning-form-card{overflow:visible}.planning-form-card .participant-grid{grid-template-columns:1fr;max-height:320px}.planning-form-card .participant-option{padding:9px 10px}.planning-form-card .participant-option b{font-size:11px;overflow-wrap:anywhere}.planning-form-card .participant-option small{font-size:9px}.planning-list-panel .table-wrap{max-width:100%}.planning-list-panel table{min-width:1060px}.targeted-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.test-form-layout{max-width:980px;margin:0 auto}.test-form-layout .catalog-results{max-height:360px}.test-form-layout .card{overflow:visible}
@media(max-width:1480px){.planning-layout{grid-template-columns:1fr}.planning-form-panel{position:static}.planning-form-card .participant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.planning-form-card .count-groups{grid-template-columns:1fr 1fr}.targeted-grid{grid-template-columns:1fr}}
@media(max-width:1100px){.split{grid-template-columns:1fr}.planning-form-card .participant-grid{grid-template-columns:1fr}.planning-form-card .count-groups{grid-template-columns:1fr}.danger-grid,.system-stat{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.planning-layout{display:block}.planning-list-panel{margin-bottom:24px}.planning-form-card{padding:14px}.planning-form-card .count-group{padding:10px}.planning-form-card .count-group-head{align-items:center}.planning-form-card .participant-grid{max-height:none;overflow:visible}.planning-list-panel table{min-width:900px}.targeted-grid,.danger-grid,.system-stat{grid-template-columns:1fr}.test-form-layout{max-width:none}.catalog-results{max-height:280px}.planning-form-panel .section h2{font-size:20px!important}}
@media(max-width:520px){.planning-form-card .count-group-head{align-items:flex-start;flex-direction:column}.planning-form-card .count-group-head .btn{width:100%}.participant-option{padding:12px 10px}.participant-option input{width:20px;height:20px}.participant-option b{font-size:13px!important}.participant-option small{font-size:10px!important}.targeted-grid .card{padding:14px}.test-form-layout .savebar{display:grid;grid-template-columns:1fr}.test-form-layout .savebar .btn{width:100%}}
