/* Safety Check v3: a self-contained, phone-first app frame. */
:root {
  color-scheme: light;
  --sc-bg: #F4F1E8;   /* cream: Safety Check's own colour (owner 11-30) */
  --sc-card: #FFFFFF;
  --sc-ink: #101613;
  --sc-muted: #3A4540;
  --sc-muted-soft: #5A6560;
  --sc-border: #D5DAD3;
  --sc-border-strong: #9AA59E;
  --sc-primary: #198547;
  --sc-primary-ink: #FFFFFF;
  --sc-green-tint: #E6F5EC;
  --sc-green-ink: #0B3F22;
  --sc-warn-tint: #FFF6E5;
  --sc-warn-border: #EBD3A3;
  --sc-warn-ink: #4A3000;
  --sc-bad-tint: #FDECEA;
  --sc-bad-border: #F1B9B2;
  --sc-bad-ink: #5C120B;
  --sc-red: #B42318;
  --sc-danger-fill: #B42318;
  --sc-amber: #7A4B00;
  --sc-blue: #0A66D8;
  --sc-blue-tint: #E7EFFC;
  --sc-quiet: #ECEFEA;
  --sc-track: #E5E9E3;
  --sc-link: #0F6B38;
  --sc-font: "IBM Plex Sans", system-ui, sans-serif;
  --sc-mono: "JetBrains Mono", ui-monospace, monospace;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --sc-bg: #0B0F0D;
  --sc-card: #131A16;
  --sc-ink: #E8F0EB;
  --sc-muted: #A9B8AF;
  --sc-muted-soft: #A9B8AF;
  --sc-border: #26332C;
  --sc-border-strong: #71877A;
  --sc-primary: #2FBF6A;
  --sc-primary-ink: #04130A;
  --sc-green-tint: #143522;
  --sc-green-ink: #A5E9BE;
  --sc-warn-tint: #302615;
  --sc-warn-border: #69532D;
  --sc-warn-ink: #F5DCA5;
  --sc-bad-tint: #351C19;
  --sc-bad-border: #744039;
  --sc-bad-ink: #FFC4BC;
  --sc-red: #FFAAA0;
  --sc-danger-fill: #B42318;
  --sc-amber: #F0CA80;
  --sc-blue: #8DBBFF;
  --sc-blue-tint: #192E4B;
  --sc-quiet: #1B261F;
  --sc-track: #2B3B31;
  --sc-link: #7FE3A7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--sc-bg);
  -webkit-text-size-adjust: 100%;
}

.sc-app-body {
  margin: 0;
  background: var(--sc-bg);
  color: var(--sc-ink);
  font-family: var(--sc-font);
  font-size: 18px;
  line-height: 1.4;
}

.sc-page {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: calc(12px + env(safe-area-inset-top, 0px))
    calc(20px + env(safe-area-inset-right, 0px))
    calc(28px + env(safe-area-inset-bottom, 0px))
    calc(20px + env(safe-area-inset-left, 0px));
  overflow-wrap: anywhere;
}

.sc-app {
  min-height: 100vh;
  min-height: 100dvh;
}

.sc-app :where(h1, h2, p, ol, ul) {
  margin: 0;
}

.sc-app :where(button, input, textarea) {
  font: inherit;
}

.sc-app :where(img, svg) {
  vertical-align: middle;
}

.sc-app :where(button, a, input, textarea, summary):focus-visible,
.sc-app [tabindex]:focus-visible {
  outline: 3px solid var(--sc-primary);
  outline-offset: 4px;
}

.sc-app [hidden] {
  display: none !important;
}

.sc-app [disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.sc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  margin-bottom: 20px;
}

.sc-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-size: 17px;
  font-weight: 600;
}

.sc-top > .sc-iconbtn:first-child + .sc-brand {
  flex: 1;
}

.sc-body,
.sc-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.sc-body > *,
.sc-stack > * {
  min-width: 0;
  max-width: 100%;
}

.sc-center {
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 140px);
  min-height: calc(100dvh - 140px);
  text-align: center;
}

.sc-center > :where(div, section, nav, .sc-tip, .sc-callout) {
  width: 100%;
}

