/* Flyer, Brochure & Newsletter Designer (built on the simulations lab shell) */
.pb-hero{background:radial-gradient(circle at 85% 20%,#ffb84d33,transparent 40%),radial-gradient(circle at 60% 120%,#2fbf8f26,transparent 45%),radial-gradient(circle at 0 0,#4f8dff2a,transparent 45%),#0a0c1b}
.fp-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.fp-badges span{font-size:11px;color:#d0c6e2;background:#ffffff08;padding:4px 11px;border:1px solid #4c425c;border-radius:20px}
.pb-page .pb-app{grid-template-columns:minmax(0,1fr) 340px}
.pb-toolbar{flex-wrap:wrap;gap:6px}
.vd-tools{display:flex;flex-wrap:wrap;gap:4px}
.pb-page .vd-tools button{min-height:34px;padding:4px 9px;font-size:12px;background:#0b0e20d9}
.pb-page .vd-tools button[aria-checked=true]{background:#2b3fa0;border-color:#8fb1ff;color:#fff}
.vd-actions{display:flex;gap:6px}
.vd-arena{position:relative;padding:0!important;display:block!important;min-height:0;background:#cfd4e0;border-radius:12px;overflow:hidden}
#pbSvg{position:absolute;inset:0;width:100%;height:100%;display:block;touch-action:none;outline:none}
#pbShadow{fill:#0002;transform:translate(3px,4px)}
.fp-hint{position:absolute;left:10px;bottom:10px;max-width:70%;padding:6px 10px;border-radius:10px;background:#0b0e20e6;color:#dfe4ff;font-size:12px;pointer-events:none;z-index:4}
.fp-hint:empty{display:none}
.pb-status{gap:10px;flex-wrap:wrap}
.pb-pager{display:flex;align-items:center;gap:6px;font-size:12px;color:#dfe4ff;white-space:nowrap}
.pb-page .pb-pager button{min-height:28px;min-width:30px;padding:0 6px}
.fp-grow{flex:1}.fp-total{font:700 12px ui-monospace,Consolas,monospace;color:#9ec0ff}.fp-saved{font-size:11px;color:#8b93b8}
.pb-warn{color:#ff8a98}
.fp-field{display:flex;flex-direction:column;gap:5px;font-size:12px;color:#c8cbe6;margin-bottom:10px}
.vd-grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:end}
.vd-grid3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;align-items:end}
.vd-grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.pb-page input[type=color]{min-height:34px;padding:2px;width:100%}
.vd-props label{display:flex;flex-direction:column;gap:4px;font-size:11px;color:#c8cbe6}
.vd-props label.ns-tog{flex-direction:row;align-items:center;gap:8px;font-size:12px;margin:6px 0}.vd-props label.ns-tog input{width:auto;min-height:0}
.vd-props h3{margin:14px 0 8px}.vd-props h3:first-child{margin-top:0}
.pb-page .vd-props input,.pb-page .vd-props select{min-height:32px;padding:4px 7px;font-size:12px}
.pb-page textarea{width:100%;box-sizing:border-box;font:13px/1.45 ui-monospace,Consolas,monospace;padding:8px 10px;color:#fff;background:#0a0d1f;border:1px solid #333b72;border-radius:10px;resize:vertical}
.vd-btns{display:flex;flex-wrap:wrap;gap:4px;margin:4px 0 10px}
.pb-page .vd-btns button{min-height:30px;min-width:34px;padding:3px 8px;font-size:12px}
.pb-page .vd-btns button[aria-pressed=true]{background:#2b3fa0;border-color:#8fb1ff}
.vd-sel{font-size:12px;color:#9ec0ff;margin:0 0 10px}
.pb-help{font-size:11px;color:#8b93b8;margin:4px 0 10px;line-height:1.5}
.pb-help code{color:#cfd6ff;background:#1a1f45;padding:0 4px;border-radius:4px}
.pb-thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:10px}
.pb-page .pb-thumbs button{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px;min-height:0;background:#0f1330;border:1px solid #2a3060;border-radius:10px;font-size:11px;color:#c8cbe6}
.pb-page .pb-thumbs button[aria-current=true]{border-color:#8fb1ff;background:#16205a;color:#fff}
.pb-thumbs svg{width:100%;height:auto;background:#fff;box-shadow:0 1px 4px #0006;display:block}
.ns-presets .vd-thumb{width:100%;height:auto;max-height:130px;object-fit:contain;border-radius:6px;background:#fff;display:block;margin-bottom:6px}
@media(max-width:1000px){.pb-page .pb-app{grid-template-columns:1fr}.vd-arena{height:66vh;flex:none!important;aspect-ratio:auto!important}}
@media(max-width:640px){.pb-page .vd-tools button span{display:none}.pb-page .vd-tools button{min-width:36px}}
