:root {
  --lillo-olive: #8b9b79;
  --lillo-olive-dark: #748463;
  --lillo-olive-soft: rgba(139,155,121,.12);
  --lillo-cream: #f7f6ec;
  --lillo-dark: #20221b;
  --lillo-muted: #66715e;
  --lillo-border: rgba(32,34,27,.08);
  --lillo-border-strong: rgba(32,34,27,.12);
}
* { font-family: 'Montserrat', sans-serif; }
body { background: linear-gradient(180deg, #f8f7ee 0%, #f3f1e6 100%); color: var(--lillo-dark); }
a { color: inherit; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 280px 1fr; }
.sidebar { background: linear-gradient(180deg, var(--lillo-olive) 0%, var(--lillo-olive-dark) 100%); color: #fff; padding: 24px 18px; display: flex; flex-direction: column; justify-content: space-between; position: sticky; top: 0; min-height: 100vh; }
.brand-logo { width: 88px; height: 88px; object-fit: contain; border-radius: 50%; background: rgba(255,255,255,.95); padding: 10px; }
.side-link { color: rgba(255,255,255,.9); border-radius: 16px; padding: 10px 12px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.side-link:hover, .side-link:focus, .side-link.active { background: rgba(255,255,255,.14); color: #fff; }
.side-link-sub { margin-left: 14px; padding: 8px 12px; font-weight: 550; font-size: .95rem; border-left: 2px solid rgba(255,255,255,.18); border-top-left-radius: 0; border-bottom-left-radius: 0; }
.side-link-sub i { font-size: .95rem; opacity: .92; }
.sidebar-note { border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08); border-radius: 18px; padding: 14px; font-size: .88rem; color: rgba(255,255,255,.9); }
.content-area { padding: 26px; }
.topbar { background: rgba(255,255,255,.84); border: 1px solid var(--lillo-border); border-radius: 24px; padding: 18px 20px; backdrop-filter: blur(10px); box-shadow: 0 16px 40px rgba(32,34,27,.05); }
.eyebrow { color: var(--lillo-muted); letter-spacing: .08em; }
.panel-card, .stat-card, .login-card { background: rgba(255,255,255,.88); border: 1px solid var(--lillo-border); border-radius: 24px; box-shadow: 0 12px 30px rgba(32,34,27,.06); }
.panel-card { padding: 22px; }
.stat-card { padding: 18px; height: 100%; }
.stat-label { color: var(--lillo-muted); font-weight: 700; margin-bottom: 8px; font-size: .88rem; }
.stat-value { font-size: 1.35rem; font-weight: 800; line-height: 1.15; }
.login-card { max-width: 520px; width: 100%; }
.login-logo { width: 100px; height: 100px; object-fit: contain; }
.btn { border-radius: 16px; min-height: 44px; padding: .65rem 1rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-sm { min-height: 34px; padding: .4rem .8rem; border-radius: 12px; }
.btn-brand { background: var(--lillo-olive); color: #fff; border: none; }
.btn-brand:hover { background: var(--lillo-olive-dark); color: #fff; }
.btn-outline-dark { border-color: rgba(32,34,27,.14); }
.btn-outline-dark:hover { background: rgba(32,34,27,.92); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-lead { color: var(--lillo-muted); font-size: .92rem; }
.lillo-table { margin-bottom: 0; }
.lillo-table > :not(caption) > * > * { padding: .9rem .75rem; vertical-align: middle; }
.lillo-table thead th { color: var(--lillo-muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; border-bottom-width: 1px; white-space: nowrap; }
.lillo-table tbody td { border-color: rgba(32,34,27,.06); }
.compact-table > :not(caption) > * > * { padding: .65rem .55rem; }
.pill-chip { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; background: rgba(139,155,121,.12); color: var(--lillo-dark); padding: .5rem .9rem; font-size: .86rem; font-weight: 700; }
.import-box { border: 1px dashed rgba(32,34,27,.12); border-radius: 22px; padding: 18px; background: rgba(247,246,236,.7); }
.mono-tag { display: inline-block; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; background: rgba(32,34,27,.06); border-radius: 10px; padding: .3rem .55rem; font-size: .82rem; }
.badge-soft-success { background: rgba(56, 142, 60, .12); color: #206228; }
.badge-soft-warning { background: rgba(255, 193, 7, .16); color: #8a6500; }
.badge-soft-danger { background: rgba(220, 53, 69, .12); color: #9d2130; }
.badge-soft-secondary { background: rgba(32,34,27,.08); color: #42463b; }
.badge-soft-info { background: rgba(13,110,253,.12); color: #0a58ca; }
.badge { padding: .45rem .7rem; font-weight: 700; }
.export-card { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--lillo-border); border-radius: 22px; padding: 18px; background: rgba(255,255,255,.75); text-decoration: none; color: inherit; height: 100%; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.export-card:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(32,34,27,.07); border-color: rgba(139,155,121,.35); color: inherit; }
.export-card span { color: var(--lillo-muted); font-size: .92rem; }
.form-label { font-size: .86rem; font-weight: 700; color: #4d5744; margin-bottom: .45rem; }
.form-control, .form-select, .form-check-input { border-radius: 16px; border-color: rgba(32,34,27,.12); min-height: 46px; }
.form-control, .form-select { padding: .72rem .95rem; background-color: rgba(255,255,255,.96); }
.form-control-lg { min-height: 50px; }
textarea.form-control { min-height: 116px; }
.form-control:focus, .form-select:focus, .form-check-input:focus { border-color: rgba(139,155,121,.7); box-shadow: 0 0 0 .25rem rgba(139,155,121,.15); }
.alert { border-radius: 18px; }
.metric-card { border: 1px solid var(--lillo-border); border-radius: 22px; padding: 18px; background: rgba(255,255,255,.76); height: 100%; }
.metric-caption { color: var(--lillo-muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.metric-value { font-size: 1.1rem; font-weight: 800; margin-top: 4px; }
.metric-subvalue { font-size: .9rem; color: var(--lillo-muted); margin-top: 6px; }
.metric-stack { display: grid; gap: 14px; }
.filter-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.filter-grid > .filter-item { grid-column: span 3; }
.filter-grid > .filter-item-wide { grid-column: span 4; }
.filter-grid > .filter-item-actions { grid-column: span 2; }
.filter-actions { display: flex; gap: 10px; align-items: end; }
.toolbar-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.table-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.table-actions form { margin: 0; }
.empty-state { padding: 48px 24px; text-align: center; color: var(--lillo-muted); }
.bulk-toolbar { display: flex; gap: 12px; justify-content: space-between; align-items: center; flex-wrap: wrap; padding: 14px 16px; border: 1px solid rgba(32,34,27,.08); border-radius: 18px; background: rgba(247,246,236,.65); }
.drag-handle { cursor: grab; color: var(--lillo-muted); font-size: 1.1rem; }
.sortable-row.dragging { opacity: .5; }
.sortable-row.drag-over { outline: 2px dashed rgba(139,155,121,.6); outline-offset: -3px; }
.detail-card { padding: 22px; border: 1px solid var(--lillo-border); border-radius: 24px; background: rgba(255,255,255,.72); height: 100%; min-width:0; overflow:hidden; }
.detail-list { display: grid; gap: 10px; }
.detail-list-item { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed rgba(32,34,27,.08); padding-bottom: 10px; min-width:0; }
.detail-list-item > strong { max-width: 58%; text-align:right; overflow-wrap:anywhere; word-break:break-word; }
.detail-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.detail-label { color: var(--lillo-muted); font-weight: 600; }
.sticky-action-bar { position: sticky; top: 18px; }
.page-title-link { text-decoration: none; }
.page-title-link:hover { color: var(--lillo-olive-dark); }
.checkbox-stack { display: grid; gap: 8px; max-height: 240px; overflow: auto; padding-right: 6px; }
.small-note { font-size: .88rem; color: var(--lillo-muted); }
.page-grid { display: grid; gap: 24px; }
.page-grid-2 { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.side-summary { display: grid; gap: 14px; }
.info-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.info-grid > .info-col-12 { grid-column: span 12; }
.info-grid > .info-col-6 { grid-column: span 6; }
.info-grid > .info-col-4 { grid-column: span 4; }
.form-card { border: 1px solid var(--lillo-border); border-radius: 22px; background: rgba(255,255,255,.72); padding: 18px; }
.form-card-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline-danger { margin-left: auto; }
.kpi-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.kpi-box { border: 1px solid var(--lillo-border); border-radius: 18px; padding: 14px 16px; background: rgba(255,255,255,.72); min-width:0; min-height:88px; }
.kpi-box-label { color: var(--lillo-muted); font-size: .82rem; font-weight: 700; line-height:1.2; overflow-wrap:anywhere; }
.kpi-box-value { font-size: 1.05rem; font-weight: 800; margin-top: 4px; line-height:1.15; overflow-wrap:anywhere; word-break:break-word; }
.side-summary .kpi-strip, .detail-card .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.app-hero { display: flex; justify-content: space-between; gap: 16px; align-items: start; flex-wrap: wrap; }
.app-hero-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.soft-divider { border-top: 1px solid rgba(32,34,27,.08); margin: 18px 0; }
.table-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.input-group > .form-control,
.input-group > .form-select,
.input-group > .btn { min-height: 46px; }
.topbar-meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.topbar-meta .pill-chip { background: rgba(139,155,121,.1); }
.pagination-wrap { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.pagination { margin-bottom: 0; }
.pagination .page-link { border-radius: 12px; border-color: rgba(32,34,27,.08); color: var(--lillo-dark); min-width: 40px; text-align: center; }
.pagination .page-item.active .page-link { background: var(--lillo-olive); border-color: var(--lillo-olive); }
.pagination .page-item.disabled .page-link { color: var(--lillo-muted); }
@media (max-width: 1399.98px) {
  .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1199.98px) {
  .filter-grid > .filter-item,
  .filter-grid > .filter-item-wide,
  .filter-grid > .filter-item-actions { grid-column: span 6; }
  .page-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; min-height: auto; }
  .content-area { padding: 18px; }
  .filter-grid > .filter-item,
  .filter-grid > .filter-item-wide,
  .filter-grid > .filter-item-actions,
  .info-grid > .info-col-6,
  .info-grid > .info-col-4 { grid-column: span 12; }
  .sticky-action-bar { position: static; }
  .kpi-strip { grid-template-columns: 1fr; }
}

.page-toolbar { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap; }
.page-toolbar-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.panel-card-tight { padding:18px; }
.panel-card-soft { background: rgba(255,255,255,.74); }
.stack-tight { display:grid; gap:12px; }
.form-grid-tight { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); gap:12px 14px; }
.form-grid-tight > .span-12 { grid-column:span 12; }
.form-grid-tight > .span-8 { grid-column:span 8; }
.form-grid-tight > .span-6 { grid-column:span 6; }
.form-grid-tight > .span-4 { grid-column:span 4; }
.form-grid-tight > .span-3 { grid-column:span 3; }
.form-grid-tight > .span-2 { grid-column:span 2; }
.form-grid-tight > .span-actions { grid-column:span 12; display:flex; gap:10px; justify-content:flex-end; align-items:center; flex-wrap:wrap; }
.inline-form-actions { display:flex; gap:10px; align-items:flex-end; flex-wrap:wrap; }
.inline-form-actions .btn, .inline-form-actions .form-select { min-width: 150px; }
.table-card-head { display:flex; justify-content:space-between; gap:14px; align-items:flex-start; flex-wrap:wrap; margin-bottom:16px; }
.table-card-title { display:grid; gap:4px; }
.table-muted { color: var(--lillo-muted); font-size:.9rem; }
.record-meta { display:grid; gap:3px; }
.record-title { font-weight:700; overflow-wrap:anywhere; word-break:break-word; }
.record-subtitle { color: var(--lillo-muted); font-size:.85rem; overflow-wrap:anywhere; word-break:break-word; }
.count-badge { min-width: 40px; justify-content:center; }
.list-shell { display:grid; gap:24px; }
.list-shell-split { display:grid; grid-template-columns:minmax(320px, 420px) minmax(0,1fr); gap:24px; align-items:start; }
.form-section-title { font-size:1rem; font-weight:700; margin-bottom:2px; }
.form-section-lead { font-size:.9rem; color:var(--lillo-muted); }
.action-icon-btn { width:34px; min-width:34px; padding:0; }
.table-actions .btn-sm { min-height:34px; }
.table-responsive { border-radius: 18px; }
.table-responsive table { margin-bottom: 0; }
.bulk-toolbar .form-select { min-width: 190px; }
.toolbar-inline .form-select { min-width: 180px; }
.compact-input-row { display:flex; gap:10px; align-items:end; flex-wrap:wrap; }
.compact-input-row > * { flex:1 1 160px; }
.section-divider { height:1px; background:rgba(32,34,27,.08); margin:18px 0; }
.empty-state i { color: var(--lillo-olive-dark); }
@media (max-width: 1199.98px) {
  .list-shell-split { grid-template-columns: 1fr; }
}
@media (max-width: 991.98px) {
  .form-grid-tight > .span-8,
  .form-grid-tight > .span-6,
  .form-grid-tight > .span-4,
  .form-grid-tight > .span-3,
  .form-grid-tight > .span-2 { grid-column: span 12; }
  .inline-form-actions .btn, .inline-form-actions .form-select { min-width: 0; width: 100%; }
}


.pos-shell { display:grid; grid-template-columns:minmax(0, 1fr) 420px; gap:24px; align-items:start; }
.pos-main, .pos-sidebar { min-width:0; }
.pos-product-grid { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:16px; }
.pos-product-card { border:1px solid var(--lillo-border); border-radius:22px; background:rgba(255,255,255,.76); padding:18px; display:grid; gap:14px; }
.pos-product-head { display:flex; justify-content:space-between; gap:14px; align-items:flex-start; }
.pos-price { font-size:1.05rem; font-weight:800; white-space:nowrap; }
.pos-card-action { min-width:180px; }
.pos-cart-list { display:grid; gap:14px; }
.pos-cart-item { border:1px solid var(--lillo-border); border-radius:18px; background:rgba(247,246,236,.58); padding:14px; display:grid; gap:12px; }
.pos-cart-item-head { display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.pos-cart-meta { display:grid; grid-template-columns:120px 1fr 1fr; gap:12px; align-items:end; }
.pos-total-box { border:1px solid rgba(32,34,27,.08); border-radius:18px; padding:16px; background:rgba(247,246,236,.72); }
.active-chip { background: var(--lillo-olive); color:#fff; }
.active-chip:hover { color:#fff; }
@media (max-width: 1399.98px) { .pos-shell { grid-template-columns: minmax(0, 1fr) 380px; } .pos-product-grid { grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991.98px) { .pos-shell { grid-template-columns:1fr; } .pos-product-grid { grid-template-columns:1fr; } .pos-cart-meta { grid-template-columns:1fr; } .pos-card-action { min-width:0; } }

.settings-shell { display:grid; grid-template-columns: 320px minmax(0,1fr); gap:24px; align-items:start; }
.settings-nav { display:grid; gap:8px; }
.settings-nav-item { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:14px 16px; border-radius:18px; text-decoration:none; color:var(--lillo-dark); font-weight:700; border:1px solid transparent; }
.settings-nav-item.active, .settings-nav-item:hover { background: rgba(139,155,121,.12); border-color: rgba(139,155,121,.26); }
.settings-content { min-width:0; }
.settings-group-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:12px; }
.settings-toggle-card { border:1px solid var(--lillo-border); border-radius:18px; background: rgba(247,246,236,.72); padding:14px 16px; display:flex; justify-content:space-between; align-items:center; gap:12px; font-weight:600; }
.settings-card-list { display:grid; gap:14px; }
.settings-list-row { border:1px solid var(--lillo-border); border-radius:20px; background: rgba(255,255,255,.72); padding:16px; min-width:0; overflow:hidden; }
.settings-inline-form { align-items:end; }
.table-grid-board { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:16px; }
.table-tile { display:grid; gap:16px; border-radius:24px; padding:18px; text-decoration:none; color:#fff; min-height:180px; box-shadow: 0 14px 24px rgba(32,34,27,.07); }
.table-tile-free { background: linear-gradient(135deg, #485240 0%, #30362b 100%); }
.table-tile-busy { background: linear-gradient(135deg, #8b9b79 0%, #6f7d61 100%); }
.table-tile-head { display:flex; align-items:start; justify-content:space-between; gap:12px; }
.table-tile-title { font-size:1.4rem; font-weight:800; }
.table-tile-subtitle { color: rgba(255,255,255,.75); }
.table-tile-body { margin-top:auto; }
.table-grid-mini { display:flex; gap:8px; flex-wrap:wrap; }
.table-mini-chip { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:.45rem .8rem; border-radius:999px; background: rgba(32,34,27,.08); font-weight:700; }
.payment-method-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.payment-method-btn { min-height:54px; }
.payment-method-btn.active { outline: 3px solid rgba(32,34,27,.18); outline-offset: -2px; }
.pos-cart-qty-row { display:grid; grid-template-columns: 44px 90px 44px 1fr 1fr; gap:10px; align-items:center; }
.qty-btn { min-height:46px; }
.pos-actions-row { justify-content:space-between; }
.pos-toast { position: fixed; right: 24px; bottom: 24px; z-index: 1055; min-width: 280px; }
.pos-stats .stat-value { font-size: calc(1.35rem * (var(--pos-font-scale, 100) / 100)); }
.pos-product-grid-colored .pos-product-card:nth-child(6n+1) { background: linear-gradient(135deg, rgba(0,109,204,.1), rgba(0,109,204,.02)); }
.pos-product-grid-colored .pos-product-card:nth-child(6n+2) { background: linear-gradient(135deg, rgba(18,132,71,.12), rgba(18,132,71,.02)); }
.pos-product-grid-colored .pos-product-card:nth-child(6n+3) { background: linear-gradient(135deg, rgba(149,117,13,.14), rgba(149,117,13,.02)); }
.pos-product-grid-colored .pos-product-card:nth-child(6n+4) { background: linear-gradient(135deg, rgba(106,27,154,.14), rgba(106,27,154,.02)); }
.pos-product-grid-colored .pos-product-card:nth-child(6n+5) { background: linear-gradient(135deg, rgba(0,150,136,.14), rgba(0,150,136,.02)); }
.pos-product-grid-colored .pos-product-card:nth-child(6n+6) { background: linear-gradient(135deg, rgba(198,40,40,.12), rgba(198,40,40,.02)); }
@media (max-width: 1199.98px) {
  .settings-shell { grid-template-columns:1fr; }
  .table-grid-board { grid-template-columns:1fr; }
}
@media (max-width: 991.98px) {
  .settings-group-grid { grid-template-columns:1fr; }
  .payment-method-grid { grid-template-columns:1fr; }
  .pos-cart-qty-row { grid-template-columns:44px 1fr 44px; }
  .pos-cart-qty-row > .ms-auto, .pos-cart-qty-row > .text-end { grid-column: span 3; }
}
.settings-shortcut-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.settings-shortcut-card { display:flex; gap:14px; align-items:flex-start; border:1px solid var(--lillo-border); border-radius:22px; background:rgba(255,255,255,.78); padding:18px; text-decoration:none; color:inherit; transition:transform .18s ease, box-shadow .18s ease; }
.settings-shortcut-card:hover { transform: translateY(-1px); box-shadow:0 10px 24px rgba(32,34,27,.06); color:inherit; }
.settings-shortcut-card.is-disabled { opacity:.7; pointer-events:none; }
.settings-shortcut-icon { width:48px; height:48px; border-radius:16px; display:inline-flex; align-items:center; justify-content:center; background:rgba(139,155,121,.12); font-size:1.2rem; }
.pos-payment-list { display:grid; gap:12px; }
.pos-payment-row { display:grid; grid-template-columns: minmax(0,1.1fr) minmax(120px,.7fr) minmax(0,1fr) 140px; gap:10px; align-items:end; border:1px solid var(--lillo-border); border-radius:18px; background:rgba(247,246,236,.6); padding:12px; }
@media (max-width: 991.98px) {
  .settings-shortcut-grid { grid-template-columns:1fr; }
  .pos-payment-row { grid-template-columns:1fr; }
}


.table-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.table-stat-card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 1200px) {
    .table-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .table-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* POS experience redesign */
.pos-experience {
  display: grid;
  gap: 18px;
  font-size: calc(1rem * (var(--pos-font-scale, 100) / 100));
}
.pos-experience-topbar {
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid rgba(32,34,27,.08);
  border-radius: 22px;
  padding: 14px 18px;
  box-shadow: 0 10px 24px rgba(23,26,18,.05);
}
.pos-topbar-left { display: flex; align-items: center; gap: 14px; min-width: 0; }
.pos-back-btn {
  width: 46px; height: 46px; border-radius: 14px; border: 1px solid rgba(32,34,27,.08); background: rgba(247,246,236,.8);
  display: inline-flex; align-items: center; justify-content: center; color: var(--lillo-text); text-decoration: none; font-size: 1.2rem;
}
.pos-brand-lockup { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pos-brand-logo { width: 56px; height: 56px; object-fit: contain; border-radius: 16px; background: rgba(247,246,236,.85); padding: 8px; border: 1px solid rgba(32,34,27,.08); }
.pos-brand-title { font-size: 1.1rem; font-weight: 800; color: var(--lillo-text); }
.pos-brand-subtitle { color: var(--lillo-muted); font-size: .86rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pos-topbar-search-wrap { min-width: 0; }
.pos-search-input-wrap, .pos-barcode-wrap {
  display: flex; align-items: center; gap: 10px; border: 1px solid rgba(32,34,27,.08); border-radius: 16px; background: #fff; padding: 0 14px; min-height: 48px;
}
.pos-search-input-wrap i, .pos-barcode-wrap i { color: var(--lillo-muted); font-size: 1rem; }
.pos-search-input, .pos-barcode-input {
  border: 0; background: transparent; outline: 0; width: 100%; padding: 11px 0; font: inherit; color: var(--lillo-text);
}
.pos-search-input::placeholder, .pos-barcode-input::placeholder { color: var(--lillo-muted); }
.pos-topbar-actions { display: flex; align-items: center; gap: 10px; }
.pos-branch-select { min-width: 160px; border-radius: 14px; }
.pos-barcode-wrap { min-width: 200px; }
.pos-scan-btn {
  width: 48px; height: 48px; border-radius: 14px; border: 0; background: var(--lillo-olive); color: #fff; font-size: 1.1rem;
  box-shadow: 0 10px 24px rgba(139,155,121,.25);
}
.pos-workspace {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
  min-height: calc(100vh - 290px);
}
.pos-category-rail, .pos-catalog-stage, .pos-order-stage {
  background: #fff; border: 1px solid rgba(32,34,27,.08); border-radius: 24px; box-shadow: 0 10px 24px rgba(23,26,18,.05);
}
.pos-category-rail {
  padding: 14px; position: sticky; top: 18px; max-height: calc(100vh - 180px); overflow: auto;
}
.pos-category-rail-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pos-rail-title { font-size: .92rem; font-weight: 800; color: var(--lillo-text); }
.pos-rail-all-btn {
  border: 1px solid rgba(32,34,27,.08); background: rgba(247,246,236,.85); border-radius: 999px; padding: 6px 12px; font-size: .76rem; font-weight: 700; color: var(--lillo-muted);
}
.pos-rail-all-btn.active { background: var(--lillo-olive); color: #fff; border-color: transparent; }
.pos-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.pos-category-card {
  border: 1px solid rgba(32,34,27,.08); border-radius: 18px; background: rgba(247,246,236,.6); min-height: 102px; padding: 12px 10px 10px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 8px; text-align: center; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pos-category-card:hover, .pos-category-card:focus-visible { transform: translateY(-1px); box-shadow: 0 12px 20px rgba(23,26,18,.08); }
.pos-category-card.is-active { border-color: var(--lillo-olive); box-shadow: inset 0 0 0 1px var(--lillo-olive); background: rgba(139,155,121,.12); }
.pos-category-code { font-size: 1.7rem; font-weight: 800; letter-spacing: .05em; line-height: 1; color: var(--lillo-text); }
.pos-category-name { font-size: .88rem; font-weight: 700; color: var(--lillo-text); line-height: 1.2; }
.pos-catalog-stage { padding: 14px 16px 18px; min-width: 0; }
.pos-stage-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pos-stage-title { margin: 0; font-size: 1rem; font-weight: 800; color: var(--lillo-text); }
.pos-stage-meta { color: var(--lillo-muted); font-size: .85rem; }
.pos-stage-chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 12px; border-radius: 999px; background: rgba(247,246,236,.9); color: var(--lillo-muted); font-size: .78rem; font-weight: 700; }
.pos-stage-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.pos-stage-product { min-width: 0; }
.pos-stage-product-btn {
  width: 100%; min-height: 92px; border: 1px solid rgba(32,34,27,.08); border-radius: 18px; background: rgba(247,246,236,.56); padding: 14px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pos-stage-product-btn:hover, .pos-stage-product-btn:focus-visible { transform: translateY(-1px); box-shadow: 0 14px 22px rgba(23,26,18,.08); border-color: rgba(139,155,121,.38); }
.pos-stage-product-name { font-size: 1rem; font-weight: 800; color: var(--lillo-text); line-height: 1.15; }
.pos-stage-product-price { margin-top: 8px; font-size: .95rem; font-weight: 700; color: var(--lillo-text); }
.pos-stage-grid-colored .pos-stage-product:nth-child(6n+1) .pos-stage-product-btn { background: linear-gradient(135deg, rgba(0,109,204,.12), rgba(0,109,204,.04)); }
.pos-stage-grid-colored .pos-stage-product:nth-child(6n+2) .pos-stage-product-btn { background: linear-gradient(135deg, rgba(18,132,71,.14), rgba(18,132,71,.04)); }
.pos-stage-grid-colored .pos-stage-product:nth-child(6n+3) .pos-stage-product-btn { background: linear-gradient(135deg, rgba(149,117,13,.14), rgba(149,117,13,.04)); }
.pos-stage-grid-colored .pos-stage-product:nth-child(6n+4) .pos-stage-product-btn { background: linear-gradient(135deg, rgba(106,27,154,.14), rgba(106,27,154,.04)); }
.pos-stage-grid-colored .pos-stage-product:nth-child(6n+5) .pos-stage-product-btn { background: linear-gradient(135deg, rgba(0,150,136,.14), rgba(0,150,136,.04)); }
.pos-stage-grid-colored .pos-stage-product:nth-child(6n+6) .pos-stage-product-btn { background: linear-gradient(135deg, rgba(198,40,40,.12), rgba(198,40,40,.03)); }
.pos-stage-empty {
  min-height: 340px; border: 1px dashed rgba(32,34,27,.12); border-radius: 22px; display: flex; flex-direction: column; gap: 10px; align-items: center; justify-content: center; color: var(--lillo-muted);
}
.pos-stage-empty i { font-size: 1.8rem; }
.pos-order-stage { position: sticky; top: 18px; min-height: calc(100vh - 180px); padding: 0; overflow: hidden; }
.pos-ticket-shell { display: flex; flex-direction: column; min-height: calc(100vh - 180px); }
.pos-ticket-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid rgba(32,34,27,.08);
}
.pos-ticket-heading { font-size: 1rem; font-weight: 800; color: var(--lillo-text); }
.pos-ticket-subheading { color: var(--lillo-muted); font-size: .8rem; }
.pos-ticket-account { font-size: 1rem; font-weight: 800; color: var(--lillo-text); text-align: right; }
.pos-ticket-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 48px 20px; color: var(--lillo-muted);
}
.pos-ticket-empty i { font-size: 1.8rem; }
.pos-ticket-lines { display: grid; gap: 8px; padding: 12px 10px 8px; overflow: auto; }
.pos-ticket-line { border: 1px solid rgba(32,34,27,.08); border-radius: 14px; padding: 10px; background: rgba(247,246,236,.5); display: grid; gap: 8px; }
.pos-ticket-line-main { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; }
.pos-ticket-line-title { font-size: .95rem; font-weight: 700; color: var(--lillo-text); line-height: 1.2; }
.pos-ticket-line-price { font-size: .95rem; font-weight: 800; color: var(--lillo-text); white-space: nowrap; }
.pos-ticket-line-actions { display: grid; grid-template-columns: 38px 68px 38px 38px; gap: 8px; align-items: center; justify-content: end; }
.pos-ticket-icon-btn {
  width: 38px; height: 38px; border-radius: 12px; border: 1px solid rgba(32,34,27,.08); background: #fff; color: var(--lillo-text); display: inline-flex; align-items: center; justify-content: center;
}
.pos-ticket-icon-btn.is-danger { background: rgba(176,51,61,.08); color: var(--lillo-danger); }
.pos-ticket-remove-form { display: contents; }
.pos-ticket-qty-input { width: 68px; height: 38px; border-radius: 12px; border: 1px solid rgba(32,34,27,.08); text-align: center; }
.pos-ticket-divider { border-top: 2px solid rgba(176,51,61,.22); margin: 0 10px; }
.pos-ticket-payments { padding: 12px 14px 8px; }
.pos-ticket-section-title { font-size: .92rem; font-weight: 800; color: var(--lillo-text); margin-bottom: 10px; }
.pos-ticket-payment-empty { color: var(--lillo-muted); font-size: .84rem; }
.pos-ticket-payment-list { display: grid; gap: 8px; }
.pos-ticket-payment-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .86rem; color: var(--lillo-text); }
.pos-ticket-spacer { flex: 1 1 auto; }
.pos-ticket-footer { padding: 10px; border-top: 1px solid rgba(32,34,27,.08); background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.pos-ticket-account-input {
  width: 100%; border: 1px solid rgba(32,34,27,.08); border-radius: 14px; padding: 11px 14px; margin-bottom: 10px;
}
.pos-ticket-primary-actions { display: grid; grid-template-columns: minmax(0,1fr) 74px; gap: 8px; }
.pos-ticket-main-btn, .pos-ticket-cancel-btn {
  min-height: 52px; border-radius: 14px; border: 0; font-size: 1rem; font-weight: 800;
}
.pos-ticket-main-btn { background: #2f7d31; color: #fff; }
.pos-ticket-main-btn:disabled { background: rgba(47,125,49,.45); }
.pos-ticket-cancel-btn { background: rgba(176,51,61,.16); color: var(--lillo-danger); }
.pos-ticket-secondary-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.pos-ticket-square-btn {
  min-height: 48px; border-radius: 14px; border: 1px solid rgba(32,34,27,.08); background: #fff; color: var(--lillo-text); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; text-decoration: none;
}
.pos-ticket-square-btn.is-accent { background: rgba(139,155,121,.22); border-color: transparent; }
.pos-ticket-square-btn:disabled { opacity: .5; }
.pos-payment-drawer {
  position: fixed; inset: 0; background: rgba(32,34,27,.36); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .18s ease; z-index: 1060;
}
.pos-payment-drawer.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.pos-payment-sheet {
  position: absolute; top: 0; right: 0; height: 100%; width: min(440px, 100%); background: #fff; border-left: 1px solid rgba(32,34,27,.08); box-shadow: -20px 0 40px rgba(23,26,18,.1);
  padding: 22px 18px 18px; display: flex; flex-direction: column; gap: 16px; overflow: auto; transform: translateX(100%); transition: transform .2s ease;
}
.pos-payment-drawer.is-open .pos-payment-sheet { transform: translateX(0); }
.pos-payment-sheet-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pos-payment-sheet-title { font-size: 1.35rem; font-weight: 800; color: var(--lillo-text); }
.pos-payment-sheet-subtitle { font-size: .88rem; color: var(--lillo-muted); }
.pos-payment-close { width: 42px; height: 42px; border-radius: 14px; border: 1px solid rgba(32,34,27,.08); background: #fff; color: var(--lillo-text); }
.pos-payment-amount-box {
  min-height: 64px; border-radius: 18px; border: 1px solid rgba(32,34,27,.08); background: rgba(247,246,236,.75); display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; font-weight: 800; color: var(--lillo-text);
}
.pos-payment-fields { display: grid; gap: 10px; }
.pos-payment-fields textarea.form-control { min-height: 86px; resize: vertical; }
.pos-payment-fields .form-control { border-radius: 14px; }
.pos-payment-chip-row { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; }
.pos-payment-chip {
  min-height: 42px; border-radius: 12px; border: 1px solid rgba(32,34,27,.08); background: rgba(247,246,236,.8); color: var(--lillo-text); font-weight: 700;
}
.pos-payment-chip.is-muted { color: var(--lillo-muted); }
.pos-payment-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.pos-payment-method-btn {
  min-height: 58px; border-radius: 16px; border: 0; padding: 10px 14px; font-size: 1.02rem; font-weight: 800; color: #fff;
}
.pos-payment-method-btn.method-cash { background: #4458bf; }
.pos-payment-method-btn.method-card { background: #bf3e34; }
.pos-payment-method-btn.method-online { background: #1497b8; }
.pos-payment-method-btn.method-discount { background: #5b7f2d; }
.pos-payment-method-btn.method-complimentary { background: #926aa8; }
.pos-payment-method-btn.method-custom,
.pos-payment-method-btn.method-standard,
.pos-payment-method-btn.method-mixed { background: #5f5f69; }
.pos-payment-advanced-toggle-row { padding-top: 2px; }
.pos-payment-advanced { display: grid; gap: 14px; padding-top: 8px; }
.pos-payment-advanced-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.pos-payment-advanced-toolbar { display: flex; justify-content: flex-end; }
.pos-payment-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.pos-payment-final-actions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.pos-payment-final-actions .btn { min-height: 48px; }
.pos-toast { position: fixed; right: 24px; bottom: 24px; z-index: 1075; min-width: 280px; }

@media (max-width: 1599.98px) {
  .pos-stage-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 1399.98px) {
  .pos-experience-topbar { grid-template-columns: 1fr; }
  .pos-topbar-actions { justify-content: flex-start; flex-wrap: wrap; }
  .pos-workspace { grid-template-columns: 180px minmax(0,1fr) 320px; }
}
@media (max-width: 1199.98px) {
  .pos-workspace { grid-template-columns: 1fr; }
  .pos-category-rail, .pos-order-stage { position: static; max-height: none; }
  .pos-category-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .pos-stage-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pos-order-stage, .pos-ticket-shell { min-height: auto; }
}
@media (max-width: 767.98px) {
  .pos-brand-subtitle { white-space: normal; }
  .pos-category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pos-stage-grid { grid-template-columns: 1fr; }
  .pos-ticket-line-actions { grid-template-columns: 34px 58px 34px 34px; }
  .pos-payment-sheet { width: 100%; }
  .pos-payment-chip-row, .pos-payment-method-grid, .pos-payment-advanced-grid, .pos-payment-preview-grid, .pos-payment-final-actions { grid-template-columns: 1fr; }
}

/* POS full workspace refresh - 2026-04-12 */
body.pos-layout {
  background: #f3f4ee;
}
body.pos-layout .content-area-pos {
  padding: 14px;
  width: 100%;
  max-width: none;
}
body.pos-layout .content-area-pos-fullscreen {
  min-height: 100vh;
}
body.pos-layout .sidebar-note {
  display: none;
}
.pos-workspace {
  min-height: calc(100vh - 42px);
  display: grid;
  gap: 12px;
}
.pos-workspace-topbar {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--lillo-border);
  border-radius: 18px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, .04);
}
.pos-workspace-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.pos-top-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.pos-back-btn {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--lillo-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lillo-text);
  background: #fff;
  text-decoration: none;
  flex: 0 0 auto;
}
.pos-top-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--lillo-text);
}
.pos-top-subtitle {
  font-size: .82rem;
  color: var(--lillo-muted);
}
.pos-searchbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 10px;
}
.pos-search-input-wrap,
.pos-barcode-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pos-search-input-wrap i {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lillo-muted);
}
.pos-search-input-wrap .form-control,
.pos-barcode-wrap .form-control {
  height: 46px;
  border-radius: 14px;
  background: #fff;
}
.pos-search-input-wrap .form-control {
  padding-left: 40px;
}
.pos-layout-grid {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr) 340px;
  gap: 12px;
  min-height: 0;
  flex: 1 1 auto;
}
.pos-category-column,
.pos-products-column,
.pos-ticket-column {
  min-width: 0;
}
.pos-category-column {
  display: grid;
  align-content: start;
  gap: 10px;
}
.pos-category-card {
  border: 1px solid rgba(32, 34, 27, .08);
  background: #fff;
  border-radius: 16px;
  padding: 14px 12px;
  display: grid;
  gap: 6px;
  justify-items: center;
  text-align: center;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.pos-category-card:hover,
.pos-category-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(139, 155, 121, .7);
  box-shadow: 0 10px 22px rgba(17, 24, 39, .06);
}
.pos-category-code {
  width: 68px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(139,155,121,.22), rgba(139,155,121,.08));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: .03em;
  color: var(--lillo-text);
}
.pos-category-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--lillo-text);
  line-height: 1.15;
}
.pos-category-meta {
  font-size: .76rem;
  color: var(--lillo-muted);
}
.pos-products-column {
  background: #fff;
  border: 1px solid var(--lillo-border);
  border-radius: 18px;
  padding: 14px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
}
.pos-products-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pos-products-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--lillo-text);
}
.pos-products-subtitle,
.pos-products-meta {
  font-size: .82rem;
  color: var(--lillo-muted);
}
.pos-product-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-content: start;
}
.pos-product-tile {
  border: 1px solid rgba(32,34,27,.08);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(248,249,247,1));
  min-height: 108px;
  padding: 14px;
  display: grid;
  gap: 12px;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  user-select: none;
}
.pos-product-tile:hover,
.pos-product-tile:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(139, 155, 121, .76);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .08);
  outline: none;
}
.pos-product-tile.is-added {
  transform: scale(.985);
  border-color: rgba(47,125,49,.7);
}
.pos-product-tile-body {
  display: grid;
  gap: 6px;
}
.pos-product-tile-title {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--lillo-text);
}
.pos-product-tile-code {
  font-size: .76rem;
  color: var(--lillo-muted);
}
.pos-product-tile-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.pos-product-tile-price {
  font-size: 1rem;
  font-weight: 800;
  color: var(--lillo-text);
}
.pos-empty-products {
  border: 1px dashed rgba(32,34,27,.16);
  border-radius: 16px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--lillo-muted);
  background: rgba(247,246,236,.65);
}
.pos-ticket-panel {
  background: #fff;
  border: 1px solid var(--lillo-border);
  border-radius: 18px;
  min-height: 100%;
  height: 100%;
  position: sticky;
  top: 18px;
}
.pos-ticket-shell {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto auto;
  min-height: calc(100vh - 98px);
}
.pos-ticket-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(32,34,27,.08);
}
.pos-ticket-heading {
  font-size: 1rem;
  font-weight: 800;
  color: var(--lillo-text);
}
.pos-ticket-subheading,
.pos-ticket-line-meta,
.pos-ticket-payment-empty {
  font-size: .8rem;
  color: var(--lillo-muted);
}
.pos-ticket-account {
  font-size: 1rem;
  font-weight: 800;
  text-align: right;
  color: var(--lillo-text);
}
.pos-ticket-order-list {
  min-height: 0;
  overflow: auto;
  display: grid;
  gap: 8px;
  padding: 12px 10px 8px;
}
.pos-ticket-empty {
  min-height: 180px;
  border: 1px dashed rgba(32,34,27,.14);
  border-radius: 16px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
  color: var(--lillo-muted);
  padding: 18px;
}
.pos-ticket-line {
  border: 1px solid rgba(32,34,27,.08);
  border-radius: 14px;
  background: #fff;
  padding: 10px;
}
.pos-ticket-line-main {
  display: grid;
  grid-template-columns: 22px minmax(0,1fr) auto;
  gap: 10px;
  align-items: center;
}
.pos-ticket-line-select {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pos-ticket-line-select input { display:none; }
.pos-ticket-line-select span {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(32,34,27,.18);
  display: inline-block;
  background: #fff;
}
.pos-ticket-line-copy {
  min-width: 0;
}
.pos-ticket-line-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--lillo-text);
  line-height: 1.2;
}
.pos-ticket-line-price {
  font-size: .96rem;
  font-weight: 800;
  color: var(--lillo-text);
  white-space: nowrap;
}
.pos-ticket-line-row-actions {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: 34px 64px 34px 34px;
  gap: 8px;
  margin-top: 8px;
  justify-content: end;
}
.pos-ticket-row-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(32,34,27,.08);
  background: rgba(247,246,236,.75);
  color: var(--lillo-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.pos-ticket-row-icon.is-danger {
  background: rgba(176,51,61,.08);
  color: var(--lillo-danger);
}
.pos-ticket-remove-form { display: contents; }
.pos-ticket-qty-input {
  width: 64px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(32,34,27,.08);
  text-align: center;
}
.pos-ticket-payments {
  border-top: 1px solid rgba(32,34,27,.08);
  padding: 12px 16px;
  display: grid;
  gap: 8px;
}
.pos-ticket-section-title {
  font-size: .92rem;
  font-weight: 800;
  color: var(--lillo-text);
}
.pos-ticket-payment-list {
  display: grid;
  gap: 6px;
}
.pos-ticket-payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: .84rem;
}
.pos-ticket-account-input {
  width: 100%;
  margin: 0 0 10px;
  border-radius: 12px;
  border: 1px solid rgba(32,34,27,.08);
  min-height: 44px;
  padding: 0 14px;
}
.pos-ticket-bottom-bar,
.pos-ticket-bottom-actions {
  display: grid;
  gap: 8px;
  padding: 0 10px 10px;
}
.pos-ticket-bottom-bar {
  grid-template-columns: minmax(0,1fr) 74px;
}
.pos-ticket-bottom-actions {
  grid-template-columns: repeat(3, 1fr);
}
.pos-ticket-main-btn,
.pos-ticket-cancel-btn,
.pos-ticket-square-btn {
  min-height: 56px;
  border-radius: 12px;
  border: 1px solid rgba(32,34,27,.08);
  font-weight: 800;
}
.pos-ticket-main-btn {
  background: #2f7d31;
  color: #fff;
}
.pos-ticket-cancel-btn {
  background: rgba(176,51,61,.14);
  color: var(--lillo-danger);
}
.pos-ticket-square-btn {
  background: #fff;
  color: var(--lillo-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.pos-ticket-square-btn.is-accent {
  background: rgba(139,155,121,.24);
  border-color: transparent;
}
.pos-payment-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
  z-index: 1050;
}
.pos-payment-drawer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pos-payment-sheet {
  margin-left: auto;
  width: 420px;
  max-width: 100%;
  min-height: 100%;
  background: #fff;
  padding: 20px 18px 24px;
  display: grid;
  align-content: start;
  gap: 14px;
  transform: translateX(100%);
  transition: transform .2s ease;
  box-shadow: -18px 0 48px rgba(17,24,39,.15);
}
.pos-payment-drawer.is-open .pos-payment-sheet {
  transform: translateX(0);
}
.pos-payment-sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.pos-payment-sheet-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--lillo-text);
}
.pos-payment-sheet-subtitle {
  font-size: .85rem;
  color: var(--lillo-muted);
}
.pos-payment-close {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(32,34,27,.08);
  background: #fff;
}
.pos-payment-amount-box {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  border: 1px solid rgba(32,34,27,.08);
  border-radius: 16px;
  padding: 10px 12px;
}
.pos-payment-fields,
.pos-payment-advanced {
  display: grid;
  gap: 10px;
}
.pos-payment-fields textarea.form-control {
  min-height: 82px;
  resize: vertical;
}
.pos-payment-chip-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: 8px;
}
.pos-payment-chip {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(32,34,27,.08);
  background: #fff;
  font-weight: 700;
}
.pos-payment-chip.is-muted {
  color: var(--lillo-danger);
}
.pos-payment-method-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.pos-payment-method-btn {
  min-height: 58px;
  border-radius: 12px;
  border: none;
  color: #fff;
  font-weight: 800;
}
.pos-payment-method-btn.is-selected {
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.35);
}
.pos-payment-method-btn.method-cash { background: #4357c2; }
.pos-payment-method-btn.method-card { background: #c43f37; }
.pos-payment-method-btn.method-online { background: #11a4bf; }
.pos-payment-method-btn.method-discount { background: #2f7d31; }
.pos-payment-method-btn.method-complimentary { background: #8c6aa6; }
.pos-payment-method-btn.method-custom,
.pos-payment-method-btn.method-standard,
.pos-payment-method-btn.method-mixed { background: #5f6471; }
.pos-payment-advanced-grid,
.pos-payment-preview-grid,
.pos-payment-final-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
}
.pos-payment-final-actions .btn { min-height: 48px; }
.pos-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1100;
  border-radius: 14px;
}
body.drawer-open { overflow: hidden; }
@media (max-width: 1599.98px) {
  .pos-product-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1399.98px) {
  .pos-layout-grid { grid-template-columns: 180px minmax(0, 1fr) 320px; }
  .pos-searchbar { grid-template-columns: minmax(0, 1fr) 240px; }
  .pos-product-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1199.98px) {
  .pos-layout-grid { grid-template-columns: 160px minmax(0, 1fr); }
  .pos-ticket-column { grid-column: 1 / -1; }
  .pos-ticket-panel { position: static; }
  .pos-ticket-shell { min-height: auto; }
}
@media (max-width: 991.98px) {
  .pos-workspace-topbar,
  .pos-layout-grid,
  .pos-searchbar,
  .pos-payment-advanced-grid,
  .pos-payment-preview-grid,
  .pos-payment-final-actions,
  .pos-payment-method-grid,
  .pos-payment-chip-row { grid-template-columns: 1fr; }
  .pos-category-column { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pos-product-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pos-ticket-line-main { grid-template-columns: 22px minmax(0,1fr); }
  .pos-ticket-line-price { grid-column: 2 / -1; }
  .pos-payment-sheet { width: 100%; }
}
@media (max-width: 767.98px) {
  .pos-product-board,
  .pos-category-column { grid-template-columns: 1fr; }
}


/* POS continue5 fullscreen polish */
.pos-workspace {
  min-height: calc(100vh - 28px);
}
.pos-layout-grid {
  grid-template-columns: 188px minmax(0, 1fr) 372px;
  align-items: stretch;
}
.pos-workspace-topbar {
  grid-template-columns: 320px minmax(0, 1fr);
  border-radius: 20px;
  padding: 14px 16px;
}
.pos-products-column,
.pos-ticket-panel,
.pos-category-card {
  border-radius: 20px;
}
.pos-category-column {
  position: sticky;
  top: 14px;
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding-right: 2px;
}
.pos-products-column {
  min-height: calc(100vh - 104px);
}
.pos-ticket-panel {
  top: 14px;
}
.pos-ticket-shell {
  min-height: calc(100vh - 104px);
}
.pos-ticket-heading-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pos-ticket-account-wrap {
  display: grid;
  justify-items: end;
  gap: 6px;
}
.pos-ticket-selection-count {
  font-size: .74rem;
  font-weight: 700;
  color: var(--lillo-muted);
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(139,155,121,.08);
}
.pos-ticket-selection-count.is-active {
  color: #2f5e2c;
  background: rgba(47,125,49,.14);
}
.pos-ticket-master-select,
.pos-ticket-line-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
}
.pos-ticket-master-select.is-disabled {
  opacity: .45;
}
.pos-ticket-master-select input,
.pos-ticket-line-select input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  margin: 0;
}
.pos-ticket-master-select span,
.pos-ticket-line-select span {
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: 1px solid rgba(32,34,27,.16);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.pos-ticket-master-select input:checked + span,
.pos-ticket-line-select input:checked + span {
  background: var(--lillo-olive);
  border-color: var(--lillo-olive);
  box-shadow: 0 8px 16px rgba(139,155,121,.18);
}
.pos-ticket-master-select input:checked + span::after,
.pos-ticket-line-select input:checked + span::after {
  content: '\2713';
  font-size: .72rem;
  font-weight: 800;
  color: #fff;
}
.pos-ticket-line {
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
.pos-ticket-line.is-selected {
  border-color: rgba(139,155,121,.62);
  background: rgba(139,155,121,.1);
  box-shadow: 0 10px 18px rgba(17,24,39,.05);
}
.pos-ticket-line-main {
  grid-template-columns: 28px minmax(0,1fr) auto auto;
}
.pos-ticket-line-row-actions {
  display: grid;
  grid-template-columns: 36px 66px 36px 36px;
  gap: 8px;
  align-items: center;
}
.pos-ticket-row-icon,
.pos-ticket-qty-input {
  height: 36px;
}
.pos-ticket-square-btn.is-accent {
  background: rgba(139,155,121,.18);
}
@media (max-width: 1399.98px) {
  .pos-workspace-topbar {
    grid-template-columns: 280px minmax(0, 1fr);
  }
  .pos-layout-grid {
    grid-template-columns: 170px minmax(0, 1fr) 344px;
  }
}
@media (max-width: 1199.98px) {
  body.pos-layout .content-area-pos {
    padding: 12px;
  }
  .pos-category-column {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .pos-layout-grid {
    grid-template-columns: 1fr;
  }
  .pos-products-column,
  .pos-ticket-shell {
    min-height: auto;
  }
}

/* POS continue6 selected-line actions + branch switcher */
.pos-searchbar {
  grid-template-columns: minmax(0, 1fr) 280px 190px;
}
.pos-branch-switcher {
  min-width: 190px;
}
.pos-branch-switcher .form-label {
  font-size: .72rem;
  font-weight: 700;
  color: var(--lillo-muted);
}
.pos-branch-select {
  height: 46px;
  border-radius: 14px;
}
.pos-ticket-selection-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 12px 16px 2px;
  border-top: 1px solid rgba(32,34,27,.08);
}
.pos-ticket-selection-action {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(32,34,27,.08);
  background: rgba(139,155,121,.12);
  color: var(--lillo-text);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pos-ticket-selection-action.is-secondary {
  background: #fff;
}
.pos-ticket-selection-action:disabled {
  opacity: .5;
}
.pos-inline-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .22);
  display: grid;
  place-items: center;
  z-index: 1070;
  padding: 18px;
}
.pos-inline-modal[hidden] {
  display: none !important;
}
.pos-inline-modal-card {
  width: min(520px, 100%);
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--lillo-border);
  box-shadow: 0 18px 48px rgba(17,24,39,.16);
  padding: 18px;
  display: grid;
  gap: 14px;
}
.pos-inline-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pos-inline-modal-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--lillo-text);
}
.pos-inline-modal-subtitle {
  font-size: .82rem;
  color: var(--lillo-muted);
}
.pos-inline-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(32,34,27,.08);
  background: #fff;
  color: var(--lillo-text);
}
.pos-inline-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
body.inline-modal-open {
  overflow: hidden;
}
@media (max-width: 1399.98px) {
  .pos-searchbar {
    grid-template-columns: minmax(0, 1fr) 220px 190px;
  }
}
@media (max-width: 991.98px) {
  .pos-inline-modal {
    padding: 12px;
  }
  .pos-inline-modal-actions {
    flex-direction: column;
  }
}


/* continue7 */
.pos-selection-qty-editor { display:grid; gap:10px; margin-bottom:16px; }
.pos-selection-qty-row { display:flex; align-items:center; justify-content:space-between; gap:12px; border:1px solid rgba(18,22,18,.08); border-radius:16px; padding:10px 12px; background:#fafaf6; }
.pos-selection-qty-copy { display:grid; gap:2px; }
.pos-selection-qty-copy strong { font-size:.95rem; color:#20221b; }
.pos-selection-qty-copy small { color:#6c757d; }
.pos-selection-qty-row input { width:96px; text-align:center; }
.table-tile.is-dragging { opacity:.65; transform:scale(.98); }
.table-tile.is-drop-target { outline:3px dashed rgba(247,246,236,.88); outline-offset:-6px; box-shadow:0 0 0 6px rgba(255,255,255,.08) inset; }


/* continue8 pos stability fixes */
.pos-layout-grid {
  min-height: calc(100vh - 104px);
}
.pos-products-column,
.pos-ticket-panel,
.pos-ticket-shell {
  overflow: hidden;
}
.pos-product-board {
  overflow: auto;
  padding-right: 4px;
  grid-auto-rows: 132px;
}
.pos-product-tile {
  height: 132px;
  min-height: 132px;
  grid-template-rows: minmax(0, 1fr) auto;
  overflow: hidden;
}
.pos-product-tile-body {
  min-height: 0;
  align-content: start;
}
.pos-product-tile-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pos-product-tile-code {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pos-ticket-panel {
  display: flex;
}
.pos-ticket-shell {
  width: 100%;
}
.pos-ticket-order-list {
  padding-bottom: 12px;
}
.pos-ticket-selection-toolbar,
.pos-ticket-payments,
.pos-ticket-bottom-bar,
.pos-ticket-bottom-actions {
  position: relative;
  z-index: 1;
  background: #fff;
}
.pos-ticket-bottom-bar,
.pos-ticket-bottom-actions {
  border-top: 1px solid rgba(32,34,27,.06);
  padding-top: 10px;
}
.pos-ticket-line-main {
  grid-template-columns: 28px minmax(0,1fr) auto;
}
.pos-ticket-line-row-actions {
  grid-column: 2 / -1;
}
.pos-ticket-line-title,
.pos-ticket-line-meta {
  word-break: break-word;
}
@media (max-width: 1399.98px) {
  .pos-workspace-topbar {
    grid-template-columns: 300px minmax(0, 1fr);
  }
  .pos-searchbar {
    grid-template-columns: minmax(0, 1fr) 220px 170px;
  }
}
@media (max-width: 1199.98px) {
  .pos-layout-grid {
    min-height: auto;
  }
  .pos-product-board {
    grid-auto-rows: 124px;
  }
  .pos-product-tile {
    height: 124px;
    min-height: 124px;
  }
}
@media (max-width: 991.98px) {
  .pos-workspace-topbar {
    align-items: stretch;
  }
  .pos-product-board {
    grid-auto-rows: 118px;
  }
  .pos-product-tile {
    height: 118px;
    min-height: 118px;
  }
}

.contract-box{padding:.75rem 1rem;border:1px dashed rgba(0,0,0,.12);border-radius:1rem;background:#fbfaf4}
.contract-json{margin:0;white-space:pre-wrap;word-break:break-word;background:#111827;color:#f9fafb;padding:1rem;border-radius:1rem;font-size:.8rem;line-height:1.45;max-height:320px;overflow:auto}

/* POS continue11 route + overlap + fixed tile polish */
.pos-workspace-topbar {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
}
.pos-searchbar {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  align-items: center;
}
.pos-workspace-brand,
.pos-searchbar,
.pos-barcode-wrap,
.pos-search-input-wrap {
  min-width: 0;
}
.pos-search-input-wrap .form-control,
.pos-barcode-wrap .form-control {
  min-width: 0;
}
.pos-product-board {
  grid-auto-rows: 148px;
}
.pos-product-tile {
  min-height: 148px;
  height: 148px;
}
.pos-product-tile-body {
  min-height: 78px;
  align-content: start;
}
.pos-product-tile-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pos-product-tile-code {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pos-ticket-panel,
.pos-products-column,
.pos-category-column {
  min-width: 0;
}
.pos-payment-sheet {
  max-width: 100vw;
}
@media (max-width: 1399.98px) {
  .pos-layout-grid {
    grid-template-columns: 176px minmax(0, 1fr) 340px;
  }
  .pos-workspace-topbar {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1199.98px) {
  .pos-searchbar {
    grid-template-columns: 1fr;
  }
}


/* continue12 fixed adisyon line heights */
.pos-ticket-order-list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-content: flex-start;
  gap: 8px;
}
.pos-ticket-line {
  flex: 0 0 auto;
  min-height: 72px;
}
.pos-ticket-line-main {
  align-items: start;
}
.pos-ticket-line-copy {
  display: grid;
  gap: 4px;
  min-height: 0;
}
.pos-ticket-line-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pos-ticket-line-meta {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pos-ticket-line-price {
  align-self: start;
}

.seating-split-grid { display:grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap:14px; align-items:start; }
.seating-split-grid > * { min-width:0; }
.settings-inline-form .form-label { white-space:nowrap; }
.pos-workspace-topbar, .pos-searchbar, .pos-layout-grid, .pos-products-head, .pos-ticket-head { min-width:0; }
.pos-workspace-topbar { grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); }
.pos-searchbar { grid-template-columns: minmax(0, 1fr) minmax(220px, 280px) auto; align-items:center; }
.pos-branch-switcher { min-width:160px; }
.pos-workspace-brand > div, .pos-products-head > div { min-width:0; }
.pos-top-title, .pos-top-subtitle, .pos-products-title, .pos-products-subtitle { overflow-wrap:anywhere; }
.pos-category-column { align-content:start; }
.pos-category-card { min-height: 120px; }
.pos-category-name { overflow-wrap:anywhere; word-break:break-word; }
.pos-product-board { align-content:start; }
.pos-ticket-panel { min-width:0; overflow:hidden; }
@media (max-width: 1399.98px) { .pos-searchbar { grid-template-columns: minmax(0, 1fr) minmax(220px, 280px); } .pos-branch-switcher { grid-column: 1 / -1; } }
@media (max-width: 991.98px) { .seating-split-grid { grid-template-columns:1fr; } .side-summary .kpi-strip, .detail-card .kpi-strip { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 575.98px) { .side-summary .kpi-strip, .detail-card .kpi-strip { grid-template-columns:1fr; } }


/* continue14 final polish + auth hardening */
.form-grid-tight > .span-1 { grid-column: span 1; }
.form-grid-tight > .span-5 { grid-column: span 5; }
.form-grid-tight > .span-7 { grid-column: span 7; }
.form-grid-tight > .span-9 { grid-column: span 9; }
.form-grid-tight > * { min-width: 0; }

.detail-card,
.panel-card,
.panel-card-soft {
  overflow: hidden;
}

.side-summary .detail-card {
  padding: 18px;
}

.side-summary .kpi-strip,
.detail-card .kpi-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.kpi-box {
  padding: 12px 14px;
  min-height: 86px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.kpi-box-label {
  min-height: 2.4em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: normal;
}

.kpi-box-value {
  font-size: .98rem;
  line-height: 1.22;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.detail-list {
  gap: 8px;
}

.detail-list-item {
  align-items: flex-start;
}

.detail-list-item > strong,
.detail-list-item > span,
.detail-list-item code,
.detail-list-item .mono-tag {
  max-width: 60%;
  text-align: right;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.record-title,
.record-subtitle,
.section-lead,
.table-muted,
.pos-top-title,
.pos-top-subtitle,
.pos-products-title,
.pos-products-subtitle,
.pos-category-name,
.pos-category-meta {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.mono-tag {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.table-actions {
  justify-content: flex-end;
}

.table-actions .btn,
.table-actions form {
  flex: 0 0 auto;
}

.settings-inline-form .form-label,
.panel-card-soft .form-label {
  white-space: normal !important;
  line-height: 1.2;
}

.panel-card-soft .form-grid-tight,
.settings-inline-form.form-grid-tight {
  align-items: end;
}

.seating-split-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
}

.pos-workspace {
  gap: 16px;
}

.pos-workspace-topbar {
  grid-template-columns: minmax(260px, 320px) minmax(0, 1fr) !important;
  gap: 16px;
  align-items: start;
}

.pos-workspace-brand {
  align-items: center;
  min-width: 0;
}

.pos-workspace-brand > div,
.pos-searchbar > * {
  min-width: 0;
}

.pos-top-title {
  line-height: 1.12;
}

.pos-searchbar {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 270px) minmax(160px, 220px) !important;
  gap: 12px;
}

.pos-layout-grid {
  grid-template-columns: 180px minmax(0, 1fr) 336px !important;
  gap: 16px;
}

.pos-category-column {
  gap: 12px;
}

.pos-category-card {
  min-height: 112px;
}

.pos-products-column,
.pos-ticket-panel {
  min-width: 0;
}

.pos-product-board {
  gap: 14px;
}

@media (max-width: 1599.98px) {
  .pos-workspace-topbar {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 1399.98px) {
  .pos-searchbar {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px) !important;
  }

  .pos-branch-switcher {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  .detail-list-item {
    flex-direction: column;
    gap: 4px;
  }

  .detail-list-item > strong,
  .detail-list-item > span,
  .detail-list-item code,
  .detail-list-item .mono-tag {
    max-width: 100%;
    text-align: left;
  }

  .pos-layout-grid {
    grid-template-columns: 1fr !important;
  }

  .pos-category-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .side-summary .kpi-strip,
  .detail-card .kpi-strip,
  .pos-category-column {
    grid-template-columns: 1fr;
  }
}

/* Continue15 - hamburger shell + POS topbar rebuild */
.app-shell {
  min-height: 100vh;
  display: block;
}
.content-area-wide {
  width: 100%;
  max-width: none;
}
.app-sidebar-offcanvas {
  --bs-offcanvas-width: 312px;
  background: transparent;
  border-right: 0;
}
.app-sidebar-offcanvas .offcanvas-body {
  padding: 0;
}
.app-sidebar-offcanvas .sidebar {
  min-height: 100%;
  position: static;
  border-radius: 0;
}
.app-hero-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.app-menu-toggle {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(32,34,27,.1);
  background: #fff;
  color: var(--lillo-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 4px 14px rgba(17,24,39,.05);
}
.app-menu-toggle:hover {
  background: rgba(247,246,236,.96);
}

body.pos-layout .content-area-pos {
  padding: 16px;
}
.pos-workspace {
  min-height: calc(100vh - 32px);
}
.pos-workspace-topbar,
.pos-layout-grid,
.pos-products-head,
.pos-ticket-head,
.pos-searchbar,
.pos-workspace-brand,
.pos-brand-copy,
.pos-products-column,
.pos-category-column,
.pos-ticket-column {
  min-width: 0;
}
.pos-workspace-topbar {
  grid-template-columns: minmax(320px, 440px) minmax(0, 1fr);
  align-items: stretch;
}
.pos-workspace-brand {
  display: grid;
  grid-template-columns: 46px 42px 54px minmax(0,1fr);
  gap: 10px;
  align-items: center;
}
.pos-menu-toggle,
.pos-back-btn {
  align-self: center;
}
.pos-brand-copy {
  display: grid;
  gap: 2px;
}
.pos-top-title,
.pos-top-subtitle {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.pos-searchbar {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) minmax(170px, 220px);
  align-items: center;
}
.pos-search-input-wrap,
.pos-barcode-wrap,
.pos-branch-switcher {
  min-width: 0;
}
.pos-branch-switcher .form-label {
  display: none;
}
.pos-branch-switcher .form-select {
  height: 46px;
}
.pos-layout-grid {
  grid-template-columns: 160px minmax(0, 1fr) 340px;
  align-items: start;
}
.pos-category-column {
  position: relative;
  top: 0;
}
.pos-category-card {
  width: 100%;
  min-height: 132px;
  align-content: center;
}
.pos-product-board {
  align-content: start;
}
.pos-product-tile {
  min-height: 126px;
  height: 126px;
}
.pos-ticket-column {
  position: relative;
}

@media (max-width: 1399.98px) {
  .pos-workspace-topbar {
    grid-template-columns: 1fr;
  }
  .pos-searchbar {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  }
  .pos-branch-switcher {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  .content-area,
  .content-area-pos {
    padding: 14px;
  }
  .topbar {
    padding: 16px;
  }
  .app-hero {
    gap: 12px;
  }
  .pos-workspace-topbar {
    padding: 12px;
  }
  .pos-workspace-brand {
    grid-template-columns: 46px 42px 44px minmax(0,1fr);
  }
  .pos-top-logo {
    width: 44px;
    height: 44px;
  }
  .pos-searchbar {
    grid-template-columns: 1fr;
  }
  .pos-layout-grid {
    grid-template-columns: 1fr;
  }
  .pos-category-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
  }
  .pos-category-card {
    min-height: 116px;
  }
}

@media (max-width: 575.98px) {
  .app-sidebar-offcanvas {
    --bs-offcanvas-width: 286px;
  }
  .app-hero-header {
    align-items: flex-start;
  }
  .pos-workspace-topbar {
    gap: 10px;
  }
  .pos-workspace-brand {
    grid-template-columns: 42px 38px 40px minmax(0,1fr);
    gap: 8px;
  }
  .app-menu-toggle,
  .pos-menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }
  .pos-back-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }
  .pos-top-title {
    font-size: 1rem;
  }
  .pos-top-subtitle {
    font-size: .78rem;
  }
  .pos-category-column {
    grid-template-columns: 1fr 1fr;
  }
}


/* Continue16 - POS hamburger/topbar overlap fix */
body.pos-layout .content-area-pos{padding:16px !important;}
.pos-workspace{gap:14px !important;}
.pos-workspace-topbar{grid-template-columns:minmax(300px,380px) minmax(0,1fr) !important;align-items:center !important;overflow:hidden !important;}
.pos-workspace-brand{grid-template-columns:42px 42px 52px minmax(0,1fr) !important;gap:10px !important;min-width:0 !important;}
.pos-brand-copy{min-width:0 !important;overflow:hidden !important;}
.pos-top-title{white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;font-size:1rem !important;line-height:1.2 !important;}
.pos-top-subtitle{display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;overflow:hidden !important;line-height:1.25 !important;max-height:2.5em !important;overflow-wrap:anywhere !important;}
.pos-searchbar{min-width:0 !important;align-items:center !important;}
.pos-searchbar.no-branch-switcher{grid-template-columns:minmax(0,1fr) minmax(220px,280px) !important;}
.pos-searchbar.has-branch-switcher{grid-template-columns:minmax(0,1fr) minmax(220px,280px) minmax(160px,220px) !important;}
.pos-search-input-wrap,.pos-barcode-wrap,.pos-branch-switcher{min-width:0 !important;}
.pos-search-input-wrap .form-control,.pos-barcode-wrap .form-control,.pos-branch-switcher .form-select{height:46px !important;}
.pos-layout-grid{grid-template-columns:170px minmax(0,1fr) 320px !important;align-items:start !important;}
.pos-category-column{display:grid !important;align-content:start !important;gap:12px !important;position:relative !important;top:auto !important;}
.pos-category-card{min-height:118px !important;height:auto !important;padding:14px 10px !important;align-content:center !important;}
.pos-product-board{grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:12px !important;}
.pos-product-tile{min-height:128px !important;height:128px !important;}
.pos-ticket-panel{top:0 !important;}
.app-sidebar-offcanvas{z-index:1085 !important;}
.app-sidebar-offcanvas .offcanvas-header{background:#fff;position:sticky;top:0;z-index:2;}
@media (max-width: 1279.98px){.pos-workspace-topbar{grid-template-columns:1fr !important;}.pos-searchbar.no-branch-switcher{grid-template-columns:minmax(0,1fr) minmax(220px,280px) !important;}.pos-searchbar.has-branch-switcher{grid-template-columns:minmax(0,1fr) minmax(220px,280px) !important;}.pos-branch-switcher{grid-column:1 / -1 !important;}.pos-layout-grid{grid-template-columns:150px minmax(0,1fr) 300px !important;}.pos-product-board{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}
@media (max-width: 991.98px){.pos-workspace-topbar{padding:12px !important;}.pos-searchbar.no-branch-switcher,.pos-searchbar.has-branch-switcher{grid-template-columns:1fr !important;}.pos-layout-grid{grid-template-columns:1fr !important;}.pos-category-column{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}.pos-product-board{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}.pos-ticket-panel{position:relative !important;}}
@media (max-width: 575.98px){.pos-workspace-brand{grid-template-columns:40px 40px 44px minmax(0,1fr) !important;gap:8px !important;}.pos-top-logo{width:44px !important;height:44px !important;}.pos-category-column{grid-template-columns:1fr !important;}.pos-product-board{grid-template-columns:1fr !important;}.pos-top-title{font-size:.96rem !important;}.pos-top-subtitle{-webkit-line-clamp:1 !important;max-height:1.3em !important;}}


/* Continue17 - POS hamburger simplification */
body.pos-layout .content-area-wide{padding:16px !important;}
body.pos-layout .topbar.mb-4.pos-workspace-topbar{margin-bottom:14px !important;}
body.pos-layout .pos-workspace{min-height:calc(100vh - 32px);gap:14px !important;}
body.pos-layout .pos-workspace-topbar{display:flex !important;align-items:center !important;justify-content:space-between !important;gap:16px !important;padding:18px 20px !important;border-radius:24px !important;overflow:visible !important;}
body.pos-layout .pos-workspace-brand{display:flex !important;align-items:center !important;gap:12px !important;min-width:0 !important;flex:1 1 auto !important;}
body.pos-layout .pos-brand-copy{display:grid !important;gap:2px !important;min-width:0 !important;}
body.pos-layout .pos-top-title{white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;font-size:1.35rem !important;line-height:1.15 !important;}
body.pos-layout .pos-top-subtitle{display:block !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;max-height:none !important;}
body.pos-layout .pos-topbar-actions{display:flex !important;align-items:center !important;gap:12px !important;flex:0 0 auto !important;}
body.pos-layout .pos-branch-switcher{min-width:220px !important;max-width:320px !important;}
body.pos-layout .pos-layout-grid{grid-template-columns:168px minmax(0,1fr) 320px !important;gap:14px !important;}
body.pos-layout .pos-category-column{display:grid !important;align-content:start !important;gap:12px !important;min-width:0 !important;}
body.pos-layout .pos-category-card{background:#ffffff !important;opacity:1 !important;backdrop-filter:none !important;box-shadow:0 6px 18px rgba(17,24,39,.04) !important;}
body.pos-layout .pos-category-card.is-active{background:rgba(139,155,121,.14) !important;}
body.pos-layout .pos-category-code{background:rgba(139,155,121,.12) !important;}
body.pos-layout .pos-products-column,
body.pos-layout .pos-ticket-panel{background:rgba(255,255,255,.92) !important;}
@media (max-width: 1199.98px){
  body.pos-layout .pos-layout-grid{grid-template-columns:150px minmax(0,1fr) 300px !important;}
}
@media (max-width: 991.98px){
  body.pos-layout .content-area-wide{padding:14px !important;}
  body.pos-layout .pos-workspace-topbar{flex-direction:column !important;align-items:stretch !important;padding:16px !important;}
  body.pos-layout .pos-topbar-actions{justify-content:flex-start !important;}
  body.pos-layout .pos-branch-switcher{min-width:0 !important;max-width:none !important;width:100% !important;}
  body.pos-layout .pos-layout-grid{grid-template-columns:1fr !important;}
  body.pos-layout .pos-category-column{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width: 575.98px){
  body.pos-layout .pos-top-title{font-size:1.08rem !important;}
  body.pos-layout .pos-category-column{grid-template-columns:1fr !important;}
}


/* Continue18 - POS header alignment + offcanvas cleanup */
.app-sidebar-offcanvas .offcanvas-header{justify-content:flex-end !important;min-height:56px;}
body.pos-layout .pos-workspace-topbar{padding:18px 20px !important;overflow:visible !important;}
body.pos-layout .pos-workspace-topbar .app-hero{width:100%;align-items:center;gap:16px;flex-wrap:nowrap;}
body.pos-layout .pos-hero-header{display:flex;align-items:center;gap:12px;min-width:0;flex:1 1 auto;}
body.pos-layout .pos-workspace-brand,
body.pos-layout .pos-brand-copy{min-width:0;}
body.pos-layout .pos-brand-copy{display:block !important;flex:1 1 auto;}
body.pos-layout .pos-top-title{margin:0 !important;font-size:1.85rem !important;line-height:1.1 !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;}
body.pos-layout .pos-top-subtitle{display:block !important;white-space:nowrap !important;overflow:hidden !important;text-overflow:ellipsis !important;max-width:100%;}
body.pos-layout .pos-topbar-actions{display:flex !important;align-items:flex-start !important;justify-content:flex-end !important;flex:0 0 280px !important;max-width:280px !important;min-width:240px !important;}
body.pos-layout .pos-branch-switcher-card{width:100%;max-width:280px;border:1px solid var(--lillo-border);border-radius:18px;padding:12px 14px;background:rgba(255,255,255,.78);box-shadow:0 8px 24px rgba(32,34,27,.04);}
body.pos-layout .pos-branch-switcher-card .form-label{font-size:.78rem;margin-bottom:6px !important;}
body.pos-layout .pos-branch-select{min-height:42px !important;}
body.pos-layout .pos-layout-grid{align-items:start !important;}
@media (max-width: 1199.98px){
  body.pos-layout .pos-workspace-topbar .app-hero{flex-wrap:wrap;}
  body.pos-layout .pos-topbar-actions{flex:1 1 100% !important;max-width:none !important;min-width:0 !important;justify-content:flex-start !important;}
  body.pos-layout .pos-branch-switcher-card{max-width:360px;}
}
@media (max-width: 767.98px){
  body.pos-layout .pos-workspace-topbar{padding:16px !important;}
  body.pos-layout .pos-hero-header{gap:10px;align-items:flex-start;}
  body.pos-layout .pos-top-logo{width:46px !important;height:46px !important;}
  body.pos-layout .pos-top-title{font-size:1.28rem !important;white-space:normal !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;}
  body.pos-layout .pos-top-subtitle{white-space:normal !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;}
  body.pos-layout .pos-topbar-actions{justify-content:stretch !important;}
  body.pos-layout .pos-branch-switcher-card{max-width:none;width:100%;}
}

/* Continue19 - POS full-width header + 20/50/30 desktop layout */
body.pos-layout .content-area-wide{
  padding:16px !important;
}
body.pos-layout .pos-workspace{
  width:100%;
  gap:14px !important;
}
body.pos-layout .pos-workspace-topbar{
  width:100%;
  margin-bottom:14px !important;
  padding:20px 22px !important;
  border-radius:28px !important;
  overflow:visible !important;
}
body.pos-layout .pos-workspace-topbar .app-hero.pos-hero-fullwidth{
  width:100%;
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:18px;
  flex-wrap:unset !important;
}
body.pos-layout .pos-hero-header{
  min-width:0;
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
}
body.pos-layout .pos-brand-copy{
  min-width:0;
  flex:1 1 auto;
  display:block !important;
}
body.pos-layout .pos-top-title{
  margin:0 !important;
  font-size:1.7rem !important;
  line-height:1.1 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
body.pos-layout .pos-top-subtitle{
  display:block !important;
  margin-top:2px;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
body.pos-layout .pos-topbar-actions--header{
  align-self:start;
  justify-self:end;
  display:flex !important;
  justify-content:flex-end !important;
  align-items:flex-start !important;
  min-width:220px;
  max-width:280px;
}
body.pos-layout .pos-branch-switcher-card{
  width:100%;
  border:1px solid var(--lillo-border);
  border-radius:18px;
  padding:12px 14px;
  background:#fff;
  box-shadow:0 8px 24px rgba(32,34,27,.04);
}
body.pos-layout .pos-branch-switcher-card .form-label{
  font-size:.78rem;
  margin-bottom:6px !important;
}
body.pos-layout .pos-branch-select{
  min-height:44px !important;
}
body.pos-layout .pos-layout-grid{
  width:100%;
  display:grid;
  grid-template-columns:minmax(180px,2fr) minmax(420px,5fr) minmax(300px,3fr) !important;
  gap:16px !important;
  align-items:start !important;
}
body.pos-layout .pos-category-column,
body.pos-layout .pos-products-column,
body.pos-layout .pos-ticket-column,
body.pos-layout .pos-ticket-panel,
body.pos-layout .pos-products-head,
body.pos-layout .pos-product-board{
  min-width:0;
}
body.pos-layout .pos-category-column{
  display:grid !important;
  align-content:start !important;
  gap:12px !important;
}
body.pos-layout .pos-category-card{
  background:#fff !important;
  min-height:118px !important;
  height:auto !important;
  padding:14px 12px !important;
  box-shadow:0 6px 18px rgba(17,24,39,.04) !important;
}
body.pos-layout .pos-products-column,
body.pos-layout .pos-ticket-panel{
  background:rgba(255,255,255,.92) !important;
}
body.pos-layout .pos-product-board{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:12px !important;
}
body.pos-layout .pos-product-tile{
  min-height:126px !important;
  height:126px !important;
}
@media (max-width: 1279.98px){
  body.pos-layout .pos-workspace-topbar .app-hero.pos-hero-fullwidth{
    grid-template-columns:minmax(0,1fr) 240px;
    gap:14px;
  }
  body.pos-layout .pos-top-title{
    font-size:1.45rem !important;
  }
  body.pos-layout .pos-layout-grid{
    grid-template-columns:minmax(160px,1.8fr) minmax(0,4.7fr) minmax(280px,3fr) !important;
    gap:14px !important;
  }
  body.pos-layout .pos-product-board{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width: 991.98px){
  body.pos-layout .content-area-wide{
    padding:14px !important;
  }
  body.pos-layout .pos-workspace-topbar{
    padding:18px !important;
  }
  body.pos-layout .pos-workspace-topbar .app-hero.pos-hero-fullwidth{
    grid-template-columns:1fr;
    gap:14px;
  }
  body.pos-layout .pos-hero-header{
    align-items:flex-start !important;
  }
  body.pos-layout .pos-topbar-actions--header{
    justify-self:stretch;
    min-width:0;
    max-width:none;
    width:100%;
  }
  body.pos-layout .pos-branch-switcher-card{
    max-width:none;
  }
  body.pos-layout .pos-layout-grid{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
  body.pos-layout .pos-category-column{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  body.pos-layout .pos-product-board{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width: 575.98px){
  body.pos-layout .pos-workspace-topbar{
    padding:16px !important;
  }
  body.pos-layout .pos-hero-header{
    gap:10px !important;
  }
  body.pos-layout .pos-top-logo{
    width:46px !important;
    height:46px !important;
  }
  body.pos-layout .pos-top-title{
    font-size:1.14rem !important;
    white-space:normal !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
  }
  body.pos-layout .pos-top-subtitle{
    white-space:normal !important;
    display:-webkit-box !important;
    -webkit-line-clamp:2 !important;
    -webkit-box-orient:vertical !important;
  }
  body.pos-layout .pos-category-column,
  body.pos-layout .pos-product-board{
    grid-template-columns:1fr !important;
  }
}


/* Continue20 - POS full-width header final cleanup */
body.pos-layout .app-shell,
body.pos-layout .content-area,
body.pos-layout .content-area-wide,
body.pos-layout .pos-workspace,
body.pos-layout .pos-workspace-topbar,
body.pos-layout .pos-layout-grid{
  width:100% !important;
  max-width:none !important;
}
body.pos-layout .content-area.content-area-wide{
  padding:16px !important;
  margin:0 !important;
}
body.pos-layout .topbar.mb-4.pos-workspace-topbar{
  background:#fff !important;
  border:1px solid var(--lillo-border) !important;
  border-radius:24px !important;
  box-shadow:0 16px 40px rgba(32,34,27,.05) !important;
}
body.pos-layout .pos-workspace-topbar .app-hero.pos-hero-fullwidth{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:18px !important;
  width:100% !important;
}
body.pos-layout .pos-hero-header{
  flex:1 1 auto !important;
  min-width:0 !important;
}
body.pos-layout .pos-topbar-actions--header{
  flex:0 0 260px !important;
  min-width:220px !important;
  max-width:260px !important;
  width:260px !important;
  align-self:flex-start !important;
  justify-content:flex-end !important;
}
body.pos-layout .pos-topbar-actions--header .pos-branch-select{
  width:100% !important;
  min-height:46px !important;
  border-radius:14px !important;
  background:#fff !important;
}
body.pos-layout .pos-branch-switcher-card,
body.pos-layout .pos-branch-switcher-card .form-label{
  display:none !important;
}
body.pos-layout .pos-layout-grid{
  grid-template-columns:minmax(0,2fr) minmax(0,5fr) minmax(320px,3fr) !important;
  align-items:start !important;
}
body.pos-layout .pos-category-column{
  grid-template-columns:1fr !important;
}
body.pos-layout .pos-category-card{
  width:100% !important;
}
@media (max-width: 1199.98px){
  body.pos-layout .pos-workspace-topbar .app-hero.pos-hero-fullwidth{
    flex-wrap:wrap !important;
  }
  body.pos-layout .pos-topbar-actions--header{
    flex:1 1 100% !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    justify-content:flex-start !important;
  }
}
@media (max-width: 991.98px){
  body.pos-layout .pos-layout-grid{
    grid-template-columns:1fr !important;
  }
  body.pos-layout .pos-category-column{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width: 575.98px){
  body.pos-layout .pos-category-column,
  body.pos-layout .pos-product-board{
    grid-template-columns:1fr !important;
  }
}

/* Continue21 - remove pos-workspace wrapper dependency and normalize POS header */
body.pos-layout .pos-workspace{
  display:contents !important;
  gap:0 !important;
  min-height:0 !important;
}
body.pos-layout .pos-workspace-topbar{
  width:100% !important;
  max-width:none !important;
  margin-bottom:16px !important;
  padding:18px 20px !important;
  overflow:visible !important;
}
body.pos-layout .pos-workspace-topbar .app-hero.pos-hero-fullwidth{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:start !important;
  gap:18px !important;
  width:100% !important;
}
body.pos-layout .pos-hero-header{
  display:grid !important;
  grid-template-columns:auto auto auto minmax(0,1fr) !important;
  align-items:center !important;
  gap:12px !important;
  min-width:0 !important;
}
body.pos-layout .pos-brand-copy,
body.pos-layout .pos-top-title,
body.pos-layout .pos-top-subtitle{
  min-width:0 !important;
}
body.pos-layout .pos-top-title{
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
body.pos-layout .pos-top-subtitle{
  display:-webkit-box !important;
  -webkit-line-clamp:1 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
body.pos-layout .pos-topbar-actions--header{
  align-self:start !important;
  justify-self:end !important;
  width:240px !important;
  min-width:220px !important;
  max-width:240px !important;
  margin:0 !important;
}
body.pos-layout .pos-topbar-actions--header .pos-branch-select{
  width:100% !important;
}
body.pos-layout .pos-layout-grid{
  width:100% !important;
  max-width:none !important;
  grid-template-columns:minmax(0,2fr) minmax(0,5fr) minmax(320px,3fr) !important;
}
@media (max-width: 1199.98px){
  body.pos-layout .pos-workspace-topbar .app-hero.pos-hero-fullwidth{
    grid-template-columns:1fr !important;
  }
  body.pos-layout .pos-topbar-actions--header{
    justify-self:stretch !important;
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
  }
}
@media (max-width: 767.98px){
  body.pos-layout .pos-workspace-topbar{
    padding:16px !important;
  }
  body.pos-layout .pos-hero-header{
    grid-template-columns:auto auto minmax(0,1fr) !important;
    gap:10px !important;
  }
  body.pos-layout .pos-top-logo{
    display:none !important;
  }
}


/* Continue22 - offcanvas close button inside canvas */
.app-sidebar-offcanvas .offcanvas-body{padding:0 !important;}
.offcanvas-close-row{display:flex;justify-content:flex-end;padding:12px 12px 0;}
.offcanvas-close-row .btn-close{box-shadow:none;opacity:.85;}
.offcanvas-close-row .btn-close:hover{opacity:1;}
.app-sidebar-offcanvas .offcanvas-header{display:none !important;}

/* Continue23 - POS payment drawer density polish */
.pos-payment-sheet{
  padding:18px 16px 20px;
  gap:12px;
}
.pos-payment-sheet-title{
  font-size:1.16rem;
  line-height:1.15;
}
.pos-payment-sheet-subtitle{
  font-size:.8rem;
}
.pos-payment-close{
  width:38px;
  height:38px;
  border-radius:10px;
}
.pos-payment-amount-box{
  font-size:1.8rem;
  padding:8px 10px;
  border-radius:14px;
}
.pos-payment-fields,
.pos-payment-advanced{
  gap:8px;
}
.pos-payment-fields .form-control,
.pos-payment-fields .form-select,
.pos-payment-advanced .form-control,
.pos-payment-advanced .form-select{
  min-height:48px;
  font-size:.98rem;
  border-radius:14px;
}
.pos-payment-fields textarea.form-control{
  min-height:74px;
}
.pos-payment-chip-row{
  gap:6px;
}
.pos-payment-chip{
  min-height:38px;
  border-radius:10px;
  font-size:.94rem;
}
.pos-payment-method-grid{
  gap:8px;
}
.pos-payment-method-btn{
  min-height:56px;
  border-radius:12px;
  padding:10px 12px;
  font-size:.98rem;
  line-height:1.1;
}
.pos-payment-advanced-toggle-row .btn-link{
  font-size:.95rem;
  font-weight:700;
}
.pos-payment-advanced-grid,
.pos-payment-preview-grid,
.pos-payment-final-actions{
  gap:8px;
}
.pos-payment-advanced-toolbar .btn{
  min-height:38px;
  padding:.4rem .8rem;
  font-size:.88rem;
}
.pos-payment-list{
  gap:8px;
}
.pos-payment-row{
  grid-template-columns:minmax(92px,.8fr) minmax(112px,.9fr) minmax(0,1fr) 112px;
  gap:8px;
  align-items:start;
  padding:10px;
  border-radius:16px;
}
.pos-payment-row .form-label{
  margin-bottom:4px;
  font-size:.78rem;
  font-weight:700;
  line-height:1.2;
  color:var(--lillo-muted);
}
.pos-payment-row .form-control,
.pos-payment-row .form-select{
  min-height:44px;
  font-size:.95rem;
  border-radius:12px;
}
.pos-payment-row .inline-form-actions{
  align-self:end;
}
.pos-payment-row .js-remove-payment-row{
  min-height:42px;
  padding:.45rem .8rem;
  font-size:.9rem;
  border-radius:999px;
}
.pos-payment-preview-grid .form-label,
.pos-payment-final-actions .btn{
  font-size:.92rem;
}
.pos-payment-final-actions .btn{
  min-height:46px;
  padding:.55rem .9rem;
}

@media (max-width: 767.98px){
  .pos-payment-sheet{
    padding:14px 12px 16px;
    gap:10px;
  }
  .pos-payment-sheet-title{
    font-size:1.04rem;
  }
  .pos-payment-amount-box{
    font-size:1.55rem;
  }
  .pos-payment-chip{
    min-height:36px;
    font-size:.88rem;
  }
  .pos-payment-method-btn{
    min-height:50px;
    font-size:.94rem;
  }
  .pos-payment-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
    align-items:start;
  }
  .pos-payment-row > div:nth-child(3){
    grid-column:1 / -1;
  }
  .pos-payment-row > div:nth-child(4){
    grid-column:2;
    justify-self:end;
    width:auto;
    min-width:0;
  }
  .pos-payment-row .js-remove-payment-row{
    width:auto !important;
    min-width:0;
  }
}


/* Continue26 - POS layout + VAT-inclusive pricing fixes */
body.pos-layout .pos-layout-grid{
  grid-template-columns:minmax(280px,20%) minmax(0,50%) minmax(360px,30%) !important;
  gap:16px !important;
  align-items:start !important;
}
body.pos-layout .pos-category-column{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
  align-content:start !important;
  min-width:0 !important;
}
body.pos-layout .pos-category-card{
  min-height:118px !important;
}
body.pos-layout .pos-ticket-column{
  min-width:0 !important;
  max-width:100% !important;
  overflow:hidden !important;
}
body.pos-layout .pos-ticket-panel{
  height:calc(100vh - 138px) !important;
  max-height:calc(100vh - 138px) !important;
  min-height:0 !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
}
body.pos-layout .pos-ticket-shell{
  height:100% !important;
  min-height:0 !important;
  grid-template-rows:auto minmax(0,1fr) auto auto auto !important;
}
body.pos-layout .pos-ticket-order-list{
  min-height:0 !important;
  max-height:none !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:8px !important;
  scrollbar-gutter:stable;
}
body.pos-layout .pos-ticket-payments{
  padding:10px 14px !important;
}
body.pos-layout .pos-ticket-bottom-bar,
body.pos-layout .pos-ticket-bottom-actions{
  padding-left:10px !important;
  padding-right:10px !important;
}

@media (max-width: 1279.98px){
  body.pos-layout .pos-layout-grid{
    grid-template-columns:minmax(230px,24%) minmax(0,43%) minmax(320px,33%) !important;
  }
  body.pos-layout .pos-category-column{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media (max-width: 991.98px){
  body.pos-layout .pos-layout-grid{
    grid-template-columns:1fr !important;
  }
  body.pos-layout .pos-category-column{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  body.pos-layout .pos-ticket-panel{
    height:auto !important;
    max-height:none !important;
  }
  body.pos-layout .pos-ticket-order-list{
    max-height:360px !important;
  }
}

@media (max-width: 575.98px){
  body.pos-layout .pos-category-column{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

/* Continue27 - POS category cards 2-up (force 2 columns) */
.pos-category-column{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
@media (max-width: 575.98px){
  .pos-category-column{
    grid-template-columns:1fr !important;
  }
}

/* Continue28 - customer ledger / POS customer notification */
.pos-payment-advanced-grid--customer{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
}
.pos-payment-notify-check{
  display:flex;
  align-items:center;
  gap:.6rem;
  padding:.7rem .9rem;
  border:1px solid rgba(15,23,42,.08);
  border-radius:1rem;
  background:#fff;
  margin-bottom:.35rem;
}
.pos-payment-notify-check .form-check-input{
  margin:0;
}
@media (max-width: 767.98px){
  .pos-payment-advanced-grid--customer{
    grid-template-columns:1fr !important;
  }
}

.pos-payment-notify-check.is-disabled {
  opacity: .6;
}
.pos-payment-notify-check.is-disabled .form-check-input,
.pos-payment-notify-check.is-disabled .form-check-label {
  cursor: not-allowed;
}


.pos-ops-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}.pos-mini-panel{padding:12px 14px}.pos-mini-panel-head{font-size:.78rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:#6c757d;margin-bottom:8px}.pos-mini-chip-row{display:flex;flex-wrap:wrap;gap:8px}.pos-mini-chip{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 10px;border:1px solid rgba(0,0,0,.08);border-radius:14px;background:#fff;color:inherit;text-decoration:none;font-size:.82rem;line-height:1.2;min-width:156px}.pos-mini-chip strong{font-size:.82rem}.pos-mini-chip span{font-size:.72rem;color:#6c757d}.pos-mini-chip small{font-size:.7rem;color:#8a8f87}.pos-mini-chip:hover{border-color:rgba(0,0,0,.18);background:#fcfbf7}.pos-ticket-account-tools{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:8px;margin-bottom:10px}.pos-ticket-account-tools .btn{font-size:.78rem;padding:.3rem .7rem}@media (max-width:991.98px){.pos-ops-strip{grid-template-columns:1fr}}

.permissions-matrix-wrap {
  overflow: auto;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 1rem;
}
.permissions-matrix-table {
  min-width: 980px;
  margin-bottom: 0;
}
.permissions-matrix-table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #fffdf7;
}
.permissions-col-head {
  min-width: 280px;
}
.permissions-role-head {
  min-width: 140px;
}
.permissions-group-row td {
  background: #f7f6ec;
  font-weight: 700;
  letter-spacing: .04em;
  color: #4b5563;
}
.audit-context-details {
  min-width: 240px;
}
.audit-context-details summary {
  cursor: pointer;
  color: #8b9b79;
  font-weight: 600;
}
.audit-context-details pre {
  margin-top: .5rem;
  padding: .875rem;
  background: #f8fafc;
  border-radius: .875rem;
  font-size: 12px;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-word;
  max-width: 520px;
}
.audit-table td {
  vertical-align: top;
}


/* Continue35 - collapsible sidebar + POS pastel category themes */
.side-menu-group{
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  background:rgba(255,255,255,.05);
  overflow:hidden;
}
.side-group-toggle{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 12px;
  color:rgba(255,255,255,.94);
  font-weight:700;
  cursor:pointer;
}
.side-group-toggle::marker,
.side-group-toggle::-webkit-details-marker{display:none;}
.side-group-toggle:hover,
.side-menu-group[open] > .side-group-toggle,
.side-group-toggle.active{background:rgba(255,255,255,.12);}
.side-group-main{display:flex;align-items:center;gap:10px;min-width:0;}
.side-group-main span:last-child{min-width:0;}
.side-group-chevron-wrap{display:inline-flex;align-items:center;justify-content:center;min-width:18px;}
.side-group-chevron{opacity:.9;font-size:.92rem;line-height:1;}
.side-group-chevron-down{display:none;}
.side-menu-group[open] .side-group-chevron-right{display:none;}
.side-menu-group[open] .side-group-chevron-down{display:inline-flex;}
.side-group-items{display:grid;gap:6px;padding:6px 10px 10px 18px;}
.side-link-sub{margin-left:0;padding:9px 10px 9px 14px;border-left:2px solid rgba(255,255,255,.14);border-top-left-radius:12px;border-bottom-left-radius:12px;background:transparent;}
.side-link-sub i{font-size:.92rem;opacity:.95;}

body.pos-layout .pos-category-column{
  display:grid !important;
  grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  align-content:start !important;
  gap:12px !important;
}
body.pos-layout .pos-category-card{
  width:100% !important;
  min-height:126px !important;
  padding:14px 12px !important;
  background:var(--cat-bg, #fff) !important;
  border:1px solid var(--cat-border, #e7e1d8) !important;
  color:var(--cat-text, var(--lillo-text)) !important;
  box-shadow:0 10px 24px rgba(17,24,39,.05) !important;
}
body.pos-layout .pos-category-card:hover,
body.pos-layout .pos-category-card:focus-visible{
  background:var(--cat-soft, #fff) !important;
  border-color:var(--cat-accent, var(--lillo-olive)) !important;
}
body.pos-layout .pos-category-card.is-active{
  background:var(--cat-soft, #fff) !important;
  border-color:var(--cat-accent, var(--lillo-olive)) !important;
  box-shadow:inset 0 0 0 2px var(--cat-accent, var(--lillo-olive)), 0 12px 26px rgba(17,24,39,.06) !important;
}
body.pos-layout .pos-category-code{
  background:rgba(255,255,255,.56) !important;
  color:var(--cat-accent, var(--lillo-olive)) !important;
  border-radius:16px !important;
  padding:10px 12px !important;
}
body.pos-layout .pos-category-name,
body.pos-layout .pos-category-meta{
  color:var(--cat-text, var(--lillo-text)) !important;
}

body.pos-layout .pos-product-tile{
  background:linear-gradient(180deg, var(--cat-soft, #fff) 0%, color-mix(in srgb, var(--cat-bg, #fff) 80%, white 20%) 100%) !important;
  border:1px solid var(--cat-border, #ece4d8) !important;
  box-shadow:0 12px 28px rgba(17,24,39,.045) !important;
}
body.pos-layout .pos-product-tile:hover,
body.pos-layout .pos-product-tile:focus-visible{
  border-color:var(--cat-accent, var(--lillo-olive)) !important;
  box-shadow:0 16px 30px rgba(17,24,39,.08) !important;
}
body.pos-layout .pos-product-tile.is-added{
  border-color:var(--cat-accent, var(--lillo-olive)) !important;
  box-shadow:0 0 0 2px color-mix(in srgb, var(--cat-accent, var(--lillo-olive)) 22%, transparent), 0 16px 28px rgba(17,24,39,.08) !important;
}
body.pos-layout .pos-product-tile-body{
  gap:10px !important;
}
body.pos-layout .pos-product-tile-title{
  font-size:clamp(1.35rem, 1.15vw + 1rem, 1.85rem) !important;
  line-height:1.02 !important;
  font-weight:800 !important;
  letter-spacing:-.02em !important;
  color:var(--cat-text, var(--lillo-text)) !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
body.pos-layout .pos-product-tile-code{
  color:color-mix(in srgb, var(--cat-text, #3a4330) 72%, #6b7280 28%) !important;
  font-size:.86rem !important;
}
body.pos-layout .pos-product-tile-price{
  color:var(--cat-accent, var(--lillo-olive-dark)) !important;
  font-size:1.08rem !important;
  font-weight:800 !important;
}
@media (max-width: 991.98px){
  body.pos-layout .pos-category-column{grid-template-columns:repeat(2, minmax(0,1fr)) !important;}
  body.pos-layout .pos-product-tile-title{font-size:clamp(1.18rem, 1vw + .92rem, 1.5rem) !important;}
}
@media (max-width: 575.98px){
  body.pos-layout .pos-category-column{grid-template-columns:1fr !important;}
}


/* Continue38 - sidebar alignment cleanup from continue35 */
.sidebar-section-label{display:none !important;}
details summary::marker,
details summary::-webkit-details-marker{display:none !important;content:"" !important;}
summary{list-style:none !important;}

.side-menu-group{
  border:0 !important;
  background:transparent !important;
  border-radius:0 !important;
  overflow:visible !important;
  margin:0 !important;
}
summary.side-group-toggle{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:10px !important;
  padding:10px 12px !important;
  min-height:auto !important;
  border-radius:16px !important;
  background:transparent !important;
}
.side-group-toggle:hover,
.side-menu-group[open] > .side-group-toggle,
.side-group-toggle.active{
  background:rgba(255,255,255,.14) !important;
}
.side-group-main{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  min-width:0 !important;
}
i.bi{margin-right:0 !important;}
.side-group-main > i.bi,
.side-link > i.bi,
.side-link-sub > i.bi{
  width:18px;
  min-width:18px;
  text-align:center;
}
.side-group-chevron-wrap{
  margin-left:auto;
  min-width:18px;
}
.side-group-items{
  display:grid;
  gap:6px;
  padding:4px 0 2px 40px !important;
}
.side-link-sub{
  margin-left:0 !important;
  padding:8px 12px !important;
  border-left:0 !important;
  border-top-left-radius:12px !important;
  border-bottom-left-radius:12px !important;
  background:transparent !important;
}
.side-link-sub:hover,
.side-link-sub:focus,
.side-link-sub.active{
  background:rgba(255,255,255,.10) !important;
}

/* CONTINUE39: POS structure + category palette hardening */
body.pos-layout .pos-layout-grid{
  grid-template-columns: minmax(220px,20%) minmax(520px,50%) minmax(320px,30%) !important;
  gap: 16px !important;
  align-items: stretch !important;
}

body.pos-layout .pos-category-column,
body.pos-layout .pos-products-column,
body.pos-layout .pos-ticket-column,
body.pos-layout .pos-ticket-panel{
  min-height: 0 !important;
}

body.pos-layout .pos-products-column,
body.pos-layout .pos-ticket-panel{
  display: flex !important;
  flex-direction: column !important;
}

body.pos-layout .pos-ticket-shell{
  display: flex !important;
  flex-direction: column !important;
  min-height: clamp(560px, calc(100vh - 220px), 920px) !important;
  height: 100% !important;
}

body.pos-layout .pos-ticket-head{order:1;flex:0 0 auto;}
body.pos-layout .pos-ticket-account-tools{order:2;flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:10px 0 12px !important;}
body.pos-layout .pos-ticket-order-list{order:3;flex:1 1 auto !important;min-height: 220px !important;max-height:none !important;overflow:auto !important;padding-right:4px !important;}
body.pos-layout .pos-ticket-selection-toolbar{order:4;flex:0 0 auto;}
body.pos-layout .pos-ticket-payments{order:5;flex:0 0 auto;}
body.pos-layout .pos-ticket-actions,
body.pos-layout .pos-ticket-footer,
body.pos-layout .pos-ticket-payment-summary,
body.pos-layout .pos-ticket-checkout,
body.pos-layout .pos-ticket-bottom{flex:0 0 auto;}

body.pos-layout .pos-ticket-order-list::-webkit-scrollbar{width:8px;}
body.pos-layout .pos-ticket-order-list::-webkit-scrollbar-thumb{background:rgba(79,90,66,.22);border-radius:999px;}

body.pos-layout .pos-ops-strip{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
  align-items:stretch !important;
}
body.pos-layout .pos-ops-strip.is-single{grid-template-columns:1fr !important;}

body.pos-layout .panel-card.panel-card-soft.pos-mini-panel{
  display:flex !important;
  flex-direction:column !important;
  min-height:118px !important;
  height:118px !important;
  overflow:hidden !important;
  background:#fff !important;
  border:1px solid rgba(79,90,66,.12) !important;
}

body.pos-layout .pos-mini-chip-row{
  flex:1 1 auto !important;
  align-content:flex-start !important;
  overflow:auto !important;
  padding-right:2px !important;
}

body.pos-layout .pos-mini-chip-row::-webkit-scrollbar{width:6px;height:6px;}
body.pos-layout .pos-mini-chip-row::-webkit-scrollbar-thumb{background:rgba(79,90,66,.18);border-radius:999px;}

body.pos-layout .pos-category-column{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:12px !important;
  align-content:start !important;
}

body.pos-layout .pos-category-card{
  width:100% !important;
  min-height:120px !important;
  padding:14px 12px !important;
  border:1px solid var(--cat-border, rgba(79,90,66,.14)) !important;
  background:var(--cat-soft, #fff) !important;
  box-shadow:0 8px 22px rgba(17,24,39,.04) !important;
}

body.pos-layout .pos-category-card.is-active{
  background:var(--cat-bg, #f8faf7) !important;
  border-color:var(--cat-accent, #8B9B79) !important;
  box-shadow:0 12px 24px rgba(17,24,39,.08), inset 0 0 0 1px var(--cat-accent, #8B9B79) !important;
}

body.pos-layout .pos-category-code{
  background:color-mix(in srgb, var(--cat-accent, #8B9B79) 14%, white) !important;
  color:var(--cat-text, #31402B) !important;
}

body.pos-layout .pos-category-name,
body.pos-layout .pos-category-meta{
  color:var(--cat-text, #31402B) !important;
}

body.pos-layout .pos-product-tile{
  border:1px solid var(--cat-border, rgba(79,90,66,.14)) !important;
  background:var(--cat-soft, #ffffff) !important;
  box-shadow:0 10px 22px rgba(17,24,39,.04) !important;
}

body.pos-layout .pos-product-tile:hover,
body.pos-layout .pos-product-tile:focus-visible{
  border-color:var(--cat-accent, #8B9B79) !important;
  box-shadow:0 16px 28px rgba(17,24,39,.08) !important;
}

body.pos-layout .pos-product-tile-title{
  color:var(--cat-text, #243221) !important;
  font-size:1.55rem !important;
  line-height:1.1 !important;
  letter-spacing:-.02em !important;
}

body.pos-layout .pos-product-tile-price{
  color:var(--cat-accent, #6a7b5a) !important;
}

@media (max-width: 1399.98px){
  body.pos-layout .pos-layout-grid{
    grid-template-columns:minmax(210px,22%) minmax(420px,48%) minmax(300px,30%) !important;
  }
}

@media (max-width: 1199.98px){
  body.pos-layout .pos-layout-grid{
    grid-template-columns:minmax(200px,24%) minmax(360px,44%) minmax(290px,32%) !important;
  }
}

@media (max-width: 991.98px){
  body.pos-layout .pos-layout-grid{grid-template-columns:1fr !important;}
  body.pos-layout .pos-category-column{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
  body.pos-layout .pos-ticket-shell{min-height:auto !important;}
  body.pos-layout .pos-ticket-order-list{max-height:360px !important;}
  body.pos-layout .pos-ops-strip{grid-template-columns:1fr !important;}
}

@media (max-width: 575.98px){
  body.pos-layout .pos-category-column{grid-template-columns:1fr !important;}
}


/* Continue42 - cari tahsilat UX */
.customer-collect-kpi{min-height:102px;}
.customer-collect-toolbar{align-items:stretch;gap:16px;}
.customer-collect-toolbar-summary{display:grid;gap:6px;min-width:220px;}
.customer-collect-toolbar-fields{display:grid;grid-template-columns:minmax(180px,220px) minmax(220px,1fr) minmax(200px,220px);gap:12px;align-items:end;flex:1 1 auto;}
.customer-collect-toolbar-cta{display:grid;gap:6px;align-self:stretch;}
.customer-collect-table .form-check-input{margin-top:0;}
.customer-collect-inline-form{display:grid;gap:10px;}
.customer-collect-inline-grid{display:grid;grid-template-columns:minmax(170px,220px) minmax(150px,180px) minmax(180px,1fr) minmax(140px,170px);gap:10px;align-items:end;}
.customer-collect-inline-submit .btn{min-height:46px;}
.customer-collect-inline-after{padding-top:6px;}
.customer-collect-quickbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;}
.customer-collect-row{scroll-margin-top:96px;}
@media (max-width: 1199.98px){
  .customer-collect-toolbar-fields{grid-template-columns:repeat(2,minmax(0,1fr));}
  .customer-collect-toolbar-cta{grid-column:span 2;}
  .customer-collect-inline-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width: 767.98px){
  .customer-collect-toolbar-fields,
  .customer-collect-inline-grid{grid-template-columns:1fr;}
}

/* Continue43 - POS payment drawer 3-mode simplification */
.pos-payment-common-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 160px;
  gap:10px;
  align-items:start;
}
.pos-payment-common-grid .form-control,
.pos-payment-common-grid .form-select{
  min-height:48px;
  border-radius:14px;
}
.pos-payment-common-grid textarea.form-control{
  min-height:72px;
  resize:vertical;
}
.pos-payment-method-btn.method-on_account{
  background:#a9b28d;
  color:#fff;
}
.pos-payment-method-btn.is-selected{
  box-shadow:inset 0 0 0 3px rgba(255,255,255,.42), 0 10px 22px rgba(17,24,39,.14);
  transform:translateY(-1px);
}
.pos-payment-mode-card{
  display:grid;
  gap:4px;
  padding:12px 14px;
  border:1px solid rgba(15,23,42,.08);
  border-radius:16px;
  background:rgba(247,246,236,.72);
}
.pos-payment-mode-title{
  font-size:1rem;
  font-weight:800;
  color:var(--lillo-text);
}
.pos-payment-mode-hint{
  font-size:.88rem;
  color:var(--lillo-muted);
  line-height:1.35;
}
.pos-payment-panel{
  display:none;
  gap:12px;
}
.pos-payment-panel.is-active{
  display:grid;
}
.pos-payment-inline-grid{
  display:grid;
  gap:10px;
}
.pos-payment-inline-grid--two{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.pos-payment-inline-grid .form-control,
.pos-payment-inline-grid .form-select,
.pos-payment-panel .form-control,
.pos-payment-panel .form-select{
  min-height:48px;
  border-radius:14px;
}
.pos-payment-link-row{
  display:flex;
  justify-content:flex-start;
}
.pos-payment-info-card{
  display:grid;
  gap:4px;
  padding:12px 14px;
  border-radius:16px;
  background:rgba(169,178,141,.18);
  border:1px solid rgba(139,155,121,.28);
  color:var(--lillo-text);
}
.pos-payment-info-card strong{
  font-size:.98rem;
}
.pos-payment-info-card span{
  font-size:.88rem;
  color:var(--lillo-muted);
  line-height:1.45;
}
.pos-payment-section-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}
.pos-payment-section-title{
  font-size:1rem;
  font-weight:800;
  color:var(--lillo-text);
}
.pos-payment-section-subtitle{
  font-size:.84rem;
  color:var(--lillo-muted);
  line-height:1.4;
}
.pos-payment-final-actions--single{
  grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);
}
.pos-payment-final-actions--single .btn{
  min-height:50px;
}
#notifyCustomerHelp{
  margin-top:-4px;
}
@media (max-width: 767.98px){
  .pos-payment-common-grid,
  .pos-payment-inline-grid--two,
  .pos-payment-final-actions--single,
  .pos-payment-section-head{
    grid-template-columns:1fr;
  }
  .pos-payment-section-head{
    display:grid;
  }
  .pos-payment-common-grid textarea.form-control{
    min-height:64px;
  }
}


/* Continue44 - cari count clarity + payment footer anchoring */
.pos-payment-sheet{
  max-height:100vh;
  overflow-y:auto;
  overscroll-behavior:contain;
}
.pos-payment-panel{
  padding-bottom:4px;
}
.pos-payment-final-actions{
  position:sticky;
  bottom:0;
  z-index:4;
  margin-top:18px;
  padding-top:14px;
  background:linear-gradient(180deg, rgba(247,246,236,0) 0%, rgba(247,246,236,.94) 26%, rgba(247,246,236,1) 100%);
}
.pos-payment-final-actions .btn{
  box-shadow:0 8px 18px rgba(17,24,39,.06);
}
@media (max-width: 767.98px){
  .pos-payment-sheet{
    padding-bottom:calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .pos-payment-final-actions{
    padding-bottom:calc(4px + env(safe-area-inset-bottom, 0px));
  }
}

/* Continue50 - SMTP settings/status UI polish */
.smtp-config-shell,
.smtp-status-shell {
  background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(247,246,236,.82) 100%);
}
.smtp-config-head,
.smtp-status-head {
  align-items: flex-start;
}
.smtp-head-badges,
.smtp-status-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}
.smtp-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.smtp-summary-card,
.smtp-metric-box,
.smtp-field-card,
.smtp-test-card {
  border: 1px solid var(--lillo-border);
  background: rgba(255,255,255,.82);
  border-radius: 20px;
}
.smtp-summary-card {
  padding: 14px 16px;
  display: grid;
  gap: 6px;
  min-width: 0;
}
.smtp-summary-label,
.smtp-metric-box > span,
.smtp-test-kicker {
  color: var(--lillo-muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.smtp-summary-value,
.smtp-metric-box > strong {
  font-size: .98rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.smtp-summary-foot {
  color: var(--lillo-muted);
  font-size: .82rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.smtp-field-groups,
.smtp-status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.smtp-field-card,
.smtp-test-card {
  padding: 16px;
  display: grid;
  gap: 14px;
  min-width: 0;
}
.smtp-test-card.is-success {
  border-color: rgba(56, 142, 60, .18);
  box-shadow: 0 10px 22px rgba(56, 142, 60, .06);
}
.smtp-test-card.is-warning {
  border-color: rgba(255, 193, 7, .2);
  box-shadow: 0 10px 22px rgba(255, 193, 7, .06);
}
.smtp-test-card.is-error {
  border-color: rgba(220, 53, 69, .18);
  box-shadow: 0 10px 22px rgba(220, 53, 69, .06);
}
.smtp-test-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.smtp-test-badge {
  white-space: nowrap;
  font-size: .82rem;
  padding-inline: .8rem;
  min-height: 36px;
}
.smtp-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.smtp-metric-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.smtp-metric-box {
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}
.smtp-inline-note {
  border: 1px dashed rgba(32,34,27,.1);
  border-radius: 16px;
  padding: 12px 14px;
  background: rgba(247,246,236,.7);
  color: var(--lillo-muted);
  font-size: .88rem;
}
@media (max-width: 1199.98px) {
  .smtp-summary-grid,
  .smtp-field-groups,
  .smtp-status-grid,
  .smtp-metric-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767.98px) {
  .smtp-summary-grid,
  .smtp-field-groups,
  .smtp-status-grid,
  .smtp-metric-grid,
  .smtp-metric-grid-3 {
    grid-template-columns: 1fr;
  }
  .smtp-test-head,
  .smtp-config-head,
  .smtp-status-head {
    flex-direction: column;
  }
}


.pos-account-search-box {
  position: relative;
  padding: .85rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 16px;
  background: rgba(248,250,252,.85);
}

.pos-account-search-results {
  position: absolute;
  top: calc(100% - 6px);
  left: .85rem;
  right: .85rem;
  z-index: 18;
  display: grid;
  gap: .45rem;
  padding: .6rem;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 35px rgba(15,23,42,.12);
}

.pos-account-search-item {
  display: grid;
  gap: .18rem;
  width: 100%;
  padding: .75rem .85rem;
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 12px;
  background: #fff;
  text-align: left;
}

.pos-account-search-item strong {
  font-size: .95rem;
  color: #0f172a;
}

.pos-account-search-item span,
.pos-account-search-empty {
  font-size: .82rem;
  color: #64748b;
}

.pos-account-search-item:hover,
.pos-account-search-item:focus-visible {
  border-color: rgba(17,24,39,.16);
  background: #f8fafc;
  outline: none;
}


/* Continue53 - POS cari selected summary + safer lookup UX */
.pos-account-selected-summary {
  display: grid;
  gap: .35rem;
  margin-top: .8rem;
  padding: .9rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(139,155,121,.24);
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(247,246,236,.9) 100%);
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
}
.pos-account-selected-summary[hidden] {
  display: none !important;
}
.pos-account-selected-kicker {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--lillo-muted);
}
.pos-account-selected-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--lillo-text);
}
.pos-account-selected-meta {
  font-size: .86rem;
  color: var(--lillo-muted);
  overflow-wrap: anywhere;
}
.pos-account-selected-clear {
  justify-self: flex-start;
  margin-top: .15rem;
}

/* continue54: POS ticket mode + master customer lookup */
.pos-ticket-section-title--top{
  padding: 0 14px 8px;
}
.pos-ticket-mode-note{
  font-size: .72rem;
  color: #7a8077;
  line-height: 1.35;
  margin-top: 4px;
  max-width: 240px;
  text-align: right;
}
.pos-ticket-account-entry{
  position: relative;
  margin-bottom: 10px;
}
.pos-ticket-account-label{
  display: block;
  margin: 0 0 6px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #6f756c;
}
.pos-ticket-account-state{
  margin-top: 6px;
  font-size: .74rem;
  color: #7a8077;
  line-height: 1.35;
}
.pos-ticket-account-state.is-success{
  color: #2f7d4a;
  font-weight: 600;
}
.pos-ticket-account-state.is-draft{
  color: #8b6d1f;
}
.pos-account-search-results--ticket{
  position: absolute;
  inset: calc(100% + 6px) 0 auto 0;
  z-index: 40;
}
@media (max-width: 991.98px){
  .pos-ticket-mode-note{
    max-width: none;
    text-align: left;
  }
}


/* continue55: POS ticket true order panel */
.pos-ticket-summary-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:0 0 12px;
}
.pos-ticket-summary-card{
  display:grid;
  gap:4px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(32,34,27,.08);
  background:rgba(247,246,236,.72);
}
.pos-ticket-summary-card.tone-success{
  background:rgba(77,163,104,.1);
  border-color:rgba(77,163,104,.2);
}
.pos-ticket-summary-card.tone-warning{
  background:rgba(234,179,8,.12);
  border-color:rgba(234,179,8,.22);
}
.pos-ticket-summary-label{
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#7a8077;
}
.pos-ticket-summary-value{
  font-size:1rem;
  font-weight:800;
  color:var(--lillo-text);
}
.pos-ticket-stage-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:0 0 14px;
  padding:14px 16px;
  border-radius:18px;
  border:1px solid rgba(139,155,121,.2);
  background:linear-gradient(180deg, rgba(255,255,255,.98) 0%, rgba(247,246,236,.88) 100%);
}
.pos-ticket-stage-card.is-live{
  border-color:rgba(139,155,121,.28);
  background:linear-gradient(180deg, rgba(244,247,241,.96) 0%, rgba(247,246,236,.9) 100%);
}
.pos-ticket-stage-title{
  font-size:.88rem;
  font-weight:800;
  color:var(--lillo-text);
  margin-bottom:4px;
}
.pos-ticket-stage-copy{
  font-size:.8rem;
  color:var(--lillo-muted);
  line-height:1.45;
}
.pos-ticket-block{
  border:1px solid rgba(32,34,27,.08);
  border-radius:18px;
  background:rgba(255,255,255,.72);
  box-shadow:0 14px 26px rgba(15,23,42,.04);
  margin-bottom:12px;
  overflow:hidden;
}
.pos-ticket-block-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:14px 14px 8px;
}
.pos-ticket-section-meta{
  font-size:.76rem;
  font-weight:700;
  color:#7a8077;
  text-align:right;
  white-space:nowrap;
}
.pos-ticket-block .pos-ticket-section-title{
  margin-bottom:0;
  padding:0;
}
.pos-ticket-block .pos-ticket-order-list,
.pos-ticket-block .pos-ticket-payments{
  padding:0 10px 10px;
}
.pos-ticket-payment-copy{
  display:grid;
  gap:2px;
}
.pos-ticket-payment-copy span{
  font-weight:700;
  color:var(--lillo-text);
}
.pos-ticket-payment-copy small{
  color:var(--lillo-muted);
  font-size:.75rem;
}
.pos-ticket-payment-row{
  align-items:flex-start;
}
.pos-ticket-bottom-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin:8px 0 10px;
  padding:0 2px;
}
.pos-ticket-bottom-head span{
  font-size:.8rem;
  font-weight:800;
  color:var(--lillo-text);
}
.pos-ticket-bottom-head small{
  font-size:.73rem;
  color:#7a8077;
  text-align:right;
}
@media (max-width: 767.98px){
  .pos-ticket-stage-card,
  .pos-ticket-block-head,
  .pos-ticket-bottom-head{
    flex-direction:column;
    align-items:flex-start;
  }
  .pos-ticket-section-meta,
  .pos-ticket-bottom-head small{
    text-align:left;
    white-space:normal;
  }
}


/* continue56: POS selection action rail + stronger ops bar */
.pos-ticket-action-rail{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:0 14px 10px;
}
.pos-ticket-action-rail-copy{
  display:grid;
  gap:3px;
  min-width:0;
}
.pos-ticket-action-rail-copy strong{
  font-size:.8rem;
  font-weight:800;
  color:var(--lillo-text);
}
.pos-ticket-action-rail-copy span{
  font-size:.73rem;
  color:#7a8077;
  line-height:1.35;
}
.pos-ticket-action-rail-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.pos-ticket-selection-toolbar{
  margin-top:-2px;
  margin-bottom:12px;
  padding:0 2px;
}
.pos-ticket-bottom-bar{
  grid-template-columns:minmax(0,1fr) 84px;
}
.pos-ticket-main-btn{
  font-weight:800;
  letter-spacing:.01em;
}
.pos-ticket-bottom-actions{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
@media (max-width: 767.98px){
  .pos-ticket-action-rail{
    flex-direction:column;
    align-items:stretch;
  }
  .pos-ticket-action-rail-actions{
    justify-content:flex-start;
  }
}

/* CONTINUE57 - payment drawer tabs */
.pos-payment-tab-nav{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin-top:10px;
}
.pos-payment-tab-btn{
  min-height:46px;
  border-radius:16px;
  border:1px solid rgba(32,34,27,.10);
  background:#fff;
  color:var(--lillo-text);
  font-weight:800;
}
.pos-payment-tab-btn.is-active{
  background:rgba(139,155,121,.16);
  border-color:rgba(139,155,121,.45);
  color:var(--lillo-text);
  box-shadow:0 10px 24px rgba(32,34,27,.08);
}
.pos-payment-method-anchor{
  position:absolute !important;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  clip-path:inset(50%);
  white-space:nowrap;
}
.pos-payment-tab-panel{
  display:none;
  gap:14px;
  padding-top:14px;
}
.pos-payment-tab-panel.is-active{
  display:grid;
}
.pos-payment-adjustment-card{
  display:grid;
  gap:12px;
  border:1px solid rgba(139,155,121,.24);
  background:rgba(247,246,236,.82);
  border-radius:18px;
  padding:14px;
}
.pos-payment-adjustment-card strong{
  display:block;
  font-size:1rem;
  color:var(--lillo-text);
}
.pos-payment-adjustment-card span{
  display:block;
  margin-top:4px;
  color:var(--lillo-muted);
  font-size:.92rem;
  line-height:1.45;
}
.pos-payment-adjustment-selection{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding-top:8px;
  border-top:1px dashed rgba(32,34,27,.10);
}
.pos-payment-adjustment-selection span{
  margin-top:0;
  font-size:.8rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.pos-payment-adjustment-selection strong{
  font-size:.98rem;
}
.pos-payment-adjustment-coming{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.pos-payment-adjustment-pill{
  min-height:40px;
  border-radius:999px;
  border:1px dashed rgba(32,34,27,.12);
  background:rgba(255,255,255,.75);
  color:var(--lillo-muted);
  padding:0 14px;
  font-weight:700;
}
@media (max-width: 768px){
  .pos-payment-tab-nav{
    grid-template-columns:1fr;
  }
  .pos-payment-adjustment-selection{
    align-items:flex-start;
    flex-direction:column;
  }
}


.pos-inline-modal-card--danger{
  border-color: rgba(185,28,28,.12);
}
.pos-selection-qty-empty{
  border:1px dashed rgba(32,34,27,.12);
  border-radius:16px;
  padding:14px;
  background:#fafaf6;
  color:var(--lillo-muted);
  font-size:.92rem;
}
.pos-cancel-reason-block{
  display:grid;
  gap:10px;
}
.pos-cancel-reason-grid{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.pos-cancel-reason-chip{
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid rgba(32,34,27,.10);
  background:#fff;
  color:var(--lillo-text);
  font-weight:700;
}
.pos-cancel-reason-chip.is-active{
  background:rgba(185,28,28,.08);
  border-color:rgba(185,28,28,.22);
  color:#991b1b;
}
.pos-cancel-reason-meta{
  color:var(--lillo-muted);
  font-size:.88rem;
}
.pos-payment-adjustment-pill.is-live{
  border-style:solid;
  color:#991b1b;
  border-color:rgba(185,28,28,.18);
  background:rgba(185,28,28,.06);
}


/* continue59 - selected line discount / complimentary */
.pos-ticket-line.has-adjustment{
  border-color: rgba(139,155,121,.28);
  background: linear-gradient(180deg, rgba(247,246,236,.98), rgba(241,240,230,.94));
}
.pos-ticket-line-title-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.pos-ticket-line-badge{
  display:inline-flex;
  align-items:center;
  padding:3px 8px;
  border-radius:999px;
  font-size:.72rem;
  font-weight:700;
  line-height:1;
}
.pos-ticket-line-badge.is-discount{
  color:#7a4e00;
  background:rgba(255,214,102,.28);
  border:1px solid rgba(255,193,7,.35);
}
.pos-ticket-line-badge.is-complimentary{
  color:#1d5b45;
  background:rgba(121,155,139,.18);
  border:1px solid rgba(54,138,106,.24);
}
.pos-ticket-line-meta-old{
  text-decoration:line-through;
  opacity:.62;
}
.pos-ticket-line-meta-sep{
  opacity:.42;
}
.pos-ticket-line-meta-discount{
  color:#9a4d2b;
  font-weight:700;
}

.pos-ticket-discount-cancel-form{
  display:inline-flex;
  align-items:center;
  margin:0;
}
.pos-ticket-discount-cancel-btn{
  appearance:none;
  border:0;
  background:transparent;
  color:#9a4d2b;
  font-size:.72rem;
  font-weight:800;
  line-height:1.1;
  padding:1px 0;
  text-decoration:underline;
  text-underline-offset:2px;
  cursor:pointer;
}
.pos-ticket-discount-cancel-btn:hover,
.pos-ticket-discount-cancel-btn:focus{
  color:#6f351d;
  outline:none;
}
.pos-ticket-line-note{
  margin-top:4px;
  font-size:.74rem;
  color:rgba(32,34,27,.72);
}
.pos-adjustment-mode-switch{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:14px;
}
.pos-adjustment-mode-btn,
.pos-adjustment-rate-pill{
  border:1px solid rgba(18,22,18,.12);
  background:#fff;
  border-radius:999px;
  min-height:40px;
  padding:0 14px;
  font-weight:700;
  color:var(--lillo-text);
}
.pos-adjustment-mode-btn.is-active,
.pos-adjustment-rate-pill.is-active{
  border-color:rgba(139,155,121,.55);
  background:rgba(139,155,121,.12);
  color:var(--lillo-text);
  box-shadow:0 8px 18px rgba(139,155,121,.15);
}
.pos-adjustment-panel{ display:none; margin-top:14px; }
.pos-adjustment-panel.is-active{ display:block; }
.pos-adjustment-rate-pills{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

/* continue60 - POS adisyon movement history + richer payment lines */
.pos-ticket-line-copy{
  min-width:0;
}
.pos-ticket-payment-title-row,
.pos-ticket-movement-title-row{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.pos-ticket-payment-badge,
.pos-ticket-movement-badge{
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding:0 8px;
  border-radius:999px;
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.01em;
  border:1px solid rgba(18,22,18,.10);
  background:#fff;
  color:var(--lillo-text);
}
.pos-ticket-payment-badge.is-on-account,
.pos-ticket-movement-badge.kind-on_account{
  background:rgba(255,193,7,.12);
  border-color:rgba(255,193,7,.32);
  color:#8a5a00;
}
.pos-ticket-movement-badge.kind-payment{
  background:rgba(54,138,106,.12);
  border-color:rgba(54,138,106,.26);
  color:#1d5b45;
}
.pos-ticket-movement-badge.kind-adjustment{
  background:rgba(255,214,102,.24);
  border-color:rgba(255,193,7,.35);
  color:#7a4e00;
}
.pos-ticket-movement-badge.kind-complimentary{
  background:rgba(121,155,139,.18);
  border-color:rgba(54,138,106,.24);
  color:#1d5b45;
}
.pos-ticket-movement-badge.kind-void{
  background:rgba(185,28,28,.08);
  border-color:rgba(185,28,28,.18);
  color:#991b1b;
}
.pos-ticket-payment-row.is-on-account{
  border-color:rgba(255,193,7,.18);
  background:rgba(255,250,232,.75);
}
.pos-ticket-movement-wrap{
  padding-top:0 !important;
}
.pos-ticket-movement-list{
  display:grid;
  gap:10px;
}
.pos-ticket-movement-row{
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  gap:12px;
  align-items:flex-start;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(18,22,18,.08);
  background:#fff;
}
.pos-ticket-movement-row.kind-on_account{
  background:rgba(255,250,232,.82);
}
.pos-ticket-movement-row.kind-adjustment,
.pos-ticket-movement-row.kind-complimentary{
  background:rgba(247,246,236,.92);
}
.pos-ticket-movement-row.kind-void{
  background:rgba(255,245,245,.88);
}
.pos-ticket-movement-icon{
  width:36px;
  height:36px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(139,155,121,.12);
  color:var(--lillo-text);
  font-size:1rem;
}
.pos-ticket-movement-row.kind-void .pos-ticket-movement-icon{
  background:rgba(185,28,28,.08);
  color:#991b1b;
}
.pos-ticket-movement-row.kind-payment .pos-ticket-movement-icon,
.pos-ticket-movement-row.kind-complimentary .pos-ticket-movement-icon{
  background:rgba(54,138,106,.12);
  color:#1d5b45;
}
.pos-ticket-movement-row.kind-on_account .pos-ticket-movement-icon,
.pos-ticket-movement-row.kind-adjustment .pos-ticket-movement-icon{
  background:rgba(255,193,7,.12);
  color:#8a5a00;
}
.pos-ticket-movement-copy{
  min-width:0;
  display:grid;
  gap:3px;
}
.pos-ticket-movement-subtitle{
  color:var(--lillo-text);
  font-size:.84rem;
}
.pos-ticket-movement-meta,
.pos-ticket-movement-note{
  color:var(--lillo-muted);
  font-size:.74rem;
  line-height:1.4;
}
.pos-ticket-movement-note{
  color:rgba(32,34,27,.78);
}
.pos-ticket-movement-amount{
  font-size:.88rem;
  font-weight:800;
  white-space:nowrap;
  padding-top:2px;
}
.pos-ticket-movement-amount.sign-positive{
  color:#1d5b45;
}
.pos-ticket-movement-amount.sign-negative{
  color:#9a4d2b;
}
.pos-ticket-movement-amount.sign-neutral{
  color:#8a5a00;
}
@media (max-width: 767.98px){
  .pos-ticket-movement-row{
    grid-template-columns:32px minmax(0,1fr);
  }
  .pos-ticket-movement-amount{
    grid-column:2;
    padding-top:0;
  }
}

/* 2026-04-17 continue61b cashier flow simplification */
.pos-ticket-shell--cashier {
  min-height: calc(100vh - 180px);
  gap: 14px;
}
.pos-cashier-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.pos-cashier-account {
  padding: 10px 14px;
  border-radius: 16px;
  border: 1px solid rgba(32,34,27,.10);
  background: rgba(247,246,236,.82);
  font-weight: 700;
  color: var(--lillo-text);
  white-space: nowrap;
}
.pos-ticket-summary-grid--cashier {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pos-cashier-inline-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(247,246,236,.86);
  border: 1px solid rgba(32,34,27,.08);
}
.pos-cashier-inline-note strong,
.pos-cashier-section-head strong {
  display: block;
  color: var(--lillo-text);
  font-size: .98rem;
}
.pos-cashier-inline-note span,
.pos-cashier-section-head span {
  display: block;
  color: var(--lillo-muted);
  font-size: .86rem;
  line-height: 1.45;
}
.pos-ticket-block--compact {
  padding: 14px;
}
.pos-ticket-order-list--cashier {
  max-height: 44vh;
  overflow: auto;
}
.pos-cashier-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  gap: 10px;
  margin-top: auto;
}
.pos-payment-drawer--centered {
  padding: 20px;
  align-items: center;
  justify-content: center;
}
.pos-payment-drawer--centered .pos-payment-sheet {
  width: min(820px, calc(100vw - 32px));
  max-width: 100%;
  max-height: calc(100vh - 40px);
  border-radius: 28px;
  transform: translateY(18px);
  overflow: auto;
  padding: 20px;
}
.pos-payment-drawer--centered.is-open .pos-payment-sheet {
  transform: translateY(0);
}
.pos-payment-sheet--cashier {
  display: grid;
  gap: 16px;
}
.pos-cashier-balance-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(120,150,108,.12), rgba(247,246,236,.96));
  border: 1px solid rgba(120,150,108,.24);
}
.pos-cashier-balance-box span {
  color: var(--lillo-muted);
  font-weight: 600;
}
.pos-cashier-balance-box strong {
  color: var(--lillo-text);
  font-size: 1.6rem;
  font-weight: 800;
}
.pos-cashier-modal-gate,
.pos-cashier-modal-section {
  display: grid;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(32,34,27,.08);
  background: rgba(247,246,236,.72);
}
.pos-cashier-modal-gate p {
  color: var(--lillo-muted);
}
.pos-cashier-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pos-cashier-modal-actions--dual > * {
  flex: 1 1 240px;
}
.pos-payment-method-grid--cashier {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pos-payment-mode-card--cashier {
  padding: 14px 16px;
}
.pos-payment-common-grid--cashier {
  grid-template-columns: 1.2fr .8fr;
}
.pos-payment-preview-grid--cashier {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.pos-ticket-selection-toolbar,
.pos-ticket-action-rail,
.pos-ticket-bottom-actions,
.pos-ticket-block--movements,
.pos-ticket-account-tools,
#posPaymentTabNav,
.pos-payment-link-row,
[data-payment-tab="adjustment"],
[data-payment-tab="on_account"] .pos-payment-final-actions,
.pos-ticket-master-select,
.pos-ticket-selection-count,
.pos-ticket-mode-note {
  display: none !important;
}
@media (max-width: 991.98px) {
  .pos-cashier-head,
  .pos-cashier-inline-note {
    flex-direction: column;
    align-items: stretch;
  }
  .pos-cashier-actions,
  .pos-payment-method-grid--cashier,
  .pos-payment-common-grid--cashier,
  .pos-payment-preview-grid--cashier,
  .pos-ticket-summary-grid--cashier {
    grid-template-columns: 1fr;
  }
  .pos-payment-drawer--centered {
    padding: 12px;
  }
  .pos-payment-drawer--centered .pos-payment-sheet {
    width: calc(100vw - 24px);
    max-height: calc(100vh - 24px);
    border-radius: 22px;
    padding: 16px;
  }
}


/* 2026-04-17 continue63 cashier panel tightening */
body.pos-layout .pos-ticket-column{
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  max-height: 100vh !important;
  align-self: start !important;
}
body.pos-layout .pos-ticket-panel{
  height: 100% !important;
  max-height: 100% !important;
}
.pos-ticket-shell--cashier{
  min-height: 100% !important;
}
.pos-ticket-summary-grid--cashier{
  grid-template-columns: 1fr !important;
}
.pos-ticket-summary-grid--cashier .pos-ticket-summary-card{
  width: 100%;
}
.pos-cashier-actions{
  grid-template-columns: 1fr !important;
}
.pos-cashier-actions .pos-ticket-main-btn{
  width: 100%;
}
.pos-ticket-shell--cashier ~ .pos-ticket-block--payments{
  display: none !important;
}
.pos-ticket-block--compact .pos-ticket-block-head{
  align-items: center;
}
.pos-ticket-block--compact .pos-ticket-section-meta:empty{
  display: none !important;
}
.pos-ticket-order-list--cashier .pos-ticket-line-main{
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: start !important;
}
.pos-ticket-order-list--cashier .pos-ticket-line-copy{
  min-width: 0 !important;
}
.pos-ticket-order-list--cashier .pos-ticket-line-title-row{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
}
.pos-ticket-order-list--cashier .pos-ticket-line-title{
  flex: 1 1 220px;
  min-width: 0;
  word-break: break-word;
}
.pos-ticket-order-list--cashier .pos-ticket-line-price{
  justify-self: end;
  text-align: right;
  margin-left: 8px;
}
.pos-ticket-order-list--cashier .pos-ticket-line-row-actions{
  grid-column: 1 / -1 !important;
  justify-content: start !important;
}
@media (max-width: 991.98px){
  body.pos-layout .pos-ticket-column{
    position: relative !important;
    top: auto !important;
    height: auto !important;
    max-height: none !important;
  }
  body.pos-layout .pos-ticket-panel{
    height: auto !important;
    max-height: none !important;
  }
}


/* 2026-04-17 continue64 POS premium polish + top drawer + minimal payment modal */
body.pos-layout{
  --pos-topbar-peek: 24px;
}
body.pos-layout .pos-topbar-shell{
  position: sticky;
  top: 0;
  z-index: 120;
  padding-top: 0;
  margin-bottom: 22px;
  overflow: visible;
  height: var(--pos-topbar-expanded, 104px);
  transition: height .28s ease;
}
body.pos-layout .pos-topbar-shell .pos-workspace-topbar{
  position: absolute;
  inset: 8px 0 auto;
  margin-bottom: 0 !important;
  transition: transform .32s ease, opacity .24s ease, box-shadow .24s ease;
  box-shadow: 0 16px 40px rgba(32,34,27,.10);
  border-radius: 22px !important;
  backdrop-filter: blur(10px);
}
body.pos-layout .pos-topbar-shell.is-collapsed .pos-workspace-topbar{
  transform: translateY(calc(-100% + var(--pos-topbar-peek)));
  box-shadow: 0 6px 18px rgba(32,34,27,.08);
}
body.pos-layout .pos-topbar-toggle{
  position: absolute;
  left: 50%;
  top: 8px;
  transform: translate(-50%, -6px);
  width: 68px;
  height: 38px;
  border: 1px solid rgba(139,155,121,.34);
  border-top: 0;
  border-radius: 0 0 999px 999px;
  background: rgba(247,246,236,.96);
  color: var(--lillo-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(32,34,27,.08);
  z-index: 3;
}
body.pos-layout .pos-topbar-toggle i{
  font-size: 1.05rem;
  transition: transform .24s ease;
}
body.pos-layout .pos-topbar-shell:not(.is-collapsed) .pos-topbar-toggle i{
  transform: rotate(180deg);
}
body.pos-layout .pos-workspace-topbar,
body.pos-layout .pos-workspace-topbar .app-hero.pos-hero-fullwidth{
  min-height: 72px !important;
}
body.pos-layout .pos-workspace-topbar{
  padding: 12px 18px !important;
}
body.pos-layout .pos-hero-header{
  gap: 10px !important;
}
body.pos-layout .pos-top-logo{
  width: 48px !important;
  height: 48px !important;
}
body.pos-layout .pos-brand-copy .eyebrow{
  margin-bottom: 2px !important;
  letter-spacing: .12em;
  font-size: .68rem !important;
}
body.pos-layout .pos-top-title{
  font-size: 1.55rem !important;
  line-height: 1.05 !important;
}
body.pos-layout .pos-top-subtitle{
  font-size: .88rem !important;
}
body.pos-layout .pos-topbar-actions--header .pos-branch-select{
  min-height: 44px;
  border-radius: 16px;
}
body.pos-layout .pos-ticket-column{
  position: sticky !important;
  top: 0 !important;
  height: 100vh !important;
  max-height: 100vh !important;
  align-self: start !important;
}
body.pos-layout .pos-ticket-panel{
  height: 100% !important;
  max-height: 100% !important;
  padding: 10px !important;
  background: transparent !important;
}
body.pos-layout .pos-ticket-shell--cashier{
  min-height: 100% !important;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 12px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,246,236,.98));
  border: 1px solid rgba(139,155,121,.16);
  box-shadow: 0 18px 40px rgba(32,34,27,.08);
}
body.pos-layout .pos-cashier-head{
  align-items: center;
  gap: 10px;
  padding: 2px 2px 0;
}
body.pos-layout .pos-cashier-account{
  min-height: 44px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(247,246,236,.95);
  border: 1px solid rgba(139,155,121,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6);
}
body.pos-layout .pos-ticket-summary-grid--cashier{
  grid-template-columns: 1fr !important;
}
body.pos-layout .pos-ticket-summary-card--hero{
  min-height: 110px;
  padding: 16px 18px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px !important;
  background: linear-gradient(135deg, rgba(139,155,121,.18), rgba(247,246,236,.98)) !important;
  border: 1px solid rgba(139,155,121,.26) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}
body.pos-layout .pos-ticket-summary-card--hero .pos-ticket-summary-label{
  display: none !important;
}
body.pos-layout .pos-ticket-summary-card--hero .pos-ticket-summary-value{
  font-size: clamp(2rem, 3vw, 2.55rem) !important;
  line-height: 1 !important;
  letter-spacing: -.03em;
}
body.pos-layout .pos-ticket-block--compact{
  border-radius: 24px !important;
  padding: 16px !important;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(32,34,27,.07);
}
body.pos-layout .pos-ticket-order-list--cashier{
  max-height: calc(100vh - 390px);
  overflow: auto;
  padding-right: 2px;
}
body.pos-layout .pos-ticket-line{
  border-radius: 18px;
  padding: 12px 12px 10px;
  border: 1px solid rgba(32,34,27,.08);
  background: rgba(247,246,236,.62);
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-main{
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-copy{
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-title-row{
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-title{
  flex: 1 1 320px !important;
  min-width: 0 !important;
  font-size: 1.02rem;
  line-height: 1.3;
  word-break: break-word !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-price{
  flex: 0 0 auto !important;
  min-width: 92px;
  text-align: right !important;
  font-size: 1rem;
  font-weight: 800;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-row-actions{
  grid-column: auto !important;
  margin-left: auto;
  align-self: flex-start;
  justify-content: flex-end !important;
}
body.pos-layout .pos-ticket-block--payments .pos-ticket-block-head .pos-ticket-section-meta:empty,
body.pos-layout #posPaymentTabNav,
body.pos-layout .pos-payment-mode-card--cashier,
body.pos-layout .pos-payment-common-grid--cashier,
body.pos-layout .pos-payment-preview-grid--cashier,
body.pos-layout .pos-ticket-shell--cashier ~ .pos-ticket-block--payments,
body.pos-layout .pos-ticket-block--movements{
  display: none !important;
}
body.pos-layout .pos-cashier-actions{
  grid-template-columns: 1fr !important;
  margin-top: auto;
}
body.pos-layout .pos-cashier-actions .pos-ticket-main-btn{
  width: 100%;
  min-height: 54px;
  font-size: 1.08rem;
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(78,140,73,.18);
}
body.pos-layout .pos-payment-drawer--centered{
  padding: 18px;
  align-items: center;
  justify-content: center;
  background: rgba(32,34,27,.26);
  backdrop-filter: blur(4px);
}
body.pos-layout .pos-payment-drawer--centered .pos-payment-sheet{
  width: min(760px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  padding: 22px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,246,236,.98));
  border: 1px solid rgba(139,155,121,.18);
  box-shadow: 0 30px 80px rgba(32,34,27,.20);
}
body.pos-layout .pos-payment-sheet-head--minimal{
  align-items: center;
}
body.pos-layout .pos-payment-sheet-title{
  font-size: 1.45rem !important;
}
body.pos-layout .pos-payment-sheet-subtitle{
  font-size: .92rem !important;
}
body.pos-layout .pos-cashier-balance-box--minimal{
  justify-content: center;
  text-align: center;
  flex-direction: column;
  gap: 4px;
  min-height: 116px;
  border-radius: 24px;
}
body.pos-layout .pos-cashier-balance-box--minimal span{
  font-size: .86rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.pos-layout .pos-cashier-balance-box--minimal strong{
  font-size: clamp(2rem, 3vw, 2.7rem);
}
body.pos-layout .pos-cashier-modal-section--minimal,
body.pos-layout .pos-cashier-modal-gate--minimal{
  padding: 14px;
  border-radius: 24px;
  background: rgba(247,246,236,.72);
}
body.pos-layout .pos-payment-method-grid--minimal{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
body.pos-layout .pos-payment-method-grid--minimal .pos-payment-method-btn{
  min-height: 54px;
  border-radius: 18px;
  font-size: .98rem;
  font-weight: 800;
}
body.pos-layout .pos-payment-method-grid--minimal .method-discount{
  background: rgba(255,255,255,.92);
  border: 1px dashed rgba(139,155,121,.5);
  color: #2f3a23 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.45);
}
body.pos-layout .pos-payment-method-grid--minimal .method-discount i{
  color: inherit !important;
}
body.pos-layout .pos-payment-method-grid--minimal .method-discount.is-selected{
  background: rgba(139,155,121,.18);
  border-style: solid;
  color: #1f2a18 !important;
}
body.pos-layout .pos-payment-panel{
  display: none;
}
body.pos-layout .pos-payment-panel.is-active{
  display: block;
}
body.pos-layout .pos-compact-action-card{
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(32,34,27,.08);
}
body.pos-layout .pos-compact-action-card--stacked{
  gap: 12px;
}
body.pos-layout .pos-payment-advanced-grid--minimal{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
body.pos-layout .pos-payment-inline-grid--minimal{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.pos-layout .pos-compact-action-card--discount-simple{
  gap: 14px;
}
body.pos-layout .pos-simple-discount-head{
  font-size: 1rem;
  font-weight: 800;
  color: var(--lillo-text);
}
body.pos-layout .pos-simple-discount-chip-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
body.pos-layout .pos-simple-discount-chip-row .pos-payment-chip{
  min-width: 84px;
  min-height: 48px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 800;
}
body.pos-layout .pos-simple-discount-chip-row .pos-payment-chip.is-active{
  background: rgba(139,155,121,.18);
  border-color: rgba(139,155,121,.55);
  color: var(--lillo-text);
}
body.pos-layout .pos-simple-discount-selected{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(247,246,236,.9);
  border: 1px solid rgba(139,155,121,.18);
  color: rgba(32,34,27,.78);
}
body.pos-layout .pos-simple-discount-selected strong{
  color: var(--lillo-text);
}
body.pos-layout .pos-cashier-modal-actions--footer{
  margin-top: 2px;
  justify-content: flex-end;
}
body.pos-layout .pos-cashier-modal-actions--footer .btn{
  min-height: 52px;
  min-width: 220px;
}
@media (max-width: 991.98px){
  body.pos-layout .pos-topbar-shell{
    position: relative;
    margin-bottom: 14px;
    height: auto !important;
  }
  body.pos-layout .pos-topbar-shell .pos-workspace-topbar,
  body.pos-layout .pos-topbar-shell.is-collapsed .pos-workspace-topbar{
    transform: none;
  }
  body.pos-layout .pos-topbar-toggle{
    display: none;
  }
  body.pos-layout .pos-workspace-topbar{
    padding: 12px 14px !important;
  }
  body.pos-layout .pos-top-title{
    font-size: 1.18rem !important;
  }
  body.pos-layout .pos-ticket-column,
  body.pos-layout .pos-ticket-panel{
    position: relative !important;
    height: auto !important;
    max-height: none !important;
  }
  body.pos-layout .pos-ticket-order-list--cashier{
    max-height: none;
  }
  body.pos-layout .pos-payment-method-grid--minimal,
  body.pos-layout .pos-payment-advanced-grid--minimal,
  body.pos-layout .pos-payment-inline-grid--minimal{
    grid-template-columns: 1fr;
  }
}


/* continue66 - topbar + hero amount + live line polish */
body.pos-layout .pos-topbar-shell{
  position: sticky;
  top: 0;
  z-index: 1025;
  overflow: visible;
  margin-bottom: 12px;
}
body.pos-layout .pos-topbar-shell.is-collapsed{
  margin-bottom: 12px;
}
body.pos-layout .pos-topbar-shell .pos-workspace-topbar{
  margin-bottom: 0 !important;
}
body.pos-layout .pos-topbar-shell.is-collapsed .pos-workspace-topbar{
  transform: translateY(calc(-100% - 10px));
  opacity: 0;
  pointer-events: none;
}
body.pos-layout .pos-topbar-toggle{
  top: 100%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 34px;
  border-radius: 0 0 999px 999px;
}
body.pos-layout .pos-topbar-toggle i{
  font-size: 1rem;
  line-height: 1;
}
body.pos-layout .pos-topbar-shell:not(.is-collapsed) .pos-topbar-toggle i{
  transform: none;
}
body.pos-layout .pos-cashier-balance-box--minimal{
  min-height: 118px;
  padding: 18px 22px;
}
body.pos-layout .pos-cashier-balance-field{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}
body.pos-layout .pos-cashier-balance-currency{
  font-size: clamp(2rem, 2.8vw, 2.7rem);
  font-weight: 900;
  line-height: 1;
  color: var(--lillo-text);
  margin-top: 2px;
}
body.pos-layout .pos-cashier-balance-input{
  width: min(100%, 320px);
  border: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  text-align: center;
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--lillo-text);
  -moz-appearance: textfield;
}
body.pos-layout .pos-cashier-balance-input::-webkit-outer-spin-button,
body.pos-layout .pos-cashier-balance-input::-webkit-inner-spin-button{
  -webkit-appearance: none;
  margin: 0;
}
body.pos-layout .pos-cashier-balance-input:focus{
  border: 0;
  outline: 0;
  box-shadow: none;
}
body.pos-layout .pos-compact-action-card--hint{
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
body.pos-layout .pos-cari-amount-hint{
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(139,155,121,.10);
  border: 1px solid rgba(139,155,121,.18);
  color: rgba(32,34,27,.76);
  font-size: .93rem;
}
body.pos-layout .pos-ticket-line-row-actions.is-live{
  display: inline-flex !important;
  grid-template-columns: none !important;
  gap: 8px !important;
  align-items: center !important;
  margin-top: 0 !important;
}
body.pos-layout .pos-ticket-line-lock{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(139,155,121,.12);
  border: 1px solid rgba(139,155,121,.24);
  color: var(--lillo-text);
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}
body.pos-layout .pos-ticket-line-lock i{
  color: #4e8c49;
}
body.pos-layout .pos-ticket-line-row-actions.is-live .pos-ticket-row-icon{
  width: 36px;
  height: 36px;
}
@media (max-width: 991.98px){
  body.pos-layout .pos-topbar-shell{
    margin-bottom: 14px;
    height: auto !important;
  }
  body.pos-layout .pos-cashier-balance-input{
    width: 100%;
    font-size: 2.35rem;
  }
}


/* continue67 minimal POS topbar + ticket scroll */
body.pos-layout .content-area.content-area-wide{
  padding-top: 10px !important;
}
body.pos-layout .pos-workspace-topbar,
body.pos-layout .pos-workspace-topbar.pos-workspace-topbar--minimal{
  position: sticky !important;
  top: 8px !important;
  z-index: 40 !important;
  margin: 0 0 12px 0 !important;
  padding: 10px 14px !important;
  border-radius: 18px !important;
  min-height: 68px !important;
  background: rgba(247,246,236,.92) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(122,133,107,.14) !important;
  box-shadow: 0 10px 30px rgba(44,52,38,.06) !important;
}
body.pos-layout .pos-topbar-shell,
body.pos-layout .pos-topbar-toggle{display:none !important;}
body.pos-layout .pos-workspace-topbar .app-hero.pos-hero-fullwidth{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  flex-wrap:nowrap !important;
}
body.pos-layout .pos-hero-header{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  min-width:0 !important;
}
body.pos-layout .pos-top-logo{width:38px !important; height:38px !important;}
body.pos-layout .pos-brand-copy .eyebrow{display:none !important;}
body.pos-layout .pos-top-title{font-size:1.15rem !important; line-height:1.1 !important; margin:0 !important;}
body.pos-layout .pos-top-subtitle{font-size:.86rem !important; line-height:1.2 !important; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:52vw;}
body.pos-layout .pos-menu-toggle,
body.pos-layout .pos-back-btn{width:42px !important; height:42px !important; border-radius:14px !important;}
body.pos-layout .pos-topbar-actions--header{margin-left:auto !important;}
body.pos-layout .pos-branch-select{min-width:210px; height:42px; border-radius:14px;}

body.pos-layout .pos-ticket-panel{
  height: 100dvh !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
}
body.pos-layout .pos-ticket-block--orders{
  flex:1 1 auto !important;
  min-height: 0 !important;
  display:flex !important;
  flex-direction:column !important;
}
body.pos-layout .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll{
  flex:1 1 auto !important;
  min-height:220px !important;
  max-height:none !important;
  overflow:auto !important;
  padding-right:6px !important;
}
body.pos-layout .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll::-webkit-scrollbar{width:8px;}
body.pos-layout .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll::-webkit-scrollbar-thumb{background:rgba(79,90,66,.18);border-radius:999px;}
body.pos-layout .pos-ticket-line{
  padding: 10px 12px !important;
  border-radius: 18px !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-main{
  grid-template-columns:minmax(0,1fr) auto auto !important;
  gap:10px !important;
  align-items:center !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-copy{
  min-width:0 !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-title-row{
  margin-bottom:2px !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-title{
  font-size:1rem !important;
  line-height:1.15 !important;
  white-space:normal !important;
  word-break:break-word !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-meta,
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-note{
  font-size:.84rem !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-price{
  font-size:1rem !important;
  white-space:nowrap !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-row-actions{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  min-width:max-content !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-qty-input{
  width:48px !important;
  min-width:48px !important;
  height:36px !important;
}
body.pos-layout .pos-ticket-block + .pos-ticket-block{margin-top:14px !important;}
body.pos-layout .pos-ticket-main-btn{min-height:64px !important; font-size:1.1rem !important;}
body.pos-layout .pos-payment-sheet--cashier.pos-payment-sheet--minimal{max-width:760px !important;}
@media (max-width: 991.98px){
  body.pos-layout .pos-workspace-topbar,
  body.pos-layout .pos-workspace-topbar.pos-workspace-topbar--minimal{top:0 !important; padding:10px 12px !important; border-radius:0 0 16px 16px !important;}
  body.pos-layout .pos-workspace-topbar .app-hero.pos-hero-fullwidth{flex-wrap:wrap !important;}
  body.pos-layout .pos-top-subtitle{max-width:100%; white-space:normal;}
  body.pos-layout .pos-ticket-panel{height:auto !important; min-height:0 !important;}
  body.pos-layout .pos-ticket-block--orders{min-height:240px !important;}
  body.pos-layout .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll{max-height:340px !important;}
}

/* 2026-04-18 continue69 cashier dashboard open orders */
.dashboard-open-orders {
  padding: 20px;
}
.dashboard-open-orders-head {
  align-items: center;
}
.dashboard-open-orders-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(139,155,121,.12);
  color: var(--lillo-dark);
  font-weight: 800;
  font-size: .88rem;
  white-space: nowrap;
}
.dashboard-open-orders-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.dashboard-open-order-card {
  display: grid;
  gap: 10px;
  min-height: 132px;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(32,34,27,.09);
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(247,246,236,.82));
  color: inherit;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(32,34,27,.05);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.dashboard-open-order-card:hover,
.dashboard-open-order-card:focus {
  color: inherit;
  border-color: rgba(139,155,121,.36);
  box-shadow: 0 14px 28px rgba(32,34,27,.08);
  transform: translateY(-2px);
}
.dashboard-open-order-main {
  min-width: 0;
}
.dashboard-open-order-title {
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
.dashboard-open-order-subtitle {
  margin-top: 4px;
  color: var(--lillo-muted);
  font-size: .82rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.dashboard-open-order-amount {
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1;
}
.dashboard-open-order-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--lillo-muted);
  font-size: .78rem;
  line-height: 1.2;
}
.dashboard-open-order-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(32,34,27,.045);
  max-width: 100%;
}
.dashboard-open-orders-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 88px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(247,246,236,.72);
  color: var(--lillo-muted);
  font-weight: 700;
}
.dashboard-open-orders-empty i {
  color: var(--lillo-olive-dark);
  font-size: 1.35rem;
}
@media (max-width: 1399.98px) {
  .dashboard-open-orders-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .dashboard-open-orders-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .dashboard-open-orders-grid { grid-template-columns: 1fr; }
}

/* Continue77 - Global header back button */
.app-back-btn {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(32,34,27,.1);
  background: #fff;
  color: var(--lillo-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-shadow: 0 4px 14px rgba(17,24,39,.05);
}
.app-back-btn:hover {
  background: rgba(247,246,236,.96);
}
.app-back-btn i {
  font-size: 1.1rem;
  line-height: 1;
}
@media (max-width: 575.98px) {
  .app-hero-header {
    gap: 8px;
  }
  .app-menu-toggle,
  .app-back-btn {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }
}

/* 2026-04-19 continue92 dashboard reminders + weather */
.dashboard-reminders-card,
.dashboard-weather-card {
  padding: 20px;
}
.dashboard-reminders-list {
  display: grid;
  gap: 10px;
}
.dashboard-reminder-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(32,34,27,.08);
  border-radius: 18px;
  background: rgba(247,246,236,.68);
  font-weight: 650;
  color: var(--lillo-dark);
}
.dashboard-reminder-index {
  display: inline-flex;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(139,155,121,.18);
  color: var(--lillo-olive-dark);
  font-weight: 900;
  font-size: .86rem;
}
.dashboard-reminders-empty,
.dashboard-weather-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 96px;
  padding: 16px;
  border-radius: 20px;
  background: rgba(247,246,236,.72);
  color: var(--lillo-muted);
  font-weight: 700;
}
.dashboard-reminders-empty i,
.dashboard-weather-empty i {
  font-size: 1.35rem;
  color: var(--lillo-olive-dark);
}
.dashboard-weather-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.dashboard-weather-day {
  min-height: 154px;
  padding: 14px 10px;
  border-radius: 22px;
  border: 1px solid rgba(32,34,27,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,246,236,.72));
  text-align: center;
  box-shadow: 0 10px 22px rgba(32,34,27,.045);
}
.dashboard-weather-date {
  min-height: 32px;
  color: var(--lillo-muted);
  font-size: .8rem;
  font-weight: 800;
}
.dashboard-weather-icon {
  display: inline-flex;
  margin: 8px 0 7px;
  font-size: 2rem;
  line-height: 1;
  color: var(--lillo-olive-dark);
}
.dashboard-weather-temp {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 6px;
  color: var(--lillo-dark);
}
.dashboard-weather-temp strong {
  font-size: 1.35rem;
  font-weight: 950;
}
.dashboard-weather-temp span {
  color: var(--lillo-muted);
  font-size: .95rem;
  font-weight: 800;
}
.dashboard-weather-summary {
  margin-top: 6px;
  color: var(--lillo-muted);
  font-size: .78rem;
  font-weight: 700;
  min-height: 20px;
}
@media (max-width: 1199.98px) {
  .dashboard-weather-grid { grid-template-columns: repeat(5, minmax(96px, 1fr)); overflow-x: auto; padding-bottom: 4px; }
}
@media (max-width: 575.98px) {
  .dashboard-reminders-card,
  .dashboard-weather-card { padding: 16px; }
  .dashboard-weather-grid { grid-template-columns: repeat(5, minmax(112px, 1fr)); }
}

/* 2026-04-19 continue93 cashier dashboard simplification */
.dashboard-open-orders-grid--cashier {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.dashboard-cashier-quick-card .btn {
  justify-content: flex-start;
  min-height: 46px;
}
.dashboard-cashier-quick-card .btn i {
  width: 20px;
  text-align: center;
}
@media (max-width: 991.98px) {
  .dashboard-open-orders-grid--cashier { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .dashboard-open-orders-grid--cashier { grid-template-columns: 1fr; }
}

/* 2026-04-19 continue96 POS hourly routine pulse */
.pos-topbar-actions--routine {
  flex-direction: column;
  gap: 10px !important;
  align-items: stretch !important;
}
.pos-routine-alert {
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(220, 53, 69, .24);
  background: rgba(255, 255, 255, .96);
  color: #842029;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.01em;
  box-shadow: 0 10px 24px rgba(220, 53, 69, .10);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.pos-routine-alert:hover {
  color: #842029;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(220, 53, 69, .16);
}
.pos-routine-alert.is-checked {
  border-color: rgba(32,34,27,.10);
  color: var(--lillo-muted);
  box-shadow: 0 8px 20px rgba(32,34,27,.045);
}
.pos-routine-light,
.dashboard-routine-led {
  width: 13px;
  height: 13px;
  border-radius: 999px;
  display: inline-flex;
  flex: 0 0 auto;
  background: #c4c8bd;
  box-shadow: inset 0 0 0 1px rgba(32,34,27,.06);
}
.pos-routine-alert.is-active .pos-routine-light,
.pos-routine-toast.is-active .pos-routine-light,
.dashboard-routine-panel.routine-active .dashboard-routine-led,
.dashboard-routine-state.is-active .dashboard-routine-led {
  background: #dc3545;
  box-shadow: 0 0 0 0 rgba(220,53,69,.58), 0 0 16px rgba(220,53,69,.72);
  animation: lilloRoutinePulse 1s ease-in-out infinite;
}
@keyframes lilloRoutinePulse {
  0% { transform: scale(.92); box-shadow: 0 0 0 0 rgba(220,53,69,.58), 0 0 12px rgba(220,53,69,.46); }
  55% { transform: scale(1.12); box-shadow: 0 0 0 9px rgba(220,53,69,0), 0 0 24px rgba(220,53,69,.82); }
  100% { transform: scale(.92); box-shadow: 0 0 0 0 rgba(220,53,69,0), 0 0 12px rgba(220,53,69,.46); }
}
.dashboard-routine-panel {
  scroll-margin-top: 120px;
}
.dashboard-routine-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}
.dashboard-routine-check-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}
.dashboard-routine-state {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-weight: 800;
  background: rgba(247,246,236,.78);
  border: 1px solid rgba(32,34,27,.08);
  color: var(--lillo-muted);
}
.dashboard-routine-state.is-active {
  background: rgba(220,53,69,.09);
  border-color: rgba(220,53,69,.18);
  color: #842029;
}
.dashboard-routine-state small {
  font-weight: 700;
  opacity: .72;
}
@media (max-width: 1199.98px) {
  body.pos-layout .pos-topbar-actions--routine {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center !important;
    justify-content: flex-start !important;
  }
  .pos-routine-alert {
    min-width: 220px;
  }
}
@media (max-width: 575.98px) {
  .pos-routine-alert {
    min-width: 0;
    width: 100%;
  }
  .dashboard-routine-actions {
    justify-content: flex-start;
  }
}


/* continue97: tablet soft-keyboard hints */
.pos-payment-sheet input:not([type="hidden"]),
.pos-payment-sheet textarea,
.pos-ticket-shell input:not([type="hidden"]),
.pos-ticket-shell textarea,
.pos-inline-modal input:not([type="hidden"]),
.pos-inline-modal textarea {
  font-size: 16px;
  touch-action: manipulation;
  -webkit-user-select: text;
  user-select: text;
}
.pos-cashier-balance-input,
.js-payment-amount,
.js-adjustment-rate-input,
input[name="adjustment_amount"] {
  font-variant-numeric: tabular-nums;
}


/* continue98 - POS payment amount typography alignment */
body.pos-layout .pos-ticket-summary-card--hero .pos-ticket-summary-value{
  font-size: clamp(2rem, 3vw, 2.55rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.035em !important;
  white-space: nowrap;
}
body.pos-layout .pos-cashier-balance-field{
  gap: 10px;
  flex-wrap: nowrap;
}
body.pos-layout .pos-cashier-balance-input{
  width: auto;
  max-width: 260px;
  min-width: 0;
  flex: 0 1 auto;
  text-align: right;
  font-size: clamp(2rem, 3vw, 2.55rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.035em !important;
}
body.pos-layout .pos-cashier-balance-currency{
  order: 2;
  flex: 0 0 auto;
  margin-top: 0;
  color: var(--lillo-text) !important;
  font-size: clamp(2rem, 3vw, 2.55rem) !important;
  font-weight: 900 !important;
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: none !important;
}
@media (max-width: 991.98px){
  body.pos-layout .pos-cashier-balance-input{
    width: auto;
    max-width: 230px;
    font-size: 2.35rem !important;
  }
  body.pos-layout .pos-cashier-balance-currency{
    font-size: 2.35rem !important;
  }
}

/* 2026-04-19 continue99 POS tablet density, larger ticket column and scroll fixes */
body.pos-layout .pos-layout-grid{
  grid-template-columns:minmax(0,1.5fr) minmax(0,4.7fr) minmax(368px,3.45fr) !important;
  gap:12px !important;
}
body.pos-layout .pos-category-column{
  gap:9px !important;
}
body.pos-layout .pos-category-card{
  min-height:88px !important;
  padding:10px 9px !important;
  border-radius:14px !important;
  gap:4px !important;
}
body.pos-layout .pos-category-code{
  width:51px !important;
  height:42px !important;
  border-radius:12px !important;
  font-size:1.12rem !important;
}
body.pos-layout .pos-category-name{
  font-size:.84rem !important;
  line-height:1.08 !important;
}
body.pos-layout .pos-category-meta{
  font-size:.68rem !important;
  line-height:1.1 !important;
}
body.pos-layout .pos-product-board{
  grid-template-columns:repeat(auto-fill,minmax(112px,1fr)) !important;
  gap:8px !important;
}
body.pos-layout .pos-product-tile.js-pos-product-card{
  min-height:76px !important;
  height:76px !important;
  padding:8px 9px !important;
  border-radius:13px !important;
  gap:6px !important;
}
body.pos-layout .pos-product-tile-body{
  gap:2px !important;
}
body.pos-layout .pos-product-tile-title{
  font-size:.78rem !important;
  line-height:1.1 !important;
  display:-webkit-box !important;
  -webkit-line-clamp:2 !important;
  -webkit-box-orient:vertical !important;
  overflow:hidden !important;
}
body.pos-layout .pos-product-tile-code{
  font-size:.64rem !important;
  line-height:1.05 !important;
  white-space:nowrap !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
}
body.pos-layout .pos-product-tile-footer{
  align-items:center !important;
}
body.pos-layout .pos-product-tile-price{
  font-size:.82rem !important;
  line-height:1 !important;
  white-space:nowrap !important;
}
body.pos-layout .pos-ticket-column{
  width:100% !important;
  min-width:0 !important;
}
body.pos-layout .pos-ticket-panel{
  padding:0 !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
body.pos-layout .pos-ticket-shell--cashier{
  height:100% !important;
  min-height:100% !important;
}
body.pos-layout .pos-ticket-block--orders{
  min-height:0 !important;
  overflow:hidden !important;
}
body.pos-layout .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll{
  flex:1 1 auto !important;
  min-height:0 !important;
  max-height:calc(100vh - 430px) !important;
  max-height:calc(100dvh - 430px) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  -webkit-overflow-scrolling:touch !important;
  touch-action:pan-y !important;
  overscroll-behavior:contain;
  scrollbar-gutter:stable;
}
@media (max-width: 1279.98px){
  body.pos-layout .pos-layout-grid{
    grid-template-columns:minmax(126px,1.25fr) minmax(0,4.45fr) minmax(345px,3.45fr) !important;
  }
  body.pos-layout .pos-product-board{
    grid-template-columns:repeat(auto-fill,minmax(106px,1fr)) !important;
  }
}
@media (max-width: 991.98px){
  body.pos-layout .pos-layout-grid{
    grid-template-columns:1fr !important;
  }
  body.pos-layout .pos-category-column{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  body.pos-layout .pos-category-card{
    min-height:76px !important;
  }
  body.pos-layout .pos-product-board{
    grid-template-columns:repeat(auto-fill,minmax(104px,1fr)) !important;
  }
  body.pos-layout .pos-ticket-panel{
    height:auto !important;
    max-height:none !important;
    min-height:0 !important;
    overflow:visible !important;
  }
  body.pos-layout .pos-ticket-shell--cashier{
    height:auto !important;
    min-height:0 !important;
  }
  body.pos-layout .pos-ticket-block--orders{
    min-height:220px !important;
  }
  body.pos-layout .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll{
    min-height:180px !important;
    max-height:420px !important;
    max-height:min(42dvh, 420px) !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch !important;
    touch-action:pan-y !important;
  }
}
@media (max-width: 575.98px){
  body.pos-layout .pos-category-column{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
  body.pos-layout .pos-product-board{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
  body.pos-layout .pos-product-tile.js-pos-product-card{
    min-height:72px !important;
    height:72px !important;
  }
}

/* 2026-04-19 continue100 POS category cards: name-only centered categories */
body.pos-layout .pos-category-card.pos-category-card--name-only{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  min-height:64px !important;
  padding:10px 12px !important;
}
body.pos-layout .pos-category-card.pos-category-card--name-only .pos-category-name{
  display:block !important;
  margin:0 !important;
  width:100% !important;
  color:var(--cat-text, var(--lillo-text)) !important;
  font-size:clamp(.96rem, 1.08vw, 1.08rem) !important;
  font-weight:900 !important;
  line-height:1.12 !important;
  letter-spacing:-.025em !important;
}
body.pos-layout .pos-category-card.pos-category-card--name-only .pos-category-code,
body.pos-layout .pos-category-card.pos-category-card--name-only .pos-category-meta{
  display:none !important;
}
@media (max-width: 991.98px){
  body.pos-layout .pos-category-card.pos-category-card--name-only{
    min-height:58px !important;
    padding:9px 10px !important;
  }
  body.pos-layout .pos-category-card.pos-category-card--name-only .pos-category-name{
    font-size:.95rem !important;
  }
}
/* 2026-04-19 continue101 POS micro spacing refinements */
body.pos-layout .pos-product-board{
  grid-auto-rows:80px !important;
}
body.pos-layout .pos-ticket-block-head{
  padding:0 10px 5px !important;
}
body.pos-layout .pos-ticket-block{
  border-bottom:0 !important;
}
body.pos-layout .pos-cashier-account{
  padding:10px 16px !important;
}
body.pos-layout .pos-topbar-actions.pos-topbar-actions--header.pos-topbar-actions--routine{
  align-self:unset !important;
}

/* 2026-04-19 continue102 POS cashier head alignment reinforcement */
.pos-cashier-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
@media (max-width: 991.98px){
  .pos-cashier-head,
  .pos-cashier-inline-note{
    flex-direction:column;
    align-items:stretch;
  }
}
body.pos-layout .pos-cashier-head{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  padding:2px 2px 0 !important;
}
body.pos-layout .pos-cashier-account{
  padding:10px 16px !important;
}

/* 2026-04-19 continue103 POS tablet header/action alignment + sticky cashier CTA */
@media (min-width: 600px) and (max-width: 1199.98px){
  body.pos-layout .pos-workspace-topbar .app-hero.pos-hero-fullwidth,
  body.pos-layout .pos-workspace-topbar.pos-workspace-topbar--minimal .app-hero.pos-hero-fullwidth{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
  }
  body.pos-layout .pos-hero-header{
    flex:1 1 auto !important;
    min-width:0 !important;
  }
  body.pos-layout .pos-topbar-actions.pos-topbar-actions--header.pos-topbar-actions--routine{
    flex:0 0 auto !important;
    width:auto !important;
    margin-left:auto !important;
    align-self:center !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:flex-end !important;
    flex-wrap:nowrap !important;
  }
  body.pos-layout .pos-topbar-actions--routine .pos-routine-alert{
    width:auto !important;
    min-width:0 !important;
    white-space:nowrap !important;
    min-height:42px !important;
    padding:8px 14px !important;
  }
  body.pos-layout .pos-topbar-actions--routine .pos-branch-select{
    width:auto !important;
    min-width:190px !important;
  }
}

body.pos-layout .pos-cashier-head{
  flex-direction:row !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  flex-wrap:nowrap !important;
  gap:12px !important;
}
body.pos-layout .pos-cashier-head > div:first-child{
  min-width:0 !important;
  flex:1 1 auto !important;
}
body.pos-layout .pos-cashier-account{
  flex:0 0 auto !important;
  align-self:flex-start !important;
  margin-left:auto !important;
  white-space:nowrap !important;
}
@media (max-width: 575.98px){
  body.pos-layout .pos-cashier-head{
    flex-wrap:wrap !important;
  }
  body.pos-layout .pos-cashier-account{
    margin-left:0 !important;
  }
}

body.pos-layout .pos-cashier-actions{
  position:sticky !important;
  bottom:0 !important;
  z-index:35 !important;
  margin-top:auto !important;
  padding:12px 0 calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  background:linear-gradient(180deg, rgba(247,246,236,0), rgba(247,246,236,.98) 22%, rgba(247,246,236,1)) !important;
  box-shadow:0 -14px 28px rgba(32,34,27,.055) !important;
}
body.pos-layout .pos-cashier-actions .pos-ticket-main-btn{
  width:100% !important;
}
@media (max-width: 991.98px){
  body.pos-layout .pos-cashier-actions{
    padding-top:10px !important;
  }
}

/* 2026-04-19 continue104 POS auto-hide header / tablet reveal strip */
body.pos-layout .pos-header-reveal-zone{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  height:18px !important;
  z-index:1075 !important;
  border:0 !important;
  padding:0 !important;
  margin:0 !important;
  background:transparent !important;
  cursor:default !important;
  pointer-events:auto !important;
  -webkit-tap-highlight-color:transparent !important;
}
body.pos-layout .pos-header-reveal-handle{
  position:absolute !important;
  top:5px !important;
  left:50% !important;
  width:54px !important;
  height:4px !important;
  transform:translateX(-50%) !important;
  border-radius:999px !important;
  background:rgba(139,155,121,.22) !important;
  opacity:0 !important;
  transition:opacity .18s ease, background-color .18s ease, box-shadow .18s ease !important;
}
body.pos-layout.pos-header-autohide-enabled .pos-workspace-topbar[data-pos-autohide="1"]{
  display:none !important;
}
body.pos-layout.pos-header-autohide-enabled.pos-header-visible .pos-workspace-topbar[data-pos-autohide="1"]{
  display:block !important;
  position:fixed !important;
  top:max(8px, env(safe-area-inset-top, 0px)) !important;
  left:16px !important;
  right:16px !important;
  z-index:1070 !important;
  width:auto !important;
  margin:0 !important;
  max-width:none !important;
  animation:posHeaderDropIn .14s ease-out both !important;
}
body.pos-layout.pos-header-autohide-enabled.pos-header-visible .pos-layout-grid{
  margin-top:0 !important;
}
body.pos-layout.pos-header-visible .pos-header-reveal-handle,
body.pos-layout .pos-header-reveal-zone:focus-visible .pos-header-reveal-handle{
  opacity:1 !important;
  background:rgba(139,155,121,.42) !important;
}
@keyframes posHeaderDropIn{
  from{opacity:0;transform:translateY(-10px);}
  to{opacity:1;transform:translateY(0);}
}
/* Windows tablets can report the primary pointer as fine when a mouse/pen is available.
   any-pointer + the JS touch-capable class keep the reveal bar visible there too. */
body.pos-layout.pos-header-touch-capable .pos-header-reveal-zone{
  height:30px !important;
  cursor:pointer !important;
}
body.pos-layout.pos-header-touch-capable .pos-header-reveal-handle{
  opacity:1 !important;
  top:8px !important;
  width:68px !important;
  height:5px !important;
  background:rgba(139,155,121,.28) !important;
  box-shadow:0 6px 18px rgba(32,34,27,.08) !important;
}
body.pos-layout.pos-header-touch-capable.pos-header-autohide-enabled.pos-header-visible .pos-workspace-topbar[data-pos-autohide="1"]{
  top:max(10px, env(safe-area-inset-top, 0px)) !important;
  left:10px !important;
  right:10px !important;
}
@media (hover:none), (pointer:coarse), (any-hover:none), (any-pointer:coarse){
  body.pos-layout .pos-header-reveal-zone{
    height:30px !important;
    cursor:pointer !important;
  }
  body.pos-layout .pos-header-reveal-handle{
    opacity:1 !important;
    top:8px !important;
    width:68px !important;
    height:5px !important;
    background:rgba(139,155,121,.28) !important;
    box-shadow:0 6px 18px rgba(32,34,27,.08) !important;
  }
  body.pos-layout.pos-header-autohide-enabled.pos-header-visible .pos-workspace-topbar[data-pos-autohide="1"]{
    top:max(10px, env(safe-area-inset-top, 0px)) !important;
    left:10px !important;
    right:10px !important;
  }
}
@media (max-width: 575.98px){
  body.pos-layout.pos-header-autohide-enabled.pos-header-visible .pos-workspace-topbar[data-pos-autohide="1"]{
    left:8px !important;
    right:8px !important;
  }
}

/* 2026-04-19 continue105 POS checkout native validation + reliable sticky CTA */
body.pos-layout #posCheckoutForm{
  min-width:0;
}
body.pos-layout #paymentHeroAmount{
  -webkit-appearance:none;
  appearance:none;
}
body.pos-layout .pos-cashier-actions{
  position:sticky !important;
  bottom:0 !important;
  z-index:80 !important;
  margin-top:auto !important;
  padding:12px 0 calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  background:linear-gradient(180deg, rgba(247,246,236,0), rgba(247,246,236,.98) 24%, rgba(247,246,236,1)) !important;
}
@media (max-width:1199.98px){
  body.pos-layout .pos-layout-grid{
    padding-bottom:104px !important;
  }
  body.pos-layout .pos-cashier-actions{
    position:fixed !important;
    left:max(14px, env(safe-area-inset-left, 0px)) !important;
    right:max(14px, env(safe-area-inset-right, 0px)) !important;
    bottom:calc(10px + env(safe-area-inset-bottom, 0px)) !important;
    z-index:1080 !important;
    padding:10px !important;
    border-radius:22px !important;
    background:rgba(247,246,236,.96) !important;
    border:1px solid rgba(32,34,27,.10) !important;
    box-shadow:0 -14px 36px rgba(32,34,27,.14) !important;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }
  body.pos-layout .pos-cashier-actions .pos-ticket-main-btn{
    min-height:56px !important;
    width:100% !important;
  }
}
@media (max-width:575.98px){
  body.pos-layout .pos-layout-grid{
    padding-bottom:96px !important;
  }
  body.pos-layout .pos-cashier-actions{
    left:10px !important;
    right:10px !important;
    bottom:calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    border-radius:18px !important;
  }
}

/* 2026-04-19 continue107 - scoped premium polish for cari tahsilat only */
#customer-collection-section{
  position:relative;
  overflow:hidden;
  padding:26px !important;
  border:1px solid rgba(139,155,121,.16) !important;
  border-radius:30px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(139,155,121,.14), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(247,246,236,.92), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(247,246,236,.78)) !important;
  box-shadow:0 24px 70px rgba(32,34,27,.08) !important;
}
#customer-collection-section::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(90deg, rgba(255,255,255,.46), transparent 26%, rgba(139,155,121,.08) 100%);
  opacity:.78;
}
#customer-collection-section > *{
  position:relative;
  z-index:1;
}
#customer-collection-section .table-card-head{
  align-items:center;
  margin-bottom:20px;
  padding-bottom:16px;
  border-bottom:1px solid rgba(32,34,27,.08);
}
#customer-collection-section .table-card-title{
  display:grid;
  gap:8px;
}
#customer-collection-section .table-card-title h2{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:1.34rem;
  letter-spacing:-.025em;
}
#customer-collection-section .table-card-title h2::before{
  content:"₺";
  width:42px;
  height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:16px;
  background:linear-gradient(135deg, var(--lillo-olive), var(--lillo-olive-dark));
  color:#fff;
  font-weight:900;
  box-shadow:0 12px 24px rgba(116,132,99,.22);
}
#customer-collection-section .table-muted{
  max-width:760px;
  color:rgba(75,86,65,.82);
  font-size:.94rem;
}
#customer-collection-section .customer-collect-kpi{
  min-height:118px;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:10px;
  padding:18px 18px 16px 18px;
  border-radius:24px;
  border:1px solid rgba(139,155,121,.15);
  background:rgba(255,255,255,.82);
  box-shadow:0 16px 34px rgba(32,34,27,.055);
  overflow:hidden;
}
#customer-collection-section .customer-collect-kpi::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background:linear-gradient(90deg, rgba(139,155,121,.88), rgba(139,155,121,.18));
}
#customer-collection-section .customer-collect-kpi::after{
  position:absolute;
  right:16px;
  top:14px;
  width:34px;
  height:34px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(139,155,121,.11);
  color:var(--lillo-olive-dark);
  font-weight:900;
  font-size:.78rem;
}
#customer-collection-section .row.g-3.mb-3 > div:nth-child(1) .customer-collect-kpi::after{content:"AÇ";}
#customer-collection-section .row.g-3.mb-3 > div:nth-child(2) .customer-collect-kpi::after{content:"₺";}
#customer-collection-section .row.g-3.mb-3 > div:nth-child(3) .customer-collect-kpi::after{content:"BR";}
#customer-collection-section .row.g-3.mb-3 > div:nth-child(4) .customer-collect-kpi::after{content:"⏱";}
#customer-collection-section .customer-collect-kpi .kpi-box-label{
  padding-right:42px;
  color:rgba(75,86,65,.82);
  text-transform:uppercase;
  letter-spacing:.07em;
  font-size:.72rem;
}
#customer-collection-section .customer-collect-kpi .kpi-box-value{
  font-size:1.26rem;
  letter-spacing:-.03em;
  color:var(--lillo-dark);
}
#customer-collection-section .customer-collect-toolbar{
  display:grid;
  grid-template-columns:minmax(240px,.36fr) minmax(0,1fr);
  gap:16px;
  align-items:stretch;
  padding:16px;
  border-radius:26px;
  border:1px solid rgba(32,34,27,.08);
  background:rgba(255,255,255,.76);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75), 0 14px 34px rgba(32,34,27,.055);
}
#customer-collection-section .customer-collect-toolbar-summary{
  min-width:0;
  align-content:center;
  padding:16px;
  border-radius:22px;
  background:linear-gradient(135deg, rgba(139,155,121,.13), rgba(247,246,236,.72));
  border:1px solid rgba(139,155,121,.14);
}
#customer-collection-section .customer-collect-toolbar-summary .form-check{
  min-height:42px;
  padding:0;
}
#customer-collection-section .customer-collect-toolbar-summary .form-check-input{
  width:1.12rem;
  height:1.12rem;
  min-height:0;
  margin:0;
}
#customer-collection-section .customer-collect-toolbar-fields{
  grid-template-columns:minmax(150px,190px) minmax(220px,1fr) minmax(220px,260px);
  gap:12px;
  align-items:end;
}
#customer-collection-section .customer-collect-toolbar-fields .form-control,
#customer-collection-section .customer-collect-toolbar-fields .form-select,
#customer-collection-section .customer-collect-inline-grid .form-control,
#customer-collection-section .customer-collect-inline-grid .form-select{
  min-height:44px;
  border-radius:15px;
  background:rgba(255,255,255,.94);
  border-color:rgba(32,34,27,.11);
}
#customer-collection-section .customer-collect-toolbar-cta{
  padding:12px;
  border-radius:20px;
  background:rgba(247,246,236,.66);
  border:1px solid rgba(32,34,27,.07);
}
#customer-collection-section .customer-collect-toolbar-cta .js-bulk-collect-summary{
  text-align:right;
  font-size:1.02rem;
  color:var(--lillo-dark);
}
#customer-collection-section #customerBulkCollectSubmit{
  min-height:46px;
  box-shadow:0 12px 26px rgba(116,132,99,.18);
}
#customer-collection-section .table-responsive{
  padding:8px;
  border-radius:26px;
  background:rgba(255,255,255,.72);
  border:1px solid rgba(32,34,27,.08);
  box-shadow:0 16px 34px rgba(32,34,27,.045);
}
#customer-collection-section .customer-collect-table{
  border-collapse:separate;
  border-spacing:0 10px;
}
#customer-collection-section .customer-collect-table thead th{
  padding:.7rem .75rem;
  border:0;
  color:rgba(75,86,65,.76);
  font-size:.72rem;
  letter-spacing:.08em;
}
#customer-collection-section .customer-collect-table tbody td{
  background:rgba(255,255,255,.88);
  border-top:1px solid rgba(32,34,27,.065);
  border-bottom:1px solid rgba(32,34,27,.065);
  box-shadow:0 10px 22px rgba(32,34,27,.035);
}
#customer-collection-section .customer-collect-table tbody td:first-child{
  border-left:1px solid rgba(32,34,27,.065);
  border-top-left-radius:20px;
  border-bottom-left-radius:20px;
}
#customer-collection-section .customer-collect-table tbody td:last-child{
  border-right:1px solid rgba(32,34,27,.065);
  border-top-right-radius:20px;
  border-bottom-right-radius:20px;
}
#customer-collection-section .customer-collect-table tbody tr:hover td{
  background:rgba(247,246,236,.82);
  border-color:rgba(139,155,121,.18);
}
#customer-collection-section .customer-collect-table .form-check-input{
  width:1.12rem;
  height:1.12rem;
  min-height:0;
}
#customer-collection-section .customer-collect-table strong{
  letter-spacing:-.015em;
}
#customer-collection-section .customer-collect-inline-form{
  gap:9px;
}
#customer-collection-section .customer-collect-inline-grid{
  grid-template-columns:minmax(150px,190px) minmax(140px,170px) minmax(160px,1fr) minmax(132px,160px);
  gap:9px;
  align-items:end;
}
#customer-collection-section .customer-collect-inline-after{
  color:rgba(75,86,65,.72) !important;
  font-size:.78rem;
}
#customer-collection-section .customer-collect-inline-submit .btn{
  min-height:44px;
  box-shadow:0 12px 24px rgba(116,132,99,.16);
}
#customer-collection-section .customer-collect-quickbar{
  gap:6px;
}
#customer-collection-section .customer-collect-quickbar .btn{
  min-height:30px;
  border-radius:999px;
  padding:.28rem .65rem;
  font-size:.78rem;
  background:rgba(255,255,255,.72);
}
@media (max-width:1199.98px){
  #customer-collection-section .customer-collect-toolbar{
    grid-template-columns:1fr;
  }
  #customer-collection-section .customer-collect-toolbar-fields{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  #customer-collection-section .customer-collect-toolbar-cta{
    grid-column:span 2;
  }
  #customer-collection-section .customer-collect-inline-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width:767.98px){
  #customer-collection-section{
    padding:18px !important;
    border-radius:24px !important;
  }
  #customer-collection-section .table-card-title h2{
    font-size:1.18rem;
  }
  #customer-collection-section .customer-collect-toolbar-fields,
  #customer-collection-section .customer-collect-inline-grid{
    grid-template-columns:1fr;
  }
  #customer-collection-section .customer-collect-toolbar-cta{
    grid-column:auto;
  }
  #customer-collection-section .table-responsive{
    padding:6px;
    overflow-x:auto;
  }
  #customer-collection-section .customer-collect-table{
    min-width:920px;
  }
}

/* 2026-04-20 continue113 POS header reveal handle always visible polish
   Keep the auto-hidden header behavior, but make the top handle permanently visible
   on desktop, Windows tablets and touch devices. */
body.pos-layout .pos-header-reveal-handle{
  position:absolute !important;
  top:5px !important;
  left:50% !important;
  width:54px !important;
  height:10px !important;
  transform:translateX(-50%) !important;
  border-radius:999px !important;
  background:rgba(139,155,121,.22) !important;
  opacity:1 !important;
  transition:opacity .18s ease, background-color .18s ease !important;
}


/* 2026-04-20 continue114 POS routine alarm floating toast
   Header is auto-hidden, so active routine alarms also surface outside the header. */
body.pos-layout .pos-routine-toast{
  position:fixed !important;
  top:max(22px, env(safe-area-inset-top, 0px)) !important;
  right:18px !important;
  z-index:1068 !important;
  min-width:218px !important;
  max-width:min(320px, calc(100vw - 28px)) !important;
  min-height:56px !important;
  border-radius:20px !important;
  padding:10px 12px !important;
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  text-decoration:none !important;
  color:#842029 !important;
  border:1px solid rgba(220,53,69,.22) !important;
  background:rgba(255,255,255,.96) !important;
  box-shadow:0 18px 44px rgba(32,34,27,.14), 0 10px 26px rgba(220,53,69,.12) !important;
  backdrop-filter:blur(14px) !important;
  -webkit-backdrop-filter:blur(14px) !important;
  transform:translateY(0) !important;
  opacity:1 !important;
  animation:posRoutineToastIn .22s ease-out both !important;
}
body.pos-layout .pos-routine-toast:hover{
  color:#842029 !important;
  transform:translateY(-1px) !important;
  box-shadow:0 22px 50px rgba(32,34,27,.16), 0 12px 30px rgba(220,53,69,.16) !important;
}
body.pos-layout .pos-routine-toast.is-hidden{
  display:none !important;
}
body.pos-layout .pos-routine-toast .pos-routine-light{
  width:14px !important;
  height:14px !important;
}
body.pos-layout .pos-routine-toast-copy{
  display:flex !important;
  flex-direction:column !important;
  min-width:0 !important;
  line-height:1.05 !important;
}
body.pos-layout .pos-routine-toast-copy strong{
  font-size:.92rem !important;
  font-weight:950 !important;
  letter-spacing:-.02em !important;
}
body.pos-layout .pos-routine-toast-copy small{
  margin-top:4px !important;
  color:rgba(132,32,41,.72) !important;
  font-size:.74rem !important;
  font-weight:800 !important;
}
body.pos-layout .pos-routine-toast .bi{
  margin-left:auto !important;
  opacity:.62 !important;
}
body.pos-layout.pos-header-visible .pos-routine-toast{
  top:max(96px, calc(env(safe-area-inset-top, 0px) + 96px)) !important;
}
@keyframes posRoutineToastIn{
  from{opacity:0;transform:translateY(-10px) scale(.98);}
  to{opacity:1;transform:translateY(0) scale(1);}
}
@media (max-width:575.98px){
  body.pos-layout .pos-routine-toast{
    top:max(28px, env(safe-area-inset-top, 0px)) !important;
    left:10px !important;
    right:10px !important;
    max-width:none !important;
    min-width:0 !important;
  }
  body.pos-layout.pos-header-visible .pos-routine-toast{
    top:max(112px, calc(env(safe-area-inset-top, 0px) + 112px)) !important;
  }
}

/* 2026-04-27 reports polish + POS cashier CTA z-index hotfix
   Keep the approved POS polish intact while ensuring payment modals stay above the fixed cashier CTA. */
body.pos-layout .pos-payment-drawer,
body.pos-layout .pos-payment-drawer--centered,
body.pos-layout .pos-inline-modal{
  z-index:1090 !important;
}
@media (max-width:1199.98px){
  body.pos-layout .pos-cashier-actions{
    z-index:1040 !important;
  }
  body.pos-layout.drawer-open .pos-cashier-actions,
  body.pos-layout.inline-modal-open .pos-cashier-actions{
    z-index:10 !important;
  }
}

.reports-filter-card .form-control-lg,
.reports-filter-card .btn-lg{
  min-height:52px;
}
.reports-compare-toggle-input{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
}
.reports-compare-toggle{
  min-height:52px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 14px;
  border-radius:18px;
  border:1px solid rgba(32,34,27,.12);
  background:rgba(255,255,255,.78);
  color:var(--lillo-text);
  cursor:pointer;
  box-shadow:0 8px 18px rgba(32,34,27,.05);
  transition:border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.reports-compare-toggle strong{
  display:block;
  font-weight:900;
  line-height:1.05;
}
.reports-compare-toggle small{
  display:block;
  margin-top:3px;
  color:var(--lillo-muted);
  font-size:.78rem;
  line-height:1.15;
}
.reports-compare-toggle i{
  transition:transform .18s ease;
}
.reports-compare-toggle-input:checked + .reports-compare-toggle{
  border-color:rgba(139,155,121,.45);
  background:rgba(139,155,121,.12);
  box-shadow:0 12px 28px rgba(139,155,121,.12);
}
.reports-compare-toggle-input:checked + .reports-compare-toggle i{
  transform:rotate(180deg);
}
.reports-compare-fields{
  display:none;
}
.reports-compare-toggle-input:checked ~ .reports-compare-fields,
.reports-filter-card form:has(.reports-compare-toggle-input:checked) .reports-compare-fields{
  display:block;
}
.reports-compare-fields-inner{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 220px)) minmax(220px, 1fr);
  gap:14px;
  align-items:end;
  padding:14px;
  border-radius:20px;
  background:rgba(247,246,236,.78);
  border:1px solid rgba(139,155,121,.16);
}
.reports-compare-note{
  padding-bottom:10px;
}
.reports-comparison-card .table-responsive{
  max-height:360px;
  overflow:auto;
}
.reports-finance-card .section-head{
  align-items:flex-start;
}
.reports-finance-totals{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:8px;
}
.reports-finance-totals span{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:8px 11px;
  border-radius:999px;
  background:rgba(247,246,236,.85);
  border:1px solid rgba(32,34,27,.08);
  color:var(--lillo-muted);
  font-size:.82rem;
  font-weight:800;
}
.reports-finance-totals strong{
  color:var(--lillo-text);
}
.reports-mini-table{
  padding:12px;
  border-radius:20px;
  background:rgba(255,255,255,.64);
  border:1px solid rgba(32,34,27,.08);
}
.reports-mini-table-title{
  font-weight:950;
  letter-spacing:-.02em;
  margin-bottom:8px;
  color:var(--lillo-text);
}
.reports-mini-table .table-responsive{
  max-height:275px;
  overflow:auto;
}
.reports-product-card{
  display:flex;
  flex-direction:column;
  min-height:0;
}
.reports-product-card .section-head{
  flex:0 0 auto;
}
.reports-product-scroll{
  flex:1 1 auto;
  min-height:0;
  max-height:none;
  overflow:auto;
}
@media (max-width:991.98px){
  .reports-compare-fields-inner{
    grid-template-columns:1fr;
  }
  .reports-compare-note{
    padding-bottom:0;
  }
  .reports-finance-card .section-head{
    display:grid;
    gap:12px;
  }
  .reports-finance-totals{
    justify-content:flex-start;
  }
}
.reports-compare-fields:not([hidden]){
  display:block;
}

/* Multi-branch scope selector */
.topbar-branch-switcher {
    min-width: 220px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}
.topbar-branch-switcher .form-select {
    background-color: rgba(255,255,255,.88);
    border-color: rgba(17,24,39,.12);
    box-shadow: 0 10px 24px rgba(17,24,39,.06);
}
@media (max-width: 768px) {
    .topbar-branch-switcher {
        width: 100%;
        max-width: none;
        order: 3;
    }
}

/* continue128: reopened POS order payment edit/delete actions */
body.pos-layout .pos-ticket-payment-row.has-manage-actions{
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
body.pos-layout .pos-ticket-payment-manage-row{
  display:flex;
  align-items:flex-start;
  gap:8px;
  flex-wrap:wrap;
  margin:-4px 0 10px;
  padding:0 4px 8px 4px;
  border-bottom:1px dashed rgba(32,34,27,.10);
}
body.pos-layout .pos-ticket-payment-edit-details{
  position:relative;
  flex:1 1 170px;
  min-width:0;
}
body.pos-layout .pos-ticket-payment-action-btn{
  appearance:none;
  border:1px solid rgba(32,34,27,.14);
  background:rgba(255,255,255,.78);
  color:#263126;
  border-radius:999px;
  padding:5px 10px;
  font-size:.74rem;
  font-weight:800;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:28px;
  cursor:pointer;
  box-shadow:0 6px 14px rgba(35,41,31,.06);
}
body.pos-layout .pos-ticket-payment-action-btn::-webkit-details-marker{
  display:none;
}
body.pos-layout .pos-ticket-payment-action-btn::marker{
  content:"";
}
body.pos-layout .pos-ticket-payment-action-btn.is-danger{
  border-color:rgba(185,28,28,.16);
  color:#991b1b;
  background:rgba(255,245,245,.88);
}
body.pos-layout .pos-ticket-payment-delete-form{
  margin:0;
}
body.pos-layout .pos-ticket-payment-edit-card{
  margin-top:8px;
  padding:10px;
  border:1px solid rgba(32,34,27,.10);
  border-radius:16px;
  background:#fff;
  box-shadow:0 10px 24px rgba(35,41,31,.08);
}
body.pos-layout .pos-ticket-payment-edit-form{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  align-items:end;
}
body.pos-layout .pos-ticket-payment-edit-form label{
  display:grid;
  gap:4px;
  margin:0;
  min-width:0;
}
body.pos-layout .pos-ticket-payment-edit-form label span{
  font-size:.68rem;
  font-weight:800;
  color:rgba(32,34,27,.66);
}
body.pos-layout .pos-ticket-payment-edit-form .btn{
  grid-column:1 / -1;
}
body.pos-layout .pos-ticket-payment-edit-form .form-select,
body.pos-layout .pos-ticket-payment-edit-form .form-control{
  min-height:34px;
  font-size:.82rem;
  border-radius:12px;
}

/* continue139: POS marketplace auto-poll strip */
body.pos-layout .pos-marketplace-strip.is-hidden{display:none !important;}
body.pos-layout .pos-mini-panel--marketplace{min-height:106px !important;height:106px !important;border-color:rgba(139,155,121,.22) !important;background:linear-gradient(180deg,#fff,#fbfcf8) !important;}
body.pos-layout .pos-mini-panel--marketplace .pos-mini-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px !important;}
body.pos-layout .pos-mini-panel--marketplace .pos-mini-panel-head small{font-size:.68rem;font-weight:600;letter-spacing:0;text-transform:none;color:#8a8f87;white-space:nowrap;}
body.pos-layout .pos-mini-chip--marketplace{border-color:rgba(139,155,121,.24) !important;background:#fffef9 !important;}
body.pos-layout .pos-mini-chip--marketplace:hover{border-color:rgba(139,155,121,.44) !important;background:#fbfff6 !important;}

/* continue140: POS right panel Getir status actions */
body.pos-layout .pos-ticket-block--getir-status{
  border-color:rgba(139,155,121,.24) !important;
  background:linear-gradient(180deg,#fffef8,#fbfcf6) !important;
}
body.pos-layout .pos-ticket-getir-sub{
  margin-top:2px;
  color:#7d8578;
  font-size:.72rem;
  font-weight:600;
  word-break:break-word;
}
body.pos-layout .pos-getir-status-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:82px;
  padding:6px 10px;
  border-radius:999px;
  font-size:.72rem;
  font-weight:800;
  border:1px solid rgba(139,155,121,.24);
  background:#fff;
  color:#54604d;
  white-space:nowrap;
}
body.pos-layout .pos-getir-status-pill.status-confirmed,
body.pos-layout .pos-getir-status-pill.status-preparing,
body.pos-layout .pos-getir-status-pill.status-ready,
body.pos-layout .pos-getir-status-pill.status-on_the_way{
  background:#f4f8ec;
  color:#526847;
  border-color:rgba(139,155,121,.36);
}
body.pos-layout .pos-getir-status-pill.status-completed{
  background:#eaf7ef;
  color:#247143;
  border-color:rgba(36,113,67,.22);
}
body.pos-layout .pos-getir-status-pill.status-cancelled{
  background:#fff1f1;
  color:#a12d2d;
  border-color:rgba(161,45,45,.20);
}
body.pos-layout .pos-getir-status-body{
  display:flex;
  flex-direction:column;
  gap:8px;
}
body.pos-layout .pos-getir-status-flow{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:5px;
}
body.pos-layout .pos-getir-status-flow span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:5px 6px;
  border-radius:10px;
  background:#fff;
  border:1px solid rgba(0,0,0,.07);
  color:#8b9088;
  font-size:.68rem;
  font-weight:800;
  text-transform:none;
}
body.pos-layout .pos-getir-status-flow span.is-current{
  border-color:rgba(139,155,121,.45);
  background:#f7faef;
  color:#526847;
  box-shadow:0 8px 18px rgba(139,155,121,.12);
}
body.pos-layout .pos-getir-status-flow span.is-done{
  border-color:rgba(39,128,73,.22);
  background:#eef9f1;
  color:#287448;
}
body.pos-layout .pos-getir-status-actions{
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
  align-items:stretch;
}
body.pos-layout .pos-getir-status-form{margin:0;}
body.pos-layout .pos-getir-action-btn.is-print{
  grid-column:1 / -1;
  background:#fffef9 !important;
  color:#4f5a42 !important;
  border:1px solid rgba(139,155,121,.32) !important;
  text-decoration:none !important;
}
body.pos-layout .pos-getir-action-btn.is-print:hover{
  background:#f6f9ee !important;
  border-color:rgba(139,155,121,.48) !important;
}
body.pos-layout .pos-getir-action-btn{
  width:100%;
  min-height:44px;
  border:0;
  border-radius:15px;
  background:#8b9b79;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:8px 12px;
  box-shadow:0 10px 22px rgba(139,155,121,.18);
  font-weight:900;
  line-height:1.05;
}
body.pos-layout .pos-getir-action-btn small{
  opacity:.82;
  font-weight:800;
  font-size:.68rem;
}
body.pos-layout .pos-getir-action-btn.is-danger{
  min-width:92px;
  background:#fff;
  color:#b63737;
  border:1px solid rgba(182,55,55,.28);
  box-shadow:none;
}
body.pos-layout .pos-getir-status-note{
  font-size:.68rem;
  color:#8b9088;
  line-height:1.35;
}
@media (max-width: 1180px){
  body.pos-layout .pos-getir-status-actions{grid-template-columns:1fr;}
  body.pos-layout .pos-getir-action-btn.is-danger{min-width:0;}
}

/* continue142: Getir incoming order audible alert unlock */
body.pos-layout .pos-marketplace-audio-unlock{
  position:fixed;
  right:22px;
  bottom:92px;
  z-index:2140;
  border:0;
  border-radius:999px;
  padding:12px 18px;
  background:#7f9270;
  color:#fff;
  font-weight:800;
  font-size:.9rem;
  box-shadow:0 18px 42px rgba(40,54,35,.22);
  letter-spacing:-.01em;
}
body.pos-layout .pos-marketplace-audio-unlock:hover{filter:brightness(.96);}
body.pos-layout .pos-marketplace-audio-unlock.d-none{display:none !important;}

/* continue143: Getir prepare timing clarification */
body.pos-layout .pos-getir-status-help{
  border:1px dashed rgba(139,155,121,.32);
  background:#fffdf4;
  color:#6f775f;
  border-radius:13px;
  padding:8px 10px;
  font-size:.68rem;
  line-height:1.35;
}
body.pos-layout .pos-getir-status-help code{
  color:#526847;
  background:rgba(139,155,121,.10);
  border-radius:7px;
  padding:1px 5px;
  font-weight:900;
}

/* continue144: Getir discounted / charged amount summary */
body.pos-layout .pos-marketplace-discount-summary{
  margin:-4px 0 10px;
  border:1px solid rgba(139,155,121,.18);
  background:linear-gradient(135deg, rgba(255,255,255,.92), rgba(247,246,236,.72));
  border-radius:16px;
  padding:9px 12px;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:8px;
  color:#6e7565;
  font-size:.72rem;
  line-height:1.22;
}
body.pos-layout .pos-marketplace-discount-summary span{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}
body.pos-layout .pos-marketplace-discount-summary strong{
  color:#22251f;
  font-size:.82rem;
  font-weight:900;
}
@media (max-width: 1180px){
  body.pos-layout .pos-marketplace-discount-summary{grid-template-columns:1fr;}
}

/* continue146: marketplace product options in POS ticket lines */
body.pos-layout .pos-ticket-line-option-note{
  display:flex;
  align-items:flex-start;
  gap:6px;
  margin-top:6px;
  padding:7px 9px;
  border-radius:12px;
  background:rgba(139,155,121,.10);
  border:1px solid rgba(139,155,121,.16);
  color:#596351;
  font-size:.72rem;
  line-height:1.35;
  font-weight:700;
}
body.pos-layout .pos-ticket-line-option-note i{
  flex:0 0 auto;
  color:#7f9270;
  font-size:.85rem;
  margin-top:1px;
}
body.pos-layout .pos-ticket-line-option-note span{
  min-width:0;
  white-space:normal;
}
body.pos-layout .pos-ticket-line-option-note span em{
  display:block;
  font-style:normal;
}
body.pos-layout .pos-ticket-line-option-note span em + em{
  margin-top:2px;
}


/* continue147: marketplace order notes in POS right panel */
body.pos-layout .pos-ticket-block--getir-note{
  display:grid;
  grid-template-columns:42px minmax(0,1fr);
  gap:0;
  padding:0 !important;
  overflow:hidden;
  border-color:rgba(104,117,137,.24) !important;
  background:#fffef9 !important;
}
body.pos-layout .pos-getir-order-note-icon{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#758297;
  color:#fff;
  font-size:1rem;
}
body.pos-layout .pos-getir-order-note-content{
  padding:10px 12px;
  min-width:0;
}
body.pos-layout .pos-getir-order-note-title{
  color:#1f251d;
  font-size:.82rem;
  font-weight:900;
  margin-bottom:4px;
}
body.pos-layout .pos-getir-order-note-text{
  color:#687386;
  font-size:.78rem;
  line-height:1.45;
  font-style:italic;
  font-weight:650;
  white-space:normal;
}

/* continue149: Getir/POS right panel compact density for integration tickets */
body.pos-layout .pos-ticket-shell--marketplace{
  gap:7px !important;
  padding:8px !important;
  border-radius:22px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-cashier-head{
  gap:6px !important;
  padding:0 !important;
  min-height:34px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-heading{
  font-size:.9rem !important;
  line-height:1.05 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-subheading{
  font-size:.68rem !important;
  line-height:1.12 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-cashier-account{
  min-height:30px !important;
  padding:6px 11px !important;
  border-radius:13px !important;
  font-size:.72rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-summary-grid--cashier{
  margin:0 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-summary-card--hero{
  min-height:68px !important;
  padding:8px 12px !important;
  border-radius:18px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-summary-card--hero .pos-ticket-summary-value{
  font-size:clamp(1.65rem,2.3vw,2.1rem) !important;
  line-height:1 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-marketplace-discount-summary{
  margin:0 !important;
  padding:6px 8px !important;
  border-radius:12px !important;
  gap:6px !important;
  font-size:.62rem !important;
  line-height:1.1 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-marketplace-discount-summary strong{
  font-size:.72rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--compact{
  padding:8px !important;
  border-radius:16px !important;
  margin-bottom:0 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block + .pos-ticket-block{
  margin-top:0 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block-head{
  padding:0 2px 5px !important;
  gap:6px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-section-title{
  font-size:.82rem !important;
  line-height:1.05 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-section-meta,
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-getir-sub{
  font-size:.62rem !important;
  line-height:1.08 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--getir-note{
  grid-template-columns:32px minmax(0,1fr) !important;
  border-radius:14px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-order-note-icon{
  min-height:42px !important;
  font-size:.82rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-order-note-content{
  padding:6px 8px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-order-note-title{
  font-size:.72rem !important;
  margin-bottom:2px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-order-note-text{
  font-size:.68rem !important;
  line-height:1.22 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-pill{
  min-width:68px !important;
  padding:4px 8px !important;
  font-size:.62rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-body{
  gap:5px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-flow{
  gap:4px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-flow span{
  min-height:22px !important;
  padding:3px 5px !important;
  border-radius:8px !important;
  font-size:.6rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-actions{
  gap:6px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-action-btn{
  min-height:36px !important;
  padding:6px 9px !important;
  border-radius:12px !important;
  gap:5px !important;
  font-size:.78rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-action-btn small{
  font-size:.58rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-action-btn.is-danger{
  min-width:78px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-note{
  font-size:.58rem !important;
  line-height:1.15 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier{
  padding:0 !important;
  display:grid !important;
  gap:5px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll{
  max-height:calc(100vh - 330px) !important;
  max-height:calc(100dvh - 330px) !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line{
  padding:7px 8px !important;
  border-radius:13px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier .pos-ticket-line-main{
  gap:6px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier .pos-ticket-line-title{
  font-size:.84rem !important;
  line-height:1.12 !important;
  flex-basis:190px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier .pos-ticket-line-meta,
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier .pos-ticket-line-note{
  font-size:.68rem !important;
  line-height:1.15 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line-option-note{
  margin-top:4px !important;
  padding:5px 7px !important;
  border-radius:10px !important;
  gap:5px !important;
  font-size:.66rem !important;
  line-height:1.18 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line-option-note span em + em{
  margin-top:1px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier .pos-ticket-line-price{
  min-width:68px !important;
  font-size:.84rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-row-icon{
  width:28px !important;
  height:28px !important;
  border-radius:10px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-payments{
  padding:0 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-payment-row{
  padding:7px 8px !important;
  border-radius:12px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-payment-copy span{
  font-size:.78rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-payment-copy small{
  font-size:.62rem !important;
  line-height:1.1 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-cashier-actions{
  padding:7px 0 calc(6px + env(safe-area-inset-bottom,0px)) !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-cashier-actions .pos-ticket-main-btn{
  min-height:46px !important;
  border-radius:14px !important;
  font-size:.9rem !important;
}
@media (max-width: 1180px){
  body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll{
    max-height:calc(100dvh - 350px) !important;
  }
  body.pos-layout .pos-ticket-shell--marketplace .pos-marketplace-discount-summary{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}

/* continue150: POS flash/toast feedback for marketplace/API errors */
body.pos-layout .pos-toast-zone {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 3200;
  display: grid;
  gap: 10px;
  width: min(440px, calc(100vw - 28px));
  pointer-events: none;
}

body.pos-layout .pos-flash-toast {
  width: 100%;
  max-width: 440px;
  overflow: hidden;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 48px rgba(30, 32, 26, 0.22);
  color: #1f241d;
  pointer-events: auto;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body.pos-layout .pos-flash-toast-inner {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 26px;
  align-items: start;
  gap: 10px;
  padding: 13px 13px 11px;
}

body.pos-layout .pos-flash-toast-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 13px;
  font-size: 17px;
  background: rgba(139, 155, 121, 0.14);
  color: #6f805f;
}

body.pos-layout .pos-flash-toast-title {
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

body.pos-layout .pos-flash-toast-message {
  max-height: 160px;
  overflow: auto;
  font-size: 12px;
  line-height: 1.42;
  color: rgba(31, 36, 29, 0.78);
  overflow-wrap: anywhere;
}

body.pos-layout .pos-flash-toast-close {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 999px;
  opacity: 0.55;
}

body.pos-layout .pos-flash-toast-close:hover {
  opacity: 0.9;
  background: rgba(0, 0, 0, 0.05);
}

body.pos-layout .pos-flash-toast-progress {
  width: 100%;
  height: 3px;
  transform-origin: left center;
  animation: posToastAutoClose 10s linear forwards;
  background: rgba(139, 155, 121, 0.45);
}

body.pos-layout .pos-flash-toast--danger {
  border-color: rgba(188, 54, 54, 0.22);
}

body.pos-layout .pos-flash-toast--danger .pos-flash-toast-icon {
  background: rgba(188, 54, 54, 0.11);
  color: #b73333;
}

body.pos-layout .pos-flash-toast--danger .pos-flash-toast-progress {
  background: rgba(188, 54, 54, 0.55);
}

body.pos-layout .pos-flash-toast--warning .pos-flash-toast-icon {
  background: rgba(188, 139, 45, 0.13);
  color: #b8791c;
}

body.pos-layout .pos-flash-toast--warning .pos-flash-toast-progress {
  background: rgba(188, 139, 45, 0.55);
}

body.pos-layout .pos-flash-toast--info .pos-flash-toast-icon {
  background: rgba(75, 111, 168, 0.12);
  color: #4d6fa5;
}

body.pos-layout .pos-flash-toast--info .pos-flash-toast-progress {
  background: rgba(75, 111, 168, 0.5);
}

@keyframes posToastAutoClose {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@media (max-width: 768px) {
  body.pos-layout .pos-toast-zone {
    top: 12px;
    right: 12px;
    left: 12px;
    width: auto;
  }

  body.pos-layout .pos-flash-toast {
    max-width: none;
  }
}

/* 2026-05-13 continue151: Getir siparişlerinde alt ana CTA sıradaki Getir aksiyonu olur */
body.pos-layout .pos-getir-status-note--next{
  grid-column:1 / -1;
  padding:5px 8px;
  border-radius:10px;
  background:rgba(139,155,121,.08);
  color:#69745f;
}
body.pos-layout .pos-getir-status-note--next strong{
  color:#30462e;
}
body.pos-layout .pos-getir-bottom-status-form{
  width:100%;
  margin:0;
}
body.pos-layout .pos-ticket-main-btn--getir{
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none !important;
  line-height:1.05;
}
body.pos-layout .pos-ticket-main-btn--getir small{
  font-size:.72rem;
  font-weight:800;
  opacity:.82;
}
body.pos-layout .pos-ticket-main-btn--getir-print{
  background:#fffef9 !important;
  color:#4f5a42 !important;
  border:1px solid rgba(139,155,121,.32) !important;
  box-shadow:0 12px 24px rgba(139,155,121,.12) !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-main-btn--getir{
  min-height:46px !important;
  font-size:.92rem !important;
  border-radius:14px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-main-btn--getir small{
  font-size:.62rem !important;
}

/* 2026-05-13 continue152: Getir durum kartı ana CTA'nın hemen üstüne taşındı */
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--getir-status-bottom{
  margin-top:2px !important;
  margin-bottom:0 !important;
  border-color:rgba(139,155,121,.30) !important;
  box-shadow:0 10px 24px rgba(75,84,66,.06) !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--getir-status-bottom .pos-ticket-block-head{
  padding-bottom:4px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--getir-status-bottom .pos-getir-status-note:last-child{
  display:none;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--getir-status-bottom + .pos-cashier-actions{
  padding-top:5px !important;
}

/* Lillo Club loyalty foundation */
.club-card-preview { border-radius: 28px; background: linear-gradient(145deg, #fff, #f7f6ec); }
.club-tagline, .club-kicker { color: #8b9b79; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; }
.club-qr, .club-member-qr { border-radius: 22px; border: 10px solid #fff; box-shadow: 0 18px 44px rgba(15, 23, 42, .12); max-width: 100%; }
.club-wallet-box { display:flex; align-items:center; gap:14px; border:1px solid rgba(139,155,121,.25); border-radius:22px; padding:18px; background:#fbfaf4; }
.club-wallet-box i { font-size: 2rem; color:#8b9b79; }
.club-public-page { background: #f7f6ec; min-height: 100vh; }
.club-public-shell { min-height: 100vh; display:flex; align-items:center; justify-content:center; padding:32px 16px; background: radial-gradient(circle at top, rgba(139,155,121,.28), transparent 38%), #f7f6ec; }
.club-public-card, .club-member-card { width: min(100%, 520px); border-radius: 34px; background: rgba(255,255,255,.9); box-shadow: 0 24px 70px rgba(39,49,35,.16); padding: 34px; }
/* 2026-05-18 continue172: Lillo Club public logo size fix */
.club-public-logo { width: 82px !important; max-width: 22vw !important; height:auto !important; display:block; margin-inline:auto; object-fit:contain; }
.club-member-card .club-public-logo { width: 88px !important; }
.club-public-card h1, .club-member-card h1 { font-weight: 800; color:#273123; margin:8px 0; }
.club-consent-grid { display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:10px; background:#fbfaf4; border-radius:18px; padding:14px; }
/* 2026-05-18 continue174: Lillo Club legal texts and square checkboxes */
.club-public-page .form-check { display:flex; align-items:flex-start; gap:10px; min-height:0; margin:0; padding-left:0; }
.club-public-page .form-check .form-check-input { width:20px !important; height:20px !important; min-width:20px !important; min-height:unset !important; flex:0 0 20px; margin:2px 0 0 0; border-radius:4px !important; border:1.5px solid rgba(39,49,35,.28); box-shadow:none; }
.club-public-page .form-check .form-check-input:checked { background-color:#8b9b79; border-color:#8b9b79; }
.club-public-page .form-check .form-check-label { line-height:1.8; color:#273123; }
.club-legal-consent { border:1px solid rgba(139,155,121,.22); background:#fbfaf4; border-radius:22px; padding:16px; }
.club-acceptance-check .form-check-label { font-weight:700; font-size:.95rem; }
.club-legal-stack { display:grid; gap:10px; margin-top:14px; }
.club-legal-details { border:1px solid rgba(39,49,35,.10); border-radius:16px; background:rgba(255,255,255,.72); overflow:hidden; }
.club-legal-details summary { cursor:pointer; list-style:none; padding:12px 14px; font-weight:800; color:#273123; display:flex; align-items:center; justify-content:space-between; gap:10px; }
.club-legal-details summary::-webkit-details-marker { display:none; }
.club-legal-details summary::after { content:'+'; width:24px; height:24px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; background:rgba(139,155,121,.16); color:#8b9b79; font-weight:900; flex:0 0 24px; }
.club-legal-details[open] summary::after { content:'−'; }
.club-legal-body { max-height:260px; overflow:auto; padding:0 14px 14px; color:#3f4639; font-size:.86rem; line-height:1.55; }
.club-legal-body p { margin:0 0 10px; }
.club-legal-body p:last-child { margin-bottom:0; }
.club-marketing-consent { border:1px solid rgba(139,155,121,.18); background:rgba(251,250,244,.72); border-radius:22px; padding:16px; }
.club-marketing-title { font-weight:800; color:#273123; display:flex; align-items:center; gap:8px; }
.club-marketing-title span { color:#8b9b79; font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.club-marketing-consent p { margin:5px 0 12px; font-size:.86rem; color:#6b705f; line-height:1.45; }
.club-member-card { text-align:center; }
.club-member-name { font-weight:700; font-size:1.25rem; margin-bottom:18px; }
.club-points { font-size:2rem; font-weight:800; color:#273123; margin-top:18px; }
@media (max-width: 575px) { .club-public-card, .club-member-card { padding:24px; border-radius:28px; } .club-consent-grid { grid-template-columns:1fr; } .club-public-logo { width:68px !important; max-width:28vw !important; } .club-member-card .club-public-logo { width:74px !important; } .club-legal-body { max-height:220px; } }

/* Lillo Club OTP */
.club-otp-box { border:1px solid rgba(139,155,121,.22); background:rgba(251,250,244,.82); border-radius:22px; padding:16px; }
.club-otp-box .input-group .btn { border-top-right-radius:16px; border-bottom-right-radius:16px; font-weight:800; white-space:nowrap; }
.club-otp-box .input-group .form-control { border-top-left-radius:16px; border-bottom-left-radius:16px; letter-spacing:.14em; font-weight:800; }
@media (max-width:575px) { .club-otp-box .input-group { display:grid; gap:10px; } .club-otp-box .input-group > .form-control, .club-otp-box .input-group > .btn { width:100%; border-radius:16px !important; } }

/* 2026-05-18 continue180: Lillo Club customer detail consent summary */
.club-info-list { display:grid; gap:10px; }
.club-info-list > div { display:flex; align-items:flex-start; justify-content:space-between; gap:14px; padding:12px 14px; border:1px solid rgba(39,49,35,.08); border-radius:16px; background:#fbfaf4; }
.club-info-list span { color:#6b705f; font-size:.82rem; font-weight:700; }
.club-info-list strong { color:#273123; text-align:right; font-size:.92rem; }
.club-consent-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.club-consent-item { border:1px solid rgba(139,155,121,.20); border-radius:16px; background:rgba(251,250,244,.82); padding:12px; display:grid; gap:8px; min-height:78px; }
.club-consent-item > span { color:#6b705f; font-size:.78rem; font-weight:800; text-transform:uppercase; letter-spacing:.03em; }
.club-consent-item .badge { justify-self:start; }
@media (max-width: 991px) { .club-consent-summary { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width: 575px) { .club-info-list > div { display:grid; gap:4px; } .club-info-list strong { text-align:left; } .club-consent-summary { grid-template-columns:1fr; } }

/* continue181: Lillo Club public support page */
.club-support-shell { align-items:flex-start; padding-top:42px; padding-bottom:42px; }
.club-support-card { width:min(100%, 760px); }
.club-support-section { border:1px solid rgba(39,49,35,.10); background:rgba(255,255,255,.72); border-radius:24px; padding:20px; margin-bottom:16px; }
.club-support-section h2,
.club-support-en h2 { font-size:1.05rem; font-weight:800; color:#273123; margin:0 0 10px; }
.club-support-section p,
.club-support-en p { color:#5f665b; line-height:1.65; margin-bottom:10px; }
.club-support-section p:last-child,
.club-support-en p:last-child { margin-bottom:0; }
.club-support-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; margin:16px 0; }
.club-support-mini-card { border:1px solid rgba(39,49,35,.10); background:rgba(247,246,236,.72); border-radius:22px; padding:18px; }
.club-support-icon { width:38px; height:38px; border-radius:14px; background:#8b9b79; color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.2rem; margin-bottom:12px; }
.club-support-mini-card h3 { font-size:.98rem; font-weight:800; color:#273123; margin:0 0 8px; }
.club-support-mini-card p { color:#5f665b; line-height:1.55; margin:0; font-size:.92rem; }
.club-support-faq { margin-top:16px; }
.club-support-actions { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:18px; }
.club-support-en { border-top:1px solid rgba(39,49,35,.10); padding-top:18px; }
@media (max-width: 575px) {
  .club-support-shell { padding-top:20px; padding-bottom:20px; }
  .club-support-grid,
  .club-support-actions { grid-template-columns:1fr; }
  .club-support-section,
  .club-support-mini-card { border-radius:20px; }
}

/* 2026-05-20 continue184: Lillo Club join premium-simple polish */
.club-join-shell{
  align-items:flex-start;
  padding:42px 16px;
  background:
    radial-gradient(circle at 50% 0%, rgba(139,155,121,.22), transparent 34%),
    linear-gradient(180deg, #fbfaf4 0%, #f7f6ec 100%);
}
.club-join-card{
  width:min(100%, 470px);
  border-radius:30px;
  padding:30px 28px 28px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(139,155,121,.18);
  box-shadow:0 22px 64px rgba(39,49,35,.12);
  backdrop-filter:blur(14px);
}
.club-join-hero{ margin-bottom:22px; }
.club-join-logo{ width:72px !important; max-width:22vw !important; }
.club-join-kicker,
.club-join-card .club-kicker{
  margin-top:14px !important;
  color:#8b9b79;
  font-size:.68rem;
  line-height:1.2;
  font-weight:600;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.club-join-card h1{
  margin:7px 0 8px;
  color:#273123;
  font-size:clamp(1.85rem, 7vw, 2.45rem);
  line-height:1.04;
  font-weight:600;
  letter-spacing:-.035em;
}
.club-join-card .club-join-hero p{
  max-width:360px;
  margin:0 auto;
  color:#626958;
  font-size:.94rem;
  line-height:1.55;
  font-weight:400;
}
.club-join-benefits{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
  margin-top:16px;
}
.club-join-benefits span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border-radius:999px;
  background:#fbfaf4;
  border:1px solid rgba(139,155,121,.18);
  color:#4d5648;
  font-size:.78rem;
  line-height:1;
  font-weight:500;
}
.club-join-benefits i{ color:#8b9b79; font-size:.88rem; }
.club-join-form{ gap:13px !important; }
.club-form-section{
  display:grid;
  gap:12px;
}
.club-join-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.club-join-card .form-label{
  margin-bottom:6px;
  color:#293225;
  font-size:.82rem;
  line-height:1.25;
  font-weight:600;
}
.club-join-card .form-label span{
  color:#8b9b79;
  font-size:.72rem;
  font-weight:500;
}
.club-join-card .club-input,
.club-join-card .form-control,
.club-join-card .form-select{
  min-height:46px;
  border-radius:16px;
  border-color:rgba(39,49,35,.14);
  background:#fff;
  color:#273123;
  font-size:.94rem;
  line-height:1.35;
  font-weight:400;
  box-shadow:none;
}
.club-join-card .club-input:focus,
.club-join-card .form-control:focus,
.club-join-card .form-select:focus{
  border-color:rgba(139,155,121,.72);
  box-shadow:0 0 0 .22rem rgba(139,155,121,.14);
}
.club-join-card .form-text{
  margin-top:7px;
  color:#7a806f;
  font-size:.78rem;
  line-height:1.4;
}
.club-alert{
  border-radius:18px;
  border-width:1px;
  font-size:.88rem;
  line-height:1.45;
}
.club-join-card .club-otp-box,
.club-join-card .club-legal-consent,
.club-join-card .club-marketing-consent{
  border-radius:20px;
  padding:14px;
  background:rgba(251,250,244,.76);
  border-color:rgba(139,155,121,.18);
}
.club-join-card .club-otp-box .input-group .form-control{
  border-top-left-radius:16px;
  border-bottom-left-radius:16px;
  letter-spacing:.08em;
  font-weight:500;
}
.club-join-card .club-otp-box .input-group .btn{
  border-top-right-radius:16px;
  border-bottom-right-radius:16px;
  font-size:.88rem;
  font-weight:600;
  white-space:nowrap;
}
.club-join-card .club-acceptance-check .form-check-label{
  color:#303829;
  font-size:.86rem;
  line-height:1.8;
  font-weight:500;
}
.club-join-card .club-legal-stack{ margin-top:12px; gap:8px; }
.club-join-card .club-legal-details{
  border-radius:14px;
  background:rgba(255,255,255,.72);
  border-color:rgba(39,49,35,.09);
}
.club-join-card .club-legal-details summary{
  padding:10px 12px;
  color:#293225;
  font-size:.84rem;
  line-height:1.25;
  font-weight:600;
}
.club-join-card .club-legal-details summary::after{
  width:22px;
  height:22px;
  flex-basis:22px;
  font-weight:600;
}
.club-join-card .club-legal-body{
  max-height:205px;
  padding:0 12px 12px;
  color:#50584a;
  font-size:.79rem;
  line-height:1.55;
}
.club-join-card .club-legal-body strong{ font-weight:600; }
.club-join-card .club-marketing-title{
  color:#293225;
  font-size:.88rem;
  line-height:1.3;
  font-weight:600;
}
.club-join-card .club-marketing-title span{
  color:#8b9b79;
  font-size:.68rem;
  font-weight:500;
  letter-spacing:.08em;
}
.club-join-card .club-marketing-consent p{
  margin:6px 0 12px;
  color:#68715e;
  font-size:.79rem;
  line-height:1.45;
  font-weight:400;
}
.club-join-card .club-consent-grid{
  gap:8px;
  padding:10px;
  border-radius:16px;
  background:rgba(255,255,255,.58);
}
.club-join-card .form-check .form-check-label{
  color:#394132;
  font-size:.86rem;
  font-weight:500;
}
.club-join-submit{
  min-height:48px;
  border-radius:999px;
  background:#8b9b79;
  border-color:#8b9b79;
  font-size:.94rem;
  line-height:1.2;
  font-weight:600;
  box-shadow:0 12px 28px rgba(139,155,121,.22);
}
.club-join-submit:hover,
.club-join-submit:focus{
  background:#7d8d6c;
  border-color:#7d8d6c;
}
.club-join-support{
  margin-top:4px;
  text-align:center;
  color:#7a806f;
  font-size:.78rem;
  line-height:1.45;
  font-weight:400;
}
.club-join-support a{ color:#8b9b79; font-weight:600; }
@media (max-width:575px){
  .club-join-shell{ padding:22px 12px; }
  .club-join-card{ padding:24px 18px 22px; border-radius:26px; }
  .club-join-logo{ width:64px !important; max-width:28vw !important; }
  .club-join-card h1{ font-size:2rem; }
  .club-join-card .club-join-hero p{ font-size:.88rem; }
  .club-join-benefits{ gap:6px; margin-top:14px; }
  .club-join-benefits span{ padding:7px 9px; font-size:.72rem; }
  .club-join-grid{ grid-template-columns:1fr; }
  .club-join-card .club-consent-grid{ grid-template-columns:1fr; }
  .club-join-card .club-legal-body{ max-height:190px; }
  .club-join-card .club-otp-box .input-group{ display:grid; gap:9px; }
  .club-join-card .club-otp-box .input-group > .form-control,
  .club-join-card .club-otp-box .input-group > .btn{ width:100%; border-radius:16px !important; }
}

/* 2026-05-20 continue185: Lillo Club phone-first OTP flow */
.club-phone-verify{
  border:1px solid rgba(139,155,121,.18);
  background:rgba(251,250,244,.72);
  border-radius:20px;
  padding:14px;
  display:grid;
  gap:12px;
}
.club-phone-verify-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
}
.club-phone-verify-head strong{
  display:block;
  color:#293225;
  font-size:.88rem;
  line-height:1.25;
  font-weight:600;
}
.club-phone-verify-head span{
  display:block;
  margin-top:3px;
  color:#707866;
  font-size:.76rem;
  line-height:1.38;
  font-weight:400;
}
.club-verify-phone-btn{
  min-height:42px;
  border-radius:999px;
  padding-left:16px;
  padding-right:16px;
  font-size:.86rem;
  font-weight:600;
  white-space:nowrap;
}
.club-otp-panel{
  display:grid;
  gap:7px;
  padding-top:2px;
}
.club-otp-panel[hidden]{ display:none !important; }
.club-otp-code-input{
  letter-spacing:.10em;
  font-weight:500 !important;
  text-align:center;
}
.club-otp-status{
  color:#7a806f;
  font-size:.78rem;
  line-height:1.45;
  font-weight:400;
}
.club-otp-status i{ margin-right:5px; }
.club-otp-status.is-ok{ color:#52723e; }
.club-otp-status.is-error{ color:#a33b36; }
.club-otp-status.is-loading{ color:#69745f; }
.club-phone-verify.is-verified{
  background:rgba(139,155,121,.10);
  border-color:rgba(139,155,121,.30);
}
.club-phone-verify.is-verified .club-verify-phone-btn{
  background:#8b9b79;
  border-color:#8b9b79;
  color:#fff;
}
@media (max-width:575px){
  .club-phone-verify-head{ grid-template-columns:1fr; }
  .club-verify-phone-btn{ width:100%; }
}

/* 2026-05-20 continue190: Lillo Club post-registration reward tasks */
.club-card-shell{
  gap:18px;
}
.club-task-panel{
  width:min(760px,100%);
  border:1px solid rgba(139,155,121,.18);
  background:rgba(255,255,255,.74);
  border-radius:30px;
  padding:20px;
  box-shadow:0 24px 70px rgba(31,43,24,.11);
  backdrop-filter:blur(14px);
}
.club-task-panel-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}
.club-task-kicker{
  color:#8b9b79;
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.club-task-panel h2{
  margin:2px 0 4px;
  color:#263121;
  font-size:1.35rem;
  line-height:1.15;
  font-weight:600;
}
.club-task-panel p{
  margin:0;
  color:#6d7564;
  font-size:.88rem;
  line-height:1.45;
}
.club-task-grid{
  display:grid;
  gap:12px;
}
.club-task-card{
  display:grid;
  grid-template-columns:44px minmax(0,1fr);
  gap:12px;
  padding:14px;
  border:1px solid rgba(39,49,35,.09);
  border-radius:22px;
  background:rgba(250,249,243,.72);
}
.club-task-card.is-done{
  background:rgba(139,155,121,.12);
  border-color:rgba(139,155,121,.28);
}
.club-task-card.is-pending{
  background:rgba(255,248,228,.72);
}
.club-task-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:16px;
  background:#8b9b79;
  color:#fff;
  font-size:1.2rem;
  box-shadow:0 10px 24px rgba(139,155,121,.20);
}
.club-task-title-row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:5px;
}
.club-task-title-row h3{
  margin:0;
  color:#263121;
  font-size:.98rem;
  line-height:1.25;
  font-weight:600;
}
.club-task-status{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(39,49,35,.06);
  color:#5f6858;
  font-size:.70rem;
  line-height:1;
  font-weight:600;
  white-space:nowrap;
}
.club-task-status.is-approved{ background:rgba(139,155,121,.16); color:#557044; }
.club-task-status.is-pending{ background:rgba(229,174,66,.15); color:#8a651e; }
.club-task-status.is-rejected{ background:rgba(181,80,74,.12); color:#98423c; }
.club-task-reward{
  display:inline-flex;
  width:max-content;
  margin-top:10px;
  padding:6px 10px;
  border-radius:999px;
  background:#263121;
  color:#fff;
  font-size:.76rem;
  font-weight:600;
}
.club-task-reward.is-no-points{
  background:rgba(39,49,35,.08);
  color:#69715f;
}
.club-task-mini-link{
  display:inline-flex;
  align-items:center;
  gap:5px;
  margin-top:10px;
  color:#8b9b79;
  font-size:.78rem;
  font-weight:600;
  text-decoration:none;
}
.club-task-note{
  margin-top:9px;
  padding:8px 10px;
  border-radius:12px;
  background:rgba(181,80,74,.08);
  color:#88433d;
  font-size:.78rem;
  line-height:1.35;
}
.club-task-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:8px;
  align-items:end;
  margin-top:10px;
}
.club-task-form .form-label{
  grid-column:1 / -1;
  margin-bottom:-2px;
  color:#65705e;
  font-size:.76rem;
  font-weight:600;
}
.club-task-form .form-control{
  min-height:42px;
  border-radius:14px;
  border-color:rgba(139,155,121,.22);
  background:rgba(255,255,255,.86);
  font-size:.86rem;
}
.club-task-form .btn,
.club-task-action{
  min-height:42px;
  border-radius:999px;
  padding-left:16px;
  padding-right:16px;
  font-size:.84rem;
  font-weight:600;
  white-space:nowrap;
}
.club-task-action{
  margin-top:12px;
}
.club-task-legal-note{
  margin-top:14px;
  color:#78806f;
  font-size:.76rem;
  line-height:1.45;
  text-align:center;
}
@media (max-width:575px){
  .club-task-panel{ padding:16px; border-radius:24px; }
  .club-task-card{ grid-template-columns:38px minmax(0,1fr); padding:12px; border-radius:18px; }
  .club-task-icon{ width:38px; height:38px; border-radius:14px; }
  .club-task-title-row{ flex-direction:column; gap:6px; }
  .club-task-form{ grid-template-columns:1fr; }
  .club-task-form .btn,.club-task-action{ width:100%; }
}

/* 2026-05-21 continue192: Lillo Club mobile task layout fix */
.club-card-shell{
  width:100%;
  max-width:1180px;
  margin-inline:auto;
  align-items:flex-start;
  justify-content:center;
  flex-wrap:wrap;
}
.club-card-shell .club-member-card{
  flex:0 1 420px;
  min-width:0;
}
.club-card-shell .club-task-panel{
  flex:1 1 460px;
  min-width:0;
}
@media (max-width:991px){
  .club-card-shell{
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:16px;
  }
  .club-card-shell .club-member-card,
  .club-card-shell .club-task-panel{
    width:min(100%,520px);
    flex:0 0 auto;
  }
}
@media (max-width:575px){
  .club-public-shell.club-card-shell{
    padding:18px 12px 28px;
    align-items:stretch;
  }
  .club-card-shell .club-member-card,
  .club-card-shell .club-task-panel{
    width:100%;
    max-width:none;
  }
  .club-task-panel-head{
    margin-bottom:12px;
  }
  .club-task-panel h2{
    font-size:1.12rem;
  }
  .club-task-panel p{
    font-size:.82rem;
  }
  .club-task-title-row h3{
    font-size:.92rem;
  }
  .club-task-status{
    align-self:flex-start;
    font-size:.66rem;
  }
  .club-task-reward{
    font-size:.72rem;
  }
}

/* continue198 - order detail Getir history readability cleanup */
.order-show-audit-table th:nth-child(3),
.order-show-audit-table td:nth-child(3){
  min-width: 420px;
}
.order-audit-row--rejected > td{
  background: rgba(220,53,69,.12) !important;
}
.order-audit-context{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:6px 8px;
  color:#5f6758;
  font-size:.82rem;
  line-height:1.35;
}
.order-audit-flow,
.order-audit-chip,
.order-audit-marketplace-status{
  display:inline-flex;
  align-items:center;
  gap:4px;
  border-radius:999px;
  padding:4px 9px;
  background:rgba(139,155,121,.12);
  color:#384432;
  font-weight:650;
  white-space:nowrap;
}
.order-audit-flow i{font-size:1rem;line-height:1;}
.order-audit-chip{
  background:rgba(32,34,27,.06);
  color:#5f6758;
  font-weight:600;
}
.order-audit-chip--muted{
  background:rgba(229,174,66,.16);
  color:#7a5a1a;
}
.order-audit-marketplace-status.is-ok{
  background:rgba(37,126,69,.12);
  color:#276b3d;
}
.order-audit-marketplace-status.is-error{
  background:rgba(220,53,69,.14);
  color:#9a2f35;
}
.order-audit-message{
  flex:1 1 320px;
  min-width:260px;
  color:#5f6758;
}
.order-audit-technical{
  flex-basis:100%;
  margin-top:2px;
}
.order-audit-technical summary{
  cursor:pointer;
  color:#6f7d62;
  font-weight:650;
  font-size:.78rem;
}
.order-audit-technical pre{
  margin:.45rem 0 0;
  max-width:100%;
  max-height:260px;
  overflow:auto;
  white-space:pre-wrap;
  word-break:break-word;
  border:1px solid rgba(32,34,27,.08);
  border-radius:14px;
  background:#fffdf8;
  padding:10px 12px;
  color:#454c40;
  font-size:12px;
}
.order-show-status-table td:nth-child(3){
  color:#394238;
}
@media (max-width: 900px){
  .order-show-audit-table th:nth-child(3),
  .order-show-audit-table td:nth-child(3){min-width:320px;}
  .order-audit-message{min-width:220px;}
}


/* continue200: Getir Getirsin courier handover guidance */
body.pos-layout .pos-getir-status-note--courier {
  background: rgba(99, 72, 210, .08);
  border-color: rgba(99, 72, 210, .20);
  color: #354135;
}

/* continue202: Getir reject/cancel reason UI */
body.pos-layout .pos-getir-reject-form{
  grid-column:1 / -1;
  display:grid;
  grid-template-columns:1fr auto;
  gap:7px;
  align-items:end;
  padding:8px;
  border:1px solid rgba(182,55,55,.16);
  background:#fffafa;
  border-radius:14px;
}
body.pos-layout .pos-getir-cancel-label{
  grid-column:1 / -1;
  margin:0;
  font-size:.62rem;
  line-height:1.1;
  font-weight:900;
  color:#8d3737;
}
body.pos-layout .pos-getir-cancel-select,
body.pos-layout .pos-getir-cancel-note{
  border-radius:12px;
  border-color:rgba(182,55,55,.22);
  font-size:.72rem;
  min-height:36px;
}
body.pos-layout .pos-getir-cancel-note{
  grid-column:1 / -1;
  resize:vertical;
}
body.pos-layout .pos-getir-reject-form .pos-getir-action-btn.is-danger{
  min-width:96px;
  height:36px;
  padding:6px 10px;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-reject-form{
  gap:5px !important;
  padding:6px !important;
  border-radius:12px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-label{
  font-size:.56rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-select,
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-note{
  min-height:32px !important;
  font-size:.62rem !important;
  border-radius:10px !important;
}
@media (max-width: 1180px){
  body.pos-layout .pos-getir-reject-form{grid-template-columns:1fr;}
  body.pos-layout .pos-getir-reject-form .pos-getir-action-btn.is-danger{min-width:0;}
}

/* continue206: POS Getir cancel/reject details polish */
body.pos-layout .pos-getir-cancel-details{
  grid-column:1 / -1;
  margin:0;
  border:1px solid rgba(182,55,55,.16);
  background:#fffdfb;
  border-radius:14px;
  overflow:hidden;
}
body.pos-layout .pos-getir-cancel-details[open]{
  background:#fffafa;
  border-color:rgba(182,55,55,.22);
}
body.pos-layout .pos-getir-cancel-summary{
  list-style:none;
  cursor:pointer;
  min-height:34px;
  padding:8px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:14px;
  color:#b63737;
  font-size:.72rem;
  font-weight:900;
  line-height:1.05;
  user-select:none;
}
body.pos-layout .pos-getir-cancel-summary::-webkit-details-marker{display:none;}
body.pos-layout .pos-getir-cancel-summary::after{
  content:'⌄';
  margin-left:auto;
  color:#b63737;
  font-size:.8rem;
  line-height:1;
  transform:translateY(-1px);
}
body.pos-layout .pos-getir-cancel-details[open] .pos-getir-cancel-summary{
  border-bottom:1px solid rgba(182,55,55,.14);
  border-radius:14px 14px 0 0;
}
body.pos-layout .pos-getir-cancel-details[open] .pos-getir-cancel-summary::after{
  content:'⌃';
  transform:translateY(1px);
}
body.pos-layout .pos-getir-cancel-summary span{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
body.pos-layout .pos-getir-cancel-summary small{
  font-size:.58rem;
  font-weight:900;
  opacity:.78;
}
body.pos-layout .pos-getir-cancel-details .pos-getir-reject-form{
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  padding:8px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-details{
  border-radius:12px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-summary{
  min-height:30px !important;
  padding:6px 8px !important;
  border-radius:12px !important;
  font-size:.62rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-summary small{
  font-size:.54rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-details[open] .pos-getir-cancel-summary{
  border-radius:12px 12px 0 0 !important;
}

/* 2026-05-21 continue208: Getir Getirsin handover stage is courier-managed in stage/gateway variants */
body.pos-layout .pos-ticket-main-btn--getir-refresh{
  background:linear-gradient(135deg,#eef6ec,#f7fbf5) !important;
  color:#2f5b2f !important;
  border:1px solid rgba(47,91,47,.18) !important;
  box-shadow:0 10px 22px rgba(47,91,47,.10) !important;
}
body.pos-layout .pos-ticket-main-btn--getir-refresh:hover{
  transform:translateY(-1px);
}

/* 2026-05-22 continue210: Lillo Club rewards/tasks panel collapsed by default (rebased on continue209) */
.club-task-panel > summary.club-task-panel-head{
  list-style:none;
  cursor:pointer;
  margin-bottom:0;
  align-items:center;
}
.club-task-panel > summary.club-task-panel-head::-webkit-details-marker{
  display:none;
}
.club-task-panel[open] > summary.club-task-panel-head{
  margin-bottom:12px;
}
.club-task-summary-action{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 9px 7px 13px;
  border-radius:999px;
  border:1px solid rgba(139,155,121,.20);
  background:rgba(247,246,236,.82);
  color:#263121;
  font-size:.78rem;
  font-weight:600;
  box-shadow:0 10px 24px rgba(31,43,24,.08);
  flex:0 0 auto;
}
.club-task-summary-label{
  display:inline-flex;
  align-items:center;
  color:#5b6d4e;
  white-space:nowrap;
}
.club-task-summary-label.is-open{
  display:none;
}
.club-task-panel[open] .club-task-summary-label.is-closed{
  display:none;
}
.club-task-panel[open] .club-task-summary-label.is-open{
  display:inline-flex;
}
.club-task-summary-chevron{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:999px;
  border:1px solid rgba(139,155,121,.22);
  background:rgba(255,255,255,.74);
  color:#8b9b79;
  transition:transform .18s ease;
}
.club-task-panel[open] .club-task-summary-chevron{
  transform:rotate(180deg);
}
.club-task-collapsible{
  padding-top:2px;
}
.club-task-intro{
  margin-bottom:12px !important;
}
@media (max-width:575px){
  .club-task-panel > summary.club-task-panel-head{
    gap:10px;
  }
  .club-task-summary-action{
    width:100%;
    justify-content:space-between;
  }
  .club-task-summary-label{
    flex:1 1 auto;
    justify-content:center;
  }
  .club-task-panel-head{
    flex-direction:column;
    align-items:stretch;
  }
}

/* continue213: POS marketplace AJAX polish + compact full-width online orders */
body.pos-layout .pos-marketplace-strip{
  grid-column:1 / -1 !important;
  width:100% !important;
}
body.pos-layout .pos-mini-panel--marketplace{
  width:100% !important;
  min-height:112px !important;
  height:auto !important;
}
body.pos-layout .pos-mini-panel--marketplace .pos-mini-chip-row{
  display:grid !important;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr)) !important;
  gap:8px !important;
  overflow:visible !important;
  padding-right:0 !important;
}
body.pos-layout .pos-mini-chip--marketplace{
  width:100% !important;
  min-width:0 !important;
  min-height:64px !important;
  justify-content:center !important;
}
body.pos-layout .pos-mini-chip--marketplace small{
  font-weight:700 !important;
  color:#4f5a42 !important;
}
body.pos-layout .pos-ticket-main-btn--getir[disabled],
body.pos-layout .pos-getir-action-btn[disabled]{
  opacity:.7 !important;
  cursor:wait !important;
}
@media (max-width: 991.98px){
  body.pos-layout .pos-ops-strip,
  body.pos-layout .pos-marketplace-strip{
    grid-template-columns:1fr !important;
    width:100% !important;
  }
  body.pos-layout .pos-mini-panel--marketplace .pos-mini-chip-row{
    grid-template-columns:1fr !important;
  }
}

/* continue214: POS marketplace strip full-width shell + 50% order cards */
body.pos-layout .pos-marketplace-strip{
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:100% !important;
}
body.pos-layout .panel-card.panel-card-soft.pos-mini-panel.pos-mini-panel--marketplace{
  width:100% !important;
  max-width:100% !important;
}
body.pos-layout .pos-mini-panel--marketplace .pos-mini-chip-row{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px !important;
  width:100% !important;
  max-width:100% !important;
}
body.pos-layout .pos-mini-panel--marketplace .pos-mini-chip--marketplace{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}
@media (max-width:767.98px){
  body.pos-layout .pos-mini-panel--marketplace .pos-mini-chip-row{
    grid-template-columns:1fr !important;
  }
}

/* continue216: POS marketplace strip grid normalization
   Keep the marketplace strip and panel full width; only order chips use 50% columns. */
body.pos-layout .pos-ops-strip.pos-marketplace-strip{
  display:grid !important;
  grid-template-columns:1fr !important;
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:100% !important;
}
body.pos-layout .pos-ops-strip.pos-marketplace-strip > .panel-card.panel-card-soft.pos-mini-panel.pos-mini-panel--marketplace{
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:100% !important;
}
body.pos-layout .pos-ops-strip.pos-marketplace-strip .pos-mini-chip-row{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px !important;
  width:100% !important;
  max-width:100% !important;
}
body.pos-layout .pos-ops-strip.pos-marketplace-strip .pos-mini-chip--marketplace{
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}
@media (max-width:767.98px){
  body.pos-layout .pos-ops-strip.pos-marketplace-strip .pos-mini-chip-row{
    grid-template-columns:1fr !important;
  }
}

/* continue217: marketplace ticket right panel re-polish
   Make Getir/Yemeksepeti style orders readable on compact POS screens: compact status card,
   non-technical labels, visible cancel/reject details, and a scrollable ticket body above sticky CTA. */
body.pos-layout .pos-ticket-shell--marketplace{
  overflow-y:auto !important;
  overflow-x:hidden !important;
  max-height:100dvh !important;
  scrollbar-gutter:stable;
  padding-bottom:calc(72px + env(safe-area-inset-bottom, 0px)) !important;
}
body.pos-layout .pos-ticket-shell--marketplace::-webkit-scrollbar{width:7px;}
body.pos-layout .pos-ticket-shell--marketplace::-webkit-scrollbar-thumb{
  background:rgba(139,155,121,.32);
  border-radius:999px;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll{
  max-height:clamp(190px, 34dvh, 320px) !important;
  min-height:0 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--getir-status-bottom{
  padding:7px !important;
  border-radius:15px !important;
  background:linear-gradient(180deg,#fffef8,#f9fbf4) !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--getir-status-bottom .pos-ticket-block-head{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center !important;
  gap:8px !important;
  padding:0 1px 5px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--getir-status-bottom .pos-ticket-section-title{
  font-size:.78rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--getir-status-bottom .pos-ticket-getir-sub{
  font-size:.56rem !important;
  opacity:.82;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-pill{
  min-width:0 !important;
  max-width:128px;
  padding:4px 8px !important;
  font-size:.58rem !important;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-body{
  gap:5px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-flow--simple{
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:4px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-flow--simple span{
  min-height:20px !important;
  padding:3px 5px !important;
  border-radius:999px !important;
  font-size:.56rem !important;
  letter-spacing:0 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-actions--clean{
  display:flex !important;
  flex-direction:column !important;
  gap:5px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-actions--clean .pos-getir-action-btn.is-print{
  min-height:31px !important;
  padding:5px 8px !important;
  border-radius:11px !important;
  font-size:.66rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-actions--clean .pos-getir-action-btn.is-print small{
  display:none !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-note--compact{
  display:flex !important;
  align-items:center;
  gap:6px;
  padding:5px 7px !important;
  border:1px solid rgba(139,155,121,.16);
  border-radius:10px;
  background:rgba(139,155,121,.07);
  color:#596451 !important;
  font-size:.58rem !important;
  line-height:1.18 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-note--compact i{
  flex:0 0 auto;
  color:#6f835d;
  font-size:.72rem;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-note--compact span{
  min-width:0;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-note--compact small{
  margin-left:auto;
  max-width:42%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#68735f;
  font-weight:800;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-note--courier{
  background:rgba(99,72,210,.06) !important;
  border-color:rgba(99,72,210,.14) !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-note--courier i{color:#6348d2;}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-details--compact{
  order:1;
  border-radius:11px !important;
  background:#fffefe !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-details--compact .pos-getir-cancel-summary{
  min-height:28px !important;
  padding:5px 8px !important;
  justify-content:flex-start !important;
  font-size:.58rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-details--compact .pos-getir-reject-form{
  grid-template-columns:1fr !important;
  gap:5px !important;
  padding:6px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-details--compact .pos-getir-cancel-select,
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-details--compact .pos-getir-cancel-note{
  min-height:30px !important;
  font-size:.62rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-details--compact .pos-getir-cancel-note{
  max-height:58px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-details--compact .pos-getir-action-btn.is-danger{
  min-height:32px !important;
  height:32px !important;
  padding:5px 8px !important;
  font-size:.66rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-cashier-actions{
  position:sticky !important;
  bottom:0 !important;
  z-index:90 !important;
  margin-top:0 !important;
  padding:6px 0 calc(6px + env(safe-area-inset-bottom,0px)) !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-cashier-actions .pos-ticket-main-btn{
  min-height:42px !important;
}
@media (max-width:1180px){
  body.pos-layout .pos-ticket-shell--marketplace{
    padding-bottom:calc(104px + env(safe-area-inset-bottom, 0px)) !important;
  }
  body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll{
    max-height:clamp(170px, 30dvh, 280px) !important;
  }
}

/* continue223: POS online orders moved under categories + marketplace urgency tones */
body.pos-layout .pos-marketplace-side-card{
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
}
body.pos-layout .pos-marketplace-side-card.is-hidden{
  display:none !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side{
  width:100% !important;
  max-width:100% !important;
  min-height:0 !important;
  height:auto !important;
  padding:10px !important;
  border-radius:16px !important;
  background:linear-gradient(180deg,#fffef9,#f8faf4) !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side .pos-mini-panel-head{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:flex-start !important;
  gap:2px !important;
  margin-bottom:8px !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side .pos-mini-panel-head span{
  font-size:.78rem !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  color:#68745d !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side .pos-mini-panel-head small{
  font-size:.62rem !important;
  white-space:normal !important;
  line-height:1.25 !important;
  color:#8a8f87 !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side .pos-mini-chip-row{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:7px !important;
  width:100% !important;
  max-width:100% !important;
  overflow:visible !important;
  padding-right:0 !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side .pos-mini-chip--marketplace{
  position:relative !important;
  display:grid !important;
  grid-template-columns:1fr !important;
  justify-items:stretch !important;
  align-items:start !important;
  gap:2px !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  min-height:74px !important;
  padding:10px 9px !important;
  border-radius:14px !important;
  text-align:left !important;
  line-height:1.18 !important;
  text-decoration:none !important;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side .pos-mini-chip--marketplace:hover{
  transform:translateY(-1px) !important;
  box-shadow:0 10px 24px rgba(28,34,22,.10) !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side .pos-mini-chip--marketplace strong{
  min-width:0 !important;
  font-size:.76rem !important;
  font-weight:900 !important;
  color:inherit !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side .pos-mini-chip--marketplace span{
  min-width:0 !important;
  font-size:.72rem !important;
  font-weight:700 !important;
  color:inherit !important;
  opacity:.86 !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side .pos-mini-chip--marketplace small{
  min-width:0 !important;
  font-size:.68rem !important;
  font-weight:800 !important;
  color:inherit !important;
  opacity:.82 !important;
  white-space:normal !important;
}
body.pos-layout .pos-mini-chip--marketplace .pos-mini-chip-status{
  justify-self:start !important;
  display:inline-flex !important;
  align-items:center !important;
  max-width:100% !important;
  margin-top:4px !important;
  padding:3px 7px !important;
  border-radius:999px !important;
  font-size:.62rem !important;
  line-height:1 !important;
  font-weight:900 !important;
  font-style:normal !important;
  letter-spacing:.01em !important;
  background:rgba(255,255,255,.72) !important;
  color:inherit !important;
  border:1px solid rgba(255,255,255,.35) !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side .pos-mini-chip--marketplace.is-normal{
  color:#27301f !important;
  border-color:rgba(139,155,121,.28) !important;
  background:linear-gradient(180deg,#fffef9,#f8fbf3) !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side .pos-mini-chip--marketplace.is-progress{
  color:#fff !important;
  border-color:rgba(43,95,54,.56) !important;
  background:linear-gradient(135deg,#2f6c42,#234f33) !important;
  box-shadow:0 12px 24px rgba(35,79,51,.20) !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side .pos-mini-chip--marketplace.is-late{
  color:#7d2626 !important;
  border-color:rgba(201,70,70,.34) !important;
  background:linear-gradient(180deg,#fff3f3,#ffe7e7) !important;
  box-shadow:0 10px 22px rgba(201,70,70,.12) !important;
}
body.pos-layout .pos-category-column .pos-mini-panel--marketplace-side .pos-mini-chip--marketplace.is-late .pos-mini-chip-status{
  background:rgba(255,255,255,.82) !important;
  border-color:rgba(201,70,70,.18) !important;
}
@media (max-width:991.98px){
  body.pos-layout .pos-marketplace-side-card{
    grid-column:1 / -1 !important;
  }
}

/* continue224: POS online orders side card height/overflow fix
   The marketplace card now lives inside the category grid. Older generic
   .panel-card.pos-mini-panel rules forced a fixed 118px height + overflow:hidden,
   which clipped marketplace order chips. Override with matching specificity. */
body.pos-layout .pos-category-column .panel-card.panel-card-soft.pos-mini-panel.pos-mini-panel--marketplace-side{
  height:auto !important;
  min-height:unset !important;
  max-height:none !important;
  overflow:visible !important;
  flex:0 0 auto !important;
}
body.pos-layout .pos-category-column .panel-card.panel-card-soft.pos-mini-panel.pos-mini-panel--marketplace-side .pos-mini-chip-row{
  flex:0 0 auto !important;
  min-height:0 !important;
  max-height:clamp(148px, 28dvh, 280px) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding-right:2px !important;
}
body.pos-layout .pos-category-column .panel-card.panel-card-soft.pos-mini-panel.pos-mini-panel--marketplace-side .pos-mini-chip--marketplace{
  min-height:84px !important;
  overflow:visible !important;
}
body.pos-layout .pos-category-column .panel-card.panel-card-soft.pos-mini-panel.pos-mini-panel--marketplace-side .pos-mini-chip-row::-webkit-scrollbar{
  width:6px !important;
}
body.pos-layout .pos-category-column .panel-card.panel-card-soft.pos-mini-panel.pos-mini-panel--marketplace-side .pos-mini-chip-row::-webkit-scrollbar-thumb{
  background:rgba(79,90,66,.22) !important;
  border-radius:999px !important;
}

/* continue226: POS marketplace right panel repolish + left panel status/category cards */
body.pos-layout .pos-category-column{
  display:flex !important;
  flex-direction:column !important;
  gap:10px !important;
  min-width:0 !important;
}
body.pos-layout .pos-side-card-head{
  display:flex !important;
  align-items:flex-start !important;
  justify-content:space-between !important;
  gap:8px !important;
  margin-bottom:8px !important;
}
body.pos-layout .pos-side-card-head span{
  font-size:.72rem !important;
  font-weight:950 !important;
  letter-spacing:.08em !important;
  color:#68745d !important;
  text-transform:uppercase !important;
}
body.pos-layout .pos-side-card-head small{
  font-size:.62rem !important;
  font-weight:800 !important;
  color:#8b9287 !important;
  white-space:nowrap !important;
}
body.pos-layout .pos-panel-status-card,
body.pos-layout .pos-category-group-card{
  width:100% !important;
  max-width:100% !important;
  padding:10px !important;
  border-radius:18px !important;
  background:rgba(255,255,255,.78) !important;
  border:1px solid rgba(79,90,66,.10) !important;
  box-shadow:0 12px 28px rgba(32,34,27,.045) !important;
  min-width:0 !important;
}
body.pos-layout .pos-panel-status-list{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:6px !important;
}
body.pos-layout .pos-panel-status-item{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:6px !important;
  min-width:0 !important;
  padding:6px !important;
  border-radius:13px !important;
  border:1px solid rgba(79,90,66,.10) !important;
  background:rgba(247,246,236,.68) !important;
}
body.pos-layout .pos-panel-status-item.is-open{
  background:linear-gradient(135deg,rgba(230,244,231,.92),rgba(247,246,236,.76)) !important;
  border-color:rgba(47,108,66,.20) !important;
}
body.pos-layout .pos-panel-status-item.is-closed{
  background:linear-gradient(135deg,rgba(255,239,239,.90),rgba(247,246,236,.72)) !important;
  border-color:rgba(194,65,65,.18) !important;
}
body.pos-layout .pos-panel-status-copy{
  display:grid !important;
  grid-template-columns:9px minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:6px !important;
  min-width:0 !important;
  text-decoration:none !important;
  color:#26301f !important;
}
body.pos-layout .pos-panel-status-dot{
  width:8px !important;
  height:8px !important;
  border-radius:999px !important;
  background:#c84242 !important;
  box-shadow:0 0 0 4px rgba(200,66,66,.10) !important;
}
body.pos-layout .pos-panel-status-item.is-open .pos-panel-status-dot{
  background:#2f7d45 !important;
  box-shadow:0 0 0 4px rgba(47,125,69,.11) !important;
}
body.pos-layout .pos-panel-status-copy strong{
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  font-size:.72rem !important;
  font-weight:950 !important;
}
body.pos-layout .pos-panel-status-copy small{
  font-size:.58rem !important;
  font-weight:900 !important;
  color:#68745d !important;
  white-space:nowrap !important;
}
body.pos-layout .pos-panel-status-toggle{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:24px !important;
  min-width:50px !important;
  padding:3px 8px !important;
  border-radius:999px !important;
  border:1px solid rgba(79,90,66,.12) !important;
  background:#fff !important;
  color:#4f5a42 !important;
  font-size:.58rem !important;
  font-weight:950 !important;
  line-height:1 !important;
  text-decoration:none !important;
  white-space:nowrap !important;
}
body.pos-layout .pos-panel-status-toggle.is-open{
  color:#fff !important;
  border-color:#2f7d45 !important;
  background:#2f7d45 !important;
}
body.pos-layout .pos-panel-status-toggle.is-close{
  color:#7d2626 !important;
  border-color:rgba(194,65,65,.22) !important;
  background:#fff5f5 !important;
}
body.pos-layout .pos-panel-status-toggle.is-manage{
  color:#66705e !important;
  background:rgba(255,255,255,.72) !important;
}
body.pos-layout .pos-category-card-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:8px !important;
  min-width:0 !important;
}
body.pos-layout .pos-category-group-card .pos-category-card{
  min-height:62px !important;
  padding:9px 8px !important;
  border-radius:14px !important;
  box-shadow:0 7px 16px rgba(17,24,39,.035) !important;
}
body.pos-layout .pos-category-group-card .pos-category-name{
  font-size:.86rem !important;
  line-height:1.08 !important;
}

body.pos-layout .pos-ticket-shell--marketplace{
  height:calc(100dvh - 18px) !important;
  min-height:0 !important;
  max-height:calc(100dvh - 18px) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding:8px 8px calc(84px + env(safe-area-inset-bottom,0px)) !important;
  scrollbar-gutter:stable !important;
}
body.pos-layout .pos-ticket-shell--marketplace::-webkit-scrollbar{width:7px !important;}
body.pos-layout .pos-ticket-shell--marketplace::-webkit-scrollbar-thumb{background:rgba(79,90,66,.24) !important;border-radius:999px !important;}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-summary-grid--cashier{
  gap:5px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-summary-card--hero{
  min-height:46px !important;
  padding:8px 10px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-marketplace-discount-summary{
  margin-top:5px !important;
  gap:4px !important;
  padding:7px 8px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block{
  margin-top:7px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--orders{
  flex:0 0 auto !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll{
  max-height:clamp(180px, 33dvh, 330px) !important;
  min-height:110px !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line,
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line-main,
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line-copy,
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line-title-row,
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line-option-note,
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line-option-note span{
  min-width:0 !important;
  max-width:100% !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line-title-row{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  align-items:start !important;
  gap:6px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line-title{
  flex-basis:auto !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line-price{
  justify-self:end !important;
  white-space:nowrap !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line-option-note{
  display:grid !important;
  grid-template-columns:14px minmax(0,1fr) !important;
  align-items:start !important;
  overflow:hidden !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-line-option-note span em{
  display:block !important;
  max-width:100% !important;
  white-space:normal !important;
  overflow-wrap:anywhere !important;
  word-break:normal !important;
  line-height:1.16 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--payments{
  flex:0 0 auto !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--getir-status-bottom{
  flex:0 0 auto !important;
  max-height:none !important;
  overflow:visible !important;
  padding:7px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-block--getir-status-bottom .pos-ticket-block-head{
  grid-template-columns:minmax(0,1fr) auto !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-flow--simple{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-flow--simple span{
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
  padding-inline:4px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-actions--clean{
  max-height:none !important;
  overflow:visible !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-note--compact{
  align-items:flex-start !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-note--compact span{
  overflow-wrap:anywhere !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-status-note--compact small{
  max-width:36% !important;
  flex:0 0 auto !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-details--compact{
  order:10 !important;
  width:100% !important;
  min-width:0 !important;
  margin-top:2px !important;
  border:1px solid rgba(201,70,70,.16) !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-details--compact .pos-getir-cancel-summary{
  display:flex !important;
  width:100% !important;
  min-width:0 !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:6px !important;
  overflow:hidden !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-details--compact .pos-getir-cancel-summary span{
  min-width:0 !important;
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-getir-cancel-details--compact .pos-getir-cancel-summary small{
  flex:0 0 auto !important;
  white-space:nowrap !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-cashier-actions{
  position:sticky !important;
  bottom:-1px !important;
  z-index:120 !important;
  margin-top:6px !important;
  padding:6px 0 calc(8px + env(safe-area-inset-bottom,0px)) !important;
  background:linear-gradient(180deg,rgba(247,246,236,0),rgba(247,246,236,.96) 28%,rgba(247,246,236,1)) !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-main-btn{
  min-height:42px !important;
  height:42px !important;
  border-radius:15px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-main-btn span{
  overflow:hidden !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
@media (max-width:1180px){
  body.pos-layout .pos-ticket-shell--marketplace{
    height:calc(100dvh - 8px) !important;
    max-height:calc(100dvh - 8px) !important;
  }
  body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll{
    max-height:clamp(145px, 28dvh, 260px) !important;
  }
}


/* continue255: POS panel provider rows unified + lighter category typography */
body.pos-layout .pos-panel-status-card{
  padding:8px 9px !important;
}
body.pos-layout .pos-panel-status-card .pos-side-card-head{
  margin-bottom:6px !important;
}
body.pos-layout .pos-panel-status-card .pos-side-card-head small{
  font-size:.58rem !important;
  font-weight:650 !important;
}
body.pos-layout .pos-panel-status-list{
  gap:5px !important;
}
body.pos-layout .pos-panel-status-item{
  grid-template-columns:minmax(0,1fr) auto !important;
  padding:5px 6px !important;
  min-height:34px !important;
  overflow:hidden !important;
}
body.pos-layout .pos-panel-status-copy{
  grid-template-columns:minmax(0,1fr) !important;
  gap:0 !important;
}
body.pos-layout .pos-panel-status-dot,
body.pos-layout .pos-panel-provider-badge,
body.pos-layout .pos-panel-status-badge{
  display:none !important;
}
body.pos-layout .pos-panel-status-copy strong{
  font-size:.68rem !important;
  font-weight:650 !important;
  letter-spacing:0 !important;
}
body.pos-layout .pos-panel-status-copy small{
  display:none !important;
}
body.pos-layout .pos-panel-status-toggle{
  min-width:40px !important;
  min-height:22px !important;
  padding:2px 7px !important;
  font-size:.56rem !important;
  font-weight:650 !important;
}
body.pos-layout .pos-category-group-card .pos-category-name,
body.pos-layout .pos-category-card.pos-category-card--name-only .pos-category-name{
  font-weight:500 !important;
  letter-spacing:0 !important;
}
body.pos-layout .pos-category-group-card .pos-category-card{
  box-shadow:0 5px 12px rgba(17,24,39,.025) !important;
}
@media (max-width:1280px){
  body.pos-layout .pos-category-group-card .pos-category-name,
  body.pos-layout .pos-category-card.pos-category-card--name-only .pos-category-name{
    font-size:.82rem !important;
    font-weight:500 !important;
    line-height:1.05 !important;
  }
}


/* continue257: POS panel restaurant switches - no text, green on / red off */
body.pos-layout .pos-panel-status-card .pos-side-card-head small{
  display:none !important;
}
body.pos-layout .pos-panel-status-item{
  grid-template-columns:minmax(0,1fr) auto !important;
}
body.pos-layout .pos-panel-status-copy{
  pointer-events:none !important;
}
body.pos-layout .pos-panel-status-copy strong{
  font-weight:650 !important;
  max-width:100% !important;
}
body.pos-layout .pos-panel-status-switch{
  position:relative !important;
  display:inline-flex !important;
  align-items:center !important;
  width:42px !important;
  height:24px !important;
  min-width:42px !important;
  padding:0 !important;
  border-radius:999px !important;
  border:1px solid transparent !important;
  background:#d84b4b !important;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.18), 0 3px 8px rgba(216,75,75,.12) !important;
  cursor:pointer !important;
  overflow:hidden !important;
  text-indent:-9999px !important;
  appearance:none !important;
  -webkit-appearance:none !important;
}
body.pos-layout .pos-panel-status-switch > span{
  position:absolute !important;
  top:3px !important;
  left:3px !important;
  width:18px !important;
  height:18px !important;
  border-radius:50% !important;
  background:#fff !important;
  box-shadow:0 2px 6px rgba(0,0,0,.22) !important;
  transition:transform .16s ease !important;
}
body.pos-layout .pos-panel-status-switch.is-on{
  background:#18864b !important;
  border-color:rgba(24,134,75,.28) !important;
  box-shadow:inset 0 1px 3px rgba(0,0,0,.16), 0 3px 8px rgba(24,134,75,.14) !important;
}
body.pos-layout .pos-panel-status-switch.is-on > span{
  transform:translateX(18px) !important;
}
body.pos-layout .pos-panel-status-switch.is-off{
  background:#d84b4b !important;
  border-color:rgba(216,75,75,.28) !important;
}
body.pos-layout .pos-panel-status-switch.is-disabled{
  opacity:.58 !important;
  cursor:not-allowed !important;
  pointer-events:none !important;
}
body.pos-layout .pos-panel-status-toggle{
  display:none !important;
}


/* continue258: POS panel switch ajax feedback */
body.pos-layout .pos-panel-status-switch.is-busy{
  opacity: .68 !important;
  cursor: wait !important;
  pointer-events: none !important;
}
body.pos-layout .pos-panel-status-switch.is-busy > span{
  box-shadow:0 0 0 3px rgba(255,255,255,.48), 0 2px 6px rgba(0,0,0,.22) !important;
}

/* continue259: POS ticket line readability on 13-inch screens */
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line{
  padding: 12px 14px !important;
  border-radius: 20px !important;
  background: rgba(255,255,250,.72) !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-main{
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  grid-template-areas:
    "copy copy"
    "price actions" !important;
  gap: 10px 12px !important;
  align-items: center !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-copy{
  grid-area: copy !important;
  min-width: 0 !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-title-row{
  display: block !important;
  margin-bottom: 6px !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-title{
  display: block !important;
  flex: none !important;
  font-size: 1.08rem !important;
  line-height: 1.28 !important;
  font-weight: 650 !important;
  letter-spacing: -.01em !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-meta,
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-note{
  font-size: .9rem !important;
  line-height: 1.25 !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-price{
  grid-area: price !important;
  justify-self: start !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  text-align: left !important;
  font-size: 1.15rem !important;
  line-height: 1.1 !important;
  font-weight: 780 !important;
  white-space: nowrap !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-row-actions{
  grid-area: actions !important;
  justify-self: end !important;
  margin-left: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: max-content !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-row-icon{
  width: 38px !important;
  height: 38px !important;
  border-radius: 14px !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-qty-input{
  width: 56px !important;
  min-width: 56px !important;
  height: 38px !important;
  font-size: 1rem !important;
}
body.pos-layout .pos-ticket-line-option-note{
  margin-top: 8px !important;
  padding: 8px 10px !important;
  font-size: .82rem !important;
  line-height: 1.25 !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier .pos-ticket-line-main{
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  grid-template-areas:
    "copy copy"
    "price actions" !important;
  gap: 8px 10px !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier .pos-ticket-line-title{
  font-size: .98rem !important;
  line-height: 1.22 !important;
  flex-basis: auto !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier .pos-ticket-line-meta,
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier .pos-ticket-line-note{
  font-size: .78rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-order-list--cashier .pos-ticket-line-price{
  min-width: 0 !important;
  font-size: 1rem !important;
}
body.pos-layout .pos-ticket-shell--marketplace .pos-ticket-row-icon{
  width: 34px !important;
  height: 34px !important;
}
@media (max-width: 1320px){
  body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line{
    padding: 11px 12px !important;
  }
  body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-title{
    font-size: 1rem !important;
  }
  body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-meta,
  body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-note{
    font-size: .84rem !important;
  }
  body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-price{
    font-size: 1.08rem !important;
  }
}

/* continue260: POS cashier ticket density and inline quantity controls */
body.pos-layout .pos-ticket-shell--cashier{
  gap:5px !important;
  padding:8px !important;
}
body.pos-layout .pos-ticket-summary-grid.pos-ticket-summary-grid--cashier{
  margin:0 0 4px !important;
  gap:4px !important;
  padding-top:0 !important;
  padding-bottom:0 !important;
}
body.pos-layout .pos-ticket-summary-card--hero{
  min-height:76px !important;
  padding:8px 10px !important;
  border-radius:20px !important;
}
body.pos-layout .pos-ticket-summary-card--hero .pos-ticket-summary-value{
  font-size:clamp(1.82rem,2.45vw,2.22rem) !important;
}
body.pos-layout .pos-ticket-block--compact,
body.pos-layout .pos-ticket-block{
  padding:10px 12px !important;
  border-radius:20px !important;
}
body.pos-layout .pos-ticket-block + .pos-ticket-block{
  margin-top:5px !important;
}
body.pos-layout .pos-ticket-block-head{
  padding:0 2px 6px !important;
  margin-bottom:6px !important;
}
body.pos-layout .pos-ticket-block--orders{
  min-height:0 !important;
}
body.pos-layout .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll{
  min-height:126px !important;
  padding-right:4px !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line{
  padding:9px 10px !important;
  border-radius:16px !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-main{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) auto !important;
  grid-template-areas:
    "copy copy"
    "price actions" !important;
  gap:5px 8px !important;
  align-items:center !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-title-row{
  margin-bottom:3px !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-title{
  font-size:.95rem !important;
  line-height:1.16 !important;
  font-weight:650 !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-meta,
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-note{
  font-size:.78rem !important;
  line-height:1.18 !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-price{
  font-size:.98rem !important;
  line-height:1.05 !important;
  font-weight:750 !important;
  align-self:center !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-row-actions{
  gap:4px !important;
  align-items:center !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-row-icon{
  width:28px !important;
  height:28px !important;
  min-width:28px !important;
  border-radius:10px !important;
  padding:0 !important;
  font-size:.8rem !important;
}
body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-qty-input{
  width:38px !important;
  min-width:38px !important;
  height:28px !important;
  border-radius:10px !important;
  padding:0 4px !important;
  font-size:.84rem !important;
  font-weight:650 !important;
  text-align:center !important;
}
body.pos-layout .pos-ticket-line-option-note{
  margin-top:5px !important;
  padding:6px 8px !important;
  border-radius:12px !important;
  font-size:.74rem !important;
  line-height:1.16 !important;
}
body.pos-layout .pos-ticket-block--payments{
  flex:0 0 auto !important;
}
body.pos-layout .pos-ticket-block--payments .pos-ticket-section-title{
  font-size:.98rem !important;
}
body.pos-layout .pos-cashier-actions{
  margin-top:5px !important;
  padding-top:5px !important;
}
body.pos-layout .pos-ticket-main-btn{
  min-height:52px !important;
  font-size:1rem !important;
  border-radius:18px !important;
}
@media (max-width:1320px){
  body.pos-layout .pos-ticket-shell--cashier{
    gap:4px !important;
    padding:7px !important;
  }
  body.pos-layout .pos-ticket-summary-card--hero{
    min-height:70px !important;
    padding:7px 9px !important;
  }
  body.pos-layout .pos-ticket-block--compact,
  body.pos-layout .pos-ticket-block{
    padding:9px 10px !important;
  }
  body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line{
    padding:8px 9px !important;
  }
  body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-title{
    font-size:.9rem !important;
  }
  body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-line-row-actions{
    gap:3px !important;
  }
  body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-row-icon{
    width:26px !important;
    height:26px !important;
    min-width:26px !important;
  }
  body.pos-layout .pos-ticket-order-list--cashier .pos-ticket-qty-input{
    width:34px !important;
    min-width:34px !important;
    height:26px !important;
    font-size:.8rem !important;
  }
}

/* continue261: hide empty payments card and let orders breathe */
body.pos-layout .pos-ticket-shell--cashier.pos-ticket-shell--no-payments .pos-ticket-block--orders{
  flex:1 1 auto !important;
  min-height:220px !important;
}
body.pos-layout .pos-ticket-shell--cashier.pos-ticket-shell--no-payments .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll{
  min-height:230px !important;
  max-height:none !important;
}
body.pos-layout .pos-ticket-shell--cashier.pos-ticket-shell--no-payments .pos-ticket-block--orders .pos-ticket-block-head{
  margin-bottom:8px !important;
}
@media (max-width:1320px){
  body.pos-layout .pos-ticket-shell--cashier.pos-ticket-shell--no-payments .pos-ticket-block--orders{
    min-height:250px !important;
  }
  body.pos-layout .pos-ticket-shell--cashier.pos-ticket-shell--no-payments .pos-ticket-order-list--cashier.pos-ticket-order-list--inner-scroll{
    min-height:260px !important;
  }
}
