:root{font-family:'Source Sans 3',sans-serif;color:#f4f6f5;--glass:rgba(22,38,45,.9);--line:rgba(255,255,255,.16);--muted:#b9c5c8;--accent:#c3dcd5;--ink:#142c32}*{box-sizing:border-box}body{margin:0;overflow:hidden;background:#172c34}button,input,select,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button{cursor:pointer;color:inherit;background:transparent;border:0}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #b9e4dc;outline-offset:3px}button:hover:not(:disabled){background-color:#ffffff12}a{color:inherit}button[hidden],[hidden]{display:none!important}h1,h2,h3{font-family:Manrope,sans-serif;font-weight:700;letter-spacing:-.025em}#pano,#hotspots,#leaders{position:absolute;inset:0;width:100%;height:100%}#hotspots,#leaders{pointer-events:none;overflow:hidden}#leaders{z-index:1}#hotspots{z-index:2}#leaders path{fill:none;stroke:#f7fcfd;stroke-width:1.5;stroke-linecap:round;filter:drop-shadow(0 1px 2px #000b)}#leaders circle{fill:#d7ebe4;stroke:#fff;stroke-width:1.2}
.topbar{position:absolute;z-index:20;inset:16px 20px auto;height:80px;border:1px solid var(--line);background:rgba(20,36,43,.88);backdrop-filter:blur(20px);border-radius:14px;display:flex;align-items:center;padding:8px 24px;gap:24px;box-shadow:0 4px 22px #0002}.brand{display:flex;align-items:center;width:202px;flex:none}.brand img{width:202px;height:68px;object-fit:contain}.topbar nav{display:flex;align-items:center;justify-content:center;gap:7px;margin:auto}.topbar nav button{padding:12px 18px;border-radius:8px;font-weight:600;font-size:15px;white-space:nowrap}.topbar nav button:hover{background:#ffffff0d}#saved-count{margin-left:7px;background:#fff2;border-radius:5px;min-width:22px;display:inline-block;font-size:12px;line-height:22px}#share{padding:11px 15px;border:1px solid #ffffff35;border-radius:8px;font-size:14px;font-weight:600;white-space:nowrap}#share span{margin-left:14px}.icon-button{width:42px;height:42px;display:grid;place-items:center;flex:none;border-radius:8px;font-size:24px;line-height:1}.topbar #mobile-menu{display:none}
.panel{position:absolute;z-index:15;top:112px;bottom:100px;left:20px;width:276px;background:var(--glass);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 50px #0003;backdrop-filter:blur(22px);display:flex;flex-direction:column;overflow:hidden}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:22px 16px 15px 20px}.kicker{font-size:10px;font-weight:600;letter-spacing:.13em;color:#c2d3d4;margin:0 0 7px}.panel h1{font-size:19px;line-height:1.3;margin:0}#drawer-controls{padding:0 15px}#drawer-list{overflow-y:auto;overscroll-behavior:contain;flex:1;padding:5px 12px 12px;scrollbar-width:thin;scrollbar-color:#78919370 transparent}#drawer-footer:empty{display:none}#drawer-footer{padding:13px 19px;border-top:1px solid var(--line)}.search-input,.sector-filter{color:#fff;background:#ffffff09;border:1px solid #ffffff25;border-radius:8px;outline:0;width:100%;padding:10px 12px;margin-bottom:10px;font-size:14px}.search-input::placeholder{color:#becacd}.sector-filter option{background:#223a43}.browse-shortcuts{display:flex;gap:7px;font-size:12px;padding-bottom:10px}.browse-shortcuts button{text-align:left;border-bottom:1px solid #829a9e}.role-row{display:flex;align-items:center;gap:12px;width:100%;padding:10px 8px;text-align:left;border-radius:8px;border-bottom:1px solid #ffffff09;min-height:62px}.role-name{font-size:14px;font-weight:600;line-height:1.25;flex:1}.row-arrow{font-size:16px;color:#c2cfd1;margin-left:auto}.avatar{display:block;flex:none;width:42px;height:42px;border-radius:50%;background-repeat:no-repeat;background-color:#c8d5d6;border:1px solid #ffffff30}.employers-link{font-size:13px;text-decoration:none;color:#cfdbdb;display:block;padding:4px 0}.environment-row{width:100%;display:flex;gap:12px;align-items:center;text-align:left;padding:9px 4px;font-size:14px;border-bottom:1px solid var(--line)}.environment-row img{width:60px;height:48px;object-fit:cover;border-radius:5px}.navigation-row{display:flex;align-items:center;min-height:56px;width:100%;text-align:left;border-bottom:1px solid var(--line);font-size:16px;padding:10px}.empty{font-size:14px;line-height:1.6;color:var(--muted);padding:8px}
.scene-bar{position:absolute;z-index:10;left:20px;bottom:20px;max-width:calc(100% - 290px);height:66px;display:flex;align-items:center;gap:13px;background:rgba(21,37,44,.87);border:1px solid var(--line);border-radius:12px;backdrop-filter:blur(18px);padding:9px 13px}.scene-heading{min-width:0}.scene-heading p{font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#b7cbcc;margin:0 0 3px}.scene-heading h2{font-size:16px;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.scene-roles{font-size:13px;font-weight:600;min-height:40px;margin-left:12px;padding:0 12px;border-left:1px solid var(--line);white-space:nowrap}.scene-roles span{padding-left:9px}.view-tools{position:absolute;right:20px;bottom:20px;z-index:10;display:flex;align-items:center;height:54px;border:1px solid var(--line);border-radius:12px;padding:4px;background:rgba(21,37,44,.87);backdrop-filter:blur(18px)}.view-tools button{width:44px;height:44px;font-size:23px;border-radius:7px}.view-tools #more-tools{font-size:16px}.view-tools #frame{width:auto;padding:0 10px;font-size:12px}#loading{position:absolute;left:50%;top:120px;transform:translateX(-50%);z-index:12;padding:9px 18px;border-radius:8px;background:#1b303de6;font-size:13px}
.hotspot{position:absolute;left:0;top:0;pointer-events:auto;transition:none!important;will-change:transform;padding:0}.role-callout{height:62px;border-radius:10px;text-align:left;z-index:4;background:none!important}.callout-face{height:100%;display:flex;align-items:center;gap:10px;padding:9px 12px 9px 9px;background:rgba(248,249,245,.97);color:#15303a;border:1px solid #ffffffbb;border-radius:10px;box-shadow:0 3px 12px #0003}.role-callout:hover .callout-face{background:#fff;box-shadow:0 5px 20px #0005}.callout-face .avatar{width:40px;height:40px;border-color:#20343a20}.callout-title{font-family:'Source Sans 3',sans-serif;font-size:15px;font-weight:600;line-height:1.15;flex:1;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.callout-arrow{font-size:15px;flex:none;color:#4d6869}.arriving .callout-face{animation:callout-in .32s cubic-bezier(.2,.7,.2,1) both}@keyframes callout-in{from{opacity:0;transform:translateY(9px) scale(.97)}to{opacity:1;transform:none}}.projected-image{background:none!important;border:0;border-radius:0;box-shadow:none;z-index:0}.projected-image img{width:100%;height:100%;display:block;object-fit:fill;pointer-events:none}.projected-image:hover{filter:brightness(1.06)}.floor-sticker{width:52px;height:44px;display:grid;place-items:center;background:none!important;border-radius:50%;z-index:1}.floor-face{width:46px;height:25px;display:grid;place-items:center;border:2px solid white;border-radius:50%;background:#ffffff28;color:#fff;font-size:18px;line-height:1;box-shadow:0 2px 9px #0003;text-shadow:0 1px 2px #0008;animation:sticker-breathe 2.5s ease-in-out infinite}.floor-sticker:hover .floor-face{background:#fff6}@keyframes sticker-breathe{50%{background:#ffffff48}}.resource-marker{width:42px;height:42px;border:1px solid #fff9;border-radius:50%;background:#19333ce0;font-size:20px;z-index:2}.video-trigger{border-radius:8px;background:#213c45d9;padding:10px 14px;white-space:nowrap;font-size:13px;border:1px solid #ffffff50;z-index:3}
#toast{position:fixed;left:50%;bottom:105px;transform:translateX(-50%);z-index:100;background:#f4f7f3;color:#223b42;padding:12px 18px;border-radius:8px;box-shadow:0 4px 30px #0003;font-size:14px;max-width:90%;text-align:center}dialog{color:#edf3f4;border:1px solid #ffffff28;padding:0;border-radius:18px;width:min(930px,calc(100vw - 48px));max-height:calc(100dvh - 56px);background:#172e38;box-shadow:0 20px 100px #0006;overflow:hidden}dialog::backdrop{background:#06151dc4;backdrop-filter:blur(6px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;border-bottom:1px solid var(--line)}.modal-heading h2{margin:0;font-size:21px}.modal-heading button{font-size:28px}.modal-heading .icon-button{background:#ffffff09}#modal-body{padding:20px;overflow:auto;max-height:calc(100dvh - 150px);overscroll-behavior:contain}.profession-identity{display:flex;gap:13px;align-items:center;margin-bottom:15px}.profession-identity p{font-size:14px;color:var(--muted);flex:1}.save-profession,.primary{background:#d5e6dd;color:#173732;padding:12px 16px;border-radius:8px;font-weight:600;border:1px solid #e5f2e9}.save-profession:hover,.primary:hover{background:#edf4ee!important}.save-profession[aria-pressed=true]{background:#99c5b2}.secondary,.resource-link{display:inline-block;padding:10px 14px;border:1px solid #ffffff30;border-radius:8px;text-decoration:none;font-size:14px}.profession-tools{margin-bottom:12px}.resource-external{display:inline-block;font-size:13px;color:#b9dcda;margin:0 0 14px}.profession-detail iframe,.resource-viewer iframe{width:100%;height:min(58dvh,650px);border:0;background:#fff;border-radius:8px}.resource-list{display:flex;flex-direction:column;gap:10px}.resource-list button{text-align:left;min-height:46px}.resource-viewer video{max-width:100%;max-height:70dvh}.image-modal{width:min(1200px,calc(100vw - 40px))}.image-viewer{overflow:auto;text-align:center;max-height:calc(100dvh - 180px)}.image-viewer img{max-width:100%;max-height:calc(100dvh - 230px);object-fit:contain;display:block;margin:0 auto}.image-toolbar{display:flex;justify-content:center;gap:10px;padding-bottom:14px;position:sticky;left:0;top:0;background:#172e38}.image-viewer.actual-size img{max-width:none;max-height:none;margin:0}.image-viewer.actual-size{text-align:left}.share-dialog{max-width:560px;margin:auto;display:flex;flex-direction:column;gap:16px}.share-dialog p{margin:0;font-size:15px;line-height:1.6;color:#c6d4d6}.share-dialog input{background:#ffffff0c;border:1px solid #ffffff40;border-radius:8px;padding:12px;color:#fff;min-width:0;width:100%}.help-content{font-size:16px;line-height:1.7;max-width:650px}.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:24px}.map-visual{position:relative}.map-visual img{width:100%;display:block}.map-visual svg{position:absolute;inset:0;width:100%;height:100%}.map-visual polygon{fill:transparent;stroke:transparent;cursor:pointer}.map-visual polygon:hover,.map-visual polygon:focus{fill:#1f9b7988;stroke:#fff;stroke-width:2}.map-regions{display:flex;flex-direction:column;gap:8px;max-height:65dvh;overflow:auto}.map-regions button{text-align:left}
@media(max-width:1050px){.topbar{gap:10px;padding:8px 16px}.topbar nav{gap:0}.topbar nav button{padding:12px 11px;font-size:14px}.brand,.brand img{width:178px}#share{font-size:13px;padding:11px}.scene-bar{max-width:calc(100% - 240px)}.scene-heading h2{max-width:270px}.scene-roles{margin-left:0;padding-right:0}.view-tools button{width:40px}}
@media(max-width:700px){.topbar{inset:10px 12px auto;height:68px;border-radius:12px;padding:5px 12px;gap:10px}.brand,.brand img{width:158px;height:58px}.topbar nav,.topbar #share{display:none}.topbar #mobile-menu{display:grid;margin-left:auto;width:44px}.panel{inset:auto 10px calc(94px + env(safe-area-inset-bottom));width:auto;max-height:calc(100dvh - 190px);min-height:280px;background:rgba(21,39,47,.98);border-radius:17px;z-index:30}.panel-heading{padding:19px 16px 12px 20px}.panel h1{font-size:21px}.panel-heading .icon-button{width:44px;height:44px}.role-row{min-height:64px;padding:10px 9px}.role-name{font-size:16px}.avatar{width:43px;height:43px}.search-input,.sector-filter{font-size:16px;min-height:44px}#sheet-backdrop{position:absolute;inset:80px 0 0;background:#071b2455;backdrop-filter:blur(2px);z-index:25}.scene-bar{bottom:calc(12px + env(safe-area-inset-bottom));left:12px;right:12px;height:68px;max-width:none;padding:9px;gap:7px}.scene-heading{flex:1}.scene-heading p{font-size:9px;letter-spacing:.07em;max-width:160px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.scene-heading h2{font-size:14px;max-width:170px}.scene-roles{font-size:12px;padding:0 8px;border:1px solid #ffffff25;border-radius:7px;min-height:44px;max-width:99px;white-space:normal}.scene-roles span{display:none}.view-tools{bottom:calc(94px + env(safe-area-inset-bottom));right:12px;height:44px;padding:2px;background:#162f39a8;border-radius:9px}.view-tools button{width:38px;height:38px;font-size:21px}.view-tools #zoom-out,.view-tools #zoom-in{display:none}.view-tools #more-tools{font-size:15px}.role-callout{height:56px}.callout-face{gap:8px;padding:7px;border-radius:9px}.callout-face .avatar{width:34px;height:34px}.callout-title{font-size:14px}.callout-arrow{font-size:13px}.floor-sticker{width:52px;height:44px}#loading{top:89px;font-size:12px;max-width:70%;white-space:nowrap}#toast{bottom:160px;width:max-content;max-width:85%;font-size:13px}dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:14px}.modal-heading{padding:13px 14px}.modal-heading h2{font-size:19px}.modal-heading .icon-button{width:44px;height:44px}#modal-body{padding:15px;max-height:calc(100dvh - 110px)}.profession-identity{gap:10px;flex-wrap:wrap}.profession-identity p{font-size:12px}.save-profession{padding:10px;font-size:13px;min-height:44px}.profession-detail iframe,.resource-viewer iframe{height:55dvh}.image-modal{width:calc(100vw - 16px)}.image-viewer{max-height:calc(100dvh - 120px)}.image-viewer img{max-height:calc(100dvh - 210px)}.image-toolbar{gap:6px}.image-toolbar .secondary{font-size:12px;min-height:44px}.map-layout{grid-template-columns:1fr}.map-regions{max-height:230px}.primary,.secondary{min-height:44px}.help-content{font-size:15px}}
@media(max-height:600px) and (min-width:701px){.topbar{height:66px;top:8px}.brand img{height:56px}.panel{top:86px;bottom:89px}.panel-heading{padding-top:13px}.scene-bar{bottom:12px;height:60px}.view-tools{bottom:12px}}
@media(prefers-reduced-motion:reduce){.arriving .callout-face,.floor-face{animation:none}}

#overlays{position:absolute;inset:0;pointer-events:none;overflow:hidden;z-index:1}#leaders{z-index:2}#hotspots{z-index:3}

/* Translucent callouts keep their fixed screen size and anchored leader. */
.callout-face{background:linear-gradient(135deg,rgba(255,255,255,.68),rgba(235,246,244,.52));backdrop-filter:blur(18px) saturate(1.3);-webkit-backdrop-filter:blur(18px) saturate(1.3);border:1px solid rgba(255,255,255,.7);box-shadow:inset 0 1px 0 #ffffffb3,inset 0 -1px 0 #ffffff26,0 5px 18px #071d2926;color:#081b20}.role-callout:hover .callout-face{background:linear-gradient(135deg,rgba(255,255,255,.8),rgba(235,246,244,.52));box-shadow:inset 0 1px 0 #fff,0 7px 22px #071d2938}.callout-title{text-shadow:0 1px 1px #ffffff4d}.callout-face .avatar{border:1px solid #ffffffb0;box-shadow:0 1px 4px #12332a26}.avatar.profile-portrait{background-size:cover!important;background-position:center!important}.avatar.avatar-initials{display:grid;place-items:center;background:#d2e1dd;color:#24423d;font-size:14px;font-weight:700}
.floor-sticker{width:76px;height:48px}.floor-face{position:relative;width:60px;height:18px;border:2px solid #ffffffe6;background:transparent!important;box-shadow:0 1px 4px #0005,inset 0 1px 3px #0002;animation:none;font-size:0}.floor-face::after{content:"";position:absolute;inset:-2px;border:1px solid #ffffffe0;border-radius:50%;animation:floor-ripple 2.6s ease-out infinite;pointer-events:none}.floor-sticker:hover .floor-face{border-color:#fff;box-shadow:0 0 8px #ffffff70}.floor-sticker:hover .floor-face::after{animation-duration:1.5s}@keyframes floor-ripple{0%{transform:scale(.95);opacity:.65}80%,100%{transform:scale(1.65,1.8);opacity:0}}@media(prefers-reduced-motion:reduce){.floor-face::after{animation:none;opacity:.3;transform:scale(1.25)}}

/* A single, quiet scrolling surface. Content remains wheel/touch/keyboard scrollable. */
*,*::before,*::after{scrollbar-width:none!important}*::-webkit-scrollbar{display:none!important;width:0;height:0}
button,a,.avatar,.callout-face{transition:background-color .2s ease,border-color .2s ease,box-shadow .25s ease,color .2s ease}button:active:not(.hotspot){filter:brightness(.92)}
.topbar,.scene-bar,.view-tools{animation:chrome-in .65s cubic-bezier(.16,1,.3,1) both}.scene-bar{animation-delay:.08s}.view-tools{animation-delay:.14s}
.panel:not([hidden]){animation:panel-in .36s cubic-bezier(.16,1,.3,1) both}.panel{background:linear-gradient(150deg,#203c43e8,#142c35ed);box-shadow:inset 0 1px 0 #ffffff18,0 16px 55px #00131f30}.role-row{border-bottom-color:#ffffff08;border-radius:12px;margin:2px 0}.role-row:hover{background:#d5ece318!important;box-shadow:inset 0 0 0 1px #c6e8dc20}.row-arrow{transition:transform .25s ease,color .25s ease}.role-row:hover .row-arrow{transform:translate(2px,-2px);color:#f0fff9}.role-row:hover .avatar{box-shadow:0 0 0 3px #c6e8dc18}
.arriving .callout-face{animation:job-arrive .52s cubic-bezier(.16,1,.3,1) both}.leader-arriving{animation:leader-fade .4s ease both}.leader-arriving path{stroke-dasharray:1;animation:leader-draw .55s cubic-bezier(.2,.7,.2,1) both}.callout-arrow{transition:transform .25s ease}.role-callout:hover .callout-arrow{transform:translate(2px,-2px)}
dialog[open]{display:flex;flex-direction:column}dialog{background:linear-gradient(145deg,#203b43f5,#122b34f5);backdrop-filter:blur(24px);border-color:#e4fff02e;border-radius:22px;box-shadow:inset 0 1px 0 #ffffff14,0 24px 100px #0007}dialog::backdrop{animation:backdrop-in .28s ease both;background:#03131bd4;backdrop-filter:blur(12px)}.modal-heading{flex:none;min-height:66px;padding:12px 16px 12px 22px;gap:12px}.modal-heading h2{flex:1;font-size:19px}.modal-heading .icon-button{border-radius:50%;width:40px;height:40px}.modal-save{border:1px solid #d2ecdf50;border-radius:22px;min-height:40px;padding:8px 16px;font-size:13px;font-weight:600}.modal-save[aria-pressed=true]{background:#cae6da;color:#15352d}#modal-body{min-height:0;max-height:none;overscroll-behavior:contain}
#modal.role-modal,#modal.image-modal,#modal.resource-modal{width:min(960px,calc(100vw - 48px));height:calc(100dvh - 56px);max-height:1000px}#modal.role-modal #modal-body,#modal.image-modal #modal-body,#modal.resource-modal #modal-body{flex:1;overflow:hidden;display:flex;padding:10px;min-height:0}.profession-detail,.resource-viewer{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;overflow:hidden}.resource-viewer video{width:100%;height:100%;max-height:none;object-fit:contain}.document-viewer{display:flex;flex-direction:column;flex:1;width:100%;height:100%;min-height:0;overflow:hidden}.document-stage{position:relative;flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;cursor:zoom-in;border-radius:12px;background:#081d2440}.document-stage.zoomed{cursor:grab}.document-stage.zoomed:active{cursor:grabbing}.document-stage img{display:block;width:100%;height:100%;object-fit:contain;max-width:none;max-height:none;transform-origin:center;user-select:none;pointer-events:none;will-change:transform;transition:opacity .24s ease}.document-stage.image-loading img{opacity:0}.document-stage.image-loading::after{content:"";position:absolute;width:24px;height:24px;border:2px solid #ffffff25;border-top-color:#d5eee3;border-radius:50%;animation:loading-turn .8s linear infinite}.document-pages{display:flex;justify-content:center;align-items:center;gap:20px;padding:5px;flex:none;font-size:13px}.document-pages button{width:44px;height:40px;border-radius:9px}.embedded-viewer{flex:1;min-height:0;overflow:hidden;position:relative;border-radius:12px}.embedded-viewer iframe{position:absolute;inset:0;width:calc(100% + 18px);height:100%;border:0;background:#fff;border-radius:0}.resource-list{overflow:auto;min-height:0}#modal.resource-modal .resource-viewer>p{flex:none}.guide-panel{animation:panel-in .32s cubic-bezier(.16,1,.3,1)}.guide-launch{transition:box-shadow .25s ease,background-color .25s ease}.guide-launch:hover{box-shadow:0 8px 30px #0005}.guide-bubble{animation:job-arrive .4s cubic-bezier(.16,1,.3,1)}
@keyframes chrome-in{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}@keyframes panel-in{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}@keyframes job-arrive{from{opacity:0;transform:translateY(13px) scale(.95);filter:blur(3px)}to{opacity:1;transform:none;filter:blur(0)}}@keyframes leader-fade{from{opacity:0}to{opacity:1}}@keyframes leader-draw{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}@keyframes backdrop-in{from{opacity:0}to{opacity:1}}@keyframes loading-turn{to{rotate:360deg}}
@media(max-width:700px){#modal.role-modal,#modal.image-modal,#modal.resource-modal{width:calc(100vw - 16px);height:calc(100dvh - 24px);max-height:none}.modal-heading{padding:10px 12px 10px 16px;min-height:62px;gap:8px}.modal-heading h2{font-size:16px}.modal-heading .icon-button{width:44px;height:44px}.modal-save{min-height:40px;padding:8px 12px}#modal.role-modal #modal-body,#modal.image-modal #modal-body,#modal.resource-modal #modal-body{padding:4px 6px 8px}.document-stage{border-radius:9px}.panel:not([hidden]){animation-name:panel-in}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.modal-heading .modal-save{font-size:13px;line-height:20px}#modal.role-modal{width:min(660px,calc(100vw - 48px))}@media(max-width:700px){#modal.role-modal{width:calc(100vw - 16px)}}

/* Profession profiles scroll at readable width; image popups retain their fitted viewer. */
.profile-scroll{flex:1;min-height:0;width:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin!important;scrollbar-color:#92aaa7 #152e36}.profile-scroll::-webkit-scrollbar{display:block!important;width:8px}.profile-scroll::-webkit-scrollbar-thumb{background:#92aaa7;border-radius:8px}.profile-scroll img{display:block;width:100%;height:auto;max-width:100%;margin:0 0 12px;background:#fff}.profile-scroll img:last-child{margin-bottom:0}

/* Original PDF document: one native scroll surface inside the modal. */
.pdf-viewer{flex:1;min-height:0;position:relative;overflow:hidden;background:#fff;border-radius:10px}.pdf-viewer iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0}
:root{--glass:rgba(24,48,57,.66)}body{font-family:'Source Sans 3',sans-serif;-webkit-font-smoothing:antialiased}.topbar,.panel,.scene-bar,.view-tools{background:linear-gradient(125deg,#254953b8,#142e39a6);backdrop-filter:blur(26px) saturate(145%);border:1px solid #efffff38;box-shadow:inset 0 1px 0 #ffffff25,0 12px 35px #00151a24}.topbar nav button,.scene-roles,.role-name{font-weight:600;letter-spacing:.01em}.panel h1,.scene-heading h2,.modal-heading h2{font-family:Manrope,sans-serif;letter-spacing:-.025em}.callout-face{background:linear-gradient(135deg,#f7fffebd,#d8efee8c);backdrop-filter:blur(18px) saturate(155%);border:1px solid #ffffffaa;box-shadow:inset 0 1px 0 #fff9,0 5px 22px #092b3626}.callout-title{font-family:'Source Sans 3',sans-serif;font-weight:600}.role-row{transition:background .2s ease,box-shadow .2s ease}.role-row:hover{background:#e5fff013;box-shadow:inset 0 0 0 1px #ffffff18}
.scene-videos{font-size:13px;font-weight:600;padding:8px 12px;border:1px solid #ffffff38;border-radius:20px;white-space:nowrap}.scene-videos[hidden]{display:none}.video-hint{position:fixed;z-index:24;left:50%;bottom:110px;transform:translateX(-50%);display:flex;align-items:center;gap:12px;max-width:calc(100vw - 32px);padding:10px 12px 10px 18px;border-radius:22px;background:#e2f4eeeb;color:#163a40;box-shadow:0 8px 35px #001b3433;backdrop-filter:blur(20px);animation:video-hint-in .4s ease both}.video-hint[hidden]{display:none}.video-hint button{font-size:14px;color:inherit}.video-hint .hint-dismiss{width:30px;height:30px;font-size:22px}.video-hint:has(button:hover),.video-hint:focus-within{box-shadow:0 10px 35px #001b3444}@keyframes video-hint-in{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@media(max-width:700px){.scene-videos{font-size:11px;padding:8px;max-width:90px;white-space:normal;min-height:40px}.video-hint{bottom:150px;width:max-content}.scene-heading{min-width:0}.scene-heading h2{max-width:130px}.panel{background:linear-gradient(125deg,#254953ed,#142e39e8)}}
@media(prefers-reduced-motion:reduce){.video-hint{animation:none}}

.video-hint{animation:video-hint-in .4s ease both,video-hint-out .45s ease 6s forwards}@keyframes video-hint-out{to{opacity:0;translate:0 6px}}@media(prefers-reduced-motion:reduce){.video-hint{animation:none}}

.scene-video-player{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;gap:12px}.video-navigation{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:8px}.video-navigation button{border:1px solid #ffffff40;border-radius:20px;padding:10px 16px;min-height:44px}.video-navigation button:disabled{opacity:.35;cursor:default}.video-navigation span{font-size:14px;text-align:center}@media(max-width:700px){.video-navigation{gap:6px;padding:4px}.video-navigation button{font-size:12px;padding:8px 10px}}

#modal.map-modal{width:min(1440px,calc(100vw - 32px));height:min(940px,calc(100dvh - 32px));max-height:calc(100dvh - 32px)}#modal.map-modal #modal-body{flex:1;min-height:0;overflow:hidden;padding:16px 20px 20px}.map-explorer{display:flex;flex-direction:column;height:100%;min-height:0}.map-hint{margin:0 0 14px;color:#d3e9e4;font-size:16px}.map-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;flex:1;min-height:0}.map-visual{display:flex;flex-direction:column;justify-content:center;min-width:0;min-height:0;align-self:stretch}.map-visual svg{position:static;display:block;width:100%;height:auto;max-height:calc(100% - 42px);aspect-ratio:2400/1338;flex:none;border-radius:12px;overflow:hidden}.map-visual polygon{fill:#36bb9820;stroke:#ffffff55;stroke-width:1;vector-effect:non-scaling-stroke;transition:fill .18s ease,stroke .18s ease;outline:none}.map-visual polygon:hover,.map-visual polygon:focus,.map-visual polygon.region-active{fill:#26bba269;stroke:#fff;stroke-width:2}.map-selection{height:28px;margin:12px 0 0;text-align:center;font-weight:600;color:#d8eee8}.map-regions{max-height:none;min-height:0;overflow-y:auto;gap:7px;padding-right:4px}.map-regions button{flex:none;min-height:44px;transition:background .18s ease,border-color .18s ease}.map-regions button.region-active{background:#4cc4a735;border-color:#a6ead6}.map-regions button:focus-visible{outline:2px solid #a6ead6;outline-offset:-2px}
@media(max-width:700px){#modal.map-modal{width:calc(100vw - 16px);height:calc(100dvh - 20px)}#modal.map-modal #modal-body{padding:10px}.map-hint{font-size:14px;margin-bottom:10px}.map-layout{grid-template-columns:1fr;grid-template-rows:auto minmax(0,1fr);gap:12px}.map-visual svg{max-height:40dvh}.map-selection{font-size:14px;margin-top:6px}.map-regions{display:grid;grid-template-columns:1fr 1fr;align-content:start}.map-regions button{font-size:13px;padding:9px}}
