@import"https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap";:root{font-family:Cairo,system-ui,sans-serif;color:#252b2a;background:#f3ebdd;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select{font:inherit}button{cursor:pointer;border:0}button:disabled{opacity:.5;cursor:not-allowed}a{color:inherit;text-decoration:none}.app-shell{min-height:100vh;background:#f7f4ec}.topbar{height:76px;background:#173c35;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(calc((100vw - 1120px)/2),22px);box-shadow:0 4px 20px #173c351c}.brand{display:flex;align-items:center;gap:10px;direction:ltr;text-align:left}.brand img{width:42px;height:42px;object-fit:contain}.brand b{display:block;font-size:17px;letter-spacing:.2px;color:inherit}.brand small{display:block;font-size:9px;opacity:.72;white-space:nowrap}.top-actions{display:flex;align-items:center;gap:15px}.hall-tag{font-size:10px;letter-spacing:1.2px;border:1px solid #ffffff50;border-radius:30px;padding:7px 12px;color:#f3ebdd}.logout-btn{background:transparent;color:#f3ebdd;font-size:11px;padding:8px}.container{max-width:1120px;margin:0 auto;padding:34px 24px 22px}.welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.welcome h1{font-size:29px;color:#173c35;margin:2px 0 4px;font-weight:900}.welcome p:not(.eyebrow){color:#788078;font-size:13px;margin:0}.eyebrow{font-size:10px;letter-spacing:.7px;color:#c07b2e;font-weight:800;margin:0 0 5px}.primary,.secondary{border-radius:9px;padding:11px 18px;font-size:12px;font-weight:800;transition:.18s ease}.primary{background:#173c35;color:#fff}.primary:hover{background:#24574d}.secondary{background:#f1eee7;color:#35413b;border:1px solid #e1ddd2}.secondary:hover{background:#e8e2d5}.full{width:100%;margin-top:7px}.small-btn{padding:8px 13px;font-size:11px}.card{background:#fffefa;border:1px solid #e8e2d5;border-radius:15px;box-shadow:0 5px 20px #4a38200a}.empty{text-align:center;padding:55px 20px}.empty-icon{font-size:40px}.empty h2{color:#173c35;margin:8px 0}.empty p,.muted{color:#7c827d;font-size:12px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 15px}.section-heading h2{margin:0;color:#173c35;font-size:23px}.section-heading p{margin:3px 0}.status{font-size:11px;border-radius:20px;padding:6px 12px;background:#e5f2e9;color:#2b704a;white-space:nowrap}.status.closed{background:#f4e8e4;color:#a34c3e}.summary-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:20px}.stat{padding:15px 17px}.stat span{display:block;color:#828780;font-size:11px}.stat b{display:block;color:#173c35;font-size:19px;margin-top:3px}.tabs{display:flex;gap:5px;border-bottom:1px solid #e1dbcf;margin-bottom:17px;overflow-x:auto}.tabs button{white-space:nowrap;padding:11px 17px;background:transparent;color:#777d77;font-size:12px;border-bottom:3px solid transparent}.tabs button.selected{color:#173c35;border-color:#e9a64b;font-weight:800}.panel{padding:20px;margin-bottom:18px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:17px}.panel-title h3,.bill-list h3{margin:0;color:#173c35;font-size:17px}.panel-title p{margin:3px 0}.empty-inline{text-align:center;padding:35px 10px;color:#888;font-size:12px;background:#faf8f2;border-radius:10px}.order-list{display:grid;gap:10px}.order-card{border:1px solid #ece7dc;border-radius:11px;padding:13px 15px}.order-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.order-head b{display:block;color:#173c35}.order-head small{font-size:10px;color:#8b908a}.order-actions{display:flex;gap:12px}.text-btn{background:transparent;color:#24675a;font-size:11px;font-weight:700;padding:4px}.text-btn.danger,.remove-link{color:#b24e40}.order-items{padding:8px 17px 0 0;margin:5px 0 0}.order-items li{padding:4px 0;font-size:12px}.order-items li small{display:block;color:#888;font-size:10px}.dialog{width:min(480px,calc(100% - 24px));max-width:480px;border:1px solid #e8e2d5;padding:22px;color:#252b2a}.dialog::backdrop{background:#17231fd1}.dialog label,.login-card label,.guest-card label,.edit-order label{display:block;font-size:12px;font-weight:700;color:#47534c;margin:12px 0 6px}.dialog input,.login-card input,.guest-card input,.guest-card select,.edit-order input,.edit-order select,.delivery-row input{width:100%;border:1px solid #dedacf;border-radius:8px;padding:11px 12px;background:#fff;color:#252b2a;outline:none;font-size:13px}.dialog input:focus,.login-card input:focus,.guest-card input:focus{border-color:#508275;box-shadow:0 0 0 3px #50827518}.modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.modal-head h2{font-size:19px;color:#173c35;margin:0}.icon-btn{font-size:25px;background:transparent;color:#777}.modal-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.hint{display:block;font-size:10px;color:#8a9089;margin-top:5px}.guest-wrap{min-height:100vh;background:#f3ebdd;padding:25px 15px;display:flex;align-items:center;flex-direction:column}.guest-brand{width:min(100%,560px);display:flex;justify-content:space-between;align-items:center;margin-bottom:20px;color:#173c35}.guest-brand .brand small{color:#647168}.guest-brand>span{font-size:10px;letter-spacing:1px}.guest-card{width:min(100%,560px);padding:25px}.guest-card h1{font-size:27px;color:#173c35;margin:3px 0}.guest-card .muted{line-height:1.8;margin:5px 0 17px}.guest-card form{margin-top:15px}.form-divider{height:1px;background:#e9e3d8;margin:20px 0}.items-title{display:flex;justify-content:space-between;align-items:center;color:#173c35;font-size:13px;margin-bottom:10px}.items-title small{font-size:10px;color:#96988f}.guest-item{background:#faf8f2;border:1px solid #ece6d9;border-radius:11px;padding:13px;margin-bottom:10px}.item-top{display:flex;justify-content:space-between;align-items:center;color:#173c35;font-size:12px;margin-bottom:8px}.remove-link{background:transparent;font-size:11px}.item-controls{display:grid;grid-template-columns:90px 1fr;gap:10px}.item-controls label{margin:7px 0 0}.item-controls input,.item-controls select{margin-top:5px}.add-item{width:100%;padding:10px;background:#f2eee4;border:1px dashed #cfc5b2;color:#476056;border-radius:8px;font-weight:700;font-size:12px;margin:4px 0 14px}.submit-order{width:100%;padding:13px}.guest-foot{color:#8c928b;font-size:10px;direction:ltr;margin-top:17px}.success-card{text-align:center;margin:auto}.success-icon,.closed-icon{font-size:40px;margin-bottom:10px}.success-icon{width:64px;height:64px;border-radius:50%;background:#e3f1e7;color:#2d8152;display:grid;place-items:center;margin:5px auto 15px}.success-card p{color:#7d847d;font-size:13px;margin:8px 0 20px}.deadline-note{font-size:11px;color:#87602c;background:#faf2e4;border-radius:8px;padding:9px 12px}.menu-link{display:inline-block;color:#24675a;background:#edf4ef;padding:8px 12px;border-radius:8px;font-size:12px;font-weight:700;margin:5px 0}.back-link{margin-top:10px;background:transparent;color:#7a817a;font-size:11px}.price-table{border:1px solid #ebe5d9;border-radius:10px;overflow:hidden}.price-row{display:grid;grid-template-columns:1.5fr .5fr 1fr;gap:10px;align-items:center;padding:10px 13px;border-bottom:1px solid #eee9df;font-size:12px}.price-row:last-child{border:0}.price-row b{color:#34463e}.price-row input{width:100%;min-width:0;border:1px solid #dedacf;border-radius:7px;padding:8px}.table-head{background:#f5f2ea;color:#747c74;font-size:10px;font-weight:700}.delivery-row{display:flex;align-items:end;justify-content:space-between;gap:15px;padding:17px 0;border-bottom:1px solid #eee8dd}.delivery-row label{font-size:11px;font-weight:700;max-width:260px}.delivery-row input{display:block;margin-top:6px}.delivery-row small{font-size:10px;color:#888;max-width:250px}.bill-list{margin-top:18px}.bill-title{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.bill-title b{font-size:12px;color:#173c35}.bill-person{border-top:1px solid #eee8dd;padding:12px 2px}.bill-person-head{display:flex;justify-content:space-between;align-items:center;font-size:13px}.bill-person-head b,.bill-person-head strong{color:#173c35}.bill-details{margin:7px 0;color:#737b74;font-size:11px}.bill-details>div{display:flex;justify-content:space-between;gap:10px;padding:3px 0}.whatsapp-btn{background:#edf4ef;color:#24574d;padding:7px 11px;border-radius:7px;font-size:10px;font-weight:800}.share-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:15px}.share-copy h3{font-size:21px;color:#173c35;margin:5px 0}.share-copy p:not(.eyebrow){line-height:1.8}.url-box{background:#f4f1e9;border:1px solid #e8e1d4;padding:11px;border-radius:8px;font-size:11px;overflow-wrap:anywhere;margin:15px 0}.share-copy button,.share-copy .link-button{margin:0 5px 5px 0}.link-button{display:inline-flex;align-items:center}.qr-panel{display:flex;align-items:center;justify-content:center;gap:10px;text-align:center}.qr-panel svg{max-width:100%;height:auto}.qr-panel b{color:#173c35;font-size:12px}.qr-panel small{color:#8a9089;font-size:10px}.round-switch{display:flex;align-items:center;justify-content:space-between;margin:18px 0;color:#777;font-size:11px}.round-switch select{border:1px solid #e2dccf;border-radius:8px;padding:7px 10px;background:#fffefa;color:#37423c;max-width:70%}.history-list{display:grid}.history-row{display:grid;grid-template-columns:1fr 1fr 1.5fr;gap:10px;padding:12px 4px;border-bottom:1px solid #eee8dd;font-size:11px}.history-row b{color:#173c35}.history-row time{color:#858b84;text-align:left}.toast,.busy-pill{position:fixed;bottom:20px;left:50%;transform:translate(-50%);background:#173c35;color:#fff;padding:11px 20px;border-radius:30px;font-size:12px;box-shadow:0 8px 25px #0002;z-index:20}.busy-pill{bottom:68px;background:#e9a64b;color:#252b2a}.error-banner,.inline-error{background:#fff0ed;border:1px solid #efc7bd;color:#9b4034;border-radius:8px;padding:10px 12px;font-size:11px;margin:12px 0}.error-banner{display:flex;justify-content:space-between;gap:10px}.error-banner button{background:transparent;color:#9b4034;font-weight:800}.edit-order{display:grid;gap:7px}.edit-item{display:grid;grid-template-columns:1fr 75px 100px;gap:6px;align-items:center;padding:7px 0;border-bottom:1px solid #eee8dd}.edit-item .participants-input{grid-column:1/-1}.inline-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.center-screen{min-height:100vh;background:#f3ebdd;display:flex;align-items:center;justify-content:center;padding:22px}.login-card,.setup-card{width:min(100%,420px);padding:28px}.login-card .brand,.setup-card .brand{color:#173c35;margin-bottom:26px}.login-card h1,.setup-card h1{color:#173c35;font-size:24px;margin:3px 0}.login-card .muted,.setup-card p{line-height:1.8}.login-card label{margin-top:16px}.login-card small{display:block;text-align:center;margin-top:16px}.setup-card pre{white-space:pre-wrap;direction:ltr;text-align:left;background:#f4f1e9;padding:12px;border-radius:8px;font-size:10px;overflow-wrap:anywhere}.loader{width:30px;height:30px;border:3px solid #d8d2c5;border-top-color:#173c35;border-radius:50%;animation:spin .8s linear infinite;margin:0 auto 12px}@keyframes spin{to{transform:rotate(360deg)}}.guest-wrap .center-screen{min-height:260px;background:transparent}@media(max-width:650px){.container{padding:20px 14px}.topbar{padding:0 15px;height:66px}.welcome{align-items:flex-start;flex-direction:column}.welcome h1{font-size:24px}.welcome>.primary{width:100%}.summary-grid{gap:7px}.stat{padding:11px}.stat b{font-size:15px}.stat span{font-size:10px}.section-heading h2{font-size:19px}.panel{padding:14px}.panel-title{align-items:flex-start;flex-direction:column}.share-layout{grid-template-columns:1fr}.qr-panel{padding:25px}.delivery-row{align-items:flex-start;flex-direction:column}.price-row{grid-template-columns:1.1fr .4fr .8fr;padding:9px 7px;gap:6px;font-size:11px}.price-row input{padding:7px 5px}.guest-card{padding:19px}.guest-card h1{font-size:24px}.edit-item{grid-template-columns:1fr 65px}.edit-item select,.edit-item .remove-link{grid-column:1/-1}.round-switch{align-items:flex-start;flex-direction:column;gap:8px}.round-switch select{max-width:100%;width:100%}.history-row{grid-template-columns:1fr 1fr}.history-row time{grid-column:1/-1;text-align:right}.bill-title{align-items:flex-start;flex-direction:column}.top-actions{gap:7px}.logout-btn{font-size:10px;padding:5px}.hall-tag{font-size:9px;padding:6px 8px}}
