/* ═══════════════════════════════════════════════════════════════
   iumed — Design system do site institucional
   Identidade: clínica, editorial, sóbria.
   Tipografia: Source Serif 4 (títulos) + Inter (texto e UI).
   ═══════════════════════════════════════════════════════════════ */

:root {
  --c-primary:        #1F5160;
  --c-primary-dark:   #17414E;
  --c-primary-deeper: #0E2B34;
  --c-accent:         #0E7C6E;
  --c-accent-soft:    #E6F2F0;
  --c-ink:            #16262D;
  --c-body:           #45585F;
  --c-muted:          #6E7F86;
  --c-line:           #D9E2E5;
  --c-line-soft:      #E9EFF1;
  --c-bg:             #FFFFFF;
  --c-bg-alt:         #F6F9F9;
  --c-ok:             #1D7A45;
  --ff-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --ff-serif: 'Source Serif 4', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --container: 1120px;
}

/* ── Reset básico ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  overflow-x: clip;
  font-family: var(--ff-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--c-primary); text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--c-ink); }
p { margin: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── Barra de aviso profissional ──────────────────────────────── */
.notice-bar {
  background: var(--c-primary-deeper);
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  letter-spacing: .01em;
  text-align: center;
  padding: 9px 16px;
}
.notice-bar strong { color: #fff; font-weight: 600; }

/* ── Cabeçalho ────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-line-soft);
}
.site-header__inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand__name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--c-primary);
}
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--c-body);
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--c-primary); }
@media (max-width: 860px) { .site-nav { display: none; } }

/* ── Botões ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 11px 20px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-dark); }
.btn--outline { border-color: var(--c-line); color: var(--c-primary); background: #fff; }
.btn--outline:hover { border-color: var(--c-primary); }

/* ── Selos das lojas ──────────────────────────────────────────── */
.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #10191D;
  border: 1px solid #10191D;
  border-radius: 10px;
  padding: 9px 18px 10px 14px;
  color: #fff;
  transition: background .15s ease;
}
.store-badge:hover { background: #223038; }
.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-badge__top { display: block; font-size: 10.5px; line-height: 1.2; color: rgba(255, 255, 255, .72); }
.store-badge__name { display: block; font-size: 15px; line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
.store-badge--light {
  background: #fff;
  border-color: var(--c-line);
  color: var(--c-ink);
}
.store-badge--light:hover { background: var(--c-bg-alt); border-color: var(--c-muted); }
.store-badge--light .store-badge__top { color: var(--c-muted); }

/* ── Seções ───────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section--alt {
  background: var(--c-bg-alt);
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line-soft);
}
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.overline {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -.01em;
}
.lede { margin-top: 16px; font-size: 17px; line-height: 1.7; color: var(--c-body); }
@media (max-width: 700px) { .section { padding: 64px 0; } }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, #F6F9F9 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--c-line-soft);
  padding: 72px 0 80px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 2.9rem);
  line-height: 1.15;
  letter-spacing: -.015em;
  max-width: 560px;
}
.hero__lede { margin-top: 20px; font-size: 17.5px; line-height: 1.7; max-width: 540px; }
.hero__points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.hero__points li { display: flex; align-items: flex-start; gap: 10px; font-size: 15.5px; color: var(--c-ink); }
.hero__points svg { flex-shrink: 0; margin-top: 3px; color: var(--c-accent); }
.hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.hero__note { margin-top: 14px; font-size: 13.5px; color: var(--c-muted); }
.hero__note a { font-weight: 600; }
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; gap: 56px; }
  .hero__device { justify-self: center; }
}

/* ── Dispositivo (demonstração do app) ────────────────────────── */
.hero__device { position: relative; }
.device-backdrop {
  position: absolute;
  inset: -48px -56px;
  background-image: radial-gradient(rgba(31, 81, 96, .13) 1px, transparent 1.5px);
  background-size: 22px 22px;
  border-radius: 32px;
  pointer-events: none;
}
.device {
  position: relative;
  width: 340px;
  border-radius: 46px;
  padding: 11px;
  background: #1B252B;
  box-shadow: 0 32px 70px -34px rgba(14, 43, 52, .55), 0 4px 16px -8px rgba(14, 43, 52, .3);
}
.device__screen {
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
  position: relative;
  height: 680px;
}
.device__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  width: 124px;
  height: 26px;
  background: #1B252B;
  border-radius: 0 0 16px 16px;
}
.device-caption {
  position: relative;
  margin-top: 18px;
  text-align: center;
  font-size: 12.5px;
  color: var(--c-muted);
  max-width: 340px;
}
@media (max-width: 600px) {
  .device-backdrop { inset: -20px -12px; }
}
@media (max-width: 380px) {
  .device { width: 300px; }
  .device__screen { height: 620px; }
}

.app-screen {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #fff;
  scrollbar-width: none;
}
.app-screen::-webkit-scrollbar { width: 0; }

/* ── Faixa de fatos ───────────────────────────────────────────── */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 8px 32px; border-left: 1px solid var(--c-line-soft); }
.fact:first-child { border-left: 0; padding-left: 0; }
.fact__value {
  font-family: var(--ff-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--c-ink);
  line-height: 1.2;
}
.fact__label { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--c-body); }
@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr; gap: 24px; }
  .fact { border-left: 0; padding: 0; }
}

