task-create-preview{display:grid;grid-template-columns:80px minmax(0,1fr);gap:10px;margin:10px 0;color:#415577;font-size:13px;line-height:20px;min-width:0}
task-create-preview[hidden]{display:none}
/* The preview contains its own label/value columns and must span the outer form grid. */
.sb-link-choice>task-create-preview{grid-column:1/-1;width:100%;box-sizing:border-box}
.sb-create-preview-label{color:#415577}
.sb-create-preview-body{white-space:pre-wrap;overflow-wrap:anywhere;min-width:0;max-height:100px;overflow-y:auto}
.sb-create-preview-body button{display:inline-block;border:0;background:transparent;color:#a83b00;min-height:44px;padding:4px 10px;font:inherit;cursor:pointer}
.sb-create-preview-body button:focus-visible{outline:2px solid #16866a;outline-offset:2px}
.sb-topic-link{flex-wrap:wrap}
.sb-topic-link task-create-preview{flex-basis:100%;width:100%;margin:0}
@media(max-width:350px){task-create-preview{grid-template-columns:72px minmax(0,1fr);gap:8px}}

/* Floor-like parent post: one line with an independent right-hand disclosure. */
.sb-create-preview-body.sb-post-preview-compact{display:flex;align-items:flex-start;gap:4px;max-height:none;overflow:visible}
.sb-post-preview-text{display:block;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sb-post-preview-compact[data-expanded="true"] .sb-post-preview-text{white-space:pre-wrap;overflow-wrap:anywhere}
.sb-create-preview-body .sb-post-preview-toggle{flex:none;min-width:44px;min-height:44px;padding:0 4px;margin:-12px 0;color:var(--ui-link,#cf4b00)}
.sb-create-preview-body .sb-post-preview-toggle[hidden]{display:none}
.task-form-content task-create-preview[data-compact="true"]{grid-template-columns:88px minmax(0,1fr);gap:12px;margin:0;padding:12px 0;border-bottom:1px solid var(--ui-line,#e9edf1)}
@media(max-width:359px){.task-form-content task-create-preview[data-compact="true"]{grid-template-columns:72px minmax(0,1fr);gap:8px}}
