:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#172033;background:#f5f7fb;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #8da5ff;outline-offset:2px}img{max-width:100%}.app-shell{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr);background:#f5f7fb}.sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid #dfe7f2;display:flex;flex-direction:column}.brand{min-height:68px;padding:0 18px;display:flex;align-items:center;gap:12px;border-bottom:1px solid #dfe7f2}.brand-mark,.profile span{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;background:#3f6ff1;color:#fff;font-weight:800}.brand strong,.profile strong{display:block;color:#1d2940;font-size:15px;line-height:1.25}.brand small,.profile small{color:#7787a1;font-size:12px}.sidebar nav{padding:18px 12px;display:grid;gap:6px}.sidebar nav button{min-height:44px;border:0;border-radius:8px;display:flex;align-items:center;gap:12px;padding:0 12px;background:transparent;color:#667792;font:inherit;font-weight:650;text-align:left;cursor:pointer}.sidebar nav button:hover,.sidebar nav button.active{background:#edf2ff;color:#365ad8}.sidebar nav em{margin-left:auto;min-width:22px;height:22px;border-radius:999px;display:grid;place-items:center;background:#ffdc78;color:#9b6200;font-size:12px;font-style:normal}.profile{margin-top:auto;min-height:72px;padding:0 18px;border-top:1px solid #dfe7f2;display:flex;align-items:center;gap:12px}main{min-width:0}.topbar{height:70px;padding:0 28px;background:#fff;border-bottom:1px solid #dfe7f2;display:flex;align-items:center;justify-content:space-between;gap:20px}.topbar h1{margin:0;color:#152033;font-size:21px;line-height:1.25}.topbar p{margin:4px 0 0;color:#71829c;font-size:13px}.top-stats{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.top-stats span{border:1px solid #dfe7f2;border-radius:999px;padding:6px 10px;background:#f8fafc;color:#52647f;font-size:12px;font-weight:700}.page-space{padding:24px 28px 40px}.tabs,.library-tabs,.filters,.add-strip{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.tabs,.library-tabs{margin-bottom:18px}.tabs button,.library-tabs button,.right-action,.ghost-action,.review-card button,.idea-form button,.add-strip button,.action-row{border:1px solid #dbe5f2;border-radius:8px;background:#fff;color:#61728e;min-height:40px;padding:0 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font:inherit;font-weight:700;cursor:pointer}.tabs button.selected,.library-tabs button.selected{background:#eaf0ff;border-color:#bfd0ff;color:#365ad8}.tabs .right-action{margin-left:auto;color:#152033}.filters{margin-bottom:18px}.searchbox,.select-wrap{height:46px;border:1px solid #dbe5f2;border-radius:8px;background:#fff;display:flex;align-items:center;gap:9px;padding:0 14px;color:#7b8ba4}.searchbox{width:min(360px,100%)}.searchbox input,.select-wrap select,.add-strip input,.add-strip select,.idea-form textarea{border:0;outline:0;background:transparent;color:#1d2940;font:inherit;font-weight:650}.searchbox input{width:100%}.select-wrap select{-webkit-appearance:none;-moz-appearance:none;appearance:none;min-width:128px}.add-strip{padding:14px;margin-bottom:24px;border:1px solid #dfe7f2;border-radius:10px;background:#fff}.add-strip input,.add-strip textarea,.add-strip select{min-height:38px;border:1px solid #dbe5f2;border-radius:8px;padding:0 10px;background:#f8fafc}.add-strip textarea{min-height:42px;resize:vertical}.detail-action{width:100%;margin-top:10px;border:1px solid #d7ddea;background:#fff;color:#334155;border-radius:9px;padding:9px 12px;cursor:pointer}.detail-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;padding:24px;background:#0f172a7a}.detail-panel{width:min(720px,100%);max-height:85vh;overflow:auto;border-radius:16px;padding:24px;background:#fff;box-shadow:0 24px 70px #0f172a3d}.detail-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:20px}.detail-heading span,.detail-panel dt{color:#64748b;font-size:13px}.detail-heading h2{margin:6px 0 0}.detail-heading button{border:0;border-radius:8px;padding:8px 12px;cursor:pointer}.detail-panel dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.detail-panel dl>div{padding:14px;border-radius:10px;background:#f8fafc}.detail-panel dd{margin:6px 0 0;color:#172033;line-height:1.55}.detail-wide{grid-column:1 / -1}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f5f7fb}.auth-card{width:min(420px,100%);display:grid;gap:16px;padding:32px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 18px 50px #0f172a14}.auth-card h1,.auth-card p{margin:0}.auth-card label,.member-form{display:grid;gap:8px}.auth-card input,.member-form input,.member-form select{width:100%;border:1px solid #d7ddea;border-radius:9px;padding:11px 12px;background:#fff}.auth-card button,.member-form button{border:0;border-radius:9px;padding:11px 14px;background:#315efb;color:#fff;cursor:pointer}.auth-card button:disabled{opacity:.5;cursor:not-allowed}.auth-error{border-radius:8px;padding:10px 12px;background:#fff1f2;color:#be123c;font-size:14px}.monitor-form{display:grid;grid-template-columns:2fr 1fr 1fr 2fr;gap:10px}.monitor-form input,.monitor-form select{min-width:0;border:1px solid #d7ddea;border-radius:9px;padding:10px 12px;background:#fff}.monitor-form button,.page-actions button{border:0;border-radius:9px;padding:10px 14px;background:#315efb;color:#fff;cursor:pointer}.monitor-form button:disabled{opacity:.45}.platform-checks{grid-column:1 / -1;display:flex;flex-wrap:wrap;gap:16px}.monitor-list,.discovery-list,.health-table{display:grid;gap:12px}.monitor-card,.discovery-list article,.health-table article{border:1px solid #e2e8f0;border-radius:12px;padding:16px;background:#fff}.monitor-card{display:flex;align-items:center;justify-content:space-between;gap:16px}.monitor-card h2,.monitor-card p,.discovery-list h2,.discovery-list p{margin:5px 0}.monitor-card button{border:1px solid #cbd5e1;border-radius:999px;padding:8px 12px;background:#f8fafc;cursor:pointer}.monitor-card button.status-on{border-color:#86efac;background:#f0fdf4;color:#15803d}.page-actions{display:flex;justify-content:flex-end}.discovery-meta{display:flex;flex-wrap:wrap;gap:10px;color:#64748b;font-size:13px}.discovery-list small{display:block;margin:8px 0 12px;line-height:1.55;color:#475569}.discovery-list a{color:#315efb}.health-table article{display:grid;grid-template-columns:120px 140px 80px 200px 1fr;align-items:center;gap:10px}.health-table p{margin:0;color:#64748b}.run-success{color:#15803d}.run-failed{color:#be123c}.run-waiting_config{color:#b45309}@media (max-width: 900px){.monitor-form,.health-table article{grid-template-columns:1fr}}.add-strip input:first-child{flex:1 1 260px}.add-strip button,.review-card button,.idea-form button{background:#365ad8;color:#fff;border-color:#365ad8}.video-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:18px}.video-card,.material-card,.metric,.panel,.review-card,.records article,.structure-grid article,.account-grid article,.empty-state{border:1px solid #dfe7f2;border-radius:8px;background:#fff;box-shadow:0 8px 24px #364c740f}.video-card{overflow:hidden}.thumb{position:relative;aspect-ratio:16 / 7.6;overflow:hidden;background:#dfe7f2}.thumb img{width:100%;height:100%;display:block;object-fit:cover}.platform,.duration,.analyzing{position:absolute;border-radius:6px;padding:5px 8px;font-size:13px;font-weight:800}.platform{top:12px;left:12px;background:#ffffffeb;color:#1d2940}.duration{right:12px;bottom:12px;background:#152033db;color:#fff}.analyzing{right:12px;top:12px;background:#365ad8;color:#fff}.video-body{padding:16px 16px 14px}.meta-row{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;color:#71829c;font-size:13px;font-weight:700}.meta-row span,.chip-row span{border:1px solid #dbe5f2;border-radius:6px;padding:4px 8px;background:#f8fbff;color:#5e7596}.meta-row em{font-style:normal}.video-body h2,.material-card h2,.review-card h2,.panel h2,.records h2,.structure-grid h2,.account-grid h2,.empty-state h2{margin:12px 0 6px;color:#172033;font-size:17px;line-height:1.35;letter-spacing:0}.video-body p,.material-card p,.review-card p,.records p,.structure-grid p,.account-grid p,.empty-state p{margin:0;color:#6d7f99;font-size:14px;line-height:1.55}.video-body footer,.material-card footer{border-top:1px solid #e3ebf5;margin-top:14px;padding-top:12px;display:flex;justify-content:space-between;color:#71829c;font-size:13px;font-weight:700}.ghost-action{width:100%;margin-top:12px;min-height:36px;color:#365ad8}.material-grid{display:grid;grid-template-columns:repeat(3,minmax(260px,1fr));gap:16px}.material-card{padding:16px}.material-top{display:flex;align-items:center;gap:8px;color:#71829c}.material-top>span:last-child{margin-left:auto;font-size:12px;font-weight:700}.chip-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.chip-row span{color:#365ad8;background:#f4f7ff;font-size:12px;font-weight:700}.material-card footer b{color:#10b981}.material-card footer b.warn{color:#f59e0b}.stage{min-width:26px;height:24px;border-radius:6px;display:inline-grid;place-items:center;font-size:13px;font-weight:900}.stage-停{background:#eef2ff;color:#4f46e5}.stage-病{background:#fff1f2;color:#e11d48}.stage-药{background:#ecfdf5;color:#059669}.stage-信{background:#fffbeb;color:#d97706}.stage-买{background:#ecfeff;color:#0891b2}.metric-grid,.structure-grid,.account-grid{display:grid;grid-template-columns:repeat(4,minmax(180px,1fr));gap:16px}.metric{padding:18px}.metric svg{color:#365ad8}.metric span{display:block;margin-top:10px;color:#6d7f99;font-weight:800;font-size:13px}.metric strong{display:block;margin-top:8px;color:#152033;font-size:32px;line-height:1}.metric p{margin:8px 0 0;color:#7a8ca5;font-size:13px}.split,.builder-layout{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.panel{padding:18px}.plain-list{padding-left:18px;margin:12px 0 0;color:#60728c;line-height:1.8}.action-row{width:100%;justify-content:flex-start;margin-top:10px}.review-list{display:grid;gap:12px}.review-card{padding:16px;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:start}.empty-state{min-height:280px;display:grid;place-items:center;align-content:center;gap:10px;color:#365ad8}.script-table{display:grid;gap:10px;margin-top:12px}.script-row{display:grid;grid-template-columns:56px 34px 1fr;gap:10px;align-items:start;border:1px solid #e3ebf5;border-radius:8px;padding:12px}.script-row>span:first-child{color:#60728c;font-weight:800}.script-row strong{color:#172033;font-size:14px}.script-row p{grid-column:3;margin:4px 0 0;color:#60728c}.readiness{display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:center;border-bottom:1px solid #e3ebf5;padding:12px 0}.readiness strong,.readiness span{display:block}.readiness strong{color:#172033;font-size:14px}.readiness span{color:#71829c;font-size:13px}.records,.structure-grid,.account-grid{gap:14px}.records{display:grid}.records article{padding:16px;display:grid;grid-template-columns:44px 1fr auto;gap:14px;align-items:center}.records article>span{width:34px;height:34px;border-radius:8px;background:#eef2ff;display:grid;place-items:center;color:#365ad8;font-weight:900}.records b{color:#152033}.structure-grid{grid-template-columns:repeat(3,minmax(220px,1fr))}.structure-grid article,.account-grid article{padding:18px}.structure-grid strong{display:block;margin:8px 0;color:#365ad8}.account-grid{grid-template-columns:repeat(3,minmax(220px,1fr))}.account-grid svg{color:#365ad8}.idea-form{display:grid;gap:12px}.idea-form textarea{min-height:160px;resize:vertical;border:1px solid #dbe5f2;border-radius:8px;padding:12px;background:#f8fafc}@media (max-width: 1180px){.app-shell{grid-template-columns:220px minmax(0,1fr)}.video-grid,.material-grid{grid-template-columns:repeat(2,minmax(240px,1fr))}.metric-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}}@media (max-width: 820px){.app-shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto}.sidebar nav{grid-template-columns:repeat(2,1fr)}.topbar,.split,.builder-layout,.review-card,.records article{grid-template-columns:1fr}.topbar{height:auto;padding:18px;display:grid}.page-space{padding:18px}.video-grid,.material-grid,.structure-grid,.account-grid,.metric-grid{grid-template-columns:1fr}}
