:root{--ink:#13281e;--sub:#6e7971;--green:#28754e;--mint:#ccebd5;--bg:#f5f6f1;--line:#dfe4dc;--orange:#c77830;--red:#b54242;--white:#fff;--radius:14px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #79c795;outline-offset:2px}.sidebar{position:fixed;left:0;top:0;bottom:0;width:244px;background:#0d241a;color:#eaf3ec;padding:32px 22px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;gap:12px;align-items:center;color:white;font-size:12px;font-weight:700;letter-spacing:1.3px}.brand:hover{text-decoration:none}.brand-mark{font-family:Georgia,serif;font-size:42px;letter-spacing:-4px;color:#bfe9c8;line-height:1}.brand small{display:block;font-size:7px;letter-spacing:1.9px;color:#91ac98;margin-top:6px}.workspace-label{margin:42px 0 20px;font-size:9px;letter-spacing:1.5px;color:#91ad9b;display:flex;align-items:center;gap:8px}.live-dot{height:6px;width:6px;border-radius:50%;background:#85d99d;display:inline-block}nav{display:grid;gap:5px}nav a{color:#a8bfb0;border-radius:8px;padding:12px 13px;display:flex;align-items:center;gap:13px;font-size:12px}nav a.active{background:#254333;color:#e7fae9}nav a:hover{background:#1a3828;text-decoration:none}nav .nav-icon{font-size:17px;width:20px;text-align:center}nav .count{margin-left:auto;background:#31523e;border-radius:5px;font-size:10px;padding:2px 6px}.sidebar-bottom{margin-top:auto;padding-top:25px}.sidebar-bottom .pill{font-size:8px;background:#1b3727;color:#9dbcaa;border:1px solid #35513e}.sidebar-bottom p{font-family:Georgia,serif;font-size:22px;line-height:1.45;color:#d4e9d8;margin:20px 0}.sidebar-bottom a{color:#b3cfba;font-size:11px}.sidebar-bottom small{display:block;margin-top:10px;color:#6e8d77;font-size:9px}.shell{margin-left:244px}header{height:78px;padding:0 38px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fcfdf9}.breadcrumb{font-size:10px;letter-spacing:1.3px;color:var(--sub)}.breadcrumb b{font-weight:500;letter-spacing:.2px;color:var(--ink)}.breadcrumb span{margin:0 15px;color:#c0c9bf}.header-actions{display:flex;gap:14px;align-items:center}main{max-width:1550px;padding:36px 38px 48px;margin:auto;min-height:calc(100vh - 130px)}footer{padding:18px 38px;display:flex;justify-content:space-between;border-top:1px solid var(--line);font-size:9px;color:#879388;letter-spacing:.6px}.eyebrow{font-size:9px;letter-spacing:1.8px;color:var(--green);font-weight:700;text-transform:uppercase}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:28px}.page-head h1{font-family:Georgia,serif;font-weight:400;font-size:37px;letter-spacing:-1.2px;margin:8px 0 10px}.page-head p{color:var(--sub);font-size:12px;margin:0;line-height:1.7;max-width:740px}.primary,.secondary,.danger{border:0;border-radius:7px;padding:11px 17px;font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:8px;justify-content:center}.primary{background:var(--green);color:white}.primary:hover{background:#1c5e3c}.secondary{border:1px solid var(--line);background:white;color:var(--ink)}.danger{background:#fff0f0;color:var(--red);border:1px solid #f1d3d3}.small{padding:9px 13px;font-size:10px}.icon-btn{border:0;background:transparent;color:var(--sub);font-size:22px;padding:3px 7px}.pill{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;font-size:9px;color:var(--green);background:#e9f3e9;white-space:nowrap}.pill.warn{color:#976129;background:#fbefdd}.pill.bad{color:#a54242;background:#fceaea}.pill.muted{color:#788077;background:#edf0e9}.hero{background:#e3ecdf;border:1px solid #d4e0cd;border-radius:var(--radius);display:grid;grid-template-columns:1.3fr 1fr;margin:24px 0 25px;overflow:hidden}.hero-copy{padding:29px 30px}.hero h2{font-family:Georgia,serif;font-size:30px;font-weight:400;letter-spacing:-.7px;margin:12px 0}.hero p{font-size:12px;line-height:1.8;color:#55705d;max-width:470px;margin:0 0 20px}.orbit{position:relative;min-height:215px;background:radial-gradient(ellipse at center,#eff6e9 0,transparent 65%);display:flex;align-items:center;justify-content:center;overflow:hidden}.orbit-ring{position:absolute;border:1px solid #b6cdb3;border-radius:50%;width:280px;height:160px;transform:rotate(-22deg)}.orbit-ring.r2{width:180px;height:250px;transform:rotate(35deg)}.orbit-ring.r3{width:330px;height:200px;transform:rotate(18deg)}.orbit-core{width:100px;height:100px;border-radius:24px;background:#17432a;color:#e1f4da;display:grid;place-content:center;text-align:center;box-shadow:0 12px 40px #38612e20;z-index:1;font-family:Georgia,serif;font-size:27px}.orbit-core small{font:8px system-ui;letter-spacing:1.5px;margin-top:6px}.orbit-node{position:absolute;z-index:2;width:40px;height:40px;display:grid;place-items:center;border:1px solid #a9c4a5;background:#f4f9ed;border-radius:50%;font-size:16px;color:#4b7551}.orbit-node.n1{top:23px;left:23%}.orbit-node.n2{right:15%;top:42%}.orbit-node.n3{bottom:18px;left:25%}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin:22px 0 29px}.stat{background:white;border:1px solid var(--line);border-radius:10px;padding:20px}.stat-label{font-size:10px;color:var(--sub);display:flex;justify-content:space-between}.stat strong{display:block;font-size:31px;font-weight:500;margin:13px 0 8px;letter-spacing:-1px}.stat small{font-size:9px;color:var(--sub)}.grid-2{display:grid;grid-template-columns:1.6fr 1fr;gap:22px}.section-title{display:flex;justify-content:space-between;align-items:center;margin:7px 0 15px}.section-title h2{font-size:14px;font-weight:600;margin:0}.section-title a{font-size:10px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:22px}.panel.flush{padding:0;overflow:hidden}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.app-card{padding:23px;background:white;border:1px solid var(--line);border-radius:var(--radius);display:flex;flex-direction:column;min-height:270px}.app-card h2{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:19px 0 8px}.app-card p{font-size:12px;color:var(--sub);line-height:1.7;flex:1}.app-icon{width:38px;height:38px;border-radius:11px;background:#e9f2e6;display:grid;place-items:center;color:var(--green);font-size:21px}.card-top{display:flex;align-items:center;justify-content:space-between}.card-bottom{border-top:1px solid #edf0e8;padding-top:16px;margin-top:18px;display:flex;justify-content:space-between;align-items:center}.card-bottom span{font-size:10px;color:var(--sub)}.app-card .url{font-size:10px;color:#8b9288;word-break:break-all}.actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th{padding:13px 17px;background:#f8faf5;font-size:9px;color:var(--sub);font-weight:500;letter-spacing:.7px;text-transform:uppercase}td{padding:16px 17px;font-size:11px;border-top:1px solid #edf0e8;vertical-align:top}td small{display:block;font-size:9px;color:var(--sub);margin-top:5px;line-height:1.6}td strong{font-size:11px;font-weight:600}.row-link{border:0;background:none;color:var(--green);font:inherit;text-align:left;padding:0}.empty{text-align:center;padding:45px 20px;color:var(--sub)}.empty .symbol{font-size:27px;color:#8dac91;margin-bottom:12px}.empty h3{color:var(--ink);font-size:14px;font-weight:500;margin:10px 0}.empty p{font-size:11px;line-height:1.8;max-width:420px;margin:0 auto 15px}.pipeline{display:grid;gap:0}.pipeline-step{display:flex;gap:13px;padding:14px 0;border-bottom:1px solid #eef1e9}.pipeline-step:last-child{border-bottom:0}.step-number{height:28px;width:28px;flex-shrink:0;border:1px solid var(--line);border-radius:8px;display:grid;place-items:center;font-size:10px;color:var(--green);background:#f6f9f2}.pipeline-step strong{font-size:11px;font-weight:600}.pipeline-step p{font-size:10px;line-height:1.65;color:var(--sub);margin:5px 0 0}.notice{border:1px solid #dbe6d3;background:#edf4e8;padding:14px 18px;border-radius:9px;font-size:11px;line-height:1.8;color:#527050;margin:20px 0}.notice.warn{background:#fff8eb;border-color:#efdfbc;color:#8a6e3a}.detail-title{display:flex;align-items:center;gap:12px;margin:20px 0}.detail-title h2{font-family:Georgia,serif;font-size:28px;font-weight:400;margin:0}.mono,pre,code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}pre{white-space:pre-wrap;word-break:break-word;background:#f5f7f1;padding:17px;border-radius:8px;border:1px solid var(--line);font-size:11px;line-height:1.8;max-height:500px;overflow:auto}.code-block{background:#10271b;color:#c6e5ca}.meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.meta-grid dt{font-size:9px;color:var(--sub);text-transform:uppercase;letter-spacing:1px;margin-bottom:8px}.meta-grid dd{margin:0;font-size:12px}.finding{padding:18px 0;border-bottom:1px solid var(--line)}.finding h3{font-size:13px;margin:9px 0}.finding p{font-size:11px;line-height:1.8;color:var(--sub)}details{margin:10px 0;border:1px solid var(--line);border-radius:8px;padding:13px;background:white}summary{cursor:pointer;font-size:11px;font-weight:500}details img{max-width:100%;margin-top:12px;border-radius:6px;border:1px solid var(--line)}.kanban{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.kanban-column{background:#edf0e8;border-radius:12px;padding:15px}.kanban-column h3{font-size:11px;margin:5px 0 18px}.scope-card{background:white;border:1px solid var(--line);border-radius:9px;padding:16px;margin-bottom:12px}.scope-card h4{font-size:12px;line-height:1.6;margin:12px 0}.scope-card p{font-size:10px;line-height:1.7;color:var(--sub)}.filters{display:flex;align-items:center;gap:12px;margin:20px 0}.filters input{max-width:330px}.filters select{max-width:240px}.persona-avatar{width:42px;height:42px;border-radius:50%;background:#e9eedf;display:grid;place-items:center;color:var(--green);font:20px Georgia}.tag-line{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.loading{padding:80px 0;text-align:center;color:var(--sub);font-size:12px}dialog{width:min(780px,94vw);border:1px solid var(--line);border-radius:16px;padding:0;color:var(--ink);box-shadow:0 30px 100px #001b2133;max-height:92vh}dialog::backdrop{background:#06231588;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.dialog-head h2{font-family:Georgia,serif;font-size:25px;font-weight:400;margin:0}#dialog-content{padding:22px 25px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.form-grid .wide{grid-column:1/-1}label{display:block;font-size:11px;font-weight:500;color:#415a45}input,textarea,select{width:100%;display:block;padding:10px 12px;margin-top:7px;border:1px solid #d5ddcf;border-radius:7px;background:white;color:var(--ink);font-size:12px;min-height:38px}textarea{resize:vertical;min-height:95px;line-height:1.7}textarea.code{font-family:monospace;min-height:240px;font-size:11px}label small,.form-help{display:block;font-weight:400;font-size:10px;line-height:1.7;color:var(--sub);margin:7px 0 0}.check-list{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:9px 0}.check-list label,.check{border:1px solid var(--line);border-radius:7px;padding:10px;display:flex;align-items:center;gap:8px;font-weight:400}.check-list input,.check input{width:auto;min-height:0;margin:0}.form-actions{margin-top:24px;padding-top:18px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:10px}.error{color:var(--red);font-size:11px;line-height:1.6;min-height:16px;margin-top:12px}.secret{font-family:monospace;word-break:break-all;font-size:12px;padding:18px;background:#edf5e8;border:1px dashed #9cb998;border-radius:9px}#toast{position:fixed;right:25px;bottom:25px;background:#143322;color:#e3f3df;border-radius:10px;font-size:12px;padding:14px 22px;box-shadow:0 8px 28px #0a311326;opacity:0;pointer-events:none;transition:opacity .2s;z-index:30;max-width:calc(100vw - 50px)}#toast.show{opacity:1}.comparison{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:22px 0}.comparison .panel strong{font-size:26px;display:block;margin:10px 0}.comparison .panel small{color:var(--sub);font-size:10px}.source-table td{font-size:10px;line-height:1.8}.source-table td:first-child{font-family:monospace}.hide{display:none!important}@media(min-width:1600px){.stats{gap:22px}.stat{padding:25px}.cards{gap:24px}}@media(max-width:1150px){.sidebar{width:205px;padding:28px 16px}.shell{margin-left:205px}header{padding:0 25px}main{padding:28px 25px}.cards{grid-template-columns:repeat(2,1fr)}.grid-2{grid-template-columns:1fr}.hero{grid-template-columns:1.4fr 1fr}.orbit-ring.r3{width:260px}.stats{gap:10px}.stat{padding:15px}.kanban{grid-template-columns:1fr 1fr}}@media(max-width:760px){.sidebar{position:relative;width:auto;padding:18px;display:block}.brand{margin-bottom:18px}.workspace-label,.sidebar-bottom{display:none}nav{display:flex;overflow:auto;gap:4px}nav a{padding:8px 10px;white-space:nowrap;font-size:10px}nav .count{display:none}.shell{margin:0}header{height:65px;padding:0 18px}.breadcrumb{font-size:9px}.breadcrumb span{margin:0 7px}.header-actions{gap:4px}.header-actions>.pill{display:none}main{padding:25px 18px}.page-head{align-items:start;flex-wrap:wrap}.page-head h1{font-size:31px}.hero{grid-template-columns:1fr}.hero-copy{padding:24px}.orbit{min-height:180px;border-top:1px solid #cfddc7}.stats{grid-template-columns:1fr 1fr}.cards{grid-template-columns:1fr}.kanban{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .wide{grid-column:auto}.check-list{grid-template-columns:1fr}.meta-grid{grid-template-columns:1fr 1fr}.comparison{grid-template-columns:1fr}footer{padding:18px;gap:15px;font-size:8px}.filters{flex-wrap:wrap}.filters input,.filters select{max-width:100%}.notice{font-size:10px}#dialog-content{padding:20px}.dialog-head{padding:18px 20px}}

.mt24{margin-top:24px}.mt25{margin-top:25px}.study-detail{margin-top:25px}fieldset{border:0;padding:0;margin:0;min-width:0}legend{font-size:11px;color:#415a45;font-weight:500}

.sidebar{overflow-y:auto}.sidebar-bottom{padding-bottom:10px}

/* v3: login, insights chart, operations */
.login-panel{max-width:480px}.login-panel input{width:100%}
svg.trend{width:100%;height:auto;display:block}svg.trend .bar:hover path{opacity:.75}
#prune-form label,#import-form label{display:block;margin:12px 0}
[hidden]{display:none!important}
svg.progress{display:block;width:100%;max-width:220px;height:6px;margin-top:6px}svg.progress .track{fill:var(--line)}svg.progress .ok{fill:var(--green)}svg.progress .bad{fill:#b4443c}
svg.trend .mark{fill:var(--green)}svg.trend .gridline{stroke:var(--line);stroke-width:1}svg.trend .axis{font-size:10px;fill:var(--sub)}

/* v3.1: influencer network & load testing */
.legend{display:flex;flex-wrap:wrap;gap:14px;margin-top:8px;font-size:12px;color:var(--sub)}.legend span{display:inline-flex;align-items:center;gap:6px}
.swatch{display:inline-block;width:10px;height:10px;border-radius:3px}.swatch.s0{background:#2a78d6}.swatch.s1{background:#eb6834}.swatch.s2{background:#1baf7a}.swatch.s3{background:#eda100}.swatch.s4{background:#e87ba4}.swatch.s5{background:#008300}.swatch.s6{background:#6250d6}.swatch.s7{background:#e34948}
svg.trend .series-label{font-size:11px;fill:var(--ink)}
.cards img,.cards video{width:100%;border-radius:12px;display:block}.cards audio{width:100%}
