/* Toàn Phát operations — local Bootstrap plus application styles */
:root{--green:#126549;--green-dark:#104c3a;--ink:#243c33;--muted:#7c8982;--line:#e8ede9;--surface:#f5f7f5;--sidebar:250px}
*{box-sizing:border-box}body{font-family:"Segoe UI",Arial,sans-serif;font-size:14px;color:var(--ink);background:var(--surface);line-height:1.6}a{color:var(--green);text-decoration:none}a:hover{color:#093d2a}button,input,select,textarea{font:inherit}.icon{flex-shrink:0;vertical-align:middle}.btn{font-size:13px;font-weight:600;border-radius:8px;padding:10px 17px;display:inline-flex;gap:8px;align-items:center;justify-content:center;white-space:nowrap;min-height:42px}.btn-primary{--bs-btn-bg:var(--green);--bs-btn-border-color:var(--green);--bs-btn-hover-bg:var(--green-dark);--bs-btn-hover-border-color:var(--green-dark);--bs-btn-active-bg:var(--green-dark)}.btn-outline-primary{--bs-btn-color:var(--green);--bs-btn-border-color:#b8d1c3;--bs-btn-hover-bg:var(--green);--bs-btn-hover-border-color:var(--green);--bs-btn-active-bg:var(--green)}.btn-outline-secondary{--bs-btn-color:#56655d;--bs-btn-border-color:#dce4de;--bs-btn-hover-bg:#edf2ee;--bs-btn-hover-border-color:#b6c7bc;--bs-btn-hover-color:#253d31;background:#fff}.btn-light{background:#f0f4f1;border-color:#f0f4f1}.form-control,.form-select{font-size:14px;min-height:44px;border-color:#dde5df;border-radius:8px;padding:10px 12px;color:var(--ink)}.form-control:focus,.form-select:focus{border-color:#84b39a;box-shadow:0 0 0 3px #12654915}.form-label{font-weight:600;font-size:13px;margin-bottom:7px}.form-label span{color:#ae614a}.form-check-input:checked{background-color:var(--green);border-color:var(--green)}.form-check-input{flex-shrink:0}.form-text{font-size:12px}.text-secondary{color:var(--muted)!important}.text-link{font-size:12px;font-weight:600;display:inline-flex;align-items:center;gap:8px}.text-link .icon{width:16px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--sidebar);background:#fff;border-right:1px solid var(--line);padding:30px 18px 0;z-index:30;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);font-size:19px;font-weight:750;letter-spacing:1px;line-height:1.2}.brand small{display:block;font-size:8px;font-weight:500;letter-spacing:1.25px;margin-top:6px;color:#7c9084}.brand-mark{display:grid;place-items:center;background:var(--green);color:#fff;border-radius:11px;width:41px;height:44px}.brand-mark .icon{width:27px;height:27px}.sidebar .brand{margin:0 11px 42px}.workspace-label{font-size:9px;letter-spacing:1.5px;color:#96a198;font-weight:700;padding:0 14px;margin-bottom:14px}.nav-link{display:flex;align-items:center;gap:12px;padding:12px 14px;margin-bottom:6px;color:#68796e;font-size:12px;font-weight:600;border-radius:8px}.nav-link .icon{width:19px}.nav-link:hover{background:#f5f8f5;color:var(--green)}.nav-link.active{background:#e8f2eb;color:var(--green)}.sidebar-bottom{margin-top:auto}.system-status{padding:22px 13px;color:#6e7f73;font-size:11px}.system-status i,.active-dot:before,.banner-label i{display:inline-block;width:6px;height:6px;background:#4f9a6c;border-radius:50%;margin-right:7px}.system-status small{display:block;margin:3px 0 0 13px;color:#a0aaa3;font-size:10px}.profile{display:flex;align-items:center;gap:10px;margin:0 -18px;padding:20px;border-top:1px solid var(--line);color:var(--ink)}.profile strong{font-size:12px;display:block;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile small{display:block;font-size:10px;color:var(--muted)}.profile>.icon{margin-left:auto;width:15px}.avatar{width:35px;height:35px;display:inline-flex;align-items:center;justify-content:center;background:#e9eee7;border:1px solid #dce5da;border-radius:50%;color:#527248;font-weight:700;font-size:11px;flex-shrink:0}.avatar.large{height:60px;width:60px;font-size:20px}.avatar.small-avatar{width:27px;height:27px;font-size:9px}.app-shell{margin-left:var(--sidebar);min-height:100vh}.topbar{height:76px;border-bottom:1px solid var(--line);background:#fff;padding:0 36px;display:flex;justify-content:space-between;align-items:center;gap:16px}.breadcrumb-text{font-size:11px;color:#929d95}.breadcrumb-text span{margin:0 12px;color:#bbc4bd}.breadcrumb-text strong{font-weight:500;color:#4e6255}.topbar-right{display:flex;align-items:center;gap:20px}.today-label{font-size:11px;color:#6d7f73;display:flex;gap:7px;align-items:center}.today-label .icon{width:15px}.icon-button{border:1px solid #e5ebe5;background:white;border-radius:8px;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;color:#809184}.icon-button:hover{background:#edf4ee;color:var(--green)}.icon-button .icon{width:16px}.mobile-menu{display:none}.main-content{padding:32px 36px 0;max-width:1770px;margin:auto}.eyebrow{font-size:9px;letter-spacing:1.8px;font-weight:700;color:#8a9a8d;margin-bottom:9px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:26px}.page-heading h1{font-size:27px;font-weight:650;letter-spacing:-.7px;margin:0 0 7px;line-height:1.4}.page-heading p{margin:0;font-size:12px;color:#849087}.page-heading>.btn{font-size:12px}.back-link{display:inline-block;font-size:12px;color:var(--muted);margin-bottom:14px}.overview-banner{position:relative;overflow:hidden;background:#e7efe6;border:1px solid #dce7d9;border-radius:13px;min-height:189px;padding:29px 34px;display:flex;align-items:center;justify-content:space-between}.overview-banner h2{font-size:25px;font-weight:650;letter-spacing:-.5px;margin:14px 0 8px}.overview-banner p{font-size:12px;color:#6b806a;margin:0 0 15px}.overview-banner a{font-weight:650;font-size:11px}.overview-banner a .icon{width:14px;margin-left:9px}.banner-label{font-size:8px;letter-spacing:1.6px;color:#6f8d70;font-weight:650}.banner-art{position:relative;width:260px;height:145px;flex-shrink:0;margin-right:20px}.paint-can{position:absolute;border-radius:50% / 9%;box-shadow:12px 12px 18px #25432614;border-top:5px solid #d4ddd3;border-bottom:4px solid #b4bfb0;display:flex;align-items:center;justify-content:center;transform:rotate(-8deg)}.paint-can:before{content:"";position:absolute;top:-6px;left:0;width:100%;height:15px;background:#e5ebe0;border:3px solid #c3ccbd;border-radius:50%}.paint-can span{font-size:27px;letter-spacing:-2px;font-weight:800;border:1px solid #ffffff44;border-radius:50%;padding:4px 9px;color:#ffffffad}.can-one{width:92px;height:110px;background:#61836d;left:12px;top:33px;z-index:2}.can-two{width:103px;height:135px;background:#b6bc9e;left:88px;top:3px;transform:rotate(8deg)}.can-three{width:73px;height:84px;background:#d3aa82;left:167px;top:64px;transform:rotate(6deg);z-index:3}.can-three span{font-size:20px}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.metric-card{padding:20px 23px;background:#fff;border:1px solid var(--line);border-radius:11px;display:flex;flex-direction:column}.metric-card>span,.metric-top>span:first-child{font-size:11px;color:#7f8c83}.metric-top{display:flex;justify-content:space-between;align-items:center}.metric-card>strong{font-size:31px;letter-spacing:-1px;font-weight:650;line-height:1.45;margin:9px 0 5px}.metric-card>strong em{font-size:14px;font-style:normal;color:#9aa69c;font-weight:400;letter-spacing:0;margin-left:4px}.metric-card small{font-size:10px;color:#95a096}.metric-icon{width:30px;height:30px;border-radius:8px;display:grid;place-items:center}.metric-icon .icon{width:17px}.mint{background:#eaf4ec;color:#568b63}.blue{background:#edf2fa;color:#6d8bb7}.amber{background:#faf1e4;color:#c1934a}.panel{border:1px solid var(--line);border-radius:11px;background:#fff;overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:21px 23px;gap:10px;border-bottom:1px solid #f0f3ef}.panel-heading h2{font-size:14px;margin:0;font-weight:650}.app-table{font-size:12px;margin-bottom:0;vertical-align:middle;color:#5b6e60;--bs-table-color:#5b6e60}.app-table th{background:#fafbf9;font-size:10px;font-weight:500;color:#8c998d;padding:13px 18px;border-color:#f0f3ef;white-space:nowrap}.app-table th:first-child,.app-table td:first-child{padding-left:23px}.app-table td{padding:17px 18px;border-color:#f0f3ef}.app-table tbody tr:last-child td{border-bottom:0}.app-table strong,.table-title{font-size:12px;color:#3c5745;font-weight:600}.app-table small{display:block;font-size:10px;color:#94a093;margin-top:5px}.job-table th,.job-table td{padding-left:12px;padding-right:12px}.job-table{min-width:610px}.table-title:hover{text-decoration:underline}.badge{font-size:9px;font-weight:500;border-radius:5px;padding:6px 8px;white-space:nowrap}.status-done{background:#e9f4eb;color:#438457}.status-active{background:#edf2fb;color:#5a7eae}.status-late{background:#fbf0e1;color:#b38643}.status-muted{background:#eff1ef;color:#8a928b}.subtle-label{font-size:8px;color:#a1ada1;letter-spacing:1.2px}.activity-item{display:flex;gap:12px;align-items:center;color:#7e8d80;padding:17px 23px;border-bottom:1px solid #f1f4ef;font-size:11px}.activity-item:last-child{border-bottom:0}.activity-item strong{font-weight:600;color:#4c6554}.activity-item small{display:block;font-size:10px;color:#a0aa9e;margin-top:4px}.activity-item time{margin-left:auto;font-size:9px;color:#a0aa9e;text-align:right;min-width:100px}.live-label{font-size:8px;letter-spacing:1px;padding:4px 6px;background:#f1f6ee;color:#789263;border-radius:4px}.report-big-number{font-size:37px;font-weight:600;margin:20px 0 0;letter-spacing:-1px}.report-big-number span{font-size:13px;font-weight:400;color:#8d9b89;margin-left:9px;letter-spacing:0}.report-progress{display:block;width:100%;height:7px;appearance:none;border:0;border-radius:9px;background:#edf2e9;overflow:hidden}.report-progress::-webkit-progress-bar{background:#edf2e9}.report-progress::-webkit-progress-value{background:#62906a;border-radius:9px}.report-progress::-moz-progress-bar{background:#62906a}.report-stat-line{display:flex;justify-content:space-between;font-size:10px;color:#97a18f;margin-top:11px}.report-stat-line strong{color:#627d59;margin-left:5px;font-weight:600}.daily-slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:22px 0 15px}.daily-slots>div{border:1px solid #edf1e9;border-radius:7px;padding:11px 0;display:flex;flex-direction:column;gap:7px;align-items:center;color:#b2baaa}.daily-slots .icon{width:15px;height:15px}.daily-slots strong{font-size:10px;font-weight:500}.daily-slots .elapsed{background:#eff5ec;color:#79946a;border-color:#e1ebd9}.ranking-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #f1f3ee}.ranking-row:last-of-type{border:0}.rank-number{font-size:11px;color:#b6bfb0}.ranking-row strong{font-size:11px;font-weight:600;display:block}.ranking-row small{font-size:9px;color:#9ba68f}.ranking-row .score-pill{margin-left:auto}.score-pill{font-size:12px;padding:5px 9px;border-radius:6px;font-weight:700;display:inline-block;min-width:35px;text-align:center}.score-good{color:#418052;background:#eaf3e7}.score-mid{color:#ab8035;background:#fcf2dd}.score-low{color:#b66555;background:#faece8}.score-none{color:#899385;background:#f1f3ef}.getting-started{padding:23px;border:1px dashed #cfdcc9;border-radius:11px;background:#eef3e9}.getting-started ol{padding-left:18px;font-size:12px;color:#7b8c71;line-height:2}.app-footer{display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--line);margin-top:35px;padding:20px 0;color:#a2aca0;font-size:9px}.count-pill{display:inline-flex;align-items:center;justify-content:center;font-size:11px;border-radius:6px;padding:4px 8px;background:#ecf1e9;color:#6e8862;font-weight:500;vertical-align:middle;margin-left:5px;letter-spacing:0}.filter-bar{display:flex;align-items:center;gap:12px}.filter-bar .search-field{flex:1;min-width:180px}.search-field{position:relative}.search-field>.icon{position:absolute;left:14px;top:14px;color:#9aa795;width:17px;height:17px}.search-field .form-control{padding-left:40px}.filter-bar>.form-select{width:auto;max-width:240px;min-width:150px}.filter-bar>.form-control{width:auto}.filter-bar .form-control,.filter-bar .form-select{background-color:#fff;font-size:12px}.period-label{margin-left:auto;color:#7e8e74;font-size:12px}.customer-card{padding:24px;height:100%}.customer-symbol{display:grid;place-items:center;width:43px;height:43px;background:#edf3e9;color:#719164;border-radius:10px}.region-tag{font-size:9px;border:1px solid #e5ebdf;color:#7e9371;padding:5px 9px;border-radius:5px;height:fit-content}.customer-card h2{font-size:17px;font-weight:600}.customer-card h2 a{color:var(--ink)}.customer-location{font-size:11px;color:#829577;margin:13px 0 6px}.customer-location .icon{width:14px;height:14px;margin-right:4px}.address-line{font-size:12px;color:#99a38e;min-height:38px;margin-bottom:20px}.customer-counts{display:flex;flex-wrap:wrap;gap:18px;font-size:10px;color:#829572;border-bottom:1px solid #edf1e8;padding-bottom:20px}.customer-counts .icon{width:15px;height:15px;margin-right:3px}.customer-bottom{display:flex;justify-content:space-between;gap:12px;margin-top:18px;font-size:10px}.active-dot{color:#7c9670}.active-dot:before{content:"";width:5px;height:5px}.customer-bottom .text-link{font-size:10px}.section-number{font-size:11px;color:#9ab087;margin-bottom:10px;letter-spacing:1px}.section-title{margin-bottom:24px;font-weight:600}dt{font-size:11px;color:#99a58d;font-weight:400;margin:16px 0 4px}dd{font-size:13px;color:#526b46;margin:0}.task-tag{padding:7px 10px;border:1px solid #e4eddd;background:#f6f9f1;border-radius:6px;font-size:11px;color:#71955a}.person-row{display:flex;align-items:center;gap:10px;margin:17px 0}.person-row strong{display:block;font-size:12px;font-weight:600}.person-row small{display:block;font-size:10px;color:#96a58a}.choice-item{display:flex;align-items:center;gap:12px;padding:11px 13px;border:1px solid #e8eee2;border-radius:7px;font-size:12px;cursor:pointer;background:#fff}.choice-item:has(input:checked){background:#f1f7ed;border-color:#b9d3a8}.choice-item .form-check-input{margin:0}.choice-item strong{font-size:12px;font-weight:500;display:block}.choice-item small{display:block;color:#99a88b;font-size:10px;margin-top:3px}.check-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.people-check-list{display:grid;gap:8px;max-height:400px;overflow-y:auto}.form-actions{display:flex;justify-content:flex-end;gap:12px;margin:26px 0 15px}.region-preview{font-size:11px;color:#849b73;background:#f4f8ef;border-radius:6px;padding:10px 12px}.info-box{padding:16px 18px;background:#eff5ea;border:1px solid #e1ebd8;border-radius:8px;color:#6e8a57;font-size:12px;line-height:1.8}.info-box .icon{width:17px;margin-right:5px}.table-footer{padding:16px 23px;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf1e7;font-size:11px;color:#8f9d82}.work-row{display:grid;grid-template-columns:1.2fr 100px 1.5fr 38px;gap:12px;padding:18px 0;border-bottom:1px solid #edf1e7;align-items:end}.remove-row{padding:5px;width:38px;font-size:22px;color:#a08d7a}.customer-picker{max-width:600px}.job-facts{display:grid;grid-template-columns:repeat(4,1fr);padding:24px;gap:20px}.job-facts>div{border-right:1px solid #eaf0e3;padding-right:12px}.job-facts>div:last-child{border:0}.job-facts small{display:block;font-size:9px;letter-spacing:.8px;color:#9cae8b;margin-bottom:9px}.job-facts strong{display:block;font-size:14px;font-weight:600}.job-facts span{display:block;font-size:11px;color:#94a681;margin-top:4px}.job-facts strong span{display:inline;font-weight:400}.slot-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;padding:22px}.slot-item{display:flex;flex-direction:column;align-items:center;gap:7px;background:#fafbf8;border:1px solid #ebf0e5;border-radius:8px;padding:16px 5px;color:#99a98b}.slot-item.sent{background:#edf6e7;border-color:#dbeccf;color:#638e43}.slot-item .icon{width:18px}.slot-item strong{font-size:14px}.slot-item small{font-size:9px}.upload-box{display:flex;flex-direction:column;align-items:center;border:1px dashed #c2d6b1;border-radius:9px;padding:23px;background:#fafcf6;cursor:pointer}.upload-box>.icon{width:28px;height:28px;color:#89a46e;margin-bottom:9px}.upload-box strong{font-size:12px;font-weight:600}.upload-box span{font-size:10px;color:#99ac86;margin:5px 0}.upload-box .form-control{font-size:11px;background:white;min-height:35px;max-width:360px}.photo-preview,.report-images{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.photo-preview img{width:75px;height:75px;object-fit:cover;border-radius:7px}.report-images img{width:96px;height:84px;object-fit:cover;border-radius:7px;border:1px solid #e6ecdf}.timeline{padding:0 23px}.timeline-entry{padding:24px 0;border-bottom:1px solid #edf1e6}.timeline-entry:last-child{border-bottom:0}.timeline-entry strong{font-size:12px}.timeline-entry small{font-size:10px}.timeline-entry p{font-size:12px;color:#7d8c70}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}.final-entry{padding:18px 0;border-bottom:1px solid #edf1e6;font-size:12px}.final-entry:last-child{border:0}.kpi-table{min-width:970px}.kpi-table td{font-size:11px}.kpi-explainer{padding:20px 24px;color:#809371;font-size:12px}.kpi-explainer summary{font-weight:600;color:#527440;cursor:pointer}.kpi-explainer>div{padding-top:18px}.kpi-explainer li{margin-bottom:7px}.empty-state{text-align:center;padding:50px 24px;color:#94a184}.empty-state>.icon{width:32px;height:32px;color:#a9bb97;margin-bottom:15px}.empty-state h2{font-size:17px;color:#5c7747}.empty-state p{font-size:12px;max-width:430px;margin:10px auto 20px}.empty-state.compact{padding:18px}.empty-state.compact p{margin:0 auto}.app-alert{border-radius:9px;font-size:13px}.auth-body{background:#eef2eb;min-height:100vh;padding:30px;display:flex;flex-direction:column;justify-content:center;align-items:center}.auth-wrap{width:100%;max-width:1000px;display:grid;grid-template-columns:1.1fr 1fr;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 15px 70px #183c2210;min-height:580px}.auth-story{background:#194d3b;color:#ecf0e8;padding:42px;display:flex;flex-direction:column;justify-content:space-between}.auth-story .brand{color:#fff}.auth-story .brand-mark{background:#ffffff16}.auth-story .brand small{color:#9ebaab}.auth-story .eyebrow{color:#a9c7ac;margin-bottom:20px}.auth-story h1{font-size:42px;line-height:1.3;letter-spacing:-1px;margin-bottom:20px;font-weight:550}.auth-story p{font-size:13px;color:#a5c0ae;max-width:330px;line-height:1.9}.auth-story>small{font-size:10px;color:#8eae99}.paint-swatches{display:flex;gap:8px;margin-top:25px}.paint-swatches span{width:42px;height:42px;border-radius:50%;background:#9ba78a}.paint-swatches span:nth-child(2){background:#d0b08a}.paint-swatches span:nth-child(3){background:#e3decd}.paint-swatches span:nth-child(4){background:#85a3a0}.auth-form{padding:60px 48px;display:flex;flex-direction:column;justify-content:center}.auth-form h2{font-size:29px;font-weight:600;margin:9px 0}.auth-form>p{font-size:12px}.auth-note{font-size:11px;color:#9aa68f;margin-top:28px;text-align:center}.auth-body>.alert{width:100%;max-width:1000px}.setup-card{padding:38px;background:white;border:1px solid var(--line);border-radius:15px;width:100%;max-width:520px}.setup-card>p{font-size:13px}.sidebar-backdrop{display:none}
@media(min-width:1600px){.main-content{padding:40px 48px 0}.topbar{padding:0 48px}.job-table td{padding-top:20px;padding-bottom:20px}}
@media(max-width:1199px){:root{--sidebar:222px}.sidebar{padding-left:12px;padding-right:12px}.sidebar .brand{margin-left:8px;gap:8px;font-size:17px}.brand small{font-size:7px}.nav-link{font-size:11px;padding:12px}.profile{margin:0 -12px;padding:17px}.main-content{padding:26px 24px 0}.topbar{padding:0 24px}.metric-card{padding:17px}.banner-art{width:210px;margin-right:0}.metric-grid{gap:12px}.filter-bar{flex-wrap:wrap}.filter-bar .search-field{min-width:220px}.metric-card small{font-size:9px}.job-facts{grid-template-columns:1fr 1fr}.job-facts>div:nth-child(2){border:0}.overview-banner{padding:25px}.overview-banner h2{font-size:23px}}
@media(max-width:767px){:root{--sidebar:250px}.sidebar{transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.sidebar-backdrop.open{display:block;position:fixed;inset:0;background:#152c2266;z-index:29}.app-shell{margin-left:0}.mobile-menu{display:flex}.topbar{height:62px;padding:0 18px}.breadcrumb-text{font-size:10px}.breadcrumb-text>span{margin:0 6px}.today-label{display:none}.main-content{padding:24px 18px 0}.page-heading{gap:14px;align-items:flex-start;flex-wrap:wrap;margin-bottom:22px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px}.page-heading>.btn{font-size:11px;min-height:38px}.overview-banner{padding:23px;min-height:173px}.overview-banner h2{font-size:21px;max-width:260px}.overview-banner p{max-width:230px;font-size:11px}.banner-art{width:110px;transform:scale(.65);transform-origin:center right;opacity:.75;position:absolute;right:65px;bottom:-5px}.overview-banner>div:first-child{position:relative;z-index:4}.banner-label{font-size:7px}.metric-grid{grid-template-columns:1fr 1fr;gap:12px}.metric-card{padding:16px}.metric-card>strong{font-size:28px}.metric-icon{width:26px;height:26px}.metric-card small{font-size:9px}.metric-card>span,.metric-top>span:first-child{font-size:10px}.panel-heading{padding:18px}.panel-heading h2{font-size:13px}.panel-heading .text-link{font-size:10px}.activity-item{padding:16px 18px;align-items:flex-start}.activity-item time{min-width:64px;font-size:8px}.activity-item .avatar{width:28px;height:28px;font-size:9px}.app-footer{font-size:8px}.filter-bar .search-field{width:100%;flex-basis:100%}.filter-bar>.form-select{flex:1;max-width:none;min-width:130px}.filter-bar>.form-control{flex:1}.period-label{margin-left:0;font-size:10px;width:100%}.work-row{grid-template-columns:1fr 90px 38px;gap:10px}.work-row>div:nth-child(3){grid-column:1/3;grid-row:2}.work-row .remove-row{grid-column:3;grid-row:2}.work-row>div:first-child{grid-column:1/3;grid-row:1}.work-row>div:nth-child(2){grid-column:1/3;grid-row:3}.job-facts{padding:20px;gap:20px}.job-facts strong{font-size:12px}.job-facts small{font-size:8px}.slot-grid{gap:7px;padding:16px}.slot-item{padding:13px 3px}.slot-item small{font-size:8px}.slot-item strong{font-size:12px}.auth-body{padding:18px}.auth-wrap{grid-template-columns:1fr;max-width:480px;min-height:0}.auth-story{padding:26px;gap:25px}.auth-story>div:nth-child(2),.auth-story>small{display:none}.auth-form{padding:30px 26px}.auth-form h2{font-size:26px}.setup-card{padding:28px 23px}.p-4{padding:21px!important}.check-grid{grid-template-columns:1fr}.customer-card{padding:22px}.kpi-explainer{padding:20px}.timeline{padding:0 19px}.report-images img{width:80px;height:75px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

/* Final UI pass: readable hierarchy, clear feedback, touch-friendly layouts. */
:root{--muted:#6e7e73}
body{font-size:14px;-webkit-font-smoothing:antialiased}
h1,h2,h3{color:#213e31}
a,button,.choice-item{transition:background-color .16s,color .16s,border-color .16s,box-shadow .16s}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #70a78b;outline-offset:3px;border-radius:5px}
.btn{font-size:13px}.btn:disabled{opacity:.55;cursor:wait}
.brand:hover{color:#126549}.brand small{font-size:8px}
.workspace-label{font-size:10px;color:#77877b;letter-spacing:1.1px}
.nav-link{font-size:13px;padding:13px 14px}.nav-link.active{box-shadow:inset 3px 0 #126549}
.profile strong{font-size:13px}.profile small{font-size:11px;color:#718375}
.profile:hover{background:#f3f7f1}.system-status{font-size:12px}.system-status small{font-size:11px;color:#758572}
.breadcrumb-text,.today-label{font-size:12px}.breadcrumb-text{color:#748477}
.page-heading h1{font-size:29px}.page-heading p{font-size:13px;color:#708174;line-height:1.8}
.eyebrow{font-size:10px;color:#728973;letter-spacing:1.5px}
.overview-banner{background:linear-gradient(110deg,#e8f0e6,#edf2e9);padding:28px 34px;min-height:192px}
.banner-label{font-size:9px;color:#56835e;letter-spacing:1.3px}.overview-banner h2{font-size:27px}
.overview-banner p{font-size:13px;color:#607b5d}.overview-banner a{font-size:12px}
.metric-card{box-shadow:0 2px 3px #253c2a02}.metric-top>span:first-child,.metric-card>span{font-size:13px;color:#647767}
.metric-card>strong{font-size:34px;line-height:1.3;margin:12px 0 8px}.metric-card small{font-size:11px;color:#7a8876}
.metric-icon{width:34px;height:34px}.metric-icon .icon{width:19px}
.panel-heading h2{font-size:15px}.text-link{font-size:13px}.text-link:hover{text-decoration:underline;text-underline-offset:4px}
.app-table{font-size:13px}.app-table th{font-size:11px;color:#687d6c;font-weight:600;background:#f8faf7;padding-top:15px;padding-bottom:15px}
.app-table strong,.table-title{font-size:13px}.app-table small{font-size:11px;color:#71836d;line-height:1.6}
.app-table tbody tr:hover>td{background:#fafcf8}.app-table td{padding-top:19px;padding-bottom:19px}
.badge{font-size:11px;padding:6px 9px;font-weight:500}.status-done{color:#2f7144}.status-active{color:#436b9a}.status-late{color:#976c29}
.icon-button{width:38px;height:38px}.icon-button:hover{border-color:#a7c3af}.count-pill{font-size:12px}
.activity-item{font-size:12px}.activity-item small,.activity-item time{font-size:11px;color:#71836d}.activity-item:hover{background:#f8fbf5}
.report-stat-line{font-size:12px;color:#6f8067}.report-big-number span{font-size:14px;color:#75856b}
.daily-slots strong{font-size:12px}.daily-slots>div{color:#7e916f}.daily-slots .elapsed{color:#537b3f}
.live-label{font-size:9px;color:#617e4d}.ranking-row strong{font-size:13px}.ranking-row small{font-size:11px;color:#758868}
.rank-number{font-size:12px;color:#849678}.score-pill{font-size:13px}.subtle-label{font-size:9px;color:#72876b}
.customer-card{transition:border-color .18s,box-shadow .18s}.customer-card:hover{border-color:#c6d8bc;box-shadow:0 7px 24px #30502707}
.customer-card h2{font-size:18px}.customer-location{font-size:13px;color:#678653}.address-line{font-size:13px;color:#738663}
.customer-counts{font-size:12px;color:#6f845e}.customer-bottom,.customer-bottom .text-link{font-size:12px}.region-tag{font-size:11px;color:#67864f}
.active-dot{color:#5b7f43}.section-number{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:8px;background:#eff5e9;color:#66844d;font-weight:650;letter-spacing:0}
.form-label{font-size:14px}.form-text{font-size:12px;color:#6b805c}.choice-item{font-size:13px;min-height:46px}
.choice-item:hover{border-color:#9fbc88;background:#f6faf1}.choice-item strong{font-size:13px}.choice-item small{font-size:11px;color:#6b805a}
.people-check-list{gap:10px}.person-row strong{font-size:13px}.person-row small{font-size:12px;color:#6e815d}
dt{font-size:12px;color:#748665}dd{font-size:14px}.task-tag{font-size:12px;color:#5f7f44}
.filter-bar .form-control,.filter-bar .form-select{font-size:13px}.search-field>.icon{top:14px}.filter-bar{gap:12px}
.info-box{font-size:13px;color:#567640;border-color:#dce9d0}.empty-state h2{font-size:18px}.empty-state p{font-size:13px;color:#718562}
.job-facts small{font-size:10px;color:#748a62}.job-facts strong{font-size:15px}.job-facts span{font-size:12px;color:#71875e}
.slot-item small{font-size:11px;color:#6e825a}.slot-item strong{font-size:15px}.slot-item .icon{width:20px}
.upload-box strong{font-size:14px}.upload-box span{font-size:12px;color:#6d8459}.upload-box:hover{border-color:#70944b;background:#f3f8ed}
.upload-box .form-control{font-size:13px}.timeline-entry strong{font-size:13px}.timeline-entry small{font-size:11px}
.timeline-entry p,.final-entry{font-size:13px;color:#61754c}.kpi-explainer{font-size:13px;color:#667c52}
.kpi-table td{font-size:13px}.kpi-table th{font-size:11px}.table-footer{font-size:12px;color:#71865b}
.app-footer{font-size:11px;color:#788a68}.mobile-bottom-nav{display:none}
.auth-form>p{font-size:14px}.auth-form h2{font-size:32px}.auth-story p{font-size:15px}.auth-note{font-size:12px!important}
.auth-story>small{font-size:12px}.setup-card>p{font-size:14px}.back-link{font-size:13px}.back-link:hover{text-decoration:underline}
.form-actions{position:sticky;bottom:16px;z-index:5;padding:13px 17px;background:#fffffff2;border:1px solid #e2eade;border-radius:10px;box-shadow:0 5px 24px #1f3a1e08;backdrop-filter:blur(8px)}
@media(max-width:1199px){.nav-link{font-size:12px}.metric-card small{font-size:11px}.metric-top>span:first-child{font-size:12px}.app-table th,.app-table td{padding-left:14px;padding-right:14px}.job-table{min-width:650px}}
@media(max-width:767px){
body{font-size:14px}.topbar{position:sticky;top:0;z-index:20;background:#fffffff5;backdrop-filter:blur(12px);height:62px}
.breadcrumb-text{font-size:11px}.page-heading h1{font-size:26px}.page-heading p{font-size:13px}.page-heading>.btn{font-size:13px;min-height:44px}
.main-content{padding-bottom:72px}.app-footer{font-size:10px;flex-wrap:wrap;padding-bottom:22px}
.eyebrow{font-size:9px}.overview-banner{padding:22px;min-height:187px}.overview-banner h2{font-size:23px;max-width:230px}.overview-banner p{font-size:12px;max-width:215px}.banner-label{font-size:8px;max-width:230px;display:block}
.banner-art{right:43px;opacity:.48;transform:scale(.6);bottom:-12px}.overview-banner a{font-size:12px}
.metric-card{padding:16px}.metric-card>strong{font-size:30px}.metric-card small{font-size:11px;line-height:1.6}.metric-top>span:first-child,.metric-card>span{font-size:12px}.metric-icon{width:29px;height:29px}
.panel-heading h2{font-size:14px}.panel-heading .text-link{font-size:12px}
.form-control,.form-select{font-size:16px;min-height:46px}.filter-bar .form-control,.filter-bar .form-select{font-size:16px}
.btn{min-height:44px;font-size:14px}.btn-sm{font-size:12px}.form-label{font-size:14px}
.icon-button{height:40px;width:40px}.form-check-input{width:18px;height:18px}.choice-item{min-height:52px;padding:13px}.choice-item strong{font-size:14px}
.slot-grid{padding:16px;gap:7px}.slot-item{padding:15px 3px}.slot-item small{font-size:10px;line-height:1.4;min-height:28px;text-align:center}.slot-item strong{font-size:15px}
.job-facts strong{font-size:14px}.job-facts small{font-size:10px}.job-facts span{font-size:12px}
.job-table{min-width:0;display:block}.job-table thead{display:none}.job-table tbody{display:block;padding:0 17px}
.job-table tr{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:21px 0;border-bottom:1px solid #e7eee1}
.job-table tr:last-child{border-bottom:0}.job-table td{display:block;padding:0!important;border:0;font-size:13px;background:transparent!important}
.job-table td:first-child{grid-column:1/-1}.job-table .table-title{font-size:16px}.job-table td small{font-size:12px;margin-top:4px}
.job-table td[data-label]:before{content:attr(data-label);display:block;color:#7b9066;font-size:10px;margin-bottom:6px;letter-spacing:.3px}
.job-table td:nth-child(4){align-self:center}.job-table td:nth-child(5){justify-self:end}
.job-table .small-avatar{width:25px;height:25px}.job-table .badge{font-size:11px}
.activity-item{font-size:12px;padding:18px;flex-wrap:wrap}.activity-item>div{flex:1;min-width:200px}.activity-item time{margin-left:40px;text-align:left;font-size:11px}
.subtle-label{font-size:8px}.form-actions{bottom:78px;margin-bottom:4px}
.mobile-bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;height:68px;padding:7px 12px max(7px,env(safe-area-inset-bottom));background:#fffffff7;border-top:1px solid #e1e9da;backdrop-filter:blur(12px);z-index:25;box-shadow:0 -5px 24px #29411a05}
.mobile-bottom-nav a{display:flex;flex:1;align-items:center;justify-content:center;flex-direction:column;gap:3px;border-radius:10px;color:#71835c;font-size:10px;font-weight:600}
.mobile-bottom-nav a .icon{width:21px;height:21px}.mobile-bottom-nav a.active{color:#126549;background:#edf5e8}.mobile-bottom-nav a:hover{background:#f0f5eb;color:#126549}
.work-row{grid-template-columns:1fr 90px 38px;gap:12px}.work-row>div:first-child{grid-column:1/3;grid-row:1}.work-row>div:nth-child(2){grid-column:1/3;grid-row:2}.work-row>div:nth-child(3){grid-column:1/3;grid-row:3}.work-row .remove-row{grid-column:3;grid-row:3}
.customer-counts{font-size:12px}.customer-location{font-size:13px}.address-line{font-size:13px}.customer-bottom{font-size:12px}
}

/* Nested task forms keep their submit action in normal flow. */
section .form-actions{position:static;bottom:auto;padding:16px 0 0;border:0;box-shadow:none;background:transparent;backdrop-filter:none;margin:20px 0 0}
@media(max-width:767px){.work-row>div:first-child{grid-column:1/-1}.work-row>div:nth-child(2){grid-column:1/3}.work-row .remove-row{grid-column:3;grid-row:2}.work-row>div:nth-child(3){grid-column:1/-1;grid-row:3}}

.otp-input{font-size:1.5rem;letter-spacing:.3em;font-weight:700}.qr-frame{background:#fff;border:1px solid #dce5df;border-radius:16px;padding:16px;width:fit-content;max-width:100%;margin:0 auto 24px}.qr-frame svg{display:block;max-width:100%;height:auto}.setup-secret{display:block;overflow-wrap:anywhere;font-size:1rem;padding:12px;background:#f2f6f3;margin:12px 0}.recovery-panel{border:2px solid #c99932;background:#fffaf0}.recovery-code{display:block;font-size:1.25rem;font-weight:700;overflow-wrap:anywhere;letter-spacing:.04em}.two-factor-setup ol{padding-left:20px}.two-factor-setup li{margin-bottom:12px}

.daily-report-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.daily-report-card{min-width:0;border:1px solid #dce5df;border-radius:12px;padding:20px;background:#fff}.daily-report-card p{overflow-wrap:anywhere}@media(min-width:1600px){.daily-report-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:767px){.daily-report-grid{grid-template-columns:1fr}}

.avatar{overflow:hidden;flex-shrink:0}.avatar img{width:100%;height:100%;object-fit:cover;display:block}

.auth-story h1{color:#fff}.auth-story p,.auth-story .eyebrow,.auth-story .brand small,.auth-story>small{color:#d4e6dc}.auth-note{color:#586b60}@media(max-width:767px){.own-job-table td:last-child{justify-self:end}.own-job-table td:nth-child(3){align-self:center}}

.slot-item.sent{background:#deefe3;border-color:#8ebca0;color:#16583c}.slot-item.selected{outline:2px solid #176849;outline-offset:2px}.slot-item:hover{border-color:#176849}

.photo-dialog{width:min(1100px,96vw);max-width:96vw;max-height:94dvh;padding:16px;border:0;border-radius:16px;background:#fff;color:#25332d;box-shadow:0 16px 60px #0004}.photo-dialog::backdrop{background:rgba(0,0,0,.82)}.photo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px}.photo-dialog button{border:1px solid #d8dfda;background:#f3f5f4;color:#25332d;border-radius:9px;min-width:44px;min-height:44px;font-size:28px;line-height:1;cursor:pointer}.photo-dialog button:hover{background:#e5ebe7}.photo-dialog button:focus-visible{outline:3px solid #176849;outline-offset:3px}.photo-stage{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px;min-height:120px}.photo-full{display:block;min-width:0;max-width:calc(100% - 112px);max-height:70dvh;object-fit:contain}.photo-caption{margin:12px 0 0;text-align:center;color:#52635a;overflow-wrap:anywhere}.photo-count{font-variant-numeric:tabular-nums}.report-images a{cursor:zoom-in}@media(max-width:575px){.photo-dialog{padding:10px}.photo-stage{gap:6px}.photo-full{max-width:calc(100% - 100px);max-height:65dvh}}
/* Center icon geometry independently of font baselines and button padding. */
.photo-dialog button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;padding:0;box-sizing:border-box}
.photo-dialog button[hidden]{display:none}
.photo-dialog button svg{display:block;width:22px;height:22px;flex:none;margin:0}
.icon-button{padding:0;flex-shrink:0;line-height:1}
.icon-button .icon{display:block;width:18px;height:18px;margin:0}
.btn>.icon,.nav-link>.icon,.brand-mark>.icon{display:block;align-self:center}
.pagination{--bs-pagination-color:#176849;--bs-pagination-active-bg:#176849;--bs-pagination-active-border-color:#176849;--bs-pagination-focus-box-shadow:0 0 0 3px #17684925}.pagination .page-link{min-width:40px;min-height:40px;display:flex;align-items:center;justify-content:center;border-radius:8px}.table-footer{flex-wrap:wrap;gap:12px}

.date-filter-field{display:flex;flex-direction:column;gap:5px;font-size:13px;font-weight:600}.filter-bar:has(.date-filter-field){align-items:flex-end;flex-wrap:wrap}

.date-input-wrap{position:relative;display:block}.date-input-wrap>.form-control{padding-right:46px}.date-calendar-button{position:absolute;right:4px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;border:0;border-radius:7px;background:transparent;color:#52635a;cursor:pointer}.date-calendar-button:hover{background:#edf3ef;color:#176849}.date-calendar-button:focus-visible{outline:2px solid #176849}.date-calendar-picker{position:absolute;right:4px;bottom:0;width:1px;height:1px;opacity:0;pointer-events:none}
.date-filter-field select[name=month]{padding-right:40px;min-width:115px}

.kpi-table.kpi-compact{min-width:480px}
.kpi-table.kpi-compact tr>:nth-child(n+3):nth-child(-n+7),.kpi-table.kpi-compact tr>:nth-child(9),.kpi-table.kpi-compact tr>:nth-child(10){display:none}