/* Finin2min Labour Chapter Guides — readability layer v2
   Scoped to body.f2-labour-guide-v2 so it cannot alter unrelated site pages. */
html{scroll-behavior:smooth;overflow-x:hidden}
body.f2-labour-guide-v2{margin:0;overflow-x:hidden;background:#f5f7fb;color:#1b2b3a;font-family:Inter,Arial,Helvetica,sans-serif}
body.f2-labour-guide-v2 *{box-sizing:border-box}
body.f2-labour-guide-v2 img,body.f2-labour-guide-v2 svg,body.f2-labour-guide-v2 iframe{max-width:100%}
body.f2-labour-guide-v2 [id]{scroll-margin-top:84px}

/* Publication-series shell: neutralise old broad labour theme collisions. */
body.f2-labour-guide-v2 .pubseries-scope{--f2-navy:#0d2b45;--f2-blue:#12617b;--f2-teal:#087f72;--f2-gold:#a85f00;--f2-ink:#1b2b3a;--f2-muted:#607184;--f2-line:#d7e2e9;--f2-soft:#f5f9fb;--f2-card:#fff;background:#f5f7fb!important;color:var(--f2-ink)!important;min-width:0;width:100%}
body.f2-labour-guide-v2 .pubseries-scope .wrap{width:min(100%,1360px)!important;max-width:1360px!important;margin:0 auto!important;background:#fff!important;min-width:0;box-shadow:0 12px 36px rgba(15,35,55,.06)!important}
body.f2-labour-guide-v2 .pubseries-scope .hero{position:relative!important;margin:0!important;padding:44px clamp(22px,5vw,68px)!important;background:linear-gradient(135deg,#f8fcff 0%,#eef9f7 100%)!important;color:var(--f2-ink)!important;border:0!important;border-bottom:1px solid var(--f2-line)!important;overflow:hidden!important}
body.f2-labour-guide-v2 .pubseries-scope .hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:linear-gradient(#1384a0,#07836f)}
body.f2-labour-guide-v2 .pubseries-scope .hero .kicker,body.f2-labour-guide-v2 .pubseries-scope .kicker{color:#08748a!important;font-size:.78rem!important;font-weight:800!important;letter-spacing:.1em!important;text-transform:uppercase!important}
body.f2-labour-guide-v2 .pubseries-scope .hero h1{max-width:1120px!important;margin:.35rem 0 .8rem!important;color:#0d2b45!important;font-size:clamp(2rem,4.2vw,3.65rem)!important;line-height:1.08!important;letter-spacing:-.025em!important;overflow-wrap:break-word!important}
body.f2-labour-guide-v2 .pubseries-scope .hero p,body.f2-labour-guide-v2 .pubseries-scope .hero .lead,body.f2-labour-guide-v2 .pubseries-scope .hero .small{max-width:1020px!important;color:#425a70!important;font-size:clamp(.96rem,1.35vw,1.09rem)!important;line-height:1.65!important;opacity:1!important}
body.f2-labour-guide-v2 .pubseries-scope .pills,body.f2-labour-guide-v2 .pubseries-scope .meta{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin-top:16px!important}
body.f2-labour-guide-v2 .pubseries-scope .pill{display:inline-flex!important;align-items:center!important;min-height:34px!important;border:1px solid #bad3de!important;border-radius:999px!important;padding:6px 11px!important;background:#fff!important;color:#16435c!important;font-size:.82rem!important;font-weight:650!important;white-space:normal!important}

/* Fix the chapter article grid. */
body.f2-labour-guide-v2 .pubseries-scope .layout{display:grid!important;grid-template-columns:minmax(230px,270px) minmax(0,1fr)!important;align-items:start!important;gap:26px!important;width:min(100%,1400px)!important;max-width:1400px!important;margin:26px auto!important;padding:0 24px 56px!important;min-width:0!important}
body.f2-labour-guide-v2 .pubseries-scope .layout>*{min-width:0!important;max-width:100%!important}
body.f2-labour-guide-v2 .pubseries-scope main.content,body.f2-labour-guide-v2 .pubseries-scope .content{min-width:0!important;max-width:100%!important}
body.f2-labour-guide-v2 .pubseries-scope .toc{position:sticky!important;top:78px!important;align-self:start!important;width:100%!important;max-width:100%!important;max-height:calc(100vh - 96px)!important;overflow-y:auto!important;overflow-x:hidden!important;columns:1!important;column-count:1!important;padding:18px!important;margin:0!important;background:#fff!important;border:1px solid var(--f2-line)!important;border-radius:14px!important;box-shadow:0 8px 22px rgba(15,35,55,.05)!important}
body.f2-labour-guide-v2 .pubseries-scope .toc h3,body.f2-labour-guide-v2 .pubseries-scope .toc strong{display:block!important;margin:0 0 10px!important;color:#0d2b45!important;font-size:1rem!important}
body.f2-labour-guide-v2 .pubseries-scope .toc a{display:block!important;width:100%!important;margin:0!important;padding:7px 5px!important;border-bottom:1px solid #edf2f5!important;color:#08708b!important;font-size:.88rem!important;line-height:1.45!important;text-decoration:none!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
body.f2-labour-guide-v2 .pubseries-scope .toc a:last-child{border-bottom:0!important}
body.f2-labour-guide-v2 .pubseries-scope .toc a:hover{background:#f3f9fb!important;color:#0d2b45!important;text-decoration:none!important}

/* Content rhythm and readability. */
body.f2-labour-guide-v2 .pubseries-scope .card,body.f2-labour-guide-v2 .pubseries-scope .section-card{max-width:100%!important;min-width:0!important;margin:0 0 22px!important;padding:clamp(18px,2.6vw,30px)!important;background:#fff!important;border:1px solid var(--f2-line)!important;border-radius:16px!important;box-shadow:0 5px 18px rgba(15,35,55,.045)!important;overflow-wrap:anywhere!important}
body.f2-labour-guide-v2 .pubseries-scope h2{margin:0 0 16px!important;color:#0d2b45!important;font-size:clamp(1.45rem,2.6vw,2rem)!important;line-height:1.2!important;overflow-wrap:break-word!important}
body.f2-labour-guide-v2 .pubseries-scope h3{color:#12617b!important;font-size:clamp(1.13rem,2vw,1.48rem)!important;line-height:1.28!important;overflow-wrap:break-word!important}
body.f2-labour-guide-v2 .pubseries-scope h4{color:#163a55!important;line-height:1.35!important}
body.f2-labour-guide-v2 .pubseries-scope p,body.f2-labour-guide-v2 .pubseries-scope li,body.f2-labour-guide-v2 .pubseries-scope td{overflow-wrap:anywhere!important}
body.f2-labour-guide-v2 .pubseries-scope p{max-width:86ch}
body.f2-labour-guide-v2 .pubseries-scope .statute,body.f2-labour-guide-v2 .pubseries-scope .statutory-pre,body.f2-labour-guide-v2 .pubseries-scope .exact-statutory-text{max-width:100%!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:normal!important}
body.f2-labour-guide-v2 .pubseries-scope pre{max-width:100%!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;overflow-x:auto!important}
body.f2-labour-guide-v2 .pubseries-scope .grid,body.f2-labour-guide-v2 .pubseries-scope .grid2,body.f2-labour-guide-v2 .pubseries-scope .grid3,body.f2-labour-guide-v2 .pubseries-scope .summary-grid{min-width:0!important}
body.f2-labour-guide-v2 .pubseries-scope .grid2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.f2-labour-guide-v2 .pubseries-scope .grid3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.f2-labour-guide-v2 .pubseries-scope .mini,body.f2-labour-guide-v2 .pubseries-scope .summary-card{min-width:0!important}

/* Every decision-flow image must fit its content column. */
body.f2-labour-guide-v2 .pubseries-scope figure.chapter-visual{display:block!important;width:100%!important;max-width:100%!important;margin:22px 0 28px!important;padding:12px!important;overflow:hidden!important;border:1px solid var(--f2-line)!important;border-radius:14px!important;background:#fbfdfe!important}
body.f2-labour-guide-v2 .pubseries-scope figure.chapter-visual img,body.f2-labour-guide-v2 .pubseries-scope img.chapter-visual,body.f2-labour-guide-v2 .pubseries-scope .chapter-visual img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important;margin:0!important}
body.f2-labour-guide-v2 .pubseries-scope figure.chapter-visual figcaption{margin-top:8px!important;color:#657587!important;font-size:.82rem!important;line-height:1.45!important}

/* Tables scroll inside themselves, never the whole page. */
body.f2-labour-guide-v2 .pubseries-scope .table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important;border-radius:10px!important}
body.f2-labour-guide-v2 .pubseries-scope table{width:100%!important;max-width:100%!important;border-collapse:collapse!important}
body.f2-labour-guide-v2 .pubseries-scope th,body.f2-labour-guide-v2 .pubseries-scope td{min-width:0!important;padding:10px!important;vertical-align:top!important}

/* Current-law/source checkpoint. */
body.f2-labour-guide-v2 .f2-current-law-note{width:min(calc(100% - 48px),1352px);margin:20px auto 0;padding:16px 18px;border:1px solid #b9d7df;border-left:5px solid #087f72;border-radius:12px;background:#f2fbfa;color:#243b4b;box-shadow:0 4px 14px rgba(15,35,55,.035)}
body.f2-labour-guide-v2 .f2-current-law-note strong{color:#0d2b45}
body.f2-labour-guide-v2 .f2-current-law-note p{margin:5px 0;max-width:none;font-size:.93rem;line-height:1.58}
body.f2-labour-guide-v2 .f2-current-law-note a{color:#086d86;font-weight:650}
body.f2-labour-guide-v2 .f2-current-law-note .f2-source-date{color:#627286;font-size:.8rem}

/* Index: make 91 units browsable rather than visually overwhelming. */
body.f2-labour-guide-v2 .pubseries-scope main.content{padding:28px clamp(18px,5vw,60px) 64px!important}
body.f2-labour-guide-v2 .pubseries-scope main.content>.grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))!important;gap:15px!important;align-items:stretch!important}
body.f2-labour-guide-v2 .pubseries-scope main.content>.grid>a.card{display:block!important;margin:0!important;padding:18px!important;color:#1b2b3a!important;text-decoration:none!important;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease!important}
body.f2-labour-guide-v2 .pubseries-scope main.content>.grid>a.card:hover{transform:translateY(-2px)!important;border-color:#9ec8d4!important;box-shadow:0 10px 24px rgba(15,35,55,.09)!important}
body.f2-labour-guide-v2 .pubseries-scope main.content>.grid>a.card h2{margin:8px 0 10px!important;padding:0!important;border:0!important;font-size:1.18rem!important;line-height:1.35!important}
body.f2-labour-guide-v2 .pubseries-scope main.content>.grid>a.card p{margin:0!important;color:#627286!important;font-size:.9rem!important}
body.f2-labour-guide-v2 .f2-family-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px;padding:15px;border:1px solid var(--f2-line);border-radius:14px;background:#f8fbfd}
body.f2-labour-guide-v2 .f2-family-filter button{appearance:none;border:1px solid #bfd1dc;border-radius:999px;background:#fff;color:#17465e;padding:8px 12px;font:650 .84rem/1.2 Inter,Arial,sans-serif;cursor:pointer}
body.f2-labour-guide-v2 .f2-family-filter button:hover,body.f2-labour-guide-v2 .f2-family-filter button[aria-pressed="true"]{background:#0d2b45;color:#fff;border-color:#0d2b45}
body.f2-labour-guide-v2 .f2-family-filter .f2-filter-label{display:flex;align-items:center;margin-right:5px;color:#53687a;font-size:.84rem;font-weight:700}
body.f2-labour-guide-v2 .f2-guide-search{width:100%;margin:0 0 14px;padding:11px 13px;border:1px solid #b9cbd6;border-radius:10px;background:#fff;color:#172b3b;font:inherit}
body.f2-labour-guide-v2 .f2-guide-search:focus{outline:3px solid rgba(12,126,146,.16);border-color:#08788e}
body.f2-labour-guide-v2 .f2-card-hidden{display:none!important}
body.f2-labour-guide-v2 .f2-result-count{margin:-7px 0 15px;color:#607184;font-size:.86rem}

/* Older OSHWC template: contain its broad fixed-width components without rewriting it. */
body.f2-labour-guide-v2.f2-labour-legacy .wrap,body.f2-labour-guide-v2.f2-labour-legacy main{max-width:1200px!important;width:calc(100% - 32px)!important;margin-left:auto!important;margin-right:auto!important;min-width:0!important}
body.f2-labour-guide-v2.f2-labour-legacy .hero{overflow:hidden!important}
body.f2-labour-guide-v2.f2-labour-legacy .grid,body.f2-labour-guide-v2.f2-labour-legacy .two{min-width:0!important}
body.f2-labour-guide-v2.f2-labour-legacy .table-wrap{max-width:100%!important;overflow-x:auto!important}
body.f2-labour-guide-v2.f2-labour-legacy img{height:auto!important}

@media(max-width:1100px){
 body.f2-labour-guide-v2 .pubseries-scope .layout{grid-template-columns:1fr!important;padding:0 18px 48px!important}
 body.f2-labour-guide-v2 .pubseries-scope .toc{position:relative!important;top:auto!important;max-height:none!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 14px!important}
 body.f2-labour-guide-v2 .pubseries-scope .toc h3,body.f2-labour-guide-v2 .pubseries-scope .toc strong{grid-column:1/-1!important}
 body.f2-labour-guide-v2 .pubseries-scope .grid3{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
 body.f2-labour-guide-v2 .pubseries-scope .hero{padding:30px 18px!important}
 body.f2-labour-guide-v2 .pubseries-scope .hero h1{font-size:clamp(1.8rem,9vw,2.55rem)!important}
 body.f2-labour-guide-v2 .pubseries-scope .layout{padding:0 12px 42px!important;margin-top:16px!important}
 body.f2-labour-guide-v2 .pubseries-scope .toc{grid-template-columns:1fr!important;padding:14px!important}
 body.f2-labour-guide-v2 .pubseries-scope .grid2,body.f2-labour-guide-v2 .pubseries-scope .grid3,body.f2-labour-guide-v2 .pubseries-scope .summary-grid{grid-template-columns:1fr!important}
 body.f2-labour-guide-v2 .pubseries-scope .card,body.f2-labour-guide-v2 .pubseries-scope .section-card{padding:18px!important;border-radius:13px!important}
 body.f2-labour-guide-v2 .f2-current-law-note{width:calc(100% - 24px);margin-top:12px;padding:14px}
 body.f2-labour-guide-v2 .pubseries-scope main.content{padding:20px 12px 48px!important}
 body.f2-labour-guide-v2 .pubseries-scope main.content>.grid{grid-template-columns:1fr!important}
 body.f2-labour-guide-v2 .pubseries-scope .nav,body.f2-labour-guide-v2 .pubseries-scope .navrow{flex-direction:column!important}
 body.f2-labour-guide-v2.f2-labour-legacy .wrap,body.f2-labour-guide-v2.f2-labour-legacy main{width:calc(100% - 20px)!important}
}
@media print{
 body.f2-labour-guide-v2 .f2-family-filter,body.f2-labour-guide-v2 .f2-guide-search,body.f2-labour-guide-v2 .f2-result-count{display:none!important}
 body.f2-labour-guide-v2 .pubseries-scope .layout{display:block!important;padding:0!important;margin:0!important}
 body.f2-labour-guide-v2 .pubseries-scope .toc{display:none!important}
 body.f2-labour-guide-v2 .f2-current-law-note{width:100%!important;box-shadow:none!important}
}
