:root{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#18243c;background:#f8fafc;font-synthesis:none;-webkit-font-smoothing:antialiased;--blue:#2563eb;--text:#17243d;--sub:#8090a8;--line:#e7ecf3;--shadow:0 4px 15px rgba(33,55,88,.04)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.35;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap}.hidden{display:none!important}.studio-app{height:100vh;min-height:550px;display:flex;flex-direction:column;overflow:hidden;background:#f8fafc}.app-header{height:68px;min-height:68px;display:flex;align-items:center;gap:22px;padding:0 22px;background:#fff;border-bottom:1px solid var(--line);z-index:30}.brand,.brand-zone,.document-zone,.header-actions{display:flex;align-items:center}.brand-zone{gap:18px;min-width:270px}.brand{gap:9px;text-decoration:none;color:#17243d}.brand-name{font-weight:800;font-size:17px;letter-spacing:-.7px}.brand-icon{line-height:0}.brand-divider{height:23px;width:1px;background:#e0e7ef}.studio-name{font-size:13px;font-weight:700;color:#6c7c94;white-space:nowrap}.document-zone{flex-direction:column;align-items:flex-start;gap:4px;flex:1;min-width:120px}.document-title{border:1px solid transparent;background:0 0;color:#17243d;font-weight:700;font-size:14px;padding:3px 5px;min-width:120px;max-width:360px;width:100%;border-radius:5px;text-overflow:ellipsis}.document-title:focus,.document-title:hover{border-color:#dce5f2}.save-indicator{display:flex;align-items:center;gap:6px;color:#95a0b4;font-size:10px;margin-left:5px}.save-dot{width:6px;height:6px;background:#22c55e;border-radius:50%}.header-actions{gap:8px}.button{height:35px;padding:0 13px;border-radius:8px;border:1px solid transparent;font-size:12px;font-weight:650;white-space:nowrap;transition:background .12s}.button.ghost{background:0 0;color:#43536d}.button.ghost:hover{background:#f2f5fa}.button.primary{color:#fff;background:var(--blue);border-color:var(--blue);box-shadow:0 2px 7px #2563eb23;padding:0 17px}.button.primary:hover{background:#1d4ed8}.button.danger{color:#fff;background:#dc2626}.dropdown-wrapper{position:relative}.dropdown{position:absolute;right:0;top:43px;width:235px;padding:6px;z-index:70;background:#fff;border-radius:12px;border:1px solid #e3e9f1;box-shadow:0 18px 40px #1f31502c}.dropdown button{display:flex;align-items:center;gap:10px;text-align:left;width:100%;border:0;background:0 0;border-radius:8px;font-weight:650;color:#263651;padding:10px 9px;font-size:12px;flex-wrap:wrap}.dropdown button:hover{background:#f4f7ff}.dropdown small{font-size:10px;color:#8d99aa;font-weight:400;flex-basis:100%;padding-left:29px;margin-top:-7px}.menu-accent{width:18px;font-size:17px;color:#64748b}.toolbar{min-height:47px;padding:0 20px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:10px;z-index:20}.toolbar-group{display:flex;align-items:center;gap:3px}.toolbar-divider{height:21px;width:1px;background:#e7ebf1;margin:0 4px}.tool-button{min-width:30px;height:30px;border:0;border-radius:6px;background:0 0;color:#596d88;font-size:20px;display:grid;place-items:center;padding:0 6px}.tool-button:hover{background:#f1f5fb;color:#2563eb}.toolbar-text{font-size:14px;font-weight:800}.toolbar-spacer{flex:1}.zoom-label{min-width:50px;font-size:11px;font-weight:700}.fit-button{font-size:12px;font-weight:700}.checkbox-label{font-size:11px;color:#66788f;display:flex;align-items:center;gap:5px;white-space:nowrap}.checkbox-label input{accent-color:#2563eb;width:14px;height:14px}.workspace{display:flex;flex:1;min-height:0}.palette,.properties{background:#fff;overflow-y:auto;flex-shrink:0;z-index:10}.palette{width:244px;border-right:1px solid var(--line);display:flex;flex-direction:column}.palette-header{padding:24px 19px 12px}.palette h2,.properties h2{font-size:14px;margin:0 0 5px;font-weight:750;letter-spacing:-.25px}.palette-subtitle{color:#9aa6b6;font-size:11px}.palette-search{position:relative;margin:3px 16px 12px}.palette-search>span{position:absolute;left:12px;top:7px;font-size:20px;color:#9da9ba}.palette-search input{height:35px;width:100%;border:1px solid #e9edf4;background:#f8fafc;padding:0 10px 0 33px;border-radius:8px;font-size:11px;color:#34445f}.palette-section{padding:12px 15px 20px}.palette-section h3,.property-section h3{font-size:10px;text-transform:uppercase;letter-spacing:1.3px;color:#96a3b6;font-weight:800;margin:0 4px 13px}.shape-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.shape-tile{height:80px;border:1px solid #eaf0f7;border-radius:9px;background:#fff;color:#73849b;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:1px;transition:all .15s;cursor:grab}.shape-tile:hover{border-color:#a8c8ff;background:#f7faff;box-shadow:0 4px 12px #1d4ed80d;transform:translateY(-1px)}.shape-tile svg{width:70px;height:51px;overflow:visible}.shape-tile svg ellipse,.shape-tile svg path,.shape-tile svg rect{fill:#f3f7fd;stroke:#73849b;stroke-width:2}.shape-tile span{font-size:10px;font-weight:550}.template-section{border-top:1px solid #eef1f7;padding-top:20px}.templates-list{display:flex;flex-direction:column;gap:5px}.template-item{display:flex;align-items:center;text-align:left;gap:10px;border:0;border-radius:9px;background:0 0;padding:9px 5px;color:#22334d}.template-item:hover{background:#f5f8ff}.template-glyph{display:grid;place-items:center;background:#f1f5ff;border:1px solid #e7edfd;width:33px;height:33px;border-radius:9px;color:#4a74b8;font-size:19px}.template-item span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1}.template-item strong{font-size:11px;font-weight:650}.template-item small{font-size:10px;color:#94a0b1}.template-arrow{font-size:13px;color:#b1bdcd}.palette-footer{margin:auto 16px 15px;padding-top:12px;border-top:1px solid #eef1f6;font-size:10px;color:#9aa5b4;line-height:1.55}.canvas-area{min-width:200px;min-height:0;position:relative;flex:1;background:#f8fafc;display:flex;flex-direction:column}.canvas-heading{height:48px;min-height:48px;padding:0 21px;display:flex;justify-content:space-between;align-items:center;background:#f9fbfe;color:#65758d;font-size:11px;border-bottom:1px solid #edf1f7}.canvas-heading-left,.canvas-heading-right{display:flex;align-items:center;gap:9px}.canvas-heading-icon{font-size:19px;color:#7c96b7}.workspace-badge{padding:4px 7px;border-radius:5px;background:#eaf1ff;color:#5275ba;font-size:9px;font-weight:750;letter-spacing:.3px}.live-indicator{width:6px;height:6px;border-radius:50%;background:#20b48a}.canvas-scroller{flex:1;min-height:0;position:relative;margin:0;overflow:hidden}.graph-container{width:100%;height:100%;overflow:auto;outline:0;touch-action:none;background-color:#fafcff;background-image:radial-gradient(#dce4ee 1px,transparent 1px);background-size:20px 20px}.graph-container.no-grid{background-image:none}.canvas-tip{position:absolute;bottom:18px;left:50%;transform:translateX(-50%);background:#fff;border:1px solid #e6ecf4;border-radius:8px;padding:10px 15px;color:#75869e;font-size:10px;box-shadow:var(--shadow);white-space:nowrap;max-width:80%;text-overflow:ellipsis;overflow:hidden;pointer-events:none}.canvas-controls{position:absolute;right:18px;bottom:16px}.corner-button{border:1px solid #e3e9f2;background:#fff;color:#7587a0;border-radius:9px;width:35px;height:35px;font-size:23px;box-shadow:var(--shadow)}.properties{width:254px;border-left:1px solid var(--line);display:flex;flex-direction:column}.property-heading{padding:25px 19px 21px;border-bottom:1px solid #edf0f5}.property-heading span{font-size:11px;color:#a1acbc}.empty-properties{margin:78px 20px auto;text-align:center;color:#8e9bad;font-size:11px;line-height:1.65}.empty-properties-icon{width:53px;height:53px;border:1px solid #e4ebf4;border-radius:14px;display:grid;place-items:center;margin:0 auto 18px;color:#9cb2d3;background:#f7f9fe;font-size:30px}.empty-properties strong{display:block;color:#344763;font-size:13px;margin-bottom:6px}.empty-properties p{margin:0}.property-section{padding:21px 18px;border-bottom:1px solid #eef1f7}.field-label{display:flex;flex-direction:column;gap:7px;font-weight:650;font-size:11px;color:#67788f;margin-bottom:14px}.field-label input[type=number],.field-label textarea,.property-section textarea{border:1px solid #e5ebf3;background:#fbfcfe;border-radius:7px;width:100%;padding:8px 10px;color:#344763;min-width:0;font-size:12px}.property-section textarea{resize:vertical;margin:0 0 13px;line-height:1.4}.color-row,.dimension-row{display:flex;gap:13px}.color-control{flex:1;display:flex;flex-direction:column;gap:7px;font-weight:650;font-size:11px;color:#67788f;margin-bottom:16px}.color-control input{height:32px;width:100%;padding:3px;border:1px solid #e5ebf3;border-radius:7px;background:#f8fafc}.short-field{flex:1}.field-row{display:flex;gap:12px;flex-wrap:wrap}.dimension-row .field-label{flex:1;min-width:0}.property-bottom{margin:auto 18px 20px;padding-top:20px;display:flex;justify-content:space-between;font-size:10px;color:#a4b1c0}.status-bar{background:#fff;height:31px;min-height:31px;display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e9edf3;padding:0 20px;color:#9aa8b9;font-size:10px}.status-right{color:#7092be}.loading-state{position:absolute;inset:48px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:#f9fbfef0;z-index:5;text-align:center;padding:24px}.loader-spinner{height:34px;width:34px;border:3px solid #dbeafe;border-top-color:#2563eb;border-radius:50%;animation:spin .8s linear infinite}.loading-state h2{font-size:16px;letter-spacing:-.4px;margin:0}.loading-state p{font-size:12px;color:#8696ac;margin:0;max-width:380px;line-height:1.55}@keyframes spin{to{transform:rotate(360deg)}}.toast-stack{position:fixed;right:20px;bottom:51px;z-index:100;display:flex;flex-direction:column;gap:8px}.toast{background:#25354b;color:#fff;border:1px solid #37465f;box-shadow:0 15px 30px #19283f38;border-radius:10px;padding:12px 15px;min-width:190px;max-width:340px;font-size:12px;line-height:1.4;animation:pop .2s ease}.toast.error{background:#9f2837}.toast.success{background:#165f56}@keyframes pop{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}.confirm-dialog{padding:25px;max-width:min(420px,calc(100% - 30px));border:1px solid #e2e8f0;border-radius:14px;box-shadow:0 30px 100px #1f29374d}.confirm-dialog::backdrop{background:#0f172a73}.confirm-dialog h2{font-size:17px;margin:0 0 8px}.confirm-dialog p{font-size:13px;color:#64748b;line-height:1.5;margin:0 0 25px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px}.seo-content{max-width:880px;margin:65px auto;padding:0 20px 70px;color:#475569;font-size:14px;line-height:1.75}.seo-content h1{font-size:24px;color:#1e293b}.seo-content h2{font-size:18px;color:#1e293b}.mobile-menu{display:none}.icon-button{border:0;background:0 0;color:#475569;border-radius:8px;padding:9px;font-size:18px}@media(max-width:1180px){.brand-zone{min-width:220px}.properties{width:230px}.palette{width:220px}.header-actions{gap:2px}.app-header{gap:12px;padding:0 14px}.status-help{display:none}}@media(max-width:900px){.properties{width:210px}.palette{width:190px}.shape-grid{gap:5px}.shape-tile{height:71px}.shape-tile svg{height:44px;width:62px}.brand-name{display:none}.brand-zone{min-width:150px;gap:10px}.app-header{padding:0 10px}.document-zone{min-width:80px}.mobile-hide{display:none!important}}@media(max-width:700px){.studio-app{min-height:520px;height:100dvh}.app-header{height:58px;min-height:58px}.brand-zone{min-width:60px;gap:5px}.brand-divider,.studio-name{display:none}.document-zone{flex:1}.document-title{font-size:12px}.header-actions .button{padding:0 9px;font-size:11px}.mobile-menu{display:block}.palette{position:absolute;top:105px;bottom:31px;left:0;z-index:50;box-shadow:10px 0 20px #0f172a14;transition:transform .2s;width:234px}.palette.mobile-collapsed{transform:translateX(-105%)}.properties{display:none}.toolbar{padding:0 9px;gap:4px;overflow-x:auto}.toolbar-divider{margin:0}.tool-button{min-width:25px;padding:0 4px}.canvas-heading{height:40px;min-height:40px;padding:0 12px}.canvas-heading-right,.canvas-tip{display:none}.loading-state{inset:40px 0 0}.status-right{display:none}}@media(prefers-reduced-motion:reduce){*,::after,::before{animation-duration:0s!important;transition-duration:0s!important}}@media(max-width:700px){.properties{display:block;position:absolute;top:105px;right:0;bottom:31px;width:min(300px,88vw);z-index:51;box-shadow:-10px 0 24px #0f172a1a;transition:transform .2s;overflow:auto;background:#fff}.properties.mobile-collapsed{transform:translateX(105%)}.palette.mobile-collapsed,.properties.mobile-collapsed{visibility:hidden}.mobile-menu{padding:7px;font-size:17px}.header-actions{gap:2px}}@media(prefers-reduced-motion:reduce){.properties{transition:none}}.precision-strip{display:flex;align-items:center;gap:6px;min-height:42px;padding:5px 14px;background:#f9fbff;border-bottom:1px solid #e5ebf4;overflow-x:auto;scrollbar-width:thin;flex-shrink:0}.precision-strip button,.precision-strip select{border:1px solid #dce5f2;background:#fff;color:#435672;border-radius:7px;min-height:29px;padding:5px 9px;font-size:11px;font-weight:650;white-space:nowrap}.precision-strip button:hover:not(:disabled){background:#eff5ff;border-color:#9bbdf7}.precision-strip button:focus-visible,.precision-strip select:focus-visible{outline:2px solid #2563eb;outline-offset:1px}.precision-strip .precision-label{font-size:10px;text-transform:uppercase;letter-spacing:.08em;font-weight:750;color:#6c7b92;margin-right:4px}.precision-grid-label{display:flex;align-items:center;gap:6px;white-space:nowrap;font-size:11px;color:#66788f;margin-left:auto}.property-section select{width:100%;padding:8px 10px;background:#fbfcfe;color:#344763;border:1px solid #e5ebf3;border-radius:7px;font-size:12px}@media(max-width:700px){.palette,.properties{top:147px}.precision-strip{padding:4px 9px;gap:4px}.precision-strip button{padding:5px 8px}.precision-grid-label{margin-left:0}}@media(prefers-reduced-motion:reduce){.precision-strip button,.precision-strip select{transition:none}}.app-header .pk-site-search{display:flex;align-items:center;position:relative;min-width:0;width:min(235px,22vw);max-height:40px;flex-shrink:1}.app-header .pk-search-field{display:flex;align-items:center;gap:6px;width:100%;min-width:0;max-height:40px;border:1px solid #e5ebf3;border-radius:8px;padding:0 8px}.app-header .pk-search-field svg{display:block;width:18px;height:18px;min-width:18px;max-height:18px;fill:none;stroke:#71829a;stroke-width:2}.app-header .pk-search-field input{height:34px;min-width:0;width:100%;border:0;background:0 0;font-size:12px;outline-offset:0}.app-header .pk-search-results[hidden]{display:none}.app-header .pk-search-results:not([hidden]){position:absolute;top:39px;left:0;z-index:80;max-height:360px;overflow:auto;background:#fff;border:1px solid #e5eaf2;border-radius:9px}@media(max-width:900px){.app-header .pk-site-search{width:min(160px,18vw)}}@media(max-width:700px){.app-header .pk-site-search{display:none}}@media(max-width:700px){.app-header{gap:4px;padding:0 6px;min-width:0}.app-header .brand-zone{flex:0 0 34px;min-width:34px;max-width:34px}.app-header .brand{min-width:0;gap:0}.app-header .brand>span{display:none}.document-zone{min-width:0;max-width:none;flex:1 1 40px}.document-title{min-width:0;max-width:100%;padding:3px 1px}.header-actions{flex:0 0 auto;gap:0;min-width:0}.header-actions .button{padding:0 6px;height:32px}.header-actions .icon-button{padding:4px}.pk-studio-navigation{display:none}}.pk-studio-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:20px;max-width:100%;min-width:0}.pk-studio-footer nav{display:flex;flex-wrap:wrap;gap:8px 14px;min-width:0;max-width:100%;width:auto}.pk-studio-footer nav a{white-space:normal;overflow-wrap:anywhere}.pk-studio-footer .pk-wordmark{display:flex;align-items:center;gap:8px}@media(max-width:700px){.pk-studio-footer{padding:16px 12px}.pk-studio-footer nav{flex:1 1 100%}}@media(max-width:700px){.palette.mobile-collapsed,.properties.mobile-collapsed{display:none!important;transform:none;visibility:hidden}}