/* TE-246 pilot 2: fillable weighted decision matrix. Jade accents only; no red. */
.te246-mx{
  --mx-accent:#7de8dc;
  --mx-accent-2:#3aa89e;
  --mx-ink:#f4f1e9;
  --mx-muted:#b9bec8;
  --mx-bg:#10141c;
  --mx-bg-2:#181d27;
  --mx-line:#ffffff24;
  --mx-btn-ink:#0b1214;
  --mx-warn:#f0d29a;
  --mx-warn-bg:#2b2416;
  margin:2.2rem 0 2.6rem;
  padding:1.25rem 1.1rem 1.35rem;
  background:var(--mx-bg);
  border:1px solid var(--mx-line);
  border-radius:14px;
  color:var(--mx-ink);
}
.te246-mx h2{margin:0 0 .7rem;color:var(--mx-ink);letter-spacing:.01em}
.te246-mx > p, .te246-mx-lead{margin:0 0 .85rem;color:var(--mx-muted);font-size:.95rem;line-height:1.55}
.te246-mx-noscript{
  margin:.6rem 0 0;padding:.7rem .8rem;
  background:var(--mx-warn-bg);color:var(--mx-warn);
  border-left:3px solid var(--mx-warn);border-radius:6px;
}
.te246-mx [x-cloak]{display:none!important}
.te246-mx-toolbar{
  display:flex;flex-wrap:wrap;gap:.5rem .6rem;align-items:center;
  margin:0 0 1rem;
}
.te246-mx-btn{
  appearance:none;cursor:pointer;
  background:var(--mx-accent);color:var(--mx-btn-ink);
  border:1px solid var(--mx-accent);
  border-radius:8px;padding:.42rem .8rem;
  font:inherit;font-size:.85rem;font-weight:600;line-height:1.2;
}
.te246-mx-btn:hover,.te246-mx-btn:focus-visible{
  background:#9ff3ea;border-color:#9ff3ea;outline:2px solid #9ff3ea;outline-offset:2px;
}
.te246-mx-btn:disabled{opacity:.45;cursor:not-allowed;outline:none}
.te246-mx-btn-ghost{
  background:transparent;color:var(--mx-ink);
  border:1px solid #ffffff50;
}
.te246-mx-btn-ghost:hover,.te246-mx-btn-ghost:focus-visible{
  background:#ffffff0f;border-color:var(--mx-accent);color:var(--mx-accent);
  outline:2px solid var(--mx-accent);outline-offset:2px;
}
.te246-mx-hint{font-size:.8rem;color:var(--mx-muted);margin:0}
.te246-mx-privacy{
  margin:0 0 1rem;font-size:.8rem;color:var(--mx-muted);
}
.te246-mx-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 -.25rem 1rem}
.te246-mx table.te246-mx-table{
  width:100%;min-width:32rem;border-collapse:separate;border-spacing:0;
  background:var(--mx-bg-2);border:1px solid var(--mx-line);border-radius:10px;
  color:var(--mx-ink);font-size:.88rem;
}
.te246-mx .te246-mx-table th,
.te246-mx .te246-mx-table td{
  border:0;border-bottom:1px solid var(--mx-line);border-right:1px solid var(--mx-line);
  padding:.55rem .55rem;vertical-align:middle;text-align:center;
  background:transparent;
}
.te246-mx .te246-mx-table th:last-child,
.te246-mx .te246-mx-table td:last-child{border-right:0}
.te246-mx .te246-mx-table tr:last-child th,
.te246-mx .te246-mx-table tr:last-child td{border-bottom:0}
.te246-mx .te246-mx-table th.te246-mx-sticky,
.te246-mx .te246-mx-table td.te246-mx-sticky{
  text-align:left;position:sticky;left:0;z-index:1;
  background:var(--mx-bg-2);min-width:9.5rem;max-width:14rem;
}
.te246-mx .te246-mx-table thead th{font-weight:600;font-size:.8rem}
.te246-mx-field{
  width:100%;min-width:7rem;box-sizing:border-box;
  background:#0b0e14;color:var(--mx-ink);
  border:1px solid #ffffff30;border-radius:6px;
  padding:.32rem .4rem;font:inherit;font-size:.85rem;
}
.te246-mx-field:focus{outline:2px solid var(--mx-accent);border-color:var(--mx-accent)}
.te246-mx-weight,.te246-mx-score{display:flex;flex-direction:column;align-items:center;gap:.2rem}
.te246-mx-weight label,.te246-mx-score label{font-size:.72rem;color:var(--mx-muted)}
.te246-mx input[type=range]{
  appearance:none;width:6.2rem;height:4px;border-radius:4px;
  background:#ffffff28;margin:0;
}
.te246-mx input[type=range]::-webkit-slider-thumb{
  appearance:none;width:14px;height:14px;border-radius:50%;
  background:var(--mx-accent);border:0;cursor:pointer;
}
.te246-mx input[type=range]::-moz-range-thumb{
  width:14px;height:14px;border-radius:50%;
  background:var(--mx-accent);border:0;cursor:pointer;
}
.te246-mx input[type=range]:focus-visible{outline:2px solid var(--mx-accent);outline-offset:3px}
.te246-mx-num{font-variant-numeric:tabular-nums;font-weight:600;color:var(--mx-accent)}
.te246-mx-iconbtn{
  appearance:none;cursor:pointer;margin-left:.25rem;
  background:transparent;color:var(--mx-muted);
  border:1px solid #ffffff30;border-radius:6px;
  padding:.1rem .35rem;font-size:.75rem;line-height:1.2;
}
.te246-mx-iconbtn:hover,.te246-mx-iconbtn:focus-visible{
  color:var(--mx-ink);border-color:var(--mx-accent);outline:2px solid var(--mx-accent);outline-offset:1px;
}
.te246-mx-iconbtn:disabled{opacity:.35;cursor:not-allowed;outline:none}
.te246-mx-totals td{font-weight:650}
.te246-mx-totals .te246-mx-leadcell{text-align:left}
.te246-mx-top{box-shadow:inset 0 -2px 0 var(--mx-accent)}
.te246-mx-rank{
  margin:0 0 .85rem;padding:.8rem .9rem;
  background:var(--mx-bg-2);border:1px solid var(--mx-line);border-radius:10px;
}
.te246-mx-rank h3{margin:0 0 .45rem;font-size:.9rem;letter-spacing:.08em;text-transform:uppercase;color:var(--mx-muted)}
.te246-mx-rank ol{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:.28rem}
.te246-mx-rank li{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;font-size:.95rem}
.te246-mx-rank li[data-rank="1"] .te246-mx-rname{color:var(--mx-accent);font-weight:650}
.te246-mx-rpos{color:var(--mx-muted);min-width:1.4rem}
.te246-mx-rtotal{font-variant-numeric:tabular-nums;font-weight:650}
.te246-mx-tie{
  margin:.65rem 0 0;padding:.55rem .65rem;
  background:var(--mx-warn-bg);color:var(--mx-warn);
  border-left:3px solid var(--mx-warn);border-radius:6px;font-size:.86rem;
}
.te246-mx-foot{margin:.2rem 0 0;font-size:.78rem;color:var(--mx-muted)}
@media (max-width:640px){
  .te246-mx{padding:1rem .75rem 1.15rem}
  .te246-mx table.te246-mx-table{min-width:28rem;font-size:.82rem}
  .te246-mx input[type=range]{width:5.2rem}
  .te246-mx-field{min-width:6.2rem}
}

