/* LookSaheli Outfit Tool readability upgrade — page 191 only.
   Requires the existing Outfit Color Combination Tool plugin. */
body.page-id-191 .ls-oc-tool {
  width: min(1280px, calc(100vw - 48px)) !important;
  max-width: none !important;
  margin: 36px 0 55px !important;
  padding: clamp(22px, 3.2vw, 46px) !important;
  line-height: 1.6;
}
body.page-id-191 .ls-oc-header { max-width: 850px; margin-bottom: 38px; }
body.page-id-191 .ls-oc-header h2 { font-size: clamp(29px, 3.1vw, 42px); line-height: 1.22; }
body.page-id-191 .ls-oc-intro { font-size: 16px; line-height: 1.75; }
body.page-id-191 .ls-oc-workspace {
  display: grid !important;
  grid-template-columns: minmax(340px, 390px) minmax(0, 1fr) !important;
  gap: clamp(24px, 2.6vw, 38px) !important;
  align-items: start;
}
body.page-id-191 .ls-oc-controls { min-width: 0; padding: 27px !important; }
body.page-id-191 .ls-oc-step-heading { gap: 13px; margin-bottom: 22px; }
body.page-id-191 .ls-oc-step-heading h3 { font-size: 18px; line-height: 1.35; }
body.page-id-191 .ls-oc-step-heading p { font-size: 13px; line-height: 1.5; }
body.page-id-191 .ls-oc-label { font-size: 13px; margin-bottom: 9px; }
body.page-id-191 .ls-oc-select,
body.page-id-191 .ls-oc-hex-input { font-size: 14px !important; min-height: 49px; }
body.page-id-191 .ls-oc-divider { margin: 26px 0; }
/* Four comfortably sized swatches per row, no overlapping text. */
body.page-id-191 .ls-oc-swatches {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px 8px !important;
  margin-bottom: 20px;
}
body.page-id-191 .ls-oc-swatch {
  min-width: 0 !important;
  width: 100% !important;
  min-height: 77px;
  padding: 9px 4px 7px !important;
  gap: 7px !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
  overflow-wrap: anywhere;
  word-break: normal;
  white-space: normal;
}
body.page-id-191 .ls-oc-swatch-chip { width: 32px; height: 32px; flex: 0 0 32px; }
body.page-id-191 .ls-oc-swatch > span:last-child { display: block; width: 100%; text-align: center; }
body.page-id-191 .ls-oc-results-top { gap: 16px; margin-bottom: 20px; }
body.page-id-191 .ls-oc-results-top h3 { font-size: clamp(23px, 2vw, 29px); line-height: 1.3; }
body.page-id-191 .ls-oc-results-subtitle { font-size: 13px; line-height: 1.6; }
body.page-id-191 .ls-oc-results-tag { font-size: 11px; }
/* Two readable palette cards on the first row, third card spans full width. */
body.page-id-191 .ls-oc-result-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
}
body.page-id-191 .ls-oc-palette-card { min-width: 0; padding: 21px !important; gap: 14px; }
body.page-id-191 .ls-oc-palette-card:last-child { grid-column: 1 / -1; }
body.page-id-191 .ls-oc-card-top { min-height: 0; }
body.page-id-191 .ls-oc-palette-card h4 { font-size: 18px; line-height: 1.35; }
body.page-id-191 .ls-oc-palette-card p { font-size: 12px; line-height: 1.65; }
body.page-id-191 .ls-oc-card-kicker { font-size: 10px; }
body.page-id-191 .ls-oc-mini-swatch { width: 30px; height: 30px; }
body.page-id-191 .ls-oc-swatch-line,
body.page-id-191 .ls-oc-swatch-line strong { font-size: 12px; line-height: 1.6; }
body.page-id-191 .ls-oc-use-button { min-height: 43px; padding: 10px 12px; font-size: 12px; }
body.page-id-191 .ls-oc-detail-panel { margin-top: 22px; padding: 25px !important; }
body.page-id-191 .ls-oc-detail-heading { margin-bottom: 19px; }
body.page-id-191 .ls-oc-detail-heading h4 { font-size: 21px; line-height: 1.35; }
body.page-id-191 .ls-oc-detail-heading p { font-size: 13px; }
body.page-id-191 .ls-oc-detail-swatches { gap: 10px; margin-bottom: 20px; }
body.page-id-191 .ls-oc-detail-swatch { padding: 9px 12px; font-size: 12px; }
body.page-id-191 .ls-oc-detail-grid { gap: 12px; }
body.page-id-191 .ls-oc-detail-item { padding: 16px; }
body.page-id-191 .ls-oc-detail-item strong { font-size: 12px; margin-bottom: 7px; }
body.page-id-191 .ls-oc-detail-item span { font-size: 13px; line-height: 1.65; }
body.page-id-191 .ls-oc-why,
body.page-id-191 .ls-oc-practical-tip { font-size: 13px; line-height: 1.7; }
body.page-id-191 .ls-oc-why { margin-top: 20px; }
body.page-id-191 .ls-oc-practical-tip { padding: 15px 18px; margin-top: 16px; }
body.page-id-191 .ls-oc-secondary-button { min-height: 43px; font-size: 12px; padding: 10px 16px; }
body.page-id-191 .ls-oc-how { margin-top: 34px; padding: 30px; gap: 28px; }
body.page-id-191 .ls-oc-how-copy p:not(.ls-oc-eyebrow) { font-size: 13px; }
body.page-id-191 .ls-oc-how-steps p { font-size: 12px; }
body.page-id-191 .ls-oc-guides { margin-top: 42px; }
body.page-id-191 .ls-oc-guide-grid { gap: 18px; }
body.page-id-191 .ls-oc-guide-card { padding: 22px; }
body.page-id-191 .ls-oc-guide-card h4 { font-size: 17px; }
body.page-id-191 .ls-oc-guide-card p { font-size: 13px; }
body.page-id-191 .ls-oc-guide-card a { font-size: 12px; }
body.page-id-191 .ls-oc-disclaimer { font-size: 12px; }
@media (max-width: 1100px) {
  body.page-id-191 .ls-oc-workspace { grid-template-columns: minmax(300px, 340px) minmax(0, 1fr) !important; gap: 20px !important; }
  body.page-id-191 .ls-oc-result-grid { grid-template-columns: 1fr !important; }
  body.page-id-191 .ls-oc-palette-card:last-child { grid-column: auto; }
}
@media (max-width: 850px) {
  body.page-id-191 .ls-oc-tool { width: calc(100vw - 28px) !important; padding: 20px !important; }
  body.page-id-191 .ls-oc-workspace { grid-template-columns: minmax(0, 1fr) !important; gap: 28px !important; }
  body.page-id-191 .ls-oc-controls { padding: 21px !important; }
  body.page-id-191 .ls-oc-result-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  body.page-id-191 .ls-oc-palette-card:last-child { grid-column: 1 / -1; }
  body.page-id-191 .ls-oc-guide-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body.page-id-191 .ls-oc-tool { width: calc(100vw - 20px) !important; padding: 14px !important; }
  body.page-id-191 .ls-oc-controls { padding: 17px !important; }
  body.page-id-191 .ls-oc-swatches { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  body.page-id-191 .ls-oc-result-grid { grid-template-columns: 1fr !important; }
  body.page-id-191 .ls-oc-palette-card:last-child { grid-column: auto; }
  body.page-id-191 .ls-oc-palette-card { display: flex; }
  body.page-id-191 .ls-oc-use-button { width: 100%; }
  body.page-id-191 .ls-oc-detail-grid { grid-template-columns: 1fr; }
  body.page-id-191 .ls-oc-detail-panel { padding: 18px !important; }
  body.page-id-191 .ls-oc-how { padding: 19px; }
}
