.expense-reimbursement {
  --expense-green: #0b8f6d;
  --expense-green-dark: #08775c;
  --expense-green-soft: #eaf7f2;
  --expense-text: #172033;
  --expense-muted: #667085;
  --expense-border: #d9e1e8;
  --expense-paper-line: #1c1c1c;
  position: relative;
  display: grid;
  grid-template-rows: 64px minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #f3f6f7;
  color: var(--expense-text);
  font-family: inherit;
}

.expense-reimbursement,
.expense-reimbursement *,
.expense-reimbursement *::before,
.expense-reimbursement *::after {
  box-sizing: border-box;
}

.expense-reimbursement [hidden] {
  display: none !important;
}

.expense-reimbursement button,
.expense-reimbursement input {
  font: inherit;
}

.expense-reimbursement button:focus-visible,
.expense-reimbursement [tabindex]:focus-visible {
  outline: 3px solid rgba(11, 143, 109, 0.24);
  outline-offset: 2px;
}

.expense-reimbursement-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 0 16px 0 10px;
  border-bottom: 1px solid var(--expense-border);
  background: #fff;
}

.expense-reimbursement-heading,
.expense-reimbursement-heading > div,
.expense-form-title,
.expense-form-actions,
.expense-records-head,
.expense-records-head > div,
.expense-preview-dialog > header,
.expense-preview-dialog > header > div {
  display: flex;
  align-items: center;
}

.expense-reimbursement-heading {
  min-width: 0;
  gap: 8px;
}

.expense-reimbursement-heading > div {
  align-items: flex-start;
  flex-direction: column;
}

.expense-reimbursement-heading h2,
.expense-reimbursement-heading p {
  margin: 0;
}

.expense-reimbursement-heading h2 {
  font-size: 18px;
  line-height: 1.3;
}

.expense-reimbursement-heading p {
  color: var(--expense-muted);
  font-size: 12px;
}

.expense-current-user {
  max-width: 180px;
  overflow: hidden;
  color: #475467;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expense-icon-button {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #344054;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.expense-icon-button:hover {
  background: #f0f4f3;
}

.expense-primary,
.expense-secondary,
.expense-danger-button {
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 650;
  font-size: 13px;
  line-height: 1.35;
  cursor: pointer;
}

.expense-primary {
  background: var(--expense-green);
  color: #fff;
}

.expense-primary:hover {
  background: var(--expense-green-dark);
}

.expense-secondary {
  border-color: #cfd8e3;
  background: #fff;
  color: #344054;
}

.expense-secondary:hover {
  border-color: #9eacba;
  background: #f8fafb;
}

.expense-danger-button {
  border-color: #f2b8b5;
  background: #fff5f4;
  color: #b42318;
}

.expense-danger-button:hover {
  border-color: #e98f89;
  background: #fee4e2;
}

.expense-reimbursement button:disabled,
.expense-reimbursement input:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.expense-reimbursement-layout {
  display: grid;
  grid-template-columns: var(--linxi-desktop-side-width, 288px) minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.expense-records-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-right: 1px solid var(--expense-border);
  background: #fff;
}

.expense-records-top {
  min-width: 0;
  border-bottom: 1px solid #e9eef1;
}

.expense-records-head {
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px 10px;
}

.expense-records-head > div {
  min-width: 0;
  align-items: flex-start;
  flex-direction: column;
}

.expense-records-head strong {
  font-size: 15px;
}

.expense-records-head span {
  margin-top: 2px;
  color: var(--expense-muted);
  font-size: 12px;
}

.expense-records-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin: 0 12px 12px;
  padding: 3px;
  border: 1px solid #dce8e3;
  border-radius: 999px;
  background: #eef5f2;
}

.expense-records-filter {
  min-width: 0;
  min-height: 30px;
  padding: 4px 8px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #667085;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.expense-records-filter span {
  margin-left: 3px;
  color: inherit;
  font-size: 11px;
}

.expense-records-filter:hover,
.expense-records-filter:focus-visible {
  color: var(--expense-green-dark);
  outline: none;
}

.expense-records-filter.active {
  background: #fff;
  box-shadow: 0 2px 8px rgba(5, 91, 68, 0.12);
  color: var(--expense-green-dark);
}

.expense-records-list {
  min-height: 0;
  overflow: auto;
  padding: 8px;
  scrollbar-gutter: stable;
}

.expense-record-card-shell {
  position: relative;
  margin: 0 0 7px;
}

.expense-record-card {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: #475467;
  text-align: left;
  cursor: pointer;
}

.expense-record-card.has-actions {
  padding-right: 112px;
}

.expense-record-actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 2px;
}

.expense-record-edit,
.expense-record-delete {
  min-height: 28px;
  padding: 3px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
}

.expense-record-edit {
  color: var(--expense-green-dark);
}

.expense-record-delete {
  color: #b42318;
}

.expense-record-edit:hover,
.expense-record-edit:focus-visible {
  border-color: #9fd8bd;
  background: #effbf4;
  outline: none;
}

.expense-record-delete:hover,
.expense-record-delete:focus-visible {
  border-color: #f2b8b5;
  background: #fff5f4;
  outline: none;
}

.expense-record-card:hover {
  background: #f7faf9;
}

.expense-record-card.selected {
  border-color: #8ed3bd;
  background: var(--expense-green-soft);
}

.expense-record-card > span {
  margin-top: 5px;
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expense-record-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 0 !important;
}

.expense-record-card-top strong {
  overflow: hidden;
  color: var(--expense-text);
  font-size: 14px;
  text-overflow: ellipsis;
}

.expense-record-card-top em,
.expense-status {
  flex: 0 0 auto;
  padding: 2px 7px;
  border-radius: 999px;
  background: #eef2f6;
  color: #475467;
  font-style: normal;
  font-size: 11px;
}

