:root{font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif;color:#2f4059;background:#edf2f7;font-synthesis:none;--muted:#7c8ca3;--line:#e4eaf2;--blue:#dce8ff;--accent:#5678ad}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button{cursor:pointer}button,a,input,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,textarea:focus-visible{outline:2px solid #557cbb}button{color:inherit}button:disabled{cursor:default}button{border:0;background:none}h1,h2,h3,p{margin:0}.app{display:grid;grid-template-columns:260px minmax(0,1fr) 290px;height:100vh;height:100dvh;max-width:1920px;margin:auto}.sidebar{background:#f9fbfd;border-right:1px solid var(--line);padding:30px 20px 0;display:flex;flex-direction:column;overflow:auto}.brand{display:flex;align-items:center;gap:12px;font-size:21px;letter-spacing:2px;font-weight:600;margin:0 8px 30px}.brand small{display:block;font-size:10px;font-weight:400;letter-spacing:1px;color:var(--muted);margin-top:6px}.brand-symbol{font-family:Georgia,serif;font-size:32px;font-weight:400;border:1px solid #cfdbea;border-radius:14px;width:44px;height:46px;display:flex;align-items:center;justify-content:center;letter-spacing:-2px}.brand-symbol span{color:#7897bd}.new-chat{background:#e6edf7;border:1px solid #dde6f2;border-radius:12px;min-height:46px;text-align:left;padding:10px 16px;font-size:13px;font-weight:600;margin-bottom:30px}.new-chat span{margin-right:8px;font-size:18px}.section-label{font-size:11px;color:#8492a7;letter-spacing:.4px;font-weight:600;display:flex;gap:8px}.section-label span{color:#a4afbd;font-size:10px}nav{margin:13px -8px 28px}.room-button{display:flex;align-items:center;width:100%;text-align:left;padding:13px 11px;border-radius:12px;gap:12px;margin-bottom:4px}.room-button:hover{background:#eff3f8}.room-button.active{background:#e6edf8}.room-icon{width:32px;height:34px;background:#fff;border:1px solid #e2e8f0;border-radius:9px;display:grid;place-items:center;color:#6e87aa;font-size:16px;flex-shrink:0}.room-button strong{font-size:12px;font-weight:600;display:block}.room-button small{display:block;color:#8a98ac;font-size:10px;margin-top:5px}.room-button.active:after{content:'';height:5px;width:5px;background:#7999c2;border-radius:50%;margin-left:auto;flex-shrink:0}.team-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.text-button{color:#8194af;font-size:10px;padding:4px 0}.team-row{display:flex;align-items:center;gap:12px;padding:8px;width:100%;text-align:left;border-radius:10px}.team-row:hover{background:#edf2f8}.team-row strong{font-size:12px;font-weight:500}.team-row small{color:#8a98ab;font-size:10px;margin-left:8px}.avatar{display:inline-block;flex-shrink:0;width:38px;height:38px;border-radius:50%;background-image:url('assets/team-original.png');background-size:688.02% 390.08%;background-repeat:no-repeat;background-color:#e7edf6;border:1px solid #e0e6ef}.sidebar-footer{margin-top:auto;display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:20px 0;font-size:11px;font-weight:600}.sidebar-footer small{display:block;color:#9aa6b7;font-size:9px;font-weight:400;margin-top:5px}.user-avatar{border-radius:50%;height:33px;width:33px;display:grid;place-items:center;background:#dce6f6;color:#657ea2;font-family:Georgia,serif;font-size:15px}.local-tag{font-size:9px;font-weight:400;color:#8393a8;border:1px solid #dce4ef;border-radius:5px;padding:4px;margin-left:auto}.chat{position:relative;display:flex;flex-direction:column;min-height:0;min-width:0;background:#edf2f7}.chat-header{min-height:106px;padding:23px 34px;background:#fff;display:flex;align-items:center;gap:16px;border-bottom:1px solid var(--line)}.eyebrow{font-size:9px;letter-spacing:1.6px;color:#99a7ba;font-weight:600;margin-bottom:9px}h1{font-size:21px;letter-spacing:-.8px;font-weight:600}.room-title p{font-size:11px;color:#93a0b2;margin-top:8px}.participants{margin-left:auto;display:flex;padding-left:8px}.participants .avatar{width:27px;height:27px;margin-left:-7px;border:2px solid #fff}.icon{font-size:21px;color:#94a1b4;width:30px;height:32px;display:grid;place-items:center;border-radius:8px;flex-shrink:0}.icon:hover{background:#edf2f8}.preview-banner{min-height:34px;padding:9px 34px;display:flex;align-items:center;gap:7px;background:#f6f9fc;border-bottom:1px solid #e4ebf3;font-size:10px;color:#8a99ae}.preview-banner strong{font-weight:500;color:#7487a4}.preview-dot{width:5px;height:5px;border-radius:50%;background:#91a7c4}.messages{overflow:auto;flex:1;padding:25px 34px 30px;scroll-behavior:auto;overscroll-behavior:contain}.date-divider{display:flex;align-items:center;gap:12px;color:#9caabd;font-size:10px;justify-content:center;margin:0 auto 27px;max-width:400px}.date-divider:before,.date-divider:after{content:'';height:1px;background:#dce5ef;flex:1}.message{display:flex;gap:13px;margin:0 auto 23px;max-width:840px}.message>.avatar{width:38px;height:38px;margin-top:2px}.message-content{max-width:calc(100% - 51px);min-width:0}.message-meta{display:flex;align-items:center;gap:7px;font-size:11px;color:#8190a5;margin:0 2px 8px;min-height:16px}.message-meta .name{font-size:12px;color:#677d9b;font-weight:500}.message-meta time{font-size:9px;color:#a4b0c1;margin-left:7px}.bubble{padding:18px 21px;background:#fff;border-radius:0 20px 20px 20px;font-size:14px;line-height:1.9;letter-spacing:-.2px;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 1px 0 #e7edf5}.message.self{justify-content:flex-end;padding-left:45px}.self .message-content{max-width:86%}.self .message-meta{justify-content:flex-end}.self .bubble{background:#dce8ff;border-radius:20px 0 20px 20px}.file-card{display:flex;gap:13px;align-items:center;background:#fff;border:1px solid #dce5f1;border-radius:14px;padding:15px 17px;margin-top:9px;max-width:100%;width:100%;text-align:left}.file-icon{border-radius:10px;background:#edf3fb;color:#7b98c0;min-width:42px;height:49px;display:grid;place-items:center;font-size:10px}.file-copy{min-width:0}.file-copy strong{display:block;font-size:12px;font-weight:500;overflow-wrap:anywhere}.file-copy small{display:block;font-size:10px;color:#94a2b7;line-height:1.6;margin-top:5px}.file-arrow{margin-left:auto;color:#a3b1c5}.preview-card{margin-top:9px;background:#fff;border:1px solid #dce5f1;border-radius:14px;padding:16px}.preview-card p{font-size:11px;color:#7d96b6;margin-bottom:12px}.preview-tiles{display:grid;grid-template-columns:1fr 1fr;gap:10px}.preview-tiles div{background:#edf2f7;border-radius:9px;min-height:70px;padding:15px;font-size:12px;display:flex;align-items:center}.preview-tiles div:nth-child(2){background:#e8effa}.preview-card small{display:block;color:#a0aec1;font-size:9px;margin-top:10px}.composer-area{background:#fff;border-top:1px solid #e5ecf4;padding:13px 30px 16px}.composer-note{font-size:10px;color:#92a1b5;margin:0 5px 9px}.composer{display:flex;gap:10px;align-items:flex-end;padding:9px 10px 9px 8px;background:#f2f5f9;border:1px solid #e9eef5;border-radius:15px}.composer:focus-within{border-color:#9bb4d5}.attach-button{position:relative;overflow:hidden;display:grid;place-items:center;width:32px;min-width:32px;height:34px;color:#92a4bd;font-size:23px;cursor:pointer;border-radius:8px}.attach-button:focus-within{outline:2px solid #557cbb}.attach-button input{position:absolute;width:100%;height:100%;opacity:0;cursor:pointer}textarea{background:none;border:0;resize:none;padding:7px 0;line-height:20px;flex:1;min-width:0;max-height:140px;outline:none;color:#334761;font-size:13px}textarea::placeholder{color:#9aa9bd}.send-button{background:#708fb9;color:white;border-radius:10px;width:34px;height:34px;font-size:22px;flex-shrink:0}.send-button:disabled{color:#b1bfd2;background:#e5ebf3}.composer-hint{display:flex;justify-content:space-between;margin:8px 5px 0;font-size:9px;color:#a3afbf}.hint-divider{padding:0 4px}.context-panel{background:#fbfcfe;border-left:1px solid var(--line);padding:30px 23px;overflow:auto}.context-heading{font-size:12px;font-weight:600;margin-bottom:28px;display:flex;justify-content:space-between}.context-heading>span{font-size:9px;background:#edf2f8;padding:4px 7px;border-radius:5px;color:#93a2b7;font-weight:400}.context-panel section{margin-bottom:28px}.project-card{border:1px solid #e1e8f1;border-radius:14px;padding:19px;background:#fff}.project-card h2{font-size:15px;font-weight:500;line-height:1.6}.project-card p{font-size:11px;line-height:1.9;color:#92a0b3;margin:11px 0 16px}.status-pill{background:#edf3fc;color:#7790b1;padding:6px 9px;font-size:10px;display:inline-flex;border-radius:6px;gap:5px}.context-panel h3{font-size:11px;font-weight:500;margin-bottom:13px;color:#7d8da3}.context-panel h3 span{color:#a3b1c4;padding-left:5px}.context-panel .team-row{padding:7px 0}.context-panel .team-row .avatar{width:30px;height:30px}.context-panel .file-card{padding:11px 9px;border-radius:10px;gap:9px}.context-panel .file-icon{min-width:31px;height:37px;border-radius:7px;font-size:8px}.context-panel .file-copy strong{font-size:10px}.context-panel .file-copy small{font-size:9px}.context-panel .file-arrow{display:none}.board-note{border-top:1px solid var(--line);padding-top:25px;color:#9baac0;font-size:12px;line-height:1.8}.board-note span{float:right;font-size:31px;color:#c9d5e5}.menu-button,.mobile-close{display:none}.pending-files{display:flex;gap:8px;flex-wrap:wrap}.pending-file{font-size:11px;background:#edf3fc;border:1px solid #dce5f2;border-radius:8px;padding:7px 9px;margin-bottom:8px;max-width:100%;overflow-wrap:anywhere}.pending-file button{margin-left:8px}.jump-button{position:absolute;bottom:152px;left:50%;transform:translateX(-50%);border:1px solid #dce5f1;border-radius:30px;padding:9px 17px;background:white;color:#7590b3;box-shadow:0 3px 14px #3a54701a;font-size:11px}dialog{border:1px solid #e0e7f1;border-radius:22px;padding:24px;width:440px;max-width:calc(100vw - 32px);max-height:85dvh;color:#344762;box-shadow:0 30px 120px #20375825}dialog::backdrop{background:#24385355;backdrop-filter:blur(3px)}.dialog-top{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:1px;color:#8b9bb2;margin-bottom:15px}.profile-detail{text-align:center;padding:12px 8px 25px}.profile-detail>.avatar{width:100px;height:100px}.profile-detail h2{font-size:23px;margin-top:18px}.profile-detail .role{color:#8397b4;margin:9px 0 17px;font-size:13px}.profile-detail p{font-size:13px;line-height:1.9;color:#7d8fa9}.dialog-note{background:#f1f5fa;padding:14px;border-radius:10px;font-size:11px;line-height:1.8;color:#8393aa;margin-top:18px}.dialog-heading{font-size:20px;margin-bottom:15px}.dialog-text{font-size:13px;line-height:1.9;color:#7c8fa8}.dialog-form label{font-size:12px;display:block;margin:12px 0}.dialog-form input{width:100%;border:1px solid #d4deed;border-radius:10px;padding:12px;color:#344762}.primary{background:#6e8db7;color:#fff;padding:11px 18px;border-radius:10px;margin-top:17px}.attachment-image{max-width:100%;max-height:50vh;border-radius:12px;margin-top:16px;object-fit:contain}.download-link{display:inline-block;background:#edf3fb;color:#6784ac;padding:10px 15px;border-radius:10px;margin-top:14px;font-size:12px;text-decoration:none}.toast{position:fixed;bottom:30px;left:50%;transform:translateX(-50%);z-index:30;background:#3c526f;color:#fff;padding:12px 20px;border-radius:12px;font-size:12px;box-shadow:0 5px 25px #19345033;max-width:90vw}.scrim{display:none}[hidden]{display:none!important}
@media(min-width:1600px){.messages{padding-left:60px;padding-right:60px}.chat-header{padding-left:60px;padding-right:60px}.composer-area{padding-left:60px;padding-right:60px}}
@media(max-width:1200px){.app{grid-template-columns:235px minmax(0,1fr)}.context-panel{display:none}.sidebar{padding-left:16px;padding-right:16px}.chat-header{padding-left:28px;padding-right:28px}}
@media(max-width:700px){.app{display:block;height:100dvh}.chat{height:100%}.sidebar{position:fixed;z-index:20;left:0;top:0;bottom:0;width:280px;transform:translateX(-100%);transition:transform .2s}.sidebar.open{transform:translateX(0)}.scrim{display:block;position:fixed;inset:0;background:#24385355;z-index:19}.brand{margin-bottom:25px}.mobile-close{display:grid;margin-left:auto}.menu-button{display:grid;font-size:18px}.chat-header{padding:19px 16px;min-height:98px;gap:9px}.eyebrow{font-size:8px;letter-spacing:1.3px;margin-bottom:7px}h1{font-size:18px;letter-spacing:-.7px}.room-title p{font-size:10px}.participants{display:none}.chat-header>.icon:last-child{margin-left:auto}.preview-banner{padding:9px 19px;font-size:9px}.messages{padding:22px 17px}.date-divider{font-size:9px;margin-bottom:25px}.message{gap:10px;margin-bottom:23px}.message>.avatar{width:33px;height:33px}.message-content{max-width:calc(100% - 43px)}.message-meta{font-size:10px;gap:5px}.message-meta .name{font-size:11px}.message-meta time{font-size:8px;margin-left:2px}.bubble{padding:14px 16px;font-size:14px;line-height:1.85;border-radius:0 18px 18px 18px}.self .message-content{max-width:92%}.message.self{padding-left:24px}.file-card{padding:13px;gap:10px}.file-copy strong{font-size:11px}.file-copy small{font-size:9px}.file-icon{min-width:35px;height:43px;font-size:9px}.preview-card{padding:13px}.preview-tiles div{font-size:11px;padding:12px}.composer-area{padding:11px 14px max(12px,env(safe-area-inset-bottom))}.composer-note{font-size:9px}.composer-hint{font-size:8px}.composer-hint>span:first-child{display:none}.composer-hint{justify-content:flex-end}.composer{border-radius:20px}textarea{font-size:16px}.jump-button{bottom:137px}.toast{bottom:140px;width:max-content}.profile-detail>.avatar{width:100px;height:100px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.empty-chat{text-align:center;padding:60px 18px;color:#8497b2}.empty-symbol{font-size:44px;color:#a5b9d5}.empty-chat h2{font-size:18px;font-weight:500;margin:18px 0 12px}.empty-chat p{font-size:12px;line-height:1.8}.empty-chat small{display:block;font-size:10px;margin-top:16px;color:#a0aec0}
@media(max-width:700px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}}
.chat{grid-template-rows:auto auto auto minmax(0,1fr) auto}.chat-controls{display:flex;gap:16px;align-items:center;padding:12px 30px;background:#fafcff;border-bottom:1px solid #e4eaf2;font-size:11px;color:#6f829d}.chat-controls label{display:flex;gap:8px;align-items:center}.chat-controls select{max-width:210px;border:1px solid #dbe3ef;border-radius:8px;padding:6px;background:white;color:#32465f}.bubble{white-space:pre-wrap;overflow-wrap:anywhere}.login-screen{min-height:100dvh;display:grid;place-items:center;background:#edf2f7;padding:24px}.login-card{width:min(100%,420px);background:white;border:1px solid #dce5f0;border-radius:24px;padding:36px;display:flex;flex-direction:column;gap:18px;box-shadow:0 15px 60px #2034500c}.login-card p,.login-card small{font-size:13px;line-height:1.8;color:#70839d}.login-card label{font-size:13px}.login-card input{font-size:16px;padding:12px;border:1px solid #cbd8e9;border-radius:10px}.login-card button{padding:13px}.login-card #login-error{color:#9b3d50}.attach-button{opacity:.35;cursor:not-allowed}.chat-controls>.text-button{margin-left:auto}.message-meta{flex-wrap:wrap}.message-meta small{font-size:9px;color:#8b9bb0}
@media(max-width:700px){.chat-controls{padding:10px 14px;gap:8px;flex-wrap:wrap}.chat-controls label{font-size:9px;gap:5px}.chat-controls select{font-size:11px;max-width:162px}.chat-controls>.text-button{font-size:9px}.preview-banner{line-height:1.7}.login-card{padding:26px}}

.chat-controls{flex-wrap:wrap;gap:10px}.chat-controls label{min-width:100px}.chat-controls select{max-width:210px}.tools-status{padding:8px 24px;color:#62718a;font-size:12px;border-bottom:1px solid #e1e7ef}.artifact-card{display:flex;flex-direction:column;gap:6px;padding:14px 18px;background:white;border:1px solid #d7e0ed;border-radius:16px;margin-top:10px;color:#263c59;text-decoration:none;overflow-wrap:anywhere}.artifact-card:hover{border-color:#7393c5}.artifact-card small{color:#66778c}.run-evidence{margin:12px 0;color:#46637d;font-size:13px}.run-evidence pre{white-space:pre-wrap;overflow-wrap:anywhere;background:#f7f9fc;padding:12px;border-radius:10px;max-height:240px;overflow:auto}.message-meta{flex-wrap:wrap}@media(max-width:700px){.chat-controls{padding:8px 14px;gap:6px}.chat-controls label{flex:1;min-width:130px}.chat-controls select{max-width:100%;width:100%}.tools-status{padding:6px 14px}.message-meta small{font-size:10px}}

.reference-card{background:#fff;border:1px solid #dbe3ed;border-radius:16px;padding:16px;margin:12px 0;overflow:hidden}.reference-card a{display:block;overflow-wrap:anywhere;color:#344e72;font-weight:600}.reference-card small{display:block;color:#7890aa;margin:5px 0}.reference-card img{display:block;max-width:100%;height:auto;border-radius:10px;margin-top:10px}.reference-card p{white-space:pre-wrap;font-size:13px;line-height:1.6}.tools-status{overflow-wrap:anywhere}

.project-heading{font-size:12px;color:#74869e;padding:12px 10px;margin:3px 0}.drop-target{background:#dce8fa;border-radius:8px}.view-label{display:flex;gap:8px;align-items:center;padding:8px;font-size:12px}.view-label select{min-width:0;max-width:140px}.office-controls{display:flex;gap:14px;flex-wrap:wrap;padding:8px 28px;background:#fff}.dialog-form textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:75px;font:inherit;border:1px solid #d4deec;border-radius:12px;padding:10px;background:#fafcff}.tool-option{display:flex!important;gap:10px;align-items:center;font-size:13px;line-height:1.6}.tool-option input{width:18px!important;min-height:18px!important;margin:0!important}.tool-option .avatar{width:32px;height:32px;flex:none}.task-card{display:grid;gap:7px;border:1px solid #d9e3ef;border-radius:12px;padding:12px;margin-bottom:10px;font-size:12px}.task-card small{color:#75869f}.task-card .text-button{text-align:left}.profile-detail .dialog-form{max-height:60vh;overflow:auto;text-align:left}.participants .avatar{margin-left:-8px}.message:has(.name:first-child){min-width:0}@media(max-width:700px){.office-controls{padding:8px 15px}.dialog-form{max-width:100%}.project-heading{padding:10px}}

.stop-button{flex:none;border:1px solid #b75050;color:#a83e3e;background:#fff5f5;border-radius:9px;padding:9px 12px;font-size:12px;font-weight:700}.stop-button:disabled{opacity:.45;cursor:default}

.chat-header .stop-button{margin-left:auto}.chat-header .participants{margin-left:0}@media(max-width:700px){.chat-header>.icon:last-child{margin-left:0}}

.internal-handoff{margin-top:8px;border:1px solid #d6e0ed;border-radius:12px;background:#f8fafd;max-width:100%;overflow:hidden}.internal-handoff summary{cursor:pointer;padding:12px 14px;font-size:12px;color:#526e95;min-height:44px}.internal-handoff summary:focus-visible{outline:2px solid #557cbb;outline-offset:-3px}.internal-handoff[open] summary{border-bottom:1px solid #e0e7f0}.internal-handoff .handoff-recipient{padding:12px 14px 0;color:#657b98;font-size:12px}.internal-handoff pre{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;font:inherit;font-size:13px;line-height:1.8;padding:12px 14px;margin:0;max-height:50vh;overflow:auto}

.poll-card{background:#fff;border:1px solid #cedaec;border-radius:16px;padding:18px;margin:12px 0;overflow-wrap:anywhere}.poll-card h3{margin:0 0 12px}.poll-option{padding:8px;background:#edf3fb;border-radius:8px}.poll-card details{margin-top:12px}.poll-card details p{white-space:pre-wrap}

.image-attachment{display:flex;flex-direction:column;gap:8px}.image-preview-button{display:block;width:100%;border:0;border-radius:12px;background:repeating-conic-gradient(#f3f5f8 0% 25%,#fff 0% 50%) 50%/20px 20px;padding:8px;cursor:zoom-in;text-align:center}.image-preview-button img{display:block;width:100%;max-height:300px;object-fit:contain;margin:0 auto}.image-preview-button:focus-visible{outline:3px solid #7190bb;outline-offset:3px}.image-viewer{display:flex;flex-direction:column;gap:16px;min-width:0}.image-viewer-full{width:100%;max-height:65vh;object-fit:contain;background:#f4f6fa;border-radius:10px}.image-download{display:inline-block;align-self:flex-start;text-decoration:none}#detail-dialog:has(.image-viewer){width:min(94vw,1050px);max-width:1050px}#detail-dialog:has(.image-viewer) #dialog-body{max-height:85vh;overflow:auto}

/* Visible only while dragging files; keeps the normal header/layout intact. */
.file-drop-active{outline:2px dashed #6e8db7;outline-offset:-5px}
.file-drop-hint{position:absolute;inset:12px;z-index:15;display:grid;place-items:center;pointer-events:none;border:2px dashed #6e8db7;border-radius:18px;background:#edf3fbeF;color:#344762;padding:24px;text-align:center;font-size:16px;overflow-wrap:anywhere}
.upload-status{font-size:11px;line-height:1.6;color:#526c8e;margin:0 5px 9px;overflow-wrap:anywhere}

/* Room faces remain visible on desktop and mobile; models live in profiles. */
.participants{margin-left:0;max-width:220px;overflow-x:auto;flex-shrink:1;scrollbar-width:thin}.avatar-profile{padding:0;display:flex;flex:none;border-radius:50%}.avatar-profile:focus-visible{outline:2px solid #557cbb;outline-offset:2px}.invite-staff{white-space:nowrap;border:1px solid #dce5f0;border-radius:8px;padding:8px 10px;font-size:11px}.chat-header .room-title{flex:1;min-width:0}.chat-header h1{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.composer-area{position:relative}.mention-list{position:absolute;bottom:calc(100% - 8px);left:40px;width:260px;max-height:300px;overflow:auto;background:white;border:1px solid #dce5f0;border-radius:12px;padding:6px;box-shadow:0 12px 35px #34476220;z-index:18}.mention-option{display:flex;width:100%;align-items:center;gap:10px;text-align:left;padding:10px;border-radius:8px;font-size:12px}.mention-option.selected,.mention-option:hover{background:#edf3fc}.mention-option .avatar{width:30px;height:30px}.staff-mention{color:#557caa;background:#e9f0fc;border-radius:4px;padding:1px 3px}
@media(max-width:700px){.participants{display:flex;max-width:80px;padding-left:7px}.participants .avatar{width:24px;height:24px;margin-left:-6px}.invite-staff{font-size:10px;padding:7px 6px}.chat-header{gap:5px}.chat-header h1{font-size:16px}.chat-header .stop-button{margin-left:0;padding:8px 6px}.mention-list{left:15px;max-width:calc(100vw - 30px)}.room-title p{font-size:9px}}

.header-actions{position:relative;flex:none}.header-actions summary{list-style:none;cursor:pointer;font-size:23px;padding:0 4px;color:#7b8da6}.header-actions summary::-webkit-details-marker{display:none}.header-menu{position:absolute;top:35px;right:0;width:180px;display:grid;gap:5px;padding:10px;background:white;border:1px solid #dce5f0;border-radius:12px;box-shadow:0 10px 30px #34476220;z-index:20}.header-menu>*{text-align:left;display:block;padding:9px;border-radius:7px;text-decoration:none;color:#607c9e}.header-menu>*:hover{background:#edf3fc}

.owner-profile{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:inherit;cursor:pointer}.owner-photo{display:inline-flex;flex-shrink:0;width:36px;height:36px;border-radius:50%;align-items:center;justify-content:center;background:#dce6ef;overflow:hidden}.owner-photo img{width:100%;height:100%;object-fit:cover}.profile-preview{width:100px;height:100px;object-fit:cover;border-radius:50%}.message.self{gap:10px}.saved-asset-wrap{position:relative;display:flex;align-items:start;gap:4px;min-width:0}.saved-asset-wrap>:first-child{min-width:0;flex:1}.asset-star{font-size:22px;color:#866518;border:0;background:transparent;cursor:pointer}.saved-folder{margin:12px 0}.saved-entry{display:grid;gap:6px;margin:12px 0;overflow-wrap:anywhere}.saved-entry select{max-width:100%}.mobile-preview .app{width:min(430px,100%);margin:auto;grid-template-columns:1fr}.mobile-preview .sidebar,.mobile-preview .context-panel{display:none}.mobile-preview .chat-header{padding:12px;gap:6px;flex-wrap:nowrap}.mobile-preview .chat-header .eyebrow,.mobile-preview .room-title p{display:none}.mobile-preview .participants{max-width:100px;overflow:auto}.mobile-preview .chat{height:100dvh}.mobile-preview .messages{padding:16px 12px}.mobile-preview .message-content{max-width:100%}.mobile-preview .composer-area{padding:10px}.mobile-preview .menu-button{display:none}.composer .text-button{font-size:11px;white-space:nowrap}#voice-input{max-width:72px}html.mobile-preview{background:#bcc5cf}

.dialog-form .notification-option{display:flex;align-items:center;gap:10px;margin:8px 0}.dialog-form .notification-option input{width:18px;height:18px;margin:0;padding:0}.dialog-form section.dialog-form{border-top:1px solid var(--line);padding-top:14px;margin-top:16px}.dialog-form section.dialog-form .text-button{display:block;margin:8px 0}.owner-profile span{overflow-wrap:anywhere}.project-heading .text-button{float:right}

/* Explicit viewport anchoring avoids browser/native scroll correction races. */
.messages{overflow-anchor:none;scroll-behavior:auto}.image-preview-button img{aspect-ratio:16/9;width:100%;object-fit:contain}
