/* ponytail: Brilliant-style shell, grid, hero, install cmd, footer skeleton */

:root {
  --font-body: 'Instrument Sans', ui-sans-serif, system-ui, sans-serif;
  --font-display: 'Newsreader', 'Times New Roman', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --sw-glow: #7ED2FC;
  --sw-glow-rgb: 126, 210, 252;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
body {
  font-family: var(--font-body, system-ui, sans-serif);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.5;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

[layout="stack"] {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.grid-bg {
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 1px 1px, var(--grid-dot) 1px, transparent 0);
  background-size: 24px 24px;
}

a { color: inherit; text-decoration: none; }

.nav-links a, .nav-sign { position: relative; }
.nav-links a::after, .nav-sign::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-sign:hover::after { width: 100%; }
.nav-links a:hover { opacity: 1; }
.nav-sign:hover { opacity: 1; }

.site-nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 0.45rem; font-weight: 650; font-size: 0.95rem; letter-spacing: -0.03em; }
.brand-mark { font-size: 1.1rem; color: var(--accent); }

/* Brand wave mark. Logo = wordmark then wave, so every .brand gets it via
   ::after; .wave-mark is the standalone form for inline placement (a brand
   lockup that carries a suffix, e.g. the partner queue or dashboard). Masked
   SVG, not an <img>, so it inherits the current text color in any theme. */
:root {
  --wave-mark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 15'%3E%3Cpath d='M3 9.8q5.2-8.4 10.4 0t10.4 0t10.4 0' fill='none' stroke='%23000' stroke-width='5.8' stroke-linecap='round'/%3E%3C/svg%3E");
}
.brand::after, .wave-mark {
  content: ''; display: inline-block; flex: none;
  width: 0.92em; height: 0.39em;
  background-color: currentColor;
  -webkit-mask: var(--wave-mark) center / contain no-repeat;
  mask: var(--wave-mark) center / contain no-repeat;
}
.wave-mark { vertical-align: 0.08em; }
.nav-links { display: flex; gap: 1.35rem; font-size: 0.8125rem; color: var(--muted); flex-wrap: wrap; }
.nav-actions { display: flex; align-items: center; gap: 0.65rem; }
.nav-sign { font-size: 0.8125rem; color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: 0.8125rem; font-weight: 600;
  padding: 0.5rem 1rem; border-radius: 999px; border: none; cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s, box-shadow 0.12s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--btn-bg); color: var(--btn-fg); }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--border); }

.btn:hover { transform: none; box-shadow: none; opacity: 0.88; }
.btn:focus-visible, .hamburger:focus-visible, a:focus-visible, input:focus-visible, button:focus-visible {
  outline: 3px solid var(--btn-bg); outline-offset: 3px;
}

/* T8 DC-1: hamburger button, shown only below the 680px nav-collapse breakpoint */
.hamburger {
  display: none; margin-left: 0.5rem; font-size: 1.25rem; line-height: 1; font-weight: 600;
  border: 1px solid var(--border); border-radius: 8px; box-shadow: none; background: var(--bg); color: var(--fg);
  padding: 0.5rem 0.7rem; cursor: pointer; /* ~44px touch target */
}
.hamburger:hover { transform: none; box-shadow: none; background: var(--accent-soft); }
.hamburger:active { transform: none; box-shadow: none; }

.hero-minimal {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: clamp(3rem, 12vw, 6rem) clamp(1rem, 4vw, 2rem);
  min-height: min(78vh, 720px);
}
.hero-minimal h1 {
  font-family: var(--font-display, inherit);
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: var(--display-weight, 600);
  letter-spacing: var(--display-track, -0.04em);
  line-height: 1.05;
  max-width: 18ch;
  text-wrap: balance;
}
.hero-minimal .sub {
  margin-top: 1rem; font-size: clamp(0.95rem, 2vw, 1.125rem);
  color: var(--muted); max-width: 42ch;
}

