/* Shared marketing chrome + content pages (used with styles.css) */

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.2rem;
  border-bottom: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.is-active {
  border-bottom-color: var(--seal);
  color: var(--seal);
}

.site-nav .nav-cta {
  margin-left: 0.35rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--seal);
  color: var(--seal);
  border-bottom-color: var(--seal);
}

.site-nav .nav-cta:hover {
  background: var(--seal);
  color: #fbf8f2;
}

.top-wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
}

.studio-intro {
  --intro-ink: #171410;
  position: relative;
  flex-shrink: 0;
  max-width: 1480px;
  width: 100%;
  margin: 0 auto;
  padding: 0.75rem 1.25rem 0.8rem;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  background:
    radial-gradient(85% 120% at 0% 0%, rgba(124, 47, 36, 0.09), transparent 58%),
    radial-gradient(70% 90% at 100% 110%, rgba(160, 120, 56, 0.1), transparent 55%),
    linear-gradient(165deg, #f8f3eb 0%, #f3ebe0 48%, #faf6f0 100%);
  isolation: isolate;
}

.studio-intro::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--seal) 0%, var(--gold) 100%);
  opacity: 0.9;
}

.studio-intro::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: -5rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  border: 1px solid rgba(124, 47, 36, 0.12);
  pointer-events: none;
  z-index: 0;
}

.studio-intro-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(15rem, 1fr) minmax(19rem, 1.12fr);
  gap: 0.85rem 1.35rem;
  align-items: stretch;
  width: 100%;
}

.studio-intro-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.15rem 0;
}

.studio-intro-eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--seal);
}

.studio-intro-tagline {
  margin: 0;
  max-width: 15em;
  font-family: "Fraunces", "Plus Jakarta Sans", Georgia, serif;
  font-optical-sizing: auto;
  font-size: clamp(1.08rem, 1.75vw, 1.32rem);
  font-weight: 600;
  font-variation-settings: "SOFT" 40, "WONK" 0.4;
  line-height: 1.2;
  color: var(--intro-ink);
  letter-spacing: -0.02em;
}

.studio-intro-tagline em {
  display: inline;
  font-style: italic;
  font-weight: 500;
  color: var(--seal-deep);
}

.studio-intro-meta {
  margin: 0.4rem 0 0;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.studio-intro-meta a {
  color: var(--seal);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid rgba(124, 47, 36, 0.35);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.studio-intro-meta a:hover {
  color: var(--seal-deep);
  border-bottom-color: var(--seal-deep);
}

.studio-intro-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  margin: 0;
}

.intro-status-item {
  display: inline-block;
  padding: 0.18rem 0.42rem;
  border-radius: 999px;
  background: rgba(124, 47, 36, 0.1);
  color: var(--seal-deep);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}

.studio-intro-panel {
  margin: 0;
  padding: 0.6rem 0.75rem 0.65rem;
  border: 1px solid rgba(160, 120, 56, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 252, 247, 0.92) 0%, rgba(248, 240, 228, 0.78) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.studio-intro-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.45rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(160, 120, 56, 0.28);
}

.studio-intro-points-label {
  margin: 0;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.studio-intro-features {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
}

.studio-intro-features li {
  margin: 0;
  padding: 0;
}

.studio-intro-features li span {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  min-height: 100%;
  padding: 0.38rem 0.45rem;
  font-size: 0.74rem;
  line-height: 1.28;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(160, 120, 56, 0.22);
}

.studio-intro-features li span::before {
  content: "";
  flex-shrink: 0;
  width: 0.35rem;
  height: 0.35rem;
  margin-top: 0.28rem;
  background: var(--seal);
  opacity: 0.65;
  transform: rotate(45deg);
}

.studio-intro[data-mode="plagiarism"] .studio-intro-features li span::before {
  background: var(--gold);
}

@media (prefers-reduced-motion: no-preference) {
  .studio-intro-eyebrow,
  .studio-intro-tagline,
  .studio-intro-meta,
  .studio-intro-panel-head,
  .studio-intro-features li {
    animation: studioIntroIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .studio-intro-eyebrow { animation-delay: 0.02s; }
  .studio-intro-tagline { animation-delay: 0.08s; }
  .studio-intro-meta { animation-delay: 0.16s; }
  .studio-intro-panel-head { animation-delay: 0.12s; }
  .studio-intro-features li:nth-child(1) { animation-delay: 0.18s; }
  .studio-intro-features li:nth-child(2) { animation-delay: 0.24s; }
  .studio-intro-features li:nth-child(3) { animation-delay: 0.3s; }
  .studio-intro-features li:nth-child(4) { animation-delay: 0.36s; }
}

@keyframes studioIntroIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

body.is-marketing {
  height: auto;
  min-height: 100%;
}

body.is-marketing .top {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

body.is-marketing .foot {
  max-width: 1100px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.foot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85rem;
}

.foot-links a {
  color: var(--ink-soft);
  text-decoration: none;
}

.foot-links a:hover { color: var(--seal); }

.foot-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  flex-wrap: wrap;
}

/* —— Home below-fold —— */

.marketing {
  max-width: 1480px;
  width: 100%;
  margin: 0 auto;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  background: var(--paper);
}

.m-section {
  padding: 3rem 1.75rem;
  border-top: 1px solid var(--rule);
}

.m-section-inner {
  max-width: 980px;
  margin: 0 auto;
}

.m-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--seal);
}

.m-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--ink);
}

