:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#111827;background:#f3f4f6}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,textarea{font:inherit}button{border:0;border-radius:8px;padding:10px 14px;background:#111827;color:#fff;cursor:pointer;display:inline-flex;gap:8px;align-items:center;justify-content:center}button:disabled{opacity:.5;cursor:not-allowed}.app{display:flex;height:100vh;overflow:hidden}.sidebar{width:280px;background:#111827;color:#fff;padding:20px;display:flex;flex-direction:column;gap:12px;height:100vh;overflow:hidden}.brand{display:flex;gap:12px;align-items:center;margin-bottom:24px}.brand span{display:block;color:#9ca3af;font-size:13px}.logo{background:#fff;color:#111827;border-radius:8px;padding:10px;font-weight:800}.authUser{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border-radius:8px;background:#ffffff14;color:#fff}.authUser div{min-width:0;display:grid;gap:2px}.authUser strong,.authUser span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.authUser span{color:#9ca3af;font-size:12px}.nav{background:transparent;justify-content:flex-start;color:#d1d5db}.nav.active{background:#374151;color:#fff}.nav b{margin-left:auto;background:#ef4444;padding:2px 8px;border-radius:999px}.sidebarFooter{margin-top:auto;display:grid;gap:8px}.secondary{background:#374151}.mutedButton{background:#f3f4f6;color:#111827;border:1px solid #d1d5db}.dangerButton{border-color:#fecaca;color:#991b1b;background:#fff7f7}.main{flex:1;height:100vh;padding:24px;overflow:auto;min-width:0}.loginPage{min-height:100vh;display:grid;place-items:center;padding:24px;background:#f3f4f6}.loginPanel{width:min(420px,100%);display:grid;gap:14px;padding:28px;border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 20px 60px #1118271f}.loginPanel h1,.loginPanel p{margin:0}.loginPanel p{color:#6b7280}.grid{display:grid;grid-template-columns:360px 1fr;gap:20px}.caseGrid{display:grid;grid-template-columns:300px minmax(0,1fr);gap:16px;align-items:start;min-height:calc(100vh - 48px)}.ticketsPage,.ticketDetailPage{min-height:calc(100vh - 48px)}.workspace{display:flex;flex-direction:column;gap:16px;min-width:0}.detailGrid{display:grid;grid-template-columns:minmax(0,.5fr) minmax(420px,.5fr);gap:16px;align-items:stretch}.sideStack{display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 170px);overflow:auto;padding-right:4px}.developerProcess{gap:12px;overflow:hidden;padding-right:0}.detailTabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:6px;box-shadow:0 8px 24px #1118270f}.detailTabs button{min-height:36px;padding:8px 10px;background:transparent;color:#4b5563;border:0}.detailTabs button.active{background:#111827;color:#fff}.developerProcessScroll{flex:1;min-height:0;overflow:auto;display:flex;flex-direction:column;gap:12px;padding-right:4px}.toolsGrid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}.caseWorkbench{display:flex;flex-direction:column;gap:12px}.sideStack .caseWorkbench{grid-template-columns:1fr}.sideStack .caseWorkbench .panel{padding:16px}.panel{background:#fff;border-radius:8px;padding:20px;border:1px solid #e5e7eb;box-shadow:0 8px 24px #1118270f;min-width:0}.panelHeader{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.panelHeader h2,.panelHeader h3{margin:0}.panelHeader p{margin:4px 0 0;color:#6b7280}.panelHeader.tight{margin-bottom:10px}.panelHeaderActions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}.panelHeaderActions span{color:#374151}.caseFilters{display:grid;grid-template-columns:minmax(220px,2fr) minmax(160px,1fr) minmax(140px,1fr) repeat(2,minmax(130px,.8fr));gap:10px;align-items:end;margin-bottom:14px}.caseFilters label{display:grid;gap:5px;color:#374151;font-size:13px}.caseFilters input,.caseFilters select{min-width:0;width:100%;border:1px solid #d1d5db;border-radius:8px;padding:9px 10px;background:#fff;color:#111827}.caseHeader{display:flex;justify-content:space-between;align-items:center;gap:12px}.caseHeader h2{margin:0}.caseHeader p{margin:4px 0 0;color:#6b7280}.caseActions{display:flex;align-items:center;gap:10px}.list{display:flex;flex-direction:column;gap:10px}.listPanel{max-height:calc(100vh - 48px);overflow:auto}.item{color:#111827;background:#f9fafb;text-align:left;display:block;border:1px solid #e5e7eb}.item.selected{border-color:#111827;background:#eef2ff}.item strong,.item span{display:block}.item span{color:#6b7280;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item small{display:block;color:#6b7280;margin-top:6px}.itemTop{display:flex!important;justify-content:space-between;align-items:center;gap:8px;color:#111827!important}.itemTop strong{min-width:0;overflow:hidden;text-overflow:ellipsis;display:inline-flex!important;align-items:center;gap:6px}.item em{float:right;background:#ef4444;color:#fff;border-radius:999px;padding:2px 8px;font-style:normal}.miniSpinner{width:12px;height:12px;flex:0 0 auto;border:2px solid rgba(17,24,39,.22);border-top-color:#111827;border-radius:999px;animation:spin .8s linear infinite}.conversation{min-height:0;display:flex;flex-direction:column;max-height:calc(100vh - 170px)}.customerStrip{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;padding:10px 12px;border:1px solid #e5e7eb;border-radius:8px;background:#f9fafb}.customerStripIdentity{display:flex;align-items:center;gap:10px;min-width:0}.customerStripIdentity svg{color:#6b7280;flex:0 0 auto}.customerStripIdentity div{min-width:0;display:grid;gap:1px}.customerStripIdentity span{color:#6b7280;font-size:12px;font-weight:700;text-transform:uppercase}.customerStripIdentity strong,.customerStripIdentity small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customerStripIdentity small{color:#6b7280}.customerStrip button{flex:0 0 auto}.messages{display:flex;flex-direction:column;gap:12px;flex:1;background:#f9fafb;border-radius:8px;padding:16px;min-height:420px;max-height:none;overflow:auto}.bubble{max-width:70%;padding:12px 14px;border-radius:8px}.bubble p{margin:0}.bubble small{color:#6b7280;display:block;margin-top:6px}.bubble.inbound{background:#fff;align-self:flex-start}.bubble.outbound{background:#dcfce7;align-self:flex-end}.approvals{display:grid;gap:16px}.approval{border:1px solid #e5e7eb;border-radius:8px;padding:16px}.approval header,.approval footer{display:flex;justify-content:space-between;gap:12px}.approval span{display:block;color:#6b7280;margin-top:4px}.approvalData{display:grid;grid-template-columns:1fr 1fr;gap:12px}.approvalDetails{padding:0;overflow:hidden}.approvalSummary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:12px;padding:14px 16px;align-items:center}.approvalSummary::-webkit-details-marker{display:none}.approvalBody{display:grid;gap:12px;padding:0 16px 16px;border-top:1px solid #e5e7eb}.approvalBody>p{margin:12px 0 0}.approvalBody footer{margin-top:4px}.approvalBody strong{font-size:13px}.scope{color:#374151;background:#f9fafb;border-left:3px solid #111827;padding:8px 10px}.compactApprovals{display:grid;gap:10px}.approvalMini{border:1px solid #e5e7eb;border-radius:8px;padding:10px}.approvalMini span{display:block;color:#6b7280;margin-top:4px}.approvalPreview{display:grid;gap:10px;margin-top:10px}.approvalPreview.compact{gap:8px}.approvalPreviewText{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:9px 10px}.approvalPreviewText strong{display:block;margin-bottom:4px;font-size:12px}.approvalPreviewText p{margin:0;line-height:1.45;color:#111827;overflow-wrap:anywhere}.approvalMetaGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px}.approvalMetaItem{border:1px solid #e5e7eb;border-radius:8px;padding:8px;background:#fff;min-width:0}.approvalMetaItem span{margin:0 0 4px;font-size:12px}.approvalMetaItem code{display:block;background:#eef2ff;border-radius:6px;padding:3px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.approvalPreviewDetails{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;background:#fff}.approvalPreviewDetails summary{cursor:pointer;font-weight:800;padding:8px 10px;background:#f9fafb}.approvalPreviewDetails pre{margin:0;border-radius:0;max-height:360px}.approvalPreviewDetails.codeDetails pre{max-height:520px}.approvalCode{-moz-tab-size:4;tab-size:4;white-space:pre}.approval pre,.panel pre{background:#111827;color:#e5e7eb;padding:14px;border-radius:8px;overflow:auto;max-height:300px}.risk-high{border-color:#ef4444}.risk-medium{border-color:#f59e0b}.risk-low{border-color:#10b981}.badge{border-radius:8px;padding:6px 10px;background:#e5e7eb;color:#111827!important;align-self:start}.badge.pending{background:#fef3c7}.badge.approved{background:#dbeafe}.badge.executed{background:#dcfce7}.badge.rejected,.badge.failed{background:#fee2e2}.badge.open{background:#dbeafe}.badge.waiting_human{background:#fef3c7}.badge.waiting_customer{background:#ede9fe}.badge.paused{background:#f3e8ff}.badge.resolved{background:#dcfce7}.badge.archived{background:#e5e7eb}.badge.low{background:#dcfce7}.badge.normal{background:#e5e7eb}.badge.high{background:#ffedd5}.badge.urgent{background:#fee2e2}.approve{background:#16a34a}.reject{background:#dc2626}.error{background:#fee2e2;color:#991b1b;padding:12px;border-radius:8px;margin-bottom:16px}.notice{background:#dcfce7;color:#166534;padding:12px;border-radius:8px;margin-bottom:16px}.workStatusBanner{position:sticky;top:0;z-index:10;display:flex;align-items:center;gap:10px;background:#111827;color:#fff;padding:12px 14px;border-radius:8px;margin-bottom:16px;box-shadow:0 8px 24px #1118272e}.spinner{width:18px;height:18px;border:3px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:999px;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.formRow{display:flex;gap:8px}.buttonRow{display:flex;gap:8px;flex-wrap:wrap}.formRow input,.formGrid input,.miniForm input,select,textarea{flex:1;padding:10px 12px;border-radius:8px;border:1px solid #d1d5db;min-width:0}.formColumn{display:flex;flex-direction:column;gap:10px;margin-top:12px}.formColumn textarea,.formGrid textarea,.miniForm textarea{min-height:88px;resize:vertical}.formGrid{display:grid;gap:10px;margin:12px 0}.formGrid label{display:grid;gap:6px;color:#374151;font-size:14px}.checkboxLabel{align-content:end;grid-template-columns:auto 1fr;align-items:center}.checkboxLabel input{width:18px;height:18px;flex:0}.miniForm{display:grid;gap:8px;margin:10px 0}.nextStepPanel,.customerPanel,.instructionPanel,.caseApprovalsPanel,.diagnosisPanel,.recommendedActionsPanel{display:flex;flex-direction:column;gap:8px}.nextStepPanel strong{font-size:16px}.nextStepPanel p,.instructionPanel p{margin:0;color:#4b5563}.recommendedActionsList{display:grid;gap:8px}.recommendedActionButton{width:100%;justify-content:flex-start;align-items:flex-start;text-align:left;background:#fff;color:#111827;border:1px solid #d1d5db}.recommendedActionButton svg{flex:0 0 auto;margin-top:2px}.recommendedActionButton span{display:grid;gap:2px}.recommendedActionButton small{color:#6b7280;line-height:1.35}.diagnosisPanel .markdownView{max-height:360px;overflow:auto;padding-right:4px}.aiAnalysisBlock{background:#111827;color:#e5e7eb;border-radius:8px;padding:12px;overflow:hidden}.aiAnalysisBlock summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;gap:12px;align-items:center}.aiAnalysisBlock summary::-webkit-details-marker{display:none}.aiAnalysisBlock summary span{color:#9ca3af;font-size:12px}.aiAnalysisBlock[open] summary{margin-bottom:10px}.aiAnalysisBlock .markdownView{margin-top:0;color:#e5e7eb}.aiAnalysisBlock .markdownView h4,.aiAnalysisBlock .markdownView h5,.aiAnalysisBlock .markdownView p,.aiAnalysisBlock .markdownView li{color:#e5e7eb}.aiAnalysisBlock .markdownView code{background:#374151;color:#f9fafb}.chatComposer{flex:0 0 auto;box-shadow:0 -8px 24px #11182714}.chatComposer textarea{min-height:76px;resize:vertical}.composerAttachments{display:flex;flex-wrap:wrap;gap:8px}.composerAttachment{display:inline-flex;align-items:center;gap:6px;max-width:100%;border:1px solid #d1d5db;border-radius:999px;background:#f9fafb;color:#374151;padding:4px 5px 4px 10px;font-size:13px}.composerAttachment .iconButton{width:24px;height:24px;border-radius:999px}.iconUploadButton{width:40px;min-height:40px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;border:1px solid #d1d5db;background:#f3f4f6;color:#111827;cursor:pointer}.iconUploadButton input{display:none}.iconUploadButton.disabled{opacity:.5;cursor:not-allowed}.customerSummary{display:grid;gap:5px;padding:10px;background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px}.customerSummary span{color:#4b5563;overflow-wrap:anywhere}.missingList{margin:0;padding-left:18px;color:#7c2d12}.approvalHint{margin:0;color:#92400e;background:#fef3c7;border-radius:8px;padding:8px}.notes{display:grid;gap:10px;max-height:260px;overflow:auto}.note{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:10px}.noteHeader{display:flex;justify-content:space-between;align-items:center;gap:8px}.iconButton{width:32px;height:32px;padding:0;background:#fff;color:#374151;border:1px solid #d1d5db;flex:0 0 auto}.iconButton:hover{background:#f3f4f6}.note small{color:#6b7280}.inlineAttachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.inlineAttachment{display:inline-flex;align-items:center;gap:8px;max-width:100%;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#111827;padding:6px 8px;text-decoration:none;font-weight:700;cursor:pointer}.inlineAttachment img{width:52px;height:40px;object-fit:cover;border-radius:6px;background:#111827}.inlineAttachment span{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.markdownView{display:grid;gap:8px;margin-top:6px;color:#111827}.markdownView h4,.markdownView h5{margin:8px 0 0;font-size:14px}.markdownView h4:first-child,.markdownView h5:first-child{margin-top:0}.markdownView p{margin:0;line-height:1.45}.markdownView ul{margin:0;padding-left:18px;display:grid;gap:3px}.markdownView code{background:#e5e7eb;border-radius:6px;padding:1px 5px}.markdownView a{color:#1d4ed8;font-weight:700;overflow-wrap:anywhere}.markdownView pre{margin:0;max-height:220px}.muted{color:#6b7280;margin:0}.attachments{display:grid;gap:10px}.attachment{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:10px;display:grid;gap:8px}.attachment header{display:flex;justify-content:space-between;align-items:center;gap:8px}.attachment span{color:#6b7280;overflow-wrap:anywhere}.attachment p{margin:0}.attachment img,.attachment video{width:100%;max-height:220px;object-fit:contain;background:#111827;border-radius:8px}.attachment audio{width:100%}.attachment a{color:#111827;font-weight:700}.fileUploadButton{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:40px;margin-bottom:10px;border-radius:8px;background:#f3f4f6;color:#111827;border:1px dashed #9ca3af;cursor:pointer}.fileUploadButton input{display:none}.fileUploadButton.disabled{opacity:.55;cursor:not-allowed}.newCaseAttachments{display:grid;gap:8px}.tasks{display:grid;gap:10px}.task{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:10px;display:grid;gap:8px}.task header{display:flex;justify-content:space-between;align-items:center;gap:8px}.task span{color:#6b7280;overflow-wrap:anywhere}.task p{margin:0}.task small{color:#6b7280}.taskResult{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:10px;display:grid;gap:6px}.taskResult span{color:#6b7280}.taskResult ul{margin:0;padding-left:18px;color:#374151}.taskDetails{padding:0;overflow:hidden}.taskDetails summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px}.taskDetails summary::-webkit-details-marker{display:none}.taskDetails summary span{display:grid;gap:2px}.taskDetails summary small{color:#6b7280}.taskDetails .tasks{border-top:1px solid #e5e7eb;padding:16px}.workerLogs{display:grid;gap:10px;margin-top:14px}.workerLogs h4{margin:0;font-size:14px}.activityTimeline{position:relative}.activityMessage{display:grid;grid-template-columns:30px minmax(0,1fr);gap:10px;align-items:start}.activityMessage.human{grid-template-columns:minmax(0,1fr) 30px}.activityMessage.human .activityAvatar{grid-column:2;grid-row:1}.activityMessage.human .activityBubble,.activityMessage.human .activityDetails{grid-column:1;grid-row:1}.activityAvatar{width:30px;height:30px;border-radius:999px;display:grid;place-items:center;background:#eef2ff;color:#111827;font-size:12px;font-weight:800;border:1px solid #dbe3ff}.activityMessage.codex .activityAvatar{background:#dcfce7;border-color:#bbf7d0}.activityMessage.human .activityAvatar{background:#dbeafe;border-color:#bfdbfe}.activityMessage.orchestrator .activityAvatar{background:#fef3c7;border-color:#fde68a}.activityMessage.system .activityAvatar{background:#f3f4f6;border-color:#e5e7eb}.activityBubble{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:10px;min-width:0}.activityDetails{cursor:pointer}.activityDetails summary{list-style:none}.activityDetails summary::-webkit-details-marker{display:none}.activityAnalysis{margin-top:10px;border-top:1px solid #374151;padding-top:10px;max-height:360px;overflow:auto}.traceView{display:grid;gap:12px;margin-top:10px;border-top:1px solid #374151;padding-top:10px}.traceSection{display:grid;gap:8px}.traceSection>strong{color:#f9fafb}.traceEvents{display:grid;gap:8px}.traceNote{border-left:2px solid #6b7280;padding:2px 0 2px 10px}.traceNote .markdownView{margin-top:0;gap:6px}.traceNote .markdownView p,.traceNote .markdownView li{color:#e5e7eb}.traceCommand{border:1px solid #374151;border-radius:8px;background:#0b1220;overflow:hidden}.traceCommand summary{list-style:none;padding:8px 10px;cursor:pointer}.traceCommand summary::-webkit-details-marker{display:none}.traceCommand code{background:#1f2937;color:#f9fafb;border-radius:6px;padding:2px 6px}.traceCommand pre{margin:0;border-top:1px solid #374151;padding:10px;color:#e5e7eb;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.45}.traceSection small{color:#9ca3af}.activityHeader{display:flex;justify-content:space-between;gap:8px;align-items:baseline;margin-bottom:4px}.activityHeader small{color:#6b7280;white-space:nowrap}.activityBubble .markdownView{margin-top:0;gap:4px}.activityMessage.codex .activityBubble{background:#111827;border-color:#111827;color:#e5e7eb}.activityMessage.codex .activityBubble .markdownView,.activityMessage.codex .activityBubble .markdownView p,.activityMessage.codex .activityBubble .markdownView li{color:#e5e7eb}.activityMessage.codex .activityBubble .markdownView code{background:#374151;color:#f9fafb}.activityMessage.codex .activityHeader small{color:#9ca3af}.activityRunMeta{display:grid;gap:6px;margin-top:10px;border-top:1px solid #374151;padding-top:10px}.activityRunMeta span{color:#d1d5db;font-size:12px;line-height:1.35}.activityMessage.human .activityBubble{background:#eff6ff;border-color:#bfdbfe}.activityChips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.activityChips span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-radius:999px;background:#f3f4f6;color:#4b5563;padding:3px 8px;font-size:12px}.consoleLogGroup{border:1px solid #111827;border-radius:8px;background:#111827;color:#e5e7eb;overflow:hidden}.consoleLogGroup summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:8px;padding:10px;min-height:42px}.consoleLogGroup summary::-webkit-details-marker{display:none}.consoleLogGroup summary svg{color:#9ca3af;flex:0 0 auto;transition:transform .15s ease}.consoleLogGroup[open] summary svg{transform:rotate(90deg)}.consoleLogGroup summary span{display:grid;gap:2px;min-width:0}.consoleLogGroup summary strong{color:#f9fafb}.consoleLogGroup summary small{color:#9ca3af;overflow-wrap:anywhere}.consoleLogBody{max-height:280px;overflow:auto;border-top:1px solid #374151;padding:10px;background:#0b1220}.consoleLogBody .markdownView{margin-top:0;color:#e5e7eb;gap:6px}.consoleLogBody .markdownView h4,.consoleLogBody .markdownView h5{color:#f9fafb}.consoleLogBody .markdownView p,.consoleLogBody .markdownView li{color:#e5e7eb}.consoleLogBody .markdownView code{background:#1f2937;color:#f9fafb}.consoleLogBody .markdownView pre{margin:0;max-height:none;overflow:visible;border:1px solid #374151;border-radius:8px;padding:10px;background:#020617;color:#e5e7eb;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,monospace;font-size:12px;line-height:1.45}.consoleLogTruncated{margin:0;padding:8px 10px;border-top:1px solid #374151;color:#d1d5db;background:#172033;font-size:12px}.activityEmpty{margin-top:12px}.customers{display:grid;gap:8px;margin-top:14px}.customer{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:10px;display:grid;gap:4px}.customer span,.customer small{color:#6b7280;overflow-wrap:anywhere}.customersPage{display:grid;gap:16px}.tableWrap{width:100%;max-width:100%;min-width:0;overflow:auto;border:1px solid #e5e7eb;border-radius:8px}.dataTable{width:100%;border-collapse:collapse;min-width:1320px}.dataTable th,.dataTable td{padding:12px 14px;border-bottom:1px solid #e5e7eb;text-align:left;vertical-align:middle}.dataTable th{color:#374151;font-size:13px;background:#f9fafb}.dataTable tbody tr:hover{background:#f9fafb}.truncateCell{max-width:260px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tableActions{width:1%;white-space:nowrap}.modalBackdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#11182773;display:grid;place-items:center;padding:24px;z-index:20}.modal{width:min(920px,100%);max-height:calc(100vh - 48px);overflow:auto;background:#fff;border-radius:8px;border:1px solid #e5e7eb;padding:20px;box-shadow:0 24px 80px #11182740}.modalHeader,.modalActions{display:flex;justify-content:space-between;align-items:center;gap:12px}.modalHeader h2{margin:0}.modalActions{margin-top:16px}.customerModalGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.fullSpan,.resultPanel{grid-column:1 / -1}body[data-theme=dark]{background:#141414;color:#f5f5f5}body[data-theme=dark] .main{background:#141414}body[data-theme=dark] .sidebar,body[data-theme=dark] .workStatusBanner,body[data-theme=dark] button{background:#0f1115;color:#f5f5f5}body[data-theme=dark] .nav.active,body[data-theme=dark] .secondary{background:#2b2b2b;color:#f5f5f5}body[data-theme=dark] .panel,body[data-theme=dark] .modal,body[data-theme=dark] .item,body[data-theme=dark] .customerSummary,body[data-theme=dark] .customerStrip,body[data-theme=dark] .note,body[data-theme=dark] .attachment,body[data-theme=dark] .task,body[data-theme=dark] .taskResult,body[data-theme=dark] .activityBubble,body[data-theme=dark] .recommendedActionButton{background:#1f1f1f;border-color:#383838;color:#f5f5f5}body[data-theme=dark] .item.selected{background:#292929;border-color:#f5f5f5}body[data-theme=dark] .messages,body[data-theme=dark] .scope,body[data-theme=dark] .dataTable th,body[data-theme=dark] .detailTabs,body[data-theme=dark] .fileUploadButton,body[data-theme=dark] .iconUploadButton,body[data-theme=dark] .iconButton,body[data-theme=dark] .mutedButton{background:#262626;border-color:#454545;color:#f5f5f5}body[data-theme=dark] input,body[data-theme=dark] select,body[data-theme=dark] textarea{background:#171717;border-color:#454545;color:#f5f5f5}body[data-theme=dark] input::placeholder,body[data-theme=dark] textarea::placeholder{color:#a3a3a3}body[data-theme=dark] .bubble.inbound{background:#2a2a2a}body[data-theme=dark] .bubble.outbound{background:#123525}body[data-theme=dark] .approvalBody,body[data-theme=dark] .tableWrap,body[data-theme=dark] .dataTable th,body[data-theme=dark] .dataTable td{border-color:#383838}body[data-theme=dark] .dataTable tbody tr:hover{background:#292929}body[data-theme=dark] .markdownView,body[data-theme=dark] .markdownView p,body[data-theme=dark] .markdownView li,body[data-theme=dark] .panelHeader p,body[data-theme=dark] .nextStepPanel p,body[data-theme=dark] .instructionPanel p,body[data-theme=dark] .itemTop,body[data-theme=dark] .item strong,body[data-theme=dark] .activityBubble{color:#f5f5f5!important}body[data-theme=dark] .muted,body[data-theme=dark] .item span,body[data-theme=dark] .item small,body[data-theme=dark] .approval span,body[data-theme=dark] .approvalMini span,body[data-theme=dark] .customerSummary span,body[data-theme=dark] .attachment span,body[data-theme=dark] .task span,body[data-theme=dark] .task small,body[data-theme=dark] .activityHeader small,body[data-theme=dark] .activityChips span,body[data-theme=dark] .customerStripIdentity span,body[data-theme=dark] .customerStripIdentity small,body[data-theme=dark] .composerAttachment,body[data-theme=dark] .bubble small,body[data-theme=dark] .panelHeaderActions span{color:#b8b8b8!important}body[data-theme=dark] .activityAvatar,body[data-theme=dark] .activityChips span,body[data-theme=dark] .composerAttachment,body[data-theme=dark] .inlineAttachment{background:#2b2b2b;border-color:#454545}body[data-theme=dark] .inlineAttachment{color:#f5f5f5}body[data-theme=dark] .detailTabs button{color:#b8b8b8}body[data-theme=dark] .detailTabs button.active{background:#f5f5f5;color:#111827}body[data-theme=dark] .taskDetails .tasks{border-color:#383838}body[data-theme=dark] .approvalPreviewText,body[data-theme=dark] .approvalMetaItem,body[data-theme=dark] .approvalPreviewDetails,body[data-theme=dark] .approvalPreviewDetails summary{background:#242424;border-color:#383838}body[data-theme=dark] .approvalPreviewText p{color:#f5f5f5}body[data-theme=dark] .approvalMetaItem code{background:#3a3a3a;color:#f5f5f5}body[data-theme=dark] .markdownView code,body[data-theme=dark] .badge{background:#3a3a3a;color:#f5f5f5!important}body[data-theme=dark] .markdownView a{color:#93c5fd}body[data-theme=dark] .notice{background:#123525;color:#bbf7d0}body[data-theme=dark] .error{background:#421818;color:#fecaca}@media (max-width: 900px){body{overflow:auto}.app{flex-direction:column;min-height:100vh;height:auto;overflow:visible}.sidebar{width:100%;flex-direction:row;overflow:auto;align-items:center;height:auto;padding:12px;gap:8px}.brand{margin-bottom:0;min-width:220px}.main{height:auto;min-height:calc(100vh - 76px);padding:12px;overflow:visible}.panel{padding:14px}.caseHeader{align-items:flex-start;flex-direction:column}.caseActions{width:100%;flex-wrap:wrap}.caseActions button{flex:1 1 130px}.sidebarFooter{margin-top:0;display:flex;gap:8px}.grid,.caseGrid,.detailGrid,.toolsGrid,.approvalData,.caseWorkbench,.customerModalGrid{grid-template-columns:1fr}.ticketListPanel{max-width:none}.caseFilters{grid-template-columns:1fr}.sideStack,.conversation,.developerProcessScroll{max-height:none;overflow:visible}.modalBackdrop{align-items:start}.listPanel{max-height:none}.bubble{max-width:90%}.messages{min-height:280px}.customerStrip{align-items:stretch;flex-direction:column}.customerStrip button{width:100%}.approvalSummary{align-items:flex-start}}
