:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#17253d;background:#f4f7fc;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.43;cursor:not-allowed}[tabindex]:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #5c9cff;outline-offset:2px}.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.skip{position:absolute;z-index:500;top:-70px;left:15px;background:#fff;padding:10px;border-radius:8px}.skip:focus{top:8px}button{border:0}.app{display:flex;flex-direction:column;min-height:700px;height:100dvh}.topbar{flex:none;min-height:72px;background:#fff;display:flex;align-items:center;gap:18px;padding:12px 20px;border-bottom:1px solid #e1e7f1}.identity{display:flex;align-items:center;gap:12px;white-space:nowrap;font-size:14px}.identity strong{font-weight:730}.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:#132842;font-weight:800}.pmark{background:#4ea6fa;color:#fff;width:32px;height:32px;display:grid;place-items:center;border-radius:10px;font-size:23px;font-weight:850}.slash{color:#b0bace}.flag{font-size:10px;letter-spacing:.11em;color:#477fe1;background:#ecf4ff;padding:5px 7px;border-radius:5px;font-weight:800}.project-name{display:flex;flex-direction:column;margin-left:auto;max-width:230px;min-width:120px}.project-name input{border:1px solid transparent;font-size:13px;font-weight:700;background:0 0;padding:5px;border-radius:7px;width:100%}.project-name input:hover{border-color:#e0e7f0}.project-name small{color:#7c8ba1;font-size:10px;padding-left:5px}.main-actions{display:flex;align-items:center;gap:7px}.btn,.icon-button,.tool{border:1px solid #dde5f0;border-radius:9px;background:#fff;color:#233650;min-height:36px;padding:8px 12px;font-size:12px;font-weight:700;white-space:nowrap}.btn:hover,.icon-button:hover,.tool:hover{background:#f2f6fd}.btn.primary{background:#357feb;color:#fff;border-color:#357feb;box-shadow:0 4px 14px #347be725}.btn.primary:hover{background:#246bda}.btn.quiet{background:#f7f9fd}.icon-button{font-size:22px;width:35px;padding:2px}.layout{display:grid;grid-template-columns:minmax(240px,270px) minmax(0,1fr) minmax(260px,290px);flex:1;min-height:0}.panel{background:#fff;min-height:0;overflow:hidden}.library{border-right:1px solid #e1e7f1}.inspector{border-left:1px solid #e1e7f1}.aside-scroll{height:100%;overflow:auto;overscroll-behavior:contain}.section{padding:19px 17px;border-bottom:1px solid #eaf0f6}.section h2{font-size:20px;letter-spacing:-.04em;margin:5px 0 8px}.section p{color:#697a91;font-size:12px;line-height:1.6;margin:5px 0 15px}.eyebrow{font-size:10px;font-weight:800;color:#527ee1;letter-spacing:.14em}.row-two{display:grid;grid-template-columns:1fr 1fr;gap:8px}.panelbtn{width:100%;font-size:12px}.sectionhead{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:12px;gap:6px}.sectionhead h3{font-size:13px;margin:0}.sectionhead small{font-size:10px;color:#8794a9}.hint{font-size:11px!important;color:#8290a4!important;line-height:1.5!important;margin:8px 0 0!important}.page-list{display:flex;flex-direction:column;gap:8px}.page-item{display:flex;align-items:center;gap:8px;padding:6px;border-radius:10px;border:1px solid #e5eaf1;background:#fff}.page-item.active{border-color:#78a7ee;background:#f0f7ff}.page-thumb{width:55px;height:70px;display:grid;place-items:center;flex-shrink:0;border-radius:4px;overflow:hidden;background:#e7ecf5;box-shadow:0 1px 3px #0002}.page-thumb svg{width:100%;height:100%;object-fit:contain}.page-meta{min-width:0;flex:1}.page-meta strong{font-size:11px;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.page-meta small{font-size:10px;color:#8190a5}.page-arrow{display:flex;flex-direction:column;gap:3px}.page-arrow button{height:22px;width:24px;border:1px solid #e6ecf3;background:#fff;border-radius:5px;font-size:11px}.page-main{background:0 0;min-width:0;text-align:left;padding:0;flex:1}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.template-card{padding:7px 4px;background:#f9fbfe;border:1px solid #e1e7f0;border-radius:9px;min-width:0;font-size:10px;color:#475971}.asset-button:hover,.template-card:hover{border-color:#8fb6f0;background:#eef6ff}.mini-template{display:block;position:relative;height:65px;max-width:47px;margin:0 auto 7px;background:#fff;border:1px solid #d4dbe7}.mini-template i{position:absolute;border:1.2px solid #638bc2;background:#dfeafb}.asset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.asset-button{border:1px solid #e3eaf4;background:#fbfcff;border-radius:9px;padding:8px 2px 7px;text-align:center;font-size:10px;color:#465975}.asset-emoji{display:block;font-size:24px;margin-bottom:6px}.editor{min-width:0;display:flex;flex-direction:column;min-height:0;background:#f3f6fb}.toolbar{background:#fff;border-bottom:1px solid #e0e7f2;padding:9px 12px;display:flex;justify-content:space-between;gap:9px;overflow-x:auto;flex-shrink:0}.tools{display:flex;gap:6px;align-items:center}.tool{padding:7px 9px;min-height:32px}.tool.danger{color:#c95361}.tool-right{margin-left:auto}#zoomLabel{font-size:11px;color:#6b7a90;min-width:30px;text-align:center}.stage-scroller{flex:1;min-height:0;overflow:auto;display:flex;padding:26px 20px 30px;align-items:flex-start}.canvas-stack{margin:auto;max-width:100%;width:600px}.canvas-heading{display:flex;justify-content:space-between;font-size:10px;color:#8191a7;font-weight:800;letter-spacing:.1em;margin-bottom:12px}.live-dot{display:inline-block;width:7px;height:7px;background:#42ba91;border-radius:100%;margin-right:6px}.canvas-host{margin:auto;width:100%;max-width:100%;display:flex;justify-content:center;align-items:flex-start;filter:drop-shadow(0 14px 28px #33476628);touch-action:none;outline-offset:4px}.canvas-host svg{display:block;width:100%;height:auto;background:#fff;user-select:none}.canvas-host [data-kind]{cursor:grab}.canvas-host [data-kind]:active{cursor:grabbing}.canvas-foot{font-size:11px;text-align:center;color:#8592a7;margin-top:15px;line-height:1.6}.statusbar{min-height:34px;flex-shrink:0;padding:9px 16px;border-top:1px solid #e1e8f1;display:flex;justify-content:space-between;font-size:10px;color:#6c7f98;background:#fff;gap:12px}.field{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:700;color:#51617a;margin-bottom:12px}.field input,.field select,.field textarea{background:#fbfcff;border:1px solid #dce4ee;border-radius:8px;padding:8px;max-width:100%;min-width:0;color:#1d2f49;min-height:35px;font-weight:500;font-size:12px}.field textarea{min-height:90px;resize:vertical;line-height:1.55}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:10px}.toggle{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;margin:9px 0 16px;color:#495b72}.toggle input{accent-color:#4089f5}.subheading{font-size:11px;font-weight:800;margin:12px 0 13px}.emptybox{background:#f7faff;border:1px dashed #cbd9eb;border-radius:12px;padding:22px 13px;text-align:center}.emptybox p{margin:5px 0}.emptybox strong{font-size:12px}.emptyglyph{font-size:26px;color:#6b9ff2;margin-bottom:7px}.layers{display:flex;flex-direction:column;gap:5px}.layer{display:flex;align-items:center;gap:8px;width:100%;text-align:left;background:#f9fbfe;border:1px solid #e6edf5;border-radius:7px;padding:8px 10px;color:#4a5d77;font-size:11px}.layer.active{border-color:#6aabff;background:#eaf4ff}.layer small{margin-left:auto;color:#8999aa}.privacy{background:#f8fbff}.privacy strong{font-size:12px}.privacy p{margin-bottom:0}.mobile-nav{display:none}.seo{max-width:920px;margin:55px auto;padding:0 22px 70px;color:#5b6c83;font-size:14px;line-height:1.75}.seo h2,.seo h3{color:#1e324d}.toast{position:fixed;z-index:100;bottom:30px;left:50%;transform:translateX(-50%);max-width:min(600px,90vw);padding:13px 20px;border-radius:10px;color:#fff;background:#244366;box-shadow:0 12px 25px #283b5e44;font-size:13px}.overlay{position:fixed;z-index:200;inset:0;background:#12203698;display:grid;place-items:center}.overlay[hidden],.toast[hidden],[hidden]{display:none!important}.export-dialog{background:#fff;border-radius:16px;padding:26px;max-width:min(92vw,400px);width:100%;box-shadow:0 22px 60px #121f3855}.export-dialog h2{margin:0 0 12px;font-size:21px}.export-dialog p{color:#62718b;font-size:13px}.export-dialog progress{width:100%;accent-color:#357feb;height:15px;margin:12px 0 20px}.delete{color:#c44858}.sr-only{position:absolute;left:-9999px}@media(max-width:1250px){.layout{grid-template-columns:225px minmax(0,1fr) 255px}.identity{gap:8px}.main-actions .btn{padding:7px 9px}.project-name{max-width:155px}.flag{display:none}.toolbar{flex-wrap:wrap}.stage-scroller{padding:18px 12px}}@media(max-width:940px){.topbar{flex-wrap:wrap;gap:10px;padding:9px 12px}.identity{flex:1}.project-name{margin-left:0;flex:1}.main-actions{justify-content:flex-end;flex:2}.app{height:100dvh}.mobile-nav{display:flex;background:#fff;border-bottom:1px solid #e0e7f1;padding:7px;gap:6px}.mobile-nav button{flex:1;background:#f2f6fc;color:#47617d;padding:9px 6px;border-radius:8px;font-size:12px;font-weight:700}.mobile-nav button[aria-pressed=true]{background:#e3f0ff;color:#246cc5}.layout{display:block;position:relative;min-height:0;overflow:hidden}.editor,.inspector,.library{position:absolute;inset:0;display:none}.layout[data-tab=canvas] .editor,.layout[data-tab=left] .library,.layout[data-tab=right] .inspector{display:flex;flex-direction:column}.panel{border:0}.aside-scroll{max-width:600px;width:100%;margin:0 auto}.stage-scroller{padding:20px 12px}.toolbar{flex-wrap:nowrap}.canvas-stack{width:min(600px,95vw)}.seo{margin:20px auto}.section{padding:18px}.asset-grid{grid-template-columns:repeat(4,1fr)}}@media(max-width:540px){.topbar{min-height:85px}.brand span:not(.pmark),.slash{display:none}.identity{font-size:12px;flex:0 0 auto}.project-name{max-width:120px}.main-actions{width:100%;flex:auto;justify-content:space-between}.main-actions .btn{font-size:11px;min-height:32px;padding:6px 9px}.main-actions .icon-button{height:32px;font-size:18px}.statusbar{font-size:9px}.canvas-foot{font-size:10px}.canvas-heading{font-size:9px}}.toolbar-select{display:flex;align-items:center;gap:5px;font-size:11px;font-weight:700;color:#51617a;white-space:nowrap}.toolbar-select select{max-width:110px;border:1px solid #dce4ee;border-radius:7px;background:#fff;padding:6px 4px;color:#223750;font-size:11px}.fit-status{border:1px solid #d6e6fb;background:#f1f8ff;border-radius:8px;padding:9px 10px;color:#295a8c;font-size:11px;line-height:1.4;margin:0 0 10px!important}.fit-status.warning{background:#fff8e9;border-color:#f0cc8d;color:#825013}.canvas-host .selection-outline{vector-effect:non-scaling-stroke}@media (max-width:540px){.topbar{height:auto;min-height:0;align-content:start}.identity{min-width:0;max-width:100%}.main-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:100%;flex:none;min-width:0}.main-actions .btn,.main-actions .icon-button{width:100%;min-width:0;white-space:normal;min-height:34px;padding:6px 3px;line-height:1.15;text-align:center}.project-name{min-width:0}.section .row-two .btn{white-space:normal}}@media (prefers-reduced-motion:reduce){.btn,.panelbtn,.tool{transition:none!important}}@media(min-width:941px){.layout{grid-template-columns:minmax(220px,246px) minmax(0,1fr) minmax(235px,258px)}.aside-scroll{overflow:visible;height:auto}.panel{overflow:visible}.section{padding:12px 13px}.stage-scroller{min-height:420px}.editor{min-height:630px}}.v4-drawing{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 11px;background:#fff;border-bottom:1px solid #e0e7f1}.v4-brushes{display:flex;flex-wrap:wrap;gap:4px}.v4-brushes .btn{min-height:29px;padding:5px 8px;font-size:11px}.v4-brushes .btn[aria-pressed=true]{background:#2c71d4;color:#fff;border-color:#2c71d4}.v4-inline{display:flex;align-items:center;gap:4px;font-size:11px;font-weight:650}.v4-inline input[type=range]{width:75px}.v4-inline input[type=color]{width:30px;height:27px;border:0;padding:0}.v4-ink-help{color:#77869d;font-size:10px;flex:1 1 170px}.v4-reader{padding:9px 13px;background:#fff;border-top:1px solid #e5eaf3;max-height:285px;overflow:auto}.v4-reader summary{cursor:pointer;font-weight:700;font-size:12px;color:#26588c}.v4-reader-actions{display:flex;align-items:center;gap:10px;margin:10px 0}.v4-reader-stage svg{width:auto;max-width:100%;height:150px;display:block;margin:auto;border:1px solid #d2dce8}.v4-reader-stage{text-align:center}.v4-reader-stage .hint{margin-top:8px}.v4-preflight{display:grid;gap:7px;margin-top:9px;font-size:11px}.v4-preflight button{text-align:left;white-space:normal;padding:9px;background:#fff8ea;border:1px solid #eccf95;border-radius:8px;color:#694c1f}.v4-publish details{margin:10px 0}.v4-publish summary{font-size:12px;font-weight:700;cursor:pointer}.v4-story textarea{min-height:60px}.canvas-host.inking [data-kind]{cursor:crosshair}.canvas-host.inking svg{cursor:crosshair}@media(max-width:940px){.v4-reader{max-height:175px}.v4-ink-help{display:none}.v4-drawing{gap:5px;padding:6px}.v4-brushes{flex-wrap:nowrap;overflow:auto;max-width:100%;scrollbar-width:thin}.v4-brushes .btn{flex-shrink:0}.stage-scroller{padding:12px 9px}.v4-reader-stage svg{height:105px}}@media(max-width:390px){.v4-inline input[type=range]{width:62px}.v4-drawing{padding:5px}.v4-brushes .btn{font-size:10px}.v4-reader{padding:6px}}.pk-goal-navigation{max-width:100%;overflow-x:auto;min-width:0}.pk-goal-links{max-width:100%;min-width:0;overflow-x:auto}.pk-tool-title{max-width:100%;min-width:0;overflow-wrap:anywhere}.identity{min-width:0;max-width:100%}.pk-site-search{min-width:0;max-width:100%}.pk-search-field{min-width:0;max-width:100%}.pk-search-field input{max-width:100%;min-width:0}.topbar{max-width:100%;box-sizing:border-box}@media(max-width:540px){.identity{flex:1 1 100%;flex-wrap:wrap}.pk-tool-title{font-size:14px!important;width:auto;flex:1 1 100px}.pk-site-search{flex:1 1 130px}.pk-goal-navigation{width:100%}.pk-goal-links{display:flex;flex-wrap:nowrap}.pk-goal-links a{flex-shrink:0}.toolbar{max-width:100vw;overflow-x:auto}.tools{flex-shrink:0}}@media(min-width:941px){.app{height:auto;min-height:100dvh}.layout{flex:none;min-height:750px;align-items:stretch}.panel{min-height:0}.editor{min-height:750px}.stage-scroller{flex:1;overflow:auto}.aside-scroll{height:auto;overflow:visible}}.pk-site-search .pk-search-field{display:flex;align-items:center;min-width:0}.pk-site-search .pk-search-field svg{width:20px;height:20px;flex:0 0 20px}.pk-site-search .pk-search-field input{flex:1 1 0;width:100%;min-width:0;max-width:100%}@media(max-width:540px){.pk-site-search{overflow:hidden}.pk-site-search .pk-search-field{overflow:hidden}}.v4-brushes{min-width:0;max-width:100%;overflow-x:auto}.v4-drawing{min-width:0;max-width:100%;box-sizing:border-box}.pk-studio-footer,.pk-studio-footer nav{max-width:100%;box-sizing:border-box;min-width:0}.pk-studio-footer{display:flex;flex-wrap:wrap;gap:12px;padding:15px}.pk-studio-footer nav{display:flex;flex-wrap:wrap;gap:8px 12px}@media(max-width:540px){.v4-brushes{width:100%;flex:0 1 100%}.pk-studio-footer{padding:12px 9px}.pk-studio-footer nav{gap:7px}}.v4-episode-preview{width:min(100%,345px);margin:12px auto;max-height:440px;overflow-y:auto;overflow-x:hidden;background:#fafafa;padding:0 8px;border:1px solid #d6e0ed;border-radius:10px}.v4-episode-preview svg{display:block;width:100%;height:auto;background:#fff}.v4-episode-preview .v4-gap{height:20px;background:#fff}.v4-episode-preview p{padding:8px;font-size:11px;color:#6b7d90}@media(min-width:941px){.stage-scroller{align-items:flex-start;max-height:75vh;min-height:430px;flex:none}.stage-scroller .canvas-stack{margin:0 auto}.editor{align-self:start;min-height:0}}