/* ROBERIN unemployment calculator Phase 1 redesign - 2026-05-15 */
body.postid-1013 {
  --uc-paper: #fff7e8;
  --uc-paper-soft: #fbf0dc;
  --uc-panel: #fffdf7;
  --uc-input: #fff8ed;
  --uc-green: #e3efd2;
  --uc-green-ink: #2f4e2e;
  --uc-blue: #dfeef8;
  --uc-blue-ink: #28455a;
  --uc-amber: #f7df9d;
  --uc-amber-strong: #d2aa55;
  --uc-red: #a43e2d;
  --uc-ink: #2b2119;
  --uc-muted: #67584a;
  --uc-line: #6b5745;
  --uc-line-soft: rgba(107, 87, 69, 0.26);
  --uc-shadow: 4px 4px 0 rgba(72, 55, 40, 0.22);
  --uc-shadow-soft: 2px 2px 0 rgba(72, 55, 40, 0.14);
  background:
    linear-gradient(90deg, rgba(107, 87, 69, 0.026) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(107, 87, 69, 0.023) 1px, transparent 1px) 0 0 / 18px 18px,
    #f9f1e7;
}

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

body.postid-1013 .cs-breadcrumbs,
body.postid-1013 .cs-entry__header,
body.postid-1013 .unemployment-calculator-wrapper,
body.postid-1013 .entry-content > article,
body.postid-1013 .roberin-unemployment-ad {
  width: min(1080px, calc(100vw - 32px));
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

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

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

.unemployment-calculator-wrapper,
.unemployment-calculator-wrapper *,
.unemployment-calculator-wrapper *::before,
.unemployment-calculator-wrapper *::after {
  box-sizing: border-box;
}

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

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

.unemployment-calculator-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(--uc-line);
}