.expense-record-card-top em.pending,
.expense-status.pending {
  background: #fff3dc;
  color: #a15c00;
}

.expense-record-card-top em.approved,
.expense-status.approved {
  background: #def6e9;
  color: #067647;
}

.expense-record-card-top em.rejected,
.expense-status.rejected {
  background: #fee4e2;
  color: #b42318;
}

.expense-record-total {
  color: var(--expense-green-dark);
  font-weight: 700;
}

.expense-empty-list {
  display: grid;
  place-content: center;
  min-height: 180px;
  padding: 24px;
  color: var(--expense-muted);
  text-align: center;
}

.expense-empty-list strong {
  margin-bottom: 6px;
  color: #344054;
  font-size: 14px;
}

.expense-empty-list span {
  font-size: 12px;
  line-height: 1.6;
}

.expense-form-panel {
  position: relative;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.expense-form-command-band {
  min-width: 0;
  background: rgba(255, 255, 255, 0.97);
}

.expense-form-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 11px 16px;
  background: transparent;
}

.expense-approval-progress {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  min-width: 0;
  min-height: 42px;
  align-items: center;
  gap: 12px;
  padding: 4px 16px 7px;
  border-bottom: 1px solid var(--expense-border);
}

.expense-approval-progress-heading {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.expense-approval-progress-heading strong {
  color: #344054;
  font-size: 12px;
  line-height: 1.25;
}

.expense-approval-progress-heading span {
  margin-top: 1px;
  overflow: hidden;
  color: var(--expense-green-dark);
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expense-approval-progress.is-rejected .expense-approval-progress-heading span {
  color: #b42318;
}

.expense-approval-progress-strip {
  display: flex;
  min-width: 0;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: thin;
}

.expense-approval-progress-strip > span {
  position: relative;
  display: flex;
  min-width: 108px;
  flex: 1 1 0;
  align-items: center;
  gap: 5px;
  color: #98a2b3;
  font-size: 10px;
  white-space: nowrap;
}

.expense-approval-progress-strip > span:not(:last-child)::after {
  height: 1px;
  min-width: 18px;
  flex: 1 1 auto;
  margin: 0 6px;
  background: #d8dee7;
  content: "";
}

.expense-approval-progress-strip i {
  display: inline-grid;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #eef1f4;
  color: #7a8699;
  font-size: 10px;
  font-style: normal;
  font-weight: 750;
}

.expense-approval-progress-strip b {
  flex: 0 0 auto;
  font-weight: 650;
}

.expense-approval-progress-strip > span.done {
  color: #067647;
}

.expense-approval-progress-strip > span.done i,
.expense-approval-progress-strip > span.active i {
  background: var(--expense-green);
  color: #fff;
}

.expense-approval-progress-strip > span.done::after {
  background: #75dba4;
}

.expense-approval-progress-strip > span.active {
  color: #172033;
}

.expense-approval-progress-strip > span.rejected {
  color: #b42318;
}

.expense-approval-progress-strip > span.rejected i {
  background: #d92d20;
  color: #fff;
}

.expense-form-title {
  min-width: 0;
  gap: 8px;
}

.expense-form-title strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expense-text-button {
  flex: 0 0 auto;
  padding: 2px 5px;
  border: 0;
  background: transparent;
  color: var(--expense-green-dark);
  font-size: 12px;
  cursor: pointer;
}

.expense-text-button:hover {
  text-decoration: underline;
}

.expense-form-actions {
  flex: 0 0 auto;
  gap: 8px;
}

.expense-toolbar-upload {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.expense-toolbar-upload > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.expense-direct-message {
  margin: 10px 16px 0;
  padding: 9px 12px;
  border: 1px solid #f3b8b3;
  border-radius: 7px;
  background: #fff4f3;
  color: #b42318;
  font-size: 13px;
  line-height: 1.5;
}

.expense-direct-message.success {
  border-color: #9fd8bd;
  background: #effbf4;
  color: #067647;
}

.expense-direct-message ul {
  margin: 4px 0 0;
  padding-left: 20px;
}

.expense-pages-scroll {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  min-height: 0;
  overflow: auto;
  padding: 18px;
  background: #e9eef0;
  scrollbar-gutter: stable both-edges;
}

.expense-paper-frame {
  position: relative;
  flex: 0 0 auto;
  width: 297mm;
  height: 210mm;
}

.expense-voucher-workspace {
  flex: 0 0 auto;
  width: min(1120px, 100%);
  padding: 16px;
  border: 1px solid #d5e0dc;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 18px rgba(16, 24, 40, 0.08);
}

.expense-voucher-pages {
  flex: 0 0 auto;
  width: min(1120px, 100%);
}

.expense-voucher-pages .expense-voucher-grid {
  margin-top: 0;
}

.expense-voucher-workspace > header,
.expense-voucher-workspace > header > div,
.expense-voucher-card > header,
.expense-voucher-card > header > div,
.expense-voucher-card > footer {
  display: flex;
  align-items: center;
}

.expense-voucher-workspace > header {
  justify-content: space-between;
  gap: 16px;
}

.expense-voucher-workspace > header > div {
  align-items: flex-start;
  flex-direction: column;
  min-width: 0;
}

.expense-voucher-workspace > header strong {
  font-size: 15px;
}

.expense-voucher-workspace > header span,
.expense-voucher-card > header span {
  margin-top: 3px;
  color: var(--expense-muted);
  font-size: 12px;
}

.expense-upload-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid var(--expense-green);
  border-radius: 7px;
  background: var(--expense-green);
  color: #fff;
  font-weight: 650;
  font-size: 13px;
  cursor: pointer;
}

.expense-upload-button:hover {
  background: var(--expense-green-dark);
}

.expense-upload-button.disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.expense-upload-button > input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.expense-upload-button > span:not(.expense-help-tooltip) {
  margin: 0;
  color: inherit;
}

.expense-voucher-notice {
  margin-top: 12px;
  padding: 9px 11px;
  border-radius: 7px;
  background: #f2f5f4;
  color: #475467;
  font-size: 13px;
}

.expense-voucher-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 12px;
  margin-top: 14px;
}

.expense-voucher-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d8e1e6;
  border-radius: 9px;
  background: #fff;
}

