/* Timber connections — on top of calc.css and ../timber/timber.css */
.tj-wood { fill: var(--x-ecdcb6, #ecdcb6); stroke: var(--x-6f5530, #6f5530); stroke-width: 1; }
.tj-wood2 { fill: var(--x-e2cda0, #e2cda0); stroke: var(--x-6f5530, #6f5530); stroke-width: 1; }
.tj-steel { fill: var(--steel-350); stroke: var(--steel-700); stroke-width: 1; }
.tj-crush { fill: color-mix(in srgb, var(--bad) 28%, transparent); stroke: none; }
.tj-pin { fill: none; stroke: var(--steel-800); stroke-linejoin: round; stroke-linecap: round; }
.tj-hinge { fill: var(--bad); stroke: var(--surface); stroke-width: 1.2; }
.tj-bolt { fill: var(--steel-800); stroke: none; }
.tj-washer { fill: none; stroke: var(--steel-700); stroke-width: 1; }
.tj-zone { fill: color-mix(in srgb, var(--good) 10%, transparent); stroke: none; }
.tj-zone.bad { fill: color-mix(in srgb, var(--bad) 16%, transparent); }
.tj-sideF { fill: color-mix(in srgb, var(--x-e2cda0, #e2cda0) 35%, transparent); stroke: var(--ochre); stroke-width: 1; stroke-dasharray: 5 3; }
.tj-plateF { fill: color-mix(in srgb, var(--steel-350) 45%, transparent); stroke: var(--steel-700); stroke-width: 1; stroke-dasharray: 5 3; }
#view .pill.bad rect { stroke: color-mix(in srgb, var(--bad) 60%, transparent); } #view .pill.bad text { fill: var(--bad-ink); font-weight: 600; }
.tj-modes { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 14px; border-top: 1px solid var(--line); align-items: center; }
.tj-mode { display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 6px; border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px 3px 3px; font-variant-numeric: tabular-nums; }
.tj-mode svg { width: 60px; height: 40px; grid-row: span 2; }
.tj-mode .l { font-size: 12px; font-weight: 600; color: var(--text-2); }
.tj-mode .v { font-size: 12px; color: var(--text-2); }
.tj-mode.gov { border-color: var(--text-2); background: color-mix(in srgb, var(--bad) 5%, transparent); }
.tj-mode.gov .l, .tj-mode.gov .v { color: var(--text); }
.tj-mu { font-size: 11.5px; color: var(--text-3); }
.tj-tag { display: inline-block; font-size: 10.5px; color: var(--text-3); border: 1px solid var(--line); border-radius: 999px; padding: 0 7px; line-height: 1.5; }
#mtChart { touch-action: none; user-select: none; }
#mtChart .cdrag { cursor: ew-resize; }

/* theme-auto:start · generated by scripts/theme/hexmap.py: dark values (the rule of scripts/theme/colour.py) for
   colours that are not tokens, written as var(--x-rrggbb, #rrggbb): light is the fallback, unchanged */
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --x-2f7d7a: #76b1ae; --x-6e7177: #85827f; --x-6f5530: #af9878; --x-7a4fa0: #b895dc; --x-8a5a0e: #c89e6a;
    --x-b0506e: #e691a8; --x-cf6a2c: #f7a071; --x-e2cda0: #5c4e2d; --x-ecdcb6: #3f341a;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --x-2f7d7a: #76b1ae; --x-6e7177: #85827f; --x-6f5530: #af9878; --x-7a4fa0: #b895dc; --x-8a5a0e: #c89e6a;
    --x-b0506e: #e691a8; --x-cf6a2c: #f7a071; --x-e2cda0: #5c4e2d; --x-ecdcb6: #3f341a;
  }
}
/* theme-auto:end */
