/* Shared selection controls: one visual language, independent of business handlers. */
html body .cm-choice[data-choice-kind][data-choice-tone]{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:flex-start;gap:8px;
  position:relative;min-height:38px;height:auto;margin:0;padding:8px 12px;
  border:1px solid transparent;border-radius:6px;background:transparent;background-image:none;
  color:#526479;box-shadow:none;font:500 13px/1.5 'Segoe UI','Microsoft YaHei',sans-serif;
  letter-spacing:0;text-decoration:none;white-space:nowrap;cursor:pointer;transform:none;
  transition:background-color .15s,border-color .15s,color .15s;
}
html body .cm-choice[data-choice-tone="blue"]{--choice-dot:#2868d8}
html body .cm-choice[data-choice-tone="orange"]{--choice-dot:#b65b24}
html body .cm-choice[data-choice-tone="teal"]{--choice-dot:#087e86}
html body .cm-choice[data-choice-tone="purple"]{--choice-dot:#7053c5}
html body .cm-choice[data-choice-tone="slate"]{--choice-dot:#586c83}
html body .cm-choice[data-choice-kind][data-choice-tone]::before{
  content:'';display:block;position:static;inset:auto;flex:0 0 6px;width:6px;height:6px;
  border:0;border-radius:50%;background:var(--choice-dot,#586c83);box-shadow:none;transform:none;
}
html body .cm-choice[data-choice-kind][data-choice-tone]::after{content:none}
html body .cm-choice[data-choice-kind][data-choice-tone]>i{display:none}
html body .cm-choice[data-choice-kind][data-choice-tone]:hover{background:#f7f9fc;color:#254b7c;border-color:#dce5f0}
html body .cm-choice[data-choice-kind][data-choice-tone][data-choice-selected="true"]{
  background:#fff;color:#1e4c9a;border-color:#c5d7f1;box-shadow:0 2px 6px #183c5b05;font-weight:600;
}
html body .cm-choice[data-choice-kind][data-choice-tone]:focus-visible{outline:2px solid #2868f0;outline-offset:3px}
html body .cm-choice[data-choice-kind][data-choice-tone]:disabled,
html body .cm-choice[data-choice-kind][data-choice-tone][aria-disabled="true"]{opacity:.45;cursor:not-allowed;box-shadow:none}
html body .cm-choice[data-choice-kind][data-choice-tone][hidden]{display:none!important}
html body .cm-choice .engineering-category-count{font:11px/1.5 'Segoe UI',sans-serif;color:#758399;font-variant-numeric:tabular-nums}
html body .toolbar[aria-label="工程专业分类"],html body .discipline-nav[aria-label="查表专业分类"]{
  display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:0 0 14px;margin:0 0 20px;
  border:0;border-bottom:1px solid #dce3eb;border-radius:0;background:transparent;box-shadow:none;
}
html body .engineering-categories,html body .feed-tabs,html body .op-tabs{gap:6px;flex-wrap:wrap}
html body .feed-tabs{align-items:center;padding-block:8px}
html body .case-tabs .cm-choice{justify-content:center;flex:1 1 0;min-width:0;padding-inline:8px}
@media(max-width:600px){
  html body .cm-choice[data-choice-kind][data-choice-tone]{min-height:40px;padding:8px 10px;font-size:12px;gap:7px}
  html body .feed-tabs{gap:3px}
}
@media(prefers-reduced-motion:reduce){html body .cm-choice[data-choice-kind][data-choice-tone]{transition:none}}
