:root{--ink:#203a33;--muted:#7b837e;--line:#e5e8df;--bg:#f7f8f3;--green:#1f5443;--lime:#e4efae;--side:#163b32;--white:#fff;--danger:#b34b39}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}a{color:var(--green);text-decoration:none}button{border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:var(--side);color:#e9f0e9;padding:31px 20px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;color:white;font-size:26px;font-weight:650;letter-spacing:-1px;padding:0 10px}.brand-icon{width:40px;height:42px;background:var(--lime);color:var(--side);display:inline-flex;align-items:center;justify-content:center;font-family:Georgia,serif;font-size:36px;border-radius:10px;letter-spacing:-3px;padding-right:4px}.brand-sub{display:block;font-size:9px;letter-spacing:2.7px;font-weight:450;margin-top:5px;color:#a9c1b6}.workspace{display:flex;align-items:center;gap:11px;border:1px solid #ffffff21;border-radius:10px;padding:13px 10px;margin-top:36px;font-size:12px;font-weight:550}.workspace div span{display:block;font-size:10px;color:#a4bcb0;font-weight:400;margin-top:5px}.avatar{display:grid;place-items:center;background:#416050;width:29px;height:29px;border-radius:7px}.small-dot,.live-dot{width:6px;height:6px;background:#bcd789;border-radius:50%;display:inline-block}.workspace>.small-dot{margin-left:auto}.nav-label{font-size:9px;letter-spacing:1.8px;color:#8da99a;margin:31px 12px 12px}.nav-label.second{margin-top:33px}nav button,.nav-link{width:100%;display:flex;align-items:center;gap:12px;text-align:left;color:#bacec1;padding:13px 12px;border-radius:8px;margin:3px 0;font-size:12px}nav button>span:first-child,.nav-link>span{font-size:19px;width:20px;text-align:center}nav button.active{background:#e5efaf;color:#234b39;font-weight:600}nav button:hover:not(.active),.nav-link:hover{background:#ffffff0b}.nav-count{background:#cadb96;padding:2px 6px;border-radius:4px;margin-left:auto;font-size:10px}.sidebar-bottom{margin-top:auto;font-size:10px;color:#cedece;padding:18px 8px 0;border-top:1px solid #ffffff18}.sidebar-bottom .small-dot{margin-right:6px}.sidebar-bottom div{font-size:9px;color:#86a593;margin-top:8px}.shell{margin-left:244px}header{height:82px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fbfcf8;font-size:11px}.breadcrumb{color:var(--muted)}.breadcrumb span{margin:0 14px;color:#b6beb5}.breadcrumb strong{font-weight:500;color:var(--ink)}.header-right{display:flex;align-items:center;gap:9px;color:#6d7d70}.live-dot{background:#719960}.user-avatar{margin-left:18px;display:grid;place-items:center;width:32px;height:32px;border:1px solid #d6ddd1;border-radius:50%;background:#eef1e6;color:#526747}main{padding:35px 42px 50px;min-height:calc(100vh - 134px);max-width:1550px;margin:auto}.eyebrow{font-size:10px;letter-spacing:1.8px;color:#7b8c79;margin-bottom:12px}.page-top{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}h1{font-weight:550;letter-spacing:-1.15px;font-size:31px;margin:0 0 10px}h2{font-size:18px;font-weight:550;letter-spacing:-.4px;margin:0}h3{font-size:14px;font-weight:600;margin:0 0 12px}p{line-height:1.65;color:var(--muted)}.page-top p{margin:0;font-size:12px}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.primary,.secondary,.danger{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;font-size:12px;border-radius:7px;font-weight:550;white-space:nowrap}.primary{background:var(--green);color:white;border:1px solid var(--green)}.primary:hover{background:#163f32}.secondary{background:#fff;border:1px solid #dbe1d4}.secondary:hover{background:#f1f4e9}.danger{color:var(--danger);background:#fff0eb}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:15px;margin-bottom:27px}.metric{background:white;border:1px solid var(--line);padding:20px 20px 17px;border-radius:10px;min-height:132px}.metric-top{display:flex;justify-content:space-between;color:#7d877b;font-size:11px}.metric-icon{color:#8c9c83;font-size:15px}.metric-value{font-size:33px;font-weight:550;letter-spacing:-1px;margin:13px 0 9px}.metric-value span{font-size:14px;color:#a7afa2;letter-spacing:0;margin-left:4px}.metric-note{font-size:10px;color:#899282}.metric.accent{background:#edf2dc;border-color:#e2e8cd}.metric.accent .metric-value{color:#476037}.progress{height:3px;border-radius:4px;background:#dfe6cb;margin-top:12px;overflow:hidden}.progress>i{display:block;height:100%;background:#6f8f43}.workflow{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#f0f3e9;border:1px solid #e0e7d7;border-radius:9px;padding:17px 21px;margin-bottom:30px}.workflow-label{font-size:11px;font-weight:600;white-space:nowrap}.workflow-steps{display:flex;align-items:center;gap:13px;color:#77846f;font-size:10px}.workflow-steps b{font-weight:500;color:#43583b}.workflow-steps span{color:#a6b095}.panel{background:#fff;border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-bottom:20px}.panel-head{display:flex;align-items:center;justify-content:space-between;padding:22px 23px;border-bottom:1px solid var(--line);gap:15px}.panel-head h2{font-size:16px}.panel-head p{margin:7px 0 0;font-size:11px}.pill{font-size:10px;border-radius:5px;padding:5px 9px;background:#f2f4ed;color:#74816b}.tabs{display:flex;gap:20px;padding:0 24px;border-bottom:1px solid var(--line);overflow:auto}.tab{padding:15px 0 13px;font-size:11px;white-space:nowrap;border-bottom:2px solid transparent;color:#8a9286}.tab.active{color:var(--green);border-color:var(--green);font-weight:600}.tab span{margin-left:5px;color:#9ba68e;font-size:10px}.table-tools{display:flex;gap:12px;padding:17px 22px;border-bottom:1px solid var(--line);align-items:center}.search{flex:1;max-width:340px;font-size:11px!important;background:#fafbf7!important}.table-tools select{width:auto;font-size:11px;padding:9px 12px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;text-align:left}th{font-size:9px;letter-spacing:.8px;text-transform:uppercase;font-weight:500;color:#8b9386;background:#fcfcfa;padding:13px 22px;border-bottom:1px solid var(--line);white-space:nowrap}td{font-size:11px;padding:18px 22px;border-bottom:1px solid #eff1ea;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr[data-job]{cursor:pointer}tbody tr[data-job]:hover{background:#f8faf3}.cell-title{font-size:12px;font-weight:550;margin-bottom:6px;color:#314736;max-width:400px}.cell-sub{font-size:10px;color:#92998c;max-width:420px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.badge{display:inline-block;font-size:10px;border-radius:5px;padding:5px 8px;background:#f0f2eb;color:#718068;white-space:nowrap}.badge.ready{background:#e9f2df;color:#4d743c}.badge.blocked,.badge.overbudget,.badge.failed{background:#fbece6;color:#b46a48}.badge.research,.badge.writing,.badge.queued,.badge.fact_check,.badge.editorial,.badge.uniqueness,.badge.brief,.badge.revision,.badge.brief_review{background:#e9f0f8;color:#607c9b}.empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:49px 25px 43px}.empty-icon{display:grid;place-items:center;width:60px;height:60px;border:1px solid #d9e2cc;background:#f3f6e9;color:#78945d;border-radius:15px;font-size:28px;transform:rotate(-5deg);margin-bottom:20px}.empty h3{font-size:17px;font-weight:500;margin-bottom:6px}.empty p{font-size:12px;max-width:415px;margin:6px 0 22px}.empty .sub-link{font-size:10px;margin-top:15px;color:#839172}.bottom-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px}.compact-panel{padding:22px}.compact-panel h3{font-size:13px}.quality-list{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin-top:20px;font-size:11px;color:#768170}.quality-list span:before{content:'✓';color:#7c985a;margin-right:9px}.connect-row{display:flex;justify-content:space-between;align-items:center;padding:9px 0;font-size:11px}.status-dot{display:inline-block;width:5px;height:5px;background:#c3b18b;border-radius:50%;margin-right:5px}.status-dot.ok{background:#7aa460}.muted{color:var(--muted)}.text-small{font-size:11px}.link-button{color:#64834b;font-size:11px;padding:0}footer{display:flex;gap:17px;font-size:9px;letter-spacing:1px;color:#8e9a86;border-top:1px solid var(--line);padding:20px 42px}footer span{letter-spacing:0;color:#a2aa9b}footer span:last-child{margin-left:auto}input,select,textarea{border:1px solid #dce2d5;border-radius:6px;background:#fff;padding:11px 12px;width:100%;color:#304837;font-size:13px}textarea{resize:vertical;min-height:92px;line-height:1.6}label{display:flex;flex-direction:column;gap:8px;font-size:11px;color:#788371;margin-bottom:17px}label.inline{flex-direction:row;align-items:center}label.inline input{width:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.full{grid-column:1/-1}.hint{font-size:11px;line-height:1.65;color:#8c9684;margin-top:6px}.form-panel{padding:25px;max-width:900px}.form-panel h3{margin-top:20px}.form-panel h3:first-child{margin-top:0}.form-panel .actions{margin-top:15px}dialog{width:min(800px,calc(100vw - 30px));max-height:90vh;border:1px solid #dfe5d7;border-radius:14px;padding:0;box-shadow:0 25px 90px #10281d30;color:var(--ink)}dialog::backdrop{background:#112b2266;backdrop-filter:blur(3px)}.modal-head{padding:24px 28px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.modal-head h2{font-size:21px}.close{font-size:24px;color:#8d9b82}.modal-content{padding:25px 28px}.modal-footer{padding:17px 28px;border-top:1px solid var(--line);display:flex;justify-content:flex-end;gap:9px;background:#f9fbf5}.error-box{padding:14px;background:#fff2e9;border:1px solid #f0dcca;border-radius:7px;font-size:12px;color:#9c6f48;line-height:1.7;margin-bottom:20px}.success-box{padding:14px;background:#edf5e5;border:1px solid #dce9cc;border-radius:7px;font-size:12px;color:#56783d;line-height:1.7;margin-bottom:20px}.source{padding:17px 0;border-bottom:1px solid var(--line)}.source p{font-size:12px;margin:6px 0;word-break:break-word}.source-title{font-weight:550;font-size:13px}.detail-head{padding:24px}.detail-head h1{font-size:23px;line-height:1.4;margin-top:12px}.detail-meta{display:flex;gap:17px;font-size:11px;color:#8a9580;margin:15px 0}.article-text{white-space:pre-wrap;font-size:14px;line-height:1.85;color:#3a493c;overflow-wrap:anywhere;margin:0;font-family:inherit}.article-text h1,.article-text h2,.article-text h3{white-space:normal;line-height:1.45;margin:20px 0 10px}.article-text p{white-space:normal;color:inherit}.article-text a{text-decoration:underline}.json-view{white-space:pre-wrap;word-break:break-word;background:#f6f8f1;padding:16px;font-size:11px;line-height:1.7;border-radius:7px;color:#5b6c50}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.site-card{padding:22px}.site-card .flag{font-size:25px;margin-bottom:20px}.site-card h3{font-size:15px}.site-card p{font-size:11px;min-height:38px}.site-card .actions{justify-content:space-between;margin-top:20px}.tag-row{display:flex;gap:5px;margin-bottom:15px}.checks-list{display:grid;gap:14px}.check-card{padding:18px;border:1px solid var(--line);border-radius:8px}.check-card h3{display:flex;justify-content:space-between}.check-card p{font-size:12px;margin:8px 0 0}.check-card ul{padding-left:20px;font-size:12px;line-height:1.7;color:#7e705b}#toast{position:fixed;bottom:24px;left:calc(50% + 100px);transform:translateX(-50%);padding:13px 22px;background:#203e32;color:#fff;border-radius:8px;font-size:12px;z-index:100;box-shadow:0 10px 30px #0002;display:none;max-width:600px}#login{position:fixed;inset:0;background:var(--bg);z-index:200;display:grid;place-items:center}#login[hidden]{display:none}#login form{width:370px;padding:35px;background:white;border:1px solid var(--line);border-radius:12px}#login h1{font-size:25px;margin-top:25px}#login p{font-size:12px}#login button{width:100%}#login-error{color:var(--danger)}.mono{font-family:ui-monospace,monospace;font-size:11px}.notice{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px;background:#f6f0df;border:1px solid #e8dfc4;border-radius:8px;padding:15px 20px;font-size:11px;color:#8a794e}.notice button{white-space:nowrap;font-size:11px;text-decoration:underline} @media(min-width:1500px){main{padding-top:43px}.page-top{margin-bottom:35px}.empty{padding:65px 25px}}@media(max-width:1100px){.sidebar{width:210px;padding:30px 13px}.shell{margin-left:210px}main{padding:28px 25px}header{padding:0 25px}.workflow-label{display:none}.workflow-steps{gap:8px}.metrics{gap:10px}.metric{padding:16px}.cards{grid-template-columns:1fr 1fr}.page-top{align-items:flex-start}h1{font-size:27px}}@media(max-width:780px){.sidebar{width:64px;padding:20px 8px}.brand{padding:0;font-size:0}.brand-icon{width:40px;margin-left:4px}.brand-sub,.workspace,.nav-label,.sidebar-bottom,.nav-count,.nav-link{display:none}.sidebar nav{margin-top:30px}.sidebar nav button{font-size:0;padding:12px}.sidebar nav button>span:first-child{font-size:20px}.shell{margin-left:64px}header{padding:0 18px;height:64px}.header-right{font-size:0;gap:3px}.header-right .user-avatar{font-size:12px;margin-left:6px}.breadcrumb{font-size:10px}.breadcrumb span{margin:0 7px}main{padding:25px 18px}.page-top{flex-direction:column}.page-top h1{font-size:26px}.metrics{grid-template-columns:1fr 1fr}.workflow{overflow:auto;padding:14px}.workflow-steps{white-space:nowrap}.bottom-grid,.cards{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.table-tools{padding:14px}.table-tools select{max-width:110px}.table-tools input{min-width:100px}th,td{padding:13px 15px}.panel-head{padding:18px}.panel-head p{line-height:1.5}.panel-head>.pill{display:none}.modal-content,.modal-head{padding:20px}.detail-meta{flex-wrap:wrap}footer{padding:16px 18px}footer span:nth-child(2){display:none}#toast{left:50%;width:85%}.notice{align-items:flex-start}}
@media(max-width:780px){.notice{flex-direction:column;gap:12px}.notice span{line-height:1.65}.quality-list{gap:15px 9px}.workflow{min-height:58px}.workflow-steps{flex-shrink:0}}

/* Published article typography is independent of the dashboard data tables. */
.article-text{white-space:normal;max-width:960px;font-size:16px;line-height:1.75;overflow-wrap:break-word}
.article-text h2{font-size:24px;margin:32px 0 14px}.article-text h3{font-size:20px;margin:24px 0 12px}
.article-text p{font-size:inherit;line-height:inherit;margin:0 0 16px}.article-text strong{font-weight:700;color:#203e32}
.article-text ul,.article-text ol{padding-left:26px;margin:12px 0 20px}.article-text ul{list-style:disc}.article-text ol{list-style:decimal}.article-text li{display:list-item;margin:7px 0;padding-left:3px}.article-text li p{margin:5px 0}
.article-text blockquote{border-left:3px solid #c3cfb5;padding:4px 18px;margin:20px 0;color:#52634c}
.article-text a{text-decoration:underline;text-underline-offset:3px;color:#165dcc}.article-text pre{overflow:auto;white-space:pre;padding:16px;background:#f6f8f1}
.article-table-scroll{max-width:100%;overflow-x:auto;margin:20px 0 24px;border:1px solid var(--line);border-radius:8px}
.article-text table{border-collapse:collapse;width:100%;table-layout:auto;margin:0;font-size:14px;line-height:1.55}
.article-text th,.article-text td{white-space:normal;min-width:110px;padding:12px 14px;vertical-align:top;text-align:left;overflow-wrap:break-word;border-bottom:1px solid var(--line)}
.article-text th{font-size:13px;font-weight:650;text-transform:none;letter-spacing:normal;background:#f3f6ec;color:#304837}
.article-text tr:last-child td{border-bottom:0}.article-text tbody tr:hover{background:transparent}
@media(max-width:780px){.article-text{font-size:15px}.article-text h2{font-size:21px}.article-text h3{font-size:18px}.article-text th,.article-text td{padding:10px;min-width:100px}}
