:root {
  color-scheme: light;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --surface-soft: #eaf2fb;
  --ink: #17212b;
  --muted: #66737f;
  --line: #d9e2e7;
  --brand: #0056b3;
  --brand-strong: #003f83;
  --accent: #ffa500;
  --danger: #b42318;
  --success: #16794c;
  --viola: #7C3AED;
  --shadow: 0 18px 48px rgba(23, 33, 43, 0.1);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(0, 86, 179, 0.09), transparent 360px),
    var(--bg);
  color: var(--ink);
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

.app-shell {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

.login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  min-height: 100vh;
}

.login-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: clamp(28px, 5vw, 68px);
  color: var(--brand-strong);
  background: #eaf2fb;
}

.login-visual::before {
  position: absolute;
  inset: 0;
  background: url("./logo.png") center / min(62vw, 620px) no-repeat;
  content: "";
  opacity: 0.12;
}

.login-visual h1 {
  position: relative;
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 96px);
  line-height: 0.94;
  letter-spacing: 0;
}

.login-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(255, 165, 0, 0.08), transparent 220px),
    var(--surface);
}

.login-card {
  width: min(100%, 360px);
  border-top: 5px solid var(--accent);
  padding-top: 24px;
}

.brand-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.login-logo {
  width: 148px;
  height: 148px;
  margin-bottom: 32px;
}

.nav-logo {
  width: 118px;
  height: 118px;
}

.login-card h2,
.page-title h1,
.section-title {
  margin: 0;
  letter-spacing: 0;
}

.login-card h2 {
  font-size: 28px;
}

.login-card p,
.page-title p {
  color: var(--muted);
}

.field {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.field span {
  color: var(--muted);
  font-size: 14px;
}

.field input,
.field select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--ink);
}

.field input:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.16);
  outline: 0;
}

.password-control {
  position: relative;
}

.password-control input {
  padding-right: 88px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 6px;
  min-width: 74px;
  min-height: 34px;
  border-radius: 6px;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-50%);
}

.password-toggle:hover,
.password-toggle:focus-visible {
  background: rgba(0, 86, 179, 0.08);
  color: var(--brand-strong);
  outline: 0;
}

.remember-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 18px;
  color: var(--ink);
  cursor: pointer;
  font-size: 14px;
}

.remember-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--brand);
}

.primary-btn,
.secondary-btn,
.icon-btn,
.pay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border-radius: 8px;
  cursor: pointer;
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease;
}

.primary-btn {
  width: 100%;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.primary-btn:hover {
  background: var(--brand-strong);
}

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

.primary-btn:disabled,
.pay-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
}

.secondary-btn,
.icon-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.secondary-btn {
  padding: 0 14px;
}

.secondary-btn:hover,
.icon-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.secondary-btn:disabled,
.secondary-btn:disabled:hover {
  border-color: var(--line);
  background: #f0f3f5;
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.8;
}

.icon-btn {
  width: 42px;
}

.error-text {
  min-height: 22px;
  margin-top: 12px;
  color: var(--danger);
}

.app-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 24px;
  border-right: 1px solid rgba(0, 86, 179, 0.16);
  background:
    linear-gradient(180deg, rgba(0, 86, 179, 0.06), rgba(255, 165, 0, 0.05)),
    #ffffffee;
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 132px;
  margin-bottom: 22px;
  font-weight: 800;
}

.nav-list {
  display: grid;
  gap: 8px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 12px;
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.nav-btn[aria-current="page"] {
  background: rgba(0, 86, 179, 0.1);
  color: var(--brand-strong);
  font-weight: 700;
  box-shadow: inset 3px 0 0 var(--accent);
}

.nav-btn:hover {
  background: rgba(255, 165, 0, 0.1);
  color: var(--brand-strong);
}

.sidebar-footer {
  margin-top: auto;
}

.content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 28px clamp(18px, 4vw, 48px) 56px;
}

.topbar {
  margin-bottom: 28px;
}