.m-lede {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.m-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.m-steps li {
  padding: 1.1rem 0 0;
  border-top: 2px solid var(--seal);
}

.m-steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.m-steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.45;
}

.m-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
}

.m-card {
  padding: 0;
  border: 0;
  background: none;
}

.m-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
}

.m-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.95rem;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.trust-list li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}

.trust-list strong {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--seal);
}

.trust-list span {
  color: var(--ink-soft);
  line-height: 1.45;
  font-size: 0.95rem;
}

.m-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  font: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid var(--rule);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.m-btn.primary {
  background: var(--seal);
  border-color: var(--seal);
  color: #fbf8f2;
}

.m-btn.primary:hover { background: var(--seal-deep); }
.m-btn:hover { border-color: var(--ink); }

.m-faq-teaser details {
  border-bottom: 1px solid var(--rule);
  padding: 0.85rem 0;
}

.m-faq-teaser summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  list-style: none;
}

.m-faq-teaser summary::-webkit-details-marker { display: none; }
.m-faq-teaser summary::before {
  content: "+  ";
  color: var(--seal);
}
.m-faq-teaser details[open] summary::before { content: "–  "; }

.m-faq-teaser p {
  margin: 0.55rem 0 0;
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.92rem;
}

/* —— Inner content pages —— */

.page {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding: 2.5rem 1.75rem 4rem;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  background: var(--paper);
  flex: 1;
}

.page-hero {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.page-hero .m-title { margin-bottom: 0.6rem; }
.page-hero .m-lede { margin-bottom: 0; }

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
}

.prose h3 {
  margin: 1.5rem 0 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--label);
}

.prose p, .prose li {
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 0.98rem;
}

.prose ul {
  padding-left: 1.2rem;
}

.prose a { color: var(--seal); }

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}

.price-card {
  border: 1px solid var(--rule);
  background: var(--panel);
  padding: 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.price-card.is-featured {
  border-color: var(--seal);
}

.price-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
}

.price-card .price {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--ink);
}

.price-card .price span {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card ul {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
  flex: 1;
}

.price-card .m-btn { margin-top: 0.75rem; align-self: flex-start; }

.faq-list details {
  border-bottom: 1px solid var(--rule);
  padding: 1rem 0;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "+  ";
  color: var(--seal);
}
.faq-list details[open] summary::before { content: "–  "; }

.faq-list p {
  margin: 0.6rem 0 0;
  color: var(--ink-soft);
  line-height: 1.55;
  font-size: 0.95rem;
}

/* Studio: export stamp */

.stamp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.85rem 0 1rem;
}

