/* Settings (src/settings.js), on the M3 theme (docs/theme.md). Tokens only.
   It sits in the same fixed overlay as the Handbook and Today (.hb in styles.css). */
body.st-open { overflow: hidden; }
.st { gap: var(--m3-space-4); max-width: 720px; }
.st .m3-card { display: flex; flex-direction: column; gap: var(--m3-space-3); min-width: 0; }
.st-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--m3-space-3); }
.st-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--m3-space-3) var(--m3-space-4); margin: 0;
  padding-top: var(--m3-space-3); border-top: 1px solid var(--md-sys-color-outline-variant); }
.st-meta dt { font: var(--md-sys-typescale-label-small); color: var(--md-sys-color-on-surface-variant); }
.st-meta dd { margin: 0; overflow-wrap: anywhere; font: var(--md-sys-typescale-body-medium); }
.st-acts { display: flex; flex-wrap: wrap; gap: var(--m3-space-2); }
.st-theme { display: flex; align-items: center; justify-content: space-between; gap: var(--m3-space-3); flex-wrap: wrap;
  font: var(--md-sys-typescale-body-medium); }
.theme-seg { display: inline-flex; padding: 2px; gap: 2px; border-radius: 999px;
  border: 1px solid var(--md-sys-color-outline-variant); }
.theme-seg button { border: 0; border-radius: 999px; padding: 6px 14px; min-height: 32px; cursor: pointer;
  background: transparent; color: var(--md-sys-color-on-surface-variant); font: 500 13px/1 system-ui, -apple-system, sans-serif; }
.theme-seg button:hover { color: var(--md-sys-color-on-surface); }
.theme-seg button[aria-pressed="true"] { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }
.theme-seg button:focus-visible { outline: 2px solid var(--md-sys-color-primary); outline-offset: 1px; }
