:root{font:15px/1.45 -apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;color:#15263d;background:#f5f8fc;-webkit-text-size-adjust:100%;font-synthesis:none;--blue:#215bd7;--ink:#182c47;--muted:#71839a;--stroke:#e2eaf4;--surface:#fff;--mint:#0c9870}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7fb2fb;outline-offset:2px}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(25px,3vw,34px);letter-spacing:-1.1px;margin-bottom:8px}h2{font-size:20px;letter-spacing:-.4px}h3{font-size:16px}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.b{font-weight:700}.shell{display:flex;min-height:100vh}.sidebar{width:258px;flex:0 0 258px;background:#fff;border-right:1px solid var(--stroke);display:flex;flex-direction:column;padding:28px 18px}.brand{display:flex;align-items:center;gap:12px;margin:0 4px 44px}.brand strong{display:block;font-size:19px;letter-spacing:-.7px}.brand small{color:var(--muted);font-size:10px;display:block;margin-top:2px}.logo{display:inline-grid;place-items:center;background:#2362d2;color:#fff;border-radius:12px;font-size:25px;width:43px;height:43px;box-shadow:0 5px 13px #215bd72a}.nav-desktop{display:grid;gap:6px}.nav-item{border:0;background:none;border-radius:11px;padding:13px 14px;font-weight:700;color:#61748d;text-align:left;display:flex;align-items:center;gap:13px}.nav-item span{font-size:22px;width:23px;text-align:center;font-weight:400}.nav-item:hover,.nav-item.active{background:#eef4ff;color:#245ed2}.sidebar-note{border-top:1px solid var(--stroke);margin-top:auto;padding:22px 8px 0;color:#8292a8;font-size:11px;line-height:1.65}.privacy-dot{width:7px;height:7px;display:inline-block;background:#12a97c;border-radius:50%;margin-right:4px}.workspace{flex:1;min-width:0}.topbar{height:72px;display:flex;align-items:center;justify-content:flex-end;padding:0 5%;border-bottom:1px solid var(--stroke);background:#ffffffd9}.topbar-right{display:flex;gap:16px;align-items:center}.mobile-brand{display:none}.status-indicator{color:#5c7696;font-size:12px}.avatar-btn{border:1px solid #d9e3ef;background:#eef4ff;color:#245bba;width:35px;height:35px;border-radius:50%;font-size:16px;font-weight:800}.content{max-width:1140px;padding:34px clamp(22px,5%,65px) 100px;margin:0 auto}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:22px}.section-head p{color:var(--muted);margin:0;font-size:13px}.eyebrow{font-size:11px;font-weight:800;text-transform:uppercase;color:#527ac2;letter-spacing:1.4px;margin-bottom:8px}.card{background:#fff;border:1px solid var(--stroke);border-radius:17px;padding:21px;margin-bottom:16px;box-shadow:0 3px 10px #2e527008}.card-head{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-bottom:14px}.card-head h2,.card-head h3{margin:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:11px;padding:11px 16px;background:var(--blue);color:#fff;font-weight:720;font-size:13px;min-height:43px;line-height:1.25;text-align:center}.btn:hover{filter:brightness(.97)}.btn.secondary{background:#edf3ff;color:#245cc9}.btn.outline{background:white;border:1px solid #d6e0ef;color:#3c5677}.btn.danger{background:#fff1f1;color:#b32e46}.btn.small-btn{padding:8px 11px;min-height:34px;font-size:12px}.btn.textbtn{background:none;color:var(--blue);min-height:34px;padding:7px 4px}.button-row{display:flex;flex-wrap:wrap;gap:9px}.hero{background:linear-gradient(125deg,#1f5bd1 0%,#194aa9 65%,#123a87 100%);color:#fff;border-radius:22px;padding:26px 30px;position:relative;overflow:hidden;margin-bottom:17px;box-shadow:0 15px 30px #2857a22a}.hero:after{content:"";position:absolute;width:250px;height:250px;border-radius:50%;border:1px solid #ffffff30;right:-80px;top:-85px;box-shadow:0 0 0 24px #ffffff08,0 0 0 55px #ffffff06;pointer-events:none}.hero-overline{color:#d7e6ff;font-size:12px;font-weight:700}.hero-num{font-size:clamp(38px,6vw,51px);font-weight:820;letter-spacing:-2px;margin:9px 0 2px;font-variant-numeric:tabular-nums}.hero-num small{font-size:20px;font-weight:650;letter-spacing:0}.hero-foot{font-size:12px;color:#deebff;max-width:85%;margin:0}.statgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:17px}.stat{border:1px solid var(--stroke);background:#fff;border-radius:16px;padding:17px}.stat-label{font-size:12px;color:#8192a6;display:block;margin-bottom:8px}.stat-num{font-weight:800;font-size:26px;letter-spacing:-.8px}.stat-meta{font-size:11px;color:var(--muted);margin-top:3px}.flex{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.spread{display:flex;align-items:center;justify-content:space-between;gap:12px}.control-line{display:grid;grid-template-columns:1fr auto;gap:15px;align-items:end;margin-bottom:15px}.field{display:grid;gap:6px;margin-bottom:12px}.field label,.label{font-weight:700;color:#3e5069;font-size:12px}.field input,.field select,.field textarea,.control,.searchinput{width:100%;min-height:43px;border:1px solid #d6e2f1;border-radius:11px;background:white;padding:10px 12px;color:var(--ink);font-size:14px}.field textarea{min-height:80px;resize:vertical}.helptext{font-size:12px;color:var(--muted);line-height:1.55;margin:4px 0 14px}.segments{display:flex;gap:4px;background:#edf2fa;padding:4px;border-radius:12px;max-width:350px}.segments button{flex:1;background:none;color:#657991;border:0;border-radius:9px;padding:9px 10px;font-weight:740;font-size:12px;white-space:nowrap}.segments button.active{background:white;color:#205bc6;box-shadow:0 2px 8px #133e861a}.period-line{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.period-line select{min-width:190px}.datepair{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.datepair input{max-width:160px}.table-wrap{overflow-x:auto;border:1px solid var(--stroke);border-radius:14px}.data-table{width:100%;border-collapse:collapse;background:white;font-size:13px;white-space:nowrap}.data-table th{color:#71859b;text-align:left;background:#f8fafd;font-size:11px;font-weight:800;padding:13px 15px;border-bottom:1px solid #e7edf6}.data-table td{padding:14px 15px;border-bottom:1px solid #edf2f7;vertical-align:middle}.data-table tr:last-child td{border-bottom:0}.data-table td:nth-child(2){white-space:normal;min-width:160px}.data-table td:nth-child(3){white-space:normal;min-width:140px}.right{text-align:right!important}.row-title{font-weight:740}.row-sub{display:block;color:#8a9aaa;font-size:11px;margin-top:3px}.tag{display:inline-block;border-radius:99px;padding:4px 9px;font-size:10px;font-weight:780;background:#f1f5fb;color:#637994}.tag.good{background:#e7f8f0;color:#13805e}.tag.warn{background:#fff1e0;color:#9f620f}.tag.blue{background:#e8f0ff;color:#245ec2}.tag.bad{background:#fff0f0;color:#b64c4c}.empty{padding:35px 15px;text-align:center;color:#71839a}.empty strong{display:block;color:#2b405b;font-size:16px;margin-bottom:8px}.empty .empty-icon{font-size:36px;color:#b0c3dc;margin-bottom:12px}.alert{border:1px solid #f2deb4;background:#fff9ee;color:#855e19;border-radius:13px;padding:12px 14px;font-size:12px;line-height:1.6;margin-bottom:16px}.alert.info{background:#eef5ff;border-color:#d5e6ff;color:#2a5688}.alert.good{background:#eefaf3;border-color:#d1efdd;color:#27694e}.alert.bad{background:#fff3f2;border-color:#f2d4d2;color:#a23c3e}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.step{border:1px solid #e1e9f3;border-radius:14px;background:#f9fbff;padding:15px}.step .number{background:#e6eefc;color:#2e65c8;font-size:12px;font-weight:850;display:grid;place-items:center;width:27px;height:27px;border-radius:9px;margin-bottom:10px}.step strong{display:block;margin-bottom:5px;font-size:13px}.step p{color:#71839a;font-size:11px;margin-bottom:0;line-height:1.5}.step.done .number{background:#dcf7e9;color:#168159}.meter{height:8px;background:#edf2f9;border-radius:10px;overflow:hidden}.meter > span{display:block;background:#2768d5;height:100%;border-radius:10px;transition:width .2s}.mobile-rows{display:none}.appointment-card{background:white;border:1px solid var(--stroke);border-radius:14px;padding:15px 16px;margin-bottom:9px}.appointment-card .day{font-size:11px;color:var(--muted);font-weight:700}.appointment-card .event-name{font-size:14px;font-weight:750;margin:5px 0}.appointment-card .address{color:#7b8ca2;font-size:12px;line-height:1.45}.appointment-card .km{white-space:nowrap;font-weight:820;font-size:19px}.appointment-card .km small{font-weight:600;font-size:12px}.appointment-card .bottom{display:flex;align-items:center;justify-content:space-between;margin-top:14px;padding-top:10px;border-top:1px solid #eef2f8}.bottom-nav{display:none}.pillrow{display:flex;gap:8px;flex-wrap:wrap}.pill{border:1px solid #dce7f7;background:#f3f7fe;color:#4065aa;padding:8px 11px;border-radius:99px;font-size:12px;font-weight:700;cursor:pointer}.pill.active{background:#225fce;color:white;border-color:#225fce}.import-tabs{display:flex;gap:5px;border-bottom:1px solid var(--stroke);margin-bottom:17px}.import-tabs button{border:0;background:transparent;color:#73849c;font-weight:700;padding:11px 14px;border-bottom:2px solid transparent}.import-tabs button.active{color:#215dcc;border-bottom-color:#215dcc}.footnote{font-size:11px;color:#78889e;line-height:1.55}.divider{border:0;border-top:1px solid var(--stroke);margin:20px 0}.kv{display:flex;justify-content:space-between;gap:12px;padding:11px 0;border-bottom:1px solid #eef3f9;font-size:13px}.kv:last-child{border-bottom:0}dialog{border:0;border-radius:20px;padding:0;width:min(480px,calc(100vw - 24px));max-height:86dvh;color:var(--ink);box-shadow:0 30px 90px #10214252}dialog::backdrop{background:#10213a99;backdrop-filter:blur(2px)}#modal-body{padding:24px;max-height:86dvh;overflow:auto}.toast{position:fixed;right:20px;bottom:22px;max-width:min(420px,calc(100vw - 30px));padding:13px 18px;background:#1d314d;color:#fff;border-radius:12px;box-shadow:0 16px 32px #0b203640;z-index:50;font-size:13px}.toast[hidden]{display:none!important}.progress{display:flex;align-items:center;gap:10px;margin-bottom:10px}.progress-text{font-size:12px;color:#7b8ca1}.status-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.table-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.table-actions input{width:min(230px,100%)}.checkrow{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:#4f647f}.checkrow input{accent-color:#2767d4;margin-top:4px}.map-credit{font-size:11px;color:#8190a4}.settings-group{max-width:720px}.kicker{color:#647f9d;font-size:11px;letter-spacing:1px;font-weight:800;text-transform:uppercase}.cols2{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media(max-width:1024px){.sidebar{width:220px;flex-basis:220px}.content{padding:28px 25px 95px}}
@media(max-width:760px){.sidebar{display:none}.topbar{height:63px;padding:0 20px;justify-content:space-between}.mobile-brand{display:flex;align-items:center;gap:9px}.mobile-brand .logo{width:31px;height:31px;border-radius:9px;font-size:20px}.mobile-brand strong{font-size:17px;letter-spacing:-.5px}.status-indicator{font-size:10px}.content{padding:23px 17px calc(93px + env(safe-area-inset-bottom));max-width:560px}.section-head{margin-bottom:17px}.section-head h1{font-size:27px}.hero{padding:23px 22px;border-radius:18px}.hero-num{font-size:43px}.statgrid{gap:8px}.stat{padding:12px 10px;border-radius:13px}.stat-num{font-size:22px}.stat-label{font-size:10px}.stat-meta{font-size:10px}.card{padding:17px;border-radius:15px}.control-line{grid-template-columns:1fr}.control-line .segments{max-width:none}.steps{grid-template-columns:1fr}.step{display:grid;grid-template-columns:30px 1fr;gap:1px 10px;padding:11px 13px}.step .number{grid-row:1/3;margin:0}.step strong{margin:0}.step p{grid-column:2}.data-table,.table-wrap{display:none}.mobile-rows{display:block}.bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;z-index:30;background:#ffffffed;border-top:1px solid var(--stroke);padding:8px 8px calc(8px + env(safe-area-inset-bottom));backdrop-filter:blur(14px)}.bottom-nav button{border:0;background:none;color:#8798aa;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;padding:2px 0 0;font-size:22px}.bottom-nav button small{font-size:10px;font-weight:740}.bottom-nav button.active{color:var(--blue)}.toast{right:15px;bottom:90px}.cols2{grid-template-columns:1fr}}
@media(max-width:360px){.content{padding-left:12px;padding-right:12px}.card{padding:14px}.stat-num{font-size:19px}.period-line select{min-width:140px}}
@media print{body{background:#fff;color:#000}.shell,.bottom-nav,.toast,dialog{display:none!important}#print-report{display:block!important;margin:0 auto;width:100%;font:12px/1.5 Arial,sans-serif}#print-report h1{font-size:22px}#print-report p{font-size:12px}#print-report table{border-collapse:collapse;width:100%;font-size:11px}#print-report th,#print-report td{border-bottom:1px solid #aaa;padding:7px;text-align:left}#print-report td:last-child,#print-report th:last-child{text-align:right}#print-report .print-footer{margin-top:20px}}
#print-report{display:none}
