.team-page{background:#f3f6fc;color:#193454;margin:0}.team-shell{max-width:1120px;margin:0 auto;padding:28px 24px 70px}.team-header{display:flex;gap:18px;align-items:center;margin-bottom:24px}.team-header>div{flex:1;min-width:0}.team-header h1{font-size:28px;margin:8px 0}.team-header p{color:#71849f;line-height:1.6}.team-panel{background:#fff;border:1px solid #dce5f4;border-radius:18px;padding:24px;margin:18px 0}.team-panel h2{font-size:20px;margin:0 0 18px}.team-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.team-page label{display:flex;flex-direction:column;gap:8px;font-size:13px;margin-bottom:16px}.team-page input,.team-page select,.team-page textarea{width:100%;min-width:0;box-sizing:border-box;min-height:44px}.team-page small{line-height:1.5;color:#6d809b}.team-member{display:flex;gap:14px;align-items:center;justify-content:space-between;padding:16px 0;border-bottom:1px solid #e4ebf5}.team-member>div{min-width:0;overflow-wrap:anywhere}.team-member p{margin:6px 0;font-size:12px;line-height:1.6;color:#647996}.team-qr{max-width:280px;width:100%;display:block;margin:12px auto}.team-created-url{overflow-wrap:anywhere;font-size:13px}.staff-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.staff-tabs button[aria-current=page]{background:#2467ec;color:#fff}.staff-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}.staff-product{display:flex;align-items:center;gap:12px;border:1px solid #e1e8f4;border-radius:12px;padding:12px;min-width:0}.staff-product img{width:52px;height:52px;object-fit:cover;border-radius:9px}.staff-product>div{min-width:0;flex:1}.staff-product strong{font-size:13px;overflow-wrap:anywhere}.staff-product small{display:block;margin-top:5px}.staff-product input{width:68px;flex:none}.team-order-total{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-top:16px}.team-pages{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:20px}#staff-charge-dialog{width:min(480px,calc(100vw - 24px));padding:24px;border:1px solid #dce5f4;border-radius:20px;max-height:90dvh;overflow:auto;box-sizing:border-box}#staff-charge-dialog::backdrop{background:#10203980;backdrop-filter:blur(4px)}.team-page [hidden]{display:none!important}.team-page #notice{position:sticky;top:8px;z-index:3}.team-page button,.team-page a.secondary{min-height:44px}.team-page a.secondary{display:inline-flex;align-items:center;text-decoration:none;padding:10px 14px}.team-page #operation-reservations{min-width:0}.team-page .reservation-filters{flex-wrap:wrap}@media(max-width:650px){.team-shell{padding:18px 14px 40px}.team-header{gap:10px;flex-wrap:wrap}.team-header h1{font-size:23px}.team-header img{width:52px;height:64px}.team-panel{padding:18px 14px}.team-fields,.staff-products{grid-template-columns:1fr}.team-member{align-items:flex-start}.team-order-total{flex-wrap:wrap}.team-order-total button{width:100%}.staff-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.staff-tabs button{padding:10px 5px;font-size:12px}.staff-tabs button:first-child:last-child{grid-column:1/-1}.team-header #staff-logout{margin-left:auto}}

.team-page label.staff-product{flex-direction:row;margin:0;align-items:center}.team-page .staff-product input{width:68px}

@media(max-width:650px){.staff-tabs[data-role=Cashier]{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-tabs[data-role=Waiter]{grid-template-columns:1fr}}

@media(max-width:650px){.staff-tabs[data-role=Cashier]{grid-template-columns:repeat(3,minmax(0,1fr))}}#waiter-qr{margin:20px 0;padding:18px;border:1px solid #dce7f6;border-radius:14px;background:#f8faff}

.team-embedded .team-shell{padding:0;max-width:none}.team-embedded fieldset{border:0;margin:0;padding:0;min-width:0}.team-embedded fieldset:disabled{opacity:.65}.team-embedded fieldset:disabled button{cursor:not-allowed}.team-embedded .form-notice{margin:16px 0;line-height:1.7}.team-embedded[hidden]{display:none!important}

.staff-tabs[data-role=Waiter]{display:none}.staff-product-finder{margin-top:18px}.staff-category-filters{display:flex;gap:8px;overflow-x:auto;padding-bottom:8px;max-width:100%}.staff-category-filters button{flex-shrink:0;border-radius:22px!important;min-height:40px!important;padding:8px 15px!important}.staff-category-filters button[aria-pressed=true]{background:#2467ec;color:#fff;border-color:#2467ec}.staff-products .staff-product{padding:12px;gap:12px;align-items:center;transition:border-color .15s,background .15s}.staff-product.is-selected{border-color:#9abaf5;background:#f6f9ff}.staff-product-info{flex:1;min-width:0}.staff-product img{width:58px;height:58px;flex-shrink:0}.staff-quantity{display:flex;align-items:center;gap:0;flex:none!important}.staff-quantity button{display:grid;place-items:center;width:40px;min-height:44px;border:1px solid #dbe5f5;border-radius:10px;background:#edf3ff;color:#2467ec;font-size:23px;padding:0;touch-action:manipulation}.team-page .staff-product .staff-quantity input{width:32px;min-height:44px;border:0;padding:0;background:transparent;text-align:center;font-size:15px;font-weight:700;appearance:textfield;-moz-appearance:textfield}.staff-quantity input::-webkit-inner-spin-button,.staff-quantity input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.staff-quantity button:disabled{opacity:.35}.staff-order-notes{margin:18px 0;color:#526f96;font-size:13px}.staff-order-notes>summary{cursor:pointer;min-height:44px;padding:12px 0;box-sizing:border-box}.staff-order-notes label{margin-top:8px}.team-order-total{position:sticky;bottom:12px;z-index:4;background:#fff;border:1px solid #dce5f4;border-radius:14px;padding:14px;box-shadow:0 5px 25px #173d6614;flex-wrap:nowrap}.team-order-total>div{display:flex;flex-direction:column;gap:4px}.team-order-total>div small{font-size:11px}.team-order-total>div strong{white-space:nowrap}.team-order-total button{width:auto!important;min-height:46px;white-space:nowrap}#staff-review-dialog{width:min(520px,calc(100vw - 24px));max-height:90dvh;overflow:auto;box-sizing:border-box;border:1px solid #dce5f4;border-radius:20px;padding:22px;background:#fff;color:#193454}#staff-review-dialog::backdrop{background:#10203980;backdrop-filter:blur(4px)}#staff-review-dialog h2{font-size:21px}.staff-review-context{background:#f3f7ff;border:1px solid #e0e8f6;padding:14px;border-radius:12px}.staff-review-context p{margin:5px 0 0;font-size:13px;color:#68809f}.staff-review-items>div{display:flex;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #e6ecf6;font-size:13px;line-height:1.6}.staff-review-items>div>strong{white-space:nowrap}.staff-review-total{display:flex;justify-content:space-between;margin:20px 0;font-size:21px;font-weight:700}.staff-review-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.staff-review-actions button{min-height:46px;font-size:13px}@media(max-width:420px){.staff-products .staff-product{gap:8px;padding:10px}.staff-product img{width:46px;height:46px}.staff-quantity button{width:36px}.team-page .staff-product .staff-quantity input{width:27px}.staff-product strong{font-size:12px}.team-order-total{padding:12px;gap:10px}.team-order-total button{font-size:12px;padding:12px}.team-order-total>div strong{font-size:14px}.staff-review-actions{grid-template-columns:1fr}}

#staff-next-person{width:100%;margin:4px 0 16px;min-height:46px}.staff-person-chip{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid #dce7f5;border-radius:12px;padding:12px 14px;margin:8px 0;background:#f4f8ff}.staff-person-chip small,.staff-review-person{display:block;color:#6b80a0;font-size:11px;margin-top:4px}.staff-person-chip button{min-width:44px;min-height:44px;border:1px solid #dce7f5;border-radius:50%;background:#fff;color:#527096;font-size:24px}

.staff-product-view{display:flex;gap:4px;justify-content:flex-end;margin:0 0 12px}.staff-product-view button{min-height:42px;padding:9px 14px;border:1px solid #dce5f4;background:#f3f6fc;color:#5e7798;border-radius:9px;font-size:12px}.staff-product-view button[aria-pressed=true]{background:#2467ec;border-color:#2467ec;color:#fff}.staff-products.is-mosaic{grid-template-columns:repeat(auto-fill,minmax(165px,1fr))}.staff-products.is-mosaic .staff-product{flex-direction:column;align-items:stretch;gap:10px;padding:12px}.staff-products.is-mosaic .staff-product img{width:100%;height:125px;object-fit:cover;border-radius:10px}.staff-products.is-mosaic .staff-product-info{width:100%}.staff-products.is-mosaic .staff-product strong{font-size:13px;line-height:1.5}.staff-products.is-mosaic .staff-quantity{justify-content:center;margin-top:auto}.staff-products.is-mosaic .staff-quantity button{width:44px}.staff-products.is-mosaic .staff-quantity input{width:36px}@media(max-width:650px){.staff-products.is-mosaic{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.staff-products.is-mosaic .staff-product{padding:10px}.staff-products.is-mosaic .staff-product img{height:105px}.staff-products.is-mosaic .staff-product strong{font-size:12px}.staff-products.is-mosaic .staff-quantity button{width:38px}.team-page .staff-products.is-mosaic .staff-quantity input{width:26px}}@media(max-width:340px){.staff-products.is-mosaic{gap:6px}.staff-products.is-mosaic .staff-product{padding:7px}.staff-products.is-mosaic .staff-quantity button{width:34px}}

.waiter-qr-details>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:44px;cursor:pointer;color:#264975;font-weight:700}.waiter-qr-details>summary small{font-size:11px;font-weight:400;color:#617b9d}.waiter-qr-content{margin-top:12px}.staff-order-alert{width:100%;border:1px solid #b9d2ff;border-radius:12px;padding:14px 18px;margin:0 0 16px;background:#eaf2ff;color:#205bc6;font-weight:600;text-align:left}#staff-orders-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;padding:2px 5px;border-radius:20px;background:#e7efff;color:#205bc6;font-size:11px}.staff-ticket-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.staff-ticket-actions button{flex:1;min-height:44px;min-width:130px}.waiter-qr-details:not([open]){padding-bottom:0}.team-member{flex-wrap:wrap}.team-member>div{flex:1;min-width:140px}@media(max-width:650px){.staff-tabs[data-role=Cashier]{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-ticket-actions{flex-direction:column}}

#staff-inbox-list{display:grid;gap:14px}.staff-order-card{border:1px solid #dbe6f5;border-left:4px solid #2467ec;border-radius:14px;background:#f8faff;padding:18px;min-width:0}.staff-order-card[data-order-state=closed]{border-color:#c6e5d6;border-left-color:#24a179;background:#f5fbf8}.staff-order-card[data-order-state=cancelled]{border-color:#eadbdf;border-left-color:#b97b88;background:#fbf7f8}.staff-order-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.staff-order-card-head>strong{font-size:14px;overflow-wrap:anywhere}.staff-order-state{display:inline-flex;flex:none;border-radius:20px;padding:6px 11px;background:#e2edff;color:#205bc6;font-size:12px;font-weight:700}.staff-order-card[data-order-state=closed] .staff-order-state{background:#def2e7;color:#207a54}.staff-order-card[data-order-state=cancelled] .staff-order-state{background:#f3e5e9;color:#9a5262}.staff-order-customer{font-size:13px;color:#526f91;line-height:1.6;margin:10px 0}.staff-order-detail{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px;color:#6a809b}.staff-payment-state{padding:4px 8px;border-radius:7px;font-size:11px}.staff-payment-state.is-pending{background:#fff0d4;color:#936015}.staff-payment-state.is-paid{background:#dff1e8;color:#287351}.staff-order-card-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:15px;padding-top:13px;border-top:1px solid #dfe7f1}.staff-order-card-footer>div{display:flex;flex-direction:column;gap:4px}.staff-order-card-footer strong{font-size:20px}.staff-order-card-footer small{font-size:11px;color:#6a7e98}.staff-new-order-dialog{width:min(440px,calc(100vw - 28px));box-sizing:border-box;max-height:90dvh;overflow:auto;border:1px solid #dfe7f5;border-radius:24px;background:#fff;padding:28px;text-align:center;color:#193454;box-shadow:0 20px 70px #142b4930}.staff-new-order-dialog::backdrop{background:#10203980;backdrop-filter:blur(4px)}.staff-alert-zyn{display:block;width:110px;height:130px;margin:0 auto 14px}.staff-alert-zyn img,.staff-alert-zyn svg{width:100%;height:100%;object-fit:contain}.staff-new-order-dialog h2{font-size:24px;margin:10px 0}.staff-new-order-dialog p{font-size:13px;line-height:1.8;color:#6b809f}.staff-alert-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.staff-alert-actions button{font-size:13px;min-height:46px}@media(max-width:480px){.staff-order-card{padding:14px}.staff-order-card-head{align-items:flex-start}.staff-order-card-head>strong{font-size:12px}.staff-order-state{padding:5px 9px;font-size:11px}.staff-new-order-dialog{padding:22px}.staff-alert-actions{grid-template-columns:1fr}}

.waiter-qr-details>summary{list-style:none}.waiter-qr-details>summary::-webkit-details-marker{display:none}.waiter-qr-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;box-sizing:border-box;border:1px solid #ceddf6;border-radius:50%;background:#edf3ff;color:#2467ec}.waiter-qr-toggle svg{width:20px;height:20px;transition:transform .18s ease}.waiter-qr-details[open] .waiter-qr-toggle svg{transform:rotate(180deg)}.waiter-qr-details>summary:hover .waiter-qr-toggle{background:#dfeaff;border-color:#a8c4f2}.waiter-qr-details>summary:focus-visible{outline:3px solid #91b6f6;outline-offset:4px;border-radius:10px}@media(prefers-reduced-motion:reduce){.waiter-qr-toggle svg{transition:none}}

.staff-tabs[data-role=Waiter]{display:flex;gap:10px}.staff-tabs[data-role=Waiter] button{flex:1}.waiter-orders-search{display:flex;align-items:flex-end;gap:12px;margin:18px 0}.waiter-orders-search label{flex:1;margin:0}.waiter-orders-search button{min-height:44px}#waiter-orders-list{display:grid;gap:14px}:is(.staff-my-order-dialog,.cashier-table-dialog){width:min(540px,calc(100vw - 24px));box-sizing:border-box;max-height:90dvh;overflow:auto;padding:24px;border:1px solid #dce5f4;border-radius:20px;background:#fff;color:#193454}:is(.staff-my-order-dialog,.cashier-table-dialog)::backdrop{background:#10203980;backdrop-filter:blur(4px)}:is(.staff-my-order-dialog,.cashier-table-dialog) h2{font-size:20px}:is(.staff-my-order-dialog,.cashier-table-dialog) p{font-size:13px;line-height:1.7}@media(max-width:650px){.staff-tabs[data-role=Waiter]{display:grid;grid-template-columns:1fr 1fr}.waiter-orders-search{gap:8px}.waiter-orders-search button{padding:10px}}

.team-shell>.team-header:has(#staff-title){background:#fff;border:1px solid #dce6f5;border-radius:18px;padding:18px 20px;box-shadow:0 3px 12px #173d6605;gap:12px;margin-bottom:20px}.team-header #staff-title{font-size:23px;margin:0 0 10px;letter-spacing:-.5px}.team-header #staff-context{display:flex;align-items:center;flex-wrap:wrap;gap:7px 9px;margin:0;line-height:1.5}.staff-person-name{font-size:14px;font-weight:600;color:#3f5878;overflow-wrap:anywhere}.staff-profile-badge{display:inline-flex;align-items:center;padding:3px 9px;border-radius:20px;color:#2467ce;background:#eaf1ff;font-size:10px;font-weight:700}.staff-access-expiry{display:flex;align-items:center;gap:5px;flex-basis:100%;font-size:11px;color:#73859f}.staff-access-expiry svg{width:14px;height:14px;flex:none}.team-header:has(#staff-title)>img{width:54px;height:65px;flex:none}.team-header #staff-logout{font-size:12px;min-height:42px;padding:9px 15px;border:1px solid #dce6f5;border-radius:10px;background:#f7f9fd;color:#536e92;white-space:nowrap}@media(max-width:650px){.team-shell>.team-header:has(#staff-title){padding:15px 14px;gap:10px;flex-wrap:wrap;align-items:flex-start}.team-header:has(#staff-title)>div{flex:1 1 calc(100% - 66px)}.team-header:has(#staff-title)>img{width:46px;height:55px}.team-header #staff-title{font-size:21px;line-height:1.3;margin-bottom:8px}.team-header #staff-logout{margin:0 0 0 auto;min-height:36px;font-size:11px;padding:7px 13px}.staff-person-name{font-size:13px}.staff-access-expiry{font-size:11px}}

.team-page .cashier-create-permission{display:flex;flex-direction:row;align-items:flex-start;gap:12px;padding:14px;border:1px solid #dce6f5;border-radius:12px;background:#f7faff;margin:16px 0}.team-page .cashier-create-permission input{width:20px;min-height:20px;height:20px;flex:0 0 20px;margin:2px 0;accent-color:#2467ec}.cashier-create-permission small{display:block;margin-top:6px}.cashier-order-permission{display:flex;align-items:center;gap:12px;min-height:44px;padding:10px 12px;border:1px solid #dce6f5;border-radius:12px;background:#f8faff;color:#425e81;font-size:12px;text-align:left;cursor:pointer}.permission-switch-track{width:38px;height:22px;flex:0 0 38px;box-sizing:border-box;padding:3px;background:#c1cddd;border-radius:20px}.permission-switch-track:after{content:"";display:block;width:16px;height:16px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #173d6630}.cashier-order-permission[aria-checked=true] .permission-switch-track{background:#2467ec}.cashier-order-permission[aria-checked=true] .permission-switch-track:after{transform:translateX(16px)}.cashier-order-permission:focus-visible{outline:3px solid #91b6f6;outline-offset:3px}

.staff-payment-list{display:grid;gap:12px;margin-top:16px}.staff-payment-list.is-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr))}.staff-payment-card{border:1px solid #d8e3f8;border-left:4px solid #2864ed;border-radius:16px;padding:18px;background:#f8faff;min-width:0}.staff-payment-card header,.staff-charge-line{display:flex;justify-content:space-between;gap:12px}.staff-payment-card header{align-items:center;flex-wrap:wrap}.staff-payment-card p{margin:10px 0}.staff-payment-card small{display:block;color:#617494}.staff-payment-card button{margin-top:14px}.staff-payment-pending{border-radius:20px;padding:5px 9px;background:#fff1d8;color:#875500;font-size:12px}.staff-payment-amount{font-size:21px;font-weight:700;color:#17385c}.staff-charge-order{border:1px solid #dce6f7;border-radius:12px;padding:14px;margin:14px 0}.staff-charge-order p{margin:8px 0}.staff-charge-order small{color:#617494}.staff-charge-line{padding:8px 0;border-bottom:1px solid #e8eef8}.staff-charge-line span{min-width:0;overflow-wrap:anywhere}.staff-charge-line strong{white-space:nowrap}.staff-cash-preview{background:#ecf8f2;color:#156748;padding:13px;border-radius:10px;font-weight:700}#staff-charge-dialog{width:min(620px,calc(100vw - 32px));max-height:90dvh;overflow-y:auto}.staff-payment-list:not(.is-grid) .staff-payment-card{display:grid;grid-template-columns:1fr auto;column-gap:20px}.staff-payment-list:not(.is-grid) .staff-payment-card header{grid-column:1/-1}.staff-payment-list:not(.is-grid) .staff-payment-card button{grid-column:2;grid-row:2/6;align-self:center}@media(max-width:480px){.staff-payment-list.is-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-payment-card{padding:12px}.staff-payment-card button{width:100%;padding:10px;font-size:12px}.staff-payment-card header strong{overflow-wrap:anywhere}.staff-payment-list:not(.is-grid) .staff-payment-card{display:block}}

.staff-order-actions{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.staff-order-actions label{font-size:12px;margin:0}.staff-order-actions select{min-width:145px;margin-top:5px}.staff-order-time{font-size:13px;color:#526d93}@media(max-width:480px){.staff-order-card-footer{flex-wrap:wrap}.staff-order-actions{width:100%}.staff-order-actions label{flex:1}.staff-order-actions select{width:100%}}

.staff-order-card-footer>.staff-order-actions{flex-direction:row;align-items:end;gap:10px}

/* Compact cashier inbox, with the same information in list and mosaic. */
.staff-inbox-view{margin:0 0 14px auto;width:max-content}#staff-inbox-list{gap:12px;align-items:start}#staff-inbox-list.is-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr))}.staff-order-card{padding:14px}.staff-order-customer{margin:7px 0}.staff-order-time{margin:6px 0;font-size:12px}.staff-order-account{margin:6px 0;font-size:11px}.staff-order-card-footer{margin-top:10px;padding-top:10px}.is-grid .staff-order-card{height:100%;box-sizing:border-box;display:flex;flex-direction:column}.is-grid .staff-order-card-head{gap:8px}.is-grid .staff-order-card-head>strong{font-size:11px}.is-grid .staff-order-state{padding:4px 7px;font-size:10px}.is-grid .staff-order-customer{font-size:12px}.is-grid .staff-order-card-footer{flex-wrap:wrap;margin-top:auto}.is-grid .staff-order-detail{margin-bottom:10px}.is-grid .staff-order-card-footer>.staff-order-actions{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px}.is-grid .staff-order-actions select{min-width:0;width:100%;min-height:38px;padding:8px;font-size:12px}.is-grid .staff-order-actions button{min-height:38px;padding:8px 10px;font-size:12px}.is-grid .staff-order-card-footer strong{font-size:18px}.is-grid .staff-order-card-footer>.staff-order-actions:has(>button:only-child){grid-template-columns:1fr}.is-grid .staff-order-actions label{font-size:11px}.is-grid>p:only-child{grid-column:1/-1}

.team-password-dialog{box-sizing:border-box;width:min(480px,calc(100vw - 28px));max-height:90dvh;overflow-y:auto;border:1px solid #dce6f5;border-radius:22px;padding:24px}.team-password-dialog label{display:block;margin:16px 0}.team-password-dialog input{width:100%;box-sizing:border-box}.team-password-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.team-password-dialog::backdrop{background:#10203980;backdrop-filter:blur(4px)}#team-list .team-member{flex-wrap:wrap}#team-list .team-member>div:first-child{flex:1 1 200px}@media(max-width:480px){.team-password-dialog{padding:18px}.team-password-actions{display:grid;grid-template-columns:1fr 1fr}}

.waiter-renew-dialog .team-qr svg{width:100%;max-width:280px;height:auto}.waiter-renew-dialog .team-qr{margin:14px auto;max-width:280px}.waiter-renew-dialog form>.primary{width:100%}

.waiter-qr-button{display:inline-flex;align-items:center;gap:8px}.waiter-qr-button svg{width:18px;height:18px;flex:none;transition:transform .15s}.waiter-qr-button[aria-expanded=true] svg{transform:rotate(180deg)}.waiter-inline-qr{flex:0 0 100%;min-width:0;box-sizing:border-box;padding:16px;border:1px solid #dce6f5;border-radius:14px;background:#f7faff}.waiter-inline-qr .team-qr{max-width:240px;margin:0 auto 14px}.waiter-inline-qr .team-qr svg{width:100%;height:auto}.waiter-inline-qr label{display:block}.waiter-inline-qr input{box-sizing:border-box;width:100%;margin:8px 0 12px;font-size:12px}.waiter-inline-qr .hint{margin-bottom:0}#waiter-list .team-member{flex-wrap:wrap}#waiter-list .team-member>div:first-child{flex:1 1 180px}

.team-register-details>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;list-style:none;cursor:pointer;font-size:18px;font-weight:700;color:#17385c;min-height:30px}.team-register-details>summary::-webkit-details-marker{display:none}.team-register-chevron{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#edf3ff;color:#2864ed;flex:none}.team-register-chevron svg{width:18px;height:18px;transition:transform .15s}.team-register-details[open] .team-register-chevron svg{transform:rotate(180deg)}.team-register-details>summary:focus-visible{outline:3px solid #94b8fa;outline-offset:5px;border-radius:6px}

/* Cashier order workspace: product catalog and live order side by side. */
.is-cashier-pos .staff-pos-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.staff-pos-catalog,.staff-pos-order{min-width:0}.is-cashier-pos .staff-product-finder{margin-top:0;display:flex;flex-wrap:wrap;gap:10px;align-items:end}.is-cashier-pos .staff-product-finder>label{flex:1 1 200px;margin:0}.is-cashier-pos .staff-product-view{margin:0}.is-cashier-pos .staff-category-filters{order:-1;flex:0 0 100%;margin-bottom:4px}.is-cashier-pos .staff-category-filters button{padding:8px 12px!important;font-size:12px}.is-cashier-pos .staff-products{margin:14px 0 0;grid-template-columns:1fr}.is-cashier-pos .staff-products.is-mosaic{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.is-cashier-pos .staff-products.is-mosaic .staff-product{padding:9px;gap:7px}.is-cashier-pos .staff-products.is-mosaic .staff-product img{height:105px}.is-cashier-pos .staff-products.is-mosaic .staff-product strong{font-size:12px;line-height:1.35}.is-cashier-pos .staff-products.is-mosaic .staff-product small{margin-top:3px;font-size:12px;color:#2467ec}.is-cashier-pos .staff-products.is-mosaic .staff-quantity button{width:34px;min-height:36px}.is-cashier-pos .staff-products.is-mosaic .staff-quantity input{width:28px;min-height:36px}.staff-pos-order{border:1px solid #dce5f4;border-radius:16px;background:#fbfcff;padding:16px;position:sticky;top:16px;box-sizing:border-box}.staff-pos-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:16px}.staff-pos-heading h3{margin:0;font-size:17px}.staff-pos-heading>span{font-size:11px;color:#267a57;background:#e5f5ed;padding:5px 8px;border-radius:7px}.staff-pos-order .team-fields{grid-template-columns:1fr;gap:0}.staff-pos-order label{font-size:12px;margin-bottom:12px}.staff-pos-order label small{font-size:10px}.staff-pos-order input,.staff-pos-order select{font-size:12px}.staff-pos-line{display:flex;align-items:start;gap:10px;padding:12px 0;border-bottom:1px solid #e5ebf5}.staff-pos-line>img,.staff-pos-product-icon{width:42px;height:42px;object-fit:cover;border-radius:9px;flex:none}.staff-pos-product-icon{display:grid;place-items:center;background:#eaf1ff;color:#3672d5;font-size:24px}.staff-pos-line-info{flex:1;min-width:0}.staff-pos-line-info>strong{display:block;font-size:12px;line-height:1.4}.staff-pos-line-info>small{display:block;font-size:10px;margin-top:3px}.staff-pos-line-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:7px}.staff-pos-line-bottom>b{font-size:12px;white-space:nowrap}.staff-pos-quantity{display:flex;align-items:center;gap:8px}.team-page .staff-pos-quantity button{min-height:32px;width:32px;border:1px solid #dce5f4;background:#fff;border-radius:7px;color:#2467ec;font-size:19px;padding:0}.staff-pos-quantity>span{font-size:12px;font-weight:700}.staff-pos-empty{text-align:center;padding:24px 8px;color:#6d809b}.staff-pos-empty>span{display:grid;place-items:center;margin:0 auto 10px;width:44px;height:44px;border-radius:14px;background:#edf3ff;color:#2467ec;font-size:28px}.staff-pos-empty strong{font-size:13px;color:#344f72}.staff-pos-empty p{font-size:12px;line-height:1.5}.staff-pos-order .team-order-total{position:static;flex-direction:column;align-items:stretch;margin-top:12px;padding:14px 0 0;border:0;border-top:1px solid #dce5f4;background:transparent;border-radius:0;box-shadow:none}.staff-pos-order .team-order-total>div{flex-direction:row;align-items:center;justify-content:space-between}.staff-pos-order .team-order-total button{width:100%!important}.staff-pos-order .staff-order-notes{margin:10px 0}.staff-pos-order #staff-next-person{margin:12px 0 4px;font-size:12px}.staff-pos-order .staff-person-chip{padding:8px;font-size:12px}.staff-pos-order .staff-person-chip small{font-size:10px}@media(min-width:1250px){.team-page:has(.is-cashier-pos:not([hidden])) .team-shell{max-width:1360px}.is-cashier-pos .staff-pos-layout{grid-template-columns:minmax(0,1fr) 340px}.is-cashier-pos .staff-products.is-mosaic{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1050px) and (min-width:761px){.is-cashier-pos .staff-pos-layout{grid-template-columns:minmax(0,1fr) 290px;gap:14px}.is-cashier-pos .staff-products.is-mosaic{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-pos-order{padding:12px}}@media(max-width:760px){.is-cashier-pos .staff-pos-layout{grid-template-columns:1fr;gap:18px}.staff-pos-order{position:static}.is-cashier-pos .staff-products.is-mosaic{grid-template-columns:repeat(3,minmax(0,1fr))}.is-cashier-pos .staff-product-finder>label{flex-basis:150px}.staff-pos-order .team-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}@media(max-width:480px){.is-cashier-pos .staff-products.is-mosaic{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-pos-order .team-fields{grid-template-columns:1fr;gap:0}.is-cashier-pos .staff-products.is-mosaic .staff-product img{height:105px}}

@media(max-width:760px){.is-cashier-pos .staff-pos-layout{display:flex;flex-direction:column;gap:12px}.staff-pos-order{display:contents}.staff-pos-order>.staff-pos-heading{order:0;width:100%;margin:0}.staff-pos-order>.team-fields{order:1;width:100%}.staff-pos-catalog{order:2;width:100%}.staff-pos-order>#staff-pos-cart{order:3;width:100%}.staff-pos-order>#staff-next-person{order:4}.staff-pos-order>#staff-people-cart{order:5;width:100%}.staff-pos-order>.staff-order-notes{order:6;width:100%}.staff-pos-order>.team-order-total{order:7;position:sticky;bottom:12px;width:100%;box-sizing:border-box;background:#fff;border:1px solid #dce5f4;border-radius:14px;padding:12px;flex-direction:row;align-items:center;box-shadow:0 5px 25px #173d6614}.staff-pos-order>.team-order-total>div{flex-direction:column;align-items:start}.staff-pos-order>.team-order-total button{width:auto!important}.staff-pos-order .team-fields{gap:0 12px}}

#waiter-list.team-member-grid,#team-list.team-member-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,275px),1fr));gap:14px;align-items:start;margin-top:14px}.team-member-grid>.team-member{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:8px;border:1px solid #dce5f4;border-top:3px solid #4d7fe8;border-radius:14px;padding:16px;background:#f8faff;box-sizing:border-box;min-width:0}.team-member-grid>.team-member[data-access-state=active]{border-top-color:#28a17c;background:#f5fbf8}.team-member-grid>.team-member[data-access-state=expired],.team-member-grid>.team-member[data-access-state=revoked]{border-top-color:#9aa7bc;background:#f8f9fb}.team-member-grid>.team-member[data-access-state=pending]{border-top-color:#e3a83c}.team-member-grid>.team-member>div:first-child{flex:0 0 100%!important;min-width:0!important;margin-bottom:8px}.team-member-grid>.team-member>button{flex:1 1 auto;font-size:12px;padding:9px 12px;min-height:42px}.team-member-grid>.team-member>.waiter-qr-button{flex:1 1 100%;justify-content:center}.team-member-grid>.team-member>.waiter-inline-qr{padding:12px}.team-member-grid>.team-member>button.cashier-order-permission{flex-basis:100%}.team-member-grid>p:only-child{grid-column:1/-1}@media(max-width:480px){#waiter-list.team-member-grid,#team-list.team-member-grid{gap:10px}.team-member-grid>.team-member{padding:14px}}

/* Shared visual language for the cashier workspace. */
.cashier-workspace{background:radial-gradient(ellipse at top left,#eaf1ff 0,transparent 48%),#f4f7fc}.cashier-workspace>.team-shell{padding-top:24px}.cashier-workspace .team-header{border:1px solid #dce6f5;border-radius:22px;padding:20px 24px;box-shadow:0 8px 28px #254b7b06;background:#fff;margin-bottom:20px}.cashier-workspace .team-header h1{font-size:27px;letter-spacing:-.6px}.cashier-workspace .team-header #staff-context{margin:8px 0 0}.cashier-workspace .staff-profile-badge{background:#eaf2ff;color:#245fd1;border:1px solid #d8e6ff}.cashier-workspace #staff-logout{border-radius:12px;background:#f8faff;color:#526c90;font-size:12px}.cashier-workspace>.team-shell>#staff-work>.staff-tabs{background:#fff;border:1px solid #dce6f5;border-radius:18px;padding:7px;gap:6px;box-shadow:0 4px 18px #254b7b05;margin-bottom:20px}.cashier-workspace .staff-tabs [data-view]{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid transparent;background:transparent;color:#5b7394;padding:11px 16px;border-radius:12px;min-height:46px;transition:background .15s,box-shadow .15s}.cashier-workspace .staff-tabs [data-view]:hover{background:#f0f5ff;color:#245fd1}.cashier-workspace .staff-tabs [data-view][aria-current=page]{background:#2467ec;color:#fff;box-shadow:0 4px 12px #2467ec29}.cashier-tab-icon{display:none}.cashier-workspace .cashier-tab-icon{display:inline-flex;flex:none}.cashier-tab-icon svg{width:18px;height:18px}.cashier-workspace .team-panel{border-radius:22px;border-color:#dce6f5;box-shadow:0 5px 22px #254b7b05;padding:24px}.cashier-workspace .team-panel h2{font-size:21px;letter-spacing:-.35px;color:#193454}.cashier-workspace .team-panel>.hint{color:#6b819f;line-height:1.7}.cashier-workspace .primary{border-radius:11px;box-shadow:0 3px 10px #2467ec1a}.cashier-workspace .secondary{border-radius:11px}.cashier-workspace input:not([data-product]),.cashier-workspace select,.cashier-workspace textarea{border-color:#dce5f2;border-radius:11px;background:#fff;color:#294766}.cashier-workspace input:focus,.cashier-workspace select:focus,.cashier-workspace textarea:focus{border-color:#8eb3f5;outline:3px solid #2467ec12}.cashier-workspace .staff-pos-order{background:linear-gradient(160deg,#f7faff,#fff 60%);border-color:#d5e3fc;box-shadow:0 5px 22px #254b7b06;border-radius:18px}.cashier-workspace .staff-order-card{box-shadow:0 3px 12px #254b7b03}.cashier-workspace .staff-order-state{font-weight:700}.cashier-workspace .team-member-grid>.team-member{box-shadow:0 3px 14px #254b7b04}.cashier-workspace .staff-product-view{background:#eff4fc;padding:3px;border-radius:12px;gap:3px;width:max-content}.cashier-workspace .staff-product-view button{border:0;background:transparent;color:#647c9d;min-height:36px;padding:8px 12px}.cashier-workspace .staff-product-view button[aria-pressed=true]{background:#fff;color:#235ecc;box-shadow:0 2px 7px #254b7b10}.cashier-workspace .staff-category-filters button{border-color:#e3eaf6;background:#fff}.cashier-workspace .staff-category-filters button[aria-pressed=true]{background:#eaf1ff;color:#245fd1;border-color:#bed1fa}.cashier-workspace .staff-product.is-selected{background:#f0f6ff;border-color:#a8c5fc}.cashier-workspace #staff-waiters>form{padding:18px;border-radius:16px;background:#f7faff;border:1px solid #e3ebf8;margin-bottom:24px}.cashier-workspace #staff-waiters>.section-heading h3{font-size:17px;margin:0}.cashier-workspace .team-pages{padding-top:16px;border-top:1px solid #edf1f8}.cashier-workspace button:focus-visible{outline:3px solid #9bbcf9;outline-offset:2px}@media(max-width:760px){.cashier-workspace .team-panel{padding:18px 14px;border-radius:18px}.cashier-workspace .team-header{padding:16px;border-radius:18px}.cashier-workspace .team-header h1{font-size:23px}.cashier-workspace .staff-tabs [data-view]{gap:6px;padding:10px 8px;font-size:12px}.cashier-workspace .staff-pos-order{box-shadow:none}.cashier-workspace #staff-waiters>form{padding:14px}.cashier-workspace #staff-waiters>.section-heading{flex-wrap:wrap;gap:12px}}@media(prefers-reduced-motion:reduce){.cashier-workspace .staff-tabs [data-view]{transition:none}}

#staff-visits-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;padding:2px 5px;border-radius:20px;background:#e7efff;color:#205bc6;font-size:11px}

/* Cashier navigation: fixed sidebar on desktop, drawer on tablet and mobile. */
.cashier-sidebar-heading,.cashier-sidebar-caption,.staff-menu-toggle{display:none}.cashier-workspace>.team-shell>#staff-work>#cashier-navigation{position:fixed;inset:0 auto 0 0;z-index:40;width:228px;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:7px;margin:0;padding:26px 14px;background:#10203b;border:0;border-radius:0;box-shadow:6px 0 30px #142b4910;overflow-y:auto}.cashier-workspace .cashier-sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 8px;margin-bottom:24px}.cashier-sidebar-heading img{width:150px;height:54px;object-fit:contain}.cashier-workspace .cashier-sidebar-caption{display:block;color:#89a0bf;font-size:10px;letter-spacing:1.7px;line-height:1.7;margin:0 12px 12px}.cashier-workspace #cashier-navigation [data-view]{justify-content:flex-start;flex:none;min-height:48px;width:100%;padding:12px 14px;color:#b5c6df;border-radius:12px;font-size:13px;background:transparent;box-shadow:none}.cashier-workspace #cashier-navigation [data-view]:hover{background:#1c3457;color:#fff}.cashier-workspace #cashier-navigation [data-view][aria-current=page]{background:#2467ec;color:#fff;box-shadow:0 4px 14px #0002}.cashier-workspace #cashier-navigation .cashier-tab-icon svg{width:20px;height:20px}.cashier-workspace #staff-menu-close{display:none}.staff-menu-toggle svg{width:21px;height:21px}.cashier-workspace #staff-menu-backdrop{position:fixed;inset:0;z-index:39;width:100%;height:100dvh;border:0;border-radius:0;background:#10203980;backdrop-filter:blur(3px);padding:0}body.cashier-menu-open{overflow:hidden}@media(min-width:1100px){body.cashier-workspace{padding-left:228px;box-sizing:border-box}.cashier-workspace>.team-shell{padding-left:24px;padding-right:24px}.cashier-workspace #staff-menu-toggle{display:none}.cashier-workspace #staff-menu-backdrop{display:none}}@media(max-width:1099px){.cashier-workspace #staff-menu-toggle{display:grid;place-items:center;flex:none;width:42px;height:42px;min-height:42px;padding:8px;background:#f4f8ff;border:1px solid #dce6f5;color:#2864ed;border-radius:12px}.cashier-workspace>.team-shell>#staff-work>#cashier-navigation{width:min(280px,calc(100vw - 44px));transform:translateX(-105%);visibility:hidden;transition:transform .2s}.cashier-workspace.cashier-menu-open>.team-shell>#staff-work>#cashier-navigation{transform:translateX(0);visibility:visible}.cashier-workspace #staff-menu-close{display:grid;place-items:center;flex:none;width:36px;height:36px;min-height:36px;background:#1c3457;border:1px solid #2d476a;color:#d5e2f5;border-radius:50%;font-size:24px}.cashier-workspace .cashier-sidebar-heading{padding:0 4px}.cashier-workspace .team-header{gap:12px}.cashier-workspace .team-header h1{font-size:22px}.cashier-workspace .team-header #staff-logout{margin-left:auto}.cashier-workspace .team-header>img{width:48px;height:58px}}@media(max-width:480px){.cashier-workspace .team-header{padding:14px;gap:10px}.cashier-workspace .team-header h1{font-size:20px}.cashier-workspace .team-header>img{display:none}.cashier-workspace .team-header #staff-logout{min-height:36px;padding:8px 12px}.cashier-workspace .team-header #staff-context{flex-wrap:wrap;font-size:12px}}@media(prefers-reduced-motion:reduce){.cashier-workspace>.team-shell>#staff-work>#cashier-navigation{transition:none}}

@media(max-width:1099px){.cashier-workspace #staff-menu-close{width:40px;height:40px;min-width:40px;min-height:40px;padding:0;margin:0;box-sizing:border-box;line-height:0;align-self:center;place-items:center}.cashier-workspace #staff-menu-close svg{display:block;width:18px;height:18px;pointer-events:none}.cashier-workspace .cashier-sidebar-heading{align-items:center;min-height:54px}}

#cashier-tables-grid.is-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))}

.team-order-total>.staff-draft-actions{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}.staff-discard-draft{color:#a3263e!important;border-color:#ecc5cd!important;background:#fff8f9!important}.staff-review-actions{flex-wrap:wrap}@media(max-width:600px){#staff-order-form .team-order-total{flex-wrap:wrap}#staff-order-form .staff-draft-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}#staff-order-form .staff-draft-actions>button{padding:10px 8px;white-space:normal;min-height:44px}}

.staff-review-group{margin-top:16px;border:1px solid #dce5f4;border-radius:12px;padding:14px}.staff-review-group h3{margin:0;font-size:15px;color:#193454}.staff-review-instructions{margin:8px 0 0;padding:10px 12px;border-radius:8px;background:#f3f7ff;color:#526f96;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.staff-review-group .staff-review-items>div:last-child{border-bottom:0;padding-bottom:0}
