@font-face{font-family:Fagbrev;src:url('../assets-apple/fonts/montserrat-latin-variable.woff2') format('woff2');font-weight:100 900;font-display:swap}
:root{color-scheme:light;--ink:#071725;--muted:#66717d;--line:#e5e8ec;--page:#f6f5f8;--orange:#f35b34;--blue:#224fbe;--radius:22px;font-family:-apple-system,BlinkMacSystemFont,'Helvetica Neue',sans-serif;color:var(--ink);background:var(--page);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}a{color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #5489ee;outline-offset:4px}button svg,a svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}[hidden]{display:none!important}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;white-space:nowrap}.skip-link{position:fixed;top:12px;left:12px;z-index:10;background:white;border-radius:8px;padding:12px;transform:translateY(-200%)}.skip-link:focus{transform:none}
.site-header{height:88px;max-width:1440px;margin:auto;padding:0 44px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;white-space:nowrap;font-size:23px;letter-spacing:-.8px;font-weight:650}.brand img{display:block;width:31px;height:31px;object-fit:contain}.header-label{font-size:14px;color:var(--muted)}.button{appearance:none;border:1px solid var(--line);background:white;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 18px;border-radius:12px;text-decoration:none;font-size:14px;font-weight:600;line-height:1.3;transition:background .18s,border-color .18s}.button:hover{background:#f0f3f7;border-color:#d6dce4}.button.primary{background:var(--ink);border-color:var(--ink);color:#fff}.button.primary:hover{background:#223444}.button.quiet{background:transparent;border:0;padding-inline:4px;color:var(--muted)}.button.small{min-height:40px;padding:9px 12px}.button.danger{color:#a23927}.text-button{background:none;border:0;padding:8px 0;color:var(--blue);font-size:14px;font-weight:550;text-align:left}
.viewer-main{width:min(1180px,calc(100% - 72px));margin:28px auto 0}.viewer-heading{max-width:100%;display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:24px}.eyebrow{margin:0 0 8px;font-size:13px;font-weight:600;color:var(--muted);letter-spacing:.07em;text-transform:uppercase}h1{font-size:clamp(25px,3vw,34px);letter-spacing:-1.1px;line-height:1.2;margin:0;font-weight:650}.duration-label{font-size:14px;color:var(--muted);white-space:nowrap;display:flex;align-items:center;gap:7px;padding-bottom:4px}.duration-label svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7}.viewer-player{width:min(100%,calc((100dvh - 278px)*1.5));min-width:min(100%,600px);margin:auto}.film-shell{position:relative;width:100%;padding-top:66.666667%;border-radius:var(--radius);overflow:hidden;background:#fff;border:1px solid #e8eaee;box-shadow:0 16px 48px -24px #10213b30}.film-shell iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#f6f5f8;display:block}.frame-loading{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;z-index:2;background:var(--page);color:var(--muted);font-size:14px}.spinner{height:24px;width:24px;border-radius:50%;border:2px solid #dce1e8;border-top-color:var(--ink);animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.frame-error{text-align:center;padding:32px}.frame-error strong{display:block;color:var(--ink);font-size:19px;margin-bottom:10px}.frame-error p{max-width:330px;line-height:1.5;margin:0 0 18px}.frame-error .button{margin:auto}
.chapter-section{margin:30px auto 0;width:min(100%,1050px)}.chapter-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.chapter-header h2{font-size:17px;letter-spacing:-.3px;margin:0;font-weight:600}.chapter-header span{font-size:13px;color:var(--muted)}.chapters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.chapter{display:flex;align-items:center;gap:14px;min-height:54px;appearance:none;text-align:left;background:transparent;border:1px solid transparent;border-radius:12px;padding:10px 14px;color:var(--ink);transition:background .18s,border-color .18s}.chapter:hover{background:#fff;border-color:var(--line)}.chapter[aria-current=true]{background:#fff;border-color:#dfe4eb;box-shadow:0 2px 8px #14253405}.chapter time{font-size:12px;font-variant-numeric:tabular-nums;letter-spacing:.1px;color:var(--muted);border-radius:6px;padding:5px 6px;background:#eaeef3;min-width:43px;text-align:center}.chapter[aria-current=true] time{background:#fff0e9;color:#aa3b19}.chapter span{font-size:14px;font-weight:500;line-height:1.3}.site-footer{max-width:1440px;padding:36px 44px 28px;margin:auto;font-size:13px;color:#7b8590;display:flex;justify-content:space-between;gap:20px}.site-footer a{text-decoration:none}.site-footer a:hover{text-decoration:underline}
.config-main{max-width:1440px;margin:20px auto 0;padding:0 44px}.config-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:30px}.config-heading p{font-size:16px;color:var(--muted);margin:10px 0 0;line-height:1.5}.save-state{font-size:13px;color:var(--muted);text-align:right;max-width:190px;line-height:1.5}.config-grid{display:grid;grid-template-columns:370px minmax(0,1fr);gap:36px;align-items:start}.settings-card{background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden}.setting-section{padding:26px;border-bottom:1px solid var(--line)}.setting-section:last-child{border:0}.setting-section h2{font-size:16px;margin:0 0 16px;letter-spacing:-.2px;font-weight:650}.field-label{font-size:14px;font-weight:550;display:block;margin:0 0 9px}.text-field,.select-field{width:100%;border:1px solid #d9dfe6;border-radius:10px;background:#fff;color:var(--ink);min-height:46px;padding:11px 13px;font-size:16px}.text-field:hover,.select-field:hover{border-color:#a9b3c0}.field-help{font-size:14px;line-height:1.55;color:var(--muted);margin:10px 0 0}.toggle-line{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;font-size:15px;font-weight:550}.switch{position:relative;display:inline-flex;flex:none;width:46px;height:28px}.switch input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer;z-index:1}.switch-track{position:absolute;inset:0;background:#d7dce3;border-radius:20px;transition:background .22s}.switch-track:after{content:'';position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:white;box-shadow:0 1px 3px #0002;transition:transform .25s cubic-bezier(.22,1,.36,1)}.switch input:checked+.switch-track{background:#27ad67}.switch input:checked+.switch-track:after{transform:translateX(18px)}.switch input:focus-visible+.switch-track{outline:3px solid #5489ee;outline-offset:4px}.upload-area{position:relative;display:flex;align-items:center;gap:14px;border:1px dashed #cbd3de;border-radius:13px;background:#fafbfd;padding:17px;transition:border .2s,background .2s;cursor:pointer}.upload-area:hover,.upload-area.dragover{background:#f0f5fc;border-color:#6b8fc5}.upload-area input{position:absolute;opacity:0;width:100%;height:100%;inset:0;cursor:pointer}.upload-area:focus-within{outline:3px solid #5489ee;outline-offset:3px}.upload-icon{width:42px;height:42px;border-radius:10px;background:white;border:1px solid var(--line);display:grid;place-items:center;flex:none}.upload-icon svg{width:21px;height:21px;fill:none;stroke:#617388;stroke-width:1.7}.upload-copy{min-width:0}.upload-copy strong{display:block;font-size:14px;font-weight:600;line-height:1.5}.upload-copy span{display:block;font-size:12px;color:var(--muted);margin-top:2px}.media-preview{margin-top:13px;display:flex;align-items:center;gap:12px;min-height:56px}.media-thumbnail{width:58px;height:52px;object-fit:contain;border-radius:9px;background:#f2f4f7;flex:none}.media-info{min-width:0;font-size:13px;line-height:1.4}.media-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500}.media-info span{color:var(--muted)}.media-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.media-status{font-size:13px;line-height:1.45;margin:10px 0 0;color:var(--muted);overflow-wrap:anywhere}.media-status[data-error=true]{color:#a13223}.sound-note{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px;margin-top:13px}.sound-note svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6}.preview-column{position:sticky;top:24px;min-width:0}.preview-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.preview-label h2{margin:0;font-size:16px;font-weight:600}.preview-label span{font-size:13px;color:var(--muted)}.quick-preview{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.quick-preview button{font-size:13px;min-height:38px;border-radius:10px}.recording-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:20px;padding:18px 20px;border:1px solid var(--line);background:#fff;border-radius:16px}.cue-copy{text-align:center;font-size:14px;line-height:1.5;min-width:0}.cue-copy small{display:block;color:var(--muted);font-size:12px;letter-spacing:.03em}.cue-copy strong{display:block;font-weight:550}.recording-help{font-size:13px;color:var(--muted);text-align:center;margin-top:12px;line-height:1.5}.config-local-note{font-size:13px;color:var(--muted);line-height:1.5;margin:18px 4px}.config-alert{margin:0 0 18px;padding:14px 16px;border:1px solid #edc1b6;background:#fff5f1;border-radius:12px;font-size:14px;color:#8a2d19;line-height:1.5}
@media(min-width:1500px){.viewer-main{margin-top:44px}.viewer-heading{margin-bottom:28px}}
@media(max-width:1000px){.config-grid{grid-template-columns:320px minmax(0,1fr);gap:24px}.site-header{padding-inline:28px}.config-main{padding-inline:28px}.setting-section{padding:22px}.recording-controls{padding:14px 10px;gap:8px}.recording-controls .button{padding:9px;font-size:0}.recording-controls .button svg{width:20px}.viewer-main{width:calc(100% - 48px)}}
@media(max-width:780px){.site-header{height:74px;padding:0 22px}.brand{font-size:21px}.brand img{width:28px;height:28px}.header-label{font-size:13px}.config-main{margin-top:18px;padding:0 22px}.config-heading{align-items:flex-start;margin-bottom:24px}.config-heading p{font-size:15px}.config-grid{grid-template-columns:1fr;gap:26px}.preview-column{position:static;grid-row:1}.config-settings{grid-row:2}.save-state{display:none}.preview-label{margin-bottom:10px}.settings-card{display:grid;grid-template-columns:1fr 1fr}.setting-section{border-right:1px solid var(--line)}.setting-section:nth-child(even){border-right:0}.setting-section:nth-last-child(2){border-bottom:0}.viewer-main{width:calc(100% - 36px);margin-top:24px}.viewer-player{width:100%;min-width:0}.viewer-heading{gap:16px;margin-bottom:20px}.viewer-heading .eyebrow{font-size:12px}.viewer-heading h1{font-size:26px}.duration-label{font-size:13px}.film-shell{border-radius:17px}.chapters{grid-template-columns:repeat(2,minmax(0,1fr))}.chapter{padding:9px 8px;gap:9px}.site-footer{padding:28px 22px}.recording-controls .button{font-size:13px;padding:9px 12px}.quick-preview{margin-block:12px}.recording-controls{margin-top:14px}.recording-help{margin-bottom:0}}
@media(max-width:480px){.header-label{display:none}.site-header{padding-inline:18px}.site-header .button{font-size:13px;min-height:40px;padding:10px 12px}.config-main{padding-inline:16px}.config-heading h1{font-size:26px}.settings-card{display:block}.setting-section{border-right:0}.setting-section:nth-last-child(2){border-bottom:1px solid var(--line)}.viewer-main{width:calc(100% - 24px);margin-top:16px}.viewer-heading{display:block;padding-inline:5px}.duration-label{margin-top:12px}.chapter-section{margin-top:24px}.chapter-header{padding-inline:5px}.chapter-header span{display:none}.chapter span{font-size:13px}.chapter time{font-size:11px;min-width:37px;padding:4px}.film-shell{border-radius:13px}.site-footer{font-size:12px}.preview-label span{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* The customer view fits in one window; chapter navigation stays compact. */
.viewer-page{height:100vh;height:100dvh;display:flex;flex-direction:column}
html.fa-fullscreen-shell,html.fa-fullscreen-shell body{background:#04121f!important}
.viewer-page .site-header{height:64px;min-height:64px;width:100%;max-width:1440px;padding:0 28px}
.viewer-page .viewer-main{width:100%;min-height:0;flex:1;margin:0;padding:4px 24px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center}
.viewer-page .viewer-heading{display:block;margin:0 0 12px;padding:0;text-align:center}
.viewer-page .viewer-heading h1{font-size:22px;line-height:1.2;letter-spacing:-.55px}
.viewer-page .viewer-player{width:min(100%,1180px,calc((100dvh - 264px)*1.5));min-width:0;margin:0;flex:none}
.chapter-select-row{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px;min-height:40px}
.chapter-select-row label{font-size:14px;color:var(--muted);white-space:nowrap}
.chapter-select-row select{font-size:14px;color:var(--ink);height:40px;max-width:310px;min-width:220px;border:1px solid #dce1e8;border-radius:10px;padding:8px 34px 8px 12px;background:#fff;cursor:pointer}
@media(max-width:600px){.viewer-page .site-header{padding:0 18px}.viewer-page .viewer-main{padding-inline:12px}.viewer-page .viewer-heading h1{font-size:20px}.chapter-select-row{gap:8px}.chapter-select-row label{font-size:13px}.chapter-select-row select{font-size:13px;min-width:0;width:230px;max-width:calc(100vw - 124px)}}
@media(max-height:540px){.viewer-page .site-header{height:44px;min-height:44px;padding-inline:20px}.viewer-page .brand{font-size:19px}.viewer-page .brand img{width:25px;height:25px}.viewer-page .viewer-main{padding:0 16px 8px}.viewer-page .viewer-heading{display:none}.viewer-page .viewer-player{width:min(100%,1180px,calc((100dvh - 186px)*1.5))}.chapter-select-row{margin-top:8px;min-height:36px}.chapter-select-row select{height:36px}}
@media(pointer:coarse){.viewer-page .chapter-select-row select{min-height:44px}.button,.text-button{min-height:44px}.viewer-page .viewer-player{width:min(100%,1180px,calc((100dvh - 272px)*1.5))}.viewer-page .viewer-main{padding-bottom:max(16px,env(safe-area-inset-bottom,0px))}}
@media(pointer:coarse) and (max-height:540px){.viewer-page .viewer-player{width:min(100%,1180px,calc((100dvh - 194px)*1.5))}.viewer-page .viewer-main{padding-bottom:8px}}
/* A quiet, centered masthead leaves the film as the sole focal point. */
.viewer-page{background:var(--page)}
.viewer-page .site-header{height:54px;min-height:54px;justify-content:center;padding:0 20px}
.viewer-page .brand{gap:7px;font-size:17px;font-weight:600;letter-spacing:-.55px}
.viewer-page .brand img{width:24px;height:24px}
.viewer-page .viewer-main{padding:8px 24px 24px;justify-content:center}
.viewer-page .viewer-player{width:min(100%,1280px,calc((100dvh - 178px)*1.5))}
.viewer-page .film-shell{border-color:#e4e6e9;box-shadow:0 18px 60px -30px #162c4935;border-radius:22px}
@media(max-width:600px){.viewer-page .site-header{height:48px;min-height:48px}.viewer-page .brand{font-size:16px}.viewer-page .brand img{width:23px;height:23px}.viewer-page .viewer-main{padding:0 12px max(16px,env(safe-area-inset-bottom,0px))}.viewer-page .viewer-player{width:min(100%,calc((100dvh - 156px)*1.5))}.viewer-page .film-shell{border-radius:16px}}
@media(max-height:540px){.viewer-page .site-header{height:40px;min-height:40px}.viewer-page .viewer-main{padding:0 16px 8px}.viewer-page .viewer-player{width:min(100%,1280px,calc((100dvh - 140px)*1.5))}.viewer-page .film-shell{border-radius:15px}}
/* Office identity and contact access stay outside the film. */
.viewer-page .site-header{justify-content:space-between;gap:14px;max-width:none;padding-inline:24px;margin:0;flex:none}
.office-brand{display:flex;align-items:center;min-width:0;max-width:180px;height:34px;font-size:14px;font-weight:600;letter-spacing:-.2px}
.office-brand img{display:block;max-width:150px;max-height:32px;width:auto;height:auto;object-fit:contain;object-position:left center}
.contact-trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:none;min-height:40px;padding:9px 13px;border:1px solid #e0e3e8;border-radius:999px;background:#ffffffb3;color:#384350;font-size:13px;font-weight:500;letter-spacing:-.12px;transition:background .2s,border-color .2s}
.contact-trigger:hover{background:#fff;border-color:#c9cfd7}.contact-trigger svg{width:17px;height:17px;stroke-width:1.8}
.contact-dialog{position:fixed;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:36px 28px 28px;border:1px solid #ffffffc9;border-radius:26px;background:#fafafc;color:var(--ink);box-shadow:0 24px 100px #04121f38;overflow:auto;overscroll-behavior:contain}
.contact-dialog::backdrop{background:#04121f50;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px)}
.contact-dialog[open]{animation:contact-in .24s cubic-bezier(.2,.8,.2,1)}
@keyframes contact-in{from{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}
.contact-close{position:absolute;top:12px;right:12px;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:#eaedf1;color:#68737d}.contact-close:hover{background:#dfe4eb}.contact-close svg{width:16px;height:16px}
.contact-dialog h2{margin:3px 20px 25px;font-size:16px;font-weight:500;line-height:1.4;letter-spacing:-.25px;text-align:center;color:#64707b;outline:none}
.contact-person{text-align:center}.contact-avatar{width:86px;height:86px;display:grid;place-items:center;overflow:hidden;border-radius:50%;background:#e7ebf0;margin:0 auto;flex:none}.contact-avatar img{width:100%;height:100%;object-fit:cover}.contact-avatar-placeholder{display:grid;place-items:center;color:#8b99a8}.contact-avatar svg{width:38px;height:38px;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
.contact-person h3{font-size:24px;font-weight:600;letter-spacing:-.65px;line-height:1.2;margin:16px 0 24px;overflow-wrap:anywhere}
.contact-links{display:grid;gap:9px}.contact-links a{display:flex;align-items:center;gap:14px;min-height:68px;padding:13px 16px;text-decoration:none;border:1px solid #e8ebef;border-radius:15px;background:white;transition:background .18s}.contact-links a:hover{background:#f0f5fc}.contact-links a>svg{width:21px;height:21px;color:#536f94;flex:none}.contact-links span{min-width:0}.contact-links small{display:block;color:#7b8590;font-size:12px;margin-bottom:3px}.contact-links strong{display:block;overflow-wrap:anywhere;font-size:15px;font-weight:500;letter-spacing:-.2px}.contact-empty{font-size:14px;color:var(--muted);text-align:center;line-height:1.5;margin:0}
.contact-photo-control{display:flex;align-items:center;gap:16px;margin-bottom:12px}.config-contact-avatar{width:64px;height:64px;margin:0}.config-contact-avatar svg{width:29px;height:29px}.photo-upload{position:relative;overflow:hidden;cursor:pointer}.photo-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.photo-upload:focus-within{outline:3px solid #5489ee;outline-offset:3px}.contact-photo-control .text-button{display:block;font-size:13px}.contact-settings .field-label{margin-top:18px}.contact-settings .media-status:empty{display:none}.header-logo-preview{margin-top:14px;padding:16px;background:#f5f5f7;border-radius:12px}.header-logo-preview img{display:block;width:auto;max-width:100%;max-height:52px;object-fit:contain}
@media(max-width:700px){.contact-trigger-detail{display:none}}
@media(max-width:600px){.viewer-page .site-header{padding-inline:14px;gap:8px}.office-brand{max-width:110px;font-size:11px}.office-brand img{max-width:105px;max-height:29px}.contact-trigger{font-size:12px;padding:8px 10px;gap:6px;min-height:40px}}
@media(max-height:540px){.office-brand img{max-height:27px}.contact-trigger{min-height:34px;padding-block:6px}.contact-dialog{padding:24px;max-height:calc(100dvh - 24px)}.contact-dialog h2{margin-bottom:14px}.contact-avatar{width:64px;height:64px}.contact-person h3{font-size:21px;margin:12px 0 16px}.contact-links a{min-height:56px;padding-block:10px}}
@media(pointer:coarse){.contact-close{width:44px;height:44px;top:6px;right:6px}.contact-trigger{min-height:44px}.viewer-page .site-header{min-height:48px}}
@media(pointer:coarse) and (max-height:540px){.viewer-page .viewer-player{width:min(100%,1280px,calc((100dvh - 148px)*1.5))}}
@media(prefers-reduced-motion:reduce){.contact-dialog[open]{animation:none}}
.field-validation{font-size:12px;line-height:1.4;color:#a13223;margin:7px 0 0}.text-field[aria-invalid=true]{border-color:#be6254}
/* A small product signature complements the office identity. */
.player-signature{display:flex;justify-content:center;align-items:center;height:44px;padding-top:4px}
.player-signature a{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:40px;padding:8px 12px;color:#78818c;text-decoration:none;font-family:Fagbrev,-apple-system,BlinkMacSystemFont,sans-serif;font-size:13px;font-weight:600;letter-spacing:-.45px;border-radius:10px;transition:color .18s,background .18s;animation:signature-in .4s ease both}
.player-signature img{display:block;width:19px;height:19px;object-fit:contain}
.player-signature a:hover{color:#071725;background:#e9ecf180}
@keyframes signature-in{from{opacity:0;transform:translateY(3px)}to{opacity:1;transform:translateY(0)}}
.viewer-page .viewer-player{width:min(100%,1280px,calc((100dvh - 222px)*1.5))}
@media(max-width:600px){.viewer-page .viewer-player{width:min(100%,calc((100dvh - 200px)*1.5))}}
@media(max-height:540px){.viewer-page .viewer-player{width:min(100%,1280px,calc((100dvh - 184px)*1.5))}}
@media(pointer:coarse) and (max-height:540px){.viewer-page .viewer-player{width:min(100%,1280px,calc((100dvh - 192px)*1.5))}}
@media(prefers-reduced-motion:reduce){.player-signature a{animation:none}}
/* Contact details are visible alongside the player, without a modal. */
.viewer-page .viewer-main{padding:4px 24px 10px}
.viewer-page .viewer-player{width:100%;height:100%;min-height:0;max-width:1280px;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto 44px;gap:0;flex:1}
.player-screen{display:flex;align-items:center;justify-content:center;min-height:0;min-width:0;overflow:visible}
.viewer-page .player-screen .film-shell{padding:0;flex:none;width:100%;height:100%;max-width:100%;max-height:100%}
.contact-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:5px 24px;padding:16px 8px 0;width:100%;max-width:900px;justify-self:center}
.contact-card h2{font-size:12px;line-height:1.4;color:#78828d;font-weight:400;letter-spacing:0;margin:0;grid-column:1;grid-row:1}.contact-card h2 br{display:none}.contact-card h2 br:after{content:' '}
.contact-card .contact-person{display:flex;align-items:center;gap:11px;text-align:left;grid-column:1;grid-row:2;min-width:0}
.contact-card .contact-avatar{width:42px;height:42px;margin:0}.contact-card .contact-avatar svg{width:23px;height:23px;stroke-width:1.6}
.contact-card .contact-person h3{font-size:16px;line-height:1.3;letter-spacing:-.3px;margin:0;font-weight:550;overflow-wrap:anywhere}
.contact-card .contact-links{grid-column:2;grid-row:1/span 2;display:flex;align-items:center;justify-content:flex-end;gap:22px}
.contact-card .contact-links a{min-height:44px;padding:5px 0;gap:9px;background:none;border:0;border-radius:5px}.contact-card .contact-links a:hover{color:#224fbe}.contact-card .contact-links strong{font-size:13px;font-weight:400}.contact-card .contact-links small{font-size:11px}.contact-card .contact-links svg{width:17px;height:17px;color:#7b8998}
.contact-card .contact-empty{grid-column:2;grid-row:1/span 2;text-align:right;font-size:13px;margin:0}.contact-card .contact-links:has(a:not([hidden]))+.contact-empty{display:none}
@media(max-width:900px){.contact-card .contact-links{display:grid;gap:0}.contact-card .contact-links a{min-height:38px}.contact-card .contact-links small{display:none}}
@media(max-width:600px){.viewer-page .viewer-main{padding:0 12px max(8px,env(safe-area-inset-bottom,0px))}.contact-card{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:6px;padding:12px 6px 0}.contact-card h2{font-size:11px}.contact-card .contact-links{grid-column:1;grid-row:3;justify-content:stretch;padding-left:53px}.contact-card .contact-links a{min-height:38px}.contact-card .contact-empty{grid-column:1;grid-row:3;text-align:left;padding-left:53px;font-size:12px}.contact-card .contact-person h3{font-size:15px}.contact-card .contact-links strong{font-size:12px}}
@media(max-height:540px) and (min-width:650px){.viewer-page .viewer-main{padding:0 16px 8px}.viewer-page .viewer-player{max-width:1100px;grid-template-columns:minmax(0,1fr) 240px;grid-template-rows:minmax(0,1fr) 44px;gap:0 24px}.player-screen{grid-column:1;grid-row:1/span 2}.contact-card{grid-column:2;grid-row:1;align-self:end;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto;gap:10px;padding:0}.contact-card h2{font-size:11px}.contact-card .contact-links{grid-column:1;grid-row:3;justify-content:start;display:grid;gap:0}.contact-card .contact-links a{min-height:44px}.contact-card .contact-empty{grid-column:1;grid-row:3;text-align:left}.viewer-page .player-signature{grid-column:2;grid-row:2;justify-content:flex-start;margin-left:-12px}}
/* Quiet partner identity, aligned to the actual video frame. */
.viewer-page .site-header{height:64px;min-height:64px;padding:0 24px 0 var(--player-left,24px);margin:0;background:transparent}
.partner-brand{display:inline-flex;align-items:center;gap:14px;max-width:100%;min-width:0}
.partner-brand .office-brand{height:30px;max-width:120px}.partner-brand .office-brand img{max-height:26px;max-width:112px}
.partner-cross{font-size:16px;font-weight:300;line-height:1;color:#a5adb7;flex:none}
.partner-fagbrev{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0;text-decoration:none;background:transparent;color:#626d78;font-family:Fagbrev,-apple-system,BlinkMacSystemFont,sans-serif;font-size:15px;font-weight:550;letter-spacing:-.5px;border-radius:5px;flex:none;transition:color .18s}
.partner-fagbrev img{display:block;width:21px;height:21px;object-fit:contain}.partner-fagbrev:hover{color:#364653}.partner-fagbrev:focus-visible{outline-offset:4px}
.viewer-page .viewer-player{width:100%;max-width:1280px;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);gap:0}
.viewer-page .player-screen{grid-column:1;grid-row:1}
@media(max-width:600px){.viewer-page .site-header{height:54px;min-height:54px;padding-right:12px}.partner-brand{gap:11px}.partner-fagbrev{font-size:14px;gap:6px}.partner-fagbrev img{width:20px;height:20px}.partner-brand .office-brand img{max-width:100px;max-height:25px}}
@media(max-height:540px){.viewer-page .site-header{height:48px;min-height:48px}}
@media(min-width:481px) and (max-width:780px){.setting-section:last-child:nth-child(odd){grid-column:1/-1}}

/* The frame is now uninterrupted; all transport belongs to the video overlay. */
.viewer-page{background:var(--page)}
.viewer-page .site-header{height:70px;min-height:70px}
.viewer-page .viewer-main{padding:0 28px 24px}
.viewer-page .film-shell{border:1px solid #1527380b;border-radius:24px;box-shadow:0 16px 42px -26px #04121f30,0 2px 8px #04121f03;overflow:hidden}
@media(max-width:600px){.viewer-page .site-header{height:56px;min-height:56px}.viewer-page .viewer-main{padding:0 14px max(18px,env(safe-area-inset-bottom,0px))}.viewer-page .film-shell{border-radius:18px}}
@media(max-height:540px){.viewer-page .site-header{height:46px;min-height:46px}.viewer-page .viewer-main{padding:0 16px 12px}.viewer-page .film-shell{border-radius:16px}}

/* The customer page gives its entire viewport to the film. */
.viewer-page .viewer-main{padding:14px;width:100%;height:100dvh;min-height:0}
.viewer-page .viewer-player{max-width:none;width:100%;height:100%;min-height:0}
@media(max-width:600px){.viewer-page .viewer-main{padding:10px}}
@media(max-height:540px){.viewer-page .viewer-main{padding:8px}}

/* Reserve transparent space for the controls that straddle the video edge. */
.film-shell,.viewer-page .film-shell{padding-top:calc(66.666667% + var(--player-dock-space));border:0;background:transparent;box-shadow:none;border-radius:var(--player-radius);overflow:visible}
.film-shell::before{content:none}
.film-shell iframe{background:transparent;border-radius:0}
.film-shell .frame-loading{bottom:var(--player-dock-space);border-radius:inherit}
html.fa-fullscreen-shell .film-shell::before{display:none}

/* A read-only, live configuration example on the customization page. */
.config-docs{margin-top:24px;border:1px solid var(--line);border-radius:20px;background:#fff;overflow:hidden;min-width:0}
.config-docs>summary{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:66px;padding:19px 22px;list-style:none;cursor:pointer;font-size:15px;font-weight:600;letter-spacing:-.2px}
.config-docs>summary::-webkit-details-marker{display:none}
.config-docs>summary::after{content:'+';color:var(--muted);font-size:22px;font-weight:400;line-height:1}
.config-docs[open]>summary::after{content:'−'}
.config-docs summary:focus-visible,.config-json:focus-visible{outline:3px solid #5489ee;outline-offset:-4px;border-radius:8px}
.config-docs-body{padding:0 22px 20px;min-width:0}
.config-docs-intro,.config-media-note,.config-copy-status{font-size:12px;line-height:1.6;color:var(--muted);margin:0 0 15px}
.config-code-shell{border:1px solid #192d40;border-radius:14px;overflow:hidden;background:#102130}
.config-code-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:8px 13px;border-bottom:1px solid #ffffff14}
.config-code-heading>span{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;letter-spacing:.1em;color:#a5becd}
.config-code-heading .button{min-height:36px;padding:7px 11px;font-size:11px;background:#ffffff0d;border-color:#ffffff20;color:#edf4fa;border-radius:8px}
.config-code-heading .button:hover{background:#ffffff18;border-color:#ffffff40}
.config-json{display:block;max-height:340px;overflow:auto;margin:0;padding:18px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#dcebf3;tab-size:2}
.config-copy-status{min-height:20px;margin:6px 0 0;color:var(--ink)}
.config-media-note{margin:0 0 14px;font-size:11px}
.config-field-docs{border-top:1px solid var(--line)}
.config-field-docs>summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer;font-size:12px;font-weight:600;list-style:none}
.config-field-docs>summary::-webkit-details-marker{display:none}.config-field-docs>summary::before{content:'›';font-size:19px;line-height:1;transition:transform .16s}.config-field-docs[open]>summary::before{transform:rotate(90deg)}
.config-field-list{margin:0;display:grid;gap:0}
.config-field-list>div{padding:11px 0;border-top:1px solid #f0f2f5}
.config-field-list dt{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;font-size:12px}.config-field-list code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;overflow-wrap:anywhere}.config-field-list dt span{color:#7d8792;font-size:10px}
.config-field-list dd{margin:4px 0 0;color:var(--muted);font-size:11px;line-height:1.65;overflow-wrap:anywhere}
.config-docs-mapping{margin:13px 0 0;padding-top:12px;border-top:1px solid var(--line);font-size:11px;line-height:1.6;color:var(--muted)}
@media(max-width:600px){.config-docs>summary{padding:17px 18px}.config-docs-body{padding:0 18px 17px}.config-code-heading .button{min-height:44px}.config-json{padding:15px;font-size:11px}.config-code-heading{padding:6px 10px}}
@media(prefers-reduced-motion:reduce){.config-field-docs>summary::before{transition:none}}

.profile-photo-upload{margin-top:18px}.profile-photo-preview .media-thumbnail{width:54px;height:54px;border-radius:50%;object-fit:cover}.profile-photo-preview[hidden]{display:none}

.setting-section:has(#contact-name) .field-label{margin-top:15px}.setting-section:has(#contact-name) .upload-area{margin-top:18px}

/* After the opening shot, the film surface grows to the browser edges. */
.viewer-page.viewer-expanded{background:#f6f5f8;overflow:hidden}
.viewer-page.viewer-expanded .viewer-main{padding:0}
.viewer-page .film-shell::before{transition:opacity .65s ease}
.viewer-page.viewer-expanded .film-shell{--player-radius:0px;border-radius:0}
.viewer-page.viewer-expanded .film-shell::before{opacity:0}
@media(prefers-reduced-motion:reduce){.viewer-page .film-shell::before{transition:none}}

.learner-settings .field-label{margin-top:18px}.learner-settings>button{display:block}.learner-settings .media-status:empty{display:none}

/* Keep the transport at the page bottom even while the opening is inset. */
.viewer-page .viewer-main{padding:0}
.viewer-page .viewer-player{grid-template-rows:minmax(0,1fr)}

/* A stable placeholder conceals iframe bootstrapping and opening measurements. */
.film-shell iframe{opacity:1;transition:opacity .28s ease}
.film-shell[data-player-loading=true] iframe,.film-shell[data-player-loading=error] iframe{opacity:0;pointer-events:none}
.film-shell .frame-loading{opacity:1;transition:opacity .28s ease;background:var(--page);overflow:hidden}
.film-shell[data-player-loading=false] .frame-loading{opacity:0;pointer-events:none}
.loading-skeleton{position:absolute;inset:0;border-radius:var(--player-radius);overflow:hidden;background:#e8e7ec;isolation:isolate}
.loading-skeleton::after{content:'';position:absolute;inset:0;background:linear-gradient(105deg,transparent 25%,#ffffff38 50%,transparent 75%);transform:translateX(-100%);animation:skeleton-sheen 3.2s ease-in-out infinite}
.skeleton-logo,.skeleton-play{position:absolute;display:block;border-radius:999px;background:#ffffff57}
.skeleton-logo{top:22px;left:22px;width:110px;height:44px}
.skeleton-play{bottom:32px;left:32px;width:220px;height:64px}
.viewer-page .film-shell .frame-loading{inset:0;border-radius:0}
.viewer-page .loading-skeleton{inset:auto;left:var(--loading-x,14px);top:var(--loading-y,14px);width:var(--loading-width,calc(100% - 28px));height:var(--loading-height,calc(100% - 140px))}
.loading-status{position:absolute;left:20px;right:20px;bottom:20px;text-align:center;font-size:14px;font-weight:400;line-height:1.5;letter-spacing:-.15px;color:#62626a}
.viewer-page .loading-status{top:calc(var(--loading-y,14px) + var(--loading-height,calc(100% - 140px)) + 18px);bottom:auto}
@keyframes skeleton-sheen{0%{transform:translateX(-100%)}70%,100%{transform:translateX(100%)}}
@media(max-width:600px){.skeleton-logo{top:12px;left:12px;width:100px;height:42px}.skeleton-play{bottom:18px;left:18px;width:210px;height:56px}}
@media(prefers-reduced-motion:reduce){.loading-skeleton::after{animation:none;transform:none;opacity:.3}.film-shell iframe,.film-shell .frame-loading{transition:none}}
