.project-changes{border-block:1px solid var(--line);padding:16px 0;margin-bottom:18px;overflow-wrap:anywhere}
.project-changes-heading,.project-changes-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.project-changes-heading h3{margin:0}.project-changes-controls{justify-content:flex-start;margin:12px 0}.project-changes-controls label{flex:1;min-width:0}.project-changes-controls select{max-width:100%;width:100%}.project-changes button,.project-changes select{min-height:44px}.project-changes .contribution-list{max-height:48dvh;overflow:auto;padding-right:8px}
.conception-status{font-size:.79rem;color:var(--muted);font-weight:400;white-space:nowrap;display:inline-block;cursor:help}
.refresh-preview{margin:16px 0;border-block:1px solid var(--line);padding:14px 0}
/* CR236: the diagnostic is a record of received results, never a timer. */
.conception-progress{width:100%;min-width:0;margin:14px 0;overflow-wrap:anywhere}
.conception-progress>.small{max-width:75ch}
.conception-progress .sync-map-signature{grid-template-columns:minmax(280px,1fr) minmax(280px,1fr);gap:24px;align-items:start}
.conception-progress .sync-map-signature .sync-graph{position:static;background:transparent;padding:0;border-radius:0;min-width:0}
.conception-progress .sync-detail{min-width:0;padding:0;background:transparent;border:0}
.conception-progress .sync-detail h4{font-size:1rem;margin:20px 0 6px}.conception-progress .sync-detail h4:first-child{margin-top:0}
.conception-progress .sync-detail p{line-height:1.6;max-width:70ch;margin:6px 0 12px}
.conception-progress .sync-detail li{margin:10px 0;line-height:1.6}
.conception-progress .sync-map-signature .sync-node-body{filter:none}
.conception-progress .sync-node,.conception-progress .sync-link{cursor:default}
.conception-progress [data-analysis-state=examined]{color:var(--accent)}
.conception-progress .sync-node[data-analysis-state=examined] .sync-node-body{fill:color-mix(in srgb,var(--accent) 18%,var(--panel));stroke:var(--accent)}
.conception-progress .sync-node[data-analysis-state=working] .sync-node-body{fill:var(--panel);stroke:var(--accent);stroke-width:5}
.conception-progress .pilot-node-label{padding:9px 0;border-bottom:1px solid var(--line);font-size:.9rem;line-height:1.5}
.conception-progress .pilot-node-label[data-analysis-state=working]{font-weight:600}
.conception-progress .pilot-node-label[data-analysis-state=working] .pilot-nav-state{color:var(--accent)}
.conception-progress.is-compact{margin:0;padding:6px 0}
.conception-progress.is-compact .sync-map-signature{grid-template-columns:260px minmax(0,1fr);gap:20px}
.conception-progress.is-compact .pilot-node-nav,.conception-progress.is-compact .sync-legend{display:none}
.conception-progress.is-compact>.small{display:none}
.conception-progress.is-compact .sync-detail{max-height:220px;overflow:auto}
.app-project>.analysis-status:has(.conception-progress){background:var(--panel);max-height:42dvh;padding:10px 20px}
@media(max-width:700px){.conception-progress .sync-map-signature,.refresh-workspace .conception-progress .sync-map-signature{grid-template-columns:minmax(0,1fr)}.conception-progress.is-compact .sync-map-signature{grid-template-columns:145px minmax(0,1fr);gap:12px}.conception-progress.is-compact .sync-detail{font-size:.85rem;max-height:155px}.conception-progress.is-compact .sync-detail h4{font-size:.9rem}.app-project>.analysis-status:has(.conception-progress){padding:8px 12px}}
@media(forced-colors:active){.conception-progress .sync-node[data-analysis-state=examined] .sync-node-body{fill:Canvas;stroke:Highlight;stroke-width:4}}
.refresh-preview h3{margin:0 0 6px;font-size:1rem}.refresh-preview p{margin:6px 0}
[data-refresh-preview]{max-height:42dvh;overflow:auto;overscroll-behavior:contain;white-space:pre-wrap;overflow-wrap:anywhere;font-size:.93rem;line-height:1.65;padding:12px;background:var(--bg);border:1px solid var(--line);border-radius:8px;scrollbar-gutter:stable}
[data-refresh-preview]:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
[data-refresh-preview] .astra-preview-label{font-weight:650}
[data-refresh-preview] .astra-preview-explanation{color:var(--accent)}
[data-refresh-preview] .astra-preview-caution{color:var(--amber)}
[data-refresh-preview] .astra-preview-question{color:#d3bcf4}
[data-refresh-preview] .astra-preview-established{color:#a2d9d0}
:root[data-theme=light] [data-refresh-preview] .astra-preview-question{color:#70429a}
:root[data-theme=light] [data-refresh-preview] .astra-preview-established{color:#23685f}
@media(forced-colors:active){[data-refresh-preview] .astra-preview-item{color:CanvasText}[data-refresh-preview] .astra-preview-label{text-decoration:underline}}
.refresh-preview [hidden]{display:none}
.conception-status:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:3px}
.conception-refresh-entry{display:inline-flex;align-items:center;gap:.45rem;white-space:nowrap}
.conception-refresh-zone{display:flex;align-items:center;gap:.35rem;flex-wrap:wrap;max-width:100%}
.conception-refresh-state{font-size:.76rem;color:var(--muted);font-weight:400;white-space:nowrap}
.conception-refresh-state:empty{display:none}
.conception-refresh-state.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.conception-refresh-entry.is-running{color:var(--accent)}
.conception-pending-dot{width:5px;height:5px;border-radius:50%;background:currentColor}
dialog.conception-refresh-dialog{width:min(960px,calc(100vw - 32px));max-width:960px}
dialog.conception-refresh-dialog[open]{display:flex;flex-direction:column;max-height:90dvh;overflow:hidden}
dialog.conception-refresh-dialog>.dialog-head{flex:none;margin-bottom:12px}
dialog.conception-refresh-dialog>.refresh-workspace{min-height:0;overflow:auto;padding-right:8px;scrollbar-gutter:stable}
.refresh-workspace{font-size:.93rem}.refresh-workspace>p{max-width:78ch}
.refresh-workspace fieldset{padding:0;border:0;min-width:0}.refresh-workspace legend{font-weight:600;margin-bottom:.6rem}
.refresh-choice{display:flex;gap:.7rem;align-items:baseline;padding:.65rem 0;margin:0;cursor:pointer}.refresh-choice input{width:auto;flex:none}.refresh-choice>span:nth-child(2){flex:1}.refresh-choice .conception-status{margin-left:auto}
.refresh-topic-group{padding:.8rem 0 .8rem 1.4rem;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.refresh-topic-heading{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.refresh-topic-heading button{font-size:.78rem;padding:.2rem .4rem}
.refresh-review-item{padding:1rem 0;border-bottom:1px solid var(--line)}.refresh-review-item:first-of-type{padding-top:0}.refresh-review-item .refresh-choice strong{font-size:1rem}
.refresh-comparison{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.refresh-comparison>div{min-width:0}.refresh-comparison p{overflow-wrap:anywhere}.refresh-review-item textarea{min-height:110px}
.refresh-workspace .actions{margin-top:1rem}.refresh-workspace details{margin-top:.7rem}
.refresh-workspace form>.actions,.refresh-workspace>.actions{position:sticky;bottom:0;background:var(--panel);border-top:1px solid var(--line);padding:12px 0;z-index:1}
.refresh-change-summary{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 12px}
.refresh-change-label{display:inline-flex;align-items:center;padding:3px 8px;border:1px solid color-mix(in srgb,currentColor 35%,transparent);border-radius:4px;font-size:.85rem;line-height:1.5;font-weight:600;white-space:nowrap}
.refresh-change-label.added{color:var(--green);background:color-mix(in srgb,var(--green) 8%,transparent)}
.refresh-change-label.changed{color:var(--accent);background:color-mix(in srgb,var(--accent) 8%,transparent)}
.refresh-change-label.removed,.refresh-removed-label{color:var(--danger);background:color-mix(in srgb,var(--danger) 8%,transparent)}
.refresh-change-label.unchanged{color:var(--muted);background:transparent}
.refresh-review-group{margin-top:24px}.refresh-review-group>h3{font-size:1.15rem;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.refresh-item-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.refresh-item-heading .refresh-choice{flex:1;min-width:0}
.refresh-field-list{color:var(--muted);margin:0 0 14px}.refresh-effect{max-width:75ch}
.refresh-field{margin:16px 0}.refresh-field h4,.refresh-kept-field h4{font-size:.95rem;margin:0 0 8px;font-weight:600}
.refresh-field .refresh-comparison>div{padding:12px;background:var(--field);border:1px solid var(--line);border-radius:5px}
.refresh-new-content{padding:12px;background:var(--field);border:1px solid var(--line);border-radius:5px}.refresh-new-content p{margin:.6rem 0 0;line-height:1.65}
.refresh-column-label{font-size:.85rem;color:var(--muted);font-weight:600}.refresh-comparison p{margin:.6rem 0 0;line-height:1.65}
.refresh-added-text{color:var(--green);background:color-mix(in srgb,var(--green) 12%,transparent);text-decoration:underline;text-decoration-color:var(--green);text-underline-offset:3px}
.refresh-removed-text{color:var(--danger);background:color-mix(in srgb,var(--danger) 10%,transparent);text-decoration:line-through}
.refresh-kept-field{max-width:75ch;margin:12px 0}.refresh-kept-field p{margin:0;line-height:1.65}
.refresh-unchanged-group{padding:12px 0;border-top:1px solid var(--line)}.refresh-unchanged-group>summary{font-weight:600;color:var(--muted)}
.refresh-reason>summary,.refresh-kept-fields>summary,.refresh-editor>summary{font-size:.9rem}.refresh-reason p{max-width:75ch}
.change-card>.refresh-change-label{margin-bottom:10px}
.change-field mark{color:var(--green);background:color-mix(in srgb,var(--green) 12%,transparent);border-bottom:1px solid var(--green)}
.change-field mark.removed-word{color:var(--danger);background:color-mix(in srgb,var(--danger) 10%,transparent);border-bottom:0;text-decoration:line-through}
@media(max-width:650px){.refresh-item-heading{align-items:flex-start;flex-direction:column;gap:0}.refresh-item-heading .refresh-choice{padding-bottom:6px}.refresh-change-label{white-space:normal}.refresh-field-list{margin-top:8px}.refresh-workspace form>.actions button{flex:1 1 auto}}
/* Freshness is informative. Reserve alert colors for actual errors. */
.summary-status,.summary-status.is-stale,.summary-status.is-current,.framing-freshness,.framing-freshness.is-changed,.framing-freshness.is-review{background:transparent;border-color:var(--line);color:var(--muted);box-shadow:none}
.summary-status{font-size:.8rem;padding:.2rem 0}.summary-status strong{font-weight:400;color:inherit}
.refresh-action.is-stale,.refresh-action.is-current,.refresh-action.is-unknown{background:transparent;color:var(--text);border-color:var(--line);box-shadow:none}
@media(max-width:650px){.refresh-comparison{grid-template-columns:1fr}.refresh-choice{flex-wrap:wrap;gap:.45rem}.refresh-choice .conception-status{margin-left:1.55rem}.refresh-topic-group{padding-left:.5rem}.conception-refresh-entry{font-size:.8rem}dialog.conception-refresh-dialog{width:calc(100vw - 16px);padding:1rem}}

.framing-refresh-compact{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin:.5rem 0}.framing-refresh-compact button{font-size:.8rem}
[data-theme] .summary-freshness.conception-status{background:transparent;border:0;color:var(--muted);padding:0;margin:.25rem 0;font-weight:400}

[data-theme] button.refresh-action.is-stale,[data-theme] button.refresh-action.is-current,[data-theme] button.refresh-action.is-unknown{background:transparent;color:var(--text);border-color:var(--line);box-shadow:none}

/* CR181: motion follows server phases; only the active link moves. */
.cycle-map{width:min(100%,320px);margin:1rem auto;text-align:center;color:var(--text)}
.cycle-map svg{display:block;width:100%;overflow:visible}.cycle-map p{margin:.2rem 0}
.cycle-orbit,.cycle-feed,.cycle-transfer{fill:none;stroke:var(--line);stroke-width:1.5}.cycle-feed{stroke-dasharray:3 5}
.cycle-feed.is-active,.cycle-transfer.is-active{stroke:#10b9c5;color:#10b9c5;stroke-width:2;stroke-dasharray:5 7;animation:cycle-flow 1.4s linear infinite;filter:drop-shadow(0 0 3px #10b9c580)}
.cycle-node circle,.cycle-hub circle{fill:var(--panel,var(--bg));stroke:var(--line);stroke-width:1.5}.cycle-node.is-active circle{stroke:#10b9c5;stroke-width:2;filter:drop-shadow(0 0 5px #10b9c570)}
.cycle-map text{text-anchor:middle;fill:currentColor;font-size:11px;font-family:inherit}.cycle-map .cycle-node-label{font-size:12px;font-weight:600}.cycle-hub text{font-size:10px}
.cycle-pass-choice{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap;margin:.75rem 0}.cycle-pass-choice select{width:auto}
.cycle-review-group{border-top:1px solid var(--line);margin-top:1.2rem;padding-top:.6rem}.cycle-change{border-left:3px solid var(--line);padding:.6rem .8rem;margin:.7rem 0;overflow-wrap:anywhere}.cycle-change h4{margin:0 0 .5rem;font-size:.9rem}.cycle-change h4 span{font-size:.78rem}.cycle-change.is-added{border-color:#15916a;background:#15916a0c}.cycle-change.is-changed{border-color:#317cd4;background:#317cd40c}.cycle-change.is-removed{border-color:#c46551;background:#c465510c}.cycle-change .pre{white-space:pre-wrap;margin:.35rem 0}.cycle-change.is-unchanged{color:var(--muted)}
@keyframes cycle-flow{to{stroke-dashoffset:-24}}@media(prefers-reduced-motion:reduce){.cycle-feed.is-active,.cycle-transfer.is-active{animation:none}}

/* CR182: focus on the changed words, with a separate, persistent human choice. */
.cycle-change,.cycle-change.is-added,.cycle-change.is-changed,.cycle-change.is-removed{border:0;border-top:1px solid var(--line);background:transparent;padding:1.25rem 0;margin:1rem 0}
.cycle-change h4{display:flex;align-items:baseline;gap:.65rem;flex-wrap:wrap;font-size:1rem;line-height:1.5;margin-bottom:.8rem}
.cycle-change h4 .refresh-change-label{flex:none;font-size:.78rem}
.cycle-field{margin:1rem 0}.cycle-field h5{font:600 .9rem/1.5 inherit;margin:.8rem 0 .4rem}
.cycle-field .refresh-comparison>div{background:var(--field);padding:.85rem;border-radius:5px}
.cycle-field .pre{line-height:1.7;max-width:75ch}.cycle-field ins,.cycle-field del{box-decoration-break:clone;-webkit-box-decoration-break:clone}
.cycle-business-summary{max-width:75ch;font-size:1.05rem;line-height:1.6}
.cycle-summary-table{width:100%;max-width:740px;margin:1rem 0;border-collapse:collapse;font-size:.9rem}.cycle-summary-table th,.cycle-summary-table td{text-align:left;padding:.5rem .6rem;border-bottom:1px solid var(--line)}.cycle-summary-table thead th{font-weight:400;color:var(--muted)}.cycle-summary-table td{font-variant-numeric:tabular-nums}
.cycle-decision{display:flex;gap:1.5rem;align-items:flex-start;flex-wrap:wrap;margin-top:1rem}.cycle-decision>label{display:flex;align-items:center;gap:.75rem;font-size:.88rem}.cycle-decision select{width:auto;min-width:150px;margin:0}.cycle-decision>details{flex:1;min-width:220px;margin:0}.cycle-decision summary,.cycle-evidence summary{font-size:.85rem;color:var(--muted)}.cycle-decision textarea{min-height:70px;width:100%;resize:vertical}
.cycle-evidence{margin-top:.8rem}.cycle-evidence p,.cycle-evidence ul{max-width:75ch;font-size:.9rem}.cycle-evidence ul{display:flex;gap:.5rem 1.1rem;flex-wrap:wrap;list-style:none;padding:0}.cycle-source-link{padding:0!important;border:0!important;background:transparent!important;color:var(--accent)!important;text-decoration:underline;text-underline-offset:3px;text-align:left}
.cycle-evidence [data-cycle-source-preview]:not(:empty){border-top:1px solid var(--line);margin-top:.75rem;padding-top:.75rem}.cycle-evidence .pre{line-height:1.65}
.cycle-blocked{max-width:80ch;color:var(--muted);margin:.65rem 0 0}.cycle-record-state{font-size:.9rem;margin-top:1rem}
.cycle-unchanged .cycle-change{padding:.65rem 0}.cycle-unchanged>summary{color:var(--muted);font-size:.9rem}
.cycle-review-footer{position:static;background:var(--panel);border-top:1px solid var(--line);padding:.5rem 0;z-index:2}.cycle-review-footer>.actions{margin:.5rem 0}.cycle-review-footer>p{margin:.25rem 0}.cycle-review-footer>details{margin:.25rem 0;font-size:.85rem}.cycle-analysis-detail{padding:1rem 0}
@media(max-width:650px){.cycle-decision{gap:.65rem}.cycle-decision>details{flex-basis:100%}.cycle-summary-table th,.cycle-summary-table td{padding:.45rem .25rem;font-size:.8rem}.cycle-review-footer .actions{gap:.4rem}.cycle-review-footer button{font-size:.8rem;padding:.55rem .65rem}}

.cycle-kept-zone>summary{font-size:.9rem;color:var(--muted)}.cycle-kept-zone{padding:.6rem 0}.cycle-review-footer>.actions{flex-wrap:wrap}

/* CR183: the diagram is a control, with text, direction and keyboard access. */
.sync-map{--sync-ok:#97d6b9;--sync-wait:#edc66e;display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,1fr);gap:1.2rem;align-items:center;border-bottom:1px solid var(--line);padding:.5rem 0 1rem;margin-bottom:1rem}
[data-theme=light] .sync-map{--sync-ok:#1c6448;--sync-wait:#805408}
.sync-graph{min-width:0}.sync-graph svg{display:block;width:100%;overflow:visible}.sync-map .is-current{color:var(--sync-ok)}.sync-map .is-stale,.sync-map .is-review{color:var(--sync-wait)}.sync-map .is-absent{color:var(--muted)}
.sync-map marker path{fill:currentColor}.sync-hit{stroke:transparent;stroke-width:24;fill:none;pointer-events:stroke}.sync-stroke{stroke:currentColor;fill:none;stroke-width:2;pointer-events:none}.sync-link{cursor:pointer;outline:none}.sync-link.is-stale .sync-stroke,.sync-link.is-review .sync-stroke{stroke-dasharray:6 4}.sync-link.is-absent .sync-stroke{stroke-dasharray:2 5;opacity:.5}
.sync-link:hover .sync-stroke,.sync-link:focus-visible .sync-stroke,.sync-link.is-selected .sync-stroke{stroke-width:4;filter:drop-shadow(0 0 3px currentColor)}.sync-link:focus-visible .sync-hit{stroke:var(--accent);stroke-opacity:.2}
.sync-node rect{fill:var(--panel);stroke:currentColor;stroke-width:1.3}.sync-node text{fill:var(--text);font:500 15px system-ui;text-anchor:middle;pointer-events:none}.sync-node .sync-node-state{fill:currentColor;font-size:13px;font-weight:400}
.sync-link.is-working .sync-stroke{stroke-dasharray:5 7;animation:cycle-flow 1.4s linear infinite;stroke-width:3;filter:drop-shadow(0 0 3px currentColor)}.sync-node.is-working rect{stroke-width:2.5}
.sync-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:.25rem 1rem;font-size:.75rem}.sync-current{color:var(--sync-ok)}.sync-stale{color:var(--sync-wait)}.sync-detail h3{font-size:1rem;margin:0 0 .6rem}.sync-detail p{line-height:1.5;margin:.55rem 0}.sync-detail select{font-size:.8rem;width:100%;min-height:36px;margin:.3rem 0}.sync-detail button{font-size:.85rem}.sync-direction{font-size:.9rem}.sync-global{padding:.6rem 0}.sync-global>summary{font-weight:500}
@media(max-width:700px){.sync-map{grid-template-columns:minmax(0,1fr);gap:1rem}.sync-graph{max-width:560px}.sync-detail{border-top:1px solid var(--line);padding-top:1rem}}
@media(prefers-reduced-motion:reduce){.sync-link.is-working .sync-stroke{animation:none}}

/* CR186 : one control surface, with recorded content beside the live graph. */
dialog.conception-refresh-dialog{width:min(1240px,calc(100vw - 32px));max-width:1240px}
.refresh-workspace{scroll-padding-block:1rem 9rem}
.pilot-toolbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:0 0 .8rem;border-bottom:1px solid var(--line);margin-bottom:.8rem}
.pilot-toolbar p{margin:0;max-width:55ch;color:var(--muted)}.pilot-toolbar .actions{margin:0;flex-wrap:wrap;justify-content:flex-end}
.pilot-toolbar button,.cycle-bulk button{font-size:.82rem;min-height:36px;padding:.45rem .7rem}
.sync-map{grid-template-columns:minmax(340px,.85fr) minmax(0,1.35fr);align-items:start;gap:1.5rem;padding-top:.5rem}
.sync-graph{position:sticky;top:0;padding:.6rem 0}.sync-node{cursor:pointer;outline:none}.sync-node rect{transition:fill 180ms ease,stroke-width 180ms ease}
.sync-node:hover rect,.sync-node:focus-visible rect,.sync-node.is-selected rect{stroke:var(--accent);stroke-width:3;fill:var(--raised)}
.sync-node text{font-size:21px}.sync-node .sync-node-state{font-size:17px}
.sync-link.is-possible .sync-stroke{stroke-dasharray:2 7}.sync-link.is-working .sync-stroke{stroke-dasharray:5 7}
.pilot-node-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:.35rem;margin-top:.7rem}.pilot-node-nav button{font-size:.79rem;padding:.4rem .6rem;min-height:36px}
.pilot-node-nav [aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--raised)}
.pilot-node-heading{display:flex;gap:.5rem;justify-content:space-between;align-items:baseline;padding-bottom:.6rem;border-bottom:1px solid var(--line)}
.pilot-node-heading h3{margin:0}.pilot-node-heading span{flex-shrink:0}
.pilot-node-reading{max-height:360px;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;padding:.6rem .7rem .6rem 0;line-height:1.6;overflow-wrap:anywhere}
.pilot-node-reading .pre{white-space:pre-wrap;max-width:72ch}.pilot-node-reading ul{padding-left:1.3rem}.pilot-node-reading h4{font-size:.88rem;margin:.8rem 0 .3rem}
.pilot-item{border-bottom:1px solid var(--line);padding:.65rem 0}.pilot-item>summary{font-weight:500;line-height:1.5;cursor:pointer}.pilot-item>p,.pilot-item>ul{font-size:.9rem}
.pilot-node-reading:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.pilot-relations{margin-top:.5rem;padding-top:.6rem;border-top:1px solid var(--line)}.pilot-relations>summary{font-size:.85rem;cursor:pointer}.pilot-relations ul{padding-left:1rem;font-size:.85rem}.pilot-relations li{margin:.4rem 0}
.pilot-link{border:0;background:none;color:var(--accent);padding:.15rem 0;text-align:left;text-decoration:underline;text-underline-offset:3px}
.pilot-plan{background:var(--raised);padding:.8rem 1rem;border-radius:10px;margin:1rem 0}.pilot-plan h4{margin:0 0 .5rem;font-size:.95rem}.pilot-plan ol{padding-left:1.4rem;margin:.4rem 0}.pilot-plan li{padding:.25rem 0;font-size:.88rem;line-height:1.5}
.pilot-impact{color:var(--sync-wait)}
.cycle-bulk{display:flex;align-items:center;gap:.4rem;flex-wrap:wrap;margin:.7rem 0 1rem}.cycle-bulk>span{margin-right:.3rem}
.cycle-change{border:1px solid var(--line);border-radius:10px;padding:1rem;margin:.8rem 0}.cycle-zone{margin:0 0 .4rem;color:var(--muted)}
.cycle-long-diff{margin:.75rem 0}.cycle-long-diff>summary{cursor:pointer;color:var(--accent);font-size:.88rem;padding:.2rem 0}.cycle-long-diff[open]>summary{margin-bottom:.8rem}
.cycle-review-footer{padding:.7rem 0}.cycle-change :focus-visible,.pilot-toolbar :focus-visible,.pilot-relations :focus-visible,.pilot-node-nav :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:850px){.sync-map{grid-template-columns:minmax(0,1fr)}.sync-graph{position:static;max-width:520px;margin:auto;width:100%}.pilot-toolbar{align-items:flex-start;flex-direction:column;gap:.6rem}.pilot-toolbar .actions{justify-content:flex-start}.pilot-node-reading{max-height:320px}.pilot-node-heading{flex-wrap:wrap}.cycle-review-footer{position:static}.refresh-workspace{scroll-padding-bottom:1rem}}
@media(prefers-reduced-motion:reduce){.sync-node rect{transition:none}}

.refresh-uncompared{text-decoration:underline dotted;text-underline-offset:3px}
.refresh-diff-notice{color:var(--text);padding:8px 0}
.cycle-supervision{margin-block:1rem;padding-block:1rem;border-block:1px solid var(--border,#d8dce3)}
.cycle-supervision h4{margin:0 0 .5rem}
.supervision-checks,.supervision-requests ol{padding-inline-start:1.3rem}
.supervision-checks li,.supervision-requests li{margin-block:.8rem;overflow-wrap:anywhere}
.supervision-state{display:block;margin-top:.25rem;color:var(--muted,#596473)}
.supervision-state.is-gap{font-weight:600}
.cycle-supervision p{margin-block:.4rem}

/* CR191: saved changes, progressively inspected within the existing node. */
[data-pilot-node-content="contributions"] .pilot-node-reading{max-height:510px;padding-right:.5rem}
.contribution-tabs{display:flex;gap:.35rem;margin:.3rem 0 .65rem;flex-wrap:wrap}
.contribution-tabs button{min-height:38px;padding:.4rem .7rem;font-size:.85rem}
.contribution-tabs [aria-pressed="true"]{border-color:var(--accent);color:var(--accent);background:var(--raised)}
.contribution-journal>p{margin:.5rem 0}.contribution-checkpoints{font-size:.8rem;color:var(--muted);margin:.6rem 0 1rem}
.contribution-checkpoints summary,.contribution-library>summary,.contribution-kept>summary{cursor:pointer;text-underline-offset:3px}
.contribution-checkpoints ul{margin:.5rem 0}.contribution-list{list-style:none;margin:0;padding:0!important}
.contribution-row{padding:1rem 0;border-bottom:1px solid var(--line)}
.contribution-meta{display:flex;flex-wrap:wrap;gap:.25rem .65rem;font-size:.76rem;color:var(--muted)}
.contribution-meta time{margin-left:auto;font-variant-numeric:tabular-nums}
.contribution-type{font-weight:600;color:var(--text)}.contribution-type.is-added{color:var(--sync-ok)}.contribution-type.is-removed{color:var(--sync-wait)}
.contribution-row h4{margin:.35rem 0!important;font-size:.95rem!important;font-weight:600;line-height:1.45;overflow-wrap:anywhere}
.contribution-row>p{margin:.25rem 0 .6rem}.contribution-row>button,.contribution-journal>button{font-size:.82rem;padding:.4rem .6rem;min-height:36px}
.contribution-states{list-style:none;display:flex;flex-wrap:wrap;gap:.25rem .8rem;padding:0!important;margin:.5rem 0 .7rem;font-size:.75rem}
.contribution-states .is-pending{color:var(--sync-wait,#e2c77f)}.contribution-states .is-examined{color:var(--muted)}
.contribution-detail{margin:.85rem 0 .2rem;padding:.75rem;background:var(--raised);border-radius:8px}
.contribution-field{padding:.7rem 0;border-top:1px solid var(--line)}.contribution-field h5{font-size:.85rem;margin:0 0 .5rem}
.contribution-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;font-size:.85rem;line-height:1.65}
.contribution-comparison>div{min-width:0}.contribution-comparison .pre{margin:.25rem 0;white-space:pre-wrap;overflow-wrap:anywhere}
.contribution-kept{font-size:.8rem;color:var(--muted);margin:.35rem 0}.contribution-kept[open]{color:var(--text)}
.contribution-empty{padding:.7rem 0;font-size:.88rem}.contribution-footnote{font-size:.76rem;margin-top:1rem!important}
.contribution-library{border-top:1px solid var(--line);margin-top:1rem;padding-top:.75rem;font-size:.85rem}
.contribution-journal :focus-visible,.contribution-library :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:600px){.contribution-comparison{grid-template-columns:1fr}.contribution-meta time{margin-left:0}.contribution-row>button,.contribution-journal>button,.contribution-tabs button{min-height:44px}.contribution-states{display:block}.contribution-states li{margin:.2rem 0}}

/* CR192: one current review, separate read-only archive, inspectable nodes. */
.refresh-workspace [hidden]{display:none!important}
.pilot-toolbar [aria-pressed="true"]{border-color:var(--accent);color:var(--accent);background:var(--raised)}
.pilot-node-content .pilot-node-reading{max-height:470px;padding-right:.4rem}
.pilot-node-proposals{padding:.7rem 0;border-block:1px solid var(--line);margin:.6rem 0}
.pilot-node-proposals h4{margin:.2rem 0;font-size:.9rem}
.pilot-node-proposals ul{padding-left:1.1rem;margin:.5rem 0}
.pilot-node-proposals li{margin:.3rem 0}
.pilot-node-proposals li button{border:0;background:transparent;color:var(--accent);text-align:left;text-decoration:underline;text-underline-offset:3px;padding:.2rem 0;font-size:.86rem}
.pilot-history-list{list-style:none;padding:0;margin:1rem 0}
.pilot-history-list li{padding:.75rem 0;border-bottom:1px solid var(--line)}
.pilot-history-list button{text-align:left;white-space:normal}
.pilot-history-list p{margin:.4rem 0}
.pilot-history-report{margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--line)}
.pilot-history-report>h3{color:var(--accent)}
.sync-correction{stroke-dasharray:5 4}
[data-pilot-history] :focus-visible,.pilot-node-proposals :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:600px){.pilot-node-content .pilot-node-reading{max-height:none}.pilot-node-proposals button{min-height:44px}.pilot-toolbar .actions{width:100%}}

/* CR193: one context at a time, current content first, details on demand. */
.refresh-workspace .pilot-node-reading{max-height:none;overflow:visible;padding:.7rem 0;scrollbar-gutter:auto}
.pilot-node-nav{display:none}
.pilot-node-actions,.pilot-content-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin:.9rem 0}
.pilot-content-tabs{border-bottom:1px solid var(--line);padding-bottom:.6rem}
.pilot-content-tabs button{font-size:.85rem;padding:.4rem .7rem}
.pilot-content-tabs [aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--raised)}
.pilot-diagnosis-list{list-style:none;padding:0;margin:1rem 0}
.pilot-diagnosis-list>li{padding:.6rem 0;border-bottom:1px solid var(--line)}
.pilot-diagnosis-list>li>button,.pilot-causes button{border:0;background:none;color:var(--accent);text-align:left;padding:.25rem 0;text-decoration:underline;text-underline-offset:3px}
.pilot-diagnosis-list>li>span{font-size:.75rem;color:var(--muted);margin-left:.6rem}
.pilot-diagnosis-list p{margin:.2rem 0;font-size:.85rem}
.pilot-causes{list-style:none;padding:0;margin:.4rem 0}.pilot-causes button{font-size:.82rem}
.pilot-source-row{display:flex;gap:.5rem;align-items:center;padding:.8rem 0;border-bottom:1px solid var(--line)}
.pilot-source-row>div{flex:1;min-width:0}.pilot-source-row strong{overflow-wrap:anywhere;font-size:.9rem}.pilot-source-row p{margin:.3rem 0}
.pilot-source-row button{font-size:.8rem;padding:.4rem .6rem}
.pilot-edit-topics{display:grid;gap:.5rem}
[data-pilot-diagnostic] .sync-detail h3{margin-top:0}
[data-pilot-diagnostic] .sync-map{margin-bottom:0}
.pilot-content-tabs :focus-visible,.pilot-node-actions :focus-visible,.pilot-causes :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:600px){.pilot-node-nav{display:flex}.pilot-node-actions button,.pilot-content-tabs button{min-height:44px}.pilot-source-row{flex-wrap:wrap}.pilot-source-row>div{flex-basis:100%}}

/* CR196: an operational workspace, one main decision and readable context. */
dialog.conception-refresh-dialog{width:min(1180px,calc(100vw - 40px));max-width:1180px;padding:24px;max-height:94dvh}
dialog.conception-refresh-dialog[open]{max-height:94dvh}
.conception-refresh-dialog>.dialog-head{margin-bottom:8px;align-items:center}
.conception-refresh-dialog>.dialog-head h2{font-size:1.32rem;letter-spacing:-.02em}
dialog.conception-refresh-dialog>.refresh-workspace{padding-right:4px;scroll-padding-top:90px}
.pilot-toolbar{position:sticky;top:0;z-index:4;background:var(--surface,var(--bg));padding:10px 0 14px;margin-bottom:20px;align-items:center;gap:12px}
.pilot-tabs,.pilot-command{display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.pilot-command{justify-content:flex-end}
.pilot-toolbar button{min-height:40px;font-size:.85rem}
.pilot-tabs button{border:0;border-radius:6px;background:transparent;color:var(--muted);padding:9px 12px}
.pilot-tabs [aria-pressed=true]{background:var(--raised);color:var(--text);box-shadow:inset 0 -2px var(--accent)}
.refresh-workspace .sync-map{grid-template-columns:minmax(310px,.85fr) minmax(0,1.25fr);gap:28px;border:0;padding:0;align-items:start}
.refresh-workspace .sync-graph{top:76px;padding:20px 8px 12px;background:var(--raised);border-radius:12px}
.refresh-workspace .sync-legend{padding:8px 6px 0;justify-content:center;font-size:.72rem;gap:10px}
.refresh-workspace .sync-detail{min-width:0;padding:8px 4px 16px 0}
.pilot-dashboard h3,.pilot-node-heading h3,.pilot-preparation h3,.pilot-stale-report h3{font-size:1.32rem;line-height:1.3;letter-spacing:-.02em;margin:0 0 12px}
.pilot-lead{font-size:.97rem;line-height:1.65;max-width:68ch;color:var(--text)}
.pilot-dashboard .pilot-diagnosis-list{margin:24px 0 16px}
.pilot-diagnosis-list>li{padding:12px 0}
.pilot-diagnosis-list>li>button{font-weight:600;font-size:.94rem;min-height:36px;text-decoration:none}
.pilot-diagnosis-list>li>p{line-height:1.6;color:var(--muted)}
.pilot-causes{margin:8px 0}.pilot-causes button{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;line-height:1.5;min-height:32px;text-decoration:none}
.pilot-causes span{display:block;margin-top:2px;font-size:.73rem;color:var(--muted)}
.pilot-help{margin-top:24px;padding-top:14px;border-top:1px solid var(--line);line-height:1.55}
.pilot-access-note,.pilot-edit-notice{line-height:1.6;color:var(--muted)}
.pilot-node-heading{align-items:baseline}.pilot-node-heading>span{font-size:.76rem;white-space:normal}
.pilot-content-tabs{gap:8px;margin:20px 0 10px}
.pilot-content-tabs button,.pilot-node-actions button{min-height:40px}
.pilot-item{border-bottom:1px solid var(--line);padding:10px 0}.pilot-item summary{font-weight:550;line-height:1.5}
.pilot-preparation,.pilot-stale-report{max-width:800px;margin:6px auto 24px;padding:8px 0}
.pilot-replacement{padding:16px 18px;margin:20px 0;background:var(--raised);border-radius:10px;line-height:1.6}
.pilot-replacement strong{font-size:.92rem}.pilot-replacement p{margin:6px 0 0}
.pilot-preparation form{margin-top:22px}.pilot-preparation select{max-width:100%}
.pilot-preparation .pilot-plan{padding:16px 0;border-block:1px solid var(--line);margin:20px 0}
.pilot-plan ol{padding-left:1.4rem}.pilot-plan li{padding:6px 0;line-height:1.6}
.pilot-settings{margin:16px 0}.pilot-settings[open] summary{margin-bottom:12px}
.pilot-launch{margin-top:24px;gap:10px}.pilot-launch button{min-height:44px}
.pilot-stale-report>p{max-width:70ch;line-height:1.65}
.refresh-workspace .cycle-review-footer{border-top:1px solid var(--line);margin-top:20px;padding:16px 0}
.refresh-workspace :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:900px){.refresh-workspace .sync-map{grid-template-columns:minmax(0,1fr);gap:20px}.refresh-workspace .sync-graph{position:static;max-width:520px;width:100%;margin:auto;padding:12px}.pilot-toolbar{align-items:flex-start;flex-direction:column}.pilot-command{justify-content:flex-start}.refresh-workspace .sync-detail{border-top:0;padding-top:0}}
@media(max-width:600px){dialog.conception-refresh-dialog{width:calc(100vw - 16px);padding:16px}.pilot-toolbar{position:static;margin-bottom:16px}.pilot-tabs{gap:2px}.pilot-toolbar button,.pilot-node-actions button,.pilot-content-tabs button{min-height:44px}.pilot-launch{align-items:stretch;flex-direction:column}.pilot-node-nav{display:none}.pilot-preparation h3,.pilot-dashboard h3{font-size:1.2rem}}

.pilot-downstream{line-height:1.7}.pilot-downstream button{border:0;background:transparent;color:var(--accent);padding:4px 2px;min-height:36px;font-size:inherit}

/* CR207: selection and adoption remain distinct, reachable at end of reading. */
.cycle-review-footer fieldset{border:0;padding:0;margin:0}.cycle-review-footer [data-cycle-bulk-scope]{width:auto;max-width:100%;margin-left:.5rem}.cycle-review-footer .cycle-bulk{margin:.3rem 0;flex-wrap:wrap}.cycle-review-footer .cycle-bulk button{min-height:36px}.back-to-top{font-size:.8rem;min-height:36px;white-space:nowrap}.back-to-top[hidden]{display:none}.pilot-command [data-pilot-active-phase]{flex-basis:100%}.initial-request{margin:.75rem 0}.initial-request .pre{max-height:18rem;overflow:auto}.response-feedback{margin:.5rem 0}.response-feedback p{white-space:normal}
@media(max-width:850px){.refresh-workspace .cycle-review-footer{padding:.4rem 0}.cycle-review-footer>.actions{margin:.25rem 0}.cycle-review-footer button{min-height:44px}.cycle-review-footer>fieldset .cycle-bulk>span{display:none}.cycle-review-footer .cycle-bulk{gap:.25rem}.pilot-toolbar{position:sticky;top:0}.pilot-toolbar .pilot-tabs{flex-wrap:wrap}.pilot-command [data-pilot-active-phase]{font-size:.8rem}}

.back-to-top-page{position:fixed;bottom:16px;left:20px;z-index:12;background:var(--panel);box-shadow:0 2px 8px #0003}.cycle-tools-toggle{display:block}.cycle-review-footer:not(.tools-expanded)>fieldset{display:none}
@media(max-width:850px){.cycle-tools-toggle{display:block}.cycle-review-footer:not(.tools-expanded)>fieldset{display:none}.back-to-top-page{bottom:12px;left:12px;min-height:44px}}

/* CR209: reserve the freshness line before the first asynchronous update. */
.pilot-freshness{min-block-size:1.5em;line-height:1.5;margin:8px 0 12px;font-variant-numeric:tabular-nums}

/* Keep the running diagram above the fold; the toolbar is for navigation. */
.conception-refresh-dialog:has([data-pilot-body]:not([hidden]) [data-conception-progress]) .pilot-toolbar{background:var(--panel);padding:8px 0;margin-bottom:12px}
.conception-refresh-dialog:has([data-pilot-body]:not([hidden]) [data-conception-progress]) [data-pilot-active-phase]{display:none}
.analysis-progress-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px 20px}
.analysis-progress-heading h3,.analysis-progress-heading p{margin:0;font-size:1rem}
.analysis-progress-heading .elapsed{margin-left:auto}
.refresh-workspace .conception-progress .sync-map-signature{grid-template-columns:minmax(280px,1fr) minmax(280px,1fr);gap:24px}
.refresh-workspace .conception-progress .sync-graph{background:transparent;padding:0}
.refresh-workspace .conception-progress .sync-map-signature .sync-node-body{filter:none}
@media(max-width:700px){.refresh-workspace .conception-progress .sync-map-signature{grid-template-columns:minmax(0,1fr)}.analysis-progress-heading .elapsed{margin-left:0}.conception-progress .sync-map-signature .pilot-node-nav{display:grid}.conception-progress.is-compact .sync-map-signature .pilot-node-nav{display:none}}
