.dc-page { max-width: 1080px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.dc-page .dc-header { max-width: 760px; margin-bottom: 2rem; }
.dc-eyebrow { color: var(--primary, #1d4ed8); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.dc-page h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.1; margin: .75rem 0 1rem; }
.dc-page .dc-intro { font-size: 1.1rem; line-height: 1.6; }
.dc-workspace { border: 1px solid var(--border, #cbd5e1); border-radius: 16px; padding: clamp(1rem, 3vw, 1.75rem); background: var(--bg, #fff); }
.dc-workspace label:not(.dc-checkbox) { display: block; font-weight: 650; margin-bottom: .5rem; }
.dc-workspace textarea { box-sizing: border-box; width: 100%; min-height: 210px; resize: vertical; padding: .9rem; border: 1px solid var(--border, #94a3b8); border-radius: 8px; background: var(--bg, #fff); color: var(--text, #172033); font: .9rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; tab-size: 2; }
.dc-workspace textarea[readonly] { min-height: 240px; background: var(--bg-alt, #f8fafc); }
.dc-help { font-size: .87rem; color: var(--text-muted, #475569); line-height: 1.5; margin: .5rem 0 1rem; }
.dc-examples { display: flex; gap: .45rem; flex-wrap: wrap; margin: .5rem 0 1.25rem; }
.dc-page button, .dc-page select { font: inherit; }
.dc-page button { cursor: pointer; border: 1px solid var(--border, #94a3b8); border-radius: 7px; padding: .6rem .9rem; background: var(--bg, #fff); color: var(--text, #172033); }
.dc-page button:hover:not(:disabled) { background: var(--bg-alt, #f1f5f9); }
.dc-page .dc-example { font-size: .8rem; padding: .4rem .65rem; }
.dc-page button:disabled { opacity: .5; cursor: not-allowed; }
.dc-page :is(button, textarea, select, input):focus-visible { outline: 3px solid #2563eb; outline-offset: 3px; }
.dc-options { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(220px, 2fr); gap: 1.25rem; margin: 1.25rem 0; }
.dc-options select { width: 100%; border: 1px solid var(--border, #94a3b8); border-radius: 7px; padding: .6rem; background: var(--bg, #fff); color: var(--text, #172033); }
.dc-checkbox { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; }
.dc-checkbox input { margin-top: .25rem; accent-color: #1d4ed8; }
.dc-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0; }
.dc-page .dc-primary { background: #1d4ed8; border-color: #1d4ed8; color: #fff; font-weight: 650; }
.dc-page .dc-primary:hover:not(:disabled) { background: #1e40af; }
.dc-status { padding: .8rem 1rem; background: var(--bg-alt, #f1f5f9); border-radius: 8px; line-height: 1.5; min-height: 1.5rem; margin: 1rem 0; }
.dc-status.dc-error { color: #9f1239; background: #fff1f2; border: 1px solid #fecdd3; }
.dc-warnings { font-size: .9rem; line-height: 1.6; padding-left: 1.25rem; }
.dc-preview { overflow-x: auto; margin: 1.25rem 0; }
.dc-preview:empty { display: none; }
.dc-preview table { width: 100%; border-collapse: collapse; font-size: .85rem; }
.dc-preview caption { text-align: left; margin-bottom: .65rem; font-weight: 600; }
.dc-preview th, .dc-preview td { text-align: left; border: 1px solid var(--border, #cbd5e1); padding: .5rem; min-width: 6rem; max-width: 20rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.dc-content { max-width: 780px; margin: 2.5rem auto 0; line-height: 1.75; }
.dc-content h2 { margin-top: 2rem; font-size: 1.5rem; }
.dc-content h3 { font-size: 1.1rem; margin-top: 1.3rem; }
.dc-content pre { overflow-x: auto; background: var(--bg-alt, #f1f5f9); padding: 1rem; border-radius: 8px; }
.dc-content code { overflow-wrap: anywhere; }
.dc-nav { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; margin-top: 2rem; }
@media (max-width: 620px) { .dc-options { grid-template-columns: 1fr; gap: .5rem; } .dc-page { padding: 1.5rem .8rem 3rem; } .dc-actions button { flex-grow: 1; } }
