:root{--ink:#23332b;--muted:#829087;--line:#e6eae3;--canvas:#f5f7f2;--paper:#fff;--green:#27634d;--green-dark:#1b503c;--green-pale:#e8f1e8;--orange:#ad7740;--orange-pale:#fbf2e7;--blue:#567a91;--blue-pale:#edf4f7;--red:#a75b50;--red-pale:#fff1ee;--shadow:0 15px 45px #20372b0b}*{box-sizing:border-box}body{margin:0;background:var(--canvas);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #abd0a7;outline-offset:2px}[hidden]{display:none!important}.brand{display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font-size:21px;font-weight:800;letter-spacing:-1px}.brand-mark{width:32px;height:32px;display:grid;place-items:center;border-radius:11px;background:var(--green);color:white;font-size:20px}.brand-dot{color:#91b97c}.eyebrow{font-size:9px;font-weight:750;letter-spacing:1.45px;color:#859189}.auth-screen{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(ellipse at 85% 10%,#e6f0e3 0,transparent 43%),var(--canvas)}.auth-card{width:min(100%,420px);padding:31px 32px 26px;border:1px solid #e7ebe4;border-radius:18px;background:white;box-shadow:0 20px 70px #263b2c12}.auth-brand{margin-bottom:34px}.auth-card>.eyebrow{margin-bottom:10px}.auth-card h1{margin:0;font-size:26px;letter-spacing:-1px}.auth-copy{margin:8px 0 20px;color:var(--muted);font-size:12px;line-height:1.5}.auth-tabs{display:flex;gap:4px;padding:4px;margin-bottom:15px;border-radius:10px;background:#f3f6f1}.auth-tab{flex:1;padding:9px;border:0;border-radius:7px;background:transparent;color:#7a887e;font-size:11px}.auth-tab.active{background:white;color:var(--green);font-weight:700;box-shadow:0 1px 5px #0000000d}.auth-form label,.modal label{display:block;margin:13px 0;color:#526258;font-size:11px;font-weight:650}.auth-form input,.modal input,.modal select,.modal textarea{display:block;width:100%;height:43px;margin-top:6px;padding:0 11px;border:1px solid #e2e8e1;border-radius:9px;background:#fff;color:var(--ink);font-size:16px}.modal textarea{height:auto;min-height:64px;padding:10px 11px;resize:vertical;line-height:1.45}.auth-form input:focus,.modal input:focus,.modal select:focus,.modal textarea:focus{border-color:#85af8c;box-shadow:0 0 0 3px #e9f2e8}.primary-button{min-height:42px;padding:0 15px;border:0;border-radius:9px;background:var(--green);color:#fff;font-size:11px;font-weight:700;transition:background .15s}.primary-button:hover{background:var(--green-dark)}.auth-submit{width:100%;margin-top:8px}.auth-submit span,.modal-actions .primary-button span{margin-left:6px}.auth-link{display:block;margin:12px auto 0;padding:3px;border:0;background:transparent;color:var(--green);font-size:10px;text-decoration:underline}.auth-footnote{margin:18px 0 0;text-align:center;color:#9aa49c;font-size:9px;line-height:1.5}.setup-note,.notice-box{padding:11px;border-radius:8px;background:#f0f6ed;color:#708568;font-size:10px;line-height:1.5}.auth-error,.form-error{margin:12px 0 0;padding:10px 12px;border-radius:8px;background:#fff0ed;color:#a34c40;font-size:11px;line-height:1.4}.new-code-result{display:grid;gap:8px;margin:13px 18px;padding:12px;border:1px solid #dbe9dc;border-radius:9px;background:#edf5ed}.new-code-result strong{color:#476b4f;font-size:10px}.new-code-result code{display:block;padding:9px;border-radius:6px;background:white;color:#24382b;font-size:12px;overflow-wrap:anywhere}.new-code-result small{color:#7e897f;font-size:9px}.app-shell{width:min(100% - 40px,1100px);min-height:100vh;margin:0 auto;padding-bottom:25px}.topbar{height:72px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e4e9e1}.top-actions{display:flex;align-items:center;gap:9px}.business-chip{max-width:270px;height:38px;display:flex;align-items:center;gap:8px;padding:0 9px;border:1px solid var(--line);border-radius:10px;background:white;color:#526258;font-size:11px;font-weight:650}.business-chip>span:nth-child(2){max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{width:24px;height:24px;display:grid;place-items:center;border-radius:7px;background:#e7f0e7;color:var(--green);font-size:11px;font-weight:700}.chevron{color:#95a197;font-size:17px}.icon-button,.logout-button{height:36px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#6e7c72}.icon-button{width:36px;font-size:16px}.logout-button{padding:0 11px;font-size:10px}.hero{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:39px 0 24px}.hero .eyebrow{display:flex;align-items:center;gap:7px}.live-dot{width:6px;height:6px;border-radius:50%;background:#91b77b}.hero h1{margin:10px 0 5px;font-size:32px;line-height:1.12;letter-spacing:-1.4px}.hero h1 span{color:var(--green)}.hero p{margin:0;color:#849087;font-size:12px}.new-order-button{height:43px;padding:0 16px;white-space:nowrap}.new-order-button span{margin-right:5px;font-size:16px}.summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.summary-card{min-height:127px;padding:16px 18px;border:1px solid var(--line);border-radius:13px;background:white;box-shadow:var(--shadow)}.summary-main{background:#edf5eb;border-color:#e4eee1}.summary-label{display:flex;align-items:center;justify-content:space-between;color:#69766d;font-size:11px;font-weight:650}.summary-icon{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#e1edde;font-size:14px}.summary-icon.warm{background:#fbf1df}.summary-icon.lilac{background:#f1eef7}.summary-card>strong{display:block;margin-top:9px;font-size:26px;line-height:1.2;letter-spacing:-.6px}.summary-card>small{display:block;margin-top:5px;color:#8c978f;font-size:10px}.orders-section{margin-top:31px}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:15px}.section-heading h2{margin:6px 0 3px;font-size:19px;letter-spacing:-.5px}.section-heading p{margin:0;color:#8b968e;font-size:11px}.search-wrap{width:min(270px,40%);height:37px;display:flex;align-items:center;gap:7px;padding:0 10px;border:1px solid var(--line);border-radius:9px;background:#fff;color:#96a098}.search-wrap>span{font-size:19px}.search-wrap input{width:100%;min-width:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:12px}.search-wrap input:focus-visible{outline:0}.filter-row{display:flex;gap:7px;overflow-x:auto;margin:19px 0 15px;padding-bottom:3px;scrollbar-width:thin}.filter-chip{height:32px;display:flex;align-items:center;gap:7px;flex:0 0 auto;padding:0 11px;border:1px solid #e5e9e3;border-radius:8px;background:#fff;color:#728077;font-size:10px;font-weight:600}.filter-chip.active{border-color:#cbdcc9;background:#edf5ec;color:var(--green)}.filter-chip span{min-width:18px;height:18px;display:grid;place-items:center;border-radius:6px;background:#f0f3ee;color:#849087;font-size:9px}.filter-chip.active span{background:#dfeadd;color:var(--green)}.orders-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.order-card{min-width:0;padding:15px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow);transition:border-color .15s,transform .15s}.order-card:hover{border-color:#ceddca;transform:translateY(-1px)}.order-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.order-person{min-width:0}.order-person strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.order-person small{display:block;margin-top:4px;color:#8b968e;font-size:10px}.status-pill{flex:0 0 auto;padding:5px 8px;border-radius:7px;background:var(--orange-pale);color:var(--orange);font-size:9px;font-weight:700}.status-pill.preparing{background:#eef4e9;color:#62824c}.status-pill.ready{background:var(--blue-pale);color:var(--blue)}.status-pill.delivered{background:#eaf3ec;color:#4f805a}.status-pill.cancelled{background:#f3f3f1;color:#888f8a}.order-items{margin:12px 0 10px;color:#46574b;font-size:12px;line-height:1.45;white-space:pre-line;overflow-wrap:anywhere}.order-meta{display:flex;align-items:center;gap:7px;color:#87938a;font-size:10px}.order-meta span+span:before{content:"·";margin-right:7px;color:#c0c7c0}.money-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:13px;padding:10px 0;border-top:1px solid #eff1ed;border-bottom:1px solid #eff1ed}.money-cell small{display:block;margin-bottom:4px;color:#97a198;font-size:8px}.money-cell strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#435449;font-size:11px}.money-cell.balance strong{color:#a6743d}.order-notes{margin:10px 0 0;padding:8px 9px;border-radius:7px;background:#f7f8f5;color:#818d84;font-size:10px;line-height:1.4;overflow-wrap:anywhere}.order-actions{display:flex;align-items:center;gap:6px;margin-top:12px}.order-actions button{height:32px;padding:0 9px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#67766c;font-size:9px;font-weight:650}.order-actions .message-button{border-color:#d7e8d8;background:#eff6ee;color:#436b4c}.order-actions .advance-button{margin-left:auto;border:0;background:var(--green);color:#fff}.order-actions .advance-button:hover{background:var(--green-dark)}.order-actions .delete-button{width:32px;padding:0;color:#a0756e;font-size:15px}.empty-state{padding:48px 14px;text-align:center;border:1px dashed #dce4da;border-radius:14px;background:#fbfcfa}.empty-icon{width:55px;height:55px;display:grid;place-items:center;margin:0 auto 13px;border-radius:16px;background:#eef4eb;font-size:24px}.empty-state h3{margin:0 0 6px;font-size:15px}.empty-state p{margin:0 auto 15px;color:#879289;font-size:11px}.outline-button{height:36px;padding:0 12px;border:1px solid #dce5da;border-radius:8px;background:white;color:var(--green);font-size:10px;font-weight:650}.footer{display:flex;justify-content:space-between;padding:23px 2px 0;color:#a1aaa2;font-size:9px}.optional{margin-left:4px;color:#9aa49c;font-size:8px;letter-spacing:.6px}.modal{width:min(calc(100% - 24px),510px);max-height:min(90vh,820px);padding:0;border:0;border-radius:16px;background:white;color:var(--ink);box-shadow:0 24px 80px #1d2d2355;overflow:auto}.modal::backdrop{background:#1b2a206b;backdrop-filter:blur(3px)}.modal form{padding:23px 25px 20px}.modal-heading{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:17px}.modal-heading h2{margin:6px 0 0;font-size:20px;letter-spacing:-.5px}.close-button{width:31px;height:31px;border:0;border-radius:8px;background:#f3f5f1;color:#758178;font-size:20px;line-height:1}.modal label{margin:12px 0}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.cancel-button{height:40px;padding:0 13px;border:1px solid var(--line);border-radius:8px;background:#fff;color:#738076;font-size:10px}.modal-actions .primary-button{height:40px}.template-hint,.modal-intro{margin:9px 0 15px;color:#8a958c;font-size:10px;line-height:1.5}.notice-box{margin-top:15px}.admin-modal>.modal-heading{padding:23px 25px 0}.admin-code-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 25px 14px}.admin-code-tools input,.admin-code-tools select{height:39px;margin:0;padding:0 9px;font-size:12px}.admin-code-tools .primary-button{font-size:9px}.admin-code-tools .outline-button{height:39px;font-size:9px}.admin-section-title{margin:4px 25px 0;padding-top:12px;border-top:1px solid var(--line);font-size:10px}.admin-codes,.admin-users{padding:0 25px 14px;max-height:200px;overflow:auto}.admin-code-row,.admin-user{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #eff1ed}.admin-code-row>span,.admin-user>div{display:grid;gap:4px}.admin-code-row strong,.admin-user strong{font-size:10px}.admin-code-row small,.admin-user small{color:#8d978f;font-size:9px}.admin-code-row button,.admin-user button{height:28px;padding:0 8px;border:1px solid var(--line);border-radius:7px;background:#fff;color:#6d7a70;font-size:9px}.toast{position:fixed;left:50%;bottom:20px;z-index:10;transform:translate(-50%,10px);opacity:0;pointer-events:none;max-width:calc(100% - 32px);padding:11px 15px;border-radius:9px;background:#26382e;color:white;box-shadow:0 8px 22px #1113;font-size:11px;text-align:center;transition:all .2s}.toast.show{transform:translate(-50%,0);opacity:1}
@media(max-width:700px){.app-shell{width:calc(100% - 28px)}.topbar{height:62px}.brand{font-size:19px}.brand-mark{width:29px;height:29px;border-radius:10px}.top-actions{gap:6px}.business-chip{max-width:170px;height:34px;gap:6px;padding:0 7px;font-size:10px}.business-chip>span:nth-child(2){max-width:95px}.logout-button{height:33px;padding:0 8px;font-size:9px}.icon-button{width:33px;height:33px}.hero{align-items:flex-start;padding:29px 0 19px;gap:8px}.hero h1{font-size:26px;letter-spacing:-1px}.hero p{max-width:235px;font-size:10px;line-height:1.45}.hero .eyebrow{font-size:8px}.new-order-button{height:38px;margin-top:14px;padding:0 10px;font-size:9px}.summary-grid{gap:7px}.summary-card{min-height:105px;padding:11px 10px;border-radius:10px}.summary-label{gap:4px;font-size:8px;line-height:1.25}.summary-icon{width:21px;height:21px;border-radius:7px;font-size:11px}.summary-card>strong{margin-top:9px;font-size:21px}.summary-card>small{font-size:8px;line-height:1.3}.orders-section{margin-top:25px}.section-heading{align-items:flex-end}.section-heading h2{font-size:16px}.section-heading p{max-width:180px;font-size:9px;line-height:1.4}.section-heading .eyebrow{font-size:8px}.search-wrap{width:45%;height:34px;gap:4px;padding:0 7px}.search-wrap>span{font-size:16px}.search-wrap input{font-size:16px}.filter-row{gap:5px;margin:14px 0 11px}.filter-chip{height:30px;gap:5px;padding:0 8px;font-size:9px}.orders-grid{grid-template-columns:1fr;gap:9px}.order-card{padding:12px;border-radius:11px}.order-person strong{font-size:12px}.order-items{margin:10px 0 8px;font-size:11px}.money-row{margin-top:10px;padding:8px 0}.money-cell small{font-size:8px}.money-cell strong{font-size:10px}.order-actions{gap:5px}.order-actions button{height:31px;padding:0 8px;font-size:9px}.order-actions .delete-button{width:31px;padding:0}.footer{gap:10px;font-size:8px}.modal form{padding:19px 17px 17px}.admin-modal>.modal-heading{padding:19px 17px 0}.admin-code-tools{grid-template-columns:1fr;padding:0 17px 12px}.admin-section-title{margin-left:17px;margin-right:17px}.admin-codes,.admin-users{padding-left:17px;padding-right:17px}.new-code-result{margin-left:17px;margin-right:17px}}
@media(max-width:370px){.business-chip{max-width:132px}.business-chip>span:nth-child(2){max-width:68px}.hero h1{font-size:23px}.new-order-button{padding:0 8px}.summary-card{padding-left:8px;padding-right:8px}.summary-label{font-size:7px}.search-wrap{width:42%}.section-heading p{max-width:150px}}
.owner-welcome{display:flex;align-items:center;gap:18px;margin-top:4px;padding:22px;border:1px solid var(--line);border-radius:14px;background:#fff;box-shadow:var(--shadow)}.owner-art{width:52px;height:52px;flex:0 0 52px;display:grid;place-items:center;border-radius:15px;background:#edf4eb;font-size:23px}.owner-welcome h2{margin:0 0 6px;font-size:17px}.owner-welcome p{margin:0 0 13px;color:#849087;font-size:11px;line-height:1.5}
@media(max-width:700px){.owner-welcome{align-items:flex-start;padding:16px}.owner-art{width:42px;height:42px;flex-basis:42px}}
