/* Import reviews live outside the admin shell; share its surfaces and actions. */
#modal:has(.file-metadata-review){width:min(760px,calc(100vw - 32px));max-width:calc(100vw - 32px);color:var(--studio-text);background:var(--studio-surface);border-color:var(--studio-line)}
#modal .file-metadata-review{color:var(--studio-text);min-width:0;box-sizing:border-box}
#modal .file-metadata-review h2{font-size:24px;line-height:1.3;letter-spacing:-.5px;overflow-wrap:anywhere;padding-right:30px}
#modal .file-metadata-review .eyebrow{font-size:9px;letter-spacing:1.6px;color:var(--studio-accent);line-height:1.5}
#modal .file-metadata-review .help,#modal .file-metadata-review small{color:var(--studio-muted);font-size:11px;line-height:1.6}
#modal:has(.file-metadata-review) .modal-close{top:20px;right:20px;width:34px;height:34px;background:var(--studio-raised);border:1px solid var(--studio-line);color:var(--studio-muted);border-radius:10px}
#modal .file-metadata-review .studio-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin:0}
#modal .file-metadata-review .btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:11px 15px;line-height:1.4;font-size:12px;font-weight:600;border:1px solid var(--studio-line);border-radius:10px;white-space:normal;box-sizing:border-box;box-shadow:none;cursor:pointer;transition:background .16s,border-color .16s}
#modal .file-metadata-review .btn svg{display:block;width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#modal .file-metadata-review .btn-red{background:var(--studio-primary-bg);color:var(--studio-primary-fg);border-color:var(--studio-primary-bg)}
#modal .file-metadata-review .btn-red:hover:not(:disabled){background:color-mix(in srgb,var(--studio-primary-bg) 90%,var(--studio-primary-fg));border-color:var(--studio-primary-bg)}
#modal .file-metadata-review .btn-glass{background:var(--studio-raised);color:var(--studio-text);border-color:var(--studio-line)}
#modal .file-metadata-review .btn-glass:hover:not(:disabled){background:var(--studio-soft);border-color:var(--studio-accent);color:var(--studio-text)}
#modal .file-metadata-review .link-button{font-size:12px;min-height:42px;color:var(--studio-accent);line-height:1.4}
#modal .file-metadata-review button:disabled{opacity:.45;cursor:not-allowed}
#modal .file-metadata-review button:focus-visible{outline:2px solid var(--studio-accent);outline-offset:3px}
#modal:has(.youtube-metadata-review){height:min(760px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0;overflow:hidden;border-radius:20px}
#modal:has(.youtube-metadata-review) #modal-content{height:100%;min-height:0}
#modal .youtube-metadata-review{height:100%;padding:0;display:flex;flex-direction:column;gap:0;overflow:hidden}
.youtube-review-heading{flex:0 0 auto;padding:28px 64px 22px 28px;border-bottom:1px solid var(--studio-line)}
#modal .youtube-review-heading .eyebrow{margin:0 0 10px}
#modal .youtube-review-heading h2{margin:0;padding:0}
.youtube-review-scroll{min-height:0;flex:1 1 auto;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--studio-line) transparent;padding:24px 28px;display:flex;flex-direction:column;gap:24px}
.youtube-review-overview{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:22px;align-items:start}
.youtube-review-overview .file-match-art{width:100%;height:auto;aspect-ratio:16/9;max-height:none;object-fit:cover;border-radius:12px;border:1px solid var(--studio-line);display:block}
.youtube-review-placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;aspect-ratio:16/9;border-radius:12px;background:var(--studio-raised);color:var(--studio-muted);font-size:11px;border:1px solid var(--studio-line)}
.youtube-review-facts{display:grid;gap:12px;margin:0;min-width:0}
.youtube-review-facts>div{display:grid;gap:4px;min-width:0}
.youtube-review-facts dt{font-size:10px;color:var(--studio-muted);line-height:1.4}
.youtube-review-facts dd{margin:0;font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:var(--studio-text)}
.youtube-review-scroll h3{font-size:12px;font-weight:600;line-height:1.4;margin:0 0 10px;color:var(--studio-text)}
#modal .youtube-review-description p{font-size:12px;line-height:1.75;color:var(--studio-text);white-space:pre-wrap;overflow-wrap:anywhere;margin:0}
.youtube-review-qualities{padding-top:20px;border-top:1px solid var(--studio-line)}
.youtube-review-qualities ul{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px;padding:0;list-style:none}
.youtube-review-qualities li{font-size:11px;line-height:1.4;padding:7px 10px;border:1px solid var(--studio-line);background:var(--studio-soft);color:var(--studio-accent);border-radius:8px}
#modal .youtube-review-qualities .help+.help{margin-top:9px}
.youtube-review-footer{flex:0 0 auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;width:100%;max-width:none;gap:16px;margin:0;padding:18px 28px 22px;border-top:1px solid var(--studio-line);background:var(--studio-surface)}
#modal .youtube-review-footer .help{font-size:11px;line-height:1.6;margin:0;color:var(--studio-muted)}
@media(max-width:600px){#modal:has(.file-metadata-review){width:calc(100vw - 24px);max-width:calc(100vw - 24px)}#modal:has(.youtube-metadata-review){height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);border-radius:16px}.youtube-review-heading{padding:22px 54px 18px 20px}#modal .file-metadata-review h2{font-size:21px}#modal:has(.file-metadata-review) .modal-close{top:16px;right:14px}.youtube-review-scroll{padding:20px;gap:20px}.youtube-review-overview{grid-template-columns:1fr;gap:16px}.youtube-review-overview .file-match-art,.youtube-review-placeholder{max-width:260px}.youtube-review-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.youtube-review-facts>div:last-child{grid-column:1/-1}.youtube-review-footer{padding:16px 20px 18px;gap:13px}#modal .youtube-review-footer .studio-actions{display:grid;grid-template-columns:1fr;gap:8px}#modal .file-metadata-review .btn{min-height:44px}#modal .youtube-review-footer .btn{width:100%}}
@media(prefers-reduced-motion:reduce){#modal .file-metadata-review .btn{transition:none}}
