.workspace{grid-template-rows:minmax(0,1fr)}
.pane,.chatpanel{min-height:0}
.chatpanel{overflow:hidden}
.historybar{display:flex;justify-content:center;flex:none;padding:7px;background:#fbfdfb;border-bottom:1px solid #e3ebe5;color:#527066;font-size:12px}
.bubble.sticker img{width:180px;max-width:100%;max-height:180px;object-fit:contain}
.preview audio{width:min(100%,270px);height:36px;flex:1}.preview .duration{font-weight:700;white-space:nowrap}.preview .recording-indicator{color:#be3542;font-weight:750}.recording-active{color:#be3542!important;border-color:#efb6bd!important;background:#fff1f2!important}.notify-toggle{font-size:12px;white-space:nowrap;padding:8px 10px}@media(max-width:520px){.topright .presence{display:none}.notify-toggle{padding:7px}}
.access-dialog{border:1px solid #d9e7de;border-radius:18px;padding:0;width:min(580px,calc(100vw - 24px));max-height:min(82vh,760px);box-shadow:0 25px 80px #15392d55}.access-dialog::backdrop{background:#122c2780}.access-dialog header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e1ebe4}.access-dialog h2{font-size:19px}.access-dialog .content{padding:18px 20px;overflow:auto;max-height:calc(82vh - 65px)}.access-dialog h3{font-size:13px;color:#5a7266;text-transform:uppercase;letter-spacing:.08em;margin:18px 0 8px}.access-row{display:flex;align-items:center;gap:8px;padding:10px 0;border-bottom:1px solid #eef2ee}.access-row .identity{min-width:0;flex:1}.access-row strong,.access-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.access-row small{font-size:11px;color:#7d8d82;margin-top:3px}.access-row select{max-width:105px}.access-row button{white-space:nowrap}.access-dialog .newform{margin:12px 0}.invite-link{display:flex;gap:8px;margin:10px 0}.invite-link input{min-width:0;flex:1}.access-note{color:#687f73;font-size:12px;line-height:1.45}.danger{color:#af3740!important}
.assignment-row{cursor:pointer}.assignment-row input[type="checkbox"]{width:19px;height:19px;flex:none;padding:0;accent-color:#08745f}.assignment-form>.primary{margin-top:15px}
:root{font:15px Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182b2b;background:#f1f4f2}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}input,select,textarea{border:1px solid #d5e1dc;border-radius:11px;padding:11px 13px;outline:0;background:#fff;color:#18312e}input:focus,select:focus,textarea:focus{border-color:#16846d;box-shadow:0 0 0 3px #bce8d5}h1,h2,h3,p{margin:0}.hidden,[hidden]{display:none!important}.muted{color:#738681}.tiny{font-size:12px}.small{font-size:13px}.brandbar{height:66px;background:#fff;border-bottom:1px solid #e0e9e5;display:flex;align-items:center;justify-content:space-between;padding:0 28px}.brand{display:flex;align-items:center;gap:11px;font-weight:800;font-size:19px;letter-spacing:-.035em}.brandmark{background:#096b59;color:white;width:35px;height:35px;border-radius:12px;display:grid;place-items:center;font-size:18px}.topright{display:flex;align-items:center;gap:14px}.presence{display:flex;align-items:center;gap:7px;border:1px solid #dce8e1;border-radius:30px;padding:7px 11px;color:#536d62;font-size:12px;background:#f8fbf9}.dot{width:7px;height:7px;background:#b3bbb6;border-radius:50%}.dot.online{background:#19ad73;box-shadow:0 0 0 3px #e0f7ea}.dot.offline{background:#e59b42}.textbutton{border:0;background:none;color:#526d64;font-weight:600}.primary{border:0;background:#08745f;color:#fff;border-radius:11px;padding:11px 17px;font-weight:700}.primary:hover{background:#075e50}.secondary{border:1px solid #d8e6de;background:#fff;color:#176e5b;border-radius:10px;padding:9px 12px;font-weight:650}.secondary:hover{background:#eef8f2}.shell{max-width:1500px;margin:22px auto;padding:0 18px}.auth{max-width:460px;margin:7vh auto;background:#fff;border:1px solid #e3ebe6;border-radius:20px;padding:32px;box-shadow:0 15px 50px #154a3210}.auth h2{font-size:25px;letter-spacing:-.03em}.auth p{margin:9px 0 21px}.auth form{display:grid;gap:11px}.auth form+form{margin-top:20px}.auth .divider{font-size:12px;color:#8a9991;text-transform:uppercase;letter-spacing:.12em;margin:23px 0 15px}.workspace{display:grid;grid-template-columns:295px 335px minmax(0,1fr);height:calc(100dvh - 110px);min-height:600px;background:#fff;border:1px solid #e1eae4;border-radius:18px;overflow:hidden;box-shadow:0 18px 48px #143b2b0a}.pane{min-width:0;display:flex;flex-direction:column;border-right:1px solid #e8eee9}.pane:last-child{border:0}.panehead{padding:22px 20px 17px;border-bottom:1px solid #edf2ef}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.15em;color:#738d7d;font-weight:800}.panehead h2{font-size:21px;letter-spacing:-.04em;margin-top:4px}.panehead p{font-size:12px;color:#71847a;margin-top:5px}.scroll{overflow:auto;min-height:0;flex:1}.sidecontent{padding:15px}.fieldlabel{display:block;font-size:12px;font-weight:700;color:#667c71;margin:0 0 7px}.newform{display:flex;gap:7px}.newform input{min-width:0;width:100%}.newform button{padding:10px 13px}.sectionline{display:flex;justify-content:space-between;align-items:center;margin:26px 2px 11px}.sectionline strong{font-size:12px;color:#6c8075;text-transform:uppercase;letter-spacing:.1em}.count{font-size:11px;color:#799288;background:#eef4ef;border-radius:20px;padding:3px 7px}.session,.chatitem{border:1px solid transparent;background:transparent;border-radius:12px;display:flex;align-items:center;gap:11px;padding:11px;width:100%;text-align:left;color:#18332e;margin:3px 0}.session:hover,.chatitem:hover{background:#f4f8f5}.session.active,.chatitem.active{background:#eaf6ef;border-color:#d5ebdc}.avatar{flex:none;width:40px;height:40px;border-radius:13px;background:#deeee6;color:#08745f;display:grid;place-items:center;font-size:18px;font-weight:800}.avatar.chat{border-radius:50%;background:#edf1f0;color:#5d796e}.session .body,.chatitem .body{min-width:0;flex:1}.session strong,.chatitem strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.session small,.chatitem small{display:block;color:#778a80;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.badge{font-size:10px;border-radius:20px;padding:4px 7px;background:#eef3ef;color:#61766a;font-weight:700}.badge.connected{background:#dff5e8;color:#137a52}.badge.qr_pending{background:#fff3da;color:#98680c}.search{width:100%;margin:10px 0}.chatfilters{display:flex;gap:6px;overflow-x:auto;padding:2px 0 5px}.chatfilters button{white-space:nowrap;border:1px solid #dce8e1;border-radius:20px;background:#fff;color:#527066;padding:7px 10px;font-size:12px;font-weight:700}.chatfilters button.active{background:#08745f;color:#fff;border-color:#08745f}.chatpanel{display:flex;flex-direction:column;min-width:0}.chathead{padding:16px 21px;border-bottom:1px solid #e7eee9;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:80px}.chathead h2{font-size:17px;letter-spacing:-.02em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chathead p{font-size:12px;color:#788b81;margin-top:4px}.chathead .state{font-size:12px;color:#26856b;white-space:nowrap}.conversation{flex:1;min-height:0;overflow:auto;padding:25px;background-color:#f4f7f3;background-image:radial-gradient(#a5c8b229 .8px,transparent .8px);background-size:20px 20px;display:flex;flex-direction:column;gap:10px}.empty{margin:auto;text-align:center;color:#7b8e84;max-width:260px;line-height:1.5}.empty .emicon{font-size:38px;display:block;margin-bottom:14px}.bubble{background:#fff;border:1px solid #e5ebe6;border-radius:15px 15px 15px 4px;padding:10px 13px;max-width:min(78%,530px);box-shadow:0 3px 8px #173b2808;overflow-wrap:anywhere;align-self:flex-start}.bubble.mine{background:#dcf5e5;border-color:#cfeedd;border-radius:15px 15px 4px 15px;align-self:flex-end}.bubble .stamp{display:block;text-align:right;color:#8ba098;font-size:10px;margin-top:6px}.bubble .mediaicon{display:inline-block;margin-right:7px}.bubble .caption{display:block;margin-top:5px}.composer{border-top:1px solid #e3ebe5;padding:13px 18px;background:#fff}.composerrow{display:flex;align-items:end;gap:9px}.composer textarea{resize:none;min-height:44px;max-height:130px;flex:1;line-height:1.4}.iconbutton{height:44px;min-width:44px;border:1px solid #dbe7df;background:#f8faf8;color:#28705f;border-radius:12px;font-size:21px}.iconbutton:hover{background:#e8f4ed}.sendbutton{height:44px}.preview{display:flex;align-items:center;gap:10px;padding:8px 10px;margin-bottom:10px;border-radius:11px;background:#edf7f0;color:#37624e;font-size:12px}.preview img,.preview video{max-width:82px;max-height:65px;border-radius:7px}.preview .filename{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.preview button{border:0;background:none;color:#5b6f63;font-size:20px}.chatmeta{padding:13px 18px;border-bottom:1px solid #edf1ed;background:#fbfdfb}.chatmeta .share{display:flex;gap:7px;margin-top:12px}.chatmeta input{min-width:0;flex:1}.chatmeta select{width:100px}.qrbox img{width:200px;max-width:100%;display:block;margin:12px auto}.qrbox p{text-align:center;font-size:12px;color:#6e8177}.notice{position:fixed;right:20px;bottom:20px;max-width:350px;padding:12px 17px;background:#183a32;color:#fff;box-shadow:0 10px 30px #10291d26;border-radius:11px;font-size:13px;z-index:5}.notice:empty{display:none}@media(max-width:1050px){.workspace{grid-template-columns:245px 270px minmax(0,1fr)}}@media(max-width:760px){.shell{margin:0;padding:0}.workspace{border-radius:0;height:calc(100dvh - 66px);grid-template-columns:180px minmax(0,1fr)}.chatpanel{grid-column:2;grid-row:1}.chats-pane{display:none}.sidecontent{padding:10px}.panehead{padding:17px 12px}.session{padding:8px}.session .badge{display:none}}@media(max-width:520px){.workspace{display:block;position:relative}.sessions-pane{height:32%;border-bottom:1px solid #e5ece7}.chatpanel{height:68%}.chathead{min-height:60px}.chatmeta{padding:8px 12px}.chatmeta .share{flex-wrap:wrap}.chatmeta input{flex-basis:100%}.conversation{padding:12px}.composer{padding:8px}.brandbar{padding:0 15px}}
@media(max-width:760px){.workspace{display:flex;flex-direction:column;min-height:0}.sessions-pane{height:150px;flex:none;border-bottom:1px solid #e8eee9}.sessions-pane .panehead{padding:9px 12px}.sessions-pane .panehead p{display:none}.sessions-pane .sidecontent{display:flex;align-items:center;gap:8px;overflow-x:auto;padding:6px 10px}.sessions-pane .sidecontent>.fieldlabel,.sessions-pane .sectionline{display:none}.sessions-pane #sessions{display:flex;gap:6px}.sessions-pane .session{min-width:160px}.chats-pane{display:flex;height:170px;flex:none;border-bottom:1px solid #e8eee9}.chats-pane .panehead{padding:9px 12px}.chats-pane .panehead p{display:none}.chats-pane .sidecontent{padding:5px 10px}.chats-pane .search{margin:5px 0}.chats-pane #chats{display:flex;overflow-x:auto}.chats-pane .chatitem{min-width:150px}.chatpanel{flex:1;min-height:0}}
@media(max-width:520px){.sessions-pane{height:130px}.chats-pane{height:145px}.chatpanel{height:auto}.chatmeta .share{display:none}}
