/* Keep collaboration steady, then condense the completed delivery. */
.task-delivery.council-delivery{height:340px;min-height:340px;max-height:340px;overflow:hidden}
.council-progress-host{height:100%;min-height:0}.council-delivery>.result-top{flex:1;min-height:0;padding:26px}.council-delivery .result-actions{flex:none;padding:16px 26px}.council-delivery .result-error{max-height:60px;overflow:auto;flex:none}
.council-stage{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden;isolation:isolate}.council-summary{display:flex;align-items:center;gap:9px;padding:13px 18px;height:48px;flex:none}.council-summary strong{font-size:12px;font-weight:500}.council-count{font-size:11px;color:var(--muted)}.council-summary button{margin-left:auto;font-size:11px;padding:5px 9px}.council-live-dot{width:6px;height:6px;flex:none;border-radius:50%;background:#95a9bb}.council-stage[data-live=true] .council-live-dot{background:var(--action);box-shadow:0 0 9px #82bfd944}
.council-stage-body{min-height:0;flex:1;display:flex;flex-direction:column;padding:0 12px 12px;background:radial-gradient(ellipse at 50% 48%,#92bbcd0c,transparent 52%)}
.council-phases{display:flex;justify-content:center;align-items:center;gap:10px;height:24px;flex:none;font-size:10px;color:var(--muted)}.council-phases i{width:20px;height:1px;background:var(--line)}.council-phases [data-done=true]{color:var(--success)}.council-phases [data-active=true]{color:var(--accent)}
.council-arena{position:relative;flex:1;min-height:0;width:100%;max-width:800px;margin:0 auto}.council-links{position:absolute;inset:0;width:100%;height:100%}.council-links path{fill:none;stroke:#8bbfe044;stroke-width:1;vector-effect:non-scaling-stroke}.council-links .council-bus{stroke:#9bafbd18}.council-stage[data-live=true] .council-links path[data-status=running]{stroke:#accbd688;stroke-dasharray:4 12;animation:council-flow 2.4s linear infinite}.council-links path[data-status=completed]{stroke:color-mix(in srgb,var(--accent) 35%,transparent)}
.council-hub{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;align-items:center;flex-direction:column;gap:5px;z-index:2}.commander-glyph{position:relative;display:grid;place-items:center;width:56px;height:56px;flex:none;border-radius:12px;border:1px solid var(--line);color:var(--action,#398cff);background:var(--surface)}.commander-glyph>svg{width:28px;height:28px}.core-light{filter:drop-shadow(0 0 4px #b7eaff88)}.core-orbit{transform-origin:32px 32px}.council-hub strong{font-size:12px;font-weight:600}.council-hub small{font-size:10px;color:var(--muted)}.council-stage[data-live=true] .core-orbit{animation:core-turn 9s linear infinite}.council-stage[data-live=true] .commander-glyph::before{content:'';position:absolute;inset:-8px;border:1px solid #a0dfff88;border-radius:50%;animation:core-wave 2.8s ease-out infinite;pointer-events:none}.council-stage[data-live=true] .core-light{animation:core-breathe 2.8s ease-in-out infinite}
.council-stage[data-live=true] .commander-glyph .expert-sheen,.council-stage[data-live=true] .council-member[data-status=running] .expert-sheen{opacity:1;animation:expert-orbit 2.4s linear infinite}
.council-member{position:absolute;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:flex-start;gap:9px;z-index:3;width:142px;height:52px;padding:3px 6px;border-radius:9px;}.council-member .expert-glyph{--expert-signal:var(--member-signal);width:36px;height:38px;border-radius:11px}.council-member .expert-glyph svg{width:22px;height:22px}.council-member-label{display:flex;flex-direction:column;gap:4px;min-width:0}.council-member strong{font-size:11px;font-weight:500;white-space:nowrap}.council-member small{font-size:10px;color:var(--muted);white-space:nowrap}.council-member[data-status=completed] small{color:var(--accent)}
.council-caption{text-align:center;font-size:11px;color:var(--muted);line-height:20px;height:20px;flex:none;margin:2px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@keyframes council-arrive{from{opacity:0;transform:translate(-50%,calc(-50% + 6px)) scale(.93)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}
@keyframes council-flow{to{stroke-dashoffset:-64}}
@media(max-width:800px){.council-member{width:124px;gap:6px}.council-phases{gap:7px}.council-phases i{width:12px}.council-member .expert-glyph{width:32px;height:34px}.commander-glyph{width:58px;height:58px}.commander-glyph>svg{width:26px;height:26px}}
@media(prefers-reduced-motion:reduce){.council-stage *{animation:none!important;transition:none!important}}
/* The command frame stays in place; only the directory below scrolls. */
#experts-view{overflow:hidden}.expert-page{height:100%;width:100%;display:flex;flex-direction:column;padding:24px 28px 18px;gap:16px}.expert-heading{flex:none}.expert-heading h1{font-size:24px}.expert-directory{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding-right:4px}.expert-directory-heading{margin:0 0 12px}
.council-command{position:relative;height:250px;min-height:250px;flex:none;border:1px solid var(--line-strong);border-radius:18px;background:var(--soft);overflow:hidden}.council-launch{height:100%;display:flex;flex-direction:column;padding:24px 26px;margin:0;background:none;border:0;border-radius:inherit}.council-launch-title{display:flex;align-items:center;gap:14px}.council-launch label{font-size:18px;font-weight:500}.council-launch-title .commander-glyph{width:48px;height:48px}.council-launch-title .commander-glyph>svg{width:26px;height:26px}.council-launch textarea{width:100%;flex:1;min-height:0;resize:none;border:0;background:transparent;font:inherit;font-size:16px;line-height:1.8;color:inherit;outline:none;margin:20px 0 12px;padding:0}.council-launch-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex:none}.council-launch button[type=submit]{display:flex;align-items:center;gap:10px;flex:none;padding:10px 18px;background:var(--action);color:#fff;border-radius:10px;font-size:13px;font-weight:500}.council-launch button[type=submit] svg{width:17px;height:17px}
.council-live-panel{height:100%}.council-delivered{height:100%;display:flex;flex-direction:column}.council-delivered-main{display:flex;flex:1;min-height:0;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:20px 32px}.council-delivered-main small{color:var(--muted);font-size:12px}.council-delivered-main strong{font-size:16px;font-weight:500;line-height:1.7;text-align:center;max-width:100%;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.council-delivered>.result-actions{justify-content:center;padding:14px 20px}.council-delivered>.error-message{flex:none;max-height:42px;overflow:auto;margin:0;padding:0 20px 10px;font-size:11px}
.council-command{border-color:var(--line)}
.council-flight{position:fixed!important;z-index:120;pointer-events:none;transform-origin:center;box-shadow:0 0 24px color-mix(in srgb,var(--expert-signal) 45%,transparent)}.council-member .expert-glyph.is-arriving{visibility:hidden}
.council-toggle{font-size:12px;color:var(--muted);padding:5px 8px;border:1px solid transparent;border-radius:7px}.council-toggle[aria-pressed=true]{background:var(--selected);color:var(--text)}
@media(max-height:760px){.council-command{height:230px;min-height:230px}.task-delivery.council-delivery{height:300px;min-height:300px;max-height:300px}.expert-page{padding-block:18px;gap:12px}}

.council-questions{display:grid;grid-template-columns:repeat(3,max-content);gap:8px}.council-questions button{font:inherit;font-size:12px;line-height:1.4;padding:7px 11px;border:1px solid transparent;border-radius:8px;color:var(--muted);background:var(--control);transition:background .16s ease,color .16s ease,border-color .16s ease}.council-questions button:hover{background:var(--hover);color:var(--text)}.council-questions button:focus-visible{outline:2px solid var(--action);outline-offset:2px}

.council-flight-trail{position:fixed;inset:0;width:100vw;height:100vh;z-index:119;overflow:visible;pointer-events:none}.council-flight-trail path{fill:none;stroke-width:1.7;stroke-dasharray:.16 .84;stroke-linecap:round;filter:drop-shadow(0 0 4px #bcefff66)}
.council-member[data-identified=false]{visibility:hidden}.council-member.is-docked .expert-glyph::after{content:'';position:absolute;inset:-3px;border:1px solid var(--member-signal);border-radius:inherit;animation:council-dock .55s ease-out both;pointer-events:none}
.council-stage[data-live=true] .council-links path[data-status=running]{stroke:var(--action);stroke-width:1.3;filter:drop-shadow(0 0 3px #99d8f844)}
.council-delivered[data-status=completed] .council-delivered-main small,.council-delivery .result-status[data-status=completed]{color:var(--success);font-weight:600;display:flex;align-items:center;gap:7px}.council-delivered[data-status=completed] .council-delivered-main small::before,.council-delivery .result-status[data-status=completed]::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--accent);}
@keyframes core-turn{to{transform:rotate(360deg)}}
@keyframes core-wave{0%{transform:scale(.88);opacity:0}18%{opacity:.65}100%{transform:scale(1.6);opacity:0}}
@keyframes core-breathe{50%{filter:drop-shadow(0 0 8px #b7eaffcc)}}
@keyframes council-dock{from{transform:scale(.9);opacity:1}to{transform:scale(1.65);opacity:0}}
@media(prefers-reduced-motion:reduce){.council-stage *::before,.council-stage *::after{animation:none!important}.council-stage .commander-glyph::before,.council-member.is-docked .expert-glyph::after{display:none}}

.task-delivery.council-delivery[data-status=completed]{height:auto;min-height:0;max-height:none;border-color:var(--line);background:var(--surface)}
.council-credit{display:flex;align-items:center;gap:10px;min-width:0;padding:13px 18px 0;color:var(--muted);font-size:11px}
.council-credit-label{display:flex;align-items:center;gap:7px;color:var(--text);font-size:11px;font-weight:500;white-space:nowrap}.council-credit-label>svg{width:18px;height:18px;flex:none}
.council-credit-team{display:flex;align-items:center;gap:7px;min-width:0;margin-left:auto}.council-credit-icons{display:flex;gap:4px;flex:none}.council-credit-icons .expert-glyph{width:23px;height:25px;border-radius:7px;box-shadow:inset 0 1px 0 #ffffff10}.council-credit-icons .expert-glyph svg{width:15px;height:15px}.council-credit-count{white-space:nowrap}
.council-delivery[data-status=completed]>.result-top{flex:none;min-height:78px;padding:12px 18px 15px}.council-delivery[data-status=completed] .result-actions{padding:10px 18px}.council-delivery[data-status=completed] .result-open small{margin-top:4px}.council-delivery[data-status=completed] .result-status{background:var(--control)}

.commander-glyph .expert-sheen,.commander-glyph::before,.commander-glyph::after{display:none!important}
.council-launch button[type=submit]{color:var(--action-ink)}
