/* Article tables and optional Group block boxes. */
:is(.ci-article-body,.editor-styles-wrapper) table {
 width:100%; table-layout:auto; border-collapse:separate; border-spacing:0; margin:0;
 border:1px solid var(--ci-border-dark,#384356); border-radius:12px;
 background:var(--ci-surface,#111722); color:var(--ci-text,#f7f7fb);
 font-size:1rem; line-height:1.6; text-align:start;
}
:is(.ci-article-body,.editor-styles-wrapper) table :is(th,td) {
 padding:16px 20px; vertical-align:top; text-align:start;
 border:0; border-block-end:1px solid var(--ci-border-dark,#384356);
 box-sizing:border-box; min-width:10rem;
 overflow-wrap:break-word; word-break:normal; white-space:normal; hyphens:manual;
}
/* Keep short names intact; wide comparisons scroll instead of crushing columns. */
:is(.ci-article-body,.editor-styles-wrapper) table tr > :first-child {min-width:7.5rem}
:is(.ci-article-body,.editor-styles-wrapper) table :is(th,td) :is(a,p,strong,span) {
 overflow-wrap:break-word; word-break:normal; hyphens:manual;
}
:is(.ci-article-body,.editor-styles-wrapper) :is(table.is-fixed-layout,table.has-fixed-layout,.wp-block-table.is-fixed-layout table) {table-layout:auto}
:is(.ci-article-body,.editor-styles-wrapper) table tr > * + * {border-inline-start:1px solid var(--ci-border-dark,#384356)}
:is(.ci-article-body,.editor-styles-wrapper) table th {background:var(--ci-surface-alt,#171e2b);color:var(--ci-gold,#f6cb62);font-weight:700}
:is(.ci-article-body,.editor-styles-wrapper) table tbody tr:nth-child(even) {background:var(--ci-surface-alt,#171e2b)}
:is(.ci-article-body,.editor-styles-wrapper) table tbody tr:last-child > * {border-block-end:0}
:is(.ci-article-body,.editor-styles-wrapper) table caption {padding:12px;text-align:start;color:inherit}
:is(.ci-article-body,.editor-styles-wrapper) :is(.ci-table-scroll,.wp-block-table,.ci-eb-scroll) {width:100%;min-width:0;max-width:100%;overflow-x:auto;margin:24px 0;border-radius:12px;overscroll-behavior-inline:contain}
.ci-table-scroll:focus-visible {outline:2px solid var(--ci-gold,#f6cb62);outline-offset:4px}
.ci-article-body .ci-table-scroll table {min-width:560px}
:is(.ci-article-body,.editor-styles-wrapper) :is(.is-style-ci-box,.is-style-ci-highlight) {
 box-sizing:border-box;padding:clamp(18px,3vw,30px);margin-block:24px;
 border:1px solid var(--ci-border-dark,#384356);border-radius:14px;
 background:var(--ci-surface,#111722);color:var(--ci-text,#f7f7fb);
}
:is(.ci-article-body,.editor-styles-wrapper) .is-style-ci-highlight {border-inline-start:4px solid var(--ci-gold,#f6cb62)}
:is(.is-style-ci-box,.is-style-ci-highlight) > :first-child {margin-block-start:0}
:is(.is-style-ci-box,.is-style-ci-highlight) > :last-child {margin-block-end:0}
@media(max-width:650px) {
 .ci-article-body table :is(th,td) {padding:12px 14px;font-size:.94rem}
}

/* Section grouping retains readable article spacing during one-time motion. */
.ci-article-section {margin-block:0 2em}
.ci-article-section > p {margin:0 0 1.42em}
.ci-article-section > :last-child {margin-bottom:0}
