/* ROBERIN real estate fee calculator Phase 1 redesign v2 - 2026-05-21 */
.real-estate-fee-wrapper,
.real-estate-fee-wrapper *,
.real-estate-fee-wrapper *::before,
.real-estate-fee-wrapper *::after {
  box-sizing: border-box;
}

.real-estate-fee-wrapper {
  --ref-paper: #fff7e8;
  --ref-paper-soft: #fbf0dc;
  --ref-ink: #2b2119;
  --ref-muted: #67584a;
  --ref-line: #6b5745;
  --ref-line-soft: rgba(107, 87, 69, 0.28);
  --ref-green: #e3efd2;
  --ref-green-ink: #2f4e2e;
  --ref-blue: #dfeef8;
  --ref-blue-ink: #28455a;
  --ref-amber: #f7df9d;
  --ref-red: #8c3d2f;
  --ref-white: #fffdf7;
  --ref-shadow: 4px 4px 0 rgba(72, 55, 40, 0.22);
  --ref-shadow-soft: 2px 2px 0 rgba(72, 55, 40, 0.14);
  width: min(1100px, calc(100vw - 32px));
  max-width: 1100px;
  margin: 0 auto 24px;
  color: var(--ref-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.52;
}

.real-estate-fee-container {
  position: relative;
  isolation: isolate;
  width: 100%;
  padding: 14px;
  overflow: hidden;
  color: var(--ref-ink);
  background: var(--ref-paper);
  border: 2px solid var(--ref-line);
  border-radius: 0;
  box-shadow: var(--ref-shadow);
}

.real-estate-fee-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;
}

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

.real-estate-fee-wrapper .tool-kicker {
  width: fit-content;
  margin: 0;
  padding: 5px 8px;
  color: var(--ref-green-ink);
  background: var(--ref-green);
  border: 1px solid var(--ref-line);
  box-shadow: var(--ref-shadow-soft);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 950;
}

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

.real-estate-fee-wrapper .subtitle {
  max-width: 760px;
  margin: 0;
  color: var(--ref-muted);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 750;
  word-break: keep-all;
}

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

.real-estate-fee-wrapper button,
.real-estate-fee-wrapper input,
.real-estate-fee-wrapper select {
  font-family: inherit;
}

.real-estate-fee-wrapper .btn-quick,
.real-estate-fee-wrapper .btn-reset,
.real-estate-fee-wrapper .btn-calculate,
.real-estate-fee-wrapper .tab-btn {
  appearance: none;
  border-radius: 0;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, color 120ms ease;
}

.real-estate-fee-wrapper .btn-quick,
.real-estate-fee-wrapper .btn-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 0;
  padding: 8px 9px;
  color: var(--ref-green-ink);
  background: var(--ref-green);
  border: 1px solid var(--ref-line);
  box-shadow: var(--ref-shadow-soft);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 900;
  white-space: normal;
  word-break: keep-all;
}

.real-estate-fee-wrapper .btn-reset {
  color: #743528;
  background: #f3dfd3;
}

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

.real-estate-fee-wrapper .btn-quick:focus-visible,
.real-estate-fee-wrapper .btn-reset:focus-visible,
.real-estate-fee-wrapper .btn-calculate:focus-visible,
.real-estate-fee-wrapper .tab-btn:focus-visible,
.real-estate-fee-wrapper input:focus-visible {
  outline: 3px solid #d6a62b;
  outline-offset: 2px;
}

.real-estate-fee-wrapper .calculator-main {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 10px;
  margin: 0 0 10px;
  align-items: stretch;
}

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

.real-estate-fee-wrapper .input-section,
.real-estate-fee-wrapper .result-section,
.real-estate-fee-wrapper .special-section {
  display: flex;
  flex-direction: column;
}

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

.real-estate-fee-wrapper .input-group {
  margin: 0 0 10px;
  min-width: 0;
}

