.account-dialog,.composer-dialog{width:480px;max-width:calc(100% - 28px);padding:32px}.account-dialog h2,.composer-dialog h2{margin:8px 40px 24px 0}.account-dialog input,.account-dialog textarea,.composer-dialog input,.composer-dialog textarea,.composer-dialog select{display:block;width:100%;padding:12px 14px;margin:8px 0 16px;border:1px solid var(--line);border-radius:12px;background:var(--surface);font:inherit}.account-dialog label,.composer-dialog label{display:block;font-size:14px}.account-option{margin-top:22px;padding-top:18px;border-top:1px solid var(--line)}.account-option summary{cursor:pointer;font-size:14px}.account-option form{margin-top:16px}.account-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:20px 0}.account-dialog .error,.composer-dialog .error{font-size:13px;margin:12px 0}.account-dialog .small,.composer-dialog .small{margin:12px 0}.account-dialog .text-button{margin:8px 12px 8px 0}.device-row{display:flex;justify-content:space-between;align-items:center;padding:12px 0}.form-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.inbox-dialog{width:960px}.chat-shell{display:grid;grid-template-columns:240px 1fr;min-height:480px;height:65vh;gap:24px}.chat-sidebar{border-right:1px solid var(--line);padding-right:18px;overflow:auto}#chat-new{display:flex;align-items:flex-start;gap:7px}#chat-new input{min-width:0;margin:0 0 15px;padding:9px;font-size:13px}#chat-new button{padding:9px}.chat-row{display:flex;width:100%;padding:12px 10px;border-radius:12px;margin-bottom:5px}.chat-row[aria-pressed=true]{background:var(--soft)}.chat-main{display:flex;flex-direction:column;min-width:0;min-height:0}#chat-person{padding:8px 0 18px;border-bottom:1px solid var(--line)}#chat-messages{flex:1;overflow:auto;padding:18px 0;display:flex;flex-direction:column;gap:12px}.chat-message{align-self:flex-start;max-width:88%;background:var(--surface);padding:12px 15px;border-radius:16px;overflow-wrap:anywhere}.chat-message.mine{align-self:flex-end;background:var(--soft)}.chat-message p{white-space:pre-wrap}.chat-message span{font-size:11px;display:block;margin-top:6px}.chat-empty{margin:auto;text-align:center;font-size:14px}#chat-send{display:flex;gap:10px;align-items:flex-end}#chat-send textarea{resize:vertical;min-height:50px;max-height:130px;margin:0}#chat-send button{height:50px}#account-connect-link{font-size:12px}.header-actions{gap:10px}#account-button{min-width:40px;min-height:42px;padding:6px 8px}.header .get-app-link{font-size:13px;color:var(--muted)}
@media(max-width:760px){.header{gap:16px}.header-actions{gap:6px}.header .get-app-link{display:none}.header-actions .button{padding:10px 12px}.inbox-dialog,.account-dialog,.composer-dialog{padding:24px 20px}.chat-shell{display:flex;flex-direction:column;gap:12px;height:65vh;min-height:400px}.chat-sidebar{border-right:0;padding:0;max-height:130px;flex:none}#chat-list{display:flex;overflow:auto;gap:8px}.chat-row{width:auto;flex:none;max-width:200px;font-size:13px}.chat-main{flex:1}#chat-person{padding:3px 0 10px}.chat-message{max-width:94%}.form-pair{gap:10px}.account-dialog h2,.composer-dialog h2{font-size:23px}}

.account-dialog>.dialog-close,.composer-dialog>.dialog-close{position:sticky;top:0;right:auto;display:block;margin:-17px -17px -21px auto}.account-dialog[open],.composer-dialog[open]{scroll-padding-top:50px}

.profile-start{padding-top:16px}.profile-start>.button{width:100%;margin-top:4px}.account-dialog .profile-existing{display:block;width:100%;margin:18px 0 0;text-align:center}.profile-onboarding #account-status:empty,.profile-onboarding #account-error:empty,.profile-onboarding #account-person:empty{display:none}#account-existing>.button{display:flex;width:100%;margin:12px 0}#account-existing>.account-option{margin-top:16px;padding-top:16px}.account-dialog [hidden]{display:none!important}
/* Listing attachments */
.composer-dialog #post-files{padding:11px;font-size:13px;margin-bottom:0}.composer-dialog #post-file-help{margin:7px 0 12px}.post-file-list{list-style:none;margin:0 0 18px;padding:0}.post-file-list li{display:flex;align-items:center;gap:16px;padding:8px 0;font-size:13px}.post-file-list li>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;flex:1}.post-file-list .text-button{flex:none;margin:0}.post-image-link{margin:12px 0 20px;font-size:13px;color:var(--muted)}.post-image-link summary{cursor:pointer}.post-image-link input{color:var(--ink)}