.page-title h1 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.02;
  color: var(--brand-strong);
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.stat {
  min-height: 116px;
  border: 1px solid rgba(0, 86, 179, 0.18);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.stat small,
.invoice-meta,
.contract-meta,
.amount-caption {
  color: var(--muted);
}

.stat strong {
  display: block;
  margin-top: 10px;
  font-size: 28px;
  line-height: 1;
  color: var(--brand-strong);
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-title {
  font-size: 24px;
  color: var(--brand-strong);
}

.invoice-list,
.contract-list {
  display: grid;
  gap: 12px;
}

.invoice-card,
.contract-card {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(0, 86, 179, 0.16);
  border-left: 4px solid rgba(0, 86, 179, 0.5);
  border-radius: 8px;
  padding: 18px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.06);
}

.profile-panel {
  border: 1px solid rgba(0, 86, 179, 0.16);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.voltaware-list {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}

.voltaware-device {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  min-height: 150px;
  border: 1px solid rgba(0, 86, 179, 0.16);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 18px 24px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(23, 33, 43, 0.06);
}

.voltaware-device img {
  display: block;
  width: 82px;
  height: 110px;
  object-fit: contain;
}

.voltaware-copy > span,
.voltaware-details small {
  color: var(--muted);
  font-size: 13px;
}

.voltaware-copy h2 {
  margin: 4px 0 18px;
  color: var(--brand-strong);
  font-size: 22px;
}

.voltaware-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 220px));
  gap: 16px 28px;
}

.voltaware-details small,
.voltaware-details strong {
  display: block;
}

.voltaware-live span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.voltaware-live strong {
  color: var(--brand-strong);
  font-size: 21px;
}

.effi100-open {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 0;
  background: transparent;
  color: var(--brand);
  cursor: pointer;
  font-weight: 800;
}

.effi100-open:hover,
.effi100-open:focus-visible {
  color: var(--brand-strong);
  outline: 0;
}

.voltaware-details strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.profile-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.profile-heading h2,
.profile-heading p {
  margin: 0;
}

.profile-heading h2 {
  color: var(--brand-strong);
  font-size: 26px;
}

.profile-heading p {
  margin-top: 4px;
  color: var(--muted);
}

.profile-avatar {
  display: grid;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 34px;
}

.profile-field div {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}

.profile-field strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
}

.invoice-card {
  grid-template-columns: minmax(190px, 1.2fr) repeat(3, minmax(110px, 0.65fr)) 250px;
  align-items: center;
}

.invoice-number,
.contract-name {
  font-weight: 800;
  color: var(--brand-strong);
}

.invoice-meta {
  margin-top: 4px;
  font-size: 14px;
}

.status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 84px;
  min-height: 30px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 800;
}

.status-paid {
  background: rgba(22, 121, 76, 0.12);
  color: var(--success);
}

.status-open {
  background: rgba(255, 165, 0, 0.18);
  color: #7a4d00;
}

.status-overdue {
  background: rgba(180, 35, 24, 0.12);
  color: var(--danger);
}

.invoice-actions {
  display: grid;
  grid-template-columns: 84px 42px 108px;
  justify-content: flex-end;
  gap: 8px;
}

.invoice-actions .status,
.invoice-actions .secondary-btn {
  width: 100%;
  white-space: nowrap;
}

.contract-card {
  grid-template-columns: minmax(260px, 1.4fr) 88px repeat(3, minmax(120px, 0.6fr));
  align-items: center;
}

.commodity {
  display: inline-flex;
  min-width: 64px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 165, 0, 0.16);
  color: var(--brand-strong);
  font-weight: 800;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 8px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  text-align: center;
}

.empty-state p {
  margin: 0 0 16px;
}

.consumption-panel {
  min-width: 0;
  border: 1px solid rgba(0, 86, 179, 0.16);
  border-top: 4px solid var(--accent);
  border-radius: 8px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.consumption-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.consumption-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.consumption-total {
  flex: 0 0 auto;
  text-align: right;
}

.consumption-heading-actions {
  display: flex;
  align-items: flex-end;
  gap: 22px;
}

.consumption-selector {
  display: grid;
  gap: 6px;
}

.consumption-selector span {
  color: var(--muted);
  font-size: 14px;
}

.consumption-selector select {
  min-width: 210px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 36px 0 12px;
  background: #fff;
  color: var(--ink);
}

.consumption-selector input {
  min-width: 154px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--ink);
}

