@font-face{font-family:system-ui;src:local("Pretendard")}*{box-sizing:border-box}body{margin:0;color:#23343b;background:#f6f7f5;font-family:Inter,Pretendard,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans KR",sans-serif;font-size:14px;line-height:1.55}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}button:disabled{cursor:wait;opacity:.48}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:28px;letter-spacing:-1.1px;font-weight:700}h2{font-size:19px;letter-spacing:-.5px}h3{font-size:15px}small{font-size:12px}button{border:0;background:none}input,select,textarea{border:1px solid #d9e0dd;border-radius:7px;background:#fff;padding:9px 11px;min-width:0;color:#253d43}textarea{resize:vertical}input:focus,select:focus,textarea:focus{outline:2px solid #99bab1;border-color:#648f83}select{padding-right:25px}button:focus-visible,a:focus-visible{outline:3px solid #8bada3}button:hover:not(:disabled){filter:brightness(.97)}[hidden]{display:none!important}.app-shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{background:#203731;color:#e5eee9;position:fixed;inset:0 auto 0 0;width:224px;padding:34px 20px 24px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:12px;font-weight:750;font-size:22px;letter-spacing:-.6px}.brand-mark{width:39px;height:43px;display:grid;place-items:center;background:#e8eea7;color:#223d33;border-radius:11px 11px 11px 3px;font-size:21px}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:.2px;color:#a7bcb1;margin-top:1px}.workspace{font-size:11px;margin:35px 0 21px;display:flex;gap:6px;align-items:center;color:#bed0c5}.workspace>span:last-child{font-size:8px;letter-spacing:1px;border:1px solid #607468;border-radius:3px;padding:1px 3px;margin-left:auto}.online-dot,.offline-dot,.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#abc49c;flex-shrink:0}.nav-button{display:flex;align-items:center;gap:13px;width:100%;padding:14px 12px;text-align:left;border-radius:9px;color:#c1d1c8;margin:5px 0;font-weight:600}.nav-button.active{color:#213c32;background:#e9eee5}.nav-button small{display:block;margin-top:3px;font-size:10px;opacity:.65;font-weight:400}.nav-symbol{font-size:24px;line-height:1;width:22px}.sidebar-guide{border-top:1px solid #40574b;margin-top:34px;padding:26px 10px 0}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:700;display:block;color:#70867a}.sidebar-guide .eyebrow{font-size:8px;letter-spacing:1.4px;color:#92afa0}.sidebar-guide>div{margin:17px 0}.sidebar-guide kbd{font-family:inherit;font-size:14px;color:#ebefb1}.sidebar-guide p{font-size:11px;color:#a0b9ab;margin-top:3px}.sidebar-guide p.quiet{margin-top:24px;line-height:1.8;color:#8ca89a;font-size:10px}.sidebar-footer{margin-top:auto;display:flex;align-items:center;gap:8px;font-size:10px;color:#c0d0c5;padding-top:30px}.sidebar-footer small{display:block;color:#89a493;font-size:8px}.sidebar-footer .icon-button{color:#9db4a7;border:1px solid #5f7969;border-radius:50%;width:19px;height:19px;font-size:11px;margin-left:auto}.app-shell>main{grid-column:2;padding:0 34px 30px;max-width:1700px;width:100%;margin:auto}.environment-strip{height:39px;border-bottom:1px solid #e0e5e0;display:flex;align-items:center;gap:9px;color:#819089;font-size:10px}.environment-strip>span{background:#e9ede6;padding:2px 6px;border-radius:3px;font-weight:600;color:#667967}.environment-strip button{margin-left:auto;font-size:20px;color:#6a8074;line-height:1}.page-header{padding:27px 0 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}.page-header .eyebrow{margin-bottom:6px}.role-control{display:flex;gap:9px;align-items:center;flex-shrink:0}.avatar{display:flex;align-items:center;justify-content:center;border-radius:13px;width:35px;height:35px;font-weight:650;font-size:13px;background:#e4d8cf;color:#6a5649;flex-shrink:0}.avatar-me{background:#e5e9d6;color:#5e735c}.role-control small{font-size:9px;color:#8b958f;display:block}.role-control select{font-size:12px;font-weight:650;border:0;background:transparent;padding:1px 15px 1px 0;max-width:100px}.chat-layout{display:grid;grid-template-columns:minmax(450px,1fr) 222px;gap:27px;align-items:start}.chat-room{position:relative;border:1px solid #d3dedd;border-radius:13px;overflow:hidden;background:#adc3cd;box-shadow:0 5px 20px #273a3510;height:calc(100vh - 166px);min-height:520px;display:flex;flex-direction:column}.room-header{background:#f9fbf9;display:flex;align-items:center;gap:10px;padding:15px 20px;border-bottom:1px solid #e4e9e6;flex-shrink:0}.room-icon{width:37px;height:37px;background:#304f42;border-radius:12px;display:grid;place-items:center;color:#eef0ce;font-size:17px;font-weight:700}.room-header h2{font-size:14px;letter-spacing:-.2px}.room-header h2 span{color:#8e9a93;font-size:12px;font-weight:400;margin-left:3px}.room-header p{font-size:9px;color:#7c8a82;margin-top:1px}.room-label{margin-left:auto;color:#92a197;border:1px solid #dde4df;border-radius:3px;padding:2px 5px;font-size:7px;letter-spacing:1px}.cutoff-strip{background:#f0f4f0;display:flex;align-items:center;justify-content:space-between;padding:8px 19px;gap:7px;font-size:10px;border-bottom:1px solid #dce5df;flex-shrink:0}.cutoff-label{display:flex;align-items:center;gap:6px;color:#7f8b80;flex-wrap:wrap}.cutoff-label strong{font-size:10px;color:#536b5b;font-weight:600}.status-dot{background:#699885;width:5px;height:5px}.pending-chip{font-size:10px;background:#e2e9df;color:#5f775f;border-radius:20px;padding:2px 8px;font-weight:650;white-space:nowrap}.pending-chip.has-pending{background:#f8e5a9;color:#755f26}.stage-control{background:#f8fbf6;border-bottom:1px solid #d6e0d7;flex-shrink:0}.stage-control summary{display:flex;gap:10px;align-items:center;cursor:pointer;padding:9px 20px;list-style:none;font-size:10px;color:#657d6b}.stage-control summary::-webkit-details-marker{display:none}.stage-control summary>span:first-child{font-weight:650}.stage-control summary>span:nth-child(2){font-size:9px;color:#93a090}.chevron{margin-left:auto;font-size:15px}.stage-control[open] .chevron{transform:rotate(180deg)}.stage-control form{padding:2px 20px 13px}.stage-control form label{font-size:11px;display:block;margin-bottom:5px}.stage-inputs{display:flex;gap:6px;align-items:center}.stage-inputs input{font-size:12px;padding:6px 9px;max-width:200px}.stage-control p{font-size:9px;color:#8a9688;margin-top:6px}.stage-inputs .button{font-size:11px;padding:6px 12px}.chat-feed{flex:1;overflow:auto;padding:18px 20px 26px;scroll-behavior:smooth;overscroll-behavior:contain}.day-divider{text-align:center;margin:11px 0 21px}.day-divider span{font-size:9px;display:inline-block;background:#829dab75;color:#f8fcfd;border-radius:20px;padding:4px 12px}.message-row{display:flex;align-items:flex-start;gap:9px;margin:0 0 17px}.message-row.me{justify-content:flex-end;padding-left:50px}.message-row.me .message-wrap{align-items:flex-end}.message-row.me .message-author{display:none}.message-row.bot{margin:23px 0}.message-row.bot .avatar{background:#274e3e;color:#eef0b7;font-size:15px;border-radius:11px}.message-row .avatar{width:32px;height:32px;font-size:12px;border-radius:11px}.avatar-person-1{background:#e8dacd;color:#68503b}.avatar-person-2{background:#dce6da;color:#5b7257}.avatar-person-3{background:#dcd9e7;color:#696078}.message-wrap{min-width:0;display:flex;flex-direction:column;align-items:flex-start;max-width:83%;gap:5px}.message-author{font-size:10px;color:#466371;padding-left:1px}.message-author span{font-size:8px;color:#6c8590;margin-left:5px}.bubble-line{display:flex;gap:7px;align-items:flex-end;min-width:0;max-width:100%}.message-row.me .bubble-line{flex-direction:row-reverse}.bubble{background:#fff;padding:10px 12px;border-radius:0 10px 10px 10px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.65;color:#293c43;box-shadow:0 1px 1px #66849520;max-width:100%}.message-row.me .bubble{background:#fae675;border-radius:10px 0 10px 10px}.message-time{font-size:8px;color:#57727e;white-space:nowrap;padding-bottom:1px}.message-ref{font-size:8px;color:#6a8794;display:flex;gap:6px;align-items:center}.message-ref .pending-marker{color:#637c55;font-size:8px}.long-message{position:relative}.long-message summary{font-size:11px;color:#698b83;cursor:pointer;padding-top:8px}.bot .message-wrap{max-width:calc(100% - 42px);width:100%}.bot-card{background:#fbfcf8;border:1px solid #f0f4e9;border-radius:0 11px 11px 11px;box-shadow:0 2px 6px #56717c18;width:100%;overflow:hidden;max-width:575px}.bot-card-head{padding:14px 16px 11px;border-bottom:1px solid #e4e9df}.bot-kicker{font-size:8px;font-weight:750;color:#7a9477;letter-spacing:1px;margin-bottom:4px;display:block}.bot-card h3{font-size:15px;color:#294d3b}.bot-card-head p{font-size:10px;color:#879381;margin-top:4px}.bot-card-body{padding:13px 16px}.bot-card-body>p{font-size:12px;line-height:1.7;white-space:pre-wrap}.bot-card-foot{padding:9px 16px;border-top:1px solid #e7ebe2;display:flex;gap:12px;align-items:center;font-size:10px;color:#7f8c77;background:#f5f8ee}.bot-card-foot button{padding:0;font-size:10px;color:#52745a;text-decoration:underline;text-underline-offset:3px}.bot-card-foot .undo-button{margin-left:auto}.digest-counts{display:flex;gap:18px;margin:0 0 12px}.digest-counts span{color:#889480;font-size:9px}.digest-counts strong{display:block;color:#3e624a;font-size:20px;letter-spacing:-.5px}.digest-list{display:grid;gap:9px;font-size:11px}.digest-item{display:flex;gap:7px;line-height:1.5}.change-dot{width:5px;height:5px;border-radius:50%;background:#709a65;margin-top:6px;flex-shrink:0}.digest-item strong{font-size:11px;font-weight:650}.digest-item p{font-size:10px;color:#8a9584;margin-top:2px}.inline-case-list{display:grid;gap:0}.inline-case{padding:11px 0;border-bottom:1px solid #e3e9dd}.inline-case:last-child{border-bottom:0}.inline-case-top{display:flex;gap:7px;align-items:baseline;justify-content:space-between}.inline-case-title{font-size:11px;font-weight:650;text-align:left;padding:0}.inline-case-id{font-size:8px;color:#91a084;margin-right:5px}.inline-case p{font-size:10px;color:#87957d;margin-top:3px}.inline-case-actions{display:flex;gap:12px;margin-top:5px}.inline-case-actions button{font-size:9px;color:#63866b;padding:0}.pill{display:inline-block;font-size:9px;padding:2px 6px;border-radius:4px;white-space:nowrap;background:#edf0e8;color:#7d8b73;line-height:1.6}.pill.open{color:#82713f;background:#f5edcf}.pill.done{color:#53765a;background:#e1edde}.pill.review{color:#a07636;background:#fff0d8}.empty-chat{padding:25px 8px 15px;text-align:center;color:#486a78}.empty-chat .empty-symbol{display:block;width:43px;height:43px;border-radius:13px;background:#8faebb;color:#eaf2f1;margin:0 auto 12px;font-size:25px}.empty-chat h3{font-size:14px;margin-bottom:6px}.empty-chat p{font-size:11px;line-height:1.9}.welcome-bubble{padding:14px 16px}.welcome-bubble strong{font-size:12px;color:#294d3b}.welcome-bubble p{font-size:11px;color:#798d75;margin-top:7px;line-height:1.8}.welcome-bubble kbd{font-family:inherit;background:#e9efdf;color:#4e7350;padding:1px 4px;border-radius:3px}.system-message{text-align:center;color:#5c7682;font-size:10px;margin:15px 0}.feed-pagination{text-align:center;margin-bottom:15px}.feed-pagination button{font-size:10px;color:#5e7d87;background:#d3e1e6;padding:5px 12px;border-radius:20px}.composer-region{background:#fff;padding:10px 15px 9px;border-top:1px solid #e0e6de;flex-shrink:0}.command-hints{display:flex;align-items:center;gap:7px;margin-bottom:7px;flex-wrap:wrap}.command-hints button{font-size:9px;background:#f1f4eb;color:#8b987d;border-radius:4px;padding:3px 7px}.command-hints button span{color:#527150;font-weight:650;margin-right:3px}.command-hints>span{font-size:8px;color:#a1aba0;margin-left:auto}.composer-region form{display:flex;gap:10px;align-items:flex-end}.composer-region textarea{flex:1;border:0;padding:5px 2px;resize:none;min-height:47px;max-height:130px;font-size:12px;line-height:1.6;background:#fff}.composer-region textarea:focus{outline:none}.composer-region:focus-within{box-shadow:inset 0 2px #7f9b70}.composer-region textarea::placeholder{color:#a5ada2}.send-button{background:#f6dc69;padding:8px 11px;border-radius:7px;font-size:11px;font-weight:650;color:#766124;flex-shrink:0}.send-button span{font-size:16px;margin-left:7px}.composer-footnote{font-size:8px;color:#acb3a8;margin-top:5px;display:flex;justify-content:space-between}.reply-context{display:flex;gap:10px;align-items:center;background:#f3f6ed;border-left:3px solid #84a26b;padding:7px 10px;border-radius:4px;margin-bottom:8px}.reply-context>span{font-size:19px;color:#7c9668}.reply-context strong{font-size:10px;color:#56714f}.reply-context p{font-size:9px;color:#8a987c}.reply-context button{margin-left:auto;font-size:20px;color:#8fa181}.jump-latest{position:absolute;bottom:148px;left:50%;transform:translateX(-50%);font-size:10px;background:#fff;color:#5d7b63;box-shadow:0 3px 10px #45627230;border-radius:20px;padding:7px 14px;z-index:2}.chat-context{padding-top:18px}.context-heading h2{font-size:21px;line-height:1.6;letter-spacing:-.8px;color:#2e4e3c;margin-top:10px}.flow-list{list-style:none;padding:0;margin:25px 0}.flow-list li{display:flex;gap:11px;margin:0 0 24px}.flow-list li>span{font-size:9px;color:#9aad88;padding-top:2px}.flow-list strong{font-size:11px;color:#5e785d}.flow-list p{font-size:10px;color:#91a087;line-height:1.8;margin-top:4px}.context-stat{border-top:1px solid #dae2d1;border-bottom:1px solid #dae2d1;padding:20px 0;margin-top:27px}.context-stat>span{display:block;font-size:10px;color:#8ca078}.context-stat>strong{display:block;font-size:36px;font-weight:550;letter-spacing:-1px;color:#527045;margin-top:2px;line-height:1.3}.context-stat strong small{font-size:13px;letter-spacing:0;margin-left:7px;color:#92a480}.context-stat p{font-size:10px;color:#99a78e;margin:5px 0 13px}.text-button{font-size:11px;color:#67845a;padding:0}.boundary-note{display:flex;align-items:flex-start;gap:9px;color:#a2ae96;margin-top:22px}.boundary-note span{font-size:17px;line-height:1.4}.boundary-note p{font-size:9px;line-height:1.8}.button{border:1px solid #d6dfd0;background:#fff;border-radius:6px;padding:9px 14px;font-size:11px;white-space:nowrap;color:#607651;line-height:1.5;font-weight:550}.button.primary{color:#fff;background:#486a46;border-color:#486a46}.button.small{padding:5px 9px;font-size:10px}.button.danger{color:#a36750;background:#fcf4ed;border-color:#e9d8c8}.icon-button{display:grid;place-items:center;padding:0;width:24px;height:24px}.viewer-intro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;background:#eaf0e4;border:1px solid #dee6d6;border-radius:9px;padding:16px 20px}.viewer-intro p{font-size:11px;color:#728666;margin-top:5px}.filter-panel{background:white;border:1px solid #dfe5d9;border-radius:10px;padding:20px}.search-row{display:flex;gap:8px}.search-wrap{position:relative;flex:1;display:flex}.search-wrap>span{position:absolute;left:11px;top:5px;color:#91a181;font-size:22px}.search-wrap input{width:100%;padding-left:37px;font-size:12px;background:#fafcf7;border-color:#dce5d4}.search-row>input{flex:1}.filter-row{display:flex;gap:14px;align-items:flex-end;flex-wrap:wrap;margin-top:17px}.filter-row label{font-size:9px;color:#91a17f;display:flex;flex-direction:column;gap:5px;flex:1;min-width:120px}.filter-row input,.filter-row select{font-size:11px;background:#fff;padding:7px 9px;border-color:#e0e6d9}.filter-row .check-label{flex-direction:row;align-items:center;justify-content:flex-start;font-size:10px;padding-bottom:8px;flex:.8;min-width:100px;gap:6px;color:#778b66}.check-label input{accent-color:#628655}.advanced-filters{border-top:1px solid #edf0e7;margin-top:17px;padding-top:11px}.advanced-filters summary{cursor:pointer;color:#7e936f;font-size:10px;list-style:none;display:flex;justify-content:space-between}.advanced-filters summary::-webkit-details-marker{display:none}.advanced-filters>p{font-size:9px;color:#9baa8f;margin-top:9px}.saved-row{display:flex;gap:15px;align-items:center;margin-top:13px}.saved-row select{font-size:11px;min-width:180px}.saved-row .text-button{font-size:10px}.results-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:23px 0 11px}.results-toolbar strong{font-size:13px;color:#526e43}.results-toolbar span{font-size:10px;color:#96a68a;margin-left:8px}.results-toolbar .text-button{font-size:10px}.table-wrap{overflow:auto;background:#fff;border:1px solid #dfe5d8;border-radius:10px}.case-table{width:100%;border-collapse:collapse;text-align:left}.case-table th{font-size:9px;font-weight:600;color:#9aa98d;background:#f7f9f3;padding:12px 15px;border-bottom:1px solid #e4eadb;white-space:nowrap}.case-table td{padding:15px;border-bottom:1px solid #edf1e6;font-size:11px;vertical-align:middle;color:#7f9270}.case-table tbody tr:last-child td{border-bottom:0}.case-table tbody tr:hover{background:#fafbf7;cursor:pointer}.case-table td:first-child{max-width:400px}.case-table .case-title{font-size:12px;font-weight:650;color:#4a6740;display:block;text-align:left;padding:0}.case-table .case-sub{font-size:9px;color:#98a98b;display:block;margin-top:5px}.case-table .case-tags{margin-top:5px;font-size:9px;color:#98ac84}.case-table .row-arrow{color:#a6b894;font-size:16px}.viewer-footer{display:flex;justify-content:space-between;gap:14px;align-items:center;margin-top:13px;color:#9aaa8c;font-size:9px}.pagination{display:flex;justify-content:center;align-items:center;gap:7px;font-size:10px;color:#8b9d7b}.pagination button{padding:5px 10px;border:1px solid #dce5d2;border-radius:4px;background:#fff;color:#7e946c;font-size:10px}.pagination button:disabled{cursor:default}.empty-state{text-align:center;color:#9bab8b;padding:45px 15px}.empty-state h3{color:#738c60;margin-bottom:8px;font-size:15px}.empty-state p{font-size:11px}.loading-placeholder{text-align:center;padding:60px 20px;color:#617f8a;font-size:12px}dialog{border:0;padding:0;color:#3e5e38;background:#fff;box-shadow:0 20px 100px #11241630}dialog::backdrop{background:#192b2961;backdrop-filter:blur(2px)}.modal{width:min(520px,calc(100vw - 30px));border-radius:13px;max-height:90vh}.modal-header,.drawer-header{padding:23px 25px 18px;border-bottom:1px solid #e6eddf;display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.modal-header h2,.drawer-header h2{margin-top:5px;font-size:20px;line-height:1.5}.modal-header .eyebrow,.drawer-header .eyebrow{font-size:9px;color:#8fa17d}.close-button{font-size:25px;line-height:1;width:27px;height:27px;color:#8ea57a;border-radius:5px;flex-shrink:0}.close-button:hover{background:#eef3e8}.modal-body{padding:21px 25px;max-height:65vh;overflow:auto}.modal-footer{padding:15px 25px;border-top:1px solid #e8edde;display:flex;gap:8px;justify-content:flex-end;background:#fafbf8}.drawer{margin:0 0 0 auto;width:min(610px,100vw);height:100vh;max-height:100vh;max-width:100vw;border-radius:0;display:flex;flex-direction:column}.drawer:not([open]){display:none}.drawer-header{padding:27px 28px 21px;flex-shrink:0}.drawer-header p:not(.eyebrow){font-size:10px;color:#93a782;margin-top:7px}.drawer-tabs{display:flex;gap:23px;padding:0 28px;border-bottom:1px solid #e7edde;flex-shrink:0}.drawer-tabs button{padding:13px 0;font-size:11px;color:#9fb08f;border-bottom:2px solid transparent}.drawer-tabs button[aria-selected=true]{color:#557942;border-color:#6d9454;font-weight:650}.drawer-body{padding:25px 28px;overflow:auto;flex:1}.drawer>.pagination{padding:13px;border-top:1px solid #e7edde;flex-shrink:0}.detail-section{margin-bottom:24px}.detail-section h3{font-size:12px;color:#70885c;margin-bottom:9px}.detail-section>p{font-size:11px;color:#8b9e76;line-height:1.8;white-space:pre-wrap}.detail-metadata{display:grid;grid-template-columns:1fr 1fr;gap:15px;background:#f5f8ef;border-radius:7px;padding:16px;margin-bottom:23px}.detail-metadata dt{font-size:9px;color:#9bab88}.detail-metadata dd{margin:4px 0 0;font-size:12px;color:#5b7c44}.task-list{list-style:none;padding:0;margin:0;display:grid;gap:8px}.task-list li{background:#f8faf5;padding:10px 12px;border-radius:5px;display:flex;gap:8px;align-items:flex-start;font-size:11px;color:#70885b}.task-check{color:#91a77a;flex-shrink:0}.tag-list{display:flex;gap:5px;flex-wrap:wrap}.tag{background:#eff4e5;font-size:10px;padding:3px 8px;border-radius:4px;color:#7a9662}.detail-edit-row{display:flex;gap:7px;flex-wrap:wrap;margin-top:11px}.note-item{padding:10px 12px;background:#faf9ee;border-left:2px solid #d6dba7;border-radius:3px;margin:8px 0;font-size:11px;color:#8f936c;white-space:pre-wrap}.source-item{margin-bottom:16px;border:1px solid #e0e9d6;border-radius:8px;padding:15px;background:#fcfdf9}.source-item header{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-bottom:9px;font-size:10px;color:#87a36e}.source-item header strong{color:#587943;font-size:11px}.source-item .source-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;color:#6d865c;line-height:1.85}.source-item footer{font-size:9px;color:#a4b390;margin-top:10px;border-top:1px solid #edf1e5;padding-top:8px}.source-item .source-summary{font-size:10px;color:#88a071;background:#f0f5e8;padding:9px;margin-top:10px;border-radius:4px}.source-search{margin-bottom:17px}.history-item{border-left:2px solid #dde7cf;padding:0 0 23px 17px;position:relative}.history-item:before{content:"";position:absolute;left:-5px;top:5px;width:8px;height:8px;background:#9bb481;border-radius:50%;box-shadow:0 0 0 3px #fff}.history-item h3{font-size:12px;color:#6a8653}.history-item p{font-size:11px;color:#8e9f7c;margin-top:6px;white-space:pre-wrap}.history-item small{font-size:9px;color:#abb79a;display:block;margin-top:5px}.form-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;color:#7f9667;font-size:11px}.form-field input,.form-field textarea,.form-field select{font-size:12px;border-color:#dfe7d3}.form-field textarea{min-height:100px}.form-help{font-size:10px;color:#a5b591;line-height:1.7}.context-strip{font-size:11px;color:#8ba373;border-left:2px solid #b4c79e;padding:8px 10px;background:#f5f8ef;margin-bottom:18px;white-space:pre-wrap}.context-strip:empty{display:none}.inline-error{font-size:11px;color:#b47452;white-space:pre-wrap}.help-notice{padding:12px 14px;border:1px solid #e7e2c5;background:#faf7e9;color:#9a9163;font-size:11px;border-radius:7px}.help-list{padding-left:17px;color:#80966c;margin:21px 0}.help-list li{padding-left:4px;margin-bottom:20px}.help-list strong{font-size:12px;color:#728c5e}.help-list p{font-size:11px;line-height:1.8;margin-top:5px}.muted-text{font-size:10px;color:#a4b093;line-height:1.8}.saved-item{border:1px solid #e0e8d6;border-radius:7px;padding:13px;margin-bottom:10px}.saved-item strong{font-size:12px}.saved-item small{display:block;font-size:10px;color:#9aaa89;margin-top:5px}.saved-item-actions{display:flex;gap:10px;margin-top:10px}.saved-item-actions button{font-size:10px}.clarify-intro{font-size:11px;color:#8c956f;line-height:1.8;margin-bottom:12px}.clarify-item{border:1px solid #e8e5ce;background:#fffdf4;border-radius:6px;padding:11px;margin:9px 0}.clarify-item strong{font-size:11px;color:#877841;display:block}.clarify-item p{font-size:10px;color:#a1966f;margin-top:5px;line-height:1.7;white-space:pre-wrap}.clarify-item select,.clarify-item input{font-size:11px;padding:7px 8px;border-color:#e3dec3;margin-top:8px;width:100%;background:#fffef9}.clarify-item .clarify-choice{display:flex;gap:6px;align-items:flex-start;font-size:10px;color:#8c825e;margin-top:8px}.clarify-choice input{width:auto;margin:2px 0 0;accent-color:#819e66}.clarification-form>.button{margin-top:10px;width:100%;background:#809260;border-color:#809260}.toast-region{position:fixed;bottom:24px;left:calc(50% + 112px);transform:translateX(-50%);display:grid;gap:8px;z-index:100;pointer-events:none;max-width:min(530px,85vw)}.toast{background:#2d4f3b;color:#eff5e8;border:1px solid #617d52;padding:11px 17px;border-radius:9px;font-size:12px;box-shadow:0 6px 24px #26462830}.toast.error{background:#865e42;border-color:#ae8865;color:#fff5e7}.global-loading{position:fixed;right:22px;bottom:20px;background:#fff;border:1px solid #dce6d1;box-shadow:0 3px 10px #29402214;border-radius:20px;padding:6px 10px;font-size:10px;color:#87a26c;z-index:101;display:flex;align-items:center;gap:6px}.spinner{width:11px;height:11px;border:1px solid #dae4ce;border-top-color:#799a58;border-radius:50%;animation:spin .7s linear infinite}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.warning-note{padding:10px;background:#faf4dc;border-radius:5px;font-size:10px;color:#a18d4f;margin:10px 0}.read-only-badge{background:#eef2e4;padding:8px 11px;border-radius:5px;font-size:10px;color:#809561;margin-bottom:15px}.chat-failure{padding:25px;text-align:center;font-size:12px;color:#4e6d76}.chat-failure button{margin-top:10px}.end-of-feed{height:1px}.reply-label{font-size:10px;border-left:2px solid #d4c662;padding:3px 8px;color:#8e8249;margin-bottom:6px}.message-row .bubble a{color:#54765b}.digest-detail{font-size:10px;color:#8e9f7b;margin-top:10px}.digest-detail summary{cursor:pointer}.digest-detail pre{font:inherit;white-space:pre-wrap;line-height:1.8}.bot-error .bot-card{border-color:#e8d5b5}.bot-error .bot-kicker{color:#b19865}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1550px){.chat-layout{grid-template-columns:minmax(650px,1fr) 265px;gap:38px}.app-shell>main{padding-left:45px;padding-right:45px}.chat-feed{padding-left:28px;padding-right:28px}.chat-context{padding:20px 12px}}@media(max-width:1180px){.app-shell{grid-template-columns:195px minmax(0,1fr)}.sidebar{width:195px;padding-left:15px;padding-right:15px}.app-shell>main{padding-left:24px;padding-right:24px}.chat-layout{grid-template-columns:minmax(400px,1fr) 185px;gap:20px}.context-heading h2{font-size:18px}.chat-context{padding-top:12px}.flow-list p{font-size:9px}.page-header{gap:15px}h1{font-size:25px}.toast-region{left:calc(50% + 97px)}}@media(max-width:1030px){.chat-layout{display:block}.chat-context{display:none}.chat-room{height:calc(100vh - 163px)}.app-shell>main{padding-right:25px}.case-table th,.case-table td{padding:12px 10px}.page-header h1{font-size:24px}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;width:auto;padding:14px 18px;flex-direction:row;align-items:center;gap:22px;justify-content:space-between}.brand{font-size:19px;gap:8px}.brand-mark{width:30px;height:33px;font-size:17px;border-radius:8px}.brand small{display:none}.sidebar nav{display:flex;gap:5px}.nav-button{width:auto;font-size:11px;padding:8px 10px;margin:0;gap:6px;border-radius:6px}.nav-symbol{font-size:17px;width:17px}.nav-button small,.workspace,.sidebar-guide,.sidebar-footer{display:none}.app-shell>main{padding:0 14px 20px}.environment-strip{font-size:8px;height:31px}.page-header{padding:19px 0 16px}.page-header .eyebrow{font-size:8px;letter-spacing:1px}.page-header h1{font-size:20px;letter-spacing:-.8px}.role-control{gap:5px}.role-control .avatar{width:28px;height:28px;border-radius:10px;font-size:11px}.role-control small{font-size:7px}.role-control select{font-size:10px;width:72px}.chat-room{height:calc(100dvh - 185px);min-height:470px;border-radius:10px}.chat-feed{padding:16px 13px}.room-header{padding:12px 15px}.cutoff-strip{padding:8px 15px}.stage-control summary{padding:8px 15px}.stage-control summary>span:nth-child(2){font-size:8px}.message-wrap{max-width:88%}.bubble{font-size:11px;padding:9px 11px}.message-time{font-size:7px}.bot .message-wrap{max-width:calc(100% - 38px)}.message-row{gap:7px}.message-row .avatar{width:29px;height:29px;font-size:11px}.bot-card-head{padding:12px 13px}.bot-card-body{padding:12px 13px}.bot-card h3{font-size:14px}.bot-card-foot{padding:8px 13px;font-size:9px;gap:9px;flex-wrap:wrap}.bot-card-foot button{font-size:9px}.command-hints>span{display:none}.composer-region{padding:9px 12px 8px}.toast-region{left:50%;bottom:20px}.viewer-intro{padding:12px;align-items:flex-start}.viewer-intro p{font-size:10px}.viewer-intro .button{padding:6px 8px;font-size:9px}.filter-panel{padding:14px}.search-row{gap:5px}.search-row .button{padding:8px 10px;font-size:10px}.search-wrap input{font-size:11px}.filter-row{gap:10px}.filter-row label{min-width:calc(50% - 10px)}.filter-row .check-label{min-width:calc(50% - 10px);font-size:10px}.case-table{min-width:620px}.saved-row{flex-wrap:wrap;gap:10px}.results-toolbar strong{font-size:12px}.results-toolbar span{display:block;font-size:9px;margin-left:0}.viewer-footer>span{display:none}.viewer-footer{justify-content:flex-end}.drawer-header{padding:22px}.drawer-body{padding:22px}.drawer-tabs{padding:0 22px}.room-label{font-size:6px}.stage-inputs input{max-width:none;flex:1}.environment-strip p{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}
.room-mode{margin-left:auto}.room-mode select{font-size:9px;border-color:#e1e7df;padding:5px 21px 5px 7px;background:#f4f7ef;color:#728467;max-width:140px}#demo-controls{padding:0 20px 14px}#demo-controls p{font-size:10px;margin-bottom:8px}.overview-tools{border-top:1px solid #e3ebd9;margin-top:22px;padding-top:15px}.overview-tools summary{font-size:11px;color:#91a579;cursor:pointer}.overview-tools .detail-edit-row{margin-top:13px}.check-list{display:grid;gap:6px;max-height:175px;overflow:auto;background:#f8faf3;border-radius:5px;padding:10px}.check-list label{display:flex;gap:7px;align-items:flex-start;font-size:10px;color:#82996a;line-height:1.8}.check-list input{margin-top:3px;accent-color:#789854}.bot-card-foot .undo-status{margin-left:auto;color:#a2ad92}.retry-status{font-size:10px;color:#a68b54;margin-top:7px}.briefing-config{font-size:10px;color:#8d9d7a;margin-top:15px}.briefing-config summary{cursor:pointer}.briefing-config p{font-size:9px;line-height:1.8;margin:7px 0}.read-only-note{color:#a3b38d;font-size:9px;margin-top:7px}.feed-inline-error{background:#f7e7d5;color:#9a7155;border-radius:5px;padding:10px;font-size:10px;margin:10px 0}.clarify-done{font-size:10px;color:#829b64;background:#edf3df;border-radius:4px;padding:8px;margin-top:8px}
.context-stat p{overflow-wrap:anywhere}.digest-detail>.digest-item{margin:11px 0}.digest-detail>summary{margin:5px 0 10px}.chat-room .pending-chip[title]{cursor:help}
/* v4: actionable per-item tasks and exact-message context navigation. */
.task-list .task-item{display:block;position:relative;padding:0;background:none}.task-card{display:flex;align-items:flex-start;gap:10px;width:100%;text-align:left;border:1px solid transparent;border-radius:8px;background:#f5f8f1;padding:14px 12px;color:inherit;cursor:pointer;font:inherit}.task-card:hover,.task-card:focus-visible,.task-card[aria-expanded=true]{border-color:#97ad79;background:#eef4e6;outline:none}.task-card:disabled{cursor:default;opacity:1}.task-body{flex:1;min-width:0}.task-name{font-weight:650}.task-menu-mark{font-size:21px;line-height:1}.task-evidence,.task-manual{display:block;font-size:11px;line-height:1.7;margin-top:7px}.task-manual{color:#697557}.task-menu{position:relative;z-index:3;margin:5px 0 9px;padding:10px;border:1px solid #d2ddc2;border-radius:10px;background:white;box-shadow:0 6px 20px #24370b0e}.task-menu[hidden]{display:none}.task-menu strong{display:block;padding:3px 8px;font-size:12px}.task-menu button{display:block;width:100%;padding:10px;border:0;border-radius:7px;background:white;text-align:left;font:inherit;color:#3b5126;cursor:pointer}.task-menu button:hover:not(:disabled){background:#edf4e6}.task-menu button:disabled{opacity:.4;cursor:default}.task-menu small{display:block;padding:6px 9px;line-height:1.5;color:#727e68}.source-link{cursor:pointer}.source-link:hover,.source-link:focus-visible{outline:2px solid #afc38f;outline-offset:2px;background:#f5f9ee}.source-open-hint{float:right;font-weight:600;color:#647e43}.source-highlight{border:2px solid #85a451!important;background:#f1f8df!important;box-shadow:0 0 0 4px #8cac5020;outline:none}.source-focus-label{font-size:11px;font-weight:750;color:#4b6f23;margin-bottom:9px}.nav-button span:last-child{min-width:0}

/* Individual task conversations remain read-only, separate from the full timeline. */
.task-related-note{margin:0 0 18px}#task-messages-title{overflow-wrap:anywhere}#task-messages-content .source-item:first-of-type{margin-top:0}

/* v4.2 manual analysis controls */
#analysis-window {font-size:12px;white-space:normal;line-height:1.5} .stage-inputs{flex-wrap:wrap} #analysis-jobs{padding-left:18px;font-size:12px;overflow-wrap:anywhere} #analysis-jobs code{display:block;white-space:normal} .bot-card textarea{width:100%;box-sizing:border-box;font-size:12px;margin-top:8px;resize:vertical} #analysis-confirm-dialog{padding:24px;max-width:520px} #analysis-confirm-body{line-height:1.7;margin:18px 0} #analysis-confirm-dialog input{display:block;width:100%;box-sizing:border-box;margin:12px 0;padding:10px} #analysis-confirm-dialog footer{display:flex;gap:12px;justify-content:flex-end}

/* Production mobile: preserve existing editor controls and date inputs. */
@media(max-width:700px){dialog{max-width:96vw;width:96vw;max-height:90dvh;overflow:auto}.app-shell{min-width:0}input[type=date],input[type=time],select{min-height:44px;font-size:16px}button{min-height:40px}.calendar-grid{overflow-x:auto}.stage-form{flex-wrap:wrap}}
