.personal-calculations{max-width:58rem;margin:0 auto;overflow-wrap:anywhere}.personal-calculations h3{margin:24px 0 8px}.calculation-greeting{font-size:1.22rem;line-height:1.6;margin:16px 0}.calculation-caption{color:var(--muted);font-size:.9rem}.calculation-history{border:1px solid var(--border);border-radius:5px;background:#fff;padding:0 18px 8px;margin:24px 0}.calculation-steps{padding-left:24px}.calculation-steps>li{padding:8px 0 12px 8px;border-bottom:1px solid var(--border)}.calculation-steps p{margin:8px 0}.calculation-detail{margin:24px 0}.calculation-detail summary{cursor:pointer;min-height:44px;padding:10px 0}.calculation-detail dt{font-weight:600;margin-top:12px}.calculation-detail dd{margin:4px 0 8px}.calculation-formula{font-size:.95rem;line-height:1.7}.personal-calculations button{min-height:44px}@media(max-width:620px){.calculation-greeting{font-size:1.08rem}.calculation-history{padding:0 12px 8px}.calculation-steps{padding-left:20px}.calculation-steps>li{padding-left:4px}}@media print{.calculation-detail{display:block}.calculation-caption{color:#304a5c}}

.allocation-learning{max-width:68rem;margin:0 auto;overflow-wrap:anywhere}.allocation-learning-sections{padding-left:30px}.allocation-learning-sections>li{padding:0 0 24px 12px;margin:24px 0;border-bottom:1px solid var(--border)}.allocation-learning .personal-calculations{max-width:none;margin:0}.allocation-rule-order p{margin:6px 0 16px}.allocation-rule-settings dt{font-weight:600;margin-top:16px}.allocation-rule-settings dd{margin:6px 0}.allocation-rule-settings pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.9rem;margin:0;padding:8px 12px;background:#f1f5f8;border-radius:4px}.allocation-learning textarea{box-sizing:border-box;width:100%;max-width:100%;padding:12px;font:inherit;line-height:1.5;resize:vertical;margin:8px 0 12px;border:1px solid #aebfc9;border-radius:5px}.allocation-learning label{display:block;font-weight:600}.allocation-learning button{min-height:44px}@media(max-width:620px){.allocation-learning-sections{padding-left:20px}.allocation-learning-sections>li{padding-left:4px}}
