/* v96: compact list previews, without the red annotation border. */
.order-thumbnail{width:80px;flex:0 0 80px;position:relative;align-self:flex-start;overflow:hidden;border:0;border-radius:8px;background:#f4f4f4;color:#555}
.order-thumbnail-stage{display:flex;align-items:center;justify-content:center;width:100%;height:82px;overflow:hidden;text-decoration:none!important;color:inherit;background:repeating-conic-gradient(#f0f0f0 0 25%,#fff 0 50%) 0/10px 10px;touch-action:pan-y}
.order-thumbnail-stage img,.order-thumbnail-stage canvas{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;margin:0;border:0;border-radius:0}
.order-thumbnail-message{font-size:11px;line-height:1.5;text-align:center;padding:8px;word-break:keep-all;background:#f4f4f4;width:100%;height:100%;display:flex;align-items:center;justify-content:center}
.order-thumbnail [hidden]{display:none!important}
.order-thumbnail-controls{display:flex;align-items:center;justify-content:space-between;gap:0;min-height:28px;background:#f7f7f7}
.order-thumbnail-controls button{display:grid!important;place-items:center;flex:none!important;width:25px!important;min-width:0!important;min-height:28px!important;height:28px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#222!important;box-shadow:none!important;font-size:23px!important;line-height:1!important}
.order-thumbnail-controls button:disabled{opacity:.25;cursor:default}
.order-thumbnail-controls span{font-size:10px;white-space:nowrap;font-variant-numeric:tabular-nums}
.order-thumbnail-controls button:focus-visible,.order-thumbnail-stage:focus-visible{outline:2px solid #333!important;outline-offset:-2px}
.order-thumbnail .order-thumbnail-load{position:absolute;left:4px;right:4px;top:26px;width:calc(100% - 8px)!important;min-height:30px!important;margin:0!important;padding:5px 2px!important;font-size:11px!important;border-radius:5px!important;background:#fff!important;color:#222!important;border:1px solid #ccc!important}
.ops-order-summary,.my-order-summary{display:flex;align-items:center;gap:12px;min-width:0}
.ops-order-summary{flex:1}
.ops-order-copy,.my-order-copy{min-width:0;overflow-wrap:anywhere}
body[data-page=admin] .ops-order-title>.ops-order-summary{min-width:0}
body[data-page=admin] .ops-order-links{flex-shrink:0}
body[data-page=mypage] .my-order-summary{margin:12px 0 10px;gap:16px}
body[data-page=mypage] .my-order-summary .order-thumbnail{width:104px;flex-basis:104px}
body[data-page=mypage] .my-order-summary .order-thumbnail-stage{height:104px}
body[data-page=mypage] .my-order-summary h2{margin:0 0 7px}
body[data-page=mypage] .my-order-copy p{margin:5px 0}
@media(max-width:700px){body[data-page=admin] .ops-order-title{flex-wrap:wrap}body[data-page=admin] .ops-order-summary{flex-basis:100%}body[data-page=admin] .ops-order-links{margin-top:8px;max-width:100%}}
@media(max-width:540px){.ops-order-summary{gap:10px}.order-thumbnail{width:76px;flex-basis:76px}.order-thumbnail-stage{height:78px}body[data-page=mypage] .my-order-summary{gap:12px;align-items:flex-start}body[data-page=mypage] .my-order-summary .order-thumbnail{width:88px;flex-basis:88px}body[data-page=mypage] .my-order-summary .order-thumbnail-stage{height:88px}body[data-page=mypage] .my-order-summary h2{font-size:17px}.order-thumbnail-controls{min-height:32px}.order-thumbnail-controls button{min-height:32px!important;height:32px!important;width:26px!important}}

/* v98: muted surroundings keep the actual sheet distinct. */
.order-proof98{width:100%!important;max-width:100%;flex:none!important;border-radius:12px;background:#f6f7f8}
.order-proof98 .order-thumbnail-stage{height:420px;box-sizing:border-box;padding:20px;background:linear-gradient(135deg,#c4cad2,#d6dae0);border-radius:12px;box-shadow:inset 0 1px 5px #26324618}
.order-proof98 .order-thumbnail-stage img,.order-proof98 .order-thumbnail-stage canvas{width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain;background:#fff;border-radius:2px;box-shadow:0 4px 18px #1e293b24}
.order-proof98 .order-thumbnail-message{background:transparent;color:#4b5563;font-size:13px;min-height:140px;box-sizing:border-box}
.order-proof98 .order-thumbnail-stage:has(.order-thumbnail-message:not([hidden])){height:200px}
.order-proof98 .order-thumbnail-controls{justify-content:center;gap:24px;min-height:48px;background:#f6f7f8}
.order-proof98 .order-thumbnail-controls button{width:44px!important;height:44px!important;min-height:44px!important;font-size:28px!important}.order-proof98 .order-thumbnail-controls span{font-size:13px;min-width:64px;text-align:center}
.order-proof98 .order-thumbnail-load{top:80px;left:50%;right:auto;transform:translateX(-50%);width:160px!important;min-height:40px!important;font-size:13px!important}
.proof98-caption{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;font-size:13px}.proof98-caption span{min-width:0;overflow-wrap:anywhere}.proof98-caption a{flex:none;color:inherit}
@media(max-width:600px){.order-proof98 .order-thumbnail-stage{height:340px;padding:14px}.proof98-caption{padding:10px;font-size:12px;gap:10px}}
