/* ROBERIN coffee savings calculator redesign - Phase 1 2026-05-18 */
body.postid-1328 {
  --coffee-paper: #fff7e8;
  --coffee-paper-soft: #fbf0dc;
  --coffee-ink: #2b2119;
  --coffee-muted: #67584a;
  --coffee-line: #6b5745;
  --coffee-line-soft: rgba(107, 87, 69, 0.28);
  --coffee-green: #e3efd2;
  --coffee-green-ink: #2f4e2e;
  --coffee-blue: #dfeef8;
  --coffee-blue-ink: #28455a;
  --coffee-amber: #f7df9d;
  --coffee-white: #fffdf7;
  --coffee-danger: #a43e2d;
  --coffee-shadow: 4px 4px 0 rgba(72, 55, 40, 0.22);
  --coffee-shadow-soft: 2px 2px 0 rgba(72, 55, 40, 0.14);
  overflow-x: clip;
  background:
    linear-gradient(90deg, rgba(107, 87, 69, 0.025) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(107, 87, 69, 0.022) 1px, transparent 1px) 0 0 / 18px 18px,
    #faf2e8;
}

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

body.postid-1328 .cs-breadcrumbs,
body.postid-1328 .cs-entry__header,
body.postid-1328 .coffee-savings-wrapper {
  width: min(960px, calc(100vw - 32px));
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

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

body.postid-1328 .cs-entry__title {
  color: var(--coffee-ink);
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.055em;
  word-break: keep-all;
}

.coffee-savings-wrapper,
.coffee-savings-wrapper *,
.coffee-savings-wrapper *::before,
.coffee-savings-wrapper *::after {
  box-sizing: border-box;
}

.coffee-savings-wrapper {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--coffee-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

.coffee-savings-container {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: 14px;
  overflow: hidden;
  color: var(--coffee-ink);
  background: var(--coffee-paper);
  border: 2px solid var(--coffee-line);
  border-radius: 0;
  box-shadow: var(--coffee-shadow);
  line-height: 1.52;
}

.coffee-savings-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18px 18px, rgba(107, 87, 69, 0.08) 1px, transparent 1.6px),
    linear-gradient(rgba(107, 87, 69, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 87, 69, 0.045) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.calculator-header {
  display: grid;
  gap: 6px;
  margin: 0 0 10px;
  padding: 0 0 10px;
  text-align: left;
  border-bottom: 2px solid var(--coffee-line);
}

.calculator-header .tool-kicker {
  width: fit-content;
  margin: 0;
  padding: 4px 8px;
  color: var(--coffee-green-ink);
  background: var(--coffee-green);
  border: 1px solid var(--coffee-line);
  box-shadow: var(--coffee-shadow-soft);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.calculator-header h2 {
  margin: 0;
  color: var(--coffee-ink);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.14;
  font-weight: 950;
  letter-spacing: -0.045em;
  text-shadow: none;
  word-break: keep-all;
}

.calculator-header .subtitle {
  max-width: 720px;
  margin: 0;
  color: var(--coffee-muted);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 700;
  word-break: keep-all;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

.btn-quick,
.btn-reset,
.btn-calculate,
.btn-copy {
  appearance: none;
  border-radius: 0;
  font-family: inherit;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, color 120ms ease;
}

.btn-quick,
.btn-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--coffee-green-ink);
  background: var(--coffee-green);
  border: 1px solid var(--coffee-line);
  box-shadow: var(--coffee-shadow-soft);
  font-size: 13.5px;
  line-height: 1.1;
  font-weight: 900;
  white-space: nowrap;
}

.btn-reset {
  color: #743528;
  background: #f3dfd3;
}

.btn-quick:hover,
.btn-reset:hover,
.btn-calculate:hover,
.btn-copy:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 rgba(72, 55, 40, 0.16);
}

.btn-quick:active,
.btn-reset:active,
.btn-calculate:active,
.btn-copy:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.btn-quick:focus-visible,
.btn-reset:focus-visible,
.btn-calculate:focus-visible,
.btn-copy:focus-visible,
.number-input:focus-visible {
  outline: 3px solid #d6a62b;
  outline-offset: 2px;
}

.calculator-main {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 0.95fr) minmax(0, 1.1fr);
  gap: 10px;
  margin: 0 0 10px;
  align-items: stretch;
}

.input-section,
.result-section,
.special-section,
.info-section {
  min-width: 0;
  background: rgba(255, 253, 247, 0.94);
  border: 1px solid var(--coffee-line);
  border-radius: 0;
  box-shadow: var(--coffee-shadow-soft);
  padding: 12px;
}

