* { box-sizing: border-box; } body { margin: 0; font-family: "Microsoft YaHei", Arial, sans-serif; background: #f3f6fb; color: #1f2937; } .page { max-width: 1600px; margin: 0 auto; padding: 20px; } .hero { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 16px; } .hero h1 { margin: 0 0 6px; font-size: 28px; } .hero p { margin: 0; color: #64748b; } .grid { display: grid; grid-template-columns: 1fr; gap: 16px; } .card { background: #fff; border: 1px solid #dbe4f0; border-radius: 14px; padding: 16px; box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04); } .card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; } .card-head h2 { margin: 0; font-size: 18px; } .section-subtitle { margin: 0 0 8px; font-size: 14px; color: #475569; font-weight: 600; } .overview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; } .mini-card { border: 1px solid #e5edf6; border-radius: 12px; padding: 14px; background: #f8fbff; } .mini-title { font-size: 13px; color: #64748b; margin-bottom: 10px; } .status-text { font-size: 18px; font-weight: 700; margin-bottom: 8px; } .muted { color: #64748b; font-size: 13px; } .meta-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px; } .pill { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: #e0ecff; color: #1d4ed8; font-size: 12px; } .inline-actions { display: flex; gap: 8px; align-items: center; } .inline-actions.wrap { flex-wrap: wrap; } .btn { border: 1px solid #c9d7eb; background: #fff; color: #1f2937; border-radius: 10px; padding: 8px 14px; cursor: pointer; font-size: 14px; } .btn:hover { background: #f8fafc; } .btn-primary { background: #2563eb; border-color: #2563eb; color: #fff; } .btn-primary:hover { background: #1d4ed8; } .btn:disabled { opacity: 0.55; cursor: not-allowed; } .input, .textarea { width: 100%; border: 1px solid #cdd8e6; border-radius: 10px; padding: 10px 12px; font-size: 14px; background: #fff; } .textarea { min-height: 140px; resize: vertical; } .progress-block { margin-top: 14px; border: 1px solid #e5edf6; border-radius: 12px; padding: 14px; background: #f8fbff; } .progress-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-weight: 600; } .progress-bar { width: 100%; height: 12px; border-radius: 999px; background: #dbe7f7; overflow: hidden; } .progress-inner { width: 0%; height: 100%; background: linear-gradient(90deg, #2563eb, #38bdf8); transition: width 0.25s ease; } .summary-box { margin: 14px 0 0; background: #0f172a; color: #dbeafe; padding: 12px; border-radius: 12px; min-height: 110px; overflow: auto; } .table-wrap { overflow: auto; border: 1px solid #e5edf6; border-radius: 12px; } .catalog-wrap { max-height: 360px; } .alerts-wrap { max-height: 220px; margin-bottom: 12px; } .logs-wrap { max-height: 340px; } table { width: 100%; border-collapse: collapse; font-size: 13px; } th, td { padding: 10px 12px; border-bottom: 1px solid #edf2f7; text-align: left; vertical-align: top; } th { position: sticky; top: 0; background: #f8fbff; z-index: 1; } .form-grid, .textarea-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; } .textarea-grid { margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); } .field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #475569; } .field-inline { min-width: 140px; } .catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 12px; } .key-text { font-family: Consolas, "Courier New", monospace; font-size: 12px; word-break: break-all; white-space: pre-wrap; } .btn-link { color: #2563eb; text-decoration: none; font-size: 13px; font-weight: 600; } .btn-link:hover { text-decoration: underline; } .action-sep { margin: 0 6px; color: #94a3b8; } .notice { margin-bottom: 12px; padding: 10px 12px; border-radius: 10px; background: #ecfdf5; color: #166534; border: 1px solid #bbf7d0; } .notice-err { background: #fef2f2; color: #b91c1c; border-color: #fecaca; } .checkbox { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #475569; } @media (max-width: 900px) { .hero { flex-direction: column; align-items: flex-start; } }