/* ALDHAMEN 6.6.51 - clean consolidated UI
   Replaces the legacy stacked CSS bundles. */
:root{
  --ald-cream:#fff8ea;--ald-cream-2:#f7efe3;--ald-surface:#ffffff;--ald-surface-2:#fbf7f1;
  --ald-wine:#722a26;--ald-wine-2:#5f211e;--ald-green:#4f6a58;--ald-green-2:#405749;
  --ald-ink:#2c2420;--ald-muted:#786a62;--ald-line:#e5d9cc;--ald-soft:#f2e7dd;
  --ald-red:#9a3832;--ald-amber:#9b6b25;--ald-blue:#356d84;--ald-shadow:0 12px 34px rgba(62,41,32,.09);
  --ald-shadow-sm:0 5px 18px rgba(62,41,32,.07);--ald-radius:18px;--ald-radius-sm:12px;
  --ald-sidebar:246px;--ald-top:72px;--ald-max:1540px;
}
*{box-sizing:border-box}html{min-height:100%;scroll-behavior:smooth}body{margin:0;min-height:100%;background:var(--ald-cream-2);color:var(--ald-ink);font-family:"Tajawal",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;line-height:1.5;overflow-x:hidden;overflow-y:auto!important}
body.ald-scroll-locked{overflow:hidden!important}body:not(.ald-scroll-locked){position:static!important;height:auto!important;max-height:none!important}
button,input,select,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}form{margin:0}h1,h2,h3,h4,p{margin-top:0}small{color:var(--ald-muted)}
input,select,textarea{width:100%;min-height:46px;border:1px solid var(--ald-line);border-radius:11px;background:#fff;padding:10px 12px;outline:0;transition:border-color .18s,box-shadow .18s,background .18s}textarea{min-height:96px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:rgba(114,42,38,.55);box-shadow:0 0 0 3px rgba(114,42,38,.1)}
label{display:grid;gap:6px;font-weight:600;color:#4a3d37}label>span,label>small{font-weight:500}table{width:100%;border-collapse:separate;border-spacing:0}th{font-size:12px;color:var(--ald-muted);font-weight:700;text-align:start;background:#faf6f0}td,th{padding:12px;border-bottom:1px solid var(--ald-line);vertical-align:top}
button,.admin-primary-btn,.admin-secondary-btn,.a6-page-action,.menu50-primary,.menu50-soft,.menu50-filter-button,.p6617-primary,.p6617-secondary{border:0;border-radius:11px;min-height:42px;padding:9px 15px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:transform .15s,box-shadow .15s,background .15s,color .15s}
button:active,.admin-primary-btn:active,.admin-secondary-btn:active{transform:translateY(1px)}
.admin-primary-btn,.menu50-primary,.p6617-primary{background:var(--ald-wine);color:#fff;box-shadow:0 5px 14px rgba(114,42,38,.16)}
.admin-primary-btn:hover,.menu50-primary:hover,.p6617-primary:hover{background:var(--ald-wine-2)}
.admin-secondary-btn,.menu50-soft,.p6617-secondary{background:#fff;border:1px solid var(--ald-line);color:var(--ald-ink)}
.admin-secondary-btn:hover,.menu50-soft:hover,.p6617-secondary:hover{background:var(--ald-soft)}
.admin-danger-btn,.danger,[class*="delete"] button{background:#fff1ef;color:#8d302b;border:1px solid #efc9c5}
[hidden]{display:none!important}

/* shared cards / panels */
.admin-panel,.admin-card,.a6-panel,.p6617-card,.printing-connection-card,.menu50-table-card,.menu50-modifiers-card,.category-item,.offer-row,.staff-order-card,.order-detail-card,.customer-account-panel,.customer-order-card,.success-card,.reward-hub-card,.rewards-panel{background:var(--ald-surface);border:1px solid var(--ald-line);border-radius:var(--ald-radius);box-shadow:var(--ald-shadow-sm)}
.panel-head,.a6-panel>header,.a6612-table-title,.menu50-section-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:18px}.panel-head h2,.a6-panel h2,.menu50-section-title h3{margin:0;color:var(--ald-ink);font-size:20px}.panel-head small,.a6-panel header small,.menu50-section-title small{display:block;margin-bottom:3px;letter-spacing:.08em;font-size:10px;font-weight:800;color:var(--ald-wine)}
.pill{display:inline-flex;align-items:center;justify-content:center;min-width:31px;height:31px;border-radius:999px;background:var(--ald-soft);color:var(--ald-wine);font-weight:800;padding:0 10px}

/* admin shell */
.a6-admin{min-height:100vh;display:grid;grid-template-columns:var(--ald-sidebar) minmax(0,1fr);background:var(--ald-cream-2)}
.a6-admin-sidebar{position:sticky;top:0;height:100vh;overflow:auto;background:linear-gradient(180deg,var(--ald-wine-2),#4e1b19);color:#fff;padding:18px 13px;z-index:30;border-inline-end:1px solid rgba(255,255,255,.08)}
.a6-admin-brand{display:flex;align-items:center;gap:11px;padding:7px 9px 18px;border-bottom:1px solid rgba(255,255,255,.13)}.a6-admin-brand img{width:38px;height:38px;object-fit:contain;background:#fff;border-radius:11px;padding:4px}.a6-admin-brand strong{display:block;letter-spacing:.07em}.a6-admin-brand small{color:#e8cfc8;font-size:10px}
.a6-admin-nav{display:grid;gap:4px;padding:12px 0}.a6-nav-label{color:#cfaeaa!important;font-size:9px!important;letter-spacing:.12em;font-weight:800;padding:12px 10px 5px}.a6-admin-nav a,.a640-mobile-admin-nav a{min-height:43px;display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:8px;padding:7px 10px;border-radius:10px;color:#f8eae6}.a6-admin-nav a span,.a640-mobile-admin-nav a span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:rgba(255,255,255,.08)}.a6-admin-nav a b,.a640-mobile-admin-nav a b{font-size:13px;font-weight:700}.a6-admin-nav a:hover,.a6-admin-nav a.active{background:#fff;color:var(--ald-wine)}.a6-admin-nav a.active span{background:var(--ald-soft)}
.a6-admin-bottom{margin-top:auto;display:grid;gap:5px;border-top:1px solid rgba(255,255,255,.12);padding-top:12px}.a6-admin-bottom>a,.a6-admin-bottom button{width:100%;justify-content:flex-start;background:transparent;color:#f6e7e3;padding:9px;border-radius:9px}.a6-admin-bottom button{border:0}.a6-admin-bottom>a:hover,.a6-admin-bottom button:hover{background:rgba(255,255,255,.08)}
.a6-admin-content{min-width:0;max-width:none;padding:0 26px 44px}.a6-admin-topbar{height:var(--ald-top);display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;background:rgba(247,239,227,.92);backdrop-filter:blur(14px);z-index:22;border-bottom:1px solid rgba(229,217,204,.85)}
.a6-global-search{width:min(430px,40vw);position:relative}.a6-global-search span{position:absolute;inset-inline-start:13px;top:50%;transform:translateY(-50%);color:var(--ald-muted)}.a6-global-search input{padding-inline-start:38px;background:#fff}.a6-admin-actions{display:flex;align-items:center;gap:10px}.a6-icon-btn{width:40px;height:40px;display:grid;place-items:center;border:1px solid var(--ald-line);background:#fff;border-radius:10px;font-weight:800}.a6-profile{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--ald-line);border-radius:12px;padding:5px 9px}.a6-avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--ald-wine);color:#fff;font-weight:800}.a6-profile b,.a6-profile small{display:block;line-height:1.15}.a6-profile b{font-size:12px}.a6-profile small{font-size:9px}.a6-menu-toggle{display:none;background:var(--ald-wine);color:#fff;width:42px;padding:0}
.a6-page-title{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;padding:25px 0 18px}.a6-page-title h1{font-size:27px;margin:0}.a6-page-title p{margin:5px 0 0;color:var(--ald-muted)}.a6-page-action{background:#fff;border:1px solid var(--ald-line)}

/* dashboard */
.a6-dashboard{display:grid;gap:18px}.a6-dashboard>*{min-width:0}.a6-kpi-grid,.fin46-kpis,.a65-report-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.a6-kpi,.fin46-kpis>div,.a65-report-kpi{background:#fff;border:1px solid var(--ald-line);border-radius:16px;padding:16px;min-width:0}.a6-kpi small,.fin46-kpis small{display:block}.a6-kpi strong,.fin46-kpis b{display:block;font-size:24px;margin:5px 0;color:var(--ald-ink)}.a6-kpi em,.fin46-kpis em{font-size:11px;color:var(--ald-muted);font-style:normal}.a65-kpi-art{width:38px;height:38px;object-fit:contain;float:inline-end}
.a6-dashboard-grid{display:grid;gap:16px}.a6-dashboard-grid-top{grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr)}.a6-dashboard-grid-bottom{grid-template-columns:minmax(0,1.5fr) minmax(280px,.7fr)}.a6-panel{padding:18px}.a6-chart-wrap{min-height:260px}.a6-sales-chart{width:100%;height:220px;overflow:visible}.a6-sales-chart line{stroke:#eadfd5;stroke-width:.35}.a6-chart-labels{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.a6-chart-labels span{text-align:center}.a6-chart-labels b,.a6-chart-labels small{display:block;font-size:10px}.a6-top-list,.a6-notification-list,.fin46-log,.fin46-z-list{display:grid;gap:8px}.a6-top-list>div,.a6-notification-list>a,.fin46-log>div,.fin46-z-list>div{display:flex;align-items:center;gap:10px;border:1px solid var(--ald-line);border-radius:12px;padding:10px;background:#fff}.a6-top-list img{width:42px;height:42px;border-radius:10px;object-fit:cover}.a6-top-list span,.a6-notification-list span,.fin46-log span,.fin46-z-list span{min-width:0;flex:1}.a6-top-list b,.a6-top-list small,.a6-notification-list b,.a6-notification-list small{display:block}.a6-order-table{overflow:auto;border:1px solid var(--ald-line);border-radius:12px}.a6-order-head,.a6-order-table>a{display:grid;grid-template-columns:80px minmax(140px,1fr) 100px 100px 120px;gap:8px;align-items:center;padding:11px 13px;min-width:640px}.a6-order-head{background:#faf6f0;color:var(--ald-muted);font-size:11px;font-weight:700}.a6-order-table>a{border-top:1px solid var(--ald-line)}
.fin46-panel{padding:18px}.fin46-branch-grid,.fin46-audit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}.fin46-branch-card{border:1px solid var(--ald-line);border-radius:15px;padding:14px;background:#fff}.fin46-branch-stats,.fin46-shift-cash{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.fin46-branch-stats>span,.fin46-shift-cash>span{background:var(--ald-surface-2);border-radius:10px;padding:9px}.fin46-alert{background:#fff0ed!important;border-color:#edc4bf!important}.fin46-neg{color:var(--ald-red)}.a6618-dashboard-exports{display:flex;gap:8px;flex-wrap:wrap}.a6615-windows-app-card{display:grid;grid-template-columns:70px 1fr auto;align-items:center;gap:15px;padding:17px;background:#fff;border:1px solid var(--ald-line);border-radius:16px}.a6615-windows-app-card img{width:60px;height:60px;object-fit:contain}.a6615-windows-actions{display:flex;gap:8px;flex-wrap:wrap}.a6615-windows-actions a,.a6615-windows-actions button{background:var(--ald-wine);color:#fff;border-radius:10px;padding:9px 12px;font-weight:800;border:0}

/* 6.6.51 range toolbar */
.range51-toolbar{background:#fff;border:1px solid var(--ald-line);border-radius:16px;padding:12px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;box-shadow:var(--ald-shadow-sm)}.range51-toolbar .range51-presets{display:flex;gap:6px;flex-wrap:wrap}.range51-toolbar a{padding:8px 11px;border-radius:9px;border:1px solid var(--ald-line);background:#fff;font-size:12px;font-weight:800}.range51-toolbar a.active{background:var(--ald-wine);border-color:var(--ald-wine);color:#fff}.range51-custom{display:flex;align-items:end;gap:7px;flex-wrap:wrap;margin-inline-start:auto}.range51-custom label{font-size:10px}.range51-custom input{min-height:38px;padding:6px 9px}.range51-custom button{min-height:38px;background:var(--ald-green);color:#fff}.range51-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}.range51-summary>article{background:#fff;border:1px solid var(--ald-line);border-radius:14px;padding:14px}.range51-summary small{display:block}.range51-summary strong{font-size:21px;display:block;margin:4px 0}.range51-summary em{font-style:normal;font-size:10px;color:var(--ald-muted)}.range51-positive{color:var(--ald-green)}.range51-negative{color:var(--ald-red)}

/* catalog / product management */
.menu50-shell{display:grid;gap:15px}.menu50-header,.menu50-actions,.menu50-section-title{display:flex;align-items:center;justify-content:space-between;gap:14px}.menu50-header h2{font-size:25px;margin:0}.menu50-header p{margin:3px 0 0;color:var(--ald-muted)}.menu50-breadcrumb{font-size:11px;color:var(--ald-muted)}.menu50-actions>div{display:flex;gap:7px}.menu50-filters{display:grid;grid-template-columns:minmax(260px,1.8fr) repeat(3,minmax(130px,.8fr)) auto;gap:8px;background:#fff;border:1px solid var(--ald-line);border-radius:15px;padding:11px}.menu50-search{position:relative}.menu50-search span{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%)}.menu50-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.menu50-kpis article{background:#fff;border:1px solid var(--ald-line);border-radius:14px;padding:13px;display:flex;align-items:center;gap:10px}.kpi-icon{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:var(--ald-soft);color:var(--ald-wine)}.kpi-icon.green{background:#edf4ef;color:var(--ald-green)}.kpi-icon.amber{background:#fff4e2;color:var(--ald-amber)}.kpi-icon.violet{background:#f3eef8;color:#725986}.menu50-kpis small,.menu50-kpis strong,.menu50-kpis em{display:block}.menu50-kpis strong{font-size:20px}.menu50-kpis em{font-size:9px;color:var(--ald-muted);font-style:normal}
.menu50-table-card{overflow:hidden}.menu50-table-head,.menu50-row{display:grid;grid-template-columns:minmax(230px,1.7fr) minmax(110px,.8fr) 90px 120px 70px 110px 145px;align-items:center;gap:8px;padding:11px 14px}.menu50-table-head{background:#faf6f0;color:var(--ald-muted);font-size:11px;font-weight:700}.menu50-row{border-top:1px solid var(--ald-line);min-height:72px}.menu50-row:hover{background:#fffaf4}.menu50-product-cell{display:flex;align-items:center;gap:10px;min-width:0}.menu50-product-cell img{width:48px;height:48px;border-radius:11px;object-fit:cover;background:var(--ald-soft)}.menu50-product-cell b,.menu50-product-cell small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.menu50-product-cell small{font-size:10px}.menu50-price-cell small{display:block}.menu50-state{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;background:#edf5ef;color:var(--ald-green);font-size:11px;font-weight:800}.menu50-state.off{background:#fff0ee;color:var(--ald-red)}.menu50-state i{width:7px;height:7px;border-radius:50%;background:currentColor}.menu50-star{font-size:20px;color:#c9bdb2}.menu50-star.on{color:#b38627}.menu50-order-cell,.menu50-actions-cell,.sort-buttons{display:flex;align-items:center;gap:6px}.drag-handle{cursor:grab;color:var(--ald-muted);font-weight:800}.sort-buttons button{min-height:30px;padding:4px 7px;background:#fff;border:1px solid var(--ald-line);font-size:10px}.menu50-edit{padding:7px 10px;background:var(--ald-wine);color:#fff;border-radius:8px;font-weight:800;font-size:11px}.menu50-table-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 14px;border-top:1px solid var(--ald-line);background:#faf6f0}.menu50-table-footer label{display:flex;align-items:center;gap:7px}.menu50-table-footer select{width:auto;min-height:35px}.menu50-pagination{display:flex;gap:5px}.menu50-pagination button{min-height:32px;padding:4px 9px;background:#fff;border:1px solid var(--ald-line)}.menu50-modifiers-card{padding:17px}.preset-create-v49,.preset-editor-card-v49{border:1px solid var(--ald-line);border-radius:13px;background:#fff;overflow:hidden}.preset-create-v49>summary,.preset-card-head-v49{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px}.preset-create-v49>summary::-webkit-details-marker,.preset-card-head-v49::-webkit-details-marker{display:none}.preset-library-grid-v49{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.preset-meta-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:12px}.product-options-admin{margin:0 12px 12px;border:1px solid var(--ald-line);border-radius:12px;background:var(--ald-surface-2);padding:12px;min-width:0}.builder-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:10px}.options-builder-list{display:grid;gap:10px;min-width:0}.options-builder-list>*{min-width:0}.options-builder-list input,.options-builder-list select{min-width:0}.add-option-group{background:var(--ald-green);color:#fff}.preset-editor-card form>.admin-primary-btn{margin:0 12px 12px}.preset-delete-form{padding:0 12px 12px}
.menu51-categories-hub{background:#fff;border:1px solid var(--ald-line);border-radius:var(--ald-radius);box-shadow:var(--ald-shadow-sm);overflow:hidden}.menu51-categories-hub>summary{list-style:none;cursor:pointer;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;font-weight:800}.menu51-categories-hub>summary::-webkit-details-marker{display:none}.menu51-categories-body{padding:0 18px 18px}.category-editor{display:grid;grid-template-columns:1fr 1fr 1fr 130px auto auto;gap:9px;align-items:end;padding:13px;background:var(--ald-surface-2);border:1px solid var(--ald-line);border-radius:13px}.category-active,.check-label{display:flex!important;align-items:center;gap:8px;min-height:46px}.category-active input,.check-label input{width:18px;height:18px;min-height:18px}.category-list{display:grid;gap:8px;margin-top:10px}.category-item{padding:10px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center}.category-row-form{display:grid;grid-template-columns:1fr 1fr 1fr 100px auto auto;gap:8px;align-items:end}.category-drag-tools{display:flex;align-items:center;gap:5px}.category-delete-form button{min-height:38px}

/* product editor */
.p6617{background:var(--ald-cream-2);min-height:100vh}.p6617-main{max-width:1320px;margin:0 auto;padding:22px}.p6617-topbar{position:sticky;top:0;z-index:20;background:rgba(247,239,227,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--ald-line);display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 22px}.p6617-back{background:#fff;border:1px solid var(--ald-line);padding:8px 12px;border-radius:10px;font-weight:800}.p6617-title-wrap h1{margin:0;font-size:24px}.p6617-form{display:grid;gap:14px}.p6617-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.65fr);gap:14px}.p6617-card{padding:17px;min-width:0}.p6617-card-wide{grid-column:1/-1}.p6617-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;border-bottom:1px solid var(--ald-line);padding-bottom:12px;margin-bottom:14px}.p6617-card-head h2{margin:0;font-size:18px}.p6617-card-head .p6617-id{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:var(--ald-soft);color:var(--ald-wine);font-weight:800}.p6617-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.p6617-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.p6617-switches label{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--ald-surface-2);border:1px solid var(--ald-line);border-radius:12px;padding:12px}.p6617-switches input[type=checkbox]{width:44px;min-height:24px;height:24px;accent-color:var(--ald-green)}.p6617-image-card{display:grid;gap:11px}.p6617-image-picker,.product-image-picker{border:2px dashed #d8c9bb;border-radius:14px;min-height:180px;display:grid;place-items:center;background:#fdf9f4;overflow:hidden}.product-upload-preview{max-height:260px;width:100%;object-fit:contain}.p6617-options{overflow:visible}.p6617-options .product-options-admin{margin:0}.p6617-danger-zone{border-color:#edc9c6;background:#fff7f6}.p6617-mobile-save{display:none}

/* POS */
.a6-pos,.pos23-shell{min-height:100vh;background:var(--ald-cream-2)}.a6-pos{display:grid;grid-template-columns:210px minmax(0,1fr)}.a6-pos-sidebar{background:var(--ald-wine-2);color:#fff;padding:15px;display:flex;flex-direction:column;gap:13px;min-height:100vh}.a6-pos-brand{display:flex;align-items:center;gap:9px}.a6-pos-brand img{width:38px;height:38px;background:#fff;border-radius:10px;padding:4px}.a6-pos-sidebar a,.a6-pos-sidebar button{background:rgba(255,255,255,.08);color:#fff;border:0;border-radius:10px;padding:10px}.a6-pos-main{min-width:0;padding:0 18px 24px}.a6-pos-topbar,.pos23-topbar{min-height:67px;display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:18;background:rgba(247,239,227,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--ald-line)}.a6-pos-workspace,.pos23-menu{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,360px);gap:15px;align-items:start}.a6-pos-catalog{min-width:0}.a6-pos-search-row{display:flex;gap:8px;padding:14px 0}.pos23-categories{display:flex;gap:7px;overflow:auto;padding:2px 0 10px;scrollbar-width:none}.pos23-categories button{white-space:nowrap;background:#fff;border:1px solid var(--ald-line);color:var(--ald-ink)}.pos23-categories button.active{background:var(--ald-wine);color:#fff;border-color:var(--ald-wine)}.pos23-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.pos23-product{background:#fff;border:1px solid var(--ald-line);border-radius:14px;padding:9px;display:grid;gap:8px;min-width:0;box-shadow:var(--ald-shadow-sm)}.pos23-product:hover{transform:translateY(-1px);box-shadow:var(--ald-shadow)}.pos23-image{aspect-ratio:1/1;border-radius:11px;overflow:hidden;background:var(--ald-soft)}.pos23-image img{width:100%;height:100%;object-fit:cover}.pos23-product-main b,.pos23-product-main small{display:block}.pos23-price{font-weight:900;color:var(--ald-wine)}.a6-pos-cart,.pos23-cart{position:sticky;top:80px;background:#fff;border:1px solid var(--ald-line);border-radius:16px;box-shadow:var(--ald-shadow);overflow:hidden;max-height:calc(100vh - 98px);display:flex;flex-direction:column}.pos23-cart-head{padding:13px 14px;border-bottom:1px solid var(--ald-line);display:flex;justify-content:space-between;align-items:center}.pos23-cart-scroll,.pos23-cart-items{overflow:auto;overscroll-behavior:contain}.pos23-cart-scroll{padding:12px}.pos23-cart-items{display:grid;gap:8px;max-height:36vh}.pos23-summary,.a6-pos-totals{padding:12px;border-top:1px solid var(--ald-line)}.pos23-submit{width:100%;background:var(--ald-wine);color:#fff;font-size:16px;min-height:50px}.pos24-payment-options,.pos44-methods{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.pos24-payment-options label,.pos44-methods button{border:1px solid var(--ald-line);background:#fff;border-radius:10px;padding:9px;text-align:center}.pos44-recent{margin:12px 0;background:#fff;border:1px solid var(--ald-line);border-radius:15px;padding:12px}.pos44-recent-list{display:flex;gap:8px;overflow:auto}.pos44-order-card{min-width:220px;border:1px solid var(--ald-line);border-radius:11px;padding:9px;background:var(--ald-surface-2)}.pos23-options-modal,.pos26-branch-modal,.modal-backdrop,[data-ald-overlay]{position:fixed;inset:0;z-index:1000;background:rgba(31,23,20,.55);display:none;align-items:center;justify-content:center;padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom));overflow:auto}.pos23-options-modal:not([hidden]),.pos26-branch-modal:not([hidden]),.modal-backdrop:not([hidden]),[data-ald-overlay]:not([hidden]){display:flex}.pos23-options-card,.pos26-branch-card,.ald-product-popup-card{width:min(680px,100%);max-height:min(82vh,760px);overflow:auto;background:#fff;border-radius:18px;padding:17px;box-shadow:0 24px 70px rgba(0,0,0,.28)}

/* kitchen KDS */
.a6-kitchen{min-height:100vh;background:#ede8e2}.a6-kitchen-layout{display:grid;grid-template-columns:220px minmax(0,1fr);min-height:100vh}.a6-kitchen-sidebar{background:linear-gradient(180deg,#55201d,#3c1715);color:#fff;padding:15px 12px;display:flex;flex-direction:column;gap:14px;position:sticky;top:0;height:100vh;overflow:auto}.a6-kitchen-brand{display:flex;align-items:center;gap:10px;padding:4px 6px 14px;border-bottom:1px solid rgba(255,255,255,.12)}.a6-kitchen-brand img{width:42px;height:42px;object-fit:contain;background:#fff;border-radius:11px;padding:4px}.a6-kitchen-brand strong,.a6-kitchen-brand small{display:block}.a6-kitchen-brand small{color:#dfc7c3}.a6-kitchen-sidebar nav{display:grid;gap:6px}.a6-kitchen-sidebar .filter{display:grid;grid-template-columns:28px 1fr auto;align-items:center;gap:7px;background:rgba(255,255,255,.07);color:#f9eeec;border:0;padding:9px 10px;text-align:start}.a6-kitchen-sidebar .filter.active{background:#fff;color:var(--ald-wine)}.a6-kitchen-sidebar .filter em{font-style:normal;background:rgba(255,255,255,.13);border-radius:999px;padding:2px 7px}.a6-kitchen-sidebar .filter.active em{background:var(--ald-soft)}.a6-kitchen-shift{margin-top:auto;border-top:1px solid rgba(255,255,255,.12);padding-top:12px}.a6-kitchen-shift input,.a6-kitchen-shift select{background:rgba(255,255,255,.95)}.a6-kitchen-side-bottom{display:grid;grid-template-columns:repeat(3,1fr);gap:5px}.a6-kitchen-side-bottom a,.a6-kitchen-side-bottom button{background:rgba(255,255,255,.08);color:#fff;padding:8px;border:0;border-radius:9px;font-size:11px}.a6-kitchen-workspace{min-width:0;padding:16px 18px 30px}.a6-kitchen-topbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:4px 0 14px}.a6-kitchen-topbar small{color:var(--ald-wine);font-weight:800}.a6-kitchen-topbar h1{margin:2px 0 0;font-size:26px}.a6-kitchen-live{display:flex;align-items:center;gap:7px}.a6-kitchen-live i{width:9px;height:9px;background:#54a46b;border-radius:50%;box-shadow:0 0 0 5px rgba(84,164,107,.14)}.a6-kitchen-live button{background:#fff;border:1px solid var(--ald-line)}.a6-kitchen-pills{display:none;gap:6px;overflow:auto;margin-bottom:10px}.a6-kitchen-pills button{white-space:nowrap;background:#fff;border:1px solid var(--ald-line)}.a6-kitchen-pills button.active{background:var(--ald-wine);color:#fff}.kitchen-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}.order-card{background:#fff;border:1px solid #d9cec5;border-top:5px solid #b6a79b;border-radius:15px;overflow:hidden;box-shadow:0 5px 16px rgba(44,36,32,.07);min-width:0}.order-card.status-new{border-top-color:#aa5e35}.order-card.status-preparing{border-top-color:#ba8a2d}.order-card.status-ready{border-top-color:var(--ald-green)}.order-card.urgent-ready{box-shadow:0 0 0 3px rgba(79,106,88,.18),0 8px 24px rgba(44,36,32,.1)}.order-card-top,.customer-line,.fulfillment-box,.car-box{display:flex;justify-content:space-between;gap:9px;align-items:flex-start}.order-card-top{padding:12px 13px 8px}.order-card-top strong{font-size:24px;color:var(--ald-wine)}.order-card-top small{display:block;font-size:10px}.order-badges{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}.status-badge,.source-badge,.arrival-badge{border-radius:999px;padding:4px 8px;font-size:9px;font-weight:900}.status-badge.status-new{background:#fff0e6;color:#8d4b27}.status-badge.status-preparing{background:#fff7df;color:#86631c}.status-badge.status-ready{background:#eaf4ed;color:var(--ald-green)}.source-jahez{background:#f4efe3;color:#705d34}.source-keeta{background:#fff1e5;color:#a35b21}.a6-ticket-meta{display:flex;justify-content:space-between;padding:0 13px 9px;color:var(--ald-muted);font-size:11px}.customer-line{padding:11px 13px;border-top:1px solid var(--ald-line);border-bottom:1px solid var(--ald-line);background:#fffaf5}.customer-line h2{margin:0;font-size:17px}.customer-line p{margin:2px 0 0;font-size:11px;color:var(--ald-muted)}.customer-line>b{white-space:nowrap;color:var(--ald-wine)}.kitchen-items{padding:10px 13px;display:grid;gap:8px}.kitchen-items>div{display:grid;grid-template-columns:30px 1fr;gap:7px}.kitchen-items>div>b{color:var(--ald-wine);font-size:14px}.kitchen-items span{font-weight:700}.kitchen-items small{display:block;font-weight:500;font-size:10px;line-height:1.35}.fulfillment-box,.car-box,.delivery-box,.note-box{margin:0 13px 9px;padding:9px;border-radius:10px;background:#f7f2ec;border:1px solid var(--ald-line)}.fulfillment-box>div,.car-box>div{min-width:0}.fulfillment-box small,.fulfillment-box strong,.car-box small,.car-box strong,.delivery-box small,.delivery-box strong{display:block}.note-box p{margin:2px 0 0}.kitchen-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:10px 13px 13px}.kitchen-actions form{display:contents}.kitchen-actions button,.kitchen-actions a{min-height:42px;border-radius:10px;font-weight:900;display:flex;align-items:center;justify-content:center;text-align:center}.action-details{background:#f3ece5;color:var(--ald-ink)}.action-preparing{background:#a66d28;color:#fff}.action-ready-only{background:var(--ald-green);color:#fff}.action-complete{background:var(--ald-wine);color:#fff}.kitchen-empty{display:grid;place-items:center;text-align:center;min-height:55vh;color:var(--ald-muted)}.kitchen-empty img{width:76px}.shift-live-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.shift-live-stats>div{background:rgba(255,255,255,.08);border-radius:8px;padding:6px}.shift-live-stats small{color:#ddc9c5}.shift-close-box{margin-top:7px}.shift-close-box summary{cursor:pointer;font-weight:700}.shift-close-box form{display:grid;gap:7px;margin-top:7px}.shift-close-box button,.shift-open-form button{background:#fff;color:var(--ald-wine)}

/* staff orders + order detail */
.staff-orders-page,.order-detail-page{max-width:1240px;margin:0 auto;padding:22px}.staff-orders-head,.order-detail-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.staff-filter-tabs{display:flex;gap:7px;overflow:auto;margin-bottom:12px}.staff-filter-tabs a{padding:8px 11px;background:#fff;border:1px solid var(--ald-line);border-radius:9px;white-space:nowrap;font-weight:800}.staff-filter-tabs a.active{background:var(--ald-wine);color:#fff;border-color:var(--ald-wine)}.staff-order-list{display:grid;gap:9px}.staff-order-card{padding:13px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}.staff-order-top,.staff-order-meta,.staff-order-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.staff-status{padding:4px 8px;border-radius:999px;background:var(--ald-soft);font-size:10px;font-weight:800}.staff-order-total{font-size:18px;color:var(--ald-wine);font-weight:900}.staff-order-actions a,.staff-order-actions button{background:#fff;border:1px solid var(--ald-line);min-height:36px;padding:6px 9px}
.order-detail-card{padding:18px}.order-detail-brand{display:flex;align-items:center;gap:10px}.order-detail-brand img{width:48px;height:48px;object-fit:contain}.detail-status-row{display:flex;gap:6px;flex-wrap:wrap}.detail-status{padding:5px 9px;border-radius:999px;background:var(--ald-soft);font-weight:900;font-size:10px}.detail-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);gap:14px}.detail-main{display:grid;gap:12px}.order-items-detail{display:grid;gap:8px}.detail-line{display:grid;grid-template-columns:50px minmax(0,1fr) 90px;gap:10px;align-items:start;border:1px solid var(--ald-line);border-radius:11px;padding:10px;background:#fff}.detail-total{display:flex;justify-content:space-between;align-items:center;border-top:2px solid var(--ald-ink);padding-top:12px;font-size:18px;font-weight:900}.car-detail-box,.delivery-detail-box,.receipt-detail-box,.detail-notes,.admin-note{border:1px solid var(--ald-line);background:var(--ald-surface-2);border-radius:12px;padding:11px}.detail-status-actions,.payment-status-actions,.detail-ready-actions,.order-detail-actions{display:flex;gap:7px;flex-wrap:wrap}.detail-status-actions form,.payment-status-actions form{display:inline-flex}.detail-status-actions button,.payment-status-actions button,.detail-ready-actions button{background:#fff;border:1px solid var(--ald-line)}.detail-status-actions button.active{background:var(--ald-green);color:#fff;border-color:var(--ald-green)}.detail-status-actions button.danger{margin-inline-start:auto;background:#fff3f1;color:var(--ald-red);border-color:#edc7c4}.order-detail-actions{margin-top:12px;justify-content:flex-end}

/* admin reports/settings generic */
.a65-report-shell,.a6613-finance-grid,.a6613-month-grid,.admin-dashboard-grid,.backup-settings-grid,.branch-settings,.printing-simple-grid,.sound-settings-grid,.rewards-settings-grid,.color-editor-grid,.account-permissions-form,.offer-editor,.featured-admin-grid,.featured-admin-form{display:grid;gap:12px}.a65-report-columns,.a6613-finance-grid,.printing-simple-grid,.featured-admin-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.a65-report-panel,.a65-report-settings,.a6613-expenses-card,.a6613-monthly-card,.a6613-profit-card,.printing-recent-card{padding:17px}.a6613-table-scroll,.a65-report-orders,.admin-orders-list,.print-job-list{overflow:auto}.a6613-finance-table,.a6613-daily-table,.a65-report-orders table{min-width:760px}.branch-settings,.rewards-settings-grid,.color-editor-grid,.offer-editor,.featured-admin-form{grid-template-columns:repeat(2,minmax(0,1fr))}.wide{grid-column:1/-1}.printing-switch{display:flex!important;grid-template-columns:auto 1fr;align-items:center;gap:10px;background:#fff;border:1px solid var(--ald-line);border-radius:12px;padding:11px}.printing-switch input{width:20px;height:20px;min-height:20px}.printing-simple-fields,.printing-copy-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.printing-copy-row{grid-template-columns:minmax(0,1fr) auto;align-items:end}.printing-connection-state{border-radius:12px;padding:11px;background:#fff4e4;color:#7e5c21}.printing-connection-state.ok{background:#ecf5ee;color:var(--ald-green)}.print-job-row{display:grid;grid-template-columns:minmax(100px,1fr) 100px 140px minmax(120px,1fr) auto;gap:8px;align-items:center;border-bottom:1px solid var(--ald-line);padding:10px 0}.print-job-status{padding:4px 8px;border-radius:999px;background:var(--ald-soft);font-size:10px;font-weight:800;text-align:center}.print-job-status.printed{background:#edf5ef;color:var(--ald-green)}.print-job-status.failed{background:#fff0ee;color:var(--ald-red)}.print-job-status.pending,.print-job-status.claimed{background:#fff6df;color:var(--ald-amber)}.admin-orders-list{display:grid;gap:8px}.admin-invoice-row{display:grid;grid-template-columns:minmax(180px,1.2fr) minmax(120px,.8fr) minmax(130px,.8fr) minmax(100px,.6fr);gap:10px;align-items:center;background:#fff;border:1px solid var(--ald-line);border-radius:12px;padding:11px}.admin-invoice-row.is-cancelled{opacity:.67}.cancelled-order-stamp{color:var(--ald-red)}

/* customer site */
.site,.customer-account-page,.customer-orders-page,.customer-auth-page,.success,.rewards-page,.reward-hub,.auth-page{min-height:100vh;background:var(--ald-cream)}.header,.nx-customer-header,.customer-account-top,.customer-orders-top,.rewards-topbar,.reward-hub-header,.success-brand{max-width:1180px;margin:0 auto;padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand,.success-brand,.reward-hub-brand{display:flex;align-items:center;gap:9px}.brand img,.success-brand img,.reward-hub-brand img,.customer-logo-home-link img{width:48px;height:48px;object-fit:contain}.order-layout,.nx-account-shell,.nx-orders-shell,.nx-rewards-shell,.reward-hub-body,.customer-auth-card,.auth-card,.success-card{max-width:1180px;margin:0 auto}.order-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.65fr);gap:15px;padding:14px 18px 35px}.menu-panel,.nx-menu-panel,.cart-panel,.nx-cart-panel{background:#fff;border:1px solid var(--ald-line);border-radius:18px;box-shadow:var(--ald-shadow-sm)}.menu-panel{padding:14px}.menu-tools{display:flex;gap:8px;align-items:center}.menu-search{flex:1}.categories{display:flex;gap:7px;overflow:auto;padding:10px 0}.categories button,.categories a{white-space:nowrap;padding:8px 11px;background:#fff;border:1px solid var(--ald-line);border-radius:999px;font-weight:800}.categories .active{background:var(--ald-wine);color:#fff}.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.product{background:#fff;border:1px solid var(--ald-line);border-radius:14px;overflow:hidden;box-shadow:var(--ald-shadow-sm);min-width:0}.product-image{aspect-ratio:1.1/1;overflow:hidden;background:var(--ald-soft)}.product-image img{width:100%;height:100%;object-fit:cover}.product-body{padding:11px}.product-body h3{margin:0 0 4px;font-size:15px}.product-desc{font-size:11px;color:var(--ald-muted);min-height:32px}.product-price{font-weight:900;color:var(--ald-wine)}.offer-badge,.sold-out-badge{position:absolute;margin:8px;padding:4px 7px;border-radius:999px;font-size:9px;font-weight:900}.offer-badge{background:var(--ald-wine);color:#fff}.sold-out-badge{background:#4b403b;color:#fff}.cart-panel{position:sticky;top:14px;max-height:calc(100vh - 28px);display:flex;flex-direction:column;overflow:hidden}.cart-title{display:flex;justify-content:space-between;padding:13px;border-bottom:1px solid var(--ald-line)}.customer-cart-scroll{overflow:auto;padding:12px}.mobile-cart-button{display:none;position:fixed;inset-inline:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:90;background:var(--ald-wine);color:#fff;min-height:52px;border-radius:14px;box-shadow:0 12px 30px rgba(114,42,38,.25)}.image-zoom-modal,.inline-order-overlay,.customer-cart-backdrop,.staff-cart-backdrop{position:fixed;inset:0;background:rgba(40,29,25,.58);z-index:1000;padding:14px;align-items:center;justify-content:center;overflow:auto}.image-zoom-modal:not([hidden]),.inline-order-overlay:not([hidden]),.customer-cart-backdrop:not([hidden]),.staff-cart-backdrop:not([hidden]){display:flex}.image-zoom-card,.inline-order-card{width:min(650px,100%);max-height:85vh;overflow:auto;background:#fff;border-radius:18px;padding:17px}.customer-account-shell,.customer-orders-shell,.rewards-shell,.reward-hub-body{padding:16px 18px 36px}.customer-account-kpis,.customer-order-kpis,.reward-hub-grid,.reward-customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.customer-account-kpis>*,.customer-order-kpis>*{background:#fff;border:1px solid var(--ald-line);border-radius:13px;padding:12px}.customer-order-cards{display:grid;gap:9px}.customer-order-card{padding:12px}.customer-auth-card,.auth-card,.success-card{width:min(560px,calc(100% - 28px));padding:22px;margin-top:7vh}.customer-auth-card form,.auth-card form{display:grid;gap:10px}.customer-auth-primary{background:var(--ald-wine);color:#fff}.customer-auth-secondary{background:#fff;border:1px solid var(--ald-line)}.reward-hub-hero,.rewards-balance-card,.birthday-gift-card,.game-promo{background:linear-gradient(135deg,var(--ald-wine),#8d403a);color:#fff;border-radius:20px;padding:20px}.reward-hub-hero small,.rewards-balance-card small{color:#efdcd7}

/* generic responsive safety */
.global-page-tools{position:fixed;z-index:70;bottom:max(10px,env(safe-area-inset-bottom));inset-inline-end:10px;display:flex;gap:6px}.global-page-tools a,.global-page-tools button{background:#fff;border:1px solid var(--ald-line);box-shadow:var(--ald-shadow-sm);padding:7px 10px;border-radius:9px}.global-toast-stack{z-index:2500!important}.a640-mobile-admin-menu{z-index:2100}.a640-mobile-admin-menu:not([hidden]){display:flex!important;align-items:stretch;justify-content:flex-start}.a640-mobile-admin-menu>nav,.a640-mobile-admin-menu-head{width:min(360px,90vw);background:#fff}.a640-mobile-admin-menu-head{padding:14px;display:flex;justify-content:space-between}.a640-mobile-admin-nav{padding:10px;overflow:auto}.a640-mobile-admin-nav a{color:var(--ald-ink);grid-template-columns:28px 1fr}.a640-mobile-admin-nav a.active{background:var(--ald-soft);color:var(--ald-wine)}

@media(max-width:1180px){
  :root{--ald-sidebar:215px}.a6-admin-content{padding-inline:18px}.a6-kpi-grid,.fin46-kpis,.range51-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.pos23-products{grid-template-columns:repeat(3,minmax(0,1fr))}.kitchen-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.menu50-table-head,.menu50-row{grid-template-columns:minmax(220px,1.6fr) 110px 80px 110px 60px 90px 120px;font-size:11px}.category-editor,.category-row-form{grid-template-columns:repeat(3,minmax(0,1fr))}.category-active,.category-editor button,.category-row-form button{align-self:end}
}
@media(max-width:900px){
  .a6-admin{display:block}.a6-admin-sidebar{display:none}.a6-admin-content{padding:0 14px 36px}.a6-menu-toggle{display:inline-flex}.a6-global-search{width:min(420px,60vw)}.a6-profile>div,.a6-profile>span:last-child{display:none}.a6-profile{padding:4px}.a6-page-title{padding-top:17px}.a6-dashboard-grid-top,.a6-dashboard-grid-bottom,.fin46-branch-grid,.fin46-audit-grid,.a65-report-columns,.a6613-finance-grid,.printing-simple-grid,.featured-admin-grid{grid-template-columns:1fr}.a6-kpi-grid,.fin46-kpis,.range51-summary,.menu50-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.a6615-windows-app-card{grid-template-columns:55px 1fr}.a6615-windows-actions{grid-column:1/-1}.menu50-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.menu50-search{grid-column:1/-1}.menu50-table-card{overflow:auto}.menu50-table-head,.menu50-row{min-width:850px}.preset-library-grid-v49{grid-template-columns:1fr}.p6617-grid{grid-template-columns:1fr}.p6617-card-wide{grid-column:auto}.p6617-summary{grid-template-columns:1fr}.a6-pos{display:block}.a6-pos-sidebar{display:none}.a6-pos-main{padding:0 12px 20px}.a6-pos-workspace,.pos23-menu{grid-template-columns:1fr}.a6-pos-cart,.pos23-cart{position:relative;top:auto;max-height:none}.pos23-products{grid-template-columns:repeat(3,minmax(0,1fr))}.a6-kitchen-layout{display:block}.a6-kitchen-sidebar{display:none}.a6-kitchen-workspace{padding:12px}.a6-kitchen-pills{display:flex}.kitchen-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:1fr}.order-layout{grid-template-columns:1fr}.cart-panel{position:relative;top:auto;max-height:none}.products{grid-template-columns:repeat(3,minmax(0,1fr))}.mobile-cart-button{display:flex}.customer-account-kpis,.customer-order-kpis,.reward-hub-grid,.reward-customer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.branch-settings,.rewards-settings-grid,.color-editor-grid,.offer-editor,.featured-admin-form{grid-template-columns:1fr}.wide{grid-column:auto}
}
@media(max-width:620px){
  body{font-size:14px}.a6-admin-content{padding-inline:10px}.a6-admin-topbar{height:60px;gap:7px}.a6-global-search{flex:1;width:auto}.a6-global-search input{min-height:40px}.a6-admin-actions{gap:5px}.a6-icon-btn{width:38px;height:38px}.a6-profile{display:none}.a6-page-title{align-items:flex-start;flex-direction:column;gap:9px}.a6-page-title h1{font-size:23px}.a6-page-action{width:100%}.a6-kpi-grid,.fin46-kpis,.range51-summary,.menu50-kpis{grid-template-columns:1fr 1fr}.a6-kpi strong,.fin46-kpis b{font-size:20px}.range51-toolbar{align-items:stretch}.range51-presets{width:100%;display:grid!important;grid-template-columns:repeat(3,1fr)}.range51-toolbar a{text-align:center}.range51-custom{margin:0;width:100%;display:grid;grid-template-columns:1fr 1fr}.range51-custom button{grid-column:1/-1}.a6618-dashboard-exports>*{flex:1 1 100%}.a6615-windows-app-card{grid-template-columns:45px 1fr}.a6615-windows-app-card img{width:42px;height:42px}.a6615-windows-actions a,.a6615-windows-actions button{flex:1}.menu50-header,.menu50-actions,.menu50-section-title{align-items:flex-start;flex-direction:column}.menu50-actions>div,.menu50-actions>a{width:100%}.menu50-actions>div>*{flex:1}.menu50-filters{grid-template-columns:1fr}.menu50-search{grid-column:auto}.menu50-kpis article{padding:10px}.menu50-table-head,.menu50-row{min-width:780px}.preset-meta-grid,.p6617-switches{grid-template-columns:1fr}.category-editor,.category-row-form{grid-template-columns:1fr}.category-item{grid-template-columns:1fr}.category-drag-tools{justify-content:flex-end}.p6617-main{padding:10px}.p6617-topbar{padding:9px 10px}.p6617-title-wrap h1{font-size:19px}.p6617-card{padding:13px}.p6617-mobile-save{display:flex;position:sticky;bottom:max(8px,env(safe-area-inset-bottom));z-index:20}.pos23-products{grid-template-columns:repeat(2,minmax(0,1fr))}.pos23-product{padding:7px}.pos44-recent-list{padding-bottom:3px}.kitchen-grid{grid-template-columns:1fr}.a6-kitchen-topbar h1{font-size:22px}.order-card-top strong{font-size:21px}.kitchen-actions{grid-template-columns:1fr 1fr}.staff-orders-page,.order-detail-page{padding:10px}.staff-orders-head,.order-detail-head{align-items:flex-start;flex-direction:column}.staff-order-card{grid-template-columns:1fr}.detail-line{grid-template-columns:36px 1fr auto}.detail-status-actions,.payment-status-actions{display:grid;grid-template-columns:1fr 1fr}.detail-status-actions form,.payment-status-actions form{display:contents}.detail-status-actions button,.payment-status-actions button{width:100%}.order-layout{padding:10px 10px 80px}.header,.nx-customer-header,.customer-account-top,.customer-orders-top,.rewards-topbar,.reward-hub-header,.success-brand{padding-inline:11px}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.product-body{padding:8px}.product-desc{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.customer-account-shell,.customer-orders-shell,.rewards-shell,.reward-hub-body{padding:10px 10px 30px}.customer-account-kpis,.customer-order-kpis,.reward-hub-grid,.reward-customer-grid{grid-template-columns:1fr}.customer-auth-card,.auth-card,.success-card{width:calc(100% - 20px);margin-top:3vh;padding:16px}.print-job-row{grid-template-columns:1fr auto}.print-job-row>small,.print-job-row>em{grid-column:1/-1}.admin-invoice-row{grid-template-columns:1fr 1fr}.a65-report-orders,.a6613-table-scroll{margin-inline:-8px}.global-page-tools{display:none}
}
@media(max-width:390px){.a6-kpi-grid,.fin46-kpis,.range51-summary,.menu50-kpis{grid-template-columns:1fr}.products,.pos23-products{grid-template-columns:repeat(2,minmax(0,1fr))}.range51-presets{grid-template-columns:repeat(2,1fr)!important}}

/* print */
@media print{.a6-admin-sidebar,.a6-admin-topbar,.a6-page-title,.global-page-tools,.a6-kitchen-sidebar,.a6-kitchen-topbar,.a6-kitchen-pills,.kitchen-actions,button{display:none!important}body{background:#fff!important}.a6-admin,.a6-kitchen-layout{display:block}.a6-admin-content,.a6-kitchen-workspace{padding:0}.admin-panel,.a6-panel,.order-card{box-shadow:none;break-inside:avoid}}
.global-toast-stack{position:fixed;top:max(12px,env(safe-area-inset-top));inset-inline-end:14px;width:min(400px,calc(100vw - 28px));display:grid;gap:7px;pointer-events:none}.global-toast{pointer-events:auto;display:grid;grid-template-columns:34px minmax(0,1fr) 26px;align-items:center;gap:8px;padding:10px;border:1px solid var(--ald-line);background:#fff;color:var(--ald-ink);border-radius:12px;box-shadow:var(--ald-shadow)}.global-toast-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:9px;background:var(--ald-soft);color:var(--ald-wine)}.global-toast b{font-size:12px}.global-toast p{margin:2px 0 0;font-size:10px}.global-toast-close{width:26px;height:26px;min-height:26px;border:0;background:transparent;color:var(--ald-muted);font-size:18px;padding:0}.global-toast.hide{display:none}@media(max-width:620px){.global-toast-stack{inset-inline:8px;width:auto}}

/* 6.6.51 management range + external print refinements */
.range51-chart{height:260px;display:flex;align-items:stretch;gap:7px;padding:18px 4px 4px;overflow-x:auto;scrollbar-width:thin}.range51-bar-cell{min-width:42px;flex:1 0 42px;display:grid;grid-template-rows:1fr auto auto;gap:4px;text-align:center}.range51-bar-track{min-height:180px;border-radius:10px;background:linear-gradient(180deg,rgba(114,42,38,.04),rgba(79,106,88,.07));display:flex;align-items:flex-end;overflow:hidden;border:1px solid var(--ald-line)}.range51-bar-track i{display:block;width:100%;min-height:2px;border-radius:9px 9px 0 0;background:linear-gradient(180deg,var(--ald-wine),#9b5b55);transition:height .25s ease}.range51-bar-cell b{font-size:10px;white-space:nowrap}.range51-bar-cell small{font-size:9px;color:var(--ald-muted)}.range51-breakdown{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-top:12px}.range51-breakdown span{border:1px solid var(--ald-line);border-radius:11px;padding:9px;background:var(--ald-soft)}.range51-breakdown small{display:block;color:var(--ald-muted);font-size:9px}.range51-breakdown b{display:block;margin-top:3px;font-size:13px}.range51-rank{width:30px;height:30px;display:grid;place-items:center;border-radius:9px;background:var(--ald-soft);color:var(--ald-wine);font-weight:900;flex:0 0 30px}.range51-days{margin-inline-start:0}.range51-days label{min-width:92px}.printing-log-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.printing-log-actions form{margin:0}.print51-source{display:inline-flex;padding:2px 6px;border-radius:999px;background:#eee;font-size:9px;font-weight:900;letter-spacing:.04em}.print51-source.src-jahez{background:#fff0f0;color:#a2262d}.print51-source.src-keeta{background:#fff7de;color:#8b6500}.printing-sounds-merged{display:grid;gap:12px}.printing-merged-title{padding:16px 18px 0}.printing-merged-title small{font-size:9px;letter-spacing:.14em;color:var(--ald-wine);font-weight:900}.printing-merged-title h2{margin:3px 0 4px}.printing-merged-title p{margin:0;color:var(--ald-muted);font-size:12px}.printing-sounds-merged>.admin-panel{box-shadow:none;margin:0;border-radius:16px;background:#fff}.menu51-categories-hub{border:1px solid var(--ald-line);border-radius:16px;background:#fff;padding:0;overflow:hidden}.menu51-categories-hub>summary{cursor:pointer;list-style:none;padding:16px 18px;font-weight:900;font-size:15px;background:var(--ald-soft);display:flex;justify-content:space-between;align-items:center}.menu51-categories-hub>summary::-webkit-details-marker{display:none}.menu51-categories-hub>summary:after{content:'⌄';font-size:18px}.menu51-categories-hub[open]>summary:after{transform:rotate(180deg)}.menu51-categories-hub>.admin-panel{margin:0;border:0;border-radius:0;box-shadow:none}
@media(max-width:980px){.range51-breakdown{grid-template-columns:repeat(3,minmax(0,1fr))}.range51-chart{height:230px}.range51-bar-track{min-height:150px}}
@media(max-width:600px){.range51-breakdown{grid-template-columns:repeat(2,minmax(0,1fr))}.range51-chart{height:210px;margin-inline:-6px}.range51-bar-track{min-height:135px}.printing-log-actions{width:100%;justify-content:stretch}.printing-log-actions form{flex:1}.printing-log-actions button{width:100%}}

/* =========================================================
   ALDHAMEN 6.6.52 - dashboard/mobile/report consolidation
   ========================================================= */

/* restore the sales snapshot/report components inside the single consolidated stylesheet */
/* ALDHAMEN 6.6.15 sales snapshot, dashboard and report */
body.page-admin .a6615-sales-board{
  display:grid;gap:11px;margin:0 0 14px;color:#302521
}
body.page-admin .a6615-date-nav{
  direction:ltr;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:10px;
  min-height:94px;padding:12px 15px;border:1px solid rgba(114,42,38,.18);border-radius:14px;
  background:linear-gradient(125deg,#672723 0%,#7b302b 58%,#93433c 100%);box-shadow:0 10px 26px rgba(80,34,30,.14);color:#fff
}
body.page-admin .a6615-date-nav>a{
  display:grid;place-items:center;width:40px;height:40px;border:1px solid rgba(255,255,255,.24);border-radius:11px;
  background:rgba(255,255,255,.09);color:#fff;text-decoration:none;font:500 31px/1 Arial;transition:.15s ease
}
body.page-admin .a6615-date-nav>a:hover{background:#fff;color:#722a26;transform:translateY(-1px)}
body.page-admin .a6615-date-nav>div{text-align:center;min-width:0}
body.page-admin .a6615-date-nav small{display:block;font-size:9px;font-weight:800;letter-spacing:.08em;opacity:.72}
body.page-admin .a6615-date-nav h2{margin:4px 0 2px;color:#fff;font-size:23px;font-weight:800;line-height:1.15}
body.page-admin .a6615-date-nav span{display:block;font-size:9px;font-weight:650;opacity:.76}

body.page-admin .a6615-sales-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.75fr);align-items:stretch;gap:12px}
body.page-admin .a6615-windows-app-card{
  display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:13px;margin:0 0 14px;padding:13px 14px;
  border:1px solid #e5d6cd;border-radius:13px;background:linear-gradient(115deg,#fff 0%,#fffaf5 66%,#f4e5dc 100%);box-shadow:0 7px 20px rgba(77,45,34,.06)
}
body.page-admin .a6615-windows-app-card>img{width:56px;height:56px;border:1px solid #e8d9cf;border-radius:13px;background:#fff;object-fit:contain;padding:5px}
body.page-admin .a6615-windows-app-card small{display:block;color:#9a6b62;font-size:7px;font-weight:900;letter-spacing:.12em}
body.page-admin .a6615-windows-app-card h3{margin:3px 0 2px;color:#402f29;font-size:13px;font-weight:850}
body.page-admin .a6615-windows-app-card p{margin:0;color:#8d7a70;font-size:8.5px;font-weight:600;line-height:1.5}
body.page-admin .a6615-windows-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap}
body.page-admin .a6615-windows-actions :is(a,button){
  display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 11px;border:1px solid #722a26;border-radius:9px;
  background:#722a26;color:#fff;text-decoration:none;font:800 8.5px/1.2 inherit;cursor:pointer
}
body.page-admin .a6615-windows-actions button{background:#fff;color:#722a26}
body.page-admin :is(.a6615-summary-card,.a6615-items-card){
  min-width:0;border:1px solid #eadfd7;border-radius:14px;background:#fff;box-shadow:0 7px 22px rgba(69,45,35,.07);overflow:hidden
}
body.page-admin .a6615-card-title{
  display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:65px;padding:13px 16px;border-bottom:1px solid #eee4dd;background:#fffdfb
}
body.page-admin .a6615-card-title h3{margin:0;color:#3a2c27;font-size:15px;font-weight:800}
body.page-admin .a6615-card-title small{display:block;margin-top:3px;color:#97847a;font-size:8.5px;font-weight:600}
body.page-admin .a6615-card-title>a,body.page-admin .a6615-card-title>span{
  flex:0 0 auto;padding:6px 9px;border-radius:8px;background:#f4e9e3;color:#722a26;text-decoration:none;font-size:8.5px;font-weight:800
}

body.page-admin .a6615-gauges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:18px 14px 12px}
body.page-admin .a6615-metric{display:grid;justify-items:center;align-content:start;min-width:0;text-align:center}
body.page-admin .a6615-gauge{position:relative;display:grid;place-items:center;width:clamp(92px,10vw,132px);aspect-ratio:1}
body.page-admin .a6615-gauge>i{
  position:absolute;inset:0;border-radius:50%;background:conic-gradient(from 225deg,var(--a6615-color) 0 var(--a6615-value),#eee9e5 var(--a6615-value) 75%,transparent 75% 100%);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 8px),#000 0);mask:radial-gradient(farthest-side,transparent calc(100% - 8px),#000 0)
}
body.page-admin .a6615-gauge>strong{position:relative;z-index:1;max-width:84%;color:#3b302b;font-size:18px;font-weight:800;line-height:1.05;white-space:nowrap}
body.page-admin .a6615-gauge>strong em{display:inline;font-size:7px;font-style:normal;color:#8f7d73;font-weight:700}
body.page-admin .a6615-metric>b{margin-top:-4px;color:#4a3b34;font-size:10.5px;font-weight:800}
body.page-admin .a6615-metric>span{margin-top:3px;font-size:9px;font-weight:800;direction:ltr}
body.page-admin .a6615-metric>span.is-up{color:#4b8e32}
body.page-admin .a6615-metric>span.is-down{color:#c24a45}
body.page-admin .a6615-metric>span.is-flat{color:#9a8b83}

body.page-admin .a6615-hourly-head{display:flex;align-items:end;justify-content:space-between;gap:10px;padding:4px 17px 9px}
body.page-admin .a6615-hourly-head h4{margin:0;color:#4b3b35;font-size:10px;font-weight:800}
body.page-admin .a6615-hourly-head span{color:#9b8b81;font-size:7.5px;font-weight:650}
body.page-admin .a6615-hourly-chart{
  position:relative;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));align-items:end;gap:9px;height:210px;padding:15px 17px 17px;
  border-top:1px solid #f1e9e4;background:repeating-linear-gradient(to top,transparent 0,transparent 44px,rgba(113,83,68,.10) 45px)
}
body.page-admin .a6615-hour-column{position:relative;z-index:1;display:grid;grid-template-rows:16px minmax(0,1fr) 16px;align-items:end;gap:4px;height:100%;min-width:0;text-align:center}
body.page-admin .a6615-hour-column>b{overflow:hidden;color:#806f65;font-size:7px;font-weight:750;text-overflow:ellipsis;white-space:nowrap;direction:ltr}
body.page-admin .a6615-hour-column>div{display:flex;align-items:flex-end;justify-content:center;height:100%;min-height:0}
body.page-admin .a6615-hour-column>div span{
  display:block;width:min(34px,72%);min-height:3px;border:1px solid #7f3a34;border-bottom:0;border-radius:5px 5px 1px 1px;
  background:linear-gradient(180deg,rgba(114,42,38,.72),rgba(114,42,38,.23));box-shadow:0 0 0 1px rgba(255,255,255,.18) inset
}
body.page-admin .a6615-hour-column>small{color:#8f7d73;font-size:7.5px;font-weight:700;white-space:nowrap;direction:ltr}

body.page-admin .a6615-items-card{display:flex;flex-direction:column}
body.page-admin .a6615-item-list{display:grid;align-content:start;overflow:auto;max-height:500px;padding:4px 14px 8px}
body.page-admin .a6615-item-row{display:grid;grid-template-columns:45px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:69px;padding:9px 0;border-bottom:1px solid #eee6e0}
body.page-admin .a6615-item-row:last-child{border-bottom:0}
body.page-admin .a6615-item-row img{width:45px;height:45px;border:1px solid #eadfd7;border-radius:50%;background:#fbf5ef;object-fit:contain}
body.page-admin .a6615-item-row span{display:block;min-width:0}
body.page-admin .a6615-item-row span b{display:block;overflow:hidden;color:#44352f;font-size:10.5px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
body.page-admin .a6615-item-row span small{display:block;margin-top:4px;color:#9b8980;font-size:9px;font-weight:700;direction:ltr}
body.page-admin .a6615-item-row>strong{color:#352a25;font-size:11px;font-weight:800;white-space:nowrap;direction:ltr}
body.page-admin .a6615-item-row>strong em{font-size:6.5px;font-style:normal;color:#9a8980}
body.page-admin .a6615-empty{margin:0;padding:24px 8px;color:#9b8980;text-align:center;font-size:10px}

@media(max-width:1020px){
  body.page-admin .a6615-sales-layout{grid-template-columns:minmax(0,1fr)}
  body.page-admin .a6615-item-list{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px;max-height:none}
}
@media(max-width:620px){
  body.page-admin .a6615-sales-board{gap:8px;margin-bottom:10px}
  body.page-admin .a6615-date-nav{grid-template-columns:36px minmax(0,1fr) 36px;min-height:82px;padding:9px 10px;border-radius:12px}
  body.page-admin .a6615-date-nav>a{width:34px;height:34px;border-radius:9px;font-size:26px}
  body.page-admin .a6615-date-nav h2{font-size:17px}
  body.page-admin .a6615-date-nav small,body.page-admin .a6615-date-nav span{font-size:7.5px}
  body.page-admin :is(.a6615-summary-card,.a6615-items-card){border-radius:12px}
  body.page-admin .a6615-windows-app-card{grid-template-columns:47px minmax(0,1fr);gap:10px;margin-bottom:10px;padding:11px;border-radius:11px}
  body.page-admin .a6615-windows-app-card>img{width:45px;height:45px;border-radius:10px}
  body.page-admin .a6615-windows-app-card h3{font-size:11.5px}
  body.page-admin .a6615-windows-app-card p{font-size:7.7px}
  body.page-admin .a6615-windows-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;width:100%}
  body.page-admin .a6615-windows-actions :is(a,button){width:100%;min-height:38px}
  body.page-admin .a6615-card-title{min-height:57px;padding:10px 12px}
  body.page-admin .a6615-card-title h3{font-size:13px}
  body.page-admin .a6615-gauges{gap:2px;padding:13px 5px 9px}
  body.page-admin .a6615-gauge{width:clamp(78px,25vw,103px)}
  body.page-admin .a6615-gauge>i{-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 0);mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 0)}
  body.page-admin .a6615-gauge>strong{font-size:13px}
  body.page-admin .a6615-metric>b{font-size:8.5px}
  body.page-admin .a6615-metric>span{font-size:8px}
  body.page-admin .a6615-hourly-chart{gap:5px;height:177px;padding:13px 9px 12px}
  body.page-admin .a6615-hourly-head{padding:4px 11px 8px}
  body.page-admin .a6615-hour-column>div span{width:min(29px,78%)}
  body.page-admin .a6615-item-list{grid-template-columns:minmax(0,1fr);padding:3px 11px 7px}
  body.page-admin .a6615-item-row{grid-template-columns:42px minmax(0,1fr) auto;min-height:64px;gap:9px}
  body.page-admin .a6615-item-row img{width:42px;height:42px}
}
@media(max-width:380px){
  body.page-admin .a6615-gauge{width:73px}
  body.page-admin .a6615-gauge>strong{font-size:11.5px}
  body.page-admin .a6615-metric>b{font-size:7.8px}
}

/* consolidated report layout */
/* ALDHAMEN 6.6.12, complete 15:00-03:00 business-day reporting. */
body.page-admin.admin-tab-reports .a65-report-toolbar{
  align-items:center!important;
}
body.page-admin.admin-tab-reports .a65-report-toolbar label small{
  display:block!important;
  margin-top:2px!important;
  color:#9b877d!important;
  font-size:8px!important;
}
body.page-admin.admin-tab-reports .a6612-report-toolbar-actions{
  display:flex!important;
  align-items:stretch!important;
  justify-content:flex-end!important;
  gap:9px!important;
  flex-wrap:wrap!important;
}
body.page-admin.admin-tab-reports .a6612-pdf-btn{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:45px!important;
  padding-inline:18px!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
body.page-admin.admin-tab-reports .a6612-report-toolbar-actions .a65-report-email-status{
  min-width:290px!important;
}
body.page-admin.admin-tab-reports .a65-report-kpis{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
body.page-admin.admin-tab-reports .a6612-table-title{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:14px!important;
  margin-bottom:11px!important;
}
body.page-admin.admin-tab-reports .a6612-table-title h3{
  margin:0!important;
}
body.page-admin.admin-tab-reports .a6612-table-title small{
  display:block!important;
  margin-top:3px!important;
  color:#927f75!important;
  font-size:8.5px!important;
}
body.page-admin.admin-tab-reports .a6612-products-sold table,
body.page-admin.admin-tab-reports .a6612-draw-list table{
  min-width:900px!important;
}
body.page-admin.admin-tab-reports .a6612-products-sold td:nth-child(2){
  min-width:220px!important;
}
body.page-admin.admin-tab-reports .a6612-products-sold td small,
body.page-admin.admin-tab-reports .a65-report-orders td small{
  display:block!important;
  margin-top:2px!important;
  color:#9a8980!important;
  font-size:7.5px!important;
}
body.page-admin.admin-tab-reports .a65-report-orders:last-child table{
  min-width:1780px!important;
}
body.page-admin.admin-tab-reports td.a6612-order-items{
  min-width:300px!important;
  max-width:430px!important;
  white-space:normal!important;
  line-height:1.5!important;
}
body.page-admin.admin-tab-reports .a65-report-orders table tbody tr:hover{
  background:#fff8f2!important;
}
@media(max-width:980px){
  body.page-admin.admin-tab-reports .a65-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.page-admin.admin-tab-reports .a6612-report-toolbar-actions{justify-content:stretch!important}
  body.page-admin.admin-tab-reports .a6612-pdf-btn,
  body.page-admin.admin-tab-reports .a6612-report-toolbar-actions .a65-report-email-status{width:100%!important;min-width:0!important}
}
@media(max-width:560px){
  body.page-admin.admin-tab-reports .a65-report-kpis{grid-template-columns:1fr!important}
  body.page-admin.admin-tab-reports .a6612-table-title{align-items:flex-start!important}
}

/* consolidated finance/profit report layout */
/* ALDHAMEN 6.6.13, product cost, expenses and profit/loss reporting. */
body.page-admin.admin-tab-reports .a6613-profit-card,
body.page-admin.admin-tab-reports .a6613-monthly-card,
body.page-admin.admin-tab-reports .a6613-expenses-card{
  overflow:hidden!important;
}
body.page-admin.admin-tab-reports .a6613-profit-card.is-profit,
body.page-admin.admin-tab-reports .a6613-monthly-card.is-profit{border-top:4px solid #3d7b58!important}
body.page-admin.admin-tab-reports .a6613-profit-card.is-loss,
body.page-admin.admin-tab-reports .a6613-monthly-card.is-loss{border-top:4px solid #b83c3c!important}
body.page-admin.admin-tab-reports .a6613-profit-state{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:34px!important;
  padding:6px 12px!important;border-radius:999px!important;background:#e8f4ec!important;color:#286241!important;
  font-size:10px!important;font-weight:900!important;white-space:nowrap!important
}
body.page-admin.admin-tab-reports .is-loss .a6613-profit-state{background:#fdeaea!important;color:#9f2929!important}
body.page-admin.admin-tab-reports .a6613-finance-grid{
  display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:9px!important
}
body.page-admin.admin-tab-reports .a6613-finance-grid>div{
  min-width:0!important;padding:13px!important;border:1px solid #eaded7!important;border-radius:12px!important;background:#fffaf6!important
}
body.page-admin.admin-tab-reports .a6613-finance-grid small,
body.page-admin.admin-tab-reports .a6613-finance-grid em{display:block!important;color:#8b766c!important;font-size:8px!important;font-style:normal!important}
body.page-admin.admin-tab-reports .a6613-finance-grid b{display:block!important;margin:5px 0 3px!important;color:#3c302b!important;font-size:18px!important;line-height:1!important}
body.page-admin.admin-tab-reports .a6613-finance-grid .a6613-net{background:#722a26!important;border-color:#722a26!important}
body.page-admin.admin-tab-reports .a6613-finance-grid .a6613-net small,
body.page-admin.admin-tab-reports .a6613-finance-grid .a6613-net em{color:#f1dcd4!important}
body.page-admin.admin-tab-reports .a6613-finance-grid .a6613-net b{color:#fff!important}
body.page-admin.admin-tab-reports .is-loss .a6613-finance-grid .a6613-net{background:#a12d2d!important;border-color:#a12d2d!important}
body.page-admin.admin-tab-reports .a6613-profit-formula{
  display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important;margin-top:10px!important;
  padding:9px 12px!important;border-radius:10px!important;background:#f6eee8!important;color:#79655d!important;font-size:9px!important
}
body.page-admin.admin-tab-reports .a6613-profit-formula b{color:#4b3932!important}
body.page-admin.admin-tab-reports .a6613-subtable-title{
  display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;margin:22px 0 8px!important
}
body.page-admin.admin-tab-reports .a6613-subtable-title h4{margin:0!important;color:#57241f!important;font-size:13px!important}
body.page-admin.admin-tab-reports .a6613-subtable-title span{color:#8c776d!important;font-size:9px!important}
body.page-admin.admin-tab-reports .a6613-table-scroll{max-width:100%!important;overflow:auto!important;border:1px solid #eaded7!important;border-radius:11px!important}
body.page-admin.admin-tab-reports .a6613-finance-table{width:100%!important;min-width:1060px!important;border-collapse:collapse!important;background:#fff!important}
body.page-admin.admin-tab-reports .a6613-finance-table th{background:#722a26!important;color:#fff!important;font-size:8px!important;padding:9px!important;white-space:nowrap!important}
body.page-admin.admin-tab-reports .a6613-finance-table td{padding:9px!important;border-bottom:1px solid #eee3dc!important;font-size:8.5px!important;white-space:nowrap!important}
body.page-admin.admin-tab-reports .a6613-finance-table td:nth-child(2){min-width:210px!important}
body.page-admin.admin-tab-reports .a6613-finance-table td small{display:block!important;color:#98857b!important;font-size:7px!important;margin-top:2px!important}
body.page-admin.admin-tab-reports .a6613-positive{color:#287047!important}
body.page-admin.admin-tab-reports .a6613-negative{color:#b22e2e!important}
body.page-admin.admin-tab-reports .a6613-day-profit td:last-of-type,
body.page-admin.admin-tab-reports .a6613-day-profit td:nth-last-child(2){color:#287047!important}
body.page-admin.admin-tab-reports .a6613-day-loss td:last-of-type,
body.page-admin.admin-tab-reports .a6613-day-loss td:nth-last-child(2){color:#b22e2e!important}
body.page-admin.admin-tab-reports .a6613-daily-table a{color:#722a26!important;font-weight:800!important}
body.page-admin.admin-tab-reports .a6613-expense-list{display:grid!important;gap:8px!important}
body.page-admin.admin-tab-reports .a6613-expense-row{
  display:grid!important;grid-template-columns:minmax(150px,1.35fr) minmax(140px,1fr) minmax(120px,.65fr) minmax(155px,1fr) auto auto!important;
  align-items:end!important;gap:8px!important;padding:10px!important;border:1px solid #eaded7!important;border-radius:11px!important;background:#fffaf6!important
}
body.page-admin.admin-tab-reports .a6613-expense-row label,
body.page-admin.admin-tab-reports .a6613-add-expense label{display:grid!important;gap:4px!important;color:#725e55!important;font-size:8px!important}
body.page-admin.admin-tab-reports .a6613-expense-row input,
body.page-admin.admin-tab-reports .a6613-add-expense input,
body.page-admin.admin-tab-reports .a6613-add-expense select{width:100%!important;min-height:39px!important;border:1px solid #dfd0c8!important;border-radius:8px!important;background:#fff!important;padding:7px 9px!important;color:#3d302a!important}
body.page-admin.admin-tab-reports .a6613-check{display:flex!important;grid-auto-flow:column!important;align-items:center!important;justify-content:flex-start!important;gap:7px!important;min-height:39px!important}
body.page-admin.admin-tab-reports .a6613-check input{width:17px!important;min-height:17px!important;height:17px!important;padding:0!important}
body.page-admin.admin-tab-reports .a6613-check span{font-size:8px!important;line-height:1.35!important}
body.page-admin.admin-tab-reports .a6613-delete{color:#a52e2e!important}
body.page-admin.admin-tab-reports .a6613-add-expense{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;align-items:end!important;gap:9px!important;
  margin-top:17px!important;padding:14px!important;border:1px dashed #cdb9ad!important;border-radius:12px!important;background:#f8f1eb!important
}
body.page-admin.admin-tab-reports .a6613-add-expense .wide{grid-column:span 2!important}
body.page-admin.admin-tab-reports .a6613-daily-expenses{margin-top:17px!important}
body.page-admin.admin-tab-reports .a6613-daily-expenses h4{margin:0 0 8px!important;color:#57241f!important}
body.page-admin.admin-tab-reports .a6613-daily-expenses>div{display:flex!important;align-items:center!important;gap:10px!important;padding:9px 0!important;border-bottom:1px solid #eee3dc!important}
body.page-admin.admin-tab-reports .a6613-daily-expenses>div>span{flex:1!important;min-width:0!important}
body.page-admin.admin-tab-reports .a6613-daily-expenses small{display:block!important;color:#99867d!important}
body.page-admin.admin-tab-reports .a6613-icon-delete{width:28px!important;height:28px!important;min-height:28px!important;border:0!important;border-radius:7px!important;background:#fdeaea!important;color:#a52e2e!important;font-size:18px!important}
body.page-admin.admin-tab-reports .a6612-products-sold table{min-width:1500px!important}
body.page-admin.admin-tab-reports .a65-report-orders:last-child table{min-width:2020px!important}

@media(max-width:1180px){
  body.page-admin.admin-tab-reports .a6613-finance-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  body.page-admin.admin-tab-reports .a6613-expense-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:760px){
  body.page-admin.admin-tab-reports .a6613-finance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.page-admin.admin-tab-reports .a6613-expense-row,
  body.page-admin.admin-tab-reports .a6613-add-expense{grid-template-columns:1fr 1fr!important}
  body.page-admin.admin-tab-reports .a6613-add-expense .wide{grid-column:span 2!important}
}
@media(max-width:480px){
  body.page-admin.admin-tab-reports .a6613-finance-grid,
  body.page-admin.admin-tab-reports .a6613-expense-row,
  body.page-admin.admin-tab-reports .a6613-add-expense{grid-template-columns:1fr!important}
  body.page-admin.admin-tab-reports .a6613-add-expense .wide{grid-column:auto!important}
  body.page-admin.admin-tab-reports .a6613-subtable-title{align-items:flex-start!important;flex-direction:column!important}
}

/* 6.6.52 sizing + dashboard command center */
html,body{width:100%;max-width:100vw;overflow-x:hidden!important}
body.page-admin .a6-admin,
body.page-admin .a6-admin-content,
body.page-admin .a6-dashboard,
body.page-admin .a65-report-shell,
body.page-admin .admin-main{min-width:0!important;max-width:100%!important;width:100%}
body.page-admin .ald-table-scroll,
body.page-admin .a6613-table-scroll,
body.page-admin .a65-report-orders,
body.page-admin .a6612-products-sold,
body.page-admin .a6612-draw-list{max-width:100%!important;overflow-x:auto!important;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
body.page-admin table{max-width:none}

.dash52-commandbar{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(250px,.65fr);gap:12px;align-items:stretch}
.dash52-picker{position:relative;min-width:0}
.dash52-picker>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:74px;padding:14px 16px;border:1px solid var(--ald-line);border-radius:17px;background:#fff;box-shadow:var(--ald-shadow-sm);cursor:pointer;user-select:none}
.dash52-picker>summary::-webkit-details-marker{display:none}
.dash52-picker>summary span{min-width:0;display:grid;gap:2px}
.dash52-picker>summary small{font-size:10px;font-weight:800;color:var(--ald-muted)}
.dash52-picker>summary strong{font-size:18px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--ald-ink)}
.dash52-picker>summary i{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border-radius:11px;background:var(--ald-soft);font-style:normal;color:var(--ald-wine);transition:transform .18s ease}
.dash52-picker[open]>summary i{transform:rotate(180deg)}
.dash52-sheet{position:absolute;z-index:120;inset-inline-start:0;top:calc(100% + 8px);width:min(760px,calc(100vw - 28px));padding:15px;border:1px solid var(--ald-line);border-radius:18px;background:#fff;box-shadow:0 24px 65px rgba(54,36,29,.18)}
#dash52-view-picker .dash52-sheet{inset-inline-start:auto;inset-inline-end:0;width:min(520px,calc(100vw - 28px))}
.dash52-sheet-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:2px 2px 12px;border-bottom:1px solid var(--ald-line);margin-bottom:12px}
.dash52-sheet-head small{font-size:9px;letter-spacing:.08em;font-weight:900;color:var(--ald-wine)}
.dash52-sheet-head h3{margin:3px 0 0;font-size:18px}
.dash52-sheet-head button{width:38px;height:38px;min-height:38px;padding:0;border-radius:11px;background:var(--ald-soft);color:var(--ald-ink);font-size:23px}
.dash52-period-grid,.dash52-view-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.dash52-period-grid a,.dash52-view-grid button{display:flex;align-items:center;justify-content:center;min-height:46px;padding:9px 10px;border:1px solid var(--ald-line);border-radius:12px;background:#fff;color:var(--ald-ink);font-weight:800;text-align:center}
.dash52-period-grid a:hover,.dash52-view-grid button:hover{background:var(--ald-soft)}
.dash52-period-grid a.active,.dash52-view-grid button.active{background:var(--ald-wine);border-color:var(--ald-wine);color:#fff}
.dash52-custom-grid{display:grid;grid-template-columns:.7fr 1.3fr;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid var(--ald-line)}
.dash52-custom-grid form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:end;padding:11px;border:1px solid var(--ald-line);border-radius:13px;background:var(--ald-surface-2)}
.dash52-custom-grid form:last-child{grid-template-columns:1fr 1fr auto}
.dash52-custom-grid label{gap:4px;font-size:11px}
.dash52-custom-grid input{min-height:42px;background:#fff}
.dash52-custom-grid button{min-height:42px;background:var(--ald-green);color:#fff}

.dash52-gauges{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.dash52-gauge-card{min-width:0;display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:13px;padding:15px;border:1px solid var(--ald-line);border-radius:18px;background:#fff;box-shadow:var(--ald-shadow-sm)}
.dash52-ring{--ring:#722a26;position:relative;display:grid;place-items:center;width:108px;height:108px;border-radius:50%;background:conic-gradient(from 215deg,var(--ring) 0 74%,#eee7e1 74% 86%,transparent 86% 100%)}
.dash52-ring:after{content:"";position:absolute;inset:10px;border-radius:50%;background:#fff;box-shadow:0 0 0 1px rgba(114,42,38,.035)}
.dash52-ring span{position:relative;z-index:1;display:grid;justify-items:center;max-width:88%;text-align:center}
.dash52-ring b{font-size:18px;line-height:1.05;white-space:nowrap}
.dash52-ring small{font-size:9px;margin-top:4px}
.dash52-ring-orders{--ring:#d98b2b}.dash52-ring-ticket{--ring:#3287a4}.dash52-ring-profit{--ring:#547760}
.dash52-gauge-card>div:last-child{min-width:0;display:grid;align-content:center;gap:3px}
.dash52-gauge-card>div:last-child>small{font-weight:700;color:var(--ald-muted)}
.dash52-gauge-card>div:last-child>strong{font-size:19px;color:var(--ald-ink)}
.dash52-gauge-card>div:last-child>em{font-size:10px;color:var(--ald-muted);font-style:normal}

/* restore one predictable mobile drawer instead of side-by-side legacy children */
body.page-admin .a640-mobile-admin-menu:not([hidden]){display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:flex-start!important;padding:0!important;background:rgba(31,23,20,.48)!important;overflow:hidden!important}
body.page-admin .a640-mobile-admin-menu-head,
body.page-admin .a640-mobile-admin-nav,
body.page-admin .a640-mobile-admin-actions{width:min(355px,88vw)!important;max-width:88vw!important;background:#fff!important}
body.page-admin .a640-mobile-admin-menu-head{flex:0 0 auto;padding:max(14px,env(safe-area-inset-top)) 15px 12px!important;border-bottom:1px solid var(--ald-line)!important}
body.page-admin .a640-mobile-admin-nav{flex:1 1 auto!important;min-height:0!important;padding:8px 10px!important;overflow-y:auto!important;overscroll-behavior:contain!important}
body.page-admin .a640-mobile-admin-actions{flex:0 0 auto;display:grid;grid-template-columns:1fr 1fr;gap:7px;padding:10px 11px max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--ald-line)}
body.page-admin .a640-mobile-admin-actions a,body.page-admin .a640-mobile-admin-actions button{width:100%;min-height:42px}
body.page-admin .a640-mobile-admin-nav a{min-height:44px!important;padding:7px 9px!important;border-radius:10px!important}
body.page-admin .a640-mobile-admin-nav a b{font-size:13px!important;line-height:1.25!important}
body.page-admin .a640-mobile-admin-nav .a6-nav-label{padding:11px 8px 5px!important}

/* mobile/tablet scale rules */
@media(max-width:1100px){
  .dash52-gauges{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dash52-commandbar{grid-template-columns:1fr 1fr}
  .dash52-period-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .dash52-custom-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  body.page-admin{font-size:14px!important}
  body.page-admin .a6-admin-content{padding-inline:12px!important;padding-bottom:max(26px,env(safe-area-inset-bottom))!important}
  body.page-admin .a6-admin-topbar{height:auto!important;min-height:62px!important;padding:8px 0!important;gap:7px!important}
  body.page-admin .a6-menu-toggle{display:grid!important;place-items:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important}
  body.page-admin .a6-global-search{min-width:0!important;flex:1 1 auto!important;width:auto!important}
  body.page-admin .a6-global-search input{min-width:0!important;width:100%!important;min-height:44px!important;font-size:14px!important;padding-inline-start:36px!important}
  body.page-admin .a6-admin-actions{flex:0 0 auto!important}
  body.page-admin .a65-gazelle-icon{display:none!important}
  body.page-admin .a6-icon-btn{width:42px!important;height:42px!important;min-height:42px!important;padding:0!important}
  body.page-admin .a6-page-title{padding:18px 0 12px!important;gap:10px!important}
  body.page-admin .a6-page-title h1{font-size:26px!important;line-height:1.15!important}
  body.page-admin .a6-page-title p{font-size:13px!important;margin-top:4px!important}
  body.page-admin .a6-page-action{min-height:45px!important}
  .dash52-commandbar{grid-template-columns:1fr!important;gap:9px!important}
  .dash52-picker>summary{min-height:64px!important;padding:12px 13px!important;border-radius:15px!important}
  .dash52-picker>summary strong{font-size:17px!important}
  .dash52-sheet{position:fixed!important;z-index:2300!important;top:auto!important;bottom:0!important;inset-inline:0!important;width:100%!important;max-width:none!important;max-height:min(82dvh,720px)!important;overflow:auto!important;border-radius:22px 22px 0 0!important;padding:14px 12px max(14px,env(safe-area-inset-bottom))!important;box-shadow:0 -18px 55px rgba(40,27,22,.24)!important}
  .dash52-picker[open]:before{content:"";position:fixed;z-index:2250;inset:0;background:rgba(31,23,20,.46)}
  .dash52-period-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .dash52-view-grid{grid-template-columns:1fr 1fr!important}
  .dash52-period-grid a,.dash52-view-grid button{min-height:48px!important;font-size:13px!important}
  .dash52-custom-grid{display:grid!important;grid-template-columns:1fr!important}
  .dash52-custom-grid form,.dash52-custom-grid form:last-child{grid-template-columns:1fr!important}
  .dash52-custom-grid button{width:100%!important}
  .dash52-gauges{grid-template-columns:1fr 1fr!important;gap:9px!important}
  .dash52-gauge-card{grid-template-columns:82px minmax(0,1fr)!important;gap:10px!important;padding:12px!important;border-radius:15px!important}
  .dash52-ring{width:80px!important;height:80px!important}
  .dash52-ring:after{inset:8px!important}
  .dash52-ring b{font-size:14px!important}
  .dash52-gauge-card>div:last-child>strong{font-size:16px!important}
  body.page-admin .a6-panel,body.page-admin .admin-panel,body.page-admin .fin46-panel{padding:13px!important;border-radius:15px!important}
  body.page-admin .a6-panel h2,body.page-admin .admin-panel h2{font-size:18px!important}
  body.page-admin .a6-dashboard-grid-top,body.page-admin .a6-dashboard-grid-bottom{grid-template-columns:1fr!important}
  body.page-admin .range51-chart{height:200px!important;margin:0!important}
  body.page-admin .range51-bar-track{min-height:125px!important}
  body.page-admin .range51-breakdown{grid-template-columns:1fr 1fr!important}
  body.page-admin .a6618-dashboard-exports{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  body.page-admin .a6618-dashboard-exports>*{width:100%!important;min-height:44px!important}
  body.page-admin .fin46-kpis{grid-template-columns:1fr 1fr!important}
  body.page-admin .fin46-branch-grid,body.page-admin .fin46-audit-grid{grid-template-columns:1fr!important}
  body.page-admin .a6615-windows-app-card{display:none!important}
  body.page-admin.admin-tab-reports .a65-report-toolbar{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  body.page-admin.admin-tab-reports .a65-report-toolbar form{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important}
  body.page-admin.admin-tab-reports .a6612-report-toolbar-actions{display:grid!important;grid-template-columns:1fr!important;width:100%!important}
  body.page-admin.admin-tab-reports .a6612-report-toolbar-actions>*{width:100%!important;min-width:0!important}
  body.page-admin.admin-tab-reports .a6613-finance-grid{grid-template-columns:1fr 1fr!important}
  body.page-admin.admin-tab-reports .a6613-finance-grid b{font-size:16px!important}
  body.page-admin.admin-tab-reports .a65-report-kpis{grid-template-columns:1fr 1fr!important}
  body.page-admin.admin-tab-reports .a65-report-orders,body.page-admin.admin-tab-reports .a6612-products-sold,body.page-admin.admin-tab-reports .a6612-draw-list{margin-inline:0!important;width:100%!important;overflow-x:auto!important}
  body.page-admin.admin-tab-reports .a6612-products-sold table{min-width:980px!important}
  body.page-admin.admin-tab-reports .a65-report-orders:last-child table{min-width:1280px!important}
}
@media(max-width:520px){
  body.page-admin .a6-admin-content{padding-inline:9px!important}
  body.page-admin .a6-global-search input{font-size:13px!important}
  body.page-admin .a6-page-title h1{font-size:23px!important}
  .dash52-gauges{grid-template-columns:1fr!important}
  .dash52-gauge-card{grid-template-columns:88px minmax(0,1fr)!important}
  .dash52-ring{width:86px!important;height:86px!important}
  body.page-admin .fin46-kpis{grid-template-columns:1fr!important}
  body.page-admin.admin-tab-reports .a65-report-kpis,body.page-admin.admin-tab-reports .a6613-finance-grid{grid-template-columns:1fr!important}
  body.page-admin.admin-tab-reports .a6615-sales-layout{grid-template-columns:1fr!important}
  body.page-admin.admin-tab-reports .a6615-gauges{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding:12px 4px 8px!important}
  body.page-admin.admin-tab-reports .a6615-gauge{width:min(25vw,92px)!important}
  body.page-admin.admin-tab-reports .a6615-gauge>strong{font-size:12px!important}
  body.page-admin.admin-tab-reports .a6615-hourly-chart{overflow-x:auto!important;grid-template-columns:repeat(6,minmax(46px,1fr))!important}
}

/* ========================================================================
   ALDHAMEN 6.6.53 - management dashboard / mobile / reports / Z report
   One consolidated layer, intentionally page-scoped and mobile-first.
   ======================================================================== */
body.page-admin{--dash53-orange:#d7832b;--dash53-green:#5e7c5f;--dash53-blue:#2f819d;--dash53-dark:#2d2926}
body.page-admin .a6-admin,body.page-admin .a6-admin-content,body.page-admin .a6-dashboard,body.page-admin .a65-report-shell{min-width:0;max-width:100%}
body.page-admin .a6-dashboard{gap:14px}

/* compact one-control dashboard selector */
.dash53-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:stretch;position:relative;z-index:12}
.dash53-selector{position:relative;min-width:0}
.dash53-selector>summary{list-style:none;min-height:68px;display:flex;align-items:center;gap:12px;padding:10px 15px;border:1px solid var(--ald-line);border-radius:17px;background:#fff;box-shadow:var(--ald-shadow-sm);cursor:pointer}
.dash53-selector>summary::-webkit-details-marker{display:none}
.dash53-selector-copy{display:grid;min-width:0;flex:1}.dash53-selector-copy small{font-size:10px;font-weight:800;color:var(--ald-muted)}.dash53-selector-copy strong{font-size:19px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash53-selector-copy em{font-size:11px;color:var(--ald-green);font-style:normal;font-weight:800;margin-top:2px}
.dash53-selector-icon{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:var(--ald-soft);font-size:18px;font-weight:900}
.dash53-selector[open] .dash53-selector-icon{transform:rotate(180deg)}
.dash53-sheet{position:absolute;inset-inline:0;top:calc(100% + 8px);z-index:2200;background:#fff;border:1px solid var(--ald-line);border-radius:18px;padding:15px;box-shadow:0 22px 60px rgba(42,31,26,.22);max-height:min(78vh,720px);overflow:auto}
.dash53-sheet-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}.dash53-sheet-head small{display:block;color:var(--ald-wine);font-size:9px;font-weight:900;letter-spacing:.12em}.dash53-sheet-head h3{margin:2px 0 0;font-size:19px}.dash53-sheet-head>button{width:38px;height:38px;min-height:38px;padding:0;border-radius:10px;background:var(--ald-soft);font-size:24px}
.dash53-period-grid,.dash53-view-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.dash53-period-grid a,.dash53-view-grid button{min-height:44px;display:flex;align-items:center;justify-content:center;padding:8px 10px;border:1px solid var(--ald-line);border-radius:11px;background:#fff;font-weight:800;text-align:center;color:var(--ald-ink)}
.dash53-period-grid a.active,.dash53-view-grid button.active{background:var(--ald-wine);border-color:var(--ald-wine);color:#fff}
.dash53-sheet-section{display:grid;gap:7px;margin-top:15px;padding-top:14px;border-top:1px solid var(--ald-line)}.dash53-sheet-section>span{font-size:12px;font-weight:900;color:var(--ald-muted)}
.dash53-custom-period{margin-top:13px;border:1px solid var(--ald-line);border-radius:12px;background:var(--ald-surface-2);overflow:hidden}.dash53-custom-period>summary{list-style:none;padding:11px 12px;font-weight:800;cursor:pointer}.dash53-custom-period>summary::-webkit-details-marker{display:none}.dash53-custom-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:9px;padding:0 10px 10px}.dash53-custom-grid form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:10px;border:1px solid var(--ald-line);border-radius:11px;background:#fff}.dash53-custom-grid form:last-child{grid-template-columns:1fr 1fr auto}.dash53-custom-grid label{font-size:10px;gap:4px}.dash53-custom-grid input{min-height:40px}.dash53-custom-grid button{min-height:40px;background:var(--ald-green);color:#fff}
.dash53-quick-actions{display:grid;grid-template-columns:repeat(3,max-content);gap:7px;align-items:stretch}.dash53-quick-actions>*{min-height:68px;min-width:104px;padding:10px 13px;border-radius:16px;border:1px solid var(--ald-line);background:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;box-shadow:var(--ald-shadow-sm)}.dash53-quick-actions .dash53-expense-btn{background:var(--ald-green);border-color:var(--ald-green);color:#fff}.dash53-quick-actions .dash53-z-btn{background:var(--ald-wine);border-color:var(--ald-wine);color:#fff}

/* sales overview inspired by a dedicated POS analytics screen */
.dash53-sales-card{background:#fff;border:1px solid var(--ald-line);border-radius:20px;box-shadow:var(--ald-shadow-sm);padding:16px;min-width:0;overflow:hidden}
.dash53-sales-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.dash53-sales-head h2{margin:0;font-size:20px}.dash53-sales-head small{display:block;font-size:10px}.dash53-sales-head>span{padding:6px 10px;border-radius:999px;background:var(--ald-soft);color:var(--ald-wine);font-size:11px;font-weight:900}
.dash53-meter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:8px 0 12px}
.dash53-metric{--meter-color:var(--dash53-orange);min-width:0;display:grid;justify-items:center;text-align:center;padding:8px 4px;border-inline-end:1px solid #eee4da}.dash53-metric:last-child{border-inline-end:0}.dash53-metric.metric-sales{--meter-color:var(--dash53-green)}.dash53-metric.metric-average{--meter-color:var(--dash53-blue)}
.dash53-meter{position:relative;width:124px;height:78px;overflow:hidden;display:grid;justify-items:center;align-items:end}.dash53-meter>i{position:absolute;left:50%;top:4px;transform:translateX(-50%);width:116px;height:116px;border-radius:50%;background:conic-gradient(from 225deg,var(--meter-color) 0deg calc(var(--meter) * 2.7deg),#e9e2dc calc(var(--meter) * 2.7deg) 270deg,transparent 270deg 360deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 7px),#000 0);mask:radial-gradient(farthest-side,transparent calc(100% - 7px),#000 0)}
.dash53-meter strong{position:relative;z-index:1;display:flex;align-items:baseline;gap:3px;max-width:100%;font-size:18px;line-height:1.1;white-space:nowrap}.dash53-meter strong em{font-style:normal;font-size:8px;color:var(--ald-muted)}
.dash53-metric>b{font-size:12px;line-height:1.2;margin-top:5px}.dash53-metric>span{font-size:10px;font-weight:900;color:var(--ald-muted)}.dash53-metric>span.up{color:#4f7658}.dash53-metric>span.down{color:#a4473f}
.dash53-profit-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px;border-radius:13px;background:var(--ald-surface-2);border:1px solid var(--ald-line)}.dash53-profit-row>span{display:grid;gap:2px;min-width:0}.dash53-profit-row small{font-size:9px}.dash53-profit-row b{font-size:13px;white-space:nowrap}.dash53-profit-row .is-loss b{color:#9f3a33}.dash53-profit-row .is-profit b{color:#4f6a58}
.dash53-chart{display:grid;grid-template-columns:repeat(auto-fit,minmax(42px,1fr));gap:5px;align-items:end;min-height:155px;margin-top:13px;padding-top:8px;border-top:1px solid var(--ald-line);overflow-x:auto;overscroll-behavior-inline:contain}.dash53-chart-col{min-width:38px;height:140px;display:grid;grid-template-rows:18px 1fr 20px;align-items:end;text-align:center}.dash53-chart-col>b{font-size:8px;color:var(--ald-muted);overflow:hidden}.dash53-chart-col>div{height:92px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid #ddd3ca;background:linear-gradient(to top,rgba(114,42,38,.018),transparent)}.dash53-chart-col i{display:block;width:min(24px,72%);min-height:2px;border-radius:5px 5px 1px 1px;background:linear-gradient(180deg,var(--ald-green),#7f9a86)}.dash53-chart-col small{font-size:8px;white-space:nowrap}
.dash53-export-row{display:flex;gap:7px;flex-wrap:wrap}.dash53-export-row>a{min-height:40px;padding:8px 13px;border-radius:10px;border:1px solid var(--ald-line);background:#fff;font-weight:800}.dash53-export-row>a:first-child{background:var(--ald-wine);border-color:var(--ald-wine);color:#fff}

/* expense is a fast action rather than a buried accounting form */
.dash53-expense-modal{position:fixed;inset:0;z-index:6000;background:rgba(34,26,22,.52);display:grid;place-items:center;padding:18px}.dash53-expense-card{width:min(520px,100%);max-height:90dvh;overflow:auto;background:#fff;border-radius:20px;padding:17px;box-shadow:0 30px 90px rgba(0,0,0,.28)}.dash53-expense-form{display:grid;gap:11px}.dash53-form-two{display:grid;grid-template-columns:1fr 1fr;gap:9px}.dash53-money-input{position:relative}.dash53-money-input input{padding-inline-end:58px;font-size:23px;font-weight:900}.dash53-money-input span{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);font-size:11px;font-weight:900;color:var(--ald-muted)}

/* Z report is treated as a core operation */
.dash53-z-report{scroll-margin-top:90px}.dash53-z-report .fin46-z-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.dash53-z-report .fin46-z-actions{display:flex;gap:6px}.dash53-z-report .fin46-z-actions a,.dash53-z-card>div a{display:inline-flex;min-width:54px;min-height:36px;align-items:center;justify-content:center;border-radius:9px;border:1px solid var(--ald-line);background:#fff;font-weight:900}.dash53-z-report .fin46-z-actions a:first-child,.dash53-z-card>div a:first-child{background:var(--ald-wine);border-color:var(--ald-wine);color:#fff}
.dash53-reports-z{padding:16px}.dash53-z-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dash53-z-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center;padding:11px;border:1px solid var(--ald-line);border-radius:12px;background:#fff}.dash53-z-card>span{min-width:0}.dash53-z-card>span small,.dash53-z-card>span b,.dash53-z-card>span em{display:block}.dash53-z-card>span b{font-size:13px}.dash53-z-card>span em{font-style:normal;color:var(--ald-muted);font-size:10px}.dash53-z-card>strong{font-size:12px}.dash53-z-card>strong.is-diff{color:#a4473f}.dash53-z-card>div{grid-column:1/-1;display:flex;gap:6px}

/* report snapshot: fixed image sizes, fixed width containment and readable mobile cards */
body.page-admin.admin-tab-reports .a65-report-shell{width:100%;overflow:visible}
body.page-admin.admin-tab-reports .a65-report-shell>*{min-width:0;max-width:100%}
body.page-admin.admin-tab-reports .a6615-sales-board{width:100%;max-width:100%;overflow:hidden;border-radius:18px}
body.page-admin.admin-tab-reports .a6615-date-nav{display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;gap:8px;padding:12px;background:#fff;border:1px solid var(--ald-line);border-radius:16px 16px 0 0}
body.page-admin.admin-tab-reports .a6615-date-nav>a{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;background:var(--ald-soft);font-size:26px}
body.page-admin.admin-tab-reports .a6615-date-nav>div{text-align:center;min-width:0}body.page-admin.admin-tab-reports .a6615-date-nav h2{font-size:20px;margin:1px 0}body.page-admin.admin-tab-reports .a6615-date-nav span{font-size:11px;color:var(--ald-muted)}
body.page-admin.admin-tab-reports .a6615-sales-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(270px,.75fr);gap:10px;background:transparent}
body.page-admin.admin-tab-reports .a6615-summary-card,body.page-admin.admin-tab-reports .a6615-items-card{min-width:0;background:#fff;border:1px solid var(--ald-line);border-radius:15px;padding:13px;overflow:hidden}
body.page-admin.admin-tab-reports .a6615-card-title{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:7px}.a6615-card-title h3{font-size:15px;margin:0}.a6615-card-title small{font-size:9px}.a6615-card-title>a,.a6615-card-title>span{font-size:10px;font-weight:900;color:var(--ald-wine)}
body.page-admin.admin-tab-reports .a6615-gauges{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:7px 0}
body.page-admin.admin-tab-reports .a6615-metric{min-width:0;display:grid;justify-items:center;text-align:center}.a6615-metric>b{font-size:10px}.a6615-metric>span{font-size:9px;font-weight:900}.a6615-metric>span.is-up{color:#4f7658}.a6615-metric>span.is-down{color:#a4473f}
body.page-admin.admin-tab-reports .a6615-gauge{position:relative;width:105px;height:68px;overflow:hidden;display:grid;justify-items:center;align-items:end}.a6615-gauge>i{position:absolute!important;left:50%!important;top:2px!important;transform:translateX(-50%)!important;width:100px!important;height:100px!important;border-radius:50%!important;background:conic-gradient(from 225deg,var(--a6615-color) 0 var(--a6615-value),#e8e1db var(--a6615-value) 75%,transparent 75% 100%)!important;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 0)!important;mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 0)!important}.a6615-gauge>strong{position:relative!important;z-index:1!important;font-size:13px!important;white-space:nowrap!important}.a6615-gauge>strong em{font-size:7px!important}
body.page-admin.admin-tab-reports .a6615-hourly-head{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-top:8px}.a6615-hourly-head h4{font-size:12px;margin:0}.a6615-hourly-head span{font-size:8px;color:var(--ald-muted)}
body.page-admin.admin-tab-reports .a6615-hourly-chart{display:grid;grid-template-columns:repeat(6,minmax(38px,1fr));gap:4px;min-height:115px;margin-top:6px;overflow-x:auto}.a6615-hour-column{display:grid;grid-template-rows:15px 1fr 18px;align-items:end;text-align:center;min-width:38px}.a6615-hour-column>b,.a6615-hour-column small{font-size:7px}.a6615-hour-column>div{height:70px;display:flex;align-items:flex-end;justify-content:center;border-bottom:1px solid var(--ald-line)}.a6615-hour-column>div>span{width:58%;background:var(--ald-green);border-radius:4px 4px 0 0;min-height:2px}
body.page-admin.admin-tab-reports .a6615-item-list{display:grid;gap:5px}.a6615-item-row{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;align-items:center!important;gap:7px!important;padding:7px 0!important;border-bottom:1px solid var(--ald-line)!important}.a6615-item-row img{width:38px!important;height:38px!important;max-width:38px!important;max-height:38px!important;object-fit:cover!important;border-radius:9px!important}.a6615-item-row span{min-width:0}.a6615-item-row span b,.a6615-item-row span small{display:block}.a6615-item-row span b{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.a6615-item-row span small,.a6615-item-row strong{font-size:9px}.a6615-item-row strong em{font-style:normal;font-size:7px;color:var(--ald-muted)}
body.page-admin.admin-tab-reports .a65-report-kpi img,body.page-admin.admin-tab-reports .a65-branch-title img,body.page-admin.admin-tab-reports .a65-mini-products img{width:42px!important;height:42px!important;max-width:42px!important;max-height:42px!important;object-fit:cover!important;border-radius:9px!important;flex:0 0 42px!important}
body.page-admin.admin-tab-reports .ald-table-scroll,body.page-admin.admin-tab-reports .a6613-table-scroll,body.page-admin.admin-tab-reports .a65-report-orders,body.page-admin.admin-tab-reports .a6612-products-sold,body.page-admin.admin-tab-reports .a6612-draw-list{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior-inline:contain!important;contain:inline-size}
body.page-admin.admin-tab-reports .ald-table-scroll>table{width:max-content!important;min-width:100%!important;max-width:none!important}
body.page-admin.admin-tab-reports table th,body.page-admin.admin-tab-reports table td{white-space:nowrap;font-size:10px;padding:8px}

/* global mobile containment for previously problematic admin/staff surfaces */
@media(max-width:980px){
  body.page-admin .a6-admin{display:block!important;width:100%!important}
  body.page-admin .a6-admin-sidebar{display:none!important}
  body.page-admin .a6-admin-content{width:100%!important;margin:0!important}
  body.page-admin .a6-menu-toggle{display:grid!important}
  body.page-admin .a640-mobile-admin-menu{position:fixed!important;inset:0!important;z-index:5500!important;width:100vw!important;height:100dvh!important;max-width:none!important;margin:0!important}
  body.page-admin .a640-mobile-admin-menu-head,body.page-admin .a640-mobile-admin-nav,body.page-admin .a640-mobile-admin-actions{width:min(360px,90vw)!important;max-width:90vw!important;margin-left:auto!important;margin-right:0!important}
  .dash53-z-cards{grid-template-columns:1fr}
}
@media(max-width:760px){
  body.page-admin .a6-admin-content{padding-inline:10px!important}
  body.page-admin .a6-page-title{display:grid!important;grid-template-columns:1fr!important;align-items:start!important;padding:14px 0 10px!important}
  body.page-admin .a6-page-title .a6-page-action{width:100%!important}
  .dash53-control{grid-template-columns:1fr!important}
  .dash53-selector>summary{min-height:62px;padding:9px 12px}
  .dash53-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.dash53-quick-actions>*{min-width:0;min-height:48px;border-radius:12px;padding:7px 5px;font-size:11px;box-shadow:none}
  .dash53-sheet{position:fixed!important;top:auto!important;bottom:0!important;inset-inline:0!important;width:100%!important;max-height:82dvh!important;border-radius:22px 22px 0 0!important;padding:14px 11px max(14px,env(safe-area-inset-bottom))!important}.dash53-selector[open]:before{content:"";position:fixed;inset:0;z-index:2150;background:rgba(34,26,22,.5)}
  .dash53-period-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dash53-view-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dash53-period-grid a,.dash53-view-grid button{min-height:47px;font-size:12px}.dash53-custom-grid{grid-template-columns:1fr}.dash53-custom-grid form,.dash53-custom-grid form:last-child{grid-template-columns:1fr}.dash53-custom-grid button{width:100%}
  .dash53-sales-card{padding:12px;border-radius:16px}.dash53-sales-head h2{font-size:17px}.dash53-meter-grid{gap:2px}.dash53-metric{padding-inline:1px}.dash53-meter{width:min(29vw,106px);height:69px}.dash53-meter>i{width:min(27vw,100px);height:min(27vw,100px)}.dash53-meter strong{font-size:13px}.dash53-meter strong em{font-size:6px}.dash53-metric>b{font-size:9px}.dash53-metric>span{font-size:8px}.dash53-profit-row{grid-template-columns:1fr 1fr 1fr;padding:8px 7px;gap:4px}.dash53-profit-row small{font-size:7px}.dash53-profit-row b{font-size:9px}.dash53-chart{grid-template-columns:repeat(auto-fit,minmax(36px,1fr));min-height:135px}.dash53-chart-col{height:123px;min-width:34px}.dash53-chart-col>div{height:78px}.dash53-chart-col>b,.dash53-chart-col small{font-size:7px}
  .dash53-export-row{display:grid;grid-template-columns:1fr 1fr 1fr}.dash53-export-row>a{min-height:38px;padding:6px 4px;text-align:center;font-size:10px}
  .dash53-expense-modal{place-items:end center;padding:0}.dash53-expense-card{width:100%;max-height:88dvh;border-radius:22px 22px 0 0;padding:14px 12px max(14px,env(safe-area-inset-bottom))}.dash53-form-two{grid-template-columns:1fr 1fr}
  body.page-admin .fin46-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.fin46-actions-grid-single{grid-template-columns:1fr!important}
  body.page-admin.admin-tab-reports .a65-report-shell{padding:0!important}
  body.page-admin.admin-tab-reports .a65-report-toolbar{padding:11px!important}
  body.page-admin.admin-tab-reports .a6615-date-nav h2{font-size:17px}
  body.page-admin.admin-tab-reports .a6615-sales-layout{grid-template-columns:1fr!important}
  body.page-admin.admin-tab-reports .a6615-summary-card,body.page-admin.admin-tab-reports .a6615-items-card{padding:10px!important}
  body.page-admin.admin-tab-reports .a6615-gauge{width:min(28vw,96px)!important;height:64px!important}.a6615-gauge>i{width:min(26vw,92px)!important;height:min(26vw,92px)!important}.a6615-gauge>strong{font-size:11px!important}.a6615-metric>b{font-size:9px!important}
  body.page-admin.admin-tab-reports .a65-report-kpis{grid-template-columns:1fr 1fr!important;gap:7px!important}.a65-report-kpi{padding:9px!important}.a65-report-kpi strong{font-size:15px!important}
  body.page-admin.admin-tab-reports .a65-branch-grid,body.page-admin.admin-tab-reports .a65-report-columns{grid-template-columns:1fr!important}
  body.page-admin.admin-tab-reports .a6613-finance-grid{grid-template-columns:1fr 1fr!important}
  body.page-admin.admin-tab-reports .a6613-expenses-card,body.page-admin.admin-tab-reports .a65-report-panel,body.page-admin.admin-tab-reports .admin-panel{max-width:100%!important;overflow:hidden!important}
  body.page-admin.admin-tab-reports .ald-table-scroll{max-width:calc(100vw - 20px)!important}
}
@media(max-width:430px){
  body.page-admin{font-size:13px!important}
  body.page-admin .a6-admin-topbar{gap:6px!important}.a6-global-search input{font-size:12px!important}.a6-profile{display:none!important}
  .dash53-selector-copy strong{font-size:16px}.dash53-selector-copy em{font-size:9px}.dash53-selector-icon{width:34px;height:34px}
  .dash53-quick-actions>*{font-size:10px;min-height:44px}
  .dash53-meter{width:28vw;height:64px}.dash53-meter>i{width:25vw;height:25vw}.dash53-meter strong{font-size:11.5px}.dash53-metric>b{font-size:8.5px}.dash53-metric>span{font-size:7.5px}
  .dash53-profit-row{grid-template-columns:1fr 1fr}.dash53-profit-row>span:last-child{grid-column:1/-1;border-top:1px solid var(--ald-line);padding-top:5px}
  .dash53-chart{margin-inline:-3px;padding-inline:2px}
  .dash53-form-two{grid-template-columns:1fr}
  body.page-admin .fin46-kpis{grid-template-columns:1fr 1fr!important}.fin46-kpis>div{padding:9px!important}.fin46-kpis b{font-size:17px!important}
  body.page-admin.admin-tab-reports .a65-report-kpis{grid-template-columns:1fr!important}
  body.page-admin.admin-tab-reports .a6613-finance-grid{grid-template-columns:1fr 1fr!important}
  body.page-admin.admin-tab-reports .a6615-hourly-chart{grid-template-columns:repeat(6,minmax(42px,1fr))!important}
  body.page-admin.admin-tab-reports .a6615-item-row{grid-template-columns:34px minmax(0,1fr) auto!important}.a6615-item-row img{width:34px!important;height:34px!important;max-width:34px!important;max-height:34px!important}
}

/* v6.6.53-r2: reference-style top items + tighter report actions */
.dash53-items-card{background:#fff;border:1px solid var(--ald-line);border-radius:20px;box-shadow:var(--ald-shadow-sm);padding:14px 16px;min-width:0;overflow:hidden}
.dash53-items-card>header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:7px}.dash53-items-card>header small{display:block;font-size:9px;color:var(--ald-muted);font-weight:800}.dash53-items-card>header h2{font-size:18px;margin:2px 0 0}.dash53-items-card>header>a{font-size:10px;font-weight:900;color:var(--ald-wine)}
.dash53-item-list{display:grid;gap:0}.dash53-item-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:9px;align-items:center;padding:9px 0;border-bottom:1px solid var(--ald-line)}.dash53-item-row:last-child{border-bottom:0}.dash53-item-row img{width:42px;height:42px;max-width:42px;max-height:42px;object-fit:cover;border-radius:50%;background:var(--ald-soft)}.dash53-item-row span{min-width:0}.dash53-item-row span b,.dash53-item-row span small{display:block}.dash53-item-row span b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dash53-item-row span small{font-size:9px;color:var(--ald-muted)}.dash53-item-row>strong{font-size:11px;white-space:nowrap}.dash53-item-row>strong em{font-size:7px;font-style:normal;color:var(--ald-muted)}
body.page-admin.admin-tab-reports .a6612-report-toolbar-actions{display:flex!important;flex-wrap:wrap!important;gap:7px!important;align-items:stretch!important}body.page-admin.admin-tab-reports .a6612-report-toolbar-actions>a{flex:1 1 150px!important;min-width:0!important;white-space:normal!important;text-align:center!important;justify-content:center!important}.dash53-report-z-link{background:var(--ald-wine)!important;color:#fff!important;border-color:var(--ald-wine)!important}.dash53-report-expense-link{background:var(--ald-green)!important;color:#fff!important;border-color:var(--ald-green)!important}
@media(max-width:760px){.dash53-items-card{padding:10px 12px;border-radius:16px}.dash53-items-card>header h2{font-size:16px}.dash53-item-row{grid-template-columns:38px minmax(0,1fr) auto;padding:7px 0}.dash53-item-row img{width:38px;height:38px;max-width:38px;max-height:38px}.dash53-item-row span b{font-size:11px}.dash53-item-row>strong{font-size:10px}body.page-admin.admin-tab-reports .a6612-report-toolbar-actions{display:grid!important;grid-template-columns:1fr 1fr!important}body.page-admin.admin-tab-reports .a6612-report-toolbar-actions>a{min-height:42px!important;font-size:10px!important;padding:7px!important}.a65-report-email-status{grid-column:1/-1!important}}
@media(max-width:430px){body.page-admin.admin-tab-reports .a6612-report-toolbar-actions{grid-template-columns:1fr!important}.dash53-item-row{grid-template-columns:36px minmax(0,1fr) auto}.dash53-item-row img{width:36px;height:36px;max-width:36px;max-height:36px}}

/* v6.6.53-r3: finance separation, full sales circles, staff reconciliation */
.dash54-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.dash54-action-card{appearance:none;border:1px solid var(--ald-line);background:#fff;border-radius:16px;padding:13px 14px;min-height:94px;display:grid;grid-template-columns:38px minmax(0,1fr);grid-template-rows:auto auto;column-gap:10px;align-content:center;text-align:start;box-shadow:var(--ald-shadow-sm);color:var(--ald-ink)}
.dash54-action-card>span{grid-row:1/3;width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#f8e8e5;color:#a12d2d;font-weight:900;font-size:16px}
.dash54-action-card>b{color:#a12d2d;font-size:13px;font-weight:900;line-height:1.2}.dash54-action-card>small{font-size:9px;color:var(--ald-muted);line-height:1.35;margin-top:3px}.dash54-action-card:hover{border-color:#d9b9b4;transform:translateY(-1px)}
.dash54-z-action{border-color:#dcb9b4}.dash54-z-action>span{background:var(--ald-wine);color:#fff}
.dash54-operation-box{margin-top:16px;border:1px solid var(--ald-line);background:#fff;border-radius:18px;padding:15px;box-shadow:var(--ald-shadow-sm);overflow:hidden}.dash54-operation-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:12px}.dash54-operation-head h3,.dash54-red-title{margin:0!important;color:#a12d2d!important;font-weight:900!important}.dash54-operation-head h3{font-size:16px}.dash54-operation-head small{display:block;margin-top:4px;color:var(--ald-muted);font-size:9px}

/* Make the sales visuals unmistakably circular again. */
.dash53-meter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;justify-items:center}
.dash53-metric{display:grid;justify-items:center;align-content:start;text-align:center;min-width:0}
.dash53-meter{width:118px;height:118px;overflow:visible;align-items:center;justify-items:center}
.dash53-meter>i{top:0;width:118px;height:118px;background:conic-gradient(var(--meter-color) 0deg calc(var(--meter) * 3.6deg),#e9e2dc calc(var(--meter) * 3.6deg) 360deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 9px),#000 0);mask:radial-gradient(farthest-side,transparent calc(100% - 9px),#000 0)}
.dash53-meter strong{font-size:17px;align-self:center}.dash53-metric>b{margin-top:7px;font-size:11px}.dash53-metric>span{font-size:9px}

.staff54-reconcile{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:18px;background:rgba(28,22,20,.56);backdrop-filter:blur(5px)}
.staff54-reconcile[hidden]{display:none!important}.staff54-reconcile-card{width:min(620px,100%);max-height:min(88dvh,760px);overflow:auto;background:#fff8ea;border:1px solid #ead8c9;border-radius:22px;box-shadow:0 28px 70px rgba(42,28,23,.24);padding:18px}.staff54-reconcile-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding-bottom:14px;border-bottom:1px solid #e7d8cc}.staff54-reconcile-head small{font-size:9px;font-weight:900;letter-spacing:.08em;color:#a12d2d}.staff54-reconcile-head h2{margin:3px 0 5px;color:#a12d2d;font-size:22px;font-weight:900}.staff54-reconcile-head p{margin:0;max-width:430px;color:#76665e;font-size:11px}.staff54-reconcile-head>span{display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border-radius:999px;background:#722a26;color:#fff;font-size:10px;font-weight:900;white-space:nowrap}
.staff54-expected{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0}.staff54-expected>div{background:#fff;border:1px solid #ead8c9;border-radius:13px;padding:11px;min-width:0}.staff54-expected small,.staff54-expected b,.staff54-expected em{display:block}.staff54-expected small{font-size:9px;color:#7b6a62}.staff54-expected b{margin-top:5px;font-size:19px}.staff54-expected em{font-size:8px;font-style:normal;color:#9a887e}
.staff54-reconcile-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.staff54-reconcile-form label{display:grid;gap:5px}.staff54-reconcile-form label>span{font-size:10px;font-weight:900;color:#3d302b}.staff54-reconcile-form label>div{position:relative}.staff54-reconcile-form label>div input{padding-inline-end:44px}.staff54-reconcile-form label>div em{position:absolute;inset-inline-end:12px;top:50%;transform:translateY(-50%);font-style:normal;font-size:8px;color:#8d7a70}.staff54-note{grid-column:1/-1}.staff54-check-btn,.staff54-later-btn{grid-column:1/-1;min-height:50px}.staff54-check-btn{background:#4f6a58;color:#fff}.staff54-later-btn{background:#fff;border:1px solid #dfcec1;color:#6b5b53}.staff54-reconcile-result{grid-column:1/-1;border-radius:14px;padding:12px;border:1px solid #d6e5da;background:#eef7f0}.staff54-reconcile-result.is-error{background:#fff0ee;border-color:#efc9c4}.staff54-reconcile-result h3{margin:0 0 8px;color:#2f6848;font-size:15px}.staff54-reconcile-result.is-error h3{color:#a12d2d}.staff54-reconcile-result .staff54-result-row{display:grid;grid-template-columns:minmax(80px,1fr) repeat(3,minmax(70px,.8fr));gap:7px;padding:7px 0;border-top:1px solid rgba(0,0,0,.07);font-size:10px}.staff54-reconcile-result .staff54-result-row:first-of-type{border-top:0}.staff54-reconcile-result .bad{color:#a12d2d;font-weight:900}.staff54-reconcile-result .good{color:#2f6848;font-weight:900}

@media(max-width:900px){.dash54-quick-actions{grid-template-columns:1fr 1fr}.dash54-action-card{min-height:86px}.dash53-meter{width:104px;height:104px}.dash53-meter>i{width:104px;height:104px}}
@media(max-width:760px){
  .dash54-quick-actions{grid-template-columns:1fr 1fr;gap:7px}.dash54-action-card{min-height:80px;padding:10px;grid-template-columns:32px minmax(0,1fr);column-gap:8px;border-radius:13px}.dash54-action-card>span{width:32px;height:32px;border-radius:9px}.dash54-action-card>b{font-size:11px}.dash54-action-card>small{font-size:8px}.dash54-operation-box{padding:11px;border-radius:15px}.dash54-operation-head h3{font-size:14px}
  .dash53-meter-grid{gap:4px}.dash53-meter{width:min(29vw,102px)!important;height:min(29vw,102px)!important}.dash53-meter>i{width:min(29vw,102px)!important;height:min(29vw,102px)!important}.dash53-meter strong{font-size:12px}.dash53-meter strong em{font-size:6px}.dash53-metric>b{font-size:8.5px}.dash53-metric>span{font-size:7.5px}
  .staff54-reconcile{place-items:end center;padding:0}.staff54-reconcile-card{width:100%;max-height:92dvh;border-radius:22px 22px 0 0;padding:14px 12px max(16px,env(safe-area-inset-bottom))}.staff54-reconcile-head h2{font-size:19px}.staff54-expected{gap:6px}.staff54-expected>div{padding:9px}.staff54-expected b{font-size:15px}.staff54-reconcile-form{grid-template-columns:1fr}.staff54-note,.staff54-check-btn,.staff54-later-btn,.staff54-reconcile-result{grid-column:auto}.staff54-reconcile-result .staff54-result-row{grid-template-columns:1fr 1fr;gap:3px 8px}.staff54-reconcile-result .staff54-result-row span:first-child{grid-column:1/-1;font-weight:900}
}
@media(max-width:420px){.dash54-quick-actions{grid-template-columns:1fr}.dash53-meter{width:29vw!important;height:29vw!important}.dash53-meter>i{width:29vw!important;height:29vw!important}.staff54-expected{grid-template-columns:1fr 1fr 1fr}.staff54-expected small{font-size:7.5px}.staff54-expected b{font-size:13px}}

/* v6.6.53-r4: final mobile/accounting readability pass from live iPhone review */
@media(max-width:760px){
  body.page-admin{font-size:14px!important}
  body.page-admin .a6-main,body.page-admin .a6-content,body.page-admin .a6-dashboard{width:100%!important;max-width:100%!important;min-width:0!important}
  body.page-admin.admin-tab-reports .a6613-finance-grid small,
  body.page-admin.admin-tab-reports .a6613-finance-grid em{font-size:11px!important;line-height:1.35!important}
  body.page-admin.admin-tab-reports .a6613-profit-formula{font-size:11px!important;line-height:1.45!important}
  body.page-admin.admin-tab-reports .a6613-subtable-title h4{font-size:15px!important}
  body.page-admin.admin-tab-reports .a6613-subtable-title span{font-size:11px!important}
  body.page-admin.admin-tab-reports .a6613-finance-table th{font-size:11px!important;padding:10px 9px!important}
  body.page-admin.admin-tab-reports .a6613-finance-table td{font-size:11px!important;padding:10px 9px!important}
  body.page-admin.admin-tab-reports .a6613-finance-table td small{font-size:9.5px!important}
  body.page-admin.admin-tab-reports .a6613-expense-row label,
  body.page-admin.admin-tab-reports .a6613-add-expense label{font-size:11px!important}
  body.page-admin.admin-tab-reports .a6613-check span{font-size:11px!important}
  body.page-admin.admin-tab-reports .a6613-daily-expenses small{font-size:10px!important}
  body.page-admin.admin-tab-reports .a65-report-orders table,
  body.page-admin.admin-tab-reports .a6612-products-sold table{font-size:11px!important}
  body.page-admin.admin-tab-reports .a65-report-orders th,
  body.page-admin.admin-tab-reports .a65-report-orders td,
  body.page-admin.admin-tab-reports .a6612-products-sold th,
  body.page-admin.admin-tab-reports .a6612-products-sold td{padding:9px 8px!important}
  .dash54-operation-head small{font-size:10.5px!important;line-height:1.4!important}
  .dash54-action-card>small{font-size:9.5px!important}
  .dash54-action-card>b{font-size:12px!important}
}

/* Full circular gauges in the day-sales report, matching the dashboard language. */
body.page-admin.admin-tab-reports .a6615-gauge{width:108px!important;height:108px!important;overflow:visible!important;display:grid!important;place-items:center!important}
body.page-admin.admin-tab-reports .a6615-gauge>i{left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:104px!important;height:104px!important;border-radius:50%!important;background:conic-gradient(var(--a6615-color) 0 calc(var(--a6615-value) * 1%),#e8e1db calc(var(--a6615-value) * 1%) 100%)!important;-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 8px),#000 0)!important;mask:radial-gradient(farthest-side,transparent calc(100% - 8px),#000 0)!important}
body.page-admin.admin-tab-reports .a6615-gauge>strong{font-size:14px!important;align-self:center!important}
@media(max-width:760px){body.page-admin.admin-tab-reports .a6615-gauge{width:min(29vw,100px)!important;height:min(29vw,100px)!important}body.page-admin.admin-tab-reports .a6615-gauge>i{width:min(27vw,94px)!important;height:min(27vw,94px)!important}body.page-admin.admin-tab-reports .a6615-gauge>strong{font-size:12px!important}}
@media(max-width:390px){body.page-admin.admin-tab-reports .a6615-gauge{width:86px!important;height:86px!important}body.page-admin.admin-tab-reports .a6615-gauge>i{width:82px!important;height:82px!important}}

/* ================================================================
   ALDHAMEN 6.6.54 POS reliability + responsive layout
   This block is intentionally last so POS sizing cannot be overridden
   by legacy responsive rules that still exist for older pages.
   ================================================================ */
body.page-staff-pos{overflow-x:hidden;background:#f7efe3}
body.page-staff-pos.pos23-cart-open{overflow:hidden!important}
body.page-staff-pos .a6-pos{min-height:100dvh;display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;background:#f7efe3!important}
body.page-staff-pos .a6-pos-sidebar{position:sticky!important;top:0!important;height:100dvh!important;min-height:100dvh!important;padding:12px 8px!important;background:#5f211e!important;color:#fff!important;z-index:50!important;overflow:auto!important;display:flex!important;flex-direction:column!important;gap:10px!important}
body.page-staff-pos .a6-pos-brand{display:grid!important;justify-items:center!important;gap:4px!important;text-align:center!important}
body.page-staff-pos .a6-pos-brand img{width:50px!important;height:50px!important;object-fit:contain!important;background:#fff!important;border-radius:14px!important;padding:5px!important}
body.page-staff-pos .a6-pos-brand div{display:none!important}
body.page-staff-pos .a6-pos-sidebar nav{display:grid!important;gap:7px!important;margin:8px 0!important}
body.page-staff-pos .a6-pos-sidebar nav>a,body.page-staff-pos .a6-pos-sidebar nav>button{width:100%!important;min-height:58px!important;padding:7px 4px!important;border:0!important;border-radius:12px!important;background:rgba(255,255,255,.07)!important;color:#fff!important;text-decoration:none!important;display:grid!important;place-items:center!important;gap:2px!important;font-size:10px!important;font-weight:800!important;text-align:center!important}
body.page-staff-pos .a6-pos-sidebar nav>a.active,body.page-staff-pos .a6-pos-sidebar nav>button.active{background:#fff!important;color:#722a26!important}
body.page-staff-pos .a6-pos-sidebar nav span{font-size:19px!important;line-height:1!important}
body.page-staff-pos .a6-pos-bottom{margin-top:auto!important;display:grid!important;gap:6px!important}
body.page-staff-pos .a6-pos-bottom>a,body.page-staff-pos .a6-pos-bottom button{width:100%!important;min-height:40px!important;border:0!important;border-radius:10px!important;background:rgba(255,255,255,.09)!important;color:#fff!important;font-size:10px!important;padding:6px!important}
body.page-staff-pos .a6-pos-main{min-width:0!important;padding:0 16px 28px!important}
body.page-staff-pos .a6-pos-topbar{position:sticky!important;top:0!important;z-index:35!important;min-height:68px!important;padding:9px 0!important;background:rgba(247,239,227,.96)!important;backdrop-filter:blur(12px)!important;border-bottom:1px solid #e5d9cc!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
body.page-staff-pos .a6-pos-location,body.page-staff-pos .a6-pos-user{display:flex!important;align-items:center!important;gap:8px!important;background:#fff!important;border:1px solid #e5d9cc!important;border-radius:13px!important;padding:8px 10px!important;box-shadow:0 4px 14px rgba(62,41,32,.05)!important}
body.page-staff-pos .a6-pos-location button{width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border:0!important;border-radius:9px!important;background:#f2e7dd!important;color:#722a26!important}
body.page-staff-pos .a6-avatar{width:34px!important;height:34px!important;border-radius:10px!important;background:#722a26!important;color:#fff!important;display:grid!important;place-items:center!important;font-weight:900!important}
body.page-staff-pos .a6-pos-workspace{display:grid!important;grid-template-columns:minmax(0,1fr) 360px!important;gap:14px!important;align-items:start!important;padding-top:14px!important}
body.page-staff-pos .a6-pos-catalog{min-width:0!important;background:#fff!important;border:1px solid #e5d9cc!important;border-radius:18px!important;padding:13px!important;box-shadow:0 6px 22px rgba(62,41,32,.05)!important}
body.page-staff-pos .a6-pos-search-row{display:grid!important;grid-template-columns:minmax(240px,1fr) minmax(420px,auto)!important;gap:10px!important;align-items:start!important;padding:0 0 10px!important}
body.page-staff-pos .pos23-search{display:flex!important;align-items:center!important;gap:8px!important;height:46px!important;padding:0 12px!important;border:1px solid #e5d9cc!important;border-radius:12px!important;background:#fff!important}
body.page-staff-pos .pos23-search input{width:100%!important;min-width:0!important;min-height:42px!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:14px!important}
body.page-staff-pos .pos23-setup{display:flex!important;gap:7px!important;align-items:stretch!important;flex-wrap:wrap!important;justify-content:flex-end!important}
body.page-staff-pos .pos23-setup-group{min-width:128px!important;background:#fbf7f1!important;border:1px solid #e5d9cc!important;border-radius:12px!important;padding:6px 8px!important;display:grid!important;gap:4px!important}
body.page-staff-pos .pos23-setup-group small{font-size:9px!important;color:#786a62!important;font-weight:800!important}
body.page-staff-pos .pos23-setup-group>div{display:flex!important;align-items:center!important;gap:5px!important}
body.page-staff-pos .pos23-setup-group button{min-height:32px!important;padding:5px 8px!important;border:0!important;border-radius:8px!important;background:#fff!important;color:#2c2420!important;font-size:10px!important;font-weight:800!important}
body.page-staff-pos .pos23-setup-group button.active{background:#722a26!important;color:#fff!important}
body.page-staff-pos .pos26-locked-branch strong{font-size:11px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;max-width:110px!important}
body.page-staff-pos .pos23-success,body.page-staff-pos .pos23-error{padding:10px 12px!important;border-radius:11px!important;margin:7px 0!important;font-weight:800!important;font-size:12px!important}
body.page-staff-pos .pos23-success{background:#eaf4ed!important;color:#405749!important;border:1px solid #cfe0d4!important}
body.page-staff-pos .pos23-error{background:#fff0ee!important;color:#9a3832!important;border:1px solid #edcbc7!important}
body.page-staff-pos .pos44-recent{margin:0 0 10px!important;padding:11px!important;border:1px solid #e5d9cc!important;border-radius:14px!important;background:#fbf7f1!important;box-shadow:none!important}
body.page-staff-pos .pos44-recent-head{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin-bottom:8px!important}
body.page-staff-pos .pos44-recent-head b,body.page-staff-pos .pos44-recent-head small{display:block!important}
body.page-staff-pos .pos44-recent-head small{font-size:9px!important;color:#786a62!important}
body.page-staff-pos .pos44-recent-head button{width:34px!important;height:34px!important;min-height:34px!important;border:1px solid #e5d9cc!important;border-radius:9px!important;background:#fff!important;padding:0!important}
body.page-staff-pos .pos44-recent-list{display:flex!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;padding-bottom:2px!important;scrollbar-width:thin!important;-webkit-overflow-scrolling:touch!important}
body.page-staff-pos .pos44-order-card{flex:0 0 235px!important;min-width:235px!important;padding:9px!important;border:1px solid #e5d9cc!important;border-radius:11px!important;background:#fff!important}
body.page-staff-pos .pos44-order-top{display:flex!important;justify-content:space-between!important;gap:7px!important;align-items:flex-start!important}
body.page-staff-pos .pos44-order-top b,body.page-staff-pos .pos44-order-top small{display:block!important}.page-staff-pos .pos44-order-top small{font-size:9px!important;color:#786a62!important}
body.page-staff-pos .pos44-methods{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin-top:7px!important}
body.page-staff-pos .pos44-methods button,body.page-staff-pos .pos24-payment-options button{min-height:34px!important;border:1px solid #e5d9cc!important;background:#fff!important;border-radius:9px!important;padding:5px!important;font-size:10px!important;font-weight:800!important;color:#2c2420!important}
body.page-staff-pos .pos44-methods button.active,body.page-staff-pos .pos24-payment-options button.active,body.page-staff-pos .pos24-payment-options button[aria-pressed="true"]{background:#722a26!important;border-color:#722a26!important;color:#fff!important}
body.page-staff-pos .pos23-categories{display:flex!important;gap:7px!important;overflow-x:auto!important;overflow-y:hidden!important;padding:2px 0 10px!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important}
body.page-staff-pos .pos23-categories button{flex:0 0 auto!important;white-space:nowrap!important;min-height:37px!important;padding:7px 12px!important;border:1px solid #e5d9cc!important;border-radius:999px!important;background:#fff!important;font-size:11px!important;font-weight:800!important;color:#2c2420!important}
body.page-staff-pos .pos23-categories button.active{background:#722a26!important;color:#fff!important;border-color:#722a26!important}
body.page-staff-pos .pos23-products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
body.page-staff-pos .pos23-product{min-width:0!important;position:relative!important;background:#fff!important;border:1px solid #e5d9cc!important;border-radius:14px!important;padding:7px!important;overflow:hidden!important;display:grid!important;grid-template-rows:1fr auto!important;gap:5px!important;box-shadow:0 3px 11px rgba(62,41,32,.04)!important}
body.page-staff-pos .pos23-product-main{width:100%!important;padding:0!important;border:0!important;background:transparent!important;text-align:start!important;display:block!important;color:#2c2420!important;min-height:0!important}
body.page-staff-pos .pos23-image{width:100%!important;aspect-ratio:1.08/1!important;height:auto!important;display:grid!important;place-items:center!important;border-radius:10px!important;background:#f7f2eb!important;overflow:hidden!important}
body.page-staff-pos .pos23-image img{width:100%!important;height:100%!important;object-fit:contain!important;display:block!important}
body.page-staff-pos .pos23-info{display:block!important;padding:7px 2px 2px!important;min-width:0!important}
body.page-staff-pos .pos23-info strong{display:block!important;font-size:13px!important;line-height:1.35!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.page-staff-pos .pos23-info small{display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:27px!important;font-size:9px!important;line-height:1.45!important;color:#786a62!important;margin-top:2px!important}
body.page-staff-pos .pos23-price{display:block!important;margin-top:4px!important;font-size:12px!important;font-weight:900!important;color:#722a26!important}
body.page-staff-pos .pos23-product-qty{display:grid!important;grid-template-columns:34px 1fr 34px!important;align-items:center!important;gap:5px!important;border-top:1px solid #eee3d9!important;padding-top:6px!important}
body.page-staff-pos .pos23-product-qty button{width:34px!important;height:34px!important;min-height:34px!important;padding:0!important;border:0!important;border-radius:9px!important;background:#f2e7dd!important;color:#722a26!important;font-size:18px!important;font-weight:900!important}
body.page-staff-pos .pos23-product-qty .pos23-plus{background:#722a26!important;color:#fff!important}
body.page-staff-pos .pos23-product-qty b{text-align:center!important;font-size:13px!important}
body.page-staff-pos .pos23-offer,body.page-staff-pos .pos23-sold{position:absolute!important;z-index:3!important;top:12px!important;inset-inline-start:12px!important;padding:4px 7px!important;border-radius:999px!important;font-size:9px!important;font-weight:900!important}.page-staff-pos .pos23-offer{background:#722a26!important;color:#fff!important}.page-staff-pos .pos23-sold{background:#4b403b!important;color:#fff!important}
body.page-staff-pos .a6-pos-cart{position:sticky!important;top:82px!important;display:flex!important;flex-direction:column!important;max-height:calc(100dvh - 98px)!important;overflow:hidden!important;background:#fff!important;border:1px solid #e5d9cc!important;border-radius:17px!important;box-shadow:0 8px 26px rgba(62,41,32,.08)!important;z-index:20!important}
body.page-staff-pos .pos23-cart-head{flex:0 0 auto!important;padding:12px!important;border-bottom:1px solid #e5d9cc!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;background:#fff!important}
body.page-staff-pos .pos23-cart-head small{font-size:9px!important;color:#9a3832!important;font-weight:900!important}.page-staff-pos .pos23-cart-head h2{margin:2px 0 0!important;font-size:17px!important}
body.page-staff-pos .pos23-cart-head-actions{display:flex!important;align-items:center!important;gap:5px!important}.page-staff-pos .pos23-cart-head-actions button{min-height:34px!important;padding:6px 9px!important;border:1px solid #e5d9cc!important;border-radius:9px!important;background:#fff!important;color:#2c2420!important;font-weight:800!important}.page-staff-pos #pos23-cart-close{width:34px!important;padding:0!important;font-size:20px!important}
body.page-staff-pos .pos23-cart-scroll{min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:11px!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important}
body.page-staff-pos .pos23-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:0!important;border:0!important}
body.page-staff-pos .pos23-summary span{background:#fbf7f1!important;border:1px solid #eee3d9!important;border-radius:10px!important;padding:8px!important;min-width:0!important}.page-staff-pos .pos23-summary small,.page-staff-pos .pos23-summary b{display:block!important}.page-staff-pos .pos23-summary small{font-size:8px!important;color:#786a62!important}.page-staff-pos .pos23-summary b{font-size:10px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
body.page-staff-pos .pos23-cart-items{display:grid!important;gap:7px!important;margin:10px 0!important;max-height:none!important;overflow:visible!important}
body.page-staff-pos .pos23-cart-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;padding:8px!important;border:1px solid #e5d9cc!important;border-radius:11px!important;background:#fff!important}.page-staff-pos .pos23-cart-row strong,.page-staff-pos .pos23-cart-row em,.page-staff-pos .pos23-cart-row small{display:block!important}.page-staff-pos .pos23-cart-row strong{font-size:11px!important}.page-staff-pos .pos23-cart-row em{font-style:normal!important;font-size:8px!important;color:#786a62!important}.page-staff-pos .pos23-cart-row small{font-size:9px!important;font-weight:800!important;color:#722a26!important}
body.page-staff-pos .pos23-row-actions{display:flex!important;align-items:center!important;gap:4px!important}.page-staff-pos .pos23-row-actions button{width:28px!important;height:28px!important;min-height:28px!important;padding:0!important;border:0!important;border-radius:7px!important;background:#f2e7dd!important;color:#722a26!important}.page-staff-pos .pos23-row-actions .pos23-remove{background:#fff0ee!important;color:#9a3832!important}
body.page-staff-pos #pos23-form{display:grid!important;gap:9px!important}.page-staff-pos .pos24-payment{display:grid!important;gap:6px!important;padding:10px!important;border:1px solid #e5d9cc!important;border-radius:12px!important;background:#fbf7f1!important}.page-staff-pos .pos24-payment-title b,.page-staff-pos .pos24-payment-title small{display:block!important}.page-staff-pos .pos24-payment-title small{font-size:8px!important;color:#786a62!important}.page-staff-pos .pos24-payment-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
body.page-staff-pos .pos23-customer{border:1px solid #e5d9cc!important;border-radius:12px!important;padding:9px!important;background:#fff!important}.page-staff-pos .pos23-customer summary{font-size:11px!important;font-weight:900!important;cursor:pointer!important}.page-staff-pos .pos23-customer>div{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;margin-top:8px!important}
body.page-staff-pos .pos23-customer label,body.page-staff-pos .pos23-car-fields label,body.page-staff-pos .pos23-delivery,body.page-staff-pos .pos23-benefit,body.page-staff-pos .pos23-notes{display:grid!important;gap:4px!important;font-size:10px!important;color:#786a62!important;font-weight:700!important}.page-staff-pos #pos23-form input,.page-staff-pos #pos23-form textarea{width:100%!important;min-height:40px!important;border:1px solid #e5d9cc!important;border-radius:9px!important;background:#fff!important;padding:8px!important;font-size:12px!important}.page-staff-pos #pos23-form textarea{min-height:64px!important;resize:vertical!important}
body.page-staff-pos .pos23-car-fields{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}.page-staff-pos .pos23-car-fields[hidden],.page-staff-pos .pos23-delivery[hidden],.page-staff-pos .pos23-benefit[hidden]{display:none!important}
body.page-staff-pos .a6-pos-totals{padding:10px 0 0!important;border-top:1px solid #e5d9cc!important;display:grid!important;gap:6px!important}.page-staff-pos .a6-pos-totals>div{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important}.page-staff-pos .pos23-total{font-size:17px!important;font-weight:900!important;color:#722a26!important}
body.page-staff-pos .pos23-submit{width:100%!important;min-height:50px!important;border:0!important;border-radius:12px!important;background:#722a26!important;color:#fff!important;font-size:14px!important;font-weight:900!important;padding:10px!important}.page-staff-pos .pos23-submit:disabled{opacity:.55!important}
body.page-staff-pos .pos27-floating-cart{display:none!important}
body.page-staff-pos .pos23-backdrop{display:none!important}
body.page-staff-pos .pos23-options-modal,body.page-staff-pos .pos26-branch-modal{position:fixed!important;inset:0!important;z-index:2300!important;background:rgba(31,23,20,.58)!important;align-items:center!important;justify-content:center!important;padding:14px!important;overflow:auto!important}.page-staff-pos .pos23-options-modal:not([hidden]),.page-staff-pos .pos26-branch-modal:not([hidden]){display:flex!important}
body.page-staff-pos .pos23-options-card,body.page-staff-pos .pos26-branch-card{width:min(680px,100%)!important;max-height:min(88dvh,760px)!important;overflow:auto!important;background:#fff8ea!important;border:1px solid #ead8c9!important;border-radius:20px!important;padding:16px!important;box-shadow:0 26px 80px rgba(42,28,23,.28)!important;-webkit-overflow-scrolling:touch!important;position:relative!important}.page-staff-pos .pos23-options-close,.page-staff-pos .ald-universal-close{position:absolute!important;top:10px!important;inset-inline-end:10px!important;width:38px!important;height:38px!important;min-height:38px!important;border:0!important;border-radius:10px!important;background:#fff!important;color:#722a26!important;font-size:22px!important;z-index:5!important}.page-staff-pos .pos23-options-product{display:grid!important;grid-template-columns:76px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;padding:4px 46px 12px 0!important;border-bottom:1px solid #e5d9cc!important}.page-staff-pos[dir="rtl"] .pos23-options-product{padding:4px 0 12px 46px!important}.page-staff-pos .pos23-options-product img{width:76px!important;height:76px!important;object-fit:contain!important;background:#fff!important;border-radius:12px!important}.page-staff-pos .pos23-option-group{padding:12px 0!important;border-bottom:1px solid #e5d9cc!important}.page-staff-pos .pos23-option-title{display:flex!important;justify-content:space-between!important;gap:10px!important;align-items:center!important;margin-bottom:7px!important}.page-staff-pos .pos23-option-title small{font-size:9px!important;color:#9a3832!important;font-weight:900!important}.page-staff-pos .pos23-option-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.page-staff-pos .pos23-option-choice{display:grid!important;grid-template-columns:auto 1fr auto!important;gap:7px!important;align-items:center!important;padding:9px!important;border:1px solid #e5d9cc!important;border-radius:10px!important;background:#fff!important;font-size:11px!important}.page-staff-pos .pos23-option-choice input{width:18px!important;height:18px!important;min-height:18px!important;margin:0!important}.page-staff-pos .ald-product-popup-qty{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:12px 0!important}.page-staff-pos .ald-product-popup-stepper{display:grid!important;grid-template-columns:38px 56px 38px!important;gap:5px!important;align-items:center!important}.page-staff-pos .ald-product-popup-stepper button{height:38px!important;min-height:38px!important;border:0!important;border-radius:9px!important;background:#722a26!important;color:#fff!important;font-size:18px!important}.page-staff-pos .ald-product-popup-stepper input{height:38px!important;min-height:38px!important;border:1px solid #e5d9cc!important;border-radius:9px!important;text-align:center!important;padding:4px!important}

@media(max-width:1180px){
 body.page-staff-pos .a6-pos-workspace{grid-template-columns:minmax(0,1fr) 330px!important}
 body.page-staff-pos .pos23-products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.page-staff-pos .a6-pos-search-row{grid-template-columns:1fr!important}
 body.page-staff-pos .pos23-setup{justify-content:flex-start!important}
}
@media(max-width:1099px){
 body.page-staff-pos .a6-pos{display:block!important}
 body.page-staff-pos .a6-pos-sidebar{display:none!important}
 body.page-staff-pos .a6-pos-main{padding:0 12px calc(92px + env(safe-area-inset-bottom))!important}
 body.page-staff-pos .a6-pos-workspace{display:block!important;padding-top:10px!important}
 body.page-staff-pos .a6-pos-catalog{padding:11px!important}
 body.page-staff-pos .a6-pos-cart{position:fixed!important;z-index:2250!important;top:auto!important;inset-inline:0!important;bottom:0!important;width:100%!important;max-width:none!important;height:min(88dvh,820px)!important;max-height:calc(var(--ald-pos-vh,100dvh) - max(16px,env(safe-area-inset-top)))!important;border-radius:20px 20px 0 0!important;border:1px solid #decdbf!important;border-bottom:0!important;box-shadow:0 -18px 54px rgba(42,28,23,.26)!important;transform:translateY(105%)!important;transition:transform .2s ease!important;visibility:hidden!important;display:flex!important}
 body.page-staff-pos .a6-pos-cart.open,body.page-staff-pos .a6-pos-cart.is-open{transform:translateY(0)!important;visibility:visible!important}
 body.page-staff-pos .a6-pos-cart[hidden]{display:none!important}
 body.page-staff-pos .pos23-cart-scroll{padding:11px 12px calc(18px + env(safe-area-inset-bottom))!important}
 body.page-staff-pos .pos23-backdrop{position:fixed!important;inset:0!important;z-index:2200!important;background:rgba(31,23,20,.52)!important;border:0!important;border-radius:0!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important}
 body.page-staff-pos .pos23-backdrop:not([hidden]){display:block!important}
 body.page-staff-pos .pos27-floating-cart{position:fixed!important;z-index:2100!important;display:grid!important;grid-template-columns:auto auto auto 1fr!important;align-items:center!important;gap:8px!important;inset-inline:12px!important;bottom:max(12px,env(safe-area-inset-bottom))!important;min-height:58px!important;padding:8px 12px!important;border:0!important;border-radius:16px!important;background:#722a26!important;color:#fff!important;box-shadow:0 14px 34px rgba(77,35,31,.28)!important;font-weight:900!important}
 body.page-staff-pos .pos27-floating-icon{font-size:19px!important}.page-staff-pos .pos27-floating-badge,.page-staff-pos #pos27-floating-badge{min-width:25px!important;height:25px!important;border-radius:999px!important;background:#fff!important;color:#722a26!important;display:grid!important;place-items:center!important;font-size:11px!important}.page-staff-pos .pos27-floating-total{justify-self:end!important;font-size:12px!important;white-space:nowrap!important}
 body.page-staff-pos .a6-pos-topbar{min-height:62px!important}
 body.page-staff-pos .pos23-products{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:720px){
 body.page-staff-pos .a6-pos-main{padding-inline:9px!important}
 body.page-staff-pos .a6-pos-topbar{gap:6px!important;padding:7px 0!important}.page-staff-pos .a6-pos-user{display:none!important}.page-staff-pos .a6-pos-location{flex:1!important;min-width:0!important}.page-staff-pos .a6-pos-location>div{min-width:0!important}.page-staff-pos .a6-pos-location b{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body.page-staff-pos .a6-pos-catalog{border-radius:14px!important;padding:9px!important}
 body.page-staff-pos .pos23-search{height:44px!important}.page-staff-pos .pos23-search input{font-size:16px!important}
 body.page-staff-pos .pos23-setup{display:grid!important;grid-template-columns:1fr 1fr!important;width:100%!important;gap:6px!important}.page-staff-pos .pos23-setup-group{min-width:0!important;width:100%!important}.page-staff-pos #pos23-eva-service{grid-column:1/-1!important}.page-staff-pos #pos23-eva-service>div{display:grid!important;grid-template-columns:1fr 1fr!important}
 body.page-staff-pos .pos44-order-card{flex-basis:210px!important;min-width:210px!important}
 body.page-staff-pos .pos23-products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 body.page-staff-pos .pos23-product{padding:6px!important;border-radius:12px!important}.page-staff-pos .pos23-info strong{font-size:12px!important}.page-staff-pos .pos23-info small{font-size:8px!important;min-height:24px!important}.page-staff-pos .pos23-price{font-size:11px!important}.page-staff-pos .pos23-product-qty{grid-template-columns:32px 1fr 32px!important}.page-staff-pos .pos23-product-qty button{width:32px!important;height:32px!important;min-height:32px!important}
 body.page-staff-pos .a6-pos-cart{height:min(92dvh,860px)!important}
 body.page-staff-pos .pos23-cart-head{padding:10px 11px!important}.page-staff-pos .pos23-cart-head h2{font-size:16px!important}.page-staff-pos .pos23-jump-checkout{display:none!important}
 body.page-staff-pos .pos23-customer>div,body.page-staff-pos .pos23-car-fields{grid-template-columns:1fr!important}
 body.page-staff-pos .pos23-option-list{grid-template-columns:1fr!important}.page-staff-pos .pos23-options-card,.page-staff-pos .pos26-branch-card{width:100%!important;max-height:92dvh!important;border-radius:18px 18px 0 0!important;margin-top:auto!important;margin-bottom:-14px!important;padding-bottom:calc(18px + env(safe-area-inset-bottom))!important}.page-staff-pos .pos23-options-modal,.page-staff-pos .pos26-branch-modal{align-items:flex-end!important;padding:14px 10px 0!important}
 body.page-staff-pos .pos27-floating-cart{inset-inline:9px!important;min-height:56px!important;border-radius:15px!important}
}
@media(max-width:390px){body.page-staff-pos .pos23-products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.page-staff-pos .pos23-setup{grid-template-columns:1fr!important}.page-staff-pos #pos23-eva-service{grid-column:auto!important}.page-staff-pos .pos27-floating-text{font-size:11px!important}.page-staff-pos .pos27-floating-total{font-size:10px!important}}


/* ======================================================================
   ALDHAMEN 6.6.55 - global viewport / modal / cart architecture repair
   One authoritative layer for customer, staff, POS and admin surfaces.
   ====================================================================== */
html,body{width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:hidden!important}
body.aldhamen-ui-v6662{min-width:0!important}
body.aldhamen-ui-v6662 *{min-width:0}
body.aldhamen-ui-v6662 img,body.aldhamen-ui-v6662 video,body.aldhamen-ui-v6662 canvas,body.aldhamen-ui-v6662 svg{max-width:100%;height:auto}
body.aldhamen-ui-v6662 [hidden]{display:none!important}

/* Kill obsolete first-launch splash state if an older cached runtime injects it. */
body.aldhamen-ui-v6662 .aldhamen-app-splash{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
html.aldhamen-first-launch body.aldhamen-ui-v6662 .aldhamen-app-splash,
body.aldhamen-first-launch.aldhamen-ui-v6662 .aldhamen-app-splash{display:none!important}

/* Actual overlay wrappers only. A .choice-modal is a CARD, never an overlay. */
body.aldhamen-ui-v6662 .modal-backdrop,
body.aldhamen-ui-v6662 [data-ald-overlay],
body.aldhamen-ui-v6662 .inline-order-overlay,
body.aldhamen-ui-v6662 .image-zoom-modal,
body.aldhamen-ui-v6662 .customer-cart-backdrop,
body.aldhamen-ui-v6662 .staff-cart-backdrop{
  position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;
  max-width:none!important;max-height:none!important;margin:0!important;
  background:rgba(31,23,20,.58)!important;backdrop-filter:blur(4px);
  z-index:2300!important;padding:max(12px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;
  align-items:center!important;justify-content:center!important;overflow:auto!important;overscroll-behavior:contain!important;
}
body.aldhamen-ui-v6662 .modal-backdrop:not([hidden]),
body.aldhamen-ui-v6662 [data-ald-overlay]:not([hidden]),
body.aldhamen-ui-v6662 .inline-order-overlay:not([hidden]),
body.aldhamen-ui-v6662 .image-zoom-modal:not([hidden]),
body.aldhamen-ui-v6662 .customer-cart-backdrop:not([hidden]),
body.aldhamen-ui-v6662 .staff-cart-backdrop:not([hidden]){display:flex!important}

/* Modal cards. This explicitly reverses the bad 6.6.51-6.6.54 .choice-modal rule. */
body.aldhamen-ui-v6662 .choice-modal,
body.aldhamen-ui-v6662 .image-zoom-card,
body.aldhamen-ui-v6662 .inline-order-card,
body.aldhamen-ui-v6662 .pos23-options-card,
body.aldhamen-ui-v6662 .pos26-branch-card,
body.aldhamen-ui-v6662 .pwa-install-card,
body.aldhamen-ui-v6662 .staff54-reconcile-card,
body.aldhamen-ui-v6662 .modal-card,
body.aldhamen-ui-v6662 .order-modal-card,
body.aldhamen-ui-v6662 .popup-card{
  position:relative!important;inset:auto!important;display:block!important;
  width:min(680px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;
  height:auto!important;max-height:calc(100dvh - max(24px,env(safe-area-inset-top) + env(safe-area-inset-bottom) + 12px))!important;
  margin:auto!important;padding:clamp(16px,3vw,28px)!important;
  overflow:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;
  background:var(--ald-cream,#fff8ea)!important;color:var(--ald-ink,#2c2420)!important;
  border:1px solid var(--ald-line,#e5d9cc)!important;border-radius:22px!important;
  box-shadow:0 28px 90px rgba(30,20,17,.32)!important;
  align-items:initial!important;justify-content:initial!important;z-index:auto!important;
}
body.aldhamen-ui-v6662 .choice-modal{width:min(540px,calc(100vw - 24px))!important;text-align:center!important}
body.aldhamen-ui-v6662 .choice-modal>img{width:clamp(72px,18vw,108px)!important;height:clamp(72px,18vw,108px)!important;object-fit:contain!important;margin:0 auto 8px!important;background:transparent!important}
body.aldhamen-ui-v6662 .choice-modal .choice-step{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
body.aldhamen-ui-v6662 .choice-modal .choice-step[hidden]{display:none!important}
body.aldhamen-ui-v6662 .choice-grid{width:100%!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
body.aldhamen-ui-v6662 .choice-grid button{width:100%!important;min-height:86px!important}

/* Customer menu/cart: never allow a child panel to become the page width context. */
body.page-home .order-layout{width:100%!important;min-width:0!important}
body.page-home .menu-panel,body.page-home .nx-menu-panel{min-width:0!important;width:100%!important}
body.page-home .products{align-items:start!important;grid-auto-rows:max-content!important}
body.page-home .product{height:auto!important;min-height:0!important;align-self:start!important}
body.page-home .product-image{height:auto!important;aspect-ratio:1/1!important}
body.page-home .product-image img{width:100%!important;height:100%!important;object-fit:contain!important}

/* POS: compact natural-height products, not stretched tracks. */
body.page-staff-pos .a6-pos,
body.page-staff-pos .a6-pos-main,
body.page-staff-pos .a6-pos-workspace,
body.page-staff-pos .a6-pos-catalog{min-width:0!important;max-width:100%!important}
body.page-staff-pos .pos23-products{align-items:start!important;grid-auto-rows:max-content!important}
body.page-staff-pos .pos23-product{height:auto!important;min-height:0!important;align-self:start!important;grid-template-rows:auto auto!important}
body.page-staff-pos .pos23-product-main{height:auto!important;min-height:0!important}
body.page-staff-pos .pos23-image{height:auto!important;aspect-ratio:1/1!important;min-height:0!important}
body.page-staff-pos .pos23-image img{width:100%!important;height:100%!important;object-fit:contain!important}

/* A fixed portal cart must always use the viewport, never an ancestor's transformed box. */
@media(max-width:1099px){
  body.page-staff-pos{width:100%!important;max-width:100%!important;overflow-x:hidden!important;transform:none!important;filter:none!important;perspective:none!important}
  body.page-staff-pos .a6-pos,body.page-staff-pos .a6-pos-main,body.page-staff-pos .a6-pos-workspace{transform:none!important;filter:none!important;perspective:none!important;contain:none!important}
  body.page-staff-pos #pos23-cart.ald-portal-fixed{
    position:fixed!important;left:0!important;right:0!important;inset-inline:0!important;bottom:0!important;top:auto!important;
    width:100vw!important;min-width:100vw!important;max-width:100vw!important;
    height:min(92dvh,880px)!important;max-height:calc(100dvh - max(8px,env(safe-area-inset-top)))!important;
    margin:0!important;border-radius:22px 22px 0 0!important;border-bottom:0!important;
    transform:translate3d(0,105%,0)!important;visibility:hidden!important;z-index:2450!important;
  }
  body.page-staff-pos #pos23-cart.ald-portal-fixed.open,
  body.page-staff-pos #pos23-cart.ald-portal-fixed.is-open{transform:translate3d(0,0,0)!important;visibility:visible!important}
  body.page-staff-pos #pos23-backdrop.ald-portal-fixed{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:2400!important;margin:0!important;border:0!important;border-radius:0!important}
  body.page-staff-pos .pos23-cart-scroll{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important}
}

/* Customer mobile cart gets the same viewport-safe bottom sheet treatment. */
@media(max-width:820px){
  body.page-home{overflow-x:hidden!important}
  body.page-home #cart-panel.ald-portal-fixed{
    position:fixed!important;left:0!important;right:0!important;inset-inline:0!important;bottom:0!important;top:auto!important;
    width:100vw!important;min-width:100vw!important;max-width:100vw!important;
    max-height:90dvh!important;margin:0!important;padding:15px!important;
    border-radius:22px 22px 0 0!important;border-bottom:0!important;z-index:2450!important;overflow:hidden!important;
  }
  body.page-home #cart-panel.ald-portal-fixed.mobile-open{display:flex!important;flex-direction:column!important}
  body.page-home #customer-cart-backdrop.ald-portal-fixed{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:2400!important}
  body.page-home .customer-cart-scroll{flex:1 1 auto!important;min-height:0!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}
  body.aldhamen-ui-v6662 .choice-modal{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;border-radius:20px!important;padding:20px 14px!important}
  body.aldhamen-ui-v6662 .choice-grid{grid-template-columns:1fr!important}
  body.aldhamen-ui-v6662 .choice-grid button{min-height:72px!important}
}

/* Universal mobile sizing: controls, cards and tables must stay inside the viewport. */
@media(max-width:720px){
  body.aldhamen-ui-v6662 input,body.aldhamen-ui-v6662 select,body.aldhamen-ui-v6662 textarea{font-size:16px!important;max-width:100%!important}
  body.aldhamen-ui-v6662 button,body.aldhamen-ui-v6662 a{max-width:100%}
  body.aldhamen-ui-v6662 .ald-table-scroll{width:100%!important;max-width:100vw!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important}
  body.aldhamen-ui-v6662 .modal-backdrop,body.aldhamen-ui-v6662 [data-ald-overlay]{padding:8px!important}
}

/* ======================================================================
   ALDHAMEN 6.6.56 - customer ordering/cart complete repair
   Restores customer-only selectors that were lost when legacy CSS bundles
   were removed, while keeping one consolidated stylesheet.
   ====================================================================== */
body.page-home.aldhamen-ui-v6662 .cart-title{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:10px!important;padding:12px 14px!important;min-height:72px!important;background:#fff!important;
}
body.page-home.aldhamen-ui-v6662 .cart-title>div:first-child{display:grid!important;gap:1px!important;min-width:0!important}
body.page-home.aldhamen-ui-v6662 .cart-title small{font-size:9px!important;letter-spacing:.09em!important;color:var(--ald-muted)!important}
body.page-home.aldhamen-ui-v6662 .cart-title h2{margin:0!important;font-size:22px!important;line-height:1.15!important;color:var(--ald-ink)!important}
body.page-home.aldhamen-ui-v6662 .cart-title-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:7px!important;min-width:0!important;flex:0 0 auto!important}
body.page-home.aldhamen-ui-v6662 .cart-title-actions>#cart-count{display:grid!important;place-items:center!important;width:32px!important;height:32px!important;min-width:32px!important;border-radius:999px!important;background:var(--ald-wine)!important;color:#fff!important;font-weight:900!important;font-size:12px!important}
body.page-home.aldhamen-ui-v6662 .cart-jump-checkout{min-height:38px!important;padding:7px 10px!important;border:0!important;border-radius:10px!important;background:var(--ald-soft)!important;color:var(--ald-ink)!important;font-size:11px!important;font-weight:900!important;white-space:nowrap!important}
body.page-home.aldhamen-ui-v6662 .customer-cart-close{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;border:0!important;border-radius:10px!important;background:#f1eeeb!important;color:var(--ald-ink)!important;font-size:22px!important;line-height:1!important}

body.page-home.aldhamen-ui-v6662 .cart-gazelle-bin{
  position:relative!important;width:46px!important;height:46px!important;min-width:46px!important;max-width:46px!important;
  flex:0 0 46px!important;border-radius:50%!important;display:grid!important;place-items:center!important;
  overflow:visible!important;background:#fbf6f0!important;border:1px solid var(--ald-line)!important;
  box-shadow:0 5px 14px rgba(53,31,23,.07)!important;
}
body.page-home.aldhamen-ui-v6662 .cart-gazelle-bin img{
  display:block!important;width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important;
  max-height:38px!important;object-fit:contain!important;margin:0!important;padding:0!important;transform-origin:50% 68%!important;
}
body.page-home.aldhamen-ui-v6662 .cart-gazelle-bin span{
  position:absolute!important;top:calc(100% + 4px)!important;inset-inline-start:50%!important;
  transform:translateX(-50%) translateY(-2px)!important;white-space:nowrap!important;
  background:var(--ald-green)!important;color:#fff!important;border-radius:999px!important;padding:3px 7px!important;
  font-size:8px!important;font-weight:900!important;opacity:0!important;pointer-events:none!important;z-index:2!important;
}
body.page-home.aldhamen-ui-v6662 .cart-gazelle-bin.chomp img{animation:ald6657GazelleChomp .42s ease both!important}
body.page-home.aldhamen-ui-v6662 .cart-gazelle-bin.ate span{animation:ald6657GazelleAte .9s ease both!important}
@keyframes ald6657GazelleChomp{0%{transform:scale(1)}35%{transform:scale(1.12,.9) rotate(-4deg)}65%{transform:scale(.94,1.08) rotate(4deg)}100%{transform:scale(1)}}
@keyframes ald6657GazelleAte{0%{opacity:0;transform:translateX(-50%) translateY(3px)}20%,70%{opacity:1;transform:translateX(-50%) translateY(0)}100%{opacity:0;transform:translateX(-50%) translateY(-4px)}}
body.page-home.aldhamen-ui-v6662 .gazelle-flying-item{position:fixed!important;z-index:9999!important;pointer-events:none!important;width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important;object-fit:contain!important;border-radius:12px!important;background:rgba(255,255,255,.94)!important;padding:3px!important;box-shadow:0 10px 26px rgba(31,20,16,.22)!important}

body.page-home.aldhamen-ui-v6662 .customer-cart-scroll{display:block!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;padding:12px 14px calc(18px + env(safe-area-inset-bottom))!important}
body.page-home.aldhamen-ui-v6662 .order-selection-summary{display:grid!important;grid-template-columns:1fr 1fr auto!important;gap:8px!important;align-items:center!important;background:#fbf7f1!important;border:1px solid var(--ald-line)!important;border-radius:13px!important;padding:10px!important;margin-bottom:10px!important}
body.page-home.aldhamen-ui-v6662 .order-selection-summary>div{min-width:0!important}
body.page-home.aldhamen-ui-v6662 .order-selection-summary small,body.page-home.aldhamen-ui-v6662 .order-selection-summary b{display:block!important}
body.page-home.aldhamen-ui-v6662 .order-selection-summary small{font-size:9px!important;color:var(--ald-muted)!important}
body.page-home.aldhamen-ui-v6662 .order-selection-summary b{font-size:12px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body.page-home.aldhamen-ui-v6662 #change-order-setup{min-height:36px!important;padding:6px 10px!important;background:#fff!important;border:1px solid var(--ald-line)!important;color:var(--ald-wine)!important;border-radius:9px!important;font-size:10px!important;font-weight:900!important}
body.page-home.aldhamen-ui-v6662 .cart-items{display:grid!important;gap:7px!important;min-height:52px!important}
body.page-home.aldhamen-ui-v6662 .empty{text-align:center!important;color:var(--ald-muted)!important;padding:14px!important;background:#fbf7f1!important;border:1px dashed var(--ald-line)!important;border-radius:12px!important;margin:0!important;font-size:12px!important}
body.page-home.aldhamen-ui-v6662 .cart-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important;padding:9px 0!important;border-bottom:1px solid var(--ald-line)!important;min-height:52px!important}
body.page-home.aldhamen-ui-v6662 .cart-line-main{display:grid!important;gap:3px!important;min-width:0!important}
body.page-home.aldhamen-ui-v6662 .cart-row strong{font-size:12px!important;line-height:1.35!important}
body.page-home.aldhamen-ui-v6662 .cart-row small{font-size:10px!important;color:var(--ald-wine)!important;font-weight:800!important}
body.page-home.aldhamen-ui-v6662 .cart-line-actions{display:flex!important;align-items:center!important;gap:5px!important}
body.page-home.aldhamen-ui-v6662 .qty{display:flex!important;align-items:center!important;gap:5px!important;direction:ltr!important}
body.page-home.aldhamen-ui-v6662 .qty button{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;border:1px solid var(--ald-line)!important;border-radius:9px!important;background:#fff!important;color:var(--ald-wine)!important;font-weight:900!important}
body.page-home.aldhamen-ui-v6662 .qty b{min-width:18px!important;text-align:center!important;font-size:11px!important}
body.page-home.aldhamen-ui-v6662 .cart-remove-line{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;border:1px solid #e8cbc7!important;border-radius:9px!important;background:#fff5f4!important;color:var(--ald-red)!important;font-size:18px!important}

body.page-home.aldhamen-ui-v6662 .checkout-fields,body.page-home.aldhamen-ui-v6662 .form-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;margin-top:12px!important;min-width:0!important}
body.page-home.aldhamen-ui-v6662 .checkout-fields>.wide,body.page-home.aldhamen-ui-v6662 .form-grid>.wide{grid-column:1/-1!important}
body.page-home.aldhamen-ui-v6662 .checkout-fields label{min-width:0!important;font-size:11px!important;gap:5px!important}
body.page-home.aldhamen-ui-v6662 .checkout-fields input,body.page-home.aldhamen-ui-v6662 .checkout-fields select,body.page-home.aldhamen-ui-v6662 .checkout-fields textarea{min-height:44px!important;border-radius:10px!important;padding:9px 10px!important;background:#fff!important}
body.page-home.aldhamen-ui-v6662 .signed-customer-checkout,body.page-home.aldhamen-ui-v6662 .guest-checkout-banner,body.page-home.aldhamen-ui-v6662 .guest-account-cta,body.page-home.aldhamen-ui-v6662 .branch-note{display:grid!important;gap:4px!important;padding:10px 11px!important;border:1px solid var(--ald-line)!important;border-radius:11px!important;background:#fbf7f1!important;font-size:11px!important;line-height:1.6!important}
body.page-home.aldhamen-ui-v6662 .signed-customer-checkout b,body.page-home.aldhamen-ui-v6662 .guest-checkout-banner b{color:var(--ald-green)!important}
body.page-home.aldhamen-ui-v6662 .pickup-method{display:grid!important;gap:7px!important}
body.page-home.aldhamen-ui-v6662 .pickup-method>div,body.page-home.aldhamen-ui-v6662 .payment-options{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
body.page-home.aldhamen-ui-v6662 .pickup-method>div{grid-template-columns:1fr 1fr!important}
body.page-home.aldhamen-ui-v6662 .pickup-method button,body.page-home.aldhamen-ui-v6662 .payment-options button{min-height:42px!important;border:1px solid var(--ald-line)!important;border-radius:10px!important;background:#fff!important;color:var(--ald-ink)!important;padding:7px!important;font-weight:900!important;font-size:11px!important}
body.page-home.aldhamen-ui-v6662 .pickup-method button.active,body.page-home.aldhamen-ui-v6662 .payment-options button.active{background:var(--ald-wine)!important;color:#fff!important;border-color:var(--ald-wine)!important}
body.page-home.aldhamen-ui-v6662 .payment-wrap{display:grid!important;gap:7px!important}
body.page-home.aldhamen-ui-v6662 .benefit-box{display:grid!important;gap:10px!important;border:1px solid var(--ald-line)!important;background:#fbf7f1!important;border-radius:12px!important;padding:11px!important}
body.page-home.aldhamen-ui-v6662 .benefit-box[hidden]{display:none!important}
body.page-home.aldhamen-ui-v6662 .benefit-instructions{display:grid!important;gap:6px!important}
body.page-home.aldhamen-ui-v6662 .benefit-direct-summary,body.page-home.aldhamen-ui-v6662 .cart-charge-row{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:10px!important}
body.page-home.aldhamen-ui-v6662 .benefit-direct-button{width:100%!important;background:var(--ald-green)!important;color:#fff!important}
body.page-home.aldhamen-ui-v6662 .cart-charge-row{padding:10px 0 0!important;font-size:12px!important}
body.page-home.aldhamen-ui-v6662 .total{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 0!important;margin:0!important;font-size:14px!important}
body.page-home.aldhamen-ui-v6662 .total strong{font-size:18px!important;color:var(--ald-wine)!important;white-space:nowrap!important}
body.page-home.aldhamen-ui-v6662 #submit-order-button{width:100%!important;min-height:50px!important;background:var(--ald-wine)!important;color:#fff!important;border-radius:12px!important;font-size:15px!important;font-weight:900!important}

/* Customer choice modal must always have a real card and a visible active step. */
body.page-home.aldhamen-ui-v6662 #order-mode-modal{position:fixed!important;inset:0!important;z-index:2600!important;width:100vw!important;height:100dvh!important;background:rgba(31,23,20,.58)!important;backdrop-filter:blur(4px)!important;padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom))!important;align-items:center!important;justify-content:center!important;overflow:auto!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal[hidden]{display:none!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal:not([hidden]){display:flex!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal>.choice-modal{position:relative!important;inset:auto!important;display:block!important;width:min(520px,calc(100vw - 20px))!important;max-width:calc(100vw - 20px)!important;max-height:calc(100dvh - 20px)!important;overflow:auto!important;margin:auto!important;background:#fff8ea!important;border:1px solid var(--ald-line)!important;border-radius:22px!important;padding:22px 16px!important;text-align:center!important;box-shadow:0 28px 90px rgba(30,20,17,.32)!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal>.choice-modal>img{display:block!important;width:78px!important;height:78px!important;max-width:78px!important;max-height:78px!important;object-fit:contain!important;margin:2px auto 6px!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal .ald-universal-close{position:absolute!important;top:10px!important;inset-inline-end:10px!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;border:0!important;border-radius:10px!important;background:#fff!important;color:var(--ald-wine)!important;box-shadow:0 4px 14px rgba(50,30,22,.1)!important;font-size:22px!important;z-index:3!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal .modal-lang{position:absolute!important;top:10px!important;inset-inline-start:10px!important;display:grid!important;place-items:center!important;min-width:40px!important;height:38px!important;border:1px solid var(--ald-line)!important;border-radius:10px!important;background:#fff!important;font-size:10px!important;font-weight:900!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal .choice-step{position:static!important;display:block!important;width:100%!important;max-width:none!important;max-height:none!important;overflow:visible!important;background:transparent!important;border:0!important;border-radius:0!important;padding:8px 0 0!important;margin:0!important;box-shadow:none!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal .choice-step[hidden]{display:none!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal .choice-step h2{margin:7px 0 5px!important;font-size:22px!important;line-height:1.25!important;color:var(--ald-ink)!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal .choice-step p{margin:0 0 12px!important;color:var(--ald-muted)!important;font-size:12px!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal .choice-grid,body.page-home.aldhamen-ui-v6662 #order-mode-modal .entry-choice-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin:12px 0!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal .choice-grid button,body.page-home.aldhamen-ui-v6662 #order-mode-modal .entry-choice-grid>a{display:grid!important;place-items:center!important;gap:5px!important;min-height:92px!important;padding:12px!important;border:1px solid var(--ald-line)!important;border-radius:13px!important;background:#fff!important;color:var(--ald-ink)!important;font-weight:900!important;text-align:center!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal .choice-grid button span{font-size:24px!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal .entry-account-benefits{display:flex!important;justify-content:center!important;gap:6px!important;flex-wrap:wrap!important;margin-top:10px!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal .entry-account-benefits span{font-size:9px!important;background:#f6efe8!important;border-radius:999px!important;padding:5px 8px!important}
body.page-home.aldhamen-ui-v6662 #order-mode-modal .choice-back{width:auto!important;min-height:34px!important;padding:5px 9px!important;background:#fff!important;border:1px solid var(--ald-line)!important;color:var(--ald-wine)!important;border-radius:9px!important}

@media(max-width:820px){
  body.page-home.aldhamen-ui-v6662 #cart-panel.ald-portal-fixed{background:#fff!important;display:none!important;flex-direction:column!important;padding:0!important;height:min(88dvh,760px)!important;max-height:calc(100dvh - max(10px,env(safe-area-inset-top)))!important;overflow:hidden!important}
  body.page-home.aldhamen-ui-v6662 #cart-panel.ald-portal-fixed.mobile-open{display:flex!important}
  body.page-home.aldhamen-ui-v6662 .customer-cart-scroll{flex:1 1 auto!important;min-height:0!important}
  body.page-home.aldhamen-ui-v6662 .checkout-fields,body.page-home.aldhamen-ui-v6662 .form-grid{grid-template-columns:1fr!important}
  body.page-home.aldhamen-ui-v6662 .checkout-fields>.wide,body.page-home.aldhamen-ui-v6662 .form-grid>.wide{grid-column:auto!important}
  body.page-home.aldhamen-ui-v6662 .order-selection-summary{grid-template-columns:1fr 1fr!important}
  body.page-home.aldhamen-ui-v6662 #change-order-setup{grid-column:1/-1!important;width:100%!important}
  body.page-home.aldhamen-ui-v6662 .cart-title{padding:10px 11px!important}
  body.page-home.aldhamen-ui-v6662 .cart-title h2{font-size:18px!important}
  body.page-home.aldhamen-ui-v6662 .cart-jump-checkout{display:none!important}
  body.page-home.aldhamen-ui-v6662 .cart-gazelle-bin{width:40px!important;height:40px!important;min-width:40px!important;max-width:40px!important;flex-basis:40px!important}
  body.page-home.aldhamen-ui-v6662 .cart-gazelle-bin img{width:33px!important;height:33px!important;min-width:33px!important;max-width:33px!important;max-height:33px!important}
  body.page-home.aldhamen-ui-v6662 #order-mode-modal>.choice-modal{padding:19px 12px!important;border-radius:18px!important}
  body.page-home.aldhamen-ui-v6662 #order-mode-modal .choice-grid,body.page-home.aldhamen-ui-v6662 #order-mode-modal .entry-choice-grid{grid-template-columns:1fr!important}
  body.page-home.aldhamen-ui-v6662 #order-mode-modal .choice-grid button,body.page-home.aldhamen-ui-v6662 #order-mode-modal .entry-choice-grid>a{min-height:68px!important}
}
@media(max-width:390px){
  body.page-home.aldhamen-ui-v6662 .cart-title-actions{gap:5px!important}
  body.page-home.aldhamen-ui-v6662 .cart-title-actions>#cart-count{width:29px!important;height:29px!important;min-width:29px!important}
  body.page-home.aldhamen-ui-v6662 .customer-cart-close{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
  body.page-home.aldhamen-ui-v6662 .payment-options{grid-template-columns:1fr!important}
}

/* 6.6.61: customer components missing from the consolidated stylesheet. */
body.customer-ui-page{--ald-customer-nav-height:68px}
.customer-ui-page .brand strong,.customer-ui-page .brand span{display:block;line-height:1.35}
.customer-ui-page .brand strong{font-size:19px}
.customer-ui-page .brand span{font-size:11px;letter-spacing:.12em;color:var(--ald-muted)}
.customer-ui-page .header>p:empty{display:none}
.customer-ui-page .header-actions{min-width:0}
.customer-ui-page .customer-site-nav{display:flex;align-items:center;gap:6px}
.customer-ui-page .customer-nav-item{display:grid;justify-items:center;gap:3px;min-width:60px;padding:8px;border-radius:12px;font-size:12px}
.customer-ui-page .customer-nav-item.active{background:var(--ald-soft);color:var(--ald-wine)}
.customer-ui-page .ald-icon-slot{display:grid;place-items:center;width:22px;height:22px}
.customer-ui-page .ald-icon-svg{display:block;width:22px;height:22px;max-width:100%}
.customer-ui-page .customer-v54-dashboard{max-width:1180px;margin:auto;padding:20px 18px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.customer-ui-page .customer-v54-welcome{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.customer-ui-page .customer-v54-welcome h1{font-size:clamp(23px,4vw,32px);margin:3px 0 0;overflow-wrap:anywhere}
.customer-ui-page .customer-v54-avatar{display:grid;place-items:center;flex:0 0 46px;width:46px;height:46px;border-radius:50%;background:#fff;border:1px solid var(--ald-line);color:var(--ald-wine);font-size:24px}
.customer-ui-page .customer-v54-reward-card{display:grid;grid-template-columns:minmax(0,1fr) 38px;align-items:center;gap:8px;background:#fff;border:1px solid var(--ald-line);border-radius:18px;padding:16px;box-shadow:var(--ald-shadow-sm)}
.customer-ui-page .customer-v54-reward-card small,.customer-ui-page .customer-v54-reward-card b{display:block}
.customer-ui-page .customer-v54-reward-card b{font-size:18px;line-height:1.5}
.customer-ui-page .customer-v54-reward-card>span{grid-column:1/-1;font-size:13px;color:var(--ald-wine);border-top:1px solid var(--ald-line);padding-top:8px}
.customer-ui-page .a6614-balance-star{font-size:28px;color:var(--ald-wine);text-align:center}
.customer-ui-page .a6-featured-shelf{max-width:1180px;margin:0 auto;padding:4px 18px 18px}
.customer-ui-page .a6-featured-shelf>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.customer-ui-page .a6-featured-shelf h2{font-size:clamp(21px,3.5vw,28px);margin:3px 0 0}
.customer-ui-page .a6-featured-shelf>header button{flex-shrink:0;background:var(--ald-wine);color:#fff}
.customer-ui-page .featured-media-carousel{position:relative;isolation:isolate;overflow:hidden;border-radius:18px;background:#211c19;border:1px solid var(--ald-line)}
.customer-ui-page .featured-media-track{position:relative;width:100%;aspect-ratio:16/9}
.customer-ui-page .featured-media-slide{display:none;position:absolute;inset:0;overflow:hidden}
.customer-ui-page .featured-media-slide.active{display:block}
.customer-ui-page .featured-media-slide video,.customer-ui-page .featured-media-slide>img,.customer-ui-page .featured-media-slide>a>img{display:block;width:100%;height:100%;max-width:100%;object-fit:contain;background:#211c19}
.customer-ui-page .featured-media-caption{position:absolute;inset-inline:16px;bottom:48px;color:#fff;text-shadow:0 2px 5px #000}
.customer-ui-page .featured-media-dots{position:absolute;inset-inline:0;bottom:12px;display:flex;justify-content:center;gap:8px}
.customer-ui-page [data-featured-dot]{width:12px;height:12px;min-height:12px;padding:0;border-radius:50%;background:#aaa}
.customer-ui-page [data-featured-dot].active{background:#fff}
.customer-ui-page [data-featured-prev],.customer-ui-page [data-featured-next]{position:absolute;top:45%;z-index:2;width:40px;padding:0;background:#fff;color:var(--ald-wine)}
.customer-ui-page [data-featured-prev]{inset-inline-start:10px}
.customer-ui-page [data-featured-next]{inset-inline-end:10px}
.customer-ui-page .ald-featured-play{position:absolute;z-index:3;top:50%;left:50%;transform:translate(-50%,-50%);width:max-content;max-width:calc(100% - 32px);background:#fff;color:var(--ald-wine);box-shadow:var(--ald-shadow);min-height:48px;white-space:normal}
.customer-ui-page .ald-featured-error{position:absolute;inset-inline:12px;top:12px;margin:0;padding:8px;background:#fff;color:var(--ald-wine);border-radius:8px;font-size:13px;text-align:center}
body.page-home .a6-order-layout{grid-template-columns:minmax(0,1fr) minmax(330px,370px);align-items:start}
body.page-home .a6-order-layout>.menu-panel{grid-column:1;grid-row:1;min-width:0}
body.page-home .a6-order-layout>.cart-panel{grid-column:2;grid-row:1;min-width:0}
body.page-home .menu-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
body.page-home .menu-heading h1{font-size:25px;margin:4px 0 0}
body.page-home .menu-heading p:empty{display:none}
body.page-home .menu-heading-logo{flex:0 0 48px}
body.page-home .eyebrow{font-size:11px;letter-spacing:.13em;color:var(--ald-muted)}
body.page-home .menu-tools{align-items:center;flex-wrap:wrap}
body.page-home .menu-search{position:relative;display:block;min-width:150px}
body.page-home .menu-search>span{position:absolute;inset-inline-start:13px;top:50%;transform:translateY(-50%);font-size:22px;line-height:1}
body.page-home .menu-search input{padding-inline-start:38px}
body.page-home .categories{min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;overscroll-behavior-x:contain;touch-action:pan-x pan-y}
body.page-home .categories button{flex:0 0 auto;min-height:44px;line-height:1.4}
body.page-home .product{position:relative;display:flex;flex-direction:column}
body.page-home .product-image{display:block;width:100%;min-height:0;padding:0;border-radius:0;border:0;flex:none}
body.page-home .product-image img{object-fit:contain}
body.page-home .product-body{display:flex;flex:1;flex-direction:column;gap:8px}
body.page-home .product-body h3{font-size:15px;line-height:1.5;overflow-wrap:anywhere}
body.page-home .product-price{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin:0;font-size:14px}
body.page-home .product-price del{font-size:11px;font-weight:500;color:var(--ald-muted)}
body.page-home .product-body>.qty{margin-top:auto;justify-content:space-between}
body.page-home .menu-empty-search{padding:24px 10px;text-align:center}
body.page-home .menu-empty-search>b,body.page-home .menu-empty-search>span{display:block}
body.page-home .options-modal-product{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:12px;text-align:start;padding-inline-end:34px;margin-bottom:16px}
body.page-home .options-modal-product img{width:72px;height:72px;object-fit:contain;border-radius:12px}
body.page-home .options-modal-product h2{font-size:20px;margin:3px 0}
body.page-home .option-group{padding-block:12px;border-top:1px solid var(--ald-line);text-align:start}
body.page-home .option-group h3{font-size:16px;margin:0 0 8px}
body.page-home .option-choice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body.page-home .option-choice{display:flex;align-items:center;gap:8px;padding:10px;border:1px solid var(--ald-line);border-radius:11px;background:#fff;text-align:start;font-size:14px;min-height:44px}
body.page-home .option-choice input{width:20px;height:20px;min-height:20px;flex:0 0 20px;margin:0;accent-color:var(--ald-wine)}
body.page-home .option-choice>span{flex:1}
body.page-home .option-choice:has(input:checked){border-color:var(--ald-wine);background:var(--ald-soft)}
body.page-home .ald-product-popup-qty{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:14px 0}
body.page-home .ald-product-popup-qty>small{flex-basis:100%}
body.page-home .ald-product-popup-stepper{display:grid;grid-template-columns:44px 58px 44px;align-items:center;gap:6px;direction:ltr}
body.page-home .ald-product-popup-stepper button{background:var(--ald-wine);color:#fff;padding:0;min-height:44px}
body.page-home .ald-product-popup-stepper input{padding:6px;text-align:center}
body.page-home #confirm-product-options{width:100%;background:var(--ald-wine);color:#fff;min-height:48px}
.customer-ui-page .modal-close{position:absolute;top:10px;inset-inline-end:10px;width:38px;height:38px;padding:0;z-index:2;background:#fff;color:var(--ald-wine);font-size:22px}
.customer-ui-page .image-zoom-card{padding-top:54px!important}
.customer-ui-page .image-zoom-card>img{max-height:calc(var(--ald-viewport-height,100dvh) - 150px);width:100%;object-fit:contain}
.customer-ui-page .inline-logo{width:64px;height:64px;object-fit:contain;margin:auto}
.customer-ui-page .customer-track{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-block:18px}
.customer-ui-page .track-step{text-align:center;font-size:12px}
.customer-ui-page .track-step>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;margin:0 auto 5px;background:var(--ald-soft)}
.customer-ui-page .track-step.active>span,.customer-ui-page .track-step.done>span{background:var(--ald-green);color:#fff}
.customer-ui-page .inline-order-actions{display:flex;flex-wrap:wrap;gap:8px}
.customer-ui-page .inline-order-actions>*{flex:1 1 140px;padding:12px;background:var(--ald-soft);border-radius:12px;text-align:center}
.customer-ui-page .delivery-address-grid,.customer-ui-page .car-fields-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.customer-ui-page .delivery-address-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.customer-ui-page .guest-account-cta>div{display:flex;gap:10px;flex-wrap:wrap}
.customer-ui-page .guest-account-cta a{padding:8px;background:#fff;border:1px solid var(--ald-line);border-radius:8px}
body.page-home .cart-upsell{margin-block:12px;padding:10px;border:1px solid var(--ald-line);border-radius:12px;background:var(--ald-surface-2)}
body.page-home .cart-upsell-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:5px;margin-bottom:8px;font-size:12px}
body.page-home .upsell-product{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:8px}
body.page-home .upsell-product>img{width:52px;height:52px;object-fit:contain;border-radius:10px}
body.page-home .upsell-product b,body.page-home .upsell-product small{display:block;font-size:13px}
body.page-home .upsell-product>button{grid-column:1/-1;background:var(--ald-soft);color:var(--ald-wine);min-height:42px}
body.page-home.aldhamen-ui-v6662 .cart-row strong{font-size:14px!important}
body.page-home.aldhamen-ui-v6662 .cart-row small{font-size:12px!important}
body.page-home.aldhamen-ui-v6662 .qty button{width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important}
body.page-home.aldhamen-ui-v6662 .qty b{font-size:14px!important}
body.page-home.aldhamen-ui-v6662 .product-options-modal,
body.page-home.aldhamen-ui-v6662 .image-zoom-modal,
body.page-home.aldhamen-ui-v6662 .inline-order-overlay{z-index:2600!important}
body.page-home .option-group-head{margin-bottom:8px}
body.page-home .option-group-head b,body.page-home .option-group-head small{display:block}
/* Hidden state must beat component display rules, including checkout fields. */
body.page-home.aldhamen-ui-v6662 .branch-note[hidden],
body.page-home.aldhamen-ui-v6662 .payment-wrap[hidden],
body.page-home.aldhamen-ui-v6662 .pickup-method[hidden],
body.page-home.aldhamen-ui-v6662 .cart-charge-row[hidden],
body.page-home.aldhamen-ui-v6662 .benefit-box[hidden],
body.page-home.aldhamen-ui-v6662 .choice-step[hidden],
body.page-home.aldhamen-ui-v6662 .product[hidden],
body.page-home.aldhamen-ui-v6662 .ald-featured-play[hidden],
body.page-home.aldhamen-ui-v6662 .ald-featured-error[hidden],
body.customer-ui-page .delivery-address-card[hidden],
body.customer-ui-page .car-fields-grid[hidden],
body.page-staff-pos .pos23-product[hidden]{display:none!important}
html.ald-ui-locked{overflow:hidden}
body.ald-ui-has-overlay{overflow:hidden!important}
body.page-staff-pos .pos23-cart-scroll{flex:1 1 auto;touch-action:pan-y}
body.page-staff-pos .a6-pos-catalog.pos23-menu{display:block!important}
body.page-staff-pos .pos23-cart-row strong{font-size:14px!important;overflow-wrap:anywhere}
body.page-staff-pos .pos23-cart-row small,body.page-staff-pos .pos23-cart-row em{font-size:12px!important}
body.page-staff-pos .pos23-info strong{font-size:15px!important;white-space:normal!important;line-height:1.45!important}
body.page-staff-pos .pos23-info small{font-size:12px!important;min-height:0!important}
body.page-staff-pos .pos23-price{font-size:14px!important}
body.page-staff-pos .pos23-summary small,body.page-staff-pos .pos23-customer label,body.page-staff-pos .pos23-notes{font-size:12px!important}
body.page-staff-pos .pos23-summary b{font-size:13px!important;white-space:normal!important}
body.page-staff-pos .pos23-row-actions button{width:38px!important;height:38px!important;min-height:38px!important}
body.page-staff-pos .pos23-option-choice{font-size:14px!important;min-height:44px}
body.page-staff-pos .pos26-branch-card>img{width:64px;height:64px;object-fit:contain;margin:8px auto}
body.page-staff-pos .pos26-branch-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
body.page-staff-pos .pos26-branch-options>button{min-height:64px;background:#fff;border:1px solid var(--ald-line)}
@media(min-width:821px){
 body.page-home .mobile-cart-button,body.page-home .customer-cart-backdrop,body.page-home.aldhamen-ui-v6662 .customer-cart-close{display:none!important}
 body.page-home .cart-panel{position:sticky;top:14px;max-height:calc(100dvh - 28px)}
}
@media(max-width:820px){
 .customer-ui-page .site{padding-bottom:calc(154px + env(safe-area-inset-bottom))}
 .customer-ui-page .nx-customer-header{padding:12px 14px}
 .customer-ui-page .customer-site-nav.customer-nav-portal{position:fixed;inset-inline:0;bottom:0;z-index:2000;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;min-height:calc(var(--ald-customer-nav-height) + env(safe-area-inset-bottom));padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));background:#fff;border-top:1px solid var(--ald-line);box-shadow:0 -4px 20px #2c242010}
 .customer-ui-page .customer-nav-item{min-width:0;padding:6px 2px;font-size:11px}
 .customer-ui-page .customer-nav-item b{white-space:nowrap}
 .customer-ui-page .customer-v54-dashboard{padding:14px 12px;grid-template-columns:1fr;gap:10px}
 .customer-ui-page .customer-v54-reward-card{grid-template-columns:minmax(0,1fr) 32px auto;padding:13px}
 .customer-ui-page .customer-v54-reward-card>span{grid-column:auto;border:0;padding:0;font-size:12px}
 .customer-ui-page .customer-v54-reward-card b{font-size:16px}
 .customer-ui-page .a6-featured-shelf{padding:4px 12px 12px}
 .customer-ui-page .a6-featured-shelf>header button{font-size:12px;padding:8px 10px}
 body.page-home .a6-order-layout{display:block;padding:0 10px 12px}
 body.page-home .menu-panel{padding:12px}
 body.page-home .menu-heading h1{font-size:23px}
 body.page-home .products{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.page-home .categories{margin-block:4px}
 body.page-home .categories button{font-size:13px}
 body.page-home .mobile-cart-button:not([hidden]){display:flex;justify-content:space-between;align-items:center;gap:8px;bottom:calc(var(--ald-customer-nav-height) + 10px + env(safe-area-inset-bottom));z-index:2050}
 body.page-home #cart-panel{position:fixed!important;inset-inline:0!important;top:auto!important;bottom:0!important;width:100%!important;max-width:none!important;z-index:2450!important;border-radius:20px 20px 0 0!important;max-height:calc(var(--ald-viewport-height,100dvh) - 12px)!important;height:min(88dvh,760px)!important;display:none!important}
 body.page-home #cart-panel.mobile-open:not([hidden]){display:flex!important}
 body.page-home #customer-cart-backdrop{z-index:2400!important}
 body.page-home .option-choice-list{grid-template-columns:1fr}
 body.page-home .options-modal-product{grid-template-columns:58px minmax(0,1fr)}
 body.page-home .options-modal-product img{width:58px;height:58px}
 body.page-home .options-modal-product h2{font-size:18px}
 body.page-home.aldhamen-ui-v6662 .choice-modal,body.page-staff-pos.aldhamen-ui-v6662 .pos23-options-card,body.page-staff-pos.aldhamen-ui-v6662 .pos26-branch-card{max-height:calc(var(--ald-viewport-height,100dvh) - 24px)!important}
}
@media(max-width:390px){
 .customer-ui-page .customer-v54-reward-card{grid-template-columns:minmax(0,1fr) 30px}
 .customer-ui-page .customer-v54-reward-card>span{grid-column:1/-1}
 body.page-home .menu-tools{align-items:stretch}
 body.page-home #menu-results-count{font-size:11px}
 body.page-home .product-body h3{font-size:14px}
 body.page-home .product-price{font-size:13px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}body.page-staff-pos .a6-pos-cart{transition:none!important}}

/* 6.6.61 — Admin card consistency and POS reconciliation controls. */
body.page-admin.aldhamen-ui-v6662 .admin-panel,
body.page-admin.aldhamen-ui-v6662 .a6-panel,
body.page-admin.aldhamen-ui-v6662 .admin-card,
body.page-admin.aldhamen-ui-v6662 .settings-card,
body.page-admin.aldhamen-ui-v6662 .report-card,
body.page-admin.aldhamen-ui-v6662 .editor-card{
  min-width:0;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--ald-line);
  border-radius:18px;
  box-shadow:var(--ald-shadow-sm);
}
body.page-admin.aldhamen-ui-v6662 .admin-panel>form,
body.page-admin.aldhamen-ui-v6662 .a6-panel>form{min-width:0}
body.page-admin.aldhamen-ui-v6662 a:focus-visible,
body.page-admin.aldhamen-ui-v6662 button:focus-visible,
body.page-staff-pos.aldhamen-ui-v6662 button:focus-visible{outline:3px solid color-mix(in srgb,var(--ald-wine) 26%,transparent);outline-offset:2px}
body.page-admin.aldhamen-ui-v6662 a[aria-disabled="true"],
body.page-admin.aldhamen-ui-v6662 button[aria-disabled="true"]{display:none!important}

.staff54-reconcile-card{position:relative}
.staff54-reconcile-close{position:absolute;top:11px;inset-inline-end:11px;z-index:3;display:grid;place-items:center;width:38px;height:38px;min-width:38px;min-height:38px;padding:0;border:1px solid #dfcec1;border-radius:50%;background:#fff;color:#722a26;font-size:24px;line-height:1;box-shadow:0 4px 12px rgba(62,41,32,.08)}
.staff54-reconcile-head{padding-inline-end:44px}
.staff54-reconcile-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.staff54-reconcile-actions .staff54-later-btn,
.staff54-reconcile-actions .staff54-dismiss-btn{grid-column:auto;min-height:46px}
.staff54-dismiss-btn{background:#f5e9e2;border:1px solid #dfcec1;color:#722a26}
.staff54-check-btn:disabled{opacity:.62;cursor:wait}
.staff54-reconcile-result .staff54-result-row>b{color:#3d302b}
.staff54-reconcile-result .staff54-result-row>strong{text-align:end}
@media(max-width:560px){
  .staff54-reconcile-close{top:9px;inset-inline-end:9px}
  .staff54-reconcile-head{padding-inline-end:42px}
  .staff54-reconcile-actions{grid-column:auto;grid-template-columns:1fr 1fr}
  .staff54-reconcile-result .staff54-result-row>b{grid-column:1/-1}
}
@media(max-width:370px){.staff54-reconcile-actions{grid-template-columns:1fr}}


/* ALDHAMEN 6.6.61 — customer account, orders, rewards and authentication */
body.aldhamen-ui-v6662:is(.page-customer-account,.page-customer-order-history,.page-customer-rewards,.page-customer-account-rewards,.page-customer-login,.page-customer-register,.page-customer-verify,.page-customer-forgot-password,.page-customer-reset-password,.page-customer-guest,.page-customer-otp-copy){
  --account-max:1100px;
  --account-card:#fff;
  --account-line:rgba(114,42,38,.13);
  --account-soft:#f7eee7;
  background:linear-gradient(180deg,var(--ald-cream) 0%,#f8f2eb 100%);
}

/* Shared account shells and headers */
body.aldhamen-ui-v6662 .customer-account-page,
body.aldhamen-ui-v6662 .rewards-page,
body.aldhamen-ui-v6662 .customer-auth-page{width:100%;max-width:100%;min-width:0;color:var(--ald-ink)}
body.aldhamen-ui-v6662 .customer-account-page{min-height:100dvh;padding:max(22px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) calc(34px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
body.aldhamen-ui-v6662 .customer-account-shell{width:min(var(--account-max),100%);margin:0 auto;display:grid;gap:16px;min-width:0}
body.aldhamen-ui-v6662 .customer-account-top{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 19px;background:var(--account-card);border:1px solid var(--account-line);border-radius:22px;box-shadow:var(--ald-shadow-sm);min-width:0}
body.aldhamen-ui-v6662 .customer-account-top .brand{display:flex;align-items:center;gap:13px;min-width:0}
body.aldhamen-ui-v6662 .customer-account-top .brand>a{display:block;flex:0 0 58px}
body.aldhamen-ui-v6662 .customer-account-top .brand img{width:58px;height:58px;object-fit:contain}
body.aldhamen-ui-v6662 .customer-account-top .brand>div{min-width:0}
body.aldhamen-ui-v6662 .customer-account-top small{display:block;color:var(--ald-wine);font-size:10px;font-weight:800;letter-spacing:.12em}
body.aldhamen-ui-v6662 .customer-account-top h1{margin:2px 0;font-size:clamp(21px,3vw,27px);line-height:1.25;overflow-wrap:anywhere}
body.aldhamen-ui-v6662 .customer-account-top .brand span{display:block;max-width:100%;font-size:12px;color:var(--ald-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.aldhamen-ui-v6662 .customer-account-actions{display:flex;align-items:center;gap:8px;flex:0 0 auto}
body.aldhamen-ui-v6662 .customer-account-actions>form>button{min-height:42px;padding:9px 13px;border:0;border-radius:11px;background:var(--account-soft);color:var(--ald-wine);font-weight:800;white-space:nowrap}
body.aldhamen-ui-v6662 .customer-account-actions .customer-site-nav:not(.customer-nav-portal){display:flex;align-items:center;gap:4px}

/* Account dashboard */
body.page-customer-account.aldhamen-ui-v6662 .customer-account-kpis,
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;min-width:0}
body.aldhamen-ui-v6662 .customer-account-kpis article,
body.aldhamen-ui-v6662 .customer-order-kpis article{display:grid;align-content:start;gap:4px;min-width:0;padding:17px;background:var(--account-card);border:1px solid var(--account-line);border-radius:18px;box-shadow:var(--ald-shadow-sm)}
body.aldhamen-ui-v6662 .customer-account-kpis small,
body.aldhamen-ui-v6662 .customer-order-kpis small{display:block;font-size:11px;font-weight:700;color:var(--ald-muted);line-height:1.35}
body.aldhamen-ui-v6662 .customer-account-kpis strong,
body.aldhamen-ui-v6662 .customer-order-kpis strong{display:block;color:var(--ald-wine);font-size:clamp(24px,4vw,34px);line-height:1.15;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
body.aldhamen-ui-v6662 .customer-account-kpis strong.account-date{font-size:clamp(17px,2.6vw,23px)}
body.aldhamen-ui-v6662 .customer-account-kpis span,
body.aldhamen-ui-v6662 .customer-order-kpis span{display:block;font-size:11px;color:var(--ald-muted);line-height:1.35}
body.aldhamen-ui-v6662 .birthday-gift-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 18px;padding:21px;border-radius:22px;background:linear-gradient(135deg,var(--ald-wine),#9a4a45);color:#fff}
body.aldhamen-ui-v6662 .birthday-gift-card h2{margin:4px 0;font-size:23px}
body.aldhamen-ui-v6662 .birthday-gift-card p{margin:0;opacity:.88}
body.aldhamen-ui-v6662 .birthday-gift-card>strong{padding:11px 15px;border-radius:13px;background:#fff;color:var(--ald-wine);font-size:24px;letter-spacing:.06em}
body.aldhamen-ui-v6662 .birthday-gift-card>span{grid-column:2;text-align:center;font-size:11px;opacity:.8}
body.aldhamen-ui-v6662 .customer-account-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
body.aldhamen-ui-v6662 .customer-account-shortcuts>a{display:grid;gap:5px;min-width:0;padding:16px;border:1px solid var(--account-line);border-radius:18px;background:#fff;box-shadow:var(--ald-shadow-sm)}
body.aldhamen-ui-v6662 .customer-account-shortcuts b{display:block;color:var(--ald-wine);font-size:16px;line-height:1.4}
body.aldhamen-ui-v6662 .customer-account-shortcuts span{display:block;color:var(--ald-muted);font-size:11px;line-height:1.5}
body.aldhamen-ui-v6662 .customer-account-panel{min-width:0;padding:18px;background:#fff;border:1px solid var(--account-line);border-radius:21px;box-shadow:var(--ald-shadow-sm)}
body.aldhamen-ui-v6662 .customer-account-section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:12px}
body.aldhamen-ui-v6662 .customer-account-section-head small{display:block;color:var(--ald-muted);font-size:10px;font-weight:700;letter-spacing:.11em}
body.aldhamen-ui-v6662 .customer-account-section-head h2{margin:3px 0 0;font-size:23px;line-height:1.3}
body.aldhamen-ui-v6662 .customer-account-section-head>a{color:var(--ald-wine);font-size:12px;font-weight:800;white-space:nowrap}
body.aldhamen-ui-v6662 .customer-order-history{display:grid;gap:8px}
body.aldhamen-ui-v6662 .customer-order-history>a{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:11px;min-width:0;padding:12px;border:1px solid var(--account-line);border-radius:14px;background:var(--ald-surface-2)}
body.aldhamen-ui-v6662 .customer-order-history>a>div{display:grid;gap:2px;min-width:0}
body.aldhamen-ui-v6662 .customer-order-history b,
body.aldhamen-ui-v6662 .customer-order-history span,
body.aldhamen-ui-v6662 .customer-order-history small,
body.aldhamen-ui-v6662 .customer-order-history strong,
body.aldhamen-ui-v6662 .customer-order-history em{display:block}
body.aldhamen-ui-v6662 .customer-order-history span,
body.aldhamen-ui-v6662 .customer-order-history small{font-size:11px;color:var(--ald-muted);overflow-wrap:anywhere}
body.aldhamen-ui-v6662 .customer-order-history strong{color:var(--ald-wine);white-space:nowrap}
body.aldhamen-ui-v6662 .customer-order-history em{padding:5px 8px;border-radius:999px;background:var(--account-soft);font-size:10px;font-style:normal;font-weight:800;white-space:nowrap}
body.aldhamen-ui-v6662 .account-redemption-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.aldhamen-ui-v6662 .account-redemption-grid article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 10px;padding:13px;border:1px solid var(--account-line);border-radius:14px;background:var(--ald-surface-2)}
body.aldhamen-ui-v6662 .account-redemption-grid article>div{display:grid;gap:2px}
body.aldhamen-ui-v6662 .account-redemption-grid strong{color:var(--ald-wine)}
body.aldhamen-ui-v6662 .account-redemption-grid small,
body.aldhamen-ui-v6662 .account-redemption-grid span{font-size:10px;color:var(--ald-muted)}

/* Order history */
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-cards{display:grid;gap:9px}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-card{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:13px;min-width:0;padding:11px;border:1px solid var(--account-line);border-radius:17px;background:#fff;color:var(--ald-ink);box-shadow:0 4px 14px rgba(62,41,32,.05)}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-thumb{display:grid;place-items:center;width:78px;height:78px;overflow:hidden;border-radius:13px;background:var(--account-soft)}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-thumb img{display:block;width:100%;height:100%;max-width:100%;object-fit:cover}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-thumb img.fallback{object-fit:contain;padding:10px}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-main{min-width:0}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-number{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-number b{color:var(--ald-wine);font-size:15px}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-number em{padding:4px 7px;border-radius:999px;background:var(--account-soft);font-size:9px;font-style:normal;font-weight:800;text-transform:capitalize}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-main h3{margin:5px 0 3px;font-size:15px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-main p{margin:0;color:var(--ald-muted);font-size:10px;line-height:1.45;overflow-wrap:anywhere}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-total{display:grid;justify-items:end;text-align:end;min-width:64px}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-total strong{display:block;color:var(--ald-wine);font-size:20px;line-height:1.1}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-total span,
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-total small{display:block;color:var(--ald-muted);font-size:9px}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-total small{margin-top:6px;color:var(--ald-wine);font-weight:800}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-orders-empty{text-align:center;padding:34px 14px}
body.page-customer-order-history.aldhamen-ui-v6662 .customer-orders-empty img{width:72px;height:72px;object-fit:contain;margin:0 auto 8px}

/* Rewards */
body.aldhamen-ui-v6662 .rewards-page{min-height:100dvh;padding:max(18px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) calc(34px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}
body.aldhamen-ui-v6662 .rewards-shell{width:min(1040px,100%);margin:0 auto;min-width:0}
body.aldhamen-ui-v6662 .rewards-topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;margin-bottom:14px;padding:12px 14px;border:1px solid var(--account-line);border-radius:20px;background:#fff;box-shadow:var(--ald-shadow-sm)}
body.aldhamen-ui-v6662 .rewards-back-link{padding:8px 11px;border:1px solid var(--account-line);border-radius:999px;color:var(--ald-wine);font-size:11px;font-weight:800;white-space:nowrap}
body.aldhamen-ui-v6662 .rewards-brand{display:flex;align-items:center;justify-content:center;gap:10px;min-width:0}
body.aldhamen-ui-v6662 .rewards-brand>a{flex:0 0 50px}
body.aldhamen-ui-v6662 .rewards-brand img{width:50px;height:50px;object-fit:contain}
body.aldhamen-ui-v6662 .rewards-brand>div{min-width:0}
body.aldhamen-ui-v6662 .rewards-brand strong,
body.aldhamen-ui-v6662 .rewards-brand small{display:block;overflow-wrap:anywhere}
body.aldhamen-ui-v6662 .rewards-brand strong{color:var(--ald-wine);font-size:17px;line-height:1.3}
body.aldhamen-ui-v6662 .rewards-brand small{color:var(--ald-muted);font-size:10px}
body.aldhamen-ui-v6662 .rewards-balance-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:18px;padding:24px;border-radius:25px;background:linear-gradient(135deg,var(--ald-wine),#8e3834);color:#fff;box-shadow:0 16px 36px rgba(80,32,29,.16)}
body.aldhamen-ui-v6662 .rewards-balance-card small,
body.aldhamen-ui-v6662 .rewards-balance-card strong,
body.aldhamen-ui-v6662 .rewards-balance-card span,
body.aldhamen-ui-v6662 .rewards-balance-card b,
body.aldhamen-ui-v6662 .rewards-balance-card em{display:block}
body.aldhamen-ui-v6662 .rewards-balance-card>div:first-child>strong{margin:5px 0;color:#fff;font-size:clamp(42px,8vw,68px);line-height:1;font-variant-numeric:tabular-nums}
body.aldhamen-ui-v6662 .rewards-balance-card em{margin-top:7px;font-size:11px;font-style:normal;opacity:.82}
body.aldhamen-ui-v6662 .rewards-lifetime{text-align:end}
body.aldhamen-ui-v6662 .rewards-lifetime b{margin:4px 0;font-size:16px}
body.aldhamen-ui-v6662 .rewards-lifetime small,
body.aldhamen-ui-v6662 .rewards-lifetime span{font-size:10px;opacity:.74}
body.aldhamen-ui-v6662 .reward-rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:11px 0 18px}
body.aldhamen-ui-v6662 .reward-rules>div{display:flex;align-items:center;gap:9px;min-width:0;padding:11px 12px;border:1px solid var(--account-line);border-radius:13px;background:#fff}
body.aldhamen-ui-v6662 .reward-rules b{flex:0 0 auto;color:var(--ald-wine);font-size:18px}
body.aldhamen-ui-v6662 .reward-rules span{display:block;color:var(--ald-muted);font-size:11px;line-height:1.45}
body.aldhamen-ui-v6662 .rewards-section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:20px 0 11px}
body.aldhamen-ui-v6662 .rewards-section-head small{display:block;color:var(--ald-muted);font-size:9px;font-weight:700;letter-spacing:.12em}
body.aldhamen-ui-v6662 .rewards-section-head h1,
body.aldhamen-ui-v6662 .rewards-section-head h2{margin:3px 0 0;color:var(--ald-wine);font-size:clamp(21px,3vw,27px);line-height:1.3}
body.aldhamen-ui-v6662 .rewards-section-head p{max-width:360px;margin:0;color:var(--ald-muted);font-size:11px;line-height:1.45}
body.aldhamen-ui-v6662 .reward-customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
body.aldhamen-ui-v6662 .reward-customer-card{display:grid;grid-template-rows:170px 1fr auto;min-width:0;overflow:hidden;border:1px solid var(--account-line);border-radius:19px;background:#fff;box-shadow:var(--ald-shadow-sm)}
body.aldhamen-ui-v6662 .reward-customer-card.locked{opacity:.72}
body.aldhamen-ui-v6662 .reward-customer-art{display:grid;place-items:center;overflow:hidden;padding:10px;background:var(--account-soft)}
body.aldhamen-ui-v6662 .reward-customer-art img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
body.aldhamen-ui-v6662 .reward-customer-body{min-width:0;padding:13px}
body.aldhamen-ui-v6662 .reward-customer-body small{display:block;color:var(--ald-green);font-size:9px;font-weight:700}
body.aldhamen-ui-v6662 .reward-customer-body h2{margin:4px 0;color:var(--ald-wine);font-size:16px;line-height:1.4;overflow-wrap:anywhere}
body.aldhamen-ui-v6662 .reward-customer-body p{margin:4px 0;color:var(--ald-muted);font-size:10px}
body.aldhamen-ui-v6662 .reward-customer-body strong{display:block;margin-top:8px;font-size:14px}
body.aldhamen-ui-v6662 .reward-customer-card form{padding:0 13px 13px}
body.aldhamen-ui-v6662 .reward-customer-card button{width:100%;min-height:43px;border:0;border-radius:11px;background:var(--ald-wine);color:#fff;font-weight:800}
body.aldhamen-ui-v6662 .reward-need-more{margin:0 13px 13px;padding:9px;text-align:center;border-radius:11px;background:#f2eeeb;color:var(--ald-muted);font-size:10px;font-weight:700}
body.aldhamen-ui-v6662 .rewards-panel{margin-top:17px;padding:17px;border:1px solid var(--account-line);border-radius:20px;background:#fff;box-shadow:var(--ald-shadow-sm)}
body.aldhamen-ui-v6662 .rewards-panel .rewards-section-head{margin-top:0}
body.aldhamen-ui-v6662 .customer-redemption-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
body.aldhamen-ui-v6662 .customer-redemption{padding:13px;border:1px solid var(--account-line);border-radius:14px;background:var(--ald-surface-2)}
body.aldhamen-ui-v6662 .customer-redemption>div{display:flex;justify-content:space-between;gap:8px}
body.aldhamen-ui-v6662 .customer-redemption strong{display:block;margin:7px 0;color:var(--ald-wine);font-size:20px;letter-spacing:.08em}
body.aldhamen-ui-v6662 .customer-redemption small{font-size:10px;color:var(--ald-muted)}
body.aldhamen-ui-v6662 .rewards-history summary{color:var(--ald-wine);font-weight:800;cursor:pointer}
body.aldhamen-ui-v6662 .rewards-history p{display:flex;justify-content:space-between;gap:10px;margin:0;padding:10px 0;border-bottom:1px solid var(--account-line)}
body.aldhamen-ui-v6662 .rewards-history p span small{display:block;color:var(--ald-muted);font-size:9px}

/* Authentication */
body.aldhamen-ui-v6662 .customer-auth-page{display:grid;place-items:center;min-height:100dvh;padding:max(18px,env(safe-area-inset-top)) max(14px,env(safe-area-inset-right)) calc(36px + env(safe-area-inset-bottom)) max(14px,env(safe-area-inset-left))}
body.aldhamen-ui-v6662 .customer-auth-card{display:grid;gap:12px;width:min(470px,100%);margin:0 auto;padding:24px;border:1px solid var(--account-line);border-radius:23px;background:#fff;box-shadow:0 18px 48px rgba(53,35,31,.1)}
body.aldhamen-ui-v6662 .customer-auth-home{justify-self:start;color:var(--ald-wine);font-size:13px;font-weight:800}
body.aldhamen-ui-v6662 .customer-auth-logo-link{display:block;width:72px;height:72px;margin:0 auto}
body.aldhamen-ui-v6662 .customer-auth-logo-link img{width:72px;height:72px;object-fit:contain}
body.aldhamen-ui-v6662 .customer-auth-card>small{display:block;text-align:center;color:var(--ald-wine);font-size:10px;font-weight:800;letter-spacing:.15em}
body.aldhamen-ui-v6662 .customer-auth-card h1{margin:0;text-align:center;font-size:28px;line-height:1.25}
body.aldhamen-ui-v6662 .customer-auth-card>p{margin:0;text-align:center;color:var(--ald-muted);font-size:13px;line-height:1.6}
body.aldhamen-ui-v6662 .customer-auth-card form{display:grid;gap:11px}
body.aldhamen-ui-v6662 .customer-auth-card label{display:grid;gap:6px;color:var(--ald-ink);font-size:13px;font-weight:700}
body.aldhamen-ui-v6662 .customer-auth-card input{width:100%;min-height:50px;padding:10px 12px;border:1px solid var(--account-line);border-radius:12px;background:#fff;font-size:16px}
body.aldhamen-ui-v6662 .customer-auth-primary,
body.aldhamen-ui-v6662 .customer-auth-secondary{width:100%;min-height:49px;border:0;border-radius:12px;font-weight:800}
body.aldhamen-ui-v6662 .customer-auth-primary{background:var(--ald-wine);color:#fff}
body.aldhamen-ui-v6662 .customer-auth-secondary{background:var(--account-soft);color:var(--ald-wine)}
body.aldhamen-ui-v6662 .customer-auth-links{display:flex;justify-content:space-between;gap:10px;font-size:12px}
body.aldhamen-ui-v6662 .customer-auth-links a{color:var(--ald-wine);font-weight:800}
body.aldhamen-ui-v6662 .customer-create-account-callout{display:grid;gap:6px;padding:13px;border:1px solid var(--account-line);border-radius:14px;background:var(--ald-surface-2)}
body.aldhamen-ui-v6662 .customer-create-account-callout>small{color:var(--ald-muted);font-size:10px}
body.aldhamen-ui-v6662 .customer-auth-create-account{display:grid;grid-template-columns:34px minmax(0,1fr);gap:1px 9px;align-items:center;color:var(--ald-wine)}
body.aldhamen-ui-v6662 .customer-auth-create-account>span{grid-row:1/3;display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:var(--ald-wine);color:#fff;font-size:20px}
body.aldhamen-ui-v6662 .customer-auth-create-account b,
body.aldhamen-ui-v6662 .customer-auth-create-account em{display:block;min-width:0}
body.aldhamen-ui-v6662 .customer-auth-create-account em{color:var(--ald-muted);font-size:10px;font-style:normal;line-height:1.4}
body.aldhamen-ui-v6662 .customer-guest-divider{display:flex;align-items:center;gap:10px;color:var(--ald-muted);font-size:10px}
body.aldhamen-ui-v6662 .customer-guest-divider:before,
body.aldhamen-ui-v6662 .customer-guest-divider:after{content:"";height:1px;flex:1;background:var(--account-line)}
body.aldhamen-ui-v6662 .customer-auth-guest{display:grid;justify-items:center;gap:1px;padding:10px;border:1px solid var(--account-line);border-radius:12px;color:var(--ald-wine);font-weight:800}
body.aldhamen-ui-v6662 .customer-auth-guest small{font-size:10px;font-weight:500}

@media(max-width:820px){
  body.aldhamen-ui-v6662 .customer-account-page,
  body.aldhamen-ui-v6662 .rewards-page,
  body.aldhamen-ui-v6662 .customer-auth-page{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
  body.aldhamen-ui-v6662 .customer-account-actions .customer-site-nav:not(.customer-nav-portal),
  body.aldhamen-ui-v6662 .rewards-topbar>.customer-site-nav:not(.customer-nav-portal){display:none!important}
  body.aldhamen-ui-v6662 .customer-site-nav.customer-nav-portal{position:fixed;inset-inline:0;bottom:0;z-index:2000;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;min-height:calc(68px + env(safe-area-inset-bottom));padding:6px max(6px,env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(6px,env(safe-area-inset-left));background:#fff;border-top:1px solid var(--ald-line);box-shadow:0 -4px 20px rgba(44,36,32,.08)}
  body.aldhamen-ui-v6662 .customer-site-nav.customer-nav-portal .customer-nav-item{min-width:0;padding:5px 2px;font-size:10px}
  body.aldhamen-ui-v6662 .customer-account-top{align-items:flex-start}
  body.aldhamen-ui-v6662 .customer-account-actions{align-self:center}
  body.aldhamen-ui-v6662 .reward-customer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(max-width:560px){
  body.aldhamen-ui-v6662 .customer-account-page,
  body.aldhamen-ui-v6662 .rewards-page{padding-top:max(12px,env(safe-area-inset-top));padding-inline:10px}
  body.aldhamen-ui-v6662 .customer-account-shell{gap:10px}
  body.aldhamen-ui-v6662 .customer-account-top{padding:12px;border-radius:16px;gap:10px}
  body.aldhamen-ui-v6662 .customer-account-top .brand{gap:9px;min-width:0}
  body.aldhamen-ui-v6662 .customer-account-top .brand>a{flex-basis:43px}
  body.aldhamen-ui-v6662 .customer-account-top .brand img{width:43px;height:43px}
  body.aldhamen-ui-v6662 .customer-account-top h1{font-size:19px}
  body.aldhamen-ui-v6662 .customer-account-top small{font-size:8px}
  body.aldhamen-ui-v6662 .customer-account-top .brand span{font-size:10px}
  body.aldhamen-ui-v6662 .customer-account-actions>form>button{min-height:38px;padding:7px 9px;font-size:11px}
  body.page-customer-account.aldhamen-ui-v6662 .customer-account-kpis,
  body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  body.aldhamen-ui-v6662 .customer-account-kpis article,
  body.aldhamen-ui-v6662 .customer-order-kpis article{padding:10px 8px;border-radius:13px}
  body.aldhamen-ui-v6662 .customer-account-kpis small,
  body.aldhamen-ui-v6662 .customer-order-kpis small{font-size:9px}
  body.aldhamen-ui-v6662 .customer-account-kpis strong,
  body.aldhamen-ui-v6662 .customer-order-kpis strong{font-size:21px}
  body.aldhamen-ui-v6662 .customer-account-kpis strong.account-date{font-size:13px}
  body.aldhamen-ui-v6662 .customer-account-kpis span,
  body.aldhamen-ui-v6662 .customer-order-kpis span{font-size:9px}
  body.aldhamen-ui-v6662 .customer-account-shortcuts{grid-template-columns:1fr;gap:7px}
  body.aldhamen-ui-v6662 .customer-account-shortcuts>a{padding:12px;border-radius:14px}
  body.aldhamen-ui-v6662 .customer-account-shortcuts b{font-size:14px}
  body.aldhamen-ui-v6662 .customer-account-panel{padding:12px;border-radius:16px}
  body.aldhamen-ui-v6662 .customer-account-section-head h2{font-size:19px}
  body.aldhamen-ui-v6662 .customer-order-history>a{grid-template-columns:minmax(0,1fr) auto;padding:10px;gap:7px}
  body.aldhamen-ui-v6662 .customer-order-history em{grid-column:1/-1;width:max-content}
  body.aldhamen-ui-v6662 .account-redemption-grid{grid-template-columns:1fr}
  body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-card{grid-template-columns:62px minmax(0,1fr);gap:9px;padding:9px}
  body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-thumb{width:62px;height:62px;border-radius:11px}
  body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-main h3{font-size:13px}
  body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-total{grid-column:2;grid-row:2;display:flex;align-items:baseline;justify-content:flex-start;gap:4px;text-align:start}
  body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-total strong{font-size:17px}
  body.page-customer-order-history.aldhamen-ui-v6662 .customer-order-total small{margin:0;margin-inline-start:auto}
  body.aldhamen-ui-v6662 .rewards-topbar{grid-template-columns:auto minmax(0,1fr);padding:10px;gap:8px;border-radius:16px}
  body.aldhamen-ui-v6662 .rewards-brand{justify-content:flex-end;gap:7px}
  body.aldhamen-ui-v6662 .rewards-brand>a{flex-basis:40px}
  body.aldhamen-ui-v6662 .rewards-brand img{width:40px;height:40px}
  body.aldhamen-ui-v6662 .rewards-brand strong{font-size:13px}
  body.aldhamen-ui-v6662 .rewards-brand small{font-size:8px}
  body.aldhamen-ui-v6662 .rewards-balance-card{grid-template-columns:1fr auto;gap:10px;padding:17px;border-radius:19px}
  body.aldhamen-ui-v6662 .rewards-balance-card>div:first-child>strong{font-size:40px}
  body.aldhamen-ui-v6662 .rewards-lifetime b{font-size:12px}
  body.aldhamen-ui-v6662 .reward-rules{grid-template-columns:1fr 1fr;gap:6px;margin-block:8px 14px}
  body.aldhamen-ui-v6662 .reward-rules>div{padding:9px 8px;gap:6px}
  body.aldhamen-ui-v6662 .reward-rules span{font-size:9px}
  body.aldhamen-ui-v6662 .rewards-section-head{align-items:start;margin-top:16px}
  body.aldhamen-ui-v6662 .rewards-section-head p{max-width:150px;font-size:9px}
  body.aldhamen-ui-v6662 .reward-customer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
  body.aldhamen-ui-v6662 .reward-customer-card{grid-template-rows:112px 1fr auto;border-radius:14px}
  body.aldhamen-ui-v6662 .reward-customer-art{padding:7px}
  body.aldhamen-ui-v6662 .reward-customer-body{padding:9px}
  body.aldhamen-ui-v6662 .reward-customer-body h2{font-size:12px}
  body.aldhamen-ui-v6662 .reward-customer-body strong{font-size:12px}
  body.aldhamen-ui-v6662 .reward-customer-card form{padding:0 9px 9px}
  body.aldhamen-ui-v6662 .reward-customer-card button{min-height:39px;font-size:11px}
  body.aldhamen-ui-v6662 .reward-need-more{margin:0 9px 9px;padding:8px 5px;font-size:9px}
  body.aldhamen-ui-v6662 .customer-redemption-list{grid-template-columns:1fr}
  body.aldhamen-ui-v6662 .customer-auth-page{align-items:start;padding-top:max(10px,env(safe-area-inset-top))}
  body.aldhamen-ui-v6662 .customer-auth-card{gap:10px;padding:16px 14px;border-radius:18px;box-shadow:0 10px 28px rgba(53,35,31,.08)}
  body.aldhamen-ui-v6662 .customer-auth-logo-link,
  body.aldhamen-ui-v6662 .customer-auth-logo-link img{width:58px;height:58px}
  body.aldhamen-ui-v6662 .customer-auth-card h1{font-size:25px}
  body.aldhamen-ui-v6662 .customer-auth-card input{min-height:48px}
  body.aldhamen-ui-v6662 .customer-create-account-callout{padding:11px}
}

@media(max-width:370px){
  body.aldhamen-ui-v6662 .customer-account-top .brand>a{display:none}
  body.aldhamen-ui-v6662 .reward-customer-grid{grid-template-columns:1fr}
  body.aldhamen-ui-v6662 .reward-customer-card{grid-template-rows:145px 1fr auto}
  body.aldhamen-ui-v6662 .rewards-balance-card{grid-template-columns:1fr}
  body.aldhamen-ui-v6662 .rewards-lifetime{text-align:start}
}

/* ALDHAMEN 6.6.61 — POS shift control */
body.page-staff-pos .pos661-shift-trigger{min-height:48px;padding:7px 12px;border:1px solid #d9c8b9;border-radius:13px;background:#fff;color:#2c2420;display:flex;align-items:center;gap:9px;box-shadow:0 4px 14px rgba(62,41,32,.05);cursor:pointer}
body.page-staff-pos .pos661-shift-trigger>span:last-child{display:grid;text-align:start;line-height:1.15}
body.page-staff-pos .pos661-shift-trigger small{font-size:8px;color:#786a62;font-weight:800}
body.page-staff-pos .pos661-shift-trigger b{font-size:12px;white-space:nowrap}
body.page-staff-pos .pos661-shift-icon{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:#eff5ef;color:#40644a;font-size:12px;flex:0 0 auto}
body.page-staff-pos .pos661-shift-trigger.is-open{border-color:#d9aaa6;background:#fff8f6;color:#722a26}
body.page-staff-pos .pos661-shift-trigger.is-open .pos661-shift-icon{background:#722a26;color:#fff}
body.page-staff-pos .pos661-shift-modal{position:fixed!important;inset:0!important;z-index:2500!important;background:rgba(31,23,20,.62)!important;align-items:center!important;justify-content:center!important;padding:max(14px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom))!important;overflow:auto!important}
body.page-staff-pos .pos661-shift-modal:not([hidden]){display:flex!important}
body.page-staff-pos .pos661-shift-card{position:relative;width:min(560px,100%);max-height:min(90dvh,760px);overflow:auto;background:#fff8ea;border:1px solid #ead8c9;border-radius:21px;padding:19px;box-shadow:0 28px 85px rgba(42,28,23,.34);-webkit-overflow-scrolling:touch}
body.page-staff-pos .pos661-shift-close{position:absolute;top:11px;inset-inline-end:11px;width:40px;height:40px;min-height:40px;padding:0;border:1px solid #e5d9cc;border-radius:11px;background:#fff;color:#722a26;font-size:23px;z-index:2}
body.page-staff-pos .pos661-shift-heading{padding-inline-end:48px}
body.page-staff-pos .pos661-shift-heading small{font-size:9px;letter-spacing:.08em;color:#9a3832;font-weight:900}
body.page-staff-pos .pos661-shift-heading h2{margin:5px 0;font-size:25px;color:#2c2420}
body.page-staff-pos .pos661-shift-heading p{margin:0;color:#786a62;font-size:12px}
body.page-staff-pos .pos661-shift-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:15px 0}
body.page-staff-pos .pos661-shift-stats span{display:grid;gap:3px;padding:10px;border:1px solid #eadfd5;border-radius:12px;background:#fff;min-width:0}
body.page-staff-pos .pos661-shift-stats small{font-size:9px;color:#786a62;font-weight:800}
body.page-staff-pos .pos661-shift-stats b{font-size:13px;color:#2c2420;overflow-wrap:anywhere}
body.page-staff-pos .pos661-shift-stats .pos661-expected{grid-column:1/-1;background:#f4e7dc;border-color:#dec7b6}
body.page-staff-pos .pos661-shift-stats .pos661-expected b{font-size:20px;color:#722a26}
body.page-staff-pos .pos661-shift-form{display:grid;gap:11px}
body.page-staff-pos .pos661-shift-form>label:not(.pos661-shift-confirm){display:grid;gap:5px;font-size:11px;font-weight:800;color:#655750}
body.page-staff-pos .pos661-shift-form input[type="number"],body.page-staff-pos .pos661-shift-form input[type="text"],body.page-staff-pos .pos661-shift-form input:not([type]){width:100%;min-height:48px;border:1px solid #d9c8b9;border-radius:11px;background:#fff;padding:10px 12px;font-size:16px;color:#2c2420}
body.page-staff-pos .pos661-shift-confirm{display:flex;align-items:flex-start;gap:8px;padding:10px;border:1px solid #e2c5c2;border-radius:11px;background:#fff4f2;color:#722a26;font-size:10px;font-weight:800;line-height:1.5;cursor:pointer}
body.page-staff-pos .pos661-shift-confirm input{width:19px;height:19px;min-height:19px;flex:0 0 auto;margin-top:1px}
body.page-staff-pos .pos661-shift-actions{display:grid;grid-template-columns:1fr 2fr;gap:8px;margin-top:2px}
body.page-staff-pos .pos661-shift-actions button{min-height:48px;border:1px solid #d9c8b9;border-radius:11px;background:#fff;color:#2c2420;font-weight:900;padding:9px}
body.page-staff-pos .pos661-shift-actions .pos661-shift-submit{border-color:#722a26;background:#722a26;color:#fff}
body.page-staff-pos .pos661-shift-actions .pos661-shift-submit:disabled{opacity:.48;cursor:not-allowed}
@media(max-width:720px){
  body.page-staff-pos .a6-pos-topbar{flex-wrap:wrap!important}
  body.page-staff-pos .pos661-shift-trigger{order:3;width:100%;min-height:43px;justify-content:center;padding:6px 9px}
  body.page-staff-pos .pos661-shift-trigger>span:last-child{display:flex;align-items:center;gap:6px}
  body.page-staff-pos .pos661-shift-trigger small::after{content:' ·'}
  body.page-staff-pos .pos661-shift-icon{width:28px;height:28px}
  body.page-staff-pos .pos661-shift-modal{align-items:flex-end!important;padding:12px 9px 0!important}
  body.page-staff-pos .pos661-shift-card{width:100%;max-height:92dvh;border-radius:20px 20px 0 0;padding:16px 13px calc(18px + env(safe-area-inset-bottom));margin-top:auto}
  body.page-staff-pos .pos661-shift-heading h2{font-size:22px}
  body.page-staff-pos .pos661-shift-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
  body.page-staff-pos .pos661-shift-stats span{padding:8px 6px}
  body.page-staff-pos .pos661-shift-stats b{font-size:11px}
  body.page-staff-pos .pos661-shift-stats .pos661-expected b{font-size:18px}
}
@media(max-width:380px){body.page-staff-pos .pos661-shift-stats{grid-template-columns:1fr 1fr}body.page-staff-pos .pos661-shift-stats .pos661-expected{grid-column:1/-1}}


/* ALDHAMEN 6.6.62 — complete POS mobile tools, cash movements, and ratings */
body.page-staff-pos .pos662-mobile-tools{display:none}
body.page-staff-pos .pos662-cash-tools{margin:0 0 12px;border:1px solid #dfcfc1;border-radius:12px;background:#fff;overflow:hidden}
body.page-staff-pos .pos662-cash-tools summary{display:flex;justify-content:space-between;gap:8px;padding:11px 12px;color:#722a26;font-weight:900;cursor:pointer}
body.page-staff-pos .pos662-cash-tools summary small{color:#786a62;font-size:9px}
body.page-staff-pos .pos662-cash-form{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:0 11px 11px}
body.page-staff-pos .pos662-cash-form label{display:grid;gap:4px;font-size:10px;font-weight:800;color:#655750}
body.page-staff-pos .pos662-cash-form input,body.page-staff-pos .pos662-cash-form select{width:100%;min-height:43px;border:1px solid #d9c8b9;border-radius:10px;background:#fff;padding:8px;font-size:14px}
body.page-staff-pos .pos662-cash-form button{grid-column:1/-1;min-height:44px;border:0;border-radius:10px;background:#722a26;color:#fff;font-weight:900}
body.page-admin .admin-rating-panel{scroll-margin-top:88px;margin-bottom:16px}
body.page-admin .admin-rating-list{display:grid;gap:7px}
body.page-admin .admin-rating-row{display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;border:1px solid #eadfd5;border-radius:12px;background:#fff;color:inherit;text-decoration:none}
body.page-admin .admin-rating-row:hover{border-color:#c99893;background:#fff8f6}
body.page-admin .admin-rating-stars{color:#9a3832;font-size:18px;letter-spacing:1px}
body.page-admin .admin-rating-row div{min-width:0}.admin-rating-row b,.admin-rating-row small{display:block}.admin-rating-row small{color:#786a62;white-space:normal}.admin-rating-row em{color:#786a62;font-size:10px;font-style:normal;white-space:nowrap}
@media(max-width:1099px){
 body.page-staff-pos .pos662-mobile-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:9px 0 11px;position:sticky;top:62px;z-index:30;background:rgba(247,239,227,.96);backdrop-filter:blur(12px)}
 body.page-staff-pos .pos662-mobile-tools a,body.page-staff-pos .pos662-mobile-tools button{min-width:0;min-height:51px;padding:6px 3px;border:1px solid #e3d6ca;border-radius:11px;background:#fff;color:#5f211e;text-decoration:none;display:grid;place-items:center;gap:1px;font-size:9px;font-weight:900;text-align:center}
 body.page-staff-pos .pos662-mobile-tools span{font-size:17px;line-height:1}
}
@media(max-width:720px){body.page-staff-pos .pos662-mobile-tools{top:105px}.pos662-cash-form{grid-template-columns:1fr!important}.admin-rating-row{grid-template-columns:1fr!important}.admin-rating-row em{white-space:normal!important}}


/* 6.6.62 — restore the missing desktop and mobile report card layout */
body.page-admin.admin-tab-reports .a65-report-shell{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:15px!important;width:100%!important;max-width:none!important}
body.page-admin.admin-tab-reports .a65-report-toolbar{display:flex!important;justify-content:space-between!important;gap:14px!important;width:100%!important;padding:16px!important;border:1px solid var(--ald-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--ald-shadow-sm)!important}
body.page-admin.admin-tab-reports .a65-report-toolbar>form{display:grid!important;grid-template-columns:minmax(220px,1fr) auto!important;align-items:end!important;gap:9px!important;min-width:min(430px,100%)!important}
body.page-admin.admin-tab-reports .a65-report-toolbar label{display:grid!important;gap:5px!important;font-weight:800!important}
body.page-admin.admin-tab-reports .a65-report-email-status{display:grid!important;align-content:center!important;gap:3px!important;padding:9px 12px!important;border:1px solid var(--ald-line)!important;border-radius:11px!important;background:var(--ald-surface-2)!important}
body.page-admin.admin-tab-reports .a65-report-email-status small{font-size:9px!important;color:var(--ald-muted)!important;white-space:normal!important}
body.page-admin.admin-tab-reports .a65-report-kpis{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px!important;width:100%!important}
body.page-admin.admin-tab-reports .a65-report-kpi{display:grid!important;grid-template-columns:50px minmax(0,1fr)!important;align-items:center!important;gap:11px!important;min-height:105px!important;padding:14px!important;border:1px solid var(--ald-line)!important;border-radius:16px!important;background:#fff!important;box-shadow:var(--ald-shadow-sm)!important}
body.page-admin.admin-tab-reports .a65-report-kpi>div{min-width:0!important}.a65-report-kpi small,.a65-report-kpi strong,.a65-report-kpi span{display:block!important}.a65-report-kpi small{color:var(--ald-muted)!important;font-size:10px!important}.a65-report-kpi strong{margin:3px 0!important;color:var(--ald-ink)!important;font-size:22px!important}.a65-report-kpi strong em{font-size:9px!important;font-style:normal!important}.a65-report-kpi span{font-size:10px!important;color:var(--ald-muted)!important}
body.page-admin.admin-tab-reports .a65-report-panel,body.page-admin.admin-tab-reports .a65-branch-card,body.page-admin.admin-tab-reports .a65-report-settings{min-width:0!important;padding:17px!important;border:1px solid var(--ald-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:var(--ald-shadow-sm)!important;overflow:hidden!important}
body.page-admin.admin-tab-reports .a65-report-panel>h3{margin:0 0 13px!important;font-size:17px!important}
body.page-admin.admin-tab-reports .a65-branch-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
body.page-admin.admin-tab-reports .a65-branch-head{display:flex!important;justify-content:space-between!important;align-items:flex-start!important;gap:12px!important;padding-bottom:12px!important;border-bottom:1px solid var(--ald-line)!important}
body.page-admin.admin-tab-reports .a65-branch-title{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important}.a65-branch-title h3{margin:0 0 3px!important;font-size:17px!important}.a65-branch-title small{color:var(--ald-muted)!important;font-size:9px!important}
body.page-admin.admin-tab-reports .a65-branch-total{text-align:end!important}.a65-branch-total strong,.a65-branch-total small{display:block!important}.a65-branch-total strong{font-size:22px!important;color:var(--ald-wine)!important}.a65-branch-total small{font-size:9px!important;color:var(--ald-muted)!important}
body.page-admin.admin-tab-reports .a65-branch-stats{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin:11px 0!important}.a65-branch-stats>div{display:grid!important;gap:3px!important;padding:9px!important;border-radius:10px!important;background:var(--ald-surface-2)!important}.a65-branch-stats small{font-size:9px!important;color:var(--ald-muted)!important}.a65-branch-stats b{font-size:11px!important}
body.page-admin.admin-tab-reports .a65-report-columns{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;width:100%!important}
body.page-admin.admin-tab-reports .a65-report-list,body.page-admin.admin-tab-reports .a65-mini-products{display:grid!important;gap:7px!important}
body.page-admin.admin-tab-reports .a65-report-list>div,body.page-admin.admin-tab-reports .a65-mini-products>div{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;align-items:center!important;gap:9px!important;min-height:45px!important;padding:8px 9px!important;border:1px solid #eee4da!important;border-radius:10px!important;background:var(--ald-surface-2)!important}
body.page-admin.admin-tab-reports .a65-mini-products>div{grid-template-columns:42px minmax(0,1fr) auto!important}.a65-mini-products span{min-width:0!important}.a65-mini-products span b,.a65-mini-products span small{display:block!important}.a65-mini-products span b{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.a65-mini-products span small,.a65-report-list b{font-size:9px!important;color:var(--ald-muted)!important}.a65-report-list strong,.a65-mini-products strong{font-size:11px!important;color:var(--ald-wine)!important;white-space:nowrap!important}
body.page-admin.admin-tab-reports .a65-hour-bars{display:grid!important;grid-template-columns:repeat(6,minmax(45px,1fr))!important;gap:7px!important;align-items:end!important;min-height:170px!important;overflow-x:auto!important;padding-top:9px!important}.a65-hour{display:grid!important;grid-template-rows:110px auto auto!important;align-items:end!important;gap:3px!important;text-align:center!important}.a65-hour-track{height:110px!important;display:flex!important;align-items:flex-end!important;justify-content:center!important;border-bottom:1px solid var(--ald-line)!important;background:linear-gradient(to top,rgba(114,42,38,.03),transparent)!important}.a65-hour-track span{display:block!important;width:min(28px,70%)!important;min-height:2px!important;border-radius:5px 5px 0 0!important;background:linear-gradient(#8e3832,#722a26)!important}.a65-hour b{font-size:9px!important}.a65-hour small{font-size:8px!important;white-space:nowrap!important}
body.page-admin.admin-tab-reports .a6613-finance-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}.a6613-finance-grid>div{display:grid!important;gap:3px!important;padding:11px!important;border:1px solid var(--ald-line)!important;border-radius:11px!important;background:var(--ald-surface-2)!important}.a6613-finance-grid small{color:var(--ald-muted)!important;font-size:9px!important}.a6613-finance-grid b{font-size:18px!important}.a6613-finance-grid em{font-size:9px!important;color:var(--ald-muted)!important;font-style:normal!important}.a6613-finance-grid .a6613-net{background:#f4e7dc!important;border-color:#dec7b6!important;color:var(--ald-wine)!important}
body.page-admin.admin-tab-reports .a6613-profit-formula{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;margin-top:10px!important}.a6613-profit-formula span{padding:9px!important;border-radius:10px!important;background:#fff!important;border:1px solid var(--ald-line)!important;font-size:9px!important}.a6613-profit-formula b{display:block!important;margin-top:3px!important;font-size:12px!important}
body.page-admin.admin-tab-reports .a65-report-orders,body.page-admin.admin-tab-reports .a6613-table-scroll{width:100%!important;max-width:100%!important;overflow-x:auto!important;background:#fff!important}.a65-report-orders table,.a6613-table-scroll table{border-collapse:separate!important;border-spacing:0!important}.a65-report-orders th,.a6613-table-scroll th{position:sticky!important;top:0!important;background:#f4e9dd!important;color:#5f211e!important;font-weight:900!important}.a65-report-orders td,.a65-report-orders th,.a6613-table-scroll td,.a6613-table-scroll th{padding:10px!important;border-bottom:1px solid #eee4da!important;text-align:start!important}
body.page-admin.admin-tab-reports .a65-empty{margin:0!important;padding:16px!important;border:1px dashed var(--ald-line)!important;border-radius:10px!important;background:var(--ald-surface-2)!important;color:var(--ald-muted)!important;text-align:center!important}
@media(max-width:1050px){body.page-admin.admin-tab-reports .a65-report-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){body.page-admin.admin-tab-reports .a65-report-toolbar{display:grid!important}body.page-admin.admin-tab-reports .a65-report-toolbar>form{grid-template-columns:1fr!important;min-width:0!important}body.page-admin.admin-tab-reports .a65-branch-grid,body.page-admin.admin-tab-reports .a65-report-columns{grid-template-columns:1fr!important}body.page-admin.admin-tab-reports .a6613-profit-formula{grid-template-columns:1fr!important}}
@media(max-width:520px){body.page-admin.admin-tab-reports .a65-report-kpis{grid-template-columns:1fr!important}.a65-report-kpi{min-height:88px!important}.a65-report-kpi strong{font-size:19px!important}.a65-branch-head{display:grid!important}.a65-branch-total{text-align:start!important}.a65-branch-stats{grid-template-columns:1fr!important}.a6613-finance-grid{grid-template-columns:1fr 1fr!important}.a6613-finance-grid .a6613-net{grid-column:1/-1!important}}


/* ALDHAMEN 6.6.71 - iPad customer layout and retired public wheel */
body.customer-ui-page .a6630-spin-card,
body.customer-ui-page a[href$="/spin"]{display:none!important}

/* The home dashboard now has two useful actions, so both fill the row evenly. */
body.page-home.customer-ui-page .customer-v54-dashboard{
  grid-template-columns:repeat(2,minmax(0,1fr));
  width:min(1180px,100%);
}
body.page-home.customer-ui-page .customer-v54-welcome{grid-column:1/-1}

/* iPad portrait and landscape: keep cards compact, centred and touch friendly. */
@media (min-width:600px) and (max-width:1024px){
  body.customer-ui-page{--ald-customer-nav-height:72px}
  body.customer-ui-page .site{width:100%;max-width:100%;margin:0 auto}
  body.customer-ui-page .nx-customer-header{width:min(960px,calc(100% - 32px));margin:0 auto;padding:14px 16px;border-radius:0 0 18px 18px}
  body.customer-ui-page .customer-v54-dashboard{width:min(960px,calc(100% - 32px));padding:18px 0 14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  body.customer-ui-page .customer-v54-reward-card{min-height:112px;padding:15px;grid-template-columns:minmax(0,1fr) 38px}
  body.customer-ui-page .customer-v54-reward-card>span{grid-column:1/-1;border-top:1px solid var(--ald-line);padding-top:8px}
  body.customer-ui-page .a6-featured-shelf{width:min(960px,calc(100% - 32px));padding:6px 0 16px}
  body.customer-ui-page .featured-media-carousel{border-radius:20px}
  body.customer-ui-page .featured-media-track{aspect-ratio:16/8.5;max-height:480px}
  body.page-home .menu-panel{border-radius:18px;padding:16px!important}
  body.page-home .menu-heading{align-items:center}
  body.page-home .menu-tools{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:10px;width:100%}
  body.page-home .menu-search{width:100%;min-width:0}
  body.page-home .product{border-radius:16px;overflow:hidden}
  body.page-home .product-body{padding:12px;gap:7px}
  body.page-home .product-image{aspect-ratio:1/1!important}
  body.page-home .product-body h3{font-size:15px;min-height:2.8em;margin:0}
  body.page-home .qty button{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important}
  body.page-home .choice-modal,body.page-home .inline-order-card,body.page-home .image-zoom-card{width:min(620px,calc(100vw - 48px))!important;max-width:calc(100vw - 48px)!important}
  body.aldhamen-ui-v6662 .customer-account-page,body.aldhamen-ui-v6662 .rewards-page{padding-inline:24px}
  body.aldhamen-ui-v6662 .customer-account-shell,body.aldhamen-ui-v6662 .rewards-shell{width:min(960px,100%)}
  body.aldhamen-ui-v6662 .reward-customer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Portrait iPad uses the mobile cart sheet but keeps a proper tablet catalogue. */
@media (min-width:600px) and (max-width:820px){
  body.page-home .a6-order-layout{width:min(760px,100%);margin:0 auto;padding:0 16px 18px}
  body.page-home .products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:11px}
  body.page-home .product-body{padding:10px}
  body.page-home .product-body h3{font-size:14px}
  body.page-home #cart-panel.ald-portal-fixed{left:50%!important;right:auto!important;inset-inline:auto!important;transform:translateX(-50%)!important;width:min(700px,100vw)!important;min-width:0!important;max-width:min(700px,100vw)!important;border-radius:22px 22px 0 0!important}
  body.customer-ui-page .customer-site-nav.customer-nav-portal{width:min(760px,100%);left:50%;right:auto;transform:translateX(-50%);border-inline:1px solid var(--ald-line);border-radius:18px 18px 0 0}
}

/* Landscape iPad keeps the cart beside a three-column menu. */
@media (min-width:821px) and (max-width:1024px){
  body.page-home .a6-order-layout{width:min(1000px,calc(100% - 24px));margin:0 auto;grid-template-columns:minmax(0,1fr) minmax(300px,330px);gap:12px;padding:0 0 18px}
  body.page-home .products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px}
  body.page-home .cart-panel{top:10px;max-height:calc(100dvh - 20px)}
  body.customer-ui-page .customer-site-nav{gap:4px}
  body.customer-ui-page .customer-nav-item{min-width:54px;padding:7px 6px}
}

/* ALDHAMEN 6.6.74 — readable mobile Dashboard totals */
@media(max-width:620px){
  body.page-admin .a6615-gauges{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:16px 10px 13px;direction:rtl}
  body.page-admin .a6615-metric{min-width:0;overflow:visible}
  body.page-admin .a6615-gauge{width:min(27vw,112px);min-width:88px;max-width:112px}
  body.page-admin .a6615-gauge>i{-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 8px),#000 0);mask:radial-gradient(farthest-side,transparent calc(100% - 8px),#000 0)}
  body.page-admin .a6615-gauge>strong{display:flex;align-items:baseline;justify-content:center;gap:3px;max-width:92%;font-size:clamp(16px,4vw,20px);font-variant-numeric:tabular-nums;direction:ltr}
  body.page-admin .a6615-gauge>strong em{font-size:8px;line-height:1}
  body.page-admin .a6615-metric>b{margin-top:0;font-size:11px;line-height:1.35;white-space:normal}
  body.page-admin .a6615-metric>span{margin-top:4px;font-size:9px;font-variant-numeric:tabular-nums}
}
@media(max-width:380px){
  body.page-admin .a6615-gauges{gap:4px;padding-inline:6px}
  body.page-admin .a6615-gauge{width:27vw;min-width:78px}
  body.page-admin .a6615-gauge>strong{font-size:14px}
  body.page-admin .a6615-metric>b{font-size:9px}
}


/* ALDHAMEN 6.6.75 — lock every summary value to the exact gauge center */
body.page-admin .a6615-metric{min-width:0;justify-items:center}
body.page-admin .a6615-gauge{position:relative!important;display:block!important;margin-inline:auto;flex:none;overflow:visible}
body.page-admin .a6615-gauge>i{position:absolute!important;inset:0!important;width:100%!important;height:100%!important}
body.page-admin .a6615-gauge>strong{
  position:absolute!important;inset:0!important;z-index:2!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  box-sizing:border-box!important;text-align:center!important;white-space:nowrap!important;
  direction:ltr!important;transform:none!important;line-height:1!important;
}
body.page-admin .a6615-gauge>strong em{display:inline-block!important;margin-inline-start:3px!important;line-height:1!important;vertical-align:baseline!important}
@media(max-width:620px){
  body.page-admin .a6615-gauges{grid-template-columns:repeat(3,1fr)!important;direction:rtl!important;gap:6px!important;padding:15px 8px 13px!important;overflow:hidden}
  body.page-admin .a6615-metric{width:100%;overflow:visible}
  body.page-admin .a6615-gauge{width:min(27vw,104px)!important;min-width:0!important;max-width:104px!important;aspect-ratio:1!important}
  body.page-admin .a6615-gauge>strong{font-size:clamp(14px,4vw,18px)!important}
  body.page-admin .a6615-gauge>strong em{font-size:7px!important}
}
@media(max-width:360px){
  body.page-admin .a6615-gauges{gap:3px!important;padding-inline:4px!important}
  body.page-admin .a6615-gauge{width:26.5vw!important}
  body.page-admin .a6615-gauge>strong{font-size:13px!important}
}
