/* Original Teamo Build 44.0.55 messenger geometry, colours and supplied icons.
   Every rule is scoped to this workspace or its native dialog. */
.tm-app,.tm-dialog{--tm-canvas:#080808;--tm-surface:#101010;--tm-raised:#171717;--tm-control:#202020;--tm-line:#303030;--tm-text:#f8f8f8;--tm-muted:#adadad;--tm-brand:#ff8a65;--tm-outgoing:#3e241e;--tm-emphasis:var(--tm-brand);--tm-backdrop:#000a;color:var(--tm-text);font-family:Lexend,Inter,ui-sans-serif,system-ui,sans-serif;font-size:14px;line-height:1.45;color-scheme:dark}
.tm-app *,.tm-dialog *{box-sizing:border-box}.tm-app button,.tm-dialog button,.tm-app input,.tm-app select,.tm-app textarea,.tm-dialog input,.tm-dialog select,.tm-dialog textarea{font:inherit}.tm-app button,.tm-dialog button{cursor:pointer}.tm-app button:disabled,.tm-dialog button:disabled{cursor:wait;opacity:.5}.tm-app button:focus-visible,.tm-dialog button:focus-visible,.tm-app input:focus-visible,.tm-app textarea:focus-visible,.tm-dialog :is(input,select,textarea):focus-visible,.tm-resizer:focus-visible{outline:3px solid var(--tm-emphasis);outline-offset:2px}.tm-app [hidden],.tm-dialog [hidden]{display:none!important}
.tm-app{--tm-nav-width:76px;--tm-list-width:280px;display:grid;grid-template-columns:var(--tm-nav-width) 8px minmax(220px,var(--tm-list-width)) 8px minmax(0,1fr);width:100%;height:var(--tm-height,calc(100dvh - 160px));min-height:360px;max-height:100dvh;overflow:hidden;border:1px solid var(--tm-line);border-radius:18px;background:var(--tm-canvas);position:relative;isolation:isolate}
.tm-navigation{display:flex;flex-direction:column;min-height:0;min-width:0;padding:18px 6px 12px;background:#050505;border-right:1px solid #222;overflow:hidden}.tm-wordmark{display:block;flex:0 0 auto;width:100%;height:28px;object-fit:contain;filter:none;margin-bottom:24px}.tm-nav-items{display:grid;align-content:start;gap:8px;min-height:0;overflow-y:auto;overflow-x:hidden;flex:1}.tm-nav-item{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:68px;padding:9px 4px;border:1px solid #50342b;border-radius:12px;background:#15100e;color:#c9c9c9;text-align:center}.tm-nav-item:nth-child(n+4){background:#241611;border-color:#765043}.tm-nav-item span:not(.tm-icon){font-size:10px;font-weight:700;line-height:1.2}.tm-nav-item:hover{background:#2b211e;color:#fff}.tm-nav-item.is-active{color:#fff;border-color:#ff8a65;background:#4a2c24}.tm-nav-item .tm-unread{position:absolute;right:2px;top:2px;font-size:9px;min-width:17px;height:17px;padding:0 4px}.tm-nav-foot{display:grid;place-items:center;gap:4px;margin-top:12px;border-top:1px solid var(--tm-line);padding-top:12px}.tm-user-name{font-size:10px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--tm-muted)}
.tm-icon{display:inline-block;width:24px;height:24px;flex:0 0 auto;background:currentColor;mask:var(--tm-icon) center/contain no-repeat;-webkit-mask:var(--tm-icon) center/contain no-repeat}.tm-icon-private{--tm-icon:url('/assets/teamo-original/system/private.svg')}.tm-icon-groups{--tm-icon:url('/assets/teamo-original/system/groups.svg')}.tm-icon-contacts{--tm-icon:url('/assets/teamo-original/system/contacts.svg')}.tm-icon-work{--tm-icon:url('/assets/teamo-original/system/work.svg')}.tm-icon-oncall{--tm-icon:url('/assets/teamo-original/brand/oncall-assist.source.svg')}.tm-icon-settings{--tm-icon:url('/assets/teamo-original/system/settings-orbit.svg')}.tm-icon-search{--tm-icon:url('/assets/teamo-original/system/search.svg')}.tm-icon-info{--tm-icon:url('/assets/teamo-original/system/info.svg')}.tm-icon-new-chat{--tm-icon:url('/assets/teamo-original/system/new-chat.svg')}.tm-icon-new-group{--tm-icon:url('/assets/teamo-original/system/new-group.svg')}.tm-icon-new-oncall-chat{--tm-icon:url('/assets/teamo-original/system/new-oncall-chat.svg')}.tm-icon-add-contact{--tm-icon:url('/assets/teamo-original/system/add-contact.svg')}.tm-icon-refresh,.tm-icon-back,.tm-icon-close,.tm-icon-attachment{mask:none;-webkit-mask:none;background:none;display:grid;place-items:center;font-size:25px;font-weight:400}.tm-icon-refresh::before{content:'↻'}.tm-icon-back::before{content:'‹';font-size:34px}.tm-icon-close::before{content:'×'}.tm-icon-attachment::before{content:'↗';font-size:20px}
.tm-resizer{position:relative;display:grid;place-items:center;cursor:col-resize;touch-action:none;user-select:none;background:var(--tm-canvas);z-index:4}.tm-resizer::after{content:'';width:2px;height:44px;border-radius:10px;background:#484848}.tm-resizer:hover::after,.tm-resizer:focus::after{background:var(--tm-brand);height:64px}
.tm-overview{display:flex;flex-direction:column;position:relative;min-width:0;min-height:0;overflow:hidden;background:var(--tm-surface)}.tm-overview-head,.tm-conversation-head{display:flex;align-items:center;gap:10px;padding:16px 12px;min-width:0;border-bottom:1px solid var(--tm-line);background:var(--tm-surface);flex:0 0 auto}.tm-overview-head>div{flex:1;min-width:0}.tm-overview-head h2,.tm-conversation-head h2{margin:0;font-size:18px;line-height:1.3;color:var(--tm-text);text-overflow:ellipsis;overflow:hidden;white-space:nowrap;letter-spacing:-.025em}.tm-overview-head p,.tm-conversation-head p{margin:0 0 3px;font-size:10px;color:var(--tm-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tm-section-icon{color:var(--tm-emphasis);display:grid;place-items:center;width:30px;flex:0 0 30px}.tm-icon-button{display:inline-grid;place-items:center;flex:0 0 auto;width:40px;height:40px;padding:6px;border:0;border-radius:12px;background:transparent;color:var(--tm-text)}.tm-icon-button:hover{background:var(--tm-control)}.tm-icon-button .tm-icon{width:22px;height:22px}.tm-search{display:flex;align-items:center;gap:8px;margin:12px;padding:9px 10px;border:1px solid var(--tm-line);border-radius:12px;background:var(--tm-control);color:var(--tm-muted)}.tm-search .tm-icon{width:18px;height:18px}.tm-search input{padding:0;margin:0;min-width:0;width:100%;border:0;background:transparent;color:var(--tm-text);font-size:12px;outline:0;box-shadow:none}.tm-category-rail{display:flex;gap:3px;padding:0 5px 9px;min-width:0}.tm-category-rail>button{width:25px;flex:0 0 25px;border:0;border-radius:7px;background:var(--tm-surface);color:var(--tm-muted);font-size:22px}.tm-categories{display:flex;min-width:0;overflow-x:auto;scrollbar-width:none;gap:6px}.tm-categories button{flex:0 0 auto;border:1px solid var(--tm-line);border-radius:999px;background:transparent;color:var(--tm-muted);padding:7px 11px;white-space:nowrap;font-size:11px}.tm-categories button.is-active{color:var(--tm-emphasis);border-color:var(--tm-brand);background:#251915}.tm-window{padding:0 12px 9px!important;margin:0!important;color:var(--tm-muted);font-size:10px}.tm-overview-list{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:4px 6px 85px;scrollbar-width:thin}.tm-list-title{margin:16px 8px 8px;font-size:12px;color:var(--tm-muted)}.tm-list-note{font-size:11px;margin:8px;color:var(--tm-muted)}
.tm-chat-row{display:flex;align-items:center;gap:9px;width:100%;min-width:0;padding:12px 8px;border:1px solid transparent;border-radius:13px;background:transparent;color:var(--tm-text);text-align:start}.tm-chat-row:hover{background:var(--tm-raised)}.tm-chat-row.is-active{background:#30231e;border-color:#6f4435}.tm-avatar{display:grid;place-items:center;flex:0 0 39px;width:39px;height:39px;overflow:hidden;border:1px solid #614337;border-radius:13px;background:#372921;color:#f5c5b5;font-size:12px;font-weight:800}.tm-chat-copy{display:grid;gap:4px;min-width:0;flex:1}.tm-chat-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:750}.tm-chat-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--tm-muted);font-size:11px}.tm-chat-meta{display:grid;justify-items:end;gap:6px;flex:0 0 auto}.tm-chat-meta time{font-size:9px;color:var(--tm-muted)}.tm-unread{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:999px;color:#fff;background:#b62d31;font-size:10px;line-height:1}.tm-project-card{margin-bottom:8px;border:1px solid #664b3e;border-radius:14px;overflow:hidden}.tm-project-card>.tm-chat-row{border-radius:12px}.tm-area-toggle{display:flex;justify-content:flex-end;align-items:center;gap:12px;width:100%;padding:4px 13px 9px;border:0;background:transparent;color:var(--tm-muted);font-size:10px}.tm-area-row{padding-inline-start:22px;border-radius:0!important;border-top:1px solid var(--tm-line)}.tm-area-row .tm-avatar{width:30px;height:30px;flex-basis:30px;border-radius:10px}.tm-area-row .tm-icon{width:17px;height:17px}.tm-create{position:absolute;inset-inline-end:18px;bottom:20px;display:grid;place-items:center;width:51px;height:51px;border:1px solid #ffc0ab;border-radius:17px;background:var(--tm-brand);color:#26150f;box-shadow:0 8px 28px #0008}.tm-create .tm-icon{width:28px;height:28px}
.tm-conversation-panel{position:relative;min-width:0;min-height:0;overflow:hidden;background:var(--tm-canvas)}.tm-conversation-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;height:100%;padding:30px;text-align:center;background:radial-gradient(ellipse at center,#291c153b,transparent 65%)}.tm-conversation-empty img{width:100px;height:85px;object-fit:contain;filter:grayscale(1) brightness(1.9);opacity:.4;margin-bottom:12px}.tm-conversation-empty strong{font-size:18px;letter-spacing:-.025em}.tm-conversation-empty p{color:var(--tm-muted);font-size:12px;margin:0}.tm-conversation-empty>span{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#88736b;margin-top:10px}.tm-conversation{display:flex;flex-direction:column;height:100%;min-height:0;position:relative}.tm-conversation-head{padding:11px 16px;min-height:70px;gap:10px;z-index:3}.tm-conversation-head>.tm-icon-button:first-child{display:none}.tm-heading{flex:1;min-width:0}.tm-conversation-head h2{font-size:16px}.tm-conversation-actions{display:flex;flex:0 0 auto}.tm-message-surface{position:relative;flex:1;min-height:0;overflow:hidden}.tm-watermark{position:absolute;width:min(46%,270px);height:auto;max-height:50%;object-fit:contain;top:50%;left:50%;transform:translate(-50%,-50%);opacity:.055;filter:grayscale(1) brightness(3);pointer-events:none;user-select:none}.tm-message-list{position:relative;display:flex;flex-direction:column;gap:11px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;margin:0;padding:20px;list-style:none;height:100%;min-height:0}.tm-message-list::before{content:'';flex:1 0 auto;min-height:0}.tm-message-row{display:flex;align-items:flex-end;width:100%;max-width:100%}.tm-message-row.tm-mine{justify-content:flex-end}.tm-bubble{position:relative;min-width:70px;max-width:min(82%,620px);border:1px solid #353535;background:#171717f2;color:#fff;padding:10px 12px 24px;border-radius:17px 17px 17px 5px;box-shadow:0 7px 18px #0001}.tm-mine .tm-bubble{background:#3e241ef2;border-color:#683f32;border-radius:17px 17px 5px 17px}.tm-bubble>strong{display:block;color:var(--tm-emphasis);font-size:10px;margin-bottom:5px}.tm-bubble p{margin:0!important;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.5;color:inherit}.tm-bubble footer{position:absolute;bottom:5px;left:11px;right:auto;display:flex;gap:5px;font-size:9px;opacity:.75;white-space:nowrap}.tm-mine .tm-bubble footer{right:11px;left:auto}.tm-private-label{display:block;color:var(--tm-muted);font-size:10px;margin-bottom:5px}.tm-day{text-align:center;padding:8px;flex-shrink:0}.tm-day time{display:inline-block;padding:5px 11px;border:1px solid #4c372d;border-radius:999px;background:#171717;color:var(--tm-muted);font-size:10px}.tm-history{display:grid;place-items:center}.tm-history .tm-button{font-size:11px}.tm-composer{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:end;gap:8px;position:relative;flex:0 0 auto;margin:0;padding:12px 14px calc(12px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--tm-line);background:var(--tm-surface);z-index:5}.tm-composer textarea{display:block;width:100%;min-width:0;min-height:42px;max-height:130px;resize:none;border:1px solid var(--tm-line);border-radius:13px;padding:11px 13px;background:var(--tm-control);color:var(--tm-text);line-height:1.35;font-size:14px;box-shadow:none}.tm-send{display:grid;place-items:center;height:43px;width:43px;padding:9px;border:1px solid #ffad90;border-radius:13px;background:var(--tm-brand);color:#27150d}.tm-send img{display:block;width:100%;height:100%;object-fit:contain;filter:none}.tm-composer .tm-inline-error{grid-column:1/-1;margin:0;font-size:11px}
.tm-contact-row{display:flex;align-items:center;gap:9px;padding:10px 8px;border-bottom:1px solid var(--tm-line)}.tm-contact-row>div{min-width:0;flex:1;display:grid;gap:4px}.tm-contact-row strong{font-size:12px;overflow-wrap:anywhere}.tm-contact-row small{font-size:9px;color:var(--tm-muted);overflow-wrap:anywhere}.tm-request{border:1px solid var(--tm-line);border-radius:12px;margin-bottom:8px}.tm-request>div{display:flex;gap:6px;padding:10px}.tm-request .tm-button{font-size:11px;min-height:34px;padding:5px 9px}.tm-invitation{border:1px solid #695039;border-radius:12px;margin:8px 4px;padding:12px;background:#211b13}.tm-invitation strong{font-size:12px}.tm-invitation>div{display:flex;gap:5px;flex-wrap:wrap;margin-top:9px}.tm-invitation .tm-button{font-size:11px;padding:6px 8px}
.tm-empty,.tm-error{padding:24px 15px;text-align:center}.tm-empty strong,.tm-error strong{font-size:13px}.tm-empty p,.tm-error p{font-size:12px;line-height:1.5;color:var(--tm-muted);margin:7px 0 0}.tm-error{border:1px solid #773e34;border-radius:12px;margin:8px;background:#2c1816}.tm-error .tm-button{margin-top:12px}.tm-loading{padding:28px;color:var(--tm-muted);text-align:center;font-size:12px}.tm-inline-error{color:#ffa897;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.tm-inline-error:empty{display:none}.tm-note{font-size:12px;color:var(--tm-muted);line-height:1.5}.tm-success{font-size:12px;color:#9fe1b5}.tm-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 12px;max-width:100%;border:1px solid #444;border-radius:11px;background:var(--tm-control);color:var(--tm-text);font-weight:650;font-size:12px;text-decoration:none;white-space:normal}.tm-button:hover{border-color:#a16a54;background:#30231e}.tm-primary{background:var(--tm-brand);border-color:var(--tm-brand);color:#28140d}.tm-primary:hover{background:#ffa181;border-color:#ffa181}.tm-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tm-detail-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain}.tm-shift-detail{padding:24px;max-width:760px;margin:0 auto}.tm-shift-detail h3{font-size:22px;letter-spacing:-.035em;margin:6px 0 10px}.tm-shift-detail h4{font-size:15px;margin:16px 0 12px}.tm-shift-detail p{font-size:12px;color:var(--tm-muted)}.tm-eyebrow{text-transform:uppercase;letter-spacing:.1em;color:var(--tm-emphasis)!important;font-size:10px!important}.tm-shift-row{display:flex;align-items:center;gap:12px;min-width:0;width:100%;border:1px solid var(--tm-line);border-radius:13px;padding:13px 11px;margin-bottom:8px;background:var(--tm-raised);color:var(--tm-text);text-align:start}.tm-shift-row>.tm-icon{color:var(--tm-emphasis)}.tm-shift-row>span:nth-child(2){display:grid;gap:4px;flex:1;min-width:0}.tm-shift-row strong{font-size:12px;overflow-wrap:anywhere}.tm-shift-row small{font-size:10px;color:var(--tm-muted)}.tm-shift-detail form{padding:15px;margin:17px 0;border:1px solid var(--tm-line);border-radius:14px;background:var(--tm-surface)}.tm-check-steps{display:flex;list-style:none;padding:0;gap:10px;margin:22px 0}.tm-check-steps li{flex:1;padding:12px;border:1px solid var(--tm-line);border-radius:12px;font-size:12px;color:var(--tm-muted)}.tm-check-steps li.is-done{color:#a9e1b9;background:#142218;border-color:#34583e}.tm-references{font-size:11px;margin:18px 0}.tm-references summary{cursor:pointer;color:var(--tm-muted)}.tm-references dl,.tm-references:where(dl){display:grid;grid-template-columns:100px minmax(0,1fr);gap:7px 10px}.tm-references dt{color:var(--tm-muted)}.tm-references dd{margin:0;overflow-wrap:anywhere}.tm-work-tool{margin-top:24px;padding-top:18px;border-top:1px solid var(--tm-line)}.tm-integration-link{display:flex;justify-content:space-between;gap:10px;padding:13px 15px;margin:10px 0;border:1px solid #584236;border-radius:12px;color:var(--tm-emphasis);text-decoration:none;font-size:12px}.tm-checkpoints>section{padding:16px 0;border-bottom:1px solid var(--tm-line)}.tm-checkpoints h4{margin:0 0 8px}.tm-case-banner{flex:0 0 auto;padding:12px 16px;max-height:34%;overflow-y:auto;border-bottom:1px solid #493d29;background:#201a11;color:var(--tm-text)}.tm-case-banner strong{font-size:12px}.tm-case-banner p{font-size:11px;color:#c4b7a1;margin:5px 0}.tm-case-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.tm-case-actions .tm-button{font-size:10px;min-height:32px;padding:5px 9px}
.tm-dialog{position:fixed;max-width:min(620px,calc(100vw - 28px));width:620px;max-height:calc(var(--tm-viewport-height,100dvh) - 28px);margin:auto;padding:0;overflow:hidden;border:1px solid #544137;border-radius:20px;background:var(--tm-surface);box-shadow:0 24px 90px #000a;z-index:10000}.tm-dialog::backdrop{background:var(--tm-backdrop);backdrop-filter:blur(3px)}.tm-dialog>header{display:flex;align-items:center;gap:16px;justify-content:space-between;padding:14px 18px;border-bottom:1px solid var(--tm-line)}.tm-dialog>header h2{font-size:17px;letter-spacing:-.025em;margin:0}.tm-dialog-body{overflow-y:auto;overscroll-behavior:contain;padding:20px;max-height:calc(var(--tm-viewport-height,100dvh) - 112px)}.tm-dialog-body>p{font-size:13px}.tm-dialog form{margin:0}.tm-field{display:grid;gap:7px;margin:14px 0;min-width:0}.tm-field>span{font-size:12px;font-weight:650}.tm-field input,.tm-field select,.tm-field textarea{width:100%;max-width:100%;min-width:0;border:1px solid #444;border-radius:10px;padding:10px 12px;background:var(--tm-control);color:var(--tm-text);font-size:13px;box-shadow:none}.tm-field input[type=file]{font-size:12px;padding:10px}.tm-field textarea{min-height:85px;resize:vertical}.tm-field small{font-size:11px;color:var(--tm-muted)}.tm-form-columns{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.tm-checkbox{display:flex;align-items:flex-start;gap:10px;margin:12px 0;font-size:12px;line-height:1.5}.tm-checkbox input{width:18px;height:18px;flex:0 0 18px;accent-color:#ff8a65;margin:0;margin-top:1px}.tm-checkbox small{display:block;color:var(--tm-muted);margin-top:4px;white-space:pre-wrap}.tm-app fieldset,.tm-dialog fieldset{border:1px solid var(--tm-line);border-radius:12px;padding:12px 16px;margin:16px 0}.tm-app legend,.tm-dialog legend{font-size:12px;color:var(--tm-muted);padding:0 5px}.tm-form-footer{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:18px}.tm-member{display:grid;gap:4px;padding:11px 0;border-bottom:1px solid var(--tm-line)}.tm-member strong{font-size:12px}.tm-member small{font-size:10px;color:var(--tm-muted)}.tm-watchbook-entry{padding:16px 0;border-bottom:1px solid var(--tm-line)}.tm-watchbook-entry>header{display:flex;justify-content:space-between;gap:8px;font-size:12px}.tm-watchbook-entry time,.tm-watchbook-entry>small{font-size:10px;color:var(--tm-muted)}.tm-watchbook-entry>p,.tm-prewrap{white-space:pre-wrap;overflow-wrap:anywhere}.tm-signature{max-width:100%;height:140px;border:1px solid #777;border-radius:10px;background:#fff;touch-action:none}
@media(min-width:1100px){.tm-app{--tm-nav-width:82px;--tm-list-width:290px}.tm-navigation{padding-inline:7px}}
@media(max-width:1050px) and (min-width:701px){.tm-app{--tm-nav-width:66px;--tm-list-width:225px;grid-template-columns:var(--tm-nav-width) 6px minmax(200px,var(--tm-list-width)) 6px minmax(0,1fr)}.tm-nav-item span:not(.tm-icon){font-size:9px}.tm-conversation-head{padding-inline:10px}.tm-conversation-head>.tm-avatar{display:none}.tm-message-list{padding:14px}.tm-bubble{max-width:92%}.tm-conversation-actions .tm-icon-button{width:32px}.tm-overview-head{gap:5px;padding-inline:8px}.tm-overview-head h2{font-size:16px}.tm-overview-head>.tm-section-icon{display:none}}
@media(max-width:700px){.tm-app{height:var(--tm-height,calc(100dvh - 135px));min-height:220px;border-radius:12px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}.tm-navigation{grid-row:2;grid-column:1;display:block;padding:0 3px calc(4px + env(safe-area-inset-bottom,0px));border:0;border-top:1px solid var(--tm-line);background:#090909;z-index:6}.tm-wordmark,.tm-nav-foot,.tm-resizer{display:none}.tm-nav-items{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;overflow:visible}.tm-nav-item{min-height:58px;border:0;border-radius:9px;padding:7px 3px;background:transparent!important;gap:4px}.tm-nav-item.is-active{background:#3b271e!important}.tm-nav-item .tm-icon{width:23px;height:23px}.tm-nav-item span:not(.tm-icon){font-size:9px;white-space:nowrap}.tm-nav-item .tm-unread{top:3px;right:8px}.tm-overview{grid-row:1;grid-column:1}.tm-overview-head{padding:11px 14px;min-height:65px}.tm-overview-head h2{font-size:19px}.tm-overview-head p{font-size:10px}.tm-overview-head .tm-icon-button{width:42px}.tm-overview-list{padding-inline:8px}.tm-chat-row{padding:12px 10px;gap:12px}.tm-chat-copy strong{font-size:14px}.tm-chat-copy small{font-size:12px}.tm-avatar{width:44px;height:44px;flex-basis:44px}.tm-search{margin:10px 14px}.tm-search input{font-size:14px}.tm-conversation-panel{display:none;grid-row:1;grid-column:1}.tm-has-selection .tm-overview{display:none}.tm-has-selection .tm-conversation-panel{display:block}.tm-has-selection .tm-navigation{display:none}.tm-has-selection{grid-template-rows:minmax(0,1fr)}.tm-conversation-head{min-height:62px;padding:8px 9px;gap:8px}.tm-conversation-head>.tm-icon-button:first-child{display:inline-grid;width:28px;padding:0}.tm-conversation-head .tm-avatar{width:36px;height:36px;flex-basis:36px}.tm-conversation-head h2{font-size:15px}.tm-conversation-head .tm-icon-button{width:34px}.tm-message-list{padding:16px 12px}.tm-bubble{max-width:86%}.tm-composer{padding:9px 10px calc(10px + env(safe-area-inset-bottom,0px));gap:7px}.tm-composer textarea{font-size:16px}.tm-shift-detail{padding:18px 14px}.tm-shift-detail form{padding:12px}.tm-case-banner{padding:10px 13px}.tm-dialog{max-width:calc(100vw - 18px);width:calc(100vw - 18px);max-height:calc(var(--tm-viewport-height,100dvh) - 18px);border-radius:16px}.tm-dialog-body{padding:16px;max-height:calc(var(--tm-viewport-height,100dvh) - 95px)}.tm-dialog>header{padding:12px 14px}.tm-field :is(input,textarea,select){font-size:16px}.tm-form-columns{grid-template-columns:1fr}.tm-create{bottom:17px}.tm-conversation-empty{display:none}}
@media(prefers-reduced-motion:reduce){.tm-app *,.tm-dialog *{scroll-behavior:auto!important;transition:none!important}}

.tm-evidence-media{display:block;width:100%;max-width:100%;max-height:calc(var(--tm-viewport-height,100dvh) - 160px);object-fit:contain;border-radius:12px;background:#080808}.tm-ride{padding:12px 0;border-bottom:1px solid var(--tm-line)}.tm-ride>strong{font-size:13px}.tm-overview-head [data-tm-mobile-settings]{display:none}@media(max-width:700px){.tm-overview-head [data-tm-mobile-settings]{display:inline-grid}}

/* Search uses the private API; Work delivery choices stay above the reachable composer. */
.tm-search-entry{padding:0 12px 10px}.tm-search-entry .tm-button{width:100%;min-height:33px;font-size:11px;color:var(--tm-emphasis);background:transparent;border-color:#594137}
.tm-search-result{display:grid;gap:6px;width:100%;padding:14px;margin:12px 0;border:1px solid var(--tm-line);border-radius:12px;background:var(--tm-raised);color:var(--tm-text);text-align:start}.tm-search-result:hover{border-color:var(--tm-brand)}.tm-search-result small{font-size:10px;color:var(--tm-emphasis)}.tm-search-result strong{font-size:11px}.tm-search-result>span{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;max-height:180px;overflow:auto}.tm-search-result time{font-size:10px;color:var(--tm-muted)}.tm-search-match .tm-bubble{outline:2px solid var(--tm-brand);outline-offset:3px}
.tm-compose-options{grid-column:1/-1;border:1px solid var(--tm-line);border-radius:10px;overflow:hidden;background:var(--tm-raised);font-size:11px}.tm-compose-options>summary{padding:8px 11px;color:var(--tm-muted);cursor:pointer}.tm-compose-options[open]>summary{color:var(--tm-emphasis);border-bottom:1px solid var(--tm-line)}.tm-compose-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 12px;max-height:180px;overflow:auto}.tm-compose-fields .tm-field{margin:10px 0}.tm-compose-fields .tm-field>span{font-size:10px}.tm-compose-fields .tm-field>small{font-size:10px}.tm-compose-fields :is(input,select){font-size:12px;padding:8px}.tm-compose-fields .tm-field:only-child{grid-column:1/-1}
@media(max-width:700px){.tm-compose-fields{grid-template-columns:1fr;gap:0;max-height:150px}.tm-compose-fields :is(input,select){font-size:16px}.tm-conversation-actions{gap:0}.tm-conversation-actions .tm-icon-button{width:30px}.tm-conversation-head>.tm-avatar{width:30px;height:30px;flex-basis:30px}.tm-conversation-head h2{font-size:14px}}

.tm-compose-warning{grid-column:1/-1;padding:0 0 10px;color:#ffa897;font-size:11px}.tm-compose-warning p{margin:0 0 8px}.tm-compose-warning .tm-button{font-size:11px;min-height:34px}

/* Original five-frame reaction sprite; message controls live in a modal portal. */
.tm-icon-bookmark{mask-image:url('/assets/teamo-original/system/bookmark.svg');-webkit-mask-image:url('/assets/teamo-original/system/bookmark.svg')}
.tm-message-row{position:relative;gap:5px;padding-bottom:5px}.tm-message-trigger{flex:0 0 32px;width:32px;min-height:36px;align-self:center;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--tm-muted);font-size:22px;line-height:1;opacity:.75}.tm-message-trigger:hover,.tm-message-trigger:focus-visible{opacity:1;background:var(--tm-control);border-color:var(--tm-line)}.tm-mine .tm-message-trigger{order:-1}.tm-message-row:focus{outline:none}.tm-message-row:focus-visible .tm-bubble{outline:2px solid var(--tm-brand);outline-offset:3px}.tm-bubble{touch-action:manipulation}.tm-bubble:has(.tm-reactions){margin-bottom:13px}.tm-tombstone{font-style:italic;color:var(--tm-muted)!important}
.tm-reply-preview{display:grid;gap:3px;width:100%;max-width:100%;margin:0 0 7px;padding:8px 9px;border:0;border-inline-start:3px solid var(--tm-brand);border-radius:6px;background:#0004;color:var(--tm-muted);text-align:start}.tm-reply-preview strong{font-size:10px;color:var(--tm-emphasis)}.tm-reply-preview span{max-height:42px;overflow:hidden;text-overflow:ellipsis;white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;line-height:1.4}.tm-reply-preview:hover{background:#0007}
.tm-reaction-icon{display:inline-block;flex:0 0 auto;width:24px;height:24px;background-image:url('/assets/teamo-original/reactions.source.svg');background-repeat:no-repeat;background-size:500% 100%;background-position:0 0}.tm-reaction-no{background-position:25% 0}.tm-reaction-question{background-position:50% 0}.tm-reaction-doing{background-position:75% 0}.tm-reaction-cool{background-position:100% 0}.tm-reactions{position:absolute;display:flex;flex-wrap:wrap;gap:3px;inset-inline-end:8px;bottom:-15px;max-width:calc(100% - 12px)}.tm-mine .tm-reactions{inset-inline-end:auto;inset-inline-start:8px}.tm-reactions button{display:flex;align-items:center;gap:3px;min-height:28px;padding:2px 6px;border:1px solid #514136;border-radius:999px;background:#171311;color:var(--tm-text);font-size:10px}.tm-reactions button:disabled{opacity:1;cursor:default}.tm-reactions button.is-active{border-color:var(--tm-brand);background:#4a2d20}.tm-reactions .tm-reaction-icon{width:20px;height:20px}
.tm-compose-reply{grid-column:1/-1;display:flex;align-items:center;gap:8px;min-width:0;padding:9px 10px;border-inline-start:3px solid var(--tm-brand);border-radius:8px;background:#2a201a}.tm-compose-reply>div{display:grid;gap:4px;min-width:0;flex:1}.tm-compose-reply strong{font-size:11px;color:var(--tm-emphasis)}.tm-compose-reply span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.tm-compose-reply small{font-size:10px;color:var(--tm-muted)}.tm-compose-reply .tm-icon-button{width:32px;height:32px}
.tm-action-preview{padding:12px 14px;border:1px solid var(--tm-line);border-radius:12px;background:var(--tm-raised)}.tm-action-preview strong{font-size:11px;color:var(--tm-emphasis)}.tm-action-preview p{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere;max-height:150px;overflow:auto;margin:8px 0}.tm-action-preview time{font-size:10px;color:var(--tm-muted)}.tm-dialog fieldset.tm-reaction-picker{padding:14px 10px;border-color:var(--tm-line)}.tm-reaction-picker legend{font-size:11px}.tm-reaction-picker>div{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.tm-reaction-picker button{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:9px;min-height:85px;padding:10px 4px;border:1px solid transparent;border-radius:10px;background:var(--tm-control);color:var(--tm-text);font-size:10px;line-height:1.3}.tm-reaction-picker button[aria-pressed=true]{border-color:var(--tm-brand);background:#442b21}.tm-reaction-picker button:hover{border-color:var(--tm-brand)}.tm-reaction-picker .tm-reaction-icon{width:34px;height:34px}.tm-message-action-list{display:grid;gap:7px;margin-top:14px}.tm-message-action-list .tm-button{justify-content:flex-start;padding:12px 14px}.tm-message-action-list [data-tm=message-delete-confirm]{color:#ffab9b}.tm-message-details{display:grid;grid-template-columns:minmax(90px,1fr) minmax(0,2fr);gap:10px 14px;margin:22px 0;font-size:12px}.tm-message-details dt{color:var(--tm-muted)}.tm-message-details dd{margin:0;overflow-wrap:anywhere}.tm-read-receipts{list-style:none;margin:12px 0;padding:0}.tm-read-receipts li{display:grid;gap:5px;border-bottom:1px solid var(--tm-line);padding:10px 0;font-size:12px}.tm-read-receipts span{font-size:11px;color:var(--tm-muted)}
@media(max-width:700px){.tm-message-trigger{width:28px;flex-basis:28px;min-height:40px}.tm-bubble{max-width:calc(100% - 38px)}.tm-conversation-head{flex-wrap:wrap}.tm-conversation-actions{margin-inline-start:auto}.tm-reaction-picker .tm-reaction-icon{width:30px;height:30px}.tm-reaction-picker button{font-size:9px}.tm-dialog fieldset.tm-reaction-picker{padding:12px 5px}.tm-message-details{grid-template-columns:1fr;gap:5px}.tm-message-details dd{margin-bottom:10px}}

/* Reserve one badge row even for short text; narrow panes scroll only that row. */
.tm-bubble[data-reaction-groups="2"]{min-width:min(112px,calc(100% - 38px))}.tm-bubble[data-reaction-groups="3"]{min-width:min(160px,calc(100% - 38px))}.tm-bubble[data-reaction-groups="4"]{min-width:min(208px,calc(100% - 38px))}.tm-bubble[data-reaction-groups="5"]{min-width:min(256px,calc(100% - 38px))}.tm-reactions{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:none}.tm-reactions button{flex:0 0 auto}

/* Teamo V04: polls, forwarding and per-conversation mute. */
.tm-muted-badge{display:inline-block;margin-inline-start:6px;padding:2px 6px;border:1px solid #6b584f;border-radius:999px;color:var(--tm-muted);font-size:8px;font-weight:650;vertical-align:middle}.tm-forwarded-label{display:block;margin-bottom:4px;color:#d4a58f;font-size:9px;letter-spacing:.04em;text-transform:uppercase}.tm-poll{display:grid;gap:7px;margin:11px 0 4px;padding:10px;border:1px solid #5e473c;border-radius:12px;background:#0c0c0c88}.tm-poll-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.tm-poll-head strong{font-size:11px;color:var(--tm-emphasis)}.tm-poll-head span,.tm-poll>small{font-size:9px;color:var(--tm-muted)}.tm-poll-option{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:36px;padding:7px 9px;border:1px solid #494949;border-radius:9px;background:#1b1b1b;color:var(--tm-text);text-align:start}.tm-poll-option:hover:not(:disabled){border-color:var(--tm-brand);background:#30231e}.tm-poll-option.is-voted{border-color:var(--tm-brand);background:#43291f}.tm-poll-option:disabled{cursor:default;opacity:.82}.tm-poll-option span{overflow-wrap:anywhere;font-size:11px}.tm-poll-option b{display:grid;place-items:center;min-width:22px;height:22px;padding:0 5px;border-radius:999px;background:#0006;font-size:9px}.tm-conversation-actions{align-items:center}.tm-conversation-actions .tm-icon-button[title="Umfrage erstellen"]{color:var(--tm-emphasis)}
@media(max-width:700px){.tm-poll{padding:9px}.tm-poll-option{min-height:42px}.tm-poll-option span{font-size:12px}.tm-conversation-actions{max-width:132px;justify-content:flex-end}.tm-conversation-actions .tm-icon-button{width:32px;height:32px}.tm-muted-badge{font-size:7px}}

.tm-shared-pin-label{display:inline-flex;align-items:center;height:15px;padding:0 4px;border:1px solid #d18a6e;border-radius:5px;color:#ffc1a8;font-size:7px;font-weight:800;letter-spacing:.05em}

/* Suite V04: keep the current app primary; all other entitled apps live inside App-Bundle. */
.shell:not([data-app="max-cloud"]) .app-bundle-nav{position:relative;display:block;min-width:0;margin-top:4px}.shell:not([data-app="max-cloud"]) .app-bundle-nav>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:42px;padding:.68rem .75rem;border:1px solid rgba(255,255,255,.14);border-radius:12px;background:rgba(255,255,255,.055);color:rgba(255,255,255,.88);font-weight:700;cursor:pointer;list-style:none}.shell:not([data-app="max-cloud"]) .app-bundle-nav>summary::-webkit-details-marker{display:none}.shell:not([data-app="max-cloud"]) .app-bundle-nav>summary::after{content:'+';font-size:1.05rem;font-weight:500}.shell:not([data-app="max-cloud"]) .app-bundle-nav[open]>summary::after{content:'−'}.shell:not([data-app="max-cloud"]) .app-bundle-list{display:grid;gap:4px;padding:7px 0 0}.shell:not([data-app="max-cloud"]) .app-bundle-list>a,.shell:not([data-app="max-cloud"]) .app-bundle-list>button{display:block;width:100%;min-width:0;padding:.62rem .72rem;border:0;border-radius:10px;background:rgba(0,0,0,.12);color:rgba(255,255,255,.84);font:650 .78rem/1.25 Lexend,Arial,sans-serif;text-align:left;text-decoration:none;overflow-wrap:anywhere}.shell:not([data-app="max-cloud"]) .app-bundle-list>a:hover,.shell:not([data-app="max-cloud"]) .app-bundle-list>button:hover{background:rgba(255,255,255,.1);color:#fff}
@media(max-width:900px){.shell:not([data-app="max-cloud"]) .nav{align-items:center;overflow:visible!important}.shell:not([data-app="max-cloud"]) .nav>.app-bundle-nav{flex:0 0 auto;margin:0}.shell:not([data-app="max-cloud"]) .app-bundle-nav>summary{height:100%;min-height:42px;padding:.52rem .72rem;white-space:nowrap;font-size:.75rem}.shell:not([data-app="max-cloud"]) .app-bundle-list{position:fixed;left:10px;right:10px;bottom:78px;z-index:80;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;max-height:min(58dvh,500px);padding:10px;overflow-y:auto;overscroll-behavior:contain;border:1px solid rgba(255,255,255,.18);border-radius:16px;background:rgba(8,12,18,.98);box-shadow:0 -14px 38px rgba(0,0,0,.38)}.shell:not([data-app="max-cloud"]) .app-bundle-list>a,.shell:not([data-app="max-cloud"]) .app-bundle-list>button{min-height:46px;background:rgba(255,255,255,.08);font-size:.76rem}}

/* Teamo mobile messenger UX V05 */
.tm-mobile-chat-actions{display:none}
.tm-icon-more{mask:none!important;-webkit-mask:none!important;background:none!important;display:grid!important;place-items:center!important;font-size:0!important}.tm-icon-more::before{content:'•••';font-size:16px;letter-spacing:2px;line-height:1;color:currentColor}
.tm-mobile-action-sheet{display:grid;gap:8px}.tm-mobile-action-sheet .tm-button{width:100%;min-height:52px;justify-content:flex-start;padding:12px 15px;font-size:14px;border-radius:13px}
@media(max-width:700px){
  .tm-app{background:var(--tm-canvas)!important}
  .tm-navigation{height:calc(66px + env(safe-area-inset-bottom,0px))!important;min-height:calc(66px + env(safe-area-inset-bottom,0px))!important;padding:5px 5px max(5px,env(safe-area-inset-bottom,0px))!important;background:var(--tm-surface)!important;box-shadow:0 -10px 28px #0005!important}
  .tm-nav-items{height:56px!important;gap:4px!important}
  .tm-nav-item{min-height:54px!important;border-radius:13px!important;padding:6px 3px!important}
  .tm-nav-item.is-active{background:#4b2b21!important;box-shadow:inset 0 0 0 1px #8f5a45!important}
  .tm-nav-item .tm-icon{width:24px!important;height:24px!important}.tm-nav-item span:not(.tm-icon){font-size:9px!important;font-weight:750!important}
  .tm-overview-head{min-height:58px!important;padding:8px 12px!important;background:var(--tm-surface)!important}.tm-overview-head h2{font-size:18px!important}.tm-overview-head p{font-size:9px!important}
  .tm-search{margin:8px 10px!important;min-height:44px!important;padding:9px 11px!important;border-radius:14px!important}.tm-search input{font-size:16px!important}
  .tm-category-rail{padding:0 8px 8px!important;gap:4px!important}.tm-category-rail>button{display:none!important}.tm-categories{gap:6px!important;scroll-snap-type:x proximity!important;-webkit-overflow-scrolling:touch!important}.tm-categories button{min-height:44px!important;padding:7px 12px!important;font-size:11px!important;scroll-snap-align:start!important}
  .tm-window{padding:0 11px 7px!important;font-size:9px!important}
  .tm-overview-list{padding:2px 7px 88px!important;scroll-padding-block:8px 88px!important}
  .tm-chat-row{min-height:66px!important;padding:10px 9px!important;border-radius:14px!important}.tm-avatar{width:46px!important;height:46px!important;flex-basis:46px!important;border-radius:15px!important}.tm-chat-copy strong{font-size:14px!important}.tm-chat-copy small{font-size:11px!important;line-height:1.35!important}.tm-chat-meta time{font-size:9px!important}.tm-unread{min-width:22px!important;height:22px!important}
  .tm-create{position:absolute!important;inset-inline-start:auto!important;inset-inline-end:14px!important;bottom:16px!important;width:56px!important;height:56px!important;border-radius:18px!important;z-index:8!important;box-shadow:0 10px 30px #000a!important}
  .tm-conversation-head{min-height:58px!important;height:58px!important;padding:6px 8px!important;gap:7px!important;flex-wrap:nowrap!important;background:var(--tm-surface)!important;box-shadow:0 3px 18px #0005!important}.tm-conversation-head>.tm-icon-button:first-child{display:inline-grid!important;width:42px!important;height:42px!important;flex-basis:42px!important}.tm-conversation-head>.tm-avatar{width:38px!important;height:38px!important;flex-basis:38px!important;border-radius:12px!important}.tm-heading{min-width:0!important}.tm-conversation-head h2{font-size:14px!important}.tm-conversation-head p{font-size:9px!important}.tm-conversation-actions{display:none!important}.tm-mobile-chat-actions{display:flex!important;align-items:center!important;gap:2px!important;margin-inline-start:auto!important;flex:0 0 auto!important}.tm-mobile-chat-actions .tm-icon-button{width:42px!important;height:42px!important;border-radius:13px!important;background:var(--tm-control)!important}.tm-mobile-chat-actions .tm-icon-button:active{background:var(--tm-raised)!important}
  .tm-message-list{gap:9px!important;padding:12px 9px 18px!important;scroll-padding-block:12px 84px!important}.tm-message-row{gap:3px!important}.tm-bubble{max-width:84%!important;min-width:58px!important;padding:9px 10px 23px!important;border-radius:17px 17px 17px 6px!important}.tm-mine .tm-bubble{border-radius:17px 17px 6px 17px!important}.tm-bubble p{font-size:14px!important;line-height:1.43!important}.tm-message-trigger{width:34px!important;flex-basis:34px!important;min-height:42px!important;border-radius:12px!important;opacity:.9!important}.tm-reactions{max-width:calc(100% - 8px)!important}.tm-reactions button{min-height:30px!important}
  .tm-composer{grid-template-columns:minmax(0,1fr) 46px!important;gap:7px!important;padding:8px 9px max(8px,env(safe-area-inset-bottom,0px))!important;background:var(--tm-surface)!important;box-shadow:0 -4px 18px #0005!important}.tm-composer textarea{min-height:46px!important;max-height:120px!important;border-radius:16px!important;padding:12px 13px!important;font-size:16px!important;line-height:1.35!important}.tm-send{width:46px!important;height:46px!important;border-radius:15px!important}
  .tm-compose-options{border-radius:13px!important}.tm-compose-options>summary{min-height:42px!important;display:flex!important;align-items:center!important;padding:9px 11px!important}.tm-compose-fields{max-height:42dvh!important;padding-bottom:8px!important}
  .tm-case-banner{max-height:28%!important;padding:8px 11px!important}
  .tm-dialog:has(.tm-mobile-action-sheet){width:100%!important;max-width:100%!important;margin:auto 0 0!important;border:0!important;border-radius:22px 22px 0 0!important;max-height:min(78dvh,calc(var(--tm-viewport-height,100dvh) - 18px),680px)!important;background:var(--tm-surface)!important}.tm-dialog:has(.tm-mobile-action-sheet)::backdrop{background:var(--tm-backdrop)!important;backdrop-filter:blur(2px)!important}.tm-dialog:has(.tm-mobile-action-sheet)>header{padding:15px 16px 10px!important}.tm-dialog:has(.tm-mobile-action-sheet) .tm-dialog-body{padding:8px 12px max(14px,env(safe-area-inset-bottom,0px))!important;max-height:calc(78dvh - 62px)!important}.tm-mobile-action-sheet{gap:7px!important}.tm-mobile-action-sheet .tm-button{min-height:54px!important;font-size:14px!important;background:var(--tm-control)!important;border-color:var(--tm-line)!important}
}

/* Teamo PWA authentication choices V07 */
.teamo-pwa-login-options{display:grid;gap:7px;margin:4px 0 2px;padding:10px;border:1px solid rgba(255,255,255,.15);border-radius:14px;background:rgba(0,0,0,.16)}
.teamo-pwa-login-options legend{padding:0 5px;font-size:.76rem;font-weight:750}
.teamo-pwa-login-options label{display:flex;align-items:flex-start;gap:9px;min-height:48px;padding:9px 10px;border:1px solid rgba(255,255,255,.08);border-radius:11px;background:rgba(255,255,255,.055);cursor:pointer}
.teamo-pwa-login-options input{width:18px;height:18px;flex:0 0 18px;margin:2px 0 0;accent-color:#ff8a65}
.teamo-pwa-login-options span{display:grid;gap:2px;min-width:0}.teamo-pwa-login-options strong{font-size:.79rem}.teamo-pwa-login-options small{font-size:.67rem;line-height:1.35;opacity:.72}
.teamo-pwa-install{min-height:42px!important;border-radius:12px!important}
@media(max-width:700px){.teamo-pwa-login-options{padding:8px}.teamo-pwa-login-options label{min-height:54px}.teamo-pwa-login-options strong{font-size:.84rem}.teamo-pwa-login-options small{font-size:.7rem}}

/* Teamo Work @@ privacy shield */
.tm-private-work-protected .tm-private-work-sensitive{filter:blur(9px);opacity:.24;user-select:none;-webkit-user-select:none;pointer-events:none;transition:filter .12s ease,opacity .12s ease}
.tm-private-work-protected.is-revealed .tm-private-work-sensitive{filter:none;opacity:1}
.tm-private-work-protected .tm-bubble{border-style:dashed}
.tm-private-work-reveal{display:flex;align-items:center;justify-content:center;width:100%;min-height:36px;margin:7px 0 1px;padding:7px 9px;border:1px solid #7d5546;border-radius:10px;background:#2a1c17;color:#ffc2aa;font:700 10px/1.2 Lexend,Arial,sans-serif;touch-action:none;user-select:none;-webkit-user-select:none}
.tm-private-work-reveal:active,.tm-private-work-protected.is-revealed .tm-private-work-reveal{background:#4a2d23;border-color:#ff9b75;color:#fff}
.tm-private-reference{border-color:#725245!important;background:#241914!important}.tm-private-reference :is(p,span){user-select:none;-webkit-user-select:none}
@media(max-width:700px){.tm-private-work-reveal{min-height:42px;font-size:11px}.tm-private-work-protected .tm-private-work-sensitive{filter:blur(10px)}}
@media print{.tm-private-work-protected .tm-private-work-sensitive{filter:blur(12px)!important;opacity:.18!important}.tm-private-work-reveal{display:none!important}.tm-private-reference :is(p,span){filter:blur(10px)!important}}

/* V07 project-chat controls, personal marker colours and projection labels */
.tm-conversation-pin{display:inline-flex;align-items:center;height:16px;margin-inline-start:6px;padding:0 5px;border:1px solid #d18a6e;border-radius:5px;color:#ffc1a8;font-size:7px;font-weight:800;letter-spacing:.05em}
.tm-projection-label{display:block;margin:0 0 5px;color:#d7a78f;font-size:9px;font-weight:700;letter-spacing:.025em}.tm-message-marker{display:inline-block;width:9px;height:9px;flex:0 0 9px;border-radius:50%;border:1px solid #ffffff66;box-shadow:0 0 0 1px #0006}.tm-marker-red{background:#d64b4b!important}.tm-marker-orange{background:#e2853d!important}.tm-marker-yellow{background:#d9bb38!important}.tm-marker-green{background:#4fa86b!important}.tm-marker-blue{background:#4e86d8!important}.tm-marker-purple{background:#8f63cf!important}
.tm-dialog fieldset.tm-marker-picker{padding:12px;border-color:var(--tm-line)}.tm-marker-picker>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.tm-marker-choice,.tm-marker-clear{display:flex;align-items:center;justify-content:center;min-height:42px;border:1px solid #444;border-radius:10px;color:#fff;font-size:11px;font-weight:700}.tm-marker-choice{position:relative;padding:7px 8px 7px 27px}.tm-marker-choice::before{content:'';position:absolute;left:9px;width:11px;height:11px;border-radius:50%;border:1px solid #ffffff88;background:inherit}.tm-marker-choice.is-active{outline:2px solid #fff;outline-offset:1px}.tm-marker-clear{grid-column:1/-1;background:var(--tm-control)}
.tm-marked-filters{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;padding:4px 0 8px}.tm-marked-filters button{flex:0 0 auto;min-height:34px;padding:6px 10px;border:1px solid #444;border-radius:999px;background:var(--tm-control);color:var(--tm-muted);font-size:10px}.tm-marked-filters button.is-active{border-color:var(--tm-brand);color:#fff;background:#3c281f}
.tm-dialog .tm-work-tool{margin-top:18px;padding-top:16px}.tm-dialog .tm-work-tool:first-child{margin-top:0;padding-top:0;border-top:0}.tm-dialog .tm-work-tool>h3{margin:0 0 10px;font-size:14px}.tm-dialog .tm-work-tool>form{padding:12px;margin:10px 0;border:1px solid var(--tm-line);border-radius:12px;background:#0c0c0c66}.tm-dialog .tm-work-tool>form h4{margin:0 0 8px;font-size:12px}.tm-dialog .tm-work-tool fieldset{max-height:260px;overflow-y:auto;overscroll-behavior:contain}.tm-chat-row.is-pinned{background:#1c1714;border-color:#594337}
@media(max-width:700px){.tm-marker-picker>div{grid-template-columns:repeat(2,minmax(0,1fr))}.tm-marker-choice,.tm-marker-clear{min-height:48px;font-size:12px}.tm-dialog .tm-work-tool>form{padding:10px}.tm-dialog .tm-work-tool fieldset{max-height:32dvh}.tm-projection-label{font-size:8px}.tm-message-marker{width:10px;height:10px;flex-basis:10px}}

/* MAX-AI local training center */
.tm-ai-training{display:grid;gap:14px}.tm-ai-training>header,.tm-ai-example>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.tm-ai-training>header h3{margin:2px 0 4px}.tm-ai-training>header p{margin:0;color:var(--tm-muted);font-size:11px;line-height:1.45}.tm-ai-training-actions,.tm-ai-example-actions{display:flex;flex-wrap:wrap;gap:7px}.tm-ai-example{display:grid;gap:9px;padding:12px;border:1px solid var(--tm-line);border-radius:14px;background:#0b0b0bcc}.tm-ai-example header strong{display:block;font-size:12px}.tm-ai-example header small{display:block;margin-top:2px;color:var(--tm-muted);font-size:9px}.tm-ai-example code{font-size:8px;opacity:.7}.tm-ai-example details{border:1px solid #ffffff12;border-radius:10px;overflow:hidden}.tm-ai-example summary{padding:9px 10px;cursor:pointer;font-size:10px;font-weight:700}.tm-ai-example pre{max-height:260px;overflow:auto;overscroll-behavior:contain;margin:0;padding:10px;background:#060606;color:#d9d9d9;font:9px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.tm-ai-training .tm-status{flex:0 0 auto;padding:5px 8px;border:1px solid #5b4337;border-radius:999px;font-size:8px;color:#d6aa95}.tm-ai-training .tm-status.is-ok{border-color:#40674c;color:#9fe0af}
@media(max-width:700px){.tm-ai-training>header,.tm-ai-example>header{align-items:stretch;flex-direction:column}.tm-ai-training .tm-status{align-self:flex-start}.tm-ai-training-actions,.tm-ai-example-actions{display:grid;grid-template-columns:1fr}.tm-ai-training-actions .tm-button,.tm-ai-example-actions .tm-button{min-height:46px;width:100%}.tm-ai-example pre{max-height:30dvh;font-size:10px}.tm-ai-example{padding:10px}}

/* TEAMO LOGIN COMPACT 2026-09-28 */
html body .mc-login-dialog .mc-login-controls .teamo-pwa-login-options{display:grid!important;gap:5px!important;margin:2px 0!important;padding:7px!important;border-radius:12px!important}
html body .mc-login-dialog .mc-login-controls .teamo-pwa-login-options legend{padding:0 4px!important;font-size:.72rem!important}
html body .mc-login-dialog .mc-login-controls .teamo-pwa-login-options label{display:flex!important;align-items:flex-start!important;gap:7px!important;min-height:40px!important;padding:6px 8px!important;border-radius:10px!important}
html body .mc-login-dialog .mc-login-controls .teamo-pwa-login-options input[type='radio']{width:16px!important;height:16px!important;min-width:16px!important;min-height:16px!important;max-width:16px!important;max-height:16px!important;flex:0 0 16px!important;margin:2px 0 0!important;padding:0!important}
html body .mc-login-dialog .mc-login-controls .teamo-pwa-login-options span{display:grid!important;gap:1px!important}
html body .mc-login-dialog .mc-login-controls .teamo-pwa-login-options strong{font-size:.75rem!important;line-height:1.2!important}
html body .mc-login-dialog .mc-login-controls .teamo-pwa-login-options small{font-size:.63rem!important;line-height:1.25!important}
@media(max-width:700px){html body .mc-login-dialog .mc-login-controls .teamo-pwa-login-options{padding:6px!important}html body .mc-login-dialog .mc-login-controls .teamo-pwa-login-options label{min-height:38px!important;padding:5px 7px!important}}

/* TEAMO THEME SPLIT 2026-09-29 — private/groups/contacts light, Work/On-Call dark. */
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]){--tm-canvas:#f3f4f6;--tm-surface:#fff;--tm-raised:#f2f3f5;--tm-control:#f5f6f8;--tm-line:#d9dde3;--tm-text:#18191c;--tm-muted:#616771;--tm-brand:#e67857;--tm-outgoing:#ffe2d8;--tm-emphasis:#9e3e28;--tm-backdrop:#20212466;color-scheme:light}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-navigation{background:#f8f9fb;border-color:#daddE2}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-wordmark{filter:none;opacity:1}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-nav-item{background:#fff;border-color:#e1e3e7;color:#555960}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-nav-item:nth-child(n+4){background:#fff7f3;border-color:#efd9d0}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-nav-item:hover{background:#f2f3f5;color:#18191c}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-nav-item.is-active{background:#ffe4da;border-color:#e67857;color:#53291e}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-resizer::after{background:#c9cdd3}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-categories button.is-active{background:#fff0ea}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-chat-row.is-active{background:#fff0ea;border-color:#efc3b4}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-avatar{background:#fff0ea;border-color:#ebcbbf;color:#8c4b39}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-conversation-empty{background:radial-gradient(ellipse at center,#fbe7df,transparent 67%)}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-conversation-empty img{filter:grayscale(1) brightness(.45);opacity:.13}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-watermark{filter:grayscale(1) brightness(.4);opacity:.045}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-bubble{background:#fff;border-color:#dfe2e6;color:#18191c;box-shadow:0 7px 20px #1a1a1a12}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-mine .tm-bubble{background:#ffe2d8;border-color:#efb9a7;color:#32180f}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-day time{background:#fff;border-color:#d9dde3;color:#74777e}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-invitation{background:#fff9f2;border-color:#ead7bd}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-error{background:#fff2ef;border-color:#efb8ab}
.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-button:hover{background:#fff0ea;border-color:#e7aa96}
.tm-dialog[data-mode="private"]{--tm-canvas:#f3f4f6;--tm-surface:#fff;--tm-raised:#f2f3f5;--tm-control:#f5f6f8;--tm-line:#d9dde3;--tm-text:#18191c;--tm-muted:#616771;--tm-brand:#e67857;--tm-outgoing:#ffe2d8;--tm-emphasis:#9e3e28;--tm-backdrop:#20212466;background:#fff;border-color:#d4d8de;color:#18191c;color-scheme:light}
.tm-dialog[data-mode="private"]::backdrop{background:#20212466}
.tm-dialog[data-mode="private"] .tm-button:hover{background:#fff0ea;border-color:#e7aa96}
@media(max-width:700px){.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-navigation{background:#f8f9fb}.tm-app:is([data-section="private"],[data-section="groups"],[data-section="contacts"]) .tm-nav-item.is-active{background:#ffe4da!important}}

/* Keep every private surface legible, including dialogs rendered outside the workspace. */
:is(.tm-app,.tm-dialog){box-sizing:border-box}
.tm-dialog[open]{display:flex;flex-direction:column}
.tm-dialog>header{flex:0 0 auto;min-width:0}
.tm-dialog>header h2{min-width:0;overflow-wrap:anywhere}
.tm-dialog-body{min-width:0;min-height:0;flex:1 1 auto;overflow-wrap:anywhere}
:is(.tm-app,.tm-dialog) fieldset{min-width:0}
.tm-checkbox>span,.tm-check-steps li{min-width:0;overflow-wrap:anywhere}
:is(.tm-app,.tm-dialog)[data-mode="private"] :is(.tm-field input,.tm-field select,.tm-field textarea,.tm-button:not(.tm-primary),.tm-marker-clear){border-color:var(--tm-line)}
.tm-app[data-mode="private"] :is(.tm-day time,.tm-conversation-empty>span){color:var(--tm-muted)}
.tm-app[data-mode="private"] .tm-chat-row.is-pinned:not(.is-active){background:#fff5ef;border-color:#edcbbd}
:is(.tm-app,.tm-dialog)[data-mode="private"] :is(.tm-conversation-pin,.tm-shared-pin-label,.tm-forwarded-label,.tm-projection-label){color:#854631;border-color:#d09c87}
:is(.tm-app,.tm-dialog)[data-mode="private"] :is(.tm-inline-error,.tm-compose-warning,[data-tm="message-delete-confirm"]){color:#a83223}
:is(.tm-app,.tm-dialog)[data-mode="private"] .tm-success{color:#21693d}
:is(.tm-app,.tm-dialog)[data-mode="private"] :is(.tm-compose-reply,.tm-reply-preview){background:#fff0e9;color:var(--tm-text)}
:is(.tm-app,.tm-dialog)[data-mode="private"] .tm-reply-preview:hover{background:#ffe3d7}
:is(.tm-app,.tm-dialog)[data-mode="private"] :is(.tm-reactions button,.tm-poll-option){background:var(--tm-surface);border-color:var(--tm-line);color:var(--tm-text)}
:is(.tm-app,.tm-dialog)[data-mode="private"] :is(.tm-reactions button.is-active,.tm-poll-option.is-voted,.tm-poll-option:hover:not(:disabled),.tm-reaction-picker button[aria-pressed="true"],.tm-marked-filters button.is-active){background:#ffe2d8;border-color:var(--tm-brand);color:#53291e}
:is(.tm-app,.tm-dialog)[data-mode="private"] .tm-poll{background:#fff8f4;border-color:#edcbbd}
:is(.tm-app,.tm-dialog)[data-mode="private"] .tm-poll-option b{background:#f2e1d8;color:#53291e}
.tm-dialog[data-mode="private"] .tm-work-tool>form,.tm-dialog[data-mode="private"] .tm-ai-example{background:var(--tm-raised)}
.tm-dialog[data-mode="private"] .tm-ai-example details{border-color:var(--tm-line)}
.tm-dialog[data-mode="private"] .tm-ai-example pre{background:var(--tm-canvas);color:var(--tm-text)}
.tm-dialog[data-mode="private"] .tm-ai-training .tm-status{border-color:#cfb39d;color:#704323}
.tm-dialog[data-mode="private"] .tm-ai-training .tm-status.is-ok{border-color:#8cba9a;color:#21693d}
.tm-marker-choice{color:#080808}
.tm-dialog[data-mode="private"] .tm-marker-clear{color:var(--tm-text)}
.tm-dialog[data-mode="private"] .tm-marker-choice.is-active{outline-color:var(--tm-text)}

/* A narrow desktop chat needs the same complete action menu as a phone.
   Use the panel width so resizing the adjacent columns keeps the title visible. */
.tm-conversation-panel{container-type:inline-size}
@container(max-width:560px){
  .tm-conversation-actions{display:none}
  .tm-mobile-chat-actions{display:flex;align-items:center;gap:2px;margin-inline-start:auto;flex:0 0 auto}
  .tm-mobile-chat-actions .tm-icon-button{width:44px;height:44px}
}
@media(max-width:700px){
  .tm-app .tm-icon-button,.tm-dialog .tm-icon-button{min-width:44px!important;min-height:44px!important}
  .tm-app .tm-button,.tm-dialog .tm-button,.tm-area-toggle,.tm-poll-option{min-height:44px}
  .tm-message-trigger{width:44px!important;flex-basis:44px!important;min-height:44px!important}
  .tm-bubble{max-width:calc(100% - 50px)!important}
  .tm-nav-item span:not(.tm-icon){max-width:100%;overflow:hidden;text-overflow:ellipsis}
  .tm-checkbox{min-height:44px;align-items:center}
  .tm-request>div{flex-wrap:wrap}
  .tm-compose-options>summary{min-height:44px!important}
  .tm-compose-fields{max-height:min(30dvh,calc(var(--tm-viewport-height,100dvh) * .3))!important}
  .tm-dialog-body{padding-bottom:max(16px,env(safe-area-inset-bottom,0px))}
  .tm-app[data-mode="private"] :is(.tm-navigation,.tm-conversation-head,.tm-composer){box-shadow:0 2px 14px #20212410!important}
}

/* The suite scroll contract loads later. Keep the messenger within the visual
   viewport when a phone keyboard opens, and permit horizontal inner rails. */
.shell[data-app="teamo"]:has(.tm-app){
  --tm-shell-canvas:#f3f4f6;--tm-shell-surface:#fff;--tm-shell-control:#f5f6f8;
  --tm-shell-line:#d9dde3;--tm-shell-text:#18191c;--tm-shell-muted:#616771;
  color-scheme:light;
}
.shell[data-app="teamo"]:has(.tm-app[data-mode="work"]){
  --tm-shell-canvas:#101010;--tm-shell-surface:#151515;--tm-shell-control:#242424;
  --tm-shell-line:#383838;--tm-shell-text:#f4f4f4;--tm-shell-muted:#adadad;
  color-scheme:dark;
}
.shell[data-app="teamo"]:has(.tm-app)>.main,
.shell[data-app="teamo"]:has(.tm-app)>.main>.content{background:var(--tm-shell-canvas)!important;color:var(--tm-shell-text)}
.shell[data-app="teamo"]:has(.tm-app) .topbar{background:var(--tm-shell-surface)!important;border-color:var(--tm-shell-line)!important;color:var(--tm-shell-text)!important}
.shell[data-app="teamo"]:has(.tm-app) .topbar :is(h1,.hint){color:var(--tm-shell-text)!important}
.shell[data-app="teamo"]:has(.tm-app) .topbar :is(.title-block p,.master-preview-switch>span){color:var(--tm-shell-muted)!important}
.shell[data-app="teamo"]:has(.tm-app) .topbar :is(.tenant-select,.master-preview-switch,.teamo-mobile-app-bundle>summary){background:var(--tm-shell-control)!important;border-color:var(--tm-shell-line)!important;color:var(--tm-shell-text)!important}
.shell[data-app="teamo"]:has(.tm-app) .master-preview-switch>button{background:transparent;color:var(--tm-shell-text)!important}
.shell[data-app="teamo"]:has(.tm-app) .master-preview-switch>button.is-active{background:#ff9b75!important;color:#28140d!important}
.shell[data-app="teamo"]:has(.tm-app) .teamo-mobile-app-sheet{background:var(--tm-shell-surface)!important;border-color:var(--tm-shell-line)!important}
.shell[data-app="teamo"]:has(.tm-app) .teamo-mobile-app-sheet>strong{color:var(--tm-shell-text)!important}
.shell[data-app="teamo"]:has(.tm-app) .teamo-mobile-app-sheet>:is(a,button){background:var(--tm-shell-control)!important;border-color:var(--tm-shell-line)!important;color:var(--tm-shell-text)!important}
@media(max-width:900px){
  body:has(.shell[data-app="teamo"] .tm-app) #app,
  .shell[data-app="teamo"]:has(.tm-app){height:var(--tm-viewport-height,100dvh)!important;max-height:var(--tm-viewport-height,100dvh)!important}
  .shell[data-app="teamo"] .content:has(.tm-app),
  .shell[data-app="teamo"] .tm-app .tm-message-list{touch-action:auto!important}
  .tm-app .tm-categories,.tm-app .tm-reactions,.tm-dialog .tm-marked-filters{touch-action:pan-x pinch-zoom}
}


/* Teamo profile utilities: never float above the messenger navigation. */
body:has(.shell[data-app="teamo"]) > .global-info-cluster{display:none!important}
.shell[data-app="teamo"] .topbar > .teamo-profile-button{display:inline-flex!important;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;padding:9px;border:1px solid var(--tm-shell-line,#d9dde3);border-radius:50%;background:var(--tm-shell-control,#fff);color:var(--tm-shell-text,#18191c);cursor:pointer}
.shell[data-app="teamo"] .teamo-profile-button svg{display:block;flex:none;width:24px;height:24px}
.shell[data-app="teamo"] .teamo-profile-button:focus-visible,.teamo-profile-page :is(a,button,summary,select):focus-visible{outline:3px solid #ff8a65;outline-offset:3px}
.teamo-profile-page{--profile-surface:#fff;--profile-raised:#f5f6f8;--profile-line:#d9dde3;--profile-text:#18191c;--profile-muted:#616771;color-scheme:light;color:var(--profile-text);width:100%;min-width:0}
.teamo-profile-page[data-mode="work"]{--profile-surface:#151515;--profile-raised:#242424;--profile-line:#383838;--profile-text:#f4f4f4;--profile-muted:#adadad;color-scheme:dark}
.teamo-profile-page .card{background:var(--profile-surface)!important;border-color:var(--profile-line)!important;color:var(--profile-text)!important}
.teamo-profile-page :is(h1,h2,h3,label){color:var(--profile-text)!important}
.teamo-profile-page :is(p,.hint){color:var(--profile-muted)!important}
.teamo-profile-page :is(input,select){background:var(--profile-raised)!important;border-color:var(--profile-line)!important;color:var(--profile-text)!important;max-width:100%;min-width:0}
.teamo-profile-tools{margin-top:16px}
.teamo-profile-tool-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.teamo-profile-tool{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-height:56px;margin:0;padding:12px;border:1px solid var(--profile-line);border-radius:14px;background:var(--profile-raised);color:var(--profile-text)!important;text-decoration:none;font:inherit;font-weight:600;cursor:pointer;min-width:0}
.teamo-profile-tool img{width:28px;height:28px;object-fit:contain;background:#06111d;border-radius:50%;padding:2px}
.teamo-profile-info-icon{width:28px;height:28px;text-align:center;border:1px solid currentColor;border-radius:50%;font-size:21px}
.teamo-profile-info{min-width:0}
.teamo-profile-info nav{position:static;display:grid;gap:4px;margin-top:8px;min-width:0}
.teamo-profile-info:not([open]) nav{display:none}
.teamo-profile-info nav a{display:flex;align-items:center;min-height:44px;padding:8px;border-radius:8px;color:var(--profile-text);overflow-wrap:anywhere;text-decoration:underline}
.teamo-profile-language{display:grid;grid-template-columns:28px minmax(0,1fr);gap:8px}
.teamo-profile-language select{grid-column:1/-1;width:100%;min-height:44px;padding:8px;border:1px solid var(--profile-line);border-radius:8px;font:inherit}
.shell[data-app="teamo"] .content:has(>.teamo-profile-page){display:block!important;overflow-y:auto!important;overflow-x:hidden!important;min-height:0!important;touch-action:pan-y!important;padding-bottom:max(24px,env(safe-area-inset-bottom,0px))!important}
.shell[data-app="teamo"]:has(.teamo-profile-page){--tm-shell-canvas:#f3f4f6;--tm-shell-surface:#fff;--tm-shell-control:#f5f6f8;--tm-shell-line:#d9dde3;--tm-shell-text:#18191c;--tm-shell-muted:#616771;color-scheme:light}
.shell[data-app="teamo"]:has(.teamo-profile-page[data-mode="work"]){--tm-shell-canvas:#101010;--tm-shell-surface:#151515;--tm-shell-control:#242424;--tm-shell-line:#383838;--tm-shell-text:#f4f4f4;--tm-shell-muted:#adadad;color-scheme:dark}
.shell[data-app="teamo"]:has(.teamo-profile-page) :is(.main,.content){background:var(--tm-shell-canvas)!important;color:var(--tm-shell-text)!important}
.shell[data-app="teamo"]:has(.teamo-profile-page) .topbar{background:var(--tm-shell-surface)!important;border-color:var(--tm-shell-line)!important;color:var(--tm-shell-text)!important}
.shell[data-app="teamo"]:has(.teamo-profile-page) .topbar :is(h1,.hint){color:var(--tm-shell-text)!important}
.shell[data-app="teamo"]:has(.teamo-profile-page) .topbar :is(.tenant-select,.master-preview-switch,.teamo-mobile-app-bundle>summary){background:var(--tm-shell-control)!important;color:var(--tm-shell-text)!important;border-color:var(--tm-shell-line)!important}
@media(max-width:600px){.teamo-profile-tool-grid{grid-template-columns:minmax(0,1fr)}.teamo-profile-page .split{grid-template-columns:minmax(0,1fr)!important}.shell[data-app="teamo"] .topbar>.tenant-select{min-width:0;flex:1 1 0;max-width:calc(100% - 110px)}}

.teamo-profile-page > .hero{background:var(--profile-surface)!important;border:1px solid var(--profile-line);box-shadow:none;color:var(--profile-text)!important}
.shell[data-app="teamo"]:has(.teamo-profile-page) .topbar .title-block p{color:var(--tm-shell-muted)!important}

/* Profile pane stays within the viewport independently of messenger mounting. */
.shell[data-app="teamo"]:has(.teamo-profile-page){height:100vh!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;overflow:hidden!important}
.shell[data-app="teamo"]:has(.teamo-profile-page)>.main{display:flex!important;flex-direction:column!important;height:100%!important;min-height:0!important;overflow:hidden!important}
.shell[data-app="teamo"]:has(.teamo-profile-page)>.main>.topbar{flex:0 0 auto!important}
.shell[data-app="teamo"]:has(.teamo-profile-page)>.main>.content{flex:1 1 0!important;min-height:0!important;max-height:100%!important;overflow-y:auto!important}

/* Preserve the source artwork in private and work navigation and composer. */
.tm-app .tm-navigation .tm-wordmark,.tm-app .tm-send img{filter:none!important;mix-blend-mode:normal!important;opacity:1!important}

/* Compact message bubbles, with sender identity reserved for groups. */
.tm-app[data-mode="private"]{--tm-bubble-in:#fff;--tm-bubble-out:#ffe2d8;--tm-bubble-text:#18191c;--tm-bubble-mine-text:#32180f;--tm-bubble-time:#616771}
.tm-app[data-mode="work"]{--tm-bubble-in:#171717f2;--tm-bubble-out:#3e241ef2;--tm-bubble-text:#fff;--tm-bubble-mine-text:#fff;--tm-bubble-time:#adadad}
.tm-app .tm-message-list{gap:4px!important;padding-inline:16px!important}
.tm-app .tm-message-row{padding-bottom:2px;gap:4px!important}
.tm-app .tm-message-row .tm-bubble{display:flow-root;min-width:58px!important;max-width:min(85%,620px)!important;padding:7px 9px 5px!important;border:0!important;border-radius:0 8px 8px 8px!important;background:var(--tm-bubble-in)!important;color:var(--tm-bubble-text)!important;box-shadow:0 1px 2px #0002!important}
.tm-app .tm-message-row.tm-mine .tm-bubble{background:var(--tm-bubble-out)!important;color:var(--tm-bubble-mine-text)!important;border-radius:8px 0 8px 8px!important}
.tm-app .tm-message-row .tm-bubble{font-family:Arial,Helvetica,sans-serif}
.tm-app .tm-message-row:not(.tmx-privacy-protected) .tm-bubble>.tm-private-work-sensitive{display:contents}
.tm-app .tm-message-row .tm-bubble::before{content:'';position:absolute;top:0;left:-6px;width:7px;height:9px;background:inherit;clip-path:polygon(100% 0,0 0,100% 100%)}
.tm-app .tm-message-row.tm-mine .tm-bubble::before{left:auto;right:-6px;clip-path:polygon(0 0,100% 0,0 100%)}
.tm-app .tm-bubble p{display:inline;margin:0!important;font-size:14px!important;line-height:1.4!important}
.tm-app .tm-bubble footer{position:static!important;float:right;display:inline-flex;align-items:center;gap:4px;margin:4px 0 0 12px;font-size:10px!important;line-height:1.15;color:var(--tm-bubble-time);opacity:1;max-width:100%}
.tm-app .tm-mine .tm-bubble>.tmx-author,.tm-app .tm-mine .tm-bubble>strong{display:none!important}
.tm-app .tm-bubble>.tmx-author{display:block;font-size:12px;font-weight:650;line-height:1.25;padding:0 0 4px;text-decoration:none;color:var(--tm-author-color,#52b7a3)}
.tm-app .tm-bubble>.tmx-author[hidden],.tm-app .tm-bubble>strong[hidden]{display:none!important}
.tm-app .tmx-direct-chat .tm-bubble>.tmx-author,.tm-app .tmx-direct-chat .tm-bubble>strong{display:none!important}
.tm-app .tmx-group-avatar{display:grid;place-items:center;flex:0 0 26px;width:26px;height:26px;padding:0;margin-inline-end:3px;align-self:flex-end;border:0;border-radius:50%;overflow:hidden;background:var(--tm-author-color,#52b7a3);color:#fff;font-size:10px;cursor:pointer}
.tm-app .tmx-group-avatar img{width:100%;height:100%;object-fit:cover}
.tm-app .tmx-group-avatar .tm-avatar{width:26px!important;height:26px!important;min-width:26px!important;min-height:26px!important;font-size:10px;margin:0;border-radius:50%!important}
.tm-app .tm-conversation-head>.tm-avatar.tmx-profile-avatar{display:inline-flex!important;overflow:hidden;flex-shrink:0}
.tm-app .tm-conversation-head>.tm-avatar.tmx-profile-avatar img{width:100%;height:100%;object-fit:cover}
.shell[data-app="teamo"] .topbar>.teamo-profile-button[data-tmx-own-avatar]{padding:0!important;overflow:hidden}
.shell[data-app="teamo"] .teamo-profile-button .tmx-own-profile-picture{width:100%!important;height:100%!important;min-width:0;min-height:0;flex-basis:auto;border-radius:50%!important}
.tm-app .tm-message-row.tm-mine .tmx-group-avatar{display:none}
.tm-app .tm-message-trigger{opacity:0!important;transition:opacity .12s ease}
.tm-app .tm-message-row:hover .tm-message-trigger,.tm-app .tm-message-row:focus-within .tm-message-trigger{opacity:1!important}
@media(max-width:600px){.tm-app .tm-message-row .tm-bubble{max-width:calc(100% - 42px)!important}.tm-app .tmx-group-chat .tm-message-row:not(.tm-mine) .tm-bubble{max-width:calc(100% - 66px)!important}}

/* @@ content remains opaque when idle and while printing, including messenger attachments and locations. */
.tmx-privacy-protected .tm-private-work-sensitive{position:relative;min-height:24px;border-radius:4px;background:#111;filter:none!important;opacity:1!important;transition:none!important;user-select:none;-webkit-user-select:none;pointer-events:none;color:transparent!important}
.tmx-privacy-protected:not(.is-revealed) .tm-private-work-sensitive *{visibility:hidden!important;pointer-events:none!important}
.tmx-privacy-protected.is-revealed .tm-private-work-sensitive{background:transparent;color:inherit!important}
.tmx-privacy-protected .tm-private-work-reveal{touch-action:none}
@media print{.tmx-privacy-protected .tm-private-work-sensitive{background:#111!important;filter:none!important;opacity:1!important;color:transparent!important;print-color-adjust:exact;-webkit-print-color-adjust:exact}.tmx-privacy-protected .tm-private-work-sensitive *{visibility:hidden!important;pointer-events:none!important}.tmx-privacy-protected .tm-private-work-reveal{display:none!important}}

/* R37 conversation header: the chat name owns the space; actions live in its native dialog. */
.tm-app .tm-conversation>.tm-conversation-head{display:grid!important;grid-template-columns:44px 38px minmax(0,1fr) 44px;align-items:center!important;gap:10px!important;min-height:72px!important;height:auto!important;padding:8px 12px!important;flex-wrap:nowrap!important;background:var(--tm-surface)!important;box-shadow:none!important}
.tm-app .tm-conversation-head>.tm-back{display:inline-grid!important;place-items:center!important;align-self:center!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;margin:0!important;border-radius:12px!important;background:transparent!important}
.tm-app .tm-conversation-head>.tm-avatar{width:38px!important;height:38px!important;min-width:38px!important;flex-basis:38px!important;align-self:center!important;border-radius:12px!important}
.tm-app .tm-conversation-head>.tm-heading{min-width:0!important;width:auto!important;align-self:center!important}
.tm-app .tm-conversation-head>.tm-heading>p{margin:0 0 3px!important;font-size:10px!important;line-height:1.25!important}
.tm-app .tm-conversation-head>.tm-heading>h2{display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:normal!important;overflow-wrap:anywhere!important;overflow:hidden!important;text-overflow:clip!important;max-height:2.5em!important;margin:0!important;font-size:16px!important;line-height:1.25!important;letter-spacing:-.015em!important}
.tm-app .tm-conversation-head>.tm-header-actions{display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;width:44px!important;min-width:44px!important;max-width:44px!important;margin:0!important}
.tm-app .tm-conversation-head>.tm-header-actions>.tm-icon-button{display:inline-grid!important;place-items:center!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:10px!important;border-radius:12px!important;background:transparent!important}
.tm-app .tm-conversation-head .tm-chat-action-icon{display:block;width:22px;height:22px;flex:none}
.tm-app .tm-conversation-head>.tm-header-actions:empty{display:none!important}
.tm-app .tm-conversation-head:has(>.tm-header-actions:empty){grid-template-columns:44px 38px minmax(0,1fr)}
#tm-dialog.tm-dialog:has(.tm-chat-action-sheet){max-height:min(84dvh,calc(var(--tm-viewport-height,100dvh) - 16px))!important}
#tm-dialog.tm-dialog:has(.tm-chat-action-sheet)>.tm-dialog-body{padding:8px 12px max(12px,env(safe-area-inset-bottom,0px))!important;max-height:calc(min(84dvh,var(--tm-viewport-height,100dvh)) - 84px)!important;overflow-y:auto!important}
#tm-dialog.tm-dialog .tm-chat-action-sheet,#tm-dialog.tm-dialog .tm-chat-call-actions{display:grid;gap:4px}
#tm-dialog.tm-dialog .tm-chat-action-sheet .tm-chat-action{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:44px!important;padding:10px 12px!important;border:1px solid transparent!important;border-radius:12px!important;background:transparent!important;color:var(--tm-text)!important;font-size:14px!important;line-height:1.35!important;text-align:start!important;white-space:normal!important}
#tm-dialog.tm-dialog .tm-chat-action-sheet .tm-chat-action:hover{background:var(--tm-control)!important}
#tm-dialog.tm-dialog .tm-chat-action-sheet .tm-chat-action:focus-visible{outline:2px solid var(--tm-emphasis)!important;outline-offset:-2px!important;background:var(--tm-control)!important}
#tm-dialog.tm-dialog .tm-chat-action-icon,#tm-dialog.tm-dialog .tm-chat-action>svg{width:22px!important;height:22px!important;display:block;flex:none}
#tm-dialog.tm-dialog .tm-chat-action>span{min-width:0;overflow-wrap:anywhere}
@media(max-width:360px){.tm-app .tm-conversation>.tm-conversation-head{grid-template-columns:44px 36px minmax(0,1fr) 44px;gap:8px!important;padding:8px 10px!important}.tm-app .tm-conversation-head>.tm-avatar{width:36px!important;height:36px!important;min-width:36px!important}.tm-app .tm-conversation-head>.tm-heading>h2{font-size:15px!important}.tm-app .tm-conversation-head:has(>.tm-header-actions:empty){grid-template-columns:44px 36px minmax(0,1fr)}}
.teamo-header-app-icon{display:none}
@media(max-width:900px){
 html body #app>.shell[data-app="teamo"]>.main>header.topbar:has(>.teamo-header-app-icon)>.teamo-header-app-icon{display:grid!important;place-items:center!important;grid-column:1!important;grid-row:1!important;width:44px!important;height:44px!important;margin:0!important;padding:6px!important}
 html body #app>.shell[data-app="teamo"]>.main>header.topbar:has(>.teamo-header-app-icon)>.teamo-header-app-icon>img{display:block!important;width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important;object-fit:contain!important}
 html body #app>.shell[data-app="teamo"]>.main>header.topbar:has(>.teamo-header-app-icon)>.title-block{grid-column:1 / -1!important;grid-row:1!important;position:absolute!important;top:0!important;bottom:auto!important;height:100%!important;display:flex!important;align-items:center!important;justify-content:center!important;left:50%!important;right:auto!important;width:calc(100% - 208px)!important;max-width:none!important;transform:translateX(-50%)!important;text-align:center!important;pointer-events:none}
 html body #app>.shell[data-app="teamo"]>.main>header.topbar:has(>.teamo-header-app-icon)>.title-block>h1{font-size:18px!important;line-height:1.3!important;white-space:nowrap!important;overflow:visible!important;text-overflow:clip!important;max-width:none!important}
}

/* Keep the desktop conversation available beside its list and center the app name. */
html body #app>.shell[data-app="teamo"]>.main>.content{width:100%!important;min-width:0!important;max-width:none!important;box-sizing:border-box!important}
@media(min-width:901px){
 html body #app>.shell[data-app="teamo"]>.main>header.topbar:has(>.teamo-header-app-icon){position:relative!important}
 html body #app>.shell[data-app="teamo"]>.main>header.topbar:has(>.teamo-header-app-icon)>.teamo-header-app-icon{display:grid!important;place-items:center!important;flex:0 0 44px;width:44px!important;height:44px!important;padding:6px!important}
 html body #app>.shell[data-app="teamo"]>.main>header.topbar:has(>.teamo-header-app-icon)>.teamo-header-app-icon>img{width:32px!important;height:32px!important;object-fit:contain!important}
 html body #app>.shell[data-app="teamo"]>.main>header.topbar:has(>.teamo-header-app-icon)>.title-block{position:absolute!important;left:50%!important;right:auto!important;top:0!important;bottom:auto!important;width:calc(100% - 208px)!important;max-width:none!important;height:100%!important;transform:translateX(-50%)!important;display:flex!important;align-items:center!important;justify-content:center!important;text-align:center!important;pointer-events:none}
 html body #app>.shell[data-app="teamo"]>.main>header.topbar:has(>.teamo-header-app-icon)>.title-block>p{display:none!important}
}

/* R39: one compact bubble menu for chat actions and composer tools. */
html body dialog.tm-bubble-menu[data-mode]{position:fixed!important;inset:0!important;margin:auto!important;transform:none!important;box-sizing:border-box!important;--tm-menu-surface:#fff;--tm-menu-tile:#f7f9f9;--tm-menu-line:#dce4e6;--tm-menu-text:#1d2c34;--tm-menu-accent:#267b69;width:min(420px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:min(84dvh,640px)!important;padding:0!important;border:1px solid var(--tm-menu-line)!important;border-radius:24px!important;background:var(--tm-menu-surface)!important;color:var(--tm-menu-text)!important;box-shadow:0 18px 64px #0b202d26!important;overflow:hidden!important}
html body dialog.tm-bubble-menu[data-mode][data-mode="work"]{--tm-menu-surface:#152028;--tm-menu-tile:#202e38;--tm-menu-line:#354550;--tm-menu-text:#f2f5f7;--tm-menu-accent:#efa47b}
html body dialog.tm-bubble-menu[data-mode]::backdrop{background:#10232e77!important;backdrop-filter:blur(5px)}
html body dialog.tm-bubble-menu[data-mode]>header{display:grid!important;grid-template-columns:44px minmax(0,1fr) 44px!important;gap:4px!important;align-items:center!important;min-height:64px!important;padding:8px 10px!important;margin:0!important;border-bottom:1px solid var(--tm-menu-line)!important;background:var(--tm-menu-surface)!important;color:var(--tm-menu-text)!important}
html body dialog.tm-bubble-menu[data-mode]>header::before,html body dialog.tm-bubble-menu[data-mode]>header::after{display:none!important}
html body dialog.tm-bubble-menu[data-mode]>header>:not(.tm-bubble-menu-logo):not(h2):not(.tm-bubble-menu-close){display:none!important}
html body dialog.tm-bubble-menu[data-mode]>header>.tm-bubble-menu-logo{display:block!important;position:static!important;justify-self:center!important;align-self:center!important;width:28px!important;height:28px!important;min-width:28px!important;object-fit:contain!important}
html body dialog.tm-bubble-menu[data-mode]>header>h2{display:block!important;min-width:0!important;width:100%!important;margin:0!important;padding:0!important;font-size:16px!important;line-height:1.25!important;font-weight:700!important;text-align:center!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;overflow:hidden!important;text-overflow:ellipsis!important;color:var(--tm-menu-text)!important}
html body dialog.tm-bubble-menu[data-mode]>header>.tm-bubble-menu-close{display:grid!important;place-items:center!important;position:static!important;min-width:44px!important;width:44px!important;height:44px!important;min-height:44px!important;padding:10px!important;margin:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:var(--tm-menu-text)!important}
html body dialog.tm-bubble-menu[data-mode]>header>.tm-bubble-menu-close>svg{display:block!important;width:22px!important;height:22px!important}
html body dialog#tm-dialog.tm-bubble-menu[data-mode]>.tm-dialog-body,html body dialog.tm-bubble-menu[data-mode]>.tmx-body{padding:12px!important;margin:0!important;overflow-y:auto!important;max-height:calc(min(84dvh,640px) - 66px)!important}
html body dialog#tm-dialog.tm-bubble-menu[data-mode] .tm-chat-action-sheet,html body dialog.tm-bubble-menu[data-mode] .tmx-tools-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;padding:0!important;margin:0!important}
html body dialog#tm-dialog.tm-bubble-menu[data-mode] .tm-chat-call-actions{display:contents!important}
html body dialog#tm-dialog.tm-bubble-menu[data-mode] .tm-chat-action,html body dialog.tm-bubble-menu[data-mode] .tmx-tools-grid>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:7px!important;width:100%!important;min-width:0!important;min-height:78px!important;height:78px!important;padding:10px 5px!important;margin:0!important;border:1px solid var(--tm-menu-line)!important;border-radius:18px!important;background:var(--tm-menu-tile)!important;color:var(--tm-menu-text)!important;text-align:center!important;box-shadow:0 1px 2px #10232e05!important;transition:background .15s,border-color .15s,transform .15s}
html body dialog#tm-dialog.tm-bubble-menu[data-mode] .tm-chat-action>svg,html body dialog.tm-bubble-menu[data-mode] .tmx-tools-grid>button>svg{display:block!important;position:static!important;flex:none!important;width:25px!important;height:25px!important;margin:0!important;color:var(--tm-menu-accent)!important}
html body dialog#tm-dialog.tm-bubble-menu[data-mode] .tm-chat-action>span,html body dialog.tm-bubble-menu[data-mode] .tmx-tools-grid>button>span{display:block!important;flex:none!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:0!important;font-size:11px!important;font-weight:500!important;line-height:15px!important;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;overflow:hidden!important;text-overflow:ellipsis!important;color:var(--tm-menu-text)!important}
html body dialog.tm-bubble-menu[data-mode] :is(.tm-chat-action,.tmx-tools-grid>button):hover{border-color:var(--tm-menu-accent)!important}
html body dialog.tm-bubble-menu[data-mode] :is(.tm-chat-action,.tmx-tools-grid>button,.tm-bubble-menu-close):focus-visible{outline:2px solid var(--tm-menu-accent)!important;outline-offset:2px!important}
html body dialog.tm-bubble-menu[data-mode]>.tmx-error:empty{display:none!important}
@media(max-width:700px){html body dialog.tm-bubble-menu{position:fixed!important;inset:auto 12px max(12px,env(safe-area-inset-bottom,0px))!important;width:calc(100vw - 24px)!important;max-width:none!important;margin:0!important;border-radius:24px!important}}
