html, body, button, input, select, textarea {
    font-family: "Segoe UI", system-ui, sans-serif;
}

body {
    background: #f5f5f4;
    color: #1c1917;
    margin: 0;
}

.cfms-nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.cfms-sidenav {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    width: 16rem;
    background: #022c22;
    color: #ecfdf5;
    transform: translateX(-105%);
}

.cfms-nav-toggle:checked ~ .cfms-sidenav {
    transform: none;
}

.cfms-logo {
    display: block;
    width: 7rem;
    height: auto;
    margin: 0 0 0.85rem;
    mix-blend-mode: screen;
}

.cfms-brand {
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid #064e3b;
}

.cfms-brand .eyebrow {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6ee7b7;
}

.cfms-brand strong {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.15rem;
}

.cfms-brand p {
    margin: 0.5rem 0 0;
    font-size: 0.85rem;
    color: #a7f3d0;
}

.cfms-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.75rem;
}

.cfms-nav a {
    display: block;
    margin-bottom: 0.15rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.6rem;
    color: #d1fae5;
    font-size: 0.9rem;
}

.cfms-nav a.active,
.cfms-nav a:hover {
    background: #065f46;
    color: #fff;
}

.cfms-user {
    padding: 1rem;
    border-top: 1px solid #064e3b;
    font-size: 0.85rem;
}

.cfms-user .links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.4rem;
}

.cfms-user a,
.cfms-user button {
    background: none;
    border: 0;
    padding: 0;
    color: #a7f3d0;
    cursor: pointer;
    font-size: 0.85rem;
}

.cfms-main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.cfms-top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(250, 250, 249, 0.96);
    border-bottom: 1px solid #e7e5e4;
}

.cfms-top h1 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.cfms-role {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #78716c;
}

.cfms-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1rem 2.5rem;
}

.card.cfms-form {
    width: 100%;
    max-width: none;
    margin: 0 0 1rem;
}

.cfms-content > .cfms-form {
    flex: 0 0 auto;
}

.cfms-form > .card-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
    align-content: start;
    padding: 1.5rem 1.75rem 2rem;
}

.cfms-form > .card-content > .btn,
.cfms-form > .card-content > button.btn,
.cfms-form > .card-content > a.btn {
    width: auto;
    justify-self: start;
}

.cfms-offering > .card-content {
    display: block;
}

.cfms-offer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cfms-member-list {
    max-height: 220px;
    margin: 0 0 1rem;
    overflow: auto;
    border: 1px solid #e7e5e4;
    border-radius: 0.75rem;
}

