/* CoreTxt free snapshot tool: form, progress and results dashboard. Uses the site's palette variables. */
.tool{margin:1.5rem 0 2.5rem;scroll-margin-top:90px}
.tool-card{background:#fff;border:1px solid var(--c-gray-1,#e1dfe1);border-radius:18px;padding:1.5rem}
.tool-card h2{margin:0 0 .4rem!important;font-size:1.5rem!important}
.tool-card .sub{margin:0 0 1.1rem;color:var(--muted)}
.tool .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.tool .msg{font-size:.8rem;min-height:1em;color:#b3261e}
.tool .send-err{color:#b3261e;font-size:.9rem;margin:.75rem 0 0}
.tool button.btn{width:100%;margin-top:1.1rem;cursor:pointer}
.tool button.btn[disabled]{opacity:.7;cursor:progress}
.tool .fine{margin-top:.8rem}
/* progress */
.tp-bar{height:12px;border-radius:99px;background:var(--c-gray-1,#e1dfe1);overflow:hidden;margin:1rem 0 .5rem}
.tp-bar i{display:block;height:100%;width:0;background:var(--c-green,#00ca4e);border-radius:99px;transition:width .5s ease}
.tp-steps{list-style:none;margin:1rem 0 0;padding:0;display:grid;gap:.45rem}
.tp-steps li{display:flex;gap:.6rem;align-items:center;color:var(--muted);font-size:.95rem}
.tp-steps li::before{content:"";width:12px;height:12px;border-radius:50%;border:2px solid var(--c-gray-2,#c0bfc0);flex:none}
.tp-steps li.on{color:var(--fg);font-weight:600}
.tp-steps li.on::before{border-color:var(--c-amber,#ffbd44);background:var(--c-amber,#ffbd44)}
.tp-steps li.done::before{border-color:var(--c-green,#00ca4e);background:var(--c-green,#00ca4e)}
.tp-note{font-size:.85rem;color:var(--muted);margin:.8rem 0 0}
/* results */
.tr-top{display:grid;grid-template-columns:auto 1fr;gap:1.4rem;align-items:center}
.tr-ring{position:relative;width:150px;height:150px}
.tr-ring svg{width:150px;height:150px;transform:rotate(-90deg)}
.tr-ring .bg{fill:none;stroke:var(--c-gray-1,#e1dfe1);stroke-width:12}
.tr-ring .fg{fill:none;stroke-width:12;stroke-linecap:round;transition:stroke-dashoffset .9s ease}
.tr-ring .num{position:absolute;inset:0;display:grid;place-content:center;text-align:center;line-height:1.05}
.tr-ring .num b{font-size:2.6rem;letter-spacing:-.02em}
.tr-ring .num span{font-size:.75rem;color:var(--muted)}
.tr-top h2{margin:0 0 .3rem!important;font-size:1.4rem!important}
.tr-top p{margin:.2rem 0;color:var(--muted);font-size:.92rem}
.tr-h{margin:1.6rem 0 .6rem!important;font-size:1.1rem!important}
.tr-cats{display:grid;gap:.7rem}
.tr-cat .row1{display:flex;justify-content:space-between;gap:.6rem;font-size:.92rem;margin-bottom:.25rem}
.tr-cat .row1 span:last-child{color:var(--muted)}
.tr-cat .bar{height:10px;border-radius:99px;background:var(--c-gray-1,#e1dfe1);overflow:hidden}
.tr-cat .bar i{display:block;height:100%;border-radius:99px}
.tr-locked{display:flex;flex-wrap:wrap;gap:.45rem}
.tchip{display:inline-flex;align-items:center;gap:.35rem;border:1px solid var(--c-gray-2,#c0bfc0);border-radius:99px;padding:.2rem .65rem;font-size:.82rem;background:#fff}
.tchip.ok{background:#e6f9ec;border-color:var(--c-green,#00ca4e)}
.tchip.no{background:#fdeceb;border-color:var(--c-red,#ff605c)}
.tchip.lock::before{content:"\1F512";font-size:.7rem}
.tr-issue{border:1px solid var(--c-gray-1,#e1dfe1);border-radius:12px;padding:.85rem 1rem;margin:.5rem 0}
.tr-issue.first{border-left:5px solid var(--c-red,#ff605c);background:#fffafa}
.tr-issue h4{margin:0 0 .25rem;font-size:1rem}
.tr-issue p{margin:.2rem 0;font-size:.9rem;color:var(--muted)}
.tr-tags{display:flex;gap:.4rem;flex-wrap:wrap;margin-bottom:.35rem}
.tg2{border-radius:99px;padding:.1rem .55rem;font-size:.72rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;background:var(--c-gray-1,#e1dfe1)}
.tg2.critical,.tg2.high{background:var(--c-red,#ff605c);color:#3a0a09}
.tg2.medium{background:var(--c-amber,#ffbd44);color:#3a2600}
.tg2.low{background:var(--c-gray-1,#e1dfe1)}
.tr-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.6rem}
.tr-stat{border:1px solid var(--c-gray-1,#e1dfe1);border-radius:12px;padding:.7rem .85rem}
.tr-stat small{display:block;color:var(--muted);font-size:.75rem}
.tr-stat b{font-size:1.05rem}
.tr-cta{margin-top:1.6rem;background:#f5f5f7;border-radius:16px;padding:1.2rem}
.tr-cta h3{margin:0 0 .4rem;font-size:1.15rem}
.tr-cta p{margin:.2rem 0 .8rem;color:var(--muted)}
.tr-cta .btns{display:flex;gap:.6rem;flex-wrap:wrap}
.tr-cta a.btn,.tr-cta button.btn{width:auto;margin:0}
.tr-fine{font-size:.78rem;color:var(--muted);margin-top:1rem}
.tr-again{background:none;border:0;color:var(--fg);text-decoration:underline;cursor:pointer;padding:0;font:inherit;width:auto!important;margin:0!important}
@media(max-width:560px){.tr-top{grid-template-columns:1fr;justify-items:center;text-align:center}.fgrid{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){.tp-bar i,.tr-ring .fg{transition:none}}
.tr-cta a.btn-ghost{color:#1d1d1f!important;border:2px solid #1d1d1f;background:#fff}
/* hero layout: tool above the fold */
.tool-hero{padding:28px 0 40px;border-bottom:1px solid #e8e8ed}
.tool-hero .crumbs{margin:0 0 14px}
.th-grid{display:grid;grid-template-columns:1fr;gap:20px;align-items:start}
.th-copy{text-align:left}
.th-copy h1{font-size:clamp(1.7rem,3.6vw,2.6rem);line-height:1.1;max-width:none;margin:.4rem 0 .8rem;text-align:left}
.th-copy p{margin:0 0 .9rem;text-align:left;max-width:none;font-size:1.05rem}
.th-pts{list-style:none;margin:0;padding:0;display:grid;gap:.5rem;color:#1d1d1f;font-size:.98rem}
.th-pts li{padding-left:1.5rem;position:relative}
.th-pts li::before{content:"";position:absolute;left:0;top:.45em;width:.8rem;height:.8rem;border-radius:50%;background:var(--c-green,#00ca4e)}
.tool-hero .tool{margin:0;scroll-margin-top:70px}
.tool-hero .tool-card{padding:1.2rem;box-shadow:0 8px 30px rgba(0,0,0,.06)}
.tool-hero .tool-card h2{font-size:1.25rem!important}
.tool-hero .tool-card .sub{margin-bottom:.8rem;font-size:.92rem}
.tool-hero .field{margin:0}
.tool-hero .fgrid{gap:.55rem .8rem}
.tool-hero .fine{font-size:.74rem;line-height:1.35}
@media(min-width:900px){.th-grid{grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:40px}.th-copy{padding-top:28px}}
@media(max-width:600px){.th-pts{display:none}.tool-hero{padding-top:16px}.th-copy p{font-size:.98rem}}
/* compact form v3 */
.tool-hero{padding:14px 0 28px}
.tool-hero .crumbs{margin:0 0 8px}
.tool-hero .tool-card{padding:1rem 1.1rem}
.tool-hero .tool-card h2{font-size:1.15rem!important;margin:0 0 .15rem!important}
.tool-hero .tool-card .sub{margin:0 0 .5rem;font-size:.85rem;line-height:1.3}
.tool-hero .field label{margin:0 0 .2rem;font-size:.82rem;line-height:1.2}
.tool-hero .field input,.tool-hero .field select{padding:.45rem .7rem;font-size:.95rem;min-height:0;height:38px}
.tool-hero .msg{min-height:0;font-size:.74rem;line-height:1.1}
.tool-hero .msg:empty{display:none}
.tool-hero .fgrid{gap:.4rem .7rem}
.tool-hero .tool button.btn,.tool-hero button.btn{margin-top:.6rem;padding-block:.6rem}
.tool-hero .fine{margin-top:.5rem;font-size:.7rem;line-height:1.3}
.tool-hero .send-err{margin:.4rem 0 0}
@media(min-width:900px){.th-copy{padding-top:10px}}
