.compose-dialog{width:min(1140px,calc(100vw - 32px));max-width:1140px;max-height:92dvh;padding:24px;border:1px solid #d5dce4;border-radius:12px;background:#fff;color:#17191b;box-shadow:0 18px 60px #0003;overflow:auto}.compose-dialog::backdrop{background:#15171988}.compose-header,.compose-toolbar,.compose-send{display:flex;align-items:center;justify-content:space-between;gap:16px}.compose-header h2{margin:0 0 5px}.compose-header p{margin:0}.compose-toolbar{margin:20px 0;align-items:end}.compose-toolbar .field{flex:1;max-width:560px}.compose-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}.compose-conversation,.compose-result{min-width:0}.compose-messages{height:340px;overflow:auto;background:#f2f5f7;border:1px solid #d5dce4;border-radius:6px;padding:16px;overscroll-behavior:contain}.compose-message{margin:0 0 16px;padding:12px;background:#fff;border:1px solid #d5dce4;border-radius:6px}.compose-message p,.compose-body{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.compose-message p{margin:6px 0 0}.compose-user{background:#eef5d9}.compose-empty{line-height:1.6;color:#4c5663}.compose-result h3{margin:0 0 12px}.compose-body{padding:16px;border:1px solid #d5dce4;border-radius:6px;max-height:420px;overflow:auto}.compose-result img{display:block;max-height:280px;width:100%;object-fit:contain;margin-bottom:12px;background:#111}.compose-dialog textarea{width:100%;min-height:100px;resize:vertical}.compose-dialog .field{display:flex;flex-direction:column;gap:7px}.compose-dialog select{width:100%;min-height:42px;max-width:100%}.compose-conversation form{margin-top:16px}.compose-send{margin-top:12px}.compose-dialog .hint{color:#596575;line-height:1.5}.compose-dialog button:disabled{opacity:.55;cursor:not-allowed}.compose-dialog :focus-visible{outline:2px solid #6a811b;outline-offset:3px}.compose-dialog [data-compose=ready]{width:100%;margin-top:12px}.compose-dialog #compose-image-actions{margin-top:18px}.compose-dialog #compose-status{min-height:22px}.create-post-button{margin-right:12px}.hero>div:last-child:has(.create-post-button){display:flex;align-items:center;flex-wrap:wrap;gap:8px}@media(max-width:720px){.compose-dialog{width:calc(100vw - 16px);padding:16px;max-height:96dvh}.compose-layout{grid-template-columns:1fr;gap:24px}.compose-messages{height:260px}.compose-header{align-items:start}.compose-toolbar{gap:10px}.compose-toolbar .field{min-width:0}.compose-send{align-items:end}.compose-body{max-height:360px}.compose-header h2{font-size:22px}.create-post-button{margin-right:0}}
