  /* ── Theme variables ── */
  :root {
    --bg: #0C0E11;
    --text: #e8e6e1;
  }

  [data-theme="light"] {
    --bg: #f4e9da;
    --text: #1e1410;
  }

  [data-theme="light"] body {
    background: #f4e9da;
    color: #1e1410;
  }
  [data-theme="light"] .headline        { color: #6b5a4e; }
  [data-theme="light"] .headline em     { color: #3d2b22; }
  [data-theme="light"] .label           { color: #8a7060; }
  [data-theme="light"] .nominal-tag     { color: #c0b0a0; }
  [data-theme="light"] .erosion         { border-top-color: #d4c4b0; border-bottom-color: #d4c4b0; }
  [data-theme="light"] .retail .amount  { color: #1e1410; }
  [data-theme="light"] .divider-v       { background: #d4c4b0; }
  [data-theme="light"] .context-bar     { border-top-color: #d4c4b0; }
  [data-theme="light"] .punchline       { color: #6b5a4e; }
  [data-theme="light"] .punchline strong { color: #b82a1e; }
  [data-theme="light"] .source          { color: #a89080; }
  [data-theme="light"] .source a        { color: #8a7060; border-bottom-color: #8a7060; }
  [data-theme="light"] .source a:hover  { color: #5a8aaa; border-color: #5a8aaa; }
  [data-theme="light"] .retail .real-amount { color: #6b5a4e; }
  [data-theme="light"] .retail .currency    { color: #a89080; }
  [data-theme="light"] .currency            { color: #a89080; }

  /* ── Capture mode (widget-specific) ── */
  html.capture .download-line { display: none; }
  html.capture .headline { font-size: 1.9rem; }
  html.capture .punchline { display: none; }
  html.capture .context-bar { padding-top: 1rem; }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html, body {
    overflow: hidden;
  }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Mono', monospace;
    display: flex;
    justify-content: center;
    padding: 1rem;
    padding-bottom: 1.5rem;
  }

  .container {
    max-width: 100%;
    width: 100%;
  }

  .headline {
    font-family: 'DM Serif Display', serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: #8a8a8e;
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
    line-height: 1.4;
    max-width: 600px;
  }

  .headline em {
    color: #c8c6c1;
    font-style: italic;
  }

  .comparison {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-end;
  }

  .investor-col {
    flex: 1;
    position: relative;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #555;
    margin-bottom: 0.75rem;
  }

  .amount {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.5rem;
  }

  .retail .amount {
    font-size: 3rem;
    color: #e8e6e1;
  }

  .institutional .amount {
    font-size: 3rem;
    color: #6b9ebb;
  }

  .currency {
    font-size: 0.45em;
    color: #555;
    vertical-align: super;
    margin-right: 0.1em;
  }

  .nominal-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #3a3a3e;
    margin-bottom: 1.25rem;
  }

  .erosion {
    margin-bottom: 1.25rem;
    padding: 0.75rem 0;
    border-top: 1px solid #2a2a2e;
    border-bottom: 1px solid #2a2a2e;
  }

  .real-result {
    margin-top: 0.25rem;
  }

  .real-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #555;
    margin-bottom: 0.35rem;
  }

  .real-amount {
    font-family: 'DM Mono', monospace;
    font-weight: 500;
    font-size: 1.3rem;
    line-height: 1;
  }

  .retail .real-amount {
    color: #8a8a8e;
  }

  .institutional .real-amount {
    color: #4a8aaa;
  }


  .chameleon-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    opacity: 0.85;
    filter: brightness(1.1);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  .divider-v {
    width: 1px;
    background: #2a2a2e;
    align-self: stretch;
    margin: 0 0.75rem;
  }

  .context-bar {
    border-top: 1px solid #2a2a2e;
    padding-top: 1rem;
  }

  .punchline {
    font-family: 'DM Serif Display', serif;
    font-size: 1.1rem;
    color: #8a8a8e;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }

  .punchline strong {
    color: #c0392b;
    font-weight: 400;
    transition: text-shadow 0.3s ease;
  }

  .source {
    font-size: 0.75rem;
    color: #333;
    line-height: 1.6;
  }

  .source a {
    color: #444;
    text-decoration: none;
    border-bottom: 1px solid #333;
  }

  .source a:hover {
    color: #6b9ebb;
    border-color: #6b9ebb;
  }



  .container > * {
    position: relative;
  }

  @media (max-width: 600px) {
    body {
      padding: 0.75rem;
    }
    .retail .amount, .institutional .amount {
      font-size: 2.2rem;
    }
    .fee-big {
      font-size: 1.5rem;
    }
    .comparison {
      gap: 0.5rem;
    }
    .divider-v {
      margin: 0 0.5rem;
    }
    .context-bar {
      flex-direction: column;
    }
    .chameleon-img {
      width: 60px;
      height: 60px;
    }
    .investor-col:hover {
      transform: translateY(-1px);
    }
  }

  /* ── Fee emphasis ── */
  .fee-block {
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #2a2a2e;
    margin-bottom: 0.6rem;
  }
  .fee-heading {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #555;
    margin-bottom: 0.3rem;
  }
  .fee-big {
    font-family: 'DM Mono', monospace;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.4rem;
    transition: transform 0.25s ease;
  }
  .retail .fee-big { color: #c0392b; }
  .institutional .fee-big { color: #6b9ebb; }
  .fee-track {
    height: 3px;
    background: #1e1e22;
    border-radius: 2px;
    margin-bottom: 0.3rem;
    overflow: hidden;
  }
  .fee-fill {
    height: 100%;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: feeFillIn 0.8s ease-out 0.3s forwards;
  }
  .retail .fee-fill { background: #c0392b; }
  .institutional .fee-fill { background: #6b9ebb; animation-delay: 0.6s; }
  .fee-context { font-size: 0.6rem; letter-spacing: 0.04em; color: #444; }
  .inflation-line { display: flex; justify-content: space-between; align-items: center; }
  .inflation-label { font-size: 0.7rem; color: #555; }
  .inflation-value { font-family: 'DM Mono', monospace; font-size: 0.85rem; color: #555; }

  [data-theme="light"] .fee-block { border-bottom-color: #d4c4b0; }
  [data-theme="light"] .fee-heading { color: #8a7060; }
  [data-theme="light"] .fee-track { background: #e8d8c8; }
  [data-theme="light"] .fee-context { color: #8a7060; }
  [data-theme="light"] .inflation-label { color: #8a7060; }
  [data-theme="light"] .inflation-value { color: #8a7060; }
  [data-theme="light"] .retail .fee-big { color: #a52a1a; }
  [data-theme="light"] .institutional .fee-big { color: #4a7a9a; }
  [data-theme="light"] .fee-fill { opacity: 0.8; }
  [data-theme="light"] .chameleon-img { filter: brightness(0.95) contrast(1.1); }
  [data-theme="light"] .nominal-tag { color: #b8a898; }

  /* ── Micro-interactions ── */
  @keyframes feeFillIn {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
  }

  .investor-col:hover { transform: translateY(-2px); }
  .comparison:hover .investor-col:not(:hover) { opacity: 0.45; }
  .chameleon-img:hover { opacity: 1; transform: scale(1.04); }
  .fee-big:hover { transform: scale(1.03); }
  .punchline strong:hover { text-shadow: 0 0 8px rgba(192,57,43,0.35); }
  [data-theme="light"] .punchline strong:hover { text-shadow: 0 0 8px rgba(165,42,26,0.25); }
