html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cub3JnLzIwMDAvc3ZnIiBvdmVyZmxvdz0iaGlkZGVuIj48ZGVmcz48Y2xpcFBhdGggaWQ9ImNsaXAwIj48cmVjdCB4PSIyMzUiIHk9IjUxIiB3aWR0aD0iNTYiIGhlaWdodD0iNDkiLz48L2NsaXBQYXRoPjwvZGVmcz48ZyBjbGlwLXBhdGg9InVybCgjY2xpcDApIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMjM1IC01MSkiPjxwYXRoIGQ9Ik0yNjMuNTA2IDUxQzI2NC43MTcgNTEgMjY1LjgxMyA1MS40ODM3IDI2Ni42MDYgNTIuMjY1OEwyNjcuMDUyIDUyLjc5ODcgMjY3LjUzOSA1My42MjgzIDI5MC4xODUgOTIuMTgzMSAyOTAuNTQ1IDkyLjc5NSAyOTAuNjU2IDkyLjk5NkMyOTAuODc3IDkzLjUxMyAyOTEgOTQuMDgxNSAyOTEgOTQuNjc4MiAyOTEgOTcuMDY1MSAyODkuMDM4IDk5IDI4Ni42MTcgOTlMMjQwLjM4MyA5OUMyMzcuOTYzIDk5IDIzNiA5Ny4wNjUxIDIzNiA5NC42NzgyIDIzNiA5NC4zNzk5IDIzNi4wMzEgOTQuMDg4NiAyMzYuMDg5IDkzLjgwNzJMMjM2LjMzOCA5My4wMTYyIDIzNi44NTggOTIuMTMxNCAyNTkuNDczIDUzLjYyOTQgMjU5Ljk2MSA1Mi43OTg1IDI2MC40MDcgNTIuMjY1OEMyNjEuMiA1MS40ODM3IDI2Mi4yOTYgNTEgMjYzLjUwNiA1MVpNMjYzLjU4NiA2Ni4wMTgzQzI2MC43MzcgNjYuMDE4MyAyNTkuMzEzIDY3LjEyNDUgMjU5LjMxMyA2OS4zMzcgMjU5LjMxMyA2OS42MTAyIDI1OS4zMzIgNjkuODYwOCAyNTkuMzcxIDcwLjA4ODdMMjYxLjc5NSA4NC4wMTYxIDI2NS4zOCA4NC4wMTYxIDI2Ny44MjEgNjkuNzQ3NUMyNjcuODYgNjkuNzMwOSAyNjcuODc5IDY5LjU4NzcgMjY3Ljg3OSA2OS4zMTc5IDI2Ny44NzkgNjcuMTE4MiAyNjYuNDQ4IDY2LjAxODMgMjYzLjU4NiA2Ni4wMTgzWk0yNjMuNTc2IDg2LjA1NDdDMjYxLjA0OSA4Ni4wNTQ3IDI1OS43ODYgODcuMzAwNSAyNTkuNzg2IDg5Ljc5MjEgMjU5Ljc4NiA5Mi4yODM3IDI2MS4wNDkgOTMuNTI5NSAyNjMuNTc2IDkzLjUyOTUgMjY2LjExNiA5My41Mjk1IDI2Ny4zODcgOTIuMjgzNyAyNjcuMzg3IDg5Ljc5MjEgMjY3LjM4NyA4Ny4zMDA1IDI2Ni4xMTYgODYuMDU0NyAyNjMuNTc2IDg2LjA1NDdaIiBmaWxsPSIjRkZF5000IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiLz48L2c+PC9zdmc+) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.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;
}

/* Internal CUSTOMER.txt keys remain in the markup for data mapping, but are never shown to staff. */
.qualifications-card .code-note,
.qualifications-card .qual-grid small,
.qualifications-card .wide-field small {
    display: none !important;
}


/* System-wide readability floor for tab content. */
.app-shell {
    font-size: 12px;
}

