:root{color-scheme:dark;--page:#0c1829;--nav:#0e1b30;--pane:#142338;--pane2:#192a41;--pane3:#1c304b;--surface:#18283d;--stroke:#34465c;--stroke2:#415571;--text:#f2f7ff;--muted:#9aabc2;--blue:#1975f9;--blue2:#085ed5;--green:#21c665;--orange:#ff8b24;--cyan:#15bdd7;--radius:12px;--shadow:0 7px 24px #0004}*{box-sizing:border-box}html,body{margin:0;height:100%;width:100%}body{font:14px/1.35 "Segoe UI",Inter,Arial,sans-serif;color:var(--text);background:var(--page);overflow:hidden}button,input,select{font:inherit}button{color:inherit;cursor:pointer;border:0;background:none}button:disabled{opacity:.55;cursor:not-allowed}input,select{accent-color:#2083ff}input[type=checkbox]{width:16px;height:16px;cursor:pointer;flex-shrink:0}input[type=checkbox]:disabled{cursor:not-allowed}input[type=search]::-webkit-search-cancel-button{cursor:pointer}.icon{flex-shrink:0}b,strong{font-weight:650}.app-shell{height:100vh;display:flex;flex-direction:column;min-width:1120px;background:linear-gradient(180deg,#0e1b2e,#0c1b2e)}.topbar{height:61px;min-height:61px;display:flex;align-items:center;gap:12px;padding:0 18px;border-bottom:1px solid #3f526b;background:linear-gradient(180deg,#101c2d,#0d192b);box-shadow:0 3px 12px #0004;position:relative;z-index:5}.brand{width:208px;flex-shrink:0;display:flex;flex-direction:column;line-height:1;margin-right:0}.brand-word{font-size:26px;font-weight:850;letter-spacing:-1.3px;font-style:italic;color:white}.brand-word span{color:#eef6ff}.brand-word::after{content:'';display:block;border-bottom:3px solid #178aff;width:82px;border-radius:100%;transform:rotate(-7deg);margin-top:0}.brand small{font-size:12px;align-self:flex-end;margin-right:33px;font-weight:600;color:#e1ebfc}.main-nav{display:flex;align-items:center;gap:3px;height:100%;min-width:0}.nav-link{white-space:nowrap;font-size:13px;font-weight:630;display:flex;gap:8px;align-items:center;height:38px;padding:0 11px;border-radius:8px;color:#ecf3fd}.nav-link:hover,.nav-link.active{background:linear-gradient(180deg,#277ffe,#0e5ccd);box-shadow:inset 0 0 0 1px #ffffff18}.top-right{display:flex;align-items:center;gap:11px;margin-left:auto;min-width:160px}.search-field{height:34px;display:flex;gap:7px;align-items:center;border:1px solid #71839b;border-radius:9px;padding:0 11px;color:#d8e4f5;background:#17283e;box-shadow:inset 0 1px 3px #0002;min-width:0}.search-field:focus-within{border-color:#3c98ff;box-shadow:0 0 0 2px #2495fb22}.search-field input{width:100%;border:0;outline:0;min-width:0;background:transparent;color:var(--text);font-size:12px}.search-field input::placeholder{color:#b5c3d6}.header-search{width:min(290px,18vw);flex-shrink:1}.top-user{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:700;white-space:nowrap}.icon-btn{display:grid;place-items:center;color:#bfcfe4;padding:5px}.main-under-header{display:flex;flex:1;min-height:0}.sidebar{width:242px;flex-shrink:0;padding:16px 13px 14px 14px;display:flex;flex-direction:column;overflow-y:auto;background:linear-gradient(180deg,#0e1e33,#0b1829);border-right:1px solid #40536b}.sidebar::-webkit-scrollbar,.team-list::-webkit-scrollbar,.order-scroller::-webkit-scrollbar,.gantt-rows::-webkit-scrollbar{width:7px}.sidebar::-webkit-scrollbar-thumb,.team-list::-webkit-scrollbar-thumb,.order-scroller::-webkit-scrollbar-thumb,.gantt-rows::-webkit-scrollbar-thumb{background:#48607c;border-radius:8px}.side-section{padding:5px 0 12px;margin-bottom:6px;border-bottom:1px solid #32465c}.side-section h3{margin:0 0 10px;display:flex;align-items:center;gap:10px;font-size:13px;color:#edf4fc}.branch-btn{display:flex;align-items:center;gap:10px;width:100%;height:37px;padding:0 11px;border-radius:7px;text-align:left;font-size:13px;font-weight:600}.branch-btn em{margin-left:auto;font-style:normal;font-size:12px}.branch-btn:hover{background:#1b304a}.branch-btn.active{background:linear-gradient(90deg,#116bed,#207aff);box-shadow:inset 0 0 0 1px #8ab4ff4f}.side-filter{display:flex;align-items:center;gap:8px;min-height:32px;cursor:pointer;font-size:12px;font-weight:500}.side-filter>span{display:flex;align-items:center;gap:8px;flex:1}.side-filter input{margin:0 2px 0 1px}.side-filter .icon{color:#d2e3f7}.pill{display:inline-flex;justify-content:center;align-items:center;min-width:31px;padding:2px 8px;border-radius:20px;background:#28516b;color:#faffff;font-size:11px}.pill.open{background:#269854}.pill.planned{background:#287a5e}.pill.in_progress{background:#b67c2d}.pill.muted{background:#566779}.pill.cyan{background:#087fa7}.side-dropdown{display:flex;align-items:center;justify-content:space-between;width:100%;height:36px;margin:5px 0;border-radius:7px;padding:0 12px;background:#1c2d44;font-size:12px;text-align:left}.side-dropdown:hover{background:#2a3d56}.side-footer{margin-top:auto;padding:20px 5px 2px;color:#a4b6cd;font-size:11px;line-height:1.5}.live-dot{display:inline-block;width:8px;height:8px;background:#20ce79;border-radius:50%;box-shadow:0 0 8px #18d77655;margin-right:3px}.main-content{flex:1;min-width:0;min-height:0;display:flex;flex-direction:column;gap:9px;padding:10px 10px 11px}.toolbar{display:flex;align-items:center;gap:9px;height:42px;flex-shrink:0;min-width:0}.toolbar-spacer{flex:1;min-width:4px}.date-controls{display:flex;align-items:center;height:36px;border:1px solid #546880;border-radius:8px;overflow:hidden;background:#1c2a40;white-space:nowrap}.date-controls .tool-icon{height:100%;border:none;border-radius:0}.date-current{min-width:174px;display:flex;justify-content:center;align-items:center;gap:10px;padding:0 10px;font-weight:700;font-size:13px}.tool-icon,.tool-button,.mini-icon,.segmented button{display:inline-flex;align-items:center;justify-content:center;gap:6px}.tool-icon{height:35px;min-width:34px;padding:0 9px;border:1px solid #62758f;border-radius:7px;background:linear-gradient(#20324a,#1a293e);box-shadow:inset 0 1px #ffffff15}.tool-icon:hover,.tool-button:hover{border-color:#77a5ed;background:#27425e}.tool-button{height:35px;padding:0 12px;background:linear-gradient(#243651,#1a293e);border:1px solid #647a96;border-radius:7px;white-space:nowrap;font-size:12px;font-weight:630;box-shadow:inset 0 1px #ffffff1c}.tool-button.small,.primary-button.small{height:31px;font-size:11px;padding:0 9px}.segmented{display:flex;align-items:center;gap:1px;padding:3px;background:#1b2b40;border:1px solid #53657c;border-radius:8px;white-space:nowrap}.segmented button{height:29px;padding:0 11px;border-radius:5px;font-size:12px;font-weight:700}.segmented button.active{background:#126bf2;box-shadow:0 1px 6px #092550}.primary-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:linear-gradient(#237fff,#075cde);border:1px solid #7eb6ff;border-radius:7px;height:38px;padding:0 16px;font-weight:730;font-size:13px;box-shadow:inset 0 1px 0 #ffffff30,0 2px 6px #0003;white-space:nowrap}.primary-button:hover{filter:brightness(1.14)}.top-columns{flex:1;min-height:310px;display:grid;grid-template-columns:minmax(340px,1.25fr) minmax(290px,.94fr) minmax(415px,1.72fr);gap:9px}.panel{background:linear-gradient(180deg,#17263a,#142137);border:1px solid #4d6280;border-radius:11px;box-shadow:inset 0 1px #ffffff18,0 3px 12px #0003;overflow:hidden;min-width:0;min-height:0}.panel-heading{height:44px;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:0 12px;border-bottom:1px solid #41536b}.panel-heading h2{margin:0;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:750;display:flex;align-items:center;gap:7px}.panel-heading h2 small{font-size:13px;color:#d0dbea;font-weight:600}.panel-actions{display:flex;align-items:center;gap:4px}.mini-icon{height:26px;min-width:24px;border-radius:6px;padding:0 4px;color:#c8d7ea}.mini-icon:hover{background:#2b4660}.panel-search,.map-tools{display:flex;align-items:center;gap:8px;padding:8px 10px}.panel-search .search-field,.map-tools .search-field{flex:1}.orders-panel,.team-panel{display:flex;flex-direction:column}.order-table{display:flex;flex:1;flex-direction:column;min-height:0}.order-cols{display:grid;grid-template-columns:22px 58px minmax(89px,1fr) minmax(67px,.8fr) 52px 48px 53px;align-items:center;gap:3px}.colhead{background:#1b2e45;min-height:39px;padding:0 5px;border-block:1px solid #3d526c;color:#b8c9df;font-size:10px;font-weight:700}.colhead input{margin:0 0 0 3px}.order-scroller{overflow:auto;min-height:0;flex:1;scrollbar-color:#405571 transparent}.order-row{min-height:55px;padding:6px 5px;position:relative;border-bottom:1px solid #2d4157;cursor:pointer;background:linear-gradient(90deg,color-mix(in srgb,var(--row-color) 18%,#142439) 0%,#17283c 60%)}.order-row::before{content:'';position:absolute;top:5px;bottom:5px;left:0;width:4px;background:var(--row-color);border-radius:4px}.order-row:hover,.order-row.focused{background:linear-gradient(90deg,color-mix(in srgb,var(--row-color) 40%,#183659),#1d3354)}.order-row.selected{box-shadow:inset 0 0 0 1px #8abaff88}.order-row.dragging{opacity:.5}.order-row>strong{font-size:11px}.order-customer{min-width:0;display:flex;flex-direction:column;line-height:1.26;gap:3px}.order-customer b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.order-customer small{font-size:10px;color:#bdd0e1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.order-device{display:flex;align-items:center;gap:4px;min-width:0}.order-device .icon{color:#dae9f6}.order-device span{font-size:10px;line-height:1.2;overflow:hidden;text-overflow:ellipsis;max-height:26px}.device-info{margin-left:auto;color:#9eb6dc;display:grid;place-items:center;padding:2px}.device-info:hover{color:#62b6ff}.cell-duration,.cell-date{font-size:10px;color:#d7e6f4;line-height:1.45;text-align:center}.cell-status{font-size:9px;border-radius:5px;padding:4px 3px;text-align:center;white-space:nowrap;color:#d3e9ff;background:#1b5a84}.cell-status.is-open{color:#d7dce5;background:#3a4a5c}.panel-footer{height:51px;display:flex;align-items:center;gap:7px;padding:0 9px;border-top:1px solid #364b63;font-size:11px;font-weight:650;white-space:nowrap}.panel-footer>span{margin-right:auto}.muted-note{color:#93a5b9;font-weight:400}.team-panel .panel-heading{flex-shrink:0}.team-list{flex:1;overflow-y:auto;padding:8px 9px 0}.tech-card{padding:10px 10px 9px;margin-bottom:9px;border:1px solid #4b627e;border-left:5px solid var(--tech-color);border-radius:8px;background:linear-gradient(100deg,color-mix(in srgb,var(--tech-color) 13%,#1a293e),#17263c);cursor:pointer}.tech-card.active{box-shadow:inset 0 0 0 1px #89a8ce77}.tech-card:hover{background:#243c58}.tech-card.drop-over,.gantt-track.drop-over{outline:3px dashed #fff9;background:#257fe255!important}.tech-head{display:flex;align-items:center;gap:8px}.avatar{height:35px;width:35px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;color:#fff;background:radial-gradient(circle at 30% 10%,#ffffff66,var(--avatar) 50%,#222);border:2px solid #afc1d8;font-size:11px;font-weight:800}.tech-name{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}.tech-name b{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tech-name small{display:flex;align-items:center;gap:4px;font-size:10px;color:#c4d2e6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tech-shift{display:inline-flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--tech-color) 70%,#0b263e);border-radius:20px;min-width:78px;padding:3px 6px;font-size:10px;font-weight:700;white-space:nowrap}.tech-sub,.tech-stat{display:flex;align-items:center;justify-content:space-between;gap:5px;padding-top:7px;font-size:10px;color:#aebfd6}.tech-sub span,.tech-stat span{display:flex;align-items:center;gap:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.assistant-link{display:flex;gap:3px;align-items:center;border:1px solid #536681;background:#23354c;border-radius:5px;padding:3px 5px;font-size:10px;white-space:nowrap}.assistant-link:hover{background:#2c577d}.team-summary{min-height:51px;flex-shrink:0;display:flex;justify-content:space-around;align-items:center;border-top:1px solid #405169}.team-summary>div{display:grid;grid-template-columns:auto auto;column-gap:5px;align-items:center}.team-summary small{grid-column:2;color:#a4b7cc;font-size:10px}.map-panel{position:relative;display:flex;flex-direction:column;background:#132239}.map-heading{height:47px;flex-shrink:0}.map-heading h2{font-size:19px}.map-tools{height:52px;flex-shrink:0}.map-expand-btn{display:flex;align-items:center;gap:8px;background:linear-gradient(180deg,#0e9bc2,#06658b);border:1px solid #69d3f4;border-radius:6px;padding:8px 12px;font-weight:700;font-size:12px;white-space:nowrap}.map-expand-btn:hover{filter:brightness(1.2)}.map-host{flex:1;position:relative;overflow:hidden;background:#e2eadb;min-height:0}.map-surface{position:absolute;inset:0;overflow:hidden;cursor:grab;touch-action:none}.map-surface:active{cursor:grabbing}.map-fallback{position:absolute;inset:0;background-color:#e6e8dc;background-image:radial-gradient(ellipse at 18% 60%,#cbe1c0 0 17%,transparent 18%),radial-gradient(ellipse at 86% 17%,#c1d8b5 0 26%,transparent 27%),radial-gradient(ellipse at 72% 75%,#b7dac0 0 19%,transparent 20%),repeating-linear-gradient(32deg,transparent 0 32px,#ffffffcc 33px 40px,transparent 41px 70px),repeating-linear-gradient(-28deg,transparent 0 63px,#f4f3e8 64px 70px,#d8d5bd 71px,transparent 73px 108px);color:#6b7980}.fake-city{position:absolute;left:42%;top:44%;font-size:32px;opacity:.4;color:#2f484c;font-weight:750;text-shadow:1px 1px #fff}.tile-layer{position:absolute;inset:0}.tile-layer img{position:absolute;width:256px;height:256px;max-width:none;user-select:none;pointer-events:none}.routes-svg,.pins-layer{position:absolute;inset:0;pointer-events:none}.map-marker{position:absolute;transform:translate(-50%,-100%);border:0;background:var(--pin);color:#fff;height:29px;min-width:27px;padding:0 7px;border-radius:100% 100% 100% 0;rotate:-45deg;display:grid;place-items:center;box-shadow:0 2px 1px #0004,inset 0 0 0 2px #fff;border:1px solid #ffffffaa;pointer-events:auto;font-size:12px;font-weight:800;z-index:2}.map-marker span{rotate:45deg;display:grid;place-items:center}.map-marker.open{opacity:.87;height:24px;min-width:24px}.map-marker.active{z-index:9;scale:1.22;filter:drop-shadow(0 3px 4px #0009)}.map-marker:hover{z-index:10;scale:1.22}.map-action-controls{position:absolute;top:10px;left:10px;display:flex;flex-direction:column;gap:0;z-index:6;border:1px solid #aec2c6;border-radius:6px;overflow:hidden;box-shadow:0 2px 8px #0003}.map-action-controls button{width:34px;height:37px;display:grid;place-items:center;background:#fff;color:#102b3f;border-bottom:1px solid #c9d1d3}.map-action-controls button:hover{background:#dcebf5}.map-action-controls button:last-child{border-bottom:0}.map-legend{position:absolute;z-index:8;right:10px;bottom:20px;min-width:190px;max-width:260px;background:#101c2ce9;border:1px solid #63809a;border-radius:9px;padding:7px 10px;box-shadow:0 4px 14px #0005;color:#e8f1fc;backdrop-filter:blur(4px);font-size:11px}.legend-title{width:100%;display:flex;justify-content:space-between;align-items:center;text-align:left;font-weight:750;margin-bottom:4px;font-size:12px}.legend-row{display:flex;gap:7px;align-items:center;width:100%;padding:3px 2px;text-align:left;font-size:11px}.legend-row.chosen,.legend-row:hover{background:#ffffff13}.legend-row i{width:12px;height:12px;flex-shrink:0;display:block;border-radius:50%;border:2px solid white;box-shadow:0 0 1px #111}.legend-row span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map-attribution{position:absolute;bottom:3px;right:5px;background:#ffffffda;border-radius:4px;padding:2px 5px;font-size:9px;color:#344149;z-index:3}.map-popup{position:absolute;z-index:11;width:288px;background:#f7faff;border:1px solid #8fa5b4;border-radius:9px;box-shadow:0 7px 20px #0007;color:#18314d;padding:12px;cursor:default;touch-action:auto}.popup-heading{display:flex;align-items:start;justify-content:space-between;gap:9px;font-size:13px}.popup-heading button{color:#35506a;display:grid;place-items:center}.popup-address{font-size:11px;display:flex;align-items:flex-start;gap:4px;color:#465c74;margin:6px 0 9px}.popup-device{display:flex;align-items:center;gap:8px;border-block:1px solid #d2dce8;padding:8px 0}.popup-device>.icon{height:25px;width:25px;color:#28517a}.popup-device div{display:flex;flex-direction:column;font-size:12px}.popup-device span{color:#4d637e;font-size:11px}.popup-fact{display:flex;align-items:center;gap:6px;margin:6px 0;font-size:11px}.popup-badge{display:inline-block;background:color-mix(in srgb,var(--c) 22%,#fff);color:#1f4364;border-radius:5px;padding:3px 6px;font-weight:700;font-size:11px}.popup-buttons{display:flex;gap:6px;margin-top:10px}.popup-buttons button{flex:1}.bottom-panel{height:min(32vh,327px);min-height:254px;flex-shrink:0;display:grid;grid-template-columns:238px minmax(460px,1fr) 325px;gap:0;background:#172538}.bottom-calendar{padding:9px;border-right:1px solid #41556d;min-width:0}.month-box{height:100%;background:linear-gradient(180deg,#f9fcff,#eef4f9);border:1px solid #93acc5;border-radius:10px;color:#17263d;padding:9px 8px;overflow:hidden}.month-heading{height:29px;display:flex;align-items:center;justify-content:space-between;font-size:12px}.month-heading .mini-icon{color:#1d3450}.month-grid{display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:25px repeat(6,1fr);height:calc(100% - 30px);gap:0}.month-grid>b{display:grid;place-items:center;font-size:10px;color:#354f6c}.cal-day{font-size:11px;border-radius:7px;position:relative;color:#172d48}.cal-day.other{color:#98a9bd}.cal-day.chosen{background:#1069f0;color:white;font-weight:800}.cal-day.today{box-shadow:inset 0 0 0 1px #1382ff}.cal-day i{position:absolute;bottom:3px;left:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:#1796fb}.cal-day.chosen i{background:#fff}.cal-day:hover{background:#c4def9}.cal-day.chosen:hover{background:#1165da}.bottom-main{min-width:0;display:flex;flex-direction:column;overflow:hidden;border-right:1px solid #40526c;padding:6px 8px}.bottom-tabs{height:30px;display:flex;gap:4px;margin-bottom:5px;flex-shrink:0}.bottom-tabs button{background:#273b52;color:#e3ebf8;padding:0 15px;border-radius:6px;font-size:12px;font-weight:700}.bottom-tabs button.active{background:#0967ec}.five-days{display:grid;grid-template-columns:repeat(5,1fr);flex-shrink:0;height:46px;border:1px solid #9db7d3;border-radius:6px;overflow:hidden}.day-tab{background:#eff5fc;color:#172c46;border-right:1px solid #cad7e5;font-size:11px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:3px}.day-tab:last-child{border-right:0}.day-tab.active{background:linear-gradient(#d0eaff,#a4d8ff);box-shadow:inset 0 0 0 2px #6aaceb}.day-tab small{display:flex;align-items:center;gap:5px;font-size:10px}.gantt{flex:1;min-height:0;display:flex;flex-direction:column;overflow:hidden;background:#eef4fb;border-radius:0 0 6px 6px;color:#183450}.gantt-hours{height:30px;display:grid;grid-template-columns:145px 1fr;flex-shrink:0;border-bottom:1px solid #cad7e8}.gantt-hours>div{display:flex;justify-content:space-between;align-items:center;padding:0 7px;font-size:10px;font-weight:700}.gantt-rows{overflow:auto;flex:1}.gantt-row{display:grid;grid-template-columns:145px minmax(0,1fr);height:38px;border-bottom:1px solid #cbd7e6}.gantt-label{display:flex;align-items:center;gap:6px;text-align:left;padding:0 5px;font-size:11px;font-weight:650;min-width:0;overflow:hidden}.gantt-label span:last-child{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mini-avatar{height:22px;width:22px;border-radius:50%;color:#fff;display:grid;place-items:center;flex-shrink:0}.gantt-track{position:relative;background:repeating-linear-gradient(90deg,transparent 0 calc(10% - 1px),#b7cde377 calc(10% - 1px) 10%);min-width:0}.gantt-job{position:absolute;top:6px;height:26px;padding:0 2px;background:var(--bar);border:1px solid #ffffffaa;border-radius:4px;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:10px;font-weight:750;box-shadow:0 1px 3px #0004}.gantt-job:hover{filter:brightness(1.2)}.bottom-tour{background:#eff5fa;color:#122a47;min-width:0;overflow:auto;padding:10px}.tour-detail h3{display:flex;align-items:center;gap:7px;font-size:13px;margin:0 0 10px}.tour-detail h3 i{display:inline-block;width:11px;height:11px;border-radius:50%}.tour-detail h3 button{margin-left:auto;color:#2868ae}.tour-meta{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:650;border-bottom:1px solid #ced7e3;padding-bottom:8px;flex-wrap:wrap}.tour-meta small{font-weight:400;color:#54708b}.detail-stops{margin-top:10px;display:flex;flex-direction:column;gap:6px}.detail-stop{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:6px;text-align:left;width:100%;padding:5px 1px;font-size:10px;border-bottom:1px solid #dce4ed;color:#14304b}.detail-stop b{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.detail-stop small{white-space:nowrap}.stop-number{width:23px;height:23px;border-radius:50%;display:grid;place-items:center;color:white;font-weight:800}.detail-top{height:38px;display:flex;align-items:center;gap:7px;color:#d7e9fa}.week-board,.month-board{background:#edf3fa;color:#20384e;flex:1;overflow:auto;border-radius:6px;padding:7px}.week-top,.week-row{display:grid;grid-template-columns:115px repeat(7,minmax(75px,1fr));gap:2px;align-items:center;font-size:10px}.week-top{font-weight:750}.week-row{min-height:27px;margin-top:5px}.week-row b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.week-row button{height:26px;border:1px solid #bfd3e5;border-radius:4px;color:#14304c;font-size:10px}.month-board{display:grid;grid-template-columns:repeat(7,minmax(70px,1fr));grid-auto-rows:50px;gap:5px}.month-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #bcd0e6;border-radius:5px;color:#214062}.month-slot.active{background:#7abcff}.month-slot small{font-size:9px}.empty-box{padding:22px 12px;text-align:center;color:#849db5;font-size:12px}.toasts{position:fixed;top:74px;right:18px;z-index:300;display:flex;flex-direction:column;gap:6px;pointer-events:none}.toast{display:flex;align-items:center;gap:8px;background:#1b4435;color:#e7fff5;border:1px solid #33a875;border-radius:8px;padding:11px 15px;box-shadow:0 7px 22px #0006;font-size:12px}.toast.error{background:#60353a;border-color:#cc6e6e}.modal-backdrop{position:fixed;inset:0;z-index:400;display:grid;place-items:center;background:#020c1bba;backdrop-filter:blur(3px)}.modal{width:min(540px,calc(100vw - 30px));max-height:min(86vh,800px);display:flex;flex-direction:column;background:#17273b;border:1px solid #748da8;border-radius:13px;box-shadow:0 20px 80px #000a}.modal-top{padding:16px 20px;border-bottom:1px solid #445b72;display:flex;justify-content:space-between;align-items:center}.modal-top h2{margin:0;font-size:18px}.modal-body{overflow:auto;padding:18px 20px;display:flex;flex-direction:column;gap:9px}.modal-body>label,.modal-body form>label{font-size:12px;color:#d2e1f5;font-weight:700;margin-top:7px}.modal-body select,.modal-body input:not([type=checkbox]){height:37px;width:100%;padding:0 12px;background:#263d58;color:#fff;border:1px solid #687e9e;border-radius:6px;margin-bottom:3px}.modal-intro{color:#c1d3e4;font-size:13px;line-height:1.6;margin:0 0 8px}.help-note{margin-top:10px;color:#b8d1e8;font-size:12px;line-height:1.5;padding:12px;background:#25425b;border:1px solid #416c87;border-radius:8px}.modal-footer{display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:12px 18px;border-top:1px solid #425a75}.form-stack{display:flex;flex-direction:column;gap:5px}.form-stack .inline-label{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:400}.form-stack .inline-label input{width:auto}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:7px}.device-detail{display:flex;align-items:center;gap:13px;background:#233952;border-radius:7px;padding:14px}.device-detail h3{margin:0 0 5px}.device-detail p{margin:0;color:#b6cfe5}.device-big-icon{width:48px;height:48px;background:#1867cf;border-radius:9px;display:grid;place-items:center}.device-big-icon .icon{width:29px;height:29px}.data-list{display:flex;flex-direction:column;gap:0}.data-list label{padding:10px 0;display:flex;align-items:center;justify-content:space-between;gap:10px;border-bottom:1px solid #344e65;color:#afc1d7;font-size:12px}.data-list strong{color:#f2f8ff;text-align:right}.stat-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.stat-cards>div{display:flex;flex-direction:column;align-items:center;background:#243c54;border:1px solid #44647b;padding:16px;border-radius:8px}.stat-cards b{font-size:30px}.stat-cards small{color:#c3d3e5}.popup-shell{height:100vh;display:flex;flex-direction:column;background:#152238}.popup-toolbar{display:flex;align-items:center;gap:9px;padding:8px 14px;height:60px;min-height:60px;background:#122137;border-bottom:1px solid #48627c}.popup-brand{display:flex;align-items:center;gap:6px;white-space:nowrap;margin-right:auto}.popup-brand>b{font-size:17px}.popup-brand>span{font-size:12px;color:#a4bbd2}.popup-toolbar .date-controls b{padding:0 9px;font-size:12px}.popup-search{width:280px;flex:1;max-width:420px}.popup-check{font-size:12px;font-weight:650;white-space:nowrap;display:flex;gap:4px;align-items:center}.popup-map{position:relative;flex:1;overflow:hidden}.popup-legend{bottom:40px;right:24px;min-width:235px}.popup-footer{height:30px;min-height:30px;display:flex;gap:7px;align-items:center;padding:0 10px;font-size:10px;background:#101e31;color:#c1d1e3}.auth-body{min-height:100vh;display:grid;place-items:center;overflow:auto;background:radial-gradient(ellipse at 20% 10%,#214a73 0,transparent 50%),#0d192a;padding:15px}.auth-card{width:min(435px,95vw);display:flex;flex-direction:column;gap:8px;padding:35px;background:#17293f;border:1px solid #506987;border-radius:16px;box-shadow:0 20px 70px #0008}.auth-card .auth-logo{font-size:35px;font-weight:900;font-style:italic;letter-spacing:-2px}.auth-card .auth-logo span{color:#8fd9ff}.auth-card h1{font-size:23px;margin:6px 0 0}.auth-card p{margin:0 0 16px;font-size:13px;color:#afc3da}.auth-card label{color:#c0d5e8;font-weight:600;margin-top:8px}.auth-card input{height:43px;background:#243b56;border:1px solid #567694;border-radius:8px;padding:0 12px;color:#fff}.auth-card button{margin-top:18px;height:43px}.auth-card small{color:#90a7bf;text-align:center;margin-top:15px}.auth-error{padding:10px 12px;background:#542936;border:1px solid #bd5b77;border-radius:7px;font-size:12px}.auth-error[hidden]{display:none}@media(max-width:1690px){.brand{width:185px}.sidebar{width:225px}.nav-link{padding:0 7px;font-size:12px;gap:5px}.header-search{max-width:210px}.top-columns{grid-template-columns:minmax(330px,1.17fr) minmax(272px,.91fr) minmax(395px,1.65fr)}.bottom-panel{grid-template-columns:210px minmax(430px,1fr) 290px}.gantt-hours,.gantt-row{grid-template-columns:125px 1fr}.tech-shift{display:none}}@media(max-width:1450px){.sidebar{width:198px;padding-inline:9px}.brand{width:148px}.brand-word{font-size:22px}.nav-link span{display:none}.nav-link{width:37px;justify-content:center}.header-search{width:205px}.top-columns{grid-template-columns:minmax(315px,1.25fr) minmax(245px,.9fr) minmax(370px,1.7fr)}.toolbar .toolbar-spacer{min-width:0}.segmented button{padding:0 7px;font-size:11px}.bottom-panel{grid-template-columns:195px minmax(400px,1fr) 260px}.tech-stat{display:none}.tech-sub{padding-top:4px}.order-cols{grid-template-columns:20px 52px minmax(75px,1fr) minmax(60px,.9fr) 42px 43px 49px}.order-customer b,.order-row>strong{font-size:10px}.order-device span,.cell-duration,.cell-date{font-size:9px}.map-expand-btn{font-size:11px;padding:7px}.top-user span{display:none}}@media(max-height:840px){.topbar{height:54px;min-height:54px}.main-content{gap:7px;padding-block:7px}.toolbar{height:36px}.bottom-panel{height:255px;min-height:255px}.order-row{min-height:50px}.tech-card{margin-bottom:5px;padding:7px}.tech-head .avatar{width:27px;height:27px}.map-tools{height:43px}.map-heading{height:41px}.team-summary{min-height:39px}}@media(max-width:1120px){body{overflow:auto}.app-shell{min-width:1050px}}