.stamp-actions .ghost {
  font-size: 0.72rem;
  padding: 0.55rem 0.85rem;
}

/* Report page */

.report-shell {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

.report-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.report-doc {
  border: 1px solid var(--rule);
  background: var(--panel);
  padding: 2rem 1.75rem;
}

.report-doc .brand-mark {
  font-size: 1.35rem;
}

.report-meta {
  margin: 1rem 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.45;
}

.report-band {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--ink);
}

.report-band.band-human,
.report-score.band-human { color: var(--human); }

.report-band.band-mixed,
.report-band.band-uncertain,
.report-score.band-mixed,
.report-score.band-uncertain { color: var(--mixed); }

.report-band.band-machine,
.report-score.band-machine { color: var(--machine); }

.report-score {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0 0 1rem;
  color: var(--ink);
}

.report-section {
  margin-top: 1.35rem;
}

.report-section h3 {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--label);
}

.report-section ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.45;
  font-size: 0.92rem;
}

.report-disclaimer {
  margin-top: 1.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.82rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.report-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-soft);
}

@media print {
  .top, .foot, .report-toolbar, .site-nav, .header-meta { display: none !important; }
  .report-shell { padding: 0; max-width: none; }
  .report-doc { border: 0; padding: 0; }
  body { background: #fff; }
}

@media (max-width: 960px) {
  .m-steps, .m-grid-2, .price-grid { grid-template-columns: 1fr; }
  .trust-list li { grid-template-columns: 1fr; gap: 0.25rem; }
  .top-wrap { width: 100%; justify-content: flex-start; }
  .site-nav { justify-content: flex-start; }
  .marketing { border-left: 0; border-right: 0; }
  .page { border-left: 0; border-right: 0; }
  .studio-intro {
    border-left: 0;
    border-right: 0;
    padding: 0.65rem 1rem 0.7rem;
  }

  .studio-intro::before {
    width: 100%;
    height: 2px;
    inset: 0 0 auto 0;
    background: linear-gradient(90deg, var(--seal) 0%, var(--gold) 55%, transparent 100%);
  }

  .studio-intro-inner {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .studio-intro-panel-head {
    flex-wrap: wrap;
  }

  .studio-intro-status {
    justify-content: flex-start;
  }

  .studio-intro-tagline {
    max-width: none;
  }

  .studio-intro-features {
    grid-template-columns: 1fr;
  }
  body.is-marketing .top,
  body.is-marketing .foot { border-left: 0; border-right: 0; }
  .top { flex-wrap: wrap; }
}

/* Auth */
.auth-page { display: flex; justify-content: center; padding-top: 2rem; padding-bottom: 3rem; }
.auth-card {
  width: min(420px, 100%);
  padding: 1.5rem 1.5rem 1.75rem;
  border: 1px solid var(--rule);
  background: var(--panel);
}
.auth-card .m-title { font-size: 1.65rem; margin: 0.2rem 0 0.35rem; }
.auth-card .m-lede { margin: 0 0 1rem; font-size: 0.95rem; }
.auth-error {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(124, 47, 36, 0.35);
  color: var(--seal);
  font-size: 0.88rem;
  background: rgba(124, 47, 36, 0.06);
}
.auth-ok {
  margin: 0 0 0.85rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(47, 93, 69, 0.35);
  color: var(--human);
  font-size: 0.88rem;
  background: rgba(47, 93, 69, 0.08);
}
.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.75rem;
}
.verify-banner {
  max-width: 1480px;
  width: 100%;
  margin: 0 auto;
  padding: 0.55rem 1.75rem;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid rgba(124, 47, 36, 0.2);
  background: rgba(124, 47, 36, 0.06);
  font-size: 0.88rem;
  color: var(--ink);
}
.verify-banner[hidden] { display: none !important; }
.verify-banner p { margin: 0; }
.verify-banner a { color: var(--seal); font-weight: 600; }
.verify-banner .auth-link {
  display: inline;
  padding: 0;
  font-size: inherit;
}
.auth-oauth { display: grid; gap: 0.5rem; margin-bottom: 0.85rem; }
.auth-oauth-btn {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--rule);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  background: #fff;
}
.auth-oauth-btn:hover { border-color: var(--seal); color: var(--seal); }
.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.65rem;
  align-items: center;
  margin: 0.4rem 0 0.9rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  background: var(--rule);
}
.auth-form label {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.auth-form label[hidden],
.auth-pw-rules[hidden],
.auth-pw-match[hidden],
.auth-hint[hidden] {
  display: none !important;
}
.auth-form input {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--rule);
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink);
  font-weight: 400;
}
.auth-form .m-btn { width: 100%; margin-top: 0.35rem; text-align: center; }
.auth-optional { font-weight: 400; text-transform: none; letter-spacing: 0; }
.auth-switch { margin: 1rem 0 0; text-align: center; }
.auth-link {
  border: 0;
  background: none;
  color: var(--seal);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
}
.auth-note {
  margin: 1rem 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  line-height: 1.4;
}
.auth-hint {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.35;
}
.auth-pw-rules {
  margin: -0.45rem 0 0.85rem;
  padding: 0;
  list-style: none;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.auth-pw-rules li {
  position: relative;
  padding-left: 1.35rem;
  margin: 0.2rem 0;
}
.auth-pw-rules li::before {
  content: "○";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
}
.auth-pw-rules li.is-met {
  color: var(--human);
}
.auth-pw-rules li.is-met::before {
  content: "✓";
  color: var(--human);
  font-weight: 700;
}
.auth-pw-match {
  margin: -0.35rem 0 0.85rem;
  padding-left: 1.35rem;
  position: relative;
  font-size: 0.8rem;
  color: var(--ink-soft);
}
.auth-pw-match::before {
  content: "○";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.75rem;
}
.auth-pw-match.is-met {
  color: var(--human);
}
.auth-pw-match.is-met::before {
  content: "✓";
  color: var(--human);
  font-weight: 700;
}
#authSlot {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  position: relative;
}
.auth-profile {
  position: relative;
}
.auth-profile-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  padding: 0.2rem 0.45rem 0.2rem 0.2rem;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}
.auth-profile-toggle:hover,
.auth-profile-toggle[aria-expanded="true"] {
  border-color: var(--seal);
}
.auth-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: var(--seal);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.auth-profile-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.auth-profile-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--ink-soft);
  margin-right: 0.15rem;
}
.auth-profile-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  z-index: 40;
  min-width: 14rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 8px 24px rgba(28, 22, 16, 0.12);
}
.auth-profile-head {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.75rem 0.85rem;
  border-bottom: 1px solid var(--rule);
}
.auth-profile-head-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}
.auth-profile-head-email {
  font-size: 0.75rem;
  color: var(--ink-soft);
  word-break: break-all;
}
.auth-profile-head-plan {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--seal);
  margin-top: 0.15rem;
}
.auth-profile-item {
  display: block;
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.auth-profile-item:hover {
  background: rgba(92, 58, 33, 0.06);
  color: var(--seal);
}
.auth-profile-signout {
  border-top: 1px solid var(--rule);
  font-weight: 600;
}
.auth-user {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-soft);
  max-width: 10rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-decoration: none;
}
a.auth-user:hover {
  color: var(--seal);
  text-decoration: underline;
}
.account-card { width: min(480px, 100%); }
.account-dl {
  margin: 1rem 0 0;
  padding: 0;
}
.account-dl > div {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.92rem;
}
.account-dl dt {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.account-dl dd {
  margin: 0;
  color: var(--ink);
  word-break: break-word;
}
.account-dl dd.is-ok { color: var(--human); font-weight: 600; }
.account-dl dd.is-warn { color: var(--seal); font-weight: 600; }
.account-section-title {
  margin: 1.25rem 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
}
.account-verify {
  margin-top: 0.5rem;
  padding-top: 0.25rem;
}
.auth-signout {
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  cursor: pointer;
}
.auth-signout:hover { border-color: var(--seal); color: var(--seal); }
