:root{color-scheme:light;--ink:#1b2937;--muted:#718091;--border:#dfe6ec;--brand:#146c60;--bg:#f3f6f8}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,"Segoe UI","Microsoft YaHei",sans-serif;background:var(--bg);color:var(--ink);font-size:14px;line-height:1.65}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}h1{font-size:28px;letter-spacing:-.6px;margin:5px 0}h2{font-size:18px;margin:0 0 16px}h3{font-size:15px}p{margin:10px 0}.sidebar{position:fixed;inset:0 auto 0 0;width:232px;background:#122e2b;color:#e9f3f1;padding:32px 20px;display:flex;flex-direction:column;gap:30px}.brand{font-weight:800;font-size:23px;letter-spacing:3px;color:inherit}.brand span{display:block;font-size:12px;font-weight:400;letter-spacing:1px;color:#9eb8b3;margin-top:5px}.sidebar nav{display:grid;gap:8px}.sidebar nav a{color:#c4d6d2;padding:11px 16px;border-radius:8px}.sidebar nav a[aria-current],.sidebar nav a:hover{background:#265149;color:white;text-decoration:none}.account{margin-top:auto;padding:12px;color:#c4d6d2}.account button{background:transparent;border-color:#52726c;color:#e5efec;margin-top:10px}.workspace{margin-left:232px;padding:36px 40px}.eyebrow{font-size:11px;font-weight:700;color:var(--brand);letter-spacing:2px}header{margin-bottom:28px}.muted{color:var(--muted)}.small,small{font-size:12px}small{display:block;color:var(--muted)}.panel{background:#fff;padding:24px;border:1px solid var(--border);border-radius:12px;margin-bottom:22px;box-shadow:0 3px 12px #12302b03}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.metric{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #edf1f4;padding:10px 0;color:var(--ink)}.metric strong{font-size:24px}.badge{font-size:12px;display:inline-block;border-radius:5px;padding:3px 9px;background:#e9f4f0;color:#236a58;white-space:nowrap}.badge.warning{background:#fff0df;color:#9b5616}.notice{padding:12px 16px;border-radius:8px;background:#edf5fb;border:1px solid #cddfea;margin:12px 0 22px;overflow-wrap:anywhere}.notice.error{background:#fff0ef;border-color:#f1ceca;color:#a13931}label{display:block;font-size:13px;font-weight:600;margin:12px 0}input,textarea,select{display:block;width:100%;background:white;border:1px solid #cad5df;border-radius:6px;padding:10px 12px;font:inherit;color:var(--ink);margin-top:6px}input:focus,textarea:focus,select:focus{outline:2px solid #97c6ba;outline-offset:1px}textarea{min-height:100px;resize:vertical}.config{font:13px/1.7 Consolas,monospace;min-height:410px}.config.compact{min-height:140px}.article{min-height:460px;font-family:Consolas,"Microsoft YaHei",monospace}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}.check{display:flex;align-items:center;gap:10px;font-weight:400}.check input{width:16px;margin:0}.filters{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.filters label{margin:0;min-width:110px;flex:1}.filters button{margin-bottom:0}.filters input,.filters select{padding:8px}.filters input[inputmode]{max-width:130px}button{border:1px solid #bdcec9;color:#23594f;background:#f4f9f7;border-radius:6px;padding:9px 16px;font:inherit;font-weight:600;cursor:pointer}button:hover{background:#e6f1ec}button.primary{background:var(--brand);color:white;border-color:var(--brand)}button.primary:hover{background:#105a50}.inline{display:inline-block}.actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th{text-align:left;color:var(--muted);font-weight:600;white-space:nowrap;background:#f8fafb}th,td{padding:13px 12px;border-bottom:1px solid #eaf0f4}td{vertical-align:top}td:nth-child(2){min-width:180px}td:last-child{white-space:nowrap}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px}.pagination{display:flex;gap:20px;justify-content:end;margin-top:18px;font-size:13px}.preview{width:100%;height:480px;border:1px solid var(--border);border-radius:8px;margin-top:16px;background:#fff}.asset{display:flex;justify-content:space-between;gap:24px;padding:20px 0;border-bottom:1px solid var(--border)}.asset img{width:150px;height:150px;object-fit:contain;border-radius:8px;flex-shrink:0}.log{display:grid;grid-template-columns:150px 90px 1fr 60px;gap:12px;padding:12px 0;border-bottom:1px solid var(--border);font-size:12px}.log time{color:var(--muted)}.log span{overflow-wrap:anywhere}details{margin-top:22px}summary{cursor:pointer;font-weight:600}hr{border:0;border-top:1px solid var(--border);margin:24px 0}footer{font-size:12px;color:var(--muted);text-align:center;padding:20px}.login{max-width:460px;margin:10vh auto;background:#fff;padding:44px;border:1px solid var(--border);border-radius:14px;box-shadow:0 12px 40px #12302b0d}.login .brand{font-size:12px;letter-spacing:2px;color:var(--brand)}.login h1{margin-top:20px;font-size:26px}.login button{width:100%;margin-top:12px}.login form{margin-top:26px}@media(max-width:1000px){.workspace{padding:24px;margin-left:200px}.sidebar{width:200px}.cards{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}}@media(max-width:700px){.sidebar{position:static;width:auto;padding:20px;gap:14px}.sidebar nav{display:flex;overflow:auto;gap:5px}.sidebar nav a{white-space:nowrap;padding:8px 12px}.sidebar .account{margin:0;display:flex;align-items:center;justify-content:space-between;padding:0}.account button{margin:0}.workspace{margin-left:0;padding:20px 14px}.panel{padding:18px}.login{margin:8vh 16px;padding:30px}.log{grid-template-columns:1fr;gap:3px}.asset{flex-direction:column}.config{min-height:350px}}
:root .article-preview{background:#fff;max-width:900px;margin:24px auto;padding:0 20px;font-size:16px;overflow-wrap:anywhere}.article-preview img{max-width:100%;height:auto}.article-preview pre{white-space:pre-wrap}.article-preview table{display:block;overflow:auto}
