/* Shared visual treatment for public documentation articles. */
.docs-main .docs-hero { padding: 56px 0 36px; text-align: left; }
.docs-main .docs-hero h1 { max-width: 960px; font-size: clamp(30px, 3.5vw, 44px); font-weight: 600; margin-bottom: 20px; }
.docs-main .docs-hero p { max-width: 800px; margin-left: 0; margin-right: 0; font-size: 17px; line-height: 1.75; }
.docs-main .content-section { padding: 36px 0; }
.docs-main .content-section h2 { font-size: 28px; font-weight: 600; line-height: 1.35; margin-bottom: 20px; }
.docs-main .content-section h3 { font-size: 21px; font-weight: 600; line-height: 1.4; margin-top: 24px; margin-bottom: 14px; }
.docs-main .content-section p, .docs-main .content-section li { color: var(--text-secondary); font-size: 15px; line-height: 1.8; }
.docs-main .content-section p { margin-bottom: 16px; }
.docs-main .content-section a { color: var(--accent); text-underline-offset: 3px; }
.docs-main .content-section a:hover { text-decoration: underline; }
.docs-main .doc-info, .docs-main .doc-warning, .docs-main .doc-danger,
.docs-main .planning-note, .docs-main .example-box {
    background: var(--bg-surface); color: var(--text-secondary);
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 20px 24px; margin: 24px 0; box-shadow: none;
}
.docs-main .doc-warning, .docs-main .doc-danger { border-left: 3px solid var(--accent); }
.docs-main .doc-info strong, .docs-main .doc-warning strong, .docs-main .doc-danger strong { color: var(--text-primary); font-weight: 600; }
.docs-main .doc-info > p:last-child, .docs-main .doc-warning > p:last-child,
.docs-main .doc-danger > p:last-child, .docs-main .example-box > p:last-child { margin-bottom: 0; }
.docs-main .content-section table { background: var(--bg-surface); border: 1px solid var(--border); box-shadow: none; }
.docs-main .content-section th { background: #f0efec; font-size: 14px; font-weight: 600; }
.docs-main .content-section td { background: transparent; font-size: 14px; line-height: 1.7; }
.docs-main .content-section th, .docs-main .content-section td { padding: 16px 20px; }
.docs-main .content-section p code, .docs-main .content-section li code { background: #f0efec; color: var(--text-primary); border-color: var(--border); }
.docs-main .scenario-card, .docs-main .status-card, .docs-main .defect-reason-item { background: var(--bg-surface); border-color: var(--border); box-shadow: none; }
.docs-main .docs-screenshot { box-shadow: none; }
@media (max-width: 768px) {
    .docs-main .content-section { padding: 28px 0 !important; }
    .docs-main .docs-hero { padding: 40px 0 28px !important; }
    .docs-main .doc-info, .docs-main .doc-warning, .docs-main .doc-danger, .docs-main .planning-note, .docs-main .example-box { padding: 18px 20px; }
    .docs-main .content-section th, .docs-main .content-section td { padding: 12px 16px; }
}

/* Keep comparison values readable without competing with table headings. */
.docs-main .content-section table td { font-variant-numeric: tabular-nums; }
.docs-main .content-section table .negative,
.docs-main .content-section table .danger { color: #c0392b; font-weight: 400; }
.docs-main .content-section table .positive,
.docs-main .content-section table .success { color: #218348; font-weight: 400; }
.docs-main .content-section table .neutral,
.docs-main .content-section table .warning { color: #806b42; font-weight: 400; }
.docs-main .content-section table td > span.negative,
.docs-main .content-section table td > span.positive,
.docs-main .content-section table td > span.neutral { color: var(--text-secondary); }
