/* Post A-to-Z daily UX: touch-first sticky actions, compact POS density, owner home tiles. Presentation only. */

/* ===== Touch-first: الإجراءات الأساسية تبقى في المتناول بدون الرجوع لأعلى ===== */
.modal-card>.close-panel{position:sticky;top:0;z-index:4;min-height:48px;box-shadow:0 2px 10px rgba(15,23,42,.10)}
.modal-card>.modal-actions,.modal-card>.quick-actions:last-child,.modal-card>.dc-primary-action{position:sticky;bottom:0;z-index:3;background:#fff;padding:10px 0 4px;margin-top:6px;box-shadow:0 -10px 12px -12px rgba(15,23,42,.35)}
.modal-card>.order-primary{position:sticky;top:56px;bottom:0;z-index:3;background:#fff;box-shadow:0 0 0 1px #e3ebe6,0 6px 16px rgba(15,23,42,.10);border-radius:12px;padding:10px 12px}
.modal-card button,.modal-card .action,.modal-actions button{min-height:46px}
.sticky-actions{position:sticky;bottom:0;z-index:5;background:#fff;padding:10px 8px;border-radius:12px;box-shadow:0 -10px 12px -12px rgba(15,23,42,.35)}
.pay-choice{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:8px;margin:6px 0}
.pay-choice button{min-height:52px;font-weight:800}
.order-step>.action,.order-step>button{width:100%}

/* ===== إقفال اليوم: ملخص مختصر أعلى الشاشة ===== */
.dc-compact{grid-template-columns:repeat(auto-fit,minmax(130px,1fr))!important}
.dc-compact article{padding:10px 12px}.dc-compact article.low b{color:var(--red)}.dc-compact article.paid b{color:var(--brand-d,inherit)}
.dc-primary-action button{min-height:52px;font-weight:800}

/* ===== الرئيسية: بطاقات مختصرة للمالك ===== */
.home-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:10px 0}
.home-tile{background:#fff;border:1px solid #e3ebe6;border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:4px;min-width:0}
.home-tile span{font-size:13px;color:var(--muted);font-weight:700}
.home-tile b{font-size:22px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.home-tile small{font-size:12px;color:var(--muted);line-height:1.5}
.home-tile.attention{border-color:currentColor;box-shadow:inset 4px 0 0 currentColor}
.home-alert .action.warn{font-weight:800;min-height:48px}

