/* LookSaheli Clothing Measurement Helper — all selectors scoped. */
.lsmh-tool {
  --lsmh-ink: #272321;
  --lsmh-muted: #635e59;
  --lsmh-plum: #794353;
  --lsmh-plum-dark: #633547;
  --lsmh-sage: #758c7d;
  --lsmh-line: #e8ddd2;
  --lsmh-cream: #faf6f1;
  --lsmh-panel: #fffdfa;
  --lsmh-soft: #f3ede7;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1220px, calc(100vw - 32px)) !important;
  max-width: none !important;
  margin: 30px 0 48px !important;
  padding: clamp(18px, 3.2vw, 42px);
  background: var(--lsmh-cream);
  color: var(--lsmh-ink);
  border: 1px solid var(--lsmh-line);
  border-radius: 22px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.65;
  isolation: isolate;
}
.lsmh-tool *, .lsmh-tool *::before, .lsmh-tool *::after { box-sizing: border-box; }
.lsmh-tool input, .lsmh-tool select, .lsmh-tool button { font: inherit; }
.lsmh-tool p, .lsmh-tool h2, .lsmh-tool h3, .lsmh-tool h4 { margin-top: 0; }
.lsmh-tool p { line-height: 1.65; }
.lsmh-tool a { text-decoration: none; color: var(--lsmh-plum); }
.lsmh-tool a:hover { text-decoration: underline; text-underline-offset: 3px; }
.lsmh-tool :focus-visible { outline: 3px solid #b98fa0; outline-offset: 3px; }
.lsmh-eyebrow { color: var(--lsmh-plum); font-weight: 800; letter-spacing: .13em; font-size: 13px; margin-bottom: 10px; }
.lsmh-hero { text-align: center; max-width: 790px; margin: 0 auto 30px; }
.lsmh-hero h2 { color: var(--lsmh-ink); font-size: clamp(29px, 4vw, 44px); font-family: inherit; letter-spacing: -.03em; line-height: 1.18; margin-bottom: 14px; font-weight: 800; }
.lsmh-hero-description { color: var(--lsmh-muted); font-size: 17px; line-height: 1.7; margin: 0 auto 18px; }
.lsmh-hero-chips { display:flex; justify-content:center; flex-wrap:wrap; gap: 9px; }
.lsmh-hero-chips span { background: #f2eae5; border: 1px solid #e9dad4; border-radius: 30px; padding: 5px 13px; font-size: 14px; color: #6a4950; font-weight: 650; }
.lsmh-step-track { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; max-width: 1000px; margin: 0 auto 26px; }
.lsmh-step-track div { display: flex; align-items:center; gap: 10px; padding: 13px 14px; border-radius: 12px; background: #efe6df; min-width: 0; }
.lsmh-step-track span { display: grid; place-items:center; flex: 0 0 31px; width: 31px; height:31px; border-radius:50%; background: white; color: var(--lsmh-plum); font-size: 14px; font-weight: 850; }
.lsmh-step-track strong { font-size: 15px; line-height: 1.35; }
.lsmh-main { max-width: 1080px; margin: 0 auto; }
.lsmh-panel { background: var(--lsmh-panel); border: 1px solid var(--lsmh-line); border-radius: 17px; padding: clamp(20px,2.6vw,30px); margin: 0 0 22px; }
.lsmh-section-heading { display: flex; align-items:flex-start; gap: 15px; margin-bottom: 22px; }
.lsmh-number { flex: 0 0 38px; height: 38px; width: 38px; display:grid; place-items:center; border-radius:50%; background: #f1e7e7; color: var(--lsmh-plum); font-size: 14px; font-weight: 800; }
.lsmh-number-green { background: #e5eee8; color: #3d7358; font-size:20px; }
.lsmh-section-heading h3 { color: var(--lsmh-ink); font-size: clamp(23px,2.6vw,29px); font-weight:800; line-height:1.3; letter-spacing:-.015em; margin-bottom: 6px; }
.lsmh-section-heading p { font-size: 16px; color: var(--lsmh-muted); margin-bottom: 0; }
.lsmh-three-controls { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.lsmh-field { min-width: 0; }
.lsmh-field label { display: block; font-size: 16px; color: var(--lsmh-ink); font-weight:750; margin-bottom: 8px; line-height: 1.4; }
.lsmh-field select, .lsmh-field input { appearance: auto; background: #fff !important; color: var(--lsmh-ink) !important; width: 100%; max-width: none; min-height: 51px; padding: 11px 13px !important; border: 1px solid #d6c8bd !important; border-radius: 10px !important; font-size: 16px !important; line-height: 1.4 !important; box-shadow: none !important; }
.lsmh-field input::placeholder { color: #958b82; opacity: 1; }
.lsmh-field small { display: block; margin: 7px 0 0; color: var(--lsmh-muted); font-size: 14px; line-height: 1.55; }
.lsmh-unit { color: var(--lsmh-muted); font-weight: 500; }
.lsmh-inline-note { margin-top: 18px; border-left: 4px solid var(--lsmh-sage); border-radius: 0 9px 9px 0; background: #eff4ef; color: #47594c; padding: 12px 16px; font-size: 15px; line-height: 1.55; }
.lsmh-measure-guide { display: flex; align-items:flex-start; gap: 16px; padding: 17px 18px; background: #f3eee8; border-radius: 13px; margin-bottom: 22px; }
.lsmh-measure-guide-icon { display: grid; place-items:center; flex: 0 0 44px; width: 44px; height: 44px; background: white; border: 1px solid var(--lsmh-line); border-radius: 50%; color: var(--lsmh-plum); font-size: 27px; font-weight:700; }
.lsmh-measure-guide strong { font-size:17px; color: var(--lsmh-ink); }
.lsmh-measure-guide p { font-size: 15px; color: var(--lsmh-muted); margin:5px 0; }
.lsmh-measure-guide details { font-size: 15px; margin-top: 10px; }
.lsmh-measure-guide summary { cursor: pointer; color: var(--lsmh-plum); font-weight: 750; }
.lsmh-measure-guide details p { margin: 8px 0; }
.lsmh-fields-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap: 19px 23px; }
.lsmh-measure-field { padding-bottom: 4px; }
.lsmh-toolbar { display:flex; justify-content:space-between; gap:14px; flex-wrap:wrap; margin:22px 0 12px; align-items:center; }
.lsmh-button { display:inline-flex; justify-content:center; align-items:center; gap: 9px; border-radius:10px; padding:12px 18px; min-height: 49px; color:var(--lsmh-ink); font-weight:750; border:1px solid #d5c7bd; background: #fff; font-size:16px; cursor:pointer; text-align:center; line-height:1.4; }
.lsmh-button:hover { background: #f7efeb; border-color:var(--lsmh-plum); }
.lsmh-button:disabled { opacity:.48; cursor:not-allowed; }
.lsmh-button-primary { background: var(--lsmh-plum); color:white; border-color:var(--lsmh-plum); }
.lsmh-button-primary:hover { background: var(--lsmh-plum-dark); color:white; }
.lsmh-button-muted { background:#fffaf6; }
.lsmh-link-button { border:0; background:transparent; color:var(--lsmh-plum); text-decoration: underline; text-underline-offset:3px; font-size:15px; font-weight:750; padding: 11px 3px; cursor:pointer; }
.lsmh-privacy-note { color:var(--lsmh-muted); font-size:14px; margin:0; }
.lsmh-chart-intro { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:18px; margin-bottom: 17px; }
.lsmh-chart-explainer { color:#554d48; background:#f2ede7; border-radius:12px; padding:16px 18px; font-size:15px; line-height:1.65; margin-bottom: 20px; }
.lsmh-chart-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:17px; }
.lsmh-size-card { padding:20px; border:1px solid var(--lsmh-line); border-radius:14px; background:#fdfaf6; }
.lsmh-size-top { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-bottom:14px; }
.lsmh-size-index { color:var(--lsmh-plum); font-size:17px; font-weight:800; }
.lsmh-remove-size { border:0; background:none; color:var(--lsmh-plum); font-size:14px; font-weight:700; text-decoration: underline; cursor:pointer; padding:8px 2px; }
.lsmh-remove-size:disabled { opacity:.3; cursor:not-allowed; }
.lsmh-size-label { max-width: 260px; margin-bottom:15px; }
.lsmh-size-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.lsmh-chart-actions { display:flex; align-items:center; justify-content:space-between; gap:15px; margin-top:18px; }
.lsmh-chart-count { font-size:14px; color:var(--lsmh-muted); }
.lsmh-compare-button { width:100%; margin-top:24px; min-height:56px; font-size:18px; }
.lsmh-form-feedback { color:#526951; font-size:15px; min-height:22px; margin:10px 0 0; }
.lsmh-results-panel { scroll-margin-top:26px; }
.lsmh-empty-state { padding:25px; border:1px dashed #d7c9bf; background:#f9f5f0; border-radius:12px; }
.lsmh-empty-state strong { font-size:19px; }
.lsmh-empty-state p { font-size:16px; margin:6px 0 0; color:var(--lsmh-muted); }
.lsmh-highlight { padding:22px; background:#f0f4ef; border:1px solid #d5e2d6; border-radius:14px; margin-bottom:20px; }
.lsmh-result-kicker { font-size:13px; font-weight:850; color:#567461; letter-spacing:.09em; margin-bottom:8px; }
.lsmh-highlight h4 { font-size: 27px; line-height:1.3; margin-bottom:8px; color:var(--lsmh-ink); }
.lsmh-highlight p { margin:0; font-size:16px; }
.lsmh-highlight .lsmh-result-warning { color:#814f39; margin-top:8px; }
.lsmh-result-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:15px; }
.lsmh-result-card { padding:19px; background:#fff; border:1px solid var(--lsmh-line); border-radius:13px; }
.lsmh-result-card-top { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; padding-bottom:14px; border-bottom:1px solid var(--lsmh-line); margin-bottom:12px; }
.lsmh-result-card-top h4 { font-size:22px; color:var(--lsmh-ink); margin:0; }
.lsmh-status { display:inline-block; border-radius:100px; font-size:13px; font-weight:700; padding:6px 10px; }
.lsmh-status-ok { color:#395c46; background:#eaf2e9; }
.lsmh-status-warn { color:#874e32; background:#fcf0e6; }
.lsmh-status-neutral { color:#655368; background:#f3ecf2; }
.lsmh-comparison { display:grid; gap:4px; margin:13px 0; }
.lsmh-comparison strong { font-size:16px; color:var(--lsmh-ink); }
.lsmh-comparison span { font-size:14px; color:var(--lsmh-muted); }
.lsmh-comparison em { font-style:normal; font-size:15px; color:#554d49; line-height:1.5; }
.lsmh-mini-status { display:inline-block; margin-left:6px; padding:2px 8px; border-radius:40px; font-size:12px; font-style:normal; font-weight:700; }
.lsmh-mini-inrange, .lsmh-mini-close { background:#eaf3ea; color:#43664b; }
.lsmh-mini-snug { background:#fbe8e1; color:#99533b; }
.lsmh-mini-roomy, .lsmh-mini-check { background:#f3e9f1; color:#77516d; }
.lsmh-caution { padding:20px; background:#f7f1eb; border-radius:13px; margin-top:18px; }
.lsmh-caution strong { color:var(--lsmh-plum); font-size:19px; }
.lsmh-caution p { font-size:15px; margin:8px 0 0; }
.lsmh-result-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:17px; }
.lsmh-learning { max-width:1080px; margin:32px auto 42px; border-radius:16px; padding:27px; background:#eee7e0; }
.lsmh-learning .lsmh-section-heading { margin-bottom:18px; }
.lsmh-learning-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.lsmh-learning-grid article { padding:20px; background:#fffdf9; border:1px solid #e5d9ce; border-radius:13px; }
.lsmh-learning-grid article > span { display:block; color:var(--lsmh-plum); font-size:14px; font-weight:800; margin-bottom:9px; }
.lsmh-learning-grid h4 { font-size:19px; line-height:1.3; color:var(--lsmh-ink); margin-bottom:9px; }
.lsmh-learning-grid p { color:var(--lsmh-muted); font-size:16px; margin:0; }
.lsmh-guides { max-width:1080px; margin: 0 auto 22px; }
.lsmh-guides-heading { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:20px; }
.lsmh-guides-heading h3 { font-size:31px; line-height:1.3; color:var(--lsmh-ink); margin-bottom:7px; }
.lsmh-guides-heading p:not(.lsmh-eyebrow) { color:var(--lsmh-muted); font-size:16px; margin:0; }
.lsmh-guides-heading > a { flex:0 0 auto; font-size:16px; font-weight:750; color:var(--lsmh-plum); }
.lsmh-guide-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.lsmh-guide-card { background:#fffdf9; border:1px solid var(--lsmh-line); border-radius:14px; overflow:hidden; display:flex; flex-direction:column; }
.lsmh-guide-image-link { display:block; width:100%; aspect-ratio: 16 / 10; overflow:hidden; background:#e6d8cc; }
.lsmh-guide-image { display:block; width:100%; height:100%; object-fit:cover; transition:transform .25s ease; }
.lsmh-guide-image-link:hover .lsmh-guide-image { transform:scale(1.03); }
.lsmh-image-fallback { display:grid; place-content:center; height:100%; text-align:center; background:linear-gradient(140deg,#eee3dc,#dbbfc4); color:#704b56; font-family:Georgia,serif; font-size:26px; line-height:1.3; }
.lsmh-guide-copy { display:flex; flex-direction:column; flex:1; padding:19px; }
.lsmh-guide-kicker { color:var(--lsmh-plum); font-size:13px; font-weight:800; letter-spacing:.08em; margin-bottom:9px; }
.lsmh-guide-copy h4 { font-size:20px; line-height:1.42; margin-bottom:10px; font-weight:800; }
.lsmh-guide-copy h4 a { color:var(--lsmh-ink); }
.lsmh-guide-copy p:not(.lsmh-guide-kicker) { color:var(--lsmh-muted); font-size:15px; margin-bottom:18px; }
.lsmh-guide-read { margin-top:auto; font-weight:750; font-size:16px; }
.lsmh-no-guides { grid-column:1/-1; padding:24px; border:1px dashed var(--lsmh-line); border-radius:13px; background:#fff; font-size:16px; }
.lsmh-footer-note { max-width:1080px; margin:24px auto 0; padding-top:18px; border-top:1px solid var(--lsmh-line); color:var(--lsmh-muted); font-size:15px; }
.lsmh-tool [hidden] { display:none !important; }
@media(max-width:900px) {
  .lsmh-three-controls { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lsmh-step-track { grid-template-columns:1fr; }
  .lsmh-guide-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .lsmh-learning-grid { grid-template-columns:1fr; }
  .lsmh-result-list { grid-template-columns:1fr; }
}
@media(max-width:640px) {
  .lsmh-tool { width:calc(100vw - 20px) !important; padding:16px; border-radius:15px; }
  .lsmh-hero { margin-bottom:22px; }
  .lsmh-hero h2 { font-size:29px; }
  .lsmh-hero-description { font-size:16px; }
  .lsmh-panel { padding:19px 16px; }
  .lsmh-section-heading { gap:11px; }
  .lsmh-section-heading h3 { font-size:23px; }
  .lsmh-three-controls, .lsmh-fields-grid, .lsmh-chart-intro, .lsmh-chart-list, .lsmh-size-fields, .lsmh-guide-grid { grid-template-columns:1fr; }
  .lsmh-measure-guide { padding:15px; gap:12px; }
  .lsmh-measure-guide-icon { width:36px; height:36px; flex-basis:36px; }
  .lsmh-guide-grid { gap:17px; }
  .lsmh-toolbar { display:flex; flex-direction:column; align-items:stretch; }
  .lsmh-toolbar .lsmh-button { width:100%; }
  .lsmh-chart-actions { align-items:stretch; flex-direction:column; }
  .lsmh-compare-button { font-size:17px; }
  .lsmh-result-actions { display:grid; grid-template-columns:1fr; }
  .lsmh-guides-heading { display:block; }
  .lsmh-guides-heading a { display:inline-block; margin-top:12px; }
  .lsmh-learning { padding:18px; }
  .lsmh-learning-grid article { padding:17px; }
}
@media(prefers-reduced-motion:reduce) { .lsmh-tool *, .lsmh-tool *::before, .lsmh-tool *::after { transition:none !important; scroll-behavior:auto !important; } }
@media print {
  .lsmh-tool { position:static; left:auto; transform:none; width:100% !important; border:0; }
  .lsmh-hero, .lsmh-step-track, .lsmh-panel:not(.lsmh-results-panel), .lsmh-learning, .lsmh-guides, .lsmh-result-actions, .lsmh-form-feedback, .lsmh-footer-note { display:none !important; }
  .lsmh-results-panel { border:0; padding:0; }
  .lsmh-result-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
