body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: #111;
    background: #fff
}

.header {
    border-bottom: 1px solid #eee
}

.header-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 16px 12px;
    display: flex;
    align-items: center;
    gap: 12px
}

.brand {
    font-weight: 600
}

.brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0ea5e9;
    display: inline-block;
    margin-right: 6px
}

.subtitle {
    color: #666;
    font-size: 14px
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 20px 12px
}

.row {
    display: flex
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    height: 40px;
    padding: 0 14px;
    text-decoration: none;
    border: 1px solid #ddd;
    color: #111;
    background: #f8f8f8
}

.btn.btn-primary {
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9
}

.btn.btn-ghost {
    background: #fff
}

input {
    height: 40px;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0 10px;
    font-size: 14px
}

.muted {
    color: #666
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px
}

.section {
    margin-top: 16px
}

.section-title {
    font-weight: 600;
    margin-bottom: 8px
}

.chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0
}

.kpis {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px
}

.kpi {
    padding: 14px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa
}

.kpi .label {
    color: #666;
    margin-bottom: 6px
}

.kpi .value {
    font-weight: 600
}

.kpi .value .discount {
    color: #b00020;
    margin-left: 6px
}

.kpi .value .orig {
    text-decoration: line-through;
    color: #666;
    margin-left: 6px
}

.section .chips+.chips {
    display: none
}

table {
    width: 100%;
    border-collapse: collapse
}

th,
td {
    border-bottom: 1px solid #f3f3f3;
    padding: 8px
}

th {
    text-align: left;
    border-bottom: 1px solid #eee
}

td.num {
    text-align: right
}

.error {
    color: #b00020;
    margin-top: 10px
}