/* UTIL-039 Tính chiết khấu — bổ sung cho utilities.css. Font kế thừa .sou-page; không ghi đè icon. */
.dc-title{font-size:19px!important;margin:0 0 14px!important}
.dc-row{display:flex;flex-wrap:wrap;gap:0 12px}
.dc-row .dc-price{flex:1 1 200px}
.dc-row .dc-cur{flex:0 1 130px}
.dc-affix{position:relative}
.dc-affix input{padding-right:52px!important}
.dc-unit{position:absolute;top:0;right:0;min-width:44px;height:46px;padding:0 10px;display:flex;align-items:center;justify-content:flex-end;color:var(--sou-muted);font-weight:700;font-size:14px;pointer-events:none}
.dc-weighted{margin-top:-6px}
.dc-program{margin:14px 0;padding:14px 14px 4px;border:1px solid var(--sou-line);border-radius:14px;background:#fbfcff;min-width:0}
.dc-legend{width:auto;margin:0 0 6px;padding:0 6px;border:0;font-weight:700;color:var(--sou-ink);font-size:16px;line-height:1.4}
.dc-seg-wrap{margin:0 0 12px}
.dc-seg-wrap .sou-label{margin-bottom:6px}
.dc-seg{display:flex;flex-wrap:wrap;gap:8px}
.dc-seg button{min-height:44px;padding:8px 16px;border:1px solid var(--sou-line);border-radius:999px;background:var(--sou-soft);color:var(--sou-ink);font:700 15px Arial,"Helvetica Neue",Helvetica,sans-serif;cursor:pointer}
.dc-seg button[aria-pressed=true]{background:var(--sou-primary);border-color:var(--sou-primary);color:#fff}
.dc-steps{list-style:none;margin:0 0 10px;padding:0;display:grid;gap:10px}
.dc-step{display:flex;flex-wrap:wrap;align-items:flex-start;gap:0 10px;padding:10px 10px 0;border:1px solid var(--sou-line);border-radius:12px;background:#fff}
.dc-step-no{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;margin-top:30px;border-radius:50%;background:var(--sou-soft);color:var(--sou-ink);font-weight:700;flex:none}
.dc-step-type{flex:0 1 120px}
.dc-step-value{flex:1 1 170px}
.dc-step-tools{display:flex;gap:6px;margin:28px 0 12px}
.dc-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid var(--sou-line);border-radius:10px;background:#fff;color:var(--sou-ink);cursor:pointer}
.dc-icon:hover{border-color:#9db6f3;background:var(--sou-soft)}
.dc-add{min-height:44px}
.dc-add-note{display:block;margin:6px 0 12px;color:var(--sou-muted);font-size:14px}
.dc-copy-a{margin:8px 0 0}
.dc-actions{margin:10px 0 4px}
.dc-undo{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:8px 0;padding:6px 12px;border-radius:12px;background:var(--sou-soft);color:var(--sou-ink);font-size:15px}
.dc-remember{margin-top:6px}
.dc-result h2{font-size:18px}
.dc-result.is-stale [data-output]{opacity:.45}
.dc-stale{margin:0 0 10px;padding:8px 12px;border-radius:10px;background:var(--sou-warn-bg);color:var(--sou-warn);font-weight:700;font-size:14px}
.dc-empty{margin:0;color:var(--sou-muted)}
.dc-verdict{margin:0 0 12px;padding:10px 14px;border-radius:12px;background:var(--sou-ok-bg);color:var(--sou-ok);font-weight:700}
.dc-cards{display:grid;gap:14px}
.dc-cards.is-compare{grid-template-columns:repeat(auto-fit,minmax(min(250px,100%),1fr))}
.dc-card{min-width:0}
.dc-cards.is-compare .dc-card{padding:14px;border:1px solid var(--sou-line);border-radius:14px;background:#fff}
.dc-card h3{margin:0 0 8px!important}
.dc-card-empty p{margin:0;color:var(--sou-muted)}
.dc-label{margin:0;color:var(--sou-muted);font-weight:700}
.dc-card .sou-big{margin:0 0 12px}
.dc-card .sou-stats{margin-bottom:12px}
.dc-cards.is-compare .sou-big{font-size:30px}
.dc-table{margin-bottom:12px}
.dc-table caption{caption-side:top;text-align:left;padding:10px 12px 0;font-weight:700;color:var(--sou-ink)}
.dc-warn{font-weight:400;margin-bottom:12px}
.dc-warn ul{margin:0;padding-left:18px}
.dc-note{margin:12px 0 0;color:var(--sou-muted);font-size:14px}
@media(min-width:1024px){.dc-grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}}
@media(max-width:600px){.dc-step-no{margin-top:0}.dc-step-tools{margin-top:0;width:100%}.dc-step-type,.dc-step-value{flex:1 1 100%}}
@media print{.dc-input,.dc-result .sou-toolbar{display:none!important}}
.dc-vat{margin-top:6px}
.dc-vat a{font-weight:700}
/* Vùng chạm tối thiểu 44 px kể cả khi bộ UI thu nhỏ nút trên màn hình hẹp. */
.dc-grid .sou-button,.dc-grid select,.dc-grid input[type=text]{min-height:44px}
/* Các bước trong chế độ so sánh: danh sách xếp dọc, không cần cuộn ngang để thấy số tiền giảm và còn lại. */
.dc-steplist-wrap{margin:0 0 12px}
.dc-steplist-title{margin:0 0 6px;font-weight:700;color:var(--sou-ink)}
.dc-steplist{list-style:none;margin:0;padding:0;border:1px solid var(--sou-line);border-radius:12px;background:#fff}
.dc-steplist li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 12px;padding:8px 12px;border-top:1px solid var(--sou-line)}
.dc-steplist li:first-child{border-top:0}
.dc-step-name{color:var(--sou-text);overflow-wrap:anywhere}
.dc-step-amounts{color:var(--sou-ink);font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.dc-result,.dc-input{min-width:0}
.dc-verdict,.dc-grid small,.dc-grid .sou-status{overflow-wrap:anywhere}
