.ac-wrap {
    max-width: 1320px;
    margin: 20px auto;
    font-family: inherit;
    color: #1f2933;
}

.ac-wrap * {
    box-sizing: border-box;
}

.ac-title-row,
.ac-month-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.ac-title-row h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.15;
    color: #111827;
}

.ac-title-row p {
    margin: 5px 0 0;
    color: #667085;
}

.ac-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.07);
    padding: 18px;
    margin-bottom: 18px;
}

.ac-admin-wrap .ac-card {
    max-width: 850px;
}

.ac-alert {
    border-radius: 12px;
    padding: 12px 14px;
    margin: 0 0 14px;
    font-weight: 600;
}

.ac-alert-success {
    background: #ecfdf3;
    border: 1px solid #a7f3d0;
    color: #05603a;
}

.ac-alert-warning {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
}

.ac-date-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ac-btn,
.ac-wrap button.ac-btn,
.ac-wrap a.ac-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 9px;
    padding: 8px 13px;
    border: 1px solid #d0d5dd;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: 0.15s ease;
    line-height: 1.1;
}

.ac-btn-light {
    background: #ffffff;
    color: #344054;
}

.ac-btn-light:hover {
    background: #f9fafb;
    color: #111827;
}

.ac-btn-primary,
.ac-wrap button.ac-btn-primary,
.ac-wrap a.ac-btn-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.ac-btn-primary:hover {
    background: #1d4ed8;
    color: #ffffff;
}

.ac-section-title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #475467;
    margin: 8px 0 10px;
}

.ac-grid {
    display: grid;
    gap: 12px;
}

.ac-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ac-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ac-form label span {
    display: block;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #344054;
}

.ac-form input,
.ac-form select,
.ac-form textarea,
.ac-entry-table input,
.ac-entry-table select {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 9px;
    background: #ffffff;
    padding: 9px 10px;
    min-height: 40px;
    font-size: 15px;
    color: #111827;
}

.ac-form textarea {
    resize: vertical;
}

.ac-form input:focus,
.ac-form select:focus,
.ac-form textarea:focus,
.ac-entry-table input:focus,
.ac-entry-table select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ac-color-grid label {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
}

.ac-color-grid label span {
    display: block;
    margin-bottom: 8px;
}

.ac-color-input {
    width: 100%;
    min-height: 48px;
    padding: 4px;
    border-radius: 10px;
    border: 1px solid #d0d5dd;
    background: #fff;
}

.ac-kpis {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 16px 0 18px;
}

.ac-kpi {
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 13px;
    padding: 14px;
}

.ac-kpi span {
    display: block;
    font-size: 13px;
    color: #667085;
    font-weight: 700;
}

.ac-kpi strong {
    display: block;
    margin-top: 5px;
    font-size: 22px;
    color: #111827;
}

.ac-kpi-good {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.ac-kpi-bad {
    background: #fef2f2;
    border-color: #fecaca;
}

.ac-kpi-warn {
    background: #fff7ed;
    border-color: #fed7aa;
}

.ac-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 10px;
}

.ac-entry-table,
.ac-summary-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 760px;
}

.ac-entry-table th,
.ac-summary-table th {
    background: #f3f4f6;
    color: #344054;
    font-size: 13px;
    text-align: left;
    padding: 9px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
}

.ac-entry-table td,
.ac-summary-table td {
    padding: 8px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
    font-size: 14px;
    white-space: nowrap;
}

.ac-summary-table tfoot th {
    background: #eef2ff;
    color: #111827;
    border-top: 1px solid #c7d2fe;
}

.ac-summary-table a {
    font-weight: 800;
    text-decoration: none;
}

.ac-entry-table th:last-child,
.ac-entry-table td:last-child {
    width: 104px;
    min-width: 104px;
    text-align: center;
    white-space: nowrap;
}

.ac-detail-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 18px;
    align-items: start;
    margin-bottom: 12px;
}

.ac-detail-head h3 {
    margin: 0 0 5px;
    font-size: 25px;
    color: #111827;
}

.ac-help-text {
    margin: 4px 0 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.45;
}

.ac-detail-fields {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ac-kpis-secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: -6px;
}

.ac-kpis-secondary .ac-kpi strong {
    font-size: 19px;
}

.ac-category-summary {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px;
    margin: 2px 0 16px;
}

.ac-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ac-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #dbe3ef;
    padding: 7px 10px;
    color: #344054;
    font-size: 13px;
    font-weight: 700;
}

.ac-mini-text {
    color: #667085;
    font-size: 12px !important;
}

.ac-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 5px 9px;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 800;
}

.ac-mini-btn:hover {
    background: #dbeafe;
    color: #1e40af;
}

.ac-icon-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #fca5a5;
    background: #ffffff;
    color: #b91c1c;
    border-radius: 8px;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.ac-icon-btn:hover {
    background: #fef2f2;
}

.ac-actions {
    margin-top: 14px;
    display: flex;
    justify-content: flex-end;
}

.ac-actions-left {
    margin-top: 16px;
}

.ac-month-card h3 {
    margin: 0;
    font-size: 24px;
}

.ac-empty {
    text-align: center;
    color: #667085;
    padding: 22px !important;
}

.ac-positive {
    color: #047857;
    font-weight: 800;
}

.ac-negative {
    color: #b91c1c;
    font-weight: 800;
}

.ac-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 800;
}

.ac-status-draft {
    background: #f3f4f6;
    color: #374151;
}

.ac-status-review {
    background: #fff7ed;
    color: #c2410c;
}

