.mc-dialog{width:min(1080px,calc(100% - 40px));max-width:none;max-height:min(90dvh,960px);margin:auto;padding:0;border:1px solid var(--line,#374742);border-radius:20px;background:var(--panel,#182426);color:var(--text,#edf4f0);box-shadow:0 24px 100px #0006;overflow:hidden}
.mc-dialog[open]{display:flex;flex-direction:column}.mc-dialog::backdrop{background:rgba(4,12,12,.72);backdrop-filter:blur(5px)}
.mc-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 26px;border-bottom:1px solid var(--line,#374742);flex-shrink:0}
.mc-dialog-header h2{font-size:22px;line-height:1.35;letter-spacing:-.5px;margin:0;overflow-wrap:anywhere}.mc-dialog-header h2:focus{outline:none}
.mc-dialog-close{display:grid;place-items:center;width:44px;height:44px;flex-shrink:0;border:1px solid var(--line,#374742);border-radius:12px;background:var(--panel2,#213333);color:var(--text,#edf4f0);font:inherit;font-size:26px;line-height:1;cursor:pointer}
.mc-dialog-close:hover{border-color:var(--accent,#9dc9b4)}.mc-dialog button:focus-visible,.mc-dialog summary:focus-visible,.mc-dialog a:focus-visible{outline:2px solid var(--accent,#9dc9b4);outline-offset:3px}
.mc-dialog-body{padding:24px 26px 28px;overflow-y:auto;overscroll-behavior:contain;min-height:0;scrollbar-gutter:stable}.mc-dialog-body p{font-size:13px;line-height:1.75}.mc-dialog-body h3,.mc-dialog-body h4{line-height:1.4}.mc-dialog-body li{font-size:13px;line-height:1.8}.mc-dialog-body details{margin:12px 0}.mc-dialog-body summary{cursor:pointer;font-size:13px;line-height:1.7;padding:9px 0}.mc-dialog-body .library-admin{max-width:none}.mc-dialog-error{color:#f0a495;background:#a5352020;border:1px solid #a55c4c60;border-radius:10px;padding:14px 16px;font-size:13px}.mc-dialog-body .batch-tools{margin:0;padding:0;border:0}.mc-dialog-body .batch-plan-panel{margin:0;padding:0;border:0;background:transparent}.mc-dialog-body .batch-plan-heading>h4{display:none}
@media(max-width:600px){.mc-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 24px);border-radius:16px}.mc-dialog-header{padding:16px;gap:12px}.mc-dialog-header h2{font-size:19px}.mc-dialog-body{padding:18px 16px 24px}.mc-dialog::backdrop{backdrop-filter:blur(2px)}}
@media(prefers-reduced-motion:reduce){.mc-dialog-body{scroll-behavior:auto}}
