/* The Consulo Atlas */
.at-main{max-width:1100px;margin:0 auto;padding:28px 20px 56px;box-sizing:border-box}
.at-head{margin:6px 0 22px}.at-label{display:block;margin-bottom:8px;color:var(--red,#d30c27);font:700 11px/1.4 var(--sans,Inter,sans-serif);letter-spacing:.12em;text-transform:uppercase}
.at-head h1{margin:0 0 10px;font-family:var(--serif,Newsreader,serif);font-size:clamp(2rem,5vw,3.1rem);line-height:1.05;font-weight:600}
.at-lead{max-width:760px;margin:0;color:var(--muted,#5b6872);font-size:1.08rem;line-height:1.6}
.at-crumbs{margin:0 0 10px;font-size:.82rem;color:var(--muted,#5b6872)}
.at-card{background:#fff;border:1px solid var(--line,#e1e5e8);padding:20px;margin:0 0 16px;box-sizing:border-box;min-width:0}
.at-card h2{margin:0 0 12px;font-family:var(--serif,serif);font-size:1.35rem}.at-card h3{margin:0 0 4px;font-family:var(--serif,serif);font-size:1.15rem}.at-card h3 small{font-family:var(--sans,sans-serif);color:var(--muted,#5b6872);font-weight:500;font-size:.8rem;margin-left:6px}
.at-sub{margin:6px 0 12px;color:var(--muted,#5b6872);font-size:.85rem;line-height:1.5}
.at-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}@media(max-width:820px){.at-cols{grid-template-columns:1fr}}
.at-table{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.at-table th{padding:8px 6px;text-align:left;font-size:.68rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted,#5b6872);border-bottom:1px solid var(--line,#e1e5e8)}
.at-table td{padding:10px 6px;border-bottom:1px solid #f0f1f3;font-size:.9rem;vertical-align:middle}.at-table td small{display:block;color:var(--muted,#5b6872);font-size:.72rem;margin-top:2px}
.at-table td:last-child{text-align:right;white-space:nowrap}.at-table a{color:inherit;font-weight:600}
.at-rank-table td.at-rank{width:34px;font-family:var(--serif,serif);font-size:1.15rem;font-weight:600}.at-rank-table td.at-score{width:60px;font-weight:700;text-align:right}.at-scorecell{width:46%}
.at-bar{height:8px;background:#eef1f4;border-radius:4px;overflow:hidden}.at-bar i{display:block;height:100%;background:#10243e;border-radius:4px}.at-bar.r i{background:#d30c27}.at-bar.l{display:flex;justify-content:flex-end}
.at-cat{display:grid;grid-template-columns:110px 1fr 36px;gap:12px;align-items:center;margin:0 0 10px;font-size:.92rem}.at-cat b{text-align:right}
.at-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 14px}.at-chip{padding:7px 14px;border:1px solid var(--line,#d3d8dc);border-radius:18px;background:#fff;font:600 .8rem var(--sans,sans-serif);cursor:pointer;color:inherit}.at-chip.on{background:#10243e;border-color:#10243e;color:#fff}
.at-weights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;margin:0 0 14px}@media(max-width:700px){.at-weights{grid-template-columns:1fr}}
.at-w{display:grid;grid-template-columns:96px 1fr 40px;gap:10px;align-items:center;font-size:.88rem}.at-w input{width:100%}.at-w b{text-align:right}
.at-compare-form{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.at-compare-form select{padding:10px 12px;border:1px solid var(--line,#d3d8dc);background:#fff;font:inherit;min-width:180px}
.at-vs{display:grid;grid-template-columns:1fr 120px 1fr;gap:12px;align-items:center;margin:0 0 12px}.at-vs span{text-align:center;color:var(--muted,#5b6872);font-size:.82rem}
.at-vs-l,.at-vs-r{display:flex;align-items:center;gap:10px}.at-vs-l{justify-content:flex-end}.at-vs-l .at-bar,.at-vs-r .at-bar{flex:1}.at-vs b{min-width:26px;text-align:center}
.at-vs-head{display:grid;grid-template-columns:1fr 120px 1fr;gap:12px;margin:0 0 18px;font-family:var(--serif,serif);font-size:1.4rem}.at-vs-head a{color:inherit;text-decoration:none}.at-vs-head a:last-child{text-align:left}.at-vs-head a:first-child{text-align:right}.at-vs-head small{display:block;font:500 .78rem var(--sans,sans-serif);color:var(--muted,#5b6872)}
.at-prose{max-width:760px;line-height:1.7}.at-prose h2{margin:28px 0 8px;font-family:var(--serif,serif);font-size:1.5rem}.at-prose h3{margin:16px 0 4px;font-size:1rem}.at-prose li{margin:3px 0}.at-prose .at-table{margin:8px 0}
@media(max-width:560px){.at-main{padding:20px 14px 40px}.at-scorecell{display:none}.at-cat{grid-template-columns:90px 1fr 30px}.at-vs,.at-vs-head{grid-template-columns:1fr 70px 1fr}.at-vs-head{font-size:1.1rem}}

/* expandable alliance list */
.at-details summary{cursor:pointer;font-weight:600;list-style:none;display:inline-flex;align-items:center;gap:6px}
.at-details summary::-webkit-details-marker{display:none}
.at-details summary::after{content:"▾";font-size:.75em;color:var(--muted,#5b6872);transition:transform .15s}
.at-details[open] summary::after{transform:rotate(180deg)}
.at-details ul{margin:8px 0 2px;padding:0;list-style:none;font-size:.82rem;line-height:1.55;color:#43515c}
.at-details li{padding:5px 0;border-top:1px solid #f0f1f3}

/* country page: one line per component, details on click */
.at-cols{display:block}
.at-block{padding:0}
.at-block>summary{display:grid;grid-template-columns:150px 1fr 90px 18px;gap:14px;align-items:center;padding:16px 20px;cursor:pointer;list-style:none}
.at-block>summary::-webkit-details-marker{display:none}
.at-block>summary::after{content:"▾";color:var(--muted,#5b6872);font-size:.8em;transition:transform .15s;justify-self:end}
.at-block[open]>summary::after{transform:rotate(180deg)}
.at-block-name{font-family:var(--serif,serif);font-size:1.2rem;font-weight:600}.at-block>summary b{text-align:right;font-variant-numeric:tabular-nums}
.at-block>.at-sub,.at-block>.at-table{margin-left:20px;margin-right:20px;width:calc(100% - 40px)}.at-block>.at-table{margin-bottom:18px}.at-block[open]>summary{border-bottom:1px solid #f0f1f3}
@media(max-width:560px){.at-block>summary{grid-template-columns:100px 1fr 70px 14px;gap:8px;padding:14px}.at-block-name{font-size:1.05rem}}

/* equal row heights: names never wrap */
.at-block>summary{grid-template-columns:190px 1fr 90px 18px}
.at-block-name{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.at-chip{white-space:nowrap}
@media(max-width:560px){.at-block>summary{grid-template-columns:120px 1fr 66px 14px}}

/* no visual jumping while the table is re-sorted */
.at-rank-table tbody tr[hidden]{display:none}
.at-rank-table{table-layout:fixed;overflow-anchor:none}
.at-rank-table td.at-rank{width:40px}
.at-rank-table td.at-score{width:64px}
.at-chips{min-height:36px}
.at-rank-table th:nth-child(1){width:40px}
.at-rank-table th:nth-child(3){width:42%}
.at-rank-table th:nth-child(4){width:64px}
@media(max-width:560px){.at-rank-table th:nth-child(3){width:0}}

/* country page: every component table uses the same fixed column grid, so nothing resizes when a block is opened */
.at-block .at-table{table-layout:fixed;width:calc(100% - 40px)}
.at-block .at-table th:nth-child(1){width:34%}
.at-block .at-table th:nth-child(2){width:48%}
.at-block .at-table th:nth-child(3){width:18%;text-align:right}
.at-block .at-table td{overflow-wrap:anywhere;vertical-align:top}
.at-block .at-table td:nth-child(2){text-align:left;white-space:normal}
.at-block .at-table td:last-child{text-align:right;white-space:normal}
@media(max-width:560px){.at-block .at-table th:nth-child(1){width:38%}.at-block .at-table th:nth-child(2){width:42%}.at-block .at-table th:nth-child(3){width:20%}}

/* a component card always has the full width, closed or open (it used to shrink when closed) */
.at-cols{display:block;width:100%}
.at-block{display:block;width:100%;box-sizing:border-box;inline-size:100%;min-inline-size:100%}
.at-block>summary{width:100%;box-sizing:border-box}

/* the page container never depends on its content: same width with every block closed or open */
.at-main{width:100%;box-sizing:border-box}

/* Transparent provenance and readable controls, including narrow phones. */
.at-quality p{font-size:.9rem;line-height:1.6;margin:8px 0}
.at-quality .at-sub{font-size:.8rem}
.at-warning{padding-left:12px;border-left:3px solid #d7b45b;color:#55451c}
.at-compare-form label{display:flex;flex-direction:column;gap:5px;font-size:.8rem;font-weight:600;min-width:0;flex:1 1 180px}
.at-compare-form select{min-width:0;width:100%;box-sizing:border-box;font-size:.95rem}
.at-form-error{flex-basis:100%;margin:0;color:#a42130;font-size:.85rem}
.at-form-error:empty{display:none}
.at-table-scroll{overflow-x:auto;max-width:100%}
.at-weights-table{table-layout:fixed;min-width:460px}
.at-weights-table th:first-child{width:46%}.at-weights-table th:nth-child(2){width:34%}
.at-weights-table td{vertical-align:top;overflow-wrap:anywhere}
.at-prose code{font-size:.86em;overflow-wrap:anywhere}
.at-rank-table th:first-child{width:60px}
@media(max-width:560px){.at-compare-form>span{display:none}.at-compare-form label{flex-basis:100%}.at-compare-form button{width:100%}.at-card{padding:16px}.at-block{padding:0}.at-rank-table th:first-child{width:48px}.at-rank-table th:last-child{width:46px}.at-rank-table th:nth-child(3){display:none}.at-table th{letter-spacing:.02em}}

/* Scope and read-only model diagnostics. */
.at-scope-note{padding:14px 18px;border-left:3px solid #a42130;background:#fff;font-size:14px;line-height:1.6;margin:18px 0}.at-explanation h3{margin-top:22px}.at-explanation .at-table{min-width:480px}.at-explanation p{line-height:1.65}.at-table .at-warning{max-width:38em}#model-checks{scroll-margin-top:30px}