.calculator-header h2 {
  margin: 0;
  color: var(--uc-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(--uc-muted);
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 700;
  word-break: keep-all;
}

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

.btn-sample,
.btn-reset,
.btn-calculate,
.btn-copy {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 0;
  border: 1px solid var(--uc-line);
  font-family: inherit;
  font-weight: 900;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease, color 120ms ease;
}

.btn-sample,
.btn-reset {
  min-height: 38px;
  padding: 8px 10px;
  color: var(--uc-ink);
  background: var(--uc-panel);
  box-shadow: var(--uc-shadow-soft);
  font-size: 13.5px;
  line-height: 1.1;
  white-space: nowrap;
}

.btn-sample {
  background: var(--uc-green);
  color: var(--uc-green-ink);
}

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

.btn-sample svg,
.btn-reset svg,
.btn-calculate svg,
.btn-copy svg,
.section-title svg {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

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

.btn-sample:focus-visible,
.btn-reset:focus-visible,
.btn-calculate:focus-visible,
.btn-copy:focus-visible,
.date-input:focus-visible,
.text-input:focus-visible,
.radio-label input:focus-visible + .radio-button,
.checkbox-label input:focus-visible {
  outline: 3px solid var(--uc-amber-strong);
  outline-offset: 2px;
}

.ad-section {
  display: none !important;
}

.calculator-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 12px;
  align-items: start;
  margin: 0 0 12px;
}

.input-section,
.result-section,
.info-section {
  min-width: 0;
  color: var(--uc-ink);
  background: color-mix(in srgb, var(--uc-panel) 90%, var(--uc-paper-soft));
  border: 1px solid var(--uc-line);
  box-shadow: var(--uc-shadow-soft);
}

.input-section,
.result-section {
  padding: 12px;
}

.info-section {
  padding: 12px;
}

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

.input-section .section-title svg,
.info-section .section-title svg {
  color: var(--uc-blue-ink);
}

.result-section .section-title svg {
  color: #745022;
}

.input-group {
  min-width: 0;
  margin-bottom: 10px;
}

.input-group:last-child {
  margin-bottom: 0;
}

.input-group label,
.input-group > label {
  display: block;
  margin-bottom: 5px;
  color: var(--uc-muted);
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

.input-wrapper {
  position: relative;
  min-width: 0;
}

.date-input,
.text-input {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 40px;
  padding: 9px 38px 9px 11px;
  color: var(--uc-ink);
  -webkit-text-fill-color: var(--uc-ink);
  background: var(--uc-input);
  border: 1px solid var(--uc-line);
  border-radius: 0;
  box-shadow: inset 1px 1px 0 rgba(107, 87, 69, 0.10);
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  transition: border-color 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.date-input:focus,
.text-input:focus {
  outline: none;
  background: #fffdf7;
  border-color: #4f7d94;
  box-shadow: 0 0 0 2px rgba(79, 125, 148, 0.18), inset 1px 1px 0 rgba(107, 87, 69, 0.10);
}

.text-input[readonly] {
  background: #f5ead9;
  color: var(--uc-muted);
  -webkit-text-fill-color: var(--uc-muted);
  cursor: default;
}

.input-unit {
  position: absolute;
  top: 50%;
  right: 11px;
  transform: translateY(-50%);
  color: var(--uc-muted);
  font-size: 13px;
  font-weight: 900;
  pointer-events: none;
}

.input-help,
.input-preview {
  margin: 5px 0 0;
  color: var(--uc-muted);
  font-size: 12px;
  line-height: 1.42;
  font-weight: 700;
  word-break: keep-all;
}

.input-preview {
  color: var(--uc-blue-ink);
  min-height: 16px;
}

.error-message {
  display: block;
  min-height: 15px;
  margin-top: 4px;
  color: var(--uc-red);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

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

.radio-label,
.checkbox-label {
  min-width: 0;
  cursor: pointer;
}

.radio-label input[type="radio"] {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.radio-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px;
  color: var(--uc-ink);
  background: var(--uc-panel);
  border: 1px solid var(--uc-line);
  box-shadow: var(--uc-shadow-soft);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.radio-label:hover .radio-button {
  background: var(--uc-green);
}

.radio-label input[type="radio"]:checked ~ .radio-button {
  color: var(--uc-green-ink);
  background: var(--uc-green);
  box-shadow: inset 2px 2px 0 rgba(47, 78, 46, 0.10);
}

.checkbox-group {
  display: grid;
  gap: 8px;
}

.checkbox-label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--uc-ink);
  background: var(--uc-panel);
  border: 1px solid var(--uc-line-soft);
}

.checkbox-label:hover {
  background: var(--uc-green);
}

.checkbox-label input[type="checkbox"] {
  inline-size: 18px;
  block-size: 18px;
  accent-color: var(--uc-amber-strong);
}

.checkbox-text {
  min-width: 0;
  color: var(--uc-ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
}

.tooltip-icon {
  position: relative;
  display: inline-flex;
  color: var(--uc-blue-ink);
  cursor: help;
}

.tooltip-text {
  visibility: hidden;
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 20;
  width: min(240px, calc(100vw - 48px));
  padding: 9px 10px;
  color: var(--uc-panel);
  background: var(--uc-ink);
  border: 1px solid var(--uc-line);
  box-shadow: var(--uc-shadow-soft);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease;
}

.tooltip-icon:hover .tooltip-text,
.tooltip-icon:focus-within .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.btn-calculate {
  width: 100%;
  min-height: 44px;
  margin-top: 8px;
  padding: 11px 14px;
  color: #241c15;
  background: var(--uc-amber);
  border-width: 2px;
  box-shadow: var(--uc-shadow);
  font-size: 15.5px;
}

.result-container {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.result-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px 11px;
  background: var(--uc-input);
  border: 1px solid var(--uc-line-soft);
}

.result-label {
  min-width: 0;
  color: var(--uc-muted);
  font-size: 13px;
  font-weight: 900;
  word-break: keep-all;
}

.result-value-box {
  display: inline-flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 3px;
  min-width: 0;
  color: var(--uc-ink);
}

.result-value {
  color: var(--uc-ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 950;
  letter-spacing: -0.035em;
}

.result-unit {
  color: var(--uc-muted);
  font-size: 13px;
  font-weight: 900;
}

.result-highlight {
  background: var(--uc-green);
  border-color: var(--uc-line);
}

.result-highlight .result-label,
.result-highlight .result-value {
  color: var(--uc-green-ink);
}

.result-details {
  margin: 0 0 10px;
  padding: 11px;
  color: var(--uc-ink);
  background: #fff9ec;
  border: 1px dashed var(--uc-line);
  font-size: 12.7px;
  line-height: 1.65;
  font-weight: 700;
  word-break: keep-all;
}

.result-details[hidden] {
  display: none !important;
}

.result-details strong {
  color: #74442b;
  font-weight: 950;
}

.btn-copy {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  color: var(--uc-ink);
  background: var(--uc-panel);
  box-shadow: var(--uc-shadow-soft);
  font-size: 13.5px;
}

.info-table-wrapper {
  width: 100%;
  margin-bottom: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.info-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  color: var(--uc-ink);
  background: var(--uc-panel);
  font-size: 12.5px;
  line-height: 1.35;
}

.info-table th,
.info-table td {
  padding: 8px 7px;
  border: 1px solid var(--uc-line);
  text-align: center;
  vertical-align: middle;
}

.info-table thead th {
  color: var(--uc-ink);
  background: var(--uc-green);
  font-weight: 950;
}

.info-table tbody th {
  color: var(--uc-blue-ink);
  background: var(--uc-blue);
  font-weight: 950;
  text-align: left;
}

.info-table tbody td {
  color: var(--uc-muted);
  font-weight: 850;
}

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

.info-note {
  min-width: 0;
  padding: 10px;
  background: var(--uc-panel);
  border: 1px solid var(--uc-line-soft);
  border-left: 4px solid var(--uc-amber-strong);
}

.note-title {
  margin-bottom: 6px;
  color: #74442b;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 950;
  word-break: keep-all;
}

.note-list {
  margin: 0;
  padding-left: 18px;
}

.note-list li {
  margin-bottom: 4px;
  color: var(--uc-muted);
  font-size: 12.3px;
  line-height: 1.48;
  font-weight: 700;
  word-break: keep-all;
}

.note-list li:last-child {
  margin-bottom: 0;
}

.roberin-unemployment-ad {
  display: block;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 0 !important;
  overflow: hidden;
  text-align: center;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.roberin-unemployment-ad--after-tool {
  margin-top: 24px;
  margin-bottom: 24px;
}

.roberin-unemployment-ad--bottom {
  margin-top: 24px;
  margin-bottom: 24px;
}

.roberin-unemployment-ad .roberin-ad-label {
  display: block;
  margin: 0 0 6px;
  color: rgba(87, 72, 56, 0.72);
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

body.postid-1013 .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool + article,
body.postid-1013 .roberin-unemployment-ad--after-tool + article {
  margin-top: 0 !important;
}

@media (max-width: 900px) {
  body.postid-1013 .cs-breadcrumbs,
  body.postid-1013 .cs-entry__header,
  body.postid-1013 .unemployment-calculator-wrapper,
  body.postid-1013 .entry-content > article,
  body.postid-1013 .roberin-unemployment-ad {
    width: min(100% - 20px, 1080px);
  }

  .calculator-main {
    grid-template-columns: 1fr;
  }

  .info-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  body.postid-1013 .cs-breadcrumbs,
  body.postid-1013 .cs-entry__header,
  body.postid-1013 .unemployment-calculator-wrapper,
  body.postid-1013 .entry-content > article,
  body.postid-1013 .roberin-unemployment-ad {
    width: min(100% - 12px, 1080px);
  }

  .unemployment-calculator-container {
    padding: 10px;
    border-width: 2px;
    box-shadow: 3px 3px 0 rgba(72, 55, 40, 0.18);
  }

  .calculator-header h2 {
    font-size: 22px;
  }

  .calculator-header .subtitle,
  .subtitle {
    font-size: 13px;
  }

  .quick-actions,
  .radio-group {
    grid-template-columns: 1fr;
  }

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

  .result-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .result-value-box {
    justify-content: flex-start;
  }

  .info-table {
    min-width: 540px;
    font-size: 11.5px;
  }

  .info-table th,
  .info-table td {
    padding: 7px 5px;
  }

  .roberin-unemployment-ad,
  .roberin-unemployment-ad--after-tool,
  .roberin-unemployment-ad--bottom {
    margin-top: 18px;
    margin-bottom: 18px;
  }
}

body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) {
  --uc-paper: #2b2119;
  --uc-paper-soft: #33271d;
  --uc-panel: #33271d;
  --uc-input: #241c15;
  --uc-green: #344a32;
  --uc-green-ink: #f2e4cf;
  --uc-blue: #263b43;
  --uc-blue-ink: #f0dfc5;
  --uc-amber: #d2aa55;
  --uc-red: #f0a08d;
  --uc-ink: #f2e4cf;
  --uc-muted: #f0dfc5;
  --uc-line: #a98b6b;
  --uc-line-soft: rgba(169, 139, 107, 0.38);
  --uc-shadow: 4px 4px 0 rgba(0, 0, 0, 0.34);
  --uc-shadow-soft: 2px 2px 0 rgba(0, 0, 0, 0.24);
  background:
    linear-gradient(90deg, rgba(229, 196, 139, 0.045) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(229, 196, 139, 0.038) 1px, transparent 1px) 0 0 / 18px 18px,
    #201811 !important;
}

body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .cs-entry__title,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .calculator-header h2,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .section-title,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .result-value,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .checkbox-text,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .result-details {
  color: var(--uc-ink);
  -webkit-text-fill-color: var(--uc-ink);
}

body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .unemployment-calculator-container::before {
  background:
    linear-gradient(rgba(229, 196, 139, 0.060) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 196, 139, 0.050) 1px, transparent 1px);
  background-size: 20px 20px;
}

body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .btn-reset {
  background: #493025;
  color: #ffd7c6;
}

body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .btn-calculate {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: var(--uc-amber);
}

body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .date-input,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .text-input {
  color: var(--uc-ink);
  -webkit-text-fill-color: var(--uc-ink);
  background: var(--uc-input);
  border-color: var(--uc-line);
}

body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .date-input:focus,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .text-input:focus {
  background: #2f241b;
  box-shadow: 0 0 0 2px rgba(210, 170, 85, 0.22), inset 1px 1px 0 rgba(169, 139, 107, 0.14);
}

body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .text-input[readonly] {
  color: rgba(242, 228, 207, 0.75);
  -webkit-text-fill-color: rgba(242, 228, 207, 0.75);
  background: #2b2119;
}

body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .result-details,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .info-table,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .info-note,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .btn-copy,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .radio-button,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .checkbox-label {
  background: var(--uc-panel);
  border-color: var(--uc-line-soft);
}

body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .info-table thead th,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .info-table tbody th {
  color: var(--uc-ink);
  -webkit-text-fill-color: var(--uc-ink);
  background: #344a32;
}

body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .note-title,
body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .result-details strong {
  color: #f7df9d;
  -webkit-text-fill-color: #f7df9d;
}

body.postid-1013:is([data-scheme="dark"], [data-scheme="inverse"]) .roberin-unemployment-ad .roberin-ad-label {
  color: rgba(242, 228, 207, 0.72);
}

@media (prefers-color-scheme: dark) {
  body.postid-1013[data-scheme="auto"] {
    --uc-paper: #2b2119;
    --uc-paper-soft: #33271d;
    --uc-panel: #33271d;
    --uc-input: #241c15;
    --uc-green: #344a32;
    --uc-green-ink: #f2e4cf;
    --uc-blue: #263b43;
    --uc-blue-ink: #f0dfc5;
    --uc-amber: #d2aa55;
    --uc-red: #f0a08d;
    --uc-ink: #f2e4cf;
    --uc-muted: #f0dfc5;
    --uc-line: #a98b6b;
    --uc-line-soft: rgba(169, 139, 107, 0.38);
    background: #201811 !important;
  }
}

/* Phase 1 QA correction: keep after-tool ad rhythm balanced even when theme/article margins use !important. */
body.postid-1013 .unemployment-calculator-wrapper {
  margin-bottom: 0 !important;
}

body.postid-1013 .cs-entry__content > .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool,
body.postid-1013 .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool {
  margin-top: 24px !important;
  margin-bottom: 0 !important;
}

body.postid-1013 .cs-entry__content > .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool + article,
body.postid-1013 .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool + article,
body.postid-1013 .roberin-unemployment-ad--after-tool + article {
  margin-top: 24px !important;
}

@media (max-width: 767.98px) {
  body.postid-1013 .cs-entry__content > .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool,
  body.postid-1013 .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool {
    margin-top: 18px !important;
    margin-bottom: 0 !important;
  }

  body.postid-1013 .cs-entry__content > .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool + article,
  body.postid-1013 .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool + article,
  body.postid-1013 .roberin-unemployment-ad--after-tool + article {
    margin-top: 18px !important;
  }
}

/* Contain the first body heading margin so the after-tool ad gap measures and looks balanced. */
body.postid-1013 .roberin-unemployment-ad--after-tool + article {
  display: flow-root !important;
}

body.postid-1013 .roberin-unemployment-ad--after-tool + article .content1 > :first-child {
  margin-top: 0 !important;
}


/* ROBERIN unemployment calculator Phase 2 article, caution, and ad cleanup; structure mirrors PDF page deletion article */
body.postid-1013 {
  --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-1013[data-scheme="dark"],
body.postid-1013[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-1013 .entry-content article.roberin-article-body.unemployment-calculator-article,
body.postid-1013 .unemployment-calculator-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-1013 .unemployment-calculator-article,
body.postid-1013 .unemployment-calculator-article *,
body.postid-1013 .unemployment-calculator-article *::before,
body.postid-1013 .unemployment-calculator-article *::after {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

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

body.postid-1013 .unemployment-calculator-article__hero,
body.postid-1013 .unemployment-calculator-article__section {
  display: grid !important;
  gap: 13px !important;
  min-width: 0 !important;
  margin: 0 !important;
}

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

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

body.postid-1013 .unemployment-calculator-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-1013 .unemployment-calculator-article h2,
body.postid-1013 .unemployment-calculator-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-1013 .unemployment-calculator-article h2 {
  font-size: clamp(25px, 3vw, 30px) !important;
  font-weight: 950 !important;
  line-height: 1.18 !important;
}

body.postid-1013 .unemployment-calculator-article h3 {
  font-size: 19px !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
}

body.postid-1013 .unemployment-calculator-article p,
body.postid-1013 .unemployment-calculator-article li,
body.postid-1013 .unemployment-calculator-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-1013 .unemployment-calculator-article strong {
  color: var(--pdf-article-text) !important;
  -webkit-text-fill-color: var(--pdf-article-text) !important;
  font-weight: 920 !important;
}

body.postid-1013 .unemployment-calculator-article__nav {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
}

body.postid-1013 .unemployment-calculator-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-1013 .unemployment-calculator-article__nav a:hover,
body.postid-1013 .unemployment-calculator-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-1013 .unemployment-calculator-article__grid,
body.postid-1013 .unemployment-calculator-article__process-grid,
body.postid-1013 .unemployment-calculator-article__use-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  min-width: 0 !important;
}

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

body.postid-1013 .unemployment-calculator-article__card,
body.postid-1013 .unemployment-calculator-article__process,
body.postid-1013 .unemployment-calculator-article__use,
body.postid-1013 .unemployment-calculator-article__notice,
body.postid-1013 .unemployment-calculator-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-1013 .unemployment-calculator-article__notice {
  background: rgba(239, 225, 188, .64) !important;
  border-style: dashed !important;
}

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

body.postid-1013 .unemployment-calculator-article__use span,
body.postid-1013 .unemployment-calculator-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-1013 .unemployment-calculator-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-1013 .unemployment-calculator-article :is(ul, ol) {
  display: grid !important;
  gap: 8px !important;
  margin: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;
}

body.postid-1013 .unemployment-calculator-article ol,
body.postid-1013 .unemployment-calculator-article ol.unemployment-calculator-article__steps {
  counter-reset: pdf-article-step !important;
}

body.postid-1013 .unemployment-calculator-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-1013 .unemployment-calculator-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-1013 .unemployment-calculator-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-1013 .unemployment-calculator-article ol > li,
body.postid-1013 .unemployment-calculator-article ol.unemployment-calculator-article__steps > li {
  counter-increment: pdf-article-step !important;
}

body.postid-1013 .unemployment-calculator-article ol > li::before,
body.postid-1013 .unemployment-calculator-article ol.unemployment-calculator-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-1013 .unemployment-calculator-article__li-text {
  display: block !important;
  min-width: 0 !important;
  align-self: center !important;
}

body.postid-1013 .unemployment-calculator-article details {
  margin: 0 !important;
}

body.postid-1013 .unemployment-calculator-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;
}

body.postid-1013 .unemployment-calculator-article details[open] summary {
  margin-bottom: 8px !important;
}

body.postid-1013[data-scheme="dark"] .entry-content article.roberin-article-body.unemployment-calculator-article,
body.postid-1013[data-scheme="inverse"] .entry-content article.roberin-article-body.unemployment-calculator-article,
body.postid-1013[data-scheme="dark"] .unemployment-calculator-article,
body.postid-1013[data-scheme="inverse"] .unemployment-calculator-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-1013[data-scheme="dark"] .unemployment-calculator-article :is(h2, h3, strong, summary),
body.postid-1013[data-scheme="inverse"] .unemployment-calculator-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-1013[data-scheme="dark"] .unemployment-calculator-article :is(p, li, span),
body.postid-1013[data-scheme="inverse"] .unemployment-calculator-article :is(p, li, span) {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
}

body.postid-1013[data-scheme="dark"] .unemployment-calculator-article__card,
body.postid-1013[data-scheme="dark"] .unemployment-calculator-article__process,
body.postid-1013[data-scheme="dark"] .unemployment-calculator-article__use,
body.postid-1013[data-scheme="dark"] .unemployment-calculator-article__notice,
body.postid-1013[data-scheme="dark"] .unemployment-calculator-article details,
body.postid-1013[data-scheme="dark"] .unemployment-calculator-article__nav a,
body.postid-1013[data-scheme="inverse"] .unemployment-calculator-article__card,
body.postid-1013[data-scheme="inverse"] .unemployment-calculator-article__process,
body.postid-1013[data-scheme="inverse"] .unemployment-calculator-article__use,
body.postid-1013[data-scheme="inverse"] .unemployment-calculator-article__notice,
body.postid-1013[data-scheme="inverse"] .unemployment-calculator-article details,
body.postid-1013[data-scheme="inverse"] .unemployment-calculator-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-1013[data-scheme="dark"] .unemployment-calculator-article__notice,
body.postid-1013[data-scheme="dark"] .unemployment-calculator-article__process,
body.postid-1013[data-scheme="inverse"] .unemployment-calculator-article__notice,
body.postid-1013[data-scheme="inverse"] .unemployment-calculator-article__process {
  background-color: rgba(36, 28, 21, .56) !important;
}

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

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

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

@media (max-width: 640px) {
  body.postid-1013 .roberin-pdf-ad,
  body.postid-1013 .cs-custom-content-post-before {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-top: 18px !important;
    margin-bottom: 18px !important;
  }

  body.postid-1013 .roberin-pdf-ad ins.adsbygoogle,
  body.postid-1013 .cs-custom-content-post-before ins.adsbygoogle,
  body.postid-1013 .entry-content ins.adsbygoogle {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.postid-1013 .entry-content article.roberin-article-body.unemployment-calculator-article,
  body.postid-1013 .unemployment-calculator-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-1013 .unemployment-calculator-article__grid,
  body.postid-1013 .unemployment-calculator-article__process-grid,
  body.postid-1013 .unemployment-calculator-article__use-grid {
    grid-template-columns: 1fr !important;
  }

  body.postid-1013 .unemployment-calculator-article h3 {
    font-size: 18px !important;
  }
}

@media (max-width: 370px) {
  body.postid-1013 .unemployment-calculator-article h2 {
    font-size: 25.2px !important;
  }
}


/* Phase 2 body/ad rhythm: bottom ad follows the article without becoming a card. */
body.postid-1013 .unemployment-calculator-article + .roberin-unemployment-ad--bottom {
  margin-top: 24px !important;
}

@media (max-width: 767.98px) {
  body.postid-1013 .unemployment-calculator-article + .roberin-unemployment-ad--bottom {
    margin-top: 18px !important;
  }
}

/* Keep the approved after-tool ad gap symmetric after applying the PDF article wrapper rhythm. */
body.postid-1013 .roberin-unemployment-ad--after-tool + article.unemployment-calculator-article,
body.postid-1013 .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool + article.unemployment-calculator-article,
body.postid-1013 .cs-entry__content > .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool + article.unemployment-calculator-article {
  margin-top: 24px !important;
}

@media (max-width: 767.98px) {
  body.postid-1013 .roberin-unemployment-ad--after-tool + article.unemployment-calculator-article,
  body.postid-1013 .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool + article.unemployment-calculator-article,
  body.postid-1013 .cs-entry__content > .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool + article.unemployment-calculator-article {
    margin-top: 18px !important;
  }
}

/* 2026-05-15 compact density pass: user requested a smaller, tighter feel. */
body.postid-1013 .cs-breadcrumbs,
body.postid-1013 .cs-entry__header,
body.postid-1013 .unemployment-calculator-wrapper,
body.postid-1013 .roberin-unemployment-ad {
  width: min(1020px, calc(100vw - 32px));
  max-width: 1020px;
}

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

body.postid-1013 .cs-entry__title {
  font-size: clamp(28px, 2.8vw, 38px);
}

.unemployment-calculator-container {
  padding: 10px !important;
  line-height: 1.42 !important;
  box-shadow: 3px 3px 0 rgba(72, 55, 40, 0.18) !important;
}

.calculator-header {
  gap: 4px !important;
  margin-bottom: 7px !important;
  padding-bottom: 7px !important;
}

.calculator-header h2 {
  font-size: clamp(20px, 2.1vw, 26px) !important;
  line-height: 1.08 !important;
}

.calculator-header .subtitle,
.subtitle {
  max-width: 690px !important;
  font-size: 13px !important;
  line-height: 1.36 !important;
}

.quick-actions {
  gap: 6px !important;
  margin-bottom: 8px !important;
}

.btn-sample,
.btn-reset {
  min-height: 32px !important;
  padding: 6px 8px !important;
  font-size: 12.5px !important;
}

.btn-sample svg,
.btn-reset svg,
.btn-calculate svg,
.btn-copy svg,
.section-title svg {
  width: 14px !important;
  height: 14px !important;
}

.calculator-main {
  grid-template-columns: minmax(0, 1.05fr) minmax(310px, .95fr) !important;
  gap: 8px !important;
  margin-bottom: 8px !important;
}

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

.section-title {
  gap: 5px !important;
  margin-bottom: 7px !important;
  padding-bottom: 6px !important;
  font-size: 14.5px !important;
}

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

.input-group label,
.input-group > label {
  margin-bottom: 3px !important;
  font-size: 12.6px !important;
  line-height: 1.18 !important;
}

.date-input,
.text-input {
  min-height: 34px !important;
  padding: 7px 34px 7px 9px !important;
  font-size: 13px !important;
}

.input-unit {
  right: 9px !important;
  font-size: 12px !important;
}

.input-help,
.input-preview {
  margin-top: 3px !important;
  font-size: 11.2px !important;
  line-height: 1.28 !important;
}

.input-preview {
  min-height: 13px !important;
}

.error-message {
  min-height: 12px !important;
  margin-top: 2px !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
}

.radio-group,
.checkbox-group,
.result-container,
.info-notes {
  gap: 6px !important;
}

.radio-button {
  min-height: 32px !important;
  padding: 6px !important;
  font-size: 12px !important;
}

.checkbox-label {
  min-height: 34px !important;
  gap: 6px !important;
  padding: 6px 8px !important;
}

.checkbox-label input[type="checkbox"] {
  inline-size: 16px !important;
  block-size: 16px !important;
}

.checkbox-text {
  font-size: 12px !important;
  line-height: 1.24 !important;
}

.btn-calculate {
  min-height: 38px !important;
  margin-top: 6px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  box-shadow: 3px 3px 0 rgba(72, 55, 40, 0.18) !important;
}

.result-container {
  margin-bottom: 7px !important;
}

.result-item {
  gap: 7px !important;
  padding: 8px 9px !important;
}

.result-label,
.result-unit {
  font-size: 12px !important;
}

.result-value {
  font-size: clamp(15.5px, 1.6vw, 19px) !important;
}

.result-details {
  margin-bottom: 7px !important;
  padding: 8px !important;
  font-size: 11.6px !important;
  line-height: 1.42 !important;
}

.btn-copy {
  min-height: 32px !important;
  padding: 6px 8px !important;
  font-size: 12.5px !important;
}

.info-table-wrapper {
  margin-bottom: 7px !important;
}

.info-table {
  min-width: 560px !important;
  font-size: 11.4px !important;
  line-height: 1.22 !important;
}

.info-table th,
.info-table td {
  padding: 6px 5px !important;
}

.info-note {
  padding: 7px 8px !important;
  border-left-width: 3px !important;
}

.note-title {
  margin-bottom: 4px !important;
  font-size: 12px !important;
  line-height: 1.22 !important;
}

.note-list {
  padding-left: 15px !important;
}

.note-list li {
  margin-bottom: 2px !important;
  font-size: 11.2px !important;
  line-height: 1.3 !important;
}

body.postid-1013 .entry-content article.roberin-article-body.unemployment-calculator-article,
body.postid-1013 .unemployment-calculator-article {
  gap: 12px !important;
  width: min(920px, calc(100vw - 32px)) !important;
  max-width: 920px !important;
  padding: clamp(12px, 2vw, 20px) !important;
  line-height: 1.55 !important;
  box-shadow: 4px 4px 0 rgba(82, 65, 50, .18) !important;
}

body.postid-1013 .unemployment-calculator-article__hero,
body.postid-1013 .unemployment-calculator-article__section {
  gap: 9px !important;
}

body.postid-1013 .unemployment-calculator-article__hero {
  padding-bottom: 16px !important;
}

body.postid-1013 .unemployment-calculator-article__section + .unemployment-calculator-article__section {
  margin-top: 2px !important;
  padding-top: 16px !important;
}

body.postid-1013 .unemployment-calculator-article__kicker {
  min-height: 22px !important;
  padding: 4px 7px !important;
  font-size: 11px !important;
  box-shadow: 1px 1px 0 var(--pdf-article-soft-shadow) !important;
}

body.postid-1013 .unemployment-calculator-article h2 {
  font-size: clamp(21px, 2.3vw, 26px) !important;
  line-height: 1.14 !important;
}

body.postid-1013 .unemployment-calculator-article h3 {
  font-size: 16.5px !important;
  line-height: 1.22 !important;
}

body.postid-1013 .unemployment-calculator-article p,
body.postid-1013 .unemployment-calculator-article li,
body.postid-1013 .unemployment-calculator-article summary {
  font-size: 13.6px !important;
  line-height: 1.52 !important;
}

body.postid-1013 .unemployment-calculator-article__nav {
  gap: 6px !important;
}

body.postid-1013 .unemployment-calculator-article__nav a {
  min-height: 28px !important;
  padding: 4px 8px !important;
  font-size: 12px !important;
}

body.postid-1013 .unemployment-calculator-article__grid,
body.postid-1013 .unemployment-calculator-article__process-grid,
body.postid-1013 .unemployment-calculator-article__use-grid {
  gap: 7px !important;
}

body.postid-1013 .unemployment-calculator-article__card,
body.postid-1013 .unemployment-calculator-article__process,
body.postid-1013 .unemployment-calculator-article__use,
body.postid-1013 .unemployment-calculator-article__notice,
body.postid-1013 .unemployment-calculator-article details {
  gap: 5px !important;
  padding: 9px !important;
  box-shadow: 2px 2px 0 var(--pdf-article-soft-shadow) !important;
}

body.postid-1013 .unemployment-calculator-article__use span,
body.postid-1013 .unemployment-calculator-article__process span {
  font-size: 11px !important;
  line-height: 1.25 !important;
}

body.postid-1013 .unemployment-calculator-article :is(ul, ol) {
  gap: 6px !important;
}

body.postid-1013 .unemployment-calculator-article :is(ul, ol) > li {
  gap: 7px !important;
  min-height: 24px !important;
}

body.postid-1013 .unemployment-calculator-article ul > li::before {
  width: 8px !important;
  height: 8px !important;
}

body.postid-1013 .unemployment-calculator-article ol > li::before,
body.postid-1013 .unemployment-calculator-article ol.unemployment-calculator-article__steps > li::before {
  width: 18px !important;
  height: 18px !important;
  font-size: 10px !important;
}

body.postid-1013 .unemployment-calculator-article details[open] summary {
  margin-bottom: 6px !important;
}

body.postid-1013 .roberin-unemployment-ad--after-tool,
body.postid-1013 .cs-entry__content > .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool,
body.postid-1013 .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool {
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}

body.postid-1013 .roberin-unemployment-ad--after-tool + article.unemployment-calculator-article,
body.postid-1013 .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool + article.unemployment-calculator-article,
body.postid-1013 .cs-entry__content > .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool + article.unemployment-calculator-article {
  margin-top: 18px !important;
}

body.postid-1013 .unemployment-calculator-article + .roberin-unemployment-ad--bottom,
body.postid-1013 .roberin-unemployment-ad--bottom {
  margin-top: 18px !important;
  margin-bottom: 18px !important;
}

@media (max-width: 900px) {
  .calculator-main {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .info-notes {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  body.postid-1013 .cs-breadcrumbs,
  body.postid-1013 .cs-entry__header,
  body.postid-1013 .unemployment-calculator-wrapper,
  body.postid-1013 .entry-content > article,
  body.postid-1013 .roberin-unemployment-ad {
    width: min(100% - 12px, 1020px) !important;
  }

  .unemployment-calculator-container {
    padding: 8px !important;
  }

  .quick-actions,
  .radio-group {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .btn-sample,
  .btn-reset {
    gap: 3px !important;
    min-height: 30px !important;
    padding: 5px 4px !important;
    font-size: 10.8px !important;
    white-space: normal !important;
  }

  .btn-sample svg,
  .btn-reset svg {
    width: 12px !important;
    height: 12px !important;
  }

  .input-section,
  .result-section,
  .info-section {
    padding: 8px !important;
  }

  .date-input,
  .text-input {
    min-height: 32px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
  }

  .result-item {
    grid-template-columns: minmax(0, 1fr) auto !important;
    padding: 7px 8px !important;
  }

  .info-table {
    min-width: 500px !important;
    font-size: 10.8px !important;
  }

  body.postid-1013 .entry-content article.roberin-article-body.unemployment-calculator-article,
  body.postid-1013 .unemployment-calculator-article {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  body.postid-1013 .unemployment-calculator-article__hero,
  body.postid-1013 .unemployment-calculator-article__section {
    gap: 8px !important;
  }

  body.postid-1013 .unemployment-calculator-article__hero {
    padding-bottom: 13px !important;
  }

  body.postid-1013 .unemployment-calculator-article__section + .unemployment-calculator-article__section {
    padding-top: 13px !important;
  }

  body.postid-1013 .unemployment-calculator-article h2 {
    font-size: 20px !important;
  }

  body.postid-1013 .unemployment-calculator-article h3 {
    font-size: 15.5px !important;
  }

  body.postid-1013 .unemployment-calculator-article p,
  body.postid-1013 .unemployment-calculator-article li,
  body.postid-1013 .unemployment-calculator-article summary {
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  body.postid-1013 .unemployment-calculator-article__nav a {
    min-height: 26px !important;
    padding: 3px 7px !important;
    font-size: 11.3px !important;
  }

  body.postid-1013 .unemployment-calculator-article__card,
  body.postid-1013 .unemployment-calculator-article__process,
  body.postid-1013 .unemployment-calculator-article__use,
  body.postid-1013 .unemployment-calculator-article__notice,
  body.postid-1013 .unemployment-calculator-article details {
    padding: 8px !important;
  }

  body.postid-1013 .roberin-unemployment-ad--after-tool,
  body.postid-1013 .cs-entry__content > .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool,
  body.postid-1013 .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool {
    margin-top: 14px !important;
  }

  body.postid-1013 .roberin-unemployment-ad--after-tool + article.unemployment-calculator-article,
  body.postid-1013 .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool + article.unemployment-calculator-article,
  body.postid-1013 .cs-entry__content > .unemployment-calculator-wrapper + .roberin-unemployment-ad--after-tool + article.unemployment-calculator-article {
    margin-top: 14px !important;
  }

  body.postid-1013 .unemployment-calculator-article + .roberin-unemployment-ad--bottom,
  body.postid-1013 .roberin-unemployment-ad--bottom {
    margin-top: 14px !important;
    margin-bottom: 14px !important;
  }
}

/* 2026-05-15: Desktop input grid refinement.
   Keep the tool compact by placing input controls two per row where the
   content can still breathe. Mobile/tablet stays one-column. */
@media (min-width: 901px) {
  body.postid-1013 .input-section {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 7px 8px !important;
    align-items: start !important;
  }

  body.postid-1013 .input-section > .section-title,
  body.postid-1013 .input-section > #variedWageGroup,
  body.postid-1013 .input-section > #calculateBtn {
    grid-column: 1 / -1 !important;
  }

  body.postid-1013 .input-section > .input-group {
    min-width: 0 !important;
    margin-bottom: 0 !important;
  }

  body.postid-1013 .input-section .input-help {
    margin-top: 4px !important;
  }

  body.postid-1013 #variedWageGroup:not([hidden]) {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px 8px !important;
  }

  body.postid-1013 #variedWageGroup > label,
  body.postid-1013 #variedWageGroup > .input-preview,
  body.postid-1013 #variedWageGroup > .error-message {
    grid-column: 1 / -1 !important;
  }

  body.postid-1013 #variedWageGroup > .input-wrapper {
    min-width: 0 !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 900px) {
  body.postid-1013 .input-section {
    display: block !important;
  }
}
