


.btn, .btn-sm, .btn-lg,
.btn-group-sm > .btn, .btn-group-lg > .btn {
  --tblr-btn-padding-y: 9px;
  --tblr-btn-padding-x: 16px;
  --tblr-btn-font-size: 14px;
  --tblr-btn-line-height: 20px;
  --tblr-btn-font-weight: 600;
  --tblr-btn-border-radius: 7px;
}


h2.h2-actions-wrap .btn { --tblr-btn-padding-y: 5px }


.iconbtn { border-radius: 7px }


.form-control, .form-select { border-radius: 7px }


:where(.form-label) { text-transform: uppercase; letter-spacing: .08em; color: var(--muted) }


.input-group, .input-group-text { border-radius: 7px }


.tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 40px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  cursor: pointer;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: color .12s, border-color .12s;
}
.tab:hover { color: var(--text); filter: none }

.tab.active { color: var(--accent); border-bottom-color: var(--accent) }


.pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--panel2);
  color: var(--muted);
  border: 1px solid var(--rule);
}


.pill.running   { background: rgba(245,158,11,.16);  color: #f59e0b;        border: 1px solid rgba(245,158,11,.38); }
.pill.succeeded { background: rgba(127,176,105,.16); color: var(--good);   border: 1px solid rgba(127,176,105,.38); }
.pill.failed    { background: rgba(224,108,138,.16); color: var(--danger); border: 1px solid rgba(224,108,138,.38); }


.wo-summary .chip {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 7px;
  font-size: 13px;
  background: var(--panel2);
  border: 1px solid var(--rule);
}


@media (max-width: 600px) {
  .wo-summary .chip { padding: 5px 9px; font-size: 12px }
}


.terms {
  display: inline-flex;
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}
.terms button {
  background: transparent;
  color: var(--muted);
  border: 0;
  padding: 9px 20px;
  font: inherit;
  font-size: 14px;
  
  line-height: 20px;
  cursor: pointer;
  transition: background .12s, color .12s;
}
.terms button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}


.enh-btn,
.cyc-filter > button.filter-btn,
.io-pick .enh-btn,
.pager-size .enh-btn,
.seg-btn { min-height: 32px }



.iconbtn.info-btn { position: relative }
.iconbtn.info-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}



#woFormView.active-mode .btn,
#exBuilder .btn {
  --tblr-btn-padding-y: 5px;
  --tblr-btn-padding-x: 12px;
  --tblr-btn-font-size: 13px;
  --tblr-btn-line-height: 20px;
}