.sc-title {
  color: var(--sc-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
}

.sc-ask {
  font-size: 30px;
}

.sc-sub {
  color: var(--sc-muted);
  font-size: 18px;
}

.sc-body > .sc-title + .sc-sub {
  margin-top: -14px;
}

.sc-lead {
  font-size: 19px;
  line-height: 1.4;
}

.sc-hero {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sc-appic {
  display: block;
  flex: none;
  max-width: 100%;
  height: auto;
  border-radius: 22%;
}

.sc-ic {
  display: inline-block;
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
}

.sc-ic-lg {
  width: 32px;
  height: 32px;
}

.sc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: var(--sc-card);
  color: var(--sc-ink);
  font-family: var(--sc-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  appearance: none;
}

.sc-btn > span {
  min-width: 0;
}

a.sc-btn,
a.sc-iconbtn {
  text-decoration: none;
}

.sc-btn-primary {
  background: var(--sc-primary);
  color: var(--sc-primary-ink);
}

.sc-btn-ghost {
  border-color: var(--sc-border-strong);
  background: var(--sc-card);
  color: var(--sc-ink);
}

.sc-btn-danger {
  background: var(--sc-danger-fill);
  color: #FFFFFF;
}

.sc-big {
  width: 100%;
  min-height: 62px;
  font-size: 20px;
}

.sc-iconbtn {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0;
  border: 1px solid var(--sc-border);
  border-radius: 12px;
  background: var(--sc-card);
  color: var(--sc-ink);
  cursor: pointer;
}

.sc-iconbtn span {
  display: none;
}

.sc-iconbtn.is-on {
  border-color: var(--sc-primary);
  background: var(--sc-green-tint);
  color: var(--sc-green-ink);
}

.sc-linkbtn {
  min-height: 48px;
  padding: 10px 8px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--sc-ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sc-danger {
  color: var(--sc-red);
}

.sc-small {
  font-size: 15px;
}

.sc-rowlink,
.sc-paste > summary {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 52px;
  padding: 12px 4px;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--sc-ink);
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.sc-answers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.sc-answer {
  width: 100%;
  min-height: 68px;
}

.sc-no {
  border: 2px solid var(--sc-border-strong);
  background: var(--sc-card);
  color: var(--sc-ink);
}

.sc-people,
.sc-pick {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
  list-style: none;
}

.sc-person {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--sc-border);
  border-radius: 18px;
  background: var(--sc-card);
}

.sc-person-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.sc-person-who {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.sc-person-name {
  min-width: 0;
  font-size: 20px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.sc-person-sub {
  color: var(--sc-muted-soft);
  font-size: 15px;
}

.sc-check {
  width: 100%;
  min-height: 60px;
}

.sc-av {
  display: grid;
  flex: none;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sc-green-tint);
  color: var(--sc-green-ink);
  font-size: 20px;
  font-weight: 700;
}

.sc-av-big {
  width: 84px;
  height: 84px;
  font-size: 34px;
}

.sc-av-huge {
  width: 120px;
  height: 120px;
  font-size: 48px;
}

.sc-pickbtn {
  justify-content: flex-start;
  width: 100%;
  text-align: left;
}

.sc-steps {
  padding: 0;
  list-style: none;
}

.sc-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
}

.sc-steps li + li {
  border-top: 1px solid var(--sc-border);
}

.sc-stepnum {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sc-ink);
  color: var(--sc-bg);
  font-family: var(--sc-mono);
  font-size: 17px;
  font-weight: 700;
}

.sc-steptext {
  flex: 1;
  min-width: 0;
  font-size: 19px;
  text-align: left;
}

.sc-steps li > .sc-ic {
  width: 30px;
  height: 30px;
}

.sc-stepicon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
}

.sc-blue {
  color: var(--sc-blue);
}

.sc-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--sc-border);
  border-radius: 16px;
  background: var(--sc-green-tint);
  color: var(--sc-green-ink);
  text-align: left;
}

.sc-callout .sc-ic {
  width: 26px;
  height: 26px;
}

.sc-warn {
  border-color: var(--sc-warn-border);
  background: var(--sc-warn-tint);
  color: var(--sc-warn-ink);
}

.sc-bad {
  flex-wrap: wrap;
  border-color: var(--sc-bad-border);
  background: var(--sc-bad-tint);
  color: var(--sc-bad-ink);
}

.sc-callout-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  font-size: 19px;
  font-weight: 700;
}

.sc-tip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--sc-quiet);
  color: var(--sc-muted);
  font-size: 16px;
  text-align: left;
}

.sc-tip > span,
.sc-callout > span,
.sc-say > span {
  min-width: 0;
}

