@import url("/quotefleet-font-system.css");
.axc{
  color-scheme: light;
  --ink: #2c2c2c;
  --muted: #767676;
  --line: #e0e0e0;
  --paper: #fff;
  --bg: #f4f4f4;
  --accent: #484848;
  --accent-light: #ebebeb;
  --warning: #5c5c5c;
  --warn-bg: #f2f2f2;
  --error: #5e5e5e;
  --radius: 14px;
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
}
.axc *{
  box-sizing: border-box;
}
.axc{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}
.axc button,.axc input,.axc select{
  font: inherit;
}
.axc button,.axc a,.axc input,.axc select,.axc summary{
  touch-action: manipulation;
}
.axc button{
  cursor: pointer;
}
.axc button:disabled{
  cursor: default;
  opacity: 0.45;
}
.axc button:focus-visible,.axc a:focus-visible,.axc summary:focus-visible{
  outline: 3px solid #6b6b6b;
  outline-offset: 3px;
}
.axc a{
  color: var(--accent);
  text-decoration: none;
}
.axc a:hover{
  text-decoration: underline;
}
.axc button{
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--ink);
  font-weight: 550;
}
.axc button:hover:not(:disabled){
  background: var(--accent-light);
  border-color: #b6b6b6;
}
.axc input,.axc select{
  width: 100%;
  height: 41px;
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--ink);
  min-width: 0;
}
.axc input:focus,.axc select:focus{
  outline: 2px solid #a4a4a4;
  outline-offset: 1px;
}
.axc input::placeholder{
  color: #979797;
}
.axc input[aria-invalid="true"]{
  border-color: var(--error);
  background: #fafafa;
}
.axc label{
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}
.axc label input,.axc label select{
  margin-top: 4px;
  font-size: 14px;
  font-weight: 450;
}
.axc .topbar{
  height: 64px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0 4.2vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.axc .brand{
  font-size: 21px;
  font-weight: 780;
  letter-spacing: -0.7px;
  color: var(--ink);
}
.axc .brand span{
  font-size: 14px;
  font-weight: 450;
  color: var(--muted);
  letter-spacing: 0;
}
.axc .topbar > a:last-child{
  font-size: 12px;
}
.axc main{
  max-width: 1600px;
  margin: 0 auto;
  padding: 32px 4.2vw 24px;
}
.axc .page-heading{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
}
.axc .eyebrow{
  font-size: 10px;
  letter-spacing: 1.7px;
  font-weight: 750;
  color: var(--accent);
  margin: 0 0 12px;
}
.axc h1{
  font-size: 34px;
  letter-spacing: -1.2px;
  line-height: 1.1;
  margin: 0 0 12px;
}
.axc h2{
  font-size: 16px;
  margin: 0;
  font-weight: 680;
  letter-spacing: -0.3px;
}
.axc h3{
  font-size: 14px;
  margin: 0;
}
.axc .lede{
  color: var(--muted);
  margin: 0;
  font-size: 13px;
}
.axc .button{
  padding: 12px 16px;
  border-radius: 8px;
  white-space: nowrap;
}
.axc .primary{
  background: var(--accent);
  color: var(--paper);
  border-color: var(--accent);
}
.axc .primary:hover:not(:disabled){
  background: #383838;
  border-color: #383838;
}
.axc .secondary{
  background: var(--paper);
}
.axc .setup-bar{
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 170px 145px auto;
  align-items: start;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px;
  margin-bottom: 24px;
}
.axc .save-control{
  padding-top: 24px;
  text-align: center;
}
.axc .save-control button{
  min-height: 41px;
  width: 100%;
}
.axc #save-state{
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-top: 4px;
  max-width: 220px;
}
.axc .workspace{
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(420px, 1.25fr);
  gap: 24px;
  align-items: start;
}
.axc .equipment-panel,.axc .preview-panel,.axc .axle-panel{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
  overflow: hidden;
}
.axc .panel-heading{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.axc .panel-intro{
  font-size: 11px;
  color: var(--muted);
  margin: 16px 24px 16px;
  line-height: 1.6;
}
.axc .segmented{
  display: flex;
  gap: 4px;
  background: #f2f2f2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 4px;
}
.axc .segmented button{
  border: 0;
  padding: 8px 12px;
  background: transparent;
  font-size: 11px;
  white-space: nowrap;
  border-radius: 6px;
}
.axc .segmented button[aria-pressed="true"]{
  background: var(--paper);
  box-shadow: 0 1px 3px #3131311a;
  color: var(--accent);
}
.axc .unit-card{
  margin: 0 16px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.axc .unit-heading{
  padding: 12px 16px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.axc .unit-heading > div:first-child{
  display: flex;
  align-items: center;
  gap: 8px;
}
.axc .unit-number{
  width: 23px;
  height: 23px;
  border-radius: 6px;
  background: #e4e4e4;
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 750;
  font-size: 11px;
}
.axc .unit-heading .mini-actions{
  display: flex;
  gap: 4px;
}
.axc .mini-actions button{
  font-size: 10px;
  padding: 4px 8px;
}
.axc .unit-body{
  padding: 16px;
}
.axc .field-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.axc .field-grid .wide{
  grid-column: 1/-1;
}
.axc .source-pill{
  display: inline-block;
  font-size: 10px;
  color: var(--warning);
  border-radius: 6px;
  background: var(--warn-bg);
  padding: 0px 4px;
  margin-left: 4px;
  font-weight: 500;
}
.axc .source-pill.checked{
  color: var(--accent);
  background: var(--accent-light);
}
.axc .unit-details{
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.axc .unit-details > summary{
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  margin-bottom: 12px;
}
.axc .field-help{
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 400;
}
.axc .confirm-measurements{
  margin-top: 12px;
  font-size: 10px;
  border-style: dashed;
  width: 100%;
  color: var(--accent);
}
.axc .inline-check{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12px;
}
.axc .inline-check input{
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--accent);
}
.axc .add-units{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 16px 16px;
}
.axc .add-units button{
  font-size: 11px;
  border-style: dashed;
}
.axc .live-pill{
  font-size: 10px;
  color: var(--accent);
  display: flex;
  gap: 4px;
  align-items: center;
}
.axc .live-pill span{
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #787878;
}
.axc .preview-panel{
  position: sticky;
  top: 16px;
}
.axc .preview-controls{
  display: flex;
  justify-content: space-between;
  padding: 16px 16px 12px;
}
.axc .preview-actions{
  display: flex;
  gap: 8px;
}
.axc .preview-actions button{
  font-size: 11px;
}
.axc .preview-stage{
  height: 360px;
  position: relative;
  margin: 0 16px;
  background: radial-gradient(ellipse at center, #f3f3f3 0%, #efefef 100%);
  border-radius: 12px;
  overflow: hidden;
}
.axc #view-3d,.axc #view-2d{
  position: absolute;
  inset: 0;
}
.axc #view-3d[hidden],.axc #view-2d[hidden]{
  display: none;
}
.axc #view-3d canvas{
  width: 100%;
  height: 100%;
  display: block;
}
.axc #view-2d{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}
.axc #view-2d svg{
  width: 100%;
  height: 100%;
  overflow: visible;
}
.axc .preview-hint{
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 10px;
  color: #6c6c6c;
  background: #ffffffc9;
  border-radius: 6px;
  padding: 4px 8px;
  pointer-events: none;
}
.axc .graphics-note{
  font-size: 10px;
  color: var(--muted);
  margin: 12px 24px 0;
  line-height: 1.5;
}
.axc .stats{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 16px 24px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  gap: 12px;
}
.axc .stat > span{
  font-size: 10px;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.axc .stat strong{
  font-size: 19px;
  letter-spacing: -0.5px;
  font-weight: 650;
}
.axc .stat small{
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 4px;
}
.axc .preview-readiness{
  padding: 0 24px 16px;
  font-size: 11px;
  line-height: 1.6;
}
.axc .readiness-tag{
  display: inline-block;
  padding: 4px 8px;
  border-radius: 6px;
  margin: 0 4px 4px 0;
  background: var(--accent-light);
  color: var(--accent);
}
.axc .readiness-tag.warn{
  color: var(--warning);
  background: var(--warn-bg);
}
.axc .readiness-tag.error{
  background: #f3f3f3;
  color: var(--error);
}
.axc .preview-readiness p{
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 10px;
}
.axc .extension-controls{
  padding: 0 24px;
}
.axc .extension-controls:empty{
  display: none;
}
.axc .extension-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.axc .extension-row label{
  font-size: 11px;
}
.axc .extension-row output{
  font-size: 12px;
  color: var(--accent);
  font-weight: 650;
}
.axc .extension-row input{
  grid-column: 1/-1;
  accent-color: var(--accent);
  height: 25px;
  padding: 0;
}
.axc .geometry-details{
  margin: 12px 24px 16px;
}
.axc .geometry-details summary{
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}
.axc .geometry-details table{
  width: 100%;
  border-collapse: collapse;
  font-size: 10px;
  margin-top: 12px;
}
.axc .geometry-details th,.axc .geometry-details td{
  text-align: left;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line);
}
.axc .axle-panel{
  margin-top: 24px;
}
.axc .presets{
  display: flex;
  align-items: center;
  gap: 8px;
}
.axc .presets span{
  font-size: 10px;
  color: var(--muted);
  margin-right: 8px;
}
.axc .presets button{
  font-size: 11px;
  padding: 8px 12px;
}
.axc #axle-units{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 16px;
  margin: 0 24px 24px;
}
.axc .axle-unit{
  border: 1px solid var(--line);
  border-radius: 8px;
  min-width: 0;
}
.axc .axle-unit > header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px;
  background: #f7f7f7;
  gap: 8px;
}
.axc .axle-count{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  white-space: nowrap;
}
.axc .axle-count button{
  font-size: 13px;
  width: 25px;
  height: 25px;
  padding: 0;
}
.axc .axle-list{
  padding: 8px 12px;
}
.axc .axle-row{
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.axc .axle-row:last-child{
  border: 0;
}
.axc .axle-dot{
  width: 27px;
  height: 27px;
  border: 2px solid #8c8c8c;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 650;
  margin-top: 8px;
}
.axc .axle-fields{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.axc .axle-fields > label:first-child{
  grid-column: 1/-1;
}
.axc .axle-fields label{
  font-size: 10px;
}
.axc .axle-fields input,.axc .axle-fields select{
  font-size: 11px;
  height: 32px;
  padding: 4px 8px;
}
.axc .axle-reference{
  font-size: 10px;
  color: var(--muted);
  padding-top: 12px;
}
.axc .tire-options{
  font-size: 10px;
  margin: 8px 12px;
}
.axc .tire-options summary{
  cursor: pointer;
  color: var(--muted);
}
.axc .tire-options > .field-grid{
  margin-top: 12px;
}
.axc .coupling-note{
  margin: 0 12px 12px;
  padding: 8px;
  background: #f1f1f1;
  border-radius: 6px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}
.axc .coupling-note strong{
  color: var(--ink);
}
.axc .editor-footer{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.axc .editor-footer > div{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.axc .editor-footer button{
  font-size: 11px;
  background: transparent;
}
.axc .page-footnote{
  font-size: 10px;
  color: var(--muted);
  margin: 24px 0;
}
.axc .notice{
  padding: 16px 16px;
  border: 1px solid #cccccc;
  background: #f6f6f6;
  border-radius: 8px;
  margin: 0 0 24px;
  color: #555555;
  font-size: 12px;
  line-height: 1.6;
}
.axc .notice ul{
  padding-left: 16px;
  margin: 8px 0;
}
.axc .notice button{
  font-size: 11px;
}
.axc .notice[hidden],.axc .toast[hidden]{
  display: none;
}
.axc dialog{
  border: 1px solid var(--line);
  border-radius: 16px;
  width: min(620px, calc(100vw - 28px));
  max-height: 85vh;
  padding: 24px;
  color: var(--ink);
  box-shadow: 0 24px 80px #2a2a2a30;
}
.axc dialog::backdrop{
  background: #21212159;
  backdrop-filter: blur(3px);
}
.axc .dialog-heading{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.axc .dialog-heading > button{
  border: 0;
  font-size: 24px;
  padding: 4px 8px;
}
.axc .dialog-heading .eyebrow{
  margin-bottom: 8px;
}
.axc .library-search{
  margin-bottom: 24px;
}
.axc .library-item{
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.axc .library-item h3{
  margin-bottom: 8px;
  overflow-wrap: anywhere;
}
.axc .library-item p{
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 12px;
}
.axc .library-item .item-actions{
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.axc .library-item button{
  font-size: 11px;
}
.axc .dialog-actions{
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 24px;
}
.axc #library-message{
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.axc .toast{
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 24px;
  background: #2e2e2e;
  color: var(--paper);
  border-radius: 8px;
  box-shadow: 0 8px 30px #2c2c2c26;
  font-size: 12px;
  max-width: 90vw;
  z-index: 10;
}
.axc .skip{
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--paper);
  padding: 12px;
  z-index: 20;
}
.axc .skip:focus{
  top: 12px;
}
.axc .error-text{
  font-size: 10px;
  color: var(--error);
  margin-top: 4px;
}
.axc .print-only{
  display: none;
}
@media (min-width: 1500px){
.axc .preview-stage{
    height: 420px;
  }
}
@media (max-width: 1050px){
.axc main{
    padding: 32px 24px;
  }
.axc .setup-bar{
    grid-template-columns: 1fr 160px 140px;
    gap: 12px;
  }
.axc .save-control{
    grid-column: 1/-1;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 0;
    text-align: left;
  }
.axc .save-control button{
    width: auto;
  }
.axc .save-control span{
    margin: 0;
  }
.axc .workspace{
    grid-template-columns: 1fr 1.1fr;
    gap: 16px;
  }
.axc .panel-heading{
    padding: 16px;
  }
.axc .unit-card{
    margin-left: 12px;
    margin-right: 12px;
  }
.axc .stats{
    margin-left: 16px;
    margin-right: 16px;
  }
.axc .stat strong{
    font-size: 16px;
  }
.axc .panel-intro{
    margin-left: 16px;
    margin-right: 16px;
  }
.axc .preview-stage{
    height: 330px;
  }
.axc .segmented button{
    padding: 8px 8px;
  }
.axc .equipment-panel > .panel-heading{
    flex-wrap: wrap;
  }
}
@media (max-width: 760px){
.axc main{
    padding: 24px 16px 16px;
  }
.axc .topbar{
    padding: 0 16px;
    height: 57px;
  }
.axc .brand{
    font-size: 20px;
  }
.axc .brand span{
    font-size: 12px;
  }
.axc .topbar > a:last-child{
    font-size: 10px;
  }
.axc .page-heading{
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 12px;
  }
.axc .page-heading > .button{
    font-size: 11px;
    padding: 8px 12px;
  }
.axc h1{
    font-size: 28px;
  }
.axc .eyebrow{
    font-size: 8px;
    letter-spacing: 1px;
  }
.axc .lede{
    font-size: 11px;
    line-height: 1.6;
  }
.axc .setup-bar{
    grid-template-columns: 1fr 1fr;
    padding: 16px;
    gap: 12px;
  }
.axc .name-field{
    grid-column: 1/-1;
  }
.axc .save-control{
    display: block;
  }
.axc .save-control button{
    width: 100%;
  }
.axc .save-control span{
    max-width: none;
    text-align: center;
    margin-top: 8px;
  }
.axc .workspace{
    grid-template-columns: 1fr;
  }
.axc .preview-panel{
    position: static;
    grid-row: 1;
  }
.axc .preview-stage{
    height: 300px;
  }
.axc .equipment-panel > .panel-heading{
    flex-wrap: nowrap;
  }
.axc .preview-panel .stats{
    margin-top: 16px;
    margin-bottom: 12px;
  }
.axc .stat strong{
    font-size: 18px;
  }
.axc .axle-panel > .panel-heading{
    flex-wrap: wrap;
  }
.axc .presets{
    flex-wrap: wrap;
  }
.axc .editor-footer{
    margin-top: 16px;
    gap: 12px;
  }
.axc #axle-units{
    grid-template-columns: 1fr;
    margin: 0 16px 16px;
  }
.axc .page-footnote{
    line-height: 1.6;
  }
.axc .field-grid{
    gap: 12px;
  }
.axc .graphics-note{
    margin-left: 16px;
  }
.axc .geometry-details{
    margin-left: 16px;
    margin-right: 16px;
  }
}
@media print{
.axc{
    background: var(--paper);
    font-size: 11px;
  }
.axc .topbar,.axc .page-heading > .button,.axc .save-control,.axc .editor-footer,.axc .add-units,.axc .confirm-measurements,.axc .mini-actions,.axc .preview-controls,.axc .preview-hint,.axc .extension-controls input,.axc .page-footnote,.axc .segmented,.axc .presets,.axc .skip,.axc .toast{
    display: none !important;
  }
.axc main{
    max-width: none;
    padding: 0;
  }
.axc .page-heading{
    margin-bottom: 16px;
  }
.axc h1{
    font-size: 24px;
  }
.axc .workspace{
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
.axc .preview-panel,.axc .equipment-panel{
    width: 100%;
    position: static;
    break-inside: avoid;
    overflow: visible;
  }
.axc .preview-panel{
    order: 0;
  }
.axc .equipment-panel{
    order: 1;
  }
.axc .setup-bar{
    grid-template-columns: 2fr 1fr 1fr;
    padding: 12px;
  }
.axc .setup-bar input,.axc .setup-bar select{
    border: 0;
    padding: 0;
    height: auto;
    appearance: none;
  }
.axc .unit-card{
    break-inside: avoid;
  }
.axc .unit-details{
    display: block;
  }
.axc .unit-details > summary{
    display: none;
  }
.axc .unit-details:not([open]) > .field-grid{
    display: grid;
  }
.axc .preview-stage{
    height: 250px;
  }
.axc #view-3d{
    display: none !important;
  }
.axc #view-2d{
    display: flex !important;
  }
.axc .stats{
    margin: 12px 24px;
  }
.axc .geometry-details{
    display: block;
  }
.axc .geometry-details:not([open]) > div{
    display: block;
  }
.axc .axle-panel{
    overflow: visible;
    break-inside: auto;
  }
.axc #axle-units{
    grid-template-columns: 1fr 1fr;
    overflow: visible;
  }
.axc .axle-unit{
    break-inside: avoid;
  }
.axc .axle-count button{
    display: none;
  }
.axc .tire-options:not([open]) > .field-grid{
    display: grid;
  }
.axc .tire-options summary{
    display: none;
  }
.axc input,.axc select{
    color: #292929;
    box-shadow: none !important;
  }
.axc .notice{
    break-inside: avoid;
  }
.axc .print-only{
    display: block;
  }
.axc .graphics-note{
    display: none;
  }
.axc dialog{
    display: none !important;
  }
}
.axc .source-pill[hidden]{
  display: none;
}
@media print{
.axc .page-heading,.axc #editor,.axc .page-footnote{
    display: none !important;
  }
.axc #print-spec{
    display: block !important;
    font-size: 10px;
    line-height: 1.5;
  }
.axc #print-spec h1{
    font-size: 23px;
    margin: 0 0 8px;
  }
.axc #print-spec h2{
    font-size: 14px;
    margin: 0 0 8px;
  }