.input-section,
.result-section,
.special-section {
  display: flex;
  flex-direction: column;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 10px;
  padding: 0 0 8px;
  color: var(--coffee-ink) !important;
  border-bottom: 1px solid var(--coffee-line-soft);
  font-size: 15.5px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.section-title svg,
.btn-calculate svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.input-group {
  margin: 0 0 9px;
}

.input-group label {
  display: block;
  margin: 0 0 5px;
  color: var(--coffee-muted);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.money-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 6px;
}

.number-input {
  min-width: 0;
  min-height: 40px;
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  color: var(--coffee-ink);
  background: #fffdf8;
  border: 1px solid var(--coffee-line);
  border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(107, 87, 69, 0.08);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 850;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
  text-align: right;
  color-scheme: light;
}

.input-suffix {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 40px;
  padding: 8px 9px;
  color: var(--coffee-muted);
  background: #fffaf0;
  border: 1px solid rgba(107, 87, 69, 0.38);
  font-size: 12.5px;
  font-weight: 950;
  white-space: nowrap;
}

.number-input:focus {
  color: var(--coffee-ink);
  background: #fff6d8;
  border-color: #5f4834;
  outline: none;
}

.input-hint {
  margin: 5px 0 0;
  color: var(--coffee-muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.btn-calculate,
.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 10px 14px;
  color: #fffaf0;
  background: #35271d;
  border: 1px solid #231a13;
  box-shadow: 3px 3px 0 rgba(72, 55, 40, 0.24);
  font-size: 14.5px;
  line-height: 1;
  font-weight: 950;
}

.btn-copy {
  min-height: 36px;
  margin-top: 10px;
  color: var(--coffee-ink);
  background: var(--coffee-amber);
  border-color: var(--coffee-line);
  box-shadow: var(--coffee-shadow-soft);
}

.warning-box {
  margin: auto 0 0;
  padding: 10px 11px;
  color: #6f4b1d;
  background: #fff2c1;
  border: 1px solid #c99a35;
  border-left: 5px solid #c99a35;
  font-size: 12.8px;
  line-height: 1.55;
  font-weight: 750;
}

.main-result {
  display: grid;
  place-items: center;
  min-height: 102px;
  margin: 0 0 10px;
  padding: 12px;
  color: var(--coffee-blue-ink);
  background: var(--coffee-blue);
  border: 1px solid var(--coffee-line);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.38);
  text-align: center;
}

.big-number {
  margin: 0;
  color: var(--coffee-blue-ink);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.result-label {
  margin-top: 6px;
  color: var(--coffee-muted);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 900;
}

.detail-results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.result-item {
  display: grid;
  gap: 2px;
  align-items: start;
  min-width: 0;
  margin: 0;
  padding: 8px 9px;
  color: var(--coffee-ink);
  background: #fffaf0;
  border: 1px solid rgba(107, 87, 69, 0.36);
}

.result-item--wide {
  grid-column: 1 / -1;
}

.result-label-text {
  color: var(--coffee-muted);
  font-size: 11.5px;
  line-height: 1.1;
  font-weight: 900;
}

.result-value {
  color: var(--coffee-ink);
  font-size: 14px;
  line-height: 1.15;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.info-section {
  margin: 0;
  padding: 12px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 10px;
}

.info-card,
.roadmap-card {
  min-width: 0;
  padding: 10px;
  color: var(--coffee-muted);
  background: #fffaf0;
  border: 1px solid rgba(107, 87, 69, 0.32);
  text-align: left;
}

.info-icon {
  margin: 0 0 5px;
  font-size: 19px;
  line-height: 1;
}

.info-title {
  margin: 0 0 4px;
  color: var(--coffee-ink);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 950;
}

.info-desc,
.roadmap-copy {
  color: var(--coffee-muted);
  font-size: 12.5px;
  line-height: 1.46;
  font-weight: 700;
}

.roadmap-card {
  display: grid;
  gap: 8px;
  background: #fffdf8;
}

.table-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--coffee-line-soft);
}

.savings-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.savings-table th,
.savings-table td {
  padding: 8px 10px;
  text-align: right;
  border-bottom: 1px solid rgba(107, 87, 69, 0.22);
}

.savings-table th {
  color: var(--coffee-ink);
  background: var(--coffee-paper-soft);
  border-bottom: 1px solid var(--coffee-line);
  font-weight: 950;
}

.savings-table th:first-child,
.savings-table td:first-child {
  text-align: left;
}

.savings-table tr:last-child td {
  border-bottom: 0;
}

.savings-table .milestone td {
  background: rgba(227, 239, 210, 0.56);
  font-weight: 900;
}

.coffee-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  max-width: min(360px, calc(100vw - 24px));
  padding: 10px 14px;
  color: #fffaf0;
  background: #35271d;
  border: 1px solid var(--coffee-line);
  box-shadow: 3px 3px 0 rgba(72, 55, 40, 0.26);
  font-size: 13.5px;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

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

.coffee-savings-ad,
body.postid-1328 .roberin-qa-ad-placeholder {
  box-sizing: border-box;
  width: min(728px, calc(100vw - 20px));
  max-width: 100%;
  min-height: 90px;
  margin: 24px auto;
  padding: 0 !important;
  color: rgba(103, 88, 74, 0.72);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden;
  text-align: center;
}

.coffee-savings-ad ins.adsbygoogle,
body.postid-1328 .cs-custom-content-post-before ins.adsbygoogle[data-ad-slot="1937008016"] {
  display: block !important;
  width: min(728px, calc(100vw - 20px)) !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 90px;
  margin: 0 auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.coffee-savings-wrapper + .coffee-savings-ad--after-tool,
.coffee-savings-wrapper + .roberin-qa-ad-placeholder {
  margin-top: 24px;
  margin-bottom: 24px;
}

.coffee-savings-ad--after-tool + .wp-block-group.content1,
.roberin-qa-ad-placeholder + .wp-block-group.content1 {
  margin-top: 0 !important;
}

body.postid-1328[data-scheme="dark"],
body.postid-1328[data-scheme="inverse"] {
  --coffee-paper: #2b2119;
  --coffee-paper-soft: #241c15;
  --coffee-ink: #f7ebd8;
  --coffee-muted: #f0dfc5;
  --coffee-line: #a98b6b;
  --coffee-line-soft: rgba(169, 139, 107, 0.48);
  --coffee-green: #344a32;
  --coffee-green-ink: #f7ebd8;
  --coffee-blue: #233c43;
  --coffee-blue-ink: #f1e8cf;
  --coffee-amber: #d2aa55;
  --coffee-white: #241c15;
  --coffee-danger: #d08b75;
  --coffee-shadow: 4px 4px 0 rgba(0, 0, 0, 0.34);
  --coffee-shadow-soft: 2px 2px 0 rgba(0, 0, 0, 0.24);
  color: #f2e4cf !important;
  background:
    linear-gradient(90deg, rgba(229, 196, 139, 0.055) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(229, 196, 139, 0.045) 1px, transparent 1px) 0 0 / 18px 18px,
    #201811 !important;
}

body.postid-1328[data-scheme="dark"] .cs-wrapper,
body.postid-1328[data-scheme="inverse"] .cs-wrapper,
body.postid-1328[data-scheme="dark"] .cs-site,
body.postid-1328[data-scheme="inverse"] .cs-site,
body.postid-1328[data-scheme="dark"] .cs-site-inner,
body.postid-1328[data-scheme="inverse"] .cs-site-inner,
body.postid-1328[data-scheme="dark"] .cs-site-primary,
body.postid-1328[data-scheme="inverse"] .cs-site-primary,
body.postid-1328[data-scheme="dark"] .cs-site-content,
body.postid-1328[data-scheme="inverse"] .cs-site-content,
body.postid-1328[data-scheme="dark"] footer.cs-footer,
body.postid-1328[data-scheme="inverse"] footer.cs-footer {
  color: #f2e4cf !important;
  background-color: #201811 !important;
  background-image:
    linear-gradient(90deg, rgba(229, 196, 139, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(229, 196, 139, 0.045) 1px, transparent 1px) !important;
  background-size: 18px 18px !important;
}

body.postid-1328[data-scheme="dark"] .cs-entry__title,
body.postid-1328[data-scheme="inverse"] .cs-entry__title,
body.postid-1328[data-scheme="dark"] .calculator-header h2,
body.postid-1328[data-scheme="inverse"] .calculator-header h2,
body.postid-1328[data-scheme="dark"] .section-title,
body.postid-1328[data-scheme="inverse"] .section-title,
body.postid-1328[data-scheme="dark"] .info-title,
body.postid-1328[data-scheme="inverse"] .info-title,
body.postid-1328[data-scheme="dark"] .big-number,
body.postid-1328[data-scheme="inverse"] .big-number,
body.postid-1328[data-scheme="dark"] .result-value,
body.postid-1328[data-scheme="inverse"] .result-value {
  color: #f7ebd8 !important;
  -webkit-text-fill-color: #f7ebd8 !important;
}

body.postid-1328[data-scheme="dark"] .calculator-header .subtitle,
body.postid-1328[data-scheme="inverse"] .calculator-header .subtitle,
body.postid-1328[data-scheme="dark"] .input-group label,
body.postid-1328[data-scheme="inverse"] .input-group label,
body.postid-1328[data-scheme="dark"] .input-hint,
body.postid-1328[data-scheme="inverse"] .input-hint,
body.postid-1328[data-scheme="dark"] .result-label,
body.postid-1328[data-scheme="inverse"] .result-label,
body.postid-1328[data-scheme="dark"] .result-label-text,
body.postid-1328[data-scheme="inverse"] .result-label-text,
body.postid-1328[data-scheme="dark"] .info-desc,
body.postid-1328[data-scheme="inverse"] .info-desc,
body.postid-1328[data-scheme="dark"] .roadmap-copy,
body.postid-1328[data-scheme="inverse"] .roadmap-copy,
body.postid-1328[data-scheme="dark"] .input-suffix,
body.postid-1328[data-scheme="inverse"] .input-suffix {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
}

body.postid-1328[data-scheme="dark"] .coffee-savings-container,
body.postid-1328[data-scheme="inverse"] .coffee-savings-container {
  color: #f7ebd8 !important;
  background: #2b2119 !important;
  border-color: #a98b6b !important;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.34) !important;
}

body.postid-1328[data-scheme="dark"] .coffee-savings-container::before,
body.postid-1328[data-scheme="inverse"] .coffee-savings-container::before {
  background-image:
    radial-gradient(circle at 18px 18px, rgba(229, 196, 139, 0.08) 1px, transparent 1.6px),
    linear-gradient(rgba(229, 196, 139, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 196, 139, 0.05) 1px, transparent 1px) !important;
}

body.postid-1328[data-scheme="dark"] .input-section,
body.postid-1328[data-scheme="inverse"] .input-section,
body.postid-1328[data-scheme="dark"] .result-section,
body.postid-1328[data-scheme="inverse"] .result-section,
body.postid-1328[data-scheme="dark"] .special-section,
body.postid-1328[data-scheme="inverse"] .special-section,
body.postid-1328[data-scheme="dark"] .info-section,
body.postid-1328[data-scheme="inverse"] .info-section,
body.postid-1328[data-scheme="dark"] .info-card,
body.postid-1328[data-scheme="inverse"] .info-card,
body.postid-1328[data-scheme="dark"] .roadmap-card,
body.postid-1328[data-scheme="inverse"] .roadmap-card {
  color: #f7ebd8 !important;
  background: #33271d !important;
  border-color: #a98b6b !important;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.24) !important;
}

body.postid-1328[data-scheme="dark"] .number-input,
body.postid-1328[data-scheme="inverse"] .number-input {
  color: #fff5df !important;
  -webkit-text-fill-color: #fff5df !important;
  caret-color: #f0c86a !important;
  background: #241c15 !important;
  border-color: #a98b6b !important;
  box-shadow: inset 0 1px 0 rgba(240, 200, 106, 0.10) !important;
  color-scheme: dark;
}

body.postid-1328[data-scheme="dark"] .input-suffix,
body.postid-1328[data-scheme="inverse"] .input-suffix,
body.postid-1328[data-scheme="dark"] .result-item,
body.postid-1328[data-scheme="inverse"] .result-item,
body.postid-1328[data-scheme="dark"] .table-wrapper,
body.postid-1328[data-scheme="inverse"] .table-wrapper {
  background: #241c15 !important;
  border-color: #725b46 !important;
}

body.postid-1328[data-scheme="dark"] .main-result,
body.postid-1328[data-scheme="inverse"] .main-result {
  background: #233c43 !important;
  border-color: #a98b6b !important;
}

body.postid-1328[data-scheme="dark"] .btn-quick,
body.postid-1328[data-scheme="inverse"] .btn-quick,
body.postid-1328[data-scheme="dark"] .calculator-header .tool-kicker,
body.postid-1328[data-scheme="inverse"] .calculator-header .tool-kicker {
  color: #f7ebd8 !important;
  -webkit-text-fill-color: #f7ebd8 !important;
  background: #344a32 !important;
  border-color: #a98b6b !important;
}

body.postid-1328[data-scheme="dark"] .btn-reset,
body.postid-1328[data-scheme="inverse"] .btn-reset {
  color: #fff0dd !important;
  -webkit-text-fill-color: #fff0dd !important;
  background: #5a3028 !important;
  border-color: #c98266 !important;
}

body.postid-1328[data-scheme="dark"] .btn-calculate,
body.postid-1328[data-scheme="inverse"] .btn-calculate,
body.postid-1328[data-scheme="dark"] .btn-copy,
body.postid-1328[data-scheme="inverse"] .btn-copy {
  color: #201811 !important;
  -webkit-text-fill-color: #201811 !important;
  background: #f0c86a !important;
  border-color: #a98b6b !important;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.28) !important;
}

body.postid-1328[data-scheme="dark"] .warning-box,
body.postid-1328[data-scheme="inverse"] .warning-box {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
  background: #3b2d21 !important;
  border-color: #d2aa55 !important;
  border-left-color: #d2aa55 !important;
}

body.postid-1328[data-scheme="dark"] .savings-table th,
body.postid-1328[data-scheme="inverse"] .savings-table th,
body.postid-1328[data-scheme="dark"] .savings-table .milestone td,
body.postid-1328[data-scheme="inverse"] .savings-table .milestone td {
  color: #f7ebd8 !important;
  -webkit-text-fill-color: #f7ebd8 !important;
  background: #2b2119 !important;
  border-color: #a98b6b !important;
}

body.postid-1328[data-scheme="dark"] .savings-table td,
body.postid-1328[data-scheme="inverse"] .savings-table td {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
  border-color: #725b46 !important;
}

body.postid-1328[data-scheme="dark"] .cs-header,
body.postid-1328[data-scheme="inverse"] .cs-header {
  color: #f2e4cf !important;
  background:
    linear-gradient(90deg, rgba(229, 196, 139, 0.055) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(0deg, rgba(229, 196, 139, 0.045) 1px, transparent 1px) 0 0 / 16px 16px,
    #201811 !important;
  border-bottom-color: #725b46 !important;
}

body.postid-1328[data-scheme="dark"] .cs-header__inner,
body.postid-1328[data-scheme="inverse"] .cs-header__inner,
body.postid-1328[data-scheme="dark"] .cs-lang-dropdown,
body.postid-1328[data-scheme="inverse"] .cs-lang-dropdown,
body.postid-1328[data-scheme="dark"] .cs-mobile-menu-dropdown,
body.postid-1328[data-scheme="inverse"] .cs-mobile-menu-dropdown {
  color: #f7ebd8 !important;
  background: #2b2119 !important;
  border-color: #a98b6b !important;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.34) !important;
}

body.postid-1328[data-scheme="dark"] .cs-header__toggle,
body.postid-1328[data-scheme="inverse"] .cs-header__toggle,
body.postid-1328[data-scheme="dark"] .cs-lang-current,
body.postid-1328[data-scheme="inverse"] .cs-lang-current,
body.postid-1328[data-scheme="dark"] .roberin-tool-search-toggle__button,
body.postid-1328[data-scheme="inverse"] .roberin-tool-search-toggle__button,
body.postid-1328[data-scheme="dark"] .cs-mobile-menu-button,
body.postid-1328[data-scheme="inverse"] .cs-mobile-menu-button {
  color: #f7ebd8 !important;
  -webkit-text-fill-color: #f7ebd8 !important;
  background: #33271d !important;
  border-color: #a98b6b !important;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.28) !important;
}

body.postid-1328[data-scheme="dark"] .cs-contact-form__content,
body.postid-1328[data-scheme="inverse"] .cs-contact-form__content,
body.postid-1328[data-scheme="dark"] .cs-contact-form__form,
body.postid-1328[data-scheme="inverse"] .cs-contact-form__form,
body.postid-1328[data-scheme="dark"] form.wpcf7-form,
body.postid-1328[data-scheme="inverse"] form.wpcf7-form {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #2b2119 !important;
  border-color: #a98b6b !important;
}

body.postid-1328[data-scheme="dark"] .roberin-contact-consent,
body.postid-1328[data-scheme="inverse"] .roberin-contact-consent {
  color: #f7ebd8 !important;
  -webkit-text-fill-color: #f7ebd8 !important;
  background: #344a32 !important;
  border-color: #a98b6b !important;
}

body.postid-1328[data-scheme="dark"] .roberin-contact-consent .wpcf7-acceptance,
body.postid-1328[data-scheme="inverse"] .roberin-contact-consent .wpcf7-acceptance,
body.postid-1328[data-scheme="dark"] .roberin-contact-consent .wpcf7-list-item,
body.postid-1328[data-scheme="inverse"] .roberin-contact-consent .wpcf7-list-item,
body.postid-1328[data-scheme="dark"] .roberin-contact-consent label,
body.postid-1328[data-scheme="inverse"] .roberin-contact-consent label {
  color: inherit !important;
  -webkit-text-fill-color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  body.postid-1328 .cs-breadcrumbs,
  body.postid-1328 .cs-entry__header,
  body.postid-1328 .coffee-savings-wrapper {
    width: min(960px, calc(100vw - 20px));
  }

  .calculator-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-section {
    grid-column: 1 / -1;
  }

  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.postid-1328 .cs-breadcrumbs,
  body.postid-1328 .cs-entry__header,
  body.postid-1328 .coffee-savings-wrapper {
    width: calc(100vw - 10px);
    max-width: calc(100vw - 10px);
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
  }

  body.postid-1328 .cs-entry__header {
    margin-top: 12px;
    margin-bottom: 10px;
  }

  .coffee-savings-container {
    padding: 9px;
    border-width: 1px;
    box-shadow: 3px 3px 0 rgba(72, 55, 40, 0.18);
  }

  .calculator-header {
    gap: 4px;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 8px;
  }

  .btn-quick,
  .btn-reset {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 12.5px;
  }

  .calculator-main {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }

  .result-section {
    grid-column: auto;
  }

  .input-section,
  .result-section,
  .special-section,
  .info-section {
    padding: 9px;
  }

  .section-title {
    margin-bottom: 8px;
    padding-bottom: 7px;
    font-size: 14.5px;
  }

  .number-input,
  .input-suffix {
    min-height: 38px;
    font-size: 13.5px;
  }

  .detail-results,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .main-result {
    min-height: 88px;
  }

  .savings-table {
    min-width: 430px;
  }

  .coffee-toast {
    right: 10px;
    bottom: 10px;
    max-width: calc(100vw - 20px);
  }
}

@media (max-width: 380px) {
  .coffee-savings-container {
    padding: 8px;
  }

  .money-input-row {
    gap: 5px;
  }

  .input-suffix {
    min-width: 42px;
    padding-left: 7px;
    padding-right: 7px;
  }

  .big-number {
    font-size: 26px;
  }
}

/* v2.1 after-tool QA placeholder nesting correction: keep visual gap symmetric. */
body.postid-1328 .coffee-savings-ad {
  display: block !important;
  width: min(728px, calc(100vw - 20px)) !important;
  min-height: 90px !important;
  margin: 8px auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.postid-1328 .coffee-savings-wrapper + .coffee-savings-ad--after-tool {
  margin-top: 8px !important;
  margin-bottom: 8px !important;
}

body.postid-1328 .coffee-savings-ad > .roberin-qa-ad-placeholder {
  width: 100% !important;
  min-height: 90px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ROBERIN coffee savings calculator - Phase 2 article/body aligned to PDF page deletion reference */
body.postid-1328 {
  --pdf-article-page: #f9f1e7;
  --pdf-article-panel: #f8efe2;
  --pdf-article-card: #fff8ed;
  --pdf-article-accent-paper: #e2edd8;
  --pdf-article-text: #34281f;
  --pdf-article-muted: #574838;
  --pdf-article-line: #6b5745;
  --pdf-article-line-soft: rgba(107, 87, 69, .34);
  --pdf-article-mustard: #d2aa55;
  --pdf-article-mustard-soft: rgba(210, 170, 85, .24);
  --pdf-article-focus: #4f7d94;
  --pdf-article-shadow: rgba(82, 65, 50, .22);
  --pdf-article-soft-shadow: rgba(82, 65, 50, .13);
}

body.postid-1328[data-scheme="dark"],
body.postid-1328[data-scheme="inverse"] {
  --pdf-article-page: #201811;
  --pdf-article-panel: #33271d;
  --pdf-article-card: #2b2119;
  --pdf-article-accent-paper: #344a32;
  --pdf-article-text: #f2e4cf;
  --pdf-article-muted: #f0dfc5;
  --pdf-article-line: #a98b6b;
  --pdf-article-line-soft: rgba(169, 139, 107, .46);
  --pdf-article-mustard: #d2aa55;
  --pdf-article-mustard-soft: rgba(210, 170, 85, .22);
  --pdf-article-focus: #d2aa55;
  --pdf-article-shadow: rgba(0, 0, 0, .32);
  --pdf-article-soft-shadow: rgba(0, 0, 0, .2);
}

body.postid-1328 .entry-content article.roberin-article-body.pdf-page-deletion-article,
body.postid-1328 .pdf-page-deletion-article {
  position: relative;
  z-index: 0;
  display: grid !important;
  gap: 18px !important;
  box-sizing: border-box !important;
  width: min(980px, calc(100vw - 32px)) !important;
  max-width: 980px !important;
  min-width: 0 !important;
  margin: clamp(24px, 4vw, 42px) auto !important;
  padding: clamp(16px, 3vw, 28px) !important;
  color: var(--pdf-article-text) !important;
  -webkit-text-fill-color: var(--pdf-article-text) !important;
  background:
    linear-gradient(rgba(107, 87, 69, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 87, 69, .04) 1px, transparent 1px),
    var(--pdf-article-panel) !important;
  background-size: 28px 28px, 28px 28px, auto !important;
  border: 2px solid var(--pdf-article-line) !important;
  border-radius: 0 !important;
  box-shadow: 5px 5px 0 var(--pdf-article-shadow) !important;
  overflow: hidden !important;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", -apple-system, BlinkMacSystemFont, sans-serif !important;
  line-height: 1.72 !important;
  word-break: keep-all !important;
}

body.postid-1328 .coffee-savings-ad--after-tool + article.roberin-article-body.pdf-page-deletion-article,
body.postid-1328 .roberin-qa-ad-placeholder + article.roberin-article-body.pdf-page-deletion-article {
  margin-top: 0 !important;
}

body.postid-1328 .pdf-page-deletion-article,
body.postid-1328 .pdf-page-deletion-article *,
body.postid-1328 .pdf-page-deletion-article *::before,
body.postid-1328 .pdf-page-deletion-article *::after {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

body.postid-1328 .pdf-page-deletion-article :is(p, li, td, th, summary, span, strong, code, h2, h3) {
  color: inherit !important;
  -webkit-text-fill-color: currentColor !important;
}

body.postid-1328 .pdf-article__hero,
body.postid-1328 .pdf-article__section {
  display: grid !important;
  gap: 13px !important;
  min-width: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.postid-1328 .pdf-article__hero {
  padding: 0 0 22px !important;
  border: 0 !important;
  border-bottom: 1px dashed var(--pdf-article-line-soft) !important;
}

body.postid-1328 .pdf-article__section {
  padding: 0 !important;
  border: 0 !important;
}

body.postid-1328 .pdf-article__section + .pdf-article__section {
  margin-top: 6px !important;
  padding-top: 22px !important;
  border-top: 1px dashed var(--pdf-article-line-soft) !important;
}

body.postid-1328 .pdf-article__kicker {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 26px !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  color: var(--pdf-article-text) !important;
  -webkit-text-fill-color: var(--pdf-article-text) !important;
  background: var(--pdf-article-accent-paper) !important;
  border: 1px solid var(--pdf-article-line) !important;
  border-radius: 0 !important;
  box-shadow: 2px 2px 0 var(--pdf-article-soft-shadow) !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1.2 !important;
  letter-spacing: .01em !important;
}

body.postid-1328 .pdf-page-deletion-article h2,
body.postid-1328 .pdf-page-deletion-article h3 {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--pdf-article-text) !important;
  -webkit-text-fill-color: var(--pdf-article-text) !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 0 !important;
  border-left-width: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-shadow: none !important;
  letter-spacing: -.02em !important;
  word-break: keep-all !important;
}

body.postid-1328 .pdf-page-deletion-article h2 {
  font-size: clamp(25px, 3vw, 30px) !important;
  font-weight: 950 !important;
  line-height: 1.18 !important;
}

body.postid-1328 .pdf-page-deletion-article h3 {
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}

body.postid-1328 .pdf-page-deletion-article p,
body.postid-1328 .pdf-page-deletion-article li,
body.postid-1328 .pdf-page-deletion-article summary {
  margin: 0 !important;
  color: var(--pdf-article-muted) !important;
  -webkit-text-fill-color: var(--pdf-article-muted) !important;
  font-size: 15px !important;
  font-weight: 680 !important;
  line-height: 1.72 !important;
  overflow-wrap: anywhere !important;
}

body.postid-1328 .pdf-page-deletion-article strong {
  color: var(--pdf-article-text) !important;
  -webkit-text-fill-color: var(--pdf-article-text) !important;
  font-weight: 920 !important;
}

body.postid-1328 .pdf-article__nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
}

body.postid-1328 .pdf-article__nav a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  padding: 6px 10px !important;
  color: var(--pdf-article-text) !important;
  -webkit-text-fill-color: var(--pdf-article-text) !important;
  text-decoration: none !important;
  background: var(--pdf-article-card) !important;
  border: 1px solid var(--pdf-article-line) !important;
  border-radius: 0 !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

body.postid-1328 .pdf-article__nav a:hover,
body.postid-1328 .pdf-article__nav a:focus-visible {
  background: var(--pdf-article-mustard-soft) !important;
  outline: 2px solid var(--pdf-article-focus) !important;
  outline-offset: 2px !important;
}

body.postid-1328 .pdf-article__grid,
body.postid-1328 .pdf-article__process-grid,
body.postid-1328 .pdf-article__use-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  min-width: 0 !important;
}

body.postid-1328 .pdf-article__use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.postid-1328 .pdf-article__card,
body.postid-1328 .pdf-article__process,
body.postid-1328 .pdf-article__use,
body.postid-1328 .pdf-article__notice,
body.postid-1328 .pdf-page-deletion-article details {
  display: grid !important;
  gap: 7px !important;
  min-width: 0 !important;
  padding: 12px !important;
  color: var(--pdf-article-muted) !important;
  -webkit-text-fill-color: var(--pdf-article-muted) !important;
  background: var(--pdf-article-card) !important;
  border: 1px solid var(--pdf-article-line) !important;
  border-radius: 0 !important;
  box-shadow: 3px 3px 0 var(--pdf-article-soft-shadow) !important;
}

body.postid-1328 .pdf-article__notice {
  background: rgba(239, 225, 188, .64) !important;
  border-style: dashed !important;
}

body.postid-1328 .pdf-article__process {
  background: rgba(226, 237, 216, .70) !important;
}

body.postid-1328 .pdf-article__use span,
body.postid-1328 .pdf-article__process span {
  color: var(--pdf-article-muted) !important;
  -webkit-text-fill-color: var(--pdf-article-muted) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.4 !important;
}

body.postid-1328 .pdf-page-deletion-article code {
  display: block !important;
  width: fit-content !important;
  max-width: 100% !important;
  padding: 5px 8px !important;
  color: var(--pdf-article-text) !important;
  -webkit-text-fill-color: var(--pdf-article-text) !important;
  background: var(--pdf-article-card) !important;
  border: 1px solid var(--pdf-article-line-soft) !important;
  border-radius: 0 !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: .92em !important;
  font-weight: 780 !important;
  line-height: 1.48 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.postid-1328 .pdf-page-deletion-article :is(ul, ol) {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}

body.postid-1328 .pdf-page-deletion-article ol,
body.postid-1328 .pdf-page-deletion-article ol.pdf-article__steps {
  counter-reset: pdf-article-step !important;
}

body.postid-1328 .pdf-page-deletion-article :is(ul, ol) > li {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  min-width: 0 !important;
  min-height: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  overflow-wrap: anywhere !important;
}

body.postid-1328 .pdf-page-deletion-article :is(ul, ol) > li::before {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  box-sizing: border-box !important;
  color: var(--pdf-article-text) !important;
  -webkit-text-fill-color: var(--pdf-article-text) !important;
  border-radius: 0 !important;
}

body.postid-1328 .pdf-page-deletion-article ul > li::before {
  content: "" !important;
  display: inline-block !important;
  width: 9px !important;
  height: 9px !important;
  background: var(--pdf-article-mustard) !important;
  border: 1px solid var(--pdf-article-line) !important;
  box-shadow: 1px 1px 0 rgba(82, 65, 50, .22) !important;
  line-height: 1 !important;
}

body.postid-1328 .pdf-page-deletion-article ol > li,
body.postid-1328 .pdf-page-deletion-article ol.pdf-article__steps > li {
  counter-increment: pdf-article-step !important;
}

body.postid-1328 .pdf-page-deletion-article ol > li::before,
body.postid-1328 .pdf-page-deletion-article ol.pdf-article__steps > li::before {
  content: counter(pdf-article-step) !important;
  display: inline-grid !important;
  place-items: center !important;
  width: 20px !important;
  height: 20px !important;
  background: var(--pdf-article-mustard-soft) !important;
  border: 1px solid var(--pdf-article-line) !important;
  box-shadow: 1px 1px 0 rgba(82, 65, 50, .22) !important;
  font-size: 11px !important;
  font-weight: 920 !important;
  line-height: 1 !important;
}

body.postid-1328 .pdf-article__li-text {
  display: block !important;
  min-width: 0 !important;
  align-self: center !important;
}

body.postid-1328 .pdf-page-deletion-article details {
  margin: 0 !important;
}

body.postid-1328 .pdf-page-deletion-article summary {
  cursor: pointer !important;
  color: var(--pdf-article-text) !important;
  -webkit-text-fill-color: var(--pdf-article-text) !important;
  font-weight: 950 !important;
  line-height: 1.45 !important;
  display: list-item !important;
  list-style-position: inside !important;
}

body.postid-1328 .pdf-page-deletion-article summary::after {
  content: none !important;
  display: none !important;
}

body.postid-1328 .pdf-page-deletion-article details[open] summary {
  margin-bottom: 8px !important;
}

body.postid-1328[data-scheme="dark"] .entry-content article.roberin-article-body.pdf-page-deletion-article,
body.postid-1328[data-scheme="inverse"] .entry-content article.roberin-article-body.pdf-page-deletion-article,
body.postid-1328[data-scheme="dark"] .pdf-page-deletion-article,
body.postid-1328[data-scheme="inverse"] .pdf-page-deletion-article {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background-image:
    linear-gradient(rgba(169, 139, 107, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 139, 107, .06) 1px, transparent 1px) !important;
  background-color: #33271d !important;
  border-color: #a98b6b !important;
}

body.postid-1328[data-scheme="dark"] .pdf-page-deletion-article :is(h2, h3, strong, summary),
body.postid-1328[data-scheme="inverse"] .pdf-page-deletion-article :is(h2, h3, strong, summary) {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.postid-1328[data-scheme="dark"] .pdf-page-deletion-article :is(p, li, span),
body.postid-1328[data-scheme="inverse"] .pdf-page-deletion-article :is(p, li, span) {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
}

body.postid-1328[data-scheme="dark"] .pdf-article__card,
body.postid-1328[data-scheme="dark"] .pdf-article__process,
body.postid-1328[data-scheme="dark"] .pdf-article__use,
body.postid-1328[data-scheme="dark"] .pdf-article__notice,
body.postid-1328[data-scheme="dark"] .pdf-page-deletion-article details,
body.postid-1328[data-scheme="dark"] .pdf-article__nav a,
body.postid-1328[data-scheme="inverse"] .pdf-article__card,
body.postid-1328[data-scheme="inverse"] .pdf-article__process,
body.postid-1328[data-scheme="inverse"] .pdf-article__use,
body.postid-1328[data-scheme="inverse"] .pdf-article__notice,
body.postid-1328[data-scheme="inverse"] .pdf-page-deletion-article details,
body.postid-1328[data-scheme="inverse"] .pdf-article__nav a {
  background-color: #33271d !important;
  border-color: rgba(169, 139, 107, .72) !important;
  box-shadow: 3px 3px 0 rgba(32, 24, 17, .52) !important;
}

body.postid-1328[data-scheme="dark"] .pdf-article__notice,
body.postid-1328[data-scheme="dark"] .pdf-article__process,
body.postid-1328[data-scheme="inverse"] .pdf-article__notice,
body.postid-1328[data-scheme="inverse"] .pdf-article__process {
  background-color: rgba(36, 28, 21, .56) !important;
}

body.postid-1328[data-scheme="dark"] .pdf-page-deletion-article code,
body.postid-1328[data-scheme="inverse"] .pdf-page-deletion-article code {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #241c15 !important;
  border-color: rgba(169, 139, 107, .56) !important;
}

body.postid-1328[data-scheme="dark"] .pdf-page-deletion-article :is(ul, ol) > li::before,
body.postid-1328[data-scheme="inverse"] .pdf-page-deletion-article :is(ul, ol) > li::before {
  border-color: #a98b6b !important;
}

@media (max-width: 920px) {
  body.postid-1328 .pdf-article__use-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  body.postid-1328 .entry-content article.roberin-article-body.pdf-page-deletion-article,
  body.postid-1328 .pdf-page-deletion-article {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    padding: 12px !important;
    box-shadow: 4px 4px 0 rgba(82, 65, 50, .16) !important;
  }

  body.postid-1328 .pdf-article__grid,
  body.postid-1328 .pdf-article__process-grid,
  body.postid-1328 .pdf-article__use-grid {
    grid-template-columns: 1fr !important;
  }

  body.postid-1328 .pdf-page-deletion-article h3 {
    font-size: 18px !important;
  }
}

@media (max-width: 370px) {
  body.postid-1328 .pdf-page-deletion-article h2 {
    font-size: 25.2px !important;
  }
}

/* 2026-05-18 v5 compact desktop density correction.
   Module 3 requires short desktop grids and first-screen input/result density. */
body.postid-1328 .coffee-savings-wrapper br {
  display: none !important;
}

body.postid-1328 .money-input-row > br,
body.postid-1328 .quick-actions > br,
body.postid-1328 .detail-results > br,
body.postid-1328 .info-grid > br,
body.postid-1328 .roadmap-card > br,
body.postid-1328 .table-wrapper > br {
  display: none !important;
}

@media (min-width: 981px) {
  body.postid-1328 .cs-breadcrumbs,
  body.postid-1328 .cs-entry__header,
  body.postid-1328 .coffee-savings-wrapper {
    width: min(1120px, calc(100vw - 32px)) !important;
    max-width: 1120px !important;
  }

  body.postid-1328 .coffee-savings-container {
    padding: 10px 12px !important;
  }

  body.postid-1328 .calculator-header {
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 5px 11px !important;
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
  }

  body.postid-1328 .calculator-header .tool-kicker {
    grid-column: 1 !important;
    padding: 4px 7px !important;
    font-size: 11.2px !important;
  }

  body.postid-1328 .calculator-header h2 {
    grid-column: 2 !important;
    font-size: 25px !important;
    line-height: 1.08 !important;
    letter-spacing: -0.05em !important;
  }

  body.postid-1328 .calculator-header .subtitle {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
  }

  body.postid-1328 .quick-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin-bottom: 8px !important;
  }

  body.postid-1328 :is(.btn-quick, .btn-reset) {
    min-height: 31px !important;
    padding: 6px 8px !important;
    font-size: 12.5px !important;
    line-height: 1 !important;
  }

  body.postid-1328 .calculator-main {
    grid-template-columns: minmax(0, .95fr) minmax(0, .95fr) minmax(360px, 1.12fr) !important;
    gap: 8px !important;
    margin-bottom: 8px !important;
  }

  body.postid-1328 :is(.input-section, .result-section, .special-section, .info-section) {
    padding: 8px !important;
  }

  body.postid-1328 .section-title {
    gap: 6px !important;
    margin-bottom: 6px !important;
    padding-bottom: 6px !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
  }

  body.postid-1328 .section-title svg,
  body.postid-1328 .btn-calculate svg {
    width: 15px !important;
    height: 15px !important;
  }

  body.postid-1328 .input-group {
    margin-bottom: 6px !important;
  }

  body.postid-1328 .input-group label {
    margin-bottom: 4px !important;
    font-size: 11.8px !important;
    line-height: 1.15 !important;
  }

  body.postid-1328 .money-input-row {
    grid-template-columns: minmax(0, 1fr) 46px !important;
    gap: 5px !important;
  }

  body.postid-1328 .number-input,
  body.postid-1328 .input-suffix {
    min-height: 32px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
  }

  body.postid-1328 .input-suffix {
    min-width: 46px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 11.3px !important;
  }

  body.postid-1328 .input-hint {
    margin-top: 4px !important;
    font-size: 11px !important;
    line-height: 1.32 !important;
  }

  body.postid-1328 :is(.btn-calculate, .btn-copy) {
    min-height: 34px !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
  }

  body.postid-1328 .warning-box {
    padding: 7px 8px !important;
    font-size: 11.5px !important;
    line-height: 1.35 !important;
  }

  body.postid-1328 .main-result {
    min-height: 78px !important;
    margin-bottom: 8px !important;
    padding: 8px !important;
  }

  body.postid-1328 .big-number {
    font-size: clamp(27px, 3vw, 38px) !important;
  }

  body.postid-1328 .result-label {
    margin-top: 4px !important;
    font-size: 11.3px !important;
  }

  body.postid-1328 .detail-results {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 5px !important;
  }

  body.postid-1328 .result-item,
  body.postid-1328 .result-item--wide {
    grid-column: auto !important;
    padding: 6px 7px !important;
  }

  body.postid-1328 .result-label-text {
    font-size: 10.5px !important;
  }

  body.postid-1328 .result-value {
    font-size: 12.5px !important;
  }

  body.postid-1328 .btn-copy {
    margin-top: 8px !important;
  }

  body.postid-1328 .info-section {
    display: grid !important;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.38fr) !important;
    gap: 8px !important;
    align-items: start !important;
  }

  body.postid-1328 .info-section > .section-title {
    grid-column: 1 / -1 !important;
    margin-bottom: 0 !important;
  }

  body.postid-1328 .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin: 0 !important;
  }

  body.postid-1328 .info-card,
  body.postid-1328 .roadmap-card {
    padding: 7px !important;
  }

  body.postid-1328 .info-icon {
    display: none !important;
  }

  body.postid-1328 .info-title {
    margin-bottom: 3px !important;
    font-size: 11.5px !important;
  }

  body.postid-1328 .info-desc,
  body.postid-1328 .roadmap-copy {
    font-size: 11.2px !important;
    line-height: 1.35 !important;
  }

  body.postid-1328 .roadmap-card {
    gap: 6px !important;
  }

  body.postid-1328 .savings-table {
    min-width: 0 !important;
    font-size: 11.5px !important;
  }

  body.postid-1328 .savings-table th,
  body.postid-1328 .savings-table td {
    padding: 5px 7px !important;
  }
}
