/* Duct sizing and fan: on top of calc.css, thermal/thermal.css and walls/walls.css (panel cards, tables) */
main.dc .tabs { grid-template-columns: repeat(3, 1fr); }
.dc-cap { font-size: 12.5px; color: var(--text-3); align-self: center; }
#view .dc-ahu { fill: var(--steel-100); stroke: var(--steel-750); stroke-width: 1.1; }
#view .dc-ahl { fill: none; stroke: var(--steel-400); stroke-width: .9; pointer-events: none; }
#view .dc-con { fill: none; stroke: var(--steel-750); stroke-width: 1.1; pointer-events: none; }
#view .dc-fan { fill: var(--surface); stroke: var(--steel-750); stroke-width: 1.2; }
#view .dc-imp { fill: none; stroke: var(--steel-550); stroke-width: 1; pointer-events: none; }
#view .dc-duct { fill: var(--steel-150); stroke: var(--steel-750); stroke-width: 1.1; cursor: pointer; }
#view .dc-duct.sel { stroke: var(--sel); stroke-width: 1.8; }
#view .dc-term { fill: var(--surface); stroke: var(--steel-750); stroke-width: 1.1; }
#view .dc-terml { fill: none; stroke: var(--steel-550); stroke-width: .8; pointer-events: none; }
#view .dc-index { fill: none; stroke: var(--sel); stroke-width: 1.4; stroke-dasharray: 6 4; pointer-events: none; }
#view .dc-flowhd { fill: var(--steel-650); pointer-events: none; }
#view .dc-tn { font-size: 12px; }
#view .handle.hy { cursor: ns-resize; }
#view .pill.fixed rect { stroke: color-mix(in srgb, var(--sel) 45%, transparent); } #view .pill.fixed text { fill: var(--x-1e4fbf, #1e4fbf); }
.dc-io { margin: 0 0 8px; }
.dc-fits { display: grid; gap: 4px; margin: 0 0 6px; }
.dc-fit { display: grid; grid-template-columns: minmax(0, 1fr) 54px 62px auto; gap: 4px; align-items: center; }
.dc-fit:has(.dc-z + .dc-z) { grid-template-columns: minmax(0, 1fr) 54px 62px 92px auto; }
.dc-fit select { min-width: 0; width: 100%; font-size: 12.5px; }
.dc-fit .num input, .dc-pl .num input, .dc-cp .num input { width: 100%; }
.dc-fit button, .dc-pl button, .dc-cp button { width: 26px; height: 26px; padding: 0; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.dc-fadd, .dc-badd { justify-self: start; margin: 2px 0 6px; }
.dc-br { border-top: 1px dashed var(--line-2); margin-top: 8px; padding-top: 8px; }
.dc-pl { display: grid; grid-template-columns: minmax(0, 1fr) 110px auto; gap: 4px; align-items: center; margin-bottom: 4px; }
.dc-curve { display: grid; gap: 4px; margin: 4px 0 6px; }
.dc-cp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 4px; align-items: center; }
.ky-edit .dc-auto { font-size: 11.5px; padding: 2px 6px; }
.ky-edit input + span + input { width: 64px; }
/* schedule */
.dc-tab { margin-bottom: 4px; }
.dc-tab th.r { text-align: right; }
.dc-tab tr.br td:first-child { color: var(--text-2); }
.dc-tab tr.ix td { font-weight: 600; }
.dc-tt { margin-top: 12px; }
@media (max-width: 760px) {
  .dc-tab, .dc-tab tbody { display: block; width: 100%; }
  .dc-tab thead { display: none; }
  .dc-tab tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
  .dc-tab td { border: 0 !important; padding: 0 !important; }
  .dc-tab td:first-child { grid-column: 1 / -1; }
  .dc-tab td.v { text-align: left; white-space: normal; }
  .dc-tab td[data-l]:not([data-l=""])::before { content: attr(data-l) " "; color: var(--text-3); font-weight: 400; }
}

/* 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-1e4fbf: #749ff5; --x-6e7177: #85827f; --x-e7d3c6: #43362d; --x-f1ead3: #322d1f;
  }
}
@media screen {
  :root[data-theme="dark"] {
    --x-1e4fbf: #749ff5; --x-6e7177: #85827f; --x-e7d3c6: #43362d; --x-f1ead3: #322d1f;
  }
}
/* theme-auto:end */