.app-shell :where(p, a, small, span, label, input, select, textarea, td, th),
.app-shell button:not(.icon-button):not(.modal-close):not(.workspace-tab-close),
.app-shell :where(.panel-footer, .panel-footer *) {
    font-size: 12px !important;
}


/* Compact system geometry: reduce excessive rounding across the CRM. */
.app-shell :where(button, input, textarea, select, section, article, aside, table, div, a, span) {
    border-radius: 4px !important;
}

.app-shell :where(.avatar, .user-badge, .status-dot, .tab-draft-dot) {
    border-radius: 50% !important;
}


/* White theme: global fallback for page-scoped components. */
.app-shell.theme-light .data-panel,
.app-shell.theme-light .summary-card,
.app-shell.theme-light .metric-card,
.app-shell.theme-light .stat-card,
.app-shell.theme-light .new-application-panel,
.app-shell.theme-light .customer-proclamations-card,
.app-shell.theme-light .documents-panel,
.app-shell.theme-light .candidate-summary,
.app-shell.theme-light .application-modal-section,
.app-shell.theme-light .customer-application-modal,
.app-shell.theme-light .fek-modal,
.app-shell.theme-light .column-picker,
.app-shell.theme-light .filter-panel,
.app-shell.theme-light .field-groups details,
.app-shell.theme-light .field-options label {
    background: #fff !important;
    color: #20242a !important;
    border-color: #c8cfd7 !important;
}

.app-shell.theme-light .metric-card:hover,
.app-shell.theme-light tbody tr:hover,
.app-shell.theme-light .field-options label:hover {
    background: #e9edf1 !important;
}

.app-shell.theme-light .metric-card span,
.app-shell.theme-light .metric-card small,
.app-shell.theme-light .stat-card span,
.app-shell.theme-light .stat-card small,
.app-shell.theme-light .summary-card span,
.app-shell.theme-light .summary-card small {
    color: #56616e !important;
}

.app-shell.theme-light .metric-card strong,
.app-shell.theme-light .stat-card strong,
.app-shell.theme-light .summary-card strong {
    color: #15191e !important;
}

.app-shell.theme-light .status-tag,
.app-shell.theme-light .payment-tag,
.app-shell.theme-light .application-status,
.app-shell.theme-light .payment-status,
.app-shell.theme-light .status.active,
.app-shell.theme-light .status.appointed,
.app-shell.theme-light .demo-badge {
    color: #fff !important;
}

.app-shell.theme-light .status-tag *,
.app-shell.theme-light .payment-tag *,
.app-shell.theme-light .application-status *,
.app-shell.theme-light .payment-status *,
.app-shell.theme-light .status.active *,
.app-shell.theme-light .status.appointed *,
.app-shell.theme-light .demo-badge * {
    color: inherit !important;
}

.app-shell.theme-light .customer-link,
.app-shell.theme-light .proclamation-link,
.app-shell.theme-light .application-link {
    color: #20242a !important;
}

.app-shell.theme-light .customer-link:hover,
.app-shell.theme-light .proclamation-link:hover,
.app-shell.theme-light .application-link:hover {
    color: #d95722 !important;
}

.app-shell.theme-light .field-options label span,
.app-shell.theme-light .field-groups summary,
.app-shell.theme-light .picker-head strong {
    color: #20242a !important;
}

.app-shell.theme-light .field-options label small,
.app-shell.theme-light .field-groups summary span,
.app-shell.theme-light .picker-head span {
    color: #657180 !important;
}


/* White theme: page-specific component coverage. */
.app-shell.theme-light .customer-application-stats,
.app-shell.theme-light .selection-toolbar,
.app-shell.theme-light .customer-application-modal-head,
.app-shell.theme-light .customer-application-modal-footer,
.app-shell.theme-light .application-modal-head,
.app-shell.theme-light .transfer-modal header,
.app-shell.theme-light .transfer-modal footer {
    background: #f4f6f8 !important;
    color: #20242a !important;
    border-color: #c8cfd7 !important;
}

