body.postid-3268 {
  --bac-rec-paper: #fff7e8;
  --bac-rec-paper-soft: #f8efe2;
  --bac-rec-surface: #fffdf7;
  --bac-rec-ink: #2b2119;
  --bac-rec-muted: #5b4a39;
  --bac-rec-line: #6b5745;
  --bac-rec-line-soft: rgba(107, 87, 69, 0.28);
  --bac-rec-cta: #f2e3d3;
  --bac-rec-green: #e3efd2;
  --bac-rec-blue: #dfeef8;
  --bac-rec-amber: #fff2c1;
  --bac-rec-red: #f4d5c9;
  --bac-rec-shadow: 4px 4px 0 rgba(82, 65, 50, 0.22);
  background:
    linear-gradient(90deg, rgba(107, 87, 69, 0.03) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(107, 87, 69, 0.026) 1px, transparent 1px) 0 0 / 18px 18px,
    #f9f1e7;
}

body.postid-3268 .cs-site-content > .cs-container,
body.postid-3268 .cs-main-content,
body.postid-3268 .cs-content-area,
body.postid-3268 .cs-entry__container,
body.postid-3268 .cs-entry__content-wrap {
  width: 100%;
  max-width: none;
}

body.postid-3268 .cs-breadcrumbs,
body.postid-3268 .cs-entry__header,
body.postid-3268 .blood-alcohol-concentration-calculator-container {
  width: min(920px, calc(100vw - 32px));
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

body.postid-3268 .cs-entry__header {
  margin-top: 18px;
  margin-bottom: 14px;
  text-align: left;
}

body.postid-3268 .cs-entry__title {
  color: var(--bac-rec-ink);
  font-size: 38px;
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: 0;
  word-break: keep-all;
}

.blood-alcohol-concentration-calculator-container,
.blood-alcohol-concentration-calculator-container *,
.blood-alcohol-concentration-calculator-container *::before,
.blood-alcohol-concentration-calculator-container *::after {
  box-sizing: border-box;
}

.blood-alcohol-concentration-calculator-container.bac-estimator {
  position: relative;
  display: block;
  isolation: isolate;
  margin-top: 0;
  margin-bottom: 24px;
  padding: 0;
  overflow: hidden;
  color: var(--bac-rec-ink);
  background:
    linear-gradient(rgba(107, 87, 69, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 87, 69, 0.045) 1px, transparent 1px),
    var(--bac-rec-paper);
  background-size: 20px 20px, 20px 20px, auto;
  border: 2px solid var(--bac-rec-line);
  border-radius: 0;
  box-shadow: var(--bac-rec-shadow);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.5;
}

.bac-estimator button,
.bac-estimator input,
.bac-estimator select {
  border-radius: 0 !important;
  font: inherit;
  letter-spacing: 0;
}

.bac-estimator__title {
  display: grid;
  gap: 7px;
  padding: 18px 20px 16px;
  color: var(--bac-rec-ink);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.96), rgba(248, 239, 226, 0.96)),
    var(--bac-rec-paper-soft);
  border: 0;
  box-shadow: none;
}

