body.postid-3939 .entry-content > .blood-pressure-classifier-container.bp-classifier-tool,
body .blood-pressure-classifier-container.bp-classifier-tool {
  --bpc-paper: #fff7e6;
  --bpc-paper-deep: #faecd4;
  --bpc-paper-soft: #fffdf4;
  --bpc-line: #4a2d16;
  --bpc-ink: #2f2117;
  --bpc-muted: #76583b;
  --bpc-yellow: #f8c95a;
  --bpc-yellow-soft: #ffe3a0;
  --bpc-green: #3c8f62;
  --bpc-lime: #a6b94b;
  --bpc-amber: #d9942d;
  --bpc-orange: #cf6d35;
  --bpc-red: #b94b42;
  --bpc-shadow: rgba(74, 45, 22, 0.18);
  box-sizing: border-box;
  width: min(980px, calc(100vw - 32px));
  max-width: 980px;
  margin: 32px auto 28px;
  padding: 0;
  color: var(--bpc-ink);
  background:
    linear-gradient(rgba(74, 45, 22, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 45, 22, 0.045) 1px, transparent 1px),
    var(--bpc-paper);
  background-size: 24px 24px, 24px 24px, auto;
  border: 3px solid var(--bpc-line);
  border-radius: 0;
  box-shadow: 8px 8px 0 var(--bpc-shadow);
  font-family: inherit;
  letter-spacing: 0;
  overflow: hidden;
}

body .blood-pressure-classifier-container.bp-classifier-tool,
body .blood-pressure-classifier-container.bp-classifier-tool * {
  box-sizing: border-box;
}

body .blood-pressure-classifier-container.bp-classifier-tool h2,
body .blood-pressure-classifier-container.bp-classifier-tool h3,
body .blood-pressure-classifier-container.bp-classifier-tool p {
  margin: 0;
  color: inherit;
  letter-spacing: 0;
}

body .bp-classifier-title-band {
  display: grid;
  gap: 8px;
  padding: 22px 24px 20px;
  background: linear-gradient(135deg, var(--bpc-paper-soft) 0%, var(--bpc-paper-deep) 100%);
}

