/* Sales Desk — deal status, agreed sale amount, Won review (r2p) */
.dv-bar,.dv-strip{display:flex;flex-wrap:wrap;gap:8px 18px;align-items:center;padding:8px 10px;margin:8px 0 2px;border:1px solid var(--ws-line,#d5dbe5);border-radius:10px;background:#fbfcfe}
.dv-strip{margin:8px 0 4px}
.dv-cell{display:inline-flex;flex-direction:column;gap:1px;min-width:0}
.dv-cell .dv-k{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#63708a;font-weight:700}
.dv-cell .dv-v{font-size:15px;font-weight:800;font-variant-numeric:tabular-nums;color:#111}
.dv-cell .dv-v .sub{font-weight:500;font-size:12.5px}
.dv-cell.on .dv-v{color:#155538}
.dv-acts{display:inline-flex;flex-wrap:wrap;gap:6px;margin-left:auto;align-items:center}
.btn.dv-btn,.btn.sm.dv-btn,.btn.o.sm.dv-btn,.btn.y.sm.dv-btn{font-weight:700}
.btn.sm.dv-btn{min-height:32px;padding:4px 12px;font-size:13px}
.dv-dlg{width:min(640px,100%)}
.dv-h{margin:0 0 8px;font-size:18px}
.dv-lab{display:block;margin:12px 0 4px;font-size:12.5px;text-transform:uppercase;letter-spacing:.06em;color:#4a5670;font-weight:700}
.dv-lab .dv-hint,.dv-hint{text-transform:none;letter-spacing:0;font-weight:500;color:#63708a}
.dv-in{width:100%;box-sizing:border-box;padding:9px 11px;border:1px solid var(--line,#c9d1de);border-radius:9px;min-height:42px;font:14px inherit;background:#fff}
textarea.dv-in{min-height:56px;resize:vertical}
.dv-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.dv-row .dv-in{width:auto;flex:none}
.dv-derived{margin:8px 0 0;padding:8px 10px;border-radius:8px;background:#f0f4fa;font-size:13.5px;min-height:20px}
.dv-warn{color:#8a4b00;font-weight:600}
.dv-foot{margin-top:10px;line-height:1.45}
.dv-src-list{margin:6px 0 2px;display:flex;flex-direction:column;gap:3px}
.dv-src{display:flex;justify-content:space-between;gap:12px;font-size:13px;padding:4px 8px;border-radius:6px;background:#f5f7fb}
.dv-src.agreed{background:#e8f5ee}
.dv-src.rev{background:#fff4e5}
.dv-src strong{font-variant-numeric:tabular-nums}
.dv-sec{margin-top:12px;padding:10px 12px;border:1px solid var(--ws-hair,#e3e8f0);border-radius:10px}
.dv-sec-h{font-size:12.5px;text-transform:uppercase;letter-spacing:.07em;color:#63708a;font-weight:800;margin-bottom:2px}
.dv-remain{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:10px;padding:8px 10px;background:#f0f4fa;border-radius:8px}
.dv-money .dv-line{display:flex;justify-content:space-between;gap:12px;padding:4px 0;font-size:14px}
.dv-money .dv-line strong{font-variant-numeric:tabular-nums;font-size:15px}
.dv-money .dv-q{display:inline-block;background:#eef1f5;border-radius:6px;padding:1px 7px;margin-left:4px;font-variant-numeric:tabular-nums}
.dv-hist{margin-top:6px}.dv-hist summary{cursor:pointer;font-size:13px;font-weight:600}
.ws-dlg-err{color:#b0321f;font-weight:600;margin-top:8px}
.ws-dlg-err[hidden]{display:none}
/* Easy read */
html.th-contrast .dv-cell .dv-v{font-size:18px}
html.th-contrast .dv-cell .dv-k{font-size:13px}
html.th-contrast .btn.sm.dv-btn{min-height:40px;font-size:15px;padding:6px 14px}
html.th-contrast .dv-in{min-height:46px;font-size:16px}
html.th-contrast .dv-money .dv-line{font-size:16px}
@media (max-width:640px){.dv-acts{margin-left:0;width:100%}.dv-bar,.dv-strip{gap:4px 12px;padding:4px 8px;margin:4px 0 0}.dv-cell .dv-v{font-size:14px}.dv-cell .dv-k{font-size:12px}}

/* r2q — the stage line and the Change stage editor */
.dv-stage{display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;padding:8px 10px;margin:8px 0 6px;border:1px solid var(--ws-line,#d5dbe5);border-radius:10px;background:#f4f9f6}
.dv-stage .dv-k{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#63708a;font-weight:700}
.dv-stage .dv-stage-v{font-size:17px;font-weight:800;color:#155538}
.dv-stage .dv-btn{margin-left:auto}
.dv-stages{display:flex;flex-direction:column;gap:4px;margin-top:4px}
.dv-stg{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:8px;align-items:center;padding:7px 10px;border:1px solid var(--ws-hair,#e3e8f0);border-radius:8px;cursor:pointer}
.dv-stg input{grid-column:1;grid-row:1/3;margin:0;width:18px;height:18px}
.dv-stg .dv-stg-n{font-weight:700;grid-column:2;grid-row:1}
.dv-stg .dv-stg-m{font-size:12.5px;color:#63708a;grid-column:2;grid-row:2}
.dv-stg.cur{background:#f0f4fa}
.dv-stg:has(input:checked){border-color:#155538;background:#e8f5ee}
.dv-stg:focus-within{outline:2px solid #155538;outline-offset:1px}
html.th-contrast .dv-stage .dv-stage-v{font-size:20px}
html.th-contrast .dv-stg .dv-stg-n{font-size:16px}
html.th-contrast .dv-stg .dv-stg-m{font-size:14px}
@media (max-width:640px){.dv-stage{padding:4px 8px;margin:4px 0 2px;gap:3px 10px}.dv-stage .dv-stage-v{font-size:15px}.dv-stage .dv-btn{margin-left:0}}
