:root {
  --site-header-h: 3.6rem;
  --med-sticky-h: 0px;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --color-brand: #0d9488;
  --color-brand-light: #f0fdfa;
  --color-brand-dark: #0f766e;
  --color-ui-bg: #fafafa;
  --color-ui-text: #171717;
  --color-ui-muted: #525252;
  --color-ui-surface: #ffffff;
  --radius: 0.75rem;
  --background: #fafafa;
  --foreground: #171717;
  --card: #ffffff;
  --muted: #f4f4f5;
  --muted-foreground: #737373;
  --primary: #0d9488;
  --primary-foreground: #ffffff;
  --border: rgba(0, 0, 0, 0.07);
  --input: rgba(0, 0, 0, 0.1);
  --success: #16a34a;
  --warning: #d97706;
  --destructive: #dc2626;
  --accent: #ccfbf1;
}

* { box-sizing: border-box; border-color: var(--border); }
html, body {
  margin: 0;
  background: var(--color-ui-bg);
  color: var(--color-ui-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
  scroll-padding-top: calc(var(--site-header-h) + var(--med-sticky-h) + 0.75rem);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select { font: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sr-only:focus, .skip-link:focus {
  position: absolute; width: auto; height: auto; clip: auto; margin: 0;
  left: 1rem; top: 0.75rem; z-index: 50; padding: 0.5rem 1rem;
  background: var(--color-brand); color: #fff; border-radius: 0.375rem;
}

.site { min-height: 100vh; display: flex; flex-direction: column; background: var(--color-ui-bg); }
.site-main { flex: 1; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  min-height: var(--site-header-h);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
}
.header-inner, .footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0.75rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--color-brand);
  white-space: nowrap;
}
.logo:hover { color: var(--color-brand-dark); }
.home-wordmark {
  display: block;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1.1;
  color: var(--color-brand);
}
.home-wordmark:hover { color: var(--color-brand-dark); }
@media (min-width: 768px) {
  .logo { font-size: 1.25rem; }
  .home-wordmark { font-size: 2.35rem; margin-bottom: 3rem; }
}
.nav-desktop { display: none; align-items: center; gap: 1.25rem; font-size: 0.875rem; font-weight: 500; color: var(--color-ui-muted); }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--color-brand); }
.nav-toggle {
  display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center;
  border: 0; background: transparent; border-radius: 0.375rem; cursor: pointer;
}
.nav-toggle:hover { background: rgba(0,0,0,0.05); }
.nav-mobile { display: none; border-top: 1px solid rgba(0,0,0,0.05); background: #fff; }
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block; padding: 0.75rem 1.5rem; font-weight: 500;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.nav-mobile a:hover, .nav-mobile a[aria-current="page"] { color: var(--color-brand); }
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile, .nav-mobile.open { display: none !important; }
}

.site-footer { border-top: 1px solid rgba(0,0,0,0.05); padding: 3rem 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; font-size: 0.875rem; font-weight: 500; color: var(--color-ui-muted); }
.footer-links a:hover { color: var(--color-brand); }
.footer-legal { max-width: 48rem; margin: 1.5rem auto 0; padding: 0 1.5rem; text-align: center; font-size: 0.75rem; color: rgba(82,82,82,0.8); }
.footer-inner { flex-direction: column; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; } }

.container-page { max-width: 72rem; margin: 0 auto; padding: 2.5rem 1.5rem; }
.container-narrow { max-width: 48rem; margin: 0 auto; padding: 2.5rem 1.5rem; }
.container-md { max-width: 42rem; margin: 0 auto; padding: 5rem 1.5rem 3rem; }

.pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  border-radius: 9999px; padding: 0.25rem 0.7rem;
  font-size: 0.75rem; font-weight: 500;
  background: #fff; color: var(--color-ui-muted);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.05);
}
.pill-rx { background: rgba(13,148,136,0.1); color: var(--color-brand-dark); }
.pill-otc { background: rgba(22,163,74,0.1); color: #15803d; }
.pill-mixed { background: #fef3c7; color: #92400e; }
.pill-unknown { background: #f4f4f5; color: #525252; }

.card {
  background: #fff; border-radius: 1rem;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.05);
}
.card-hover:hover { box-shadow: inset 0 0 0 1px var(--color-brand); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 0.375rem; padding: 0.55rem 1.1rem; font-size: 0.875rem; font-weight: 500;
  border: 0; cursor: pointer; background: var(--color-brand); color: #fff;
}
.btn:hover { opacity: 0.92; }
.btn-ghost { background: #fff; color: var(--foreground); box-shadow: inset 0 0 0 1px var(--input); }

.search-hero input, .search-bar input {
  width: 100%; border: 0; background: #fff; outline: none;
}
.search-hero { position: relative; }
.search-hero input {
  height: 4rem; border-radius: 1rem; padding: 0 1.5rem 0 3.5rem; font-size: 1.125rem;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.05);
}
.search-hero input:focus { box-shadow: inset 0 0 0 2px var(--color-brand); }
.search-icon { position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); color: #a3a3a3; pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.chip {
  border: 0; background: #fff; border-radius: 0.5rem; padding: 0.5rem 1rem; font-size: 0.875rem; cursor: pointer;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.05);
}
.chip:hover { box-shadow: inset 0 0 0 1px var(--color-brand); }
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.badge { display: flex; align-items: center; gap: 0.5rem; background: #fff; border-radius: 9999px; padding: 0.35rem 0.75rem; font-size: 0.875rem; color: var(--color-ui-muted); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.05); }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; }
.dot-emerald { background: #10b981; }
.dot-brand { background: var(--color-brand); }
.dot-blue { background: #3b82f6; }
.dot-amber { background: #f59e0b; }
.note-amber {
  border-radius: 1rem; border: 1px solid rgba(252, 211, 77, 0.6);
  background: #fffbeb; padding: 1rem 1.25rem; font-size: 0.875rem; color: #78350f; line-height: 1.55;
}
.grid-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
@media (min-width: 640px) { .grid-sub { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-sub { grid-template-columns: repeat(4, 1fr); } }
.topic-grid { display: grid; gap: 0.75rem; }
@media (min-width: 640px) { .topic-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .topic-grid { grid-template-columns: repeat(4, 1fr); } }
.muted { color: var(--color-ui-muted); }
.center { text-align: center; }

.search-layout { display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .search-layout { grid-template-columns: 260px 1fr; } }
.filters { padding: 1.25rem; height: fit-content; }
.filter-group { margin-top: 1.1rem; }
.filter-group h3 { font-size: 0.8rem; margin: 0 0 0.4rem; }
.filter-group label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.875rem; padding: 0.2rem 0; cursor: pointer; }
.filter-group select, .filter-group input[type=text] {
  width: 100%; border-radius: 0.375rem; border: 1px solid var(--input); padding: 0.4rem 0.6rem; background: #fff;
}
.result { display: block; padding: 1rem; margin-bottom: 0.5rem; border-radius: 0.75rem; }
.result-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; }
.pager { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.25rem; align-items: center; }

.med-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .med-grid { grid-template-columns: 1fr 320px; align-items: start; } }
.med-page { min-width: 0; overflow-x: clip; }
.med-ident { min-width: 0; }
.ident-pills, .ident-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.ident-guide-link {
  display: inline-flex;
  align-items: center;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--color-brand-dark);
  border-bottom: 2px solid rgba(13, 148, 136, 0.5);
  padding: 0.15rem 0.1rem;
  line-height: 1.3;
}
.ident-guide-link:hover {
  color: #0f766e;
  border-bottom-color: #0d9488;
}
.med-subguide {
  background: #eef6fb;
  color: #1e3a5f;
  border: 1px solid #c5dbe8;
  border-left: 4px solid #0d9488;
  box-shadow: none;
}
.med-subguide-inner {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.med-subguide-icon {
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  margin-top: 0.2rem;
  color: #0f766e;
}
.med-subguide-copy { min-width: 0; }
.med-subguide-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #1e3a5f;
}
.med-subguide-cta { margin: 0.45rem 0 0; }
.med-subguide-link {
  display: inline-block;
  font-weight: 700;
  font-size: 1rem;
  color: #0f766e;
}
.med-subguide-link:hover { text-decoration: underline; }
.med-layout {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.5rem;
  min-width: 0;
}
.med-main, .med-side { min-width: 0; }
.med-main { order: 2; display: flex; flex-direction: column; gap: 1rem; }
.med-side { order: 1; }
@media (min-width: 900px) {
  .med-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    align-items: start;
  }
  .med-main { order: 1; }
  .med-side {
    order: 2;
    position: sticky;
    top: calc(var(--site-header-h) + var(--med-sticky-h) + 0.5rem);
    max-height: calc(100vh - var(--site-header-h) - var(--med-sticky-h) - 1rem);
    overflow: auto;
  }
}
.link-brand { color: var(--color-brand); }
.link-brand:hover { text-decoration: underline; }
.fact-list { margin: 0; padding: 0; }
.fact-list > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.875rem;
}
.fact-list dt { color: var(--color-ui-muted); flex: 0 1 auto; }
.fact-list dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.fact-list .fact-ing { align-items: flex-start; }
.fact-list .ing-facts {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-align: right;
}
.fact-list .ing-dose {
  display: block;
  font-size: 0.75rem;
  margin-top: 0.15rem;
}
.fact-list .fact-dose { align-items: flex-start; }
.fact-list .fact-dose dd {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem 0.6rem;
}
.comp-note {
  margin: 0.65rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #134e4a;
}
.med-desc {
  background: #e7f4f3;
  color: #134e4a;
  border-color: rgba(13, 148, 136, 0.18);
}
.med-desc h2 {
  margin: 0;
  font-size: 1.25rem;
  color: #115e59;
}
.med-desc h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: #0f766e;
}
.med-desc h4 {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: #115e59;
}
.med-desc .desc-block {
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  border-top: 1px solid rgba(15, 118, 110, 0.14);
  max-width: 72ch;
}
.med-desc .desc-block:first-of-type { margin-top: 0.85rem; }
.med-desc .desc-copy {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #134e4a;
  max-width: 72ch;
}
.med-desc .note-ai {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #3f3f46;
  max-width: 72ch;
}
.med-desc .note-ai a { color: var(--color-brand-dark); }
.ing-list, .peer-list, .faq-list { list-style: none; margin: 0; padding: 0; }
.ing-list li + li, .peer-list li + li { margin-top: 0.4rem; }
.ing-list li { overflow-wrap: anywhere; }
.med-page h2, .med-page h3, .med-page section[id] {
  scroll-margin-top: calc(var(--site-header-h) + var(--med-sticky-h) + 0.75rem);
}
.med-sticky {
  display: none;
}
html.has-js .med-sticky.is-visible {
  display: block;
  position: fixed;
  top: var(--site-header-h);
  left: 0;
  right: 0;
  z-index: 30;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.med-sticky-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.4rem 1.5rem;
  min-width: 0;
  overflow: hidden;
}
.med-sticky-name {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.med-sticky-sub, .med-sticky-pack {
  margin: 0.1rem 0 0;
  font-size: 0.75rem;
  color: var(--color-ui-muted);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.med-sticky-pack [data-sticky-form]:not(:empty) + [data-sticky-size]:not([hidden])::before {
  content: " · ";
}
html.has-med-sticky .med-layout {
  padding-top: var(--med-sticky-h);
}
.peer-wrap { margin-top: 0.5rem; min-width: 0; }
.peer-scroll { overflow-x: clip; max-width: 100%; }
.peer-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  table-layout: fixed;
}
.peer-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-ui-muted);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.4rem 0.6rem 0.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.peer-table td {
  padding: 0.55rem 0.6rem 0.55rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  vertical-align: top;
  overflow-wrap: anywhere;
}
.peer-table tr:last-child td { border-bottom: 0; }
.peer-table .peer-price, .peer-td-price { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; width: 6.5rem; }
.peer-table th.peer-price { text-align: right; }
.peer-td-name { width: 52%; }
.peer-td-name a { font-weight: 600; color: var(--color-ui-text); }
.peer-td-name a:hover { color: var(--color-brand); text-decoration: underline; }
.peer-meta { margin-top: 0.15rem; font-size: 0.75rem; color: var(--color-ui-muted); font-weight: 400; }
.peer-td-mfr { color: var(--color-ui-muted); }
.peer-more {
  display: none;
  margin-top: 0.35rem;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: var(--color-brand);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}