.bac-estimator__badge,
.bac-estimator__panel-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 22px;
  padding: 3px 8px;
  color: var(--bac-rec-ink);
  background: var(--bac-rec-green);
  border: 1px solid var(--bac-rec-line);
  font-size: 11px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.bac-estimator__title h2 {
  margin: 0;
  color: var(--bac-rec-ink);
  font-size: 29px;
  line-height: 1.13;
  font-weight: 950;
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.bac-estimator__title p {
  max-width: 680px;
  margin: 0;
  color: var(--bac-rec-muted);
  font-size: 14px;
  line-height: 1.52;
  font-weight: 760;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.bac-estimator__body {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-top: 2px solid var(--bac-rec-line);
}

.bac-estimator__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.bac-estimator__panel {
  min-width: 0;
  padding: 14px;
  color: var(--bac-rec-ink);
  background: rgba(255, 253, 247, 0.96);
  border: 2px solid var(--bac-rec-line);
  box-shadow: 2px 2px 0 rgba(82, 65, 50, 0.15);
}

.bac-estimator__panel-head {
  display: grid;
  gap: 7px;
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--bac-rec-line-soft);
}

.bac-estimator__panel-head h3 {
  margin: 0;
  color: var(--bac-rec-ink);
  font-size: 17px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: 0;
  word-break: keep-all;
}

.bac-estimator__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.bac-estimator__field {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.bac-estimator__field--wide {
  grid-column: 1 / -1;
}

.bac-estimator__field label,
.bac-estimator__metric-label,
.bac-estimator__hero-label {
  color: var(--bac-rec-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 950;
  word-break: keep-all;
}

.bac-estimator__help {
  color: #756554;
  font-size: 11.5px;
  line-height: 1.35;
  font-weight: 740;
  word-break: keep-all;
}

.bac-estimator__control {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--bac-rec-ink);
  background: var(--bac-rec-surface);
  border: 2px solid var(--bac-rec-line);
  box-shadow: inset 0 1px 0 rgba(107, 87, 69, 0.08);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
  color-scheme: light;
}

body.postid-3268 .bac-estimator .bac-estimator__control {
  font-weight: 950 !important;
}

.bac-estimator__control::placeholder {
  color: #b7aba0;
}

.bac-estimator__control:focus {
  outline: 3px solid rgba(210, 170, 85, 0.45);
  outline-offset: 1px;
  background: #fff6d8;
}

.bac-estimator__control.is-invalid {
  border-color: #b45543;
  background: #fff0ea;
}

.bac-estimator__presets {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.bac-estimator__preset-help {
  margin: 8px 0 0;
  color: var(--bac-rec-muted);
  font-size: 11.5px;
  line-height: 1.42;
  font-weight: 820;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body.postid-3268 .bac-estimator button.bac-estimator__preset,
body.postid-3268 .bac-estimator button.bac-estimator__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 36px;
  margin: 0;
  padding: 8px 9px;
  color: var(--bac-rec-ink) !important;
  background: var(--bac-rec-cta) !important;
  border: 2px solid var(--bac-rec-line) !important;
  box-shadow: 2px 2px 0 rgba(82, 65, 50, 0.16);
  font-size: 12px !important;
  line-height: 1.1 !important;
  font-weight: 950 !important;
  text-align: center;
  text-decoration: none;
  word-break: keep-all;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

body.postid-3268 .bac-estimator button.bac-estimator__preset:hover,
body.postid-3268 .bac-estimator button.bac-estimator__action:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(82, 65, 50, 0.14);
  background: #f5ead2 !important;
}

body.postid-3268 .bac-estimator button.bac-estimator__preset:active,
body.postid-3268 .bac-estimator button.bac-estimator__action:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

body.postid-3268 .bac-estimator button.bac-estimator__preset:focus-visible,
body.postid-3268 .bac-estimator button.bac-estimator__action:focus-visible {
  outline: 3px solid rgba(210, 170, 85, 0.62);
  outline-offset: 2px;
}

.bac-estimator__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

body.postid-3268 .bac-estimator button.bac-estimator__action--reset {
  background: #f3dfd3 !important;
  color: #5a3028 !important;
}

.bac-estimator__hero {
  display: grid;
  gap: 7px;
  place-items: center;
  min-height: 144px;
  padding: 14px;
  text-align: center;
  background: var(--bac-rec-green);
  border: 2px solid var(--bac-rec-line);
}

.bac-estimator__hero-value {
  display: block;
  color: #2f4e2e;
  font-size: 42px;
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.bac-estimator__status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 9px;
  color: var(--bac-rec-ink);
  background: rgba(255, 253, 247, 0.78);
  border: 1px solid rgba(107, 87, 69, 0.38);
  font-size: 12.5px;
  line-height: 1.25;
  font-weight: 900;
  word-break: keep-all;
}

.bac-estimator__status.is-light,
.bac-estimator__status.is-caution {
  background: var(--bac-rec-amber);
  color: #6f4b1d;
}

.bac-estimator__status.is-risk,
.bac-estimator__status.is-danger {
  background: var(--bac-rec-red);
  color: #6d3024;
}

.bac-estimator__metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.bac-estimator__metric {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px;
  text-align: center;
  background: #fffaf0;
  border: 1px solid var(--bac-rec-line-soft);
}

.bac-estimator__metric strong {
  color: var(--bac-rec-ink);
  font-size: 18px;
  line-height: 1.12;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.bac-estimator__bands {
  display: grid;
  gap: 7px;
  min-width: 0;
  width: 100%;
  margin-top: 10px;
}

.bac-estimator__band {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  width: 100%;
  min-height: 34px;
  padding: 7px 8px;
  background: #fffaf0;
  border: 1px solid var(--bac-rec-line-soft);
  color: var(--bac-rec-muted);
  font-size: 12px;
  line-height: 1.28;
  font-weight: 780;
  overflow-wrap: anywhere;
}

.bac-estimator__band strong {
  display: block;
  min-width: 0;
  max-width: 100%;
  color: var(--bac-rec-ink);
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.bac-estimator__band span {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.bac-estimator__band--normal {
  background: #f0f7e8;
}

.bac-estimator__band--light {
  background: #fff4ce;
}

.bac-estimator__band--risk {
  background: #f7ded4;
}

.bac-estimator__notice {
  margin: 0;
  padding: 10px 11px;
  color: #6f4b1d;
  background: var(--bac-rec-amber);
  border: 1px solid #c99a35;
  border-left: 5px solid #c99a35;
  font-size: 12.5px;
  line-height: 1.5;
  font-weight: 800;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.bac-estimator__toast {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: grid;
  gap: 4px;
  width: min(360px, calc(100vw - 24px));
  padding: 12px;
  color: var(--bac-rec-ink);
  background: var(--bac-rec-paper);
  border: 2px solid var(--bac-rec-line);
  box-shadow: 5px 5px 0 rgba(82, 65, 50, 0.22);
  opacity: 0;
  pointer-events: none;
  transform: translateX(390px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.bac-estimator__toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.bac-estimator__toast strong {
  color: var(--bac-rec-ink);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 950;
}

.bac-estimator__toast span {
  color: var(--bac-rec-muted);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 760;
}

.roberin-bac-ad {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: min(728px, calc(100% - 24px)) !important;
  max-width: 728px !important;
  min-height: 90px !important;
  margin: 24px auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  text-align: center !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.roberin-bac-ad ins.adsbygoogle,
.roberin-bac-ad .roberin-qa-ad-placeholder {
  box-sizing: border-box !important;
  display: block !important;
  width: min(728px, 100%) !important;
  max-width: 100% !important;
  height: 90px !important;
  min-height: 90px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.roberin-bac-ad--after-tool {
  margin-top: 24px !important;
  margin-bottom: 24px !important;
}

.roberin-bac-ad--after-article {
  margin-top: 24px !important;
  margin-bottom: 28px !important;
}

body.postid-3268 .cs-custom-content-post-before .roberin-qa-ad-placeholder {
  box-sizing: border-box !important;
  display: block !important;
  width: min(728px, calc(100% - 24px)) !important;
  max-width: 728px !important;
  height: 90px !important;
  min-height: 90px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: transparent !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

body.postid-3268[data-scheme="dark"],
body.postid-3268[data-scheme="inverse"] {
  --bac-rec-paper: #2b2119;
  --bac-rec-paper-soft: #241c15;
  --bac-rec-surface: #30261d;
  --bac-rec-ink: #f7ebd8;
  --bac-rec-muted: #ead8be;
  --bac-rec-line: #a98b6b;
  --bac-rec-line-soft: rgba(169, 139, 107, 0.46);
  --bac-rec-cta: #4a382a;
  --bac-rec-green: #344a32;
  --bac-rec-blue: #233c43;
  --bac-rec-amber: #47371e;
  --bac-rec-red: #5a3028;
  background:
    linear-gradient(90deg, rgba(169, 139, 107, 0.07) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(169, 139, 107, 0.06) 1px, transparent 1px) 0 0 / 18px 18px,
    #211912;
}

body.postid-3268[data-scheme="dark"] .bac-estimator,
body.postid-3268[data-scheme="inverse"] .bac-estimator {
  color: var(--bac-rec-ink);
  background:
    linear-gradient(rgba(169, 139, 107, 0.095) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 139, 107, 0.08) 1px, transparent 1px),
    var(--bac-rec-paper);
  background-size: 20px 20px, 20px 20px, auto;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.34);
}

body.postid-3268[data-scheme="dark"] .bac-estimator__title,
body.postid-3268[data-scheme="inverse"] .bac-estimator__title,
body.postid-3268[data-scheme="dark"] .bac-estimator__panel,
body.postid-3268[data-scheme="inverse"] .bac-estimator__panel,
body.postid-3268[data-scheme="dark"] .bac-estimator__control,
body.postid-3268[data-scheme="inverse"] .bac-estimator__control,
body.postid-3268[data-scheme="dark"] .bac-estimator__metric,
body.postid-3268[data-scheme="inverse"] .bac-estimator__metric,
body.postid-3268[data-scheme="dark"] .bac-estimator__band,
body.postid-3268[data-scheme="inverse"] .bac-estimator__band {
  color: var(--bac-rec-ink);
  background: var(--bac-rec-surface);
}

body.postid-3268[data-scheme="dark"] .bac-estimator__badge,
body.postid-3268[data-scheme="inverse"] .bac-estimator__badge,
body.postid-3268[data-scheme="dark"] .bac-estimator__panel-kicker,
body.postid-3268[data-scheme="inverse"] .bac-estimator__panel-kicker {
  color: var(--bac-rec-ink);
  background: #344a32;
}

body.postid-3268[data-scheme="dark"] .bac-estimator__hero,
body.postid-3268[data-scheme="inverse"] .bac-estimator__hero {
  background: #344a32;
}

body.postid-3268[data-scheme="dark"] .bac-estimator__hero-value,
body.postid-3268[data-scheme="inverse"] .bac-estimator__hero-value {
  color: #f7ebd8;
}

body.postid-3268[data-scheme="dark"] .bac-estimator__notice,
body.postid-3268[data-scheme="inverse"] .bac-estimator__notice,
body.postid-3268[data-scheme="dark"] .bac-estimator__status,
body.postid-3268[data-scheme="inverse"] .bac-estimator__status {
  color: #f7e2b9;
}

body.postid-3268[data-scheme="dark"] .bac-estimator__control::placeholder,
body.postid-3268[data-scheme="inverse"] .bac-estimator__control::placeholder {
  color: #b9a487;
}

body.postid-3268[data-scheme="dark"] .bac-estimator__control:focus,
body.postid-3268[data-scheme="inverse"] .bac-estimator__control:focus {
  background: #3a2c21;
}

body.postid-3268[data-scheme="dark"] .bac-estimator button.bac-estimator__preset,
body.postid-3268[data-scheme="inverse"] .bac-estimator button.bac-estimator__preset,
body.postid-3268[data-scheme="dark"] .bac-estimator button.bac-estimator__action,
body.postid-3268[data-scheme="inverse"] .bac-estimator button.bac-estimator__action {
  color: #f7ebd8 !important;
  background: #4a382a !important;
  border-color: var(--bac-rec-line) !important;
}

body.postid-3268[data-scheme="dark"] .bac-estimator button.bac-estimator__action--reset,
body.postid-3268[data-scheme="inverse"] .bac-estimator button.bac-estimator__action--reset {
  background: #5a3028 !important;
}

@media (max-width: 760px) {
  body.postid-3268 .cs-breadcrumbs,
  body.postid-3268 .cs-entry__header,
  body.postid-3268 .blood-alcohol-concentration-calculator-container {
    width: min(100% - 24px, 920px);
  }

  body.postid-3268 .cs-entry__title {
    font-size: 30px;
  }

  .bac-estimator__title {
    padding: 16px 14px 14px;
  }

  .bac-estimator__title h2 {
    font-size: 24px;
  }

  .bac-estimator__body {
    padding: 12px;
  }

  .bac-estimator__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .bac-estimator__panel {
    padding: 12px;
  }

  .bac-estimator__hero {
    min-height: 126px;
  }

  .bac-estimator__hero-value {
    font-size: 36px;
  }
}

@media (max-width: 420px) {
  body.postid-3268 .cs-breadcrumbs,
  body.postid-3268 .cs-entry__header,
  body.postid-3268 .blood-alcohol-concentration-calculator-container {
    width: calc(100vw - 16px);
  }

  .bac-estimator__fields,
  .bac-estimator__metrics,
  .bac-estimator__actions {
    grid-template-columns: minmax(0, 1fr);
    min-width: 0;
  }

  .bac-estimator__presets {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
  }

  .bac-estimator__panel,
  .bac-estimator__field,
  .bac-estimator__control,
  .bac-estimator__hero,
  .bac-estimator__metrics,
  .bac-estimator__metric,
  .bac-estimator__bands {
    min-width: 0;
    max-width: 100%;
  }

  .bac-estimator__panel {
    box-shadow: none;
  }

  .bac-estimator__band {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
    min-width: 0;
    max-width: 100%;
    padding: 7px;
    overflow: hidden;
  }

  .bac-estimator__notice {
    font-size: 12px;
  }
}

@media (max-width: 370px) {
  .bac-estimator__presets {
    grid-template-columns: minmax(0, 1fr);
  }
}
