.compose-page{display:grid;gap:1.2rem}.compose-drafts{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.compose-drafts label{font-size:.8rem}.compose-drafts select{max-width:410px;flex:1;min-width:180px}.compose-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:1.25rem;align-items:start}.compose-card{padding:1.4rem;border:1px solid var(--border);background:var(--card);border-radius:8px;min-width:0}.compose-card h2{font-size:1.1rem;margin:0 0 1rem}.compose-card h3{font-size:.9rem;margin:0}.compose-card>header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.compose-card>header h2{display:flex;gap:.7rem;align-items:center;margin:0}.compose-card>header small{color:#eac577;font-size:.73rem}.compose-message fieldset{border:0;padding:0;margin:1.2rem 0}.compose-message fieldset>label{display:block;font-size:.8rem;margin:1rem 0 .4rem}.compose-message .form-input{width:100%;min-width:0}.compose-account-search{display:flex;gap:.6rem}.compose-caption{font-size:.75rem;line-height:1.6;color:var(--foreground-muted);overflow-wrap:anywhere}.compose-caption a{margin-left:.5rem}.compose-editor{height:230px;border:1px solid var(--border-strong);border-radius:5px;overflow:hidden}.compose-editor .rz-html-editor-content{background:var(--surface);color:var(--foreground);padding:1rem;font:14px/1.65 system-ui}.compose-editor .rz-html-editor-toolbar{background:var(--card-hover);border-color:var(--border)}.compose-editor .rz-html-editor-button{color:var(--foreground)}.compose-message fieldset>.compose-branded{display:flex;align-items:center;gap:.6rem;font-size:.75rem;color:var(--foreground-muted)}.compose-branded input{accent-color:var(--brand)}.compose-attachments{margin-top:1.3rem}.compose-attachments header{display:flex;align-items:center;justify-content:space-between;gap:1rem}.compose-file-button{position:relative;overflow:hidden;display:inline-flex;align-items:center;gap:.4rem}.compose-file-button input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.compose-file-button:focus-within{outline:2px solid var(--brand);outline-offset:3px}.compose-file{display:flex;align-items:center;gap:.65rem;border:1px solid var(--border);border-radius:5px;padding:.6rem;margin-top:.7rem;font-size:.8rem}.compose-file>span{min-width:0;overflow-wrap:anywhere;flex:1}.compose-file small{white-space:nowrap;color:var(--foreground-muted)}.compose-actions{display:flex;gap:.65rem;flex-wrap:wrap}.compose-actions>button:last-child{margin-left:auto}.compose-secondary{display:flex;gap:.6rem;align-items:center;flex-wrap:wrap;margin-top:1rem;font-size:.75rem}.compose-sidebar{display:grid;gap:1rem;min-width:0}.compose-sidebar iframe{display:block;width:100%;height:330px;border:1px solid var(--border);border-radius:5px;background:#f4f5f7}.compose-preview-subject{font-size:.8rem;overflow-wrap:anywhere}.compose-card dl{margin:0 0 1rem}.compose-card dl>div{display:flex;justify-content:space-between;gap:1rem;padding:.7rem 0;font-size:.8rem}.compose-card dt{color:var(--foreground-muted)}.compose-card dd{margin:0;text-align:right;overflow-wrap:anywhere}.compose-warning{padding:.9rem;border:1px solid #80652f;background:color-mix(in srgb,#b0822c 12%,var(--card));color:var(--foreground);border-radius:6px;font-size:.8rem;line-height:1.6}.compose-page button:focus-visible,.compose-page a:focus-visible{outline:2px solid var(--brand);outline-offset:3px}@media(max-width:1200px){.compose-grid{grid-template-columns:1fr}.compose-sidebar{grid-template-columns:1.2fr 1fr}}@media(max-width:650px){.compose-sidebar{grid-template-columns:1fr}.compose-card{padding:1rem}.compose-card>header{flex-wrap:wrap}.compose-drafts{gap:.6rem}.compose-drafts select{flex-basis:100%;max-width:none}.compose-actions{display:grid;grid-template-columns:1fr;width:100%}.compose-actions>button:last-child{margin-left:0}.compose-file{flex-wrap:wrap}.compose-file small{margin-left:auto}.compose-account-search{flex-wrap:wrap}.compose-account-search .form-input{flex-basis:100%}.compose-attachments header{flex-wrap:wrap}.compose-editor{height:270px}}

.compose-caption a,.compose-secondary a{color:var(--primary-strong)}

@media(min-width:651px){.compose-message fieldset{display:grid;grid-template-columns:120px minmax(0,1fr);column-gap:1rem;row-gap:.65rem}.compose-message fieldset>label{grid-column:1;margin:0;align-self:center}.compose-message fieldset>.form-input,.compose-account-search,.compose-message fieldset>.compose-caption{grid-column:2}.compose-message fieldset>#compose-body-label,.compose-message fieldset>.compose-editor,.compose-message fieldset>.compose-branded,.compose-attachments{grid-column:1/-1}.compose-message fieldset>#compose-body-label{margin-top:.4rem}.compose-message fieldset>.compose-branded{margin-top:.3rem}.compose-attachments{margin-top:.5rem}}

.compose-file a,.compose-secondary a{color:var(--brand);text-decoration:underline;text-underline-offset:3px}

@media(max-width:650px){.compose-file{display:grid;grid-template-columns:18px minmax(0,1fr) auto}.compose-file>span{grid-column:2/-1}.compose-file small{grid-column:2;margin-left:0}.compose-file button{grid-column:3;justify-self:end}}
