.ubn-sv-section{padding:40px 0 22px;background:#fff}.ubn-sv-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-bottom:22px}.ubn-sv-heading h2{margin:4px 0 6px}.ubn-sv-heading p{color:#54606c;margin:0}.ubn-sv-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:20px}.ubn-sv-card{border:1px solid #e3e9ee;overflow:hidden;border-radius:16px;background:#fff;box-shadow:0 5px 20px #142c3a0c}.ubn-sv-card video{width:100%;height:320px;object-fit:contain;background:#101923;display:block}.ubn-sv-info{padding:14px 16px}.ubn-sv-info h3{font-size:18px;line-height:1.4;margin:0 0 8px}.ubn-sv-info p{font-size:14px;white-space:normal;overflow-wrap:anywhere;margin:0 0 8px}.ubn-sv-info small{color:#71808a}.ubn-sv-admin{max-width:1120px}.ubn-sv-form{max-width:680px;display:grid;gap:15px;margin:20px 0 40px;padding:24px}.ubn-sv-form label{display:grid;gap:8px;font-weight:650}.ubn-sv-form input,.ubn-sv-form textarea{max-width:100%;width:100%}.ubn-sv-form input[type=file]{border:1px dashed #98a8b2;border-radius:9px;padding:15px}.ubn-sv-preview{max-width:100%;height:300px;background:#111}.ubn-sv-preview[hidden]{display:none}.ubn-sv-admin-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:14px}.ubn-sv-admin-list article{padding:20px}.ubn-sv-admin-list article p{font-size:13px;color:#607382}.ubn-add-video-nav{background:#eb7724!important;color:white!important;border-radius:8px;padding:8px 13px!important;font-weight:700;text-decoration:none;white-space:nowrap}@media(max-width:720px){.ubn-sv-section{padding:24px 0}.ubn-sv-card video{height:300px}.ubn-sv-form{padding:16px}}

/* v57: prevent the CRM sticky toolbar from obscuring the video form and tidy upload layout. */
.crm-main-full:has(.ubn-sv-admin){padding-top:24px!important}
.ubn-sv-admin{width:100%;max-width:1160px;margin:0 auto}
.ubn-sv-admin .section-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:16px}
.ubn-sv-form{width:min(100%,760px);max-width:100%;box-sizing:border-box;margin-top:22px}
.ubn-sv-form .btn.red{min-height:48px}
.ubn-sv-form small{display:block;line-height:1.55;color:#5d6e84}
.ubn-sv-form input[type=file]{box-sizing:border-box;overflow:hidden}
@media(max-width:700px){.ubn-sv-form{margin:18px auto 30px}.ubn-sv-admin .section-head{display:block}.ubn-sv-admin .section-head .btn{margin-top:12px}}

.ubn-quality-prep {
  display:grid; gap:8px; margin:12px 0; padding:12px;
  border:1px solid #d2dceb; border-radius:12px; background:#f7f9fb;
  scroll-margin-top:100px;
}
.ubn-quality-prep button { min-height:44px; }
.ubn-quality-prep p { margin:0; overflow-wrap:anywhere; }

.ubn-sv-published-heading { scroll-margin-top:100px; }

.ubn-watch { background:#121923; color:#f8fafc; min-height:65vh; padding:22px 0 40px; }
.ubn-watch a { color:inherit; }
.ubn-watch h1 { color:inherit; font-size:clamp(23px,3vw,36px); line-height:1.2; overflow-wrap:anywhere; }
.ubn-watch h2 { color:inherit; font-size:20px; margin:0 0 12px; }
.ubn-watch-header { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; margin-bottom:22px; }
.ubn-watch-header > a { font-weight:800; text-decoration:none; }
.ubn-watch-header form { display:flex; flex:1 1 320px; align-items:end; gap:8px; max-width:580px; }
.ubn-watch-header label { display:grid; flex:1; min-width:0; gap:4px; margin:0; color:#f8fafc; }
.ubn-watch-header input { width:100%; min-height:44px; margin:0; font-size:16px; }
.ubn-watch-header button,.ubn-watch-property {
  display:inline-flex; align-items:center; min-height:44px; padding:8px 14px;
  background:#3967a7; color:white; border:0; border-radius:10px; text-decoration:none; font-weight:700;
}
.ubn-watch-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(250px,32%); gap:22px; align-items:start; }
.ubn-watch-layout:not(:has(.ubn-watch-next)) { grid-template-columns:minmax(0,1fr); }
.ubn-watch-main { min-width:0; }
.ubn-watch-main h1 { margin:15px 0 6px; }
.ubn-watch-author { margin:0 0 12px; color:#cbd7e8; }
.ubn-watch-description { margin-top:14px; padding:12px; border-radius:12px; background:#212b39; overflow-wrap:anywhere; }
.ubn-watch-description summary { cursor:pointer; min-height:36px; font-weight:700; }
.ubn-watch-description p { margin-bottom:0; }
.ubn-watch-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr)); gap:16px; }
.ubn-watch-card { display:grid; gap:9px; min-width:0; text-decoration:none; }
.ubn-watch-card:hover strong { text-decoration:underline; }
.ubn-watch-card:focus-visible { outline:2px solid #73a8f2; outline-offset:4px; border-radius:10px; }
.ubn-watch-thumb { display:grid; place-items:center; position:relative; overflow:hidden; aspect-ratio:16/9; border-radius:12px; background:#213044; }
.ubn-watch-thumb img { width:100%; height:100%; object-fit:cover; }
.ubn-watch-thumb-brand { font-size:clamp(17px,3vw,38px); font-weight:900; color:#d1dbea; }
.ubn-watch-play { position:absolute; bottom:7px; right:7px; padding:3px 7px; border-radius:6px; background:#101721e8; color:#fff; }
.ubn-watch-caption { display:grid; gap:4px; align-content:start; min-width:0; }
.ubn-watch-caption strong { line-height:1.3; overflow-wrap:anywhere; }
.ubn-watch-caption small { color:#cbd7e8; }
.ubn-watch-next .ubn-watch-card { grid-template-columns:minmax(0,45%) minmax(0,1fr); margin-bottom:12px; }
body:has(.ubn-watch-detail) .ubn-ref-header { display:none; }
.ubn-watch-detail { padding-top:12px; }
.ubn-watch-detail > .container { max-width:1600px; }
.ubn-watch-detail .ubn-watch-header { justify-content:space-between; margin-bottom:16px; }
.ubn-watch-detail .ubn-watch-header label > span { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.ubn-watch-site { white-space:nowrap; }
.ubn-watch [data-watch-player]:not(:fullscreen) {
  position:relative; aspect-ratio:16/9; overflow:hidden; background:#08080b;
}
.ubn-watch [data-watch-player]:not(:fullscreen) video,
.ubn-watch [data-watch-player]:fullscreen video {
  display:block; width:100%; height:100%; max-height:none; object-fit:contain;
}
html body .ubn-watch [data-watch-player] .ubn-watch-start {
  top:50%; width:64px!important; height:64px!important; padding:0!important;
  border-radius:50%!important; background:#162234e8!important; color:#fff;
  font-size:24px; line-height:1; display:grid; place-items:center;
}
.ubn-watch [data-watch-player].is-enhanced .ubn-watch-controls {
  position:absolute; inset:auto 0 0; z-index:5; display:grid; gap:0;
  padding:10px 12px 6px; color:#fff; background:linear-gradient(transparent,#070b10ed);
  overflow:visible; max-height:none;
}
.ubn-watch [data-watch-player] .ubn-watch-controls-row,
.ubn-watch [data-watch-player] .ubn-watch-controls-group {
  display:flex; align-items:center; min-width:0; gap:4px;
}
.ubn-watch [data-watch-player] .ubn-watch-controls-row { justify-content:space-between; }
.ubn-watch [data-watch-player] .ubn-watch-controls :is(button,summary) {
  display:grid; place-items:center; min-width:44px; min-height:44px; margin:0; padding:0 4px;
  border:0; border-radius:8px; background:transparent; color:#fff; font-size:19px; cursor:pointer;
}
.ubn-watch [data-watch-player] .ubn-watch-controls :is(button,summary):hover { background:#ffffff26; }
.ubn-watch [data-watch-player] .ubn-watch-controls summary::marker { content:""; }
.ubn-watch [data-watch-player] .ubn-watch-controls summary::-webkit-details-marker { display:none; }
.ubn-watch [data-watch-player] .ubn-watch-controls [data-clock] { flex:none; font-size:12px; text-align:left; }
.ubn-watch [data-watch-player] .ubn-watch-controls [data-seek] {
  width:100%; height:18px; margin:0; padding:0; cursor:pointer; accent-color:#6ca4f1;
  appearance:none; -webkit-appearance:none; background:transparent; border:0; box-shadow:none;
}
.ubn-watch-controls [data-seek]::-webkit-slider-runnable-track {
  height:4px; border-radius:4px;
  background:linear-gradient(90deg,#629ef0 var(--watch-progress,0%),#ffffff52 var(--watch-progress,0%));
}
.ubn-watch-controls [data-seek]::-webkit-slider-thumb {
  appearance:none; -webkit-appearance:none; width:12px; height:12px; margin-top:-4px;
  border-radius:50%; background:#cfdaea;
}
.ubn-watch-settings-menu {
  position:absolute; right:12px; bottom:68px; display:grid; gap:7px;
  width:min(270px,calc(100% - 24px)); max-height:50vh; overflow:auto;
  background:#171e29f5; border:1px solid #ffffff32; border-radius:12px; padding:10px;
}
.ubn-watch-settings-menu label {
  display:flex; align-items:center; justify-content:space-between; gap:7px; margin:0;
  color:#fff; font-size:13px; font-weight:600;
}
.ubn-watch [data-watch-player] .ubn-watch-settings-menu select {
  width:55%; min-width:0; min-height:36px; margin:0; font-size:13px; text-overflow:ellipsis;
}
@media(max-width:540px) {
  .ubn-watch [data-watch-player].is-enhanced .ubn-watch-controls { padding:4px 6px 2px; }
  .ubn-watch [data-watch-player] .ubn-watch-controls-group { gap:0; }
  .ubn-watch [data-watch-player] .ubn-watch-controls [data-clock] { font-size:11px; }
  .ubn-watch [data-watch-player] .ubn-watch-controls :is([data-back],[data-forward],[data-pip]) { display:none; }
  .ubn-watch-settings-menu { bottom:58px; right:6px; max-height:calc(100% - 62px); }
}
@media(max-width:800px) {
  .ubn-watch-layout { grid-template-columns:minmax(0,1fr); }
  .ubn-watch-next .ubn-watch-card { grid-template-columns:minmax(0,40%) minmax(0,1fr); }
  .ubn-watch-header { gap:8px; }
}