.app-shell.theme-light .customer-application-stats > div,
.app-shell.theme-light .application-overview-grid > div,
.app-shell.theme-light .application-modal-section,
.app-shell.theme-light .application-comments,
.app-shell.theme-light .payment-readonly,
.app-shell.theme-light .column-options label,
.app-shell.theme-light .customer-suggestions,
.app-shell.theme-light .customer-suggestions > button,
.app-shell.theme-light .selected-customer,
.app-shell.theme-light .profile-summary > div,
.app-shell.theme-light .proclamation-field,
.app-shell.theme-light .field-value,
.app-shell.theme-light .readonly-field {
    background: #fff !important;
    color: #20242a !important;
    border-color: #c8cfd7 !important;
}

.app-shell.theme-light .customer-application-stats span,
.app-shell.theme-light .application-overview-grid span,
.app-shell.theme-light .application-overview-grid small,
.app-shell.theme-light .payment-readonly small,
.app-shell.theme-light .column-options label,
.app-shell.theme-light .column-options label span,
.app-shell.theme-light .column-options label small,
.app-shell.theme-light .selection-toolbar span,
.app-shell.theme-light .profile-summary span,
.app-shell.theme-light .proclamation-field small {
    color: #56616e !important;
}

.app-shell.theme-light .customer-application-stats strong,
.app-shell.theme-light .application-overview-grid strong,
.app-shell.theme-light .payment-readonly strong,
.app-shell.theme-light .selection-toolbar strong,
.app-shell.theme-light .profile-summary strong,
.app-shell.theme-light .proclamation-field strong,
.app-shell.theme-light .field-value {
    color: #15191e !important;
}

.app-shell.theme-light .columns-button,
.app-shell.theme-light .toolbar-button,
.app-shell.theme-light .column-picker button,
.app-shell.theme-light .selection-actions button,
.app-shell.theme-light .edit-button,
.app-shell.theme-light .secondary-button,
.app-shell.theme-light .close-panel,
.app-shell.theme-light .modal-close,
.app-shell.theme-light .customer-application-modal-head button,
.app-shell.theme-light .customer-application-modal-footer button,
.app-shell.theme-light .application-detail-tabs button {
    background: #eef1f4 !important;
    color: #26313d !important;
    border-color: #c3cad2 !important;
}

.app-shell.theme-light .columns-button.active,
.app-shell.theme-light .application-detail-tabs button.active {
    background: #fff1ea !important;
    color: #c94e1d !important;
    border-color: #ef6c35 !important;
}

.app-shell.theme-light .delete-button,
.app-shell.theme-light .selection-actions .delete-selection {
    background: #fff5f3 !important;
    color: #b83d2d !important;
    border-color: #d7a29a !important;
}

.app-shell.theme-light .category-tag,
.app-shell.theme-light .pdf-button.available,
.app-shell.theme-light .pdf-button.missing {
    color: #fff !important;
}

.app-shell.theme-light .category-tag *,
.app-shell.theme-light .pdf-button.available *,
.app-shell.theme-light .pdf-button.missing * {
    color: inherit !important;
}

.app-shell.theme-light .customer-suggestions > button:hover:not(:disabled),
.app-shell.theme-light .column-options label:hover {
    background: #e9edf1 !important;
}


/* Shared management workspace chrome; the route envelope lives in crm-layout.css. */
.management-page.management-page > .page-head,
.management-page.management-page > .configuration-head {
    box-sizing: border-box;
    min-height: 58px;
    margin: 0 0 12px;
    padding: 0 0 10px;
    border-bottom: 1px solid #34383d;
    align-items: flex-start;
}

.management-page.management-page > .page-head h1,
.management-page.management-page > .configuration-head h1 {
    margin: 0 0 4px;
    color: #f0f2f4;
    font-size: 22px;
    line-height: 1.2;
}

.management-page.management-page > .page-head p,
.management-page.management-page > .configuration-head p {
    margin: 0;
    color: #8b939d;
    font-size: 11px;
    line-height: 1.45;
}

.management-page.management-page > .page-head button,
.management-page.management-page > .configuration-head button,
.management-page.management-page > .page-head .autosave-indicator,
.management-page.management-page > .page-head .as-of {
    margin-top: 2px;
}