/* ── Cartões de recursos ──────────────────────────────────────── */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  padding: 28px;
  transition: border-color .2s ease;
}
.feature-card:hover { border-color: var(--c-primary); }
.feature-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--c-accent-soft);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.feature-card p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; }
@media (max-width: 980px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } }

/* ── Passos ───────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step { border-top: 2px solid var(--c-primary); padding-top: 22px; }
.step__number {
  font-family: var(--ff-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--c-primary);
  letter-spacing: .06em;
}
.step h3 { margin-top: 10px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.step p { margin-top: 8px; font-size: 14.5px; line-height: 1.65; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 32px; } }

/* Exemplo de prescrição (estático) */
.rx-sample {
  margin-top: 56px;
  border: 1px solid var(--c-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.rx-sample__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-bottom: 1px solid var(--c-line-soft);
  background: var(--c-bg-alt);
  font-size: 13px;
  font-weight: 600;
  color: var(--c-muted);
}
.rx-sample__body { padding: 24px; }
.rx-sample__text {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--c-ink);
}
.rx-sample__meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--c-body);
  background: #fff;
}
.chip--ok { color: var(--c-ok); border-color: #CBE6D4; background: #F3FAF5; }

/* ── Segurança clínica ────────────────────────────────────────── */
.method-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 64px;
  align-items: start;
}
.method-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.method-list li {
  padding: 22px 0;
  border-top: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
}
.method-list li:last-child { border-bottom: 1px solid var(--c-line); }
.method-list__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--c-accent-soft);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.method-list h3 { font-size: 15.5px; font-weight: 600; }
.method-list p { margin-top: 5px; font-size: 14.5px; line-height: 1.65; }

.notice-card {
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-primary);
  border-radius: 10px;
  background: #fff;
  padding: 26px 28px;
}
.notice-card h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.notice-card p { margin-top: 12px; font-size: 14.5px; line-height: 1.7; }
.notice-card p + p { margin-top: 10px; }
@media (max-width: 900px) { .method-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ── FAQ ──────────────────────────────────────────────────────── */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--c-line); }
.faq details:last-child { border-bottom: 1px solid var(--c-line); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 36px 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  position: absolute;
  right: 4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--c-muted);
  border-bottom: 2px solid var(--c-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 0 22px; font-size: 15px; line-height: 1.7; max-width: 700px; }

/* ── Faixa de download ────────────────────────────────────────── */
.download-band {
  background: var(--c-primary-deeper);
  padding: 80px 0;
}
.download-band__inner { max-width: 640px; margin: 0 auto; text-align: center; }
.download-band .overline { color: #7FC6BC; }
.download-band h2 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  color: #fff;
  letter-spacing: -.01em;
}
.download-band p { margin-top: 16px; color: rgba(255, 255, 255, .75); font-size: 16px; }
.download-band .stores { justify-content: center; margin-top: 32px; }
.download-band .store-badge { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); }
.download-band .store-badge:hover { background: rgba(255, 255, 255, .14); }
.download-band__foot { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ── Rodapé ───────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--c-line-soft); background: #fff; padding: 64px 0 0; }
.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, .8fr));
  gap: 48px;
  padding-bottom: 48px;
}
.site-footer__about { max-width: 320px; }
.site-footer__about p { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--c-muted); }
.site-footer h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer ul a { font-size: 14.5px; color: var(--c-body); }
.site-footer ul a:hover { color: var(--c-primary); }
.site-footer__legal {
  border-top: 1px solid var(--c-line-soft);
  padding: 22px 0 28px;
}
.site-footer__legal .container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
}
.site-footer__legal p { font-size: 13px; color: var(--c-muted); }
.site-footer__disclaimer {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--c-muted);
  border-top: 1px solid var(--c-line-soft);
  padding: 20px 0 0;
  margin-top: 4px;
}
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; gap: 36px; } }