.axc #print-spec h3{
    font-size: 12px;
    margin: 0 0 8px;
  }
.axc #print-spec svg{
    display: block;
    width: 100%;
    height: 180px;
    margin-bottom: 12px;
  }
.axc #print-spec table{
    border-collapse: collapse;
    width: 100%;
    font-size: 10px;
    margin-bottom: 12px;
  }
.axc #print-spec td,.axc #print-spec th{
    text-align: left;
    border-bottom: 1px solid var(--line);
    padding: 4px 8px;
  }
.axc #print-spec article{
    break-inside: avoid;
    margin: 0 0 16px;
  }
.axc #print-spec .print-title{
    margin-bottom: 16px;
  }
.axc .print-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}
.axc{
  --ink: #252525;
  --muted: #666;
  --line: #d7d7d7;
  --bg: #fff;
  --paper: #fff;
  --accent: #333;
  --accent-light: #ededed;
  --warning: #555;
  --warn-bg: #f3f3f3;
  --error: #333;
  --radius: 6px;
  font-family: Arial, Helvetica, sans-serif;
}
.axc{
  background: var(--paper);
}
.axc button,.axc input,.axc select{
  border-radius: 6px;
}
.axc button{
  font-weight: 400;
}
.axc button:hover:not(:disabled){
  border-color: #999;
  background: #eee;
}
.axc button:focus-visible,.axc a:focus-visible,.axc summary:focus-visible,.axc input:focus,.axc select:focus{
  outline: 2px solid #777;
}
.axc input,.axc select{
  border-color: #ccc;
  height: 36px;
}
.axc input[aria-invalid="true"]{
  background: #f5f5f5;
  border: 2px solid #555;
}
.axc input[type="checkbox"],.axc input[type="range"]{
  accent-color: #555;
}
.axc .topbar{
  height: 44px;
  padding: 0 3%;
  font-size: 12px;
}
.axc .brand{
  font-size: 17px;
}
.axc .eyebrow,.axc .lede,.axc .page-heading .eyebrow,.axc .live-pill,.axc .panel-intro,.axc .presets > span{
  display: none;
}
.axc main{
  max-width: 1500px;
  padding: 16px 24px;
  margin: 0 auto;
}
.axc .page-heading{
  position: relative;
  display: block;
  border: 1px solid var(--line);
  padding: 24px;
  margin: 0;
  border-radius: 6px 6px 0 0;
  text-align: center;
}
.axc h1{
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}
.axc .page-heading #open-library{
  position: absolute;
  right: 16px;
  top: 16px;
  padding: 8px;
  font-size: 12px;
}
.axc #editor{
  border: 1px solid var(--line);
  border-top: 0;
  padding: 16px;
}
.axc .setup-bar{
  border: 0;
  padding: 0;
  margin: 0 0 12px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
.axc .setup-bar label{
  font-size: 11px;
  width: 150px;
}
.axc .setup-bar input,.axc .setup-bar select{
  height: 30px;
  font-size: 12px;
}
.axc .required-summary{
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin: 0 0 16px;
  font-size: 14px;
}
.axc .workspace{
  grid-template-columns: minmax(400px, 1.45fr) minmax(340px, 1fr);
  gap: 24px;
  align-items: stretch;
}
.axc .equipment-panel,.axc .preview-panel,.axc .axle-panel{
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  background: var(--paper);
}
.axc .preview-panel{
  position: relative;
  top: auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.axc .panel-heading{
  min-height: 60px;
  padding: 16px;
  justify-content: center;
  border-bottom: 1px solid #ddd;
}
.axc .equipment-panel > .panel-heading{
  position: relative;
}
.axc .equipment-panel > .panel-heading .segmented{
  position: absolute;
  right: 8px;
  bottom: 4px;
  font-size: 9px;
  padding: 0;
  border: 0;
  background: transparent;
}
.axc .equipment-panel > .panel-heading .segmented button{
  padding: 0px 4px;
  font-size: 9px;
}
.axc h2{
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
}
.axc .reference-main{
  padding: 16px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0;
}
.axc .reference-field{
  display: grid;
  grid-template-columns: minmax(155px, 0.53fr) minmax(180px, 1fr);
  column-gap: 24px;
  align-items: start;
  margin: 0 0 12px;
  font-size: 14px;
}
.axc .reference-field > :is(span:first-child, .field-title){
  text-align: right;
  padding-top: 8px;
  line-height: 1.4;
}
.axc .reference-field input,.axc .reference-field select{
  margin: 0;
  font-size: 14px;
}
.axc .reference-field > .source-pill,.axc .reference-field > .field-help{
  display: none;
}
.axc .reference-check input{
  width: 16px;
  height: 16px;
  margin-top: 8px;
}
.axc .geometry-heading{
  font-size: 14px;
  font-weight: 400;
  margin: 24px 0 16px;
}
.axc .reference-advanced{
  border: 0 !important;
  border-top: 1px solid #eee !important;
  border-radius: 0;
  margin: 0 16px 16px;
  padding: 8px;
  font-size: 12px;
}
.axc .reference-advanced .field-grid .reference-field{
  display: block;
  font-size: 12px;
}
.axc .reference-advanced .reference-field > :is(span:first-child, .field-title){
  text-align: left;
}
.axc .reference-advanced button{
  margin-top: 12px;
  font-size: 11px;
}
.axc .reference-advanced summary{
  cursor: pointer;
  color: #666;
}
.axc .add-units:empty{
  display: none;
}
.axc .unit-card,.axc .unit-heading,.axc .unit-number{
  background: var(--paper);
}
.axc .source-pill,.axc .source-pill.checked{
  background: #f2f2f2;
  color: #666;
}
.axc .preview-controls{
  padding: 8px 16px;
  gap: 8px;
}
.axc .segmented{
  background: var(--paper);
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0;
}
.axc .segmented button{
  border-radius: 0;
  border: 0;
  border-right: 1px solid #ddd;
  padding: 4px 8px;
}
.axc .segmented button:last-child{
  border: 0;
}
.axc .segmented button[aria-pressed="true"]{
  color: #222;
  background: #e8e8e8;
  box-shadow: none;
}
.axc .preview-stage{
  height: auto;
  min-height: 400px;
  flex: 1;
  margin: 0 16px;
  background: #fafafa;
  border-radius: 0;
  overflow: hidden;
}
.axc .preview-hint{
  background: #ffffffbd;
  color: #666;
  font-size: 10px;
}
.axc .extension-controls{
  position: absolute;
  right: 8px;
  top: 8px;
  z-index: 2;
  margin: 0;
  max-width: 75%;
}
.axc .extension-row{
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: flex-end;
  border: 0;
  padding: 0;
  background: #ffffffd9;
  font-size: 11px;
}
.axc .extension-row > label,.axc .extension-row > .field-help{
  display: none;
}
.axc .extension-row > output{
  width: 100%;
  font-size: 11px;
  text-align: right;
}
.axc .extension-row input[type="range"]{
  width: 130px;
  height: 15px;
}
.axc .stats{
  margin: 12px 16px 0;
  padding: 8px 0;
  gap: 12px;
}
.axc .stat strong{
  font-size: 16px;
  font-weight: 600;
}
.axc .stat small{
  font-size: 9px;
}
.axc .preview-readiness{
  padding: 12px 16px;
}
.axc .readiness-tag,.axc .readiness-tag.warn,.axc .readiness-tag.error{
  color: #333;
  background: #f1f1f1;
  font-size: 11px;
}
.axc .geometry-details{
  margin: 0 16px 12px;
}
.axc .axle-panel{
  margin-top: 24px;
}
.axc .axle-panel > .panel-heading{
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
}
.axc .axle-toolbar{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  flex-wrap: wrap;
}
.axc .presets{
  display: flex;
  gap: 0;
}
.axc .presets button{
  border-radius: 0;
  padding: 4px 8px;
  font-size: 12px;
}
.axc .presets button + button{
  border-left: 0;
}
.axc #axle-units{
  display: flex;
  align-items: stretch;
  overflow: auto;
  padding: 16px;
  gap: 12px;
}
.axc .axle-unit{
  flex: 0 0 auto;
  min-width: 300px;
  padding: 12px;
  border-radius: 6px;
  max-width: none;
  margin: 0;
}
.axc .axle-unit header{
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.axc .axle-unit h3{
  font-size: 14px;
}
.axc .axle-count{
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.axc .axle-count button{
  padding: 4px 8px;
  min-width: 25px;
  height: 26px;
}
.axc .axle-list{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 24px 4px 8px;
}
.axc .axle-cell{
  width: 52px;
  text-align: center;
  flex-shrink: 0;
}
.axc .axle-dot{
  display: inline-flex;
  border: 3px solid #888;
  background: var(--paper);
  color: #222;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin: 0 0 12px;
}
.axc .axle-cell label{
  font-size: 10px;
  margin: 4px 0;
}
.axc .axle-cell input,.axc .axle-cell select{
  padding: 4px;
  width: 64px;
  font-size: 11px;
}
.axc .axle-cell .source-pill,.axc .spacing-cell .source-pill,.axc .spacing-cell .field-help{
  display: none;
}
.axc .spacing-cell{
  width: 115px;
  text-align: center;
  flex-shrink: 0;
}
.axc .spacing-arrow{
  display: block;
  height: 48px;
  line-height: 40px;
  font-size: 32px;
  font-weight: 300;
  color: #b1b1b1;
}
.axc .spacing-cell label{
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: 10px;
  text-transform: uppercase;
  gap: 4px;
}
.axc .spacing-cell label input{
  order: -1;
  width: 78px;
  height: 32px;
  font-size: 12px;
  margin: 0 auto;
  text-align: center;
  padding: 4px;
}
.axc .spacing-cell .derived-field input{
  order: -1;
}
.axc .coupling-cell{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 0 0 115px;
  text-align: center;
  font-size: 10px;
}
.axc .coupling-cell label{
  font-size: 10px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.axc .coupling-cell input{
  order: -1;
  width: 85px;
  text-align: center;
  font-size: 12px;
  margin: auto;
}
.axc .coupling-cell small{
  font-size: 10px;
  margin-top: 8px;
}
.axc .coupling-cell:before{
  content: "⟷";
  color: #bbb;
  font-size: 34px;
}
.axc .helper-weight label{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  
  width: 224px;
  max-width: 100%;
  font-size: 10px;
  text-transform: uppercase;
}
.axc .helper-weight input{
  width: 110px;
  height: 30px;
  font-size: 12px;
}
.axc .helper-weight .field-help{
  display: none;
}
.axc .tire-options{
  font-size: 10px;
  margin-top: 12px;
}
.axc .axle-add{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}
.axc .axle-add button{
  font-size: 12px;
}
.axc .axle-instructions{
  font-size: 12px;
  line-height: 1.5;
  margin: 0 16px 16px;
}
.axc .axle-instructions button{
  border: 0;
  padding: 0;
  text-decoration: underline;
  font-size: 12px;
}
.axc #non-standard{
  border-top: 1px solid #ddd;
  margin: 0 16px 16px;
  padding: 16px 0 0;
}
.axc #non-standard summary{
  font-weight: bold;
  cursor: pointer;
  font-size: 14px;
}
.axc #non-standard > p{
  font-size: 12px;
  margin: 8px 0 16px;
}
.axc #non-standard-fields{
  display: grid;
  grid-template-columns: repeat(5, minmax(100px, 1fr));
  gap: 12px;
  border: 1px solid #ddd;
  padding: 16px;
}
.axc #non-standard-fields label{
  font-size: 12px;
}
.axc .save-control{
  padding: 0;
  margin-top: 24px;
}
.axc .save-control button{
  width: 100%;
  color: #222;
  background: var(--paper);
  border: 1px solid #888;
  font-size: 18px;
  font-weight: 400;
  min-height: 44px;
}
.axc .save-control button:hover{
  background: #eee;
}
.axc .save-control #save-state{
  max-width: none;
  font-size: 11px;
}
.axc .editor-footer{
  padding: 16px 0 0;
  margin: 0;
  gap: 12px;
}
.axc .editor-footer button{
  font-size: 11px;
}
.axc .page-footnote{
  font-size: 11px;
}
.axc .setup-name-row{
  padding: 16px;
}
.axc .unit-heading{
  border-bottom: 1px solid #ddd;
}
.axc .graphics-note{
  color: #444;
  background: #f3f3f3;
}
.axc .notice{
  background: #f3f3f3;
  color: #333;
  border-color: #bbb;
}
.axc .toast{
  background: #333;
  color: var(--paper);
}
.axc .inline-check input{
  accent-color: #555;
}
@media (max-width: 1000px){
.axc .workspace{
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 16px;
  }
.axc .reference-field{
    grid-template-columns: minmax(100px, 0.6fr) minmax(100px, 1fr);
    gap: 12px;
    font-size: 12px;
  }
.axc .reference-field input,.axc .reference-field select{
    font-size: 12px;
  }
.axc main{
    padding: 16px;
  }
.axc #editor{
    padding: 12px;
  }
