/* Readability layer: larger, bolder, black text across the site.
   Loaded last so it overrides the theme files. The dark sign-in panel keeps
   its own light text colors; only light surfaces turn black. */

html {
  font-size: 112.5%; /* 18px base: every rem-based size grows by 12.5% */
}

:root {
  --sx-ink: #000;
  --sx-muted: #1f1f1f;
}

body {
  color: #000;
  font-weight: 600;
  -webkit-font-smoothing: antialiased;
}

strong,
b,
h1,
h2,
h3,
h4,
th,
summary,
button,
label {
  font-weight: 800;
}

/* Standard size step: chat text 19px instead of 16px. The larger steps
   (32/48/60 px) from accessibility.css stay as they are. */
:root[data-font-level="standard"] .message,
:root:not([data-font-level]) .message {
  font-size: 19px;
  line-height: 1.55;
}

.message.agent,
.message.agent p,
.message.agent li {
  color: #000 !important;
}

input,
textarea,
select {
  color: #000;
  font-weight: 600;
}

::placeholder {
  color: #3a3a3a;
  opacity: 1;
}

.auth-google {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin: 12px 0 4px; padding: 12px 16px; border-radius: 12px;
  border: 2px solid #1f1f1f; background: #fff; color: #000;
  font-weight: 800; text-decoration: none;
}
.auth-google[hidden] { display: none; }

.memory-provenance { display: block; margin-top: 4px; font-size: .78rem; color: #1f1f1f; font-weight: 600; }
.memory-intro { margin: 0 0 12px; font-weight: 700; color: #000; }

.message-file { font-weight: 800; padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.18); margin-bottom: 6px; }
