/* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
   Oasis Paint Specifier â€” Plugin stylesheet
   All selectors scoped under .ops-root to avoid theme conflicts
   â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ops-root, .ops-root *, .ops-root *::before, .ops-root *::after {
  box-sizing: border-box;
}

.ops-root {
  --ops-purple:       #6A419E;
  --ops-purple-dark:  #4E2E7A;
  --ops-purple-light: #EEE6FA;
  --ops-purple-mid:   #D4BFF2;
  --ops-black:        #0D0D0D;
  --ops-grey-dark:    #222222;
  --ops-grey-mid:     #555555;
  --ops-grey-light:   #9A9A9A;
  --ops-grey-border:  #E5E5E5;
  --ops-grey-tile:    #EFEFEF;
  --ops-grey-tile-2:  #E9E9E9;
  --ops-grey-badge:   #DADADA;
  --ops-white:        #FFFFFF;
  --ops-red:          #B23A3A;
  --ops-radius:       10px;
  --ops-radius-lg:    16px;

  font-family: 'clash_displayregular';
  color: var(--ops-black);
}

/* â”€â”€ Layout â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ops-calc-wrap {max-width: 820px;margin: 0px auto;padding: 0;}
.ops-calc-card {
  /* background: var(--ops-white); */
  /* border: 1px solid var(--ops-grey-border); */
  border-radius: var(--ops-radius-lg);
  /* padding: 32px 36px; */
}

/* â”€â”€ Top selection chips (above steps) â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ops-summary-chips--top {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ops-grey-border);
}
.ops-summary-chips--top:empty { display: none !important; }

/* â”€â”€ Step screen â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.ops-step-body { animation: opsFadeUp .25s ease; }
.ops-step-panel { display: block; }
@keyframes opsFadeUp { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }

.ops-step-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ops-purple);
  margin-bottom: 10px;
  color: var(--Purple, #6A419E);
  font-family: "Clash Display Variable";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-family: 'clash_displayregular';
  font-family: 'clash_displaymedium';
}
.ops-step-question {
  font-size: 26px;
  font-weight: 700;
  color: var(--ops-black);
  line-height: 1.25;
  margin: 0 0 18px;
  color: var(--Black, #000);
  font-size: 28px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: -0.96px;
  font-family: 'clash_displayregular';
}
.ops-step-divider {
  height: 1px;
  background: var(--ops-grey-border);
  margin: 0 0 22px;
}

/* Options grid */
.ops-options-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 640px) {
  .ops-options-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .ops-options-grid { grid-template-columns: 1fr; }
}

.ops-option-btn {
  background: var(--ops-grey-tile);
  border: 1.5px solid transparent;
  border-radius: var(--ops-radius);
  padding: 18px 18px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--ops-black);
  cursor: pointer;
  text-align: left;
  transition: all .16s ease;
  min-height: 60px;
  display: flex;
  align-items: center;
  border-radius: 4px;
  background: #F0EFF4;
  font-family: 'clash_displayregular';
  font-size: 16px;
  text-align: center;
  /* font-family: 'clash_displaymedium'; */
  align-items: center;
  justify-content: center;
}
.ops-option-btn:hover {
  background: var(--ops-grey-tile-2);
}
.ops-option-btn.selected {
  background: var(--ops-purple);
  color: var(--ops-white);
  border-color: var(--ops-purple);
}

.ops-option-label { display: block; line-height: 1.3; }

/* Step nav */
.ops-step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
}
.ops-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: transparent;
  color: inherit;
  transition: opacity .16s ease, background-color .16s ease, color .16s ease;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: 0.48px;
  text-transform: uppercase;
  font-family: 'clash_displayregular';
  font-family: 'clash_displaymedium';
}
.ops-btn:disabled { opacity: .35; cursor: not-allowed; }
.ops-btn-back {
  /* color: var(--ops-grey-mid); */
  /* padding: 10px 4px; */
  /* text-transform: none; */
  /* letter-spacing: 0; */
  font-size: 14px;
  font-weight: 500;
}
.ops-btn-back:hover:not(:disabled) { color: var(--ops-purple); }
.ops-btn-next {
  letter-spacing: 0;
  font-size: 14px;
}
.ops-btn-next:hover:not(:disabled) {
  /* background: var(--ops-purple-dark); */
}
.ops-btn-next:disabled {
  /* background: var(--ops-purple); */
  /* box-shadow: none; */
}