.real-estate-fee-wrapper .input-group label,
.real-estate-fee-wrapper .control-label {
  display: block;
  margin: 0 0 6px;
  color: var(--ref-muted);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.real-estate-fee-wrapper .segmented-control {
  display: grid;
  gap: 6px;
}

.real-estate-fee-wrapper .property-type-toggle {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.real-estate-fee-wrapper .transaction-type-toggle {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.real-estate-fee-wrapper .segmented-control label {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 38px;
  margin: 0;
  padding: 7px 8px;
  color: var(--ref-ink);
  background: #fffdf8;
  border: 1px solid rgba(107, 87, 69, 0.42);
  box-shadow: 1px 1px 0 rgba(72, 55, 40, 0.10);
  text-align: center;
  cursor: pointer;
}

.real-estate-fee-wrapper .segmented-control input {
  position: absolute;
  opacity: 0;
  inset: 0;
  cursor: pointer;
}

.real-estate-fee-wrapper .segmented-control span {
  position: relative;
  z-index: 1;
  font-size: 12.5px;
  line-height: 1.18;
  font-weight: 850;
  word-break: keep-all;
}

.real-estate-fee-wrapper .segmented-control input:checked + span {
  color: var(--ref-green-ink);
  font-weight: 950;
}

.real-estate-fee-wrapper .segmented-control label:has(input:checked) {
  background: var(--ref-green);
  border-color: var(--ref-line);
  box-shadow: var(--ref-shadow-soft);
}

.real-estate-fee-wrapper .input-container {
  position: relative;
  min-width: 0;
}

.real-estate-fee-wrapper .money-input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 8px 40px 8px 10px;
  color: var(--ref-ink);
  -webkit-text-fill-color: var(--ref-ink);
  caret-color: #5f4834;
  background: #fffdf8;
  border: 1px solid var(--ref-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: 950;
  font-variant-numeric: tabular-nums;
}

.real-estate-fee-wrapper .money-input::placeholder {
  color: rgba(103, 88, 74, 0.48);
  -webkit-text-fill-color: rgba(103, 88, 74, 0.48);
  opacity: 1;
  font-weight: 600;
}

.real-estate-fee-wrapper .money-input:focus {
  background: #fff6d8;
  border-color: #5f4834;
  outline: none;
}

.real-estate-fee-wrapper .input-addon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  color: var(--ref-muted);
  font-size: 12.5px;
  font-weight: 900;
}

.real-estate-fee-wrapper .currency-display,
.real-estate-fee-wrapper .slider-info,
.real-estate-fee-wrapper .option-help,
.real-estate-fee-wrapper .source-note,
.real-estate-fee-wrapper .split-note,
.real-estate-fee-wrapper .result-note {
  color: var(--ref-muted);
  font-size: 12.5px;
  line-height: 1.42;
  font-weight: 700;
}

.real-estate-fee-wrapper .currency-display {
  margin-top: 5px;
}

.real-estate-fee-wrapper .monthly-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.real-estate-fee-wrapper .hidden,
.real-estate-fee-wrapper [hidden] {
  display: none !important;
}

.real-estate-fee-wrapper .option-row {
  display: grid;
  gap: 5px;
  margin: 0 0 10px;
  padding: 9px;
  background: #fffaf0;
  border: 1px solid rgba(107, 87, 69, 0.34);
}

.real-estate-fee-wrapper .checkbox-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ref-ink);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.real-estate-fee-wrapper .checkbox-card input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #d2aa55;
}

.real-estate-fee-wrapper .ratio-group strong {
  color: #5c3827;
  font-weight: 950;
}

.real-estate-fee-wrapper input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  margin: 5px 0 3px;
  background: #ead8bd;
  border: 1px solid rgba(107, 87, 69, 0.35);
  border-radius: 999px;
}

.real-estate-fee-wrapper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  background: #35271d;
  border: 2px solid #f7df9d;
  border-radius: 50%;
  box-shadow: var(--ref-shadow-soft);
}

.real-estate-fee-wrapper input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  background: #35271d;
  border: 2px solid #f7df9d;
  border-radius: 50%;
  box-shadow: var(--ref-shadow-soft);
}

.real-estate-fee-wrapper .form-error {
  min-height: 0;
  margin: 0;
  color: var(--ref-red);
  font-size: 12.5px;
  font-weight: 850;
}

.real-estate-fee-wrapper .form-error.is-visible {
  margin: 0 0 9px;
  padding: 8px 9px;
  background: #f8ded4;
  border: 1px solid #b9785d;
}

.real-estate-fee-wrapper .btn-calculate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 10px 14px;
  color: #fffaf0;
  -webkit-text-fill-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;
}

.real-estate-fee-wrapper .result-container,
.real-estate-fee-wrapper .result-display {
  display: grid;
  gap: 10px;
}

.real-estate-fee-wrapper .main-result {
  display: grid;
  gap: 5px;
  place-items: center;
  min-height: 112px;
  padding: 13px 12px;
  background: var(--ref-blue);
  border: 1px solid var(--ref-line);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.38);
  text-align: center;
}

.real-estate-fee-wrapper .big-number {
  color: var(--ref-blue-ink);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

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

.real-estate-fee-wrapper .result-item,
.real-estate-fee-wrapper .split-card,
.real-estate-fee-wrapper .rule-summary,
.real-estate-fee-wrapper .rate-panel,
.real-estate-fee-wrapper .info-card,
.real-estate-fee-wrapper .warning-box {
  min-width: 0;
  padding: 9px;
  background: #fffaf0;
  border: 1px solid rgba(107, 87, 69, 0.36);
}

.real-estate-fee-wrapper .result-label,
.real-estate-fee-wrapper .result-label-text,
.real-estate-fee-wrapper .split-label {
  color: var(--ref-muted);
  font-size: 11.8px;
  line-height: 1.1;
  font-weight: 900;
}

.real-estate-fee-wrapper .result-value,
.real-estate-fee-wrapper .split-value {
  display: block;
  margin-top: 3px;
  color: var(--ref-ink);
  font-size: 13.5px;
  line-height: 1.2;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.real-estate-fee-wrapper .split-card h4 {
  margin: 0 0 8px;
  color: var(--ref-ink);
  font-size: 13.5px;
  font-weight: 950;
}

.real-estate-fee-wrapper .split-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 6px;
}

.real-estate-fee-wrapper .split-row .split-value {
  margin: 0;
}

.real-estate-fee-wrapper .rule-summary {
  display: grid;
  gap: 5px;
  margin: 0 0 9px;
  background: #f5ead2;
  border-color: var(--ref-line);
}

.real-estate-fee-wrapper .rule-badge {
  width: fit-content;
  padding: 3px 6px;
  color: var(--ref-green-ink);
  background: var(--ref-green);
  border: 1px solid rgba(107, 87, 69, 0.38);
  font-size: 11px;
  line-height: 1;
  font-weight: 950;
}

.real-estate-fee-wrapper .rule-summary strong {
  color: var(--ref-ink);
  font-size: 15px;
  font-weight: 950;
}

.real-estate-fee-wrapper .rule-summary p,
.real-estate-fee-wrapper .rate-panel p,
.real-estate-fee-wrapper .warning-box,
.real-estate-fee-wrapper .source-note {
  margin: 0;
  color: var(--ref-muted);
  font-size: 12.7px;
  line-height: 1.55;
  font-weight: 750;
  word-break: keep-all;
}

.real-estate-fee-wrapper .rate-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 8px;
}

