.birdsmouth-page{max-width:1120px}.birdsmouth-tool{position:relative;overflow:hidden;background:linear-gradient(150deg,#ffffff 0%,#f4faf9 100%);border:1px solid #c9e0dc;border-radius:28px;padding:clamp(22px,5vw,54px);box-shadow:0 22px 55px rgba(17,61,73,.11)}.birdsmouth-tool:before{content:"";position:absolute;inset:-180px -100px auto auto;width:360px;height:360px;border:1px solid rgba(11,148,136,.18);border-radius:50%;box-shadow:0 0 0 40px rgba(11,148,136,.035),0 0 0 80px rgba(11,148,136,.025);pointer-events:none}.tool-heading{position:relative;display:flex;justify-content:space-between;gap:22px;align-items:flex-start}.tool-heading h1{margin:7px 0 10px}.birdsmouth-lede{max-width:710px;margin:0;color:var(--muted);font-size:1.03rem;line-height:1.65}.local-badge{display:flex;align-items:center;gap:8px;flex:none;margin-top:4px;padding:9px 12px;border:1px solid #b9ddd6;border-radius:999px;background:rgba(255,255,255,.7);color:#175c55;font-size:.78rem;font-weight:800}.local-badge span{width:8px;height:8px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 4px rgba(11,148,136,.12)}.control-bar{position:relative;display:flex;flex-wrap:wrap;gap:18px;margin:32px 0 18px}.segmented-control{display:flex;gap:6px;align-items:center;border:0;padding:0;margin:0}.segmented-control legend{width:100%;padding:0 0 7px;font-size:.76rem;font-weight:850;letter-spacing:.1em;color:#54707a}.segmented-control label{display:flex;align-items:center;gap:7px;min-height:38px;padding:0 12px;border:1px solid #c9d8dc;border-radius:10px;background:#fff;color:#31525b;font-size:.86rem;font-weight:750;cursor:pointer}.segmented-control input{accent-color:var(--accent)}.input-panels{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:16px}.input-panel{border:1px solid #d7e6e6;border-radius:18px;padding:20px;background:rgba(255,255,255,.77)}.cut-panel{background:linear-gradient(155deg,#eff9f7,#fff)}.panel-kicker{font-size:.69rem;font-weight:900;letter-spacing:.13em;color:var(--accent-dark)}.input-panel h2{margin:5px 0 18px;font-size:1.08rem}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.field-grid label{display:grid;gap:5px;font-size:.87rem;font-weight:800;color:#1a3e4a}.field-grid small{min-height:2.45em;color:var(--muted);font-size:.75rem;font-weight:500;line-height:1.35}.field-grid input{width:100%;min-width:0;border:1px solid #bbced4;border-radius:10px;padding:11px 38px 11px 11px;background:#fff;color:var(--ink);font:inherit;font-size:1rem;font-variant-numeric:tabular-nums}.field-grid input:focus{outline:3px solid rgba(11,148,136,.18);border-color:var(--accent)}.unit-field{position:relative}.unit-field b{position:absolute;right:11px;top:50%;transform:translateY(-50%);color:#617a83;font-size:.78rem;pointer-events:none}.hint-field{align-content:end;padding:10px 12px;border:1px dashed #bad7d1;border-radius:10px;background:#f7fcfb}.hint-field small{min-height:0}.birdsmouth-error{position:relative;margin:16px 0 0;padding:12px 14px;border:1px solid #eab7b7;border-radius:10px;background:#fff4f4;color:#952e2e;font-weight:700}.action-row{position:relative;display:flex;align-items:center;gap:16px;margin-top:22px}.calculate-button{min-height:48px;transition:transform .16s ease,box-shadow .16s ease}.calculate-button:active{transform:translateY(1px) scale(.99)}.action-row p{margin:0;color:var(--muted);font-size:.79rem}.action-row kbd{padding:2px 5px;border:1px solid #ccd8da;border-bottom-width:2px;border-radius:4px;background:#fff;font:inherit}.birdsmouth-results{position:relative;margin-top:32px;padding:25px;border:1px solid #bcded8;border-radius:20px;background:#fff;box-shadow:0 12px 28px rgba(17,61,73,.055)}.results-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.results-heading h2{margin:4px 0 0;font-size:1.34rem}.result-layout{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(230px,.8fr);gap:18px;margin-top:19px}.result-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.result-grid article{min-height:122px;display:flex;flex-direction:column;padding:14px;border:1px solid #d9e7e9;border-radius:13px;background:#fbfdfe}.result-grid article span{color:#58727c;font-size:.76rem;font-weight:750}.result-grid article strong{margin:10px 0 4px;color:#103b48;font-size:clamp(1.05rem,2vw,1.47rem);letter-spacing:-.04em;font-variant-numeric:tabular-nums}.result-grid article small{margin-top:auto;color:var(--muted);font-size:.71rem;line-height:1.35}.result-grid .accent-result{border-color:#a8ddd4;background:#effbf8}.result-grid .notch-result{border-color:#bed2dd;background:#f3f8fb}.geometry-card{padding:16px;border:1px solid #d6e5e6;border-radius:15px;background:linear-gradient(145deg,#fbffff,#eff8f7)}.geometry-tag{font-size:.67rem;letter-spacing:.12em;font-weight:900;color:var(--accent-dark)}.geometry-card svg{display:block;width:100%;height:auto;margin:2px auto}.rafter-shape{fill:#dceeea;stroke:#1d655f;stroke-width:3}.cutout{fill:#fff;stroke:#c55742;stroke-width:2}.measure{stroke:#0b9488;stroke-width:2;stroke-dasharray:4 3}.geometry-card text{font-size:10px;font-weight:800;fill:#34555c;letter-spacing:.06em}.geometry-card p{margin:0;color:#547079;font-size:.77rem;line-height:1.45}.calculation-note{margin:18px 0 0;padding:12px 14px;border-left:3px solid var(--accent);background:#f4fbfa;color:#355a62;font-size:.85rem;line-height:1.5}.copy-status{min-height:1.2em;margin:9px 0 0;color:var(--accent-dark);font-size:.84rem;font-weight:700}.birdsmouth-content{margin-top:34px}.birdsmouth-content h2{margin-top:42px}.formula-block{margin:20px 0;border-left:3px solid var(--accent);padding:3px 0 3px 18px}.formula-block p{margin:9px 0!important}.birdsmouth-content code{overflow-wrap:anywhere}.hand-checks{display:grid;gap:14px}.hand-checks article{padding:18px;border:1px solid var(--line);border-radius:14px;background:#fbfcfd}.hand-checks h3{margin:0 0 10px;font-size:1rem}.hand-checks p:last-child{margin-bottom:0}.birdsmouth-content details{border-top:1px solid var(--line);padding:15px 0}.birdsmouth-content details:last-child{border-bottom:1px solid var(--line)}@media(prefers-reduced-motion:no-preference){.result-grid article{animation:result-in .32s ease both}.result-grid article:nth-child(2){animation-delay:.03s}.result-grid article:nth-child(3){animation-delay:.06s}.result-grid article:nth-child(4){animation-delay:.09s}.result-grid article:nth-child(5){animation-delay:.12s}.result-grid article:nth-child(6){animation-delay:.15s}.result-grid article:nth-child(7){animation-delay:.18s}.result-grid article:nth-child(8){animation-delay:.21s}@keyframes result-in{from{opacity:.55;transform:translateY(3px)}to{opacity:1;transform:none}}}@media(max-width:940px){.input-panels{grid-template-columns:1fr}.result-layout{grid-template-columns:1fr}.geometry-card{max-width:430px}.result-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:680px){.birdsmouth-page{padding-inline:12px}.birdsmouth-tool{padding:23px 16px;border-radius:20px}.tool-heading{display:block}.local-badge{display:inline-flex;margin-top:15px}.control-bar{display:grid;grid-template-columns:1fr;gap:15px}.segmented-control{flex-wrap:wrap}.segmented-control label{flex:1;justify-content:center}.field-grid{grid-template-columns:1fr}.field-grid small{min-height:0}.result-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.result-grid article{min-height:112px}.results-heading{flex-direction:column}.copy-button{min-height:44px}.birdsmouth-results{padding:18px}.action-row{align-items:flex-start;flex-direction:column;gap:9px}.birdsmouth-content{margin-top:22px}}@media(max-width:380px){.result-grid{grid-template-columns:1fr}}
