/* V7 prototype style block 33-tool, copied verbatim. Fixes for the live theme go in a separate file. */

/* Free tool pages (V7, 11-19): one design for all 21 tools, styles shared from here */
.tool-pg:not(#tool-x){overflow-x:clip}
.tool-pg:not(#tool-x) .tl-hero{padding-top:clamp(40px,5cqi,80px);padding-bottom:clamp(28px,3cqi,44px);display:grid;grid-template-columns:auto minmax(0,1fr);gap:20px clamp(20px,2.4cqi,32px);align-items:start}
.tool-pg:not(#tool-x) .tl-ic svg{width:clamp(48px,4.6cqi,64px);height:auto;display:block}
.tool-pg:not(#tool-x) .tl-hero .sg-h1{font-size:var(--h2,clamp(34px,4cqi,58px));margin:0}
.tool-pg:not(#tool-x) .tl-hero .sg-lede{margin-top:14px;max-width:34em}
.tool-pg:not(#tool-x) .tl-up{margin:16px 0 0}
.tool-pg:not(#tool-x) .tl-app{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid var(--line);border-radius:var(--r-win,10px);overflow:hidden;background:var(--bg);
  box-shadow:0 1px 2px rgba(11,11,12,.04),0 28px 56px -34px rgba(11,11,12,.3)}
.tool-pg:not(#tool-x) .tl-form{padding:clamp(20px,2.4cqi,32px);display:grid;gap:18px;align-content:start;border-right:1px solid var(--line)}
.tool-pg:not(#tool-x) .tl-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.tool-pg:not(#tool-x) .tl-f{display:grid;gap:8px;min-width:0}
.tool-pg:not(#tool-x) .tl-l{font:500 14px/1.3 var(--f);color:var(--ink-2);display:flex;justify-content:space-between;gap:12px}
.tool-pg:not(#tool-x) .tl-f textarea,.tool-pg:not(#tool-x) .tl-f select,.tool-pg:not(#tool-x) .tl-f input[type=text]{width:100%;box-sizing:border-box;font:400 16px/1.5 var(--f);color:var(--ink);background:var(--bg);
  border:1px solid var(--line);border-radius:var(--r-ctl,2px);padding:12px 14px}
.tool-pg:not(#tool-x) .tl-f textarea{resize:vertical;min-height:150px}
.tool-pg:not(#tool-x) .tl-f select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,var(--ink-2) 50%),linear-gradient(135deg,var(--ink-2) 50%,transparent 50%);
  background-position:calc(100% - 18px) 52%,calc(100% - 13px) 52%;background-size:5px 5px;background-repeat:no-repeat;padding-right:36px}
.tool-pg:not(#tool-x) .tl-f textarea:focus,.tool-pg:not(#tool-x) .tl-f select:focus,.tool-pg:not(#tool-x) .tl-f input:focus{outline:2px solid var(--orange);outline-offset:1px;border-color:transparent}
.tool-pg:not(#tool-x) .tl-f input[type=range]{width:100%;accent-color:var(--orange)}
.tool-pg:not(#tool-x) .tl-cnt{font:400 13px/1 var(--f);color:var(--mute);justify-self:end}
.tool-pg:not(#tool-x) .tl-rv{font:500 14px/1 var(--f);color:var(--ink);font-variant-numeric:tabular-nums}
.tool-pg:not(#tool-x) .tl-go{justify-self:start}
.tool-pg:not(#tool-x) .tl-out{padding:clamp(20px,2.4cqi,32px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px;background:#FBFBFB}
.tool-pg:not(#tool-x) .tl-out__h{font:500 14px/1.3 var(--f);color:var(--ink-2)}
.tool-pg:not(#tool-x) .tl-out__b{min-height:180px;border:1px dashed var(--line);border-radius:var(--r-ctl,2px);display:grid;place-items:center;padding:20px;text-align:center;
  font:400 16px/1.5 var(--f);color:var(--mute)}
.tool-pg:not(#tool-x) .tl-out__f{display:flex;gap:12px;align-items:center;justify-content:flex-end}
.tool-pg:not(#tool-x) .tl-out__f button[disabled]{opacity:.45;cursor:default}
.tool-pg:not(#tool-x) .tl-sec{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:28px clamp(32px,5cqi,96px);align-items:start}
.tool-pg:not(#tool-x) .tl-steps{list-style:none;margin:0;padding:0;counter-reset:s;border-top:1px solid var(--line)}
.tool-pg:not(#tool-x) .tl-steps li{counter-increment:s;display:grid;grid-template-columns:44px minmax(0,1fr);padding:18px 0;border-bottom:1px solid var(--line);font:400 17px/1.5 var(--f);color:var(--ink)}
.tool-pg:not(#tool-x) .tl-steps li::before{content:counter(s,decimal-leading-zero);font:500 13px/1.9 var(--m);color:var(--label,var(--heat))}
.tool-pg:not(#tool-x) .tl-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(24px,3cqi,48px);border-top:1px solid var(--line)}
.tool-pg:not(#tool-x) .tl-list li{padding:16px 0 16px 22px;border-bottom:1px solid var(--line);position:relative;font:400 17px/1.45 var(--f);color:var(--ink)}
.tool-pg:not(#tool-x) .tl-list li::before{content:"";position:absolute;left:0;top:23px;width:8px;height:8px;background:var(--orange)}
.tool-pg:not(#tool-x) .tl-list a{color:var(--ink);text-decoration:none;font-weight:500}
.tool-pg:not(#tool-x) .tl-list a:hover,.tool-pg:not(#tool-x) .tl-list a:focus-visible{color:var(--heat)}
.tool-pg:not(#tool-x) .tl-list small{display:block;margin-top:4px;font:400 15px/1.4 var(--f);color:var(--ink-2)}
@container site (max-width: 960px){
  .tool-pg:not(#tool-x) .tl-app,.tool-pg:not(#tool-x) .tl-sec{grid-template-columns:minmax(0,1fr)}
  .tool-pg:not(#tool-x) .tl-form{border-right:0;border-bottom:1px solid var(--line)}
}
@container site (max-width: 600px){
  .tool-pg:not(#tool-x) .tl-hero{grid-template-columns:minmax(0,1fr);text-align:left}
  .tool-pg:not(#tool-x) .tl-opts,.tool-pg:not(#tool-x) .tl-list{grid-template-columns:minmax(0,1fr)}
  .tool-pg:not(#tool-x) .tl-steps li,.tool-pg:not(#tool-x) .tl-list li{font-size:16px}
  .tool-pg:not(#tool-x) .tl-out__b{min-height:120px}
}
/* ===== r40 (Kriste 11-19 phone alignment, work/MOBILE-ALIGN-R40.md): one centre axis on phone ===== */
@container site (max-width: 600px){
  .tool-pg:not(#tool-x) .tl-hero{text-align:center;justify-items:center}
  .tool-pg:not(#tool-x) .tl-hero > div{display:grid;justify-items:center}
  .tool-pg:not(#tool-x) .tl-hero .sg-lede{margin-inline:auto}
  .tool-pg:not(#tool-x) .tl-go{justify-self:center;align-self:center;margin-inline:auto}
  .tool-pg:not(#tool-x) .tl-out__h{text-align:center}
  .tool-pg:not(#tool-x) .tl-sec > .sg-h2{text-align:center}
  .tool-pg:not(#tool-x) .tl-up{text-align:center}
  /* the short option list and the related tools: centred items, the square sits inline before each */
  .tool-pg:not(#tool-x) .tl-list li{padding:16px 0;text-align:center}
  .tool-pg:not(#tool-x) .tl-list li::before{position:static;display:inline-block;margin:0 10px 0 0;vertical-align:.08em}
}
