/* Signal / Studio. CSS-only chrome: the scene canvas and its output remain untouched. */
body[data-pf-creative=true].pf-pbr-active{
 --ss-bg:#101725;--ss-panel:#182439;--ss-card:#1d2b42;--ss-input:#101b2c;
 --ss-line:#425875;--ss-text:#ecf2fa;--ss-muted:#afc1d6;--ss-cyan:#62e9df;--ss-violet:#b7a2ff;
 --desk-panel:var(--ss-panel);--desk-line:var(--ss-line);--desk-muted:var(--ss-muted);--desk-ink:var(--ss-text);
 font-family:"Segoe UI",system-ui,sans-serif!important;
}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart)),#pfWorkspaceTools,#pfControlContext,#pfLayoutMenu,[role=menu]){
 color:var(--ss-text)!important;font-family:"Segoe UI",system-ui,sans-serif!important;scrollbar-width:thin;scrollbar-color:#4b6382 #111b2c;
}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart)),header,#pfWorkspaceTools,[role=menu]) :is(h1,h2,h3,h4,p,strong,small,span,label,legend,summary,button,input,select,textarea){font-family:inherit!important}
body[data-pf-creative=true].pf-pbr-active>header{background:linear-gradient(110deg,#111b2c,#1d2d46 55%,#111b2c)!important;border-bottom:1px solid #56718f!important;box-shadow:inset 0 1px #b5dfff12!important}
.pf-studio-wordmark{display:none}
body.pf-pbr-active #packformaLogo{display:none!important}
body.pf-pbr-active #pfSignalStudioBrand,body.pf-pbr-active #mobileBrand .pf-studio-wordmark{display:inline-flex!important;align-items:center;gap:8px;color:#edf6ff;font:650 23px/1 "Segoe UI",system-ui,sans-serif;letter-spacing:-.7px;white-space:nowrap}
.pf-studio-wordmark svg{width:26px;height:30px;flex:none}.pf-studio-wordmark b{color:#62e9df;font-weight:650}
body.pf-pbr-active #mobileBrand>img{display:none!important}
body[data-pf-creative=true].pf-pbr-active>header #mobileBrand #packformaLogo{display:none!important}
body[data-pf-creative=true].pf-pbr-active>header #mobileBrand{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
body[data-pf-creative=true].pf-pbr-active>header #pfHome{background:transparent!important;border:0!important;box-shadow:none!important;padding:2px!important;border-radius:4px!important;width:auto!important;height:auto!important;color:#ecf2fa!important}
body[data-pf-creative=true].pf-pbr-active>header #pfHome:focus-visible{outline:2px solid #62e9df!important;outline-offset:3px}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart)),#pfWorkspaceTools) :is(h1,h2,h3,h4,strong,button){font-family:"Segoe UI",system-ui,sans-serif!important}
body[data-pf-creative=true].pf-pbr-active #pfStudioPhotoActions{background:linear-gradient(100deg,#152339f5,#22334bf5)!important;border:1px solid #63809d!important;box-shadow:0 4px 18px #0003!important}
body[data-pf-creative=true].pf-pbr-active #pfModeSwitch{background:#101b2d!important;border:1px solid #506581!important;padding:3px!important;border-radius:7px!important}
body[data-pf-creative=true].pf-pbr-active #pfModeSwitch button{font:600 12px/1.2 "Segoe UI",sans-serif!important;letter-spacing:.08em;border-radius:4px!important}
body[data-pf-creative=true].pf-pbr-active #pfPBRDialog{background:var(--ss-bg)!important;color:var(--ss-text)!important}
body[data-pf-creative=true].pf-pbr-active #pfPBRDialog .pf-pbr-head{
 background:linear-gradient(105deg,#142338,#21354e 54%,#182338)!important;border-bottom:1px solid #5d7b9d!important;box-shadow:inset 0 1px #62e9df75!important;
}
body[data-pf-creative=true].pf-pbr-active #pfPBRTitle{font-size:15px;font-weight:650;letter-spacing:-.2px;color:#f3f8ff}
body[data-pf-creative=true].pf-pbr-active #pfPBRTitle::before{content:'';display:inline-block;width:7px;height:7px;background:#62e9df;box-shadow:0 0 10px #62e9df66;transform:rotate(45deg);margin-right:10px;vertical-align:2px}
body[data-pf-creative=true].pf-pbr-active #pfPBRDialog :is(.pf-desk-pane,.pf-pbr-controls){background:linear-gradient(155deg,#1e2d45 0,#131d2f 52%,#17243a)!important;border-color:#435c7b!important;color:var(--ss-text)!important}
body[data-pf-creative=true].pf-pbr-active #pfPBRDialog .pf-desk-heading{background:linear-gradient(100deg,#243751,#17253b)!important;border-bottom:1px solid #506d8d!important;min-height:52px!important;box-shadow:inset 0 1px #b3ddff15!important}
body[data-pf-creative=true].pf-pbr-active #pfPBRDialog .pf-desk-heading strong{font-size:12px;font-weight:650;letter-spacing:.04em}
body[data-pf-creative=true].pf-pbr-active #pfPBRDialog :is(.pf-desk-heading small,.pf-pbr-head small,.pf-dock-body>p,.pf-control-section>p){color:var(--ss-muted)!important}
body[data-pf-creative=true].pf-pbr-active #pfPBRDialog :is(.pf-panel-jumps,.pf-pbr-tabs){gap:5px;padding:7px;background:#101c2e!important;border-bottom:1px solid #415a79!important}
body[data-pf-creative=true].pf-pbr-active #pfPBRDialog .pf-dock-block{background:linear-gradient(130deg,#1b2a40,#152035)!important;border:1px solid #435b79!important;border-radius:9px!important;box-shadow:0 5px 16px #060e1b30,inset 0 1px #adcfff0c!important;overflow:hidden}
body[data-pf-creative=true].pf-pbr-active #pfPBRDialog .pf-dock-head{background:linear-gradient(100deg,#283b56,#1a2940)!important;border-bottom:1px solid #49627f!important;border-radius:8px 8px 0 0!important;color:#ecf5ff!important}
body[data-pf-creative=true].pf-pbr-active #pfPBRDialog .pf-dock-head :is(button,strong){font-weight:600!important;letter-spacing:.01em}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart)),#pfWorkspaceTools,[role=menu]) button{
 background:linear-gradient(155deg,#283b53,#1a293e)!important;border:1px solid #506681!important;color:var(--ss-text)!important;border-radius:6px!important;box-shadow:inset 0 1px #c2e6ff0c!important;line-height:1.35;transition:border-color .15s,box-shadow .15s;
}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart)),#pfWorkspaceTools,[role=menu]) button:hover:not(:disabled){border-color:#83b9d0!important;box-shadow:inset 0 0 14px #62e9df0b,0 0 10px #62e9df10!important}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart)),#pfWorkspaceTools) :is(button[aria-selected=true],button[aria-pressed=true]){background:linear-gradient(135deg,#315866,#173849)!important;border-color:#62e9df!important;color:#94fff5!important;box-shadow:inset 0 0 16px #62e9df0d,0 0 10px #62e9df12!important}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart)),#pfWorkspaceTools) :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea){background:var(--ss-input)!important;border:1px solid #506581!important;color:var(--ss-text)!important;border-radius:6px!important;box-shadow:inset 0 1px 5px #0002!important;min-width:0}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart))) :is(input,select,textarea)::placeholder{color:#9aacc3;opacity:1}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart))) option{background:#162239;color:#ecf2fa}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart))) :is(input[type=range],input[type=checkbox],input[type=radio]){accent-color:#62e9df}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart)),#pfWorkspaceTools,[role=menu]) :focus-visible{outline:2px solid #80fff0!important;outline-offset:3px}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart))) :is(fieldset,details,.pf-control-section){border-color:#415976!important}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart))) summary{color:#d9e8f9!important;font-weight:600}
body[data-pf-creative=true].pf-pbr-active #pfSceneCards button{border-radius:8px!important;padding:6px!important;text-align:left;line-height:1.4}
body[data-pf-creative=true].pf-pbr-active #pfSceneCards img{border-radius:5px}
body[data-pf-creative=true].pf-pbr-active #pfWorkspaceTools{background:linear-gradient(130deg,#1c2d43f5,#122035f5)!important;border:1px solid #6486a3!important;border-top-color:#62e9df!important;box-shadow:0 8px 24px #060f222b,inset 0 1px #b7dcff12!important;border-radius:8px!important}
body[data-pf-creative=true].pf-pbr-active :is(#pfPBRDialog .pf-pbr-footer,#pfStudioCaptureActions){background:linear-gradient(100deg,#152339f5,#22334bf5)!important;border:1px solid #536e8b!important;box-shadow:0 4px 18px #0003!important;border-radius:8px!important}
body[data-pf-creative=true].pf-pbr-active :is(#pfPhotoSave,#pfPBRExport){background:linear-gradient(#73f4e7,#32cdd2)!important;border-color:#95fff3!important;color:#082b36!important;font-weight:650!important;box-shadow:0 0 14px #3ce1df20!important}
body[data-pf-creative=true].pf-pbr-active #pfStudioVideo{background:linear-gradient(#c2b1ff,#9b7ee5)!important;border-color:#d4c5ff!important;color:#251342!important;font-weight:650!important;box-shadow:0 0 14px #ab8afa20!important}
body[data-pf-creative=true].pf-pbr-active #pfPBRDialog button:disabled{opacity:.42!important;box-shadow:none!important}
/* Libraries and floating menus use the same surfaces as the workspace. */
body[data-pf-creative=true].pf-pbr-active dialog[open]:not(#pfPBRDialog):not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart){background:radial-gradient(ellipse at top,#263a56,transparent 65%),#121d30!important;border:1px solid #6a8aa7!important;border-top-color:#62e9df!important;border-radius:12px!important;color:#ecf2fa!important;box-shadow:0 24px 90px #0008!important}
body[data-pf-creative=true].pf-pbr-active dialog::backdrop{background:#070f21a6;backdrop-filter:blur(4px)}
body[data-pf-creative=true].pf-pbr-active dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart))>header{background:linear-gradient(110deg,#253a55,#17263d)!important;border-bottom:1px solid #58728f!important;border-radius:8px 8px 0 0!important;color:#ecf2fa!important}
body[data-pf-creative=true].pf-pbr-active :is(#pfPropsDialog,#pfMaterialsDialog) :is(article,.pf-material-card){background:linear-gradient(135deg,#22334b,#18253a)!important;border:1px solid #4c6482!important;border-radius:8px!important;color:#ecf2fa!important;box-shadow:inset 0 1px #c2e6ff10}
body[data-pf-creative=true].pf-pbr-active :is(#pfPropsDialog,#pfMaterialsDialog) :is(p,label){color:#b8c9dd!important}
body[data-pf-creative=true].pf-pbr-active :is(#pfPropsDialog,#pfMaterialsDialog) img{border-radius:5px}
body[data-pf-creative=true].pf-pbr-active #pfPropsDialog .pf-prop-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1.3fr) minmax(0,1.2fr);align-items:end;gap:12px}
body[data-pf-creative=true].pf-pbr-active #pfPropsDialog .pf-prop-filters label{margin:0;min-width:0;display:flex;flex-direction:column;gap:7px;font-size:12px}
body[data-pf-creative=true].pf-pbr-active #pfPropsDialog .pf-prop-filters label:last-child{flex-direction:row;align-items:center;min-height:40px;gap:8px}
body[data-pf-creative=true].pf-pbr-active #pfPropsDialog .pf-prop-filters :is(input[type=search],select){width:100%;box-sizing:border-box;height:40px;margin:0}
body[data-pf-creative=true].pf-pbr-active #pfPropsDialog .pf-prop-grid article{display:flex;flex-direction:column}
body[data-pf-creative=true].pf-pbr-active #pfPropsDialog .pf-prop-grid article>button{margin-top:auto;align-self:flex-start}
body[data-pf-creative=true].pf-pbr-active :is(dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart)),[role=menu]) a{color:#7aeee4!important}
body[data-pf-creative=true].pf-pbr-active [role=menu]{background:linear-gradient(140deg,#263950,#142238)!important;border:1px solid #6a8aa7!important;border-top-color:#62e9df!important;border-radius:8px!important;box-shadow:0 10px 32px #0006!important}
body[data-pf-creative=true].pf-pbr-active #pfMobileStudioNav{background:linear-gradient(#20324b,#101c30)!important;border-top:1px solid #6485a2!important;box-shadow:0 -4px 18px #0a132520!important}
body[data-pf-creative=true].pf-pbr-active #pfMobileStudioNav button{background:transparent!important;border-color:transparent!important;border-radius:7px!important;color:#b5c9df!important}
body[data-pf-creative=true].pf-pbr-active #pfMobileStudioNav button[aria-pressed=true]{background:linear-gradient(#315566,#1c3d4c)!important;color:#93fff3!important;border-color:#62e9df!important}
@media(min-width:921px){
 body[data-pf-creative=true].pf-pbr-active #pfPBRDialog .pf-desk-scroll{padding:10px 10px 28px}
 body[data-pf-creative=true].pf-pbr-active #pfPBRDialog .pf-dock-body{padding:12px}
 body[data-pf-creative=true].pf-pbr-active #pfPBRDialog :is(.pf-panel-jumps,.pf-pbr-tabs) button{min-height:34px!important;font-size:11px!important;display:inline-flex;align-items:center;justify-content:center;gap:6px}
}
@media(max-width:920px){
 body[data-pf-creative=true].pf-pbr-active>header #pfModeSwitch{position:static!important;transform:none!important;min-width:0!important;max-width:190px!important;flex:1!important;gap:2px!important}
 body[data-pf-creative=true].pf-pbr-active>header #pfModeSwitch button{min-width:0!important;padding:8px 6px!important;font-size:11px!important;letter-spacing:.02em!important;flex:1!important}
 body.pf-pbr-active #mobileBrand .pf-studio-wordmark{font-size:18px!important;gap:5px}
 body.pf-pbr-active #mobileBrand .pf-studio-wordmark svg{width:22px;height:25px}
 body[data-pf-creative=true].pf-pbr-active #pfWorkspaceTools{max-width:calc(100vw - 24px);padding:5px!important}
 body[data-pf-creative=true].pf-pbr-active #pfWorkspaceTools button{min-height:40px!important}
 body[data-pf-creative=true].pf-pbr-active #pfPBRDialog :is(.pf-pbr-scroll input:not([type=range]):not([type=checkbox]),.pf-pbr-scroll select,.pf-pbr-scroll button){min-height:44px}
 body[data-pf-creative=true].pf-pbr-active #pfMobileStudioNav button{min-height:48px!important}
 body[data-pf-creative=true].pf-pbr-active dialog[open]:not(#pfPBRDialog):not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart){max-width:calc(100vw - 16px)!important;box-sizing:border-box;padding:12px!important}
 body[data-pf-creative=true].pf-pbr-active :is(#pfPropsDialog,#pfMaterialsDialog) button{min-height:44px}
 body[data-pf-creative=true].pf-pbr-active #pfPropsDialog .pf-prop-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 body[data-pf-creative=true].pf-pbr-active #pfPropsDialog .pf-prop-filters label:last-child{grid-column:1/-1;min-height:32px}
}
@media(prefers-reduced-motion:reduce){body.pf-pbr-active :is(#pfPBRDialog,dialog[open]:where(:not(#pfAssemblyClip):not(#pfProjectGallery):not(#pfCreativeStart)),#pfWorkspaceTools) *{transition:none!important}}
@media(max-width:400px){
 body.pf-pbr-active #mobileBrand .pf-studio-wordmark{font-size:16px!important;gap:4px}
 body[data-pf-creative=true].pf-pbr-active>header #pfModeSwitch{max-width:174px!important}
}
/* Vector tool symbols, sized to the same optical grid as the panel tabs. */
@media(min-width:921px){
body[data-pf-creative=true].pf-pbr-active #pfSceneSaveQuick::before{content:'';display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%203h13l4%204v14H3V3h1M7%203v7h10V3M7%2021v-7h10v7%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body[data-pf-creative=true].pf-pbr-active #pfScenesQuick::before{content:'';display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%207V4h7l3%203h8v14H3ZM3%2010h18%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body[data-pf-creative=true].pf-pbr-active #pfDeckStudio::before{content:'';display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%204h18v13H3ZM12%2017v5m-5%200%205-5%205%205M8%208h8m-8%204h5%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body[data-pf-creative=true].pf-pbr-active #pfPhotoToggle::before{content:'';display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M8%203H3v5m13-5h5v5M3%2016v5h5m13-5v5h-5M8%208h8v8H8Z%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body[data-pf-creative=true].pf-pbr-active #pfPropsOpen::before{content:'';display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%209%205v9l-9%205-9-5V8Zm-9%205%209%205%209-5M12%2013v9%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body[data-pf-creative=true].pf-pbr-active #pfInstanceDuplicate::before{content:'';display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%209h12v12H9ZM15%206V3H3v12h3%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
body[data-pf-creative=true].pf-pbr-active #pfInstanceRemove::before{content:'';display:inline-block;width:16px;height:16px;margin-right:6px;vertical-align:-3px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22white%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%206h18M9%206V3h6v3M6%206l1%2015h10l1-15M10%2010v7m4-7v7%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat}
}
