.tool-page{padding-bottom:3rem}.tool-page .page-header{max-width:850px}.tool-app{margin:1.5rem 0 2.5rem}.tool-panel{margin:1rem 0;padding:clamp(1rem,3vw,2rem)}.tool-panel h2:first-child{margin-top:0}.tool-app input,.tool-app select,.tool-app textarea{font:inherit;color:inherit;background:var(--surface,#fff);border:1px solid var(--line,#c7d1d4);border-radius:8px;min-width:0;max-width:100%;padding:.7rem .8rem}.tool-app textarea{resize:vertical;overflow-wrap:anywhere;width:100%;margin:.5rem 0 1rem;display:block}.tool-app input[type=file]{width:100%;margin:.5rem 0 1rem}.tool-app label{flex-direction:column;gap:.45rem;font-weight:650;display:flex}.tool-app input:focus-visible,.tool-app select:focus-visible,.tool-app textarea:focus-visible,.touch-tool:focus-visible{outline:3px solid var(--accent,#187a71);outline-offset:3px}.tool-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:end;gap:1rem;display:grid}.tool-form-grid .button{justify-self:start}.score-inputs{grid-template-columns:repeat(5,minmax(0,1fr));gap:.75rem;margin:1rem 0;display:grid}.score-inputs input{width:100%}.inline-label{vertical-align:middle;margin-right:1rem;display:inline-flex!important}.tool-tabs,.tool-actions{flex-wrap:wrap;gap:.65rem;margin:.8rem 0;display:flex}.tool-tabs button{flex:1}.tool-note{color:var(--muted,#53646b);font-size:.9rem;line-height:1.65}.tool-error{color:#aa3529;overflow-wrap:anywhere;font-weight:650}.tool-error:empty{display:none}.result-heading{justify-content:space-between;align-items:center;gap:1rem;display:flex}.score-badge{background:var(--soft,#e9f3ef);text-align:center;white-space:nowrap;border-radius:14px;padding:1rem 1.5rem}.score-badge strong{font-size:3rem;line-height:1.1;display:block}.score-badge span{font-size:1rem}.table-scroll{max-width:100%;overflow-x:auto}.tool-table{border-collapse:collapse;width:100%;margin:1rem 0;font-size:.95rem}.tool-table caption{text-align:left;padding:.5rem 0;font-weight:650}.tool-table th,.tool-table td{text-align:left;border-bottom:1px solid var(--line,#d7e0df);vertical-align:top;padding:.85rem .75rem}.tool-table th{color:var(--muted,#53646b);font-weight:650}.tool-table th:first-child,.tool-table td:first-child{padding-left:0}.target-box{background:var(--soft,#f1f5f2);border-radius:12px;margin:1.5rem 0;padding:1.3rem}.target-box h3{margin-top:0}.lock-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;margin:1rem 0;display:grid}.lock-list label{flex-direction:row;align-items:center;gap:.5rem;font-size:.9rem;font-weight:500;display:flex}.lock-list input{width:18px;height:18px;accent-color:var(--accent,#187a71);flex-shrink:0}.plan-result{font-weight:700;line-height:1.6}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0;display:grid}.metric-grid>div{border:1px solid var(--line,#d7e0df);border-radius:10px;padding:1rem}.metric-grid span{color:var(--muted,#53646b);margin-bottom:.45rem;font-size:.83rem;display:block}.metric-grid strong{overflow-wrap:anywhere;font-size:clamp(1.05rem,2vw,1.45rem);line-height:1.4}.tool-figure{margin:1.5rem 0}.tool-figure svg{background:var(--soft,#f7faf8);border-radius:12px;width:100%;height:auto;display:block}.tool-figure figcaption{color:var(--muted,#53646b);margin-top:.65rem;font-size:.85rem;line-height:1.65}.chart-grid{stroke:var(--line,#d5dfdc);stroke-width:1px}.chart-label{fill:var(--muted,#50635d);font:14px system-ui,sans-serif}.curve-line{stroke:var(--accent,#16786e);stroke-width:3px}.chart-marker-line{stroke:#d58b29;stroke-width:2px;stroke-dasharray:5 4}.chart-marker{fill:#c87520;stroke:#fff;stroke-width:2px}.angle-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:2rem;margin-top:1.5rem;display:grid}.touch-tool{touch-action:none;-webkit-user-select:none;user-select:none;background:var(--soft,#f5f8f5);border-radius:12px;width:100%;height:auto;display:block}.touch-tool text{fill:var(--muted,#53646b);font:14px system-ui,sans-serif}.dial-ring{fill:none;stroke:var(--line,#ccd7d1);stroke-width:3px}.dial-ticks{stroke:var(--muted,#53646b);stroke-width:2px}.target-ray{stroke:#c77824;stroke-width:4px;stroke-dasharray:6 4}.estimate-ray{stroke:var(--accent,#16786e);stroke-width:5px;stroke-linecap:round}.drag-handle{fill:var(--accent,#16786e);stroke:#fff;stroke-width:3px;cursor:grab}.dial-center{fill:var(--muted,#53646b)}.split-extension{stroke:var(--line,#cad5ce);stroke-width:5px;stroke-dasharray:7 5}.split-original{stroke:var(--muted,#53646b);stroke-width:7px;stroke-linecap:round}#split-line{margin:1.5rem 0}.tempo-status{min-height:1.7em;font-weight:650}.tempo-pad{border:2px solid var(--accent,#16786e);background:var(--accent,#16786e);color:#fff;touch-action:manipulation;cursor:pointer;border-radius:16px;flex-direction:column;justify-content:center;align-items:center;gap:.5rem;width:100%;min-height:160px;font:700 2rem system-ui,sans-serif;display:flex}.tempo-pad span{font-size:1rem}.tempo-pad:active:not(:disabled){filter:brightness(1.15);transform:scale(.99)}.tempo-pad:disabled{opacity:.45;cursor:default}.tool-prose{max-width:900px;line-height:1.8}.tool-prose h2{margin-top:2.4rem}.tool-prose h3{margin-top:1.8rem}.tool-prose code{white-space:normal;font-size:.9em}.tool-definitions dt{margin-top:1rem;font-weight:750}.tool-definitions dd{margin:.3rem 0 1.2rem}.tools-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:2rem 0;display:grid}.tool-card{flex-direction:column;padding:1.5rem;transition:transform .15s,border-color .15s;display:flex;color:inherit!important;text-decoration:none!important}.tool-card:hover{border-color:var(--accent,#16786e);transform:translateY(-2px)}.tool-card h2{margin:.6rem 0;font-size:1.4rem}.tool-card p{color:var(--muted,#53646b);margin:0 0 1rem;line-height:1.7}.tool-card-action{color:var(--accent,#16786e);margin-top:auto;font-weight:750}.tool-related{margin-top:2.5rem;padding:clamp(1rem,3vw,2rem)}.tool-link-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;display:grid}.tool-link-grid a{font-weight:700;line-height:1.5}.tool-link-grid span{color:var(--muted,#53646b);margin-top:.4rem;font-size:.9rem;font-weight:400;display:block}.tool-related>p{margin-top:1.5rem;font-size:.9rem}.tool-app [hidden]{display:none!important}#session-picker{margin-top:1rem}#io-session{width:100%}#copy-fallback{font-size:.9rem}#tempo-results .metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tool-app .button.secondary{color:#076773}.tool-fieldset{border:0;min-width:0;margin:0;padding:0}@media (width<=620px){.tool-form-grid,.angle-layout,.tools-cards,.tool-link-grid{grid-template-columns:1fr}.score-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.score-inputs label:last-child{grid-column:1/-1}.tool-tabs button{flex-basis:100%}.result-heading{align-items:flex-start}.score-badge{padding:.8rem}.score-badge strong{font-size:2.5rem}.metric-grid{grid-template-columns:1fr}.metric-grid>div{justify-content:space-between;align-items:center;gap:.8rem;display:flex}.metric-grid span{margin:0}.lock-list{grid-template-columns:1fr}.target-box{padding:1rem}.tool-table{font-size:.84rem}.tool-table td,.tool-table th{padding:.7rem .45rem}.angle-layout{gap:.5rem}.angle-layout svg{max-width:380px;margin:auto}.inline-label{margin:1rem 0;display:flex!important}.tool-panel .button{white-space:normal;max-width:100%}.touch-tool text{font-size:15px}#tempo-results .metric-grid{grid-template-columns:1fr}.tool-prose{line-height:1.75}.tool-card{padding:1.2rem}}@media (prefers-reduced-motion:reduce){.tool-card{transition:none}.tempo-pad:active:not(:disabled){transform:none}}
