/* statutory-interest-and-compensation-schedule-template (build_statutory_interest_and_compensation_schedule_template.py). Every rule starts with .th-ic.
   Centrepiece: the schedule drawn as the table it is. */
.th-ic .ic-table{background:#fff0f4;padding:58px 0 70px}
.th-ic .ic-docp p{font-size:1.08rem;line-height:1.6;color:var(--ink);margin-top:10px;max-width:64ch}
.th-ic .ic-scroll{margin-top:30px;overflow-x:auto;padding:0 14px 14px 0}
.th-ic .ic-sheet{min-width:680px;background:#fff;border-radius:3px;padding:34px 38px 38px;box-shadow:12px 12px 0 var(--plum)}
.th-ic .ic-title{font-family:var(--head);font-weight:700;font-size:1.35rem;letter-spacing:-.025em;margin-bottom:18px}
.th-ic .ic-sch{width:100%;border-collapse:collapse;table-layout:fixed}
.th-ic .ic-sch th{text-align:left;vertical-align:bottom;font-family:var(--head);font-weight:700;font-size:.9rem;line-height:1.2;padding:12px 12px;background:var(--ink);color:#fff;border:1.5px solid var(--ink)}
.th-ic .ic-sch th:nth-child(n+5){background:var(--cfield);color:var(--ink)}
.th-ic .ic-sch td{height:46px;border:1.5px solid var(--ink)}
.th-ic .ic-sch td:nth-child(n+5){background:#fff0f4}
.th-ic .ic-how{margin-top:26px;max-width:560px}
.th-ic .ic-how p{font-family:var(--head);font-weight:700;font-size:1rem}
.th-ic .ic-rates{padding:64px 0 16px}
.th-ic .ic-split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:start}
.th-ic .ic-big{font-family:var(--head);font-weight:700;font-size:clamp(3.4rem,7vw,5.6rem);letter-spacing:-.05em;line-height:1;color:var(--cd);margin:18px 0 16px}
.th-ic .ic-big small{display:block;font-size:1.15rem;letter-spacing:-.015em;line-height:1.3;color:var(--ink);margin-top:8px}
.th-ic .ic-bands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:end;margin-top:24px}
.th-ic .ic-bands>div{display:flex;flex-direction:column;justify-content:flex-end;padding:16px 16px 18px;border-radius:6px 6px 0 0;border-bottom:3px solid var(--ink)}
.th-ic .ic-bands b{font-family:var(--head);font-weight:700;font-size:2rem;letter-spacing:-.035em;line-height:1}
.th-ic .ic-bands span{font-size:.95rem;line-height:1.35;margin-top:8px}
.th-ic .ic-b1{min-height:110px;background:#ffe1ea}
.th-ic .ic-b2{min-height:160px;background:#ff9bb9}
.th-ic .ic-b3{min-height:210px;background:var(--cfield)}
.th-ic .ic-use{padding:56px 0 64px}
.th-ic .ic-two{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:start}
.th-ic .ic-before{margin-top:32px;padding:18px 22px 20px;background:#fff0f4;border-radius:var(--r)}
.th-ic .ic-law{padding-top:22px;border-top:2px solid var(--ink)}
.th-ic .ic-law p{font-size:.98rem}
@media(max-width:980px){
.th-ic .ic-split,.th-ic .ic-two{grid-template-columns:1fr;gap:40px}
}
@media(max-width:700px){
.th-ic .ic-table{padding:40px 0 46px}
.th-ic .ic-sheet{padding:22px 18px 24px;box-shadow:7px 7px 0 var(--plum)}
.th-ic .ic-rates{padding:42px 0 4px}
.th-ic .ic-bands{grid-template-columns:1fr}
.th-ic .ic-bands>div{min-height:0;border-radius:6px;border-bottom:0}
.th-ic .ic-use{padding:40px 0 44px}
}

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

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

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

/* related templates: the SEO-LINKS block, set as a plain list */
.th-ic .art-rel{padding-block:0 64px}
.th-ic .art-rel>h2{font-size:1.25rem;letter-spacing:-.02em;margin-bottom:12px}
.th-ic .art-rel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 48px;border-top:2px solid var(--ink)}
.th-ic .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-ic .art-rel-grid a:first-child{background:none;border-color:var(--line)}
.th-ic .art-rel-grid a:hover{transform:none;box-shadow:none;color:var(--c)}

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

/* layout: the subscription box as a band of its own, plans on the left, drafting form on the right */
.th-ic .ic-get{padding:0 0 72px}
.th-ic .ic-buy .tplgate{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:48px;align-content:start;padding:34px 36px}
.th-ic .ic-buy .tplgate>*{grid-column:1}
.th-ic .ic-buy .tplgate .tpldfy{grid-column:2;grid-row:1/span 5;margin:-34px -36px -34px 0;padding:34px 36px;border-top:0;border-left:2px solid var(--ink)}
@media(max-width:860px){
.th-ic .ic-buy .tplgate{display:block;padding:24px 20px}
.th-ic .ic-buy .tplgate .tpldfy{margin:22px -20px -24px;padding:22px 20px;border-left:0;border-top:2px solid var(--ink)}
.th-ic .ic-get{padding-bottom:48px}
}
