/* P3-TRUST-S1 — Trust & Safety public Gold authority.
   Presentation only. Shared across verify / safety guidance / reports / privacy. */
html[data-sh-theme="dark"] body.trust-gold{
  --tg-bg:#111112;
  --tg-surface:#171719;
  --tg-surface-2:#1e1e21;
  --tg-control:#242428;
  --tg-control-hover:#2d2d32;
  --tg-text:#f5f5f7;
  --tg-muted:#b7b7c2;
  --tg-dim:#92929d;
  --tg-line:#34343a;
  --tg-accent:#9b87d4;
  --tg-accent-hover:#aa97de;
  --tg-accent-soft:rgba(155,135,212,.14);
  --tg-good:#86efac;
  --tg-good-soft:rgba(34,197,94,.12);
  --tg-warn:#fde68a;
  --tg-warn-soft:rgba(245,158,11,.12);
  --tg-danger:#fca5a5;
  --tg-danger-soft:rgba(239,68,68,.12);
}
html[data-sh-theme="light"] body.trust-gold{
  --tg-bg:#f7f7f8;
  --tg-surface:#ffffff;
  --tg-surface-2:#f0f0f3;
  --tg-control:#ececf0;
  --tg-control-hover:#e3e3e8;
  --tg-text:#1c1c1e;
  --tg-muted:#5f6068;
  --tg-dim:#6f7078;
  --tg-line:#d5d5dc;
  --tg-accent:#6d5ca5;
  --tg-accent-hover:#5d4d93;
  --tg-accent-soft:#eeeaf8;
  --tg-good:#166534;
  --tg-good-soft:#edf8f1;
  --tg-warn:#92400e;
  --tg-warn-soft:#fff7e8;
  --tg-danger:#b42318;
  --tg-danger-soft:#fff0ef;
}

html[data-sh-theme] body.trust-gold{
  background:var(--tg-bg)!important;
  background-image:none!important;
  color:var(--tg-text)!important;
  padding:32px 24px 64px!important;
  font-weight:400;
}
html[data-sh-theme] body.trust-gold h1,
html[data-sh-theme] body.trust-gold h2,
html[data-sh-theme] body.trust-gold h3,
html[data-sh-theme] body.trust-gold h4{color:var(--tg-text)!important;font-weight:500!important}
html[data-sh-theme] body.trust-gold p,
html[data-sh-theme] body.trust-gold .intro,
html[data-sh-theme] body.trust-gold .help,
html[data-sh-theme] body.trust-gold .fine,
html[data-sh-theme] body.trust-gold .mini,
html[data-sh-theme] body.trust-gold .content p,
html[data-sh-theme] body.trust-gold .content ul{color:var(--tg-muted)!important}
html[data-sh-theme] body.trust-gold .eyebrow{
  color:var(--tg-accent)!important;
  margin:0 0 8px!important;
  font-weight:500!important;
}

/* Flat public shell: whitespace owns hierarchy, not a decorative outer card. */
html[data-sh-theme] body.trust-gold .wrap{width:min(760px,100%)!important;margin:0 auto!important}
html[data-sh-theme] body.trust-gold .wrap>.card,
html[data-sh-theme] body.trust-gold main.card,
html[data-sh-theme] body.trust-gold .privacy-shell .hero{
  background:transparent!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
}
html[data-sh-theme] body.trust-gold .wrap>.card,
html[data-sh-theme] body.trust-gold main.card{padding:0!important}
html[data-sh-theme] body.trust-gold .brand{
  color:var(--tg-text)!important;
  margin:0 0 56px!important;
  font-weight:500!important;
}
html[data-sh-theme] body.trust-gold .mark,
html[data-sh-theme] body.trust-gold .brand-mark{
  background:var(--tg-accent-soft)!important;
  border:0!important;
  color:var(--tg-accent)!important;
  box-shadow:none!important;
}

