:root{--green:#0a5f43;--dark:#10251c;--mint:#e9f7ef;--line:#dde7e1;--muted:#697970;--bg:#f4f7f4;--danger:#a62b2b}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--dark);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}button,input{font:inherit}button{cursor:pointer}.hidden{display:none!important}.login-gate{position:fixed;inset:0;z-index:50;background:radial-gradient(circle at 20% 10%,#dfff6c33,transparent 30%),linear-gradient(150deg,#073c2b,#0d7251);display:grid;place-items:center;padding:18px}.login-card{width:min(430px,100%);background:#fff;border-radius:28px;padding:34px;box-shadow:0 30px 90px #0018}.login-card img{width:72px;height:72px;border-radius:20px}.login-card>span{display:block;color:var(--green);font-size:11px;font-weight:900;letter-spacing:.15em;margin-top:18px}.login-card h1{font-size:32px;margin:7px 0}.login-card p{color:var(--muted);margin:0 0 22px}.login-card label{display:block;font-size:12px;font-weight:800;margin:12px 0}.login-card input{display:block;width:100%;padding:14px;border:1px solid var(--line);border-radius:12px;margin-top:6px;outline:none}.login-card input:focus{border-color:var(--green);box-shadow:0 0 0 3px #0a5f4315}.login-card button{width:100%;border:0;border-radius:13px;padding:14px;background:var(--green);color:#fff;font-weight:850;margin-top:10px}.login-card .login-install{background:#fff;color:var(--green);border:1px solid #bdd9cb}.login-card a{display:block;text-align:center;color:var(--green);font-weight:750;font-size:12px;margin-top:18px}.message{min-height:22px;color:var(--danger);font-size:12px;margin-top:10px}.app{min-height:100vh}header{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(18px,calc((100vw - 1000px)/2));position:sticky;top:0;z-index:10}.brand{display:flex;align-items:center;gap:10px}.brand img{width:46px;height:46px;border-radius:13px}.brand b,.brand small{display:block}.brand small{font-size:11px;color:var(--muted)}.header-actions{display:flex;gap:7px}.soft{border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 12px;font-weight:750;color:var(--green)}.icon-button{display:inline-flex;align-items:center;gap:6px}.icon-button svg,nav svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}main{max-width:1000px;margin:auto;padding:24px}.welcome{background:linear-gradient(135deg,#073c2b,#0c7853);color:#fff;border-radius:25px;padding:26px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 18px 50px #0a5f4325}.welcome small{color:#c8e5d7;font-weight:850;letter-spacing:.12em}.welcome h1{margin:6px 0 3px;font-size:30px}.welcome p{margin:0;color:#c8e5d7}.live-dot{background:#ffffff17;border:1px solid #ffffff2c;border-radius:30px;padding:8px 12px;font-size:12px}.live-dot i{display:inline-block;width:8px;height:8px;background:#dfff6c;border-radius:50%;margin-right:6px;box-shadow:0 0 0 5px #dfff6c20}nav{display:flex;gap:8px;background:#e8eeea;padding:5px;border-radius:14px;margin:20px 0}nav button{flex:1;border:0;background:transparent;padding:12px;border-radius:11px;font-weight:800;color:#64736b;display:flex;align-items:center;justify-content:center;gap:6px}nav button.active{background:#fff;color:var(--green);box-shadow:0 3px 10px #19332710}nav b{background:#dce8e1;padding:3px 7px;border-radius:8px;margin-left:4px}.delivery-card{background:#fff;border:1px solid var(--line);border-radius:21px;padding:20px;margin-bottom:14px;box-shadow:0 10px 30px #10251c08}.card-top{display:flex;justify-content:space-between;gap:15px}.card-top h2{font-size:18px;margin:0}.card-top small{display:block;color:var(--muted);margin-top:4px}.status{display:inline-flex;height:max-content;border-radius:9px;background:#eef5f1;color:var(--green);padding:6px 9px;font-size:11px;font-weight:850;text-transform:capitalize}.customer-box{background:#f5f8f6;border-radius:14px;padding:14px;margin:14px 0}.customer-box h3{margin:0 0 5px;font-size:16px}.customer-box p{color:#5c6d64;margin:4px 0;font-size:13px}.quick-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.quick-actions a{color:var(--green);background:#fff;border:1px solid var(--line);border-radius:9px;padding:8px 10px;text-decoration:none;font-size:12px;font-weight:800}.items{border-top:1px solid var(--line);margin-top:12px}.item-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;padding:10px 0;border-bottom:1px solid #edf1ee;font-size:13px}.item-row small{display:block;color:var(--muted)}.payment{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#fff8df;border:1px solid #f0df9f;border-radius:13px;padding:13px;margin-top:14px}.payment.paid{background:var(--mint);border-color:#c7e7d5}.payment small{display:block;color:#765c17}.payment.paid small{color:#47705c}.payment b{font-size:20px}.eta{color:var(--green);font-size:12px;font-weight:800;margin-top:11px}.order-progress{margin-top:16px;padding:13px;border:1px solid var(--line);border-radius:16px;background:#fbfcfb}.progress-step{width:100%;position:relative;display:flex;align-items:center;gap:11px;border:0;background:transparent;color:#7b8881;padding:8px 7px;text-align:left}.progress-step.next{background:#eaf7ef;color:var(--green);border:1px solid #c8e6d5;border-radius:12px;box-shadow:0 5px 15px #0a5f4310}.progress-step.next:hover{background:#dcf2e5}.progress-step.done{color:var(--dark)}.progress-step.delivery-next{color:var(--green)}.step-icon{position:relative;z-index:1;flex:0 0 34px;width:34px;height:34px;border:2px solid #d7dfda;background:#fff;border-radius:11px;display:grid;place-items:center}.step-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.step-icon:after{content:"";position:absolute;top:32px;left:14px;width:2px;height:18px;background:#dce4df}.progress-step:nth-child(5) .step-icon:after{display:none}.progress-step.done .step-icon{border-color:var(--green);background:var(--green);color:#fff}.step-icon b{font-size:17px}.step-copy{min-width:0;flex:1}.step-copy strong,.step-copy small{display:block}.step-copy strong{font-size:13px}.step-copy small{font-size:10px;color:var(--muted);margin-top:2px}.step-arrow{font-size:25px;font-weight:900}.progress-cancelled{background:#fff0f0;color:var(--danger);border-radius:10px;padding:10px;margin-top:7px;font-size:11px;font-weight:800}.primary-action{width:100%;border:0;background:var(--green);color:#fff;border-radius:13px;padding:14px;font-weight:850;margin-top:14px}.waiting{background:#f3f5f3;color:var(--muted);padding:13px;border-radius:12px;margin-top:13px;text-align:center;font-size:12px}.delivery-note{width:100%;border:1px solid var(--line);border-radius:11px;padding:12px;margin-top:14px}.slider-wrap{position:relative;margin-top:10px;background:#e4ebe7;border-radius:16px;padding:4px;overflow:hidden}.slider-wrap:before{content:"Slide to mark delivered →";position:absolute;inset:0;display:grid;place-items:center;color:#53685d;font-size:12px;font-weight:850;pointer-events:none}.delivery-slider{position:relative;z-index:2;width:100%;height:52px;appearance:none;background:transparent;margin:0}.delivery-slider::-webkit-slider-thumb{appearance:none;width:48px;height:48px;border-radius:13px;background:var(--green);box-shadow:0 2px 10px #0003;cursor:grab}.delivery-slider::-moz-range-thumb{width:48px;height:48px;border:0;border-radius:13px;background:var(--green);box-shadow:0 2px 10px #0003}.delivered{background:var(--mint);color:var(--green);padding:13px;border-radius:12px;margin-top:13px;font-size:12px;font-weight:800}.empty{text-align:center;background:#fff;border:1px solid var(--line);border-radius:20px;padding:55px 20px;color:var(--muted)}.install-help{position:fixed;inset:0;z-index:100;background:#06170fb3;display:grid;place-items:center;padding:18px}.install-sheet{position:relative;width:min(420px,100%);background:#fff;border-radius:24px;padding:27px;box-shadow:0 30px 80px #0005}.install-sheet>img{width:68px;height:68px;border-radius:18px}.install-sheet h2{margin:14px 0 8px}.install-sheet p{color:var(--muted);line-height:1.55}.install-close{position:absolute;right:15px;top:13px;width:36px;height:36px;border:0;background:#eef2ef;color:var(--dark);border-radius:50%;font-size:24px}.toast{position:fixed;left:50%;bottom:20px;transform:translate(-50%,100px);background:var(--dark);color:#fff;padding:13px 17px;border-radius:12px;z-index:110;transition:.25s}.toast.show{transform:translate(-50%,0)}@media(max-width:600px){header{padding:0 12px}.header-actions .soft{padding:9px;font-size:11px}.brand{gap:7px}.brand img{width:41px;height:41px}.brand b{font-size:13px}.brand small{font-size:9px}main{padding:15px}.welcome{padding:21px;border-radius:20px}.welcome h1{font-size:24px}.card-top{display:block}.status{margin-top:8px}.delivery-card{padding:15px}.item-row{grid-template-columns:1fr auto}.item-row>b{grid-column:2}.payment b{font-size:17px}.order-progress{padding:9px}}@media(max-width:420px){.header-actions .icon-button{padding:9px}.header-actions .icon-button:last-child span{display:none}.header-actions{gap:4px}.brand small{display:none}}
