:root {
  --ink: #18282b;
  --muted: #657478;
  --line: #dbe4e5;
  --surface: #ffffff;
  --surface-soft: #f5faf9;
  --surface-tint: #edf7f6;
  --brand: #0d6670;
  --brand-dark: #084f57;
  --accent: #e7b55d;
  --danger: #aa3d35;
  --danger-soft: #fff3f1;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(17, 51, 56, .08);
  --max: 1200px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fbfdfd; font-size: 16px; line-height: 1.55; }
a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.18; }
h1 { font-size: clamp(2.25rem, 4.7vw, 4.6rem); }
h2 { font-size: clamp(1.55rem, 2.2vw, 2.25rem); }
h3 { font-size: 1.1rem; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow-container { width: min(850px, calc(100% - 40px)); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link:focus { z-index: 100; top: 12px; left: 12px; width: auto; height: auto; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(20,65,68,.10); backdrop-filter: blur(12px); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: inline-flex; align-items: center; color: var(--ink); gap: 10px; min-width: 190px; }
.brand strong { display: block; line-height: 1.1; font-size: 1.08rem; }
.brand small { display: block; color: var(--muted); font-size: .72rem; letter-spacing: .03em; }
.brand-mark { display: grid; place-items: center; width: 36px; height: 36px; background: var(--brand); color: #fff; border-radius: 12px; font-size: 1.55rem; font-weight: 800; line-height: 1; box-shadow: 0 7px 18px rgba(13,102,112,.2); }
.site-nav { display: flex; gap: 23px; align-items: center; font-size: .93rem; font-weight: 650; }
.site-nav a { color: #40565a; }
.site-nav a:hover { color: var(--brand); }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); padding: 9px 13px; border-radius: 10px; color: var(--ink); }
.mobile-menu { padding: 4px 20px 18px; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu a { display: block; padding: 10px 0; color: var(--ink); font-weight: 600; }
.hero-section { background: linear-gradient(120deg, #edf9f7 0%, #f9fdfc 57%, #e8f3f4 100%); padding: 72px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(290px, .75fr); align-items: center; gap: clamp(32px, 8vw, 120px); }
.eyebrow { color: var(--brand); font-size: .74rem; font-weight: 800; letter-spacing: .15em; margin-bottom: 10px; }
.hero-copy h1 { max-width: 800px; margin-bottom: 18px; color: #153c40; }
.hero-text { max-width: 760px; color: #4d6064; font-size: 1.07rem; }
.search-box { position: relative; display: flex; gap: 10px; margin: 28px 0 14px; }
.search-box input, .search-panel input, .search-panel select { min-height: 54px; border: 1px solid #cedbdd; border-radius: 12px; padding: 0 16px; outline: none; background: #fff; color: var(--ink); }
.search-box input { flex: 1; box-shadow: 0 8px 25px rgba(15,71,76,.09); }
.search-box input:focus, .search-panel input:focus, .search-panel select:focus, textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(13,102,112,.13); }
.search-box button, .button, .search-panel button { min-height: 54px; border: none; border-radius: 12px; background: var(--brand); color: white; font-weight: 750; padding: 0 19px; }
.search-box button:hover, .button:hover, .search-panel button:hover { background: var(--brand-dark); color: #fff; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 16px; }
.button--ghost { background: #fff; border: 1px solid #b9cbcd; color: var(--brand-dark); }
.button--ghost:hover { background: var(--surface-tint); color: var(--brand-dark); }
.quick-links { display: flex; flex-wrap: wrap; gap: 7px 12px; font-size: .82rem; color: var(--muted); }
.quick-links a { font-weight: 650; text-decoration: underline; text-decoration-color: #a3c4c5; text-underline-offset: 3px; }
.hero-card { padding: 32px; border-radius: 22px; background: var(--brand-dark); color: #edf8f7; box-shadow: 0 18px 42px rgba(11,77,83,.2); position: relative; overflow: hidden; }
.hero-card::after { content: ''; position: absolute; right: -60px; bottom: -75px; width: 190px; height: 190px; border: 32px solid rgba(255,255,255,.07); border-radius: 50%; }
.hero-card__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 23px; border-radius: 14px; background: rgba(255,255,255,.12); font-weight: 800; font-size: 1.05rem; }
.hero-card h2 { font-size: 1.5rem; color: #fff; }
.tick-list { list-style: none; padding: 0; margin: 20px 0; }
.tick-list li { position: relative; padding: 7px 0 7px 26px; font-size: .93rem; }
.tick-list li::before { content: '✓'; position: absolute; left: 0; color: #9ee1d8; font-weight: 900; }
.hero-card .text-link { color: #bcece5; position: relative; z-index: 1; font-weight: 700; }
.section { padding: 72px 0; }
.section--tint { background: var(--surface-tint); }
.section--stats { margin-top: -30px; padding: 0; position: relative; z-index: 4; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #dce8e8; background: #fff; border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.stat-card { padding: 23px 28px; border-right: 1px solid #e3eeee; display: flex; align-items: baseline; gap: 12px; }
.stat-card:last-child { border-right: 0; }
.stat-card strong { color: var(--brand-dark); font-size: 1.75rem; letter-spacing: -.05em; }
.stat-card span { color: var(--muted); font-size: .85rem; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.section-heading h2 { margin-bottom: 0; }
.text-link { display: inline-flex; align-items: center; gap: 5px; font-weight: 750; white-space: nowrap; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; }
.category-card { min-height: 122px; border: 1px solid #dfebec; border-radius: 16px; padding: 18px; background: #fff; display: flex; align-items: flex-start; gap: 13px; color: var(--ink); transition: .18s ease; }
.category-card:hover { border-color: #8fc5c6; transform: translateY(-2px); box-shadow: 0 10px 25px rgba(17,87,89,.08); color: var(--ink); }
.category-card__code { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 9px; background: #e3f4f2; color: var(--brand-dark); font-size: .78rem; font-weight: 800; }
.category-card__body { display: flex; flex-direction: column; gap: 5px; }
.category-card strong { font-size: .94rem; line-height: 1.3; }
.category-card small { color: var(--muted); font-size: .75rem; }
.category-card__arrow { margin-left: auto; align-self: center; color: var(--brand); font-weight: 800; }
.medicine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.medicine-card { border: 1px solid #dce8e8; background: #fff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; min-height: 210px; }
.medicine-card:hover { box-shadow: var(--shadow); }
.medicine-card__top { display: flex; justify-content: space-between; gap: 8px; align-items: center; color: var(--muted); font-size: .76rem; margin-bottom: 16px; }
.pill, .mini-pill { display: inline-flex; align-items: center; background: #eaf7f5; color: var(--brand-dark); border-radius: 999px; padding: 4px 8px; font-size: .68rem; font-weight: 800; letter-spacing: .02em; }
.pill--soft { background: #f0f3f3; color: #607075; }
.medicine-card h2, .medicine-card h3 { margin-bottom: 7px; font-size: 1.1rem; }
.medicine-card p { color: var(--muted); font-size: .85rem; margin-bottom: 16px; }
.medicine-card a { margin-top: auto; font-size: .86rem; font-weight: 800; }
.safety-banner { border: 1px solid #dce9e6; background: #fbfffd; padding: 27px 28px; border-radius: 17px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 20px; }
.safety-banner__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff4d9; color: #8a651f; font-weight: 900; font-size: 1.4rem; }
.safety-banner h2 { font-size: 1.25rem; margin-bottom: 4px; }
.safety-banner p { margin: 0; color: var(--muted); font-size: .9rem; }
.site-footer { background: #123d42; color: #d8ebea; margin-top: 44px; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 44px; }
.site-footer strong { color: #fff; }
.site-footer p { font-size: .84rem; color: #bcd2d2; }
.site-footer a { color: #d9eeeb; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.13); margin-top: 30px; padding-top: 19px; color: #a8c3c3; font-size: .76rem; }
.page-shell { padding: 48px 0 60px; min-height: 65vh; }
.page-intro { max-width: 760px; margin-bottom: 34px; }
.page-intro--compact { margin-bottom: 26px; }
.page-intro h1 { margin-bottom: 10px; font-size: clamp(2.1rem, 4vw, 3.4rem); }
.page-intro p:not(.eyebrow) { color: var(--muted); font-size: 1.03rem; }
.category-list { display: grid; gap: 10px; }
.category-row { display: flex; align-items: center; gap: 18px; padding: 18px 20px; border: 1px solid #deeaeb; border-radius: 14px; background: #fff; color: var(--ink); }
.category-row:hover { border-color: #9bc9c8; background: #fbffff; color: var(--ink); }
.category-row__number { color: var(--brand-dark); background: #eaf7f5; border-radius: 10px; width: 40px; height: 40px; display: grid; place-items: center; font-weight: 800; }
.category-row__main { flex: 1; display: grid; gap: 3px; }
.category-row__main small { color: var(--muted); }
.category-row__arrow { color: var(--brand); font-weight: 800; }
.breadcrumbs { font-size: .8rem; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.breadcrumbs a { color: var(--brand-dark); }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.filter-chip { padding: 8px 12px; border: 1px solid #d6e2e3; border-radius: 999px; font-size: .8rem; color: #52686b; background: #fff; }
.filter-chip:hover, .filter-chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.results-meta { font-size: .85rem; color: var(--muted); margin: 15px 0; }
.medicine-grid--list { grid-template-columns: repeat(3, 1fr); }
.forms-text { font-size: .78rem !important; line-height: 1.5; }
.muted-small { color: var(--muted); font-size: .75rem !important; margin-bottom: 8px !important; }
.pagination { margin-top: 30px; display: flex; justify-content: center; gap: 18px; align-items: center; font-size: .86rem; }
.pagination a { font-weight: 800; }
.search-panel { position: relative; border: 1px solid #dce9e8; border-radius: 16px; padding: 15px; display: grid; grid-template-columns: minmax(230px, 1.5fr) minmax(150px, .7fr) minmax(180px, .8fr) auto; gap: 10px; background: #fff; box-shadow: 0 6px 18px rgba(17,70,73,.05); }
.search-panel__main { position: relative; }
.search-panel input { width: 100%; }
.search-panel label { display: grid; gap: 5px; color: var(--muted); font-size: .73rem; font-weight: 750; }
.search-panel select { width: 100%; }
.search-panel button { align-self: end; }
.search-suggestions { position: absolute; z-index: 25; top: calc(100% + 8px); left: 0; right: 0; border: 1px solid #d5e2e3; background: #fff; border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.search-suggestions a { display: flex; justify-content: space-between; gap: 8px; align-items: center; padding: 10px 13px; color: var(--ink); border-bottom: 1px solid #edf1f1; font-size: .88rem; }
.search-suggestions a:last-child { border-bottom: 0; }
.search-suggestions a:hover { background: #f2faf9; }
.search-suggestions small { color: var(--muted); font-size: .7rem; }
.search-results { display: grid; gap: 10px; }
.search-result { border: 1px solid #dce8e8; background: #fff; padding: 19px 21px; border-radius: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.search-result h2 { font-size: 1.13rem; margin-bottom: 5px; }
.search-result p { color: var(--muted); font-size: .85rem; margin-bottom: 5px; }
.search-result small { color: #65767a; font-size: .76rem; }
.icon-link { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: #eaf7f5; color: var(--brand-dark); font-weight: 900; flex: none; }
.empty-state { padding: 37px; border: 1px dashed #b9cccc; border-radius: 16px; text-align: center; background: #fcffff; margin-top: 18px; }
.empty-state--large { padding: 80px 24px; border-style: solid; }
.empty-state h1 { font-size: 2.4rem; }
.medicine-page { padding: 38px 0 62px; }
.medicine-hero { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(270px, .7fr); gap: 45px; padding: 15px 0 38px; border-bottom: 1px solid #dfe9e9; }
.medicine-tags { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.medicine-hero h1 { margin-bottom: 13px; font-size: clamp(2.25rem, 4.4vw, 4.1rem); }
.medicine-hero__intro { color: #506267; font-size: 1.06rem; max-width: 750px; }
.category-breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.category-breadcrumbs a { font-size: .76rem; background: #f1f7f7; border: 1px solid #dce8e8; color: #476568; border-radius: 999px; padding: 5px 9px; }
.trust-card { align-self: start; background: #f3fbfa; border: 1px solid #cbe1df; border-radius: 15px; padding: 19px; color: #3e585b; }
.trust-card strong { color: #174e55; display: block; margin-bottom: 7px; }
.trust-card p { font-size: .83rem; margin-bottom: 10px; }
.trust-card a { font-size: .81rem; font-weight: 800; }
.page-layout { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 48px; padding-top: 36px; }
.on-page-nav { position: sticky; top: 100px; align-self: start; border-left: 2px solid #dbe7e7; padding-left: 14px; display: grid; gap: 8px; font-size: .82rem; }
.on-page-nav strong { color: #436065; margin-bottom: 3px; }
.on-page-nav a { color: #63777a; }
.on-page-nav a:hover { color: var(--brand-dark); }
.content-stack { display: grid; gap: 18px; }
.info-block { background: #fff; border: 1px solid #e0e9ea; padding: 28px; border-radius: 16px; }
.info-block h2 { font-size: 1.48rem; margin-bottom: 12px; }
.info-block h3 { margin: 24px 0 7px; }
.info-block p { color: #4c6064; }
.info-block > p:last-child { margin-bottom: 0; }
.component-list { display: flex; flex-wrap: wrap; gap: 8px; }
.component-list span { padding: 8px 11px; border-radius: 10px; background: #eef8f7; color: #255b61; font-size: .86rem; font-weight: 700; }
.callout { border-radius: 12px; padding: 16px 18px; margin-top: 18px; }
.callout p { margin: 5px 0 0; font-size: .88rem; }
.callout--quiet { background: #f5faf9; border: 1px solid #d6e7e5; color: #476568; }
.callout--danger { background: var(--danger-soft); border: 1px solid #f2cfc9; color: #7e2f28; }
.formulation-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #deeaeb; border-radius: 12px; }
.formulation-table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: .87rem; }
.formulation-table th, .formulation-table td { padding: 13px 15px; text-align: left; border-bottom: 1px solid #e5eeee; vertical-align: top; }
.formulation-table tr:last-child td { border-bottom: 0; }
.formulation-table th { color: #5c7074; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; background: #f7fbfb; }
.mini-pill { margin-left: 7px; vertical-align: middle; background: #fff2d8; color: #87621e; }
.two-column-notes, .safety-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.two-column-notes h3, .safety-grid h3 { font-size: 1rem; }
.two-column-notes p, .safety-grid p { font-size: .88rem; }
.safety-grid article { padding: 16px; border-radius: 12px; border: 1px solid #e0ebea; background: #fbfdfd; }
.safety-grid h3 { color: var(--brand-dark); margin-bottom: 8px; }
.verified-dose { margin-top: 12px; padding: 10px; background: #e8f7f2; border-radius: 8px; border: 1px solid #bfe1d6; }
.verified-dose p { margin: 0 0 6px; color: #295b51; }
.verified-dose p:last-child { margin-bottom: 0; }
.status-badge { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: .69rem; font-weight: 800; background: #eef3f4; color: #56686c; }
.status-badge--available { background: #e5f5eb; color: #277044; }
.status-badge--unverified { background: #fff5df; color: #8a6521; }
.related-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.related-links a { border: 1px solid #dce8e9; border-radius: 10px; padding: 11px; display: flex; justify-content: space-between; gap: 7px; font-size: .85rem; color: #2b565b; font-weight: 700; }
.related-links a:hover { background: #eff9f8; }
.source-note { padding: 16px 18px; border-left: 3px solid #b3cccc; color: #657579; font-size: .78rem; }
.source-note p { margin: 0 0 5px; }
.source-note p:last-child { margin-bottom: 0; }
.detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid #e1eaea; border-left: 1px solid #e1eaea; }
.detail-list div { padding: 14px; border-right: 1px solid #e1eaea; border-bottom: 1px solid #e1eaea; }
.detail-list dt { color: var(--muted); font-size: .72rem; text-transform: uppercase; font-weight: 800; letter-spacing: .06em; margin-bottom: 5px; }
.detail-list dd { margin: 0; font-weight: 650; }
.safety-checklist { display: grid; gap: 13px; }
.safety-checklist article { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 15px; padding: 20px; background: #fff; border: 1px solid #dfe9e9; border-radius: 14px; }
.safety-checklist article > span { width: 38px; height: 38px; display: grid; place-items: center; background: #e4f5f3; border-radius: 11px; color: var(--brand-dark); font-weight: 850; }
.safety-checklist h2 { font-size: 1.1rem; margin-bottom: 5px; }
.safety-checklist p { margin: 0; color: var(--muted); }

/* Admin */
.admin-body { background: #f6f9f9; }
.admin-header { background: #123d42; color: #fff; }
.admin-header .header-inner { height: 66px; }
.admin-header .brand { color: #fff; }
.admin-header .brand small { color: #b6d2d2; }
.admin-header .site-nav a { color: #d8ebea; }
.admin-shell { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: calc(100vh - 66px); }
.admin-sidebar { padding: 25px 16px; border-right: 1px solid #dbe5e5; background: #fff; }
.admin-sidebar a { display: block; padding: 10px 12px; color: #53686b; font-size: .88rem; font-weight: 700; border-radius: 9px; }
.admin-sidebar a:hover, .admin-sidebar a.is-active { background: #eaf7f5; color: var(--brand-dark); }
.admin-main { padding: 34px; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; gap: 15px; margin-bottom: 25px; }
.admin-topbar h1 { font-size: 2rem; margin: 0; }
.admin-card { border: 1px solid #dfe9e9; border-radius: 14px; padding: 20px; background: #fff; margin-bottom: 18px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.admin-stat { border: 1px solid #dce8e8; background: #fff; padding: 18px; border-radius: 13px; }
.admin-stat strong { display: block; color: var(--brand-dark); font-size: 1.75rem; }
.admin-stat span { color: var(--muted); font-size: .8rem; }
.notice { margin-bottom: 18px; border-radius: 11px; padding: 12px 15px; font-size: .87rem; }
.notice--success { color: #24633f; background: #eaf8ee; border: 1px solid #cbe9d5; }
.notice--error { color: #8a3129; background: #fff1ef; border: 1px solid #f3cbc5; }
.admin-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #dfe9e9; border-radius: 12px; }
.admin-table { width: 100%; border-collapse: collapse; min-width: 700px; font-size: .85rem; }
.admin-table th, .admin-table td { padding: 12px 13px; text-align: left; border-bottom: 1px solid #e6eeee; vertical-align: top; }
.admin-table th { background: #f6faf9; color: #5b7073; font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 17px; }
.admin-filter input, .admin-filter select, .admin-form input, .admin-form select, .admin-form textarea { border: 1px solid #ceddde; border-radius: 9px; padding: 10px 11px; width: 100%; outline: 0; background: #fff; }
.admin-filter input { width: min(350px, 100%); }
.admin-filter button, .admin-form button { border: 0; border-radius: 9px; background: var(--brand); color: #fff; padding: 10px 14px; font-weight: 750; }
.admin-form { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 6px; }
.field label, .field > span { font-weight: 750; color: #4f6468; font-size: .82rem; }
.field small { color: var(--muted); font-size: .72rem; }
.field textarea { min-height: 108px; resize: vertical; }
.field--full { grid-column: 1 / -1; }
.checkbox-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.checkbox-row label { display: inline-flex; gap: 7px; align-items: center; font-size: .84rem; color: #506367; }
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: linear-gradient(135deg, #eaf7f5, #fdfefe); }
.login-card { width: min(450px, 100%); padding: 32px; border-radius: 19px; border: 1px solid #dbe8e7; box-shadow: var(--shadow); background: #fff; }
.login-card h1 { font-size: 2rem; }
.login-card .brand { margin-bottom: 25px; }
.login-card form { display: grid; gap: 14px; }
.admin-help { padding: 15px 17px; border-left: 3px solid #75aead; background: #f0f8f7; color: #466164; font-size: .84rem; }

@media (max-width: 1020px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .medicine-grid { grid-template-columns: repeat(3, 1fr); }
  .medicine-grid--list { grid-template-columns: repeat(2, 1fr); }
  .search-panel { grid-template-columns: 1fr 1fr; }
  .search-panel__main { grid-column: 1 / -1; }
  .search-panel button { grid-column: 1 / -1; }
  .page-layout { grid-template-columns: 1fr; gap: 20px; }
  .on-page-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px 14px; border-left: 0; border-bottom: 1px solid #dbe6e6; padding: 0 0 14px; }
  .on-page-nav strong { width: 100%; }
  .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .container, .narrow-container { width: min(100% - 28px, var(--max)); }
  .header-inner { height: 67px; }
  .site-nav { display: none; }
  .menu-toggle { display: inline-block; }
  .hero-section { padding: 50px 0 58px; }
  .hero-grid, .medicine-hero { grid-template-columns: 1fr; gap: 28px; }
  .hero-copy h1 { font-size: 2.55rem; }
  .search-box { flex-direction: column; }
  .search-box button { width: 100%; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-card { border-right: 0; border-bottom: 1px solid #e3eeee; }
  .stat-card:last-child { border-bottom: 0; }
  .section { padding: 48px 0; }
  .section-heading { align-items: start; flex-direction: column; }
  .category-grid, .medicine-grid, .medicine-grid--list { grid-template-columns: 1fr; }
  .safety-banner { grid-template-columns: 42px 1fr; gap: 14px; }
  .safety-banner .button { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .search-panel, .form-grid, .form-grid--3 { grid-template-columns: 1fr; }
  .search-panel__main, .search-panel button { grid-column: auto; }
  .medicine-page { padding-top: 25px; }
  .medicine-hero h1 { font-size: 2.45rem; }
  .info-block { padding: 20px; }
  .two-column-notes, .safety-grid, .related-links, .detail-list { grid-template-columns: 1fr; }
  .detail-list { border-right: 1px solid #e1eaea; }
  .detail-list div { border-right: 0; }
  .pagination { justify-content: space-between; gap: 8px; }
  .admin-shell { grid-template-columns: 1fr; }
  .admin-sidebar { display: flex; overflow-x: auto; padding: 8px 14px; gap: 5px; border-right: 0; border-bottom: 1px solid #dce6e6; }
  .admin-sidebar a { white-space: nowrap; }
  .admin-main { padding: 22px 14px; }
  .admin-topbar { align-items: start; flex-direction: column; }
  .admin-stat-grid { grid-template-columns: 1fr; }
}


/* Learning-guide expansion */
.medicine-hero--guide { align-items: start; }
.medicine-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin-top:22px; max-width:820px; }
.medicine-facts div { border:1px solid #dbe8e8; background:#fbfefe; border-radius:12px; padding:12px 13px; }
.medicine-facts span { display:block; color:#6a7d80; font-size:.7rem; font-weight:800; text-transform:uppercase; letter-spacing:.06em; margin-bottom:5px; }
.medicine-facts strong { color:#254f54; display:block; font-size:.84rem; line-height:1.3; }
.trust-card--learning { background:#f0f9f7; }
.info-block .eyebrow { margin-bottom:7px; font-size:.7rem; }
.info-block p { line-height:1.75; }
.guide-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; margin-top:18px; }
.guide-columns > div { background:#fbfdfd; border:1px solid #e2ecec; border-radius:12px; padding:17px; }
.guide-columns h3 { margin-top:0; }
.guide-list { margin:12px 0 0; padding-left:20px; color:#4c6064; }
.guide-list li { margin:7px 0; line-height:1.6; }
.safety-grid--wide article { min-height:100%; }
.faq-list { display:grid; gap:9px; }
.faq-list details { border:1px solid #dce9e9; border-radius:11px; background:#fbfdfd; padding:0 15px; }
.faq-list summary { cursor:pointer; padding:15px 4px; font-weight:800; color:#254f54; }
.faq-list details > div { padding:0 4px 12px; }
.faq-list details p { font-size:.91rem; }
.learning-disclaimer { border:1px solid #dce9e9; border-radius:13px; padding:16px 18px; background:#f8fbfb; color:#5a6d70; font-size:.83rem; }
.learning-disclaimer strong { color:#2d545a; display:block; margin-bottom:4px; }
.learning-disclaimer p { margin:0; line-height:1.55; }
.related-links--brands { grid-template-columns:repeat(4,1fr); }
.brand-guide-hero { padding:26px 0 27px; }
.brand-guide-hero h1 { font-size:clamp(2rem,4vw,3.7rem); max-width:850px; margin-bottom:14px; }
.brand-guide-hero > p { max-width:800px; color:#51676a; font-size:1.04rem; line-height:1.7; }
.brand-guide-fact { margin-top:20px; border:1px solid #cce1df; background:#f3fbfa; max-width:510px; border-radius:13px; padding:16px; }
.brand-guide-fact span { display:block; color:#5b7476; font-size:.75rem; text-transform:uppercase; font-weight:800; letter-spacing:.06em; margin-bottom:5px; }
.brand-guide-fact strong { color:#174f55; }
@media (max-width: 760px) {
 .medicine-facts,.guide-columns { grid-template-columns:1fr; }
 .related-links--brands { grid-template-columns:1fr 1fr; }
}


/* Deep medicine guide V3 */
.deep-guide-page { padding: 20px 0 70px; }
.deep-hero { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(270px,.7fr); gap:28px; align-items:stretch; margin:16px 0 18px; }
.deep-hero__copy { padding:34px 0 26px; }
.deep-hero__copy h1 { font-size:clamp(2.25rem,4.7vw,4.25rem); max-width:980px; letter-spacing:-.045em; margin:13px 0 16px; color:#143f45; }
.deep-hero__copy > p { max-width:800px; color:#4d6266; font-size:1.05rem; line-height:1.76; margin:0; }
.deep-hero__action { display:flex; flex-wrap:wrap; gap:10px; margin-top:23px; }
.deep-hero__summary { background:linear-gradient(150deg,#e9f7f5,#f9fdfd); border:1px solid #cde5e2; border-radius:18px; padding:23px; align-self:center; box-shadow:0 16px 35px rgba(34,79,83,.08); }
.deep-hero__summary span { display:block; color:#5a7475; font-weight:800; text-transform:uppercase; letter-spacing:.08em; font-size:.68rem; margin-bottom:9px; }
.deep-hero__summary p { color:#2f555a; line-height:1.68; margin:0 0 16px; font-weight:650; }
.deep-hero__summary a { color:#0d6572; font-size:.88rem; font-weight:800; text-decoration:none; }
.deep-facts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); border:1px solid #d9e9e7; background:#fff; border-radius:15px; overflow:hidden; margin:0 0 16px; }
.deep-facts article { padding:16px 17px; border-right:1px solid #e4efee; min-height:104px; }
.deep-facts article:nth-child(3n) { border-right:0; }
.deep-facts article:nth-child(n+4) { border-top:1px solid #e4efee; }
.deep-facts span { display:block; color:#627a7d; text-transform:uppercase; letter-spacing:.065em; font-size:.66rem; font-weight:800; margin-bottom:7px; }
.deep-facts strong { display:block; color:#224e54; font-size:.92rem; line-height:1.42; }
.deep-alerts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0 0 24px; }
.deep-alert { border-radius:13px; padding:16px 17px; border:1px solid #dce9e9; background:#f8fbfb; }
.deep-alert strong { display:block; margin-bottom:5px; color:#254e54; }
.deep-alert p { margin:0; color:#53696d; line-height:1.57; font-size:.89rem; }
.deep-alert--warning { background:#fff9eb; border-color:#f2db9a; }
.deep-alert--warning strong { color:#7e5d0a; }
.deep-alert--emergency { background:#fff2f1; border-color:#efc6c0; }
.deep-alert--emergency strong { color:#9b3328; }
.deep-layout { align-items:start; }
.deep-content .deep-section { scroll-margin-top:95px; }
.deep-content .deep-section h2 { letter-spacing:-.025em; color:#214d52; }
.deep-content .guide-list { columns:1; }
.admin-edit-details { border:1px solid #dce9e9; border-radius:11px; padding:0 14px; margin:10px 0; background:#fff; }
.admin-edit-details > summary { padding:15px 3px; cursor:pointer; font-weight:800; color:#27545a; }
.admin-edit-details[open] > summary { border-bottom:1px solid #e4eeee; margin-bottom:15px; }
.inline-form { margin:10px 0 15px; }
.text-button { border:0; padding:0; background:transparent; color:#0d6572; font-weight:800; cursor:pointer; }
.text-button--danger { color:#ae3a2c; }
@media (max-width: 760px) {
 .deep-guide-page { padding-top:8px; }
 .deep-hero,.deep-alerts { grid-template-columns:1fr; gap:15px; }
 .deep-hero__copy { padding:18px 0 4px; }
 .deep-hero__copy h1 { font-size:2.38rem; }
 .deep-facts { grid-template-columns:1fr; }
 .deep-facts article,.deep-facts article:nth-child(3n) { border-right:0; border-top:1px solid #e4efee; }
 .deep-facts article:first-child { border-top:0; }
 .deep-hero__summary { padding:19px; }
}
