@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap";
:root{--ink:#182230;--muted:#7b8797;--line:#e8edf2;--primary:#2563eb;--surface:#fff;--bg:#f5f7fb}*{box-sizing:border-box}html,body{min-height:100%;color:var(--ink);background:var(--bg);margin:0;font-family:DM Sans,Arial,sans-serif}button,input,select{font:inherit}button{cursor:pointer}.login-page{background:#fff;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);min-height:100vh;display:grid}.login-visual{color:#fff;background:linear-gradient(145deg,#102b55,#174b88 58%,#2563eb);min-height:100vh;padding:42px 7%;position:relative;overflow:hidden}.visual-brand,.mobile-login-brand{align-items:center;gap:9px;font-size:20px;font-weight:800;display:flex}.visual-brand>span:last-child,.mobile-login-brand>span:last-child{color:#9fc4ff}.brand-symbol{background:#ffffff20;border-radius:12px;place-items:center;width:38px;height:38px;display:grid}.visual-copy{z-index:2;max-width:520px;margin-top:clamp(70px,13vh,150px);position:relative}.eyebrow{letter-spacing:1.8px;color:#6884a8;font-size:11px;font-weight:800}.eyebrow.light{color:#b8d5ff}.visual-copy h1{letter-spacing:-2px;margin:18px 0;font-size:clamp(42px,5vw,68px);line-height:1.07}.visual-copy p{color:#d2e2f8;max-width:430px;font-size:16px;line-height:1.8}.visual-stats{gap:50px;margin-top:42px;display:flex}.visual-stats div{gap:5px;display:grid}.visual-stats strong{font-size:22px}.visual-stats small{color:#c1d7f3}.visual-map{background:linear-gradient(135deg,#ffffff10,#ffffff05);border:1px solid #ffffff25;border-radius:30px;width:68%;height:34%;min-height:220px;position:absolute;bottom:8%;right:-8%;overflow:hidden;transform:rotate(-8deg)}.visual-map:before,.visual-map:after{content:"";background:#ffffff15;position:absolute}.visual-map:before{width:120%;height:18px;top:43%;left:-10%;transform:rotate(25deg)}.visual-map:after{width:15px;height:130%;top:-15%;left:53%;transform:rotate(28deg)}.map-road{background:#ffffff24;border:1px solid #ffffff20;width:120%;height:9px;position:absolute;transform:rotate(-28deg)}.road-one{top:25%;left:-10%}.road-two{top:70%;left:-10%;transform:rotate(18deg)}.road-three{top:50%;left:-10%;transform:rotate(65deg)}.road-four{top:10%;left:-10%;transform:rotate(78deg)}.pin{z-index:2;background:#3b82f6;border:3px solid #fff;border-radius:50% 50% 50% 8px;place-items:center;width:38px;height:38px;font-size:10px;font-weight:800;display:grid;position:absolute;transform:rotate(-45deg)}.pin-one{top:28%;left:25%}.pin-two{background:#16a36a;top:54%;left:65%}.pin-three{background:#8b5cf6;top:72%;left:43%}.pin:after{content:""}.map-caption{letter-spacing:2px;color:#c9dcf5;font-size:9px;position:absolute;bottom:15px;left:20px}.visual-footer{color:#b7cce8;position:absolute;bottom:28px;left:7%}.login-side{place-items:center;padding:42px 7%;display:grid}.login-card{width:min(100%,420px)}.mobile-login-brand{color:var(--ink);margin-bottom:45px;display:none}.login-heading{margin-bottom:32px}.login-heading h2{letter-spacing:-.8px;margin:12px 0 8px;font-size:30px}.login-heading p,.login-help{color:var(--muted);font-size:14px}.login-card form{gap:10px;display:grid}.login-card label{font-size:13px;font-weight:700}.field-wrap{color:#8a97a8;border:1px solid #dce3ec;border-radius:10px;align-items:center;gap:11px;height:52px;margin-bottom:14px;padding:0 14px;display:flex}.field-wrap:focus-within{border-color:#6b9df7;box-shadow:0 0 0 3px #2563eb12}.field-wrap input{min-width:0;color:var(--ink);background:0 0;border:0;outline:0;flex:1}.field-wrap input::placeholder{color:#a2adba}.label-row{justify-content:space-between;align-items:center;display:flex}.label-row a{color:var(--primary);font-size:12px;font-weight:700;text-decoration:none}.password-toggle{color:#8290a2;background:0 0;border:0;padding:4px}.remember-row{color:#64748b;align-items:center;gap:9px;margin:0 0 12px;display:flex;font-weight:500!important}.remember-row input{accent-color:var(--primary)}.login-submit{background:var(--primary);color:#fff;border:0;border-radius:10px;justify-content:center;align-items:center;gap:12px;height:52px;font-weight:700;display:flex;box-shadow:0 8px 18px #2563eb30}.login-submit:disabled{opacity:.65;cursor:wait}.form-error{color:#be123c;background:#fff1f2;border-radius:8px;padding:11px 13px;font-size:13px;line-height:1.5}.login-help{text-align:center;margin-top:26px;font-size:12px}.app-shell{min-height:100vh}.sidebar{border-right:1px solid var(--line);z-index:30;background:#fff;flex-direction:column;width:258px;padding:24px 16px;display:flex;position:fixed;inset:0 auto 0 0}.brand{align-items:center;gap:10px;height:48px;padding:0 10px 20px;font-size:19px;font-weight:800;display:flex}.brand-dark{color:#2563eb}.brand-mark{color:#2563eb;background:#eaf1ff;border-radius:10px;place-items:center;width:34px;height:34px;display:grid;position:relative}.sidebar nav{padding-top:12px;overflow:auto}.nav-group{margin-bottom:23px}.nav-caption{letter-spacing:1.3px;color:#9aa5b3;padding:0 12px 9px;font-size:10px;font-weight:800}.nav-link{color:#697789;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:12px;width:100%;height:42px;margin:2px 0;padding:0 12px;font-size:13px;display:flex}.nav-link:hover,.nav-link.active{color:#2563eb;background:#edf3ff;font-weight:700}.sidebar-bottom{margin-top:auto}.support-link{color:#758194;background:0 0;border:0;gap:10px;padding:12px;font-size:13px;display:flex}.profile{border:0;border-top:1px solid var(--line);text-align:left;background:0 0;align-items:center;gap:10px;width:100%;padding:16px 6px 0;display:flex}.profile-avatar{color:#1d4ed8;background:#dbeafe;border-radius:50%;place-items:center;width:34px;height:34px;font-weight:800;display:grid}.profile-name{flex:1;font-size:12px;font-weight:700}.profile-name small{color:#929eac;margin-top:3px;font-size:10px;display:block}.main-area{min-width:0;margin-left:258px}.page-content{max-width:1800px;margin:auto;padding:34px 36px}.topbar{justify-content:space-between;align-items:center;gap:20px;margin-bottom:27px;display:flex}.topbar h1{margin:6px 0;font-size:27px}.topbar p{color:var(--muted);margin:0;font-size:13px}.top-actions{flex-wrap:wrap;gap:9px;display:flex}.primary-button,.secondary-button,.logout-button{border-radius:8px;align-items:center;gap:8px;height:40px;padding:0 14px;font-size:12px;font-weight:700;display:flex}.primary-button{background:var(--primary);color:#fff;border:1px solid var(--primary)}.secondary-button,.logout-button{border:1px solid var(--line);color:#536174;background:#fff}.stats-grid{grid-template-columns:repeat(4,minmax(130px,1fr)) minmax(220px,1.5fr);gap:13px;margin-bottom:22px;display:grid}.stat-card,.refresh-card,.team-panel{border:1px solid var(--line);background:#fff;border-radius:12px}.stat-card{gap:12px;min-width:0;padding:17px;display:flex}.stat-icon{border-radius:10px;flex:none;place-items:center;width:38px;height:38px;display:grid}.mint{color:#15965b;background:#e5f8ef}.amber{color:#c58b16;background:#fff5dc}.rose{color:#d94b57;background:#fff0f0}.violet{color:#7354d5;background:#f0edff}.stat-content{gap:4px;min-width:0;display:grid}.stat-label{color:#7c8998;font-size:11px}.stat-content strong{font-size:24px}.stat-change,.stat-note{color:#16a36a;align-items:center;gap:4px;font-size:10px;display:flex}.stat-change em{color:#9aa5b3;font-style:normal}.stat-note{color:#929eac}.refresh-card{flex-direction:column;justify-content:center;gap:14px;padding:14px;display:flex}.refresh-head{justify-content:space-between;font-size:12px;font-weight:700;display:flex}.live-pill{color:#16a36a;background:#e8f8ef;border-radius:20px;padding:4px 7px;font-size:9px}.live-pill i,.online-dot{background:#16a36a;border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block}.refresh-toggle-row{color:#748194;background:0 0;border:0;justify-content:space-between;align-items:center;padding:0;font-size:10px;display:flex}.offline-dot{background:#aab3bf;border-radius:50%;width:7px;height:7px;margin-right:5px;display:inline-block}.toggle{background:#d5dce5;border-radius:20px;width:30px;height:17px;padding:2px}.toggle i{background:#fff;border-radius:50%;width:13px;height:13px;transition:transform .2s;display:block}.toggle.on{background:#2563eb}.toggle.on i{transform:translate(13px)}.updated-text{color:#9aa5b3;font-size:9px}.tracking-layout{grid-template-columns:minmax(0,1fr) 310px;align-items:stretch;gap:16px;display:grid}.map-section{min-width:0}.map-toolbar{gap:9px;margin-bottom:12px;display:flex}.map-toolbar select,.search-input{border:1px solid var(--line);color:#657386;background:#fff;border-radius:8px;min-width:0;height:40px;padding:0 12px;font-size:11px}.search-input{flex:1}.map-canvas{background:#eaf0e9;border:1px solid #e2e9e7;border-radius:12px;height:520px;min-height:390px;position:relative;overflow:hidden}.map-water{filter:blur(1px);background:#c9e4e6;border-radius:50%;position:absolute}.water-one{width:42%;height:18%;top:12%;left:-8%;transform:rotate(25deg)}.water-two{width:35%;height:15%;bottom:10%;right:-8%;transform:rotate(-20deg)}.park{background:#d4e8d0;border-radius:35%;position:absolute}.park-one{width:24%;height:20%;top:62%;left:14%}.park-two{width:20%;height:25%;top:10%;right:15%}.park-three{width:17%;height:16%;bottom:10%;left:56%}.map-grid{background-image:linear-gradient(#fff8 1px,#0000 1px),linear-gradient(90deg,#fff8 1px,#0000 1px);background-size:48px 48px;position:absolute;inset:0}.road{background:#fff;border:1px solid #dce3d8;width:120%;height:13px;position:absolute;left:-10%;transform:rotate(-18deg)}.road-a{top:27%}.road-b{top:62%;transform:rotate(12deg)}.road-c{top:44%;transform:rotate(68deg)}.road-d{top:48%;transform:rotate(-63deg)}.road-e{top:82%;transform:rotate(-7deg)}.map-label{color:#91a58f;letter-spacing:1px;font-size:9px;font-weight:800;position:absolute}.label-river{top:8%;left:40%}.label-north{top:18%;right:18%}.label-west{top:39%;left:8%}.label-south{bottom:14%;right:20%}.route-lines{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.route-lines polyline{fill:none;stroke-width:5px;stroke-linecap:round;stroke-linejoin:round;opacity:.75}.route-blue{stroke:#3b82f6}.route-green{stroke:#16a36a}.route-purple{stroke:#8b5cf6}.map-marker{z-index:3;color:#fff;border:3px solid #fff;border-radius:50% 50% 50% 8px;width:38px;height:38px;font-size:10px;font-weight:800;position:absolute;transform:translate(-50%,-50%)rotate(-45deg);box-shadow:0 3px 10px #1e293b30}.map-marker span{display:block;transform:rotate(45deg)}.marker-blue{background:#3b82f6}.marker-green{background:#16a36a}.marker-purple{background:#8b5cf6}.marker-orange{background:#f97316}.marker-yellow{background:#ca8a04}.marker-pink{background:#db2777}.marker-gray{background:#64748b}.marker-selected{z-index:4;outline:4px solid #2563eb35}.map-live-chip,.view-routes,.map-controls{z-index:5;position:absolute}.map-live-chip{background:#fff;border-radius:8px;padding:8px 11px;font-size:10px;top:13px;left:13px;box-shadow:0 2px 8px #00000010}.map-controls{gap:5px;display:grid;top:13px;right:13px}.map-controls button{color:#566579;background:#fff;border:0;border-radius:7px;width:32px;height:32px}.view-routes{background:#fff;border:0;border-radius:8px;align-items:center;gap:7px;padding:9px 12px;font-size:10px;font-weight:700;display:flex;bottom:36px;right:14px}.map-attribution{color:#788879;font-size:9px;position:absolute;bottom:9px;left:12px}.team-panel{flex-direction:column;min-width:0;padding:17px;display:flex}.team-heading{margin-bottom:12px}.team-heading h2{margin:0 0 5px;font-size:15px}.team-heading h2 span{color:#8a97a8;font-weight:500}.team-heading p{color:#8a97a8;margin:0;font-size:10px}.team-list{max-height:470px;overflow:auto}.team-member{text-align:left;background:#fff;border:0;border-bottom:1px solid #f0f2f5;align-items:center;gap:9px;width:100%;min-width:0;padding:11px 5px;display:flex}.team-member.member-selected{background:#f4f7ff}.member-avatar{border-radius:50%;flex:none;place-items:center;width:34px;height:34px;font-size:10px;font-weight:800;display:grid}.avatar-blue{color:#2563eb;background:#dbeafe}.avatar-green{color:#15803d;background:#dcfce7}.avatar-purple{color:#7c3aed;background:#ede9fe}.avatar-orange{color:#c2410c;background:#ffedd5}.avatar-yellow{color:#a16207;background:#fef9c3}.avatar-pink{color:#be185d;background:#fce7f3}.avatar-gray{color:#475569;background:#e2e8f0}.member-info{flex:1;gap:4px;min-width:0;display:grid}.member-info strong{white-space:nowrap;text-overflow:ellipsis;font-size:10px;overflow:hidden}.member-info small,.member-meta small{color:#8a97a8;font-size:9px}.member-meta{flex:none;justify-items:end;gap:4px;display:grid}.member-meta b{border-radius:10px;padding:3px 5px;font-size:8px}.status-working{color:#16834f;background:#e8f8ef}.status-on-break{color:#b7791f;background:#fff5dc}.status-offline{color:#64748b;background:#eef1f5}.empty-state{text-align:center;color:#8793a2;padding:30px 8px;font-size:12px}.summary-bar{border:1px solid var(--line);background:#fff;border-radius:10px;flex-wrap:wrap;gap:30px;margin-top:16px;padding:14px 18px;display:flex}.summary-bar>div{color:#7c8998;align-items:center;gap:8px;font-size:11px;display:flex}.summary-bar strong{color:var(--ink);margin-left:4px}.legend-dot{border-radius:50%;width:8px;height:8px}.green-dot{background:#16a36a}.yellow-dot{background:#eab308}.gray-dot{background:#94a3b8}.footer-note{text-align:center;color:#a0aab7;padding:24px;font-size:10px}.mobile-header,.close-menu,.mobile-scrim{display:none}@media (max-width:1250px){.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tracking-layout{grid-template-columns:minmax(0,1fr) 280px}.page-content{padding:26px 22px}}@media (max-width:900px){.sidebar{transition:transform .25s;transform:translate(-105%);box-shadow:10px 0 35px #0f172a15}.sidebar.sidebar-open{transform:translate(0)}.mobile-scrim{z-index:25;background:#0f172a70;border:0;display:block;position:fixed;inset:0}.close-menu{color:#64748b;background:0 0;border:0;margin-left:auto;display:block}.main-area{margin-left:0}.mobile-header{border-bottom:1px solid var(--line);z-index:20;background:#fff;justify-content:space-between;align-items:center;height:58px;padding:0 16px;display:flex;position:sticky;top:0}.mobile-brand{font-weight:800}.mobile-brand span{color:var(--primary)}.icon-button{color:#59677a;background:0 0;border:0;padding:7px}.topbar{align-items:flex-start}.login-page{grid-template-columns:1fr}.login-visual{display:none}.login-side{min-height:100vh}.mobile-login-brand{display:flex}}@media (max-width:650px){.page-content{padding:21px 14px}.topbar{gap:16px;display:grid}.topbar h1{font-size:23px}.top-actions{width:100%}.top-actions button{flex:1;justify-content:center;padding:0 8px}.logout-button span{display:none}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.stat-card{gap:8px;padding:12px}.stat-icon{width:32px;height:32px}.stat-content strong{font-size:21px}.stat-change em{display:none}.refresh-card{grid-column:1/-1}.tracking-layout{grid-template-columns:1fr}.map-toolbar{grid-template-columns:1fr 1fr;display:grid}.map-toolbar select{width:100%}.search-input{grid-column:1/-1;width:100%}.map-canvas{height:390px;min-height:330px}.team-panel{padding:14px}.team-list{max-height:none}.team-member{padding:12px 5px}.summary-bar{gap:13px;padding:13px}.summary-bar>div{min-width:calc(50% - 10px)}.login-side{padding:28px 22px}.login-card{width:100%}.mobile-login-brand{margin-bottom:38px}.login-heading h2{font-size:26px}}@media (max-width:380px){.stats-grid{grid-template-columns:1fr}.refresh-card{grid-column:auto}.top-actions{gap:6px}.primary-button,.secondary-button,.logout-button{font-size:10px}.map-canvas{height:330px}}.teams-page{width:100%;min-width:0}.teams-header{justify-content:space-between;align-items:center;gap:16px;margin-bottom:25px;display:flex}.teams-header h1{margin:7px 0;font-size:26px}.teams-header p{color:#7b8797;margin:0;font-size:13px}.teams-header .primary-button{white-space:nowrap;min-height:42px}.teams-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:22px;display:grid}.teams-stat-card{color:#2563eb;background:#fff;border:1px solid #e8edf2;border-radius:12px;align-items:center;gap:15px;padding:20px;display:flex}.teams-stat-card div{gap:5px;display:grid}.teams-stat-card small{color:#7b8797;font-size:12px}.teams-stat-card strong{color:#182230;font-size:23px}.teams-toolbar{gap:12px;margin-bottom:18px;display:flex}.teams-search{color:#8995a5;background:#fff;border:1px solid #e8edf2;border-radius:9px;flex:1;align-items:center;gap:10px;min-width:0;height:43px;padding:0 13px;display:flex}.teams-search input{color:#182230;background:0 0;border:none;outline:none;width:100%;min-width:0;font-size:12px}.teams-toolbar select{color:#64748b;background:#fff;border:1px solid #e8edf2;border-radius:9px;min-width:145px;height:43px;padding:0 12px;font-size:12px}.salesman-table-wrapper{background:#fff;border:1px solid #e8edf2;border-radius:12px;overflow:hidden}.table-heading{border-bottom:1px solid #edf0f4;padding:19px 20px}.table-heading h2{margin:0 0 5px;font-size:16px}.table-heading p{color:#8995a5;margin:0;font-size:11px}.table-responsive{-webkit-overflow-scrolling:touch;width:100%;overflow-x:auto}.salesman-table{border-collapse:collapse;text-align:left;width:100%;min-width:720px}.salesman-table th{color:#7b8797;text-transform:uppercase;letter-spacing:.5px;white-space:nowrap;background:#f8fafc;padding:15px;font-size:10px}.salesman-table td{color:#536174;white-space:nowrap;border-top:1px solid #f0f2f5;padding:15px;font-size:12px}.salesman-table tbody tr:hover{background:#fafcff}.salesman-info{align-items:center;gap:10px;display:flex}.salesman-avatar{color:#2563eb;background:#eaf1ff;border-radius:50%;flex-shrink:0;place-items:center;width:36px;height:36px;font-weight:800;display:grid}.salesman-info div:last-child{gap:4px;display:grid}.salesman-info strong{color:#182230;font-size:12px}.salesman-info small{color:#94a3b8;font-size:10px}.table-phone{align-items:center;gap:6px;display:flex}.team-badge{color:#2563eb;background:#edf3ff;border-radius:20px;padding:5px 9px;font-size:10px}.salesman-status{border-radius:20px;padding:5px 9px;font-size:10px;font-weight:700}.status-active{color:#16834f;background:#e8f8ef}.status-leave{color:#b7791f;background:#fff5dc}.table-actions{gap:7px;display:flex}.table-actions button{border:none;border-radius:7px;place-items:center;width:31px;height:31px;display:grid}.edit-action{color:#2563eb;background:#edf3ff}.delete-action{color:#dc3545;background:#fff0f0}.salesman-modal-overlay{z-index:100;background:#0f172a8c;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0;overflow-y:auto}.salesman-modal{background:#fff;border-radius:14px;width:100%;max-width:650px;max-height:calc(100dvh - 32px);padding:24px;overflow-y:auto;box-shadow:0 20px 60px #0002}.modal-header{justify-content:space-between;align-items:flex-start;margin-bottom:24px;display:flex}.modal-header h2{margin:0 0 6px;font-size:20px}.modal-header p{color:#8995a5;margin:0;font-size:12px}.modal-header button{background:#f1f5f9;border:0;border-radius:8px;width:34px;height:34px}.salesman-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;display:grid}.form-group{flex-direction:column;gap:8px;min-width:0;display:flex}.form-group label{font-size:12px;font-weight:700}.form-group input,.form-group select{background:#fff;border:1px solid #e0e6ee;border-radius:8px;outline:none;width:100%;min-width:0;height:43px;padding:0 12px;font-size:12px}.form-group input:focus,.form-group select:focus{border-color:#2563eb}.modal-footer{border-top:1px solid #edf0f4;justify-content:flex-end;gap:10px;margin-top:25px;padding-top:18px;display:flex}@media (max-width:768px){.teams-header{flex-direction:column;align-items:flex-start}.teams-header .primary-button{justify-content:center;width:100%}.teams-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.teams-stat-card{padding:14px}.teams-toolbar{flex-direction:column}.teams-toolbar select{width:100%}.salesman-form-grid{grid-template-columns:1fr}.salesman-modal{padding:18px}}@media (max-width:420px){.teams-header h1{font-size:22px}.teams-stats{grid-template-columns:1fr 1fr}.teams-stat-card{gap:9px;padding:12px}.teams-stat-card svg{width:18px}.teams-stat-card strong{font-size:19px}.teams-stat-card small{font-size:10px}.modal-footer{flex-direction:column-reverse}.modal-footer button{justify-content:center;width:100%}}.salesman-app{--sm-ink:#17243a;--sm-muted:#758198;--sm-line:#e8edf4;--sm-blue:#315efb;min-height:100vh;color:var(--sm-ink);background:#f5f7fb;padding:0 0 94px;font-family:inherit}.sm-topbar{border-bottom:1px solid var(--sm-line);z-index:20;background:#fff;justify-content:space-between;align-items:center;height:66px;padding:0 max(18px,50vw - 540px);display:flex;position:sticky;top:0}.sm-brand{letter-spacing:-.5px;align-items:center;gap:10px;font-size:17px;font-weight:850;display:flex}.sm-brand>span:last-child>span{color:var(--sm-blue)}.sm-brand-icon{width:36px;height:36px;color:var(--sm-blue);background:#eaf0ff;border-radius:12px;place-items:center;display:grid}.sm-icon-btn{border:1px solid var(--sm-line);color:#56647b;background:#fff;border-radius:13px;place-items:center;width:40px;height:40px;display:grid;position:relative}.sm-icon-btn i{background:#ff765f;border:1px solid #fff;border-radius:50%;width:7px;height:7px;position:absolute;top:7px;right:8px}.sm-welcome{justify-content:space-between;align-items:flex-end;gap:14px;max-width:1080px;margin:0 auto;padding:27px 22px 18px;display:flex}.sm-eyebrow,.sm-kicker{letter-spacing:1.3px;color:#8a96aa;font-size:10px;font-weight:850}.sm-welcome h1{letter-spacing:-.8px;margin:7px 0 5px;font-size:25px}.sm-welcome p{color:var(--sm-muted);margin:0;font-size:13px}.sm-date{color:#61708a;border:1px solid var(--sm-line);white-space:nowrap;background:#fff;border-radius:12px;align-items:center;gap:7px;padding:10px 13px;font-size:12px;display:flex}.sm-alert{color:#18794e;background:#effcf5;border:1px solid #bcebd2;border-radius:13px;align-items:center;gap:9px;max-width:1036px;margin:0 auto 14px;padding:12px 15px;font-size:12px;display:flex}.sm-alert span{flex:1}.sm-alert button{color:inherit;background:0 0;border:0}.sm-attendance-card{color:#fff;background:linear-gradient(120deg,#172e65,#315efb);border-radius:20px;max-width:1036px;margin:0 auto 17px;padding:22px 24px;box-shadow:0 12px 28px #315efb22}.sm-attendance-head{justify-content:space-between;align-items:center;gap:12px;display:flex}.sm-muted-light{letter-spacing:1.3px;color:#c2d0ff;font-size:10px;font-weight:800}.sm-attendance-card h2{letter-spacing:-.5px;margin:7px 0 0;font-size:21px}.sm-attendance-card p{color:#d8e1ff;margin:9px 0 17px;font-size:12px}.sm-duty-pill{letter-spacing:.6px;color:#e8edff;white-space:nowrap;background:#ffffff20;border-radius:30px;align-items:center;gap:6px;padding:7px 9px;font-size:9px;font-weight:850;display:inline-flex}.sm-duty-pill i{background:#ffbd63;border-radius:50%;width:6px;height:6px}.sm-duty-pill.is-in{color:#16794d;background:#d9ffed}.sm-duty-pill.is-in i{background:#1da96a}.sm-punch-btn{color:#2148c6;cursor:pointer;background:#fff;border:0;border-radius:12px;align-items:center;gap:10px;height:47px;padding:0 17px;font-weight:850;display:flex}.sm-punch-btn:disabled{opacity:.65}.sm-gps-line{color:#d9e4ff;align-items:center;gap:5px;margin-top:12px;font-size:10px;display:flex}.sm-stats{grid-template-columns:repeat(3,1fr);gap:12px;max-width:1036px;margin:0 auto 25px;display:grid}.sm-stat{border:1px solid var(--sm-line);background:#fff;border-radius:16px;grid-template-columns:38px 1fr;align-items:center;column-gap:10px;padding:15px;display:grid}.sm-stat-icon{border-radius:12px;grid-row:span 2;place-items:center;width:38px;height:38px;display:grid}.sm-stat-icon.blue{color:#4268ee;background:#edf2ff}.sm-stat-icon.green{color:#1b9b66;background:#e9fbf2}.sm-stat-icon.orange{color:#df8b28;background:#fff4e7}.sm-stat strong{font-size:21px;line-height:1.1}.sm-stat small{color:var(--sm-muted);margin-top:4px;font-size:10px}.sm-section{max-width:1036px;margin:0 auto 24px}.sm-section-title{justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px;display:flex}.sm-section-title h2{letter-spacing:-.4px;margin:4px 0 0;font-size:18px}.sm-section-title p{color:var(--sm-muted);margin:5px 0 0;font-size:12px}.sm-today-tag,.sm-count-pill{color:#3d5fd6;background:#edf2ff;border-radius:9px;padding:7px 10px;font-size:10px;font-weight:800}.sm-action-grid{grid-template-columns:repeat(4,1fr);gap:12px;display:grid}.sm-action-card{text-align:left;border:1px solid var(--sm-line);cursor:pointer;min-height:142px;color:var(--sm-ink);background:#fff;border-radius:16px;flex-direction:column;align-items:flex-start;gap:7px;padding:15px;text-decoration:none;display:flex;position:relative}.sm-action-card>svg:last-of-type{color:#a5afbf;width:15px;position:absolute;top:17px;right:13px}.sm-action-card strong{font-size:12px}.sm-action-card small{color:var(--sm-muted);font-size:10px;line-height:1.5}.sm-action-icon{border-radius:11px;place-items:center;width:35px;height:35px;margin-bottom:4px;display:grid}.sm-action-icon svg{width:18px}.sm-action-icon.violet{color:#7954d8;background:#f1edff}.sm-action-icon.blue{color:#4268ee;background:#edf2ff}.sm-action-icon.green{color:#1b9b66;background:#e9fbf2}.sm-action-icon.orange{color:#d98a2c;background:#fff3e5}.sm-upload-card input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.sm-route-card{border:1px solid var(--sm-line);background:#fff;border-radius:17px;overflow:hidden}.sm-route-map{background-color:#eaf0ed;background-image:linear-gradient(35deg,#0000 47%,#fff 48% 51%,#0000 52%),linear-gradient(115deg,#0000 44%,#fff 45% 48%,#0000 49%),linear-gradient(0deg,#dce8df 1px,#0000 1px),linear-gradient(90deg,#dce8df 1px,#0000 1px);background-size:170px 120px,210px 150px,32px 32px,32px 32px;height:170px;position:relative;overflow:hidden}.sm-route-map.tall{height:210px}.sm-map-road{background:#fff;border:1px solid #dbe4dd;width:130%;height:12px;position:absolute;top:45%;left:-10%;transform:rotate(-17deg)}.sm-map-road.road-two{top:61%;left:-5%;transform:rotate(31deg)}.sm-map-route{border-bottom:3px dashed #4268ee;border-left:3px dashed #4268ee;border-radius:0 0 0 35px;width:56%;height:50%;position:absolute;top:23%;left:22%;transform:skew(-17deg)}.sm-map-pin{color:#fff;background:#4268ee;border:3px solid #fff;border-radius:50% 50% 50% 0;place-items:center;width:24px;height:24px;font-size:9px;font-weight:800;display:grid;position:absolute;transform:rotate(-45deg);box-shadow:0 2px 6px #1a315a33}.sm-map-pin:first-letter{transform:rotate(45deg)}.pin-a{top:19%;left:20%}.pin-b{background:#20a56d;top:59%;left:48%}.pin-c{background:#ed9b37;top:24%;left:76%}.sm-map-caption{color:#5e6c80;background:#ffffffdf;border:1px solid #fff;border-radius:8px;align-items:center;gap:5px;padding:6px 8px;font-size:9px;display:flex;position:absolute;bottom:10px;right:10px}.sm-route-footer{justify-content:space-between;align-items:center;padding:13px 15px;display:flex}.sm-route-footer strong,.sm-route-footer small{display:block}.sm-route-footer strong{font-size:12px}.sm-route-footer small{color:var(--sm-muted);margin-top:4px;font-size:10px}.sm-route-footer button,.sm-text-btn{color:#315efb;cursor:pointer;background:0 0;border:0;align-items:center;gap:3px;font-size:11px;font-weight:800;display:flex}.sm-visit-list{flex-direction:column;gap:10px;display:flex}.sm-visit-card{border:1px solid var(--sm-line);background:#fff;border-radius:15px;align-items:center;gap:12px;padding:13px;display:flex}.sm-visit-number{color:#4165e8;background:#edf2ff;border-radius:11px;flex:0 0 32px;place-items:center;width:32px;height:32px;font-size:12px;font-weight:850;display:grid}.sm-visit-number.done{color:#1c9b67;background:#e8fbf1}.sm-visit-info{flex:1;min-width:0}.sm-visit-time{color:#748198;align-items:center;gap:5px;font-size:9px;display:flex}.sm-visit-time span{background:#f2f4f8;border-radius:5px;margin-left:5px;padding:3px 6px}.sm-visit-info h3{margin:5px 0;font-size:12px}.sm-visit-info p{color:var(--sm-muted);align-items:center;gap:4px;margin:0;font-size:10px;display:flex}.sm-visit-status{color:#bd812a;background:#fff5e7;border-radius:5px;margin-top:7px;padding:3px 7px;font-size:9px;display:inline-block}.sm-visit-status.complete{color:#198658;background:#e9fbf2}.sm-visit-action{color:#315efb;white-space:nowrap;cursor:pointer;background:#f2f5ff;border:1px solid #dbe4ff;border-radius:9px;padding:8px 10px;font-size:10px;font-weight:850}.sm-visit-action:disabled{color:#198658;background:#e9fbf2;border-color:#d4f2e2}.sm-page-section{padding-top:15px}.sm-order-actions{gap:11px;display:grid}.sm-order-actions button{border:1px solid var(--sm-line);text-align:left;color:var(--sm-ink);background:#fff;border-radius:15px;grid-template-rows:auto auto;grid-template-columns:40px 1fr 20px;align-items:center;gap:3px 12px;padding:17px;display:grid}.sm-order-actions button>svg:first-child{color:#4268ee;background:#edf2ff;border-radius:12px;grid-row:span 2;width:38px;height:38px;padding:10px}.sm-order-actions strong{font-size:13px}.sm-order-actions small{color:var(--sm-muted);font-size:10px}.sm-order-actions button>svg:last-child{color:#98a4b7;grid-area:1/3/3}.sm-info-note{color:#9b6c24;background:#fff8e9;border-radius:12px;align-items:flex-start;gap:10px;margin-top:14px;padding:13px;font-size:11px;line-height:1.5;display:flex}.sm-profile-card{text-align:center;border:1px solid var(--sm-line);background:#fff;border-radius:18px;padding:25px}.sm-profile-avatar{color:#315efb;background:#eaf0ff;border-radius:20px;place-items:center;width:62px;height:62px;margin:0 auto 10px;font-size:20px;font-weight:900;display:grid}.sm-profile-card h2{margin:5px;font-size:17px}.sm-profile-card p{color:var(--sm-muted);margin:5px 0 12px;font-size:11px}.sm-profile-menu{border:1px solid var(--sm-line);background:#fff;border-radius:15px;margin-top:12px;overflow:hidden}.sm-profile-menu div,.sm-profile-menu button{border:0;border-bottom:1px solid var(--sm-line);text-align:left;color:#526078;background:#fff;align-items:center;gap:10px;width:100%;padding:15px;font-size:12px;display:flex}.sm-profile-menu svg{width:17px}.sm-profile-menu svg:last-child{margin-left:auto}.sm-profile-menu button{color:#d34e56}.sm-photo-result{border:1px solid var(--sm-line);background:#fff;border-radius:13px;align-items:center;gap:12px;max-width:1036px;margin:0 auto 20px;padding:12px;display:flex}.sm-photo-result img{object-fit:cover;border-radius:9px;width:54px;height:54px}.sm-photo-result strong,.sm-photo-result small{display:block}.sm-photo-result strong{font-size:12px}.sm-photo-result small{color:var(--sm-muted);margin-top:4px;font-size:10px}.sm-bottom-nav{z-index:30;border-top:1px solid var(--sm-line);height:70px;padding-bottom:env(safe-area-inset-bottom);background:#fff;justify-content:space-around;align-items:center;display:flex;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -5px 18px #17243a08}.sm-bottom-nav button{color:#8994a7;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:25%;height:100%;font-size:9px;font-weight:700;display:flex}.sm-bottom-nav button.active{color:#315efb}.sm-bottom-nav button.active svg{stroke-width:2.7px}.sm-modal-backdrop{z-index:50;background:#101a2e80;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.sm-modal{text-align:center;background:#fff;border-radius:20px;width:min(100%,390px);padding:25px;position:relative;box-shadow:0 25px 80px #07152d40}.sm-modal-close{color:#68758a;background:#f1f3f7;border:0;border-radius:9px;place-items:center;width:32px;height:32px;display:grid;position:absolute;top:14px;right:14px}.sm-modal-icon{color:#199b67;background:#e9fbf2;border-radius:15px;place-items:center;width:48px;height:48px;margin:0 auto 12px;display:grid}.sm-modal h3{margin:0 0 7px;font-size:19px}.sm-modal p{color:#65728a;font-size:13px}.sm-modal small{color:#8a96aa;font-size:10px}.sm-form-modal{text-align:left}.sm-form-modal h3{margin:5px 0 17px}.sm-form-modal label{color:#526078;margin:12px 0;font-size:11px;font-weight:750;display:block}.sm-form-modal input,.sm-form-modal select,.sm-form-modal textarea{width:100%;font:inherit;color:#25334a;background:#fff;border:1px solid #e1e7ef;border-radius:10px;outline:none;margin-top:6px;padding:11px;font-size:12px;display:block}.sm-form-modal input:focus,.sm-form-modal select:focus,.sm-form-modal textarea:focus{border-color:#6d8aff;box-shadow:0 0 0 3px #315efb15}.sm-form-modal textarea{resize:vertical;min-height:65px}.sm-primary-btn{color:#fff;background:#315efb;border:0;border-radius:11px;width:100%;margin-top:8px;padding:13px;font-size:12px;font-weight:850}.sm-primary-btn:disabled{opacity:.45}@media (min-width:1100px){.salesman-app{padding-bottom:40px}.sm-bottom-nav{border:1px solid var(--sm-line);max-width:1036px;box-shadow:none;border-radius:15px;height:60px;margin:20px auto 0;position:static}.sm-bottom-nav button{flex-direction:row;width:auto;padding:0 24px}.sm-welcome,.sm-section,.sm-stats,.sm-attendance-card,.sm-alert,.sm-photo-result{padding-left:0;padding-right:0}.sm-attendance-card{padding:22px 24px}.sm-stats{gap:14px}}@media (max-width:700px){.sm-topbar{height:58px;padding:0 16px}.sm-welcome{padding:21px 16px 14px;display:block}.sm-welcome h1{font-size:21px}.sm-welcome p{font-size:11px}.sm-date{margin-top:12px;padding:8px 10px;font-size:10px;display:inline-flex}.sm-alert,.sm-attendance-card,.sm-stats,.sm-section,.sm-photo-result{margin-left:14px;margin-right:14px}.sm-attendance-card{border-radius:17px;padding:18px}.sm-attendance-card h2{font-size:18px}.sm-attendance-card p{font-size:11px}.sm-attendance-head{align-items:flex-start}.sm-duty-pill{padding:6px 7px;font-size:8px}.sm-stats{gap:8px}.sm-stat{border-radius:13px;grid-template-columns:30px 1fr;column-gap:7px;padding:11px 8px}.sm-stat-icon{border-radius:9px;width:30px;height:30px}.sm-stat-icon svg{width:15px}.sm-stat strong{font-size:18px}.sm-stat small{font-size:9px}.sm-section-title h2{font-size:16px}.sm-action-grid{grid-template-columns:repeat(2,1fr);gap:9px}.sm-action-card{border-radius:14px;min-height:128px;padding:13px}.sm-action-card strong{font-size:11px}.sm-action-card small{font-size:9px}.sm-route-map{height:145px}.sm-visit-card{gap:9px;padding:11px}.sm-visit-info h3{font-size:11px}.sm-visit-action{padding:8px;font-size:9px}.sm-page-section{padding-top:9px}.sm-bottom-nav{height:66px}.sm-modal{padding:22px}.sm-route-footer{padding:11px}.sm-route-footer strong{font-size:11px}.sm-route-footer small{font-size:9px}}@media (max-width:360px){.sm-welcome h1{font-size:19px}.sm-duty-pill{font-size:7px}.sm-stat{text-align:center;grid-template-columns:1fr}.sm-stat-icon{display:none}.sm-stat strong{font-size:17px}.sm-visit-action{padding:7px;font-size:8px}}
