/* Useful lines to discuss, not another control dashboard. */
.sidekick-summary-pane { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; background:var(--canvas); }
.sidekick-summary { width:100%; max-width:700px; margin:0 auto; padding:29px 30px 35px; color:var(--ink); }
.summary-header { margin-bottom:26px; }
.summary-header h2 { margin:0; font-size:29px; line-height:1.15; letter-spacing:-.045em; overflow-wrap:anywhere; }
.summary-headline { margin-top:8px; font-size:14px; line-height:1.5; color:var(--muted); overflow-wrap:anywhere; }
.summary-guidance { margin-top:13px; font-size:12px; color:var(--accent); }
.summary-announcement { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.summary-sections { display:flex; flex-direction:column; gap:25px; }
.summary-section { min-width:0; }
.summary-section h3 { margin:0 0 10px; font-size:11px; line-height:1.5; letter-spacing:.02em; font-weight:650; color:var(--muted); }
.summary-row-list { border:1px solid var(--frame-line,var(--line)); border-radius:19px; background:var(--paper); overflow:hidden; }
.summary-row { min-width:0; }
.summary-row+.summary-row { border-top:1px solid var(--line); }
.summary-discuss { display:flex; width:100%; align-items:center; gap:14px; text-align:left; min-height:73px; padding:16px 18px; border-radius:0; color:inherit; background:transparent; }
.summary-discuss:hover:not(:disabled) { background:var(--accent-soft); }
.summary-discuss:active:not(:disabled) { background:#e2edce; }
.summary-discuss:focus-visible { position:relative; outline:2px solid var(--accent); outline-offset:-4px; z-index:1; }
.summary-row-copy { display:flex; flex:1; min-width:0; flex-direction:column; align-items:flex-start; gap:5px; }
.summary-row-label { font-size:11px; line-height:1.5; color:var(--muted); overflow-wrap:anywhere; }
.summary-row-value { font-size:16px; font-weight:600; line-height:1.4; letter-spacing:-.015em; overflow-wrap:anywhere; white-space:pre-wrap; }
.summary-row[data-kind=balance] .summary-row-value,.summary-row[data-kind=settlement] .summary-row-value,.summary-row[data-kind=expense] .summary-row-value { font-variant-numeric:tabular-nums; }
.summary-row-arrow { flex:0 0 auto; font-size:17px; line-height:1; color:var(--accent); opacity:.7; }
.summary-row-meta { display:flex; align-items:center; flex-wrap:wrap; gap:5px 9px; margin-top:2px; }
.summary-row-attribution { font-size:10px; line-height:1.5; color:var(--muted); overflow-wrap:anywhere; }
.summary-row-status { color:var(--lilac-ink); font-size:10px; line-height:1.4; padding:4px 7px; background:var(--lilac-soft); border:1px solid transparent; border-radius:7px; }
.summary-row[data-status=legacy] .summary-row-status { color:var(--muted); background:var(--surface,var(--canvas)); border-color:var(--line); }
.summary-row-actions { display:flex; flex-wrap:wrap; column-gap:17px; align-items:center; padding:0 18px 7px; }
.summary-row-actions button { min-height:36px; padding:5px 0; color:var(--accent); font-size:11px; line-height:1.5; text-align:left; background:transparent; border-radius:6px; }
.summary-row-actions button:hover:not(:disabled) { text-decoration:underline; text-underline-offset:4px; }
.summary-footer { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding-top:25px; }
.summary-ask,.summary-board { border:1px solid transparent; border-radius:14px; padding:12px 18px; font-size:13px; font-weight:650; line-height:1.4; min-height:46px; color:var(--accent); background:var(--lime); }
.summary-ask:hover:not(:disabled),.summary-board:hover:not(:disabled) { background:var(--lime-hover); }
.summary-history,.summary-more,.summary-retry { padding:9px 4px; min-height:44px; color:var(--accent); font-size:12px; font-weight:600; line-height:1.4; border-radius:8px; }
.summary-more { margin-top:4px; }
.summary-history:hover:not(:disabled),.summary-more:hover:not(:disabled),.summary-retry:hover:not(:disabled) { text-decoration:underline; text-underline-offset:4px; }
.summary-empty { padding:22px 0 8px; color:var(--muted); font-size:14px; line-height:1.6; max-width:420px; }
.summary-connection { padding:11px 15px; margin:0 0 19px; border:1px solid var(--lilac); border-radius:14px; background:var(--lilac-soft); color:var(--lilac-ink); display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:5px 15px; }
.summary-connection p { flex:1; min-width:150px; font-size:12px; line-height:1.5; }
.summary-connection .summary-retry { color:inherit; }
@media (max-width:680px),(max-width:900px) and (pointer:coarse) {
  .sidekick-summary { padding:25px 20px calc(30px + env(safe-area-inset-bottom)); }
  .summary-header { margin-bottom:23px; }
  .summary-header h2 { font-size:27px; }
  .summary-headline { font-size:13px; }
  .summary-discuss { padding:15px 16px; gap:10px; }
  .summary-row-value { font-size:16px; }
  .summary-row-actions { padding-left:16px; padding-right:16px; }
  .summary-row-actions button { min-height:44px; }
}
@media (max-width:360px) { .sidekick-summary { padding-left:16px; padding-right:16px; } .summary-discuss { padding-left:14px; padding-right:14px; } .summary-row-actions { padding-left:14px; padding-right:14px; } }
@media (prefers-reduced-motion:reduce) { .sidekick-summary button { transition:none; animation:none; } }
@media (forced-colors:active) {
  .summary-row-list,.summary-row+.summary-row,.summary-row-status,.summary-connection,.summary-ask,.summary-board { border-color:CanvasText; }
  .summary-discuss:focus-visible { outline-color:Highlight; }
  .summary-row-arrow { opacity:1; }
}
