:root {
    --app-navy-950: #061a33;
    --app-navy-900: #08213f;
    --app-navy-800: #0f2f57;
    --app-blue-600: #1769e8;
    --app-blue-500: #2f7df6;
    --app-sky-50: #f3f7fb;
    --app-border: #dbe5f1;
    --app-text: #172033;
    --app-muted: #64748b;
    --app-card: #ffffff;
    --app-success: #12a150;
    --app-warning: #f59e0b;
    --app-danger: #ef4444;
}

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 0;
    background: linear-gradient(180deg, #f7f9fc 0%, #eef2f7 100%);
    color: var(--app-text);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f2f5fb;
    overflow-x: hidden;
}

.login-brand-panel {
    position: relative;
    width: 46%;
    min-height: 100vh;
    color: #fff;
    display: flex;
    align-items: center;
    padding: 3rem 2.5rem;
    background-image: linear-gradient(90deg, rgba(5, 24, 56, 0.88) 0%, rgba(8, 38, 86, 0.72) 45%, rgba(8, 38, 86, 0.42) 100%), url('/images/login-church-background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

    .login-brand-panel::after {
        content: '';
        position: absolute;
        top: -8%;
        right: -8rem;
        width: 16rem;
        height: 116%;
        background: #f2f5fb;
        border-radius: 50%;
        z-index: 2;
        pointer-events: none;
    }

.login-brand-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(circle at 76% 44%, rgba(82, 151, 255, 0.24), transparent 56%), linear-gradient(180deg, rgba(8, 29, 79, 0.24), rgba(3, 20, 56, 0.42));
}

.login-brand-content {
    position: relative;
    z-index: 3;
    max-width: 430px;
}

.login-logo-mark {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #6ad1ff, #2c5bff 65%, #9d7bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.login-brand-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.login-brand-subtitle {
    letter-spacing: 0.08em;
    color: #9ab8ea;
    margin-bottom: 1rem;
}

.login-brand-divider {
    width: 48px;
    height: 2px;
    background: #64b6ff;
    margin-bottom: 1.5rem;
}

.login-brand-tagline {
    font-size: 2.05rem;
    font-weight: 650;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.login-brand-copy {
    font-size: 1.08rem;
    color: #c0d1eb;
    margin-bottom: 2rem;
}

.login-brand-features {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.8rem;
    flex-wrap: nowrap;
    margin-top: 2rem;
    font-size: 0.82rem;
    color: #d8e4fb;
}

.login-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.45rem;
    width: 7rem;
    min-width: 0;
    line-height: 1.2;
}

.login-feature-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.login-form-panel {
    width: 54%;
    display: flex;
    justify-content: center;
    padding: 2.5rem;
}

.login-card {
    width: 100%;
    max-width: 610px;
    border-radius: 1.1rem;
}

    .login-card .form-control {
        border-radius: 0.75rem;
        border-color: #d9e0ec;
        min-height: 3.05rem;
    }

    .login-card .btn {
        border-radius: 0.75rem;
        font-weight: 600;
    }

.login-form-icon {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #eef2fb;
    color: #2c5bff;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
}

.login-card-icon {
    width: 6.5rem;
    height: 6.5rem;
    margin: 0 auto 1.25rem auto;
    border-radius: 999px;
    background: #eef4ff;
    color: #1769e8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
}

.login-input-wrap {
    position: relative;
}

.login-input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #7b8aa0;
    z-index: 2;
}

.login-input {
    padding-left: 2.7rem;
}

.login-input-password {
    padding-right: 2.7rem;
}

.login-password-toggle {
    position: absolute;
    right: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #7b8aa0;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

.person-typeahead {
    position: relative;
}

.lookup-typeahead {
    position: relative;
}

.person-typeahead-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 18rem;
    overflow-y: auto;
}

.lookup-typeahead-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 18rem;
    overflow-y: auto;
}

.person-typeahead-result small {
    color: var(--app-muted);
}

.lookup-typeahead-result small {
    color: var(--app-muted);
}

.login-or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #9aa8c0;
    margin: 0.5rem 0 1rem;
}

    .login-or-divider::before,
    .login-or-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #dbe3ef;
    }

    .login-or-divider span {
        margin: 0 0.75rem;
    }

.login-card-footer {
    border-top: 1px solid #e8edf5;
    color: #7d8ba2;
}

.login-security-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.login-google-btn {
    min-height: 3.05rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
}

.login-google-mark {
    font-weight: 700;
    color: #4285f4;
}

