:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;color-scheme:light;--bg-base: #ffffff;--bg-elevated: #f0f2f5;--bg-surface: rgba(0, 0, 0, .05);--bg-surface-hover: rgba(0, 0, 0, .08);--text-primary: #111b21;--text-secondary: #54656f;--border-subtle: rgba(0, 0, 0, .08);--accent-color: #111b21;--accent-text: #ffffff;--danger: #d91e1e;--success: #00a884}*{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;overflow:hidden}body{min-height:100vh;min-height:100dvh;background-color:var(--bg-base);color:var(--text-primary);line-height:1.5;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-tap-highlight-color:transparent;-webkit-text-size-adjust:100%}button,input,textarea,select{font:inherit;outline:none;-webkit-appearance:none}@keyframes fadeIn{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}@keyframes pulseBorder{0%{box-shadow:0 0 #0000001a}70%{box-shadow:0 0 0 8px #0000}to{box-shadow:0 0 #0000}}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(.95);opacity:1}50%{transform:scale(1.2);opacity:.8}to{transform:scale(.95);opacity:1}}@keyframes pulse-ring{0%{box-shadow:0 0 #ff4757b3}70%{box-shadow:0 0 0 20px #ff475700}to{box-shadow:0 0 #ff475700}}@keyframes modal-pop{0%{opacity:0;transform:scale(.9) translateY(20px)}to{opacity:1;transform:scale(1) translateY(0)}}button{cursor:pointer;border:none;border-radius:8px;background:var(--accent-color);color:var(--accent-text);padding:.65rem 1.1rem;font-weight:600;font-size:.875rem;letter-spacing:-.01em;transition:background .15s ease,transform .1s ease;min-height:44px}button:hover{opacity:.9}button:active{transform:scale(.97)}button.ghost{background:var(--bg-surface);color:var(--text-primary)}button.ghost:hover{background:var(--bg-surface-hover)}input,textarea,select{width:100%;border:1px solid var(--border-subtle);border-radius:8px;padding:.7rem .85rem;background:var(--bg-base);color:var(--text-primary);font-size:.9rem;transition:border-color .15s ease,box-shadow .15s ease;min-height:44px}input:focus,textarea:focus,select:focus{border-color:#0000004d;box-shadow:0 0 0 3px #0000000a}textarea{min-height:60px;max-height:120px;resize:none}.auth-shell,.app-shell{min-height:100vh;min-height:100dvh}.auth-shell{display:grid;place-items:center;padding:1.5rem;background:radial-gradient(circle at 50% 0%,#f9fafb,#e5e7eb)}.auth-card{width:min(940px,100%);display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;padding:2.5rem;border-radius:20px;background:#fff;border:1px solid var(--border-subtle);box-shadow:0 16px 48px #00000012;animation:fadeIn .6s cubic-bezier(.16,1,.3,1) forwards}.brand-block{display:flex;flex-direction:column;justify-content:center}.brand-block h1{margin:0 0 .75rem;font-size:clamp(2rem,4.5vw,3.5rem);font-weight:800;letter-spacing:-.04em;line-height:1.1;background:linear-gradient(to right,#111b21,#4b5563);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.chat-header h1{margin:0;font-size:1.1rem;font-weight:600;letter-spacing:-.02em;line-height:1.3}.brand-block p{max-width:28rem;color:var(--text-secondary);font-size:1rem;line-height:1.6}.auth-form,.stack-form{display:flex;flex-direction:column;gap:1rem}.auth-form label,.stack-form label{display:flex;flex-direction:column;gap:.35rem;font-size:.8rem;font-weight:500;color:var(--text-secondary)}.mode-switch{display:grid;grid-template-columns:1fr 1fr;padding:.2rem;background:var(--bg-surface);border-radius:10px;margin-bottom:.75rem}.mode-switch button{background:transparent;color:var(--text-secondary);border-radius:7px;padding:.55rem;font-size:.82rem;min-height:40px}.mode-switch button.active{background:#fff;color:var(--text-primary);box-shadow:0 1px 4px #00000014}.eyebrow{margin:0 0 .25rem;text-transform:uppercase;letter-spacing:.08em;font-size:.65rem;font-weight:600;color:var(--text-secondary)}.role-pill{display:inline-flex;margin-top:.25rem;border-radius:999px;padding:.15rem .5rem;font-size:.68rem;font-weight:600;background:var(--bg-surface);border:1px solid var(--border-subtle);color:var(--text-secondary)}.app-shell{display:grid;grid-template-columns:320px 1fr;height:100vh;height:100dvh;overflow:hidden}.sidebar{border-right:1px solid var(--border-subtle);background:var(--bg-elevated);display:flex;flex-direction:column;overflow:hidden;min-height:0}.sidebar-header{padding:1rem;border-bottom:1px solid var(--border-subtle);display:flex;flex-direction:column;gap:.6rem;flex-shrink:0}.sidebar-tabs{display:flex;background:transparent;margin:0;padding:0;border-bottom:1px solid var(--border-subtle);flex-shrink:0}.tab-button{flex:1;background:transparent;color:var(--text-secondary);padding:.7rem 0;font-size:.8rem;font-weight:500;border-radius:0;transition:color .15s ease;position:relative;min-height:44px}.tab-button:hover{background:transparent;color:var(--text-primary)}.tab-button:active{transform:none}.tab-button.active{background:transparent;color:var(--text-primary);font-weight:600}.tab-button.active:after{content:"";position:absolute;bottom:-1px;left:20%;width:60%;height:2px;background:var(--accent-color);border-radius:2px}.scroll-panel{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;-webkit-overflow-scrolling:touch;padding:0;border:none;background:transparent}.scroll-panel h3{padding:.75rem 1rem .5rem;font-size:.8rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em}.scroll-panel::-webkit-scrollbar{width:3px}.scroll-panel::-webkit-scrollbar-thumb{background:var(--bg-surface-hover);border-radius:4px}.chat-panel{display:flex;flex-direction:column;height:100%;overflow:hidden;background:var(--bg-base);position:relative}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 1rem;border-bottom:1px solid var(--border-subtle);flex-shrink:0;min-height:56px}.header-actions{display:flex;justify-content:space-between;align-items:center;gap:.5rem}.composer-actions,.message-meta,.inline-actions{display:flex;align-items:center;justify-content:space-between;gap:.5rem}.profile-block{display:flex;align-items:center;gap:.6rem}.profile-block h2{font-size:.95rem;line-height:1.2;margin:0}.panel,.room-admin{background:transparent;border:none;border-radius:0;padding:0}.panel-header{padding:0 1rem}.panel h3,.room-admin h3{padding:0 1rem;margin-bottom:.5rem;font-size:.8rem;font-weight:600;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.05em}.stack-form{padding:0 1rem .75rem}.thread-list,.user-list,.member-grid{display:flex;flex-direction:column;gap:0}.thread-row,.user-row{width:100%;text-align:left;background:transparent;color:var(--text-secondary);display:flex;align-items:center;justify-content:flex-start;gap:.75rem;border-radius:0;padding:.75rem 1rem;min-height:60px;transition:background .1s ease;border-bottom:1px solid rgba(0,0,0,.03)}.avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#e2e8f0,#cbd5e1);color:var(--text-primary);display:grid;place-items:center;font-size:1rem;font-weight:600;flex-shrink:0}.thread-info{display:flex;flex-direction:column;flex:1;overflow:hidden;gap:.1rem}.thread-info strong{color:var(--text-primary);font-size:.9rem;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-info small{font-size:.75rem;color:var(--text-secondary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.thread-row:hover,.user-row:hover{background:var(--bg-surface);color:var(--text-primary)}.thread-row:active,.user-row:active{background:var(--bg-surface-hover)}.thread-row.selected{background:var(--bg-surface-hover);color:var(--text-primary);border-left:3px solid var(--accent-color)}.message-stream{flex:1;min-height:0;overflow-y:auto;-webkit-overflow-scrolling:touch;display:flex;flex-direction:column;gap:.5rem;padding:1rem}.message-stream::-webkit-scrollbar{width:4px}.message-stream::-webkit-scrollbar-track{background:transparent}.message-stream::-webkit-scrollbar-thumb{background:var(--bg-surface-hover);border-radius:10px}.message-card{max-width:min(85%,520px);padding:.65rem .85rem;border-radius:12px 12px 12px 4px;background:#f0f2f5;border:none;animation:fadeIn .25s ease forwards;word-wrap:break-word;overflow-wrap:break-word}.message-card p{font-size:.9rem;line-height:1.45;margin:0}.message-card.outgoing{margin-left:auto;border-radius:12px 12px 4px;background:var(--accent-color);color:#fff}.message-meta{font-size:.68rem;opacity:.6;margin-bottom:.25rem;gap:.5rem}.message-meta strong{font-weight:600}.attachment-list,.pending-files{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:.4rem}.attachment-chip,.upload-button{display:inline-flex;align-items:center;justify-content:center;background:var(--bg-surface);color:var(--text-primary);padding:.4rem .65rem;border-radius:6px;font-size:.75rem;border:1px solid var(--border-subtle);transition:background .15s ease;min-height:36px}.attachment-chip:hover,.upload-button:hover{background:var(--bg-surface-hover)}.message-card.outgoing .attachment-chip{background:#ffffff26;color:var(--accent-text);border-color:#fff3}.upload-button{position:relative;overflow:hidden;cursor:pointer}.upload-button input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.composer{display:flex;flex-direction:column;gap:.5rem;padding:.75rem 1rem;border-top:1px solid var(--border-subtle);flex-shrink:0;background:var(--bg-base)}.composer textarea{min-height:44px;max-height:100px;resize:none;font-size:.9rem;padding:.6rem .75rem;line-height:1.4}.composer-actions{display:flex;align-items:center;gap:.5rem}.composer-actions button{white-space:nowrap;flex-shrink:0}.incoming-call-modal{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);background:var(--bg-base);padding:2rem;border-radius:1rem;box-shadow:0 0 50px #0000004d;z-index:2000;text-align:center;border:3px solid #ff4757;animation:pulse-ring 1.5s infinite;max-width:90vw}.incoming-call-modal h3{font-size:1.3rem;margin-bottom:1.25rem;color:#ff4757}.incoming-call-actions{display:flex;gap:.75rem;justify-content:center}.btn-accept{background:#2ed573;color:#fff;padding:.65rem 1.5rem;border-radius:8px;font-weight:600;min-height:44px}.btn-reject{background:#ff4757;color:#fff;padding:.65rem 1.5rem;border-radius:8px;font-weight:600;min-height:44px}.room-admin-panel{background:var(--bg-elevated);border-bottom:1px solid var(--border-subtle);padding:1rem;display:flex;flex-direction:column;gap:1rem;animation:slideDown .2s ease-out;flex-shrink:0}.room-admin-panel .panel-header h3{margin:0 0 .3rem;padding:0;color:var(--text-primary);font-size:.9rem;text-transform:none}.room-admin-panel .panel-header p{margin:0;font-size:.8rem;color:var(--text-secondary)}.member-selection-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:.5rem;max-height:180px;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:.4rem;background:var(--bg-base);border-radius:8px}.checkbox-pill{display:flex;align-items:center;gap:.5rem;padding:.4rem .6rem;background:var(--bg-base);border:1px solid var(--border-subtle);border-radius:2rem;cursor:pointer;transition:border-color .15s ease;font-size:.8rem;min-height:36px}.checkbox-pill:hover{border-color:var(--accent-color)}.checkbox-pill input{margin:0;width:auto;min-height:auto;accent-color:var(--accent-color)}.panel-actions{display:flex;gap:.75rem}.btn-primary{background:var(--accent-color);color:#fff;border:none;padding:.6rem 1.2rem;border-radius:8px;font-weight:600;font-size:.82rem;min-height:44px}.btn-primary:hover{opacity:.9}.active-call-controls{display:flex;align-items:center;gap:.75rem;background:#ff475714;padding:.35rem .75rem;border-radius:2rem}.call-timer{font-family:SF Mono,JetBrains Mono,monospace;font-weight:600;color:#ff4757;font-size:.95rem}.message-call-log{display:flex;align-items:center;justify-content:center;gap:.5rem;padding:.5rem .75rem;background:var(--bg-surface);border-radius:10px;align-self:center;max-width:80%}.message-call-log .icon{font-size:1rem}.message-call-log p{margin:0;font-size:.82rem;color:var(--text-secondary);font-weight:500}.toggle-setting{display:flex;align-items:center;gap:.4rem;font-size:.75rem;color:var(--text-secondary);cursor:pointer;background:var(--bg-surface);padding:.25rem .5rem;border-radius:1rem;border:1px solid var(--border-subtle)}.toggle-setting input{margin:0;width:auto;min-height:auto;cursor:pointer}.toggle-label{white-space:nowrap}.room-admin{margin-bottom:1rem}.checkbox-row{display:flex;gap:.5rem;align-items:center;padding:.5rem .75rem;background:var(--bg-surface);border-radius:8px;border:1px solid transparent;transition:border-color .15s ease;min-height:40px;font-size:.85rem}.checkbox-row:hover{border-color:var(--border-subtle)}.checkbox-row input{width:auto;min-height:auto;accent-color:var(--accent-color)}.call-banner{background:var(--danger);color:#fff;padding:.75rem 1rem;display:flex;align-items:center;gap:.75rem;border-radius:10px;margin:.75rem;animation:slideDown .3s ease-out;flex-shrink:0}.call-banner .pulse-dot{width:10px;height:10px;background-color:#fff;border-radius:50%;flex-shrink:0;animation:pulse 1.5s infinite}.call-banner .call-info{flex:1;min-width:0}.call-banner .call-info strong{display:block;font-size:.9rem}.call-banner .call-info p{margin:0;font-size:.8rem;opacity:.9;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.call-banner .call-actions{display:flex;gap:.5rem;flex-shrink:0}.call-banner .btn-accept{background:#fff;color:var(--danger);padding:.45rem .85rem;font-size:.8rem;min-height:38px}.call-banner .btn-accept:hover{background:#ffffffe6}.call-banner .btn-reject{background:#0003;color:#fff;padding:.45rem .85rem;font-size:.8rem;min-height:38px}.call-banner .btn-reject:hover{background:#0000004d}.error-text,.floating-error{color:var(--danger);font-size:.82rem;font-weight:500;margin:.35rem 1rem}.empty-state{flex:1;display:grid;place-items:center;color:var(--text-secondary);text-align:center;font-size:1rem;padding:2rem}.empty-state h3{font-size:1.1rem;margin-bottom:.35rem}.empty-state p{font-size:.85rem;color:var(--text-secondary)}.typing-note{font-size:.78rem;color:var(--text-secondary);font-style:italic;min-height:1.2rem}.unread-dot{width:9px;height:9px;background-color:var(--success);border-radius:50%;margin-left:auto;flex-shrink:0}.recovery-overlay{position:absolute;top:0;right:0;bottom:0;left:0;background:#000000bf;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:1.5rem}.recovery-card{background:var(--bg-base);padding:2rem;border-radius:1.25rem;max-width:420px;width:100%;text-align:center;box-shadow:0 16px 40px #00000040;border:1px solid var(--border-subtle);animation:modal-pop .35s cubic-bezier(.175,.885,.32,1.275)}.recovery-card h3{margin:0 0 .75rem;font-size:1.25rem;color:var(--text-primary)}.recovery-card p{line-height:1.5;margin-bottom:1.5rem;color:var(--text-secondary);font-size:.9rem}.recovery-card .hint{font-size:.78rem;margin-top:1.25rem;opacity:.6}.key-info{display:inline-block;background:var(--bg-surface);padding:.12rem .45rem;border-radius:2rem;font-size:.65rem;margin-top:.15rem;color:var(--text-secondary);border:1px solid var(--border-subtle)}.header-status{font-size:.75rem;margin:.2rem 0 0;color:var(--success);font-weight:500;min-height:1rem}.warning-banner{background:#ffa5001a;border-bottom:1px solid rgba(255,165,0,.2);padding:.6rem 1rem;display:flex;align-items:center;justify-content:space-between;gap:.75rem;color:#b45309;font-size:.82rem;flex-shrink:0;flex-wrap:wrap}.warning-banner p{margin:0;flex:1;min-width:0}.btn-repair{background:#f59e0b;color:#fff;padding:.35rem .85rem;font-size:.78rem;font-weight:600;white-space:nowrap;flex-shrink:0;min-height:36px}.btn-repair:hover{background:#d97706}.warning-banner.danger{background:#d91e1e14;border-bottom:1px solid rgba(217,30,30,.15);color:#b91c1c}.btn-reset{background:#dc2626;color:#fff;padding:.35rem .85rem;font-size:.78rem;font-weight:600;white-space:nowrap;flex-shrink:0;min-height:36px}.btn-reset:hover{background:#b91c1c}.change-pw-block{padding:0 1rem .4rem;border-bottom:1px solid var(--border-subtle);flex-shrink:0}.change-pw-toggle{width:100%;text-align:left;font-size:.78rem;padding:.4rem 0;color:var(--text-secondary);background:transparent;min-height:36px}.change-pw-toggle:hover{color:var(--text-primary)}.change-pw-form{padding:.4rem 0 0!important;gap:.6rem!important;animation:fadeIn .2s ease forwards}.change-pw-form input{font-size:.82rem;padding:.55rem .7rem}.change-pw-form button{font-size:.82rem;padding:.55rem .85rem}.success-text{color:var(--success);font-size:.82rem;font-weight:500;margin-top:.2rem}.admin-scroll-container{flex:1;min-height:0;overflow-y:auto;padding:.75rem;display:flex;flex-direction:column;gap:.75rem;-webkit-overflow-scrolling:touch}.admin-scroll-container::-webkit-scrollbar{width:4px}.admin-scroll-container::-webkit-scrollbar-thumb{background:var(--bg-surface-hover);border-radius:4px}.admin-card{background:var(--bg-surface);border:1px solid var(--border-subtle);border-radius:12px;padding:1rem;animation:fadeIn .3s ease forwards}.admin-card h3{padding:0;margin:0 0 .75rem;font-size:.9rem;font-weight:600;color:var(--text-primary)}.admin-card .stack-form{padding:0}.admin-card .member-grid{max-height:200px;overflow-y:auto;border:1px solid var(--border-subtle);border-radius:8px;padding:.5rem;margin-bottom:.75rem}.admin-card .member-grid::-webkit-scrollbar{width:3px}.admin-card .member-grid::-webkit-scrollbar-thumb{background:var(--bg-surface-hover);border-radius:3px}.admin-card .checkbox-row{padding:.4rem .5rem;border-radius:6px;font-size:.85rem;transition:background .15s ease}.admin-card .checkbox-row:hover{background:var(--bg-surface-hover)}.member-count-label{font-size:.8rem;color:var(--text-secondary);margin:.25rem 0 .5rem}.member-picker{max-height:220px;overflow-y:auto;border:1px solid var(--border-subtle);border-radius:8px;padding:.4rem;margin-bottom:.75rem;display:flex;flex-direction:column;gap:2px}.member-picker::-webkit-scrollbar{width:3px}.member-picker::-webkit-scrollbar-thumb{background:var(--bg-surface-hover);border-radius:3px}.member-chip{display:flex;align-items:center;gap:.6rem;padding:.5rem .6rem;border-radius:8px;background:transparent;color:var(--text-secondary);font-size:.85rem;font-weight:400;transition:all .15s ease;border:1px solid transparent;text-align:left;width:100%;box-shadow:none}.member-chip:hover{background:var(--bg-surface-hover);box-shadow:none;transform:none}.member-chip.selected{background:#25d36614;border-color:#25d3664d;color:var(--text-primary);box-shadow:none}.member-chip .avatar.small{width:30px;height:30px;font-size:.7rem;flex-shrink:0}.chip-check{margin-left:auto;color:var(--success);font-weight:700;font-size:.9rem}.admin-list{max-height:250px;overflow-y:auto;display:flex;flex-direction:column;gap:2px}.admin-list::-webkit-scrollbar{width:3px}.admin-list::-webkit-scrollbar-thumb{background:var(--bg-surface-hover);border-radius:3px}.admin-list-item{display:flex;align-items:center;gap:.6rem;padding:.5rem .4rem;border-radius:8px;transition:background .15s ease}.admin-list-item:hover{background:var(--bg-surface-hover)}.admin-list-info{flex:1;min-width:0;display:flex;flex-direction:column}.admin-list-info strong{font-size:.85rem;color:var(--text-primary);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-list-info small{font-size:.72rem;color:var(--text-secondary)}.btn-delete-small{width:28px;height:28px;padding:0;display:flex;align-items:center;justify-content:center;background:transparent;color:var(--text-secondary);border:1px solid transparent;border-radius:6px;font-size:.8rem;flex-shrink:0;transition:all .15s ease;box-shadow:none}.btn-delete-small:hover{background:#d91e1e1a;color:var(--danger);border-color:#d91e1e4d;box-shadow:none;transform:none}.empty-hint{font-size:.8rem;color:var(--text-secondary);padding:.75rem .5rem;text-align:center}.danger-zone{margin:0;border-color:#d91e1e4d;background:#d91e1e0a}.danger-zone h3{padding:0!important;margin-bottom:.4rem!important;color:var(--danger);font-size:.78rem;text-transform:uppercase;letter-spacing:.06em}.danger-desc{font-size:.78rem;color:var(--text-secondary);margin-bottom:.75rem;line-height:1.5}.danger-desc strong{color:var(--danger)}.btn-nuke{width:100%;background:linear-gradient(135deg,#b91c1c,#dc2626);color:#fff;border-radius:8px;padding:.6rem .85rem;font-weight:700;font-size:.82rem;letter-spacing:.01em;transition:all .15s ease;box-shadow:0 2px 6px #b91c1c33}.btn-nuke:hover{background:linear-gradient(135deg,#991b1b,#b91c1c);box-shadow:0 3px 10px #b91c1c59}.nuke-confirm{display:flex;flex-direction:column;gap:.6rem;animation:fadeIn .2s ease forwards}.nuke-confirm p{font-size:.78rem;color:var(--danger);font-weight:600}.floating-action-btn{position:absolute;bottom:1.5rem;right:1.5rem;width:48px;height:48px;border-radius:50%;background:var(--accent-color);color:var(--accent-text);display:flex;align-items:center;justify-content:center;font-size:1.25rem;box-shadow:0 3px 10px #00000026;z-index:100;min-height:48px}.floating-action-btn:hover{box-shadow:0 4px 14px #00000040}.mobile-back-btn{display:none;background:transparent;color:var(--text-primary);font-size:1.25rem;padding:.35rem;margin-right:.25rem;min-height:40px;min-width:40px;justify-content:center;border-radius:50%}.mobile-back-btn:hover{background:var(--bg-surface-hover)}@media(max-width:768px){.app-shell{grid-template-columns:1fr}.app-shell.chat-active .sidebar{display:none}.app-shell:not(.chat-active) .chat-panel{display:none}.sidebar{height:100%;height:100dvh;border-right:none}.chat-panel{height:100%;height:100dvh}.mobile-back-btn{display:inline-flex;align-items:center}.auth-card{grid-template-columns:1fr;gap:1.5rem;padding:1.5rem;border-radius:16px}.brand-block h1{font-size:2rem}.brand-block p{font-size:.9rem}.chat-header{padding:.6rem .75rem;gap:.5rem;flex-wrap:wrap}.chat-header h1{font-size:1rem}.call-actions button{font-size:.78rem;padding:.45rem .75rem}.message-card{max-width:90%;padding:.55rem .75rem;border-radius:10px 10px 10px 3px}.message-card.outgoing{border-radius:10px 10px 3px}.message-stream{padding:.75rem;gap:.35rem}.composer{padding:.5rem .75rem;gap:.4rem}.composer textarea{min-height:40px;max-height:80px;font-size:.85rem;padding:.5rem .65rem}.warning-banner{flex-direction:column;align-items:flex-start;gap:.5rem;font-size:.78rem;padding:.5rem .75rem}.warning-banner button{align-self:flex-end}.call-banner{margin:.5rem;padding:.6rem .75rem;gap:.5rem;flex-wrap:wrap}.call-banner .call-info strong{font-size:.82rem}.call-banner .call-info p{font-size:.75rem}.recovery-card{padding:1.5rem}.recovery-card h3{font-size:1.1rem}.recovery-card p{font-size:.82rem}.room-admin-panel{padding:.75rem}.member-selection-grid{grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:.4rem;max-height:150px}.sidebar-header{padding:.75rem}.profile-block h2{font-size:.88rem}.active-call-controls{gap:.5rem;padding:.3rem .6rem}.call-timer{font-size:.85rem}.key-info{font-size:.6rem}.header-status{font-size:.7rem}.incoming-call-modal{padding:1.5rem;width:90vw}}@media(max-width:380px){.auth-card{padding:1.25rem}.brand-block h1{font-size:1.75rem}button{font-size:.82rem;padding:.55rem .85rem}.tab-button{font-size:.75rem}}