.expense-voucher-card.failed {
  border-color: #efb2ad;
}

.expense-voucher-card.duplicate {
  border-color: #e8c778;
}

.expense-voucher-card > header {
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 9px 11px;
  border-bottom: 1px solid #edf1f3;
}

.expense-voucher-card > header > div:first-child {
  align-items: flex-start;
  flex-direction: column;
  min-width: 0;
}

.expense-voucher-card > header > div:last-child {
  flex: 0 0 auto;
  gap: 6px;
}

.expense-voucher-card > header strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expense-voucher-card > header button {
  min-height: 30px;
  padding: 4px 9px;
  font-size: 12px;
}

.expense-danger-link {
  min-height: 30px;
  padding: 4px 6px;
  border: 0;
  background: transparent;
  color: #b42318;
  cursor: pointer;
}

.expense-voucher-preview {
  display: grid;
  place-items: center;
  height: 360px;
  overflow: hidden;
  background: #e9eef0;
}

.expense-voucher-preview iframe,
.expense-voucher-preview img {
  width: 100%;
  height: 100%;
  border: 0;
}

.expense-voucher-preview img {
  object-fit: contain;
}

.expense-voucher-preview-placeholder,
.expense-voucher-empty {
  display: grid;
  place-items: center;
  color: var(--expense-muted);
  text-align: center;
}

.expense-voucher-preview-placeholder {
  gap: 8px;
}

.expense-voucher-preview-placeholder > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  color: var(--expense-green-dark);
  font-weight: 750;
}

.expense-voucher-empty {
  min-height: 128px;
  margin-top: 12px;
  padding: 18px;
  border: 1px dashed #ccd8d4;
  border-radius: 8px;
  background: #f8faf9;
}

.expense-voucher-empty span:not(.expense-inline-spinner) {
  margin-top: 5px;
  font-size: 12px;
}

.expense-inline-spinner {
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  border: 2px solid #dce7e3;
  border-top-color: var(--expense-green);
  border-radius: 50%;
  animation: expense-spin 0.8s linear infinite;
}

.expense-upload-progress {
  height: 3px;
  overflow: hidden;
  background: #e8edeb;
}

.expense-upload-progress > span {
  display: block;
  height: 100%;
  background: var(--expense-green);
  transition: width 120ms linear;
}

.expense-voucher-error {
  margin: 0;
  padding: 7px 11px;
  background: #fff4f3;
  color: #b42318;
  font-size: 12px;
  line-height: 1.5;
}

.expense-voucher-card.duplicate .expense-voucher-error {
  background: #fff9e8;
  color: #8a5700;
}

.expense-voucher-card > footer {
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 7px 11px;
  border-top: 1px solid #edf1f3;
  color: #344054;
  font-size: 12px;
}

.expense-voucher-card > footer span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expense-voucher-card > footer strong {
  flex: 0 0 auto;
  color: var(--expense-green-dark);
}

.expense-reimbursement.is-busy .expense-paper input,
.expense-reimbursement.is-busy .expense-upload-button,
.expense-reimbursement.is-busy .expense-toolbar-upload {
  pointer-events: none;
}

.expense-reimbursement.is-voucher-dragging::after {
  position: absolute;
  inset: 10px;
  z-index: 900;
  display: grid;
  place-items: center;
  border: 2px dashed var(--expense-green);
  border-radius: 14px;
  background: rgba(231, 248, 241, 0.92);
  color: var(--expense-green-dark);
  content: "松开即可上传并识别报销凭证";
  pointer-events: auto;
  font-size: 16px;
  font-weight: 750;
}

.expense-reimbursement.is-receipt-dragging::after {
  position: absolute;
  inset: 10px;
  z-index: 1100;
  display: grid;
  place-items: center;
  border: 2px dashed var(--expense-green);
  border-radius: 14px;
  background: rgba(231, 248, 241, 0.94);
  color: var(--expense-green-dark);
  content: "松开即可安全上传付款回单";
  pointer-events: none;
  font-size: 16px;
  font-weight: 750;
}

.expense-paper {
  position: absolute;
  top: 0;
  left: 0;
  width: 297mm;
  height: 210mm;
  overflow: hidden;
  background: #fff;
  color: #111;
  font-family: SimSun, "宋体", serif;
  box-shadow: 0 4px 18px rgba(16, 24, 40, 0.16);
  transform-origin: top left;
}

.expense-page-one {
  padding: 30mm 25.4mm 20mm 29.4mm;
}

.expense-company {
  height: 8mm;
  font-family: "FZXiaoBiaoSong-B05S", "方正小标宋简体", SimSun, serif;
  font-size: 22pt;
  font-weight: 400;
  line-height: 8mm;
  text-align: center;
}

.expense-paper-title {
  height: 28.6mm;
  margin: 0;
  font-family: "FZXiaoBiaoSong-B05S", "方正小标宋简体", SimSun, serif;
  font-size: 22pt;
  font-weight: 400;
  line-height: 15mm;
  text-align: center;
}

.expense-main-table {
  width: 236.7mm;
  height: 80mm;
  border-collapse: collapse;
  table-layout: fixed;
  border: 0.24mm solid var(--expense-paper-line);
  font-size: 12pt;
  font-weight: 700;
}

