:root{font-family:-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC",sans-serif;color:#343439;background:#fff;font-size:16px;font-synthesis:none;--red:#d83323;--border:#e8e8eb;--quiet:#7a7a83;--tom:#edf4f0;--ivan:#f0eff9;--johnny:#fbeeee}*{box-sizing:border-box}body{margin:0}button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:2px solid var(--red);outline-offset:4px}input,textarea{outline:none}input:focus,textarea:focus{border-color:#ce928b}a{color:inherit}img{max-width:100%}[hidden]{display:none!important}.symbols{position:absolute;width:0;height:0;overflow:hidden}.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.icon-button{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:9px;color:#83838b}.icon-button:hover{background:#f3f3f5;color:#3c3c43}.primary{background:var(--red);border:1px solid var(--red);color:white;border-radius:9px;padding:11px 21px;font-size:14px}.primary:hover{background:#bd2c1f}.quiet{border:1px solid #e0e0e4;background:#fff;border-radius:9px;padding:11px 20px;font-size:14px}.brand{display:flex;align-items:center;gap:11px;text-decoration:none;white-space:nowrap}.brand svg{width:29px;height:36px;flex-shrink:0}.brand span{font:400 20px Georgia,"Times New Roman",serif;letter-spacing:-.6px}.app{display:grid;grid-template-columns:238px minmax(0,1fr);height:100dvh;overflow:hidden}.sidebar{background:#f7f7f8;border-right:1px solid var(--border);padding:30px 20px 15px;display:flex;flex-direction:column;min-height:0}.workspace-label{font-size:12px;color:#8b8b93;margin:5px 0 33px 40px}.new-chat{display:flex;align-items:center;gap:11px;padding:13px 15px;border:1px solid #dddde2;background:white;border-radius:11px;font-size:14px;text-align:left;box-shadow:0 2px 3px #00000002}.new-chat:hover{border-color:#dda8a1}.new-chat .icon{color:var(--red);width:17px}.history-label{font-size:12px;color:#94949b;padding:30px 10px 12px}.history-empty{font-size:13px;line-height:1.9;color:#a1a1a7;padding:0 10px}.sidebar nav{overflow:auto;flex:1;min-height:30px}.history-entry{display:flex;align-items:center;margin-bottom:4px;border-radius:9px;padding-right:4px}.history-entry.selected{background:#ececef}.history-entry>button:first-child{flex:1;min-width:0;text-align:left;font-size:14px;padding:12px 10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.history-entry>button:last-child{width:28px;height:30px;flex-shrink:0;color:#9a9aa2}.history-entry:hover{background:#efeff1}.history-options{display:flex;gap:6px;padding:3px 7px 9px}.history-options button{font-size:12px;background:white;border:1px solid var(--border);padding:7px 10px;border-radius:7px}.sidebar-bottom{padding-top:18px}.sidebar-bottom>button{display:flex;align-items:center;gap:12px;width:100%;padding:11px 10px;border-radius:9px;font-size:14px;color:#707078}.sidebar-bottom>button:hover{background:#eeeeF1;color:#41414b}.count{font-size:12px;margin-left:auto;color:#9999a1}.owner{display:flex;align-items:center;gap:11px;border-top:1px solid #e6e6e9;margin:19px 2px 0;padding:19px 3px 0}.owner img{width:39px;height:39px;border-radius:50%;object-fit:cover}.owner strong,.owner small{display:block}.owner strong{font-size:14px;font-weight:550}.owner small{font-size:12px;color:#9a9296;margin-top:3px}.owner button{margin-left:auto;color:#aaa;font-size:19px;width:30px;height:35px}main{min-width:0;position:relative;display:flex;flex-direction:column;min-height:0}.topbar{height:85px;flex-shrink:0;display:flex;align-items:center;gap:15px;justify-content:space-between;padding:0 42px;border-bottom:1px solid #f0f0f2}.room-heading{min-width:0}.room-heading h1{margin:0;font-size:15px;font-weight:550;max-width:48vw;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.room-heading>span{display:block;font-size:12px;color:#9999a1;margin-top:7px}.top-actions{display:flex;align-items:center;gap:22px}.team-peek{display:flex;align-items:center;gap:9px;font-size:12px;color:#84848b}.avatar-stack{display:flex;padding-left:8px}.avatar-stack img{width:30px;height:30px;border-radius:50%;margin-left:-8px;border:2px solid white;object-fit:cover}.conversation{flex:1;overflow:auto;padding:34px max(30px,calc((100% - 820px)/2));scroll-behavior:smooth}.welcome{min-height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:25px 0 55px;text-align:center}.welcome-faces{display:flex;gap:28px;margin-bottom:35px;align-items:flex-start}.welcome-person{padding:0;transition:transform .15s ease}.welcome-person:hover{transform:translateY(-4px)}.welcome-person img{display:block;width:116px;height:116px;border-radius:50%;object-fit:cover}.welcome-person>span{display:block;font-size:15px;font-weight:550;margin-top:11px}.welcome-person small{font-size:12px;font-weight:400;color:#9a9aa2;margin-left:4px}.welcome h2{font-size:31px;font-weight:450;letter-spacing:-1px;margin:0 0 15px;line-height:1.4}.welcome>p{font-size:15px;color:#96969e;line-height:1.8;margin:0}.starters{display:flex;gap:10px;margin-top:31px;flex-wrap:wrap;justify-content:center}.starters button{font-size:13px;padding:10px 14px;border:1px solid #e8e8ec;border-radius:8px;color:#85858d;background:white}.starters button:hover{color:#ae4438;border-color:#dfbfb9}.composer-wrap{flex-shrink:0;padding:15px max(30px,calc((100% - 820px)/2)) 20px;background:#fff}.composer{border:1px solid #dcdce2;border-radius:18px;background:#fff;padding:16px 17px 12px;box-shadow:0 6px 24px #20203004}.composer:focus-within{border-color:#bfc0c7;box-shadow:0 6px 24px #20203007}.composer textarea{display:block;border:0;background:none;resize:none;width:100%;padding:0 4px;min-height:64px;max-height:190px;line-height:1.65;font-size:16px;color:#45454e}.composer textarea::placeholder{color:#acacb4}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:13px}.composer-tools{display:flex;align-items:center;gap:9px}.recipient-picker{display:flex;gap:5px}.recipient-picker button{font-size:12px;color:#96969d;border-radius:7px;padding:8px 11px;border:1px solid transparent;white-space:nowrap}.recipient-picker button.selected[data-target=codex]{background:var(--tom);color:#557562;border-color:#d7e5dc}.recipient-picker button.selected[data-target=gemini]{background:var(--ivan);color:#7b66a1;border-color:#e1dbee}.recipient-picker button.selected[data-target=both]{background:#fceeea;color:#b65543;border-color:#f0d2c9}.send-button{width:39px;height:37px;border-radius:10px;display:grid;place-items:center;background:var(--red);color:white;flex-shrink:0}.send-button .icon{width:18px;height:18px}.send-button:hover{background:#bb2e21}.stop-button{display:flex;gap:7px;align-items:center;font-size:13px;background:#f4f4f6;border-radius:8px;padding:10px}.stop-button span{width:9px;height:9px;border-radius:1px;background:#7d7d85}.composer-caption{display:flex;justify-content:space-between;font-size:11px;color:#a2a2aa;margin:10px 10px 0;gap:10px}.message{border:1px solid var(--person-border);background:var(--person-bg);border-radius:13px;margin:0 0 20px;padding:18px 22px;overflow-wrap:anywhere}.message.codex,.person-card.codex,.memory-tabs .codex{--person-bg:var(--tom);--person-border:#deE8e1;--person-ink:#567363}.message.gemini,.person-card.gemini,.memory-tabs .gemini{--person-bg:var(--ivan);--person-border:#e4e0ee;--person-ink:#7e689f}.message.user,.person-card.user{--person-bg:var(--johnny);--person-border:#f0dfe1;--person-ink:#a1626b}.message-header{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:13px;color:var(--person-ink);margin-bottom:12px}.message-header img{width:33px;height:33px;border-radius:50%;object-fit:cover}.message-header strong{font-size:14px;font-weight:550}.message-header small{color:#939099;font-size:11px}.message-header time{font-size:11px;color:#a5a1a9}.message-actions{margin-left:auto;display:flex;gap:12px}.message-actions button{font-size:11px;color:#9e959e;padding:7px 0}.message-body{font-size:16px;line-height:1.9;color:#414147}.message-body>:first-child{margin-top:0}.message-body>:last-child{margin-bottom:0}.message-body p{margin:12px 0}.message-body pre{background:#ffffffa0;padding:15px;border-radius:8px;overflow:auto;font-size:13px}.message-body code{font-size:.88em}.message-body table{width:100%;border-collapse:collapse;font-size:14px;display:block;overflow:auto}.message-body td,.message-body th{padding:8px;border-bottom:1px solid #d9d9df}.message-body img{display:block;max-height:420px;border-radius:8px}.file-link{display:inline-block;font-size:13px;padding:7px 12px;margin:6px 5px 0 0;background:#ffffffa0;border-radius:7px;text-decoration:none;border:1px solid #ddd8}.message.withdrawn{opacity:.6}.message.editing{outline:2px solid #d8a198}.edit-banner{font-size:12px;color:#9e5b51;background:#fff4f1;border-radius:8px;padding:10px;margin-bottom:12px;display:flex;gap:10px;align-items:center;justify-content:space-between}.edit-banner button{color:var(--red);white-space:nowrap}.attachments{display:flex;flex-wrap:wrap;gap:8px}.attachment{display:flex;align-items:center;gap:7px;padding:6px 9px;margin-bottom:12px;font-size:12px;border:1px solid var(--border);border-radius:8px}.attachment img{width:40px;height:35px;object-fit:cover;border-radius:4px}.attachment button{padding:3px;color:#999}.connection-warning{font-size:13px;text-align:center;background:#fff6e9;color:#9b732e;padding:9px}.run-status{font-size:13px;color:#92929b;line-height:1.8;padding:3px 4px 20px;white-space:pre-wrap}.run-status.error{color:#b16354}.run-status button{border:1px solid #ddd;padding:6px 12px;border-radius:7px;margin-top:8px}.permission{background:#fff8f0;border:1px solid #efdfca;border-radius:12px;padding:18px;margin-bottom:16px;font-size:14px}.permission pre{white-space:pre-wrap;max-height:160px;overflow:auto;font-size:12px}.permission .permission-actions{display:flex;gap:8px;margin-top:12px}.permission input{width:100%;padding:9px;border:1px solid #ddd;border-radius:6px;margin:7px 0}.permission button{font-size:12px;padding:9px 12px;border-radius:7px;background:white;border:1px solid #ddcbbb}.permission button[data-answer=allow]{background:var(--red);color:white;border-color:var(--red)}.panel,.edit-dialog{border:1px solid #e8e8ee;border-radius:20px;padding:28px 30px;color:#42424a;box-shadow:0 30px 100px #25253020;max-height:88dvh;overflow:auto;background:white}.panel{width:min(620px,calc(100vw - 32px))}.panel::backdrop,.edit-dialog::backdrop{background:#34343f39;backdrop-filter:blur(3px)}.panel>header{display:flex;justify-content:space-between;gap:12px;margin-bottom:28px}.panel h2,.edit-dialog h2{font-size:20px;font-weight:550;margin:4px 0 9px;letter-spacing:-.4px}.panel header p,.edit-dialog p{font-size:13px;color:#9a9aa2;line-height:1.7;margin:0}.person-card{border:1px solid var(--person-border);background:var(--person-bg);border-radius:14px;padding:18px 20px;margin-bottom:14px}.person-head{display:flex;align-items:center;gap:15px}.person-head img{width:57px;height:57px;object-fit:cover;border-radius:50%}.person-head h3{font-size:16px;font-weight:550;color:var(--person-ink);margin:0 0 6px}.person-head p{font-size:12px;color:#8c8790;margin:0}.person-head .provider-state{margin-left:auto;font-size:12px;color:#888}.provider-state.ready{color:#6b9273}.person-actions{display:flex;gap:8px;margin-top:12px}.person-actions button{font-size:12px;border:1px solid #ccc;background:#ffffffb0;border-radius:7px;padding:8px 11px}.profile-error{font-size:12px;color:#a26957;line-height:1.6}.memory-tabs{display:flex;gap:8px;padding:4px;margin-bottom:22px;background:#f6f6f8;border-radius:11px}.memory-tabs button{display:flex;align-items:center;justify-content:center;gap:9px;flex:1;padding:9px;border-radius:8px;color:#919199;font-size:14px}.memory-tabs button img{width:29px;height:29px;border-radius:50%;object-fit:cover}.memory-tabs button.selected{background:var(--person-bg);box-shadow:0 0 0 1px var(--person-border);color:var(--person-ink)}.memory-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;font-size:13px;color:#97979e}.memory-summary button{font-size:13px;border:1px solid #e0e0e5;border-radius:8px;padding:9px 12px;color:#62626c}.empty-memory{text-align:center;border:1px dashed #e5e5eb;border-radius:13px;padding:42px 22px;color:#aaa}.empty-memory .icon{width:30px;height:30px;color:#b3b3bd}.empty-memory h3{font-size:15px;font-weight:450;color:#84848d}.empty-memory p{font-size:13px;line-height:1.8;margin:0}.memory-item{padding:17px 19px;border:1px solid #e6e6eb;border-radius:11px;margin-bottom:12px}.memory-item h3{font-size:15px;font-weight:500;margin:0 0 9px}.memory-item p{font-size:14px;white-space:pre-wrap;line-height:1.7;margin:0}.memory-item footer{display:flex;align-items:center;gap:12px;margin-top:15px;color:#aaa;font-size:11px}.memory-item footer span{margin-right:auto}.memory-item footer button{font-size:12px;color:#888}.persona-note{font-size:13px;color:#94949e;line-height:1.8;margin-bottom:15px}.persona-form textarea,.edit-dialog textarea,.edit-dialog input{display:block;width:100%;border:1px solid #dedee5;border-radius:10px;padding:14px;font-size:15px;line-height:1.8;resize:vertical;min-height:155px;color:#4f4f58;background:white}.edit-dialog input{min-height:0;margin:12px 0}.persona-form footer{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:17px}.persona-form footer small{font-size:12px;color:#aaa}.edit-dialog{width:min(480px,calc(100vw - 32px))}.edit-dialog label{display:block;font-size:13px;color:#93939c;margin:18px 0 10px}.edit-dialog p{margin-top:12px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:25px}.quota-card{margin-top:17px;padding-top:14px;border-top:1px solid var(--person-border);font-size:12px}.quota-heading{display:flex;align-items:center;gap:8px;color:#8d8a92;font-size:11px;margin-bottom:8px}.quota-updated{margin-left:auto;font-size:10px}.quota-refresh{padding:3px;color:#9b969f}.quota-window+.quota-window{margin-top:12px}.quota-line{display:flex;align-items:center;gap:10px;color:#8d8a92;font-size:11px}.quota-line>span:first-child{min-width:44px}.quota-line strong{font-weight:450;min-width:38px;text-align:right;color:#6f6b75}.quota-track{appearance:none;height:4px;border:0;border-radius:5px;overflow:hidden;background:#0000000b;flex:1;min-width:25px;color:#7d9b88;accent-color:#7d9b88}.quota-track::-webkit-progress-bar{background:#0000000b;border-radius:5px}.quota-track::-webkit-progress-value{background:#7d9b88;border-radius:5px}.quota-track.watch::-webkit-progress-value{background:#cea15d}.quota-track.low::-webkit-progress-value{background:#c87565}.quota-track::-moz-progress-bar{background:#7d9b88}.quota-track.watch::-moz-progress-bar{background:#cea15d}.quota-track.low::-moz-progress-bar{background:#c87565}.quota-track.unknown{display:inline-block;background:#c1bac028}.quota-reset{font-size:10px;color:#aaa2ab;display:block;margin:5px 0 0 54px}.quota-note,.quota-empty{font-size:11px;line-height:1.7;color:#aaa0a7}.quota-inline{display:inline-flex;gap:5px;align-items:center;background:#ffffff75;padding:4px 7px;border-radius:6px;font-size:10px;color:#7c7b85}.quota-inline .quota-track{width:30px;flex:none;height:3px}.quota-inline.stale{opacity:.55}.file-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:14px;border-bottom:1px solid var(--border);font-size:14px;text-decoration:none}.file-row small{color:#aaa;font-size:11px;white-space:nowrap}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);padding:12px 20px;background:#44444c;color:white;font-size:13px;border-radius:10px;box-shadow:0 8px 30px #0001;z-index:100;max-width:90vw}#drop-zone{position:absolute;inset:14px;display:grid;place-items:center;border:2px dashed #d58f83;border-radius:20px;background:#fff7f3ee;color:#b25e4a;z-index:10;font-size:21px;pointer-events:none}.mobile-only{display:none}.login{min-height:100dvh;display:grid;place-items:center;background:#fafafa;padding:28px}.login form{width:340px;max-width:100%;display:grid;gap:13px;transform:translateY(-5vh)}.login-brand{justify-content:center;margin-bottom:35px}.login-brand svg{width:40px;height:50px}.login-brand span{font-size:28px;letter-spacing:-.8px}.login input{height:50px;border:1px solid #dddde2;border-radius:8px;padding:0 16px;font-size:16px}.login .primary{height:46px}.login p{font-size:12px;color:#b05447;margin:0;min-height:18px;text-align:center}.scrim{position:fixed;inset:0;z-index:30;background:#34343f40}
@media(min-width:1600px){.welcome h2{font-size:35px}.welcome-person img{width:132px;height:132px}.welcome-faces{gap:36px;margin-bottom:42px}}
@media(max-width:1050px){.app{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding-left:15px;padding-right:15px}.brand span{font-size:18px}.brand{gap:9px}.brand svg{width:26px}.topbar{padding:0 26px}.conversation{padding:25px 25px}.composer-wrap{padding:12px 25px 17px}.welcome h2{font-size:27px}.welcome-person img{width:102px;height:102px}}
@media(max-width:760px){.app{display:flex}.sidebar{position:fixed;inset:0 auto 0 0;width:260px;z-index:40;transform:translateX(-100%);transition:transform .2s ease;padding:27px 22px 20px}.sidebar.open{transform:translateX(0)}main{width:100%}.mobile-only{display:inline-flex}.topbar{height:70px;padding:0 15px;gap:10px}.room-heading{margin-right:auto}.room-heading h1{font-size:14px;max-width:48vw}.room-heading>span{font-size:11px;margin-top:5px}.team-peek>span:last-child{display:none}.top-actions{gap:4px}.avatar-stack img{width:27px;height:27px}.conversation{padding:24px 16px}.welcome{padding:25px 0 30px;min-height:100%}.welcome-faces{gap:24px;margin-bottom:28px}.welcome-person img{width:98px;height:98px}.welcome h2{font-size:24px;letter-spacing:-.7px}.welcome>p{font-size:13px}.starters{margin-top:25px;gap:7px}.starters button{font-size:12px;padding:9px 10px}.composer-wrap{padding:8px 12px calc(12px + env(safe-area-inset-bottom))}.composer{padding:13px 12px 10px;border-radius:15px}.composer textarea{min-height:62px;font-size:16px}.composer-bottom{margin-top:8px}.composer-tools{gap:2px}.recipient-picker{gap:0}.recipient-picker button{padding:8px 9px}.composer-caption{font-size:10px;margin:8px 5px 0}.keyboard-hint{display:none}.message{padding:14px;margin-bottom:15px}.message-body{font-size:15px;line-height:1.85}.message-header{gap:7px}.message-header img{width:30px;height:30px}.message-header time{display:none}.message-header small{font-size:10px}.message-actions{gap:10px}.message-actions button{font-size:10px}.message-header .quota-inline{font-size:9px;padding:3px 4px}.quota-inline .quota-track{width:23px}.panel{padding:22px 20px;border-radius:17px;max-height:90dvh;width:calc(100vw - 24px)}.person-card{padding:15px}.person-head img{width:49px;height:49px}.person-head{gap:11px}.person-head h3{font-size:15px}.person-head p{font-size:11px}.panel>header{margin-bottom:21px}.panel h2{font-size:19px}.edit-banner{font-size:11px}.attachment{max-width:100%;overflow-wrap:anywhere}.edit-dialog{padding:22px}.owner img{width:41px;height:41px}}
@media(max-height:700px){.welcome-person img{width:80px;height:80px}.welcome-faces{margin-bottom:20px}.welcome h2{font-size:25px}.welcome{padding:10px 0 20px}.starters{margin-top:20px}.composer textarea{min-height:48px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Mobile-first refinement: original brand, clear touch targets and keyboard-safe input. */
.brand-image{display:block;width:100%;height:auto;object-fit:contain}.brand{gap:0}.login-brand{width:100%;margin-bottom:28px}.workspace-label{margin:1px 0 29px 0;text-align:center}.starters{display:none}.person-card.deepseek{--person-bg:#eef5fa;--person-border:#dde8f1;--person-ink:#688197}.person-card.pending{background:var(--person-bg);border-color:var(--person-border)}.person-card.pending .provider-state{color:#8694a0}.person-card.pending img{opacity:.85}.person-card.pending{cursor:default}.icon-button{min-width:40px;min-height:40px}.message-actions button{min-height:36px}.history-entry>button:last-child{min-width:36px;min-height:44px}.panel{overscroll-behavior:contain}.conversation{overscroll-behavior-y:contain;overflow-x:hidden}.message-body{min-width:0}.message-header small{overflow-wrap:anywhere}button,input,textarea{-webkit-tap-highlight-color:transparent}
@media(max-width:760px){
 body{overflow:hidden}.app{position:fixed;inset:var(--app-top,0px) 0 auto;height:var(--app-height,100dvh);width:100%}.sidebar{padding-top:calc(18px + env(safe-area-inset-top));padding-bottom:calc(15px + env(safe-area-inset-bottom));width:min(300px,85vw)}.sidebar .brand{width:100%;margin:4px 0}.sidebar .workspace-label{font-size:11px;margin:1px 0 24px}.sidebar-bottom>button{min-height:48px}.new-chat{min-height:46px}.topbar{height:calc(64px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 10px 0;gap:4px}.icon-button{min-width:44px;min-height:44px}.room-heading h1{font-size:15px;max-width:43vw}.room-heading>span{font-size:11px}.top-actions{gap:0}.team-peek{padding:0 5px;min-height:44px}.avatar-stack img{width:29px;height:29px}.conversation{padding:22px 12px}.welcome{padding:16px 0 32px}.welcome-faces{margin-bottom:26px;gap:28px}.welcome-person img{width:105px;height:105px}.welcome h2{font-size:24px;letter-spacing:-.5px}.welcome>p{font-size:13px}.composer-wrap{padding:6px 10px calc(8px + env(safe-area-inset-bottom));border-top:1px solid #f7f7f8}.composer{border-radius:18px;padding:12px 8px 6px;box-shadow:none}.composer textarea{padding:0 8px;min-height:50px;max-height:150px;font-size:16px;line-height:1.6}.composer-bottom{margin-top:5px;gap:2px}.composer-tools{gap:0;min-width:0}.recipient-picker{gap:0}.recipient-picker button{padding:0 8px;min-height:40px;font-size:12px}.send-button{width:42px;height:42px;margin-right:2px;border-radius:13px}.stop-button{min-height:42px;padding:8px;font-size:12px}.composer-caption{margin:6px 7px 0;font-size:10px}.message{padding:14px 13px;border-radius:16px;margin-bottom:14px}.message-body{font-size:16px;line-height:1.8}.message-header{position:relative;display:grid;grid-template-columns:34px max-content 1fr;gap:3px 8px;align-items:center;padding-right:76px;min-height:38px}.message-header img{grid-column:1;grid-row:1/3;width:34px;height:34px}.message-header strong{grid-column:2;grid-row:1;font-size:14px}.message-header>small{grid-column:2/4;grid-row:2;font-size:10px}.message-header>[data-quota]{grid-column:3;grid-row:1;justify-self:start}.message-actions{position:absolute;right:0;top:0;gap:6px}.message-actions button{min-height:38px;min-width:30px;font-size:11px}.message-header .quota-inline{font-size:9px;white-space:nowrap}.message-header time{display:none}.message-body pre{max-width:100%;font-size:12px}.panel{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:calc(92dvh - env(safe-area-inset-top));border-radius:24px 24px 0 0;padding:25px 20px calc(24px + env(safe-area-inset-bottom));border:0}.panel>header{margin-bottom:20px}.panel>header>.icon-button{margin-top:-6px;margin-right:-6px}.person-head img{width:52px;height:52px}.person-head p{font-size:12px}.person-card{padding:16px;margin-bottom:12px}.person-head .provider-state{font-size:11px}.memory-tabs button{min-height:46px}.memory-actions button{min-height:40px}.panel textarea,.edit-dialog textarea,.edit-dialog input{font-size:16px}.keyboard-open .composer-caption{display:none}.keyboard-open .welcome-faces{margin-bottom:15px}.keyboard-open .welcome-person img{width:66px;height:66px}.keyboard-open .welcome h2{font-size:20px}.keyboard-open .welcome{padding:5px 0}.keyboard-open .composer-wrap{padding-bottom:6px}.keyboard-open .composer textarea{min-height:35px}.login input{height:52px}.login .primary{height:50px}
}
@media(max-width:360px){.welcome-person img{width:90px;height:90px}.welcome h2{font-size:22px}.recipient-picker button{padding:0 6px}.top-actions .avatar-stack img{width:25px;height:25px}.message-header{padding-right:62px;gap:3px 5px}.message-actions{gap:1px}.message-header .quota-inline .quota-track{width:17px}}

@media(max-width:760px){.login{height:var(--app-height,100dvh);min-height:0;position:fixed;top:var(--app-top,0px);width:100%;overflow:auto}.login form{transform:none}.panel{max-height:calc(var(--app-height,100dvh) - 24px)}}
