/* Shared workbench styling matches the architecture tools in ux.css. */
.general-tools .tool-studio{margin-top:23px;grid-template-columns:225px minmax(0,1fr)}
.general-tools .tools-intro{margin-top:4px}
.general-tool-niches{gap:8px;margin:0}
.general-tool-niches button{font-size:12px;min-height:46px;padding:11px 15px;gap:9px;transition:background .15s,border-color .15s,color .15s}
.general-tool-niches .ui-icon{width:19px;height:19px;flex-shrink:0}
.general-tool-niches [data-niche=Arquitectura]{margin-left:auto}
.general-tool-niches [data-niche=Arquitectura]>.ui-icon:last-child{width:15px}
.general-tools .tool-library{padding:15px}
.general-tools .tool-library nav button{min-height:68px}
.general-tools .tool-library nav strong{font-size:12px}
.general-tools .tool-search input{max-width:100%;min-width:0}
.general-search-empty{font-size:12px;color:var(--muted);line-height:1.6;margin:10px 0}
.general-workspace{scroll-margin-top:20px}
.general-workspace .tool-workspace-header{align-items:flex-start}
.general-workspace .tool-workspace-header h2{font-size:26px;letter-spacing:-.6px}
.general-workspace .tool-workspace-header>button{flex-shrink:0}
.general-workspace .general-scope{background:transparent;padding:0 0 0 14px;border:0;border-left:3px solid var(--border);border-radius:0;margin:0 0 22px}
.general-scope summary{font-size:12px;font-weight:600;min-height:32px}
.general-scope p{font-size:12px;max-width:740px;margin:7px 0 0}
.general-workspace .tool-form-grid{margin:0}
.general-workspace .tool-field{font-size:13px}
.general-workspace .tool-input-unit input{padding-right:74px}
.general-workspace .tool-input-unit>span{font-size:10px;max-width:60px}
.general-workspace .tool-example-note .ui-icon{width:13px;height:13px;vertical-align:-2px;margin-left:2px}
.general-workspace .general-result{background:none;margin:0;align-self:auto}
.general-workspace .tool-key-results strong{font-size:33px}
.general-workspace .tool-key-results small{font-size:11px;letter-spacing:0;white-space:normal;display:inline-block;margin:4px 0 0 7px}
.general-workspace .tool-output-actions button{display:flex;align-items:center;justify-content:center;gap:8px}
.general-workspace .tool-output-actions .ui-icon{width:17px;height:17px;flex-shrink:0}
.general-workspace .tool-results>.general-visual{margin:18px 0;padding:16px!important;border:1px solid var(--border)!important;background:var(--bg);border-radius:14px}
.general-visual h4{font-size:12px;line-height:1.5;margin:0 0 14px;color:var(--ink)}
.general-visual p{font-size:11px;line-height:1.6;color:var(--muted);margin:13px 0 0}
.general-visual-bar{display:flex;gap:4px;height:12px;overflow:hidden;border-radius:8px;background:var(--border);width:100%}
.general-visual-bar>span{display:block;flex-basis:0;min-width:0;border-radius:4px}
.general-tools .is-accent{background:var(--accent-strong)}
.general-tools .is-muted{background:var(--border)}
.general-tools .is-warm{background:#ba8a50}
.general-visual-legend{display:flex;flex-wrap:wrap;gap:10px 16px;margin-top:12px;font-size:10px;color:var(--muted);line-height:1.5}
.general-visual-legend>span{display:flex;align-items:center;gap:5px}
.general-visual-legend i{width:8px;height:8px;flex-shrink:0;border-radius:3px;display:inline-block}
.general-funnel{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}
.general-funnel li{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:12px;background:var(--soft)}
.general-funnel li:nth-child(2){margin-left:13px}.general-funnel li:nth-child(3){margin-left:26px}
.general-funnel b{font-size:19px;letter-spacing:-.4px;color:var(--accent-strong);overflow-wrap:anywhere;min-width:0}
.general-funnel span{font-size:11px;line-height:1.5;color:var(--muted)}
.general-agenda-slots{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:16px}
.general-agenda-slots>span{display:flex;align-items:center;justify-content:center;gap:4px;padding:8px;background:var(--soft);color:var(--accent-strong);border-radius:10px;font-size:12px}
.general-agenda-slots .ui-icon{width:16px;height:16px}.general-agenda-slots small{font-size:11px}
.general-agenda-slots .extra-slots{font-weight:700}.general-agenda-slots p{margin-top:0}
.general-equilibrium{display:flex;gap:10px;align-items:center;justify-content:space-between}
.general-equilibrium>span{flex:1;min-width:0;padding:14px 8px;border-radius:12px;background:var(--soft);font-size:10px;line-height:1.5;color:var(--muted)}
.general-equilibrium b{font-size:24px;color:var(--accent-strong);letter-spacing:-.5px;display:block;overflow-wrap:anywhere;margin-bottom:5px}
.general-equilibrium>.ui-icon{width:18px;height:18px;flex-shrink:0;color:var(--muted)}
.general-workspace textarea{width:100%;min-width:0;max-width:100%;resize:vertical;min-height:116px;border-radius:12px;background:var(--bg);font-size:13px;line-height:1.65;padding:13px;color:var(--ink)}
.general-workspace textarea::placeholder{font-size:12px;line-height:1.6;color:var(--muted)}
.general-outline-progress{font-size:11px;color:var(--muted);margin:0 0 20px}
.general-outline-progress .general-visual-bar{margin-top:10px;height:8px}
.general-outline-section{padding:15px 0;border-bottom:1px solid var(--border)}
.general-outline-section:last-child{border:0;padding-bottom:0}
.general-outline-section h4{font-size:12px;margin:0 0 9px;color:var(--accent-strong)}
.general-outline-section p{font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;color:var(--ink)}
.general-outline-section p.muted{color:var(--muted);font-style:italic}
.general-notice:empty{display:none}.general-notice{font-size:12px;line-height:1.5;padding:11px;background:var(--soft);border-radius:10px;margin:12px 0 0}
.general-tools :focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(max-width:1250px){.general-tools .tool-studio{grid-template-columns:190px minmax(0,1fr);gap:18px}.general-workspace .tool-key-results strong{font-size:28px}}
@media(max-width:1100px){.general-tools .tool-studio{display:block}.general-tool-niches [data-niche=Arquitectura]{margin-left:0}.general-tools .tool-library nav{grid-template-columns:repeat(2,minmax(0,1fr))}.general-tools .tool-library summary .ui-icon{width:20px;height:20px;flex-shrink:0}.general-tools .tool-library>details:not([open])>*:not(summary){display:none}}
@media(max-width:760px){.general-tools .tool-studio{margin-top:18px}.general-tool-niches{gap:7px}.general-tool-niches button{font-size:11px;padding:10px 12px;gap:6px}.general-tool-niches .ui-icon{width:17px;height:17px}.general-tools .tool-library{padding:12px;margin-bottom:22px}.general-tools .tool-library nav button{min-height:66px;padding:10px 8px}.general-tools .tool-library nav strong{font-size:11px}.general-workspace .tool-workspace-header h2{font-size:24px}.general-workspace .tool-workspace-header{gap:10px}.general-workspace .tool-workspace-header>button{padding:10px;font-size:11px}.general-workspace .tool-inputs,.general-workspace .tool-output{padding:20px}.general-workspace .tool-key-results strong{font-size:32px}.general-workspace .tool-key-results small{font-size:11px}.general-tools .tool-jump{min-height:48px}.general-workspace .tool-output{scroll-margin-top:18px}}
@media(max-width:360px){.general-tool-niches button{font-size:10px;padding:9px 10px}.general-tools .tool-library nav{grid-template-columns:1fr}.general-workspace .tool-workspace-header h2{font-size:22px}.general-workspace .tool-inputs,.general-workspace .tool-output{padding:17px}.general-equilibrium{gap:6px}.general-equilibrium>span{font-size:9px;padding:12px 7px}.general-equilibrium>.ui-icon{width:14px}.general-workspace .tool-key-results strong{font-size:29px}}
@media(prefers-reduced-motion:reduce){.general-tool-niches button{transition:none}}
