:root{color-scheme:dark;--bg:#101918;--surface:#182321;--surface-2:#1d2926;--line:#31413d;--text:#f4f4eb;--muted:#a3b2ac;--teal:#b9f269;--teal-dark:#24351c;--orange:#ffbd75;--red:#ff917b;--font:'Manrope',system-ui,sans-serif;--mono:'DM Mono',ui-monospace,monospace}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;min-width:320px;background:var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.5;background-image:radial-gradient(ellipse at 86% 4%,rgba(113,169,91,.12),transparent 30rem)}
button,input,textarea{font:inherit}
button,a,label{ -webkit-tap-highlight-color:transparent }
button{color:inherit}
.app-shell{width:min(100%,520px);margin:0 auto;padding:0 22px 38px}
.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(147,171,157,.15)}
.brand{display:flex;align-items:center;gap:10px;color:var(--text);text-decoration:none}
.brand>span:last-child{display:flex;flex-direction:column;line-height:1}
.brand strong{font-size:20px;letter-spacing:-1.3px;font-weight:800}
.brand small{font-family:var(--mono);font-size:9px;letter-spacing:2.7px;color:var(--teal);margin-top:5px}
.brand-mark{width:26px;height:26px;border:1px solid #536a58;border-radius:8px;display:grid;grid-template-columns:repeat(3,3px);gap:3px;align-content:center;justify-content:center;transform:rotate(-8deg)}
.brand-mark span{height:10px;border-radius:3px;background:var(--teal)}.brand-mark span:nth-child(2){height:16px;margin-top:-3px}.brand-mark span:nth-child(3){height:7px;margin-top:3px}
.top-pill,.review-tag{display:inline-flex;align-items:center;gap:7px;border:1px solid #33433e;background:rgba(25,36,32,.8);border-radius:100px;padding:6px 10px;font:500 10px var(--mono);letter-spacing:1px;color:#c5d3c8}
.live-dot,.review-tag span{width:7px;height:7px;display:inline-block;background:var(--teal);border-radius:50%;box-shadow:0 0 10px #b9f25570}
.install-button,.icon-button{width:36px;height:36px;border-radius:50%;border:1px solid var(--line);background:var(--surface);font-size:23px;line-height:1;cursor:pointer}
.topbar .install-button:not([hidden]){margin-left:auto;margin-right:10px}
main{padding-top:27px}
.intro{padding:9px 0 27px}
.eyebrow{margin:0 0 8px;color:#9bad9e;font:500 10px var(--mono);letter-spacing:1.65px}
h1{font-size:clamp(39px,11vw,57px);line-height:1.01;letter-spacing:-2.7px;margin:0;font-weight:700}
h1 em{font-style:normal;color:var(--teal)}
.intro-copy{margin:15px 0 0;color:var(--muted);font-size:14px}
.scan-card,.order-card{border:1px solid var(--line);background:linear-gradient(145deg,rgba(29,42,37,.98),rgba(22,32,29,.97));border-radius:18px;padding:18px;margin-bottom:18px;box-shadow:0 12px 30px #00000014}
.scan-card{border-color:#495a45;position:relative;overflow:hidden}
.scan-card:after{content:"";position:absolute;top:-50px;right:-40px;width:145px;height:145px;border-radius:50%;background:#c9f87c0b;pointer-events:none}
.scan-card-top,.section-heading,.change-copy,.payment-row,.form-actions,.route-buttons{display:flex;align-items:center}
.scan-card-top{gap:12px}
.scan-icon{width:42px;height:42px;display:grid;place-items:center;background:var(--teal-dark);border:1px solid #607c4b;border-radius:12px;color:var(--teal);flex:0 0 auto}
.scan-icon svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
h2{font-size:19px;letter-spacing:-.55px;line-height:1.2;margin:0;font-weight:700}
.scan-card h2{font-size:18px}
.scan-hint{margin:13px 0 16px;color:#aab8af;font-size:13px;max-width:330px}
.scan-button{min-height:51px;display:flex;align-items:center;justify-content:center;gap:10px;border-radius:11px;background:var(--teal);color:#182116;font-weight:800;font-size:14px;cursor:pointer;position:relative;z-index:1;transition:filter .15s,transform .15s}
.scan-button:active,.primary-button:active{transform:scale(.99)}.scan-button:hover{filter:brightness(1.05)}
.camera-icon{font-size:20px;line-height:1;font-weight:700}.button-end{font-size:20px;font-weight:500;position:absolute;right:14px;top:50%;transform:translateY(-51%)}
.text-action{display:block;padding:11px 0 0;border:0;background:none;color:#b8c5bd;text-decoration:underline;text-decoration-color:#6d8075;text-underline-offset:3px;font-size:12px;cursor:pointer}.text-action:hover{color:var(--teal)}.text-action.compact{padding:4px 0;font-size:12px}
.ocr-status{display:flex;align-items:center;gap:9px;margin-top:13px;padding:10px 12px;border-radius:9px;background:#111b18;color:#cad5ce;font-size:12px}
.loader{width:15px;height:15px;border:2px solid #6b7b6f;border-top-color:var(--teal);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.section-heading{justify-content:space-between;gap:10px;margin-bottom:18px}.section-heading .eyebrow{margin-bottom:5px}.review-tag{font-size:9px;padding:5px 8px;color:#c8d2c8}.review-tag span{width:6px;height:6px;background:var(--orange);box-shadow:none}
.field-label{display:block;font-size:13px;font-weight:700;margin:16px 0 7px}.field-label span{font-size:11px;font-weight:500;color:#899992;margin-left:4px}
textarea,input[type="text"]{width:100%;border:1px solid #40504a;background:#111a18;border-radius:10px;padding:12px 13px;color:var(--text);outline:none;font-size:15px;transition:border-color .15s,box-shadow .15s}
textarea{resize:vertical;min-height:68px;line-height:1.4}input[type="text"]{height:48px}
textarea::placeholder,input::placeholder{color:#708078}textarea:focus,input:focus{border-color:#a1cf64;box-shadow:0 0 0 3px #b9f26917}
.saved-hint{margin:8px 0 -7px;padding:8px 10px;border-radius:8px;border:1px solid #43583b;background:#222f20;color:#d4e5c4;font-size:11px}
.input-with-action{display:flex;gap:8px}.input-with-action input{min-width:0}.save-portal{flex:0 0 48px;width:48px;height:48px;border-radius:10px;border:1px solid #4d6144;background:#283b24;color:var(--teal);font-size:22px;cursor:pointer}.save-portal:hover{background:#30462b}
.field-note{margin:6px 0 0;color:#8f9e96;font-size:11px;line-height:1.4}
.money-field{height:48px;display:flex;align-items:center;border:1px solid #40504a;background:#111a18;border-radius:10px;padding:0 13px;transition:border-color .15s,box-shadow .15s}.money-field:focus-within{border-color:#a1cf64;box-shadow:0 0 0 3px #b9f26917}.money-field>span{font-size:15px;font-weight:700;color:#9bab9f;margin-right:8px}.money-field input{height:100%;border:0!important;background:transparent!important;box-shadow:none!important;padding:0;font-variant-numeric:tabular-nums}
.payment-row{justify-content:space-between;gap:10px;margin-top:19px}.payment-row .field-label{margin:0 0 2px}.payment-row .field-note{margin:0}
.segmented{display:flex;padding:3px;border:1px solid #3b4b45;border-radius:9px;background:#111a18}.segment{border:0;border-radius:6px;background:transparent;color:#9eaca5;padding:7px 10px;font-size:11px;font-weight:700;cursor:pointer}.segment.active{background:#344139;color:#f4f4eb;box-shadow:inset 0 0 0 1px #526351}.segment#paidBtn.active{background:#263b2b;color:#ccedaa}
.change-panel{margin-top:14px;padding:13px 14px;border:1px solid #60533d;border-radius:11px;background:linear-gradient(110deg,#352f24,#272a22);display:flex;align-items:center;justify-content:space-between;gap:10px;transition:opacity .15s,border-color .15s}.change-panel.is-paid{border-color:#435c47;background:linear-gradient(110deg,#25372b,#202d27)}.change-copy{gap:11px}.change-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:50%;background:#52442c;color:var(--orange);font:500 15px var(--mono)}.is-paid .change-icon{background:#344b37;color:#c5eb9a}.change-copy>div{display:flex;flex-direction:column;line-height:1.15;gap:4px}.change-label{font:500 9px var(--mono);letter-spacing:1px;color:#d4ba91}.is-paid .change-label{color:#aec29d}.change-copy strong{font-size:19px;letter-spacing:-.5px;font-variant-numeric:tabular-nums}.change-caption{max-width:125px;text-align:right;font-size:10px;color:#bdac91;line-height:1.3}.is-paid .change-caption{color:#9eafa2}
.form-actions{gap:10px;margin-top:17px}.primary-button{flex:1;min-height:48px;border:0;border-radius:10px;background:var(--teal);color:#172116;font-size:14px;font-weight:800;cursor:pointer;transition:transform .15s,filter .15s}.primary-button:hover{filter:brightness(1.06)}.quiet-button{min-height:48px;padding:0 14px;border:1px solid #41514b;border-radius:10px;background:#202b28;color:#c1cdc5;font-size:12px;font-weight:700;cursor:pointer}.quiet-button:hover{border-color:#718273}
.route-actions{border-top:1px solid #34433d;margin-top:18px;padding-top:15px}.route-ready{display:flex;align-items:center;gap:8px;margin:0 0 11px;color:#c2d0c7;font-size:11px}.route-ready .live-dot{width:6px;height:6px}.route-buttons{gap:9px}.map-button{display:flex;align-items:center;justify-content:center;gap:8px;flex:1;min-height:46px;border-radius:10px;text-decoration:none;font-size:13px;font-weight:800}.map-button.google{background:#e5eee8;color:#18221c}.map-button.waze{background:#88c9f1;color:#122332}.map-glyph{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff;font-size:14px;font-weight:800;color:#4285f4}.waze-glyph{display:grid;place-items:center;width:21px;height:21px;border-radius:50%;background:#f7fdff;color:#1380b7;font-size:13px}.map-button:hover{filter:brightness(1.05)}
.orders-section{padding:12px 1px 5px}.orders-heading{margin-bottom:14px}.empty-state{min-height:105px;border:1px dashed #364640;border-radius:13px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;color:#87968e;text-align:center;padding:16px}.empty-state p{margin:0;font-size:12px}.empty-mark{width:26px;height:26px;display:grid;place-items:center;border:1px solid #41544a;border-radius:50%;color:var(--teal);font-size:17px}
.order-list{display:grid;gap:9px}.order-item{border:1px solid #33423c;border-radius:12px;background:#17211e;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:center}.order-item-main{min-width:0;cursor:pointer}.order-item-address{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;font-weight:700}.order-item-meta{display:flex;gap:9px;margin-top:5px;color:#91a096;font:10px var(--mono)}.order-item-amount{font-weight:800;font-variant-numeric:tabular-nums;color:#e3eadf}.order-status{display:inline-flex;align-items:center;gap:5px;font:500 9px var(--mono);letter-spacing:.35px}.order-status:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--orange)}.order-status.paid:before{background:var(--teal)}.order-remove{width:31px;height:31px;border:1px solid #3b4943;border-radius:8px;background:transparent;color:#96a49c;font-size:17px;cursor:pointer}.order-remove:hover{border-color:#986d60;color:var(--red)}
footer{display:flex;align-items:center;justify-content:center;gap:7px;margin:28px 0 0;color:#809087;font-size:10px;text-align:center}.privacy-mark{font-size:8px;color:var(--teal)}
.toast{position:fixed;left:50%;bottom:calc(18px + env(safe-area-inset-bottom));transform:translate(-50%,18px);opacity:0;pointer-events:none;max-width:calc(100vw - 32px);padding:11px 15px;border:1px solid #50624f;border-radius:10px;background:#27342d;color:#eef6e9;box-shadow:0 8px 25px #0008;font-size:12px;text-align:center;transition:opacity .2s,transform .2s;z-index:5}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:700px){body{padding:24px 0}.app-shell{border:1px solid #283731;border-radius:24px;padding:0 32px 38px;background:#111a18;box-shadow:0 24px 80px #0005}.topbar{height:68px}.intro{padding-top:23px}}
@media(max-width:370px){.app-shell{padding-right:16px;padding-left:16px}.scan-card,.order-card{padding:15px}.payment-row{align-items:flex-start;flex-direction:column}.segmented{width:100%}.segment{flex:1}.change-panel{align-items:flex-start;flex-direction:column}.change-caption{max-width:none;text-align:left;padding-left:43px}.route-buttons{gap:7px}.map-button{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
