/* ROBERIN gift tax simulator renewal - 2026-05-21 */
body.postid-1601 {
  --gift-paper: #fff7e8;
  --gift-paper-soft: #fbf0dc;
  --gift-ink: #2b2119;
  --gift-muted: #67584a;
  --gift-line: #6b5745;
  --gift-line-soft: rgba(107, 87, 69, 0.26);
  --gift-green: #e3efd2;
  --gift-green-ink: #2f4e2e;
  --gift-blue: #dfeef8;
  --gift-blue-ink: #28455a;
  --gift-amber: #f7df9d;
  --gift-red: #9b3d2c;
  --gift-white: #fffdf7;
  --gift-shadow: 4px 4px 0 rgba(72, 55, 40, 0.22);
  --gift-shadow-soft: 2px 2px 0 rgba(72, 55, 40, 0.14);
  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-1601 .cs-site-content > .cs-container,
body.postid-1601 .cs-main-content,
body.postid-1601 .cs-content-area,
body.postid-1601 .cs-entry__container,
body.postid-1601 .cs-entry__content-wrap {
  width: 100%;
  max-width: none;
}

body.postid-1601 .cs-breadcrumbs,
body.postid-1601 .cs-entry__header,
body.postid-1601 .gift-tax-wrapper,
body.postid-1601 .entry-content > .wp-block-group.content1,
body.postid-1601 .entry-content > article.roberin-article-body {
  width: min(1080px, calc(100vw - 32px));
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

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

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

.gift-tax-wrapper,
.gift-tax-wrapper *,
.gift-tax-wrapper *::before,
.gift-tax-wrapper *::after {
  box-sizing: border-box;
}

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

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

.gift-tax-container::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    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(--gift-line);
}

.gift-tax-kicker {
  margin: 0;
  color: var(--gift-blue-ink);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.calculator-header h2 {
  margin: 0;
  color: var(--gift-ink);
  -webkit-text-fill-color: var(--gift-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,
.subtitle {
  max-width: 760px;
  margin: 0;
  color: var(--gift-muted);
  -webkit-text-fill-color: var(--gift-muted);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 750;
  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-step {
  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,
.btn-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--gift-green-ink);
  -webkit-text-fill-color: currentColor;
  background: var(--gift-green);
  border: 1px solid var(--gift-line);
  box-shadow: var(--gift-shadow-soft);
  font-size: 13.5px;
  line-height: 1.1;
  font-weight: 900;
  white-space: nowrap;
}

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

.btn-calculate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: 2px;
  padding: 10px 14px;
  color: #fdf8ee;
  -webkit-text-fill-color: #fdf8ee;
  background: var(--gift-line);
  border: 2px solid var(--gift-ink);
  box-shadow: var(--gift-shadow-soft);
  font-size: 15px;
  line-height: 1.1;
  font-weight: 950;
}

.btn-quick:hover,
.btn-reset:hover,
.btn-calculate:hover,
.btn-step: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-step:active {
  transform: translate(2px, 2px);
  box-shadow: none;
}

.btn-quick:focus-visible,
.btn-reset:focus-visible,
.btn-calculate:focus-visible,
.btn-step:focus-visible,
.gift-tax-input:focus-visible,
.gift-tax-select:focus-visible {
  outline: 3px solid #d6a62b;
  outline-offset: 2px;
}

.calculator-main {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1fr) minmax(0, 0.92fr);
  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(--gift-line);
  border-radius: 0;
  box-shadow: var(--gift-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(--gift-ink) !important;
  -webkit-text-fill-color: var(--gift-ink) !important;
  border-bottom: 1px solid var(--gift-line-soft);
  font-size: 15.5px;
  line-height: 1.2;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.input-group {
  display: grid;
  gap: 5px;
  margin: 0 0 10px;
  min-width: 0;
  color: var(--gift-ink);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.input-group small,
.special-info,
.result-disclaimer {
  color: var(--gift-muted);
  -webkit-text-fill-color: var(--gift-muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
}

.input-with-unit,
.stepper {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.unit-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 0 9px;
  color: var(--gift-muted);
  -webkit-text-fill-color: var(--gift-muted);
  background: var(--gift-paper-soft);
  border: 1px solid var(--gift-line);
  border-left: 0;
  font-size: 12px;
  font-weight: 900;
}

.gift-tax-input,
.gift-tax-select {
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--gift-ink) !important;
  -webkit-text-fill-color: var(--gift-ink) !important;
  background: var(--gift-white);
  border: 1px solid var(--gift-line);
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 950;
}

.gift-tax-input::placeholder {
  color: rgba(103, 88, 74, 0.66);
  -webkit-text-fill-color: rgba(103, 88, 74, 0.66);
  font-weight: 750;
}

.input-with-unit .gift-tax-input {
  border-right: 0;
}

.input-grid-two {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 8px;
}

.input-grid-two.compact {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.check-stack {
  display: grid;
  gap: 7px;
  margin: 0 0 10px;
}

.check-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 8px;
  background: rgba(251, 240, 220, 0.68);
  border: 1px dashed var(--gift-line-soft);
  color: var(--gift-ink);
  font-size: 12.5px;
  line-height: 1.35;
  font-weight: 850;
}

.check-option input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--gift-line);
}

.check-option span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.check-option small {
  color: var(--gift-muted);
  -webkit-text-fill-color: var(--gift-muted);
  font-size: 11.5px;
  font-weight: 700;
}

.result-empty {
  display: grid;
  place-items: center;
  min-height: 228px;
  padding: 18px;
  color: var(--gift-muted);
  -webkit-text-fill-color: var(--gift-muted);
  background: rgba(251, 240, 220, 0.72);
  border: 1px dashed var(--gift-line-soft);
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 800;
}

.result-panel {
  display: grid;
  gap: 10px;
}

.main-result {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: var(--gift-blue);
  border: 2px solid var(--gift-line);
  box-shadow: var(--gift-shadow-soft);
}

.result-label,
.result-note,
.result-item span {
  color: var(--gift-muted);
  -webkit-text-fill-color: var(--gift-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 850;
}

.big-number {
  color: var(--gift-blue-ink);
  -webkit-text-fill-color: var(--gift-blue-ink);
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

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

.result-item {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 8px;
  background: var(--gift-white);
  border: 1px solid var(--gift-line-soft);
}

.result-item strong {
  color: var(--gift-ink);
  -webkit-text-fill-color: var(--gift-ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 950;
  word-break: keep-all;
}

.breakdown-list {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: var(--gift-ink);
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 750;
}

.breakdown-list li::marker {
  color: var(--gift-line);
  font-weight: 950;
}

.special-info {
  margin: 0 0 10px;
}

.btn-step {
  width: 38px;
  min-width: 38px;
  padding: 0;
  background: var(--gift-paper-soft);
  color: var(--gift-line);
  font-size: 18px;
}

.stepper .gift-tax-input {
  border-left: 0;
  border-right: 0;
  text-align: center;
}

.split-summary {
  display: grid;
  gap: 4px;
  margin: 0 0 9px;
  padding: 10px;
  color: var(--gift-ink);
  background: var(--gift-amber);
  border: 1px solid var(--gift-line);
  font-size: 13px;
  line-height: 1.35;
  font-weight: 850;
}

.split-summary span,
.split-summary strong {
  display: block;
}

.split-table-wrap {
  overflow-x: auto;
  min-width: 0;
  border: 1px solid var(--gift-line-soft);
  background: var(--gift-white);
}

.split-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--gift-ink);
  font-size: 12.5px;
  line-height: 1.35;
  white-space: nowrap;
}

.split-table th,
.split-table td {
  padding: 8px;
  border-bottom: 1px solid var(--gift-line-soft);
  text-align: left;
  vertical-align: top;
}

.split-table th {
  background: var(--gift-paper-soft);
  font-weight: 950;
}

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

.info-card {
  min-width: 0;
  padding: 10px;
  color: var(--gift-ink);
  background: var(--gift-white);
  border: 1px solid var(--gift-line-soft);
}

.info-card h3 {
  margin: 0 0 5px;
  color: var(--gift-ink);
  -webkit-text-fill-color: var(--gift-ink);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 950;
}

.info-card p {
  margin: 0;
  color: var(--gift-muted);
  -webkit-text-fill-color: var(--gift-muted);
  font-size: 12px;
  line-height: 1.5;
  font-weight: 700;
  word-break: keep-all;
}

body.postid-1601 .entry-content > .gift-tax-ad,
body.postid-1601 .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="7492498702"],
body.postid-1601 .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="1316434178"],
body.postid-1601 .entry-content > ins.adsbygoogle[data-ad-slot="7492498702"],
body.postid-1601 .entry-content > ins.adsbygoogle[data-ad-slot="1316434178"] {
  display: block !important;
  width: min(1080px, calc(100vw - 32px)) !important;
  max-width: 1080px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  text-align: center;
}

body.postid-1601 .entry-content > .gift-tax-wrapper + .gift-tax-ad--after-tool,
body.postid-1601 .entry-content > .gift-tax-wrapper + .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="7492498702"],
body.postid-1601 .entry-content > .gift-tax-wrapper + ins.adsbygoogle[data-ad-slot="7492498702"] {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

body.postid-1601 .entry-content > .gift-tax-ad--after-tool + .wp-block-group.content1,
body.postid-1601 .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="7492498702"] + .wp-block-group.content1,
body.postid-1601 .entry-content > ins.adsbygoogle[data-ad-slot="7492498702"] + .wp-block-group.content1 {
  margin-top: 24px !important;
}

body.postid-1601 .entry-content > .gift-tax-ad--bottom,
body.postid-1601 .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="1316434178"],
body.postid-1601 .entry-content > ins.adsbygoogle[data-ad-slot="1316434178"] {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

body.postid-1601 .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="7492498702"],
body.postid-1601 .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="1316434178"],
body.postid-1601 .gift-tax-ad > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="7492498702"],
body.postid-1601 .gift-tax-ad > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="1316434178"] {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  color: rgba(103, 88, 74, 0.68) !important;
  -webkit-text-fill-color: rgba(103, 88, 74, 0.68) !important;
  background: rgba(251, 240, 220, 0.55) !important;
  border: 1px dashed rgba(107, 87, 69, 0.26) !important;
  font-size: 12px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .calculator-main {
    grid-template-columns: 1fr;
  }
  .info-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .result-empty {
    min-height: 120px;
  }
}