.expense-main-table th,
.expense-main-table td {
  position: relative;
  height: 8mm;
  padding: 0;
  overflow: visible;
  border: 0.24mm solid var(--expense-paper-line);
  line-height: 1.15;
  text-align: center;
  vertical-align: middle;
}

.expense-main-table th {
  font-weight: 700;
}

.expense-col-summary {
  width: 128.5mm;
}

.expense-col-digit {
  width: 12mm;
}

.expense-col-attachment {
  width: 24.2mm;
}

.expense-identity-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 8mm;
  text-align: left;
}

.expense-identity-line strong {
  display: inline-block;
  min-width: 38mm;
  border-bottom: 0.2mm solid #111;
  font-weight: 700;
  text-align: center;
}

.expense-table-heading-row th,
.expense-unit-row th {
  background: #fff;
}

.expense-summary-input,
.expense-amount-control input {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 2.4mm;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-family: SimSun, "宋体", serif;
  font-size: 11pt;
  font-weight: 700;
  outline: 0;
  text-align: center;
}

.expense-summary-input {
  text-align: left;
}

.expense-summary-input:focus,
.expense-attachment-control:focus {
  background: rgba(234, 247, 242, 0.38);
  box-shadow: inset 0 -1px 0 rgba(8, 119, 92, 0.64);
}

.expense-digit-cell > span {
  position: relative;
  z-index: 1;
}

.expense-amount-first {
  z-index: 2;
}

.expense-help-target.expense-amount-control {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  display: block;
  width: calc(700% + 1.45mm);
}

.expense-amount-control input {
  position: absolute;
  inset: 0;
  z-index: 2;
  color: transparent;
  caret-color: var(--expense-green-dark);
}

.expense-amount-control input:hover {
  background: rgba(234, 247, 242, 0.14);
}

.expense-amount-control input:focus {
  background: #fff;
  color: #111;
  box-shadow: inset 0 -1px 0 rgba(8, 119, 92, 0.68);
}

.expense-attachment-control {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  outline: 0;
}

.expense-attachment-value {
  min-width: 1ch;
  font-family: SimSun, "宋体", serif;
  font-size: 11pt;
  font-weight: 700;
  text-align: center;
}

.expense-item-row.invalid-row td,
.expense-item-row.invalid-amount td {
  box-shadow: inset 0 0 0 0.55mm rgba(217, 45, 32, 0.6);
}

.expense-total-row td:first-child {
  padding: 0 3mm;
  text-align: left;
}

.expense-total-row td:last-child {
  padding: 0 4mm;
  text-align: left;
}

.expense-total-row span {
  margin-right: 4mm;
  font-size: 10.5pt;
}

.expense-total-row strong {
  font-size: 11pt;
}

.expense-signatures {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7mm 8mm;
  width: 236.7mm;
  margin-top: 10mm;
  font-size: 12pt;
  font-weight: 700;
}

.expense-signatures > div {
  display: flex;
  min-width: 0;
}

.expense-signatures i {
  flex: 1 1 auto;
  min-width: 15mm;
  min-height: 9mm;
  border-bottom: 0.2mm solid #111;
  font-style: normal;
  text-align: center;
}

.expense-signatures img {
  display: block;
  width: 100%;
  height: 9mm;
  object-fit: contain;
  object-position: center bottom;
}

.expense-help-target {
  position: relative;
}

.expense-help-tooltip {
  position: absolute;
  top: calc(100% + 11px);
  left: 8px;
  z-index: 30;
  display: none;
  width: 250px;
  padding: 8px 10px;
  border-radius: 7px;
  background: #344054;
  color: #fff;
  font-family: system-ui, "Microsoft YaHei", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
  white-space: normal;
  box-shadow: 0 7px 20px rgba(16, 24, 40, 0.2);
  pointer-events: none;
}

.expense-help-tooltip::before {
  position: absolute;
  bottom: 100%;
  left: 18px;
  border: 6px solid transparent;
  border-bottom-color: #344054;
  content: "";
}

.expense-help-tooltip-right {
  right: 8px;
  left: auto;
}

.expense-help-tooltip-right::before {
  right: 18px;
  left: auto;
}

@media (hover: hover) and (pointer: fine) {
  .expense-help-target:hover > .expense-help-tooltip,
  .expense-reimbursement.using-keyboard .expense-help-target:focus-within > .expense-help-tooltip {
    display: block;
  }
}

.expense-help-target[data-help-open] > .expense-help-tooltip {
  display: block;
}

.expense-page-two {
  padding: 10mm 25.4mm 10mm 29.4mm;
}

.expense-voucher-title {
  width: 241.3mm;
  height: 14.64mm;
  margin: 0;
  font-family: "FZXiaoBiaoSong-B05S", "方正小标宋简体", SimSun, serif;
  font-size: 22pt;
  font-weight: 400;
  line-height: 14mm;
  text-align: center;
}

.expense-voucher-stage {
  position: relative;
  width: 241.3mm;
  height: 157.92mm;
  border-left: 0.24mm solid var(--expense-paper-line);
}

.expense-voucher-direction {
  position: absolute;
  top: 29.36mm;
  left: 14.6mm;
  font-size: 16pt;
  font-weight: 700;
  letter-spacing: 1.5mm;
  writing-mode: vertical-rl;
}

.expense-voucher-instructions {
  position: absolute;
  top: 27.47mm;
  left: 74.06mm;
  width: 150mm;
  color: #111;
  font-size: 12pt;
  font-weight: 700;
  line-height: 8.25mm;
}

.expense-voucher-instructions p {
  margin: 0;
}

.expense-voucher-table {
  width: 241.3mm;
  height: 16mm;
  border-collapse: collapse;
  table-layout: fixed;
  border: 0.24mm solid var(--expense-paper-line);
  font-size: 11pt;
  font-weight: 700;
}

