/* v0.6.4: matte nautical fabric, independent from plan geometry. */
:root{--ppc-surface:#101312;--ppc-panel:#141716;--ppc-fabric:repeating-linear-gradient(0deg,#ffffff02 0 1px,#00000003 1px 3px),repeating-linear-gradient(90deg,#ffffff02 0 1px,transparent 1px 4px)}
body,body>header,main,#stationPanel,#takeawayPanel,.cash-summary,.cash-plans section{background-color:var(--ppc-surface);background-image:var(--ppc-fabric)}body::after{opacity:.018}dialog,#tablePanel,#cashDialog,.product-wheel,.sticky-actions,.takeaway-dialog .sticky-actions,.menu-controls,.table-actions{background-color:var(--ppc-panel);background-image:var(--ppc-fabric)}dialog input,dialog select,dialog textarea{background-color:#1b201e}
#tablePanel.opening-table:not([hidden]){top:50%;left:50%;right:auto;bottom:auto;transform:translate(-50%,-50%);width:min(820px,96vw);height:auto;max-height:45dvh;min-height:0;padding:12px 16px;overflow:auto}#tablePanel.opening-table #tableHeading{font-size:1rem;margin:0 40px 8px 0;padding:0}#tablePanel.opening-table #orders{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px;align-items:end}#tablePanel.opening-table #orders>label{margin:0;font-size:.8rem}#tablePanel.opening-table #orders>button{margin:0;min-height:48px;font-size:.8rem}#tablePanel.opening-table>.order-workspace{padding:0;overflow:visible}
.basket-line{grid-template-columns:minmax(100px,1fr) auto 78px 78px 48px;gap:7px}.basket-line .edit-basket,.basket-line .split-basket{grid-column:auto;grid-row:auto}.basket-line .remove-basket{grid-column:auto;grid-row:auto}.basket-line small{grid-column:1/-1}.takeaway-search-bar{display:grid;grid-template-columns:minmax(100px,1fr) auto 52px;gap:8px;align-items:center}.takeaway-search-bar input{min-width:0;width:100%}.new-takeaway{font-size:26px;min-height:52px;padding:0}
.product-wheel{position:relative}.wheel-warning{position:absolute;top:26px;left:12px;right:12px;font-size:.67rem;margin:0;color:#efd399;z-index:1;text-align:center;pointer-events:none}.product-wheel.no-products .wheel-empty{position:absolute;left:15px;right:15px;top:40%;margin:0}.product-wheel .wheel-viewport{visibility:visible}
@media(max-width:650px){#tablePanel.opening-table:not([hidden]){width:96vw;max-height:46dvh;padding:12px}#tablePanel.opening-table #orders{grid-template-columns:1fr 1fr;gap:8px}#tablePanel.opening-table #orders>label{grid-column:1/-1}.basket-line{grid-template-columns:minmax(60px,1fr) auto 48px}.basket-line .edit-basket{grid-column:1;grid-row:2}.basket-line .split-basket{grid-column:2;grid-row:2}.basket-line .remove-basket{grid-column:3;grid-row:1/3}.basket-line small{grid-row:auto}.wheel-warning{font-size:.6rem;top:31px}}
@media print{body,main,dialog{background:white;background-image:none;color:black}}
#tablePanel.opening-table #orders>label{display:flex;align-items:center;gap:10px}#tablePanel.opening-table #orders>label .touch-number{flex:1}#tablePanel.opening-table #tableHeading{white-space:nowrap}
@media(max-width:650px){#tablePanel.opening-table:not([hidden]){padding:8px 10px}#tablePanel.opening-table #tableHeading{font-size:.85rem;margin-bottom:7px}#tablePanel.opening-table #orders>label .touch-number{max-width:230px;margin-left:auto}}
/* Reserve a dedicated close-button column in the compact opening popup. */
#tablePanel.opening-table>.order-workspace{padding-right:52px}
