.receipt-folder-page { height: 100%; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr); animation: fadeUp 220ms var(--ease) both; overflow: hidden; } .receipt-folder-list, .receipt-folder-detail { min-height: 0; overflow: hidden; padding: 16px 18px; } .receipt-folder-list { display: grid; grid-template-rows: auto auto minmax(0, 1fr) auto; } .receipt-detail-head, .receipt-detail-foot, .receipt-basic-panel header, .receipt-preview-panel header, .receipt-field-list-head { display: flex; align-items: center; } .receipt-form-grid input, .receipt-form-grid textarea, .receipt-field-row input { width: 100%; border: 1px solid #d7e0ea; border-radius: 4px; background: #fff; color: #0f172a; font-size: 13px; transition: border-color 160ms ease, box-shadow 160ms ease; } .receipt-form-grid input, .receipt-field-row input { height: 36px; padding: 0 10px; } .receipt-form-grid textarea { resize: vertical; min-height: 78px; padding: 9px 10px; line-height: 1.55; } .receipt-form-grid input:focus, .receipt-form-grid textarea:focus, .receipt-field-row input:focus { border-color: var(--theme-primary); box-shadow: 0 0 0 3px rgba(58, 124, 165, 0.14); outline: none; } .apply-btn, .ghost-btn, .danger-btn, .back-btn { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 4px; font-size: 13px; font-weight: 750; white-space: nowrap; } .ghost-btn, .back-btn { padding: 0 13px; border: 1px solid #d7e0ea; background: #fff; color: #334155; } .apply-btn { padding: 0 14px; border: 1px solid var(--theme-primary); background: var(--theme-primary); color: #fff; } .danger-btn { padding: 0 14px; border: 1px solid #dc2626; background: #dc2626; color: #fff; } .apply-btn:disabled, .danger-btn:disabled { opacity: .55; cursor: not-allowed; } .receipt-folder-detail { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; } .receipt-detail-head { gap: 14px; padding-bottom: 14px; border-bottom: 1px solid #dbe4ee; } .receipt-detail-head h2 { margin: 4px 0; color: #0f172a; font-size: 20px; line-height: 1.25; } .receipt-detail-head p { margin: 0; color: #64748b; font-size: 13px; } .assistant-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 0 8px; border-radius: 4px; background: #eef6ff; color: var(--theme-primary-active); font-size: 12px; font-weight: 850; } .detail-loading { min-height: 0; display: grid; place-items: center; } .receipt-detail-layout { min-height: 0; display: grid; grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr); gap: 16px; padding: 16px 0; overflow: hidden; } .receipt-basic-panel, .receipt-preview-panel { min-height: 0; overflow: hidden; border: 1px solid #dbe4ee; border-radius: 4px; background: #fff; } .receipt-basic-panel { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: 14px; overflow-y: auto; } .receipt-basic-panel header, .receipt-preview-panel header, .receipt-field-list-head { justify-content: space-between; gap: 12px; } .receipt-basic-panel header strong, .receipt-preview-panel header strong, .receipt-field-list-head strong { color: #0f172a; font-size: 15px; } .receipt-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; } .receipt-form-grid label { display: grid; gap: 6px; } .receipt-form-grid label span { color: #64748b; font-size: 12px; font-weight: 750; } .field-wide { grid-column: 1 / -1; } .receipt-field-list { margin-top: 18px; display: grid; gap: 10px; } .receipt-field-row { display: grid; grid-template-columns: minmax(100px, .6fr) minmax(160px, 1fr) 30px; gap: 8px; } .receipt-field-row button { display: grid; place-items: center; border: 1px solid #d7e0ea; border-radius: 4px; background: #fff; color: #64748b; } .receipt-preview-panel { display: grid; grid-template-rows: auto minmax(0, 1fr); } .receipt-preview-panel header { padding: 14px; border-bottom: 1px solid #e5edf5; } .preview-source-btn { border: 0; background: transparent; color: var(--theme-primary-active); font-size: 13px; font-weight: 750; text-decoration: none; } .receipt-preview-box { min-height: 0; display: grid; place-items: center; overflow: auto; background: #f8fafc; } .receipt-preview-box img { max-width: 100%; max-height: 100%; object-fit: contain; } .receipt-preview-box iframe { width: 100%; height: 100%; border: 0; background: #fff; } .preview-empty { display: grid; gap: 8px; justify-items: center; color: #64748b; text-align: center; } .preview-empty .mdi { color: var(--theme-primary); font-size: 34px; } .receipt-detail-foot { justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid #dbe4ee; } .associate-step { display: grid; gap: 12px; } .associate-hint { margin: 0; color: #64748b; font-size: 13px; } .receipt-checkbox-list, .draft-choice-list { max-height: 360px; display: grid; gap: 8px; overflow-y: auto; } .receipt-checkbox-list :deep(.el-checkbox), .draft-choice { min-height: 50px; align-items: center; margin-right: 0; padding: 9px 10px; border: 1px solid #dbe4ee; border-radius: 4px; background: #fff; } .receipt-checkbox-list :deep(.el-checkbox__label) { display: grid; gap: 3px; color: #0f172a; font-weight: 750; } .receipt-checkbox-list small, .draft-choice small { color: #64748b; font-size: 12px; font-weight: 650; } .draft-choice { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 9px; cursor: pointer; } .draft-choice.active { border-color: rgba(58, 124, 165, .42); background: rgba(58, 124, 165, .07); } .draft-choice span { display: grid; gap: 3px; } @media (max-width: 1120px) { .receipt-detail-layout { grid-template-columns: 1fr; overflow-y: auto; } .receipt-preview-panel { min-height: 520px; } } @media (max-width: 760px) { .receipt-folder-list, .receipt-folder-detail { padding: 12px; } .receipt-form-grid { grid-template-columns: 1fr; } }