.border-study{--border-ink:#163a31;--border-green:#22624e;--border-line:#cad9ce;--border-soft:#edf5eb;--border-track:#e6eee4;display:grid;gap:1.35rem}
.border-study [hidden]{display:none!important}
.border-intro{padding-bottom:.35rem}
.border-intro h1,.border-panel h2{text-wrap:balance}
.border-panel{min-width:0;margin:0;scroll-margin-top:1.5rem}
.border-panel h2{margin:0 0 .75rem}
.border-controls{display:grid;grid-template-columns:minmax(0,2fr) minmax(6rem,1fr);gap:.75rem;margin:1rem 0 .65rem}
.border-controls label{display:grid;gap:.3rem;min-width:0;font-weight:700}
.border-controls select{min-width:0;width:100%;margin:0;min-height:2.8rem}
.border-presets{display:flex;flex-wrap:wrap;gap:.4rem;margin:.6rem 0 .9rem}
.border-presets button{padding:.3rem .65rem;min-height:2.55rem;background:var(--border-soft);color:var(--border-ink);border:1px solid var(--border-line);border-radius:.5rem;font:inherit;font-weight:650;cursor:pointer}
.border-study :focus-visible{outline:2px solid var(--border-green);outline-offset:3px}
.border-selection{background:var(--border-soft);border:1px solid var(--border-line);border-radius:.75rem;padding:.85rem;margin:1rem 0}
.border-selection h3{margin:0 0 .55rem;overflow-wrap:anywhere}
.border-counts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;margin:0;font-variant-numeric:tabular-nums}
.border-counts dt{font-size:.87rem}
.border-counts dd{font-size:clamp(.88rem,3.6vw,1.48rem);font-weight:750;margin:0;color:var(--border-ink);overflow-wrap:anywhere}
.border-message{margin:.65rem 0 .25rem}
.border-selection .note{margin:.1rem 0 0}
.border-history,.border-steps{margin:1.1rem 0}
.border-history figcaption,.border-steps figcaption{font-weight:750;color:var(--border-ink);margin:0 0 .45rem}
.border-history .note{margin:.25rem 0 .5rem}
.border-bars{list-style:none;padding:0;margin:0}
.border-bars li{display:grid;grid-template-columns:3rem minmax(0,1fr) minmax(5.6rem,auto);gap:.35rem;align-items:center;padding:.15rem .3rem;font-variant-numeric:tabular-nums;font-size:.9rem}
.border-bars li[aria-current="true"]{background:var(--border-soft);border-radius:.3rem}
.border-bars strong{text-align:right}
.border-bars meter{width:100%;height:.9rem;border:0;background:var(--border-track);color:var(--border-green)}
.border-bars meter::-webkit-meter-bar{background:var(--border-track);border:none}
.border-bars meter::-webkit-meter-optimum-value{background:var(--border-green)}
.border-bars meter::-moz-meter-bar{background:var(--border-green)}
.border-details summary{cursor:pointer;font-weight:650}
.border-table-wrap{max-width:100%;overflow-x:auto;margin:.65rem 0}
.border-table{width:100%;min-width:34rem;border-collapse:collapse;font-variant-numeric:tabular-nums}
.border-table caption{text-align:left;white-space:normal;font-size:.9rem}
.border-table th,.border-table td{padding:.45rem .35rem;border-bottom:1px solid var(--border-line);text-align:right;white-space:nowrap}
.border-table th:first-child{text-align:left}
.border-steps ol{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem;margin:0;padding:0}
.border-steps li,.border-conclusion>div{padding:.85rem;border:1px solid var(--border-line);border-radius:.55rem;background:var(--border-soft)}
.border-steps li{display:flex;flex-direction:column;gap:.2rem}
.border-steps li:nth-child(2){background:#fbfaf3;border-style:dashed}
.border-steps li strong{color:var(--border-ink);font-size:1.55rem}
.border-steps li small{font-variant-numeric:tabular-nums}
.border-conclusion{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;margin:.75rem 0}
.border-conclusion dt{font-weight:750;margin-bottom:.3rem;color:var(--border-ink)}
.border-conclusion dd{margin:0}
@media(max-width:42rem){.border-steps ol,.border-conclusion{grid-template-columns:1fr}}
@media(max-width:27rem){.border-controls{grid-template-columns:1fr}}
