.quote-bg-controls [hidden], [data-billing][hidden], label[hidden] { display:none!important; }
.quote-bg-mode { display:grid;gap:6px;margin:0 0 12px;padding:10px;border:1px solid #c7d2fe;border-radius:10px; }
.quote-bg-mode legend { padding:0 4px;font-size:13px;font-weight:700; }
.quote-bg-mode label { display:flex;align-items:center;gap:8px;min-height:36px;font-size:14px;cursor:pointer; }
.quote-bg-mode input { accent-color:#4f46e5;width:17px;height:17px;margin:0; }
.quote-bg-note,.quote-bg-status { color:#475569;font-size:13px;line-height:1.65;margin:0 0 10px; }
.quote-bg-status:empty { display:none; }
.quote-bg-primary { min-height:46px;padding:10px 16px;border:0;border-radius:10px;background:#4f46e5;color:white;font:inherit;font-weight:700;cursor:pointer; }
.quote-bg-controls button.quote-bg-primary { width:100%;background:#4f46e5!important;color:#fff!important;border-color:#4f46e5!important;font-weight:700!important; }
.quote-bg-primary:disabled { opacity:.5;cursor:wait; }
.quote-bg-review { position:fixed;inset:0;z-index:2147483600;display:flex;align-items:center;justify-content:center;padding:12px;background:#0f172ab3;font-family:system-ui,sans-serif;box-sizing:border-box;color:#1e293b; }
.quote-bg-review * { box-sizing:border-box; }
.quote-bg-review-panel { width:min(100%,1000px);max-height:calc(100dvh - 24px);display:flex;flex-direction:column;background:white;border-radius:14px;padding:18px;gap:10px;box-shadow:0 10px 50px #0004;overflow:auto; }
.quote-bg-review h2 { margin:0;font-size:20px;color:#1e293b;line-height:1.5; }
.quote-bg-review header p { margin:4px 0 0;font-size:13px;color:#475569; }
.quote-bg-review-tools { display:flex;flex-wrap:wrap;gap:8px;align-items:center; }
.quote-bg-review button { min-height:40px;border:1px solid #cbd5e1;border-radius:8px;padding:7px 12px;background:#fff;color:#334155;font-family:inherit;font-size:14px;cursor:pointer; }
.quote-bg-review button[aria-pressed="true"] { background:#e0e7ff;border-color:#818cf8;color:#3730a3; }
.quote-bg-review button:focus-visible,.quote-bg-controls button:focus-visible,.quote-bg-mode input:focus-visible { outline:3px solid #6366f1;outline-offset:2px; }
.quote-bg-review button.quote-bg-primary { background:#4f46e5;color:#fff;border-color:#4f46e5; }
.quote-bg-review button:disabled { opacity:.5;cursor:default; }
.quote-bg-review-stage { height:min(55dvh,580px);min-height:180px;flex-shrink:0;display:flex;align-items:center;justify-content:center;overflow:auto;border:1px solid #cbd5e1;border-radius:8px; }
.quote-bg-review-stage.is-checker { background:repeating-conic-gradient(#d1d5db 0% 25%,white 0% 50%) 0 0/20px 20px; }
.quote-bg-review-stage.is-dark { background:#111827; }
.quote-bg-review-stage.is-light { background:#fff; }
.quote-bg-review-stage img { display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;flex-shrink:0; }
.quote-bg-review-stage.is-actual { display:block; }
.quote-bg-review-stage.is-actual img { max-width:none;max-height:none; }
.quote-bg-review footer { display:flex;justify-content:flex-end;gap:10px;flex-shrink:0; }
@media(max-width:600px) { .quote-bg-review { padding:8px; }.quote-bg-review-panel { padding:12px;max-height:calc(100dvh - 16px);gap:8px; }.quote-bg-review h2 { font-size:18px; }.quote-bg-review-tools { gap:6px; }.quote-bg-review button { padding:7px 9px; }.quote-bg-review-stage { height:43dvh;min-height:160px; }.quote-bg-review footer button { flex:1; } }
