.qd-a-share-tab {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
}

.qd-a-share-tab .qd-a-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.qd-a-share-tab em {
  padding: 1px 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4057, #ff8a3d);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .06em;
}

.workspace-tabs.qd-a-share-active > .ant-tabs-bar .ant-tabs-ink-bar {
  opacity: 0 !important;
}

.qd-a-original-hidden {
  display: none !important;
}

.qd-a-share-host[hidden] {
  display: none !important;
}

.qd-a-share-host {
  --qd-a-bg: #f3f5f9;
  --qd-a-card: rgba(255, 255, 255, .92);
  --qd-a-text: #171b28;
  --qd-a-muted: #72798c;
  --qd-a-line: rgba(18, 25, 42, .08);
  --qd-a-up: #e93446;
  --qd-a-up-soft: rgba(233, 52, 70, .09);
  --qd-a-down: #078b68;
  --qd-a-down-soft: rgba(7, 139, 104, .09);
  --qd-a-accent: #3157e7;
  margin: 0 -24px -24px;
  color: var(--qd-a-text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.theme-dark .qd-a-share-host,
.qd-dark .qd-a-share-host,
html[data-theme="dark"] .qd-a-share-host {
  --qd-a-bg: #0d1119;
  --qd-a-card: rgba(22, 28, 40, .92);
  --qd-a-text: #f3f5f8;
  --qd-a-muted: #b3bdcf;
  --qd-a-line: rgba(255, 255, 255, .08);
  --qd-a-up-soft: rgba(255, 78, 98, .12);
  --qd-a-down-soft: rgba(29, 190, 147, .12);
}

.qd-a-shell {
  min-height: 720px;
  padding: 30px;
  background:
    radial-gradient(circle at 6% 0%, rgba(49, 87, 231, .10), transparent 28%),
    radial-gradient(circle at 94% 18%, rgba(233, 52, 70, .07), transparent 26%),
    var(--qd-a-bg);
}

.qd-a-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.qd-a-title-wrap,
.qd-a-title-line,
.qd-a-actions,
.qd-a-index-head,
.qd-a-index-change,
.qd-a-index-range,
.qd-a-card-head,
.qd-a-sector-title,
.qd-a-model-line,
.qd-a-footer {
  display: flex;
  align-items: center;
}

.qd-a-title-wrap {
  gap: 14px;
}

.qd-a-title-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 14px;
  background: #111827;
  color: #fff;
  box-shadow: 0 12px 30px rgba(17, 24, 39, .20);
}

.qd-a-title-mark span {
  position: relative;
  z-index: 1;
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.qd-a-title-mark i {
  position: absolute;
  right: -8px;
  bottom: -12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--qd-a-up);
}

.qd-a-title-line {
  gap: 10px;
}

.qd-a-title-line h1 {
  margin: 0;
  color: var(--qd-a-text);
  font-size: 24px;
  font-weight: 760;
  letter-spacing: -.03em;
}

.qd-a-title-wrap p {
  margin: 4px 0 0;
  color: var(--qd-a-muted);
  font-size: 12px;
  letter-spacing: .02em;
}

.qd-a-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--qd-a-line);
  border-radius: 999px;
  color: var(--qd-a-muted);
  font-size: 10px;
  font-weight: 700;
}

.qd-a-live i,
.qd-a-source-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8790a2;
}

.qd-a-live.open i {
  background: var(--qd-a-up);
  box-shadow: 0 0 0 4px var(--qd-a-up-soft);
  animation: qd-a-pulse 1.8s infinite;
}

@keyframes qd-a-pulse {
  0%, 100% { transform: scale(.85); opacity: .75; }
  50% { transform: scale(1.2); opacity: 1; }
}

.qd-a-actions {
  justify-content: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.qd-a-segmented {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--qd-a-line);
  border-radius: 10px;
  background: var(--qd-a-card);
}

