#js-tool-container-crushed-stone-concrete-calc .csc-app {
  --csc-stone: #6b6358;
  --csc-sand: #c2b280;
  --csc-cement: #8a8a8a;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
html[data-theme="dark"] #js-tool-container-crushed-stone-concrete-calc .csc-app {
  --csc-stone: #a89f90;
  --csc-sand: #c4b68a;
  --csc-cement: #b0b0b0;
}
#js-tool-container-crushed-stone-concrete-calc .tb-zone {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
#js-tool-container-crushed-stone-concrete-calc .tb-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px 20px;
}
#js-tool-container-crushed-stone-concrete-calc .tb-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#js-tool-container-crushed-stone-concrete-calc .tb-hint {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text-muted);
}
#js-tool-container-crushed-stone-concrete-calc .tb-fieldset {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px 18px;
  margin: 0;
}
#js-tool-container-crushed-stone-concrete-calc .tb-legend {
  padding: 0 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
}
#js-tool-container-crushed-stone-concrete-calc .csc-hero {
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--csc-stone);
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  padding: 18px 20px;
  min-height: 132px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
#js-tool-container-crushed-stone-concrete-calc .csc-hero.is-error {
  border-top-color: var(--danger);
  background: var(--danger-light);
}
#js-tool-container-crushed-stone-concrete-calc .tb-hero-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
#js-tool-container-crushed-stone-concrete-calc .tb-hero-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
#js-tool-container-crushed-stone-concrete-calc .tb-hero-value {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  font-weight: 700;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
#js-tool-container-crushed-stone-concrete-calc .tb-unit {
  font-size: 1rem;
  color: var(--text-secondary);
}
#js-tool-container-crushed-stone-concrete-calc .tb-hero-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
#js-tool-container-crushed-stone-concrete-calc .tb-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#js-tool-container-crushed-stone-concrete-calc .tb-chip {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
}
#js-tool-container-crushed-stone-concrete-calc .tb-status {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: var(--bg-secondary);
}
#js-tool-container-crushed-stone-concrete-calc .tb-status.is-danger {
  background: var(--danger-light);
  color: var(--text-primary);
}
#js-tool-container-crushed-stone-concrete-calc .csc-bunkers {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  min-height: 148px;
}
#js-tool-container-crushed-stone-concrete-calc .csc-bunker {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
#js-tool-container-crushed-stone-concrete-calc .csc-bunker-shaft {
  position: relative;
  width: 100%;
  height: 110px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-secondary);
}
#js-tool-container-crushed-stone-concrete-calc .csc-fill {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  border-radius: 0;
}
#js-tool-container-crushed-stone-concrete-calc .csc-fill-c { background: var(--csc-cement); }
#js-tool-container-crushed-stone-concrete-calc .csc-fill-s { background: var(--csc-sand); }
#js-tool-container-crushed-stone-concrete-calc .csc-fill-a { background: var(--csc-stone); }
#js-tool-container-crushed-stone-concrete-calc .csc-bunker-name {
  font-size: 0.82rem;
  color: var(--text-secondary);
}
#js-tool-container-crushed-stone-concrete-calc .csc-bunker-val {
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}
#js-tool-container-crushed-stone-concrete-calc .csc-ratio-line {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-primary);
}
#js-tool-container-crushed-stone-concrete-calc .tb-spec {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
#js-tool-container-crushed-stone-concrete-calc .tb-spec-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
#js-tool-container-crushed-stone-concrete-calc .tb-spec-norm {
  color: var(--text-muted);
  font-size: 0.82rem;
}
#js-tool-container-crushed-stone-concrete-calc .tb-field-error {
  font-size: 0.82rem;
  color: var(--danger);
  min-height: 0;
}
@media (max-width: 640px) {
  #js-tool-container-crushed-stone-concrete-calc .csc-app { gap: 10px; }
  #js-tool-container-crushed-stone-concrete-calc .tb-grid-3 { grid-template-columns: 1fr; }
  #js-tool-container-crushed-stone-concrete-calc .tb-spec-row { grid-template-columns: 1fr; }
  #js-tool-container-crushed-stone-concrete-calc .csc-bunkers { grid-template-columns: 1fr 1fr 1fr; min-height: 132px; }
}