/* Compact, read-only technical trend. Research and entry verdict are separate. */
.sed-panel {
  --sed-text: #142238;
  --sed-muted: #64748b;
  --sed-line: #e1e7ed;
  margin: 0 0 18px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--sed-line);
  border-radius: 13px;
  background: #fff;
  color: var(--sed-text);
  font-family: inherit;
}
.sed-panel * { box-sizing: border-box; }
.sed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 22px;
  border-bottom: 1px solid var(--sed-line);
}
.sed-kicker { margin: 0 0 5px; color: #0e7490; font-size: 10px; font-weight: 800; letter-spacing: .07em; }
.sed-header h2 { margin: 0; color: var(--sed-text); font-size: 20px; font-weight: 760; letter-spacing: -.025em; }
.sed-observation-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 1px solid #dae3eb;
  border-radius: 7px;
  background: #f8fafc;
  color: #52637b;
  font-size: 9px;
  font-weight: 780;
  letter-spacing: .02em;
  white-space: nowrap;
}
.sed-observation-badge--live { border-color: #bbebd4; background: #f0fbf6; color: #08734b; }
.sed-observation-badge--stale { border-color: #efd6ab; background: #fffbef; color: #925d13; }
.sed-live-dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: #10a568; }

.sed-trend {
  --sed-trend-color: #64748b;
  --sed-trend-soft: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 19px;
  min-height: 119px;
  padding: 21px 22px;
}
.sed-trend[data-direction="bullish"] { --sed-trend-color: #087b55; --sed-trend-soft: #ecf8f2; }
.sed-trend[data-direction="bearish"] { --sed-trend-color: #bd2f46; --sed-trend-soft: #fff2f4; }
.sed-trend__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: var(--sed-trend-soft);
  color: var(--sed-trend-color);
}
.sed-trend__icon svg { display: block; width: 35px; height: 35px; }
.sed-trend__copy { min-width: 0; }
.sed-trend__copy strong {
  display: block;
  color: var(--sed-trend-color);
  font-size: clamp(29px, 4vw, 37px);
  font-weight: 780;
  letter-spacing: -.04em;
  line-height: 1.16;
}
.sed-trend__copy span { display: block; margin-top: 6px; color: var(--sed-muted); font-size: 13px; line-height: 1.4; }

.sed-disclosure { margin: 0; border-top: 1px solid var(--sed-line); }
.sed-disclosure > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 46px;
  padding: 12px 22px;
  list-style: none;
  color: #40556b;
  cursor: pointer;
  font-size: 12px;
  font-weight: 730;
}
.sed-disclosure > summary::-webkit-details-marker { display: none; }
.sed-disclosure > summary:hover { background: #fafcfd; }
.sed-disclosure > summary:focus-visible { outline: 2px solid #0e7490; outline-offset: -3px; }
.sed-disclosure > summary svg { flex: 0 0 auto; color: #8492a3; transition: transform 140ms ease; }
.sed-disclosure[open] > summary svg { transform: rotate(180deg); }
.sed-disclosure__body { padding: 18px 22px 23px; border-top: 1px solid var(--sed-line); }
.sed-disclosure__body p { margin: 7px 0 11px; color: #617287; font-size: 11px; line-height: 1.6; }
.sed-research-overview { padding-bottom: 15px; }
.sed-research-overview__heading { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.sed-research-overview__heading span { color: #44566e; font-size: 12px; font-weight: 800; }
.sed-research-overview__heading strong {
  padding: 4px 8px;
  border: 1px solid #dbe4ee;
  border-radius: 6px;
  background: #f8fafc;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
}
.sed-research-overview__heading strong[data-verdict="bullish"] { color: #08734b; background: #f0fbf5; border-color: #bde7d1; }
.sed-research-overview__heading strong[data-verdict="bearish"] { color: #b4233b; background: #fff5f6; border-color: #f0c3c9; }
.sed-research-overview > small, .sed-research-count { display: block; color: #8291a3; font-size: 10px; line-height: 1.5; }
.sed-research-section { padding: 15px 0 18px; border-top: 1px solid var(--sed-line); }
.sed-research-section:last-child { padding-bottom: 0; }
.sed-research-section h3 { margin: 0 0 12px; color: #263c53; font-size: 13px; font-weight: 750; }
.sed-factor-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.sed-factor { min-width: 0; padding: 11px; border: 1px solid #e3e9ef; border-radius: 9px; background: #fafcfe; }
.sed-factor span, .sed-factor strong, .sed-factor small { display: block; }
.sed-factor span { color: #718096; font-size: 10px; font-weight: 750; }
.sed-factor strong { margin-top: 6px; font-size: 15px; font-variant-numeric: tabular-nums; }
.sed-factor small { margin-top: 5px; color: #76879a; font-size: 9px; line-height: 1.45; }
.sed-positive { color: #07805a !important; }
.sed-negative { color: #bd2f46 !important; }
.sed-timeframes { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.sed-timeframe, .sed-timeframe:visited { padding: 7px 10px; border: 1px solid #dae3eb; border-radius: 7px; background: #fff; color: #52637b; font-size: 10px; font-weight: 750; text-decoration: none; }
.sed-timeframe:hover, .sed-timeframe:focus-visible { border-color: #93cbda; color: #075985; }
.sed-timeframe:focus-visible { outline: 2px solid #0e7490; outline-offset: 2px; }
.sed-timeframe.is-active { border-color: #95d6e2; background: #effafe; color: #056581; }
.sed-expected { display: block; margin: 4px 0; font-size: 28px; font-weight: 750; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.sed-expectancy-note { margin: 7px 0 !important; color: #65758a; font-size: 11px; line-height: 1.5; }
.sed-research-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
.sed-research-stats > div { min-width: 0; }
.sed-research-stats span, .sed-research-stats strong { display: block; }
.sed-research-stats span { color: #8a97a7; font-size: 9px; line-height: 1.4; }
.sed-research-stats strong { margin-top: 5px; color: #304156; font-size: 11px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.sed-table-scroll { max-width: 100%; overflow-x: auto; }
.sed-table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 10px; font-variant-numeric: tabular-nums; text-align: left; }
.sed-table th, .sed-table td { padding: 9px; border-bottom: 1px solid #e7edf3; white-space: nowrap; }
.sed-table th { color: #65758a; font-weight: 780; }
.sed-table thead th { background: #f8fafc; font-size: 9px; }
.sed-method-caution { padding: 10px 12px; border-left: 3px solid #dfae4b; background: #fffbeb; }
.sed-trade-audit { margin: 15px 0; border: 1px solid #d5e4ec; border-radius: 10px; overflow: hidden; background: #fff; }
.sed-trade-audit > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; list-style: none; cursor: pointer; color: #14445b; background: #f4fbfe; font-size: 11px; font-weight: 800; }
.sed-trade-audit > summary::-webkit-details-marker { display: none; }
.sed-trade-audit > summary:focus-visible { outline: 2px solid #0e7490; outline-offset: -2px; }
.sed-trade-audit > summary > span { flex: 0 0 auto; color: #53748a; font-size: 9px; font-weight: 650; }
.sed-trade-audit[open] > summary { border-bottom: 1px solid #d5e4ec; }
.sed-trade-audit__body { padding: 13px; }
.sed-return-bridge { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
.sed-return-bridge > div { min-width: 0; padding: 10px; border: 1px solid #e3e9ef; border-radius: 8px; background: #f9fbfe; }
.sed-return-bridge span, .sed-return-bridge strong { display: block; }
.sed-return-bridge span { color: #64748b; font-size: 8px; font-weight: 780; }
.sed-return-bridge strong { margin-top: 6px; font-size: 16px; font-variant-numeric: tabular-nums; }
.sed-trade-audit__table { min-width: 1080px; }
.sed-trade-audit__table tbody tr:nth-child(even) { background: #fbfcfe; }
.sed-trade-audit__table tbody tr:hover { background: #edfafd; }
.sed-trade-audit__table th, .sed-trade-audit__table td { padding: 9px 7px; }
.sed-trade-audit__table td:last-child { font-weight: 830; }
.sed-panel--loading { padding: 16px 20px; background: #fbfdff; }
.sed-loading-title { font-size: 12px; font-weight: 790; }
.sed-panel--loading p { margin: 5px 0 0; color: #7d8da0; font-size: 11px; }
@media (max-width: 900px) {
  .sed-factor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sed-research-stats, .sed-return-bridge { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .sed-header { align-items: flex-start; flex-direction: column; gap: 10px; padding: 14px; }
  .sed-trend { min-height: 100px; gap: 14px; padding: 17px 14px; }
  .sed-trend__icon { width: 52px; height: 52px; border-radius: 11px; }
  .sed-trend__icon svg { width: 31px; height: 31px; }
  .sed-trend__copy strong { font-size: 28px; }
  .sed-trend__copy span { font-size: 12px; }
  .sed-disclosure > summary { padding: 12px 14px; }
  .sed-disclosure__body { padding: 16px 14px; }
  .sed-factor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sed-trade-audit > summary { align-items: flex-start; flex-direction: column; gap: 5px; }
  .sed-trade-audit__body { padding: 10px; }
}
@media (max-width: 370px) {
  .sed-factor-grid, .sed-research-stats, .sed-return-bridge { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .sed-disclosure > summary svg { transition: none; }
}
