:root{font:16px/1.5 system-ui,sans-serif;color:#35251e;background:#f8f5f1;--brand:#5a250b;--brand-2:#6f3113;--gold:#e2bf6a;--gold-soft:#f4e3b8;--paper:#fffdfb;--line:#eadfd6;--muted:#78675f;--panel-shadow:0 10px 30px rgba(69,33,15,.08)}*{box-sizing:border-box}body{margin:0;background:linear-gradient(180deg,#f4eee8 0,#f8f5f1 120px)}header{background:linear-gradient(180deg,var(--brand) 0,#451a08 100%);color:white;padding:14px 24px;box-shadow:0 5px 16px rgba(0,0,0,.15)}.head{max-width:1100px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.brandimg{height:58px;max-width:min(100%,380px);object-fit:contain;display:block}.tag{font-size:11px;letter-spacing:2px;color:#f6e7c1;text-transform:uppercase}main{max-width:1100px;margin:auto;padding:28px 18px 110px}footer{padding:20px;text-align:center;color:var(--muted);font-size:12px}h1{font-size:clamp(25px,4vw,42px);line-height:1.12;margin:6px 0 12px;color:#3b2418}h2{font-size:20px;margin:18px 0 10px;color:#4b2817}h3{font-size:15px;margin:18px 0 8px;color:#7b4a2e}p{margin:8px 0}small,.muted{color:var(--muted);font-size:13px}.panel{padding:18px;border:1px solid var(--line);border-radius:18px;background:var(--paper);margin:14px 0;box-shadow:var(--panel-shadow)}.days{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;position:sticky;top:0;background:#f8f5f1;padding:8px 0;z-index:2}.day{padding:10px 4px;display:grid;gap:2px;text-align:center;background:white;border:1px solid var(--line);color:#3d2a21}.day.active{background:var(--brand);color:white}.day.active small{color:#f7edd8}.dish{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:15px 0;border-bottom:1px solid #eee3db}.dish:last-child{border:0}.dish b{font-size:15px;font-weight:650}.dish .price{display:block;color:var(--brand);font-weight:750;margin-top:3px}.step{display:flex;align-items:center;gap:7px;flex-shrink:0}.step button{font-size:21px;padding:0;width:38px;height:38px;background:#f7efe6;color:var(--brand)}button,a.btn{border:0;border-radius:10px;font:inherit;font-weight:650;cursor:pointer;background:var(--brand);color:white;padding:10px 15px;text-decoration:none;display:inline-block;box-shadow:0 4px 12px rgba(90,37,11,.14)}button:hover,a.btn:hover{background:var(--brand-2)}button:disabled{opacity:.42;cursor:not-allowed}.secondary{background:#f2e8df!important;color:var(--brand)!important;box-shadow:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:2px}.bar{position:fixed;bottom:0;left:0;right:0;background:rgba(255,253,251,.98);box-shadow:0 -4px 20px rgba(69,33,15,.12);z-index:5;padding:12px 18px;border-top:1px solid #efe3d7}.barin{max-width:1044px;margin:auto;display:flex;gap:15px;justify-content:space-between;align-items:center}.total{font-size:24px;font-weight:800;letter-spacing:-.7px;color:var(--brand)}.msg{padding:12px 15px;border-radius:10px;background:#f6efe6;color:#6b3e24;margin:10px 0;border:1px solid #ecd8c8}.error{background:#fde8e4;color:#8d3228;border-color:#f0c2bb}.tools{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:10px 0}input,select{font:inherit;border:1px solid #d9c6b8;border-radius:10px;padding:9px 10px;max-width:100%;background:white;color:inherit}.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px}.metric{background:#faf1e6;padding:12px;border-radius:12px;border:1px solid #efdfcf}.metric b{display:block;font-size:25px;color:var(--brand)}.scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:9px;border-bottom:1px solid var(--line);white-space:nowrap;vertical-align:top}th{color:var(--muted);background:#fffaf5;position:sticky;top:0}a{color:var(--brand)}.badge{background:#f8eed5;padding:4px 9px;border-radius:30px;font-size:12px;color:#6b4c20;border:1px solid #ebd49d}.reviewline{display:flex;justify-content:space-between;gap:14px;padding:8px 0;border-bottom:1px solid #ede3da}.decision{font-weight:650}.decision.ordered{color:#215e43}.decision.refused{color:#925328}.decision.unknown{color:#57645e}.day small.decision{white-space:normal;line-height:1.15}.day small.muted{font-size:.68rem;white-space:normal}.day{min-width:0;overflow-wrap:anywhere}.day.active small.decision,.day.active small.muted{color:#fdf6e5}
.auth-screen{display:grid;grid-template-columns:minmax(300px,1.1fr) minmax(300px,.9fr);gap:18px;align-items:stretch}.hero-card{display:flex;flex-direction:column;justify-content:center;background:linear-gradient(180deg,#fffaf5 0,#f7efe7 100%)}.hero-logo{width:min(100%,480px);height:auto;display:block;margin:0 auto 12px;border-radius:8px}.hero-list{list-style:none;padding:0;margin:18px 0 0;display:grid;gap:10px}.hero-list li{display:flex;gap:10px;align-items:flex-start}.hero-list li::before{content:'•';color:var(--gold);font-size:28px;line-height:18px}.auth-card label{display:block;font-weight:600;margin-top:12px;color:#5c3928}.check{display:flex;gap:10px;align-items:center;margin:12px 0;color:#5c3928}.check input{width:18px;height:18px}.pill{display:inline-flex;align-items:center;border-radius:30px;padding:5px 10px;background:#f2e8df;color:var(--brand);font-size:12px}.center{display:flex;justify-content:center;align-items:center}.help-card{max-width:720px;margin:50px auto}.help-card p{font-size:15px}
@media(max-width:860px){.auth-screen{grid-template-columns:1fr}.brandimg{height:48px}.head{justify-content:center;text-align:center}}
@media(max-width:500px){main{padding:18px 12px 100px}.panel{padding:13px}.step{gap:4px}.step button{width:33px;height:35px}.day{font-size:13px}.day small{font-size:11px}.bar button{font-size:13px}.total{font-size:21px}.tag{font-size:9px}.brandimg{height:40px}}
.field{display:flex;flex-direction:column;gap:4px;margin:9px 0;max-width:650px;font-weight:600}.field input,.field select{font-weight:400}.dish-photo{width:120px;height:90px;object-fit:cover;border-radius:10px;display:block;margin-bottom:8px}.price-input{width:82px;padding:4px}.scroll{margin:10px 0}.scroll td{white-space:normal;min-width:76px}.scroll th{white-space:normal}.scroll td .tools{flex-wrap:nowrap}.scroll td .price-input{width:82px}.scroll td input[type=checkbox]{width:18px;height:18px}.auth-card select,.auth-card input[type=password]{width:100%}.auth-card .check{display:flex}.auth-card button{width:100%}
.app-dialog{border:1px solid var(--line);border-radius:18px;max-width:min(94vw,540px);width:100%;padding:0;background:var(--paper);color:#35251e;box-shadow:0 12px 50px #39271955}.app-dialog::backdrop{background:#2b1c1599}.dialog-inner{padding:24px;max-height:85vh;overflow:auto}.dialog-inner h2{margin-top:0}.dialog-inner .field input{width:100%}.issued-pin{font-size:32px;font-weight:700;letter-spacing:5px;width:100%;text-align:center}.menu-category{border:1px solid var(--line);border-radius:12px;margin:12px 0;background:#fff}.menu-category summary{cursor:pointer;padding:12px;background:#f4e8dd;color:var(--brand);border-radius:12px;display:list-item}.category-counts{float:right;display:inline-grid;grid-template-columns:repeat(5,32px);text-align:center;font-weight:700;font-size:13px}.menu-category .scroll{margin:0;padding:4px}.menu-table table{min-width:730px;table-layout:fixed}.menu-table th:first-child{width:29%}.menu-table th:nth-child(2){width:11%}.menu-table th:not(:first-child):not(:nth-child(2)){width:12%}.menu-table td,.menu-table th{min-width:0;padding:5px;white-space:normal;overflow-wrap:anywhere}.menu-table td .price-input{width:66px;max-width:100%;padding:4px}.menu-cell{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px}.menu-cell input[type=checkbox]{flex-shrink:0}.menu-cell .price-input:disabled{opacity:.42;background:#eee}.menu-summary{margin:15px 0}.assortment-table td:not(:first-child),.assortment-table th:not(:first-child){text-align:center;min-width:45px}.empty-category{color:#9e4b21;font-weight:700}.editor-save{position:sticky;bottom:0;z-index:6;background:var(--paper);border:1px solid var(--line);box-shadow:0 -4px 15px #47271b1a;border-radius:12px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.editor-save p{margin:0;font-weight:700}.total-last tbody tr:last-child{font-weight:700;background:#f6eee5}.packing-preview{border:1px solid var(--line);border-radius:12px;padding:12px;margin:10px 0}.print-context{font-weight:600;margin-bottom:12px}.dialog-inner [hidden]{display:none}
@media print{body{background:white!important;color:#000}header{box-shadow:none;background:white;color:#000}footer,.no-print,button,.btn{display:none!important}.panel{box-shadow:none;border:0;padding:0}.scroll{overflow:visible!important}.scroll td,.scroll th{white-space:normal!important;min-width:0!important}.printing-job #app> :not(.panel),.printing-job #app>.panel:not(:has(.print-job)),.printing-job #app>.panel:has(.print-job)> :not(.print-job){display:none!important}.printing-job .print-job{display:block!important}.printing-job main{padding:0;max-width:none}.printing-job .print-job table{font-size:11pt}.printing-job tr{break-inside:avoid}.printing-job thead{display:table-header-group}.printing-job .print-job h3{font-size:17pt}.printing-job .print-job h4{break-after:avoid}}
