/* Whole-admin visual layer. Real controllers, action visibility and print layouts are unchanged. */
@media screen {
    body.sandu-admin .sandu-result-count { font-size: calc(1em + 3px); color: #d93025; white-space: nowrap; }
    body.sandu-admin {
        --sandu-blue: #1890ff;
        --sandu-border: #e8ebef;
        --sandu-muted: #909399;
        --sandu-label: #606266;
        --sandu-table-head: #f7f8fa;
    }

    /* Dcat grids and their real toolbar / filter / pagination containers. */
    body.sandu-admin .dcat-box { border: 1px solid var(--sandu-border); border-radius: 4px; box-shadow: none; }
    body.sandu-admin .custom-data-table-header { padding: 12px 16px; border-bottom: 1px solid var(--sandu-border); }
    body.sandu-admin .custom-data-table-header > .table-responsive { overflow: visible; }
    body.sandu-admin .custom-data-table-header .top { display: flex !important; flex-wrap: wrap; align-items: center; justify-content: flex-start !important; gap: 8px; }
    body.sandu-admin .custom-data-table-header .top > .pull-right { margin-left: 0; float: none !important; }
    body.sandu-admin [data-responsive-table-toolbar] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; }
    body.sandu-admin .custom-data-table-header .top > h4 { flex-basis: 100%; }
    body.sandu-admin .custom-data-table-header [data-responsive-table-toolbar] { justify-content: flex-start; }
    body.sandu-admin .custom-data-table-header h4 { font-size: 15px; font-weight: 500; line-height: 24px; }
    body.sandu-admin .custom-data-table-header .btn-group { margin-top: 0; margin-bottom: 0; }
    body.sandu-admin .custom-data-table-header input.form-control { max-width: 100%; }
    body.sandu-admin .order-inline-filter > .sandu-date-control { width: 170px; flex: 0 1 170px; max-width: 100%; }
    body.sandu-admin :is(.meal-report-top-tools, .income-report-top-tools) { margin-left: 0; justify-content: flex-start; }
    body.sandu-admin .filter-box.card { border-color: var(--sandu-border); background: #fafbfc; border-radius: 4px; box-shadow: none; }
    body.sandu-admin .filter-box .card-body { padding: 8px 12px; }
    body.sandu-admin .filter-box .form-group { margin-bottom: 12px; }
    body.sandu-admin .filter-box .control-label { color: var(--sandu-label); font-weight: 400; font-size: 13px; }
    body.sandu-admin .grid-selector { padding: 10px 16px; border-bottom: 1px solid var(--sandu-border); }
    body.sandu-admin .grid-selector .wrap { padding: 5px 0; }
    body.sandu-admin .grid-selector .select-label { color: var(--sandu-label); font-size: 13px; }
    body.sandu-admin .grid-selector .select-options a.active { color: var(--sandu-blue); background: #e6f3ff; border-radius: 3px; }
    body.sandu-admin .table-wrapper { min-width: 0; max-width: 100%; }
    body.sandu-admin .table-responsive { overscroll-behavior-x: contain; }
    body.sandu-admin .table thead th { font-size: 13px; line-height: 20px; }
    body.sandu-admin .table tbody td { font-size: 13px; line-height: 20px; }
    body.sandu-admin .table-has-many td { padding: 8px; }
    body.sandu-admin .table-has-many .form-group { margin-bottom: 0; }
    body.sandu-admin .dcat-box > .box-footer { background: #fff; border-top: 1px solid var(--sandu-border); padding: 12px 16px; }
    body.sandu-admin .pagination { gap: 4px; flex-wrap: wrap; box-shadow: none; }
    body.sandu-admin .pagination .page-link { min-width: 30px; min-height: 30px; padding: 5px 9px; border: 1px solid var(--sandu-border); border-radius: 3px; color: var(--sandu-label); line-height: 18px; background: #fff; }
    body.sandu-admin .pagination .page-item.active .page-link { background: var(--sandu-blue); border-color: var(--sandu-blue); color: #fff; }
    body.sandu-admin .pagination .page-item.disabled .page-link { background: #fafafa; color: #b9bdc4; }
    body.sandu-admin .pagination .page-item:not(.active):not(.disabled) .page-link:hover { color: var(--sandu-blue); border-color: #91caff; }

    /* Create / edit, settings, show pages and permission trees. Preserve widget sizing. */
    body.sandu-admin .box-header.with-border { border-bottom: 1px solid var(--sandu-border); background: #fff; }
    body.sandu-admin .box-header .box-title { font-size: 15px; font-weight: 500; color: #333; }
    body.sandu-admin .form-horizontal .fields-group { padding-top: 8px; }
    body.sandu-admin .form-horizontal .form-group { margin-bottom: 18px; }
    body.sandu-admin .form-horizontal .control-label { color: var(--sandu-label); font-size: 14px; font-weight: 400; line-height: 22px; padding-top: 5px; }
    body.sandu-admin .form-horizontal .form-control { border-color: #dcdfe6; color: #333; font-size: 14px; box-shadow: none; }
    body.sandu-admin .form-horizontal textarea.form-control { min-height: 88px; height: auto; padding: 8px 11px; line-height: 1.6; }
    body.sandu-admin .form-horizontal .form-control:focus { border-color: var(--sandu-blue); box-shadow: 0 0 0 2px #1890ff12; }
    body.sandu-admin .form-horizontal .form-control:disabled,
    body.sandu-admin .form-horizontal .form-control[readonly] { background: #f7f8fa; }
    body.sandu-admin .form-horizontal .input-group-text { min-height: 32px; padding: 4px 10px; border-color: #dcdfe6; color: #909399; font-size: 13px; }
    body.sandu-admin .form-horizontal .help-block { margin: 6px 0 0; font-size: 12px; line-height: 1.6; color: var(--sandu-muted); }
    body.sandu-admin .form-horizontal .has-error .help-block,
    body.sandu-admin .form-horizontal .has-error .control-label { color: #e45656; }
    body.sandu-admin .form-horizontal .has-error .form-control { border-color: #e45656; }
    body.sandu-admin .form-horizontal .box-footer { background: #fafbfc; border-top: 1px solid var(--sandu-border); padding-top: 14px; padding-bottom: 14px; }
    body.sandu-admin .select2-container--default .select2-selection--single { border-color: #dcdfe6; border-radius: 4px; height: 32px; min-height: 32px; }
    body.sandu-admin .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 30px; padding-left: 11px; color: #333; font-size: 13px; }
    body.sandu-admin .select2-container--default .select2-selection--single .select2-selection__arrow { height: 30px; }
    body.sandu-admin .select2-container--default .select2-selection--multiple { min-height: 32px; height: auto; border-color: #dcdfe6; border-radius: 4px; }
    body.sandu-admin .select2-container--default.select2-container--focus .select2-selection--multiple,
    body.sandu-admin .select2-container--open .select2-selection--single { border-color: var(--sandu-blue); }
    body.sandu-admin .select2-dropdown { border-color: #dcdfe6; border-radius: 4px; box-shadow: 0 4px 14px #00142814; }
    body.sandu-admin .select2-results__option { padding: 7px 11px; font-size: 13px; line-height: 20px; }
    body.sandu-admin .select2-container--default .select2-results__option--highlighted[aria-selected] { background: #e6f3ff; color: #1890ff; }
    body.sandu-admin .select2-search--dropdown .select2-search__field { border: 1px solid #dcdfe6; border-radius: 3px; min-height: 30px; }
    body.sandu-admin .nav-tabs { border-bottom-color: var(--sandu-border); }
    body.sandu-admin .nav-tabs .nav-link { color: var(--sandu-label); font-size: 14px; padding: 10px 16px; }
    body.sandu-admin .nav-tabs .nav-link.active { color: var(--sandu-blue); border-bottom-color: var(--sandu-blue); }
    body.sandu-admin .show-field.form-group { padding: 0 0 12px; margin-bottom: 10px; border-bottom: 1px solid #f0f2f5; }
    body.sandu-admin .show-field .box-show { border: 0; box-shadow: none; background: #fafbfc; border-radius: 3px; }
    body.sandu-admin .show-field .box-show > .box-body { background: #fafbfc; padding: 8px 12px; min-height: 36px; line-height: 22px; overflow-wrap: anywhere; }
    body.sandu-admin .dd { width: 100%; max-width: none; }
    body.sandu-admin .dd-handle { min-height: 38px; height: auto; padding: 8px 12px; border: 1px solid var(--sandu-border); border-radius: 3px; background: #fafbfc; color: #333; font-size: 14px; font-weight: 400; line-height: 22px; }
    body.sandu-admin .dd-handle:hover { border-color: #91caff; background: #f5faff; }
    body.sandu-admin .dd-nodrag a { display: inline-block; padding: 0 5px; color: var(--sandu-blue); }
    body.sandu-admin .dd-placeholder { border-color: #91caff; background: #e6f3ff; border-radius: 3px; }
    body.sandu-admin .jstree-wrapper { max-width: 100%; padding: 12px; border: 1px solid var(--sandu-border); border-radius: 4px; background: #fafbfc; overflow: auto; }
    body.sandu-admin .jstree-default .jstree-anchor { font-size: 13px; border-radius: 3px; }
    body.sandu-admin .jstree-default .jstree-clicked { background: #e6f3ff; box-shadow: none; color: var(--sandu-blue); }
    body.sandu-admin .jstree-default .jstree-hovered { background: #f0f5fa; box-shadow: none; }

    /* Existing modal forms, report dialogs and Dcat confirmation dialogs. */
    body.sandu-admin .layui-layer { border: 1px solid var(--sandu-border); border-radius: 5px; box-shadow: 0 12px 40px #00142824; color: #333; }
    body.sandu-admin .layui-layer-title { background: #fff; border-bottom: 1px solid var(--sandu-border); color: #333; font-size: 15px; }
    body.sandu-admin .layui-layer-btn { border-top: 1px solid var(--sandu-border); background: #fafbfc; }
    body.sandu-admin .layui-layer-btn a { height: 32px; line-height: 30px; padding: 0 15px; border: 1px solid #dcdfe6; border-radius: 4px; font-size: 13px; color: #606266; background: #fff; }
    body.sandu-admin .layui-layer-btn .layui-layer-btn0 { border-color: var(--sandu-blue); background: var(--sandu-blue); color: #fff; }
    body.sandu-admin .modal-content { border: 1px solid var(--sandu-border); border-radius: 5px; box-shadow: 0 12px 40px #00142824; color: #333; }
    body.sandu-admin .modal-header { padding: 14px 18px; border-bottom: 1px solid var(--sandu-border); align-items: center; }
    body.sandu-admin .modal-title { font-size: 16px; line-height: 24px; font-weight: 500; }
    body.sandu-admin .modal-body { padding: 18px; }
    body.sandu-admin .modal-footer { padding: 12px 18px; border-top: 1px solid var(--sandu-border); gap: 8px; }
    body.sandu-admin .modal-header .close { padding: 12px; margin: -8px -8px -8px auto; color: #909399; }
    body.sandu-admin .swal2-popup { border-radius: 5px; font-family: inherit; }
    body.sandu-admin .swal2-popup .swal2-title { font-size: 20px; font-weight: 500; }
    body.sandu-admin .swal2-popup .swal2-content { font-size: 14px; line-height: 1.7; }
    body.sandu-admin .swal2-popup .swal2-styled { min-height: 32px; padding: 6px 16px; border-radius: 4px; font-size: 14px; }
    body.sandu-admin .swal2-popup .swal2-confirm { background-color: var(--sandu-blue); }
    body.sandu-admin .btn-outline-primary { border-color: #91caff; color: var(--sandu-blue); }
    body.sandu-admin .btn-outline-primary:hover { border-color: var(--sandu-blue); background: var(--sandu-blue); color: #fff; }
    body.sandu-admin .btn-white { border-color: #dcdfe6; color: var(--sandu-label); background: #fff; }
    body.sandu-admin .btn-white:hover { color: var(--sandu-blue); border-color: #91caff; background: #f5faff; }

    /* Exact classes shared by the seven bespoke report screens and finance screens. */
    body.sandu-admin :is(.meal-report-panel, .leave-change-panel, .package-summary-panel, .regular-report-panel, .income-report-panel, .money-report-panel, .data-export-panel, .refund-batch-panel, .refund-record-panel) {
        min-width: 0; max-width: 100%; padding: 16px; margin-bottom: 14px; border: 1px solid var(--sandu-border); border-radius: 4px; background: #fff; color: #333; font-size: 14px; box-shadow: none;
    }
    body.sandu-admin :is(.meal-report-filter, .leave-change-filter, .package-summary-filter, .regular-report-filter, .income-report-filter, .money-report-filter, .data-export-filter) {
        display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; min-width: 0;
    }
    body.sandu-admin :is(.meal-report-field, .leave-change-field, .package-summary-field, .regular-report-field, .income-report-field, .money-report-field, .data-export-field) {
        flex: 0 1 180px; width: 180px; min-width: 145px; max-width: 100%;
    }
    body.sandu-admin .leave-change-field.compact { flex-basis: 145px; width: 145px; }
    body.sandu-admin .package-summary-field.wide { flex-basis: 240px; width: 240px; }
    body.sandu-admin :is(.meal-report-date-group, .income-report-date-group, .money-report-date-group, .data-export-date-group) { max-width: 100%; min-width: 0; gap: 12px; }
    body.sandu-admin :is(.meal-report-field, .leave-change-field, .package-summary-field, .regular-report-field, .income-report-field, .money-report-field, .data-export-field, .refund-batch-field) label {
        display: block; margin-bottom: 6px; color: var(--sandu-label); font-size: 13px; line-height: 20px; font-weight: 400;
    }
    body.sandu-admin :is(.meal-report-field, .leave-change-field, .package-summary-field, .regular-report-field, .income-report-field, .money-report-field, .data-export-field, .refund-batch-field) :is(input:not([type=checkbox]):not([type=radio]), select) {
        height: 32px; min-height: 32px; width: 100%; min-width: 0; max-width: 100%; padding: 4px 11px; border: 1px solid #dcdfe6; border-radius: 4px; background: #fff; color: #333; font-size: 13px; line-height: 22px;
    }
    body.sandu-admin :is(.meal-report-field, .leave-change-field, .package-summary-field, .regular-report-field, .income-report-field, .money-report-field, .data-export-field, .refund-batch-field) :is(input, select):focus { outline: 0; border-color: var(--sandu-blue); box-shadow: 0 0 0 2px #1890ff12; }
    body.sandu-admin :is(.meal-report-field, .regular-report-field, .income-report-field, .refund-batch-field) .select2-container { min-width: 0; max-width: 100%; }
    body.sandu-admin .meal-report-field .select2-container--default .select2-selection--single { height: 32px; border-color: #dcdfe6; }
    body.sandu-admin .meal-report-field .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 30px; }
    body.sandu-admin .meal-report-field .select2-container--default .select2-selection--single .select2-selection__arrow { height: 30px; }

    /* Finance filters used a ten-column fixed minimum grid; size by available panel width. */
    body.sandu-admin .refund-batch-filter { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 12px; width: 100%; min-width: 0; align-items: end; }
    body.sandu-admin .refund-batch-field { min-width: 0; }
    body.sandu-admin .refund-batch-actions { display: flex; flex-wrap: wrap; grid-column: 1 / -1; align-items: center; gap: 8px; }
    body.sandu-admin .refund-batch-actions .btn { min-width: 0; width: auto; }
    body.sandu-admin :is(.meal-report-actions, .leave-change-actions, .package-summary-actions, .regular-report-actions, .income-report-actions, .money-report-actions, .data-export-actions, .meal-report-modal-actions, .money-report-modal-actions) { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; align-items: center; }
    body.sandu-admin :is(.meal-report-btn, .leave-change-btn, .package-summary-btn, .regular-report-btn, .income-report-btn, .money-report-btn, .data-export-btn) {
        min-height: 32px; height: auto; padding: 5px 14px; border: 1px solid #dcdfe6; border-radius: 4px; font-size: 13px; font-weight: 400; line-height: 20px; background: #fff; color: var(--sandu-label); text-decoration: none; box-shadow: none;
    }
    body.sandu-admin :is(.meal-report-btn, .leave-change-btn, .package-summary-btn, .regular-report-btn, .income-report-btn, .money-report-btn, .data-export-btn):is(.primary, .active) { background: var(--sandu-blue); border-color: var(--sandu-blue); color: #fff; }
    body.sandu-admin :is(.meal-report-btn, .leave-change-btn, .package-summary-btn, .regular-report-btn, .income-report-btn, .money-report-btn, .data-export-btn):not(.primary):not(.active):not(.disabled):not([aria-disabled=true]):hover { color: var(--sandu-blue); border-color: #91caff; background: #f5faff; }
    body.sandu-admin :is(.meal-report-tabs, .income-report-tabs, .money-report-tabs, .data-export-tabs) { border-color: var(--sandu-border); }
    body.sandu-admin :is(.meal-report-tabs-label, .income-report-tabs-label) { font-weight: 400; font-size: 13px; color: var(--sandu-label); }
    body.sandu-admin :is(.meal-report-date-shortcuts, .income-report-date-shortcuts, .money-report-date-shortcuts, .data-export-date-shortcuts) { min-width: 280px; max-width: min(380px, calc(100vw - 50px)); border-color: var(--sandu-border); box-shadow: 0 6px 20px #00142818; }
    body.sandu-admin :is(.meal-report-date-shortcuts, .income-report-date-shortcuts, .money-report-date-shortcuts, .data-export-date-shortcuts) button { border-color: #dcdfe6; font-size: 13px; height: 30px; }
    body.sandu-admin :is(.meal-report-date-shortcuts, .income-report-date-shortcuts, .money-report-date-shortcuts, .data-export-date-shortcuts) button:hover { color: var(--sandu-blue); border-color: #91caff; }

    /* Summary cards preserve warning / success semantics and every clickable drill-down. */
    body.sandu-admin :is(.meal-report-summary, .regular-report-summary, .income-report-summary, .money-report-summary, .refund-batch-detail-stats) { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 10px; margin-bottom: 14px; }
    body.sandu-admin :is(.meal-report-summary-item, .regular-report-summary-item, .income-report-summary-item, .money-report-summary-item, .refund-batch-stat, .refund-batch-preview-stat, .refund-batch-detail-stat) { min-width: 0; border: 1px solid var(--sandu-border); border-radius: 4px; background: #fff; padding: 13px 14px; }
    body.sandu-admin :is(.refund-batch-summary, .refund-batch-preview-summary) { display: grid; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); gap: 10px; }
    body.sandu-admin :is(.meal-report-summary-item, .regular-report-summary-item, .income-report-summary-item, .money-report-summary-item) > span { color: var(--sandu-label); font-size: 13px; font-weight: 400; line-height: 20px; }
    body.sandu-admin :is(.meal-report-summary-item, .regular-report-summary-item, .income-report-summary-item, .money-report-summary-item, .refund-batch-stat, .refund-batch-preview-stat, .refund-batch-detail-stat) strong { font-size: 22px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; color: var(--sandu-blue); }
    body.sandu-admin :is(.refund-batch-stat, .refund-batch-preview-stat, .refund-batch-detail-stat):is(.amount, .failed) strong { color: #d9534f; }
    body.sandu-admin :is(.refund-batch-stat, .refund-batch-preview-stat, .refund-batch-detail-stat).success strong { color: #21a366; }
    body.sandu-admin :is(.meal-report-summary-item, .money-report-summary-item).clickable:hover { border-color: #91caff; box-shadow: 0 3px 10px #1890ff12; }
    body.sandu-admin :is(.meal-report-summary-item, .money-report-summary-item) small { color: var(--sandu-blue); font-size: 12px; }
    body.sandu-admin :is(.meal-report-sheet-title, .meal-report-section-title, .leave-change-title, .package-summary-title, .money-report-section-title, .data-export-title, .refund-batch-detail-title, .refund-batch-preview-title) { color: #333; font-size: 16px; line-height: 24px; font-weight: 500; }
    body.sandu-admin :is(.refund-batch-table-head, .refund-record-head, .refund-batch-detail-head, .refund-batch-preview-head, .data-export-table-head, .leave-change-head, .package-summary-head) { flex-wrap: wrap; gap: 10px; align-items: center; }
    body.sandu-admin :is(.refund-batch-table-head, .refund-record-head) h4 { font-size: 15px; font-weight: 500; line-height: 24px; }

    /* Keep wide data horizontally scrollable in existing wrappers, not the whole page. */
    body.sandu-admin :is(.meal-report-table-scroll, .leave-change-scroll, .package-summary-scroll, .regular-report-table-wrap, .income-report-table-wrap, .data-export-scroll, .refund-batch-table-wrap, .refund-record-table-wrap, .refund-batch-detail-table-wrap, .refund-batch-preview-table-wrap) { max-width: 100%; min-width: 0; overflow-x: auto; border-color: var(--sandu-border); overscroll-behavior-x: contain; }
    body.sandu-admin :is(.meal-report-table, .meal-report-class-table, .meal-report-modal-table, .leave-change-table, .package-summary-table, .regular-report-table, .income-report-table, .money-report-table, .money-report-modal-table, .data-export-table, .refund-batch-table, .refund-record-table, .refund-batch-detail-table, .refund-batch-preview-table) { width: 100%; border-collapse: collapse; color: #333; font-size: 13px; line-height: 20px; background: #fff; }
    body.sandu-admin :is(.meal-report-table, .meal-report-class-table, .meal-report-modal-table, .leave-change-table, .package-summary-table, .regular-report-table, .income-report-table, .money-report-table, .money-report-modal-table, .data-export-table, .refund-batch-table, .refund-record-table, .refund-batch-detail-table, .refund-batch-preview-table) :is(th, td) { padding: 9px 11px; border-color: var(--sandu-border); vertical-align: middle; }
    body.sandu-admin :is(.meal-report-table, .meal-report-class-table, .meal-report-modal-table, .leave-change-table, .package-summary-table, .regular-report-table, .income-report-table, .money-report-table, .money-report-modal-table, .data-export-table, .refund-batch-table, .refund-record-table, .refund-batch-detail-table, .refund-batch-preview-table) th { background: var(--sandu-table-head); color: var(--sandu-label); font-weight: 500; }
    body.sandu-admin :is(.meal-report-table, .meal-report-class-table, .meal-report-modal-table, .leave-change-table, .package-summary-table, .regular-report-table, .income-report-table, .money-report-table, .money-report-modal-table, .data-export-table, .refund-batch-table, .refund-record-table, .refund-batch-detail-table, .refund-batch-preview-table) tbody tr:hover { background: #f5f9fe; }
    body.sandu-admin :is(.regular-report-table, .income-report-table) .total-row { background: #f7faff; font-weight: 500; }
    body.sandu-admin .money-report-panel:has(> .money-report-table) { overflow-x: auto; overscroll-behavior-x: contain; }
    body.sandu-admin .money-report-panel > .money-report-table :is(th, td) { white-space: nowrap; }
    body.sandu-admin :is(.refund-batch-table, .refund-record-table, .refund-batch-detail-table, .refund-batch-preview-table) th { white-space: nowrap; }
    body.sandu-admin :is(.meal-report-class-card, .meal-report-allergy-summary) { border-color: var(--sandu-border); border-radius: 4px; }
    body.sandu-admin :is(.meal-report-class-title, .meal-report-detail-heading) { color: var(--sandu-label); font-size: 14px; font-weight: 500; }
    body.sandu-admin :is(.meal-report-sheet-meta, .leave-change-meta, .package-summary-meta, .data-export-meta, .data-export-hint, .refund-batch-hint, .refund-batch-note, .refund-record-note, .refund-batch-detail-meta, .refund-batch-detail-note, .refund-batch-preview-note) { color: var(--sandu-muted); font-size: 12px; line-height: 1.7; }
    body.sandu-admin :is(.package-summary-link, .refund-record-no-link) { color: var(--sandu-blue); font-weight: 500; }
    body.sandu-admin .refund-status-primary { background: var(--sandu-blue); }
    body.sandu-admin .refund-status-badge { font-size: 12px; font-weight: 400; border-radius: 3px; }
    body.sandu-admin :is(.data-export-pager, .money-report-modal-pager, .refund-batch-pager, .refund-record-pager, .refund-batch-detail-pager, .refund-batch-preview-pager) { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--sandu-border); font-size: 13px; color: var(--sandu-label); }
    body.sandu-admin :is(.data-export-pager-actions, .money-report-modal-pager-actions) { flex-wrap: wrap; gap: 6px; }
    body.sandu-admin :is(.refund-page-size, .refund-batch-detail-page-size, .money-report-page-size) { font-size: 13px; font-weight: 400; }
    body.sandu-admin :is(.refund-page-size, .refund-batch-detail-page-size, .money-report-page-size) select { height: 32px; padding: 4px 8px; border-color: #dcdfe6; border-radius: 4px; color: #333; }
}

@media screen and (max-width: 767px) {
    body.sandu-admin .custom-data-table-header { padding: 10px 12px; }
    body.sandu-admin .custom-data-table-header .top > .pull-right { margin-left: 0; }
    body.sandu-admin .form-horizontal .control-label { padding-top: 0; padding-bottom: 6px; text-align: left; }
    body.sandu-admin .modal-dialog { max-width: calc(100vw - 20px); margin: 10px auto; }
    body.sandu-admin .modal-body { padding: 12px; }
    body.sandu-admin :is(.meal-report-panel, .leave-change-panel, .package-summary-panel, .regular-report-panel, .income-report-panel, .money-report-panel, .data-export-panel, .refund-batch-panel, .refund-record-panel) { padding: 12px; }
    body.sandu-admin :is(.meal-report-field, .leave-change-field, .package-summary-field, .regular-report-field, .income-report-field, .money-report-field, .data-export-field) { flex-grow: 1; }
    body.sandu-admin :is(.meal-report-top-tools, .income-report-top-tools) { margin-left: 0; justify-content: flex-start; }
    body.sandu-admin .refund-batch-filter { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
    body.sandu-admin :is(.meal-report-summary, .regular-report-summary, .income-report-summary, .money-report-summary, .refund-batch-detail-stats, .refund-batch-summary, .refund-batch-preview-summary) { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
    body.sandu-admin .refund-record-head { display: flex; }
    body.sandu-admin .refund-record-head .btn { width: auto; margin-top: 0; }
}
body.sandu-admin .sandu-form-context{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;padding:10px 16px;background:#fff;border:1px solid #e6eaee;border-radius:4px;color:#606266;font-size:14px}
