/* The create view's own layout (js/views/create.mjs): one step on the left, the ring on the open side. Scoped under #view-create. */
#view-create .cr-wiz { height: 100%; width: var(--dao-576); max-width: 100%; }
#view-create .cr-pane { height: 100%; min-width: 0; }

/* Fields and the lines that say what is wrong. */
#view-create .cr-fields { align-items: start; }
#view-create .cr-fact { display: flex; align-items: center; min-height: var(--dxt-row-h); font: 600 var(--fs-secondary)/1.2 var(--font-sans); color: hsl(var(--text-strong)); }
#view-create .cr-why { min-height: calc(var(--fs-tertiary) * 1.5); font: 400 var(--fs-tertiary)/1.5 var(--font-sans); color: hsl(var(--danger)); }
#view-create .cr-why:empty { min-height: 0; }
#view-create .cr-ballot { flex-wrap: wrap; justify-self: start; }
#view-create .cr-ballot label { position: relative; }

/* Founders: the key box with its Add key, and the list. */
#view-create .cr-split { display: grid; gap: var(--sp-5); min-width: 0; }
#view-create .cr-add { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-4); }
#view-create .cr-list .item { padding: var(--sp-3) var(--sp-4); background: hsl(var(--surface) / .5); box-shadow: inset 0 0 0 1px hsl(var(--border-subtle)); }
#view-create .cr-x { width: var(--dxt-key-h); height: var(--dxt-key-h); border: 0; border-radius: var(--dxt-r); background: none; color: hsl(var(--text-muted)); cursor: pointer;
  font: 400 var(--fs-secondary)/1 var(--font-sans); }
#view-create .cr-x:hover { color: hsl(var(--danger)); background: hsl(var(--danger) / .1); }
#view-create .cr-seats { flex-wrap: wrap; }
#view-create .cr-whos { display: inline-flex; align-items: center; gap: var(--sp-4); }

/* Review and signing: the live steps of a send, a line that says what is wrong, and the founders' link. */
#view-create .cr-result:empty { display: none; }
#view-create .cr-result { display: grid; gap: var(--sp-3); }
#view-create .cr-bad { margin: 0; font: 400 var(--fs-tertiary)/1.5 var(--font-sans); color: hsl(var(--danger)); }
#view-create .cr-link { margin: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font: 400 var(--fs-tertiary)/1.5 var(--font-mono); color: hsl(var(--text-muted)); }
