.cp-dialog{box-sizing:border-box;width:min(620px,94vw);max-height:88dvh;overflow:auto;padding:24px;border:1px solid #8a7755;border-radius:16px;background:#1c1e1b;color:#e8e4dc;font:14px/1.7 system-ui,sans-serif}.cp-dialog::backdrop{background:#0009}.cp-dialog h2{margin:0 0 12px;font-size:22px}.cp-description{color:#babdb2}.cp-status{padding:12px;background:#d5b98212;border-radius:8px;overflow-wrap:anywhere}.cp-dialog pre{font:12px/1.7 inherit;white-space:pre-wrap;max-height:200px;overflow:auto;overflow-wrap:anywhere}.cp-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:20px}.cp-dialog button{border:1px solid #bda16e;border-radius:8px;padding:10px 16px;background:#d9c091;color:#24261c;cursor:pointer;font:inherit}.cp-dialog button:disabled{opacity:.4;cursor:default}.cp-dialog button:last-child{background:#292c25;color:#e0e1d9}.cp-dialog [hidden]{display:none!important}.ic-toolbar .cp-export{background:#d9c091;color:#24261c;border-color:#d9c091;white-space:nowrap}@media(max-width:600px){.cp-dialog{padding:16px}.cp-actions{justify-content:stretch}.cp-actions button{flex:1}}

/* Keep the export action legible against generic transparent toolbar buttons. */
:root .ic-dialog .ic-stage>.ic-toolbar button.cp-export{background:#d9c091;color:#24261c;border-color:#d9c091}
:root .ic-dialog .ic-stage>.ic-toolbar button.cp-export:hover:not(:disabled){background:#e6cfa5;color:#24261c;border-color:#e6cfa5}
:root .ic-dialog .ic-stage>.ic-toolbar button.cp-export:focus-visible{outline:2px solid #f6dfb8;outline-offset:2px}
