.verification-code {
  font-size: 22px;
  font-variant-numeric: tabular-nums;
}

.access-submit:disabled,
.auth-resend:disabled,
.auth-signout:disabled {
  cursor: wait;
  opacity: .55;
}

.dashboard-actions {
  display: grid;
  gap: 24px;
  margin-top: 37px;
}

.dashboard-actions .access-submit {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
}

.auth-signout {
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
}

.client-dashboard {
  --dashboard-ink: #101e27;
  --dashboard-deep: #16394c;
  --dashboard-blue: #4ca8d4;
  --dashboard-line: #d9e1e3;
  --dashboard-paper: #f5f7f6;
  background: var(--dashboard-paper);
  color: var(--dashboard-ink);
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  min-height: calc(100vh - 92px);
}

.client-dashboard .eyebrow {
  color: #267da8;
  font-size: 11px;
  letter-spacing: .08em;
}

.dashboard-sidebar {
  background: var(--dashboard-deep);
  color: #fff;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 34px 28px 28px;
}

.dashboard-wordmark {
  color: #fff;
  display: inline-flex;
  flex-direction: column;
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: .78;
  text-decoration: none;
  width: max-content;
}

.dashboard-program {
  border-bottom: 1px solid rgba(255, 255, 255, .2);
  margin-top: 65px;
  padding-bottom: 24px;
}