.peer-more:hover { text-decoration: underline; }
.peer-more:focus-visible { outline: 2px solid var(--color-brand); outline-offset: 2px; }
html.has-js .peer-more { display: inline-flex; }
html.has-js .peer-wrap.is-collapsed .peer-extra { display: none; }
@media (max-width: 699px) {
  .peer-table thead { display: none; }
  .peer-table, .peer-table tbody { display: block; width: 100%; }
  .peer-table tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name price" "mfr mfr";
    column-gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .peer-table td {
    padding: 0;
    border: 0;
    width: auto;
  }
  .peer-td-name { grid-area: name; }
  .peer-td-price, .peer-table .peer-price { grid-area: price; text-align: right; width: auto; }
  .peer-td-mfr { grid-area: mfr; font-size: 0.75rem; margin-top: 0.15rem; }
  .med-sticky-inner { padding: 0.35rem 1rem; }
}
@media print {
  .med-sticky { display: none !important; }
}
.pack-facts { overflow-wrap: anywhere; }
.faq-item {
  border-radius: 0.75rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.05);
}
.faq-item + .faq-item { margin-top: 0.5rem; }
.faq-item > summary {
  cursor: pointer;
  padding: 0.9rem 1.1rem;
  font-weight: 500;
  list-style: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item .faq-body { padding: 0 1.1rem 1rem; }
.apt-search { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.apt-search input {
  flex: 1 1 12rem;
  min-width: 0;
  border: 1px solid var(--input);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  background: #fff;
}
.panel { padding: 1.5rem; }
.pack-list { display: flex; flex-direction: column; gap: 0.4rem; }
.pack-list label {
  display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.55rem 0.7rem;
  border-radius: 0.5rem; cursor: pointer; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.05);
  overflow-wrap: anywhere;
}
.pack-list label.is-selected { box-shadow: inset 0 0 0 2px var(--color-brand); }
.prose p, .prose li { line-height: 1.6; }
.prose h2 { margin-top: 2rem; }
.crumbs { font-size: 0.75rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--foreground); }
.side-stack { display: flex; flex-direction: column; gap: 1rem; }
.leaflet-wrap { height: 420px; width: 100%; border-radius: 1rem; overflow: hidden; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.06); background: #eef2f2; }
.map-cta { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.5rem; text-align: center; }
.pharm-list { display: grid; gap: 0.5rem; margin-top: 1rem; }
.pharm-card { padding: 0.9rem 1rem; }
.city-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.5rem; }

