/* Checkpoint52: order imagery belongs to the submitted, immutable order. */
.dyo-admin-shell .studio-order-id{white-space:nowrap;width:105px}
.dyo-admin-shell .studio-order-id>span{display:inline-block;vertical-align:middle;min-width:24px;margin-right:10px;font-weight:700}
studio-order-preview{display:inline-block;vertical-align:middle}
.studio-order-preview{position:relative;text-align:left;line-height:1.5;font-family:Arial,Helvetica,sans-serif}
.studio-order-thumbnail{display:flex;align-items:center;justify-content:center;width:52px;height:64px;padding:3px;border:1px solid #dfe5ef;border-radius:8px;background:#fff;color:#8995a7;overflow:hidden;box-shadow:none;cursor:pointer}
.studio-order-thumbnail img{display:block;width:100%;height:100%;object-fit:contain}
.studio-order-thumbnail:hover,.studio-order-thumbnail:focus-visible{border-color:#d9232e;outline:2px solid #d9232e22;outline-offset:2px}
.studio-order-preview-panel{background:#fff;border:1px solid #e0e6ef;border-radius:12px;overflow:auto;color:#172338;padding:14px;box-shadow:none}
.studio-order-preview-panel.is-popup{position:fixed;z-index:1500;box-shadow:0 16px 50px #14223b38}
.studio-order-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;color:#172338;font-size:12px;text-align:left}
.studio-order-preview-heading>button{display:flex;justify-content:center;align-items:center;width:28px;height:28px;border:1px solid #e0e6ef;border-radius:6px;background:#f7f9fc;color:#52627a;font-size:22px;line-height:1;padding:0;cursor:pointer}
.studio-order-preview-views{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.studio-order-preview-views.is-combined{grid-template-columns:minmax(0,1fr)}
.studio-order-preview-views figure{margin:0;padding:8px;border:1px solid #edf0f5;border-radius:8px;background:#fff;min-width:0}
.studio-order-preview-views img{display:block;width:100%;height:260px;object-fit:contain}
.studio-order-preview-views figcaption{text-align:center;color:#6a778c;font-weight:600;font-size:11px;margin-top:7px}
.studio-order-preview-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;min-height:140px;padding:20px;color:#78859a;text-align:center;font-size:12px}
.studio-order-preview-empty>button{border:1px solid #dce3ec;border-radius:6px;background:#fff;color:#172338;padding:7px 11px;font:inherit;cursor:pointer}
.studio-order-preview-note{display:block;margin-top:10px;text-align:center;color:#8c97a8;font-size:10px}
.dyo-order-history .dyo-order-product{margin:0 0 24px;padding:18px;border:1px solid #e1e6ee;border-radius:10px;background:#fff;text-align:left}
.dyo-order-history .studio-order-product-top{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.2fr);gap:24px;align-items:start}
.dyo-order-history .studio-order-product-top h5{margin:3px 0 12px;font-size:21px;line-height:1.3}
.dyo-order-history .studio-order-product-top studio-order-preview{display:block;min-width:0}
.dyo-order-history .studio-order-product-top .studio-order-preview-views img{height:230px}
.dyo-order-history .studio-order-colour{display:inline-block;vertical-align:middle;width:22px;height:22px;margin:0 9px 0 0;border:1px solid #a8b2c1;border-radius:5px;box-shadow:inset 0 0 0 1px #fff4;flex:none}
.dyo-order-history .studio-order-value{display:flex;align-items:center;gap:0;min-width:0}
.dyo-order-history .studio-order-value>span:last-child{overflow-wrap:anywhere}
.dyo-order-history .studio-order-legacy-preview{max-width:600px;display:block;margin:0 0 24px auto}
@media(max-width:700px){
 .dyo-order-history .studio-order-product-top{grid-template-columns:minmax(0,1fr);gap:18px}
 .dyo-order-history .studio-order-product-top .studio-order-preview-views img{height:200px}
 .studio-order-preview-views img{height:220px}
 .dyo-order-history .dyo-order-product{padding:12px}
 .dyo-admin-shell .studio-order-id{min-width:100px}
}
