.restaurant-workspace{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:18px;align-items:start;margin-bottom:26px}
.restaurant-catalog{min-width:0;background:#fff;border:1px solid #d8e5f0;border-radius:18px;padding:18px;box-shadow:0 8px 24px #174f8510}
.restaurant-catalog-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:14px}
.restaurant-catalog-heading h3{margin:4px 0 0;color:#153a61;font-size:21px}
.restaurant-search{width:min(390px,48%);margin:0}.restaurant-search span{display:block;margin-bottom:4px}
.restaurant-search input{margin:0;background:#f8fbfe}
.restaurant-catalog-hint{margin:0 0 13px;padding:10px 12px;border-radius:11px;background:#fff6df;border:1px solid #f0dfae;color:#74591b;font-size:12px;line-height:1.4}
.restaurant-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:11px;max-height:62dvh;overflow:auto;padding:2px 3px 4px 2px}
.restaurant-product{min-height:138px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:7px;padding:15px;text-align:left;background:#fff;border:1px solid #d6e3ee;border-radius:15px;color:#173b61;box-shadow:0 5px 14px #173b610b;font-weight:600}
.restaurant-product:hover{border-color:#79a9d8;box-shadow:0 9px 22px #0e509e1a;transform:translateY(-1px)}
.restaurant-product>span{font-size:10px;line-height:1.2;letter-spacing:1px;text-transform:uppercase;color:#6c8298}
.restaurant-product strong{font-size:16px;line-height:1.25;overflow-wrap:anywhere}
.restaurant-product b{margin-top:auto;color:#0e509e;font-size:20px}
.restaurant-product small{width:100%;padding-top:7px;border-top:1px solid #edf2f7;color:#57718b;font-size:11px}
.restaurant-products-empty{grid-column:1/-1;min-height:180px;display:grid;place-content:center;text-align:center;gap:7px;padding:25px;border:1px dashed #cbdce9;border-radius:14px;background:#f8fbfd;color:#547087}
.restaurant-products-empty strong{color:#173b61;font-size:17px}.restaurant-products-empty small{max-width:390px;line-height:1.45}
.restaurant-cart{position:sticky;top:84px;display:flex;flex-direction:column;max-height:calc(100dvh - 105px);min-height:390px;padding:18px!important;margin:0!important;border-color:#cddfeb!important;box-shadow:0 12px 30px #173b6114!important}
.restaurant-cart-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px solid #e1eaf1}
.restaurant-cart-heading h3{margin:4px 0 2px!important;font-size:21px}.restaurant-cart-heading small{display:block;color:#6c8298;font-size:12px}
.restaurant-cart-heading button{flex:none;padding:9px 11px}
#restaurantLines{flex:1;min-height:95px;overflow:auto;padding:5px 1px}
.restaurant-line{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:9px;align-items:center;padding:11px 0;border-bottom:1px solid #e7eef4}
.restaurant-line>div{min-width:0}.restaurant-line strong,.restaurant-line small{display:block}.restaurant-line small{margin-top:4px;color:#697f94;font-size:11px;overflow-wrap:anywhere}.restaurant-line button{padding:7px 10px}
.restaurant-cart-footer{display:grid;gap:9px;padding-top:14px;border-top:1px solid #e1eaf1}.restaurant-cart-footer>strong{display:flex;justify-content:space-between;color:#173b61;font-size:17px}.restaurant-cart-footer>strong span{color:#0e509e;font-size:21px}
.restaurant-tabs{margin-bottom:18px}
.restaurant-history-section{padding:18px;background:#fff;border:1px solid #d7e3ed;border-radius:18px;box-shadow:0 10px 26px rgba(14,80,158,.06)}
.restaurant-history-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin-bottom:13px}.restaurant-history-heading h3{margin:3px 0 0}.restaurant-history-heading small{max-width:390px;color:#6b8094;text-align:right}
.restaurant-history-filters{display:grid;grid-template-columns:minmax(250px,1.6fr) minmax(150px,.8fr) minmax(135px,.65fr) minmax(135px,.65fr) auto;gap:10px;align-items:end;margin-bottom:12px;padding:12px;background:#f6f9fc;border:1px solid #dfebf3;border-radius:14px}.restaurant-history-filters label{min-width:0}.restaurant-history-filters input,.restaurant-history-filters select{width:100%}.restaurant-history-filters button{height:43px}
.restaurant-history-table{box-shadow:none}.restaurant-history-table td{vertical-align:middle}.restaurant-history-table td strong,.restaurant-history-table td small{display:block}.restaurant-history-table td small{max-width:310px;margin-top:3px;color:#6b8094;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.restaurant-history-pagination{margin:12px 0 0}.restaurant-history-empty{padding:26px;text-align:center}.restaurant-history-empty strong,.restaurant-history-empty small{display:block}.restaurant-history-empty small{margin-top:5px;color:#6b8094}
.restaurant-history-table .restaurant-status-error{min-width:190px;max-width:330px;margin-top:7px;padding:7px 8px;border-radius:8px;background:#fff0f2;color:#9f2636;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.35;font-weight:500}
.restaurant-settings{grid-column:1/-1}.restaurant-settings form{display:grid;gap:14px}.restaurant-settings input[type=checkbox],.restaurant-dialog input[type=checkbox],.restaurant-dialog input[type=radio]{width:auto}
.restaurant-dialog{width:min(940px,95vw);max-height:90dvh;overflow:auto;padding:24px}.restaurant-dialog label{display:block;margin:12px 0}.restaurant-dialog small{display:block}.restaurant-dialog .dialog-actions{position:sticky;bottom:-24px;background:#fff;padding:14px 0;margin-top:14px}
.restaurant-table-dialog{width:min(820px,calc(100vw - 24px))}.restaurant-table-dialog form{padding:22px}.restaurant-table-dialog .dialog-heading h2{margin-top:0}
.restaurant-room{margin-top:20px}.restaurant-room h3{margin:0 0 9px;color:#60768b;font-size:12px;letter-spacing:1px;text-transform:uppercase}
.restaurant-table-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:10px}
.restaurant-table-choice{min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:14px;background:#f8fbfe;border:1px solid #cfdeea;border-radius:15px;color:#173b61;text-align:center}
.restaurant-table-choice:hover{background:#edf6ff;border-color:#74a9d8}.restaurant-table-choice.selected{background:#e4f1ff;border-color:#0e509e;box-shadow:inset 0 0 0 1px #0e509e}
.restaurant-table-choice strong{font-size:16px}.restaurant-table-choice small{color:#668097;font-size:11px}
.restaurant-import{max-height:56dvh;overflow:auto}.restaurant-import input{min-width:100px}.restaurant-import select{min-width:160px}
@media(max-width:1050px){.restaurant-workspace{grid-template-columns:minmax(0,1fr) 330px}.restaurant-products{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.restaurant-cart{position:static;max-height:70dvh}}
@media(max-width:1050px){.restaurant-history-filters{grid-template-columns:minmax(260px,1.5fr) repeat(3,minmax(130px,1fr));}.restaurant-history-filters button{grid-column:4}}
@media(max-width:760px){.restaurant-workspace{grid-template-columns:1fr}.restaurant-catalog{padding:13px}.restaurant-catalog-heading{align-items:stretch;flex-direction:column;gap:10px}.restaurant-search{width:100%}.restaurant-products{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}.restaurant-product{min-height:126px;padding:12px}.restaurant-cart{max-height:58dvh;min-height:320px}.restaurant-dialog{padding:16px}.restaurant-table-dialog form{padding:17px}.restaurant-table-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.restaurant-history-section{padding:13px}.restaurant-history-heading{align-items:start;flex-direction:column;gap:5px}.restaurant-history-heading small{text-align:left}.restaurant-history-filters{grid-template-columns:1fr 1fr}.restaurant-history-query{grid-column:1/-1}.restaurant-history-filters button{grid-column:1/-1}}
@media(max-width:420px){.restaurant-products{grid-template-columns:1fr 1fr;gap:8px}.restaurant-product strong{font-size:14px}.restaurant-product b{font-size:18px}.restaurant-cart-heading{align-items:center}.restaurant-cart-heading h3{font-size:18px}}
