html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  background: linear-gradient(180deg, #f7faf8 0%, #ffffff 38%, #f8fbfd 100%);
}

.solar-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.solar-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
  background:
    radial-gradient(circle,
      rgba(255, 186, 96, 0.0) 0,
      rgba(255, 186, 96, 0.72) 40%,
      rgba(255, 186, 96, 0.0) 74%) no-repeat,
    linear-gradient(112deg,
      transparent 30%,
      rgba(255, 255, 255, 0.62) 38%,
      rgba(255, 255, 255, 0.1) 46%,
      transparent 54%) no-repeat,
    radial-gradient(circle,
      rgba(255, 199, 121, 0) 0,
      rgba(255, 199, 121, 0) 3px,
      rgba(255, 214, 160, 1) 4.6px,
      rgba(255, 199, 121, 0) 8px) no-repeat,
    linear-gradient(90deg,
      rgba(255, 175, 74, 0),
      rgba(255, 175, 74, 0.7),
      rgba(255, 175, 74, 0)) no-repeat;
  background-size:
    0 0,
    220% 100%,
    14px 14px,
    42% 2px;
  background-position:
    82% 78%,
    140% 0,
    -12% 78%,
    -30% 78%;
  filter: drop-shadow(0 0 0 rgba(255, 186, 96, 0));
  animation: solarEnergyFlow 6.8s ease-in-out infinite;
}

.solar-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.86) 44%, rgba(255, 255, 255, 0.73) 100%),
    url('/images/solar-panels-bg.svg') right center / cover no-repeat;
  z-index: -1;
}

.solar-hero > * {
  position: relative;
  z-index: 1;
}

@keyframes solarEnergyFlow {
  0% {
    background-position:
      82% 78%,
      140% 0,
      -12% 78%,
      -30% 78%;
    background-size:
      0 0,
      220% 100%,
      14px 14px,
      42% 2px;
    filter: drop-shadow(0 0 0 rgba(255, 186, 96, 0));
  }
  56% {
    background-position:
      82% 78%,
      -20% 0,
      52% 78%,
      24% 78%;
    background-size:
      0 0,
      220% 100%,
      14px 14px,
      42% 2px;
    filter: drop-shadow(0 0 0 rgba(255, 186, 96, 0));
  }
  86% {
    background-position:
      82% 78%,
      -120% 0,
      82% 78%,
      54% 78%;
    background-size:
      0 0,
      220% 100%,
      14px 14px,
      42% 2px;
    filter: drop-shadow(0 0 0 rgba(255, 186, 96, 0));
  }
  92% {
    background-position:
      82% 78%,
      -132% 0,
      82.5% 78%,
      54.5% 78%;
    background-size:
      46px 46px,
      220% 100%,
      19px 19px,
      42% 2px;
    filter: drop-shadow(0 0 18px rgba(255, 196, 122, 0.95));
  }
  100% {
    background-position:
      82% 78%,
      -160% 0,
      112% 78%,
      82% 78%;
    background-size:
      0 0,
      220% 100%,
      14px 14px,
      42% 2px;
    filter: drop-shadow(0 0 0 rgba(255, 186, 96, 0));
  }
}

@media (prefers-reduced-motion: reduce) {
  .solar-hero::before {
    animation: none;
    opacity: 0;
  }
}

.quote-workbench {
  border: 1px solid #d9e5df;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfa 100%);
  box-shadow: 0 12px 28px rgba(20, 55, 39, 0.05);
}

.quote-workbench-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.quote-workbench-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #d6e7de;
  background: #eef7f2;
  color: #1f5a3f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.quote-metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-bottom: 0.8rem;
}

.quote-metric-chip {
  border: 1px solid #dbe6df;
  border-radius: 0.8rem;
  padding: 0.6rem 0.75rem;
  background: #ffffff;
}

.quote-metric-label {
  color: #64716b;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
}

.quote-metric-value {
  color: #174933;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.quote-table-enhanced thead th {
  background: #f3f7f5;
}

.quote-table-enhanced tbody tr:hover {
  background: #f7fbf9;
}

.quote-card {
  border: 1px solid #dde7e1;
  border-radius: 0.95rem;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(22, 54, 39, 0.04);
}