/* Loading */
.ops-loading-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ops-grey-mid);
  font-size: 14px;
  padding: 40px 0;
}
.ops-spinner {
  width: 18px; height: 18px;
  border: 2px solid var(--ops-grey-border);
  border-top-color: var(--ops-purple);
  border-radius: 50%;
  animation: opsSpin .7s linear infinite;
}
@keyframes opsSpin { to{transform:rotate(360deg)} }

/* â”€â”€ Results screen â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
#ops-results-section { display: none; }
#ops-results-section.visible { display: block; animation: opsFadeUp .25s ease; }

.ops-results-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.ops-results-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ops-purple);
  margin-bottom: 8px;
  font-family: 'clash_displaymedium';
}
.ops-results-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--ops-black);
  margin: 0;
  line-height: 1.2;
  font-family: 'clash_displaymedium';
}

.ops-btn-startover {
  background: var(--ops-purple);
  color: var(--ops-white) !important;
  padding: 10px 18px;
  border-radius: 4px;
  font-size: 14px;
}
.ops-btn-startover:hover { background: var(--ops-purple-dark); }
.ops-btn-startover svg { width: 14px; height: 14px; }

.ops-results-divider {
  height: 1px;
  background: var(--ops-grey-border);
  margin: 18px 0 20px;
}

/* Chips row */
.ops-summary-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.ops-chip {
  background: var(--ops-purple-light);
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 12px;
  color: var(--ops-black);
  line-height: 1.3;
  border-radius: 2px;
  background: rgb(106 65 158 / 30%);
}
.ops-chip-label {font-weight: 700;font-family: 'clash_displaymedium';}
.ops-chip-val   {font-weight: 400;font-family: 'clash_displaymedium';font-family: 'clash_displayregular';}

/* System card */
.ops-system-card {
  background: var(--ops-grey-tile);
  border-radius: var(--ops-radius);
  margin-bottom: 14px;
  overflow: hidden;
  border-radius: 4px;
  background: #EBEBEB;
}
.ops-system-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px 6px;
}
.ops-system-badge {
  background: var(--ops-grey-badge);
  color: var(--ops-grey-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 5px;
  letter-spacing: .02em;
  font-family: 'clash_displaymedium';
}
.ops-system-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ops-black);
  font-family: 'clash_displaymedium';
}
.ops-system-body {
  display: block;
  padding: 6px 18px 18px;
}
.ops-system-col { padding: 8px 0 0; }
.ops-system-col-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ops-purple);
  margin-bottom: 8px;
  font-family: 'clash_displaymedium';
}
.ops-coat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ops-coat-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 10px 0;
  font-size: 14px;
  color: var(--ops-black);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.ops-coat-list li:last-child { border-bottom: none; }
.ops-coat-num {
  color: var(--ops-purple);
  font-weight: 700;
  min-width: 14px;
  font-family: 'clash_displaymedium';
  font-size: 15px;
}
.ops-coat-text { flex: 1; line-height: 1.5; }

/* Last row shows the system properties without a number */
.ops-coat-list li.ops-coat-props {
  padding-top: 14px;
  padding-bottom: 4px;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: none;
  margin-top: 6px;
  color: var(--ops-black);
}
.ops-coat-list li.ops-coat-props .ops-coat-text {
  font-size: 13.5px;
  line-height: 1.6;
}
.ops-coat-list li.ops-coat-props strong {
  color: var(--ops-purple);
  font-family: 'clash_displaymedium';
  font-weight: 500;
  margin-right: 4px;
}

