.wrap-page{--wrap-green:#3d6954;--wrap-orange:#b9703f;color:#293b32}.wrap-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:30px;align-items:start}.wrap-settings,.wrap-visual{min-width:0}.wrap-directions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:24px}.wrap-page button{font:inherit;cursor:pointer;touch-action:manipulation}.wrap-directions button{background:#fff;border:1px solid #d7ded8;border-radius:12px;padding:13px 8px;font-weight:650;color:#43564a}.wrap-directions button small{display:block;font-size:12px;font-weight:400;margin-top:4px}.wrap-directions button[aria-pressed=true]{border-color:var(--wrap-green);background:#eef4ed;color:var(--wrap-green);box-shadow:inset 0 0 0 1px var(--wrap-green)}.wrap-fields{display:grid;grid-template-columns:1fr 1fr;gap:16px}.wrap-field{display:block;min-width:0}.wrap-field>span{display:block;font-size:14px;font-weight:600;margin-bottom:8px}.wrap-field>div{display:flex;align-items:center;border:1px solid #cbd5ce;border-radius:10px;background:#fff;padding:0 12px;min-height:51px;gap:7px}.wrap-field input{width:100%;min-width:0;border:0;background:transparent;font:500 21px/1.3 Inter,system-ui,sans-serif;color:#263e30;padding:11px 0;outline:none}.wrap-field>div:focus-within{outline:2px solid #6f9279;outline-offset:2px}.wrap-field input[aria-invalid=true]{color:#a1452e}.wrap-field small{color:#66766c;font-size:12px;line-height:1.6}.wrap-field>small{display:block;margin-top:6px}.wrap-presets{display:flex;gap:6px;margin-top:15px}.wrap-presets button{flex:1;min-height:38px;padding:5px 2px;border:1px solid #e0e4df;border-radius:8px;background:#fff;color:#67736a;font-size:13px}.wrap-presets button[aria-pressed=true]{background:#3d6954;border-color:#3d6954;color:#fff}#wrap-message{font-size:13px;line-height:1.6;color:#a1452e;margin:12px 0}#wrap-message:empty{display:none}.wrap-result{margin-top:22px;padding:22px 24px;background:#edf3e9;border:1px solid #dde7d8;border-radius:16px}.wrap-result>span{font-size:14px;font-weight:600}.wrap-result>div{display:flex;align-items:baseline;gap:9px;margin:8px 0}.wrap-result output{font:600 clamp(32px,4vw,47px)/1.15 Inter,system-ui,sans-serif;letter-spacing:-1.4px;overflow-wrap:anywhere}.wrap-result small{font-size:16px}.wrap-result p{font-size:13px;line-height:1.6;margin:0;color:#56704f}.wrap-total{margin-top:22px}.wrap-total-result{display:flex;align-items:baseline;justify-content:space-between;gap:12px;border-bottom:1px solid #dee4db;padding:16px 0;font-size:13px}.wrap-total-result strong{font-size:19px;text-align:right;overflow-wrap:anywhere}.wrap-board{background:#faf8f2;border:1px solid #e7e3d7;border-radius:18px;overflow:hidden}.wrap-board-heading{display:flex;justify-content:space-between;gap:12px;padding:19px 20px 0;flex-wrap:wrap}.wrap-board-heading>span{font-size:11px;letter-spacing:1px;font-weight:700;color:#63715e}.wrap-board-heading small{font-size:11px;color:#89917f}.wrap-board svg{display:block;width:100%;height:auto;overflow:visible}.wrap-sheet-first,.wrap-sheet-second{fill:none;stroke-width:18;stroke-linecap:butt}.wrap-sheet-first{stroke:#b1b9ab}.wrap-sheet-second{stroke:#3d6954}.wrap-ray{fill:none;stroke:#b8bcb0;stroke-dasharray:4 5}.wrap-angle-arc{fill:none;stroke:#b9703f;stroke-width:2}.wrap-angle-label{font-size:19px;fill:#a15f35;font-weight:600}.wrap-thickness-mark{stroke:#b9703f;fill:none;stroke-width:1.5}.wrap-thickness-label{fill:#a15f35;font-size:14px;font-weight:600}.wrap-legend{display:flex;justify-content:center;gap:24px;padding:0 16px 20px;font-size:12px;color:#5e6b5e}.wrap-legend i{display:inline-block;width:18px;height:5px;background:#b1b9ab;vertical-align:middle;margin-right:7px;border-radius:1px}.wrap-legend span:nth-child(2) i{background:#3d6954}.wrap-principle{padding:22px 4px}.wrap-principle h2{font-size:16px;margin:0 0 9px}.wrap-principle p{font-size:14px;line-height:1.8;color:#677565;margin:0}.wrap-principle>div{margin-top:16px;padding:12px 14px;background:#f5f6f2;border-radius:9px;font-size:13px;line-height:1.7;color:#53694e;overflow-wrap:anywhere}.wrap-foot{display:flex;align-items:center;gap:24px;margin-top:28px;padding-top:22px;border-top:1px solid #e2e6de}.wrap-foot p{flex:1;font-size:13px;line-height:1.9;color:#768070;margin:0}.wrap-foot button{flex-shrink:0;border:1px solid #d5ded3;background:#fff;border-radius:10px;padding:12px 17px;font-size:13px;color:#3d6954}.wrap-foot button:disabled{opacity:.45;cursor:default}#wrap-copy-status{font-size:13px;color:#3d6954}.wrap-details{margin-top:14px;color:#778071;font-size:12px;line-height:1.9}.wrap-details summary{cursor:pointer}.wrap-details p{margin:8px 0}.wrap-page button:focus-visible{outline:2px solid #3d6954;outline-offset:3px}@media(max-width:760px){.wrap-layout{grid-template-columns:1fr;gap:24px}.wrap-visual{display:grid;grid-template-columns:1fr}.wrap-board{max-width:520px;width:100%;justify-self:center}.wrap-principle{padding:20px 0 0}.wrap-foot{display:block;margin-top:24px}.wrap-foot button{margin-top:14px}.wrap-fields{gap:12px}.wrap-result{padding:20px}.wrap-result output{font-size:42px}}@media(prefers-color-scheme:dark){.system-theme .wrap-page{color:#dfe7db}.system-theme .wrap-directions button,.system-theme .wrap-presets button,.system-theme .wrap-field>div,.system-theme .wrap-foot button{background:#202a24;border-color:#455347;color:#dce5d6}.system-theme .wrap-directions button[aria-pressed=true]{background:#304c3a;color:#eef5e9;border-color:#8eac90}.system-theme .wrap-presets button[aria-pressed=true]{background:#547d5c}.system-theme .wrap-field input{color:#ecf2e7}.system-theme .wrap-field small,.system-theme .wrap-foot p,.system-theme .wrap-details,.system-theme .wrap-principle p{color:#a6b3a1}.system-theme .wrap-result{background:#2b402d;border-color:#435a3d}.system-theme .wrap-result p{color:#b8c9a8}.system-theme .wrap-board{background:#222b25;border-color:#455044}.system-theme .wrap-board-heading>span,.system-theme .wrap-legend{color:#b4c1aa}.system-theme .wrap-board-heading small{color:#a1ac99}.system-theme .wrap-principle>div{background:#273328;color:#bdcbb1}.system-theme .wrap-angle-label,.system-theme .wrap-thickness-label{fill:#e5a06c}.system-theme .wrap-foot,.system-theme .wrap-total-result{border-color:#455044}.system-theme #wrap-message,.system-theme .wrap-field input[aria-invalid=true]{color:#efaa8b}}

.wrap-presets{display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.wrap-flat{padding:20px 4px 0}.wrap-flat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.wrap-flat-heading strong{font-size:15px}.wrap-flat-heading button{border:1px solid #d5ded3;background:transparent;border-radius:8px;padding:7px 11px;color:inherit;font-size:12px}.wrap-flat-heading button:disabled{opacity:.4;cursor:default}.wrap-flat>p{font-size:12px;line-height:1.7;color:#778071;margin:8px 0 0}.wrap-flat>svg{display:block;width:100%;height:auto}.wrap-flat>small{display:block;text-align:center;color:#778071;font-size:11px}.wrap-full-circle{fill:none;stroke:#d3d7ca;stroke-dasharray:3 6}.wrap-tick{stroke:#acb5a4;stroke-width:1.5}.wrap-tick-label{fill:#71816a;font-size:16px}.wrap-angle-label{font-size:23px}.wrap-thickness-label{font-size:16px}.wrap-flat-guide{stroke:#a8b49f;stroke-dasharray:4 4;fill:none}.wrap-flat-number{fill:#778870;font-size:22px}.wrap-flat-delta{fill:#a15f35;font-size:18px;font-weight:600}@media(max-width:380px){.wrap-presets{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(prefers-color-scheme:dark){.system-theme .wrap-tick-label,.system-theme .wrap-flat-number{fill:#b5c2a9}.system-theme .wrap-full-circle{stroke:#63735b}.system-theme .wrap-flat>p,.system-theme .wrap-flat>small{color:#a6b3a1}.system-theme .wrap-flat-delta{fill:#e5a06c}}