.ac-status-closed {
    background: #ecfdf3;
    color: #047857;
}

.ac-list {
    margin-left: 20px;
}



/* AuraControl v1.0.9 – finomított napi bevitel */
.ac-entry-table .ac-row-action {
    text-align: center;
    width: 104px;
    min-width: 104px;
}

.ac-entry-table .ac-icon-btn {
    width: auto;
    min-width: 78px;
    padding-left: 12px;
    padding-right: 12px;
}

.ac-revenue-title {
    font-weight: 700;
}

@media (max-width: 900px) {
    .ac-detail-head {
        grid-template-columns: 1fr;
    }

    .ac-detail-fields,
    .ac-grid-3,
    .ac-kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ac-wrap {
        margin: 12px auto;
    }

    .ac-card {
        padding: 13px;
        border-radius: 12px;
    }

    .ac-detail-fields,
    .ac-grid-3,
    .ac-kpis,
    .ac-kpis-secondary {
        grid-template-columns: 1fr;
    }

    .ac-title-row h2 {
        font-size: 28px;
    }

    .ac-date-nav {
        width: 100%;
    }

    .ac-btn,
    .ac-wrap button.ac-btn,
    .ac-wrap a.ac-btn {
        width: auto;
        flex: 1 1 auto;
    }
}

.ac-alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.ac-btn-danger,
.ac-wrap button.ac-btn-danger,
.ac-wrap a.ac-btn-danger {
    background: #dc2626;
    border-color: #dc2626;
    color: #ffffff;
}

.ac-btn-danger:hover,
.ac-wrap button.ac-btn-danger:hover,
.ac-wrap a.ac-btn-danger:hover {
    background: #b91c1c;
    color: #ffffff;
}

.ac-danger-card {
    border-color: #fecaca;
}

.ac-muted {
    color: #667085;
    font-size: 12px;
}

.ac-access-table select {
    min-width: 210px;
}

