:root {
  --bg: #f6fafb;
  --surface-panel: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94));
  --text: #13222e;
  --ink-strong: #16213d;
  --muted: #607081;
  --line: #dce7ea;
  --primary: #0f766e;
  --primary-strong: #0a5b55;
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.06);
  --shadow-premium: 0 26px 70px rgba(15, 23, 42, 0.1);
  --section-radius: 30px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body,
input,
select,
button {
  font-family: var(--font-body);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 50% 44%, rgba(15, 118, 110, 0.05), transparent 34%),
    radial-gradient(circle at 74% 72%, rgba(244, 201, 93, 0.09), transparent 22%),
    radial-gradient(circle at top right, rgba(244, 201, 93, 0.2), transparent 30%),
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 34%),
    radial-gradient(circle at 18% 24%, rgba(56, 189, 248, 0.1), transparent 26%),
    linear-gradient(180deg, #f8fbfd 0%, #eef6fb 100%);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

button {
  border: 0;
  cursor: pointer;
}

input,
select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(56, 189, 248, 0.2);
  outline-offset: 2px;
}

.wrap {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

.section {
  padding: 36px 0;
  position: relative;
}

.section-band::before {
  content: "";
  position: absolute;
  inset: 8px 16px;
  z-index: 0;
  border-radius: var(--section-radius);
  pointer-events: none;
}

.section-band > .wrap {
  position: relative;
  z-index: 1;
}

.section-band--product::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(245, 250, 255, 0.86)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 34%);
  border: 1px solid rgba(190, 226, 241, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.section-band--soft::before {
  background:
    linear-gradient(180deg, rgba(244, 248, 255, 0.92), rgba(250, 252, 255, 0.88)),
    radial-gradient(circle at top left, rgba(244, 201, 93, 0.12), transparent 30%);
  border: 1px solid rgba(190, 226, 241, 0.78);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(246, 250, 251, 0.86);
  border-bottom: 1px solid rgba(190, 226, 241, 0.72);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: var(--weight-heading-strong);
  letter-spacing: -0.035em;
}

.brand-badge {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.12), rgba(15, 118, 110, 0.08));
  border: 1px solid rgba(56, 189, 248, 0.16);
  box-shadow: 0 10px 24px rgba(56, 189, 248, 0.18);
}

.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  font-weight: var(--weight-ui);
}

.nav a:hover {
  color: var(--text);
}

.btn,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: var(--weight-ui-strong);
  letter-spacing: -0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover,
.primary-button:hover {
  transform: translateY(-1px);
}

.btn-secondary {
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(56, 189, 248, 0.1));
  color: var(--primary-strong);
}

.btn-topbar {
  min-width: 196px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(244, 248, 251, 0.94));
  border: 1px solid rgba(190, 226, 241, 0.9);
  box-shadow: var(--shadow-soft);
}

.primary-button {
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  color: #fff;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.24);
}

.hero {
  padding: 42px 0 18px;
}

.hero-grid,
.donation-shell {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 24px;
  align-items: stretch;
}

.stack {
  display: grid;
  gap: 24px;
}

.stack-lg {
  gap: 28px;
}

.card,
.receipt-card,
.insight-card,
.donation-card {
  min-width: 0;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(220, 231, 234, 0.9);
  background: var(--surface-panel);
  box-shadow: var(--shadow-premium);
}

.hero-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.99), rgba(243, 249, 255, 0.94)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.14), transparent 30%);
  border-color: rgba(190, 226, 241, 0.95);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(37, 99, 235, 0.08), transparent 24%),
    radial-gradient(circle at 88% 76%, rgba(244, 201, 93, 0.12), transparent 26%);
  pointer-events: none;
}

.hero-card > * {
  position: relative;
  z-index: 1;
}

.hero-side {
  display: grid;
  gap: 16px;
  align-content: start;
}

.hero-side-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 248, 255, 0.95)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 26%);
  border-color: rgba(190, 226, 241, 0.95);
  box-shadow: var(--shadow-soft);
}

.eyebrow,
.insight-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin-bottom: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(56, 189, 248, 0.1));
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: var(--weight-ui-strong);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
}

.eyebrow-bitcoin {
  background: rgba(249, 115, 22, 0.12);
  color: #b45309;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  letter-spacing: var(--tracking-heading);
  color: var(--ink-strong);
}

h1 {
  max-width: 11ch;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 0.98;
  font-weight: var(--weight-heading-strong);
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.12rem;
}

.hero-copy,
.panel-note,
.hero-side-card p,
.form-message,
.field-note,
.operating-note,
.insight-list {
  color: var(--muted);
}

.hero-copy {
  margin-top: 18px;
  max-width: 62ch;
  font-size: 1.04rem;
}

