/* ============================================================
   settings.css — the settings modal, the theme picker, and the info pages
   ============================================================ */

/* ─── SETTINGS MODAL / THEME PICKER ──────────────────────── */
.segmented {
  display: flex;
  border: 1px solid var(--border2);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 1px 2px var(--emboss-lo);
}

.seg-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 9px 6px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  background: var(--panel);
  border-right: 1px solid var(--border2);
  transition: background 0.15s, color 0.15s;
}
.seg-btn:last-child { border-right: none; }
.seg-btn:hover:not(.active) { background: color-mix(in srgb, var(--accent) 10%, var(--panel)); color: var(--text); }

.seg-btn.active {
  background: linear-gradient(180deg,
    color-mix(in srgb, var(--accent) 88%, #fff) 0%,
    var(--accent) 45%,
    var(--accent-soft) 100%);
  color: var(--on-accent);
  box-shadow: inset 0 1px 0 var(--emboss-hi);
}

.seg-icon { font-size: 17px; line-height: 1; }

/* Rows of settings, each a labelled band */
.setting-row { margin-bottom: 16px; }
.setting-row:last-of-type { margin-bottom: 6px; }

.setting-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dim);
  margin-bottom: 7px;
}

.setting-hint {
  font-size: 11px;
  color: var(--text-dim);
  font-style: italic;
  line-height: 1.5;
  margin-top: 7px;
}

/* Links out of Settings to the info pages */
#settings-nav { display: flex; flex-direction: column; gap: 6px; }

.settings-nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  text-align: left;
  background: linear-gradient(180deg, color-mix(in srgb, var(--panel) 92%, var(--emboss-hi)), var(--panel));
  border: 1px solid var(--border2);
  border-radius: 3px;
  box-shadow: inset 0 1px 0 var(--emboss-hi);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.settings-nav-btn:hover { border-color: var(--accent); color: var(--accent); }
.settings-nav-btn:active { box-shadow: inset 0 1px 3px var(--emboss-lo); }

.settings-nav-icon { font-size: 17px; line-height: 1; color: var(--accent); }
.settings-nav-label { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.settings-nav-title { font-size: 12px; font-weight: 700; letter-spacing: 0.03em; }
.settings-nav-sub { font-size: 11px; color: var(--text-dim); }
.settings-nav-chev { font-size: 15px; color: var(--text-dim); }

/* ─── INFO PAGES (How to Use / About) ────────────────────── */
.info-body { font-size: 12px; line-height: 1.65; color: var(--text); }
.info-body h3 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 14px 0 5px;
}
.info-body h3:first-child { margin-top: 0; }
.info-body p { margin-bottom: 9px; }
.info-body ul, .info-body ol { margin: 0 0 9px 18px; }
.info-body li { margin-bottom: 4px; }
.info-body a { color: var(--accent); }

.info-placeholder { color: var(--text-dim); font-style: italic; }

