#tlc-configurator { --tlc-accent: #096d70; --tlc-border: #aadfdb; --tlc-muted: #405d60; --tlc-fill: linear-gradient(120deg, #d5f3ef 0%, #edfbfa 65%, #f6fdfd 100%); color: #183d40; font: inherit; }
#tlc-configurator * { box-sizing: border-box; letter-spacing: 0; }
#tlc-configurator [hidden] { display: none !important; }
#tlc-configurator .tlc-back { display: inline-block; margin: 0 0 24px; color: var(--tlc-accent); }
#tlc-configurator .tlc-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 40px; align-items: start; }
#tlc-configurator .tlc-step { padding: 0 0 28px; margin: 0 0 28px; border-bottom: 1px solid var(--tlc-border); }
#tlc-configurator h2 { font-size: 21px; line-height: 1.3; margin: 0 0 20px; font-weight: 600; overflow-wrap: anywhere; }
#tlc-configurator label { margin: 0; font-weight: normal; }
#tlc-configurator input { max-width: 100%; }
#tlc-configurator input[type=radio], #tlc-configurator input[type=checkbox] { accent-color: var(--tlc-accent); flex: 0 0 auto; width: 17px; height: 17px; margin: 0; }
#tlc-configurator .tlc-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-bottom: 20px; }
#tlc-configurator .tlc-choices label { display: flex; gap: 10px; align-items: center; min-height: 54px; padding: 14px 20px; border: 1px solid var(--tlc-border); border-radius: 40px; background: var(--tlc-fill); box-shadow: 0 4px 14px rgb(18 111 112 / 5%); cursor: pointer; overflow-wrap: anywhere; transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
#tlc-configurator .tlc-choices label:hover { border-color: #51aaa8; box-shadow: 0 5px 18px rgb(18 111 112 / 12%); }
#tlc-configurator .tlc-choices label:has(input:checked) { border-color: var(--tlc-accent); background: linear-gradient(120deg, #94dfd8 0%, #c6efeb 55%, #e7faf7 100%); box-shadow: inset 0 0 0 1px var(--tlc-accent), 0 5px 16px rgb(18 111 112 / 9%); }
#tlc-configurator .tlc-choices label:has(input:focus-visible) { outline: 3px solid #c48714; outline-offset: 3px; }
#tlc-configurator .tlc-indices { grid-template-columns: repeat(5,minmax(0,1fr)); }
#tlc-configurator .tlc-indices label { padding: 12px 8px; gap: 7px; justify-content: center; }
#tlc-configurator .tlc-art { display: block; flex: 0 0 auto; width: 140px; height: 140px; background: white url('../img/guide-illustrated.png') no-repeat; background-size: 200% 200%; border-radius: 50%; }
#tlc-configurator .tlc-treatments { grid-template-columns: minmax(0,1fr); }
#tlc-configurator .tlc-treatments .tlc-treatment-option { flex-direction: row; align-items: center; padding: 16px 20px; gap: 20px; min-height: 112px; }
#tlc-configurator .tlc-treatment-option .tlc-option-text { flex: 1; align-items: center; justify-content: space-between; }
#tlc-configurator .tlc-treatment-option .tlc-option-text input { order: 2; margin: 0; }
#tlc-configurator .tlc-treatment-option .tlc-option-text > span { font-weight: 600; font-size: 16px; }
#tlc-configurator .tlc-treatment-art { display: block; width: 104px; height: 104px; align-self: center; flex: 0 0 auto; background: white url('../img/treatments-illustrated.png') no-repeat; background-size: 300% 200%; background-position: 50% 0; border-radius: 50%; }
#tlc-configurator .tlc-treatment-ar { background-position: 0 0; }
#tlc-configurator .tlc-treatment-plus { background-position: 50% 0; }
#tlc-configurator .tlc-treatment-achroma { background-position: 100% 0; }
#tlc-configurator .tlc-treatment-nocturna { background-position: 0 100%; }
#tlc-configurator .tlc-treatment-blucut { background-position: 50% 100%; }
#tlc-configurator .tlc-treatment-maxuv { background-position: 100% 100%; }
#tlc-configurator .tlc-art-clear { background-position: left top; }
#tlc-configurator .tlc-art-photo { background-position: right top; }
#tlc-configurator .tlc-art-prescription { background-position: left bottom; }
#tlc-configurator .tlc-art-pd { background-position: right bottom; }
#tlc-configurator .tlc-choices .tlc-illustrated { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; }
#tlc-configurator .tlc-choices:has(input[name=kind]) { grid-template-columns: minmax(0,1fr); }
#tlc-configurator .tlc-choices .tlc-illustrated { flex-direction: row; align-items: center; gap: 24px; }
#tlc-configurator .tlc-illustrated .tlc-option-text { flex: 1; }
#tlc-configurator .tlc-illustrated .tlc-art { width: 104px; height: 104px; align-self: center; }
#tlc-configurator .tlc-option-text { display: flex; align-items: start; gap: 10px; }
#tlc-configurator .tlc-option-text input { margin-top: 3px; }
#tlc-configurator .tlc-option-text strong { display: block; font-size: 16px; color: #252b2b; }
#tlc-configurator .tlc-option-text small { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--tlc-muted); }
#tlc-configurator .tlc-guide { display: flex; align-items: center; gap: 24px; margin: 0 0 22px; }
#tlc-configurator .tlc-guide p { margin: 0; line-height: 1.6; color: var(--tlc-muted); font-size: 14px; }
#tlc-configurator .tlc-indices label { flex-direction: column; min-height: 145px; text-align: center; }
#tlc-configurator .tlc-index-status { padding: 5px 8px; border-radius: 20px; line-height: 1.25; background: #d7f0eb; color: #155856; }
#tlc-configurator .tlc-index-status[data-state="construction"] { background: #dbe9f5; color: #233f66; }
#tlc-configurator .tlc-index-status[data-state="review"] { background: #f7ecd9; color: #664319; }
#tlc-configurator .tlc-index-text { display: flex; align-items: center; gap: 7px; }
#tlc-configurator .tlc-lens-profile { display: block; width: 22px; height: 62px; border: 2px solid #197a79; border-radius: 50%; background: #def0ed; }
#tlc-configurator .tlc-profile-1-56 { width: 19px; }
#tlc-configurator .tlc-profile-1-60 { width: 16px; }
#tlc-configurator .tlc-profile-1-67 { width: 13px; }
#tlc-configurator .tlc-profile-1-74 { width: 10px; }
@media (max-width: 480px) { #tlc-configurator .tlc-illustrated .tlc-art { width: 108px; height: 108px; } #tlc-configurator .tlc-guide { gap: 14px; align-items: start; } #tlc-configurator .tlc-guide .tlc-art { width: 96px; height: 96px; } }
#tlc-configurator .tlc-prescription { display: grid; grid-template-columns: 70px repeat(3,minmax(0,1fr)); gap: 12px; align-items: center; font-size: 14px; }
#tlc-configurator input[type=number] { width: 100%; height: 44px; border: 1px solid #90bfbd; border-radius: 24px; padding: 8px 12px; background: #fbffff; color: #183d40; }
#tlc-configurator input:focus-visible, #tlc-configurator button:focus-visible, #tlc-configurator a:focus-visible, #tlc-configurator summary:focus-visible { outline: 3px solid #d49b25; outline-offset: 3px; }
#tlc-configurator .tlc-pd { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-bottom: 16px; }
#tlc-configurator .tlc-pd label, #tlc-configurator .tlc-file { display: grid; gap: 8px; }
#tlc-configurator .tlc-note { font-size: 14px; color: var(--tlc-muted); line-height: 1.6; margin-top: 16px; }
#tlc-configurator details { margin-top: 16px; line-height: 1.6; color: var(--tlc-muted); }
#tlc-configurator summary { cursor: pointer; color: var(--tlc-accent); }
#tlc-configurator .tlc-consent { display: flex; align-items: start; gap: 12px; line-height: 1.6; font-size: 14px; }
#tlc-configurator .tlc-consent input { margin-top: 4px; }
#tlc-configurator .tlc-summary { position: sticky; top: 100px; border: 1px solid var(--tlc-border); border-radius: 36px; padding: 24px; background: linear-gradient(155deg, #d8f4f0 0%, #f5fdfc 45%, #fff 100%); box-shadow: 0 10px 28px rgb(18 111 112 / 8%); }
#tlc-configurator .tlc-summary h2 { text-align: center; }
#tlc-configurator .tlc-summary img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; margin-bottom: 20px; border-radius: 24px; }
#tlc-configurator dl { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
#tlc-configurator dd { margin: 0; }
#tlc-configurator [data-summary] { background: #e2f5f2; padding: 16px; border-radius: 24px; font-size: 14px; line-height: 1.7; min-height: 80px; }
#tlc-configurator .tlc-total { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; font-size: 18px; }
#tlc-configurator .tlc-message { font-size: 14px; line-height: 1.5; margin: 12px 0; color: #8a3434; min-height: 24px; overflow-wrap: anywhere; }
#tlc-configurator .tlc-submit { width: 100%; min-height: 48px; border: 0; background: linear-gradient(110deg, #08656b, #087a78); color: white; border-radius: 999px; padding: 12px 20px; font-weight: 600; cursor: pointer; }
#tlc-configurator .tlc-submit:disabled { background: #536b6c; cursor: not-allowed; }
#tlc-configurator .tlc-summary > a { display: block; text-align: center; margin-top: 18px; color: var(--tlc-accent); font-size: 14px; }
#tlc-configurator .tlc-swatch { width: 22px; height: 22px; flex: 0 0 auto; border-radius: 50%; border: 1px solid #788080; }
.tlc-color-gray { background: #777; }.tlc-color-brown { background: #805e45; }.tlc-color-g15 { background: #546b57; }.tlc-color-emerald { background: #338567; }.tlc-color-sapphire { background: #42679b; }.tlc-color-ruby { background: #a94359; }.tlc-color-amethyst { background: #82658d; }.tlc-color-amber { background: #b78232; }
#tlc-configurator .tlc-sr { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.tlc-color-graphite_green { background: #4d645a; }
@media (max-width: 1000px) { #tlc-configurator .tlc-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 24px; } #tlc-configurator .tlc-indices { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 760px) { #tlc-configurator .tlc-layout { display: block; } #tlc-configurator .tlc-summary { position: static; padding: 20px; } #tlc-configurator .tlc-summary img { max-height: 220px; } #tlc-configurator .tlc-prescription { grid-template-columns: 55px repeat(3,minmax(0,1fr)); gap: 6px; font-size: 12px; } #tlc-configurator h2 { font-size: 19px; } #tlc-configurator .tlc-choices label { padding: 12px 9px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { #tlc-configurator * { scroll-behavior: auto; transition: none !important; } }
@media (max-width: 480px) {
  #tlc-configurator .tlc-choices .tlc-illustrated, #tlc-configurator .tlc-treatments .tlc-treatment-option { gap: 12px; padding: 12px; }
  #tlc-configurator .tlc-illustrated .tlc-art, #tlc-configurator .tlc-treatment-art { width: 72px; height: 72px; }
  #tlc-configurator .tlc-option-text { min-width: 0; }
  #tlc-configurator .tlc-option-text strong, #tlc-configurator .tlc-treatment-option .tlc-option-text > span { font-size: 14px; }
  #tlc-configurator .tlc-option-text small { font-size: 13px; }
}
#tlc-configurator .tlc-whatsapp {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 9px 16px 9px 10px;
  border: 1px solid #f58a1f;
  border-radius: 28px 28px 8px 28px;
  background: linear-gradient(135deg, #ffe2bd, #ffae57);
  color: #502607;
  box-shadow: 0 6px 22px rgb(125 57 9 / 20%);
  line-height: 1.25;
}
#tlc-configurator .tlc-whatsapp-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #ff941f; color: #502607; font-weight: 700; letter-spacing: 1px; }
#tlc-configurator .tlc-whatsapp small { display: block; font-size: 12px; }
#tlc-configurator .tlc-whatsapp:hover, #tlc-configurator .tlc-whatsapp:focus-visible { color: #502607; text-decoration: underline; }
@media (max-width: 640px) {
  #tlc-configurator .tlc-whatsapp { right: max(12px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); }
  #tlc-configurator:has(.tlc-whatsapp) { padding-bottom: 70px; }
}
