/* Multi-Material Comparison (MaterialCompare.html).
   The first block is the lookup page's shared panel / field / table styling, so the two pages read alike. */
/* ── Green wrapper token system (matches ThreadStressCalculator.html) ── */
:root {
  --sq-wrap:     #6a746a;
  --sq-outline:  rgb(67,67,67);
  --sq-panel:    #eeeeee;
  --sq-blue:     #61828A;
  --sq-ink:      #1C2227;
  --sq-ink-soft: #5A6168;
  --sq-ui:       "Roboto", Arial, sans-serif;
}
.sq-main { max-width: 1500px; margin: 0 auto; padding: 0 20px 60px; }
.sq-subtitle { font-family: var(--sq-ui); color: var(--sq-ink-soft); font-size: 15px; line-height: 1.5; max-width: 74ch; margin: 18px auto 22px; text-align: center; }
.sq-calc-grid { font-family: var(--sq-ui); display: grid; grid-template-columns: minmax(0,340px) minmax(0,1fr); gap: 20px; align-items: start; background: var(--sq-wrap); border: 3px solid var(--sq-outline); border-radius: 18px; box-shadow: 0px 3px 5px 0 rgba(0,0,0,.4); padding: 20px; }
/* minmax(0,1fr) rather than 1fr: a bare 1fr track keeps min-width:auto,
   which lets a wide table inside push the whole grid past the viewport
   instead of scrolling within its own wrapper. */
