/* ROBERIN annual leave calculator redesign v2 - 2026-05-26 */
body.postid-1727 {
  --al-paper: #fff7e8;
  --al-paper-soft: #fbf0dc;
  --al-ink: #2b2119;
  --al-muted: #67584a;
  --al-line: #6b5745;
  --al-line-soft: rgba(107, 87, 69, 0.28);
  --al-green: #e3efd2;
  --al-green-ink: #2f4e2e;
  --al-blue: #dfeef8;
  --al-blue-ink: #28455a;
  --al-amber: #f7df9d;
  --al-red: #a43e2d;
  --al-white: #fffdf7;
  --al-shadow: 4px 4px 0 rgba(72, 55, 40, 0.22);
  --al-shadow-soft: 2px 2px 0 rgba(72, 55, 40, 0.14);
  --al-main-grid-columns: minmax(0, 0.94fr) minmax(0, 1.03fr) minmax(0, 1.08fr);
  background:
    linear-gradient(90deg, rgba(107, 87, 69, 0.025) 1px, transparent 1px) 0 0 / 18px 18px,
    linear-gradient(0deg, rgba(107, 87, 69, 0.022) 1px, transparent 1px) 0 0 / 18px 18px,
    #faf2e8;
}

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

body.postid-1727 .cs-breadcrumbs,
body.postid-1727 .cs-entry__header,
body.postid-1727 .annual-leave-wrapper {
  width: min(1050px, calc(100vw - 32px));
  max-width: 1050px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

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

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

.annual-leave-wrapper,
.annual-leave-wrapper *,
.annual-leave-wrapper *::before,
.annual-leave-wrapper *::after {
  box-sizing: border-box;
}

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

.annual-leave-wrapper br,
.annual-leave-calculator-container br {
  display: none !important;
}

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

.annual-leave-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(--al-line);
}

.tool-eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 3px 7px;
  color: var(--al-green-ink);
  background: var(--al-green);
  border: 1px solid var(--al-line);
  box-shadow: var(--al-shadow-soft);
  font-size: 12px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.02em;
}

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

.quick-actions {
  display: grid;
  grid-template-columns: var(--al-main-grid-columns);
  gap: 10px;
  margin: 0 0 10px;
}

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

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

.btn-quick {
  color: var(--al-green-ink);
  background: var(--al-green);
}

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

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

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

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

.calculator-main {
  display: grid;
  grid-template-columns: var(--al-main-grid-columns);
  gap: 10px;
  margin: 0 0 10px;
  align-items: start;
}

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

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

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

.input-row {
  display: grid;
  gap: 8px;
}

.input-row.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

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

.required {
  color: #8a3c2b;
  font-weight: 950;
}

.date-input-row,
.input-with-unit {
  display: flex;
  align-items: center;
  gap: 6px;
}

.date-input,
.number-input,
.select-input {
  min-width: 0;
  min-height: 40px;
  width: 100%;
  max-width: 100%;
  padding: 8px 10px;
  color: var(--al-ink);
  -webkit-text-fill-color: var(--al-ink);
  background: #fffdf8;
  border: 1px solid var(--al-line);
  border-radius: 0;
  box-shadow: inset 0 1px 0 rgba(107, 87, 69, 0.08);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
  color-scheme: light;
}

.number-input {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.select-input {
  cursor: pointer;
}

.unit {
  flex: 0 0 auto;
  min-width: 24px;
  color: var(--al-muted);
  font-size: 12.5px;
  line-height: 1;
  font-weight: 900;
}

.date-input:focus,
.number-input:focus,
.select-input:focus {
  background: #fff6d8;
  border-color: #5f4834;
  outline: none;
}

.btn-today {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 9px;
  color: var(--al-green-ink);
  background: var(--al-green);
  border: 1px solid var(--al-line);
  box-shadow: var(--al-shadow-soft);
  font-size: 12.5px;
  line-height: 1;
  font-weight: 950;
  white-space: nowrap;
}

.input-hint {
  margin: 0 0 10px;
  padding: 9px 10px;
  color: var(--al-muted);
  background: #fffaf0;
  border: 1px dashed rgba(107, 87, 69, 0.44);
  font-size: 12.5px;
  line-height: 1.48;
  font-weight: 700;
  word-break: keep-all;
}

.button-group {
  display: grid;
  grid-template-columns: 1fr 0.72fr 0.58fr;
  gap: 7px;
  margin-top: auto;
}

.btn-calculate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 42px;
  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;
  white-space: nowrap;
}

.btn-calculate--secondary {
  margin-top: 2px;
  min-height: 38px;
  font-size: 13.5px;
}

.result-display {
  display: grid;
  gap: 10px;
  text-align: left;
}

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