.ac-fieldset {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.ac-readonly input,
.ac-readonly select,
.ac-readonly textarea {
    background: #f9fafb !important;
    color: #475467 !important;
    cursor: not-allowed;
}

.ac-readonly .ac-icon-btn {
    display: none;
}

.ac-day-tools {
    margin-top: 20px;
}

.ac-actions-between {
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.ac-delete-day-form {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #fee2e2;
}

.ac-confirm-line {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
    color: #374151;
    font-weight: 600;
}

.ac-confirm-line input[type="text"] {
    max-width: 180px;
}


/* AuraControl v1.0.8 – egyszerűsített, mobilbarát felület */
.ac-wrap {
    max-width: 1040px;
}

.ac-simple-form {
    padding: 20px;
}

.ac-big-help {
    font-size: 16px;
    line-height: 1.55;
}

.ac-date-nav-main {
    align-items: center;
}

.ac-btn-today,
.ac-wrap a.ac-btn-today,
.ac-wrap button.ac-btn-today {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.ac-form input,
.ac-form select,
.ac-form textarea,
.ac-entry-table input,
.ac-entry-table select {
    min-height: 48px;
    font-size: 17px;
    padding: 11px 12px;
}

.ac-detail-fields label span,
.ac-form label span {
    font-size: 15px;
}

.ac-kpis-simple {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin-top: 18px;
}

.ac-kpis-simple .ac-kpi {
    min-height: 104px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ac-kpis-simple .ac-kpi span {
    font-size: 14px;
}

.ac-kpis-simple .ac-kpi strong {
    font-size: 25px;
}

.ac-kpi-main {
    background: #eff6ff;
    border-color: #bfdbfe;
}

.ac-accordion {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    margin: 16px 0;
    padding: 0;
    background: #fff;
    overflow: hidden;
}

.ac-accordion summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 20px;
    min-height: 58px;
    font-size: 19px;
    font-weight: 800;
    color: #111827;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.ac-accordion-income summary {
    background: var(--ac-income-bg, #eaf4ff);
}

.ac-accordion-expense summary {
    background: var(--ac-expense-bg, #fff4e8);
}

.ac-accordion-wage summary {
    background: var(--ac-wage-bg, #f1ebff);
}

.ac-accordion-note summary {
    background: var(--ac-note-bg, #eefbf3);
}

.ac-accordion-income,
.ac-accordion-expense,
.ac-accordion-wage,
.ac-accordion-note {
    border-width: 1px 1px 1px 5px;
}

.ac-accordion-income { border-left-color: var(--ac-income-bg, #eaf4ff); }
.ac-accordion-expense { border-left-color: var(--ac-expense-bg, #fff4e8); }
.ac-accordion-wage { border-left-color: var(--ac-wage-bg, #f1ebff); }
.ac-accordion-note { border-left-color: var(--ac-note-bg, #eefbf3); }

.ac-accordion summary::-webkit-details-marker {
    display: none;
}

.ac-accordion summary::after {
    content: 'lenyitva';
    float: right;
    font-size: 13px;
    color: #64748b;
    font-weight: 700;
}

.ac-accordion:not([open]) summary::after {
    content: 'megnyitás';
}

.ac-accordion > .ac-help-text,
.ac-accordion > .ac-table-wrap,
.ac-accordion > textarea,
.ac-accordion > .ac-btn {
    margin-left: 18px;
    margin-right: 18px;
}

.ac-accordion > .ac-help-text {
    margin-top: 14px;
}

.ac-accordion > .ac-btn {
    margin-bottom: 18px;
}

.ac-icon-btn {
    min-width: 78px;
    min-height: 42px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
}

.ac-save-main {
    min-height: 58px;
    min-width: 220px;
    font-size: 18px;
    border-radius: 14px;
}

.ac-month-card .ac-summary-table th,
.ac-month-card .ac-summary-table td {
    font-size: 15px;
}

.ac-mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 999px;
}

@media (max-width: 900px) {
    .ac-kpis-simple {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ac-kpis-simple .ac-kpi:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 720px) {
    .ac-wrap {
        margin: 10px auto;
        padding: 0 10px 90px;
    }

    .ac-title-row h2 {
        font-size: 30px;
    }

    .ac-card {
        padding: 14px;
        border-radius: 18px;
    }

    .ac-title-row,
    .ac-month-head,
    .ac-detail-head {
        display: block;
    }

    .ac-date-nav,
    .ac-date-nav-main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 12px;
    }

    .ac-date-nav strong {
        grid-column: 1 / -1;
        text-align: center;
        order: -1;
        font-size: 19px;
        padding: 8px;
    }

    .ac-date-nav .ac-btn {
        width: 100%;
        min-height: 50px;
        justify-content: center;
        white-space: normal;
        text-align: center;
    }

    .ac-detail-fields,
    .ac-grid-3 {
        grid-template-columns: 1fr !important;
    }

    .ac-kpis-simple {
        grid-template-columns: 1fr;
    }

    .ac-kpis-simple .ac-kpi,
    .ac-kpis-simple .ac-kpi:last-child {
        grid-column: auto;
    }

    .ac-kpis-simple .ac-kpi strong {
        font-size: 29px;
    }

    .ac-accordion summary {
        font-size: 20px;
        padding: 18px 16px;
    }

    .ac-accordion summary::after {
        float: none;
        display: block;
        margin-top: 3px;
    }

    .ac-entry-table,
    .ac-summary-table {
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0;
    }

    .ac-entry-table thead,
    .ac-summary-table thead,
    .ac-summary-table tfoot {
        display: none;
    }

    .ac-entry-table tbody,
    .ac-summary-table tbody {
        display: block;
    }

    .ac-entry-table tr,
    .ac-summary-table tr {
        display: block;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        padding: 12px;
        margin: 12px 0;
        background: #ffffff;
        box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
    }

    .ac-entry-table td,
    .ac-summary-table td {
        display: block;
        width: 100% !important;
        padding: 8px 0;
        border: 0;
        white-space: normal;
        font-size: 17px;
    }

    .ac-entry-table td::before,
    .ac-summary-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 13px;
        font-weight: 800;
        color: #64748b;
        margin-bottom: 5px;
        text-transform: uppercase;
        letter-spacing: .02em;
    }

    .ac-summary-table td[data-label="Dátum"] {
        font-size: 21px;
        font-weight: 900;
        border-bottom: 1px solid #e5e7eb;
        margin-bottom: 6px;
        padding-bottom: 12px;
    }

    .ac-summary-table td[data-label="Részletek"] .ac-mini-btn {
        width: 100%;
        min-height: 50px;
        font-size: 16px;
    }

    .ac-table-wrap {
        overflow: visible;
    }

    .ac-accordion > .ac-help-text,
    .ac-accordion > .ac-table-wrap,
    .ac-accordion > textarea,
    .ac-accordion > .ac-btn {
        margin-left: 12px;
        margin-right: 12px;
    }

    .ac-icon-btn {
        width: 100%;
        min-height: 46px;
    }

    .ac-actions {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 50;
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid #e5e7eb;
        padding: 10px;
        margin: 16px -14px -14px;
        box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.08);
    }

    .ac-actions .ac-save-main,
    .ac-actions .ac-btn-primary {
        width: 100%;
    }

    .ac-day-tools .ac-actions {
        position: static;
        box-shadow: none;
        border: 0;
        margin: 0;
        padding: 0;
    }

    .ac-delete-day-form .ac-btn-danger {
        width: 100%;
        min-height: 50px;
    }
}

/* AuraControl v1.0.10 – dátummező és művelet oszlop finomhangolás */
.ac-detail-head {
    grid-template-columns: minmax(0, 1fr) minmax(500px, 0.95fr);
}

.ac-detail-fields {
    grid-template-columns: minmax(170px, 1.05fr) minmax(150px, 0.9fr) minmax(150px, 0.9fr);
}

.ac-date-input,
.ac-form input[type="date"].ac-date-input {
    min-width: 172px;
    width: 100%;
    padding-right: 36px;
    font-variant-numeric: tabular-nums;
}

.ac-entry-table {
    table-layout: fixed;
    min-width: 0;
}

.ac-entry-table th,
.ac-entry-table td {
    overflow: visible;
}

.ac-entry-table th:last-child,
.ac-entry-table td:last-child,
.ac-entry-table .ac-row-action {
    width: 126px;
    min-width: 126px;
    max-width: 126px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: center;
    vertical-align: middle;
}

.ac-entry-table .ac-row-action .ac-icon-btn,
.ac-entry-table .ac-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    min-width: 96px;
    max-width: 96px;
    min-height: 46px;
    padding: 0 10px;
    line-height: 1.1;
    white-space: nowrap;
}

.ac-entry-table[data-ac-revenues] th:nth-child(1),
.ac-entry-table[data-ac-revenues] td:nth-child(1) {
    width: 22%;
}
.ac-entry-table[data-ac-revenues] th:nth-child(2),
.ac-entry-table[data-ac-revenues] td:nth-child(2) {
    width: 34%;
}
.ac-entry-table[data-ac-revenues] th:nth-child(3),
.ac-entry-table[data-ac-revenues] td:nth-child(3) {
    width: 32%;
}

.ac-entry-table[data-ac-expenses] th:nth-child(1),
.ac-entry-table[data-ac-expenses] td:nth-child(1) {
    width: 22%;
}
.ac-entry-table[data-ac-expenses] th:nth-child(2),
.ac-entry-table[data-ac-expenses] td:nth-child(2) {
    width: 23%;
}
.ac-entry-table[data-ac-expenses] th:nth-child(3),
.ac-entry-table[data-ac-expenses] td:nth-child(3) {
    width: 22%;
}
.ac-entry-table[data-ac-expenses] th:nth-child(4),
.ac-entry-table[data-ac-expenses] td:nth-child(4) {
    width: 23%;
}

.ac-entry-table[data-ac-wages] th:nth-child(1),
.ac-entry-table[data-ac-wages] td:nth-child(1) {
    width: 28%;
}
.ac-entry-table[data-ac-wages] th:nth-child(2),
.ac-entry-table[data-ac-wages] td:nth-child(2) {
    width: 30%;
}
.ac-entry-table[data-ac-wages] th:nth-child(3),
.ac-entry-table[data-ac-wages] td:nth-child(3) {
    width: 30%;
}

@media (max-width: 900px) {
    .ac-detail-head {
        grid-template-columns: 1fr;
    }

    .ac-date-input,
    .ac-form input[type="date"].ac-date-input {
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 720px) {
    .ac-entry-table {
        table-layout: auto;
    }

    .ac-entry-table th:last-child,
    .ac-entry-table td:last-child,
    .ac-entry-table .ac-row-action {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        padding-left: 0;
        padding-right: 0;
        text-align: left;
    }

    .ac-entry-table .ac-row-action .ac-icon-btn,
    .ac-entry-table .ac-icon-btn {
        width: 100%;
        min-width: 0;
        max-width: none;
    }
}



/* AuraControl v1.0.13 – v1.0.10 alapú szélességjavítás és stabil Művelet oszlop */
@media (min-width: 1100px) {
    .ac-wrap {
        width: min(1320px, calc(100vw - 72px)) !important;
        max-width: none !important;
        margin-left: 50% !important;
        margin-right: 0 !important;
        transform: translateX(-50%);
    }
}

@media (max-width: 1099px) {
    .ac-wrap {
        width: auto !important;
        max-width: calc(100% - 20px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        transform: none !important;
    }
}

.ac-simple-form {
    padding-left: 22px;
    padding-right: 22px;
}

.ac-accordion {
    overflow: visible;
}

.ac-accordion > .ac-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.ac-entry-table {
    table-layout: fixed !important;
    width: 100% !important;
    min-width: 0 !important;
}

.ac-entry-table th,
.ac-entry-table td {
    padding: 7px 8px !important;
    overflow: visible !important;
}

.ac-entry-table th:last-child,
.ac-entry-table td:last-child,
.ac-entry-table .ac-row-action {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    text-align: center !important;
    vertical-align: middle !important;
}

.ac-entry-table .ac-row-action .ac-icon-btn,
.ac-entry-table .ac-icon-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 94px !important;
    min-height: 46px !important;
    padding: 0 8px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
}

.ac-entry-table input,
.ac-entry-table select {
    min-width: 0 !important;
}

/* Készpénzbevétel: Típus / Összeg / Megjegyzés / Művelet */
.ac-entry-table[data-ac-revenues] th:nth-child(1),
.ac-entry-table[data-ac-revenues] td:nth-child(1) {
    width: 21% !important;
}
.ac-entry-table[data-ac-revenues] th:nth-child(2),
.ac-entry-table[data-ac-revenues] td:nth-child(2) {
    width: 27% !important;
}
.ac-entry-table[data-ac-revenues] th:nth-child(3),
.ac-entry-table[data-ac-revenues] td:nth-child(3) {
    width: 40% !important;
}
.ac-entry-table[data-ac-revenues] th:nth-child(4),
.ac-entry-table[data-ac-revenues] td:nth-child(4) {
    width: 12% !important;
}

/* Kiadások: Kategória / Megnevezés / Összeg / Megjegyzés / Művelet */
.ac-entry-table[data-ac-expenses] th:nth-child(1),
.ac-entry-table[data-ac-expenses] td:nth-child(1) {
    width: 19% !important;
}
.ac-entry-table[data-ac-expenses] th:nth-child(2),
.ac-entry-table[data-ac-expenses] td:nth-child(2) {
    width: 19% !important;
}
.ac-entry-table[data-ac-expenses] th:nth-child(3),
.ac-entry-table[data-ac-expenses] td:nth-child(3) {
    width: 18% !important;
}
.ac-entry-table[data-ac-expenses] th:nth-child(4),
.ac-entry-table[data-ac-expenses] td:nth-child(4) {
    width: 32% !important;
}
.ac-entry-table[data-ac-expenses] th:nth-child(5),
.ac-entry-table[data-ac-expenses] td:nth-child(5) {
    width: 12% !important;
}

/* Munkabérek: Dolgozó / Összeg / Megjegyzés / Művelet */
.ac-entry-table[data-ac-wages] th:nth-child(1),
.ac-entry-table[data-ac-wages] td:nth-child(1) {
    width: 29% !important;
}
.ac-entry-table[data-ac-wages] th:nth-child(2),
.ac-entry-table[data-ac-wages] td:nth-child(2) {
    width: 24% !important;
}
.ac-entry-table[data-ac-wages] th:nth-child(3),
.ac-entry-table[data-ac-wages] td:nth-child(3) {
    width: 35% !important;
}
.ac-entry-table[data-ac-wages] th:nth-child(4),
.ac-entry-table[data-ac-wages] td:nth-child(4) {
    width: 12% !important;
}

@media (max-width: 720px) {
    .ac-simple-form {
        padding-left: 14px;
        padding-right: 14px;
    }

    .ac-accordion {
        overflow: hidden;
    }

    .ac-entry-table {
        table-layout: auto !important;
    }

    .ac-entry-table th,
    .ac-entry-table td,
    .ac-entry-table th:last-child,
    .ac-entry-table td:last-child,
    .ac-entry-table .ac-row-action {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .ac-entry-table .ac-row-action .ac-icon-btn,
    .ac-entry-table .ac-icon-btn {
        width: 100% !important;
        max-width: none !important;
        min-height: 50px !important;
    }
}

/* AuraControl v1.0.16 – teljesen fix beviteli oszlopok */
.ac-wrap {
    max-width: 1320px;
}

.ac-card {
    overflow: visible;
}

.ac-table-wrap {
    overflow-x: auto;
    padding-bottom: 2px;
}

.ac-entry-table {
    table-layout: fixed;
    width: auto;
}

.ac-entry-table th,
.ac-entry-table td {
    padding: 8px 9px;
}

.ac-entry-table input,
.ac-entry-table select {
    min-height: 48px;
    font-size: 16px;
}

.ac-entry-table .ac-icon-btn {
    min-width: 112px;
    width: 112px;
    min-height: 48px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ac-entry-table th:last-child,
.ac-entry-table td:last-child {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    text-align: center;
    vertical-align: middle;
}

/* Készpénzbevétel: Típus / Összeg / Megjegyzés / Művelet = 1020 px */
.ac-accordion-income .ac-entry-table {
    min-width: 1020px;
    max-width: 1020px;
}

.ac-accordion-income .ac-entry-table th:nth-child(1),
.ac-accordion-income .ac-entry-table td:nth-child(1) {
    width: 240px;
}

.ac-accordion-income .ac-entry-table th:nth-child(2),
.ac-accordion-income .ac-entry-table td:nth-child(2) {
    width: 220px;
}

.ac-accordion-income .ac-entry-table th:nth-child(3),
.ac-accordion-income .ac-entry-table td:nth-child(3) {
    width: 420px;
}

.ac-accordion-income .ac-entry-table th:nth-child(4),
.ac-accordion-income .ac-entry-table td:nth-child(4) {
    width: 140px;
}

/* Kiadások: Kategória / Megnevezés / Összeg / Megjegyzés / Művelet = 1150 px */
.ac-accordion-expense .ac-entry-table {
    min-width: 1150px;
    max-width: 1150px;
}

.ac-accordion-expense .ac-entry-table th:nth-child(1),
.ac-accordion-expense .ac-entry-table td:nth-child(1) {
    width: 210px;
}

.ac-accordion-expense .ac-entry-table th:nth-child(2),
.ac-accordion-expense .ac-entry-table td:nth-child(2) {
    width: 240px;
}

.ac-accordion-expense .ac-entry-table th:nth-child(3),
.ac-accordion-expense .ac-entry-table td:nth-child(3) {
    width: 200px;
}

.ac-accordion-expense .ac-entry-table th:nth-child(4),
.ac-accordion-expense .ac-entry-table td:nth-child(4) {
    width: 360px;
}

.ac-accordion-expense .ac-entry-table th:nth-child(5),
.ac-accordion-expense .ac-entry-table td:nth-child(5) {
    width: 140px;
}

/* Munkabérek: Dolgozó / Összeg / Megjegyzés / Művelet = 1080 px */
.ac-accordion-wage .ac-entry-table {
    min-width: 1080px;
    max-width: 1080px;
}

.ac-accordion-wage .ac-entry-table th:nth-child(1),
.ac-accordion-wage .ac-entry-table td:nth-child(1) {
    width: 300px;
}

.ac-accordion-wage .ac-entry-table th:nth-child(2),
.ac-accordion-wage .ac-entry-table td:nth-child(2) {
    width: 220px;
}

.ac-accordion-wage .ac-entry-table th:nth-child(3),
.ac-accordion-wage .ac-entry-table td:nth-child(3) {
    width: 420px;
}

.ac-accordion-wage .ac-entry-table th:nth-child(4),
.ac-accordion-wage .ac-entry-table td:nth-child(4) {
    width: 140px;
}

@media (max-width: 720px) {
    .ac-wrap {
        max-width: 100%;
    }

    .ac-entry-table {
        min-width: 0 !important;
        max-width: none !important;
        width: 100%;
        table-layout: auto;
    }

    .ac-entry-table .ac-icon-btn {
        width: 100%;
        min-width: 0;
    }

    .ac-entry-table th:last-child,
    .ac-entry-table td:last-child {
        width: auto;
        min-width: 0;
        max-width: none;
        text-align: left;
    }
}

/* AuraControl v2.0.0 – valódi mobilos kártyanézet */
@media (max-width: 720px) {
    .ac-wrap {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .ac-card,
    .ac-accordion {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ac-accordion {
        border-radius: 18px;
        overflow: hidden !important;
    }

    .ac-accordion summary {
        padding: 18px 16px !important;
        font-size: 20px !important;
        line-height: 1.2;
    }

    .ac-accordion summary::after {
        content: '▼';
        float: right;
        display: inline;
        margin: 0;
        font-size: 16px;
    }

    .ac-accordion:not([open]) summary::after {
        content: '▶';
    }

    .ac-accordion > .ac-help-text,
    .ac-accordion > .ac-table-wrap,
    .ac-accordion > textarea,
    .ac-accordion > .ac-btn {
        margin-left: 12px !important;
        margin-right: 12px !important;
    }

    .ac-table-wrap {
        overflow: visible !important;
        width: auto !important;
    }

    .ac-entry-table,
    .ac-accordion-income .ac-entry-table,
    .ac-accordion-expense .ac-entry-table,
    .ac-accordion-wage .ac-entry-table {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        table-layout: auto !important;
        border: 0 !important;
    }

    .ac-entry-table thead {
        display: none !important;
    }

    .ac-entry-table tbody {
        display: block !important;
        width: 100% !important;
    }

    .ac-entry-table tr {
        display: block !important;
        width: 100% !important;
        margin: 14px 0 !important;
        padding: 14px !important;
        background: #fff !important;
        border: 1px solid #dfe5ec !important;
        border-radius: 16px !important;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.07) !important;
    }

    .ac-entry-table td,
    .ac-entry-table td:nth-child(1),
    .ac-entry-table td:nth-child(2),
    .ac-entry-table td:nth-child(3),
    .ac-entry-table td:nth-child(4),
    .ac-entry-table td:nth-child(5),
    .ac-entry-table td:last-child,
    .ac-accordion-income .ac-entry-table td,
    .ac-accordion-expense .ac-entry-table td,
    .ac-accordion-wage .ac-entry-table td {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        padding: 0 0 14px !important;
        border: 0 !important;
        text-align: left !important;
        white-space: normal !important;
    }

    .ac-entry-table td:last-child {
        padding-bottom: 0 !important;
    }

    .ac-entry-table td::before {
        content: attr(data-label);
        display: block !important;
        margin: 0 0 7px !important;
        font-size: 14px !important;
        line-height: 1.2;
        font-weight: 800 !important;
        color: #52647d !important;
        text-transform: uppercase;
        letter-spacing: .035em;
    }

    .ac-entry-table input,
    .ac-entry-table select,
    .ac-entry-table textarea {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 52px !important;
        min-height: 52px !important;
        padding: 10px 12px !important;
        font-size: 18px !important;
        border-radius: 12px !important;
    }

    .ac-entry-table select {
        appearance: auto;
        -webkit-appearance: menulist;
    }

    .ac-entry-table .ac-row-action,
    .ac-entry-table td[data-label="Művelet"] {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    .ac-entry-table .ac-icon-btn,
    .ac-entry-table .ac-row-action .ac-icon-btn {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        min-height: 52px !important;
        margin: 0 !important;
        padding: 12px 16px !important;
        border-radius: 12px !important;
        font-size: 17px !important;
        font-weight: 800 !important;
    }

    .ac-accordion > .ac-btn {
        display: flex !important;
        width: calc(100% - 24px) !important;
        min-height: 52px !important;
        margin: 12px !important;
        font-size: 17px !important;
    }

    .ac-kpis-simple {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .ac-kpis-simple .ac-kpi,
    .ac-kpis-simple .ac-kpi:last-child {
        grid-column: auto !important;
        min-height: 92px !important;
        padding: 12px !important;
    }

    .ac-kpis-simple .ac-kpi span {
        font-size: 12px !important;
    }

    .ac-kpis-simple .ac-kpi strong {
        font-size: 22px !important;
    }

    .ac-kpis-simple .ac-kpi:last-child {
        grid-column: 1 / -1 !important;
    }

    .ac-save-main {
        width: calc(100% - 24px) !important;
        min-width: 0 !important;
        margin: 0 12px !important;
        min-height: 58px !important;
        font-size: 18px !important;
    }

    .ac-actions {
        position: sticky;
        bottom: 8px;
        z-index: 30;
        padding-top: 10px;
    }

    .ac-detail-fields {
        grid-template-columns: 1fr !important;
    }

    .ac-date-input,
    .ac-envelope-actual,
    .ac-detail-fields select {
        width: 100% !important;
        min-height: 52px !important;
        font-size: 18px !important;
    }
}

/* AuraControl v2.0.1 – mobilos mezőszélesség és kártya javítás */
@media (max-width: 720px) {
    .ac-wrap,
    .ac-card,
    .ac-accordion,
    .ac-table-wrap,
    .ac-entry-table,
    .ac-entry-table tbody,
    .ac-entry-table tr,
    .ac-entry-table td {
        box-sizing: border-box !important;
    }

    .ac-wrap {
        overflow-x: hidden !important;
        padding-bottom: 110px !important;
    }

    .ac-entry-table,
    .ac-accordion-income .ac-entry-table,
    .ac-accordion-expense .ac-entry-table,
    .ac-accordion-wage .ac-entry-table {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        table-layout: auto !important;
    }

    .ac-entry-table tbody,
    .ac-entry-table tr {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .ac-entry-table tr {
        padding: 14px !important;
        margin: 12px 0 !important;
    }

    .ac-entry-table td,
    .ac-entry-table td:nth-child(1),
    .ac-entry-table td:nth-child(2),
    .ac-entry-table td:nth-child(3),
    .ac-entry-table td:nth-child(4),
    .ac-entry-table td:nth-child(5),
    .ac-entry-table td:last-child,
    .ac-accordion-income .ac-entry-table td:nth-child(1),
    .ac-accordion-income .ac-entry-table td:nth-child(2),
    .ac-accordion-income .ac-entry-table td:nth-child(3),
    .ac-accordion-income .ac-entry-table td:nth-child(4),
    .ac-accordion-expense .ac-entry-table td:nth-child(1),
    .ac-accordion-expense .ac-entry-table td:nth-child(2),
    .ac-accordion-expense .ac-entry-table td:nth-child(3),
    .ac-accordion-expense .ac-entry-table td:nth-child(4),
    .ac-accordion-expense .ac-entry-table td:nth-child(5),
    .ac-accordion-wage .ac-entry-table td:nth-child(1),
    .ac-accordion-wage .ac-entry-table td:nth-child(2),
    .ac-accordion-wage .ac-entry-table td:nth-child(3),
    .ac-accordion-wage .ac-entry-table td:nth-child(4) {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 0 0 14px !important;
        margin: 0 !important;
        white-space: normal !important;
    }

    .ac-entry-table td:last-child {
        padding-bottom: 0 !important;
    }

    .ac-entry-table td::before {
        width: 100% !important;
        max-width: 100% !important;
    }

    .ac-entry-table input,
    .ac-entry-table select,
    .ac-entry-table textarea,
    .ac-entry-table td input,
    .ac-entry-table td select,
    .ac-entry-table td textarea {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        height: 52px !important;
        min-height: 52px !important;
        padding: 10px 12px !important;
        margin: 0 !important;
        font-size: 18px !important;
    }

    .ac-entry-table select {
        text-overflow: ellipsis;
    }

    .ac-entry-table .ac-icon-btn,
    .ac-entry-table button.ac-icon-btn,
    .ac-entry-table td:last-child .ac-icon-btn,
    .ac-entry-table td[data-label="Művelet"] .ac-icon-btn {
        display: flex !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        min-height: 52px !important;
        height: auto !important;
        padding: 12px 16px !important;
        margin: 0 !important;
        border-radius: 12px !important;
        font-size: 17px !important;
        line-height: 1.2 !important;
        box-sizing: border-box !important;
    }

    .ac-accordion > .ac-btn {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        min-width: 0 !important;
        margin-left: 12px !important;
        margin-right: 12px !important;
    }

    .ac-actions {
        position: sticky;
        bottom: 8px;
        z-index: 40;
        margin-top: 18px !important;
        padding: 8px 0 0 !important;
        background: linear-gradient(to top, rgba(255,255,255,.98) 75%, rgba(255,255,255,0));
    }

    .ac-save-main {
        width: calc(100% - 16px) !important;
        max-width: calc(100% - 16px) !important;
        margin: 0 8px !important;
    }
}



/* AuraControl v2.0.2 – külön napi és egyéb bevétel gombok */
.ac-revenue-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 18px 18px;
}

.ac-revenue-actions .ac-btn {
    margin: 0 !important;
}

.ac-add-other-revenue {
    background: #eefbf3 !important;
    border-color: #b7e4c7 !important;
    color: #166534 !important;
}

.ac-add-other-revenue:hover {
    background: #dcfce7 !important;
    color: #14532d !important;
}

@media (max-width: 720px) {
    .ac-revenue-actions {
        display: grid;
        grid-template-columns: 1fr;
        margin: 12px !important;
    }

    .ac-revenue-actions .ac-btn {
        width: 100% !important;
        max-width: 100% !important;
        min-height: 52px !important;
    }
}

/* v2.1.0 */
.ac-accordion-delivery summary{background:var(--ac-delivery-bg,#eafaf8)}
.ac-delivery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 18px 18px}.ac-delivery-grid label span{display:block;font-weight:700;margin-bottom:6px}.ac-readonly-value{min-height:48px;display:flex;align-items:center;padding:9px 12px;border:1px solid #dbe3ef;border-radius:9px;background:#f8fafc;font-weight:800}@media(max-width:720px){.ac-delivery-grid{grid-template-columns:1fr;margin:14px 12px 18px}}


/* AuraControl v2.2.0 – havi nyitókészlet */
.ac-opening-card {
    margin: 14px 0 18px;
    border: 1px solid #cbd5e1;
    border-left: 6px solid #60a5fa;
    border-radius: 14px;
    padding: 15px 16px;
    background: #f8fbff;
}

.ac-opening-card.ac-opening-manual {
    background: #fff8e8;
    border-color: #f7c873;
    border-left-color: #f59e0b;
}

.ac-opening-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: 18px;
    align-items: center;
}

.ac-opening-label {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #52647d;
}

.ac-opening-main > div > strong {
    display: block;
    margin: 4px 0 8px;
    font-size: 28px;
    color: #111827;
}

.ac-opening-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 12px;
    align-items: center;
    color: #64748b;
    font-size: 13px;
}

.ac-opening-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    font-weight: 800;
}

.ac-opening-badge-auto {
    background: #dbeafe;
    color: #1d4ed8;
}

.ac-opening-badge-manual {
    background: #ffedd5;
    color: #c2410c;
}

.ac-opening-form label span {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 800;
    color: #344054;
}

.ac-opening-form input {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 17px;
}

.ac-opening-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 9px;
}

@media (max-width: 720px) {
    .ac-opening-main {
        grid-template-columns: 1fr;
    }

    .ac-opening-card {
        padding: 14px;
    }

    .ac-opening-main > div > strong {
        font-size: 25px;
    }

    .ac-opening-form input,
    .ac-opening-actions .ac-btn {
        width: 100% !important;
        min-height: 52px;
    }

    .ac-opening-actions {
        display: grid;
        grid-template-columns: 1fr;
    }
}


/* AuraControl v2.3.0 – havi áthozat és aktuális készpénz */
.ac-transfer-block {
    border: 1px solid #dbe3ef;
    border-radius: 14px;
    background: #f8fafc;
    padding: 15px;
    margin: 14px 0;
}

.ac-transfer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.ac-transfer-head strong {
    display: block;
    margin-top: 3px;
    font-size: 20px;
    color: #111827;
}

.ac-transfer-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.ac-transfer-grid > div {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    padding: 10px;
}

.ac-transfer-grid span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #667085;
    margin-bottom: 4px;
}

.ac-transfer-grid strong {
    display: block;
    font-size: 17px;
    color: #111827;
}

.ac-transfer-actual {
    background: #ecfdf3 !important;
    border-color: #bbf7d0 !important;
}

.ac-month-cash-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .72fr);
    gap: 14px;
    align-items: stretch;
    margin-bottom: 14px;
}

.ac-month-cash-grid .ac-opening-card {
    margin: 0;
}

.ac-current-cash-card {
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    background: #eff6ff;
    padding: 16px;
}

.ac-current-cash-card > strong {
    display: block;
    margin: 5px 0 10px;
    font-size: 30px;
    line-height: 1.1;
    color: #1d4ed8;
}

.ac-current-cash-breakdown {
    display: grid;
    gap: 5px;
    font-size: 13px;
    color: #475467;
}

.ac-current-cash-row th {
    background: #eff6ff !important;
    border-top: 2px solid #93c5fd !important;
    color: #1e3a8a !important;
}

@media (max-width: 900px) {
    .ac-transfer-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ac-month-cash-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .ac-transfer-head {
        display: block;
    }

    .ac-transfer-head .ac-opening-badge {
        margin-top: 8px;
    }

    .ac-transfer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ac-transfer-grid strong {
        font-size: 15px;
    }

    .ac-current-cash-card > strong {
        font-size: 26px;
    }

    .ac-current-cash-row {
        display: block !important;
        border: 1px solid #bfdbfe !important;
        border-radius: 14px !important;
        margin-top: 10px !important;
        overflow: hidden;
    }

    .ac-current-cash-row th {
        display: block !important;
        width: 100% !important;
        text-align: left !important;
        border: 0 !important;
        padding: 9px 12px !important;
    }
}


/* AuraControl v2.4.0 – diszkrét kiemelt kiadások */
.ac-highlight-head,
.ac-highlight-cell {
    width: 88px;
    text-align: center;
}

.ac-highlight-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    user-select: none;
    font-size: 12px;
    font-weight: 700;
    color: #667085;
    white-space: nowrap;
}

.ac-highlight-toggle input {
    width: 16px !important;
    height: 16px !important;
    min-height: 0 !important;
    min-width: 0 !important;
    margin: 0 !important;
    accent-color: currentColor;
}

.ac-entry-table tr.ac-highlighted-row td {
    background: #fffdf5;
}

.ac-entry-table tr.ac-highlighted-row td:first-child {
    box-shadow: inset 3px 0 0 #e8d9a7;
}

.ac-highlight-summary {
    margin: 12px 0 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fcfcfb;
    overflow: hidden;
}

.ac-highlight-summary > summary {
    list-style: none;
    cursor: pointer;
    padding: 11px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.ac-highlight-summary > summary::-webkit-details-marker {
    display: none;
}

.ac-highlight-summary > summary > span {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.ac-highlight-summary-title {
    font-weight: 750;
    color: #475467;
}

.ac-highlight-summary summary small {
    color: #98a2b3;
    font-size: 12px;
}

.ac-highlight-summary summary > strong {
    font-size: 18px;
    color: #344054;
}

.ac-highlight-summary-body {
    border-top: 1px solid #eef0f3;
    padding: 10px 14px 13px;
}

.ac-highlight-subtotals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 9px;
    font-size: 13px;
    color: #667085;
}

.ac-highlight-list {
    display: grid;
    gap: 5px;
}

.ac-highlight-item {
    display: grid;
    grid-template-columns: 58px 76px minmax(0, 1fr) 110px;
    gap: 8px;
    align-items: center;
    padding: 7px 8px;
    border-radius: 8px;
    background: #fffdf8;
    font-size: 13px;
}

.ac-highlight-date,
.ac-highlight-type {
    color: #667085;
}

.ac-highlight-name {
    min-width: 0;
    color: #344054;
}

.ac-highlight-name small {
    display: block;
    margin-top: 2px;
    color: #98a2b3;
    font-size: 11px;
}

.ac-highlight-item > strong {
    text-align: right;
    color: #344054;
}

@media (max-width: 720px) {
    .ac-highlight-head {
        display: none !important;
    }

    .ac-highlight-cell {
        width: 100% !important;
        text-align: left !important;
    }

    .ac-highlight-cell::before {
        content: "Havi ellenőrzés" !important;
    }

    .ac-highlight-toggle {
        width: 100%;
        justify-content: flex-start;
        min-height: 42px;
        border: 1px solid #e5e7eb;
        border-radius: 9px;
        padding: 8px 10px;
        background: #fff;
        font-size: 14px;
    }

    .ac-highlight-toggle input {
        width: 18px !important;
        height: 18px !important;
    }

    .ac-highlight-item {
        grid-template-columns: 52px 68px minmax(0, 1fr);
    }

    .ac-highlight-item > strong {
        grid-column: 3;
        text-align: left;
    }
}
