:root {
  color-scheme: light;
  --navy-950: #062545;
  --navy-900: #072d59;
  --navy-800: #0a3a6d;
  --navy-700: #145083;
  --green-600: #0ebd67;
  --green-500: #19cf76;
  --green-100: #e9fbf2;
  --red-700: #b92d31;
  --red-100: #fff1f1;
  --amber-700: #9a5d00;
  --amber-100: #fff7e7;
  --blue-100: #edf5ff;
  --text: #102d4e;
  --muted: #61738b;
  --line: #dbe5ef;
  --line-strong: #c9d7e5;
  --page: #f4f7fb;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(9, 45, 85, 0.07);
  --shadow-md: 0 18px 50px rgba(6, 37, 69, 0.11);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --wrap: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  min-width: 280px;
  color: var(--text);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--navy-800);
  text-underline-offset: 3px;
}

button {
  cursor: pointer;
}

.wrap {
  width: min(calc(100% - 48px), var(--wrap));
  margin-inline: auto;
}

.yes-shell {
  width: min(calc(100% - 48px), 1280px);
  margin-inline: auto;
}

.yes-topbar,
.yes-site-header,
.yes-mobile-menu,
.yes-footer {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.yes-topbar {
  position: relative;
  z-index: 1001;
  color: rgba(255, 255, 255, 0.85);
  background: #1b365d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.yes-topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.yes-topbar-links,
.yes-topbar-social {
  display: flex;
  align-items: center;
}

.yes-topbar-links {
  gap: 24px;
}

.yes-topbar-social {
  gap: 8px;
}

.yes-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.yes-topbar a:hover {
  color: #2ecc71;
}

.yes-topbar svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.yes-topbar .yes-fill-icon {
  fill: currentColor;
  stroke: none;
}

.yes-topbar-social a {
  width: 30px;
  height: 30px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
}

.yes-topbar-social a:hover {
  color: var(--white);
  background: #2ecc71;
}

.yes-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(27, 54, 93, 0.07);
  transition: box-shadow 180ms ease;
}

.yes-site-header.scrolled {
  box-shadow: 0 4px 30px rgba(27, 54, 93, 0.13);
}

.yes-header-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.yes-site-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  color: #1b365d;
  text-decoration: none;
}

.yes-site-logo img {
  width: auto;
  height: 84px;
  display: block;
  object-fit: contain;
}

.yes-site-logo > span {
  padding-left: 14px;
  display: flex;
  flex-direction: column;
  border-left: 2px solid rgba(27, 54, 93, 0.12);
}

