:root { --fg: #1f2328; --muted: #6e7781; --line: #d0d7de; --accent: #0969da; --bg: #f6f8fa; --err: #cf222e; --ok: #1a7f37; }
* { box-sizing: border-box; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a.button:hover, a.store-card:hover { text-decoration: none; }
body { margin: 0; font: 14px/1.6 -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; color: var(--fg); background: var(--bg); }
nav { display: flex; gap: 16px; align-items: center; padding: 10px 24px; background: #fff; border-bottom: 1px solid var(--line); }
nav a { color: var(--fg); text-decoration: none; font-weight: 600; }
.spacer { flex: 1; }
main { max-width: 960px; margin: 24px auto; padding: 0 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.narrow { max-width: 420px; }
label { display: block; margin-bottom: 12px; }
input, select { display: block; width: 100%; margin-top: 4px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
input[type=radio] { display: inline; width: auto; }
button { padding: 6px 14px; border: 1px solid var(--accent); background: var(--accent); color: #fff; border-radius: 6px; font: inherit; cursor: pointer; }
button.secondary { background: #fff; color: var(--accent); }
button.danger { background: #fff; color: var(--err); border-color: var(--err); }
button.link { background: none; border: none; color: var(--accent); padding: 0; }
form.inline { display: inline; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td { text-align: left; padding: 8px; border-bottom: 1px solid var(--line); }
.muted { color: var(--muted); }
.error { color: var(--err); }
.ok { color: var(--ok); }
.status-succeeded { color: var(--ok); }
.status-failed, .status-cancelled { color: var(--err); }
pre.log { background: #0d1117; color: #e6edf3; padding: 12px; border-radius: 8px; height: 480px; overflow: auto; white-space: pre-wrap; font-size: 12px; }
.brand { margin-right: 12px; display: inline-flex; align-items: center; gap: 8px; }
.small { font-size: 12px; }
h2 { font-size: 16px; margin: 0 0 8px; }
main > h2 { margin-top: 28px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.page-head h1 { margin: 0 0 4px; }
.actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
a.button { display: inline-block; padding: 6px 14px; border: 1px solid var(--accent); background: var(--accent); color: #fff; border-radius: 6px; text-decoration: none; }
a.button.secondary { background: #fff; color: var(--accent); }
.store-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 16px; }
.store-card { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--fg); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.store-card:hover { border-color: var(--accent); box-shadow: 0 2px 8px rgba(9, 105, 218, .12); }
.store-domain { font-size: 16px; font-weight: 600; word-break: break-all; }
.store-go { margin-top: 8px; color: var(--accent); font-size: 13px; }
.empty { text-align: center; padding: 32px; margin-top: 16px; }
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 16px; }
.mode p { margin-top: 0; }
.choices { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.choice { display: flex; align-items: baseline; gap: 6px; margin: 0; }
.choice .muted { margin-left: 4px; }
.row-actions { display: flex; gap: 12px; align-items: center; justify-content: flex-end; white-space: nowrap; }
.table-wrap { overflow-x: auto; margin-top: 16px; }
.danger-zone { margin-top: 24px; border-color: var(--err); }
button.link.error { color: var(--err); }
