/* LookSaheli Outfit Color Tool — all selectors are scoped to .ls-oc-tool. */
.ls-oc-tool {
  --ls-oc-ink: #302d2b;
  --ls-oc-muted: #746d66;
  --ls-oc-paper: #fbf8f3;
  --ls-oc-surface: #fffdf9;
  --ls-oc-line: #e9e0d6;
  --ls-oc-rose: #945b68;
  --ls-oc-rose-dark: #75424f;
  --ls-oc-sage: #758b7e;
  --ls-oc-sand: #eee5da;
  --ls-oc-radius: 18px;
  color: var(--ls-oc-ink);
  background: var(--ls-oc-paper);
  border: 1px solid var(--ls-oc-line);
  border-radius: 24px;
  padding: clamp(18px, 3.5vw, 42px);
  margin: 28px auto;
  max-width: 1180px;
  box-sizing: border-box;
  font-family: inherit;
  line-height: 1.55;
  isolation: isolate;
}
.ls-oc-tool *, .ls-oc-tool *::before, .ls-oc-tool *::after { box-sizing: border-box; }
.ls-oc-tool button, .ls-oc-tool input, .ls-oc-tool select { font: inherit; }
.ls-oc-tool button { cursor: pointer; }
.ls-oc-tool a { color: var(--ls-oc-rose-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.ls-oc-tool a:hover { color: var(--ls-oc-ink); }
.ls-oc-header { max-width: 760px; margin: 0 auto 30px; text-align: center; }
.ls-oc-eyebrow { color: var(--ls-oc-rose); font-size: 11px; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; margin: 0 0 9px; }
.ls-oc-header h2 { color: var(--ls-oc-ink); font-family: inherit; font-size: clamp(28px, 4vw, 43px); line-height: 1.13; letter-spacing: -.035em; margin: 0 0 13px; font-weight: 750; }
.ls-oc-intro { color: var(--ls-oc-muted); font-size: 15px; max-width: 680px; margin: 0 auto; }
.ls-oc-header-note { display: inline-flex; align-items: center; gap: 8px; color: var(--ls-oc-muted); font-size: 12px; margin-top: 17px; }
.ls-oc-note-dot { width: 7px; height: 7px; background: var(--ls-oc-sage); border-radius: 50%; display: inline-block; }
.ls-oc-workspace { display: grid; grid-template-columns: minmax(260px, .78fr) minmax(0, 1.65fr); gap: 22px; align-items: start; }
.ls-oc-controls { background: var(--ls-oc-surface); border: 1px solid var(--ls-oc-line); border-radius: var(--ls-oc-radius); padding: clamp(17px, 2.5vw, 25px); }
.ls-oc-step-heading { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 17px; }
.ls-oc-step-number { display: inline-flex; width: 29px; height: 29px; flex: 0 0 29px; align-items: center; justify-content: center; border-radius: 50%; background: #f1e8e5; color: var(--ls-oc-rose-dark); font-size: 11px; font-weight: 800; }
.ls-oc-step-heading h3 { color: var(--ls-oc-ink); font-size: 16px; font-weight: 750; line-height: 1.25; margin: 2px 0 3px; }
.ls-oc-step-heading p { color: var(--ls-oc-muted); font-size: 12px; margin: 0; }
.ls-oc-label { display: block; color: var(--ls-oc-ink); font-size: 12px; font-weight: 750; margin: 0 0 7px; }
.ls-oc-label-spaced { margin-top: 14px; }
.ls-oc-select, .ls-oc-hex-input { width: 100%; min-height: 43px; border: 1px solid #dcd2c8 !important; border-radius: 10px !important; background: #fff !important; color: var(--ls-oc-ink) !important; padding: 9px 12px !important; font-size: 13px !important; box-shadow: none !important; }
.ls-oc-select:focus, .ls-oc-hex-input:focus, .ls-oc-color-picker:focus-visible, .ls-oc-tool button:focus-visible, .ls-oc-tool a:focus-visible { outline: 3px solid rgba(148,91,104,.25) !important; outline-offset: 2px; }
.ls-oc-divider { height: 1px; background: var(--ls-oc-line); margin: 21px 0; }
.ls-oc-swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.ls-oc-swatch { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; padding: 3px 1px 5px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: var(--ls-oc-muted); font-size: 9px; line-height: 1.15; text-align: center; }
.ls-oc-swatch:hover { background: #f8f2ec; }
.ls-oc-swatch[aria-pressed="true"] { border-color: var(--ls-oc-rose); background: #f8eff0; color: var(--ls-oc-ink); font-weight: 750; }
.ls-oc-swatch-chip { display: block; width: 27px; height: 27px; border-radius: 50%; border: 1px solid rgba(48,45,43,.14); box-shadow: inset 0 0 0 2px rgba(255,255,255,.14); }
.ls-oc-custom-color { margin-top: 8px; }
.ls-oc-color-input-row { display: grid; grid-template-columns: 48px 1fr; gap: 9px; align-items: center; }
.ls-oc-color-picker { width: 48px; height: 43px; padding: 4px; border-radius: 10px; border: 1px solid #dcd2c8; background: white; cursor: pointer; }
.ls-oc-help { color: var(--ls-oc-muted); font-size: 10px; margin: 5px 0 0; }
.ls-oc-primary-button { display: flex; justify-content: center; align-items: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 20px; padding: 11px 16px; border: 1px solid var(--ls-oc-rose-dark); border-radius: 11px; background: var(--ls-oc-rose-dark); color: #fff !important; font-size: 13px; font-weight: 750; transition: transform .15s ease, background .15s ease; }
.ls-oc-primary-button:hover { background: #633945; transform: translateY(-1px); }
.ls-oc-control-footnote { color: var(--ls-oc-muted); font-size: 10px; line-height: 1.5; text-align: center; margin: 10px 0 0; }
.ls-oc-results { min-width: 0; }
.ls-oc-results-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin: 3px 0 15px; }
.ls-oc-results-top h3, .ls-oc-how h3, .ls-oc-guides h3 { color: var(--ls-oc-ink); font-family: inherit; font-size: clamp(20px, 2.5vw, 26px); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 5px; font-weight: 750; }
.ls-oc-results-subtitle, .ls-oc-guides-heading p:not(.ls-oc-eyebrow) { color: var(--ls-oc-muted); font-size: 12px; margin: 0; }
.ls-oc-results-tag { flex: 0 0 auto; padding: 6px 9px; background: #edf1ec; color: #536c5c; font-size: 10px; font-weight: 750; border-radius: 99px; }
.ls-oc-result-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ls-oc-palette-card { min-width: 0; padding: 13px; border: 1px solid var(--ls-oc-line); border-radius: 14px; background: var(--ls-oc-surface); display: flex; flex-direction: column; gap: 10px; }
.ls-oc-palette-card.is-featured { border-color: var(--ls-oc-rose); box-shadow: 0 0 0 2px rgba(148,91,104,.10); }
.ls-oc-card-top { min-height: 75px; }
.ls-oc-card-kicker { display: inline-block; color: var(--ls-oc-rose); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 5px; }
.ls-oc-palette-card h4 { color: var(--ls-oc-ink); font-size: 14px; font-weight: 800; line-height: 1.2; margin: 0 0 5px; }
.ls-oc-palette-card p { color: var(--ls-oc-muted); font-size: 10px; line-height: 1.4; margin: 0; }
.ls-oc-mini-swatches { display: flex; gap: 5px; align-items: center; }
.ls-oc-mini-swatch { width: 25px; height: 25px; border-radius: 50%; border: 1px solid rgba(48,45,43,.15); flex: 0 0 auto; }
.ls-oc-swatch-labels { display: grid; gap: 4px; }
.ls-oc-swatch-line { display: flex; align-items: center; gap: 6px; color: var(--ls-oc-muted); font-size: 9px; min-width: 0; }
.ls-oc-swatch-line strong { color: var(--ls-oc-ink); font-size: 9px; font-weight: 750; }
.ls-oc-tiny-dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(0,0,0,.13); flex: 0 0 auto; }
.ls-oc-use-button { width: 100%; min-height: 34px; border: 1px solid #d9c9c3; border-radius: 8px; background: #fff; color: var(--ls-oc-rose-dark) !important; font-size: 10px; font-weight: 750; padding: 7px 6px; margin-top: auto; }
.ls-oc-use-button:hover, .ls-oc-palette-card.is-featured .ls-oc-use-button { background: var(--ls-oc-rose-dark); border-color: var(--ls-oc-rose-dark); color: #fff !important; }
.ls-oc-detail-panel { margin-top: 14px; padding: 17px; border: 1px solid var(--ls-oc-line); border-radius: 15px; background: #fffdf9; }
.ls-oc-detail-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ls-oc-detail-heading h4 { color: var(--ls-oc-ink); font-size: 16px; line-height: 1.25; margin: 0 0 4px; font-weight: 800; }
.ls-oc-detail-heading p { color: var(--ls-oc-muted); font-size: 11px; margin: 0; }
.ls-oc-best-tag { display: inline-block; border-radius: 99px; background: #edf1ec; color: #536c5c; padding: 5px 8px; white-space: nowrap; font-size: 9px; font-weight: 800; }
.ls-oc-detail-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ls-oc-detail-swatch { display: flex; align-items: center; gap: 7px; border: 1px solid var(--ls-oc-line); background: #fff; border-radius: 9px; padding: 6px 8px; color: var(--ls-oc-ink); font-size: 10px; }
.ls-oc-detail-swatch span:first-child { width: 19px; height: 19px; flex: 0 0 19px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.ls-oc-detail-swatch code { color: var(--ls-oc-muted); font-size: 9px; }
.ls-oc-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.ls-oc-detail-item { background: #f8f4ee; border-radius: 10px; padding: 10px 11px; }
.ls-oc-detail-item strong { display: block; color: var(--ls-oc-rose-dark); font-size: 10px; margin-bottom: 3px; }
.ls-oc-detail-item span { display: block; color: var(--ls-oc-ink); font-size: 11px; line-height: 1.45; }
.ls-oc-why { color: var(--ls-oc-muted); font-size: 11px; line-height: 1.55; margin: 12px 0 0; }
.ls-oc-practical-tip { padding: 10px 12px; border-left: 3px solid var(--ls-oc-sage); background: #f0f3ef; border-radius: 0 9px 9px 0; color: #48594e; font-size: 11px; line-height: 1.5; margin-top: 10px; }
.ls-oc-action-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 11px; }
.ls-oc-secondary-button { min-height: 38px; padding: 8px 13px; border: 1px solid #d7cbc0; background: #fff; border-radius: 9px; color: var(--ls-oc-ink) !important; font-size: 11px; font-weight: 750; }
.ls-oc-secondary-button:hover { border-color: var(--ls-oc-rose); background: #fbf4f2; }
.ls-oc-feedback { min-height: 17px; color: #536c5c; font-size: 10px; margin: 5px 0 0; }
.ls-oc-saved-panel { padding: 14px 0 0; }
.ls-oc-saved-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.ls-oc-saved-heading h3 { color: var(--ls-oc-ink); font-size: 13px; font-weight: 800; margin: 0 0 2px; }
.ls-oc-saved-heading p { color: var(--ls-oc-muted); font-size: 9px; margin: 0; }
.ls-oc-text-button { border: 0; background: transparent; color: var(--ls-oc-rose-dark); font-size: 10px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; padding: 5px; }
.ls-oc-empty-saved { color: var(--ls-oc-muted); font-size: 10px; background: #f5f0e9; border-radius: 9px; padding: 10px; margin: 0; }
.ls-oc-saved-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 9px; background: #fff; border: 1px solid var(--ls-oc-line); border-radius: 9px; margin-top: 6px; }
.ls-oc-saved-load { flex: 1; text-align: left; border: 0; background: transparent; color: var(--ls-oc-ink); padding: 2px; font-size: 10px; font-weight: 700; }
.ls-oc-saved-dots { display: inline-flex; gap: 3px; margin-right: 7px; vertical-align: middle; }
.ls-oc-saved-dots i { display: inline-block; width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); }
.ls-oc-remove-saved { border: 0; color: var(--ls-oc-muted); background: transparent; font-size: 16px; padding: 2px 5px; }
.ls-oc-how { display: grid; grid-template-columns: .85fr 1.4fr; gap: 26px; padding: 24px; margin-top: 24px; background: #f1ece5; border: 1px solid #e7ddd2; border-radius: 17px; }
.ls-oc-how-copy p:not(.ls-oc-eyebrow) { color: var(--ls-oc-muted); font-size: 12px; line-height: 1.55; margin: 8px 0 0; }
.ls-oc-how-steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.ls-oc-how-steps > div { border-left: 1px solid #d9cec1; padding-left: 12px; }
.ls-oc-how-steps span { display: block; color: var(--ls-oc-rose); font-size: 10px; font-weight: 850; margin-bottom: 7px; }
.ls-oc-how-steps strong { color: var(--ls-oc-ink); font-size: 12px; }
.ls-oc-how-steps p { color: var(--ls-oc-muted); font-size: 10px; line-height: 1.45; margin: 5px 0 0; }
.ls-oc-guides { margin-top: 32px; }
.ls-oc-guides-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 14px; }
.ls-oc-guides-heading > a { flex: 0 0 auto; font-size: 11px; font-weight: 750; }
.ls-oc-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.ls-oc-guide-card { display: flex; flex-direction: column; min-width: 0; background: var(--ls-oc-surface); border: 1px solid var(--ls-oc-line); border-radius: 14px; padding: 16px; }
.ls-oc-guide-number { color: var(--ls-oc-rose); font-size: 9px; letter-spacing: .12em; font-weight: 850; margin-bottom: 10px; }
.ls-oc-guide-card h4 { color: var(--ls-oc-ink); font-size: 14px; line-height: 1.35; font-weight: 800; margin: 0 0 8px; }
.ls-oc-guide-card p { color: var(--ls-oc-muted); font-size: 11px; line-height: 1.55; margin: 0 0 14px; }
.ls-oc-guide-card a { margin-top: auto; font-size: 10px; font-weight: 800; }
.ls-oc-disclaimer { color: var(--ls-oc-muted); border-top: 1px solid var(--ls-oc-line); padding-top: 14px; margin-top: 25px; font-size: 10px; line-height: 1.55; }
.ls-oc-disclaimer strong { color: var(--ls-oc-ink); }
.ls-oc-noscript { padding: 12px; background: #fff3e8; border-radius: 8px; color: #6e4932; font-size: 13px; }
@media (max-width: 850px) {
  .ls-oc-workspace { grid-template-columns: 1fr; }
  .ls-oc-controls { max-width: none; }
  .ls-oc-swatches { grid-template-columns: repeat(8, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .ls-oc-tool { padding: 16px; border-radius: 15px; margin: 18px auto; }
  .ls-oc-header { margin-bottom: 22px; }
  .ls-oc-header h2 { font-size: 29px; }
  .ls-oc-results-top { display: block; }
  .ls-oc-results-tag { display: inline-block; margin-top: 9px; }
  .ls-oc-result-grid { grid-template-columns: 1fr; }
  .ls-oc-palette-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; }
  .ls-oc-card-top { min-height: auto; }
  .ls-oc-mini-swatches, .ls-oc-swatch-labels { grid-column: 1 / 2; }
  .ls-oc-use-button { grid-column: 2; grid-row: 1 / span 3; width: 94px; }
  .ls-oc-detail-heading { display: block; }
  .ls-oc-best-tag { margin-top: 8px; }
  .ls-oc-detail-grid { grid-template-columns: 1fr; }
  .ls-oc-action-row { display: grid; grid-template-columns: 1fr; }
  .ls-oc-how { grid-template-columns: 1fr; padding: 17px; gap: 18px; }
  .ls-oc-how-steps { grid-template-columns: 1fr; gap: 13px; }
  .ls-oc-how-steps > div { border-left: 0; border-top: 1px solid #d9cec1; padding: 10px 0 0; }
  .ls-oc-guide-grid { grid-template-columns: 1fr; }
  .ls-oc-guides-heading { display: block; }
  .ls-oc-guides-heading > a { display: inline-block; margin-top: 9px; }
  .ls-oc-swatches { grid-template-columns: repeat(6,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .ls-oc-tool *, .ls-oc-tool *::before, .ls-oc-tool *::after { scroll-behavior: auto !important; transition: none !important; }
}
