:root{color:#18202a;background:#f6f7f2;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}.page{min-height:100vh;padding:28px}.workbench{grid-template-columns:minmax(360px,.9fr) minmax(420px,1.1fr);gap:20px;max-width:1440px;margin:0 auto;display:grid}.leftPane,.queryPane,.resultPane{background:#fff;border:1px solid #dfe4dc;border-radius:8px;min-height:calc(100vh - 56px)}.leftPane{flex-direction:column;align-self:start;min-height:auto;max-height:calc(100vh - 56px);padding:22px;display:flex;position:sticky;top:28px;overflow:hidden}.queryPane{border:0;border-radius:0;flex:none;min-height:0;padding:0 0 22px}.topline{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}h1{letter-spacing:0;margin:0 0 8px;font-size:28px;line-height:1.12}.userField,.modelField{color:#667085;gap:6px;margin-bottom:14px;font-size:13px;display:grid}.userField input,.modelField select{color:#18202a;background:#fff;border:1px solid #c9d2c6;border-radius:6px;width:100%;padding:9px 10px}.form{flex-direction:column;gap:14px;display:flex}textarea{resize:vertical;border:1px solid #c9d2c6;border-radius:8px;outline:none;min-height:210px;max-height:42vh;padding:16px;line-height:1.5}textarea:focus,.userField input:focus,.modelField select:focus{border-color:#32746d;box-shadow:0 0 0 3px #32746d24}.modeSwitch{background:#f5f8f2;border:1px solid #c9d2c6;border-radius:8px;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:14px;padding:4px;display:grid}.modeSwitch button{color:#50605a;white-space:normal;background:0 0;border:0;justify-content:center;width:100%;height:auto;min-height:40px;line-height:1.2}.modeSwitch button.active{color:#fff;background:#32746d}.actions{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.fileActions{flex:auto;gap:8px;min-width:0;display:flex}.fileButton,button{cursor:pointer;color:#18202a;background:#fff;border:1px solid #c9d2c6;border-radius:6px;align-items:center;gap:8px;height:42px;padding:0 14px;display:inline-flex}.fileButton{min-width:112px;max-width:min(260px,100%)}.fileButton span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.fileButton input{display:none}.primary{color:#fff;background:#32746d;border-color:#32746d;flex:none;justify-content:center;min-width:112px}.primary:disabled{opacity:.55;cursor:not-allowed}.ghost{color:#667085}.spin{animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.resultPane{padding:18px;overflow:auto}.empty,.error{color:#667085;align-content:center;place-items:center;gap:12px;min-height:calc(100vh - 94px);display:grid}.error{color:#a13a31}.answer{border-bottom:1px solid #e6ebe3;margin-bottom:14px;padding-bottom:16px}.answerTop{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.reportActions{flex:none;gap:8px;display:flex}.reportActions button{justify-content:center;width:36px;height:36px;padding:0}.meta{flex-wrap:wrap;gap:8px;display:flex}.meta span,.queries span{color:#50605a;background:#edf2e9;border:1px solid #dfe8d9;border-radius:999px;padding:5px 9px;font-size:12px;text-decoration:none}.queries{flex-wrap:wrap;gap:8px;margin-bottom:14px;display:flex}.historyPanel{clear:both;border-top:1px solid #e6ebe3;flex-direction:column;flex:auto;min-height:0;margin-top:0;padding-top:16px;display:flex;overflow:hidden}.historyHeader{color:#50605a;align-items:center;gap:8px;margin-bottom:10px;font-weight:700;display:flex}.historyEmpty{color:#667085;font-size:13px}.historyList{gap:8px;min-height:0;max-height:min(300px,34vh);padding-right:4px;display:grid;overflow-y:auto}.historyItem{grid-template-columns:1fr 36px;align-items:stretch;gap:6px;height:auto;display:grid}.historyOpen{text-align:left;border-radius:6px;justify-items:start;gap:4px;min-width:0;height:auto;padding:10px 12px;display:grid}.historyOpen span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.historyOpen small{color:#667085}.historyDelete{color:#8a3b35;justify-content:center;width:36px;height:auto;min-height:42px;padding:0}.sourceDocuments{gap:12px;display:grid}.sourceDocument{border-left:3px solid #bcd4ca;padding-left:12px}.sourceDocument h4{margin:0 0 8px;font-size:15px;line-height:1.4}.attachmentLinks{gap:6px;margin:8px 0 0;padding:0;list-style:none;display:grid}.attachmentLink,.legacyAttachment{color:#23645e;text-align:left;background:0 0;border:0;border-radius:0;width:fit-content;max-width:100%;height:auto;min-height:0;padding:3px 0;text-decoration:underline}.attachmentLink:hover{color:#173f3b}.attachmentLink span,.legacyAttachment span{overflow-wrap:anywhere}.legacyAttachment{color:#667085;align-items:center;gap:8px;text-decoration:none;display:inline-flex}.attachmentModal{z-index:50;background:#18202a80;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.attachmentDialog{background:#fff;border:1px solid #dfe4dc;border-radius:8px;grid-template-rows:auto minmax(280px,1fr) auto;width:min(1100px,100%);height:min(820px,100vh - 48px);display:grid;overflow:hidden;box-shadow:0 16px 48px #18202a47}.attachmentDialogHeader,.attachmentDialogFooter{border-bottom:1px solid #e6ebe3;justify-content:space-between;align-items:center;gap:16px;padding:14px 18px;display:flex}.attachmentDialogHeader p{color:#667085;margin:0 0 3px;font-size:13px}.attachmentDialogHeader h3{overflow-wrap:anywhere;margin:0;font-size:16px}.attachmentDialogFooter{border-top:1px solid #e6ebe3;border-bottom:0}.attachmentFrame{background:#f6f7f2;border:0;width:100%;height:100%;min-height:0}.iconButton{justify-content:center;width:38px;min-width:38px;padding:0}@media (width<=640px){.attachmentModal{padding:10px}.attachmentDialog{height:calc(100vh - 20px)}.attachmentDialogHeader,.attachmentDialogFooter{padding:12px}}.progressPanel{background:#fbfcfa;border:1px solid #dfe4dc;border-radius:8px;margin-bottom:14px;padding:14px}.progressHeader{color:#214f49;align-items:center;gap:8px;font-weight:700;display:flex}.steps{gap:8px;margin-top:12px;display:grid}.step{color:#50605a;align-items:center;gap:8px;font-size:13px;display:flex}.step svg{color:#32746d;flex:none}.structuredReport{color:#18202a;margin-top:12px;font-size:16px;line-height:1.58}.structuredReport h2{letter-spacing:0;text-transform:uppercase;margin:10px 0 12px;font-size:22px;line-height:1.22}.conclusionHero{background:#f3f8f5;border:1px solid #bcd4ca;border-left:5px solid #32746d;border-radius:8px;margin:12px 0;padding:14px 16px}.conclusionHero h3{color:#214f49;text-transform:uppercase;margin:0 0 8px;font-size:15px;line-height:1.3}.conclusionHero p{margin:0;font-weight:700}.reportDetails{border-top:1px solid #e6ebe3;margin-top:16px;padding-top:12px}.reportDetails>summary{cursor:pointer;color:#214f49;background:#fff;border:1px solid #c9d2c6;border-radius:6px;align-items:center;min-height:40px;padding:0 14px;font-weight:700;display:inline-flex}.reportDetailsBody{margin-top:12px}.reportPlaceholder{color:#667085;margin-top:12px}.warning{color:#624a00;background:#fff8df;border:1px solid #e2c16a;border-radius:8px;margin:12px 0 16px;padding:12px 14px;font-weight:700}.reportBlock{border-top:1px solid #e6ebe3;margin-top:18px;padding-top:16px}.reportBlock>h3{letter-spacing:0;text-transform:uppercase;margin:0 0 12px;font-size:18px;line-height:1.3}.bulletGroup{margin:12px 0}.bulletGroup h4{color:#50605a;letter-spacing:0;text-transform:uppercase;margin:0 0 6px;font-size:13px;line-height:1.3}.bulletGroup ul{margin:0;padding-left:22px}.bulletGroup li{margin:7px 0}.conclusion{background:#f5f8f2;border-left:4px solid #32746d;margin:14px 0 0;padding:10px 12px}.reportCards,.approaches,.sourceList{gap:12px;display:grid}.reportSection{background:#fbfcfa;border:1px solid #dfe4dc;border-radius:8px;margin:16px 0;overflow:hidden}.reportSection h3{background:#f5f8f2;border-bottom:1px solid #dfe4dc;margin:0;padding:12px 14px}.reportSectionBody{padding:10px 16px 12px}.reportSummary{margin:10px 0 14px}.otherTasksHint{color:#50605a;background:#f5f8f2;border:1px solid #dfe8d9;border-radius:8px;margin:0 0 12px;padding:10px 12px}.otherTaskList{margin:0;padding-left:22px}.otherTaskList li{margin:7px 0}.otherTaskFiles{color:#50605a;margin:4px 0 0;padding-left:20px}.reportFields{gap:10px;margin:0;display:grid}.reportFields div{gap:3px;display:grid}.reportFields dt{color:#50605a;text-transform:uppercase;font-size:12px;font-weight:700}.reportFields dd{margin:0}.approach{background:#fbfcfa;border:1px solid #dfe4dc;border-radius:8px;padding:0;overflow:hidden}.sourceItem{background:#fbfcfa;border:1px solid #dfe4dc;border-radius:8px;padding:12px 14px}.sourceItem h3,.sourceItem p{margin:0 0 8px}.sourceItem ul{margin:0;padding-left:20px}.approachTitle{background:#f5f8f2;border-bottom:1px solid #dfe4dc;grid-template-columns:28px 1fr;align-items:center;gap:10px;padding:10px 14px;display:grid}.approachTitle span{color:#fff;background:#32746d;border-radius:999px;place-items:center;width:28px;height:28px;font-weight:700;display:inline-grid}.approachTitle h3{letter-spacing:0;margin:0;font-size:16px;line-height:1.3}.approachEvidence{margin:0;padding:12px 18px 4px 38px}.approachEvidence li{margin:6px 0}.approachConclusion{background:#fff;border-left:4px solid #32746d;margin:8px 14px 14px;padding:10px 12px}.comparisonWrap{border:1px solid #dfe4dc;border-radius:8px;overflow-x:auto}.comparisonTable{border-collapse:collapse;background:#fff;width:100%;min-width:680px}.comparisonTable th,.comparisonTable td{text-align:left;vertical-align:top;border-bottom:1px solid #e6ebe3;border-right:1px solid #e6ebe3;padding:10px 12px}.comparisonTable th{color:#50605a;background:#f5f8f2;font-weight:700}.comparisonTable tr:last-child th,.comparisonTable tr:last-child td{border-bottom:0}.comparisonTable th:last-child,.comparisonTable td:last-child{border-right:0}.structuredReport a{color:#28645d;text-decoration:none}.structuredReport a:hover{text-decoration:underline}.inlineFeedback{border-top:1px solid #e6ebe3;gap:12px;margin-top:16px;padding-top:16px;display:grid}.inlineFeedbackHeader{justify-content:space-between;align-items:center;gap:12px;display:flex}.inlineFeedbackHeader span{color:#214f49;background:#edf2e9;border:1px solid #dfe8d9;border-radius:999px;padding:5px 9px;font-size:12px}.ratingButtons{flex-wrap:wrap;gap:8px;display:flex}.ratingButtons button.active{color:#fff;background:#32746d;border-color:#32746d}.ratingButtons button.negative{background:#8a3b35;border-color:#8a3b35}.feedbackComment{min-height:96px;max-height:180px}.feedbackError{color:#a13a31;background:#fff4f2;border:1px solid #e4b8b1;border-radius:6px;padding:10px 12px}@media (width<=900px){.page{padding:12px}.workbench{grid-template-columns:1fr}.leftPane,.queryPane,.resultPane{min-height:auto}.leftPane{max-height:none;position:static}textarea{min-height:180px;max-height:44vh}.primary{width:auto}.actions{grid-template-columns:1fr;align-items:stretch}.fileActions,.primary{width:100%}.fileButton{flex:auto}}