@media (max-width: 1199.98px) {
    .login-brand-panel {
        width: 42%;
    }

        .login-brand-panel::after {
            right: -6.5rem;
            width: 13rem;
        }

    .login-brand-title {
        font-size: 2.35rem;
    }

    .login-brand-tagline {
        font-size: 1.65rem;
    }

    .login-form-panel {
        width: 58%;
    }

    .login-brand-features {
        gap: 0.55rem;
    }

    .login-feature-item {
        width: 6.15rem;
        font-size: 0.76rem;
    }
}

@media (max-width: 991.98px) {
    .login-page {
        flex-direction: column;
    }

    .login-brand-panel,
    .login-form-panel {
        width: 100%;
    }

    .login-brand-panel {
        min-height: auto;
        border-radius: 0;
        padding: 2.5rem 1.5rem;
    }

        .login-brand-panel::after {
            display: none;
        }

    .login-form-panel {
        padding: 1.5rem 1rem 2rem;
    }

    .login-brand-features {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .login-feature-item {
        width: 8rem;
        font-size: 0.82rem;
    }
}

@media (max-width: 575.98px) {
    .login-brand-features {
        justify-content: center;
    }

    .login-feature-item {
        width: 100%;
        max-width: 12rem;
    }
}

.app-shell {
    display: flex;
    min-height: 100vh;
    background: var(--app-sky-50);
}

.app-sidebar {
    width: 252px;
    flex: 0 0 252px;
    background: linear-gradient(180deg, var(--app-navy-900) 0%, var(--app-navy-950) 100%);
    color: #d8e7ff;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1040;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.app-brand {
    padding: 1.15rem 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.app-brand-link {
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
}

.app-brand-icon {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.26);
    font-size: 1.2rem;
}

    .app-brand-icon img {
        width: 1.45rem;
        height: 1.45rem;
    }

.app-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .app-brand-text strong {
        text-transform: uppercase;
        letter-spacing: 0.04em;
        font-size: 0.95rem;
    }

    .app-brand-text small {
        color: #a8bfdf;
        font-size: 0.7rem;
    }

.app-nav {
    padding: 1rem 0.65rem 1.5rem;
}

.app-nav-section {
    margin-bottom: 1.2rem;
}

.app-nav-heading {
    margin: 0 0.55rem 0.55rem;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #90abcc;
}

.app-nav-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.62rem;
    color: #d8e7ff;
    text-decoration: none;
    margin-bottom: 0.18rem;
    font-size: 0.88rem;
    border: 1px solid transparent;
}

    .app-nav-link i {
        font-size: 0.95rem;
    }

    .app-nav-link:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.1);
    }

    .app-nav-link.active {
        color: #fff;
        background: rgba(47, 125, 246, 0.36);
        border-color: rgba(115, 177, 255, 0.46);
    }

.app-nav-group {
    margin-bottom: 0.25rem;
}

.app-nav-link-parent {
    margin-bottom: 0;
}

.app-nav-submenu {
    margin-top: 0.3rem;
    margin-left: 0.45rem;
    padding-left: 0.55rem;
    border-left: 1px solid rgba(168, 191, 223, 0.35);
}

.app-nav-sublink {
    font-size: 0.83rem;
    margin-bottom: 0.14rem;
}

    .app-nav-sublink i {
        font-size: 0.85rem;
    }

.app-main {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    min-height: 74px;
    background: #fff;
    border-bottom: 1px solid var(--app-border);
    padding: 0.8rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.app-topbar-left,
.app-topbar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-sidebar-toggle {
    display: none;
    border: 1px solid var(--app-border);
    border-radius: 0.65rem;
    color: var(--app-text);
}

.app-search {
    position: relative;
    width: min(420px, 60vw);
}

    .app-search i {
        position: absolute;
        left: 0.72rem;
        top: 50%;
        transform: translateY(-50%);
        color: #7f8da4;
    }

    .app-search .form-control {
        border-radius: 0.7rem;
        border: 1px solid var(--app-border);
        min-height: 2.55rem;
        padding-left: 2.15rem;
    }

.app-topbar-icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    border: 1px solid var(--app-border);
    color: #516078;
}

    .app-topbar-icon:hover {
        background: #eef4ff;
        color: var(--app-blue-600);
    }

.app-user-meta {
    line-height: 1.2;
}

.app-user-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.app-user-meta small {
    color: var(--app-muted);
    font-size: 0.76rem;
}

.app-logout-btn {
    border-radius: 0.62rem;
}

