.summary-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 10px; }
.summary-metric { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; min-height: 88px; padding: 12px; background: #25241f; color: var(--text); border: 1px solid #645742; border-radius: 5px; text-align: left; }
.summary-metric:hover { border-color: #b2946c; background: #2e2b23; }
.summary-metric > span { color: #c5b99f; font-size: 9px; font-weight: 750; letter-spacing: .07em; }
.summary-metric > strong { color: #f0e1c3; font-family: var(--display-font); font-weight: 400; font-size: 29px; line-height: 1; }
.summary-metric > small { color: #bbb6a4; font-size: 10px; line-height: 1.5; }
.summary-board-total { margin-bottom: 17px; color: #c3baa4; font-size: 11px; line-height: 1.6; }
.summary-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.summary-field { display: flex; flex-direction: column; min-width: 0; gap: 6px; }
.summary-field > span { color: var(--muted); font-size: 11px; font-weight: 650; }
.summary-field > input, .summary-field > select { width: 100%; min-width: 0; min-height: 46px; padding: 10px 11px; background: #1c1d18; border: 1px solid #77694f; border-radius: 4px; color: var(--text); font-size: 16px; }
.summary-field > input::placeholder { color: #b7ad98; }
.summary-search { grid-column: 1 / -1; }
.summary-filter-line { display: flex; align-items: center; justify-content: space-between; gap: 8px 14px; margin: 9px 0 15px; }
.summary-filter-line > p { min-width: 0; color: #bdb59f; font-size: 11px; line-height: 1.65; }
.summary-filter-line > button { flex-shrink: 0; }
.summary-latest-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 16px; margin: 0 0 15px; padding: 12px 14px; background: #292d1f; border: 1px solid #707847; border-left: 3px solid #aeb76e; border-radius: 4px; }
.summary-latest-copy { flex: 1 1 220px; min-width: 0; }
.summary-latest-copy > p { color: #d8cfb1; font-size: 12px; line-height: 1.65; overflow-wrap: anywhere; }
.summary-latest-copy > p strong { color: #e8d0a2; }
.summary-latest-copy > .summary-latest-label { display: flex; flex-wrap: wrap; gap: 5px 12px; margin-bottom: 5px; color: #d2ce9c; font-size: 9px; font-weight: 700; letter-spacing: .06em; }
.summary-latest-label > span { color: #bcbba2; font-weight: 400; letter-spacing: 0; }
.summary-latest-copy > .summary-latest-excerpt { color: #c9c6ad; margin-top: 3px; }
.summary-latest-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 3px 9px; }
.summary-latest-actions > button { min-height: 44px; }
.summary-queues, .summary-bottom { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.summary-bottom { margin-top: 14px; }
.summary-section { min-width: 0; padding: 14px; background: linear-gradient(120deg, #f4d29b05, transparent 65%), #20221c; border: 1px solid #5c533f; border-radius: 5px; }
.summary-section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.summary-section-heading > div { min-width: 0; }
.summary-section-heading h3 { color: #eee0c4; font-size: 17px; line-height: 1.4; font-weight: 650; }
.summary-section-heading p { color: #bab49e; font-size: 11px; line-height: 1.65; margin-top: 5px; }
.summary-section-heading > button { flex-shrink: 0; max-width: 115px; }
.summary-link, .summary-open, .summary-show-more, .summary-alt-more { min-height: 44px; padding: 7px 10px; color: #e1c494; background: transparent; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 600; line-height: 1.5; }
.summary-link:hover { background: #343124; color: #f2dab0; }
.summary-open { flex-shrink: 0; background: #302d23; border-color: #796449; color: #ead4aa; }
.summary-open:hover { border-color: #c1a077; background: #3c3527; }
.summary-group-count { margin: 10px 0 9px; color: #b5b49b; font-size: 11px; font-variant-numeric: tabular-nums; }
.summary-topic-list { display: flex; flex-direction: column; gap: 9px; }
.summary-topic { min-width: 0; padding: 12px; background: #282820; border: 1px solid #625740; border-radius: 4px; }
.summary-row-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.summary-row-heading h4 { min-width: 0; color: #ebdfc8; font-size: 14px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.summary-final { display: flex; flex-direction: column; flex-shrink: 0; gap: 2px; max-width: 106px; padding: 5px 8px; background: #393120; border: 1px solid #7c6847; border-radius: 4px; color: #e8ca90; text-align: right; }
.summary-final > small { color: #c3b298; font-size: 9px; font-weight: 500; }
.summary-final > strong { font-size: 11px; font-weight: 650; line-height: 1.4; }
.summary-final.positive { color: #c3d4a7; background: #2d3725; border-color: #6b7a53; }
.summary-final.negative { color: #efb4a0; background: #402b23; border-color: #8d5e4a; }
.summary-reason-preview { color: #c6bda7; margin-top: 7px; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.summary-vote-counts { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.summary-vote-count { display: inline-flex; align-items: center; gap: 6px; padding: 5px 7px; border: 1px solid #77664a; border-radius: 3px; color: #e1c994; background: #393123; font-size: 10px; line-height: 1.4; }
.summary-vote-count strong { color: inherit; padding-left: 6px; border-left: 1px solid currentColor; font-size: 12px; font-variant-numeric: tabular-nums; }
.summary-vote-count.positive { color: #c3d5a8; background: #2d3525; border-color: #65774e; }
.summary-vote-count.negative { color: #edb7a1; background: #402a22; border-color: #855641; }
.summary-row-foot { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.summary-row-foot > .summary-open { margin-left: auto; }
.summary-input-details { flex: 1 1 100%; min-width: 0; }
.summary-input-details > summary, .summary-alternative-details > summary { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; min-height: 44px; padding: 6px 0; color: #d9c291; cursor: pointer; font-size: 11px; font-weight: 600; list-style: none; }
.summary-input-details > summary::-webkit-details-marker, .summary-alternative-details > summary::-webkit-details-marker { display: none; }
.summary-input-details > summary::before { content: '▸'; color: #c9b37e; }
.summary-input-details[open] > summary::before { content: '▾'; }
.summary-input-details > summary > span { color: #b6b19b; font-weight: 400; font-size: 10px; }
.summary-details-content { min-width: 0; padding: 12px; background: #1c2017; border: 1px solid #515139; border-radius: 4px; }
.summary-full-text { color: #dfd3b5; font-size: 12px; line-height: 1.8; white-space: pre-wrap; overflow-wrap: anywhere; }
.summary-proposal-by { color: #bdb298; font-size: 10px; margin-bottom: 6px; }
.summary-proposal-by strong { color: #ddc495; }
.summary-voter-names { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 9px; }
.summary-voter-names p { display: flex; flex-direction: column; gap: 4px; color: #d0cbb0; font-size: 11px; line-height: 1.75; overflow-wrap: anywhere; }
.summary-voter-names p > strong { color: #d3bd8c; font-weight: 650; }
.summary-comment-preview { margin-top: 12px; padding-top: 9px; border-top: 1px solid #54533d; }
.summary-comment-preview h5 { color: #c5bf9f; font-size: 11px; margin-bottom: 7px; }
.summary-comment-preview p { display: flex; flex-direction: column; gap: 3px; margin-top: 8px; font-size: 12px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.summary-comment-preview p > strong { color: #d6bc8f; font-size: 11px; }
.summary-subtle { color: #b9b19a; font-size: 11px; line-height: 1.75; margin-top: 8px; }
.summary-group-empty { margin-top: 6px; padding: 13px; background: #24261d; border: 1px dashed #6a6146; border-radius: 4px; }
.summary-group-empty > p { color: #c6bda3; font-size: 12px; line-height: 1.7; }
.summary-group-empty > button { padding-left: 0; margin-top: 3px; }
.summary-show-more { width: 100%; margin-top: 11px; background: #302e22; border-color: #7d6c4c; }
.summary-show-more:hover, .summary-alt-more:hover { background: #3a3424; border-color: #b59868; }
.summary-current { display: flex; align-items: baseline; gap: 8px; margin: 9px 0 5px; color: #bfbba1; font-size: 11px; }
.summary-current code { min-width: 0; color: #e1d5b7; font: 11px/1.6 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.summary-chosen { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 9px; padding: 8px 10px; margin: 8px 0; color: #c5d7a8; background: #2e3926; border: 1px solid #748655; border-radius: 3px; }
.summary-chosen > strong { font-size: 10px; font-weight: 650; }
.summary-chosen > code { min-width: 0; color: #e0e1b8; font: 12px/1.6 ui-monospace, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.summary-setting-total { color: #b4b398; font-size: 10px; line-height: 1.6; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.summary-decision-warning { color: #e1c18a; background: #3c311e; border: 1px solid #8b7347; padding: 9px; font-size: 11px; line-height: 1.6; margin: 8px 0; }
.summary-alternative-head { display: none; }
.summary-alternatives { display: flex; flex-direction: column; gap: 6px; }
.summary-alternative { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 10px; padding: 10px; background: #1e2219; border: 1px solid #555a3d; border-radius: 4px; }
.summary-alternative-copy { display: flex; flex-direction: column; min-width: 0; gap: 4px; }
.summary-alternative-copy > code { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: #dacf9f; font: 12px/1.65 ui-monospace, Consolas, monospace; overflow-wrap: anywhere; }
.summary-alternative-copy > small { color: #b6b597; font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.summary-alternative > .summary-vote-counts { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
.summary-alternative > .summary-final { grid-column: 2; grid-row: 1; }
.summary-alternative-details { grid-column: 1 / -1; min-width: 0; }
.summary-alternative-details > summary { justify-content: space-between; padding-inline: 2px; }
.summary-exact-value { display: block; color: #e4d5af; font: 12px/1.75 ui-monospace, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: 8px; }
.summary-alt-more { width: 100%; margin-top: 8px; background: #2d3020; border-color: #687244; text-align: left; }
.summary-alt-more > span { color: #b5b69b; font-size: 10px; font-weight: 400; }
.summary-setting-comments { margin-top: 8px; }
.summary-people { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; margin-top: 12px; }
.summary-person { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; min-height: 54px; padding: 10px 11px; color: #e1cfa8; background: #292c20; border: 1px solid #62684a; border-radius: 4px; text-align: left; }
.summary-person.selected { color: #f0ddad; border-color: #c49b62; background: #3c3423; }
.summary-person > strong { font-size: 12px; font-weight: 650; overflow-wrap: anywhere; }
.summary-person > span { color: #bbb79d; font-size: 10px; line-height: 1.6; }
@media (min-width: 640px) {
  .summary-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .summary-metric { min-height: 83px; padding: 13px; }
  .summary-tools { grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr)); }
  .summary-search { grid-column: auto; }
  .summary-field > input, .summary-field > select { font-size: 14px; }
  .summary-people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-voter-names { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .summary-input-details { flex-basis: 65%; }
  .summary-section { padding: 17px; }
  .summary-alternative-head { display: grid; grid-template-columns: minmax(0, 1fr) 230px 92px 83px; gap: 9px; padding: 0 10px 8px; color: #b4b596; font-size: 9px; font-weight: 650; }
  .summary-alternative { grid-template-columns: minmax(0, 1fr) 230px 92px 83px; gap: 9px; }
  .summary-alternative > .summary-vote-counts { grid-column: 2; grid-row: auto; gap: 4px; }
  .summary-alternative > .summary-final { grid-column: 3; grid-row: auto; }
  .summary-alternative > .summary-alternative-details { grid-column: 4; }
  .summary-alternative-details[open] { grid-column: 1 / -1 !important; }
  .summary-alternative-details[open] > summary { justify-content: flex-start; gap: 10px; }
}
@media (min-width: 1180px) {
  .summary-queues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .summary-settings { grid-column: 1 / -1; }
  .summary-bottom { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .summary-row-foot { flex-wrap: nowrap; }
  .summary-input-details { flex-basis: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .summary-metric, .summary-person, .summary-open { transition: none; }
}