.axc .page-heading #open-library{
    position: static;
    margin-top: 12px;
  }
.axc .preview-stage{
    min-height: 360px;
  }
.axc #non-standard-fields{
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 720px){
.axc main{
    padding: 8px;
  }
.axc .topbar{
    padding: 0 12px;
  }
.axc .brand span,.axc .topbar > a:last-child{
    display: none;
  }
.axc .workspace{
    grid-template-columns: minmax(0, 1fr);
  }
.axc .page-heading{
    padding: 16px;
  }
.axc h1{
    font-size: 21px;
  }
.axc .reference-field{
    grid-template-columns: 120px minmax(0, 1fr);
    font-size: 12px;
    gap: 12px;
  }
.axc .preview-stage{
    height: 400px;
    min-height: 400px;
    flex: none;
  }
.axc .preview-panel{
    position: relative;
  }
.axc .stats{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
.axc .stat strong{
    font-size: 14px;
  }
.axc .axle-toolbar{
    gap: 8px;
  }
.axc .axle-panel > .panel-heading{
    align-items: flex-start;
  }
.axc #non-standard-fields{
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px;
  }
.axc .setup-bar{
    justify-content: stretch;
  }
.axc .setup-bar label{
    width: 50%;
  }
.axc .editor-footer{
    flex-wrap: wrap;
  }
.axc #editor{
    padding: 8px;
  }
