/* Supplier vouchers share the document workspace palette. */
@media(min-width:781px){
 .page-vouchers { background:#f4f6fa; color:#172b4d; }
 .page-vouchers .invoice-list-panel,.page-vouchers .invoice-main-panel { background:#fff; border:1px solid #e2e8f1; border-radius:12px; box-shadow:none; min-width:0; overflow-y:auto; }
 .page-vouchers .invoice-list-panel>.toolbar { padding-bottom:16px; border-bottom:1px solid #e7ecf4; }
 .page-vouchers .invoice-list-panel h2 { color:#172b4d; font-size:18px; }
 .page-vouchers .btn { border-radius:8px; box-shadow:none; font-size:12px; }
 .page-vouchers .btn.primary { background:#5268d4; border-color:#5268d4; color:#fff; }
 .page-vouchers .btn.soft { background:#f8fafd; border-color:#e2e8f1; color:#5268d4; }
 .page-vouchers label { color:#74839a; font-size:12px; }
 .page-vouchers input:not([type=file]):not([type=checkbox]):not([type=radio]),.page-vouchers select,.page-vouchers textarea { min-width:0; max-width:100%; box-sizing:border-box; background:#fff; color:#253858; border:1px solid #e0e6f0; border-radius:8px; font-size:13px; }
 .page-vouchers input:not([type=checkbox]):not([type=radio]):focus,.page-vouchers select:focus,.page-vouchers textarea:focus { outline:0; border-color:#899ff0; box-shadow:0 0 0 3px #5268d412; }
 .page-vouchers .voucher-search { padding:12px; background:#f8fafd; border:1px solid #e7ecf4; border-radius:9px; gap:10px; }
 .page-vouchers .invoice-list { gap:0; border:1px solid #e2e8f1; border-radius:9px; }
 .page-vouchers .voucher-batch-toolbar { display:grid; gap:10px; padding:12px 0; position:sticky; top:0; z-index:2; background:#fff; }
 .page-vouchers .voucher-select-all { display:flex; align-items:center; gap:8px; color:#52627a; }
 .page-vouchers .voucher-batch-actions { display:flex; align-items:center; justify-content:space-between; gap:8px; }
 .page-vouchers .voucher-batch-actions small { color:#8390a5; }
 .page-vouchers .voucher-list-row { display:grid; grid-template-columns:30px minmax(0,1fr); border-bottom:1px solid #e7ecf4; }
 .page-vouchers .voucher-list-row:last-child { border-bottom:0; }
 .page-vouchers .voucher-select { display:flex; align-items:flex-start; justify-content:center; padding-top:17px; }
 .page-vouchers .voucher-select input,.page-vouchers .voucher-select-all input { width:16px; height:16px; min-height:0; margin:0; padding:0; accent-color:#5268d4; box-shadow:none; }
 .page-vouchers .voucher-list-row .invoice-card { border-bottom:0; border-radius:0; }
 .page-vouchers .invoice-card { border:0; border-bottom:1px solid #e7ecf4; border-radius:0; box-shadow:none; background:#fff; padding:16px 12px; gap:9px; }
 .page-vouchers .invoice-card:first-child { border-radius:9px 9px 0 0; }
 .page-vouchers .invoice-card:last-child { border-bottom:0; border-radius:0 0 9px 9px; }
 .page-vouchers .invoice-card.active { background:#f0f3fd; box-shadow:inset 3px 0 #5268d4; }
 .page-vouchers .invoice-card:hover { background:#f8faff; }
 .page-vouchers .invoice-card-top { grid-template-columns:minmax(0,1fr) auto; gap:8px; }
 .page-vouchers .invoice-card-top strong { color:#5268d4; font-size:13px; white-space:normal; overflow-wrap:anywhere; }
 .page-vouchers .invoice-card-top b { color:#637daf; background:#eef2fa; padding:3px 7px; border-radius:6px; font-size:11px; }
 .page-vouchers .invoice-card-meta { color:#74839a!important; white-space:normal; overflow-wrap:anywhere; line-height:1.8; }
 .page-vouchers .invoice-card em { color:#253858; font-weight:600; font-size:12px; line-height:1.7; white-space:normal; overflow-wrap:anywhere; }
 .page-vouchers .invoice-editor-head { flex-wrap:wrap; gap:16px; padding-bottom:20px; border-color:#e7ecf4; }
 .page-vouchers .invoice-editor-head>div:first-child { min-width:0; flex:1 1 260px; }
 .page-vouchers .invoice-editor-head h2 { color:#172b4d; font-size:26px; white-space:normal; overflow-wrap:anywhere; }
 .page-vouchers .invoice-editor-head p { color:#8390a5; font-size:12px; line-height:1.7; }
 .page-vouchers .invoice-editor-head .actions { flex-wrap:wrap; gap:8px; }
 .page-vouchers .voucher-language-picker { background:#f8fafd; border-color:#e2e8f1; border-radius:8px; flex-wrap:wrap; }
 .page-vouchers .invoice-block { background:#fff; border:1px solid #e2e8f1; border-radius:10px; padding:18px; margin-top:18px; box-shadow:none; }
 .page-vouchers .voucher-section-heading { margin-bottom:18px; padding-bottom:14px; border-bottom:1px solid #e7ecf4; flex-wrap:wrap; gap:10px; }
 .page-vouchers .voucher-section-heading h3 { color:#253858; font-size:15px; margin:0; padding:0; border:0; }
 .page-vouchers .voucher-section-kicker { color:#8390a5; font-size:10px; font-weight:600; letter-spacing:.04em; margin-bottom:6px; }
 .page-vouchers .voucher-edit-note { color:#8390a5; font-size:11px; white-space:normal; }
 .page-vouchers .voucher-import-panel { background:#f8fafd; border:1px solid #e7ecf4; border-radius:8px; padding:16px; flex-wrap:wrap; }
 .page-vouchers .voucher-import-copy { flex:1 1 320px; }
 .page-vouchers .voucher-import-copy h3 { border:0; padding:0; font-size:14px; color:#253858; }
 .page-vouchers .voucher-import-copy p { font-size:12px; color:#8390a5; line-height:1.7; }
 .page-vouchers .voucher-import-icon { background:#eef2fa; color:#637daf; border-radius:8px; }
 .page-vouchers .voucher-upload-button { color:#fff; }
 .page-vouchers .invoice-form-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
 .page-vouchers .invoice-form-grid .wide { grid-column:1/-1; }
 .page-vouchers .invoice-form-grid textarea { min-height:86px; line-height:1.8; }
 @media(max-width:1250px){
  .page-vouchers .invoice-form-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .page-vouchers .voucher-meta-grid { grid-template-columns:minmax(0,1fr); }
 }
 @media(max-width:1000px){
  .page-vouchers .invoice-form-grid { grid-template-columns:minmax(0,1fr); }
  .page-vouchers .voucher-import-copy { flex-basis:100%; }
 }
}

