:root{
  --app-bg:#ffffff;
  --app-surface:#ffffff;
  --app-surface-soft:#f6f8fb;
  --app-text:#18212f;
  --app-muted:#667085;
  --app-border:#dde4ee;
  --app-primary:#1f6feb;
  --app-primary-dark:#185abc;
  --app-success:#16803c;
  --app-warning:#b7791f;
  --app-danger:#c92a2a;
  --app-radius:8px;
  --app-shadow:0 10px 26px rgba(24,33,47,.06);
}

html{height:100%}
body.app-body{
  min-height:100vh;
  margin:0;
  display:flex;
  flex-direction:column;
  color:var(--app-text);
  background:var(--app-bg);
  font-family:var(--system-font, "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  letter-spacing:0;
}

.app-main{flex:1;width:100%;max-width:none;min-width:0;overflow-x:clip}
.auth-body{background:#ffffff}
.auth-main{min-height:100vh;padding:0}
.auth-body .footer{display:none}

.app-navbar{
  position:sticky;
  top:0;
  z-index:1030;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid var(--app-border);
  box-shadow:0 8px 24px rgba(24,33,47,.05);
  backdrop-filter:blur(14px);
  display:block;
  padding:0;
}
.app-navbar-top{min-height:64px}
.app-brand{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--app-text);text-decoration:none}
.app-brand-mark{
  width:36px;height:36px;border-radius:8px;background:var(--app-primary);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:.88rem;
}
.app-brand-text{font-size:1rem;white-space:nowrap}
.app-navigation{
  width:100%;
  border-top:1px solid #edf1f6;
  background:#fff;
}
.app-nav-scroll{
  width:100%;
  overflow:visible;
  scrollbar-width:thin;
  scrollbar-color:#c8d2e0 transparent;
}
.app-nav{
  width:100%;
  min-width:0;
  gap:3px;
  padding:7px 0;
}
.app-nav .nav-link{
  color:#4a5568;
  border-radius:8px;
  padding:.55rem .72rem;
  font-weight:650;
  font-size:.88rem;
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap;
}
.app-nav .nav-link i{width:17px;text-align:center;color:#708097}
.app-nav .nav-link:hover{background:#eef4ff;color:var(--app-primary)}
.app-nav .nav-link.active{background:var(--app-primary);color:#fff}
.app-nav .nav-link.active i{color:#fff}
.app-nav-count{
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  display:inline-grid;
  place-items:center;
  background:#dc2626;
  color:#fff;
  font-size:.68rem;
  font-weight:900;
  line-height:1;
}
.app-nav .nav-link.active .app-nav-count{background:#fff;color:#dc2626}
.app-nav .nav-link.has-notifications:not(.active) i{color:#dc2626}
.app-nav-dropdown{
  min-width:220px;
  padding:6px;
  border:1px solid var(--app-border);
  border-radius:8px;
  box-shadow:0 14px 34px rgba(24,33,47,.14);
}
.app-nav-dropdown .dropdown-item{
  min-height:38px;
  padding:8px 10px;
  border-radius:7px;
  color:#445166;
  display:flex;
  align-items:center;
  gap:9px;
  font-size:.82rem;
  font-weight:750;
}
.app-nav-dropdown .dropdown-item i{width:18px;text-align:center;color:#758399}
.app-nav-dropdown .dropdown-item:hover{background:#eef4ff;color:var(--app-primary)}
.app-nav-dropdown .dropdown-item.active{background:var(--app-primary);color:#fff}
.app-nav-dropdown .dropdown-item.active i{color:#fff}
.settings-category-menu{min-width:235px}
.settings-menu-group{position:relative}
.settings-menu-trigger span{flex:1}
.settings-menu-trigger .settings-menu-arrow{width:12px;margin-left:auto;font-size:.65rem}
.settings-menu-flyout{
  display:none;position:absolute;z-index:1080;top:-6px;left:calc(100% - 2px);right:auto;
  min-width:255px;margin:0;padding:6px;list-style:none;
  border:1px solid var(--app-border);border-radius:8px;background:#fff;
  box-shadow:0 14px 34px rgba(24,33,47,.16);
}
.settings-menu-group.is-open-left>.settings-menu-flyout{left:auto;right:calc(100% - 2px)}
.settings-menu-arrow{transition:transform .16s ease}
.settings-menu-group.is-open-left>.settings-menu-trigger .settings-menu-arrow{transform:rotate(180deg)}
.settings-menu-flyout .dropdown-item{white-space:normal}
@media (min-width:1200px){
  .settings-menu-group:hover>.settings-menu-flyout,
  .settings-menu-group:focus-within>.settings-menu-flyout{display:block}
}
.app-userbar{display:flex;align-items:center;gap:10px;padding-left:12px;border-left:1px solid var(--app-border)}
.app-user-avatar{
  width:34px;height:34px;border-radius:50%;background:#eaf1ff;color:var(--app-primary);
  display:flex;align-items:center;justify-content:center;font-weight:850;
}
.app-user-name{font-weight:760;font-size:.9rem;line-height:1.1}
.app-user-role{color:var(--app-muted);font-size:.78rem}
.app-logout{display:inline-flex;align-items:center;gap:6px}

.page-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  margin-bottom:18px;
}
.eyebrow{
  color:var(--app-primary);
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:0;
  font-weight:800;
  margin-bottom:2px;
}
.section-title{
  font-weight:800;
  color:#263244;
  margin-bottom:12px;
}

.card,.panel-card{
  border:1px solid var(--app-border);
  border-radius:var(--app-radius);
  background:#ffffff;
  box-shadow:var(--app-shadow);
}
.panel-card-body{padding:18px}
.card.shadow-sm{min-height: 140px;box-shadow:var(--app-shadow)!important}
.card-body{padding:18px}

.btn{border-radius:8px;font-weight:700}
.btn-primary{background:var(--app-primary);border-color:var(--app-primary)}
.btn-primary:hover{background:var(--app-primary-dark);border-color:var(--app-primary-dark)}
.btn-outline-primary{border-color:#9bbcf8;color:var(--app-primary)}
.btn-outline-primary:hover{background:var(--app-primary);border-color:var(--app-primary);color:#fff}

.form-control,.form-select{
  border-radius:8px;
  border-color:var(--app-border);
  min-height:42px;
}
.form-control:focus,.form-select:focus{
  border-color:#8bb3f7;
  box-shadow:0 0 0 .2rem rgba(31,111,235,.14);
}
.form-label{font-weight:700;color:#38465a;font-size:.88rem}

.table{
  --bs-table-bg:#ffffff;
  --bs-table-striped-bg:#f5f8fc;
  --bs-table-hover-bg:#eef5ff;
  border-color:var(--app-border);
}
.table thead th{
  color:#526071;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:0;
  background:#f3f7fb;
  border-bottom:1px solid var(--app-border);
}
.table td,.table th{vertical-align:middle}
.table-responsive{border-radius:8px}

.badge{border-radius:20px;padding:.45em .7em;font-weight:800}
.badge-status{font-size:.85rem}
.product-badge-layout{display:grid;grid-template-columns:minmax(310px,.72fr) minmax(0,1.28fr);gap:18px;align-items:start}.product-badge-editor{position:sticky;top:86px}.product-badge-preview-wrap{margin:18px 0;padding:14px;border:1px dashed #c9d7e8;border-radius:14px;background:#f7faff;display:flex;align-items:center;justify-content:space-between;gap:12px}.product-badge-preview-wrap>span{font-size:12px;color:#65758b;font-weight:800}.product-badge-preview-wrap strong,.product-badge-list-preview{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border-radius:999px;background:var(--badge-bg,#176b4d);color:var(--badge-text,#fff);font-size:12px;font-weight:850;white-space:nowrap}.product-badge-preview-wrap em{font-style:normal}.product-badge-list{display:grid;gap:10px}.product-badge-list article{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px;border:1px solid #e1e8f1;border-radius:14px;background:#fff}.product-badge-list article.is-disabled{opacity:.58}.product-badge-list-copy{display:grid;min-width:0}.product-badge-list-copy span,.product-badge-list-copy small{color:#69788c}.product-badge-list-copy small{font-size:11px}.product-badge-list-actions{display:flex;gap:6px}.product-badge-list-actions form{margin:0}
.product-badge-template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.product-badge-template{min-width:0;padding:13px;border:1px solid #dfe7f1;border-radius:12px;background:#fff;color:#263348;display:grid;gap:7px;text-align:left;transition:.16s ease}
.product-badge-template:hover{border-color:#8bb4fa;background:#f7faff;transform:translateY(-1px)}
.settings-font-preview{padding:13px 15px;border:1px solid var(--app-border);border-radius:10px;background:var(--app-surface-soft);font-family:var(--system-font,"Source Sans 3",system-ui,sans-serif);font-size:1rem;font-weight:650;color:var(--app-text)}
.product-badge-template>span{width:max-content;max-width:100%;padding:6px 9px;border-radius:999px;background:var(--badge-bg);color:var(--badge-text);display:inline-flex;align-items:center;gap:6px;font-size:.68rem;font-weight:850}
.product-badge-template>b{font-size:.78rem}.product-badge-template>small{color:var(--app-muted);font-size:.66rem;line-height:1.35}
@media(max-width:900px){.product-badge-layout{grid-template-columns:1fr}.product-badge-editor{position:static}}
@media(max-width:900px){.product-badge-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.product-badge-template-grid{grid-template-columns:1fr}.product-badge-list article{grid-template-columns:minmax(0,1fr) auto}.product-badge-list-preview{grid-column:1/-1;width:max-content}.product-badge-list-actions{align-self:center}}
.alert{border-radius:8px;border-width:1px}

.metric-card .card-body{display:flex;flex-direction:column;gap:4px}
.metric-head{display:flex;align-items:center;gap:9px;margin-bottom:5px}
.metric-icon{
  width:36px;height:36px;border-radius:8px;display:grid;place-items:center;
  background:#eef4ff;color:var(--app-primary);
}
.metric-icon.is-green{background:#eaf8ef;color:#16803c}
.metric-icon.is-amber{background:#fff6e7;color:#a15c00}
.metric-label{color:var(--app-muted);font-size:.86rem;font-weight:750}
.metric-value{font-size:clamp(1.55rem,2.2vw,2rem);font-weight:900;line-height:1.1}

.empty-state{
  border:1px dashed #b8c3d1;
  background:#f7f9fc;
  color:var(--app-muted);
  border-radius:8px;
  padding:18px;
  text-align:center;
}
.empty-state.compact{padding:12px;font-size:.9rem}

.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
  gap:10px;
}
.product-pick{
  border:1px solid var(--app-border);
  background:#ffffff;
  border-radius:8px;
  padding:12px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  text-align:left;
  min-height:88px;
  transition:transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.product-pick:hover:not(:disabled){
  transform:translateY(-1px);
  border-color:#9bbcf8;
  box-shadow:0 10px 24px rgba(31,111,235,.12);
}
.product-pick:disabled{opacity:.55;cursor:not-allowed;background:#f7f9fc}
.product-pick-main,.product-pick-side{display:flex;flex-direction:column;gap:3px}
.product-pick-main small,.product-pick-side small{color:var(--app-muted)}
.product-pick-side{text-align:right;white-space:nowrap}
.product-metric-grid,.category-metric-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:10px;
  margin-bottom:14px;
}
.product-metric-grid>div,.category-metric-grid>div{
  min-height:76px;
  padding:12px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:0 6px 18px rgba(24,33,47,.04);
  display:grid;
  grid-template-columns:34px 1fr auto;
  align-items:center;
  gap:10px;
}
.product-metric-grid i,.category-metric-grid i{
  width:34px;height:34px;border-radius:8px;background:#eaf2ff;color:var(--app-primary);
  display:grid;place-items:center;
}
.product-metric-grid span,.category-metric-grid span{color:var(--app-muted);font-size:.76rem;font-weight:850}
.product-metric-grid b,.category-metric-grid b{font-size:1.22rem}
.product-metric-grid .is-warning{border-color:#f3d296;background:#fffaf0}
.product-metric-grid .is-warning i{background:#fff3dc;color:#925b08}
.product-quality-panel,.product-bulk-panel{
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:var(--app-shadow);
  margin-bottom:14px;
  overflow:hidden;
}
.product-quality-head{
  min-height:68px;
  padding:13px;
  display:grid;
  grid-template-columns:40px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  background:#fffaf0;
  border-bottom:1px solid #f3d296;
}
.product-quality-head>i{
  width:40px;height:40px;border-radius:8px;background:#fff3dc;color:#925b08;
  display:grid;place-items:center;
}
.product-quality-head b,.product-bulk-copy b{display:block;font-size:.9rem}
.product-quality-head span,.product-bulk-copy span{display:block;color:var(--app-muted);font-size:.74rem;font-weight:750}
.product-quality-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:0}
.product-quality-list a{
  min-height:56px;
  padding:10px 12px;
  border-right:1px solid #edf1f6;
  border-bottom:1px solid #edf1f6;
  color:var(--app-text);
  text-decoration:none;
  display:grid;
  grid-template-columns:minmax(0,1fr) 16px;
  align-items:center;
  gap:8px;
}
.product-quality-list a:hover{background:#f8fafc;color:var(--app-primary)}
.product-quality-list b{font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-quality-list span{display:block;color:var(--app-muted);font-size:.68rem;grid-column:1}
.product-quality-list i{grid-row:1/3;grid-column:2;color:#8a94a4}
.product-bulk-panel{
  padding:13px;
  display:grid;
  grid-template-columns:minmax(220px,.65fr) minmax(0,1.8fr);
  gap:12px;
  align-items:center;
}
.product-bulk-copy{display:flex;align-items:center;gap:10px}
.product-bulk-copy>i{
  width:40px;height:40px;border-radius:8px;background:#fff3dc;color:#925b08;
  display:grid;place-items:center;
  flex:0 0 auto;
}
.product-bulk-panel form{
  display:grid;
  grid-template-columns:1.2fr 1fr .7fr 1fr auto auto;
  gap:8px;
  align-items:center;
}
.product-bulk-check{
  min-height:42px;
  display:flex;
  align-items:center;
  gap:7px;
  margin:0;
  color:#465568;
  font-size:.76rem;
  font-weight:850;
  white-space:nowrap;
}
.product-filter-bar{
  margin-bottom:14px;
  display:grid;
  grid-template-columns:minmax(240px,1.4fr) repeat(5,minmax(120px,.7fr)) auto auto;
  gap:8px;
}
.product-filter-search{position:relative}
.product-filter-search>i{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  color:#8a94a4;
  pointer-events:none;
}
.product-filter-search .form-control{padding-left:38px}
.product-management-table{
  border:1px solid var(--app-border);
  background:#fff;
  box-shadow:var(--app-shadow);
}
.product-management-table .table{margin-bottom:0}
.product-cell{
  min-width:280px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  align-items:center;
  gap:10px;
}
.product-thumb{
  width:48px;
  height:48px;
  border-radius:8px;
  object-fit:cover;
  background:#eef2f7;
  color:#8a94a4;
}
span.product-thumb{
  display:grid;
  place-items:center;
}
.product-cell b{display:block;font-size:.9rem}
.product-cell span,.product-cell small{
  display:block;
  color:var(--app-muted);
  font-size:.7rem;
}
.product-cell small{
  max-width:340px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.product-issue-list{display:flex;flex-wrap:wrap;gap:5px}
.product-issue-list span{
  padding:4px 7px;
  border-radius:999px;
  background:#fff3dc;
  color:#925b08;
  font-size:.66rem;
  font-weight:850;
}
.product-ok-pill{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:27px;
  padding:4px 8px;
  border-radius:999px;
  background:#eaf8ef;
  color:#16803c;
  font-size:.7rem;
  font-weight:850;
  white-space:nowrap;
}
.product-switch-list{display:flex;flex-direction:column;gap:5px}
.product-switch-list form{margin:0}
.product-switch{
  min-width:92px;
  min-height:28px;
  border:1px solid var(--app-border);
  border-radius:999px;
  background:#f8fafc;
  color:#667085;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:4px 8px;
  font-size:.68rem;
  font-weight:850;
  cursor:pointer;
}
.product-switch i{
  width:16px;
  height:16px;
  border-radius:50%;
  background:#c4ccd8;
}
.product-switch.is-on{border-color:#bdeccf;background:#f2fbf5;color:#16803c}
.product-switch.is-on i{background:#16a34a}
.product-row-actions{display:flex;justify-content:flex-end;gap:5px;flex-wrap:wrap}
.category-create-form{
  display:grid;
  grid-template-columns:1fr 90px auto;
  gap:8px;
  align-items:end;
}
.category-create-form label{display:flex;flex-direction:column;gap:4px}
.category-create-form span{color:#465568;font-size:.72rem;font-weight:850}
.category-table .form-control{min-height:34px}
.category-count-pill{
  min-height:27px;
  padding:5px 8px;
  border-radius:999px;
  background:#eef2f7;
  color:#465568;
  display:inline-flex;
  align-items:center;
  font-size:.7rem;
  font-weight:850;
  white-space:nowrap;
}
.category-count-pill.is-menu{background:#eaf2ff;color:var(--app-primary)}

.total-strip{
  border:1px solid #cfe0ff;
  background:#f4f8ff;
  border-radius:8px;
  padding:14px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.total-value{font-size:2rem;font-weight:900;line-height:1;color:var(--app-primary)}
.cart-list{display:flex;flex-direction:column;gap:10px}
.cart-line{
  border:1px solid var(--app-border);
  background:#fff;
  border-radius:8px;
  padding:12px;
  display:flex;
  justify-content:space-between;
  gap:14px;
}
.option-group{
  border:1px solid var(--app-border);
  background:#f8fafc;
  border-radius:8px;
  padding:12px;
  margin-bottom:10px;
}
.option-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--app-border);
  background:#fff;
  border-radius:8px;
  padding:9px 10px;
  margin-bottom:7px;
}

.orders-live-page{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.live-metric-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.live-metric{
  min-height:86px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:var(--app-shadow);
  padding:14px;
  display:grid;
  grid-template-columns:46px 1fr auto;
  align-items:center;
  gap:12px;
}
.live-metric i{
  width:46px;
  height:46px;
  border-radius:8px;
  background:#eef5ff;
  color:var(--app-primary);
  display:grid;
  place-items:center;
  font-size:1.08rem;
}
.live-metric span{
  min-width:0;
  color:#526071;
  font-size:.82rem;
  font-weight:850;
}
.live-metric b{
  color:#101828;
  font-size:1.75rem;
  line-height:1;
}
.live-metric.is-primary{border-color:#bcd5ff;background:#f7fbff}
.live-metric.is-warning{border-color:#f5d39b;background:#fffaf0}
.live-metric.is-warning i{background:#fff0d2;color:#a15c00}
.live-metric.is-danger{border-color:#fecaca;background:#fff5f5}
.live-metric.is-danger i{background:#fee2e2;color:#b4232b}
.live-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.live-section-head h5{font-weight:900}
.order-board{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(360px,1fr));
  gap:14px;
  align-items:stretch;
}
.order-card,.request-card,.table-card{
  border:1px solid var(--app-border);
  background:#fff;
  border-radius:8px;
  box-shadow:var(--app-shadow);
  overflow:hidden;
}
.order-card,.request-card{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.order-card.is-urgent,.request-card.is-urgent{border-color:#f1b44c}
.order-card-head,.request-card-head{
  padding:14px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
  flex-wrap:wrap;
  border-bottom:1px solid var(--app-border);
  background:#fbfcfe;
}
.order-table-name,.request-table-name{font-size:1.1rem;font-weight:900}
.order-meta,.request-meta{color:var(--app-muted);font-size:.84rem}
.order-card-body,.request-card-body{
  padding:14px;
  display:flex;
  flex:1;
  flex-direction:column;
}
.order-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.order-stat{
  border:1px solid var(--app-border);
  background:#f6f9fd;
  border-radius:8px;
  padding:10px;
}
.order-stat small{display:block;color:var(--app-muted);font-weight:750}
.order-stat b{font-size:1.05rem}
.order-preview{margin:12px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:6px}
.order-preview li{display:flex;justify-content:space-between;gap:10px;font-size:.9rem}
.order-preview li span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.request-icon{
  width:48px;height:48px;border-radius:8px;background:#eef5ff;color:var(--app-primary);
  display:flex;align-items:center;justify-content:center;font-weight:900;
  font-size:1.25rem;
  flex:0 0 auto;
}
.request-title-block{min-width:0}
.request-icon.is-waiter{background:#eef5ff;color:#1f6feb}
.request-icon.is-bill{background:#fff4e5;color:#b7791f}
.request-icon.is-water{background:#e8f7ff;color:#087ea4}
.request-icon.is-cleaning{background:#eafaf0;color:#16803c}
.request-icon.is-other{background:#f4f4f5;color:#52525b}

.request-type-pill{
  min-width:82px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  border:1px solid var(--app-border);
  background:#fff;
  color:#344054;
  border-radius:999px;
  padding:6px 10px;
  font-size:.82rem;
  font-weight:850;
}
.request-type-pill.is-waiter{border-color:#bcd5ff;color:#1f6feb;background:#f4f8ff}
.request-type-pill.is-bill{border-color:#f5d39b;color:#9a6700;background:#fff8ed}
.request-type-pill.is-water{border-color:#b8e6fa;color:#087ea4;background:#f0fbff}
.request-type-pill.is-cleaning{border-color:#bdeccf;color:#16803c;background:#f2fbf5}
.request-type-pill.is-other{border-color:#d4d4d8;color:#52525b;background:#fafafa}
.request-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.request-actions form{margin:0}
.request-actions .btn{
  min-height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.order-flow-pills{
  margin-top:12px;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px;
}
.order-flow-pills span{
  min-height:34px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#f8fafc;
  color:#526071;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  padding:5px 7px;
  font-size:.72rem;
  font-weight:850;
  text-align:center;
  white-space:nowrap;
}
.order-flow-pills span i{font-size:.72rem}
.order-flow-pills .is-waiting{border-color:#f6d596;background:#fff8ea;color:#9a6700}
.order-flow-pills .is-cooking{border-color:#fed7aa;background:#fff7ed;color:#9a3412}
.order-flow-pills .is-ready{border-color:#bbf7d0;background:#f0fdf4;color:#166534}
.order-card-footer{
  margin-top:auto;
  padding-top:12px;
  border-top:1px solid var(--app-border);
  display:flex;
  flex-direction:column;
  gap:10px;
}
.order-updated{
  color:#667085;
  display:flex;
  align-items:center;
  gap:6px;
  font-size:.78rem;
  font-weight:750;
}
.order-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.order-actions form{margin:0}
.order-actions .btn{
  width:100%;
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  line-height:1.15;
  white-space:normal;
  text-align:center;
}

.order-detail-sidebar{
  display:flex;
  flex-direction:column;
}
.order-detail-sidebar>.panel-card{order:3}
.order-detail-sidebar>.order-summary-panel{order:0}
.order-detail-sidebar>.order-close-panel{order:1}
.order-detail-sidebar>.order-table-operations{order:2}
.order-sidebar-accordion{overflow:hidden}
.order-sidebar-accordion-summary{
  min-height:52px;
  padding:13px 16px;
  list-style:none;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color:var(--app-text);
  background:#fff;
  font-size:.86rem;
  font-weight:850;
  user-select:none;
}
.order-sidebar-accordion-summary::-webkit-details-marker{display:none}
.order-sidebar-accordion-summary>span:first-child{
  display:flex;
  align-items:center;
  gap:9px;
}
.order-sidebar-accordion-summary>span:first-child>i{
  width:30px;
  height:30px;
  border-radius:8px;
  display:grid;
  place-items:center;
  color:var(--app-primary);
  background:#eef5ff;
}
.order-sidebar-accordion-summary-danger>span:first-child>i{
  color:#b42318;
  background:#fff1f0;
}
.order-sidebar-accordion-chevron{
  color:var(--app-muted);
  font-size:.74rem;
  transition:transform .2s ease;
}
.order-sidebar-accordion[open]>.order-sidebar-accordion-summary{
  border-bottom:1px solid var(--app-border);
}
.order-sidebar-accordion[open]>.order-sidebar-accordion-summary .order-sidebar-accordion-chevron{
  transform:rotate(180deg);
}
.order-sidebar-accordion>.panel-card-body{padding-top:14px}
.order-close-panel>.order-sidebar-accordion-summary>span:first-child>i{
  color:#16794a;
  background:#ecfdf3;
}

.order-table-operations .panel-card-body{display:flex;flex-direction:column;gap:12px}
.order-table-operations .section-title{margin-bottom:0}
.order-operation-accordion{
  overflow:hidden;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fafbfc;
}
.order-operation-accordion>.order-sidebar-accordion-summary{
  min-height:50px;
  padding:10px 12px;
  background:#fafbfc;
}
.order-operation-accordion[open]>.order-sidebar-accordion-summary{
  border-bottom:1px solid var(--app-border);
}
.order-operation-accordion[open]>.order-sidebar-accordion-summary .order-sidebar-accordion-chevron{
  transform:rotate(180deg);
}
.order-operation-accordion>.order-operation-block{
  border:0;
  border-radius:0;
  background:#fff;
}
.order-operation-block{
  padding:12px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fafbfc;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.order-operation-title{display:flex;align-items:center;gap:9px}
.order-operation-title>i{
  width:34px;height:34px;border-radius:8px;display:grid;place-items:center;
  background:#eaf2ff;color:var(--app-primary);
}
.order-operation-title>div{display:flex;flex-direction:column}
.order-operation-title b{font-size:.84rem}
.order-operation-title small{color:var(--app-muted);font-size:.7rem}
.order-split-items{
  max-height:230px;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:6px;
  padding:7px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
}
.order-split-items label{
  min-height:48px;
  padding:6px 7px;
  border-bottom:1px solid #edf1f6;
  display:grid;
  grid-template-columns:1fr 72px;
  align-items:center;
  gap:8px;
}
.order-split-items label:last-child{border-bottom:0}
.order-split-items label>span{min-width:0;display:flex;flex-direction:column}
.order-split-items label b{font-size:.75rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.order-split-items label small{color:var(--app-muted);font-size:.66rem}
.order-split-items input{text-align:center}
.order-line-actions{min-width:178px}
.order-item-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:6px;
  flex-wrap:wrap;
}
.order-item-actions:empty{display:none}
.order-item-transfer,
.order-item-cancel{
  margin-top:7px;
  text-align:left;
}
.order-item-transfer summary,
.order-item-cancel summary{
  list-style:none;
  min-height:30px;
  padding:5px 9px;
  border:1px solid #bad0f5;
  border-radius:8px;
  color:var(--app-primary);
  background:#f6f9ff;
  display:inline-flex;
  align-items:center;
  gap:6px;
  cursor:pointer;
  font-size:.74rem;
  font-weight:850;
}
.order-item-transfer summary::-webkit-details-marker,
.order-item-cancel summary::-webkit-details-marker{display:none}
.order-item-transfer[open] summary{
  color:#fff;
  background:var(--app-primary);
  border-color:var(--app-primary);
}
.order-item-cancel summary{
  border-color:#fecaca;
  color:#b42318;
  background:#fff5f5;
}
.order-item-cancel[open] summary{
  color:#fff;
  background:#dc2626;
  border-color:#dc2626;
}
.order-item-transfer-form,
.order-item-cancel-form{
  margin-top:7px;
  padding:8px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  display:grid;
  grid-template-columns:minmax(116px,1fr) 70px;
  gap:6px;
}
.order-item-transfer-form input[name="customer_name"],
.order-item-transfer-form input[name="operation_note"],
.order-item-transfer-form .btn,
.order-item-cancel-form .btn{
  grid-column:1/-1;
}
.order-item-cancel-form{
  grid-template-columns:1fr;
}
.order-payment-remaining{
  padding:6px 8px;
  border-radius:999px;
  background:#eef5ff;
  color:var(--app-primary);
  font-size:.72rem;
  font-weight:850;
  white-space:nowrap;
}
.order-partial-list{
  border:1px solid var(--app-border);
  border-radius:8px;
  overflow:hidden;
}
.order-partial-row{
  padding:9px;
  display:grid;
  grid-template-columns:32px minmax(0,1fr) auto 32px;
  align-items:center;
  gap:8px;
  border-bottom:1px solid var(--app-border);
  background:#fff;
}
.order-partial-row:last-child{border-bottom:0}
.order-partial-icon{
  width:30px;height:30px;border-radius:8px;display:grid;place-items:center;
  background:#eaf8ef;color:var(--app-success);font-size:.72rem;
}
.order-partial-row>div:nth-child(2){min-width:0;display:flex;flex-direction:column}
.order-partial-row b{font-size:.76rem}
.order-partial-row span,.order-partial-row small{color:var(--app-muted);font-size:.65rem}
.order-partial-row small{color:#38465a;margin-top:2px}
.order-partial-row>strong{font-size:.78rem;white-space:nowrap}
.order-partial-row form{margin:0}
.order-partial-row .btn{width:30px;height:30px;padding:0;display:grid;place-items:center}
.order-partial-entry{
  border:1px solid var(--app-border);
  border-radius:8px;
  overflow:hidden;
  background:#fff;
}
.order-partial-entry .order-partial-row{border:0;border-radius:0}
.order-partial-actions{display:flex;align-items:center;gap:5px}
.order-partial-actions form{margin:0}
.order-partial-edit{border-top:1px solid var(--app-border);background:#f8fafc}
.order-partial-edit-form{
  padding:10px;
  display:grid;
  grid-template-columns:1.1fr .9fr .7fr;
  gap:7px;
}
.order-partial-edit-form input[name="note"],.order-partial-edit-form .btn{grid-column:1/-1}
.order-partial-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
}
.order-partial-form .btn{grid-column:1/-1}
.order-event-list{display:flex;flex-direction:column}
.order-event{
  display:grid;
  grid-template-columns:32px 1fr auto;
  gap:9px;
  align-items:start;
  padding:10px 0;
  border-bottom:1px solid var(--app-border);
}
.order-event:last-child{border-bottom:0;padding-bottom:0}
.order-event>i{
  width:30px;height:30px;border-radius:50%;display:grid;place-items:center;
  background:#eef4ff;color:var(--app-primary);font-size:.75rem;
}
.order-event>div{display:flex;flex-direction:column;min-width:0}
.order-event b{font-size:.78rem}
.order-event span,.order-event small,.order-event time{color:var(--app-muted);font-size:.68rem}
.order-event small{margin-top:3px;color:#38465a}
.order-event time{white-space:nowrap}
@media (max-width:420px){
  .order-line-actions{min-width:150px}
  .order-item-actions{justify-content:flex-start}
  .order-item-transfer-form{grid-template-columns:1fr 62px}
  .order-partial-form{grid-template-columns:1fr}
  .order-partial-form .btn{grid-column:auto}
  .order-partial-row{grid-template-columns:30px minmax(0,1fr) 30px}
  .order-partial-row>strong{grid-column:2}
  .order-partial-row>form{grid-column:3;grid-row:1/3}
}

.sale-top-grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:12px;
}
.sale-top-grid .span-2{grid-column:span 2}
.sale-top-grid .span-3{grid-column:span 3}
.sale-top-grid .span-4{grid-column:span 4}
.sale-top-grid .span-6{grid-column:span 6}
.sale-top-grid .span-12{grid-column:span 12}
.sale-cart-panel{
  position:static;
  top:auto;
  z-index:auto;
}
.sale-cart-total{
  border:1px solid #cfe0ff;
  background:#f4f8ff;
  border-radius:8px;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.sale-cart-total span{color:var(--app-muted);font-size:.86rem;font-weight:750}
.sale-cart-total b{color:var(--app-primary);font-size:1.45rem;font-weight:900}
.sales-workspace{
  align-items:flex-start;
}
.sales-products-panel{
  min-height:620px;
}
.payment-builder{position:relative}
.discount-builder{
  border:1px solid #cfe0ff;
  border-radius:8px;
  background:#f4f8ff;
  padding:12px;
}
.payment-rows{display:flex;flex-direction:column;gap:10px}
.payment-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:10px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#f8fafc;
}
.payment-row-head{
  grid-column:1/-1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.payment-row input[data-payment-field="note"]{grid-column:1/-1}
.payment-summary{
  border-top:1px solid var(--app-border);
  padding-top:12px;
  display:flex;
  flex-direction:column;
  gap:7px;
}
.payment-summary>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.payment-summary span{color:var(--app-muted);font-size:.86rem;font-weight:700}
.payment-summary b{font-size:.95rem}

/* Hızlı satış / POS ekranı */
.pos-fullscreen-body{
  min-height:100vh;
  background:#eef2f7;
}
.pos-appbar{
  position:sticky;
  top:0;
  z-index:1035;
  min-height:68px;
  padding:8px 14px;
  display:none;
  grid-template-columns:minmax(112px,auto) minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  border-bottom:1px solid #dce3ec;
  background:rgba(255,255,255,.97);
  box-shadow:0 5px 22px rgba(31,43,61,.08);
  backdrop-filter:blur(12px);
}
.pos-appbar-brand{
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
  color:#172033;
  text-decoration:none;
}
.pos-appbar-brand img{width:112px;max-width:112px;height:40px;object-fit:contain}
.pos-appbar-brand>span:last-child{display:flex;min-width:0;flex-direction:column}
.pos-appbar-brand b{font-size:.84rem;line-height:1.2}
.pos-appbar-brand small{color:var(--app-muted);font-size:.66rem;white-space:nowrap}
.pos-appbar-switch{
  min-width:0;
  display:flex;
  justify-content:flex-start;
  gap:5px;
  overflow-x:auto;
  scrollbar-width:none;
  overscroll-behavior-inline:contain;
  padding:2px 0;
}
.pos-appbar-switch::-webkit-scrollbar{display:none}
.pos-appbar-switch a{
  position:relative;
  flex:0 0 auto;
  min-height:44px;
  padding:0 13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid transparent;
  border-radius:11px;
  color:#526071;
  font-size:.75rem;
  font-weight:850;
  text-decoration:none;
  white-space:nowrap;
}
.pos-appbar-switch a:hover{background:#f2f6fb;color:var(--app-primary)}
.pos-appbar-switch a.is-active{
  border-color:#bad1f8;
  background:#eaf2ff;
  color:var(--app-primary);
  box-shadow:inset 0 0 0 1px rgba(31,111,235,.05);
}
.pos-appbar-count{
  min-width:20px;
  height:20px;
  padding:0 5px;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  background:#dc2626;
  color:#fff;
  font-size:.62rem;
  line-height:1;
}
.pos-appbar-switch a.is-active .pos-appbar-count{background:#fff;color:#dc2626}
.pos-appbar-actions{display:flex;align-items:center;gap:9px}
.pos-appbar-actions .btn{min-height:42px;display:inline-flex;align-items:center;gap:7px;font-size:.75rem;font-weight:850}
.workspace-fullscreen-toggle[aria-pressed="true"]{background:var(--app-primary);border-color:var(--app-primary);color:#fff}
.workspace-fullscreen-launch{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;font-weight:850;white-space:nowrap}
body.workspace-native-mode{overflow:hidden}
body.workspace-native-mode .app-navbar{display:none}
body.workspace-native-mode .pos-appbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  padding-left:8px;
  padding-right:8px;
}
body.workspace-native-mode .pos-appbar-brand,
body.workspace-native-mode .pos-appbar-user{display:none}
body.workspace-native-mode > .pos-fullscreen-main{display:none}
.workspace-native-frame{
  display:block;
  width:100%;
  height:calc(100vh - 68px);
  border:0;
  background:var(--app-bg,#eef2f7);
}
.workspace-embedded-body{
  min-height:100vh;
  overflow:auto;
  background:var(--app-bg,#eef2f7);
}
.workspace-embedded-main{
  width:100%;
  min-height:100vh;
  padding:10px 12px 24px;
}
.pos-appbar-user{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 10px;
  color:#526071;
  font-size:.72rem;
  white-space:nowrap;
}
.pos-appbar-user i{
  width:29px;
  height:29px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#f0f4f8;
}
.pos-fullscreen-main{
  width:100%;
  max-width:none;
  padding:12px 14px 24px;
}
:fullscreen .pos-appbar,
:-webkit-full-screen .pos-appbar{top:0}
:fullscreen .pos-fullscreen-main,
:-webkit-full-screen .pos-fullscreen-main{min-height:calc(100vh - 68px)}
.pos-fullscreen-main .pos-page-head{
  padding:12px 14px;
  border:1px solid var(--app-border);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--app-shadow);
}
.pos-commandbar{
  min-height:64px;
  margin-bottom:12px;
  padding:9px 11px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid #dbe3ec;
  border-radius:12px;
  background:#e9edf3;
}
.pos-commandbar-copy{display:flex;align-items:center;gap:9px;min-width:0}
.pos-commandbar-copy>span{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:10px;
  background:#fff;
  color:var(--app-primary);
}
.pos-commandbar-copy>div{display:flex;min-width:0;flex-direction:column}
.pos-commandbar-copy b{font-size:.82rem}
.pos-commandbar-copy small{color:var(--app-muted);font-size:.67rem}
.pos-commandbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
.pos-commandbar-actions .btn{
  min-height:42px;
  padding:8px 12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  border:1px solid #dfe5ed;
  color:#344054;
  font-size:.73rem;
  font-weight:850;
  text-decoration:none;
}
.pos-commandbar-actions .btn:hover{border-color:#a9c5f5;background:#fff;color:var(--app-primary)}
.pos-page-head{margin-bottom:12px}
.pos-page-status{
  display:flex;
  align-items:center;
  gap:16px;
  color:var(--app-muted);
  font-size:.82rem;
  font-weight:750;
}
.pos-page-status span{display:inline-flex;align-items:center;gap:6px}
.pos-page-status .fa-circle{font-size:.55rem}
.pos-order-context{
  display:grid;
  grid-template-columns:minmax(210px,.8fr) minmax(170px,.75fr) minmax(210px,1fr) minmax(240px,1.35fr);
  align-items:end;
  gap:12px;
  padding:12px;
  margin-bottom:12px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:var(--app-shadow);
}
.pos-flow-selector{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-bottom:12px;
  padding:6px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#f4f6f9;
}
.pos-flow-selector label{margin:0;cursor:pointer}
.pos-flow-selector input{position:absolute;opacity:0;pointer-events:none}
.pos-flow-selector span{
  min-height:54px;
  padding:8px 11px;
  border:1px solid transparent;
  border-radius:7px;
  color:#526071;
  display:grid;
  grid-template-columns:30px 1fr;
  grid-template-rows:auto auto;
  align-items:center;
  column-gap:8px;
  background:transparent;
}
.pos-flow-selector i{grid-row:1/3;width:30px;height:30px;border-radius:7px;background:#e5eaf1;display:grid;place-items:center}
.pos-flow-selector b{font-size:.8rem}
.pos-flow-selector small{font-size:.67rem;color:var(--app-muted)}
.pos-flow-selector input:checked+span{border-color:#9bbcf8;background:#fff;color:var(--app-primary);box-shadow:0 3px 10px rgba(31,111,235,.08)}
.pos-flow-selector input:checked+span i{background:#eaf2ff;color:var(--app-primary)}
.pos-context-title{
  min-height:48px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 6px;
}
.pos-context-title>i{
  width:38px;
  height:38px;
  border-radius:8px;
  display:grid;
  place-items:center;
  color:#fff;
  background:#1f6feb;
}
.pos-context-title div{display:flex;flex-direction:column;min-width:0}
.pos-context-title b{font-size:.95rem}
.pos-context-title small{color:var(--app-muted);font-size:.75rem}
.pos-context-field{display:flex;flex-direction:column;gap:5px;margin:0}
.pos-context-field>span{font-size:.76rem;color:var(--app-muted);font-weight:800}
.pos-context-field .form-control{min-height:44px}
.pos-customer-open{
  width:46px;
  display:grid;
  place-items:center;
}
.pos-selected-customer{
  grid-column:1/-1;
  min-height:50px;
  padding:8px 10px;
  display:grid;
  grid-template-columns:36px minmax(0,1fr) 32px;
  align-items:center;
  gap:9px;
  border:1px solid #a7d8c3;
  border-radius:9px;
  background:#effaf5;
}
.pos-selected-customer>span{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#d8f3e6;
  color:#11734f;
}
.pos-selected-customer>div{display:flex;min-width:0;flex-direction:column}
.pos-selected-customer b{font-size:.82rem}
.pos-selected-customer small{color:#567064;font-size:.69rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pos-selected-customer>button{
  width:32px;
  height:32px;
  border:0;
  border-radius:8px;
  background:#fff;
  color:#697586;
}
.pos-selected-customer>button:hover{background:#feecec;color:var(--app-danger)}

.pos-workspace{
  display:grid;
  grid-template-columns:minmax(560px,1fr) minmax(330px,390px);
  grid-template-areas:
    "categories ticket"
    "catalog ticket";
  gap:12px;
  align-items:start;
}

.pos-ticket-panel{
  grid-area:ticket;
  overflow:hidden;
  position:static;
}
.pos-panel-head,.pos-catalog-head{
  min-height:72px;
  padding:14px 16px;
  border-bottom:1px solid var(--app-border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:#fbfcfe;
}
.pos-panel-kicker{
  display:block;
  color:var(--app-primary);
  font-size:.68rem;
  font-weight:850;
  text-transform:uppercase;
}
.pos-panel-head h6,.pos-catalog-head h6{margin:2px 0 0;font-size:1rem;font-weight:850}
.pos-count-badge{
  min-width:64px;
  padding:7px 9px;
  border-radius:999px;
  background:#eaf2ff;
  color:var(--app-primary);
  text-align:center;
  font-size:.76rem;
  font-weight:850;
}
.pos-cart-list{
  min-height:148px;
  max-height:330px;
  overflow:auto;
  padding:10px;
}
.pos-cart-line{
  position:relative;
  padding:10px;
  gap:10px;
  box-shadow:none;
}
.pos-cart-copy{min-width:0;overflow-wrap:anywhere}
.pos-cart-copy>b{display:block;margin-bottom:3px;font-size:.9rem}
.pos-cart-copy .small{font-size:.75rem;line-height:1.45}
.pos-cart-controls{
  flex:0 0 auto;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:7px;
}
.pos-cart-controls>b{font-size:.9rem;color:#18212f}
.pos-qty-control{
  height:29px;
  display:grid;
  grid-template-columns:28px 30px 28px;
  align-items:center;
  border:1px solid var(--app-border);
  border-radius:7px;
  overflow:hidden;
  background:#fff;
}
.pos-qty-control button{
  height:100%;
  border:0;
  background:#f1f4f8;
  color:#344054;
  font-size:.68rem;
}
.pos-qty-control button:hover{background:#e4ecf7;color:var(--app-primary)}
.pos-qty-control span{text-align:center;font-size:.78rem;font-weight:850}
.pos-remove-line{
  width:29px;
  height:29px;
  border:1px solid #f1b7b7;
  border-radius:7px;
  background:#fff5f5;
  color:var(--app-danger);
  font-size:.72rem;
}
.pos-remove-line:hover{background:var(--app-danger);color:#fff}
.pos-ticket-panel .sale-cart-total{
  margin:0 10px 12px;
  padding:12px;
  background:#eef5ff;
}
.pos-ticket-panel .sale-cart-total b{font-size:1.55rem}
.pos-open-order-area{
  margin:0 10px 12px;
  padding:12px;
  border:1px solid #b9d0fa;
  border-radius:8px;
  background:#f3f7ff;
}
.pos-open-order-area>div{
  display:flex;
  align-items:center;
  gap:10px;
}
.pos-open-order-area i{
  width:38px;
  height:38px;
  flex:0 0 38px;
  border-radius:8px;
  background:#dceaff;
  color:var(--app-primary);
  display:grid;
  place-items:center;
}
.pos-open-order-area span{display:flex;min-width:0;flex-direction:column}
.pos-open-order-area b{color:#1f3c68;font-size:.85rem}
.pos-open-order-area small{color:#64748b;font-size:.72rem;line-height:1.4}
.pos-payment-area{
  padding:12px;
  border-top:1px solid var(--app-border);
  background:#fff;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.pos-payment-area .discount-builder{margin:0}
.pos-subsection-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.pos-subsection-head>div{display:flex;flex-direction:column}
.pos-subsection-head b{display:flex;align-items:center;gap:6px;font-size:.86rem}
.pos-subsection-head small{color:var(--app-muted);font-size:.7rem}
.pos-icon-button{width:34px;height:34px;padding:0;display:grid;place-items:center}
.pos-payment-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.pos-payment-shortcuts .btn{display:flex;align-items:center;justify-content:center;gap:6px}
.pos-payment-area .payment-row{padding:8px}
.pos-payment-area .payment-summary{margin:0;padding-top:10px}
.pos-payment-state{
  margin-top:4px;
  padding-top:8px;
  border-top:1px dashed var(--app-border);
}
#paymentState{color:var(--app-warning)}
#paymentState[data-state="Ödendi"]{color:var(--app-success)}
#paymentState[data-state="Kısmi"]{color:#b45309}
#paymentState[data-state="Fazla ödeme"]{color:var(--app-danger)}
.pos-save-sale{
  width:100%;
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-size:.96rem;
  font-weight:850;
}
.pos-submit-area{
  padding:0 12px 12px;
  background:#fff;
}
.pos-payment-area + .pos-submit-area{padding-top:0}

.pos-catalog-panel{
  grid-area:catalog;
  min-height:720px;
  overflow:hidden;
}
.pos-catalog-head{background:#fff}
.pos-product-search{
  width:min(390px,52%);
  position:relative;
  display:grid;
  grid-template-columns:1fr 42px;
  gap:6px;
}
.pos-product-search>i{
  position:absolute;
  left:13px;
  top:50%;
  transform:translateY(-50%);
  color:#8793a5;
  z-index:1;
}
.pos-product-search .form-control{padding-left:36px;min-height:42px}
.pos-product-search .btn{width:42px;padding:0;display:grid;place-items:center}
.pos-product-grid{
  grid-template-columns:repeat(auto-fill,minmax(170px,1fr));
  gap:10px;
  padding:12px;
}
.pos-product-card{
  min-height:216px;
  padding:0;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  border-color:#dfe5ed;
}
.pos-product-card:hover:not(:disabled){
  transform:translateY(-2px);
  border-color:#8bb3f7;
  box-shadow:0 10px 20px rgba(31,111,235,.12);
}
.pos-product-visual{
  position:relative;
  width:100%;
  height:auto;
  aspect-ratio:1 / 1;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:#eef2f7;
  color:#8290a4;
}
.pos-product-visual>img{display:block;width:100%;height:100%;object-fit:cover}
.pos-product-visual>i{font-size:2rem}
.pos-product-visual>small{
  position:absolute;
  left:7px;
  top:7px;
  padding:5px 7px;
  border-radius:6px;
  color:#fff;
  background:rgba(24,33,47,.82);
  font-size:.65rem;
  font-weight:800;
}
.pos-product-info{
  width:100%;
  min-height:94px;
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:3px;
  text-align:left;
}
.pos-product-info>b{font-size:.9rem;line-height:1.2}
.pos-product-info>small{color:var(--app-muted);font-size:.71rem}
.pos-product-info>span{
  margin-top:auto;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:6px;
}
.pos-product-info strong{color:var(--app-primary);font-size:.91rem}
.pos-product-info em{
  color:var(--app-success);
  font-size:.65rem;
  font-style:normal;
  font-weight:800;
}
.pos-product-info em.is-out{color:var(--app-danger)}
.pos-catalog-panel>#productFilterEmpty{margin:12px}

.pos-category-panel{
  grid-area:categories;
  overflow:hidden;
  position:sticky;
  top:80px;
  z-index:1020;
  box-shadow:0 8px 24px rgba(31,43,61,.08);
}
.pos-category-head{
  min-height:72px;
  padding:13px;
  display:flex;
  align-items:center;
  gap:9px;
  border-bottom:1px solid var(--app-border);
  background:#fbfcfe;
}
.pos-category-head>i{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:#eaf2ff;
  color:var(--app-primary);
}
.pos-category-head div{display:flex;flex-direction:column}
.pos-category-head small{color:var(--app-muted);font-size:.67rem}
.pos-category-head b{font-size:.88rem}
.pos-category-scroller{
  min-width:0;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) 42px;
  align-items:stretch;
  background:#fff;
}
.pos-category-list{
  display:flex;
  flex-direction:row;
  min-width:0;
  padding:8px 4px;
  gap:5px;
  overflow-x:auto;
  scrollbar-width:none;
  overscroll-behavior-inline:contain;
}
.pos-category-list::-webkit-scrollbar{display:none}
.pos-category-arrow{
  width:42px;
  min-height:61px;
  padding:0;
  border:0;
  background:#fff;
  color:#5d6b7d;
  display:grid;
  place-items:center;
}
.pos-category-arrow.is-left{border-right:1px solid #edf1f5}
.pos-category-arrow.is-right{border-left:1px solid #edf1f5}
.pos-category-arrow:hover:not(:disabled){background:#eef5ff;color:var(--app-primary)}
.pos-category-arrow:disabled{color:#c7ced8;background:#fafbfd;cursor:default}
.pos-category{
  width:auto;
  min-width:max-content;
  min-height:45px;
  border:1px solid transparent;
  border-radius:8px;
  padding:8px 9px;
  background:#fff;
  color:#4b596d;
  display:flex;
  align-items:center;
  gap:7px;
  text-align:left;
  font-size:.78rem;
  font-weight:800;
}
.pos-category i{width:15px;text-align:center;color:#94a0b2}
.pos-category:hover{background:#f3f7fc;color:var(--app-primary)}
.pos-category.is-active{background:#1f6feb;color:#fff}
.pos-category.is-active i{color:#fff}

@media (min-width:992px){
  .pos-ticket-panel{
    position:sticky;
    top:80px;
    max-height:calc(100vh - 94px);
    overflow-y:auto;
    scrollbar-width:thin;
  }
}

@media (max-width:1500px){
  .pos-workspace{grid-template-columns:minmax(500px,1fr) minmax(310px,350px)}
  .pos-product-grid{grid-template-columns:repeat(auto-fill,minmax(155px,1fr))}
}
@media (max-width:1450px){
  .pos-appbar{grid-template-columns:minmax(165px,190px) minmax(0,1fr) auto;gap:8px;padding-left:10px;padding-right:10px}
  .pos-appbar-brand img{width:96px;max-width:96px}
  .pos-appbar-switch a{padding-left:10px;padding-right:10px}
  .pos-appbar-user{display:none}
}
@media (max-width:1250px){
  .pos-appbar-actions .btn{width:42px;padding:0;justify-content:center}
  .pos-appbar-actions .btn span{display:none}
}
@media (max-width:1250px){
  .pos-order-context{grid-template-columns:repeat(3,minmax(0,1fr))}
  .pos-context-title{grid-column:1/-1}
  .pos-workspace{
    grid-template-columns:minmax(430px,1fr) minmax(300px,340px);
    grid-template-areas:
      "categories ticket"
      "catalog ticket";
  }
}
@media (max-width:991px){
  .pos-appbar{grid-template-columns:auto minmax(0,1fr) auto}
  .pos-appbar-brand>span:last-child,.pos-appbar-user{display:none}
  .pos-appbar-brand img{width:94px;max-width:94px}
  .pos-appbar-switch{justify-content:flex-start}
  .pos-appbar-actions .btn span{display:none}
  .pos-appbar-actions .btn{width:42px;padding:0;justify-content:center}
  .pos-commandbar{align-items:stretch;flex-direction:column}
  .pos-commandbar-actions{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;padding-bottom:2px;scrollbar-width:thin}
  .pos-commandbar-actions .btn{flex:0 0 auto}
  .pos-workspace{
    grid-template-columns:1fr;
    grid-template-areas:
      "categories"
      "catalog"
      "ticket";
  }
  .pos-category-panel{top:68px}
  .pos-catalog-panel{min-height:620px}
}
@media (max-width:767px){
  .workspace-fullscreen-launch{width:40px;min-height:38px;padding:0}
  .workspace-fullscreen-launch span{display:none}
  .pos-appbar{
    min-height:60px;
    padding:7px 8px;
    grid-template-columns:74px minmax(0,1fr) 38px;
    gap:5px;
  }
  .pos-appbar-brand img{width:72px;max-width:72px;height:34px}
  .pos-appbar-switch a{min-height:40px;padding:0 10px}
  .pos-appbar-switch a span{display:none}
  .pos-appbar-switch a i{font-size:.9rem}
  .pos-appbar-actions .btn{width:38px;min-height:38px}
  .pos-fullscreen-main{padding:8px 8px 18px}
  .workspace-native-frame{height:calc(100vh - 60px)}
  .workspace-embedded-main{padding:8px 8px 18px}
  .pos-fullscreen-main .pos-page-head{padding:10px}
  .pos-commandbar-copy small{display:none}
  .pos-commandbar-actions .btn span{display:none}
  .pos-commandbar-actions .btn{width:42px;padding:0}
  .pos-page-status{width:100%;justify-content:space-between}
  .pos-order-context{grid-template-columns:1fr}
  .pos-flow-selector{grid-template-columns:1fr}
  .pos-context-title{grid-column:auto}
  .pos-workspace{
    grid-template-columns:1fr;
    grid-template-areas:
      "categories"
      "catalog"
      "ticket";
  }
  .pos-category-panel{display:block}
  .pos-category-panel{top:60px}
  .pos-category-head{min-height:48px;padding:8px 10px;border-right:0;border-bottom:1px solid var(--app-border)}
  .pos-category-head>i{width:30px;height:30px}
  .pos-category-list{flex-direction:row}
  .pos-category-scroller{grid-template-columns:38px minmax(0,1fr) 38px}
  .pos-category-arrow{width:38px;min-height:57px}
  .pos-catalog-head{align-items:stretch;flex-direction:column}
  .pos-product-search{width:100%}
  .pos-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:8px}
  .pos-product-card{min-height:198px}
}

.pos-customer-modal .modal-header{align-items:flex-start}
.pos-customer-modal .modal-title{margin-top:2px;font-weight:850}
.pos-customer-tabs{
  margin-bottom:16px;
  padding:5px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:5px;
  border-radius:10px;
  background:#eef2f6;
}
.pos-customer-tabs button{
  min-height:42px;
  border:0;
  border-radius:8px;
  background:transparent;
  color:#617084;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:.8rem;
  font-weight:850;
}
.pos-customer-tabs button.is-active{background:#fff;color:var(--app-primary);box-shadow:0 3px 10px rgba(31,43,61,.09)}
.pos-customer-search{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 72px;
  gap:7px;
  margin-bottom:12px;
}
.pos-customer-search>i{
  position:absolute;
  left:14px;
  top:50%;
  z-index:1;
  color:#8793a5;
  transform:translateY(-50%);
}
.pos-customer-search .form-control{min-height:46px;padding-left:39px}
.pos-customer-results{display:grid;gap:8px;min-height:120px}
.pos-customer-result{
  min-width:0;
  padding:10px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto 62px;
  align-items:center;
  gap:10px;
  border:1px solid #e0e7ef;
  border-radius:10px;
  background:#fff;
}
.pos-customer-avatar{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#eaf2ff;
  color:var(--app-primary);
  font-weight:900;
}
.pos-customer-result>div{display:flex;min-width:0;flex-direction:column}
.pos-customer-result b{font-size:.84rem}
.pos-customer-result small,.pos-customer-result em{color:#6b788b;font-size:.68rem;font-style:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pos-customer-result small i{margin-right:5px}
.pos-customer-spend{color:#11734f;font-size:.78rem;font-weight:900;white-space:nowrap}
.pos-customer-result .btn{min-height:36px;display:inline-flex;align-items:center;justify-content:center}
.pos-customer-form-note{
  margin-top:14px;
  padding:10px 12px;
  border:1px solid #cfe0f7;
  border-radius:9px;
  background:#f4f8ff;
  color:#526276;
  font-size:.72rem;
}
.pos-customer-form-note i{margin-right:6px;color:var(--app-primary)}
.account-existing-customer{display:flex;gap:1rem;margin:1.1rem 0;padding:1.15rem;border:1px solid #b7d8ca;border-radius:18px;background:var(--ca-soft,#f1f7f4)}
.account-existing-customer__icon{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;border-radius:15px;background:var(--ca-primary,#176b4d);color:#fff;font-size:1.15rem}
.account-existing-customer h2{margin:0 0 .35rem;font-size:1.1rem}
.account-existing-customer p{margin:0 0 .75rem}
.account-existing-customer__destinations{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:.75rem}
.account-existing-customer__destinations span{display:inline-flex;align-items:center;gap:.4rem;padding:.45rem .65rem;border:1px solid var(--ca-border,#dbe4e1);border-radius:10px;background:#fff;font-weight:700}
.account-existing-customer__cancel{display:inline-block;margin-top:.75rem;font-size:.86rem;font-weight:700}
@media(max-width:767px){
  .pos-customer-result{grid-template-columns:38px minmax(0,1fr) 58px}
  .pos-customer-avatar{width:38px;height:38px}
  .pos-customer-spend{grid-column:2}
  .pos-customer-result .btn{grid-column:3;grid-row:1/3}
  .account-existing-customer{align-items:flex-start;padding:1rem}
}
@media (max-width:420px){
  .pos-product-grid{grid-template-columns:1fr}
  .pos-product-card{min-height:0}
}

/* Paket servis POS ve teslimat bolgesi yonetimi */
.package-order-context{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px;margin-bottom:12px;border:1px solid var(--app-border);border-radius:8px;background:#fff;box-shadow:var(--app-shadow)}
.package-customer-lookup{grid-column:1/-1;display:flex;align-items:center;min-height:40px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc;color:#475569;font-size:.9rem;font-weight:700}
.package-customer-lookup.is-loading{border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8}
.package-customer-lookup.is-found{border-color:#a7f3d0;background:#ecfdf5;color:#047857}
.package-customer-lookup.is-new{border-color:#fde68a;background:#fffbeb;color:#92400e}
.package-customer-history{grid-column:1/-1;padding:10px 12px;border:1px solid #dbe5f1;border-radius:10px;background:#fff}
.package-customer-history>b{display:block;margin-bottom:7px;color:#334155;font-size:.78rem;text-transform:uppercase;letter-spacing:.04em}
.package-customer-history>div{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}
.package-customer-history span{display:flex;min-width:180px;flex-direction:column;padding:8px 10px;border-radius:9px;background:#f8fafc;color:#172033}
.package-customer-history small{color:#64748b;font-size:.74rem}
.package-order-context .pos-context-title{grid-column:1/-1}
.package-context-wide{grid-column:span 2}
.package-total-breakdown{margin:0 10px 10px;padding:10px 12px;border:1px solid var(--app-border);border-radius:8px;background:#fbfcfe}
.package-total-breakdown>div{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-size:.8rem}
.package-total-breakdown>div:last-child{margin-top:4px;padding-top:8px;border-top:1px dashed var(--app-border);font-size:.95rem}
.package-zone-shortcut{margin:0 10px 12px;padding:10px;border-radius:8px;background:#fff8e8;border:1px solid #f5d88c;font-size:.76rem}
.package-zone-shortcut a{font-weight:800}
.package-zone-icon{width:44px;height:44px;display:grid;place-items:center;border-radius:10px;background:#eaf2ff;color:var(--app-primary);font-size:1.1rem}
.package-zone-list{display:flex;flex-direction:column;gap:10px}
.package-zone-row{display:grid;grid-template-columns:minmax(150px,1.3fr) repeat(3,minmax(105px,.8fr)) 70px 92px;gap:9px;align-items:end;padding:12px;border:1px solid var(--app-border);border-radius:9px;background:#fff}
.package-zone-row.is-passive{background:#f7f8fa;opacity:.78}
.package-zone-row label>span{display:block;margin-bottom:4px;color:var(--app-muted);font-size:.68rem;font-weight:800}
.package-zone-name{display:flex;align-items:center;gap:7px}
.package-zone-name>i{color:var(--app-primary)}
.package-zone-active{align-self:center;margin:18px 0 0}
.package-zone-shell{width:100%;max-width:1480px;margin:0 auto}
.package-zone-create{position:sticky;top:126px;padding:18px}
.package-zone-manage{padding:18px;min-height:420px}
.package-count-pill,.package-button-count{display:inline-grid;place-items:center;min-width:30px;height:30px;padding:0 9px;border-radius:999px;background:#f1f4f8;color:#18212f;font-size:.72rem;font-weight:900;white-space:nowrap}
.package-button-count{min-width:24px;height:24px;padding:0 7px;background:#eef4ff;color:var(--app-primary)}
.package-zone-empty,.package-list-empty{min-height:250px;padding:34px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:1px dashed #b8c3d1;border-radius:9px;background:#f7f9fc;text-align:center;color:var(--app-muted)}
.package-zone-empty>i,.package-list-empty>i{width:48px;height:48px;display:grid;place-items:center;border-radius:50%;background:#eaf2ff;color:var(--app-primary);font-size:1.15rem}
.package-zone-empty>b,.package-list-empty>b{color:#445166;font-size:1rem}.package-zone-empty>span,.package-list-empty>span{max-width:480px;font-size:.82rem}
.package-page-shell{width:100%;min-width:0;overflow:clip}
.package-metric-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}
.package-metric-card{min-width:0;display:grid;grid-template-columns:40px minmax(0,1fr);grid-template-rows:auto auto;gap:0 10px;align-items:center;padding:13px;border:1px solid var(--app-border);border-radius:9px;background:#fff;box-shadow:var(--app-shadow);color:inherit;text-decoration:none}
.package-metric-card>span{grid-row:1/3;width:40px;height:40px;display:grid;place-items:center;border-radius:9px;background:#f2f5f9;font-size:1rem}
.package-metric-card>b{font-size:1.25rem;line-height:1.1}.package-metric-card>small{color:var(--app-muted);font-weight:700}
.package-metric-card:hover{border-color:#9bbcf8;transform:translateY(-1px)}
.package-filter-bar{padding:14px}
.package-today-summary{display:flex;gap:8px;flex-wrap:wrap}.package-today-summary>span{padding:6px 9px;border-radius:7px;background:#f1f5f9;font-size:.75rem}
.package-order-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.package-order-card{display:flex;flex-direction:column;gap:13px;padding:15px;border:1px solid var(--app-border);border-top:4px solid #94a3b8;border-radius:10px;background:#fff;box-shadow:var(--app-shadow)}
.package-order-card.status-new{border-top-color:var(--app-danger)}.package-order-card.status-confirmed{border-top-color:var(--app-primary)}.package-order-card.status-preparing{border-top-color:var(--app-warning)}.package-order-card.status-ready{border-top-color:var(--app-success)}.package-order-card.status-out_for_delivery{border-top-color:#0dcaf0}
.package-order-card-head,.package-order-card-foot{display:flex;align-items:center;justify-content:space-between;gap:12px}.package-order-card-head>div,.package-order-card-foot>div:first-child{display:flex;flex-direction:column}.package-order-number{font-weight:900}.package-order-card-head small,.package-order-card-foot small{color:var(--app-muted);font-size:.7rem}.package-order-card-foot>div:first-child>b{font-size:1.1rem;color:var(--app-primary)}
.package-customer{display:flex;align-items:center;gap:10px}.package-customer-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#eaf2ff;color:var(--app-primary)}.package-customer>div{display:flex;flex-direction:column}.package-customer a{font-size:.76rem;text-decoration:none}
.package-order-meta{display:flex;gap:6px;flex-wrap:wrap}.package-order-meta>span{display:flex;align-items:center;gap:5px;padding:5px 7px;border-radius:6px;background:#f3f5f8;color:#526174;font-size:.7rem;font-weight:750}.package-order-meta i{color:#8290a4}
.package-address{display:flex;gap:8px;min-height:42px;padding:9px;border-radius:7px;background:#fbfcfe;color:#526174;font-size:.75rem}.package-address i{margin-top:2px;color:var(--app-primary)}
.package-order-card-foot{margin-top:auto;padding-top:11px;border-top:1px solid var(--app-border)}
.package-order-card .badge{padding:6px 9px;font-size:.7rem}
.package-detail-shell{width:100%;max-width:1540px;margin:0 auto;min-width:0}
.package-detail-head{margin-bottom:14px}
.package-external-no{padding:5px 8px;border-radius:6px;background:#f1f4f8;color:var(--app-muted);font-size:.7rem;font-weight:800}
.package-detail-summary{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,.85fr);gap:12px;margin-bottom:12px}
.package-detail-card,.package-amount-card{padding:18px}
.package-detail-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:16px;padding-bottom:13px;border-bottom:1px solid var(--app-border)}
.package-detail-card-head h6,.package-amount-head h6,.package-items-head h6{margin:0;font-weight:850}.package-detail-card-head small,.package-amount-head small,.package-items-head small{color:var(--app-muted);font-size:.74rem}
.package-status-pill{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 11px;border-radius:999px;font-size:.73rem;font-weight:850;white-space:nowrap}
.package-status-pill.is-danger{background:#fff0f0;color:#b42318}.package-status-pill.is-primary{background:#eaf2ff;color:var(--app-primary)}.package-status-pill.is-warning{background:#fff5df;color:#986000}.package-status-pill.is-success{background:#eaf8ef;color:var(--app-success)}.package-status-pill.is-info{background:#e8faff;color:#087990}.package-status-pill.is-secondary{background:#f1f3f5;color:#586474}
.package-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.package-info-item{min-height:76px;padding:11px;border:1px solid #edf1f6;border-radius:8px;background:#fbfcfe;display:grid;grid-template-columns:34px minmax(0,1fr);gap:9px;align-items:start}
.package-info-item>i{width:34px;height:34px;display:grid;place-items:center;border-radius:8px;background:#eaf2ff;color:var(--app-primary)}
.package-info-item>span{display:flex;flex-direction:column;min-width:0}.package-info-item small{color:var(--app-muted);font-size:.68rem;font-weight:800}.package-info-item b{font-size:.84rem;overflow-wrap:anywhere}.package-info-item a,.package-info-item em{color:var(--app-primary);font-size:.73rem;font-style:normal;text-decoration:none}.package-info-item.is-wide{grid-column:1/-1;min-height:62px}.package-info-item.is-note>i{background:#fff5df;color:#986000}
.package-amount-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}.package-amount-head>span{width:40px;height:40px;display:grid;place-items:center;border-radius:9px;background:#eaf8ef;color:var(--app-success)}.package-amount-head>div{display:flex;flex-direction:column}
.package-amount-lines{display:flex;flex-direction:column}.package-amount-lines>div{display:flex;justify-content:space-between;gap:12px;padding:9px 0;border-bottom:1px solid #edf1f6;font-size:.82rem}.package-amount-lines>div:last-child{border-bottom:0}.package-amount-lines .is-total{margin-top:4px;padding:13px 0;font-size:1rem}.package-amount-lines .is-total b{font-size:1.25rem;color:var(--app-primary)}.package-amount-lines .is-paid{color:var(--app-success)}.package-amount-lines .is-remaining{color:var(--app-danger)}
.package-action-panel{min-height:72px;margin-bottom:12px;padding:12px 14px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.package-action-copy{display:flex;align-items:center;gap:9px;flex:0 0 auto}.package-action-copy>span{width:38px;height:38px;display:grid;place-items:center;border-radius:8px;background:#fff5df;color:#986000}.package-action-copy>div{display:flex;flex-direction:column}.package-action-copy b{font-size:.84rem}.package-action-copy small{color:var(--app-muted);font-size:.68rem}
.package-action-buttons{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.package-action-buttons form{margin:0}.package-action-buttons .btn-primary span{display:inline-grid;place-items:center;min-width:22px;height:22px;margin-left:5px;border-radius:999px;background:#fff;color:var(--app-primary);font-size:.68rem}.package-courier-form,.package-close-form{display:flex;gap:7px}.package-courier-form .form-control{width:180px}.package-close-form .form-select{width:135px}.package-action-wait{color:var(--app-muted);font-size:.76rem}
.package-payment-locked{min-width:150px;display:flex;align-items:center;gap:9px;padding:7px 11px;border:1px solid #abd9bf;border-radius:9px;background:#edf9f2;color:#176b42}.package-payment-locked>i{width:28px;height:28px;border-radius:8px;background:#d8f1e3;display:grid;place-items:center}.package-payment-locked>span{display:flex;flex-direction:column;line-height:1.1}.package-payment-locked small{font-size:.62rem;text-transform:uppercase;letter-spacing:.04em}.package-payment-locked b{font-size:.78rem}
.package-items-panel{margin-bottom:12px;overflow:hidden}.package-items-head{min-height:70px;padding:14px 16px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--app-border);background:#fbfcfe}.package-items-head>div{display:flex;flex-direction:column}
.package-items-table{margin:0}.package-items-table th{padding:11px 14px}.package-items-table td{padding:13px 14px}.package-items-table tbody tr:last-child td{border-bottom:0}.package-items-table tr.is-canceled{opacity:.6;background:#f8f9fa}
.package-product-cell{min-width:260px;display:flex;flex-direction:column;gap:2px}.package-product-cell>b{font-size:.86rem}.package-product-cell>span{color:var(--app-muted);font-size:.72rem}.package-product-cell>em{color:var(--app-primary);font-size:.7rem;font-style:normal}
.package-item-status{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 9px;border-radius:999px;font-size:.68rem;font-weight:850;white-space:nowrap}.package-item-status.is-pending{background:#f1f3f5;color:#505b6b}.package-item-status.is-new,.package-item-status.is-confirmed{background:#eaf2ff;color:var(--app-primary)}.package-item-status.is-preparing{background:#fff5df;color:#986000}.package-item-status.is-ready,.package-item-status.is-served{background:#eaf8ef;color:var(--app-success)}.package-item-status.is-canceled{background:#fff0f0;color:var(--app-danger)}
.package-item-actions{display:flex;align-items:center;justify-content:flex-end;gap:6px;flex-wrap:wrap}.package-item-actions form{margin:0}.package-cancel-row{flex-basis:100%;margin-top:6px}.package-cancel-row form{display:flex;justify-content:flex-end;gap:5px}.package-cancel-row .form-control{width:180px}
.package-danger-accordion{margin-bottom:12px}.package-danger-accordion .accordion-item{border-color:#f2c2c2}
@media(max-width:1250px){.package-order-context{grid-template-columns:repeat(3,minmax(0,1fr))}.package-zone-row{grid-template-columns:repeat(3,1fr)}.package-zone-name{grid-column:1/-1}}
@media(max-width:1250px){.package-order-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.package-metric-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1050px){.package-detail-summary{grid-template-columns:1fr}.package-action-panel{align-items:flex-start;flex-direction:column}.package-action-buttons{width:100%;justify-content:flex-start}}
@media(max-width:767px){.package-order-context{grid-template-columns:1fr}.package-order-context .pos-context-title,.package-context-wide{grid-column:auto}.package-zone-row{grid-template-columns:1fr 1fr}.package-zone-name{grid-column:1/-1}.package-zone-create{position:static}.package-zone-manage{min-height:300px}.package-order-grid{grid-template-columns:1fr}.package-today-summary{width:100%;margin-top:8px}.package-info-grid{grid-template-columns:1fr}.package-info-item.is-wide{grid-column:auto}.package-action-buttons,.package-courier-form,.package-close-form{align-items:stretch;flex-direction:column}.package-courier-form .form-control,.package-close-form .form-select{width:100%}.package-items-table{min-width:760px}}
@media(max-width:560px){.package-metric-grid{grid-template-columns:repeat(2,1fr)}.package-order-card-foot{align-items:flex-end}.package-order-card-foot>div:last-child{flex-direction:column;align-items:flex-end!important}}
@media(max-width:480px){.package-zone-row{grid-template-columns:1fr}.package-zone-name{grid-column:auto}}

/* Görsel masa planı */
.floor-page-head{margin-bottom:14px}
.floor-create-band{
  border:1px solid #cfe0ff;
  border-radius:8px;
  background:#f6f9ff;
  padding:14px;
  display:grid;
  grid-template-columns:minmax(220px,.7fr) minmax(560px,1.8fr);
  gap:18px;
  align-items:center;
}
.floor-create-copy{display:flex;align-items:center;gap:11px}
.floor-create-copy>i{
  width:42px;height:42px;border-radius:8px;display:grid;place-items:center;
  background:var(--app-primary);color:#fff;
}
.floor-create-copy>div{display:flex;flex-direction:column}
.floor-create-copy small{color:var(--app-muted);font-size:.76rem}
.floor-create-form{
  display:grid;
  grid-template-columns:.55fr 1fr 1fr .55fr auto;
  gap:8px;
}
.floor-create-form .form-control,.floor-create-form .btn{min-height:42px}
.floor-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin-bottom:12px;
}
.floor-summary-item{
  min-height:72px;
  border:1px solid var(--app-border);
  border-left:4px solid #94a3b8;
  border-radius:8px;
  background:#fff;
  padding:12px 14px;
  display:grid;
  grid-template-columns:34px 1fr auto;
  align-items:center;
  gap:10px;
  box-shadow:0 6px 18px rgba(24,33,47,.04);
}
.floor-summary-item>i{
  width:34px;height:34px;border-radius:8px;display:grid;place-items:center;
  background:#f1f4f8;color:#667085;
}
.floor-summary-item span{color:var(--app-muted);font-size:.8rem;font-weight:750}
.floor-summary-item b{font-size:1.45rem}
.floor-summary-item.is-available{border-left-color:#22a447}
.floor-summary-item.is-available>i{background:#eaf8ef;color:#16803c}
.floor-summary-item.is-occupied{border-left-color:#1f6feb}
.floor-summary-item.is-occupied>i{background:#eaf2ff;color:#1f6feb}
.floor-summary-item.is-payment{border-left-color:#e5484d}
.floor-summary-item.is-payment>i{background:#fff0f0;color:#c92a2a}
.floor-summary-item.is-request{border-left-color:#ee9b21}
.floor-summary-item.is-request>i{background:#fff5e7;color:#a15c00}
.floor-insight-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:9px;
  margin-bottom:10px;
}
.floor-insight-strip>div{
  min-height:54px;
  padding:10px 12px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
}
.floor-insight-strip span{color:var(--app-muted);font-size:.7rem;font-weight:850}
.floor-insight-strip b{font-size:1.02rem}
.floor-legend{
  display:flex;
  flex-wrap:wrap;
  gap:9px 16px;
  margin-bottom:18px;
  padding:8px 0;
  color:#59677a;
  font-size:.76rem;
  font-weight:750;
}
.floor-control-bar{
  margin-bottom:15px;
  display:grid;
  grid-template-columns:minmax(240px,1fr) auto;
  align-items:center;
  gap:10px;
}
.floor-search{position:relative}
.floor-search>i{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  color:#8a94a4;
  pointer-events:none;
}
.floor-search .form-control{min-height:42px;padding-left:38px}
.floor-filter-buttons{
  display:flex;
  align-items:center;
  gap:6px;
  overflow-x:auto;
}
.floor-filter-buttons button{
  min-height:38px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  color:#4b596d;
  padding:7px 10px;
  white-space:nowrap;
  font-size:.74rem;
  font-weight:850;
}
.floor-filter-buttons button:hover{border-color:#9bbcf8;color:var(--app-primary);background:#f5f8ff}
.floor-filter-buttons button.is-active{border-color:var(--app-primary);background:var(--app-primary);color:#fff}
.floor-legend span{display:inline-flex;align-items:center;gap:6px}
.floor-legend i{width:9px;height:9px;border-radius:50%;background:#94a3b8}
.floor-legend i.is-available{background:#22a447}
.floor-legend i.is-occupied{background:#1f6feb}
.floor-legend i.is-payment{background:#e5484d}
.floor-legend i.is-reserved{background:#d99a16}
.floor-legend i.is-cleaning{background:#0891b2}
.floor-legend i.is-disabled{background:#7b8494}
.floor-area-tabs{
  margin:-4px 0 14px;
  display:flex;
  align-items:center;
  gap:8px;
  overflow-x:auto;
  padding-bottom:4px;
}
.floor-area-tabs button{
  min-width:132px;
  min-height:44px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  color:#465568;
  padding:8px 10px;
  display:grid;
  grid-template-columns:22px minmax(0,1fr) auto;
  align-items:center;
  gap:7px;
  text-align:left;
  white-space:nowrap;
  box-shadow:0 4px 14px rgba(24,33,47,.035);
}
.floor-area-tabs button i{color:#8a94a4}
.floor-area-tabs button span{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  font-size:.75rem;
  font-weight:850;
}
.floor-area-tabs button b{
  min-width:26px;
  height:24px;
  border-radius:999px;
  background:#eef2f7;
  color:#344054;
  display:grid;
  place-items:center;
  padding:0 6px;
  font-size:.7rem;
}
.floor-area-tabs button:hover{border-color:#9bbcf8;background:#f7fbff;color:var(--app-primary)}
.floor-area-tabs button.is-active{border-color:var(--app-primary);background:#f1f6ff;color:var(--app-primary)}
.floor-area-tabs button.is-active i{color:var(--app-primary)}
.floor-area-tabs button.is-active b{background:var(--app-primary);color:#fff}
.floor-result-strip{
  margin:-5px 0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:#59677a;
  font-size:.76rem;
  font-weight:800;
}
.floor-result-strip span{
  display:inline-flex;
  align-items:center;
  gap:7px;
}
.floor-result-strip b{color:#111827;font-size:.9rem}
.floor-result-strip button{
  min-height:32px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  color:#465568;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:5px 9px;
  font-size:.72rem;
  font-weight:850;
}
.floor-result-strip button:hover{border-color:#9bbcf8;background:#f5f8ff;color:var(--app-primary)}
.floor-plan{display:flex;flex-direction:column;gap:20px}
.floor-area{
  padding:0;
  border-top:1px solid var(--app-border);
}
.floor-area-head{
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.floor-area-head>div{display:flex;align-items:center;gap:8px}
.floor-area-head i{color:var(--app-primary)}
.floor-area-head h5{margin:0;font-size:1rem;font-weight:850}
.floor-area-head>span{
  padding:5px 8px;border-radius:999px;background:#f1f4f8;
  color:var(--app-muted);font-size:.72rem;font-weight:800;
}
.table-floor-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(270px,1fr));
  gap:12px;
}
.table-floor-card{
  --table-state:#7b8494;
  border:1px solid var(--app-border);
  border-top:4px solid var(--table-state);
  border-radius:8px;
  background:#fff;
  box-shadow:0 8px 22px rgba(24,33,47,.055);
  overflow:hidden;
  transition:transform .12s ease,box-shadow .12s ease;
}
.table-floor-card:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(24,33,47,.09)}
.table-floor-card.is-available{--table-state:#22a447}
.table-floor-card.is-occupied{--table-state:#1f6feb}
.table-floor-card.is-payment{--table-state:#e5484d}
.table-floor-card.is-reserved{--table-state:#d99a16}
.table-floor-card.is-cleaning{--table-state:#0891b2}
.table-floor-card.is-disabled{--table-state:#7b8494;background:#f7f8fa}
.table-floor-card.has-request{box-shadow:0 0 0 2px rgba(238,155,33,.22),0 10px 24px rgba(24,33,47,.08)}
.table-floor-top{
  min-height:82px;
  padding:13px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.table-shape{
  position:relative;
  width:132px;
  min-height:54px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.table-shape>div{
  position:relative;
  z-index:1;
  width:94px;
  min-height:52px;
  padding:7px;
  border:2px solid color-mix(in srgb,var(--table-state) 55%,white);
  border-radius:8px;
  background:color-mix(in srgb,var(--table-state) 8%,white);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.table-shape small{color:var(--table-state);font-size:.62rem;font-weight:900}
.table-shape b{max-width:82px;font-size:.82rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.table-shape>.fa-chair{position:absolute;color:var(--table-state);font-size:.82rem}
.table-shape>.chair-one{left:1px;transform:rotate(90deg)}
.table-shape>.chair-two{right:1px;transform:rotate(-90deg)}
.table-state-pill{
  padding:6px 8px;
  border:1px solid color-mix(in srgb,var(--table-state) 32%,white);
  border-radius:999px;
  background:color-mix(in srgb,var(--table-state) 8%,white);
  color:var(--table-state);
  display:inline-flex;
  align-items:center;
  gap:5px;
  font-size:.69rem;
  font-weight:850;
  white-space:nowrap;
}
.table-request-alert{
  margin:0 12px 10px;
  padding:8px 9px;
  border:1px solid #f2cf93;
  border-radius:7px;
  background:#fff8eb;
  color:#925b08;
  display:grid;
  grid-template-columns:20px 1fr auto;
  align-items:center;
  gap:6px;
  font-size:.76rem;
  font-weight:800;
}
.table-request-alert b{
  min-width:23px;height:23px;padding:0 5px;border-radius:999px;
  background:#d97706;color:#fff;display:grid;place-items:center;font-size:.68rem;
}
.table-floor-metrics{
  margin:0 12px 11px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  border:1px solid var(--app-border);
  border-radius:8px;
  overflow:hidden;
}
.table-floor-metrics>div{padding:8px;text-align:center;background:#fafbfc}
.table-floor-metrics>div+div{border-left:1px solid var(--app-border)}
.table-floor-metrics small{display:block;color:var(--app-muted);font-size:.64rem;font-weight:750}
.table-floor-metrics b{
  min-height:22px;display:flex;align-items:center;justify-content:center;gap:4px;
  font-size:.77rem;white-space:nowrap;
}
.table-order-info,.table-menu-link{
  min-height:50px;
  margin:0 12px 12px;
  border-radius:8px;
  display:flex;
  align-items:center;
  gap:9px;
}
.table-order-info{
  padding:8px 8px 8px 11px;
  border:1px solid #cfe0ff;
  background:#f4f8ff;
  justify-content:space-between;
}
.table-order-info>div{min-width:0;display:flex;flex-direction:column}
.table-order-info small{color:var(--app-muted);font-size:.66rem}
.table-order-info b{font-size:.8rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.table-order-info .btn{width:34px;height:34px;padding:0;display:grid;place-items:center}
.table-menu-link{
  padding:9px 11px;
  border:1px solid var(--app-border);
  background:#fafbfc;
  color:#4b596d;
  justify-content:center;
  text-decoration:none;
  font-size:.76rem;
  font-weight:800;
}
.table-menu-link span{flex:1;text-align:center}
.table-menu-link:hover{border-color:#9bbcf8;background:#f1f6ff;color:var(--app-primary)}
.table-floor-actions{border-top:1px solid var(--app-border)}
.table-floor-actions>summary{
  min-height:42px;
  padding:10px 12px;
  background:#fafbfc;
  color:#59677a;
  cursor:pointer;
  list-style:none;
  display:flex;
  align-items:center;
  gap:7px;
  font-size:.75rem;
  font-weight:800;
}
.table-floor-actions>summary::-webkit-details-marker{display:none}
.table-floor-actions>summary::after{content:"+";margin-left:auto;font-size:1rem}
.table-floor-actions[open]>summary::after{content:"−"}
.table-floor-actions-body{padding:11px;display:flex;flex-direction:column;gap:11px}
.table-operation-form{
  padding-bottom:10px;
  border-bottom:1px dashed var(--app-border);
  display:grid;
  grid-template-columns:1fr auto;
  gap:7px;
}
.table-operation-form label{grid-column:1/-1;display:flex;flex-direction:column;gap:4px}
.table-operation-form label>span,.table-status-form label>span{
  color:#4b596d;font-size:.69rem;font-weight:850;
}
.table-operation-form .form-control{min-width:0}
.table-edit-form{
  padding-bottom:11px;
  border-bottom:1px dashed var(--app-border);
  display:flex;
  flex-direction:column;
  gap:7px;
}
.table-edit-title{display:flex;align-items:center;gap:8px;margin-bottom:2px}
.table-edit-title>i{
  width:31px;height:31px;border-radius:7px;display:grid;place-items:center;
  background:#eaf2ff;color:var(--app-primary);font-size:.72rem;
}
.table-edit-title>div{display:flex;flex-direction:column}
.table-edit-title b{font-size:.76rem}
.table-edit-title small{color:var(--app-muted);font-size:.65rem}
.table-edit-form label{display:flex;flex-direction:column;gap:4px}
.table-edit-form label>span{color:#4b596d;font-size:.69rem;font-weight:850}
.table-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.table-status-form label{display:flex;flex-direction:column;gap:4px}
.table-status-form small{display:block;margin-top:4px;color:var(--app-muted);font-size:.67rem}
.table-qr-actions{display:flex;gap:7px;justify-content:space-between}
.table-qr-actions form{margin-left:auto}

/* Dokunmatik salon ve masa deneyimi */
.floor-page-head{
  padding:14px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:0 8px 22px rgba(24,33,47,.05);
}
.floor-page-head .btn{
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.floor-summary{
  grid-template-columns:repeat(6,minmax(0,1fr));
}
.floor-summary-item{
  min-height:84px;
  border-left-width:0;
  border-top:4px solid #94a3b8;
  padding:13px;
  grid-template-columns:42px 1fr auto;
}
.floor-summary-item>i{
  width:42px;
  height:42px;
  font-size:1.05rem;
}
.floor-summary-item span{
  font-size:.78rem;
  color:#475467;
}
.floor-summary-item b{
  font-size:1.65rem;
}
.floor-summary-item.is-occupied{
  border-top-color:#16a34a;
  background:#f0fbf4;
}
.floor-summary-item.is-occupied>i{background:#16a34a;color:#fff}
.floor-summary-item.is-reserved{border-top-color:#2563eb}
.floor-summary-item.is-reserved>i{background:#eaf2ff;color:#1d4ed8}
.floor-summary-item.is-cleaning{
  border-top-color:#f2b705;
  background:#fffaf0;
}
.floor-summary-item.is-cleaning>i{background:#fff0b8;color:#925b08}
.floor-insight-strip>div,
.floor-control-bar,
.floor-result-strip{
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
}
.floor-control-bar{
  position:sticky;
  top:74px;
  z-index:20;
  padding:10px;
  box-shadow:0 10px 26px rgba(24,33,47,.06);
}
.floor-search .form-control{
  min-height:50px;
  font-size:.95rem;
  font-weight:750;
}
.floor-filter-buttons button{
  min-height:48px;
  padding:9px 14px;
  font-size:.82rem;
}
.floor-result-strip{
  margin:-5px 0 18px;
  padding:10px 12px;
}
.floor-result-strip button{
  min-height:40px;
  padding:7px 12px;
}
.floor-board-toolbar{
  margin:-5px 0 16px;
  padding:10px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:0 8px 22px rgba(24,33,47,.045);
}
.floor-board-toolbar .floor-result-strip{
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
}
.floor-board-toolbar .floor-area-tabs{
  margin:10px 0 0;
  padding-top:10px;
  border-top:1px solid var(--app-border);
}
.floor-area-tabs button:last-child{
  margin-left:auto;
}
.floor-plan{
  padding:14px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:0 8px 24px rgba(24,33,47,.045);
}
.floor-legend{
  padding:10px 12px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
}
.floor-legend i{
  width:13px;
  height:13px;
  border-radius:4px;
}
.floor-legend i.is-available{background:#fff;border:2px solid #16a34a}
.floor-legend i.is-occupied{background:#16a34a}
.floor-legend i.is-payment{background:#dc2626}
.floor-legend i.is-reserved{background:#2563eb}
.floor-legend i.is-cleaning{background:#f2b705}
.floor-area{
  padding:14px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:0 8px 24px rgba(24,33,47,.045);
}
.floor-area-head{
  min-height:48px;
  margin-bottom:10px;
}
.floor-area-head h5{
  font-size:1.08rem;
}
.floor-area-head>span{
  min-height:32px;
  padding:7px 11px;
}
.table-floor-grid{
  grid-template-columns:repeat(auto-fill,minmax(310px,1fr));
  gap:14px;
}
.table-floor-card{
  min-height:250px;
  border-width:2px;
  border-top-width:0;
  border-left:7px solid var(--table-state);
  box-shadow:0 12px 28px rgba(24,33,47,.08);
  color:#111827;
}
.table-floor-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(24,33,47,.13);
}
.table-floor-card.is-available{
  --table-state:#16a34a;
  background:#fff;
  border-color:#b7e4c5;
  border-left-color:#16a34a;
}
.table-floor-card.is-occupied{
  --table-state:#16a34a;
  background:#16a34a;
  border-color:#15803d;
  border-left-color:#0f7a35;
  color:#fff;
}
.table-floor-card.is-payment{
  --table-state:#dc2626;
  background:#dc2626;
  border-color:#b91c1c;
  border-left-color:#7f1d1d;
  color:#fff;
}
.table-floor-card.is-reserved{
  --table-state:#2563eb;
  background:#2563eb;
  border-color:#1d4ed8;
  border-left-color:#1e40af;
  color:#fff;
}
.table-floor-card.is-cleaning{
  --table-state:#f2b705;
  background:#f2b705;
  border-color:#d99a16;
  border-left-color:#a16207;
  color:#1f2937;
}
.table-floor-card.is-disabled{
  --table-state:#64748b;
  background:#e5e7eb;
  border-color:#94a3b8;
  border-left-color:#64748b;
  color:#475467;
}
.table-floor-card.has-request{
  box-shadow:0 0 0 3px rgba(245,158,11,.42),0 14px 32px rgba(24,33,47,.12);
}
.table-floor-top{
  min-height:104px;
  padding:16px;
  align-items:center;
}
.table-shape{
  width:150px;
  min-height:72px;
}
.table-shape>div{
  width:112px;
  min-height:68px;
  border-width:2px;
  background:rgba(255,255,255,.9);
}
.table-floor-card.is-occupied .table-shape>div,
.table-floor-card.is-payment .table-shape>div,
.table-floor-card.is-reserved .table-shape>div{
  border-color:rgba(255,255,255,.72);
  background:rgba(255,255,255,.16);
}
.table-floor-card.is-occupied .table-shape small,
.table-floor-card.is-payment .table-shape small,
.table-floor-card.is-reserved .table-shape small,
.table-floor-card.is-occupied .table-shape b,
.table-floor-card.is-payment .table-shape b,
.table-floor-card.is-reserved .table-shape b,
.table-floor-card.is-occupied .table-shape>.fa-chair,
.table-floor-card.is-payment .table-shape>.fa-chair,
.table-floor-card.is-reserved .table-shape>.fa-chair{
  color:#fff;
}
.table-floor-card.is-occupied .table-floor-metrics,
.table-floor-card.is-payment .table-floor-metrics,
.table-floor-card.is-reserved .table-floor-metrics,
.table-floor-card.is-cleaning .table-floor-metrics,
.table-floor-card.is-occupied .table-order-info,
.table-floor-card.is-payment .table-order-info,
.table-floor-card.is-reserved .table-order-info,
.table-floor-card.is-cleaning .table-order-info,
.table-floor-card.is-occupied .table-floor-actions>summary,
.table-floor-card.is-payment .table-floor-actions>summary,
.table-floor-card.is-reserved .table-floor-actions>summary,
.table-floor-card.is-cleaning .table-floor-actions>summary{
  color:#101828;
}
.table-floor-card.is-occupied .table-order-info small,
.table-floor-card.is-payment .table-order-info small,
.table-floor-card.is-reserved .table-order-info small,
.table-floor-card.is-cleaning .table-order-info small{
  color:#667085;
}
.table-floor-card.is-occupied .table-order-info b,
.table-floor-card.is-payment .table-order-info b,
.table-floor-card.is-reserved .table-order-info b,
.table-floor-card.is-cleaning .table-order-info b{
  color:#101828;
}
.table-floor-card.is-cleaning .table-shape>div{
  border-color:rgba(31,41,55,.3);
  background:rgba(255,255,255,.72);
}
.table-shape small{
  font-size:.72rem;
}
.table-shape b{
  max-width:96px;
  font-size:1.02rem;
}
.table-shape>.fa-chair{
  font-size:1rem;
}
.table-state-pill{
  min-height:40px;
  padding:9px 11px;
  border-radius:8px;
  font-size:.78rem;
  background:#fff;
  color:var(--table-state);
  border-color:rgba(255,255,255,.72);
}
.table-floor-card.is-available .table-state-pill{
  background:#f0fbf4;
  border-color:#b7e4c5;
}
.table-floor-card.is-cleaning .table-state-pill{
  color:#7a4a00;
}
.table-request-alert{
  min-height:44px;
  margin:0 14px 12px;
  border-color:#f59e0b;
  background:#fff7df;
}
.table-floor-card.is-occupied .table-request-alert,
.table-floor-card.is-payment .table-request-alert,
.table-floor-card.is-reserved .table-request-alert{
  background:rgba(255,255,255,.94);
}
.table-floor-metrics{
  margin:0 14px 13px;
  border-color:rgba(17,24,39,.1);
}
.table-floor-metrics>div{
  min-height:58px;
  padding:10px 8px;
  background:rgba(255,255,255,.92);
  color:#101828;
}
.table-floor-metrics small{
  font-size:.72rem;
  color:#667085;
  font-weight:850;
}
.table-floor-metrics b{
  min-height:27px;
  font-size:.88rem;
  color:#111827;
  font-weight:900;
}
.table-order-info,.table-menu-link{
  min-height:58px;
  margin:0 14px 14px;
}
.table-order-info{
  border-color:rgba(255,255,255,.5);
  background:rgba(255,255,255,.94);
  color:#111827;
}
.table-order-info small{
  font-size:.72rem;
  color:#667085;
  font-weight:800;
}
.table-order-info b{
  font-size:.94rem;
  color:#101828;
  font-weight:900;
}
.table-order-info .btn{
  width:42px;
  height:42px;
}
.table-menu-link{
  background:#fff;
  font-size:.86rem;
}
.table-floor-actions{
  border-top-color:rgba(17,24,39,.12);
}
.table-floor-actions>summary{
  min-height:52px;
  background:rgba(255,255,255,.9);
  color:#101828;
  font-size:.84rem;
  font-weight:900;
}
.table-floor-actions-body{
  background:#fff;
  color:#101828;
}
.table-operation-form .form-control,
.table-operation-form .form-select,
.table-status-form .form-select,
.table-qr-actions .btn{
  min-height:42px;
}

@media (max-width:1100px){
  .floor-create-band{grid-template-columns:1fr}
  .floor-create-form{grid-template-columns:repeat(4,1fr) auto}
  .floor-summary{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:767px){
  .floor-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .floor-insight-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .floor-control-bar{grid-template-columns:1fr}
  .floor-filter-buttons{padding-bottom:2px}
  .floor-result-strip{align-items:stretch;flex-direction:column}
  .floor-result-strip button{justify-content:center}
  .floor-create-form{grid-template-columns:repeat(2,1fr)}
  .floor-create-form .btn{grid-column:1/-1}
  .table-floor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .floor-control-bar{top:62px}
  .table-floor-card{min-height:230px}
  .table-floor-top{padding:13px;min-height:96px;align-items:flex-start}
  .table-shape{width:128px}
}
@media (max-width:575px){
  .floor-summary{grid-template-columns:1fr}
  .floor-summary-item{min-height:60px}
  .table-floor-grid{grid-template-columns:1fr}
  .floor-page-head{align-items:stretch;flex-direction:column}
  .floor-page-head .d-flex{width:100%}
  .floor-page-head .btn{flex:1}
  .floor-area{padding:12px}
  .table-floor-card{min-height:0}
}

/* Mutfak sipariş ekranı */
.kitchen-page{min-width:0}
.kitchen-page-head{margin-bottom:13px}
.kitchen-assignment-alert{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.kitchen-assignment-alert>div{display:flex;align-items:center;gap:10px}
.kitchen-assignment-alert>div>i{font-size:1.1rem}
@media (max-width:767px){
  .kitchen-assignment-alert{align-items:flex-start;flex-direction:column}
}
.kitchen-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.kitchen-head-actions .btn{display:inline-flex;align-items:center;gap:7px}
.kitchen-clock{
  min-width:92px;
  padding:8px 10px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#f7f9fc;
  color:#344054;
  text-align:center;
  font-variant-numeric:tabular-nums;
  font-size:.9rem;
  font-weight:850;
}
.kitchen-settings-band{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  padding:14px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#f7f9fc;
}
.kitchen-settings-section{
  min-width:0;
  padding:13px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
}
.kitchen-settings-head{margin-bottom:10px}
.kitchen-settings-head>div{display:flex;flex-direction:column}
.kitchen-settings-head b{font-size:.9rem}
.kitchen-settings-head small{color:var(--app-muted);font-size:.7rem}
.kitchen-station-create{
  display:grid;
  grid-template-columns:minmax(120px,1fr) 42px 75px auto;
  gap:7px;
  margin-bottom:10px;
}
.kitchen-station-create .form-control-color,.kitchen-station-editor .form-control-color{
  width:42px;
  min-height:36px;
  padding:4px;
}
.kitchen-station-create .btn{display:flex;align-items:center;gap:5px}
.kitchen-station-editor{display:flex;flex-direction:column;gap:6px}
.kitchen-station-editor>form{
  display:grid;
  grid-template-columns:minmax(110px,1fr) 42px 66px 58px 34px;
  align-items:center;
  gap:6px;
}
.kitchen-active-check{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:4px;
  color:var(--app-muted);
  font-size:.67rem;
  font-weight:750;
}
.kitchen-station-editor .btn{width:34px;height:34px;padding:0;display:grid;place-items:center}
.kitchen-category-assignments{
  max-height:238px;
  overflow:auto;
  display:flex;
  flex-direction:column;
}
.kitchen-category-assignments form{
  min-height:42px;
  padding:5px 0;
  border-bottom:1px solid #edf1f6;
  display:grid;
  grid-template-columns:minmax(100px,1fr) minmax(130px,180px);
  align-items:center;
  gap:8px;
}
.kitchen-category-assignments form:last-child{border-bottom:0}
.kitchen-category-assignments span{font-size:.76rem;font-weight:750}
.kitchen-station-tabs{
  display:flex;
  align-items:center;
  gap:7px;
  overflow-x:auto;
  padding:2px 0 10px;
  scrollbar-width:thin;
}
.kitchen-station-tabs a{
  --station-color:#667085;
  min-height:40px;
  padding:7px 10px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  color:#4b596d;
  display:inline-flex;
  align-items:center;
  gap:7px;
  text-decoration:none;
  white-space:nowrap;
  font-size:.76rem;
  font-weight:800;
}
.kitchen-station-tabs a>i:empty{width:9px;height:9px;border-radius:50%;background:var(--station-color)}
.kitchen-station-tabs a>small{
  min-width:20px;height:20px;padding:0 5px;border-radius:999px;
  background:#eef1f5;color:#667085;display:grid;place-items:center;font-size:.62rem;
}
.kitchen-station-tabs a:hover{border-color:#9bbcf8;color:var(--app-primary);background:#f5f8ff}
.kitchen-station-tabs a.is-active{border-color:var(--app-primary);background:var(--app-primary);color:#fff}
.kitchen-station-tabs a.is-active>small{background:rgba(255,255,255,.2);color:#fff}
.kitchen-summary{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;
  margin-bottom:10px;
}
.kitchen-summary>div{
  min-height:54px;
  padding:9px 12px;
  border:1px solid var(--app-border);
  border-left:4px solid #94a3b8;
  border-radius:8px;
  background:#fff;
  display:grid;
  grid-template-columns:30px 1fr auto;
  align-items:center;
  gap:8px;
}
.kitchen-summary i{width:30px;height:30px;border-radius:7px;display:grid;place-items:center;background:#f1f4f8}
.kitchen-summary span{color:var(--app-muted);font-size:.76rem;font-weight:800}
.kitchen-summary b{font-size:1.25rem}
.kitchen-summary .is-new{border-left-color:#e5484d}.kitchen-summary .is-new i{background:#fff0f0;color:#c92a2a}
.kitchen-summary .is-preparing{border-left-color:#d97706}.kitchen-summary .is-preparing i{background:#fff6e8;color:#a15c00}
.kitchen-summary .is-ready{border-left-color:#22a447}.kitchen-summary .is-ready i{background:#eaf8ef;color:#16803c}
.kitchen-ops-strip{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin-bottom:10px;
}
.kitchen-ops-strip>div{
  min-height:54px;
  padding:9px 11px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:2px;
}
.kitchen-ops-strip span{color:var(--app-muted);font-size:.68rem;font-weight:850}
.kitchen-ops-strip b{font-size:1rem}
.kitchen-ops-strip .is-warning{border-color:#efb85b;background:#fffaf0}
.kitchen-ops-strip .is-danger{border-color:#e5484d;background:#fff5f5}
.kitchen-filter-bar{
  display:flex;
  align-items:center;
  gap:7px;
  overflow-x:auto;
  padding:2px 0 10px;
}
.kitchen-filter-bar button{
  min-height:36px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  color:#4b596d;
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:7px 10px;
  white-space:nowrap;
  font-size:.73rem;
  font-weight:850;
}
.kitchen-filter-bar button:hover{border-color:#9bbcf8;color:var(--app-primary);background:#f5f8ff}
.kitchen-filter-bar button.is-active{border-color:var(--app-primary);background:var(--app-primary);color:#fff}
.kitchen-board{
  display:grid;
  grid-template-columns:repeat(3,minmax(320px,1fr));
  gap:10px;
  align-items:start;
}
.kitchen-column{
  --kitchen-state:#667085;
  min-width:0;
  border:1px solid var(--app-border);
  border-top:4px solid var(--kitchen-state);
  border-radius:8px;
  background:#f6f8fb;
  overflow:hidden;
}
.kitchen-column.is-new{--kitchen-state:#e5484d}
.kitchen-column.is-preparing{--kitchen-state:#d97706}
.kitchen-column.is-ready{--kitchen-state:#22a447}
.kitchen-column>header{
  min-height:68px;
  padding:11px 12px;
  border-bottom:1px solid var(--app-border);
  background:#fff;
  display:grid;
  grid-template-columns:36px 1fr auto;
  align-items:center;
  gap:9px;
}
.kitchen-column-icon{
  width:36px;height:36px;border-radius:8px;display:grid;place-items:center;
  background:color-mix(in srgb,var(--kitchen-state) 10%,white);
  color:var(--kitchen-state);
}
.kitchen-column>header>div:nth-child(2){display:flex;flex-direction:column}
.kitchen-column h5{margin:0;font-size:.93rem;font-weight:850}
.kitchen-column header span{color:var(--app-muted);font-size:.67rem}
.kitchen-column header>b{
  min-width:30px;height:30px;padding:0 7px;border-radius:999px;
  background:color-mix(in srgb,var(--kitchen-state) 12%,white);
  color:var(--kitchen-state);display:grid;place-items:center;font-size:.78rem;
}
.kitchen-ticket-list{
  min-height:180px;
  max-height:none;
  overflow:visible;
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:9px;
}
.kitchen-empty{
  min-height:150px;
  color:#8591a3;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  font-size:.76rem;
}
.kitchen-empty i{
  width:42px;height:42px;border-radius:50%;display:grid;place-items:center;
  background:#e9edf3;color:#748195;
}
.kitchen-ticket{
  border:1px solid #dbe2ec;
  border-radius:8px;
  background:#fff;
  box-shadow:0 5px 14px rgba(24,33,47,.05);
  overflow:hidden;
  break-inside:avoid;
}
.kitchen-ticket.is-warning{border-color:#efb85b}
.kitchen-ticket.is-late{border-color:#e5484d;box-shadow:0 0 0 2px rgba(229,72,77,.12)}
.kitchen-column.is-filter-empty{opacity:.58}
.kitchen-priority{
  min-height:32px;
  padding:7px 10px;
  border-bottom:1px solid #edf1f6;
  display:flex;
  align-items:center;
  gap:7px;
  font-size:.7rem;
  font-weight:900;
}
.kitchen-priority.is-warning{background:#fff7e8;color:#925b08}
.kitchen-priority.is-danger{background:#fff0f0;color:#b4232b}
.kitchen-ticket-head{
  min-height:57px;
  padding:9px 10px;
  border-bottom:1px solid #edf1f6;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  background:#fbfcfe;
}
.kitchen-ticket-head>div{min-width:0;display:flex;flex-direction:column}
.kitchen-ticket-head strong{font-size:.88rem}
.kitchen-ticket-head span{color:var(--app-muted);font-size:.65rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.kitchen-ticket-head time{
  padding:5px 7px;border-radius:7px;background:#eef1f5;color:#4b596d;
  display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:.68rem;font-weight:850;
}
.kitchen-ticket.is-warning .kitchen-ticket-head time{background:#fff3dc;color:#925b08}
.kitchen-ticket.is-late .kitchen-ticket-head time{background:#fff0f0;color:#b4232b}
.kitchen-ticket-bulk{
  padding:8px 10px;
  border-bottom:1px solid #edf1f6;
  background:#f8fbff;
}
.kitchen-ticket-bulk .btn{
  width:100%;
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:.72rem;
  font-weight:850;
}
.kitchen-ticket-note{
  padding:7px 10px;
  border-bottom:1px solid #edf1f6;
  background:#fff8eb;
  display:flex;
  flex-direction:column;
  font-size:.68rem;
}
.kitchen-ticket-note span{color:#78500c}
.kitchen-ticket-items{display:flex;flex-direction:column}
.kitchen-ticket-item{
  padding:10px;
  border-bottom:1px solid #edf1f6;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:8px;
}
.kitchen-ticket-item:last-child{border-bottom:0}
.kitchen-item-qty{
  width:34px;height:34px;border-radius:8px;background:#18212f;color:#fff;
  display:grid;place-items:center;font-size:.78rem;font-weight:900;
}
.kitchen-item-copy{min-width:0;display:flex;flex-direction:column}
.kitchen-item-copy>b{font-size:.82rem;line-height:1.25}
.kitchen-item-copy>span{
  --station-color:#667085;
  width:max-content;
  max-width:100%;
  margin-top:3px;
  color:var(--station-color);
  display:flex;
  align-items:center;
  gap:5px;
  font-size:.62rem;
  font-weight:800;
}
.kitchen-item-copy>span i{width:7px;height:7px;border-radius:50%;background:var(--station-color)}
.kitchen-item-copy ul{margin:6px 0 0;padding:0;list-style:none;display:flex;flex-direction:column;gap:2px}
.kitchen-item-copy li{color:#526071;font-size:.68rem}
.kitchen-item-copy li::before{content:"+";margin-right:5px;color:var(--app-primary);font-weight:900}
.kitchen-item-copy em{
  margin-top:6px;padding:5px 6px;border-radius:6px;background:#fff3dc;color:#78500c;
  display:flex;align-items:flex-start;gap:5px;font-size:.67rem;font-style:normal;font-weight:750;
}
.kitchen-ticket-item>form{grid-column:1/-1}
.kitchen-ticket-item>form .btn{
  width:100%;
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  font-size:.72rem;
}
@media (max-width:1199px){
  .live-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kitchen-settings-band{grid-template-columns:1fr}
  .kitchen-board{overflow-x:auto;grid-template-columns:repeat(3,minmax(310px,1fr))}
  .kitchen-ticket-list{max-height:none}
}
@media (max-width:767px){
  .kitchen-head-actions{width:100%}
  .kitchen-head-actions .btn span{display:none}
  .kitchen-clock{margin-left:auto}
  .kitchen-summary{grid-template-columns:1fr}
  .kitchen-ops-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
  .kitchen-board{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}
  .kitchen-column{min-width:min(88vw,370px);scroll-snap-align:start}
  .kitchen-station-create{grid-template-columns:1fr 42px 70px}
  .kitchen-station-create .btn{grid-column:1/-1;justify-content:center}
  .kitchen-station-editor>form{grid-template-columns:1fr 42px 62px 54px 34px}
}
@media (max-width:460px){
  .kitchen-settings-section{padding:10px}
  .kitchen-station-editor>form{grid-template-columns:minmax(90px,1fr) 42px 34px}
  .kitchen-station-editor>form input[name="sort_order"],.kitchen-active-check{display:none}
  .kitchen-category-assignments form{grid-template-columns:1fr}
}

.payment-ledger{display:flex;flex-direction:column;gap:10px}
.payment-ledger-row{
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  padding:12px;
}
.report-operation-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:10px;
  margin:14px 0 4px;
}
.report-operation-grid>div{
  min-height:82px;
  padding:12px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  display:grid;
  grid-template-columns:34px 1fr auto;
  grid-template-areas:
    "icon label value"
    "icon note note";
  align-items:center;
  gap:4px 10px;
  box-shadow:0 6px 18px rgba(24,33,47,.04);
}
.report-operation-grid i{
  grid-area:icon;
  width:34px;height:34px;border-radius:8px;background:#eef5ff;color:var(--app-primary);
  display:grid;place-items:center;
}
.report-operation-grid span{grid-area:label;color:var(--app-muted);font-size:.76rem;font-weight:850}
.report-operation-grid b{grid-area:value;font-size:1.2rem;text-align:right}
.report-operation-grid small{grid-area:note;color:#526071;font-size:.7rem}
.report-highlight-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  gap:10px;
  margin:14px 0 8px;
}
.report-highlight-grid>div{
  min-height:118px;
  padding:13px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:0 6px 18px rgba(24,33,47,.04);
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  grid-template-areas:
    "icon label"
    "icon value"
    "note note";
  align-items:center;
  gap:4px 10px;
}
.report-highlight-grid i{
  grid-area:icon;
  width:34px;height:34px;border-radius:8px;background:#eef5ff;color:var(--app-primary);
  display:grid;place-items:center;
}
.report-highlight-grid span{
  grid-area:label;
  color:var(--app-muted);
  font-size:.74rem;
  font-weight:850;
}
.report-highlight-grid b{
  grid-area:value;
  min-width:0;
  font-size:.98rem;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.report-highlight-grid small{
  grid-area:note;
  color:#526071;
  font-size:.7rem;
  line-height:1.35;
}
.report-highlight-grid .is-warning{border-color:#f3d296;background:#fffaf0}
.report-highlight-grid .is-warning i{background:#fff3dc;color:#925b08}
.report-mini-bar{
  height:5px;
  margin-top:5px;
  border-radius:999px;
  background:#edf1f6;
  overflow:hidden;
}
.report-mini-bar i{
  display:block;
  height:100%;
  border-radius:999px;
  background:var(--app-primary);
}
.report-list{display:flex;flex-direction:column;gap:9px}
.report-list-row{
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  padding:10px;
}
.report-list-row>div:first-child{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.report-list-row b{font-size:.86rem}
.report-list-row span{display:block;color:var(--app-muted);font-size:.72rem}
.report-list-row strong{display:block;text-align:right;font-size:.88rem}
.report-table .report-mini-bar{min-width:90px}
.stock-insight-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:10px;
  margin-bottom:14px;
}
.stock-insight-grid>div{
  min-height:72px;
  padding:12px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  display:grid;
  grid-template-columns:34px 1fr auto;
  align-items:center;
  gap:10px;
  box-shadow:0 6px 18px rgba(24,33,47,.04);
}
.stock-insight-grid i{
  width:34px;height:34px;border-radius:8px;background:#eaf2ff;color:var(--app-primary);
  display:grid;place-items:center;
}
.stock-insight-grid span{color:var(--app-muted);font-size:.78rem;font-weight:850}
.stock-insight-grid b{font-size:1.25rem}
.stock-insight-grid .is-danger{border-color:#f1b8bb;background:#fff8f8}
.stock-insight-grid .is-danger i{background:#fff0f0;color:#c92a2a}
.stock-insight-grid .is-warning{border-color:#f3d296;background:#fffaf0}
.stock-insight-grid .is-warning i{background:#fff3dc;color:#925b08}
.stock-alert-board{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:12px;
  margin:14px 0 18px;
}
.stock-alert-panel{
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:0 8px 22px rgba(24,33,47,.05);
  overflow:hidden;
}
.stock-alert-panel.is-danger{border-color:#f1b8bb}
.stock-alert-panel.is-warning{border-color:#f3d296}
.stock-alert-panel.is-recipe{border-color:#bad0f5}
.stock-alert-head{
  min-height:62px;
  padding:12px;
  border-bottom:1px solid var(--app-border);
  display:grid;
  grid-template-columns:38px 1fr;
  align-items:center;
  gap:10px;
  background:#fbfcfe;
}
.stock-alert-head>i{
  width:38px;
  height:38px;
  border-radius:8px;
  background:#eef5ff;
  color:var(--app-primary);
  display:grid;
  place-items:center;
}
.stock-alert-panel.is-danger .stock-alert-head>i{background:#fff0f0;color:#c92a2a}
.stock-alert-panel.is-warning .stock-alert-head>i{background:#fff3dc;color:#925b08}
.stock-alert-head b{display:block;font-size:.88rem}
.stock-alert-head span{color:var(--app-muted);font-size:.72rem;font-weight:750}
.stock-alert-list{display:flex;flex-direction:column}
.stock-alert-row{
  min-height:58px;
  padding:10px 12px;
  border-bottom:1px solid #edf1f6;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:9px;
}
.stock-alert-row:last-child{border-bottom:0}
.stock-alert-row>div{min-width:0;display:flex;flex-direction:column}
.stock-alert-row b{
  font-size:.82rem;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.stock-alert-row span{color:var(--app-muted);font-size:.68rem;line-height:1.35}
.stock-alert-row em{
  padding:5px 7px;
  border-radius:999px;
  background:#fff0f0;
  color:#b4232b;
  font-size:.67rem;
  font-style:normal;
  font-weight:850;
  white-space:nowrap;
}
.stock-alert-row .btn{white-space:nowrap}
.stock-state-pill{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:5px 8px;
  border-radius:999px;
  font-size:.7rem;
  font-weight:850;
  white-space:nowrap;
}
.stock-state-pill.is-ok{background:#eaf8ef;color:#16803c}
.stock-state-pill.is-warning{background:#fff3dc;color:#925b08}
.stock-state-pill.is-danger{background:#fff0f0;color:#b4232b}
.permission-group{
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#f8fafc;
  padding:12px;
}
.permission-check{
  display:flex;
  align-items:flex-start;
  gap:8px;
  margin-top:9px;
  color:#344054;
  font-size:.88rem;
  cursor:pointer;
}
.permission-check .form-check-input{flex:0 0 auto;margin-top:.18rem}
.settings-logo-preview{
  min-height:150px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#f8fafc;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
}
.settings-logo-preview img{display:block;max-width:100%;max-height:150px;object-fit:contain}
.settings-login-preview{
  min-height:238px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#f8fafc;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}
.settings-login-preview img{
  display:block;
  width:100%;
  min-height:238px;
  object-fit:cover;
}
.settings-slider-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
.settings-slider-item{
  border:1px solid var(--app-border);
  border-radius:8px;
  overflow:hidden;
  background:#fff;
  cursor:pointer;
}
.settings-slider-item img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover}
.settings-slider-item span{display:block;padding:8px;font-size:.84rem;font-weight:700}
.settings-tabs{
  display:flex;align-items:center;gap:6px;overflow-x:auto;padding:5px;
  border:1px solid var(--app-border);border-radius:8px;background:#f4f6f9;
}
.settings-tabs a{
  min-height:38px;padding:8px 11px;border-radius:7px;color:#526071;
  display:inline-flex;align-items:center;gap:7px;text-decoration:none;white-space:nowrap;
  font-size:.78rem;font-weight:800;
}
.settings-tabs a:hover{background:#fff;color:var(--app-primary)}
.settings-tabs a.is-active{background:#fff;color:var(--app-primary);box-shadow:0 2px 8px rgba(24,33,47,.08)}
.settings-category-tabs{
  min-height:54px;padding:7px;border:1px solid var(--app-border);border-radius:10px;
  background:#f4f6f9;display:flex;align-items:center;gap:8px;
}
.settings-category-title{
  align-self:stretch;min-width:145px;padding:8px 11px;border-right:1px solid #dfe5ed;
  color:#344258;display:inline-flex;align-items:center;gap:8px;
  font-size:.76rem;font-weight:900;text-transform:uppercase;white-space:nowrap;
}
.settings-category-title i{color:var(--app-primary)}
.settings-category-links{display:flex;align-items:center;gap:5px;overflow-x:auto}
.settings-category-links a{
  min-height:38px;padding:8px 11px;border-radius:7px;color:#526071;
  display:inline-flex;align-items:center;gap:7px;text-decoration:none;
  white-space:nowrap;font-size:.75rem;font-weight:800;
}
.settings-category-links a:hover{background:#fff;color:var(--app-primary)}
.settings-category-links a.is-active{background:#fff;color:var(--app-primary);box-shadow:0 2px 8px rgba(24,33,47,.09)}
.settings-category-links a i{width:15px;text-align:center}
@media (max-width:575.98px){
  .settings-category-tabs{display:block;margin-left:-4px;margin-right:-4px;padding:5px}
  .settings-category-title{min-width:0;min-height:34px;border-right:0;border-bottom:1px solid #dfe5ed}
  .settings-category-links{padding-top:5px}
  .settings-category-links a{min-height:34px;padding:6px 8px;font-size:.69rem}
}
.settings-table-create-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.settings-table-create-head>i{
  width:40px;height:40px;border-radius:8px;background:#eaf2ff;color:var(--app-primary);
  display:grid;place-items:center;font-size:1rem;
}
.settings-table-create{
  display:grid;grid-template-columns:.7fr 1.2fr 1fr .65fr auto;
  align-items:end;gap:9px;
}
.settings-table-create label,.settings-table-edit label{display:flex;flex-direction:column;gap:5px}
.settings-table-create label>span,.settings-table-edit label>span{color:#4b596d;font-size:.72rem;font-weight:800}
.settings-table-create .btn{min-height:42px}
.settings-table-list{display:flex;flex-direction:column;gap:12px}
.settings-table-card{
  border:1px solid var(--app-border);border-left:4px solid var(--app-primary);
  border-radius:8px;background:#fff;box-shadow:var(--app-shadow);overflow:hidden;
  display:grid;grid-template-columns:265px minmax(0,1fr);
}
.settings-table-card.is-inactive{border-left-color:#8a94a4;background:#fafbfc}
.settings-table-preview{
  padding:14px;border-right:1px solid var(--app-border);background:#f7f9fc;
  display:grid;grid-template-columns:1fr 82px;gap:12px;align-items:center;
}
.settings-table-shape{
  grid-column:1/-1;min-height:58px;border:2px solid #9bbcf8;border-radius:8px;
  background:#eef5ff;color:var(--app-primary);display:grid;
  grid-template-columns:30px 1fr auto;align-items:center;gap:8px;padding:9px;
}
.settings-table-shape>i{width:30px;height:30px;border-radius:7px;background:#fff;display:grid;place-items:center}
.settings-table-shape b{color:#263244;font-size:.87rem}
.settings-table-shape small{font-size:.67rem;font-weight:900}
.settings-table-current{min-width:0;display:flex;flex-direction:column;gap:4px}
.settings-table-current span{color:var(--app-muted);font-size:.7rem}
.settings-table-current b{display:flex;align-items:center;gap:5px;font-size:.76rem}
.settings-table-current em{
  width:max-content;max-width:100%;padding:4px 6px;border-radius:6px;
  background:#fff3dc;color:#925b08;font-size:.63rem;font-style:normal;font-weight:800;
}
.settings-table-preview>img{width:82px;height:82px;border:1px solid var(--app-border);border-radius:8px;background:#fff}
.settings-table-edit{
  padding:14px;display:grid;grid-template-columns:1.3fr .55fr 1fr .55fr 1fr;
  gap:9px;align-items:end;
}
.settings-table-active{
  grid-column:1/-1;min-height:35px;flex-direction:row!important;
  align-items:center;gap:7px!important;
}
.settings-table-edit>.btn{grid-column:1/-1;min-height:42px}
.settings-table-links{
  grid-column:1/-1;padding:10px 14px;border-top:1px solid var(--app-border);
  display:flex;align-items:center;justify-content:flex-end;gap:7px;
}
.settings-table-links form{margin:0}
.table-area-create{
  display:grid;
  grid-template-columns:minmax(220px,1fr) 140px auto;
  gap:10px;
  align-items:end;
}
.table-area-create label,
.table-area-edit label{display:flex;flex-direction:column;gap:5px}
.table-area-create label>span,
.table-area-edit label>span{color:#4b596d;font-size:.72rem;font-weight:800}
.table-area-create .btn{min-height:42px}
.table-area-list{display:flex;flex-direction:column;gap:12px}
.table-area-card{
  border:1px solid var(--app-border);
  border-left:5px solid var(--app-primary);
  border-radius:8px;
  background:#fff;
  box-shadow:var(--app-shadow);
  display:grid;
  grid-template-columns:minmax(220px,320px) minmax(0,1fr);
  overflow:hidden;
}
.table-area-card.is-inactive{border-left-color:#8a94a4;background:#fafbfc}
.table-area-info{
  padding:14px;
  border-right:1px solid var(--app-border);
  background:#f7f9fc;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
}
.table-area-info>i{
  width:42px;
  height:42px;
  border-radius:8px;
  background:#eef4ff;
  color:var(--app-primary);
  display:grid;
  place-items:center;
}
.table-area-info b{display:block;color:#111827;font-size:.95rem}
.table-area-info span{display:block;color:var(--app-muted);font-size:.72rem;font-weight:750}
.table-area-info em{
  align-self:start;
  border-radius:999px;
  background:#eef7f0;
  color:#16783b;
  padding:5px 8px;
  font-size:.68rem;
  font-style:normal;
  font-weight:900;
}
.table-area-card.is-inactive .table-area-info em{background:#eef2f7;color:#5d6675}
.table-area-edit{
  padding:14px;
  display:grid;
  grid-template-columns:minmax(180px,1fr) 110px minmax(180px,auto) auto;
  align-items:end;
  gap:10px;
}
.table-area-active{
  min-height:42px;
  flex-direction:row!important;
  align-items:center;
  gap:8px!important;
}
.table-area-active span{font-weight:800;color:#4b596d;font-size:.76rem}
@media (max-width:1100px){
  .settings-table-create{grid-template-columns:repeat(4,1fr)}
  .settings-table-create .btn{grid-column:1/-1}
  .settings-table-card{grid-template-columns:220px minmax(0,1fr)}
  .settings-table-edit{grid-template-columns:repeat(2,minmax(0,1fr))}
  .table-area-card{grid-template-columns:1fr}
  .table-area-info{border-right:0;border-bottom:1px solid var(--app-border)}
  .table-area-edit{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:767px){
  .settings-table-create{grid-template-columns:repeat(2,1fr)}
  .settings-table-card{grid-template-columns:1fr}
  .settings-table-preview{border-right:0;border-bottom:1px solid var(--app-border)}
  .table-area-create{grid-template-columns:1fr 120px}
  .table-area-create .btn{grid-column:1/-1}
}
@media (max-width:480px){
  .settings-table-create,.settings-table-edit{grid-template-columns:1fr}
  .settings-table-active,.settings-table-edit>.btn{grid-column:auto}
  .settings-table-links{justify-content:stretch}
  .settings-table-links .btn{flex:1}
  .table-area-create,.table-area-edit{grid-template-columns:1fr}
  .table-area-active{min-height:auto}
}
.app-brand-logo{width:200px;object-fit:contain;border-radius:8px}

.auth-card{
  width:100%;
  max-width:440px;
  background:#fff;
  border-radius:8px;
  border:1px solid var(--app-border);
  box-shadow:0 18px 50px rgba(24,33,47,.10);
  overflow:hidden;
}
.auth-card-head{
  padding:24px 24px 0;
}
.auth-mark{
  width:44px;height:44px;border-radius:8px;background:var(--app-primary);color:#fff;
  display:flex;align-items:center;justify-content:center;font-weight:900;margin-bottom:16px;
}
.auth-logo {
    display: block;
    width: 450px;
    max-width: 100%;
    
    object-fit: contain;
    margin: 0 auto 16px auto;
}
.auth-card-body{padding:24px}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(380px,.65fr)}
.auth-visual{
  position:relative;min-height:100vh;background-position:center;background-size:cover;
  display:flex;align-items:flex-end;padding:clamp(30px,5vw,72px);overflow:hidden;
}
.auth-visual-shade{position:absolute;inset:0;background:rgba(8,15,24,.55)}
.auth-visual-content{position:relative;z-index:1;color:#fff;max-width:680px}
.auth-visual-badge{
  display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid rgba(255,255,255,.3);
  border-radius:999px;background:rgba(255,255,255,.12);font-size:.8rem;font-weight:800;
}
.auth-visual-content h1{margin:18px 0 10px;font-size:clamp(2rem,4vw,3.8rem);line-height:1.05;font-weight:900;letter-spacing:0}
.auth-visual-content p{margin:0;color:rgba(255,255,255,.8);font-size:1.05rem;max-width:600px}
.auth-panel{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:30px;background:#fff}

.footer{
  margin-top:auto;
  width:100%;
  background:rgba(255,255,255,.8);
  border-top:1px solid var(--app-border);
  color:var(--app-muted);
  padding:14px 20px;
  text-align:center;
  font-size:.86rem;
}
.panel-live-alert{
  position:fixed;
  right:16px;
  bottom:84px;
  z-index:1080;
  width:min(380px,calc(100vw - 32px));
}
.panel-sound-toggle{position:fixed;right:16px;bottom:24px;z-index:1080;width:42px;height:42px;padding:0;display:flex;align-items:center;justify-content:center;border-radius:999px;overflow:hidden;transition:width .18s ease,padding .18s ease}
.panel-sound-toggle i{margin:0!important}.panel-sound-toggle span{display:none;white-space:nowrap}
.panel-sound-toggle:hover,.panel-sound-toggle:focus{width:auto;padding:0 12px;gap:6px}.panel-sound-toggle:hover span,.panel-sound-toggle:focus span{display:inline}
.modal{z-index:1210}
.modal-backdrop{z-index:1200}
.app-confirm-modal{z-index:1220}
.app-confirm-card{
  border:0;
  border-radius:8px;
  padding:24px;
  text-align:center;
  box-shadow:0 26px 66px rgba(15,23,42,.2);
}
.app-confirm-icon{
  width:56px;
  height:56px;
  margin:0 auto 14px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#eef5ff;
  color:var(--app-primary);
  font-size:1.5rem;
}
.app-confirm-modal[data-app-tone="error"] .app-confirm-icon{
  background:#fff1f2;
  color:var(--app-danger);
}
.app-confirm-modal[data-app-tone="warning"] .app-confirm-icon,
.app-confirm-modal[data-app-tone="confirm"] .app-confirm-icon{
  background:#fff7ed;
  color:#d97706;
}
.app-confirm-modal[data-app-tone="success"] .app-confirm-icon{
  background:#ecfdf3;
  color:#16a34a;
}
.app-confirm-card h5{margin:0 0 8px;font-size:1.1rem;font-weight:900}
.app-confirm-card p{margin:0;color:var(--app-muted);line-height:1.5}
.app-confirm-actions{display:flex;gap:8px;justify-content:center;margin-top:18px}
.app-confirm-actions .btn{min-width:112px;min-height:40px}
.sound-attention{animation:soundPulse 1.35s ease-in-out infinite}
@keyframes soundPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(31,111,235,.16)}
  50%{box-shadow:0 0 0 9px rgba(31,111,235,0)}
}
@media (prefers-reduced-motion:reduce){.sound-attention{animation:none}}

.print-wrap{max-width:380px;margin:0 auto;font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

@media (max-width: 1199px){
  .app-navbar-top{min-height:58px}
  .app-navigation{padding-bottom:12px}
  .app-nav-scroll{overflow:visible}
  .app-nav{width:100%;padding:8px 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
  .app-nav .nav-link{padding:.65rem .72rem}
  .app-nav .dropdown-menu{position:static!important;width:100%;margin:3px 0 7px;box-shadow:none}
  .settings-menu-trigger .settings-menu-arrow{display:none}
  .settings-menu-flyout{
    display:block;position:static;min-width:0;margin:0 0 5px 13px;padding:2px 0 5px 9px;
    border:0;border-left:2px solid #dfe7f2;border-radius:0;background:transparent;box-shadow:none;
  }
  .settings-menu-flyout .dropdown-item{min-height:34px;font-size:.76rem}
  .app-userbar{border-left:0;padding:12px 0 0;margin-top:8px;border-top:1px solid var(--app-border)}
}
@media (max-width: 991px){
  .product-bulk-panel{grid-template-columns:1fr}
  .product-bulk-panel form{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-filter-bar{grid-template-columns:repeat(2,minmax(0,1fr))}
  .product-filter-search{grid-column:1/-1}
  .category-create-form{grid-template-columns:1fr 90px}
  .category-create-form .btn{grid-column:1/-1}
  .sale-top-grid .span-2,
  .sale-top-grid .span-3,
  .sale-top-grid .span-4,
  .sale-top-grid .span-6{grid-column:span 6}
  .report-operation-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stock-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 850px){
  .auth-shell{grid-template-columns:1fr}
  .auth-visual{min-height:280px;padding:28px}
  .auth-visual-content h1{font-size:2rem;max-width:540px}
  .auth-visual-content p{font-size:.95rem}
  .auth-panel{min-height:auto;padding:26px 18px 36px}
}
@media (max-width: 576px){
  .app-brand-text{max-width:210px;overflow:hidden;text-overflow:ellipsis}
  .app-nav{grid-template-columns:1fr}
  .app-main{padding-top:18px!important}
  .auth-visual{min-height:230px}
  .auth-visual-content h1{font-size:1.65rem}
  .auth-visual-content p{display:none}
  .auth-panel{padding:18px 14px 28px}
  .panel-card-body,.card-body{padding:14px}
  .live-metric-grid{grid-template-columns:1fr}
  .live-metric{grid-template-columns:42px 1fr auto}
  .live-metric i{width:42px;height:42px}
  .order-board{grid-template-columns:1fr}
  .order-stats{grid-template-columns:1fr}
  .order-flow-pills{grid-template-columns:repeat(2,minmax(0,1fr))}
  .order-actions{grid-template-columns:1fr}
  .request-actions{width:100%}
  .request-actions form,.request-actions .btn{width:100%}
  .total-strip{align-items:stretch;flex-direction:column}
  .total-strip .btn{width:100%}
  .sale-top-grid .span-2,
  .sale-top-grid .span-3,
  .sale-top-grid .span-4,
  .sale-top-grid .span-6{grid-column:span 12}
  .payment-row{grid-template-columns:1fr}
  .payment-row input[data-payment-field="note"]{grid-column:auto}
  .report-operation-grid{grid-template-columns:1fr}
  .product-metric-grid,.category-metric-grid{grid-template-columns:1fr}
  .product-quality-head{grid-template-columns:40px minmax(0,1fr)}
  .product-quality-head .btn{grid-column:1/-1}
  .product-bulk-panel form{grid-template-columns:1fr}
  .product-filter-bar{grid-template-columns:1fr}
  .product-cell{min-width:220px}
  .category-create-form{grid-template-columns:1fr}
  .stock-insight-grid{grid-template-columns:1fr}
  .stock-alert-board{grid-template-columns:1fr}
  .stock-alert-row{grid-template-columns:1fr}
  .stock-alert-row em{width:max-content}
}
.recipe-metric {
  height: 100%;
  min-height: 112px;
  padding: 18px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .05);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recipe-metric span,
.recipe-metric small {
  color: #64748b;
}

.recipe-metric strong {
  margin: 4px 0 1px;
  color: #172033;
  font-size: 1.42rem;
  line-height: 1.2;
}
.recipe-alert-band{
  margin-bottom:14px;
  padding:13px 14px;
  border:1px solid #cfe0ff;
  border-radius:8px;
  background:#f6f9ff;
  display:flex;
  align-items:flex-start;
  gap:11px;
}
.recipe-alert-band>i{
  width:34px;height:34px;border-radius:8px;background:#eaf2ff;color:var(--app-primary);
  display:grid;place-items:center;flex:0 0 auto;
}
.recipe-alert-band>div{display:flex;flex-direction:column;gap:2px}
.recipe-alert-band b{font-size:.9rem}
.recipe-alert-band span{color:var(--app-muted);font-size:.82rem}
.recipe-alert-band.is-danger{border-color:#f1b8bb;background:#fff8f8}
.recipe-alert-band.is-danger>i{background:#fff0f0;color:#c92a2a}
.recipe-warning-list{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:-4px 0 14px;
}
.recipe-warning-list span,.recipe-stock-pill{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:999px;
  background:#f1f4f8;
  color:#4b596d;
  padding:5px 8px;
  font-size:.7rem;
  font-weight:850;
}
.recipe-warning-list span{
  background:#fff3dc;
  color:#925b08;
}
.recipe-stock-pill{margin-top:7px}
.recipe-stock-pill.is-danger{background:#fff0f0;color:#b4232b}

@media (max-width:767px){
  .order-partial-edit-form{grid-template-columns:1fr}
  .order-partial-edit-form input[name="note"],.order-partial-edit-form .btn{grid-column:auto}
}

/* Garson çalışma ekranı */
.waiter-page{min-width:0}
.waiter-head{align-items:flex-start}
.waiter-head-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.waiter-metrics{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}
.waiter-metrics>div{
  min-height:72px;
  padding:12px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  display:grid;
  grid-template-columns:34px minmax(0,1fr) auto;
  align-items:center;
  gap:9px;
  box-shadow:var(--app-shadow);
}
.waiter-metrics i{
  width:34px;height:34px;border-radius:8px;background:#eef5ff;color:var(--app-primary);
  display:grid;place-items:center;
}
.waiter-metrics span{color:var(--app-muted);font-size:.74rem;font-weight:800}
.waiter-metrics b{font-size:1.35rem;font-weight:900}
.waiter-filter-bar{
  margin:-2px 0 14px;
  padding:10px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:var(--app-shadow);
  display:grid;
  grid-template-columns:minmax(220px,320px) minmax(0,1fr);
  gap:10px;
  align-items:center;
}
.waiter-filter-search{position:relative;min-width:0}
.waiter-filter-search i{
  position:absolute;
  left:12px;
  top:50%;
  transform:translateY(-50%);
  color:#8290a3;
  font-size:.82rem;
}
.waiter-filter-search .form-control{padding-left:35px;min-height:40px}
.waiter-filter-chips{
  min-width:0;
  display:flex;
  gap:7px;
  overflow-x:auto;
  scrollbar-width:thin;
}
.waiter-filter-chips button{
  min-height:38px;
  padding:7px 10px;
  border:1px solid var(--app-border);
  border-radius:999px;
  background:#fff;
  color:#465568;
  white-space:nowrap;
  display:inline-flex;
  align-items:center;
  gap:6px;
  font-size:.76rem;
  font-weight:850;
}
.waiter-filter-chips button.is-active{
  background:var(--app-primary);
  border-color:var(--app-primary);
  color:#fff;
}
.waiter-workspace{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(330px,390px);
  gap:14px;
  align-items:start;
}
.waiter-section{
  min-width:0;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:var(--app-shadow);
  padding:14px;
}
.waiter-section+.waiter-section{margin-top:14px}
.waiter-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.waiter-section-head h5{margin:0;font-size:1rem;font-weight:900}
.waiter-section-head span{color:var(--app-muted);font-size:.78rem;font-weight:650}
.waiter-side{position:sticky;top:126px}
.waiter-table-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(175px,1fr));
  gap:10px;
}
.waiter-table-grid.is-filter-empty::after{
  content:"Bu filtreye uygun masa yok.";
  grid-column:1/-1;
  padding:18px;
  border:1px dashed #b9c4d3;
  border-radius:8px;
  background:#f8fafc;
  color:var(--app-muted);
  text-align:center;
  font-weight:800;
}
.waiter-table-card{
  min-height:150px;
  padding:12px;
  border:1px solid var(--app-border);
  border-left:5px solid #94a3b8;
  border-radius:8px;
  background:#fff;
  color:var(--app-text);
  text-decoration:none;
  display:flex;
  flex-direction:column;
  gap:10px;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.waiter-table-card:hover{transform:translateY(-1px);box-shadow:0 12px 28px rgba(24,33,47,.1);color:var(--app-text)}
.waiter-table-card.is-available{border-left-color:#16a34a}
.waiter-table-card.is-occupied{border-left-color:#1f6feb}
.waiter-table-card.is-request{border-left-color:#d97706;background:#fffaf0}
.waiter-table-card.is-bill{border-left-color:#dc2626;background:#fff5f5}
.waiter-table-card.is-reserved{border-left-color:#7c3aed}
.waiter-table-card.is-cleaning{border-left-color:#0891b2}
.waiter-table-card.is-disabled{border-left-color:#64748b;opacity:.72}
.waiter-table-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.waiter-table-top b{display:block;font-size:1.05rem;font-weight:900;line-height:1.18}
.waiter-table-top span{display:block;color:var(--app-muted);font-size:.72rem;font-weight:750;margin-top:2px}
.waiter-table-top i{
  width:34px;height:34px;border-radius:8px;background:#f1f5f9;color:#475569;
  display:grid;place-items:center;flex:0 0 auto;
}
.waiter-table-state{
  width:max-content;
  max-width:100%;
  padding:5px 8px;
  border-radius:999px;
  background:#eef4ff;
  color:#1f6feb;
  font-size:.72rem;
  font-weight:900;
}
.waiter-table-foot{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  gap:8px;
  color:#475569;
  font-size:.78rem;
  font-weight:800;
}
.waiter-table-foot strong{color:var(--app-text);white-space:nowrap}
.waiter-table-card em{
  padding:6px 8px;
  border-radius:7px;
  background:#fff3dc;
  color:#925b08;
  font-size:.72rem;
  font-style:normal;
  font-weight:850;
}
.waiter-table-card em.is-ready{background:#eafaf0;color:#16803c}
.waiter-request-list,.waiter-ready-list{display:flex;flex-direction:column;gap:9px}
.waiter-request-card,.waiter-ready-card{
  min-width:0;
  padding:10px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:9px;
  align-items:start;
}
.waiter-request-card.is-bill,.waiter-request-card.is-waiter{border-color:#f1b44c;background:#fffaf0}
.waiter-request-card>div:nth-child(2),.waiter-ready-card>div{min-width:0;display:flex;flex-direction:column;gap:2px}
.waiter-request-card b,.waiter-ready-card b{font-size:.86rem;line-height:1.2}
.waiter-request-card span,.waiter-ready-card span{color:var(--app-muted);font-size:.72rem;font-weight:750}
.waiter-request-card small,.waiter-ready-card small{color:#465568;font-size:.68rem;line-height:1.25}
.waiter-request-actions{
  grid-column:1/-1;
  display:flex;
  gap:6px;
  justify-content:flex-end;
  flex-wrap:wrap;
}
.waiter-request-actions form{margin:0}
.waiter-ready-card{
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
}
.waiter-ready-card form{margin:0}

.waiter-table-layout{
  display:grid;
  grid-template-columns:minmax(290px,340px) minmax(0,1fr);
  gap:14px;
  align-items:start;
}
.waiter-order-panel{position:sticky;top:126px;min-width:0}
.waiter-check-total{
  border:1px solid #cfe0ff;
  border-radius:8px;
  background:#f4f8ff;
  padding:12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
.waiter-check-total span{color:var(--app-muted);font-size:.78rem;font-weight:800}
.waiter-check-total b{color:var(--app-primary);font-size:1.35rem;font-weight:900}
.waiter-check-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:7px;
  margin-top:8px;
}
.waiter-check-stats>div{
  padding:8px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#f8fafc;
}
.waiter-check-stats small{display:block;color:var(--app-muted);font-size:.66rem;font-weight:850}
.waiter-check-stats b{font-size:1rem}
.waiter-order-items{margin-top:10px;display:flex;flex-direction:column;gap:8px;max-height:420px;overflow:auto}
.waiter-order-item{
  padding:10px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
}
.waiter-order-item-main{min-width:0;display:flex;flex-direction:column;gap:2px}
.waiter-order-item-main b{font-size:.82rem;line-height:1.2}
.waiter-order-item-main span,.waiter-order-item-main small{color:var(--app-muted);font-size:.68rem}
.waiter-order-item form{margin:0}

.waiter-sale-panel{min-width:0}
.waiter-mobile-cart-bar{
  display:none;
  border:1px solid #cfe0ff;
  border-radius:8px;
  background:#f4f8ff;
  box-shadow:var(--app-shadow);
  padding:9px;
  align-items:center;
  gap:8px;
  margin-bottom:10px;
}
.waiter-mobile-cart-bar>div{
  min-width:0;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:1px;
}
.waiter-mobile-cart-bar span{color:var(--app-muted);font-size:.68rem;font-weight:850}
.waiter-mobile-cart-bar b{font-size:.86rem;color:var(--app-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.waiter-mobile-cart-bar .btn{min-height:34px;padding:6px 9px}
.waiter-mobile-cart-bar.is-updated{animation:waiterCartPop .42s ease}
.waiter-cart-feedback{
  position:fixed;
  left:50%;
  bottom:18px;
  z-index:1085;
  transform:translate(-50%,18px);
  opacity:0;
  pointer-events:none;
  max-width:min(360px,calc(100vw - 28px));
  padding:10px 13px;
  border-radius:8px;
  background:#172033;
  color:#fff;
  font-size:.82rem;
  font-weight:850;
  box-shadow:0 12px 28px rgba(24,33,47,.22);
  transition:opacity .16s ease, transform .16s ease;
}
.waiter-cart-feedback.is-visible{opacity:1;transform:translate(-50%,0)}
@keyframes waiterCartPop{
  0%{transform:scale(1)}
  48%{transform:scale(1.018)}
  100%{transform:scale(1)}
}
.waiter-catalog-shell{
  display:grid;
  grid-template-columns:minmax(430px,1fr) minmax(300px,350px);
  grid-template-areas:
    "categories ticket"
    "catalog ticket";
  gap:14px;
  align-items:start;
}
.waiter-pos-commandbar{margin-bottom:14px}
.waiter-pos-category-panel{grid-area:categories;top:80px}
.waiter-catalog{grid-area:catalog;min-height:720px}
.waiter-catalog-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.waiter-catalog-head h5,.waiter-cart-head h5{margin:0;font-size:1rem;font-weight:900}
.waiter-catalog-head span,.waiter-cart-head span{color:var(--app-muted);font-size:.76rem;font-weight:750}
.waiter-search{
  width:min(360px,100%);
  position:relative;
}
.waiter-search i{
  position:absolute;left:12px;top:50%;transform:translateY(-50%);
  color:#8290a3;font-size:.82rem;
}
.waiter-search .form-control{padding-left:35px}
.waiter-category-strip{
  display:flex;
  gap:7px;
  overflow-x:auto;
  padding:8px 4px;
  margin:0;
  scrollbar-width:none;
}
.waiter-category-strip::-webkit-scrollbar{display:none}
.waiter-category-strip button{
  min-height:45px;
  padding:8px 10px;
  border:1px solid transparent;
  border-radius:8px;
  background:#fff;
  color:#465568;
  white-space:nowrap;
  font-size:.78rem;
  font-weight:850;
}
.waiter-category-strip button.is-active{background:var(--app-primary);border-color:var(--app-primary);color:#fff}
.waiter-product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(170px,1fr));
  gap:10px;
  padding:12px;
}
.waiter-product-card{
  min-height:216px;
  padding:0;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  text-align:left;
  transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease;
}
.waiter-product-card:hover:not(:disabled){transform:translateY(-1px);border-color:#9bbcf8;box-shadow:0 10px 24px rgba(31,111,235,.12)}
.waiter-product-card:disabled{opacity:.55;cursor:not-allowed;background:#f8fafc}
.waiter-product-visual{
  position:relative;
  width:100%;
  aspect-ratio:1 / 1;
  background:#edf3fb;
  color:#6b7c93;
  display:grid;
  place-items:center;
}
.waiter-product-visual img{width:100%;height:100%;object-fit:cover}
.waiter-product-visual>i{font-size:1.45rem}
.waiter-product-visual em{
  position:absolute;
  right:7px;
  top:7px;
  width:26px;height:26px;border-radius:50%;
  background:#fff;color:var(--app-primary);
  display:grid;place-items:center;font-style:normal;
  box-shadow:0 4px 10px rgba(24,33,47,.12);
}
.waiter-product-copy{
  width:100%;
  min-height:94px;
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.waiter-product-copy b{font-size:.84rem;line-height:1.2}
.waiter-product-copy small{color:var(--app-muted);font-size:.68rem}
.waiter-product-copy strong{color:var(--app-primary);font-size:.88rem}
.waiter-cart{
  grid-area:ticket;
  position:sticky;
  top:80px;
  max-height:calc(100vh - 94px);
  overflow:auto;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:var(--app-shadow);
  padding:0;
  scrollbar-width:thin;
}
.waiter-cart-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:0;
}
.waiter-cart-head .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
.waiter-cart-head #waiterCartClear{
  border-color:#efb4ba;
  background:#fff5f6;
  color:#b42332;
}
.waiter-cart-head #waiterCartClear:hover,
.waiter-cart-head #waiterCartClear:focus-visible{
  border-color:#b42332;
  background:#b42332;
  color:#fff;
  box-shadow:0 0 0 3px rgba(180,35,50,.16);
}
.waiter-cart-head #waiterCartClear:hover i,
.waiter-cart-head #waiterCartClear:hover span,
.waiter-cart-head #waiterCartClear:focus-visible i,
.waiter-cart-head #waiterCartClear:focus-visible span{color:#fff}
.waiter-cart-list{display:flex;flex-direction:column;gap:9px}
.waiter-cart-line{
  padding:10px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
}
.waiter-cart-line>div:first-child{min-width:0;display:flex;flex-direction:column;gap:2px}
.waiter-cart-line b{font-size:.82rem}
.waiter-cart-line span,.waiter-cart-line small{color:var(--app-muted);font-size:.68rem}
.waiter-cart-controls{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:7px;
}
.waiter-note-field{display:flex;flex-direction:column;gap:5px;margin:10px 12px 0}
.waiter-note-field span{color:var(--app-muted);font-size:.72rem;font-weight:850}
.waiter-cart-total{
  margin:10px 12px 0;
  padding:12px;
  border:1px solid #cfe0ff;
  border-radius:8px;
  background:#f4f8ff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.waiter-cart-total span{color:var(--app-muted);font-size:.76rem;font-weight:850}
.waiter-cart-total b{color:var(--app-primary);font-size:1.18rem;font-weight:900}
.waiter-submit-row{display:grid;grid-template-columns:1fr;gap:8px;margin:10px 12px 12px}
.waiter-submit-row .btn{min-height:44px}

@media (max-width:1199px){
  .waiter-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}
  .waiter-filter-bar{grid-template-columns:1fr}
  .waiter-workspace,.waiter-table-layout,.waiter-catalog-shell{grid-template-columns:1fr}
  .waiter-catalog-shell{
    grid-template-areas:
      "categories"
      "catalog"
      "ticket";
  }
  .waiter-side,.waiter-order-panel,.waiter-cart{position:static;top:auto;max-height:none}
  .waiter-order-panel{order:2}
  .waiter-sale-panel{order:1}
  .waiter-mobile-cart-bar{
    position:sticky;
    top:72px;
    z-index:1020;
    display:flex;
  }
}
@media (max-width:767px){
  .waiter-head-actions{width:100%}
  .waiter-head-actions .btn{flex:1}
  .waiter-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .waiter-filter-bar{padding:9px}
  .waiter-filter-chips{padding-bottom:2px}
  .waiter-filter-chips button{min-height:36px;padding:6px 9px;font-size:.72rem}
  .waiter-metrics>div{grid-template-columns:30px 1fr;min-height:68px}
  .waiter-metrics b{grid-column:2;font-size:1.15rem}
  .waiter-table-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .waiter-catalog-head{flex-direction:column}
  .waiter-search{width:100%}
  .waiter-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .waiter-product-card{min-height:152px}
  .waiter-product-visual{aspect-ratio:1.55}
  .waiter-product-copy{padding:8px}
  .waiter-product-copy b{font-size:.76rem}
  .waiter-product-copy small{font-size:.62rem}
  .waiter-product-copy strong{font-size:.8rem}
  .waiter-cart{padding:11px}
  .waiter-order-item,.waiter-cart-line,.waiter-ready-card{grid-template-columns:1fr}
  .waiter-order-item form,.waiter-ready-card form{justify-self:stretch}
  .waiter-order-item .btn,.waiter-ready-card .btn{width:100%}
}
@media (max-width:460px){
  .waiter-section{padding:11px}
  .waiter-metrics{grid-template-columns:1fr}
  .waiter-table-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .waiter-table-card{min-height:130px;padding:10px}
  .waiter-table-top b{font-size:.88rem}
  .waiter-table-top span{font-size:.64rem}
  .waiter-table-top i{width:30px;height:30px}
  .waiter-table-foot{font-size:.68rem;flex-direction:column}
  .waiter-mobile-cart-bar{top:62px}
  .waiter-mobile-cart-bar .btn{padding:6px 8px;font-size:.74rem}
  .waiter-request-card{grid-template-columns:38px minmax(0,1fr)}
}
@media (max-width:340px){
  .waiter-table-grid,.waiter-product-grid{grid-template-columns:1fr}
}

/* Android garson uygulaması: yerel kabuk zaten logo, yenileme ve gezinme sağlar. */
body.waiter-android-app{background:#f3f7f8;overscroll-behavior-y:contain}
body.waiter-android-app .workspace-embedded-main{padding:6px 6px 76px;background:#f3f7f8}
body.waiter-android-app .waiter-page:not(.waiter-table-page)>.waiter-head{display:none}
body.waiter-android-app .waiter-table-page>.waiter-head{
  margin:0 0 6px;
  padding:8px 10px;
  border:1px solid var(--app-border);
  border-radius:10px;
  background:#fff;
  box-shadow:none;
  align-items:center;
}
body.waiter-android-app .waiter-table-page>.waiter-head .eyebrow,
body.waiter-android-app .waiter-table-page>.waiter-head .text-muted{display:none}
body.waiter-android-app .waiter-table-page>.waiter-head h4{font-size:1rem}
body.waiter-android-app .waiter-head-actions{width:auto;margin-left:auto}
body.waiter-android-app .waiter-head-actions .btn{min-height:34px;padding:6px 9px;font-size:.72rem}
body.waiter-android-app .waiter-metrics{
  display:flex;
  gap:6px;
  margin:0 0 7px;
  overflow-x:auto;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
}
body.waiter-android-app .waiter-metrics::-webkit-scrollbar{display:none}
body.waiter-android-app .waiter-metrics>div{
  flex:0 0 128px;
  min-height:48px;
  padding:7px;
  grid-template-columns:27px minmax(0,1fr) auto;
  gap:6px;
  scroll-snap-align:start;
  box-shadow:none;
}
body.waiter-android-app .waiter-metrics i{width:27px;height:27px;font-size:.72rem}
body.waiter-android-app .waiter-metrics span{font-size:.62rem;line-height:1.1}
body.waiter-android-app .waiter-metrics b{grid-column:auto;font-size:.92rem}
body.waiter-android-app .waiter-filter-bar{
  position:sticky;
  top:0;
  z-index:1025;
  margin:0 0 7px;
  padding:6px;
  gap:6px;
  border-radius:10px;
  box-shadow:0 5px 14px rgba(24,33,47,.08);
}
body.waiter-android-app .waiter-filter-search .form-control{min-height:36px;font-size:.78rem}
body.waiter-android-app .waiter-filter-chips{gap:5px}
body.waiter-android-app .waiter-filter-chips button{min-height:32px;padding:5px 8px;font-size:.66rem}
body.waiter-android-app .waiter-workspace{display:block}
body.waiter-android-app .waiter-section{padding:8px;border-radius:10px;box-shadow:none}
body.waiter-android-app .waiter-section+.waiter-section{margin-top:7px}
body.waiter-android-app .waiter-section-head{margin-bottom:7px}
body.waiter-android-app .waiter-section-head h5{font-size:.86rem}
body.waiter-android-app .waiter-section-head span{font-size:.64rem}
body.waiter-android-app .waiter-table-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
body.waiter-android-app .waiter-table-card{min-height:108px;padding:8px;gap:6px;border-radius:9px}
body.waiter-android-app .waiter-table-top b{font-size:.82rem}
body.waiter-android-app .waiter-table-top span{font-size:.58rem}
body.waiter-android-app .waiter-table-top i{width:27px;height:27px;font-size:.72rem}
body.waiter-android-app .waiter-table-state{padding:4px 6px;font-size:.61rem}
body.waiter-android-app .waiter-table-foot{font-size:.61rem;flex-direction:row}
body.waiter-android-app .waiter-side{position:static;margin-top:7px}
body.waiter-android-app .waiter-mobile-cart-bar{top:0;margin-bottom:6px;padding:6px;border-radius:10px}
body.waiter-android-app .waiter-pos-commandbar{display:none}
body.waiter-android-app .waiter-pos-category-panel{
  position:sticky;
  top:48px;
  z-index:1020;
  padding:4px;
  margin-bottom:6px;
  border-radius:10px;
  box-shadow:0 5px 14px rgba(24,33,47,.09);
}
body.waiter-android-app .waiter-pos-category-panel .pos-category-head{display:none}
body.waiter-android-app .waiter-category-strip{gap:5px;padding:2px}
body.waiter-android-app .waiter-category-strip button{min-height:34px;padding:5px 8px;font-size:.66rem}
body.waiter-android-app .waiter-pos-category-panel .pos-category-arrow{width:32px;height:34px}
body.waiter-android-app .waiter-catalog{min-height:0;padding:7px;border-radius:10px;box-shadow:none}
body.waiter-android-app .waiter-catalog-head{margin-bottom:6px}
body.waiter-android-app .waiter-catalog-head>div:first-child{display:none}
body.waiter-android-app .waiter-search .form-control{min-height:36px;font-size:.76rem}
body.waiter-android-app .waiter-product-grid{gap:6px;padding:0}
body.waiter-android-app .waiter-product-card{min-height:144px;border-radius:9px}
body.waiter-android-app .waiter-product-copy{min-height:72px;padding:7px}
body.waiter-android-app .waiter-product-copy b{font-size:.7rem}
body.waiter-android-app .waiter-product-copy small{font-size:.56rem}
body.waiter-android-app .waiter-product-copy strong{font-size:.72rem}
body.waiter-android-app .waiter-cart{margin-top:7px;border-radius:10px;box-shadow:none}
@media (max-width:340px){
  body.waiter-android-app .waiter-table-grid,
  body.waiter-android-app .waiter-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.cash-metrics{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
}
.cash-metrics>div{
  border:1px solid var(--app-border);
  border-radius:8px;
  padding:12px;
  background:#fff;
}
.cash-metrics span{
  display:block;
  color:var(--app-muted);
  font-size:.82rem;
}
.cash-metrics b{
  display:block;
  margin-top:4px;
  font-size:1.15rem;
}
.cash-session-head{
  min-height:72px;
  padding:14px 16px;
  border:1px solid #bdeccf;
  border-radius:10px;
  background:#f2fbf5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.cash-session-head>div:first-child{display:flex;align-items:center;gap:11px;min-width:0}
.cash-session-head>div:first-child>div{display:flex;flex-direction:column;min-width:0}
.cash-session-head small{color:var(--app-muted);font-size:.74rem}
.cash-session-icon{width:42px;height:42px;border-radius:10px;background:#dff7e8;color:var(--app-success);display:grid;place-items:center;font-size:1.1rem}
.cash-kpi-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
}
.cash-kpi-grid>div{
  min-height:94px;
  padding:12px;
  border:1px solid var(--app-border);
  border-radius:9px;
  background:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.cash-kpi-grid span{color:var(--app-muted);font-size:.7rem;font-weight:850;text-transform:uppercase}
.cash-kpi-grid b{margin:5px 0 2px;font-size:1.05rem;white-space:nowrap}
.cash-kpi-grid small{color:var(--app-muted);font-size:.66rem}
.cash-kpi-grid .is-primary{border-color:#bad0f5;background:#f5f8ff}
.cash-kpi-grid .is-primary b{color:var(--app-primary)}
.cash-kpi-grid .is-danger{border-color:#fecaca;background:#fff7f7}
.cash-kpi-grid .is-danger b{color:var(--app-danger)}
.cash-payment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:9px}
.cash-payment-grid>div{padding:11px;border:1px solid var(--app-border);border-radius:8px;background:#fbfcfe;display:flex;flex-direction:column}
.cash-payment-grid span{display:flex;align-items:center;gap:7px;color:#475467;font-size:.75rem;font-weight:850}
.cash-payment-grid span i{color:var(--app-primary)}
.cash-payment-grid b{margin-top:6px;font-size:1rem}
.cash-payment-grid small{color:var(--app-muted);font-size:.64rem;line-height:1.35}
.cash-movement-list{display:flex;flex-direction:column;border:1px solid var(--app-border);border-radius:8px;overflow:hidden}
.cash-movement-list>div{padding:10px;display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:9px;border-bottom:1px solid #edf1f6}
.cash-movement-list>div:last-child{border-bottom:0}
.cash-movement-list>div>i{width:32px;height:32px;border-radius:8px;display:grid;place-items:center}
.cash-movement-list .is-in>i{color:#16803c;background:#eaf8ef}
.cash-movement-list .is-out>i{color:#b42318;background:#fff0f0}
.cash-movement-list>div>div{min-width:0;display:flex;flex-direction:column}
.cash-movement-list b{font-size:.78rem}
.cash-movement-list span{color:var(--app-muted);font-size:.67rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cash-movement-list strong{font-size:.82rem;white-space:nowrap}
.cash-movement-list .is-in strong{color:#16803c}
.cash-movement-list .is-out strong{color:#b42318}
.cash-denominations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.cash-denominations label{padding:6px;border:1px solid var(--app-border);border-radius:7px;background:#fafbfc;display:flex;align-items:center;gap:5px}
.cash-denominations span{min-width:43px;color:#475467;font-size:.68rem;font-weight:850}
.cash-denominations input{text-align:center;padding-left:4px;padding-right:4px}
.cash-denomination-total{margin-top:8px;padding:9px 10px;border-radius:7px;background:#eef5ff;display:flex;justify-content:space-between;font-size:.76rem}
.cash-warning-confirm{padding:10px;border:1px solid #f3d296;border-radius:8px;background:#fffaf0;display:flex;align-items:flex-start;gap:8px;font-size:.75rem;font-weight:750}
.cash-report-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cash-report-meta>div{padding:12px;border:1px solid var(--app-border);border-radius:8px;background:#fff;display:flex;flex-direction:column}
.cash-report-meta span{color:var(--app-muted);font-size:.7rem;font-weight:850;text-transform:uppercase}
.cash-report-meta b{margin-top:4px;font-size:.88rem}
.cash-report-meta small{color:var(--app-muted);font-size:.68rem}
.cash-count-list{display:flex;flex-direction:column}
.cash-count-list>div{padding:7px 0;border-bottom:1px solid #edf1f6;display:flex;justify-content:space-between;gap:10px;font-size:.78rem}
.cash-count-list>div:last-child{border-bottom:0}
@media (max-width:1199px){.cash-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767px){.cash-session-head{align-items:flex-start;flex-direction:column}.cash-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cash-report-meta{grid-template-columns:1fr}}
@media (max-width:575.98px){
  .cash-metrics{grid-template-columns:1fr}
  .cash-kpi-grid{grid-template-columns:1fr 1fr}
  .cash-denominations{grid-template-columns:repeat(2,minmax(0,1fr))}
}

.dashboard-shell{
  display:flex;
  flex-direction:column;
  gap:18px;
}
.dashboard-head{
  order:0;
  margin-bottom:0;
  min-height:88px;
  padding:16px 18px;
  border:1px solid var(--app-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 30px rgba(31,43,61,.06);
}
.dashboard-shell>.alert{order:1}
.dashboard-quick-access{order:2}
.dashboard-filter{order:3}
.dashboard-sales-summary{order:4}
.dashboard-kpi-grid{order:5}
.dashboard-order-stream{order:6}
.dashboard-cash-strip{order:7}
.dashboard-ops-grid{order:8}
.dashboard-title-block{display:flex;align-items:center;gap:13px}
.dashboard-title-block>span:last-child{display:flex;min-width:0;flex-direction:column}
.dashboard-head>div:last-child .btn,
.dashboard-date-fields .btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1.15;
  text-align:center;
}
.dashboard-title-icon{
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#eef5ff;
  color:var(--app-primary);
  font-size:1.25rem;
}
.dashboard-sales-summary{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.dashboard-sales-summary article{
  min-width:0;
  min-height:112px;
  padding:16px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  grid-template-areas:"icon label" "icon value" "icon note";
  column-gap:12px;
  align-items:center;
  border:1px solid var(--app-border);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--app-shadow);
}
.dashboard-sales-summary i{
  grid-area:icon;
  width:42px;height:42px;border-radius:11px;
  display:grid;place-items:center;
  background:#eaf2ff;color:var(--app-primary);
}
.dashboard-sales-summary span{grid-area:label;color:var(--app-muted);font-size:.72rem;font-weight:900;text-transform:uppercase}
.dashboard-sales-summary b{grid-area:value;color:var(--app-text);font-size:1.28rem;line-height:1.12;overflow-wrap:anywhere}
.dashboard-sales-summary small{grid-area:note;color:var(--app-muted);font-size:.69rem;font-weight:700}
.dashboard-sales-entry{min-height:48px;padding-left:18px;padding-right:18px}
.dashboard-executive-grid{
  display:grid;
  grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) minmax(0,1.15fr);
  gap:14px;
}
.dashboard-executive-card{
  min-width:0;
  min-height:265px;
  padding:18px;
  border:1px solid var(--app-border);
  border-radius:20px;
  background:#fff;
  box-shadow:0 8px 24px rgba(31,43,61,.06);
  overflow:hidden;
}
.dashboard-executive-card.is-days{
  border-color:#b8d2ed;
  background:linear-gradient(135deg,#dcecff 0%,#c7dff7 100%);
}
.dashboard-executive-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.dashboard-executive-head>span{display:flex;min-width:0;flex-direction:column}
.dashboard-executive-head small{
  color:#667085;
  font-size:.68rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.dashboard-executive-head b{margin-top:3px;color:#172033;font-size:1rem}
.dashboard-executive-head>i{
  width:42px;
  height:42px;
  flex:0 0 42px;
  display:grid;
  place-items:center;
  border-radius:13px;
  background:rgba(255,255,255,.72);
  color:#2069b8;
}
.dashboard-day-comparison{
  min-height:166px;
  margin-top:16px;
  padding:12px;
  display:grid;
  grid-template-columns:1.3fr repeat(2,1fr);
  align-items:end;
  gap:8px;
  border:1px solid rgba(255,255,255,.84);
  border-radius:16px;
  background:rgba(255,255,255,.32);
}
.dashboard-day-comparison>div{
  min-width:0;
  min-height:112px;
  padding:12px 10px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  border-bottom:3px solid rgba(31,111,235,.22);
  border-radius:13px 13px 4px 4px;
}
.dashboard-day-comparison>div.is-current{
  min-height:142px;
  border:1px solid rgba(255,255,255,.9);
  border-bottom:4px solid var(--app-primary);
  background:rgba(255,255,255,.72);
  box-shadow:0 10px 28px rgba(33,85,137,.12);
}
.dashboard-day-comparison span{color:#5d6b7c;font-size:.7rem;font-weight:850}
.dashboard-day-comparison b{margin-top:7px;color:#172033;font-size:1.12rem;overflow-wrap:anywhere}
.dashboard-day-comparison .is-current b{font-size:1.45rem}
.dashboard-day-comparison small{margin-top:4px;color:#65758a;font-size:.7rem}
.dashboard-gauge{
  --gauge-value:0%;
  width:172px;
  height:172px;
  margin:16px auto 0;
  padding:18px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:conic-gradient(#72cbbb var(--gauge-value),#edf1f5 0);
  position:relative;
}
.dashboard-gauge::before{
  content:"";
  position:absolute;
  inset:17px;
  border-radius:50%;
  background:#fff;
  box-shadow:inset 0 0 0 1px #edf1f5;
}
.dashboard-gauge.is-negative{background:conic-gradient(#e87979 var(--gauge-value),#edf1f5 0)}
.dashboard-gauge>div{position:relative;z-index:1;display:flex;align-items:center;flex-direction:column;text-align:center}
.dashboard-gauge small{color:#748196;font-size:.68rem;font-weight:850}
.dashboard-gauge b{margin-top:3px;color:#172033;font-size:1.8rem;line-height:1}
.dashboard-gauge span{margin-top:7px;color:#8a95a5;font-size:.61rem;line-height:1.35}
.dashboard-payment-overview{
  min-height:178px;
  margin-top:10px;
  display:grid;
  grid-template-columns:132px minmax(0,1fr);
  gap:14px;
  align-items:center;
}
.dashboard-payment-chart{position:relative;width:132px;height:132px}
.dashboard-payment-details{display:grid;gap:12px}
.dashboard-payment-details>div{padding-bottom:10px;border-bottom:1px solid #edf1f5}
.dashboard-payment-details>div:last-child{padding-bottom:0;border-bottom:0}
.dashboard-payment-details span{display:flex;justify-content:space-between;gap:8px;color:#5f6d80;font-size:.72rem;font-weight:850}
.dashboard-payment-details em{font-style:normal;color:var(--app-primary)}
.dashboard-payment-details b{display:block;margin-top:4px;color:#172033;font-size:1.05rem}
.dashboard-payment-details small{color:#8a95a5;font-size:.66rem}
.dashboard-primary-metrics{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  border:1px solid var(--app-border);
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(31,43,61,.05);
  overflow:hidden;
}
.dashboard-primary-metrics article{
  min-width:0;
  min-height:118px;
  padding:18px 20px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  border-right:1px solid var(--app-border);
}
.dashboard-primary-metrics article:last-child{border-right:0}
.dashboard-primary-metrics span{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  color:#8995a6;
  font-size:.7rem;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.dashboard-primary-metrics em{
  padding:4px 7px;
  border-radius:6px;
  background:#dcfce7;
  color:#13824b;
  font-size:.65rem;
  font-style:normal;
  letter-spacing:0;
}
.dashboard-primary-metrics em.is-down{background:#fee2e2;color:#b42318}
.dashboard-primary-metrics b{margin-top:10px;color:#172033;font-size:1.7rem;line-height:1.1;overflow-wrap:anywhere}
.dashboard-primary-metrics small{margin-top:7px;color:#8793a4;font-size:.68rem}
.dashboard-sales-trend{border-radius:18px}
.dashboard-sales-trend .dashboard-panel-head>small{color:#7e8999;font-size:.72rem}
.dashboard-sales-trend .dashboard-chart-box{height:330px;min-height:330px}
.dashboard-quick-access{
  display:flex;
  align-items:stretch;
  gap:14px;
}

.dashboard-order-stream{margin-bottom:0}.dashboard-order-stream-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:0 16px 16px}.dashboard-order-stream-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;align-items:center;gap:11px;padding:11px;border:1px solid #e3eaf3;border-radius:13px;color:#172033;text-decoration:none;background:#fff;transition:.18s ease}.dashboard-order-stream-row:hover{border-color:#9db9ee;box-shadow:0 7px 18px rgba(30,64,175,.09);color:#172033}.dashboard-order-source-icon{width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#edf4ff;color:#1d67d6;font-size:18px}.dashboard-order-source-icon.is-table{background:#e7f3ff;color:#1160bd}.dashboard-order-source-icon.is-online{background:#e7f9ef;color:#087a49}.dashboard-order-source-icon.is-pickup{background:#fff2de;color:#ae6000}.dashboard-order-source-icon.is-delivery{background:#f0ecff;color:#6941c6}.dashboard-order-source-icon.is-yemeksepeti{background:#fff0f1;color:#d51632}.dashboard-order-source-icon.is-getir{background:#f1eaff;color:#5d3ebc}.dashboard-order-source-icon.is-trendyol{background:#fff0e7;color:#e65f05}.dashboard-order-stream-main,.dashboard-order-stream-state{display:grid;min-width:0}.dashboard-order-stream-main small,.dashboard-order-stream-state small{color:#667085;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-order-stream-state{text-align:right}.dashboard-order-stream-row time{font-size:12px;color:#7b8797;white-space:nowrap}
@media(max-width:980px){.dashboard-order-stream-list{grid-template-columns:1fr}}@media(max-width:600px){.dashboard-order-stream-row{grid-template-columns:40px minmax(0,1fr) auto}.dashboard-order-stream-state{grid-column:2;text-align:left}.dashboard-order-stream-row time{grid-column:3;grid-row:1}}
.dashboard-quick-group{
  flex:var(--quick-count) 1 0;
  min-width:0;
  padding:14px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:var(--app-shadow);
}
.dashboard-quick-title{
  margin-bottom:10px;
  color:var(--app-muted);
  font-size:.74rem;
  font-weight:900;
  text-transform:uppercase;
}
.dashboard-quick-grid{
  display:grid;
  grid-template-columns:repeat(var(--quick-count),minmax(0,1fr));
  gap:10px;
  height:calc(100% - 26px);
}
.dashboard-quick-card{
  --quick-color:var(--app-primary);
  min-height:132px;
  padding:14px 10px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#f8fafc;
  color:var(--app-text);
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
  transition:transform .12s ease,border-color .12s ease,box-shadow .12s ease,background .12s ease;
}
.dashboard-quick-card:hover{
  color:var(--app-text);
  border-color:color-mix(in srgb,var(--quick-color) 55%,white);
  background:color-mix(in srgb,var(--quick-color) 7%,white);
  box-shadow:0 12px 24px rgba(24,33,47,.08);
  transform:translateY(-1px);
}
.dashboard-quick-card i{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:8px;
  color:var(--quick-color);
  background:color-mix(in srgb,var(--quick-color) 11%,white);
  font-size:1.55rem;
}
.dashboard-quick-card span{
  max-width:100%;
  color:var(--app-text);
  font-size:.88rem;
  font-weight:800;
  font-weight:600;
  line-height:1.22;
  overflow-wrap:anywhere;
}
.dashboard-quick-card.is-sales-primary{--quick-color:#1f6feb}
.dashboard-quick-card.is-sales{--quick-color:#16a34a}
.dashboard-quick-card.is-waiter{--quick-color:#7c3aed}
.dashboard-quick-card.is-orders{--quick-color:#d97706}
.dashboard-quick-card.is-couriers{--quick-color:#0f766e}
.dashboard-quick-card.is-zones{--quick-color:#2563eb}
.dashboard-quick-card.is-kitchen{--quick-color:#dc2626}
.dashboard-quick-card.is-tables{--quick-color:#0891b2}
.dashboard-filter{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:12px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:var(--app-shadow);
}
.dashboard-periods{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.dashboard-periods label{
  position:relative;
  margin:0;
}
.dashboard-periods input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.dashboard-periods span{
  display:flex;
  align-items:center;
  min-height:38px;
  padding:8px 12px;
  border:1px solid var(--app-border);
  border-radius:8px;
  color:var(--app-muted);
  font-weight:800;
  font-size:.82rem;
  cursor:pointer;
}
.dashboard-periods label.is-active span,
.dashboard-periods input:checked+span{
  color:#fff;
  border-color:var(--app-primary);
  background:var(--app-primary);
}
.dashboard-date-fields{
  display:grid;
  grid-template-columns:150px 150px auto;
  gap:8px;
  align-items:center;
}
.dashboard-kpi-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.dash-kpi{
  min-height:132px;
  display:grid;
  grid-template-columns:48px minmax(0,1fr);
  gap:12px;
  align-items:start;
  padding:16px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:var(--app-shadow);
}
.dash-kpi-icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:8px;
  font-size:1.2rem;
}
.dash-kpi span{
  display:block;
  color:var(--app-muted);
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
}
.dash-kpi b{
  display:block;
  min-width:0;
  margin-top:6px;
  color:var(--app-text);
  font-size:1.45rem;
  line-height:1.12;
  overflow-wrap:anywhere;
}
.dash-kpi small{
  display:block;
  margin-top:7px;
  color:var(--app-muted);
  font-weight:750;
  line-height:1.35;
}
.dash-kpi.is-blue .dash-kpi-icon{background:#eaf2ff;color:#1f6feb}
.dash-kpi.is-green .dash-kpi-icon{background:#eaf8ef;color:#16803c}
.dash-kpi.is-amber .dash-kpi-icon{background:#fff7e6;color:#b7791f}
.dash-kpi.is-purple .dash-kpi-icon{background:#f1e9ff;color:#7c3aed}
.dash-kpi.is-red .dash-kpi-icon{background:#fff0f0;color:#c92a2a}
.dash-kpi.is-cyan .dash-kpi-icon{background:#e7f8fb;color:#0891b2}
.dash-kpi.is-slate .dash-kpi-icon{background:#eef2f7;color:#334155}
.dash-kpi.is-dark .dash-kpi-icon{background:#edf0f3;color:#18212f}
.dashboard-cash-strip{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:14px 16px;
  border:1px solid #b9dcff;
  border-radius:8px;
  background:#f3f8ff;
}
.dashboard-cash-strip>div{
  display:flex;
  align-items:center;
  gap:12px;
}
.dashboard-cash-strip i{
  width:40px;
  height:40px;
  display:grid;
  place-items:center;
  border-radius:8px;
  color:#1f6feb;
  background:#e1efff;
}
.dashboard-cash-strip span{
  display:flex;
  flex-direction:column;
  gap:2px;
}
.dashboard-cash-strip small{color:var(--app-muted)}
.dashboard-cash-strip.is-closed{border-color:#f3d296;background:#fffaf0}
.dashboard-cash-strip.is-closed i{color:#a16207;background:#fff3dc}
.dashboard-chart-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}
.dashboard-panel{
  min-width:0;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:var(--app-shadow);
  overflow:hidden;
}
.dashboard-chart-wide{grid-column:auto}
.dashboard-panel-head{
  min-height:64px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding:15px 16px;
  border-bottom:1px solid var(--app-border);
}
.dashboard-panel-head span{
  display:block;
  color:var(--app-muted);
  font-size:.74rem;
  font-weight:900;
  text-transform:uppercase;
}
.dashboard-panel-head b{
  display:block;
  margin-top:2px;
  color:var(--app-text);
  font-size:1rem;
}
.dashboard-panel-head>a{
  color:var(--app-primary);
  font-weight:850;
  font-size:.82rem;
  text-decoration:none;
  white-space:nowrap;
}
.dashboard-panel-head>i{
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border-radius:8px;
  color:var(--app-primary);
  background:#eef5ff;
}
.dashboard-chart-box{
  position:relative;
  min-height:278px;
  height:278px;
  padding:14px;
}
.dashboard-mini-charts{
  display:grid;
  grid-template-columns:1fr 1fr;
}
.dashboard-mini-charts .dashboard-chart-box{
  min-height:228px;
  height:228px;
}
.dashboard-ops-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.dashboard-list{
  display:flex;
  flex-direction:column;
  padding:8px;
}
.dashboard-list-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  min-height:64px;
  padding:11px 10px;
  border-radius:8px;
  color:var(--app-text);
  text-decoration:none;
}
.dashboard-list-row+ .dashboard-list-row{
  border-top:1px solid #eef2f7;
  border-radius:0;
}
.dashboard-list-row:hover{
  background:#f6f8fb;
  color:var(--app-text);
}
.dashboard-list-row>div{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:3px;
}
.dashboard-list-row b{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.9rem;
}
.dashboard-list-row small{
  color:var(--app-muted);
  font-weight:700;
}
.dashboard-list-row>span{
  flex:0 0 auto;
  color:var(--app-text);
  font-weight:900;
  font-size:.86rem;
  text-align:right;
}
.dashboard-list-row.is-alert>span,
.dashboard-list-row.is-alert small{
  color:var(--app-danger);
}
.dashboard-list-row.is-ready>span{
  color:var(--app-success);
}
.report-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.report-chart-grid>.report-chart-wide{grid-column:1/-1}
.report-chart-box{position:relative;height:290px;min-height:290px;padding:14px}
.report-chart-wide .report-chart-box{height:330px;min-height:330px}
.report-filter-shell{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  padding:14px;
  border:1px solid var(--app-border);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--app-shadow);
}
.report-filter-main{display:grid;gap:12px;min-width:0;padding: 13px;border: 1px solid #ced2d6;border-radius: 10px;background: #eaf8ef;}
.report-filter-heading{display:flex;align-items:center;gap:10px}
.report-filter-heading>span{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:#eaf2ff;color:var(--app-primary)}
.report-filter-heading>div{display:grid}.report-filter-heading small,.report-default-filter small{color:var(--app-primary);font-size:.66rem;font-weight:900;letter-spacing:.04em}.report-filter-heading b,.report-default-filter b{font-size:.92rem}
.report-periods{flex-wrap:nowrap;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}
.report-periods label{flex:0 0 auto}
.report-custom-range{display:grid;grid-template-columns:minmax(145px,1fr) minmax(145px,1fr) auto auto;gap:8px;align-items:end}
.report-custom-range label{display:grid;gap:5px;margin:0}.report-custom-range label>span{color:var(--app-muted);font-size:.72rem;font-weight:800}
.report-custom-range .btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap}
.report-default-filter{padding:13px;border:1px solid #d9e5f3;border-radius:10px;background:#f7faff;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}
.report-default-filter>div{display:grid;gap:3px}.report-default-filter p{margin:2px 0 0;color:var(--app-muted);font-size:.76rem}
.report-default-filter form{display:grid;grid-template-columns:minmax(140px,1fr) auto;gap:8px;align-items:center}.report-default-filter .btn{min-height:40px;white-space:nowrap}

@media (max-width:1399px){
  .dashboard-quick-access{flex-direction:column}
  .dashboard-quick-group{flex:0 0 auto}
  .dashboard-quick-grid{
    display:flex;
    height:auto;
    overflow-x:auto;
    padding-bottom:3px;
    scrollbar-width:thin;
  }
  .dashboard-quick-card{flex:0 0 150px;min-height:146px}
  .dashboard-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:1099px){
  .dashboard-sales-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-executive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-executive-card.is-payment{grid-column:1/-1;min-height:220px}
  .dashboard-executive-card.is-payment .dashboard-payment-overview{
    max-width:640px;
    min-height:145px;
    margin-left:auto;
    margin-right:auto;
    grid-template-columns:150px minmax(300px,1fr);
  }
  .dashboard-executive-card.is-payment .dashboard-payment-details{grid-template-columns:1fr 1fr}
  .dashboard-executive-card.is-payment .dashboard-payment-details>div{padding:0 14px;border-bottom:0;border-right:1px solid #edf1f5}
  .dashboard-executive-card.is-payment .dashboard-payment-details>div:last-child{border-right:0}
  .dashboard-ops-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-ops-grid>.dashboard-panel:last-child:nth-child(odd){grid-column:1/-1}
}
@media (max-width:991px){
  .dashboard-head{align-items:flex-start}
  .dashboard-head>div:last-child{width:100%;justify-content:flex-start}
  .dashboard-executive-grid{grid-template-columns:1fr}
  .dashboard-executive-card.is-payment{grid-column:auto}
  .dashboard-primary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-primary-metrics article:nth-child(2){border-right:0}
  .dashboard-primary-metrics article:nth-child(-n+2){border-bottom:1px solid var(--app-border)}
  .dashboard-filter{align-items:stretch;flex-direction:column}
  .dashboard-date-fields{grid-template-columns:1fr 1fr auto;width:100%}
  .dashboard-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .report-filter-shell{grid-template-columns:1fr}
  .report-default-filter{grid-template-columns:minmax(0,1fr) auto}
}
@media (max-width:767px){
  .report-chart-grid{grid-template-columns:1fr}
  .report-chart-grid>.report-chart-wide{grid-column:auto}
  .report-chart-box,.report-chart-wide .report-chart-box{height:270px;min-height:270px}
  .report-custom-range{grid-template-columns:1fr 1fr}
  .report-custom-range .btn{width:100%}
  .report-default-filter{grid-template-columns:1fr}
  .report-default-filter form{grid-template-columns:1fr auto}
  .dashboard-head{padding:14px}
  .dashboard-title-icon{width:44px;height:44px;flex-basis:44px;border-radius:13px}
  .dashboard-head>div:last-child{display:grid!important;grid-template-columns:1fr 1fr}
  .dashboard-head>div:last-child .btn{min-height:42px;justify-content:center}
  .dashboard-sales-entry{grid-column:1/-1}
  .dashboard-executive-card{min-height:0;padding:15px;border-radius:16px}
  .dashboard-day-comparison{min-height:145px;padding:9px}
  .dashboard-day-comparison>div{min-height:96px;padding:9px 7px}
  .dashboard-day-comparison>div.is-current{min-height:122px}
  .dashboard-day-comparison b{font-size:.92rem}
  .dashboard-day-comparison .is-current b{font-size:1.12rem}
  .dashboard-executive-card.is-payment .dashboard-payment-overview{
    max-width:none;
    min-height:0;
    grid-template-columns:112px minmax(0,1fr);
    gap:10px;
  }
  .dashboard-executive-card.is-payment .dashboard-payment-details{grid-template-columns:1fr}
  .dashboard-executive-card.is-payment .dashboard-payment-details>div{padding:0 0 9px;border-right:0;border-bottom:1px solid #edf1f5}
  .dashboard-payment-chart{width:112px;height:112px}
  .dashboard-primary-metrics article{min-height:108px;padding:15px}
  .dashboard-primary-metrics b{font-size:1.35rem}
  .dashboard-sales-trend .dashboard-chart-box{height:255px;min-height:255px}
  .dashboard-quick-group{padding:12px}
  .dashboard-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible;padding-bottom:0}
  .dashboard-quick-card{min-height:108px;padding:12px 8px}
  .dashboard-quick-card i{width:40px;height:40px}
  .dashboard-date-fields{grid-template-columns:1fr}
  .dashboard-kpi-grid,.dashboard-chart-grid,.dashboard-ops-grid{grid-template-columns:1fr}
  .dashboard-ops-grid>.dashboard-panel:last-child:nth-child(odd){grid-column:auto}
  .dashboard-mini-charts{grid-template-columns:1fr}
  .dashboard-chart-box{height:245px;min-height:245px}
  .dash-kpi{min-height:116px}
}
@media (max-width:420px){
  .dashboard-head>div:last-child{grid-template-columns:1fr}
  .dashboard-sales-entry{grid-column:auto}
  .dashboard-primary-metrics{grid-template-columns:1fr}
  .dashboard-primary-metrics article{border-right:0;border-bottom:1px solid var(--app-border)!important}
  .dashboard-primary-metrics article:last-child{border-bottom:0!important}
  .dashboard-executive-card.is-payment .dashboard-payment-overview{grid-template-columns:1fr}
  .dashboard-payment-chart{margin:0 auto}
  .dashboard-quick-card{min-height:102px}
  .dashboard-quick-card span{font-size:.76rem}
  .dashboard-periods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .dashboard-periods span{justify-content:center}
  .dash-kpi{grid-template-columns:42px minmax(0,1fr);padding:13px}
  .dash-kpi-icon{width:42px;height:42px}
  .dash-kpi b{font-size:1.22rem}
}

.pos-popular-strip{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:10px 12px;
  border-bottom:1px solid var(--app-border);
  background:#fffaf0;
}
.pos-popular-title{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}
.pos-popular-title>i{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:8px;
  color:#a16207;
  background:#fef3c7;
}
.pos-popular-title span{display:flex;flex-direction:column;min-width:0}
.pos-popular-title b{font-size:.84rem;color:#1f2937}
.pos-popular-title small{font-size:.68rem;color:#7c6a3a}
.pos-popular-list{
  min-width:0;
  display:flex;
  gap:8px;
  overflow-x:auto;
  padding-bottom:2px;
  scrollbar-width:thin;
}
.pos-popular-chip{
  min-width:148px;
  max-width:210px;
  min-height:58px;
  padding:9px 10px;
  border:1px solid #f0dca4;
  border-radius:8px;
  background:#fff;
  color:#1f2937;
  text-align:left;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
}
.pos-popular-chip:hover:not(:disabled){
  border-color:#d6a91d;
  background:#fff8db;
}
.pos-popular-chip:disabled{
  opacity:.55;
  cursor:not-allowed;
}
.pos-popular-chip span{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  font-size:.78rem;
  font-weight:900;
}
.pos-popular-chip small{
  color:#7c6a3a;
  font-size:.68rem;
  font-weight:800;
}
.pos-product-code{
  color:#475569!important;
  font-weight:850;
}
.order-command-strip{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:10px;
  margin-bottom:14px;
}
.order-command-card{
  min-height:74px;
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:10px;
  align-items:center;
  padding:12px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:var(--app-shadow);
}
.order-command-card>i{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:8px;
  color:var(--app-primary);
  background:#eef5ff;
}
.order-command-card span{min-width:0;display:flex;flex-direction:column;gap:3px}
.order-command-card small{
  color:var(--app-muted);
  font-size:.68rem;
  font-weight:900;
  text-transform:uppercase;
}
.order-command-card b{
  color:var(--app-text);
  font-size:.88rem;
  line-height:1.2;
  overflow-wrap:anywhere;
}
.order-command-card.is-primary>i{color:#fff;background:var(--app-primary)}
.order-command-card.is-success>i{color:#16803c;background:#eaf8ef}
.order-command-card.is-money>i{color:#8a5b00;background:#fff4df}
.order-close-payment-actions{
  flex-wrap:wrap;
}
.order-close-payment-actions .btn{
  min-width:86px;
}

@media (max-width:1399px){
  .order-command-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:991px){
  .pos-popular-strip{grid-template-columns:1fr}
  .order-command-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:575px){
  .dashboard-sales-summary{grid-template-columns:1fr}
  .pos-popular-chip{min-width:136px}
  .order-command-strip{grid-template-columns:1fr}
  .order-close-payment-actions .btn{flex:1 1 calc(50% - 8px)}
}

.audit-summary-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin-bottom:14px;
}
.audit-summary-grid>div{
  min-height:98px;
  padding:14px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#fff;
  box-shadow:var(--app-shadow);
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:10px;
  align-items:center;
}
.audit-summary-grid i{
  width:42px;
  height:42px;
  border-radius:8px;
  display:grid;
  place-items:center;
  color:var(--app-primary);
  background:#eef5ff;
}
.audit-summary-grid span{
  display:block;
  color:var(--app-muted);
  font-size:.74rem;
  font-weight:900;
  text-transform:uppercase;
}
.audit-summary-grid b{
  display:block;
  margin-top:4px;
  font-size:1.22rem;
  line-height:1.15;
}
.audit-summary-grid .is-warning i{color:#a16207;background:#fff4df}
.audit-flow-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.audit-chip-list{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.audit-chip,
.audit-action{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:30px;
  border:1px solid var(--app-border);
  border-radius:999px;
  padding:5px 9px;
  background:#f8fafc;
  color:#344054;
  font-size:.74rem;
  font-weight:850;
}
.audit-chip b{
  min-width:24px;
  height:24px;
  padding:0 7px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#fff;
  color:#1f2937;
}
.audit-chip.is-primary,.audit-action.is-primary{border-color:#bad0f5;background:#f3f7ff;color:var(--app-primary)}
.audit-chip.is-success,.audit-action.is-success{border-color:#bdeccf;background:#f2fbf5;color:var(--app-success)}
.audit-chip.is-warning,.audit-action.is-warning{border-color:#f5d39b;background:#fff8ed;color:#9a6700}
.audit-chip.is-danger,.audit-action.is-danger{border-color:#fecaca;background:#fff5f5;color:#b42318}
.audit-date{white-space:nowrap;font-weight:800;font-size:.78rem}
.audit-context summary{
  cursor:pointer;
  color:var(--app-primary);
  font-size:.76rem;
  font-weight:850;
}
.audit-context dl{
  margin:7px 0 0;
  padding:8px;
  border:1px solid var(--app-border);
  border-radius:8px;
  background:#f8fafc;
}
.audit-context dl>div{
  display:grid;
  grid-template-columns:minmax(90px,.4fr) minmax(0,1fr);
  gap:8px;
  padding:4px 0;
  border-bottom:1px solid #edf1f6;
}
.audit-context dl>div:last-child{border-bottom:0}
.audit-context dt{
  color:#475467;
  font-size:.7rem;
  font-weight:900;
}
.audit-context dd{
  margin:0;
  color:#1f2937;
  font-size:.72rem;
  overflow-wrap:anywhere;
}
@media (max-width:991px){
  .audit-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .audit-flow-grid{grid-template-columns:1fr}
}
@media (max-width:575px){
  .audit-summary-grid{grid-template-columns:1fr}
  .audit-context dl>div{grid-template-columns:1fr}
}

.compliance-status-grid,.compliance-report-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:18px}
.compliance-status-grid>div,.compliance-report-metrics>a{display:grid;grid-template-columns:auto 1fr;gap:3px 10px;align-items:center;padding:15px;border:1px solid var(--app-border);border-radius:14px;background:#fff;color:inherit;text-decoration:none}
.compliance-status-grid i{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#eef2f6;color:#516070}
.compliance-status-grid span,.compliance-report-metrics span{font-size:.72rem;font-weight:850;color:var(--app-muted)}
.compliance-status-grid b,.compliance-report-metrics b{font-size:1rem}
.compliance-status-grid .is-success,.compliance-report-metrics .is-success{border-color:#b8e0ca;background:#f3fbf6}
.compliance-status-grid .is-success i{background:#dff4e7;color:#147044}
.compliance-status-grid .is-warning,.compliance-report-metrics .is-warning{border-color:#f0d49c;background:#fffaf0}
.compliance-status-grid .is-warning i{background:#fff0ce;color:#8a5700}
.compliance-status-grid .is-danger{border-color:#efb9b3;background:#fff6f4}
.compliance-status-grid .is-danger i{background:#ffe4df;color:#a4392b}
.compliance-issue-band{display:flex;gap:12px;padding:15px 17px;margin-bottom:18px;border:1px solid #f0d49c;border-radius:13px;background:#fffaf0;color:#6d4a0a}
.compliance-issue-band>i{margin-top:3px}.compliance-issue-band ul{margin:5px 0 0;padding-left:18px;font-size:.84rem}
.compliance-form{display:grid;gap:18px}
.compliance-form .card{border-color:var(--app-border);border-radius:15px;overflow:hidden}
.compliance-form .card-header{padding:15px 18px}.compliance-form .card-body{padding:18px}
.compliance-inline-note{width:100%;display:flex;align-items:flex-start;gap:8px;padding:10px 12px;border:1px solid #dce6ef;border-radius:9px;background:#f7fafc;color:#526273;font-size:.78rem}
.compliance-flag{height:100%;display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid var(--app-border);border-radius:10px;background:#fafbfc;cursor:pointer}
.compliance-flag span{display:grid}.compliance-flag small{margin-top:2px;color:var(--app-muted)}
.compliance-subtitle{padding-top:5px;border-top:1px solid var(--app-border);font-size:.8rem;font-weight:900;color:#344054}
.compliance-recipe-energy{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:11px;border:1px solid var(--app-border);border-radius:10px;background:#fafbfc}
.compliance-recipe-energy>b{margin-right:4px;font-size:.78rem}.compliance-recipe-energy span{display:inline-flex;gap:5px;align-items:center;padding:5px 8px;border-radius:999px;font-size:.7rem;font-weight:800}
.compliance-recipe-energy .is-ready{background:#e8f7ee;color:#126b40}.compliance-recipe-energy .is-missing{background:#fff0ed;color:#a73524}
.compliance-derived{display:flex;gap:8px;align-items:center;padding:10px 12px;border:1px solid #cfe3d8;border-radius:9px;background:#f4faf6;font-size:.78rem}.compliance-derived span{color:#52625a}
.compliance-allergen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.compliance-allergen-row{display:grid;grid-template-columns:minmax(145px,1fr) auto auto;gap:10px;align-items:center;padding:10px 12px;border:1px solid var(--app-border);border-radius:9px;background:#fff}
.compliance-allergen-row>b{font-size:.78rem}.compliance-allergen-row label{display:flex;align-items:center;gap:5px;font-size:.72rem;color:#4b5563;white-space:nowrap}
.compliance-submit-card{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:16px 18px;border:1px solid #bdd8c8;border-radius:14px;background:#f4faf6}
.compliance-verify{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.compliance-verify span{display:grid}.compliance-verify small{color:#607066}
.compliance-report-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.compliance-report-metrics>a{grid-template-columns:1fr auto}.compliance-report-metrics b{font-size:1.35rem}
.compliance-report-table th{white-space:nowrap;font-size:.72rem}.compliance-report-table td{font-size:.8rem;vertical-align:top}
.compliance-report-pill{display:inline-flex;padding:4px 7px;border-radius:999px;background:#eef2f6;color:#526070;font-size:.68rem;font-weight:850}.compliance-report-pill.is-ready{background:#e5f6ec;color:#126b40}.compliance-report-pill.is-missing{background:#ffe9e5;color:#a73524}.compliance-report-pill.is-warning{background:#fff1d3;color:#845400}
.compliance-report-issues{display:grid;gap:4px;max-width:330px}.compliance-report-issues span{padding-left:8px;border-left:2px solid #e8a239;color:#725018;font-size:.7rem}

@media (max-width:1199px){.compliance-status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compliance-allergen-grid{grid-template-columns:1fr}}
@media (max-width:767px){.compliance-status-grid,.compliance-report-metrics{grid-template-columns:1fr}.compliance-allergen-row{grid-template-columns:1fr}.compliance-allergen-row label{white-space:normal}.compliance-submit-card{align-items:stretch;flex-direction:column}}

/* System packages and module licensing */
.package-page-head{align-items:flex-end}.package-head-badges{display:flex;gap:9px;flex-wrap:wrap;justify-content:flex-end}.package-head-badges span{display:grid;min-width:96px;padding:9px 13px;border:1px solid var(--app-border);border-radius:12px;background:#fff;color:var(--app-muted);font-size:.7rem;text-align:center}.package-head-badges b{font-size:1.05rem;color:#132238}
.package-rule-banner{display:flex;align-items:flex-start;gap:13px;margin:18px 0;padding:15px 17px;border:1px solid #bcd2ff;border-radius:14px;background:#f2f7ff;color:#234b8f}.package-rule-banner>i{width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:#dce9ff;color:#1767d8}.package-rule-banner div{display:grid;gap:3px}.package-rule-banner span{font-size:.82rem;color:#4d6384}
.package-section{margin-top:24px}.package-section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.package-section-title>div{display:flex;align-items:center;gap:10px}.package-section-title>div>span{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;background:#176ef0;color:#fff;font-weight:900}.package-section-title h5{margin:0;font-size:1rem}.package-section-title p{margin:2px 0 0;color:var(--app-muted);font-size:.76rem}
.module-group-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.module-group-card{display:flex;flex-direction:column;min-height:100%;padding:15px;border:1px solid var(--app-border);border-radius:14px;background:#fff}.module-group-card.is-core{border-color:#a9c8ff;background:linear-gradient(145deg,#f5f9ff,#fff)}.module-group-top{display:flex;justify-content:space-between;gap:8px;align-items:center;margin-bottom:12px}.module-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:#eaf2ff;color:#176ef0}.module-group-card h6{font-size:.88rem;margin-bottom:6px}.module-group-card>p{min-height:55px;margin-bottom:11px;color:var(--app-muted);font-size:.72rem;line-height:1.45}.module-component-list{display:grid;gap:6px;margin-top:auto;padding-top:10px;border-top:1px solid #edf0f4}.module-component-list span{display:flex;gap:7px;align-items:center;font-size:.69rem;font-weight:750;color:#3f4d60}.module-component-list i{color:#15945b;font-size:.62rem}
.package-editor{overflow:hidden}.package-editor.is-new{border-color:#bad1ff;background:linear-gradient(155deg,#f7faff,#fff)}.package-editor-title{display:flex;align-items:center;gap:10px}.package-editor-title>i{width:38px;height:38px;display:grid;place-items:center;border-radius:10px;background:#176ef0;color:#fff}.package-editor-title div{display:grid}.package-editor-title small{color:var(--app-muted)}.package-code-badge{min-width:42px;height:42px;display:grid;place-items:center;padding:0 10px;border-radius:11px;background:#176ef0;color:#fff;font-size:1.05rem;font-weight:950}.package-module-checks{display:grid;gap:7px;margin-top:13px}.package-module-check{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;padding:9px 10px;border:1px solid var(--app-border);border-radius:10px;background:#fff;cursor:pointer}.package-module-check:has(input:checked){border-color:#9fc0fa;background:#f4f8ff}.package-module-check.is-locked{background:#f3f6f9;cursor:default}.package-module-check>span{display:grid}.package-module-check b{font-size:.72rem}.package-module-check small{font-size:.63rem;color:var(--app-muted)}.package-module-check>i{font-size:.7rem;color:#708096}
.restaurant-license-list{display:grid;gap:10px}.restaurant-license-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.restaurant-license-head>div{display:grid}.restaurant-license-head>div>span{font-size:.68rem;color:var(--app-muted)}.future-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.future-module-grid article{padding:13px 14px;border:1px dashed #c7d0db;border-radius:12px;background:#f8fafc}.future-module-grid article>div{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}.future-module-grid b{font-size:.78rem}.future-module-grid p{margin:7px 0;color:var(--app-muted);font-size:.7rem}.future-module-grid small{display:block;color:#526070;font-size:.64rem}
@media (max-width:1399px){.module-group-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:991px){.package-page-head{align-items:flex-start}.package-head-badges{justify-content:flex-start}.module-group-grid,.future-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:575px){.module-group-grid,.future-module-grid{grid-template-columns:1fr}.package-head-badges span{min-width:80px}.package-rule-banner{align-items:flex-start}}

/* Single-installation module controls */
.module-settings-form{margin-bottom:30px}.module-toggle-card{cursor:pointer;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}.module-toggle-card:hover{border-color:#a8b9cd}.module-toggle-card.is-enabled{border-color:#7eb09a;background:linear-gradient(145deg,#f5fbf8,#fff);box-shadow:0 7px 20px rgba(20,112,72,.07)}.module-toggle-card.is-core{cursor:default}.module-toggle-control{display:flex;align-items:center;gap:7px;padding:6px 9px;border:1px solid var(--app-border);border-radius:999px;background:#f5f7fa}.module-toggle-control b{font-size:.68rem;color:#657184}.module-toggle-card.is-enabled .module-toggle-control{border-color:#a8d5c0;background:#e9f7ef}.module-toggle-card.is-enabled .module-toggle-control b{color:#147149}.module-dependency{display:flex;align-items:flex-start;gap:6px;margin:-2px 0 10px;padding:7px 8px;border-radius:8px;background:#f3f6fa;color:#5b6879;font-size:.64rem}.module-dependency i{margin-top:2px;color:#176ef0}.module-save-footer{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-top:14px;padding:13px 15px;border:1px solid var(--app-border);border-radius:13px;background:#fff}.module-save-footer>span{display:flex;gap:7px;align-items:center;color:var(--app-muted);font-size:.76rem}.module-save-footer>span i{color:#176ef0}
@media (max-width:767px){.package-section-title{align-items:flex-start;gap:10px;flex-direction:column}.module-save-footer{align-items:stretch;flex-direction:column}.module-save-footer .btn,.package-section-title>.btn{width:100%}}

/* System health, backups and error monitoring */
.health-page-head{align-items:center}.health-overall{display:flex;align-items:center;gap:11px;min-width:210px;padding:12px 15px;border:1px solid var(--app-border);border-radius:14px;background:#fff}.health-overall>i{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;font-size:1.15rem}.health-overall>div{display:grid}.health-overall small{color:var(--app-muted);font-size:.68rem;font-weight:800;text-transform:uppercase}.health-overall b{font-size:.9rem}.health-overall.is-ok{border-color:#a9dbc0;background:#f3fbf6}.health-overall.is-ok>i{background:#dcf4e6;color:#137044}.health-overall.is-warning{border-color:#efd39a;background:#fff9ed}.health-overall.is-warning>i{background:#ffefca;color:#945e00}.health-overall.is-error{border-color:#efbbb5;background:#fff6f4}.health-overall.is-error>i{background:#ffe3df;color:#ad3728}
.health-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}.health-summary-grid article{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px;border:1px solid var(--app-border);border-radius:13px;background:#fff}.health-summary-grid span{display:flex;align-items:center;gap:8px;color:var(--app-muted);font-size:.74rem;font-weight:850}.health-summary-grid b{font-size:1.4rem}.health-summary-grid .health-time{font-size:.8rem}.health-summary-grid .is-ok i{color:#158552}.health-summary-grid .is-warning i{color:#a26700}.health-summary-grid .is-error i{color:#bd3f30}
.health-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:16px;align-items:start}.health-check-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.health-group{overflow:hidden}.health-group-title{display:flex;justify-content:space-between;align-items:center;padding:13px 15px;border-bottom:1px solid var(--app-border);background:#f8fafc}.health-group-title h6{margin:0;font-size:.86rem}.health-group-title span{color:var(--app-muted);font-size:.68rem;font-weight:800}.health-check-list{display:grid}.health-check{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:start;padding:13px 15px;border-bottom:1px solid #edf0f4}.health-check:last-child{border-bottom:0}.health-check>i{margin-top:2px}.health-check>div{display:grid;gap:3px}.health-check b{font-size:.76rem}.health-check span{color:var(--app-muted);font-size:.68rem;line-height:1.4;overflow-wrap:anywhere}.health-check em{padding:4px 7px;border-radius:999px;font-size:.6rem;font-style:normal;font-weight:900;white-space:nowrap}.health-check.is-ok>i{color:#158552}.health-check.is-ok em{background:#e6f6ed;color:#137044}.health-check.is-warning>i{color:#a26700}.health-check.is-warning em{background:#fff0d1;color:#855400}.health-check.is-error>i{color:#bd3f30}.health-check.is-error em{background:#ffe7e3;color:#a33629}
.health-actions{position:sticky;top:18px}.health-empty{display:grid;justify-items:center;gap:5px;padding:24px 10px;text-align:center}.health-empty i{width:45px;height:45px;display:grid;place-items:center;border-radius:13px;background:#e6f6ed;color:#158552}.health-empty b{font-size:.8rem}.health-empty span{color:var(--app-muted);font-size:.68rem}.health-log-list{display:grid;gap:7px}.health-log-list details{padding:8px 10px;border:1px solid var(--app-border);border-radius:9px;background:#fafbfc}.health-log-list summary{display:flex;justify-content:space-between;gap:8px;cursor:pointer;font-size:.65rem;font-weight:850}.health-log-list summary span{color:#ad3728}.health-log-list time{color:var(--app-muted);font-weight:700}.health-log-list p{margin:8px 0 0;padding-top:8px;border-top:1px solid var(--app-border);font-size:.68rem;overflow-wrap:anywhere}
.cron-link-box{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.cron-link-box input{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.66rem}.cron-link-box .btn{display:flex;align-items:center;gap:6px}.cron-link-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:10px}.cron-link-actions>span{display:flex;align-items:flex-start;gap:6px;color:#8a5a00;font-size:.65rem;line-height:1.4}.cron-link-actions>span i{margin-top:2px}.cron-link-note{display:flex;align-items:flex-start;gap:7px;margin-top:10px;padding:8px 9px;border-radius:8px;background:#f3f7fc;color:#526070;font-size:.65rem;line-height:1.45}.cron-link-note i{margin-top:2px;color:#176ef0}
@media (max-width:1199px){.health-layout{grid-template-columns:1fr}.health-actions{position:static}.health-check-groups{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:767px){.health-page-head{align-items:stretch}.health-overall{min-width:0}.health-summary-grid,.health-check-groups{grid-template-columns:1fr}.health-check{grid-template-columns:auto minmax(0,1fr)}.health-check em{grid-column:2;justify-self:start}.cron-link-box{grid-template-columns:1fr}.cron-link-box .btn{justify-content:center}.cron-link-actions{align-items:stretch;flex-direction:column}.cron-link-actions .btn{width:100%}}

/* Online sipariş ve ödeme listeleri */
.commerce-stat{min-height:88px;padding:15px;display:flex;align-items:center;gap:13px}.commerce-stat>div{display:grid}.commerce-stat b{font-size:1.45rem;line-height:1}.commerce-stat small{margin-top:5px;color:var(--app-muted);font-size:.7rem;font-weight:850}.commerce-panel{overflow:hidden}.commerce-toolbar{padding:15px;border-bottom:1px solid var(--app-border);background:#fbfcfe}.commerce-toolbar .form-label{width:100%;margin:0;color:#667386;font-size:.67rem;font-weight:850}.commerce-toolbar .form-control,.commerce-toolbar .form-select{margin-top:5px}.commerce-table{min-width:880px}.commerce-table thead th{padding:11px 14px;background:#f5f8fc;color:#536176;font-size:.65rem;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}.commerce-table tbody td{padding:13px 14px;border-color:#e9edf2}.commerce-table td>b,.commerce-table td>small{display:block}.commerce-table td>small{margin-top:3px;color:var(--app-muted);font-size:.66rem}.commerce-row-action{text-align:right}.commerce-reconcile{min-height:108px;padding:15px;display:grid;align-content:center;gap:5px}.commerce-reconcile small{color:var(--app-muted);font-size:.66rem;font-weight:800}.commerce-reconcile>b{font-size:1.15rem}.commerce-reconcile span{color:#596679;font-size:.67rem}
@media(max-width:767px){.commerce-table{min-width:0}.commerce-panel>.table-responsive{overflow:visible}.commerce-table thead{display:none}.commerce-table,.commerce-table tbody,.commerce-table tr,.commerce-table td{display:block;width:100%}.commerce-table tbody{display:grid;gap:10px;padding:10px;background:#f5f7fa}.commerce-table tr{padding:7px 11px;border:1px solid var(--app-border);border-radius:12px;background:#fff}.commerce-table tbody td{min-height:38px;padding:8px 0;display:flex;align-items:center;justify-content:space-between;gap:15px;text-align:right!important;border-bottom:1px solid #edf0f4}.commerce-table tbody td:last-child{border-bottom:0}.commerce-table tbody td:before{content:attr(data-label);color:var(--app-muted);font-size:.64rem;font-weight:850;text-transform:uppercase;text-align:left}.commerce-table tbody td>*{margin-left:auto}.commerce-table .commerce-row-action:before{content:"İşlem"}.commerce-row-action .btn{min-width:100px}.commerce-toolbar{padding:12px}}
.sales-summary-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sales-summary-grid article{
  min-height:82px;padding:14px 16px;border:1px solid var(--app-border);border-radius:9px;
  background:#fff;display:flex;flex-direction:column;justify-content:center;box-shadow:var(--app-shadow);
}
.sales-summary-grid span{color:var(--app-muted);font-size:.7rem;font-weight:850;text-transform:uppercase}
.sales-summary-grid b{margin-top:5px;color:#172033;font-size:1.18rem}
.sales-source-badge{
  width:max-content;max-width:190px;padding:7px 9px;border-radius:8px;
  display:inline-flex!important;align-items:center;gap:7px;font-size:.7rem;font-weight:850;
  background:#eef2f7;color:#4f5c6f;
}
.sales-source-badge i{width:14px;text-align:center}
.sales-source-badge.is-table{background:#eaf2ff;color:#145ec5}
.sales-source-badge.is-online{background:#e7f7f0;color:#157653}
.sales-source-badge.is-marketplace{background:#fff0e5;color:#a95812}
.sales-source-badge.is-phone,.sales-source-badge.is-counter{background:#f1eafd;color:#6d42b6}
.customer-order-list{display:flex;flex-direction:column}
.customer-order-row{
  padding:13px 0;border-top:1px solid var(--app-border);display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:14px;
}
.customer-order-main{min-width:0;display:flex;flex-direction:column}.customer-order-main>b{font-size:var(--admin-detail-title-size,1.08rem)}
.customer-order-main span{margin-top:3px;color:var(--app-muted);font-size:var(--admin-detail-small-size,.8rem)}
.customer-order-state{display:flex;align-items:center;gap:10px;white-space:nowrap}
.customer-order-state .badge{font-size:var(--admin-detail-tiny-size,.72rem)}.customer-order-state>b{font-size:var(--admin-detail-text-size,.88rem)}
.customer-order-actions{min-width:120px;text-align:right}
.customer-admin-head{align-items:center}
.customer-admin-summary{
  display:grid;grid-template-columns:auto minmax(190px,1fr) minmax(480px,1.7fr);gap:14px;align-items:center;
  margin-bottom:14px;padding:15px 17px;border:1px solid var(--app-border);border-radius:15px;background:#fff;box-shadow:var(--app-shadow)
}
.customer-admin-avatar{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:var(--app-primary);color:#fff;font-size:1.15rem;font-weight:950}
.customer-admin-identity{min-width:0;display:grid;gap:3px}.customer-admin-identity>b{font-size:var(--admin-detail-title-size,1.08rem)}.customer-admin-identity>span{color:var(--app-muted);font-size:var(--admin-detail-small-size,.8rem);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.customer-admin-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.customer-admin-facts>span{display:grid;gap:2px;min-height:52px;padding:8px 10px;border:1px solid var(--app-border);border-radius:10px;background:#f8fafc}.customer-admin-facts small{color:var(--app-muted);font-size:var(--admin-detail-tiny-size,.72rem);font-weight:850;text-transform:uppercase}.customer-admin-facts b{font-size:var(--admin-detail-text-size,.88rem)}.customer-admin-facts .is-success{border-color:#bde4ce;background:#f1faf5;color:#116b40}.customer-admin-facts .is-danger{border-color:#f0c2bd;background:#fff5f3;color:#a73529}.customer-admin-facts .is-muted{background:#f1f3f6;color:#586475}
.customer-admin-tabs{
  display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;margin-bottom:14px;padding:7px;border:1px solid var(--app-border);border-radius:14px;background:#f3f6f9;box-shadow:0 5px 16px rgba(31,50,78,.05)
}
.customer-admin-tabs>a{min-width:0;min-height:48px;display:flex;align-items:center;justify-content:center;gap:8px;padding:10px 12px;border:1px solid transparent;border-radius:10px;color:#5a6678;text-decoration:none;font-size:var(--admin-detail-small-size,.8rem);font-weight:850;transition:.16s ease}
.customer-admin-tabs>a:hover{border-color:#cbd8e7;background:#fff;color:var(--app-primary)}.customer-admin-tabs>a.is-active{border-color:var(--app-primary);background:var(--app-primary);color:#fff;box-shadow:0 5px 14px rgba(23,110,240,.18)}
.customer-admin-tabs>a>b{min-width:22px;height:22px;display:grid;place-items:center;padding:0 5px;border-radius:999px;background:rgba(255,255,255,.85);color:#4d5a6c;font-size:var(--admin-detail-tiny-size,.72rem)}.customer-admin-tabs>a.is-active>b{color:var(--app-primary)}
.customer-tab-card{padding:19px;overflow:hidden}.customer-tab-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:15px;border-bottom:1px solid var(--app-border)}.customer-tab-head>div{display:grid;gap:3px}.customer-tab-head span{color:var(--app-primary);font-size:var(--admin-detail-tiny-size,.72rem);font-weight:900;letter-spacing:.05em}.customer-tab-head h2{margin:0;font-size:var(--admin-detail-title-size,1.08rem)}.customer-tab-head p{margin:0;color:var(--app-muted);font-size:var(--admin-detail-small-size,.8rem)}.customer-tab-head>b{padding:7px 10px;border-radius:999px;background:#f0f3f7;color:#526071;font-size:var(--admin-detail-tiny-size,.72rem);white-space:nowrap}
.customer-tab-card>.customer-order-list{margin-top:2px}.customer-tab-card>.empty-state{margin-top:15px}
.customer-account-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(290px,.7fr);gap:16px;margin-top:16px}.customer-account-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0}.customer-account-details>div{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:54px;padding:11px 13px;border:1px solid var(--app-border);border-radius:10px;background:#fafbfc}.customer-account-details dt{color:var(--app-muted);font-size:var(--admin-detail-small-size,.8rem)}.customer-account-details dd{margin:0;font-size:var(--admin-detail-text-size,.88rem);font-weight:850;text-align:right}
.customer-account-action{display:grid;align-content:start;gap:10px;padding:15px;border:1px solid #c9d9ee;border-radius:12px;background:#f5f8fc}.customer-account-action>i{width:39px;height:39px;display:grid;place-items:center;border-radius:10px;background:#e4efff;color:var(--app-primary)}.customer-account-action>div{display:grid;gap:3px}.customer-account-action p{margin:0;color:var(--app-muted);font-size:var(--admin-detail-small-size,.8rem)}.customer-account-action.is-blocked{border-color:#efc0ba;background:#fff6f4}.customer-account-action.is-blocked>i{background:#ffe5e1;color:#b13c2e}
.customer-address-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin-top:16px}.customer-address-grid article{padding:14px;border:1px solid var(--app-border);border-radius:12px;background:#fafbfc}.customer-address-grid article>div{display:flex;align-items:center;gap:8px}.customer-address-grid article>div>i{color:var(--app-primary)}.customer-address-grid article>div>span{margin-left:auto;padding:4px 7px;border-radius:999px;background:#e7f7ee;color:#137047;font-size:var(--admin-detail-tiny-size,.72rem);font-weight:900}.customer-address-grid p{margin:10px 0 5px;font-size:var(--admin-detail-text-size,.88rem);line-height:1.5}.customer-address-grid small{color:var(--app-muted);font-size:var(--admin-detail-small-size,.8rem)}
.customer-communication-table,.customer-consent-table{margin-top:12px!important}.customer-communication-table th,.customer-consent-table th{color:#5b687a;font-size:var(--admin-detail-tiny-size,.72rem);white-space:nowrap}.customer-communication-table td,.customer-consent-table td{padding-top:11px;padding-bottom:11px;font-size:var(--admin-detail-small-size,.8rem)}
@media(max-width:767px){
  .sales-summary-grid{grid-template-columns:1fr}
  .sales-summary-grid article{min-height:68px}
  .sales-source-table{min-width:0}
  .sales-source-table+.table-responsive{overflow:visible}
  .customer-order-row{grid-template-columns:minmax(0,1fr) auto}
  .customer-order-actions{grid-column:1/-1;min-width:0}
  .customer-order-actions .btn{width:100%}
}
@media(max-width:1199px){.customer-admin-summary{grid-template-columns:auto 1fr}.customer-admin-facts{grid-column:1/-1}.customer-account-layout{grid-template-columns:1fr}}
@media(max-width:767px){
  .customer-admin-summary{grid-template-columns:auto minmax(0,1fr);padding:12px}.customer-admin-facts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .customer-admin-tabs{display:flex;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity}.customer-admin-tabs>a{min-width:135px;flex:0 0 auto;scroll-snap-align:start}
  .customer-tab-card{padding:14px}.customer-tab-head{align-items:flex-start}.customer-tab-head p{max-width:260px}
  .customer-account-details,.customer-address-grid{grid-template-columns:1fr}
  .customer-communication-table,.customer-consent-table{min-width:720px}
}
@media(max-width:420px){.customer-admin-facts{grid-template-columns:1fr 1fr}.customer-admin-head .btn{width:100%}.customer-tab-head{display:grid}.customer-tab-head>b{justify-self:start}}
/* Platform integration center */
.marketplace-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}.marketplace-summary-card{display:flex;align-items:center;gap:.8rem;padding:1rem;border:1px solid var(--app-border,#dce3ed);border-radius:14px;background:#fff;color:inherit;text-decoration:none}.marketplace-summary-card>span{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#f3f6fb;font-size:1.15rem}.marketplace-summary-card div{display:flex;flex-direction:column}.marketplace-summary-card small{color:#68758a}.marketplace-summary-card b{font-size:1.35rem}.marketplace-provider-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:15px;background:#eef5ff;color:#1769e0;font-size:1.35rem}.marketplace-health-line{display:flex;gap:.5rem;align-items:flex-start;padding:.65rem;border-radius:10px;font-size:.82rem;background:#f3f7f5;color:#18794e;min-height:52px}.marketplace-health-line.is-error{background:#fff2f2;color:#b42318}.marketplace-event-list article{display:flex;align-items:center;gap:.75rem;padding:.75rem 0;border-bottom:1px solid #edf0f4}.marketplace-event-list article:last-child{border-bottom:0}.marketplace-event-list article div{display:flex;flex-direction:column}.marketplace-event-list small{color:#738096}.marketplace-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.marketplace-toggle{display:flex;gap:.7rem;align-items:flex-start;padding:.85rem;border:1px solid #dde5ef;border-radius:12px;background:#fafcff;cursor:pointer}.marketplace-toggle span{display:flex;flex-direction:column}.marketplace-toggle small{color:#6b778c}.marketplace-savebar{position:sticky;bottom:.75rem;z-index:20;display:flex;justify-content:flex-end;gap:.65rem;padding:.8rem;margin-top:1rem;border:1px solid #dbe3ed;border-radius:14px;background:rgba(255,255,255,.96);box-shadow:0 10px 30px rgba(34,54,86,.12);backdrop-filter:blur(8px)}.marketplace-map-search{max-width:290px}
@media(max-width:991.98px){.marketplace-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.marketplace-toggle-grid{grid-template-columns:1fr}}
@media(max-width:575.98px){.marketplace-summary-grid{grid-template-columns:1fr 1fr}.marketplace-summary-card{padding:.75rem}.marketplace-savebar{position:static;flex-direction:column}.marketplace-savebar .btn{width:100%}.marketplace-map-search{max-width:180px}}

/* reCAPTCHA v2 */
.recaptcha-field{width:100%;max-width:304px;min-height:78px;overflow:hidden}
.recaptcha-scope-list{display:grid;gap:10px}
.recaptcha-scope-list .permission-check{padding:14px;border:1px solid var(--app-border);border-radius:12px;background:#fff;margin:0}
.recaptcha-scope-list .permission-check span{display:block;min-width:0}
.recaptcha-scope-list .permission-check small{display:block;color:var(--app-muted);font-weight:500;margin-top:2px}
@media(max-width:360px){.recaptcha-field{width:274px;min-height:71px}.recaptcha-field .g-recaptcha{transform:scale(.9);transform-origin:0 0}}

/* Tüm uygulama yüzeylerinde yatay restoran logosu için ortak ölçü standardı. */
img.brand-logo-standard{
  display:block!important;
  width:220px!important;
  height:52px!important;
  min-width:0!important;
  max-width:220px!important;
  max-height:52px!important;
  object-fit:contain!important;
  object-position:left center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  padding:0!important;
}
@media (max-width:576px){
  img.brand-logo-standard{
    width:132px!important;
    height:42px!important;
    max-width:132px!important;
    max-height:42px!important;
  }
}
.customer-theme-layout{display:grid;grid-template-columns:minmax(0,.9fr) minmax(520px,1.1fr);gap:18px;align-items:start}
.customer-theme-preview-column{position:sticky;top:88px}
.customer-palette-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.customer-palette-card{appearance:none;border:1px solid #dfe5ed;background:#fff;border-radius:14px;padding:12px;text-align:left;display:grid;gap:5px;transition:border-color .18s,box-shadow .18s,transform .18s}
.customer-palette-card:hover,.customer-palette-card.is-active{border-color:#2873ec;box-shadow:0 0 0 3px rgba(40,115,236,.1);transform:translateY(-1px)}
.customer-palette-card b{font-size:13px;color:#172033}
.customer-palette-card small{font-size:11px;color:#667085}
.customer-palette-dots{display:flex;margin-bottom:4px}
.customer-palette-dots i{width:23px;height:23px;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 4px rgba(23,32,51,.18)}
.customer-palette-dots i+i{margin-left:-7px}
.customer-theme-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.customer-theme-color-field{border:1px solid #e1e7ef;border-radius:14px;padding:12px;display:grid;gap:7px;background:#fbfcfe}
.customer-theme-color-field>span:first-child{font-weight:750;font-size:13px;color:#344054}
.customer-theme-color-field>small{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:800;color:#667085;letter-spacing:.04em}
.customer-theme-color-control{display:grid;grid-template-columns:50px 1fr;gap:8px}
.customer-theme-color-control input[type=color]{width:50px;height:44px;padding:3px;border:1px solid #cfd8e5;border-radius:10px;background:#fff;cursor:pointer}
.customer-theme-color-control .form-control{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;text-transform:uppercase;font-weight:800;letter-spacing:.04em}
.customer-theme-contrast{display:flex;gap:9px;align-items:center;border-radius:12px;padding:11px 13px;background:#eaf7f0;color:#12683f;font-size:13px;font-weight:700}
.customer-theme-contrast.has-warning{background:#fff4df;color:#94520a}
.customer-theme-scale-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.customer-theme-scale-grid label{cursor:pointer}
.customer-theme-scale-grid input{position:absolute;opacity:0;pointer-events:none}
.customer-theme-scale-grid span{display:flex;flex-direction:column;border:1px solid #dfe5ed;border-radius:12px;padding:11px 12px;transition:.18s}
.customer-theme-scale-grid small{color:#667085}
.customer-theme-scale-grid input:checked+span{border-color:#2873ec;box-shadow:0 0 0 3px rgba(40,115,236,.1);background:#f6f9ff;color:#185fc7}
.customer-theme-preview-panel>.panel-card-body{padding:18px}
.customer-theme-preview-head{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:14px}
.customer-theme-device-switch{display:flex;padding:3px;background:#eef2f7;border-radius:10px}
.customer-theme-device-switch button{width:36px;height:32px;border:0;background:transparent;color:#667085;border-radius:8px}
.customer-theme-device-switch button.is-active{background:#fff;color:#2873ec;box-shadow:0 2px 8px rgba(16,24,40,.1)}
.customer-theme-preview-shell{--preview-primary:#176b4d;--preview-primary-dark:#10533b;--preview-accent:#f4b740;--preview-background:#f7faf8;--preview-surface:#fff;--preview-text:#172033;--preview-muted:#667085;--preview-border:#e1e7ef;--preview-font:system-ui,sans-serif;--preview-scale:1;background:#dfe5ed;padding:10px;border-radius:18px;transition:max-width .2s;margin-inline:auto}
.customer-theme-preview-shell.is-mobile{max-width:390px}
.customer-preview-page{overflow:hidden;border-radius:12px;background:var(--preview-background);color:var(--preview-text);font-family:var(--preview-font);font-size:var(--preview-font-size,14px);box-shadow:0 5px 20px rgba(16,24,40,.12)}
.customer-preview-page>header{min-height:60px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:var(--preview-surface);border-bottom:1px solid var(--preview-border);padding:10px 14px}
.customer-preview-logo{width:38px;height:38px;border-radius:11px;background:var(--preview-primary);color:#fff;display:grid;place-items:center}
.customer-preview-page nav{display:flex;align-items:center;gap:5px}
.customer-preview-page nav b{font-size:.82em;padding:7px 9px;border-radius:8px;white-space:nowrap}
.customer-preview-page nav .is-primary{background:var(--preview-primary);color:#fff}
.customer-preview-categories{display:flex;gap:7px;overflow:hidden;padding:10px 14px;background:var(--preview-surface);border-bottom:1px solid var(--preview-border)}
.customer-preview-categories b{white-space:nowrap;padding:7px 10px;border:1px solid var(--preview-border);border-radius:8px;font-size:.82em}
.customer-preview-categories .is-active{background:var(--preview-primary);border-color:var(--preview-primary);color:#fff}
.customer-preview-page>main{display:grid;grid-template-columns:1fr .85fr;gap:12px;padding:14px}
.customer-preview-copy{padding:15px;border-radius:13px;background:linear-gradient(135deg,var(--preview-primary-dark),var(--preview-primary));color:#fff}
.customer-preview-copy small{font-weight:900;letter-spacing:.08em;color:var(--preview-accent)}
.customer-preview-copy h3{font-size:1.55em;margin:8px 0 5px;font-weight:900}
.customer-preview-copy p{font-size:.9em;margin:0 0 11px;opacity:.82}
.customer-preview-accent{display:inline-flex;border-radius:999px;padding:5px 8px;background:var(--preview-accent);color:var(--preview-primary-dark);font-size:.75em;font-weight:900}
.customer-preview-product{border:1px solid var(--preview-border);border-radius:13px;overflow:hidden;background:var(--preview-surface)}
.customer-preview-image{height:82px;display:grid;place-items:center;background:color-mix(in srgb,var(--preview-primary) 10%,var(--preview-surface));color:var(--preview-primary);font-size:29px}
.customer-preview-product>div:last-child{padding:11px}
.customer-preview-product small,.customer-preview-product p{color:var(--preview-muted)}
.customer-preview-product h4{font-size:1.08em;margin:3px 0;font-weight:900}
.customer-preview-product p{font-size:.78em;line-height:1.35;margin:0 0 9px}
.customer-preview-product footer{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid var(--preview-border);padding-top:9px}
.customer-preview-product button,.customer-preview-account button{border:0;border-radius:8px;background:var(--preview-primary);color:#fff;padding:7px 10px;font-weight:900}
.customer-preview-account{margin:0 14px 14px;padding:11px;display:flex;align-items:center;gap:10px;border:1px solid var(--preview-border);border-radius:12px;background:var(--preview-surface)}
.customer-preview-account>i{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--preview-background);color:var(--preview-primary)}
.customer-preview-account span{display:flex;flex-direction:column;flex:1}
.customer-preview-account small{font-size:.66em;color:var(--preview-muted);font-weight:900}
.customer-preview-account b{font-size:.9em}
.customer-preview-account button{font-size:.72em}
.customer-theme-preview-shell.is-mobile .customer-preview-page>main{grid-template-columns:1fr}
.customer-theme-preview-shell.is-mobile .customer-preview-copy{display:none}
.customer-theme-preview-shell.is-mobile .customer-preview-page nav b:not(.is-primary){display:none}
.customer-theme-swatch-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.customer-theme-swatch-summary>div{display:grid;grid-template-columns:22px 1fr auto;align-items:center;gap:7px;border:1px solid #e5e9f0;border-radius:9px;padding:7px 8px;font-size:11px}
.customer-theme-swatch-summary i{width:22px;height:22px;border-radius:6px;border:1px solid rgba(16,24,40,.12)}
.customer-theme-swatch-summary span{color:#667085}
.customer-theme-swatch-summary b{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;color:#344054}
.customer-theme-savebar{position:sticky;bottom:12px;z-index:10;margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;border:1px solid #dbe3ee;border-radius:15px;background:rgba(255,255,255,.94);box-shadow:0 10px 30px rgba(16,24,40,.13);backdrop-filter:blur(12px)}
.customer-theme-savebar>span{display:flex;align-items:center;gap:8px;color:#667085;font-size:13px}
.customer-theme-savebar>div{display:flex;gap:8px;flex:0 0 auto}
.customer-theme-admin-toggle{display:flex;align-items:flex-start;gap:11px;padding:14px;border:1px solid #dfe5ed;border-radius:13px;background:#f8fafc;cursor:pointer}
.customer-theme-admin-toggle input{margin-top:4px}
.customer-theme-admin-toggle span{display:grid;gap:3px}
.customer-theme-admin-toggle small{color:#667085;font-weight:500;line-height:1.45}
@media(max-width:1250px){.customer-theme-layout{grid-template-columns:1fr}.customer-theme-preview-column{position:static}.customer-palette-grid{grid-template-columns:repeat(5,minmax(120px,1fr));overflow-x:auto;padding-bottom:4px}}
@media(max-width:760px){.customer-theme-color-grid{grid-template-columns:1fr}.customer-theme-scale-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.customer-theme-preview-panel>.panel-card-body{padding:12px}.customer-theme-preview-shell{padding:6px}.customer-theme-swatch-summary{grid-template-columns:1fr}.customer-theme-savebar{align-items:stretch;flex-direction:column;bottom:6px}.customer-theme-savebar>div{display:grid;grid-template-columns:1fr 1fr}.customer-theme-savebar .btn{width:100%}}
