
:root{--navy:#102c3e;--navy2:#173c51;--teal:#087e87;--teal2:#e0f6f3;--bg:#f4f7f9;--white:#fff;--ink:#152e3c;--muted:#768895;--border:#e3e9ed;--orange:#e69a3f;--green:#15926f;--red:#d05c5c;--shadow:0 8px 32px rgba(13,45,60,.055)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;font-family:Arial,"Noto Sans Hebrew","Noto Sans Thai",sans-serif;color:var(--ink);background:var(--bg)}button,input,select,textarea{font-family:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}input,select,textarea{font-size:14px;color:var(--ink);border:1px solid #d9e3e8;background:white;border-radius:11px;padding:11px 13px;outline:none;max-width:100%}input:focus,select:focus,textarea:focus{border-color:var(--teal);box-shadow:0 0 0 3px rgba(8,126,135,.10)}textarea{resize:vertical;min-height:110px}label{display:block;font-size:12px;font-weight:700;color:#617480;margin-bottom:6px}small,.muted{color:var(--muted)}svg.ico{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.app{display:grid;grid-template-columns:245px minmax(0,1fr);min-height:100vh}.side{background:var(--navy);color:#f5fbff;padding:25px 15px;display:flex;flex-direction:column;gap:25px;position:sticky;top:0;height:100vh}.logo{display:flex;align-items:center;gap:12px;padding:4px 9px}.logo-mark{display:grid;place-items:center;background:rgba(255,255,255,.11);border:1px solid rgba(255,255,255,.16);width:44px;height:44px;border-radius:13px}.logo strong{font-size:16px;line-height:1.35}.logo span{font-size:11px;color:#a8cbd5;display:block;padding-top:3px}.side-label{font-size:10px;letter-spacing:1px;color:#84aab7;padding:0 13px;margin-bottom:-14px}.nav{display:flex;flex-direction:column;gap:5px}.navbtn{color:#bdd3de;background:none;border:0;border-radius:11px;padding:13px 14px;text-align:right;display:flex;align-items:center;gap:13px;font-size:14px;font-weight:600;width:100%}.navbtn:hover{background:rgba(255,255,255,.08)}.navbtn.active{color:white;background:#235064}.navbtn.active .ico{color:#76dfd3}.side-bottom{margin-top:auto;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);padding:15px;border-radius:14px}.side-bottom b{font-size:13px}.side-bottom p{font-size:12px;color:#b4d2de;line-height:1.6;margin:8px 0 0}.main{padding:0 34px 36px;min-width:0}.topbar{height:84px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);margin-bottom:26px;gap:10px}.eyebrow{font-size:12px;color:#8295a0}.topbar h1{font-size:25px;margin:4px 0 0;letter-spacing:-.5px}.top-actions{display:flex;gap:10px;align-items:center}.demo-badge{border:1px solid #b8e7de;color:#127d76;background:#eafaf6;border-radius:99px;padding:7px 12px;font-size:12px;font-weight:800;white-space:nowrap}.avatar{width:38px;height:38px;border-radius:50%;background:#e4ecef;display:grid;place-items:center;color:#5c7584;font-weight:800;font-size:14px}.content{max-width:1220px;margin:auto}.hero{background:linear-gradient(120deg,#123e52 0%,#0d6672 100%);border-radius:19px;padding:28px 32px;color:white;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:170px;margin-bottom:24px;overflow:hidden;position:relative}.hero:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.12);border-radius:50%;width:420px;height:420px;left:-180px;top:-240px}.hero h2{margin:8px 0;font-size:25px}.hero p{margin:0;color:#d1eff0;line-height:1.7;font-size:13px;max-width:580px}.hero .hero-icon{opacity:.27;transform:scale(3);padding:30px}.btn{border:none;border-radius:11px;background:var(--teal);color:white;font-weight:700;padding:11px 16px;display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;font-size:13px}.btn svg{width:16px;height:16px}.btn.outline{background:white;color:var(--ink);border:1px solid #dce6ea}.btn.ghost{background:#e9f5f5;color:#087a83}.btn.dark{background:var(--navy)}.btn.small{padding:7px 10px;min-height:32px;font-size:12px;border-radius:8px}.btn:hover{filter:brightness(.97)}.btnrow{display:flex;gap:9px;flex-wrap:wrap;align-items:center}.grid{display:grid;gap:15px}.four{grid-template-columns:repeat(4,minmax(0,1fr))}.three{grid-template-columns:repeat(3,minmax(0,1fr))}.two{grid-template-columns:repeat(2,minmax(0,1fr))}.card{background:white;border:1px solid var(--border);border-radius:16px;padding:20px;box-shadow:var(--shadow);min-width:0}.stat{display:flex;align-items:center;justify-content:space-between;min-height:115px}.stat h3{font-size:27px;letter-spacing:-.6px;margin:7px 0 0}.stat p{color:#71848e;font-size:12px;margin:0}.iconbg{background:#e9f6f5;color:var(--teal);width:42px;height:42px;display:grid;place-items:center;border-radius:13px}.section-row{margin:28px 0 14px;display:flex;align-items:center;justify-content:space-between;gap:10px}.section-row h2{font-size:18px;margin:0}.section-row p{font-size:12px;margin:4px 0 0;color:var(--muted)}.section-row .link{color:var(--teal);background:none;border:none;font-weight:700;font-size:12px}.workcat{display:flex;flex-direction:column;gap:11px;text-align:right;min-height:130px;transition:.15s;cursor:pointer}.workcat:hover{border-color:#69b9ba;transform:translateY(-1px)}.workcat b{font-size:14px}.workcat p{margin:0;color:#7a8c96;font-size:11px;line-height:1.5}.workcat .count{font-size:23px;font-weight:800;margin-right:auto}.workcat .line{display:flex;align-items:center;justify-content:space-between}.workcat.active{outline:2px solid #1aa4a9}.workcat .iconbg{height:38px;width:38px}.rowitem{padding:13px 0;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #eff2f4}.rowitem:last-child{border-bottom:0}.rowitem strong{font-size:13px}.rowitem small{font-size:11px;display:block;margin-top:5px}.tag{font-size:11px;border-radius:7px;padding:5px 9px;background:#eff5f7;color:#627987;font-weight:700;display:inline-block}.tag.green{color:#187f5e;background:#def7ec}.tag.orange{color:#ae6a22;background:#fff1dd}.tag.blue{color:#27698b;background:#e2f2fb}.tag.red{color:#b34b51;background:#ffe7e9}.sitecard{display:flex;flex-direction:column;gap:10px;cursor:pointer}.sitecard .sitename{font-size:16px;font-weight:800}.sitecard p{font-size:12px;color:var(--muted);margin:0}.sitecard .mini-stats{display:flex;gap:12px;border-top:1px solid var(--border);padding-top:12px;font-size:12px}.sitecard .mini-stats strong{font-size:14px;display:block;margin-top:3px}.filters{display:flex;align-items:end;gap:11px;flex-wrap:wrap;margin-bottom:15px}.filters>div{min-width:150px}.filters select,.filters input{width:100%}.table-wrap{width:100%;overflow:auto;border:1px solid var(--border);border-radius:13px}table{width:100%;border-collapse:collapse;text-align:right;font-size:13px}th{background:#f3f7f8;color:#718793;font-weight:700;font-size:11px;white-space:nowrap}td,th{padding:12px 13px;border-bottom:1px solid #edf1f2}tr:last-child td{border-bottom:0}td{color:#2a4351}td strong{color:#193a4b}.num{text-align:center;font-variant-numeric:tabular-nums}.money{text-align:left;font-variant-numeric:tabular-nums;white-space:nowrap}.positive{color:#13825d;font-weight:800}.alignl{text-align:left}.card-title{font-weight:800;font-size:15px;margin:0 0 12px}.muted-line{font-size:12px;color:#768c98;line-height:1.6}.mini-actions{display:flex;gap:8px;flex-wrap:wrap}.workflow{display:flex;gap:10px;flex-wrap:wrap}.flowchip{padding:9px 12px;background:#eef6f7;border:1px solid #dbecee;color:#2c6871;border-radius:99px;font-size:11px;font-weight:700}.steps{display:flex;gap:7px;align-items:center;color:#9fadb5;font-size:11px;margin:13px 0 0}.empty{padding:26px;text-align:center;color:#84929b;font-size:13px}.tabs{display:flex;gap:7px;overflow:auto;margin-bottom:18px}.tabs button{white-space:nowrap;border:1px solid #dfe7ec;background:white;color:#738792;padding:10px 14px;border-radius:9px;font-size:12px;font-weight:700}.tabs button.active{color:white;background:var(--navy);border-color:var(--navy)}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:13px;flex-wrap:wrap;margin-bottom:16px}.toolbar h2{font-size:20px;margin:0}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.field input,.field select,.field textarea{width:100%}.totals{background:#eaf7f3;border:1px solid #c6e9dd;padding:18px;border-radius:14px;display:flex;justify-content:space-between;gap:10px;align-items:center}.totals strong{font-size:26px;color:#116e58}.rule{border:0;border-top:1px solid var(--border);margin:16px 0}.schedulecard{border:1px solid #e2e9ed;border-radius:13px;padding:17px;margin-bottom:10px;background:#fff}.schedulecard h3{font-size:15px;margin:0 0 10px}.schedulecard .meta{font-size:12px;color:#748895;display:flex;gap:14px;flex-wrap:wrap}.previewbox{white-space:pre-wrap;font-size:13px;line-height:1.85;color:#274351;background:#f6f9fa;padding:16px;border:1px solid #e6edef;border-radius:11px;max-height:450px;overflow:auto}.modalshade{position:fixed;inset:0;z-index:200;background:rgba(6,27,39,.46);display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}.modal{background:white;border-radius:19px;padding:23px;max-width:580px;width:100%;max-height:92vh;overflow:auto;box-shadow:0 25px 90px #031e2750}.modaltop{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.modaltop h2{font-size:20px;margin:0}.close{border:0;background:#eef3f4;color:#657883;border-radius:50%;width:32px;height:32px;font-size:23px;line-height:30px}.notice{border-radius:11px;background:#fff7e9;border:1px solid #f9e6c7;color:#976e35;padding:12px 14px;line-height:1.6;font-size:12px}.upload{border:1.5px dashed #89c7ca;background:#f3fbfb;padding:20px;border-radius:12px;text-align:center;margin:13px 0}.upload label{margin:9px 0}.upload input{border:none;background:transparent;font-size:12px;width:100%}.photo-prev{max-width:100%;max-height:140px;border-radius:8px;display:none}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#163745;color:white;padding:12px 19px;border-radius:11px;font-size:13px;box-shadow:0 7px 25px #0d33443b;z-index:300}.mobilebrand,.bottomnav{display:none}.printhead{display:none}
@media(min-width:1500px){.main{padding:0 55px 40px}}
@media(max-width:1150px){.app{grid-template-columns:210px minmax(0,1fr)}.main{padding:0 22px 25px}.four{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:740px){.app{display:block}.side{display:none}.main{padding:0 15px 102px}.topbar{height:75px;margin-bottom:17px}.topbar h1{font-size:20px}.avatar{display:none}.demo-badge{padding:6px 9px;font-size:10px}.hero{padding:22px 19px;min-height:155px}.hero h2{font-size:21px}.hero .hero-icon{display:none}.hero p{font-size:12px}.four,.three,.two{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card{padding:15px;border-radius:14px}.stat{min-height:104px}.stat h3{font-size:24px}.stat .iconbg{width:34px;height:34px}.iconbg svg{width:17px;height:17px}.workcat{min-height:125px}.workcat b{font-size:12px}.section-row{margin:21px 0 12px}.section-row h2{font-size:16px}.bottomnav{position:fixed;z-index:100;bottom:0;left:0;right:0;padding:7px 5px calc(7px + env(safe-area-inset-bottom));display:grid;grid-template-columns:repeat(5,1fr);background:white;border-top:1px solid #e2e9ed;box-shadow:0 -4px 20px #092b3910}.bottomnav button{border:0;background:transparent;color:#899ba6;display:grid;justify-items:center;gap:3px;font-size:10px;padding:7px 1px}.bottomnav button.active{color:var(--teal);font-weight:800}.bottomnav .ico{width:21px;height:21px}.sitecard .mini-stats{gap:8px;font-size:11px}.form-grid{grid-template-columns:1fr}.toolbar h2{font-size:18px}.rowitem .mini-actions{gap:4px}.rowitem .btn.small{font-size:10px}.sitecard .sitename{font-size:14px}.modalshade{align-items:end;padding:0}.modal{border-radius:20px 20px 0 0;max-height:93vh;padding-bottom:calc(23px + env(safe-area-inset-bottom))}.money{font-size:12px}th,td{padding:11px 9px}.mobilebrand{display:block}.top-actions .badge-simple{display:none}}
@media(max-width:390px){.four{gap:7px}.stat h3{font-size:21px}.workcat{padding:11px}.topbar h1{font-size:18px}}
@media print{.side,.bottomnav,.topbar,.btn,.filters,.toolbar .btn,.tabs,.no-print{display:none!important}.app{display:block}.main{padding:0}.content{max-width:none}.card{box-shadow:none;border:0;padding:2px}.printhead{display:block;font-size:22px;margin:0 0 14px}table{font-size:11px}.hero{display:none}body{background:white}.table-wrap{border:0}td,th{padding:7px 6px}}

/* Schedule professional redesign: other modules unchanged */
.schedule-pro .sched-title{padding-bottom:8px;border-bottom:1px solid var(--border)}
.schedule-pro .sched-title h2{font-size:25px;letter-spacing:-.4px;margin:5px 0}
.sched-controls{display:flex;align-items:end;gap:17px;flex-wrap:wrap;margin-bottom:16px}
.sched-controls .field{min-width:200px}
.toggle-line{display:inline-flex;align-items:center;gap:9px;cursor:pointer;font-size:13px;font-weight:700;color:#314e5e;margin:0}
.toggle-line input{width:18px;height:18px;accent-color:var(--teal)}
.sched-kpis .stat{min-height:96px}.sched-kpis .stat h3{font-size:21px}
.sched-table-card{padding:0;overflow:hidden}.sched-table td,.sched-table th{vertical-align:middle;padding:13px 12px}.sched-table small{display:block;margin-top:7px;line-height:1.55;color:#7b8b98}.sched-table td{min-width:100px}.sched-table td:first-child{min-width:165px}.sched-table td:nth-child(3){min-width:170px}.sched-table td:last-child{min-width:175px}
.sched-money-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sched-money-grid>div{background:#f5f8f9;border-radius:11px;padding:15px;display:grid;gap:8px}
.sched-money-grid small{font-size:12px;color:#697d89}.sched-money-grid strong{font-size:21px;white-space:nowrap}
.sched-money-grid .sched-total{background:#e7f4f1}.sched-money-grid .sched-total strong{color:#087e87}
.worker-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:9px;max-height:240px;overflow-y:auto;padding:3px}
.worker-option{margin:0;display:flex;align-items:center;gap:8px;background:#f6f9fa;border:1px solid #dfebed;padding:10px;border-radius:8px;cursor:pointer;font-size:13px}
.worker-option:has(input:checked){background:#e8f7f4;border-color:#8bcaca}
.worker-option input{width:17px;height:17px;accent-color:var(--teal)}
.inline-worker-add{display:flex;gap:8px;margin-top:9px;align-items:center}.inline-worker-add input{flex:1;min-width:0}.worker-report{margin-top:20px}.worker-report-title{font-size:14px;font-weight:800;margin-bottom:10px}.worker-pill{background:#eef5f6;color:#34515c;padding:8px 11px;border-radius:9px;font-size:12px;font-weight:700}
.worker-list{display:flex;flex-wrap:wrap;gap:6px}.worker-rate-list{max-height:44vh;overflow:auto;margin-top:12px}.worker-rate-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 6px;border-bottom:1px solid #e9eff2}.worker-rate-row small{display:block;margin-top:3px;color:#728591;font-size:12px}
.sched-form-intro{background:#f3f8f9;border-right:3px solid var(--teal);border-radius:9px;padding:11px 13px;font-size:12px;color:#5d7480;line-height:1.6;margin-bottom:15px}
.sched-trip-entry{padding:15px;border:1px solid #d5e7e7;background:#f9fcfc;border-radius:11px;margin:9px 0}
.sched-trip-entry>.btnrow{margin-bottom:10px}.sched-save{width:100%;margin-top:16px;padding:14px}
.hidden{display:none!important}.sched-whatsapp{background:#f6f8f8;white-space:pre-wrap;line-height:1.85;border-right:3px solid var(--teal);padding:19px}
@media(max-width:740px){.sched-money-grid{grid-template-columns:1fr}.schedule-pro .sched-title h2{font-size:22px}.worker-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.sched-table td,.sched-table th{font-size:12px}.schedule-pro .sched-kpis .stat h3{font-size:19px}.sched-controls{align-items:start;gap:12px}}
