.video-studio{max-width:1500px}.video-studio-layout{display:grid;grid-template-columns:minmax(270px, .7fr) minmax(0,1.6fr);gap:24px}.video-library{align-self:start}.video-library .gear-studio-list{max-height:70vh}.video-library li img{float:left;object-fit:cover;margin:0 10px 6px 0;border-radius:4px}.video-library li strong{display:block}.video-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.video-checks{display:flex;flex-wrap:wrap;gap:5px 16px}.video-studio .video-checks label,.video-related-list label{display:flex;align-items:center;gap:8px}.video-studio input[type=checkbox]{width:18px;height:18px;flex:0 0 18px}.video-studio fieldset{border:1px solid #707070;padding:14px;margin:15px 0;border-radius:5px;min-width:0}.video-studio legend{font-weight:700;max-width:100%;overflow-wrap:anywhere}.video-studio small{display:block;font-size:.82rem;line-height:1.5;margin-top:5px;color:#b9b9b9}.video-tool-result{display:block;width:100%;text-align:left;padding:12px;border:1px solid #707070;background:#303030;color:#f2f2f2;border-radius:4px;margin:6px 0;cursor:pointer}.video-save-bar{display:flex;gap:10px;flex-wrap:wrap;border-top:1px solid #707070;padding-top:18px;margin-top:20px}.video-related-list{max-height:270px;overflow:auto}.video-source-description{white-space:pre-wrap;font:inherit;max-height:200px;overflow:auto}.video-studio .studio-tabs [aria-current=step]{background:#1268ae;color:white}.video-studio [hidden]{display:none!important}.video-studio input,.video-studio select,.video-studio textarea{max-width:100%;width:100%}.video-studio button:focus-visible,.video-studio a:focus-visible{outline:3px solid #d98c00;outline-offset:3px}#v-preview{width:100%;height:720px;background:#173a53;border:1px solid #707070;margin:15px auto;display:block}#v-editor{scroll-margin-top:90px;min-width:0}#v-message:not(:empty){padding:14px;border-left:4px solid #398cd0;background:#24364d;color:#dceaff}.video-warning{color:#ffc286;background:#433226;padding:10px}.video-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.video-tool-card{border:1px solid #707070;border-radius:6px;padding:16px}.video-tool-card img{object-fit:contain;width:100%;height:130px}.video-tool-card a{display:block;margin-top:12px}.video-preview-banner{padding:16px;background:#36321f;color:#ffe4a0;font-weight:700}.video-bulk{border-bottom:1px solid #707070;padding-bottom:16px}@media(max-width:850px){.video-studio-layout{grid-template-columns:1fr}.video-library .gear-studio-list{max-height:320px}.video-field-grid{grid-template-columns:1fr}.video-studio .studio-tabs button{flex:1 1 40%}.video-save-bar .gear-button{flex:1}.video-tool-grid{grid-template-columns:1fr}}

.video-bulk>.gear-save{margin-right:14px}.video-studio .gear-save:disabled{opacity:.5;cursor:default}.video-studio textarea{font-family:inherit;font-weight:400}

.video-page-trail{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:22px;font-size:.9rem}
.video-page-trail a{text-decoration:underline}.video-notes .video-note{border:1px solid #707070;border-radius:7px;margin:10px 0;padding:0 16px}
.video-note>summary{cursor:pointer;padding:15px 0;font-weight:700;line-height:1.4}
.video-note section{margin:18px 0}.video-note h3{font-size:1rem}.video-note a{text-decoration:underline}
.video-related-card{display:flex!important;align-items:center;gap:12px;padding:12px 0}
.video-related-card img{width:110px;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:5px;flex:0 0 auto}
.video-related-card strong{font-size:.9rem;line-height:1.4}
@media(max-width:520px){.video-related-card img{width:90px;height:auto}}

/* Rounded section controls remain inset within the shared dark surface. */
.watch-page .watch-article .video-sections{
 display:flex;flex-wrap:wrap;align-items:stretch;gap:6px;padding:8px;
 max-width:100%;min-width:0;border-radius:18px;
 border:1px solid var(--te-border,#707070);background:var(--te-soft,#303030);
}
.watch-page .watch-article .video-sections>a{
 display:inline-flex;align-items:center;justify-content:center;flex:0 1 auto;
 min-width:0;max-width:100%;min-height:44px;padding:10px 14px;
 border:1px solid transparent;border-radius:11px;background:var(--te-soft,#303030);color:inherit;
 font-weight:650;text-align:center;text-decoration:none;overflow-wrap:anywhere;box-shadow:none;
 transition:background-color 160ms ease,border-color 160ms ease;
}
.watch-page .watch-article .video-sections>a:is(:hover,:focus-visible){
 background:var(--te-hover,#383838);border-color:var(--te-border,#707070);
 color:inherit;box-shadow:none;
}
.watch-page .watch-article .video-sections>a:focus-visible{
 outline:2px solid var(--te-accent,#147bd4);outline-offset:2px;
}
@media(max-width:560px){
 .watch-page .watch-article .video-sections>a{flex:1 1 calc(50% - 3px);padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){
 .watch-page .watch-article .video-sections>a{transition:none}
}
@media(forced-colors:active){
 .watch-page .watch-article .video-sections>a:is(:hover,:focus-visible){
  background:Canvas;color:LinkText;border-color:LinkText;outline-color:Highlight;
 }
}




/* One description: full content is available before script enhancement. */
.watch-page .watch-article .video-description{margin:18px 0 24px;border:1px solid var(--te-border,#707070);border-radius:16px;background:var(--te-soft,#303030);padding:16px 18px;min-width:0;overflow-wrap:anywhere;scroll-margin-top:100px}
.watch-page .video-description>summary{display:flex;flex-direction:column;align-items:flex-start;gap:10px;list-style:none;cursor:pointer;border-radius:8px;color:inherit}
.watch-page .video-description>summary::-webkit-details-marker{display:none}
.watch-page .video-description-preview{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:1rem;line-height:1.55;text-align:left}
.watch-page .video-description-more,.watch-page .video-description-less{font-weight:700;font-size:.9rem;color:var(--te-accent,#459bff)}
.watch-page .video-description-less{display:none}
.watch-page .video-description[open] .video-description-preview,.watch-page .video-description[open] .video-description-more{display:none}
.watch-page .video-description[open] .video-description-less{display:inline}
.watch-page .video-description-body{padding-top:12px;line-height:1.65}
.watch-page .video-description-body>p:first-child{margin-top:0}
.watch-page .video-description-section{margin:22px 0}
.watch-page .video-description-section h3{font-size:1rem;margin-bottom:8px}
.watch-page .video-description a{text-decoration:underline}
.watch-page .video-description>summary:focus-visible{outline:3px solid var(--te-accent,#147bd4);outline-offset:5px}
.watch-page .video-description #sources{scroll-margin-top:110px}
.watch-page .video-heading h1{margin-bottom:12px}
.watch-page .video-products{margin-top:0}
@media(max-width:560px){.watch-page .watch-article .video-description{padding:14px;border-radius:12px}.watch-page .video-description-preview{font-size:.95rem}}
@media(prefers-reduced-motion:reduce){.watch-page .video-description,.watch-page .video-description>summary{scroll-behavior:auto;transition:none}}
@media(forced-colors:active){.watch-page .watch-article .video-description{background:Canvas;color:CanvasText;border-color:CanvasText}.watch-page .video-description-more,.watch-page .video-description-less{color:LinkText}.watch-page .video-description>summary:focus-visible{outline-color:Highlight}}
.watch-page .video-tool-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,220px),1fr));gap:16px}
.watch-page .video-tool-card{border:1px solid var(--te-border,#707070);border-radius:12px;padding:16px;background:var(--te-soft,#303030);min-width:0}
.watch-page .video-tool-card h3{font-size:15px;overflow-wrap:anywhere;color:var(--te-text,#f2f2f2)}
.watch-page .video-tool-card img{object-fit:contain;height:150px}
.watch-page .video-tool-card a{color:var(--te-accent,#459bff)}
.watch-page .video-preview-banner{background:#36321f;color:#ffe4a0;border:1px solid #8b763f;border-radius:8px}
@media(max-width:600px){.watch-page .watch-article>.video-description{margin-left:16px;margin-right:16px}}

/* A hidden editor leaves the inventory the full available width. */
html body.te-studio main .video-studio-layout[data-editor=empty]{grid-template-columns:minmax(0,1fr)}
.video-studio .gear-studio-actions [aria-pressed=true]{border-color:var(--te-accent,#459bff);background:var(--te-selected,#203e63)}
.video-studio .studio-status-deleted{border:1px solid #ac6969;background:#422a30;color:#ffcece}
.video-deleted-thumbnail{display:block;width:min(100%,360px);height:auto;max-height:240px;object-fit:contain;border-radius:12px}
.video-deleted-description{white-space:pre-wrap;overflow-wrap:anywhere}
.video-delete-danger{border:1px solid #cf7373!important;background:transparent!important;color:var(--te-text,#f2f2f2)!important}
.video-owner-delete-dialog{box-sizing:border-box;width:min(560px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--te-border,#707070);border-radius:18px;padding:clamp(20px,4vw,30px);background:var(--te-elevated,#202630);color:var(--te-text,#f2f2f2);box-shadow:0 18px 70px #0008}
.video-owner-delete-dialog::backdrop{background:#000a}
.video-owner-delete-dialog h2{margin-top:0;font-size:1.35rem}
.video-owner-delete-title{overflow-wrap:anywhere;padding:12px 14px;border:1px solid var(--te-border,#707070);border-radius:10px;background:var(--te-soft,#303030)}
.video-owner-delete-dialog [role=status]{overflow-wrap:anywhere}
.video-owner-delete-actions{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:22px}
.video-owner-delete-actions button{min-height:44px;padding:11px 17px;border:1px solid var(--te-border,#707070);border-radius:10px;background:var(--te-soft,#303030);color:inherit;font:inherit;font-weight:650;cursor:pointer}
.video-owner-delete-actions button:disabled{opacity:.55;cursor:default}
.video-owner-delete-dialog :focus-visible{outline:3px solid var(--te-accent,#459bff);outline-offset:3px}
@media(max-width:480px){.video-owner-delete-actions button{flex:1}}
@media(forced-colors:active){.video-owner-delete-dialog,.video-owner-delete-title,.video-owner-delete-actions button{background:Canvas;color:CanvasText;border-color:CanvasText}.video-delete-danger{border-color:CanvasText!important;color:CanvasText!important}}
