.op-publication,.op-version,.op-stock-list>div,.op-stock-list>label {display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e5e7e5;min-width:0}
.op-publication {border-inline-start:3px solid #1b774e;padding:14px 18px;background:#f0f7f3;flex-wrap:wrap;margin:16px 0}
.op-publication small,.op-version small {display:block;font-size:13px;color:#59625e;margin-top:6px}
.op-check-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 0}
.op-check-grid label {display:flex;gap:10px;align-items:center;min-height:36px;text-align:start;overflow-wrap:break-word;font-size:15px}
.op-check-grid input[type=checkbox],.op-stock-control input {width:20px;height:20px;flex:0 0 20px;accent-color:#147249}
.op-weekdays {display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}
.op-request-backdrop {place-items:center}
.sheet.op-request-sheet {width:min(100%,440px);max-height:calc(100dvh - 32px);background:#fff}
.op-request-sheet .sheet-header {flex-shrink:0;background:#fff;padding:20px;align-items:center}
.op-request-sheet .sheet-header>div {min-width:0}
.op-request-sheet .sheet-title {font-size:27px;line-height:1.15;overflow-wrap:anywhere}
.op-request-sheet .close-button {flex-shrink:0}
.op-request-form {display:flex;flex-direction:column;min-height:0;margin:0}
.op-request-form .sheet-content {min-height:0;padding:18px 20px 20px}
.op-request-choices {display:grid;gap:9px;border:0;padding:0;margin:0;min-width:0;text-align:start}
.op-request-choices legend {padding:0;margin-bottom:12px;font:600 14px/1.5 Arial,sans-serif;color:#586159;max-width:100%;overflow-wrap:anywhere}
.op-request-choices label {display:flex;align-items:center;gap:12px;min-height:52px;border:1px solid #d9dfdb;border-radius:6px;background:#fff;padding:12px 14px;box-sizing:border-box;font:600 16px/1.4 Arial,sans-serif;cursor:pointer;min-width:0}
.op-request-choices label:has(input:checked) {background:#fff2f3;border-color:#bc172a;color:#a71425}
.op-request-choices label:has(input:focus-visible) {outline:2px solid #253e64;outline-offset:2px}
.op-request-choices input {accent-color:#bc172a;width:19px;height:19px;flex:0 0 19px;margin:0}
.op-request-choices span {overflow-wrap:anywhere;min-width:0}
.op-payment-choices {grid-template-columns:repeat(2,minmax(0,1fr))}
.op-payment-choices label:has(input:checked) {background:#edf8f1;border-color:#187044;color:#146038}
.op-payment-choices input {accent-color:#187044}
.op-request-footer {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:10px;flex-shrink:0;padding:16px 20px calc(16px + env(safe-area-inset-bottom,0px));border-top:1px solid #e3e7e4;background:#fff}
#modal-root .op-request-footer button {min-height:48px;white-space:normal;overflow-wrap:anywhere;font-size:15px}
#modal-root .op-request-confirm.op-confirm-service {background:#bc172a;border-color:#bc172a;color:#fff}
#modal-root .op-request-confirm.op-confirm-payment {background:#187044;border-color:#187044;color:#fff}
.op-request-form .op-error {padding:12px 0 0;margin:0}
.op-payment-preference {display:block;margin-top:4px;color:#185b8e;font-size:13px;font-weight:400;line-height:1.4}
.op-sold-out .dish-image {opacity:.6}
.op-stock-label,.op-offer-label {display:inline-block;margin-top:7px;color:#a71425;font-size:12px;font-weight:700;line-height:1.4}
.op-offer-label {color:#187348}
.op-allergen-details {border-top:1px solid #e1e3df;padding:14px 0;font-size:15px;text-align:start}
.op-allergen-details p {margin:8px 0;line-height:1.6}
.op-allergen-details small {color:#6d6354;line-height:1.5;display:block}
.op-filter-content {overflow-y:auto;min-height:0}
.op-filter-footer {display:flex;justify-content:space-between;gap:10px;padding:16px;background:#fff;border-top:1px solid #e1e3df;flex-shrink:0}
.op-staff-tools {margin-bottom:18px}
.op-connection {display:flex;align-items:center;gap:8px 18px;flex-wrap:wrap;font-size:12px;line-height:1.6;padding:8px 0}
.op-connection>span::before {content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:currentColor;margin-inline-end:6px}
.op-good {color:#127345}
.op-pending {color:#ab4a07}
.op-staff-controls {display:flex;gap:12px;align-items:end;justify-content:space-between;margin:8px 0}
.op-staff-controls label {flex:1;min-width:0;font:600 13px/1.5 Arial,sans-serif}
.op-staff-controls label>span {display:block;margin-bottom:5px}
.op-staff-controls select,.op-note-form input,.op-stock-search,.op-area-row input,.op-import-grid input:not([type=checkbox]) {width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid #d8dedb;border-radius:6px;background:#fff;color:#18221d;font:400 16px/1.4 Arial,sans-serif;box-sizing:border-box}
.op-staff-controls button {max-width:48%;min-height:44px;height:auto;white-space:normal;font-size:13px}
.op-staff-controls button span {overflow-wrap:break-word}
.op-stock-list {width:100%;font:400 15px/1.5 Arial,sans-serif}
.op-stock-list>label>span:first-child,.op-stock-list>div>strong {min-width:0;overflow-wrap:break-word;flex:1}
.op-stock-control {display:flex;gap:10px;align-items:center;max-width:45%;font-size:13px}
.op-stock-search {margin-bottom:12px}
.op-request-summary {display:flex;justify-content:space-between;align-items:center;gap:12px;font:600 14px/1.4 Arial,sans-serif;padding:8px 0;text-align:start}
.op-request-summary>span {min-width:0;overflow-wrap:break-word}
.op-request-summary button {font-size:13px;flex-shrink:0;min-height:40px}
.op-request-summary>strong {color:#10724c;max-width:50%;overflow-wrap:break-word}
.staff-shell .aw-button,#modal-root .aw-button {display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #cdd4cf;border-radius:5px;background:#fff;color:#25372d;font:600 14px/1.35 Arial,sans-serif;padding:10px 12px;min-height:44px;cursor:pointer;box-sizing:border-box}
.staff-shell .aw-button svg,#modal-root .aw-button svg {width:20px;height:20px;flex:0 0 20px}
.staff-shell .aw-primary,#modal-root .aw-primary {background:#197044;color:#fff;border-color:#197044}
.staff-shell .aw-button:disabled,#modal-root .aw-button:disabled {opacity:.55;cursor:default}
.op-note-form {font:600 12px/1.4 Arial,sans-serif;text-align:start;margin:6px 0 2px}
.op-note-form>div {display:flex;gap:8px;margin-top:4px}
.op-note-form input {min-height:38px;padding:6px 10px}
.op-note-form button {flex-shrink:0;min-height:38px;padding:8px}
.op-note-form small:empty {display:none}
.op-error {color:#af1829;font-size:14px;line-height:1.4;padding:8px}
.staff-table-state strong {overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important;text-align:center}
.staff-detail-top {flex-shrink:0}
.staff-detail-actions button[hidden] {display:none!important}
.staff-detail-sheet .staff-detail-section {min-height:0}
.op-area-row {display:grid;grid-template-columns:minmax(100px,1fr) minmax(110px,1fr) 44px;gap:10px;margin:12px 0}
.op-area-row button {padding:8px;min-width:0}
.op-health {margin:0}
.op-health>div {display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:16px;padding:14px 0;border-bottom:1px solid #e2e5e3}
.op-health dd {margin:0;overflow-wrap:break-word}
.op-audit {max-height:560px;overflow:auto}
.op-audit details {border-bottom:1px solid #e2e5e3;padding:12px 0;font-size:13px;overflow-wrap:anywhere}
.op-audit summary {display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap;cursor:pointer}
.op-audit pre {white-space:pre-wrap}
.op-qr {display:block;width:240px;max-width:100%;height:auto;margin:20px 0}
.op-secret {display:block;overflow-wrap:anywhere;margin:12px 0}
.op-import-grid {display:grid;grid-template-columns:28px minmax(100px,2fr) minmax(90px,1fr) minmax(75px,.8fr);gap:10px;align-items:center;margin:16px 0;font-size:12px}
.op-import-grid input[type=checkbox] {width:20px;height:20px;accent-color:#187348}
.op-import-grid+button {margin:8px 0}
[data-source] {width:100%;box-sizing:border-box;font:14px/1.5 monospace}
.op-preview-bar {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;background:#183f2e;color:#fff;font:14px/1.5 Arial,sans-serif}
.op-preview-bar a {color:#fff}
.aw-tabs {flex-wrap:wrap;overflow:visible}
.aw-tabs a {white-space:normal;min-width:0}
.aw-button span {white-space:normal;overflow-wrap:break-word}
.op-report-toggle {padding:14px 0;border-top:1px solid #e5e7e5}
.op-report-toggle small {display:block;margin-top:7px;font-size:12px;color:#56635b;overflow-wrap:anywhere}
.op-switch {display:flex;align-items:center;gap:12px;position:relative;cursor:pointer;margin:14px 0;font-size:14px;line-height:1.4}
.op-switch input {position:absolute;width:44px;height:26px;opacity:0;margin:0;z-index:1;cursor:pointer}
.op-switch>span {width:44px;height:26px;border-radius:20px;background:#858d88;flex:0 0 44px;position:relative;transition:background .2s}
.op-switch>span::after {content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;background:#fff;border-radius:50%;transition:transform .2s;box-shadow:0 1px 3px #0003}
.op-switch input:checked+span {background:#197346}
.op-switch input:checked+span::after {transform:translateX(18px)}
.op-switch input:focus-visible+span {outline:3px solid #93bda7;outline-offset:3px}
.op-switch input:disabled+span {opacity:.5}
.op-qr-table {display:flex;align-items:end;gap:16px;margin-top:20px;flex-wrap:wrap}
.op-qr-result {margin-top:24px;border-top:1px solid #dce5df;padding-top:18px}
@media(max-width:480px){
  .op-publication {padding:12px;gap:10px}
  .op-check-grid {gap:8px 12px}
  .op-check-grid label {font-size:13px}
  .op-health>div {grid-template-columns:1fr 1.4fr;font-size:13px}
  .op-stock-list .aw-button {font-size:12px;max-width:48%;padding:9px}
  .op-stock-list .aw-button svg {display:none}
  .op-import-grid {grid-template-columns:22px minmax(85px,1.5fr) minmax(65px,1fr) 66px;gap:5px}
  .op-import-grid input:not([type=checkbox]) {font-size:13px;padding:7px 4px}
  .op-request-summary {font-size:12px}
  .staff-table-state strong {font-size:11px!important;line-height:1.25!important}
}