.qd-a-segmented button,
.qd-a-ghost,
.qd-a-primary,
.qd-a-model-line button {
  border: 0;
  background: transparent;
  color: var(--qd-a-muted);
  cursor: pointer;
  font: inherit;
  transition: .2s ease;
}

.qd-a-segmented button {
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 11px;
}

.qd-a-segmented button.active {
  background: var(--qd-a-text);
  color: var(--qd-a-card);
  box-shadow: 0 4px 12px rgba(18, 25, 42, .14);
}

.qd-a-ghost,
.qd-a-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 13px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 650;
}

.qd-a-ghost {
  border: 1px solid var(--qd-a-line);
  background: var(--qd-a-card);
  color: var(--qd-a-text);
}

.qd-a-primary {
  background: linear-gradient(135deg, #2444c4, #4169ff);
  color: #fff;
  box-shadow: 0 8px 18px rgba(49, 87, 231, .20);
}

.qd-a-primary:hover,
.qd-a-ghost:hover {
  transform: translateY(-1px);
}

.qd-a-primary:disabled,
.qd-a-ghost:disabled {
  cursor: wait;
  opacity: .65;
  transform: none;
}

.qd-a-ghost.loading span,
.qd-a-primary.loading span {
  animation: qd-a-spin 1s linear infinite;
}

@keyframes qd-a-spin { to { transform: rotate(360deg); } }

.qd-a-error {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(233, 52, 70, .18);
  border-radius: 10px;
  background: var(--qd-a-up-soft);
  color: var(--qd-a-up);
  font-size: 12px;
}

.qd-a-error span { flex: 1; }
.qd-a-error button { border: 0; background: none; color: inherit; cursor: pointer; font-size: 18px; }

.qd-a-indices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.qd-a-index-card,
.qd-a-card,
.qd-a-forecast {
  border: 1px solid var(--qd-a-line);
  background: var(--qd-a-card);
  box-shadow: 0 12px 35px rgba(20, 28, 47, .045);
  backdrop-filter: blur(15px);
}

.qd-a-index-card {
  position: relative;
  overflow: hidden;
  min-height: 134px;
  padding: 16px;
  border-radius: 13px;
}

.qd-a-index-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #9aa1b0;
  content: "";
}

.qd-a-index-card.up::before { background: var(--qd-a-up); }
.qd-a-index-card.down::before { background: var(--qd-a-down); }

.qd-a-index-head {
  justify-content: space-between;
  color: var(--qd-a-muted);
  font-size: 12px;
}

.qd-a-index-head span { color: var(--qd-a-text); font-weight: 650; }
.qd-a-index-head small { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.qd-a-index-card > strong {
  display: block;
  margin-top: 11px;
  color: var(--qd-a-text);
  font-family: "DIN Alternate", Inter, sans-serif;
  font-size: 24px;
  letter-spacing: -.04em;
}

.qd-a-index-change {
  gap: 8px;
  margin-top: 1px;
  font-size: 12px;
  font-weight: 700;
}

.qd-a-index-range {
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 9px;
  border-top: 1px solid var(--qd-a-line);
  color: var(--qd-a-muted);
  font-size: 10px;
}

.up { color: var(--qd-a-up) !important; }
.down { color: var(--qd-a-down) !important; }
.flat { color: var(--qd-a-muted) !important; }

.qd-a-market-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 12px;
  margin-bottom: 12px;
}

.qd-a-card,
.qd-a-forecast {
  padding: 20px;
  border-radius: 14px;
}

.qd-a-card-head {
  justify-content: space-between;
  margin-bottom: 16px;
}

.qd-a-eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--qd-a-accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.qd-a-card-head h3 {
  margin: 0;
  color: var(--qd-a-text);
  font-size: 15px;
  font-weight: 700;
}

.qd-a-chip {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(127, 136, 154, .10);
  font-size: 10px;
  font-weight: 700;
}

.qd-a-chip.up { background: var(--qd-a-up-soft); }
.qd-a-chip.down { background: var(--qd-a-down-soft); }

