.bottom-side-card .side-title { font-size: 15px; margin-bottom: 10px; font-weight: 600; }
.summary-section-header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.summary-side { font-size: 11px; letter-spacing: 0.06em; color: #c7c7cf; padding: 3px 6px; border: 1px solid rgba(255,255,255,0.1); border-radius: 6px; }
.summary-side[hidden] { display: none; }
.summary-metrics { display: flex; flex-direction: column; }
.summary-metric { padding: 9px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.summary-metric:first-child { border-top: 0; padding-top: 0; }
.summary-metric:last-child { padding-bottom: 1px; }
.summary-metric-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.summary-metric-caption { display: flex; align-items: center; gap: 7px; color: #a2a2ad; font-size: 13px; }
.summary-icon { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 23px; height: 23px; color: #92929d; background: rgba(255,255,255,0.035); border-radius: 7px; }
.summary-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.summary-metric-value { color: #e5e5eb; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.15; }
.summary-metric-note { display: block; margin: 5px 0 0 30px; color: #9696a0; font-size: 12px; }
.summary-rsi-meter { position: relative; margin: 12px 4px 0; height: 5px; border-radius: 3px; background: #3b3c43; }
.summary-rsi-meter::before, .summary-rsi-meter::after { content: ''; position: absolute; top: 0; width: 1px; height: 5px; background: #696973; }
.summary-rsi-meter::before { left: 30%; }
.summary-rsi-meter::after { left: 70%; }
.summary-rsi-marker { position: absolute; top: -3px; width: 3px; height: 11px; border-radius: 2px; background: #e5e5eb; transform: translateX(-50%); }
.summary-rsi-ticks { position: relative; height: 14px; margin: 5px 4px 0; color: #82828d; font-size: 11px; font-variant-numeric: tabular-nums; }
.summary-rsi-ticks span { position: absolute; transform: translateX(-50%); }
.summary-rsi-ticks span:first-child { transform: none; }
.summary-rsi-ticks span:last-child { transform: translateX(-100%); }
.summary-volume-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; color: #9696a0; font-size: 12px; font-variant-numeric: tabular-nums; }
.summary-volume-meta strong { font-weight: 500; color: #c7c7cf; }
.summary-volume-bar { position: relative; height: 5px; margin-top: 10px; border-radius: 3px; background: #303138; }
.summary-volume-fill { display: block; height: 100%; background: #777783; border-radius: 3px; }
.summary-volume-average { position: absolute; top: -3px; height: 11px; border-left: 1px dashed #d1d1d8; }
#ema-value.summary-ema-pair { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; width: auto; font-size: 14px; }
.summary-ema-item { display: inline-flex; align-items: baseline; gap: 5px; }
.summary-ema-item small { color: #898994; font-size: 11px; font-weight: 400; }
.reasons-list.summary-reasons { list-style: none; margin: 0; padding: 0; font-size: 14px; }
.summary-reason { border-top: 1px solid rgba(255,255,255,0.06); }
.summary-reason:first-child { border-top: 0; }
.summary-reason summary { display: flex; align-items: center; gap: 8px; padding: 9px 0; list-style: none; cursor: pointer; border-radius: 7px; transition: background-color 150ms ease; }
.summary-reason summary::-webkit-details-marker { display: none; }
.summary-reason summary:hover { background: rgba(255,255,255,0.035); }
.summary-reason summary:focus-visible { outline: 1px solid #96969f; outline-offset: 2px; }
.summary-reason-body { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; }
.summary-reason-category { font-size: 11px; letter-spacing: 0.035em; color: #898994; }
.summary-factor { color: #d1d1d8; font-size: 13px; line-height: 1.4; overflow-wrap: break-word; }
.summary-chevron { color: #898994; font-size: 20px; transition: transform 150ms ease; margin-right: 3%; }
.summary-reason details[open] .summary-chevron { transform: rotate(90deg); }
.summary-explanations { margin: 0 0 10px 31px; padding: 0 0 0 12px; color: #a2a2ad; font-size: 13px; line-height: 1.6; }
.summary-explanations li + li { margin-top: 5px; }
.summary-explanation-context { margin: 6px 0 0; color: #c0c0ca; }
.summary-empty { color: #9696a0; font-size: 13px; line-height: 1.5; padding: 3px 0; }
@media (prefers-reduced-motion: reduce) { .summary-reason summary, .summary-chevron { transition: none; } }

.summary-explanation-panel { display: flow-root; overflow: hidden; }
.summary-reason details[data-expanded="false"] .summary-chevron { transform: rotate(0); }

.summary-reason { --reason-accent: #b9b9c5; }
.summary-reason[data-category="rsi"] { --reason-accent: #84a7ec; }
.summary-reason[data-category="ema"] { --reason-accent: #e6ab76; }
.summary-reason[data-category="macd"] { --reason-accent: #b8a0d9; }
.summary-reason[data-category="volume"] { --reason-accent: #86b8ac; }
.summary-reason[data-category="supply"] { --reason-accent: #d0bd81; }
.summary-reason .summary-icon { color: var(--reason-accent); }
.summary-reason-category { color: var(--reason-accent); }
.summary-reason details[data-expanded="true"] summary { background: rgba(255,255,255,0.035); }
.summary-reason details[data-expanded="true"] .summary-chevron { color: var(--reason-accent); }
.summary-reason .summary-explanation-panel { border-left: 2px solid var(--reason-accent); margin-left: 11px; }
.summary-reason .summary-explanations { margin-left: 18px; }

@media (max-width: 900px) {
  .bottom-side-card { gap: 4px; padding: 4px; }
  .bottom-side-card .side-section { padding: 7px 8px; }
  .bottom-side-card .side-title { font-size: 13px; margin-bottom: 6px; }
  .summary-metric { padding: 6px 0; }
  .summary-metric-caption { gap: 5px; font-size: 12px; }
  .summary-metric-value { font-size: 17px; }
  .summary-icon { width: 20px; height: 20px; border-radius: 6px; }
  .summary-icon svg { width: 14px; height: 14px; }
  .summary-metric-note { margin: 3px 0 0 25px; font-size: 11px; }
  .summary-volume-meta { margin-top: 4px; font-size: 11px; }
  #ema-value.summary-ema-pair { gap: 8px; font-size: 13px; }
  .summary-reason summary { gap: 6px; padding: 7px 0; min-height: 44px; }
  .summary-factor { font-size: 12px; line-height: 1.4; }
  .summary-explanations { font-size: 12px; line-height: 1.5; }
  .summary-empty { font-size: 12px; padding: 1px 0; }
}