.expense-voucher-table col:nth-child(1) { width: 21.1mm; }
.expense-voucher-table col:nth-child(2) { width: 60.7mm; }
.expense-voucher-table col:nth-child(3) { width: 81.8mm; }
.expense-voucher-table col:nth-child(4) { width: 77.7mm; }

.expense-voucher-table th,
.expense-voucher-table td {
  height: 8mm;
  padding: 0 2mm;
  border: 0.24mm solid var(--expense-paper-line);
  overflow: hidden;
  line-height: 1.25;
  vertical-align: middle;
}

.expense-voucher-table th {
  text-align: center;
  white-space: nowrap;
}

.expense-voucher-table td {
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expense-voucher-table th:first-child {
  padding-right: 0.7mm;
  padding-left: 0.7mm;
}

.expense-voucher-table [data-expense-payment-purpose] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expense-module-loading {
  display: grid;
  place-content: center;
  height: 100%;
  color: var(--expense-muted);
  text-align: center;
}

.expense-module-loading span {
  width: 30px;
  height: 30px;
  margin: 0 auto 10px;
  border: 3px solid #dce7e3;
  border-top-color: var(--expense-green);
  border-radius: 50%;
  animation: expense-spin 0.8s linear infinite;
}

@keyframes expense-spin {
  to { transform: rotate(360deg); }
}

.expense-dialog-layer {
  position: absolute;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 24, 40, 0.56);
}

.expense-confirm-dialog,
.expense-preview-dialog {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(16, 24, 40, 0.3);
}

.expense-confirm-dialog {
  width: min(420px, 100%);
  padding: 24px;
}

.expense-confirm-dialog h3,
.expense-confirm-dialog p {
  margin: 0;
}

.expense-confirm-dialog .expense-dialog-note {
  color: #475467;
  font-size: 12px;
}

.expense-matter-dialog label {
  display: block;
  margin-top: 18px;
  color: #344054;
  font-size: 13px;
  font-weight: 650;
}

.expense-matter-dialog label em {
  margin-left: 4px;
  color: #b42318;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
}

.expense-matter-dialog input {
  width: 100%;
  height: 42px;
  margin-top: 7px;
  padding: 0 11px;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  outline: 0;
}

.expense-matter-dialog input:focus {
  border-color: var(--expense-green);
  box-shadow: 0 0 0 3px rgba(11, 143, 109, 0.12);
}

.expense-dialog-error {
  margin-top: 8px;
  color: #b42318;
  font-size: 12px;
  line-height: 1.5;
}

.expense-confirm-dialog h3 {
  font-size: 18px;
}

.expense-confirm-dialog p {
  margin-top: 10px;
  color: var(--expense-muted);
  font-size: 14px;
  line-height: 1.65;
}

.expense-confirm-dialog > div {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
}

.expense-confirm-dialog > .expense-dialog-error {
  display: block;
  margin-top: 8px;
  text-align: left;
}

.expense-preview-dialog {
  display: grid;
  grid-template-rows: 58px minmax(0, 1fr);
  width: min(1180px, calc(100% - 36px));
  height: min(860px, calc(100% - 36px));
}

.expense-preview-dialog > header {
  justify-content: space-between;
  gap: 12px;
  padding: 0 12px 0 18px;
  border-bottom: 1px solid var(--expense-border);
}

.expense-preview-dialog > header > div {
  gap: 8px;
}

.expense-preview-dialog h3 {
  margin: 0;
  font-size: 16px;
}

.expense-preview-close {
  min-width: 64px;
}

.expense-preview-dialog iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #e5eaec;
}

.expense-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1100;
  max-width: min(360px, calc(100vw - 40px));
  padding: 10px 14px;
  border-radius: 8px;
  background: #067647;
  color: #fff;
  font-size: 13px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.2);
}

.expense-toast.error {
  background: #b42318;
}

.expense-voucher-drop-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  min-height: 54px;
  margin-top: 12px;
  border: 1px dashed #9dcbbb;
  border-radius: 8px;
  background: #f7fcfa;
  color: #47665c;
  font-size: 12px;
  transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
}

.expense-voucher-drop-hint strong {
  color: #23624f;
  font-size: 13px;
}

.expense-voucher-workspace.is-dragging .expense-voucher-drop-hint,
.expense-workflow-dropzone.is-dragging {
  border-color: var(--expense-green);
  background: #e7f8f1;
  transform: translateY(-1px);
}

.expense-workflow-panel,
.expense-workflow-document {
  flex: 0 0 auto;
  width: min(1120px, 100%);
  border: 1px solid #d5e0dc;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 18px rgba(16, 24, 40, 0.08);
}

.expense-workflow-panel {
  padding: 18px;
}

.expense-workflow-panel.loading,
.expense-workflow-panel.error {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 90px;
  color: var(--expense-muted);
}

.expense-workflow-panel.error {
  flex-direction: column;
}

.expense-workflow-panel > header,
.expense-workflow-card > header,
.expense-workflow-document > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.expense-workflow-panel > header > div,
.expense-workflow-card > header > div,
.expense-workflow-document > header > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  min-width: 0;
}

.expense-workflow-panel > header span,
.expense-workflow-card > header span,
.expense-workflow-document > header span {
  color: var(--expense-muted);
  font-size: 12px;
}

.expense-workflow-panel > header h3 {
  margin: 2px 0 0;
  font-size: 20px;
}

.expense-workflow-panel > header > em {
  color: #98a2b3;
  font-style: normal;
  font-size: 11px;
}

.expense-workflow-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.expense-workflow-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid #e1e8e5;
  border-radius: 10px;
  background: #fbfdfc;
}

