:root{--brand:#609789;--brand-dark:#487c70;--brand-ink:#ffffff;--brand-soft:#e5f0e8;--teal:#609789;--nature:url('/assets/ksilo-nature.svg')}
.tree{background:linear-gradient(150deg,#79ad9c,#609789)!important}
.mainplus,.home-shortcuts .pill,.pill.active,.action:not(.outline),.inbox-toolbar [data-accent],.participant-actions button:first-child{background:linear-gradient(150deg,#7bad9b,var(--brand))!important;color:var(--brand-ink)!important;border-color:var(--gold)!important}
.brand-home .brand{background:linear-gradient(110deg,#a38448,#c7a86b);-webkit-background-clip:text;background-clip:text}
.header-profile-button .self-avatar{background:var(--brand);color:var(--brand-ink)}
.stream-tab.active,.stream-tabs .active,.stream-tabs [aria-selected=true],.stream-studio .rtc-primary,.studio-action,.stream-primary,.stream-live-start{background:var(--brand)!important;color:var(--brand-ink)!important}
.stream-live-button,.stream-library-tabs [aria-pressed=true],.stream-control-buttons .stream-hardware{background:linear-gradient(150deg,#7bad9b,var(--brand))!important;color:var(--brand-ink)!important;border-color:var(--gold)!important;box-shadow:none!important}
.stream-control-buttons .stream-hardware span{color:inherit!important}.stream-control-buttons .stream-hardware i{display:none}
.stream-control-buttons .stream-hardware.stream-stop{background:#b65258!important;color:#fff!important;border-color:#a24249!important}
.stream-record-actions button{background:#f3f7ed;color:#3e694d;box-shadow:none;border-color:#c3d5b8}
.stream-control-buttons .stream-upload{background:#fbfcf5;border-color:#c3d5b8;color:#31583d;box-shadow:none}
#ksilo-rtc .ksilo-signin .rtc-primary{background:linear-gradient(150deg,#7bad9b,var(--brand));color:var(--brand-ink);border-color:var(--gold)}
#toast{z-index:12000}
.member-portrait{display:inline-grid;place-items:center;position:relative;overflow:hidden;border-radius:50%;flex:none;vertical-align:middle;background:#e0ece3;color:#355e50;font:500 18px Georgia,serif}
.member-portrait>img{position:absolute!important;max-width:none!important;object-fit:fill!important;transform:none!important;border:0!important;margin:0!important;border-radius:0!important}
.member-portrait>span{display:grid;place-items:center;width:100%;height:100%}
.attendee-faces>.member-portrait{width:29px;height:29px;border:1.5px solid #e5cd96;box-sizing:border-box}
.orbit-person>.member-portrait{width:100%;height:100%;border:0}
@media(min-width:700px){.attendee-faces>.member-portrait{width:34px;height:34px}}
.people-directory{position:fixed;inset:0;background:#24483a33;backdrop-filter:blur(8px);z-index:9000;display:grid;place-items:center;padding:20px}
.people-directory>section{display:flex;flex-direction:column;background:#fcfcfa;width:min(580px,100%);max-height:90dvh;border:1px solid #d5e2d8;border-radius:25px;overflow:hidden;box-shadow:0 20px 80px #24483a22}
.people-directory header{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:22px}.people-directory h2{font-size:24px}.people-directory header button{font-size:28px;width:38px;height:38px;border:1px solid #d4e0d5;border-radius:50%}
.people-search{padding:0 22px 16px;display:grid;gap:8px;font-size:12px;color:#63796c}.people-search input{padding:12px 15px;border:1px solid #d5e2d8;background:#f4f7f2;border-radius:20px;font-size:16px;width:100%;color:#22463b}
.people-directory-list{overflow:auto;padding:0 22px 22px}.people-directory-list article{display:flex;gap:15px;align-items:center;padding:13px 0;border-bottom:1px solid #e4e9e1}.people-directory-list [hidden]{display:none}.people-directory-list .avatar{width:52px;height:52px}.people-directory-list strong{display:block;font-weight:500;font-size:17px}.people-directory-list small{display:block;margin-top:5px;color:#7a8b7e}
/* One stable media layout; the camera button affects the stream only. */
body.rtc-in-session #ksilo-rtc{inset:auto!important;top:var(--call-top,0px)!important;left:var(--call-left,0px)!important;width:var(--call-width,100vw)!important;height:var(--call-height,100dvh)!important;overflow:hidden;max-width:100vw}
#ksilo-rtc .rtc-meeting{--chat-panel-height:min(43%,320px);background:#eef3e9 var(--nature) repeat;background-size:340px;color:#22473b}
.rtc-meeting:before,.call-incoming:before{background:none}
#ksilo-rtc .rtc-floating{background:#f6faf1e8;border-color:#cbddc7;color:#315d4e}
#ksilo-rtc .rtc-meeting:not(.rtc-has-video) .rtc-meeting-head{background:linear-gradient(#f0f5eee8,transparent)}
#ksilo-rtc .rtc-meeting:not(.rtc-has-video) :is(.rtc-meeting-head h2,#rtc-status,.rtc-eyebrow,.rtc-wait){color:#315d4e;text-shadow:none}
#ksilo-rtc .rtc-meeting .rtc-grid .rtc-no-video{background:#e5ede0 var(--nature);color:#315d4e}
#ksilo-rtc .rtc-meeting .rtc-initials{color:#4f8070}
#ksilo-rtc .rtc-meeting:not(.rtc-has-video) .rtc-tile-caption{color:#315d4e;background:none;text-shadow:none}
#ksilo-rtc .rtc-meeting:not(.rtc-has-video) .rtc-tile-caption small{color:#6b806f}
#ksilo-rtc .rtc-controls{background:#eef4e6eb;border-color:#cfdbc1;box-shadow:0 5px 25px #183b2d21}
#ksilo-rtc .rtc-control-text{color:#2b5546}
#ksilo-rtc .rtc-control-icon{background:#d7e4d0;color:#406756;border:1px solid #b6cba5;box-shadow:inset 0 1px #fff8}
#ksilo-rtc .rtc-control.is-on .rtc-control-icon{background:#fcfdf6;color:#335d4b;border-color:#c6d7ba}
#ksilo-rtc .rtc-control.is-off .rtc-control-icon{background:#e4e9df;color:#798578;border-color:#cdd5c4}
#ksilo-rtc .rtc-control.is-danger .rtc-control-icon{background:#ce4050;border-color:#b43242;color:#fff}
#ksilo-rtc .rtc-control.is-recording .rtc-control-icon{background:#b24b51;color:#fff;border-color:#a13e46}
#ksilo-rtc :is(.rtc-more,.rtc-add-panel,.rtc-chat){background:#f4f7ee;color:#274a3b;border-color:#cfdcc6}
#ksilo-rtc .rtc-add-panel :is(h3,strong),#ksilo-rtc .rtc-add-panel .rtc-contact{color:#274a3b}
#ksilo-rtc .rtc-add-panel :is(p,small,summary){color:#6b806f}
#ksilo-rtc .rtc-more .rtc-control-text small{color:#6b806f}
#ksilo-rtc .rtc-panel-heading button{background:#e2ecdc;color:#315b47}
#ksilo-rtc .rtc-stage>.rtc-notice{background:#edf5e8e8;color:#315b47}
#ksilo-rtc.rtc-show-chat .rtc-controls{display:none}
#ksilo-rtc.rtc-show-chat .rtc-stage{bottom:var(--chat-panel-height)}
#ksilo-rtc.rtc-show-chat .rtc-chat{left:0;right:0;bottom:0;transform:none;width:100%;max-width:100%;height:var(--chat-panel-height);max-height:var(--chat-panel-height);min-height:0;border-radius:22px 22px 0 0;padding:12px 14px;overflow:hidden;display:flex;box-sizing:border-box}
#ksilo-rtc.rtc-show-chat .rtc-panel-heading{flex:none;margin-bottom:7px}#ksilo-rtc.rtc-show-chat .rtc-panel-heading h3{font-size:15px!important}#ksilo-rtc.rtc-show-chat .rtc-panel-heading button{width:30px;height:30px}
#ksilo-rtc.rtc-show-chat .rtc-messages{min-height:0;flex:1;overflow:auto;overscroll-behavior:contain;overflow-wrap:anywhere;-webkit-overflow-scrolling:touch}
#ksilo-rtc .rtc-messages article{background:#e2ecda;color:#315b47;padding:8px 11px;font-size:13px}
#ksilo-rtc .rtc-messages :is(strong,p,time){color:#315b47}
#ksilo-rtc .rtc-messages:empty:before{content:'Сообщений пока нет';color:#7a8b74;font-size:12px}
#ksilo-rtc #rtc-chat-form{flex:none;max-width:100%;margin-top:8px;gap:6px}#ksilo-rtc #rtc-chat-form input{width:0;min-width:0;flex:1;font-size:16px;line-height:20px;padding:9px 12px;border-color:#cad9c1;background:#fffef8;color:#264c39}
#ksilo-rtc #rtc-chat-form button{width:38px;height:38px;min-width:38px;background:var(--brand);color:var(--brand-ink)}
#ksilo-rtc.rtc-show-chat .rtc-meeting-head{padding-top:10px;padding-bottom:10px}#ksilo-rtc.rtc-show-chat .rtc-meeting-head h2{font-size:18px;margin:3px 0}#ksilo-rtc.rtc-show-chat #rtc-status{font-size:11px}#ksilo-rtc.rtc-show-chat .rtc-eyebrow{font-size:8px}#ksilo-rtc.rtc-show-chat .rtc-wait{display:none}
#ksilo-rtc.rtc-show-chat .rtc-side-actions{top:10px;gap:6px}#ksilo-rtc.rtc-show-chat .rtc-floating{width:34px;height:34px}#ksilo-rtc.rtc-show-chat .rtc-minimize{top:10px}
#ksilo-rtc.rtc-show-chat .rtc-tile-caption{bottom:0!important;padding-bottom:10px}#ksilo-rtc.rtc-show-chat .rtc-grid[data-count="2"] .rtc-self{bottom:14px;width:72px;height:94px}
#ksilo-rtc.rtc-show-chat .rtc-audio-layout .rtc-grid{padding:80px 20px 10px}#ksilo-rtc.rtc-show-chat .rtc-audio-layout .rtc-tile{width:100px!important;height:100px!important;flex-basis:100px!important}
@media(min-width:800px){#ksilo-rtc.rtc-show-chat .rtc-chat{left:auto;right:18px;bottom:18px;width:340px;height:60%;max-height:600px;border-radius:24px}#ksilo-rtc.rtc-show-chat .rtc-stage{bottom:0;right:370px}#ksilo-rtc.rtc-show-chat .rtc-controls{display:flex;right:auto;max-width:calc(100% - 420px);left:calc((100% - 370px)/2)}}