.big-number {
  margin: 0;
  color: var(--al-blue-ink);
  -webkit-text-fill-color: var(--al-blue-ink);
  font-family: inherit;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

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

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

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

.result-label-text,
.compare-card span {
  color: var(--al-muted);
  font-size: 11.5px;
  line-height: 1.1;
  font-weight: 900;
}

.result-value,
.compare-card strong {
  color: var(--al-ink);
  -webkit-text-fill-color: var(--al-ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.result-note {
  color: var(--al-muted);
  font-size: 10.8px;
  line-height: 1.25;
  font-weight: 700;
}

.progress-card,
.next-leave-box,
.allowance-panel,
.resignation-panel {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px;
  background: #fffdf8;
  border: 1px solid rgba(107, 87, 69, 0.34);
}

.progress-header,
.progress-labels {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--al-muted);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
}

.progress-header strong,
.next-leave-box strong {
  color: var(--al-ink);
  -webkit-text-fill-color: var(--al-ink);
  font-weight: 950;
}

.progress-bar {
  height: 10px;
  overflow: hidden;
  background: #ead7bd;
  border: 1px solid var(--al-line);
}

.progress-fill {
  display: block;
  width: 0;
  height: 100%;
  background: var(--al-green-ink);
  transition: width 180ms ease;
}

.next-leave-box span:last-child {
  color: var(--al-muted);
  font-size: 12px;
  line-height: 1.35;
  font-weight: 750;
}

.special-section {
  gap: 9px;
}

.allowance-panel h4,
.resignation-panel h4 {
  margin: 0;
  color: var(--al-ink);
  font-size: 13.5px;
  line-height: 1.2;
  font-weight: 950;
}

.allowance-result {
  display: grid;
  gap: 2px;
  padding: 11px;
  color: var(--al-blue-ink);
  background: var(--al-blue);
  border: 1px solid var(--al-line);
  text-align: center;
}

.allowance-result span {
  color: var(--al-muted);
  font-size: 12px;
  line-height: 1.15;
  font-weight: 900;
}

.allowance-result strong {
  color: var(--al-blue-ink);
  -webkit-text-fill-color: var(--al-blue-ink);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}

.summary-list {
  display: grid;
  gap: 4px;
  margin: 0;
}

.summary-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-width: 0;
  padding: 6px 8px;
  background: #fffaf0;
  border: 1px solid rgba(107, 87, 69, 0.26);
}

.summary-list dt,
.summary-list dd {
  margin: 0;
  min-width: 0;
}

.summary-list dt {
  color: var(--al-muted);
  font-size: 11.8px;
  line-height: 1.15;
  font-weight: 850;
}

.summary-list dd {
  color: var(--al-ink);
  -webkit-text-fill-color: var(--al-ink);
  font-size: 12.2px;
  line-height: 1.15;
  font-weight: 950;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.resignation-result {
  display: none;
  gap: 6px;
}

.resignation-result[style*="block"],
.resignation-result.show {
  display: grid !important;
}

.comparison-cards,
.resignation-result {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resignation-result .summary-list {
  grid-column: 1 / -1;
}

.compare-card.best {
  color: var(--al-green-ink);
  background: var(--al-green);
}

.info-section {
  margin: 0;
}

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

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

.info-card strong {
  display: block;
  margin: 0 0 4px;
  color: var(--al-ink);
  font-size: 12.5px;
  line-height: 1.2;
  font-weight: 950;
}

.info-card span {
  display: block;
  color: var(--al-muted);
  font-size: 12px;
  line-height: 1.45;
  font-weight: 700;
  word-break: keep-all;
}

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

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

.toast {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 9px 10px;
  color: var(--al-ink);
  background: var(--al-amber);
  border: 1px solid var(--al-line);
  box-shadow: var(--al-shadow-soft);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
}

.toast.show {
  display: flex;
}

.toast-title,
.toast-value {
  min-width: 0;
}

body.postid-1727 .roberin-ad,
body.postid-1727 .roberin-aicp-ad-guard {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.postid-1727 .after-tool-ad + article,
body.postid-1727 .roberin-ad--after-tool + article,
body.postid-1727 .annual-leave-wrapper + .roberin-ad + article {
  margin-top: 0 !important;
}

body.postid-1727 .annual-leave-ad--after-tool + article > .content1:first-child {
  margin-top: 24px !important;
}

@media (max-width: 980px) {
  body.postid-1727 .cs-breadcrumbs,
  body.postid-1727 .cs-entry__header,
  body.postid-1727 .annual-leave-wrapper {
    width: min(1050px, calc(100vw - 20px));
  }

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

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

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

@media (max-width: 640px) {
  body.postid-1727 .cs-breadcrumbs,
  body.postid-1727 .cs-entry__header,
  body.postid-1727 .annual-leave-wrapper {
    width: calc(100vw - 10px);
    max-width: calc(100vw - 10px);
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }

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

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

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

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

  .btn-quick,
  .btn-reset,
  .btn-secondary {
    min-height: 36px;
    padding: 7px 6px;
    font-size: 12px;
  }

  .calculator-main {
    gap: 8px;
    margin-bottom: 8px;
  }

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

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

  .date-input,
  .number-input,
  .select-input,
  .btn-today {
    min-height: 38px;
    font-size: 13.5px;
  }

  .input-row.two-col,
  .detail-results,
  .info-grid,
  .comparison-cards,
  .resignation-result {
    grid-template-columns: 1fr;
  }

  .button-group {
    grid-template-columns: 1fr;
  }

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

  .summary-list > div {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  body.postid-1727 .annual-leave-ad--after-tool + article > .content1:first-child {
    margin-top: 8px !important;
  }
}

@media (max-width: 380px) {
  .annual-leave-calculator-container {
    padding: 8px;
  }

  .date-input-row,
  .input-with-unit {
    gap: 5px;
  }

  .btn-quick {
    font-size: 11.5px;
  }

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

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

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

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

body.postid-1727[data-scheme="dark"] .calculator-header .subtitle,
body.postid-1727[data-scheme="inverse"] .calculator-header .subtitle,
body.postid-1727[data-scheme="dark"] .subtitle,
body.postid-1727[data-scheme="inverse"] .subtitle,
body.postid-1727[data-scheme="dark"] .input-group label,
body.postid-1727[data-scheme="inverse"] .input-group label,
body.postid-1727[data-scheme="dark"] .input-hint,
body.postid-1727[data-scheme="inverse"] .input-hint,
body.postid-1727[data-scheme="dark"] .result-label,
body.postid-1727[data-scheme="inverse"] .result-label,
body.postid-1727[data-scheme="dark"] .result-label-text,
body.postid-1727[data-scheme="inverse"] .result-label-text,
body.postid-1727[data-scheme="dark"] .compare-card span,
body.postid-1727[data-scheme="inverse"] .compare-card span,
body.postid-1727[data-scheme="dark"] .summary-list dt,
body.postid-1727[data-scheme="inverse"] .summary-list dt,
body.postid-1727[data-scheme="dark"] .info-card span,
body.postid-1727[data-scheme="inverse"] .info-card span,
body.postid-1727[data-scheme="dark"] .next-leave-box span:last-child,
body.postid-1727[data-scheme="inverse"] .next-leave-box span:last-child,
body.postid-1727[data-scheme="dark"] .unit,
body.postid-1727[data-scheme="inverse"] .unit {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
}

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

body.postid-1727[data-scheme="dark"] .annual-leave-calculator-container::before,
body.postid-1727[data-scheme="inverse"] .annual-leave-calculator-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.postid-1727[data-scheme="dark"] .input-section,
body.postid-1727[data-scheme="inverse"] .input-section,
body.postid-1727[data-scheme="dark"] .result-section,
body.postid-1727[data-scheme="inverse"] .result-section,
body.postid-1727[data-scheme="dark"] .special-section,
body.postid-1727[data-scheme="inverse"] .special-section,
body.postid-1727[data-scheme="dark"] .info-section,
body.postid-1727[data-scheme="inverse"] .info-section,
body.postid-1727[data-scheme="dark"] .progress-card,
body.postid-1727[data-scheme="inverse"] .progress-card,
body.postid-1727[data-scheme="dark"] .next-leave-box,
body.postid-1727[data-scheme="inverse"] .next-leave-box,
body.postid-1727[data-scheme="dark"] .allowance-panel,
body.postid-1727[data-scheme="inverse"] .allowance-panel,
body.postid-1727[data-scheme="dark"] .resignation-panel,
body.postid-1727[data-scheme="inverse"] .resignation-panel,
body.postid-1727[data-scheme="dark"] .info-card,
body.postid-1727[data-scheme="inverse"] .info-card,
body.postid-1727[data-scheme="dark"] .summary-list > div,
body.postid-1727[data-scheme="inverse"] .summary-list > div,
body.postid-1727[data-scheme="dark"] .result-item,
body.postid-1727[data-scheme="inverse"] .result-item,
body.postid-1727[data-scheme="dark"] .compare-card,
body.postid-1727[data-scheme="inverse"] .compare-card {
  color: #f7ebd8 !important;
  background: #33271d !important;
  border-color: #a98b6b !important;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.24) !important;
}

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

body.postid-1727[data-scheme="dark"] .date-input:focus,
body.postid-1727[data-scheme="inverse"] .date-input:focus,
body.postid-1727[data-scheme="dark"] .number-input:focus,
body.postid-1727[data-scheme="inverse"] .number-input:focus,
body.postid-1727[data-scheme="dark"] .select-input:focus,
body.postid-1727[data-scheme="inverse"] .select-input:focus {
  color: #fff7e8 !important;
  -webkit-text-fill-color: #fff7e8 !important;
  background: #2f251c !important;
  border-color: #f0c86a !important;
}

body.postid-1727[data-scheme="dark"] .date-input::-webkit-calendar-picker-indicator,
body.postid-1727[data-scheme="inverse"] .date-input::-webkit-calendar-picker-indicator {
  opacity: 0.95;
  filter: invert(94%) sepia(16%) saturate(520%) hue-rotate(345deg) brightness(106%) contrast(94%);
}

body.postid-1727[data-scheme="dark"] .btn-quick,
body.postid-1727[data-scheme="inverse"] .btn-quick,
body.postid-1727[data-scheme="dark"] .btn-today,
body.postid-1727[data-scheme="inverse"] .btn-today,
body.postid-1727[data-scheme="dark"] .tool-eyebrow,
body.postid-1727[data-scheme="inverse"] .tool-eyebrow,
body.postid-1727[data-scheme="dark"] .compare-card.best,
body.postid-1727[data-scheme="inverse"] .compare-card.best {
  color: #f7ebd8 !important;
  -webkit-text-fill-color: #f7ebd8 !important;
  background: #344a32 !important;
  border-color: #a98b6b !important;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.24) !important;
}

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

body.postid-1727[data-scheme="dark"] .btn-calculate,
body.postid-1727[data-scheme="inverse"] .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.postid-1727[data-scheme="dark"] .main-result,
body.postid-1727[data-scheme="inverse"] .main-result,
body.postid-1727[data-scheme="dark"] .allowance-result,
body.postid-1727[data-scheme="inverse"] .allowance-result {
  color: #f7ebd8 !important;
  background: #233c43 !important;
  border-color: #a98b6b !important;
  box-shadow: inset 0 0 0 1px rgba(240, 223, 197, 0.10) !important;
}

body.postid-1727[data-scheme="dark"] .big-number,
body.postid-1727[data-scheme="inverse"] .big-number,
body.postid-1727[data-scheme="dark"] .result-value,
body.postid-1727[data-scheme="inverse"] .result-value,
body.postid-1727[data-scheme="dark"] .compare-card strong,
body.postid-1727[data-scheme="inverse"] .compare-card strong,
body.postid-1727[data-scheme="dark"] .summary-list dd,
body.postid-1727[data-scheme="inverse"] .summary-list dd,
body.postid-1727[data-scheme="dark"] .info-card strong,
body.postid-1727[data-scheme="inverse"] .info-card strong,
body.postid-1727[data-scheme="dark"] .allowance-panel h4,
body.postid-1727[data-scheme="inverse"] .allowance-panel h4,
body.postid-1727[data-scheme="dark"] .resignation-panel h4,
body.postid-1727[data-scheme="inverse"] .resignation-panel h4,
body.postid-1727[data-scheme="dark"] .allowance-result strong,
body.postid-1727[data-scheme="inverse"] .allowance-result strong {
  color: #f7ebd8 !important;
  -webkit-text-fill-color: #f7ebd8 !important;
}

body.postid-1727[data-scheme="dark"] .progress-bar,
body.postid-1727[data-scheme="inverse"] .progress-bar {
  background: #241c15 !important;
  border-color: #725b46 !important;
}

body.postid-1727[data-scheme="dark"] .progress-fill,
body.postid-1727[data-scheme="inverse"] .progress-fill {
  background: #d2aa55 !important;
}

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

body.postid-1727[data-scheme="dark"] .warning-box strong,
body.postid-1727[data-scheme="inverse"] .warning-box strong {
  color: #f0c86a !important;
  -webkit-text-fill-color: #f0c86a !important;
}

body.postid-1727[data-scheme="dark"] .toast,
body.postid-1727[data-scheme="inverse"] .toast {
  color: #201811 !important;
  -webkit-text-fill-color: #201811 !important;
  background: #d2aa55 !important;
  border-color: #a98b6b !important;
}

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

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

body.postid-1727[data-scheme="dark"] .cs-header__menu a,
body.postid-1727[data-scheme="inverse"] .cs-header__menu a,
body.postid-1727[data-scheme="dark"] .cs-mobile-menu-dropdown a,
body.postid-1727[data-scheme="inverse"] .cs-mobile-menu-dropdown a,
body.postid-1727[data-scheme="dark"] .cs-lang-dropdown a,
body.postid-1727[data-scheme="inverse"] .cs-lang-dropdown a {
  color: #f0dfc5 !important;
  -webkit-text-fill-color: #f0dfc5 !important;
}

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

/* Annual leave Phase 2 article body — target namespace, PDF body rhythm */
body.postid-1727 .annual-leave-ad--after-tool {
  margin-top: 42px !important;
  margin-bottom: 8px !important;
}

body.postid-1727 .annual-leave-ad--bottom {
  margin-top: 42px !important;
  margin-bottom: 0 !important;
}

body.postid-1727 .roberin-article-body.annual-leave-article,
body.postid-1727 .roberin-article-body.annual-leave-article *,
body.postid-1727 .roberin-article-body.annual-leave-article *::before,
body.postid-1727 .roberin-article-body.annual-leave-article *::after {
  box-sizing: border-box;
}

body.postid-1727 .roberin-article-body.annual-leave-article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  width: min(980px, calc(100vw - 32px));
  max-width: 980px;
  margin: 42px auto;
  padding: 28px;
  color: #34281f;
  -webkit-text-fill-color: #34281f;
  background: #f8efe2;
  border: 2px solid #6b5745;
  border-radius: 0;
  box-shadow: 5px 5px 0 rgba(82, 65, 50, 0.22);
  font-size: 16px;
  line-height: 1.72;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

body.postid-1727 .annual-leave-article__hero,
body.postid-1727 .annual-leave-article__section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 13px;
  margin: 0;
  padding: 0;
  color: inherit;
  -webkit-text-fill-color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.postid-1727 .annual-leave-article__hero {
  padding-bottom: 22px;
  border-bottom: 1px dashed rgba(107, 87, 69, 0.34);
}

body.postid-1727 .annual-leave-article__section + .annual-leave-article__section {
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px dashed rgba(107, 87, 69, 0.34);
}

body.postid-1727 .annual-leave-article__kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0;
  padding: 4px 8px;
  color: #2f4e2e;
  -webkit-text-fill-color: #2f4e2e;
  background: #e2edd8;
  border: 1px solid #6b5745;
  border-radius: 0;
  box-shadow: 2px 2px 0 rgba(82, 65, 50, 0.14);
  font-size: 13px;
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.02em;
}

body.postid-1727 .annual-leave-article h2,
body.postid-1727 .annual-leave-article h3,
body.postid-1727 .annual-leave-article p,
body.postid-1727 .annual-leave-article ol,
body.postid-1727 .annual-leave-article ul,
body.postid-1727 .annual-leave-article details,
body.postid-1727 .annual-leave-article summary {
  margin-top: 0;
}

body.postid-1727 .annual-leave-article h2 {
  margin: 0;
  padding: 0;
  color: #34281f;
  -webkit-text-fill-color: #34281f;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 30px;
  line-height: 1.18;
  font-weight: 950;
  letter-spacing: -0.045em;
}

body.postid-1727 .annual-leave-article h3 {
  margin: 0;
  padding: 0;
  color: #7a412f;
  -webkit-text-fill-color: #7a412f;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 17px;
  line-height: 1.28;
  font-weight: 950;
  letter-spacing: -0.02em;
}

body.postid-1727 .annual-leave-article p {
  margin: 0;
  color: #574838;
  -webkit-text-fill-color: #574838;
  font-weight: 650;
}

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

body.postid-1727 .annual-leave-article__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 10px;
  color: #34281f;
  -webkit-text-fill-color: #34281f;
  background: #fff8ed;
  border: 1px solid #6b5745;
  border-radius: 0;
  box-shadow: 2px 2px 0 rgba(82, 65, 50, 0.14);
  font-size: 13px;
  line-height: 1.1;
  font-weight: 900;
  text-decoration: none;
}

body.postid-1727 .annual-leave-article__grid,
body.postid-1727 .annual-leave-article__process-grid,
body.postid-1727 .annual-leave-article__use-grid {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

body.postid-1727 .annual-leave-article__grid,
body.postid-1727 .annual-leave-article__process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.postid-1727 .annual-leave-article__use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.postid-1727 .annual-leave-article__card,
body.postid-1727 .annual-leave-article__use,
body.postid-1727 .annual-leave-article details {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 12px;
  color: #574838;
  -webkit-text-fill-color: #574838;
  background: #fff8ed;
  border: 1px solid #6b5745;
  border-radius: 0;
  box-shadow: 3px 3px 0 rgba(82, 65, 50, 0.13);
}

body.postid-1727 .annual-leave-article__process {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 12px;
  color: #574838;
  -webkit-text-fill-color: #574838;
  background: #fff8ed;
  border: 1px solid #6b5745;
  border-radius: 0;
  box-shadow: 3px 3px 0 rgba(82, 65, 50, 0.13);
}

body.postid-1727 .annual-leave-article__process span {
  color: #7a412f;
  -webkit-text-fill-color: #7a412f;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 950;
}

body.postid-1727 .annual-leave-article code {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 3px 6px;
  color: #34281f;
  -webkit-text-fill-color: #34281f;
  background: #f7df9d;
  border: 1px solid rgba(107, 87, 69, 0.48);
  border-radius: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.35;
  white-space: normal;
}

body.postid-1727 .annual-leave-article__steps,
body.postid-1727 .annual-leave-article__notice ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: annual-leave-step;
}

body.postid-1727 .annual-leave-article__steps > li,
body.postid-1727 .annual-leave-article__notice li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  column-gap: 9px;
  margin: 0;
  padding: 0;
  color: #574838;
  -webkit-text-fill-color: #574838;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: 15px;
  line-height: 1.72;
  font-weight: 680;
}

body.postid-1727 .annual-leave-article__steps > li {
  counter-increment: annual-leave-step;
}

body.postid-1727 .annual-leave-article__steps > li::before,
body.postid-1727 .annual-leave-article__notice li::before {
  position: static;
  transform: none;
  align-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  min-width: 20px;
  height: 20px;
  margin-top: 3px;
  color: #34281f;
  -webkit-text-fill-color: #34281f;
  background: #e2edd8;
  border: 1px solid #6b5745;
  border-radius: 0;
  box-shadow: 2px 2px 0 rgba(82, 65, 50, 0.14);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

body.postid-1727 .annual-leave-article__steps > li::before {
  content: counter(annual-leave-step);
}

body.postid-1727 .annual-leave-article__notice li::before {
  content: "•";
}

body.postid-1727 .annual-leave-article__li-text {
  display: block;
  min-width: 0;
  color: #574838;
  -webkit-text-fill-color: #574838;
}

body.postid-1727 .annual-leave-article__li-text strong {
  color: #34281f;
  -webkit-text-fill-color: #34281f;
  font-weight: 950;
}

body.postid-1727 .annual-leave-article__notice {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 12px;
  color: #574838;
  -webkit-text-fill-color: #574838;
  background: rgba(239, 225, 188, 0.64);
  border: 1px dashed #6b5745;
  border-radius: 0;
  box-shadow: 3px 3px 0 rgba(82, 65, 50, 0.13);
}

body.postid-1727 .annual-leave-article details summary {
  display: list-item;
  list-style-position: inside;
  margin: 0;
  color: #34281f;
  -webkit-text-fill-color: #34281f;
  font-weight: 950;
  cursor: pointer;
}

body.postid-1727 .annual-leave-article details p {
  margin-top: 7px;
}

@media (max-width: 640px) {
  body.postid-1727 .annual-leave-ad--after-tool {
    margin-top: 24px !important;
    margin-bottom: 8px !important;
  }

  body.postid-1727 .annual-leave-ad--bottom {
    margin-top: 24px !important;
  }

  body.postid-1727 .roberin-article-body.annual-leave-article {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin: 24px auto;
    padding: 12px;
    box-shadow: 4px 4px 0 rgba(82, 65, 50, 0.16);
    font-size: 15px;
    line-height: 1.72;
    transform: none;
  }

  body.postid-1727 .annual-leave-article h2 {
    font-size: clamp(24px, 7vw, 25.2px);
    line-height: 1.18;
  }

  body.postid-1727 .annual-leave-article__grid,
  body.postid-1727 .annual-leave-article__process-grid,
  body.postid-1727 .annual-leave-article__use-grid {
    grid-template-columns: 1fr;
  }

  body.postid-1727 .annual-leave-article__nav a {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 12.5px;
  }

  body.postid-1727 .annual-leave-article__card,
  body.postid-1727 .annual-leave-article__use,
  body.postid-1727 .annual-leave-article__process,
  body.postid-1727 .annual-leave-article__notice,
  body.postid-1727 .annual-leave-article details {
    padding: 12px;
  }
}

body.postid-1727[data-scheme="dark"] .roberin-article-body.annual-leave-article,
body.postid-1727[data-scheme="inverse"] .roberin-article-body.annual-leave-article {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
  background: #33271d;
  border-color: #a98b6b;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.32);
}

body.postid-1727[data-scheme="dark"] .annual-leave-article__hero,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__hero,
body.postid-1727[data-scheme="dark"] .annual-leave-article__section + .annual-leave-article__section,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__section + .annual-leave-article__section {
  border-color: rgba(169, 139, 107, 0.46);
}

body.postid-1727[data-scheme="dark"] .annual-leave-article h2,
body.postid-1727[data-scheme="inverse"] .annual-leave-article h2,
body.postid-1727[data-scheme="dark"] .annual-leave-article details summary,
body.postid-1727[data-scheme="inverse"] .annual-leave-article details summary,
body.postid-1727[data-scheme="dark"] .annual-leave-article__li-text strong,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__li-text strong {
  color: #f2e4cf;
  -webkit-text-fill-color: #f2e4cf;
}

body.postid-1727[data-scheme="dark"] .annual-leave-article h3,
body.postid-1727[data-scheme="inverse"] .annual-leave-article h3,
body.postid-1727[data-scheme="dark"] .annual-leave-article__process span,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__process span {
  color: #d2aa55;
  -webkit-text-fill-color: #d2aa55;
}

body.postid-1727[data-scheme="dark"] .annual-leave-article p,
body.postid-1727[data-scheme="inverse"] .annual-leave-article p,
body.postid-1727[data-scheme="dark"] .annual-leave-article__li-text,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__li-text,
body.postid-1727[data-scheme="dark"] .annual-leave-article__steps > li,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__steps > li,
body.postid-1727[data-scheme="dark"] .annual-leave-article__notice li,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__notice li {
  color: #f0dfc5;
  -webkit-text-fill-color: #f0dfc5;
}

body.postid-1727[data-scheme="dark"] .annual-leave-article__kicker,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__kicker,
body.postid-1727[data-scheme="dark"] .annual-leave-article__steps > li::before,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__steps > li::before,
body.postid-1727[data-scheme="dark"] .annual-leave-article__notice li::before,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__notice li::before {
  color: #f7ebd8;
  -webkit-text-fill-color: #f7ebd8;
  background: #344a32;
  border-color: #a98b6b;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.28);
}

body.postid-1727[data-scheme="dark"] .annual-leave-article__nav a,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__nav a,
body.postid-1727[data-scheme="dark"] .annual-leave-article__card,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__card,
body.postid-1727[data-scheme="dark"] .annual-leave-article__use,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__use,
body.postid-1727[data-scheme="dark"] .annual-leave-article__process,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__process,
body.postid-1727[data-scheme="dark"] .annual-leave-article details,
body.postid-1727[data-scheme="inverse"] .annual-leave-article details {
  color: #f0dfc5;
  -webkit-text-fill-color: #f0dfc5;
  background: #33271d;
  border-color: rgba(169, 139, 107, 0.72);
  box-shadow: 3px 3px 0 rgba(32, 24, 17, 0.52);
}

body.postid-1727[data-scheme="dark"] .annual-leave-article__notice,
body.postid-1727[data-scheme="inverse"] .annual-leave-article__notice {
  color: #f0dfc5;
  -webkit-text-fill-color: #f0dfc5;
  background: rgba(36, 28, 21, 0.56);
  border-color: rgba(169, 139, 107, 0.72);
  box-shadow: 3px 3px 0 rgba(32, 24, 17, 0.52);
}

body.postid-1727[data-scheme="dark"] .annual-leave-article code,
body.postid-1727[data-scheme="inverse"] .annual-leave-article code {
  color: #241c15;
  -webkit-text-fill-color: #241c15;
  background: #d2aa55;
  border-color: rgba(169, 139, 107, 0.72);
}

/* Phase 2 body hard overrides against legacy article/global SEO styles */
body.postid-1727 .entry-content > article.roberin-article-body.annual-leave-article {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 18px !important;
  width: min(980px, calc(100vw - 32px)) !important;
  max-width: 980px !important;
  margin: 42px auto !important;
  padding: 28px !important;
  box-shadow: 5px 5px 0 rgba(82, 65, 50, 0.22) !important;
  line-height: 27.52px !important;
}

body.postid-1727 .entry-content > .annual-leave-ad--after-tool {
  margin-top: 42px !important;
  margin-bottom: 8px !important;
}

body.postid-1727 .entry-content > .annual-leave-ad--bottom {
  margin-top: 42px !important;
}

body.postid-1727 .entry-content > article.annual-leave-article > header.annual-leave-article__hero,
body.postid-1727 .entry-content > article.annual-leave-article > section.annual-leave-article__section {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 13px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  line-height: 27.52px !important;
}

body.postid-1727 .entry-content > article.annual-leave-article > header.annual-leave-article__hero {
  padding-bottom: 22px !important;
  border-bottom: 1px dashed rgba(107, 87, 69, 0.34) !important;
}

body.postid-1727 .entry-content > article.annual-leave-article > section.annual-leave-article__section + section.annual-leave-article__section {
  margin-top: 6px !important;
  padding-top: 22px !important;
  border-top: 1px dashed rgba(107, 87, 69, 0.34) !important;
}

body.postid-1727 .entry-content article.annual-leave-article h2 {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #34281f !important;
  -webkit-text-fill-color: #34281f !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-size: 30px !important;
  line-height: 35.4px !important;
  font-weight: 950 !important;
}

body.postid-1727 .entry-content article.annual-leave-article h3 {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.postid-1727 .entry-content article.annual-leave-article p,
body.postid-1727 .entry-content article.annual-leave-article li,
body.postid-1727 .entry-content article.annual-leave-article details {
  line-height: 27.52px !important;
}

body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__grid,
body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__process-grid,
body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__use-grid {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__grid,
body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__process-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__use-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__card,
body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__use,
body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__process,
body.postid-1727 .entry-content article.annual-leave-article details {
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 12px !important;
  border-radius: 0 !important;
}

body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__steps,
body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__notice ul {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  counter-reset: annual-leave-step !important;
}

body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__steps > li,
body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__notice li {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  align-items: start !important;
  column-gap: 9px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  font-size: 15px !important;
  line-height: 25.8px !important;
  font-weight: 680 !important;
}

body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__steps > li {
  counter-increment: annual-leave-step !important;
}

body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__steps > li::before,
body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__notice li::before {
  position: static !important;
  transform: none !important;
  align-self: start !important;
  display: inline-flex !important;
  width: 20px !important;
  min-width: 20px !important;
  height: 20px !important;
  margin: 3px 0 0 !important;
  box-shadow: 2px 2px 0 rgba(82, 65, 50, 0.14) !important;
}

body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__steps > li::before {
  content: counter(annual-leave-step) !important;
}

body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__notice li::before {
  content: "•" !important;
}

body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__li-text {
  display: block !important;
  min-width: 0 !important;
}

body.postid-1727 .entry-content article.annual-leave-article details summary {
  display: list-item !important;
  list-style-position: inside !important;
  margin: 0 !important;
}

@media (max-width: 640px) {
  body.postid-1727 .entry-content > article.roberin-article-body.annual-leave-article {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin: 24px auto !important;
    padding: 12px !important;
    line-height: 25.8px !important;
    transform: none !important;
  }
  body.postid-1727 .entry-content article.annual-leave-article h2 {
    font-size: clamp(24px, 7vw, 25.2px) !important;
    line-height: 1.18 !important;
  }
  body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__grid,
  body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__process-grid,
  body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__use-grid {
    grid-template-columns: 1fr !important;
  }
  body.postid-1727 .entry-content > .annual-leave-ad--after-tool {
    margin-top: 24px !important;
  }
  body.postid-1727 .entry-content > .annual-leave-ad--bottom {
    margin-top: 24px !important;
  }
}

body.postid-1727[data-scheme="dark"] .entry-content > article.roberin-article-body.annual-leave-article,
body.postid-1727[data-scheme="inverse"] .entry-content > article.roberin-article-body.annual-leave-article {
  border-color: #a98b6b !important;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.32) !important;
}

body.postid-1727[data-scheme="dark"] .entry-content article.annual-leave-article h2,
body.postid-1727[data-scheme="inverse"] .entry-content article.annual-leave-article h2 {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.postid-1727[data-scheme="dark"] .entry-content > article.annual-leave-article > header.annual-leave-article__hero,
body.postid-1727[data-scheme="inverse"] .entry-content > article.annual-leave-article > header.annual-leave-article__hero {
  border-bottom-color: rgba(169, 139, 107, 0.46) !important;
}
body.postid-1727[data-scheme="dark"] .entry-content > article.annual-leave-article > section.annual-leave-article__section + section.annual-leave-article__section,
body.postid-1727[data-scheme="inverse"] .entry-content > article.annual-leave-article > section.annual-leave-article__section + section.annual-leave-article__section {
  border-top-color: rgba(169, 139, 107, 0.46) !important;
}


/* Phase 2 body v5: PDF-reference dark/article-summary hard overrides */
body.postid-1727 .entry-content article.annual-leave-article details summary {
  font-size: 15px !important;
  line-height: 21.75px !important;
}

body.postid-1727[data-scheme="dark"] .entry-content > article.roberin-article-body.annual-leave-article,
body.postid-1727[data-scheme="inverse"] .entry-content > article.roberin-article-body.annual-leave-article {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: #33271d !important;
  border-color: #a98b6b !important;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.32) !important;
}

body.postid-1727[data-scheme="dark"] .entry-content > article.annual-leave-article > header.annual-leave-article__hero,
body.postid-1727[data-scheme="inverse"] .entry-content > article.annual-leave-article > header.annual-leave-article__hero,
body.postid-1727[data-scheme="dark"] .entry-content > article.annual-leave-article > section.annual-leave-article__section,
body.postid-1727[data-scheme="inverse"] .entry-content > article.annual-leave-article > section.annual-leave-article__section,
body.postid-1727[data-scheme="dark"] .entry-content article.annual-leave-article .annual-leave-article__nav,
body.postid-1727[data-scheme="inverse"] .entry-content article.annual-leave-article .annual-leave-article__nav {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: transparent !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-color: rgba(169, 139, 107, 0.46) !important;
  box-shadow: none !important;
}

body.postid-1727[data-scheme="dark"] .entry-content article.annual-leave-article h2,
body.postid-1727[data-scheme="inverse"] .entry-content article.annual-leave-article h2,
body.postid-1727[data-scheme="dark"] .entry-content article.annual-leave-article details summary,
body.postid-1727[data-scheme="inverse"] .entry-content article.annual-leave-article details summary {
  color: #f2e4cf !important;
  -webkit-text-fill-color: #f2e4cf !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* Phase 2 body v6: final PDF-reference parity for dark zero-borders and mobile rhythm */
body.postid-1727[data-scheme="dark"] .entry-content > article.annual-leave-article > header.annual-leave-article__hero,
body.postid-1727[data-scheme="inverse"] .entry-content > article.annual-leave-article > header.annual-leave-article__hero,
body.postid-1727[data-scheme="dark"] .entry-content > article.annual-leave-article > section.annual-leave-article__section,
body.postid-1727[data-scheme="inverse"] .entry-content > article.annual-leave-article > section.annual-leave-article__section,
body.postid-1727[data-scheme="dark"] .entry-content article.annual-leave-article .annual-leave-article__nav,
body.postid-1727[data-scheme="inverse"] .entry-content article.annual-leave-article .annual-leave-article__nav {
  border-color: #f2e4cf !important;
}

body.postid-1727[data-scheme="dark"] .entry-content > article.annual-leave-article > header.annual-leave-article__hero,
body.postid-1727[data-scheme="inverse"] .entry-content > article.annual-leave-article > header.annual-leave-article__hero {
  border-bottom-color: rgba(169, 139, 107, 0.46) !important;
}

body.postid-1727[data-scheme="dark"] .entry-content > article.annual-leave-article > section.annual-leave-article__section + section.annual-leave-article__section,
body.postid-1727[data-scheme="inverse"] .entry-content > article.annual-leave-article > section.annual-leave-article__section + section.annual-leave-article__section {
  border-top-color: rgba(169, 139, 107, 0.46) !important;
}

@media (max-width: 640px) {
  body.postid-1727 .entry-content > article.roberin-article-body.annual-leave-article {
    box-shadow: 4px 4px 0 rgba(82, 65, 50, 0.16) !important;
    line-height: 25.8px !important;
  }
  body.postid-1727 .entry-content > article.annual-leave-article > header.annual-leave-article__hero,
  body.postid-1727 .entry-content > article.annual-leave-article > section.annual-leave-article__section,
  body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__nav,
  body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__grid,
  body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__process-grid,
  body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__use-grid,
  body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__card,
  body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__process,
  body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__use,
  body.postid-1727 .entry-content article.annual-leave-article .annual-leave-article__notice,
  body.postid-1727 .entry-content article.annual-leave-article details {
    line-height: 25.8px !important;
  }
  body.postid-1727 .entry-content article.annual-leave-article h2 {
    font-size: 25.2px !important;
    line-height: 29.736px !important;
  }
}

@media (min-width: 380px) and (max-width: 640px) {
  body.postid-1727 .entry-content article.annual-leave-article h2 {
    font-size: 25px !important;
    line-height: 29.5px !important;
  }
}


/* Phase 2 body v7: mobile dark article shadow matches PDF reference */
@media (max-width: 640px) {
  body.postid-1727[data-scheme="dark"] .entry-content > article.roberin-article-body.annual-leave-article,
  body.postid-1727[data-scheme="inverse"] .entry-content > article.roberin-article-body.annual-leave-article {
    box-shadow: 4px 4px 0 rgba(82, 65, 50, 0.16) !important;
  }
}
