/* Setup page companion stylesheet.
   The main look and theme variables now live in assets/css/synapse-framework.css,
   loaded through the selected theme-*.css file. This file only contains setup-only
   refinements so the setup wizard follows the same Synapse card framework. */

body.page-setup .setup-status-badge.idle {
  background: color-mix(in srgb, var(--text-3) 14%, transparent);
  color: var(--text-2);
  border-color: var(--border);
}

body.page-setup .setup-status-badge.complete {
  background: color-mix(in srgb, var(--success) 14%, transparent);
  color: var(--success);
  border-color: color-mix(in srgb, var(--success) 28%, transparent);
}

body.page-setup .policy-editor h1,
body.page-setup .policy-editor h2,
body.page-setup .policy-editor h3,
body.page-setup .policy-editor h4 {
  margin: 18px 0 10px;
  line-height: 1.2;
}
body.page-setup .policy-editor h2 { font-size: 1.45rem; }
body.page-setup .policy-editor h3 { font-size: 1.2rem; }
body.page-setup .policy-editor p { margin: 0 0 12px; }
body.page-setup .policy-editor ul,
body.page-setup .policy-editor ol { padding-left: 22px; margin: 0 0 14px; }
body.page-setup .policy-editor blockquote,
body.page-setup .policy-preview blockquote {
  margin: 14px 0;
  padding: 12px 14px;
  border-left: 3px solid var(--blue);
  background: color-mix(in srgb, var(--blue) 9%, transparent);
  border-radius: 0 12px 12px 0;
}
body.page-setup .policy-editor a,
body.page-setup .policy-preview a { color: var(--accent-text); font-weight: 800; }
body.page-setup .policy-editor table,
body.page-setup .policy-preview table { width: 100%; border-collapse: collapse; margin: 16px 0; }
body.page-setup .policy-editor th,
body.page-setup .policy-editor td,
body.page-setup .policy-preview th,
body.page-setup .policy-preview td { border: 1px solid var(--border); padding: 10px 12px; vertical-align: top; }
body.page-setup .policy-editor th,
body.page-setup .policy-preview th { background: var(--surface-alt); font-weight: 900; }

body.page-setup .policy-footnote,
body.page-setup .section-meta { margin-top: 12px; }

@media (max-width: 760px) {
  body.page-setup .policy-toolbar button { flex: 1 1 auto; }
}