.consumption-selector select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.16);
  outline: 0;
}

.consumption-selector input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.16);
  outline: 0;
}

.consumption-total span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 14px;
}

.consumption-total strong {
  color: var(--brand-strong);
  font-size: 24px;
}

.consumption-chart {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 8px 2px 4px;
}

.consumption-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}

.consumption-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.legend-swatch {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.consumption-svg {
  display: block;
  width: 100%;
  min-width: 620px;
  height: auto;
}

.chart-grid-line {
  stroke: rgba(0, 86, 179, 0.1);
  stroke-width: 1;
}

.chart-bar {
  fill: var(--brand);
  transition: fill 0.16s ease;
}

.band-f0 {
  fill: #66737f;
  background: #66737f;
}

.band-f1 {
  fill: var(--brand);
  background: var(--brand);
}

.band-f2 {
  fill: var(--accent);
  background: var(--accent);
}

.band-f3 {
  fill: #66737f;
  background: #66737f;
}

.consumption-column:hover .chart-bar {
  opacity: 0.82;
}

.chart-value,
.chart-month,
.chart-year {
  text-anchor: middle;
}

.effi100-page {
  display: grid;
  gap: 28px;
  min-width: 0;
}

.effi100-toolbar,
.effi100-controls,
.effi100-chart-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.effi100-toolbar p,
.effi100-chart-heading p {
  margin: 7px 0 0;
  color: var(--muted);
}

.effi100-overview {
  display: grid;
  grid-template-columns: 82px minmax(180px, 1fr) repeat(3, minmax(150px, 0.65fr));
  align-items: center;
  gap: 24px;
  border-top: 4px solid var(--accent);
  border-bottom: 1px solid rgba(0, 86, 179, 0.16);
  padding: 22px 24px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(23, 33, 43, 0.07);
}

.effi100-overview img {
  display: block;
  width: 70px;
  height: 94px;
  object-fit: contain;
}

.effi100-identity,
.effi100-live-reading,
.effi100-day-total,
.effi100-month-total {
  display: grid;
  gap: 5px;
}

.effi100-identity span,
.effi100-live-reading span,
.effi100-day-total span,
.effi100-month-total span,
.effi100-identity small,
.effi100-live-reading small,
.effi100-month-total small {
  color: var(--muted);
  font-size: 13px;
}

.effi100-identity strong {
  overflow-wrap: anywhere;
  color: var(--brand-strong);
}

.effi100-live-reading strong,
.effi100-day-total strong,
.effi100-month-total strong {
  color: var(--brand-strong);
  font-size: 28px;
  line-height: 1.1;
}

.effi100-appliance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.effi100-appliance {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 96px;
  border: 1px solid rgba(0, 86, 179, 0.16);
  border-left: 4px solid var(--brand);
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--surface);
}

.effi100-appliance-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 165, 0, 0.16);
  color: var(--brand-strong);
  font-size: 21px;
  font-weight: 800;
}

.effi100-appliance h3,
.effi100-appliance p {
  margin: 0;
}

.effi100-appliance h3 {
  font-size: 15px;
}

.effi100-appliance p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.effi100-appliance > strong {
  color: var(--brand-strong);
  white-space: nowrap;
}

.effi100-empty {
  grid-column: 1 / -1;
}

