:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',system-ui,sans-serif;color:#1c304a;background:#f7f9fc;font-synthesis:none;--blue:#327cda;--line:#e1e8f0;--muted:#708199}*{box-sizing:border-box}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}.dropzone:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #68a7fa;outline-offset:2px}a{color:inherit;text-decoration:none}.skip{position:absolute;top:-200px;left:15px;background:#fff;padding:12px;z-index:100}.skip:focus{top:10px}.sitebar{display:flex;align-items:center;gap:17px;padding:12px clamp(16px,3vw,48px);background:rgba(255,255,255,.95);border-bottom:1px solid var(--line);min-height:72px}.brand{font-size:20px;font-weight:800;letter-spacing:-.8px;display:flex;align-items:center;gap:9px;white-space:nowrap}.mark{display:grid;place-items:center;width:34px;height:34px;color:#fff;border-radius:10px;background:linear-gradient(135deg,#80b9fb,#347bd8);font-size:22px}.bar-sep{height:24px;width:1px;background:#d7dfea}.product-name{font-size:13px;font-weight:650;color:#718198}.bar-actions{margin-left:auto;display:flex;gap:8px;align-items:center}.btn{border:1px solid transparent;background:#fff;padding:10px 13px;line-height:1.25;border-radius:11px;color:#3f5470;font-size:12px;font-weight:750;min-height:39px;transition:background .15s,transform .15s}.btn:not(:disabled):active{transform:scale(.985)}.btn.primary{background:linear-gradient(145deg,#4c9bff,#2f78dc);color:#fff;box-shadow:0 6px 16px #347ed329}.btn.primary:hover{background:#276bcc}.btn.secondary{background:#e9f2ff;color:#296bbd}.btn.quiet{background:#fff;border-color:#dce5f1}.btn.quiet:hover{background:#f2f6fb}.btn.danger{background:#fff6f6;color:#b4444c;border-color:#f6dfe0}.btn.full{width:100%;margin-top:8px;text-align:center;display:block}.intro{padding:22px clamp(16px,3vw,48px) 24px;display:flex;justify-content:space-between;align-items:end;gap:30px}.intro .eyebrow{color:#538be2;letter-spacing:2.1px;font-weight:800;font-size:10px;margin:0 0 8px}.intro .eyebrow span{color:#86bbff}.intro h1{font-size:clamp(27px,3vw,39px);letter-spacing:-1.7px;line-height:1.15;margin:0 0 8px;color:#263752}.intro h1 em{font-style:normal;color:#3a87e7}.intro p:not(.eyebrow){color:#71849c;line-height:1.6;margin:0;font-size:13px;max-width:630px}.intro-meta{display:flex;flex-direction:column;gap:9px;white-space:nowrap;font-size:11px;color:#6b80a0;font-weight:650}.intro-meta span{border:1px solid #e0e9f6;border-radius:100px;padding:6px 10px;background:#fff}.workspace{margin:0 clamp(12px,2vw,32px) 26px;display:grid;grid-template-columns:minmax(255px,285px) minmax(350px,1fr) minmax(238px,270px);gap:16px;align-items:stretch;min-height:650px;height:min(820px,calc(100vh - 222px))}.preview-column,.settings,.sidebar{border:1px solid #e4ebf4;border-radius:19px;background:#fff;box-shadow:0 8px 35px rgba(22,62,110,.035);min-height:0;overflow:hidden}.settings,.sidebar{display:flex;flex-direction:column}.panel-head{padding:23px 21px 17px;border-bottom:1px solid var(--line);flex:none}.section-number{font-size:10px;letter-spacing:1.7px;color:#4b8ee8;font-weight:850}.panel-head h2{font-size:19px;letter-spacing:-.65px;margin:9px 0 7px}.panel-head p{color:#8a97a9;font-size:11px;line-height:1.55;margin:0}.sidebar-scroll{padding:0 17px 22px;overflow:auto;overscroll-behavior:contain;flex:1}.sidebar-section{padding:19px 0 18px;border-bottom:1px solid var(--line)}.sidebar-section:last-child{border-bottom:0}.sidebar-section h3{margin:0 0 12px;font-size:12px;color:#304058}.sidebar-section label:not(.check-row){font-size:11px;font-weight:700;color:#586d84;display:flex;justify-content:space-between;margin:11px 0 6px}.sidebar-section input:not([type=checkbox],[type=range],[type=file]),.sidebar-section select,.sidebar-section textarea{width:100%;border:1px solid #dfe8f2;border-radius:9px;background:#fcfdff;padding:10px 11px;min-height:37px;color:#32435b;font-size:12px;outline-color:#6da8f1}.sidebar-section textarea{resize:vertical;min-height:64px}.hint,.sidebar-section small{font-size:10px;color:#90a0b3;line-height:1.6}.sidebar-section small{display:block;margin-top:9px}.dropzone{border:1.5px dashed #a6c6ed;border-radius:13px;display:flex;align-items:center;flex-direction:column;text-align:center;padding:19px 12px;gap:5px;background:linear-gradient(150deg,#f9fcff,#f0f7ff);cursor:pointer;transition:background .15s}.dropzone.dragging,.dropzone:hover{background:#e4f1ff;border-color:#3781e5}.dropicon{height:44px;width:44px;border:1px solid #d6e7fd;color:#418be8;border-radius:14px;background:#fff;font-size:25px;display:grid;place-items:center;margin-bottom:7px}.dropzone strong{font-size:12px}.dropzone span{font-size:11px;color:#8a9bb0}.dropzone .drop-foot{color:#3887e8;font-size:11px;font-weight:800;margin-top:5px}.progress-top,.section-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.section-row h3{margin:0}.count{font-size:10px;color:#3a88e4;background:#edf5ff;border-radius:99px;padding:2px 6px;margin-left:4px}.small-button,.text-button{border:1px solid #dae5f3;background:#fff;padding:6px 9px;color:#4676aa;font-size:10px;font-weight:750;border-radius:8px}.text-button{background:0 0;border:0}.progress-box{background:#f4f8fe;border:1px solid #e0eafb;border-radius:11px;padding:10px;margin-top:12px}.progress-top{font-size:11px}.progress-track{background:#dce8f9;border-radius:100px;height:6px;overflow:hidden;margin-top:8px}.progress-track>div{height:100%;background:#438fee;width:0;transition:width .2s}.page-list{margin-top:10px;display:flex;flex-direction:column;gap:8px;min-height:50px}.page-list:empty:before{content:'Your pages will appear here.';font-size:11px;color:#91a0b0;border:1px solid #e7edf5;background:#f9fbfe;padding:14px;border-radius:9px}.page-item{display:grid;grid-template-columns:47px minmax(0,1fr) auto;gap:9px;align-items:center;border:1px solid #e3eaf4;background:#fff;border-radius:10px;padding:5px}.page-item.selected{border-color:#5598ed;background:#f1f7ff}.page-item.dragover{box-shadow:0 0 0 2px #4d93ef}.page-item>img{width:47px;height:56px;object-fit:contain;background:#f1f5fb;border-radius:6px}.page-name{overflow:hidden}.page-name strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:11px}.page-name small{font-size:10px;color:#9ba7b7}.page-mini-actions{display:flex;flex-direction:column;gap:3px}.page-mini-actions button{border:0;background:#ecf3fc;font-size:11px;color:#456b95;border-radius:5px;min-width:22px;min-height:20px}.page-item[draggable=true]{cursor:grab}.row-buttons{display:flex;gap:7px;flex-wrap:wrap}.row-buttons>.btn{flex:1;padding:9px 6px}.row-buttons.end{justify-content:flex-end}.row-buttons.end>.btn{flex:initial;padding:10px 16px}.preview-column{display:flex;flex-direction:column}.preview-toolbar{border-bottom:1px solid #e2e9f3;min-height:60px;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 17px}.preview-title{display:flex;gap:8px;align-items:center}.preview-title strong{font-size:12px}.preview-title span:last-child{font-size:10px;color:#8295ac;margin-left:8px}.live-dot{width:8px;height:8px;background:#39bc8b;border-radius:50%;box-shadow:0 0 0 3px #e1f8f0}.reader-host{flex:1;min-height:220px;overflow:hidden;background:#e9eef7}.preview-footer{padding:10px 15px;display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#98a5b5;border-top:1px solid #e5edf6}.preview-footer span:last-child{font-variant-numeric:tabular-nums}.theme-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.theme-choice{border:1px solid #e0e7f1;border-radius:11px;padding:10px 6px;background:#fff;text-align:center;font-size:11px;color:#526580;font-weight:650}.theme-choice.active{border-color:#4f98f3;box-shadow:0 0 0 2px #e8f4ff}.swatch{display:block;margin:0 auto 8px;width:37px;height:30px;border-radius:5px;border:1px solid #dce3ef;box-shadow:3px 3px 0 #dce5ef}.swatch.paper{background:#fff}.swatch.cream{background:#fff7e7}.swatch.slate{background:#dde4eb}.swatch.midnight{background:#172035}.check-row{display:flex;gap:9px;align-items:center;font-size:11px;color:#5b6c81;margin:15px 0}.sidebar-section input[type=range]{width:100%;accent-color:#438fea}.site-footer{margin:0 clamp(16px,3vw,48px) 25px;display:flex;justify-content:space-between;gap:20px;font-size:11px;color:#94a3b4}.toast{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);z-index:1000;background:#213854;color:#fff;border-radius:12px;padding:13px 18px;font-size:12px;box-shadow:0 7px 25px #233b5570;max-width:90vw}.toast.error{background:#963e43}dialog{border:1px solid #dce4ef;box-shadow:0 20px 80px #132c4755;border-radius:17px;padding:25px;max-width:min(430px,90vw);font:13px/1.6 system-ui;color:#344860}dialog::backdrop{background:#15243b77}dialog h3{font-size:20px;margin:0 0 12px}dialog code{word-break:break-word}dialog .row-buttons{margin-top:15px}@media(max-width:1220px){.workspace{grid-template-columns:245px minmax(300px,1fr) 220px;margin:0 10px 20px;gap:10px}.sidebar-scroll{padding:0 12px 15px}.panel-head{padding:17px 15px}.intro-meta{display:none}}@media(max-width:1000px){.workspace{grid-template-columns:minmax(235px,280px) minmax(0,1fr);height:auto;min-height:670px}.settings{grid-column:1/-1}.settings .sidebar-scroll{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;padding:0 18px}.settings .sidebar-section{border-bottom:0}.preview-column{min-height:600px}}@media(max-width:690px){.sitebar{padding:10px 13px;min-height:60px;gap:8px}.brand{font-size:17px}.bar-sep,.product-name{display:none}.bar-actions{gap:4px}.bar-actions .btn{padding:7px;font-size:10px;min-height:33px}.intro{padding:22px 16px}.intro h1{letter-spacing:-1.1px;font-size:27px}.workspace{display:flex;flex-direction:column;margin:0 10px 20px}.preview-column{min-height:520px;order:-1}.settings,.sidebar{max-height:none}.sidebar-scroll{overflow:visible}.settings .sidebar-scroll{display:block}.preview-footer{display:none}.site-footer{flex-direction:column;gap:4px}.preview-toolbar{padding:10px}.preview-toolbar .small-button{padding:6px}.reader-host{min-height:440px}}@media(prefers-reduced-motion:reduce){*,:after,:before{scroll-behavior:auto!important;transition:none!important}}body,html{max-width:100%;overflow-x:clip}.pk-studio-footer,.pk-studio-header,.sitebar{max-width:100%;min-width:0;flex-wrap:wrap}.pk-studio-footer nav,.pk-studio-header nav{min-width:0;flex-wrap:wrap}.preview-column,.preview-title,.preview-toolbar,.settings,.sidebar,.workspace{min-width:0}.preview-toolbar{flex-wrap:wrap}.field-help{font-weight:500;color:#71849c}.page-name small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pkr-catalog label{font:600 12px system-ui}@media(max-width:390px){.bar-actions{flex-wrap:wrap;justify-content:flex-end}.sitebar{flex-wrap:wrap}.intro{padding:14px 12px}.preview-footer{flex-wrap:wrap}.pkr-foot{gap:3px}.pkr-foot button{padding:7px 5px}}