.real-estate-fee-wrapper .tab-btn {
  min-width: 0;
  min-height: 34px;
  padding: 7px 8px;
  color: var(--ref-ink);
  background: #fffdf8;
  border: 1px solid rgba(107, 87, 69, 0.42);
  box-shadow: 1px 1px 0 rgba(72, 55, 40, 0.10);
  font-size: 12.3px;
  line-height: 1.1;
  font-weight: 900;
}

.real-estate-fee-wrapper .tab-btn.active {
  color: var(--ref-green-ink);
  background: var(--ref-green);
  border-color: var(--ref-line);
  box-shadow: var(--ref-shadow-soft);
}

.real-estate-fee-wrapper .tab-pane:not(.active) {
  display: none;
}

.real-estate-fee-wrapper .warning-box {
  margin-top: 8px;
  color: #6f4b1d;
  background: #fff2c1;
  border-color: #c99a35;
  border-left: 5px solid #c99a35;
}

.real-estate-fee-wrapper .warning-box strong {
  color: #5f3d12;
  font-weight: 950;
}

.real-estate-fee-wrapper .info-section {
  margin: 0;
}

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

.real-estate-fee-wrapper .info-card {
  text-align: left;
}

.real-estate-fee-wrapper .info-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin: 0 0 6px;
  color: var(--ref-green-ink);
  background: var(--ref-green);
  border: 1px solid rgba(107, 87, 69, 0.34);
  font-size: 12px;
  font-weight: 950;
}

.real-estate-fee-wrapper .info-title {
  display: block;
  margin: 0 0 4px;
  color: var(--ref-ink);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 950;
}

.real-estate-fee-wrapper .info-desc {
  margin: 0;
  color: var(--ref-muted);
  font-size: 12px;
  line-height: 1.42;
  font-weight: 700;
}

body[data-scheme="dark"] .real-estate-fee-wrapper,
body[data-scheme="inverse"] .real-estate-fee-wrapper {
  --ref-paper: #2b2119;
  --ref-paper-soft: #241c15;
  --ref-ink: #f7ebd8;
  --ref-muted: #f0dfc5;
  --ref-line: #a98b6b;
  --ref-line-soft: rgba(169, 139, 107, 0.48);
  --ref-green: #344a32;
  --ref-green-ink: #f7ebd8;
  --ref-blue: #233c43;
  --ref-blue-ink: #f1e8cf;
  --ref-amber: #d2aa55;
  --ref-red: #d08b75;
  --ref-white: #241c15;
  --ref-shadow: 4px 4px 0 rgba(0, 0, 0, 0.34);
  --ref-shadow-soft: 2px 2px 0 rgba(0, 0, 0, 0.24);
  color: #f2e4cf !important;
}

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

