#consumption-page { width: 100%; min-width: 0; }
.consumption-topbar { display: flex; align-items: center; gap: 12px; padding-bottom: 8px; }
.consumption-topbar h1 { margin: 0; font-size: 20px; font-weight: 600; }
.consumption-content { display: grid; gap: 16px; padding-top: 8px; }
button.consumption-product { width: 100%; text-align: left; font: inherit; cursor: pointer; position: relative; display: flex; align-items: center; gap: 12px; margin: 0; padding: 10px 16px; border: 1px solid var(--lists-line, #dbe4ef); border-radius: 20px; background: #fff; box-shadow: 0 4px 16px rgba(15,23,42,.04); }
.consumption-product-image { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; height: 40px; }
.consumption-product-image:empty { display: none; }
.consumption-product-image img, .consumption-product-image svg { width: 40px; height: 40px; object-fit: contain; }
.consumption-product-copy { display: grid; gap: 2px; flex: 1; min-width: 0; }
.consumption-product-copy strong { font-size: 16px; overflow-wrap: anywhere; color: #0f172a; }
.consumption-product-copy small { color: #64748b; font-size: 14px; }
.consumption-chevron { font-size: 24px; color: #0f172a; }
.consumption-periods { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 6px; }
.consumption-periods button { min-width: 0; height: 36px; padding: 0 8px; border: 0; border-radius: 12px; background: #f4f7fb; color: #526279; font: inherit; font-size: 13px; cursor: pointer; }
.consumption-periods button[aria-pressed="true"] { background: #0f172a; color: #fff; font-weight: 600; }
.consumption-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.consumption-section-heading h2 { margin: 0; font-size: 18px; }
.consumption-estimated { border-radius: 12px; padding: 4px 10px; color: #64748b; background: #f4f7fb; font-size: 12px; }
.consumption-rate { color: #31567d; font-size: 28px; font-weight: 600; }
.consumption-rate small { font-size: 18px; }
.consumption-caption { color: #64748b; font-size: 13px; margin: 6px 0 0; }
.consumption-chart { display: block; width: 100%; height: auto; max-height: 340px; margin-top: 12px; overflow: visible; }
.consumption-grid line { stroke: #e2e8f0; stroke-width: 1; }
.consumption-grid text { fill: #64748b; font-size: 10px; font-family: inherit; }
.consumption-area { fill: #eff6ff; fill-opacity: .8; }
.consumption-line, .consumption-projection { fill: none; stroke: #3b82f6; stroke-width: 2; stroke-linejoin: round; }
.consumption-projection { stroke-dasharray: 5 4; }
.consumption-chart circle { fill: #fff; stroke: #3b82f6; stroke-width: 2; }
.consumption-chart .consumption-forecast-dot { fill: #3b82f6; }
.consumption-chart-caption { display: flex; justify-content: space-between; gap: 8px; color: #64748b; font-size: 11px; }
.consumption-total { margin: 12px 0 0; font-size: 13px; color: #64748b; }
.consumption-total strong { color: #0f172a; }
.consumption-forecast { padding: 16px; border: 1px solid #dbe8da; background: #f6faf5; border-radius: 20px; }
.consumption-forecast h2 { font-size: 20px; font-weight: 400; margin: 0; color: #0f172a; }
.consumption-forecast p { margin: 8px 0 0; color: #526279; font-size: 14px; }
.consumption-forecast-details { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 12px; }
.consumption-forecast-details > div { padding: 12px; background: #fff; border: 1px solid #e2ebdf; border-radius: 16px; display: grid; align-content: start; gap: 4px; }
.consumption-forecast-details span, .consumption-forecast-details small { color: #526279; font-size: 12px; }
.consumption-forecast-details strong { font-size: 17px; overflow-wrap: anywhere; }
.consumption-notice { padding: 12px 16px; background: #f4f7fb; border-radius: 16px; color: #526279; font-size: 13px; }
.consumption-notice p { margin: 8px 0 0; }
.consumption-notice button { margin-top: 12px; padding: 8px 0; border: 0; background: transparent; color: #1d4ed8; font: inherit; font-weight: 600; cursor: pointer; }
.consumption-empty { margin-top: 12px; padding: 20px 16px; border: 1px dashed #dbe4ef; border-radius: 16px; text-align: center; color: #64748b; }
.consumption-empty p { margin: 8px 0 0; font-size: 13px; }
.consumption-add { width: 100%; min-height: 56px; border: 0; border-radius: 16px; padding: 12px 16px; background: #0f172a; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.consumption-add:disabled { background: #edf2f7; color: #526279; cursor: default; }
.consumption-action-error { margin: 0; color: #b91c1c; font-size: 13px; }
.consumption-action-error:empty { display: none; }
.consumption-caution { display: grid; gap: 4px; padding: 12px 16px; border-radius: 16px; background: #f4f7fb; color: #526279; font-size: 13px; }
.consumption-caution strong { color: #0f172a; }
@media (min-width: 900px) {
  .consumption-content { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; }
  .consumption-product-field, .consumption-periods, .consumption-notice, .consumption-content > .consumption-caption { grid-column: 1 / -1; }
  .consumption-overview { grid-column: 1; grid-row: span 3; }
  .consumption-forecast, .consumption-explanation, .consumption-caution, .consumption-add, .consumption-action-error { grid-column: 2; }
  .consumption-periods { max-width: 520px; }
}
.consumption-product-field { position: relative; min-width: 0; }
button.consumption-product { height: auto; min-height: 68px; }
.consumption-help { position: relative; }
button.consumption-estimated { border: 0; font-family: inherit; cursor: pointer; }
.consumption-help-text { position: absolute; z-index: 45; top: calc(100% + 8px); right: 0; box-sizing: border-box; width: min(300px, calc(100vw - 64px)); padding: 12px; border-radius: 12px; background: var(--lists-ink, #0f172a); color: #fff; box-shadow: 0 8px 24px rgba(15,23,42,.18); font-size: 12px; line-height: 1.5; font-weight: 400; }
.consumption-help-text p { margin: 8px 0 0; }
.consumption-help-text[hidden] { display: none; }
