body { margin: 0; background: var(--surface); color: var(--text-body); font-family: var(--font-mono); font-size: 15px; line-height: 1.85; }
.qd-pad { padding: var(--space-4); }
.qd-dot { fill: var(--halftone-dot); }
.qd-kicker { font-family: var(--font-mono); font-weight: 700; font-size: 18px; line-height: 1.3; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin: 0; }
a:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }

/* NewsletterFrame */
.qd-frame { background: var(--brand); padding: var(--space-6) var(--space-5); }
.qd-frame-card { background: var(--surface-card); border-radius: var(--radius-sm); padding: var(--space-5); max-width: 640px; margin: 0 auto; box-sizing: border-box; }

/* PieceHeader */
.qd-header-top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-4); }
.qd-header-title { font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 1; text-transform: uppercase; color: var(--ink); margin: 0; max-width: 5.2em; }
.qd-header-tagline { margin: 0; max-width: 20em; font-size: 15px; line-height: 1.85; color: var(--text-body); }
.qd-header-hero { display: block; width: 100%; max-width: 480px; margin: var(--space-5) auto 0; }

/* SectionBlock */
.qd-section { padding: var(--space-4) 0; }
.qd-section-divider { border-top: 1px solid var(--line); }
.qd-section-title { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1.1; color: var(--ink); margin: 0 0 var(--space-3); }
.qd-section-body { font-size: 15px; line-height: 1.85; color: var(--text-body); }
.qd-section-body p { margin: 0 0 var(--space-3); }
.qd-section-body strong, .qd-section-body h3 { color: var(--text-body); font-weight: 700; font-size: 15px; margin: 0; }
.qd-section-body a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }

/* NewsCard */
.qd-news { display: block; text-decoration: none; color: inherit; min-width: 0; }
.qd-news-thumb { aspect-ratio: 16 / 10; background: var(--line); overflow: hidden; }
.qd-news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qd-news-title { margin: var(--space-2) 0 0; font-weight: 700; font-size: 15px; line-height: 1.6; color: var(--ink); }
.qd-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-3); }

/* BubbleChart */
.qd-bubbles { margin: 0; }
.qd-bubbles-head { display: flex; flex-direction: column; margin-bottom: var(--space-3); }
.qd-bubbles-title { font-family: var(--font-display); font-size: 96px; line-height: 0.92; color: var(--ink); }
.qd-bubbles-svg { display: block; width: 100%; height: auto; overflow: visible; }
.qd-bubble-label { font-family: var(--font-mono); font-weight: 700; letter-spacing: 0.02em; }
.qd-bubble-count { font-family: var(--font-mono); font-weight: 400; }
.qd-bubbles-foot { margin-top: var(--space-3); text-align: right; }

/* YearBars */
.qd-bars { margin: 0; }
.qd-bars-title { text-align: right; margin-bottom: var(--space-3); }
.qd-bars-row { display: flex; align-items: flex-end; gap: var(--space-1); }
.qd-bar { position: relative; flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: var(--space-2); min-height: 56px; box-sizing: border-box; overflow: hidden; }
.qd-bar-tex { position: absolute; inset: 0; width: 100%; height: 100%; }
.qd-bar-label { position: relative; font-family: var(--font-mono); font-weight: 700; font-size: 40px; line-height: 1; }
.qd-bar-value { position: relative; font-size: 12px; line-height: 1.5; margin-top: var(--space-1); }

/* NewsletterFooter */
.qd-footer { text-align: center; padding: var(--space-5) 0 var(--space-4); }
.qd-footer-logo { width: 64px; height: 64px; display: block; margin: 0 auto var(--space-3); }
.qd-footer-socials { display: flex; justify-content: center; gap: var(--space-2); margin-bottom: var(--space-4); }
.qd-footer-social { width: 24px; height: 24px; background: #000000; color: #ffffff; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; text-decoration: none; line-height: 1; }
[data-theme="dark"] .qd-footer-social { outline: 1px solid var(--ink); }
.qd-footer-name { margin: 0; font-weight: 700; font-size: 15px; line-height: 1.6; color: var(--ink); }
.qd-footer-meta { margin: var(--space-1) 0 var(--space-4); font-size: 12px; line-height: 1.5; color: var(--text-body); }
.qd-footer-unsub { font-size: 12px; color: var(--text-body); text-decoration: underline; }
