/* -----------------------------------------------
   Doc Importer Page Template
   Scoped entirely to .doc-importer-content
   No inline styles. No !important.
----------------------------------------------- */

.doc-importer-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 0 24px;
    font-size: 1rem;
    line-height: 1.75;
    color: #2d3748;
}

/* Headings */
.doc-importer-heading--2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: #1a365d;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
}

.doc-importer-heading--3 {
    font-size: 1.375rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: #2c5282;
}

.doc-importer-heading--4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: #2d3748;
}

/* Paragraph */
.doc-importer-paragraph {
    margin: 0 0 1.25rem;
}

/* Lists */
.doc-importer-list--unordered {
    list-style: disc;
    margin: 0 0 1.25rem 1.5rem;
}

.doc-importer-list--ordered {
    list-style: decimal;
    margin: 0 0 1.25rem 1.5rem;
}

.doc-importer-list--unordered li,
.doc-importer-list--ordered li {
    margin-bottom: 0.375rem;
}

/* Table */
.doc-importer-table-wrap {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.doc-importer-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}

.doc-importer-table th {
    background: #1a365d;
    color: #fff;
    text-align: left;
    padding: 0.625rem 1rem;
    font-weight: 600;
}

.doc-importer-table td {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.doc-importer-table tbody tr:nth-child(even) {
    background: #f7fafc;
}

/* Callouts */
.doc-importer-callout {
    padding: 1rem 1.25rem;
    border-left: 4px solid;
    border-radius: 0 4px 4px 0;
    margin: 1.5rem 0;
    font-size: 0.9375rem;
}

.doc-importer-callout--info {
    background: #ebf8ff;
    border-color: #3182ce;
    color: #2c5282;
}

.doc-importer-callout--warning {
    background: #fffaf0;
    border-color: #dd6b20;
    color: #7b341e;
}

.doc-importer-callout--note {
    background: #f0fff4;
    border-color: #38a169;
    color: #276749;
}

/* Images */
.doc-importer-image {
    margin: 1.75rem 0;
    text-align: center;
}

.doc-importer-image img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.doc-importer-image figcaption {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #718096;
    font-style: italic;
}

.doc-importer-image--placeholder .doc-importer-image__placeholder {
    background: #edf2f7;
    border: 2px dashed #a0aec0;
    border-radius: 4px;
    padding: 2rem;
    color: #718096;
    font-size: 0.875rem;
}

/* Divider */
.doc-importer-divider {
    border: none;
    border-top: 1px solid #e2e8f0;
    margin: 2rem 0;
}

/* Quote */
.doc-importer-quote {
    border-left: 4px solid #1a365d;
    margin: 1.75rem 0;
    padding: 0.75rem 1.25rem;
    background: #f7fafc;
}

.doc-importer-quote p {
    margin: 0 0 0.375rem;
    font-style: italic;
    font-size: 1.0625rem;
}

.doc-importer-quote cite {
    font-size: 0.875rem;
    color: #718096;
    font-style: normal;
}

/* Empty state */
.doc-importer-empty {
    color: #718096;
    font-style: italic;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 640px) {
    .doc-importer-content {
        padding: 0 16px;
    }

    .doc-importer-heading--2 { font-size: 1.375rem; }
    .doc-importer-heading--3 { font-size: 1.125rem; }
}
