/* SAG table guide: one scroll boundary, aligned headers, readable prose, explicit task widths. */
body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll){max-width:100%;overflow-x:auto;scrollbar-gutter:auto;box-sizing:border-box;border:1px solid #cbd8e8;border-radius:12px;background:#fff;overscroll-behavior-x:contain}
body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) table{width:100%;border-collapse:collapse;text-align:left;font-size:15px;line-height:1.75}
body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) :is(th,td){box-sizing:border-box;vertical-align:top;text-align:left;min-width:0;padding:12px 14px;border:0;border-bottom:1px solid #dce5ef;white-space:normal;word-break:normal;overflow-wrap:break-word}
body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) thead th{background:#102d50;color:#fff;font-size:14px;font-weight:700;line-height:1.6}
body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) tbody :is(th,td){background:#fff;color:#294a6c}
body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) tbody th{font-weight:650;color:#102d50}
body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) tbody tr:nth-child(even)>:is(th,td){background:#f7faff}
body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) tbody tr.is-primary>:is(th,td){background:#eaf3ff}
body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) tbody tr:last-child>:is(th,td){border-bottom:0}
body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) a[href^="http"]{overflow-wrap:anywhere;text-underline-offset:3px}
body:lang(ko) :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) :is(th,td){word-break:keep-all}
body .workspace-table .workspace-data-link strong{font-size:14px;line-height:1.65}body .workspace-table .workspace-data-link small{font-size:12px;line-height:1.65}
body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll):focus-visible{outline:3px solid #175cd3;outline-offset:3px}
body :is(.journey-table,.blog-table) table{min-width:640px}
body :is(.journey-table,.blog-table) table:has(thead th:nth-child(5)){min-width:900px}
body :is(.journey-table,.blog-table) table:has(thead th:nth-child(7)){min-width:1200px}
.sag-home .comparison .table-scroll{scrollbar-gutter:auto}
.sag-home .comparison .table-scroll table{table-layout:fixed;min-width:760px}
.sag-home .comparison .table-scroll thead th:first-child{width:18%}
.sag-home .comparison .table-scroll thead th:not(:first-child){width:41%}
.sag-home .comparison .table-scroll tbody td{width:auto;font-weight:400}
.sag-home .service-detail .deliverable-table thead th:first-child,.sag-home .service-detail .deliverable-table tbody td:first-child{width:28%}
body .journey-table.table-priority table{table-layout:fixed;min-width:1050px}
body .journey-table.table-priority thead th:nth-child(1){width:7%}
body .journey-table.table-priority thead th:nth-child(2){width:9%}
body .journey-table.table-priority thead th:nth-child(3){width:24%}
body .journey-table.table-priority thead th:nth-child(4){width:22%}
body .journey-table.table-priority thead th:nth-child(5){width:18%}
body .journey-table.table-priority thead th:nth-child(6){width:20%}
@media(max-width:780px){body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) :is(th,td){padding:12px;font-size:14px}body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) thead th{font-size:13px}.sag-home .service-detail .deliverable-table{border:0;border-radius:0;background:none}.sag-home .service-detail .deliverable-table tbody tr{padding:20px}.sag-home .service-detail .deliverable-table tbody td{padding:0;background:#fff}.sag-home .service-detail .deliverable-table tbody td+td{margin-top:14px;padding-top:14px;border-top:1px solid #dce5ef}}
/* Collection reports keep four comparison columns balanced, including lazy Markdown tables. */
body .log-briefing :is(.workspace-table,.blog-table) table{table-layout:fixed;min-width:680px}
body .log-briefing :is(.workspace-table,.blog-table) table thead th:nth-child(n){width:auto}
body .log-briefing :is(.workspace-table,.blog-table) table tbody td{width:auto}
body .log-briefing .blog-table{margin:18px 0 28px}
body .log-briefing blockquote{margin:16px 0;padding:16px 20px;border-left:3px solid #175cd3;background:#f4f8ff;overflow-wrap:anywhere}
.source-metadata{margin-top:12px}.source-metadata summary{cursor:pointer;font-weight:700}.source-metadata dt{font-weight:700;margin-top:10px}.source-metadata dd{margin:4px 0 0;overflow-wrap:anywhere;line-height:1.7}

/* Monthly competitor question evidence uses the shared navy table styles. */
.comparison-state-table td:first-child .button{display:block;margin-top:12px;font-size:14px}
.comparison-question-details{margin-top:16px;border:1px solid #c7d9f1;border-radius:10px;padding:16px;background:#fff;scroll-margin-top:24px}
.comparison-question-details>summary{font-weight:700;font-size:16px;color:#102f50;cursor:pointer;line-height:1.6}
.comparison-question-details>p{font-size:14px;line-height:1.7;color:#365578}
.comparison-question-details table{width:100%;min-width:820px;border-collapse:collapse;table-layout:fixed}
.comparison-question-details th:first-child{width:40%}
.comparison-question-details th:last-child{width:32%}
.comparison-question-details th{padding:14px 16px;background:#102f50;color:#fff;text-align:left;font-size:14px}
.comparison-question-details td{padding:16px;vertical-align:top;border:1px solid #d6e3f5;font-size:15px;line-height:1.75;overflow-wrap:anywhere}
.comparison-question-details tbody tr:nth-child(even){background:#f5f8fd}
.comparison-question-details small{display:block;margin-top:8px;color:#365578;font-size:13px}
.comparison-question-details ul{padding-left:18px}
.comparison-question-details td p{margin:0 0 10px}
.comparison-question-state{font-weight:700}
.comparison-question-state.yes{color:#00765d}
.comparison-question-state.no{color:#b3261e}
.comparison-question-state.unknown{color:#53687f}

/* Shared cell rhythm and control sizing, including asynchronously loaded tables. */
body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) td>p{margin:0 0 8px;line-height:1.65}
body :is(.table-scroll,.journey-table,.domain-table,.blog-table,.workspace-table,.console-table-wrap,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll) td>p:last-child{margin-bottom:0}
body table.sag-balanced-table td[data-column-kind=action]{white-space:normal;vertical-align:top}
body table.sag-balanced-table td:is([data-column-kind=metric],[data-column-kind=date]){font-variant-numeric:tabular-nums;padding-inline:10px}
body table.sag-balanced-table td :is(input,select,textarea){max-width:100%;min-width:0;box-sizing:border-box}
body .workspace-table table.sag-balanced-table[data-table-profile=question-history]{min-width:1180px}
body .workspace-table table[data-table-profile=question-history] :is(th,td){vertical-align:top;padding:12px}
body .workspace-table table[data-table-profile=question-history] th{text-align:left}
body .workspace-table table[data-table-profile=question-history] td:last-child{text-align:left;white-space:normal}
body .workspace-table table[data-table-profile=question-history] :is(.builder-selected-file,.builder-upload-receipt,.builder-upload-feedback){max-width:none;width:100%;box-sizing:border-box}
body .workspace-table table[data-table-profile=question-history] .builder-import-picker input{width:100%;max-width:100%}
body .workspace-table table[data-table-profile=question-history] .builder-excel-actions{min-width:0;gap:8px}
body .workspace-table table[data-table-profile=question-history] .builder-excel-actions button{padding-inline:12px}

body table.sag-balanced-table{width:100%;table-layout:fixed;border-collapse:collapse}
body table.sag-balanced-table.sag-table-standard{min-width:640px}
body table.sag-balanced-table.sag-table-medium{min-width:900px}
body table.sag-balanced-table.sag-table-wide{min-width:1180px}
body table.sag-balanced-table :is(th,td){width:auto!important;vertical-align:top;line-height:1.65}

body .workspace-table table[data-table-profile=question-history] td:nth-child(2){white-space:nowrap;font-size:14px;padding-inline:8px}

body .workspace-table table[data-table-profile=question-history] .builder-upload-receipt time{white-space:normal;overflow-wrap:anywhere}

body .workspace-table table[data-table-profile=question-history] th[data-column-kind=metric]{text-align:center}

/* Customer tables already have headers and row separators; avoid an extra outer frame. */
body.preview-body :is(.table-scroll,.journey-table,.domain-table,.workspace-table,.table-wrap,.sag-guide-table-wrap,.batch-table-scroll,.question-results-table,.strategy-board-scroll){border:0;border-radius:0;box-shadow:none}