.sc-result {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.sc-result-ic {
  display: grid;
  flex: none;
  place-items: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  color: #FFFFFF;
}

.sc-result-ic .sc-ic {
  width: 60px;
  height: 60px;
}

.sc-result-yes .sc-result-ic {
  background: var(--sc-primary);
}

.sc-result-no .sc-result-ic {
  background: var(--sc-danger-fill);
}

.sc-result-wait .sc-result-ic {
  background: var(--sc-warn-tint);
  color: var(--sc-amber);
}

.sc-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--sc-blue-tint);
  color: var(--sc-blue);
  font-family: var(--sc-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.sc-center > .sc-waitpic {
  position: relative;
  display: grid;
  flex: none;
  place-items: center;
  width: 132px;
  height: 132px;
}

.sc-spin {
  position: absolute;
  inset: 0;
  border: 8px solid transparent;
  border-top-color: var(--sc-primary);
  border-right-color: var(--sc-primary);
  border-radius: 50%;
  animation: sc-spin 1.4s linear infinite;
}

.sc-waitpic .sc-av-huge {
  width: 108px;
  height: 108px;
}

@keyframes sc-spin {
  to { transform: rotate(360deg); }
}

.sc-say {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--sc-border);
  border-radius: 16px;
  background: var(--sc-card);
  font-size: 19px;
  font-weight: 500;
  text-align: left;
}

.sc-timer {
  color: var(--sc-muted);
  font-family: var(--sc-mono);
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.sc-codecard {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px 20px;
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  background: var(--sc-card);
  text-align: center;
}

.sc-codewho {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  font-weight: 600;
}

.sc-codewho .sc-av {
  width: 36px;
  height: 36px;
  font-size: 16px;
}

.sc-code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}

.sc-digits {
  max-width: 100%;
  font-family: var(--sc-mono);
  font-size: 52px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
  line-height: 1.35;
  white-space: nowrap;
}

.sc-bar {
  display: block;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border-radius: 4px;
  background: var(--sc-track);
}

.sc-bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--sc-primary);
  transition: width 0.5s linear;
}

.sc-bar-text {
  color: var(--sc-muted-soft);
  font-size: 15px;
}

.sc-samediff {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sc-same,
.sc-diff {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 16px;
  border-radius: 16px;
  text-align: center;
}

.sc-same {
  background: var(--sc-green-tint);
  color: var(--sc-green-ink);
}

.sc-diff {
  background: var(--sc-bad-tint);
  color: var(--sc-bad-ink);
}

.sc-samediff .sc-ic {
  width: 30px;
  height: 30px;
}

.sc-samediff strong {
  font-size: 17px;
}

.sc-samediff span {
  font-size: 15px;
}

.sc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.sc-field label {
  font-size: 18px;
  font-weight: 600;
}

.sc-input {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: 58px;
  padding: 12px 16px;
  border: 2px solid var(--sc-border-strong);
  border-radius: 14px;
  background: var(--sc-card);
  color: var(--sc-ink);
  font-size: 20px;
  line-height: 1.4;
}

.sc-input::placeholder {
  color: var(--sc-muted-soft);
  opacity: 1;
}

.sc-hint {
  color: var(--sc-muted-soft);
  font-size: 16px;
}

.sc-hint-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

textarea.sc-linktext {
  height: auto;
  min-height: 90px;
  font-size: 14px;
  overflow-wrap: anywhere;
  resize: vertical;
}

.sc-asks {
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid var(--sc-border);
  border-radius: 18px;
  background: var(--sc-card);
  text-align: left;
}

.sc-asks-head,
.sc-h2 {
  color: var(--sc-muted-soft);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.sc-asks-head {
  padding-bottom: 8px;
}

.sc-asks-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  font-size: 18px;
}

.sc-asks-row + .sc-asks-row {
  border-top: 1px solid var(--sc-border);
}

.sc-asks-row:last-child {
  padding-bottom: 0;
}

.sc-asks-row .sc-ic {
  width: 28px;
  height: 28px;
  color: var(--sc-primary);
}

.sc-fine {
  color: var(--sc-muted-soft);
  font-size: 15px;
  text-align: center;
}

#sc-invites {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sc-invite {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--sc-border);
  border-radius: 16px;
  background: var(--sc-card);
}

.sc-inv-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.sc-invite-old .sc-person-row {
  flex-wrap: wrap;
}

.sc-invite-old .sc-person-who {
  flex-basis: calc(100% - 60px);
}

.sc-resend {
  flex: 1;
}

.sc-how {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  list-style: none;
}

.sc-how li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 14px 8px;
  border: 1px solid var(--sc-border);
  border-radius: 14px;
  background: var(--sc-card);
  font-size: 15px;
  text-align: center;
}

.sc-how .sc-ic {
  width: 28px;
  height: 28px;
  color: var(--sc-primary);
}

.sc-card,
.sc-question {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--sc-border);
  border-radius: 20px;
  background: var(--sc-card);
  text-align: left;
}

.sc-card-quiet {
  background: var(--sc-quiet);
}

.sc-cardhead {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  font-size: 18px;
  font-weight: 600;
}

.sc-pairpic {
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  padding: 8px 0;
}