.cfms-member-list button {
    display: block;
    width: 100%;
    padding: 0.55rem 0.8rem;
    border: 0;
    border-bottom: 1px solid #f5f5f4;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.cfms-member-list button.active,
.cfms-member-list button:hover {
    background: #d1fae5;
}

.cfms-offer-meta,
.cfms-line {
    display: grid;
    gap: 0.75rem;
    align-items: start;
    margin-bottom: 0.75rem;
}

.cfms-offer-meta {
    grid-template-columns: minmax(0, 1fr) 16rem;
}

.cfms-line {
    grid-template-columns: minmax(0, 1fr) 10rem auto;
}

.cfms-line .cfms-member-list {
    margin: 0.35rem 0 0;
}

.cfms-form > .card-content > .btn,
.cfms-form > .card-content > button,
.cfms-form > .card-content > a,
.cfms-form > .card-content > p,
.cfms-form > .card-content > h2,
.cfms-form > .card-content > label,
.cfms-form > .card-content > table,
.cfms-form > .card-content > .row,
.cfms-form > .card-content > .card,
.cfms-form > .card-content > .cfms-alert,
.cfms-form > .card-content > .cfms-span,
.cfms-form > .card-content > ul {
    grid-column: 1 / -1;
}

@media (max-width: 600px) {
    .cfms-form > .card-content {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
}

.cfms-menu-btn {
    border: 1px solid #d6d3d1;
    border-radius: 0.6rem;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    color: #1c1917;
}

.card.cfms-card {
    border: 1px solid #e7e5e4;
    border-radius: 1rem;
    box-shadow: none;
    background: #fff;
}

.cfms-card .card-content {
    padding: 1.1rem 1.15rem;
}

.cfms-stat {
    margin: 0;
    color: #78716c;
    font-size: 0.85rem;
}

.cfms-stat-value {
    margin: 0.35rem 0 0;
    font-size: 1.7rem;
    font-weight: 600;
    text-align: right;
}

.cfms-hint {
    margin: 0.2rem 0 0;
    color: #a8a29e;
    font-size: 0.75rem;
    text-align: right;
}

.cfms-label {
    display: block;
    margin-bottom: 0.25rem;
    color: #57534e;
    font-size: 0.85rem;
}

.cfms-field,
select.cfms-field,
textarea.cfms-field {
    display: block;
    width: 100%;
    height: auto !important;
    margin: 0 0 0.85rem;
    padding: 0.55rem 0.75rem !important;
    border: 1px solid #d6d3d1 !important;
    border-radius: 0.75rem !important;
    background: #fff !important;
    box-sizing: border-box !important;
    box-shadow: none !important;
    max-width: 100%;
}

.cfms-filters {
    margin-bottom: 0.5rem;
}

.cfms-filters .btn,
.cfms-actions .btn {
    margin-top: 1.35rem;
}

.btn, .btn-large, .btn-small, .btn-flat {
    text-transform: none;
    letter-spacing: 0;
    border-radius: 0.75rem;
    height: auto;
    line-height: 1.4;
    padding: 0.55rem 1rem;
}

.btn, .btn-large, .btn-small {
    background-color: #065f46;
}

.btn:hover, .btn-large:hover, .btn-small:hover {
    background-color: #064e3b;
}

.btn-flat {
    color: #065f46;
    background: transparent;
    box-shadow: none;
}

.btn-dark {
    background: #1c1917;
}

.btn-dark:hover {
    background: #292524;
}

.btn-outline {
    background: #fff;
    color: #1c1917;
    border: 1px solid #d6d3d1;
    box-shadow: none;
}

table.cfms-table {
    font-size: 0.9rem;
}

table.cfms-table th {
    color: #78716c;
    font-weight: 500;
}

table.cfms-table td.num,
table.cfms-table th.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cfms-chip {
    display: inline-block;
    margin-left: 0.35rem;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    background: #e7e5e4;
    color: #44403c;
    font-size: 0.72rem;
}

.cfms-alert {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.85rem;
    border: 1px solid #a7f3d0;
    background: #ecfdf5;
    color: #064e3b;
}

.cfms-alert.bad {
    border-color: #fecaca;
    background: #fef2f2;
    color: #7f1d1d;
}

.cfms-alert.warn {
    border-color: #fcd34d;
    background: #fffbeb;
    color: #78350f;
}

.cfms-pages {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.45rem 1rem;
    margin-top: 0.75rem;
}

.cfms-pages.cfms-toolbar {
    justify-content: space-between;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.cfms-pages > .cfms-tablefoot,
.cfms-tablefoot.cfms-toolbar {
    flex: 0 1 auto;
    margin-left: auto;
}

.cfms-tablefoot.cfms-toolbar {
    margin-top: 0.75rem;
    margin-bottom: 0;
}

.cfms-pages.cfms-toolbar .cfms-dbpages {
    margin-top: 0;
}

.cfms-tablefoot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem 1rem;
}

.cfms-tablesearch {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.75rem;
}

.cfms-tablefoot input.cfms-local-search,
.cfms-tablesearch input.cfms-local-search[type="search"] {
    width: 14rem !important;
    max-width: 100%;
    flex: 0 0 auto;
    box-sizing: border-box !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 0.7rem !important;
    border: 1px solid #d6d3d1 !important;
    border-radius: 2px !important;
    background: #fff !important;
    box-shadow: none !important;
}

.cfms-tabletools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
}

.cfms-tabletools .btn,
.cfms-tablesearch .btn,
.cfms-dbpages .btn,
.cfms-pagehead .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    height: 34px;
    min-height: 34px;
    margin: 0;
    padding: 0 0.85rem;
    border: 0;
    border-radius: 999px;
    background: #0b3a82;
    color: #fff;
    box-shadow: none;
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
}