.yes-site-logo strong {
  color: #1b365d;
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.yes-site-logo small {
  color: #64748b;
  font-size: 0.69rem;
  font-weight: 600;
  white-space: nowrap;
}

.yes-desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.yes-desktop-nav > a,
.yes-nav-menu > summary {
  position: relative;
  min-height: 44px;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.yes-desktop-nav > a::after,
.yes-nav-menu > summary::after {
  content: "";
  position: absolute;
  right: 13px;
  bottom: 4px;
  left: 13px;
  height: 2px;
  background: #2ecc71;
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.yes-desktop-nav > a:hover,
.yes-nav-menu > summary:hover,
.yes-nav-menu[open] > summary {
  color: #1b365d;
}

.yes-desktop-nav > a:hover::after,
.yes-nav-menu > summary:hover::after,
.yes-nav-menu[open] > summary::after {
  transform: scaleX(1);
}

.yes-nav-menu {
  position: relative;
}

.yes-nav-menu > summary {
  cursor: pointer;
  list-style: none;
}

.yes-nav-menu > summary::-webkit-details-marker {
  display: none;
}

.yes-nav-menu > summary svg {
  width: 10px;
  height: 6px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.yes-nav-menu[open] > summary svg {
  transform: rotate(180deg);
}

.yes-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  z-index: 20;
  width: 290px;
  padding: 10px;
  display: grid;
  gap: 2px;
  background: var(--white);
  border: 1px solid rgba(27, 54, 93, 0.06);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(27, 54, 93, 0.16);
  transform: translateX(-50%);
}

.yes-dropdown > span,
.yes-dropdown section > span {
  padding: 5px 8px 8px;
  color: #94a3b8;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.yes-dropdown a {
  padding: 9px 10px;
  color: #475569;
  border-radius: 9px;
  font-size: 0.79rem;
  font-weight: 600;
  text-decoration: none;
}

.yes-dropdown a:hover {
  padding-left: 14px;
  color: #1b365d;
  background: #f0fdf4;
}

.yes-products-dropdown {
  width: 440px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.yes-products-dropdown section {
  display: grid;
  align-content: start;
}

.yes-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.yes-header-whatsapp {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #25d366;
  background: rgba(37, 211, 102, 0.1);
  border-radius: 10px;
}

.yes-header-whatsapp:hover {
  color: var(--white);
  background: #25d366;
}

.yes-header-whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.yes-header-cta {
  padding: 11px 20px;
  color: var(--white);
  background: linear-gradient(135deg, #1b365d, #2a4a7a);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(27, 54, 93, 0.24);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.yes-header-cta:hover {
  color: var(--white);
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.yes-menu-toggle {
  width: 42px;
  height: 42px;
  padding: 12px 10px;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: 0;
  border-radius: 9px;
}

.yes-menu-toggle span {
  width: 100%;
  height: 2px;
  display: block;
  background: #1b365d;
  border-radius: 2px;
}

.yes-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.48);
}

.yes-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9999;
  width: min(86vw, 330px);
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background: var(--white);
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
  transform: translateX(105%);
  transition: transform 240ms ease;
}

.yes-mobile-menu.open {
  transform: translateX(0);
}

.yes-mobile-menu-head {
  min-height: 58px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1b365d;
  background: #f1f5f9;
  border-bottom: 1px solid rgba(27, 54, 93, 0.08);
}

.yes-mobile-menu-head strong {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.yes-mobile-menu-head button {
  width: 34px;
  height: 34px;
  color: #1b365d;
  background: var(--white);
  border: 1px solid rgba(27, 54, 93, 0.12);
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1;
}

.yes-mobile-menu nav > a,
.yes-mobile-menu summary {
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #1b365d;
  border-bottom: 1px solid rgba(27, 54, 93, 0.07);
  font-size: 0.87rem;
  font-weight: 700;
  list-style: none;
  text-decoration: none;
}

.yes-mobile-menu summary {
  cursor: pointer;
}

.yes-mobile-menu summary::after {
  content: "+";
  color: #64748b;
}

.yes-mobile-menu details[open] summary::after {
  content: "−";
}

.yes-mobile-menu details > div {
  padding: 7px 0;
  display: grid;
  background: #f8fafc;
}

.yes-mobile-menu details > div a,
.yes-mobile-menu details > div span {
  padding: 9px 20px 9px 32px;
  color: #475569;
  font-size: 0.79rem;
  font-weight: 600;
  text-decoration: none;
}

.yes-mobile-menu details > div span {
  padding-top: 13px;
  padding-bottom: 3px;
  color: #94a3b8;
  font-size: 0.61rem;
  font-weight: 850;
  letter-spacing: 0.11em;
}

.yes-mobile-menu-actions {
  margin-top: auto;
  padding: 18px;
  display: grid;
  gap: 9px;
  background: #f8fafc;
  border-top: 1px solid rgba(27, 54, 93, 0.08);
}

.yes-mobile-menu-actions a {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #25d366;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 800;
  text-decoration: none;
}

.yes-mobile-menu-actions a:last-child {
  background: #1b365d;
}

body.yes-menu-open {
  overflow: hidden;
}

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-900);
}

.hero::after {
  content: "";
  position: absolute;
  right: -140px;
  bottom: -230px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(25, 207, 118, 0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 76px rgba(25, 207, 118, 0.035), 0 0 0 152px rgba(25, 207, 118, 0.025);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 390px;
  padding-block: 58px 54px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
  align-items: center;
  gap: clamp(48px, 7vw, 92px);
}

.hero-content {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green-500);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.35rem, 4vw, 4rem);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.hero-copy {
  max-width: 650px;
  margin: 20px 0 0;
  color: #e8f0f8;
  font-size: 1.02rem;
  line-height: 1.55;
}

.hero-disclaimer {
  max-width: 650px;
  margin: 20px 0 0;
  padding: 12px 16px;
  color: #dbe7f3;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(193, 211, 229, 0.22);
  border-left: 3px solid var(--green-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.hero-disclaimer strong {
  color: var(--white);
}

.hero-search-panel {
  align-self: center;
}

.search-box {
  padding: 24px;
  color: var(--text);
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.search-box label,
.catalog-toolbar label {
  display: block;
  margin-bottom: 7px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.3;
}

.search-row,
.catalog-search-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

input,
textarea {
  width: 100%;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input {
  min-height: 48px;
  padding: 0 14px;
}

textarea {
  padding: 12px 14px;
  resize: vertical;
}

input:focus,
textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(14, 189, 103, 0.13);
}

input::placeholder,
textarea::placeholder {
  color: #91a0b2;
}

.search-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.45;
}

.button {
  min-height: 44px;
  padding: 10px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.8rem;
  font-weight: 820;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.catalog-filter:focus-visible,
summary:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(25, 207, 118, 0.32);
  outline-offset: 3px;
}

.button-primary {
  color: var(--white);
  background: var(--green-600);
  border-color: var(--green-600);
  box-shadow: 0 8px 20px rgba(14, 189, 103, 0.18);
}

.button-primary:hover {
  background: #0aa95b;
  border-color: #0aa95b;
}

.button-secondary {
  color: var(--navy-800);
  background: var(--white);
  border-color: #aebfd1;
}

.button-secondary:hover {
  border-color: var(--navy-700);
  background: var(--blue-100);
}

.button[disabled],
.button-disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
}

.hidden {
  display: none !important;
}

.results-section {
  padding-block: 22px 46px;
  background: var(--page);
}

.status {
  min-height: 24px;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.status.error {
  color: var(--red-700);
}

.status.warning {
  color: var(--amber-700);
}

.results {
  display: grid;
  gap: 18px;
}

.result-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green-600);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.result-card.agency {
  border-top-color: #e8a42a;
}

.result-card.caution {
  border-top-color: #8fa4b9;
}

.invalid-code-title {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.025em;
}

.invalid-code-copy {
  max-width: 800px;
  margin: 8px 0 20px;
  color: var(--muted);
  line-height: 1.55;
}

.invalid-code-subtitle {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.invalid-code-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.invalid-code-option {
  min-height: 76px;
  padding: 12px 14px;
  display: grid;
  align-content: center;
  gap: 4px;
  text-align: left;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
}

.invalid-code-option:hover,
.invalid-code-option:focus-visible {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(14, 189, 103, 0.1);
}

.invalid-code-option strong {
  color: var(--navy-900);
  font-size: 0.86rem;
}

.invalid-code-option span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.4;
}

.result-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.ncm-code {
  color: var(--navy-900);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 850;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.status-chip {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: var(--red-700);
  background: var(--red-100);
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 850;
  line-height: 1.25;
}

.agency .status-chip,
.catalog-item.agency .status-chip {
  color: var(--amber-700);
  background: var(--amber-100);
}

.caution .status-chip,
.catalog-item.caution .status-chip {
  color: #53677c;
  background: #eef3f7;
}

.product-description {
  margin: 6px 0 18px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 720;
}

.result-summary {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.6fr);
  gap: 14px;
}

.alert-box {
  padding: 15px 16px;
  background: var(--red-100);
  border: 1px solid #ffd1d1;
  border-radius: var(--radius-sm);
}

.agency .alert-box {
  background: var(--amber-100);
  border-color: #f6dca6;
}

.caution .alert-box {
  background: #f1f5f8;
  border-color: #dbe4ec;
}

.alert-box p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.48;
}

.alert-box .alert-title {
  margin-bottom: 5px;
  color: var(--navy-900);
  font-size: 0.82rem;
  font-weight: 820;
}

.alert-box .alert-note {
  margin-top: 8px;
  color: #6f3a3d;
  font-size: 0.7rem;
}

.alert-box .alert-cta {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  padding-inline: 14px;
  white-space: normal;
}

.result-overview {
  padding: 14px 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.result-facts {
  display: contents;
}

.result-fact {
  min-width: 0;
}

.result-fact span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 760;
  letter-spacing: 0.025em;
  line-height: 1.35;
  text-transform: uppercase;
}

.result-fact strong {
  display: block;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 760;
  line-height: 1.42;
}

.agency-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.result-overview .agency-list {
  grid-column: 1 / -1;
  padding-bottom: 2px;
}

.agency-tag,
.rule-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  color: var(--navy-800);
  background: var(--blue-100);
  border: 1px solid #d6e4f3;
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 820;
  line-height: 1.2;
}

.treatment-details {
  margin-top: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.treatment-details > summary {
  min-height: 46px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy-900);
  background: #fbfdff;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 820;
  list-style: none;
}

.treatment-details > summary::-webkit-details-marker {
  display: none;
}

.treatment-details > summary::before {
  content: "+";
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--navy-800);
  border-radius: 50%;
  font-size: 0.75rem;
  line-height: 1;
}

