/* Cafeeyar Waiter UI — warm cafe palette. Applies only inside the waiter PWA. */
:root { --cyw-green:#13563f; --cyw-green-dark:#083f2d; --cyw-cream:#fffaf5; --cyw-latte:#f5e8d9; --cyw-brown:#85502d; --cyw-line:#e9e5de; --cyw-muted:#847b73; }
body { background:#f9f6f1; }
.wa-ui.cyw-app { max-width:1120px;margin:0 auto;padding:14px 16px 112px;background:#f9f6f1;color:#231e1c;min-height:100dvh; }
.cyw-app .i { width:21px;height:21px;stroke-width:1.9;vertical-align:middle; }
.cyw-top {display:flex;align-items:center;gap:11px;padding:8px 3px 15px;direction:rtl;}
.cyw-logo {width:48px;height:48px;flex:none;display:grid;place-items:center;color:#75441f;border:1px solid #eedcc6;border-radius:15px;background:linear-gradient(145deg,#fff6e9,#f5ddbc);box-shadow:0 5px 15px #89532614;}
.cyw-logo .i {width:30px;height:30px;stroke-width:2.1;}
.cyw-brand {display:flex;flex:1;flex-direction:column;min-width:0;line-height:1.55;}
.cyw-brand strong {font-size:21px;letter-spacing:-.3px;font-weight:950;color:#193d2e;}
.cyw-brand small {font-size:11px;color:#77746c;font-weight:600;}
.cyw-top-actions {display:flex;align-items:center;gap:6px;}
.cyw-top-actions button {width:39px;height:39px;display:grid;place-items:center;border:1px solid #ebe6df;border-radius:13px;background:#fffefa;color:#5c4431;padding:0;box-shadow:0 3px 9px #6f4d2811;}
.cyw-top-actions button:hover {border-color:#d2b993;color:var(--cyw-green);}
.cyw-top-actions .i {width:19px;height:19px;}
.cyw-welcome {display:flex;align-items:center;justify-content:space-between;min-height:108px;padding:18px 19px;gap:8px;border:1px solid #f0e0ce;border-radius:23px;background:linear-gradient(120deg,#fff9f1,#f9e9d6);box-shadow:0 6px 19px #995b2c0c;}
.cyw-welcome-copy {display:flex;flex-direction:column;gap:5px;}
.cyw-welcome-copy strong {font-size:22px;font-weight:950;color:#2b241e;}
.cyw-welcome-copy span {font-size:13px;color:#71675c;font-weight:650;}
.cyw-welcome-art {flex:none;width:87px;height:73px;display:grid;place-items:center;transform:rotate(-8deg);color:#aa692c;}
.cyw-welcome-art .i {width:69px;height:69px;stroke-width:1.5;filter:drop-shadow(0 5px 3px #b47c3e25);}
.cyw-demo {display:flex;align-items:center;gap:8px;padding:8px 11px;margin:11px 0 0;font-size:11px;color:#8a692e;background:#fff5df;border:1px solid #f1e2ba;border-radius:12px;line-height:1.75;}
.cyw-demo .i {width:17px;height:17px;flex:none;}
.cyw-main {padding:16px 0 9px;animation:wa-main-enter .15s ease both;}
.cyw-filters {display:flex;align-items:center;gap:8px;margin:2px 0 17px;flex-wrap:wrap;}
.cyw-filter {display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #e9e4df;border-radius:13px;padding:11px 15px;min-height:43px;background:#fffdf9;color:#55514c;font-weight:750;font-size:12px;box-shadow:0 2px 8px #4a38230a;}
.cyw-filter .i {width:17px;height:17px;}
.cyw-filter.selected {background:var(--cyw-green);border-color:var(--cyw-green);color:#fff;box-shadow:0 5px 13px #11583b1e;}
.cyw-table-grid {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
.cyw-table-card {position:relative;min-height:175px;border-radius:19px;overflow:hidden;border:1.5px solid #dce9dc;background:var(--wa-free-bg,#e7f3e9);color:var(--wa-free-fg,#164d34);box-shadow:0 5px 12px #1d57300b;}
.cyw-table-card.is-busy {background:var(--wa-busy-bg,#faead7);color:var(--wa-busy-fg,#74411e);border-color:#e5b888;box-shadow:0 5px 13px #8b4c2411;}
.cyw-table-card.has-request {outline:2px solid #c38b54;outline-offset:0;}
.cyw-table-card.has-request:not(.wa-no-anim *) {animation:cyw-shake .65s ease-in-out 2;}
.wa-no-anim .cyw-table-card.has-request {animation:none!important;}
@keyframes cyw-shake {0%,100%{transform:translateX(0)}25%{transform:translateX(-3px)}50%{transform:translateX(3px)}75%{transform:translateX(-2px)}}
.cyw-table-open {width:100%;height:100%;min-height:175px;border:0;border-radius:inherit;background:none;color:inherit;padding:15px 11px 32px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:2px;}
.cyw-table-open .cyw-table-illustration {display:grid;place-items:center;margin-bottom:1px;}
.cyw-table-illustration .i {width:35px;height:35px;stroke-width:2.1;}
.cyw-table-open strong {font-size:22px;line-height:1.5;font-weight:950;}
.cyw-table-open em {font-size:12px;font-style:normal;font-weight:850;}
.cyw-table-open small {font-size:10px;font-weight:600;color:inherit;opacity:.8;}
.cyw-table-release {position:absolute;top:5px;left:5px;z-index:5;width:40px;height:40px;padding:8px;display:grid;place-items:center;border:0;border-radius:12px;background:transparent;color:#6b3c24;}
.cyw-table-release .i {width:23px;height:23px;border-radius:9px;padding:4px;background:#fffaf4ca;box-shadow:0 1px 4px #5a2f151a;stroke-width:2.3;}
.cyw-table-release:hover .i {background:#fff;color:#b23529;}
.cyw-request-icons {position:absolute;bottom:7px;inset-inline:7px;display:flex;justify-content:center;align-items:center;gap:6px;pointer-events:none;}
.cyw-request-icons>span {display:inline-flex;align-items:center;justify-content:center;gap:3px;min-width:29px;min-height:25px;padding:4px 7px;background:#fffbf1ee;color:#945124;border:1px solid #efdbc2;border-radius:9px;box-shadow:0 2px 4px #704c2920;}
.cyw-request-icons .i {width:16px;height:16px;stroke-width:2.1;}
.cyw-request-icons i {font-size:10px;font-style:normal;font-weight:800;}
.cyw-table-tip {display:flex;align-items:flex-start;gap:8px;margin:15px 0 0;padding:11px 12px;border-radius:13px;background:#f2e9dd;color:#6b5136;font-size:11px;line-height:1.8;}
.cyw-table-tip .i {width:19px;height:19px;flex:none;}
.cyw-attention-strip {width:100%;margin-top:12px;border:1px solid #e4caa7;background:#fff1de;color:#83502b;border-radius:13px;padding:10px 13px;display:flex;align-items:center;gap:9px;font-size:12px;font-weight:850;}
.cyw-attention-strip .i:last-child {margin-inline-start:auto;}
.cyw-attention-strip .i {width:19px;height:19px;}
.cyw-empty {grid-column:1/-1;display:flex;align-items:center;flex-direction:column;gap:7px;border-radius:17px;padding:34px 16px;background:#fffefa;color:#6b7766;}
.cyw-empty .i {width:32px;height:32px;}
.cyw-page-intro {text-align:center;margin:5px 0 19px;}
.cyw-page-intro h1 {font-size:23px;line-height:1.5;font-weight:950;color:#29231f;margin:0 0 8px;}
.cyw-page-intro p {color:#88776d;font-size:12px;line-height:1.85;margin:0 auto;max-width:490px;}
.cyw-queue-summary {display:flex;gap:8px;align-items:center;justify-content:center;border:1px solid #f1e2d1;background:#f8eadb;color:#6e523e;border-radius:16px;padding:12px;margin:0 0 17px;font-size:12px;font-weight:700;}
.cyw-queue-summary .i {width:20px;height:20px;color:#9f622f;}
.cyw-task-list {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start;}
.cyw-task-card {background:#fffefa;border:1px solid #e8e3dd;border-radius:20px;padding:18px 16px;box-shadow:0 5px 18px #653e1d0a;min-width:0;}
.cyw-task-top {display:flex;align-items:center;gap:10px;flex-wrap:wrap;}
.cyw-task-icon {flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#fae8d3;color:#8d552b;}
.cyw-task-icon .i {width:26px;height:26px;stroke-width:1.8;}
.cyw-task-heading {display:flex;flex:1;flex-direction:column;gap:2px;min-width:75px;}
.cyw-task-heading strong {font-size:15px;color:#30241d;font-weight:950;}
.cyw-task-label {font-size:12px;color:#746355;font-weight:750;}
.cyw-task-chip {display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:850;border-radius:19px;padding:5px 8px;white-space:nowrap;background:#eee9e0;color:#736450;}
.cyw-task-chip .i {width:15px;height:15px;}
.cyw-task-chip.is-ready {background:#def2df;color:#217344;}
.cyw-task-chip.is-call {background:#ffebea;color:#b83e45;}
.cyw-task-chip.is-bill {background:#fff0d9;color:#9a5828;}
.cyw-task-chip.is-progress {background:#f0e9df;color:#816447;}
.cyw-task-body {font-size:13px;line-height:1.9;color:#6a5b52;margin:11px 0;min-height:20px;}
.cyw-task-meta {display:flex;align-items:center;justify-content:space-between;gap:10px;color:#988878;font-size:11px;margin:8px 0 15px;}
.cyw-task-btn {display:flex;gap:8px;align-items:center;justify-content:center;width:100%;min-height:43px;border-radius:12px;border:1px solid var(--cyw-green);font-size:13px;font-weight:900;background:var(--cyw-green);color:#fff;}
.cyw-task-btn.outline {background:#fffefa;color:var(--cyw-green);border-color:#aac8b5;}
.cyw-task-btn .i {width:21px;height:21px;}
.cyw-task-btn:disabled {opacity:.52;}
.cyw-empty-state {grid-column:1/-1;display:flex;flex-direction:column;align-items:center;gap:6px;padding:40px 12px;border:1px dashed #d4e4d6;border-radius:20px;background:#fcfefa;}
.cyw-empty-state .i {width:35px;height:35px;color:var(--cyw-green);}
.cyw-empty-state strong {font-size:17px;color:var(--cyw-green);}
.cyw-empty-state p {font-size:12px;color:#7e837b;margin:0;}
.cyw-install-hero {display:flex;align-items:center;gap:18px;padding:22px;border-radius:23px;background:linear-gradient(130deg,#fff7ee,#f3dfc7);border:1px solid #efdac4;min-height:170px;margin-bottom:14px;}
.cyw-install-preview {flex:none;width:115px;height:126px;display:grid;place-items:center;border:6px solid #714b34;border-radius:22px;background:linear-gradient(165deg,#c4e2ce,#2b7659);box-shadow:5px 8px 16px #80552a21;transform:rotate(-7deg);color:white;}
.cyw-install-preview .i {width:55px;height:55px;stroke-width:1.7;}
.cyw-install-content {flex:1;display:flex;align-items:flex-start;flex-direction:column;gap:7px;}
.cyw-install-content strong {font-size:17px;font-weight:950;color:#30221b;}
.cyw-install-content p {font-size:12px;line-height:1.8;color:#725e4e;margin:0 0 4px;}
.cyw-install-btn {display:flex;align-items:center;justify-content:center;gap:7px;border:0;background:linear-gradient(120deg,#8c532b,#6d3e21);color:#fff;border-radius:13px;padding:12px 13px;font-size:12px;font-weight:900;min-height:40px;}
.cyw-install-btn .i {width:18px;height:18px;}
.cyw-update-card {display:flex;align-items:center;gap:11px;padding:15px;border-radius:18px;background:#f7ede1;border:1px solid #efe0d0;margin-bottom:25px;}
.cyw-update-icon {display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:12px;background:#fff9f1;color:#915d2f;}
.cyw-update-details {flex:1;display:flex;flex-direction:column;gap:3px;}
.cyw-update-details strong {font-size:13px;font-weight:900;color:#302820;}
.cyw-update-details small {font-size:11px;color:#8a7c6d;}
.cyw-update-btn {border:1px solid var(--cyw-green);border-radius:10px;background:var(--cyw-green);color:#fff;padding:9px 13px;font-size:11px;font-weight:900;flex:none;}
.cyw-settings-panel {background:#fffefa;border-radius:19px;padding:8px 4px 2px;}
.cyw-settings-panel h2 {font-size:20px;font-weight:950;margin:0 0 14px;padding:0 11px;}
.cyw-setting-row,.cyw-color-row {display:flex;align-items:center;gap:11px;padding:13px 12px;min-height:72px;border:1px solid #eae5de;background:#fffefa;}
.cyw-settings-panel .cyw-color-row {border-radius:16px 16px 0 0;}
.cyw-settings-panel .cyw-setting-row:last-of-type {border-radius:0 0 16px 16px;}
.cyw-setting-row+.cyw-setting-row,.cyw-sound-choice,.cyw-color-row+.cyw-setting-row {border-top:0;}
.cyw-setting-icon {display:grid;place-items:center;flex:none;width:37px;height:37px;border-radius:11px;background:#f7ebdf;color:#794c2c;}
.cyw-setting-icon .i {width:21px;height:21px;}
.cyw-setting-info {display:flex;flex:1;flex-direction:column;gap:1px;min-width:0;}
.cyw-setting-info strong {font-size:13px;font-weight:900;color:#29231e;}
.cyw-setting-info small {color:#8c7e73;font-size:10.5px;line-height:1.7;}
.cyw-switch {position:relative;display:block;width:47px;height:27px;flex:none;}
.cyw-switch input {position:absolute;width:100%;height:100%;inset:0;opacity:0;z-index:2;cursor:pointer;}
.cyw-switch-track {display:block;width:47px;height:27px;border-radius:20px;background:#d0cec8;box-shadow:inset 0 1px 3px #0002;transition:background .18s;}
.cyw-switch-track:after {content:'';position:absolute;top:4px;right:4px;width:19px;height:19px;border-radius:50%;background:white;box-shadow:0 1px 4px #0002;transition:transform .18s;}
.cyw-switch input:checked+.cyw-switch-track {background:var(--cyw-green);}
.cyw-switch input:checked+.cyw-switch-track:after {transform:translateX(-20px);}
.cyw-switch input:focus-visible+.cyw-switch-track {outline:3px solid #c7a471;outline-offset:3px;}
.cyw-color-inputs {display:flex;align-items:center;gap:8px;}
.cyw-color-inputs label {display:flex;flex-direction:column;align-items:center;gap:2px;color:#6b5f53;font-size:10px;}
.cyw-color-inputs input[type=color] {width:36px;height:32px;padding:0;border:1px solid #e5dbca;border-radius:10px;background:#fff;cursor:pointer;}
.cyw-sound-choice {display:flex;justify-content:space-between;align-items:center;padding:7px 14px 10px;border:1px solid #eae5de;background:#fffefa;font-size:12px;color:#777068;}
.cyw-sound-choice select {max-width:180px;background:#fffaf4;color:#514337;border:1px solid #e5d9cb;border-radius:10px;padding:8px;}
.cyw-settings-actions {display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
.cyw-primary-btn,.cyw-neutral-btn {display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:12px;min-height:43px;padding:9px 13px;font-size:12px;font-weight:900;}
.cyw-primary-btn {background:var(--cyw-green);color:#fff;border:1px solid var(--cyw-green);}
.cyw-neutral-btn {background:#fffefa;color:var(--cyw-green);border:1px solid #c7ddcd;}
.cyw-settings-actions .i {width:18px;height:18px;}
.cyw-settings-footnote {color:#8b7c70;font-size:11px;line-height:1.8;margin:13px 4px 18px;}
.cyw-support-panel {padding:16px 18px;border:1px solid #ede4d8;border-radius:18px;background:#fffaf2;margin-bottom:13px;}
.cyw-support-panel strong {font-size:14px;font-weight:900;color:#30261d;}
.cyw-support-panel p {font-size:12px;line-height:1.8;color:#897b6b;margin:8px 0 13px;}
.cyw-support-panel a {display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:11px;border:1px solid #d8c7b3;color:var(--cyw-green);font-weight:900;}
.cyw-update-banner {display:flex;align-items:center;gap:8px;background:#e7f3e9;color:#205740;border:1px solid #cbdfcd;border-radius:12px;padding:10px;margin:11px 0;}
.cyw-update-banner button {margin-inline-start:auto;background:var(--cyw-green);border:0;border-radius:9px;color:#fff;padding:7px 11px;}
.cyw-bottom {position:fixed;z-index:30;left:50%;right:auto;bottom:0;transform:translateX(-50%);width:min(100%,700px);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:10px 12px calc(10px + env(safe-area-inset-bottom));border:1px solid #e7ded4;border-bottom:0;border-radius:23px 23px 0 0;background:#fffdfaef;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 -8px 35px #47332014;}
.cyw-nav-item {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:58px;border:0;border-radius:15px;background:transparent;color:#755f52;font-size:12px;font-weight:800;}
.cyw-nav-item.active {background:var(--cyw-green);color:#fff;box-shadow:0 4px 9px #0b513b29;}
.cyw-nav-icon {display:grid;place-items:center;position:relative;}
.cyw-nav-icon .i {width:23px;height:23px;}
.cyw-nav-badge {position:absolute;top:-8px;right:-15px;padding:0 5px;border-radius:11px;background:#b84836;color:#fff;min-width:16px;height:16px;font-size:10px;line-height:16px;font-style:normal;}
.cyw-app .wa-order-layout {margin-top:4px;}
.cyw-app .wa-order-layout .wa-card {border-color:#e9e4dd;border-radius:19px;box-shadow:0 5px 15px #533b250a;background:#fffefa;}
@media(max-width:850px) {.cyw-table-grid{grid-template-columns:repeat(3,minmax(0,1fr));}.cyw-task-list{grid-template-columns:1fr;}}
@media(max-width:560px) {
  .wa-ui.cyw-app {padding:11px 12px calc(105px + env(safe-area-inset-bottom));}
  .cyw-top {gap:9px;padding:3px 2px 13px;}
  .cyw-logo {width:42px;height:42px;border-radius:13px;}
  .cyw-logo .i {width:26px;height:26px;}
  .cyw-brand strong {font-size:18px;}
  .cyw-brand small {font-size:10px;}
  .cyw-top-actions {gap:4px;}
  .cyw-top-actions button {width:35px;height:35px;border-radius:11px;}
  .cyw-top-actions .i {width:18px;height:18px;}
  .cyw-welcome {min-height:94px;padding:14px 14px;border-radius:19px;}
  .cyw-welcome-copy strong {font-size:19px;}
  .cyw-welcome-copy span {font-size:12px;}
  .cyw-welcome-art {width:62px;height:60px;}
  .cyw-welcome-art .i {width:53px;height:53px;}
  .cyw-main {padding-top:16px;}
  .cyw-filters {gap:6px;margin-bottom:14px;flex-wrap:nowrap;}
  .cyw-filter {padding:9px 10px;min-height:40px;font-size:11px;flex:1;}
  .cyw-filter .i {width:15px;height:15px;}
  .cyw-table-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;}
  .cyw-table-card {min-height:166px;border-radius:17px;}
  .cyw-table-open {min-height:166px;padding:14px 10px 31px;}
  .cyw-table-illustration .i {width:30px;height:30px;}
  .cyw-table-open strong {font-size:21px;}
  .cyw-table-open em {font-size:12px;}
  .cyw-table-open small {font-size:9px;}
  .cyw-page-intro h1 {font-size:20px;}
  .cyw-task-card {padding:14px 13px;border-radius:17px;}
  .cyw-task-chip {font-size:9px;max-width:150px;overflow:hidden;text-overflow:ellipsis;}
  .cyw-task-heading strong {font-size:13px;}
  .cyw-task-icon {width:40px;height:40px;border-radius:12px;}
  .cyw-task-icon .i {width:23px;height:23px;}
  .cyw-install-hero {padding:16px 14px;gap:12px;min-height:156px;border-radius:19px;}
  .cyw-install-preview {width:85px;height:107px;border-width:5px;border-radius:18px;}
  .cyw-install-preview .i {width:43px;height:43px;}
  .cyw-install-content strong {font-size:14px;}
  .cyw-install-content p {font-size:11px;}
  .cyw-install-btn {font-size:10px;padding:10px;}
  .cyw-update-card {padding:12px;gap:7px;}
  .cyw-update-btn {padding:8px 10px;font-size:10px;}
  .cyw-settings-panel h2 {font-size:18px;}
  .cyw-setting-row,.cyw-color-row {padding:11px 9px;gap:8px;}
  .cyw-setting-icon {width:33px;height:33px;}
  .cyw-setting-icon .i {width:19px;height:19px;}
  .cyw-setting-info strong {font-size:12px;}
  .cyw-setting-info small {font-size:10px;}
  .cyw-settings-actions>* {flex:1;}
}
@media(max-width:365px) {.cyw-filter{padding:8px 6px;font-size:10px;}.cyw-brand strong{font-size:16px;}.cyw-logo{width:37px;height:37px;}.cyw-top-actions button{width:32px;height:34px;}.cyw-table-card,.cyw-table-open{min-height:158px;}}
@media(prefers-reduced-motion:reduce) {.cyw-table-card.has-request{animation:none!important;}}


/* Waiter UX: readable adaptive table density and accessible icon rendering. */
.cyw-app svg.i{fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;overflow:visible}
.cyw-app .cyw-order-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:5px;background:#eaece7;border:1px solid #dce5dd;border-radius:15px;margin-bottom:13px}
.cyw-app .cyw-order-tabs button{border:0;background:transparent;color:#53685a;border-radius:11px;min-height:46px;font-weight:850;padding:8px 5px}
.cyw-app .cyw-order-tabs button.active{background:#fff;color:#15583e;box-shadow:0 3px 10px #142d2514}
.cyw-app .cyw-order-tabs button span{font-size:11px;border-radius:30px;padding:1px 6px;margin-right:4px;background:#e5f3e8;color:#246346}
.cyw-app .cyw-layout-settings{padding:14px 12px;margin-top:9px;background:#f7faf6;border:1px solid #dce9dc;border-radius:15px;display:grid;gap:10px}
.cyw-app .cyw-layout-settings h3{font-size:15px;color:#214b35;margin:0;font-weight:900}
.cyw-app .cyw-layout-settings p{margin:0;font-size:11px;color:#718073}
.cyw-app .cyw-layout-settings label{display:flex;justify-content:space-between;align-items:center;gap:8px;font-weight:750;font-size:12px}
.cyw-app .cyw-layout-settings select{min-height:42px;border:1px solid #cbdcce;background:#fff;border-radius:10px;padding:7px;width:53%;color:#264932}
.cyw-app .cyw-table-card,.cyw-app .cyw-table-open{min-height:131px}
.cyw-app .cyw-table-open{padding:10px 8px 26px;gap:0}
.cyw-app .cyw-table-illustration .i{width:25px;height:25px}
.cyw-app .cyw-table-open strong{font-size:18px;line-height:1.5}
.cyw-app .cyw-table-open small{font-size:10px}
.cyw-app.cyw-size-compact .cyw-table-card,.cyw-app.cyw-size-compact .cyw-table-open{min-height:101px}
.cyw-app.cyw-size-compact .cyw-table-open{padding:6px 5px 22px}
.cyw-app.cyw-size-compact .cyw-table-illustration .i{width:19px;height:19px}
.cyw-app.cyw-size-compact .cyw-table-open strong{font-size:15px}
.cyw-app.cyw-size-compact .cyw-table-open em{font-size:10px}
.cyw-app.cyw-size-compact .cyw-table-open small{font-size:9px}
.cyw-app.cyw-size-large .cyw-table-card,.cyw-app.cyw-size-large .cyw-table-open{min-height:172px}
.cyw-app.cyw-size-large .cyw-table-illustration .i{width:34px;height:34px}
.cyw-app.cyw-size-large .cyw-table-open strong{font-size:22px}
.cyw-app .cyw-table-grid{gap:9px}
@media(min-width:561px) and (max-width:1024px){
 .cyw-app .cyw-table-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .cyw-app.cyw-tablet-3 .cyw-table-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .cyw-app.cyw-tablet-4 .cyw-table-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .cyw-app.cyw-tablet-5 .cyw-table-grid{grid-template-columns:repeat(5,minmax(0,1fr))}
}
@media(max-width:560px){
 .cyw-app .cyw-table-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cyw-app.cyw-mobile-2 .cyw-table-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .cyw-app.cyw-mobile-3 .cyw-table-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
 .cyw-app.cyw-mobile-3 .cyw-table-open strong{font-size:15px}
 .cyw-app.cyw-mobile-3 .cyw-table-open small{font-size:9px}
 .cyw-app.cyw-mobile-3 .cyw-table-open{padding:7px 3px 23px}
 .cyw-app.cyw-mobile-3 .cyw-table-release{width:30px;height:30px;padding:5px}
 .cyw-app.cyw-mobile-3 .cyw-table-illustration .i{width:20px;height:20px}
 .cyw-app .cyw-order-tabs{margin-top:0}
}
@media(prefers-reduced-motion:reduce){.cyw-app .cyw-table-card{animation:none!important}}

/* Waiter queue: compact, thumb-friendly actions inside the card heading */
.cyw-app .cyw-task-card{padding:13px 14px;border-radius:16px}
.cyw-app .cyw-task-top{display:flex;align-items:center;gap:10px;flex-wrap:nowrap}
.cyw-app .cyw-task-icon{width:39px;height:39px;border-radius:12px}
.cyw-app .cyw-task-icon .i{width:22px;height:22px}
.cyw-app .cyw-task-heading{flex:1 1 auto;min-width:0;gap:0}
.cyw-app .cyw-task-heading strong{font-size:14px}
.cyw-app .cyw-task-label{font-size:11px}
.cyw-app .cyw-task-btn.cyw-task-action{width:auto;min-width:104px;max-width:43%;min-height:44px;flex:0 0 auto;border:1px solid #b1d4bd;border-radius:12px;padding:8px 10px;font-size:12px;white-space:nowrap;display:inline-flex;background:#e7f4eb;color:#155b3d;box-shadow:none;gap:5px}
.cyw-app .cyw-task-btn.cyw-task-action .i{width:18px;height:18px;flex:none}
.cyw-app .cyw-task-btn.cyw-task-action:disabled{opacity:.48;cursor:default}
.cyw-app .cyw-task-btn.cyw-task-action:not(:disabled):active{transform:scale(.98)}
.cyw-app .cyw-task-body{font-size:12px;line-height:1.7;min-height:0;margin:7px 0 5px;overflow-wrap:anywhere}
.cyw-app .cyw-task-meta{margin:7px 0 0;font-size:11px}
.cyw-app .cyw-task-ongoing .cyw-task-chip,.cyw-app .cyw-task-progress .cyw-task-chip{max-width:130px;overflow:hidden;text-overflow:ellipsis}
.cyw-app .cyw-task-list{gap:9px}
.cyw-app .cyw-page-intro{margin-bottom:10px}
.cyw-app .cyw-queue-summary{margin-bottom:11px}
.cyw-app .cyw-bottom{grid-template-columns:repeat(3,minmax(0,1fr))}
.cyw-app .cyw-nav-item{min-height:60px}
.cyw-app .cyw-nav-item:focus-visible,.cyw-app .cyw-task-action:focus-visible{outline:3px solid #92b5a0;outline-offset:2px}
/* Toasts live on document.body, not inside .cyw-app; constrain SVG geometry here. */
body:has(#waiter-root) .toasts{position:fixed;z-index:220;top:max(15px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:min(92vw,370px);pointer-events:none;display:flex;align-items:center;flex-direction:column;gap:8px}
body:has(#waiter-root) .toasts .toast{max-width:100%;display:flex;gap:8px;align-items:center;padding:11px 15px;background:#194b35;color:#fff;border-radius:13px;font-size:13px;font-weight:750;box-shadow:0 8px 24px #13382233;pointer-events:auto;line-height:1.6}
body:has(#waiter-root) .toasts .toast.err{background:#a83330}
body:has(#waiter-root) .toasts .toast svg,
body:has(#waiter-root) .toasts .toast svg.i{display:block;flex:0 0 19px;width:19px!important;height:19px!important;max-width:19px;max-height:19px;fill:none;stroke:currentColor;stroke-width:2}
@media(max-width:560px){
 .cyw-app .cyw-task-card{padding:11px 12px}
 .cyw-app .cyw-task-icon{width:37px;height:37px}
 .cyw-app .cyw-task-btn.cyw-task-action{min-width:98px;max-width:42%;padding:7px 8px;font-size:11px}
 .cyw-app .cyw-task-top{gap:7px}
}

/* ==========================================================================
   Cafeeyar waiter — 2026 polish layer (appended last, safe overrides)
   ========================================================================== */
:root{
  --cyw-green:#14523c;--cyw-green-dark:#0A3E2D;--cyw-cream:#FFFBF6;
  --cyw-latte:#F6E9DA;--cyw-brown:#8A5430;--cyw-line:#E7E2DA;--cyw-muted:#7C736B;
  --cyw-sh-1:0 1px 2px rgba(23,19,15,.05),0 1px 1px rgba(23,19,15,.03);
  --cyw-sh-2:0 10px 28px -14px rgba(23,19,15,.22);
  --cyw-r:14px;--cyw-r-lg:18px;
}
body{background:radial-gradient(900px 380px at 90% -160px,#f2e9dc,transparent 70%),#F9F6F1;font-size:14.5px;-webkit-font-smoothing:antialiased}
.wa-ui.cyw-app{padding-bottom:calc(112px + env(safe-area-inset-bottom))}
.cyw-app .cyw-top{padding:10px 3px 16px;position:sticky;top:0;z-index:30;background:linear-gradient(#F9F6F1 72%,rgba(249,246,241,0));backdrop-filter:blur(6px)}
.cyw-app .cyw-logo{border-radius:16px;box-shadow:0 8px 20px -12px rgba(137,83,38,.45)}
.cyw-app .cyw-brand strong{font-size:20px;letter-spacing:-.4px}
.cyw-app .cyw-brand small{font-size:10.5px;letter-spacing:.02em}

/* cards */
.cyw-app .cyw-table-card,.cyw-app .cyw-task-card,.cyw-app .cyw-settings-panel,.cyw-app .cyw-support-panel{
  border-radius:var(--cyw-r-lg);border:1px solid var(--cyw-line);background:#fff;
  box-shadow:var(--cyw-sh-1);transition:transform .18s cubic-bezier(.22,1,.36,1),box-shadow .18s,border-color .18s;
}
.cyw-app .cyw-table-card:hover,.cyw-app .cyw-task-card:hover{transform:translateY(-2px);box-shadow:var(--cyw-sh-2);border-color:#DCD2C4}
.cyw-app .cyw-task-card.cyw-task-ready{border-color:#BDE3CC;background:linear-gradient(180deg,#F2FBF6,#fff)}
.cyw-app .cyw-table-card.cyw-table-open{border-color:#E7C79A;background:linear-gradient(180deg,#FFF8EC,#fff)}

/* buttons */
.cyw-app .cyw-primary-btn,.cyw-app .cyw-neutral-btn,.cyw-app .cyw-task-btn,.cyw-app .cyw-install-btn{
  min-height:44px;border-radius:13px;font-weight:800;transition:transform .14s,background .14s,box-shadow .18s;
}
.cyw-app .cyw-primary-btn:active,.cyw-app .cyw-neutral-btn:active,.cyw-app .cyw-task-btn:active{transform:scale(.975)}
.cyw-app .cyw-primary-btn{background:linear-gradient(150deg,#17634A,#0C4632);box-shadow:0 10px 22px -14px rgba(12,70,50,.7)}
.cyw-app .cyw-neutral-btn{background:#fff;border:1px solid var(--cyw-line);color:#3B342E}
.cyw-app .cyw-neutral-btn:hover{border-color:#D9CDBC;background:#FFFCF7}

/* filters + chips */
.cyw-app .cyw-filters{gap:7px;padding-bottom:10px}
.cyw-app .cyw-filter{border-radius:999px;min-height:38px;font-weight:700;border:1px solid var(--cyw-line);background:#fff;color:#4A423B}
.cyw-app .cyw-filter.active,.cyw-app .cyw-filter.on{background:#14523C;border-color:#14523C;color:#fff;box-shadow:0 8px 18px -12px rgba(20,82,60,.8)}

/* task chips */
.cyw-app .cyw-task-chip{border-radius:999px;font-weight:800;font-size:11px}
.cyw-app .cyw-task-progress{height:6px;border-radius:999px;background:#EFEAE2}
.cyw-app .cyw-task-progress>i{border-radius:999px}

/* products / cart */
.cyw-app .wa-product,.cyw-app .wa-card{border-radius:var(--cyw-r-lg);border-color:var(--cyw-line);box-shadow:var(--cyw-sh-1)}
.cyw-app .wa-product-picture{border-radius:12px;overflow:hidden}
.cyw-app .wa-add,.cyw-app .wa-btn{border-radius:12px;min-height:42px;font-weight:800}
.cyw-app .wa-cart{border-radius:18px 18px 0 0;box-shadow:0 -14px 40px -20px rgba(23,19,15,.45);padding-bottom:calc(14px + env(safe-area-inset-bottom))}
.cyw-app .wa-cart-item{border-radius:12px}
.cyw-app .wa-chips .wa-chip,.cyw-app .wa-choice{border-radius:999px}

/* bottom nav */
.cyw-app .cyw-bottom{border-top:1px solid var(--cyw-line);background:rgba(255,255,255,.94);backdrop-filter:blur(14px);padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -10px 30px -24px rgba(23,19,15,.6)}
.cyw-app .cyw-nav-item{min-height:52px;font-weight:700;color:#6F5F53}
.cyw-app .cyw-nav-item.active{background:linear-gradient(150deg,#17634A,#0C4632);color:#fff;box-shadow:0 10px 22px -14px rgba(12,70,50,.85)}
.cyw-app .cyw-nav-badge{background:#B4472F;border-radius:999px;font-size:10px;font-weight:800}

/* dialogs */
.cyw-app .wa-dialog,.cyw-app .cyw-settings-panel{border-radius:20px}
.cyw-app .wa-overlay,.cyw-app .wa-confirm-overlay{backdrop-filter:blur(3px);background:rgba(23,19,15,.5)}
.cyw-app .wa-login-card{border-radius:22px;box-shadow:0 30px 70px -30px rgba(23,19,15,.45)}
.cyw-app .cyw-attention-strip{border-radius:14px}
@media(max-width:560px){
  .wa-ui.cyw-app{padding:10px 12px calc(108px + env(safe-area-inset-bottom))}
  .cyw-app .cyw-brand strong{font-size:18px}
  .cyw-app .cyw-task-btn.cyw-task-action{min-width:92px}
}

/* ==========================================================================
   Waiter order-taking 2026: one-hand flow.
   Products stay full width; the cart becomes a bottom sheet with a
   persistent summary bar so the waiter never scrolls to reach it.
   ========================================================================== */
.wa-cartbar{display:none}
.wa-cart-close{display:none}

/* product cards: bigger touch target, clearer price */
.wa-product{min-height:64px}
.wa-product .wa-product-picture{flex:none}
.wa-product-copy b{font-size:13.5px;line-height:1.5}
.wa-product-copy small{font-size:11.5px;font-weight:700;color:#14523C}
.wa-chips{position:sticky;top:0;z-index:5;background:#fff;padding-top:2px}

@media(max-width:900px){
  .wa-order-layout{display:block!important;position:relative}
  .wa-order-layout .wa-cart{
    position:fixed;inset-inline:0;bottom:0;z-index:120;
    display:flex;flex-direction:column;
    max-height:84dvh;margin:0;border-radius:22px 22px 0 0;
    border:0;box-shadow:0 -24px 60px -30px rgba(10,40,28,.6);
    transform:translateY(104%);transition:transform .3s cubic-bezier(.2,.8,.25,1);
    padding-bottom:calc(14px + env(safe-area-inset-bottom));
  }
  .wa-order-layout.cart-open .wa-cart{transform:none}
  .wa-order-layout.cart-open::before{
    content:"";position:fixed;inset:0;z-index:110;
    background:rgba(11,38,28,.5);backdrop-filter:blur(2px);
  }
  .wa-cart-close{
    display:inline-flex;align-items:center;justify-content:center;margin-inline-start:auto;
    width:34px;height:34px;border-radius:50%;border:0;background:#eef3ef;color:#31574a;cursor:pointer;
  }
  .wa-cart-close svg.i{width:16px;height:16px}
  .wa-cart .wa-cart-item{padding:9px 0}
  .wa-cart .wa-qty button{width:34px;height:34px;border-radius:11px}
  .wa-cart form .wa-btn.full{min-height:50px;font-size:14px}

  /* persistent summary bar */
  .wa-cartbar{
    display:flex;align-items:center;gap:11px;
    position:fixed;inset-inline:10px;bottom:calc(74px + env(safe-area-inset-bottom));z-index:100;
    height:58px;padding:0 12px;border:0;border-radius:18px;cursor:pointer;
    background:linear-gradient(135deg,#1B6B4F,#0D4632);color:#fff;
    box-shadow:0 18px 36px -18px rgba(11,70,50,.9);
    font-family:inherit;text-align:start;
  }
  .wa-cartbar-ic{position:relative;flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:rgba(255,255,255,.16)}
  .wa-cartbar-ic svg.i{width:20px;height:20px}
  .wa-cartbar-ic b{
    position:absolute;top:-5px;inset-inline-end:-5px;min-width:19px;height:19px;
    display:grid;place-items:center;border-radius:999px;background:#fff;color:#0D4632;
    font-size:10.5px;font-weight:900;padding:0 4px;
  }
  .wa-cartbar-tx{display:flex;flex-direction:column;flex:1;min-width:0;line-height:1.4}
  .wa-cartbar-tx b{font-size:13px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .wa-cartbar-tx small{font-size:11.5px;opacity:.82}
  .wa-cartbar-go{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.16)}
  .wa-cartbar-go svg.i{width:16px;height:16px}
  .wa-cartbar:active{transform:scale(.99)}
  .wa-app{padding-bottom:calc(146px + env(safe-area-inset-bottom))!important}
}
@media(max-width:420px){
  .wa-cartbar{height:54px;border-radius:16px}
  .wa-cartbar-tx b{font-size:12.5px}
}
/* ---- occupied table detail (orders of one table) ---- */
.cyw-table-detail{display:flex;flex-direction:column;gap:12px;padding-bottom:8px}
.cyw-back{
  display:inline-flex;align-items:center;gap:6px;align-self:flex-start;
  height:34px;padding:0 12px;border-radius:999px;border:1px solid #E2DCD2;
  background:#fff;color:#4A5A52;font-family:inherit;font-size:12px;font-weight:700;cursor:pointer;
}
.cyw-back svg.i{width:15px;height:15px}
.cyw-back:hover{background:#F4F7F4;border-color:#BFD5C7;color:#14523C}
.cyw-td-head{display:flex;align-items:center;gap:11px;padding:14px;border-radius:18px;background:#fff;border:1px solid #E6E1D8;box-shadow:0 10px 26px -22px rgba(20,45,32,.5)}
.cyw-td-icon{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:14px;background:#EAF3EC;color:#17634A}
.cyw-td-icon svg.i{width:23px;height:23px}
.cyw-td-title{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.5}
.cyw-td-title strong{font-size:16px;font-weight:900;color:#16281F}
.cyw-td-title small{font-size:11.5px;color:#7B8A82}
.cyw-td-status{flex:none;font-style:normal;font-size:11px;font-weight:800;padding:5px 11px;border-radius:999px;background:#EAF3EC;color:#17634A}
.cyw-td-status.is-busy{background:#FDF1E0;color:#8A5A11}
.cyw-td-alerts{display:flex;flex-direction:column;gap:7px}
.cyw-td-alert{
  display:flex;align-items:center;gap:9px;width:100%;padding:10px 12px;border-radius:13px;
  border:1px solid #F0D6A8;background:#FEF6E7;color:#8A5A11;
  font-family:inherit;font-size:12.5px;font-weight:800;cursor:pointer;text-align:start;
}
.cyw-td-alert svg.i{width:17px;height:17px;flex:none}
.cyw-td-alert span{flex:1}
.cyw-td-alert b{font-size:11px;padding:4px 9px;border-radius:999px;background:#fff;border:1px solid #EBD3A4}
.cyw-td-alert:hover{background:#FDEFD6}
.cyw-td-sum{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.cyw-td-sum>div{display:flex;flex-direction:column;gap:3px;padding:12px 13px;border-radius:15px;background:#fff;border:1px solid #E6E1D8}
.cyw-td-sum small{font-size:11px;color:#7B8A82}
.cyw-td-sum b{font-size:16px;font-weight:900;color:#16281F;letter-spacing:-.3px}
.cyw-td-sum b.is-due{color:#B4462B}
.cyw-td-sec{display:flex;align-items:center;justify-content:space-between;margin-top:2px}
.cyw-td-sec h3{margin:0;font-size:14px;font-weight:900;color:#16281F}
.cyw-td-sec span{font-size:11.5px;color:#7B8A82;font-weight:700}
.cyw-td-list{display:flex;flex-direction:column;gap:9px}
.cyw-td-order{padding:12px 13px;border-radius:16px;background:#fff;border:1px solid #E6E1D8;border-inline-start:3px solid #C9D8CE}
.cyw-td-order.is-ready{border-inline-start-color:#17634A;background:#F7FBF8}
.cyw-td-order.is-done{opacity:.72}
.cyw-td-order-h{display:flex;align-items:center;gap:7px;margin-bottom:7px}
.cyw-td-order-h b{font-size:12.5px;font-weight:900;color:#16281F}
.cyw-td-order-h small{margin-inline-start:auto;font-size:11px;color:#8A968F}
.cyw-td-chip{font-size:10.5px;font-weight:800;padding:3px 9px;border-radius:999px;background:#EEF3EE;color:#4A6B57}
.cyw-td-order.is-ready .cyw-td-chip{background:#17634A;color:#fff}
.cyw-td-items{display:flex;flex-wrap:wrap;gap:5px 8px;margin-bottom:8px}
.cyw-td-items span{font-size:12px;color:#3E5148;line-height:1.6}
.cyw-td-items b{color:#16281F;font-weight:800}
.cyw-td-note{display:flex;gap:6px;align-items:center;margin:0 0 8px;padding:7px 10px;border-radius:10px;background:#FEF6E7;color:#8A5A11;font-size:11.5px;font-weight:700}
.cyw-td-note svg.i{width:14px;height:14px;flex:none}
.cyw-td-order-f{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:8px;border-top:1px dashed #E6E1D8}
.cyw-td-order-f b{font-size:13.5px;font-weight:900;color:#16281F}
.cyw-td-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:4px}
.cyw-td-actions .wa-btn{min-height:46px;font-size:13px;gap:7px}
.cyw-td-actions .wa-btn svg.i{width:17px;height:17px}
@media(max-width:420px){
  .cyw-td-actions{grid-template-columns:1fr}
  .cyw-td-sum b{font-size:15px}
}
/* ---- waiter task queue (in-progress orders) ---- */
.cyw-app .cyw-task-card.cyw-task-ongoing{border-color:#E3DACD;background:#fff}
.cyw-app .cyw-task-card.cyw-task-bill{border-color:#F0D6A8;background:linear-gradient(180deg,#FFF9EE,#fff)}
.cyw-app .cyw-task-card.cyw-task-call{border-color:#D8E3F2;background:linear-gradient(180deg,#F6FAFF,#fff)}
.cyw-app .cyw-task-card{display:flex;flex-direction:column;gap:0}
.cyw-app .cyw-task-top{min-height:44px}
.cyw-app .cyw-task-heading{display:flex;flex-direction:column;justify-content:center;line-height:1.4}
.cyw-app .cyw-task-heading .cyw-task-label{color:#6C7C73;font-weight:700}
.cyw-app .cyw-task-heading strong{color:#152A20;font-weight:900;letter-spacing:-.2px}
.cyw-app .cyw-task-chip.is-progress{display:inline-flex;align-items:center;gap:4px;flex:none;max-width:46%;height:30px;padding:0 9px;border-radius:9px;background:#F2EFE8;color:#6B5A46;font-size:11px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cyw-app .cyw-task-chip.is-progress svg.i{width:14px;height:14px;flex:none}
.cyw-app .cyw-task-body{color:#3E5148;font-weight:600}
.cyw-app .cyw-task-meta{display:flex;justify-content:space-between;gap:10px;color:#8A968F;font-weight:700}
.cyw-app .cyw-task-meta span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(max-width:520px){
  .cyw-app .cyw-task-btn.cyw-task-action{min-width:92px;max-width:40%;font-size:11.5px;padding:8px 8px}
  .cyw-app .cyw-task-heading strong{font-size:13px}
  .cyw-app .cyw-task-chip.is-progress{max-width:40%;height:28px;font-size:10.5px}
}
.cyw-app .cyw-task-card.cyw-task-openable{cursor:pointer}
.cyw-app .cyw-task-card.cyw-task-openable:active{transform:scale(.995)}
.cyw-app .cyw-task-card.cyw-task-openable .cyw-task-meta{padding-top:6px}
.cyw-app .cyw-task-openable .cyw-task-action{cursor:pointer}
/* desktop: readable column instead of stretching edge to edge */
@media(min-width:900px){
  .cyw-app .cyw-main{max-width:1080px;margin-inline:auto;width:100%}
  .cyw-app .cyw-table-detail{max-width:720px;margin-inline:auto;width:100%}
  .cyw-app .cyw-td-actions{grid-template-columns:1fr 1fr}
  .cyw-app .cyw-orders-view,.cyw-app .cyw-table-view{max-width:1080px;margin-inline:auto;width:100%}
}