.axc .reference-main{
    padding: 12px !important;
  }
}
@media print{
.axc .required-summary,.axc .setup-bar,.axc .reference-advanced,.axc #non-standard,.axc .axle-instructions{
    display: none !important;
  }
}
.axc[data-editor="detailed"] .workspace{
  align-items: start;
}
.axc[data-editor="detailed"] .preview-panel{
  position: sticky;
  top: 16px;
}
.axc[data-editor="detailed"] .preview-stage{
  height: 500px;
  flex: none;
}
@media (max-width: 720px){
.axc .preview-panel{
    order: initial;
  }
.axc[data-editor="detailed"] .preview-panel{
    position: relative;
    top: auto;
  }
.axc[data-editor="detailed"] .preview-stage{
    height: 400px;
  }
}
@media screen{
.axc{
    background: var(--paper);
  }
.axc .topbar{
    padding: 0 16px;
  }
.axc main{
    max-width: 1280px;
    padding: 24px 16px 32px;
  }
.axc .page-heading{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 0;
    border-radius: 0;
    padding: 0 0 16px;
    text-align: left;
  }
.axc .page-heading #open-library{
    position: static;
    padding: 12px 16px;
    font-size: 13px;
    flex: none;
  }
.axc h1{
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.2px;
    text-align: left;
  }
.axc #editor{
    border: 0;
    padding: 0;
  }
.axc .required-summary{
    border: 0;
    border-left: 3px solid var(--accent);
    border-radius: 0;
    background: var(--bg);
    padding: 12px 16px;
    font-size: 13px;
  }
.axc .required-summary:empty,.axc .required-summary[hidden]{
    display: none;
  }
.axc .equipment-panel,.axc .preview-panel,.axc .axle-panel{
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
  }
.axc .axle-panel{
    margin-top: 24px;
  }
.axc .panel-heading{
    min-height: 0;
    padding: 16px 0 12px;
    justify-content: flex-start;
    border-bottom: 0;
    text-align: left;
  }
.axc .equipment-panel > .panel-heading{
    justify-content: space-between;
    align-items: center;
  }
.axc .equipment-panel > .panel-heading .segmented{
    position: static;
    font-size: 12px;
  }
.axc .equipment-panel > .panel-heading .segmented button{
    padding: 8px 12px;
    font-size: 12px;
  }
.axc .axle-panel > .panel-heading{
    padding: 16px 0 12px;
  }
.axc h2{
    font-size: 18px;
    font-weight: 700;
    text-align: left;
  }
.axc .reference-main{
    padding: 0 !important;
  }
.axc .reference-field > :is(span:first-child, .field-title){
    text-align: left;
  }
.axc .geometry-details{
    margin: 0 0 12px;
  }
.axc input,.axc select{
    height: 44px;
    border-radius: 6px;
  }
.axc button,.axc .button{
    border-radius: 6px;
  }
.axc .save-control{
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    text-align: left;
  }
.axc #save{
    width: auto;
    min-width: 240px;
    min-height: 48px;
    padding: 12px 24px;
    text-align: center;
  }