@media (max-width: 640px) {
  body.postid-1601 .cs-breadcrumbs,
  body.postid-1601 .cs-entry__header,
  body.postid-1601 .gift-tax-wrapper,
  body.postid-1601 .entry-content > .wp-block-group.content1,
  body.postid-1601 .entry-content > article.roberin-article-body {
    width: min(100%, calc(100vw - 24px));
  }
  .gift-tax-container {
    padding: 12px;
    box-shadow: 3px 3px 0 rgba(72, 55, 40, 0.18);
  }
  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .input-grid-two,
  .input-grid-two.compact,
  .result-grid,
  .info-section {
    grid-template-columns: 1fr;
  }
  .big-number {
    font-size: 28px;
  }
  body.postid-1601 .entry-content > .gift-tax-ad,
  body.postid-1601 .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="7492498702"],
  body.postid-1601 .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="1316434178"],
  body.postid-1601 .entry-content > ins.adsbygoogle[data-ad-slot="7492498702"],
  body.postid-1601 .entry-content > ins.adsbygoogle[data-ad-slot="1316434178"] {
    width: min(100%, calc(100vw - 24px)) !important;
  }
}

@media (max-width: 380px) {
  body.postid-1601 .cs-breadcrumbs,
  body.postid-1601 .cs-entry__header,
  body.postid-1601 .gift-tax-wrapper,
  body.postid-1601 .entry-content > .wp-block-group.content1,
  body.postid-1601 .entry-content > article.roberin-article-body {
    width: min(100%, calc(100vw - 20px));
  }
  .gift-tax-container {
    padding: 10px;
  }
  .btn-quick,
  .btn-reset {
    min-height: 36px;
    padding: 8px 7px;
    font-size: 12.5px;
  }
  .gift-tax-input,
  .gift-tax-select {
    font-size: 14px;
  }
  body.postid-1601 .entry-content > .gift-tax-ad,
  body.postid-1601 .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="7492498702"],
  body.postid-1601 .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="1316434178"],
  body.postid-1601 .entry-content > ins.adsbygoogle[data-ad-slot="7492498702"],
  body.postid-1601 .entry-content > ins.adsbygoogle[data-ad-slot="1316434178"] {
    width: min(100%, calc(100vw - 20px)) !important;
  }
}