/* ── Cabeçalho de página interna ──────────────────────────────── */
.page-head {
  background: linear-gradient(180deg, #F6F9F9 0%, #FFFFFF 100%);
  border-bottom: 1px solid var(--c-line-soft);
  padding: 56px 0 60px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--c-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--c-muted); }
.breadcrumb a:hover { color: var(--c-primary); }
.page-head h1 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -.015em;
  max-width: 720px;
}
.page-head .lede { max-width: 640px; }

/* ── Blocos editoriais (páginas internas) ─────────────────────── */
.detail-rows { display: grid; gap: 0; }
.detail-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 320px) minmax(0, 1fr);
  gap: 32px;
  padding: 36px 0;
  border-top: 1px solid var(--c-line);
}
.detail-row:last-child { border-bottom: 1px solid var(--c-line); }
.detail-row__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--c-accent-soft);
  color: var(--c-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-row h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.detail-row__body { font-size: 15px; line-height: 1.7; }
.detail-row__body p + p { margin-top: 12px; }
@media (max-width: 860px) {
  .detail-row { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
  .detail-row__icon { width: 42px; height: 42px; }
}

/* Layout de duas colunas com demo fixa */
.split { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: start; }
.split__demo { position: sticky; top: 96px; }
@media (max-width: 1000px) {
  .split { grid-template-columns: 1fr; }
  .split__demo { position: static; justify-self: center; }
}

.prose h2 {
  font-family: var(--ff-serif);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -.01em;
  margin: 36px 0 12px;
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; font-size: 15.5px; line-height: 1.75; }
.prose ul { margin: 0 0 14px; padding-left: 20px; }
.prose li { margin-bottom: 8px; font-size: 15.5px; line-height: 1.7; }
.prose strong { color: var(--c-ink); font-weight: 600; }

/* ── Revelação sutil ao rolar ─────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════════
   Réplica da interface do app (dentro do dispositivo)
   Reproduz o visual real do iumed app — não segue o design do site.
   ═══════════════════════════════════════════════════════════════ */

.app-screen, .app-screen button, .app-screen input { font-family: var(--ff-sans); }

.as-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 38px 16px 12px;
  background: rgba(255, 255, 255, .93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #F2F2F2;
}
.as-header--list { display: block; }
.as-back {
  margin-left: -4px;
  padding: 4px;
  border: 0;
  background: none;
  color: #0E0D0D;
  cursor: pointer;
  line-height: 0;
}
.as-header-title {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: #0E0D0D;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.as-pop-pill { padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; }
.as-list-title { font-size: 17px; font-weight: 700; color: #0E0D0D; }
.as-list-sub { margin-top: 2px; font-size: 12px; color: #808080; }

.as-body { padding: 16px 16px 0; }
.as-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #F2F2F2;
  border-radius: 14px;
  background: #FAFAFA;
  padding: 10px 12px;
  color: #808080;
}
.as-search span:last-child { font-size: 14px; color: #B0B0B0; }
.as-kicker {
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #808080;
}
.as-med-list { margin-top: 8px; padding-bottom: 32px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.as-med-row { min-width: 0; }
.as-med-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  border: 1px solid #F2F2F2;
  border-radius: 16px;
  background: #FAFAFA;
  padding: 14px;
  cursor: pointer;
}
.as-med-row:hover { background: #F3F3F3; }
.as-med-ico {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #D9F9F6;
  color: #1F5160;
}
.as-med-main { flex: 1; min-width: 0; }
.as-med-name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0E0D0D;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.as-med-class {
  display: block;
  font-size: 12px;
  color: #808080;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.as-chev { color: #0E0D0D; line-height: 0; }

.as-band { margin-top: 12px; padding: 8px 16px 24px; }
.as-band-class { font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.as-pop-row { margin-left: auto; width: 78%; display: flex; gap: 6px; }
.as-pop-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.as-pop-btn span { display: inline-flex; line-height: 0; }
.as-pop-btn b { font-weight: 700; }

.as-sheet {
  position: relative;
  border-radius: 24px 24px 0 0;
  margin-top: -14px;
  background: #fff;
  padding: 16px 16px 32px;
  min-height: 200px;
}
.as-inputs-head { display: flex; align-items: center; justify-content: space-between; }
.as-inputs-title { font-size: 14px; font-weight: 700; color: #383838; }
.as-clear { font-size: 12px; font-weight: 700; border: 0; background: none; cursor: pointer; }
.as-input-row { margin-top: 8px; display: flex; justify-content: space-between; }
.as-field--half { width: 48%; }
.as-field--full { width: 100%; }
.as-field-label { font-size: 11px; font-weight: 600; color: #606060; margin-bottom: 4px; }
.as-input-box {
  display: flex;
  align-items: center;
  border: 1px solid #F2F2F2;
  border-radius: 14px;
  background: #fff;
  padding: 10px;
  color: #0E0D0D;
}
.as-input {
  margin-left: 8px;
  flex: 1;
  width: 100%;
  min-width: 0;
  font-size: 22px;
  font-weight: 700;
  border: 0;
  outline: none;
  background: transparent;
  color: #0E0D0D;
}
.as-input::placeholder { color: #B0B0B0; font-weight: 500; }
.as-input-unit { font-size: 14px; font-weight: 600; color: #606060; }
.as-age-units { margin-top: 6px; display: flex; gap: 6px; }
.as-age-unit {
  flex: 1;
  border: 0;
  border-radius: 12px;
  padding: 5px 0;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  background: #F2F2F2;
  color: #1F6D89;
}
.as-age-unit.is-active { background: #1F5160; color: #fff; }

.as-results { margin-top: 16px; }
.as-acc {
  margin-bottom: 10px;
  border: 1px solid rgba(176, 176, 176, .3);
  border-radius: 16px;
  background: #F3F3F7;
  padding: 0 12px;
}
.as-acc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  color: #0E0D0D;
}
.as-acc-main { flex: 1; padding-right: 8px; }
.as-acc-title { display: block; font-size: 14px; font-weight: 700; color: #0E0D0D; }
.as-acc-meta { margin-top: 5px; display: flex; align-items: center; gap: 6px; }
.as-count { font-size: 11px; color: #606060; }
.as-acc-body { padding-bottom: 4px; }

.as-tag-info {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: #EBF8FC;
  color: #1F6D89;
}
.as-tag-neutral {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
  background: #F2F2F2;
  color: #606060;
}

.as-rule {
  margin-bottom: 10px;
  border: 1px solid #F2F2F2;
  border-radius: 16px;
  background: #fff;
  padding: 14px 12px;
}
.as-rule-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.as-rule-title { font-size: 14px; font-weight: 700; color: #0E0D0D; }
.as-rule-tags { margin-left: auto; display: flex; gap: 4px; }
.as-divider { margin-top: 10px; height: 1px; width: 100%; background: #F2F2F2; }
.as-rx { margin-top: 12px; border-radius: 10px; padding: 10px; background: #FAFAFA; }
.as-rx-label { font-size: 11px; font-weight: 600; color: #808080; }
.as-rx-text { margin-top: 4px; font-size: 13px; line-height: 1.4; color: #0E0D0D; }
.as-msg { margin-top: 12px; border-radius: 10px; padding: 10px; font-size: 13px; line-height: 1.45; }
.as-copy {
  margin-top: 8px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #1F5160;
  border-radius: 12px;
  background: #fff;
  color: #1F5160;
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.as-warns { margin-top: 10px; display: grid; gap: 6px; }
.as-warn {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  border-radius: 10px;
  padding: 8px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
}
.as-warn span:first-child { margin-top: 1px; flex-shrink: 0; line-height: 0; }
.as-empty { border-radius: 14px; padding: 16px; background: #FAFAFA; }
.as-empty-title { font-size: 14px; font-weight: 700; color: #383838; }
.as-empty-sub { margin-top: 4px; font-size: 12px; color: #808080; }