.effi100-chart-panel {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.effi100-month-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.effi100-month-appliances {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.effi100-chart-heading {
  align-items: flex-start;
  margin-bottom: 16px;
}

.effi100-chart-heading h3 {
  margin: 0;
  color: var(--brand-strong);
  font-size: 20px;
}

.effi100-chart-heading > span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.effi100-chart {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
}

.effi100-svg {
  display: block;
  width: 100%;
  min-width: 720px;
  height: auto;
}

.effi100-chart-bar {
  fill: var(--brand);
}

.effi100-chart-bar:hover {
  fill: var(--accent);
}

.chart-value {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.chart-month {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-transform: capitalize;
}

.chart-year {
  fill: var(--muted);
  font-size: 11px;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(23, 33, 43, 0.42);
  z-index: 20;
}

.modal {
  width: min(100%, 520px);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.modal-header h2 {
  margin: 0;
  font-size: 24px;
}

.payment-grid {
  display: grid;
  gap: 10px;
}

.pay-btn {
  min-height: 52px;
  padding: 0 16px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.pay-btn.card {
  background: var(--brand-strong);
}

.pay-btn.klarna {
  background: #ffb3c7;
  color: #27151b;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  max-width: min(420px, calc(100vw - 36px));
  border-radius: 8px;
  padding: 14px 16px;
  background: var(--brand-strong);
  color: #fff;
  box-shadow: var(--shadow);
  z-index: 30;
}

.hidden {
  display: none !important;
}

@media (max-width: 1200px) {
  .invoice-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .invoice-actions {
    justify-content: start;
  }
}

@media (max-width: 980px) {
  .login-layout,
  .app-layout {
    grid-template-columns: 1fr;
  }

  .app-layout,
  .sidebar,
  .content {
    width: 100%;
    max-width: 100%;
  }

  .login-visual {
    min-height: 34vh;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(0, 86, 179, 0.16);
    padding: 16px;
  }

  .nav-list {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  .sidebar-footer {
    margin-top: 12px;
  }

  .sidebar-footer .secondary-btn {
    width: 100%;
  }

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

  .contract-card {
    grid-template-columns: 1fr 1fr;
  }

  .effi100-appliance-grid,
  .effi100-month-appliances {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .effi100-overview {
    grid-template-columns: 74px minmax(180px, 1fr) minmax(160px, 0.7fr);
  }

  .effi100-day-total,
  .effi100-month-total {
    grid-column: 2 / -1;
  }
}

@media (max-width: 620px) {
  body {
    min-width: 0;
  }

  .login-panel {
    padding: 22px 18px 34px;
  }

  .login-visual {
    padding: 28px 18px;
  }

  .nav-list,
  .quick-stats,
  .invoice-card,
  .contract-card,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .invoice-actions {
    width: 100%;
    max-width: 250px;
    grid-template-columns: minmax(80px, 1fr) 42px minmax(96px, 108px);
  }

  .voltaware-device {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 16px;
    min-height: 126px;
    padding: 16px;
  }

  .voltaware-device img {
    width: 62px;
    height: 84px;
  }

  .voltaware-details {
    grid-template-columns: 1fr;
  }

  .effi100-toolbar,
  .effi100-controls {
    display: grid;
    align-items: stretch;
  }

  .effi100-controls,
  .effi100-controls .consumption-selector,
  .effi100-controls select,
  .effi100-controls input {
    width: 100%;
  }

  .effi100-overview {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 16px;
    padding: 18px 16px;
  }

  .effi100-overview img {
    width: 58px;
    height: 78px;
  }

  .effi100-live-reading,
  .effi100-day-total,
  .effi100-month-total {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    padding-top: 14px;
  }

  .effi100-appliance-grid,
  .effi100-month-appliances {
    grid-template-columns: 1fr;
  }

  .effi100-appliance {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .effi100-appliance > strong {
    grid-column: 2;
  }

  .consumption-heading {
    display: grid;
  }

  .consumption-panel {
    padding: 20px 16px;
  }

  .consumption-total {
    text-align: left;
  }

  .consumption-heading-actions {
    display: grid;
  }

  .consumption-selector select {
    width: 100%;
    min-width: 0;
  }

  .consumption-svg {
    min-width: 520px;
  }

  .toolbar {
    align-items: stretch;
  }

  .toolbar-actions,
  .toolbar .field {
    width: 100%;
  }

  .toolbar-actions select,
  .toolbar-actions button {
    flex: 1;
  }
}
