*{box-sizing:border-box}body{margin:0;padding:16px;background:#09232e;color:#eff8fb;font:17px Arial,sans-serif}header,nav,main,#status{max-width:1000px;margin:0 auto 16px}header img{max-width:100px;max-height:70px;vertical-align:middle;margin-right:15px}h1{font-size:26px}h2{font-size:23px}h3{font-size:20px}article,form,.panel{padding:16px;margin:12px 0;background:#fff;color:#142f3c;border-radius:12px;overflow-wrap:break-word}button,input,select,textarea{font:inherit;padding:12px;border:1px solid #8da5ad;border-radius:8px;min-height:46px;max-width:100%}button{background:#087e9e;color:white;cursor:pointer;margin:5px 8px 5px 0}button:disabled{opacity:.55}label{display:block;margin:12px 0}label input,label select{display:block;width:100%;max-width:480px;margin-top:6px;color:#142f3c;background:white}p{line-height:1.5}strong{font-weight:700}pre{white-space:pre-wrap;font:16px Arial,sans-serif;line-height:1.5}.paid{color:#1b6b3e}.warning{color:#9b4500}#status{padding:10px;background:#dcecf2;color:#143444;border-radius:8px;min-height:44px}a{color:#a1eaff}main article a,main form a{color:#08728c}nav button{background:#164957}table{width:100%;border-collapse:collapse}td,th{text-align:left;border-bottom:1px solid #b7c9d1;padding:8px}textarea{width:100%;min-height:180px}.row{display:inline-block;vertical-align:top;margin:6px;min-width:180px}@media(max-width:520px){body{padding:8px}article,form,.panel{padding:12px}button{width:100%;margin:5px 0}.row{display:block;margin:4px 0}}

nav button[aria-pressed="true"]{background:#087e9e;box-shadow:inset 0 -4px 0 #69e1d0}
/* Same identity; retain ES5 view and authenticated accounting APIs for older iPad. */
body{background:#052633;color:#effbff}header{padding:20px 0;border-bottom:1px solid #36798c}header img{object-fit:contain;max-height:96px;max-width:130px}header h1{margin:12px 0 5px}.modern-access{display:inline-block;padding:12px;border:1px solid #5094a8;border-radius:8px;text-decoration:none}nav{padding:10px;background:#0b3c50;border:1px solid #2c6f83;border-radius:12px}nav button{background:#17556c;border-color:#4b92a8;font-weight:bold}article,form,.panel{border:1px solid #bfdbe6;box-shadow:0 5px 18px #00172355}button{min-height:46px}main>nav{color:white}main>h2,main>h3,main>label{color:#effbff}main article h2,main article h3,main article label,main form h2,main form h3,main form label{color:#173c50}@media(min-width:1000px){header,nav,main,#status{max-width:1400px}#navigation button{display:inline-block;width:auto}main article{padding:24px}}@media(orientation:landscape) and (min-width:700px){#navigation button{display:inline-block;width:auto;min-width:160px}}@media(max-width:520px){header img{max-height:72px;max-width:100px}#navigation button{width:48%;margin:4px 1%;font-size:14px;padding:10px 6px}}
/* Visible content and touch controls on iPad / iPhone, including rotation. */
html,body{min-width:0}body{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right));padding-bottom:max(12px,env(safe-area-inset-bottom))}main,form,article,section{min-width:0;max-width:100%}button{height:auto;white-space:normal;line-height:1.35}input,select,textarea{font-size:16px}label input[type=checkbox]{width:22px;height:22px;min-height:22px;display:inline-block}form textarea{min-height:110px;background:#fff;color:#143444}form a{display:block;padding:12px 0;overflow-wrap:break-word}main table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}#navigation{display:flex;flex-wrap:wrap;gap:8px}#navigation button{margin:0;flex:1 1 145px;max-width:100%;width:auto}@media(max-width:520px){#navigation button{flex-basis:42%;font-size:14px}header img{max-width:90px}h1{font-size:24px}}

/* Scoped to the dedicated compatible Cashier route; no KDS/Waiter/desktop overrides. */
button{min-height:52px;touch-action:manipulation;font-weight:600}button.action-confirm,button[type=submit]{background:#167344;border-color:#0e5732}button.action-print{background:#125cba;border-color:#0c438d}button.action-special{background:#8b5a05;border-color:#6f4303}button.action-critical{background:#b32f36;border-color:#8b2028}button.action-secondary{background:#49616b;border-color:#344c57}button:focus{outline:3px solid #e4b95c;outline-offset:3px}button:disabled{cursor:progress;opacity:.65}#status{position:sticky;top:0;z-index:3}form{max-width:760px;margin-left:auto;margin-right:auto}input,select,textarea{min-height:48px;font-size:18px}pre{overflow:auto;max-height:65vh;-webkit-overflow-scrolling:touch}html{scroll-padding-top:72px}@media(orientation:landscape) and (min-width:700px){form{padding:24px}form button{min-width:180px}}
