#ltg-food-change {
    --lfc-bg: #ffffff;
    --lfc-panel: #f6f9fc;
    --lfc-border: #c9dcee;
    --lfc-text: #000000;
    --lfc-text-dim: #0466C8;
    --lfc-text-faint: #5b7fa6;
    --lfc-deep: #0466C8;
    --lfc-down: #b5321a;
    --lfc-down-soft: #f0a55a;
    --lfc-line: #1b2a38;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--lfc-text);
    background: var(--lfc-bg);
    border: 1px solid var(--lfc-border);
    border-radius: 8px;
    padding: 24px;
    margin: 24px 0 32px;
  }
  #ltg-food-change * { box-sizing: border-box; }
  #ltg-food-change .lfc-header {
    border-bottom: 2px solid var(--lfc-border);
    padding-bottom: 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 16px;
  }
  #ltg-food-change .lfc-header h2 { margin: 0; font-size: 20px; font-weight: 700; color: #000000; }
  #ltg-food-change .lfc-header p { margin: 4px 0 0; font-size: 13px; color: var(--lfc-text-faint); }
  #ltg-food-change .lfc-scenario-buttons, #ltg-food-change .lfc-unit-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
  #ltg-food-change .lfc-scenario-buttons button, #ltg-food-change .lfc-unit-buttons button {
    padding: 6px 12px;
    border-radius: 6px;
    border: 1.5px solid var(--lfc-deep);
    background: #ffffff;
    color: var(--lfc-deep);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
  }
  #ltg-food-change .lfc-scenario-buttons button.lfc-active, #ltg-food-change .lfc-unit-buttons button.lfc-active {
    background: var(--lfc-deep);
    color: #ffffff;
  }
  #ltg-food-change .lfc-scenario-buttons button:hover:not(.lfc-active),
  #ltg-food-change .lfc-unit-buttons button:hover:not(.lfc-active) { background: #eaf4fd; }

  #ltg-food-change .lfc-main { display: flex; flex-wrap: wrap; gap: 24px; }
  #ltg-food-change .lfc-col-map { flex: 3 1 480px; min-width: 0; }
  #ltg-food-change .lfc-col-side { flex: 1 1 280px; max-width: 340px; min-width: 0; }

  #ltg-food-change .lfc-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 12px; }
  #ltg-food-change .lfc-controls label { font-size: 12px; font-weight: 600; color: var(--lfc-text-dim); margin: 0; }
  #ltg-food-change .lfc-controls select {
    background: #ffffff;
    border: 1.5px solid var(--lfc-border);
    border-radius: 6px;
    padding: 6px 8px;
    color: var(--lfc-text);
    font-size: 13px;
    flex: 1 1 160px;
    min-width: 0;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #ltg-food-change .lfc-chart {
    position: relative;
    height: 400px;
    border: 1.5px solid var(--lfc-border);
    border-radius: 6px;
    background: #ffffff;
    padding: 12px;
  }
  #ltg-food-change svg.lfc-svg { display: block; width: 100%; height: 100%; touch-action: pan-y; }
  #ltg-food-change svg.lfc-svg text { fill: var(--lfc-text-faint); font-size: 11px; font-family: inherit; }
  #ltg-food-change .lfc-grid { stroke: var(--lfc-border); stroke-width: 1; }
  #ltg-food-change .lfc-zero { stroke: var(--lfc-text-faint); stroke-width: 1; }
  #ltg-food-change .lfc-hover { fill: var(--lfc-panel); }
  #ltg-food-change .lfc-bar-up { fill: var(--lfc-deep); }
  #ltg-food-change .lfc-bar-down { fill: var(--lfc-down); }
  #ltg-food-change .lfc-bar-soft { fill: var(--lfc-down-soft); }
  #ltg-food-change .lfc-cmp-line { fill: none; stroke: var(--lfc-line); stroke-width: 2; stroke-linejoin: round; }
  #ltg-food-change .lfc-cmp-dot { fill: var(--lfc-line); }
  #ltg-food-change .lfc-tip {
    position: absolute;
    display: none;
    pointer-events: none;
    z-index: 2;
    background: #ffffff;
    border: 1.5px solid var(--lfc-border);
    border-radius: 6px;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--lfc-text);
    white-space: nowrap;
  }
  #ltg-food-change .lfc-tip b { font-weight: 700; }
  #ltg-food-change .lfc-tip .lfc-sub { color: var(--lfc-text-faint); }

  #ltg-food-change .lfc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 14px; font-size: 12px; color: var(--lfc-text-faint); }
  #ltg-food-change .lfc-legend span { display: flex; align-items: center; gap: 6px; }
  #ltg-food-change .lfc-legend i { width: 10px; height: 10px; border-radius: 2px; display: inline-block; }
  #ltg-food-change .lfc-legend i.lfc-ln { width: 16px; height: 0; border-top: 2px solid var(--lfc-line); border-radius: 0; }

  #ltg-food-change .lfc-card {
    border: 1.5px solid var(--lfc-border);
    border-radius: 6px;
    padding: 16px;
    background: var(--lfc-panel);
    margin-bottom: 16px;
  }
  #ltg-food-change .lfc-card h3 { margin: 0; font-size: 17px; font-weight: 700; color: #000000; }
  #ltg-food-change .lfc-tag { font-size: 12px; color: var(--lfc-text-dim); font-weight: 600; margin: 4px 0 12px; }
  #ltg-food-change .lfc-sub { font-size: 12px; color: var(--lfc-text-faint); }
  #ltg-food-change dl { margin: 0; font-size: 14px; }
  #ltg-food-change dl div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
  #ltg-food-change dl dt { color: var(--lfc-text-faint); font-weight: 400; }
  #ltg-food-change dl dd { margin: 0; font-weight: 700; color: var(--lfc-deep); text-align: right; font-variant-numeric: tabular-nums; }
  #ltg-food-change .lfc-footnote { font-size: 12px; color: var(--lfc-text-faint); line-height: 1.5; }
  #ltg-food-change .lfc-footnote summary { cursor: pointer; }
