.design-summary{flex:1;min-height:0;overflow:auto;padding:18px 22px;scrollbar-gutter:stable;max-width:none}.ds-heading{display:flex;gap:16px;align-items:start;justify-content:space-between;margin-bottom:14px}.ds-heading h1{font-size:24px;margin:0 0 4px}.ds-heading p{margin:4px 0;font-size:13px;color:var(--muted)}.ds-heading>div:last-child{text-align:right}.ds-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);margin-bottom:16px}.ds-metric{display:grid;gap:3px;padding:12px 16px;border-right:1px solid var(--line);min-width:0}.ds-metric:last-child{border-right:0}.ds-metric strong{font-size:24px;line-height:1.15}.ds-metric span{font-size:13px}.ds-metric small{color:var(--muted);font-size:12px}.ds-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:18px}.ds-section{padding:14px 0;border-top:1px solid var(--line);min-width:0}.ds-section h2{font-size:17px;margin:0 0 10px}.ds-section p{margin:8px 0}.ds-section-heading{display:flex;gap:10px;align-items:baseline;justify-content:space-between}.ds-section-heading button,.ds-topics button{font-size:13px}.ds-prose{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.ds-section details{margin:12px 0}.ds-section summary{cursor:pointer;font-size:13px}.ds-next-item{padding:0 0 10px;margin-bottom:10px;border-bottom:1px solid var(--line)}.ds-next-item p{font-size:14px}.ds-next-item:last-of-type{border-bottom:0}.ds-next button,.ds-next a{font-size:13px}.ds-table-scroll{overflow:auto}.ds-topics{width:100%;border-collapse:collapse;font-size:13px;text-align:left}.ds-topics th,.ds-topics td{padding:9px 10px;border-bottom:1px solid var(--line);vertical-align:top}.ds-topics th{font-weight:500;color:var(--muted)}.ds-topics td:first-child{width:43%}.ds-topics button{background:transparent;border:0;padding:0;text-align:left;white-space:normal;color:var(--accent)}.ds-decisions{list-style:none;padding:0;margin:0}.ds-decisions li{padding:10px 0;border-bottom:1px solid var(--line)}.ds-decisions li:last-child{border-bottom:0}.ds-decisions small{display:block;color:var(--muted);margin-bottom:5px}.ds-decisions button{font-size:12px;padding:4px 7px}.ds-reserve-group{padding:10px 0;border-bottom:1px solid var(--line)}.ds-reserve-group a{font-size:13px}.ds-section li{margin-bottom:8px;overflow-wrap:anywhere}.design-summary :focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@container agpage (max-width:950px){.design-summary{padding:14px}.ds-grid{grid-template-columns:1fr}.ds-heading{flex-wrap:wrap}.ds-heading>div:last-child{text-align:left}.ds-metric{padding:10px}.ds-metric strong{font-size:21px}}
@media(max-width:600px){.ds-metrics{grid-template-columns:1fr 1fr}.ds-metric:nth-child(2){border-right:0}.ds-metric:nth-child(-n+2){border-bottom:1px solid var(--line)}.ds-heading h1{font-size:21px}.ds-topics{min-width:550px}}
.ds-heading .ds-refresh{display:grid;justify-items:end;gap:7px;max-width:360px;min-width:0}
[data-theme] .ds-refresh .summary-freshness{padding:0;margin:0;border:0;border-radius:0;background:transparent;font-size:13px}
.ds-refresh .summary-freshness small{color:var(--muted);font-size:12px}
.ds-refresh .summary-freshness.is-running{color:var(--text)}
.ds-refresh>p{font-size:12px;margin:0}
.ds-refresh .refresh-action{max-width:100%}
@container agpage (max-width:950px){.ds-heading .ds-refresh{justify-items:start;text-align:left}}

/* CR153: the overview reads as a project narrative before its work counters. */
.ds-introduction{grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:32px}.ds-introduction .ds-prose{max-width:85ch}.overview-steps{padding-left:22px;margin:0 0 20px}.overview-steps li{padding:0 0 10px 6px}.overview-steps span{display:block;color:var(--muted);margin-top:4px}.overview-domain{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(200px,1fr);gap:32px;border-top:1px solid var(--line);padding:20px 0}.overview-domain h3{font-size:17px;margin:0 0 8px}.overview-domain-links{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding-top:6px}.overview-domain-links button{text-align:left;white-space:normal}.overview-unknowns{margin-top:16px}.overview-unknowns strong{font-size:13px;color:var(--muted)}.overview-unknowns ul{padding-left:20px}.overview-notes{list-style:none;padding:0}.ds-refresh{margin-top:20px}.ds-heading .actions{text-align:left;flex-wrap:wrap}.overview-domains .ds-section-heading{align-items:start}
@media(max-width:850px){.ds-introduction,.overview-domain{grid-template-columns:1fr;gap:14px}.design-summary{padding:16px}.ds-heading{display:block}.ds-heading .actions{margin-top:12px}.overview-domain-links{flex-direction:row;flex-wrap:wrap}.ds-section-heading{flex-wrap:wrap}}
@container agpage (max-width:850px){.ds-introduction,.overview-domain{grid-template-columns:1fr;gap:16px}}

.overview-steps li{padding-bottom:6px;margin-bottom:8px}.overview-steps span{font-size:13px;line-height:1.45}.ds-introduction .ds-next{align-self:start}

/* CR163: compact understanding, then equal-priority axes with local disclosure. */
.ds-understanding .ds-prose{max-width:120ch;margin:6px 0;line-height:1.55}
.ds-understanding>.ds-section-heading{align-items:center;flex-wrap:wrap;margin-bottom:6px;gap:8px}.ds-understanding>.ds-section-heading h2{margin:0}.ds-understanding>.ds-section-heading .actions{flex-wrap:wrap;gap:8px}.ds-understanding .refresh-action{margin:0}
.expandable-text [hidden]{display:none!important}
.expandable-text>[data-action="expand-text"]{padding:2px 0;min-height:28px;border:0;background:transparent;color:var(--accent);text-align:left;font-size:13px}
.expandable-text>[data-action="expand-text"]:hover{text-decoration:underline}
.ds-understanding-actions{display:flex;flex-wrap:wrap;align-items:start;gap:8px 20px;margin-top:0}
.ds-understanding-actions>.actions{flex-wrap:wrap;gap:8px}
.ds-understanding-actions>details{margin:6px 0;flex:1;min-width:220px}
.ds-understanding-actions .refresh-action{margin:0}
.overview-domains>.ds-section-heading{align-items:center;margin-bottom:14px;flex-wrap:wrap}
.overview-domains>.ds-section-heading h2{margin-bottom:4px}
.overview-domains>.ds-section-heading p{margin:4px 0}
.overview-domains>.ds-section-heading>.actions{flex-wrap:wrap;gap:8px}
.overview-axis-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
.overview-axis-grid .overview-domain{display:block;min-width:0;margin:0;padding:16px 18px;border:1px solid var(--line);border-radius:8px;background:var(--bg)}
.overview-axis-heading{display:flex;align-items:start;justify-content:space-between;gap:12px}
.overview-axis-heading h3{font-size:17px;line-height:1.35;margin:0 0 8px;text-wrap:balance;overflow-wrap:anywhere}
.overview-axis-heading>button{flex-shrink:0;padding:4px 8px;font-size:12px}
.overview-axis-grid .ds-prose{font-size:14px;line-height:1.55;margin:4px 0 8px}
.overview-axis-work{border-top:1px solid var(--line);margin-top:12px;padding-top:4px}
.overview-axis-work>details{margin:8px 0}
.overview-axis-work>details>summary{font-weight:600;color:var(--accent);padding:4px 0}
.overview-axis-grid .overview-domain-links{display:flex;flex-direction:column;gap:6px;padding:8px 0}
.overview-axis-grid .overview-domain-links button{max-width:100%;text-align:left;white-space:normal}
.overview-axis-grid .overview-axis-history{margin:10px 0 0}
.overview-axis-history>summary{color:var(--muted);font-size:12px}
.overview-axis-grid .axis-points{margin:12px 0 0;padding:0}
@container agpage (max-width:950px){.overview-axis-grid{grid-template-columns:1fr}.ds-understanding .ds-prose{max-width:none}}
@media(max-width:700px){.overview-axis-grid{grid-template-columns:1fr}.overview-axis-grid .overview-domain{padding:14px}.overview-axis-heading h3{font-size:16px}.ds-understanding-actions{display:block}.ds-understanding-actions>details{min-width:0}.overview-axis-work>details>summary{padding:8px 0}.expandable-text>[data-action="expand-text"]{min-height:36px}}

.project-narrative .ds-section-heading{align-items:start;gap:16px;flex-wrap:wrap}
.project-narrative .actions button{font-size:13px;padding:5px 9px;min-height:32px}
.narrative-thread{max-width:76ch;margin:18px auto 0}
.narrative-chapter{padding:18px 14px;border-bottom:1px solid var(--line);scroll-margin-top:100px;border-radius:6px}
.narrative-chapter-heading{display:flex;gap:12px;align-items:baseline;flex-wrap:wrap}.narrative-chapter h3{margin:0}.narrative-chapter>.small{margin:5px 0 10px}
.narrative-prose{white-space:pre-wrap;line-height:1.7;overflow-wrap:anywhere;margin:0}
.narrative-fresh{background:color-mix(in srgb,var(--accent) 10%,transparent)}.narrative-recent{background:color-mix(in srgb,var(--accent) 6%,transparent)}.narrative-fading{background:color-mix(in srgb,var(--accent) 3%,transparent)}
.narrative-unread{color:var(--accent)}.narrative-reference{position:relative}.narrative-reference a{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px;color:var(--accent)}
.narrative-tooltip{display:none;position:absolute;left:0;bottom:calc(100% + 5px);width:min(300px,70vw);padding:12px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:8px;z-index:20;white-space:normal;font-size:13px;line-height:1.4;box-shadow:0 6px 20px #0003}
.narrative-tooltip span,.narrative-tooltip strong{display:block;margin:3px 0}.narrative-reference:hover .narrative-tooltip,.narrative-reference:focus-within .narrative-tooltip{display:block}
.narrative-notice{color:var(--muted)}
@media(max-width:600px){.narrative-chapter{padding:14px 8px}.project-narrative .actions button{min-height:44px}.narrative-tooltip{position:fixed;left:5vw;bottom:16px;width:90vw;max-width:none}}
@media(forced-colors:active){.narrative-chapter[data-narrative-unread="true"]{outline:1px solid Highlight}.narrative-reference a{color:LinkText}}

.narrative-reference[data-tooltip-dismissed="true"] .narrative-tooltip{display:none}
