.page-wrap { position: relative; overflow: hidden; box-sizing: border-box; background: #f3faf6; } .page-wrap.is-embedded { height: auto; overflow: visible; background: transparent; } .page-scroll--flow { height: auto; overflow: visible; } .page-scroll--shell { height: 100%; overflow-y: auto; -webkit-overflow-scrolling: touch; } .page-atmosphere { position: absolute; left: 0; right: 0; top: 0; height: 260rpx; pointer-events: none; z-index: 0; background: radial-gradient(ellipse 70% 80% at 85% 0%, rgba(16, 185, 129, 0.16) 0%, transparent 60%), linear-gradient(180deg, #d1fae5 0%, rgba(243, 250, 246, 0) 100%); } .page-scroll { position: relative; z-index: 1; width: 100%; box-sizing: border-box; } .shell-card { margin: 20rpx 24rpx 24rpx !important; padding: 28rpx 24rpx 32rpx !important; border-radius: 28rpx !important; border: 1px solid #e7efea !important; box-shadow: 0 12rpx 36rpx rgba(6, 78, 59, 0.06) !important; background: #fff !important; } .page-hero { margin-bottom: 8rpx; } .section-title { font-size: 34rpx; font-weight: 700; color: #0a0a0b; margin-bottom: 8rpx; } .page-scroll .card { margin-bottom: 24rpx; } .items-scroll-spacer { width: 100%; flex-shrink: 0; } .branch-hint { margin-bottom: 16rpx; font-size: 22rpx; color: #71717a; } .error-banner { margin-bottom: 16rpx; padding: 16rpx 18rpx; border-radius: 16rpx; background: #fef2f2; border: 1px solid #fecaca; } .loading-row { margin-bottom: 16rpx; } .picker { display: flex; align-items: center; gap: 16rpx; padding: 22rpx 20rpx; border: 1px solid #a7f3d0; border-radius: 20rpx; background: #ecfdf5; margin-bottom: 20rpx; } .picker-icon { width: 56rpx; height: 56rpx; border-radius: 16rpx; background: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .picker-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4rpx; } .picker-label { font-size: 20rpx; color: #059669; font-weight: 600; } .picker-value { font-size: 28rpx; color: #0a0a0b; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .mode-row { display: flex; gap: 12rpx; margin-bottom: 12rpx; } .mode-hint { margin-bottom: 16rpx; } .mode-chip { flex: 1; text-align: center; padding: 16rpx 0; border-radius: 999rpx; font-size: 24rpx; font-weight: 600; color: #52525b; background: #f4f4f5; border: 1px solid transparent; } .mode-chip.active { background: #059669; color: #fff; box-shadow: 0 8rpx 20rpx rgba(5, 150, 105, 0.25); } .mode-chip.disabled { opacity: 0.45; } .entry-panel { margin-bottom: 24rpx; padding: 22rpx; border: 1px solid #e7efea; border-radius: 22rpx; background: #fafafa; } .panel-head { display: flex; align-items: center; gap: 12rpx; margin-bottom: 8rpx; } .panel-icon { width: 48rpx; height: 48rpx; border-radius: 14rpx; background: #ecfdf5; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .panel-title { font-size: 28rpx; font-weight: 700; color: #0a0a0b; } .panel-hint { font-size: 22rpx; color: #71717a; margin-bottom: 16rpx; line-height: 1.5; } .text-input { width: 100%; min-height: 140rpx; padding: 16rpx; border: 1px solid #e4e4e7; border-radius: 16rpx; box-sizing: border-box; background: #fff; font-size: 26rpx; color: #0a0a0b; caret-color: #059669; } .parse-btn { margin-top: 16rpx; } .image-actions { display: flex; gap: 16rpx; } .image-btn { flex: 1; font-size: 26rpx; } .image-preview-wrap { margin-bottom: 16rpx; } .image-preview { width: 100%; height: 320rpx; border-radius: 16rpx; background: #e4e4e7; } .clear-image { margin-top: 8rpx; font-size: 24rpx; color: #71717a; text-align: right; } .voice-btn { width: 100%; font-size: 26rpx; } .voice-btn.recording { background: #fef2f2 !important; color: #b91c1c !important; border-color: #fecaca !important; } .voice-result { margin-top: 16rpx; padding: 16rpx; border-radius: 16rpx; background: #fff; border: 1px solid #e7efea; font-size: 26rpx; color: #3f3f46; line-height: 1.5; } .voice-result-label { font-size: 22rpx; color: #71717a; margin-bottom: 8rpx; } .parsing-hint { margin-top: 12rpx; font-size: 24rpx; } .submit-panel { margin-top: 8rpx; padding: 24rpx 20rpx 8rpx; border-radius: 22rpx; background: #fafafa; border: 1px solid #e7efea; } .order-total { margin-bottom: 16rpx; font-size: 32rpx; font-weight: 700; color: #047857; text-align: right; } .items-header { display: flex; align-items: center; justify-content: space-between; font-size: 28rpx; font-weight: 700; margin: 8rpx 0 12rpx; color: #0a0a0b; } .section-head-inline { display: flex; align-items: center; gap: 12rpx; } .section-mark { width: 8rpx; height: 28rpx; border-radius: 8rpx; background: linear-gradient(180deg, #10b981 0%, #047857 100%); } .items-count { font-size: 22rpx; font-weight: 500; color: #71717a; background: #f4f4f5; padding: 4rpx 14rpx; border-radius: 999rpx; } .toggle-pair { display: flex; flex-direction: row; align-items: stretch; gap: 12rpx; margin-bottom: 16rpx; } .toggle-chip { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; gap: 8rpx; padding: 6rpx 12rpx; border-radius: 12rpx; background: #ecfdf5; border: 1px solid #d1fae5; box-sizing: border-box; } .toggle-chip-label { font-size: 22rpx; font-weight: 600; color: #047857; white-space: nowrap; } .toggle-chip-switch { transform: scale(0.62); transform-origin: right center; margin-right: -12rpx; } .item-control-cost { background: #fffbeb !important; border-color: #fde68a !important; color: #b45309 !important; } .items-list { display: flex; flex-direction: column; gap: 18rpx; margin-bottom: 16rpx; overflow: visible; } .item-card { padding: 22rpx 20rpx; border-radius: 22rpx; background: #fff; border: 1px solid #e7efea; box-shadow: 0 6rpx 20rpx rgba(15, 23, 42, 0.04); overflow: visible; position: relative; z-index: 1; } .item-card.item-card-name-mismatch { border-color: #f59e0b; background: #fffbeb; } .name-mismatch-hint { font-size: 22rpx; color: #b45309; margin-bottom: 8rpx; line-height: 1.3; } .item-card.cat-dropdown-open { z-index: 20; } .item-card-top { display: flex; align-items: center; gap: 12rpx; } .item-seq { flex-shrink: 0; min-width: 44rpx; height: 44rpx; line-height: 44rpx; padding: 0 8rpx; text-align: center; border-radius: 999rpx; background: #ecfdf5; color: #059669; font-size: 22rpx; font-weight: 700; box-sizing: border-box; } .item-meta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10rpx; margin-top: 12rpx; } .proc-chip { display: inline-flex; align-items: center; gap: 8rpx; height: 48rpx; padding: 0 14rpx; border-radius: 999rpx; background: #f4f4f5; border: 1px solid #e4e4e7; box-sizing: border-box; } .proc-chip-label { font-size: 20rpx; color: #a1a1aa; } .proc-chip-value { font-size: 22rpx; color: #3f3f46; font-weight: 600; } .owner-row { display: flex; flex-wrap: wrap; gap: 12rpx; margin-top: 12rpx; } .owner-chip { padding: 8rpx 16rpx; border-radius: 999rpx; border: 1px solid #e4e4e7; font-size: 22rpx; color: #71717a; background: #fafafa; } .owner-chip.on { border-color: #059669; color: #047857; background: #ecfdf5; font-weight: 600; } .process-price-row { margin-top: 12rpx; } .metric-cell-wide { flex: 1; min-width: 40%; } .item-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12rpx; margin-top: 14rpx; } .item-metrics.with-cost { grid-template-columns: repeat(4, 1fr); } .metric-cell { min-width: 0; display: flex; flex-direction: column; gap: 6rpx; } .metric-label { font-size: 20rpx; color: #a1a1aa; padding-left: 4rpx; } .item-row { display: flex; align-items: center; gap: 8rpx; } .item-row-secondary { margin-top: 14rpx; padding-top: 14rpx; border-top: 1px solid #f1f5f3; } .item-field { flex-shrink: 0; min-width: 0; } .item-field-name { flex: 1; min-width: 120rpx; position: relative; z-index: 2; } .item-field-cat { flex: 1; display: flex; align-items: flex-start; gap: 8rpx; min-width: 0; } .cat-input-wrap { flex: 1; min-width: 0; position: relative; display: flex; align-items: center; gap: 6rpx; } .item-control-cat-input { flex: 1; min-width: 0; height: 64rpx; line-height: 64rpx; padding: 0 12rpx; border: 1px solid #e4e4e7; border-radius: 14rpx; background: #fff; font-size: 22rpx; color: #52525b; box-sizing: border-box; } .item-control-cat-input.cat-empty { color: #b45309; background: #fffbeb; border-color: #fde68a; } .cat-pick-btn-wrap { flex-shrink: 0; } .cat-pick-btn { width: 56rpx; height: 64rpx; line-height: 64rpx; text-align: center; border-radius: 14rpx; background: #f4f4f5; border: 1px solid #e4e4e7; color: #71717a; font-size: 22rpx; } .cat-suggest-panel { position: absolute; left: 0; right: 56rpx; top: 68rpx; z-index: 20; background: #fff; border: 1px solid #e4e4e7; border-radius: 14rpx; box-shadow: 0 8rpx 24rpx rgba(15, 23, 42, 0.12); } .cat-suggest-scroll { max-height: 320rpx; } .cat-suggest-item { padding: 16rpx 20rpx; font-size: 24rpx; color: #3f3f46; border-bottom: 1px solid #f4f4f5; } .cat-suggest-item:last-child { border-bottom: none; } .item-field-amount { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 2rpx; flex-shrink: 0; padding-left: 12rpx; min-width: 140rpx; } .item-control { width: 100%; height: 64rpx; line-height: 64rpx; padding: 0 12rpx; border: 1px solid #e4e4e7; border-radius: 14rpx; background: #fafafa; font-size: 24rpx; color: #18181b; box-sizing: border-box; } .item-control-name { font-size: 26rpx; font-weight: 500; background: #fff; color: #0a0a0b; caret-color: #059669; } .item-control-num, .item-control-unit { text-align: center; padding: 0 6rpx; } .item-control-picker { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 22rpx; color: #52525b; } .item-control-cat { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: space-between; background: #fff; } .item-control-cat.cat-filled { color: #18181b; background: #fff; border-color: #e4e4e7; } .item-control-cat.cat-filled .cat-label { flex: 1; min-width: 0; color: #18181b; font-size: 24rpx; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .item-control-cat.cat-empty { color: #b45309; background: #fffbeb; border-color: #fde68a; } .item-control-cat.cat-empty .cat-label { flex: 1; min-width: 0; color: #b45309; font-size: 22rpx; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .item-status { display: inline-flex; align-items: center; margin-top: 0; padding: 4rpx 12rpx; border-radius: 999rpx; font-size: 20rpx; color: #059669; background: #ecfdf5; border: 1px solid #d1fae5; height: 48rpx; box-sizing: border-box; } .item-remove { width: 48rpx; height: 64rpx; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border-radius: 14rpx; background: #fafafa; } .item-picker-flex { flex: 1; min-width: 0; } .cat-picker-wrap { flex: 1; min-width: 0; position: relative; } .cat-arrow { margin-left: 8rpx; color: #a1a1aa; font-size: 20rpx; flex-shrink: 0; } .sku-search-wrap { position: relative; width: 100%; } .sku-suggestions { position: absolute; left: 0; right: 0; top: calc(100% + 6rpx); z-index: 960; max-height: 420rpx; overflow-y: auto; background: #fff; border: 1px solid #e4e4e7; border-radius: 14rpx; box-shadow: 0 8rpx 24rpx rgba(15, 23, 42, 0.12); } .sku-suggestion { padding: 16rpx 18rpx; border-bottom: 1px solid #f4f4f5; } .sku-suggestion:last-child { border-bottom: none; } .sku-suggestion-name { font-size: 26rpx; font-weight: 600; color: #18181b; } .sku-suggestion-meta { margin-top: 4rpx; font-size: 20rpx; color: #71717a; } .sku-suggestion-add { color: #047857; font-weight: 600; background: #ecfdf5; } .sku-suggestion-muted { color: #a1a1aa; font-size: 22rpx; } .cat-dropdown-panel { position: absolute; left: 0; right: 0; top: 68rpx; z-index: 950; background: #fff; border: 1px solid #e4e4e7; border-radius: 14rpx; box-shadow: 0 8rpx 24rpx rgba(15, 23, 42, 0.12); overflow: hidden; } .cat-dropdown-search-wrap { padding: 12rpx; border-bottom: 1px solid #f4f4f5; background: #fafafa; } .cat-dropdown-search { display: block; width: 100%; height: 64rpx; min-height: 64rpx; line-height: 64rpx; padding: 0 16rpx; border: 1px solid #e4e4e7; border-radius: 12rpx; background: #fff; font-size: 28rpx; color: #0a0a0b; caret-color: #059669; box-sizing: border-box; } .cat-dropdown-list { max-height: 320rpx; } .cat-dropdown-item { padding: 18rpx 20rpx; font-size: 26rpx; color: #3f3f46; border-bottom: 1px solid #f4f4f5; } .cat-dropdown-item:last-child { border-bottom: none; } .cat-dropdown-item.selected { color: #047857; background: #ecfdf5; font-weight: 600; } .cat-dropdown-empty { padding: 28rpx 20rpx; text-align: center; font-size: 24rpx; } .cat-dropdown-footer { padding: 16rpx 20rpx; text-align: center; font-size: 24rpx; color: #059669; font-weight: 600; border-top: 1px solid #f4f4f5; background: #fafafa; } .cat-add-btn { width: 64rpx; height: 64rpx; line-height: 64rpx; text-align: center; border-radius: 14rpx; background: linear-gradient(180deg, #ecfdf5 0%, #d1fae5 100%); border: 1px solid #a7f3d0; color: #059669; font-size: 32rpx; font-weight: 600; flex-shrink: 0; } .item-amount-label { font-size: 22rpx; color: #a1a1aa; } .item-amount-value { font-size: 30rpx; font-weight: 700; color: #059669; letter-spacing: -0.02em; } .delivery-row { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: stretch; gap: 12rpx; margin: 0 0 20rpx; } .delivery-cell { min-width: 0; } .delivery-cell--date { flex: 0 0 220rpx; } .delivery-cell--slot { flex: 0 0 140rpx; } .delivery-cell--address { flex: 1 1 auto; } .delivery-cell picker { display: block; width: 100%; height: 100%; } .delivery-picker { height: 100%; display: flex; flex-direction: column; gap: 6rpx; padding: 16rpx 16rpx; border: 1px solid #d1fae5; border-radius: 18rpx; background: #fafafa; box-sizing: border-box; } .delivery-picker--address { background: #f8fffb; } .delivery-label { font-size: 20rpx; color: #71717a; font-weight: 600; } .delivery-value { font-size: 26rpx; font-weight: 700; color: #0a0a0b; white-space: nowrap; } .address-input { width: 100%; min-height: 40rpx; font-size: 26rpx; font-weight: 600; color: #0a0a0b; line-height: 1.45; word-break: break-all; } .toolbar-row { display: flex; gap: 12rpx; margin-bottom: 16rpx; } .toolbar-btn { flex: 1; font-size: 24rpx; padding: 0; border-radius: 16rpx !important; } .add-item-btn { border-radius: 18rpx !important; border-style: dashed !important; height: 80rpx !important; line-height: 80rpx !important; padding: 0 !important; margin-left: 0; margin-right: 0; font-weight: 600; display: flex; align-items: center; justify-content: center; box-sizing: border-box; } .add-item-btn::after { border: none; } .mapping-panel { margin-bottom: 16rpx; padding: 16rpx; border: 1px solid #e7efea; border-radius: 16rpx; background: #fff; } .mapping-title { font-size: 26rpx; font-weight: 600; margin-bottom: 12rpx; } .mapping-grid { display: flex; flex-wrap: wrap; gap: 10rpx; max-height: 220rpx; overflow-y: auto; } .mapping-chip { width: calc(50% - 5rpx); padding: 12rpx; border: 1px solid #e7efea; border-radius: 12rpx; box-sizing: border-box; } .mapping-name { font-size: 24rpx; font-weight: 600; } .mapping-unit { font-size: 20rpx; } .unmatched-hint { font-size: 22rpx; color: #b45309; margin-bottom: 8rpx; padding: 10rpx 14rpx; border-radius: 12rpx; background: #fffbeb; border: 1px solid #fde68a; } .budget { margin-bottom: 12rpx; padding: 16rpx 18rpx; border-radius: 16rpx; font-size: 24rpx; } .budget-ok { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; } .budget-warn { background: #fefce8; color: #a16207; border: 1px solid #fde047; } .budget-block { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; } .budget-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; } .modal-mask { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); display: flex; align-items: center; justify-content: center; z-index: 1000; } .modal-card { width: 80%; background: #fff; border-radius: 24rpx; padding: 28rpx; box-shadow: 0 20rpx 48rpx rgba(15, 23, 42, 0.16); } .modal-title { font-size: 30rpx; font-weight: 700; margin-bottom: 16rpx; color: #0a0a0b; } .modal-input { width: 100%; padding: 18rpx 16rpx; border: 1px solid #e4e4e7; border-radius: 14rpx; box-sizing: border-box; margin-bottom: 16rpx; background: #fafafa; } .modal-actions { display: flex; gap: 12rpx; } .modal-btn { flex: 1; border-radius: 16rpx !important; } .textarea { margin-top: 0; width: 100%; min-height: 70rpx; padding: 16rpx; border: 1px solid #e4e4e7; border-radius: 16rpx; box-sizing: border-box; background: #fff; font-size: 26rpx; color: #0a0a0b; caret-color: #059669; } .order-remark-input { height: 72rpx; min-height: 72rpx; max-height: 72rpx; padding: 12rpx 16rpx; line-height: 48rpx; } .submit { margin-top: 20rpx; margin-left: 0; margin-right: 0; border-radius: 20rpx !important; height: 88rpx !important; line-height: 88rpx !important; padding: 0 !important; font-weight: 700; box-shadow: 0 12rpx 28rpx rgba(5, 150, 105, 0.25); display: flex; align-items: center; justify-content: center; box-sizing: border-box; } .submit::after { border: none; } .btn-secondary { border-radius: 16rpx !important; }