.te246-mx .visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.te246-mx h3{margin:1.15rem 0 .5rem;font-size:1.05rem;color:var(--mx-ink)}
.te246-mx-steps{margin:0 0 1rem;padding-left:1.2rem;color:var(--mx-ink)}
.te246-mx-steps li{margin:0 0 .4rem;line-height:1.5}
.te246-mx-static{width:100%;border-collapse:separate;border-spacing:0;background:var(--mx-bg-2);border:1px solid var(--mx-line);border-radius:10px;color:var(--mx-ink);font-size:.9rem;margin:0 0 .7rem}
.te246-mx-static th,.te246-mx-static td{border:0;border-bottom:1px solid var(--mx-line);border-right:1px solid var(--mx-line);padding:.5rem .65rem;text-align:center;background:transparent}
.te246-mx-static th:first-child,.te246-mx-static td:first-child{text-align:left}
.te246-mx-static th:last-child,.te246-mx-static td:last-child{border-right:0}
.te246-mx-static tr:last-child th,.te246-mx-static tr:last-child td{border-bottom:0;font-weight:650}
.te246-mx-static caption{caption-side:bottom;text-align:left;padding:.45rem 0 0;color:var(--mx-muted);font-size:.8rem}
.te246-mx-rank-static{margin:0 0 1rem;color:var(--mx-ink)}
.te246-mx-rank-static ol{margin:.3rem 0 .5rem;padding-left:1.2rem}
.te246-mx-qa{margin:0 0 .2rem}
.te246-mx-qa h3{margin-top:1.2rem}
.te246-mx-qa h4{margin:.7rem 0 .25rem;font-size:.95rem;color:var(--mx-accent)}
.te246-mx-qa p{margin:0 0 .55rem;color:var(--mx-muted);font-size:.95rem;line-height:1.55}
.te246-mx-editor{margin-top:1.1rem;padding-top:1rem;border-top:1px solid var(--mx-line)}
.te246-mx-editor h3{margin-top:0}

.te246-mx-gridwrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:0 0 1rem}
.te246-mx-grid{
  display:grid;gap:1px;background:var(--mx-line);
  border:1px solid var(--mx-line);border-radius:10px;overflow:hidden;
  min-width:28rem;
}
.te246-mx-cell{background:var(--mx-bg-2);padding:.55rem .5rem;min-width:8.5rem}
.te246-mx-cell-head{font-weight:600;font-size:.8rem}
.te246-mx-cell-sticky{position:sticky;left:0;z-index:1;min-width:10rem;max-width:14rem;box-shadow:1px 0 0 var(--mx-line)}
.te246-mx-cell-total{font-weight:650}

.te246-mx [hidden]{display:none!important}

.te246-mx-grid[data-cols="2"]{grid-template-columns:minmax(10rem,1.3fr) repeat(2,minmax(8.5rem,1fr))}
.te246-mx-grid[data-cols="3"]{grid-template-columns:minmax(10rem,1.3fr) repeat(3,minmax(8.5rem,1fr))}
.te246-mx-grid[data-cols="4"]{grid-template-columns:minmax(10rem,1.3fr) repeat(4,minmax(8.5rem,1fr))}
.te246-mx-grid[data-cols="5"]{grid-template-columns:minmax(10rem,1.3fr) repeat(5,minmax(8.5rem,1fr))}
.te246-mx-grid[data-cols="6"]{grid-template-columns:minmax(10rem,1.3fr) repeat(6,minmax(8.5rem,1fr))}
.te246-mx-grid[data-cols="7"]{grid-template-columns:minmax(10rem,1.3fr) repeat(7,minmax(8.5rem,1fr))}
.te246-mx-grid[data-cols="8"]{grid-template-columns:minmax(10rem,1.3fr) repeat(8,minmax(8.5rem,1fr))}
