/* Company report layout: narrative research structure with StraightToPro branding. */

.stock-report {
  --report-ink: #17201c;
  --report-muted: #69766f;
  --report-line: #dfe6df;
  --report-soft: #f6f8f5;
  --report-green: #0d8c5a;
  --report-green-dark: #075f40;
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.stock-report > * + * {
  margin-top: 16px;
}

.report-company-title h1,
.report-section-heading h2,
.research-guide-title,
.research-step-question,
.research-pulse h3,
.report-snapshot-heading h3,
.report-band .about-hero,
.report-updates .material-event-title {
  font-family: 'Newsreader', Georgia, 'Times New Roman', serif;
  font-weight: 500;
}

.stock-report button,
.stock-report a {
  letter-spacing: 0;
}

.stock-report .research-guide-kicker,
.stock-report .research-step-eyebrow,
.stock-report .research-fact-label,
.stock-report .product-panel-title {
  font-weight: 600;
}

.stock-report .research-step-tab {
  font-size: 12px;
  font-weight: 500;
}

.stock-report .research-fact-value {
  font-weight: 600;
}

.stock-report .research-guide-button {
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.stock-report .tf-btn {
  min-height: 34px;
  border-radius: 6px;
  font-weight: 500;
}

.report-hero {
  overflow: hidden;
  border: 1px solid #263a31;
  border-radius: 6px;
  background: #101815;
  color: #ffffff;
  box-shadow: none;
}

#searchResults > .report-hero {
  background: #101815;
  border-color: #263a31;
  border-radius: 6px;
  box-shadow: none;
}

.report-hero-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 42px;
  padding: 9px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #aebdb6;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.report-hero-topline span:first-child {
  color: #85e2b4;
}

.report-hero-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 30px;
  padding: 26px 28px 22px;
}

.report-company {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.report-company-logo {
  width: 72px;
  height: 72px;
  flex: 0 0 auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: #ffffff;
  object-fit: contain;
}

.report-company-title {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  flex-wrap: wrap;
}

.report-company-title h1 {
  min-width: 0;
  color: #ffffff;
  font-size: 38px;
  line-height: 1.05;
  font-weight: 500;
}

.report-company #companySector {
  margin-top: 7px;
  color: #aebdb6;
  font-size: 13px;
  line-height: 1.45;
}

.report-company .ticker-badge {
  padding: 5px 9px;
  border: 1px solid rgba(132, 229, 184, 0.32);
  border-radius: 5px;
  background: rgba(132, 229, 184, 0.1);
  color: #95edc2;
  font-size: 11px;
  font-weight: 500;
}

.report-quote {
  min-width: 220px;
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  text-align: right;
}

.report-quote-label {
  color: #8fa198;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.report-quote #stockPrice {
  margin-top: 3px;
  color: #ffffff;
  font-size: 38px;
  line-height: 1;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.report-quote #stockChange {
  margin-top: 8px;
  border-radius: 5px;
  font-size: 12px;
}

.report-quote .watchlist-save-button {
  width: auto;
  min-height: 34px;
  margin-top: 11px;
  padding: 7px 10px;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #eef6f2;
  font-size: 13px;
  font-weight: 500;
}

.report-quote .watchlist-save-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.report-health {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 13px 28px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.04);
}

.report-health.health-asset,
.report-health.health-healthy,
.report-health.health-warning {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

.report-health span[class*="text-blue"],
.report-health span[class*="text-slate"],
.report-health span[class*="text-green"],
.report-health span[class*="text-yellow"] {
  color: #9ce8c4 !important;
}

.report-health div span {
  color: #c7d5ce !important;
}

.report-health div span:first-child {
  color: #ffffff !important;
}

.report-body-grid {
  display: grid;
  grid-template-columns: 226px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.report-content {
  min-width: 0;
}

.report-content > * + * {
  margin-top: 16px;
}

.report-section-nav {
  position: sticky;
  top: 76px;
  z-index: 35;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.report-section-nav a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-left: 2px solid transparent;
  border-right: 0;
  color: #59675f;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
}

.report-section-nav a:first-child,
.report-section-nav a:hover {
  border-left-color: #0d8c5a;
  background: rgba(255, 255, 255, 0.68);
  color: #17201c;
}

.report-section-nav a span {
  color: #0d8c5a;
  font-size: 10px;
  font-weight: 600;
}

.report-band {
  scroll-margin-top: 116px;
  padding: 32px;
  border: 1px solid var(--report-line);
  border-radius: 6px;
  background: #ffffff;
  box-shadow: none;
}

.report-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5eae6;
}

.report-section-heading > div {
  min-width: 0;
}

.report-section-index {
  display: block;
  margin-bottom: 6px;
  color: var(--report-green);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.report-section-heading h2 {
  color: var(--report-ink);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 500;
}

.report-section-heading > p {
  max-width: 470px;
  color: var(--report-muted);
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
}

.report-overview {
  background: #fafcf9;
}

.report-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.75fr);
  gap: 18px;
  margin-top: 22px;
  align-items: stretch;
}

