/* System font fallback: no third-party font requests for private pages. */
:root{font-family:'Manrope',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#202329;background:#f6f7f9;font-synthesis:none;-webkit-font-smoothing:antialiased;--ink:#17191f;--muted:#868b95;--line:#e7e8ec;--accent:#7559ee;--bg:#f6f7f9}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.43;cursor:not-allowed}svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round;flex:none}.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}.app-shell{min-height:100vh;min-height:100dvh;display:flex;flex-direction:column}.topbar{height:81px;padding:0 32px;display:flex;align-items:center;justify-content:space-between;background:white;border-bottom:1px solid var(--line);gap:20px;z-index:20}.brand{display:flex;align-items:center;gap:12px;font-size:23px;line-height:1;font-weight:800;letter-spacing:-1.6px;white-space:nowrap;color:#1b1e23}.brand-light{font-weight:500}.brand-period{color:#8b6eff}.brand-symbol{display:grid;grid-template-columns:repeat(2,11px);grid-template-rows:repeat(2,11px);gap:3px;transform:rotate(-10deg)}.brand-symbol span{background:#8f75fa;border-radius:3px}.brand-symbol span:nth-child(2){opacity:.44}.brand-symbol span:nth-child(3){opacity:.67}.brand-symbol span:nth-child(4){background:#2f254f}.topbar-center{font-size:12px;font-weight:600;color:#9497a0;letter-spacing:.01em}.topbar-separator{padding:0 12px;color:#cbd0d8}.topbar-right{display:flex;align-items:center;gap:26px}.private-label{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700;color:#858b93;white-space:nowrap}.private-label svg{width:15px;height:15px;stroke:#7b68ba}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:45px;padding:12px 21px;border:none;border-radius:11px;font-size:12px;font-weight:800;transition:transform .15s,background .15s}.btn:active:not(:disabled){transform:scale(.98)}.btn-dark{color:#fff;background:var(--ink)}.btn-dark:hover:not(:disabled){background:#363944}.btn-light{color:#252730;background:#eff0f4}.top-export{min-width:154px}.workspace{display:flex;flex:1;min-height:0}.sidebar{width:343px;flex:none;background:#fff;border-right:1px solid var(--line);padding:34px 25px 27px;display:flex;flex-direction:column;overflow-y:auto;max-height:calc(100dvh - 81px)}.sidebar-intro{padding:0 5px 28px}.eyebrow{font-family:'DM Sans',sans-serif;display:flex;align-items:center;gap:12px;color:#7c67c0;font-size:10px;font-weight:700;letter-spacing:.15em}.eyebrow-line{height:1px;width:25px;background:#ac9cec}.sidebar-intro h1{font-size:36px;line-height:1.13;letter-spacing:-2.2px;font-weight:800;margin:19px 0 14px}.sidebar-intro h1 span{color:#967ce9}.sidebar-intro p{max-width:265px;font-size:11.5px;line-height:1.9;font-weight:500;color:#8b8d97;margin:0}.side-section{border-top:1px solid #e9eaf0;padding:22px 0 23px}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}.section-number{color:#8d78e9;font-size:10px;font-weight:800}.section-title h2{margin:0;font-size:12.2px;letter-spacing:-.1px;font-weight:800}.upload-tile{border:1.3px dashed #d6d4e1;background:#fcfbff;min-height:134px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;padding:16px 10px;transition:background .18s,border-color .18s;cursor:pointer;text-align:center;outline-offset:3px}.upload-tile:hover,.upload-tile.drag-over{background:#f4f0ff;border-color:#a28bef}.upload-illustration{color:#886de2;background:#f1ebff;width:36px;height:36px;border-radius:10px;display:grid;place-items:center;margin-bottom:3px}.upload-illustration svg{width:18px;height:18px}.upload-title{font-size:11.5px;font-weight:800;color:#282833;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.upload-hint{font-size:9.7px;color:#a0a2ac}.upload-file-meta{font-size:10px;color:#826dc0}.section-caption{margin:-3px 0 15px;color:#8f929c;font-size:10.5px;line-height:1.7}.add-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.add-action{display:flex;align-items:center;text-align:left;gap:9px;padding:13px 10px;min-width:0;background:#fff;border:1px solid #e8e9ee;border-radius:12px;transition:background .2s,border-color .2s}.add-action:hover:not(:disabled){background:#fbfaff;border-color:#c5baed}.action-icon{font-size:21px;font-weight:700;flex:none;color:#8d73dd}.stamp-icon{font-size:25px;line-height:1}.signature-icon{font-family:cursive;font-size:25px;line-height:1}.add-action strong{display:block;font-size:10.8px;font-weight:800}.add-action small{display:block;margin-top:5px;color:#a5a8b1;font-size:8.4px;white-space:nowrap}.add-action .plus-icon{width:13px;height:13px;margin-left:auto;color:#9b9da7}.layer-list{display:grid;gap:7px;margin-top:11px}.layer-list:empty{display:none}.layer-row{display:flex;align-items:center;gap:10px;padding:8px 10px;background:#fbfbfd;border:1px solid #e8e8ed;border-radius:10px;text-align:left;width:100%;min-width:0}.layer-row.selected{border-color:#af9ff1;background:#f8f5ff}.layer-thumbnail{width:41px;height:34px;display:grid;place-items:center;background:#fff;border:1px solid #ececf0;border-radius:6px;overflow:hidden;flex:none}.layer-thumbnail img{max-width:100%;max-height:100%;object-fit:contain}.layer-text{min-width:0}.layer-text strong{display:block;font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.layer-text small{font-size:9px;color:#9599a2}.properties-section{padding-top:22px}.selected-media{display:flex;align-items:center;gap:11px;margin:0 0 23px}.selected-media img{width:53px;height:50px;object-fit:contain;background:#fff;border:1px solid #e7e9ed;border-radius:8px;padding:5px}.selected-media div{min-width:0}.selected-media strong{font-size:11px;font-weight:800;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:210px}.selected-media small{display:block;font-size:9px;color:#aaaeb8;margin-top:4px}.control-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px}.control-row label{font-size:11px;font-weight:700;color:#424652}.control-row output{font-family:'DM Sans',sans-serif;font-size:10px;color:#8e80c9;font-weight:700}.range{-webkit-appearance:none;appearance:none;height:4px;background:#e9e9ef;width:100%;margin:0 0 16px;border-radius:20px;outline-color:#957feb;accent-color:#937aef;cursor:pointer}.range::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;background:#8e76ed;border:3px solid #fff;border-radius:50%;box-shadow:0 1px 7px #7c68a64f}.range::-moz-range-thumb{width:10px;height:10px;background:#8e76ed;border:3px solid white;border-radius:50%;box-shadow:0 1px 7px #7c68a64f}.rotation-row,.opacity-row{margin-top:3px}.checkbox-row{display:flex;gap:10px;align-items:flex-start;cursor:pointer;margin:3px 0 16px}.checkbox-row input{position:absolute;opacity:0}.custom-checkbox{width:17px;height:17px;flex:none;border:1.5px solid #d2d5de;border-radius:5px;display:grid;place-items:center;transition:all .15s}.custom-checkbox svg{width:12px;height:12px;color:white;stroke-width:3;opacity:0}.checkbox-row input:checked+.custom-checkbox{background:#8d73e7;border-color:#8d73e7}.checkbox-row input:checked+.custom-checkbox svg{opacity:1}.checkbox-row input:focus-visible+.custom-checkbox{outline:2px solid #aa95ef;outline-offset:3px}.checkbox-row>span:last-child{font-size:10.5px;font-weight:700;line-height:1.4}.checkbox-row small{font-size:9px;font-weight:500;color:#a1a4ad;display:block;margin-top:4px}.selection-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:7px}.utility-button,.all-pages{border:1px solid #e7e8ed;background:white;color:#525661;font-size:10.5px;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 9px;border-radius:9px}.utility-button svg,.all-pages svg{width:15px;height:15px}.utility-button:hover,.all-pages:hover{background:#f6f5fa}.utility-button.danger{color:#bb6267}.all-pages{margin-top:9px;width:100%;color:#6d57ba;background:#f9f7ff;border-color:#e7defd}.sidebar-footer{margin-top:auto;display:flex;gap:9px;align-items:flex-start;padding:18px 6px 0;color:#9da0a9}.sidebar-footer svg{width:14px;height:14px;color:#a58fe6}.sidebar-footer span{font-size:9px;line-height:1.7}.main-area{flex:1;min-width:0;background:#f7f8fa;display:flex;flex-direction:column}.empty-canvas{flex:1;display:grid;place-items:center;padding:70px 20px 90px;min-height:610px}.empty-inner{text-align:center;max-width:510px}.empty-graphic{height:206px;position:relative;display:flex;align-items:center;justify-content:center;margin-bottom:12px}.ghost-page{position:absolute;border:1px solid #e4e3e7;box-shadow:0 20px 55px #36405a0d;background:#fff;width:137px;height:175px;border-radius:8px}.ghost-page-back{transform:translate(25px,0) rotate(13deg);background:#f0edf9;border-color:#ebe7fa}.ghost-page-front{transform:translate(-2px,0) rotate(-8deg);padding:31px 23px}.ghost-line{height:6px;background:#f0f0f4;border-radius:7px;margin-bottom:10px}.ghost-line.lg{width:88px}.ghost-line.sm{width:48px}.ghost-line.md{width:75px}.ghost-stamp{position:absolute;left:44px;top:101px;color:#8571da;border:2.5px solid #9d8cda;width:56px;height:33px;display:grid;place-items:center;font-size:12px;letter-spacing:2px;font-weight:800;transform:rotate(-13deg);border-radius:4px}.ghost-signature{position:absolute;right:21px;bottom:13px;color:#2b2d38;font-size:31px;transform:rotate(-30deg)}.ghost-cursor{position:absolute;left:calc(50% + 48px);top:120px;display:grid;place-items:center;width:34px;height:34px;background:#846cf0;color:white;border:4px solid white;box-shadow:0 5px 17px #675ac53e;border-radius:10px;transform:rotate(-18deg)}.ghost-cursor svg{width:17px;height:17px}.pill-label{font-family:'DM Sans',sans-serif;display:inline-flex;align-items:center;gap:8px;color:#8b70df;background:#f1ecff;border-radius:50px;padding:10px 14px;font-size:9px;font-weight:700;letter-spacing:.13em}.pill-label span{width:5px;height:5px;border-radius:50%;background:#8067e8}.empty-inner h2{font-size:43px;letter-spacing:-2.7px;line-height:1.17;font-weight:800;margin:19px 0}.empty-inner h2 span{color:#a39da9}.empty-inner p{font-size:12px;color:#9a9ca6;line-height:2;max-width:410px;margin:0 auto 24px}.empty-inner .btn{min-width:195px}.supported{font-family:'DM Sans',sans-serif;margin-top:25px;font-size:10px;color:#b2b4bb;letter-spacing:.15em}.editor-toolbar{height:69px;background:white;flex:none;padding:0 31px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:15px}.toolbar-file{display:flex;align-items:center;gap:9px;min-width:0;color:#373942;font-size:11px;font-weight:800}.toolbar-file svg{color:#8371c6;width:17px;height:17px}.toolbar-file span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:240px}.page-navigation,.zoom-buttons{display:flex;align-items:center;gap:14px;white-space:nowrap}.page-navigation{font-size:11px;font-weight:700}.page-navigation strong{font-weight:800}.muted{color:#a1a3ab}.page-navigation button,.zoom-buttons button{background:#fff;border:1px solid #ececf1;border-radius:9px;width:31px;height:31px;display:grid;place-items:center;color:#676a72;padding:0}.page-navigation button:hover:not(:disabled),.zoom-buttons button:hover:not(:disabled){background:#f2efff;border-color:#dfd6fb}.page-navigation button svg{height:15px;width:15px}.zoom-buttons{gap:8px;font-family:'DM Sans',sans-serif;font-weight:700;color:#6c6f78;font-size:10px}.zoom-buttons span{min-width:43px;text-align:center}.zoom-buttons button{font-size:19px;font-weight:500}.editor-body{flex:1;min-height:0;display:flex;flex-direction:column}.notice-inline{display:flex;justify-content:center;align-items:center;gap:10px;color:#9b9da7;font-size:10px;font-weight:600;padding:22px 12px 18px;text-align:center}.notice-inline svg{width:14px;height:14px;color:#9c8bcd}.page-scroll{flex:1;overflow:auto;display:flex;align-items:flex-start;justify-content:safe center;padding:0 32px 50px;overscroll-behavior:contain}.page-stage{position:relative;background:white;box-shadow:0 12px 40px #161b2920,0 0 1px #15182422;flex:none;touch-action:pan-x pan-y}.page-stage canvas{display:block;width:100%;height:100%}.overlay-layer{position:absolute;inset:0;overflow:hidden;pointer-events:none}.overlay-item{position:absolute;pointer-events:auto;touch-action:none;border:1.8px solid transparent;cursor:move;user-select:none;transform-origin:center center}.overlay-item img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none;user-select:none;-webkit-user-drag:none}.overlay-item.selected{border:1.8px solid #765ee5;outline:1px solid #765ee538;box-shadow:0 0 0 1px #ffffffa6}.overlay-item.selected::before{content:'';position:absolute;inset:-5px;border:1px dashed #826df9a1;pointer-events:none}.resize-handle{position:absolute;right:-9px;bottom:-9px;width:19px;height:19px;border-radius:6px;background:#8068e8;border:3px solid white;box-shadow:0 2px 8px #5141ad46;cursor:nwse-resize;touch-action:none}.page-spinner{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:11px;background:#ffffffa8;color:#6e62a5;font-size:12px;font-weight:700;backdrop-filter:blur(3px);pointer-events:none}.page-spinner[hidden]{display:none}.spinner{width:19px;height:19px;border:2px solid #dcd3ff;border-top-color:#816bea;border-radius:50%;animation:spin .75s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.below-page{padding:0 35px 21px;display:flex;align-items:center;justify-content:space-between;gap:10px;color:#a1a3ac;font-size:9.5px;font-weight:600}.below-page div{display:flex;align-items:center;gap:9px}.page-status-dot{display:block;width:6px;height:6px;border-radius:50%;background:#9d85ed}.mobile-action-bar{display:none}.toast{position:fixed;bottom:23px;left:50%;transform:translate(-50%,30px);z-index:50;padding:14px 18px;min-width:220px;max-width:min(92vw,460px);background:#252633;color:#fff;border-radius:12px;box-shadow:0 15px 40px #1314213d;font-size:12px;font-weight:650;text-align:center;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}.toast.show{transform:translate(-50%,0);opacity:1}.toast.error{background:#9b3944}[hidden]{display:none!important}
@media(max-width:1150px){.sidebar{width:303px;padding-left:19px;padding-right:19px}.topbar-center{display:none}.private-label{display:none}.editor-toolbar{padding:0 17px}.toolbar-file span{max-width:130px}.notice-inline{font-size:9px}}
@media(max-width:760px){.topbar{height:64px;padding:0 16px}.brand{font-size:20px}.brand-symbol{grid-template-columns:repeat(2,9px);grid-template-rows:repeat(2,9px)}.top-export{min-width:auto;padding:10px 13px;height:38px;min-height:38px}.top-export span{display:none}.workspace{flex-direction:column}.sidebar{width:100%;max-height:none;overflow:visible;padding:21px 18px 0;border-right:none;border-bottom:1px solid var(--line)}.sidebar-intro{padding:0 2px 18px}.eyebrow{font-size:8px}.sidebar-intro h1{font-size:27px;margin:10px 0 5px;line-height:1.15;letter-spacing:-1.2px}.sidebar-intro h1 br{display:none}.sidebar-intro h1 br::after{content:' '}.sidebar-intro h1 span{margin-left:7px}.sidebar-intro p{font-size:10px;max-width:100%;line-height:1.5}.document-section{padding:15px 0}.section-title{margin-bottom:9px}.upload-tile{min-height:88px;display:grid;grid-template-columns:36px 1fr;grid-template-rows:auto auto auto;justify-content:initial;align-items:center;text-align:left;column-gap:13px;padding:10px 13px}.upload-illustration{grid-row:1/4;margin:0}.upload-title,.upload-hint,.upload-file-meta{grid-column:2}.upload-title{font-size:10.5px}.upload-hint{font-size:9px}.image-section{padding:14px 0 15px}.section-caption{margin:-4px 0 12px}.add-action{padding:10px}.sidebar-footer{display:none}.properties-section{padding:14px 0}.selected-media{margin-bottom:12px}.control-row{margin-bottom:10px}.range{margin-bottom:12px}.checkbox-row{margin-bottom:12px}.main-area{min-height:430px}.empty-canvas{padding:22px 15px 38px;min-height:400px}.empty-graphic{height:145px;transform:scale(.75);margin-top:-13px;margin-bottom:-18px}.empty-inner h2{font-size:30px;letter-spacing:-1.6px;margin:13px 0}.empty-inner p{font-size:10px;line-height:1.7}.empty-inner .btn{min-height:40px}.editor-toolbar{height:58px;padding:0 13px;gap:9px}.toolbar-file{display:none}.page-navigation{gap:8px}.zoom-buttons{gap:4px}.zoom-buttons button{height:28px;width:28px}.page-scroll{padding:0 12px 26px}.notice-inline{padding:15px 10px 12px;font-size:9px}.below-page{padding:0 15px 14px}.below-page>span{display:none}.mobile-action-bar{position:sticky;bottom:0;display:flex;gap:8px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:white;border-top:1px solid #e9e9ee;z-index:30}.mobile-action-bar .btn{min-width:0;flex:1;padding:11px 7px;font-size:10px;min-height:42px}.mobile-action-bar .btn svg{height:15px;width:15px}}
@media(max-width:380px){.sidebar-intro h1{font-size:23px}.topbar{padding:0 11px}.brand{font-size:18px}.page-navigation{font-size:10px}.zoom-buttons span{min-width:33px}.notice-inline{font-size:8px}}
/* On phones the document stays above the full property panel. Quick add/export
   controls remain available in the bottom action bar. */
@media(max-width:760px){
  .main-area{order:1}
  .sidebar{order:2;background:white;padding-top:8px}
  .sidebar-intro{display:none}
  .page-scroll{min-height:480px}
}

/* Closed accounts and per-user image library */
.user-menu{display:flex;align-items:center;gap:12px}.user-chip{font-size:11px;color:#464654;font-weight:800;max-width:145px;overflow:hidden;text-overflow:ellipsis}.admin-link,.logout-btn{border:0;background:none;font:inherit;font-size:10px;font-weight:700;color:#82788c;text-decoration:none;white-space:nowrap;padding:4px}.admin-link:hover,.logout-btn:hover{color:#765be5}.user-menu form{margin:0}.library-list{margin:15px 0 0;display:grid;gap:16px}.library-group{min-width:0}.library-heading{display:flex;align-items:center;gap:7px;margin-bottom:7px}.library-heading h3,.placed-block h3{font-size:10px;letter-spacing:.01em;margin:0;color:#666a76}.library-heading small{font-size:9px;color:#a393ca;background:#f5f1ff;border-radius:10px;padding:2px 6px}.library-empty,.layer-empty{font-size:10px;line-height:1.5;color:#a1a3ad;margin:8px 2px 6px}.library-item{display:flex;align-items:center;gap:4px;border:1px solid #e9e8f0;background:#fff;border-radius:10px;padding:5px 7px 5px 5px;margin:6px 0}.library-item:hover{background:#fbfaff;border-color:#c8c0e6}.library-use{border:0;background:none;display:flex;align-items:center;gap:9px;flex:1;min-width:0;text-align:left;padding:2px;color:#333543}.library-use:disabled{cursor:default;opacity:.75}.library-thumb{width:43px;height:39px;display:grid;place-items:center;background:#f8f8fa;border-radius:7px;border:1px solid #f0f0f3;flex:none}.library-thumb img{max-width:100%;max-height:100%;object-fit:contain}.library-asset-name{font-size:10px;font-weight:700;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.library-insert{font-size:9px;color:#8067d2;font-weight:800;white-space:nowrap}.library-delete{font-size:20px;border:0;background:none;color:#b7b4c1;line-height:1;min-width:27px;height:30px;border-radius:5px}.library-delete:hover{background:#fff0f0;color:#b24b54}.placed-block{border-top:1px solid #e9eaf0;margin-top:18px;padding-top:15px}.placed-block .layer-list{margin-top:9px}.layer-empty[hidden]{display:none}@media(max-width:1150px){.user-menu{gap:6px}.admin-link{display:none}}@media(max-width:760px){.user-chip{max-width:65px;font-size:9px}.user-menu{gap:3px}.logout-btn{font-size:9px}.topbar{gap:9px}.top-export{order:0}.library-item{padding:7px}.library-thumb{width:50px;height:43px}.library-asset-name{font-size:11px}}

.user-chip{text-decoration:none}.user-chip:hover{color:#8267db}
