:root { --bg: #f5f7fa; --card: #ffffff; --line: #e5e8ef; --text: #1f2430; --muted: #7a8296; --primary: #2f6fed; --primary-hover: #255fd6; --ok: #15a05a; --warn: #b7791f; --err: #d64545; --radius: 10px; } * { box-sizing: border-box; } body { margin: 0; padding: 16px; background: var(--bg); color: var(--text); font: 13px/1.6 -apple-system, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif; } .wrap { display: flex; flex-direction: column; gap: 12px; max-width: 1020px; margin: 0 auto; } .card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; } .card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; } .card-head h2 { margin: 0; font-size: 14px; font-weight: 600; } .saved { color: var(--muted); font-size: 12px; } .group { padding: 10px 0; border-top: 1px dashed var(--line); } .group:first-of-type { border-top: 0; padding-top: 0; } .group-title { font-size: 12px; color: var(--muted); margin-bottom: 8px; font-weight: 600; } .muted { color: var(--muted); font-weight: 400; } .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; } .field { display: flex; flex-direction: column; gap: 4px; min-width: 0; } .field.span2 { grid-column: span 2; } .label { font-size: 12px; color: #3c4557; } .help { font-size: 11px; color: var(--muted); line-height: 1.5; } input[type="text"], input[type="number"], input[type="password"] { width: 100%; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text); font-size: 13px; outline: none; transition: border-color .15s, box-shadow .15s; } input:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(47,111,237,.12); } .switches { display: flex; flex-wrap: wrap; gap: 6px 18px; min-height: 32px; align-items: center; } .switch { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; user-select: none; } .switch input { width: 14px; height: 14px; accent-color: var(--primary); } .actions { display: flex; flex-direction: column; gap: 10px; } .run-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .btn { height: 32px; padding: 0 14px; border-radius: 6px; font-size: 13px; border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; transition: all .15s; } .btn:hover { border-color: #cfd6e4; } .btn:disabled { opacity: .5; cursor: not-allowed; } .btn.primary { background: var(--primary); border-color: var(--primary); color: #fff; } .btn.primary:hover { background: var(--primary-hover); } .btn.ghost { color: var(--err); border-color: #f3c9c9; } .btn.ghost:hover { background: #fff5f5; } .btn.link { border: 0; background: none; color: var(--primary); padding: 0 6px; height: 28px; } .btn.link:hover { text-decoration: underline; } .btn.small { font-size: 12px; } .status { margin-left: auto; font-size: 12px; color: var(--muted); } .status.running { color: var(--primary); } .status.ok { color: var(--ok); } .status.err { color: var(--err); } .progress { display: flex; align-items: center; gap: 10px; } .bar { flex: 1; height: 6px; background: #eef1f7; border-radius: 999px; overflow: hidden; } .bar > i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #4f8bff, #2f6fed); transition: width .3s; } .pct { width: 42px; text-align: right; color: var(--muted); font-size: 12px; } .notice { padding: 8px 12px; border-radius: 6px; font-size: 12.5px; } .notice.warn { background: #fff8e6; color: var(--warn); border: 1px solid #f4e2b8; } .notice.error { background: #fff2f2; color: var(--err); border: 1px solid #f6cfcf; } .notice.ok { background: #f0fbf4; color: var(--ok); border: 1px solid #c3ecd6; } .summary { display: flex; flex-wrap: wrap; gap: 8px; } .chip { display: inline-flex; flex-direction: column; gap: 2px; padding: 6px 10px; border-radius: 8px; background: #f6f8fc; border: 1px solid var(--line); min-width: 88px; } .chip b { font-size: 14px; font-weight: 600; } .chip span { font-size: 11px; color: var(--muted); } .chip.path { flex: 1; min-width: 240px; } .chip.path b { font-size: 12px; font-weight: 500; word-break: break-all; } .log { margin: 0; padding: 10px 12px; height: 260px; overflow: auto; background: #0f172a; color: #d6e2f5; border-radius: 8px; font: 12px/1.6 "Cascadia Code", Consolas, "Microsoft YaHei", monospace; white-space: pre-wrap; word-break: break-all; } .log .warn { color: #ffd58a; } .log .err { color: #ff9b9b; } .log .ts { color: #6b7c99; } @media (max-width: 760px) { .grid { grid-template-columns: 1fr; } .field.span2 { grid-column: span 1; } }