#techNamePopup{transition:opacity .3s ease-in-out,visibility .3s ease-in-out;opacity:0;visibility:hidden}#schedulePanel{display:none;background:#f9f9f9;border-top:1px solid #ccc;padding:10px 20px;font-size:14px}#techNamePopup.active{opacity:1;visibility:visible}body{font-family:Arial,sans-serif;margin:0;padding:0}#logo{margin-right:50px}header>div:not(:first-child){margin-left:50px}header{background:linear-gradient(to right,#e8f0fe,#f4f4f4);padding:10px 20px;display:flex;flex-direction:column;flex-wrap:wrap;align-items:flex-start;gap:8px;transition:background .6s ease-in-out}#logo{height:50px;width:auto;object-fit:contain;display:block}header button,select{background:#1a73e8;color:#fff;border:none;border-radius:4px;padding:6px 10px;cursor:pointer;font-size:14px}.toolbar-row{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-bottom:14px}.toolbar-row button,.toolbar-row select,.toolbar-row #cityDropdownBtn{height:32px;padding:0 10px;box-sizing:border-box;display:inline-flex;align-items:center}.toolbar-row label{display:inline-flex;align-items:center;height:32px}.view-toggle{display:inline-flex;border:1px solid #1a73e8;border-radius:6px;overflow:hidden;margin-left:auto}.view-toggle button{background:#fff;color:#1a73e8;border:none;padding:0 12px;height:32px}#viewToggle button{color:#000}#viewToggle button.active{color:#fff}.view-toggle button.active{background:#000;color:#fff}.routing-mode-toggle{display:inline-flex;border:1px solid #34a853;border-radius:6px;overflow:hidden}.routing-mode-toggle button{background:#fff;color:#1a73e8;border:none;padding:0 12px;height:32px}.routing-mode-toggle button.active{background:#34a853;color:#fff}.settings-guidance-row{display:flex;align-items:flex-start;gap:16px;margin-top:-8px;justify-content:space-between}.settings-controls-column{display:flex;flex-direction:column;gap:10px;width:auto;flex:1;min-width:340px}.settings-buttons-row{display:flex;gap:8px;align-items:center;flex-wrap:nowrap;margin-top:-16px}.settings-buttons-row button{flex:1 1 160px;white-space:nowrap}.settings-controls-column label[for=upload]{margin-top:0}.file-actions-row{display:flex;align-items:center;gap:10px}.settings-controls-column .view-toggle{margin-left:0;margin-top:0}.sample-csv-btn{background:#34a853;color:#fff;border:none;border-radius:4px;padding:6px 10px;cursor:pointer;font-size:14px;width:auto;height:32px}#fileDropZone{margin-top:-10px}.routing-mode-label{font-size:13px;font-weight:600;color:#1f1f1f;white-space:nowrap}.routing-mode-info{display:inline-flex;align-items:center;gap:6px;position:relative;margin-left:auto}.routing-info-trigger{width:18px;height:18px;border-radius:50%;border:1px solid #9aa0a6;background:#fff;color:#5f6368;font-size:12px;line-height:16px;display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;flex-shrink:0}.routing-info-trigger:focus-visible{outline:2px solid #1a73e8;outline-offset:2px}.routing-info-popout{position:absolute;top:calc(100% + 8px);left:0;min-width:260px;max-width:320px;background:#fff;border:1px solid #dadce0;border-radius:8px;box-shadow:0 8px 20px #0000001f;padding:10px 12px;font-size:12px;line-height:1.4;color:#1f1f1f;z-index:20;display:none}.routing-info-popout.is-open{display:block}.routing-info-heading{font-weight:600;margin-bottom:4px}.routing-info-list{margin:0 0 8px 16px;padding:0}.routing-info-note{margin-top:4px}header button:hover,select:hover{opacity:.9}#map{height:80vh;width:75%;float:right}#side{width:25%;max-height:80vh;overflow-y:auto;padding:10px;border-right:1px solid #ccc;box-sizing:border-box}#content{display:flex;position:relative}.map-zoom-controls{position:absolute;top:12px;right:12px;display:flex;flex-direction:column;gap:6px;z-index:5}.map-zoom-controls button{background:#1a73e8;color:#fff;border:none;border-radius:4px;padding:6px 10px;height:32px;min-width:32px;cursor:pointer;font-size:16px;line-height:1}.map-zoom-controls button:focus{outline:none;box-shadow:none}#manageTechsBtn{text-align:center}.cluster-group{margin-bottom:15px;padding:8px;border:1px solid #ccc;border-radius:6px}.cluster-title{font-weight:700;margin-bottom:5px}#progressStatus{padding:8px 20px;font-size:14px}footer{text-align:center;padding:10px;font-size:13px;color:#555;border-top:1px solid #ccc}#versionLabel{font-weight:600;color:#333}.fade-marker{animation:fadeIn .5s ease-in}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes pulseDot{0%{transform:scale(1);opacity:1}50%{transform:scale(1.4);opacity:.6}to{transform:scale(1);opacity:1}}#modeDot{box-shadow:0 0 6px #1a73e899;transition:box-shadow .3s}#modeDot.green{box-shadow:0 0 6px #2e7d3299}#modeBanner{transition:all .4s ease-in-out;box-shadow:0 2px 5px #0000001a}#techPanel{position:absolute;bottom:15px;right:15px;z-index:999;display:none}#techLegend{background:#fff;border:1px solid #ccc;border-radius:8px;box-shadow:0 2px 6px #0000004d;font-size:13px;min-width:170px}#techLegendHeader{background:#1a73e8;color:#fff;padding:5px 8px;font-weight:700;border-top-left-radius:8px;border-top-right-radius:8px;cursor:pointer}#techLegendContent div{display:flex;align-items:center;padding:3px 6px;cursor:pointer}.colorBox{width:14px;height:14px;border:1px solid #777;border-radius:3px;margin-right:6px}.dimmed{opacity:.4}#techFilterWrapper{border-top:1px solid #ccc;padding:5px 8px 8px}#techFilter{width:100%;font-size:13px;padding:3px;border:1px solid #ccc;border-radius:4px}#toastContainer{position:fixed;right:20px;bottom:20px;display:flex;flex-direction:column;gap:10px;z-index:2000}.toast{min-width:280px;color:#fff;text-align:left;border-radius:6px;padding:10px 14px;font-size:14px;box-shadow:0 2px 6px #00000040;opacity:0;transform:translateY(20px);animation:slideIn .4s ease forwards,fadeOut .5s ease 3s forwards}.toast.success{background-color:#4caf50}.toast.warning{background-color:#ff9800}.toast.error{background-color:#f44336}@keyframes slideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeOut{to{opacity:0;transform:translateY(40px)}}#schedulePanel button{background:#1a73e8;color:#fff;border:none;border-radius:4px;padding:6px 10px;cursor:pointer;font-size:14px;transition:background .2s ease}input[type=date]{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18'><text x='0' y='14' font-size='16'>🗓️</text></svg>");background-repeat:no-repeat;background-position:right 8px center;background-size:18px 18px;padding-right:32px}input[type=date]::-webkit-calendar-picker-indicator{opacity:0;cursor:pointer}#schedulePanel button:hover{background:#3367d6}#toggleScheduleBtn{background:#9e9e9e}#toggleScheduleBtn:hover{background:#757575}#schedulePanel .button-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}#schedulePanel button{flex:1;min-width:100px;text-align:center}#cityToggles .city-btn{background:#f0f0f0;color:#333;border:1px solid #ccc;border-radius:4px;padding:4px 8px;cursor:pointer;font-size:13px}#cityToggles .city-btn.activeCity{background:#1a73e8;color:#fff;border-color:#1a73e8}#cityDropdown{position:relative}#cityDropdownBtn{background:#1a73e8;color:#fff;border:none;border-radius:4px;padding:6px 10px;cursor:pointer;font-size:14px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#cityDropdownBtn:hover{background:#3367d6}#cityDropdownList{display:none;position:absolute;top:35px;left:0;background:#fff;border:1px solid #ccc;border-radius:6px;box-shadow:0 2px 6px #0003;padding:6px 10px;z-index:1000;max-height:220px;overflow-y:auto;min-width:180px}#cityDropdownList label{display:flex;align-items:center;gap:6px;font-size:13px;color:#333;padding:4px;border-radius:4px;transition:background .2s ease}#cityDropdownList label:hover{background:#e8f0fe}#dateFilterPanel{margin-top:8px;border-radius:6px;background:#f1f3f4}#applyDateFilterBtn,#clearDateFilterBtn{min-width:120px;text-align:center;white-space:nowrap}#modeSelect{background:#34a853;color:#fff;border:none;border-radius:4px;padding:6px 10px;font-size:14px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}#modeSelect:hover{background:#2c8b45}label[for=upload]:hover{background:#757575!important}.search-mode-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}#searchInput{padding:5px 8px;font-size:14px;border-radius:4px;border:1px solid #ccc;width:180px}#searchBtn{border:none;background:none;cursor:pointer;font-size:16px}.mode-group{display:flex;align-items:center;gap:6px}#modeDot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#1a73e8}#techNamePopup{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:none;align-items:center;justify-content:center;z-index:3000}#techNamePopupInner{background:#fff;padding:18px;border-radius:10px;width:420px;max-height:70vh;overflow-y:auto;box-shadow:0 4px 12px #00000040;font-size:14px}#techNamePopupInner h3{margin-top:0;margin-bottom:10px}#techNameFields>div{margin-bottom:6px}#techNamePopupInner button{margin-right:8px;margin-top:8px}#fileDropZone{border:2px dashed #9e9e9e;border-radius:6px;padding:10px;text-align:center;font-size:13px;color:#555;background:#f9f9f9;width:200px;flex:0 0 200px;box-sizing:border-box}#fileDropZone.dragover{border-color:#1a73e8;color:#1a73e8;background:#e8f0fe}#techManagerModal{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:none;align-items:center;justify-content:center;z-index:3100;opacity:0;visibility:hidden;transition:opacity .3s ease-in-out,visibility .3s ease-in-out}#techManagerModal.active{opacity:1;visibility:visible}#techManagerInner{background:#fff;padding:18px;border-radius:10px;width:420px;max-height:70vh;overflow-y:auto;box-shadow:0 4px 12px #00000040;font-size:14px}#techManagerList>div{display:flex;align-items:center;gap:6px;margin-bottom:6px}#techManagerList input,#newTechName{flex:1;padding:5px;font-size:14px}#techManagerInner button{margin-right:8px;margin-top:8px}#authModal{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000073;display:none;align-items:center;justify-content:center;z-index:3200;opacity:0;visibility:hidden;transition:opacity .3s ease-in-out,visibility .3s ease-in-out}#authModal.active{opacity:1;visibility:visible}#authInner{background:#fff;padding:18px;border-radius:10px;width:420px;max-height:70vh;overflow-y:auto;box-shadow:0 4px 12px #00000040;font-size:14px}#authInner input{width:100%;padding:6px;margin-bottom:8px;border:1px solid #ccc;border-radius:4px;font-size:14px;box-sizing:border-box}#authInner button{margin-right:8px;margin-top:4px}#routeSummaryPanel table{width:100%;border-collapse:collapse}#routeSummaryPanel th,#routeSummaryPanel td{padding:6px 4px}#settingsModal{position:fixed;top:0;right:0;bottom:0;left:0;background:#0006;display:none;align-items:center;justify-content:center;z-index:3150;opacity:0;visibility:hidden;transition:opacity .3s ease-in-out,visibility .3s ease-in-out}#settingsModal.active{opacity:1;visibility:visible}#settingsModal input[type=checkbox]{accent-color:#1a73e8}#settingsModal button{background:#1a73e8;color:#fff;border:none;border-radius:4px;padding:6px 10px;cursor:pointer;font-size:14px}#aiGuidePanel{background:#fff;width:min(720px,94vw);max-height:86vh;display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:12px;box-shadow:0 10px 30px #0003}#aiGuideHeader{display:flex;align-items:center;justify-content:space-between;gap:12px}.ai-guide-disclaimer{font-size:12px;color:#666;margin-top:4px}#aiGuideQuick{display:flex;flex-wrap:wrap;gap:8px}.ai-guide-quick-btn{background:#f1f3f4;color:#333;border:1px solid #e0e0e0;border-radius:999px;padding:6px 12px;font-size:12px;cursor:pointer}#aiGuideMessages{flex:1;min-height:220px;max-height:42vh;overflow-y:auto;border:1px solid #e6e6e6;border-radius:10px;padding:10px;background:#fafafa;display:flex;flex-direction:column;gap:10px}.ai-guide-message{padding:8px 10px;border-radius:10px;font-size:13px;line-height:1.4;max-width:92%;white-space:pre-wrap}.ai-guide-message.user{align-self:flex-end;background:#e8f0fe;color:#1a73e8;border:1px solid #d2e3fc}.ai-guide-message.bot{align-self:flex-start;background:#fff;border:1px solid #e0e0e0;color:#222}#aiGuideInputRow{display:flex;gap:8px;align-items:center}#aiGuideInput{flex:1;padding:8px 10px;border:1px solid #d0d0d0;border-radius:8px;font-size:13px}#aiGuideInputRow button{background:#1a73e8;color:#fff;border:none;border-radius:6px;padding:8px 12px;font-size:13px;cursor:pointer}#aiGuideClearBtn{background:#f1f3f4;color:#333;border:1px solid #e0e0e0}#aiGuideStatus{font-size:12px;color:#666;min-height:16px}