.quote-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.quote-summary-tile {
  border: 1px solid #dbe6df;
  border-radius: 0.9rem;
  padding: 0.75rem 0.9rem;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfa 100%);
}

.quote-summary-tile .label {
  color: #64716b;
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.quote-summary-tile .value {
  color: #174933;
  font-size: 1.1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.fade-in-soft {
  animation: fadeInSoft 280ms ease-out;
}

@keyframes fadeInSoft {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767.98px) {
  .quote-metric-strip,
  .quote-summary-grid {
    grid-template-columns: 1fr;
  }
}

.register-hero {
  background: linear-gradient(135deg, #eff8f2 0%, #fff9ec 100%);
  border: 1px solid #dbe8dd;
  border-radius: 1.5rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 18px 40px rgba(22, 58, 40, 0.06);
}

.hero-panel {
  background: linear-gradient(135deg, #f2fbf5, #fff8e8);
  border: 1px solid #dcefdc;
  border-radius: 1.5rem;
  padding: 2.5rem 1.5rem;
}

.hero-panel h1,
.register-hero h1,
.register-hero h2 {
  color: #0f3f59;
}

.hero-panel .lead,
.register-hero .lead,
.register-hero .form-intro-note {
  color: #355160;
}

.flow-card,
.summary-card {
  background: #ffffff;
  border: 1px solid #e6e8eb;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 12px 30px rgba(31, 41, 55, 0.05);
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #198754;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
  color: #17643f;
}

.form-intro-note {
  color: #5f6b66;
  font-size: 0.98rem;
}

.form-help {
  margin-top: 0.4rem;
  color: #60706a;
  font-size: 0.9rem;
  line-height: 1.45;
}

.money-input {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.linked-input-panel {
  border: 1px solid #dce7de;
  background: linear-gradient(135deg, #f7fbf8, #fffef7);
  border-radius: 1rem;
  padding: 1rem;
}

.linked-input-header h3 {
  color: #17643f;
}

.linked-input-header p {
  color: #5f6b66;
}

.estimate-panel {
  background: linear-gradient(135deg, #ffffff 0%, #f6fbf7 55%, #fffdf5 100%);
  border: 1px solid #dbe6dc;
  box-shadow: 0 20px 46px rgba(18, 54, 37, 0.08);
}

.estimate-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #ebf7ee;
  color: #17643f;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.estimate-badge {
  white-space: nowrap;
}

.estimate-table-wrap {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid #e5ece6;
  border-radius: 1rem;
  padding: 0.35rem 0.75rem;
}

.summary-card-emphasis {
  border-color: #d6e6d8;
  box-shadow: 0 16px 34px rgba(20, 58, 41, 0.07);
}

.register-form-card {
  border: 1px solid #e3e8e4;
}

.register-form-card-followup {
  box-shadow: 0 14px 32px rgba(25, 44, 33, 0.05);
}

.register-tab-nav {
  gap: 0.6rem;
  border-bottom: 0;
}

.register-tab-nav .nav-link {
  border: 1px solid #dce7df;
  border-radius: 999px;
  background: #f8fbf9;
  color: #446355;
  font-weight: 600;
  padding: 0.7rem 1rem;
}

.register-tab-nav .nav-link.active {
  background: #17643f;
  border-color: #17643f;
  color: #ffffff;
}

.register-tab-nav .nav-link.disabled {
  background: #f4f7f5;
  color: #8a9991;
}

.register-form-header {
  display: grid;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border: 1px solid #dfe8e1;
  border-radius: 1rem;
  background: linear-gradient(135deg, #fbfdfb, #f5faf7);
}

.register-form-kicker {
  display: inline-flex;
  margin-bottom: 0.55rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: #ebf6ef;
  color: #17643f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.register-step-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.register-step-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #dce7df;
  color: #446355;
  font-size: 0.86rem;
  font-weight: 600;
}

.register-followup-note {
  border: 1px solid #dfe7e1;
  background: #f8fbf9;
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  color: #4d5d56;
}

.register-action-group {
  max-width: 34rem;
}

.register-action-note {
  color: #617068;
  font-size: 0.92rem;
  line-height: 1.5;
}

.register-estimate-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid #d6e4db;
  border-radius: 1rem;
  background: linear-gradient(135deg, #f7fbf8, #eef7f1);
}

.register-estimate-cta-title {
  color: #153f2a;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.register-estimate-cta-copy {
  color: #5d6d65;
  max-width: 44rem;
}

.register-account-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #d3e3d8;
  color: #295640;
  font-size: 0.88rem;
  font-weight: 600;
}

.summary-label {
  color: #6c757d;
  font-size: 0.95rem;
}

.summary-value {
  font-size: 2rem;
  font-weight: 700;
  color: #17643f;
}

.register-section-card {
  padding: 1.25rem;
  border: 1px solid #e1e8e2;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #fbfdfc);
}

.register-section-card-accent {
  background: linear-gradient(135deg, #fbfdfb, #f5fbf7 65%, #fffdf6 100%);
  border-color: #dbe7de;
}

.register-section-header {
  margin-bottom: 1rem;
}

.register-section-kicker {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: #5f7a6b;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.register-section-copy {
  color: #66736e;
  font-size: 0.95rem;
}

.register-contact-grid {
  align-items: start;
}

.register-contact-field {
  display: flex;
  flex-direction: column;
}

.register-contact-field .form-label {
  display: flex;
  align-items: flex-end;
  min-height: calc(1.55em * 2);
  margin-bottom: 0.45rem;
}

.register-contact-field .form-control {
  width: 100%;
}

.register-section-card .col-md-4 .form-control,
.register-section-card .col-md-4 .form-select {
  max-width: 21rem;
}

.register-section-card .col-md-6 .form-control,
.register-section-card .col-md-6 .form-select {
  max-width: 30rem;
}

.register-section-card .col-12 .form-control,
.register-section-card .col-12 .form-select,
.register-section-card .col-md-12 .form-control,
.register-section-card .col-md-12 .form-select {
  max-width: 100%;
}

@media (max-width: 767.98px) {
  .register-contact-field .form-label {
    min-height: auto;
  }

  .register-section-card .form-control,
  .register-section-card .form-select {
    max-width: 100%;
  }
}

.register-info-tile {
  padding: 1rem;
  border: 1px solid #dce7df;
  border-radius: 1rem;
  background: #f8fbf9;
}

.register-info-label {
  margin-bottom: 0.4rem;
  color: #17643f;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.register-info-text {
  color: #5f6b66;
  line-height: 1.55;
}

.register-check-panel {
  padding: 1rem;
  border: 1px solid #dce7df;
  border-radius: 1rem;
  background: #f8fbf9;
}

.recommendation-table th {
  white-space: nowrap;
}

.simulation-value {
  font-size: 1.4rem;
}

.ai-advice-panel {
  background: linear-gradient(135deg, #fffdf4, #f3fbff);
  border: 1px solid #e8e3c9;
  border-radius: 1rem;
  padding: 1.25rem;
}

.ai-advice-text {
  white-space: pre-line;
  line-height: 1.7;
}

.advice-history-list {
  display: grid;
  gap: 0.75rem;
}

.advice-history-item {
  border-radius: 0.9rem;
  padding: 1rem;
  border: 1px solid #e8e8e8;
}

.advice-history-item.user {
  background: #f8fafc;
}

.advice-history-item.assistant {
  background: #f6fff8;
}

.tariff-plan-card {
  border: 1px solid #dde7df;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #f8fbf9);
  box-shadow: 0 18px 42px rgba(19, 51, 36, 0.06);
}

.tariff-tier-table td,
.tariff-tier-table th {
  vertical-align: middle;
}

.tariff-meta {
  color: #60706a;
  font-size: 0.92rem;
}

.tariff-admin-hero {
  padding: 1.5rem 1.6rem;
  border-radius: 1.4rem;
  background: linear-gradient(135deg, #f4fbf6 0%, #fffef8 52%, #f4f9ff 100%);
  border: 1px solid #d9e7dc;
  box-shadow: 0 22px 44px rgba(21, 56, 39, 0.07);
}

.tariff-admin-kicker {
  display: inline-flex;
  margin-bottom: 0.65rem;
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  background: #e7f4ec;
  color: #17643f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tariff-hero-copy {
  max-width: 880px;
  color: #5f6b66;
}

.tariff-hero-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #d9e5dc;
  color: #355848;
  font-size: 0.9rem;
}

.tariff-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: #eff6f1;
  color: #356048;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.tariff-plan-list {
  gap: 0.75rem;
}

.tariff-plan-list-item {
  border: 1px solid #dfe7e2;
  border-radius: 0.95rem;
  padding: 0.95rem 1rem;
}

.tariff-plan-list-item.active {
  background: linear-gradient(135deg, #1f7a52, #1f9d67);
  border-color: transparent;
}

.tariff-section-heading,
.tariff-editor-heading {
  margin-bottom: 1rem;
}

.tariff-editor-panel {
  padding: 1.15rem;
  border: 1px solid #e1e9e3;
  border-radius: 1rem;
  background: linear-gradient(180deg, #ffffff, #fbfdfc);
}

.tariff-field {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.tariff-field .form-label {
  white-space: nowrap;
  margin-bottom: 0.55rem;
}

.tariff-field-label-spacer {
  min-height: calc(1.5rem + 0.55rem);
}

.tariff-field .form-control,
.tariff-field .form-select,
.tariff-table-field .form-control {
  min-height: 44px;
}

.tariff-create-grid .tariff-create-vat-field .form-control {
  width: 100%;
  max-width: 6rem;
}

.tariff-create-grid .tariff-create-toggle-field {
  justify-content: flex-start;
}

.tariff-create-grid .tariff-create-toggle-field .tariff-check-card {
  width: auto !important;
  min-width: 14.5rem;
  max-width: 100%;
}

.tariff-create-grid .tariff-create-toggle-field .form-check-label {
  white-space: nowrap;
}

.tariff-version-grid .tariff-field-code .form-control {
  width: 100%;
  max-width: 13rem;
}

.tariff-version-grid .tariff-field-name .form-control {
  width: auto;
  min-width: 22rem;
  max-width: min(100%, 32rem);
}

.tariff-version-grid .tariff-field-select .form-select {
  width: 100%;
  max-width: 9rem;
}

.tariff-version-grid .tariff-field-date .form-control {
  width: 100%;
  max-width: 10.5rem;
}

.tariff-version-grid .tariff-field-vat .form-control {
  width: 100%;
  max-width: 8rem;
}

.tariff-version-support-row {
  margin-top: 0.15rem;
}

.tariff-decimal-input {
  font-variant-numeric: tabular-nums;
  min-width: 6.75rem;
}

.simulation-settings-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.simulation-settings-row {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(10rem, 13rem);
  align-items: start;
  gap: 0.9rem 1.25rem;
}

.simulation-settings-row .form-label {
  margin-bottom: 0;
  white-space: normal;
  line-height: 1.45;
  padding-top: 0.55rem;
}

.simulation-settings-input-wrap {
  width: min(100%, 13rem);
}

.simulation-settings-form .simulation-settings-input-wrap .form-control {
  width: 100%;
}

.simulation-settings-form .simulation-settings-input-wrap .text-danger {
  display: block;
  margin-top: 0.35rem;
}

.tariff-check-card {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.72rem 0.9rem;
  border: 1px solid #dce6de;
  border-radius: 0.85rem;
  background: #fbfdfc;
}

.tariff-inline-note {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.8rem 1rem;
  border-radius: 0.85rem;
  background: #f6faf8;
  border: 1px solid #e0e9e3;
  color: #5f6b66;
  font-size: 0.9rem;
  line-height: 1.45;
}

.tariff-tier-table {
  margin-bottom: 0;
}

.tariff-tier-table thead th {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  color: #486055;
  font-size: 0.86rem;
  font-weight: 700;
  background: #f5f8f6;
  border-bottom-width: 1px;
}

.tariff-tier-table tbody td {
  padding-top: 0.95rem;
  padding-bottom: 0.95rem;
}

.tariff-tier-label-cell {
  min-width: 92px;
  color: #1f3d2e;
}

.tariff-table-field {
  min-width: 120px;
}

.tariff-table-field-compact {
  width: min(100%, 8rem);
  min-width: 7rem;
}

.tariff-table-field-price {
  width: min(100%, 9rem);
  min-width: 8rem;
}

.tariff-tier-number-cell,
.tariff-tier-price-cell {
  white-space: nowrap;
}

.tariff-action-cell {
  width: 1%;
  white-space: nowrap;
}

.tariff-action-cell .btn {
  min-width: 4.6rem;
}

.tariff-cell-note {
  min-height: 1.3rem;
  margin-top: 0.35rem;
  color: #72817b;
  font-size: 0.82rem;
}

.tariff-cell-note.d-none {
  display: none;
}

@media (max-width: 991.98px) {
  .register-form-header {
    padding: 1rem;
  }

  .register-section-card {
    padding: 1rem;
  }

  .tariff-admin-hero {
    padding: 1.15rem;
  }

  .tariff-hero-pill {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .register-step-strip {
    gap: 0.45rem;
  }

  .register-step-pill {
    font-size: 0.8rem;
  }

  .register-estimate-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .tariff-editor-panel,
  .tariff-plan-card .card-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .tariff-version-grid .tariff-field-code .form-control,
  .tariff-version-grid .tariff-field-name .form-control,
  .tariff-version-grid .tariff-field-select .form-select,
  .tariff-version-grid .tariff-field-date .form-control,
  .tariff-version-grid .tariff-field-vat .form-control {
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }

  .tariff-create-grid .tariff-create-vat-field .form-control,
  .tariff-create-grid .tariff-create-toggle-field .tariff-check-card {
    max-width: 100%;
    width: 100% !important;
    min-width: 0;
  }

  .simulation-settings-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .simulation-settings-row .form-label {
    padding-top: 0;
  }

  .simulation-settings-input-wrap {
    width: 100%;
    max-width: 100%;
  }

  .tariff-field-label-spacer {
    min-height: 0;
  }

  .tariff-create-grid .tariff-create-toggle-field .form-check-label {
    white-space: normal;
  }

  .tariff-table-field-compact,
  .tariff-table-field-price {
    width: 100%;
  }

  .tariff-tier-table {
    min-width: 760px;
  }
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.role-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.role-chip-admin {
  background: #f6e7c8;
  color: #7a4d00;
}

.role-chip-business {
  background: #d8eef6;
  color: #0d566f;
}

.role-chip-customer {
  background: #e3f2de;
  color: #2d6d2d;
}

.role-overview-card,
.portal-card {
  height: 100%;
  padding: 1.25rem;
  border-radius: 1rem;
  background: #f9fbf6;
  border: 1px solid rgba(76, 104, 42, 0.12);
}

.role-overview-title,
.portal-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #244d24;
}

.portal-kicker {
  display: inline-flex;
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: #eef4e2;
  color: #56712e;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portal-summary-card {
  padding: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, #ffffff, #f6f8f2);
  border: 1px solid rgba(63, 86, 33, 0.1);
  box-shadow: 0 18px 40px rgba(39, 58, 18, 0.08);
}

.portal-summary-label {
  color: #65804d;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
}

.portal-summary-value {
  font-size: 1.9rem;
  font-weight: 700;
  color: #203d20;
}

.portal-list {
  display: grid;
  gap: 0.9rem;
}

.portal-list-item {
  padding: 1rem 1.1rem;
  border-radius: 0.95rem;
  background: #fff;
  border: 1px solid rgba(75, 101, 45, 0.12);
}

.portal-list-meta {
  color: #678055;
  font-size: 0.88rem;
}

.login-shell {
  max-width: 1080px;
  margin: 0 auto;
}

.login-card {
  border: 0;
  border-radius: 1.5rem;
  box-shadow: 0 24px 60px rgba(31, 47, 16, 0.12);
}

.login-demo-card {
  border-radius: 1.25rem;
  background: linear-gradient(180deg, #f7faef, #eef4e1);
  border: 1px solid rgba(87, 112, 52, 0.14);
}

.login-demo-table td,
.login-demo-table th {
  background: transparent;
}