/* standstill-agreement-limitation-template (build_standstill_agreement_limitation_template.py). Every rule starts with .th-ss.
   Centrepiece: the six and twelve year time limits as bars with the standstill period marked. */
.th-ss .ss-clock{padding:60px 0 56px}
.th-ss .ss-chart{position:relative;margin-top:36px;padding:0 0 46px;border-left:3px solid var(--ink)}
.th-ss .ss-track{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;margin-bottom:22px}
.th-ss .ss-track p{grid-column:1/-1;font-size:.9rem;font-weight:700;color:var(--mute);padding:0 8px 0 14px;margin-bottom:6px;width:max-content;background:#fff;position:relative;z-index:1}
.th-ss .ss-track i{display:block;height:46px;border-radius:0 6px 6px 0}
.th-ss .ss-track i,.th-ss .ss-track b{grid-column:1;grid-row:2}
.th-ss .ss-track b{justify-self:start;padding-left:14px;color:#fff;font-family:var(--head);font-weight:700;font-size:1.15rem;letter-spacing:-.02em;white-space:nowrap}
.th-ss .ss-six{width:50%}
.th-ss .ss-six i{background:var(--cfield)}
.th-ss .ss-six b{color:var(--ink)}
.th-ss .ss-twelve i{background:var(--plum)}
.th-ss .ss-still{position:absolute;left:38%;width:22%;top:0;bottom:0;display:flex;flex-direction:column;justify-content:flex-end;pointer-events:none}
.th-ss .ss-still i{position:absolute;inset:0 0 46px 0;border-left:2px dashed var(--ink);border-right:2px dashed var(--ink);background:repeating-linear-gradient(135deg,rgba(20,17,20,.16) 0 6px,rgba(255,255,255,.5) 6px 12px)}
.th-ss .ss-still p{position:relative;font-family:var(--head);font-weight:700;font-size:.98rem;line-height:1.2;text-align:center;background:var(--ink);color:#fff;padding:9px 8px;border-radius:0 0 6px 6px;height:46px;display:flex;align-items:center;justify-content:center}
.th-ss .ss-still span{position:absolute;bottom:-44px;font-size:.84rem;line-height:1.25;font-weight:700;color:var(--ink);width:150px}
.th-ss .ss-from{right:calc(100% - 20px);text-align:right;padding-right:28px}
.th-ss .ss-to{left:calc(100% - 20px);padding-left:28px}
.th-ss .ss-zero{position:absolute;left:10px;bottom:6px;font-size:.84rem;font-weight:700;max-width:22%;line-height:1.25}
.th-ss .ss-cap{margin-top:58px;font-size:.98rem;line-height:1.6;color:#3d3b41;max-width:78ch}
.th-ss .ss-doc{background:var(--plum);color:#fff;padding:60px 0 72px}
.th-ss .ss-docp p{color:#f3d9e2;margin-top:8px}
.th-ss .ss-pages{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:40px;align-items:end;margin-top:30px}
.th-ss .ss-sheet,.th-ss .ss-sched{background:#fff;color:var(--ink);border-radius:3px;padding:32px 36px 34px}
.th-ss .ss-title{font-family:var(--head);font-weight:700;font-size:1.35rem;letter-spacing:-.025em;padding-bottom:14px;border-bottom:2px solid var(--ink)}
.th-ss .ss-title span{color:var(--cd)}
.th-ss .ss-secs{list-style:none;margin:0;padding:0;counter-reset:s;columns:2;column-gap:40px}
.th-ss .ss-secs li{counter-increment:s;break-inside:avoid;display:grid;grid-template-columns:34px minmax(0,1fr);padding:13px 0;border-bottom:1px solid var(--line);font-family:var(--head);font-weight:600;font-size:1rem}
.th-ss .ss-secs li:before{content:counter(s) ".";font-weight:700;color:var(--cd)}
.th-ss .ss-secs .ss-key{background:#fff0f4;box-shadow:-10px 0 0 #fff0f4,10px 0 0 #fff0f4}
.th-ss .ss-signs{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin-top:22px}
.th-ss .ss-signs .ss-bl{height:40px}
.th-ss .ss-sched{transform:rotate(1.5deg);box-shadow:-10px 10px 0 var(--cfield)}
.th-ss .ss-sched .ss-title{font-size:1.12rem}
.th-ss .ss-claim{padding:14px 0 20px;border-bottom:1px solid var(--line)}
.th-ss .ss-use{padding:60px 0 64px}
.th-ss .ss-two{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:64px;align-items:start}
.th-ss .ss-before{margin-top:30px;padding:18px 22px 20px;border:2px solid var(--ink);border-radius:var(--r)}
.th-ss .ss-law{border-left:4px solid var(--cfield);padding-left:30px}
.th-ss .ss-law p{font-size:1rem}
@media(max-width:980px){
.th-ss .ss-pages{grid-template-columns:1fr}
.th-ss .ss-two{grid-template-columns:1fr;gap:34px}
.th-ss .ss-still span{width:120px}
}
@media(max-width:700px){
.th-ss .ss-clock{padding:40px 0}
.th-ss .ss-chart{padding-bottom:120px}
.th-ss .ss-track b{font-size:.92rem}
.th-ss .ss-six{width:58%}
.th-ss .ss-still{left:30%;width:26%}
.th-ss .ss-still i{inset:0 0 120px 0}
.th-ss .ss-still p{position:absolute;left:-40px;right:-40px;bottom:66px;border-radius:6px;font-size:.84rem}
.th-ss .ss-still span{bottom:8px;width:118px;font-size:.76rem}
.th-ss .ss-from{right:50%;padding-right:8px}
.th-ss .ss-to{left:50%;padding-left:8px}
.th-ss .ss-zero{display:none}
.th-ss .ss-cap{margin-top:24px}
.th-ss .ss-doc{padding:42px 0 52px}
.th-ss .ss-sheet,.th-ss .ss-sched{padding:22px 18px 24px}
.th-ss .ss-secs{columns:1}
.th-ss .ss-sched{transform:none}
.th-ss .ss-law{padding-left:18px}
.th-ss .ss-use{padding:40px 0 44px}
}

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

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

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

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

@media(max-width:980px){
.th-ss .ss-faq .ss-in{grid-template-columns:1fr;gap:22px}
}
@media(max-width:700px){
.th-ss .ss-in{padding:0 18px}
.th-ss .ss-faq{padding:44px 0}
.th-ss .art-rel-grid{grid-template-columns:1fr}
.th-ss .art-rel{padding-block:0 44px}
.th-ss .ss-buy .tplgate{padding:24px 20px}
.th-ss .ss-buy .tplcta .btn{padding-inline:14px}
.th-ss .ss-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-ss .ss-get{padding:0 0 72px}
.th-ss .ss-buy .tplgate{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:48px;align-content:start;padding:34px 36px}
.th-ss .ss-buy .tplgate>*{grid-column:1}
.th-ss .ss-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-ss .ss-buy .tplgate{display:block;padding:24px 20px}
.th-ss .ss-buy .tplgate .tpldfy{margin:22px -20px -24px;padding:22px 20px;border-left:0;border-top:2px solid var(--ink)}
.th-ss .ss-get{padding-bottom:48px}
}