.dashboard-program .eyebrow { color: #71c1e8; margin-bottom: 8px; }
.dashboard-program strong { font-size: 15px; font-weight: 500; }

.dashboard-nav { display: grid; gap: 4px; margin-top: 24px; }
.dashboard-nav a { align-items: center; color: #dbe8ec; display: flex; font-size: 14px; justify-content: space-between; padding: 12px; text-decoration: none; }
.dashboard-nav a:hover, .dashboard-nav a:focus-visible, .dashboard-nav a.is-active { background: rgba(255, 255, 255, .12); color: #fff; }
.nav-count { background: #58b7df; border-radius: 50%; color: #0f2c3c; display: inline-grid; font-size: 11px; font-weight: 700; height: 20px; place-items: center; width: 20px; }
.dashboard-sidebar-footer { border-top: 1px solid rgba(255, 255, 255, .2); display: grid; gap: 20px; margin-top: auto; padding-top: 24px; }
.dashboard-sidebar-footer a, .dashboard-sidebar-footer .auth-signout { color: #fff; font-size: 13px; text-decoration: none; }
.dashboard-sidebar-footer .auth-signout { color: #fff; font-weight: 500; }

.dashboard-main { margin: 0 auto; max-width: 1280px; padding: 56px clamp(24px, 5vw, 76px) 80px; position: relative; width: 100%; }
.dashboard-topbar { align-items: flex-start; display: flex; justify-content: space-between; }
.dashboard-topbar h1 { font-family: Georgia, serif; font-size: clamp(38px, 4vw, 56px); font-weight: 400; letter-spacing: 0; line-height: .98; margin: 10px 0 0; }
.dashboard-intro { color: #586a70; font-size: 15px; margin: 14px 0 42px; }
.dashboard-topbar-actions { align-items: center; display: flex; gap: 12px; }
.icon-button { background: transparent; border: 1px solid #9eafb5; color: var(--dashboard-ink); font-size: 25px; height: 42px; line-height: 1; width: 42px; }
.notification-button { background: var(--dashboard-ink); border: 1px solid var(--dashboard-ink); color: #fff; font-size: 13px; font-weight: 600; padding: 12px 15px; }
.notification-button span { background: #61bce2; border-radius: 50%; color: #102531; display: inline-grid; font-size: 10px; height: 17px; margin-left: 6px; place-items: center; width: 17px; }
.dashboard-notifications { background: #e1f0f6; border-left: 3px solid #3e9dca; display: flex; gap: 20px; justify-content: space-between; margin: -22px 0 24px; padding: 14px 18px; }
.dashboard-notifications p { font-size: 13px; margin: 0; }
.dashboard-notifications a { color: var(--dashboard-ink); font-size: 13px; font-weight: 700; white-space: nowrap; }

.funding-status { background: var(--dashboard-deep); color: #fff; display: grid; grid-template-columns: minmax(250px, 1.15fr) minmax(360px, .85fr); margin-bottom: 24px; overflow: hidden; padding: 36px 40px; position: relative; }
.funding-status::after { border: 1px solid rgba(114, 198, 234, .45); content: ''; height: 260px; position: absolute; right: -105px; top: -125px; transform: rotate(45deg); width: 260px; }
.funding-status .eyebrow { color: #72c6ea; margin-bottom: 10px; }
.funding-status h2 { font-family: Georgia, serif; font-size: 38px; font-weight: 400; letter-spacing: 0; margin: 0; }
.funding-status-copy > p:not(.eyebrow) { color: #dce9ed; font-size: 15px; line-height: 1.5; margin: 12px 0 24px; max-width: 460px; }
.dashboard-primary-link { align-items: center; background: #fff; border: 0; color: var(--dashboard-ink); display: inline-flex; font-size: 13px; font-weight: 700; justify-content: space-between; min-width: 210px; padding: 13px 16px; text-decoration: none; }
.dashboard-primary-link:hover, .dashboard-primary-link:focus-visible { background: #bfe5f4; }
.funding-meta { border-left: 1px solid rgba(255, 255, 255, .24); display: grid; gap: 19px; padding: 6px 0 6px 34px; position: relative; z-index: 1; }
.funding-meta div { display: grid; gap: 3px; }
.funding-meta span { color: #a9c4ce; font-size: 11px; text-transform: uppercase; }
.funding-meta strong { font-size: 15px; font-variant-numeric: tabular-nums; font-weight: 500; }

.dashboard-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); }
.dashboard-grid-secondary { margin-top: 24px; }
.dashboard-section { background: #fff; border: 1px solid var(--dashboard-line); padding: 30px; }
.section-title { align-items: flex-start; display: flex; justify-content: space-between; margin-bottom: 22px; }
.section-title .eyebrow { margin: 0 0 7px; }
.section-title h2 { font-family: Georgia, serif; font-size: 26px; font-weight: 400; letter-spacing: 0; line-height: 1.1; margin: 0; }
.item-count { background: #e8f3f6; color: #166283; font-size: 12px; font-weight: 700; padding: 6px 9px; }
.task-list { border-top: 1px solid var(--dashboard-line); }
.task-item { align-items: center; border-bottom: 1px solid var(--dashboard-line); display: grid; gap: 15px; grid-template-columns: 35px 1fr auto; padding: 18px 0; }
.task-marker { border: 1px solid #9eb5bd; color: #487182; font-size: 11px; height: 28px; line-height: 27px; text-align: center; width: 28px; }
.task-item h3, .message-preview h3 { font-size: 14px; line-height: 1.35; margin: 0; }
.task-item p { color: #617278; font-size: 12px; line-height: 1.4; margin: 4px 0; }
.task-due { color: #a64d22; font-size: 11px; font-weight: 700; }
.task-action { background: transparent; border: 0; color: #14394b; font-size: 12px; font-weight: 700; padding: 9px; white-space: nowrap; }
.section-link { color: #12394b; display: inline-block; font-size: 13px; font-weight: 700; margin-top: 22px; text-decoration: none; }
.compose-link { border: 0; color: #12394b; font-size: 12px; margin-top: 8px; padding: 0; }
.message-list { border-top: 1px solid var(--dashboard-line); }
.message-preview { border-bottom: 1px solid var(--dashboard-line); display: grid; gap: 12px; grid-template-columns: 33px 1fr; padding: 16px 0; }
.message-avatar { background: #367b9d; color: #fff; display: grid; font-size: 10px; font-weight: 700; height: 31px; place-items: center; width: 31px; }
.message-avatar-alt { background: #7b8d58; }
.message-line { align-items: baseline; display: flex; gap: 9px; justify-content: space-between; }
.message-line time { color: #77888e; font-size: 10px; white-space: nowrap; }
.message-preview p { font-size: 12px; font-weight: 700; margin: 6px 0 4px; }
.message-preview span { color: #63747a; font-size: 12px; line-height: 1.4; }
.message-action { color: #155f80; display: inline-block; font-size: 11px; font-weight: 700; margin-top: 8px; text-decoration: none; }
.message-action:hover, .message-action:focus-visible { text-decoration: underline; }
.document-list { border-top: 1px solid var(--dashboard-line); }
.document-list a { align-items: center; border-bottom: 1px solid var(--dashboard-line); color: var(--dashboard-ink); display: grid; gap: 12px; grid-template-columns: 34px 1fr 15px; padding: 14px 0; text-decoration: none; }
.document-icon { background: #e4edf0; color: #456775; font-size: 9px; font-weight: 700; padding: 9px 3px; text-align: center; }
.document-list strong, .document-list small { display: block; }
.document-list strong { font-size: 13px; }
.document-list small { color: #687980; font-size: 11px; margin-top: 3px; }
.document-list b { font-size: 15px; font-weight: 400; }
.activity-list { list-style: none; margin: 0; padding: 2px 0 0; }
.activity-list li { display: grid; gap: 12px; grid-template-columns: 14px 1fr; min-height: 54px; position: relative; }
.activity-list li::before { background: #d8e2e5; bottom: 0; content: ''; left: 6px; position: absolute; top: 12px; width: 1px; }
.activity-list li:last-child::before { display: none; }
.activity-list li > span { background: #247da3; border: 3px solid #d8edf5; border-radius: 50%; height: 13px; position: relative; width: 13px; z-index: 1; }
.activity-list strong, .activity-list time { display: block; }
.activity-list strong { font-size: 13px; }
.activity-list time { color: #6b7d83; font-size: 11px; margin-top: 4px; }

.message-composer { background: #fff; border: 1px solid var(--dashboard-line); box-shadow: 0 16px 42px rgba(16, 30, 39, .15); bottom: 32px; max-width: 510px; padding: 24px; position: fixed; right: 32px; width: calc(100% - 48px); z-index: 2; }
.composer-header { align-items: center; display: flex; justify-content: space-between; margin-bottom: 20px; }
.composer-header h2 { font-family: Georgia, serif; font-size: 24px; font-weight: 400; margin: 0; }
.composer-header button { background: transparent; border: 0; font-size: 12px; font-weight: 700; padding: 4px; }
.message-composer label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.message-composer textarea { border: 1px solid #aebdc2; box-sizing: border-box; font: inherit; padding: 10px; resize: vertical; width: 100%; }
.message-composer > div:last-child { align-items: center; display: flex; gap: 14px; margin-top: 14px; }
.message-composer .dashboard-primary-link { background: var(--dashboard-ink); color: #fff; }
.message-composer p { color: #297247; font-size: 12px; margin: 0; }

.admin-workspace {
  --admin-ink: #10242d;
  --admin-line: #d8e1e3;
  background: #f3f6f5;
  color: var(--admin-ink);
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  min-height: calc(100vh - 92px);
}

.admin-workspace .eyebrow { color: #247da3; font-size: 11px; letter-spacing: .08em; }
.admin-sidebar { background: #132e3d; color: #fff; display: flex; flex-direction: column; min-width: 0; padding: 34px 24px 28px; }
.admin-sidebar-heading { border-bottom: 1px solid rgba(255, 255, 255, .2); margin-top: 60px; padding-bottom: 22px; }
.admin-sidebar-heading .eyebrow { color: #78c9e9; margin-bottom: 8px; }
.admin-sidebar-heading strong { font-size: 15px; font-weight: 500; }
.admin-search-label { display: block; font-size: 12px; font-weight: 700; margin: 25px 0 8px; }
.admin-sidebar input { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .38); color: #fff; font: inherit; font-size: 13px; padding: 11px; width: 100%; }
.admin-sidebar input::placeholder { color: #b6c8cf; }
.admin-applicant-list { display: grid; gap: 3px; margin-top: 15px; max-height: 47vh; overflow-y: auto; }
.admin-applicant-list p { color: #c8d8de; font-size: 13px; }
.admin-applicant-list button { background: transparent; border: 0; color: #fff; cursor: pointer; display: grid; gap: 4px; padding: 12px 9px; text-align: left; }
.admin-applicant-list button:hover, .admin-applicant-list button:focus-visible { background: rgba(255, 255, 255, .12); }
.admin-applicant-list strong { font-size: 13px; font-weight: 600; }
.admin-applicant-list span { color: #9ec6d7; font-size: 11px; }
.admin-sidebar .dashboard-sidebar-footer { display: grid; }
.admin-sidebar .auth-signout { display: none; }
.admin-main { margin: 0 auto; max-width: 1350px; min-width: 0; padding: 53px clamp(25px, 5vw, 74px) 80px; width: 100%; }
.admin-utility-header { align-items: center; border-bottom: 1px solid var(--admin-line); display: flex; justify-content: space-between; margin-bottom: 30px; padding-bottom: 18px; }
.admin-utility-brand { align-items: baseline; color: var(--admin-ink); display: flex; gap: 12px; text-decoration: none; }
.admin-utility-brand strong { font-family: Georgia, serif; font-size: 19px; letter-spacing: 0; }
.admin-utility-brand span { color: #55717c; font-size: 12px; font-weight: 700; }
.admin-session-profile { align-items: center; display: flex; gap: 10px; }
.admin-session-initials { background: #dcecf1; color: #155d7d; display: inline-grid; font-size: 11px; font-weight: 700; height: 32px; place-items: center; width: 32px; }
.admin-session-profile > div { display: grid; gap: 1px; line-height: 1.2; }
.admin-session-profile > div > span, .admin-session-profile small { color: #63757b; font-size: 10px; }
.admin-session-profile strong { font-size: 12px; }
.admin-signout { background: transparent; border: 0; color: #155f80; cursor: pointer; font-size: 12px; font-weight: 700; margin-left: 12px; padding: 8px; }
.admin-signout:hover, .admin-signout:focus-visible { text-decoration: underline; }
.admin-header { align-items: flex-start; border-bottom: 1px solid var(--admin-line); display: flex; justify-content: space-between; padding-bottom: 30px; }
.admin-header h1 { font-family: Georgia, serif; font-size: clamp(38px, 4vw, 54px); font-weight: 400; letter-spacing: 0; line-height: 1; margin: 9px 0 10px; }
.admin-header p:not(.eyebrow) { color: #61737a; font-size: 14px; margin: 0; }
.admin-live-state { background: #dfeee5; color: #287047; font-size: 12px; font-weight: 700; margin-top: 4px; padding: 8px 10px; }
.admin-empty { border: 1px dashed #aabcc1; margin-top: 34px; max-width: 550px; padding: 36px; }
.admin-empty h2, .applicant-header h2, .admin-panel h3 { font-family: Georgia, serif; font-weight: 400; letter-spacing: 0; }
.admin-empty h2 { font-size: 28px; margin: 0 0 10px; }
.admin-empty p { color: #61737a; font-size: 14px; line-height: 1.55; margin: 0; }
.admin-detail { margin-top: 34px; }
.applicant-header { align-items: flex-end; display: flex; justify-content: space-between; margin-bottom: 23px; }
.applicant-header .eyebrow { margin: 0 0 7px; }
.applicant-header h2 { font-size: 31px; margin: 0 0 6px; }
.applicant-header p { color: #66777d; font-size: 13px; margin: 0; }
.applicant-header > span { background: #dceef4; color: #1a6485; font-size: 12px; font-weight: 700; padding: 8px 11px; }
.admin-panels { display: grid; gap: 22px; grid-template-columns: 1.1fr .9fr; }
.admin-action-panels { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 22px; }
.admin-panel { background: #fff; border: 1px solid var(--admin-line); padding: 25px; }
.admin-panel-heading { border-bottom: 1px solid var(--admin-line); margin-bottom: 19px; padding-bottom: 17px; }
.admin-panel-heading .eyebrow { margin: 0 0 6px; }
.admin-panel h3 { font-size: 23px; margin: 0; }
.admin-panel label { display: grid; font-size: 12px; font-weight: 700; gap: 7px; margin: 0 0 15px; }
.admin-panel input, .admin-panel textarea, .admin-panel select { background: #fff; border: 1px solid #aebdc2; box-sizing: border-box; color: var(--admin-ink); font: inherit; font-size: 13px; font-weight: 400; padding: 10px; width: 100%; }
.admin-panel textarea { resize: vertical; }
.admin-field-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.admin-submit { background: var(--admin-ink); border: 1px solid var(--admin-ink); color: #fff; cursor: pointer; font-size: 12px; font-weight: 700; margin-top: 2px; padding: 12px 15px; }
.admin-submit:hover, .admin-submit:focus-visible { background: #2b6a87; border-color: #2b6a87; }
.admin-timeline { list-style: none; margin: 2px 0 0; padding: 0; }
.admin-timeline li { border-bottom: 1px solid var(--admin-line); display: grid; gap: 4px; padding: 13px 0; }
.admin-timeline li:last-child { border-bottom: 0; }
.admin-timeline strong { font-size: 13px; }
.admin-timeline span { color: #6b7c82; font-size: 12px; }
.admin-feedback { color: #1e7048; font-size: 13px; margin: 20px 0 0; }
.admin-feedback[role="alert"] { color: #9d3f27; }

.workflow-area, .admin-workflows { margin-top: 28px; }
.workflow-heading { align-items: end; border-bottom: 1px solid var(--dashboard-line, var(--admin-line)); display: flex; gap: 18px; justify-content: space-between; margin-bottom: 22px; padding-bottom: 16px; }
.workflow-heading .eyebrow { margin: 0 0 7px; }
.workflow-heading h2 { font-family: Georgia, serif; font-size: 29px; font-weight: 400; letter-spacing: 0; margin: 0; }
.workflow-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workflow-panel { min-width: 0; }
.workflow-record { border-bottom: 1px solid var(--dashboard-line, var(--admin-line)); padding: 16px 0; }
.workflow-record:first-child { padding-top: 0; }
.workflow-record:last-child { border-bottom: 0; padding-bottom: 0; }
.workflow-record-heading { align-items: flex-start; display: flex; gap: 12px; justify-content: space-between; }
.workflow-record-heading strong { font-size: 13px; line-height: 1.4; }
.workflow-status { background: #e5f0f3; color: #166283; flex: 0 0 auto; font-size: 10px; font-weight: 700; padding: 5px 7px; text-transform: capitalize; }
.workflow-copy, .workflow-meta, .workflow-note { color: #62747a; font-size: 12px; line-height: 1.45; margin: 9px 0 0; }
.workflow-meta { color: #8a5b30; font-weight: 700; }
.workflow-note { background: #f3f7e9; border-left: 2px solid #7b8d58; padding: 8px 10px; }
.workflow-amount { font-size: 22px; font-variant-numeric: tabular-nums; font-weight: 600; margin: 12px 0 0; }
.workflow-messages { display: grid; gap: 8px; margin-top: 13px; }
.workflow-message { background: #edf4f6; border-left: 2px solid #4a9cc3; padding: 9px 10px; }
.workflow-message.is-applicant { background: #f2f4ee; border-left-color: #7b8d58; }
.workflow-message.is-internal { background: #fff2df; border-left-color: #bd6b29; }
.workflow-message strong { display: block; font-size: 11px; }
.workflow-message p { font-size: 12px; line-height: 1.45; margin: 4px 0; }
.workflow-message time { color: #74858b; font-size: 10px; }
.workflow-reply, .workflow-response, .workflow-review { display: grid; gap: 10px; margin-top: 14px; }
.workflow-reply label, .workflow-response label, .workflow-review label { display: grid; font-size: 11px; font-weight: 700; gap: 6px; }
.workflow-reply textarea, .workflow-response input, .workflow-response textarea, .workflow-response select, .workflow-review textarea, .workflow-review select, .message-composer input { background: #fff; border: 1px solid #aebdc2; box-sizing: border-box; color: var(--dashboard-ink, var(--admin-ink)); font: inherit; font-size: 13px; padding: 9px; width: 100%; }
.workflow-reply .task-action, .workflow-review .task-action { justify-self: start; }
.workflow-response .dashboard-primary-link { justify-self: start; margin-top: 2px; }
.form-brand { align-items: center; border-bottom: 1px solid var(--dashboard-line); display: flex; gap: 10px; justify-content: space-between; margin: -2px 0 15px; padding: 0 0 10px; }
.form-brand-wordmark { color: var(--dashboard-deep); font-family: Georgia, serif; font-size: 15px; font-weight: 700; }
.form-brand span:not(.form-brand-wordmark) { color: #60757d; font-size: 10px; }
.form-brand strong { color: #166283; font-size: 10px; font-variant-numeric: tabular-nums; }
.workflow-files { display: grid; gap: 5px; list-style: none; margin: 8px 0 0; padding: 0; }
.workflow-files li { font-size: 11px; }
.workflow-files a { color: #135b7d; font-weight: 700; }
.workflow-file-hint { color: #6d7e84; font-size: 10px; line-height: 1.4; margin: 5px 0 0; }
.workflow-response input[type="file"] { background: #f7faf9; font-size: 11px; }
.workflow-support { background: #143b4d; border: 1px solid #143b4d; color: #fff; cursor: pointer; font-size: 12px; font-weight: 700; padding: 10px 12px; white-space: nowrap; }
.workflow-support:hover, .workflow-support:focus-visible { background: #2b6a87; border-color: #2b6a87; }
.workflow-delete { background: transparent; border: 0; color: #9b482c; cursor: pointer; font-size: 11px; font-weight: 700; padding: 6px; }
.admin-timeline-edit { display: grid; gap: 7px; }
.admin-timeline-edit input { background: #fff; border: 1px solid #b6c4c8; box-sizing: border-box; font: inherit; font-size: 12px; padding: 7px; width: 100%; }
.admin-timeline-edit > div { align-items: center; display: flex; gap: 6px; }
.admin-timeline-edit > div input { max-width: 135px; }
.support-banner { align-items: center; background: #fff2df; border-left: 3px solid #bd6b29; display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: space-between; margin: -20px 0 28px; padding: 12px 15px; }
.support-banner strong { color: #7c431d; font-size: 12px; }
.support-banner span { color: #704e38; flex: 1 1 330px; font-size: 12px; line-height: 1.4; }
.support-banner button { background: #7c431d; border: 1px solid #7c431d; color: #fff; cursor: pointer; font-size: 11px; font-weight: 700; padding: 8px 10px; }
.is-support-mode [data-task-complete], .is-support-mode [data-message-compose], .is-support-mode [data-client-thread-reply], .is-support-mode [data-client-form-submit], .is-support-mode [data-client-invoice-pay] { display: none; }
.dashboard-notifications { align-items: stretch; display: grid; gap: 0; }
.dashboard-notification { border-bottom: 1px solid rgba(40, 103, 130, .18); color: var(--dashboard-ink); display: grid; gap: 3px; padding: 8px 0; text-decoration: none; }
.dashboard-notification:last-child { border-bottom: 0; }
.dashboard-notification strong { font-size: 12px; }
.dashboard-notification span, .dashboard-notification time { color: #60757d; font-size: 11px; }

.payment-page { background: #f2f5f4; color: #10242d; min-height: 100vh; }
.payment-brand { align-items: center; background: #132e3d; color: #dbe8ec; display: flex; gap: 22px; padding: 23px clamp(24px, 7vw, 110px); }
.payment-brand > span { border-left: 1px solid rgba(255, 255, 255, .25); font-size: 13px; padding-left: 22px; }
.payment-main { margin: 0 auto; max-width: 700px; padding: 72px 24px; }
.payment-main > .eyebrow { color: #247da3; font-size: 11px; letter-spacing: .08em; margin: 0 0 11px; }
.payment-main > h1 { font-family: Georgia, serif; font-size: 42px; font-weight: 400; letter-spacing: 0; line-height: 1; margin: 0 0 28px; }
.payment-record { background: #fff; border: 1px solid #d8e1e3; padding: 28px; }
.payment-record-heading, .payment-total { align-items: end; display: flex; justify-content: space-between; }
.payment-record-heading { border-bottom: 1px solid #d8e1e3; padding-bottom: 16px; }
.payment-record-heading span, .payment-total span { color: #65777d; font-size: 12px; }
.payment-record-heading strong { font-size: 14px; }
.payment-total { padding: 22px 0; }
.payment-total strong { font-family: Georgia, serif; font-size: 34px; font-weight: 400; }
.payment-record dl { border-top: 1px solid #d8e1e3; display: grid; gap: 15px; margin: 0; padding: 18px 0; }
.payment-record dl div { display: flex; justify-content: space-between; }
.payment-record dt, .payment-record dd { font-size: 12px; margin: 0; }
.payment-record dt { color: #65777d; }
.payment-record dd { font-weight: 700; }
.payment-record > p, .payment-contact { color: #596e75; font-size: 13px; line-height: 1.5; }
.payment-instructions { background: #edf4f6; border-left: 3px solid #4a9cc3; margin: 20px 0; padding: 14px 16px; }
.payment-instructions h2 { font-size: 13px; margin: 0; }
.payment-instructions p { font-size: 13px; line-height: 1.5; margin: 7px 0 0; }
.workflow-check { align-items: center; display: flex !important; gap: 8px !important; }
.workflow-check input { accent-color: #1d789f; height: 15px; margin: 0; width: 15px; }
.workflow-lines { color: #62747a; font-size: 12px; line-height: 1.5; margin: 11px 0 0; padding-left: 18px; }
.workflow-responses { display: grid; gap: 8px; margin: 13px 0 0; }
.workflow-responses div { border-left: 2px solid #a4c9d8; padding-left: 9px; }
.workflow-responses dt { color: #65777d; font-size: 11px; }
.workflow-responses dd { font-size: 12px; margin: 3px 0 0; }
.workflow-field-list { display: grid; gap: 12px; }
.workflow-field { border: 1px solid var(--admin-line); margin: 0; padding: 14px; position: relative; }
.workflow-field label { margin-bottom: 11px; }
.workflow-field label:last-child { margin-bottom: 0; }
.workflow-field small { color: #718187; font-size: 10px; font-weight: 400; }
.workflow-remove { background: transparent; border: 0; color: #7d4f2d; cursor: pointer; font-size: 16px; line-height: 1; padding: 3px; position: absolute; right: 6px; top: 5px; }
.workflow-add { background: transparent; border: 1px solid #8ca4ad; color: var(--admin-ink); cursor: pointer; font-size: 12px; font-weight: 700; justify-self: start; margin-top: 12px; padding: 9px 11px; }
.workflow-add + .admin-submit { margin-left: 8px; }
.admin-workflow-records { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }

.admin-login {
  --admin-ink: var(--admin-login-ink);
  --admin-login-ink: #112832;
  --admin-login-line: #cbd7da;
  background: #edf2f1;
  color: var(--admin-login-ink);
  display: grid;
  grid-template-columns: minmax(320px, 42%) minmax(0, 1fr);
  min-height: 100vh;
}

.shell-header[hidden], .footer[hidden] { display: none !important; }

.admin-login .eyebrow { color: #2781a8; font-size: 11px; letter-spacing: .09em; }
.admin-login-aside { background: #132e3d; color: #fff; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 46px clamp(32px, 5vw, 74px); position: relative; }
.admin-login-aside::after { border: 1px solid rgba(111, 197, 234, .45); content: ''; height: min(48vw, 660px); position: absolute; right: -26%; top: 33%; transform: rotate(45deg); width: min(48vw, 660px); }
.admin-login-aside > * { position: relative; z-index: 1; }
.admin-login-aside > div { margin-top: auto; padding-bottom: 11vh; }
.admin-login-aside .eyebrow { color: #80cce9; margin: 0 0 15px; }
.admin-login-aside h1 { font-family: Georgia, serif; font-size: clamp(42px, 4.5vw, 66px); font-weight: 400; letter-spacing: 0; line-height: .98; margin: 0; max-width: 460px; }
.admin-login-aside h1 + p { color: #d6e5ea; font-size: 16px; line-height: 1.55; margin: 20px 0 0; max-width: 370px; }
.admin-login-note { border-top: 1px solid rgba(255, 255, 255, .24); color: #c3d9e1; font-size: 12px; margin: 0; padding-top: 21px; }
.admin-login-main { align-items: center; display: flex; justify-content: center; padding: 48px clamp(28px, 8vw, 145px); position: relative; }
.admin-back-link { color: #355d6d; font-size: 12px; left: clamp(28px, 8vw, 145px); position: absolute; text-decoration: none; top: 49px; }
.admin-login-form { max-width: 410px; width: 100%; }
.admin-login-form .eyebrow { margin: 0 0 12px; }
.admin-login-form h2 { font-family: Georgia, serif; font-size: 46px; font-weight: 400; letter-spacing: 0; line-height: 1; margin: 0; }
.admin-login-form > p:not(.eyebrow):not(.admin-login-status) { color: #63747a; font-size: 14px; line-height: 1.5; margin: 12px 0 33px; }
.admin-login-form label { display: block; font-size: 12px; font-weight: 700; margin: 0 0 8px; }
.admin-login-form input { background: #fff; border: 1px solid #9dafb5; box-sizing: border-box; color: var(--admin-login-ink); font: inherit; margin: 0 0 21px; padding: 13px; width: 100%; }
.admin-login-form input:focus { border-color: #277fa5; outline: 2px solid rgba(39, 127, 165, .2); outline-offset: 1px; }
.admin-login-form .admin-submit { font-size: 13px; margin-top: 7px; padding: 14px 16px; width: 100%; }
.admin-login-status { color: #a23c28; font-size: 13px; font-weight: 600; line-height: 1.4; min-height: 19px; margin: 15px 0 0; }
.admin-reset-link { color: #12648a; display: inline-block; font-size: 13px; font-weight: 700; margin-top: 18px; }

@media (max-width: 900px) {
  .client-dashboard { grid-template-columns: 1fr; }
  .dashboard-sidebar { min-height: auto; padding: 22px 24px; }
  .dashboard-program, .dashboard-sidebar-footer { display: none; }
  .dashboard-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 22px; }
  .dashboard-nav a { min-width: 0; }
  .dashboard-main { padding-top: 40px; }
  .admin-workspace { grid-template-columns: 1fr; }
  .admin-sidebar { min-height: auto; padding: 22px 24px; }
  .admin-sidebar-heading, .admin-sidebar .dashboard-sidebar-footer { display: none; }
  .admin-search-label { display: inline-block; margin: 20px 10px 0 0; }
  .admin-sidebar input { display: inline-block; max-width: 240px; }
  .admin-applicant-list { display: flex; flex-direction: row; margin: 12px -24px -22px; max-height: none; overflow-x: auto; padding: 0 24px 14px; }
  .admin-applicant-list button { flex: 0 0 155px; }
  .admin-login { grid-template-columns: 1fr; }
  .admin-login-aside { min-height: 300px; padding: 29px 28px; }
  .admin-login-aside > div { margin-top: auto; padding-bottom: 12px; }
  .admin-login-aside h1 { font-size: 43px; max-width: none; }
  .admin-login-aside h1 + p { font-size: 14px; margin-top: 12px; }
  .admin-login-note { display: none; }
  .admin-login-main { min-height: 520px; padding: 88px 28px 52px; }
  .admin-back-link { left: 28px; top: 28px; }
}

@media (max-width: 720px) {
  .dashboard-main { padding: 32px 18px 56px; }
  .dashboard-topbar h1 { font-size: 38px; }
  .dashboard-topbar-actions { gap: 7px; }
  .notification-button { font-size: 0; height: 42px; padding: 8px; width: 42px; }
  .notification-button span { font-size: 10px; margin: 0; }
  .funding-status, .dashboard-grid { grid-template-columns: 1fr; }
  .funding-status { padding: 28px 24px; }
  .funding-meta { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .24); margin-top: 26px; padding: 20px 0 0; }
  .dashboard-section { padding: 22px; }
  .task-item { align-items: start; grid-template-columns: 30px 1fr; }
  .task-action { grid-column: 2; justify-self: start; padding-left: 0; }
  .dashboard-notifications { align-items: flex-start; flex-direction: column; gap: 8px; margin-top: -20px; }
  .message-composer { bottom: 18px; right: 18px; width: calc(100% - 36px); }
  .admin-main { padding: 33px 18px 56px; }
  .admin-utility-header { align-items: flex-start; gap: 16px; }
  .admin-utility-brand { align-items: flex-start; flex-direction: column; gap: 2px; }
  .admin-session-profile { gap: 7px; }
  .admin-session-profile small { display: none; }
  .admin-signout { margin-left: 0; padding-right: 0; }
  .admin-header { gap: 15px; }
  .admin-header h1 { font-size: 38px; }
  .admin-live-state { white-space: nowrap; }
  .applicant-header { align-items: flex-start; flex-direction: column; gap: 13px; }
  .admin-panels, .admin-action-panels { grid-template-columns: 1fr; }
  .workflow-grid, .admin-workflow-records { grid-template-columns: 1fr; }
  .workflow-heading { align-items: flex-start; flex-direction: column; }
  .workflow-support { width: 100%; }
  .admin-panel { padding: 21px; }
  .admin-field-row { grid-template-columns: 1fr; gap: 0; }
  .form-brand { align-items: flex-start; flex-direction: column; gap: 4px; }
  .payment-main { padding: 48px 18px; }
  .payment-main > h1 { font-size: 36px; }
}

@media (max-width: 720px) {
  .access-page {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .access-intro {
    min-height: 500px;
  }

  .access-panel {
    max-width: none;
  }
}

@media (max-width: 420px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}