.post-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0 8px}
.post-toolbar .format-button{border:1px solid var(--line,#493c29);background:var(--surface-2,#251e14);color:var(--text,#efe6d4);border-radius:8px;padding:7px 12px;cursor:pointer;font:inherit;font-size:13px}
.post-toolbar .format-button:hover,.post-toolbar .format-button:focus-visible{border-color:var(--accent,#ff6a2b);outline-offset:3px}
.post-toolbar small,.post-link-form small,.post-link-form>p{color:var(--muted,#a3937a);font-size:12px}
.post-link-dialog{width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;box-sizing:border-box;background:var(--surface,#201a12);color:var(--text,#efe6d4);border:1px solid var(--line,#493c29);border-radius:16px;padding:24px;box-shadow:0 20px 70px #0008}
.post-link-dialog::backdrop{background:#0009;backdrop-filter:blur(4px)}
.post-link-form{display:flex;flex-direction:column;gap:10px}
.post-link-form h2{margin:0;font-size:20px}
.post-link-form>p{margin:0 0 8px;line-height:1.6}
.post-link-form .input{width:100%;box-sizing:border-box}
.post-link-form .field-label{margin:4px 0 0}
.post-link-preview{display:grid;gap:10px;padding:16px;border-radius:12px;background:var(--surface-2,#251e14);margin-top:6px;overflow-wrap:anywhere}
.post-link-preview span{color:#71bdf0;text-decoration:underline;text-underline-offset:3px}
.post-link-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.post-link-form .field-error{color:var(--danger,#ff9483);margin:0}
.post-link-form .field-error:empty{display:none}
