refactor #558: collapse secondary UI guidance

This commit is contained in:
devmrko
2026-06-29 17:55:59 +09:00
parent 95be60dd2e
commit c7b11ab669
19 changed files with 263 additions and 84 deletions

View File

@@ -209,6 +209,55 @@ body {
margin: .35rem 0 0;
}
/* Keep the main task visible while moving background guidance out of the way. */
.context-summary {
color: var(--rw-muted);
margin: .35rem 0 0;
}
.explanation-details {
background: var(--rw-surface-muted);
border: 1px solid var(--rw-border);
border-radius: 8px;
margin-top: .7rem;
padding: .65rem .8rem;
}
.explanation-details > summary {
color: var(--rw-primary);
cursor: pointer;
font-size: .84rem;
font-weight: 800;
list-style-position: inside;
}
.explanation-details[open] > summary {
border-bottom: 1px solid var(--rw-border);
margin-bottom: .65rem;
padding-bottom: .55rem;
}
.explanation-details p,
.explanation-details ul,
.explanation-details ol {
color: var(--rw-muted);
line-height: 1.55;
margin: .35rem 0 0;
}
.explanation-details > :last-child {
margin-bottom: 0;
}
.content-band > .explanation-details:first-child {
margin-top: 0;
}
.explanation-details.explanation-warning {
background: #fff8e8;
border-color: #e7d29c;
}
.architecture-strip {
align-items: stretch;
display: grid;