body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #f0f2f5;
    padding: 20px;
    color: #333;
}
.container {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
h1 {
    text-align: center;
    font-size: 1.5rem;
    color: #1e293b;
    margin-bottom: 25px;
}
.input-section {
    background: #f8fafc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 25px;
}
.input-group {
    margin-bottom: 15px;
}
.input-group:last-child {
    margin-bottom: 0;
}
label {
    display: block;
    margin-bottom: 6px;
    font-weight: bold;
    color: #475569;
    font-size: 0.95rem;
}
.input-wrapper {
    display: flex;
    align-items: center;
}
input[type="number"] {
    width: 100%;
    padding: 10px;
    font-size: 1.1rem;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    box-sizing: border-box;
}
.unit {
    margin-left: 10px;
    font-size: 1rem;
    font-weight: bold;
    color: #475569;
    min-width: 40px;
}
.flow-section {
    display: none;
}
.flow-step {
    border-left: 4px solid #3b82f6;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    background: #fdfdfd;
}
.flow-step.deduction {
    border-left-color: #10b981;
}
.flow-step.tax-result {
    border-left-color: #ef4444;
    background: #fff5f5;
}
.flow-step.alert-step {
    border-left-color: #f59e0b;
    background: #fffbeb;
}
.step-title {
    font-size: 0.85rem;
    font-weight: bold;
    color: #64748b;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.step-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}
.step-label {
    font-size: 1rem;
    font-weight: bold;
    color: #334155;
}
.step-value {
    font-size: 1.1rem;
    font-weight: bold;
    font-family: monospace;
}
.step-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.4;
}
.tax-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}
.tax-box {
    background: #fff;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #fee2e2;
    text-align: center;
}
.tax-box-title {
    font-size: 0.85rem;
    color: #7f1d1d;
    font-weight: bold;
    margin-bottom: 5px;
}
.tax-box-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #b91c1c;
    font-family: monospace;
}
.total-box {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed #fca5a5;
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: bold;
    color: #991b1b;
}