.cm-display-mode-wrap{width:100%;max-width:none;margin:16px auto 0;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid color-mix(in srgb,#2563eb 24%,transparent);border-radius:16px;background:color-mix(in srgb,var(--surface,#fff) 94%,#dbeafe);box-shadow:0 8px 24px #0f172a0d}.cm-display-mode-copy{display:flex;flex-direction:column;gap:2px}.cm-display-mode-copy strong{font-size:14px}.cm-display-mode-copy span{font-size:12px;color:#64748b}.cm-display-mode-switch{display:grid;grid-template-columns:1fr 1fr;padding:4px;border-radius:13px;background:#e2e8f0;min-width:270px}.cm-display-mode-switch button{border:0;border-radius:10px;padding:10px 14px;background:transparent;color:#475569;font-weight:850;cursor:pointer;white-space:nowrap}.cm-display-mode-switch button.active{background:#fff;color:#1d4ed8;box-shadow:0 3px 12px #0f172a1f}.cm-display-mode-switch button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}.cm-mode-status{position:fixed;left:50%;bottom:24px;z-index:12000;transform:translate(-50%,18px);opacity:0;pointer-events:none;background:#111827;color:white;border-radius:999px;padding:11px 16px;font-weight:800;box-shadow:0 14px 34px #0004;transition:.2s}.cm-mode-status.show{opacity:1;transform:translate(-50%,0)}
.cm-simple-panel{margin:18px 0;padding:20px;border:1px solid #bfdbfe;border-radius:20px;background:linear-gradient(135deg,#eff6ff,#f8fafc);color:#172033}.cm-simple-head{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.cm-simple-head span{font-size:11px;font-weight:900;letter-spacing:.12em;color:#2563eb}.cm-simple-head h2{margin:5px 0 6px;font-size:21px}.cm-simple-head p{margin:0;color:#64748b;line-height:1.55}.cm-simple-head>strong{border-radius:999px;background:#dbeafe;color:#1d4ed8;padding:7px 11px;font-size:12px;white-space:nowrap}.cm-simple-presets{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:11px}.cm-simple-presets button{display:flex;flex-direction:column;gap:4px;text-align:left;border:1px solid #cbd5e1;border-radius:14px;background:#fff;padding:14px;color:inherit;cursor:pointer}.cm-simple-presets button:hover,.cm-simple-presets button.selected{border-color:#2563eb;box-shadow:0 0 0 3px #dbeafe}.cm-simple-presets button.recommended{border-color:#93c5fd}.cm-simple-presets span{font-size:12px;color:#64748b}.cm-simple-essential{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding-top:14px;border-top:1px dashed #bfdbfe}.cm-simple-essential label{font-weight:800}.cm-simple-essential select{margin-left:8px;padding:8px;border:1px solid #cbd5e1;border-radius:9px}.cm-simple-essential p{margin:0;font-size:12px;color:#64748b}.cm-pdf-simple-note{display:flex;align-items:center;gap:10px;margin:0 0 14px;padding:12px 14px;border-radius:13px;background:#eff6ff;border:1px solid #bfdbfe;color:#1e3a8a}.cm-pdf-simple-note span{flex:1;font-size:12px}.cm-pdf-simple-note button{border:0;border-radius:9px;background:#2563eb;color:#fff;padding:8px 11px;font-weight:800;cursor:pointer}
html[data-cm-display-mode="expert"] #cmImageSimplePanel{display:none!important}html[data-cm-display-mode="simple"] #optionSection .options-grid,html[data-cm-display-mode="simple"] #optionSection #formatSettingsPanel,html[data-cm-display-mode="simple"] #optionSection #smartPanel,html[data-cm-display-mode="simple"] #purposePresetGroup,html[data-cm-display-mode="simple"] #workflowPanel,html[data-cm-display-mode="simple"] .diagnostic-panel,html[data-cm-display-mode="simple"] .preview-toolbar .toolbar-controls{display:none!important}html[data-cm-display-mode="simple"] #optionSection{padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}html[data-cm-display-mode="expert"] #cmPdfSimpleNote{display:none!important}html[data-cm-display-mode="simple"] #options .cm-advanced-option{display:none!important}html[data-cm-display-mode="simple"] #options{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}html[data-cm-display-mode="simple"] .trust-strip,html[data-cm-display-mode="simple"] .shortcut-strip,html[data-cm-display-mode="simple"] .session-summary{display:none!important}
@media(max-width:720px){.cm-display-mode-wrap{margin:10px 12px 0;align-items:stretch;flex-direction:column}.cm-display-mode-copy span{display:none}.cm-display-mode-switch{min-width:0;width:100%}.cm-display-mode-switch button{padding:11px 8px}.cm-simple-presets{grid-template-columns:1fr}.cm-simple-head,.cm-simple-essential{align-items:stretch;flex-direction:column}.cm-simple-head>strong{align-self:flex-start}.cm-pdf-simple-note{align-items:flex-start;flex-wrap:wrap}.cm-pdf-simple-note span{flex-basis:70%}}
@media(prefers-color-scheme:dark){.cm-display-mode-wrap{background:#111827;border-color:#334155;color:#f8fafc}.cm-display-mode-copy span{color:#cbd5e1}.cm-display-mode-switch{background:#334155}.cm-display-mode-switch button{color:#cbd5e1}.cm-display-mode-switch button.active{background:#0f172a;color:#93c5fd}.cm-simple-panel{background:linear-gradient(135deg,#172554,#111827);border-color:#1d4ed8;color:#f8fafc}.cm-simple-head p,.cm-simple-presets span,.cm-simple-essential p{color:#cbd5e1}.cm-simple-presets button{background:#111827;border-color:#475569}.cm-simple-essential select{background:#111827;color:#fff;border-color:#475569}.cm-pdf-simple-note{background:#172554;border-color:#1d4ed8;color:#dbeafe}}

.cm-display-mode-actions{display:flex;align-items:center;gap:10px}.cm-tutorial-launch{border:1px solid #93c5fd;border-radius:12px;background:#eff6ff;color:#1d4ed8;padding:11px 14px;font-weight:850;cursor:pointer;white-space:nowrap}.cm-tutorial-launch:hover{background:#dbeafe}.cm-tutorial-launch:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
.cm-tutorial-target{position:relative!important;z-index:11002!important;outline:4px solid #f59e0b!important;outline-offset:7px!important;border-radius:12px!important;box-shadow:0 0 0 9999px #0f172a99!important;transition:outline .2s,box-shadow .2s}.cm-tutorial-card{display:none;position:fixed;z-index:11003;max-width:310px;border:1px solid #bfdbfe;border-radius:14px;background:#fff;color:#172033;padding:13px 14px;box-shadow:0 24px 70px #0006}.cm-tutorial-card.show{display:block}.cm-tutorial-progress{display:flex;align-items:center;justify-content:space-between;color:#2563eb;font-size:12px;font-weight:900}.cm-tutorial-progress button{border:0;background:transparent;font-size:20px;color:#64748b;cursor:pointer}.cm-tutorial-card h2{margin:6px 0 5px;font-size:17px;line-height:1.3}.cm-tutorial-card p{margin:0;color:#475569;font-size:13px;line-height:1.45}.cm-tutorial-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:16px}.cm-tutorial-actions button{border:1px solid #cbd5e1;border-radius:10px;background:#fff;padding:7px 10px;font-weight:800;cursor:pointer}.cm-tutorial-actions button.primary{border-color:#2563eb;background:#2563eb;color:#fff}.cm-tutorial-offer{position:fixed;right:18px;bottom:18px;z-index:10020;display:flex;align-items:center;gap:12px;max-width:520px;padding:14px 15px;border:1px solid #bfdbfe;border-radius:16px;background:#fff;box-shadow:0 16px 44px #0003;transform:translateY(20px);opacity:0;transition:.2s}.cm-tutorial-offer.show{transform:none;opacity:1}.cm-tutorial-offer div{display:flex;flex-direction:column}.cm-tutorial-offer span{font-size:12px;color:#64748b}.cm-tutorial-offer button{border:0;border-radius:10px;background:#2563eb;color:#fff;padding:9px 12px;font-weight:850;cursor:pointer;white-space:nowrap}.cm-tutorial-offer button.close{background:transparent;color:#64748b;font-size:20px;padding:3px}.cm-tutorial-done{position:fixed;left:50%;top:18px;z-index:12000;transform:translate(-50%,-20px);opacity:0;display:flex;flex-direction:column;gap:2px;border-radius:14px;background:#065f46;color:#fff;padding:13px 18px;box-shadow:0 14px 40px #0004;transition:.2s}.cm-tutorial-done.show{transform:translate(-50%,0);opacity:1}.cm-tutorial-done span{font-size:12px;color:#d1fae5}
@media(max-width:860px){.cm-display-mode-actions{width:100%;flex-direction:column}.cm-tutorial-launch{width:100%}.cm-tutorial-offer{left:12px;right:12px;bottom:12px;flex-wrap:wrap}.cm-tutorial-offer div{flex:1 1 220px}.cm-tutorial-card{max-width:none;width:auto!important}}
@media(prefers-color-scheme:dark){.cm-tutorial-launch{background:#172554;border-color:#1d4ed8;color:#bfdbfe}.cm-tutorial-card,.cm-tutorial-offer{background:#111827;color:#f8fafc;border-color:#334155}.cm-tutorial-card p,.cm-tutorial-offer span{color:#cbd5e1}.cm-tutorial-actions button{background:#1f2937;border-color:#475569;color:#fff}}
@media(prefers-reduced-motion:reduce){.cm-tutorial-target,.cm-tutorial-card,.cm-tutorial-offer,.cm-tutorial-done{transition:none!important;scroll-behavior:auto!important}}

/* v3.21.8 mode switch click-boundary hardening */
.cm-display-mode-actions{display:flex;align-items:center;gap:10px;position:relative;isolation:isolate}
.cm-display-mode-switch{position:relative!important;inset:auto!important;z-index:1;overflow:hidden}
.cm-display-mode-switch>button[data-cm-display-mode]{position:relative!important;inset:auto!important;display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-width:0!important;height:auto!important;max-width:none!important;pointer-events:auto!important}
.cm-display-mode-wrap::before,.cm-display-mode-wrap::after,.cm-display-mode-switch::before,.cm-display-mode-switch::after{pointer-events:none!important}

/* v3.32.7 equal-width mode panel */
.converter-header .cm-display-mode-wrap,.converter-header .cm-helper-density{width:100%;max-width:none;margin-left:0;margin-right:0}
