.tool-controls{min-width:0;margin:0;padding:0;border:0}.tool-operation{position:relative;margin:1.5rem 0 2rem;min-height:20rem}.tool-operation:not([data-state=ready])>.tool-controls{opacity:.35}.tool-controls>.tool-card:first-child{margin-top:0}.tool-controls>.tool-card:last-child{margin-bottom:0}.tool-overlay{position:absolute;inset:0;z-index:1;padding:1rem;border-radius:12px}.tool-overlay:before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:var(--paper);opacity:.6}.tool-initialization{max-width:36rem;margin:0 auto;padding:1.1rem 1.25rem;border:1px solid var(--rule);border-radius:10px;background:var(--surface);color:var(--ink);box-shadow:0 3px 14px #252a2814;font:1rem/1.6 system-ui,sans-serif;overflow-wrap:anywhere}.tool-initialization h2{margin:0 0 .5rem;padding:0;border:0;font:600 1.1rem/1.4 system-ui,sans-serif}.tool-initialization p{margin:.5rem 0 0}.tool-initialization .tool-note{color:var(--muted)}.tool-initialization a{font-weight:600}.tool-capability-note{margin:0 0 .5rem;color:var(--muted);font:.8rem/1.5 system-ui,sans-serif}.tool-page-intro .eyebrow{margin-top:1.5rem}.tool-page-intro .tool-intro{margin-bottom:.5rem}.tool-intro{font-size:1.4rem}.tool-card,.tool-details{font-family:system-ui,sans-serif}.tool-card{padding:1.5rem;border:1px solid var(--rule);border-radius:12px;margin:2rem 0;background:var(--surface)}.tool-card h2{margin-top:0}.file-picker{display:block;padding:1.2rem;border:1px dashed var(--muted);border-radius:8px;font-weight:600}.file-picker span{display:block;font-size:.85rem;margin:.4rem 0 1rem;color:var(--muted);font-weight:400}.file-picker input{display:block;width:100%;min-width:0;font:inherit;font-weight:400}.file-picker input::file-selector-button{font:inherit;padding:.45rem .7rem;margin-right:.75rem;border:1px solid var(--rule);border-radius:5px;background:var(--paper);color:var(--ink);cursor:pointer}#file-info{margin:.75rem 0 1.5rem;overflow-wrap:anywhere;font-size:.9rem;color:var(--muted)}.tool-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:1rem}.tool-field{display:flex;flex-direction:column;align-items:stretch;gap:.45rem;min-width:0}.tool-field label{font-size:.9rem;font-weight:600}.tool-parameter{min-width:0}.tool-options select,.tool-options input{width:100%;height:2.85rem;min-width:0;font:inherit;font-size:1rem;line-height:1.4;padding:.6rem .75rem;border:1px solid #999;border-radius:6px;background:#fff;color:var(--ink)}.tool-options :disabled{background:var(--paper);color:var(--muted)}.tool-wide{grid-column:1 / -1}.tool-options .tool-note{margin:0}.tool-note{color:var(--muted);font-size:.88rem;overflow-wrap:anywhere}.tool-options+.tool-note{margin-top:1rem}.tool-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:1.5rem}.tool-result{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--rule);overflow-wrap:anywhere}.tool-result p:last-child{margin-bottom:0}#progress,.tool-progress{display:block;width:100%;height:.6rem;margin:.75rem 0;accent-color:var(--link)}@media(prefers-reduced-motion:reduce){.tool-progress:not([value]){display:none}}.tool-details li{margin-bottom:.75rem}@media(max-width:600px){.tool-page-intro .tool-intro{font-size:1.12rem;line-height:1.45}.tool-page-intro>p:last-child{font-size:.94rem;line-height:1.5}.tool-page-intro h1{margin-bottom:.75rem}.tool-overlay{padding:.75rem}.tool-initialization{padding:1rem;font-size:.94rem}.tool-options{grid-template-columns:minmax(0,1fr)}.tool-card{padding:1rem}.tool-actions>*{width:100%}}.file-picker.is-dragover{border-color:var(--link);background:var(--paper)}
