/* employment-documents-checker (build_employment_documents_checker.py). Every rule starts with .xa-edc.
   Centrepiece: the written statement of particulars drawn as a document, one line for each thing s.1 says it must cover. */
.xa-edc .edc-in{max-width:1220px;margin:0 auto;padding:0 28px}
.xa-edc section[class^="edc-"] h2{font-size:clamp(1.65rem,2.5vw,2.2rem);font-weight:700;letter-spacing:-.03em;line-height:1.14;margin:0}
.xa-edc section[class^="edc-"] h3{font-size:1.36rem;font-weight:700;letter-spacing:-.022em;line-height:1.22;margin:0}
.xa-edc section[class^="edc-"] p{font-size:1.04rem;line-height:1.72;color:#2f2b2e;margin:0}
.xa-edc section[class^="edc-"] p+p{margin-top:16px}
.xa-edc section[class^="edc-"] a{color:var(--c);font-weight:700}
.xa-edc mark.kf{background:linear-gradient(180deg,transparent 58%,rgba(255,45,111,.34) 58%);color:inherit;padding:0 2px;-webkit-box-decoration-break:clone;box-decoration-break:clone}

/* the checker: a tinted form with no frame, the email box beside it */
.xa-edc .edc-desk{padding:36px 0 48px}
.xa-edc .edc-desk .tool{padding-top:0;padding-bottom:0}
/* bl2.css makes the side column sticky, and it slid down over the result card; here it stays put */
.xa-edc .edc-desk .tside{position:static;align-self:start}
.xa-edc .edc-desk .card .btnrow .tgo{width:auto}
.xa-edc .edc-desk .tf{background:#fff0f4;border:0;border-radius:6px;padding:30px 34px 34px}
.xa-edc .edc-desk .tf .tfhead{border-bottom:3px solid var(--ink)}
.xa-edc .edc-desk .tf .q{grid-template-columns:minmax(0,1fr) 300px;border-bottom:1px solid #f0c3cf}
.xa-edc .edc-desk .tf .q select{background-color:#fff;border:2px solid var(--ink);border-radius:8px;font-weight:700}
.xa-edc .edc-desk .resw>.card{border:0;border-top:6px solid var(--ink);border-radius:0;box-shadow:none;background:#fff;padding-left:0;padding-right:0}
.xa-edc .edc-desk .card>h3{font-family:var(--head);font-size:1.5rem;line-height:1.3;letter-spacing:-.02em;max-width:56ch}
.xa-edc .edc-desk .card>p{margin-top:14px;font-size:1.02rem}
.xa-edc .edc-desk .card>p b{display:inline-block;min-width:1.9em;text-align:center;background:var(--ink);color:#fff;border-radius:99px;padding:1px 8px;font-family:var(--head)}
.xa-edc .edc-desk .card h4{font-family:var(--head);font-size:1.12rem;color:var(--ink);padding-bottom:8px}
.xa-edc .edc-desk .card .price-list li p{color:#3d383b}

/* jump links */
.xa-edc .edc-jump{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.xa-edc .edc-jump .edc-in{display:flex;flex-wrap:wrap;gap:6px 26px;padding-top:16px;padding-bottom:16px}
.xa-edc .edc-jump a{font-size:.92rem;font-weight:700;color:var(--ink);border-bottom:2px solid var(--cfield);padding-bottom:1px}
.xa-edc .edc-jump a:hover{color:var(--c)}

/* the three lists in a result */
.xa-edc .edc-means{padding:72px 0 64px}
.xa-edc .edc-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:34px;border:2px solid var(--ink);border-radius:6px}
.xa-edc section.edc-means .edc-three p{margin:0;padding:24px 26px 28px;font-size:1rem;line-height:1.65}
.xa-edc .edc-three p+p{border-left:2px solid var(--ink)}
.xa-edc .edc-three strong{display:block;font-family:var(--head);font-size:1.16rem;line-height:1.25;letter-spacing:-.016em;color:var(--ink);margin-bottom:10px;padding-bottom:12px;border-bottom:2px solid var(--ink)}
.xa-edc .edc-three .l1{background:var(--cfield)}
.xa-edc section.edc-means .edc-three .l1{color:var(--ink)}
.xa-edc .edc-three .l2{background:#fff0f4}
.xa-edc .edc-means-tx{margin-top:30px;max-width:76ch}

/* what to do first: five jobs in order, the first widest */
.xa-edc .edc-first{background:var(--ink);color:#fff;padding:76px 0 80px}
.xa-edc .edc-first ol{list-style:none;margin:36px 0 0;padding:0;counter-reset:job}
.xa-edc .edc-first li{counter-increment:job;position:relative;padding:18px 24px 20px 84px;margin-bottom:6px;border-radius:4px;background:#2a2428;font-size:1.02rem;line-height:1.62;color:#eee6e9}
.xa-edc .edc-first li:before{content:counter(job);position:absolute;left:24px;top:12px;font-family:var(--head);font-weight:700;font-size:2.3rem;line-height:1.2;letter-spacing:-.04em;color:var(--cfield)}
.xa-edc .edc-first li strong{display:block;font-family:var(--head);font-size:1.14rem;letter-spacing:-.015em;color:#fff;margin-bottom:2px}
.xa-edc .edc-first li:nth-child(1){background:var(--cfield);color:var(--ink)}
.xa-edc .edc-first li:nth-child(1) strong,.xa-edc .edc-first li:nth-child(1):before{color:var(--ink)}
.xa-edc .edc-first li:nth-child(2){margin-right:5%}
.xa-edc .edc-first li:nth-child(3){margin-right:10%}
.xa-edc .edc-first li:nth-child(4){margin-right:15%}
.xa-edc .edc-first li:nth-child(5){margin-right:20%;background:none;box-shadow:inset 0 0 0 1.5px #5d5258}

/* the statement */
.xa-edc .edc-law{padding:84px 0 72px}
.xa-edc .edc-stmt{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:start;margin-top:40px}
.xa-edc section.edc-law .edc-stmt-tx h3{margin-bottom:16px}
.xa-edc .edc-gap{margin-top:34px;border-top:2px solid var(--ink);padding-top:24px}
.xa-edc .edc-weeks{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:22px}
.xa-edc .edc-weeks b{display:block;font-family:var(--head);font-size:2.2rem;line-height:1;letter-spacing:-.035em;color:var(--ink)}
.xa-edc .edc-weeks span{display:block;font-size:.9rem;line-height:1.4;font-weight:700;color:var(--ink);margin:6px 0 10px;min-height:2.8em}
.xa-edc .edc-weeks i{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
.xa-edc .edc-weeks u{display:block;height:16px;border-radius:3px;background:var(--cfield)}
.xa-edc .edc-weeks div+div u:nth-child(n+3){background:#ffc9d6}
.xa-edc .edc-sheet{background:#fff;border:2px solid var(--ink);border-radius:4px;padding:40px 44px 34px;box-shadow:-14px 14px 0 #ffd3e0}
.xa-edc section.edc-law .edc-sheet-t{font-family:var(--head);font-weight:700;font-size:1.5rem;line-height:1.2;letter-spacing:-.025em;color:var(--ink)}
.xa-edc section.edc-law .edc-sheet-m{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
.xa-edc .edc-sheet-m span{font-size:.86rem;font-weight:700;line-height:1.2;color:var(--ink);border:1.5px solid var(--ink);border-radius:99px;padding:6px 13px}
.xa-edc section.edc-law .edc-sheet-l{margin-top:28px;padding-bottom:10px;border-bottom:2px solid var(--ink);font-family:var(--head);font-weight:700;font-size:1rem;color:var(--ink)}
.xa-edc .edc-sheet ol{list-style:none;margin:0;padding:0;counter-reset:pt;columns:2;column-gap:36px}
.xa-edc .edc-sheet li{counter-increment:pt;break-inside:avoid;position:relative;padding:10px 0 10px 34px;border-bottom:1px dashed #cfc6ca;font-size:.97rem;line-height:1.45;color:var(--ink)}
.xa-edc .edc-sheet li:before{content:counter(pt);position:absolute;left:0;top:11px;font-family:var(--head);font-weight:700;font-size:.82rem;color:var(--c)}
.xa-edc .edc-sheet li span{display:block}
.xa-edc .edc-sheet li span:first-letter{text-transform:uppercase}
.xa-edc .edc-sheet-n{margin-top:26px;background:#fff0f4;border-left:6px solid var(--cfield);padding:16px 20px}
.xa-edc section.edc-law .edc-sheet-n p{font-size:.96rem;line-height:1.62}

/* the Acas Code uplift */
.xa-edc .edc-disc{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:64px;align-items:center;margin-top:84px;border-top:2px solid var(--ink);padding-top:38px}
.xa-edc section.edc-law .edc-disc h3{margin-bottom:14px}
.xa-edc .edc-uplift{display:grid;gap:4px}
.xa-edc .edc-uplift>div{display:grid;grid-template-columns:108px minmax(0,1fr);gap:16px;align-items:center;padding:12px 18px;border-radius:4px}
.xa-edc .edc-uplift b{font-family:var(--head);font-size:1.7rem;letter-spacing:-.03em;line-height:1}
.xa-edc .edc-uplift span{font-size:.93rem;line-height:1.4;font-weight:700}
.xa-edc .edc-up{background:var(--cfield);color:var(--ink)}
.xa-edc .edc-award{background:var(--ink);color:#fff;min-height:84px}
.xa-edc .edc-uplift .edc-award span{grid-column:1/-1;font-family:var(--head);font-size:1.1rem}
.xa-edc .edc-down{border:2px dashed var(--ink);color:var(--ink)}

/* other duties */
.xa-edc .edc-other{margin-top:72px;border-top:2px solid var(--ink);padding-top:38px;display:grid;grid-template-columns:minmax(0,3fr) minmax(0,9fr);gap:64px}
.xa-edc .edc-duties{list-style:none;margin:0;padding:0}
.xa-edc .edc-duties li{position:relative;padding:0 0 18px 300px;margin-bottom:18px;border-bottom:1px solid var(--line);font-size:1.02rem;line-height:1.65;color:#2f2b2e;min-height:2.6em}
.xa-edc .edc-duties li:last-child{border-bottom:0;margin-bottom:0}
.xa-edc .edc-duties strong{position:absolute;left:0;top:0;width:270px;font-family:var(--head);font-size:1.06rem;line-height:1.35;letter-spacing:-.012em;color:var(--ink)}

/* Employment Rights Act 2025 dates */
.xa-edc .edc-dates{background:var(--plum);color:#fff;padding:76px 0 84px}
.xa-edc section.edc-dates .edc-in>p{color:#f6e9ee;max-width:76ch;margin-top:18px}
.xa-edc .edc-dates mark.kf{background:none;color:#fff;font-weight:700;padding:0}
.xa-edc .edc-when{list-style:none;margin:54px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:3px solid #fff}
.xa-edc .edc-when li{position:relative;padding:30px 34px 0 0;font-size:1.02rem;line-height:1.62;color:#f6e9ee}
.xa-edc .edc-when li:before{content:"";position:absolute;left:0;top:-12px;width:21px;height:21px;border-radius:50%;background:var(--cfield);border:3px solid var(--plum);box-shadow:0 0 0 2px #fff}
.xa-edc .edc-when strong{display:block;font-family:var(--head);font-size:1.5rem;letter-spacing:-.025em;line-height:1.2;color:#fff;margin-bottom:8px}

/* required and advisable */
.xa-edc .edc-diff{padding:76px 0 20px}
.xa-edc .edc-diff .edc-in{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:64px;align-items:start}
.xa-edc section.edc-diff p{font-family:var(--head);font-weight:500;font-size:1.16rem;line-height:1.62;letter-spacing:-.01em;color:var(--ink);max-width:58ch}

/* cost */
.xa-edc .edc-cost{padding:64px 0 56px;background:linear-gradient(#fff0f4,#fff0f4) top center/min(1164px,calc(100% - 32px)) 2px no-repeat}
.xa-edc .edc-cost-g{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:64px;align-items:start;margin-top:28px}
.xa-edc .edc-prices{margin:0;background:#fff0f4;border-radius:6px;padding:8px 26px 14px}
.xa-edc .edc-prices>div{display:flex;justify-content:space-between;align-items:baseline;gap:18px;padding:15px 0;border-bottom:1px solid #f0c3cf}
.xa-edc .edc-prices>div:last-child{border-bottom:0}
.xa-edc .edc-prices dt{font-size:1rem;font-weight:700;color:var(--ink);line-height:1.35}
.xa-edc .edc-prices dd{margin:0;font-family:var(--head);font-weight:700;font-size:1.5rem;letter-spacing:-.03em;color:var(--ink);white-space:nowrap}
.xa-edc .edc-prices small{font-family:var(--body);font-size:.8rem;font-weight:700;letter-spacing:0}
.xa-edc .edc-prices .edc-sub dd{font-size:1.15rem}
.xa-edc .edc-prices div:nth-child(3){border-bottom:2px solid var(--ink)}
.xa-edc section.edc-cost .edc-small{margin-top:44px;font-size:.88rem;line-height:1.62;color:var(--mute);max-width:96ch}

/* questions */
.xa-edc .edc-faq{padding:40px 0 48px}
.xa-edc .edc-faq .edc-in{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:64px;align-items:start}
.xa-edc .edc-qs{display:block;max-width:none;padding:0;border-top:2px solid var(--ink)}
.xa-edc section.edc-faq .fqa p{font-size:1rem;line-height:1.7;color:#3d3b41}

/* related reading */
.xa-edc .edc-rel{padding:0 0 72px}
.xa-edc .edc-rel ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:2px solid var(--ink);border-radius:6px}
.xa-edc .edc-rel li{padding:24px 26px 26px}
.xa-edc .edc-rel li+li{border-left:2px solid var(--ink)}
.xa-edc .edc-rel h3{font-size:1.12rem;line-height:1.3}
.xa-edc section.edc-rel h3 a{color:var(--ink)}
.xa-edc section.edc-rel p{font-size:.98rem;line-height:1.55;margin:8px 0 10px}
.xa-edc section.edc-rel .go{font-size:.95rem}

@media(max-width:1000px){
  .xa-edc .edc-stmt,.xa-edc .edc-disc,.xa-edc .edc-other,.xa-edc .edc-diff .edc-in,.xa-edc .edc-cost-g,.xa-edc .edc-faq .edc-in{grid-template-columns:1fr;gap:30px}
  .xa-edc .edc-three{grid-template-columns:1fr}
  .xa-edc .edc-three p+p{border-left:0;border-top:2px solid var(--ink)}
  .xa-edc .edc-duties li{padding-left:0;min-height:0}
  .xa-edc .edc-duties strong{position:static;display:block;width:auto;margin-bottom:4px}
  .xa-edc .edc-first li{margin-right:0}
}
@media(max-width:760px){
  .xa-edc .edc-in{padding:0 16px}
  .xa-edc .edc-desk{padding:20px 0 32px}
  .xa-edc .edc-desk .tf{padding:22px 18px 26px}
  .xa-edc .edc-desk .tf .q{grid-template-columns:1fr}
  .xa-edc .edc-means,.xa-edc .edc-first,.xa-edc .edc-law,.xa-edc .edc-dates{padding:52px 0}
  .xa-edc .edc-first li{padding:16px 16px 18px 56px}
  .xa-edc .edc-first li:before{left:16px;font-size:1.8rem}
  .xa-edc .edc-sheet{padding:26px 20px 24px;box-shadow:-8px 8px 0 #ffd3e0;margin-left:8px}
  .xa-edc .edc-sheet ol{columns:1}
  .xa-edc .edc-disc,.xa-edc .edc-other{margin-top:52px}
  .xa-edc .edc-when{grid-template-columns:1fr;border-top:0;border-left:3px solid #fff;margin-top:34px}
  .xa-edc .edc-when li{padding:0 0 28px 28px}
  .xa-edc .edc-when li:before{left:-12px;top:4px}
  .xa-edc .edc-diff{padding:52px 0 8px}
  .xa-edc section.edc-diff p{font-size:1.06rem}
  .xa-edc .edc-prices{padding:6px 18px 10px}
  .xa-edc .edc-prices dd{font-size:1.25rem}
  .xa-edc .edc-rel ul{grid-template-columns:1fr}
  .xa-edc .edc-rel li+li{border-left:0;border-top:2px solid var(--ink)}
  .xa-edc .edc-jump .edc-in{flex-wrap:nowrap;overflow-x:auto;gap:20px;scrollbar-width:none}
  .xa-edc .edc-jump a{flex:none}
}
@media print{
  .xa-edc .edc-jump,.xa-edc .edc-means,.xa-edc .edc-first,.xa-edc .edc-law,.xa-edc .edc-dates,.xa-edc .edc-diff,.xa-edc .edc-cost,.xa-edc .edc-faq,.xa-edc .edc-rel{display:none}
}