.qd-a-breadth-numbers {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: end;
}

.qd-a-breadth-numbers > div { display: flex; align-items: baseline; gap: 7px; }
.qd-a-breadth-numbers > div:last-child { justify-content: flex-end; }
.qd-a-breadth-numbers strong { font-size: 30px; letter-spacing: -.05em; }
.qd-a-breadth-numbers .flat strong { font-size: 16px; }
.qd-a-breadth-numbers span { color: var(--qd-a-muted); font-size: 10px; }

.qd-a-breadth-bar {
  display: flex;
  height: 7px;
  margin: 11px 0 14px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--qd-a-line);
}

.qd-a-breadth-bar .up { background: var(--qd-a-up); }
.qd-a-breadth-bar .flat { background: #9ba3b2; }
.qd-a-breadth-bar .down { background: var(--qd-a-down); }

.qd-a-mini-stats {
  display: flex;
  justify-content: space-between;
  color: var(--qd-a-muted);
  font-size: 11px;
}

.qd-a-mini-stats b { margin-left: 4px; color: var(--qd-a-text); }

.qd-a-flow-total {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 11px 13px;
  border-radius: 10px;
  background: var(--qd-a-up-soft);
}

.qd-a-flow-total.down { background: var(--qd-a-down-soft); }
.qd-a-flow-total span { color: var(--qd-a-muted); font-size: 11px; }
.qd-a-flow-total strong { font-size: 24px; letter-spacing: -.04em; }

.qd-a-flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}

.qd-a-flow-grid div {
  display: flex;
  justify-content: space-between;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--qd-a-line);
  color: var(--qd-a-muted);
  font-size: 10px;
}

.qd-a-flow-grid b { font-size: 11px; }
.qd-a-flow-basis {
  padding: 12px 13px;
  border: 1px dashed var(--qd-a-line);
  border-radius: 9px;
  background: rgba(127, 136, 154, .04);
  color: var(--qd-a-muted);
  font-size: 10px;
  line-height: 1.55;
}
.qd-a-data-note { margin: 9px 0 0; color: var(--qd-a-muted); font-size: 9px; }
.qd-a-unavailable { min-height: 112px; display: flex; flex-direction: column; justify-content: center; padding: 16px; border-radius: 10px; background: rgba(127, 136, 154, .06); }
.qd-a-unavailable strong { color: var(--qd-a-text); font-size: 13px; }
.qd-a-unavailable p { margin: 6px 0 0; color: var(--qd-a-muted); font-size: 10px; line-height: 1.6; }

.qd-a-sectors { margin-bottom: 12px; }
.qd-a-sector-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.qd-a-sector-columns > section + section { padding-left: 24px; border-left: 1px solid var(--qd-a-line); }
.qd-a-sector-title { justify-content: space-between; margin-bottom: 8px; color: var(--qd-a-text); font-size: 11px; font-weight: 700; }
.qd-a-sector-title em { color: var(--qd-a-muted); font-size: 8px; font-style: normal; letter-spacing: .13em; }
.qd-a-sector-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center; min-height: 34px; border-bottom: 1px solid var(--qd-a-line); }
.qd-a-sector-rank { color: var(--qd-a-muted); font-family: ui-monospace, monospace; font-size: 9px; }
.qd-a-sector-name strong { display: block; color: var(--qd-a-text); font-size: 10px; font-weight: 600; }
.qd-a-sector-name > span { display: block; width: 70px; height: 2px; margin-top: 4px; background: var(--qd-a-line); }
.qd-a-sector-name i { display: block; height: 100%; background: currentColor; }
.qd-a-sector-row > b { font-size: 10px; }
.qd-a-empty-small { padding: 22px 0; color: var(--qd-a-muted); font-size: 10px; text-align: center; }

.qd-a-forecast { margin-top: 0; }
.qd-a-forecast-empty,
.qd-a-thinking {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 110px;
  padding: 12px;
}

