/* List presentation only. Never change editor, report or printed document layout. */
@media screen {
    html body.erp-formal-theme article.content .erp-create-button {
        position:relative; display:inline-flex!important; align-items:center; justify-content:center;
        flex:0 0 42px!important; width:42px!important; min-width:42px!important; max-width:42px;
        height:42px!important; min-height:42px!important; padding:0!important; margin-block:0!important;
        border-radius:50%!important; border:1px solid #176f76!important; background:#176f76!important; color:#fff!important;
        box-shadow:0 3px 9px #176f7624!important; font-size:0!important; line-height:0!important;
        transition:background-color .15s ease,box-shadow .15s ease,transform .15s ease; cursor:pointer; vertical-align:middle;
    }
    html body.erp-formal-theme article.content .erp-create-button::before {
        content:'+'; position:static; display:block; width:auto; height:auto; background:none;
        font:400 29px/1 Arial,sans-serif; color:inherit; transform:none; opacity:1;
    }
    html body.erp-formal-theme article.content .erp-create-button::after { display:none; }
    html body.erp-formal-theme article.content .erp-create-button>* { display:none!important; }
    html body.erp-formal-theme article.content .erp-create-button:hover:not(:disabled):not([aria-disabled="true"]) {
        background:#115c63!important; box-shadow:0 5px 13px #176f763b!important; transform:translateY(-1px);
    }
    html body.erp-formal-theme article.content .erp-create-button:focus-visible {
        outline:3px solid #70afb7!important; outline-offset:3px; box-shadow:0 0 0 5px #fff!important;
    }
    html body.erp-formal-theme article.content .erp-create-button:active:not(:disabled) { transform:scale(.95); }
    html body.erp-formal-theme article.content .erp-create-button:disabled,
    html body.erp-formal-theme article.content .erp-create-button[aria-disabled="true"] { opacity:.45; cursor:not-allowed; transform:none; box-shadow:none!important; }
    html body.erp-formal-theme article.content .erp-create-button[hidden] { display:none!important; }
    html.crud-editor-page-open body.erp-formal-theme article.content .document-list-heading__add { display:none!important; }

    /* One title row: create, count, page size and print. Search has its own full-width row. */
    html body.erp-formal-theme article.content .erp-list-toolbar {
        display:grid!important; grid-template-columns:minmax(180px,1fr) auto auto auto;
        align-items:center!important; gap:8px 14px!important; width:100%; padding:10px 14px!important;
    }
    html body.erp-formal-theme .erp-list-toolbar .accounting-list-heading { grid-column:1; grid-row:1; gap:10px; }
    html body.erp-formal-theme .erp-list-toolbar .accounting-list-title { font-size:1.05rem; line-height:1.6; overflow-wrap:anywhere; }
    html body.erp-formal-theme .erp-list-toolbar .table-tools { display:contents!important; }
    html body.erp-formal-theme .erp-list-toolbar .table-search-box {
        grid-column:1/-1; grid-row:2; min-height:38px; height:38px; margin:0; border-radius:8px;
    }
    html body.erp-formal-theme .erp-list-toolbar .table-search-box input { min-height:0; font-size:.82rem; }
    html body.erp-formal-theme .erp-list-toolbar .table-row-limit { grid-column:3; grid-row:1; }
    html body.erp-formal-theme .erp-list-toolbar .table-row-limit label { font-size:.72rem; gap:7px; }
    html body.erp-formal-theme .erp-list-toolbar .table-row-limit :is(select,input) { width:66px; min-height:34px; padding:4px 7px; }
    html body.erp-formal-theme .erp-list-toolbar .accounting-list-count { grid-column:2; grid-row:1; margin:0; font-size:.73rem; white-space:nowrap; }
    html body.erp-formal-theme .erp-list-toolbar .table-print-button { grid-column:4; grid-row:1; min-height:34px; padding:5px 10px!important; font-size:.73rem; white-space:nowrap; }
    html body.erp-formal-theme .erp-list-toolbar .table-pager { grid-column:1/-1; grid-row:3; justify-content:flex-end; margin:0; }
    html body.erp-formal-theme .erp-list-toolbar [hidden] { display:none!important; }
    html body.erp-formal-theme .erp-list-toolbar .accounting-list-empty { grid-column:1/-1; grid-row:4; padding:10px; }
    html body.erp-formal-theme .erp-list-redundant-header { display:none!important; }
    html.crud-operation-list-open body.erp-formal-theme article.content .erp-list-page-heading-redundant { display:none!important; }
    html body.erp-formal-theme article.content .erp-data-list-card { min-height:0!important; margin-bottom:10px!important; }
    html body.erp-formal-theme article.content .erp-list-layout-row { margin-inline:0!important; min-width:0; }
    html body.erp-formal-theme article.content .erp-list-layout-row>[class*="col"] { min-width:0; }
    html body.erp-formal-theme article.content .erp-data-list-card>.card-body:not(.p-0) { padding:12px!important; }
    html body.erp-formal-theme article.content .erp-data-list-card table :is(th,td) { padding:7px 10px!important; line-height:1.5; }
    html body.erp-formal-theme article.content .erp-data-list-card table th { font-size:.76rem; }
    html body.erp-formal-theme article.content .erp-data-list-card table td { font-size:.8rem; }
    html body.erp-formal-theme article.content .erp-data-list-card table .btn { min-height:30px; }

    html body.erp-formal-theme article.content :is(.document-list-heading,.erp-list-context-heading) {
        min-height:0; padding:10px 14px!important; margin-bottom:8px; gap:10px; box-shadow:none!important;
    }
    html body.erp-formal-theme article.content .erp-list-context-heading { justify-content:flex-start; }
    html body.erp-formal-theme article.content .erp-list-context-heading>.d-flex { flex:0 1 auto; }
    html body.erp-formal-theme article.content .document-list-heading .erp-page-title { font-size:1.18rem; }
    html body.erp-formal-theme article.content .document-list-heading .erp-page-subtitle { margin-top:2px; font-size:.74rem; }
    html body.erp-formal-theme article.content .erp-list-toolbar--external-heading {
        grid-template-columns:minmax(180px,1fr) auto auto auto;
    }
    html body.erp-formal-theme .erp-list-toolbar--external-heading .table-search-box { grid-column:1; grid-row:1; }
    html body.erp-formal-theme .erp-list-toolbar--external-heading .table-pager { grid-row:2; }
    html body.erp-formal-theme .erp-list-toolbar--external-heading .accounting-list-empty { grid-row:3; }

    @media (max-width:767.98px) {
        html body.erp-formal-theme article.content .erp-create-button { width:44px!important; min-width:44px!important; max-width:44px; height:44px!important; min-height:44px!important; flex-basis:44px!important; }
        html body.erp-formal-theme article.content .erp-list-toolbar { grid-template-columns:minmax(0,1fr) auto; gap:8px!important; padding:10px!important; }
        html body.erp-formal-theme .erp-list-toolbar .accounting-list-heading { grid-column:1; }
        html body.erp-formal-theme .erp-list-toolbar .table-row-limit { grid-column:1; grid-row:3; }
        html body.erp-formal-theme .erp-list-toolbar .accounting-list-count { grid-column:2; grid-row:1; align-self:center; }
        html body.erp-formal-theme .erp-list-toolbar .table-print-button { grid-column:2; grid-row:3; }
        html body.erp-formal-theme .erp-list-toolbar .table-pager { grid-column:1/-1; grid-row:4; justify-content:center; }
        html body.erp-formal-theme .erp-list-toolbar .accounting-list-empty { grid-row:5; }
        html body.erp-formal-theme .erp-list-toolbar--external-heading .table-search-box { grid-column:1/-1; grid-row:1; }
        html body.erp-formal-theme .erp-list-toolbar--external-heading .accounting-list-count { display:none; }
        html body.erp-formal-theme .erp-list-toolbar--external-heading .table-row-limit,
        html body.erp-formal-theme .erp-list-toolbar--external-heading .table-print-button { grid-row:2; }
        html body.erp-formal-theme .erp-list-toolbar--external-heading .table-pager { grid-row:3; }
        html body.erp-formal-theme article.content .erp-data-list-card table .btn { min-height:38px; min-width:38px; }
    }
    @media (prefers-reduced-motion:reduce) {
        html body.erp-formal-theme article.content .erp-create-button { transition:none; }
        html body.erp-formal-theme article.content .erp-create-button:hover,
        html body.erp-formal-theme article.content .erp-create-button:active { transform:none; }
    }
}
