.amend-page { position: relative; min-height: 100vh; background: #f3faf6; padding-bottom: calc(32rpx + env(safe-area-inset-bottom)); overflow: hidden; box-sizing: border-box; } .amend-page.is-embedded { min-height: 0; background: transparent; padding-bottom: calc(120rpx + env(safe-area-inset-bottom)); overflow: visible; } .page-atmosphere { position: absolute; left: 0; right: 0; top: 0; height: 280rpx; pointer-events: none; z-index: 0; background: radial-gradient(ellipse 70% 80% at 90% 0%, rgba(16, 185, 129, 0.16) 0%, transparent 60%), linear-gradient(180deg, #d1fae5 0%, rgba(243, 250, 246, 0) 100%); } .kpi-card, .main-panel { position: relative; z-index: 1; } .kpi-card { margin: 20rpx 24rpx 0; background: linear-gradient(135deg, #047857 0%, #059669 55%, #10b981 100%); border-radius: 28rpx; padding: 28rpx 32rpx; display: flex; align-items: flex-start; justify-content: space-between; color: #fff; box-shadow: 0 16rpx 40rpx rgba(5, 150, 105, 0.28); } .kpi-left, .kpi-right { display: flex; flex-direction: column; gap: 8rpx; } .kpi-right { align-items: flex-end; text-align: right; } .kpi-label { font-size: 22rpx; opacity: 0.9; } .kpi-value { font-size: 48rpx; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.1; } .kpi-hint { font-size: 22rpx; opacity: 0.95; } .kpi-hint--muted { opacity: 0.75; } .main-panel { margin: 12rpx 24rpx 0; padding: 20rpx 20rpx 16rpx; background: #fff; border: 1px solid #e7efea; border-radius: 24rpx; box-shadow: 0 10rpx 28rpx rgba(6, 78, 59, 0.05); } .detail-panel { margin-top: 20rpx; } .panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16rpx; margin-bottom: 12rpx; } .panel-head-left { min-width: 0; flex: 1; } .section-head { display: flex; align-items: center; gap: 12rpx; } .section-mark { width: 8rpx; height: 28rpx; border-radius: 8rpx; background: linear-gradient(180deg, #10b981 0%, #047857 100%); flex-shrink: 0; } .section-title { font-size: 32rpx; font-weight: 700; color: #0a0a0b; line-height: 1.35; } .date-hint { margin-top: 10rpx; font-size: 22rpx; color: #71717a; line-height: 1.45; } .chip-row { display: flex; flex-wrap: wrap; gap: 10rpx; margin-top: 12rpx; } .chip { padding: 6rpx 16rpx; border-radius: 999rpx; background: #f4f4f5; color: #52525b; font-size: 22rpx; font-weight: 600; font-variant-numeric: tabular-nums; } .chip.active { background: #047857; color: #fff; } .order-pill { display: inline-flex; margin-top: 10rpx; padding: 6rpx 14rpx; border-radius: 999rpx; background: #ecfdf5; border: 1px solid #d1fae5; font-size: 22rpx; color: #047857; font-weight: 600; } .refresh-btn { display: inline-flex; align-items: center; gap: 6rpx; padding: 10rpx 16rpx; border-radius: 999rpx; background: #ecfdf5; color: #047857; font-size: 24rpx; font-weight: 600; flex-shrink: 0; } .state-box { padding: 64rpx 16rpx; display: flex; justify-content: center; } .list { display: flex; flex-direction: column; gap: 10rpx; } .amend-card { padding: 14rpx 16rpx 12rpx; border-radius: 16rpx; background: #fff; border: 1px solid #e7efea; } .amend-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12rpx; } .amend-title { flex: 1; min-width: 0; font-size: 32rpx; font-weight: 700; color: #0a0a0b; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .amend-meta-line { margin-top: 6rpx; display: flex; align-items: center; gap: 16rpx; min-width: 0; } .amend-meta { min-width: 0; flex: 1; display: flex; align-items: center; gap: 6rpx; font-size: 24rpx; color: #71717a; } .amend-meta text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .status-pill { flex-shrink: 0; padding: 2rpx 10rpx; border-radius: 999rpx; background: #fffbeb; border: 1px solid #fde68a; color: #d97706; font-size: 22rpx; font-weight: 600; line-height: 1.4; } .status-pill--ok { background: #ecfdf5; border-color: #a7f3d0; color: #047857; } .status-pill--reject { background: #fef2f2; border-color: #fecaca; color: #b91c1c; } .compare-row { margin-top: 8rpx; padding: 8rpx 12rpx; border-radius: 12rpx; background: #f8fafc; border: 1px solid #f1f5f3; display: flex; align-items: center; gap: 8rpx; } .compare-cell { flex: 1; min-width: 0; display: flex; flex-direction: row; align-items: baseline; gap: 8rpx; } .compare-cell--proposed .compare-label { color: #d97706; } .compare-cell--proposed .compare-value { color: #b45309; font-weight: 700; } .compare-label { font-size: 24rpx; color: #a1a1aa; font-weight: 600; flex-shrink: 0; } .compare-value { font-size: 26rpx; color: #3f3f46; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .amend-card-foot { margin-top: 8rpx; display: flex; align-items: center; justify-content: space-between; gap: 12rpx; } .foot-left { display: flex; align-items: center; gap: 12rpx; min-width: 0; flex: 1; } .foot-left .amend-time { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .amend-time { font-size: 22rpx; color: #a1a1aa; } .form-row { margin-top: 8rpx; display: flex; align-items: center; gap: 8rpx; min-width: 0; } .form-cell { min-width: 0; display: flex; flex-direction: row; align-items: center; gap: 6rpx; padding: 0; background: transparent; border: none; overflow: hidden; } .form-cell--qty { flex: 1.2 1 0; min-width: 168rpx; } .form-cell--price { flex: 1 1 0; min-width: 140rpx; } .form-cell--unit { flex: 0 0 auto; width: auto; min-width: 0; max-width: none; overflow: visible; } .form-k { flex-shrink: 0; font-size: 22rpx; color: #71717a; font-weight: 600; line-height: 1; } .form-from { flex-shrink: 0; max-width: 88rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 20rpx; color: #c2410c; font-weight: 600; line-height: 1; } .form-input-wrap { flex: 1; min-width: 72rpx; height: 52rpx; overflow: hidden; position: relative; } .form-input-wrap--unit { flex: 0 0 72rpx; width: 72rpx; min-width: 72rpx; max-width: 72rpx; } .form-input { display: block; width: 100%; min-width: 0; height: 52rpx; line-height: 52rpx; padding: 0 8rpx; box-sizing: border-box; border-radius: 10rpx; background: #f8fafc; border: 1px solid #e7efea; font-size: 16px; color: #0a0a0b; font-variant-numeric: tabular-nums; } .row-actions { display: flex; align-items: center; gap: 8rpx; flex-shrink: 0; } .row-btn { padding: 0 16rpx; height: 48rpx; line-height: 48rpx; border-radius: 999rpx; font-size: 22rpx; font-weight: 600; } .row-btn--ghost { color: #b91c1c; background: #fff; border: 1px solid #fecaca; } .row-btn--primary { color: #fff; background: #059669; } .row-btn.is-disabled { opacity: 0.45; pointer-events: none; } .compare-block, .edit-block { margin-top: 8rpx; padding: 18rpx; border-radius: 18rpx; background: #fafafa; border: 1px solid #f1f5f3; } .edit-block { margin-top: 16rpx; } .compare-block-title { font-size: 32rpx; font-weight: 700; color: #0a0a0b; margin-bottom: 14rpx; } .diff-card { padding: 16rpx 18rpx; border-radius: 14rpx; background: #fff; border: 1px solid #e7efea; } .diff-card + .diff-card { margin-top: 12rpx; } .diff-card--proposed { border-color: #fde68a; background: #fffbeb; } .diff-label { font-size: 24rpx; color: #71717a; margin-bottom: 6rpx; } .diff-card--proposed .diff-label { color: #d97706; font-weight: 600; } .diff-value { font-size: 32rpx; color: #0a0a0b; font-weight: 600; line-height: 1.4; } .diff-card--proposed .diff-value { color: #b45309; } .field { display: flex; align-items: center; gap: 16rpx; margin-top: 12rpx; padding: 16rpx 18rpx; background: #fff; border: 1px solid #e7efea; border-radius: 14rpx; } .label { width: 140rpx; font-size: 26rpx; color: #52525b; flex-shrink: 0; font-weight: 600; } .input { flex: 1; font-size: 16px; color: #0a0a0b; font-variant-numeric: tabular-nums; } .actions { display: flex; gap: 16rpx; margin-top: 28rpx; } .action-btn { flex: 1; height: 80rpx !important; line-height: 80rpx !important; padding: 0 !important; border-radius: 18rpx !important; display: flex; align-items: center; justify-content: center; box-sizing: border-box; font-weight: 700; font-size: 28rpx; } .action-btn::after { border: none; } .handled-tip { margin-top: 24rpx; padding: 16rpx 18rpx; border-radius: 14rpx; background: #f4f4f5; color: #71717a; font-size: 24rpx; text-align: center; } .anim-rise { animation: rise-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; } .anim-rise--delay { animation-delay: 0.08s; } @keyframes rise-in { from { opacity: 0; transform: translateY(18rpx); } to { opacity: 1; transform: translateY(0); } }