.install-cmd {
  margin-top: 2.25rem; width: min(100%, 520px);
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; text-align: left;
  box-shadow: 0 1px 2px color-mix(in srgb, var(--fg) 6%, transparent);
}
.install-cmd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.55rem 0.85rem; font-size: 0.7rem; color: var(--muted);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--fg) 4%, var(--bg));
}
.install-cmd-body {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  padding: 0.85rem 1rem;
  font-family: var(--font-mono, ui-monospace, monospace);
  font-size: clamp(0.72rem, 2vw, 0.8125rem);
  overflow-x: auto;
}
.install-cmd-body code { flex: 1; }
.btn-copy {
  flex-shrink: 0; font-size: 0.65rem; padding: 0.35rem 0.65rem;
  border-radius: 6px; border: 1px solid var(--border);
  background: var(--bg); color: var(--fg); cursor: pointer;
}
.btn-copy.copied { background: var(--accent); color: var(--btn-fg); border-color: transparent; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2.5rem) 2rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr repeat(4, 1fr);
  gap: 2rem; max-width: 1100px; margin: 0 auto;
}
.footer-brand p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); max-width: 22ch; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a { color: var(--muted); transition: color 0.15s; }
.footer-social a:hover { color: var(--fg); opacity: 1; }

.footer-col h3 {
  font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 0.75rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.4rem; font-size: 0.8125rem; color: var(--muted); }
.footer-copy { max-width: 1100px; margin: 2rem auto 0; font-size: 0.72rem; color: var(--muted); }

.page-main {
  flex: 1; max-width: 720px; margin: 0 auto;
  padding: 5rem clamp(1rem, 4vw, 2rem) 4rem;
  width: 100%; min-width: 0; box-sizing: border-box;
  overflow-x: clip;
}
.page-main h1 { font-family: var(--font-display, inherit); font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; margin-bottom: 1.5rem; }
.page-main h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; letter-spacing: -0.02em; }
.page-main p, .page-main li { color: var(--muted); line-height: 1.7; margin-bottom: 0.75rem; }
.page-main ul { padding-left: 1.25rem; margin-bottom: 1rem; }

.hub-pick {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 50;
  font-size: 0.72rem; padding: 0.45rem 0.75rem; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg); color: var(--muted);
}

.page-meta { font-size: 0.8125rem; color: var(--muted); margin: -0.75rem 0 1.5rem; }

.card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
@media (max-width: 600px) { .card-grid { grid-template-columns: 1fr; } }
.card {
  border: 1px solid var(--border); padding: 1.25rem; border-radius: 12px; box-shadow: none;
  background: var(--surface, var(--bg));
  transition: opacity 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: none; box-shadow: none; border-color: var(--border-strong); }
.card-head { margin-bottom: 0.5rem; }
.card h3 { font-size: 0.95rem; margin-bottom: 0.4rem; }
.card p { font-size: 0.85rem; color: var(--muted); line-height: 1.55; margin-bottom: 0; }

