.group-home{min-width:0}.group-home>header,.group-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.group-home h2{font-size:30px;margin:8px 0}.group-home p{color:var(--muted,#9aa3a8)}
.group-action,.group-photo-picker>label{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 18px;border:1px solid #b6f34a;border-bottom:4px solid #7ca82e;border-radius:10px;background:#b6f34a;color:#142006;font-weight:700;font-size:14px;cursor:pointer;text-decoration:none}.group-action:hover{background:#c4ff62}.group-action:active{transform:translateY(2px);border-bottom-width:2px}.group-action:disabled{opacity:.5;cursor:wait}.group-home-tabs{display:flex;border-bottom:1px solid var(--line);margin-bottom:16px}.group-home-tabs button{background:none;border:0;color:var(--muted);padding:12px 22px}.group-home-tabs [aria-selected=true]{color:#b6f34a;border-bottom:3px solid #b6f34a}.group-search{display:flex;align-items:center;gap:12px;background:#142126;border:1px solid var(--line);border-radius:10px;padding:8px 14px;margin-bottom:16px}.group-search input{background:none;border:0;width:100%;min-width:0;color:inherit;padding:8px}.group-list-card{display:flex;align-items:center;gap:16px;border:1px solid var(--line);background:var(--surface);border-radius:14px;padding:18px;margin:12px 0}.group-list-card>div{flex:1;min-width:0}.group-list-card h3{margin:0 0 6px}.group-list-card p{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;margin:8px 0 0}.group-avatar{display:block;flex:none;width:46px;height:46px;border-radius:50%;object-fit:cover;background:#263a26}.group-initial{display:grid;place-items:center;font-size:22px;font-weight:700;color:#b6f34a}.group-empty{display:flex;align-items:center;justify-content:center;gap:24px;padding:40px 16px}.group-empty img{max-width:140px;height:auto}.group-invite-actions{display:flex;gap:8px;flex-wrap:wrap}
html body .group-flow[open]{display:flex;flex-direction:column;background:#0e191d;color:#f8faf9;overflow:hidden!important;padding:0!important}.group-flow-head{display:flex;align-items:center;gap:16px;border-bottom:1px solid #2b3d42;padding:calc(12px + env(safe-area-inset-top)) 20px 12px;flex:none}.group-flow-head h2{font-size:20px;margin:0}.group-flow-head button,.group-room-head>button:first-child{background:#17282e;border:1px solid #355058;border-radius:10px;min-height:44px;padding:8px 12px;color:#fff}.group-form{width:min(850px,100%);margin:0 auto;flex:1;min-height:0;overflow:auto;padding:24px max(20px,env(safe-area-inset-right)) calc(24px + env(safe-area-inset-bottom));box-sizing:border-box}.group-form>label,.group-form fieldset>label{display:flex;flex-direction:column;gap:8px;margin:16px 0;color:#e1e7e7;font-weight:600}.group-form input:not([type=radio]):not([type=checkbox]),.group-form textarea,.group-form select{box-sizing:border-box;width:100%;min-width:0;background:#17282e;color:#fff;border:1px solid #355058;border-radius:9px;padding:12px;font:inherit}.group-form textarea{resize:vertical}.group-form footer{padding:20px 0 0;display:flex;justify-content:flex-end}.group-form footer button{min-width:180px}.group-stepper{display:flex;justify-content:space-between;list-style:none;padding:0;margin:0 0 20px;font-size:12px;color:#9aa3a8}.group-stepper li{display:flex;flex-direction:column;align-items:center;gap:8px;flex:1}.group-stepper span{display:grid;place-items:center;width:30px;height:30px;background:#24343a;border-radius:50%}.group-stepper .current{color:#b6f34a}.group-stepper .current span{background:#b6f34a;color:#142006;font-weight:700}.group-wizard-hero{text-align:center}.group-wizard-hero img{width:100px;height:auto}.group-photo-picker{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.group-photo-picker>label{margin:0}.group-photo-picker input{display:none}.group-email-list{list-style:none;padding:0}.group-email-list li{display:flex;justify-content:space-between;gap:16px;background:#17282e;padding:12px;margin:8px 0;border-radius:8px}.group-email-list button{background:none;border:0;color:#fff}.group-summary{padding:20px;border:1px solid #355058;border-radius:12px}.group-summary .group-avatar{float:left;margin-right:16px}.group-success{text-align:center;padding:30px 0}.group-success img{max-width:180px;height:auto}.group-success h3{font-size:28px}.group-success button{margin-top:16px}
html body .group-room[open]{display:flex;flex-direction:column;padding:0!important;overflow:hidden!important;background:#0c1518;color:#f8faf9}.group-room-head{flex:none;display:flex;align-items:center;gap:12px;padding:calc(10px + env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 10px max(16px,env(safe-area-inset-left));border-bottom:1px solid #2b3d42}.group-room-head>div{flex:1;min-width:0}.group-room-head h2{font-size:20px;margin:0;overflow-wrap:anywhere}.group-room-head p{margin:4px 0 0;font-size:12px;color:#9aa3a8}.group-room-layout{flex:1;display:grid;grid-template-columns:var(--group-nav-width,190px) minmax(0,1fr) 220px;min-height:0}.group-room-nav{display:flex;flex-direction:column;border-right:1px solid #2b3d42;padding:16px 10px;gap:6px}.group-room-nav button{display:flex;align-items:center;gap:10px;text-align:left;border:0;border-radius:8px;background:none;color:#e0e7e7;padding:12px;min-height:44px}.group-room-nav [aria-current]{background:#263b1c;color:#b6f34a}.group-main{display:flex;flex-direction:column;min-width:0;min-height:0}.group-main>[data-group-error]{flex:none;font-size:13px;color:#ffb1a9;margin:0;padding:0 16px}.group-main>[data-group-error]:not(:empty){padding:10px 16px}.group-panel{flex:1;min-height:0;overflow:auto;padding:20px}.group-panel:has(.group-chat){display:flex;flex-direction:column;padding:0;overflow:hidden}.group-chat{display:flex;flex-direction:column;flex:1;min-height:150px;overflow:hidden}.group-messages{flex:1;overflow:auto;overscroll-behavior:contain;padding:20px;scrollbar-gutter:stable}.group-message{display:flex;gap:10px;max-width:84%;margin:12px 0;align-items:flex-start}.group-message>.group-avatar{width:30px;height:30px}.group-message>div{position:relative;min-width:0;padding:10px 14px;background:#1b282d;border-radius:0 12px 12px 12px}.group-message.mine{margin-left:auto;flex-direction:row-reverse}.group-message.mine>div{background:#193d27;border-radius:12px 0 12px 12px}.group-message p{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0}.group-message strong{font-size:12px;color:#b6f34a}.group-message small{font-size:10px;color:#adbab4;display:block;text-align:right}.group-message blockquote{font-size:12px;margin:8px 0;border-left:3px solid #b6f34a;padding-left:10px;max-height:70px;overflow:hidden}.group-message details{font-size:12px;margin-top:4px}.group-message details summary{cursor:pointer;text-align:right}.group-message details button{font-size:12px;min-height:36px;padding:6px 10px;margin:6px 4px 0 0}.group-message .group-action{white-space:normal;text-align:left;overflow-wrap:anywhere}.group-composer{flex:none;display:grid;grid-template-columns:44px minmax(0,1fr) 46px;align-items:end;gap:8px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));border-top:1px solid #2b3d42;background:#101c20}.group-composer textarea{flex:1;min-width:0;resize:none;max-height:100px;min-height:44px;border:1px solid #355058;border-radius:10px;background:#17282e;color:#fff;padding:10px;font:inherit;box-sizing:border-box}.group-composer>button[data-g="share"]{display:flex;align-items:center;justify-content:center;box-sizing:border-box;height:44px;min-height:44px;width:44px;padding:0;margin:0;border:1px solid #355058;border-radius:10px;background:#17282e;color:#fff;font:inherit;font-size:24px;line-height:1;cursor:pointer}.group-composer .group-action{width:46px;padding:8px}.group-people{overflow:auto;padding:16px;border-left:1px solid #2b3d42}.group-people h3{font-size:14px;margin:0 0 14px}.group-person{display:flex;align-items:center;gap:8px;margin-bottom:14px;min-width:0}.group-person .group-avatar{width:32px;height:32px}.group-person div{min-width:0}.group-person strong{display:block;font-size:12px;overflow-wrap:anywhere}.group-person small{display:block;font-size:11px;color:#9aa3a8}.group-person .online{color:#b6f34a}.group-reply{display:flex;justify-content:space-between;background:#213328;padding:10px 16px;font-size:12px}.group-reply button{background:none;border:0;color:#fff}
.group-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.group-tool-card{padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--surface);min-width:0}.group-tool-card h3{overflow-wrap:anywhere}.group-member-row{display:flex;align-items:center;gap:12px;border-bottom:1px solid #2b3d42;padding:16px 0}.group-member-row>div:nth-child(2){flex:1;min-width:0}.group-member-row strong,.group-member-row small{display:block;overflow-wrap:anywhere}.group-member-row small{font-size:12px;color:#9aa3a8;margin-top:6px}.group-member-row button{margin:4px}.group-settings{max-width:650px}.group-settings>button{margin:12px 8px 20px 0}.group-share-grid{display:grid;gap:12px}.group-share-item,.group-file-row{display:flex;align-items:center;gap:16px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:#f8faf9;text-align:left;padding:16px;min-height:68px}.group-share-item svg{color:#b6f34a;width:30px;height:30px}.group-share-item strong,.group-share-item small{display:block}.group-share-item small{color:#9aa3a8;margin-top:6px}.group-library-search{display:flex;gap:8px;margin-bottom:16px}.group-file-row{width:100%;margin-bottom:8px}.group-file-row span:nth-child(2){flex:1;overflow-wrap:anywhere}.group-file-row span:last-child{color:#b6f34a;font-size:12px}.group-checkbox{flex-direction:row!important;align-items:center}.group-checkbox input{flex:none}.group-note-modes{border:0;padding:0;margin:20px 0}.group-note-modes label{position:relative;padding:16px 16px 16px 44px;border:1px solid #355058;border-radius:10px;cursor:pointer}.group-note-modes input{position:absolute;left:16px;top:18px}.group-note-modes small{font-weight:400;color:#9aa3a8;line-height:1.5}.group-question{border:1px solid #355058;border-radius:12px;padding:16px;margin:24px 0}.group-question legend{white-space:pre-wrap;font-weight:700}.group-question>label{flex-direction:row!important;align-items:flex-start;background:#17282e;padding:12px;border-radius:8px}.group-question input{margin-top:4px}.group-form article>strong,.group-form article>p{white-space:pre-wrap}.group-note-status{position:absolute;top:calc(82px + env(safe-area-inset-top));right:26px;max-width:min(450px,calc(100% - 110px));padding:10px 14px;border:1px solid #355058;border-radius:12px;background:#14242af0;color:#f8faf9;z-index:10;display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:11px}.group-note-status .group-action{min-height:32px;padding:6px 9px;font-size:11px}.group-note-status strong{color:#b6f34a}
.group-study{flex:none;max-height:65%;overflow:auto;border-bottom:1px solid #2b3d42;padding:16px}.group-study h3{margin:0}.group-study video{display:block;width:100%;max-height:36dvh;background:#000}.group-study canvas{display:block;width:100%;height:auto}.group-study-actions{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.group-study-actions button{min-height:38px;font-size:12px;padding:6px 12px}.group-study-actions label{display:flex;align-items:center;gap:8px;font-size:12px}.group-study-actions select,.group-pdf-controls input{background:#17282e;color:#fff;padding:8px;border:1px solid #355058;border-radius:8px;min-width:0;max-width:160px}.group-session-list article{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0;padding:12px;border:1px solid #2b3d42;border-radius:10px}.group-session-list article>div{flex:1;min-width:170px}.group-session-list strong,.group-session-list small{display:block}.group-session-list small{font-size:12px;color:#9aa3a8;margin-top:4px}.group-session-list button{font-size:12px;padding:6px 10px;min-height:36px}.group-pdf-controls{display:flex;align-items:center;gap:8px;margin:12px 0;flex-wrap:wrap}.group-pdf-controls label{display:flex;align-items:center;gap:8px}.group-pdf-controls input{width:60px}.group-form audio{display:block;width:100%;margin:12px 0}.group-panel :focus-visible,.group-flow :focus-visible,.group-room :focus-visible{outline:3px solid #b6f34a;outline-offset:3px}
@media(min-width:1400px){.group-panel:has(.group-study){display:grid;grid-template-columns:minmax(0,1.2fr) minmax(320px,1fr)}.group-study{max-height:none;border-bottom:0;border-right:1px solid #2b3d42}.group-study video{max-height:60dvh}}
@media(max-width:1000px){.group-room-layout{grid-template-columns:var(--group-nav-width,160px) minmax(0,1fr)}.group-people{display:none}}
@media(max-width:650px){.group-home>header{align-items:flex-start;flex-wrap:wrap}.group-list-card{gap:10px;padding:12px;flex-wrap:wrap}.group-list-card>.group-action{margin-left:56px}.group-list-card h3{font-size:16px}.group-empty{gap:16px;padding:20px 0}.group-empty img{width:90px}.group-empty h3{font-size:18px}.group-room-layout{display:flex;flex-direction:column}.group-room-nav{flex:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;border-right:0;border-bottom:1px solid #2b3d42;padding:4px}.group-room-nav button{flex-direction:column;gap:3px;align-items:center;padding:6px 2px;min-height:48px;font-size:9px}.group-room-nav button svg{width:18px;height:18px}.group-room-head{gap:8px;padding-left:10px;padding-right:10px}.group-room-head h2{font-size:16px}.group-room-head .group-avatar{width:34px;height:34px}.group-room-head .group-action{font-size:11px;padding:8px;min-height:38px}.group-main{flex:1;min-height:0}.group-panel{padding:14px}.group-messages{padding:12px}.group-message{max-width:94%}.group-message p{font-size:14px}.group-composer{padding-left:10px;padding-right:10px}.group-member-row{flex-wrap:wrap}.group-member-row>div:last-child{width:100%}.group-form{padding:16px 14px calc(16px + env(safe-area-inset-bottom))}.group-flow-head{padding-left:14px;padding-right:14px}.group-flow-head h2{font-size:17px}.group-form footer button{width:100%}.group-section-head{flex-wrap:wrap;margin-bottom:14px}.group-study{padding:12px;max-height:55%}.group-study .group-section-head h3{font-size:17px}.group-note-status{top:auto;bottom:calc(14px + env(safe-area-inset-bottom));right:100px;max-width:calc(100% - 162px);padding:8px}.group-note-status span{display:none}.group-note-status strong{width:100%;font-size:10px}}

.group-note-status select{max-width:160px;background:#17282e;color:#fff;border:1px solid #355058;border-radius:8px;padding:4px}.group-room .group-question strong{color:#b6f34a}.nb-editor-dialog [data-contributor]:hover::after{content:attr(data-contributor);position:absolute;right:0;top:0;font-size:9px;line-height:12px;background:#b6f34a;color:#142006;padding:3px 5px;border-radius:3px;pointer-events:none;transform:translateY(-100%)}.resource-action-dialog .material-secondary{background:#b6f34a;color:#142006;border-color:#b6f34a}

/* Collaboration details belong to notebook options, never over the writing area. */
.nb-top-panel .group-note-status{position:static;max-width:none;width:100%;padding:10px;box-shadow:none;margin:0 0 8px;gap:8px}
.nb-top-panel .group-note-status span{display:block;width:100%;line-height:1.5}
.nb-top-panel .group-note-status .group-action{min-height:44px;padding:8px 12px;font-size:12px}
.nb-top-panel .group-note-status select{font-size:16px;min-height:44px;max-width:100%;width:100%}
.nb-top-panel .group-note-status label{display:grid;width:100%;gap:6px}
.group-note-access{min-height:44px;padding:8px 10px;font-size:11px;white-space:nowrap;flex:none}.group-note-access[hidden]{display:none}
@media(max-width:600px){.group-readonly .nb-history-controls{display:none}.group-readonly .nb-editor-header{padding-right:8px}.group-readonly .nb-toolbar [data-nb=tool-pen],.group-readonly .nb-toolbar [data-nb=tool-highlight],.group-readonly .nb-toolbar [data-nb=tool-eraser],.group-readonly .nb-toolbar [data-nb=tool-text],.group-readonly .nb-toolbar [data-nb=tool-image],.group-readonly .nb-toolbar [data-nb=tool-shape]{opacity:.4}}

.group-recording-bar{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:8px 16px;background:#21331e;border-bottom:1px solid #3e572d;font-size:12px}.group-recording-bar>span{flex:1}.group-recording-bar button{min-height:34px;font-size:12px;padding:6px 10px}@media(max-width:650px){.group-recording-bar{padding:6px 10px;gap:6px;flex-wrap:wrap}.group-recording-bar>span{width:100%;flex:none}.group-recording-bar button{flex:1}}

/* The lesson owns the central height. Conversation and presence share a sidebar
   instead of reserving a second empty pane under the PDF. */
.group-side { min-height:0; min-width:0; display:flex; flex-direction:column; border-left:1px solid #2b3d42; }
.group-nav-links { display:flex; flex-direction:column; gap:6px; min-width:0; }
.group-room-nav { min-width:0; overflow-y:auto; }
.group-room-nav .group-nav-toggle { justify-content:center; align-self:flex-end; width:44px; min-height:44px; flex:none; padding:0; border:1px solid #355058; color:#b6f34a; background:#17282e; font-size:28px; line-height:1; margin-bottom:6px; }
.group-nav-links button .ui-icon { width:24px; height:24px; flex:none; }
.group-nav-links button > span { overflow-wrap:anywhere; }
.group-room-nav button:focus-visible { outline:3px solid #b6f34a; outline-offset:-3px; }
@media(min-width:901px){
 .group-room.group-nav-collapsed { --group-nav-width:64px; }
 .group-nav-collapsed .group-room-nav { padding:10px 9px; }
 .group-nav-collapsed .group-nav-links button { justify-content:center; padding:10px; width:44px; min-height:44px; }
 .group-nav-collapsed .group-nav-links button > span { display:none; }
 .group-nav-collapsed .group-nav-toggle { align-self:center; }
}
.group-side .group-people { flex:1; min-height:0; border-left:0; }
.group-side-tabs,.group-side-conversation,.group-study-mobile-tabs,.group-study-composer { display:none; }
.group-in-study .group-room-layout { grid-template-columns:var(--group-nav-width,160px) minmax(0,1fr) 300px; grid-template-rows:minmax(0,1fr) auto; }
.group-in-study .group-room-nav { grid-row:1 / -1; }
.group-in-study .group-main { grid-column:2; grid-row:1; }
.group-in-study .group-side { grid-column:3; grid-row:1; }
.group-in-study .group-study-composer { display:block; grid-column:2 / -1; grid-row:2; }
.group-in-study .group-panel { display:flex; flex-direction:column; overflow:hidden; padding:0; }
.group-in-study .group-study { display:flex; flex-direction:column; flex:1; min-height:0; max-height:none; overflow:hidden; border:0; padding:12px; }
.group-in-study .group-study-media { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; }
.group-in-study .group-study-media video { max-height:100%; object-fit:contain; }
.group-in-study .group-pdf-controls { position:sticky; top:0; z-index:1; margin:0; padding:4px 0 6px; gap:8px; flex-wrap:nowrap; background:#0c1518; font-size:13px; }
.group-in-study .group-pdf-controls .group-pdf-arrow { display:grid; place-items:center; flex:none; width:44px; height:44px; min-height:44px; padding:0; font-size:24px; line-height:1; border-radius:10px; }
.group-in-study .group-pdf-controls input { width:56px; min-height:44px; box-sizing:border-box; padding:6px; text-align:center; }
.group-pdf-total { color:#9aa3a8; white-space:nowrap; }
.group-in-study .group-study .group-section-head { margin-bottom:6px; gap:8px; }
.group-in-study .group-study h3 { font-size:18px; }
.group-in-study .group-side-tabs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px; flex:none; padding:8px; border-bottom:1px solid #2b3d42; }
.group-side-tabs button,.group-study-mobile-tabs button { min-height:44px; min-width:0; background:#17282e; color:#e0e7e7; border:1px solid #355058; border-radius:8px; font:inherit; font-size:12px; }
.group-side-tabs [aria-pressed=true],.group-study-mobile-tabs [aria-pressed=true] { background:#263b1c; color:#b6f34a; border-color:#b6f34a; }
.group-in-study[data-side-view=chat] .group-side-conversation { display:flex; flex:1; min-height:0; flex-direction:column; }
.group-in-study[data-side-view=chat] .group-people { display:none; }
.group-in-study[data-side-view=people] .group-people { display:block; }
.group-side-conversation .group-messages { min-height:0; padding:12px; }
.group-side-conversation .group-message { max-width:100%; font-size:13px; gap:6px; }
.group-side-conversation .group-message > .group-avatar { width:24px; height:24px; }
.group-side-conversation .group-message > div { padding:8px; }
@media(max-width:1000px){.group-side{display:none}.group-in-study .group-side{display:flex}.group-in-study .group-room-layout{grid-template-columns:var(--group-nav-width,140px) minmax(0,1fr) 260px}}

/* Group sections and study shortcuts live in one compact header menu. */
html body .group-room .group-room-head{position:relative;gap:8px;padding:calc(2px + env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) 2px max(8px,env(safe-area-inset-left));min-height:40px;box-sizing:border-box}
html body .group-room .group-room-head>div:not(.group-tools-menu){display:flex;align-items:center;gap:12px;min-width:0}
html body .group-room .group-room-head h2{font-size:16px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body .group-room .group-room-head p{font-size:11px;margin:0;white-space:nowrap;flex:none}
html body .group-room .group-room-head .group-avatar{width:30px;height:30px;font-size:16px}
html body .group-room .group-room-head>button{width:36px;height:36px;min-height:36px;padding:0;flex:none;border:1px solid #355058;border-radius:8px;background:transparent;color:#e0e7e7;font-size:20px;cursor:pointer}
html body .group-room .group-room-head>.group-tools-toggle{border:0;background:transparent;box-shadow:none;color:#9aa3a8;font-size:16px;letter-spacing:2px}
html body .group-room .group-room-head>.group-tools-toggle:hover,html body .group-room .group-room-head>.group-tools-toggle[aria-expanded=true]{color:#e0e7e7}
html body .group-room .group-room-head>div.group-tools-menu{position:absolute;z-index:20;top:calc(100% + 4px);right:max(8px,env(safe-area-inset-right));width:min(320px,calc(100vw - 20px));max-height:calc(var(--app-viewport-height,100dvh) - 80px);overflow:auto;overscroll-behavior:contain;padding:6px;box-sizing:border-box;background:#142126;border:1px solid #355058;border-radius:12px;box-shadow:0 12px 32px #0008}
.group-tools-menu[hidden]{display:none!important}
.group-tools-menu [role=group]+[role=group]{border-top:1px solid #355058;margin-top:6px;padding-top:6px}
.group-tools-menu button{display:flex;align-items:center;gap:10px;min-height:44px;width:100%;padding:8px 12px;background:none;color:#e0e7e7;border:0;border-radius:8px;font:inherit;font-size:14px;text-align:left;cursor:pointer}
.group-tools-menu .ui-icon{width:20px;height:20px;flex:none}
.group-tools-menu button:hover,.group-tools-menu [aria-current=page]{background:#263b1c;color:#b6f34a}
.group-tools-menu button:focus-visible,.group-tools-toggle:focus-visible{outline:2px solid #b6f34a;outline-offset:-2px}
html body .group-room-layout{grid-template-columns:minmax(0,1fr) 220px}
html body .group-in-study .group-room-layout{grid-template-columns:minmax(0,1fr) 300px}
html body .group-in-study .group-main{grid-column:1}
html body .group-in-study .group-side{grid-column:2}
html body .group-in-study .group-study-composer{grid-column:1 / -1}
@media(max-width:1000px){html body .group-room-layout{grid-template-columns:minmax(0,1fr)}html body .group-in-study .group-room-layout{grid-template-columns:minmax(0,1fr) 260px}}
@media(max-width:900px){html body .group-room .group-room-head>button{width:44px;height:44px;min-height:44px}}
@media(max-width:600px){html body .group-room .group-room-head>div:not(.group-tools-menu){gap:6px}html body .group-room .group-room-head h2{font-size:14px;min-width:0}html body .group-room .group-room-head p{font-size:10px}html body .group-room .group-room-head .group-avatar{width:24px;height:24px}}
.group-device-files{padding:0;list-style:none}.group-device-files li{padding:10px 0;border-bottom:1px solid #355058;overflow-wrap:anywhere}.group-device-files small{display:block;color:#adbab4;margin-top:4px}
.group-attachment-preview{margin-top:16px;min-width:0}.group-attachment-preview img,.group-attachment-preview video{display:block;max-width:100%;max-height:70dvh;object-fit:contain}.group-attachment-preview canvas{display:block;width:100%;height:auto}.group-attachment-preview audio{max-width:100%}
.group-attachment-pages{display:flex;align-items:center;gap:12px;position:sticky;top:0;padding:6px 0;background:#0e191d}.group-attachment-pages button{min-width:44px}

html body .group-room .group-room-head .group-avatar{display:block}

/* Cards have separate content, attribution and actions, so each row can wrap independently. */
html body .group-room .group-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:16px}
html body .group-room .group-tool-card{display:flex;flex-direction:column;gap:14px;padding:20px;box-sizing:border-box;min-width:0}
.group-card-kind{display:flex;align-items:center;gap:10px;color:#adbab4;font-size:12px;font-weight:600}
.group-card-kind .ui-icon{width:24px;height:24px;flex:none;color:#b6f34a}
html body .group-room .group-tool-card h3{margin:0;font-size:18px;line-height:1.4;overflow-wrap:anywhere}
html body .group-room .group-card-meta{display:flex;flex-direction:column;gap:4px;margin:0;color:#adbab4;font-size:12px;line-height:1.4}
.group-card-meta strong{color:#e0e7e7;font-size:13px;font-weight:500}
html body .group-room .group-card-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:14px;border-top:1px solid #2b3d42}
html body .group-room .group-card-actions .group-action{min-width:0;min-height:44px;max-width:100%;margin:0;padding:9px 14px;flex:0 1 auto;font-size:13px;line-height:1.3;white-space:normal;overflow-wrap:normal;word-break:normal;box-sizing:border-box}
html body .group-room .group-card-actions .group-action:first-child{flex:1 1 120px}
html body .group-room :is(.group-card-actions,.group-member-actions,.group-session-actions) .group-action:not(:first-child){background:transparent;color:#e0e7e7;border:1px solid #355058;box-shadow:none}
html body .group-room :is(.group-card-actions,.group-member-actions,.group-session-actions) .group-action:not(:first-child):hover{background:#17282e;border-color:#adbab4}
html body .group-room :is(.group-card-actions,.group-member-actions,.group-session-actions) :is([data-g=resource-delete],[data-g=note-delete],[data-g=member-remove],[data-g=session-delete]){color:#ffb1a9;border-color:#694342}
html body .group-room .group-section-head{align-items:center;gap:16px;margin-bottom:20px}
.group-section-head h3{margin:0;min-width:0;flex:1 1 180px;font-size:20px;line-height:1.4;overflow-wrap:anywhere}
.group-section-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;min-width:0;max-width:100%}
.group-section-actions button{margin:0;min-width:0;max-width:100%;font-size:13px;box-sizing:border-box}
.group-section-actions button+button{background:transparent;color:#e0e7e7;border:1px solid #355058;box-shadow:none}
.group-member-actions,.group-session-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;min-width:0}
html body .group-room .group-member-actions button,html body .group-room .group-session-actions button{margin:0;min-height:44px;max-width:100%;font-size:12px;line-height:1.3;white-space:normal;box-sizing:border-box}
html body .group-room .group-session-list article>div.group-session-actions{flex:0 1 auto;min-width:0}
@media(max-width:700px){
 html body .group-room .group-card-grid{grid-template-columns:minmax(0,1fr)}
 html body .group-room .group-tool-card{padding:16px;gap:12px}
 html body .group-room .group-card-actions .group-action:first-child{flex-basis:100%}
 html body .group-room .group-card-actions .group-action:not(:first-child){flex:1 1 100px}
 html body .group-room .group-section-actions{width:100%}
 html body .group-room .group-section-actions button{flex:1 1 150px}
 html body .group-room .group-member-actions{width:100%}
 html body .group-room .group-member-actions button{flex:1 1 140px}
 html body .group-room .group-session-list article>div.group-session-actions{flex-basis:100%}
 html body .group-room .group-session-actions button{flex:1 1 80px}
}

html body .group-room .group-room-head>button[data-g=close]{border:0;border-radius:0;background:transparent;box-shadow:none}