@media (max-width:960px) { .sq-calc-grid { grid-template-columns: minmax(0,1fr); } }
.sq-panel { background: var(--sq-panel); border: 2px solid var(--sq-outline); border-radius: 10px; box-shadow: 0px 3px 5px 0 rgba(0,0,0,.4); overflow: hidden; }
.sq-panel-h { padding: 11px 16px; background: #fff; border-bottom: 2px solid var(--sq-outline); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sq-ink); font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sq-panel-b { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
/* The input panel used to follow the scroll. It fought the page on anything
   but a tall window, so it stays put. */
.sq-sticky { position: static; }

/* ── Filters ── */
.sa-field { margin-bottom: 10px; }
.sa-field label { display: block; margin-bottom: 3px; font-size: 12px; color: #444; font-family: var(--body-font-family); }
.sa-field select,
.sa-field input[type=number] {
  width: 100%; padding: 6px 7px; border: 1px solid #9aabb0;
  border-radius: var(--border-radius-small); font-size: 13px;
  font-family: var(--body-font-family); background: #fff; color: #222;
  /* A select's min-content width is its longest option, and some
     specification names run to 50 characters. Without min-width:0 that
     intrinsic size overrides width:100% and pushes the whole panel wider
     than the phone viewport. */
  min-width: 0;
}
.sq-panel-b, .sa-field, .sa-r2 > * { min-width: 0; }
.sa-field select:focus,
.sa-field input[type=number]:focus { outline: 2px solid var(--section-title-color); }
.sa-field select:disabled { background: #e4e4e4; color: #888; }
.sa-r2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sa-hint { font-size: 11px; color: #666; margin-top: 4px; font-family: var(--body-font-family); }

.sa-reset {
  border: 1px solid var(--sq-outline); background: #fff; color: var(--sq-ink);
  border-radius: var(--border-radius-small); padding: 5px 12px;
  font-size: 12px; font-family: var(--sq-ui); cursor: pointer;
}
.sa-reset:hover { background: var(--calc-hover-color); }

.sa-count { font-size: 11px; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--sq-ink-soft); }

/* ── Tables ── */
.sa-table-scroll { overflow-x: auto; }
.sa-match-table, .sa-prop-table {
  width: 100%; border-collapse: collapse;
  font-family: var(--body-font-family); font-size: 13px; background: #fff;
}
.sa-match-table th, .sa-prop-table th,
.sa-match-table td, .sa-prop-table td {
  padding: 6px 9px; border-bottom: 1px solid #d5dade; text-align: left;
  white-space: nowrap;
}
.sa-match-table thead th, .sa-prop-table thead th {
  background: var(--section-title-color); color: #fff; font-size: 12px;
  font-weight: 600; border-bottom: 2px solid var(--sq-outline);
  position: sticky; top: 0;
}
.sa-num { text-align: right !important; font-variant-numeric: tabular-nums; }
.sa-match-row { cursor: pointer; }
.sa-match-row:hover { background: #eef3f4; }
.sa-match-row.is-selected { background: #dbe7ea; box-shadow: inset 3px 0 0 var(--section-title-color); }
.sa-match-row:focus-visible { outline: 2px solid var(--section-title-color); outline-offset: -2px; }
.sa-src { color: var(--sq-ink-soft); font-size: 12px; }

.sa-prop-table th[scope=row] { font-weight: 600; color: var(--sq-ink); background: #f6f8f8; }
/* Hoverable definition on each property symbol. */
.sa-abbr {
  text-decoration: underline dotted var(--sq-blue);
  text-underline-offset: 3px; cursor: help;
}

/* ── Derated-at-temperature panel ── */
.sa-exposure-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 16px; background: #f6f8f8;
  border-bottom: 1px solid #d5dade; font-family: var(--sq-ui);
}
.sa-exposure-row label { font-size: 12px; color: #444; margin: 0; }
.sa-exposure-row select {
  padding: 5px 7px; border: 1px solid #9aabb0; min-width: 0;
  border-radius: var(--border-radius-small); font-size: 13px;
  font-family: var(--body-font-family); background: #fff; color: #222;
}
.sa-derated-val { font-weight: 700; color: #b34040; }
.sa-prop-table .sa-note { color: var(--sq-ink-soft); font-size: 12px; white-space: normal; }
.sa-unit { color: var(--sq-ink-soft); font-weight: 400; font-size: 11px; }
.sa-qual { color: var(--sq-blue); font-weight: 600; }

.sa-detail-head { padding: 14px 16px; background: #fff; border-bottom: 2px solid var(--sq-outline); }
.sa-detail-title { font-family: var(--title-font-family); font-size: 20px; font-weight: 600; color: var(--sq-ink); }
.sa-detail-sub { font-size: 13px; color: var(--sq-ink-soft); margin-top: 2px; }
.sa-detail-spec { font-size: 12px; color: var(--sq-blue); margin-top: 3px; }

.sa-source { font-size: 12px; color: var(--sq-ink-soft); padding: 10px 16px 12px; margin: 0; background: #fff; border-top: 1px solid #d5dade; line-height: 1.5; }
.sa-source a { font-size: 12px; }

.sa-empty { font-size: 13px; color: var(--sq-ink-soft); padding: 18px 16px; margin: 0; font-family: var(--body-font-family); line-height: 1.55; }

/* ── Unit-system toolbar ── */
.sa-toolbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.sq-seg {
  display: inline-flex; border: 1px solid #b9bcb9; border-radius: 4px;
  overflow: hidden; width: fit-content;
}
.sq-seg button {
  appearance: none; border: 0; background: #fff; color: #5a6168;
  font: 600 13px/1 "Roboto", Arial, sans-serif; padding: 8px 15px;
  cursor: pointer; border-right: 1px solid #b9bcb9;
}
.sq-seg button:last-child { border-right: none; }
.sq-seg button.sq-active { background: #6a746a; color: #fff; }
.sa-toolbar-note { font-size: 12px; color: var(--sq-ink-soft); }
.sa-toolbar-sep { color: #b9bcb9; margin: 0 4px; }
/* ── Reference prose blocks ── */
.ref-wrap { max-width: 1100px; margin: 34px auto 0; padding: 0 20px; font-family: var(--body-font-family); }
.ref-section-title { font-size: 16px; font-weight: 700; color: #6a746a; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem; padding-left: 2px; }
.ref-card { background: #fff; border: 2px solid var(--sq-outline); border-radius: 10px; padding: 16px 18px; box-shadow: 0 2px 5px rgba(0,0,0,.15); margin-bottom: 22px; }
.ref-card p { font-size: 14px; line-height: 1.65; margin-bottom: 10px; }
.ref-card ul { margin: 0 0 10px; padding-left: 20px; }
.ref-card li { font-size: 14px; line-height: 1.65; padding: 0; margin-bottom: 5px; }
.ref-card h3 { font-size: 15px; font-weight: 700; color: var(--sq-ink); margin: 14px 0 6px; }
.ref-card h3:first-child { margin-top: 0; }

/* ── Comparison page ─────────────────────────────────────────────────── */
.sq-main { font-family: var(--sq-ui); }
.mc-banner, .mc-selected { margin-bottom: 20px; }
.mc-banner, .mc-selected { box-shadow: 0 3px 5px 0 rgba(0,0,0,.4); }
.mc-head-acts { display: inline-flex; gap: 8px; }

.mc-primary-btn {
  border: 1px solid var(--sq-outline); background: var(--section-title-color, #61828A);
  color: #fff; border-radius: var(--border-radius-small); padding: 6px 14px;
  font-size: 12px; font-family: var(--sq-ui); cursor: pointer; letter-spacing: .02em;
  text-transform: none; font-weight: 600;
}
.mc-primary-btn:hover { background: #4e6b73; }

/* category tabs */
.mc-tabs {
  display: flex; flex-wrap: wrap; gap: 0; background: #e2e6e6;
  border-bottom: 2px solid var(--sq-outline);
}
.mc-tabs button {
  border: 0; border-right: 1px solid #b9c2c4; background: transparent;
  padding: 9px 16px; font-size: 13px; font-family: var(--sq-ui);
  color: var(--sq-ink); cursor: pointer; white-space: nowrap;
}
.mc-tabs button:hover { background: #d5dcdd; }
.mc-tabs button.is-on { background: #fff; font-weight: 700; box-shadow: inset 0 -3px 0 var(--section-title-color, #61828A); }
.mc-tabs button:focus-visible { outline: 2px solid var(--section-title-color); outline-offset: -2px; }
.mc-tab-n {
  display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 4px;
  border-radius: 9px; background: #6a746a; color: #fff; font-size: 11px; line-height: 18px;
  text-align: center;
}

/* material chips */
.mc-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px 6px; background: #fff; }
.mc-pchip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #9aabb0; background: #f6f8f8; color: var(--sq-ink);
  border-radius: 16px; padding: 5px 13px; font-size: 13px; font-family: var(--sq-ui);
  cursor: pointer; line-height: 1.3;
}
.mc-pchip:hover { background: #e4eced; border-color: var(--sq-blue); }
.mc-pchip.is-on { background: #dbe7ea; border-color: var(--sq-outline); font-weight: 700; }
.mc-pchip:disabled { opacity: .45; cursor: not-allowed; }
.mc-pchip:focus-visible { outline: 2px solid var(--section-title-color); outline-offset: 1px; }
.mc-sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; flex: 0 0 auto; }
.mc-pchip .mc-sw { margin-right: 0; }
.mc-hint { margin: 0; padding: 8px 16px 12px; background: #fff; font-size: 12px; color: var(--sq-ink-soft); line-height: 1.5; }

/* selected tray */
.mc-tray {
  display: grid; gap: 10px; padding: 14px 16px; background: #fff;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
}
.mc-tray-empty { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--sq-ink-soft); line-height: 1.55; }
.mc-slot {
  display: flex; align-items: flex-start; gap: 9px; padding: 9px 10px;
  border: 1px solid #c3ccce; border-radius: 8px; background: #f6f8f8; min-width: 0;
}
.mc-line { flex: 0 0 30px; margin-top: 5px; }
.mc-slot-body { min-width: 0; flex: 1 1 auto; }
.mc-slot-t { font-weight: 700; font-size: 14px; color: var(--sq-ink); overflow-wrap: anywhere; }
.mc-slot-s { font-size: 11.5px; color: var(--sq-ink-soft); line-height: 1.35; margin-top: 1px; overflow-wrap: anywhere; }
.mc-slot-acts { display: flex; gap: 2px; flex: 0 0 auto; }
.mc-icon {
  border: 0; background: transparent; color: #4a5258; width: 26px; height: 26px;
  border-radius: 5px; cursor: pointer; font-size: 15px; line-height: 1;
}
.mc-icon:hover { background: #dde5e6; color: var(--sq-ink); }
.mc-icon:focus-visible { outline: 2px solid var(--section-title-color); }

.mc-badges { display: inline-flex; gap: 4px; margin-top: 5px; flex-wrap: wrap; }
.mc-badge { font-size: 10.5px; padding: 1px 6px; border-radius: 9px; line-height: 15px; }
.mc-badge.is-yes { background: #d7ead7; color: #1e5a1e; }
.mc-badge.is-no { background: #ececec; color: #8a8f93; text-decoration: line-through; }
.mc-badge.is-more { background: #dbe7ea; color: #2a4a55; }
.mc-badge-load { background: #fff3dc; color: #8a5a00; display: inline-block; margin-top: 5px; }

/* settings strip */
.mc-settings {
  display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-end;
  padding: 12px 16px 14px; background: #f6f8f8; border-top: 1px solid #d5dade;
}
.mc-set { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mc-set-l { font-size: 11.5px; color: #444; margin: 0; font-weight: 600; }
.mc-set select, .mc-set input[type=number] {
  padding: 6px 7px; border: 1px solid #9aabb0; border-radius: var(--border-radius-small);
  font-size: 13px; font-family: var(--body-font-family); background: #fff; color: #222;
  min-width: 0;
}
.mc-set input[type=number] { width: 130px; }
.mc-set-range input[type=number] { width: 96px; }
.mc-set select:disabled { background: #e4e4e4; color: #888; }
.mc-set select:focus, .mc-set input:focus { outline: 2px solid var(--section-title-color); }

/* chart cards */
.mc-card {
  background: #fff; border: 2px solid var(--sq-outline); border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,.15); padding: 12px 16px 14px; margin-bottom: 20px;
  min-width: 0;
}
.mc-card-h {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sq-ink); font-weight: 700; margin-bottom: 8px;
}
.mc-png { letter-spacing: 0; text-transform: none; font-weight: 400; }
.mc-canvas-wrap { position: relative; width: 100%; height: 460px; }
.mc-grid .mc-canvas-wrap { height: 380px; }
.mc-canvas-wrap canvas { width: 100% !important; }
.mc-empty { display: none; }
.mc-canvas-wrap.is-empty canvas { visibility: hidden; }
.mc-canvas-wrap.is-empty .mc-empty {
  display: flex; position: absolute; inset: 0; align-items: center; justify-content: center;
  color: var(--sq-ink-soft); font-size: 14px; border: 1px dashed #b9c2c4; border-radius: 8px;
}
.mc-grid { display: grid; gap: 0 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 1100px) { .mc-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .mc-canvas-wrap { height: 340px; }
  .mc-grid .mc-canvas-wrap { height: 320px; }
}

.mc-status { margin-bottom: 6px; }
.mc-status-line { display: flex; flex-wrap: wrap; gap: 6px; }
.mc-status-line span {
  font-size: 12px; padding: 2px 9px; border-radius: 10px; line-height: 17px;
}
.mc-chip-ok { background: #d7ead7; color: #1e5a1e; }
.mc-chip-rt { background: #fff3dc; color: #8a5a00; }
.mc-chip-none { background: #f4dede; color: #8a2a2a; }
.mc-missing { margin-top: 6px; font-size: 12.5px; color: var(--sq-ink-soft); }
.mc-missing summary { cursor: pointer; color: var(--sq-blue); }
.mc-missing ul { margin: 6px 0 0; padding-left: 4px; list-style: none; }
.mc-missing li { padding: 1px 0; font-size: 12.5px; }
.mc-src { font-size: 11.5px; color: var(--sq-ink-soft); margin-top: 8px; line-height: 1.7; }
.mc-src a { font-size: 11.5px; }
.mc-legend-key { color: var(--sq-ink); font-weight: 700; }

/* table of values */
.mc-table th.mc-col { white-space: normal; min-width: 130px; vertical-align: top; }
.mc-table th.mc-col .mc-sw { margin-right: 6px; }
.mc-col-sub { font-weight: 400; font-size: 11px; opacity: .88; margin-top: 2px; line-height: 1.3; }
.mc-table th.mc-prop { position: sticky; left: 0; z-index: 1; }
.mc-table thead th.mc-prop { z-index: 2; background: var(--section-title-color); }
.mc-sym { display: inline-block; min-width: 2.6em; font-weight: 700; }
.mc-best { font-weight: 700; color: #1e5a1e; background: #eef6ee; }
.mc-na { color: #999; }
.mc-pct { font-size: 11px; color: var(--sq-ink-soft); font-weight: 400; margin-left: 3px; }
.mc-dots { font-weight: 700; }
.mc-attemp { border-top: 2px solid var(--sq-outline); }
.mc-attemp-h {
  padding: 10px 16px; background: #fff; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; font-weight: 700; color: var(--sq-ink);
}
.mc-csv { margin-left: auto; }

/* picker dialog */
dialog.mcd {
  padding: 0; border: 3px solid var(--sq-outline); border-radius: 12px;
  width: min(1180px, 96vw); max-width: 96vw; max-height: 92vh; background: var(--sq-panel);
  box-shadow: 0 10px 40px rgba(0,0,0,.45); font-family: var(--sq-ui); color: var(--sq-ink);
  overflow: hidden;
}
dialog.mcd[open] { display: flex; }
dialog.mcd::backdrop { background: rgba(20,28,30,.55); }
.mcd-box { display: flex; flex-direction: column; width: 100%; max-height: 92vh; min-height: 0; }
.mcd-bar {
  display: flex; align-items: center; gap: 14px; padding: 11px 16px;
  background: #fff; border-bottom: 2px solid var(--sq-outline);
}
.mcd-title { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.mcd-slots { font-size: 12px; color: var(--sq-ink-soft); }
.mcd-x {
  margin-left: auto; border: 0; background: transparent; font-size: 18px; cursor: pointer;
  width: 30px; height: 30px; border-radius: 6px; color: #444;
}
.mcd-x:hover { background: #e4e8e8; }
.mcd-body { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); flex: 1 1 auto; min-height: 0; }
.mcd-filters { padding: 14px 16px; overflow-y: auto; border-right: 2px solid #c3ccce; background: var(--sq-panel); }
.mcd-filters .sa-field input[type=search] {
  width: 100%; padding: 6px 7px; border: 1px solid #9aabb0; min-width: 0;
  border-radius: var(--border-radius-small); font-size: 13px;
  font-family: var(--body-font-family); background: #fff; color: #222;
}
.mcd-list { display: flex; flex-direction: column; min-height: 0; min-width: 0; background: #fff; }
.mcd-list-h { padding: 9px 14px; font-size: 12px; color: var(--sq-ink-soft); border-bottom: 1px solid #d5dade; }
#mcd-results { overflow: auto; flex: 1 1 auto; min-height: 0; }
.mcd-table td, .mcd-table th { font-size: 12.5px; }
.mcd-table td { white-space: normal; }
.mcd-table td.mcd-act { white-space: nowrap; width: 1%; }
.mcd-spec { color: var(--sq-ink-soft); font-size: 11.5px !important; min-width: 120px; }
.mcd-table tr.is-picked { background: #eef6ee; }
.mcd-add {
  border: 1px solid var(--sq-outline); background: #fff; color: var(--sq-ink);
  border-radius: var(--border-radius-small); padding: 3px 11px; font-size: 12px;
  font-family: var(--sq-ui); cursor: pointer; min-width: 64px;
}
.mcd-add:hover:not(:disabled) { background: var(--calc-hover-color, #dbe7ea); }
.mcd-add.is-on { background: #2a7a2a; color: #fff; border-color: #1e5a1e; }
.mcd-add:disabled { opacity: .45; cursor: not-allowed; }
.mcd-cur { font-size: 12px; color: var(--sq-ink-soft); font-style: italic; }
.mcd-foot { padding: 10px 16px; border-top: 2px solid var(--sq-outline); background: #fff; text-align: right; }
.mcd-done {
  border: 1px solid var(--sq-outline); background: var(--section-title-color, #61828A); color: #fff;
  border-radius: var(--border-radius-small); padding: 7px 22px; font-size: 13px;
  font-family: var(--sq-ui); cursor: pointer;
}
.mcd-done:hover { background: #4e6b73; }
@media (max-width: 820px) {
  .mcd-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); overflow-y: auto; }
  .mcd-filters { border-right: 0; border-bottom: 2px solid #c3ccce; max-height: 38vh; }
  dialog.mcd { max-height: 96vh; width: 98vw; max-width: 98vw; }
}
.mc-gtag { font-size: 10px; font-weight: 700; color: #8a5a00; background: #fff3dc; border-radius: 4px; padding: 0 4px; margin-left: 3px; vertical-align: 1px; cursor: help; }
.mc-grainnote { color: #8a5a00; }

/* section headers shared with the lookup page */
/* ── Figure & source-table sections ── */
.sf-section { margin-top: 28px; font-family: var(--sq-ui); }
.sf-section-h {
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
  border-bottom: 2px solid var(--sq-outline); padding-bottom: 6px;
  margin-bottom: 16px;
}
.sf-section-title {
  font-family: var(--title-font-family); font-size: 22px;
  font-weight: 600; color: var(--sq-ink);
}
.sf-section-note { font-size: 13px; color: var(--sq-ink-soft); }
.sf-units {
  margin-left: auto; display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; color: var(--sq-ink-soft);
}
.sf-units-label { font-weight: 600; color: var(--sq-ink); }
.sf-units label { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; margin: 0; }
.sf-units input { margin: 0; }


/* strongest at a temperature */
.mc-str-ctl { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: flex-end; padding: 12px 16px; background: #fff; border-bottom: 1px solid #d5dade; }
.mc-str-ctl .sq-seg { align-self: flex-end; }
.mc-checks { display: inline-flex; gap: 12px; align-items: center; height: 31px; }
.mc-checks label, .mc-check { margin: 0; font-size: 13px; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; font-family: var(--body-font-family); }
.mc-check { align-self: flex-end; height: 31px; }
.mc-fam-bar { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px; background: #f6f8f8; border-bottom: 1px solid #d5dade; }
.mc-fam, .mc-fam-all {
  font-family: var(--sq-ui); font-size: 12.5px; padding: 5px 12px; border: 1px solid #9aabb0;
  border-radius: 14px; background: #fff; color: var(--sq-ink); cursor: pointer; white-space: nowrap;
  line-height: 1.4; transition: background .1s, border-color .1s, color .1s;
}
.mc-fam:hover { border-color: var(--section-title-color); }
.mc-fam.on { background: var(--section-title-color, #61828A); border-color: var(--section-title-color, #61828A); color: #fff; }
.mc-fam:not(.on) { color: #7a8286; background: #fafafa; }
.mc-fam:not(.on) .mc-fam-dot { opacity: .45; }
.mc-fam[data-empty] { opacity: .6; }
.mc-fam-ct { opacity: .7; font-size: 11px; }
.mc-fam-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; vertical-align: 0; border: 1px solid rgba(255,255,255,.7); }
.mc-fam-all { border-style: dashed; background: transparent; color: var(--sq-ink-soft); margin-right: 2px; }
.mc-fam-all:hover { background: #fff; color: var(--sq-ink); }
.mc-fam:focus-visible, .mc-fam-all:focus-visible { outline: 2px solid var(--section-title-color); outline-offset: 1px; }
#mc-str-status { padding: 12px 16px 4px; background: #fff; }
.mc-str-note { margin: 8px 0 0; font-size: 12.5px; color: var(--sq-ink-soft); }
#mc-str-table, #mc-str-none { background: #fff; }
#mc-str-none { padding: 4px 16px 14px; }
.mc-fam-tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 10px; color: var(--c); border: 1px solid var(--c); background: #fff; white-space: nowrap; }
.mc-cond { color: var(--sq-ink-soft); font-size: 12px !important; white-space: normal !important; min-width: 150px; }
.mc-barcell { position: relative; min-width: 110px; }
.mc-bar { position: absolute; left: 0; top: 3px; bottom: 3px; opacity: .22; border-radius: 0 3px 3px 0; }
.mc-barval { position: relative; font-weight: 600; }
.mc-str-table thead th.mc-sorted { background: #3f565c; }
.mc-more-row { padding: 10px 16px; text-align: center; border-top: 1px solid #d5dade; }
.mc-none-list { columns: 3 260px; margin: 8px 0 0; padding: 0; list-style: none; }
.mc-none-list li { font-size: 12.5px; padding: 2px 0; break-inside: avoid; }
.mc-none-why { color: var(--sq-ink-soft); font-size: 11.5px; }
.mc-str-table thead .sa-unit, .mc-table thead .sa-unit { color: #dbe7ea; }
.mc-str-table thead th.mc-sorted { background: #3f565c; color: #fff; }
.mc-str-table thead th { white-space: nowrap; }
/* source-figure links in the "Strongest at a temperature" table */
.mc-str-table td a, .mc-str-table .mc-cond a { font-size: 12px; }
