body:has(.tool-site){margin:0}.tool-site,.tool-site *{box-sizing:border-box}.tool-site{min-height:100vh;display:flex;flex-direction:column;color:var(--site-ink);background:var(--site-backdrop);font-family:var(--site-font)}.workbench{width:min(calc(100% - clamp(2rem,5vw,4rem)),60rem);margin:0 auto;padding:clamp(2rem,5.8vw,5rem) 0 clamp(3rem,6vw,5rem)}.tool-intro{text-align:center;margin:0 auto 2rem}.tool-intro h1{font-size:clamp(1.75rem,4.2vw,3rem);font-weight:700;line-height:1.14;margin:0 0 1rem;text-wrap:balance}.tool-intro .intro{font-size:clamp(1rem,2vw,1.25rem);line-height:1.5;margin:0 auto;color:var(--site-muted);max-width:60ch;text-wrap:pretty}.workbench h2{line-height:1.25;font-size:1.25rem;margin:0}.workbench :where(button,input,label){font:inherit}.workbench button,.workbench input[type=range],.workbench summary{cursor:pointer}.tool-site :focus-visible{outline:3px solid var(--site-accent);outline-offset:3px}.tool-panel,.tool-site .help{background:#fffffff2;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 6px 22px #1f293714}.tool-panel{overflow:clip}.tool-pad{padding:clamp(1rem,3vw,1.5rem)}.tool-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border-radius:10px;border:1px solid var(--site-border);color:#374151;background:#fff;text-decoration:none;line-height:1.3;font-weight:600}.tool-btn:hover:enabled,a.tool-btn:hover{border-color:#059669;color:var(--site-accent)}.tool-btn.primary,a.tool-btn.primary:hover{background:linear-gradient(135deg,#047857,#066c53);border-color:transparent;color:#fff;box-shadow:0 4px 12px #0596692e}.tool-btn.primary:hover:enabled,a.tool-btn.primary:hover{background:#065f46;color:#fff}.workbench button:disabled{cursor:default;opacity:.55}.tool-site .muted{color:var(--site-muted);font-size:.9rem;line-height:1.5;margin:.5rem 0 0}.tool-site .error{color:#991b1b;background:#fef2f2;border:1px solid #fecaca;border-radius:10px;padding:12px 16px;line-height:1.45}.tool-site .segment{display:inline-flex;background:#f3f4f6;border-radius:10px;padding:3px}.segment button{min-height:44px;border:0;background:transparent;padding:4px 14px;border-radius:7px;color:var(--site-muted)}.segment button[aria-pressed=true]{background:#fff;box-shadow:0 1px 4px #1f293720;color:var(--site-accent);font-weight:600}.tool-site .help{margin-top:1.25rem;padding:0 clamp(1rem,3vw,1.5rem)}.help summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;list-style:none;padding:16px 0;font-weight:600}.help summary::-webkit-details-marker{display:none}.help summary:after{content:"";width:8px;height:8px;margin-right:3px;flex:none;border:solid var(--site-accent);border-width:0 2px 2px 0;transform:rotate(45deg)}.help[open] summary:after{transform:rotate(225deg)}.help p{line-height:1.6;margin:0 0 1rem;color:var(--site-muted)}.tool-site footer .footer-links{flex-wrap:wrap}.tool-site .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media (max-width: 560px){.workbench{padding:1.75rem 0 2.5rem}.tool-intro{margin-bottom:1.25rem}.tool-intro h1{margin-bottom:.5rem}.workbench.editing{padding-top:1rem}.workbench.editing .intro{display:none}.workbench.editing h1{font-size:1.5rem}}.guide{margin-top:1.25rem}.guide nav{display:flex;flex-wrap:wrap;column-gap:1.1rem;margin-bottom:1.25rem;border-bottom:1px solid var(--site-border)}.guide nav a{display:inline-flex;align-items:center;min-height:44px}.guide-nav-label{display:none}.guide h2[id]{scroll-margin-top:6rem}.guide h3{margin:1.25rem 0 0;font-size:1.05rem;line-height:1.35}.guide section+section{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--site-border)}.guide p{max-width:68ch;margin:.6rem 0 0;line-height:1.6;color:var(--site-muted)}.guide a{color:var(--site-accent);text-underline-offset:.15em}@media (min-width: 60rem){.guide{display:grid;grid-template-columns:clamp(10rem,17vw,12.5rem) minmax(0,1fr);align-items:start;gap:clamp(2rem,3vw,3rem);padding:clamp(1.5rem,3vw,2.5rem)}.guide nav{position:sticky;top:6rem;display:grid;max-height:calc(100dvh - 7rem);overflow-y:auto;margin:0;padding:.25rem 1rem .25rem .25rem;border-bottom:0;border-right:1px solid var(--site-border)}.guide-nav-label{display:block;margin:0 0 .5rem;font-weight:700}.guide nav a{width:fit-content}.guide p{font-size:1.0625rem}}
