@font-face{font-family:ClubSystem;src:local("Microsoft YaHei UI");font-display:swap}
.monitor-timeliness{display:grid;gap:4px;padding:14px 20px;border-bottom:1px solid var(--line);font-size:12px;line-height:1.7;overflow-wrap:anywhere}.monitor-timeliness strong{color:var(--ink);font-size:13px}.monitor-timeliness span,.monitor-timeliness small{color:var(--muted)}
:root{--ink:#172f36;--muted:#71818a;--line:#e4eaed;--teal:#007d79;--teal-soft:#e7f4ef;--bg:#f3f6f8;--nav:#12262d;--amber:#9b6716;--radius:12px}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:1rem/1.6 Inter,ClubSystem,"Microsoft YaHei",system-ui,sans-serif}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}a{color:var(--teal);text-decoration:none}a:hover{text-decoration:underline}button:disabled{cursor:wait;opacity:.55}:focus-visible{outline:3px solid #50b8a7;outline-offset:3px}[hidden]{display:none!important}svg{width:18px;height:18px;stroke-width:1.7;flex-shrink:0}.row{display:flex;align-items:center;gap:10px}.spread{justify-content:space-between}.muted,small{color:var(--muted)}small{font-size:12px}b,strong{font-weight:600}.mono{font-family:ui-monospace,Consolas,monospace}h1,h2,h3,p{margin:0}h1{font-size:28px;font-weight:650;letter-spacing:-.7px;line-height:1.4}h2{font-size:17px;font-weight:650}h3{font-size:14px;font-weight:650}p{line-height:1.8}.nowrap{white-space:nowrap}
#sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:var(--nav);color:#e7eff0;padding:30px 18px 20px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:12px;padding:0 12px 27px;color:white;font-size:23px;letter-spacing:-.7px;line-height:1.25}.brand:hover{text-decoration:none}.brand small{display:block;font-size:.75rem;letter-spacing:1px;color:#98aeb4;margin-top:6px}.brand-mark{width:37px;height:40px;border-radius:10px;background:#84d7c0;color:#143a35;display:grid;place-items:center}.brand-mark svg{height:26px;width:26px}.workspace{display:flex;align-items:center;gap:10px;background:#ffffff08;border:1px solid #ffffff10;border-radius:10px;padding:13px 10px}.workspace strong{display:block;font-size:12px;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace small{display:block;font-size:.75rem;color:#8fa3aa}.nav-caption{font-size:.75rem;letter-spacing:1px;color:#738e98;margin:28px 12px 12px}nav{display:grid;gap:5px}nav a{display:flex;align-items:center;gap:12px;padding:11px 14px;color:#aebfc5;border-radius:8px;font-size:13px;position:relative}nav a:hover{background:#ffffff08;text-decoration:none;color:white}nav a.active{background:#29453f;color:#c2f3df}nav a.active:after{content:"";position:absolute;right:13px;height:5px;width:5px;background:#94dfbf;border-radius:50%}nav a:nth-child(6){margin-top:19px}.sidebar-bottom{margin-top:auto;font-size:.75rem;padding:30px 12px 0;color:#c1cccf}.sidebar-bottom small{display:block;color:#738f99;font-size:.75rem;margin-top:6px}.dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#269c7c}.dot.amber{background:#ddb66c}.version{display:flex;justify-content:space-between;border-top:1px solid #ffffff13;margin-top:20px;padding-top:17px;font-size:.75rem;letter-spacing:1px;color:#7b959e}.shell{margin-left:236px;min-height:100vh;display:flex;flex-direction:column}.topbar{height:72px;display:flex;justify-content:space-between;align-items:center;padding:0 36px;border-bottom:1px solid var(--line);background:#fff}.breadcrumb{font-size:12px;color:var(--muted)}.breadcrumb span{padding:0 13px;color:#ccd5d8}.breadcrumb b{color:#405961;font-weight:500}main{padding:30px 36px 36px;max-width:1720px;width:100%;margin:0 auto;flex:1}#demo-banner{background:#fff4da;color:#83591b;font-size:12px;padding:9px 36px;border-bottom:1px solid #eddab5}.page-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:26px;gap:18px}.eyebrow{font:.75rem/1.5 ui-monospace,monospace;letter-spacing:1.8px;color:var(--teal);margin-bottom:7px}.page-head p{font-size:12px;color:var(--muted);margin-top:7px}.actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 15px;border:1px solid #dbe3e7;background:white;color:#3a535b;border-radius:7px;white-space:nowrap;font-size:12px;font-weight:550;line-height:1.5;min-height:36px}.button:hover{background:#f4f8f7;border-color:#b5c9c7;text-decoration:none}.button.primary{background:var(--teal);border-color:var(--teal);color:white}.button.primary:hover{background:#006c68}.button.dark{background:var(--nav);border-color:var(--nav);color:white}.button.subtle{border-color:transparent;background:transparent;font-weight:400;color:var(--muted)}.button.small{padding:6px 10px;min-height:30px;font-size:.75rem}.button.danger{color:#b24b46}.icon-button{border:0;background:transparent;padding:6px;color:var(--muted);display:inline-flex;align-items:center;justify-content:center;border-radius:6px;min-height:32px;min-width:32px}.icon-button:hover{background:#eaf1ef;color:var(--teal)}.mobile-menu{display:none}.badge{display:inline-flex;gap:5px;align-items:center;padding:3px 8px;border-radius:5px;font-size:.75rem;font-weight:550;background:#edf2f4;color:#657a84;white-space:nowrap;line-height:1.6}.badge.buyer,.badge.good{color:#147e65;background:#e7f4ed}.badge.seller{background:#e9eefc;color:#5b69ad}.badge.recruit{background:#f1eafb;color:#8464a5}.badge.uncertain,.badge.warn{background:#fff3dd;color:#a57624}.badge.social{background:#e5f3f5;color:#497f86}.badge.bad{background:#fae9e5;color:#ab5b46}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:22px}.metric{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:20px 22px}.metric-label{display:flex;align-items:center;justify-content:space-between;color:#697e87;font-size:12px}.metric-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:8px;background:#f0f5f4;color:#5b827e}.metric strong{display:block;font-family:Inter,system-ui,sans-serif;font-weight:550;font-size:34px;letter-spacing:-1.5px;line-height:1.4;margin-top:10px}.metric small{display:block;font-size:.75rem;margin-top:6px}.metric.featured{background:#e9f3ef;border-color:#d9e9e1}.metric.featured .metric-icon{background:#d8ece2;color:var(--teal)}.grid-2{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(285px,1fr);gap:20px}.stack{display:flex;flex-direction:column;gap:20px}.card{border:1px solid var(--line);background:#fff;border-radius:var(--radius);min-width:0;overflow:hidden}.card-head{padding:19px 22px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #edf1f3}.card-head small{display:block;margin-top:3px;font-size:.75rem}.card-body{padding:21px 22px}.card-foot{padding:13px 22px;border-top:1px solid var(--line);font-size:.75rem;color:var(--muted)}.pipeline{display:grid;grid-template-columns:repeat(4,1fr);padding:23px 22px;gap:18px}.pipeline-step{position:relative}.pipeline-step:not(:last-child):after{content:"→";position:absolute;right:0;top:7px;color:#c3d2d3}.step-num{font:.75rem ui-monospace,monospace;color:#93a6aa;margin-bottom:12px}.pipeline-step h3{font-size:12px}.pipeline-step strong{font:500 24px Inter,system-ui;margin:7px 0;display:block}.pipeline-step small{font-size:.75rem}.section-gap{margin-bottom:20px}.source-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 0;border-bottom:1px solid #eef2f3}.source-row:last-child{border-bottom:0;padding-bottom:0}.source-row:first-child{padding-top:0}.source-row small{display:block;font-size:.75rem;margin-top:4px}.source-icon{background:#f0f5f4;padding:10px;border-radius:9px;display:flex;color:#5d827b}.setup-step{display:flex;gap:12px;padding:13px 0}.setup-step+.setup-step{border-top:1px solid #f0f3f5}.setup-step .step-circle{font:.75rem ui-monospace,monospace;background:#edf4f1;color:#5d8b7c;width:27px;height:27px;display:grid;place-items:center;border-radius:50%;flex:none}.setup-step p{font-size:.75rem;color:var(--muted);margin-top:3px}.setup-step .button{margin-top:10px}.notice{display:flex;gap:10px;background:#edf4f4;border:1px solid #dbe7e7;color:#526f75;border-radius:8px;padding:12px 15px;font-size:.75rem;line-height:1.8;margin-bottom:20px}.notice svg{margin-top:2px}.notice.warn{background:#fff7e9;border-color:#f1e5cf;color:#92743d}.notice p{margin:0}.toolbar{padding:15px 20px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.tabs{display:flex;gap:4px;align-items:center}.tab{border:0;background:transparent;color:var(--muted);border-radius:6px;padding:7px 12px;font-size:12px}.tab.active{background:#e7f2ed;color:#147c63;font-weight:600}.search{display:flex;align-items:center;gap:8px;background:#f6f8f9;border:1px solid #e3e9ed;border-radius:6px;padding:6px 10px;color:#8c9aa2}.search input{background:none;border:0;outline:0;width:155px;color:var(--ink);font-size:.75rem;padding:0}.search:focus-within{outline:2px solid #54b29d}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{background:#fafbfc;color:#8a9aa2;font-size:.75rem;font-weight:500;padding:12px 19px;white-space:nowrap;border-bottom:1px solid var(--line)}td{padding:16px 19px;border-bottom:1px solid #edf1f3;vertical-align:middle}tr:last-child td{border-bottom:0}tbody tr[data-action]{cursor:pointer}tbody tr:hover{background:#f8fbfa}tbody tr.selected{background:#eef7f2}.cell-title{max-width:330px;font-weight:500;color:#40545d;display:block}.cell-sub{display:block;font-size:.75rem;color:var(--muted);margin-top:4px}.avatar{width:36px;height:36px;background:#e5efec;color:#3b7667;border-radius:10px;display:grid;place-items:center;font-size:13px;flex-shrink:0}.avatar.small{height:29px;width:29px;border-radius:8px;font-size:.75rem}.empty{text-align:center;min-height:225px;padding:38px 24px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--muted)}.empty>svg{height:30px;width:30px;color:#9aafaf;margin-bottom:15px}.empty h3{color:#466069;font-weight:500}.empty p{font-size:.75rem;max-width:330px;margin:8px 0 17px}.split{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}.detail .card-body{padding:21px}.detail h2{font-size:17px}.detail .subline{font-size:.75rem;color:var(--muted);overflow-wrap:anywhere;margin-top:4px}.quote{border-left:3px solid #99c5b5;background:#f5f8f6;padding:13px 15px;color:#405f5c;font-size:13px;line-height:1.9;margin:18px 0}.facts{display:grid;grid-template-columns:1fr 1fr;gap:14px 10px;margin:20px 0}.fact small{display:block;font-size:.75rem;margin-bottom:4px}.fact b{font-size:12px;font-weight:500}.divider{border:0;border-top:1px solid var(--line);margin:20px 0}.match{padding:12px;border:1px solid #dcece3;background:#f6fbf8;border-radius:8px;margin:10px 0}.match p{font-size:.75rem;color:var(--muted);margin-top:4px}.field{display:block;margin-bottom:15px;font-size:.75rem;color:#5b717a}.field>span{display:block;margin-bottom:6px}.field input,.field select,.field textarea,input.control,select.control{width:100%;border:1px solid #dce5e8;border-radius:6px;background:#fff;padding:9px 10px;color:#253f49;font-size:12px;min-height:36px}.field textarea{resize:vertical;min-height:80px}.field input:focus,.field textarea:focus,.field select:focus{outline:2px solid #82c5b7;outline-offset:0;border-color:#82c5b7}.field small{display:block;font-size:.75rem;margin-top:5px}.fields-2{display:grid;grid-template-columns:1fr 1fr;gap:14px}.check{display:flex;gap:8px;align-items:center;font-size:12px;margin:12px 0}.check input{accent-color:var(--teal)}.member-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.member-card{padding:22px}.member-card .price{font-size:24px;letter-spacing:-.5px}.member-card .price small{font-size:.75rem}.member-info{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:23px 0}.member-info small{display:block;font-size:.75rem;margin-bottom:4px}.member-info p{font-size:12px}.member-card .actions{border-top:1px solid var(--line);padding-top:15px;justify-content:space-between}.inbox{display:grid;grid-template-columns:240px minmax(300px,1fr) 285px;background:white;border:1px solid var(--line);border-radius:12px;min-height:580px;overflow:hidden}.inbox-list{border-right:1px solid var(--line)}.inbox-list h3{padding:20px;font-size:12px;border-bottom:1px solid var(--line)}.conversation{display:flex;gap:10px;padding:17px 16px;border:0;border-bottom:1px solid #edf1f3;width:100%;text-align:left;background:white;color:var(--ink)}.conversation:hover{background:#f6f9f8}.conversation.active{background:#edf6f1;box-shadow:inset 3px 0 var(--teal)}.conversation-content{min-width:0;flex:1}.conversation p{font-size:.75rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--muted);margin-top:3px;max-width:160px}.conversation b{font-size:12px}.chat{display:flex;flex-direction:column;min-width:0}.chat-header{border-bottom:1px solid var(--line);padding:17px 22px;display:flex;justify-content:space-between;align-items:center;gap:10px}.chat-header small{font-size:.75rem;display:block;margin-top:3px}.chat-history{flex:1;padding:25px 22px;background:#f9fbfc;max-height:470px;min-height:280px;overflow:auto}.chat-history .empty{min-height:240px}.bubble-wrap{display:flex;flex-direction:column;margin-bottom:18px;align-items:flex-start}.bubble-wrap.out{align-items:flex-end}.bubble{background:white;border:1px solid var(--line);padding:11px 15px;border-radius:0 12px 12px;max-width:85%;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.bubble-wrap.out .bubble{background:#e5f2eb;border-color:#d9e9df;border-radius:12px 0 12px 12px}.bubble-wrap small{font-size:.75rem;margin-top:5px}.composer{border-top:1px solid var(--line);padding:15px 20px}.composer textarea{border:0;resize:vertical;width:100%;min-height:105px;padding:12px 0;outline:0;font-size:12px;color:var(--ink);background:white}.composer .row{font-size:.75rem;color:var(--muted)}.inbox-detail{border-left:1px solid var(--line);padding:22px 18px}.inbox-detail h3{margin-bottom:13px}.job{margin-top:12px;border:1px solid var(--line);padding:12px;border-radius:7px}.job p{font-size:.75rem;white-space:pre-wrap;overflow-wrap:anywhere;margin:9px 0}.job small{font-size:.75rem;display:block;margin-bottom:8px}.bar-row{margin:16px 0}.bar-row .row{font-size:12px;margin-bottom:8px}.bar-track{height:7px;background:#eff3f3;border-radius:4px;overflow:hidden}.bar-fill{height:100%;background:#71af98;border-radius:4px}.events{padding:0;list-style:none;margin:0}.events li{position:relative;padding:0 0 20px 22px;border-left:1px solid #e5eeea;margin-left:3px;font-size:.75rem}.events li:before{content:"";position:absolute;width:7px;height:7px;left:-4px;top:5px;border-radius:50%;background:#aacaba}.events li:last-child{padding-bottom:0;border:0}.events small{display:block;font-size:.75rem;margin-top:4px}.app-footer{display:flex;justify-content:space-between;padding:10px 36px 22px;font-size:.75rem;letter-spacing:.3px;color:#95a4ad}.loading{padding:100px;text-align:center;color:var(--muted)}dialog{padding:0;border:1px solid #dce7e5;border-radius:14px;width:min(620px,calc(100vw - 32px));max-height:88vh;box-shadow:0 28px 100px #12262d38;color:var(--ink)}dialog::backdrop{background:#12262d66;backdrop-filter:blur(3px)}.modal-head{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.modal-head h2{font-size:18px}.modal-body{padding:23px 24px}.modal-actions{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:17px 24px;background:#fafcfc}.modal-body pre{font-size:.75rem;background:#f2f5f6;border-radius:7px;padding:12px;overflow:auto;white-space:pre-wrap;color:#536e77}.history-item{margin:0 0 20px;padding-bottom:20px;border-bottom:1px solid var(--line)}.history-item p{font-size:13px;margin:10px 0}.history-item small{display:block;font-size:.75rem}#toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,20px);background:#143f37;color:#fff;padding:13px 22px;border-radius:9px;box-shadow:0 7px 25px #173e3626;font-size:12px;opacity:0;pointer-events:none;z-index:100;max-width:85vw;transition:opacity .15s,transform .15s}#toast.show{opacity:1;transform:translate(-50%,0)}#toast.error{background:#8d463e}.inline-status{font-size:.75rem;color:var(--muted)}
@media(min-width:1550px){.split{grid-template-columns:minmax(0,1fr) 380px}.inbox{grid-template-columns:270px minmax(350px,1fr) 320px}.member-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:1200px){#sidebar{width:210px;padding-left:12px;padding-right:12px}.shell{margin-left:210px}main{padding:26px 24px}.topbar{padding:0 24px}.metrics{gap:12px}.metric{padding:17px}.split{grid-template-columns:minmax(0,1fr) 300px}.inbox{grid-template-columns:200px minmax(280px,1fr)}.inbox-detail{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:20px}.member-grid{grid-template-columns:repeat(2,1fr)}.grid-2{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr)}}
@media(max-width:1000px){.metrics{grid-template-columns:repeat(2,1fr)}.grid-2,.split{grid-template-columns:1fr}.page-head{align-items:flex-start;flex-direction:column}.detail{display:block}.detail .facts{grid-template-columns:repeat(4,1fr)}.inbox{grid-template-columns:180px minmax(0,1fr)}.pipeline{gap:10px}.card-head,.card-body{padding:18px}.conversation p{max-width:110px}}
@media(max-width:700px){#sidebar{transform:translateX(-100%);transition:transform .18s;width:236px;box-shadow:20px 0 60px #10262d22}body.menu-open #sidebar{transform:translateX(0)}.shell{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:62px;padding:0 14px}.breadcrumb{font-size:.75rem}.breadcrumb span{padding:0 6px}.topbar .row{gap:5px}main{padding:23px 16px}.page-head{margin-bottom:20px}h1{font-size:25px}.metrics{gap:10px}.metric{padding:15px}.metric strong{font-size:30px}.metric small{font-size:.75rem}.metric-label{font-size:.75rem}.metric-icon{width:26px;height:26px}.grid-2,.member-grid{grid-template-columns:1fr}.pipeline{grid-template-columns:repeat(2,1fr);gap:22px}.pipeline-step:nth-child(2):after{display:none}.inbox{display:flex;flex-direction:column}.inbox-list{display:flex;overflow:auto;border-right:0;max-height:100px;border-bottom:1px solid var(--line)}.inbox-list h3{display:none}.conversation{min-width:190px;width:190px;border-bottom:0}.conversation p{max-width:135px}.inbox-detail{display:block}.inbox-detail>div+div{margin-top:25px}.toolbar{padding:12px}.tabs{flex-wrap:wrap}.tab{padding:6px 9px}.detail .facts{grid-template-columns:1fr 1fr}.app-footer{padding:10px 16px 20px}.app-footer span{display:none}#demo-banner{padding:9px 16px;font-size:.75rem}.fields-2{grid-template-columns:1fr;gap:0}.modal-body{padding:20px}.topbar .button{font-size:.75rem;padding:6px 8px}.search input{width:145px}.page-head p{font-size:.75rem}}
.service-section{padding-top:2px}.service-section>.row{margin-bottom:13px}.service-section small{font-size:.75rem}.service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.service-card{position:relative;text-align:left;border:1px solid #dfe8e4;border-radius:10px;padding:19px 18px 15px;background:#fff;color:var(--ink)}.service-card:hover{background:#f5faf7;border-color:#9bc7b5}.service-card h3{font-size:14px;margin:0 0 8px}.service-card p{font-size:.75rem;color:var(--muted);min-height:35px;padding-right:10px}.service-card>.row{border-top:1px solid #edf2ef;padding-top:11px;margin-top:10px}.service-card svg{width:14px;color:var(--teal)}.service-index{position:absolute;right:15px;top:16px;font:.75rem ui-monospace,monospace;color:#96b6a8}.service-picker{border:1px solid var(--line);border-radius:8px;padding:8px 13px 10px;margin:0 0 16px;display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.service-picker legend{color:#5b717a;font-size:.75rem;padding:0 5px}.service-picker .check{font-size:.75rem;margin:6px 0}.toolbar>.row{flex-wrap:wrap}
@media(max-width:1100px){.service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:430px){.service-grid{gap:10px}.service-card{padding:16px 12px 12px}.service-card h3{font-size:13px}.service-card p{min-height:45px}.service-index{right:10px;font-size:.75rem}.service-card>.row small{font-size:.75rem}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
/* Readable operational text; compact metadata stays at least 12 px. */
.mobile-nav-close{display:none}
.monitor-controls .card-head{gap:12px;flex-wrap:wrap}.monitor-controls .actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.monitor-controls .card-body p{margin:0 0 10px;font-size:.875rem}.monitor-controls .card-body p:last-child{margin-bottom:0}.monitor-controls .card-foot,.monitor-summary,.monitor-window{font-size:.875rem;color:var(--muted);line-height:1.7}.monitor-window{margin:12px 0;padding:10px 12px;background:var(--bg);border-radius:6px}.monitor-target{overflow-wrap:anywhere}
.parent-evidence{margin:16px 0;padding:14px;border:1px solid var(--line);border-left:3px solid var(--teal);border-radius:6px;overflow-wrap:anywhere;background:#f5faf7}
.parent-evidence strong{font-size:.875rem}.parent-evidence small{display:block;font-size:.75rem;margin-top:6px}.parent-evidence blockquote{margin:12px 0;font-size:1rem;line-height:1.7;white-space:pre-wrap}.parent-evidence p{font-size:.875rem;color:var(--muted);margin-top:10px}
@media(max-width:700px){#sidebar{visibility:hidden;overflow-y:auto}body.menu-open #sidebar{visibility:visible}.mobile-nav-close{display:flex;position:absolute;right:8px;top:8px;color:#c2f3df}}
.page-head p,.quote,.bubble,.job p{font-size:1rem}
.notice,.button,.button.small,.field,.field input,.field select,.field textarea,.check,.service-picker .check,.service-picker legend,.tab,nav a,table,.fact b,.member-info p,.conversation b,.conversation p,.inbox-list h3,.search input,input.control,select.control{font-size:.875rem}
.field input,.field select,.field textarea,.button,.icon-button{min-height:40px}
.source-row>div,.page-head>div,.card-head>div{min-width:0}
.source-row small,.quote,.bubble,.job p{overflow-wrap:anywhere}
.form-error{margin-top:16px;margin-bottom:0}
.publication-dates>.button{align-self:center}.publication-dates>small{flex-basis:100%;font-size:.875rem;color:var(--muted)}
.lead-filters{display:flex;flex-wrap:wrap;gap:10px;width:100%;min-width:0;align-items:center}.lead-filters .control{width:auto;max-width:100%;font-size:.875rem;flex:1 1 145px}.lead-filters .search{flex:1 1 200px;min-width:0}.lead-filters .search input{width:100%;min-width:0}.filter-scope,.filter-error{width:100%;margin:0;font-size:.875rem}.filter-scope{color:var(--muted)}.filter-error{color:#9a3927}.publication-dates{display:flex;flex-wrap:wrap;gap:12px;width:100%}.publication-dates label{display:flex;flex:1 1 180px;flex-direction:column;gap:5px;font-size:.875rem}.publication-dates input{min-width:0;width:100%;min-height:40px;padding:8px;border:1px solid var(--line);border-radius:6px;font:inherit;background:white;color:var(--ink)}.publication-summary{padding:12px 16px;margin-bottom:16px;background:#edf4f4;border:1px solid #dbe7e7;border-radius:8px;font-size:.875rem;color:#526f75}.publication-summary small{display:block;margin-top:5px;font-size:.875rem}.comment-times{min-width:180px;font-size:.875rem}.comment-times small{display:block;font-size:.75rem;color:var(--muted);margin-top:6px}
.rule-evidence{margin:16px 0;border:1px solid var(--line);border-radius:8px;padding:12px 14px;overflow-wrap:anywhere}
.rule-evidence summary{cursor:pointer;color:var(--teal);font-size:.875rem;font-weight:600}
.collector-help{background:#edf4f4;border:1px solid #dbe7e7;border-radius:8px;padding:14px 16px;margin:14px 0;font-size:.875rem}.collector-help ol{margin:8px 0;padding-left:22px}.collector-help li+li{margin-top:8px}.collector-help p{color:var(--muted);font-size:.875rem}
.rule-note{font-size:.875rem;color:var(--muted);margin:10px 0}.rule-evidence>small{display:block;font-size:.75rem}
.review-fields{margin:14px 0;padding:14px;border:1px solid var(--line);border-radius:10px;min-width:0}.review-fields legend{font-size:.875rem;padding:0 6px}.review-fields:disabled{opacity:.65}.review-fields .field{min-width:0}.manual-evidence{padding:14px;margin:12px 0;border-left:3px solid var(--teal);background:var(--bg);border-radius:6px}.manual-evidence>strong{font-size:.875rem}.manual-evidence>small{display:block;font-size:.75rem;margin-top:8px}.manual-values{display:flex;flex-wrap:wrap;gap:6px 16px;font-size:.875rem;line-height:1.7;margin-top:8px;overflow-wrap:anywhere}.manual-values span{max-width:100%}
.rule-warnings{padding-left:20px;font-size:.875rem;color:#84570f;background:#fff7e9;border-radius:6px;padding-top:8px;padding-bottom:8px}
.rule-hits{list-style:none;padding:0;margin:12px 0 0}.rule-hits li{border-top:1px solid var(--line);padding:10px 0;font-size:.875rem}.rule-hits li>div{display:flex;gap:10px;flex-wrap:wrap;align-items:baseline}.rule-hits small{font-size:.75rem}.rule-hits q{display:block;font-size:1rem;white-space:pre-wrap;margin-top:4px}.negated-hit{display:block;color:#84570f;font-size:.875rem;font-weight:500;margin-top:4px}
@media(max-width:700px){.topbar{height:auto;min-height:62px;flex-wrap:wrap;gap:8px;padding-top:10px;padding-bottom:10px}.topbar>.row{flex-wrap:wrap}.topbar .button{font-size:.875rem}.card-head{flex-wrap:wrap}.chat-header{flex-wrap:wrap}.checkpoint-row{flex-direction:column}}
.collector-panel h2{display:flex;gap:8px;align-items:center}.collection-task{border-top:1px solid var(--line);padding:20px 0}.collection-task:last-child{padding-bottom:0}.collection-task strong{font-size:12px}.collection-target{white-space:pre-line;font-size:.75rem;color:var(--muted);max-width:640px;overflow-wrap:anywhere;margin:5px 0}.collection-detail{font-size:12px;line-height:1.8;margin:12px 0}.collection-counts{display:flex;flex-wrap:wrap;gap:10px 24px;margin:16px 0;color:var(--muted);font-size:.75rem}.collection-counts b{color:var(--ink);margin-left:6px;font:16px ui-monospace,monospace}.collection-task>.row:last-child{flex-wrap:wrap;gap:12px}.collection-task small{font-size:.75rem}.collection-empty{text-align:center;padding:22px}.collection-empty p{font-size:12px;color:var(--muted);margin:10px 0 20px}.evidence-hash{overflow-wrap:anywhere;font-family:ui-monospace,monospace}
.collection-checkpoints{margin:16px 0;border:1px solid var(--line);border-radius:8px;padding:12px 14px}.collection-checkpoints summary{cursor:pointer;font-size:14px;color:var(--teal)}.checkpoint-row{display:flex;justify-content:space-between;gap:14px;border-top:1px solid var(--line);padding:12px 0;margin-top:12px;font-size:14px}.checkpoint-row>div{min-width:0}.checkpoint-row a{overflow-wrap:anywhere}.checkpoint-row small{display:block;font-size:12px;margin-top:6px}.collector-panel h2{font-size:18px}.collection-detail{font-size:16px}.collection-task strong,.collector-panel .button,.collector-panel .badge{font-size:14px}.collection-target,.collection-counts,.collection-task small,.collector-panel .card-foot,.collector-panel .card-head small{font-size:12px}.collector-panel .notice p{font-size:14px}
/* No desktop topbar; keep the existing small-screen navigation toggle reachable. */
.dm-test-panel p{font-size:1rem;overflow-wrap:anywhere}.dm-test-detail{margin:12px 0;color:var(--muted)}.dm-test-panel summary,.dm-test-panel small,.dm-test-panel .button{font-size:.875rem}.dm-test-actions{margin:16px 0}.dm-test-panel small{display:block;line-height:1.7}.dm-test-panel button:disabled{opacity:.5;cursor:not-allowed}
.shell>.mobile-menu{align-self:flex-start;margin:12px 14px 0;min-width:44px;min-height:44px}
/* Primary operations stay visible; secondary history is on demand. */
.page-head{align-items:center}.page-head h1{font-size:1.5rem}.service-shortcuts{display:flex;flex-wrap:wrap;gap:10px}.service-shortcuts .button{font-size:.875rem}.service-shortcuts span{color:var(--muted);font-variant-numeric:tabular-nums}.folded{background:white;border:1px solid var(--line);border-radius:var(--radius);min-width:0}.folded>summary{padding:14px 18px;cursor:pointer;font-size:.875rem;color:var(--teal);font-weight:550}.folded-body{padding:0 18px 18px}.folded-body>.card{border:0}.folded-body>.card>.card-head,.folded-body>.card>.card-body,.folded-body>.card>.card-foot{padding-left:0;padding-right:0}.collector-readiness{font-size:.875rem;color:var(--muted);cursor:default}.collector-panel .card-head{flex-wrap:wrap}.task-metrics{margin:12px 0}.task-metrics>summary{font-size:.875rem;color:var(--teal);cursor:pointer}.collection-task>.collection-detail{font-size:.875rem}.collection-task .collection-checkpoints{margin-bottom:10px}.collector-panel .folded{margin:12px 0 0}.collection-task{padding:16px 0}.collection-task:first-of-type{border-top:0}.card-head h2{font-size:1rem}.page-head .button{font-size:.875rem}.nav-caption{margin-top:20px}.member-card .price{font-size:1.25rem}.member-card .member-info{margin:18px 0}.workspace{padding-top:10px;padding-bottom:10px}
.monitor-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}.monitor-results{min-width:0}.monitor-settings{position:sticky;top:20px;max-height:calc(100vh - 40px);overflow-y:auto}.monitor-settings .card-head{padding:18px}.monitor-fields{border:0;padding:18px;margin:0;min-width:0}.monitor-fields .fields-2{gap:12px}.monitor-fields .field{margin-bottom:14px}.monitor-fields .field textarea{min-height:74px;font-size:.875rem}.monitor-hint{font-size:.75rem;line-height:1.7;color:var(--muted);margin:-4px 0 18px}.monitor-more{border-top:1px solid var(--line);padding-top:12px;margin-top:14px}.monitor-more summary{font-size:.875rem;cursor:pointer;margin-bottom:14px}.monitor-more small{font-size:.75rem;line-height:1.7;color:var(--muted);display:block}.monitor-save{position:sticky;bottom:0;background:#fff;padding:14px 18px;border-top:1px solid var(--line);box-shadow:0 -4px 12px #142f3910}.monitor-save p{font-size:.75rem;line-height:1.7;margin:0 0 10px;color:var(--muted)}.monitor-save .form-error{color:#a13f35}.monitor-save .actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}.monitor-fields:disabled{opacity:.65}.monitor-results .collection-target{overflow-wrap:anywhere}.monitor-results .monitor-controls .card-foot{font-size:.75rem}
.card.monitor-settings{overflow-y:auto}.monitor-compact .card-head{padding:16px 20px}.monitor-status-line{display:flex;gap:12px;justify-content:space-between;padding:10px 20px;border-top:1px solid var(--line);font-size:12px;color:#526a74}.monitor-status-line small{white-space:nowrap}.comment-results .card-head{padding:18px 20px}.result-total{font-size:26px;color:var(--teal);font-variant-numeric:tabular-nums}.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 18px;border-bottom:1px solid var(--line);flex-wrap:wrap}.result-tabs{display:flex;gap:5px}.result-tabs .result-tab{font-size:12px;padding:7px 10px;border:0;background:transparent;color:#5b727a}.result-tabs .result-tab.selected{background:var(--teal-soft);color:#006762}.result-tab b{margin-left:5px}.result-search{display:flex;align-items:center;gap:7px;border:1px solid var(--line);border-radius:6px;padding:6px 9px;max-width:220px}.result-search svg{width:15px;color:#62777e}.result-search input{min-width:0;width:155px;font-size:12px;border:0;background:none;outline-offset:4px}.result-table-scroll{overflow:auto;max-height:600px}.result-table{width:100%;min-width:780px;table-layout:fixed}.result-table th{position:sticky;top:0;z-index:1;background:#f6f9fa;font-size:12px;color:#49626c}.result-table th:nth-child(1){width:17%}.result-table th:nth-child(2){width:37%}.result-table th:nth-child(3){width:18%}.result-table th:nth-child(4){width:13%}.result-table th:nth-child(5){width:15%}.result-table th,.result-table td{padding:13px 14px;vertical-align:top;overflow-wrap:anywhere}.result-table td{font-size:13px}.result-table tbody tr:nth-child(even){background:#fbfcfc}.result-table tbody tr:hover{background:#f2f8f6}.result-comment{white-space:pre-wrap;line-height:1.75;color:var(--ink);font-size:14px}.result-comment mark{background:#fff0b8;color:#5f4800;border-radius:2px;padding:0 1px}.result-source{display:flex;gap:5px 10px;flex-wrap:wrap;font-size:11px;margin-top:6px;color:#657b83}.result-table .cell-sub{font-size:11px;white-space:normal;word-break:break-all}.result-time{font-variant-numeric:tabular-nums;font-size:12px!important}.result-time small{display:block;margin-top:6px;font-size:11px}.result-table .badge{font-size:11px;white-space:normal;margin-bottom:3px}.result-empty{text-align:center;height:200px;vertical-align:middle!important;color:#657b83}.result-legacy{margin:0;padding:10px 18px;background:#fffaf0;border-bottom:1px solid #eee5d4;color:#7b6032;font-size:12px}.result-footer{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 18px;border-top:1px solid var(--line);font-size:12px}.result-footer .actions{display:flex;align-items:center;gap:9px;white-space:nowrap}.result-footer small{font-size:11px}.monitor-results>.folded>.folded-body{padding:14px}.monitor-results .monitor-compact{margin-bottom:16px}
@media(max-width:1120px){.monitor-layout{grid-template-columns:minmax(0,1fr) 310px;gap:14px}.monitor-settings .card-head,.monitor-fields{padding:15px}.result-footer{align-items:flex-start;flex-direction:column}}
@media(min-width:961px){.card.monitor-settings{max-height:calc(100vh - 120px)}}
@media(max-width:960px){.monitor-layout{display:flex;flex-direction:column}.card.monitor-settings{position:static;max-height:none;width:100%}.monitor-results{width:100%}.monitor-settings .fields-2{grid-template-columns:1fr 1fr}.monitor-save{position:static}.result-table-scroll{max-height:480px}.monitor-status-line{flex-wrap:wrap}}
/* Live results use the same bounded, readable table layout as comments. */
#live-search,#live-filter{min-height:40px;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink);font:inherit;font-size:.875rem;max-width:100%}
#live-search{width:260px;flex:1 1 190px;max-width:400px}#live-filter{width:auto}
#live-search:focus,#live-filter:focus{outline:2px solid #82c5b7;outline-offset:1px}
#live-results .table-scroll{max-height:600px}#live-results table{min-width:820px;table-layout:fixed}
#live-results th{position:sticky;top:0;z-index:1;background:#f6f9fa;color:#49626c}
#live-results th:nth-child(1){width:15%}#live-results th:nth-child(2){width:24%}#live-results th:nth-child(3){width:29%}#live-results th:nth-child(4){width:32%}
#live-results td{vertical-align:top;overflow-wrap:anywhere}#live-results .live-result-text{white-space:pre-wrap;line-height:1.75}
#live-results .rule-evidence{margin:10px 0 0;padding:9px}#live-status p{overflow-wrap:anywhere}
@media(max-width:700px){#live-results .table-scroll{max-height:480px}#live-results .card-foot{flex-wrap:wrap;gap:10px}}

/* Current analysis stays beside its source text, including in narrow table views. */
.result-analysis{font-size:12px;line-height:1.6;margin:6px 0;color:#466771}
.channel-summary-note{font-weight:400;color:var(--muted);margin-left:10px}
#uid-channel-settings .card-body h2{font-size:1rem;margin-bottom:12px}
#lead-detail:focus{outline:2px solid var(--teal);outline-offset:3px}
@media(max-width:700px){.channel-summary-note{display:block;margin:5px 0 0 16px}.chat-history:has(.empty){min-height:190px}}
.field textarea.collection-target-input{min-height:40px;line-height:1.5}
.work-platform-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 12px;margin-top:10px;font-size:11px;color:var(--muted)}.work-platform-metrics>span{display:flex;align-items:center;gap:5px}.work-platform-metrics svg{width:13px;height:13px}.work-platform-metrics b{margin-left:auto;font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}.work-metrics-time{display:block;font-size:10px;color:var(--muted);margin-top:7px}
#monitor-overview .monitor-controls .card-head{padding:14px 20px}#monitor-overview .monitor-status-line{padding:9px 20px}#monitor-overview .monitor-metric{padding:12px 17px}#monitor-overview .monitor-metric>strong{font-size:26px;margin:6px 0 4px}#monitor-overview .monitor-attention{padding:9px 14px}
.monitor-workspace{display:grid;grid-template-columns:350px minmax(0,1fr);gap:20px;align-items:start}.monitor-comment-column{min-width:0}.monitor-workspace .card{margin-bottom:0}.work-pool{min-width:0;overflow:hidden}.work-pool .card-head{padding:18px}.work-list-tabs{display:flex;gap:4px;padding:0 12px 12px}.work-list-tabs .button{flex:1;padding:7px 4px;font-size:11px;white-space:nowrap}.work-all{width:calc(100% - 24px);margin:0 12px 10px;justify-content:flex-start;gap:8px}.work-all svg:last-child{margin-left:auto}.work-all.selected,.freshness-presets .selected{background:#e6f5f3;color:#00756a;border-color:#7ebfb8}.work-list{max-height:620px;overflow:auto;overscroll-behavior:contain}.work-item{border-top:1px solid var(--line);border-left:3px solid transparent}.work-item.work-selected{background:#edf8f6;border-left-color:var(--teal)}.work-select{border:0;background:none;width:100%;text-align:left;padding:15px 15px 8px;cursor:pointer;color:var(--ink);font:inherit}.work-select:focus-visible{outline:2px solid var(--teal);outline-offset:-3px}.work-select:hover{background:#f0f8f7}.work-item-status{display:flex;align-items:center;justify-content:space-between}.work-item-status>small{color:var(--muted);font-size:10px}.work-item-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:13px;line-height:1.7;margin:8px 0 4px}.work-item-counts{display:block;font-size:11px;color:#546e75;margin:8px 0}.work-item-counts b{color:var(--ink)}.work-item-time{display:block;line-height:1.8;font-size:10px;color:var(--muted)}.work-item-actions{display:flex;align-items:center;justify-content:space-between;padding:0 15px 12px}.work-item-actions>a{display:flex;align-items:center;gap:4px;font-size:11px;color:var(--teal)}.work-item-actions svg{width:12px;height:12px}.work-item-actions .button{font-size:10px;padding:4px 8px}.work-pool>.result-footer{padding:12px;flex-wrap:wrap;gap:8px}.work-pool>.result-footer>small{font-size:10px}.work-pool>.result-footer .button{font-size:10px;padding:5px 8px}.monitor-workspace .result-table-scroll{max-height:690px;min-height:360px}.work-selection>span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.monitor-settings-page{display:grid;grid-template-columns:minmax(0,800px) minmax(260px,1fr);gap:22px;align-items:start}.monitor-settings-page .monitor-settings{position:static;max-height:none}.freshness-controls{padding:0 0 16px;margin-bottom:14px;border-bottom:1px solid var(--line)}.freshness-controls h3{font-size:15px;margin:0 0 8px}.freshness-controls .muted{margin:0 0 14px;font-size:12px}.freshness-presets{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap}.monitor-workspace .result-table{min-width:720px}.monitor-workspace .result-table th:first-child{width:16%}.monitor-workspace .result-table th:nth-child(2){width:39%}.monitor-workspace .result-table th:nth-child(3){width:21%}
@media(max-width:1200px){.monitor-workspace{grid-template-columns:300px minmax(0,1fr);gap:14px}.monitor-settings-page{grid-template-columns:1fr}.work-item-counts{font-size:10px}}
@media(max-width:900px){.monitor-workspace{grid-template-columns:1fr}.work-list{max-height:340px}.monitor-workspace .result-table-scroll{max-height:600px}.monitor-settings-page .monitor-fields{padding:18px}}
.collection-target-limit[hidden]{display:none}
dialog.collection-modal{overflow:hidden}
dialog.collection-modal form{display:flex;flex-direction:column;max-height:calc(88vh - 2px)}
dialog.collection-modal .modal-head,dialog.collection-modal .modal-actions{flex-shrink:0}
dialog.collection-modal .modal-body{min-height:0;overflow-y:auto;overscroll-behavior:contain}
dialog.collection-modal .modal-actions{flex-wrap:wrap}
.monitor-metrics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin:16px 0}.monitor-metric{background:#fff;border:1px solid var(--line);border-radius:10px;padding:17px 20px;min-width:0}.monitor-metric>div{display:flex;align-items:center;gap:8px;color:#536b73;font-size:12px}.monitor-metric svg{width:16px;height:16px;color:var(--teal)}.monitor-metric>strong{display:block;font-size:29px;line-height:1.25;margin:10px 0 6px;font-variant-numeric:tabular-nums;color:var(--ink)}.monitor-metric>small{display:block;font-size:11px;color:#637981;line-height:1.6}.monitor-attention{display:flex;align-items:center;gap:12px;background:#fff9ed;border:1px solid #efdfbf;border-radius:9px;padding:12px 16px;margin:0 0 20px;color:#765524}.monitor-attention>svg{width:19px;flex-shrink:0}.monitor-attention>div{flex:1}.monitor-attention strong{font-size:12px;display:block}.monitor-attention span{font-size:12px;line-height:1.6}.monitor-attention .button{background:#fffdf8;white-space:nowrap}.monitor-layout{grid-template-columns:minmax(0,1fr) 310px}.monitor-layout .monitor-settings{top:16px}.work-pool h2{display:flex;align-items:center;gap:8px}.work-pool h2>svg{width:19px;height:19px;color:var(--teal)}.pool-count{font-size:12px;background:var(--teal-soft);color:var(--teal);padding:2px 7px;border-radius:5px}.pool-scope{font-size:11px;color:var(--muted)}.work-table{width:100%;min-width:840px;table-layout:fixed}.work-table th{font-size:11px;font-weight:500;background:#f6f9fa;color:#536c75;white-space:nowrap}.work-table th,.work-table td{padding:14px 15px;vertical-align:middle}.work-table th:nth-child(1){width:31%}.work-table th:nth-child(2){width:18%}.work-table th:nth-child(3){width:18%}.work-table th:nth-child(4){width:11%}.work-table th:nth-child(5){width:10%}.work-table th:nth-child(6){width:12%}.work-title{font-weight:600;font-size:13px;line-height:1.7;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}.work-title svg{display:inline;width:12px;height:12px;color:var(--teal)}.work-table .cell-sub{font-size:10px;overflow-wrap:anywhere;margin-top:5px}.work-note,.work-check small,.work-number small{display:block;font-size:10px;font-weight:400;color:#657b83;line-height:1.6;margin-top:6px}.work-check>strong{font-size:11px;font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}.work-number{font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}.work-actions{display:flex;flex-direction:column;align-items:flex-start;gap:7px}.work-actions .button{font-size:11px;padding:5px 8px;white-space:nowrap}.work-table tr.work-selected{background:#eef8f4;box-shadow:inset 3px 0 var(--teal)}.work-table .badge{font-size:10px;white-space:normal}.work-empty{height:130px;text-align:center;font-size:13px;color:#647981;line-height:1.8}.work-selection{display:flex;align-items:center;gap:9px;padding:10px 18px;background:#eef8f4;color:#17634e;font-size:12px}.work-selection>svg{width:15px}.work-selection .button{margin-left:auto}.monitor-results .result-table-scroll{max-height:470px}#monitor-result-panel{scroll-margin-top:15px}.monitor-results>.work-pool{margin-bottom:20px}
@media(max-width:1450px){.monitor-metrics{gap:10px}.monitor-metric{padding:14px}.monitor-layout{grid-template-columns:minmax(0,1fr) 285px;gap:15px}.work-table{min-width:800px}.work-table th,.work-table td{padding:12px}.work-pool .result-toolbar{gap:8px}.pool-scope{display:none}}
@media(max-width:1050px){.monitor-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.monitor-layout{display:flex;flex-direction:column}.monitor-results,.monitor-layout .monitor-settings{width:100%}.monitor-layout .monitor-settings{position:static;max-height:none}.monitor-attention{align-items:flex-start}.monitor-attention .button{align-self:center}}
@media(max-width:600px){.monitor-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.monitor-metric:last-child{grid-column:1/-1}.monitor-metric>strong{font-size:25px}.monitor-attention{flex-wrap:wrap}.monitor-attention>div{min-width:180px}.work-pool .card-head{align-items:flex-start;gap:12px}.work-pool .result-tabs{flex-wrap:wrap}.work-selection{flex-wrap:wrap}}
:where(dialog) .history-item{min-width:0;overflow-wrap:anywhere}
:where(dialog) .history-item pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}

/* Mobile uses the same records and controls, arranged for a single reading column. */
.mobile-nav-backdrop{display:none}
#live-scope{min-height:40px;padding:9px 10px;border:1px solid var(--line);border-radius:6px;background:white;color:var(--ink);font:inherit;font-size:.875rem;max-width:100%}
@media(max-width:700px){
  html{scroll-padding-top:72px}
  body.menu-open{overflow:hidden}
  .mobile-nav-backdrop{position:fixed;inset:0;z-index:29;border:0;background:#12262d66;width:100%;height:100%;cursor:pointer}
  body.menu-open .mobile-nav-backdrop{display:block}
  #sidebar{width:min(292px,calc(100vw - 48px));padding-top:max(30px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom));overscroll-behavior:contain}
  #sidebar nav a{min-height:44px}
  .mobile-nav-close{min-width:44px;min-height:44px}
  .shell>.mobile-menu{position:sticky;top:8px;z-index:20;gap:8px;padding:9px 12px;background:#fff;border:1px solid var(--line);box-shadow:0 2px 8px #172f360a;color:var(--ink);font-size:14px;margin:12px 16px 0}
  main{padding-top:20px;padding-bottom:max(28px,env(safe-area-inset-bottom))}
  .page-head{align-items:flex-start;gap:12px;text-align:left}
  .page-head>.actions{width:100%;gap:8px}
  .button,.button.small,.tab,.result-tabs .result-tab,.work-list-tabs .button,.work-item-actions .button,.work-pool>.result-footer .button{min-height:44px}
  .button{white-space:normal;max-width:100%}
  .icon-button{min-width:44px;min-height:44px}
  input,select,textarea,.field input,.field select,.field textarea,.monitor-fields .field textarea,.search input,.result-search input,input.control,select.control,.composer textarea,#live-search,#live-filter{font-size:16px;min-width:0;max-width:100%}
  .field input,.field select,input.control,select.control,.result-search,#live-search,#live-filter{min-height:44px}
  .field,.fields-2,.monitor-settings .fields-2{min-width:0;grid-template-columns:minmax(0,1fr)}
  .field input,.field textarea,.field select{width:100%}
  .search{min-height:44px}
  .lead-filters #lead-sort{flex-basis:100%;width:100%}
  .lead-filters .control{font-size:16px}
  .monitor-settings-page .monitor-fields{padding:16px}
  .card-head,.card-body,.monitor-settings .card-head{padding:16px}
  .card-head>.row,.source-row,.source-row>.row,.composer>.row,.service-section>.row{flex-wrap:wrap}
  .source-row>div{flex:1 1 180px}
  .source-row .badge{white-space:normal}
  .notice>div,.notice>p,.chat-header>.row,.row>div,.history-item{min-width:0;overflow-wrap:anywhere}
  .result-toolbar{padding:12px;align-items:stretch}
  .result-tabs{flex-wrap:wrap;gap:4px}
  .result-search{width:100%;max-width:none;flex:1 1 100%}
  .result-search input{width:100%}
  .result-footer{padding:12px;gap:10px}
  .result-footer .actions{width:100%;justify-content:space-between;white-space:normal}
  .work-list{max-height:400px}
  .work-item-counts,.work-item-time,.work-item-status>small,.work-metrics-time,.work-platform-metrics,.work-pool>.result-footer>small{font-size:12px}
  .work-item-actions .button,.work-pool>.result-footer .button{font-size:12px}
  .work-select{padding:14px 12px 8px}
  .work-item-actions{padding-left:12px;padding-right:12px;gap:8px}
  .monitor-status-line small{white-space:normal}
  .monitor-metric>small{font-size:12px}
  .monitor-metrics{gap:10px}
  #monitor-overview .monitor-metric{padding:12px}
  .monitor-workspace .result-table-scroll{max-height:620px;min-height:0}
  .lead-table,.result-table,#live-results table{display:block;min-width:0!important;width:100%;table-layout:auto}
  .lead-table thead,.result-table thead,#live-results thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .lead-table tbody,.result-table tbody,#live-results tbody{display:block;width:100%}
  .lead-table tbody tr,.result-table tbody tr,#live-results tbody tr{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;padding:16px;border-bottom:1px solid var(--line)}
  .lead-table tbody tr:last-child,.result-table tbody tr:last-child,#live-results tbody tr:last-child{border-bottom:0}
  .lead-table td,.result-table td,#live-results td{display:block;width:100%;min-width:0;padding:0;border:0;white-space:normal;overflow-wrap:anywhere}
  .lead-table .cell-title{max-width:none;font-size:15px!important;line-height:1.8}
  .lead-table .comment-times{font-size:12px}
  .lead-table td:nth-child(2)::before{content:'游戏 · ';color:var(--muted);font-size:12px}
  .lead-table td:has(.badge){display:flex;align-items:center;gap:10px;flex-wrap:wrap}
  .lead-table td .cell-sub{margin-top:3px}
  .result-table td:nth-child(1){display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;align-items:baseline}
  .result-table .result-comment{font-size:15px}
  .result-table td:nth-child(3){padding-top:8px;border-top:1px solid #edf1f3}
  .result-table td:nth-child(3)::before{content:'采集 ';color:var(--muted)}
  .result-table td:nth-child(4)::before{content:'命中词 · ';color:var(--muted);font-size:12px}
  .result-table td:nth-child(5)::before{content:'筛选 · ';color:var(--muted);font-size:12px}
  .result-table .result-source,.result-table .cell-sub,.result-time small,.result-table .badge{font-size:12px}
  #live-results td:nth-child(1){color:var(--muted);font-size:12px}
  #live-results td:nth-child(3){font-size:15px;padding:10px 12px;background:var(--bg);border-radius:6px}
  #live-results .card-foot{padding:12px}
  #live-results .card-foot>.actions{width:100%;justify-content:space-between}
  #live-scope{font-size:16px;min-height:44px;width:100%;min-width:0}
  #live-discovery .history-item{padding:14px 0;margin:0}
  #live-discovery .history-item small{margin:6px 0 10px;display:block;overflow-wrap:anywhere}
  .inbox-list{max-height:112px;scroll-snap-type:x proximity}
  .conversation{flex:0 0 220px;scroll-snap-align:start;min-height:90px}
  .conversation p{max-width:none}
  .chat-header,.chat-history,.composer{padding:16px}
  .chat-history{min-height:210px;max-height:400px}
  .chat-history .empty{min-height:180px;padding:24px 12px}
  .composer>.row{gap:10px}
  .composer textarea{min-height:120px}
  dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border-radius:12px}
  dialog.collection-modal form{max-height:calc(100dvh - 26px)}
  .modal-head,.modal-body,.modal-actions{padding:16px}
  .modal-head{gap:12px}
  .modal-head h2{font-size:17px}
  .modal-actions{flex-wrap:wrap;position:sticky;bottom:0}
  .modal-actions>.button{flex:1 1 auto}
  .service-picker{grid-template-columns:minmax(0,1fr)}
  .check{min-height:36px;align-items:flex-start}
  .check input{flex-shrink:0;min-width:18px;min-height:18px;margin-top:3px}
  #toast{bottom:max(16px,env(safe-area-inset-bottom));max-width:calc(100vw - 32px);width:max-content;overflow-wrap:anywhere}
}
@media(max-width:380px){
  main{padding-left:12px;padding-right:12px}
  .shell>.mobile-menu{margin-left:12px}
  .page-head>.actions>.button{flex:1 1 120px}
  .monitor-metric>div{font-size:11px;gap:5px}
  .lead-filters .control{flex-basis:100%}
  .result-tabs{width:100%}
  .result-tabs .result-tab{flex:1;padding:7px;font-size:12px}
}
