/* AI-BEGIN: 基础样式：布局、卡片、表格、状态标签 */
:root { --ink: #1f2933; --muted: #6b7280; --line: #e5e7eb; --accent: #2563eb; --ok: #15803d; --err: #b91c1c; --bg: #f8fafc; }
* { box-sizing: border-box; }
body { margin: 0; font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg); }
.top { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; background: #fff; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; color: var(--ink); text-decoration: none; }
nav { display: flex; gap: 16px; align-items: center; }
nav a { color: var(--ink); text-decoration: none; }
main { max-width: 900px; margin: 24px auto; padding: 0 16px; }
h1 { font-size: 22px; margin: 0 0 16px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 20px; margin-bottom: 24px; }
label { display: block; margin-bottom: 12px; }
input[type=text], input[type=email], input[type=password], textarea, select { width: 100%; padding: 8px; border: 1px solid var(--line); border-radius: 6px; font: inherit; }
textarea { min-height: 90px; }
button { padding: 8px 14px; border: 0; border-radius: 6px; background: var(--accent); color: #fff; font: inherit; cursor: pointer; }
button.link { background: none; color: var(--ink); padding: 0; text-decoration: underline; }
button.danger { background: var(--err); }
button:disabled { opacity: .5; cursor: default; }
form.inline { display: inline; }
.flash { padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; }
.flash.ok { background: #dcfce7; color: var(--ok); }
.flash.err { background: #fee2e2; color: var(--err); }
.muted { color: var(--muted); font-size: 13px; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
th, td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: 13px; color: var(--muted); }
.status { font-size: 12px; padding: 2px 8px; border-radius: 999px; background: #e5e7eb; }
.status.ready, .status.completed { background: #dcfce7; color: var(--ok); }
.status.failed { background: #fee2e2; color: var(--err); }
.status.running, .status.queued { background: #dbeafe; color: var(--accent); }
.rec { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 8px 0; }
audio { width: 100%; max-width: 320px; vertical-align: middle; }
/* AI-END: 基础样式：布局、卡片、表格、状态标签 */