.cfms-tabletools .btn.btn-outline,
.cfms-pagehead .btn.btn-outline {
    background: #fff;
    color: #0b3a82;
    border: 1px solid #0b3a82;
}

.cfms-tabletools .btn.cfms-chevron,
.cfms-dbpages .btn.cfms-chevron,
.cfms-chevron {
    width: 34px;
    min-width: 34px;
    padding: 0;
    font-size: 1.3rem;
    line-height: 1;
}

table.cfms-table td form {
    display: inline-flex;
    margin: 0;
    vertical-align: middle;
}

.btn.is-busy,
button.is-busy,
a.btn.is-busy,
button:disabled,
.btn:disabled {
    pointer-events: none;
    opacity: 0.45;
}

.cfms-rows {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: #44403c;
    font-size: 0.85rem;
}

.cfms-rows select {
    width: auto;
    height: 32px;
    margin: 0;
    padding: 0 0.4rem;
    border: 1px solid #d6d3d1;
    border-radius: 2px;
    background: #fff;
}

.cfms-range {
    color: #44403c;
    font-size: 0.85rem;
    white-space: nowrap;
}

.cfms-actions-cell,
td.right-align {
    white-space: nowrap;
}

.cfms-actions-cell .btn,
td.right-align .btn,
.cfms-actions-cell button,
td.right-align button {
    margin: 0 0.2rem 0.2rem 0;
}

.cfms-listbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 1rem;
}

.cfms-listbar .cfms-field {
    flex: 1 1 14rem;
    width: auto !important;
    max-width: 22rem;
    margin: 0;
}

.cfms-listbar .btn {
    flex: 0 0 auto;
    margin: 0;
}

.cfms-pagesize {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0 0 1rem;
}

.cfms-listbar .cfms-pagesize {
    margin: 0;
}

.cfms-pagesize a {
    padding: 0.35rem 0.7rem;
    border: 1px solid #d6d3d1;
    border-radius: 999px;
    color: #065f46;
    font-size: 0.85rem;
}

.cfms-pagesize a.active {
    background: #065f46;
    border-color: #065f46;
    color: #fff;
}

.cfms-pick-field {
    position: relative;
}

select.cfms-picked {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

.cfms-pick-list {
    position: absolute;
    z-index: 30;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 240px;
    overflow: auto;
    background: #fff;
    border: 1px solid #d6d3d1;
    border-radius: 0.75rem;
    box-shadow: 0 10px 24px rgba(28, 25, 23, 0.08);
}

.cfms-pick-list button {
    display: block;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: 0;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.cfms-pick-list button.active,
.cfms-pick-list button:hover {
    background: #ecfdf5;
}

.cfms-pick-empty {
    margin: 0;
    padding: 0.55rem 0.75rem;
    color: #78716c;
}

.card.cfms-form,
.cfms-form > .card-content {
    overflow: visible;
}

.pagination li.active {
    background-color: #065f46;
}

.pagination li a {
    color: #065f46;
}

.cfms-login-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 0;
    min-height: 100vh;
}

.cfms-login-row::after {
    display: none;
}

.row.cfms-login-row > .col.cfms-login-hero,
.row.cfms-login-row > .col.cfms-login-panel {
    float: none;
    min-height: 100vh;
}

.cfms-login-hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    padding: 3rem 3.5rem;
    background: #022c22;
    color: #ecfdf5;
}

.cfms-login-hero .eyebrow {
    font-size: 1.05rem !important;
    letter-spacing: 0.16em !important;
}

.cfms-login-hero h1 {
    max-width: 16ch;
    margin: 0 0 0.85rem;
    font-size: clamp(2.6rem, 4.2vw, 3.6rem);
    line-height: 1.12;
    font-weight: 650;
}

