/* tests.html: built by tool/build_tests_page.mjs on top of landing.css. */

.nav.scrolled .brand .ry { color: var(--ink); }
.t-hero {
  color: rgba(255, 255, 255, .8);
  padding: 70px 0 64px;
  background: radial-gradient(120% 120% at 50% 0%, var(--night-teal), var(--night) 60%, var(--night-deep));
}
.t-hero .eyebrow { color: var(--mint); }
.t-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 60px); font-weight: 800; letter-spacing: -.03em; margin-top: 14px; }
.t-hero > .container > p { margin-top: 16px; font-size: 18px; max-width: 760px; }
.t-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; }
.t-stats > div { padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(94, 234, 212, .2); }
.t-stats b { display: block; font-family: var(--head); font-size: 38px; font-weight: 800; color: #fff; letter-spacing: -.02em; }
.t-stats b.ok { color: var(--mint); }
.t-stats b.warn { color: var(--gold); }
.t-stats span { font-size: 14px; }
.t-when { margin-top: 18px; font-size: 14.5px; color: rgba(255, 255, 255, .6); }

.t-body { padding: 48px 0 90px; background: var(--canvas); }
.t-tools { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; position: sticky; top: 72px; z-index: 5; padding: 12px 0; background: var(--canvas); }
.t-search { flex: 1 1 320px; display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 48px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); color: var(--muted); }
.t-search:focus-within { border-color: var(--teal); }
.t-search svg { width: 20px; height: 20px; flex: none; }
.t-search input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15.5px; color: var(--ink); background: transparent; }
.t-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.t-result { min-height: 22px; margin: 6px 0 10px; font-size: 14px; color: var(--muted); }

.t-areas { display: grid; gap: 12px; }
.t-area { border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: box-shadow .2s, border-color .2s; }
.t-area[open] { border-color: #99f6e4; box-shadow: var(--shadow-sm); }
.t-area.hide { display: none; }
.t-area summary { cursor: pointer; list-style: none; display: flex; gap: 16px; align-items: center; padding: 20px 22px; }
.t-area summary::-webkit-details-marker { display: none; }
.t-area summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5' stroke='%230F766E' stroke-width='2.4' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .25s; }
.t-area[open] summary::after { transform: rotate(180deg); }
.t-area-head { flex: 1; min-width: 0; }
.t-area-name { display: block; font-family: var(--head); font-weight: 800; font-size: 19px; color: var(--ink); }
.t-area-blurb { display: block; font-size: 14.5px; color: var(--muted); margin-top: 3px; }
.t-area-count { flex: none; font-family: var(--head); font-weight: 800; font-size: 15px; color: var(--green); background: #dcfce7; padding: 5px 12px; border-radius: 999px; }
.t-area-count.warn { color: #92400e; background: #fef3c7; }

.t-list { list-style: none; margin: 0; padding: 0 22px 18px; display: grid; gap: 2px; }
.t-row { display: flex; gap: 12px; align-items: flex-start; padding: 9px 4px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text); }
.t-row.hide { display: none; }
.t-dot { flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8.5' stroke='white' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.t-row.fail .t-dot { background: var(--amber) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 7v6M12 17v.5' stroke='white' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.t-name { flex: 1; min-width: 0; }
.t-name mark { background: #fef08a; color: inherit; border-radius: 3px; padding: 0 1px; }
.t-layer { flex: none; font-size: 12px; font-weight: 700; color: var(--teal); background: var(--teal-tint); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.t-row[data-layer="database"] .t-layer { color: #6d28d9; background: #f5f3ff; }
.t-row[data-layer="app"] .t-layer { color: #0369a1; background: #f0f9ff; }

.t-note { margin-top: 40px; padding: 28px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.t-note h2 { font-size: 22px; }
.t-note p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.t-note a { color: var(--teal); font-weight: 700; }

@media (max-width: 760px) {
  .t-hero { padding: 48px 0 44px; }
  .t-stats { grid-template-columns: 1fr 1fr; }
  .t-stats b { font-size: 30px; }
  .t-tools { top: 72px; }
  .t-area summary { padding: 16px; align-items: flex-start; }
  .t-list { padding: 0 14px 14px; }
  .t-row { flex-wrap: wrap; }
  .t-layer { margin-left: 30px; }
}