.sc-pairlink,
.sc-pairok {
  display: grid;
  z-index: 1;
  flex: none;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0 -8px;
  border: 3px solid var(--sc-bg);
  border-radius: 50%;
  background: var(--sc-quiet);
  color: var(--sc-muted);
}

.sc-pairok {
  background: var(--sc-primary);
  color: #FFFFFF;
}

.sc-pairbanner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--sc-border);
  border-radius: 16px;
  background: var(--sc-card);
}

.sc-invitehead {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sc-notwhat {
  text-align: center;
}

.sc-picker {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.sc-picker .sc-btn {
  padding: 12px 10px;
  font-size: 16px;
}

.sc-picker .is-on {
  border-color: var(--sc-primary);
  background: var(--sc-green-tint);
  color: var(--sc-green-ink);
}

.sc-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--sc-muted);
  font-size: 16px;
  text-align: center;
}

.sc-computer,
.sc-computer-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.sc-qrbox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--sc-border);
  border-radius: 24px;
  background: var(--sc-card);
  text-align: center;
}

.sc-qr {
  display: block;
  width: 260px;
  height: auto;
  max-width: 100%;
  aspect-ratio: 1;
  background: #FFFFFF;
}

.sc-setperson {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--sc-border);
}

.sc-setperson > .sc-person-row {
  flex-wrap: wrap;
}

.sc-setacts {
  display: flex;
  flex: 1 0 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.sc-setacts .sc-linkbtn {
  font-size: 16px;
}

.sc-rename,
.sc-paste-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.sc-confirm {
  display: flex;
  flex: 1 0 100%;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--sc-bad-border);
  border-radius: 14px;
  background: var(--sc-bad-tint);
  color: var(--sc-bad-ink);
  text-align: left;
}

.sc-confirm .sc-linkbtn {
  color: inherit;
}

.sc-paste > summary {
  list-style: none;
}

.sc-paste > summary::-webkit-details-marker {
  display: none;
}

.sc-paste > summary::marker {
  content: "";
}

.sc-paste[open] > summary {
  margin-bottom: 10px;
}

.sc-paste-body {
  padding-bottom: 8px;
}

.sc-msg {
  margin: 10px 0 0;
  font-size: 16px;
}

.sc-msg-bad {
  color: var(--sc-red);
}

.sc-msg-ok {
  color: var(--sc-link);
}

.sc-links {
  display: flex;
  flex-direction: column;
}

.sc-links > * + * {
  border-top: 1px solid var(--sc-border);
}

.sc-link {
  display: flex;
  align-items: center;
  min-height: 48px;
  color: var(--sc-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.sc-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

@media (max-width: 380px) {
  .sc-steps li {
    flex-wrap: wrap;
    gap: 12px;
  }

  .sc-steps li > .sc-btn {
    flex-basis: 100%;
  }

  .sc-inv-actions > .sc-btn:not(.sc-iconbtn) {
    flex-basis: 100%;
  }

  .sc-digits {
    font-size: clamp(36px, 16.25vw, 52px);
  }
}

@media (min-width: 760px) {
  .sc-page:has(.sc-computer) {
    max-width: 960px;
  }

  .sc-computer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-spin {
    animation: none;
  }

  .sc-bar-fill {
    transition: none;
  }
}

/* Wundervault branding (owner 2026-11-30): the site's header wordmark, same font, size and spacing;
   "Safety Check" sits beside it when there is room and wraps under it on narrow phones. */
.sc-top .sc-brand { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 2px; }
.sc-wordmark { font-family: "JetBrains Mono", ui-monospace, monospace; font-weight: 700; font-size: 20px;
  letter-spacing: .16em; line-height: 1.2; white-space: nowrap; color: var(--sc-ink); margin: 0; }
html[data-theme="dark"] .sc-wordmark { color: #3ce078; text-shadow: 0 0 14px rgba(60,224,120,.55), 0 0 36px rgba(60,224,120,.25); }
.sc-wordmark-sm { font-size: 14px; }
.sc-brand-sub { font-size: 15px; font-weight: 600; color: var(--sc-muted); white-space: nowrap; }
@media (forced-colors: active) { .sc-wordmark { text-shadow: none; } }
.sc-callout.sc-info { background: color-mix(in srgb, var(--sc-primary) 9%, var(--sc-card)); border: 1px solid color-mix(in srgb, var(--sc-primary) 30%, var(--sc-card)); }

/* Headings take focus when a screen changes (for screen readers); no ring for that programmatic focus. */
.sc-title[tabindex="-1"]:focus { outline: none; }

/* Restore (SPEC-safety-check-restore) */
.sc-restore { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 4px; text-align: center; }
.sc-restore .sc-btn { min-width: 180px; }
