/* v25.102: compact the inline profile so the chart is visible in the first
   viewport. The earlier release reduced typography but retained large
   cumulative gaps and padding. */
.drawer-panel {
  gap: 0;
  top: 0;
  bottom: 0;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.drawer-header {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  padding: max(.8rem, env(safe-area-inset-top)) 1rem .75rem;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}
.drawer-header .drawer-close { display: block; margin: 0 0 .45rem auto; }
.drawer-header .eyebrow { margin-bottom: .35rem; }
.drawer-header .button { display: inline-flex; align-items: center; margin-top: .65rem; }
.drawer-scroll {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: .55rem;
  min-height: 0;
  padding: .75rem 1rem max(.8rem, env(safe-area-inset-bottom));
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scroll-padding-top: .75rem;
  overscroll-behavior: contain;
}
.drawer-close { width: 32px; height: 32px; min-height: 32px; font-size: 1.2rem; }
.drawer-panel h2 { font-size: clamp(1.55rem, 4vw, 2.1rem); line-height: 1; }
.drawer-subtitle { margin: -.35rem 0 0; font-size: .8rem; }
.company-quote { gap: .4rem; }
.company-quote > div { padding: .55rem .6rem; border-radius: 10px; }
.company-quote span, .company-quote small { font-size: .64rem; }
.company-quote strong { margin: .18rem 0 .05rem; font-size: 1rem; }
.company-profile-facts { gap: .4rem; }
.company-profile-facts > div { padding: .5rem .55rem; border-radius: 10px; }
.company-profile-facts span { font-size: .64rem; }
.company-profile-facts strong { margin-top: .16rem; font-size: .78rem; }
.drawer-section-heading h3 { font-size: .9rem; }
.drawer-section-heading small { font-size: .68rem; }
.company-chart { min-height: 205px; padding: .35rem; border-radius: 10px; }
.company-chart svg { height: 180px; }
.drawer-note { font-size: .68rem; line-height: 1.3; }
@media (max-height: 700px) {
  .drawer-header { padding-top: max(.55rem, env(safe-area-inset-top)); padding-bottom: .55rem; }
  .drawer-header .drawer-close { margin-bottom: .25rem; }
  .drawer-header .button { min-height: 34px; margin-top: .45rem; padding-block: .45rem; }
}
