#top { border-bottom: 0; }
.grant-application {
    background: #F1F1F1;
    padding: 2rem 0 4rem;
}

.grant-application.grant-application-form {
    padding-bottom: 6rem;
}

.grant-application .ga-container {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.grant-application .ga-header {
    text-align: center;
    margin-bottom: 2rem;
}

.grant-application .ga-header h1 {
    color: #0b667d;
    font-size: 1.75rem;
    margin-bottom: 30px;
}

.grant-application .ga-form-card {
    background: transparent;
}

.grant-application .ga-fieldset {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin: 0 0 1.25rem;
    min-width: 0;
    padding: 1.25rem 1.5rem 1.5rem;
}

.grant-application .ga-fieldset-overview {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
}

.grant-application .ga-overview-band {
    padding: 1.25rem 1.5rem;
}

.grant-application .ga-overview-band-title {
    align-items: center;
    background: #f7f4ef;
    border-radius: 12px 12px 0 0;
    display: flex;
    min-height: 6.5rem;
    padding: 2rem 1.5rem 0;
}

.grant-application .ga-overview-band-title .ga-field-hero {
    flex: 1;
    margin: 0;
    width: 100%;
}

.grant-application .ga-overview-band-title .ga-input-wrap-required {
    margin: 0;
}

.grant-application .ga-overview-band-amount {
    background: #f7f4ef;
}

.grant-application .ga-overview-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.grant-application .ga-overview-body .ga-field:last-child {
    margin-bottom: 0;
}


.grant-application .ga-field-hero {
    margin-bottom: 0;
}

.grant-application .ga-input-wrap-required {
    padding-right: 1rem;
    position: relative;
}

.grant-application .ga-fieldset-overview .ga-input-hero,
.grant-application .ga-fieldset-overview .ga-overview-body input[type="text"],
.grant-application .ga-fieldset-overview .ga-overview-body textarea,
.grant-application .ga-fieldset-overview .ga-input-prefix-group input {
    border-color: #d0d0d0;
}

.grant-application .ga-input-hero {
    font-size: 1.2rem;
    padding: 1rem 1.1rem;
    width: 100%;
}

.grant-application .ga-required-mark {
    color: #c0392b;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    position: absolute;
    right: -0.15rem;
    top: 0.35rem;
    transform: translateX(100%);
}

.grant-application .ga-amount-layout {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem 2rem;
}

.grant-application .ga-amount-input-col {
    flex: 0 1 auto;
}

.grant-application .ga-amount-input-col label {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.grant-application .ga-amount-meter {
    background: #e0dcd4;
    border-radius: 4px;
    height: 8px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.grant-application .ga-amount-meter-fill {
    background: #3d8b6e;
    border-radius: 4px 0 0 4px;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transition: width 0.2s ease-out;
    width: 0;
}

.grant-application .ga-amount-meter.is-over-max .ga-amount-meter-fill {
    background: #c0392b;
}

.grant-application .ga-amount-info-col {
    align-self: center;
    flex: 1 1 260px;
    min-width: 200px;
}

.grant-application .ga-amount-info {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.grant-application .ga-amount-info strong {
    color: #3d8b6e;
    font-weight: 700;
}

.grant-application .ga-input-prefix-group {
    align-items: center;
    display: flex;
    gap: 0.35rem;
}

.grant-application .ga-input-prefix-group .ga-input-prefix {
    color: #444;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
}

.grant-application .ga-input-prefix-group input {
    flex: 0 1 7rem;
    margin-bottom: 0;
    max-width: 7rem;
    min-width: 5rem;
    width: 7rem;
}

.grant-application .ga-char-count {
    color: #666;
    font-size: 0.85rem;
    margin: 0.35rem 0 0;
    text-align: right;
}

@media (max-width: 640px) {
    .grant-application .ga-amount-layout {
        align-items: stretch;
    }

    .grant-application .ga-amount-info-col {
        flex-basis: 100%;
    }
}

.grant-application .ga-fieldset-title {
    border-bottom: 1px solid #0b667d;
    color: #0b667d;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin: 10px 0 30px;
    padding: 0 0 15px;
    text-transform: uppercase;
}

.grant-application .ga-section-title {
    color: #0b667d;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid #0b667d;
    padding-bottom: 0.35rem;
    margin: 2rem 0 1rem;
}

.grant-application .ga-section-divider {
    border: 0;
    border-top: 1px solid #d0d0d0;
    margin: 1.5rem 0;
}

.grant-application .ga-subsection-title {
    color: #0b667d;
    font-size: 1rem;
    font-weight: 700;
    margin: 1.25rem 0 0.75rem;
}

.grant-application .ga-fieldset-title + .ga-subsection-title,
.grant-application .ga-section-divider + .ga-subsection-title {
    margin-top: 0;
}

.grant-application .ga-optional-label {
    color: #555;
    font-size: 0.85em;
    font-weight: 400;
}

.grant-application .ga-field {
    margin-bottom: 1rem;
}

.grant-application label {
    color: #0b667d;
    display: block;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.35rem;
}

.grant-application input[type="text"],
.grant-application input[type="email"],
.grant-application input[type="tel"],
.grant-application input[type="number"],
.grant-application input[type="date"],
.grant-application textarea:not(.ga-signature-storage),
.grant-application .ga-upload,
.grant-application .signature-pad-wrapper,
.grant-application .text-signature-container input {
    border-radius: 5px;
}

.grant-application input[type="text"],
.grant-application input[type="email"],
.grant-application input[type="tel"],
.grant-application input[type="number"],
.grant-application input[type="date"],
.grant-application textarea:not(.ga-signature-storage) {
    background: #fff;
    border: 1px solid #0b667d;
    box-shadow: none;
    color: #222;
    margin-bottom: 0;
    width: 100%;
}

.grant-application textarea:not(.ga-signature-storage) {
    min-height: 120px;
}

.grant-application .ga-help,
.grant-application .ga-instructions {
    color: #444;
    font-size: 0.9rem;
    margin-top: 0.35rem;
}

.grant-application .ga-required {
    color: #c0392b;
}

.grant-application .ga-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.grant-application .ga-row .ga-field {
    flex: 1 1 100%;
}

.grant-application .ga-row .ga-half {
    flex: 1 1 calc(50% - 0.5rem);
}

.grant-application .ga-row .ga-third {
    flex: 1 1 calc(33.333% - 0.67rem);
}

.grant-application .ga-upload {
    position: relative;
}

.grant-application .ga-upload-input {
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    width: 0.1px;
    z-index: -1;
}

.grant-application .ga-upload-dropzone {
    align-items: center;
    background: #fff;
    border: 1px dashed #0b667d;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    justify-content: center;
    min-height: 7.5rem;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.grant-application .ga-upload-dropzone.is-dragover {
    background: #f7fbfc;
    border-color: #084f61;
}

.grant-application .ga-upload-icon {
    color: #0b667d;
    font-size: 2rem;
    line-height: 1;
}

.grant-application .ga-upload-browse {
    color: #0b667d;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.grant-application .ga-upload-browse-btn {
    background: none;
    border: 0;
    color: inherit;
    cursor: pointer;
    font: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
}

.grant-application .ga-upload-hint {
    color: #5a7a86;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.grant-application .ga-upload-file-list {
    color: #444;
    font-size: 0.9rem;
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    text-align: left;
}

.grant-application .ga-upload-file-list li {
    margin: 0.25rem 0;
}

.grant-application .ga-note {
    background: #fff3a0;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
}

.grant-application .ga-table-wrap {
    overflow-x: auto;
}

.grant-application .ga-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: #fff;
}

.grant-application .ga-table th,
.grant-application .ga-table td {
    border: 1px solid #0b667d;
    padding: 0.5rem;
    vertical-align: top;
}

.grant-application .ga-table th {
    background: #f7f4ef;
    border-color: #d0d0d0;
    color: #333;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: left;
}

.grant-application .ga-table td.ga-label {
    background: #f7f4ef;
    color: #333;
    font-weight: 600;
    width: 35%;
}

.grant-application .ga-table input {
    margin: 0;
}

.grant-application .ga-checklist-table {
    border: 0;
}

.grant-application .ga-checklist-table th,
.grant-application .ga-checklist-table td {
    border: 0;
    padding: 0.85rem 1rem;
    vertical-align: middle;
}

.grant-application .ga-checklist-table thead th {
    background: #fff;
    border-bottom: 1px solid #d0d0d0;
    border-top: 0;
    color: #333;
}

.grant-application .ga-checklist-table tbody tr:nth-child(odd) {
    background: #fff;
}

.grant-application .ga-checklist-table tbody tr:nth-child(even) {
    background: #f7f4ef;
}

.grant-application .ga-checklist-table tbody td {
    border-bottom: 1px solid #e5e5e5;
    border-top: 0;
    color: #333;
}

.grant-application .ga-checklist-table tbody tr:last-child td {
    border-bottom: 0;
}

.grant-application .ga-checklist-table td:first-child {
    width: auto;
}

.grant-application .ga-checklist-table td:last-child {
    text-align: center;
    width: 7rem;
}

.grant-application .ga-checklist-table input[type="checkbox"] {
    accent-color: #0b667d;
    height: 1.1rem;
    margin: 0;
    width: 1.1rem;
}

.grant-application .ga-checklist-section .ga-table-wrap {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
}

.grant-application .ga-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.grant-application .ga-checklist-section {
    scroll-margin-top: 1.5rem;
}

.grant-application .ga-field.is-invalid input,
.grant-application .ga-field.is-invalid textarea,
.grant-application .ga-field.is-invalid .ga-upload-dropzone,
.grant-application .ga-field.is-invalid .signature-pad-wrapper {
    border-color: #c0392b;
    box-shadow: 0 0 0 1px rgba(192, 57, 43, 0.25);
}

.grant-application [data-ga-field="applicationChecklist"].is-invalid {
    box-shadow: inset 0 0 0 1px #c0392b;
}

.grant-application .ga-field.is-invalid label,
.grant-application [data-ga-field].is-invalid > label {
    color: #a93226;
}

.grant-application .ga-modal {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 1.5rem;
    position: fixed;
    z-index: 1000;
}

.grant-application .ga-modal[hidden] {
    display: none;
}

.grant-application .ga-modal-backdrop {
    background: rgba(0, 0, 0, 0.45);
    inset: 0;
    position: absolute;
}

.grant-application .ga-modal-dialog {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    max-height: 85vh;
    max-width: 32rem;
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 1;
}

.grant-application .ga-modal-header {
    align-items: center;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 1rem;
}

.grant-application .ga-modal-header h2 {
    color: #0b667d;
    font-size: 1.15rem;
    margin: 0;
}

.grant-application .ga-modal-close {
    background: none;
    border: 0;
    color: #666;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0;
}

.grant-application .ga-modal-body {
    max-height: 50vh;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.grant-application .ga-modal-body > p {
    margin: 0 0 0.75rem;
}

.grant-application .ga-validation-list {
    margin: 0;
    padding-left: 1.25rem;
}

.grant-application .ga-validation-list li {
    margin: 0.35rem 0;
}

.grant-application .ga-modal-footer {
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
    padding: 1rem 1.5rem 1.25rem;
}

body.ga-modal-open {
    overflow: hidden;
}

.grant-application .ga-final-submit {
    margin-bottom: 0;
}

.grant-application .ga-fixed-bar {
    background: #0b667d;
    border-top: none;
    bottom: 0;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    left: 0;
    opacity: 1;
    position: fixed;
    right: 0;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    visibility: visible;
    z-index: 500;
}

.grant-application .ga-fixed-bar.is-hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.grant-application .ga-fixed-bar-inner {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 0 auto;
    max-width: 960px;
    padding: 0.85rem 1rem;
}

.grant-application .ga-fixed-bar .ga-button {
    margin: 0;
    min-width: 160px;
}

.grant-application .ga-fixed-bar .ga-button-secondary {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.grant-application .ga-fixed-bar .ga-button-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.grant-application .ga-button {
    background: #0b667d;
    border: 1px solid #0b667d60;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    min-width: 140px;
    padding: 0.75rem 1.5rem;
}

.grant-application .ga-button-secondary {
    background: transparent;
    color: #0b667d;
}

.grant-application .ga-button.ga-button-mustard,
.grant-application .ga-fixed-bar .ga-button.ga-button-mustard {
    background: #D89016;
    border: 1px solid #D89016;
    color: #fff;
}

.grant-application .ga-button.ga-button-mustard:hover,
.grant-application .ga-fixed-bar .ga-button.ga-button-mustard:hover {
    background: #CE850C;
    border-color: #CE850C;
    color: #fff;
}

.grant-application .ga-flash {
    background: #fff;
    border: 1px solid #0b667d;
    border-radius: 5px;
    margin-bottom: 1rem;
    padding: 1rem;
}

.grant-application .ga-flash.is-error {
    border-color: #c0392b;
}

.grant-application .ga-flash.is-success {
    border-color: #2e7d32;
}

.grant-application .signature-pad-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    min-width: 0;
}

.grant-application .signature-pad-wrapper {
    background: #fff;
    border: 1px solid #0b667d;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.grant-application .signature-pad-wrapper canvas {
    cursor: crosshair;
    display: block;
    height: 200px !important;
    width: 100% !important;
}

.grant-application .signature-pad-actions {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    gap: 10px;
    margin-top: 10px;
}

.grant-application textarea.ga-signature-storage {
    display: none !important;
}

.grant-application .text-signature-container {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.grant-application .text-signature-container input {
    flex: 1;
    font-family: 'Brush Script MT', cursive;
    font-size: 1.25rem;
    min-width: 200px;
}

.grant-application .ga-text-signature-wrapper label {
    margin-top: 0.75rem;
}

.grant-application .ga-downloads {
    background: #fff;
    border: 1px solid #0b667d;
    border-radius: 5px;
    margin: 1rem 0;
    padding: 1rem 1.25rem;
}

.grant-application .ga-download-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.grant-application .ga-download-list li {
    margin: 0;
}

.grant-application .ga-download-list a.ga-download-button {
    align-items: center;
    display: inline-flex;
    font-size: 0.95rem;
    gap: 0.5rem;
    min-width: auto;
    text-decoration: none;
}

.grant-application .ga-download-list a.ga-download-button:hover {
    background: #095a6e;
    border-color: #095a6e;
    color: #fff;
}

.grant-application .ga-container-narrow {
    max-width: 520px;
}

.grant-application .ga-auth-card {
    background: #fff; border-radius: 20px;
    padding: 40px;
}

.grant-application .ga-auth-card h2 {
    color: #0b667d;
    font-size: 1.35rem;
    margin: 0 0 0.75rem;
}
.grant-application .ga-auth-card form { margin-bottom: 40px; }
.grant-application .ga-auth-intro {
    margin-bottom: 1.25rem;
}

.grant-application .ga-auth-links {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.grant-application .ga-auth-links li {
    margin-bottom: 0.5rem;
}

.grant-application .ga-auth-links a {
    color: #0b667d;
    font-weight: 600;
}

.grant-application .ga-login-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.grant-application .ga-forgot-password {
    color: #0b667d;
    font-weight: 600;
    text-decoration: none;
}

.grant-application .ga-forgot-password:hover {
    text-decoration: underline;
}

.grant-application .ga-auth-divider {
    border: 0;
    border-top: 1px solid #c5dde6;
    margin: 2rem 0;
}

.grant-application a.ga-button {
    display: inline-block;
    text-decoration: none;
}

.grant-application .ga-error {
    color: #c0392b;
    margin: 0 0 1rem;
}

.grant-application .ga-header-links {
    margin-top: 0.75rem; text-align: left
}

.grant-application .ga-header-links .ga-button {
    font-size: 0.95rem;
    min-width: auto;
    padding: 0.4rem 0.8rem;
}

.grant-application .ga-page-actions {
    margin: 1.5rem 0 0;
}

.grant-application .ga-page-actions .ga-button {
    font-size: 0.95rem;
    min-width: auto;
    padding: 0.65rem 1.25rem;
}

.grant-application .ga-dashboard-actions {
    margin-bottom: 1.5rem;
}

.grant-application .ga-app-list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.grant-application .ga-app-list li {
    border-bottom: 1px solid #c5dde6;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
}

.grant-application .ga-app-list a {
    color: #0b667d;
    font-weight: 600;
}

.grant-application .ga-app-meta {
    color: #555;
    display: block;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.grant-application .ga-empty {
    color: #555;
    margin-bottom: 1.5rem;
}

.grant-application .ga-logout-form {
    margin: 0;
}

/* Dashboard */
.grant-application-dashboard .ga-container-dashboard {
    max-width: 900px;
}

.grant-application-dashboard .ga-dashboard-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 2.25rem 2.5rem;
}

.grant-application-dashboard .ga-dashboard-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.grant-application-dashboard .ga-user-profile {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.grant-application-dashboard .ga-user-avatar {
    align-items: center;
    background: #d4eaf0;
    border-radius: 50%;
    color: #0b667d;
    display: flex;
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 700;
    height: 56px;
    justify-content: center;
    width: 56px;
}

.grant-application-dashboard .ga-user-name {
    color: #0b667d;
    font-size: 1rem; line-height: 1;
    font-weight: 700;
    margin: 0;
}

.grant-application-dashboard .ga-user-email {
    color: #3d8a9c;
    font-size: 0.95rem;
    margin: 0;
}

.grant-application-dashboard .ga-toolbar-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.grant-application-dashboard .ga-button-icon {
    align-items: center;
    border-radius: 8px;
    display: inline-flex;
    gap: 0.35rem;
    text-decoration: none;
}

.grant-application-dashboard .ga-button-plus {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.grant-application-dashboard .ga-button,
.grant-application-dashboard .ga-button-secondary {
    border-radius: 8px;
    font-size: 0.95rem;
    min-width: auto;
    padding: 0.65rem 1.25rem;
}

.grant-application-dashboard .ga-deadline-banner {
    align-items: center;
    background: #D89116;
    border: none;
    border-radius: 12px;
    color: #fff;
    display: flex;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding: 0.6rem 1.25rem;
}

.grant-application-dashboard .ga-deadline-icon {
    flex-shrink: 0;
    font-size: 1.1rem;
    line-height: 1;
}

.grant-application-dashboard .ga-deadline-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.grant-application-dashboard .ga-deadline-text strong {
    font-weight: 700;
}

.grant-application-dashboard .ga-stats {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 2rem;
}

.grant-application-dashboard .ga-stat-card {
    background: #d4eaf0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.grant-application-dashboard .ga-stat-label {
    color: #0b667d;
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
}

.grant-application-dashboard .ga-stat-value {
    color: #0b667d;
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.grant-application-dashboard .ga-dashboard-heading {
    color: #0b667d;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 1.25rem;
}

.grant-application-dashboard .ga-application-rows {
    list-style: none;
    margin: 0;
    padding: 0;
}

.grant-application-dashboard .ga-application-row {
    align-items: center;
    border: 2px solid #b8d9e3;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 1.25rem 1.5rem;
}

.grant-application-dashboard .ga-application-title {
    color: #0b667d;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.grant-application-dashboard .ga-application-meta {
    color: #555;
    font-size: 0.9rem;
    margin: 0;
}

.grant-application-dashboard .ga-application-actions {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 0.65rem;
}

.grant-application-dashboard .ga-status-pill {
    background: #d4eaf0;
    border-radius: 999px;
    color: #0b667d;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 4px 14px 5px;
}

.grant-application-dashboard .ga-status-pill.is-submitted {
    background: #d4eaf0;
}

.grant-application-dashboard .ga-icon-button {
    align-items: center;
    background: #fff;
    border: 2px solid #c5dde6;
    border-radius: 8px;
    color: #0b667d;
    cursor: pointer;
    display: inline-flex;
    height: 40px;
    justify-content: center;
    padding: 0;
    text-decoration: none;
    width: 40px;
}

.grant-application-dashboard .ga-icon-button:hover {
    color: #D89116;
    border-color: #D89116;
}

.grant-application-dashboard .ga-delete-form {
    display: inline;
    margin: 0;
}

.grant-application-dashboard .ga-empty-state {
    color: #555;
    margin: 0;
    padding: 1rem 0;
}

.grant-application .ga-existing-files {
    list-style: none;
    margin: 0 0 0.75rem;
    padding: 0;
}

.grant-application .ga-existing-file {
    align-items: center;
    border: 1px solid #d8e6ea;
    border-radius: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.grant-application .ga-existing-file.is-removed {
    background: #fafafa;
    border-color: #ddd;
    opacity: 0.75;
}

.grant-application .ga-existing-file.is-removed .ga-existing-file-info a {
    color: #777;
    text-decoration: line-through;
}

.grant-application .ga-existing-file-info {
    flex: 1 1 12rem;
    min-width: 0;
}

.grant-application .ga-existing-file-actions {
    align-items: center;
    display: flex;
    flex-shrink: 0;
    gap: 0.5rem;
}

.grant-application .ga-existing-files a {
    color: #0b667d;
    font-weight: 600;
    word-break: break-word;
}

.grant-application .ga-existing-file-remove,
.grant-application .ga-existing-file-undo {
    background: transparent;
    border-radius: 5px;
    cursor: pointer;
    flex-shrink: 0;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.25rem 0.65rem;
}

.grant-application .ga-existing-file-remove {
    border: 1px solid #c0392b;
    color: #c0392b;
}

.grant-application .ga-existing-file-undo {
    border: 1px solid #0b667d;
    color: #0b667d;
}

.grant-application .ga-existing-file-remove:hover,
.grant-application .ga-existing-file-remove:focus {
    background: #c0392b;
    color: #fff;
}

.grant-application .ga-existing-file-undo:hover,
.grant-application .ga-existing-file-undo:focus {
    background: #0b667d;
    color: #fff;
}

.grant-application .ga-removed-assets {
    display: none;
}

@media (max-width: 640px) {
    .grant-application .ga-row .ga-half,
    .grant-application .ga-row .ga-third {
        flex-basis: 100%;
    }

    .grant-application .text-signature-container {
        flex-direction: column;
    }

    .grant-application .text-signature-container input {
        max-width: 100%;
        width: 100%;
    }

    .grant-application-dashboard .ga-stats {
        grid-template-columns: 1fr;
    }

    .grant-application-dashboard .ga-dashboard-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .grant-application-dashboard .ga-toolbar-actions {
        width: 100%;
    }

    .grant-application-dashboard .ga-toolbar-actions .ga-button,
    .grant-application-dashboard .ga-toolbar-actions .ga-button-secondary {
        flex: 1;
        justify-content: center;
        text-align: center;
    }

    .grant-application-dashboard .ga-application-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .grant-application-dashboard .ga-application-actions {
        width: 100%;
    }
}
