.hc-rsq {
  --hc-rsq-blue: #1e73e8;
  --hc-rsq-navy: #2c3e50;
  --hc-rsq-text: #2c3e50;
  --hc-rsq-muted: #63716a;
  --hc-rsq-border: #d7dee8;
  --hc-rsq-soft: #f5f8f6;
  --hc-rsq-green: #eaf6f0;
  container-type: inline-size;
  width: 100%;
  box-sizing: border-box;
  color: var(--hc-rsq-text);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
}
.hc-rsq *, .hc-rsq *::before, .hc-rsq *::after { box-sizing: border-box; }
.hc-rsq__header { margin: 0 0 20px; }
.hc-rsq__tool-label {
  display: inline-block;
  color: var(--hc-rsq-blue);
  font-size: 12px;
  line-height: 1.35;
  letter-spacing: .08em;
  font-weight: 800;
}
.hc-rsq__header h2 {
  margin: 6px 0 8px;
  color: var(--hc-rsq-navy);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: normal;
}
.hc-rsq__header p { margin: 0; color: var(--hc-rsq-muted); font-size: 15px; line-height: 1.5; font-weight: 400; }
.hc-rsq__layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 16px; align-items: stretch; }
.hc-rsq__panel { min-width: 0; height: 100%; border: 1px solid var(--hc-rsq-border); border-radius: 15px; background: #fff; overflow: hidden; }
.hc-rsq__inputs { padding: 22px; }
.hc-rsq__section { margin: 0 0 24px; }
.hc-rsq__section h3 { margin: 0 0 15px; color: var(--hc-rsq-navy); font-size: 17px; line-height: 1.35; font-weight: 700; }
.hc-rsq__section h3 span { color: var(--hc-rsq-navy); }
.hc-rsq__section h3 em { font-size: .88em; font-weight: 500; font-style: normal; }
.hc-rsq__unit-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; border: 1px solid var(--hc-rsq-border); background: var(--hc-rsq-soft); border-radius: 10px; }
.hc-rsq button { font-family: inherit; font-size: 14px; line-height: 1.4; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.hc-rsq__unit { min-height: 42px; padding: 9px 10px; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--hc-rsq-text); font-weight: 600; }
.hc-rsq__unit.is-active, .hc-rsq__waste-options button.is-active { background: var(--hc-rsq-blue); color: #fff; border-color: var(--hc-rsq-blue); }
.hc-rsq__unit:not(.is-active):hover, .hc-rsq__waste-options button:not(.is-active):hover { background: #f0f5fc; }
.hc-rsq__label { display: block; margin: 0 0 7px; color: var(--hc-rsq-text); font-size: 14px; line-height: 1.4; font-weight: 600; }
.hc-rsq__number-wrap, .hc-rsq__custom-input-wrap { display: flex; width: 100%; min-height: 42px; border: 1px solid #cfd8e3; border-radius: 9px; overflow: hidden; background: #fff; }
.hc-rsq__number-wrap input, .hc-rsq__custom-input-wrap input { flex: 1; min-width: 0; width: 100%; min-height: 40px; padding: 9px 12px; border: 0 !important; box-shadow: none !important; outline: none; color: var(--hc-rsq-text); background: transparent; font-family: inherit; font-size: 14px; line-height: 1.4; }
.hc-rsq__number-wrap:focus-within, .hc-rsq__custom-input-wrap:focus-within { border-color: #cfd8e3; }
.hc-rsq__unit-suffix, .hc-rsq__custom-input-wrap span { display: flex; align-items: center; justify-content: center; min-width: 70px; padding: 0 10px; background: #f2f4f7; border-left: 1px solid var(--hc-rsq-border); color: #526174; font-size: 13px; }
.hc-rsq__help { margin: 9px 0 0; color: var(--hc-rsq-muted); font-size: 13px; line-height: 1.5; }
.hc-rsq__help a, .hc-rsq__guide a { color: var(--hc-rsq-blue); font-weight: 600; text-decoration: none; }
.hc-rsq__help a:hover, .hc-rsq__guide a:hover { text-decoration: underline; }
.hc-rsq__waste-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.hc-rsq__waste-options button { min-width: 0; min-height: 40px; padding: 7px 4px; border: 1px solid var(--hc-rsq-border); border-radius: 8px; background: #fff; color: var(--hc-rsq-text); font-size: 13px; font-weight: 550; overflow-wrap: anywhere; }
.hc-rsq__custom-wrap { margin-top: 12px; }
.hc-rsq__custom-input-wrap span { min-width: 42px; }
.hc-rsq__error { margin: 8px 0 0; color: #b42318; font-size: 13px; line-height: 1.45; }
.hc-rsq__actions { padding-top: 2px; }
.hc-rsq__reset { min-height: 42px; padding: 9px 18px; background: transparent; color: var(--hc-rsq-text); border: 1px solid var(--hc-rsq-blue); border-radius: 8px; font-weight: 600; }
.hc-rsq__reset:hover { background: #f0f6ff; }
.hc-rsq__results { display: flex; flex-direction: column; }
.hc-rsq__result-top { padding: 20px; background: linear-gradient(120deg, #f2faf6 0%, #fff 80%); }
.hc-rsq__eyebrow { margin: 0 0 14px; color: var(--hc-rsq-blue); font-size: 12px; line-height: 1.35; font-weight: 800; letter-spacing: .08em; }
.hc-rsq__result-label { margin: 0 0 10px; color: var(--hc-rsq-text); font-size: 16px; line-height: 1.4; }
.hc-rsq__big-result { color: var(--hc-rsq-navy); font-size: clamp(30px, 4cqi, 40px); line-height: 1.15; font-weight: 750; letter-spacing: -.025em; overflow-wrap: anywhere; }
.hc-rsq__big-result > span:last-child { font-size: .38em; letter-spacing: -.01em; font-weight: 700; white-space: nowrap; }
.hc-rsq__result-caption { margin: 10px 0 0; color: var(--hc-rsq-muted); font-size: 13px; line-height: 1.5; }
.hc-rsq__breakdown { padding: 8px 20px 0; }
.hc-rsq__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; padding: 12px 0; border-bottom: 1px solid #e1e7ef; color: var(--hc-rsq-muted); font-size: 13px; line-height: 1.45; }
.hc-rsq__row strong { max-width: 55%; color: var(--hc-rsq-text); text-align: right; font-weight: 700; }
.hc-rsq__total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 0; padding: 15px 13px; border-radius: 10px; background: var(--hc-rsq-green); }
.hc-rsq__total div { display: flex; flex-direction: column; gap: 4px; }
.hc-rsq__total div strong { color: var(--hc-rsq-text); font-size: 14px; line-height: 1.4; }
.hc-rsq__total div span { color: var(--hc-rsq-muted); font-size: 12px; }
.hc-rsq__rounded { color: var(--hc-rsq-blue); font-size: clamp(17px, 2.5cqi, 23px); line-height: 1.25; text-align: right; white-space: nowrap; }
.hc-rsq__note { display: flex; gap: 9px; padding: 17px 20px 20px; color: var(--hc-rsq-muted); font-size: 12px; line-height: 1.5; }
.hc-rsq__note p { margin: 0; }
.hc-rsq__info { flex: 0 0 21px; width: 21px; height: 21px; border-radius: 50%; background: #64748b; color: #fff; font-size: 14px; line-height: 21px; text-align: center; font-weight: 800; }
.hc-rsq__guide { margin-top: 20px; padding: 22px; border: 1px solid var(--hc-rsq-border); border-radius: 15px; background: #fff; color: var(--hc-rsq-text); font-size: 14px; line-height: 1.55; }
.hc-rsq__guide h3 { margin: 0 0 10px; color: var(--hc-rsq-navy); font-size: 18px; line-height: 1.35; font-weight: 700; }
.hc-rsq__guide h3:not(:first-child) { margin-top: 22px; }
.hc-rsq__guide ol, .hc-rsq__guide ul { margin: 8px 0 0; padding-left: 22px; }
.hc-rsq__guide li { margin: 6px 0; font-size: 14px; line-height: 1.55; }
.hc-rsq__footer { margin: 14px 0 0; padding: 0; border: 0; text-align: center; color: var(--hc-rsq-muted); font-size: 13px; line-height: 1.5; }
.hc-rsq__footer a { color: var(--hc-rsq-blue); font-weight: 650; text-decoration: none; }
.hc-rsq__footer a:hover { text-decoration: underline; }
.hc-rsq [hidden] { display: none !important; }
@container (max-width: 560px) {
  .hc-rsq__layout { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .hc-rsq__results { order: -1; }
  .hc-rsq__big-result { font-size: 36px; }
}
@container (max-width: 390px) {
  .hc-rsq__inputs, .hc-rsq__guide { padding: 16px; }
  .hc-rsq__result-top { padding: 17px; }
  .hc-rsq__breakdown { padding-right: 17px; padding-left: 17px; }
  .hc-rsq__note { padding-right: 17px; padding-left: 17px; }
  .hc-rsq__waste-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hc-rsq__total { align-items: flex-start; flex-direction: column; }
  .hc-rsq__rounded { text-align: left; }
}
