/* One aligned, compact order grid; older order-card rules are scoped out here. */
#jobs{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}#jobs tr.compact-order,#jobs tr.compact-order.is-owner{grid-column:auto!important;border:1px solid #566169!important;border-radius:14px!important}#jobs tr.compact-order .order-card-body{display:grid!important;grid-template-columns:80px minmax(0,1fr);grid-template-areas:"head head" "date date" "contact contact" "preview options" "preview numbers" "model model" "footer footer" "actions actions";gap:6px 10px;padding:12px!important;min-height:0!important;background:#12181d!important;isolation:isolate;overflow:hidden}#jobs .order-card-body>*:not(.compact-order-backdrop){position:relative;z-index:1;min-width:0}#jobs tr.compact-order .compact-order-head{grid-area:head!important;display:grid!important;grid-template-columns:minmax(0,1fr) 36px 36px!important;grid-template-rows:auto!important;gap:6px!important;margin:0!important;align-items:center!important}#jobs tr.compact-order .compact-order-head>.job-select{grid-column:1!important;grid-row:1!important;font:700 19px/1.35 system-ui!important;text-align:left!important;min-height:36px!important;color:#f5f7f8!important;-webkit-line-clamp:2!important}#jobs tr.compact-order .compact-order-head>.job-state-icon{display:none!important}#jobs tr.compact-order .compact-order-head>.compact-model-open{grid-column:2!important;grid-row:1!important}#jobs tr.compact-order .compact-order-head>.compact-order-sheet{grid-column:3!important;grid-row:1!important}#jobs .compact-order-head>.job-new-label{display:none!important}#jobs .compact-order-contact{grid-area:contact;display:flex!important;align-items:center;gap:8px!important;flex-wrap:wrap;margin:0 0 3px!important;font:12px/1.5 system-ui!important;color:#d0d8de!important}#jobs .compact-order-person{display:flex;align-items:baseline;gap:6px;font-weight:600;white-space:nowrap}#jobs .compact-order-person small{font-size:11px;font-weight:400;color:#9faeb7}#jobs .compact-order-rating{color:#ffd477;font-size:11px;letter-spacing:1px;white-space:nowrap}#jobs .compact-order-email{flex:1 1 150px!important;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}#jobs .compact-preview{grid-area:preview;min-height:78px;align-self:stretch;border-radius:9px;overflow:hidden;background:#ffffff06}#jobs .compact-preview .compact-order-thumb{width:100%!important;height:100%!important;min-height:78px;max-height:118px;object-fit:cover!important;display:block!important;border-radius:0!important}#jobs .order-option-tags{grid-area:options;margin:0!important;display:flex!important;gap:4px!important;align-content:start!important;align-items:start!important}#jobs .order-option-tags:empty{display:none!important}#jobs tr.compact-order .order-option-tags .request-tag{font-size:10px!important;padding:3px 6px!important;border-radius:6px!important;line-height:1.45!important}#jobs .compact-order-numbers{grid-area:numbers;display:flex!important;gap:8px;flex-wrap:wrap;align-items:center;margin:0!important;align-self:end}#jobs .compact-order-numbers strong{font-size:17px!important;line-height:1.3;color:#c2f3dc}#jobs .compact-order-status{font:600 11px/1.4 system-ui!important;margin:0!important;color:#e4e9ed!important}#jobs .compact-order-time{font-size:10px!important;margin-left:auto}#jobs .compact-order-model{grid-area:model;margin:0!important;font-size:10px!important}#jobs .compact-order-footer{grid-area:footer;margin:0!important;display:flex;gap:8px;align-items:center}#jobs .compact-order-price{display:none!important}#jobs .order-quick-actions{grid-area:actions;justify-content:end;margin:0!important;gap:5px}#jobs .order-quick-actions .round-action{width:30px!important;height:30px!important;min-height:30px!important;font-size:14px!important}#jobs .compact-order-backdrop{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover;filter:blur(3px);opacity:.16;z-index:0;pointer-events:none}#jobs tr.is-complete .order-card-body{background:#10171d!important}#jobs .order-card-body:has(.compact-order-backdrop):after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0c121cbb,#0b131b77);z-index:0;pointer-events:none}#jobs tr.compact-order .order-card-body:not(:has(.compact-preview)){grid-template-columns:1fr;grid-template-areas:"head" "date" "contact" "options" "numbers" "model" "footer" "actions"}#jobs .order-card-body>p{grid-column:1/-1;margin:0;font-size:11px}#jobs tr.is-new{border-color:#6de5a4!important}#jobs tr[data-status=processing]{border-color:#bba45c!important}
@media(max-width:760px){#jobs{grid-template-columns:minmax(0,1fr)!important}}@media(max-width:360px){#jobs tr.compact-order .order-card-body:has(.compact-preview){grid-template-columns:64px minmax(0,1fr)}#jobs tr.compact-order .order-card-body{padding:10px!important;gap:5px 8px}#jobs tr.compact-order .compact-order-head>.job-select{font-size:17px!important}#jobs .compact-order-contact{gap:6px!important}}

#jobs .compact-order-date{grid-area:date;display:block;font:10px/1.5 system-ui;color:#a9b7c3;font-variant-numeric:tabular-nums}#jobs .compact-order-contact .compact-order-person{padding:0!important;min-height:28px!important;background:none!important;border:0!important;color:#e1f5ee;font:600 12px/1.5 system-ui;cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#9bbcaf66}#jobs .compact-order-contact .compact-order-person:focus-visible{outline:2px solid #a7f3d0;outline-offset:3px}.order-customer-filter{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0;padding:10px 12px;border:1px solid #91b8aa66;border-radius:10px;background:#17352b55;font-size:12px}.order-customer-filter[hidden]{display:none}.order-customer-filter span{min-width:0;overflow-wrap:anywhere}.order-customer-filter button{flex:none;min-height:36px;padding:6px 10px;border:1px solid #a7f3d05a;border-radius:8px;font-size:11px;color:inherit;background:#ffffff0a}

/* Customer completion: wide sky-blue halo, quiet photo beneath crisp text. */
#jobs tr.compact-order[data-ownership=external][data-status=complete]{border:2px solid #7bd9ff!important;box-shadow:0 0 0 1px #b9edff33,0 0 16px #54c8ff66,0 0 36px #36aaff30!important}
#jobs tr.compact-order[data-ownership=external][data-status=complete] .order-card-body{background:radial-gradient(ellipse at 0 0,#163e57 0,transparent 70%),radial-gradient(ellipse at 100% 100%,#123449 0,transparent 75%),#0b1822!important}
#jobs tr.compact-order[data-ownership=external][data-status=complete] .order-card-body:after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(115deg,#07131dd9 5%,#0c2130b8 48%,#0a1723ed 90%),radial-gradient(ellipse at 15% 15%,#57cbff33,transparent 75%)}
#jobs tr.compact-order[data-ownership=external][data-status=complete] .compact-order-backdrop{opacity:.12;filter:blur(5px)}
#jobs tr.compact-order[data-ownership=external][data-status=complete] .job-select{color:#fff!important;text-shadow:0 1px 4px #000b}
#jobs tr.compact-order[data-ownership=external][data-status=complete] :is(.compact-order-person,.compact-order-email,.compact-order-status){color:#f1f9ff!important;text-shadow:0 1px 3px #000b}
#jobs tr.compact-order[data-ownership=external][data-status=complete] :is(.compact-order-date,.compact-order-time,.compact-order-person small,.compact-order-model){color:#c6dce9!important}
#jobs tr.compact-order[data-ownership=external][data-status=complete] .compact-order-numbers strong{color:#bcecff}
#jobs tr.compact-order[data-ownership=external][data-status=complete] .compact-order-progress>span{background:#8edfff!important}
@media(prefers-reduced-motion:no-preference){#jobs tr.compact-order[data-ownership=external][data-status=complete]{animation:customer-complete-sky 4s ease-in-out infinite}}
@keyframes customer-complete-sky{50%{box-shadow:0 0 0 1px #c5f3ff55,0 0 22px #65d4ff88,0 0 46px #42b7ff44}}

.review-improvements{padding:10px;border-left:2px solid #83d5ff;background:#102b3a55;color:#d2e9f6!important;white-space:pre-wrap}

/* Intrinsic content rows: preview and options share a bounded, compact media row. */
#jobs tr.compact-order .order-card-body{grid-template-areas:"head head" "date date" "contact contact" "preview options" "numbers numbers" "health health" "model model" "footer footer" "actions actions";align-content:start;grid-auto-rows:auto}
#jobs tr.compact-order .compact-preview{height:100px;min-height:0;align-self:start}
#jobs tr.compact-order .compact-preview .compact-order-thumb{height:100%!important;min-height:0!important;max-height:none;object-fit:cover}
#jobs tr.compact-order .order-option-tags{align-self:start;align-content:start;flex-wrap:wrap}
#jobs tr.compact-order .compact-order-numbers{align-self:start}
#jobs tr.compact-order .order-health{grid-area:health;margin:2px 0}
#jobs tr.compact-order .order-card-body:not(:has(.compact-preview)){grid-template-areas:"head" "date" "contact" "options" "numbers" "health" "model" "footer" "actions"}
#jobs tr.compact-order .order-mail-status{padding:8px 10px;gap:9px}
#jobs tr.compact-order .order-mail-status strong{font-size:16px!important}
#jobs tr.compact-order .order-health-icon{flex-basis:26px;height:26px;font-size:20px}
#jobs tr.compact-order .compact-order-model:empty{display:none}
@media(min-width:761px){#jobs{align-items:start}}