.treatment-details[open] > summary {
  border-bottom-color: var(--line);
}

.treatment-details[open] > summary::before {
  content: "−";
}

.treatment-content {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background: var(--white);
}

.treatment-agency {
  min-width: 0;
  padding: 0 20px 0 0;
}

.treatment-agency + .treatment-agency {
  padding: 0 0 0 20px;
  border-left: 1px solid var(--line);
}

.treatment-agency h3 {
  margin: 0 0 10px;
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.treatment-rule {
  position: relative;
  padding: 0 0 13px 18px;
  border-left: 2px solid #cbd9e6;
}

.treatment-rule::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 4px;
  width: 8px;
  height: 8px;
  background: #8ba2b8;
  border: 2px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px #8ba2b8;
}

.treatment-rule.priority-rule {
  border-left-color: #50c88b;
}

.treatment-rule.priority-rule::before {
  background: #0a9d56;
  box-shadow: 0 0 0 1px #0a9d56;
}

.treatment-rule:last-child {
  padding-bottom: 4px;
}

.rule-meta {
  margin-bottom: 5px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rule-chip {
  min-height: 19px;
  padding: 2px 6px;
  font-size: 0.55rem;
}

.treatment-rule p {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 0.7rem;
  line-height: 1.48;
}

.treatment-rule .rule-legal {
  color: var(--muted);
  font-size: 0.63rem;
}

.rule-source {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 720;
  line-height: 1.35;
}

.treatment-limit-note {
  grid-column: 1 / -1;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.68rem;
}

.treatment-toggle {
  display: none;
}

.interpretation-box,
.path-panel {
  margin-top: 14px;
  padding: 14px 16px;
  background: #f3f7fa;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.interpretation-box strong,
.interpretation-box span {
  display: block;
}

.interpretation-box strong {
  margin-bottom: 4px;
  color: var(--navy-900);
  font-size: 0.76rem;
}

.interpretation-box span,
.path-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.74rem;
}

.path-panel .button {
  margin-top: 12px;
}

.result-card > .button {
  min-width: 220px;
  margin: 16px auto 0;
  display: flex;
}

.encyclopedia-section {
  padding-block: 58px 52px;
  background: var(--white);
}

.encyclopedia-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.encyclopedia-heading h2,
.sources-section h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.encyclopedia-heading p {
  max-width: 650px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.catalog-stat {
  min-width: 112px;
  padding: 11px 14px;
  text-align: center;
  background: var(--blue-100);
  border-radius: var(--radius-sm);
}

.catalog-stat strong,
.catalog-stat span {
  display: block;
}

.catalog-stat strong {
  color: var(--navy-900);
  font-size: 1.2rem;
  line-height: 1.2;
}

.catalog-stat span {
  color: var(--muted);
  font-size: 0.61rem;
}

.catalog-toolbar {
  margin-top: 24px;
  padding: 14px;
  background: var(--page);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.catalog-filters {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.catalog-filter {
  min-height: 34px;
  padding: 6px 13px;
  flex: 0 0 auto;
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 780;
}

.catalog-filter.active {
  color: var(--white);
  background: var(--navy-900);
  border-color: var(--navy-900);
}

.catalog-status {
  margin: 12px 0 8px;
  color: var(--muted);
  font-size: 0.7rem;
}

.catalog-list-head,
.catalog-item {
  display: grid;
  grid-template-columns: 112px minmax(200px, 1.35fr) minmax(210px, 1fr) minmax(150px, 0.8fr) 110px;
  align-items: center;
  gap: 14px;
}

.catalog-list-head {
  min-height: 34px;
  padding: 7px 14px;
  color: var(--muted);
  background: #edf3f8;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-size: 0.61rem;
  font-weight: 820;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.catalog-results {
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  overflow: hidden;
}

.catalog-item {
  min-height: 54px;
  padding: 8px 14px;
  background: var(--white);
  border-bottom: 1px solid #e8eef4;
}

.catalog-item:last-child {
  border-bottom: 0;
}

.catalog-item:hover {
  background: #f8fbfe;
}

.catalog-item-head {
  min-width: 0;
}

.catalog-item .status-chip {
  display: none;
}

.catalog-item-code {
  color: var(--navy-900);
  font-size: 0.76rem;
  font-weight: 850;
}

.catalog-item-description,
.catalog-item-classification {
  margin: 0;
  min-width: 0;
  color: var(--text);
  font-size: 0.7rem;
  line-height: 1.38;
}

.catalog-item-classification {
  color: var(--muted);
}

.catalog-item .agency-list {
  gap: 4px;
}

.catalog-item .agency-tag {
  min-height: 18px;
  padding: 2px 6px;
  font-size: 0.52rem;
}

.catalog-item .button {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 0.6rem;
}

.catalog-more {
  margin: 14px auto 0;
  display: flex;
}

.sources-section {
  padding-block: 46px;
  background: var(--page);
  border-top: 1px solid var(--line);
}

.sources-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.sources-grid a {
  min-height: 48px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  color: var(--navy-800);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  font-weight: 780;
  line-height: 1.35;
  text-decoration: none;
}

.sources-grid a:hover {
  border-color: #aabed0;
}

.legal-notice {
  margin: 14px 0 0;
  padding: 12px 14px;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.68rem;
  line-height: 1.5;
}

.yes-footer {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: #1b365d;
}

.yes-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #2ecc71, #1b365d 40%, #1b365d 60%, #2ecc71);
}

.yes-footer-shell {
  width: min(calc(100% - 48px), 1240px);
  margin-inline: auto;
  padding-top: 56px;
}

.yes-footer-grid {
  padding-bottom: 48px;
  display: grid;
  grid-template-columns: 1.5fr 0.85fr 1.05fr 1.25fr;
  gap: 40px;
}

.yes-footer-brand {
  padding-right: 16px;
}

.yes-footer-brand > a {
  display: inline-flex;
  margin-bottom: 20px;
}

.yes-footer-brand img {
  width: auto;
  height: 56px;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.yes-footer-brand p {
  max-width: 300px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.83rem;
  line-height: 1.75;
}

.yes-footer-social {
  display: flex;
  gap: 10px;
}

.yes-footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.yes-footer-social a:hover {
  color: var(--white);
  background: #2ecc71;
}

.yes-footer-social svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.yes-footer-social a:nth-child(3) svg,
.yes-footer-social a:nth-child(4) svg {
  fill: currentColor;
  stroke: none;
}

.yes-footer-column h4 {
  margin: 0 0 20px;
  padding-bottom: 10px;
  color: rgba(255, 255, 255, 0.46);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.yes-footer-column nav {
  display: grid;
}

.yes-footer-column nav a {
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.83rem;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
}

.yes-footer-column nav a:hover,
.yes-footer-contact address a:hover,
.yes-footer-bottom a:hover {
  color: #2ecc71;
}

.yes-footer-contact address {
  display: grid;
  font-style: normal;
}

.yes-footer-contact address span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.yes-footer-contact address span:first-child {
  margin-top: 0;
}

.yes-footer-contact address a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.79rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.yes-footer-whatsapp {
  width: 100%;
  min-height: 42px;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: #25d366;
  border-radius: 10px;
  font-size: 0.79rem;
  font-weight: 800;
  text-decoration: none;
}

.yes-footer-whatsapp:hover {
  color: var(--white);
  background: #1fb855;
}

.yes-footer-bottom {
  min-height: 72px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.yes-footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
}

.yes-footer-bottom a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 1100px) {
  .yes-header-inner {
    min-height: 78px;
  }

  .yes-site-logo img {
    height: 58px;
  }

  .yes-site-logo > span,
  .yes-desktop-nav,
  .yes-header-whatsapp {
    display: none;
  }

  .yes-menu-toggle {
    display: flex;
  }

  .yes-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 30px;
  }

  .yes-footer-brand {
    grid-column: 1 / -1;
    padding-right: 0;
    text-align: center;
  }

  .yes-footer-brand p {
    max-width: 480px;
    margin-inline: auto;
  }

  .yes-footer-social {
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
  }

  .result-summary {
    grid-template-columns: 1fr;
  }

  .catalog-list-head,
  .catalog-item {
    grid-template-columns: 104px minmax(180px, 1.25fr) minmax(180px, 1fr) 128px 96px;
    gap: 10px;
  }

  .sources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .wrap {
    width: min(calc(100% - 30px), var(--wrap));
  }

  .yes-shell,
  .yes-footer-shell {
    width: min(calc(100% - 30px), 1280px);
  }

  .yes-topbar-inner {
    width: 100%;
    min-height: 38px;
    justify-content: center;
  }

  .yes-topbar-links {
    width: 100%;
    justify-content: space-around;
    gap: 0;
  }

  .yes-topbar-links a {
    min-width: 54px;
    min-height: 38px;
    justify-content: center;
  }

  .yes-topbar-links span,
  .yes-topbar-social {
    display: none;
  }

  .yes-topbar-links svg {
    width: 17px;
    height: 17px;
  }

  .yes-header-inner {
    min-height: 72px;
  }

  .yes-site-logo img {
    height: 52px;
  }

  .yes-header-cta {
    padding: 9px 14px;
    font-size: 0.7rem;
  }

  .yes-menu-toggle {
    width: 38px;
    height: 38px;
    padding: 11px 9px;
  }

  .hero::after {
    right: -320px;
    bottom: -270px;
  }

  .hero-grid {
    min-height: 0;
    padding-block: 38px 34px;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .eyebrow {
    font-size: 0.64rem;
    letter-spacing: 0.1em;
  }

  .hero h1 {
    max-width: 620px;
    font-size: clamp(2rem, 10vw, 3.15rem);
    line-height: 1.03;
  }

  .hero-copy {
    margin-top: 16px;
    font-size: 0.91rem;
    line-height: 1.5;
  }

  .hero-disclaimer {
    margin-top: 16px;
    font-size: 0.75rem;
  }

  .search-box {
    padding: 18px;
  }

  .search-row,
  .catalog-search-row {
    flex-direction: column;
  }

  .search-row .button,
  .catalog-search-row .button {
    width: 100%;
  }

  .results-section {
    padding-block: 20px 38px;
  }

  .status {
    font-size: 0.73rem;
  }

  .result-card {
    padding: 18px 14px;
  }

  .invalid-code-options {
    grid-template-columns: 1fr;
  }

  .result-heading {
    display: grid;
    gap: 7px;
  }

  .status-chip {
    width: max-content;
    grid-row: 2;
  }

  .product-description {
    margin-top: 10px;
  }

  .result-summary {
    gap: 10px;
  }

  .result-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }

  .result-overview .agency-list {
    grid-column: 1 / -1;
  }

  .treatment-details > summary {
    padding-inline: 12px;
  }

  .treatment-content {
    padding: 14px 12px;
    grid-template-columns: 1fr;
  }

  .treatment-agency,
  .treatment-agency + .treatment-agency {
    padding: 0;
    border-left: 0;
  }

  .treatment-agency + .treatment-agency {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  .treatment-content:not(.expanded) .treatment-extra,
  .treatment-content:not(.expanded) .treatment-agency.extra-only {
    display: none;
  }

  .treatment-toggle {
    width: 100%;
    min-height: 42px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-800);
    background: var(--white);
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    font-size: 0.72rem;
    font-weight: 820;
  }

  .result-card > .button {
    width: 100%;
  }

  .encyclopedia-section {
    padding-block: 44px 40px;
  }

  .encyclopedia-heading {
    align-items: flex-start;
  }

  .catalog-stat {
    min-width: 92px;
  }

  .catalog-toolbar {
    margin-top: 20px;
    padding: 12px;
  }

  .catalog-list-head {
    display: none;
  }

  .catalog-results {
    border-radius: var(--radius-sm);
  }

  .catalog-item {
    position: relative;
    min-height: 76px;
    padding: 11px 44px 11px 12px;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: start;
    gap: 4px 10px;
  }

  .catalog-item-head {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .catalog-item-description {
    grid-column: 2;
    font-weight: 720;
  }

  .catalog-item-classification {
    grid-column: 2;
  }

  .catalog-item .agency-list {
    grid-column: 1 / -1;
    margin-top: 3px;
  }

  .catalog-item .button {
    position: absolute;
    top: 0;
    right: 0;
    width: 42px;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    color: transparent;
    background: transparent;
    border: 0;
  }

  .catalog-item .button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--navy-800);
    border-right: 2px solid var(--navy-800);
    transform: translate(-65%, -50%) rotate(45deg);
  }

  .sources-grid {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
  }

  .sources-grid a {
    min-height: 46px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .sources-grid a:last-child {
    border-bottom: 0;
  }

  .yes-footer-shell {
    padding-top: 40px;
  }

  .yes-footer-grid {
    padding-bottom: 34px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }

  .yes-footer-brand {
    grid-column: 1 / -1;
  }

  .yes-footer-contact {
    grid-column: 1 / -1;
  }

  .yes-footer-contact address {
    grid-template-columns: 92px 1fr;
    align-items: start;
    gap: 6px 12px;
  }

  .yes-footer-contact address span {
    margin-top: 0;
  }

  .yes-footer-whatsapp {
    max-width: 280px;
  }

  .yes-footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .wrap {
    width: min(calc(100% - 24px), var(--wrap));
  }

  .hero-grid {
    padding-top: 32px;
  }

  .hero h1 {
    font-size: clamp(1.88rem, 9.4vw, 2.4rem);
  }

  .hero-copy {
    font-size: 0.86rem;
  }

  .hero-disclaimer {
    padding: 11px 12px;
    font-size: 0.7rem;
  }

  .search-box {
    margin-inline: 0;
    padding: 15px 12px;
  }

  .encyclopedia-heading {
    display: grid;
  }

  .catalog-stat {
    width: max-content;
  }

  .result-overview {
    grid-template-columns: 1fr;
  }

  .result-overview .agency-list {
    grid-column: 1;
  }

  .catalog-item {
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .yes-shell,
  .yes-footer-shell {
    width: min(calc(100% - 24px), 1280px);
  }

  .yes-site-logo img {
    height: 47px;
  }

  .yes-header-cta {
    padding-inline: 11px;
    font-size: 0.65rem;
  }

  .yes-header-actions {
    gap: 5px;
  }

  .yes-footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .yes-footer-brand,
  .yes-footer-contact {
    grid-column: 1;
  }

  .yes-footer-column nav {
    justify-items: center;
  }

  .yes-footer-contact address {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .yes-footer-contact address span {
    margin-top: 10px;
  }

  .yes-footer-contact address span:first-child {
    margin-top: 0;
  }

  .yes-footer-whatsapp {
    margin-inline: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