.cfms-login-hero p {
    max-width: 28rem;
    margin: 0;
    color: #d1fae5;
    font-size: 1.25rem;
    line-height: 1.45;
}

.cfms-login-hero > p:last-child {
    font-size: 1.15rem;
    font-weight: 600;
    color: #a7f3d0;
}

.cfms-login-panel {
    display: flex;
    align-items: center;
    padding: 2rem 1.25rem;
    background: #fafaf9;
}

.cfms-login-panel form {
    width: 100%;
    max-width: 32rem;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
}

.cfms-login-panel .card-content,
.cfms-login-panel .input-field,
.cfms-login-panel .cfms-secret {
    box-sizing: border-box;
    max-width: 100%;
}

.cfms-login-panel h2 {
    margin-top: 0;
    font-size: 2.15rem;
}

.cfms-login-panel .cfms-hint,
.cfms-login-panel .cfms-label {
    font-size: 1.05rem;
    color: #44403c;
}

.cfms-login-panel .cfms-field {
    font-size: 1.1rem;
    padding: 0.8rem 0.9rem !important;
}

.cfms-login-panel .btn {
    font-size: 1.1rem;
    padding: 0.8rem 1rem;
}

.cfms-locale button {
    background: none;
    border: 0;
    color: #a7f3d0;
    cursor: pointer;
    padding: 0 0.35rem;
    font-size: 1.05rem;
}

.cfms-secret {
    position: relative;
    margin-bottom: 0.85rem;
}

.cfms-secret .cfms-field {
    margin-bottom: 0;
    padding-right: 5.5rem !important;
}

.cfms-secret-toggle {
    position: absolute;
    top: 0;
    right: 0.35rem;
    height: 100%;
    border: 0;
    background: transparent;
    color: #065f46;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
}

.cfms-locale button.active {
    color: #fff;
    font-weight: 600;
}

.cfms-top .cfms-locale button {
    color: #57534e;
}

.cfms-top .cfms-locale button.active {
    color: #022c22;
}

.cfms-behind {
    background: #fffbeb;
}

canvas[data-chart] {
    width: 100% !important;
    max-height: 320px;
}

.cfms-content > .row,
.cfms-content > .card,
.cfms-content > .cfms-board,
.cfms-content > .cfms-tabs,
.cfms-content > .cfms-report-head {
    width: 100%;
    max-width: 100%;
}

.cfms-board {
    display: grid;
    gap: 0.85rem;
    margin: 0 0 0.85rem;
}

.cfms-board-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cfms-board-auto {
    grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
}

.cfms-board-charts {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
}

.cfms-board-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
}

.cfms-board .card,
.cfms-panel,
.cfms-metric {
    margin: 0;
    height: auto;
}

.cfms-metric {
    display: block;
    color: inherit;
}

a.cfms-metric:hover {
    border-color: #6ee7b7;
}

.cfms-metric .cfms-stat-value,
.cfms-metric .cfms-hint {
    text-align: left;
}

.cfms-metric .cfms-stat-value {
    color: #022c22;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.cfms-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0 0 1rem;
}

.cfms-tabs a {
    padding: 0.4rem 0.85rem;
    border: 1px solid #e7e5e4;
    border-radius: 999px;
    background: #fff;
    color: #065f46;
}

.cfms-tabs a.active,
.cfms-tabs a:hover {
    background: #022c22;
    border-color: #022c22;
    color: #fff;
}

.cfms-report-head,
.cfms-pagehead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
}

.cfms-pagehead-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.cfms-pagehead .cfms-stat-value,
.cfms-pagehead .cfms-stat {
    text-align: left;
    margin: 0;
}

.cfms-role-list {
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
}

.cfms-role-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
    border-top: 1px solid #f5f5f4;
}

.card.cfms-offer-edit {
    max-width: 36rem;
}

.cfms-offer-edit > .card-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem 1.25rem 1.25rem;
}

.cfms-edit-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 11rem;
    gap: 1rem;
    align-items: center;
    margin: 0;
    padding: 0.7rem 0;
    border-bottom: 1px solid #f5f5f4;
}

