/* Forms and application steps. */
.field {
  font-size: 16px;
  font-weight: 550;
  gap: 9px;
}
.field input,
.field textarea,
.field select,
.search-input input {
  font-size: 17px;
  font-weight: 450;
  min-height: 52px;
  padding: 13px 15px;
  color: var(--ink);
  border-color: #b6b6ab;
  background: #fff;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #595b55;
  opacity: 1;
}
.field small,
.consent {
  font-size: 15px;
  font-weight: 450;
  color: var(--muted);
}
.notice,
.demo-banner {
  background: #f3f3ef;
  border-color: #deded7;
  color: #595b55;
  font-size: 14px;
  font-weight: 450;
  line-height: 1.65;
}
.form-card {
  border-color: var(--line);
  box-shadow: none;
}
.form-card .field + .field {
  margin-top: 22px;
}
.form-message,
.error {
  font-size: 16px;
}
.flow-heading p,
.flow-card > p {
  font-size: 18px;
}
.flow-step {
  font-size: 15px;
  font-weight: 550;
  color: var(--muted);
}
.flow-step span {
  width: 32px;
  height: 32px;
  font-size: 14px;
}
.flow-step.active span {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.service-option {
  font-size: 16px;
  font-weight: 500;
  padding: 18px;
  min-height: 74px;
}
.service-option.selected {
  background: #f3f3ef;
  border-color: var(--accent);
}
.service-option svg {
  color: var(--accent);
}
.flow-summary {
  background: #f3f3ef;
  border-color: var(--line);
}
.flow-summary h3 {
  font-size: 25px;
}
.flow-summary p,
.flow-summary dl,
.summary-secure {
  font-size: 16px;
}
.flow-summary small {
  font-size: 14px;
}

/* Login is a proper workspace entrance, with a spacious form and legible assistance. */
.login-layout {
  width: min(1250px, calc(100% - 96px));
  margin: 60px auto 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.login-intro {
  background: #f3f3ef;
  padding: 52px 48px;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.login-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent);
}
.login-intro h2 {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -2px;
  margin: 26px 0 20px;
}
.login-intro > p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 440px;
}
.login-document {
  position: relative;
  align-self: center;
  width: 270px;
  min-height: 267px;
  margin: 42px 0;
  padding: 26px;
  background: #fff;
  border: 1px solid #deded7;
  border-radius: 6px;
  transform: rotate(-5deg);
  box-shadow:
    14px 14px 0 #deded7,
    25px 25px 0 #595b55;
}
.login-document > span {
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 600;
  color: #595b55;
}
.login-document strong {
  display: block;
  font-family: var(--font-display);
  font-size: 35px;
  line-height: 1.1;
  font-weight: 650;
  margin: 23px 0;
  letter-spacing: -1.2px;
}
.login-document > svg {
  position: absolute;
  right: 22px;
  bottom: 22px;
  color: var(--accent);
}
.login-document-lines {
  display: grid;
  gap: 8px;
  width: 120px;
}
.login-document-lines i {
  height: 5px;
  background: #deded7;
  border-radius: 2px;
}
.login-document-lines i:last-child {
  width: 70%;
}
.login-benefits {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 15px;
}
.login-benefits li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 16px;
  font-weight: 500;
}
.login-benefits svg {
  color: var(--accent);
  flex-shrink: 0;
}
.login-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 52px 48px;
  background: #fff;
}
.login-wrap > .eyebrow {
  font-size: 13px;
}
.login-wrap h1 {
  font-family: var(--font-display);
  font-size: 48px;
  letter-spacing: -1.7px;
  font-weight: 650;
}
.login-wrap > p {
  font-size: 18px;
  margin-bottom: 30px;
}
.login-wrap .form-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.login-wrap .form-card .button {
  margin-top: 22px;
  font-size: 17px;
  min-height: 56px;
}
.login-wrap .form-card > p {
  font-size: 16px !important;
  line-height: 1.6;
}
.login-wrap .notice {
  margin-top: 30px;
  padding: 22px;
  background: #f3f3ef;
  border-radius: 8px;
}
.login-wrap .notice > strong {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}
.login-wrap .notice > p {
  font-size: 15px !important;
  line-height: 1.6;
}
.demo-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.demo-buttons button {
  font-size: 16px;
  font-weight: 600;
  min-height: 49px;
  padding: 12px 15px;
  justify-content: space-between;
  background: #fff;
}

