.bmi-page{padding-top:1rem}.bmi-page>nav{margin-bottom:.75rem}.bmi-page>section[aria-labelledby=tool-title]{padding-bottom:1.5rem}.bmi-page #tool-title{font-size:1.75rem}.bmi-page #tool-title+p{margin-top:.5rem;line-height:1.6}.bmi-tool{padding:1rem}.bmi-scope{margin-bottom:1.25rem;color:var(--text-muted);font-size:.875rem;line-height:1.5}.bmi-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem 1rem;padding-bottom:1.5rem;border-bottom:1px solid var(--border)}.bmi-field{min-width:0}.bmi-input-line{display:grid;gap:.5rem}.bmi-input-line label{font-size:.875rem;line-height:1.25rem;font-weight:600}.bmi-input-line .field-input{border-radius:.5rem}.bmi-field-error{min-height:1.125rem;margin-top:.25rem;font-size:.75rem;line-height:1.125rem;color:var(--primary)}.bmi-field-error:empty{display:none}.bmi-calculate{grid-column:1 / -1;width:100%;min-height:3rem;border-radius:.5rem}.bmi-result{display:flex;flex-direction:column;align-items:center;padding-top:1.5rem;text-align:center}.bmi-result-label{font-size:1rem;line-height:1.5;color:var(--text-muted)}.bmi-value{max-width:100%;margin-top:.25rem;font-size:4rem;line-height:1.15;font-weight:800}.bmi-value[data-long]{font-size:clamp(2rem,8vw,4rem)}.bmi-category{margin-top:.5rem;font-size:1.125rem;line-height:1.5;font-weight:700}.bmi-normal-range{margin-top:.375rem;font-size:.875rem;line-height:1.5;color:var(--text-muted)}.bmi-result-state{min-height:2.25rem;margin-top:.5rem;max-width:42rem;font-size:.75rem;line-height:1.125rem;color:var(--text-muted)}.bmi-result-state:empty{min-height:0;margin-top:0}.bmi-scale{align-self:stretch;padding-top:1.75rem}.bmi-scale-track{position:relative;height:.75rem;border-radius:.5rem;background:var(--surface-muted)}.bmi-scale-normal{position:absolute;inset-block:0;background:var(--accent-soft);border-inline:1px solid var(--primary)}.bmi-scale-marker{position:absolute;top:-.375rem;bottom:-.375rem;width:.25rem;border-radius:.25rem;background:var(--text-primary);transform:translate(-50%)}.bmi-marker-label{position:absolute;bottom:calc(100% + .375rem);left:50%;transform:translate(-50%);white-space:nowrap;font-size:.8125rem;line-height:1.25rem;font-weight:700}.bmi-marker-label[data-edge=left]{left:0;transform:none}.bmi-marker-label[data-edge=right]{left:auto;right:0;transform:none}.bmi-scale-labels{position:relative;height:1.5rem;margin-top:.625rem;color:var(--text-muted);font-size:.75rem;line-height:1.25rem}.bmi-scale-labels>span{position:absolute;transform:translate(-50%)}.bmi-scale-labels .bmi-scale-start{left:0;transform:none}.bmi-scale-labels .bmi-scale-end{right:0;transform:none}.bmi-scale[data-empty] .bmi-scale-track{opacity:.5}.bmi-result-footer{display:flex;flex-direction:column;gap:.25rem;margin-top:1.5rem;color:var(--text-muted);font-size:.8125rem;line-height:1.5}.bmi-copy-area{min-width:0}.bmi-copy{display:inline-flex;align-items:center;justify-content:center;gap:.375rem;min-height:2.75rem;border-radius:.5rem;color:var(--primary);text-decoration:underline;text-underline-offset:.2em;font-size:.8125rem}.bmi-copy:hover{background:var(--surface-hover)}.bmi-copy:disabled{color:var(--text-muted);opacity:.6;cursor:default}.bmi-copy svg{width:1rem;height:1rem;flex-shrink:0}.bmi-copy-fallback{margin-top:.5rem;max-width:28rem;text-align:left}.bmi-copy-fallback textarea{margin-top:.5rem}.bmi-overview{margin-top:1.5rem}.bmi-section-title{margin-bottom:1rem;font-size:1.375rem;line-height:1.4;font-weight:700;letter-spacing:-.025em}.bmi-table-wrap{overflow:hidden;border:1px solid var(--border);border-radius:.75rem;background:var(--surface)}.bmi-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:.875rem;line-height:1.5}.bmi-table th,.bmi-table td{padding:.75rem;text-align:left;vertical-align:middle;overflow-wrap:break-word}.bmi-table thead th{font-size:.75rem;font-weight:400;color:var(--text-muted)}.bmi-table th:first-child{width:41%;font-weight:500;font-variant-numeric:tabular-nums}.bmi-table tr+tr,.bmi-table tbody{border-top:1px solid var(--border)}.bmi-table tr[data-current=true]{background:var(--primary-soft)}.bmi-table tr[data-current=true]>*{font-weight:700}.bmi-all-categories{display:inline-flex;align-items:center;min-height:2.75rem;margin-top:.25rem;font-size:.875rem}.bmi-guide,.bmi-page #instruction{margin-top:2.5rem}.bmi-guide p{margin-top:.75rem;max-width:70ch;font-size:.875rem;line-height:1.85;color:var(--text-muted)}.bmi-guide h3{margin-top:1.5rem;font-size:1rem;line-height:1.5;font-weight:700}.bmi-instruction-steps{display:grid;gap:1rem;margin-top:1.25rem}.bmi-instruction-steps li{display:flex;align-items:flex-start;gap:.75rem;font-size:.875rem;line-height:1.75}.bmi-step-number{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:1.75rem;height:1.75rem;border-radius:50%;background:var(--primary-soft);font-size:.875rem;font-weight:700}.bmi-full-categories{margin-top:2rem;scroll-margin-top:6rem}.bmi-full-categories .bmi-table th:first-child{width:42%}@media(min-width:48rem){.bmi-page{padding-top:1.5rem}.bmi-page #tool-title{font-size:2.25rem}.bmi-tool{padding:1.5rem}.bmi-value{font-size:6.5rem}.bmi-value[data-long]{font-size:5rem}.bmi-result{padding-top:1.75rem}.bmi-category{font-size:1.25rem}.bmi-result-state{min-height:1.125rem}.bmi-result-footer{flex-direction:row;justify-content:space-between;align-items:center}.bmi-section-title{font-size:1.5rem}.bmi-table th,.bmi-table td{padding:.75rem 1.5rem}.bmi-table th:first-child{width:40%}.bmi-instruction-steps{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:64rem){.bmi-form{grid-template-columns:repeat(2,minmax(0,1fr)) minmax(12rem,.8fr);gap:1.5rem}.bmi-input-line{grid-template-columns:auto minmax(0,20.3125rem);align-items:center;gap:1rem}.bmi-calculate{grid-column:auto;align-self:start;min-height:2.75rem}}@media(max-width:39.99rem)and (max-height:700px){.bmi-page{padding-top:.5rem}.bmi-page>nav{margin-bottom:.25rem}.bmi-page>section[aria-labelledby=tool-title]{padding-bottom:1rem}.bmi-scope{margin-bottom:.75rem}.bmi-form{padding-bottom:1rem}.bmi-result{padding-top:1rem}.bmi-value{font-size:3.5rem}.bmi-result-footer{margin-top:.75rem}}
