#js-tool-container-crushed-stone-weight-calculator .csw-app {
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--text-primary);
  --stone-fill: #8d7a62;
  --stone-mark: #5c4e3d;
}
html[data-theme="dark"] #js-tool-container-crushed-stone-weight-calculator .csw-app {
  --stone-fill: #c4b197;
  --stone-mark: #e4d5bc;
}
#js-tool-container-crushed-stone-weight-calculator .tb-zone {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#js-tool-container-crushed-stone-weight-calculator .tbcalc-fieldset {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px 18px;
  margin: 0;
}
#js-tool-container-crushed-stone-weight-calculator .tbcalc-legend {
  padding: 0 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
#js-tool-container-crushed-stone-weight-calculator .tb-grid-2,
#js-tool-container-crushed-stone-weight-calculator .tbcalc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
#js-tool-container-crushed-stone-weight-calculator .tbcalc-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#js-tool-container-crushed-stone-weight-calculator .tbcalc-hint {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text-muted);
}
#js-tool-container-crushed-stone-weight-calculator .tb-hero {
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--stone-fill);
  border-radius: var(--radius-md);
  background: var(--accent-light);
  padding: 18px 20px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#js-tool-container-crushed-stone-weight-calculator .tb-hero-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
#js-tool-container-crushed-stone-weight-calculator .tb-hero-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
#js-tool-container-crushed-stone-weight-calculator .tb-hero-value {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-primary);
}
#js-tool-container-crushed-stone-weight-calculator .tb-hero-note {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--text-secondary);
}
#js-tool-container-crushed-stone-weight-calculator .tb-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#js-tool-container-crushed-stone-weight-calculator .tb-chip {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
}
#js-tool-container-crushed-stone-weight-calculator .tbcalc-unit {
  font-size: 1rem;
  color: var(--text-secondary);
}
#js-tool-container-crushed-stone-weight-calculator .tbcalc-status {
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-primary);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-secondary);
}
#js-tool-container-crushed-stone-weight-calculator .tbcalc-status.warn {
  border-left-color: var(--warning);
  background: var(--warning-light);
  color: var(--text-primary);
}
#js-tool-container-crushed-stone-weight-calculator .tbcalc-status.danger {
  border-left-color: var(--danger);
  background: var(--danger-light);
  color: var(--text-primary);
}
#js-tool-container-crushed-stone-weight-calculator .csw-bridge {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
#js-tool-container-crushed-stone-weight-calculator .csw-bridge-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-secondary);
}
#js-tool-container-crushed-stone-weight-calculator .csw-bridge-now {
  font-weight: 650;
  color: var(--text-primary);
}
#js-tool-container-crushed-stone-weight-calculator .csw-scale-track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: var(--bg-tertiary);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
#js-tool-container-crushed-stone-weight-calculator .csw-scale-fill {
  display: block;
  height: 100%;
  width: 34%;
  border-radius: 999px;
  background: var(--stone-fill);
}
#js-tool-container-crushed-stone-weight-calculator .csw-scale-marker {
  display: block;
  position: absolute;
  top: -3px;
  left: 34%;
  width: 4px;
  height: 20px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--stone-mark);
}
#js-tool-container-crushed-stone-weight-calculator .csw-scale-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}
#js-tool-container-crushed-stone-weight-calculator .tb-ledger {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#js-tool-container-crushed-stone-weight-calculator .tb-ledger-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
@media (max-width: 640px) {
  #js-tool-container-crushed-stone-weight-calculator .csw-app {
    gap: 10px;
  }
  #js-tool-container-crushed-stone-weight-calculator .tb-grid-2,
  #js-tool-container-crushed-stone-weight-calculator .tbcalc-grid-2 {
    grid-template-columns: 1fr;
  }
  #js-tool-container-crushed-stone-weight-calculator .csw-scale-labels span:nth-child(2),
  #js-tool-container-crushed-stone-weight-calculator .csw-scale-labels span:nth-child(3) {
    display: none;
  }
}