[data-tool-root="waist-to-height-ratio-calculator"] { color: #152238; max-width: 1180px; margin: 0 auto; padding: 0 30px 56px; font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
[data-tool-root="waist-to-height-ratio-calculator"] * { box-sizing: border-box; }
[data-tool-root="waist-to-height-ratio-calculator"] :focus-visible { outline: 3px solid rgba(37, 99, 235, .28); outline-offset: 2px; }
.wht-page-header h1 { margin: 0; color: #10213a; font-size: clamp(1.9rem, 4vw, 2.7rem); line-height: 1.2; }
.wht-page-description { max-width: 820px; margin: 12px 0 20px; color: #52647c; font-size: 1.05rem; line-height: 1.7; }
.wht-page-header hr { border: 0; border-top: 1px solid #dce4ef; margin: 0 0 24px; }
.wht-card, .wht-inner-card { border: 1px solid #dce4ef; border-radius: 16px; background: #fff; box-shadow: 0 8px 28px rgba(15, 35, 62, .06); }
.wht-workspace { padding: 20px; }
.wht-tool-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 20px; }
.wht-panel { min-width: 0; padding: 18px; border-radius: 13px; background: #f8fafc; }
.wht-result-panel { background: #f4f8ff; }
.wht-panel-title { margin: 0 0 18px; color: #10213a; font-size: 1.08rem; font-weight: 750; }
.wht-field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.wht-field { display: grid; gap: 7px; min-width: 0; }
.wht-field-full { grid-column: 1 / -1; }
.wht-label, .wht-field label { color: #24364e; font-weight: 700; }
.wht-required { color: #b42318; }
.wht-optional, .wht-field small { color: #66758b; font-size: .82rem; font-weight: 400; line-height: 1.5; }
.wht-input-wrap { position: relative; }
.wht-input-wrap input { padding-right: 48px; }
.wht-input-wrap > span { position: absolute; top: 50%; right: 13px; color: #66758b; transform: translateY(-50%); }
.wht-field input { width: 100%; min-height: 44px; border: 1px solid #b9c6d8; border-radius: 10px; background: #fff; padding: 10px 12px; color: #152238; font: inherit; }
.wht-field input:focus { border-color: #2563eb; outline: 0; box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.wht-field input[aria-invalid="true"] { border-color: #c7352c; }
.wht-error { min-height: 19px; color: #b42318; font-size: .82rem; }
.wht-segmented { display: inline-flex; width: fit-content; padding: 3px; border: 1px solid #c6d1df; border-radius: 11px; background: #eef2f7; }
.wht-segmented button { min-height: 36px; border: 0; border-radius: 8px; background: transparent; padding: 7px 13px; color: #41516a; cursor: pointer; }
.wht-segmented button[aria-pressed="true"] { background: #fff; color: #174ea6; box-shadow: 0 2px 8px rgba(15, 35, 62, .12); font-weight: 700; }
.wht-presets, .wht-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.wht-button, .wht-chip { min-height: 44px; border: 1px solid #b9c6d8; border-radius: 10px; background: #fff; padding: 9px 15px; color: #263b58; font: inherit; font-weight: 700; cursor: pointer; }
.wht-button-primary { border-color: #175cd3; background: #175cd3; color: #fff; }
.wht-button:disabled { cursor: not-allowed; opacity: .5; }
.wht-error-summary { margin-top: 15px; border-left: 4px solid #b42318; background: #fff2f0; padding: 10px 12px; color: #8e1f17; }
.wht-status, .wht-privacy-inline { color: #52647c; font-size: .86rem; line-height: 1.55; }
.wht-result-strong { display: grid; gap: 5px; text-align: center; }
.wht-result-strong strong { color: #174ea6; font-size: 3rem; line-height: 1.1; }
.wht-gauge { margin: 22px 0 10px; }
.wht-gauge-track { position: relative; height: 14px; border-radius: 999px; background: linear-gradient(90deg, #86a9d9 0 14.286%, #57b894 14.286% 42.857%, #f4bd57 42.857% 71.429%, #dc6b64 71.429% 100%); }
.wht-gauge-track span { position: absolute; top: -8px; left: 42.857%; width: 3px; height: 30px; border-radius: 2px; background: #172b4d; transform: translateX(-50%); }
.wht-gauge-labels { position: relative; height: 25px; color: #66758b; font-size: .72rem; }
.wht-gauge-labels span { position: absolute; transform: translateX(-50%); }
.wht-gauge-labels span:nth-child(1) { left: 0; transform: none; }
.wht-gauge-labels span:nth-child(2) { left: 14.286%; }
.wht-gauge-labels span:nth-child(3) { left: 42.857%; }
.wht-gauge-labels span:nth-child(4) { left: 71.429%; }
.wht-gauge-labels span:nth-child(5) { right: 0; transform: none; }
.wht-band-key { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; padding-left: 20px; color: #52647c; font-size: .78rem; }
.wht-result-list { display: grid; gap: 0; margin: 18px 0 0; }
.wht-result-list div { display: grid; grid-template-columns: 1fr auto; gap: 12px; border-top: 1px solid #dce4ef; padding: 11px 0; }
.wht-result-list dt { color: #52647c; }
.wht-result-list dd { margin: 0; text-align: right; font-weight: 700; }
.wht-result-note { border-radius: 10px; background: #fff; padding: 12px; color: #42546d; line-height: 1.6; }
.wht-copy-fallback { width: 100%; min-height: 90px; margin-top: 12px; }
.wht-section { margin-top: 34px; }
.wht-section h2 { margin: 0 0 14px; color: #10213a; font-size: 1.35rem; }
.wht-interpretation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wht-inner-card { padding: 18px; }
.wht-inner-card h3 { margin: 0 0 8px; font-size: 1rem; }
.wht-inner-card p { margin: 0; color: #52647c; line-height: 1.65; }
.wht-how-to { margin: 0; padding: 20px 20px 20px 42px; }
.wht-how-to li { padding: 5px 0 8px; }
.wht-how-to span { display: block; margin-top: 4px; color: #52647c; line-height: 1.6; }
.wht-accordion details + details { border-top: 1px solid #dce4ef; }
.wht-accordion summary { padding: 15px 18px; color: #24364e; font-weight: 750; cursor: pointer; }
.wht-accordion details > :not(summary) { margin-left: 18px; margin-right: 18px; color: #52647c; line-height: 1.65; }
.wht-accordion details > :last-child { margin-bottom: 18px; }
.wht-formula { border-radius: 10px; background: #eff5ff; padding: 12px; color: #173b74 !important; font-weight: 700; }
.wht-source-list, .wht-related-list { padding-left: 22px; }
.wht-source-list a, .wht-related-list a { color: #175cd3; }
.wht-toast { position: fixed; right: 22px; bottom: 22px; z-index: 20; max-width: 360px; border-radius: 10px; background: #152238; padding: 11px 15px; color: #fff; box-shadow: 0 8px 28px rgba(15, 35, 62, .2); }
@media (max-width: 900px) { [data-tool-root="waist-to-height-ratio-calculator"] { padding-left: 8px; padding-right: 8px; } }
@media (max-width: 720px) { .wht-tool-grid, .wht-field-grid, .wht-interpretation-grid { grid-template-columns: 1fr; } .wht-field-full { grid-column: auto; } .wht-workspace { padding: 8px; } .wht-panel { padding: 14px; } }
@media (max-width: 420px) { .wht-actions .wht-button { flex: 1 1 100%; } .wht-band-key { grid-template-columns: 1fr; } .wht-result-list div { grid-template-columns: 1fr; } .wht-result-list dd { text-align: left; } }
@media (prefers-reduced-motion: reduce) { [data-tool-root="waist-to-height-ratio-calculator"] * { scroll-behavior: auto !important; transition: none !important; } }