.cfms-offer-edit .cfms-edit-line span {
    font-weight: 650;
}

.cfms-offer-edit .cfms-field {
    margin: 0;
    text-align: right;
}

.cfms-edit-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0 0.35rem;
    font-size: 1.05rem;
}

.cfms-offer-edit .btn {
    align-self: flex-start;
    margin-top: 0.75rem;
}

.cfms-report-head .cfms-stat {
    color: #1c1917;
    font-size: 1rem;
}

.cfms-panel .cfms-table {
    width: 100%;
}

@media (max-width: 1100px) {
    .cfms-board-4,
    .cfms-board-split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .cfms-board-4,
    .cfms-board-charts,
    .cfms-board-split,
    .cfms-board-auto {
        grid-template-columns: 1fr;
    }

    .cfms-offer-meta,
    .cfms-line,
    .cfms-edit-line {
        grid-template-columns: 1fr;
    }

    .cfms-top {
        flex-wrap: wrap;
    }

    .cfms-report-head {
        align-items: stretch;
        flex-direction: column;
    }
}

.cfms-content > * {
    min-width: 0;
    max-width: 100%;
}

.cfms-content a {
    color: #065f46;
}

.cfms-content a:hover {
    color: #022c22;
}

.cfms-actions-cell,
td.right-align {
    white-space: nowrap;
}

.cfms-actions-cell a,
td.right-align a {
    margin-right: 0.65rem;
}

.cfms-content .row {
    margin-left: 0;
    margin-right: 0;
}

.cfms-content .input-field {
    margin-top: 0;
}

.row.cfms-filters,
form.row.cfms-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cfms-filters > .col,
.cfms-filters .row > .col {
    float: none !important;
    width: auto !important;
    max-width: none;
    min-height: 0;
    margin: 0 !important;
    padding: 0 !important;
}

.cfms-filters > form,
.cfms-filters .row {
    display: flex;
    flex: 1 1 20rem;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    margin: 0;
}

.cfms-filters .input-field {
    flex: 1 1 10rem;
    margin: 0;
}

.cfms-filters .cfms-actions {
    flex: 0 0 auto;
    margin-left: auto;
}

.cfms-filters .btn,
.cfms-actions .btn {
    margin-top: 0;
}

.cfms-split,
.card > .card-content.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.cfms-split > form,
.card > .card-content.row > form,
.card > .card-content.row > .col {
    display: flex;
    flex: 1 1 16rem;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0;
}

.cfms-split .input-field,
.card > .card-content.row .input-field,
.card > .card-content.row .col {
    float: none !important;
    width: auto !important;
    flex: 1 1 10rem;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0;
    min-height: 0;
}

.cfms-split .cfms-field,
.card > .card-content.row .cfms-field {
    margin: 0;
}

.cfms-card:not(.cfms-form) > .card-content:has(table) {
    overflow-x: auto;
}

.cfms-split + .cfms-split {
    margin-top: 0.75rem;
}

table.responsive-table.cfms-table {
    display: table !important;
    width: 100%;
    border-collapse: collapse;
}

table.responsive-table.cfms-table thead {
    display: table-header-group !important;
    float: none !important;
}

table.responsive-table.cfms-table tbody {
    display: table-row-group !important;
    width: auto !important;
    overflow: visible !important;
    white-space: normal !important;
}

table.responsive-table.cfms-table tr {
    display: table-row !important;
    border: 0 !important;
    padding: 0 !important;
}

table.responsive-table.cfms-table tr.cfms-row-off {
    display: none !important;
}

table.responsive-table.cfms-table th,
table.responsive-table.cfms-table td {
    display: table-cell !important;
    white-space: normal;
}

table.cfms-table td .cfms-field {
    display: inline-block;
    width: 9.5rem;
    margin: 0 0.35rem 0 0;
}

.cfms-actions-cell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
}

@media (min-width: 993px) {
    .cfms-sidenav {
        transform: none;
    }

    .cfms-main {
        margin-left: 16rem;
    }

    .cfms-menu-btn {
        display: none;
    }

    .cfms-content {
        padding: 1.5rem 2rem 3rem;
    }
}