.app-content {
    padding: 1.2rem;
}

    .app-content > * {
        max-width: 1440px;
    }

.page-header h1 {
    font-size: 1.65rem;
    margin-bottom: 0.3rem;
}

.page-header p {
    color: var(--app-muted);
    margin-bottom: 0;
}

.stat-card,
.module-card,
.data-card,
.app-table-card {
    background: var(--app-card);
    border: 1px solid rgba(15, 47, 87, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(5, 24, 56, 0.06);
}

    .stat-card .text-muted,
    .module-card .text-muted,
    .data-card .text-muted,
    .app-table-card .text-muted {
        color: var(--app-muted) !important;
    }

.stat-card {
    padding: 1rem;
}

.stat-value {
    font-size: 1.65rem;
    font-weight: 700;
}

.stat-trend {
    color: var(--app-success);
    font-size: 0.78rem;
    font-weight: 600;
}

.module-card {
    height: 100%;
}

    .module-card .card-body {
        display: flex;
        flex-direction: column;
        gap: 0.6rem;
    }

.module-icon {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #edf3ff;
    color: var(--app-blue-600);
}

.data-card {
    padding: 1rem;
}

.app-table-card {
    overflow: hidden;
}

    .app-table-card .card-header,
    .app-table-card .app-card-header {
        padding: 1rem 1rem 0.75rem;
        background: transparent;
        border-bottom: 1px solid rgba(15, 47, 87, 0.08);
    }

        .app-table-card .card-header h4,
        .app-table-card .card-header h5,
        .app-table-card .app-card-header h4,
        .app-table-card .app-card-header h5 {
            margin-bottom: 0;
        }

    .app-table-card .card-body,
    .app-table-card .app-card-body,
    .app-table-card .app-card-toolbar,
    .app-table-card .app-card-empty {
        padding: 1rem;
    }

    .app-table-card .app-card-toolbar {
        border-bottom: 1px solid rgba(15, 47, 87, 0.08);
    }

    .app-table-card .app-card-empty {
        color: var(--app-muted);
    }

    .app-table-card .table {
        margin-bottom: 0;
    }

        .app-table-card .table > :not(caption) > * > * {
            padding: 0.68rem 1rem;
        }

    .app-table-card thead th {
        background: #f8fbff;
        color: #50617e;
        font-weight: 600;
        border-bottom-color: var(--app-border);
    }

    .app-table-card tbody tr:hover {
        background: #f8fbff;
    }

.app-sidebar-overlay {
    display: none;
}

.people-filter-toolbar {
    background: var(--app-card);
    border: 1px solid rgba(15, 47, 87, 0.08);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(5, 24, 56, 0.05);
}

    .people-filter-toolbar .form-control,
    .people-filter-toolbar .form-select,
    .people-filter-toolbar .btn {
        border-radius: 0.65rem;
        min-height: 2.45rem;
    }

.people-tabs {
    display: inline-flex;
    border-bottom: 1px solid var(--app-border);
}

.people-tab-link {
    text-decoration: none;
    color: var(--app-muted);
    font-weight: 600;
    padding: 0.5rem 0.8rem;
    border-bottom: 2px solid transparent;
}

    .people-tab-link.active {
        color: var(--app-blue-600);
        border-bottom-color: var(--app-blue-600);
    }

@media (max-width: 991.98px) {
    .app-sidebar {
        position: fixed;
        left: -252px;
        transition: left 0.25s ease;
    }

    .app-shell.sidebar-open .app-sidebar {
        left: 0;
    }

    .app-shell.sidebar-open .app-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.42);
        z-index: 1035;
    }

    .app-sidebar-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .app-search {
        width: min(360px, 70vw);
    }

    .app-topbar {
        padding: 0.75rem 0.95rem;
    }
}

@media (max-width: 767.98px) {
    .app-search {
        width: 100%;
    }

    .app-topbar {
        flex-wrap: wrap;
    }

    .app-topbar-left,
    .app-topbar-right {
        width: 100%;
        justify-content: space-between;
    }

    .app-user-meta {
        flex: 1;
    }

    .app-content {
        padding: 1rem 0.7rem;
    }

    .app-table-card .card-header,
    .app-table-card .app-card-header,
    .app-table-card .card-body,
    .app-table-card .app-card-body,
    .app-table-card .app-card-toolbar,
    .app-table-card .app-card-empty {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }

    .app-table-card .table > :not(caption) > * > * {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
}

.app-form-page {
    max-width: 1160px;
}

.app-form-page .app-page-header {
    max-width: 840px;
    margin-bottom: 1.35rem !important;
}

.app-back-link,
.app-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--app-blue-600);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 0.45rem;
}

