
:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #263d36;
  background: #f7f9f8;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #fff;
  color: #496056;
  border: 1px solid #dfe7e2;
  border-radius: 6px;
  padding: 10px 13px;
  font-size: 14px;
}
button:hover {
  background: #edf5ef;
  border-color: #9cbbaa;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #188366;
  outline-offset: 2px;
}
button:disabled {
  opacity: 0.4;
  cursor: default;
}
header {
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 27px;
  border-bottom: 1px solid #e1e7e5;
  background: #fff;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.8px;
}
.brandmark {
  background: #137c60;
  color: #fff;
  padding: 6px;
  display: flex;
  border-radius: 8px;
}
.product {
  font-size: 14px;
  font-weight: 400;
  color: #7a8984;
  letter-spacing: 0;
  margin-left: 14px;
}
.topnote {
  font-size: 11px;
  letter-spacing: 2px;
  color: #8b9994;
}
.projectbar {
  padding: 22px 27px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #dfe6e4;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #89948f;
  margin-bottom: 9px;
}
h1 {
  font-size: 23px;
  letter-spacing: -0.6px;
  margin: 0;
  font-weight: 600;
}
.badge {
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 600;
  background: #eff3f1;
  color: #6e8079;
  padding: 5px 7px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 12px;
}
.actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.primary {
  background: #147b5e;
  border-color: #147b5e;
  color: #fff;
}
.primary:hover {
  background: #10664d;
  color: #fff;
}
.localnote {
  font-size: 12px;
  color: #84938c;
  margin-right: 12px;
}
.workspace {
  display: grid;
  grid-template-columns: 218px minmax(450px, 1fr) 262px;
  min-height: calc(100vh - 211px);
}
.library,
.properties {
  background: #fff;
  padding: 24px 18px;
  border-right: 1px solid #dde5e1;
}
.sectiontitle {
  font-size: 11px;
  letter-spacing: 1.3px;
  color: #84928c;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.library > p {
  font-size: 12px;
  color: #8b9691;
  margin: 9px 0 23px;
}
.componentlist {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.componentlist button {
  padding: 12px 9px;
  justify-content: flex-start;
  text-align: left;
  border-color: #e7ece9;
  gap: 10px;
}
.componentlist button > svg {
  margin-left: auto;
  color: #94a099;
}
.componentlist small {
  display: block;
  font-size: 10px;
  color: #8b9691;
  margin-top: 5px;
}
.componenticon {
  width: 35px;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #368571;
  background: #ecf5f1;
  border-radius: 6px;
  flex-shrink: 0;
}
.fan {
  color: #637aac;
  background: #eef1fa;
}
.damper {
  color: #aa8a46;
  background: #faf5e9;
}
.tip {
  background: #f4f8f6;
  padding: 15px;
  margin-top: 28px;
  border: 1px solid #e8eeeb;
  border-radius: 7px;
  color: #648477;
}
.tip strong {
  font-size: 12px;
  display: block;
  margin-top: 10px;
}
.tip p {
  font-size: 12px;
  line-height: 1.6;
  color: #8a9990;
  margin-bottom: 0;
}
.librarybottom {
  margin-top: 35px;
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
  color: #7b8c83;
}
.librarybottom b {
  margin-left: auto;
}
.center {
  min-width: 0;
}
.canvastop {
  height: 53px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid #e0e7e3;
  font-size: 12px;
  color: #85978b;
}
.tabactive {
  display: inline-block;
  color: #277e63;
  padding: 19px 2px 17px;
  border-bottom: 2px solid #218768;
  font-weight: 600;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #339979;
  border-radius: 50%;
  margin-right: 6px;
}
.canvas {
  height: 435px;
  position: relative;
  background-color: #f8faf9;
  background-image: radial-gradient(#d6e1db 0.8px, transparent 0.8px);
  background-size: 19px 19px;
  overflow: hidden;
}
.network {
  width: 100%;
  height: 100%;
  touch-action: none;
}
.toolbar {
  position: absolute;
  top: 16px;
  left: 17px;
  background: #fff;
  box-shadow: 0 2px 8px #1d44250a;
  padding: 4px;
  border: 1px solid #e1e7e3;
  border-radius: 7px;
  display: flex;
  gap: 3px;
  z-index: 1;
}
.toolbar button,
.zoom button {
  border: 0;
  padding: 8px;
  background: transparent;
}
.toolbar .active {
  background: #e7f2ec;
  color: #147b5e;
}
.toolbar hr {
  border: 0;
  border-left: 1px solid #e0e7e2;
  margin: 5px;
}
.duct {
  fill: none;
  stroke: #76a493;
  stroke-width: 3.5;
  stroke-linejoin: round;
  marker-end: url(#arrow);
}
.duct.selected {
  stroke: #167d59;
  stroke-width: 5;
}
.ductlabel {
  font-size: 12px;
  fill: #5e7770;
  text-anchor: middle;
  paint-order: stroke;
  stroke: #f8faf9;
  stroke-width: 5px;
}
.flowlabel {
  font-size: 11px;
  fill: #8a9c91;
  text-anchor: middle;
  paint-order: stroke;
  stroke: #f8faf9;
  stroke-width: 4px;
}
.node {
  cursor: grab;
  color: #2c826c;
}
.node rect {
  fill: #fff;
  stroke: #b6cdc3;
  stroke-width: 1.7;
  filter: drop-shadow(0px 3px 4px #23452e08);
}
.node rect.selected {
  stroke: #198460;
  stroke-width: 2.4;
  fill: #eef8f3;
}
.node text {
  font-size: 12px;
  fill: #47675a;
  font-weight: 500;
}
.canvaslegend {
  position: absolute;
  bottom: 19px;
  left: 20px;
  display: flex;
  gap: 17px;
  font-size: 10px;
  color: #84978c;
}
.line {
  width: 20px;
  height: 2px;
  background: #6a9d89;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}
.zoom {
  position: absolute;
  bottom: 13px;
  right: 16px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #dce6df;
  border-radius: 6px;
  font-size: 11px;
}
.resulthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px 22px 15px;
  border-top: 1px solid #dfe7e1;
  background: #fff;
}
.resulthead strong {
  font-size: 14px;
  font-weight: 600;
}
.resulthead span {
  font-size: 11px;
  color: #8a978e;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 22px 20px;
  gap: 10px;
  background: #fff;
}
.metrics > div {
  border: 1px solid #e4eae6;
  padding: 15px 12px;
  border-radius: 6px;
}
.metrics label {
  font-size: 9px;
  letter-spacing: 0.6px;
  color: #7d9184;
}
.metrics strong {
  display: block;
  font-size: 24px;
  letter-spacing: -0.7px;
  font-weight: 500;
  margin-top: 9px;
}
.metrics small {
  font-size: 12px;
  font-weight: 400;
  color: #91a094;
  letter-spacing: 0;
}
.tableheading {
  padding: 8px 16px;
  background: #fff;
  border-top: 1px solid #e4eae6;
  display: flex;
  gap: 6px;
}
.tableheading button {
  font-size: 12px;
  border: 0;
}
.tableheading .active {
  background: #eef6f0;
  color: #167b5a;
}
.tablewrap {
  overflow: auto;
  max-height: 290px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  text-align: left;
  background: #fff;
}
th {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #8a978e;
  background: #f7f9f8;
  position: sticky;
  top: 0;
}
th,
td {
  padding: 13px 18px;
  border-bottom: 1px solid #e9eeeb;
  white-space: nowrap;
}
tbody tr {
  cursor: pointer;
}
tbody tr:hover {
  background: #f0f6f2;
}
.sectiondot {
  width: 7px;
  height: 7px;
  background: #c1d6cc;
  display: inline-block;
  border-radius: 2px;
  margin-right: 6px;
}
.properties {
  border-right: 0;
  border-left: 1px solid #dfe7e1;
}
.selectedtitle {
  display: flex;
  gap: 12px;
  margin: 23px 0;
}
.selectedtitle strong {
  font-size: 16px;
  font-weight: 600;
}
.selectedtitle small {
  display: block;
  font-size: 12px;
  color: #90a093;
  margin-top: 5px;
}
.properties label,
.settings label {
  display: block;
  font-size: 12px;
  color: #6f8177;
  margin: 17px 0;
}
.properties label > span {
  float: right;
  color: #9aa69e;
}
.properties input,
.properties select,
.settings input {
  width: 100%;
  display: block;
  background: #fff;
  border: 1px solid #dce5de;
  border-radius: 5px;
  padding: 9px 10px;
  color: #455e4e;
  margin-top: 7px;
  font-size: 14px;
  min-width: 0;
}
.subheading {
  margin-top: 25px;
  padding-top: 22px;
  border-top: 1px solid #e8ede9;
}
.infobox {
  padding: 13px;
  background: #f4f7f5;
  border-radius: 6px;
  font-size: 12px;
  line-height: 1.6;
  color: #899b8d;
  margin-top: 23px;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 13px 24px;
  border-top: 1px solid #dce5de;
  font-size: 10px;
  color: #8b9a8f;
  background: #fff;
}
.divider {
  margin: 0 12px;
  color: #d1dad4;
}
.notice {
  padding: 10px 22px;
  background: #edf6ef;
  color: #367653;
  font-size: 12px;
  line-height: 1.6;
}
.notice.warn {
  background: #fff6e6;
  color: #92702c;
}
.smallbutton {
  font-size: 12px;
  padding: 8px 10px;
}
.danger {
  color: #ac554c;
  margin-top: 18px;
  width: 100%;
}
.hint {
  position: absolute;
  top: 20px;
  right: 17px;
  max-width: 220px;
  background: #fff9e9;
  border: 1px solid #ecdcae;
  padding: 10px;
  font-size: 12px;
  border-radius: 6px;
  color: #9a7c3c;
}
.modalback {
  position: fixed;
  inset: 0;
  background: #14382a55;
  display: grid;
  place-items: center;
  z-index: 20;
  padding: 20px;
}
.modal {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  max-width: 660px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  box-shadow: 0 20px 80px #173e2825;
}
.modal h2 {
  font-size: 22px;
  margin: 0 0 20px;
}
.modal h3 {
  font-size: 15px;
  margin-top: 24px;
}
.modal p,
.modal li {
  font-size: 14px;
  line-height: 1.75;
  color: #718279;
}
.modal a {
  color: #16845e;
  text-decoration: underline;
}
.modalclose {
  float: right;
}
.settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.empty {
  padding: 24px;
  color: #879a8c;
  font-size: 14px;
}
.sideactions {
  display: flex;
  gap: 7px;
  margin-top: 20px;
  flex-wrap: wrap;
}
@media (min-width: 1500px) {
  .canvas {
    height: 510px;
  }
  .workspace {
    grid-template-columns: 245px minmax(450px, 1fr) 285px;
  }
}
@media (max-width: 1100px) {
  .workspace {
    grid-template-columns: 180px minmax(400px, 1fr) 225px;
  }
  .library,
  .properties {
    padding: 20px 12px;
  }
  .topnote,
  .localnote {
    display: none;
  }
  .metrics {
    padding: 0 12px 15px;
    gap: 6px;
  }
  .metrics > div {
    padding: 12px 8px;
  }
  .metrics strong {
    font-size: 21px;
  }
  th,
  td {
    padding: 12px;
  }
}
@media (max-width: 800px) {
  .workspace {
    grid-template-columns: 135px minmax(0, 1fr);
  }
  .properties {
    grid-column: 1/-1;
    border-top: 1px solid #ddd;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .properties .sectiontitle,
  .selectedtitle {
    grid-column: 1/-1;
  }
  .properties label {
    margin: 5px;
  }
  .product,
  .breadcrumb,
  .topnote {
    display: none;
  }
  .projectbar {
    padding: 16px;
    align-items: flex-start;
    gap: 12px;
    flex-direction: column;
  }
  .brand {
    font-size: 20px;
  }
  header {
    padding: 0 16px;
  }
  .componentlist button {
    padding: 8px;
    font-size: 12px;
  }
  .componentlist small,
  .componentlist button > svg,
  .tip,
  .librarybottom {
    display: none;
  }
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }
  .canvas {
    height: 370px;
  }
  .canvaslegend {
    display: none;
  }
  .resulthead span {
    display: none;
  }
  .actions {
    flex-wrap: wrap;
  }
  .properties .infobox {
    grid-column: 1/-1;
  }
  .sectiontitle {
    font-size: 10px;
  }
  h1 {
    font-size: 20px;
  }
  .canvastop {
    padding: 0 10px;
  }
  .canvastop > span {
    display: none;
  }
  .hint {
    top: 60px;
  }
  .metrics label {
    font-size: 9px;
  }
}

.componenticon.cyclone {
  color: #356eac;
  background: #edf3fc;
}
.componenticon.bag-filter {
  color: #8a6b34;
  background: #faf3e6;
}

.library > .projectactions {
  margin: 0 0 22px;
}

/* Professional website integration: blue and white. */
body { margin: 0; }
svg { vertical-align: middle; }
button,input,select { font-family: inherit; }
button { line-height: 1.25; }
.site-tool-nav { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:12px 26px; background:#f5f7fb; color:#162640; font:12px/1.5 Arial,sans-serif; }
.site-tool-nav a { color:#2859d6; text-decoration:none; font-weight:700; }
.site-tool-nav a:hover { text-decoration:underline; }
.site-tool-nav span { color:#65758e; letter-spacing:.08em; }
#duct-designer .brandmark { background:#2859d6; color:#fff; }
#duct-designer .primary { background:#2859d6; border-color:#2859d6; color:#fff; }
#duct-designer .primary:hover { background:#1945b5; }
#duct-designer .topnote { color:#667586; }
#duct-designer .badge { background:#fff4c2; color:#665200; }
#duct-designer .tabactive { color:#24628c; border-color:#24628c; }
#duct-designer .componentlist small { font-size:12px; }
#duct-designer footer { padding-bottom:20px; }
#duct-designer .properties label { font-size:14px; }
#duct-designer .metrics label { font-size:11px; }
#duct-designer .metrics small,#duct-designer table { font-size:13px; }
#duct-designer .modal p,#duct-designer .modal li { font-size:16px; }
#duct-designer .network { display:block; }
#duct-designer .toolbar hr { height:auto; }
#duct-designer .node:focus-visible { outline:2px solid #24628c; outline-offset:6px; }
@media(max-width:800px){.site-tool-nav{padding:10px 16px}#duct-designer .componentlist small{display:none}}

:root [data-site-navigation] { height:auto; }
.site-tool-nav { border-bottom:1px solid #dce3ed; }
#duct-designer { color:#162640; }
#duct-designer .brandmark { background:#2859d6; color:#fff; }
#duct-designer .badge { background:#edf2fc; color:#2859d6; }
#duct-designer .node rect.selected { stroke:#2859d6; fill:#edf2fc; }
#duct-designer .duct.selected { stroke:#2859d6; }
#duct-designer .tableheading .active,#duct-designer .toolbar .active { color:#2859d6; background:#edf2fc; }