.axc #save-state{
    text-align: left;
  }
.axc .editor-footer{
    border-top: 1px solid var(--line);
    padding-top: 16px;
    margin-top: 16px;
  }
.axc .page-footnote{
    text-align: left;
  }
.axc #non-standard{
    margin-left: 0;
    margin-right: 0;
  }
.axc #non-standard,.axc #non-standard-fields{
    border: 0;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
  }
}
@media screen and (max-width: 720px){
.axc main{
    padding: 16px;
  }
.axc .topbar{
    padding: 0 16px;
  }
.axc .page-heading{
    flex-wrap: wrap;
  }
.axc h1{
    font-size: 22px;
  }
.axc #axle-units{
    flex-direction: column;
    overflow: visible;
    gap: 16px;
  }
.axc #axle-units > *{
    width: 100%;
    max-width: none;
  }
.axc .axle-list{
    flex-wrap: wrap;
    row-gap: 16px;
    padding-left: 0;
    padding-right: 0;
  }
.axc #save{
    width: 100%;
  }
}
@media screen{
.axc #editor{
    --qf-ink: #020618;
    --qf-field: #f2f4f7;
    --qf-border: #e2e8f0;
    --qf-radius: 12px;
    color: var(--qf-ink);
  }
.axc #editor input:not([type="checkbox"]):not([type="range"]),.axc #editor select,.axc .setup-bar input,.axc .setup-bar select{
    height: 48px;
    padding: 0 12px;
    font-size: 15px;
    color: var(--qf-ink);
    background: var(--qf-field);
    border: 1px solid var(--qf-border);
    border-radius: var(--qf-radius);
  }
.axc #editor input[aria-invalid="true"]{
    border-color: var(--accent);
    background: var(--qf-field);
  }
.axc .reference-field,.axc .setup-bar label,.axc .setup-name-row,.axc #non-standard-fields label{
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    color: var(--qf-ink);
  }
.axc #editor label input,.axc #editor label select{
    margin-top: 4px;
  }
.axc .setup-bar label{
    width: 180px;
    font-size: 14px;
  }
.axc .reference-field{
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
    column-gap: 0;
    margin: 0;
  }
.axc .reference-field > :is(span:first-child, .field-title){
    padding-top: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
  }
.axc .reference-field > :is(span:first-child, .field-title)::before{
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background: currentColor;
    -webkit-mask: var(--qf-icon-ruler) center / contain no-repeat;
    mask: var(--qf-icon-ruler) center / contain no-repeat;
    opacity: 0.8;
  }
.axc .reference-field:has(input[data-kind="weight"]) > :is(span:first-child, .field-title)::before{
    -webkit-mask-image: var(--qf-icon-scale);
    mask-image: var(--qf-icon-scale);
  }
.axc .reference-field:has(select) > :is(span:first-child, .field-title)::before{
    -webkit-mask-image: var(--qf-icon-truck);
    mask-image: var(--qf-icon-truck);
  }
.axc .reference-field:has(input:not([data-path])) > :is(span:first-child, .field-title)::before{
    -webkit-mask-image: var(--qf-icon-tag);
    mask-image: var(--qf-icon-tag);
  }
.axc #editor{
    --qf-icon-ruler: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h18M3 8v8M21 8v8M8 10v4M12 10v4M16 10v4'/%3E%3C/svg%3E");
    --qf-icon-scale: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l3 12H3z'/%3E%3Ccircle cx='12' cy='5' r='2'/%3E%3C/svg%3E");
    --qf-icon-truck: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 4h13v11H1zM14 8h5l4 4v3h-9'/%3E%3Ccircle cx='6' cy='17' r='2'/%3E%3Ccircle cx='18' cy='17' r='2'/%3E%3C/svg%3E");
    --qf-icon-tag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12V3h9l9 9-9 9z'/%3E%3Ccircle cx='7.5' cy='7.5' r='1.5'/%3E%3C/svg%3E");
  }
.axc .req{
    font-style: normal;
    font-weight: 700;
    color: var(--muted);
    margin-left: -4px;
  }
.axc .reference-main{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
    align-items: start;
  }
.axc .reference-main > .geometry-heading,.axc .reference-main > .reference-check{
    grid-column: 1 / -1;
  }
.axc .geometry-heading{
    margin: 8px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--qf-ink);
  }
.axc .reference-check{
    display: flex;
    align-items: center;
    gap: 12px;
  }
.axc .reference-check input{
    width: 20px;
    height: 20px;
    margin: 0;
  }
.axc .reference-field input,.axc .reference-field select{
    width: 100%;
    max-width: none;
  }
.axc .reference-field > .field-help{
    font-size: 12px;
    color: var(--muted);
  }
.axc .source-pill{
    border-radius: 4px;
  }
