.analysis-page { min-height: 100vh; background: radial-gradient(circle at 80% 0%, rgba(48, 119, 191, .15), transparent 38%), #071321; color: #edf6ff; }
.watchlist-shell { width: min(1480px, calc(100% - 48px)); margin: 0 auto; padding: 24px 0 32px; }
.watchlist-header, .watchlist-hero, .watchlist-controls, .watchlist-panel-heading, .watchlist-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.watchlist-header { min-height: 48px; border-bottom: 1px solid rgba(151, 197, 229, .18); }
.watchlist-lockup { display: flex; align-items: center; gap: 10px; }
.watchlist-lockup strong { display: block; margin-top: 4px; font: 600 15px var(--display, system-ui); letter-spacing: .02em; }
.watchlist-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(85, 225, 230, .48); color: #8ee9ff; font: 700 11px var(--mono, monospace); }
.watchlist-back { color: #9bb4c9; font: 9px var(--mono, monospace); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.watchlist-back:hover, .watchlist-back:focus-visible { color: #8ee9ff; }
.watchlist-hero { align-items: flex-end; padding: 64px 0 32px; }
.watchlist-hero h1 { max-width: 780px; margin: 11px 0 14px; color: #f7fbff; font: 600 clamp(38px, 6vw, 80px)/.95 var(--display, system-ui); letter-spacing: -.04em; }
.watchlist-hero p { max-width: 720px; margin: 0; color: #9bb4c9; font-size: 13px; line-height: 1.65; }
.watchlist-state-stack { display: grid; min-width: 180px; gap: 7px; justify-items: end; }
.status-chip, .watchlist-readonly { display: inline-flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid rgba(151, 197, 229, .2); color: #9bb4c9; font: 9px var(--mono, monospace); letter-spacing: .05em; text-transform: uppercase; }
.status-chip.safe { border-color: rgba(85, 225, 230, .35); color: #8ee9ff; }.status-chip i { width: 6px; height: 6px; border-radius: 50%; background: #55e1e6; box-shadow: 0 0 12px rgba(85, 225, 230, .8); }
.watchlist-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid rgba(151, 197, 229, .2); background: rgba(9, 25, 43, .74); }
.watchlist-summary article { min-height: 108px; padding: 17px 19px; border-right: 1px solid rgba(151, 197, 229, .16); }.watchlist-summary article:last-child { border-right: 0; }
.watchlist-summary span, .watchlist-summary small { display: block; color: #7390a7; font: 9px var(--mono, monospace); letter-spacing: .08em; text-transform: uppercase; }.watchlist-summary strong { display: block; overflow: hidden; margin: 11px 0 6px; color: #edf6ff; font: 600 21px var(--display, system-ui); text-overflow: ellipsis; white-space: nowrap; }
.watchlist-controls { align-items: end; padding: 30px 0 14px; }.watchlist-search { display: flex; min-width: min(430px, 100%); align-items: center; gap: 10px; padding: 0 12px; border: 1px solid rgba(151, 197, 229, .2); background: rgba(4, 13, 24, .7); }.watchlist-search span { color: #8ee9ff; font-size: 20px; }.watchlist-search input, .watchlist-filter select { min-height: 40px; border: 0; outline: 0; color: #edf6ff; background: transparent; font: 11px var(--mono, monospace); }.watchlist-search input { width: 100%; }.watchlist-search input::placeholder { color: #7390a7; }.watchlist-filter { display: grid; gap: 5px; color: #7390a7; font: 8px var(--mono, monospace); letter-spacing: .1em; text-transform: uppercase; }.watchlist-filter select { min-width: 170px; padding: 0 10px; border: 1px solid rgba(151, 197, 229, .2); background: #0b1b2d; }.watchlist-filter option { color: #edf6ff; background: #0b1b2d; }.watchlist-result-count { margin-left: auto; color: #8daac0; font: 9px var(--mono, monospace); }
.watchlist-panel { border: 1px solid rgba(151, 197, 229, .2); background: rgba(9, 25, 43, .82); box-shadow: 0 18px 50px rgba(0, 0, 0, .22); }.watchlist-panel-heading { padding: 18px 19px; border-bottom: 1px solid rgba(151, 197, 229, .16); }.watchlist-panel-heading h2 { margin: 7px 0 0; color: #edf6ff; font: 600 22px var(--display, system-ui); }.watchlist-readonly { color: #a6d876; border-color: rgba(166, 216, 118, .28); }.watchlist-state { padding: 28px 20px; color: #9bb4c9; font: 11px var(--mono, monospace); }.watchlist-state.error { color: #ff9f9f; }
.watchlist-table-wrap { overflow-x: auto; }.watchlist-table { width: 100%; min-width: 1160px; border-collapse: collapse; font-size: 11px; }.watchlist-table th { padding: 11px 13px; border-bottom: 1px solid rgba(151, 197, 229, .2); color: #7390a7; font: 8px var(--mono, monospace); letter-spacing: .08em; text-align: left; text-transform: uppercase; white-space: nowrap; }.watchlist-table td { padding: 13px; border-bottom: 1px solid rgba(151, 197, 229, .1); color: #c7d9e7; font-family: var(--mono, monospace); white-space: nowrap; }.watchlist-table tbody tr:hover { background: rgba(64, 146, 207, .08); }.watchlist-table td:first-child { max-width: 260px; overflow: hidden; color: #f1f8ff; font-family: var(--display, system-ui); font-weight: 600; text-overflow: ellipsis; }.watchlist-table td:nth-child(8), .watchlist-table td:nth-child(9) { color: #8ee9ff; }.watchlist-table td:nth-child(12) { color: #d8f36a; }.watchlist-table .negative { color: #ff9f9f; }.watchlist-details { min-width: 110px; }.watchlist-details summary { color: #8ee9ff; cursor: pointer; font: 9px var(--mono, monospace); list-style: none; }.watchlist-details summary::-webkit-details-marker { display: none; }.watchlist-details summary::before { content: "+ "; }.watchlist-details[open] summary::before { content: "− "; }.watchlist-detail-grid { position: absolute; z-index: 4; right: 18px; width: min(570px, calc(100vw - 48px)); max-height: 390px; overflow: auto; padding: 14px; border: 1px solid rgba(85, 225, 230, .32); background: #0b1b2d; box-shadow: 0 18px 44px rgba(0, 0, 0, .45); white-space: normal; }.watchlist-detail-cell { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(151, 197, 229, .1); }.watchlist-detail-cell span:first-child { color: #7390a7; font: 8px var(--mono, monospace); text-transform: uppercase; }.watchlist-detail-cell span:last-child { color: #edf6ff; font: 10px var(--mono, monospace); text-align: right; word-break: break-word; }
.watchlist-footer { padding-top: 17px; color: #6d879d; font: 9px var(--mono, monospace); }.watchlist-footer strong { color: #8ee9ff; font-weight: 500; }
.watchlist-table .positive { color: #a6d876; }
@media (max-width: 760px) { .watchlist-shell { width: min(100% - 28px, 1480px); padding-top: 14px; }.watchlist-header, .watchlist-hero, .watchlist-controls, .watchlist-footer { align-items: flex-start; flex-direction: column; }.watchlist-hero { padding-top: 42px; }.watchlist-state-stack { width: 100%; justify-items: start; }.watchlist-summary { grid-template-columns: 1fr 1fr; }.watchlist-summary article:nth-child(2) { border-right: 0; }.watchlist-summary article:nth-child(-n+2) { border-bottom: 1px solid rgba(151, 197, 229, .16); }.watchlist-controls { gap: 12px; }.watchlist-search { width: 100%; min-width: 0; }.watchlist-result-count { margin-left: 0; }.watchlist-detail-grid { position: fixed; top: 18px; right: 14px; left: 14px; width: auto; max-height: calc(100vh - 36px); } }
@media (prefers-reduced-motion: reduce) { .analysis-page * { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* 2026-09-19: align watchlist with the Command Center design system. */
.analysis-page {
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at 84% 0%, rgba(34, 128, 255, .1), transparent 34rem), var(--bg);
}
.analysis-page .watchlist-shell { width: min(100%, 1600px); padding: 30px 42px 40px; }
.analysis-page .watchlist-header { min-height: 58px; padding: 5px 0 17px; border-bottom-color: var(--hairline); }
.analysis-page .watchlist-lockup { gap: 12px; }
.analysis-page .watchlist-mark {
  width: 48px; height: 48px; border-color: rgba(85, 225, 230, .62); border-radius: var(--radius-sm);
  background: rgba(85, 225, 230, .055); color: var(--cyan); font: 800 12px var(--mono); letter-spacing: .08em;
}
.analysis-page .watchlist-lockup strong { color: var(--text); font-size: 16px; letter-spacing: -.02em; }
.analysis-page .watchlist-back {
  display: inline-flex; min-height: 44px; align-items: center; gap: 8px; padding: 0 14px;
  border: 1px solid var(--hairline); border-radius: var(--radius-sm); background: rgba(11, 23, 39, .62);
  color: var(--muted); font-size: 9px; transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.analysis-page .watchlist-back span { color: var(--cyan); font-size: 14px; }
.analysis-page .watchlist-back:hover, .analysis-page .watchlist-back:focus-visible { border-color: rgba(85, 225, 230, .54); color: var(--text); background: rgba(85, 225, 230, .08); }
.analysis-page .watchlist-hero {
  position: relative; align-items: flex-end; margin-top: 20px; padding: 32px; overflow: hidden;
  border: 1px solid var(--hairline); border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(13, 31, 52, .94), rgba(7, 15, 26, .96)); box-shadow: 0 22px 58px rgba(0, 0, 0, .24);
}
.analysis-page .watchlist-hero::before { position: absolute; top: -1px; left: 32px; width: 116px; height: 2px; content: ""; background: var(--cyan); box-shadow: 0 0 16px rgba(85, 225, 230, .45); }
.analysis-page .watchlist-hero h1 { max-width: 760px; margin: 11px 0 14px; color: var(--text); font: 650 clamp(38px, 5vw, 64px)/.96 var(--display); letter-spacing: -.065em; }
.analysis-page .watchlist-hero p { max-width: 690px; color: var(--muted); line-height: 1.65; }
.analysis-page .watchlist-state-stack { min-width: 210px; gap: 8px; justify-items: stretch; }
.analysis-page .status-chip, .analysis-page .watchlist-readonly { min-height: 32px; justify-content: center; padding: 0 10px; border-color: var(--hairline); border-radius: 8px; background: rgba(5, 12, 22, .5); font-size: 8px; }
.analysis-page .status-chip.safe { border-color: rgba(85, 225, 230, .35); background: rgba(85, 225, 230, .06); }
.analysis-page .watchlist-summary { margin-top: 14px; overflow: hidden; border-color: var(--hairline); border-radius: var(--radius-lg); background: linear-gradient(120deg, rgba(12, 31, 52, .88), rgba(5, 13, 24, .92)); box-shadow: 0 14px 38px rgba(0, 0, 0, .2); }
.analysis-page .watchlist-summary article { min-height: 126px; padding: 19px 20px; border-right-color: var(--hairline); transition: background .18s ease; }
.analysis-page .watchlist-summary article:hover { background: rgba(85, 225, 230, .045); }
.analysis-page .macro-brief-panel { margin-top: 14px; padding: 20px 22px; border: 1px solid var(--hairline); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(13, 31, 52, .92), rgba(7, 15, 26, .96)); box-shadow: 0 14px 38px rgba(0, 0, 0, .18); }
.analysis-page .macro-brief-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.analysis-page .macro-brief-heading h2 { margin: 5px 0 0; color: var(--text); font-size: 20px; }
.analysis-page .macro-brief-meta, .analysis-page .macro-brief-note { color: var(--muted); font-size: 10px; line-height: 1.6; }
.analysis-page .macro-brief-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.analysis-page .macro-brief-grid article { min-width: 0; padding: 14px; border: 1px solid var(--hairline); border-radius: var(--radius-md); background: rgba(5, 12, 22, .48); }
.analysis-page .macro-brief-grid h3 { margin: 0 0 9px; color: var(--cyan); font: 600 10px var(--mono); text-transform: uppercase; }
.analysis-page .macro-brief-grid p, .analysis-page .macro-brief-grid small { color: var(--muted); font-size: 10px; line-height: 1.5; overflow-wrap: anywhere; }
.analysis-page .macro-brief-grid ul { display: grid; gap: 7px; margin: 10px 0 0; padding-left: 16px; color: var(--text); font-size: 11px; line-height: 1.5; }
.analysis-page .macro-brief-grid li { overflow-wrap: anywhere; }
.analysis-page .macro-brief-note { margin: 12px 0 0; }
.analysis-page .watchlist-summary span, .analysis-page .watchlist-summary small { color: var(--faint); font-size: 8px; }
.analysis-page .watchlist-summary strong { margin: 15px 0 7px; color: var(--text); font-size: 22px; letter-spacing: -.04em; }
.analysis-page .watchlist-controls { align-items: flex-end; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--hairline); border-radius: var(--radius-md); background: rgba(9, 21, 37, .7); }
.analysis-page .watchlist-search { min-width: min(470px, 100%); min-height: 44px; padding: 0 12px; border-color: var(--hairline); border-radius: var(--radius-sm); background: rgba(5, 12, 22, .72); }
.analysis-page .watchlist-search:focus-within { border-color: rgba(85, 225, 230, .58); box-shadow: var(--focus-ring); }
.analysis-page .watchlist-search input { min-height: 42px; font: 11px var(--mono); }
.analysis-page .watchlist-filter select { min-height: 44px; padding: 0 34px 0 11px; border-color: var(--hairline); border-radius: var(--radius-sm); background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%), linear-gradient(145deg, rgba(22, 46, 72, .88), rgba(6, 15, 27, .96)); background-position: calc(100% - 14px) 19px, calc(100% - 10px) 19px, 0 0; background-size: 4px 4px, 4px 4px, 100% 100%; background-repeat: no-repeat; appearance: none; cursor: pointer; font: 9px var(--mono); }
.analysis-page .watchlist-filter select:hover, .analysis-page .watchlist-filter select:focus-visible { border-color: rgba(142, 233, 255, .68); box-shadow: var(--focus-ring); }
.analysis-page .watchlist-result-count { min-height: 32px; align-content: center; padding: 0 10px; border: 1px solid var(--hairline); border-radius: 8px; color: var(--cyan); background: rgba(85, 225, 230, .05); }
.analysis-page .watchlist-panel { margin-top: 12px; overflow: visible; border-color: var(--hairline); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(13, 31, 52, .94), rgba(7, 15, 26, .96)); box-shadow: 0 22px 58px rgba(0, 0, 0, .24); }
.analysis-page .watchlist-panel-heading { padding: 20px 22px; border-bottom-color: var(--hairline); }
.analysis-page .watchlist-panel-heading h2 { color: var(--text); font-size: 20px; }
.analysis-page .watchlist-readonly { color: var(--green); border-color: rgba(78, 231, 160, .28); }
.analysis-page .watchlist-state { padding: 24px 22px; color: var(--muted); }
.analysis-page .watchlist-table-wrap { max-width: 100%; overflow-x: auto; scrollbar-color: var(--blue) rgba(9, 21, 37, .55); scrollbar-width: thin; }
.analysis-page .watchlist-table-wrap::-webkit-scrollbar { height: 9px; }
.analysis-page .watchlist-table-wrap::-webkit-scrollbar-track { border-radius: 999px; background: rgba(9, 21, 37, .55); }
.analysis-page .watchlist-table-wrap::-webkit-scrollbar-thumb { border: 2px solid rgba(9, 21, 37, .55); border-radius: 999px; background: linear-gradient(90deg, #8ee9ff, #4d86ff); }
.analysis-page .watchlist-table { min-width: 1200px; }
.analysis-page .watchlist-table th { position: sticky; top: 0; z-index: 2; padding: 13px 14px; border-bottom-color: var(--hairline); color: var(--faint); background: rgba(11, 27, 46, .98); }
.analysis-page .watchlist-table td { padding: 15px 14px; border-bottom-color: rgba(166, 196, 230, .1); color: var(--muted); }
.analysis-page .watchlist-table tbody tr { transition: background .18s ease; }
.analysis-page .watchlist-table tbody tr:hover { background: rgba(85, 225, 230, .055); }
.analysis-page .watchlist-table td:first-child { color: var(--text); }
.analysis-page .watchlist-table td:nth-child(8), .analysis-page .watchlist-table td:nth-child(9) { color: var(--cyan); }
.watchlist-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 14px; color: var(--muted); font: 10px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.watchlist-pagination button { min-height: 32px; padding: 0 12px; border: 1px solid var(--hairline); border-radius: 8px; color: var(--text); background: rgba(85, 225, 230, .05); font: inherit; cursor: pointer; }
.watchlist-pagination button:hover:not(:disabled), .watchlist-pagination button:focus-visible { border-color: var(--cyan); color: var(--cyan); outline: none; }
.watchlist-pagination button:disabled { cursor: not-allowed; opacity: .42; }
.analysis-page .watchlist-details { position: relative; min-width: 112px; }
.analysis-page .watchlist-details summary { display: inline-flex; min-height: 32px; align-items: center; padding: 0 10px; border: 1px solid rgba(142, 233, 255, .16); border-radius: 8px; background: rgba(11, 23, 39, .72); color: var(--muted); transition: border-color .18s ease, color .18s ease, background .18s ease; }
.analysis-page .watchlist-details summary:hover, .analysis-page .watchlist-details summary:focus-visible { border-color: rgba(85, 225, 230, .56); color: var(--text); background: rgba(85, 225, 230, .1); }
.analysis-page .watchlist-detail-grid { top: calc(100% + 8px); right: 0; width: min(570px, calc(100vw - 48px)); padding: 15px; border-color: rgba(85, 225, 230, .32); border-radius: var(--radius-md); background: #0b1b2d; box-shadow: 0 20px 48px rgba(0, 0, 0, .45); scrollbar-color: var(--blue) rgba(9, 21, 37, .55); scrollbar-width: thin; }
.analysis-page .watchlist-detail-grid::-webkit-scrollbar { width: 7px; }
.analysis-page .watchlist-detail-grid::-webkit-scrollbar-thumb { border-radius: 999px; background: linear-gradient(180deg, #8ee9ff, #4d86ff); }
.analysis-page .watchlist-footer { padding-top: 19px; color: var(--faint); }

@media (max-width: 1240px) { .analysis-page .watchlist-shell { padding: 25px 26px 34px; } }
@media (max-width: 900px) {
  .analysis-page .watchlist-controls { align-items: stretch; flex-wrap: wrap; }
  .analysis-page .watchlist-search { width: 100%; min-width: 0; flex: 1 1 100%; }
  .analysis-page .watchlist-filter { min-width: 180px; flex: 1 1 180px; }
  .analysis-page .watchlist-filter select { width: 100%; }
  .analysis-page .watchlist-result-count { margin-left: 0; }
}
@media (max-width: 760px) {
  .analysis-page .watchlist-shell { width: min(100% - 28px, 1600px); padding: 16px 0 28px; }
  .analysis-page .watchlist-header, .analysis-page .watchlist-hero, .analysis-page .watchlist-controls, .analysis-page .watchlist-footer { align-items: flex-start; flex-direction: column; }
  .analysis-page .watchlist-header { gap: 12px; }
  .analysis-page .watchlist-back { width: 100%; justify-content: center; }
  .analysis-page .watchlist-hero { margin-top: 16px; padding: 24px 20px; border-radius: var(--radius-md); }
  .analysis-page .watchlist-hero::before { left: 20px; }
  .analysis-page .watchlist-hero h1 { font-size: clamp(36px, 12vw, 52px); }
  .analysis-page .watchlist-state-stack { width: 100%; }
  .analysis-page .macro-brief-panel { padding: 17px; border-radius: var(--radius-md); }
  .analysis-page .macro-brief-heading { align-items: flex-start; flex-direction: column; }
  .analysis-page .macro-brief-grid { grid-template-columns: 1fr; }
  .analysis-page .watchlist-summary { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius-md); }
  .analysis-page .watchlist-summary article { min-width: 0; min-height: 112px; padding: 16px; }
  .analysis-page .watchlist-summary article:nth-child(2) { border-right: 0; }
  .analysis-page .watchlist-summary article:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
  .analysis-page .watchlist-controls { gap: 11px; padding: 13px; }
  .analysis-page .watchlist-search, .analysis-page .watchlist-filter { width: 100%; min-width: 0; }
  .analysis-page .watchlist-filter select { width: 100%; }
  .analysis-page .watchlist-result-count { margin-left: 0; }
  .analysis-page .watchlist-panel { border-radius: var(--radius-md); }
  .analysis-page .watchlist-panel-heading { align-items: flex-start; flex-direction: column; padding: 18px; }
  .analysis-page .watchlist-state { padding: 20px 18px; }
  .analysis-page .watchlist-detail-grid { position: fixed; top: 18px; right: 14px; left: 14px; width: auto; max-height: calc(100vh - 36px); }
}
@media (prefers-reduced-motion: reduce) {
  .analysis-page .watchlist-back, .analysis-page .watchlist-summary article, .analysis-page .watchlist-table tbody tr, .analysis-page .watchlist-details summary { transition: none; }
}
