:root{color-scheme:light;--primary: #ea3943;--primary-hover: #d32f38;--primary-light: #fef2f2;--primary-dark: #b91c1c;--header-bg: #243048;--bg-main: #f8fafc;--bg-surface: #ffffff;--bg-subtle: #f1f5f9;--bg-card: #f8fafc;--bg-hover: #f1f5f9;--border: #e2e8f0;--border-light: #f1f5f9;--text-main: #0f172a;--text-muted: #64748b;--text-dim: #94a3b8;--radius: 6px;--shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--room-active-bg: #eef2f6;--room-hover-bg: #f8fafc;--msg-hover-bg: #f8fafc;--input-bg: #ffffff;--scrollbar-thumb: #cbd5e1;--scrollbar-thumb-hover: #94a3b8;--cw-box-bg: #ffffff;--cw-box-border: #cbd5e1;--cw-quote-bg: #f8fafc;--cw-quote-border: #94a3b8;--msg-me-bg: #fef2f2;--msg-me-border: #fecdd3}[data-theme=dark]{color-scheme:dark;--primary: #ea3943;--primary-hover: #f87171;--primary-light: #2d181c;--primary-dark: #b91c1c;--header-bg: #162032;--bg-main: #0b0f19;--bg-surface: #1e293b;--bg-subtle: #162032;--bg-card: #162032;--bg-hover: #26354f;--border: #334155;--border-light: #243049;--text-main: #f8fafc;--text-muted: #94a3b8;--text-dim: #64748b;--shadow: 0 1px 3px 0 rgb(0 0 0 / .5), 0 1px 2px -1px rgb(0 0 0 / .5);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .6), 0 4px 6px -4px rgb(0 0 0 / .6);--room-active-bg: #26354f;--room-hover-bg: #1b263b;--msg-hover-bg: #131b2e;--input-bg: #131b2e;--scrollbar-thumb: #475569;--scrollbar-thumb-hover: #64748b;--cw-box-bg: #162032;--cw-box-border: #334155;--cw-quote-bg: #131b2e;--cw-quote-border: #475569;--msg-me-bg: #2d181c;--msg-me-border: #58252c}*{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;height:100dvh;width:100%;margin:0;padding:0;overflow:hidden;position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--bg-main);color:var(--text-main)}#root{height:100%;width:100%;overflow:hidden;position:relative;display:flex;flex-direction:column}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Hiragino Sans,Noto Sans JP,sans-serif;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,textarea,select{font-family:inherit}.cw-room-item{transition:background-color .1s ease}.cw-room-item:hover{background-color:var(--room-hover-bg)}.cw-room-item.active{background-color:var(--room-active-bg)!important}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--scrollbar-thumb);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover)}.cw-message-row{position:relative;transition:background-color .12s ease}.cw-message-row:hover{background-color:var(--msg-hover-bg, var(--bg-hover))}.cw-message-bubble-wrapper{position:relative;display:inline-block;max-width:96%}@media (max-width: 640px){.cw-message-stream{padding:.5rem .5rem 2.25rem!important}.cw-message-row{padding:.2rem .15rem!important}.cw-message-bubble-wrapper{max-width:99%}}.cw-message-bubble{background-color:var(--bg-surface);padding:.4rem .75rem;border-radius:2px 8px 8px;border:1px solid var(--border);box-shadow:0 1px 2px #0000000a;display:inline-block;max-width:100%;overflow-wrap:anywhere;word-break:break-word;color:var(--text-main);box-sizing:border-box;font-size:.875rem;line-height:1.48;text-align:left;transition:border-color .15s ease,box-shadow .15s ease}.cw-message-row.is-me .cw-message-bubble{background-color:var(--msg-me-bg);border-color:var(--msg-me-border);border-radius:8px 2px 8px 8px}.cw-message-bubble-wrapper:hover .cw-message-bubble,.cw-message-bubble-wrapper.is-active .cw-message-bubble{border-color:#94a3b8;box-shadow:0 2px 5px #00000014}.cw-message-row.is-me .cw-message-bubble-wrapper:hover .cw-message-bubble,.cw-message-row.is-me .cw-message-bubble-wrapper.is-active .cw-message-bubble{border-color:#f87171}.cw-message-actions{position:absolute;top:calc(100% - 5px);left:6px;z-index:35;display:flex;align-items:center;gap:2px;background-color:var(--bg-surface);border:1px solid var(--border);border-radius:6px;padding:2px 4px;box-shadow:0 4px 14px #00000026;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .15s ease,transform .15s ease;transform:translateY(-2px);white-space:nowrap}.cw-message-row.is-me .cw-message-actions{left:auto;right:6px}.cw-message-bubble-wrapper:hover .cw-message-actions,.cw-message-bubble-wrapper.is-active .cw-message-actions,.cw-message-bubble-wrapper.has-popover .cw-message-actions{opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:translateY(0)}.cw-action-btn{background:none;border:none;padding:2px 5px;font-size:.72rem;color:var(--text-muted);cursor:pointer;display:flex;align-items:center;gap:2px;border-radius:4px;transition:background-color .1s ease,color .1s ease}.cw-action-btn:hover{background-color:var(--bg-subtle);color:var(--text-main)}.cw-reaction-popover{position:absolute;top:calc(100% + 24px);left:6px;z-index:40;display:flex;flex-wrap:wrap;width:max-content;max-width:260px;gap:4px;background-color:var(--bg-surface);border:1px solid var(--border);border-radius:14px;padding:6px 8px;box-shadow:0 6px 16px #0000002e}.cw-message-row.is-me .cw-reaction-popover{left:auto;right:6px}.cw-mention-tag{transition:background-color .15s ease}.cw-mention-tag:hover{background-color:#d7eeda!important}.cw-message-content{white-space:pre-wrap;word-break:break-word;line-height:1.6}.cw-quote-box{white-space:pre-wrap;word-break:break-word}.cw-quote-body,.cw-blockquote,.cw-info-body{white-space:pre-wrap;word-break:break-word;line-height:1.6}.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem 1rem;font-size:.875rem;font-weight:500;border-radius:var(--radius);border:1px solid transparent;cursor:pointer;transition:all .15s ease}.btn-primary{background-color:var(--primary);color:#fff}.btn-primary:hover{background-color:var(--primary-hover)}.btn-outline{background-color:transparent;border-color:var(--border);color:var(--text-main)}.btn-outline:hover{background-color:var(--bg-hover)}.input,.textarea{width:100%;padding:.5rem .75rem;font-size:.875rem;border:1px solid var(--border);border-radius:var(--radius);background-color:var(--input-bg);color:var(--text-main);outline:none}.input:focus,.textarea:focus{border-color:var(--primary);box-shadow:0 0 0 2px #ea394333}.cw-app-container{height:100%;width:100%;display:flex;flex-direction:column;overflow:hidden;position:relative}.cw-top-header{flex-shrink:0!important;min-height:52px;height:52px;box-sizing:border-box;position:relative;top:0;left:0;right:0}.cw-header-desktop{display:flex!important;align-items:center;justify-content:space-between;width:100%;height:52px}.cw-header-mobile{display:none!important}@media (max-width: 768px){.cw-top-header{height:auto!important;min-height:0!important;padding:.4rem .65rem!important;max-width:100vw!important}.cw-header-desktop{display:none!important}.cw-header-mobile{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:center!important;gap:.38rem!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important}}.cw-main-workspace.is-three-pane>.cw-left-col-wrapper{width:25%!important;flex:0 0 25%!important;max-width:25%!important}.cw-main-workspace.is-three-pane>.cw-center-col-wrapper{width:50%!important;flex:0 0 50%!important;max-width:50%!important}.cw-main-workspace.is-three-pane>.cw-right-col-wrapper{width:25%!important;flex:0 0 25%!important;max-width:25%!important}@media (min-width: 769px) and (max-width: 1023px){.cw-left-col-wrapper{width:35%!important;max-width:35%!important}}@media (max-width: 1024px){.cw-hide-tablet{display:none!important}}@media (max-width: 768px){.cw-hide-mobile{display:none!important}.cw-task-panel{width:90vw!important;max-width:90vw!important}.cw-task-panel-header{padding-left:5%!important;padding-right:5%!important}.cw-task-panel-body{padding:.75rem 0!important}.cw-task-panel-inner{width:90%!important;max-width:90%!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important}}@media (max-width: 640px){.app-install-text{display:none!important}}@media (max-width: 480px){.cw-hide-sm{display:none!important}}.cw-task-panel{container-type:inline-size}.cw-task-panel-backdrop{display:none}@media (max-width: 1024px){.cw-task-panel-backdrop{display:block;position:absolute;top:0;right:0;bottom:0;left:0;background-color:#00000073;z-index:45}}@container (max-width: 310px){.cw-task-tab-text{display:none!important}.cw-task-tab-btn{padding:.4rem .55rem!important}}
