*{box-sizing:border-box}body{margin:0;background:#f4f1eb;color:#29251f;font:16px system-ui,sans-serif}
header{padding:18px 28px;background:#fffdf8;border-bottom:1px solid #d8d0c2;display:flex;justify-content:space-between;align-items:center;gap:15px}h1{margin:0;font-size:1.3rem}
small,.source{color:#71695d}button{padding:10px 15px;margin-left:6px;border:1px solid #cfc6b8;border-radius:7px;background:white;cursor:pointer;font-weight:600}
main{display:grid;grid-template-columns:235px 1fr;min-height:calc(100vh - 120px)}aside{padding:18px;background:#eae4db;border-right:1px solid #d8d0c2}
.step{padding:11px;margin:4px 0;border-radius:7px;color:#71695d;cursor:pointer}.step.active{background:#fffdf8;color:#29251f;font-weight:700}.step span{display:inline-flex;width:25px;height:25px;border-radius:50%;align-items:center;justify-content:center;background:#d8d0c2;margin-right:7px}.step.active span{background:#5b2d24;color:white}
section{max-width:950px;width:100%;margin:auto;padding:30px}.card{background:#fffdf8;border:1px solid #d8d0c2;border-radius:10px;padding:25px}h2{margin-top:0}
label{display:block;font-weight:650;margin:15px 0 6px}input{padding:10px;border:1px solid #cfc6b8;border-radius:6px;font-size:1rem}input[type=text],input[type=number]{width:100%}
.grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.ability{text-align:center}.ability input{text-align:center;width:100%}.options{display:grid;gap:9px}
.option{padding:13px;border:1px solid #d8d0c2;border-radius:7px;background:white;cursor:pointer}.option.selected{border:2px solid #5b2d24;background:#eee5dc}.option-title{font-weight:750}
.notice{padding:12px;background:#eee5dc;border-left:4px solid #5b2d24;margin:12px 0}nav{display:flex;justify-content:space-between;margin-top:18px}
footer{padding:9px 20px;background:#fffdf8;border-top:1px solid #d8d0c2;color:#71695d;font-size:.8rem}
.option-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.option.recommended{border-left:5px solid #3f7d45;background:#f0f7f0}.option.secondary{border-left:5px solid #b0832e;background:#faf5e8}
.badge,.mini-badge{display:inline-block;border-radius:999px;padding:4px 8px;font-size:.76rem;font-weight:700;white-space:nowrap}.badge.recommended,.mini-badge{background:#dceedd;color:#245b2b}.badge.secondary,.mini-badge.secondary{background:#f1e5c6;color:#755617}
.legend{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}.legend-item{padding:7px 10px;border-radius:6px;font-size:.82rem}.legend-item.recommended{background:#dceedd;color:#245b2b}.legend-item.secondary{background:#f1e5c6;color:#755617}
.recommendation-table{overflow-x:auto;margin:15px 0 24px}.recommendation-table table{width:100%;border-collapse:collapse;background:white}.recommendation-table th,.recommendation-table td{text-align:left;padding:10px 12px;border-bottom:1px solid #d8d0c2}.recommendation-table th{background:#eee8df}
.ability.primary{border-radius:7px;padding:5px;background:#f0f7f0}.ability.secondary{border-radius:7px;padding:5px;background:#faf5e8}
@media(max-width:700px){header{flex-direction:column;align-items:stretch}main{grid-template-columns:1fr}aside{border:0;border-bottom:1px solid #d8d0c2}section{padding:16px}.grid{grid-template-columns:repeat(2,1fr)}}