.language-toggle{display:inline-flex;align-items:stretch;border:1px solid #cbd5e1;border-radius:9999px;overflow:hidden;background:#fff;flex-shrink:0}.language-toggle__segment{min-width:52px;padding:6px 14px;border:none;border-right:1px solid #cbd5e1;background:#fff;color:#0f172a;font-size:14px;font-weight:500;line-height:1.2;cursor:pointer;transition:background .15s ease}.language-toggle__segment:last-child{border-right:none}.language-toggle__segment:hover:not(.language-toggle__segment--active){background:#f8fafc}.language-toggle__segment--active{background:#dbeafe;color:#0f172a}.language-toggle__segment:focus-visible{outline:2px solid #38bdf8;outline-offset:-2px;z-index:1}.cs-workbench{display:flex;margin:-1.5rem;height:calc(100vh - 57px);min-height:640px;min-width:1100px;font-size:14px;color:#111827;background:#f5f6f8}.cs-col-left{width:300px;flex-shrink:0;background:#fff;border-right:1px solid #e5e7eb;display:flex;flex-direction:column;overflow:hidden}.cs-col-left-header{padding:14px 14px 10px;border-bottom:1px solid #e5e7eb}.cs-col-left-header h2{font-size:15px;font-weight:600;margin:0 0 10px}.cs-total{font-size:11px;color:#6b7280;margin:0 0 8px}.cs-chip-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.cs-chip-row:last-child{margin-bottom:0}.cs-chip-label{font-size:11px;color:#6b7280;width:100%;margin-bottom:2px}.cs-chip{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #e5e7eb;background:#f9fafb;color:#374151;padding:3px 10px;border-radius:999px;font-size:12px;cursor:pointer;font-family:inherit}.cs-chip:hover{border-color:#93c5fd}.cs-chip.active{background:#2563eb;border-color:#2563eb;color:#fff}.cs-queue-list{flex:1;overflow-y:auto;list-style:none;margin:0;padding:0}.cs-queue-item{padding:12px 14px;border-bottom:1px solid #f3f4f6;cursor:pointer;position:relative}.cs-queue-item:hover{background:#f9fafb}.cs-queue-item.selected{background:#eff6ff;border-left:3px solid #2563eb;padding-left:11px}.cs-queue-item.operator{background:#f3f4f6}.cs-queue-item.operator.selected{background:#e5e7eb;border-left-color:#6b7280}.cs-qi-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:4px}.cs-qi-topic{font-weight:600;font-size:13px;line-height:1.35;flex:1}.cs-qi-meta{display:flex;flex-wrap:wrap;gap:4px;align-items:center;margin-bottom:4px}.cs-qi-order{font-size:11px;color:#6b7280;font-family:ui-monospace,Consolas,monospace}.cs-qi-badges{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.cs-qi-reopen{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid #d1d5db;background:#fff;color:#374151;font-size:11px;padding:2px 8px;border-radius:4px;cursor:pointer;font-family:inherit;line-height:1.35}.cs-qi-reopen:hover:not(:disabled){border-color:#2563eb;color:#2563eb}.cs-qi-reopen:disabled{opacity:.5;cursor:not-allowed}.cs-bulk-close{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;margin-top:4px;margin-bottom:4px;border:1px solid #fca5a5;background:#fef2f2;color:#b91c1c;font-size:12px;padding:6px 10px;border-radius:6px;cursor:pointer;font-family:inherit;text-align:center}.cs-bulk-close:hover:not(:disabled){background:#fee2e2;border-color:#f87171}.cs-bulk-close:disabled{opacity:.5;cursor:not-allowed}.cs-thread-close{margin-left:auto}.cs-badge{display:inline-block;padding:2px 7px;border-radius:4px;font-size:11px;font-weight:600;white-space:nowrap;line-height:1.4}.cs-badge-channel{background:#e0e7ff;color:#3730a3}.cs-badge-channel.kohls{background:#fce7f3;color:#9d174d}.cs-badge-channel.pp{background:#d1fae5;color:#065f46}.cs-badge-sla-red{background:#fee2e2;color:#dc2626}.cs-badge-sla-yellow{background:#fef3c7;color:#d97706}.cs-badge-sla-green{background:#dcfce7;color:#16a34a}.cs-badge-notify{background:#e5e7eb;color:#4b5563}.cs-load-more{display:block;width:100%;padding:12px;border:none;background:#f9fafb;color:#2563eb;font-size:13px;font-weight:600;cursor:pointer;border-top:1px solid #e5e7eb}.cs-load-more:disabled{color:#9ca3af;cursor:default}.cs-col-mid{flex:1;min-width:0;display:flex;flex-direction:column;background:#f5f6f8}.cs-thread-header{padding:12px 20px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.cs-thread-header h2{font-size:16px;font-weight:600;margin:0}.cs-order-ref{font-size:12px;color:#6b7280;font-family:ui-monospace,Consolas,monospace}.cs-thread-body{flex:1;overflow-y:auto;padding:20px;display:flex;flex-direction:column;gap:14px}.cs-empty-mid{flex:1;display:flex;align-items:center;justify-content:center;color:#9ca3af;font-size:14px;padding:40px;text-align:center}.cs-bubble-row{display:flex;flex-direction:column;max-width:72%}.cs-bubble-row.guest{align-self:flex-start}.cs-bubble-row.shop{align-self:flex-end;align-items:flex-end}.cs-bubble-row.operator{align-self:flex-start}.cs-bubble-row.system{align-self:center;max-width:90%;text-align:center}.cs-bubble{padding:10px 14px;border-radius:12px;line-height:1.55;font-size:13.5px;white-space:pre-wrap}.cs-bubble-row.guest .cs-bubble{background:#fff;border:1px solid #e5e7eb;border-bottom-left-radius:4px}.cs-bubble-row.shop .cs-bubble{background:#2563eb;color:#fff;border-bottom-right-radius:4px}.cs-bubble-row.operator .cs-bubble{background:#e5e7eb;color:#374151;border-bottom-left-radius:4px}.cs-bubble-row.system .cs-bubble{background:transparent;color:#9ca3af;font-size:12px;padding:4px 8px}.cs-bubble-meta{font-size:11px;color:#9ca3af;margin-top:4px;padding:0 4px}.cs-bubble-who{font-size:11px;color:#6b7280;margin-bottom:3px;padding:0 4px;display:flex;align-items:center;gap:6px}.cs-operator-tag{display:inline-block;padding:1px 6px;border-radius:4px;background:#d1d5db;color:#374151;font-size:10px;font-weight:700}.cs-reply-editor{background:#fff;border-top:1px solid #e5e7eb;padding:12px 16px 14px}.cs-reply-editor textarea{width:100%;height:88px;resize:vertical;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px;font-family:inherit;font-size:13.5px;line-height:1.5;color:#111827;outline:none;box-sizing:border-box}.cs-reply-editor textarea:focus{border-color:#93c5fd;box-shadow:0 0 0 3px #2563eb1f}.cs-reply-actions{display:flex;align-items:center;gap:10px;margin-top:10px}.cs-reply-actions select{border:1px solid #e5e7eb;border-radius:6px;padding:7px 10px;font-family:inherit;font-size:13px;color:#374151;background:#fff}.cs-reply-actions .spacer{flex:1}.cs-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:1px solid transparent;border-radius:6px;padding:8px 16px;font-size:13px;font-weight:600;cursor:pointer;font-family:inherit;line-height:1.3}.cs-btn:disabled{opacity:.55;cursor:not-allowed}.cs-btn-primary{background:#2563eb;color:#fff}.cs-btn-primary:hover:not(:disabled){background:#1d4ed8}.cs-btn-success{background:#16a34a;color:#fff}.cs-btn-success:hover:not(:disabled){background:#15803d}.cs-btn-secondary{background:#fff;border-color:#e5e7eb;color:#374151}.cs-btn-secondary:hover:not(:disabled){background:#f9fafb}.cs-btn-danger-outline{background:#fff;border-color:#fecaca;color:#dc2626}.cs-btn-danger-outline:hover:not(:disabled){background:#fef2f2}.cs-btn-ghost{background:transparent;border-color:transparent;color:#6b7280;padding:4px 8px;font-size:12px;font-weight:600}.cs-btn-ghost:hover:not(:disabled){color:#2563eb;background:#eff6ff}.cs-reply-error{margin-top:8px;font-size:12px;color:#dc2626}.cs-col-right{width:380px;flex-shrink:0;background:#fff;border-left:1px solid #e5e7eb;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:14px}.cs-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:14px}.cs-card h3{font-size:13px;font-weight:600;color:#374151;margin:0 0 10px}.cs-card-row{display:flex;justify-content:space-between;gap:8px;font-size:13px;margin-bottom:6px;line-height:1.4}.cs-card-row:last-child{margin-bottom:0}.cs-card-row .k{color:#6b7280;flex-shrink:0}.cs-card-row .v{text-align:right;color:#111827;word-break:break-all}.cs-card-row .v.mono{font-family:ui-monospace,Consolas,monospace;font-size:12px}.cs-status-pill{display:inline-block;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:600;background:#dbeafe;color:#1d4ed8}.cs-divider{height:1px;background:#f3f4f6;margin:10px 0}.cs-line-item{font-size:12px;line-height:1.45;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #f3f4f6}.cs-line-item:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}.cs-line-title{font-weight:600;color:#111827;margin-bottom:2px}.cs-line-meta{color:#6b7280;font-family:ui-monospace,Consolas,monospace;font-size:11px}.cs-muted{color:#6b7280}.cs-ai-placeholder{border-color:#e5e7eb;background:#f9fafb;color:#9ca3af;font-size:13px;text-align:center;padding:18px 14px}.cs-ai-card{border-color:#bfdbfe;background:linear-gradient(180deg,#eff6ff,#fff 48px);position:relative}.cs-ai-card.uncertain{border-color:#fdba74;background:#fffbeb}.cs-ai-card-toolbar{display:flex;justify-content:flex-end;margin:-4px 0 6px}.cs-ai-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.cs-intent-tag{display:inline-flex;align-items:center;gap:4px;background:#dbeafe;color:#1e40af;font-size:12px;font-weight:700;padding:4px 10px;border-radius:6px}.cs-internal-note{background:#f3f4f6;border-left:3px solid #9ca3af;border-radius:0 6px 6px 0;padding:8px 10px;margin:0 0 10px}.cs-internal-note-label{font-size:11px;font-weight:700;color:#6b7280;margin-bottom:4px;letter-spacing:.01em}.cs-internal-note-body{font-size:12.5px;line-height:1.5;color:#374151;white-space:pre-wrap;word-break:break-word}.cs-confidence{flex:1;max-width:140px}.cs-confidence-label{display:flex;justify-content:space-between;font-size:11px;color:#6b7280;margin-bottom:3px}.cs-confidence-bar{height:6px;background:#e5e7eb;border-radius:999px;overflow:hidden}.cs-confidence-bar>span{display:block;height:100%;background:#16a34a;border-radius:999px}.cs-confidence-bar.low>span{background:#d97706}.cs-evidence{background:#f9fafb;border:1px solid #f3f4f6;border-radius:6px;padding:8px 10px;margin:0 0 10px;list-style:none}.cs-evidence li{font-size:11.5px;color:#6b7280;padding:2px 0 2px 14px;position:relative;line-height:1.45}.cs-evidence li:before{content:"·";position:absolute;left:2px;color:#9ca3af;font-weight:700}.cs-draft-body{font-size:13px;line-height:1.55;color:#111827;background:#fff;border:1px solid #e5e7eb;border-radius:6px;padding:10px 12px;margin-bottom:6px;white-space:pre-wrap;word-break:break-word}.cs-ai-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.cs-ai-actions .cs-btn{flex:1;min-width:90px;text-align:center;padding:7px 10px;font-size:12px}.cs-ai-footnote{margin-top:10px;font-size:11px;color:#9ca3af;line-height:1.4}.cs-ai-uncertain-title{margin:0 0 8px;font-size:14px;font-weight:700;color:#c2410c}.cs-uncertain-explain{font-size:13px;line-height:1.5;color:#374151;margin-bottom:10px}.cs-cat-choices{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.cs-cat-choices .cs-chip{background:#fff}.cs-cat-choices .cs-chip:hover:not(:disabled){border-color:#f59e0b}.cs-cat-choices .cs-chip:disabled{opacity:.55;cursor:not-allowed}.cs-draft-note{font-size:11px;color:#d97706;margin-top:8px}.cs-ai-missing{font-size:13px;color:#374151;line-height:1.5;margin-bottom:8px}.cs-ai-handwrite-hint{font-size:12px;color:#6b7280}.cs-ai-disabled{color:#9ca3af;font-size:13px;text-align:center;padding:8px 4px}.cs-ai-error{font-size:12.5px;color:#b45309;line-height:1.45;margin-bottom:10px}.cs-ai-rejected{border-color:#e5e7eb;background:#f9fafb;color:#6b7280;font-size:12.5px;padding:10px 12px}.cs-context-warn{font-size:12px;color:#d97706;background:#fffbeb;border:1px solid #fde68a;border-radius:8px;padding:10px 12px;line-height:1.45}.cs-dash-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:1.5rem}.cs-dash-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:20px 22px;min-height:160px;display:flex;flex-direction:column}.cs-dash-card.alert{border-color:#fecaca;background:linear-gradient(180deg,#fef2f2,#fff 56px)}.cs-dash-card.ok{border-color:#bbf7d0;background:linear-gradient(180deg,#f0fdf4,#fff 56px)}.cs-dash-card .title{font-size:14px;font-weight:600;color:#374151;margin-bottom:8px}.cs-dash-card.alert .title{color:#dc2626}.cs-dash-card.ok .title{color:#16a34a}.cs-dash-card .big-num{font-size:48px;font-weight:700;line-height:1.1;color:#dc2626;margin-bottom:8px}.cs-dash-card.ok .big-num{color:#16a34a;font-size:40px}.cs-dash-card .sub{font-size:13px;color:#6b7280;line-height:1.5;flex:1}.cs-dash-card .stats{display:flex;flex-direction:column;gap:10px;margin-top:8px;flex:1}.cs-dash-card .stat-line{display:flex;justify-content:space-between;font-size:14px}.cs-dash-card .stat-line .n{font-weight:700;font-size:20px;color:#111827}.cs-dash-card .stat-line .l{color:#6b7280}.cs-dash-card .cs-btn{align-self:flex-start;margin-top:14px}@media (max-width: 900px){.cs-dash-grid{grid-template-columns:1fr}}*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:14px;line-height:1.5;color:#1a1a1a;background:#f5f5f5}#root{min-height:100vh}a{color:#2563eb;text-decoration:none}a:hover{text-decoration:underline}button{font:inherit;cursor:pointer}input,select,textarea{font:inherit}
