.opening-guide .opening-label { display: block; margin-bottom: 8px; color: #16723d; font-size: .85rem; font-weight: 700; letter-spacing: .02em; }

.opening-guide .article-checklist { display: grid; gap: 10px; margin: 16px 0 24px; padding: 0; list-style: none; }
.opening-guide .article-checklist li { position: relative; margin: 0; padding-left: 34px; line-height: 1.65; }
.opening-guide .article-checklist li::before { content: '✓'; position: absolute; left: 0; top: .15em; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e1efc6; color: #1f8a4d; font-size: .8rem; font-weight: 800; }
.opening-guide .opening-mistakes li::before { content: '✕'; background: #fde8e2; color: #b4432b; }

.opening-guide .opening-widths { margin: 28px 0; border: 1px solid #d6e0ec; border-radius: 16px; background: #fff; overflow: hidden; }
.opening-guide .opening-widths__heading { padding: 22px 24px 0; }
.opening-guide .opening-widths__heading h3 { margin: 0; color: #08264c; font-size: 1.4rem; }
.opening-guide .opening-widths svg { display: block; width: 100%; max-width: 600px; height: auto; margin: 16px auto 4px; padding: 0 24px; box-sizing: border-box; font-family: Outfit, sans-serif; }
.opening-guide .opening-legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; margin: 0; padding: 18px 24px 22px; list-style: none; counter-reset: owidth; }
.opening-guide .opening-legend li { position: relative; margin: 0; padding-left: 42px; counter-increment: owidth; }
.opening-guide .opening-legend li::before { content: counter(owidth); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #08264c; color: #fff; font-size: .85rem; font-weight: 700; }
.opening-guide .opening-legend li:last-child::before { background: #16824d; }
.opening-guide .opening-legend strong { color: #08264c; }
.opening-guide .opening-legend p { margin: 5px 0 0; color: #455b72; font-size: .94rem; line-height: 1.55; }
.opening-guide .opening-widths figcaption { padding: 14px 24px; border-top: 1px solid #d6e0ec; background: #f5f8fc; color: #455b72; font-size: .88rem; line-height: 1.6; }

.opening-guide .opening-picker { margin: 28px 0; padding: clamp(20px, 3vw, 28px); border: 1px solid #d6e0ec; border-top: 4px solid #94c11f; border-radius: 16px; background: #f5f8fc; }
.opening-guide .opening-picker[hidden] { display: none; }
.opening-guide .opening-picker h3 { margin: 0 0 16px; color: #08264c; font-size: 1.35rem; }
.opening-guide .opening-picker__form { display: grid; gap: 14px; margin: 0; }
.opening-guide .opening-picker fieldset { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; border: 0; }
.opening-guide .opening-picker legend { width: 100%; margin-bottom: 6px; padding: 0; color: #08264c; font-size: .92rem; font-weight: 700; }
.opening-guide .opening-picker fieldset label { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #c8d5e3; border-radius: 10px; background: #fff; color: #08264c; font-weight: 600; cursor: pointer; }
.opening-guide .opening-picker fieldset input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opening-guide .opening-picker fieldset label:has(input:checked) { border-color: #08264c; background: #08264c; color: #fff; }
.opening-guide .opening-picker fieldset label:has(input:focus-visible) { outline: 3px solid #94c11f; outline-offset: 2px; }
.opening-guide .opening-picker__result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 4px; }
.opening-guide .opening-picker__result > div { padding: 16px; border-radius: 12px; background: #08264c; }
.opening-guide .opening-picker__result span { display: block; margin-bottom: 4px; color: #c1ea62; font-size: .85rem; }
.opening-guide .opening-picker__result strong { display: block; color: #fff; font-size: 1.7rem; line-height: 1.2; font-variant-numeric: tabular-nums; }
.opening-guide .opening-picker__result strong.is-missing { font-size: 1.05rem; font-weight: 600; color: #dbe5f0; }
.opening-guide .opening-picker__mine label { display: block; margin-bottom: 6px; color: #08264c; font-weight: 600; }
.opening-guide .opening-picker__mine small { color: #455b72; font-weight: 400; }
.opening-guide .opening-picker__mine input { width: 100%; max-width: 220px; min-height: 44px; padding: 0 12px; border: 1px solid #c8d5e3; border-radius: 10px; font: inherit; }
.opening-guide .opening-picker__compare:empty { display: none; }
.opening-guide .opening-picker__compare { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; font-weight: 600; line-height: 1.5; }
.opening-guide .opening-picker__compare.is-narrow { background: #fde8e2; color: #9b3420; }
.opening-guide .opening-picker__compare.is-wide { background: #fff3d6; color: #76520b; }
.opening-guide .opening-picker__compare.is-match { background: #e1efc6; color: #1e6b37; }
.opening-guide .opening-picker__note { margin: 14px 0 0; color: #455b72; font-size: .88rem; line-height: 1.6; }

.opening-guide .opening-points { margin: 10px 0 26px; }
.opening-guide .opening-points h3 { margin: 0 0 10px; color: #08264c; }
.opening-guide .opening-points__list { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.opening-guide .opening-points__list li { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 12px 14px; border: 1px solid #d6e0ec; border-radius: 10px; background: #fff; line-height: 1.5; }
.opening-guide .opening-points__tag { flex: 0 0 auto; padding: 2px 8px; border-radius: 6px; background: #08264c; color: #fff; font-size: .85rem; font-weight: 700; }
.opening-guide .opening-points__list li:last-child .opening-points__tag { background: #16824d; }
.opening-guide .opening-points__figure { border: 1px solid #d6e0ec; background: #fff; }
.opening-guide .opening-points__figure svg { display: block; width: 100%; height: auto; font-family: Outfit, sans-serif; }
.opening-guide .opening-points__figure figcaption { padding: 10px 14px 12px; color: #455b72; font-size: .86rem; line-height: 1.45; }

.opening-guide .opening-calc { margin: 28px 0; padding: clamp(20px, 3vw, 30px); border-top: 4px solid #94c11f; border-radius: 16px; background: #08264c; color: #fff; }
.opening-guide .opening-calc h3, .opening-guide .opening-calc p { color: #fff; }
.opening-guide .opening-calc h3 { margin: 0 0 16px; }
.opening-guide .opening-calc__label { display: block; margin-bottom: 8px; color: #c1ea62; font-size: .85rem; font-weight: 600; }
.opening-guide .opening-calc__steps { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1.15fr); gap: 10px; align-items: center; margin-bottom: 18px; }
.opening-guide .opening-calc__steps > div { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-height: 96px; padding: 14px 10px; border: 1px solid #49617d; border-radius: 10px; background: #163658; text-align: center; }
.opening-guide .opening-calc__steps span { font-size: .85rem; line-height: 1.4; }
.opening-guide .opening-calc__steps strong { color: #fff; font-size: 1.45rem; line-height: 1.2; white-space: nowrap; }
.opening-guide .opening-calc__steps > b { color: #c1ea62; font-size: 1.4rem; }
.opening-guide .opening-calc__steps > .opening-calc__total { border-color: #c1ea62; background: #c1ea62; }
.opening-guide .opening-calc__total span, .opening-guide .opening-calc__total strong { color: #08264c; }
.opening-guide .opening-calc p strong { color: #ffb4a0; }
.opening-guide .opening-calc__note { padding-top: 14px; border-top: 1px solid #49617d; font-size: .9rem; opacity: .9; }

@media (max-width: 760px) {
    .opening-guide .opening-widths__heading { padding: 20px 18px 0; }
    .opening-guide .opening-widths svg { padding: 0 10px; }
    .opening-guide .opening-legend { grid-template-columns: 1fr; padding: 16px 18px 20px; }
    .opening-guide .opening-widths figcaption { padding: 14px 18px; }
    .opening-guide .opening-calc__steps { grid-template-columns: 1fr; gap: 6px; }
    .opening-guide .opening-calc__steps > div { flex-direction: row; justify-content: space-between; align-items: center; min-height: 58px; padding: 12px 14px; text-align: left; }
    .opening-guide .opening-calc__steps > b { text-align: center; }
}
@media (max-width: 420px) {
    .opening-guide .opening-picker__result { grid-template-columns: 1fr; }
}
