/* LiorStar Order UI refinement (RTL/LTR safe, V30) */
.orders-panel{padding:22px;border-radius:20px}
.orders-heading{margin-bottom:19px;align-items:center}
.orders-heading h2{font-size:21px;letter-spacing:0;line-height:1.45}
.orders-heading p{font-size:12px;line-height:1.8;margin-top:5px}
.orders-title-line{gap:12px;flex-wrap:wrap}
.orders-count{background:#edf3f9;padding:5px 11px;font-variant-numeric:tabular-nums}
.orders{gap:12px}
.order-card{
  background:#fff;border:1px solid #e3e9f0;border-radius:17px;
  grid-template-columns:78px minmax(0,1fr) auto;gap:17px;
  align-items:center;padding:16px 18px;min-height:120px;
  box-shadow:0 2px 10px rgba(8,27,51,.025)
}
.order-card:hover{transform:none;box-shadow:0 6px 18px rgba(8,27,51,.065)}
.order-card::before{inset-inline-start:-1px;top:19px;bottom:19px;width:3px}
.thumb-shell{height:78px;width:78px;border-radius:13px}
.order-summary{min-width:0;align-self:center}
.order-heading-line{display:flex;align-items:center;gap:12px;justify-content:flex-start;min-width:0}
.order-title{font-size:18px;line-height:1.45;min-width:0;max-width:100%;white-space:nowrap;text-overflow:ellipsis;flex:0 1 auto}
.order-ref{display:inline-flex;white-space:nowrap;flex:none;align-items:center;padding:5px 9px;background:#f1f5fa;border-radius:8px;font-size:12px;font-weight:800;color:#475b75}
.order-meta{display:flex;align-items:center;gap:9px 17px;flex-wrap:wrap;margin:9px 0;color:#42556d;line-height:1.55}
.order-meta-item{display:inline-flex;align-items:center;gap:7px;min-width:0;font-size:12px}
.meta-label{font-weight:650;color:#8491a3}
.meta-value{font-size:12px;font-weight:700;color:#40536b;overflow-wrap:anywhere}
.order-meta .meta-value[dir="ltr"]{unicode-bidi:isolate;font-variant-numeric:tabular-nums}
.order-tags{gap:7px;flex-wrap:wrap}
.order-tags .badge,.order-tags .type-badge,.order-tags .delivery-badge{font-size:11px;min-height:27px;padding:5px 10px;font-weight:750;line-height:1.3}
.card-actions{display:flex;align-items:center;gap:9px;min-width:205px;justify-content:flex-end}
.card-actions .primary,.card-actions>.primary{margin:0;min-width:125px;padding:11px 14px;background:#081b33;color:#fff;font-size:12px;border-radius:10px;white-space:nowrap}
.card-actions .primary:hover{background:#123b64}
.card-actions>.more-menu{flex:none}
.more-menu summary{min-height:40px;padding:9px 13px;font-size:12px;white-space:nowrap}
.menu-popover{width:200px;max-width:90vw;z-index:40}
.menu-popover .menu-item{font-size:12px;font-weight:700;line-height:1.45;min-height:39px}
.order-card .order-title:focus-visible,.card-actions button:focus-visible,.card-actions summary:focus-visible{outline:3px solid #7bb3eb;outline-offset:3px}
.filter-strip{gap:20px}.filter-title{white-space:nowrap}.filter-controls{flex:1;justify-content:flex-end}
.filter-controls select{width:auto;min-width:155px;max-width:230px;padding:11px 16px}
.filter-controls .refresh-btn{min-height:44px;margin:0}
@media(max-width:1000px){
 .order-card{grid-template-columns:72px minmax(0,1fr);gap:13px;padding:14px}
 .thumb-shell{width:72px;height:72px}
 .card-actions{grid-column:2;grid-row:2;justify-content:flex-start;min-width:0}
 .order-heading-line{justify-content:flex-start;flex-wrap:wrap;gap:7px 11px}
 .order-title{flex:0 1 auto}
 .filter-controls select{min-width:130px}
}
@media(max-width:650px){
 .orders-panel{padding:12px;border-radius:17px}
 .orders-heading{padding:2px 4px 0}
 .orders-heading h2{font-size:19px}
 .orders-heading p{font-size:11px}
 .order-card{grid-template-columns:62px minmax(0,1fr);gap:10px;padding:12px;min-height:0;border-radius:14px;align-items:start}
 .order-card::before{top:13px;bottom:13px}
 .thumb-shell{width:62px;height:62px}
 .order-heading-line{gap:6px 8px;align-items:flex-start}
 .order-title{font-size:16px;line-height:1.4;white-space:normal;overflow-wrap:anywhere;text-align:start}
 .order-ref{padding:3px 7px;font-size:10px}
 .order-meta{margin:7px 0;gap:5px 11px}
 .order-meta-item{font-size:11px;gap:5px}
 .meta-label,.meta-value{font-size:11px}
 .order-tags{gap:5px}
 .order-tags .badge,.order-tags .type-badge,.order-tags .delivery-badge{min-height:23px;padding:4px 8px;font-size:10px}
 .card-actions{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;width:100%;justify-content:stretch;margin-top:2px}
 .card-actions>.primary{width:100%;min-width:0;min-height:42px;font-size:12px}
 .card-actions>.more-menu{position:static}
 .more-menu summary{min-height:42px}
 .menu-popover{top:auto;inset-inline:8px;bottom:55px;width:auto}
 .filter-strip{gap:10px}
 .filter-title{font-size:16px}
 .filter-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:8px}
 .filter-controls select{width:100%;min-width:0;max-width:none;min-height:42px;padding:9px 10px;font-size:12px}
 .filter-controls .refresh-btn{grid-column:1/-1}
}
@media(max-width:385px){
 .order-heading-line{flex-direction:column;align-items:flex-start}
 .order-meta-item{flex-wrap:wrap}
 .order-title{font-size:15px}
 .more-menu summary{padding:9px 10px}
}
@media(prefers-reduced-motion:reduce){.order-card,.order-card:hover{transition:none}}

/* V30.5 - unmistakable version marker to detect stale production deploys. */
.filter-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.release-tag{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;flex:none;font:700 11px/1.3 system-ui,-apple-system,"Segoe UI",Arial,sans-serif;direction:ltr;color:#0f3a61;background:#e7f1fa;border:1px solid #c4ddf2;border-radius:999px;padding:5px 10px;letter-spacing:.025em}
.release-tag-login{position:fixed;bottom:14px;left:14px;z-index:1;box-shadow:0 3px 12px rgba(0,0,0,.08)}
.release-tag-hub{margin:7px 20px 0;align-self:flex-start}
@media(max-width:650px){.filter-heading{width:100%}.release-tag{font-size:10px;padding:4px 7px}.release-tag-hub{margin:8px 12px 0}}
