.bra-shell{max-width:920px;margin:auto;padding:24px 18px;box-sizing:border-box}.bra-shell h1{font-size:clamp(28px,5vw,48px);line-height:1.12}.bra-shell h2{font-size:clamp(21px,3.4vw,30px);line-height:1.2}.bra-card{border:1px solid #d6c8bd;border-radius:18px;padding:18px;margin:18px 0;background:#fffaf6;color:#2b2320;min-width:0}.bra-card h2{margin-top:0;font-size:clamp(20px,3vw,26px)}.bra-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.bra-shell label{display:block}.bra-shell input[type=text],.bra-shell select{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:11px;min-height:46px;border:1px solid #6d5a50;border-radius:8px;font:inherit;background:#fff;color:#2b2320}.bra-shell fieldset{border:1px dashed #8a7468;border-radius:10px;margin:14px 0;min-width:0}.bra-shell fieldset label{display:flex;gap:10px;align-items:center;min-height:44px}.bra-shell input[type=checkbox]{width:22px;height:22px;flex:0 0 auto;accent-color:#6b3f4f}.bra-shell button{margin:10px 8px 0 0;padding:11px 15px;min-height:44px;border-radius:8px;border:2px solid #4a2b37;background:#4a2b37;color:#fff;font:inherit;cursor:pointer}.bra-shell button.is-quiet{background:#fff;color:#4a2b37}.bra-shell :focus-visible{outline:3px solid #b06a00;outline-offset:2px}.bra-shell [hidden]{display:none!important}#main-size{font-size:clamp(34px,8vw,56px);font-weight:700;margin:4px 0;line-height:1.1}#error{color:#8b1f0c;font-weight:700;min-height:1.4em}#fit-result,#conv-result{font-weight:700;background:#fff;border:1px dashed #8a7468;border-radius:10px;padding:12px;overflow-wrap:anywhere}.bra-table{overflow-x:auto;max-width:100%}.bra-table table{width:100%;border-collapse:collapse}.bra-table th,.bra-table td{border:1px solid #d6c8bd;padding:8px;text-align:left;vertical-align:top}.bra-copy{line-height:1.75}.bra-intro{line-height:1.7;font-size:1.05rem}@media(max-width:480px){.bra-shell{padding:14px 12px}.bra-card{padding:13px}.bra-table th,.bra-table td{padding:6px;font-size:.92rem}}#bra-print{display:none}@media print{body.bra-printing>*{display:none!important}body.bra-printing>#bra-print{display:block!important;white-space:pre-wrap;font:12pt/1.55 Arial,sans-serif;color:#000;background:#fff;margin:0;padding:0}}@media(prefers-reduced-motion:reduce){.bra-shell *{scroll-behavior:auto!important;transition:none!important}}