.report-overview-grid .research-guide {
  min-width: 0;
  margin: 0;
  border-color: #d9e2db;
  box-shadow: none;
}

.report-overview-grid .research-guide-body {
  min-height: 260px;
}

.research-pulse {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #263a31;
  border-radius: 6px;
  background: #101815;
  color: #ffffff;
}

.research-pulse-header {
  padding: 21px 20px 17px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.research-pulse-kicker {
  color: #85e2b4;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.research-pulse h3 {
  margin-top: 5px;
  font-size: 21px;
  line-height: 1.25;
  font-weight: 500;
}

.research-pulse-header p {
  margin-top: 7px;
  color: #aebdb6;
  font-size: 11px;
  line-height: 1.55;
}

.research-pulse-list {
  flex: 1;
}

.research-pulse-row {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.research-pulse-number {
  display: inline-flex;
  width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(133, 226, 180, 0.32);
  border-radius: 50%;
  color: #85e2b4;
  font-size: 9px;
  font-weight: 800;
}

.research-pulse-label {
  color: #dce7e1;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
}

.research-pulse-detail {
  margin-top: 2px;
  overflow: hidden;
  color: #809189;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.research-pulse-value {
  max-width: 112px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.research-pulse-value.positive {
  color: #85e2b4;
}

.research-pulse-value.negative {
  color: #f0a59d;
}

.research-pulse-note {
  padding: 12px 18px;
  color: #819089;
  font-size: 9px;
  line-height: 1.45;
}

.report-snapshot {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #dfe6df;
  border-radius: 6px;
  background: #ffffff;
}

.report-snapshot-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 18px 13px;
  border-bottom: 1px solid #e5eae6;
}

.report-snapshot-heading span {
  color: var(--report-green);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.report-snapshot-heading h3 {
  margin-top: 3px;
  color: var(--report-ink);
  font-size: 19px;
  font-weight: 500;
}

.report-snapshot-heading p {
  color: #849088;
  font-size: 10px;
}

.report-snapshot .stats-scroll {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  overflow-x: auto;
}

.report-snapshot .stat-item {
  min-width: 135px;
  padding: 17px 18px !important;
  border: 0;
  border-right: 1px solid #e6ebe7;
}

.report-snapshot .stat-item:last-child {
  border-right: 0;
}

.report-snapshot .stat-item > div:first-child {
  color: #7a877f !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  text-transform: uppercase;
}

.report-snapshot .stat-item > div:last-child {
  margin-top: 5px !important;
  color: #18211d !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.report-chart-heading {
  align-items: center;
}

.report-timeframes {
  display: flex;
  gap: 4px;
}

.report-section-copy {
  max-width: 660px;
  margin-top: 14px;
  color: var(--report-muted);
  font-size: 12px;
  line-height: 1.6;
}

.report-chart-shell {
  margin-top: 19px;
  padding: 13px 8px 4px;
  border-top: 1px solid #edf0ed;
}

.report-chart-shell .chart-wrap {
  height: 340px;
}

.company-meta-panel {
  padding: 18px;
  border-left: 3px solid var(--report-green);
  background: #f1f7f3;
}

.company-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.company-meta-panel .about-tag {
  padding: 6px 8px;
  border: 1px solid #d8e6dc;
  border-radius: 5px;
  background: #ffffff;
  color: #445149;
  font-size: 10px;
  font-weight: 500;
}

.company-website {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  color: #08784d;
  font-size: 11px;
  font-weight: 500;
}

.company-website:hover {
  color: #054d34;
}

.report-band .about-summary-grid {
  margin-top: 22px;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.65fr);
  gap: 34px;
}

.report-band .about-hero {
  color: #19231e;
  font-size: 21px;
  line-height: 1.5;
}

.report-band .about-detail {
  color: #5f6d65;
  font-size: 13px;
  line-height: 1.8;
}

.report-band .product-panel {
  margin-top: 26px;
  padding: 21px 0 0;
  border: 0;
  border-top: 1px solid #e5eae6;
  border-radius: 0;
  background: transparent;
}

.report-band .product-panel-title {
  margin-bottom: 13px;
  color: #69766f;
  font-size: 10px;
}

.report-band .product-card {
  border-color: #dde5df;
  border-radius: 7px;
  box-shadow: none;
}

.report-band .product-visual {
  min-height: 76px;
}

.report-band .product-visual.rose { background: #75414d; }
.report-band .product-visual.blue { background: #315f79; }
.report-band .product-visual.sky { background: #2e6872; }
.report-band .product-visual.slate { background: #35413c; }
.report-band .product-visual.amber { background: #8b641f; }
.report-band .product-visual.emerald { background: #17684d; }
.report-band .product-visual.indigo { background: #46577f; }
.report-band .product-visual.green { background: #26714f; }
.report-band .product-visual.orange { background: #8b5535; }
.report-band .product-visual.violet { background: #66557b; }

.report-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 34px;
  row-gap: 0;
  margin-top: 22px;
  border-top: 1px solid #e0e6e1;
}

.report-metrics-grid .metric-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  min-height: 118px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid #e0e6e1;
  border-radius: 0;
  background: transparent;
}

.report-metrics-grid .metric-row > div:first-child {
  padding-right: 0 !important;
}

.report-metrics-grid .metric-row > div:last-child {
  min-width: 88px;
}

.report-metrics-grid .metric-row .text-xl {
  color: #17201c;
  font-size: 20px;
  font-weight: 600;
}

.report-metrics-grid .metric-row .text-xs {
  color: #0d8c5a;
  font-size: 10px;
  font-weight: 600;
}

.report-metrics-grid .metric-row .text-sm {
  color: #59675f;
  font-size: 12px;
  line-height: 1.55;
}

.report-updates #newsFeed {
  margin-top: 8px;
}

.report-updates .material-event {
  grid-template-columns: 108px minmax(0, 1fr);
  padding: 20px 0;
}

.report-updates .material-event-category {
  color: var(--report-green-dark);
}

@media (max-width: 1040px) {
  .report-body-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .report-section-nav {
    top: 56px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding: 0;
    border: 1px solid #d7dfd8;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 7px 18px rgba(25, 34, 30, 0.06);
    backdrop-filter: blur(12px);
  }

  .report-section-nav a {
    justify-content: center;
    border-left: 0;
    border-right: 1px solid #e4e9e4;
    font-size: 12px;
  }

  .report-section-nav a:first-child,
  .report-section-nav a:hover {
    border-left-color: transparent;
    background: #f1f6f2;
  }

  .report-overview-grid {
    grid-template-columns: 1fr;
  }

  .research-pulse-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .research-pulse-row {
    grid-template-columns: 25px minmax(0, 1fr);
    align-content: center;
    min-height: 96px;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
  }

  .research-pulse-row:last-child {
    border-right: 0;
  }

  .research-pulse-value {
    grid-column: 1 / -1;
    max-width: none;
    text-align: left;
  }

  .research-pulse-detail {
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .stock-report {
    padding-top: 14px !important;
  }

  .stock-report > * + * {
    margin-top: 12px;
  }

  .report-hero-topline {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
    padding: 10px 17px;
  }

  .report-hero-main {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 21px 18px 18px;
  }

  .report-company {
    align-items: flex-start;
  }

  .report-company-logo {
    width: 58px !important;
    height: 58px !important;
  }

  .report-company-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .report-company-title h1 {
    font-size: 22px !important;
  }

  .report-quote {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-width: 0;
    padding: 17px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
    text-align: left;
  }

  .report-quote-label {
    grid-column: 1 / -1;
  }

  .report-quote #stockPrice {
    font-size: 32px !important;
  }

  .report-quote #stockChange {
    justify-self: end;
  }

  .report-quote .watchlist-save-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .report-health {
    align-items: flex-start;
    padding: 13px 18px;
  }

  .report-section-nav {
    position: static;
    grid-auto-flow: column;
    grid-auto-columns: minmax(112px, 1fr);
    grid-template-columns: none;
    overflow-x: auto;
  }

  .report-section-nav a {
    min-height: 43px;
    padding: 0 12px;
    font-size: 11px;
  }

  .report-band {
    scroll-margin-top: 178px;
    padding: 21px 18px;
  }

  .report-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
    padding-bottom: 16px;
  }

  .report-section-heading h2 {
    font-size: 25px;
  }

  .report-section-heading > p {
    max-width: none;
    text-align: left;
  }

  .report-overview-grid {
    margin-top: 17px;
  }

  .report-overview-grid .research-guide-body {
    min-height: 0;
  }

  .research-pulse-list {
    display: block;
  }

  .research-pulse-row {
    grid-template-columns: 25px minmax(0, 1fr) auto;
    min-height: 58px;
    border-right: 0;
  }

  .research-pulse-value {
    grid-column: auto;
    max-width: 102px;
    text-align: right;
  }

  .research-pulse-detail {
    white-space: nowrap;
  }

  .report-snapshot-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .report-snapshot .stats-scroll {
    display: grid;
    grid-auto-columns: minmax(145px, 1fr);
    grid-auto-flow: column;
    grid-template-columns: none;
    gap: 0;
    padding-bottom: 0;
  }

  .report-snapshot .stat-item {
    border-radius: 0;
    background: #ffffff;
  }

  .report-chart-heading {
    gap: 14px;
  }

  .report-timeframes {
    width: 100%;
  }

  .report-timeframes .tf-btn {
    flex: 1 1 0;
  }

  .report-chart-shell {
    margin-top: 14px;
    padding-left: 0;
    padding-right: 0;
  }

  .report-chart-shell .chart-wrap {
    height: 265px;
  }

  .report-band .about-summary-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 18px;
  }

  .report-band .about-hero {
    font-size: 19px;
  }

  .report-metrics-grid {
    grid-template-columns: 1fr;
  }

  .report-metrics-grid .metric-row {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    padding: 16px;
  }

  .report-updates .material-event {
    grid-template-columns: 1fr;
  }
}