/* Customer and staff workspaces use a roomy, consistent type scale. */
.portal-shell {
  grid-template-columns: 272px minmax(0, 1fr);
  font-size: 16px;
}
.sidebar {
  padding: 32px 20px;
  background: #f3f3ef;
  border-color: var(--line);
}
.sidebar-brand {
  font-size: 13px;
  letter-spacing: 0.9px;
  line-height: 1.6;
  font-weight: 600;
  color: #595b55;
  margin-bottom: 24px;
}
.sidebar button {
  font-size: 17px;
  font-weight: 550;
  line-height: 1.4;
  min-height: 51px;
  padding: 14px;
  gap: 12px;
  border-radius: 7px;
  color: #22241f;
  margin-bottom: 7px;
}
.sidebar button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke-width: 1.8;
}
.sidebar button.active {
  background: #deded7;
  color: #595b55;
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--accent);
}
.sidebar button:hover:not(.active) {
  background: #f3f3ef;
  color: var(--ink);
}
.sidebar .sidebar-bottom {
  margin-top: 40px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.dashboard-content {
  background: #fff;
  padding: 38px 36px;
}
.dashboard-top {
  align-items: flex-start;
  margin-bottom: 28px;
  gap: 24px;
}
.dashboard-top h1 {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -1.4px;
}
.dashboard-top p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 660px;
}
.user-chip {
  font-size: 16px;
  font-weight: 550;
  flex-shrink: 0;
}
.user-chip small {
  font-size: 13px !important;
  font-weight: 500;
}
.avatar {
  width: 44px;
  height: 44px;
  font-size: 16px;
  background: #deded7;
  color: #595b55;
}
.stat-grid {
  gap: 18px;
  margin-bottom: 30px;
}
.stat-card {
  padding: 24px;
  border-radius: 9px;
  border-color: var(--line);
}
.stat-card span {
  font-size: 16px;
  font-weight: 500;
}
.stat-card strong {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 650;
  line-height: 1.25;
  color: var(--ink);
  margin: 14px 0 7px;
}
.stat-card small {
  font-size: 14px;
  font-weight: 450;
  color: var(--muted);
  line-height: 1.5;
}
.stat-card > div {
  color: var(--muted);
  gap: 12px;
}
.stat-card > div svg {
  color: var(--accent);
  flex-shrink: 0;
}
.panel {
  border-radius: 9px;
  padding: 26px;
  border-color: var(--line);
}
.panel-heading h2 {
  font-family: var(--font-sans);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.panel-heading p {
  font-size: 16px;
}
.table-filters {
  gap: 12px;
  flex-wrap: wrap;
}
.table-filters select,
.table-filters input,
.search-input input {
  font-size: 16px;
  font-weight: 450;
  min-height: 46px;
}
.table-filters select,
.search-input {
  border-color: #b6b6ab;
}
table,
td {
  font-size: 15px;
  font-weight: 450;
  line-height: 1.6;
}
th {
  font-size: 14px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  padding: 16px;
  color: #22241f;
  background: #f3f3ef;
}
td {
  padding: 21px 16px;
}
td strong {
  font-size: 16px;
  font-weight: 600;
}
td small {
  font-size: 14px;
  font-weight: 450;
  color: var(--muted);
}
.row-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  padding: 9px 3px;
}
.status-pill {
  font-size: 13px;
  font-weight: 550;
  padding: 6px 10px;
  line-height: 1.5;
}
.status-pill:before {
  width: 5px;
  height: 5px;
}
.status-pill.complete {
  color: #355740;
  background: #e8f0e9;
}
.status-pill.review {
  color: #595b55;
  background: #f3f3ef;
}
.detail-labels dt {
  font-size: 15px;
  color: var(--muted);
}
.detail-labels dd {
  font-size: 16px;
  font-weight: 500;
}
.timeline-item,
.document-row,
.notification-row,
.notification-row p {
  font-size: 16px;
}
.timeline-item small,
.document-row small,
.notification-row small {
  font-size: 14px;
}
.upload-zone {
  font-size: 16px;
  background: #f3f3ef;
  border-color: #b6b6ab;
}
.upload-zone input {
  font-size: 15px;
}
.back-button {
  font-size: 16px;
  font-weight: 550;
  color: var(--accent);
}
.empty-state {
  font-size: 16px;
}
.portal-shell .button {
  font-size: 16px;
}
.portal-shell p {
  font-size: 16px;
  line-height: 1.7;
}
.toast {
  background: #22241f;
  font-size: 16px;
}
