#storyLibraries{margin-bottom:18px;color:var(--text,#194b78)}
#storyLibraries [hidden]{display:none!important}
#storyLibraries .sl-fields{align-items:stretch;gap:14px}
#storyLibraries .sl-field{min-width:0}
#storyLibraries .sl-field>label{margin:0}
#storyLibraries .sl-meta{display:block;margin-top:7px;font-size:12px;color:#577593;overflow-wrap:anywhere;font-weight:400}
#storyLibraries .sl-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:9px}
#storyLibraries button{width:auto;font-size:13px;margin:0;white-space:normal}
#storyLibraries button.alt{background:#fff;color:#194b78;border:1px solid #cfe1f5}
#storyLibraries button:hover{filter:brightness(.98)}
#storyLibraries button:disabled{opacity:.5;cursor:default}
#storyLibraries .sl-toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:8px 0}
#storyLibraries .sl-scope,#storyLibraries .sl-note,#storyLibraries .sl-status,#storyLibraries .sl-paging{font-size:12px;color:#577593}
#storyLibraries .sl-status{margin-top:6px}
#storyLibraries .sl-status:empty{display:none}
#storyLibraries .sl-quick{display:contents}
#storyLibraries .sl-quick button{border-radius:18px;padding:6px 12px;max-width:240px;text-align:left;overflow-wrap:anywhere}
#storyLibraries .sl-saved{font-size:12px;color:#577593}
#storyLibraries .sl-quick button[aria-pressed=true]{box-shadow:inset 0 -2px var(--project-color,#167ee0)}
#storyLibraries .sl-error{color:#b32424}
#storyLibraries .sl-picker,#storyLibraries .sl-editor{border:1px solid #cfe1f5;background:#fff;padding:15px;border-radius:10px;margin-top:12px}
#storyLibraries .sl-editor{background:#f5f9ff}
#storyLibraries .sl-picker-title{display:flex;justify-content:space-between;align-items:center;gap:10px}
#storyLibraries .sl-search{margin:12px 0}
#storyLibraries .sl-search input{flex:1;min-width:160px;width:auto}
#storyLibraries .sl-browser{display:grid;grid-template-columns:160px minmax(0,1fr);gap:15px}
#storyLibraries .sl-folders{display:flex;flex-direction:column;gap:5px;align-items:stretch;max-height:440px;overflow:auto}
#storyLibraries .sl-folders button{text-align:left;overflow-wrap:anywhere}
#storyLibraries [aria-pressed=true]{box-shadow:inset 3px 0 var(--project-color,#167ee0);background:#eef6ff!important}
#storyLibraries .sl-entry{display:flex;align-items:center;gap:8px;border-bottom:1px solid #e1ecf8;padding:7px 0}
#storyLibraries .sl-pick{flex:1;text-align:left;border:0!important;background:transparent!important;color:#194b78;min-width:0;padding:8px!important}
#storyLibraries .sl-pick:hover{background:#f1f7fe!important}
#storyLibraries .sl-pick strong,#storyLibraries .sl-pick span{display:block;overflow-wrap:anywhere}
#storyLibraries .sl-pick span{font-size:12px;color:#577593;margin-top:4px}
#storyLibraries .sl-entry-actions{display:flex;gap:5px;flex-wrap:wrap;justify-content:flex-end}
#storyLibraries .sl-entry-actions button{padding:7px;font-size:12px}
#storyLibraries .sl-empty{font-size:13px;color:#577593;padding:14px 0}
#storyLibraries .sl-edit-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}
#storyLibraries .sl-edit-fields label{min-width:0}
#storyLibraries .sl-edit-fields p{grid-column:1/-1}
@media(max-width:800px){#storyLibraries .sl-browser{grid-template-columns:1fr}#storyLibraries .sl-folders{flex-direction:row;flex-wrap:wrap;max-height:none}#storyLibraries .sl-entry{align-items:flex-start;flex-wrap:wrap}#storyLibraries .sl-entry-actions{margin-left:auto}#storyLibraries .sl-entry .sl-pick{flex-basis:60%}}
@media(max-width:520px){#storyLibraries .sl-edit-fields{grid-template-columns:1fr}#storyLibraries .sl-fields{grid-template-columns:1fr}#storyLibraries .sl-entry .sl-pick{flex-basis:100%}}