.status { display: inline-block; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.2rem 0.5rem; border: 1px solid var(--border-strong, #d9d9d6); border-radius: 999px; }
.status.in-progress { background: #7dd3fc; }
.status.shipped { background: #86efac; }
.status.planned { background: #ddd; }
.status.future { background: #eee; color: #666; }
.price-placeholder { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; letter-spacing: -0.02em; }

.timeline { margin: 1.5rem 0; }
.tl-item { display: flex; gap: 1.25rem; padding: 1rem 0; border-top: 1px solid var(--border, #ebebea); }
.tl-item:first-child { border-top: none; }
.tl-phase { flex-shrink: 0; width: 6.5rem; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding-top: 0.1rem; }
.tl-body { font-size: 0.9rem; color: var(--muted); }
.tl-body strong { color: var(--fg); }
.tl-body em { color: var(--fg); font-style: normal; }

h3 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; letter-spacing: -0.02em; }

.hub-main { flex: 1; max-width: 640px; margin: 0 auto; padding: 3rem 1.25rem 4rem; width: 100%; }
.hub-main h1 { font-family: var(--font-display, inherit); font-size: 1.5rem; margin-bottom: 0.35rem; letter-spacing: -0.03em; }
.hub-main > p { color: var(--muted); font-size: 0.875rem; margin-bottom: 1.5rem; }
.hub-list { list-style: none; display: grid; gap: 0.5rem; }
.hub-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: var(--hub-radius, 10px);
  background: color-mix(in srgb, var(--bg) 96%, var(--fg) 4%); font-size: 0.875rem;
}
.hub-list a.is-current { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.hub-tag { font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.65rem; color: var(--muted); text-align: right; }

@media (max-width: 900px) {
  .site-nav { flex-wrap: wrap; gap: 0.4rem; }
  .nav-links { order: 3; width: 100%; justify-content: center; gap: 0.9rem; font-size: 0.75rem; padding-top: 0.4rem; border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
/* T8 DC-1: below 680px, nav collapses to wordmark + one primary CTA + hamburger.
   Hamburger toggles .nav-open on .site-nav (shell.js); nav-links renders as a
   full-width dropdown panel when open. */
@media (max-width: 680px) {
  .site-nav { position: relative; flex-wrap: nowrap; }
  .nav-links { display: none; }
  .nav-sign { display: none; }
  .hamburger { display: inline-block; }
  .site-nav.nav-open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem;
    position: absolute; top: 100%; left: 0; right: 0; width: auto; order: 0;
    background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
    padding: 1rem 1.1rem; z-index: 39;
  }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .site-nav {
    padding: 0.5rem max(0.75rem, env(safe-area-inset-left, 0px))
             0.5rem max(0.75rem, env(safe-area-inset-right, 0px));
    gap: 0.3rem;
    max-width: 100%;
  }
  .nav-links { gap: 0.6rem; font-size: 0.7rem; padding-top: 0.3rem; }
  .nav-actions { gap: 0.35rem; flex-shrink: 0; }
  .nav-sign { font-size: 0.72rem; }
  .btn { padding: 0.35rem 0.65rem; font-size: 0.72rem; }
  .hero-minimal { padding: 3rem 0.75rem; min-height: 60vh; }
  .hero-minimal h1 { max-width: 100%; }
  .page-main {
    padding: 2.5rem max(0.75rem, env(safe-area-inset-left, 0px))
             2rem max(0.75rem, env(safe-area-inset-right, 0px));
  }
  .page-main h1 { font-size: clamp(1.5rem, 8vw, 2rem); }
  .page-main pre { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .card { padding: 0.85rem; }
  .tl-item { gap: 0.75rem; flex-direction: column; }
  .tl-phase { width: auto; }
  .footer-grid { gap: 1.25rem; }
  #cookie-banner p { min-width: 0; flex: 1 1 100%; }
  #cookie-banner .cookie-actions { width: 100%; }
  #cookie-banner .btn { flex: 1; min-height: 2.75rem; justify-content: center; }
}

/* ===== T8 travel-pivot component vocabulary (approved wireframe w2, 2026-07-10) =====
   Shared by index.html (hero chat card, waitlist), partners.html (dashboard card,
   pricing, FAQ, closer band, booking queue row) and travel.html (booking steps).
   Neubrutal tokens only; documented as vocabulary extensions per design review. */
.ex-chip {
  display: inline-block; font-family: var(--font-mono, ui-monospace, monospace);
  font-size: 0.78rem; border: 1px solid var(--border-strong); background: var(--bg);
  padding: 0.4rem 0.65rem; margin-top: 1rem; border-radius: 999px; box-shadow: none;
}
.cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn-white { background: var(--bg); color: var(--fg); }
.proofline { font-size: 0.82rem; font-weight: 800; margin-top: 1rem; }
.chatcard {
  flex: 1.15; border: 1px solid var(--border); border-radius: 12px; box-shadow: none; background: var(--surface, var(--bg));
  padding: 1.1rem; font-size: 0.82rem; line-height: 1.5; min-width: 0; text-align: left;
}
.chatcard .msg { margin-bottom: 0.85rem; }
.chatcard .who { font-weight: 800; font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.2rem; }
.resultcard { border: 1px solid var(--border); border-radius: 12px; padding: 0.7rem; margin: 0.5rem 0; box-shadow: none; background: var(--surface, var(--bg)); }
.resultcard b { font-family: var(--font-display, inherit); }
.chip-verified { display: inline-block; font-size: 0.62rem; font-weight: 600; border: 1px solid var(--border-strong); border-radius: 999px; padding: 0.05rem 0.45rem; margin-left: 0.35rem; background: var(--accent-soft); color: var(--fg); }
.requestedline { border: 1.5px dashed var(--border-strong, #d9d9d6); background: #e0f2fe; padding: 0.55rem 0.7rem; font-size: 0.78rem; margin-bottom: 0.6rem; }
.confirmline { border: 1px solid var(--border-strong); border-radius: 8px; background: #eafbe7; padding: 0.6rem 0.7rem; font-weight: 700; box-shadow: none; }
.cardcaption { font-size: 0.72rem; color: var(--muted); margin-top: 0.6rem; }
/* DC-7: de-carded steps — numeral + 2px left rule, not boxed cards */
.stepsline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.stepn { border-left: 2px solid var(--border-strong, #d9d9d6); padding-left: 1.1rem; }
.stepn .n { font-family: var(--font-display, inherit); font-weight: 700; font-size: 2.6rem; line-height: 1; display: block; margin-bottom: 0.5rem; }
.stepn p { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }
@media (max-width: 900px) { .stepsline { grid-template-columns: 1fr; } }
.pricing-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; max-width: 760px; }
@media (max-width: 700px) { .pricing-duo { grid-template-columns: 1fr; } }
.price-box { border: 1px solid var(--border); border-radius: 14px; box-shadow: none; padding: 1.35rem; background: var(--surface, var(--bg)); }
.price-box .amt { font-family: var(--font-display, inherit); font-weight: 700; font-size: 2.4rem; }
.price-box p { font-size: 0.85rem; color: var(--muted); margin-top: 0.35rem; }
.faq dt { font-weight: 800; margin-top: 1rem; }
.faq dd { color: var(--muted); margin: 0.25rem 0 0; }
.closer {
  border-top: 1px solid var(--border); background: var(--btn-bg);
  padding: 2.5rem clamp(1rem, 4vw, 2.5rem);
  display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap;
}
.closer h2 { font-family: var(--font-display, inherit); font-size: clamp(1.4rem, 3.5vw, 2rem); letter-spacing: -0.03em; margin: 0; }
.qrow { display: flex; align-items: center; gap: 1rem; border: 1px solid var(--border); border-radius: 12px; box-shadow: none; background: var(--surface, var(--bg)); padding: 0.9rem 1rem; margin-bottom: 0.85rem; }
.bstatus { font-size: 0.62rem; font-weight: 600; border: 1px solid var(--border-strong); border-radius: 6px; padding: 0.15rem 0.5rem; text-transform: uppercase; }
.bstatus.st-req { background: var(--btn-bg); }
.bstatus.st-conf { background: #bbf7d0; }
.wl-label { display: block; font-size: 0.78rem; font-weight: 800; margin-bottom: 0.4rem; }
.waitlist { display: flex; gap: 0.85rem; margin-top: 0.5rem; max-width: 520px; }
.waitlist input {
  flex: 1; min-width: 0; border: 1px solid var(--border-strong); border-radius: 8px; padding: 0.8rem; font: inherit;
  font-size: 0.9rem; background: var(--bg); color: var(--fg); box-shadow: none;
}
.waitlist .btn { padding: 0.8rem 1.4rem; } /* 44px+ touch target (design review a11y) */
.finequote { font-size: 0.72rem; color: var(--muted); margin-top: 0.6rem; }
.wl-msg { font-size: 0.85rem; font-weight: 700; margin-top: 0.75rem; min-height: 1.2em; }

/* ponytail: sign-in form, reuses tokens, no new color/font */
.auth-main { flex: 1; display: flex; align-items: center; justify-content: center; padding: clamp(2rem, 8vw, 4rem) clamp(1rem, 4vw, 2rem); }
.auth-card { width: min(100%, 400px); border: 1px solid var(--border); background: var(--bg); padding: clamp(1.5rem, 5vw, 2.25rem); }
.auth-title { font-family: var(--font-display, inherit); font-size: clamp(1.5rem, 5vw, 1.85rem); letter-spacing: -0.02em; line-height: 1.1; }
.auth-sub { color: var(--muted); font-size: 0.875rem; margin: 0.4rem 0 1.5rem; }
.auth-google { width: 100%; gap: 0.5rem; }
.auth-google svg { flex-shrink: 0; }
.auth-card form { display: grid; gap: 0.25rem; }
.auth-card label { font-size: 0.72rem; font-weight: 600; margin-top: 0.7rem; }
.auth-card input {
  font: inherit; font-size: 0.9rem; padding: 0.6rem 0.7rem; width: 100%;
  border: 1px solid var(--border); background: var(--bg); color: var(--fg);
  box-sizing: border-box; min-width: 0;
}
@media (max-width: 680px) {
  .auth-card input { font-size: 1rem; min-height: 2.75rem; }
}
.auth-card input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.auth-submit { width: 100%; margin-top: 1.1rem; }
.auth-divider { display: flex; align-items: center; gap: 0.75rem; margin: 1.1rem 0; color: var(--muted); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-msg { font-size: 0.8rem; margin-top: 0.9rem; min-height: 1.1em; }
.auth-msg.ok { color: var(--muted); }
.auth-msg.err { color: #b00020; }
.auth-toggle { font-size: 0.8rem; color: var(--muted); margin-top: 1.25rem; }
.auth-toggle a { color: var(--fg); font-weight: 600; text-decoration: underline; }
.auth-card input:disabled, .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-captcha { margin-top: 1rem; }
.auth-captcha:empty { margin-top: 0; }

/* ponytail: cookie consent banner, fixed bottom, dark bar */
#cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.95rem clamp(1rem, 4vw, 2rem);
  /* Readable on light + dark — theme tokens, not a black sheet. */
  background: var(--surface, var(--bg, #fff)); color: var(--fg, #000);
  border-top: 1px solid var(--border, #e5e4e1);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.06);
  font-size: 0.8125rem; line-height: 1.45;
  flex-wrap: wrap;
}
#cookie-banner p { flex: 1; min-width: 200px; margin: 0; color: var(--muted, #404040); }
#cookie-banner .cookie-actions { display: flex; gap: 0.55rem; flex-shrink: 0; }
#cookie-banner .btn {
  font-size: 0.78rem; font-weight: 600; padding: 0.5rem 0.95rem; white-space: nowrap;
  min-height: 2.5rem;
}
#cookie-banner .btn-ghost {
  background: transparent; border: 1px solid var(--muted, #666); color: var(--fg, #000);
  box-shadow: none;
}
#cookie-banner .btn-primary { box-shadow: none; }

/* ponytail: dashboard, API key management after sign in */
.dash-main {
  flex: 1; width: min(100%, 640px); margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 3rem) clamp(1rem, 4vw, 2rem);
}
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.dash-head h1 { font-family: var(--font-display, inherit); font-size: 1.5rem; letter-spacing: -0.03em; }
.dash-card { border: 1px solid var(--border); padding: clamp(1.25rem, 3vw, 1.75rem); }
.dash-card-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.25rem; }
.dash-card-head h2 { font-size: 1rem; letter-spacing: -0.02em; margin: 0; }
.dash-key-reveal { background: color-mix(in srgb, var(--accent) 8%, var(--bg)); border: 1px solid var(--accent); padding: 0.75rem 1rem; margin-bottom: 1rem; }
.dash-key-reveal p { font-size: 0.75rem; color: var(--muted); margin-bottom: 0.5rem; }
.dash-key-display { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono, ui-monospace, monospace); font-size: 0.8125rem; }
.dash-key-display code { flex: 1; word-break: break-all; }
.dash-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.dash-table th { text-align: left; font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); padding: 0.5rem 0.5rem 0.5rem 0; border-bottom: 1px solid var(--border); font-weight: 600; }
.dash-table td { padding: 0.6rem 0.5rem 0.6rem 0; border-bottom: 1px solid var(--border); color: var(--muted); }
.dash-table td:first-child { color: var(--fg); }
.dash-empty { text-align: center; color: var(--muted); padding: 1.5rem 0 !important; }
.dash-snippets { margin-top: 2rem; }
.dash-snippets h2 { font-size: 1rem; margin: 0 0 0.35rem; }
.dash-snippets > p { font-size: 0.8rem; color: var(--muted); margin-bottom: 0.75rem; }
.dash-code { position: relative; }
.dash-code pre { background: color-mix(in srgb, var(--fg) 6%, var(--bg)); border: 1px solid var(--border); padding: 1rem; overflow-x: auto; font-size: 0.78rem; line-height: 1.5; }
.dash-code .btn-copy { position: absolute; top: 0.5rem; right: 0.5rem; }
.dash-client-hint { font-size: 0.75rem !important; color: var(--muted); margin-top: 0.5rem; line-height: 1.6; }
.dash-client-hint code { font-size: 0.7rem; }
.badge { display: inline-block; font-size: 0.6rem; font-weight: 600; padding: 0.15rem 0.5rem; border-radius: 999px; }
.badge-active { background: color-mix(in srgb, #22c55e 15%, transparent); color: #22c55e; }
.badge-revoked { background: color-mix(in srgb, #ef4444 15%, transparent); color: #ef4444; }

@media (max-width: 600px) {
  .dash-table th:nth-child(2), .dash-table td:nth-child(2),
  .dash-table th:nth-child(3), .dash-table td:nth-child(3) { display: none; }
}

/* ponytail: cookie preferences modal overlay */
#cookie-preferences {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.5);
}
#cookie-preferences .cookie-panel {
  background: var(--bg); color: var(--fg);
  padding: 2rem; border: 1px solid var(--border-strong);
  box-shadow: none; max-width: 400px; width: 90%; border-radius: 12px;
}
#cookie-preferences h3 { font-size: 1.1rem; margin: 0 0 1rem; }
#cookie-preferences label {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.875rem; margin-bottom: 0.5rem;
}
#cookie-preferences .cookie-panel > .btn { margin-top: 1rem; margin-right: 0.5rem; }

/* ponytail: rich tooltips via data-tip; CSS-only, no JS; ceiling = long copy wraps poorly */
[data-tip] {
  border-bottom: 1px dotted color-mix(in srgb, var(--muted) 70%, transparent);
  cursor: help;
  position: relative;
}
[data-tip]:hover::after,
[data-tip]:focus-visible::after {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.45rem);
  z-index: 50;
  min-width: 12rem;
  max-width: min(22rem, 70vw);
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  background: var(--surface, var(--bg));
  color: var(--fg);
  font-size: 0.78rem;
  font-weight: 450;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  box-shadow: 0 8px 24px color-mix(in srgb, #000 12%, transparent);
  pointer-events: none;
  white-space: normal;
}
@media (prefers-reduced-motion: no-preference) {
  [data-tip]:hover::after,
  [data-tip]:focus-visible::after {
    animation: tip-in 120ms ease-out;
  }
}
@keyframes tip-in {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* SaaS stand-in for local-business before/after gallery */
.sw-ba {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
.sw-ba figure {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--surface, var(--bg));
}
.sw-ba figcaption {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}
.sw-ba p { margin: 0; font-size: 0.92rem; color: var(--fg); line-height: 1.55; }
@media (max-width: 720px) {
  .sw-ba { grid-template-columns: 1fr; }
}
