:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--theme-accent, #17231b);background:var(--theme-surface-soft, #f3f6f3)}.auth-panel{max-width:440px;margin:12vh auto;padding:32px;background:var(--theme-surface, white);border-radius:16px;box-shadow:0 12px 36px #17231b18}.auth-panel form{display:grid;gap:12px}.auth-panel input{padding:12px;border:1px solid var(--theme-border, #aab9ae);border-radius:8px}.auth-panel button,.sign-out{padding:10px 16px;border:0;border-radius:8px;background:#122018;color:#fff}.auth-panel .auth-secondary{margin-top:12px;background:transparent;color:var(--theme-accent, #245b37);padding:8px 0;text-decoration:underline}.sign-out{position:fixed;right:160px;top:16px;z-index:10}*{box-sizing:border-box}body{margin:0;min-width:1100px;background:radial-gradient(circle at 90% 0,var(--theme-accent-surface, rgba(176, 205, 184, .28)),transparent 32rem),var(--theme-surface-soft, #f3f6f3)}button,input,select,textarea{font:inherit}button{cursor:pointer}.shell{display:flex;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:240px;background:#122018;color:#fff;padding:22px 15px;display:flex;flex-direction:column}.brand{padding:8px 6px 30px}.brandLogo{display:block;width:100%;max-width:210px;height:auto}.sidebar nav{display:flex;flex-direction:column;gap:5px}.sidebar nav button{border:0;background:transparent;color:var(--theme-muted, #aab9ae);padding:11px 12px;border-radius:9px;display:flex;align-items:center;gap:10px;text-align:left}.sidebar nav button:hover{background:#1c2c22;color:#fff}.sidebar nav button.active{background:var(--theme-surface-soft, #edf4ef);color:var(--theme-accent, #132018)}.sidebar footer{margin-top:auto;border-top:1px solid var(--theme-border, #28382e);padding:13px 10px;color:var(--theme-muted, #a8b7ac);font-size:11px}.sidebar footer span{display:block;color:var(--theme-muted, #66766b);margin-top:3px}main{margin-left:240px;width:calc(100% - 240px)}header{height:66px;position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;padding:0 32px;background:var(--theme-surface-soft, rgba(243, 246, 243, .9));-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid var(--theme-border, #dce3dd)}header button,.primary,.review button{border:1px solid var(--theme-border, #ccd5ce);background:var(--theme-surface, white);border-radius:9px;padding:9px 13px;font-weight:650}.connected{font-size:12px;color:var(--theme-muted, #627066)}.content{padding:34px 36px 60px;max-width:1600px;margin:auto}.title{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:24px}.title span,.overline{font-size:10px;font-weight:800;letter-spacing:.13em;color:var(--theme-muted, #718078)}.title h1{margin:5px 0 6px;font-size:34px;letter-spacing:-.04em}.title p{margin:0;color:var(--theme-muted, #728078)}.primary{background:#16231b;color:#fff;border-color:var(--theme-border, #16231b)}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:22px}.stat,.panel,.sourceCard{background:var(--theme-surface, rgba(255, 255, 255, .92));border:1px solid var(--theme-border, #dce3dd);border-radius:14px;box-shadow:0 10px 32px #1220180a}.stat{padding:17px 19px}.stat span,.stat small{display:block;color:var(--theme-muted, #7a877e);font-size:11px}.stat strong{display:block;font-size:28px;margin:6px 0 2px}.panel{padding:18px 20px}.panel h2{font-size:17px;margin:0 0 10px}.compact{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--theme-border, #ecf0ed);padding:13px 0;cursor:pointer}.compact b,.compact small{display:block}.compact b{font-size:12px}.compact small{color:var(--theme-muted, #89948c);margin-top:4px}.badge{display:inline-flex;padding:3px 8px;border-radius:99px;border:1px solid var(--theme-border, #dce3de);background:var(--theme-surface, #f5f7f5);color:var(--theme-muted, #5d6961);font-size:10px;white-space:nowrap}.badge.good{background:var(--theme-surface-soft, #e9f5ec);border-color:var(--theme-border, #c8e1cf);color:var(--theme-accent, #286039)}.badge.warn{background:var(--theme-surface-soft, #fff6e4);border-color:var(--theme-border, #eedbb4);color:var(--theme-warning, #8a641c)}.badge.bad{background:var(--theme-surface, #fff0ee);border-color:var(--theme-border, #ebc8c2);color:var(--theme-danger, #9d3a30)}.filters{display:grid;grid-template-columns:minmax(340px,1.5fr) repeat(3,minmax(150px,.5fr));gap:9px;margin-bottom:12px}.filters input,.filters select{height:42px;border:1px solid var(--theme-border, #d7dfd9);background:var(--theme-surface, white);border-radius:9px;padding:0 11px;outline:none}.table{overflow:hidden;background:var(--theme-surface, white);border:1px solid var(--theme-border, #dce3dd);border-radius:13px}.table table{width:100%;border-collapse:collapse;font-size:11px}.table th{background:var(--theme-surface, #f6f8f6);color:var(--theme-muted, #6f7b73);text-align:left;padding:10px 11px;border-bottom:1px solid var(--theme-border, #dfe5e0);text-transform:uppercase;letter-spacing:.05em}.table td{padding:11px;border-bottom:1px solid var(--theme-border, #edf0ed);vertical-align:middle}.table tbody tr{cursor:pointer}.table tbody tr:hover{background:var(--theme-surface, #f8faf8)}.articleTitle{max-width:430px}.articleTitle b,.articleTitle small{display:block}.articleTitle small{color:var(--theme-muted, #89938b);line-height:1.35;margin-top:4px}.message{max-width:550px;line-height:1.4}.sourceGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.sourceStats{grid-template-columns:repeat(4,minmax(0,1fr))}.sourceStats article span{color:var(--theme-muted, #6f7b73);display:block;font-size:11px;margin-top:5px}.sourcePolicy{align-items:center;display:flex;gap:28px;justify-content:space-between;margin-bottom:20px}.sourceYield{margin-bottom:20px}.sourceYield p{line-height:1.5}.sourceYield .table{overflow-x:auto}.sourceYield small{display:block;margin-top:12px;color:var(--theme-muted, #6f7b73)}.sourcePolicy h2{margin-bottom:6px}.sourcePolicy p{line-height:1.55;margin:0;max-width:760px}.sourceTierSummary{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;min-width:210px}.sourceTierSummary span{background:var(--theme-surface-soft, #edf4ef);border-radius:999px;color:var(--theme-accent, #315b40);font-size:11px;font-weight:700;padding:7px 10px}.sourceCard{padding:17px}.sourceTop{display:flex;justify-content:space-between;gap:20px}.sourceCard h3{margin:0 0 8px;font-size:14px}.sourceCard p{font-size:11px;line-height:1.45;color:var(--theme-muted, #4f5d53)}.sourceCard p small{display:block;color:var(--theme-muted, #8a958d);font-size:9px;letter-spacing:.08em;margin-bottom:3px}.sourceCard em{font-size:10px;color:var(--theme-muted, #8a958d);font-style:normal}.switch{width:42px;height:24px;position:relative}.switch input{opacity:0}.switch i{position:absolute;inset:0;border-radius:99px;background:var(--theme-surface-soft, #ccd4ce)}.switch i:before{content:"";position:absolute;width:18px;height:18px;left:3px;top:3px;background:var(--theme-surface, white);border-radius:50%;transition:.15s}.switch input:checked+i{background:var(--theme-accent-surface, #3c7b50)}.switch input:checked+i:before{transform:translate(18px)}.backdrop{position:fixed;inset:0;background:#0e161057;z-index:20;display:flex;justify-content:flex-end}.drawer{width:min(700px,62vw);height:100vh;overflow:auto;background:var(--theme-surface, #fbfcfb);padding:28px;box-shadow:-20px 0 60px #121c1524}.drawer .close{float:right;border:0;background:transparent;padding:6px}.drawer h2{font-size:25px;line-height:1.18;margin:7px 40px 15px 0}.badges{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:15px}.drawer>a{color:var(--theme-accent, #29633c);font-size:12px;font-weight:700;text-decoration:none;display:inline-flex;gap:5px;align-items:center}.drawer section{border-top:1px solid var(--theme-border, #e2e7e3);margin-top:22px;padding-top:18px}.drawer h3{font-size:12px;margin:0}.drawer p{font-size:12px;line-height:1.65;color:var(--theme-muted, #536158)}.aiAssessment{background:var(--theme-surface, #f7faf7);border:1px solid var(--theme-border, #dce5de);border-radius:12px;padding:16px}.drawer .aiAssessment{margin-top:22px}.sectionHeading{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}.sectionLabel{display:block;font-size:9px;font-weight:800;letter-spacing:.12em;color:var(--theme-muted, #718078);margin-bottom:4px}.sectionHeading h3{font-size:14px;margin:0}.assessmentGrid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.assessmentItem{background:var(--theme-surface, white);border:1px solid var(--theme-border, #e0e7e2);border-radius:9px;padding:10px 11px}.assessmentItem span{display:block;color:var(--theme-muted, #7a877e);font-size:10px;margin-bottom:4px}.assessmentItem strong{display:block;font-size:13px;line-height:1.35}.topicsBlock{margin-top:12px}.topicsBlock>span{display:block;color:var(--theme-muted, #7a877e);font-size:10px;margin-bottom:7px}.topicList{display:flex;flex-wrap:wrap;gap:5px}.emptyValue{color:var(--theme-muted, #8a958d);font-size:12px}.humanAssessment{background:var(--theme-surface, #fff)}.reviewFields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.reviewFields label{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:650;color:var(--theme-muted, #536158)}.reviewFields select,.reviewFields textarea{width:100%;border:1px solid var(--theme-border, #d7dfd9);background:var(--theme-surface, white);border-radius:9px;padding:9px 10px;outline:none}.reviewFields select{height:42px}.reviewFields textarea{min-height:90px;resize:vertical;line-height:1.45}.reviewFields .notesField{grid-column:1 / -1}.review{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.review .yes{background:var(--theme-surface-soft, #e9f5ec);border-color:var(--theme-border, #c8e1cf);color:var(--theme-accent, #286039)}.review .no{background:var(--theme-surface, #fff0ee);border-color:var(--theme-border, #ebc8c2);color:var(--theme-danger, #9d3a30)}.review .saved{background:var(--theme-surface-soft, #eceffd);border-color:var(--theme-border, #c7cbe9);color:var(--theme-muted, #464c8a)}.undoReview{margin-top:16px;padding:12px 14px;border:1px solid var(--theme-border, #d5ddd7);border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--theme-surface, white)}.undoReview span{font-size:12px;color:var(--theme-muted, #536158)}.undoReview button{white-space:nowrap;border:1px solid var(--theme-border, #ccd5ce);background:var(--theme-surface, white);border-radius:9px;padding:8px 12px;font-weight:650}.error{padding:14px;border:1px solid var(--theme-border, #ecc9c3);background:var(--theme-surface, #fff1ef);color:var(--theme-danger, #93392f);border-radius:10px}.error small{display:block;margin-top:6px}@media(max-width:1250px){.stats{grid-template-columns:repeat(2,1fr)}.sourceGrid{grid-template-columns:1fr}}body{min-width:360px}main{min-width:0}.dashboardGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.overviewStats{grid-template-columns:repeat(3,minmax(0,1fr))}.progressPanel progress{width:100%;height:12px;accent-color:#39744d}.progressPanel p,.muted{font-size:13px;color:var(--theme-muted, #536158)}.panel small{color:var(--theme-muted, #536158)}button.compact{width:100%;background:transparent;border:0;border-top:1px solid var(--theme-border, #ecf0ed);text-align:left;color:inherit}.filters{grid-template-columns:repeat(3,minmax(0,1fr))}.filters input{grid-column:span 2}.filters button{border:1px solid var(--theme-border, #ccd5ce);border-radius:9px;background:var(--theme-surface, white)}.table{overflow-x:auto}.table td small{display:block;color:var(--theme-muted, #627066);margin-top:5px}.table table{min-width:680px;font-size:12px}.textButton{text-align:left;border:0;background:none;padding:0;font-weight:650;color:var(--theme-accent, #245b37)}.aiCell{background:var(--theme-surface, #f4f8f5)}.humanCell{background:var(--theme-surface, #f6f6fc)}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.comparison>div{padding:14px;border:1px solid var(--theme-border, #dce3dd);border-radius:10px;background:var(--theme-surface, #f4f8f5)}.comparison>div+div{background:var(--theme-surface, #f6f6fc)}fieldset.review{border:0;padding:0}button:disabled{opacity:.55;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--theme-border, #33754b);outline-offset:3px}.sourceCard p,.message,.errorSummary{overflow-wrap:anywhere}.undoReview{margin:0 0 14px;padding:8px 12px}@media(max-width:1000px){.sidebar{width:190px}main{margin-left:190px;width:calc(100% - 190px)}.content{padding:24px 18px}.dashboardGrid{grid-template-columns:1fr}.drawer{width:min(760px,90vw)}}@media(max-width:650px){.shell{display:block}.sidebar{position:static;width:100%;padding:14px}.brand{padding-bottom:12px}.sidebar nav{flex-direction:row;flex-wrap:wrap}.sidebar footer{display:none}main{margin:0;width:100%}header{padding:0 18px}.title{gap:12px;align-items:center}.title h1{font-size:27px}.stats,.overviewStats,.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.drawer{width:100%;padding:20px}.comparison{grid-template-columns:1fr}}.helpLabel{cursor:help;display:inline-block}.articleDates{color:var(--theme-muted, #596575);font-size:14px;line-height:1.7}.evaluationStats{grid-template-columns:repeat(4,minmax(0,1fr))}.evaluationNotice{border-left:4px solid var(--theme-border, #a77a25);margin-bottom:20px}.evaluationNotice p{max-width:900px;line-height:1.6}.evaluationTable{margin-bottom:20px}.evaluationTable td:nth-child(3){font-weight:700}.evaluationGrid .panel{padding:20px}.evaluationGrid p{margin:8px 0}.evaluationConclusions{margin:0;padding-left:20px;line-height:1.7}@media(max-width:1000px){.evaluationStats,.sourceStats{grid-template-columns:repeat(2,minmax(0,1fr))}.sourcePolicy{align-items:flex-start;flex-direction:column}.sourceTierSummary{justify-content:flex-start}}main{position:relative;isolation:isolate;overflow:hidden}main:before{content:"";position:fixed;top:66px;right:0;width:min(52vw,720px);height:min(42vw,400px);pointer-events:none;z-index:-1;background:radial-gradient(circle at 54% 38%,var(--theme-accent-surface, rgba(197, 222, 204, .42)),transparent 45%),url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20720%20400'%20fill='none'%3e%3cpath%20d='M0%20286C84%20202%20153%20205%20227%20276C299%20345%20376%20346%20452%20272C530%20196%20622%20182%20720%20245'%20stroke='%2365D6ED'%20stroke-width='3'%20opacity='.32'/%3e%3cpath%20d='M0%20328C91%20378%20177%20367%20252%20314C331%20258%20428%20253%20506%20310C588%20371%20652%20359%20720%20321'%20stroke='%2365D6ED'%20stroke-width='2'%20opacity='.2'/%3e%3cg%20fill='%230B4B44'%20opacity='.085'%3e%3cpath%20d='M16%20400V270h56v-38h43v168H16Z'/%3e%3cpath%20d='M133%20400V196h72v-53h36v257h-108Z'/%3e%3cpath%20d='M262%20400V246h61v-32h37v186h-98Z'/%3e%3cpath%20d='M391%20400V150h64v-75h30v325h-94Z'/%3e%3cpath%20d='M511%20400V222h73v-43h42v221h-115Z'/%3e%3cpath%20d='M645%20400V278h57v-27h18v149h-75Z'/%3e%3c/g%3e%3cg%20stroke='%230B4B44'%20stroke-width='4'%20stroke-linecap='round'%20opacity='.08'%3e%3cpath%20d='M350%20281h39l22-22'/%3e%3ccircle%20cx='434'%20cy='259'%20r='7'/%3e%3cpath%20d='M458%20322h42l23%2023'/%3e%3ccircle%20cx='546'%20cy='345'%20r='7'/%3e%3c/g%3e%3c/svg%3e") right top / contain no-repeat;opacity:.72;-webkit-mask-image:linear-gradient(to bottom,black 0%,rgba(0,0,0,.82) 58%,transparent 100%);mask-image:linear-gradient(to bottom,black 0%,rgba(0,0,0,.82) 58%,transparent 100%)}header,.content{position:relative;z-index:1}header{background:var(--theme-surface, rgba(247, 250, 247, .82));border-bottom-color:var(--theme-border, rgba(207, 220, 211, .9))}.stat,.panel,.sourceCard,.table{box-shadow:0 14px 36px #1231220e}@media(max-width:650px){main:before{width:100vw;height:230px;opacity:.42}}.knowledgeTitle{margin-bottom:18px}.knowledgeNotice{border-left:4px solid var(--theme-border, #33754b);margin-bottom:20px;padding:17px 20px}.knowledgeNotice p{margin:6px 0 0;max-width:790px;line-height:1.55}.knowledgeStats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:20px}.knowledgeDocumentGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.knowledgeDocument{display:flex;flex-direction:column;gap:18px;padding:22px}.knowledgeDocumentHead{display:flex;gap:16px;justify-content:space-between;align-items:flex-start}.knowledgeEyebrow{display:block;color:var(--theme-accent, #33754b);font-size:11px;font-weight:750;letter-spacing:.09em;margin-bottom:6px;text-transform:uppercase}.knowledgeDocument h2{font-size:20px;line-height:1.25;margin:0}.knowledgeChunkCount{background:var(--theme-surface-soft, #eef6f0);border:1px solid var(--theme-border, #d6e7da);border-radius:999px;color:var(--theme-accent, #245b37);flex:0 0 auto;font-size:12px;font-weight:700;padding:5px 8px;white-space:nowrap}.knowledgeMetadata{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr));margin:0}.knowledgeMetadata div{min-width:0}.knowledgeMetadata dt{color:var(--theme-muted, #667085);font-size:11px;font-weight:750;letter-spacing:.06em;margin-bottom:3px;text-transform:uppercase}.knowledgeMetadata dd{font-size:14px;line-height:1.4;margin:0;overflow-wrap:anywhere}.knowledgeRights{background:var(--theme-surface, #f6f9f6);border-radius:10px;padding:13px}.knowledgeRights strong{color:var(--theme-accent, #245b37);font-size:13px}.knowledgeRights p{font-size:14px;line-height:1.48;margin:5px 0 9px}.knowledgeRights small{color:var(--theme-muted, #56616f);display:block;line-height:1.45}.knowledgeLinks{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}.knowledgeLinks a{align-items:center;border:1px solid var(--theme-border, #cadbd0);border-radius:8px;color:var(--theme-accent, #245b37);display:inline-flex;font-size:14px;font-weight:700;gap:6px;padding:8px 10px;text-decoration:none}.knowledgeLinks a:hover{background:var(--theme-surface-soft, #eef6f0)}.emptyKnowledge{padding:24px}.knowledgeFootnote{color:var(--theme-muted, #657080);font-size:13px;margin:20px 0 0}@media(max-width:1000px){.knowledgeDocumentGrid{grid-template-columns:1fr}}@media(max-width:650px){.knowledgeStats{grid-template-columns:repeat(2,minmax(0,1fr))}.knowledgeDocument{padding:18px}.knowledgeDocumentHead{flex-direction:column}}.knowledgeSearch{margin-bottom:20px;padding:22px}.knowledgeSearch h2{font-size:20px;margin:0}.knowledgeSearch>div>p{color:var(--theme-muted, #596575);line-height:1.5;margin:6px 0 0}.knowledgeSearch form{display:flex;gap:10px;margin-top:16px}.knowledgeSearch input{background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #cbd8cf);border-radius:8px;flex:1;font:inherit;min-width:0;padding:10px 12px}.knowledgeSearch button{align-items:center;display:inline-flex;gap:7px;justify-content:center}.knowledgeSearchError,.knowledgeSearchEmpty{color:var(--theme-danger, #9e2634);margin:12px 0 0}.knowledgeSearchEmpty{color:var(--theme-muted, #596575)}.knowledgeResults{display:grid;gap:12px;margin-top:20px}.knowledgeResult{border:1px solid var(--theme-border, #dce5de);border-radius:10px;padding:16px}.knowledgeResultTitle{align-items:flex-start;display:flex;gap:12px;justify-content:space-between}.knowledgeResultTitle h3{font-size:16px;margin:0}.knowledgeResultTitle p{color:var(--theme-muted, #667085);font-size:13px;margin:4px 0 0}.knowledgeResultTitle>span{color:var(--theme-muted, #596575);flex:0 0 auto;font-size:12px}.knowledgeResult>p{line-height:1.6;margin:12px 0}.srOnly{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0)}@media(max-width:650px){.knowledgeSearch{padding:18px}.knowledgeSearch form{flex-direction:column}.knowledgeSearch button{width:100%}.knowledgeResultTitle{flex-direction:column}}.ragControlPanel{border:1px solid var(--theme-border, #dce5de);border-radius:12px;margin-top:18px;overflow:hidden}.ragControlHeading,.ragRunPanel{align-items:flex-start;display:flex;gap:18px;justify-content:space-between;padding:14px 16px}.ragControlHeading{background:var(--theme-surface, #f7faf7);border-bottom:1px solid var(--theme-border, #e4ebe5)}.ragControlHeading strong,.ragRunPanel strong{display:block;font-size:14px}.ragControlHeading p,.ragRunPanel p{color:var(--theme-muted, #596575);font-size:12px;line-height:1.45;margin:4px 0 0;max-width:700px}.ragRefreshButton,.ragSecondaryAction,.ragPrimaryAction,.ragSetChoice{align-items:center;border-radius:8px;display:inline-flex;font-size:12px;font-weight:700;gap:6px;justify-content:center}.ragRefreshButton,.ragSecondaryAction{background:var(--theme-surface, white);border:1px solid var(--theme-border, #cbd8cf);color:var(--theme-accent, #245b37);padding:8px 10px}.ragSetChooser{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px}.ragSetChoice{background:var(--theme-surface, white);border:1px solid var(--theme-border, #cbd8cf);color:var(--theme-accent, #34433a);min-height:38px;padding:8px 10px}.ragSetChoice:hover:not(:disabled){background:var(--theme-surface-soft, #f1f7f2);border-color:var(--theme-border, #76a584)}.ragSetChoice.active{background:var(--theme-surface-soft, #e8f4eb);border:2px solid var(--theme-border, #33754b);color:var(--theme-accent, #173a23);padding:7px 9px}.ragSetChoice small{background:var(--theme-accent-surface, #33754b);border-radius:999px;color:#fff;font-size:10px;padding:2px 6px}.ragRunPanel{border-top:1px solid var(--theme-border, #e4ebe5)}.ragRunPanel.running{background:var(--theme-surface-soft, #eef6f0)}.ragRunActions{display:flex;flex:0 0 auto;flex-wrap:wrap;gap:8px}.ragPrimaryAction{background:#1f6034;border:1px solid var(--theme-border, #1f6034);color:#fff;padding:9px 12px}.ragPrimaryAction:hover:not(:disabled){background:#174a29}@media(max-width:760px){.ragControlHeading,.ragRunPanel{flex-direction:column}.ragRunActions,.ragRefreshButton{width:100%}.ragRunActions button{flex:1}}@media(max-width:650px){body{min-width:320px;padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}.sidebar{padding:12px}.brand{max-width:190px}.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.sidebar nav button{min-width:0;min-height:44px;padding:9px 10px;font-size:13px}header{min-height:60px;height:auto;gap:8px;padding:8px 14px}header .connected{min-width:0;overflow-wrap:anywhere}header button,.filters button,.review button,.auth-panel button,.knowledgeSearch button,.ragRunActions button,.ragRefreshButton,.ragSetChoice{min-height:44px}.sign-out{right:126px;top:8px;min-height:44px;padding:8px 10px}.content{width:100%;padding:22px 14px 36px}.title{align-items:flex-start;margin-bottom:18px}.title h1{font-size:clamp(23px,7vw,28px);overflow-wrap:anywhere}.title p,.panel,.sourcePolicy p,.knowledgeNotice p,.knowledgeFootnote{overflow-wrap:anywhere}.stats,.overviewStats,.evaluationStats,.knowledgeStats,.sourceStats{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat,.sourceStats>article{min-width:0;padding:14px}.stat strong,.sourceStats strong{overflow-wrap:anywhere}.filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.filters input,.filters button{grid-column:1 / -1}.filters input,.filters select{width:100%;min-width:0;min-height:44px;font-size:14px}.sourceGrid,.knowledgeDocumentGrid,.dashboardGrid,.evaluationGrid{grid-template-columns:minmax(0,1fr)}.sourceCard,.knowledgeDocument,.panel{min-width:0}.sourceTop{gap:12px}.switch input{width:24px;height:24px}.articleTable,.runTable,.errorTable,.evaluationTable{overflow:visible;border:0;background:transparent;box-shadow:none}.articleTable table,.runTable table,.errorTable table,.evaluationTable table,.articleTable tbody,.runTable tbody,.errorTable tbody,.evaluationTable tbody{display:block;min-width:0;width:100%}.articleTable thead,.runTable thead,.errorTable thead,.evaluationTable thead{height:1px;width:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);position:absolute;white-space:nowrap}.articleTable tr,.runTable tr,.errorTable tr,.evaluationTable tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;margin:0 0 12px;padding:10px;border:1px solid var(--theme-border, #dce3dd);border-radius:12px;background:var(--theme-surface, #fff);box-shadow:0 8px 22px #1231220b}.articleTable td,.runTable td,.errorTable td,.evaluationTable td{display:block;min-width:0;padding:7px 5px;border:0;background:transparent;overflow-wrap:anywhere;font-size:13px}.articleTable td[data-label]:before,.runTable td[data-label]:before,.errorTable td[data-label]:before,.evaluationTable td[data-label]:before{content:attr(data-label);display:block;margin-bottom:4px;color:var(--theme-muted, #66736b);font-size:10px;font-weight:750;letter-spacing:.04em;line-height:1.3;text-transform:uppercase}.articleTable .articleTitle,.articleTable td[data-label="Status / briefing"],.runTable td:first-child,.errorTable td.message,.evaluationTable td:last-child,.articleTable td[colspan],.runTable td[colspan],.errorTable td[colspan],.evaluationTable td[colspan]{grid-column:1 / -1}.articleTable .articleTitle{max-width:none}.articleTable .textButton{min-height:44px;font-size:15px;line-height:1.4}.articleTable .aiCell,.articleTable .humanCell{border-radius:8px}.drawer{width:100%;height:100dvh;max-height:100dvh;padding:18px 16px calc(24px + env(safe-area-inset-bottom,0px));overscroll-behavior:contain}.drawer .close{position:sticky;top:0;z-index:2;min-width:44px;min-height:44px;margin:-4px -4px 8px auto;background:var(--theme-surface, #fbfcfb)}.reviewFields,.reviewFields label{min-width:0}.reviewFields select,.reviewFields textarea{width:100%;min-height:44px}.review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.review button{padding:8px}.sourceYield .table,.knowledgeSearch .table,.ragControlPanel{max-width:100%}.sourceYield .table,.knowledgeSearch .table{overflow-x:auto;-webkit-overflow-scrolling:touch}.auth-panel{width:calc(100% - 28px);max-width:440px;margin:max(24px,8vh) auto;padding:24px 20px}.auth-panel input{width:100%;min-height:46px;font-size:16px}.auth-panel .auth-secondary{min-height:44px}.knowledgeSearch form{min-width:0}.knowledgeSearch input{width:100%;min-height:46px}}.briefingPage{max-width:1600px;margin:0 auto}.briefingTitle{margin-bottom:20px}.briefingControls{display:grid;grid-template-columns:minmax(220px,1.6fr) repeat(2,minmax(150px,.8fr)) minmax(200px,1fr);gap:12px;padding:16px;background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dce3dd);border-radius:14px}.briefingControls label,.briefingDraftEntry label{display:grid;gap:6px;color:var(--theme-accent, #435148);font-size:14px;font-weight:650}.briefingControls input,.briefingControls select,.briefingDraftEntry select,.briefingDraftEntry textarea{width:100%;min-width:0;padding:10px 11px;border:1px solid var(--theme-border, #cbd6ce);border-radius:8px;background:var(--theme-surface, white);color:var(--theme-accent, #17231b);font-size:15px}.briefingNotice{margin:12px 0 18px;padding:12px 14px;border-left:3px solid var(--theme-border, #83a18d);background:var(--theme-surface-soft, #eaf0eb);color:var(--theme-accent, #435148);line-height:1.5}.briefingColumns{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:18px;align-items:start}.briefingPanel,.briefingPreview{min-width:0;padding:18px;background:var(--theme-surface, rgba(255,255,255,.94));border:1px solid var(--theme-border, #dce3dd);border-radius:14px;box-shadow:0 10px 32px #1220180a}.briefingPanelHead,.briefingDraftEntryHead{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.briefingPanelHead h2,.briefingPreview h2{margin:0 0 4px;font-size:20px}.briefingPanelHead p,.briefingDraftEntryHead p{margin:0;color:var(--theme-muted, #69776e);font-size:14px}.briefingCandidateList,.briefingDraftList{display:grid;gap:10px;margin-top:14px}.briefingCandidate,.briefingDraftEntry{min-width:0;padding:14px;border:1px solid var(--theme-border, #e1e7e2);border-radius:11px;background:var(--theme-surface, #fff)}.briefingCandidate{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.briefingCandidate>div,.briefingDraftEntryHead>div{min-width:0;flex:1 1 0}.briefingCandidate h3,.briefingDraftEntry h3,.briefingPreview h4{overflow-wrap:anywhere}.briefingCandidate h3,.briefingDraftEntry h3,.briefingPreview h4{margin:0 0 5px;font-size:16px;line-height:1.4}.briefingCandidate p{margin:0 0 6px;color:var(--theme-muted, #68766d);font-size:14px}.briefingCandidate span,.briefingDraftEntryHead>div>span{color:var(--theme-muted, #718078);font-size:12px;font-weight:700}.briefingCandidate button,.briefingExports button,.briefingOrderButtons button{flex:0 0 auto;padding:8px 10px;border:1px solid var(--theme-border, #cbd6ce);border-radius:8px;background:var(--theme-surface, #f7f9f7);color:var(--theme-accent, #203027);font-size:14px}.briefingCandidate button:disabled,.briefingOrderButtons button:disabled{cursor:default;opacity:.55}.briefingDraftEntry{display:grid;gap:12px}.briefingOrderButtons,.briefingExports{display:flex;flex-wrap:wrap;gap:6px}.briefingOrderButtons button{font-size:13px}.briefingDraftEntry textarea{resize:vertical;line-height:1.55}.briefingCitation{margin:0;color:var(--theme-muted, #56655b);font-size:14px;overflow-wrap:anywhere}.briefingCitation a,.briefingPreview a{color:var(--theme-accent, #185b38)}.briefingPreview{margin-top:18px}.briefingPreviewSection{margin-top:16px;padding-top:14px;border-top:1px solid var(--theme-border, #e4e9e5)}.briefingPreviewSection h3{margin:0 0 8px;font-size:17px}.briefingPreviewSection article{padding:10px 0;border-top:1px solid var(--theme-border, #eef1ef)}.briefingPreviewSection p{white-space:pre-wrap;line-height:1.55}.briefingPreviewSection a{font-size:14px}.briefingEmpty{color:var(--theme-muted, #69776e);font-size:14px}.briefingError{margin:12px 0 0;color:var(--theme-danger, #8d2e25);font-size:14px}@media(max-width:1100px){.briefingControls{grid-template-columns:repeat(2,minmax(0,1fr))}.briefingColumns{grid-template-columns:1fr}}:root{color-scheme:light}:root[data-theme=dark]{color-scheme:dark;--theme-text: #e5eee8;--theme-muted: #b1c3b8;--theme-surface: #19271f;--theme-surface-soft: #22342a;--theme-border: #496052;--theme-accent: #99e0ae;--theme-accent-surface: #244a33;--theme-danger: #ffb7ac;--theme-danger-surface: #4c2929;--theme-warning: #f3d393;--theme-warning-surface: #423725;background:#101a14}:root[data-theme=dark] body{background:radial-gradient(circle at 90% 0,#24463255,transparent 32rem),#101a14}:root[data-theme=dark] a{color:#a1dfb7}:root[data-theme=dark] .sidebar{background:#0c1710}:root[data-theme=dark] .sidebar nav button.active{background:#355c43;color:#f1faf4}:root[data-theme=dark] .sidebar footer span{color:#b1c3b8}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{color:#e5eee8;background-color:#132019;border-color:#647e6d}:root[data-theme=dark] input::placeholder,:root[data-theme=dark] textarea::placeholder{color:#b1c3b8;opacity:1}:root[data-theme=dark] button:not(.primary):not(.sign-out):not(.active){color:#e5eee8}:root[data-theme=dark] button:disabled{opacity:.55}:root[data-theme=dark] :focus-visible{outline:3px solid #a1dfb7;outline-offset:3px}:root[data-theme=dark] .brandLogo{background:#edf4ef;border-radius:8px}.themePreference{position:fixed;right:18px;bottom:12px;z-index:30;display:flex;gap:8px;align-items:center;padding:8px 10px;border:1px solid var(--theme-border, #b4c2b8);border-radius:10px;background:var(--theme-surface, #fff);color:var(--theme-text, #17231b);box-shadow:0 4px 20px #0002;font-size:13px}.themePreference select{min-height:36px;border:1px solid var(--theme-border, #aab9ae);border-radius:6px;padding:4px 8px;background:var(--theme-surface, #fff);color:inherit}.sourceReview{padding:clamp(16px,3vw,28px);min-width:0;overflow-wrap:anywhere}.sourceReview .row{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.sourceReview button{min-height:42px;padding:8px 12px;border:1px solid var(--theme-border, #aab9ae);border-radius:8px;background:var(--theme-surface-soft, #edf4ef);color:var(--theme-text, #17231b)}.sourceReview button[aria-pressed=true]{outline:2px solid var(--theme-accent, #286039);outline-offset:2px}.sourceReview input[type=number],.sourceReview textarea{display:block;width:100%;max-width:620px;min-height:42px;padding:10px;border:1px solid var(--theme-border, #aab9ae);border-radius:8px;background:var(--theme-surface, #fff);color:var(--theme-text, #17231b)}.sourceReviewText{max-height:35rem;overflow:auto;white-space:pre-wrap;line-height:1.6;padding:1rem;border:1px solid var(--theme-border, #aab9ae);border-radius:8px;background:var(--theme-surface-soft, #f8faf8)}.reviewStatus{width:fit-content;padding:6px 10px;border-radius:8px}.reviewStatus-approved{color:var(--theme-accent, #286039);background:var(--theme-accent-surface, #e9f5ec)}.reviewStatus-rejected{color:var(--theme-danger, #9d3a30);background:var(--theme-danger-surface, #fff0ee)}.reviewStatus-pending{color:var(--theme-warning, #8a641c);background:var(--theme-warning-surface, #fff6e4)}@media(max-width:760px){.themePreference{position:static;width:fit-content;max-width:calc(100% - 20px);margin:10px 10px 10px auto}}@media print{.themePreference{display:none}}.ownerImport,.ownerFollow{max-width:1060px;min-width:0}.ownerImport .card,.ownerFollow .panel{padding:clamp(16px,3vw,28px);background:var(--theme-surface, #fff);border:1px solid var(--theme-border, #dce5df);border-radius:16px}.ownerImport .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:end;margin:20px 0}.ownerImport label,.ownerFollow form label{display:grid;gap:7px;margin-bottom:14px;font-weight:600}.ownerImport input,.ownerImport textarea,.ownerImport select,.ownerFollow form input:not([type=checkbox]){width:100%;min-width:0;padding:10px 12px;border:1px solid var(--theme-border, #b8c8bd);border-radius:8px;background:var(--theme-surface, #fff);color:inherit;font:inherit}.ownerImport textarea{resize:vertical;line-height:1.55}.ownerImport small,.ownerFollow p{font-weight:400;line-height:1.55;overflow-wrap:anywhere}.ownerImport a,.importedArticleText{overflow-wrap:anywhere}.ownerImport fieldset{border:1px solid var(--theme-border, #b8c8bd);border-radius:10px;margin:16px 0}.ownerImport fieldset button,.ownerFollow li button{margin:4px 8px 4px 0}.ownerFollow .panelTitle{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}.source-follow-list{list-style:none;padding:0}.source-follow-list li{border-top:1px solid var(--theme-border, #dce5df);padding:18px 0}.ownerFollow form{border-top:1px solid var(--theme-border, #dce5df);padding-top:20px}@media(max-width:640px){.ownerImport .form-grid{grid-template-columns:1fr}.ownerImport button,.ownerFollow button{min-height:44px;white-space:normal}}
