.favorite-confirm{max-width:48rem;display:grid;gap:var(--space-4)}
.favorite-confirm h2,.favorite-confirm p{margin:0}
.favorite-actions{padding:0 var(--space-5) var(--space-5)}
.favorite-actions .button{width:100%}
.favorite-unavailable{display:flex;flex-direction:column;gap:var(--space-4);min-width:0}
.favorite-unavailable h2{font-size:var(--text-xl);margin:0}
.favorite-unavailable p{margin:0;color:var(--color-text-muted)}
.favorite-unavailable .button{margin-top:auto}
.saved-search-list{list-style:none;padding:0;display:grid;gap:var(--space-5)}
.saved-search-item{min-width:0}
.saved-search-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-4)}
.saved-search-heading h2{font-size:var(--text-xl);margin:0;overflow-wrap:anywhere}
.saved-actions{display:flex;flex-wrap:wrap;gap:var(--space-3);margin-top:var(--space-5)}
.saved-criteria{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-3);margin:var(--space-5) 0}
.saved-criteria dt{font-size:var(--text-sm);color:var(--color-text-muted)}
.saved-criteria dd{margin:var(--space-1) 0 0;overflow-wrap:anywhere}
.saved-search-editor{max-width:56rem}
.saved-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-4);margin-top:var(--space-5)}
.saved-fields>*{min-width:0}
.saved-lookup{align-self:end}
.saved-page input,.saved-page select,.saved-page textarea{max-width:100%}
#saved-create-command-host[hidden],#saved-create-command-host [hidden]{display:none!important}
/* The author's button/grid display rules must not override the native hidden state. */
#favorite-command-host[hidden],#favorite-command-host [hidden],form[data-favorite-command][hidden]{display:none!important}
#saved-search-edit-command-host[hidden],#saved-search-edit-command-host [hidden],form[data-search-edit-form][hidden]{display:none!important}
@media(max-width:600px){.saved-fields,.saved-criteria{grid-template-columns:minmax(0,1fr)}.saved-actions{flex-direction:column}.saved-actions .button{width:100%}.saved-search-heading{flex-wrap:wrap}.favorite-actions{padding-inline:var(--space-4)}}
