
.content-page { padding: var(--sp-8, 32px) 0 var(--sp-12, 64px); max-width: 44rem; }
.content-page__crumbs { font-size: var(--fs-14, 14px); margin: 0 0 var(--sp-4, 16px); color: var(--color-text-muted, #475569); }
.content-page__crumbs a { color: inherit; }
.content-page h1 { margin-bottom: var(--sp-3, 12px); }
.content-page__meta { margin: 0 0 var(--sp-6, 24px); font-size: var(--fs-14, 14px); color: var(--color-text-muted, #475569); }
.content-page__body > * + * { margin-top: var(--sp-4, 16px); }
.content-page__body h2 { margin-top: var(--sp-8, 32px); font-size: var(--fs-24, 24px); }
.content-page__body h3 { margin-top: var(--sp-6, 24px); }
.content-page__body ul, .content-page__body ol { padding-left: 1.4em; }
.content-page__body li + li { margin-top: var(--sp-2, 8px); }
.content-page__body table { width: max-content; max-width: 100%; border-collapse: collapse; font-size: var(--fs-14, 14px); display: block; overflow-x: auto; }
.content-page__body th, .content-page__body td { text-align: left; font-variant-numeric: var(--num); padding: 8px 10px; border-bottom: 1px solid var(--color-border, #e2e8f0); vertical-align: top; }
.content-page__body th.num, .content-page__body td.num { text-align: right; }
.content-page__body td a { display: inline-block; min-height: 24px; line-height: 24px; }
.content-page__body blockquote { margin-left: 0; padding-left: var(--sp-4, 16px); border-left: 3px solid var(--color-border, #e2e8f0); }
.content-page__sources { margin-top: var(--sp-8, 32px); }
.content-page__sources h2 { font-size: var(--fs-20, 20px); }
.content-page__sources ul { padding-left: 1.4em; overflow-wrap: anywhere; }
.content-page__body a.url, .content-page__body code { overflow-wrap: anywhere; }
.content-page__body code { white-space: pre-wrap; }
.cp { max-width: none; }
.cp__head, .cp__body, .cp > .content-page__sources { max-width: 44rem; min-width: 0; }
.cp-toc { font-size: var(--fs-14, 14px); }
@media screen and (min-width: 1024px) {
  .cp { display: grid; grid-template-columns: 184px minmax(0, 44rem); column-gap: 40px; align-items: start; }
  .cp > * { grid-column: 2; }
  .cp > .cp-toc { grid-column: 1; grid-row: 1 / span 4; position: sticky; top: 88px; max-height: calc(100vh - 112px); overflow-y: auto; margin: 0; padding-top: 6px; overscroll-behavior: contain; }
}
@media screen and (max-width: 1023px) {
  .cp-toc { position: static; margin: 0 0 var(--sp-6, 24px); }
  .cp-toc details { border: 1px solid var(--color-line); border-radius: 10px; padding: 0 var(--sp-4, 16px); }
  .cp-toc summary { min-height: 48px; display: flex; align-items: center; font-weight: var(--fw-semibold); }
  .cp-toc ol { margin-bottom: var(--sp-3, 12px); }
}
.cp-toc a { overflow-wrap: anywhere; }
@media screen and (min-width: 1360px) { .cp-frame .rail { --rail-offset: var(--sp-8, 32px); } }
@media screen and (max-width: 760px) { body.cp-noads { padding-bottom: 0; } }
.cp__body .ad--mpu { margin: var(--sp-10, 40px) auto; }
.rules-card { margin: 0 0 var(--sp-8, 32px); padding: var(--sp-4, 16px) var(--sp-5, 20px); border-radius: 12px; background: var(--color-surface-tint); border: 1px solid var(--green-200); }
.rules-card__title { font-family: var(--font-body); font-size: var(--fs-16, 16px); font-weight: var(--fw-semibold); letter-spacing: 0; color: var(--color-text); margin: 0 0 var(--sp-2, 8px); }
.rules-card dl { margin: 0; display: grid; }
.rules-card dl > div { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: var(--sp-3, 12px); padding: 8px 0; border-top: 1px solid var(--green-200); }
.rules-card dl > div:first-child { border-top: 0; }
.rules-card dt { font-size: var(--fs-14, 14px); color: var(--color-text-muted); }
.rules-card dd { margin: 0; font-size: var(--fs-15, 15px); font-weight: var(--fw-semibold); color: var(--color-text); font-variant-numeric: var(--num); }
@media screen and (max-width: 520px) { .rules-card dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.dg-figure { margin: var(--sp-8, 32px) 0; }
.dg { display: block; width: 100%; height: auto; }
.dg--v { max-width: 420px; margin: 0 auto; }
@media screen and (min-width: 640px) { .dg--v { display: none; } }
@media screen and (max-width: 639px) { .dg--h { display: none; } }
.dg-box { fill: var(--white); stroke: var(--color-line); stroke-width: 1.5; }
.dg-box--key { fill: var(--color-surface-tint); stroke: var(--green-300); }
.dg-n { fill: var(--color-brand); font-weight: 700; font-size: 15px; font-family: var(--font-body); }
.dg-t { fill: var(--color-text); font-weight: 600; font-size: 15px; font-family: var(--font-body); }
.dg-s { fill: var(--color-text-muted); font-size: 12.5px; font-family: var(--font-body); }
.dg-arrow { fill: none; stroke: var(--color-brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dg-figure figcaption { margin-top: var(--sp-3, 12px); font-size: var(--fs-14, 14px); color: var(--color-text-muted); }
@media screen and (max-width: 640px) {
  .content-page__body table.states { display: block; overflow: visible; }
  .states thead { display: none; }
  .states tbody { display: block; }
  .states tr { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: var(--sp-3, 12px); padding: 12px 0; border-bottom: 1px solid var(--color-line); }
  .content-page__body .states td { padding: 0; border: 0; }
  .states td:first-child { font-weight: var(--fw-semibold); }
  .states td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; margin-top: 4px; }
  .states td:nth-child(3) { grid-row: 1; grid-column: 2; text-align: right; color: var(--color-text-muted); font-size: var(--fs-13, 13px); }
}
@media screen and (min-width: 961px) { .cp-toc details::details-content { content-visibility: visible; } }
.content-page__body h1, .content-page__body h2, .content-page__body h3 { overflow-wrap: anywhere; }
.content-page__body table { background: linear-gradient(to right, #fff 30%, rgb(255 255 255 / 0)) 0 0 / 40px 100% no-repeat local, linear-gradient(to left, #fff 30%, rgb(255 255 255 / 0)) 100% 0 / 40px 100% no-repeat local, linear-gradient(to right, rgb(20 35 29 / 0.14), rgb(20 35 29 / 0)) 0 0 / 14px 100% no-repeat scroll, linear-gradient(to left, rgb(20 35 29 / 0.14), rgb(20 35 29 / 0)) 100% 0 / 14px 100% no-repeat scroll; }
.content-page__body table:focus-visible { outline: 2px solid var(--color-brand, #1f6f4a); outline-offset: 2px; }
@media screen and (max-width: 15em) {
  .states tr { grid-template-columns: minmax(0, 1fr); }
  .states td:nth-child(2) { grid-row: auto; }
  .states td:nth-child(3) { grid-row: auto; grid-column: 1; text-align: left; }
}
@media screen and (max-width: 480px) {
  .cp__body:has(table[aria-label^="Working days by month"]) table :is(th, td) { padding-left: 5px; padding-right: 5px; }
  .cp__body:has(table[aria-label^="Working days by month"]) table :is(th, td):first-child { padding-left: 0; }
  .cp__body:has(table[aria-label^="Working days by month"]) table :is(th, td):last-child { padding-right: 0; }
  .cp__body table[aria-label^="Working days by month"] td.num { white-space: nowrap; }
}
@media screen and (max-width: 374px) {
  .cp__body:has(table[aria-label^="Working days by month"]) table { font-size: 13px; }
  .cp__body:has(table[aria-label^="Working days by month"]) table th { font-size: 12px; }
  .cp__body:has(table[aria-label^="Working days by month"]) table :is(th, td) { padding-left: 3px; padding-right: 3px; }
}
@media screen and (max-width: 640px) {
  .content-page__body table[aria-label="What is still taxed and what is not"] { display: block; overflow: visible; }
  table[aria-label="What is still taxed and what is not"] thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  table[aria-label="What is still taxed and what is not"] tbody { display: block; }
  table[aria-label="What is still taxed and what is not"] tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--color-line); }
  .content-page__body table[aria-label="What is still taxed and what is not"] td { display: block; padding: 0; border: 0; }
  table[aria-label="What is still taxed and what is not"] td:first-child { font-weight: var(--fw-semibold); }
  table[aria-label="What is still taxed and what is not"] td + td { margin-top: 4px; }
}
@media (min-width: 360px) {
  .cp__body table[aria-label="Which part of overtime is deductible?"] td.num { white-space: nowrap; }
}
