/* five-tools-visual-consistency-002
   Shared look for the homepage and the five tools.
   Does not remove fields, change formulas, or restyle advertisements. */

.homepage-home-lead {
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  max-width: 40rem;
  word-break: keep-all;
  line-break: strict;
  overflow-wrap: normal;
}

[data-homepage-view="none"] .homepage-tools-nav__label,
[data-homepage-workspace] .homepage-industry-nav__hint {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.topbar-settings summary,
.account-panel summary {
  background: transparent;
  border: 1px solid #e3e6e1;
  box-shadow: none;
  color: #3d5248;
  font-size: 0.875rem;
  font-weight: 500;
  height: auto;
  min-height: 44px;
  padding: 8px 12px;
}

.currency-field.global-currency-field > select {
  background-color: transparent;
  border: 1px solid #e3e6e1;
  box-shadow: none;
  min-height: 44px;
  height: 44px;
}

.currency-selected-label {
  font-weight: 500;
  color: #3d5248;
}

[data-homepage-workspace] .homepage-industry-card__label {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  width: auto !important;
}

.homepage-industry-phrase {
  display: inline-block;
  max-width: 100%;
  vertical-align: baseline;
  white-space: nowrap;
}

.homepage-industry-phrase--rest {
  white-space: normal;
}

.homepage-guide-title,
.homepage-about .homepage-guide-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.homepage-guide-summary {
  align-items: center;
  min-height: 44px;
}

.data-tools-card > summary {
  min-height: 44px;
}

.data-tools-card summary strong {
  font-size: 1rem;
  font-weight: 600;
}

.site-footer a {
  color: #3d5248;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  padding: 8px 2px;
}

.cb-accounts {
  border: 0;
  background: transparent;
  padding: 0;
}

.cb-totals div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border: 0;
  background: transparent;
  padding: 6px 0;
}

.cb-totals span {
  font-size: 0.875rem;
}

.cb-totals strong {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f6b45;
  text-align: right;
  overflow-wrap: anywhere;
}

.cb-freeze {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  border-color: #e3e6e1;
  padding: 8px 12px;
}

.cb-freeze p,
.cb-freeze button {
  margin: 0;
}

@media (min-width: 720px) {
  .cb-totals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .cb-totals div {
    display: block;
    padding: 0;
  }

  .cb-totals strong {
    text-align: left;
    margin-top: 4px;
  }
}
