/* PixReqly V17 · Premium Photo Collage Studio */
:root{--blue:#3155ed;--deep:#0b245e;--border:#dce6fb;--muted:#7287b4}
body{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;background:linear-gradient(130deg,#edf3ff 0%,#eaf4ff 42%,#ecf3ff 100%);color:var(--deep)}
.ce-header{height:78px;margin:8px 14px 0;padding:0 22px 0 24px;border:1px solid #e9efff;border-radius:19px;background:linear-gradient(98deg,#fff 6%,#f4f8ff 55%,#cfe9ff 100%);box-shadow:0 9px 26px #4775d318;gap:15px}
.ce-brand{font-size:31px;letter-spacing:-1.8px;font-weight:800}.ce-brand b{width:45px;height:45px;border-radius:15px;font-size:31px;background:linear-gradient(140deg,#163abe 6%,#3275ff 66%,#a1ccff);box-shadow:0 3px 10px #2864e347}.ce-header-title{font-size:20px;color:#6f84ad;padding-left:24px;letter-spacing:-.55px;border-left:2px solid #d9e5fa}
.ce-home{font-size:11px;white-space:nowrap;color:#6181b7;font-weight:600;margin-left:auto}.ce-header-actions{display:flex;gap:10px;align-items:center;flex:none}
.ce-header-actions .ce-history-control{font-size:25px;line-height:1;background:#ffffffda;border:1px solid #eff3ff;color:#3153bb;border-radius:14px;width:46px;height:43px;box-shadow:0 2px 5px #dae4f851}
.ce-local-status{display:flex;align-items:center;justify-content:center;min-width:162px;height:43px;border-radius:14px;color:#247a83;font-size:11px;font-weight:700;border:1px solid #e4f4fb;background:#fff}
.ce-export-main{font-size:17px;font-weight:780;padding:13px 31px;border-radius:14px;background:linear-gradient(100deg,#3d60f1,#3440dc);box-shadow:0 4px 12px #436deb4d}
.ce-app{height:calc(100vh - 94px);min-height:680px;display:grid;grid-template-columns:114px minmax(465px,535px) minmax(450px,1fr);gap:12px;padding:9px 15px 16px;position:relative}
.ce-rail,.ce-side,.ce-stage{border:1px solid #e4ecff;border-radius:22px;box-shadow:0 8px 25px #5177c412;min-height:0}
.ce-rail{background:linear-gradient(180deg,#f8fbff,#eaf4ff);padding:13px 10px;gap:7px}
.ce-tab{color:#152f80;border-radius:16px;min-height:89px;padding:9px 4px;gap:7px;font-size:12px;font-weight:750;transition:all .15s}
.ce-tab .ce-nav-icon{display:grid;place-items:center;width:51px;height:51px;border-radius:16px;background:linear-gradient(135deg,#c9eaff,#e9d7fc);color:#3156df;box-shadow:0 3px 7px #547ec510}
.ce-tab .ce-nav-icon .ce-icon{width:28px;height:28px;stroke-width:2.1}
.ce-tab[data-tab=templates] .ce-nav-icon{background:#edd2ff}.ce-tab[data-tab=photos] .ce-nav-icon{background:#ffeac1}.ce-tab[data-tab=elements] .ce-nav-icon{background:#e0d7ff}.ce-tab[data-tab=text] .ce-nav-icon{background:#c4ecff}.ce-tab[data-tab=style] .ce-nav-icon{background:#f3d7ff}
.ce-tab>span:not(.ce-nav-icon){font-size:12px;line-height:1.2}.ce-tab.active{background:linear-gradient(150deg,#4070ff,#3348e2);color:#fff;box-shadow:0 5px 12px #466cff4c}.ce-tab.active .ce-nav-icon{background:transparent;color:#fff;box-shadow:none}.ce-tab:hover:not(.active){background:#ecf3ff}
.ce-side{background:linear-gradient(160deg,#fff 45%,#f9fbff);overflow-y:auto;overflow-x:hidden}.ce-side::-webkit-scrollbar{width:7px}.ce-side::-webkit-scrollbar-thumb{background:#cfdbf2;border-radius:50px}.ce-panel{padding:24px 20px 28px}.ce-panel h2{font-size:21px;letter-spacing:-.45px;margin-bottom:10px;color:#10295f}.ce-panel h3{font-size:16px;letter-spacing:-.35px;text-transform:none;color:#0d2352;margin:25px 0 11px;font-weight:800}.ce-panel .ce-panel-heading p{font-size:12px;line-height:1.55;color:#7284ac}.ce-section-split{display:flex;align-items:center;justify-content:space-between}.ce-section-split h3{font-size:17px}
.ce-size-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;margin:8px 0 21px}.ce-size-grid button{min-height:42px;border:1px solid #d7e2fb;border-radius:26px;font-size:12px;color:#253e84;background:#fff;padding:6px 2px;display:flex;justify-content:center;align-items:center}.ce-size-grid .ce-ratio-icon{display:none}.ce-size-grid #openCustomCanvas{grid-column:auto;font-size:0}.ce-size-grid #openCustomCanvas:after{content:'Custom';font-size:11px}.ce-size-grid #openCustomCanvas .ce-mini-tune{font-size:12px}.ce-size-grid button.active{background:linear-gradient(135deg,#3150c5,#375fee);color:#fff;border-color:#3158e7;box-shadow:0 3px 10px #345fed37}
.ce-social-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:10px 0 23px}.ce-social-grid button{min-height:75px;background:#fff;border:1px solid #d9e5fd;border-radius:13px;display:flex;align-items:center;justify-content:flex-start;text-align:left;padding:9px;gap:7px;color:#10224c;font-size:11px;min-width:0}.ce-social-grid .ce-social-icon{width:32px;height:32px;flex-basis:32px;font-size:19px;border-radius:9px}.ce-social-grid small{font-size:10px;color:#748ab3;line-height:1.3}.ce-social-grid button.active{border:1.5px solid #4670fb;background:#fff}
.ce-count-pills{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:12px}.ce-count-pills button{border-radius:24px;padding:8px 12px;color:#34558a;font-weight:720;font-size:11px}
.ce-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ce-template-btn{min-width:0;border:1px solid #e1e8f8;border-radius:14px;padding:5px 5px 9px;background:linear-gradient(#fff,#fbfcff);box-shadow:0 3px 10px #1e4f9a0d;transition:.15s}
.ce-template-thumbnail{height:109px;background:#e9f1ff}.ce-layout-thumb{background:#eef3ff!important;border-radius:9px}.ce-thumb-cell{background:#c7d5f2;border:2px solid white}
.ce-template-btn strong{font-size:11px;margin:6px 4px 0;color:#102552;line-height:1.2}.ce-template-btn small{font-size:9px;margin:3px 4px 0;display:block}.ce-template-btn.active{border:2px solid #476cff;background:#f8fbff}
.ce-designed-preview{display:block;width:100%;height:125px;object-fit:cover;border-radius:10px;border:1px solid #f3ebf4}
.ce-category-chips{display:flex;flex-wrap:wrap;gap:7px}.ce-category-chips button{background:#fff;border-radius:99px;border:1px solid #d8e5ff;padding:9px 11px;font-size:11px;color:#345087}.ce-category-chips button.active{background:#3152d9;border-color:#3152d9;color:#fff}
.ce-stage{background:linear-gradient(160deg,#ebf5ff,#ecf5ff 42%,#e9f1ff);display:flex;flex-direction:column;overflow:hidden}
.ce-toolbar{margin:2px 4px 4px;background:linear-gradient(#fff,#fdfdff);border:0;border-radius:17px;padding:11px 16px;box-shadow:0 3px 8px #abc7f322;min-height:66px;gap:4px}
.ce-toolbar .ce-quick-action{border:0;background:transparent;border-radius:10px;padding:0 11px;white-space:nowrap;min-width:0;height:41px;display:flex;align-items:center;gap:5px;color:#183b83;font-weight:750;font-size:12px}.ce-toolbar .ce-quick-action:hover{background:#ebf3ff}.ce-action-icon{font-size:24px;color:#1748af;line-height:1}.ce-zoom-controls{border:1px solid #d7e3fc;border-radius:28px;padding:4px;display:flex;align-items:center;gap:1px;background:#fff}.ce-zoom-controls button{border:0;background:transparent;color:#2d4fa8;width:28px;height:28px;font-size:21px;font-weight:600}.ce-zoom-controls select{border:0;background:#fff;color:#27438b;padding:4px 0;font-size:11px;font-weight:800;width:64px;cursor:pointer}.ce-toolbar #fitCanvas{background:transparent;border:0;font-size:22px;padding:0 5px}.ce-toolbar #toggleProperties{background:#f0f6ff;color:#315acc;border:1px solid #d8e7ff;font-size:11px;border-radius:10px;min-width:0;height:35px;padding:0 9px}
.ce-canvas-scroller{min-height:0;padding:14px 22px;overflow:auto;flex:1}.ce-canvas-shell{border-radius:20px;border:1px solid #e7edff;box-shadow:0 11px 27px #6c8cce20;padding:11px;background:#fff}.ce-canvas-shell canvas{border-radius:13px;max-width:none}.ce-stage-help{display:none}.ce-pages{display:flex;align-items:center;justify-content:center;gap:10px;flex:none;margin:9px 16px 16px;min-height:105px;background:#fff;border:1px solid #e7edff;border-radius:17px;padding:11px;box-shadow:0 3px 9px #abc6f219}.ce-page-thumbs{display:flex;align-items:center;gap:10px}.ce-page-thumb{border:1px solid #d9e5fc;border-radius:10px;padding:6px;background:#fff;display:grid;place-items:center;gap:3px;min-width:70px;color:#3a5aab;font-size:11px}.ce-page-thumb.active{border:2px solid #425fff;background:#f7faff}.ce-page-icon{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:2px;width:50px;height:45px;padding:3px;background:#e4edff;border-radius:4px}.ce-page-icon i{background:#cbdaf5;border-radius:1px}.ce-page-icon i:first-child{grid-row:1/3}.ce-add-page{height:72px;min-width:86px;border:1.5px dashed #bcd1f9;border-radius:12px;background:#fff;color:#4564b9;font-size:27px;display:grid;place-items:center;align-content:center;gap:2px}.ce-add-page span{font-size:10px}
.ce-properties{position:fixed;z-index:55;right:12px;top:90px;bottom:10px;width:min(338px,90vw);background:#fff;border:1px solid #e3ebfa;border-radius:17px;box-shadow:-10px 5px 40px #11265d2b;transform:translateX(calc(100% + 30px));transition:transform .2s ease;padding:16px 20px;overflow:auto;display:block}.ce-show-properties .ce-properties{transform:translateX(0)}.ce-prop-top{display:flex;align-items:center;justify-content:space-between}.ce-prop-top h2{font-size:17px!important;margin:0!important}.ce-prop-top button{background:#f3f6ff;border:0;border-radius:9px;color:#3559ad;width:32px;height:32px;font-size:21px}.ce-properties-scrim{position:fixed;inset:0;z-index:54;border:0;background:#0d24552b}.ce-hidden-controls{display:grid;gap:10px;margin-top:20px}.ce-hidden-controls select{min-width:100px}.ce-hidden-controls #clearAll{border:1px solid #dce6fb;background:#f6f9ff;border-radius:8px;padding:9px;font-size:11px}
.ce-typography-option{display:flex!important;flex-direction:column!important;align-items:flex-start;gap:4px;background:#f5f8ff!important;border:1px solid #e3eafd!important;padding:13px!important;border-radius:12px!important;width:100%;margin:10px 0;color:#173c88!important}.ce-typography-option strong{font-size:16px}.ce-typography-option span{font-size:11px;color:#687da8}
@media(max-width:1260px){.ce-app{grid-template-columns:94px minmax(310px,430px) minmax(360px,1fr)}.ce-header-title{font-size:16px}.ce-rail{padding:12px 4px}.ce-tab{min-height:78px}.ce-panel{padding:19px 14px}.ce-social-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ce-size-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ce-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ce-local-status{display:none}}
@media(max-width:870px){.ce-header{height:65px;margin:3px 4px 0;padding:0 11px}.ce-brand{font-size:23px}.ce-brand b{width:35px;height:35px;font-size:23px}.ce-header-title{font-size:12px;padding-left:10px}.ce-home{display:none}.ce-header-actions{gap:3px}.ce-export-main{font-size:12px;padding:9px 13px}.ce-header-actions .ce-history-control{width:30px;height:35px;font-size:19px}.ce-app{height:auto;min-height:calc(100vh - 68px);grid-template-columns:74px minmax(0,1fr);gap:6px;padding:8px 5px}.ce-rail{grid-column:1;grid-row:1;min-height:550px}.ce-tab{min-height:76px}.ce-tab>span:not(.ce-nav-icon){font-size:10px}.ce-side{grid-column:2;grid-row:1;max-height:580px}.ce-stage{grid-column:1/3;grid-row:2;min-height:610px}.ce-quick-action{font-size:10px!important;padding:0 4px!important}.ce-toolbar{flex-wrap:wrap}.ce-canvas-scroller{padding:18px 10px}.ce-pages{margin:8px 8px 13px}}
@media(max-width:520px){.ce-header-title{display:none}.ce-social-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ce-size-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.ce-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ce-tab .ce-nav-icon{width:40px;height:40px}.ce-toolbar #toggleProperties{padding:0 6px}.ce-pages{min-height:84px}}
