:root { --bg: #0f1117; --surface: #1a1d27; --border: #2d333b; --text: #e6edf3; --muted: #8b949e; --accent: #58a6ff; --ok: #3fb950; --err: #f85149; --warn: #d29922; } * { box-sizing: border-box; } body { margin: 0; font-family: "Segoe UI", system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; } a { color: var(--accent); text-decoration: none; } a:hover { text-decoration: underline; } .wrap { max-width: 1400px; margin: 0 auto; padding: 1.25rem; } header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; } header h1 { margin: 0; font-size: 1.35rem; font-weight: 600; } .nav { display: flex; gap: 0.75rem; flex-wrap: wrap; } .nav a { padding: 0.4rem 0.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; } .cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; } .card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 1.25rem; transition: border-color 0.15s; } .card:hover { border-color: var(--accent); } .card h2 { margin: 0 0 0.5rem; font-size: 1.1rem; } .card p { margin: 0; color: var(--muted); font-size: 0.9rem; } .toolbar { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin-bottom: 1rem; } input, select, button { font: inherit; padding: 0.45rem 0.65rem; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--text); } button { cursor: pointer; background: #21262d; } button.primary { background: #238636; border-color: #2ea043; } button.danger { background: #da3633; border-color: var(--err); } button.danger:hover:not(:disabled) { filter: brightness(1.08); } button:disabled { opacity: 0.5; cursor: not-allowed; } table { width: 100%; border-collapse: collapse; font-size: 0.85rem; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; } th, td { border-bottom: 1px solid var(--border); padding: 0.5rem 0.65rem; text-align: left; vertical-align: top; word-break: break-all; } th { background: #161b22; color: var(--muted); font-weight: 600; white-space: nowrap; } tr:hover td { background: #1c2128; } .badge { display: inline-block; padding: 0.15rem 0.45rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; } .badge.ok { background: rgba(63,185,80,0.2); color: var(--ok); } .badge.err { background: rgba(248,81,73,0.2); color: var(--err); } .badge.warn { background: rgba(210,153,34,0.2); color: var(--warn); } .badge.info { background: rgba(88,166,255,0.15); color: var(--accent); } .log-lines { font-family: ui-monospace, Consolas, monospace; font-size: 0.8rem; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; max-height: 75vh; overflow: auto; } .log-line { display: grid; grid-template-columns: 3rem 10rem 4rem 1fr; gap: 0.5rem; padding: 0.35rem 0.65rem; border-bottom: 1px solid var(--border); } .log-line.sep { grid-template-columns: 1fr; color: var(--accent); background: #161b22; } .log-line.error { background: rgba(248,81,73,0.08); } .log-line.warn { background: rgba(210,153,34,0.06); } .log-line.ok { background: rgba(63,185,80,0.06); } .log-line .ln { color: var(--muted); } .log-line .msg { white-space: pre-wrap; word-break: break-all; } .panel { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; margin-bottom: 1rem; } .panel h3 { margin: 0; padding: 0.75rem 1rem; border-bottom: 1px solid var(--border); font-size: 0.95rem; } .panel pre { margin: 0; padding: 1rem; overflow: auto; max-height: 50vh; font-family: ui-monospace, Consolas, monospace; font-size: 0.78rem; white-space: pre-wrap; word-break: break-all; } .footer { margin-top: 2rem; color: var(--muted); font-size: 0.85rem; } .hidden { display: none; } .status-msg { color: var(--muted); font-size: 0.9rem; } .toast-root { position: fixed; right: 1rem; bottom: 1rem; z-index: 9999; display: flex; flex-direction: column; gap: 0.5rem; max-width: min(420px, calc(100vw - 2rem)); pointer-events: none; } .toast { padding: 0.65rem 1rem; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 0.9rem; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); opacity: 0; transform: translateY(8px); transition: opacity 0.2s, transform 0.2s; pointer-events: auto; word-break: break-word; } .toast.show { opacity: 1; transform: translateY(0); } .toast.ok { border-color: var(--ok); background: rgba(63, 185, 80, 0.12); } .toast.err { border-color: var(--err); background: rgba(248, 81, 73, 0.12); } .toast.warn { border-color: var(--warn); background: rgba(210, 153, 34, 0.12); } .toast.info { border-color: var(--accent); background: rgba(88, 166, 255, 0.1); } .flash { margin: 0; padding: 0.75rem 1rem; border-radius: 6px; font-size: 0.85rem; white-space: pre-wrap; word-break: break-all; } .flash.err { background: rgba(248, 81, 73, 0.12); border: 1px solid rgba(248, 81, 73, 0.35); color: #ffb1ac; } .flash.ok { background: rgba(63, 185, 80, 0.12); border: 1px solid rgba(63, 185, 80, 0.35); color: #7ee787; }