:root { color-scheme: light; font-family: "PingFang SC","Microsoft YaHei",system-ui,sans-serif; background: #f4f4ee; color: #232433; --ink:#232433; --muted:#686a78; --line:#e5e6e0; --accent:#28654f; --wash:#e7f2ec; }
* { box-sizing:border-box; }
body { margin:0; }
[hidden] { display:none !important; }
h1,h2,p { margin:0; }
button,input,select { font:inherit; }
button { cursor:pointer; border:1px solid #daddd6; border-radius:8px; padding:7px 12px; background:#fff; color:var(--ink); font-size:13px; font-weight:650; white-space:nowrap; }
button:hover { background:#f1f5ef; border-color:#a1b4a6; }
button:disabled { opacity:.5; cursor:default; }
button:focus-visible,input:focus-visible,select:focus-visible { outline:2px solid #428b6e; outline-offset:2px; }
.primary { background:#1f4e3c; color:#fff; border-color:#1f4e3c; }
.primary:hover { background:#2d6952; }
.bar { height:66px; padding:0 max(22px,calc((100% - 1180px)/2)); display:flex; align-items:center; justify-content:space-between; gap:12px; background:#fafaf7; border-bottom:1px solid #e3e5dd; }
.brand,.bar-right { display:flex; align-items:center; gap:10px; }
.brand > img { display:block; flex:none; object-fit:contain; }
.brand b { display:flex; align-items:baseline; gap:10px; font-size:19px; letter-spacing:-.35px; }
.brand small { color:var(--muted); font-size:12px; font-weight:600; letter-spacing:0; }
#cloud-status { color:var(--accent); font-size:12px; text-align:right; }
main { max-width:1224px; margin:0 auto; padding:35px 22px 65px; }
.heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:21px; }
h1 { font-size:clamp(25px,4vw,39px); letter-spacing:-.8px; font-weight:780; }
h2 { font-size:17px; }
p { color:var(--muted); font-size:13px; line-height:1.65; }
.heading p,.login p { margin-top:6px; }
.surface { background:#fff; border:1px solid var(--line); border-radius:15px; box-shadow:0 2px 10px #22280808; min-width:0; }
.login { max-width:460px; margin:7vh auto 0; padding:26px; }
.login h1 { font-size:25px; }
form { display:grid; gap:10px; }
.login form { margin-top:22px; }
label { display:grid; gap:6px; font-size:13px; font-weight:650; }
input:not([type=checkbox]),select { width:100%; border:1px solid #dfe2db; border-radius:8px; background:#fcfdfa; color:var(--ink); padding:9px 10px; min-width:0; font-size:13px; }
nav { display:flex; flex-wrap:wrap; gap:6px; margin-bottom:12px; }
nav button { border-color:transparent; background:transparent; }
nav button[aria-current] { border-color:#bbd6c8; color:#22523e; background:var(--wash); }
.section-head { padding:17px; display:flex; align-items:start; justify-content:space-between; flex-wrap:wrap; gap:15px; }
.section-head p { margin-top:4px; }
.section-head .actions { display:flex; flex-wrap:wrap; gap:6px; }
.table-wrap { overflow:auto; }
table { width:100%; border-collapse:collapse; font-size:12px; text-align:left; }
thead { background:#f7f8f4; color:#5a635c; }
th,td { padding:10px 14px; border-top:1px solid #eaede7; white-space:nowrap; }
th:first-child,td:first-child { padding-left:17px; }
tbody tr:hover { background:#fafbf8; }
td .actions { display:flex; gap:6px; }
td button { padding:5px 8px; font-size:11px; }
td code { color:#555c65; font-size:11px; }
.tag { font-size:11px; font-weight:700; background:#eff0ed; color:#666b65; padding:3px 6px; border-radius:5px; }
.tag.pending { color:#8a6416; background:#faf1da; }
.tag.enabled,.tag.succeeded { color:#226b4c; background:#e6f4e9; }
.tag.failed,.tag.unknown { color:#953843; background:#fdebeb; }
.empty,.table-footer { padding:15px 17px; border-top:1px solid #eaede7; }
.filters { display:flex; padding:0 17px 12px; gap:8px; flex-wrap:wrap; }
.filters select,.filters input { max-width:200px; min-width:135px; width:auto; }
#feedback { position:fixed; left:20px; bottom:18px; max-width:calc(100vw - 40px); padding:10px 14px; border-radius:8px; color:#255041; border:1px solid #c7e5d6; background:#f1fbf5; font-size:13px; }
#feedback.error { background:#fff3f4; border-color:#f0ccce; color:#913944; }
dialog { max-width:min(460px,calc(100% - 32px)); width:100%; border:1px solid #e0e4dd; border-radius:14px; padding:20px; color:var(--ink); box-shadow:0 12px 50px #2223; }
dialog::backdrop { background:#15261b50; }
dialog form,dialog .token-row { margin-top:13px; }
.dialog-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:8px; }
.music-upload-list { max-height:220px; overflow:auto; padding-left:22px; margin:0; overflow-wrap:anywhere; }
.music-upload-list li + li { margin-top:4px; }
.music-batch-bar { display:flex; align-items:center; flex-wrap:wrap; gap:10px; padding:0 17px 12px; }
.music-batch-bar > span { font-size:12px; color:var(--muted); margin-right:auto; }
.music-catalog-list input[type=checkbox] { accent-color:var(--accent); }
.music-filename { display:block; max-width:42ch; white-space:normal; overflow-wrap:anywhere; }
.dialog-actions { flex-wrap:wrap; }
.check { display:flex; align-items:center; gap:6px; }
.check input { accent-color:var(--accent); }
.token-row { display:flex; gap:6px; }
.token-row input { font-family:monospace; }
td code { display:block; max-width:44ch; white-space:normal; overflow-wrap:anywhere; }
