/* Customer portal additions on top of platinum.css + portal.css. Static only (CSP: no inline styles in HTML). */
.portal-header {
  flex-wrap: wrap;
}
.portal-header .portal-lead {
  margin: 0;
}
.portal-card .portal-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 10px;
}
.portal-card .portal-card-head h3 {
  margin: 0;
}
.portal-card p {
  margin: 0;
}
.portal-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  min-height: 48px;
}
.portal-progress {
  display: grid;
  gap: 4px;
}
.portal-muted {
  color: var(--pt-ink-2);
}
.portal-tabs {
  display: flex;
  gap: 4px;
  padding: 0;
  margin: 0;
}
.portal-tabs .pt-tab {
  flex: 1;
  min-height: 48px;
  margin-top: 0;
  border-bottom: 1px solid var(--pt-ink);
  border-radius: 7px;
  font-size: 16px;
  cursor: pointer;
}
.portal-steps {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.portal-step {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  background: var(--pt-white);
  border: 1px solid var(--pt-ink);
  border-radius: var(--pt-radius);
}
.portal-step[data-status="done"] {
  background: var(--pt-stripe);
}
.portal-step h4 {
  margin: 0;
  font-size: 16px;
}
.portal-step p {
  margin: 0;
}
.portal-file {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
}
.portal-file > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.portal-file-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-decoration: none;
}
.portal-section-title {
  margin: 0;
  font-size: 18px;
}
.portal-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.pt-form-error {
  color: var(--pt-red-text);
  margin: 0;
}
.pt-form-ok {
  color: var(--pt-green);
  margin: 0;
}
.portal-body > dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  margin: 0;
}
.portal-body > dl dt {
  font-weight: bold;
  color: var(--pt-ink-2);
}
.portal-body > dl dd {
  margin: 0;
}
.portal-form {
  padding: 0;
}