body.postid-1601[data-scheme="dark"],
body.postid-1601[data-scheme="inverse"] {
  --gift-paper: #271f18;
  --gift-paper-soft: #32271e;
  --gift-ink: #f7ead6;
  --gift-muted: #d4c2ab;
  --gift-line: #bda27f;
  --gift-line-soft: rgba(189, 162, 127, 0.34);
  --gift-green: #31402b;
  --gift-green-ink: #e4f1cf;
  --gift-blue: #263848;
  --gift-blue-ink: #dcedfb;
  --gift-amber: #5a4620;
  --gift-red: #f2a08f;
  --gift-white: #2d241c;
  --gift-shadow: 4px 4px 0 rgba(0, 0, 0, 0.32);
  --gift-shadow-soft: 2px 2px 0 rgba(0, 0, 0, 0.22);
  background:
    linear-gradient(90deg, rgba(189, 162, 127, 0.035) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(189, 162, 127, 0.03) 1px, transparent 1px) 0 0 / 18px 18px,
    #18130f;
}

body.postid-1601[data-scheme="dark"] .cs-wrapper,
body.postid-1601[data-scheme="inverse"] .cs-wrapper,
body.postid-1601[data-scheme="dark"] .cs-site,
body.postid-1601[data-scheme="inverse"] .cs-site,
body.postid-1601[data-scheme="dark"] .cs-site-inner,
body.postid-1601[data-scheme="inverse"] .cs-site-inner,
body.postid-1601[data-scheme="dark"] .cs-site-primary,
body.postid-1601[data-scheme="inverse"] .cs-site-primary,
body.postid-1601[data-scheme="dark"] .cs-site-content,
body.postid-1601[data-scheme="inverse"] .cs-site-content,
body.postid-1601[data-scheme="dark"] footer.cs-footer,
body.postid-1601[data-scheme="inverse"] footer.cs-footer {
  background-color: transparent;
}

