.room-head .room-home{flex-shrink:0}.room-head .brand-mark{display:none}.room-head .room-title{min-width:0;flex:1}.room-head .room-leave{margin-right:auto;flex-shrink:0;color:#9d5260}.room-head .room-leave[hidden]{display:none}.room-head .head-members{margin-left:12px}.leave-roster{border:0;padding:0;margin:18px 0}.leave-roster legend{font-size:calc(13px * var(--pg-ts,1));font-weight:600;margin-bottom:10px}.leave-roster label{display:flex;align-items:center;gap:10px;padding:13px 10px;border:1px solid #dce4ef;border-radius:10px;margin-bottom:8px;background:#fff;min-height:56px}.leave-roster input{accent-color:#3655df;width:18px;height:18px}.leave-roster span{font-size:calc(14px * var(--pg-ts,1))}.leave-roster small{display:block;color:#637087;font-size:calc(11px * var(--pg-ts,1));margin-top:4px}.room-departure-note{font-size:calc(13px * var(--pg-ts,1))!important}.leave-confirm{background:#a44655!important}.room-departure-error{color:#a44655;font-size:calc(13px * var(--pg-ts,1))}#room-archive-banner{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#e9eff9;border-bottom:1px solid #d6e0ef;padding:12px 18px;min-height:72px}#room-archive-banner>span{display:flex;align-items:center;gap:9px}#room-archive-banner strong{display:block;font-size:calc(13px * var(--pg-ts,1))}#room-archive-banner small{display:block;color:#5d6d86;font-size:calc(11px * var(--pg-ts,1));margin-top:5px}#room-archive-banner button{white-space:nowrap;min-height:44px;font-size:calc(12px * var(--pg-ts,1))}.room-readonly .room-body{height:calc(100% - 140px)}.room-readonly .chat-composer,.room-readonly .optional-goal,.room-readonly .goal-meta,.room-readonly [data-action=add],.room-readonly [data-action=template],.room-readonly [data-action=share-work],.room-readonly [data-action=pin-message],.room-readonly [data-action=reattach-pin],.room-readonly [data-action=unpin],.room-readonly [data-action=reset],.room-readonly #study-scenario,.room-readonly [data-action=checkpoints],.room-readonly [data-action=restore],.room-readonly .review-action-bar,.room-readonly .comment-form,.room-readonly .preview-tools,.room-readonly .preview-bottom button,.room-readonly .preview-idle button,.room-readonly [data-action=preview-examples],.room-readonly .free-board-empty button{display:none!important}.room-readonly [data-action=goal]{pointer-events:none}.room-readonly #room-body[hidden]{display:none}.room-readonly .mobile-nav[hidden]{display:none}
@media(max-width:760px){.room-head{padding-left:10px;padding-right:10px;gap:5px}.room-head .room-home,.room-head .room-leave,.room-head>.icon-btn{width:44px;height:44px}.room-head .room-title h1{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:calc(16px * var(--pg-ts,1))}.room-head .room-title>span{font-size:calc(10px * var(--pg-ts,1))}.room-head .head-divider{display:none}.room-head .head-members{display:none}.room-readonly .room-body{height:calc(100% - 199px - env(safe-area-inset-bottom))}.room-readonly .mobile-nav{grid-template-columns:repeat(3,1fr)}#room-archive-banner{padding:10px 13px}.leave-roster label{min-height:60px}.leave-roster small{font-size:calc(12px * var(--pg-ts,1))}}
@media (max-width:700px),(hover:none) and (pointer:coarse) and (max-height:500px){html body .party-room .phone-screen-bar .room-leave-access{display:grid!important;width:44px!important;height:44px!important;color:#a44655!important;flex:0 0 44px!important}}
.study-party .person>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;image-rendering:pixelated}
@media(max-width:760px){.mobile-nav button{width:auto;min-width:0;flex:1;gap:3px}.mobile-nav button::after{content:attr(aria-label);font-size:calc(10px * var(--pg-ts,1));line-height:1.2;white-space:nowrap}}

html body .study-party .owner-avatar-card>.owner-avatar-face{padding:0!important}

.room-head .room-invite{flex-shrink:0}.room-head .room-invite[hidden]{display:none}
.invite-demo-note{font-size:calc(12px * var(--pg-ts,1));line-height:1.6;color:#65738b}.invite-permission{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 0;border-bottom:1px solid #dbe3ef;font-size:calc(14px * var(--pg-ts,1))}.invite-permission input{width:20px;height:20px;accent-color:#435cdc}
.invite-search-label{display:grid;gap:8px;margin:18px 0 8px;font-size:calc(13px * var(--pg-ts,1))}.invite-search-label input{width:100%;min-height:44px;padding:10px 12px;border:1px solid #ccd6e5;border-radius:10px;background:#fff;color:#253249;font-size:calc(16px * var(--pg-ts,1))}
.study-invite-list>div{display:flex;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #dbe3ef}.study-invite-list>div[hidden]{display:none}.study-invite-list img{width:36px;height:36px;object-fit:contain;image-rendering:pixelated}.study-invite-list strong{font-size:calc(14px * var(--pg-ts,1));flex:1}.study-invite-list button{min-height:44px}#invite-feedback,.invite-denied{font-size:calc(13px * var(--pg-ts,1));line-height:1.6}
@media (max-width:700px),(hover:none) and (pointer:coarse) and (max-height:500px){html body .party-room .phone-screen-bar .room-invite-access{display:grid!important;place-items:center;width:44px!important;height:44px!important;flex:0 0 44px!important;padding:10px!important}html body .party-room .phone-screen-bar .room-invite-access svg{width:22px;height:22px}html body .party-room .phone-screen-bar .room-invite-access[aria-disabled=true]{opacity:.55}}
/* Neutral cards share one layout in the main rail and the full directory. */
html body .party.default-neutral>.party-art{display:none!important}
html body .party.default-neutral>.privacy-label{color:#647187!important;text-shadow:none!important}
html body.dark .party.default-neutral>.privacy-label{color:#b8c5d7!important}

.avatar .agent-mini{display:grid;place-items:center;width:19px;height:14px;border:1px solid #f6f8fc;border-radius:3px;background:#dfe7f3;color:#3c5278;line-height:1}
.avatar .agent-mini svg{width:14px;height:12px}.pin-foot .agent-mini{width:16px;height:12px}.pin-foot .agent-mini svg{width:12px;height:10px}
