:root{--ink:#1d322b;--muted:#656e68;--green:#214f3e;--green-dark:#163c31;--lime:#c6d896;--paper:#f7f8f3;--border:#e4e8df;--soft:#edf2e8;--amber:#a97926;--red:#b74941;--shadow:0 14px 45px #18342a16;font-family:Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}a{color:var(--green)}[hidden]{display:none!important}button{color:inherit}button:focus-visible,a:focus-visible{outline:3px solid #7c8f55;outline-offset:3px}h1[tabindex="-1"]:focus{outline:0}input:focus,select:focus,textarea:focus{outline:2px solid #699258;outline-offset:1px}h1,h2,h3,p{margin:0}svg{width:20px;height:20px;display:block;flex-shrink:0}small{font-size:12px}.muted{color:var(--muted)}.eyebrow{font-size:9px;font-weight:800;letter-spacing:1.8px;color:#666d5e}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:9px;border:1px solid transparent;padding:11px 15px;font-size:12px;font-weight:700;min-height:42px}.button svg{width:17px;height:17px}.primary{background:var(--green);color:white}.primary:hover{background:#153b2e}.secondary{background:#fff;border-color:var(--border)}.secondary:hover{background:var(--soft)}.wide{width:100%}.text-button{border:0;background:none;color:var(--green);font-weight:700;font-size:11px;padding:8px}.icon-button{display:grid;place-items:center;border:0;background:transparent;border-radius:7px;width:34px;height:34px;padding:7px}.icon-button:hover{background:var(--soft)}.icon-button svg{width:17px;height:17px}.error{color:var(--red);font-size:12px;line-height:1.6}.error:empty{display:none}.app{display:flex;height:100dvh;min-height:500px;overflow:hidden}.rail{width:76px;background:var(--green-dark);display:flex;flex-direction:column;align-items:center;flex-shrink:0;padding:23px 0 20px;color:#c4d2bd;z-index:700}.rail-logo{font:800 38px Manrope,sans-serif;color:#fff;text-decoration:none;line-height:1;letter-spacing:-4px;width:44px;text-align:center}.rail-logo span{color:var(--lime)}.rail-links{display:flex;flex-direction:column;gap:13px;margin-top:55px}.rail-button{height:45px;width:45px;border:0;display:grid;place-items:center;border-radius:11px;color:#a0b7a8;background:transparent}.rail-button:hover{background:#ffffff12;color:#fff}.rail-button.active{background:var(--lime);color:#173b2d;box-shadow:0 4px 12px #0001}.rail-bottom{margin-top:auto;display:grid;gap:14px;justify-items:center}.avatar{display:grid;place-items:center;background:#55725b;color:white;width:34px;height:34px;border-radius:50%;font-size:11px;font-weight:800}.app-body{min-width:0;flex:1;display:flex;flex-direction:column}.topbar{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 29px;background:white;border-bottom:1px solid var(--border);flex-shrink:0}.wordmark{font-size:28px;letter-spacing:-1.5px;font-weight:800;display:flex;align-items:center;gap:17px}.wordmark-divider{width:1px;height:24px;background:var(--border)}.product-name{font-size:13px;letter-spacing:0;font-weight:600}.preview-label{font-size:8px;letter-spacing:1px;color:#676e60;padding:5px 8px;border:1px solid var(--border);border-radius:4px;margin-left:3px}.topbar-right{display:flex;gap:22px;align-items:center;font-size:11px;font-weight:700}.connection{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);font-weight:500}.connection i{width:5px;height:5px;border-radius:50%;background:#72955e}.workspace{display:flex;flex:1;min-height:0}.customer-sidebar{width:342px;flex-shrink:0;background:#fff;display:flex;flex-direction:column;border-right:1px solid var(--border);min-height:0}.sidebar-heading{padding:28px 24px 20px}.heading-line{display:flex;align-items:center;gap:11px;margin-top:9px}.heading-line h1{font-size:24px;letter-spacing:-.9px;font-weight:800}.count-pill{background:var(--soft);padding:5px 8px;border-radius:6px;color:var(--green);font-size:10px;font-weight:800}.sidebar-heading p{font-size:10px;color:var(--muted);margin-top:9px}.search-form{margin:0 23px}.search-field{display:flex;align-items:center;border:1px solid #8c9488;border-radius:9px;padding:0 10px;background:#fafbf8;gap:8px}.search-field>span{color:#81917d}.search-field>span svg{width:17px;height:17px}.search-field input{min-width:0;flex:1;padding:13px 0;border:0;background:none;outline:0;font-size:11px}.search-field:focus-within{outline:2px solid #699258;outline-offset:1px}.smart-search{width:100%;display:flex;align-items:center;justify-content:flex-start;gap:7px;border:0;background:none;padding:11px 2px;font-size:10px;color:var(--green);font-weight:700}.smart-search svg{width:14px;height:14px}.shortcut{margin-left:auto;color:#656e5d}.filter-control{display:flex;gap:12px;align-items:center;padding:3px 23px 14px}.filter-control .button{padding:9px 12px;font-size:11px;min-height:38px}.filter-control select{margin-left:auto;width:120px;font-size:10px;border:0;background:white;color:var(--muted);padding:8px 0}.mini-count{padding:2px 5px;background:var(--green);color:#fff;border-radius:4px;font-size:9px}.active-filters{display:flex;gap:5px;flex-wrap:wrap;padding:0 23px}.active-filters:empty{display:none}.filter-chip{border:1px solid #dfe7d7;border-radius:5px;display:flex;align-items:center;gap:5px;font-size:9px;padding:5px 7px;background:var(--soft);max-width:100%;text-align:left}.filter-chip svg{width:11px;height:11px}.search-explanation{margin:6px 23px;font-size:10px;color:var(--green);line-height:1.7;padding:8px;background:#f3f6ef;border-radius:5px}.results-heading{padding:17px 24px 11px;display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:9px;font-weight:700;border-bottom:1px solid var(--border)}.results-heading button{padding:0}.results-actions{display:flex;gap:14px}.customer-list{overflow-y:auto;flex:1;min-height:0;scrollbar-width:thin;scrollbar-color:#dde3d8 transparent}.customer-row{width:100%;padding:17px 23px;text-align:left;border:0;border-bottom:1px solid #eef0eb;display:flex;gap:12px;background:white;position:relative}.customer-row:hover,.customer-row.selected{background:#f0f5e9}.customer-row.selected:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--green)}.customer-icon{width:34px;height:37px;border:1px solid var(--border);background:#f8faf4;border-radius:8px;display:grid;place-items:center;flex-shrink:0;color:#789069}.customer-icon svg{width:17px;height:17px}.customer-row.selected .customer-icon{background:#e5edda;color:var(--green);border-color:#d2dfc5}.customer-row-copy{flex:1;min-width:0}.customer-row h3{font-size:10px;font-weight:800;line-height:1.6;white-space:normal;overflow-wrap:anywhere}.customer-row p{font-size:9px;color:var(--muted);margin-top:3px;line-height:1.5;display:flex;gap:4px;align-items:center}.customer-row p svg{width:11px;height:11px}.row-bottom{display:flex;gap:6px;align-items:center;margin-top:9px;font-size:8px;color:#656f61}.row-bottom .tag{font-size:8px;padding:3px 5px}.row-arrow{align-self:center;color:#b5bdae}.row-arrow svg{width:13px;height:13px}.tag{display:inline-flex;align-items:center;gap:4px;background:#eef2e7;color:#5c724a;border-radius:4px;padding:4px 7px;font-size:10px;line-height:1.3}.tag.amber{color:#8c6521;background:#f8f0dd}.tag.gray{color:#696d65;background:#f0f1ed}.tag.red{color:#a3554a;background:#faf0ed}.sidebar-foot{padding:15px 23px;border-top:1px solid var(--border);color:#676e5e;font-size:8px;display:flex;gap:7px;align-items:center}.sidebar-foot svg{width:12px;height:12px}.load-more-wrap{text-align:center;padding:7px;border-top:1px solid var(--border)}.main-surface{flex:1;min-width:0;display:flex;flex-direction:column;padding:28px 27px 22px;background:var(--paper);position:relative}.surface-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.surface-heading h2{font-size:23px;letter-spacing:-.9px;margin-top:7px;font-weight:700}.view-switch{display:flex;border:1px solid var(--border);padding:4px;border-radius:8px;background:white;flex-shrink:0}.view-switch button{border:0;background:transparent;border-radius:5px;color:#8a9584;padding:7px}.view-switch button.active{background:var(--soft);color:var(--green)}.view-switch svg{width:17px;height:17px}.quick-filters{display:flex;align-items:center;gap:6px;margin:23px 0 19px;flex-wrap:wrap}.quick-chip{border:1px solid var(--border);border-radius:7px;background:white;padding:9px 12px;font-size:10px;display:flex;align-items:center;gap:5px;min-height:35px;white-space:nowrap}.quick-chip.selected{background:var(--green);border-color:var(--green);color:white}.quick-chip svg{width:13px;height:13px}.quick-divider{width:1px;height:21px;background:var(--border);margin:0 3px}.map-view{flex:1;min-height:260px;position:relative;border-radius:13px;border:1px solid #dbe1d5;overflow:hidden;isolation:isolate;background:#dce8e6}.map-view #map{position:absolute;inset:0}.leaflet-container{font-family:inherit;background:#d9e5e1}.leaflet-tile-pane{filter:saturate(.6)}.leaflet-control-attribution{font-size:8px!important;background:#ffffffdf!important}.leaflet-bottom.leaflet-right{bottom:57px}.leaflet-top.leaflet-left{top:65px;left:10px}.leaflet-bar{box-shadow:0 2px 12px #23452b12!important;border:1px solid #d8e1d5!important;border-radius:8px!important;overflow:hidden}.leaflet-bar a{color:var(--green)!important}.map-banner{position:absolute;left:14px;top:14px;right:14px;display:flex;align-items:center;gap:9px;background:#ffffffef;box-shadow:0 2px 10px #233c3010;border:1px solid #e8eae1;border-radius:8px;padding:6px 10px;z-index:600;color:#6e7763;font-size:9px;line-height:1.6}.map-banner>span:first-child svg{width:15px;height:15px}.map-banner .icon-button{margin-left:auto;flex-shrink:0;width:27px;height:27px}.map-fit{position:absolute;right:16px;top:76px;z-index:600;border:1px solid #d8e1d5;background:#fff;border-radius:8px;padding:10px;box-shadow:0 3px 12px #0001}.map-fit svg{width:17px;height:17px}.map-summary{position:absolute;left:14px;right:14px;bottom:14px;z-index:600;background:#fffef7f7;border:1px solid #e2e6db;border-radius:9px;display:flex;align-items:center;gap:14px;padding:13px 15px;font-size:9px;box-shadow:0 4px 15px #1238250a}.map-summary>div,.map-summary>button{display:flex;align-items:center;gap:6px}.map-summary strong{font-size:12px}.map-summary button{border:0;background:transparent;font-size:9px;padding:0}.summary-dot{height:6px;width:6px;border-radius:50%;background:#497347}.summary-dot.amber{background:#c4964f}.summary-separator{height:16px;width:1px;background:var(--border)}.map-legend{margin-left:auto;color:#676d5e;gap:7px!important;font-size:8px}.legend-pin{width:10px;height:10px;border:1px dashed #557b44;border-radius:50%;background:#e5efda}.legend-pin.exact{background:var(--green);border-style:solid;margin-left:7px}.map-pin{background:none!important;border:0!important}.map-pin span{display:grid;place-items:center;width:30px;height:30px;border:2px dashed #fff;background:#618450;color:white;border-radius:50%;box-shadow:0 2px 8px #163c3145;font:700 11px Manrope,sans-serif}.map-pin.cluster span{width:42px;height:42px;border:5px solid #f1f5e8;background:var(--green);font-size:12px;box-shadow:0 0 0 1px #6688502a,0 3px 10px #163c3120}.map-pin.exact span{background:#163c31;border-style:solid}.map-pin.inactive span{background:#889080}.map-pin.active-pin span{box-shadow:0 0 0 7px #9eb86966;background:#163c31}.map-pin svg{width:13px;height:13px}.leaflet-popup-content{font-family:inherit;min-width:180px;margin:14px}.map-popup-title{font-weight:800;font-size:11px;margin-bottom:8px}.map-popup-sub{font-size:10px;color:var(--muted)}.map-popup-list{max-height:220px;overflow:auto}.map-popup-list button{width:100%;text-align:left;padding:10px 0;border:0;border-top:1px solid var(--border);background:white;font-size:10px;line-height:1.6;color:var(--green)}.position-editor{position:absolute;bottom:74px;left:15px;right:15px;z-index:650;background:#fff;padding:15px;border:1px solid #c8d5b9;border-radius:10px;box-shadow:var(--shadow);display:flex;gap:9px;align-items:center;flex-wrap:wrap}.position-editor>div{flex:1;min-width:180px}.position-editor strong{font-size:12px;display:block}.position-editor small{display:block;font-size:10px;color:var(--muted);margin-top:4px}.position-editor .button{font-size:10px;padding:9px 11px}.table-view,.tasks-view{overflow:auto;flex:1;min-height:0;border:1px solid var(--border);background:white;border-radius:12px}.data-table{width:100%;border-collapse:collapse;font-size:11px}.data-table th{text-align:left;color:var(--muted);background:#f6f8f2;padding:14px 16px;position:sticky;top:0;z-index:2;font-size:9px;font-weight:700;white-space:nowrap}.data-table td{padding:14px 16px;border-top:1px solid var(--border);line-height:1.6}.data-table td:first-child{font-weight:700}.data-table tbody tr{cursor:pointer}.data-table tbody tr:hover{background:#f7faf0}.data-table small{display:block;color:var(--muted);font-size:9px}.empty-state{padding:40px 24px;text-align:center;color:var(--muted);font-size:12px;line-height:1.8}.empty-state svg{margin:0 auto 15px;color:#99ac85;width:32px;height:32px}.empty-state strong{display:block;color:var(--ink);font-size:15px;margin-bottom:5px}.empty-state button{margin-top:16px}.tasks-header{padding:25px;border-bottom:1px solid var(--border);display:flex;justify-content:space-between;align-items:center}.route-actions{display:flex;flex-wrap:wrap;gap:10px;padding:18px 25px;border-bottom:1px solid var(--border)}.route-list{list-style:none;margin:0;padding:0}.route-stop{display:flex;gap:13px;padding:15px 25px;border-bottom:1px solid var(--border);align-items:center}.route-number{width:28px;height:28px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:800;flex-shrink:0}.route-stop-actions{margin-left:auto;display:flex;gap:4px;flex-shrink:0}.route-stop-actions .icon-button{font-size:14px}.rail-item{position:relative;display:grid}.rail-badge{position:absolute;top:-4px;right:-4px;min-width:17px;height:17px;border-radius:9px;background:var(--lime);color:#173b2d;font-size:9px;font-weight:800;display:grid;place-items:center;padding:0 4px;pointer-events:none}.tasks-header h3{font-size:18px}.tasks-header p{font-size:11px;color:var(--muted);margin-top:6px}.task-row{display:flex;gap:13px;padding:20px 25px;border-bottom:1px solid var(--border);align-items:center}.task-check{width:25px;height:25px;border:1px solid #c8d3bc;border-radius:50%;background:white;flex-shrink:0;display:grid;place-items:center}.task-check.done{background:var(--green);color:white}.task-check svg{width:14px;height:14px}.task-text{flex:1}.task-text strong{display:block;font-size:12px}.task-text button{display:block;border:0;background:none;text-align:left;padding:4px 0;color:var(--muted);font-size:10px}.task-date{font-size:10px}.task-date.overdue{color:var(--red)}
.drawer{position:fixed;inset:0 0 0 auto;margin:0;width:510px;max-width:100vw;height:100dvh;max-height:100dvh;border:0;background:#fbfcf8;color:var(--ink);padding:0;box-shadow:-20px 0 70px #18332520;overflow:auto}.drawer::backdrop{background:#18332924;backdrop-filter:blur(1px)}.drawer-top{display:flex;justify-content:space-between;align-items:center;padding:20px 25px 12px;background:#fff}.drawer-top .eyebrow{font-size:9px}.drawer-hero{padding:8px 28px 24px;background:white}.drawer-hero h2{font-size:22px;line-height:1.4;letter-spacing:-.7px;margin:15px 0 9px;overflow-wrap:anywhere}.drawer-hero .tag-row{display:flex;gap:6px;flex-wrap:wrap}.customer-location{display:flex;align-items:center;gap:6px;color:var(--muted);font-size:11px;line-height:1.7;margin:9px 0 18px}.customer-location svg{width:14px;height:14px}.contact-actions{display:flex;gap:8px}.contact-actions a{text-decoration:none}.contact-actions .button{flex:1;font-size:11px;padding:10px}.drawer-tabs{position:sticky;top:0;z-index:2;display:flex;border-top:1px solid var(--border);border-bottom:1px solid var(--border);background:white;padding:0 22px;overflow:auto}.drawer-tabs button{white-space:nowrap;border:0;border-bottom:2px solid transparent;background:white;font-size:11px;color:var(--muted);padding:16px 13px}.drawer-tabs button.selected{border-bottom-color:var(--green);color:var(--green);font-weight:800}.drawer-section{padding:24px 28px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;gap:10px}.section-heading h3{font-size:14px;font-weight:800}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px}.detail-item small{display:block;color:var(--muted);font-size:9px;margin-bottom:5px}.detail-item span,.detail-item a{font-size:11px;line-height:1.7;overflow-wrap:anywhere}.detail-item.full{grid-column:1/-1}.info-card{background:#fff;border:1px solid var(--border);border-radius:10px;padding:17px;margin-top:20px}.info-card h4{margin:0 0 7px;font-size:11px}.info-card p{font-size:11px;color:var(--muted);line-height:1.8}.info-card .button{margin-top:12px}.note-card,.purchase-card,.person-card{background:white;border:1px solid var(--border);border-radius:10px;padding:17px;margin-bottom:12px}.note-meta{display:flex;align-items:center;justify-content:space-between;font-size:9px;color:var(--muted);margin-bottom:10px;gap:8px}.note-meta>span{display:flex;align-items:center;gap:5px}.note-meta svg{width:11px;height:11px}.note-body{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere}.note-author{font-size:9px;color:#656f5e;margin-top:12px}.purchase-card h4,.person-card h4{font-size:13px;margin:0 0 5px}.purchase-card p,.person-card p{font-size:11px;line-height:1.8;margin-top:7px;color:var(--muted);white-space:pre-wrap}.purchase-card .supplier{font-size:10px;font-weight:700;color:var(--green)}.compact-reminder{padding:15px 0;border-bottom:1px solid var(--border);display:flex;gap:10px;align-items:center;font-size:12px}.compact-reminder div{flex:1}.compact-reminder small{display:block;color:var(--muted);margin-top:5px;font-size:10px}.drawer-empty{padding:28px 10px;text-align:center;font-size:11px;color:var(--muted);line-height:1.8}.modal{max-width:calc(100vw - 28px);width:540px;padding:0;border:0;border-radius:16px;box-shadow:0 30px 100px #18332933;color:var(--ink);background:white;max-height:90dvh;overflow:auto}.modal::backdrop{background:#163c3155;backdrop-filter:blur(3px)}.modal.large{width:710px}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:22px 25px 15px;position:sticky;top:0;background:#fff;z-index:2;border-bottom:1px solid var(--border)}.modal-header h2{font-size:18px;letter-spacing:-.4px}.modal-body{padding:23px 25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid .full{grid-column:1/-1}label{display:flex;flex-direction:column;gap:8px;font-size:11px;font-weight:700;min-width:0}label input,label select,label textarea,.form-input{width:100%;border:1px solid #8c9488;border-radius:8px;background:#fbfcf8;padding:11px 12px;min-height:43px;color:var(--ink);font-size:12px}label textarea{resize:vertical;min-height:120px;line-height:1.8;font-weight:400}label .hint{font-weight:400;font-size:10px;color:var(--muted);line-height:1.6}.form-actions{display:flex;justify-content:flex-end;gap:9px;padding-top:23px}.form-actions.spread{justify-content:space-between}.form-error{color:var(--red);font-size:11px;margin-top:14px;line-height:1.7}.form-error:empty{display:none}.modal-intro{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:18px}.voice-bar{display:flex;align-items:center;gap:10px;margin-top:12px;margin-bottom:15px}.voice-bar span{font-size:10px;color:var(--muted)}.recording{background:#b64c41!important;color:white!important;animation:pulse 1.5s infinite}.ai-label{font-size:9px;font-weight:700;background:#eff3e6;color:var(--green);padding:5px 8px;border-radius:5px;display:inline-flex;gap:5px;align-items:center}.ai-label svg{width:12px;height:12px}.draft-block{margin:13px 0;border:1px solid var(--border);padding:15px;border-radius:9px;background:#fbfcf8}.draft-block label{flex-direction:row;align-items:flex-start;gap:10px;line-height:1.7}.draft-block input[type=checkbox]{width:16px;min-height:0;height:16px;margin:3px 0;accent-color:var(--green)}.draft-block small{font-size:10px;font-weight:400;display:block;color:var(--muted)}.draft-block p{font-size:11px;margin-top:8px;line-height:1.8;white-space:pre-wrap}.uncertainties{font-size:11px;line-height:1.8;background:#fbf3e1;border-radius:7px;padding:13px;margin:12px 0;color:#87682d}.visibility-hint{font-size:10px;color:var(--muted);line-height:1.7;margin:10px 0}.brief-card ul{margin:4px 0 10px 18px;padding:0;font-size:12px;line-height:1.7}.brief-card p+p{margin-top:10px}.history-list{list-style:none;margin:0;padding:0}.history-list li{padding:13px 0;border-bottom:1px solid var(--border);font-size:12px;line-height:1.6}.history-list small{display:block;color:var(--muted);font-size:10px}.user-row{padding:13px 0;border-bottom:1px solid var(--border);font-size:11px;display:flex;justify-content:space-between;gap:12px}.user-row small{display:block;font-size:9px;color:var(--muted);margin-top:4px}.settings-section+.settings-section{border-top:1px solid var(--border);margin-top:25px;padding-top:25px}.settings-section h3{font-size:13px;margin-bottom:10px}.settings-section p{font-size:11px;line-height:1.9;color:var(--muted)}.toast{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);z-index:3000;background:var(--green-dark);color:white;padding:13px 21px;border-radius:10px;font-size:12px;box-shadow:var(--shadow);max-width:calc(100vw - 25px);line-height:1.6}.toast.error-toast{background:#9a443e}.auth-screen{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-art{background:#173c30;position:relative;color:#fff;display:flex;flex-direction:column;padding:48px 55px;overflow:hidden}.auth-brand{font-size:36px;font-weight:800;letter-spacing:-2px;display:flex;align-items:center;gap:23px}.auth-brand span{font-size:12px;letter-spacing:0;font-weight:500;opacity:.6;border-left:1px solid #ffffff30;padding-left:23px}.auth-rings{height:300px;position:relative;display:grid;place-items:center;margin:auto 0}.auth-rings i{position:absolute;border:1px solid #accb7829;width:270px;height:270px;border-radius:50%;transform:rotate(-22deg) scaleY(.76)}.auth-rings i:nth-child(2){width:390px;height:390px}.auth-rings i:nth-child(3){width:520px;height:520px}.auth-rings b{font-size:120px;letter-spacing:-12px;color:var(--lime);transform:rotate(-10deg);z-index:1}.auth-tagline small{letter-spacing:2px;color:#adc699;font-size:9px}.auth-tagline h1{font-size:38px;font-weight:600;letter-spacing:-1.5px;line-height:1.35;margin:15px 0}.auth-tagline p{color:#c2d2ba;font-size:12px;line-height:1.8}.auth-form-area{display:grid;place-items:center;padding:40px}.auth-box{width:100%;max-width:340px}.auth-box h2{font-size:30px;letter-spacing:-1px;margin:15px 0 12px}.auth-box>p{font-size:12px;line-height:1.8;margin-bottom:28px}.auth-box form{display:grid;gap:18px}.auth-foot{display:block;color:#666f5b;font-size:10px;line-height:1.8;margin-top:35px}.check-label{display:flex;flex-direction:row;align-items:center;gap:8px}.check-label input{width:16px;min-height:16px;accent-color:var(--green)}.loading{opacity:.6;pointer-events:none}@keyframes pulse{50%{opacity:.65}}@media(prefers-reduced-motion:no-preference){.drawer[open]{animation:slidein .22s ease-out}.modal[open]{animation:fadein .15s ease-out}@keyframes slidein{from{transform:translateX(30px);opacity:0}to{transform:translateX(0);opacity:1}}@keyframes fadein{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}} @media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}}
@media(min-width:1600px){.customer-sidebar{width:375px}.main-surface{padding:35px}.sidebar-heading{padding-top:35px}.customer-row{padding-top:20px;padding-bottom:20px}.customer-row h3{font-size:12px}.customer-row p{font-size:10px}.row-bottom{font-size:9px}.surface-heading h2{font-size:28px}}
@media(max-width:1150px){.rail{width:62px}.customer-sidebar{width:300px}.topbar{height:68px;padding:0 22px}.main-surface{padding:24px 18px 18px}.surface-heading h2{font-size:20px}.connection,.preview-label{display:none}.quick-filters{gap:5px}.quick-chip{font-size:9px;padding:8px 10px}.map-legend{display:none!important}.sidebar-heading{padding:23px 20px 19px}.search-form{margin:0 19px}.filter-control{padding-left:19px;padding-right:19px}.customer-row{padding:15px 19px}.sidebar-foot{font-size:9px}.surface-heading .eyebrow{font-size:8px}}
@media(max-width:800px){.app{padding-bottom:58px}.rail{position:fixed;bottom:0;left:0;right:0;width:auto;height:58px;flex-direction:row;padding:6px 17px;justify-content:space-around}.rail-logo,.rail-bottom .avatar,.rail-bottom #logout-btn{display:none}.rail-links{flex-direction:row;margin:0;gap:40px}.rail-bottom{margin:0;display:block}.rail-button{width:43px;height:42px}.topbar{height:59px;padding:0 18px}.wordmark{font-size:23px;gap:12px}.product-name{font-size:11px}.topbar-right{font-size:10px}.workspace{position:relative}.customer-sidebar{width:100%;display:none}.workspace.mobile-list .customer-sidebar{display:flex}.workspace.mobile-list .main-surface{display:none}.main-surface{padding:20px 14px 14px}.surface-heading h2{font-size:20px}.surface-heading .eyebrow{font-size:8px}.quick-filters{flex-wrap:nowrap;overflow:auto;margin:17px -14px 15px;padding:0 14px;scrollbar-width:none}.quick-chip{font-size:10px;min-height:38px}.quick-divider{flex-shrink:0}.map-view{border-radius:10px}.map-banner{font-size:8px;line-height:1.7;left:8px;right:8px;top:8px;padding:5px 7px}.map-banner>span:nth-child(2){max-width:90%}.map-summary{left:8px;right:8px;bottom:8px;padding:11px 10px;gap:10px;font-size:9px}.map-summary strong{font-size:11px}.map-summary button{font-size:9px}.leaflet-bottom.leaflet-right{bottom:49px}.map-fit{right:10px;top:85px}.leaflet-top.leaflet-left{top:73px;left:3px}.drawer{width:100%}.drawer-hero h2{font-size:22px}.modal{max-height:92dvh;border-radius:12px}.modal-header{padding:17px 20px}.modal-body{padding:20px}.form-grid{gap:15px}.position-editor{bottom:60px;padding:12px;gap:7px}.position-editor>div{width:100%;flex-basis:100%}.position-editor .button{flex:1;font-size:9px}.auth-screen{grid-template-columns:1fr}.auth-art{display:none}.auth-form-area{min-height:100dvh;padding:30px}.auth-box{max-width:380px}.customer-sidebar .customer-list{flex:1}.customer-row{padding:17px 21px}.customer-row h3{font-size:12px}.customer-row p{font-size:10px}.row-bottom{font-size:9px}.sidebar-heading{padding:22px 21px 17px}.sidebar-heading p{font-size:11px}.search-field input{font-size:12px}.results-heading{font-size:10px}.sidebar-foot{display:none}.surface-heading .view-switch{display:flex}.tasks-header{padding:20px}.tasks-header h3{font-size:16px}.task-row{padding:17px 18px}.topbar-right #user-name{max-width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}}

.location-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.map-empty-state{position:absolute;top:42%;left:12%;right:12%;padding:24px;background:#ffffffef;color:#51664c;border:1px solid #d6dfcf;border-radius:12px;box-shadow:var(--shadow);z-index:590;font-size:12px;line-height:1.8;text-align:center;pointer-events:none}.map-pin.street span{background:#426989;border-style:solid}.tag.blue{color:#426989;background:#edf3f8}

.legend-pin.street{background:#426989;border-color:#426989;border-style:solid;margin-left:7px}

.position-drag-pin{cursor:grab!important;touch-action:none}.position-drag-pin span{width:44px;height:44px;border:3px solid white;box-shadow:0 0 0 7px #9eb86966,0 3px 12px #163c3155}.position-drag-pin svg{width:19px;height:19px;pointer-events:none}.leaflet-dragging .position-drag-pin{cursor:grabbing!important}

/* Entry correction is available both before and after saving. */
.entry-edit{display:inline-flex;align-items:center;justify-content:center;gap:5px;white-space:nowrap;min-height:34px;flex-shrink:0}
.entry-edit svg{width:14px;height:14px}
.note-meta{flex-wrap:wrap;gap:8px}
.note-meta .entry-edit{margin-left:auto}
.note-meta .entry-edit+.icon-button{margin-left:0}
.draft-selection{font-size:11px;letter-spacing:.4px;margin-bottom:16px}
.draft-fields{border:0;padding:0;margin:0;min-width:0}
.draft-block .draft-fields label{flex-direction:column;align-items:stretch;gap:7px;line-height:1.5}
.draft-block .draft-fields .check-label{flex-direction:row;align-items:center}
.draft-fields:disabled{opacity:.5}
.draft-block input,.draft-block select,.draft-block textarea{background:#fff}
.draft-block .draft-selection input{flex-shrink:0}
.location-review-hint{color:#8c6521;font-weight:600}
#customer-form .form-grid{row-gap:18px}
.task-row .entry-edit{margin-left:5px}
@media(max-width:540px){
 #customer-form .form-grid,.draft-fields{grid-template-columns:1fr}
 .form-actions{flex-wrap:wrap}
 .form-actions .button{flex:1}
 .compact-reminder{flex-wrap:wrap}
 .compact-reminder .entry-edit{margin-left:32px}
 .task-row{flex-wrap:wrap}
 .task-row .entry-edit{margin-left:32px}
 .note-meta .entry-edit{font-size:10px;padding:5px}
}

/* Private note drafts and explicit recovery/conflict decisions. */
.draft-status-panel{padding:14px 16px;margin:0 0 20px;border:1px solid #cbd9c7;border-radius:12px;background:#f0f5eb;color:#284333;font-size:12px;line-height:1.65}
.draft-status-panel p{margin:0}.draft-status-panel[data-status=conflict],.draft-status-panel[data-status=offline],.draft-status-panel[data-status=error]{background:#fff8e9;border-color:#d6b875;color:#624611}
.draft-status-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.draft-status-actions:empty{display:none}.draft-status-actions .button{font-size:11px;min-height:40px;padding:9px 12px}.draft-delete-hint{flex-basis:100%}
.draft-status-details details{margin-top:10px}.draft-status-details summary{cursor:pointer;font-weight:600;padding:4px 0}.draft-status-details textarea{display:block;width:100%;margin-top:8px;resize:vertical;font-size:12px;min-height:100px}.draft-status-panel+form[inert]{opacity:.45}
@media(max-width:540px){.draft-status-actions .button{flex:1 1 140px}.draft-status-panel{padding:12px}.draft-status-panel+form .form-actions .button{min-height:44px}}

.legend-pin.here{background:#2a6fdb;border-color:#fff}
@media(max-width:800px){#near-chip{order:-1}}
.today-section{border-bottom:1px solid var(--border)}.today-section:last-child{border-bottom:0}.today-section>.section-heading{padding:20px 25px 6px;margin-bottom:0}.today-section>.section-heading h3{display:flex;align-items:center;gap:8px}.today-section .route-stop:last-child,.today-section .task-row:last-child{border-bottom:0}.today-section .route-stop .task-text button{border:0;background:none;text-align:left;padding:0;font:inherit;color:var(--ink)}.today-section .route-stop .task-text small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.today-mark{width:25px;height:25px;border-radius:50%;background:#eef2e7;color:var(--green);display:grid;place-items:center;flex-shrink:0}.today-mark svg{width:14px;height:14px}.task-date.today{color:var(--green);font-weight:700}
@media(max-width:800px){.rail-links{gap:22px}.today-section>.section-heading{padding:16px 18px 4px}}

/* Google base map: its logo bottom left, unaltered and clear of the summary bar, like the attribution box; the tiles are shown as Google renders them. */
.leaflet-bottom.leaflet-left{bottom:57px}
.google-logo{background:#ffffffdf;border-radius:5px;padding:5px 10px;line-height:0;box-shadow:0 1px 4px #0000001a;margin-bottom:0!important}
.google-logo img{height:18px;width:auto;display:block}
.google-logo span{display:block;font:600 11px/18px Manrope,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#5f6368;white-space:nowrap}
#map.google-base .leaflet-tile-pane{filter:none}
#map.google-base~.position-editor{bottom:88px}
@media(max-width:800px){.leaflet-bottom.leaflet-left{bottom:49px}#map.google-base~.position-editor{bottom:78px}}