body.postid-1601[data-scheme="dark"] .gift-tax-container,
body.postid-1601[data-scheme="inverse"] .gift-tax-container {
  background: var(--gift-paper);
  color: var(--gift-ink);
  border-color: var(--gift-line);
}

body.postid-1601[data-scheme="dark"] .gift-tax-container::before,
body.postid-1601[data-scheme="inverse"] .gift-tax-container::before {
  background:
    linear-gradient(rgba(189, 162, 127, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(189, 162, 127, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
}

body.postid-1601[data-scheme="dark"] .input-section,
body.postid-1601[data-scheme="inverse"] .input-section,
body.postid-1601[data-scheme="dark"] .result-section,
body.postid-1601[data-scheme="inverse"] .result-section,
body.postid-1601[data-scheme="dark"] .special-section,
body.postid-1601[data-scheme="inverse"] .special-section,
body.postid-1601[data-scheme="dark"] .info-section,
body.postid-1601[data-scheme="inverse"] .info-section,
body.postid-1601[data-scheme="dark"] .info-card,
body.postid-1601[data-scheme="inverse"] .info-card,
body.postid-1601[data-scheme="dark"] .result-item,
body.postid-1601[data-scheme="inverse"] .result-item,
body.postid-1601[data-scheme="dark"] .split-table-wrap,
body.postid-1601[data-scheme="inverse"] .split-table-wrap {
  background: rgba(45, 36, 28, 0.94);
  color: var(--gift-ink);
  border-color: var(--gift-line-soft);
}

body.postid-1601[data-scheme="dark"] .gift-tax-input,
body.postid-1601[data-scheme="inverse"] .gift-tax-input,
body.postid-1601[data-scheme="dark"] .gift-tax-select,
body.postid-1601[data-scheme="inverse"] .gift-tax-select,
body.postid-1601[data-scheme="dark"] .unit-text,
body.postid-1601[data-scheme="inverse"] .unit-text,
body.postid-1601[data-scheme="dark"] .btn-step,
body.postid-1601[data-scheme="inverse"] .btn-step {
  background: #211a14;
  color: var(--gift-ink) !important;
  -webkit-text-fill-color: var(--gift-ink) !important;
  border-color: var(--gift-line);
}

body.postid-1601[data-scheme="dark"] .gift-tax-input::placeholder,
body.postid-1601[data-scheme="inverse"] .gift-tax-input::placeholder {
  color: rgba(212, 194, 171, 0.68);
  -webkit-text-fill-color: rgba(212, 194, 171, 0.68);
}

body.postid-1601[data-scheme="dark"] .check-option,
body.postid-1601[data-scheme="inverse"] .check-option,
body.postid-1601[data-scheme="dark"] .result-empty,
body.postid-1601[data-scheme="inverse"] .result-empty {
  background: rgba(50, 39, 30, 0.74);
  border-color: var(--gift-line-soft);
}

body.postid-1601[data-scheme="dark"] .btn-calculate,
body.postid-1601[data-scheme="inverse"] .btn-calculate {
  color: #201812;
  -webkit-text-fill-color: #201812;
  background: #dfc394;
  border-color: #f2dfbd;
}

body.postid-1601[data-scheme="dark"] .split-table th,
body.postid-1601[data-scheme="inverse"] .split-table th {
  background: #32271e;
}

body.postid-1601[data-scheme="dark"] .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="7492498702"],
body.postid-1601[data-scheme="inverse"] .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="7492498702"],
body.postid-1601[data-scheme="dark"] .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="1316434178"],
body.postid-1601[data-scheme="inverse"] .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="1316434178"],
body.postid-1601[data-scheme="dark"] .gift-tax-ad > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="7492498702"],
body.postid-1601[data-scheme="inverse"] .gift-tax-ad > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="7492498702"],
body.postid-1601[data-scheme="dark"] .gift-tax-ad > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="1316434178"],
body.postid-1601[data-scheme="inverse"] .gift-tax-ad > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="1316434178"] {
  color: rgba(212, 194, 171, 0.74) !important;
  -webkit-text-fill-color: rgba(212, 194, 171, 0.74) !important;
  background: rgba(50, 39, 30, 0.52) !important;
  border-color: rgba(189, 162, 127, 0.30) !important;
}

