.reimbursement-dialog{width:min(1160px,calc(100vw - 36px));max-width:calc(100vw - 36px);max-height:92vh;padding:26px;border:1px solid var(--line,#d6e1d5);border-radius:14px;background:var(--surface,#fff);color:var(--text,#233c30);overflow:auto;overscroll-behavior:contain}
.reimbursement-dialog::backdrop{background:rgba(16,29,23,.38)}
.reimbursement-dialog .reimbursement-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.reimbursement-dialog h2{margin:0;font-size:23px}.reimbursement-dialog h3{margin:0 0 14px;font-size:16px}.reimbursement-dialog p{line-height:1.7;overflow-wrap:anywhere}.reimbursement-subtitle{font-size:15px;margin:8px 0}.reimbursement-note{font-size:13px;color:var(--muted,#626e65);line-height:1.7;margin:10px 0}
.reimbursement-section{margin:24px 0;border-top:1px solid var(--line,#d6e1d5);padding-top:20px}.reimbursement-message{font-size:14px;line-height:1.7}.reimbursement-message:empty{display:none}.reimbursement-error{padding:12px 16px;background:#fff1ec;color:#923b31;border-radius:8px}.reimbursement-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:16px 0}.reimbursement-totals dt{font-size:12px;color:var(--muted,#626e65)}.reimbursement-totals dd{margin:6px 0 0;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.reimbursement-table-wrap{max-width:100%;overflow-x:auto;border:1px solid var(--line,#d6e1d5);border-radius:8px}.reimbursement-table{border-collapse:collapse;width:100%;min-width:960px;font-size:13px;font-variant-numeric:tabular-nums}.reimbursement-table caption{text-align:left;padding:12px 14px;color:var(--muted,#626e65);font-size:12px}.reimbursement-table th,.reimbursement-table td{padding:11px 12px;text-align:left;border-top:1px solid var(--line,#d6e1d5);vertical-align:top;overflow-wrap:anywhere;min-width:65px}.reimbursement-table th{white-space:nowrap;font-size:12px;font-weight:600}.reimbursement-table td:nth-child(3){min-width:160px}.reimbursement-table td:nth-child(5){text-align:right;white-space:nowrap}.reimbursement-table td:nth-child(8){min-width:150px}.reimbursement-table td:nth-child(9){min-width:200px;white-space:pre-wrap}.reimbursement-table tfoot{font-weight:600;background:var(--surface-soft,#f2f5ef)}
.reimbursement-details{margin:12px 0;border:1px solid var(--line,#d6e1d5);border-radius:8px;padding:14px 16px}.reimbursement-details summary{cursor:pointer;font-size:14px;line-height:1.6}.reimbursement-details[open]>summary{margin-bottom:16px}.reimbursement-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 20px}.reimbursement-field{display:flex;flex-direction:column;gap:6px;font-size:13px;min-width:0}.reimbursement-field input,.reimbursement-field select,.reimbursement-proof select{font:inherit;color:inherit;background:var(--surface,#fff);padding:9px 10px;border:1px solid var(--line,#d6e1d5);border-radius:6px;min-height:40px;min-width:0}.reimbursement-check{display:flex;align-items:flex-start;gap:9px;font-size:13px;line-height:1.7;margin:10px 0;cursor:pointer}.reimbursement-check input{flex:0 0 auto;margin-top:5px;width:16px;height:16px;accent-color:var(--accent,#27684d)}.reimbursement-check span{overflow-wrap:anywhere}.reimbursement-issue{border-left:3px solid var(--line,#d6e1d5);padding:12px 15px;margin:12px 0;background:var(--surface-soft,#f5f6f2)}.reimbursement-issue>strong{font-size:12px}.reimbursement-issue p{margin:6px 0;font-size:14px}.reimbursement-issue-blocker{border-left-color:#aa4637}.reimbursement-issue-review{border-left-color:#a77224}.reimbursement-issue-info{border-left-color:var(--accent,#27684d)}
.reimbursement-proof,.reimbursement-file{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid var(--line,#d6e1d5);font-size:13px}.reimbursement-proof .reimbursement-check{flex:1}.reimbursement-file>span{min-width:0;overflow-wrap:anywhere}.reimbursement-file button{flex-shrink:0}.reimbursement-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:16px 0}.reimbursement-dialog button:focus-visible,.reimbursement-dialog input:focus-visible,.reimbursement-dialog select:focus-visible,.reimbursement-dialog summary:focus-visible{outline:2px solid var(--accent,#27684d);outline-offset:3px}.reimbursement-dialog [disabled]{cursor:not-allowed;opacity:.55}
@media(max-width:700px){.reimbursement-dialog{padding:18px;width:calc(100vw - 18px);max-width:calc(100vw - 18px);max-height:94vh}.reimbursement-totals{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.reimbursement-totals dd{font-size:19px}.reimbursement-fields{grid-template-columns:1fr}.reimbursement-proof,.reimbursement-file{align-items:flex-start;flex-wrap:wrap}.reimbursement-proof .reimbursement-check{flex-basis:100%}.reimbursement-details{padding:12px}.reimbursement-actions>button{flex:1}.reimbursement-dialog h2{font-size:21px}}
