:root{
	--font-family:"Poppins","Roboto","Helvetica Neue Light","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
	--primary-foreground-color:#bfdbfe;
	--primary-background-color:#0d0f13;
	--p-surface-0: #fff;
	--p-surface-50: var(--p-slate-50);
    --p-surface-100: #f1f5f9;
    --p-surface-200: #e2e8f0;
    --p-surface-300: #cbd5e1;
	--p-surface-500: #64748b;
	--slider-bg-color:#5a5d63;
	--audio-player-height:60px;
	--media-dialog-minimized-audio-height:45px;
}

body{ margin:0;padding:0;font-family:var(--font-family);font-weight:400; -webkit-font-smoothing:antialiased;min-height:100%;font-size:13px; }

/* Scrollbar */
@media screen and (min-width:960px){
	::-webkit-scrollbar { width: 10px; height: 10px; } ::-webkit-scrollbar-track { background: #dbdbdb; } ::-webkit-scrollbar-thumb { background: #555; border-radius: 6px; border: 2px solid #dbdbdb; } ::-webkit-scrollbar-thumb:hover { box-shadow: inset 0 0 6px rgba(0,0,0,0.3); } textarea::-webkit-scrollbar-track { margin: 15px; }
	.overflow-auto::-webkit-scrollbar, .overflow-auto::-webkit-scrollbar-thumb, .overflow-auto::-webkit-scrollbar-track, .overflow-x-auto::-webkit-scrollbar, .overflow-x-auto::-webkit-scrollbar-thumb, .overflow-x-auto::-webkit-scrollbar-track, .overflow-y-auto::-webkit-scrollbar, .overflow-y-auto::-webkit-scrollbar-thumb, .overflow-y-auto::-webkit-scrollbar-track, .p-picklist-list::-webkit-scrollbar, .p-picklist-list::-webkit-scrollbar-thumb, .p-picklist-list::-webkit-scrollbar-track { border-radius: 3px; }
}
/* UTILITIES */
.es25 {transition:.2s all ease-in-out;}
.animate-once { animation-iteration-count: 1; } .animate-ease-in-out { animation-timing-function: cubic-bezier(.4, 0, .2, 1); } .animate-duration-1000 { animation-duration: 2s; }
.pi-spin{animation:2s linear infinite fa-spin;} @keyframes fa-spin{0%{transform:rotate(0);}100%{transform:rotate(1turn);}}
.animate-fadeindown { animation: .9s ease-in-out fadeindown; } @keyframes fadeindown { 0% { opacity: 0; transition: transform .12s cubic-bezier(0, 0, .2, 1), opacity .12s cubic-bezier(0, 0, .2, 1); transform: translateY(100%); } 100% { opacity: 1; transform: translateY(0); } }
.animate-flipleft { animation: .5s ease-in-out flipleft; } @keyframes flipleft { 0% { opacity: 0; transition: transform .12s cubic-bezier(0, 0, .2, 1), opacity .12s cubic-bezier(0, 0, .2, 1); transform: rotateY(90deg); } 100% { opacity: 1; transform: rotateY(0deg); } }
.text-xl{font-size:1.25rem;}
.text-surface-0 { color: var(--p-surface-0); }
.text-sky-600{color:#0284c7;}
.text-surface-300{color:var(--p-surface-300);}
.text-muted-color{color:var(--p-surface-500);}
.bg-surface-0{background:#fff;}
.bg-surface-100{background: var(--p-surface-100);}
.bg-surface-300 { background-color: var(--p-surface-300) !important; }
.border-surface-200{border-color:var(--p-surface-200);}
.border-slate-100{border-color:oklch(96.8% .007 247.896);}
.flip-x,.scale-x-neg{transform:scaleX(-1);}
.shadow-10{box-shadow: 0 10px 30px rgba(8, 47, 73,.15); }
.shadow-9 {box-shadow: 0 4px 30px rgb(from var(--shadow-color) r g b / .08), 0 1px 1px -1px rgb(from var(--shadow-color) r g b / .25) !important;}
.custom-svg-color-icon { background: none; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }

/* BACKGROUNDS */
.msp-base-bg,.msp-map-bg{position:fixed;top:0;width:100%;height:100%;}
.msp-base-bg{background:url('assets/msp-bg.jpg') top center/cover no-repeat;z-index:-2;}
.msp-map-bg{background:url('assets/dot-map.svg') center 8rem/80% no-repeat;opacity:.07;z-index:-1;}

/* LAYOUT */
.msp-main-base{min-height:100vh;display:flex;justify-content:center;align-items:center;padding:20px;}
.content-wrapper{width:100%;max-width:1100px;}

/* HEADER */
.header{display:flex;justify-content:space-between;flex-wrap:wrap;margin-bottom:20px;}

/* CARD */
.card{background:#fff;padding:28px;border-radius:28px;box-shadow:0 10px 30px rgba(0,0,0,.15);}

/* VIDEO */
.video-container{border-radius:12px;overflow:hidden;}
.video-js{width:100%;}
/* The player follows the video's aspect ratio (set by scripts.js as --ms-aspect) but never grows past
   the viewport height minus room for the header/footer (20rem, at least 240px tall): a square or vertical video letterboxes inside the black player area
   instead of pushing the page into a vertical scroll. */
.video-js:not(.vjs-audio-only){ width:100%; height:auto; aspect-ratio:var(--ms-aspect, 16 / 9); max-height:max(240px, calc(100vh - 20rem)); background-color:#000; }
.video-js:not(.vjs-audio-only) .vjs-tech{ object-fit:contain; }
/* Browsers without aspect-ratio (Safari < 15, Chrome < 88): fall back to a 16:9 box via padding */
@supports not (aspect-ratio: 1 / 1){ .video-js:not(.vjs-audio-only){ height:0; padding-top:56.25%; max-height:none; } }
/* Fullscreen: the real Fullscreen API on desktop/iPad, or video.js "full window" on iPhone (which has no
   element Fullscreen API; scheduled shares set preferFullWindow). Both add .vjs-fullscreen: drop the
   in-page sizing above so the player fills the screen instead of keeping the page's capped height. */
.video-js.vjs-fullscreen:not(.vjs-audio-only){ max-height:none; aspect-ratio:auto; }

/* BIO */
.bio{display:flex;gap:20px;margin-top:25px;}

/* RICH TEXT from the NM2 CKEditor fields (welcome message, media description, bio). Tailwind's reset
   flattens headings, lists, links and paragraph spacing; restore them so the page shows what the
   sharer typed. Keep the selectors scoped to .rich-text so the rest of the page keeps the reset. */
.rich-text{ display:block; overflow-wrap:anywhere; }
.rich-text p{ margin:0; }
.rich-text p+p, .rich-text p+ul, .rich-text p+ol, .rich-text ul+p, .rich-text ol+p, .rich-text h1+p, .rich-text h2+p, .rich-text h3+p, .rich-text h4+p{ margin-top:.5em; }
.rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4, .rich-text h5, .rich-text h6{ font-weight:600; line-height:1.3; margin:.6em 0 .3em; }
.rich-text h1{ font-size:1.5em; } .rich-text h2{ font-size:1.3em; } .rich-text h3{ font-size:1.15em; } .rich-text h4, .rich-text h5, .rich-text h6{ font-size:1em; }
.rich-text :first-child{ margin-top:0; } .rich-text :last-child{ margin-bottom:0; }
.rich-text ul, .rich-text ol{ padding-left:1.5em; margin:.25em 0; }
.rich-text ul{ list-style:disc; } .rich-text ol{ list-style:decimal; }
.rich-text ul ul{ list-style:circle; } .rich-text ol ol{ list-style:lower-alpha; }
.rich-text li{ margin:.15em 0; }
.rich-text a{ color:#0284c7; text-decoration:underline; }
.rich-text a:hover{ color:#0369a1; }
.rich-text b, .rich-text strong{ font-weight:700; }
.rich-text blockquote{ margin:.5em 0; padding-left:.9em; border-left:3px solid #cbd5e1; color:#475569; }
.rich-text img{ max-width:100%; height:auto; }
.rich-text table{ border-collapse:collapse; margin:.5em 0; }
.rich-text td, .rich-text th{ border:1px solid #cbd5e1; padding:.25em .5em; }
.rich-text hr{ margin:.6em 0; border:0; border-top:1px solid #e2e8f0; }

/* VIDEO PLAYER */
.video-js{ color:var(--primary-foreground-color); }
.video-js.vjs-audio-only .vjs-control-bar,
.video-js.vjs-audio-only .vjs-big-play-button,
.video-js.vjs-audio-only .vjs-menu-button .vjs-menu-content{ background-color:var(--primary-background-color); background-color:rgba(13,15,19,.7); }
.video-js .vjs-control-bar{z-index:10!important;}
/* popup menus (speed, captions): solid dark panel with a visible edge so it never merges with the
   white page above the player; the selected item is brand blue instead of video.js's white */
/* max-height overrides video.js's per-breakpoint caps (5em at x-small = two items on a phone); 20em fits
   all six speeds and still sits inside the smallest video player (240px) */
.video-js .vjs-menu-button-popup .vjs-menu .vjs-menu-content{ background-color:rgba(13,15,19,.96); border:1px solid rgba(255,255,255,.14); border-radius:8px; box-shadow:0 8px 24px rgba(0,0,0,.45); max-height:20em; }
.video-js .vjs-menu li{ padding:.5em .8em; font-weight:600; text-transform:none; }
/* after a tap video.js moves focus back to the control; its :focus glow (white text-shadow) then stays
   on the label on touch screens and looks like a lit rectangle. Keep the glow for keyboard focus only. */
.video-js .vjs-control:focus:not(:focus-visible), .video-js .vjs-control:focus:not(:focus-visible):before{ text-shadow:none; }
.video-js .vjs-control:focus:not(:focus-visible) .vjs-svg-icon{ filter:none; }
.video-js .vjs-control, .video-js .vjs-menu li{ -webkit-tap-highlight-color:transparent; }
.video-js .vjs-menu li.vjs-menu-item:hover, .video-js .vjs-menu li.vjs-menu-item:focus{ background-color:rgba(255,255,255,.14); color:#fff; }
.video-js .vjs-menu li.vjs-selected, .video-js .vjs-menu li.vjs-selected:hover, .video-js .vjs-menu li.vjs-selected:focus{ background-color:#38bdf8; color:#fff; }
.video-js .vjs-volume-level, .video-js .vjs-play-progress{background:var(--primary-foreground-color);}
/* speed label ("1.25x"): video.js sizes it at 1.5em inside a 3em button, so on phones it wraps onto a
   second line; keep it smaller and on one line in both players */
.video-js .vjs-playback-rate .vjs-playback-rate-value{ font-size:1.2em; white-space:nowrap; letter-spacing:-.02em; }

/* VERY NARROW PLAYERS: drop the 10s skip buttons rather than the progress bar */
.video-js.vjs-layout-x-small .vjs-skip-backward-10, .video-js.vjs-layout-x-small .vjs-skip-forward-10,
.video-js.vjs-layout-tiny .vjs-skip-backward-10, .video-js.vjs-layout-tiny .vjs-skip-forward-10{ display:none; }
.video-js.vjs-layout-x-small .vjs-progress-control{ display:flex; }
.video-js.vjs-layout-x-small .vjs-custom-control-spacer{ display:none; }
/* video control bar is wider (subtitles + fullscreen), so hide the skips a little earlier on phones */
@media screen and (max-width:400px){
	.video-js:not(.vjs-audio-only) .vjs-skip-backward-10, .video-js:not(.vjs-audio-only) .vjs-skip-forward-10{ display:none; }
}

/* ================= AUDIO PLAYER =================
   Two-row layout: row 1 = transport (play, skip -10/+10, volume, [spacer], speed, PiP),
   row 2 = current time + full-width seek bar + duration. Nothing on a row is flexible except the
   seek bar, so controls can never be squeezed or cut; if a row cannot fit it wraps. */
.audio-player-wrapper{ display:flex; align-items:center; gap:14px; width:100%; min-width:0; padding:12px 14px; border-radius:14px;
	background:linear-gradient(135deg,#1b1f28 0%,#0d0f13 100%); box-shadow:0 10px 30px rgba(8,47,73,.25); }
.audio-player-wrapper .audio-thumbnail{ flex:0 0 auto; width:96px; height:96px; object-fit:cover; border-radius:10px; background:#222; box-shadow:0 4px 14px rgba(0,0,0,.45); }
.audio-player-wrapper .video-js.vjs-audio-only{ flex:1 1 0%; min-width:0; width:auto!important; height:auto!important; padding:0!important; background:transparent; }
.video-js.vjs-audio-only .vjs-tech{ height:0!important; }
.video-js.vjs-audio-only .vjs-loading-spinner,
.video-js.vjs-audio-only .vjs-big-play-button, .video-js.vjs-audio-only .vjs-subs-caps-button, .video-js.vjs-audio-only .vjs-fullscreen-control,
.video-js.vjs-audio-only .vjs-remaining-time, .video-js.vjs-audio-only .vjs-time-divider{ display:none!important; }

/* control bar: in normal flow, wraps into rows, always visible and clickable (never hidden by "user inactive") */
.video-js.vjs-audio-only .vjs-control-bar{ position:static; display:flex; flex-wrap:wrap; align-items:center; height:auto!important; padding:0!important; font-size:12px;
	background:transparent; opacity:1!important; visibility:visible!important; pointer-events:auto!important; }
.video-js.vjs-audio-only .vjs-control-bar .vjs-control{ width:3em; height:3em; }
/* forced line break between the rows: a full-width zero-height flex item placed after row 1 */
.video-js.vjs-audio-only .vjs-control-bar::after{ content:""; order:19; flex:0 0 100%; height:0; }

/* row 2: time + seek bar + duration */
.video-js.vjs-audio-only .vjs-control-bar .vjs-current-time{ order:20; display:block; }
.video-js.vjs-audio-only .vjs-control-bar .vjs-progress-control{ order:21; display:flex; flex:1 1 calc(100% - 10.5em); width:auto; min-width:0; height:2.4em; margin:0 .6em; align-items:center; }
.video-js.vjs-audio-only .vjs-control-bar .vjs-duration{ order:22; display:block; }
.video-js.vjs-audio-only .vjs-control-bar .vjs-time-control{ flex:0 0 auto; width:auto; min-width:3.6em; height:auto; padding:0 .3em; line-height:2.4em; font-size:1em; color:#cbd5e1; text-align:center; }
.video-js.vjs-audio-only .vjs-progress-holder{ height:.4em; margin:0; border-radius:.4em; background:rgba(255,255,255,.18); }
.video-js.vjs-audio-only .vjs-load-progress, .video-js.vjs-audio-only .vjs-load-progress div{ border-radius:.4em; background:rgba(255,255,255,.22); }
.video-js.vjs-audio-only .vjs-play-progress{ border-radius:.4em; background:#38bdf8; }
.video-js.vjs-audio-only .vjs-play-progress:before{ font-size:1em; top:0; line-height:.4em; color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.5); }

/* row 1: transport */
.video-js.vjs-audio-only .vjs-control-bar .vjs-play-control{ order:1; margin-right:.4em; border-radius:50%; background:rgba(255,255,255,.14); transition:background .2s; }
.video-js.vjs-audio-only .vjs-control-bar .vjs-play-control:hover{ background:rgba(255,255,255,.28); }
.video-js.vjs-audio-only .vjs-control-bar .vjs-skip-backward-10{ order:2; }
.video-js.vjs-audio-only .vjs-control-bar .vjs-skip-forward-10{ order:3; }
.video-js.vjs-audio-only .vjs-control-bar .vjs-volume-panel{ order:4; }
.video-js.vjs-audio-only .vjs-control-bar .vjs-volume-panel.vjs-volume-panel-horizontal:hover, .video-js.vjs-audio-only .vjs-control-bar .vjs-volume-panel.vjs-volume-panel-horizontal:active,
.video-js.vjs-audio-only .vjs-control-bar .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active, .video-js.vjs-audio-only .vjs-control-bar .vjs-volume-panel.vjs-volume-panel-horizontal.vjs-hover{ width:9em; }
.video-js.vjs-audio-only .vjs-control-bar .vjs-custom-control-spacer{ order:5; display:block; flex:1 1 auto; width:auto; }
.video-js.vjs-audio-only .vjs-control-bar .vjs-playback-rate{ order:6; width:auto; min-width:3.5em; padding:0 .25em; }
.video-js.vjs-audio-only .vjs-control-bar .vjs-picture-in-picture-control{ order:7; }
.video-js.vjs-audio-only .vjs-playback-rate .vjs-playback-rate-value{ font-size:1em; line-height:3em; font-weight:600; }
/* menu items use the same size and weight as the speed label in the bar */
.video-js.vjs-audio-only .vjs-menu li{ font-size:1em; }

/* keep time labels, speed and the seek bar at every video.js breakpoint (the rows give them room) */
.video-js.vjs-audio-only.vjs-layout-small .vjs-control-bar .vjs-current-time, .video-js.vjs-audio-only.vjs-layout-x-small .vjs-control-bar .vjs-current-time, .video-js.vjs-audio-only.vjs-layout-tiny .vjs-control-bar .vjs-current-time,
.video-js.vjs-audio-only.vjs-layout-small .vjs-control-bar .vjs-duration, .video-js.vjs-audio-only.vjs-layout-x-small .vjs-control-bar .vjs-duration, .video-js.vjs-audio-only.vjs-layout-tiny .vjs-control-bar .vjs-duration,
.video-js.vjs-audio-only.vjs-layout-small .vjs-control-bar .vjs-playback-rate, .video-js.vjs-audio-only.vjs-layout-x-small .vjs-control-bar .vjs-playback-rate, .video-js.vjs-audio-only.vjs-layout-tiny .vjs-control-bar .vjs-playback-rate{ display:block; }
.video-js.vjs-audio-only.vjs-layout-x-small .vjs-control-bar .vjs-progress-control, .video-js.vjs-audio-only.vjs-layout-tiny .vjs-control-bar .vjs-progress-control{ display:flex; }
.video-js.vjs-audio-only.vjs-layout-x-small .vjs-control-bar .vjs-custom-control-spacer{ display:block; }

/* phones */
@media screen and (max-width:480px){
	.audio-player-wrapper{ gap:10px; padding:10px; border-radius:12px; }
	.audio-player-wrapper .audio-thumbnail{ width:48px; height:48px; border-radius:8px; }
	.video-js.vjs-audio-only .vjs-control-bar{ font-size:11px; }
	.video-js.vjs-audio-only .vjs-control-bar .vjs-time-control{ min-width:3em; padding:0 .15em; font-size:.95em; }
	.video-js.vjs-audio-only .vjs-control-bar .vjs-progress-control{ flex-basis:calc(100% - 9em); }
}

/* COUNTDOWN ROLLING ODOMETER ANIMATION */
#cd{ display:flex; gap:16px; justify-content: center; } .unit{ text-align:center; }
#cd .unit .label { color: #546069 !important; } #cd .unit:last-child .digits .num { color: #8fabc4 !important; }
.digits{ position:relative; width:48px; height:40px; overflow:hidden; font-size:30px; font-weight:600; }
.digits .wheel{ position:absolute; left:0; top:0; width:100%; transition:transform .6s cubic-bezier(.22,.61,.36,1); }
.digits .num{ height:40px; display:flex; align-items:center; justify-content:center; } .label{ font-size:12px; opacity:.7; }
@media screen and (max-width: 380px) { #cd{ gap:12px; } .digits{ width:42px; height:36px; font-size:26px; } }

/* ALERT */
.expiry-alert{ position:fixed; top: 1rem; left:50%; transform: translate(-50%, calc(-200% - 1rem)); background:#fffbe3; color:#222; box-shadow:0 10px 30px rgba(0,0,0,.15); border:1px solid #eee; min-width:320px; z-index:9999; transition:.5s cubic-bezier(.22,1,.36,1); }
.expiry-alert.show{ transform:translate(-50%, 0); } .expiry-alert .main-icon { font-size:26px; color:#ff9800; }
.progress{ position:absolute; left:.8rem; bottom:-1px; height:1px; width:calc(100% - 1.6rem); background:linear-gradient(90deg,#ff9800,#ff5722); transform-origin:left; transform:scaleX(1); opacity: .5; }
.close-btn{ margin-left:auto; cursor:pointer; border:none; background:none; font-size:22px; color:#666; transition:.2s; } .close-btn:hover{ color:#000; }

.view-icon{background:url("./assets/view-7IRELO76.svg");transition:transform 0.2s ease;}
.group:hover .view-icon{transform:scale(1.1);}
.pdf-container{max-width:300px;width:100%;margin:auto;background:#e5e7eb;display:flex;align-items:center;justify-content:center;padding:10px;}
.pdf-container img{max-width:100%;max-height:500px;object-fit:contain;border-radius:8px;}

@media screen and (max-width: 1280px) { .lg-animation-none { animation: none !important; } }

/* PDF VIEWER DIALOG (mirrors the NM2 dialog: 80vw x 90vh, 90vw under 1280px, 97vw under 575px) */
.pdf-dialog{ position:fixed; top:0; right:0; bottom:0; left:0; inset:0; z-index:10000; display:flex; align-items:center; justify-content:center; }
.pdf-dialog[hidden]{ display:none; }
.pdf-dialog-backdrop{ position:absolute; top:0; right:0; bottom:0; left:0; inset:0; background:rgba(15,23,42,.45); backdrop-filter:blur(3px); -webkit-backdrop-filter:blur(3px); }
.pdf-dialog-panel{ position:relative; width:80vw; height:90vh; background:#fff; border-radius:14px; box-shadow:0 10px 30px rgba(0,0,0,.3); display:flex; flex-direction:column; overflow:hidden; }
.pdf-dialog-header{ display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 16px; border-bottom:1px solid #e2e8f0; }
.pdf-dialog-header h2{ margin:0; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pdf-dialog-close{ flex:0 0 auto; border:none; background:none; cursor:pointer; padding:6px; line-height:0; border-radius:50%; transition:.2s; }
.pdf-dialog-close:hover{ background:#f1f5f9; }
.pdf-dialog-frame{ flex:1 1 auto; width:100%; border:0; background:#f1f5f9; }
body.pdf-dialog-open{ overflow:hidden; }
@media screen and (max-width:1280px){ .pdf-dialog-panel{ width:90vw; } }
@media screen and (max-width:575px){ .pdf-dialog-panel{ width:97vw; height:92vh; border-radius:10px; } }