/* Phase 2 article renewal: PDF body rhythm mapped to gift-tax namespace - 2026-05-21 */
body.postid-1601 .gift-tax-input::placeholder {
  font-weight: 600;
}

body.postid-1601 .entry-content > .gift-tax-ad--after-tool + article.roberin-article-body,
body.postid-1601 .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="7492498702"] + article.roberin-article-body,
body.postid-1601 .entry-content > ins.adsbygoogle[data-ad-slot="7492498702"] + article.roberin-article-body {
  margin-top: 24px !important;
}

body.postid-1601 .gift-tax-article,
body.postid-1601 .gift-tax-article *,
body.postid-1601 .gift-tax-article *::before,
body.postid-1601 .gift-tax-article *::after {
  box-sizing: border-box;
}

body.postid-1601 .entry-content > article.gift-tax-article,
body.postid-1601 article.gift-tax-article {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 42px;
  margin-bottom: 42px;
  padding: 28px;
  overflow: hidden;
  color: var(--gift-ink);
  -webkit-text-fill-color: currentColor;
  background:
    linear-gradient(rgba(107, 87, 69, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107, 87, 69, 0.04) 1px, transparent 1px),
    var(--gift-paper-soft);
  background-size: 20px 20px, 20px 20px, auto;
  border: 2px solid var(--gift-line);
  border-radius: 0;
  box-shadow: var(--gift-shadow);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.62;
}

body.postid-1601 .gift-tax-article > .gift-tax-article__hero,
body.postid-1601 .gift-tax-article > .gift-tax-article__section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  margin: 0;
  padding: 0;
  min-width: 0;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.postid-1601 .gift-tax-article > .gift-tax-article__hero {
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(107, 87, 69, 0.34) !important;
}

body.postid-1601 .gift-tax-article > .gift-tax-article__section + .gift-tax-article__section {
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px dashed rgba(107, 87, 69, 0.34) !important;
}

body.postid-1601 .gift-tax-article p,
body.postid-1601 .gift-tax-article ul,
body.postid-1601 .gift-tax-article ol,
body.postid-1601 .gift-tax-article li,
body.postid-1601 .gift-tax-article h2,
body.postid-1601 .gift-tax-article h3,
body.postid-1601 .gift-tax-article details,
body.postid-1601 .gift-tax-article summary {
  min-width: 0;
  margin-block-start: 0;
  margin-block-end: 0;
  color: inherit;
  -webkit-text-fill-color: currentColor;
}

