.ea-app { overflow: visible !important; }

.ea-a4-sheet {
    width: 210mm !important;
    max-width: calc(100vw - 40px) !important;
}

.ea-wide-workspace,
.ea-birthdays {
    width: 100%;
    max-width: 100% !important;
}

.ea-sheet-toolbar {
    padding: 16px 20px !important;
    background: #edf6f3;
    border-top: 1px solid #c9ddd7;
    border-bottom: 1px solid #c9ddd7;
}

.ea-back-button {
    min-height: 48px;
    padding: 12px 18px !important;
    background: #175f54 !important;
    color: #fff !important;
    font-size: 16px;
}

.ea-tax-field input[type="number"] {
    width: 170px !important;
    min-width: 170px !important;
}

.ea-year-title {
    display: block;
    margin-bottom: 5px;
    font-size: 20px;
}

.ea-financial-table th span {
    display: block;
    font-size: 11px;
    font-weight: 600;
}

.ea-financial-table { min-width: 1180px; }
.ea-financial-table td { min-width: 175px; }
.ea-financial-table td:first-child { min-width: 76px; white-space: nowrap; }
.ea-financial-table td:nth-child(2) { min-width: 180px; }

.ea-year-status {
    display: grid;
    gap: 10px;
}

.ea-year-status label span {
    display: block;
    margin-bottom: 4px;
    color: #44564f;
    font-size: 11px;
    font-weight: 800;
}

.ea-year-status select {
    width: 100%;
    min-width: 145px;
    padding: 8px;
    border: 1px solid #9fb6b0;
    border-radius: 5px;
    background: #fff;
}

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

.ea-birthdays .ea-table th,
.ea-birthdays .ea-table td {
    padding: 8px 6px;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 12px;
}

.ea-birthdays .ea-table th:first-child { width: 15%; }
.ea-birthdays .ea-table th:nth-child(2) { width: 10%; }
.ea-birthdays .ea-table th:nth-child(3) { width: 19%; }
.ea-birthdays .ea-table th:nth-child(4) { width: 12%; }
.ea-birthdays .ea-table th:nth-child(5) { width: 14%; }
.ea-birthdays .ea-table th:nth-child(6) { width: 13%; }
.ea-birthdays .ea-table th:nth-child(7) { width: 17%; }
.ea-birthdays select,
.ea-birthdays input { width: 100%; min-width: 0 !important; }

@media (max-width: 900px) {
    .ea-a4-sheet,
    .ea-wide-workspace,
    .ea-birthdays { width: 100% !important; max-width: 100% !important; }
    .ea-financial-table { min-width: 980px; }
}

@media print {
    .ea-a4-sheet,
    .ea-wide-workspace,
    .ea-birthdays { width: 100% !important; max-width: none !important; }
}
