/* Page-only layout for /testar-microfone-online/. The meter stays in browser-tests.js. */

body.page-testar-microfone-online .mic-page { --mic-blue: #2563eb; --mic-ink: #172033; }
@media (min-width: 1100px) {
  body.page-testar-microfone-online .mic-page { --cv-aside: clamp(230px, 18vw, 280px); }
}
body.page-testar-microfone-online .mic-page .conv-title {
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}
body.page-testar-microfone-online .article .mic-page .conv-lede {
  margin: 0 0 18px;
  color: #4f63b8;
  font-size: 1.02rem;
  line-height: 1.4;
}
body.page-testar-microfone-online .article .mic-page .conv-perks { gap: 14px; }
body.page-testar-microfone-online .article .mic-page .conv-perks li { gap: 12px; font-size: 0.84rem; }
body.page-testar-microfone-online .mic-page .conv-perks strong { color: #1d4ed8; font-size: 0.95rem; }
body.page-testar-microfone-online .mic-page .conv-perk { width: 42px; height: 42px; background-size: 22px; }
body.page-testar-microfone-online .mic-page .conv-perk.is-mic {
  background-color: #ede9fe;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='9' y='3' width='6' height='11' rx='3' fill='%237c3aed'/%3E%3Cpath fill='none' stroke='%237c3aed' stroke-width='2' d='M6 11a6 6 0 0 0 12 0M12 17v3M9 20h6'/%3E%3C/svg%3E");
}
body.page-testar-microfone-online .mic-page .conv-perk.is-easy {
  background-color: #ffedd5;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8' fill='%23f97316'/%3E%3Ccircle cx='12' cy='12' r='2.4' fill='%23fff'/%3E%3Cpath fill='%23fff' d='M12 6.2v1.6M12 16.2v1.6M6.2 12h1.6M16.2 12h1.6M8 8l1.1 1.1M14.9 14.9 16 16M16 8l-1.1 1.1M9.1 14.9 8 16'/%3E%3C/svg%3E");
}
body.page-testar-microfone-online .mic-page .conv-perk.is-free {
  background-color: #dbeafe;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='%232563eb'/%3E%3Cpath d='M12 7v7m0 0-3-3m3 3 3-3M8 17h8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.page-testar-microfone-online .article .mic-page img.conv-art { max-width: 240px; margin-top: 16px; }

body.page-testar-microfone-online .mic-app {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--mic-ink);
}
body.page-testar-microfone-online .mic-app [hidden] { display: none !important; }
body.page-testar-microfone-online .mic-page .conv-board {
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
  gap: 14px;
}
@media (max-width: 1100px) {
  body.page-testar-microfone-online .mic-page .conv-board { grid-template-columns: minmax(0, 1fr); }
}
body.page-testar-microfone-online .mic-page .conv-stack { gap: 14px; }
body.page-testar-microfone-online .mic-page .conv-card,
body.page-testar-microfone-online .mic-page .conv-steps,
body.page-testar-microfone-online .mic-page .conv-tips {
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 22px rgba(15, 23, 42, 0.04);
}
body.page-testar-microfone-online .mic-page .conv-steps li > span:first-child {
  width: 36px;
  height: 36px;
  background: #e8eef8;
  color: #64748b;
}
body.page-testar-microfone-online .mic-page .conv-steps li.is-on > span:first-child { background: var(--mic-blue); color: #fff; }
body.page-testar-microfone-online .mic-page .conv-steps li.is-done > span:first-child { background: #16a34a; color: #fff; }
body.page-testar-microfone-online .mic-page .conv-steps li.is-on strong { color: var(--mic-blue); }
body.page-testar-microfone-online .mic-page .conv-card-title { color: #1d4ed8; }
body.page-testar-microfone-online .mic-badge {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--mic-blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}
body.page-testar-microfone-online .mic-badge-speaker,
body.page-testar-microfone-online .mic-badge-gear { background: #eff6ff center / 16px no-repeat; }
body.page-testar-microfone-online .mic-badge-speaker {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2'%3E%3Cpath d='M4 10v4h4l5 4V6L8 10z'/%3E%3Cpath d='M16 9a4 4 0 0 1 0 6'/%3E%3C/svg%3E");
}
body.page-testar-microfone-online .mic-badge-gear {
  background-color: #f5f3ff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='none' stroke='%237c3aed' stroke-width='2'/%3E%3Cpath fill='none' stroke='%237c3aed' stroke-width='2' d='M12 3v2M12 19v2M3 12h2M19 12h2M5.6 5.6l1.5 1.5M16.9 16.9l1.5 1.5M18.4 5.6 16.9 7.1M7.1 16.9 5.6 18.4'/%3E%3C/svg%3E");
}

body.page-testar-microfone-online .mic-stage {
  padding: 8px 8px 4px;
  border-radius: 16px;
  background: #f5f9ff;
  text-align: center;
}
body.page-testar-microfone-online .mic-ico {
  width: 84px;
  height: 84px;
  margin: 8px auto 10px;
  border-radius: 50%;
  background: #e8f0fe url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='9' y='3' width='6' height='11' rx='3' fill='%232563eb'/%3E%3Cpath fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' d='M6 11a6 6 0 0 0 12 0M12 17v3M9 20h6'/%3E%3C/svg%3E") center / 36px no-repeat;
}
body.page-testar-microfone-online .mic-stage p {
  max-width: 420px;
  margin: 0 auto 14px;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.4;
}
body.page-testar-microfone-online .mic-stage strong { color: var(--mic-ink); }
body.page-testar-microfone-online .mic-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
body.page-testar-microfone-online .mic-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
body.page-testar-microfone-online #btest-btn-start {
  border: 0;
  background: var(--mic-blue);
  color: #fff;
}
body.page-testar-microfone-online #btest-btn-start::before {
  content: "";
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='9' y='3' width='6' height='11' rx='3' fill='%23fff'/%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M6 11a6 6 0 0 0 12 0M12 17v3'/%3E%3C/svg%3E") center / 18px no-repeat;
}
body.page-testar-microfone-online #btest-btn-stop {
  border: 1px solid #e3e9f1;
  background: #fff;
  color: #1f2937;
}
body.page-testar-microfone-online .mic-actions button:disabled { opacity: 0.5; cursor: not-allowed; }
body.page-testar-microfone-online .mic-meter {
  height: 22px;
  margin: 0 auto;
  max-width: 520px;
  overflow: hidden;
  border-radius: 8px;
  background: repeating-linear-gradient(90deg, #e5e7eb 0 8px, transparent 8px 12px);
}
body.page-testar-microfone-online #btest-meter-fill {
  height: 100%;
  width: 0;
  background: repeating-linear-gradient(90deg, #22c55e 0 8px, transparent 8px 12px);
}
body.page-testar-microfone-online #btest-meter-fill.is-hot {
  background: repeating-linear-gradient(90deg, #f59e0b 0 8px, transparent 8px 12px);
}
body.page-testar-microfone-online .mic-readout {
  margin: 10px 0 4px;
  color: #64748b;
  font-size: 0.92rem;
  font-weight: 700;
}
body.page-testar-microfone-online #mic-now { color: var(--mic-ink); }
body.page-testar-microfone-online #mic-talk { color: #64748b; font-weight: 650; }
body.page-testar-microfone-online #btest-status {
  margin: 10px 0 0;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.35;
  text-align: center;
}
body.page-testar-microfone-online #btest-status.is-error { color: #b91c1c; }
body.page-testar-microfone-online #btest-status.is-loading { color: #1d4ed8; }
body.page-testar-microfone-online #btest-status.is-ok { color: #15803d; }
body.page-testar-microfone-online .mic-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body.page-testar-microfone-online .mic-sub,
body.page-testar-microfone-online .mic-audio-note {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 0.84rem;
  line-height: 1.4;
}
body.page-testar-microfone-online .mic-audio-note { margin: 4px 0 0; }
body.page-testar-microfone-online .mic-audio-note a { color: var(--mic-blue); font-weight: 700; }
body.page-testar-microfone-online .mic-label {
  margin: 0 0 6px;
  color: var(--mic-ink);
  font-size: 0.88rem;
  font-weight: 800;
}
body.page-testar-microfone-online .mic-field {
  margin: 0 0 8px;
  padding: 11px 12px;
  overflow: hidden;
  border: 1px solid #e3e9f1;
  border-radius: 12px;
  background: #fff;
  color: var(--mic-ink);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.page-testar-microfone-online .mic-banner {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #dcfce7;
  color: #166534;
}
body.page-testar-microfone-online .mic-banner strong,
body.page-testar-microfone-online .mic-banner p { display: block; margin: 0; }
body.page-testar-microfone-online .mic-banner p { margin-top: 2px; font-size: 0.86rem; }
body.page-testar-microfone-online .mic-wait {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 0.84rem;
}
body.page-testar-microfone-online .mic-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}
body.page-testar-microfone-online .mic-stats div {
  min-width: 0;
  padding: 10px 8px;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  text-align: center;
}
body.page-testar-microfone-online .mic-stats dt,
body.page-testar-microfone-online .mic-stats dd { margin: 0; }
body.page-testar-microfone-online .mic-stats dt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #64748b;
  font-size: 0.78rem;
  font-weight: 700;
}
body.page-testar-microfone-online .mic-stats dd {
  margin-top: 4px;
  color: var(--mic-ink);
  font-size: 1.15rem;
  font-weight: 800;
}
body.page-testar-microfone-online .mic-stats svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

body.page-testar-microfone-online .article .mic-tips { margin: 0; }
body.page-testar-microfone-online .article .mic-tips h2::before {
  content: "";
  width: 22px;
  height: 22px;
  background: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23f5b400' d='M9 18h6v2H9zM12 2a7 7 0 0 0-4 12.7V17h8v-2.3A7 7 0 0 0 12 2z'/%3E%3C/svg%3E") center / 22px no-repeat;
}
body.page-testar-microfone-online .article .mic-tips li::before {
  content: "";
  background: #f5b400 url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat;
}
body.page-testar-microfone-online .article .mic-guide ol,
body.page-testar-microfone-online .article .mic-problems ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
body.page-testar-microfone-online .article .mic-guide li,
body.page-testar-microfone-online .article .mic-problems li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0 0 8px;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: left;
}
body.page-testar-microfone-online .article .mic-guide li:last-child,
body.page-testar-microfone-online .article .mic-problems li:last-child { margin-bottom: 0; }
body.page-testar-microfone-online .article .mic-guide { counter-reset: mic-g; }
body.page-testar-microfone-online .article .mic-guide li::before {
  content: counter(mic-g);
  counter-increment: mic-g;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 800;
}
body.page-testar-microfone-online .article .mic-problems {
  border-color: #e9e5ff;
  background: #f6f4ff;
}
body.page-testar-microfone-online .article .mic-problems li::before { content: none; }
body.page-testar-microfone-online .article .mic-problems li { display: block; }

@media (max-width: 720px) {
  body.page-testar-microfone-online .mic-actions,
  body.page-testar-microfone-online .mic-stats { flex-direction: column; grid-template-columns: 1fr; }
  body.page-testar-microfone-online .mic-actions { display: flex; }
  body.page-testar-microfone-online .mic-actions button { width: 100%; }
}

html[data-theme="dark"] body.page-testar-microfone-online .mic-stage { background: #0f172a; }
html[data-theme="dark"] body.page-testar-microfone-online .mic-stage p,
html[data-theme="dark"] body.page-testar-microfone-online .mic-sub,
html[data-theme="dark"] body.page-testar-microfone-online .mic-audio-note,
html[data-theme="dark"] body.page-testar-microfone-online .mic-wait { color: #94a3b8; }
html[data-theme="dark"] body.page-testar-microfone-online .mic-field,
html[data-theme="dark"] body.page-testar-microfone-online #btest-btn-stop { background: #0f172a; color: #e2e8f0; border-color: #334155; }
html[data-theme="dark"] body.page-testar-microfone-online .mic-stats div { border-color: #334155; }
html[data-theme="dark"] body.page-testar-microfone-online .mic-problems { background: #1e1b4b; border-color: #4c1d95; }
