/* Bahigo uses quiet ledger rows, comparison panels and calculation sheets. */
.article-body .bahigo-table{margin-block:28px 34px}
.bahigo-table{--table-ink:#102a2d;--table-accent:#126b5a;--table-line:#d4ddd5;max-width:100%;min-width:0;background:transparent}
.bahigo-table table{width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;font-size:15px;line-height:1.55;color:var(--table-ink)}
.bahigo-table caption{margin:0;padding:0 0 17px;text-align:left;font-size:17px;font-weight:650;line-height:1.4;color:var(--table-ink)}
.bahigo-table .table-caption-title{display:block;max-width:56ch}
.bahigo-table th,.bahigo-table td{padding:17px 18px;vertical-align:top;border:0;border-bottom:1px solid var(--table-line);hyphens:auto;overflow-wrap:anywhere;word-break:normal;text-align:left}
.bahigo-table thead th{padding-block:12px;background:#102a2d;color:#f4f3ed;font-size:12px;font-weight:650;line-height:1.45}
.bahigo-table thead th:first-child{border-radius:10px 0 0 0;width:26%}
.bahigo-table thead th:last-child{border-radius:0 10px 0 0}
.bahigo-table tbody th{background:#e9eee7;color:var(--table-ink);font-size:14px;font-weight:700}
.bahigo-table tbody td,.bahigo-table tr:nth-child(even) td{background:#fff}
.bahigo-table tbody tr:last-child th{border-bottom-left-radius:10px}
.bahigo-table tbody tr:last-child td:last-child{border-bottom-right-radius:10px}
.bahigo-table tbody td+td{border-left:1px solid #e6ebe5}
.bahigo-table .is-numeric{font-variant-numeric:tabular-nums lining-nums}
.bahigo-table .table-value-open{color:#61706b;font-style:italic;font-weight:400}
.bahigo-table a{color:#126b5a;text-decoration-color:#126b5a69;text-underline-offset:3px}
.bahigo-table a:hover{text-decoration-color:currentColor}
.bahigo-table a:focus-visible{outline:3px solid #126b5a;outline-offset:3px}

/* Factual records stay airy, with a narrow index column and a paper rule. */
.bahigo-table--facts thead th{background:transparent;border-top:2px solid #102a2d;border-bottom:1px solid #102a2d;color:#61706b;border-radius:0;text-transform:uppercase;letter-spacing:.04em;font-size:10px}
.bahigo-table--facts tbody th,.bahigo-table--facts tbody td,.bahigo-table--facts tr:nth-child(even) td{background:transparent}
.bahigo-table--facts tbody td+td{border-left:0}
.bahigo-table--facts tbody th{border-left:2px solid #126b5a;padding-left:16px}
.bahigo-table--facts tbody tr:last-child th,.bahigo-table--facts tbody tr:last-child td:last-child{border-radius:0}
.bahigo-table--cols-2 thead th:first-child{width:35%}

/* Comparisons distinguish the question from each evidence column. */
.bahigo-table--comparison table{border-spacing:0 4px}
.bahigo-table--comparison caption{padding-bottom:13px}
.bahigo-table--comparison thead th{background:#126b5a;border-bottom:0}
.bahigo-table--comparison thead th:first-child{background:#102a2d}
.bahigo-table--comparison tbody th{background:#e8eee6;border-radius:8px 0 0 8px;border-bottom-color:transparent}
.bahigo-table--comparison tbody td{border-top:1px solid #d4ddd5;border-bottom:1px solid #d4ddd5}
.bahigo-table--comparison tbody td:last-child{border-right:1px solid #d4ddd5;border-radius:0 8px 8px 0}

/* A calculation sheet emphasizes the final column without changing its unit. */
.bahigo-table--calculation{padding:20px;border:1px solid #cbd8bc;border-radius:14px;background:#edf1e7}
.bahigo-table--calculation caption{padding-bottom:16px}
.bahigo-table--calculation thead th{border-radius:0;background:transparent;border-top:1px solid #bfcdb9;border-bottom:1px solid #bfcdb9;color:#40554c;font-size:11px}
.bahigo-table--calculation tbody th{background:transparent;font-size:15px;font-weight:650}
.bahigo-table--calculation tbody td,.bahigo-table--calculation tr:nth-child(even) td{background:#f9fbf6;border-color:#d4dfcb}
.bahigo-table--calculation tbody td:last-child{background:#d6ff62;color:#102a2d;font-weight:750}
.bahigo-table--calculation tbody .is-numeric{letter-spacing:-.01em}
.bahigo-table--calculation tbody th,.bahigo-table--calculation tbody tr:last-child th,.bahigo-table--calculation tbody tr:last-child td:last-child{border-radius:0}

/* Chronologies use a continuous numbered rail and calm content rows. */
.bahigo-table--timeline thead th{background:#e6ece6;color:#40554c;border-top:1px solid #d4ddd5}
.bahigo-table--timeline tbody th{position:relative;padding-left:55px;background:#f4f3ed}
.bahigo-table--timeline tbody th::before{content:'';position:absolute;left:29px;top:0;bottom:0;width:1px;background:#b8cbbd}
.bahigo-table--timeline tbody tr:first-child th::before{top:28px}
.bahigo-table--timeline tbody tr:last-child th::before{bottom:calc(100% - 29px)}
.bahigo-table .table-step{position:absolute;z-index:1;left:16px;top:16px;display:grid;place-items:center;width:27px;height:27px;border-radius:50%;border:1px solid #126b5a;background:#f4f3ed;color:#126b5a;font-size:10px;font-weight:800;font-variant-numeric:tabular-nums;line-height:1}

/* Reader tools and the official catalogue share this edition's forest palette. */
.reader-tool{border:1px solid #d4ddd5;border-radius:16px;background:#eaf0e7;box-shadow:none;color:#102a2d}
.tool-heading>span{background:#126b5a;color:#f4f3ed;border-radius:50%;font-weight:500}
.reader-tool h2{color:#102a2d;font-family:var(--sans,Arial,sans-serif);font-weight:750;letter-spacing:-.025em}
.reader-tool input,.reader-tool select,.reader-tool textarea{border-color:#b5c5b8;border-radius:8px;background:#fff;color:#102a2d;min-height:48px;font-weight:450}
.reader-tool input:hover,.reader-tool select:hover,.reader-tool textarea:hover{border-color:#126b5a}
.reader-tool .primary-button{min-height:48px;background:#102a2d;border:1px solid #102a2d;border-radius:8px;color:#d6ff62;padding-inline:24px}
.reader-tool .primary-button:hover{background:#126b5a;border-color:#126b5a;color:#fff}
.reader-tool .tool-result{border-left:3px solid #126b5a;border-radius:0 8px 8px 0;background:#fff;color:#102a2d;padding:18px}
.reader-tool .tool-result:empty{display:none}
.reader-tool .tool-note,.reader-tool .copy-state{color:#61706b}
.reader-tool :focus-visible{outline:3px solid #126b5a;outline-offset:3px}
.registry-showcase h2{color:#102a2d}
.registry-grid{gap:12px}
.registry-card{border-color:#d4ddd5;border-radius:12px;background:#fff;color:#102a2d;box-shadow:none}
.registry-card:hover{border-color:#126b5a;box-shadow:0 6px 18px #102a2d0d}
.registry-logo{border-radius:8px;background:#eef2eb}
.registry-logo-dark{background:#102a2d}
.registry-read{color:#126b5a}
.registry-card:focus-visible{outline:3px solid #126b5a;outline-offset:3px}

/* Override the legacy homepage's more specific header colors for every variant. */
.home .bahigo-table thead th{background:#102a2d;color:#f4f3ed}
.home .bahigo-table tbody th{background:#e9eee7;color:#102a2d}
.home .bahigo-table--facts thead th{background:transparent;color:#61706b}
.home .bahigo-table--facts tbody th{background:transparent}
.home .bahigo-table--comparison thead th{background:#126b5a}
.home .bahigo-table--comparison thead th:first-child{background:#102a2d}
.home .bahigo-table--comparison tbody th{background:#e8eee6}
.home .bahigo-table--calculation thead th{background:transparent;color:#40554c}
.home .bahigo-table--calculation tbody th{background:transparent}
.home .bahigo-table--timeline thead th{background:#e6ece6;color:#40554c}
.home .bahigo-table--timeline tbody th{background:#f4f3ed}

/* Tables become labeled records, so every value remains readable without panning. */
@media(max-width:760px){
 .bahigo-table table{display:block;font-size:16px!important;line-height:1.55}
 .bahigo-table caption{display:block;width:100%;font-size:16px}
 .bahigo-table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 .bahigo-table tbody{display:block;width:100%}
 .bahigo-table tbody tr{display:block;min-width:0;margin:0 0 12px;border:1px solid #d4ddd5;border-radius:10px;background:#fff}
 .bahigo-table tbody th[scope=row]{position:relative;display:block;width:auto!important;padding:14px 16px;border:0;border-bottom:1px solid #d4ddd5;border-radius:9px 9px 0 0;background:#e8eee6;color:#102a2d;font-size:16px;font-weight:750}
 .bahigo-table tbody td{display:block;width:auto!important;padding:13px 16px;border:0;border-bottom:1px solid #e4eae2;border-radius:0;background:#fff;font-size:16px}
 .bahigo-table tbody td::before{content:attr(data-label);display:block;margin-bottom:4px;color:#61706b;font-size:12px;line-height:1.4;font-weight:650;letter-spacing:0}
 .bahigo-table tbody tr:last-child th{border-radius:9px 9px 0 0}
 .bahigo-table tbody tr:last-child td:last-child,.bahigo-table tbody td:last-child{border-radius:0 0 9px 9px}
 .bahigo-table tbody tr th:only-child{border-radius:9px}
 .bahigo-table tbody td:last-child{border-bottom:0}
 .bahigo-table tbody td+td{border-left:0}
 .bahigo-table--comparison tbody th[scope=row]{background:#126b5a;color:#f4f3ed;border-bottom:0}
 .bahigo-table--comparison tbody td,.bahigo-table--comparison tbody td:last-child{border-top:0;border-right:0}
 .bahigo-table--facts tbody tr{border:0;border-top:1px solid #d4ddd5;border-radius:0;background:transparent}
 .bahigo-table--facts tbody th[scope=row]{border:0;border-left:3px solid #126b5a;border-radius:0;background:transparent;padding:13px 15px 9px}
 .bahigo-table--facts tbody td,.bahigo-table--facts tr:nth-child(even) td{padding-top:8px;padding-bottom:10px;border:0;background:transparent}
 .bahigo-table--facts tbody td::before{font-size:12px}
 .bahigo-table--calculation{padding:16px}
 .bahigo-table--calculation tbody tr{border-color:#c9d7be}
 .bahigo-table--calculation tbody th[scope=row]{background:#102a2d;color:#f4f3ed;border-bottom:0}
 .bahigo-table--calculation tbody td,.bahigo-table--calculation tr:nth-child(even) td{background:#f9fbf6}
 .bahigo-table--calculation tbody td:last-child{background:#d6ff62;color:#102a2d}
 .bahigo-table--calculation tbody td:last-child::before{color:#40554c}
 .bahigo-table--timeline tbody tr{position:relative;margin-left:14px;border:0;border-left:1px solid #b8cbbd;border-radius:0;background:transparent}
 .bahigo-table--timeline tbody th[scope=row]{padding-left:30px;border:0;border-radius:0;background:transparent}
 .bahigo-table--timeline tbody th::before{display:none}
 .bahigo-table--timeline .table-step{left:-14px;top:12px}
 .bahigo-table--timeline tbody td{margin-left:15px;border:0;border-bottom:1px solid #e4eae2;border-radius:0;background:#fff}
 .bahigo-table--timeline tbody tr:last-child td:last-child{border-radius:0}
}
@media(max-width:420px){.bahigo-table--calculation{padding:13px}.bahigo-table th,.bahigo-table td{hyphens:auto}.reader-tool{padding:18px}.tool-heading{gap:10px}.tool-heading>span{width:32px;height:32px;font-size:20px}.reader-tool h2{font-size:22px}.registry-grid{grid-template-columns:1fr}}

/* V5: internal ledgers follow the Arctic masthead without changing home. */
.guide-page .bahigo-table{--table-ink:#061014;--table-accent:#006b75;--table-line:#c5d8dc}
.guide-page .bahigo-table table{font-size:16px}
.guide-page .bahigo-table thead th{background:#061014;color:#fff;font-size:13px}
.guide-page .bahigo-table tbody th{background:#e9f2f4;font-size:16px}
.guide-page .bahigo-table tbody td+td{border-left-color:#dce9ec}
.guide-page .bahigo-table .table-value-open{color:#4e6870}
.guide-page .bahigo-table a{color:#006b75;text-decoration-color:#006b7580}
.guide-page .bahigo-table a:hover{text-decoration-color:currentColor}
.guide-page .bahigo-table a:focus-visible{outline-color:#006b75}
.guide-page .bahigo-table--facts thead th{background:transparent;color:#4e6870;border-top-color:#061014;border-bottom-color:#061014}
.guide-page .bahigo-table--facts tbody th,.guide-page .bahigo-table--facts tbody td{background:transparent}
.guide-page .bahigo-table--facts tbody th{border-left-color:#006b75}
.guide-page .bahigo-table--comparison thead th{background:#006b75}
.guide-page .bahigo-table--comparison thead th:first-child{background:#061014}
.guide-page .bahigo-table--comparison tbody th{background:#e3f1f4}
.guide-page .bahigo-table--comparison tbody td,.guide-page .bahigo-table--comparison tbody td:last-child{border-color:#c5d8dc}
.guide-page .bahigo-table--calculation{background:#eaf5f7;border-color:#bdd2d8}
.guide-page .bahigo-table--calculation thead th{background:transparent;color:#36545d;border-top-color:#adc8d0;border-bottom-color:#adc8d0}
.guide-page .bahigo-table--calculation tbody th{background:transparent}
.guide-page .bahigo-table--calculation tbody td,.guide-page .bahigo-table--calculation tr:nth-child(even) td{background:#f6fbfc;border-color:#ccdee3}
.guide-page .bahigo-table--calculation tbody td:last-child{background:#baf5f8;color:#061014}
.guide-page .bahigo-table--timeline thead th{background:#e5f0f3;color:#36545d;border-top-color:#c5d8dc}
.guide-page .bahigo-table--timeline tbody th{background:#f2f8fa}
.guide-page .bahigo-table--timeline tbody th::before{background:#789ba5}
.guide-page .bahigo-table .table-step{border-color:#006b75;background:#fff;color:#006b75}
.guide-page .registry-card{border-color:#c5d8dc;color:#061014}
.guide-page .registry-card:hover{border-color:#006b75;box-shadow:0 6px 18px #0610140d}
.guide-page .registry-card:focus-visible{outline-color:#006b75}
.guide-page .registry-showcase h2{color:#061014}
.guide-page .registry-logo{background:#edf5f7}
.guide-page .registry-logo-dark{background:#061014}
.guide-page .registry-read{color:#006b75}
@media(max-width:760px){
 .guide-page .bahigo-table tbody tr{border-color:#c5d8dc}
 .guide-page .bahigo-table tbody th[scope=row]{background:#e3f1f4;color:#061014;border-bottom-color:#c5d8dc}
 .guide-page .bahigo-table tbody td{border-bottom-color:#dce9ec}
 .guide-page .bahigo-table tbody td::before{color:#4e6870;font-size:13px}
 .guide-page .bahigo-table--comparison tbody th[scope=row],.guide-page .bahigo-table--calculation tbody th[scope=row]{background:#061014;color:#fff}
 .guide-page .bahigo-table--facts tbody th[scope=row]{background:transparent;border-left-color:#006b75}
 .guide-page .bahigo-table--calculation tbody tr{border-color:#bdd2d8}
 .guide-page .bahigo-table--calculation tbody td:last-child{background:#baf5f8;color:#061014}
 .guide-page .bahigo-table--calculation tbody td:last-child::before{color:#36545d}
 .guide-page .bahigo-table--timeline tbody tr{border-left-color:#789ba5}
 .guide-page .bahigo-table--timeline tbody th[scope=row]{background:transparent}
}
