:root {
  --dchvac-ink: #102a3b;
  --dchvac-blue: #0787ad;
  --dchvac-cyan: #11b9d5;
  --dchvac-green: #7fbd3f;
  --dchvac-line: #d9e4e9;
  --dchvac-soft: #f4f8fa;
  --dchvac-white: #fff;
}

.dchvac-r49-panel,
.dchvac-r49-runtime,
.dchvac-r49-inline-cta,
.dchvac-r49-enquiry-context {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 36px auto;
  color: var(--dchvac-ink);
}

.dchvac-r49-panel *,
.dchvac-r49-runtime *,
.dchvac-r49-inline-cta *,
.dchvac-r49-enquiry-context * { box-sizing: border-box; }

.dchvac-r49-panel {
  clear: both;
  padding: clamp(22px, 4vw, 48px);
  border: 1px solid var(--dchvac-line);
  border-radius: 20px;
  background: var(--dchvac-white);
  box-shadow: 0 14px 42px rgba(16, 42, 59, .08);
}

.dchvac-r49-heading { max-width: 820px; }
.dchvac-r49-heading h2 { margin: 2px 0 10px; font-size: clamp(1.65rem, 3vw, 2.35rem); line-height: 1.12; }
.dchvac-r49-heading p:last-child { margin: 0; font-size: 1.02rem; line-height: 1.65; }
.dchvac-r49-eyebrow { margin: 0 0 5px; color: var(--dchvac-blue); font-size: .77rem; font-weight: 800; letter-spacing: .13em; }

.dchvac-r49-summary,
.dchvac-r49-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.dchvac-r49-summary article,
.dchvac-r49-grid article {
  min-width: 0;
  padding: 20px;
  border: 1px solid var(--dchvac-line);
  border-radius: 14px;
  background: var(--dchvac-soft);
}

