.osq:not([open]) { display: none; }
html.osq-open { overflow: hidden; }
.osq[open] {
  position: fixed;
  inset: 16px;
  box-sizing: border-box;
  display: block;
  width: min(1180px, calc(100vw - 32px));
  height: min(850px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 1px solid #dedbd5;
  border-radius: 0;
  color: #1b1b1b;
  background: #fff;
  font: 400 16px/1.4 'TT Norms', Arial, sans-serif;
  letter-spacing: 0;
}
.osq::backdrop { background: rgba(18, 18, 18, .58); }
.osq *, .osq *::before, .osq *::after { box-sizing: border-box; }
.osq button, .osq input, .osq select { font-family: inherit; letter-spacing: 0; }
.osq button { cursor: pointer; }
.osq button:disabled { cursor: not-allowed; opacity: .5; }
.osq-shell { display: grid; grid-template-rows: 64px minmax(0, 1fr) 86px; height: 100%; }
.osq-header { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 32px; border-bottom: 1px solid #e7e4df; }
.osq-brand { font-size: 19px; white-space: nowrap; }
.osq-brand span { margin-left: 14px; color: #a47b37; font-size: 10px; font-weight: 500; }
.osq-nav { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 20px; }
.osq-back, .osq-close { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: #1b1b1b; }
.osq-back { gap: 8px; font-size: 14px; }
.osq-back span { white-space: nowrap; }
.osq-close { font-size: 29px; font-weight: 300; line-height: 1; }
.osq-progress { display: flex; align-items: center; gap: 10px; margin-left: auto; color: #95918b; font-size: 12px; }
.osq-progress strong { color: #a47b37; font-weight: 500; }
.osq-progress i { width: 24px; height: 1px; background: #d7d2c9; }
.osq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; min-height: 0; }
.osq-main { overflow: auto; min-width: 0; padding: 32px 42px 46px; overscroll-behavior: contain; }
.osq-main .osq-nav { min-height: 32px; margin-bottom: 20px; }
.osq-main .osq-nav.is-scenario { min-height: 0; margin-bottom: 8px; }
.osq-aside { overflow: auto; min-width: 0; border-left: 1px solid #e7e4df; background: #f9f8f5; }
.osq-aside-inner { padding: 32px 25px; }
.osq-kicker { color: #a47b37; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.osq-aside .osq-kicker { margin-bottom: 18px; }
.osq-title { margin: 12px 0 10px; color: #171717; font: 400 34px/1.2 'Tenor Sans', Georgia, serif; letter-spacing: 0; }
.osq-title-first { margin-top: 0; }
.osq-intro { max-width: 620px; margin: 0 0 28px; color: #67645f; font-size: 16px; }
.osq-choices, .osq-lenses { display: grid; gap: 10px; }
.osq-choice, .osq-lens { border: 1px solid #dedbd5; background: #fff; }
.osq-choice { display: grid; grid-template-columns: 20px minmax(0, 1fr) 20px; align-items: center; gap: 18px; width: 100%; min-height: 96px; padding: 18px 20px; text-align: left; color: #1b1b1b; }
.osq-choice:hover, .osq-lens:hover { border-color: #99948c; }
.osq-choice.is-selected, .osq-lens.is-selected { border-color: #a47b37; background: #f8f6ef; }
.osq-choice strong, .osq-lens-copy strong { display: block; font-size: 18px; font-weight: 500; line-height: 1.25; }
.osq-choice small, .osq-lens-copy small { display: block; margin-top: 5px; color: #77736f; font-size: 14px; line-height: 1.35; }
.osq-radio { display: inline-flex; width: 18px; height: 18px; flex: none; border: 1px solid #aaa59d; border-radius: 50%; }
.is-selected > .osq-radio, .is-selected .osq-radio { display: grid; place-items: center; border-color: #a47b37; background: #a47b37; }
.is-selected .osq-radio::after { content: ''; width: 8px; height: 5px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.osq-arrow { justify-self: end; font-size: 18px; }
.osq-help { margin: 22px 0 0; color: #67645f; font-size: 14px; }
.osq-text-button { display: inline; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: #171717; font-size: 14px; }
.osq a.osq-text-button { text-decoration: none; }
.osq-lens.is-premium { border-top: 2px solid #b79758; background: #fff; }
.osq-lens.is-premium.is-selected { border-color: #a47b37; background: #f8f6ef; box-shadow: inset 0 0 0 1px #a47b37; }
.osq-lens-choice { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; gap: 18px; width: 100%; padding: 18px 20px 12px; border: 0; background: none; text-align: left; color: #1b1b1b; }
.osq-lens-copy > span { display: block; margin-top: 9px; color: #4b4945; font-size: 14px; }
.osq-lens-copy small { color: #a47b37; }
.osq-lens-price { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; text-align: right; }
.osq-lens-price b { font-size: 20px; font-weight: 500; }
.osq-lens-price del { color: #8c8882; font-size: 13px; }
.osq-lens-price small { color: #77736f; font-size: 12px; }
.osq-lens-price em { margin-top: 4px; color: #a47b37; font-size: 12px; font-style: normal; font-weight: 500; }
.osq-details { border-top: 1px solid #e7e4df; }
.osq-lens .osq-details { margin: 0 20px; }
.osq-details summary { padding: 10px 0; cursor: pointer; color: #171717; font-size: 14px; font-weight: 500; list-style: none; }
.osq-details summary::-webkit-details-marker { display: none; }
.osq-details summary::after { content: '+'; float: right; font-size: 19px; line-height: 18px; font-weight: 400; }
.osq-details[open] summary::after { content: '−'; }
.osq-details p { margin: 0 0 14px; color: #67645f; font-size: 14px; }
.osq-footnote { margin: 18px 0; color: #77736f; font-size: 13px; }
.osq-photo-frame { height: 185px; overflow: hidden; background: #fff; }
.osq-photo { display: block; width: 100%; height: 100%; object-fit: contain; transform: scale(1.4); }
.osq-model { margin: 14px 0 24px; font-size: 18px; font-weight: 500; line-height: 1.25; }
.osq-composition { border-top: 1px solid #ddd8d0; }
.osq-composition-row, .osq-composition-total, .osq-review-row, .osq-review-total { display: flex; justify-content: space-between; gap: 16px; }
.osq-composition-row { padding: 14px 0; font-size: 14px; }
.osq-composition-row strong { flex: none; font-weight: 500; }
.osq-price-stack { display: flex; flex-direction: column; align-items: flex-end; white-space: nowrap; }
.osq-price-stack del { color: #8c8882; font-size: 12px; font-weight: 400; }
.osq-saving { margin: 6px 0 12px; color: #a47b37; font-size: 13px; font-weight: 500; }
.osq-composition-row small, .osq-review-row small { display: block; margin-top: 4px; color: #77736f; font-size: 12px; line-height: 1.4; }
.osq-composition > p { color: #77736f; font-size: 13px; }
.osq-composition-total { align-items: baseline; margin-top: 12px; padding-top: 18px; border-top: 1px solid #d7d2c9; font-size: 16px; }
.osq-composition-total strong { font-size: 22px; font-weight: 500; white-space: nowrap; }
.osq-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 14px 32px; border-top: 1px solid #e7e4df; background: #fff; }
.osq-footer-total { display: flex; flex-direction: column; }
.osq-footer-total span { color: #77736f; font-size: 13px; }
.osq-footer-total strong { font-size: 23px; font-weight: 500; }
.osq-primary { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(320px, 48%); min-height: 56px; padding: 0 20px; border: 1px solid #171717; border-radius: 0; background: #171717; color: #fff; font-size: 16px; font-weight: 500; text-align: left; }
.osq-primary:hover:not(:disabled) { background: #333; }
.osq-primary span { font-size: 21px; font-weight: 400; }
.osq-upload { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 18px; padding: 26px; border: 1px solid #d7d2c9; background: #fbfaf8; }
.osq-upload.has-file { border-color: #a47b37; }
.osq-upload.is-invalid { border-color: #b5483e; }
.osq-upload-icon { color: #a47b37; font-size: 28px; line-height: 1; }
.osq-upload h3 { margin: 0 0 5px; font-size: 18px; font-weight: 500; }
.osq-upload p { margin: 0 0 16px; overflow-wrap: anywhere; color: #67645f; font-size: 14px; }
.osq-upload small { display: block; margin-top: 8px; color: #77736f; font-size: 12px; }
.osq-secondary { display: inline-flex; justify-content: space-between; gap: 20px; min-height: 46px; padding: 11px 16px; border: 1px solid #1b1b1b; border-radius: 0; background: #fff; color: #171717; font-size: 14px; font-weight: 500; }
.osq-manual { margin-top: 24px; }
.osq-manual-body { padding: 2px 0 18px; }
.osq-eye-label { margin: 20px 0 10px; font-size: 15px; font-weight: 500; }
.osq-eye-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.osq-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; font-size: 13px; }
.osq-field input, .osq-field select { width: 100%; min-height: 44px; padding: 8px 10px; border: 1px solid #d7d2c9; border-radius: 0; background: #fff; color: #171717; font-size: 14px; }
.osq-field input:focus, .osq-field select:focus { border-color: #a47b37; outline: 1px solid #a47b37; }
.osq-field input[aria-invalid="true"], .osq-field select[aria-invalid="true"] { border-color: #b5483e; outline: 1px solid #b5483e; }
.osq-field .osq-field-error { margin-top: 1px; color: #a5362d; font-size: 12px; line-height: 1.3; }
.osq-field .osq-field-error[hidden] { display: none; }
.osq-field select:disabled { color: #aaa59d; background: #f5f4f1; }
.osq-manual-body > .osq-pd-hint { max-width: 480px; color: #77736f; font-size: 11px; line-height: 1.4; }
.osq-pd { max-width: 280px; margin-top: 18px; }
.osq-manual-body > p { margin-top: 8px; }
.osq-manual-body > p:last-child { color: #77736f; font-size: 11px; line-height: 1.4; }
.osq-review-product { display: flex; align-items: center; gap: 18px; margin: 20px 0; font-size: 17px; }
.osq-review-photo { flex: none; width: 118px; height: 90px; overflow: hidden; background: #fff; }
.osq-review-product img { width: 100%; height: 100%; object-fit: contain; transform: scale(1.35); }
.osq-review-row { padding: 16px 0; border-top: 1px solid #e7e4df; font-size: 15px; }
.osq-review-row strong { flex: none; font-weight: 500; }
.osq-review-lens-name { display: block; margin-top: 4px; font-size: 15px; font-weight: 500; line-height: 1.3; }
.osq-review-recipe { display: block; }
.osq-rx-summary { margin: 12px 0 0; font-size: 13px; }
.osq-rx-summary > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid #e7e4df; }
.osq-rx-summary dt { color: #67645f; }
.osq-rx-summary dd { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; }
.osq-review-total { align-items: baseline; padding: 20px 0; border-top: 1px solid #1b1b1b; font-size: 18px; }
.osq-review-total strong { font-size: 25px; font-weight: 500; }
.osq-error { margin: 16px 0; padding: 12px 14px; border-left: 2px solid #b5483e; background: #fbf4f2; color: #8e3027; font-size: 14px; }
@media (max-width: 1024px) {
  .osq[open] { inset: 0; width: 100vw; height: 100dvh; border: 0; }
  .osq-shell { grid-template-rows: 58px minmax(0, 1fr) auto; }
  .osq-header { padding: 0 15px; }
  .osq-brand { font-size: 17px; }
  .osq-brand span { margin-left: 8px; font-size: 9px; }
  .osq-progress { gap: 5px; font-size: 11px; }
  .osq-progress i { width: 9px; }
  .osq-layout { display: flex; flex-direction: column; overflow: hidden; }
  .osq-aside { order: -1; overflow: visible; border: 0; border-bottom: 1px solid #e7e4df; }
  .osq.is-review .osq-aside { display: none; }
  .osq-aside-inner { display: flex; align-items: center; gap: 12px; padding: 8px 18px; }
  .osq-aside .osq-kicker, .osq-composition { display: none; }
  .osq-photo-frame { flex: none; width: 72px; height: 55px; }
  .osq-model { margin: 0; font-size: 13px; }
  .osq-main { flex: 1; padding: 24px 18px 32px; }
  .osq-main .osq-nav { margin-bottom: 14px; }
  .osq-main .osq-nav.is-scenario { margin-bottom: 8px; }
  .osq-title { font-size: 27px; }
  .osq-intro { margin-bottom: 20px; font-size: 14px; }
  .osq-field input, .osq-field select { font-size: 16px; }
  .osq-choice { gap: 12px; min-height: 74px; padding: 12px 14px; }
  .osq-choice strong, .osq-lens-copy strong { font-size: 16px; }
  .osq-choice small, .osq-lens-copy small { font-size: 13px; }
  .osq-lens-choice { grid-template-columns: 18px minmax(0, 1fr); gap: 8px 12px; padding: 13px 14px 8px; }
  .osq-lens-copy > span { margin-top: 6px; }
  .osq-lens-price { grid-column: 1 / -1; display: flex; flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-left: 30px; text-align: left; }
  .osq-lens-price small { display: none; }
  .osq-lens-price em { margin: 0 0 0 auto; }
  .osq-lens .osq-details { margin: 0 14px; }
  .osq-lens .osq-details summary { padding: 8px 0; }
  .osq-help { margin-top: 16px; }
  .osq-footer { gap: 12px; padding: 10px 18px max(18px, env(safe-area-inset-bottom)); }
  .osq-footer-total strong { font-size: 19px; }
  .osq-primary { width: auto; min-width: 48%; min-height: 52px; padding: 0 12px; font-size: 14px; }
  .osq-rx-summary > div { grid-template-columns: 110px minmax(0, 1fr); gap: 8px; }
}
@media (max-width: 360px) {
  .osq-header { gap: 8px; }
  .osq-brand { font-size: 15px; }
  .osq-brand span { margin-left: 5px; font-size: 8px; }
  .osq-progress { font-size: 10px; }
  .osq-progress i { width: 5px; }
  .osq-back span { display: none; }
  .osq-eye-fields { gap: 6px; }
  .osq-field input, .osq-field select { padding: 7px; font-size: 16px; }
  .osq-rx-summary > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .osq-rx-summary dd { gap: 4px 10px; }
}
