.carpet-tool{border:1px solid #d5ccc3;border-top:4px solid #b4400d;border-radius:12px;padding:clamp(1rem,3vw,2rem);background:#faf8f5;color:#26221e;margin-bottom:1.75rem}
.carpet-tool form,.carpet-tool label,.carpet-tool fieldset,.carpet-tool #carpet-rows{display:grid;gap:.45rem;min-width:0}
.carpet-tool form,.carpet-tool #carpet-rows{gap:1rem}
.carpet-tool [hidden]{display:none}
.carpet-tool fieldset{border:1px solid #c7bcb1;border-radius:.45rem;margin:0;padding:.85rem}
.carpet-tool label,.carpet-tool legend{font-weight:650;font-size:1rem}
.carpet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,8.5rem),1fr));gap:.75rem}
.carpet-tool input,.carpet-tool select,.carpet-tool button{font:inherit;min-height:44px;border-radius:.4rem;padding:.45rem .65rem}
.carpet-tool input,.carpet-tool select{background:#fff;color:#222;border:1px solid #75685b;min-width:0;width:100%;box-sizing:border-box}
.carpet-tool button{background:#fff;color:#70300e;border:1px solid #a34a24;font-weight:650;cursor:pointer}
.carpet-tool .carpet-submit{background:#993706;color:#fff}
.carpet-tool :focus-visible{outline:3px solid #195582;outline-offset:2px}
.carpet-answer{background:#fff;border-left:4px solid #a93f10;padding:1rem;margin:1rem 0;font-weight:650;min-height:4rem}
