* { box-sizing: border-box; } body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif; background: #f4f6fb; color: #111827; } .page { max-width: 1400px; margin: 20px auto; padding: 0 16px 24px; } .panel { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 16px; margin-bottom: 14px; } h1, h2 { margin: 0 0 12px 0; font-weight: 700; } .form-grid { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: center; } input { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; padding: 10px 12px; font-size: 14px; } .actions { margin-top: 12px; display: flex; gap: 8px; } button { border: 1px solid #2563eb; background: #2563eb; color: #fff; padding: 9px 14px; border-radius: 8px; cursor: pointer; } button[disabled] { opacity: .45; cursor: not-allowed; } .btn-secondary { border-color: #94a3b8; background: #fff; color: #0f172a; } .status { margin-top: 10px; min-height: 22px; color: #1d4ed8; } .summary { display: grid; grid-template-columns: repeat(5, minmax(160px, 1fr)); gap: 10px; } .card { border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px; background: #f8fafc; } .card .k { font-size: 12px; color: #475569; } .card .v { margin-top: 4px; font-size: 18px; font-weight: 700; } .table-wrap { overflow: auto; } table { width: 100%; border-collapse: collapse; font-size: 13px; } th, td { border: 1px solid #e5e7eb; padding: 8px 9px; text-align: left; vertical-align: top; white-space: nowrap; } td:last-child { max-width: 420px; white-space: normal; word-break: break-word; } .row-merged { background: #fef3c7; } .row-multi { background: #dbeafe; } .cell-op { white-space: nowrap; } .mini-btn { border: 1px solid #2563eb; background: #fff; color: #1d4ed8; border-radius: 6px; padding: 4px 8px; font-size: 12px; margin-right: 6px; } .mini-btn.del { border-color: #dc2626; color: #dc2626; } .legend { margin-top: 10px; font-size: 12px; color: #334155; } .legend .chip { display: inline-block; border: 1px solid #cbd5e1; border-radius: 999px; padding: 2px 8px; margin-right: 8px; } .legend .chip.merged { background: #fef3c7; } .legend .chip.multi { background: #dbeafe; } .modal-wrap { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.45); display: none; align-items: center; justify-content: center; z-index: 50; } .modal-wrap.show { display: flex; } .modal { width: min(920px, calc(100vw - 32px)); background: #fff; border-radius: 12px; border: 1px solid #e2e8f0; overflow: hidden; } .modal-head { padding: 14px 16px; border-bottom: 1px solid #e2e8f0; } .modal-head h3 { margin: 0; } .modal-body { padding: 14px 16px; } .modal-grid { display: grid; grid-template-columns: 90px 1fr 90px 1fr; gap: 10px 12px; align-items: center; } .modal-actions { border-top: 1px solid #e2e8f0; padding: 12px 16px; display: flex; justify-content: flex-end; gap: 8px; }