.qd-a-forecast-empty > div:nth-child(2),
.qd-a-thinking > div:last-child { flex: 1; }
.qd-a-forecast-empty h3 { margin: 0 0 5px; color: var(--qd-a-text); font-size: 16px; }
.qd-a-forecast-empty p { max-width: 720px; margin: 0; color: var(--qd-a-muted); font-size: 11px; line-height: 1.7; }
.qd-a-ai-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #1c2548, #4d67ff); color: #fff; font-weight: 800; box-shadow: 0 10px 25px rgba(49, 87, 231, .22); }

.qd-a-thinking strong,
.qd-a-thinking span { display: block; }
.qd-a-thinking strong { margin-bottom: 4px; color: var(--qd-a-text); font-size: 14px; }
.qd-a-thinking span { color: var(--qd-a-muted); font-size: 10px; }
.qd-a-orbit { position: relative; width: 48px; height: 48px; border: 1px solid rgba(49, 87, 231, .25); border-radius: 50%; animation: qd-a-spin 2s linear infinite; }
.qd-a-orbit i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--qd-a-accent); }
.qd-a-orbit i:nth-child(1) { top: -3px; left: 20px; }
.qd-a-orbit i:nth-child(2) { right: 1px; bottom: 6px; background: var(--qd-a-up); }
.qd-a-orbit i:nth-child(3) { bottom: 3px; left: 3px; background: var(--qd-a-down); }

.qd-a-forecast-head { display: grid; grid-template-columns: 1fr 132px; gap: 28px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--qd-a-line); }
.qd-a-forecast-head h2 { margin: 5px 0 11px; color: var(--qd-a-text); font-size: 26px; font-weight: 750; line-height: 1.35; letter-spacing: -.025em; }
.qd-a-forecast-head p { max-width: 1160px; margin: 0; color: var(--qd-a-muted); font-size: 14px; line-height: 1.85; }
.qd-a-forecast .qd-a-eyebrow { font-size: 11px; }
.qd-a-confidence { display: grid; place-items: center; padding: 15px; border-radius: 14px; background: rgba(127, 136, 154, .08); }
.qd-a-confidence.up { background: var(--qd-a-up-soft); }
.qd-a-confidence.down { background: var(--qd-a-down-soft); }
.qd-a-confidence > span { font-size: 12px; font-weight: 750; }
.qd-a-confidence strong { color: currentColor; font-size: 40px; line-height: 1.08; letter-spacing: -.06em; }
.qd-a-confidence small { color: var(--qd-a-muted); font-size: 10px; }

