*{box-sizing:border-box}body{margin:0;font:14px "Malgun Gothic","Apple SD Gothic Neo",sans-serif;color:#203332;background:#f8faf9}button,input,textarea,select{font:inherit}button{cursor:pointer;border:0;background:transparent;color:inherit;border-radius:6px}button:hover{background:#e6eeeb}button:disabled{opacity:.55}button:focus-visible,a:focus-visible{outline:2px solid #06816b}h1,h2,p{margin:0}h2{font-size:20px;letter-spacing:-.05em}small,.section{font-size:11px;font-weight:700;letter-spacing:.1em;color:#648079}.mark{border-radius:10px;background:#aef2c7;color:#133f36;font:900 25px Arial;padding:7px 6px;letter-spacing:-3px}.mark span{font-size:17px;vertical-align:top}.brand{display:flex;align-items:center;gap:12px;font-size:23px;font-weight:750;letter-spacing:-1px;margin-bottom:36px}#gate{display:grid;place-items:center;height:100vh;background:radial-gradient(ellipse at 24% 10%,#e1f3e9,transparent 55%),#f4f7f6}.card,dialog{border:1px solid #d5e2dd;border-radius:16px;background:white;padding:32px;box-shadow:0 12px 40px #153b2f0e}.card{width:390px}.card h1{font-size:25px;margin:7px 0 25px}.card label{display:block;margin:15px 0 0;font-weight:600}.card input,dialog input{width:100%;padding:11px;border:1px solid #cedbd5;border-radius:7px;margin:7px 0}.card button{width:100%;padding:11px;margin-top:7px}.primary{background:#166653;color:white;font-weight:700}.primary:hover{background:#135646}#error{color:#aa342e;font-size:13px}.grow{flex:1}[hidden]{display:none!important}#app{height:100vh;min-width:750px;display:flex}nav{background:#173e36;color:white;width:62px;display:flex;align-items:center;gap:15px;padding:18px 0;flex-direction:column}nav button{width:40px;height:38px;color:#e1f3e9;font-size:22px}nav button:hover{background:#31594e}aside{width:235px;flex-shrink:0;background:#f3f7f5;display:flex;flex-direction:column;border-right:1px solid #dce6e1}aside header{padding:23px 20px 19px}aside h2{margin-top:5px}.sideScroll{padding:0 10px;overflow:auto;flex:1}.section{display:flex;justify-content:space-between;align-items:center;margin:25px 8px 7px}.section button{font-size:18px}.item,.inbox{display:flex;align-items:center;text-align:left;width:100%;gap:9px;padding:9px 10px;margin:2px 0;overflow-wrap:anywhere}.item.active,.inbox.active{background:#dceee3;color:#115641;font-weight:700}.hash{color:#66847a}.inbox{font-weight:650}.inbox b{margin-left:auto;color:#226c53}.avatar{display:inline-grid;place-items:center;min-width:33px;height:33px;border-radius:11px;background:#e2ece8;color:#365b50;font-weight:700}.item .avatar{min-width:23px;height:23px;border-radius:7px;font-size:11px}footer,.bar{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #dae5df;padding:16px}footer button,#status,time,.read{color:#738580;font-size:12px}main,#thread{display:flex;flex-direction:column;min-width:0;background:white}main{flex:1}#thread{width:31%;min-width:280px;border-left:1px solid #dce6e1}.bar{min-height:77px;border-top:0;border-bottom:1px solid #dce6e1;padding:13px 24px}.bar h2{margin-top:4px}.list{overflow:auto;flex:1;padding:18px 20px}.message{display:flex;gap:12px;padding:11px 3px}.content{min-width:0}.meta{display:flex;align-items:baseline;gap:8px}.body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;margin:4px 0}.actions{display:flex;flex-wrap:wrap;gap:4px;align-items:center}.actions button,.read,.file{font-size:12px;padding:3px 5px}.actions button{color:#4e7467}.actions .selected{background:#dfefe5}.file{display:inline-block;color:#176a59;background:#edf6f1;text-decoration:none;border-radius:6px;overflow-wrap:anywhere}.empty{padding:25px 3px;color:#74867e;line-height:1.7}.compose{border:1px solid #cadad0;border-radius:10px;margin:8px 16px 15px;padding:10px;background:white}.compose textarea{border:0;resize:vertical;width:100%;min-height:52px;outline:none;padding:4px}.tools{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.tools .primary{margin-left:auto;padding:7px 14px}.hint{color:#788b82;font-size:11px}.picked{color:#166653;font-size:12px}.entry{display:block;width:100%;padding:14px;text-align:left;border-bottom:1px solid #e1e9e4;white-space:pre-wrap;overflow-wrap:anywhere}#origin{padding:6px 16px;border-bottom:1px solid #e2ebe5;max-height:25%;overflow:auto}dialog{max-width:400px;min-width:280px}dialog::backdrop{background:#173e3640}.x{float:right}dialog h3{margin:0 25px 16px 0}dialog .primary{padding:8px 14px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#203c33;color:white;border-radius:8px;padding:11px 20px;z-index:8}.earlier{display:block;margin:auto;color:#58796a}@media(max-width:1000px){aside{width:185px}.hint{display:none}}
.preview{display:block;max-height:65vh;max-width:100%;object-fit:contain}.unread{margin-left:auto;border-radius:10px;padding:1px 7px;background:#247359;color:white;font-size:11px}
body{font-family:"Malgun Gothic","Apple SD Gothic Neo",sans-serif;color:#292f39}
#app{display:grid;grid-template-columns:250px minmax(0,1fr) auto;grid-template-rows:48px minmax(0,1fr);background:white}
.teamBar{grid-column:1/-1;display:flex;align-items:center;gap:20px;background:#244e80;color:white;padding:0 16px}
.teamLogo{display:flex;align-items:center;gap:9px;font-weight:750;color:white;letter-spacing:.03em}.teamLogo b{background:white;color:#245988;border-radius:5px;padding:2px 6px;font-size:18px;font-style:italic}
.teamBar button:hover{background:#ffffff20}.searchHead,.jump{display:flex;align-items:center;text-align:left}.searchHead{border:1px solid #ffffff35;border-radius:5px;color:#eef4ff;width:265px;background:#ffffff10;height:30px}
kbd{font:10px Arial;color:inherit;opacity:.72;border:1px solid currentColor;border-radius:3px;margin-left:auto;padding:2px 4px}
.teamTools{display:flex;align-items:center;margin-left:auto;gap:9px}.teamTools button{color:white;font-size:13px;padding:6px 9px}.teamTools #mentions,.teamTools #settings{font-size:18px}
aside{grid-area:2/1;width:auto;background:#f7f9fc;border-color:#dce2ea}aside header{padding:18px 16px 12px}.jump{color:#63768c;margin-top:14px;border:1px solid #d5dfe9;background:white;width:100%;padding:6px 9px;font-size:12px}
.sideScroll{padding:0 8px 10px}.sideScroll details{position:relative;border-top:1px solid #e2e7ed;margin-top:11px;padding-top:6px}.sideScroll summary{cursor:pointer;color:#5b6778;font-size:12px;font-weight:700;padding:8px 10px}.sectionAdd{position:absolute;right:5px;top:9px;color:#607185}.sideScroll details:not([open])>.sectionAdd{display:none}
.item,.inbox{border-radius:5px;padding:7px 11px;font-size:13px;color:#3e4b5a}.item.active,.inbox.active{background:#dceafb;color:#145da2}.item:hover,.inbox:hover{background:#e6edf6}.hash{color:#7a8fa5}.inbox b,.unread{border-radius:12px;background:#3479bb;color:white;padding:1px 7px;font-size:11px}
footer{font-size:12px;padding:12px 8px;gap:6px}#status{font-size:10px;color:#477f70}main{grid-area:2/2}.bar{min-height:56px;padding:10px 17px;border-color:#dde4ec}.roomHead,.roomName,#roomTools{display:flex;align-items:center;gap:8px}.roomName{min-width:0}.roomName h2{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.roomName small{flex-shrink:0;letter-spacing:0;color:#5f7b98}.bar button{padding:5px 7px;color:#587089}#star{font-size:20px}#roomTools{flex-shrink:0}
#thread,#drawer{grid-area:2/3;width:min(35vw,430px);background:white;min-width:280px;border-left:1px solid #dce4eb}#drawer{display:flex;flex-direction:column}#filters{padding:12px;border-bottom:1px solid #e1e6ec;display:flex;flex-wrap:wrap;gap:8px}#filters input,.chooser{border:1px solid #cfdbe5;border-radius:5px;width:100%;padding:9px}#filters select{max-width:48%;padding:4px;border:1px solid #d5dfe8;border-radius:4px;background:white;color:#526478}#results{overflow:auto;padding:6px 12px}.result{display:block;text-align:left;width:100%;border-bottom:1px solid #e4eaf1;border-radius:0;padding:13px 6px;line-height:1.55;overflow-wrap:anywhere}.result small{display:block;letter-spacing:0;color:#6d8295}.download{font-size:12px;color:#24639e}
.message{padding:7px 0;gap:10px}.avatar{background:#e5edf7;color:#476a92;border-radius:9px}.meta b{font-size:13px}.body{margin:3px 0}.actions button{color:#49729a}.actions .selected{background:#dbeaf8}.hoverAction{opacity:0}.message:hover .hoverAction,.message:focus-within .hoverAction{opacity:1}.day{display:flex;align-items:center;gap:10px;justify-content:center;color:#7c8996;font-size:11px;margin:13px 0}.day:before,.day:after{content:'';height:1px;background:#e2e8ed;flex:1}.compose{border-color:#bdcddb;border-radius:6px;margin:8px 14px 12px}.compose:focus-within{border-color:#72a1cd}.primary{background:#286ca9}.primary:hover{background:#185a96}.tools button:not(.primary){color:#576f87}.highlight{color:#216db0;background:#e8f3ff;border-radius:3px}.file{color:#285d8d;background:#eef4fb}#pinBanner{border-bottom:1px solid #d8e6f3;background:#f3f8ff;color:#30618b;padding:9px 17px;text-align:left}
dialog{max-height:84vh;overflow:auto;min-width:320px}.choices{max-height:36vh;overflow:auto;margin:8px 0}.checkRow{display:flex;align-items:center;gap:8px;padding:6px}.checkRow input{width:auto}.context{position:fixed;z-index:9;background:white;border:1px solid #d3dee9;box-shadow:0 5px 20px #172b4324;padding:5px;border-radius:7px}.context button{display:block;width:100%;text-align:left;padding:8px}.composerEmoji{font-size:17px}.roomName #kind{font-size:14px}.card .mark{background:#dceefa;color:#245786}
@media(max-width:1000px){#app{grid-template-columns:195px minmax(0,1fr) auto}#roomTools{gap:0}.bar{padding:8px}.sideScroll{padding:0 5px}}
#important{display:flex;justify-content:space-between;align-items:center;gap:6px;background:#fff4df;border-bottom:1px solid #f3dfb3;padding:5px 13px;color:#865b19;font-size:12px}#important button:first-child{text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#important button:last-child{flex-shrink:0;background:#fff;border:1px solid #e3ca94;padding:3px 10px}
body{--team:#244e80;--side:#f7f9fc;--active:#dceafb}body[data-theme=mint]{--team:#207a73;--side:#eef8f5;--active:#d5ede6}body[data-theme=pink]{--team:#a24e78;--side:#fff2f6;--active:#f6d8e7}body[data-theme=navy]{--team:#232e48;--side:#eef0f6;--active:#d9e0f1}.teamBar{background:var(--team)}aside{background:var(--side)}.item.active,.inbox.active{background:var(--active)}.settingRow{display:flex;justify-content:space-between;align-items:center;margin:12px 0}.settingRow select,dialog select{background:white;border:1px solid #cbd7e3;border-radius:5px;padding:5px}
.sideScroll details.folder{margin:1px 0;border:0;padding:0}.folder summary{padding:6px 9px;color:#657a91;font-weight:500}.folder .item{padding-left:25px}.mentionTools{display:flex;align-items:center;gap:8px;margin-bottom:10px}.mentionTools select{border:1px solid #d8e2ec;border-radius:4px;background:#fff;padding:5px}
#app{grid-template-columns:clamp(230px,23.4vw,283px) minmax(0,1fr) auto;grid-template-rows:52px minmax(0,1fr);min-width:780px}
.teamBar{background:white;border-bottom:1px solid #d9dfe7;color:#222;gap:10px;padding:0 13px}.teamLogo{color:#252b33;font-size:18px}.teamLogo b{font:italic 800 15px Arial;color:white;background:linear-gradient(115deg,#2089b0 52%,#ee8938 52%);border-radius:42%;padding:7px 4px}.teamLogo span{font-size:12px;color:#a6adb6}.teamTools{gap:11px}.teamTools button,.teamTools #mentions,.teamTools #settings{color:#919caa;font-size:23px;padding:3px}.teamBar button:hover{background:#f2f4f7;color:#315577}
aside{background:white;overflow:hidden}aside header{display:flex;align-items:center;padding:9px 12px;gap:6px}.jump{background:white;font-weight:650;border:0;font-size:13px;color:#303844;margin:0;justify-content:flex-start;width:auto;gap:6px}.jump kbd{font-size:9px;color:#9aa4b1;border-color:#dfe4ea}.inbox{font-size:13px;gap:3px;width:auto;margin-left:auto;padding:3px 6px}.inbox b{background:#f7e3df;color:#d5685c}.railGroup{min-height:0;display:flex;flex-direction:column}.topicGroup{flex:2}.chatGroup{flex:1;border-top:1px solid #dce1e8}.railGroup.collapsed{flex:none}.railHead{display:flex;align-items:center;justify-content:space-between;padding:6px 10px 6px 14px}.railHead button{font-size:14px;color:#566579}.railHead button:not(.fold){background:#f2f4f7;margin-left:4px}.fold span{color:#99a1aa}.railScroll{overflow-y:auto;padding:3px 9px;scrollbar-width:thin}
.folder{margin:6px 0}.folder summary{cursor:pointer;font-weight:650;color:#8a939d;font-size:13px;padding:7px 8px}.item{min-height:34px;border-radius:5px;margin:1px 0;color:#373d43}.item.active{background:#f0f2f5;color:#252b31}.item.active:hover,.item:hover{background:#f0f2f5}.gold,#star{color:#f3b31d}.hash{min-width:14px}.bar{min-height:50px}.roomName h2{margin:0;font-size:18px}.roomName #star{padding:0;color:#f3b31d}.roomHead{padding:8px 15px}.reader{display:flex;gap:9px;align-items:center;padding:6px 0}.avatar{object-fit:cover}
.list{padding:9px 16px 15px}.message{display:grid;grid-template-columns:30px minmax(0,max-content) minmax(40px,auto);align-items:start;column-gap:9px;row-gap:3px;justify-content:start;padding:8px 0 13px}
.message>.avatar{width:29px;min-width:29px;height:29px;border-radius:8px}.content{min-width:0;max-width:min(100%,720px)}.meta{min-height:26px;align-items:center}.body{padding:12px 15px;background:#eaf5fb;border-radius:7px;line-height:1.7;max-width:100%;margin:2px 0}.body:empty{display:none}.stamp{align-self:end;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:0 0 4px;color:#909ba6;min-width:35px}.stamp .read,.stamp time{font-size:10px;color:#8994a1;padding:0;white-space:nowrap}.stamp .read:hover{text-decoration:underline}.actions{min-height:0}.actions button{padding:1px 5px;font-size:11px}.day{font-size:12px;color:#364452;font-weight:650}.highlight{background:none;color:#009f77;font-weight:650}
.inlineThread{grid-column:2;min-width:0;background:#eceef1;border-radius:7px;overflow:hidden}.threadLink{font-size:12px;text-align:left;width:100%;padding:9px 13px}.inlineReply{display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:start;gap:8px;background:#e1edf4;padding:10px 12px}.inlineReply+.inlineReply{border-top:1px solid #d5dce1;background:#eceef0}.inlineReply .avatar{min-width:25px;width:25px;height:25px}.replyText{display:flex;flex-direction:column;gap:4px;text-align:left;min-width:0;padding:0;font-size:12px}.replyText span{overflow-wrap:anywhere;white-space:pre-wrap}.compose{position:relative;border:0;border-top:1px solid #dbe0e6;margin:0;padding:10px 12px 7px;border-radius:0;background:#fafbfd}.compose textarea{display:block;background:white;border:1px solid #d7dfe8;border-radius:6px;padding:9px;min-height:49px}.tools{padding:5px 0 0}.tools .primary{padding:4px 13px}.suggestions{position:absolute;bottom:calc(100% - 8px);left:11px;width:245px;max-height:220px;overflow:auto;background:#fff;border:1px solid #d5dde6;border-radius:8px;padding:5px;box-shadow:0 5px 20px #182b431c;z-index:3}.suggestions .active{background:#ddecfb}.settingRow input[type=checkbox]{width:auto}.settingRow input[type=range]{width:60%}.settingRow{gap:8px}.settingRow select{margin-left:auto}
#eventStack{position:fixed;right:16px;bottom:16px;width:min(315px,70vw);display:flex;flex-direction:column;gap:6px;z-index:8}.eventToast{display:flex;justify-content:space-between;background:white;border:1px solid #d4dfe8;box-shadow:0 4px 16px #283c5124;border-radius:9px;padding:9px}.eventToast button:first-child{display:flex;flex-direction:column;gap:5px;min-width:0;text-align:left;overflow-wrap:anywhere}.eventToast span{font-size:12px;color:#596879}
@media(max-width:1000px){#app{grid-template-columns:195px minmax(0,1fr) auto}.list{padding:8px}.message{grid-template-columns:23px minmax(0,1fr) 40px;gap:5px}.message>.avatar{min-width:23px;width:23px;height:23px}.body{padding:8px}#thread,#drawer{min-width:245px;width:30vw}}
aside .separateInbox{display:flex;align-items:center;align-self:stretch;width:auto;flex-shrink:0;justify-content:space-between;margin:1px 11px 8px;padding:6px 10px;border:1px solid #d8e1e9;background:#f8fafd;color:#49627b;border-radius:5px;font-size:12px}.separateInbox b{border-radius:5px;color:#375565;background:#e7eef3}.folder summary{letter-spacing:0}.chatSticker{display:block;width:auto;height:auto;max-width:min(128px,100%);max-height:116px;object-fit:contain;margin:4px 0}.inlineReply .chatSticker{max-height:72px}.stickerGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;max-height:285px;overflow:auto;margin:12px 0}.stickerCell{position:relative;border:1px solid #dde5eb;border-radius:7px}.stickerCell>button:first-child{width:100%;height:65px;padding:5px}.stickerCell img{width:100%;height:100%;object-fit:contain;margin:0}.removeSticker{position:absolute;top:0;right:0;background:#fff;color:#657280}.emojiGrid{display:flex;flex-wrap:wrap;gap:4px}.tools button{white-space:nowrap}

/* Topic navigation and unread messages */
.railScroll .item{width:100%;display:flex;align-items:center;gap:7px;min-width:0}.roomLabel{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.railScroll .unread,.folderUnread,.sumUnread{font:700 11px/16px Arial,sans-serif;letter-spacing:0;flex:none;background:#fa6156;color:white;min-width:17px;padding:0 5px;text-align:center;border-radius:12px}.folderUnread,.sumUnread{background:#ffe1dc;color:#c64439;margin-left:5px}.railHead .fold .sumUnread{color:#c64439}.railScroll .folderUnread{float:right;margin-right:3px}.item[draggable=true]{cursor:grab}.draggingTopic{opacity:.5}.folder.dropReady,#unfiledDrop.dropReady{outline:2px solid #4595be;outline-offset:-2px;background:#e6f4fb;border-radius:5px}#unfiledDrop{background:#f5f9fc;border:1px dashed #8faabe;color:#45697d;text-align:center;padding:8px;font-size:12px}
/* A compact, draggable control above the composer */
#mentionFloat{position:fixed;right:18px;bottom:104px;display:flex;align-items:stretch;z-index:7;border:1px solid #235d58;border-radius:18px;background:#176257;box-shadow:0 2px 7px #14353235;overflow:hidden}#mentionFloat button{color:white;background:transparent;border:0;width:auto;height:31px;font-family:inherit;font-size:12px;font-weight:600;padding:0 9px}#mentionFloat #inboxBtn{touch-action:none;cursor:grab;user-select:none}#mentionFloat #inboxBtn:active{cursor:grabbing}#mentionFloat #mentionReload{border-left:1px solid #ffffff44;font-size:17px}#mentionFloat #badge{border-radius:9px;padding:1px 5px;background:white;color:#176257;margin-left:3px}#mentionFloat button:hover,#mentionFloat button.active{background:#124a43}
/* Message bubbles keep their actual content width, including consecutive lines. */
.message{grid-template-columns:30px minmax(0,1fr);gap:3px 9px;align-items:start;padding:9px 0 4px}.message>.content{grid-column:2;max-width:100%;width:100%}.message .meta{min-height:24px;margin-bottom:3px}.bubbleLine{display:flex;align-items:flex-end;gap:6px;max-width:100%}.chatBubble{width:fit-content;min-width:0;max-width:min(680px,calc(100% - 51px));background:#f1f3f6;border-radius:8px;padding:10px 15px;color:#30363d;overflow-wrap:anywhere}.own>.content>.bubbleLine>.chatBubble{background:#e8f5fc}.chatBubble>.body{display:block;background:transparent;margin:0;padding:0;border-radius:0;line-height:1.65}.chatBubble>.body:empty{display:none}.bubbleLine .stamp{flex:none;align-self:flex-end;gap:2px;margin-bottom:1px}.message.continued{padding-top:1px}.continued>.avatar,.continued>.content>.meta{display:none}.continued>.content{grid-row:1}.message>.inlineThread{width:min(100%,660px);grid-column:2}.message .actions{position:relative;min-height:0;gap:3px}.actions>button:not(.reaction){position:absolute;left:-9999px;opacity:0}.message:hover .actions>button,.message:focus-within .actions>button{position:static;opacity:1}.message .actions .reaction{background:#f5f7fa;border:1px solid #dae1e8;margin-top:2px}.message .actions .selected{background:#dfefff}.chatBubble .file{display:block;width:fit-content;max-width:100%;background:transparent;font-size:11px;padding:3px 0}.imagePreview{display:block;border:0;padding:0;margin:2px 0;background:transparent;max-width:100%}.imagePreview img,.replyThumbnail{display:block;max-width:100%;width:auto;height:auto;max-height:280px;border-radius:5px}.imagePreview{max-width:min(100%,380px)}.replyThumbnail{max-height:120px}.fullImage{display:block;max-width:100%;max-height:72vh;object-fit:contain}dialog:has(.fullImage){max-width:90vw;width:fit-content}.chatBubble .chatSticker,.inlineReply .chatSticker{width:min(224px,100%);height:200px;max-width:100%;max-height:none;object-fit:contain;margin:0}.inlineReply .chatSticker{width:160px;height:145px}.chatBubble:has(>.chatSticker){width:min(254px,calc(100% - 51px))}.stickerGrid .stickerCell>button:first-child{height:86px}.stickerGrid .chatSticker{max-height:80px}
#dialog:has(.toneGrid){width:560px;max-width:90vw}.alertSwitch{display:flex;align-items:center;justify-content:space-between;padding:8px 0;font-weight:600}.alertSwitch input[type=checkbox]{appearance:none;width:34px;height:20px;border-radius:12px;border:0;background:#c7d2da;cursor:pointer;position:relative;padding:0;margin:0}.alertSwitch input:before{content:'';width:14px;height:14px;border-radius:50%;position:absolute;background:white;left:3px;top:3px}.alertSwitch input:checked{background:#4397df}.alertSwitch input:checked:before{left:17px}.alertDemo{display:flex;align-items:center;gap:12px;background:#f0f4f8;padding:18px;border-radius:9px;margin:3px 0}.alertDemo p{font-size:12px;color:#5f7180;margin-top:4px}.testAlert{display:block;margin:6px 0 10px auto;background:#e6f2ff;color:#246bb0;padding:6px 12px}.previewModes,.toneGrid{display:grid;gap:7px}.previewModes{grid-template-columns:repeat(3,1fr);margin-bottom:12px}.previewModes label{display:flex;align-items:center;gap:4px;border:1px solid #d9e2ea;border-radius:6px;padding:7px 5px;font-size:12px}.previewModes input{width:auto;margin:0}.toneGrid{grid-template-columns:1fr 1fr}.toneGrid .settingRow{font-size:12px;margin:3px 0}.toneGrid select{max-width:100px}.popupIcon{display:inline-grid;place-items:center;flex:none;background:#177363;color:white;border-radius:10px;width:37px;height:37px;font:bold 16px Arial}.eventToast button:first-child{flex:1;display:flex;flex-direction:row;align-items:center;gap:10px}.eventToast .popupIcon{color:white}.eventToast .popupCopy{display:flex;flex-direction:column;gap:4px;min-width:0}.popupCopy strong,.popupCopy span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.testStack{position:fixed;right:16px;bottom:18px;width:316px}.quietRoom{font-size:10px;opacity:.7}
.deliveryStatus{color:#63788b;font-size:12px;line-height:1.5;margin:6px 0}
.calAvatar{background:#e9f0ff!important;color:#2765ad;border-bottom:3px solid #45a178;font:700 13px Arial}.chatBubble.calendarBubble{background:white;padding:0;min-width:min(220px,100%)}.calendarCaption{border:1px solid #dbe3eb;border-radius:5px;padding:9px 12px;font-size:13px}.calendarEntry{margin-top:5px;border:1px solid #dce4ed;border-left:4px solid #4b89ef;border-radius:4px;padding:8px 12px;display:flex;flex-direction:column;gap:4px}.calendarEntry strong{color:#376ab2;white-space:pre-wrap}.calendarEntry span,.calendarHelp,.calendarHealth{font-size:12px;line-height:1.6;color:#617288}.calendarHealth{background:#f1f6fa;padding:6px 10px;border-radius:5px;margin-bottom:8px}

.draftPreview:not([hidden]){display:block;max-width:min(220px,90%);max-height:125px;object-fit:contain;border-radius:6px;margin:6px 9px}
.deletedBubble{color:#657181;font-style:italic;width:fit-content}
#mobileRooms{display:none}
@media(max-width:760px){
  #gate{min-height:100dvh;padding:12px}.card{width:min(390px,100%);padding:22px}
  .card input,dialog input,.compose textarea{font-size:16px}
  #app{position:relative;min-width:0;height:100vh;height:100dvh;grid-template-columns:minmax(0,1fr);grid-template-rows:46px minmax(0,1fr);overflow:hidden}
  .teamBar{padding:0 7px;gap:4px}.teamLogo{font-size:14px;gap:4px}.teamLogo span{display:none}
  .teamTools{gap:3px}.teamTools button,.teamTools #mentions,.teamTools #settings{font-size:18px}
  #mobileRooms{display:block;white-space:nowrap;padding:7px;background:#edf3f9;color:#245078}
  #roomSidebar,main,#thread,#drawer{grid-area:2/1;min-width:0;width:100%}
  #roomSidebar{display:none}#app.showRooms #roomSidebar{display:flex;z-index:9}
  #app.showRooms #mentionFloat{display:none}
  #thread,#drawer{position:relative;z-index:8;border:0}
  .roomHead{display:block;padding:5px 8px}.roomName{gap:7px}.roomName h2{font-size:16px}
  #roomTools{gap:2px;justify-content:flex-end;flex-wrap:wrap}#roomTools button{font-size:12px}
  .compose{padding:5px 8px max(6px,env(safe-area-inset-bottom))}.tools{flex-wrap:wrap}.tools .hint{display:none}
  .draftPreview:not([hidden]){max-height:75px}.hoverAction{opacity:1}
  dialog{box-sizing:border-box;min-width:0;max-width:calc(100vw - 16px);width:min(420px,96vw);padding:18px;max-height:82dvh}
  #mentionFloat{bottom:104px;right:8px}.card .brand{white-space:nowrap}
}

.photoThumb{cursor:zoom-in}
.profileFull{display:block;width:min(512px,72vh,100%);max-width:100%;object-fit:contain;margin:auto}
dialog:has(.profileFull){width:min(570px,94vw);max-width:94vw}
.profileCrop:not([hidden]){display:block;width:min(300px,100%,42vh);height:auto;aspect-ratio:1;margin:10px auto;cursor:grab;touch-action:none}
.profileCrop:active{cursor:grabbing}

/* 0.7.6 – personal topic layout and appearance */
.item.dropBefore{box-shadow:inset 0 3px 0 #398bd5}.item.dropAfter{box-shadow:inset 0 -3px 0 #398bd5}
.quietRoom{display:inline-flex;align-items:center;justify-content:center;flex:none;width:17px;height:18px;opacity:1;color:#8b929b}.quietRoom svg{width:15px;height:15px}.quietRoom.allMuted{color:#89919a}
#leaveTopic{color:#8c5860}.dangerAction{background:#b64242;color:#fff;padding:9px 14px}.dangerAction:hover{background:#973333}
body[data-theme=warm]{--surface:#f6f2e9;--panel:#eee9df;--bar:#e9e3d7;--input:#fcf8ef;--ink:#443e35;--muted:#756d60;--line:#d9d0bf;--hover:#e5ddce;--active-bg:#e1d7c5;--bubble:#eae4d8;--own:#e1e7da;--accent:#426d69;--soft:#e3e8dc;--notice:#f0e3cc;--notice-ink:#825b2c;--danger:#9d4e4e}
body[data-theme=dim]{color-scheme:dark;--surface:#30363c;--panel:#292f35;--bar:#262c32;--input:#343c44;--ink:#d5dbe0;--muted:#a1acb7;--line:#47515a;--hover:#3c464f;--active-bg:#435363;--bubble:#3a434b;--own:#364d5c;--accent:#9ac5e8;--soft:#3c4b57;--notice:#554a39;--notice-ink:#eed7a9;--danger:#eea1a1}
body[data-theme=dark]{color-scheme:dark;--surface:#1e2227;--panel:#171b20;--bar:#15191d;--input:#252c33;--ink:#e1e6eb;--muted:#a0abb7;--line:#343d47;--hover:#2a333c;--active-bg:#304657;--bubble:#2a3139;--own:#253d50;--accent:#8bc3ff;--soft:#293947;--notice:#473c2b;--notice-ink:#efd39c;--danger:#f2a4a4}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]){color:var(--ink);background:var(--surface)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(#app,main,#thread,#drawer,.list){background:var(--surface);color:var(--ink);border-color:var(--line)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(aside,.compose,#filters,#origin){background:var(--panel);color:var(--ink);border-color:var(--line)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(.teamBar,.bar,footer,.railHead){background:var(--bar);color:var(--ink);border-color:var(--line)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(dialog,.card,.context,.suggestions,.eventToast,.calendarCaption,.calendarEntry,.stickerCell){background:var(--input);color:var(--ink);border-color:var(--line)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(input,textarea,select,.chooser,.jump){background:var(--input);color:var(--ink);border-color:var(--line)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(.item,.teamLogo,.teamTools button,.bar button,.railHead button,.roomName h2,.result,.entry,.tools button:not(.primary),.actions button,.reader){color:var(--ink)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(small,.section,.folder summary,.hash,.fold span,.stamp time,.stamp .read,.hint,.empty,.calendarEntry span,.calendarHelp,.deliveryStatus,.quietRoom,.teamLogo span,footer button){color:var(--muted)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(button:hover,.item:hover,.teamBar button:hover,.railHead button:not(.fold),.eventToast button:hover){background:var(--hover);color:var(--ink)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(.item.active,.inbox.active,.suggestions .active,.actions .selected){background:var(--active-bg);color:var(--ink)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(.chatBubble,.body,.inlineThread,.inlineReply,.inlineReply+.inlineReply,.alertDemo,.calendarHealth,.file,.actions .reaction,.testAlert,#mobileRooms){background:var(--bubble);color:var(--ink);border-color:var(--line)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) .own>.content>.bubbleLine>.chatBubble{background:var(--own)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) .chatBubble>.body{background:transparent}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) .chatBubble.calendarBubble{background:transparent}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(.calendarEntry a,.calendarEntry strong,.download,.chatBubble .file,.highlight,.picked){color:var(--accent)!important}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(.day,.eventToast span,.alertDemo p,.calendarHealth){color:var(--muted)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(.day:before,.day:after){background:var(--line)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(.chatGroup,.result,.entry,.previewModes label,.inlineReply+.inlineReply,.compose textarea){border-color:var(--line)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(#important,#pinBanner){background:var(--notice);color:var(--notice-ink);border-color:var(--line)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) #important button:last-child{background:var(--input);color:var(--ink);border-color:var(--line)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) #leaveTopic{color:var(--danger)}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) .primary{background:#286ca9;color:#fff}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) .primary:hover{background:#185a96;color:#fff}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) .dangerAction{background:#b64242;color:#fff}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) :is(.folder.dropReady,#unfiledDrop){background:var(--soft);color:var(--accent);border-color:var(--line)}
body:is([data-theme=dim],[data-theme=dark]) .avatar:not(img){color:#334556}
body:is([data-theme=dim],[data-theme=dark]) .calAvatar{color:#2765ad}
body:is([data-theme=dim],[data-theme=dark]) :is(.folderUnread,.sumUnread){background:#6d3937;color:#ffd3cc}
@media(max-width:760px){#leaveTopic{font-size:11px;padding:4px 5px}}

/* 0.7.7 — topic creation and discovery */
#newRoom{width:26px;height:26px;font-size:20px;line-height:1;padding:0;vertical-align:middle}#topicInfo{font-size:15px;color:#89939e;padding:2px 4px;flex:none}
.context.topicMenu{min-width:192px;padding:6px;border-radius:9px;box-shadow:0 5px 22px #192b4320}.topicMenu button{padding:11px 13px;white-space:nowrap;font-size:14px}
#dialog.topicDialog{width:min(500px,calc(100vw - 24px));max-width:calc(100vw - 24px);min-width:0;padding:24px;max-height:90vh;max-height:90dvh;border-radius:12px;overscroll-behavior:contain}#dialog.topicDialog h3{font-size:19px;margin-bottom:24px;letter-spacing:-.03em}#dialog.topicDialog .x{font-size:18px;color:#9299a0}
.topicForm{display:flex;flex-direction:column;gap:23px;--topicBorder:var(--line,#d7dce3);--topicText:var(--ink,#34383e);--topicMuted:var(--muted,#91979e);--topicInput:var(--input,#fff);--topicMock:var(--soft,#eff1f5)}
.topicField{min-width:0}.topicFieldTitle{display:flex;align-items:center;gap:7px;flex-wrap:wrap;color:var(--topicText);font-weight:650;font-size:14px;margin-bottom:9px}.topicHint,.topicCountText{font-size:11px;color:var(--muted,#92979e);font-weight:400;line-height:1.6}.topicCountText{text-align:right;margin-top:4px}
#dialog .topicForm input:not([type=checkbox]),#dialog .topicForm textarea,#dialog .topicForm select{display:block;width:100%;margin:0;padding:10px 12px;border:1px solid var(--topicBorder);border-radius:6px;background:var(--topicInput);color:var(--topicText);font:inherit;min-height:38px}#dialog .topicForm textarea{min-height:94px;resize:vertical;max-height:220px}#dialog .topicForm :is(input,textarea)::placeholder{color:var(--topicMuted);opacity:.85}#dialog .topicForm :is(input,textarea,select):focus{outline:1px solid var(--accent,#62778d);outline-offset:0}
.topicOptions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.topicOption{background:var(--topicInput);border:1px solid var(--topicBorder);border-radius:10px;padding:13px;min-height:49px;color:var(--topicText);text-align:left}.topicOption.chosen{border-color:var(--topicText);box-shadow:inset 0 0 0 .35px var(--topicText)}.topicOptionRow{display:flex;align-items:center;gap:7px;width:100%;font-size:13px}.topicRadio{margin-left:auto;flex:none;width:16px;height:16px;border-radius:50%;border:1px solid var(--topicBorder);display:grid;place-items:center;font-size:11px;font-weight:700;line-height:1}.chosen .topicRadio{background:var(--topicText);border-color:var(--topicText);color:var(--topicInput)}.topicOptionIcon{font-size:14px}.viewOption{padding:12px}.topicIllustration{height:104px;background:var(--topicMock);border-radius:7px;padding:12px 13px;overflow:hidden;display:flex;flex-direction:column;gap:9px;margin-bottom:13px}.topicMock{display:flex;gap:6px;align-items:flex-start;min-width:0}.mockProfile{flex:none;width:19px;height:19px;border-radius:6px;background:#b1bcc940;position:relative}.mockProfile:before{content:'';position:absolute;top:4px;left:6px;width:7px;height:7px;border-radius:50%;background:#ffffffc4}.mockProfile:after{content:'';position:absolute;bottom:1px;left:3px;width:13px;height:6px;border-radius:6px;background:#ffffffc4}.mockLines{display:flex;flex-direction:column;gap:4px;flex:1;min-width:0;background:var(--topicInput);padding:7px;border-radius:4px}.mockLines i{display:block;height:6px;background:#a9b3bf40;border-radius:2px;width:80%}.mockLines i:nth-child(2n){width:95%}.mockLines i:last-child{width:56%}.chat .topicMock:nth-child(2){width:75%}.board .topicMock{background:var(--topicInput);padding:9px;min-height:80px;margin:3px 0 0}.board .mockLines{gap:6px;padding:2px}.board .mockLines i:first-child{width:35%}
.topicInvite{border:1px solid var(--topicBorder);border-radius:7px;padding:10px 12px}.topicInvite summary{cursor:pointer;color:var(--topicText);font-size:13px}.topicInvite .choices{max-height:160px;margin-bottom:0}.topicFooter{display:flex;justify-content:flex-end;gap:12px;align-items:center;border-top:1px solid var(--topicBorder);padding-top:15px;position:sticky;bottom:-24px;background:var(--topicInput);z-index:1;padding-bottom:3px}.topicFooter button{padding:10px 17px}.topicFooter .topicSubmit:disabled{background:var(--topicMock);color:var(--topicMuted);opacity:.85;cursor:default}
.topicDiscover{display:flex;flex-direction:column;gap:0;max-height:52vh;overflow:auto}.discoverRow{display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line,#e0e5ea);padding:13px 0}.discoverCopy{display:flex;flex-direction:column;flex:1;min-width:0;gap:4px;overflow-wrap:anywhere}.discoverCopy p,.topicInfoContent p{white-space:pre-wrap;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.discoverRow button{flex:none}.topicInfoContent{display:flex;flex-direction:column;gap:12px}
/* Board view is a separate card layout for top-level posts; replies keep the original chat layout. */
#list.boardView{background:var(--panel,#f5f7fa);padding:14px clamp(12px,4vw,48px) 24px}#list.boardView>.message{grid-template-columns:32px minmax(0,1fr);width:100%;max-width:840px;margin:0 auto 13px;padding:16px;border:1px solid var(--line,#dce2e8);border-radius:10px;background:var(--surface,#fff);gap:9px 10px;box-shadow:0 1px 3px #12243a08}#list.boardView>.message .chatBubble{width:100%;max-width:calc(100% - 47px);background:transparent;padding:5px 0 9px;border-radius:0}#list.boardView>.message .meta{border-bottom:1px solid var(--line,#edf0f3);padding-bottom:7px;margin-bottom:9px}#list.boardView>.message .actions>button:not(.reaction){position:static;opacity:1}#list.boardView>.message .actions{border-top:1px solid var(--line,#edf0f3);padding-top:7px}#list.boardView>.message .inlineThread{width:100%;margin-top:4px}#list.boardView>.day{max-width:840px;margin:8px auto 13px}
@media(max-width:760px){#dialog.topicDialog{padding:18px;max-height:88dvh}.topicForm{gap:19px}.topicFooter{bottom:-18px}.topicIllustration{padding:9px;height:92px}.topicOptions{gap:9px}.viewOption{padding:9px}#list.boardView{padding:9px}#list.boardView>.message{padding:11px;grid-template-columns:23px minmax(0,1fr);gap:5px}}

/* Topic creation feedback remains inside the modal, above its buttons. */
.topicFooter{flex-wrap:wrap}.topicFeedback{flex:0 0 100%;border:1px solid var(--line,#e1c5c2);border-radius:6px;padding:9px 11px;background:var(--soft,#fff1ef);color:var(--ink,#a12f25);font-size:13px;line-height:1.5;overflow-wrap:anywhere}.topicSubmit:disabled{cursor:not-allowed}

#deleteTopic{color:#b64242}body:is([data-theme=dark],[data-theme=dim]) #deleteTopic{color:#ef9b9b}.topicDeleteError{color:#b64242;font-size:13px;min-height:1em}body:is([data-theme=dark],[data-theme=dim]) .topicDeleteError{color:#ef9b9b} .context button:last-child:focus-visible{outline-offset:-2px}

/* 0.8.0 — poll creation and voting */
.teamTools #newPoll{font-size:13px;font-weight:700;padding:5px 8px;color:var(--accent,#52718c)}
.pollForm{display:flex;flex-direction:column;gap:18px;color:var(--ink,#30363d);--pollBorder:var(--line,#d7dee7);--pollInput:var(--input,#fff);--pollSoft:var(--soft,#f0f2f6);--pollAccent:var(--accent,#286ca9)}
.pollField{display:grid;grid-template-columns:22px minmax(0,1fr);gap:10px;align-items:start}.pollFieldIcon{font-size:21px;color:var(--muted,#a2a8b0);padding-top:19px;text-align:center}.pollFieldBody{display:flex;flex-direction:column;gap:8px;min-width:0}.pollFieldLabel{font-weight:650;font-size:13px}.pollForm :is(input:not([type=checkbox]):not([type=radio]),textarea,select){width:100%;min-width:0;margin:0!important;padding:10px 12px;border:1px solid var(--pollBorder);border-radius:6px;background:var(--pollInput);color:inherit;font:inherit}.pollForm textarea{resize:vertical;min-height:80px}.pollForm input::placeholder,.pollForm textarea::placeholder{color:var(--muted,#a0a7b1)}.pollOptions{display:flex;flex-direction:column;gap:8px}.pollOptionInput{display:flex;align-items:center;border:1px solid var(--pollBorder);border-radius:6px;background:var(--pollInput);padding-left:11px;gap:5px}.pollNumber{color:var(--muted,#919ca9);font-weight:700}.pollForm .pollOptionInput input{border:0!important;background:transparent;padding-left:6px}.pollRemove{font-size:20px;color:var(--muted,#89929e);padding:5px 9px}.pollSoft{background:var(--pollSoft);padding:11px;font-weight:500;color:inherit}.pollCheck{display:flex;gap:9px;align-items:center;font-size:13px;padding:3px 0}.pollCheck input,.pollVoteRow input{width:16px!important;height:16px;margin:0!important;accent-color:var(--pollAccent);flex:none}.pollFiles{display:flex;flex-direction:column;gap:5px}.pollFiles:empty{display:none}.pollFile{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:12px;overflow-wrap:anywhere}.pollFile span{min-width:0}.pollMeta{color:var(--muted,#768292);font-size:12px;line-height:1.5}.pollFeedback{color:var(--danger,#a43a35);font-size:13px;line-height:1.5;overflow-wrap:anywhere}.pollFooter{display:flex;justify-content:flex-end;align-items:center;gap:6px;flex-wrap:wrap;border-top:1px solid var(--pollBorder);padding-top:12px}.pollFooter button{padding:8px 11px}.pollEnd{color:var(--danger,#b64242)}.pollTitle{font-size:16px;white-space:pre-wrap;overflow-wrap:anywhere}.pollDescription{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.chatBubble.pollBubble{background:var(--surface,#fff)!important;border:1px solid var(--line,#dbe3ec);padding:13px;min-width:min(285px,100%);width:min(370px,calc(100% - 51px))}.pollCard{display:flex;flex-direction:column;gap:8px}.pollKicker{color:var(--accent,#286ca9);font-size:12px;font-weight:700}.pollResult{position:relative;overflow:hidden;border-radius:6px;border:1px solid var(--line,#dce4ec);background:var(--input,#fff)}.pollResultFill{position:absolute;left:0;top:0;bottom:0;background:var(--soft,#e3eef9);pointer-events:none}.pollResultLine{position:relative;display:flex;justify-content:space-between;gap:10px;padding:8px 10px;font-size:13px;overflow-wrap:anywhere}.pollResultLine b{white-space:nowrap}.pollAction{border:1px solid var(--line,#c8d7e4);color:var(--accent,#286ca9);padding:9px;font-weight:650;margin-top:4px}.pollVoteOption{border:1px solid var(--pollBorder);border-radius:7px;padding:10px;display:flex;flex-direction:column;gap:8px}.pollVoteRow{display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}.pollVoteRow span{flex:1;min-width:0}.pollVoteRow b{white-space:nowrap;font-size:12px}.pollTrack{height:5px;border-radius:4px;overflow:hidden;background:var(--pollSoft)}.pollTrack>div{height:100%;background:var(--pollAccent);border-radius:4px}.pollVoters{font-size:12px;line-height:1.5;color:var(--muted,#6d7c8c);overflow-wrap:anywhere}
@media(max-width:760px){.teamTools #newPoll{font-size:11px;padding:3px}.pollForm{gap:14px}.pollField{grid-template-columns:16px minmax(0,1fr);gap:7px}.pollFieldIcon{font-size:16px}.pollBubble{min-width:0!important}.pollForm input,.pollForm select,.pollForm textarea{font-size:16px!important}}

/* PWA setup panel */
.pwaSettings{border-top:1px solid #a0a0a055;margin-top:14px;padding-top:10px;display:grid;gap:6px}.pwaSettings h4{margin:0 0 4px}.pwaSettings .item{margin:0}.pwaSettings .primary{width:100%;text-align:center}.pwaSettings .deliveryStatus{overflow-wrap:anywhere;margin:0}

/* Workspace administrator */
.adminEntry{display:block;width:100%;text-align:left;padding:12px;font-weight:700;border:1px solid var(--line,#d5dfe7);margin-bottom:8px;color:var(--accent,#286ca9)}.adminHint,.adminStatus{font-size:12px;line-height:1.5;color:var(--muted,#66788b)}.adminSettings{border:1px solid var(--line,#d5dfe7);border-radius:8px;padding:10px;margin:10px 0}.adminCode{display:flex;gap:5px;align-items:center}.adminCode input{flex:1;min-width:0}.adminMembers{max-height:40vh;overflow:auto}.adminMember{display:flex;gap:8px;align-items:center;padding:10px 0;border-bottom:1px solid var(--line,#d5dfe7)}.adminMemberInfo{display:flex;flex-direction:column;gap:4px;min-width:70px;overflow-wrap:anywhere;flex:1}.adminActions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end;align-items:center;align-content:center;align-self:center;flex:2;min-width:0;height:auto}.adminActions button{display:inline-flex;align-items:center;justify-content:center;align-self:center;flex:0 0 auto;width:auto;height:auto;min-height:0;max-height:none;font-size:12px;line-height:1.3;white-space:nowrap;border:1px solid var(--line,#d5dfe7);border-radius:5px;padding:5px 8px}.adminDanger,.adminError{color:#b64242}.adminError{font-size:13px;white-space:pre-wrap}.adminError:empty{display:none}body:is([data-theme=dark],[data-theme=dim]) :is(.adminDanger,.adminError){color:#f2a3a3}dialog:has(.adminMembers){width:min(600px,94vw);max-width:94vw}

/* 0.8.3 workspace administration */
.adminCount{font-size:13px;font-weight:700;padding:8px 0;color:var(--accent,#286ca9)}.adminTopicDelete{flex:none;border:1px solid var(--line,#d5dfe7);padding:6px 9px;font-size:12px}.adminTopicDelete:hover{background:#b6424215}

/* Private topic indicator */
.privateLock{display:inline-flex;align-items:center;justify-content:center;flex:none;width:13px;height:14px;color:#929ba5}.privateLock svg{width:12px;height:12px;display:block}.topicInvite>.topicHint{padding:6px 2px;margin:0}.topicInvite .choices{max-height:180px;overflow:auto}
body:is([data-theme=dark],[data-theme=dim]) .privateLock{color:#aeb8c4}

/* 0.8.7: keep thread action visible without hover; login preferences. */
.message .actions>button:is(.alwaysReply,.alwaysReaction){position:static;left:auto;opacity:1;min-height:20px;color:#49729a;white-space:nowrap}
.message .actions>button:is(.alwaysReply,.alwaysReaction):hover{text-decoration:underline}
body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) .message .actions>button:is(.alwaysReply,.alwaysReaction){color:var(--ink)}
.card .loginOptions{display:flex;align-items:center;flex-wrap:wrap;gap:8px 18px;margin-top:12px}
.card .loginOptions label{display:flex;align-items:center;gap:7px;margin:0;font-size:13px;font-weight:500;cursor:pointer}
.card .loginOptions input[type=checkbox]{width:15px;height:15px;flex:none;padding:0;margin:0;accent-color:#286ca9;cursor:pointer}
.card .loginHint{font-size:11px;line-height:1.5;margin:8px 0;color:#6c7885}
@media(max-width:760px){.message .actions>button:is(.alwaysReply,.alwaysReaction){min-height:26px;padding:4px 6px}.card .loginOptions{gap:10px 15px}}

.message .actions{column-gap:4px;row-gap:2px;align-items:center}

/* 0.9.4: a second, independent chat; thread/search temporarily use the same right-hand space. */
#sideChat{grid-area:2/3;display:flex;flex-direction:column;min-width:0;width:min(39vw,580px);background:var(--surface,#fff);color:var(--ink,#292f39);border-left:1px solid var(--line,#dce4eb);min-height:0;overflow:hidden}
#sideChat .sideChatHead{flex-shrink:0;gap:10px}#sideChat .roomName{flex:1;min-width:0}#sideTitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#sideList{min-height:0;flex:1;overflow:auto}#sideComposer{flex-shrink:0;min-width:0}.item.sideActive{box-shadow:inset -3px 0 0 var(--accent,#286ca9)}
#app.splitChat .roomHead{flex-wrap:wrap;gap:4px}#app.splitChat #roomTools{flex-wrap:wrap;justify-content:flex-end;gap:2px}#app.splitChat .roomName{min-width:0;max-width:100%}#app.splitChat .list{padding-inline:9px}#app.splitChat .message{grid-template-columns:29px minmax(0,1fr);gap:6px}#app.splitChat .bubbleLine{min-width:0}#app.splitChat .compose .hint{display:none}
@media(max-width:760px){#sideChat{display:none!important}}

/* 0.9.5: optional message formatting and personal folder management */
.formatToolbar{display:flex;flex-wrap:wrap;gap:3px;padding:4px 5px;border:1px solid var(--line,#d7dfe8);border-bottom:0;border-radius:6px 6px 0 0;background:var(--panel,#f6f8fa);color:var(--ink,#526475)}.formatToolbar:not([hidden])+textarea{border-radius:0 0 6px 6px}.formatButton{padding:3px 8px;min-width:27px;min-height:26px;font-size:13px}.fmtBold{font-weight:800}.fmtItalic{font-style:italic}.fmtUnderline{text-decoration:underline}.fmtStrike{text-decoration:line-through}.formatToggle{font-weight:700;font-size:17px}.formatToggle.formatActive{color:var(--accent,#286ca9);background:var(--soft,#e5eef7)}.formatPreview{margin-top:4px;padding:7px 9px;border:1px dashed var(--line,#d7dfe8);border-radius:5px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:100px;overflow:auto}.formatPreview:before{content:'서식 미리보기';display:block;font-size:10px;color:var(--muted,#7c8996);margin-bottom:4px}.body code,.formatPreview code{font-family:Consolas,monospace;background:var(--soft,#0000000d);border-radius:3px;padding:1px 3px}.body a,.formatPreview a{color:var(--accent,#286ca9);text-decoration:underline;overflow-wrap:anywhere}.sideChatHead #sideMembers{font-size:12px;flex:none}

/* Folder overflow menu: reserved slot prevents text or unread badges from shifting. */
.folder>summary.folderSummary{display:flex;align-items:center;gap:5px;min-width:0;list-style:none;padding-right:5px;border-radius:5px;min-height:32px}
.folder>summary.folderSummary::-webkit-details-marker{display:none}
.folder>summary.folderSummary::before{content:'';display:block;flex:0 0 6px;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(-45deg);margin-right:3px}
.folder[open]>summary.folderSummary::before{transform:rotate(45deg);margin-top:-3px}
.folderSummary .folderLabel{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.folderSummary .folderUnread{float:none;margin:0;flex:none}
.folderSummary .folderMore{flex:0 0 25px;width:25px;height:24px;display:grid;place-items:center;padding:0;font:bold 20px/1 Arial,sans-serif;opacity:0;pointer-events:none;color:inherit;border-radius:4px}
.folderSummary:hover .folderMore,.folderSummary:focus-within .folderMore,.folderMore[aria-expanded=true]{opacity:1;pointer-events:auto}
.folderSummary .folderMore:hover,.folderMore[aria-expanded=true]{background:var(--soft,#e7ebf0)}
.context.folderContext{min-width:148px;padding:4px}.folderContext button{padding:9px 12px;font-size:13px;white-space:nowrap}.folderContext .folderDanger{color:#b64242;border-top:1px solid var(--line,#e4e8ed);border-radius:0 0 4px 4px}body:is([data-theme=dim],[data-theme=dark]) .folderContext .folderDanger{color:#ef9b9b}
@media(hover:none),(pointer:coarse){.folderSummary .folderMore{opacity:.8;pointer-events:auto}}

/* 0.9.7 — poll participation (detail only) */
.pollParticipation{display:flex;flex-direction:column;gap:9px;border:1px solid var(--pollBorder);border-radius:9px;padding:12px;background:var(--pollSoft);min-width:0}.pollParticipationTitle{font-size:14px}.pollParticipation .pollMeta{margin:0}.pollParticipationSummary{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:13px;font-weight:650}.pollParticipationVoted{color:var(--pollAccent)}.pollParticipationPending{color:var(--ink)}.pollParticipationList{border-top:1px solid var(--pollBorder);padding-top:8px;font-size:13px;min-width:0}.pollParticipationList summary{cursor:pointer;font-weight:600;line-height:1.6}.pollParticipantNames{margin:6px 0 0!important;line-height:1.65;overflow-wrap:anywhere;white-space:normal;max-height:160px;overflow:auto}

/* 0.9.12 — standalone media uses its real display width, including after image load. */
body .message>.content>.bubbleLine>.mediaOnlyShell{display:block;flex:0 1 auto;background:transparent;padding:0;border:0;border-radius:0;box-shadow:none;width:fit-content;max-width:min(420px,calc(100% - 51px));min-width:0;margin:0}
body .mediaOnlyShell>.chatSticker{display:block;width:100%;height:auto;max-width:224px;max-height:200px;object-fit:contain;margin:0}
body .mediaOnlyShell .imagePreview{display:block;width:100%;background:transparent;padding:0;margin:0;border:0;max-width:100%;line-height:0}
body .mediaOnlyShell .imagePreview img{display:block;width:100%;height:auto;max-width:100%;max-height:280px;border-radius:0}
body .mediaOnlyShell>div{min-width:0}
body .mediaOnlyShell .file{display:block;overflow-wrap:anywhere}

/* 0.9.9 — automatically detected web links in chat and reply previews. */
.messageLink{color:var(--accent,#286ca9);text-decoration:underline;overflow-wrap:anywhere;word-break:break-word;cursor:pointer}.messageLink:hover{text-decoration-thickness:2px}.messageLink:focus-visible{outline:2px solid var(--accent,#286ca9);outline-offset:2px}.replyText{cursor:pointer}.replyText .replyAuthor{font-weight:700;text-align:left;align-self:flex-start;padding:0;min-height:0;background:transparent;color:inherit}.replyText .replyAuthor:hover{text-decoration:underline}

/* 0.9.11 — company NAS folder links */
.nasFolderLink{white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word}

/* 0.9.13 — member job roles (independent of administrator permission). */
.adminJobRole{width:100%;max-width:150px;min-width:0;padding:5px 7px;border:1px solid var(--line,#d5dfe7);border-radius:5px;background:var(--input,#fff);color:var(--ink,#30363d);font-size:12px}.adminJobRole:focus-visible{outline:2px solid var(--accent,#286ca9);outline-offset:1px}

/* 0.9.16 — device-specific mobile push scope */
.mobilePushModeRow{display:flex;flex-direction:column;gap:6px;margin:9px 0 3px;font-size:13px;font-weight:650}.mobilePushMode{width:100%;min-width:0;padding:8px 9px;border:1px solid var(--line,#d7dfe8);border-radius:6px;background:var(--input,#fff);color:var(--ink,#30363d);font-size:13px;font-weight:400}.mobilePushMode:disabled{opacity:.65}

/* 0.9.17 — board topic: article cards, inline comments, and dedicated editor. */
main,#sideChat{position:relative}
body #list.boardView,body #sideList.boardView{background:var(--panel,#eff2f6);padding:20px clamp(10px,4vw,48px) 85px;min-height:0}
body :is(#list,#sideList).boardView>.message.boardCard{display:block;width:100%;max-width:620px;margin:0 auto 14px;padding:0;border:1px solid var(--line,#d9dfe7);border-radius:11px;background:var(--surface,#fff);box-shadow:none;overflow:hidden;min-width:0}
body .boardCard>.content{display:block;width:100%;max-width:100%;min-width:0}
body :is(#list,#sideList).boardView .boardCard .boardPostHead{display:flex;align-items:flex-start;gap:9px;margin:0;padding:18px 18px 0;border:0;min-height:0}
.boardPostHead>.avatar,.boardComment>.avatar,.boardInlineForm>.avatar{width:30px;min-width:30px;height:30px;border-radius:7px;flex:none}
.boardIdentity{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}.boardIdentity b{font-size:14px;overflow-wrap:anywhere}.boardIdentity time,.boardCommentMeta time{font-size:11px;color:var(--muted,#8593a4)}
.boardPostHead .read{flex:none;font-size:11px;color:var(--muted,#8593a4);padding:0}.boardPostHead .hoverAction{font-size:17px;line-height:1;padding:0 3px;flex:none;color:var(--muted,#8593a4)}
body :is(#list,#sideList).boardView .boardCard .bubbleLine{display:block;padding:15px 18px 4px;max-width:100%;min-width:0}
body :is(#list,#sideList).boardView .boardCard :is(.chatBubble,.mediaOnlyShell){display:block;width:100%!important;max-width:100%;padding:0;margin:0;border:0;border-radius:0;background:transparent!important;box-shadow:none;color:inherit}
.boardPostTitle{font-size:16px;font-weight:700;line-height:1.55;overflow-wrap:anywhere;margin:0 0 12px}.boardCard .body{font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.boardCard .body:empty{display:none}.boardCard .imagePreview img{max-height:420px}
body :is(#list,#sideList).boardView .boardCard .actions{display:flex;gap:4px;padding:5px 18px 14px;border:0;margin:0}.boardCard .actions .alwaysReaction{position:static;opacity:1}.boardCard .actions .reaction,.boardCommentReactions .reaction{font-size:12px;border:1px solid var(--line,#d9e0e8);border-radius:5px;padding:3px 6px;background:transparent}.boardCard .actions .selected,.boardCommentReactions .selected{background:var(--soft,#e8f3fe);color:var(--accent,#286ca9);border-color:var(--accent,#286ca9)}
.boardComments{border-top:1px solid var(--line,#dce2e8);padding:12px 15px 16px;display:flex;flex-direction:column;gap:15px}.boardCommentHeading{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:13px}.boardAllComments{font-size:12px;color:var(--accent,#286ca9)}.boardComment{display:flex;gap:9px;align-items:flex-start;min-width:0}.boardCommentText{flex:1;min-width:0}.boardCommentMeta{display:flex;flex-direction:column;gap:3px;margin-bottom:7px}.boardCommentMeta b{font-size:13px}.boardCommentBody{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.65}.boardCommentReactions{display:flex;gap:4px;align-items:center;margin-top:5px}.boardCommentMore{font-size:12px;color:var(--muted,#8593a4)}
.boardInlineForm{display:flex;align-items:center;gap:6px;margin-top:4px;min-width:0}.boardInlineInput{flex:1;min-width:0;resize:vertical;min-height:40px;max-height:140px;line-height:1.5;padding:10px;border:1px solid var(--line,#d5dce5);border-radius:6px;background:var(--input,#fff);color:inherit;font-size:13px}.boardInlineInput::placeholder{color:var(--muted,#a1aab5)}.boardInlineSend,.boardInlineExpand{flex:none;width:24px;height:30px;padding:0;color:var(--accent,#286ca9);font-size:16px}
#composer.boardControls,#sideComposer.boardControls{position:absolute;right:20px;bottom:17px;z-index:4;display:flex;flex-direction:column;gap:9px;background:transparent;padding:0;pointer-events:none}.boardFloat{width:45px;height:45px;border-radius:50%;background:var(--surface,#fff);color:var(--muted,#8291a2);box-shadow:0 2px 12px #142a4224;font-size:23px;pointer-events:auto}.boardFloat.boardWrite{color:var(--accent,#3779bc)}
#drawer.boardEditorDrawer{width:min(44vw,490px);min-width:320px}#drawer.boardEditorDrawer #filters{border:0;padding:18px 20px 0;display:block}#drawer.boardEditorDrawer #filters select{max-width:none;width:100%;height:43px;border:1px solid var(--line,#d5dce5);border-radius:9px;padding:8px 10px;background:var(--input,#fff);color:inherit}#drawer.boardEditorDrawer #results{padding:12px 20px 20px;overflow:auto;min-height:0}.boardEditorHost .boardCompose{border:0;background:transparent;padding:0;margin:0;position:relative}.boardTitleInput{width:100%;height:43px;border:1px solid var(--line,#d5dce5);border-radius:9px;padding:9px 11px;background:var(--input,#fff);color:inherit}.boardCount{text-align:right;font-size:11px;color:var(--muted,#8593a4);padding:5px 2px 12px}.boardEditorHost .boardCompose textarea{min-height:270px;height:clamp(230px,40vh,365px);padding:13px;line-height:1.65;resize:vertical;border-radius:9px 9px 0 0;border:1px solid var(--line,#d5dce5);background:var(--input,#fff)}.boardEditorHost .boardCompose .tools{border:1px solid var(--line,#d5dce5);border-top:0;border-radius:0 0 9px 9px;padding:8px;gap:8px;background:var(--input,#fff)}.boardEditorHost .suggestions{top:80px;bottom:auto;z-index:7}.boardEditorFooter{display:flex;justify-content:flex-end;align-items:center;gap:10px;margin-top:12px}.boardEditorFooter button{padding:9px 15px;border-radius:6px}.boardEditorFooter .primary{background:var(--accent,#286ca9);color:white}
@media(max-width:760px){body #list.boardView,body #sideList.boardView{padding:10px 9px 75px}body :is(#list,#sideList).boardView .boardCard .boardPostHead{padding:13px 12px 0}body :is(#list,#sideList).boardView .boardCard .bubbleLine{padding:12px 12px 3px}body :is(#list,#sideList).boardView .boardCard .actions{padding:4px 12px 12px}.boardComments{padding:10px 10px 12px}.boardInlineInput{font-size:12px}.boardInlineForm{gap:4px}.boardInlineForm>.avatar{width:24px;min-width:24px;height:24px}#composer.boardControls{right:12px;bottom:13px}#drawer.boardEditorDrawer{width:100%;min-width:0}#drawer.boardEditorDrawer #filters{padding:12px 12px 0}#drawer.boardEditorDrawer #results{padding:10px 12px 15px}}

/* Topic membership moderation */
.topicMemberRow{display:flex;align-items:center;gap:8px;min-width:0}.topicMemberRow>.item{flex:1;min-width:0;width:auto}.topicMemberKick{flex:0 0 auto;align-self:center;width:auto;min-height:0;height:auto;line-height:1.4;font-size:12px;padding:5px 8px;border:1px solid var(--line,#d9dfe6);border-radius:5px;color:#b64242;white-space:nowrap}.topicMemberKick:hover{background:var(--soft,#f5e7e7)}body:is([data-theme=dim],[data-theme=dark]) .topicMemberKick{color:#ef9b9b}

/* 0.9.18 — topic shared memo and collapsible inline announcement */
.roomName .topicMemoBtn{flex:none;white-space:nowrap;font-size:12px;padding:4px 9px;margin-left:5px;border:1px solid var(--line,#dce2e8);border-radius:5px;color:var(--accent,#286ca9)}
#pinPanel{position:relative;flex:none;min-width:0;margin:4px 8px;border:1px solid var(--line,#dce2e8);border-radius:7px;overflow:hidden;background:color-mix(in srgb,var(--surface,#fff) 83%,var(--notice,#e4e8ec));box-shadow:0 1px 4px #1523360a;backdrop-filter:blur(8px)}
body #pinBanner{display:flex;width:100%;align-items:center;gap:8px;text-align:left;min-width:0;padding:8px 10px;background:transparent;border:0;border-radius:0;color:var(--ink,#30363d);font-size:13px}#pinBanner .avatar{width:23px;min-width:23px;height:23px;border-radius:6px}#pinBanner .pinSummary{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#pinBanner .pinArrow{flex:none;width:24px;height:24px;display:grid;place-items:center;border-radius:5px;background:var(--soft,#edf0f3);color:var(--muted,#66717d);font-size:17px}#pinContent{max-height:min(36vh,340px);overflow:auto;padding:10px 14px;border-top:1px solid var(--line,#dce2e8)}.pinDetails{font-size:11px;color:var(--muted,#728090);margin-bottom:8px}.pinOriginal{font-size:12px;margin-top:8px;padding:3px 6px;color:var(--accent,#286ca9)}
#drawer.memoDrawer #filters{display:flex;align-items:center;justify-content:space-between;gap:5px;padding:12px 14px}.memoInfo{min-width:0;display:flex;flex-direction:column;gap:4px}.memoInfo strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.memoInfo span{font-size:11px;color:var(--muted,#778493)}.memoRefresh{font-size:20px;flex:none;padding:4px 8px}#drawer.memoDrawer #results{flex:1;min-height:0;padding:12px;background:var(--panel,#f2f4f7)}.memoCard{background:var(--surface,#fff);border:1px solid var(--line,#dce2e8);border-radius:8px;margin-bottom:10px;padding:12px;display:flex;flex-direction:column;gap:9px;min-width:0}.memoHead{display:flex;align-items:center;gap:8px}.memoHead .avatar{width:29px;min-width:29px;height:29px}.memoIdentity{min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13px}.memoIdentity time{font-size:11px;color:var(--muted,#778493)}.referenceBody{display:flex;flex-direction:column;gap:6px;min-width:0;overflow-wrap:anywhere;line-height:1.6;font-size:13px}.referenceText{white-space:pre-wrap;overflow-wrap:anywhere}.referenceTitle{font-size:14px;font-weight:650}.referenceBody .imagePreview{align-self:flex-start;max-width:100%;margin:0}.referenceBody .imagePreview img{max-height:220px;max-width:100%}.referenceBody .download{align-self:flex-start;overflow-wrap:anywhere}.memoFoot{display:flex;align-items:center;gap:5px;flex-wrap:wrap;border-top:1px solid var(--line,#e6e8ed);padding-top:6px;font-size:11px;color:var(--muted,#778493)}.memoFoot span{flex:1;min-width:0}.memoFoot button{white-space:nowrap;font-size:11px;padding:4px 6px;color:var(--accent,#286ca9)}.memoFoot .memoRemove{color:#b45b57}.memoAlready{font-size:12px;color:var(--muted,#778493)}
@media(max-width:760px){.roomName .topicMemoBtn{font-size:11px;margin-left:0;padding:4px 6px}#pinPanel{margin:3px 5px}#pinContent{max-height:30vh}#drawer.memoDrawer{width:100%;min-width:0}}

body:is([data-theme=warm],[data-theme=dim],[data-theme=dark]) #pinBanner{background:transparent;color:var(--ink);border:0}

/* 0.9.19 — opt-out, rate-limited MSN-style nudge. */
.nudgeButton{font-size:12px;white-space:nowrap;color:var(--muted,#687b88)}
.nudgePeople{max-height:260px;overflow:auto;display:flex;flex-direction:column;gap:2px}
@keyframes studioNudge{0%,100%{transform:translate(0,0)} 10%,30%,50%,70%{transform:translate(-6px,2px)} 20%,40%,60%,80%{transform:translate(6px,-2px)} 90%{transform:translate(-2px,0)}}
#app.nudgeShake{animation:studioNudge .65s ease-in-out both}
@media(prefers-reduced-motion:reduce){#app.nudgeShake{animation:none}}

/* 0.9.20 — content-sized chat composers; keep the history usable on small screens. */
.compose:not(.boardCompose) textarea.growChatInput{field-sizing:content;min-height:49px;max-height:min(280px,35vh);max-height:min(280px,35dvh);height:auto;resize:none;overflow-y:auto;line-height:1.5;flex:none}
.boardInlineInput.growChatInput{field-sizing:content;min-height:40px;max-height:min(140px,25vh);max-height:min(140px,25dvh);height:auto;resize:none;overflow-y:auto}
#composer:not(.boardControls),#replyComposer,#sideComposer:not(.boardControls){flex-shrink:0;min-width:0}
@media(max-width:760px){.compose:not(.boardCompose) textarea.growChatInput{max-height:min(220px,30vh);max-height:min(220px,30dvh)}}

/* 0.9.22 — spacious message edit dialog, scoped to message editing. */
#dialog.messageEditDialog{width:min(680px,calc(100vw - 32px));max-width:calc(100vw - 32px);min-width:0;padding:24px;max-height:90vh;max-height:90dvh;border-radius:12px;overflow:auto}
#dialog.messageEditDialog h3{font-size:18px;margin-bottom:18px}
.messageEditForm{display:flex;flex-direction:column;min-width:0;gap:0}
.messageEditTools{display:flex;align-items:center;gap:10px;margin-bottom:6px}.messageEditHint{font-size:11px;color:var(--muted,#768292)}
#dialog .messageEditInput{display:block;width:100%;min-width:0;min-height:180px;height:clamp(210px,38vh,350px);max-height:60vh;padding:12px 14px;font:inherit;font-size:14px;line-height:1.65;resize:vertical;overflow:auto;white-space:pre-wrap;border:1px solid var(--line,#cfdbe5);border-radius:8px;background:var(--input,#fff);color:inherit}
#dialog .formatToolbar:not([hidden])+.messageEditInput{border-radius:0 0 8px 8px}
#dialog .messageEditTitle{margin:0 0 10px;min-width:0}.messageEditFooter{display:flex;justify-content:flex-end;align-items:center;gap:8px;margin-top:15px}.messageEditFooter button{min-height:34px;padding:7px 16px}.messageEditFooter .messageEditCancel{border:1px solid var(--line,#cfdbe5)}
@media(max-width:760px){#dialog.messageEditDialog{width:calc(100vw - 16px);max-width:calc(100vw - 16px);padding:16px;max-height:86dvh}#dialog .messageEditInput{font-size:16px;height:clamp(170px,35dvh,300px);min-height:140px;max-height:55dvh}}

/* 0.9.24: Windows always-on-top control; not shown on mobile. */

/* 0.9.29 — per-device mobile notification preference. */
.pwaSettings .pwaDesktopPause{gap:10px;font-size:13px;align-items:center}.pwaSettings .pwaDesktopPause input{flex:none}

/* 0.9.30 — personal folder order, without changing topic order inside folders. */
#topics .folderSummary[draggable=true]{cursor:grab}
#topics .folderSummary[draggable=true]:active{cursor:grabbing}
#topics .folder.draggingFolder{opacity:.5}
#topics .folderSummary.dropBefore{box-shadow:inset 0 3px 0 var(--accent,#398bd5)}
#topics .folderSummary.dropAfter{box-shadow:inset 0 -3px 0 var(--accent,#398bd5)}

/* 0.9.32 — flat, continuous reply panel, with original and replies in one scroll area. */
body #thread{min-height:0;overflow:hidden;width:min(38vw,460px);min-width:280px;}
#thread .threadHeader{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:52px;padding:8px 12px;flex:none;}
#thread .threadHeader h2{flex:1;font-size:17px;margin:0;letter-spacing:-.02em}
#thread .threadHeader button{font-size:20px;line-height:1.2;padding:5px 7px;}
#thread #closeThread{color:var(--muted,#9ca6b0)}
body #thread #replies{flex:1;min-height:0;overflow:auto;padding:0;background:var(--surface,#fff);}
body #thread #origin{max-height:none;overflow:visible;padding:0;margin:0;border:0;background:transparent;color:inherit;}
body #thread article.threadCard{display:grid;grid-template-columns:30px minmax(0,1fr);align-items:start;gap:0 10px;padding:16px 14px 14px;margin:0;min-width:0;border:0;border-bottom:1px solid var(--line,#e1e5ea);background:transparent;}
body #thread article.threadCard>.avatar{grid-column:1;grid-row:1;width:30px;min-width:30px;height:30px;border-radius:8px;margin:2px 0 0;display:grid;}
body #thread article.threadCard>.content{grid-column:2;grid-row:1;display:block;min-width:0;width:100%;max-width:100%;}
body #thread .threadCard .meta{display:flex;align-items:flex-start;justify-content:space-between;gap:6px;margin:0 0 10px;min-height:0;}
#thread .threadIdentity{display:flex;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere;}
#thread .threadIdentity b{font-size:13px;line-height:1.35;font-weight:650;}
#thread .threadDate,#thread .threadCard .meta .read{font-size:11px;line-height:1.3;color:var(--muted,#8794a1);white-space:nowrap;}
#thread .threadCard .meta .read{flex:none;padding:1px 0;}
#thread .threadCard .bubbleLine{display:block;max-width:100%;}
body #thread .threadCard .bubbleLine>:is(.chatBubble,.mediaOnlyShell){width:100%!important;max-width:100%;min-width:0;padding:0;margin:0;border:0;box-shadow:none;border-radius:0;background:transparent!important;color:inherit;}
body #thread .threadCard .body{padding:0;margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65;font-size:13px;background:transparent!important;color:inherit;}
body #thread .threadCard .body:empty{display:none;}
#thread .threadCard .imagePreview{width:100%;max-width:100%!important;padding:0;margin:7px 0 3px;border:1px solid var(--line,#e0e3e8);border-radius:6px;background:var(--panel,#eef0f2);overflow:hidden;}
#thread .threadCard .imagePreview img{display:block;width:100%;height:auto;max-height:220px;object-fit:contain;border-radius:0;}
#thread .threadCard .chatSticker{width:auto;height:auto;max-width:min(224px,100%);max-height:200px;object-fit:contain;margin:4px 0;}
#thread .threadCard .file{max-width:100%;overflow-wrap:anywhere;}
body #thread .threadCard .actions{display:flex;gap:5px;min-height:0;margin-top:5px;}
#thread .threadCard .actions .reaction{border:1px solid var(--line,#dce2e8);border-radius:5px;font-size:11px;padding:3px 6px;}
#thread .threadCard .actions .alwaysReaction,#thread .threadCard .actions .hoverAction{position:static;left:auto;opacity:1;min-height:22px;padding:2px 5px;color:var(--muted,#8794a1);}
#thread #replies>.earlier{margin:10px auto;}
#thread #replies>.empty{padding:15px 18px;font-size:12px;}
#thread #replyComposer{flex:none;min-width:0;}
#thread #replyComposer .compose{padding:10px 11px 8px;margin:0;background:var(--surface,#fff);border-top:1px solid var(--line,#dce2e8);}
#thread #replyComposer .formatToolbar{gap:2px;padding:4px 3px;}
#thread #replyComposer .formatButton{padding:3px 5px;min-width:23px;font-size:12px;}
#thread #replyComposer textarea.growChatInput{min-height:60px;max-height:min(200px,30dvh);padding:9px;}
#thread #replyComposer .tools{gap:4px;flex-wrap:wrap;}
#thread #replyComposer .tools .hint{display:none;}
#thread #replyComposer .tools .primary{margin-left:auto;}
@media(max-width:760px){body #thread{width:100%;min-width:0;}body #thread article.threadCard{padding:14px 10px;gap:0 8px;}#thread #replyComposer textarea.growChatInput{max-height:min(180px,28dvh);}}

/* 0.9.33 — floating jump to latest message (chat / side chat / replies / board). */
main,#sideChat,#thread{position:relative;}
.latestJump{position:absolute;z-index:5;right:18px;bottom:14px;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid var(--line,#dce2e8);border-radius:50%;background:var(--surface,#fff);color:var(--ink,#38404b);box-shadow:0 2px 12px #142a4224;cursor:pointer;touch-action:manipulation;}
.latestJump svg{width:22px;height:22px;pointer-events:none;}
.latestJump:hover{background:var(--soft,#e7ebf0);color:var(--accent,#286ca9);}
.latestJump:focus-visible{outline:2px solid var(--accent,#286ca9);outline-offset:2px;}
.latestJump[hidden]{display:none!important;}

/* 0.9.34: installed Windows web app only, no ordinary browser window controls. */
.teamTools #appWindowPin{display:inline-flex;align-items:center;justify-content:center;width:29px;height:29px;padding:3px;color:var(--accent,#587089)}.teamTools #appWindowPin[hidden]{display:none!important}.teamTools #appWindowPin svg{width:20px;height:20px}
@media not all and (display-mode: standalone){.teamTools #appWindowPin{display:none!important}}

/* 0.9.38: board cards preserve their visual anchor during comment updates. */
body :is(#list,#sideList).boardView{overflow-anchor:none}

/* 0.9.40: member suggestions and inline comment emoji tools */
.memberSuggestions{width:min(320px,calc(100% - 22px));max-height:225px;z-index:12;overscroll-behavior:contain;scrollbar-width:thin}
.memberSuggestions .mentionChoice{width:100%;display:flex;align-items:center;gap:9px;text-align:left;padding:7px 9px;min-height:47px;border-radius:6px;color:inherit;white-space:normal}
.memberSuggestions .mentionChoice .avatar{width:32px;min-width:32px;height:32px;font-size:13px;flex:none;pointer-events:none}
.mentionLabels{display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:3px;line-height:1.25}.mentionName{font-weight:600;overflow-wrap:anywhere}.mentionRole{font-size:11px;color:var(--muted,#788595)}
.memberSuggestions .mentionChoice:hover{background:var(--active-bg,#eef2f6)}
.boardInlineForm{align-items:flex-start}.boardInlineForm>.avatar{margin-top:5px}.boardInlineField{position:relative;flex:1;min-width:0}.boardInlineField .boardInlineInput{display:block;width:100%;box-sizing:border-box}.boardInlineTools{display:flex;align-items:center;gap:2px;flex:none;min-height:40px}.boardInlineTool{width:25px;height:30px;padding:0;color:var(--accent,#286ca9);font-size:16px}
.boardInlineField .memberSuggestions{left:0;bottom:calc(100% + 4px);width:min(320px,calc(100vw - 72px));min-width:0}.boardStickerDraft{display:flex;align-items:flex-start;gap:5px;margin-bottom:5px}.boardStickerDraft .chatSticker{width:64px;height:64px;object-fit:contain;margin:0}.boardStickerDraft button{font-size:12px;color:var(--muted,#788595)}
body :is(#list,#sideList).boardView>.message.boardCard:has(.memberSuggestions:not([hidden])){overflow:visible;position:relative;z-index:5}
.inlineCommentReactions{display:flex;gap:4px;flex-wrap:wrap;align-items:center;margin-top:4px}.inlineCommentReactions .reaction{font-size:11px;padding:2px 5px;border:1px solid var(--line,#d9e0e8);border-radius:5px}.inlineCommentReactions .selected{background:var(--soft,#e8f3fe);color:var(--accent,#286ca9)}.commentReactionAdd{font-size:12px;color:var(--muted,#788595);padding:3px 5px;border:1px solid var(--line,#d9e0e8);border-radius:5px}.commentReactionAdd:hover{color:var(--accent,#286ca9)}
@media(max-width:760px){.boardInlineTools{gap:0}.boardInlineTool,.boardInlineSend,.boardInlineExpand{width:23px}.boardInlineField .memberSuggestions{width:min(270px,calc(100vw - 85px))}}

/* 0.9.41: attachment browser and proportional reply previews */
.inlineReply .replyText .inlineReplyImage,.boardCommentText .imagePreview,#thread .threadCard .imagePreview{align-self:flex-start;width:fit-content;max-width:100%;min-width:0;display:block;line-height:0;padding:0;border:0;background:transparent;}
.inlineReply .replyText .inlineReplyImage img,.boardCommentText .imagePreview img,#thread .threadCard .imagePreview img{display:block;width:auto;height:auto;max-width:100%;max-height:280px;object-fit:contain;align-self:flex-start;border-radius:5px;}
.inlineReply .replyText .replyThumbnail{align-self:flex-start;width:auto;height:auto;max-width:100%;max-height:280px;object-fit:contain;}
.inlineReply .replyText .chatSticker,.boardCommentText .chatSticker{align-self:flex-start;width:auto;height:auto;max-width:100%;max-height:160px;object-fit:contain;}
.fullImage{width:auto;height:auto;max-width:100%;max-height:72vh;object-fit:contain;}
#drawer.fileDrawer #filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:10px 12px;}
#drawer.fileDrawer #filters input{grid-column:1/-1;min-width:0;}
#drawer.fileDrawer #filters select{width:100%;max-width:none;min-width:0;padding:7px 4px;background:var(--input,var(--surface,#fff));color:var(--ink,#30363d);border-color:var(--line,#d5dfe8);}
#drawer.fileDrawer #results{padding:0;min-height:0;flex:1;}
.fileResultCount{padding:10px 14px;font-size:12px;color:var(--muted,#728293);background:var(--panel,#f6f8fa);border-bottom:1px solid var(--line,#e1e6ec);}
.fileResultCard{padding:12px 14px;border-bottom:1px solid var(--line,#e1e6ec);min-width:0;}
.fileResultRoom{display:block;max-width:100%;text-align:left;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--accent,#286ca9);font-size:12px;padding:0;margin:0 0 7px;background:transparent;}
.fileResultRow{display:flex;align-items:center;gap:9px;min-width:0;}
.fileThumbButton{flex:none;padding:0;background:transparent;border:0;line-height:0;}
.fileResultThumb{position:relative;display:grid;place-items:center;flex:none;width:44px;height:44px;overflow:hidden;background:var(--panel,#edf1f5);border:1px solid var(--line,#dce2e8);border-radius:5px;}
.fileResultThumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;}
.fileResultExt{font-size:10px;font-weight:700;color:var(--muted,#607384);}
.fileResultDetail{min-width:0;flex:1;display:flex;flex-direction:column;gap:4px;}
.fileResultName{display:block;text-align:left;max-width:100%;min-width:0;overflow-wrap:anywhere;font-size:13px;font-weight:650;color:var(--ink,#30363d);padding:0;background:transparent;text-decoration:none;line-height:1.45;}
.fileResultName:hover,.fileResultRoom:hover{text-decoration:underline;}
.fileResultMeta{font-size:11px;color:var(--muted,#728293);line-height:1.4;overflow-wrap:anywhere;}
.fileResultDownload{flex:none;font-size:17px;text-decoration:none;padding:5px;color:var(--accent,#286ca9);}
#drawer.fileDrawer .earlier{display:block;margin:12px auto;}

/* 0.9.42: on-demand storage management */
.storageStats,.storageResult,.storageHistory{display:grid;gap:7px;padding:10px;border:1px solid var(--line,#ccc);border-radius:8px}.storageRow{display:flex;gap:12px;justify-content:space-between;align-items:center;font-size:13px}.storageRow strong{text-align:right;font-variant-numeric:tabular-nums}.storageResult:empty{display:none}.storageResult p,.storageHistory p{margin:0;font-size:12px;line-height:1.5}.expiredAttachment{display:block;font-size:12px;opacity:.75;overflow-wrap:anywhere;padding:4px 0}

/* 0.9.44: persisted edit indicator, outside user formatting. */
.editedMark{color:var(--muted,#86919b);font-size:11px;font-weight:400;font-style:normal;white-space:nowrap;display:inline;}

.replyActivityMark{font-size:11px;color:var(--muted,#86919b);font-weight:400;margin-left:8px;}

/* 0.9.45 — compact member profile, using workspace theme colors */
.profileTrigger{cursor:pointer!important}.profileTrigger:focus-visible{outline:2px solid var(--accent,#3278b9);outline-offset:2px}
#dialog.memberProfileDialog{width:min(320px,calc(100vw - 24px));min-width:0;max-width:calc(100vw - 24px);padding:0;overflow:auto;border-radius:12px;background:var(--surface,#fff);color:var(--ink,#30363d)}
#dialog.memberProfileDialog>form{position:absolute;right:6px;top:6px;z-index:2;margin:0;padding:0}
#dialog.memberProfileDialog .x{position:static;background:#0007;color:#fff;width:30px;height:30px;border-radius:50%;padding:0;line-height:30px}
#dialog.memberProfileDialog #dialogBody{padding:0;margin:0}#dialog.memberProfileDialog #dialogBody>h3{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;margin:0}
.memberProfileCard{display:flex;flex-direction:column;gap:12px;padding:0 14px 14px;min-width:0}
.memberProfileHero{position:relative;overflow:hidden;isolation:isolate;min-height:164px;margin:0 -14px;padding:20px 16px 16px;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-end;gap:9px;background:#536c80;color:white}
.memberProfileBackground{position:absolute;inset:-12px;width:calc(100% + 24px);height:calc(100% + 24px);object-fit:cover;filter:blur(8px) brightness(.6);z-index:-1}
.memberProfilePortrait{display:grid;place-items:center;flex:none;width:68px;height:68px;object-fit:cover;border:2px solid #fff9;border-radius:12px;background:#d8e4ee;color:#34536d;font-size:30px;font-weight:700;margin:0}
img.memberProfilePortrait{cursor:zoom-in}.memberProfileIdentity{display:flex;flex-direction:column;gap:4px;max-width:100%;overflow-wrap:anywhere;text-shadow:0 1px 4px #0008}.memberProfileIdentity strong{font-size:17px}.memberProfileIdentity span{font-size:12px;color:#fff}
.memberProfileActions{display:grid;gap:7px}.memberProfileAction{min-height:36px;background:var(--panel,#eff2f5);color:var(--ink,#30363d);font-weight:650;text-align:center;width:100%;border:1px solid var(--line,#e2e6ea);border-radius:6px}
.memberProfileAction:hover{background:var(--hover,#e3e8ec)}
.memberProfileQuick{display:flex;align-items:stretch;gap:0;border:1px solid var(--line,#cbd4df);border-radius:7px;background:var(--input,#fff);margin:0;padding:0;min-width:0}
.memberProfileQuick:focus-within{border-color:var(--accent,#3278b9)}
.memberProfileQuick .memberProfileInput{flex:1;min-width:0;width:100%;padding:10px 9px;resize:vertical;min-height:42px;max-height:120px;border:0;outline:none;background:transparent;color:var(--ink,#30363d);margin:0;font:inherit}
.memberProfileQuick .memberProfileSend{flex:0 0 40px;font-size:19px;color:var(--accent,#3278b9);background:transparent;border:0;margin:0;padding:0;align-self:center;min-height:36px}
.memberProfileFeedback{font-size:12px;color:var(--muted,#78848f);overflow-wrap:anywhere;line-height:1.5;margin:0}.memberProfileFeedback:empty{display:none}

/* Annual leave sidebar */
.teamTools #leaveRequest{white-space:nowrap;font-size:12px;font-weight:700;color:var(--accent,#52718c);padding:5px 7px;display:inline-flex;gap:4px;align-items:center;flex-shrink:0}.teamTools #leaveBadge{background:#b44a42;color:#fff;border-radius:12px;padding:1px 5px;font-size:10px}.teamTools #leaveBadge[hidden]{display:none!important}
#drawer.leaveDrawer{width:min(40vw,460px);min-width:310px}#drawer.leaveDrawer #filters{display:none}#drawer.leaveDrawer #results{overflow:auto;padding:0;min-height:0;flex:1}.leaveContent{padding:14px;display:flex;flex-direction:column;gap:14px;color:var(--ink,#29333d)}.leaveTabs{display:flex;gap:6px;flex-wrap:wrap}.leaveTabs button{border:1px solid var(--line,#d7dfe7);padding:8px 12px;flex:1}.leaveTabs button.active{background:var(--accent,#52718c);color:white}.leaveForm,.leaveHistory{display:flex;flex-direction:column;gap:10px}.leaveForm[hidden]{display:none!important}.leaveForm h3,.leaveHistory h3{font-size:14px;margin:0}.leaveCalendar{border:1px solid var(--line,#d7dfe7);border-radius:9px;padding:9px}.leaveCalendarHead,.leaveHistoryHead,.leaveCardHead{display:flex;align-items:center;justify-content:space-between;gap:8px}.leaveCalendarHead button{font-size:23px;line-height:1;padding:4px 12px}.leaveDays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;margin-top:8px}.leaveWeek{text-align:center;font-size:11px;color:var(--muted,#78828b);padding:5px 0}.leaveDay{min-height:32px;padding:4px 0;font-size:13px;border:1px solid transparent}.leaveDay.weekend{color:#b45b59}.leaveDay.today{border-color:var(--accent,#52718c)}.leaveDay.selected{background:var(--accent,#52718c);color:white}.leavePicked,.leaveReason,.leaveDates{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.leavePicked,.leaveHint,.leaveMeta{font-size:12px;color:var(--muted,#78828b);line-height:1.5}.leaveClear{align-self:flex-end;font-size:12px;color:var(--accent,#52718c)}.leaveLabel{font-weight:700;font-size:13px}.leaveForm textarea{width:100%;resize:vertical;min-height:75px;border:1px solid var(--line,#d7dfe7);border-radius:6px;padding:9px;background:var(--input,var(--surface,#fff));color:var(--ink,#29333d)}.leaveForm .primary{padding:10px}.leaveError{font-size:12px;color:#b44a42}.leaveError:empty{display:none}.leaveItems{display:flex;flex-direction:column;gap:10px}.leaveCard{border:1px solid var(--line,#d7dfe7);border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:6px}.leaveStatus{font-size:11px;padding:3px 6px;border-radius:4px;background:#e9edf1;color:#536171;white-space:nowrap}.leaveStatus.pending{background:#faebce;color:#795a1e}.leaveStatus.approved{background:#deeee3;color:#28603e}.leaveStatus.rejected{background:#f8e0df;color:#96413c}.leaveDates{font-weight:700;font-size:13px}.leaveReason{font-size:13px}.leaveActions{display:flex;justify-content:flex-end;gap:7px}.leaveActions button{padding:6px 9px;border:1px solid var(--line,#d7dfe7)}.leaveHistoryHead button{font-size:12px}.leaveMore{padding:9px;border:1px solid var(--line,#d7dfe7)}
@media(max-width:760px){#drawer.leaveDrawer{width:100%;min-width:0}.teamTools #leaveRequest{font-size:10px;padding:3px 4px}.teamBar .teamTools{gap:1px}.teamBar .teamLogo{min-width:0;overflow:hidden;white-space:nowrap}.leaveContent{padding:12px}}
.leaveTabs button[hidden]{display:none!important}
@media(max-width:420px){.teamBar .teamLogo{flex:1;min-width:0}.teamBar .teamTools{flex-shrink:0}.teamBar .teamTools button:not(#leaveRequest){padding-left:3px;padding-right:3px}}

/* 0.9.50: on-demand leave PDF export */
.leaveExport{display:flex;flex-direction:column;gap:8px;padding:10px;border:1px solid var(--line,#d7dfe7);border-radius:8px}.leaveExport strong{font-size:13px}.leaveExport .leaveHint,.leaveExport .leaveError{margin:0}.leaveExportDates{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.leaveExport label{display:flex;flex-direction:column;gap:4px;font-size:12px;min-width:0}.leaveExport input,.leaveExport select{width:100%;min-width:0;box-sizing:border-box;border:1px solid var(--line,#d7dfe7);border-radius:5px;background:var(--input,var(--surface,#fff));color:var(--ink,#29333d);padding:7px 4px;font:inherit}.leaveExport button{padding:9px}.leaveExport button:disabled{opacity:.65}

/* 0.9.51: approval rejection details */
.leaveRejectedReason{color:#b44a42;white-space:pre-wrap;overflow-wrap:anywhere}.leaveRejectField{display:block;width:100%;box-sizing:border-box;min-height:100px;resize:vertical;border:1px solid var(--line,#d7dfe7);border-radius:6px;padding:9px;background:var(--input,var(--surface,#fff));color:var(--ink,#29333d);font:inherit}

.leaveExport[hidden]{display:none!important}

/* 0.9.56: official company logo, unchanged layout. */
.companyBrandMark,.companyTeamMark{display:block;flex:none;object-fit:contain;background:#fff;border-radius:6px}
.companyBrandMark{width:48px;height:48px}
.companyTeamMark{width:34px;height:34px}
@media(max-width:760px){.companyTeamMark{width:27px;height:27px}}
@media(max-width:420px){.companyTeamMark{width:24px;height:24px}}

/* Online indicator for direct-chat sidebar only. */
.railScroll .item .dmPresenceAvatar{position:relative;display:inline-flex;align-items:center;justify-content:center;width:23px;height:23px;flex:0 0 23px;overflow:visible}
.railScroll .item .dmPresenceAvatar .avatar{width:23px;min-width:23px;height:23px}
.dmPresenceDot{position:absolute;top:-2px;right:-3px;width:8px;height:8px;border:1.5px solid var(--surface,#fff);border-radius:50%;background:#25c66a;box-sizing:border-box;pointer-events:none}

/* 0.9.61 workspace directory */
.teamTools #organization{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:29px;height:29px;padding:4px;color:var(--accent,#52718c)}
.teamTools #organization svg{width:21px;height:21px}.teamTools #organization[aria-expanded=true]{background:var(--panel,#e8eef4);box-shadow:inset 0 -2px var(--accent,#52718c)}
#drawer.organizationDrawer{width:min(38vw,430px);min-width:300px}#drawer.organizationDrawer #filters{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;padding:12px 14px;align-items:center}#drawer.organizationDrawer #filters input{grid-column:1/-1;width:100%;min-width:0}#drawer.organizationDrawer #filters select{grid-column:2;grid-row:2;max-width:none}#drawer.organizationDrawer #results{padding:0;overflow:auto;min-height:0;flex:1}
.organizationCount{grid-column:1;grid-row:2;color:var(--muted,#778493);font-size:12px}.organizationMember{display:flex;width:100%;align-items:center;gap:12px;text-align:left;border-bottom:1px solid var(--line,#dce2e8);border-radius:0;padding:14px 16px;min-height:72px;color:inherit}.organizationPortrait{position:relative;display:inline-flex;flex:0 0 40px;width:40px;height:40px;align-items:center;justify-content:center}.organizationPortrait .avatar{width:40px;min-width:40px;height:40px;border-radius:12px;object-fit:cover;font-size:16px}.organizationPortrait .dmPresenceDot{width:9px;height:9px;right:-1px;top:-1px}.organizationIdentity{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.organizationName{display:flex;align-items:center;gap:5px;overflow-wrap:anywhere}.organizationName strong{font-size:14px}.organizationRole,.organizationStatus{font-size:11px;color:var(--muted,#778493)}.organizationStatus{flex:none}.organizationStatus.online{color:#179950}.organizationMember:hover{background:var(--panel,#f0f4f6)}
@media(max-width:760px){#drawer.organizationDrawer{width:100%;min-width:0}.teamTools #organization{width:23px;padding:2px}.teamTools #organization svg{width:19px;height:19px}}

/* Membership activity and transient typing indicators */
.list > article.membershipNotice{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;text-align:center;background:rgba(128,140,160,.09);color:inherit;opacity:.72;font-size:12px;line-height:1.5;padding:6px 10px;margin:8px 0;min-height:0;box-shadow:none;border:0;border-radius:2px;overflow-wrap:anywhere;}
.membershipNotice time,.membershipDate{font-size:11px;opacity:.8;}
.typingStatus{font-size:12px;opacity:.72;padding:4px 12px 2px;overflow-wrap:anywhere;}
.typingStatus[hidden]{display:none!important;}

/* 0.9.61: close mention inbox and distinguish reply activity from original chat. */
#closeInbox:not([hidden]){display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:1px solid var(--line,#d7dfe6);border-radius:6px;font-size:16px;color:var(--muted,#687581);flex:none;margin-left:8px;}
#closeInbox:hover{background:var(--panel,#edf1f4);}
.message.replyActivity>.content .chatBubble{width:min(100%,660px);max-width:min(660px,calc(100% - 51px));border-left:3px solid #8fb8cc;border-radius:7px;padding:8px 12px;}
.message.replyActivity>.content .body{opacity:.85;font-size:12px;}
.message.replyActivity>.inlineThread{margin-top:0;}
.message.replyActivity .replyActivityMark{font-size:10px;}