.expense-workflow-card > header em {
  padding: 3px 8px;
  border-radius: 999px;
  background: #e8f5ef;
  color: #08775c;
  font-style: normal;
  font-size: 11px;
}

.expense-payment-card dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 14px 0 0;
}

.expense-payment-card dl > div {
  min-width: 0;
}

.expense-payment-card dt {
  margin-bottom: 3px;
  color: var(--expense-muted);
  font-size: 11px;
}

.expense-payment-card dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #27364a;
  font-weight: 650;
  font-size: 13px;
}

.expense-payment-card .expense-payment-amount {
  grid-column: 1 / -1;
  padding-top: 8px;
  border-top: 1px solid #e7ecea;
}

.expense-payment-card .expense-payment-amount dd {
  color: var(--expense-green-dark);
  font-size: 20px;
}

.expense-account-number {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.04em;
}

.expense-print-badges span {
  padding: 6px 9px;
  border-radius: 7px;
  background: #f1f4f6;
  color: #475467;
  font-size: 12px;
}

.expense-print-badges span.done {
  background: #e7f7ef;
  color: #067647;
}

.expense-document-status p {
  margin: 14px 0 0;
  color: var(--expense-muted);
  font-size: 12px;
  line-height: 1.6;
}

.expense-workflow-evidence {
  grid-column: 1 / -1;
}

.expense-workflow-evidence > div {
  margin-top: 10px;
}

.expense-workflow-evidence ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 7px 0 0;
  padding: 0;
  list-style: none;
}

.expense-workflow-evidence li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  border-radius: 7px;
  background: #eef4f2;
  font-size: 12px;
}

.expense-workflow-evidence a {
  max-width: 320px;
  overflow: hidden;
  color: var(--expense-green-dark);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expense-workflow-evidence li span {
  color: var(--expense-muted);
  font-size: 11px;
}

.expense-workflow-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.expense-print-summary {
  grid-column: 1 / -1;
}

.expense-print-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.expense-print-attempt-state {
  color: #687b75;
}

.expense-print-attempt-state[data-tone="done"] {
  color: #087553;
  background: #e8f6f0;
}

.expense-print-attempt-state[data-tone="error"],
.expense-print-attempt-state[data-tone="warning"] {
  color: #946018;
  background: #fff5e4;
}

.expense-workflow-document {
  overflow: hidden;
}

.expense-workflow-document > header {
  min-height: 58px;
  padding: 10px 14px;
  border-bottom: 1px solid #e2e8e5;
}

.expense-workflow-document iframe {
  display: block;
  width: 100%;
  height: min(760px, 78vh);
  border: 0;
  background: #e9eef0;
}

.expense-workflow-dialog {
  width: min(560px, calc(100% - 28px));
}

.expense-work-dialog {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  width: min(920px, calc(100% - 28px));
  max-height: calc(100% - 36px);
  padding: 0;
}

.expense-work-dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #e4ebe8;
}

.expense-work-dialog > header > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.expense-work-dialog > header span {
  color: var(--expense-muted);
  font-size: 12px;
}

.expense-work-dialog > header h3 {
  overflow: hidden;
  margin: 0;
  font-size: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expense-work-dialog > header > strong {
  flex: 0 0 auto;
  color: var(--expense-green-dark);
  font-size: 20px;
}

.expense-work-instruction {
  margin: 0 !important;
  padding: 13px 22px;
  border-bottom: 1px solid #edf1ef;
  background: #f5faf8;
  color: #285d4e !important;
  font-size: 13px !important;
  font-weight: 700;
  line-height: 1.5 !important;
}

.expense-payment-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 0;
  margin: 0;
  overflow: auto;
  padding: 8px 22px 14px;
}

.expense-payment-facts > div {
  min-width: 0;
  padding: 11px 0;
  border-bottom: 1px solid #edf1ef;
}

.expense-payment-facts > div:nth-child(odd):not(.expense-payment-purpose-fact) {
  padding-right: 18px;
}

.expense-payment-facts > div:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid #edf1ef;
}

.expense-payment-facts dt {
  margin-bottom: 5px;
  color: var(--expense-muted);
  font-size: 11px;
}

.expense-payment-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
  color: #27364a;
  font-size: 14px;
  font-weight: 700;
}

.expense-payment-facts .expense-payment-fact-amount {
  color: var(--expense-green-dark);
  font-size: 18px;
}

.expense-payment-purpose-fact {
  grid-column: 1 / -1;
}

.expense-work-dialog > footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 14px 22px 18px;
  border-top: 1px solid #e4ebe8;
  background: #fff;
}

.expense-review-work-dialog {
  grid-template-rows: auto auto auto minmax(0, 1fr) auto;
}

.expense-review-receipts {
  min-height: 0;
  overflow: auto;
  padding: 0 22px 14px;
}

.expense-review-receipts > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
}

.expense-review-receipts > header > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.expense-review-receipts > header strong {
  color: #27364a;
  font-size: 13px;
}

.expense-review-receipts > header span {
  color: var(--expense-muted);
  font-size: 11px;
}

.expense-receipt-picker {
  flex: 0 0 auto;
  cursor: pointer;
}

.expense-receipt-picker input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.expense-receipt-picker > span {
  color: inherit !important;
  font-size: inherit !important;
}

.expense-workflow-dialog label:not(.expense-workflow-dropzone) {
  display: block;
  margin-top: 14px;
  color: #344054;
  font-weight: 650;
  font-size: 13px;
}

.expense-workflow-dialog label em {
  color: #b42318;
  font-style: normal;
}

.expense-workflow-dialog input:not([type="file"]),
.expense-workflow-dialog textarea,
.expense-workflow-dialog select {
  width: 100%;
  margin-top: 6px;
  padding: 9px 11px;
  border: 1px solid #cfd8e3;
  border-radius: 7px;
  background: #fff;
  color: var(--expense-text);
  font: inherit;
}

