.referenceLibrary{margin-top:18px}.referenceLibraryHead{margin-bottom:16px;align-items:flex-start}.referenceLibraryHead .hint{margin-top:8px;max-width:650px}.referenceLibraryToolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px;border:1px solid #302d3b;border-radius:10px;background:#0d0d13}.referenceLibraryToolbar p{margin:0;color:#9693a3;font-size:11px;line-height:1.6;max-width:850px}.referenceLibraryToolbar .libraryAddButton{flex:0 0 auto}.referenceLabelInput{width:100%;min-width:0;height:46px;border:1px solid #30303b;background:#0d0d13;border-radius:9px;padding:0 13px;color:var(--text);font-size:12px;outline:0}.referenceLabelInput::placeholder{color:#686875}.libraryAddButton,.libraryRemoveButton,.libraryUseButton{min-height:38px;border-radius:8px;padding:8px 11px;font-size:10px;font-weight:700;white-space:nowrap}.libraryAddButton,.libraryUseButton{border:1px solid #63419c;background:#25163b;color:#ddd0ff}.libraryRemoveButton{border:1px solid #34313e;background:#17161f;color:#a4a1b0}.libraryMessage{margin-top:10px;padding:10px 12px;border:1px solid #4b3b69;background:#1a1326;border-radius:8px;color:#cfc2ed;font-size:11px;line-height:1.5;overflow-wrap:anywhere}.referenceLibraryGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:13px;gap:13px;margin-top:14px}.referenceLibraryCard{min-width:0;overflow:hidden;border:1px solid #302d3b;border-radius:12px;background:#101017}.referenceLibraryCard>video{display:block;width:100%;height:auto;aspect-ratio:9/16;max-height:430px;object-fit:contain;background:#08080b}.referenceLibraryInfo{padding:12px;min-width:0}.referenceLibraryInfo>strong{display:block;font:600 12px Space Grotesk,sans-serif;color:#f3f0f8;overflow-wrap:anywhere}.referenceLibraryInfo>small{display:block;color:#8f8d9b;font-size:9px;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}.referenceLibraryActions{display:flex;flex-wrap:wrap;align-items:center;gap:7px;margin-top:11px}.referenceLibraryActions>a{font-size:10px;color:#c4b5fd;text-decoration:none;padding:8px 0}.taskReuseButton{margin-top:10px}@media(max-width:900px){.referenceLibraryGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.referenceLibraryToolbar{align-items:flex-start;flex-direction:column}.referenceLibraryToolbar .libraryAddButton{width:100%}}@media(max-width:600px){.referenceLibraryGrid{grid-template-columns:1fr}.referenceLibraryCard{display:grid;grid-template-columns:minmax(100px,.7fr) minmax(0,1fr)}.referenceLibraryCard>video{height:100%;min-height:180px;max-height:280px}.referenceLibraryToolbar{padding:10px}.referenceLibraryToolbar .libraryAddButton{width:100%}.referenceLibraryHead{gap:14px}.referenceLibraryActions{gap:5px}.referenceLibraryActions button{white-space:normal}}.taskRecoveryRow{display:flex;align-items:center;gap:8px;margin:10px 0;flex-wrap:wrap}.taskRecoveryRow input{flex:1 1 240px;min-width:180px;border:1px solid var(--border,#34313f);background:#0c0b11;color:#f4f0ff;border-radius:8px;padding:10px 12px;font:inherit;font-size:12px}.taskRecoveryRow button:disabled{opacity:.6;cursor:wait}