body .bp-classifier-kicker {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  color: var(--bpc-ink);
  background: var(--bpc-yellow-soft);
  border: 2px solid var(--bpc-line);
  border-radius: 0;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

body .bp-classifier-title-band h2 {
  font-size: 30px;
  font-weight: 950;
  line-height: 1.18;
}

body .bp-classifier-title-band p {
  max-width: 680px;
  color: var(--bpc-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body .bp-classifier-body {
  padding: 18px;
  border-top: 2px solid var(--bpc-line);
  background: rgba(255, 247, 230, 0.74);
}

body .bp-classifier-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 14px;
  align-items: stretch;
}

body .bp-classifier-panel,
body .bp-classifier-reference {
  min-width: 0;
  color: var(--bpc-ink);
  background: var(--bpc-paper-soft);
  border: 2px solid var(--bpc-line);
  border-radius: 0;
  box-shadow: 4px 4px 0 rgba(74, 45, 22, 0.12);
}

body .bp-classifier-panel {
  display: flex;
  flex-direction: column;
  min-height: 394px;
  padding: 16px;
  gap: 14px;
}

body .bp-classifier-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding-bottom: 12px;
  border-bottom: 2px dashed rgba(74, 45, 22, 0.28);
}

body .bp-classifier-panel-head > div {
  min-width: 0;
}

body .bp-classifier-panel-eyebrow,
body .bp-classifier-panel-head small {
  color: var(--bpc-muted);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

body .bp-classifier-panel-head h3 {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 950;
  line-height: 1.25;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body .bp-classifier-panel-head small {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  background: var(--bpc-paper-deep);
  border: 2px solid rgba(74, 45, 22, 0.46);
  border-radius: 0;
  white-space: nowrap;
}

body .bp-classifier-field-stack {
  display: grid;
  gap: 12px;
}

body .bp-classifier-field {
  display: grid;
  gap: 7px;
  min-width: 0;
}

body .bp-classifier-label {
  color: var(--bpc-ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
}

body .bp-classifier-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 52px;
  background: #fffaf0;
  border: 2px solid var(--bpc-line);
  border-radius: 0;
}

body .bp-classifier-input-wrap input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 10px 12px;
  color: var(--bpc-ink);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: 22px;
  font-weight: 950;
  line-height: 1.2;
  outline: 0;
}

body .bp-classifier-input-wrap input:focus {
  box-shadow: inset 0 0 0 3px rgba(248, 201, 90, 0.75);
}

body .bp-classifier-input-wrap input::placeholder {
  color: rgba(118, 88, 59, 0.62);
}

body .bp-classifier-unit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 0 10px;
  color: #5b3c22;
  background: #faecd4;
  border-left: 2px solid var(--bpc-line);
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
}

body .bp-classifier-help {
  color: var(--bpc-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body .bp-classifier-button,
body .bp-classifier-tool button.bp-classifier-button,
body .bp-classifier-tool input[type="button"].bp-classifier-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 2px solid var(--bpc-line);
  border-radius: 0;
  box-shadow: 3px 3px 0 rgba(74, 45, 22, 0.16);
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0;
  white-space: normal;
  word-break: keep-all;
  overflow-wrap: anywhere;
  appearance: none;
}

body .bp-classifier-button:focus-visible {
  outline: 3px solid rgba(248, 201, 90, 0.9);
  outline-offset: 2px;
}

body .bp-classifier-button--primary {
  margin-top: auto;
  color: var(--bpc-ink);
  background: var(--bpc-yellow);
}

body .bp-classifier-button--soft {
  color: var(--bpc-ink);
  background: var(--bpc-paper-deep);
}

body .bp-classifier-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgba(74, 45, 22, 0.16);
}

body .bp-classifier-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

body .bp-classifier-action-row--result {
  margin-top: auto;
}

body .bp-classifier-result-card {
  display: grid;
  align-content: center;
  min-height: 148px;
  padding: 16px;
  background: var(--bpc-paper-deep);
  border: 2px solid var(--bpc-line);
  border-radius: 0;
  box-shadow: inset 0 0 0 2px rgba(255, 253, 244, 0.72);
}

body .bp-classifier-result-label {
  color: var(--bpc-muted);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.2;
}

body #bp-category {
  display: block;
  margin-top: 6px;
  color: var(--bpc-ink);
  font-size: 30px;
  font-weight: 950;
  line-height: 1.18;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body #bp-advice {
  margin-top: 9px;
  color: var(--bpc-muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.58;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body .bp-classifier-result-card[data-category="normal"] {
  background: color-mix(in srgb, var(--bpc-green) 18%, var(--bpc-paper-soft));
}

body .bp-classifier-result-card[data-category="elevated"] {
  background: color-mix(in srgb, var(--bpc-lime) 22%, var(--bpc-paper-soft));
}

body .bp-classifier-result-card[data-category="pre"] {
  background: color-mix(in srgb, var(--bpc-amber) 20%, var(--bpc-paper-soft));
}

body .bp-classifier-result-card[data-category="stage1"] {
  background: color-mix(in srgb, var(--bpc-orange) 20%, var(--bpc-paper-soft));
}

body .bp-classifier-result-card[data-category="stage2"],
body .bp-classifier-result-card[data-category="very-high"] {
  background: color-mix(in srgb, var(--bpc-red) 20%, var(--bpc-paper-soft));
}

body .bp-classifier-gauge {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 76px;
  padding-top: 6px;
}

body .bp-classifier-gauge-track {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  height: 18px;
  border: 2px solid var(--bpc-line);
  border-radius: 0;
  overflow: hidden;
}

body .bp-classifier-gauge-segment.is-normal {
  background: var(--bpc-green);
}

body .bp-classifier-gauge-segment.is-elevated {
  background: var(--bpc-lime);
}

body .bp-classifier-gauge-segment.is-pre {
  background: var(--bpc-amber);
}

body .bp-classifier-gauge-segment.is-stage1 {
  background: var(--bpc-orange);
}

body .bp-classifier-gauge-segment.is-stage2 {
  background: var(--bpc-red);
}

body .bp-classifier-gauge-marker {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  border-top: 10px solid var(--bpc-line);
  opacity: 0;
  transform: translateX(-7px);
}

body .bp-classifier-gauge-marker.is-visible {
  opacity: 1;
}

body .bp-classifier-gauge-labels {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  color: var(--bpc-muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

body .bp-classifier-reference {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 15px;
}

body .bp-classifier-reference-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  min-width: 0;
}

body .bp-classifier-reference h3 {
  font-size: 18px;
  font-weight: 950;
  line-height: 1.25;
}

body .bp-classifier-reference-head p,
body .bp-classifier-note {
  color: var(--bpc-muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body .bp-classifier-reference-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

body .bp-classifier-reference-grid div {
  display: grid;
  align-content: start;
  min-height: 78px;
  padding: 10px;
  background: var(--bpc-paper-deep);
  border: 2px solid rgba(74, 45, 22, 0.55);
  border-radius: 0;
}

body .bp-classifier-reference-grid strong {
  color: var(--bpc-ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  word-break: keep-all;
}

body .bp-classifier-reference-grid span {
  margin-top: 6px;
  color: var(--bpc-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

body .bp-classifier-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
  max-width: min(360px, calc(100vw - 36px));
  padding: 11px 13px;
  color: var(--bpc-ink);
  background: var(--bpc-yellow-soft);
  border: 2px solid var(--bpc-line);
  border-radius: 0;
  box-shadow: 4px 4px 0 rgba(74, 45, 22, 0.16);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

body .bp-classifier-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body[data-scheme="dark"] .blood-pressure-classifier-container.bp-classifier-tool,
body[data-theme="dark"] .blood-pressure-classifier-container.bp-classifier-tool,
body.dark-mode .blood-pressure-classifier-container.bp-classifier-tool,
html.dark .blood-pressure-classifier-container.bp-classifier-tool {
  --bpc-paper: #24170f;
  --bpc-paper-deep: #342316;
  --bpc-paper-soft: #2c1d13;
  --bpc-line: #f0cf91;
  --bpc-ink: #fff5dd;
  --bpc-muted: #e1c79c;
  --bpc-yellow: #f2c15b;
  --bpc-yellow-soft: #5d4120;
  --bpc-shadow: rgba(0, 0, 0, 0.34);
  background:
    linear-gradient(rgba(240, 207, 145, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 207, 145, 0.065) 1px, transparent 1px),
    var(--bpc-paper);
}

body[data-scheme="dark"] .bp-classifier-input-wrap,
body[data-theme="dark"] .bp-classifier-input-wrap,
body.dark-mode .bp-classifier-input-wrap,
html.dark .bp-classifier-input-wrap {
  background: #24170f;
}

body[data-scheme="dark"] .bp-classifier-unit,
body[data-theme="dark"] .bp-classifier-unit,
body.dark-mode .bp-classifier-unit,
html.dark .bp-classifier-unit {
  color: #fff2d2;
  background: #3d2918;
}

@media (prefers-color-scheme: dark) {
  body:not([data-scheme="light"]):not([data-theme="light"]) .blood-pressure-classifier-container.bp-classifier-tool {
    --bpc-paper: #24170f;
    --bpc-paper-deep: #342316;
    --bpc-paper-soft: #2c1d13;
    --bpc-line: #f0cf91;
    --bpc-ink: #fff5dd;
    --bpc-muted: #e1c79c;
    --bpc-yellow: #f2c15b;
    --bpc-yellow-soft: #5d4120;
    --bpc-shadow: rgba(0, 0, 0, 0.34);
    background:
      linear-gradient(rgba(240, 207, 145, 0.065) 1px, transparent 1px),
      linear-gradient(90deg, rgba(240, 207, 145, 0.065) 1px, transparent 1px),
      var(--bpc-paper);
  }

  body:not([data-scheme="light"]):not([data-theme="light"]) .bp-classifier-input-wrap {
    background: #24170f;
  }

  body:not([data-scheme="light"]):not([data-theme="light"]) .bp-classifier-unit {
    color: #fff2d2;
    background: #3d2918;
  }
}

@media (max-width: 760px) {
  body .blood-pressure-classifier-container.bp-classifier-tool {
    width: min(100% - 20px, 100%);
    margin: 20px auto 22px;
    box-shadow: 5px 5px 0 var(--bpc-shadow);
  }

  body .bp-classifier-title-band {
    padding: 18px 16px 16px;
  }

  body .bp-classifier-title-band h2 {
    font-size: 24px;
    line-height: 1.22;
  }

  body .bp-classifier-title-band p {
    font-size: 14px;
  }

  body .bp-classifier-body {
    padding: 12px;
  }

  body .bp-classifier-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body .bp-classifier-panel {
    min-height: 0;
    padding: 13px;
  }

  body .bp-classifier-panel-head {
    align-items: flex-start;
  }

  body .bp-classifier-panel-head h3,
  body .bp-classifier-reference h3 {
    font-size: 17px;
  }

  body .bp-classifier-input-wrap {
    min-height: 50px;
  }

  body .bp-classifier-input-wrap input {
    min-height: 46px;
    font-size: 20px;
  }

  body .bp-classifier-reference-head {
    display: grid;
    gap: 6px;
  }

  body .bp-classifier-reference-grid {
    grid-template-columns: 1fr;
  }

  body .bp-classifier-reference-grid div {
    min-height: 0;
  }
}

@media (max-width: 380px) {
  body .blood-pressure-classifier-container.bp-classifier-tool {
    width: min(100% - 16px, 100%);
  }

  body .bp-classifier-title-band {
    padding: 16px 13px 14px;
  }

  body .bp-classifier-body {
    padding: 10px;
  }

  body .bp-classifier-panel {
    padding: 11px;
  }

  body .bp-classifier-action-row {
    grid-template-columns: 1fr;
  }

  body #bp-category {
    font-size: 26px;
  }
}

body.postid-3939 .entry-content > .blood-pressure-classifier-container.bp-classifier-tool {
  width: min(980px, calc(100vw - 32px)) !important;
  max-width: 980px !important;
  margin: 32px auto 28px !important;
  padding: 0 !important;
  color: var(--bpc-ink) !important;
  background:
    linear-gradient(rgba(74, 45, 22, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 45, 22, 0.045) 1px, transparent 1px),
    var(--bpc-paper) !important;
  background-size: 24px 24px, 24px 24px, auto !important;
  border: 3px solid var(--bpc-line) !important;
  border-radius: 0 !important;
  box-shadow: 8px 8px 0 var(--bpc-shadow) !important;
}

body.postid-3939[data-scheme="dark"] .entry-content > .blood-pressure-classifier-container.bp-classifier-tool,
body.postid-3939[data-theme="dark"] .entry-content > .blood-pressure-classifier-container.bp-classifier-tool,
body.postid-3939.dark-mode .entry-content > .blood-pressure-classifier-container.bp-classifier-tool,
html.dark body.postid-3939 .entry-content > .blood-pressure-classifier-container.bp-classifier-tool {
  --bpc-paper: #24170f;
  --bpc-paper-deep: #342316;
  --bpc-paper-soft: #2c1d13;
  --bpc-line: #f0cf91;
  --bpc-ink: #fff5dd;
  --bpc-muted: #e1c79c;
  --bpc-yellow: #f2c15b;
  --bpc-yellow-soft: #5d4120;
  --bpc-shadow: rgba(0, 0, 0, 0.34);
  color: var(--bpc-ink) !important;
  background:
    linear-gradient(rgba(240, 207, 145, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 207, 145, 0.065) 1px, transparent 1px),
    var(--bpc-paper) !important;
  border-color: var(--bpc-line) !important;
  box-shadow: 8px 8px 0 var(--bpc-shadow) !important;
}

@media (max-width: 760px) {
  body.postid-3939 .entry-content > .blood-pressure-classifier-container.bp-classifier-tool {
    width: min(100% - 20px, 100%) !important;
    max-width: 100% !important;
    margin: 20px auto 22px !important;
    padding: 0 !important;
    box-shadow: 5px 5px 0 var(--bpc-shadow) !important;
  }
}

@media (max-width: 380px) {
  body.postid-3939 .entry-content > .blood-pressure-classifier-container.bp-classifier-tool {
    width: min(100% - 16px, 100%) !important;
  }
}