/* No results */
.ops-no-results {
  padding: 40px 0;
  text-align: center;
}
.ops-no-results-icon {
  color: var(--ops-purple);
  margin-bottom: 12px;
}
.ops-no-results h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
}
.ops-no-results p {
  color: var(--ops-grey-mid);
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0;
}
.ops-no-results a { color: var(--ops-purple); font-weight: 600; }

/* Email recommendation button (results footer) */
.ops-results-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 22px;
}
.ops-btn-email {
  color: var(--ops-black);
  font-weight: 700;
  padding: 10px 4px;
}
.ops-btn-email:hover { color: var(--ops-purple); }

/* ── Screen reader only helper ─────────────────────── */
.ops-sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ── Modal ──────────────────────────────────────────── */
/* Modal is portalled to document.body (outside .ops-root),
   so redeclare the design tokens here so var(--ops-*) still resolves. */
.ops-modal-overlay {
  --ops-purple:       #6A419E;
  --ops-purple-dark:  #4E2E7A;
  --ops-purple-light: #EEE6FA;
  --ops-black:        #0D0D0D;
  --ops-grey-dark:    #222222;
  --ops-grey-mid:     #555555;
  --ops-grey-light:   #9A9A9A;
  --ops-grey-border:  #E5E5E5;
  --ops-white:        #FFFFFF;
  --ops-red:          #B23A3A;

  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,13,13,.55);
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: opsFadeIn .2s ease;
  font-family: 'clash_displayregular', 'Inter', system-ui, sans-serif;
}
.ops-modal-overlay.visible { display: flex; }
@keyframes opsFadeIn { from{opacity:0} to{opacity:1} }

.ops-modal-box {
  background: #FFFFFF;
  border-radius: 18px;
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(13,13,13,.18);
  animation: opsModalPop .28s cubic-bezier(.34,1.2,.64,1);
}
@keyframes opsModalPop { from{opacity:0;transform:scale(.94) translateY(8px)} to{opacity:1;transform:scale(1) translateY(0)} }

.ops-modal-head {
  padding: 28px 32px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.ops-modal-head h3 {
  font-family: 'clash_displaymedium', 'clash_displayregular', 'Inter', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--ops-black);
  margin: 0 0 6px;
  line-height: 1.25;
}
.ops-modal-head p {
  font-size: 14px;
  color: var(--ops-grey-mid);
  margin: 0;
  line-height: 1.5;
}
.ops-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--ops-purple);
  cursor: pointer;
  line-height: 1;
  padding: 4px 6px;
  transition: opacity .18s;
}
.ops-modal-close:hover { opacity: .6; }

/* Divider between head and body */
.ops-modal-box .ops-modal-body {
  padding: 8px 32px 24px;
  position: relative;
}
.ops-modal-box .ops-modal-body::before {
  content: '';
  display: block;
  height: 1px;
  background: var(--ops-grey-border);
  margin: 0 0 22px;
}

/* Underline-only fields (theme match) */
.ops-form-group { margin-bottom: 30px; }
.ops-form-input, .ops-form-select {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--ops-grey-border);
  border-radius: 0;
  padding: 6px 0 12px;
  font-family: 'clash_displaymedium', 'clash_displayregular', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: var(--ops-black);
  background: transparent;
  transition: border-color .18s;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1.3;
}
.ops-form-input::placeholder {
  color: var(--ops-black);
  opacity: 1;
  font-weight: 500;
}
.ops-form-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A419E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 20px;
  padding-right: 32px;
  cursor: pointer;
  color: var(--ops-black);
}
/* Placeholder-styled first option in a native select */
.ops-form-select option[value=""] {
  color: var(--ops-black);
}
.ops-form-input:focus, .ops-form-select:focus {
  outline: none;
  border-bottom-color: var(--ops-purple);
}
.ops-form-error {
  color: var(--ops-red);
  font-size: 13px;
  margin-top: 8px;
  display: none;
  font-family: 'clash_displayregular', sans-serif;
}
.ops-form-error.visible { display: block; }