.dchvac-r49-summary article:first-child { background: linear-gradient(135deg, #e8f8fc, #f7fbfc); border-color: #b8e4ee; }
.dchvac-r49-summary span { display: block; margin-bottom: 7px; color: var(--dchvac-blue); font-size: .72rem; font-weight: 800; letter-spacing: .1em; }
.dchvac-r49-summary h3, .dchvac-r49-summary p { margin: 0; }
.dchvac-r49-summary p { line-height: 1.6; }
.dchvac-r49-grid h3, .dchvac-r49-related h3, .dchvac-r49-docs h3, .dchvac-r49-order h3 { margin: 0 0 12px; font-size: 1.15rem; }
.dchvac-r49-grid ul, .dchvac-r49-details ul { margin: 0; padding-left: 1.25rem; }
.dchvac-r49-grid li, .dchvac-r49-details li { margin: .45rem 0; line-height: 1.5; }
.dchvac-r49-grid .is-included { border-left: 5px solid var(--dchvac-green); }
.dchvac-r49-grid .is-required { border-left: 5px solid var(--dchvac-blue); }
.dchvac-r49-grid .is-optional { border-left: 5px solid #d58b12; }
.dchvac-r49-grid .is-retained { border-left: 5px solid #7256a6; }
.dchvac-r49-evidence { padding: 18px; border: 1px solid var(--dchvac-line); border-radius: 12px; background: #f8fafb; }
.dchvac-r49-evidence p { margin: 0; line-height: 1.6; }

.dchvac-r49-table-wrap { width: 100%; margin-top: 22px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dchvac-r49-table { width: 100%; min-width: 560px; margin: 0; border-collapse: collapse; font-size: .96rem; }
.dchvac-r49-table caption { padding: 0 0 10px; text-align: left; font-size: 1.2rem; font-weight: 800; }
.dchvac-r49-table th, .dchvac-r49-table td { padding: 12px 14px; border: 1px solid var(--dchvac-line); text-align: left; vertical-align: top; }
.dchvac-r49-table th { width: 31%; background: #eef5f7; }

.dchvac-r49-details { margin-top: 18px; border: 1px solid var(--dchvac-line); border-radius: 12px; background: #fff; }
.dchvac-r49-details summary { padding: 15px 18px; cursor: pointer; font-weight: 800; }
.dchvac-r49-details[open] summary { border-bottom: 1px solid var(--dchvac-line); }
.dchvac-r49-details ul { padding: 10px 38px 18px; }

.dchvac-r49-related, .dchvac-r49-docs { margin-top: 22px; }
.dchvac-r49-related > div, .dchvac-r49-docs > div { display: flex; flex-wrap: wrap; gap: 10px; }
.dchvac-r49-related span { display: inline-flex; max-width: 100%; }
.dchvac-r49-related a, .dchvac-r49-docs a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #bddbe4;
  border-radius: 10px;
  color: #075f7c;
  background: #f1fbfd;
  font-weight: 700;
  text-decoration: none;
}
.dchvac-r49-related a:hover, .dchvac-r49-docs a:hover { border-color: var(--dchvac-blue); background: #e5f7fb; }
.dchvac-r49-related p { margin: 11px 0 0; color: #536975; font-size: .9rem; }
.dchvac-r49-docs a span { border-radius: 4px; padding: 2px 5px; color: #fff; background: var(--dchvac-blue); font-size: .67rem; }

.dchvac-r49-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 22px;
  border-radius: 14px;
  color: #fff;
  background: var(--dchvac-ink);
}
.dchvac-r49-order p { max-width: 760px; margin: 0; line-height: 1.55; }
.dchvac-r49-order .button { flex: 0 0 auto; white-space: normal; text-align: center; }

.dchvac-r49-runtime { padding: clamp(22px, 4vw, 48px); border: 1px solid var(--dchvac-line); border-radius: 20px; background: #fff; }
.dchvac-r49-runtime__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.dchvac-r49-runtime label { display: grid; gap: 7px; min-width: 0; font-weight: 750; }
.dchvac-r49-runtime input { width: 100%; min-height: 48px; padding: 10px 12px; border: 1px solid #afc7d1; border-radius: 8px; font: inherit; }
.dchvac-r49-runtime__results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.dchvac-r49-runtime__results article { padding: 18px; border-radius: 12px; background: var(--dchvac-ink); color: #fff; }
.dchvac-r49-runtime__results span { display: block; margin-bottom: 6px; color: #b8e9f4; font-size: .8rem; }
.dchvac-r49-runtime__results strong { font-size: clamp(1.25rem, 2.4vw, 1.8rem); }
.dchvac-r49-note { margin: 18px 0; padding: 14px 16px; border-left: 4px solid var(--dchvac-green); background: #f3f8ed; line-height: 1.55; }

.dchvac-r49-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 20px; border: 1px solid #b8e4ee; border-radius: 14px; background: #eefafe; }
.dchvac-r49-inline-cta div { display: grid; gap: 3px; }
.dchvac-r49-inline-cta .button { flex: 0 0 auto; }
.dchvac-r49-enquiry-context { padding: 18px 20px; border-left: 5px solid var(--dchvac-blue); border-radius: 10px; background: #eef8fb; }
.dchvac-r49-enquiry-context p { margin: 5px 0; font-weight: 750; }
.dchvac-r49-enquiry-context span { color: #4f6671; }
.dchvac-r49-form-product{margin:0 0 16px;padding:14px;border:1px solid #b8e4ee;border-radius:10px;background:#f3fbfd}.dchvac-r49-form-product label{display:grid;gap:7px;font-weight:800}.dchvac-r49-form-product input{width:100%;min-height:46px;background:#fff;color:#102a3b}
.dchvac-r49-project-brief{margin:20px 0;padding:18px;border:1px solid #b8e4ee;border-radius:12px;background:#f6fbfd}.dchvac-r49-project-brief legend{padding:0 8px;font-size:1.15rem;font-weight:800;color:#102a3b}.dchvac-r49-brief-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.dchvac-r49-project-brief label{display:grid;gap:6px;margin:10px 0;font-weight:700}.dchvac-r49-project-brief input,.dchvac-r49-project-brief select,.dchvac-r49-project-brief textarea{width:100%;min-height:46px;padding:9px 11px;border:1px solid #9bb7c4;border-radius:8px;background:#fff;color:#102a3b}
.dchvac-r49-tool-intro { max-width: 920px; margin: 0 0 24px; padding: clamp(18px, 3vw, 28px); border: 1px solid #b8e4ee; border-left: 5px solid var(--dchvac-blue); border-radius: 14px; background: #f3fbfd; }
.dchvac-r49-tool-intro h2 { margin: 0 0 8px; font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.dchvac-r49-tool-intro p { margin: 0; line-height: 1.65; }

/* R49 replaces the older, compressor-only builder with one consistent panel. */
.single-product .dchvac-system-guide { display: none !important; }

@media (max-width: 980px) {
  .dchvac-r49-runtime__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .dchvac-r49-panel, .dchvac-r49-runtime { margin: 24px auto; border-radius: 14px; }
  .dchvac-r49-summary, .dchvac-r49-grid, .dchvac-r49-runtime__grid, .dchvac-r49-runtime__results { grid-template-columns: 1fr; }
  .dchvac-r49-order, .dchvac-r49-inline-cta { align-items: stretch; flex-direction: column; }
  .dchvac-r49-order .button, .dchvac-r49-inline-cta .button { width: 100%; }
  .dchvac-r49-table { min-width: 500px; }
  .dchvac-r49-related > div, .dchvac-r49-docs > div { display: grid; grid-template-columns: 1fr; }
  .dchvac-r49-related a, .dchvac-r49-docs a { width: 100%; }
  .dchvac-r49-brief-grid { grid-template-columns: 1fr; }
}

@media (max-width: 380px) {
  .dchvac-r49-panel, .dchvac-r49-runtime { padding: 18px; }
  .dchvac-r49-summary article, .dchvac-r49-grid article { padding: 16px; }
}