.axc .reference-advanced .field-grid,.axc #non-standard-fields{
    gap: 16px 24px;
  }
}
@media screen and (max-width: 720px){
.axc .reference-main{
    grid-template-columns: minmax(0, 1fr);
  }
.axc .setup-bar label{
    width: 100%;
    flex: 1 1 0;
  }
}
@media screen{
.axc .reference-advanced .field-grid .reference-field{
    display: grid;
    font-size: 14px;
  }
.axc .reference-advanced{
    margin: 0 0 16px;
    padding: 8px 0;
  }
.axc .reference-check input{
    margin-top: 0;
  }
}
.axc .axle-unit{
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0;
}
.axc .axle-unit > header,.axc .axle-unit header{
  background: none;
  padding: 0 0 8px;
}
.axc .coupling-cell + .axle-unit{
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
@media (max-width: 720px){
.axc .coupling-cell + .axle-unit{
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 12px 0 0;
  }
}
.axc .field-error{
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--error);
  text-align: left;
}
.axc .field-error[hidden],.axc .field-error:not([hidden]) + .field-help{
  display: none;
}
.axc #editor input[aria-invalid="true"]{
  border-color: var(--error);
}
.axc .save-control #delete-setup{
  min-height: 48px;
  padding: 12px 24px;
}
.axc[data-embed="true"] .skip,.axc[data-embed="true"] .topbar,.axc[data-embed="true"] .page-heading,.axc[data-embed="true"] .page-footnote{
  display: none;
}
@media screen{
.axc[data-embed="true"] main{
    padding-top: 16px;
  }
}
@media screen{
.axc .reference-main > .reference-check{
    display: flex;
    justify-content: flex-start;
    gap: 12px;
  }
.axc .reference-main > .reference-check > :is(span:first-child, .field-title){
    white-space: nowrap;
  }
.axc .reference-main > .reference-check input[type="checkbox"]{
    flex: none;
    width: 24px;
    height: 24px;
  }
}
@media screen{
.axc main{ max-width: 1600px; }
.axc .workspace{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.axc .equipment-panel{ min-width: 0; }
.axc .heading-actions{ display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.axc .heading-actions .setup-bar{ margin: 0; align-items: center; gap: 12px; }
.axc .heading-actions .setup-bar label{ width: auto; font-size: 11px; line-height: 1.4; }
.axc .heading-actions .setup-bar select{ width: auto; height: 32px; margin-top: 4px; padding: 0 8px; font-size: 12px; border-radius: 6px; color: var(--ink); background: var(--bg); border-color: var(--line); }
.axc .page-heading #open-library{ min-height: 32px; padding: 8px 12px; margin: 0; font-size: 12px; }
.axc .preview-panel{ position: sticky; top: 16px; }
.axc .preview-controls{ padding-left: 0; padding-right: 0; flex-wrap: wrap; }
.axc .preview-stage{ margin: 0; height: clamp(480px, 58vh, 720px); min-height: 480px; flex: none; }
.axc .preview-hint{ pointer-events: none; }
.axc .extension-controls{ position: static; max-width: none; margin: 0 0 12px; padding: 8px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px; }
.axc .extension-row{ display: grid; grid-template-columns: auto minmax(80px, 1fr) auto; align-items: center; justify-content: stretch; gap: 8px; background: transparent; }
.axc .extension-row > .segmented{ grid-column: 1; grid-row: 1; }
.axc .extension-row > output{ grid-column: 3; grid-row: 1; width: auto; font-size: 12px; }
.axc .extension-row input[type="range"]{ grid-column: 2; grid-row: 1; width: 100%; height: 24px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; appearance: none; -webkit-appearance: none; cursor: ew-resize; }
.axc .extension-row input[type="range"]::-webkit-slider-runnable-track{ height: 4px; border-radius: 6px; background: var(--line); }
.axc .extension-row input[type="range"]::-moz-range-track{ height: 4px; border-radius: 6px; background: var(--line); }
.axc .extension-row input[type="range"]::-moz-range-progress{ height: 4px; background: var(--accent); }
.axc .extension-row input[type="range"]::-webkit-slider-thumb{ appearance: none; -webkit-appearance: none; width: 16px; height: 16px; margin-top: calc((4px - 16px) / 2); border: 2px solid var(--paper); border-radius: 9999px; background: var(--accent); box-shadow: 0 0 0 1px var(--line); }
.axc .extension-row input[type="range"]::-moz-range-thumb{ width: 12px; height: 12px; border: 2px solid var(--paper); border-radius: 9999px; background: var(--accent); }
.axc .extension-row > .field-help{ display: block; grid-column: 1 / -1; font-size: 10px; margin: 0; }
.axc #expanded-preview{ width: calc(100vw - 32px); max-width: 1600px; height: calc(100dvh - 32px); max-height: none; margin: auto; padding: 16px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.axc #expanded-preview::backdrop{ background: color-mix(in srgb, var(--ink) 55%, transparent); backdrop-filter: none; }
.axc #expanded-preview .preview-panel{ position: relative; top: auto; min-height: 100%; border: 0; }
.axc #expanded-preview .preview-stage{ height: clamp(400px, 65dvh, 1000px); min-height: 400px; flex: 1; }
.axc #expanded-preview .preview-panel > .panel-heading{ padding-top: 0; }
.axc #expanded-preview .preview-readiness,.axc #expanded-preview .geometry-details{ display: none; }
}
@media screen and (max-width: 900px){
.axc .workspace{ grid-template-columns: minmax(0, 1fr); }
.axc .preview-panel,.axc[data-editor="detailed"] .preview-panel{ position: relative; top: auto; }
.axc .heading-actions{ gap: 12px; width: 100%; justify-content: space-between; }
.axc .preview-stage,.axc[data-editor="detailed"] .preview-stage{ height: 440px; min-height: 440px; }
}
@media screen and (max-width: 480px){
.axc .heading-actions .setup-bar{ gap: 8px; }
.axc .heading-actions .setup-bar select{ max-width: 152px; }
.axc .extension-row{ grid-template-columns: auto minmax(48px, 1fr) auto; gap: 4px; }
.axc .preview-actions{ gap: 4px; }
.axc .preview-controls{ gap: 8px; }
.axc #expanded-preview{ width: calc(100vw - 16px); height: calc(100dvh - 16px); padding: 8px; }
}
@media print{
.axc #expanded-preview{ display: none !important; }
}
@media screen{
.axc[data-embed="true"] .page-heading{ display: flex; }
.axc[data-embed="true"] .page-heading > div:first-child{ display: none; }
.axc[data-embed="true"] .heading-actions{ width: 100%; justify-content: flex-end; }
}
@media screen{
.axc[data-builder-settings="parent"] .page-heading{ display: none; }
}
.axc .axle-scroll-hint{ margin: 0 0 8px; color: var(--muted); font-size: 12px; }
.axc #axle-units{ display: flex; flex-direction: row; align-items: flex-start; gap: 0; max-width: 100%; overflow-x: auto; overflow-y: hidden; padding: 8px 0 16px; cursor: grab; overscroll-behavior-x: contain; scrollbar-gutter: stable; }
.axc #axle-units.is-grabbing,.axc #axle-units.is-grabbing *{ cursor: grabbing; user-select: none; }
.axc #axle-units > .axle-unit{ flex: none; min-width: 0; max-width: none; padding: 0; margin: 0; border: 0; }
.axc #axle-units .axle-unit > header{ height: 44px; box-sizing: border-box; align-items: center; padding: 0 16px; gap: 16px; }
.axc #axle-units .axle-unit h3{ margin: 0; }
.axc .axle-art{ height: 200px; user-select: none; }
.axc .axle-equipment-outline,.axc .axle-coupling-outline{ display: block; overflow: hidden; }
.axc .diagram-equipment{ color: var(--muted); stroke: currentColor; stroke-width: 1; stroke-linejoin: round; fill: color-mix(in srgb, var(--muted) 5%, transparent); opacity: .7; }
.axc .diagram-equipment path{ vector-effect: non-scaling-stroke; }
.axc .diagram-window{ fill: color-mix(in srgb, var(--muted) 8%, transparent); }
.axc .diagram-wheel{ stroke: var(--muted); stroke-width: 1; fill: var(--paper); }
.axc .diagram-wheel path{ fill: none; stroke-width: .8; }
.axc .diagram-wheel .diagram-tire{ fill: color-mix(in srgb, var(--muted) 10%, var(--paper)); }
.axc .diagram-wheel .diagram-hub{ fill: var(--paper); }
.axc .diagram-wheel text{ fill: var(--axle-number-ink); stroke: none; font: 600 14px system-ui, sans-serif; }
.axc #axle-units .axle-list{ display: block; position: relative; height: var(--axle-field-height); padding: 0; margin: 0; }
.axc #axle-units .spacing-cell{ position: absolute; width: var(--measure-width, 92px); transform: translateX(-50%); margin: 0; }
.axc #axle-units .spacing-cell label{ width: 100%; margin: 0; font-size: 10px; line-height: 1.4; gap: 4px; }
.axc #axle-units .spacing-cell input{ width: var(--measure-input-width, 76px); height: 32px; min-height: 32px; margin: 0 auto; font-size: 12px; }
.axc #axle-units .spacing-cell .field-error{ font-size: 10px; }
.axc .axle-measure{ position: absolute; color: var(--muted); pointer-events: none; }
.axc .axle-measure path{ fill: none; stroke: currentColor; stroke-width: 1; opacity: .65; }
.axc #axle-units > .coupling-cell{ display: block; position: relative; width: 96px; min-width: 96px; flex: none; padding: 0; margin: 0; }
.axc #axle-units .coupling-cell::before{ content: none; }
.axc .coupling-heading{ height: 44px; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--muted); }
.axc .coupling-fields{ position: relative; height: var(--axle-field-height); }
.axc #axle-units .coupling-cell small{ display: block; font-size: 10px; line-height: 1.4; margin-top: 8px; color: var(--muted); }
.axc .axle-tires{ display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 8px; align-content: start; min-height: var(--axle-tire-height, 0px); }
.axc #axle-units .axle-cell{ position: relative; grid-column: 1; align-self: start; justify-self: start; top: 0; width: 80px; transform: translateX(-50%); text-align: center; }
.axc #axle-units .axle-cell strong{ font-size: 10px; font-weight: 600; }
.axc #axle-units .axle-cell label{ display: flex; align-items: center; flex-direction: column; width: 80px; margin: 4px 0; }
.axc #axle-units .axle-cell input,.axc #axle-units .axle-cell select{ width: 64px; height: 32px; }
.axc #axle-units .helper-weight{ display: flex; flex-wrap: wrap; gap: 16px; padding: 8px 16px; }
.axc #axle-units .helper-weight label{ flex: 0 0 176px; width: 176px; margin: 0; }
.axc #axle-units .tire-options{ margin: 8px 16px; }
.axc #axle-units > .axle-add{ width: auto; min-width: 128px; flex: none; padding: 8px 16px; }
.axc #axle-units input,.axc #axle-units select{ cursor: auto; }
.axc #axle-units button,.axc #axle-units summary{ cursor: pointer; }
.axc #axle-units .diagram-tractor .diagram-body{ fill: var(--paper); }
.axc #axle-units .helper-weight input{ width: 88px; }
.axc #axle-units .spacing-cell input:not([type="checkbox"]):not([type="range"]),.axc #axle-units .axle-cell input:not([type="checkbox"]):not([type="range"]){ height: 32px; padding: 0 4px; font-size: 12px; }
.axc{ --axle-number-ink: #2563eb; }
.axc #axle-units .axle-support{ min-height: var(--axle-support-height, 0px); }
.axc #axle-units .helper-weight{ display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 8px 16px; }
.axc #axle-units .helper-weight label{ display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 4px; width: auto; max-width: none; margin: 0; line-height: 1.4; }
.axc #axle-units .helper-weight .source-pill{ display: none; }
.axc #axle-units .helper-weight input:not([type="checkbox"]):not([type="range"]){ height: 32px; max-width: 100%; padding: 0 4px; font-size: 12px; }
.axc #axle-units .coupling-cell small{ font-size: 9px; white-space: nowrap; }
.axc #axle-units{ gap: 4px; align-items: stretch; }
.axc #axle-units > .axle-unit,.axc #axle-units > .coupling-cell{ border: 1px solid var(--line); border-radius: 6px; background: var(--paper); }
.axc #axle-units > .coupling-cell{ width: calc(var(--coupling-width, 64px) + 2px); min-width: calc(var(--coupling-width, 64px) + 2px); }
.axc #axle-units .axle-unit > header,.axc #axle-units .coupling-heading{ height: 40px; }
.axc #axle-units .axle-unit > header{ padding: 0 12px; gap: 8px; }
.axc #axle-units .axle-specs{ min-height: var(--axle-specs-height, 0px); }
.axc #axle-units .helper-weight{ padding: 4px 12px; gap: 8px; }
.axc #axle-units .helper-weight label{ font-size: 9px; }
.axc #axle-units .helper-weight input:not([type="checkbox"]):not([type="range"]){ width: 76px; height: 28px; margin: 0; font-size: 11px; }
.axc #axle-units .spacing-cell label{ font-size: 9px; }
.axc #axle-units .spacing-cell input{ width: var(--measure-input-width, 64px); }
.axc #axle-units .axle-cell{ width: var(--tire-field-width, 80px); }
.axc #axle-units .axle-cell label{ width: 100%; font-size: 9px; }
.axc #axle-units .axle-cell input,.axc #axle-units .axle-cell select{ width: var(--tire-input-width, 64px); font-size: 11px; }
.axc #axle-units .axle-cell input:not([type="checkbox"]):not([type="range"]){ font-size: 11px; }
.axc #axle-units .axle-cell select{ padding: 0 4px; font-size: 12px; }
.axc #axle-units .coupling-heading{ font-size: 9px; }
.axc #axle-units .coupling-cell .spacing-cell label{ font-size: 9px; }
.axc #axle-units .coupling-cell .spacing-cell input:not([type="checkbox"]):not([type="range"]){ font-size: 11px; }
.axc #axle-units .coupling-cell small{ margin-top: 4px; font-size: 9px; white-space: normal; }
.axc .unit-badge{ font-size: 9px; font-weight: 500; color: #59718b; white-space: nowrap; }
.axc #axle-units .unit-badge{ display: block; font-size: 8px; line-height: 1; }
.axc #axle-units input[data-kind="weight"]{ font-variant-numeric: tabular-nums; }
.axc .capacity-card{ padding: 16px; margin-top: 12px; }
.axc .capacity-card summary,.axc .load-check summary{ cursor: pointer; font-weight: 600; }
.axc .capacity-row{ display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto auto; gap: 8px; align-items: end; margin: 12px 0; }
.axc .capacity-row input{ width: 100%; min-width: 0; }
.axc .capacity-row button{ margin-bottom: 24px; }
.axc .rating-unknown,.axc .load-warning{ color: #945012; }
.axc .load-check{ padding: 16px; margin-top: 16px; }
.axc .load-inputs{ display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin: 12px 0; }
.axc .load-inputs input{ min-width: 0; width: 100%; }
.axc .load-check .inline-check{ margin: 12px 0; }
.axc .load-check table{ width: 100%; text-align: left; border-collapse: collapse; font-size: 12px; }
.axc .load-check th,.axc .load-check td{ padding: 8px; border-bottom: 1px solid #e3e8ee; white-space: nowrap; }
.axc .load-table-wrap{ overflow-x: auto; }
.axc .load-check li{ margin: 8px 0; font-size: 12px; }
.axc .field-selected{ outline: 3px solid #367bd2 !important; outline-offset: 3px; box-shadow: 0 0 0 6px #367bd218 !important; }
.axc .diagram-wheel[role="button"],.axc [data-edit-field],.axc [data-edit-derived]{ cursor: pointer; }
.axc .diagram-wheel:hover .diagram-hub,.axc .diagram-wheel:focus .diagram-hub,.axc .wheel-selected .diagram-hub{ fill: #dcecff; stroke: #367bd2; }
.axc .axle-measure[role="button"]:hover path,.axc .axle-measure[role="button"]:focus path{ stroke: #367bd2; }
@media(max-width:600px){
.axc .capacity-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);}
.axc .capacity-row button{margin-bottom:0;}
.axc .load-inputs{grid-template-columns:1fr;}
}
.axc #axle-units .axle-cell .field-help{ display: none; }
.axc #booster-model[hidden]{ display: none; }
.axc #axle-units .axle-unit.rig-section-selected,.axc #axle-units .coupling-cell.rig-section-selected,.axc .unit-card[data-unit-id].rig-section-selected{ outline: 2px solid #367bd2; outline-offset: -2px; }
.axc #axle-units .rig-section-selected .diagram-equipment{ color: #367bd2; opacity: 1; stroke-width: 1.4; }
.axc #axle-units .rig-section-selected .diagram-wheel{ stroke: #367bd2; }
.axc #axle-units .diagram-equipment[role="button"]{ cursor: pointer; }
.axc .equipment-input-advice{ margin: 16px 0; padding: 12px 16px; border: 1px solid #d6a75b; border-radius: 8px; background: #fffaf0; font-size: 12px; }
.axc .equipment-input-advice[hidden]{ display: none; }
.axc .equipment-input-advice summary{ cursor: pointer; font-weight: 600; }
.axc .equipment-input-advice ul{ max-height: 320px; overflow: auto; padding-left: 24px; }
.axc .equipment-input-advice li{ margin: 12px 0; line-height: 1.5; }
.axc .equipment-input-advice button{ padding: 4px 8px; min-height: 24px; font-size: 11px; }
.axc .field-error.field-warning{ color: #945012; }
.axc .field-error a{ color: inherit; text-decoration: underline; }
.axc .tire-settings{ margin: 16px 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.axc .tire-settings > summary{ cursor: pointer; font-weight: 600; }
.axc .tire-settings > p{ color: var(--muted); font-size: 12px; line-height: 1.5; }
.axc .tire-settings-toolbar{ display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 12px 0; }
.axc .tire-unit{ min-width: 0; margin: 16px 0 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.axc .tire-unit legend{ padding: 0 4px; font-size: 12px; font-weight: 600; }
.axc .tire-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(144px, 1fr)); gap: 12px; }
.axc .tire-axle{ min-width: 0; }
.axc .tire-axle > strong{ font-size: 12px; }
.axc .tire-axle label{ display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin: 8px 0; }
.axc .tire-axle input,.axc .tire-axle select{ width: 100%; min-width: 0; }
.axc .measurement-field,.axc .measurement-control{ min-width: 0; max-width: 100%; }
.axc .measurement-field{ display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 4px; }
.axc .measurement-field .field-title{ min-width: 0; width: auto; margin: 0; overflow-wrap: anywhere; line-height: 1.4; }
.axc .measurement-control{ display: block; position: relative; width: 100%; }
.axc #editor .measurement-control input,.axc #editor .measurement-control select{ display: block; width: 100%; max-width: 100%; min-width: 0; margin: 0; box-sizing: border-box; }
.axc #editor .measurement-control:has(.unit-toggle) input{ padding-right: 32px; }
.axc #editor .unit-toggle{ position: absolute; right: 0; top: 0; bottom: 0; width: 30px; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--line); border-radius: 0 6px 6px 0; background: transparent; color: var(--muted); font-size: 10px; line-height: 1.4; cursor: pointer; }
.axc #editor .unit-toggle:hover{ color: var(--ink); background: color-mix(in srgb, var(--ink) 5%, transparent); }
.axc #editor .unit-toggle:focus-visible{ outline: 2px solid var(--accent); outline-offset: 1px; }
@media screen{
.axc #editor input:not([type="checkbox"]):not([type="range"]),.axc #editor select{ height: 34px; min-height: 0; border-radius: 6px; border-width: 1px; padding: 4px 8px; background: var(--paper); font-size: 12px; }
.axc .reference-main{ gap: 12px 16px; }
.axc .reference-field{ min-width: 0; max-width: 100%; }
.axc .reference-field > :is(span:first-child, .field-title){ font-size: 12px; font-weight: 600; line-height: 17px; min-height: 17px; gap: 4px; }
.axc .reference-field > :is(span:first-child, .field-title)::before{ width: 13px; height: 13px; flex: 0 0 13px; }
.axc .reference-advanced .field-grid,.axc #non-standard-fields{ gap: 12px 16px; }
.axc .field-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.axc .measurement-field > .source-pill{ justify-self: start; margin: 0; }
.axc .reference-field > .source-pill{ display: none; }
.axc .preview-stage{ min-height: 340px; height: clamp(340px, 47vh, 520px); }
.axc #expanded-preview .preview-stage{ height: clamp(400px, 65dvh, 1000px); }
.axc #axle-units .measurement-field{ width: 100%; gap: 4px; }
.axc #axle-units .measurement-control{ width: var(--measure-input-width, 64px); margin: 0 auto; }
.axc #axle-units .measurement-control:has(.unit-toggle) input{ padding: 0 24px 0 4px; }
.axc #axle-units .unit-toggle{ width: 22px; font-size: 8px; }
.axc #axle-units .helper-weight .measurement-control{ width: 100%; max-width: 100px; margin: 0; }
.axc #axle-units .helper-weight .measurement-control input{ width: 100%; }
.axc #axle-units .helper-weight .field-title{ display: block; font-size: 9px; }
}
.axc .preview-loading{ position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); background: var(--paper); font-size: 12px; pointer-events: none; }
.axc .preview-loading[hidden]{ display: none; }
@media screen and (max-width: 720px){
.axc .reference-main{ grid-template-columns: minmax(0, 1fr); }
}
@media print{
.axc .preview-loading,.axc .unit-toggle{ display: none; }
}
.axc #editor .measurement-control input{ font-weight: 500; font-variant-numeric: tabular-nums; }
@media screen{
.axc .preview-panel:is([data-camera-view="side"], [data-camera-view="top"]) .preview-stage{ height: clamp(230px, 28vh, 330px); min-height: 230px; }
.axc #expanded-preview .preview-panel .preview-stage{ height: clamp(400px, 65dvh, 1000px); min-height: 400px; }
}
.axc #editor .unit-suffix{ position: absolute; right: 0; top: 0; bottom: 0; width: 30px; display: grid; place-items: center; color: var(--muted); border-left: 1px solid var(--line); font-size: 10px; pointer-events: none; }
.axc #editor .measurement-control:has(.unit-suffix) input{ padding-right: 32px; }
.axc .units-field{ display: grid; gap: 4px; font-size: 11px; font-weight: 600; line-height: 1.4; align-content: start; }
.axc .uom-seg{ display: inline-flex; justify-self: start; height: 36px; box-sizing: border-box; overflow: hidden; border: 1.5px solid var(--ink); border-radius: 6px; background: var(--paper); }
.axc .uom-seg button{ min-height: 0; padding: 0 12px; font: inherit; font-size: 13px; font-weight: 600; line-height: 1.4; color: var(--ink); background: transparent; border: 0; border-radius: 0; cursor: pointer; }
.axc .uom-seg button + button{ border-left: 1px solid var(--ink); }
.axc .uom-seg button[aria-checked="true"]{ color: var(--paper); background: var(--accent); }
.axc .uom-seg button:focus-visible{ outline: 2px solid var(--accent); outline-offset: -4px; }
.axc .sr-only{ position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media screen{
.axc .page-heading{ display: flex; align-items: center; justify-content: flex-start; flex-wrap: nowrap; gap: 8px; margin: 0; padding: 0 0 12px; border: 0; }
.axc .heading-actions{ display: flex; align-items: center; flex-wrap: nowrap; gap: 12px; width: 100%; min-width: 0; justify-content: flex-start; }
.axc .history-actions{ display: flex; align-items: center; gap: 4px; margin-right: auto; }
.axc .icon-btn{ display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; min-width: 0; min-height: 0; padding: 0; color: var(--ink); background: transparent; border: 1px solid transparent; border-radius: 6px; cursor: pointer; }
.axc .icon-btn svg{ display: block; }
.axc .history-actions .icon-btn:hover:not(:disabled){ border-color: var(--line); background: var(--paper); }
.axc .icon-btn:disabled{ opacity: .35; cursor: default; }
.axc .icon-btn:focus-visible{ outline: 2px solid var(--accent); outline-offset: 1px; }
.axc .heading-actions .setup-bar{ display: flex; align-items: center; gap: 8px; margin: 0; padding: 0; border: 0; background: transparent; }
.axc .heading-actions .units-field{ display: block; }
.axc .heading-actions .uom-seg{ height: 32px; }
.axc .heading-actions .vis-field{ position: relative; display: inline-flex; align-items: center; width: auto; margin: 0; }
.axc .vis-prefix{ position: absolute; left: 12px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; color: var(--muted); font-size: 12px; font-weight: 500; line-height: 1.4; pointer-events: none; }
.axc .vis-prefix svg{ display: none; }
.axc .heading-actions .setup-bar .vis-field select{ width: auto; max-width: none; height: 32px; margin: 0; padding: 0 24px 0 80px; color: var(--ink); background-color: var(--paper); border: 1px solid var(--line); border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer; }
.axc .page-heading #open-library{ position: static; display: inline-flex; align-items: center; gap: 4px; flex: none; height: 32px; min-height: 32px; margin: 0; padding: 0 12px; white-space: nowrap; }
.axc .page-heading #open-library svg{ display: none; }
.axc[data-embed="true"] .heading-actions{ width: 100%; justify-content: flex-start; }
.axc .preview-stage > .preview-controls{ position: absolute; top: 8px; left: 8px; right: 8px; z-index: 2; display: flex; flex-wrap: nowrap; justify-content: space-between; align-items: center; gap: 8px; margin: 0; padding: 0; pointer-events: none; }
.axc .preview-stage > .preview-controls > *{ pointer-events: auto; }
.axc .preview-stage > .preview-controls .segmented{ display: inline-flex; gap: 0; height: 28px; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: color-mix(in srgb, var(--paper) 88%, transparent); }
.axc .preview-stage > .preview-controls .segmented button{ height: 26px; min-height: 0; margin: 0; padding: 0 12px; color: var(--ink); background: transparent; border: 0; border-radius: 0; font-size: 11px; font-weight: 600; line-height: 1.4; }
.axc .preview-stage > .preview-controls .segmented button + button{ border-left: 1px solid var(--line); }
.axc .preview-stage > .preview-controls .segmented button[aria-pressed="true"]{ background: var(--accent-light); box-shadow: inset 0 0 0 1px var(--ink); }
.axc .preview-stage > .preview-controls .preview-actions{ display: flex; gap: 4px; }
.axc .preview-stage > .preview-controls .icon-btn{ width: 28px; height: 28px; border-color: var(--line); background: color-mix(in srgb, var(--paper) 88%, transparent); }
.axc .preview-stage > .preview-controls .icon-btn:hover{ border-color: var(--muted); background: var(--paper); }
.axc .preview-stage > .preview-hint{ bottom: 8px; right: 8px; }
.axc .preview-panel:not(.is-expanded) .preview-stage[data-autosize]{ height: var(--stage-auto-h, 320px); min-height: 0; }
.axc .workspace > section > .panel-heading{ padding: 16px 0 8px; }
.axc #axle-units,.axc .axle-instructions{ margin-left: 0; margin-right: 0; }
.axc #axle-units .spacing-cell .field-title{ display: flex; flex-direction: row; align-items: flex-end; justify-content: center; min-height: 29px; margin: 0; color: var(--ink); font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: 0; text-align: center; text-transform: none; overflow-wrap: anywhere; }
.axc #axle-units .spacing-cell .measurement-control:is(:has(.unit-toggle), :has(.unit-suffix)) input:not([type="checkbox"]):not([type="range"]){ padding: 0 24px 0 4px; }
.axc #axle-units .unit-suffix{ width: 22px; font-size: 8px; }
.axc #axle-units .spacing-cell .measurement-field{ gap: 4px; }
.axc #axle-units .helper-weight .field-title{ font-size: 11px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.axc #axle-units .coupling-heading{ font-size: 11px; font-weight: 600; }
}
@media screen and (max-width: 560px){
.axc .heading-actions{ gap: 4px; }
.axc .heading-actions .setup-bar{ gap: 4px; }
.axc .history-actions .icon-btn{ width: 28px; }
.axc .heading-actions .uom-seg button{ padding: 0 8px; }
.axc .vis-prefix .vis-word{ display: none; }
.axc .vis-prefix svg{ display: block; }
.axc .heading-actions .setup-bar .vis-field select{ width: 120px; padding-left: 32px; padding-right: 4px; font-size: 11px; }
.axc .page-heading #open-library{ justify-content: center; gap: 4px; width: auto; min-width: 32px; padding: 0 8px; font-size: 11px; }
.axc .page-heading #open-library .lib-word,.axc .page-heading #open-library #saved-count:empty{ display: none; }
.axc .page-heading #open-library svg{ display: block; }
.axc .preview-stage > .preview-controls .segmented button{ padding: 0 8px; }
}
@media print{
.axc .history-actions,.axc .preview-stage > .preview-controls{ display: none; }
}
@media screen{
.axc .unit-body > .field-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.axc .unit-body > .field-grid > :is(label, .measurement-field):has(select),.axc .unit-body > .field-grid > .wide{ grid-column: 1 / -1; }
}
@media screen and (max-width: 720px){
.axc .unit-body > .field-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.axc .reference-main{ grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 12px; align-items: end; }
.axc .reference-main > .reference-field:has(select),.axc .reference-main > .reference-field:has(#setup-name),.axc .reference-main > .geometry-heading + .reference-field:nth-last-child(2),.axc .reference-main > .reference-check ~ .reference-field:last-child{ grid-column: 1 / -1; }
.axc .reference-main > .reference-field > :is(span:first-child, .field-title){ font-size: 13px; line-height: 18px; align-items: flex-start; }
.axc .reference-main > .reference-field > :is(span:first-child, .field-title)::before{ align-self: center; }
.axc .unit-body > .field-grid > .measurement-field:not(.wide):last-child,.axc .unit-body > .field-grid > .measurement-field:not(.wide):has(+ .measurement-field.wide:last-child){ grid-column: 1 / -1; }
}
@media screen{
.axc .unit-body .measurement-field{ grid-template-columns: auto minmax(0, 1fr); column-gap: 4px; align-items: baseline; }
.axc .unit-body .measurement-field > *{ grid-column: 1 / -1; }
.axc .unit-body .measurement-field > .field-title{ grid-column: 1; }
.axc .unit-body .measurement-field > .source-pill{ grid-column: 2; justify-self: start; margin: 0; color: var(--muted); background: none; padding: 0; font-size: 11px; }
.axc .unit-body .measurement-field > .source-pill.checked{ color: var(--muted); }
.axc .unit-body .field-help{ display: none; }
.axc .help-cue-wrap{ position: relative; display: inline-block; margin-left: 8px; vertical-align: middle; }
.axc .help-cue{ width: 20px; height: 20px; padding: 0; border: 1px solid var(--line, #d0d0d0); border-radius: 50%; background: transparent; color: var(--muted); font: italic 700 12px/18px Georgia, serif; cursor: help; }
.axc .help-cue-tip{ display: none; position: absolute; left: 0; top: 24px; z-index: 5; width: 260px; max-width: 70vw; padding: 8px 12px; border: 1px solid var(--line, #d0d0d0); border-radius: 8px; background: var(--paper); color: var(--ink, inherit); font-size: 12px; line-height: 1.4; font-weight: 400; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.axc .help-cue-wrap:hover .help-cue-tip,.axc .help-cue-wrap:focus-within .help-cue-tip{ display: block; }
}
.axc .preview-lead{
  display: flex;
  align-items: center;
  gap: 8px;
}
.axc .hh-i3d{
  display: block;
  flex: none;
  width: 28px;
  height: 25px;
  color: inherit;
}
