/* HE Ranking v25 · isolated progressive enhancements. V24 ranking layout untouched. */
.he25-country-view,.he25-compare,.he25-insights,.he25-reading,.he25-library,.he25-method{padding-top:2rem;padding-bottom:4rem}
.he25-country-view .page-heading,.he25-compare .page-heading,.he25-insights .page-heading,.he25-method .page-heading{margin-bottom:2rem}
.he25-summary-strip{display:flex;align-items:baseline;gap:.55rem;flex-wrap:wrap;padding:1rem 1.35rem;margin:1rem 0 1.4rem;border:1px solid #d4e4db;border-radius:12px;background:#edf5ef;color:#254c43}
.he25-summary-strip strong{font:700 1.5rem Georgia,serif;color:#125c4f;margin-left:.9rem}
.he25-country-search{display:block;width:min(100%,520px);padding:14px 16px;margin:1rem 0 1.4rem;border:1px solid #c5d9cc;border-radius:9px;background:#fff}
.he25-country-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:15px}
.he25-country-card{display:block;text-decoration:none;padding:22px 20px;color:#194f42;background:#fff;border:1px solid #d2ded7;border-radius:13px;transition:box-shadow .15s,transform .15s}
.he25-country-card:hover{box-shadow:0 12px 28px rgba(18,60,46,.1);transform:translateY(-2px)}
.he25-country-card-head{display:flex;align-items:center;gap:11px;min-height:47px}
.he25-country-card-head h3{margin:0;font-size:1.17rem}
.he25-country-card-head img{width:31px;height:21px;object-fit:cover;border:1px solid #e8ece9;border-radius:2px}
.he25-country-count{display:block;margin-top:11px;color:#166b5b}
.he25-country-card p{font-size:.84rem;line-height:1.6;margin:.6rem 0}
.he25-country-leader{font-style:italic;color:#657e72}
.he25-mini-track,.he25-chart-track{display:block;height:9px;border-radius:30px;background:#e5eeea;overflow:hidden;margin-top:11px}
.he25-mini-track i,.he25-chart-track i{display:block;height:100%;border-radius:30px;background:linear-gradient(90deg,#156552,#8fb9a5)}
.he25-stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:15px;margin:16px 0 22px}
.he25-stat{padding:25px;border:1px solid #dce7e0;background:linear-gradient(145deg,#f3f8f4,#edf4ef);border-radius:12px}
.he25-stat small{display:block;color:#688474;margin-bottom:13px}.he25-stat strong{display:block;font-size:2rem;color:#145849}
.he25-two-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:17px;margin-top:1rem}
.he25-two-grid .panel{padding:25px;min-width:0}
.he25-chart-row{margin:19px 0}.he25-chart-row>div:first-child{display:flex;justify-content:space-between;font-size:.91rem}
.he25-histogram{display:flex;align-items:end;gap:7px;overflow-x:auto;min-height:220px;padding:10px 0}
.he25-histogram>div{min-width:29px;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px}
.he25-histogram i{width:80%;min-height:4px;border-radius:6px 6px 0 0}.he25-histogram small{font-size:.67rem}.he25-histogram strong{font-size:.72rem}
.he25-metric-pair{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid #e5eee8;font-size:.88rem}
.he25-library-controls,.he25-compare-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0}
.he25-library-controls input,.he25-compare-controls input{min-width:min(100%,310px);flex:1;padding:12px;border:1px solid #d4ded7;border-radius:7px}
.he25-library-controls select,.he25-compare-controls select{padding:12px;border:1px solid #d4ded7;border-radius:7px;background:#fff}
.he25-library-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:15px}
.he25-library-card,.he25-peer-card,.he25-benchmark-item{background:#fff;border:1px solid #d8e6de;border-top:5px solid #207b62;border-radius:10px;padding:22px;position:relative;box-shadow:0 5px 20px rgba(13,59,41,.04)}
.he25-library-card h3{font-size:1.23rem;line-height:1.3;margin:12px 0}
.he25-library-card p{line-height:1.6;color:#637b70}.he25-library-card footer{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;margin-top:18px}
.he25-library-icon{font-size:2.1rem;color:#c69c53}
.he25-admin-archive,.he25-remove{border:1px solid #cab9b3;background:#fff9f6;color:#775245;border-radius:6px;padding:5px 9px;cursor:pointer}
.he25-method-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 20px}
.he25-method-tabs button{border:1px solid #cbded1;border-radius:22px;padding:9px 17px;background:#f5faf5;color:#164e42;cursor:pointer}
.he25-method-tabs button.active{background:#175a49;color:#fff}
.he25-feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:12px}
.he25-feature{border:1px solid #d9e6df;border-top:3px solid #bfa15f;border-radius:9px;padding:24px;background:#fff}
.he25-feature-number{font:700 2.1rem Georgia,serif;color:#d5b278}
.he25-method .pillar-overview>div{margin:14px 0}.he25-method .pillar-overview span{display:flex;align-items:center;gap:8px}
.he25-method .pillar-overview span i{display:inline-block;width:10px;height:10px;border-radius:20px}
.he25-method .pillar-overview strong{color:#165647}.he25-method .rule-cell{max-width:370px;line-height:1.5}
.he25-reading{max-width:1020px}.he25-article-head{margin:12px 0 32px}
.he25-readable{padding:38px 46px;line-height:1.85;overflow-wrap:anywhere}.he25-readable p{max-width:86ch;margin:0 0 1.2rem}
.he25-readable h2{margin:1.8rem 0 .8rem;font-size:1.65rem}
.he25-compare-suggestions,.he25-selected-peers,.he25-benchmark-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin:14px 0}
.he25-compare-suggestions button{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;border:1px solid #d3e2d9;padding:12px 15px;background:#fafcfb;border-radius:8px;cursor:pointer}
.he25-compare-suggestions small{display:block;color:#799083;margin-top:3px}
.he25-peer-card h3,.he25-benchmark-item h3{line-height:1.3;font-size:1.06rem;min-height:55px;margin:.7rem 0}
.he25-peer-card strong{display:block;margin:10px 0;color:#175d50;font-size:1.3rem}
.he25-remove{position:absolute;right:13px;top:11px}
.he25-compare-pillar{padding:13px 0;border-bottom:1px solid #e6eee9}.he25-compare-ranges{margin:10px 0 0;display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px}
.he25-compare-ranges .he25-metric-pair{display:block}.he25-compare-ranges span{display:block;font-size:.74rem}
.he25-compare-ranges small{color:#587267}
.he25-country-inline{display:inline-flex;align-items:center;gap:9px}.he25-country-inline img{width:24px;height:16px;object-fit:cover;border:1px solid #e6e6e6;border-radius:2px}
.he25-peer-panel .he25-article-head{margin-bottom:12px}
@media(max-width:720px){.he25-readable{padding:20px}.he25-two-grid{grid-template-columns:1fr}.he25-country-cards{grid-template-columns:1fr}.he25-method-tabs button{font-size:.81rem;padding:8px 11px}}
.he25-atlas-visuals{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:16px;margin:19px 0}
.he25-atlas-visuals .panel{padding:26px}.he25-atlas-radar svg{display:block;margin:auto;max-width:100%;height:auto}
.he25-atlas-legend{display:grid;gap:7px;font-size:.78rem;line-height:1.5}.he25-atlas-legend i,.he25-legend-dot{display:inline-block;width:11px;height:11px;border-radius:3px;margin-right:7px}
.he25-atlas-stack{display:flex;overflow:hidden;height:32px;border-radius:20px;background:#e9efe9;margin:23px 0 25px}
.he25-atlas-stack span{display:block;height:100%;min-width:0;transition:width .2s}
.he25-atlas-distribution-list .he25-metric-pair span{display:flex;align-items:center}
@media(max-width:700px){.he25-atlas-visuals{grid-template-columns:1fr}}
