/* TM3.5: isolated styles; existing media subscriptions and capture limits stay in place. */
#meeting{position:relative}
.avatar,.tm26-avatar,.tm35-person-avatar,.tm32-placeholder>strong{position:relative;isolation:isolate;overflow:hidden}
.avatar .tm35-profile-photo,.tm26-avatar .tm35-profile-photo,.tm35-person-avatar .tm35-profile-photo,.tm32-placeholder>strong .tm35-profile-photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;background:#263b50;z-index:1}
.avatar .presence-dot{z-index:2}.tm35-own-avatar{width:38px;height:38px;flex:none;font-size:12px}.tm35-tools{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font:13px system-ui,sans-serif}.tm35-tools button,.tm35-tools summary,.tm35-button{color:#eaf0f8;background:#27374a;border:1px solid #6b7c91;border-radius:9px;padding:9px 11px;font:inherit;cursor:pointer;min-height:40px}.tm35-tools [aria-pressed=true]{background:#5c431d;border-color:#f8bd60;color:#ffda96}.tm35-button:focus-visible,.tm35-tools summary:focus-visible{outline:3px solid #89caff;outline-offset:3px}.tm35-tools button:disabled,.tm35-button:disabled{opacity:.45;cursor:wait}.tm35-reactions{position:relative}.tm35-reactions summary{list-style:none}.tm35-reactions summary::-webkit-details-marker{display:none}.tm35-reaction-picker{position:absolute;bottom:calc(100% + 12px);left:0;display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px;background:#152133;border:1px solid #71829a;border-radius:12px;box-shadow:0 8px 40px #0007;width:280px;z-index:30}.tm35-reaction-picker button{text-align:left;white-space:nowrap}.tm35-request{position:absolute;top:78px;left:50%;transform:translateX(-50%);width:min(440px,calc(100% - 32px));box-sizing:border-box;background:#172d43;border:2px solid #f3ab64;box-shadow:0 12px 50px #0009;padding:16px;border-radius:14px;z-index:50;color:#fff;font:14px/1.6 system-ui}.tm35-request div{display:flex;gap:10px;flex-wrap:wrap}.tm35-request p{margin:0 0 12px}.tm35-request[hidden],.tm35-presentation-actions[hidden],.tm35-people-panel[hidden]{display:none!important}.tm35-reaction-stream{position:absolute;bottom:105px;left:18px;right:18px;display:flex;flex-wrap:wrap;gap:8px;pointer-events:none;z-index:20;max-height:96px;overflow:hidden}.tm35-reaction-bubble{display:inline-flex;padding:8px 12px;border-radius:20px;color:#fff;background:#172638ed;border:1px solid #8b9cb2;font:13px system-ui;max-width:210px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.tm35-hand-badge{position:absolute!important;top:8px;left:8px;bottom:auto!important;padding:5px 8px!important;border-radius:8px;background:#5c431dec;color:#ffe0a6;font:12px system-ui!important;z-index:3}.tm35-person{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #465469;flex-wrap:wrap}.tm35-person-avatar{display:grid;place-items:center;flex:none;width:34px;height:34px;background:#3f536d;border-radius:50%;font-style:normal}.tm35-person>span{display:grid;flex:1;min-width:100px;gap:4px}.tm35-person strong{font-size:13px;overflow-wrap:anywhere}.tm35-person small,.tm35-help{font-size:11px;color:#bac8db}.tm35-person-actions{display:flex;gap:6px;flex-wrap:wrap;width:100%}.tm35-person-actions button{font-size:11px;padding:6px 8px;min-height:32px}.tm35-raised-summary{color:#ffce88;font-size:12px}.tm35-presentation-actions{position:absolute;top:65px;right:18px;display:flex;gap:6px;z-index:10;max-width:calc(100% - 36px);flex-wrap:wrap}.tm35-presentation-actions button{font:12px system-ui;background:#102031e8}.tm35-people-panel{position:absolute;top:70px;bottom:100px;right:14px;width:min(345px,calc(100% - 48px));padding:16px;background:#172335;border:1px solid #71829a;border-radius:12px;overflow:auto;z-index:35;color:#fff}.tm35-people-panel h3{font-size:16px}.tm26-presenting .featured video{object-fit:contain;background:#080d14}.tm26-presenting .featured .tm26-tile-media{min-height:0}.tm26-tile.featured .tm26-tile-caption{pointer-events:none}.tm35-has-presentation .tm26-stage{padding-top:48px}
.tm26-room.tm35-presentation-mode .tm26-side{display:none}.tm26-room.tm35-presentation-mode .tm26-stage{overflow:hidden;padding:50px 12px 10px}.tm26-room.tm35-presentation-mode .tm26-tiles{display:block;height:100%;min-height:0}.tm26-room.tm35-presentation-mode .tm26-tile:not(.featured){display:none}.tm26-room.tm35-presentation-mode .tm26-tile.featured{height:100%;min-height:0;max-height:none}.tm26-room.tm35-presentation-mode .tm26-tile-media{height:100%;min-height:0}.tm26-room.tm35-presentation-mode .featured video{width:100%;height:100%;object-fit:contain}
#meeting.tm35-has-presentation{position:fixed;inset:0;z-index:1000;background:#0d141e;padding:12px;box-sizing:border-box;overflow:auto}#meeting.tm35-has-presentation .tm30-meeting-layout{min-height:calc(100dvh - 100px)}#meeting.tm35-presentation-mode .tm30-meeting-layout{display:block}#meeting.tm35-presentation-mode .tm30-meeting-layout>aside{display:none}#meeting.tm35-presentation-mode .tm30-tiles{display:block;height:calc(100dvh - 220px);min-height:140px;padding-top:42px}#meeting.tm35-presentation-mode .tm30-tile:not(.tm30-share){display:none}#meeting.tm35-presentation-mode .tm30-tile.tm30-share{height:100%;min-height:0;display:flex;flex-direction:column}#meeting.tm35-presentation-mode .tm30-share video{flex:1;min-height:0;height:100%;max-height:none!important;object-fit:contain}#meeting .tm30-controls{flex-wrap:wrap;z-index:12}#meeting .tm35-tools{margin-right:6px}#meeting:fullscreen{width:100%;height:100%;overflow:auto;background:#0d141e;padding:12px;box-sizing:border-box}#meeting .tm35-reaction-picker{bottom:calc(100% + 12px)}
@media(max-width:850px){.tm26-controls{flex-wrap:wrap;justify-content:center}.tm35-tools{font-size:11px}.tm35-reaction-picker{left:auto;right:0}.tm35-presentation-actions{top:60px;right:10px}.tm35-presentation-actions button{font-size:10px;padding:7px}.tm35-reaction-stream{bottom:150px}.tm26-room.tm35-presentation-mode .tm26-stage{min-height:0;flex:1}.tm26-room.tm35-presentation-mode .tm26-main{flex-direction:column}}
@media(max-width:520px){.tm35-reaction-picker{width:240px}.tm35-reaction-picker button{padding:7px;font-size:11px}.tm35-presentation-actions{top:70px}.tm35-request{top:110px}#meeting.tm35-presentation-mode .tm30-tiles{height:calc(100dvh - 300px)}.tm26-room.tm35-presentation-mode .tm26-stage{padding-top:56px}.tm35-reaction-stream{bottom:190px}}
@media(prefers-reduced-motion:reduce){.tm35-reaction-bubble{animation:none}}

.tm35-feedback{position:absolute;left:18px;bottom:100px;max-width:min(440px,calc(100% - 60px));padding:10px 14px;background:#183440f5;color:#fff;border:1px solid #8db8c6;border-radius:10px;font:13px/1.5 system-ui;z-index:45}.tm35-feedback[hidden]{display:none!important}