/* Footer arrow-link buttons */
.ops-modal-footer {
  padding: 8px 32px 28px;
  display: flex;
  gap: 28px;
  justify-content: flex-end;
  align-items: center;
}
.ops-link-btn {
  background: transparent;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'clash_displaymedium', 'clash_displayregular', sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  transition: color .18s, transform .18s;
  border-radius: 0;
  box-shadow: none;
}
.ops-link-btn:disabled { opacity: .4; cursor: not-allowed; }
.ops-link-btn svg { transition: transform .18s; }
.ops-link-btn--primary { color: var(--ops-black); }
.ops-link-btn--primary:hover:not(:disabled) { color: var(--ops-purple); }
.ops-link-btn--primary:hover:not(:disabled) svg { transform: translateX(3px); }
.ops-link-btn--muted { color: var(--ops-grey-mid); }
.ops-link-btn--muted:hover { color: var(--ops-black); }

/* Success + download screen */
.ops-modal-success {
  padding: 40px 32px 32px;
  text-align: center;
}
.ops-modal-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--ops-purple-light);
  color: var(--ops-purple);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 32px;
  font-weight: 500;
}
.ops-modal-success h3 {
  font-family: 'clash_displaymedium', 'clash_displayregular', sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: var(--ops-black);
  margin: 0 0 10px;
  line-height: 1.25;
}
.ops-modal-success p {
  font-size: 14.5px;
  color: var(--ops-grey-mid);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 360px;
}

.ops-modal-success .ops-modal-footer {
  padding: 24px 0 0;
  gap: 24px;
  justify-content: center;
  align-items: center;
}
#opsCopyDownloadWrap { margin-top: 24px; }
#opsCopyDownloadLink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--ops-black);
  font-family: 'clash_displaymedium', 'clash_displayregular', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  transition: color .18s;
}
#opsCopyDownloadLink::before {
  content: '';
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236A419E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/><polyline points='7 10 12 15 17 10'/><line x1='12' y1='15' x2='12' y2='3'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}
#opsCopyDownloadLink::after {
  content: '';
  width: 16px; height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><polyline points='9 18 15 12 9 6'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .18s;
}
#opsCopyDownloadLink:hover { color: var(--ops-purple); }
#opsCopyDownloadLink:hover::after { transform: translateX(3px); }
#opsModalCloseBtn2 {
  background: transparent;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  color: var(--ops-grey-mid);
  font-family: 'clash_displayregular', sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-transform: none;
}
#opsModalCloseBtn2:hover {
  color: var(--ops-black);
}

/* Small screens */
@media (max-width: 600px) {
  .ops-calc-card { padding: 22px 18px; }
  .ops-step-question, .ops-results-title { font-size: 22px; }
}

/* ── Sub-category notice ── */
.ops-step-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding: 13px 16px;
  background: #FBF3DD;
  border: 1px solid #E8D58A;
  border-radius: 8px;
  font-size: 13px;
  color: #7A5C1E;
  line-height: 1.55;
}
.ops-coat-list li.ops-coat-props {border: none;padding-top: 2px;}

.ops-coat-list li.ops-coat-props strong {
  color: #000;
  font-weight: 400 !important;
  font-family: 'clash_displayregular';
}
/* ── System properties note (below coat list) ─────── */
.ops-system-props {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #ddd;
  font-size: 12px;
  color: #666;
  line-height: 1.5;
}
.ops-system-props-label {
  font-weight: 600;
  color: #444;
}

/* ── Modal: ensure overlay works outside .ops-root ── */
/* (position:fixed is blocked by CSS transform ancestors) */
.ops-modal-overlay {
  font-family: 'clash_displayregular', 'Inter', system-ui, sans-serif;
}
