.references-module__nUwheW__references{width:100%;min-width:0;color:var(--text,#f4f3f7);padding:14px}.references-module__nUwheW__heading{flex-wrap:wrap;justify-content:space-between;gap:8px;margin-bottom:12px;font-size:13px;display:flex}.references-module__nUwheW__heading span,.references-module__nUwheW__add small{color:#beb7ce;font-size:12px}.references-module__nUwheW__grid{flex-wrap:wrap;gap:10px;display:flex}.references-module__nUwheW__tile,.references-module__nUwheW__empty,.references-module__nUwheW__add{width:104px;min-height:100px;color:inherit;background:#242129;border:1px solid #48444f;border-radius:10px;position:relative}.references-module__nUwheW__tile{height:104px;overflow:hidden}.references-module__nUwheW__tile>img,.references-module__nUwheW__tile>video{object-fit:cover;width:100%;height:100%}.references-module__nUwheW__caption{background:#17141ded;padding:6px;font-size:12px;position:absolute;bottom:0;left:0;right:0}.references-module__nUwheW__empty,.references-module__nUwheW__add{cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:6px;padding:8px;font-size:12px;display:flex}.references-module__nUwheW__add{border-color:#9275c4;width:122px}.references-module__nUwheW__remove,.references-module__nUwheW__mention{color:#fff;cursor:pointer;background:#17141de8;border:0;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:0}.references-module__nUwheW__remove{border-radius:0 0 0 8px;right:0}.references-module__nUwheW__mention{border-radius:0 0 8px;left:0}.references-module__nUwheW__references button:hover:not(:disabled){background-color:#403449}.references-module__nUwheW__references button:focus-visible,.references-module__nUwheW__mentions button:focus-visible{outline-offset:3px;outline:2px solid #bd9cf3}.references-module__nUwheW__references :is(.references-module__nUwheW__remove,.references-module__nUwheW__mention):focus-visible{outline:2px solid var(--tong-focus);outline-offset:-3px}.references-module__nUwheW__references button:disabled{opacity:.5;cursor:default}.references-module__nUwheW__file{clip-path:inset(50%);width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.references-module__nUwheW__more{color:#cbb2f5;cursor:pointer;background:0 0;border:0;min-height:44px}.references-module__nUwheW__references p,.references-module__nUwheW__failure{font-size:var(--tong-text-help);line-height:var(--tong-leading-help);margin:10px 0 0}.references-module__nUwheW__references p,.references-module__nUwheW__references .references-module__nUwheW__hint{color:var(--tong-text-secondary)}.references-module__nUwheW__failure,.references-module__nUwheW__references p[role=alert]{color:var(--tong-danger-text)}.references-module__nUwheW__failure{align-items:center;gap:8px;display:flex}.references-module__nUwheW__failure span{overflow-wrap:anywhere;flex:1}.references-module__nUwheW__failure button{min-width:44px;min-height:44px;color:inherit;background:#242129;border:1px solid #48444f;border-radius:8px}.references-module__nUwheW__prompt{flex:1;min-width:0;position:relative}.references-module__nUwheW__prompt textarea{text-align:start;unicode-bidi:plaintext;width:100%}.references-module__nUwheW__mentions{box-sizing:border-box;overscroll-behavior:contain;color:#f4f3f7;background:#242429;border:1px solid #55505f;border-radius:12px;max-height:288px;margin:0;padding:6px;position:fixed;inset:auto;overflow-y:auto;box-shadow:0 8px 24px #0006}.references-module__nUwheW__mentions button{color:#f4f3f7;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:6px;align-items:center;gap:10px;width:100%;min-height:48px;padding:6px 10px;display:flex}.references-module__nUwheW__mentions button[aria-selected=true]{background:#453653}.references-module__nUwheW__mentions button:hover{background:#39333f}.references-module__nUwheW__mentions img{object-fit:cover;border-radius:5px;width:34px;height:34px}@media (max-width:600px){.references-module__nUwheW__references{padding:10px}.references-module__nUwheW__grid{gap:8px}.references-module__nUwheW__tile,.references-module__nUwheW__empty{width:calc(33.3333% - 5.33333px);min-height:90px}.references-module__nUwheW__add{flex-direction:row;gap:8px;width:100%;min-height:48px}.references-module__nUwheW__heading{flex-direction:column;gap:4px}}.references-module__nUwheW__shots{color:#f4f3f7;margin:8px 14px;font-size:13px}.references-module__nUwheW__shots summary{cursor:pointer;align-items:center;min-height:44px;display:flex}.references-module__nUwheW__shots p{color:#beb7ce;margin:8px 0;line-height:1.5}.references-module__nUwheW__shot{border-top:1px solid #48444f;margin:12px 0;padding:12px 0}.references-module__nUwheW__shotHeading{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.references-module__nUwheW__shotHeading label{align-items:center;gap:8px;margin-left:auto;display:flex}.references-module__nUwheW__shots input{width:56px;min-height:44px;color:inherit;background:#242129;border:1px solid #48444f;border-radius:6px;padding:6px}.references-module__nUwheW__shots button{min-width:44px;min-height:44px;color:inherit;cursor:pointer;background:#242129;border:1px solid #48444f;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:8px;display:inline-flex}.references-module__nUwheW__shots button:disabled{opacity:.5;cursor:default}.references-module__nUwheW__shots textarea{resize:vertical;min-height:74px;color:inherit;background:#242129;border:1px solid #48444f;border-radius:8px;margin-top:8px;padding:10px}.references-module__nUwheW__shots :is(button,input,textarea):focus-visible{outline-offset:2px;outline:2px solid #bd9cf3}@media (max-width:380px){.references-module__nUwheW__tile,.references-module__nUwheW__empty{width:calc(50% - 4px)}}.references-module__nUwheW__videoTile{width:min(280px,100%);height:220px}.references-module__nUwheW__videoTile>video{object-fit:contain;padding:44px 0 28px}.references-module__nUwheW__hint{color:#beb7ce;max-width:68ch;margin-bottom:12px;font-size:12px;line-height:1.5}.references-module__nUwheW__mentionHighlights{z-index:1;box-sizing:border-box;pointer-events:none;-webkit-user-select:none;user-select:none;color:#0000;border:0;position:absolute;overflow:hidden}.references-module__nUwheW__mentionHighlights mark{color:#0000;-webkit-box-decoration-break:clone;box-decoration-break:clone;background:#b88bef30;border-radius:4px;padding:0;box-shadow:inset 0 -1px #cbb2f5}.references-module__nUwheW__mentionHint{color:#b2b2bd;align-items:center;gap:5px;margin-top:4px;font-size:12px;line-height:1.5;display:flex}.references-module__nUwheW__mentionHeading{color:#b2b2bd;padding:6px 8px 8px;font-size:12px}.references-module__nUwheW__mentionPreview{color:#cbb2f5;background:#ffffff0a;border-radius:5px;flex:0 0 34px;place-items:center;height:34px;display:grid}.references-module__nUwheW__mentionLink{color:#cbb2f5;margin-inline-start:auto}.references-module__nUwheW__mentionCopy{flex-direction:column;gap:2px;min-width:0;display:flex}.references-module__nUwheW__mentionCopy strong{font-size:13px;font-weight:600}.references-module__nUwheW__mentionCopy small{color:#b2b2bd;font-size:11px;line-height:1.3}@media (forced-colors:active){.references-module__nUwheW__mentionHighlights mark{box-shadow:none;border-bottom:1px solid highlight}}.references-module__nUwheW__empty>.attachment-mention-badge{text-overflow:clip;flex-shrink:0;order:-1;align-self:flex-start;max-width:100%;position:static;overflow:visible}.references-module__nUwheW__empty>svg{flex-shrink:0}.references-module__nUwheW__empty{justify-content:flex-start}.references-module__nUwheW__imageGrid{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;display:grid}.references-module__nUwheW__imageTile{aspect-ratio:4/3;border:1px solid var(--tong-divider);border-radius:var(--tong-radius-control);background:var(--tong-control);min-width:0;position:relative;overflow:hidden}.references-module__nUwheW__imageTile>img{object-fit:cover;width:100%;height:100%;display:block}.references-module__nUwheW__imageCaption{background:var(--tong-canvas);color:var(--tong-text-secondary);font-size:var(--tong-text-caption);line-height:var(--tong-leading-caption);overflow-wrap:anywhere;padding:6px 8px;position:absolute;inset-block-end:0;inset-inline:0}.references-module__nUwheW__addImage{border:1px dashed var(--tong-control-border);border-radius:var(--tong-radius-control);width:100%;min-height:48px;color:var(--tong-text);font:inherit;font-size:var(--tong-text-action);cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:8px;margin-top:12px;display:flex}.references-module__nUwheW__references .references-module__nUwheW__limit{color:var(--tong-text-secondary)}@media (max-width:600px){.references-module__nUwheW__imageGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}}@media (max-width:340px){.references-module__nUwheW__imageGrid{grid-template-columns:minmax(0,1fr)}}.references-module__nUwheW__references.references-module__nUwheW__imageManager{padding:0}.references-module__nUwheW__imageGrid[data-media-kind=VIDEO]{grid-template-columns:minmax(0,1fr)}.references-module__nUwheW__imageGrid[data-media-kind=VIDEO] .references-module__nUwheW__imageTile{aspect-ratio:16/10}.references-module__nUwheW__imageTile>video{object-fit:contain;width:100%;height:100%;padding-block:44px 28px}.references-module__nUwheW__imageGrid[data-media-kind=AUDIO]{grid-template-columns:minmax(0,1fr)}.references-module__nUwheW__imageGrid[data-media-kind=AUDIO] .references-module__nUwheW__imageTile{aspect-ratio:auto;min-height:104px;padding:12px 44px 28px 8px}.references-module__nUwheW__imageGrid[data-media-kind=AUDIO] .references-module__nUwheW__imageTile:not(:has(.references-module__nUwheW__imageCaption)){min-height:0;padding:8px 48px 8px 8px}.references-module__nUwheW__imageGrid[data-media-kind=DOCUMENT]{grid-template-columns:minmax(0,1fr)}.references-module__nUwheW__imageGrid[data-media-kind=DOCUMENT] .references-module__nUwheW__imageTile{aspect-ratio:auto;min-height:80px;padding:12px 48px 32px}.references-module__nUwheW__documentIdentity{align-items:center;gap:8px;min-width:0;display:flex}.references-module__nUwheW__documentIdentity svg{flex-shrink:0}.references-module__nUwheW__documentIdentity span{overflow-wrap:anywhere}@media (max-width:600px) and (max-height:500px){.references-module__nUwheW__imageGrid[data-media-kind=IMAGE]{grid-template-columns:minmax(0,1fr)}.references-module__nUwheW__imageGrid[data-media-kind=IMAGE] .references-module__nUwheW__imageTile{aspect-ratio:auto;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:60px;padding:8px;display:grid;overflow:visible}.references-module__nUwheW__imageGrid[data-media-kind=IMAGE] .references-module__nUwheW__imageTile:has(.references-module__nUwheW__mention){grid-template-columns:44px minmax(0,1fr) 44px 44px}.references-module__nUwheW__imageGrid[data-media-kind=IMAGE] .references-module__nUwheW__imageTile>img{border-radius:var(--tong-radius-control);width:44px;height:44px}.references-module__nUwheW__imageGrid[data-media-kind=IMAGE] .references-module__nUwheW__imageCaption{background:0 0;padding:0;position:static}.references-module__nUwheW__imageGrid[data-media-kind=IMAGE] :is(.references-module__nUwheW__remove,.references-module__nUwheW__mention){border-radius:var(--tong-radius-control);background:0 0;position:static;inset:auto}}
.negative-prompt-field-module__L_pzOa__field{border-top:1px solid var(--border-subtle);grid-column:1/-1;width:100%;min-width:0;padding-top:1rem}.negative-prompt-field-module__L_pzOa__heading{flex-wrap:wrap;align-items:center;gap:.5rem .75rem;display:flex}.negative-prompt-field-module__L_pzOa__heading label{color:var(--ink);font-size:.875rem;font-weight:600}.negative-prompt-field-module__L_pzOa__status{border:1px solid var(--border);background:var(--surface-raised);color:var(--ink-secondary);border-radius:.375rem;padding:.15rem .5rem;font-size:.75rem;font-weight:500;line-height:1.5}.negative-prompt-field-module__L_pzOa__status[data-state=custom]{border-color:color-mix(in oklch, var(--primary) 35%, var(--border));background:var(--primary-soft);color:var(--ink)}.negative-prompt-field-module__L_pzOa__field p{color:var(--ink-secondary);margin:.4rem 0 .75rem;font-size:.8125rem;line-height:1.6}.negative-prompt-field-module__L_pzOa__editor{border:1px solid var(--border);background:var(--surface);border-radius:.625rem;min-width:0}.negative-prompt-field-module__L_pzOa__editor:focus-within{border-color:var(--primary)}.negative-prompt-field-module__L_pzOa__editor[data-invalid]{border-color:var(--danger)}.negative-prompt-field-module__L_pzOa__field .negative-prompt-field-module__L_pzOa__editor textarea{box-sizing:border-box;field-sizing:content;width:100%;min-height:5rem;max-height:16rem;color:var(--ink);font:inherit;resize:vertical;caret-color:var(--primary);scrollbar-color:var(--border) transparent;scrollbar-width:thin;background:0 0;border:0;border-radius:.625rem .625rem 0 0;margin:0;padding:.75rem .875rem;font-size:.875rem;line-height:1.65;display:block}.negative-prompt-field-module__L_pzOa__field .negative-prompt-field-module__L_pzOa__editor textarea::placeholder{color:var(--ink-secondary)}.negative-prompt-field-module__L_pzOa__field .negative-prompt-field-module__L_pzOa__editor textarea::selection{background:var(--primary-soft);color:var(--ink)}.negative-prompt-field-module__L_pzOa__editor:has(textarea:focus-visible){outline:2px solid var(--primary);outline-offset:2px}.negative-prompt-field-module__L_pzOa__field .negative-prompt-field-module__L_pzOa__editor textarea:focus-visible{box-shadow:none;outline:none}.negative-prompt-field-module__L_pzOa__field .negative-prompt-field-module__L_pzOa__editor textarea:disabled{opacity:.6}.negative-prompt-field-module__L_pzOa__footer{border-top:1px solid var(--border-subtle);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:0 .25rem;padding:.125rem .625rem;display:flex}.negative-prompt-field-module__L_pzOa__footer>span{color:var(--ink-secondary);font-variant-numeric:tabular-nums;white-space:nowrap;margin-inline-start:auto;padding:.375rem .25rem;font-size:.75rem}.negative-prompt-field-module__L_pzOa__actions{display:contents}.negative-prompt-field-module__L_pzOa__actions button{min-height:2.75rem;color:var(--ink-secondary);font:inherit;cursor:pointer;background:0 0;border:0;border-radius:.375rem;justify-content:center;align-items:center;gap:.375rem;padding:.375rem .5rem;font-size:.8125rem;display:inline-flex}.negative-prompt-field-module__L_pzOa__actions button svg{flex-shrink:0}.negative-prompt-field-module__L_pzOa__actions button:hover:not(:disabled){background:var(--surface-hover);color:var(--ink)}.negative-prompt-field-module__L_pzOa__actions button:focus-visible{outline:2px solid var(--primary);outline-offset:-2px}.negative-prompt-field-module__L_pzOa__actions button:disabled{opacity:.45;cursor:default}.negative-prompt-field-module__L_pzOa__field .negative-prompt-field-module__L_pzOa__error{color:var(--danger)}@media (max-width:640px){.negative-prompt-field-module__L_pzOa__field .negative-prompt-field-module__L_pzOa__editor textarea{font-size:1rem}}
