.guild-tabs {grid-template-columns:repeat(3,minmax(0,1fr))}
#mechanic-panel {min-width:0;scrollbar-gutter:stable;background:#293438;color:var(--chalk)}
.mech-heading {background:#354350;border-color:#252c30;box-shadow:inset 0 2px #64727a}
.mech-heading small {color:#c5d5cf}.mech-heading canvas {border-color:#73848a}
.mech-chapters button {background:#34424a;border-color:#52616a;color:#d2d9d3}
.mech-chapters button[aria-pressed=true] {background:#405660;color:#ffe2ab;border-color:#8d9b8c;box-shadow:inset 0 2px #73878b}
.mech-chapters button[aria-pressed=true] small {color:#c2dbcc}
#mech-entry {
  margin:0 12px 14px;padding:14px 18px 16px;min-width:0;color:#e6e6ce;
  background:#33464e;border:3px solid #667b79;border-left:6px solid #859488;box-shadow:inset 2px 2px #455d62;
}
#mech-entry header {border-bottom:2px solid #64787a;padding-bottom:7px;margin-bottom:9px}
#mech-entry header small {color:#bbcdc1;font-size:16px}#mech-entry h3 {font-size:clamp(20px,2vw,29px);line-height:1.16;color:#ffe5b2}
#mech-entry h4 {font:18px/1.18 var(--text);color:#f5d6a8;margin:0}
#mech-entry p {font-size:18px;line-height:1.2;max-width:70ch;margin:5px 0}
#mech-entry small {line-height:1.15}
#mech-entry .mech-note {color:#c3d3c8;font-size:16px;margin:8px 0 3px}
.mech-meters,.mech-choices {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(175px,100%),1fr));gap:7px;margin:9px 0}
.mech-meter,.mech-option {min-width:0;border:2px solid #647977;background:#2c3c42;padding:8px 9px}
.mech-meter>div {display:flex;align-items:center;justify-content:space-between;gap:5px;font-size:17px}
.mech-meter b {font-weight:normal;color:#ffd99b;white-space:nowrap}.mech-meter progress {width:100%;height:7px;appearance:none;border:0;background:#203236;display:block;margin-top:6px}
.mech-meter progress::-webkit-progress-bar {background:#203236}.mech-meter progress::-webkit-progress-value {background:#a1ba9b;box-shadow:inset 0 2px #cfddaf}.mech-meter progress::-moz-progress-bar {background:#a1ba9b}
.mech-option {display:flex;flex-direction:column;align-items:flex-start;gap:3px}
#mech-entry .mech-option p {color:#d4ddd0;font-size:16px}
.mech-action {
  min-height:33px;padding:4px 10px;margin:8px 7px 0 0;border:2px solid #34413a;
  background:#796345;box-shadow:inset 1px 2px #ae9468;color:#fff0c9;font:18px/1.15 var(--text);
}
.mech-action:hover:enabled {background:#866c4e}.mech-action:disabled {background:#45545a;color:#bdc8bb;border-color:#5a6766;box-shadow:none}
.mech-action[aria-pressed=true] {color:#ffdf9d;border-color:#b49c70;background:#574e40;box-shadow:inset 0 2px #72634f}
.mech-option .mech-action {margin-top:auto}
.mech-costs {margin:8px 0 5px}.mech-costs .work-cost {color:#e7ddc8}.mech-costs .ready b {color:#b8e3ac}.mech-costs .short b {color:#ffc794}
#mech-entry .work-jump {margin:7px 10px 3px 0;color:#cce4d4}
.mech-stamp {display:inline-block;border:2px solid #899e81;background:#3e544f;padding:3px 8px;margin:7px 9px 0 0;color:#cde9b7;font-size:17px}
@media(max-width:650px){
  .guild-tabs button {padding:5px 2px;gap:4px;font-size:16px}.guild-tabs button canvas {width:17px;height:17px}
  #mech-entry {margin:0 5px 8px;border-left-width:4px;padding:8px}#mech-entry p {font-size:17px}
  .mech-meters,.mech-choices {gap:4px}.mech-meter,.mech-option {padding:5px 7px}.mech-heading h2 {font-size:22px}
}