body.postid-1601 .gift-tax-article__kicker {
  color: var(--gift-blue-ink);
  -webkit-text-fill-color: var(--gift-blue-ink);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 950;
  letter-spacing: 0.02em;
}

body.postid-1601 .gift-tax-article h2 {
  padding: 0 !important;
  color: var(--gift-ink);
  -webkit-text-fill-color: var(--gift-ink);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: clamp(22px, 2.4vw, 31px);
  line-height: 1.18;
  font-weight: 950;
  letter-spacing: -0.045em;
  word-break: keep-all;
}

body.postid-1601 .gift-tax-article h3 {
  padding: 0 !important;
  color: var(--gift-ink);
  -webkit-text-fill-color: var(--gift-ink);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 950;
  letter-spacing: -0.025em;
  word-break: keep-all;
}

body.postid-1601 .gift-tax-article p {
  color: var(--gift-muted);
  -webkit-text-fill-color: var(--gift-muted);
  font-size: 15px;
  line-height: 1.68;
  font-weight: 700;
  word-break: keep-all;
}

body.postid-1601 .gift-tax-article__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.postid-1601 .gift-tax-article__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 10px;
  color: var(--gift-ink);
  -webkit-text-fill-color: var(--gift-ink);
  background: var(--gift-white);
  border: 1px solid var(--gift-line);
  box-shadow: var(--gift-shadow-soft);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 900;
}

body.postid-1601 .gift-tax-article__nav a:hover,
body.postid-1601 .gift-tax-article__nav a:focus-visible {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: #ddbf6f;
  outline: 0;
}

body.postid-1601 .gift-tax-article__card-grid,
body.postid-1601 .gift-tax-article__process,
body.postid-1601 .gift-tax-article__use-grid {
  display: grid;
  gap: 10px;
  min-width: 0;
}