.app-back-link:hover,
.app-page-kicker:hover {
    color: var(--app-blue-500);
}

.app-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--app-text);
    margin-bottom: 0.25rem;
    letter-spacing: -0.025em;
}

.app-page-subtitle {
    color: var(--app-muted);
    margin-bottom: 0;
}

.app-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-form-card {
    background: var(--app-card);
    border: 1px solid rgba(15, 47, 87, 0.09);
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(5, 24, 56, 0.055);
    overflow: hidden;
}

.app-form-card-header {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.15rem 1.35rem 0.95rem;
    border-bottom: 1px solid rgba(15, 47, 87, 0.08);
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.95), rgba(255, 255, 255, 0.96));
}

.app-form-card-header-split {
    justify-content: space-between;
    gap: 1rem;
}

.app-form-card-icon {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eef4ff, #e7f0ff);
    color: var(--app-blue-600);
    box-shadow: inset 0 0 0 1px rgba(23, 105, 232, 0.08);
    flex: 0 0 auto;
    font-size: 1.15rem;
}

.app-form-card-header h2 {
    font-size: 1.02rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.01em;
}

.app-form-card-header p {
    color: var(--app-muted);
    font-size: 0.85rem;
    margin: 0.15rem 0 0;
}

.app-form-card-body {
    padding: 1.35rem;
}

.app-form-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-top: 0.65rem;
}

.app-form-actions .btn {
    align-items: center;
    border-radius: 0.75rem;
    display: inline-flex;
    font-weight: 700;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding-left: 1.15rem;
    padding-right: 1.15rem;
}

.app-form .form-label {
    font-weight: 600;
    color: #334155;
    font-size: 0.86rem;
}

.app-form .form-control,
.app-form .form-select {
    border-color: var(--app-border);
    border-radius: 0.65rem;
    min-height: 2.75rem;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.app-form .form-control::placeholder {
    color: #94a3b8;
    opacity: 1;
}

.app-form .form-control:focus,
.app-form .form-select:focus {
    border-color: var(--app-blue-500);
    box-shadow: 0 0 0 0.2rem rgba(47, 125, 246, 0.14);
}

.app-form .form-text {
    color: var(--app-muted);
}

.app-form-check-spaced,
.app-form-switch {
    margin-bottom: 0;
}

.app-form-switch {
    align-items: center;
    background: #f6f9fd;
    border: 1px solid var(--app-border);
    border-radius: 999px;
    display: inline-flex;
    gap: 0.45rem;
    min-height: 2.35rem;
    min-width: max-content;
    padding: 0.35rem 0.75rem 0.35rem 2.55rem;
}

.app-form-switch .form-check-input {
    margin-left: -2rem;
    margin-top: 0;
}

.app-form-switch .form-check-label {
    color: #334155;
    font-size: 0.85rem;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .app-form-card-header,
    .app-form-card-header-split {
        align-items: flex-start;
        flex-direction: column;
    }

    .app-form-card-body {
        padding: 1rem;
    }

    .app-page-title {
        font-size: 1.65rem;
    }

    .app-form-actions {
        align-items: stretch;
        flex-direction: column;
    }
}

/* Forms builder first-pass UI */
.forms-builder-list {
    display: grid;
    gap: 1rem;
}

.forms-field-editor {
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.forms-field-editor-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.forms-field-editor-header h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.forms-field-editor-header p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0.25rem 0 0;
}

.forms-field-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.forms-options-panel[hidden] {
    display: none !important;
}

.forms-builder-help {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.forms-builder-switch {
    margin-top: 0.5rem;
}

.forms-status-panel {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-end;
}

.forms-public-page {
    max-width: 860px;
    margin: 0 auto;
}

.forms-public-header {
    margin-bottom: 1rem;
}

.forms-public-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.forms-public-header p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 0;
}

.forms-public-card {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.forms-public-field .form-label {
    font-weight: 700;
}

.forms-option-group {
    border: 0;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.35rem;
}

.forms-submission-summary {
    display: grid;
    gap: 0.25rem;
    max-width: 34rem;
}

.forms-submission-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 0.75rem;
}

.forms-submission-value {
    padding: 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.75rem;
    background: #fff;
}

@media (max-width: 768px) {
    .forms-field-editor-header {
        display: block;
    }

    .forms-field-actions {
        justify-content: flex-start;
        margin-top: 0.75rem;
    }
}
