/* ===== Settings in tabs (tools/70-settings-tabs.js) ===== */
.settings-panel.st .sv-board { display: none !important; }              /* the tabs replace the board of tiles */
.settings-panel.st .st-off { display: none !important; }
.st-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 2px 0 14px; padding: 2px 1px 8px;
  position: sticky; top: 0; z-index: 2; background: var(--card); border-bottom: 1px solid var(--border); }
.st-tabs::-webkit-scrollbar { display: none; }
/* (03/11) stuck at the very top of what scrolls: the container's own padding left a strip where the content scrolling
   underneath showed through above the tabs */
.st-tabs.stuck::before { content: ''; position: absolute; left: -1px; right: -1px; bottom: 100%; height: var(--st-gap, 1.2rem); background: var(--card); }
.settings-panel.in-neuron .st-tabs.stuck::before { background: var(--bg-neuron, var(--card)); }
.st-tab { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: inherit; font: inherit; font-size: .84rem; opacity: .75;
  transition: background .15s, opacity .15s, border-color .15s; }
.st-tab span { font-size: 1.05rem; line-height: 1; }
.st-tab:hover { opacity: 1; }
.st-tab.on { opacity: 1; font-weight: 600; background: color-mix(in srgb, var(--accent, #4ade80) 18%, transparent);
  border-color: color-mix(in srgb, var(--accent, #4ade80) 65%, transparent); }
/* the floating panel is narrow: icons only, all the same width; the open tab's name is the caption under them */
.settings-panel.st:not(.in-neuron) .st-tab b { display: none; }
.settings-panel.st:not(.in-neuron) .st-tab { flex: 1 1 0; justify-content: center; min-width: 0; }
.st-cap { display: none; }
.settings-panel.st:not(.in-neuron) .st-cap { display: block; margin: -6px 0 12px; font-weight: 700; font-size: .95rem; }
/* the account box holds the account and the privacy cards: each tab shows its own */
.settings-panel.st[data-st="account"] #accBox > .pv-set,
.settings-panel.st[data-st="account"] #accBox > .sec-card,
.settings-panel.st[data-st="account"] #accBox > .vm-card { display: none !important; }
.settings-panel.st[data-st="privacy"] #accBox > :not(.pv-set):not(.sec-card):not(.vm-card) { display: none !important; }
.settings-panel.st[data-st="privacy"] #accBox > * + * { margin-top: 12px; }
/* the look tab already says "Look": its section header would repeat it */
.settings-panel.st[data-st="look"] details.set-sec > summary { display: none; }
/* the floating panel (280 px): six compact tabs that fit without scrolling */
.settings-panel.st:not(.in-neuron) .st-tabs { gap: 4px; }
.settings-panel.st:not(.in-neuron) .st-tab { padding: 7px 4px; }
/* in its own window there is room: the tabs wrap onto a second line instead of hiding off the edge */
.settings-panel.st.in-neuron .st-tabs { flex-wrap: wrap; overflow: visible; }