body.postid-1601 .gift-tax-article__card-grid,
body.postid-1601 .gift-tax-article__process {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.postid-1601 .gift-tax-article__use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.postid-1601 .gift-tax-article__card,
body.postid-1601 .gift-tax-article__process-item,
body.postid-1601 .gift-tax-article__use,
body.postid-1601 .gift-tax-article details {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  color: var(--gift-muted);
  -webkit-text-fill-color: currentColor;
  background: var(--gift-white);
  border: 1px solid var(--gift-line);
  box-shadow: var(--gift-shadow-soft);
}

body.postid-1601 .gift-tax-article__card p,
body.postid-1601 .gift-tax-article__process-item p,
body.postid-1601 .gift-tax-article__use p,
body.postid-1601 .gift-tax-article details p,
body.postid-1601 .gift-tax-article__notice li {
  font-size: 14px;
  line-height: 1.62;
}

body.postid-1601 .gift-tax-article__ordered-list,
body.postid-1601 .gift-tax-article__notice ul {
  display: grid;
  gap: 8px;
  padding: 0 !important;
  list-style: none !important;
}

body.postid-1601 .gift-tax-article__ordered-list {
  counter-reset: gift-step;
}

body.postid-1601 .gift-tax-article__step,
body.postid-1601 .gift-tax-article__notice li {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px;
  min-width: 0;
  padding: 0 !important;
  color: var(--gift-muted);
  -webkit-text-fill-color: var(--gift-muted);
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  list-style: none !important;
  text-indent: 0 !important;
}

body.postid-1601 .gift-tax-article__step::before {
  counter-increment: gift-step;
  content: counter(gift-step);
  position: static !important;
  inset: auto !important;
  transform: none !important;
  flex: 0 0 20px;
  align-self: center;
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: var(--gift-ink);
  -webkit-text-fill-color: var(--gift-ink);
  background: rgba(210, 170, 85, 0.24);
  border: 1px solid var(--gift-line);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

body.postid-1601 .gift-tax-article__notice li::before {
  content: "";
  position: static !important;
  inset: auto !important;
  transform: none !important;
  flex: 0 0 10px;
  align-self: center;
  display: inline-block;
  width: 10px;
  height: 10px;
  background: rgba(210, 170, 85, 0.36);
  border: 1px solid var(--gift-line);
  border-radius: 999px;
}

body.postid-1601 .gift-tax-article__step > span,
body.postid-1601 .gift-tax-article__notice li > span {
  min-width: 0;
  flex: 1 1 auto;
}

body.postid-1601 .gift-tax-article__notice {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 12px;
  color: var(--gift-muted);
  -webkit-text-fill-color: currentColor;
  background: rgba(239, 225, 188, 0.64);
  border: 1px solid rgba(107, 87, 69, 0.5);
  box-shadow: var(--gift-shadow-soft);
}

body.postid-1601 .gift-tax-article details {
  overflow: hidden;
}

body.postid-1601 .gift-tax-article details > summary {
  display: list-item !important;
  list-style-position: inside !important;
  list-style-type: disclosure-closed;
  cursor: pointer;
  color: var(--gift-ink);
  -webkit-text-fill-color: var(--gift-ink);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 950;
}

body.postid-1601 .gift-tax-article details[open] > summary {
  list-style-type: disclosure-open;
  margin-bottom: 6px;
}

body.postid-1601 .gift-tax-article details > summary::after {
  content: none !important;
  display: none !important;
}

@media (max-width: 980px) {
  body.postid-1601 .gift-tax-article__card-grid,
  body.postid-1601 .gift-tax-article__process,
  body.postid-1601 .gift-tax-article__use-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.postid-1601 .entry-content > article.gift-tax-article,
  body.postid-1601 article.gift-tax-article {
    padding: 20px;
    margin-top: 32px;
    margin-bottom: 36px;
    gap: 16px;
    box-shadow: 3px 3px 0 rgba(72, 55, 40, 0.18);
  }
  body.postid-1601 .entry-content > .gift-tax-ad--after-tool + article.roberin-article-body,
  body.postid-1601 .entry-content > .roberin-qa-ad-placeholder[data-roberin-qa-ad-slot="7492498702"] + article.roberin-article-body,
  body.postid-1601 .entry-content > ins.adsbygoogle[data-ad-slot="7492498702"] + article.roberin-article-body {
    margin-top: 24px !important;
  }
  body.postid-1601 .gift-tax-article h2 {
    font-size: clamp(21px, 6vw, 26px);
  }
  body.postid-1601 .gift-tax-article__nav a {
    flex: 1 1 calc(50% - 8px);
  }
}

@media (max-width: 380px) {
  body.postid-1601 .entry-content > article.gift-tax-article,
  body.postid-1601 article.gift-tax-article {
    padding: 16px;
  }
  body.postid-1601 .gift-tax-article p,
  body.postid-1601 .gift-tax-article__card p,
  body.postid-1601 .gift-tax-article__process-item p,
  body.postid-1601 .gift-tax-article__use p,
  body.postid-1601 .gift-tax-article details p,
  body.postid-1601 .gift-tax-article__notice li {
    font-size: 13.5px;
  }
}

body.postid-1601[data-scheme="dark"] .gift-tax-input::placeholder,
body.postid-1601[data-scheme="inverse"] .gift-tax-input::placeholder {
  color: rgba(212, 194, 171, 0.58);
  -webkit-text-fill-color: rgba(212, 194, 171, 0.58);
  font-weight: 600;
  opacity: 1;
}

body.postid-1601[data-scheme="dark"] .entry-content > article.gift-tax-article,
body.postid-1601[data-scheme="inverse"] .entry-content > article.gift-tax-article,
body.postid-1601[data-scheme="dark"] article.gift-tax-article,
body.postid-1601[data-scheme="inverse"] article.gift-tax-article {
  background:
    linear-gradient(rgba(189, 162, 127, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(189, 162, 127, 0.05) 1px, transparent 1px),
    var(--gift-paper-soft);
  border-color: var(--gift-line);
  color: var(--gift-ink);
}

body.postid-1601[data-scheme="dark"] .gift-tax-article > .gift-tax-article__hero,
body.postid-1601[data-scheme="inverse"] .gift-tax-article > .gift-tax-article__hero {
  border-bottom-color: rgba(189, 162, 127, 0.40) !important;
}

body.postid-1601[data-scheme="dark"] .gift-tax-article > .gift-tax-article__section + .gift-tax-article__section,
body.postid-1601[data-scheme="inverse"] .gift-tax-article > .gift-tax-article__section + .gift-tax-article__section {
  border-top-color: rgba(189, 162, 127, 0.40) !important;
}

body.postid-1601[data-scheme="dark"] .gift-tax-article__card,
body.postid-1601[data-scheme="inverse"] .gift-tax-article__card,
body.postid-1601[data-scheme="dark"] .gift-tax-article__process-item,
body.postid-1601[data-scheme="inverse"] .gift-tax-article__process-item,
body.postid-1601[data-scheme="dark"] .gift-tax-article__use,
body.postid-1601[data-scheme="inverse"] .gift-tax-article__use,
body.postid-1601[data-scheme="dark"] .gift-tax-article details,
body.postid-1601[data-scheme="inverse"] .gift-tax-article details {
  background: rgba(45, 36, 28, 0.94);
  border-color: var(--gift-line-soft);
  color: var(--gift-muted);
}

body.postid-1601[data-scheme="dark"] .gift-tax-article__notice,
body.postid-1601[data-scheme="inverse"] .gift-tax-article__notice {
  background: rgba(90, 70, 32, 0.34);
  border-color: rgba(189, 162, 127, 0.40);
  color: var(--gift-muted);
}

body.postid-1601[data-scheme="dark"] .gift-tax-article__nav a,
body.postid-1601[data-scheme="inverse"] .gift-tax-article__nav a {
  background: #211a14;
  color: var(--gift-ink);
  -webkit-text-fill-color: var(--gift-ink);
  border-color: var(--gift-line);
}

body.postid-1601[data-scheme="dark"] .gift-tax-article__nav a:hover,
body.postid-1601[data-scheme="inverse"] .gift-tax-article__nav a:hover,
body.postid-1601[data-scheme="dark"] .gift-tax-article__nav a:focus-visible,
body.postid-1601[data-scheme="inverse"] .gift-tax-article__nav a:focus-visible {
  background: #d2aa55;
  color: #241c15;
  -webkit-text-fill-color: #241c15;
}

body.postid-1601[data-scheme="dark"] .gift-tax-article__step::before,
body.postid-1601[data-scheme="inverse"] .gift-tax-article__step::before,
body.postid-1601[data-scheme="dark"] .gift-tax-article__notice li::before,
body.postid-1601[data-scheme="inverse"] .gift-tax-article__notice li::before {
  background: rgba(210, 170, 85, 0.34);
  border-color: var(--gift-line);
  color: var(--gift-ink);
  -webkit-text-fill-color: var(--gift-ink);
}

/* Phase 2 v4 verifier hardening: reference-width article and placeholder text-fill distinction */
body.postid-1601 .entry-content > article.gift-tax-article,
body.postid-1601 article.gift-tax-article {
  width: min(980px, calc(100vw - 32px));
  max-width: 980px;
}

body.postid-1601 .gift-tax-input::placeholder {
  color: rgba(103, 88, 74, 0.58) !important;
  -webkit-text-fill-color: rgba(103, 88, 74, 0.58) !important;
  font-weight: 600 !important;
  opacity: 1;
}

body.postid-1601[data-scheme="dark"] .gift-tax-input::placeholder,
body.postid-1601[data-scheme="inverse"] .gift-tax-input::placeholder {
  color: rgba(212, 194, 171, 0.54) !important;
  -webkit-text-fill-color: rgba(212, 194, 171, 0.54) !important;
  font-weight: 600 !important;
  opacity: 1;
}

@media (max-width: 640px) {
  body.postid-1601 .entry-content > article.gift-tax-article,
  body.postid-1601 article.gift-tax-article {
    width: min(100%, calc(100vw - 24px));
  }
}

@media (max-width: 380px) {
  body.postid-1601 .entry-content > article.gift-tax-article,
  body.postid-1601 article.gift-tax-article {
    width: min(100%, calc(100vw - 20px));
  }
}

/* Phase 2 v5: defeat theme heading/list margins inside target article namespace */
body.postid-1601 .gift-tax-article h2,
body.postid-1601 .gift-tax-article h3,
body.postid-1601 .gift-tax-article p,
body.postid-1601 .gift-tax-article ul,
body.postid-1601 .gift-tax-article ol,
body.postid-1601 .gift-tax-article li,
body.postid-1601 .gift-tax-article details,
body.postid-1601 .gift-tax-article summary {
  margin: 0 !important;
}

body.postid-1601 .gift-tax-article h2,
body.postid-1601 .gift-tax-article h3,
body.postid-1601 .gift-tax-article details > summary,
body.postid-1601 .gift-tax-article__step::before {
  font-weight: 950 !important;
}
