/* The core set and the full build: the switch in the top bar and the card on the features page (coremode-ui.js) */
.cm-seg{display:inline-flex;align-items:center;border:1px solid var(--line-2);border-radius:999px;padding:2px;gap:2px;background:var(--s2,transparent);flex:none}
.cm-seg button{font:inherit;font-size:12px;font-weight:600;line-height:1;padding:6px 11px;border-radius:999px;border:0;background:transparent;color:var(--ink-3);cursor:pointer;min-height:28px}
.cm-seg button:hover{color:var(--ink)}
.cm-seg button[aria-checked="true"]{background:var(--accent);color:#fff}
.cm-seg button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.cm-chip{font-size:11.5px;font-weight:700;padding:4px 9px;border-radius:999px;background:var(--accent-soft);color:var(--accent);white-space:nowrap}
#cmbox{display:inline-flex;align-items:center}
#cmbox:empty{display:none}
.cm-card{margin-bottom:var(--gap)}
.cm-card[data-mode="core"]{border-color:color-mix(in srgb,var(--accent) 45%,transparent)}
.cm-pad{padding:0 16px 12px;margin:0;font-size:13.5px;line-height:1.5}
.cm-set{padding:0 16px 12px}
.cm-set summary{cursor:pointer;font-weight:600;font-size:13px;padding:4px 0 10px}
.cm-set h3{font-size:11px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink-3);margin:12px 0 6px}
.cm-l{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:8px}
.cm-l li{display:flex;flex-direction:column;gap:2px;padding:9px 11px;border:1px solid var(--line);border-radius:10px;font-size:12.5px}
.cm-l li span{color:var(--ink-3);font-size:12px;line-height:1.4}
.cm-set .cm-pad{padding:0 0 4px}
@media(max-width:700px){.cm-seg button{padding:6px 8px;font-size:11.5px}}
