/* statutory-demand-company-template (build_statutory_demand_company_template.py). Every rule starts with .th-sc.
   Centrepiece: the demand drawn as a prescribed form with boxed fields. */
.th-sc .sc-warn{background:var(--ink);color:#fff;border-radius:var(--r);padding:30px 34px 30px;border-left:10px solid var(--cfield)}
.th-sc .sc-warn p{font-size:1.04rem;line-height:1.65;color:#f1ecee;margin-top:12px}
.th-sc .sc-tests{list-style:none;margin:22px 0 0;padding:18px 0 0;border-top:1px solid #4a4448;display:flex;flex-wrap:wrap;gap:12px 34px}
.th-sc .sc-tests li{display:flex;align-items:center;gap:10px;font-family:var(--head);font-weight:700;font-size:1rem}
.th-sc .sc-tests i{display:block;width:20px;height:20px;border:2px solid var(--cfield);border-radius:3px}
.th-sc .sc-what{margin-top:56px}
.th-sc .sc-docp p{font-size:1.02rem;color:#3d3b41;margin-top:8px}
.th-sc .sc-form{margin-top:24px;border:2px solid var(--ink);background:#fff;padding:0 0 4px}
.th-sc .sc-fhead{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:6px 20px;padding:18px 26px;border-bottom:2px solid var(--ink);background:#ffe1ea}
.th-sc .sc-fhead p{font-family:var(--head);font-weight:700;font-size:1.4rem;letter-spacing:-.025em}
.th-sc .sc-fhead span{font-size:.9rem;font-weight:700}
.th-sc .sc-field{padding:16px 26px 0}
.th-sc .sc-form label{display:block;font-size:.86rem;font-weight:700;margin-bottom:6px}
.th-sc .sc-inp{display:block;height:40px;border:1.5px solid var(--ink)}
.th-sc .sc-chars{display:block;height:40px;width:252px;max-width:100%;border:1.5px solid var(--ink);border-right:0;background:repeating-linear-gradient(to right,transparent 0 30px,var(--ink) 30px 31.5px)}
.th-sc .sc-big label{font-family:var(--head);font-size:1.02rem;letter-spacing:-.015em}
.th-sc .sc-area{display:block;height:120px;border:1.5px solid var(--ink);background:repeating-linear-gradient(transparent 0 29px,var(--line) 29px 30px)}
.th-sc .sc-field small{display:block;font-size:.82rem;color:var(--mute);margin-top:5px}
.th-sc .sc-wbox .sc-area{height:90px;border-width:4px}
.th-sc .sc-serve{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:22px;padding:18px 26px 20px;border-top:2px solid var(--ink)}
.th-sc .sc-weeks p{display:grid;grid-template-columns:repeat(3,1fr);gap:4px}
.th-sc .sc-weeks p i{display:block;height:40px;background:var(--cfield)}
.th-sc .sc-fill{margin-top:56px}
.th-sc .sc-law{margin-top:44px;padding-top:22px;border-top:2px solid var(--ink)}
.th-sc .sc-before{margin-top:28px;padding-left:22px;border-left:4px solid var(--cfield)}
@media(max-width:700px){
.th-sc .sc-warn{padding:22px 18px 22px;border-left-width:6px}
.th-sc .sc-field{padding:14px 16px 0}
.th-sc .sc-fhead{padding:14px 16px}
.th-sc .sc-serve{grid-template-columns:1fr;padding:16px}
.th-sc .sc-what{margin-top:40px}
}

/* shared shape of the kept blocks */
.th-sc .sc-in{max-width:1220px;margin:0 auto;padding:0 28px}
.th-sc section[class^="sc-"] h2{font-size:clamp(1.5rem,2.3vw,2rem);font-weight:700;letter-spacing:-.028em;line-height:1.14;margin:0}
.th-sc section[class^="sc-"] h3{font-size:1.12rem;font-weight:700;letter-spacing:-.015em;margin:0}
.th-sc .sc-tx{font-size:1.04rem;line-height:1.68;color:#3d3b41;max-width:68ch}
.th-sc .sc-fill p{font-size:1.14rem;line-height:1.6;color:var(--ink);max-width:60ch;margin-top:12px}
.th-sc .sc-law p{font-size:.95rem;line-height:1.72;color:#3d3b41;max-width:74ch;margin-top:10px}
.th-sc .sc-before p{font-size:1rem;line-height:1.65;color:var(--ink);margin-top:8px;max-width:62ch}
.th-sc .sc-ln{display:block;height:7px;border-radius:2px;background:var(--line);margin-top:9px}
.th-sc .sc-ln.w20{width:20%}.th-sc .sc-ln.w30{width:30%}.th-sc .sc-ln.w40{width:40%}.th-sc .sc-ln.w50{width:50%}.th-sc .sc-ln.w60{width:60%}
.th-sc .sc-ln.w70{width:70%}.th-sc .sc-ln.w80{width:80%}.th-sc .sc-ln.w90{width:90%}.th-sc .sc-ln.w100{width:100%}
.th-sc .sc-bl{display:block;height:24px;border-bottom:1.5px solid var(--ink)}

/* the subscription box (#tpl), kept from the source */
.th-sc .sc-buy{min-width:0}
.th-sc .sc-buy .tpl{border:2px solid var(--ink);border-radius:14px;margin:0;max-width:none}
.th-sc .sc-buy .tplbar{display:none}
.th-sc .sc-buy .tpl:has(.tpldoc:not(.hidden-guide)) .tplbar{display:flex}
.th-sc .sc-buy .tplgate{background:var(--cfield);text-align:left;padding:30px 28px}
.th-sc .sc-buy .tplgate h3,.th-sc .sc-buy .tplgate>p{color:var(--ink)}
.th-sc .sc-buy .tplgate>p{margin-left:0}
.th-sc .sc-buy .tplgate h3{margin-bottom:12px}
.th-sc .sc-buy .tplcta{justify-content:flex-start}
.th-sc .sc-buy .tplcta .btn{background:var(--ink);color:#fff;border-color:var(--ink);max-width:100%;text-align:center}
.th-sc .sc-buy .tplsignin,.th-sc .sc-buy .tplplans{color:var(--ink);text-decoration:underline}
.th-sc .sc-buy .tpldfy{background:#fff;margin:24px -28px -30px;padding:26px 28px;border-top:2px solid var(--ink);text-align:left;max-width:none}
.th-sc .sc-buy .tpldfy form{display:grid;grid-template-columns:1fr;gap:10px}

/* questions */
.th-sc .sc-faq{padding:64px 0 60px;border-top:1px solid var(--line)}
.th-sc .sc-faq .sc-in{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,8fr);gap:48px;align-items:start}
.th-sc .sc-qs{border-top:2px solid var(--ink)}

/* related templates: the SEO-LINKS block, set as a plain list */
.th-sc .art-rel{padding-block:0 64px}
.th-sc .art-rel>h2{font-size:1.25rem;letter-spacing:-.02em;margin-bottom:12px}
.th-sc .art-rel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px;border-top:2px solid var(--ink)}
.th-sc .art-rel-grid a{flex-direction:row;align-items:center;min-height:0;padding:15px 2px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;font-size:1rem;gap:16px;transition:none}
.th-sc .art-rel-grid a:first-child{background:none;border-color:var(--line)}
.th-sc .art-rel-grid a:hover{transform:none;box-shadow:none;color:var(--c)}

@media(max-width:980px){
.th-sc .sc-faq .sc-in{grid-template-columns:1fr;gap:22px}
}
@media(max-width:700px){
.th-sc .sc-in{padding:0 18px}
.th-sc .sc-faq{padding:44px 0}
.th-sc .art-rel-grid{grid-template-columns:1fr}
.th-sc .art-rel{padding-block:0 44px}
.th-sc .sc-buy .tplgate{padding:24px 20px}
.th-sc .sc-buy .tplcta .btn{padding-inline:14px}
.th-sc .sc-buy .tpldfy{margin:22px -20px -24px;padding:22px 20px}
}

/* layout: reading column with the subscription box beside it */
.th-sc .sc-top{padding:52px 0 72px}
.th-sc .sc-cols{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4.4fr);gap:60px;align-items:start}
.th-sc .sc-main{min-width:0}
.th-sc .sc-buy{position:sticky;top:24px}
.th-sc .sc-cols:has(.tpldoc:not(.hidden-guide)){grid-template-columns:1fr}
.th-sc .sc-cols:has(.tpldoc:not(.hidden-guide)) .sc-buy{position:static}
@media(max-width:980px){
.th-sc .sc-cols{grid-template-columns:1fr;gap:44px}
.th-sc .sc-buy{position:static}
}
@media(max-width:700px){
.th-sc .sc-top{padding:36px 0 48px}
}