body[data-scheme="dark"] .real-estate-fee-container::before,
body[data-scheme="inverse"] .real-estate-fee-container::before {
  background-image:
    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[data-scheme="dark"] .real-estate-fee-wrapper .calculator-header h2,
body[data-scheme="inverse"] .real-estate-fee-wrapper .calculator-header h2,
body[data-scheme="dark"] .real-estate-fee-wrapper .section-title,
body[data-scheme="inverse"] .real-estate-fee-wrapper .section-title,
body[data-scheme="dark"] .real-estate-fee-wrapper .big-number,
body[data-scheme="inverse"] .real-estate-fee-wrapper .big-number,
body[data-scheme="dark"] .real-estate-fee-wrapper .result-value,
body[data-scheme="inverse"] .real-estate-fee-wrapper .result-value,
body[data-scheme="dark"] .real-estate-fee-wrapper .split-value,
body[data-scheme="inverse"] .real-estate-fee-wrapper .split-value,
body[data-scheme="dark"] .real-estate-fee-wrapper .info-title,
body[data-scheme="inverse"] .real-estate-fee-wrapper .info-title,
body[data-scheme="dark"] .real-estate-fee-wrapper .rule-summary strong,
body[data-scheme="inverse"] .real-estate-fee-wrapper .rule-summary strong {
  color: #f7ebd8 !important;
  -webkit-text-fill-color: #f7ebd8 !important;
}

body[data-scheme="dark"] .real-estate-fee-wrapper .subtitle,
body[data-scheme="inverse"] .real-estate-fee-wrapper .subtitle,
body[data-scheme="dark"] .real-estate-fee-wrapper .input-group label,
body[data-scheme="inverse"] .real-estate-fee-wrapper .input-group label,
body[data-scheme="dark"] .real-estate-fee-wrapper .control-label,
body[data-scheme="inverse"] .real-estate-fee-wrapper .control-label,
body[data-scheme="dark"] .real-estate-fee-wrapper .currency-display,
body[data-scheme="inverse"] .real-estate-fee-wrapper .currency-display,
body[data-scheme="dark"] .real-estate-fee-wrapper .slider-info,
body[data-scheme="inverse"] .real-estate-fee-wrapper .slider-info,
body[data-scheme="dark"] .real-estate-fee-wrapper .option-help,
body[data-scheme="inverse"] .real-estate-fee-wrapper .option-help,
body[data-scheme="dark"] .real-estate-fee-wrapper .result-label,
body[data-scheme="inverse"] .real-estate-fee-wrapper .result-label,
body[data-scheme="dark"] .real-estate-fee-wrapper .result-label-text,
body[data-scheme="inverse"] .real-estate-fee-wrapper .result-label-text,
body[data-scheme="dark"] .real-estate-fee-wrapper .split-label,
body[data-scheme="inverse"] .real-estate-fee-wrapper .split-label,
body[data-scheme="dark"] .real-estate-fee-wrapper .result-note,
body[data-scheme="inverse"] .real-estate-fee-wrapper .result-note,
body[data-scheme="dark"] .real-estate-fee-wrapper .split-note,
body[data-scheme="inverse"] .real-estate-fee-wrapper .split-note,
body[data-scheme="dark"] .real-estate-fee-wrapper .info-desc,
body[data-scheme="inverse"] .real-estate-fee-wrapper .info-desc,
body[data-scheme="dark"] .real-estate-fee-wrapper .source-note,
body[data-scheme="inverse"] .real-estate-fee-wrapper .source-note,
body[data-scheme="dark"] .real-estate-fee-wrapper .rule-summary p,
body[data-scheme="inverse"] .real-estate-fee-wrapper .rule-summary p,
body[data-scheme="dark"] .real-estate-fee-wrapper .rate-panel p,
body[data-scheme="inverse"] .real-estate-fee-wrapper .rate-panel p {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
}

body[data-scheme="dark"] .real-estate-fee-wrapper .input-section,
body[data-scheme="inverse"] .real-estate-fee-wrapper .input-section,
body[data-scheme="dark"] .real-estate-fee-wrapper .result-section,
body[data-scheme="inverse"] .real-estate-fee-wrapper .result-section,
body[data-scheme="dark"] .real-estate-fee-wrapper .special-section,
body[data-scheme="inverse"] .real-estate-fee-wrapper .special-section,
body[data-scheme="dark"] .real-estate-fee-wrapper .info-section,
body[data-scheme="inverse"] .real-estate-fee-wrapper .info-section,
body[data-scheme="dark"] .real-estate-fee-wrapper .result-item,
body[data-scheme="inverse"] .real-estate-fee-wrapper .result-item,
body[data-scheme="dark"] .real-estate-fee-wrapper .split-card,
body[data-scheme="inverse"] .real-estate-fee-wrapper .split-card,
body[data-scheme="dark"] .real-estate-fee-wrapper .info-card,
body[data-scheme="inverse"] .real-estate-fee-wrapper .info-card,
body[data-scheme="dark"] .real-estate-fee-wrapper .option-row,
body[data-scheme="inverse"] .real-estate-fee-wrapper .option-row,
body[data-scheme="dark"] .real-estate-fee-wrapper .rate-panel,
body[data-scheme="inverse"] .real-estate-fee-wrapper .rate-panel {
  color: #f7ebd8 !important;
  background: #33271d !important;
  border-color: #a98b6b !important;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.24) !important;
}

body[data-scheme="dark"] .real-estate-fee-wrapper .segmented-control label,
body[data-scheme="inverse"] .real-estate-fee-wrapper .segmented-control label,
body[data-scheme="dark"] .real-estate-fee-wrapper .tab-btn,
body[data-scheme="inverse"] .real-estate-fee-wrapper .tab-btn {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
  background: #241c15 !important;
  border-color: #725b46 !important;
}

body[data-scheme="dark"] .real-estate-fee-wrapper .segmented-control label:has(input:checked),
body[data-scheme="inverse"] .real-estate-fee-wrapper .segmented-control label:has(input:checked),
body[data-scheme="dark"] .real-estate-fee-wrapper .tab-btn.active,
body[data-scheme="inverse"] .real-estate-fee-wrapper .tab-btn.active,
body[data-scheme="dark"] .real-estate-fee-wrapper .btn-quick,
body[data-scheme="inverse"] .real-estate-fee-wrapper .btn-quick,
body[data-scheme="dark"] .real-estate-fee-wrapper .tool-kicker,
body[data-scheme="inverse"] .real-estate-fee-wrapper .tool-kicker,
body[data-scheme="dark"] .real-estate-fee-wrapper .info-icon,
body[data-scheme="inverse"] .real-estate-fee-wrapper .info-icon,
body[data-scheme="dark"] .real-estate-fee-wrapper .rule-badge,
body[data-scheme="inverse"] .real-estate-fee-wrapper .rule-badge {
  color: #f7ebd8 !important;
  -webkit-text-fill-color: #f7ebd8 !important;
  background: #344a32 !important;
  border-color: #a98b6b !important;
}

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

body[data-scheme="dark"] .real-estate-fee-wrapper .money-input,
body[data-scheme="inverse"] .real-estate-fee-wrapper .money-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[data-scheme="dark"] .real-estate-fee-wrapper .money-input::placeholder,
body[data-scheme="inverse"] .real-estate-fee-wrapper .money-input::placeholder {
  color: rgba(240, 223, 197, 0.48) !important;
  -webkit-text-fill-color: rgba(240, 223, 197, 0.48) !important;
  opacity: 1 !important;
  font-weight: 600 !important;
}

body[data-scheme="dark"] .real-estate-fee-wrapper .money-input:focus,
body[data-scheme="inverse"] .real-estate-fee-wrapper .money-input:focus {
  background: #2f251c !important;
  border-color: #f0c86a !important;
}

body[data-scheme="dark"] .real-estate-fee-wrapper .btn-calculate,
body[data-scheme="inverse"] .real-estate-fee-wrapper .btn-calculate {
  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[data-scheme="dark"] .real-estate-fee-wrapper .main-result,
body[data-scheme="inverse"] .real-estate-fee-wrapper .main-result {
  color: #f7ebd8 !important;
  background: #233c43 !important;
  border-color: #a98b6b !important;
}

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

body[data-scheme="dark"] .real-estate-fee-wrapper .warning-box strong,
body[data-scheme="inverse"] .real-estate-fee-wrapper .warning-box strong,
body[data-scheme="dark"] .real-estate-fee-wrapper .ratio-group strong,
body[data-scheme="inverse"] .real-estate-fee-wrapper .ratio-group strong {
  color: #f0c86a !important;
  -webkit-text-fill-color: #f0c86a !important;
}

@media (max-width: 1020px) {
  .real-estate-fee-wrapper .quick-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .real-estate-fee-wrapper .special-section {
    grid-column: 1 / -1;
  }

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

@media (max-width: 640px) {
  .real-estate-fee-wrapper {
    width: calc(100vw - 10px);
    max-width: calc(100vw - 10px);
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
  }

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

  .real-estate-fee-wrapper .calculator-header {
    gap: 4px;
    margin-bottom: 8px;
    padding-bottom: 8px;
  }

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

  .real-estate-fee-wrapper .calculator-main,
  .real-estate-fee-wrapper .monthly-grid,
  .real-estate-fee-wrapper .detail-results,
  .real-estate-fee-wrapper .info-grid {
    grid-template-columns: 1fr;
  }

  .real-estate-fee-wrapper .calculator-main {
    gap: 8px;
    margin-bottom: 8px;
  }

  .real-estate-fee-wrapper .input-section,
  .real-estate-fee-wrapper .result-section,
  .real-estate-fee-wrapper .special-section,
  .real-estate-fee-wrapper .info-section {
    padding: 9px;
  }

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

  .real-estate-fee-wrapper .property-type-toggle,
  .real-estate-fee-wrapper .transaction-type-toggle,
  .real-estate-fee-wrapper .rate-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .real-estate-fee-wrapper .money-input,
  .real-estate-fee-wrapper .btn-calculate {
    min-height: 40px;
    font-size: 14px;
  }

  .real-estate-fee-wrapper .main-result {
    min-height: 96px;
  }
}

@media (max-width: 370px) {
  .real-estate-fee-container {
    padding: 8px;
  }

  .real-estate-fee-wrapper .btn-quick,
  .real-estate-fee-wrapper .btn-reset,
  .real-estate-fee-wrapper .segmented-control span,
  .real-estate-fee-wrapper .tab-btn {
    font-size: 12px;
  }
}

/* Phase 1 ad-flow normalization: approved slots stay frameless outside the tool. */
body.postid-1331 .entry-content > .real-estate-fee-ad {
  display: block;
  width: min(100%, 1180px);
  max-width: 1180px;
  margin: 24px auto;
  padding: 0;
  clear: both;
  text-align: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.postid-1331 .entry-content > .real-estate-fee-wrapper + .real-estate-fee-ad--after-tool {
  margin-top: 24px;
  margin-bottom: 24px;
}

body.postid-1331 .entry-content > .real-estate-fee-ad--after-tool + .wp-block-group.content1,
body.postid-1331 .entry-content > .real-estate-fee-ad--after-tool + article.roberin-article-body {
  margin-top: 0 !important;
}

body.postid-1331 .entry-content > .real-estate-fee-ad ins.adsbygoogle {
  display: block;
  width: min(100%, 728px) !important;
  max-width: 728px;
  min-height: 90px;
  margin: 0 auto;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.postid-1331.roberin-qa-mode .entry-content > .real-estate-fee-ad .roberin-qa-ad-placeholder,
body.postid-1331 .entry-content > .real-estate-fee-ad .roberin-qa-ad-placeholder {
  width: min(100%, 728px);
  max-width: 728px;
  min-height: 90px;
  margin: 0 auto;
  background: rgba(238, 229, 211, 0.32) !important;
  border: 1px dashed rgba(109, 84, 58, 0.28) !important;
  border-radius: 0;
  box-shadow: none !important;
  color: rgba(75, 57, 41, 0.68);
  -webkit-text-fill-color: rgba(75, 57, 41, 0.68);
}

body[data-scheme="dark"].postid-1331 .entry-content > .real-estate-fee-ad .roberin-qa-ad-placeholder,
body[data-scheme="inverse"].postid-1331 .entry-content > .real-estate-fee-ad .roberin-qa-ad-placeholder {
  background: rgba(67, 50, 35, 0.24) !important;
  border-color: rgba(235, 209, 165, 0.24) !important;
  color: rgba(241, 221, 186, 0.76);
  -webkit-text-fill-color: rgba(241, 221, 186, 0.76);
}

@media (max-width: 640px) {
  body.postid-1331 .entry-content > .real-estate-fee-ad {
    width: calc(100vw - 24px);
    margin-top: 18px;
    margin-bottom: 18px;
  }

  body.postid-1331 .entry-content > .real-estate-fee-wrapper + .real-estate-fee-ad--after-tool {
    margin-top: 18px;
    margin-bottom: 18px;
  }
}

/* Phase 2 article body */
body.postid-1331 .real-estate-fee-article {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  gap: 18px;
  width: min(100%, 980px);
  max-width: 980px;
  margin: 42px auto;
  padding: 28px;
  background: #f8efe2;
  border: 2px solid #6b5745;
  box-shadow: 5px 5px 0 rgba(82, 65, 50, 0.22);
  color: #34281f;
  -webkit-text-fill-color: #34281f;
  font-size: 16px;
  line-height: 1.72;
}

body.postid-1331 .real-estate-fee-ad--after-tool + .real-estate-fee-article {
  margin-top: 0;
}

body.postid-1331 .real-estate-fee-article__hero,
body.postid-1331 .real-estate-fee-article__section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #34281f;
  -webkit-text-fill-color: #34281f;
}

body.postid-1331 .real-estate-fee-article__hero {
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(107, 87, 69, 0.62);
}

body.postid-1331 .real-estate-fee-article__section + .real-estate-fee-article__section {
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px dashed rgba(107, 87, 69, 0.62);
}

body.postid-1331 .real-estate-fee-article__kicker {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 0;
  padding: 5px 9px;
  background: #e2edd8;
  border: 1px solid #6b5745;
  box-shadow: 2px 2px 0 rgba(82, 65, 50, 0.13);
  color: #574838;
  -webkit-text-fill-color: #574838;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.72;
}

body.postid-1331 .real-estate-fee-article h2,
body.postid-1331 .real-estate-fee-article h3,
body.postid-1331 .real-estate-fee-article p,
body.postid-1331 .real-estate-fee-article ul,
body.postid-1331 .real-estate-fee-article ol {
  margin: 0;
}

body.postid-1331 .real-estate-fee-article h2 {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #34281f;
  -webkit-text-fill-color: #34281f;
  font-size: 30px;
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

body.postid-1331 .real-estate-fee-article__section h2 {
  font-size: 23px;
  line-height: 1.24;
}

body.postid-1331 .real-estate-fee-article h3 {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #7a412f;
  -webkit-text-fill-color: #7a412f;
  font-size: 16px;
  font-weight: 950;
  line-height: 1.38;
}

body.postid-1331 .real-estate-fee-article p {
  color: #574838;
  -webkit-text-fill-color: #574838;
}

body.postid-1331 .real-estate-fee-article__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

body.postid-1331 .real-estate-fee-article__nav a {
  display: flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 10px;
  background: #fff8ed;
  border: 1px solid #6b5745;
  box-shadow: none;
  color: #34281f;
  -webkit-text-fill-color: #34281f;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.72;
  text-decoration: none;
}

body.postid-1331 .real-estate-fee-article__nav a:hover,
body.postid-1331 .real-estate-fee-article__nav a:focus-visible {
  background: #ddbf6f;
  color: #241c15;
  -webkit-text-fill-color: #241c15;
}

body.postid-1331 .real-estate-fee-article__grid,
body.postid-1331 .real-estate-fee-article__process-grid,
body.postid-1331 .real-estate-fee-article__use-grid {
  display: grid;
  gap: 10px;
  min-width: 0;
}

body.postid-1331 .real-estate-fee-article__grid,
body.postid-1331 .real-estate-fee-article__process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.postid-1331 .real-estate-fee-article__use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.postid-1331 .real-estate-fee-article__card,
body.postid-1331 .real-estate-fee-article__process,
body.postid-1331 .real-estate-fee-article__use,
body.postid-1331 .real-estate-fee-article details {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  background: #fff8ed;
  border: 1px solid #6b5745;
  box-shadow: 3px 3px 0 rgba(82, 65, 50, 0.13);
  color: #574838;
  -webkit-text-fill-color: #574838;
}

body.postid-1331 .real-estate-fee-article__process {
  background: rgba(226, 237, 216, 0.7);
}

body.postid-1331 .real-estate-fee-article__steps,
body.postid-1331 .real-estate-fee-article__notice ul {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: 0;
  list-style: none;
}

body.postid-1331 .real-estate-fee-article__steps {
  counter-reset: real-estate-fee-step;
}

body.postid-1331 .real-estate-fee-article__steps li,
body.postid-1331 .real-estate-fee-article__notice li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #574838;
  -webkit-text-fill-color: #574838;
  font-size: 15px;
  font-weight: 680;
  line-height: 1.72;
}

body.postid-1331 .real-estate-fee-article__steps li::before {
  counter-increment: real-estate-fee-step;
  content: counter(real-estate-fee-step);
  display: grid;
  flex: 0 0 20px;
  place-items: center;
  width: 20px;
  height: 20px;
  background: rgba(210, 170, 85, 0.24);
  border: 1px solid #6b5745;
  box-shadow: 1px 1px 0 rgba(82, 65, 50, 0.22);
  color: #34281f;
  -webkit-text-fill-color: #34281f;
  font-size: 11px;
  font-weight: 920;
  line-height: 1;
}

body.postid-1331 .real-estate-fee-article__notice li::before {
  content: "";
  display: block;
  flex: 0 0 9px;
  width: 9px;
  height: 9px;
  background: #d2aa55;
  border: 1px solid #6b5745;
  box-shadow: 1px 1px 0 rgba(82, 65, 50, 0.16);
}

body.postid-1331 .real-estate-fee-article__li-text {
  min-width: 0;
}

body.postid-1331 .real-estate-fee-article__notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 7px;
  padding: 12px;
  background: rgba(239, 225, 188, 0.64);
  border: 1px dashed #6b5745;
  box-shadow: 3px 3px 0 rgba(82, 65, 50, 0.13);
  color: #574838;
  -webkit-text-fill-color: #574838;
}

body.postid-1331 .real-estate-fee-article details + details {
  margin-top: 2px;
}

body.postid-1331 .real-estate-fee-article summary {
  display: list-item;
  list-style-position: inside;
  cursor: pointer;
  color: #34281f;
  -webkit-text-fill-color: #34281f;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.45;
}

body.postid-1331 .real-estate-fee-article summary::after {
  content: none;
  display: none;
}

body.postid-1331 .real-estate-fee-article details p {
  padding-top: 4px;
}

body[data-scheme="dark"].postid-1331 .real-estate-fee-article,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article {
  background: #2b2119;
  border-color: #a98b6b;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.28);
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
}

body[data-scheme="dark"].postid-1331 .real-estate-fee-article__hero,
body[data-scheme="dark"].postid-1331 .real-estate-fee-article__section,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__hero,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__section {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
}

body[data-scheme="dark"].postid-1331 .real-estate-fee-article__hero,
body[data-scheme="dark"].postid-1331 .real-estate-fee-article__section + .real-estate-fee-article__section,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__hero,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__section + .real-estate-fee-article__section {
  border-color: rgba(169, 139, 107, 0.62);
}

body[data-scheme="dark"].postid-1331 .real-estate-fee-article__kicker,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__kicker {
  background: #344a32;
  border-color: #a98b6b;
  color: #f0dfc5;
  -webkit-text-fill-color: #f0dfc5;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.22);
}

body[data-scheme="dark"].postid-1331 .real-estate-fee-article h2,
body[data-scheme="dark"].postid-1331 .real-estate-fee-article summary,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article h2,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article summary {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
}

body[data-scheme="dark"].postid-1331 .real-estate-fee-article h3,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article h3 {
  color: #d9b985;
  -webkit-text-fill-color: #d9b985;
}

body[data-scheme="dark"].postid-1331 .real-estate-fee-article p,
body[data-scheme="dark"].postid-1331 .real-estate-fee-article__steps li,
body[data-scheme="dark"].postid-1331 .real-estate-fee-article__notice li,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article p,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__steps li,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__notice li {
  color: #f0dfc5;
  -webkit-text-fill-color: #f0dfc5;
}

body[data-scheme="dark"].postid-1331 .real-estate-fee-article__nav a,
body[data-scheme="dark"].postid-1331 .real-estate-fee-article__card,
body[data-scheme="dark"].postid-1331 .real-estate-fee-article__use,
body[data-scheme="dark"].postid-1331 .real-estate-fee-article details,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__nav a,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__card,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__use,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article details {
  background: #33271d;
  border-color: #a98b6b;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.24);
  color: #f0dfc5;
  -webkit-text-fill-color: #f0dfc5;
}

body[data-scheme="dark"].postid-1331 .real-estate-fee-article__process,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__process {
  background: rgba(52, 74, 50, 0.62);
  border-color: #a98b6b;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.24);
}

body[data-scheme="dark"].postid-1331 .real-estate-fee-article__notice,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__notice {
  background: rgba(68, 50, 32, 0.82);
  border-color: rgba(210, 170, 85, 0.7);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.24);
  color: #f0dfc5;
  -webkit-text-fill-color: #f0dfc5;
}

body[data-scheme="dark"].postid-1331 .real-estate-fee-article__steps li::before,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__steps li::before {
  background: rgba(210, 170, 85, 0.28);
  border-color: #a98b6b;
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.24);
}

body[data-scheme="dark"].postid-1331 .real-estate-fee-article__notice li::before,
body[data-scheme="inverse"].postid-1331 .real-estate-fee-article__notice li::before {
  background: #d2aa55;
  border-color: #a98b6b;
}

@media (max-width: 980px) {
  body.postid-1331 .real-estate-fee-article {
    width: min(100%, calc(100vw - 32px));
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  body.postid-1331 .real-estate-fee-article__grid,
  body.postid-1331 .real-estate-fee-article__process-grid,
  body.postid-1331 .real-estate-fee-article__use-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body.postid-1331 .real-estate-fee-article {
    width: calc(100vw - 24px);
    margin: 30px auto;
    padding: 14px;
    gap: 14px;
  }

  body.postid-1331 .real-estate-fee-ad--after-tool + .real-estate-fee-article {
    margin-top: 0;
  }

  body.postid-1331 .real-estate-fee-article__hero {
    gap: 10px;
    padding-bottom: 18px;
  }

  body.postid-1331 .real-estate-fee-article__section {
    gap: 10px;
  }

  body.postid-1331 .real-estate-fee-article__section + .real-estate-fee-article__section {
    margin-top: 4px;
    padding-top: 18px;
  }

  body.postid-1331 .real-estate-fee-article h2 {
    font-size: 23px;
  }

  body.postid-1331 .real-estate-fee-article__section h2 {
    font-size: 20px;
  }

  body.postid-1331 .real-estate-fee-article__nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body.postid-1331 .real-estate-fee-article__nav a,
  body.postid-1331 .real-estate-fee-article__card,
  body.postid-1331 .real-estate-fee-article__process,
  body.postid-1331 .real-estate-fee-article__use,
  body.postid-1331 .real-estate-fee-article__notice,
  body.postid-1331 .real-estate-fee-article details {
    padding: 10px;
  }

  body.postid-1331 .real-estate-fee-article__steps li,
  body.postid-1331 .real-estate-fee-article__notice li {
    align-items: flex-start;
    font-size: 14px;
  }

  body.postid-1331 .real-estate-fee-article__steps li::before,
  body.postid-1331 .real-estate-fee-article__notice li::before {
    margin-top: 2px;
  }
}


/* Phase 2 strict body reset v5: prevent legacy article/content1 rules from boxing PDF-reference rhythm headings and list markers. */
body.postid-1331 article.roberin-article-body.real-estate-fee-article,
body.postid-1331 article.roberin-article-body.real-estate-fee-article * {
  box-sizing: border-box;
}

body.postid-1331 article.roberin-article-body.real-estate-fee-article h2,
body.postid-1331 article.roberin-article-body.real-estate-fee-article h3,
body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__hero > h2,
body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__section > h2,
body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__card > h3,
body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__process > h3,
body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__use > h3,
body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__notice h3 {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transform: none !important;
}

body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__hero > h2 {
  margin: 0 !important;
  font-size: 30px !important;
  line-height: 1.24 !important;
  font-weight: 950 !important;
  letter-spacing: -0.02em !important;
  color: #34281f !important;
  -webkit-text-fill-color: #34281f !important;
}

body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__section > h2 {
  margin: 0 0 2px !important;
  font-size: 23px !important;
  line-height: 1.3 !important;
  font-weight: 950 !important;
  letter-spacing: -0.02em !important;
  color: #34281f !important;
  -webkit-text-fill-color: #34281f !important;
}

body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__card > h3,
body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__process > h3,
body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__use > h3,
body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__notice h3 {
  margin: 0 0 6px !important;
  font-size: 16px !important;
  line-height: 1.34 !important;
  font-weight: 900 !important;
  color: #6f4d2f !important;
  -webkit-text-fill-color: #6f4d2f !important;
}

body.postid-1331 article.roberin-article-body.real-estate-fee-article ol,
body.postid-1331 article.roberin-article-body.real-estate-fee-article ul,
body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__steps,
body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__notice ul {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__steps > li,
body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__notice li {
  position: static !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  color: #4b3a2d !important;
  -webkit-text-fill-color: #4b3a2d !important;
}

body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__steps > li::before,
body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__notice li::before {
  position: static !important;
  left: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  flex: 0 0 auto !important;
}

body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__steps > li::before {
  display: inline-grid !important;
  place-items: center !important;
  width: 24px !important;
  height: 24px !important;
  border: 1px solid #6b5745 !important;
  background: #e2edd8 !important;
  box-shadow: 1px 1px 0 rgba(82, 65, 50, 0.18) !important;
  color: #4f3827 !important;
  -webkit-text-fill-color: #4f3827 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__notice li::before {
  content: "" !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  border: 1px solid #8d6b48 !important;
  background: #d2aa55 !important;
  box-shadow: none !important;
}

body[data-scheme="dark"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__hero > h2,
body[data-scheme="inverse"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__hero > h2,
body[data-scheme="dark"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__section > h2,
body[data-scheme="inverse"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__section > h2 {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
}

body[data-scheme="dark"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__card > h3,
body[data-scheme="inverse"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__card > h3,
body[data-scheme="dark"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__process > h3,
body[data-scheme="inverse"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__process > h3,
body[data-scheme="dark"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__use > h3,
body[data-scheme="inverse"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__use > h3,
body[data-scheme="dark"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__notice h3,
body[data-scheme="inverse"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__notice h3 {
  color: #d9b985 !important;
  -webkit-text-fill-color: #d9b985 !important;
}

body[data-scheme="dark"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__steps > li,
body[data-scheme="dark"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__notice li,
body[data-scheme="inverse"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__steps > li,
body[data-scheme="inverse"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__notice li {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
}

body[data-scheme="dark"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__steps > li::before,
body[data-scheme="inverse"].postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__steps > li::before {
  background: rgba(210, 170, 85, 0.28) !important;
  border-color: #a98b6b !important;
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
}

@media (max-width: 640px) {
  body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__hero > h2 {
    font-size: 25px !important;
    line-height: 1.24 !important;
  }

  body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__section > h2 {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__steps > li,
  body.postid-1331 article.roberin-article-body.real-estate-fee-article .real-estate-fee-article__notice li {
    align-items: center !important;
    gap: 8px !important;
  }
}
