/* Responsive refinements preserve the approved artwork and palette. */
.site-header,.top-navigation,.header-actions,.screen-layout>*,.right-column{min-width:0}
@media(min-width:900px) and (max-width:1099px){.site-header,html[data-theme] .site-header{flex-wrap:wrap;row-gap:6px}.site-header .brand-shell{order:0}.header-actions{order:1;margin-left:auto}.top-navigation{order:2;flex:1 0 100%;overflow-x:visible;justify-content:center}}
dialog{box-sizing:border-box;width:min(520px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);overflow-y:auto;padding:clamp(16px,4vw,26px);border:2px solid var(--orange,#ee801c);border-radius:16px;background:#fffdf8;color:#143859;box-shadow:0 14px 44px #071f4240}
dialog::backdrop{background:#071f427a}.popup-brand{display:block;width:154px;max-width:65%;height:auto;margin:0 auto 14px;object-fit:contain}dialog h2{color:#143859;line-height:1.4}dialog label{display:block;color:#143859;margin-top:12px}dialog input:not([type=checkbox]):not([type=radio]),dialog textarea,dialog select{box-sizing:border-box;width:100%;max-width:100%;padding:9px 11px;border:1px solid #98aabc;border-radius:7px;background:#fff;color:#143859;font:14px/1.4 var(--ui,'Trebuchet MS',sans-serif)}
input.is-filled,textarea.is-filled,select.is-filled{border-color:var(--orange,#ee801c)!important;box-shadow:inset 0 0 0 .5px var(--orange,#ee801c)}input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #f6b06a;outline-offset:2px}input[type=checkbox],input[type=radio]{accent-color:var(--orange,#ee801c)}
dialog button,dialog .quiet-button{box-sizing:border-box;width:auto;min-width:0;min-height:36px;margin-top:9px;padding:7px 14px;border:1px solid var(--orange,#ee801c);border-radius:8px;background:#fff;color:#143859;font:600 13px/1.35 var(--ui,'Trebuchet MS',sans-serif)}dialog button[type=submit]{background:#143859;color:#fff}.access-tabs{display:flex;gap:8px;flex-wrap:wrap}.access-tabs button[aria-pressed=true]{background:var(--orange,#ee801c);color:#143859}.access-availability{font:12px/1.5 var(--ui,'Trebuchet MS',sans-serif);color:#536b80;margin:12px 0 4px}dialog p[role=status]{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
@media(max-width:540px){dialog{padding:16px}.popup-brand{width:136px}dialog h2{font-size:19px}.header-actions .account{max-width:100%}}
@media(pointer:coarse){dialog button,dialog .quiet-button{min-height:44px}}
/* Keep the header selector compact; language choices remain complete. */
.header-actions .r4d-language-button{min-width:44px;min-height:32px;height:32px;gap:3px;padding:4px 6px;border-color:var(--orange,#ee801c);border-radius:8px;font-size:11px}.header-actions .r4d-language select{width:82px!important;max-width:82px;min-height:32px!important;height:32px;padding:3px 5px!important;font-size:11px!important}.r4d-language-dialog{width:min(300px,calc(100vw - 28px));padding:18px}.r4d-language-dialog select{font-size:13px;min-height:36px}
#create-access-dialog,.protected-access-dialog,#user-account-menu{width:min(500px,calc(100vw - 28px));max-width:calc(100vw - 28px);max-height:calc(100dvh - 28px);padding:20px;border:2px solid var(--orange,#ee801c);background:#fffdf8;color:#143859}
#create-access-dialog button,#create-access-dialog .quiet-button,.protected-access-dialog button{width:auto;min-width:0;min-height:36px;padding:7px 14px;border:1px solid var(--orange,#ee801c);border-radius:8px;font-size:13px;line-height:1.35}#create-access-dialog button[type=submit],.protected-access-dialog button[type=submit]{background:#143859;color:#fff}#create-access-dialog .access-tabs button[aria-pressed=true]{background:var(--orange,#ee801c);color:#143859}
@media(max-width:540px){#create-access-dialog,.protected-access-dialog,#user-account-menu{padding:16px}.header-actions .r4d-language-button{min-width:38px;padding-inline:4px}}
@media(pointer:coarse){#create-access-dialog button,.protected-access-dialog button,.header-actions .r4d-language-button{min-height:44px;height:auto}}
@media(max-width:360px){.header-actions>a.icon-button{display:none}.site-header .brand-shell,html[data-theme] .site-header .brand-shell{min-width:90px}}
.header-actions .r4d-language-button{width:auto;min-width:40px;max-width:64px;min-height:28px;height:28px;padding:3px 5px;gap:2px;font:600 10px/1.2 Arial,sans-serif;white-space:nowrap;border-radius:7px}
@media(pointer:coarse){.header-actions .r4d-language-button{min-width:44px;min-height:44px;height:auto}}
.site-footer .pointimovie-link{color:inherit;text-decoration:underline;text-underline-offset:3px}.site-footer .pointimovie-link:hover,.site-footer .pointimovie-link:focus-visible{color:var(--orange,#ee801c)}

.protected-account-form label{display:block;margin:.7rem 0}.protected-account-form input:not([type=checkbox]){width:100%;box-sizing:border-box}.protected-account-form button,.protected-access-dialog button{padding:.45rem .7rem;min-height:36px}.protected-account-form .password-visibility,.protected-access-dialog .password-visibility{width:auto;margin:.3rem 0;font-size:.85em}.protected-account-form input:focus,.protected-account-form input.has-value{border-color:#ef7900}.protected-account-form p[role=status]{white-space:normal;overflow-wrap:anywhere}

/* Compact member forms: each field and its visibility control share a row. */
.protected-access-dialog{width:min(660px,calc(100vw - 28px));padding:16px}
.protected-access-dialog>.popup-brand{width:120px;margin:0 auto 6px}
.protected-access-dialog>h2{font-size:20px;line-height:1.3;margin:6px 0 10px}
.protected-access-dialog .access-tabs{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;margin:0 0 10px}
.protected-access-dialog .access-tabs button{margin:0;padding:5px 10px;min-height:32px}
.protected-access-dialog .access-tabs .access-close{margin-left:auto}
.protected-account-form label.member-field,.protected-access-dialog label.member-field{display:grid;grid-template-columns:145px minmax(0,1fr);align-items:center;column-gap:10px;row-gap:4px;margin:8px 0;font-size:12px;line-height:1.4}
.protected-account-form label.member-password-field,.protected-access-dialog label.member-password-field{grid-template-columns:145px minmax(0,1fr) auto}
.member-field-caption{min-width:0}
.protected-account-form .member-field input,.protected-access-dialog .member-field input{min-width:0;width:100%;margin:0;padding:7px 9px;min-height:34px}
.protected-account-form .member-field .password-visibility,.protected-access-dialog .member-field .password-visibility{margin:0;padding:5px 8px;min-height:34px;font-size:12px;white-space:nowrap}
.protected-account-form>p:not([role=status]){font:12px/1.45 var(--ui,'Trebuchet MS',sans-serif);margin:8px 0;overflow-wrap:anywhere}
.protected-account-form>label:not(.member-field){font:12px/1.45 var(--ui,'Trebuchet MS',sans-serif);margin:8px 0}
.protected-account-form p[role=status]:empty{display:none}
@media(max-width:540px){.protected-account-form label.member-field,.protected-access-dialog label.member-field{grid-template-columns:minmax(0,1fr)}.protected-account-form label.member-password-field,.protected-access-dialog label.member-password-field{grid-template-columns:minmax(0,1fr) auto}.member-field-caption{grid-column:1/-1}.protected-access-dialog>h2{font-size:17px}}
@media(pointer:coarse){.protected-access-dialog .access-tabs button,.protected-account-form .member-field .password-visibility,.protected-access-dialog .member-field .password-visibility{min-height:44px}}

.protected-account-form [hidden],.protected-access-dialog [hidden]{display:none!important}

/* Account access hierarchy and personal profile. */
.protected-access-dialog .access-tabs{border-bottom:1px solid #d6e1eb;padding-bottom:9px}
.protected-access-dialog .access-tabs button[aria-pressed=true]{background:#143859;color:#fff;border-color:#143859}
.protected-access-dialog .access-tabs .access-close{border-color:transparent;background:transparent;color:#536b80}
.protected-account-form button[type=submit]{min-width:140px;background:#143859;color:#fff;box-shadow:0 2px 5px #14385920}
.protected-access-dialog>section>button{border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;padding-left:0}
.account-policy-details{font:12px/1.45 var(--ui,'Trebuchet MS',sans-serif);color:#536b80;margin:10px 0}
.account-policy-details summary{cursor:pointer;color:#143859}.account-policy-details p{margin:8px 0}
.member-avatar-image{object-fit:cover;border-radius:50%;margin-right:7px;vertical-align:middle}
.member-profile-form label{display:block;margin:14px 0}.member-profile-form input:not([type=file]),.member-profile-form select,.member-profile-form textarea{display:block;width:100%;box-sizing:border-box;margin-top:6px;padding:9px 11px;border:1px solid #98aabc;border-radius:7px;font:inherit;color:#143859;background:#fff}
.member-profile-form input[readonly]{background:#edf3f8}.member-profile-form p{font:13px/1.5 var(--ui,'Trebuchet MS',sans-serif)}
.profile-avatar-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.profile-avatar-preview,.profile-avatar-initial{width:88px;height:88px;border-radius:50%;object-fit:cover;background:#edf3f8;border:2px solid #ef7900}.profile-avatar-initial{display:flex;align-items:center;justify-content:center;font-size:32px;color:#143859}.member-profile-form [hidden]{display:none!important}.profile-avatar-row input{display:block;max-width:240px;font:13px var(--ui,'Trebuchet MS',sans-serif)}
.member-profile-form button{padding:9px 14px;border:1px solid #ef7900;border-radius:8px;background:#fff;color:#143859}.member-profile-form button[type=submit]{background:#143859;color:white}

body[data-member-workspace="pending"] main>:not(#member-workspace-status),body[data-member-workspace="locked"] main>:not(#member-workspace-status){display:none!important}body[data-member-workspace="ready"] #member-workspace-status{display:none}.scene-folders{display:flex;gap:10px;flex-wrap:wrap}.scene-icon{min-width:48px;min-height:48px}.sequence-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}.sequence-open img{max-width:100%;height:auto}.member-screening video{width:100%;max-height:55vh}.member-screening .draft-tools{display:flex;gap:8px;flex-wrap:wrap}

/* Member feedback, conventional player close control and inactivity warning. */
.member-screening{position:relative;padding-top:48px}.member-screening .member-modal-close{position:absolute;top:10px;right:10px;width:40px;height:40px;min-width:40px;padding:0;font:28px/1 sans-serif;border:1px solid #ee801c;border-radius:8px;background:#fffdf8;color:#143859;cursor:pointer}.member-modal-close:focus-visible{outline:3px solid #ee801c;outline-offset:2px}
.composition-feedback{padding:12px;border:1px solid #ee801c;border-radius:8px;overflow-wrap:anywhere}.composition-feedback[data-tone=error]{border-width:2px;color:#922f00}
.member-session-warning{width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;border:2px solid #ee801c;border-radius:16px;background:#fffdf8;color:#143859;padding:24px}.member-session-warning button{padding:10px 16px;min-height:44px;margin:6px;border:1px solid #ee801c;border-radius:8px;background:#fffdf8;color:#143859}.member-session-warning button:first-of-type{background:#143859;color:white}.member-session-warning::backdrop{background:rgba(10,30,55,.5)}

/* One conventional dismiss control for every protected account popup. */
dialog.protected-access-dialog,dialog.member-account-menu{position:relative;padding-top:44px}
dialog .member-modal-close{position:absolute;top:10px;right:10px;width:40px;height:40px;min-width:40px;min-height:40px;margin:0;padding:0;font:28px/1 sans-serif;border:1px solid #ee801c;border-radius:8px;background:#fffdf8;color:#143859;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:1}
dialog .member-modal-close:focus-visible{outline:3px solid #ee801c;outline-offset:2px}

.member-owned-productions .user-video-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:20px}.member-owned-productions .user-video-card{border:1px solid #cad8e4;border-radius:12px;padding:14px;overflow-wrap:anywhere}.member-owned-productions .user-video-card>img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:8px;cursor:pointer}.member-owned-productions .draft-tools{display:flex;gap:10px;flex-wrap:wrap}.member-owned-productions .text-link{display:inline-block;margin:8px}.member-owned-productions button{min-height:40px;padding:8px 12px;border:1px solid #ee801c;border-radius:8px;color:#143859;background:#fffdf8}.member-owned-productions select,.member-owned-productions input{max-width:100%}
.sequence-preview-actions{display:flex;gap:6px;flex-wrap:wrap;margin:6px 0}.sequence-preview-actions button{font:12px/1.4 sans-serif;padding:6px 9px;min-height:34px}.sequence-tile .sequence-screening{padding:44px 0 0;margin:0 0 8px}.sequence-tile .sequence-screening h2{font-size:14px;overflow-wrap:anywhere}.sequence-tile .sequence-screening p{font:12px/1.4 sans-serif;overflow-wrap:anywhere}.sequence-tile .sequence-screening video{width:100%;max-height:180px}

/* Restore original reserved-column behaviour for one or several productions. */
.member-owned-productions .user-video-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))}
.member-owned-productions .user-video-card>img{height:auto;aspect-ratio:16/9;display:block}

/* Creator review improvements, 2026-11-01 */
.scene-folders .scene-icon{transition:transform .15s,background .15s;min-width:78px}
.scene-folders .scene-filled{background:#ddf2df!important;border:2px solid #278242!important;color:#145529!important}
.scene-folders .scene-current{background:#ffbd60!important;border:3px solid #e87900!important;transform:scale(1.09);color:#12334f!important;box-shadow:0 0 0 3px #fff3dc}
.scene-folders .scene-add{background:#ffe68a!important;border-color:#c59700!important}
#editing-next{background:#ffad36!important;border:2px solid #b86400!important;color:#12334f!important;padding:15px 34px!important;font-size:20px!important;font-weight:700!important;border-radius:14px!important}
#creator-library button,#creator-library a.text-link,#creator-library a.quiet{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ee850e;border-radius:12px;padding:11px 15px;background:#fffdf7;color:#173b57;text-decoration:none;font:600 14px Arial,sans-serif;min-height:43px;box-sizing:border-box;cursor:pointer}
#creator-library .draft-tools{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
#creator-library .user-video-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}
#creator-library .user-video-card{padding:16px;border-radius:18px;max-width:430px}
#creator-library .user-video-card>img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:12px}
.publication-status{font-weight:700;color:#925000;padding:8px 0}
/* Public playback uses the same controls as the creator and account areas. */
#published-screening .draft-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:18px}
#published-screening .draft-tools button{appearance:none;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border:1px solid #ef7900;border-radius:12px;background:#fffdf7;color:#173b57;font:600 14px/1.35 Arial,sans-serif;cursor:pointer;transition:background .15s,box-shadow .15s}
#published-screening .draft-tools button:first-child{background:#173b57;color:#fff;box-shadow:0 2px 5px #14385920}
#published-screening .draft-tools button:hover:not(:disabled){background:#fff0d9;box-shadow:0 2px 6px #14385920}
#published-screening .draft-tools button:first-child:hover:not(:disabled){background:#245577}
#published-screening .draft-tools button:focus-visible{outline:3px solid #ef7900;outline-offset:3px}
#published-screening .draft-tools button:disabled{opacity:.55;cursor:wait}
#published-screening .draft-tools button[hidden]{display:none}
@media(max-width:540px){#published-screening .draft-tools{display:grid;grid-template-columns:1fr 1fr}#published-screening .draft-tools button{width:100%;padding:10px;font-size:13px}}
.sequence-tile{position:relative}.sequence-tile>.sequence-screening{position:absolute;inset:0;z-index:3;margin:0!important;overflow:auto;background:#fffdf7;padding:10px!important}.sequence-tile>.sequence-screening h2{font-size:14px}.sequence-tile>.sequence-screening p{font-size:12px}.sequence-tile>.sequence-screening video{width:100%;aspect-ratio:16/9}
