.bos46l-modal{position:fixed;inset:0;z-index:10050;background:rgba(0,0,0,.72);display:grid;place-items:center;padding:20px}
.bos46l-box{width:min(980px,96vw);height:min(850px,94vh);background:#fff;border-radius:18px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 28px 90px rgba(0,0,0,.45);color:#171717;font-family:Arial,sans-serif}
.bos46l-box header{display:flex;justify-content:space-between;gap:18px;padding:20px 22px 14px;border-bottom:1px solid #e9e9e9}
.bos46l-box h2{margin:4px 0 5px;font-size:24px}.bos46l-box header p{margin:0;color:#666;font-size:13px}
.bos46l-eyebrow{font-size:11px;font-weight:900;letter-spacing:1.4px;color:#8b6b2d}
.bos46l-close{border:0;background:#eee;width:36px;height:36px;border-radius:50%;font-size:24px;cursor:pointer}
.bos46l-status{margin:14px 22px 0;padding:10px 12px;border-radius:9px;background:#f4f4f4;font-size:13px}
.bos46l-status.ok{background:#eaf6ec;color:#155d22}.bos46l-status.error{background:#fff0f0;color:#8a1f1f}
.bos46l-view{flex:1;min-height:0;margin:14px 22px;background:#f5f5f5;border:1px solid #ddd;border-radius:12px;display:grid;place-items:center;overflow:auto}
.bos46l-image{display:block;max-width:100%;height:auto;margin:auto}.bos46l-frame{width:100%;height:100%;border:0;background:#fff}
.bos46l-error{max-width:520px;padding:22px;text-align:center;color:#666;line-height:1.5}
.bos46l-openfile{border:1px solid #b89445;background:#111;color:#fff;border-radius:9px;padding:11px 16px;font-weight:800;cursor:pointer}
.bos46l-box footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:12px 22px 18px;color:#777;font-size:11px}
.bos46l-box footer div{display:flex;gap:8px}.bos46l-box footer button{border:1px solid #ccc;background:#fff;border-radius:8px;padding:9px 12px;font-weight:700;cursor:pointer}
.bos46l-box footer button:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:700px){.bos46l-modal{padding:8px}.bos46l-box{width:100%;height:96vh;border-radius:14px}.bos46l-box footer{align-items:flex-start;flex-direction:column}.bos46l-box footer div{width:100%}.bos46l-box footer button{flex:1}}