.expense-workflow-dropzone {
  display: grid;
  place-items: center;
  min-height: 120px;
  margin-top: 14px;
  padding: 18px;
  border: 1px dashed #9dcbbb;
  border-radius: 9px;
  background: #f7fcfa;
  color: #47665c;
  text-align: center;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
}

.expense-workflow-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.expense-workflow-dropzone strong {
  color: #23624f;
  font-size: 14px;
}

.expense-workflow-dropzone span {
  margin-top: 5px;
  font-size: 12px;
}

.expense-workflow-files {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.expense-workflow-files li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #edf1f0;
}

.expense-workflow-files li > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.expense-workflow-files .expense-workflow-file-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  flex-direction: row;
  gap: 7px;
}

.expense-workflow-files li.is-error em {
  color: #b42318;
}

.expense-compact-button {
  min-height: 28px;
  padding: 4px 9px;
  font-size: 11px;
}

.expense-workflow-files button:disabled,
.expense-work-dialog button:disabled {
  cursor: not-allowed;
  opacity: 0.52;
}

.expense-workflow-files strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expense-workflow-files em,
.expense-workflow-files-empty {
  color: var(--expense-muted);
  font-style: normal;
  font-size: 11px;
}

.expense-workflow-files-empty {
  display: block;
  margin-top: 8px;
}

.expense-blocking-hint {
  padding: 9px 10px;
  border-radius: 7px;
  background: #fff4e5;
  color: #8b5500 !important;
}

.expense-print-dialog {
  width: min(720px, calc(100% - 28px));
  max-height: calc(100% - 36px);
  overflow: auto;
}

.expense-smart-print-status {
  display: grid !important;
  gap: 4px !important;
  margin-top: 16px !important;
  padding: 13px 14px;
  border: 1px solid rgba(236, 255, 249, 0.28);
  border-radius: 10px;
  background: rgba(1, 52, 42, 0.3);
}

.expense-smart-print-status strong {
  color: #f6fffc !important;
  font-size: 14px;
}

.expense-smart-print-status span {
  color: rgba(246, 255, 252, 0.76) !important;
  font-size: 12px;
  line-height: 1.55;
}

.expense-smart-print-status[data-tone="done"] {
  border-color: rgba(183, 255, 224, 0.42);
  background: rgba(8, 92, 71, 0.42);
}

.expense-smart-print-status[data-tone="error"],
.expense-smart-print-status[data-tone="warning"] {
  border-color: rgba(255, 218, 167, 0.48);
  background: rgba(103, 65, 20, 0.38);
}

.expense-confirm-dialog > .expense-smart-print-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.expense-smart-print-actions > button:last-child {
  margin-left: auto;
}

.expense-confirm-dialog.expense-binding-dialog > div {
  justify-content: flex-start;
}

.expense-binding-dialog > div > button:last-child {
  margin-left: auto;
}

.expense-print-warning {
  margin-top: 12px !important;
  padding: 9px 11px;
  border-radius: 8px;
  background: #fff5e6;
  color: #8a5810 !important;
  font-size: 12px !important;
}

.expense-print-batch-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px !important;
  margin-top: 16px !important;
}

.expense-print-batch-button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 104px;
  border: 1px solid #95cdb8;
  border-radius: 10px;
  background: #f6fbf9;
  color: #116c53;
  text-align: center;
  cursor: pointer;
}

.expense-print-batch-button:hover:not(:disabled),
.expense-print-batch-button:focus-visible {
  border-color: #168f6b;
  box-shadow: 0 0 0 3px rgba(22, 143, 107, 0.12);
}

.expense-print-batch-button.done {
  border-color: #62bb98;
  background: #eaf8f1;
}

.expense-print-batch-button:disabled {
  cursor: default;
  opacity: 0.64;
}

.expense-print-batch-button strong {
  font-size: 16px;
}

.expense-print-batch-button span {
  margin-top: 6px;
  font-weight: 400;
  font-size: 12px;
}

.expense-binding-order {
  display: block;
  margin-top: 14px;
  padding: 12px;
  border-radius: 9px;
  background: #f4f7f6;
  font-size: 12px;
}

.expense-binding-order ol {
  margin: 8px 0 0;
  padding-left: 22px;
  color: #475467;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .expense-reimbursement {
    grid-template-rows: minmax(0, 1fr);
  }

  .expense-reimbursement-header {
    display: none;
  }
}

