.shadow-return-lane{margin:18px 0;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fff}
.shadow-return-note{margin:7px 0;color:var(--muted);font-size:12px;line-height:1.6}
.shadow-source-boundary{margin:8px 0;padding:8px 10px;border-left:2px solid #b69555;background:#fbf8f1;color:#65583e;font-size:11px;line-height:1.55}.shadow-source-details{margin:4px 0 9px;color:var(--muted);font-size:11px}.shadow-source-details summary{cursor:pointer}.shadow-source-details p,.shadow-source-details li{margin:5px 0;line-height:1.55}.shadow-source-details ul{padding-left:19px}
.shadow-return-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:12px 0}
.shadow-return-choice{display:flex;align-items:center;gap:7px;min-width:0;padding:8px 10px;border:1px solid #eceef3;border-radius:10px;font-size:12px;color:var(--muted)}
.shadow-return-choice span,.shadow-return-card-head h3{display:flex;align-items:center;gap:7px;min-width:0}
.shadow-return-choice i,.shadow-return-card-head i{display:inline-block;flex:none;width:9px;height:9px;border-radius:50%}
.shadow-return-chart-wrap{width:100%;overflow:hidden}
.shadow-return-chart{display:block;width:100%;height:auto;min-height:160px}
.shadow-return-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:10px}
.shadow-return-card{min-width:0;padding:12px;border:1px solid #eceef3;border-radius:11px;overflow-wrap:anywhere}
.shadow-return-card h3{font-size:13px;font-weight:600}
.shadow-return-card-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
.shadow-state{flex:none;font-size:10px;color:var(--muted)}
.shadow-state-active{color:#187b63}.shadow-state-blocked,.shadow-state-rejected{color:#ad5364}.shadow-state-pending,.shadow-state-not_initialized{color:#9a6b31}
.shadow-return-metrics{display:flex;align-items:baseline;gap:9px;margin:8px 0 5px;flex-wrap:wrap}
.shadow-return-metrics b{font-size:22px;font-variant-numeric:tabular-nums;font-weight:650}
.shadow-return-metrics span,.shadow-return-card p{font-size:11px;color:var(--muted);line-height:1.55}
.shadow-return-card p{margin-top:4px}
.shadow-return-reason{color:#ad5364!important}
.shadow-reason-code{display:inline-block;margin-left:4px;color:var(--muted);font-size:10px}.shadow-reason-code summary{cursor:pointer}.shadow-reason-code code{font-size:10px;overflow-wrap:anywhere}
.shadow-return-fixture{margin:8px 0;padding:7px 9px;border-radius:8px;background:#fff8e9;color:#8b6330;font-size:11px}
.shadow-return-gridline{stroke:var(--line)}
.shadow-return-chart text{fill:var(--muted);font-size:11px}
.shadow-return-line{fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.shadow-return-dot{stroke:#fff;stroke-width:1.5;vector-effect:non-scaling-stroke}
@media(max-width:700px){.shadow-return-lane{padding:15px 12px}.shadow-return-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.shadow-return-choice{padding:7px;font-size:11px}.shadow-return-grid{grid-template-columns:1fr}.shadow-return-chart{min-height:130px}}
