.ideal-region-field{max-width:420px;margin:4px 0 14px}
.ideal-weight-page .bmi-field select{width:100%;min-height:54px;border:1px solid #e7ddec;border-radius:14px;padding:0 16px;background:#fff;color:#29283f;font:inherit;outline:none;transition:border-color .18s,box-shadow .18s}
.ideal-weight-page .bmi-field select:focus{border-color:#aa88d5;box-shadow:0 0 0 3px #c8a9ef55}
.ideal-weight-page .bmi-uk-option{display:flex;align-items:flex-start;gap:11px;max-width:720px;margin:0 0 16px;padding:14px 16px;border:1px solid #e7ddec;border-radius:14px;background:linear-gradient(110deg,#fff 0%,#fbf7fd 100%);color:#38354e}
.ideal-weight-page .bmi-uk-option input{width:18px;height:18px;flex:0 0 auto;margin:2px 0 0;accent-color:#8b66b2}
.ideal-weight-page .bmi-uk-option span{display:grid;gap:4px}
.ideal-weight-page .bmi-uk-option strong{font-size:.88rem;line-height:1.45}
.ideal-weight-page .bmi-uk-option small{color:#766f82;font-size:.78rem;font-weight:400;line-height:1.5}
.ideal-weight-page .ideal-age-field{margin-bottom:12px}
.ideal-weight-page .ideal-secondary-range>strong{display:flex;align-items:baseline;gap:6px;white-space:nowrap;color:#29283f;font-size:1.22rem}
.ideal-weight-page .ideal-secondary-range>strong small{font-size:.82rem;font-weight:650;color:#756f82}
.ideal-weight-page .bmi-history-chart-summary{line-height:1.5}
.ideal-weight-page .bmi-history-insight-story{line-height:1.75}
.ideal-weight-page .bmi-history-chart-wrap{background:linear-gradient(140deg,#fff 0%,#fff 70%,#fcf8ff 100%)}
.ideal-weight-page [data-ideal-toolbar] button.is-active{background:#29283f;color:#fff;border-color:#29283f}
.ideal-weight-page [data-ideal-list-heading]>span{white-space:nowrap}
.ideal-age-field{max-width:420px;margin:4px 0 14px}
.ideal-age-field small{color:#766f82;font-size:.78rem;font-weight:400;line-height:1.5}
.ideal-result{scroll-margin-top:100px}
.ideal-result .bmi-score-block strong{font-size:clamp(1.7rem,4vw,2.5rem);font-variant-numeric:tabular-nums}
.ideal-result .bmi-category-block{min-height:112px}
.ideal-result .bmi-category-block small{color:#756f82;font-size:.83rem}
.ideal-result .bmi-category-block .ideal-result-distance{display:block;margin-top:5px;color:#62556f;font-size:.78rem;line-height:1.45}
.ideal-result-note{margin:12px 0 18px;color:#766f82;font-size:.84rem;line-height:1.55}
.ideal-result .bmi-category-block[data-category="under"]{border-color:#90b8dc;background:#f5faff}
.ideal-result .bmi-category-block[data-category="healthy"]{border-color:#95cbb3;background:#f4fbf7}
.ideal-result .bmi-category-block[data-category="over"]{border-color:#e5bd7c;background:#fffaf1}
.ideal-secondary-range{border-color:#d9c9e8;background:linear-gradient(115deg,#faf6fd 0%,#fff 100%)}
.ideal-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.ideal-guide-grid .bmi-measurement-tip{margin:16px 0 0}
.ideal-bmi-crosslink{max-width:940px;margin:0 auto 26px;padding:16px 20px;border:1px solid #eadff0;border-radius:16px;background:linear-gradient(110deg,#fff 0%,#fbf7fd 65%,#fff8f3 100%);color:#686277;line-height:1.7}
.ideal-bmi-crosslink a{color:#bd5d59;font-weight:750;text-decoration:underline;text-underline-offset:3px}
.ideal-history-insight{margin-top:14px}
.ideal-measurement-card{border-left-color:#a78ac1;grid-template-columns:minmax(115px,.9fr) minmax(135px,1fr) minmax(120px,1fr) minmax(210px,1.35fr) auto}
.ideal-measurement-card .bmi-measurement-values>div:nth-child(3){grid-column:4;grid-row:1}
.ideal-measurement-card .bmi-measurement-tools{grid-column:5;grid-row:1}
.ideal-measurement-values{grid-template-columns:repeat(3,minmax(0,1fr))}
.ideal-measurement-edit-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
.ideal-weight-page .bmi-share-dialog-actions [data-ideal-share-show]{border-color:#ff7d75;background:#ff7d75;color:#fff}
.ideal-weight-page .bmi-history-summary article:nth-child(2){background:linear-gradient(135deg,#fff 0%,#fbf7fd 100%)}
.ideal-height-table{margin-top:0}
.ideal-height-table-scroll{margin-top:20px;overflow-x:auto;border:1px solid #eadff0;border-radius:16px;background:#fff}
.ideal-height-table table{width:100%;border-collapse:collapse;text-align:left;color:#29283f;font-variant-numeric:tabular-nums}
.ideal-height-table th,.ideal-height-table td{padding:12px 18px;border-bottom:1px solid #f0eaf3;line-height:1.45}
.ideal-height-table thead th{background:linear-gradient(100deg,#f8f2fb,#fff9f3);color:#62556f;font-size:.84rem;font-weight:750}
.ideal-height-table tbody th{font-weight:700}
.ideal-height-table tbody tr:last-child th,.ideal-height-table tbody tr:last-child td{border-bottom:0}
.ideal-height-table tbody tr:nth-child(even){background:#fcf9fd}
@media(max-width:900px){.ideal-measurement-card{grid-template-columns:minmax(105px,.8fr) repeat(3,minmax(115px,1fr)) auto}}
@media(max-width:700px){.ideal-measurement-card{display:flex;flex-direction:column;align-items:stretch;gap:10px;min-height:0}.ideal-measurement-card .bmi-measurement-top{display:flex;align-items:center}.ideal-measurement-card .ideal-measurement-values{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding-top:10px;border-top:1px solid #f0ebf2}.ideal-measurement-card .ideal-measurement-values>div{display:grid;grid-template-columns:1fr;gap:3px}.ideal-measurement-card .ideal-measurement-tools{display:flex;grid-column:auto;grid-row:auto}.ideal-measurement-edit-fields{grid-template-columns:1fr}}
@media(max-width:600px){.ideal-guide-grid{grid-template-columns:1fr}.ideal-bmi-crosslink{margin-inline:0;padding:14px 16px}.ideal-result .bmi-range-card>strong{align-self:flex-start}}
@media(max-width:600px){.ideal-height-table th,.ideal-height-table td{padding:11px 13px;font-size:.9rem}}
@media(max-width:700px){.ideal-weight-page .ideal-region-field,.ideal-weight-page .ideal-age-field{max-width:none}.ideal-weight-page .bmi-uk-option{padding:12px}.ideal-weight-page .ideal-secondary-range>strong{white-space:normal}}
