/* Room for two teammates; the human review has its own focused dialog. */
#framework{padding:44px var(--gutter) 32px;background:var(--well);color:var(--ink);border-block:1px solid var(--line);scroll-margin-top:76px;--crew-muted:var(--muted)}
#framework:before{display:none}#framework *,#framework *:before,#framework *:after{box-sizing:border-box}
#framework .crew-wrap{max-width:var(--page-width);margin:auto;min-width:0}
#framework .crew-intro{display:grid;grid-template-columns:1.5fr 1fr;align-items:end;gap:32px;margin-bottom:26px}
#framework .crew-intro>div{max-width:none;padding:0;margin:0;min-width:0}
#framework .crew-intro .eyebrow{font:10px/1.6 var(--mono);letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin:0 0 12px}
#framework .crew-intro h2{font-size:clamp(32px,3.3vw,46px);font-weight:500;letter-spacing:-.045em;line-height:1.14;max-width:18ch}
#framework .crew-intro p{font-size:14px;line-height:1.7;color:var(--muted)}
#framework .crew-intro strong{color:var(--ink);font-weight:500}
#framework .crew-intro a{display:inline-flex;align-items:center;gap:16px;font-size:12px;color:var(--ink);min-height:32px;margin-top:6px}
#framework .crew-intro a:hover{text-decoration:underline;text-underline-offset:4px}
#framework .crew-desk{background:var(--surface);border:1px solid var(--line);border-radius:10px;box-shadow:none;min-width:0;position:relative}
#framework .crew-top{display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:48px;padding:12px 24px;font-size:13px;background:var(--paper);border-radius:10px 10px 0 0;border-bottom:1px solid var(--line)}
#framework .crew-example{font:10px/1.6 var(--mono);color:var(--muted)}
#framework .crew-choices{display:flex;flex-wrap:nowrap;gap:0;padding:0 24px;border-bottom:1px solid var(--line)}
#framework .crew-choices button{flex:0 1 180px;min-width:0;border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 18px;min-height:48px;background:none;color:var(--muted);font:500 13px/1.6 var(--sans);margin-bottom:-1px}
#framework .crew-choices button[aria-pressed=true]{color:var(--ink);border-bottom-color:var(--orange);background:var(--peach)}
#framework .crew-choices button:hover:not([aria-pressed=true]){background:var(--well);color:var(--ink)}
#framework .crew-stations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;padding:20px 24px 0;gap:24px}
#framework .crew-station{background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:7px;box-shadow:none;min-width:0;display:flex;flex-direction:column;transition:none}
#framework .crew-identity{display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:12px;padding:16px 18px 8px;position:relative}
#framework .crew-avatar{width:48px;height:48px;grid-row:auto}
#framework .crew-avatar svg{width:100%;height:100%;display:block;overflow:visible}
#framework .crew-avatar svg rect,#framework .crew-avatar svg>path:not(.avatar-wire):not(.avatar-inner){fill:var(--orange);stroke:var(--ink);stroke-width:1.5}
#framework .crew-avatar svg circle{fill:var(--orange);stroke:var(--ink);stroke-width:1}
#framework .crew-avatar .avatar-wire,#framework .crew-avatar .avatar-inner{stroke:var(--ink);stroke-width:1.5;fill:none}
#framework .crew-avatar svg text{fill:var(--ink);font:600 49px var(--sans)}
#framework .crew-overline{display:block;font:9px/1.5 var(--mono);color:var(--muted);margin:0 0 3px}
#framework .crew-identity h3{font-size:25px;line-height:1.2;letter-spacing:-.035em;font-weight:600;margin:0}
#framework .crew-identity p{display:none}
#framework .crew-agent-signal{grid-column:auto;font:9px/1.5 var(--mono);max-width:90px;text-align:right;color:var(--muted)}
#framework .crew-station-sub{font-size:12px;line-height:1.6;color:var(--muted);margin:0 18px 12px;min-height:20px;max-width:none}
#framework .crew-station-tabs{display:flex;flex-wrap:nowrap;gap:0;margin:0 18px;border-bottom:1px solid var(--line)}
#framework .crew-station-tabs button{flex:1;min-width:0;min-height:40px;padding:9px 4px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--muted);font:500 12px/1.6 var(--sans);margin-bottom:-1px;text-align:center}
#framework .crew-station-tabs button[aria-pressed=true]{color:var(--ink);border-bottom-color:var(--orange);background:var(--paper)}
#framework .crew-station-tabs button:hover{background:var(--well)}
#framework .crew-station-tabs button:disabled{opacity:.45;cursor:default;background:none;border-color:transparent}
#framework .crew-output{padding:14px 18px;height:256px;min-height:256px;max-height:256px;flex:none;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;outline-offset:-3px;min-width:0}
#framework .crew-output-heading{display:flex;flex-wrap:nowrap;justify-content:space-between;gap:14px;margin-bottom:10px;color:var(--muted);font:9px/1.5 var(--mono)}
#framework .crew-output-heading>span:last-child{font-size:9px;text-align:right}
#framework .crew-source{display:grid;grid-template-columns:64px minmax(0,1fr);gap:2px 10px;padding:12px 0;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;margin:0}
#framework .crew-source:before{display:none}
#framework .crew-source>span{grid-row:1/3;font:10px/1.6 var(--mono);color:var(--muted);margin:0}
#framework .crew-source>strong{font-size:13px;font-weight:600;line-height:1.5;color:var(--ink)}
#framework .crew-source>small{font-size:11px;line-height:1.5;color:var(--muted);margin:0}
#framework .crew-job{display:grid;grid-template-columns:18px 1fr auto;align-items:start;gap:10px;border-bottom:1px solid var(--line);padding:12px 0}
#framework .crew-job>span{font-size:16px;line-height:1.5;color:var(--ink)}
#framework .crew-job strong{display:block;font-size:13px;line-height:1.5;font-weight:600}
#framework .crew-job small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin:2px 0 0}
#framework .crew-job i{grid-column:auto;font:9px/1.6 var(--mono);font-style:normal;color:var(--muted);text-align:right;max-width:54px}
#framework .crew-station-footer{display:flex;justify-content:space-between;gap:12px;margin:0 18px;padding:10px 0;border-top:1px solid var(--line);color:var(--muted);font-size:10px;line-height:1.6;min-height:38px}
#framework .crew-station-footer>span:last-child{text-align:right}
#framework .crew-empty{padding:12px 0}
#framework .crew-empty>span{display:block;font-size:26px;color:var(--orange);margin-bottom:12px}
#framework .crew-empty h4,#framework .crew-filing h4,#framework .crew-record h4,#framework .crew-question h4{font-size:21px;line-height:1.25;letter-spacing:-.035em;font-weight:500;margin:6px 0 10px}
#framework .crew-empty p,#framework .crew-filing p,#framework .crew-record p,#framework .crew-question p{font-size:13px;line-height:1.65;color:var(--muted);margin:0}
#framework .crew-output pre{font:10px/1.55 var(--mono);background:var(--well);color:var(--ink);border:1px solid var(--line);border-radius:4px;padding:12px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
#framework .crew-filing,#framework .crew-question{padding:14px;background:var(--paper);border:1px solid var(--line);border-radius:5px}
#framework .crew-filing>span,#framework .crew-question>span,#framework .crew-record span{font:10px/1.6 var(--mono);color:var(--muted)}
#framework .crew-question small,#framework .crew-record small{display:block;font-size:11px;line-height:1.6;color:var(--muted);margin-top:12px}
#framework .crew-record{border-left:2px solid var(--orange);padding:2px 0 2px 14px;margin:0}
#framework .crew-transport{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:28px;align-items:center;padding:18px 24px;min-height:130px}
#framework .crew-now{min-width:0}
#framework .crew-now-label{display:flex;gap:12px;font:9px/1.6 var(--mono);color:var(--muted)}
#framework #crew-human-state{color:var(--ink);border-left:1px solid var(--line);padding-left:12px}
#framework .crew-now h4{font-size:22px;font-weight:500;line-height:1.3;letter-spacing:-.035em;margin:6px 0}
#framework .crew-now p{font-size:12px;line-height:1.65;color:var(--muted);margin:0;max-width:64ch}
#framework .crew-actions{display:flex;flex-direction:column;align-items:stretch;gap:3px;min-width:0}
#framework .crew-play{order:2;display:flex;justify-content:center;align-items:center;gap:8px;font:500 11px/1.6 var(--sans);color:var(--muted);padding:3px 10px;min-height:32px;background:none;border:0;flex:none;border-radius:4px}
#framework .crew-play:hover:not(:disabled){background:var(--well);color:var(--ink)}
#framework .crew-play>span{font-size:16px;line-height:1}
#framework .crew-next,#framework #crew-approve{display:flex;justify-content:space-between;align-items:center;gap:18px;background:var(--orange);color:var(--ink);border:1px solid var(--orange);border-radius:5px;padding:11px 16px;min-height:44px;font:600 13px/1.5 var(--sans);flex:none;text-align:left}
#framework .crew-next:hover,#framework #crew-approve:hover{background:var(--peach)}
#framework .crew-next span{font-size:18px}
#framework .crew-timeline{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:0 24px;min-height:46px}
#framework .crew-timeline ol{display:flex;flex-wrap:nowrap;gap:24px;padding:0;margin:0;list-style:none;font:10px/1.6 var(--mono);color:var(--muted);flex:none}
#framework .crew-timeline li:after{display:none}
#framework .crew-timeline li{padding:14px 0 11px;border-bottom:2px solid transparent;white-space:nowrap}
#framework .crew-timeline li.is-current{color:var(--ink);border-color:var(--orange);font-weight:500}
#framework .crew-timeline li.is-done{color:var(--ink)}
#framework #crew-reset{padding:8px 0;min-height:44px;border:0;background:none;color:var(--muted);font-size:11px}
#framework .crew-bottom{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:20px 0 0}
#framework .crew-bottom>p{font-size:14px;line-height:1.6;flex:none;letter-spacing:0}
#framework .crew-bottom strong{color:var(--ink);font-weight:600}
#framework .crew-bottom>div{display:flex;align-items:center;gap:14px;flex:none}
#framework .crew-bottom>div p{font-size:12px;color:var(--muted);flex:none}
#framework #crew-direct{display:inline-flex;align-items:center;gap:12px;font-size:12px;color:var(--ink);background:none;border:0;min-height:36px;padding:0}
#framework #crew-direct:hover{text-decoration:underline;text-underline-offset:4px}
#framework .crew-mobile-switch{display:none}
#framework .crew-review{position:fixed;inset:0;width:min(600px,calc(100% - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:24px;border:1px solid var(--line);border-radius:10px;background:var(--paper);color:var(--ink);overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 80px #1c19172b}
#framework .crew-review:not([open]){display:none}
#framework .crew-review[open]{display:block}
#framework .crew-review::backdrop{background:#1c19175c}
body:has(#crew-review[open]){overflow:hidden}
#framework .crew-review-head{display:flex;justify-content:space-between;align-items:center;gap:20px}
#framework .crew-review-label{font:10px/1.6 var(--mono);color:var(--muted)}
#framework #crew-review-close{display:grid;place-items:center;width:36px;height:36px;background:var(--surface);border:1px solid var(--line);border-radius:5px;color:var(--ink);font-size:24px}
#framework .crew-review h4{font-size:26px;font-weight:500;line-height:1.2;letter-spacing:-.035em;margin:16px 0 12px}
#framework .crew-review p{font-size:13px;line-height:1.7;color:var(--muted);margin:0 0 18px}
#framework #crew-review-proof{font:11px/1.65 var(--mono);white-space:pre-wrap;overflow-wrap:anywhere;background:var(--surface);border:1px solid var(--line);border-radius:5px;padding:16px;margin:18px 0;max-height:310px;overflow:auto}
#framework #crew-decision-options{display:flex;gap:8px}
#framework #crew-decision-options button{flex:1;min-height:48px;padding:10px;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:4px;font:500 12px/1.6 var(--sans)}
#framework #crew-decision-options button[aria-pressed=true]{background:var(--peach);border-color:var(--orange)}
#framework .crew-review-actions{display:flex;justify-content:space-between;align-items:center;gap:20px}
#framework .crew-review-actions>span{font-size:10px;line-height:1.6;color:var(--muted);max-width:150px}
#framework [hidden]{display:none!important}
#framework .crew-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#framework:not(.crew-ready) :is(.crew-choices,.crew-station-tabs,.crew-actions,#crew-reset,#crew-direct){display:none}
@media(max-width:950px) and (min-width:701px){#framework .crew-identity{grid-template-columns:42px 1fr}#framework .crew-agent-signal{grid-column:2;text-align:left;max-width:none}#framework .crew-station-sub{min-height:39px}#framework .crew-output{height:286px;min-height:286px;max-height:286px}#framework .crew-job{grid-template-columns:16px 1fr}#framework .crew-job i{display:none}#framework .crew-bottom{flex-wrap:wrap;gap:12px}}
@media(max-width:700px){
 #framework{padding:32px var(--gutter) 24px;scroll-margin-top:70px}
 #framework .crew-intro{display:block;margin-bottom:20px}
 #framework .crew-intro .eyebrow{font-size:9px;margin-bottom:10px}
 #framework .crew-intro h2{font-size:32px;max-width:18ch}
 #framework .crew-intro>div:last-child{display:none}
 #framework .crew-top{padding:12px 14px;min-height:44px;font-size:11px}
 #framework .crew-example{font-size:8px}
 #framework .crew-choices{padding:0 8px}
 #framework .crew-choices button{flex:1;min-height:44px;font-size:11px;padding:11px 4px}
 #framework .crew-mobile-switch{display:flex;margin:12px 14px 0;padding:3px;border:1px solid var(--line);border-radius:5px;background:var(--well);gap:4px}
 #framework .crew-mobile-switch button{flex:1;min-width:0;min-height:38px;background:none;border:0;border-radius:3px;font:600 12px/1.6 var(--sans);color:var(--muted)}
 #framework .crew-mobile-switch button span{font-size:9px;font-weight:400;display:block}
 #framework .crew-mobile-switch button[aria-pressed=true]{background:var(--surface);color:var(--ink);box-shadow:0 0 0 1px var(--line)}
 #framework .crew-stations{display:block;padding:12px 14px 0}
 #framework .crew-desk[data-agent=r] .crew-l,#framework .crew-desk[data-agent=l] .crew-r{display:none}
 #framework .crew-identity{grid-template-columns:38px 1fr auto;gap:10px;padding:12px 14px 6px}
 #framework .crew-avatar{width:38px;height:38px}
 #framework .crew-identity h3{font-size:22px}
 #framework .crew-agent-signal{font-size:8px;max-width:70px}
 #framework .crew-overline{font-size:8px}
 #framework .crew-station-sub{font-size:11px;margin:0 14px 8px;min-height:36px}
 #framework .crew-station-tabs{margin:0 14px}
 #framework .crew-station-tabs button{font-size:11px;min-height:38px;padding:8px 4px}
 #framework .crew-output{height:250px;min-height:250px;max-height:250px;padding:12px 14px}
 #framework .crew-output-heading{font-size:8px;gap:8px}
 #framework .crew-output-heading>span:last-child{font-size:8px}
 #framework .crew-source{grid-template-columns:48px 1fr;padding:11px 0;gap:2px 8px}
 #framework .crew-source>span{font-size:9px}#framework .crew-source>strong{font-size:12px}#framework .crew-source>small{font-size:10px}
 #framework .crew-job{grid-template-columns:16px 1fr;padding:12px 0}
 #framework .crew-job strong{font-size:12px}#framework .crew-job small{font-size:10px}#framework .crew-job i{display:none}
 #framework .crew-empty h4,#framework .crew-filing h4,#framework .crew-record h4,#framework .crew-question h4{font-size:20px}
 #framework .crew-empty p,#framework .crew-filing p,#framework .crew-record p,#framework .crew-question p{font-size:12px}
 #framework .crew-station-footer{margin:0 14px;min-height:36px;font-size:9px}
 #framework .crew-station-footer>span:last-child{display:none}
 #framework .crew-transport{display:block;min-height:190px;padding:14px}
 #framework .crew-now-label{font-size:8px}
 #framework .crew-now h4{font-size:19px;min-height:25px;margin:5px 0 8px}
 #framework .crew-now p{display:none}
 #framework .crew-actions{gap:4px}
 #framework .crew-next{min-height:44px;font-size:12px}
 #framework .crew-play{min-height:32px;font-size:10px}
 #framework .crew-timeline{padding:0 14px;gap:8px;min-height:42px}
 #framework .crew-timeline ol{gap:12px;font-size:8px;min-width:0}
 #framework .crew-timeline li{padding-block:14px 11px}
 #framework .crew-timeline li:last-child{font-size:0}#framework .crew-timeline li:last-child:before{content:'Record';font-size:8px}
 #framework #crew-reset{font-size:9px;min-height:40px}
 #framework .crew-bottom{display:block;padding-top:14px}
 #framework .crew-bottom>p{font-size:12px}
 #framework .crew-bottom>div{gap:8px;flex-wrap:wrap;margin-top:4px}
 #framework .crew-bottom>div p,#framework #crew-direct{font-size:11px}
 #framework .crew-review{padding:20px}
 #framework .crew-review-actions{flex-wrap:wrap;gap:12px}
 #framework .crew-review-actions>span{max-width:none}
 #framework #crew-approve{width:100%;font-size:12px}
}
@media(max-width:360px){#framework .crew-example{display:none}#framework .crew-timeline ol{gap:8px}#framework .crew-output{height:285px;min-height:285px;max-height:285px}#framework .crew-source{grid-template-columns:40px 1fr}#framework .crew-output-heading>span:last-child{display:none}}