@media (max-width: 900px) {
  .expense-reimbursement-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .expense-records-panel {
    display: block;
    border-right: 0;
    border-bottom: 1px solid var(--expense-border);
  }

  .expense-records-head {
    padding: 8px 12px 7px;
  }

  .expense-records-filters {
    margin-bottom: 8px;
  }

  .expense-records-list {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding: 7px 10px;
  }

  .expense-record-card {
    flex: 0 0 220px;
    margin: 0;
  }

  .expense-empty-list {
    min-height: 70px;
    place-content: start;
    text-align: left;
  }

  .expense-form-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 9px 12px;
  }

  .expense-approval-progress {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    padding: 5px 12px 8px;
  }

  .expense-approval-progress-heading {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .expense-approval-progress-heading span {
    margin-top: 0;
  }

  .expense-approval-progress-strip > span {
    min-width: 104px;
  }

  .expense-form-actions {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .expense-form-actions button,
  .expense-form-actions .expense-toolbar-upload {
    flex: 0 0 auto;
  }

  .expense-pages-scroll {
    padding: 12px;
    overscroll-behavior: contain;
  }

  .expense-voucher-workspace {
    padding: 12px;
  }

  .expense-voucher-pages {
    width: 100%;
  }

  .expense-voucher-workspace > header {
    align-items: stretch;
    flex-direction: column;
  }

  .expense-upload-button {
    align-self: flex-start;
  }

  .expense-voucher-grid {
    grid-template-columns: 1fr;
  }

  .expense-voucher-preview {
    height: min(62vh, 420px);
  }

  .expense-workflow-grid,
  .expense-payment-card dl,
  .expense-print-batch-grid {
    grid-template-columns: 1fr;
  }

  .expense-workflow-panel {
    padding: 12px;
  }

  .expense-workflow-panel > header,
  .expense-workflow-document > header {
    align-items: flex-start;
    flex-direction: column;
  }

  .expense-workflow-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .expense-workflow-actions button {
    width: 100%;
  }

  .expense-print-summary .expense-workflow-actions {
    flex-direction: column;
  }

  .expense-workflow-document iframe {
    height: 66vh;
  }

  .expense-work-dialog {
    width: calc(100% - 20px);
    max-height: calc(100% - 20px);
  }

  .expense-work-dialog > header,
  .expense-work-dialog > footer {
    padding-right: 14px;
    padding-left: 14px;
  }

  .expense-payment-facts {
    grid-template-columns: 1fr;
    padding-right: 14px;
    padding-left: 14px;
  }

  .expense-payment-facts > div:nth-child(odd):not(.expense-payment-purpose-fact),
  .expense-payment-facts > div:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-left: 0;
  }

  .expense-review-receipts {
    padding-right: 14px;
    padding-left: 14px;
  }

  .expense-work-dialog > footer button {
    flex: 1 1 0;
  }

  .expense-help-tooltip {
    position: fixed;
    top: auto;
    right: 14px;
    bottom: 18px;
    left: 14px;
    width: auto;
    max-width: none;
  }

  .expense-help-tooltip::before {
    display: none;
  }
}

@media print {
  .expense-reimbursement-header,
  .expense-records-panel,
  .expense-form-toolbar,
  .expense-approval-progress,
  .expense-direct-message,
  .expense-voucher-workspace,
  .expense-voucher-pages,
  .expense-workflow-panel,
  .expense-workflow-document,
  .expense-dialog-layer,
  .expense-toast {
    display: none !important;
  }

  .expense-reimbursement,
  .expense-reimbursement-layout,
  .expense-form-panel,
  .expense-pages-scroll {
    display: block;
    width: auto;
    height: auto;
    overflow: visible;
    padding: 0;
    background: #fff;
  }

  .expense-paper-frame {
    width: 297mm !important;
    height: 210mm !important;
    break-after: page;
  }

  .expense-paper {
    position: relative;
    transform: none !important;
    box-shadow: none;
  }

  .expense-paper-frame:last-child {
    break-after: auto;
  }
}

/* 2026-08-20：费用弹窗内容层与统一深绿玻璃基座完整衔接。 */
.expense-work-dialog[data-linxi-modal-panel] {
  color: var(--linxi-modal-text, #f6fffc) !important;
}

.expense-work-dialog[data-linxi-modal-panel] > header,
.expense-work-dialog[data-linxi-modal-panel] > footer {
  color: var(--linxi-modal-text, #f6fffc) !important;
  border-color: rgba(232, 255, 247, 0.2) !important;
  background: rgba(3, 70, 56, 0.16) !important;
}

.expense-work-dialog[data-linxi-modal-panel] > header span,
.expense-work-dialog[data-linxi-modal-panel] .expense-payment-facts dt,
.expense-work-dialog[data-linxi-modal-panel] .expense-review-receipts > header span,
.expense-work-dialog[data-linxi-modal-panel] .expense-workflow-files em,
.expense-work-dialog[data-linxi-modal-panel] .expense-workflow-files-empty {
  color: var(--linxi-modal-muted, rgba(246, 255, 252, 0.72)) !important;
}

.expense-work-dialog[data-linxi-modal-panel] > header h3,
.expense-work-dialog[data-linxi-modal-panel] > header > strong,
.expense-work-dialog[data-linxi-modal-panel] .expense-payment-facts dd,
.expense-work-dialog[data-linxi-modal-panel] .expense-review-receipts > header strong,
.expense-work-dialog[data-linxi-modal-panel] .expense-workflow-files strong {
  color: var(--linxi-modal-text, #f6fffc) !important;
}

.expense-work-dialog[data-linxi-modal-panel] .expense-work-instruction {
  color: rgba(246, 255, 252, 0.84) !important;
  border-color: rgba(232, 255, 247, 0.2) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.expense-work-dialog[data-linxi-modal-panel] .expense-payment-facts {
  color: var(--linxi-modal-text, #f6fffc) !important;
  background: transparent !important;
}

.expense-work-dialog[data-linxi-modal-panel] .expense-payment-facts > div,
.expense-work-dialog[data-linxi-modal-panel] .expense-payment-facts > div:nth-child(even),
.expense-work-dialog[data-linxi-modal-panel] .expense-workflow-files li {
  border-color: rgba(232, 255, 247, 0.18) !important;
}

.expense-work-dialog[data-linxi-modal-panel] .expense-payment-facts .expense-payment-fact-amount {
  color: #c9ffe8 !important;
}

.expense-workflow-dialog[data-linxi-modal-panel] .expense-workflow-dropzone {
  color: rgba(246, 255, 252, 0.78) !important;
  border-color: rgba(235, 255, 248, 0.38) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.expense-workflow-dialog[data-linxi-modal-panel] .expense-workflow-dropzone strong {
  color: var(--linxi-modal-text, #f6fffc) !important;
}

.expense-workflow-dialog[data-linxi-modal-panel] :is(.expense-blocking-hint, .expense-print-warning) {
  color: #ffe2a8 !important;
  border-color: rgba(255, 218, 167, 0.42) !important;
  background: rgba(103, 65, 20, 0.34) !important;
}
