.shot-video-repair[hidden]{display:none!important}
.shot-video-repair{position:fixed;inset:0;z-index:15000;display:flex;align-items:center;justify-content:center;background:#0008;padding:12px;box-sizing:border-box;color:#172238}
.shot-video-repair__panel{width:min(1500px,98vw);height:96vh;display:flex;flex-direction:column;min-height:0;border-radius:18px;background:#fff;overflow:hidden}
.shot-video-repair header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-bottom:1px solid #e2e8f0;flex:none}
.shot-video-repair h3{margin:0;font-size:var(--ui-font-page);font-weight:var(--ui-font-weight)}.shot-video-repair header>div{display:flex;gap:10px}
.shot-video-repair button,.shot-video-repair select{font:inherit;color:inherit;border:0;border-radius:8px;background:#f4f6f9;padding:8px 12px;cursor:pointer}
.shot-video-repair button:disabled{opacity:.45;cursor:default}.shot-video-repair button:focus-visible,.shot-video-repair select:focus-visible,.shot-video-repair textarea:focus-visible{outline:2px solid #647be4;outline-offset:2px}
.shot-video-repair__context{padding:12px 24px;background:#f8fafc;border-bottom:1px solid #e2e8f0;max-height:27vh;overflow:auto;flex:none}
.shot-video-repair__context label{display:flex;align-items:center;gap:12px}.shot-video-repair__context select{max-width:75%}.shot-video-repair details{margin-top:10px}.shot-video-repair summary{cursor:pointer}
.shot-video-repair p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.65}.shot-video-repair__status{min-height:22px;padding:6px 24px;color:#637189;font-size:var(--ui-font-meta);flex:none}.shot-video-repair__status button{margin-left:12px}
.shot-video-repair__chat{flex:1;min-height:0;overflow-y:auto;padding:12px 8%;scrollbar-gutter:stable}.shot-video-repair article{border:1px solid transparent;border-radius:14px;padding:16px;margin-bottom:18px}.shot-video-repair article.shot-video-repair__selected{border-color:#bfcee5;background:#fafcff}
.shot-video-repair h4{margin:0 0 12px;font-size:var(--ui-font-meta);font-weight:var(--ui-font-weight);color:#718096}.shot-video-repair video{display:block;max-width:100%;width:100%;max-height:53vh;object-fit:contain;border-radius:10px;background:#131820}.shot-video-repair__user{background:#f1f4f8;margin-left:15%}.shot-video-repair__actions{display:flex;justify-content:flex-end;gap:10px;align-items:center;margin-top:12px}.shot-video-repair__actions span{font-size:var(--ui-font-meta);color:#637189}
.shot-video-repair__turn-status{display:inline-block;padding:5px 10px;border-radius:8px}.shot-video-repair__generating{background:var(--mj-button,#ff4824)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.shot-video-repair__composer{display:grid;grid-template-columns:1fr 44px;gap:8px;align-items:end;flex:none;border-top:1px solid #e2e8f0;padding:12px 8% 14px}.shot-video-repair textarea{box-sizing:border-box;width:100%;min-height:75px;max-height:140px;resize:vertical;border:1px solid #cfdae9;border-radius:12px;padding:12px;font:inherit;line-height:1.6;color:inherit}.shot-video-repair [data-video-repair-send]{width:40px;height:40px;border-radius:50%;padding:0;font-size:0;margin-bottom:8px;background:var(--mj-button,#ff4824)!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
.shot-video-repair__chips,.shot-video-repair__tools,.shot-video-repair__hint{grid-column:1/-1}.shot-video-repair__chips{display:flex;flex-wrap:wrap;gap:6px}.shot-video-repair__chips:empty{display:none}.shot-video-repair__tools{display:flex;align-items:center;gap:10px}.shot-video-repair small{font-size:var(--ui-font-caption);color:#62718a}.shot-video-repair__tools small{margin-left:auto}.shot-video-repair__reference-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(125px,1fr));gap:12px}.shot-video-repair figure{margin:0}.shot-video-repair img{display:block;object-fit:contain;max-width:100%;height:110px;margin:auto;border-radius:8px}.shot-video-repair figcaption{font-size:var(--ui-font-caption);overflow-wrap:anywhere;padding:5px 0}.shot-video-repair__reference-history{display:flex;gap:12px;flex-wrap:wrap}.shot-video-repair__reference-history figure{width:100px}
.shot-video-repair:fullscreen,.shot-video-repair--fullscreen{padding:0;background:#fff}.shot-video-repair:fullscreen .shot-video-repair__panel,.shot-video-repair--fullscreen .shot-video-repair__panel{width:100vw;height:100vh;border-radius:0}
@media(max-width:700px){.shot-video-repair{padding:0}.shot-video-repair__panel{width:100vw;height:100dvh;border-radius:0}.shot-video-repair header{padding:12px}.shot-video-repair h3{font-size:var(--ui-font-page)}.shot-video-repair__chat,.shot-video-repair__composer{padding:10px 12px}.shot-video-repair__context{padding:10px 12px}.shot-video-repair__tools{flex-wrap:wrap}.shot-video-repair__tools small{margin-left:0}}
