.drywall-calculator[data-astro-cid-gpekrdor]{box-sizing:border-box;gap:1.15rem;width:100%;min-width:0;max-width:800px;margin:0 auto;padding-bottom:35px;display:grid}.drywall-calculator[data-astro-cid-gpekrdor] [data-astro-cid-gpekrdor],.drywall-calculator[data-astro-cid-gpekrdor] [data-astro-cid-gpekrdor]:before,.drywall-calculator[data-astro-cid-gpekrdor] [data-astro-cid-gpekrdor]:after{box-sizing:border-box}.tool-intro[data-astro-cid-gpekrdor]{margin-bottom:.15rem}.tool-label[data-astro-cid-gpekrdor]{color:var(--rik-blue,#2457a7);letter-spacing:1.1px;margin-bottom:8px;font-size:11px;font-weight:700;display:inline-block}.tool-intro[data-astro-cid-gpekrdor] h1[data-astro-cid-gpekrdor]{color:var(--rik-navy,#172b4d);margin:0 0 10px;font-size:clamp(27px,4vw,34px);line-height:1.25}.tool-intro[data-astro-cid-gpekrdor] p[data-astro-cid-gpekrdor]{max-width:600px;color:var(--rik-muted,#667085);margin:0;font-size:15px;line-height:1.65}.card[data-astro-cid-gpekrdor]{border:1px solid var(--rik-border,#dfe5ec);border-radius:var(--rik-radius,12px);background:var(--rik-white,#fff);min-width:0;padding:1.2rem}.card[data-astro-cid-gpekrdor] h2[data-astro-cid-gpekrdor]{color:var(--rik-text,#172b4d);margin:0 0 .5rem;font-size:1.15rem;line-height:1.4}.card[data-astro-cid-gpekrdor] h3[data-astro-cid-gpekrdor]{color:var(--rik-text,#172b4d);margin:0;font-size:1rem;line-height:1.4}.muted[data-astro-cid-gpekrdor]{color:var(--rik-muted,#667085);margin:0 0 .9rem;font-size:.92rem;line-height:1.55}.choice-grid[data-astro-cid-gpekrdor]{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem;margin-top:.85rem;display:grid}.choice[data-astro-cid-gpekrdor]{border:1px solid var(--rik-border,#dfe5ec);background:var(--rik-background,#f7f9fc);cursor:pointer;border-radius:9px;align-items:flex-start;gap:.7rem;min-width:0;padding:.85rem;transition:border-color .2s,background .2s;display:flex}.choice[data-astro-cid-gpekrdor]:hover{border-color:var(--rik-blue,#2457a7)}.choice[data-astro-cid-gpekrdor] input[data-astro-cid-gpekrdor]{width:18px;height:18px;accent-color:var(--rik-blue,#2457a7);cursor:pointer;flex-shrink:0;margin:.15rem 0 0}.choice[data-astro-cid-gpekrdor] span[data-astro-cid-gpekrdor]{gap:.25rem;min-width:0;display:grid}.choice[data-astro-cid-gpekrdor] strong[data-astro-cid-gpekrdor]{color:var(--rik-text,#172b4d);font-size:.95rem;line-height:1.4}.choice[data-astro-cid-gpekrdor] small[data-astro-cid-gpekrdor]{color:var(--rik-muted,#667085);font-size:.84rem;line-height:1.45}.field-grid[data-astro-cid-gpekrdor]{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;margin-top:.9rem;display:grid}.field[data-astro-cid-gpekrdor]{min-width:0;color:var(--rik-text,#172b4d);flex-direction:column;gap:.45rem;font-size:.9rem;font-weight:600;display:flex}.field[data-astro-cid-gpekrdor] input[data-astro-cid-gpekrdor],.field[data-astro-cid-gpekrdor] select[data-astro-cid-gpekrdor]{border:1px solid var(--rik-border,#cfd7e3);background:var(--rik-white,#fff);width:100%;min-width:0;min-height:44px;color:var(--rik-text,#172b4d);font:inherit;border-radius:8px;margin:0;padding:.65rem .75rem;font-size:.95rem;font-weight:400;line-height:1.4;display:block}.field[data-astro-cid-gpekrdor] input[data-astro-cid-gpekrdor]:focus,.field[data-astro-cid-gpekrdor] select[data-astro-cid-gpekrdor]:focus,.choice[data-astro-cid-gpekrdor] input[data-astro-cid-gpekrdor]:focus-visible,.drywall-calculator[data-astro-cid-gpekrdor] button[data-astro-cid-gpekrdor]:focus-visible{outline:2px solid var(--rik-blue,#2457a7);outline-offset:2px}.unit-field[data-astro-cid-gpekrdor]{max-width:380px;margin-top:.85rem}.wastage-field[data-astro-cid-gpekrdor]{max-width:300px;margin-top:.85rem}.subheading[data-astro-cid-gpekrdor]{border-bottom:1px solid var(--rik-border,#e3e8ef);justify-content:space-between;align-items:center;gap:.75rem;min-width:0;margin-top:1.3rem;padding-bottom:.6rem;display:flex}.wall-rows[data-astro-cid-gpekrdor]{gap:.75rem;margin-top:.85rem;display:grid}.wall-row[data-astro-cid-gpekrdor]{border:1px solid var(--rik-border,#dfe5ec);background:var(--rik-background,#f8fafc);border-radius:9px;min-width:0;padding:.9rem}.wall-row-heading[data-astro-cid-gpekrdor]{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.2rem;display:flex}.wall-row-heading[data-astro-cid-gpekrdor] strong[data-astro-cid-gpekrdor]{color:var(--rik-text,#172b4d);font-size:.92rem}.wall-row[data-astro-cid-gpekrdor] .field-grid[data-astro-cid-gpekrdor]{margin-top:.75rem}.remove-wall[data-astro-cid-gpekrdor]{color:#b42318;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:.35rem .5rem;font-size:.82rem}.remove-wall[data-astro-cid-gpekrdor]:hover:not(:disabled){background:#fef3f2}.remove-wall[data-astro-cid-gpekrdor]:disabled{color:var(--rik-muted,#98a2b3);cursor:not-allowed}.secondary-button[data-astro-cid-gpekrdor],.primary-button[data-astro-cid-gpekrdor]{border:1px solid var(--rik-border,#cfd7e3);min-height:44px;font:inherit;text-align:center;cursor:pointer;border-radius:8px;justify-content:center;align-items:center;padding:.65rem .9rem;font-size:.9rem;font-weight:600;line-height:1.4;transition:background .2s,border-color .2s;display:inline-flex}.secondary-button[data-astro-cid-gpekrdor]{background:var(--rik-white,#fff);color:var(--rik-text,#172b4d)}.secondary-button[data-astro-cid-gpekrdor]:hover{border-color:var(--rik-blue,#2457a7);background:var(--rik-background,#f7f9fc)}.primary-button[data-astro-cid-gpekrdor]{border-color:var(--rik-blue,#2457a7);background:var(--rik-blue,#2457a7);color:#fff}.primary-button[data-astro-cid-gpekrdor]:hover{background:var(--rik-blue-hover,#194789)}.form-actions[data-astro-cid-gpekrdor]{flex-wrap:wrap;gap:.7rem;display:flex}.note[data-astro-cid-gpekrdor]{background:var(--rik-background,#f5f8fc);color:var(--rik-muted,#58677d);border-radius:8px;margin:.9rem 0 0;padding:.8rem .9rem;font-size:.86rem;line-height:1.55}.error[data-astro-cid-gpekrdor]{color:#b42318;margin:.65rem 0 0;font-size:.9rem;line-height:1.5}.results-card[data-astro-cid-gpekrdor]{border-color:#d8e5f7}.result-grid[data-astro-cid-gpekrdor]{grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin-top:.9rem;display:grid}.result-item[data-astro-cid-gpekrdor]{border:1px solid var(--rik-border,#dfe5ec);background:var(--rik-background,#f7f9fc);border-radius:8px;flex-direction:column;justify-content:space-between;gap:.55rem;min-width:0;padding:.85rem;display:flex}.result-item[data-astro-cid-gpekrdor] span[data-astro-cid-gpekrdor],.purchase-label[data-astro-cid-gpekrdor]{color:var(--rik-muted,#667085);font-size:.82rem;line-height:1.45}.result-item[data-astro-cid-gpekrdor] strong[data-astro-cid-gpekrdor]{color:var(--rik-text,#172b4d);overflow-wrap:anywhere;font-size:.98rem;line-height:1.45}.purchase-result[data-astro-cid-gpekrdor]{background:#f1f6fd;border:1px solid #d8e5f7;border-radius:9px;gap:.3rem;margin-top:.9rem;padding:1rem;display:grid}.purchase-result[data-astro-cid-gpekrdor]>span[data-astro-cid-gpekrdor],.purchase-result[data-astro-cid-gpekrdor]>strong[data-astro-cid-gpekrdor]{display:block}.purchase-result[data-astro-cid-gpekrdor]>strong[data-astro-cid-gpekrdor]{color:var(--rik-navy,#172b4d);overflow-wrap:anywhere;font-size:clamp(1.5rem,4vw,1.9rem);line-height:1.3}.purchase-result[data-astro-cid-gpekrdor] p[data-astro-cid-gpekrdor]{color:var(--rik-muted,#667085);margin:.25rem 0 0;font-size:.86rem;line-height:1.55}.drywall-calculator[data-astro-cid-gpekrdor] [data-astro-cid-gpekrdor][hidden]{display:none!important}.wall-row{border:1px solid var(--rik-border,#dfe5ec);background:var(--rik-background,#f8fafc);box-sizing:border-box;border-radius:9px;min-width:0;padding:.9rem;display:block}.wall-row-heading{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.2rem;display:flex}.wall-row-heading strong{color:var(--rik-text,#172b4d);font-size:.92rem}.wall-row .field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem;margin-top:.75rem;display:grid}.wall-row .field{min-width:0;color:var(--rik-text,#172b4d);flex-direction:column;gap:.45rem;font-size:.9rem;font-weight:600;display:flex}.wall-row .field input{border:1px solid var(--rik-border,#cfd7e3);background:var(--rik-white,#fff);width:100%;min-width:0;min-height:44px;color:var(--rik-text,#172b4d);font:inherit;box-sizing:border-box;border-radius:8px;margin:0;padding:.65rem .75rem;font-size:.95rem;font-weight:400;line-height:1.4;display:block}.wall-row .field input:focus{outline:2px solid var(--rik-blue,#2457a7);outline-offset:2px}.wall-row .remove-wall{color:#b42318;font:inherit;cursor:pointer;background:0 0;border:0;border-radius:6px;padding:.35rem .5rem;font-size:.82rem}.wall-row .remove-wall:disabled{color:var(--rik-muted,#98a2b3);cursor:not-allowed}@media (width<=600px){.card[data-astro-cid-gpekrdor]{padding:1rem}.choice-grid[data-astro-cid-gpekrdor],.field-grid[data-astro-cid-gpekrdor],.result-grid[data-astro-cid-gpekrdor]{grid-template-columns:minmax(0,1fr)}.unit-field[data-astro-cid-gpekrdor],.wastage-field[data-astro-cid-gpekrdor]{max-width:none}.subheading[data-astro-cid-gpekrdor]{align-items:flex-start}.subheading[data-astro-cid-gpekrdor] .secondary-button[data-astro-cid-gpekrdor]{max-width:100%;padding:.55rem .65rem;font-size:.84rem}.form-actions[data-astro-cid-gpekrdor]>button[data-astro-cid-gpekrdor]{flex:1}.result-item[data-astro-cid-gpekrdor]{gap:.35rem}.wall-row .field-grid{grid-template-columns:minmax(0,1fr)}}@media (width<=380px){.subheading[data-astro-cid-gpekrdor]{flex-direction:column;align-items:stretch}.subheading[data-astro-cid-gpekrdor] .secondary-button[data-astro-cid-gpekrdor]{width:100%}.form-actions[data-astro-cid-gpekrdor]{flex-direction:column}.form-actions[data-astro-cid-gpekrdor]>button[data-astro-cid-gpekrdor]{width:100%}}@media (prefers-reduced-motion:reduce){.choice[data-astro-cid-gpekrdor],.secondary-button[data-astro-cid-gpekrdor],.primary-button[data-astro-cid-gpekrdor]{transition:none}}