/* Reading rhythm. */
html[data-sh-theme] body.trust-gold h1{
  margin:0!important;
  line-height:1.06!important;
  letter-spacing:-.04em!important;
}
html[data-sh-theme] body.trust-gold h1+.intro,
html[data-sh-theme] body.trust-gold h1+p{margin-top:16px!important}
html[data-sh-theme] body.trust-gold h2{margin:48px 0 12px!important}
html[data-sh-theme] body.trust-gold h3{margin:32px 0 8px!important}
html[data-sh-theme] body.trust-gold p{line-height:1.72}

/* Forms are functional containment. */
html[data-sh-theme] body.trust-gold form{margin-top:48px}
html[data-sh-theme] body.trust-gold .field-label,
html[data-sh-theme] body.trust-gold form>label{
  color:var(--tg-text)!important;
  margin:24px 0 8px!important;
  font-weight:500!important;
}
html[data-sh-theme] body.trust-gold form>.field-label:first-of-type,
html[data-sh-theme] body.trust-gold form>label:first-of-type{margin-top:0!important}
html[data-sh-theme] body.trust-gold input,
html[data-sh-theme] body.trust-gold textarea,
html[data-sh-theme] body.trust-gold select,
html[data-sh-theme] body.trust-gold .field{
  background:var(--tg-surface)!important;
  border:1px solid var(--tg-line)!important;
  color:var(--tg-text)!important;
  border-radius:12px!important;
  box-shadow:none!important;
}
html[data-sh-theme] body.trust-gold input::placeholder,
html[data-sh-theme] body.trust-gold textarea::placeholder{color:var(--tg-dim)!important;opacity:1!important}
html[data-sh-theme] body.trust-gold input:focus-visible,
html[data-sh-theme] body.trust-gold textarea:focus-visible,
html[data-sh-theme] body.trust-gold select:focus-visible{
  border-color:var(--tg-accent)!important;
  outline:2px solid color-mix(in srgb,var(--tg-accent) 42%,transparent)!important;
  outline-offset:2px!important;
}
html[data-sh-theme] body.trust-gold .help,
html[data-sh-theme] body.trust-gold .fine{margin-top:8px!important;font-size:13px!important}