.qd-a-forecast-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 14px; margin-top: 14px; }
.qd-a-forecast-block { padding: 20px; border: 1px solid var(--qd-a-line); border-radius: 12px; background: rgba(127, 136, 154, .025); }
.qd-a-block-title { margin-bottom: 15px; color: var(--qd-a-muted); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.qd-a-view-list article { display: grid; grid-template-columns: 9px 1fr; gap: 11px; padding: 13px 0; border-bottom: 1px solid var(--qd-a-line); }
.qd-a-view-list article:last-child { border-bottom: 0; }
.qd-a-dot { width: 7px; height: 7px; margin-top: 7px; border-radius: 50%; background: #9da4b2; }
.qd-a-dot.up { background: var(--qd-a-up); }
.qd-a-dot.down { background: var(--qd-a-down); }
.qd-a-view-list strong { color: var(--qd-a-text); font-size: 14px; font-weight: 750; }
.qd-a-view-list p { margin: 4px 0; color: var(--qd-a-text); font-size: 13px; line-height: 1.65; }
.qd-a-view-list small { color: var(--qd-a-muted); font-size: 11.5px; line-height: 1.65; }
.qd-a-flow-opinion > strong { display: block; margin-bottom: 12px; color: var(--qd-a-text); font-size: 15px; line-height: 1.75; }
.qd-a-flow-opinion ul,
.qd-a-risks ul { margin: 0; padding-left: 19px; color: var(--qd-a-muted); font-size: 12.5px; line-height: 1.9; }

.qd-a-scenario-block { margin-top: 14px; }
.qd-a-scenarios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.qd-a-scenarios article { padding: 18px; border-radius: 10px; background: rgba(127, 136, 154, .07); }
.qd-a-scenarios article.scenario-0 { background: var(--qd-a-up-soft); }
.qd-a-scenarios article.scenario-2 { background: var(--qd-a-down-soft); }
.qd-a-scenarios article > div { display: flex; align-items: baseline; justify-content: space-between; }
.qd-a-scenarios span { color: var(--qd-a-text); font-size: 13px; font-weight: 750; }
.qd-a-scenarios strong { color: var(--qd-a-text); font-size: 22px; }
.qd-a-scenarios p { margin: 10px 0 6px; color: var(--qd-a-text); font-size: 12.5px; line-height: 1.7; }
.qd-a-scenarios small { color: var(--qd-a-muted); font-size: 11px; line-height: 1.65; }
.qd-a-stock-block { margin-top: 14px; background: linear-gradient(145deg, rgba(49, 87, 231, .045), rgba(127, 136, 154, .018) 42%); }
.qd-a-stock-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.qd-a-stock-title > div { color: var(--qd-a-text); font-size: 14px; letter-spacing: .04em; }
.qd-a-stock-title > div span { margin-left: 8px; color: var(--qd-a-accent); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.qd-a-stock-title-actions { display: flex; align-items: center; gap: 8px; }
.qd-a-stock-title-actions > small { padding: 5px 8px; border: 1px solid rgba(245, 64, 91, .22); border-radius: 999px; color: var(--qd-a-down); font-size: 10px; letter-spacing: 0; text-transform: none; }
.qd-a-stock-title-actions > button,
.qd-a-stock-card > footer button { padding: 5px 9px; border: 1px solid rgba(79, 109, 255, .32); border-radius: 6px; background: rgba(79, 109, 255, .08); color: var(--qd-a-accent); font-size: 10px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.qd-a-linked-banner { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; padding: 10px 12px; border: 1px solid var(--qd-a-line); border-radius: 8px; background: rgba(127, 136, 154, .04); }
.qd-a-linked-banner span { color: var(--qd-a-muted); font-size: 10px; }
.qd-a-linked-banner strong { color: var(--qd-a-text); font-size: 12px; }
.qd-a-linked-banner em { margin-left: auto; color: var(--qd-a-muted); font-size: 10px; font-style: normal; }
.qd-a-linked-banner.matched { border-color: rgba(79, 109, 255, .26); background: rgba(79, 109, 255, .07); }
.qd-a-linked-banner.matched em { color: var(--qd-a-accent); }
.qd-a-stock-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.qd-a-stock-card { position: relative; overflow: hidden; padding: 18px; border: 1px solid var(--qd-a-line); border-radius: 11px; background: rgba(9, 15, 28, .2); }
.qd-a-stock-card.linked-focus { border-color: rgba(79, 109, 255, .78); box-shadow: 0 0 0 2px rgba(79, 109, 255, .12), 0 16px 32px rgba(11, 20, 48, .2); }
.qd-a-stock-card::before { position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--qd-a-accent); content: ""; }
.qd-a-stock-card.stance-watch::before { background: #9da4b2; }
.qd-a-stock-card.stance-cautious::before { background: var(--qd-a-down); }
.qd-a-stock-card > header { display: grid; grid-template-columns: 34px 1fr auto; gap: 11px; align-items: center; }
.qd-a-stock-rank { color: rgba(90, 113, 255, .72); font: 800 16px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.qd-a-stock-id > div { display: flex; align-items: baseline; gap: 9px; }
.qd-a-stock-id strong { color: var(--qd-a-text); font-size: 16px; font-weight: 780; }
.qd-a-stock-id code { color: var(--qd-a-muted); font: 600 10px/1 ui-monospace, SFMono-Regular, Consolas, monospace; }
.qd-a-stock-id > span { display: block; margin-top: 4px; color: var(--qd-a-muted); font-size: 10.5px; }
.qd-a-stock-card > header > em { padding: 5px 8px; border-radius: 999px; background: rgba(49, 87, 231, .12); color: var(--qd-a-accent); font-size: 10px; font-style: normal; font-weight: 750; }
.qd-a-stock-card.stance-watch > header > em { background: rgba(127, 136, 154, .1); color: var(--qd-a-muted); }
.qd-a-stock-card.stance-cautious > header > em { background: var(--qd-a-down-soft); color: var(--qd-a-down); }
.qd-a-stock-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 16px 0; border: 1px solid var(--qd-a-line); border-radius: 8px; background: rgba(127, 136, 154, .035); }
.qd-a-stock-metrics > div { padding: 10px 12px; border-right: 1px solid var(--qd-a-line); }
.qd-a-stock-metrics > div:last-child { border-right: 0; }
.qd-a-stock-metrics span { display: block; margin-bottom: 5px; color: var(--qd-a-muted); font-size: 9.5px; }
.qd-a-stock-metrics strong { color: var(--qd-a-text); font-size: 15px; font-weight: 780; }
.qd-a-stock-metrics strong.up { color: var(--qd-a-up); }
.qd-a-stock-metrics strong.down { color: var(--qd-a-down); }
.qd-a-stock-metrics strong small { margin-left: 2px; color: var(--qd-a-muted); font-size: 9px; font-weight: 500; }
.qd-a-stock-thesis > span,
.qd-a-stock-levels span,
.qd-a-stock-risk > span { color: var(--qd-a-muted); font-size: 9.5px; font-weight: 750; letter-spacing: .08em; }
.qd-a-stock-thesis p { margin: 6px 0; color: var(--qd-a-text); font-size: 12.5px; line-height: 1.75; }
.qd-a-stock-thesis small { display: block; color: var(--qd-a-muted); font-size: 10.5px; line-height: 1.65; }
.qd-a-stock-levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.qd-a-stock-levels > div { min-width: 0; padding: 10px; border-radius: 7px; background: rgba(127, 136, 154, .05); }
.qd-a-stock-levels p { margin: 5px 0 0; color: var(--qd-a-text); font-size: 10.5px; line-height: 1.6; }
.qd-a-stock-risk { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 11px; padding-top: 10px; border-top: 1px solid var(--qd-a-line); }
.qd-a-stock-risk > span { color: var(--qd-a-down); }
.qd-a-stock-risk p { margin: 0; color: var(--qd-a-muted); font-size: 10.5px; line-height: 1.65; }
.qd-a-stock-card > footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; color: var(--qd-a-muted); font-size: 9.5px; }
.qd-a-stock-disclaimer { margin: 14px 0 0; color: var(--qd-a-muted); font-size: 10.5px; line-height: 1.7; }
.qd-a-stock-empty { padding: 28px 14px; border: 1px dashed var(--qd-a-line); border-radius: 8px; color: var(--qd-a-muted); font-size: 12px; text-align: center; }
.qd-a-bottom-grid { grid-template-columns: .9fr 1.1fr; }
.qd-a-sector-opinions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px; }
.qd-a-sector-opinions article { padding: 12px; border-left: 3px solid #9da4b2; border-radius: 0 8px 8px 0; background: rgba(127, 136, 154, .05); }
.qd-a-sector-opinions article.up { border-left-color: var(--qd-a-up); }
.qd-a-sector-opinions article.down { border-left-color: var(--qd-a-down); }
.qd-a-sector-opinions strong { color: var(--qd-a-text); font-size: 13px; }
.qd-a-sector-opinions p { margin: 5px 0 0; color: var(--qd-a-muted); font-size: 11.5px; line-height: 1.65; }
.qd-a-risk-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.qd-a-risk-columns > div > span { display: block; margin-bottom: 8px; color: var(--qd-a-text); font-size: 13px; font-weight: 750; }
.qd-a-model-line { justify-content: flex-end; gap: 16px; margin-top: 15px; color: var(--qd-a-muted); font-size: 11px; }
.qd-a-model-line button { padding: 5px 9px; border: 1px solid var(--qd-a-line); border-radius: 6px; color: var(--qd-a-accent); }
.qd-a-muted { color: var(--qd-a-muted); font-size: 12px; }

.qd-a-footer { flex-wrap: wrap; gap: 11px 20px; margin-top: 16px; padding: 0 3px; color: var(--qd-a-muted); font-size: 11px; line-height: 1.65; }
.qd-a-footer > div:first-child { display: inline-flex; align-items: center; gap: 5px; }
.qd-a-source-dot { background: var(--qd-a-down); }
.qd-a-footer p { flex: 1 0 100%; margin: 0; color: var(--qd-a-muted); }

.qd-a-skeleton { height: 56px; border-radius: 9px; background: linear-gradient(90deg, rgba(127, 136, 154, .07), rgba(127, 136, 154, .14), rgba(127, 136, 154, .07)); background-size: 220% 100%; animation: qd-a-shimmer 1.4s infinite; }
@keyframes qd-a-shimmer { to { background-position: -220% 0; } }

@media (max-width: 1280px) {
  .qd-a-hero { align-items: flex-start; flex-direction: column; }
  .qd-a-actions { justify-content: flex-start; }
  .qd-a-indices { grid-template-columns: repeat(2, 1fr); }
  .qd-a-sector-columns { grid-template-columns: 1fr 1fr; }
  .qd-a-sector-columns > section:nth-child(3) { grid-column: 1 / -1; padding: 14px 0 0; border: 0; border-top: 1px solid var(--qd-a-line); }
}

@media (max-width: 800px) {
  .qd-a-share-host { margin: 0 -12px -12px; }
  .qd-a-shell { padding: 16px 12px; }
  .qd-a-actions { width: 100%; }
  .qd-a-segmented { width: 100%; overflow-x: auto; }
  .qd-a-segmented button { flex: 1 0 auto; }
  .qd-a-ghost,
  .qd-a-primary { flex: 1; }
  .qd-a-indices,
  .qd-a-market-grid,
  .qd-a-forecast-grid,
  .qd-a-bottom-grid,
  .qd-a-stock-grid,
  .qd-a-sector-columns,
  .qd-a-scenarios { grid-template-columns: 1fr; }
  .qd-a-sector-columns > section + section { padding: 14px 0 0; border: 0; border-top: 1px solid var(--qd-a-line); }
  .qd-a-sector-columns > section:nth-child(3) { grid-column: auto; }
  .qd-a-forecast-empty { align-items: flex-start; flex-wrap: wrap; }
  .qd-a-forecast-empty .qd-a-primary { flex-basis: 100%; }
  .qd-a-forecast-head { grid-template-columns: 1fr; }
  .qd-a-forecast-head h2 { font-size: 22px; }
  .qd-a-forecast-head p { font-size: 13px; }
  .qd-a-confidence { justify-self: stretch; grid-template-columns: auto auto auto; }
  .qd-a-risk-columns { grid-template-columns: 1fr; }
  .qd-a-stock-levels { grid-template-columns: 1fr; }
  .qd-a-stock-card > header { grid-template-columns: 28px 1fr; }
  .qd-a-stock-card > header > em { grid-column: 2; justify-self: start; }
  .qd-a-stock-title { align-items: flex-start; flex-direction: column; }
  .qd-a-linked-banner,
  .qd-a-stock-card > footer { align-items: flex-start; flex-direction: column; }
  .qd-a-linked-banner em { margin-left: 0; }
}
