body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    background: #f8fafc;
    margin: 0;
    padding: 0;
}
nav.taskbar {
    width: 100%;
    background: #e3eaf2;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
nav.taskbar a {
    color: #1976d2;
    text-decoration: none;
    padding: 14px 32px;
    font-size: 1.08rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    border-radius: 8px 8px 0 0;
    transition: background 0.2s, color 0.2s;
    margin: 0 2px;
}
nav.taskbar a.active,
nav.taskbar a:hover {
    background: #f5faff;
    color: #125ea7;
    border-bottom: 2.5px solid #1976d2;
}
main {
    min-height: 100vh;
}
.form-container {
    max-width: 820px;
    margin: 32px auto;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    border: 1px solid #e3eaf2;
    background: #fff;
}
h2.report-title, h3.expense-title {
    text-align: center;
    font-weight: bold;
    font-size: 1.15rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.report-row, .allowance-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.report-row label, .allowance-row label {
    font-weight: bold;
    margin-right: 6px;
}
.report-row input, .report-row select, .report-row textarea,
.allowance-row input, .allowance-row select, .allowance-row textarea {
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid #dbe6f3;
    border-radius: 6px;
    padding: 7px 10px;
    background: #f7fafc;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
    color: #222;
    margin-bottom: 0;
}
.report-row input:focus, .report-row select:focus, .report-row textarea:focus,
.allowance-row input:focus, .allowance-row select:focus, .allowance-row textarea:focus {
    border: 1.5px solid #90caf9;
    background: #fff;
    box-shadow: 0 2px 8px #e3eaf2;
}
textarea {
    min-height: 38px;
    max-height: 120px;
    resize: vertical;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
}
.expense-table {
    width: 96%;
    margin: 0 auto 18px auto;
    border-collapse: collapse;
    font-family: 'Courier New', Courier, monospace;
    font-size: 10.5pt;
}
.expense-table th, .expense-table td {
    padding: 4px 2px;
    border: 1px solid #222;
    text-align: center;
}
.expense-table th {
    font-size: 0.97rem;
    background: #f5f5f5;
    font-weight: bold;
}
.allowance-section {
    width: 96%;
    margin: 0 auto 18px auto;
}
.allowance-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background: #f5f5f5;
    border: 1px solid #e3eaf2;
    border-radius: 6px;
    padding: 8px 12px;
    margin-bottom: 8px;
}
.declaration {
    margin: 18px 0 8px 0;
    font-size: 10.5pt;
}
.btns {
    margin-top: 32px;
    text-align: right;
}
.btns button {
    background: #1976d2;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 26px;
    font-size: 1rem;
    margin-left: 10px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px #e3eaf2;
}
.btns button:hover {
    background: #1565c0;
}
@media (max-width: 700px) {
    .form-container {
        padding: 12px 2vw 18px 2vw;
    }
    .report-row, .allowance-row {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .btns {
        text-align: center;
    }
    .expense-table {
        width: 100%;
        margin-left: 0;
    }
    .expense-table th, .expense-table td {
        padding: 3px 1px;
        font-size: 0.92rem;
    }
}
input[type="text"],
input[type="number"],
input[type="date"] {
    font-size: 1rem;
    padding: 7px 10px;
    border: 1px solid #dbe6f3;
    border-radius: 6px;
    background: #f7fafc;
    margin-bottom: 0;
    transition: border 0.2s, box-shadow 0.2s;
    outline: none;
    color: #222;
}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus {
    border: 1.5px solid #90caf9;
    background: #fff;
    box-shadow: 0 2px 8px #e3eaf2;
}
input[type="checkbox"] {
    margin: 0 4px 0 0;
    accent-color: #90caf9;
    transform: scale(1.1);
}
strong {
    font-weight: 700;
}
span {
    font-size: 0.97rem;
    color: #4a4a4a;
}
div[style*="margin-top:18px;"] {
    margin-bottom: 10px;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    margin: 0; 
}
input[type=number] {
    -moz-appearance: textfield;
}
input[style*="min-width:120px;"], input[style*="width:120px;"] {
    min-width: 110px !important;
    max-width: 180px;
}
input[style*="min-width:200px;"], input[style*="width:200px;"] {
    min-width: 180px !important;
    max-width: 260px;
}
input[style*="min-width:300px;"], input[style*="width:300px;"] {
    min-width: 220px !important;
    max-width: 350px;
}
input[style*="width:80px;"] {
    width: 70px !important;
    min-width: 60px;
    max-width: 90px;
}
input[type="date"] {
    min-width: 110px;
    max-width: 140px;
}
::-webkit-input-placeholder { color: #b0b0b0; }
::-moz-placeholder { color: #b0b0b0; }
:-ms-input-placeholder { color: #b0b0b0; }
::placeholder { color: #b0b0b0; }
.short-num {
    width: 70px !important;
    min-width: 60px;
    max-width: 90px;
    text-align: right;
}
