.external-video-host{width:100%;background:#f4f5f6;color:#25282c;border-radius:14px;overflow:hidden;text-align:left}.external-video-choice{padding:clamp(18px,3vw,30px);box-sizing:border-box;background:#f4f5f6;color:#25282c}.external-video-choice h3{font-size:1.15rem!important;margin:12px 0!important;color:#25282c!important}.external-video-choice p,.external-video-note{font-size:.9rem;line-height:1.6;max-width:72ch}.external-video-provider{font-size:.75rem;font-weight:750;letter-spacing:.05em;color:#982c2c;background:#f8e7e5;padding:6px 10px;border-radius:8px}.external-video-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.external-video-host button,.external-video-dialog button,#external-video-preferences{font:inherit;font-size:.85rem;line-height:1.4;min-height:44px;padding:10px 14px;border:1px solid #c4c8cd;border-radius:10px;background:white;color:#25282c;cursor:pointer;white-space:normal}.external-video-host button:hover,.external-video-dialog button:hover,#external-video-preferences:hover{background:#f8e7e5;border-color:#ad3832}.external-video-host a,.external-video-dialog a{color:#8c2525;text-decoration:underline;font-size:.85rem}.external-video-links{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.external-video-links button{background:transparent}.external-video-playing{display:flex;justify-content:space-between;gap:10px;padding:10px;flex-wrap:wrap}.external-video-host iframe{display:block;width:100%;aspect-ratio:16/9;border:0;min-height:200px}.video-box:has(.external-video-choice),.video-box:has(.external-video-playing){aspect-ratio:auto;display:block;height:auto}.video-preview:has(.external-video-host){padding:0;display:block}.external-video-dialog{box-sizing:border-box;width:min(650px,calc(100% - 24px));max-height:85dvh;overflow:auto;padding:26px;border:1px solid #c4c8cd;border-radius:20px;background:#fafafa;color:#25282c;box-shadow:0 24px 80px #0004}.external-video-dialog::backdrop{background:#20232bbd}.external-video-dialog h2{font-size:1.5rem;margin-top:0}.external-video-dialog p{line-height:1.65;font-size:.95rem}.external-video-setting{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #d4d7dc}.external-video-setting span{display:block;font-size:.85rem;margin-top:5px}.external-video-dialog button:disabled{opacity:.5;cursor:default}#external-video-preferences{position:fixed;bottom:12px;left:12px;z-index:25;box-shadow:0 2px 10px #0002;font-size:.78rem}.external-video-host :focus-visible,.external-video-dialog :focus-visible,#external-video-preferences:focus-visible{outline:3px solid #ad3832;outline-offset:3px}@media(max-width:540px){.external-video-actions{flex-direction:column}.external-video-actions button{width:100%;max-width:none}.external-video-dialog{padding:20px}.external-video-choice{padding:18px}.external-video-links{gap:10px}}@media print{#external-video-preferences,.external-video-host,.external-video-dialog{display:none!important}}

.vect-cover {display:grid;gap:8px;align-content:center;padding:12px;color:var(--ink);background:var(--surface);text-align:start}
.vect-cover small {line-height:1.45;color:var(--muted)}
.vect-cover img {display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px}
.vect-cover-actions {display:flex;gap:8px;flex-wrap:wrap}
[data-vect-cover] {margin-top:8px}
[data-vect-cover]>summary {display:list-item;cursor:pointer;min-height:44px;align-content:center;color:var(--theme-link,var(--ink));font-weight:600}
.video-box:has(.vect-cover),.inline-video:has(.vect-cover) {display:block;height:auto;aspect-ratio:auto}

/* ATLAS DARK COMPONENT COLORS */
@media screen{
html[data-theme="dark"] .external-video-host{background:var(--surface, #1b222c);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .external-video-choice{background:var(--surface, #1b222c);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .external-video-choice h3{color:var(--ink, #ebf0f7)!important}
html[data-theme="dark"] .external-video-provider{color:#c88d8d;background:#38211e}
html[data-theme="dark"] .external-video-host button,html[data-theme="dark"] .external-video-dialog button,html[data-theme="dark"] #external-video-preferences{border:1px solid var(--line, #404c5e);background:var(--surface, #1b222c);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .external-video-host button:hover,html[data-theme="dark"] .external-video-dialog button:hover,html[data-theme="dark"] #external-video-preferences:hover{background:#38211e;border-color:#ce5b55}
html[data-theme="dark"] .external-video-host a,html[data-theme="dark"] .external-video-dialog a{color:#c59191}
html[data-theme="dark"] .external-video-dialog{border:1px solid var(--line, #404c5e);background:var(--surface, #1b222c);color:var(--ink, #ebf0f7)}
html[data-theme="dark"] .external-video-setting{border-bottom:1px solid var(--line, #404c5e)}
html[data-theme="dark"] .external-video-host :focus-visible,html[data-theme="dark"] .external-video-dialog :focus-visible,html[data-theme="dark"] #external-video-preferences:focus-visible{outline:3px solid #ce5b55}
}