.disclaimer {
  position: fixed; inset: 0; z-index: 50; display: none;
  align-items: flex-end; justify-content: center;
  background: rgba(0,0,0,0.4); padding: 1rem;
}
.disclaimer.open { display: flex; }
@media (min-width: 640px) { .disclaimer { align-items: center; } }
.disclaimer-box { width: 100%; max-width: 32rem; background: #fff; border-radius: 1rem; padding: 1.5rem; box-shadow: 0 25px 50px rgba(0,0,0,0.2); }

.seloste-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; padding: 1rem 1.5rem; background: #fff; border-bottom: 1px solid var(--border); }
.seloste-doc { max-width: 48rem; margin: 0 auto; padding: 2.5rem 1.5rem; background: #fff; }
.seloste-doc table { width: 100%; font-size: 0.875rem; border-collapse: collapse; }
.seloste-doc td { padding: 0.4rem 0; border-bottom: 1px solid rgba(0,0,0,0.08); vertical-align: top; }
.seloste-doc td:first-child { width: 33%; font-weight: 500; }
@media print {
  .no-print, .site-header, .site-footer, .disclaimer { display: none !important; }
  body, .site { background: #fff; }
}

.error-page { text-align: center; padding: 6rem 1.5rem; }
.feature-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.8rem; }
.sub-page h2, .sub-page h3, .sub-page section[id] {
  scroll-margin-top: calc(var(--site-header-h) + 0.75rem);
}
.sub-ident { margin-bottom: 0.5rem; }
.sub-quick { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.sub-chip {
  display: inline-flex; align-items: center;
  border-radius: 9999px; padding: 0.3rem 0.75rem;
  font-size: 0.8rem; font-weight: 500;
  background: #fff; color: var(--color-ui-text);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08);
}
.sub-chip:hover, .sub-chip[aria-current="page"] { box-shadow: inset 0 0 0 1px var(--color-brand); color: var(--color-brand-dark); }
.sub-layout { display: grid; gap: 1.5rem; margin-top: 1.25rem; min-width: 0; }
.sub-main, .sub-side { min-width: 0; }
.sub-main { order: 1; display: flex; flex-direction: column; gap: 1rem; }
.sub-side { order: 2; }
.sub-products { order: 3; margin-top: 1.5rem; }
@media (min-width: 900px) {
  .sub-layout {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-areas: "main side";
    align-items: start;
  }
  .sub-main { grid-area: main; order: unset; }
  .sub-side {
    grid-area: side; order: unset;
    position: sticky;
    top: calc(var(--site-header-h) + 0.5rem);
    max-height: calc(100vh - var(--site-header-h) - 1rem);
    overflow: auto;
  }
  .sub-products { order: unset; }
}
.sub-split { display: grid; gap: 1rem; }
@media (min-width: 800px) {
  .sub-split { grid-template-columns: 1fr 1fr; align-items: start; }
}
.sub-class {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.02em;
  text-transform: uppercase; color: var(--color-ui-muted);
}
.sub-overview { background: #fff; }
.sub-panel-use {
  background: #f0fdf4;
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, 0.2);
}
.sub-panel-avoid {
  background: #fef2f2;
  box-shadow: inset 0 0 0 1px rgba(185, 28, 28, 0.18);
}
.sub-panel-side {
  background: #fffbeb;
  box-shadow: inset 0 0 0 1px rgba(180, 83, 9, 0.2);
}
.sub-subh { font-size: 0.8rem; font-weight: 600; margin: 0.85rem 0 0.35rem; }
.sub-list { margin: 0; padding: 0; list-style: none; }
.sub-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.15rem;
  font-size: 0.875rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.sub-list li:last-child { border-bottom: 0; }
.sub-list li::before {
  content: "•";
  position: absolute; left: 0; top: 0.4rem;
  color: var(--color-ui-muted);
}
.sub-list-x li::before { content: "×"; font-weight: 700; color: #b91c1c; }
.sub-panel-use .sub-list li::before { content: "•"; color: #15803d; }
.sub-side-list { margin: 0; padding: 0; list-style: none; }
.sub-side-list li {
  padding: 0.55rem 0.15rem;
  font-size: 0.875rem;
  line-height: 1.45;
  border-bottom: 1px solid rgba(180, 83, 9, 0.15);
}
.sub-side-list li:last-child { border-bottom: 0; }
.sub-forms-box > summary {
  font-weight: 600; cursor: pointer; list-style: none;
}
.sub-forms-box > summary::-webkit-details-marker { display: none; }
.sub-form-list { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.sub-form-list a {
  display: flex; align-items: center; gap: 0.45rem;
  padding: 0.4rem 0.45rem; font-size: 0.875rem;
  border-radius: 0.375rem; min-width: 0;
}
.sub-form-list a:hover { background: rgba(13, 148, 136, 0.08); }
.sub-form-list a.is-active {
  background: var(--color-brand-light);
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(13, 148, 136, 0.35);
}
.sub-form-n { margin-left: auto; color: var(--color-ui-muted); font-variant-numeric: tabular-nums; }
.sub-form-dot {
  width: 0.55rem; height: 0.55rem; border-radius: 50%; flex: 0 0 auto;
  background: #a3a3a3;
}
.sub-form-dot-tabletit { background: #f43f5e; }
.sub-form-dot-kapselit { background: #f97316; }
.sub-form-dot-oraaliset-liuokset { background: #a855f7; }
.sub-form-dot-perapuikot { background: #ef4444; }
.sub-form-dot-injektiot { background: #3b82f6; }
.sub-form-dot-inhalaatiot { background: #14b8a6; }
.sub-form-dot-ihovalmisteet { background: #84cc16; }
.sub-med-list { list-style: none; margin: 0; padding: 0; }
.sub-med-list li + li { border-top: 1px solid rgba(0,0,0,0.06); }
.sub-med { display: block; padding: 0.65rem 0; }
.sub-med-name { display: block; font-weight: 600; }
.sub-med-meta { display: block; margin-top: 0.15rem; font-size: 0.75rem; color: var(--color-ui-muted); }
.sub-med:hover .sub-med-name { color: var(--color-brand); }

.hidden { display: none !important; }
.mt-1 { margin-top: 0.25rem; } .mt-2 { margin-top: 0.5rem; } .mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; } .mt-6 { margin-top: 1.5rem; } .mt-8 { margin-top: 2rem; }
.mb-2 { margin-bottom: 0.5rem; } .mb-4 { margin-bottom: 1rem; } .mb-6 { margin-bottom: 1.5rem; }
.text-sm { font-size: 0.875rem; } .text-xs { font-size: 0.75rem; } .text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; } .text-2xl { font-size: 1.5rem; } .text-3xl { font-size: 1.875rem; } .text-4xl { font-size: 2.25rem; }
.font-semibold { font-weight: 600; }
.space-y > * + * { margin-top: 0.5rem; }