.hero-actions,
.hero-points,
.product-inline-highlights,
.receipt-head {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-actions,
.hero-points {
  margin-top: 24px;
}

.hero-proof-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.hero-proof-item {
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(220, 231, 234, 0.9);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.hero-proof-item span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: var(--weight-ui-strong);
}

.pill,
.product-chip,
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(190, 226, 241, 0.9);
  background: rgba(255, 255, 255, 0.88);
  color: #385061;
  font-size: 12px;
  font-weight: var(--weight-ui-strong);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.flag-pill img {
  width: 22px;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(15, 23, 42, 0.12);
}

.badge-soft {
  background: rgba(96, 112, 129, 0.12);
  color: #506070;
}

.badge-highlight {
  background: rgba(15, 118, 110, 0.12);
  color: var(--primary-strong);
}

.section-head,
.metric-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.panel-note {
  margin-top: 8px;
}

.operating-note {
  margin: 0 0 22px;
  max-width: 54rem;
}

.simulator-form,
.field-grid {
  display: grid;
  gap: 16px;
}

.field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 8px;
}

.field-wide {
  grid-column: 1 / -1;
}

.field > span,
.field-inline span {
  font-size: 13px;
  font-weight: var(--weight-ui-strong);
  color: #314352;
}

.field-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.field-note {
  margin-top: -2px;
  font-size: 12px;
}

.mode-banner {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.08), rgba(244, 201, 93, 0.14));
  border: 1px solid rgba(15, 118, 110, 0.14);
  color: var(--primary-strong);
}

.slider-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.slider-wrap input[type="range"] {
  width: 100%;
  min-height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  accent-color: var(--primary);
}

.advanced-block {
  display: grid;
  gap: 14px;
}

.advanced-toggle {
  justify-self: start;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(190, 226, 241, 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(243, 249, 255, 0.94));
  color: var(--primary-strong);
  font-weight: var(--weight-ui-strong);
  box-shadow: var(--shadow-soft);
}

.form-actions {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}

.primary-button[disabled] {
  opacity: 0.65;
  cursor: wait;
}

.result-panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.95)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 26%);
}

.metric-section-head {
  margin-top: 0;
}

.energy-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.metric-card {
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(220, 231, 234, 0.9);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94));
  box-shadow: var(--shadow-soft);
}

.metric-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--weight-ui-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-label-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.metric-label-row .metric-label {
  margin-bottom: 0;
}

.metric-value,
.savings-hero-value {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-heading);
  font-weight: var(--weight-heading-strong);
  letter-spacing: -0.04em;
}

.metric-value {
  font-size: 1.42rem;
}

.metric-meta {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.receipt-grid,
.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.receipt-card {
  box-shadow: var(--shadow-soft);
}

.receipt-card-current {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(245, 249, 252, 0.96)),
    radial-gradient(circle at top right, rgba(96, 112, 129, 0.07), transparent 28%);
  border-color: rgba(220, 231, 234, 0.96);
  box-shadow: var(--shadow-soft);
}

.receipt-card-projected {
  background:
    linear-gradient(180deg, rgba(232, 251, 244, 0.98), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.16), transparent 28%);
  border-color: rgba(15, 118, 110, 0.2);
  box-shadow: 0 20px 48px rgba(15, 118, 110, 0.12);
}

.receipt-head {
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.receipt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.receipt-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--weight-ui-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.receipt-table th,
.receipt-table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(220, 231, 234, 0.9);
  text-align: right;
  vertical-align: top;
}

.receipt-table th:first-child,
.receipt-table td:first-child {
  text-align: left;
}

.receipt-table tfoot td {
  font-weight: var(--weight-ui-strong);
}

.receipt-table tr.grand-total td {
  color: var(--ink-strong);
  font-weight: var(--weight-heading-strong);
}

