/* TCR Tools — 26-Type / 42-Interface Toolholder Finder (100% scoped .tcr-hf-*, zero external dependencies) */
.tcr-hf-band {
  background: #f4f6fa;
  border-top: 1px solid rgba(13, 27, 62, 0.08);
  border-bottom: 1px solid rgba(13, 27, 62, 0.08);
  padding: 64px 20px;
  color: #0d1b3e;
  font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}
.tcr-hf-band *,
.tcr-hf-band *::before,
.tcr-hf-band *::after {
  box-sizing: border-box;
}
.tcr-hf-wrap {
  max-width: 1170px;
  margin: 0 auto;
}
.tcr-hf-root {
  min-height: 620px;
}
.tcr-hf-ssr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.tcr-hf-ssr-fam {
  background: #ffffff;
  border: 1px solid rgba(13, 27, 62, 0.14);
  border-radius: 6px;
  padding: 14px 16px;
}
.tcr-hf-ssr-fam h3 {
  margin: 0 0 8px 0 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0d1b3e !important;
  border-bottom: 2px solid #e9550d;
  padding-bottom: 6px;
}
.tcr-hf-ssr-fam ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.tcr-hf-ssr-fam li {
  padding: 5px 0;
  border-bottom: 1px solid rgba(13, 27, 62, 0.06);
  font-size: 12.5px;
  line-height: 1.4;
}
.tcr-hf-ssr-fam li:last-child {
  border-bottom: 0;
}
.tcr-hf-ssr-fam a {
  color: #0d1b3e;
  font-weight: 600;
  text-decoration: none;
}
.tcr-hf-ssr-fam a:hover {
  color: #c94506;
  text-decoration: underline;
}
.tcr-hf-ssr-meta {
  display: block;
  font-size: 11px;
  color: #64748b;
}
.tcr-hf-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 28px;
  margin-bottom: 24px;
}
.tcr-hf-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c94506;
  margin-bottom: 6px;
}
.tcr-hf-kicker::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: #e9550d;
}
.tcr-hf-heading {
  margin: 0 0 6px 0 !important;
  font-family: "Barlow Condensed", "Rubik", Arial, sans-serif !important;
  font-size: clamp(28px, 3vw, 40px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  color: #0d1b3e !important;
  letter-spacing: -0.01em;
}
.tcr-hf-sub {
  margin: 0 !important;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
}
.tcr-hf-shell {
  background: #ffffff;
  border: 1px solid rgba(13, 27, 62, 0.16);
  border-radius: 6px;
  overflow: hidden;
}
.tcr-hf-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}
.tcr-hf-topbar {
  background: #0d1b3e;
  color: #ffffff;
  border-bottom: 2px solid #e9550d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding-right: 16px;
}
.tcr-hf-topbar-left {
  display: flex;
  align-items: center;
  min-width: 0;
  align-self: stretch;
}
.tcr-hf-slash {
  background: #e9550d;
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  padding: 0 22px 0 14px;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #ffffff;
  flex-shrink: 0;
}
.tcr-hf-topbar-title {
  padding-left: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tcr-hf-topbar-badge {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.tcr-hf-tabs {
  background: #f3f5f9;
  border-bottom: 1px solid rgba(13, 27, 62, 0.12);
  display: flex;
  align-items: stretch;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tcr-hf-tab {
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: color 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}
.tcr-hf-tab:hover {
  color: #0d1b3e;
  background: rgba(255, 255, 255, 0.55);
}
.tcr-hf-tab.is-active {
  color: #0d1b3e;
  background: #ffffff;
  border-bottom-color: #e9550d;
  font-weight: 700;
}
.tcr-hf-tab-cnt {
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
  background: rgba(13, 27, 62, 0.08);
  color: #64748b;
}
.tcr-hf-tab.is-active .tcr-hf-tab-cnt {
  background: rgba(233, 85, 13, 0.14);
  color: #c94506;
  font-weight: 700;
}
.tcr-hf-ifacebar {
  background: #fafbfd;
  border-bottom: 1px solid rgba(13, 27, 62, 0.1);
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.tcr-hf-ifacelbl {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
  white-space: nowrap;
  flex-shrink: 0;
}
.tcr-hf-ifacepills {
  display: flex;
  align-items: center;
  gap: 6px;
}
.tcr-hf-pill {
  appearance: none;
  background: #ffffff;
  color: #475569;
  border: 1px solid rgba(13, 27, 62, 0.18);
  border-radius: 3px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.12s ease;
}
.tcr-hf-pill:hover {
  border-color: #0d1b3e;
  color: #0d1b3e;
}
.tcr-hf-pill.is-active {
  background: #0d1b3e;
  border-color: #0d1b3e;
  color: #ffffff;
}
.tcr-hf-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}
.tcr-hf-list {
  border-right: 1px solid rgba(13, 27, 62, 0.12);
  max-height: 492px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.tcr-hf-row {
  padding: 11px 16px;
  border-bottom: 1px solid rgba(13, 27, 62, 0.08);
  border-left: 3px solid transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}
.tcr-hf-row:hover {
  background: #f8fafc;
}
.tcr-hf-row.is-selected {
  background: rgba(233, 85, 13, 0.06);
  border-left-color: #c94506;
}
.tcr-hf-row-main {
  min-width: 0;
}
.tcr-hf-row-name {
  font-size: 13.5px;
  font-weight: 600;
  color: #0d1b3e;
  line-height: 1.3;
  margin-bottom: 2px;
}
.tcr-hf-row-meta {
  font-size: 11.5px;
  color: #64748b;
}
.tcr-hf-row-tag {
  font-size: 10.5px;
  padding: 3px 8px;
  border-radius: 3px;
  background: #eef1f6;
  color: #475569;
  white-space: nowrap;
  flex-shrink: 0;
}
.tcr-hf-row.is-selected .tcr-hf-row-tag {
  background: #c94506;
  color: #ffffff;
  font-weight: 700;
}
.tcr-hf-detail {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  background: #ffffff;
}
.tcr-hf-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.tcr-hf-detail-title {
  margin: 0 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #0d1b3e !important;
  line-height: 1.25 !important;
}
.tcr-hf-detail-tag {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 3px;
  background: rgba(233, 85, 13, 0.12);
  color: #c94506;
  white-space: nowrap;
  flex-shrink: 0;
}
.tcr-hf-cad {
  background: #f4f6fa;
  border: 1px solid rgba(13, 27, 62, 0.12);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}
.tcr-hf-cad svg {
  width: 100%;
  height: auto;
  display: block;
}
.tcr-hf-cad-note {
  padding: 5px 12px;
  background: #e9eef5;
  border-top: 1px solid rgba(13, 27, 62, 0.08);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: #475569;
}
.tcr-hf-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.tcr-hf-spec {
  padding: 10px 12px;
  border: 1px solid rgba(13, 27, 62, 0.1);
  border-radius: 4px;
  background: #fafbfd;
}
.tcr-hf-spec-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #64748b;
  margin-bottom: 3px;
}
.tcr-hf-spec-val {
  font-size: 13.5px;
  font-weight: 700;
  color: #0d1b3e;
  line-height: 1.35;
}
.tcr-hf-spec-txt {
  font-size: 12.5px;
  color: #1e293b;
  line-height: 1.4;
}
.tcr-hf-bar {
  margin-top: 6px;
  height: 5px;
  width: 100%;
  border-radius: 2px;
  background: #e2e8f0;
  overflow: hidden;
}
.tcr-hf-bar > span {
  display: block;
  height: 100%;
}
.tcr-hf-use {
  font-size: 13.5px;
  line-height: 1.5;
  color: #334155;
  margin-bottom: 12px;
}
.tcr-hf-use strong {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #0d1b3e;
  margin-right: 6px;
}
.tcr-hf-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.tcr-hf-chip {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 3px;
  background: #eef1f6;
  color: #0d1b3e;
}
.tcr-hf-actions {
  padding-top: 12px;
  border-top: 1px solid rgba(13, 27, 62, 0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.tcr-hf-peer {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 12.5px;
  color: #475569;
  cursor: pointer;
  text-align: left;
}
.tcr-hf-peer:hover {
  color: #c94506;
}
.tcr-hf-peer u {
  font-weight: 600;
}
.tcr-hf-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.tcr-hf-cta-primary,
.tcr-hf-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 3px;
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.2;
  transition: background-color 0.14s ease, color 0.14s ease, border-color 0.14s ease;
}
.tcr-hf-cta-primary {
  background: #e9550d;
  color: #ffffff !important;
  border: 1px solid #e9550d;
}
.tcr-hf-cta-primary:hover {
  background: #c94506;
  border-color: #c94506;
  color: #ffffff !important;
}
.tcr-hf-cta-secondary {
  background: #ffffff;
  color: #0d1b3e !important;
  border: 1px solid rgba(13, 27, 62, 0.25);
}
.tcr-hf-cta-secondary:hover {
  background: #0d1b3e;
  border-color: #0d1b3e;
  color: #ffffff !important;
}
.tcr-hf-foot {
  background: #f8fafc;
  border-top: 1px solid rgba(13, 27, 62, 0.12);
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  color: #475569;
}
.tcr-hf-empty {
  padding: 20px 16px;
  font-size: 13px;
  color: #64748b;
}

@media (max-width: 900px) {
  .tcr-hf-band {
    padding: 40px 14px;
  }
  .tcr-hf-grid {
    grid-template-columns: 1fr;
  }
  .tcr-hf-list {
    border-right: 0;
    border-bottom: 1px solid rgba(13, 27, 62, 0.12);
    max-height: 256px;
  }
  .tcr-hf-detail {
    padding: 16px;
  }
  .tcr-hf-topbar-badge {
    display: none;
  }
}
@media (max-width: 560px) {
  .tcr-hf-specs {
    grid-template-columns: 1fr;
  }
  .tcr-hf-tab {
    padding: 10px 12px;
    font-size: 12px;
  }
  .tcr-hf-detail-title {
    font-size: 17px !important;
  }
}