/* Actions: one interaction language, semantic danger remains semantic. */
html[data-sh-theme] body.trust-gold .actions{gap:10px!important;margin-top:32px!important}
html[data-sh-theme] body.trust-gold .btn,
html[data-sh-theme] body.trust-gold button.btn,
html[data-sh-theme] body.trust-gold .back{
  border:1px solid transparent!important;
  border-radius:12px!important;
  background:var(--tg-accent)!important;
  color:#fff!important;
  box-shadow:none!important;
  font-weight:500!important;
}
html[data-sh-theme="dark"] body.trust-gold .btn,
html[data-sh-theme="dark"] body.trust-gold button.btn,
html[data-sh-theme="dark"] body.trust-gold .back{color:#111112!important}
html[data-sh-theme] body.trust-gold .btn:hover,
html[data-sh-theme] body.trust-gold button.btn:hover,
html[data-sh-theme] body.trust-gold .back:hover{background:var(--tg-accent-hover)!important}
html[data-sh-theme] body.trust-gold .btn.alt,
html[data-sh-theme] body.trust-gold .back.alt{
  background:var(--tg-control)!important;
  border-color:var(--tg-line)!important;
  color:var(--tg-text)!important;
}
html[data-sh-theme] body.trust-gold .btn.alt:hover,
html[data-sh-theme] body.trust-gold .back.alt:hover{background:var(--tg-control-hover)!important}
html[data-sh-theme] body.trust-gold .btn.warn{
  background:var(--tg-danger-soft)!important;
  border-color:transparent!important;
  color:var(--tg-danger)!important;
}
html[data-sh-theme] body.trust-gold .btn.warn:hover{filter:brightness(.97)}
html[data-sh-theme] body.trust-gold a:focus-visible,
html[data-sh-theme] body.trust-gold button:focus-visible{outline:2px solid var(--tg-accent)!important;outline-offset:3px!important}

/* Verification metadata: remove spreadsheet-like divider stack. */
html[data-sh-theme] body.trust-verify .status{
  margin:16px 0 24px!important;
  padding:8px 11px!important;
  border:0!important;
  border-radius:999px!important;
  background:var(--tg-good-soft)!important;
  color:var(--tg-good)!important;
  box-shadow:none!important;
}
html[data-sh-theme] body.trust-verify .status.bad{background:var(--tg-danger-soft)!important;color:var(--tg-danger)!important}
html[data-sh-theme] body.trust-verify .meta{
  display:grid!important;
  gap:18px!important;
  margin:40px 0 0!important;
  border:0!important;
}
html[data-sh-theme] body.trust-verify .meta div{
  display:grid!important;
  grid-template-columns:minmax(150px,.75fr) minmax(0,1.65fr)!important;
  gap:20px!important;
  padding:0!important;
  border:0!important;
}
html[data-sh-theme] body.trust-verify .meta dt{color:var(--tg-dim)!important;font-weight:500!important}
html[data-sh-theme] body.trust-verify .meta dd{color:var(--tg-text)!important;font-weight:500!important}
html[data-sh-theme] body.trust-verify .creator-email{color:var(--tg-muted)!important}

/* Semantic information surfaces: keep meaning, lose decorative borders. */
html[data-sh-theme] body.trust-gold .notice,
html[data-sh-theme] body.trust-gold .gate,
html[data-sh-theme] body.trust-gold .msg,
html[data-sh-theme] body.trust-gold .good,
html[data-sh-theme] body.trust-gold .bad{
  border:0!important;
  border-radius:12px!important;
  box-shadow:none!important;
  padding:16px 18px!important;
}
html[data-sh-theme] body.trust-gold .notice,
html[data-sh-theme] body.trust-gold .gate,
html[data-sh-theme] body.trust-gold .msg{margin-top:32px!important;background:var(--tg-warn-soft)!important;color:var(--tg-warn)!important}
html[data-sh-theme] body.trust-gold .notice strong,
html[data-sh-theme] body.trust-gold .notice b,
html[data-sh-theme] body.trust-gold .gate strong{color:inherit!important;font-weight:500!important}
html[data-sh-theme] body.trust-gold .msg.ok,
html[data-sh-theme] body.trust-gold .good{background:var(--tg-good-soft)!important;color:var(--tg-good)!important}
html[data-sh-theme] body.trust-gold .bad{background:var(--tg-danger-soft)!important;color:var(--tg-danger)!important}

/* Safety guide: numbers are affordances; rows are not cards. */
html[data-sh-theme] body.trust-guide .domain{
  margin-top:16px!important;
  padding:16px 18px!important;
  background:var(--tg-accent-soft)!important;
  border:0!important;
  border-radius:12px!important;
  color:var(--tg-text)!important;
}
html[data-sh-theme] body.trust-guide .steps{gap:0!important;margin:16px 0 0!important}
html[data-sh-theme] body.trust-guide .step{
  gap:16px!important;
  padding:10px 0!important;
  background:transparent!important;
  border:0!important;
  color:var(--tg-muted)!important;
}
html[data-sh-theme] body.trust-guide .step b{
  background:var(--tg-accent-soft)!important;
  color:var(--tg-accent)!important;
  border:0!important;
}
html[data-sh-theme] body.trust-guide .good,
html[data-sh-theme] body.trust-guide .bad{margin:32px 0 0!important}

/* Link-report form: keep only the input geometry and semantic warning. */
html[data-sh-theme] body.trust-link-report textarea{min-height:132px!important}
html[data-sh-theme] body.trust-link-report .fine{margin-top:32px!important}

/* Invitation report: flatten the old centered glass card. */
html[data-sh-theme] body.trust-invitation-report{
  display:block!important;
  padding-top:72px!important;
}
html[data-sh-theme] body.trust-invitation-report main.card{
  width:min(680px,100%)!important;
  margin:0 auto!important;
}
html[data-sh-theme] body.trust-invitation-report main.card>p:first-of-type{margin-top:16px!important}
html[data-sh-theme] body.trust-invitation-report .mini{margin-top:24px!important}
html[data-sh-theme] body.trust-invitation-report form{margin-top:48px!important}
html[data-sh-theme] body.trust-invitation-report .btn{margin-top:32px!important}

/* Privacy: article page, not a giant card. Preserve canonical logo asset/treatment. */
html[data-sh-theme] body.trust-privacy{padding-top:24px!important}
html[data-sh-theme] body.trust-privacy .privacy-shell{max-width:980px!important;margin:0 auto!important}
html[data-sh-theme] body.trust-privacy .topbar{
  margin:0 0 64px!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
html[data-sh-theme] body.trust-privacy .topbar .brand{margin:0!important;color:var(--tg-text)!important}
html[data-sh-theme] body.trust-privacy .topbar .btn{margin:0!important}
html[data-sh-theme] body.trust-privacy .topbar .btn:not(.primary){background:var(--tg-control)!important;border-color:var(--tg-line)!important;color:var(--tg-text)!important}
html[data-sh-theme] body.trust-privacy .topbar .btn:not(.primary):hover{background:var(--tg-control-hover)!important}
html[data-sh-theme] body.trust-privacy .hero-head{
  padding:0!important;
  background:transparent!important;
  border:0!important;
}
html[data-sh-theme] body.trust-privacy .hero-head p{max-width:760px!important;margin:16px 0 0!important;color:var(--tg-muted)!important}
html[data-sh-theme] body.trust-privacy .content{
  max-width:820px!important;
  padding:48px 0 0!important;
  color:var(--tg-text)!important;
}
html[data-sh-theme] body.trust-privacy .content h2{margin:48px 0 12px!important}
html[data-sh-theme] body.trust-privacy .content h3{margin:32px 0 8px!important}
html[data-sh-theme] body.trust-privacy .content p{margin:10px 0!important;color:var(--tg-muted)!important}
html[data-sh-theme] body.trust-privacy .content ul{margin:12px 0 24px!important;color:var(--tg-muted)!important}
html[data-sh-theme] body.trust-privacy .note{
  margin-top:32px!important;
  padding:16px 18px!important;
  border:0!important;
  border-radius:12px!important;
  background:var(--tg-warn-soft)!important;
  color:var(--tg-warn)!important;
}
html[data-sh-theme] body.trust-privacy .updated{margin-top:48px!important;color:var(--tg-dim)!important}

@media(max-width:640px){
  html[data-sh-theme] body.trust-gold{padding:24px 18px 48px!important}
  html[data-sh-theme] body.trust-gold .brand{margin-bottom:40px!important}
  html[data-sh-theme] body.trust-gold h2{margin-top:40px!important}
  html[data-sh-theme] body.trust-gold form{margin-top:40px!important}
  html[data-sh-theme] body.trust-verify .meta div{grid-template-columns:1fr!important;gap:4px!important}
  html[data-sh-theme] body.trust-privacy .topbar{margin-bottom:48px!important}
  html[data-sh-theme] body.trust-privacy .content{padding-top:40px!important}
  html[data-sh-theme] body.trust-invitation-report{padding-top:48px!important}
  html[data-sh-theme] body.trust-gold .actions .btn,
  html[data-sh-theme] body.trust-gold .actions .back{width:100%!important;justify-content:center!important}
}

/* P3-PUBLIC-CLOSE-R1 — dual-mode control is a bare icon at rest. */
html[data-sh-theme] body.trust-gold .sh-theme-toggle,
html[data-sh-theme] body.trust-gold .sh-theme-toggle.is-floating{
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:10px!important;
  color:var(--tg-muted)!important;
}
html[data-sh-theme] body.trust-gold .sh-theme-toggle:hover,
html[data-sh-theme] body.trust-gold .sh-theme-toggle:focus-visible{
  border:0!important;
  background:var(--tg-accent-soft)!important;
  box-shadow:none!important;
  color:var(--tg-accent)!important;
}