.theme-light .management-page.management-page > .page-head,
.theme-light .management-page.management-page > .configuration-head {
    border-bottom-color: #c8cfd7;
}

.theme-light .management-page.management-page > .page-head h1,
.theme-light .management-page.management-page > .configuration-head h1 {
    color: #20242a;
}

@media (max-width: 620px) {
    .management-page.management-page > .page-head,
    .management-page.management-page > .configuration-head {
        min-height: 0;
    }
}


/* Unified entity-list template */
body .data-panel.entity-list-template{border:1px solid #34383d;background:#202327;border-radius:10px;overflow:hidden}
body .entity-list-template .toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px;border-bottom:1px solid #34383d}
body .entity-list-template .search-box{box-sizing:border-box;flex:0 1 340px;width:min(340px,29%);height:38px;border:1px solid #3b4046;background:#191b1e;border-radius:7px;display:flex;align-items:center;gap:9px;padding:0 12px;color:#666e78}
body .entity-list-template .search-box input{width:100%;height:100%;border:0;outline:0;background:transparent;color:#d9dde1;font-family:"Segoe UI",Arial,sans-serif;font-size:11px;font-weight:400}
body .entity-list-template .toolbar-actions,
body .entity-list-template .toolbar-options{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:nowrap;min-width:0}
body .entity-list-template .toolbar-actions button,
body .entity-list-template .toolbar-options button,
body .entity-list-template .toolbar-actions select,
body .entity-list-template .toolbar-options select{box-sizing:border-box;height:34px;border:1px solid #3b4046;border-radius:6px;background:#272b2f;color:#aeb4bc;padding:0 12px;font-family:"Segoe UI",Arial,sans-serif;font-size:11px;font-weight:400}
body .entity-list-template .toolbar-actions button,
body .entity-list-template .toolbar-options button{cursor:pointer}
body .entity-list-template .toolbar-actions .primary-action,
body .entity-list-template .toolbar-options .primary-action,
body .entity-list-template .toolbar-actions .add-customer-button,
body .entity-list-template .toolbar-options .add-customer-button{height:34px;min-height:34px;border-color:#ef6c35;background:#ef6c35;color:#fff;font-weight:800}
body .entity-list-template .table-wrap{overflow:auto}
body .entity-list-template table{width:100%;border-collapse:collapse;min-width:850px}
body .entity-list-template th{box-sizing:border-box;height:41px;text-align:left;vertical-align:middle;color:#727a84;font-family:"Segoe UI",Arial,sans-serif;font-size:9px;letter-spacing:.06em;text-transform:uppercase;font-weight:600;background:#1b1e21;padding:0 14px!important;border-bottom:1px solid #34383d;white-space:nowrap}
body .entity-list-template th,
body .entity-list-template td{border-right:1px solid #3a3f45}
body .entity-list-template th:last-child,
body .entity-list-template td:last-child{border-right:0}
body .entity-list-template td{box-sizing:border-box;height:45px;vertical-align:middle;color:#d9dde1;font-family:"Segoe UI",Arial,sans-serif;font-size:11px;font-weight:400;padding:0 14px!important;border-bottom:1px solid #303439;white-space:nowrap}
body .entity-list-template td.row-actions{height:45px;align-items:center}
body .entity-list-template tbody tr:hover{background:#24282c}
body .entity-list-template .column-head-content{display:flex;align-items:center;gap:5px;width:100%;min-width:max-content}
body .entity-list-template .column-order-controls{display:inline-flex!important;align-items:center;gap:1px;margin-left:auto;padding-left:8px}
body .entity-list-template .column-order-controls button{display:inline-flex!important;align-items:center;justify-content:center;width:17px;height:17px;min-height:17px;padding:0;border:1px solid transparent;border-radius:3px;background:transparent;color:#747d87;font-size:11px;font-weight:700;line-height:1;cursor:pointer}
body .entity-list-template .column-order-controls button:hover:not(:disabled){border-color:#4a5057;background:#292d31;color:#d8dde2}
body .entity-list-template .column-order-controls button:disabled{opacity:.25;cursor:default}
body .entity-list-template .sort-indicator{display:inline-flex;align-items:center;justify-content:center;min-width:13px;margin-left:6px;color:#59616a;font-size:11px;font-weight:800;letter-spacing:0}
body .entity-list-template .sort-indicator.active{color:#ef8a60}
body .entity-list-template .panel-footer{box-sizing:border-box;min-height:58px;padding:10px 14px;display:flex;align-items:center;justify-content:space-between;gap:15px;color:#737b85;font-size:10px;border-top:0;background:#202327}
body .entity-list-template .page-size{display:flex;align-items:center;gap:8px}
body .entity-list-template .page-size select{height:32px;background:#272b2f;color:#d5d9de;border:1px solid #3b4046;border-radius:5px;padding:0 24px 0 9px;font-size:10px}
body .entity-list-template .result-count{display:flex;align-items:center;gap:12px;padding:0}
body .entity-list-template .result-count strong{color:#e7eaed;font-size:11px;font-weight:400}
body .entity-list-template .pager{display:flex;align-items:center;gap:8px}
body .entity-list-template .pager button{display:inline-flex;align-items:center;justify-content:center;width:30px;height:34px;padding:0;background:#272b2f;color:#aeb4bc;border:1px solid #3b4046;border-radius:6px;font-size:11px;cursor:pointer}
body .entity-list-template .pager button:disabled{opacity:.4;cursor:default}
body .entity-metrics-template{gap:10px;margin-top:12px}
body .entity-metrics-template .metric-card,
body .entity-metrics-template .summary-card{box-sizing:border-box;min-height:92px;border-radius:8px;padding:12px 14px;font-family:"Segoe UI",Arial,sans-serif}
body .entity-metrics-template .metric-card span,
body .entity-metrics-template .summary-card span{display:block;color:#8b929b;font-size:10px;font-weight:400}
body .entity-metrics-template .metric-card strong,
body .entity-metrics-template .summary-card strong{display:block;color:#f2f3f5;font-size:21px;font-weight:400;margin-top:6px}
body .entity-metrics-template .metric-card small,
body .entity-metrics-template .summary-card small{display:block;color:#6f7781;font-size:9px;font-weight:400;margin-top:3px}
@media(max-width:1100px){body .entity-list-template .search-box{width:min(340px,50%)}body .entity-list-template .toolbar-options{flex-wrap:wrap}}
@media(max-width:700px){body .entity-list-template .toolbar{align-items:stretch;flex-direction:column;gap:10px}body .entity-list-template .search-box{width:auto}body .entity-list-template .toolbar-actions,body .entity-list-template .toolbar-options{flex-wrap:wrap;justify-content:flex-start}body .entity-list-template .panel-footer{align-items:stretch;flex-direction:column}body .entity-list-template .result-count{justify-content:space-between}}


/* Shared column-filter language */
.grid-column-filter{position:relative;display:inline-flex;align-items:center;margin-left:auto;font-family:inherit;font-weight:400}
.grid-column-filter-trigger{position:relative;display:inline-flex!important;align-items:center;justify-content:center;width:20px!important;height:20px!important;min-height:20px!important;padding:0!important;border:1px solid transparent!important;border-radius:3px!important;background:transparent!important;color:#747d87!important;cursor:pointer}
.grid-column-filter-trigger:hover,.grid-column-filter-trigger.active{border-color:#747d87!important;background:#292d31!important;color:#ef7a42!important}
.grid-column-filter-trigger svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.grid-column-filter-trigger i{position:absolute;right:1px;top:1px;width:4px;height:4px;border-radius:50%;background:#ef6c35}
body .entity-list-template th.reorderable-column{cursor:pointer}
body .entity-list-template .column-head-content{min-width:0;gap:4px}
body .entity-list-template .column-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .entity-list-template .sort-indicator{display:none;min-width:0;margin-left:2px;color:#ef8a60}
body .entity-list-template .sort-indicator.active{display:inline-flex}
body .entity-list-template .grid-column-sort{display:inline-flex!important;align-items:center;gap:4px;min-width:0;flex:1;height:100%!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;font:inherit!important;letter-spacing:inherit;text-transform:inherit;text-align:left;cursor:pointer}
body .entity-list-template .grid-column-sort span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .entity-list-template .grid-column-sort b{flex:0 0 auto;color:#ef8a60;font-size:11px}
body .entity-list-template .grid-column-filter{flex:0 0 auto;margin-left:auto}
.grid-column-filter-popover[popover]{position:fixed;inset:auto;margin:0;z-index:2147483000;box-sizing:border-box;width:280px;max-width:calc(100vw - 16px);max-height:calc(100vh - 16px);padding:8px 0 0;border:1px solid #454b52;border-radius:6px;background:#202327;color:#dce1e6;box-shadow:0 10px 28px rgba(0,0,0,.42);overflow:hidden;text-align:left;text-transform:none;letter-spacing:normal;font-family:inherit;font-size:11px;font-weight:400;line-height:1.35}
.grid-column-filter-popover[popover]::backdrop{background:transparent}
.grid-column-filter-popover[popover] button,
.grid-column-filter-popover[popover] input,
.grid-column-filter-popover[popover] label,
.grid-column-filter-popover[popover] span{font-family:inherit;font-weight:400}
.grid-filter-search{display:flex;align-items:center;gap:7px;height:32px;margin:0 9px 7px;padding:0 8px;border:1px solid #3b4046;border-radius:4px;background:#191b1e;color:#78828c}
.grid-filter-search input{box-sizing:border-box;width:100%;height:100%;padding:0;border:0;outline:0;background:transparent;color:#e0e4e8;font-size:11px}
.grid-filter-all{box-sizing:border-box;display:grid!important;grid-template-columns:17px minmax(0,1fr);align-items:center;gap:8px;width:calc(100% - 18px)!important;height:30px!important;min-height:30px!important;margin:0 9px 5px;padding:0 6px!important;border:0!important;border-radius:3px!important;background:transparent!important;color:#dce1e6!important;text-align:left;cursor:pointer}
.grid-filter-all:hover{background:#292d31!important}
.grid-filter-checkbox{display:grid;place-items:center;width:14px;height:14px;border:1px solid #59616b;border-radius:3px;color:transparent;font-size:9px;font-weight:400}
.grid-filter-checkbox.checked{border-color:#ef6c35;background:#ef6c35;color:#fff}
.grid-filter-options,.grid-filter-date-tree{max-height:230px;overflow:auto;padding:0 9px 7px}
.grid-filter-options label{display:grid;grid-template-columns:16px minmax(0,1fr);align-items:center;gap:8px;min-height:28px;padding:0 6px;border-radius:3px;color:#d3d8dd;font-size:11px;font-weight:400;cursor:pointer}
.grid-filter-options label:hover,.grid-filter-tree-row:hover{background:#292d31}
.grid-filter-options label input,.grid-filter-date-tree input{width:14px;height:14px;margin:0;accent-color:#ef6c35}
.grid-filter-options label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.grid-filter-empty{padding:22px 8px;color:#8b949e;text-align:center;font-size:11px;font-weight:400}
.grid-filter-range{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:8px 9px 12px}
.grid-filter-range label{display:flex;flex-direction:column;gap:6px;color:#a8b0b8;font-size:11px;font-weight:400}
.grid-filter-range input{box-sizing:border-box;width:100%;height:32px;padding:0 8px;border:1px solid #3b4046;border-radius:4px;background:#191b1e;color:#e0e4e8;font-size:11px;font-weight:400}
.grid-filter-year-hint{margin:-5px 9px 12px;color:#8b949e;font-size:10px;font-weight:400}
.grid-filter-tree-row{display:grid;grid-template-columns:18px 18px minmax(0,1fr);align-items:center;min-height:28px;border-radius:3px;color:#dce1e6;font-size:11px;font-weight:400}
.grid-filter-tree-row.month{padding-left:14px}
.grid-filter-tree-row.day{padding-left:28px;cursor:pointer}
.grid-filter-expander,.grid-filter-tree-label{height:28px!important;min-height:28px!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;font-size:11px!important;font-weight:400!important;text-align:left}
.grid-filter-expander{font-size:17px!important;line-height:1}
.grid-column-filter-popover[popover] footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:1px;padding:8px 9px;border-top:1px solid #34383d;background:#1b1e21;border-radius:0 0 6px 6px}
.grid-filter-footer-actions{display:flex;align-items:center;gap:6px}
.grid-column-filter-popover[popover] footer button{height:29px!important;min-height:29px!important;padding:0 10px!important;border:1px solid #4a5158!important;border-radius:4px!important;background:#292d31!important;color:#d3d8dd!important;font-size:11px!important;font-weight:400!important;cursor:pointer}
.grid-column-filter-popover[popover] footer .grid-filter-clear{border-color:transparent!important;background:transparent!important;color:#ff9465!important}
.grid-column-filter-popover[popover] footer .grid-filter-clear:hover{border-color:#5a4033!important;background:#33271f!important}
.grid-column-filter-popover[popover] footer .grid-filter-apply{border-color:#ef6c35!important;background:#ef6c35!important;color:#fff!important}
.grid-column-filter-popover[popover] footer button:disabled{opacity:.42;cursor:not-allowed}
.clear-grid-filters{white-space:nowrap}
.clear-grid-filters:not(:disabled){border-color:#ef6c35!important;color:#ff9465!important}
.app-shell.theme-light .grid-column-filter-trigger:hover,.app-shell.theme-light .grid-column-filter-trigger.active{background:#eef1f4!important}
.app-shell.theme-light .grid-column-filter-popover[popover]{border-color:#aeb6bf;background:#fff;color:#26303a;box-shadow:0 8px 24px rgba(31,41,55,.22)}
.app-shell.theme-light .grid-filter-search,.app-shell.theme-light .grid-filter-range input{border-color:#cbd1d8;background:#fff;color:#1f2933}
.app-shell.theme-light .grid-filter-search input{color:#1f2933}
.app-shell.theme-light .grid-filter-all{color:#26303a!important}
.app-shell.theme-light .grid-filter-all:hover,.app-shell.theme-light .grid-filter-options label:hover,.app-shell.theme-light .grid-filter-tree-row:hover{background:#eef1f4!important}
.app-shell.theme-light .grid-filter-options label,.app-shell.theme-light .grid-filter-tree-row{color:#26303a}
.app-shell.theme-light .grid-column-filter-popover[popover] footer{border-color:#d8dde3;background:#f5f7f9}
.app-shell.theme-light .grid-column-filter-popover[popover] footer button{border-color:#c5ccd3!important;background:#fff!important;color:#26303a!important}
.app-shell.theme-light .grid-column-filter-popover[popover] footer .grid-filter-clear{border-color:transparent!important;background:transparent!important;color:#d95822!important}
.app-shell.theme-light .grid-column-filter-popover[popover] footer .grid-filter-apply{border-color:#ef6c35!important;background:#ef6c35!important;color:#fff!important}

/* One grid-header language for operational tables */
body .journal-table .column-head-content{display:flex;align-items:center;gap:4px;width:100%;min-width:0}
body .journal-table .grid-column-sort{display:inline-flex!important;align-items:center;gap:4px;min-width:0;flex:1;height:100%!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:inherit!important;font:inherit!important;letter-spacing:inherit;text-transform:inherit;text-align:left;cursor:pointer}
body .journal-table .grid-column-sort span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body .journal-table .grid-column-sort b{flex:0 0 auto;color:#ef8a60;font-size:11px}
body .journal-table .grid-column-filter{flex:0 0 auto;margin-left:auto}
body .journal-table .grid-column-filter-trigger{width:20px!important;height:20px!important;min-height:20px!important;border-radius:2px!important}