.result-savings-stack {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.savings-hero-card {
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background:
    radial-gradient(circle at top right, rgba(244, 201, 93, 0.22), transparent 26%),
    linear-gradient(135deg, rgba(15, 118, 110, 0.1), rgba(56, 189, 248, 0.12)),
    #ffffff;
  box-shadow: var(--shadow-soft);
}

.savings-hero-value {
  font-size: clamp(2.4rem, 5vw, 4.3rem);
  line-height: 0.95;
}

.assumption-card {
  max-width: 780px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(220, 231, 234, 0.9);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.assumption-title {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: var(--weight-ui-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.assumption-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.energy-panel {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.energy-chart-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.energy-chart-card {
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(220, 231, 234, 0.9);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.94)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.07), transparent 24%);
  box-shadow: var(--shadow-soft);
}

.energy-chart-kicker {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--weight-ui-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.energy-chart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.energy-chart-visual {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto;
}

.energy-chart-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.energy-chart-center {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 2px;
  text-align: center;
}

.energy-chart-total {
  color: var(--ink-strong);
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2vw, 2.1rem);
  font-weight: var(--weight-heading-strong);
  letter-spacing: -0.04em;
  line-height: 1;
}

.energy-chart-unit {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: var(--weight-ui-strong);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.daily-profile-panel {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.daily-profile-shell {
  display: grid;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(220, 231, 234, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 24%);
  box-shadow: var(--shadow-soft);
}

.daily-profile-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: var(--weight-ui-strong);
}

.legend-dot {
  width: 12px;
  height: 12px;
  display: inline-block;
  margin-right: 8px;
  border-radius: 999px;
}

.legend-dot-load {
  background: #16213d;
}

.legend-dot-self {
  background: #0f9f6e;
}

.legend-dot-grid {
  background: #1f3256;
}

.legend-dot-export {
  background: #84cc16;
}

.legend-dot-solar {
  background: #0f9f6e;
}

.daily-profile-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.daily-grid-line {
  stroke: rgba(220, 231, 234, 0.9);
  stroke-width: 1;
}

.daily-solar-area {
  fill: rgba(15, 159, 110, 0.14);
}

.daily-bar-self {
  fill: rgba(15, 159, 110, 0.8);
}

.daily-bar-grid {
  fill: rgba(31, 50, 86, 0.74);
}

.daily-bar-export {
  fill: rgba(132, 204, 22, 0.78);
}

.daily-load-line {
  fill: none;
  stroke: #16213d;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.daily-solar-line {
  fill: none;
  stroke: #0f9f6e;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.daily-axis-label {
  fill: var(--muted);
  font-size: 12px;
  font-family: var(--font-body);
}

.daily-profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.daily-profile-stat {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(220, 231, 234, 0.9);
  background: rgba(255, 255, 255, 0.88);
}

.daily-profile-stat-self {
  border-color: rgba(15, 159, 110, 0.28);
}

.daily-profile-stat-grid {
  border-color: rgba(31, 50, 86, 0.24);
}

.daily-profile-stat-export {
  border-color: rgba(132, 204, 22, 0.3);
}

.daily-profile-stat-autarky {
  border-color: rgba(56, 189, 248, 0.28);
}

.daily-profile-stat strong {
  color: var(--ink-strong);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.daily-profile-stat span,
.daily-profile-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.result-flow-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(190, 226, 241, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 255, 0.96)),
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.12), transparent 24%);
  box-shadow: var(--shadow-soft);
}

.result-flow-card h3 {
  margin: 4px 0 0;
}

.energy-stat {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(220, 231, 234, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.energy-stat-value {
  color: var(--ink-strong);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: var(--weight-heading-strong);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.energy-stat-label {
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: var(--weight-ui-strong);
  line-height: 1.25;
}

.energy-stat-share {
  color: var(--muted);
  font-size: 0.86rem;
}

.warning-section {
  margin-top: 24px;
}

.insight-card {
  box-shadow: var(--shadow-soft);
}

.insight-kicker {
  margin-bottom: 12px;
}

.insight-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
}

.help-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: rgba(15, 118, 110, 0.06);
  color: var(--primary-strong);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.help-dot:hover,
.help-dot:focus-visible,
.help-dot.is-active {
  transform: translateY(-1px);
  border-color: rgba(15, 118, 110, 0.3);
  background: rgba(15, 118, 110, 0.12);
}

.global-help-tooltip {
  position: fixed;
  top: -999px;
  left: -999px;
  z-index: 60;
  max-width: min(320px, calc(100vw - 24px));
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.96);
  color: rgba(248, 250, 252, 0.97);
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.26);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.global-help-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.global-help-tooltip::after {
  content: "";
  position: absolute;
  left: var(--arrow-left, 24px);
  width: 12px;
  height: 12px;
  background: rgba(15, 23, 42, 0.96);
  transform: rotate(45deg);
}

.global-help-tooltip[data-side="bottom"]::after {
  top: -6px;
}

.global-help-tooltip[data-side="top"]::after {
  bottom: -6px;
}

.donation-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.95)),
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.08), transparent 28%);
}

.donation-shell {
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  align-items: center;
}

.wallet-shell {
  margin-top: 20px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(220, 231, 234, 0.9);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.wallet-label,
.donation-qr-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: var(--weight-ui-strong);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallet-address {
  margin-top: 10px;
  color: var(--ink-strong);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.copy-wallet-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #f59e0b);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.2);
}

.copy-wallet-feedback {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.donation-qr-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(220, 231, 234, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.donation-qr-card img {
  width: min(100%, 240px);
  border-radius: 20px;
  border: 1px solid rgba(220, 231, 234, 0.9);
}

.is-hidden {
  display: none !important;
}

@media (max-width: 1180px) {
  .hero-grid,
  .donation-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .field-grid,
  .energy-summary-grid,
  .receipt-grid,
  .insight-grid,
  .energy-chart-grid,
  .daily-profile-stats {
    grid-template-columns: 1fr;
  }

  .energy-chart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .topbar-inner,
  .section-head,
  .receipt-head,
  .metric-section-head,
  .result-flow-card {
    flex-direction: column;
    align-items: stretch;
  }

  .nav {
    justify-content: flex-start;
  }

  .card,
  .receipt-card,
  .insight-card,
  .donation-card {
    padding: 22px;
  }

  .section-band::before {
    inset: 6px 8px;
    border-radius: 24px;
  }

  .btn,
  .primary-button,
  .btn-topbar {
    width: 100%;
  }

  h1 {
    max-width: none;
  }
}