.cfms-dbpages,
nav.cfms-dbpages {
    display: flex;
    background: transparent !important;
    width: auto;
    height: auto !important;
    line-height: normal !important;
    box-shadow: none !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.4rem;
    margin-top: 0.45rem;
    color: #44403c;
    font-size: 0.85rem;
}

.cfms-tablefoot input.cfms-local-search {
    margin-right: 0;
}

.cfms-content .cfms-tabletools a.btn,
.cfms-content .cfms-dbpages a.btn,
.cfms-content .cfms-tablesearch .btn,
.cfms-content .cfms-listbar .btn,
.cfms-content .cfms-actions-cell .btn,
.cfms-content td.right-align .btn,
.cfms-content .cfms-pagehead .btn {
    color: #fff;
}

.cfms-content .btn.btn-outline {
    color: #0b3a82;
}

.cfms-actions-cell.cfms-member-actions {
    gap: 0.4rem;
}

.cfms-content .cfms-actions-cell.cfms-member-actions .btn,
.cfms-content .cfms-actions-cell.cfms-member-actions button,
.cfms-pagehead-actions.cfms-member-actions .btn,
.cfms-pagehead-actions.cfms-member-actions button {
    height: 32px;
    min-height: 32px;
    margin: 0;
    padding: 0 0.85rem;
    border: 1px solid #065f46;
    border-radius: 999px;
    background: #fff;
    color: #065f46 !important;
    box-shadow: none;
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 30px;
    text-transform: none;
}

.cfms-content .cfms-actions-cell.cfms-member-actions .btn-fill,
.cfms-pagehead-actions.cfms-member-actions .btn-fill {
    background: #065f46;
    color: #fff !important;
}

.cfms-member-actions form {
    margin: 0;
}

.cfms-pagehead-actions.cfms-member-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

table.cfms-table td a {
    color: #065f46;
    font-weight: 650;
}

.cfms-content .btn,
.cfms-content a.btn,
.cfms-content button.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.32rem;
    vertical-align: middle;
}

.btn > .material-icons,
button > .material-icons,
a.btn > .material-icons {
    width: 1.05rem;
    height: 1.05rem;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1;
}

.cfms-chevron .material-icons {
    width: 1.25rem;
    height: 1.25rem;
    font-size: 1.25rem;
}

.cfms-content table.cfms-table td:not(.cfms-member-actions) .btn:not(.btn-danger),
.cfms-content table.cfms-table td:not(.cfms-member-actions) button.btn:not(.btn-danger) {
    height: 30px;
    min-height: 30px;
    margin: 0.12rem;
    padding: 0 0.72rem;
    border: 1px solid #e7e5e4 !important;
    border-radius: 999px;
    background: #fff !important;
    color: #1c1917 !important;
    box-shadow: none;
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
}

.cfms-content table.cfms-table td:not(.cfms-member-actions) .btn:not(.btn-danger) .material-icons {
    color: #065f46;
}

.cfms-content table.cfms-table td:not(.cfms-member-actions) .btn:not(.btn-danger):hover {
    background: #ecfdf5 !important;
    border-color: #6ee7b7 !important;
}

.cfms-content table.cfms-table td .btn.btn-danger {
    height: 30px;
    min-height: 30px;
    margin: 0.12rem;
    padding: 0 0.72rem;
    border-radius: 999px;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    font-size: 0.78rem;
}

.btn.btn-danger,
.cfms-content .btn.btn-danger,
.cfms-content .cfms-actions-cell .btn.btn-danger,
.cfms-content td.right-align .btn.btn-danger,
.cfms-content .cfms-actions-cell.cfms-member-actions .btn.btn-danger,
.cfms-content .cfms-pagehead-actions.cfms-member-actions .btn.btn-danger {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
    color: #fff !important;
}

.btn.btn-danger:hover,
.cfms-content .btn.btn-danger:hover {
    background: #991b1b !important;
}
