body.cci-shell{--ink:#16151a;--txt:#4a4952;--mut:#8a8994;--line:#e6e5eb;--soft:#f5f4f8;--brand:#5b45e0;--brand-d:#4a36c7;--tint:#efecfd;--err:#d93025;--bg:#fff;--card:#fff;--wash:#faf9ff;--hdr-line:#d9d2fb;--cta-bg:#f1eefc;--cta-bd:#e3ddfa;--cta-txt:#55536a;--cta-h:#16151a;--check-a:#d4d6dc;--check-b:#fff;--shadow:rgba(20,18,40,.10);color-scheme:light}
body.cci-shell *{box-sizing:border-box}
html{scroll-behavior:smooth}
body.cci-shell{margin:0;font-family:Figtree,system-ui,sans-serif;font-weight:400;color:var(--txt);background:var(--bg);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
body.cci-shell h1,body.cci-shell h2,body.cci-shell h3{color:var(--ink);font-weight:600;margin:0}
body.cci-shell a{color:inherit;text-decoration:none}
body.cci-shell button{font-family:inherit}
body.cci-shell .w{max-width:1160px;margin:auto;padding:0 24px}
body.cci-shell .nav{height:64px;display:flex;align-items:center;justify-content:space-between;position:relative}
body.cci-shell .brand{display:flex;align-items:center;gap:9px;font-weight:600;color:var(--ink);font-size:18px}
body.cci-shell .brand i{width:26px;height:26px;border-radius:50%;background:conic-gradient(var(--brand) 0 75%,#c9c0fb 0)}
body.cci-shell .links{display:flex;gap:26px;font-size:15px}
body.cci-shell .links a{color:var(--txt)}
body.cci-shell .links a:hover{color:var(--brand)}
body.cci-shell .menuBtn{display:none;background:none;border:0;padding:8px;cursor:pointer;color:var(--ink)}
body.cci-shell .mnav{display:none;position:absolute;top:60px;right:0;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 34px rgba(20,18,40,.10);padding:8px;min-width:220px;z-index:20}
body.cci-shell .mnav.open{display:block}
body.cci-shell .mnav a{display:block;padding:11px 14px;border-radius:9px;color:var(--ink)}
body.cci-shell .mnav a:hover{background:var(--soft)}
body.cci-shell .hero{max-width:680px;margin:auto;text-align:center;padding:60px 0 72px}
body.cci-shell h1{font-size:46px;line-height:1.1;letter-spacing:-1px}
body.cci-shell .lead{font-size:17px;margin:14px auto 0;max-width:780px}
body.cci-shell .up{margin:30px auto 0;max-width:560px;background:var(--card);border-radius:22px;box-shadow:0 2px 4px rgba(20,18,40,.04),0 18px 48px rgba(20,18,40,.10);padding:34px 28px;border:2px solid transparent;transition:.15s}
body.cci-shell .up.over{border-color:var(--brand);background:var(--wash)}
body.cci-shell .btn{background:var(--brand);color:#fff;border:0;border-radius:999px;padding:15px 38px;font-weight:500;font-size:17px;cursor:pointer;transition:.15s}
body.cci-shell .btn:hover{background:var(--brand-d)}
body.cci-shell .up p{margin:12px 0 0;font-size:14px;color:var(--mut)}
body.cci-shell .err{color:var(--err);font-size:14px;margin-top:10px;display:none}
body.cci-shell .samples{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:20px;font-size:14px;color:var(--mut)}
body.cci-shell .samples img{width:46px;height:46px;border-radius:10px;object-fit:cover;cursor:pointer;transition:.15s}
body.cci-shell .samples img:hover{transform:translateY(-2px)}
body.cci-shell .editor{display:none;flex-direction:column;height:calc(100dvh - 80px);min-height:540px;margin:0 0 40px;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 18px 48px rgba(20,18,40,.08);background:var(--card)}
body.cci-shell .bar{display:flex;align-items:center;justify-content:space-between;padding:8px 14px;border-bottom:1px solid var(--line);gap:8px}
body.cci-shell .bar .l{display:flex;gap:4px;align-items:center}
body.cci-shell .ib{background:none;border:0;border-radius:8px;padding:8px 11px;font-size:14px;color:var(--txt);cursor:pointer;display:flex;gap:6px;align-items:center}
body.cci-shell .ib:hover{background:var(--soft);color:var(--ink)}
body.cci-shell .ib svg{width:17px;height:17px;flex:none}
body.cci-shell .body{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 340px}
body.cci-shell .canvasArea{min-height:0;background:var(--soft);display:flex;flex-direction:column;align-items:center;padding:16px;gap:10px}
body.cci-shell .cwrap{flex:1;min-height:0;width:100%;display:flex;align-items:center;justify-content:center}
body.cci-shell #cci-view{width:300px;height:300px;border-radius:8px;touch-action:none;cursor:grab}
body.cci-shell #cci-view:active{cursor:grabbing}
body.cci-shell .ctl{display:flex;flex-direction:column;align-items:center;gap:10px;width:100%}
body.cci-shell .seg2{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:3px;background:var(--card)}
body.cci-shell .seg2 button{border:0;background:none;border-radius:999px;padding:7px 22px;font-size:14px;font-weight:500;color:var(--txt);cursor:pointer}
body.cci-shell .seg2 button.on{background:var(--ink);color:#fff}
body.cci-shell .zoomRow{display:flex;align-items:center;gap:12px;width:100%;max-width:360px;color:var(--mut);font-size:13px}
body.cci-shell .zoomRow input{flex:1}
body.cci-shell .zoomRow b{font-weight:500;width:42px;text-align:right;color:var(--txt)}
body.cci-shell input[type=range]{accent-color:var(--brand)}
body.cci-shell .queue{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
body.cci-shell .queue img{width:38px;height:38px;object-fit:cover;border-radius:50%;cursor:pointer;outline:2px solid transparent;outline-offset:2px}
body.cci-shell .queue img.on{outline-color:var(--brand)}
body.cci-shell .side{border-left:1px solid var(--line);padding:18px;display:flex;flex-direction:column;gap:10px;overflow:auto;background:var(--card)}
body.cci-shell .side .btn{width:100%;padding:15px}
body.cci-shell .advBtn{width:100%;display:flex;justify-content:space-between;align-items:center;border:1px solid var(--line);background:var(--card);border-radius:12px;padding:11px 16px;font-size:15px;font-weight:500;color:var(--ink);cursor:pointer}
body.cci-shell .advBtn:hover{border-color:#c9c3f3;background:var(--wash)}
body.cci-shell .advBtn svg{width:18px;height:18px;transition:.2s}
body.cci-shell .advBtn[aria-expanded=true] svg{transform:rotate(180deg)}
body.cci-shell .adv{display:none}
body.cci-shell .adv.open{display:flex;flex-direction:column;gap:9px;padding-top:2px}
body.cci-shell .pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}
body.cci-shell .fld{min-width:0;position:relative}
body.cci-shell .fld .lab{position:absolute;left:11px;top:5px;font-size:10.5px;line-height:1;pointer-events:none}
body.cci-shell .lab{font-size:13px;color:var(--mut)}
body.cci-shell .row{display:flex;align-items:center;gap:10px;min-height:34px;flex-wrap:wrap}
body.cci-shell .row .lab{width:66px;flex:none}
body.cci-shell .row input[type=range]{flex:1;min-width:60px}
body.cci-shell .row .val{width:40px;text-align:right;font-size:13px;color:var(--txt)}
body.cci-shell .chips{display:flex;gap:6px}
body.cci-shell .chips button{border:1px solid var(--line);background:var(--card);border-radius:9px;color:var(--txt);cursor:pointer}
body.cci-shell .chips button.on{border-color:var(--brand);color:var(--brand);background:var(--tint)}
body.cci-shell .shapes button{width:34px;height:34px;padding:0;display:grid;place-items:center}
body.cci-shell .shapes span{width:16px;height:16px;border:2px solid currentColor;display:block}
body.cci-shell .sws{display:flex;gap:8px}
body.cci-shell .sw{width:28px;height:28px;border-radius:50%;border:2px solid #cfd2d8;cursor:pointer;padding:0;position:relative;background:var(--card)}
body.cci-shell .sw.on{box-shadow:0 0 0 2px var(--card),0 0 0 4px var(--brand)}
body.cci-shell .sw.tr{background:repeating-conic-gradient(var(--check-a) 0 25%,var(--check-b) 0 50%) 0 0/10px 10px}
body.cci-shell .sw.cu{background:conic-gradient(#f44,#fc3,#4d6,#3cf,#46f,#d4d,#f44);border-color:transparent}
body.cci-shell .sw input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer;border:0;padding:0}
body.cci-shell input[type=color].cp{width:28px;height:28px;border:1px solid var(--line);border-radius:50%;padding:3px;background:var(--card);cursor:pointer;flex:none}
body.cci-shell input[type=color].cp::-webkit-color-swatch-wrapper{padding:0}
body.cci-shell input[type=color].cp::-webkit-color-swatch{border:0;border-radius:50%}
body.cci-shell select,body.cci-shell .num{width:100%;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:10px;font-size:14px;background:var(--card);color:var(--ink);font-family:inherit}
body.cci-shell .fld select{height:42px;padding:12px 6px 0 8px}
body.cci-shell .num{display:none}
body.cci-shell .note{font-size:12.5px;color:var(--mut);display:none}
body.cci-shell .two{display:flex;gap:6px;flex:1;min-width:128px}
body.cci-shell .two button{flex:1;border:1px solid var(--line);background:var(--card);border-radius:9px;height:34px;font-size:13.5px;color:var(--txt);cursor:pointer;display:flex;gap:6px;align-items:center;justify-content:center}
body.cci-shell .two button:hover{border-color:#c9c3f3;color:var(--brand)}
body.cci-shell .two svg{width:14px;height:14px;flex:none}
body.cci-shell .ghost{width:100%;background:none;border:0;color:var(--brand);font-weight:500;font-size:14px;cursor:pointer;padding:6px;display:none}
body.cci-shell .sec{padding:84px 0}
body.cci-shell .gray{background:var(--soft)}
body.cci-shell .head{text-align:center;max-width:620px;margin:0 auto 46px}
body.cci-shell h2{font-size:36px;letter-spacing:-.6px;line-height:1.15}
body.cci-shell .head p{margin:12px 0 0;font-size:17px}
body.cci-shell .steps{display:grid;grid-template-columns:repeat(3,1fr);gap:28px;counter-reset:s}
body.cci-shell .step{counter-increment:s}
body.cci-shell .step:before{content:counter(s);display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--ink);color:#fff;font-size:15px;margin-bottom:16px}
body.cci-shell .step h3{font-size:19px;margin-bottom:6px}
body.cci-shell .feat{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:center;margin-bottom:80px}
body.cci-shell .feat:last-child{margin-bottom:0}
body.cci-shell .feat.rev .art{order:2}
body.cci-shell .feat h3{font-size:28px;letter-spacing:-.4px;line-height:1.2;margin-bottom:12px}
body.cci-shell .feat p{font-size:17px;margin:0}
body.cci-shell .art{border-radius:24px;aspect-ratio:4/3;display:grid;place-items:center;position:relative;overflow:hidden}
body.cci-shell .a1{background:#e9e5fd}
body.cci-shell .a2{background:#fde9e1}
body.cci-shell .a3{background:#e2f1ea}
body.cci-shell .av{border-radius:50%;width:44%;aspect-ratio:1;position:relative;background-size:cover;background-position:center}
body.cci-shell .a1 .chk{position:absolute;inset:16% 22%;border-radius:12px;background:repeating-conic-gradient(var(--check-a) 0 25%,var(--check-b) 0 50%) 0 0/16px 16px}
body.cci-shell .plats{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;padding:20px}
body.cci-shell .plat{background:var(--card);border-radius:16px;padding:14px;text-align:center;font-size:13px;color:var(--ink);box-shadow:0 6px 18px rgba(20,18,40,.06)}
body.cci-shell .plat i{display:block;border-radius:50%;margin:0 auto 8px}
body.cci-shell .a3 .av{box-shadow:0 0 0 10px var(--card),0 0 0 13px #2e8b63}
body.cci-shell .cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
body.cci-shell .card{background:var(--card);border-radius:18px;padding:22px;transition:.15s;border:1px solid var(--line)}
body.cci-shell .card:hover{border-color:#cfc8f7;transform:translateY(-2px)}
body.cci-shell .card .ic{width:40px;height:40px;margin-bottom:14px;border:2px solid var(--brand)}
body.cci-shell .card h3{font-size:17px;margin-bottom:4px}
body.cci-shell .card p{margin:0;font-size:14px;color:var(--mut)}
body.cci-shell .faq{max-width:780px;margin:auto}
body.cci-shell details{border-bottom:1px solid var(--line);padding:20px 0}
body.cci-shell summary{cursor:pointer;color:var(--ink);font-weight:500;font-size:17px;list-style:none;display:flex;justify-content:space-between}
body.cci-shell summary:after{content:"+";color:var(--mut);font-size:22px;line-height:1}
body.cci-shell details[open] summary:after{content:"\2212"}
body.cci-shell details p{margin:10px 0 0}
body.cci-shell .cta{background:var(--cta-bg);border-radius:28px;padding:60px 30px;text-align:center;color:var(--cta-txt);border:1px solid var(--cta-bd)}
body.cci-shell .cta h2{color:var(--cta-h)}
body.cci-shell .cta .btn{margin-top:24px;background:#5b45e0;color:#fff}
body.cci-shell .cta .btn:hover{background:#4d39c9;color:#fff}
body.cci-shell footer{padding:56px 0 30px;font-size:14px}
body.cci-shell .fgrid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:30px}
body.cci-shell .fgrid h4{color:var(--ink);font-weight:500;margin:0 0 12px;font-size:14px}
body.cci-shell .fgrid a{display:block;color:var(--mut);margin-bottom:8px}
body.cci-shell .fgrid a:hover{color:var(--ink)}
body.cci-shell .copy{border-top:1px solid var(--line);margin-top:40px;padding-top:20px;color:var(--mut)}
@media(max-width:900px){body.cci-shell .links{display:none}
body.cci-shell .menuBtn{display:block}
body.cci-shell .feat{grid-template-columns:1fr;gap:28px}
body.cci-shell .feat.rev .art{order:0}
body.cci-shell .steps{grid-template-columns:1fr}
body.cci-shell .cards{grid-template-columns:1fr 1fr}
body.cci-shell .fgrid{grid-template-columns:1fr 1fr}
body.cci-shell h2{font-size:29px}
body.cci-shell .sec{padding:60px 0}
body.cci-shell .body{grid-template-columns:minmax(0,1fr) 300px}

}
@media(max-width:640px){body.cci-shell .nav{height:56px}
body.cci-shell .hero{padding:30px 0 44px}
body.cci-shell h1{font-size:34px}
body.cci-shell .lead{font-size:15px;line-height:1.45}
body.cci-shell .up{padding:26px 18px}
body.cci-shell .editor{height:calc(100dvh - 62px);min-height:440px;border-radius:14px;margin-bottom:24px}
body.cci-shell .bar{padding:4px 8px}
body.cci-shell .ib{padding:7px 8px}
body.cci-shell .bar .txt{display:none}
body.cci-shell .body{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto}
body.cci-shell .canvasArea{padding:8px 10px;gap:6px}
body.cci-shell .ctl{flex-direction:row;gap:10px}
body.cci-shell .seg2{flex:none}
body.cci-shell .seg2 button{padding:7px 16px}
body.cci-shell .zoomRow{flex:1;min-width:0}
body.cci-shell .zoomRow .zl{display:none}
body.cci-shell .side{border-left:0;border-top:1px solid var(--line);padding:8px 12px 10px;gap:7px;overflow:visible}
body.cci-shell .side .btn{padding:12px}
body.cci-shell .advBtn{padding:8px 14px}
body.cci-shell .adv.open{gap:6px}
body.cci-shell .row{min-height:32px}
body.cci-shell select,body.cci-shell .num{font-size:16px}
body.cci-shell .fld select{font-size:16px;height:44px;padding:14px 4px 0 8px}
body.cci-shell .w{padding:0 12px}
body.cci-shell .two button{font-size:13px;gap:4px}
body.cci-shell .two{min-width:124px}
body.cci-shell .cards{grid-template-columns:1fr}

}
@media(max-width:640px) and (max-height:640px){body.cci-shell .bar{padding:0 6px}
body.cci-shell .ib{padding:5px 8px}
body.cci-shell .side{padding:6px 12px 8px;gap:6px}
body.cci-shell .side .btn{padding:10px}
body.cci-shell .advBtn{padding:6px 14px}
body.cci-shell .canvasArea{padding:6px 10px;gap:4px}
body.cci-shell .row{min-height:28px}
body.cci-shell .adv.open{gap:4px}

}
body.cci-shell .brand img{width:26px;height:26px;border-radius:50%}
body.cci-shell .nav .right{display:flex;align-items:center;gap:18px}
body.cci-shell .hero .lead{color:var(--txt)}
body.cci-shell .hero h1{margin:0}
body.cci-shell .up{cursor:pointer}
body.cci-shell .up:focus-visible{outline:2px solid var(--brand);outline-offset:3px}
body.cci-shell .ghosts{display:flex;flex-direction:column;align-items:center;gap:0}
body.cci-shell .ghost.show{display:block}
body.cci-shell .msg{font-size:13px;color:var(--mut);text-align:center;min-height:0}
body.cci-shell .msg:empty{display:none}
body.cci-shell .sws.bcs .sw{width:24px;height:24px}
body.cci-shell .sw.ig{background:conic-gradient(from 200deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5,#feda75);border-color:transparent}
body.cci-shell .row.hide,body.cci-shell .two.hide{display:none}
body.cci-shell .feat .art{background:var(--soft)}
body.cci-shell .feat .art img{width:100%;height:100%;object-fit:cover;display:block}
body.cci-shell .uses{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
body.cci-shell .use h3{font-size:18px;margin-bottom:6px;display:flex;align-items:center;gap:10px}
body.cci-shell .use h3:before{content:"";width:14px;height:14px;border-radius:50%;border:2px solid var(--brand);flex:none}
body.cci-shell .use p{margin:0;font-size:15.5px}
body.cci-shell .faq a,body.cci-shell .doc a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}
body.cci-shell .cta{margin-top:84px;margin-bottom:24px}
body.cci-shell .cta p{margin:10px 0 0}
body.cci-shell #cci-view:focus-visible{outline:2px solid var(--brand);outline-offset:4px}
body.cci-shell .tl-lang{position:relative;font-size:14px;line-height:1}
body.cci-shell .tl-lang summary{list-style:none;display:inline-flex;align-items:center;gap:5px;padding:7px 11px;min-height:34px;background:var(--card);border:1px solid var(--line);border-radius:999px;cursor:pointer;font-weight:500;color:var(--ink);white-space:nowrap}
body.cci-shell .tl-lang summary::-webkit-details-marker{display:none}
body.cci-shell .tl-lang ul{position:absolute;right:0;top:calc(100% + 8px);z-index:30;margin:0;padding:8px;list-style:none;background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 14px 34px rgba(20,18,40,.10);min-width:180px}
body.cci-shell .tl-lang li{margin:0}
body.cci-shell .tl-lang a{display:flex;gap:8px;align-items:center;padding:10px 12px;border-radius:9px;color:var(--ink);white-space:nowrap}
body.cci-shell .tl-lang a:hover,body.cci-shell .tl-lang a[aria-current]{background:var(--soft)}
body.cci-shell .tl-code{font-size:12px;font-weight:600;color:var(--mut);min-width:22px}
body.cci-shell .doc{max-width:760px;margin:0 auto;padding:56px 0 84px;font-size:17px}
body.cci-shell .doc h1{font-size:40px;margin-bottom:18px}
body.cci-shell .doc h2{font-size:26px;margin:34px 0 10px;letter-spacing:-.3px}
body.cci-shell .doc h3{font-size:20px;margin:26px 0 8px}
body.cci-shell .doc p,body.cci-shell .doc li{margin:0 0 14px}
body.cci-shell .doc ul,body.cci-shell .doc ol{padding-left:22px}
body.cci-shell .doc .wp-block-kadence-advanced-form,body.cci-shell .doc form{margin-top:10px}
body.cci-shell .doc input[type=text],body.cci-shell .doc input[type=email],body.cci-shell .doc textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 14px;font:inherit;font-size:16px}
body.cci-shell .doc button[type=submit],body.cci-shell .doc .kb-adv-form-submit-button{background:var(--brand)!important;color:#fff!important;border:0!important;border-radius:999px!important;padding:13px 32px!important;font:inherit!important;font-weight:500!important;cursor:pointer}
body.cci-shell .fgrid .brand{display:flex}
body.cci-shell .skip{position:absolute;left:-9999px}
body.cci-shell .skip:focus{left:12px;top:12px;background:var(--card);padding:8px 12px;border-radius:8px;z-index:99}
body.cci-shell.admin-bar .editor{height:calc(100dvh - 112px)}
@media(max-width:900px){body.cci-shell .uses{grid-template-columns:1fr 1fr}
body.cci-shell .cta{margin-top:60px}
}
@media(max-width:782px){body.cci-shell.admin-bar .editor{height:calc(100dvh - 108px)}
}
@media(max-width:640px){body.cci-shell .uses{grid-template-columns:1fr;gap:20px}
body.cci-shell .doc{padding:34px 0 60px}
body.cci-shell .doc h1{font-size:31px}
body.cci-shell .nav .right{gap:8px}
body.cci-shell .tl-lang summary{padding:6px 9px}
body.cci-shell.admin-bar .editor{height:calc(100dvh - 108px)}
body.cci-shell .cta{padding:44px 20px;border-radius:22px}

}

body.cci-shell .card .ic-home{border-radius:50%}
body.cci-shell .card .ic-oval{border-radius:50%;width:30px;margin-left:5px}
body.cci-shell .card .ic-rounded{border-radius:10px}
body.cci-shell .card .ic-border{border-radius:50%;box-shadow:0 0 0 3px var(--card),0 0 0 5px var(--brand)}
body.cci-shell .card .ic-pfp{border-radius:50%;border-style:dashed}
body.cci-shell .card .ic-square{border-radius:3px}
body.cci-shell .card .ic-rotate{border-radius:8px;transform:rotate(18deg) scale(.86)}
body.cci-shell details.tl-lang{border:0;padding:0}
body.cci-shell .tl-lang summary{font-size:14px;justify-content:flex-start}
body.cci-shell .tl-lang summary:after{content:none}
@media(max-width:640px){
 body.cci-shell .editor.advopen{height:auto;min-height:0}
 body.cci-shell .editor.advopen .body{grid-template-rows:auto auto}
 body.cci-shell .editor.advopen .cwrap{flex:none;height:min(84vw,360px)}
}
body.cci-shell .fgrid a.brand{color:var(--ink);margin-bottom:0}

/* v1.2.1: compact, centred desktop editor; Download sits under the zoom slider */
body.cci-shell .actions{display:flex;flex-direction:column;align-items:center;width:100%;gap:0;padding:2px 0 0}
body.cci-shell .actions .btn{width:100%;max-width:280px;padding:14px 38px}
body.cci-shell .actions .ghost{width:auto}
body.cci-shell .actions .ghost.show{display:block}
@media(min-width:641px){
 body.cci-shell .editor{height:auto;min-height:0;max-width:640px;margin:16px auto 48px}
 body.cci-shell.admin-bar .editor{height:auto}
 body.cci-shell .body{grid-template-columns:minmax(0,1fr);flex:none}
 body.cci-shell .cwrap{flex:none;width:auto;height:auto}
 body.cci-shell .canvasArea{padding:14px 16px 10px;gap:10px}
 body.cci-shell .side{border-left:0;border-top:1px solid var(--line);padding:10px 16px 16px;overflow:visible}
 body.cci-shell .ctl{flex-direction:column}
}
@media(max-width:640px){
 body.cci-shell .actions{padding:2px 0 0}
 body.cci-shell .actions .btn{max-width:none;padding:12px}
}
@media(max-width:640px) and (max-height:640px){
 body.cci-shell .actions .btn{padding:10px}
}

/* #cci-copy display:none removed in 1.2.1 — now a visible icon button */
body.cci-shell #cci-copy.show,body.cci-shell .actions .ghost.show{display:inline-flex}
body.cci-shell #cci-copy svg,body.cci-shell .copyBtn svg{width:20px;height:20px;flex:none}
body.cci-shell .queue{padding:8px 8px 2px}
body.cci-shell .queue .qitem{position:relative;width:38px;height:38px;flex:none}
body.cci-shell .queue .qitem img{width:38px;height:38px;object-fit:cover;border-radius:50%;cursor:pointer;outline:2px solid transparent;outline-offset:2px;display:block}
body.cci-shell .queue .qitem.on img{outline-color:var(--brand)}
body.cci-shell .queue .qrm{position:absolute;top:-6px;right:-6px;width:24px;height:24px;min-width:24px;min-height:24px;padding:0;border:0;border-radius:50%;background:var(--ink);color:#fff;cursor:pointer;display:grid;place-items:center;box-shadow:0 0 0 2px #fff;z-index:1;line-height:0}
body.cci-shell .queue .qrm:hover{background:var(--brand)}
body.cci-shell .queue .qrm svg{width:11px;height:11px}
@media(max-width:640px){
 body.cci-shell .queue{padding:10px 10px 4px}
 body.cci-shell .queue .qrm{width:28px;height:28px;min-width:28px;min-height:28px;top:-8px;right:-8px}
 body.cci-shell .queue .qrm svg{width:12px;height:12px}
}

/* v1.2.1: copy icon button beside Download; image-adaptive background swatches */
body.cci-shell .dlrow{display:flex;align-items:stretch;justify-content:center;gap:10px;width:100%}
body.cci-shell .dlrow .btn{flex:1 1 auto;max-width:240px;width:auto}
body.cci-shell #cci-copy.copyBtn,body.cci-shell .copyBtn{flex:none;aspect-ratio:1;align-self:stretch;width:auto;min-width:44px;padding:0;border:1.5px solid var(--line);border-radius:14px;background:var(--card);color:var(--ink);display:grid;place-items:center;cursor:pointer}
body.cci-shell .copyBtn svg{width:20px;height:20px}
body.cci-shell .copyBtn:hover{border-color:var(--brand);color:var(--brand);background:var(--tint)}
body.cci-shell #cci-copy.copyBtn.copied,body.cci-shell .copyBtn.copied{border-color:var(--brand);background:var(--brand);color:#fff}
body.cci-shell .sw.blur,body.cci-shell .sw.colors{overflow:hidden;padding:0;background:#ddd}
body.cci-shell .sw.blur canvas{width:100%;height:100%;display:block;border-radius:50%;pointer-events:none}
@media(max-width:640px){
 body.cci-shell .dlrow .btn{max-width:none;padding:12px}
}

/* v1.3.0: Advanced options as a right-side panel (>=900px); in-view sheet on smaller screens */
@media(min-width:900px){
 body.cci-shell .editor.advopen{max-width:min(1040px,calc(100vw - 48px));max-height:calc(100dvh - 80px);margin-left:auto;margin-right:auto}
 body.cci-shell.admin-bar .editor.advopen{max-height:calc(100dvh - 112px)}
 body.cci-shell .editor.advopen .body{grid-template-columns:minmax(0,1fr) min(340px,38%);align-items:stretch;min-height:0;overflow:hidden}
 body.cci-shell .editor.advopen .side{border-top:0;border-left:1px solid var(--line);padding:12px 16px 16px;overflow:auto;min-height:0;max-height:calc(100dvh - 80px - 52px)}
 body.cci-shell.admin-bar .editor.advopen .side{max-height:calc(100dvh - 112px - 52px)}
 body.cci-shell .editor.advopen .canvasArea{min-width:0}
 body.cci-shell .editor.advopen .cwrap{flex:none}
}
@media(max-width:899px){
 body.cci-shell .editor.advopen{height:auto!important;max-height:calc(100dvh - 72px);min-height:0;display:flex;flex-direction:column;overflow:hidden;margin-bottom:12px}
 body.cci-shell.admin-bar .editor.advopen{max-height:calc(100dvh - 104px)}
 body.cci-shell .editor.advopen .body{flex:1 1 auto;min-height:0;overflow:hidden;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}
 body.cci-shell .editor.advopen .canvasArea{overflow:visible;flex:none;padding-bottom:6px}
 body.cci-shell .editor.advopen .cwrap{flex:none;height:auto!important}
 body.cci-shell .editor.advopen .side{border-left:0;border-top:1px solid var(--line);overflow:auto;min-height:0;max-height:min(42dvh,320px);padding:8px 12px 12px;-webkit-overflow-scrolling:touch}
 body.cci-shell .editor.advopen .adv.open{padding-bottom:4px}
}
@media(max-width:640px){
 body.cci-shell .editor.advopen{max-height:calc(100dvh - 64px)}
 body.cci-shell .editor.advopen .side{max-height:min(38dvh,280px)}
}

/* Image Cropper tool */
body.cci-shell .cci-crop .editor{/* inherits compact editor */}
@media(min-width:641px){
 body.cci-shell .cci-crop .editor{max-width:700px}
 body.cci-shell .cci-crop .editor.advopen{max-width:min(1040px,calc(100vw - 48px))}
}
body.cci-shell .cci-crop .cwrap-rect{width:100%;display:flex;justify-content:center;align-items:center;background:#1a1922;border-radius:12px;overflow:hidden;touch-action:none}
body.cci-shell .cci-crop .cwrap-rect canvas{display:block;max-width:100%;height:auto;touch-action:none;outline:none}
body.cci-shell .cci-crop .presets{display:flex;flex-wrap:wrap;gap:6px;width:100%;justify-content:center}
body.cci-shell .cci-crop .presets button{border:1px solid var(--line);background:var(--card);border-radius:999px;padding:5px 11px;font:inherit;font-size:13px;font-weight:500;color:var(--ink);cursor:pointer}
body.cci-shell .cci-crop .presets button.on{background:var(--brand);color:#fff;border-color:var(--brand)}
body.cci-shell .cci-crop .socialRow{display:flex;align-items:center;gap:8px;width:100%;justify-content:center}
body.cci-shell .cci-crop .socialRow select{border:1px solid var(--line);border-radius:10px;padding:6px 10px;font:inherit;font-size:13px;background:var(--card);max-width:100%;flex:1;min-width:0}
body.cci-shell .cci-crop .xy{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%}
body.cci-shell .cci-crop .xy label{display:flex;flex-direction:column;gap:2px;font-size:11px;color:var(--mut);font-weight:600;letter-spacing:.02em}
body.cci-shell .cci-crop .xy input{width:100%;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;padding:6px 7px;font:inherit;font-size:14px;min-width:0}
body.cci-shell .cci-crop .toggles{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;width:100%}
body.cci-shell .cci-crop .tgl{border:1px solid var(--line);background:var(--card);border-radius:10px;padding:6px 12px;font:inherit;font-size:13px;font-weight:500;color:var(--ink);cursor:pointer}
body.cci-shell .cci-crop .tgl[aria-pressed=true],body.cci-shell .cci-crop .tgl.on{background:var(--lav,var(--tint));border-color:var(--brand);color:var(--brand)}
body.cci-shell .cci-crop .outdim{font-size:13px;color:var(--mut);text-align:center;margin:0}
body.cci-shell .cci-crop .liveWrap{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:8px}
body.cci-shell .cci-crop .live{width:120px;height:120px;border-radius:10px;background:var(--soft);display:block}
body.cci-shell .cci-crop .outpair{display:flex;gap:8px}
body.cci-shell .cci-crop .outpair .fld{flex:1;min-width:0}
body.cci-shell .card .ic-cropper{border-radius:3px;width:38px;height:28px;margin-left:1px}
body.cci-shell .wraptable{overflow:auto;margin-top:8px}
body.cci-shell table.sizes{width:100%;border-collapse:collapse;font-size:15px}
body.cci-shell table.sizes th,body.cci-shell table.sizes td{text-align:left;padding:11px 12px;border-bottom:1px solid var(--line)}
body.cci-shell table.sizes th{font-weight:600;color:var(--ink)}
body.cci-shell table.sizes tr:last-child td{border-bottom:0}
@media(max-width:640px){
 body.cci-shell .cci-crop .xy{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
 body.cci-shell .cci-crop .xy input{padding:5px 4px;font-size:13px}
 body.cci-shell .cci-crop .presets{gap:5px}
 body.cci-shell .cci-crop .presets button{padding:4px 9px;font-size:12px}
}
@media(min-width:900px){
 body.cci-shell .links{gap:20px;font-size:14.5px}
}

/* v1.3.0 cropper compact first-screen layout */
@media(min-width:641px){
 body.cci-shell .cci-crop .editor{margin:8px auto 32px}
 body.cci-shell .cci-crop .canvasArea{padding:10px 14px 8px;gap:8px}
 body.cci-shell .cci-crop .toolrow{display:flex;gap:8px;align-items:center;width:100%}
 body.cci-shell .cci-crop .toolrow .presets{flex:1;justify-content:flex-start}
 body.cci-shell .cci-crop .toolrow .socialRow{flex:0 1 220px;min-width:140px}
 body.cci-shell .cci-crop .actions .btn{padding:12px 28px}
}
@media(max-width:640px){
 body.cci-shell .cci-crop .toolrow{display:flex;flex-direction:column;gap:6px;width:100%}
 body.cci-shell .cci-crop .canvasArea{padding:8px 10px 8px;gap:7px}
}
body.cci-shell .cci-crop .outpair input{width:100%;box-sizing:border-box;height:38px;padding:0 10px;border:1px solid var(--line);border-radius:10px;font:inherit;font-size:14px;display:block;background:var(--card)}
body.cci-shell .cci-crop .outpair{display:flex;gap:8px}
body.cci-shell .cci-crop .outpair.hide,body.cci-shell .cci-crop .row.hide{display:none}
body.cci-shell .cci-crop .liveWrap{margin-top:4px}

/* v1.4.0: shape chips wrap; guide + hub article blocks; guide cards */
body.cci-shell .shapes{flex-wrap:wrap}
body.cci-shell .shapes svg{display:block}
body.cci-shell .card .ic-guide{border-radius:6px;border-style:solid;box-shadow:inset 0 -10px 0 -6px var(--brand)}
body.cci-shell .card .ic-avatar,body.cci-shell .card .ic-logo{border-radius:50%}
body.cci-shell .card .ic-logo{box-shadow:inset 0 0 0 6px var(--card),inset 0 0 0 9px var(--brand)}
body.cci-shell .card .ic-shapes{border-radius:50% 50% 8px 50%;transform:rotate(45deg) scale(.8)}
body.cci-shell .card .ic-addborder{border-width:5px;border-radius:4px}
body.cci-shell .cards.cards2{grid-template-columns:repeat(2,1fr);max-width:760px;margin:0 auto}
body.cci-shell .guide{max-width:820px;margin:0 auto;font-size:17px}
body.cci-shell .guide h2{font-size:28px;letter-spacing:-.3px;margin:44px 0 12px}
body.cci-shell .guide h2:first-child{margin-top:0}
body.cci-shell .guide ol,body.cci-shell .guide ul{padding-left:22px}
body.cci-shell .guide li{margin-bottom:8px}
body.cci-shell .guide a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}
body.cci-shell .gstep{display:grid;grid-template-columns:40px 1fr;gap:16px;margin:26px 0}
body.cci-shell .gnum{width:36px;height:36px;border-radius:50%;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:600}
body.cci-shell .gstep h3{font-size:20px;margin:4px 0 6px}
body.cci-shell .gfig{margin:14px 0 0}
body.cci-shell .gfig img{width:100%;height:auto;border-radius:14px;border:1px solid var(--line);display:block}
body.cci-shell .gfig figcaption{font-size:14px;color:var(--mut);margin-top:6px}
body.cci-shell .gphone{max-width:300px}
body.cci-shell .doc .gcta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:6px 0 26px}
body.cci-shell .doc .gcta .btn{color:#fff;text-decoration:none}
body.cci-shell .doc .gcta span{color:var(--mut);font-size:15px}
body.cci-shell .doc > img,body.cci-shell .doc p > img{width:100%;height:auto;border-radius:16px}
body.cci-shell .doc img{max-width:100%;height:auto;border-radius:16px}
body.cci-shell .doc .note{font-size:14px;color:var(--mut)}
@media(max-width:900px){body.cci-shell .links{gap:16px;font-size:14px}}
@media(max-width:640px){body.cci-shell .cards.cards2{grid-template-columns:1fr}body.cci-shell .gstep{grid-template-columns:32px 1fr;gap:10px}body.cci-shell .guide h2{font-size:23px}}
@media(min-width:901px) and (max-width:1200px){body.cci-shell .links{gap:16px;font-size:14px}}

/* ===== v1.4.1: hero essentials, toolbar Rotate, compact first screen, visible colour swatch ===== */
/* Crop/Fit chips live in Advanced on pages whose hero shows other essentials */
body.cci-shell .cci-tool[data-seg="0"] #cci-mode{display:none}
body.cci-shell #cci-mode2{margin:0 auto}
body.cci-shell #cci-mode2 button{padding:6px 24px;font-size:13.5px}
body.cci-shell .bar .l{gap:0;flex-wrap:nowrap}
body.cci-shell .ib{white-space:nowrap}
/* essentials row (between preview/zoom and Download) */
body.cci-shell .ess{display:flex;flex-direction:column;align-items:center;gap:6px;width:100%;max-width:440px}
body.cci-shell .ess .erow{width:100%;min-height:30px;gap:10px;flex-wrap:nowrap}
body.cci-shell .ess .erow .lab{width:74px;flex:none;color:var(--mut)}
body.cci-shell .ess .erow .val{width:46px;flex:none}
body.cci-shell .ess .row.hide{display:none}
body.cci-shell .ess .chips.shapes{flex-wrap:wrap;justify-content:flex-start;flex:1}
body.cci-shell .ess .chips.shapes button{width:34px;height:32px}
body.cci-shell .ess .four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;width:100%}
body.cci-shell .ess .four button{border:1px solid var(--line);background:var(--card);border-radius:9px;height:34px;padding:0 4px;font-size:13px;color:var(--txt);cursor:pointer;display:flex;gap:5px;align-items:center;justify-content:center;min-width:0;line-height:1.1}
body.cci-shell .ess .four button:hover{border-color:#c9c3f3;color:var(--brand)}
body.cci-shell .ess .four svg{width:15px;height:15px;flex:none}
body.cci-shell .ess .sws.bcs{flex-wrap:wrap;justify-content:center;width:100%}
body.cci-shell .ess .row#cci-bcs{justify-content:center;min-height:28px}
body.cci-shell .ess .row#cci-bcs .lab{display:none}
/* thumbnails + Download all on ONE compact row */
body.cci-shell .qrow{display:none;align-items:center;justify-content:center;gap:12px;width:100%;min-width:0}
body.cci-shell .qrow.on{display:flex}
body.cci-shell .qrow .queue{flex:0 1 auto;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;gap:9px;padding:9px 9px 3px;min-width:0;scrollbar-width:none}
body.cci-shell .qrow .queue::-webkit-scrollbar{display:none}
body.cci-shell .qrow .queue .qitem,body.cci-shell .qrow .queue .qitem img{width:32px;height:32px}
body.cci-shell .qrow .ghost{width:auto;flex:none;white-space:nowrap;padding:4px 2px;font-size:13.5px}
/* tighter desktop spacing so the Advanced bar stays on the first screen */
@media(min-width:641px){
 body.cci-shell .editor{margin:8px auto 40px}
 body.cci-shell .canvasArea{padding:10px 16px 8px;gap:8px}
 body.cci-shell .ctl{gap:8px}
 body.cci-shell .side{padding:8px 16px 12px}
 body.cci-shell .advBtn{padding:9px 16px}
 body.cci-shell .actions .btn{padding:12px 38px}
 body.cci-shell .bar{padding:4px 12px}
 body.cci-shell .ib{padding:7px 10px}
}
/* colour circle next to Border: visible, clearly clickable (checkerboard ring + dark hairline + current colour) */
body.cci-shell input[type=color].cp{width:32px;height:32px;border:2px solid #b9bcc6;border-radius:50%;padding:4px;background:repeating-conic-gradient(#cfd2d9 0 25%,#fff 0 50%) 0 0/10px 10px;cursor:pointer;flex:none;box-shadow:0 1px 2px rgba(20,18,40,.15)}
body.cci-shell input[type=color].cp:hover,body.cci-shell input[type=color].cp:focus-visible{border-color:var(--brand);box-shadow:0 0 0 3px var(--tint)}
body.cci-shell input[type=color].cp::-webkit-color-swatch-wrapper{padding:0}
body.cci-shell input[type=color].cp::-webkit-color-swatch{border:1px solid rgba(0,0,0,.5);border-radius:50%}
body.cci-shell input[type=color].cp::-moz-color-swatch{border:1px solid rgba(0,0,0,.5);border-radius:50%}
body.cci-shell .sws.bcs .sw[data-c="#ffffff"]{border-color:#b9bcc6}
/* mobile: keep Reset + Rotate labelled (icon + text) in the toolbar */
@media(max-width:640px){
 body.cci-shell .bar{padding:2px 6px;gap:4px}
 body.cci-shell .bar .ib{padding:7px 8px;font-size:13px;gap:5px}
 body.cci-shell .ess{max-width:none}
 body.cci-shell .ess .four{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.cci-shell .ess .erow .lab{width:62px}
 body.cci-shell .qrow{gap:8px}
 body.cci-shell .qrow .queue{padding:9px 8px 3px}
 body.cci-shell .qrow .queue .qrm{width:24px;height:24px;min-width:24px;min-height:24px;top:-7px;right:-7px}
 body.cci-shell .qrow .queue .qrm svg{width:11px;height:11px}
}
body.cci-shell .card .ic-whiteborder{border-width:5px;border-radius:4px;border-color:#fff;box-shadow:0 0 0 1px #cfd2d8}
body.cci-shell .card .ic-blackborder{border-width:5px;border-radius:4px;border-color:#17161d}
body.cci-shell .card .ic-blurborder{border-width:5px;border-radius:4px;border-color:rgba(91,69,224,.4);box-shadow:0 0 9px 3px rgba(91,69,224,.45)}

/* ===== v1.4.1 mobile: landing hero fills the first screen; compact editor ===== */
@media(max-width:640px){
 body.cci-shell .hero{min-height:calc(100svh - 56px);display:flex;flex-direction:column;justify-content:center;padding:12px 0 56px;box-sizing:border-box}
 body.cci-shell .hero .samples{margin-top:16px}
 body.cci-shell .editor{height:auto;min-height:0;margin:8px 0 20px}
 body.cci-shell .body{grid-template-rows:auto auto}
 body.cci-shell .cwrap{flex:none;width:auto;height:auto}
 body.cci-shell .canvasArea{padding:8px 10px 8px;gap:7px}
 body.cci-shell .ctl{gap:8px}
 body.cci-shell .side{padding:6px 12px 10px}
 body.cci-shell .advBtn{padding:9px 14px}
 body.cci-shell .actions .btn,body.cci-shell .dlrow .btn{padding:11px}
 body.cci-shell .ess{gap:5px}
 body.cci-shell .ess .erow{min-height:28px}
 body.cci-shell .cci-crop .cwrap-rect{width:100%}
}

/* ===== v1.4.1 mobile toolbar: compact pill buttons, icon + SHORT word (Add | Reset | Rotate ... New) ===== */
body.cci-shell .bar .txs{display:none}
@media(max-width:640px){
 body.cci-shell .bar{padding:6px 8px;gap:4px;flex-wrap:nowrap}
 body.cci-shell .bar .l{display:flex;gap:4px;flex:1 1 auto;min-width:0;flex-wrap:nowrap}
 body.cci-shell .bar .ib{min-height:36px;padding:0 8px;gap:3px;font-size:12.5px;line-height:1;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink);flex:none;white-space:nowrap}
 body.cci-shell .bar .ib svg{width:14px;height:14px}
 body.cci-shell .bar{justify-content:space-between}
 body.cci-shell .bar .l{gap:3px}
 body.cci-shell .bar .ib .txt{display:none!important}
 body.cci-shell .bar .ib .txs{display:inline}
}
@media(max-width:350px){body.cci-shell .bar .ib{padding:0 6px;font-size:12px}}
@media(max-width:640px){body.cci-shell:lang(fr) .bar .ib,body.cci-shell:lang(pt) .bar .ib,body.cci-shell:lang(es) .bar .ib{padding:0 7px;font-size:12px}}

/* mobile toolbar = Add | Rotate ....... Clear (Reset stays on desktop/tablet) */
@media(max-width:640px){body.cci-shell .bar #cci-center,body.cci-shell .bar #ccr-center{display:none}}

/* v1.4.3: Crop Irregular Shape Online (freehand lasso + point polygon) */
body.cci-shell .cci-lasso .lrow{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;flex-wrap:nowrap}
body.cci-shell .cci-lasso .lmode{flex:none}
body.cci-shell .cci-lasso .lmode button{display:inline-flex;align-items:center;gap:6px;padding:6px 14px}
body.cci-shell .cci-lasso .lmode button svg{width:16px;height:16px;flex:none}
body.cci-shell .cci-lasso .lmode .txs{display:none}
body.cci-shell .cci-lasso .lhist{display:flex;gap:6px;flex:none}
body.cci-shell .cci-lasso .hb{display:inline-flex;align-items:center;gap:5px;border:1px solid var(--line);background:var(--card);border-radius:999px;padding:6px 11px;font:inherit;font-size:13px;font-weight:500;color:var(--ink);cursor:pointer;min-height:34px;box-sizing:border-box}
body.cci-shell .cci-lasso .hb svg{width:16px;height:16px;flex:none}
body.cci-shell .cci-lasso .hb:hover:not(:disabled){border-color:var(--brand);color:var(--brand)}
body.cci-shell .cci-lasso .hb:disabled{opacity:.4;cursor:default}
body.cci-shell .cci-lasso .cwrap-rect{position:relative}
body.cci-shell .cci-lasso .lhint{position:absolute;left:50%;top:8px;transform:translateX(-50%);max-width:94%;background:rgba(20,18,30,.74);color:#fff;font-size:12px;line-height:1.3;padding:5px 11px;border-radius:999px;pointer-events:none;text-align:center;white-space:normal}
body.cci-shell .cci-lasso .lhint:empty{display:none}
body.cci-shell .cci-lasso .zrow{width:100%;min-height:28px;flex-wrap:nowrap;gap:10px}
body.cci-shell .cci-lasso .zrow .lab{width:56px;color:var(--mut)}
body.cci-shell .cci-lasso .zrow .val{width:46px;flex:none}
body.cci-shell .cci-lasso .btn:disabled{opacity:.45;cursor:not-allowed}
body.cci-shell .cci-lasso .copyBtn:disabled{opacity:.45;cursor:not-allowed}
body.cci-shell .cci-lasso .ltog{justify-content:flex-start}
body.cci-shell .cci-lasso .adv .row .lab{width:70px}
body.cci-shell .card .ic-lasso{border-radius:62% 38% 55% 45%/48% 58% 42% 52%;border-style:dashed}
@media(max-width:520px){
 body.cci-shell .cci-lasso .lmode .txt{display:none}
 body.cci-shell .cci-lasso .lmode .txs{display:inline}
 body.cci-shell .cci-lasso .lmode button{padding:6px 10px;gap:5px;font-size:13px}
 body.cci-shell .cci-lasso .hb{padding:6px 9px;min-width:34px;justify-content:center}
 body.cci-shell .cci-lasso .hb .t{display:none}
 body.cci-shell .cci-lasso .lhist{gap:5px}
}
@media(max-width:380px){
 body.cci-shell .cci-lasso .lmode button{padding:6px 8px;gap:4px;font-size:12.5px}
 body.cci-shell .cci-lasso .hb{padding:6px 7px;min-width:32px}
 body.cci-shell .cci-lasso .lrow{gap:4px}
 body.cci-shell .cci-lasso .lhist{gap:4px}
}
@media(max-width:640px){body.cci-shell .bar #ccl-center{display:none}}


/* v1.4.4: desktop/tablet keep Crop/Fit + slider; phones (<768px) move Crop/Fit into Advanced and centre the zoom slider */
body.cci-shell .cci-tool .zoomRow .zbtn{display:none;width:30px;height:30px;border:0;background:transparent;color:var(--mut);align-items:center;justify-content:center;border-radius:50%;cursor:pointer;padding:0;flex:none}
body.cci-shell .cci-tool .zoomRow .zbtn svg{width:19px;height:19px}
body.cci-shell .cci-tool .zoomRow .zbtn:hover{background:var(--tint);color:#5b45e0}
@media(min-width:768px){
 body.cci-shell .cci-tool:not([data-seg="0"]) #cci-mode2row{display:none}
 body.cci-shell .cci-tool[data-seg="0"] #cci-mode2row .lab{display:none}
 body.cci-shell .cci-tool[data-seg="0"] #cci-mode2{margin:0 auto}
}
@media(max-width:767px){
 body.cci-shell .cci-tool #cci-mode{display:none}
 body.cci-shell .cci-tool .ctl{flex-direction:column;align-items:center;gap:8px}
 body.cci-shell .cci-tool .zoomRow{justify-content:center;gap:10px;width:100%;max-width:none;flex:none}
 body.cci-shell .cci-tool .zoomRow .zl{display:none}
 body.cci-shell .cci-tool .zoomRow .zbtn{display:inline-flex}
 body.cci-shell .cci-tool .zoomRow input[type=range]{flex:0 1 220px;width:auto;max-width:220px}
 body.cci-shell .cci-tool .zoomRow b{min-width:40px;width:auto;text-align:left;font-weight:500;color:var(--mut);font-size:12px}
 body.cci-shell .cci-tool #cci-mode2row{display:flex;align-items:center;justify-content:flex-start;gap:12px;padding:6px 2px;order:-1}
 body.cci-shell .cci-tool #cci-mode2row .lab{width:70px;flex:none;color:var(--mut);font-size:13px}
}

/* ===== v1.5.0: header border, dropdown navigation, logo, home links, CJK fonts ===== */
body.cci-shell header.hdr{background:var(--card);border-bottom:2px solid var(--hdr-line);border-radius:2px;position:relative;z-index:40}
body.cci-shell .brand{gap:10px;font-weight:700;letter-spacing:-.2px}
body.cci-shell .brand img{width:32px;height:32px;border-radius:50%;display:block;flex:none}
body.cci-shell .links{align-items:center}
body.cci-shell .links>a,body.cci-shell .ddBtn{white-space:nowrap}
body.cci-shell .dd{position:relative}
body.cci-shell .ddBtn{background:none;border:0;padding:6px 0;font:inherit;font-size:inherit;color:var(--txt);cursor:pointer;display:inline-flex;align-items:center;gap:5px}
body.cci-shell .ddBtn:hover,body.cci-shell .dd.open .ddBtn{color:var(--brand)}
body.cci-shell .ddBtn svg{transition:transform .15s}
body.cci-shell .dd.open .ddBtn svg{transform:rotate(180deg)}
body.cci-shell .ddMenu{display:none;position:absolute;top:calc(100% + 12px);left:-14px;min-width:240px;max-width:320px;background:var(--card);border:1px solid var(--line);border-radius:12px;box-shadow:0 14px 34px rgba(20,18,40,.12);padding:8px;margin:0;list-style:none;z-index:50}
body.cci-shell .ddMenu::before{content:"";position:absolute;left:0;right:0;top:-14px;height:14px}
body.cci-shell #cci-dd-info{left:auto;right:-14px}
body.cci-shell .dd.open .ddMenu{display:block}
body.cci-shell .ddMenu li{margin:0;padding:0}
body.cci-shell .ddMenu a{display:block;padding:9px 12px;border-radius:8px;color:var(--ink);white-space:normal}
body.cci-shell .ddMenu a:hover,body.cci-shell .ddMenu a[aria-current=page]{background:var(--soft);color:var(--brand)}
body.cci-shell .ddMenu .sep{height:1px;background:var(--line);margin:6px 8px;padding:0}
body.cci-shell .mnav{max-height:calc(100vh - 76px);overflow-y:auto}
body.cci-shell .mnav .mh{margin:10px 14px 2px;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--mut);font-weight:600}
body.cci-shell .mnav a[aria-current=page]{color:var(--brand);background:var(--soft)}
body.cci-shell p.homelink{margin:26px 0 10px;text-align:center;color:var(--txt);font-size:16px}
body.cci-shell p.homelink a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}
body.cci-shell .blogempty{text-align:center;color:var(--mut);padding:40px 0}
body.cci-shell .blogcards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px;margin:24px 0}
@media(min-width:901px) and (max-width:1100px){body.cci-shell .links{gap:14px;font-size:13.5px}body.cci-shell .nav .right{gap:12px}}
/* non-Latin scripts: Figtree is Latin only, so name a script font per language and keep CJK lines readable */
html:lang(ja) body.cci-shell{font-family:Figtree,"Hiragino Sans","Hiragino Kaku Gothic ProN","Noto Sans JP","Yu Gothic",Meiryo,system-ui,sans-serif;line-break:strict;word-break:normal;overflow-wrap:anywhere}
html:lang(ja) body.cci-shell h1,html:lang(ja) body.cci-shell h2,html:lang(ja) body.cci-shell h3{line-height:1.3;word-break:auto-phrase;text-wrap:balance}
html:lang(ja) body.cci-shell p{text-wrap:pretty;word-break:auto-phrase}
html:lang(ru) body.cci-shell,html:lang(tr) body.cci-shell,html:lang(vi) body.cci-shell{font-family:Figtree,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",system-ui,sans-serif}
html:lang(vi) body.cci-shell h1,html:lang(vi) body.cci-shell h2,html:lang(vi) body.cci-shell h3{line-height:1.3}
html:lang(ru) body.cci-shell h1,html:lang(ru) body.cci-shell h2{overflow-wrap:break-word;hyphens:auto}
html:lang(de) body.cci-shell h1,html:lang(de) body.cci-shell h2,html:lang(de) body.cci-shell h3{overflow-wrap:break-word;hyphens:auto}

/* ===== v1.5.1: light/dark theme ===== */
body.cci-shell .cci-themeBtn{width:34px;height:34px;min-width:34px;padding:0;border:1px solid var(--line);border-radius:999px;background:var(--card);color:var(--ink);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex:none}
body.cci-shell .cci-themeBtn:hover,body.cci-shell .cci-themeBtn:focus-visible{border-color:var(--brand);color:var(--brand);outline:none}
body.cci-shell .cci-themeBtn .i-sun{display:none}
body.cci-shell .cci-themeBtn .i-moon{display:block}
html[data-cci-theme=dark] body.cci-shell .cci-themeBtn .i-sun{display:block}
html[data-cci-theme=dark] body.cci-shell .cci-themeBtn .i-moon{display:none}
body.cci-shell .mnav .cci-themeBtn{margin:8px 14px 4px;align-self:flex-start}
@media(max-width:900px){body.cci-shell .cci-themeBtn{width:32px;height:32px;min-width:32px}}

html[data-cci-theme=dark] body.cci-shell{--ink:#f3f2f8;--txt:#d8d6e6;--mut:#b8b5c8;--line:#3e3c52;--soft:#2a2838;--brand:#5b45e0;--brand-d:#6d58f0;--tint:#2a2452;--err:#ff7a73;--bg:#16151e;--card:#1e1d28;--wash:#252338;--hdr-line:#4d4670;--cta-bg:#2a2452;--cta-bd:#4a4278;--cta-txt:#d8d6e6;--cta-h:#f3f2f8;--check-a:#3f3e4e;--check-b:#2a2936;--shadow:rgba(0,0,0,.45);color-scheme:dark;background:var(--bg);color:var(--txt)}
html[data-cci-theme=dark] body.cci-shell .a1{background:#2a2452}
html[data-cci-theme=dark] body.cci-shell .a2{background:#3a2a24}
html[data-cci-theme=dark] body.cci-shell .a3{background:#1c2e28}
html[data-cci-theme=dark] body.cci-shell .up{box-shadow:0 2px 4px rgba(0,0,0,.2),0 18px 48px rgba(0,0,0,.35)}
html[data-cci-theme=dark] body.cci-shell .editor,html[data-cci-theme=dark] body.cci-shell .ddMenu,html[data-cci-theme=dark] body.cci-shell .tl-lang ul,html[data-cci-theme=dark] body.cci-shell .mnav{box-shadow:0 14px 34px var(--shadow)}
html[data-cci-theme=dark] body.cci-shell .card:hover{border-color:#6b62a0}
html[data-cci-theme=dark] body.cci-shell .advBtn:hover,html[data-cci-theme=dark] body.cci-shell .two button:hover,html[data-cci-theme=dark] body.cci-shell .ess .four button:hover,html[data-cci-theme=dark] body.cci-shell .bar .ib:hover{border-color:#6b62a0}
html[data-cci-theme=dark] body.cci-shell .btn,html[data-cci-theme=dark] body.cci-shell .cta .btn,html[data-cci-theme=dark] body.cci-shell .gnum,html[data-cci-theme=dark] body.cci-shell .cci-crop .presets button.on,html[data-cci-theme=dark] body.cci-shell #cci-copy.copyBtn.copied,html[data-cci-theme=dark] body.cci-shell .copyBtn.copied,html[data-cci-theme=dark] body.cci-shell .doc button[type=submit],html[data-cci-theme=dark] body.cci-shell .doc .kb-adv-form-submit-button{background:var(--brand);color:#fff}
html[data-cci-theme=dark] body.cci-shell .btn:hover,html[data-cci-theme=dark] body.cci-shell .cta .btn:hover{background:var(--brand-d);color:#fff}
html[data-cci-theme=dark] body.cci-shell .sw.on{box-shadow:0 0 0 2px var(--card),0 0 0 4px var(--brand)}
html[data-cci-theme=dark] body.cci-shell .cci-crop .cwrap-rect{background:#12111a}
html[data-cci-theme=dark] body.cci-shell input[type=range]{accent-color:var(--brand)}
html[data-cci-theme=dark] body.cci-shell .plat{box-shadow:0 6px 18px var(--shadow)}

/* ===== v1.5.2: compact mobile header (<768px) ===== */
@media(max-width:767px){
  body.cci-shell header.hdr .cci-themeBtn{width:32px;height:32px;min-width:32px;min-height:32px}
  body.cci-shell header.hdr .cci-themeBtn svg,body.cci-shell .mnav .cci-themeBtn svg{width:18px;height:18px}
  body.cci-shell header.hdr .tl-lang summary svg{display:none}
  body.cci-shell header.hdr .tl-lang summary{gap:0;padding:0 8px;min-width:32px;min-height:32px;height:32px;justify-content:center;box-sizing:border-box}
  body.cci-shell header.hdr .nav .right{gap:6px;flex:none}
  body.cci-shell header.hdr .brand{gap:8px;min-width:0;flex:1 1 auto}
  body.cci-shell header.hdr .brand span{white-space:nowrap;font-size:15px;letter-spacing:-.3px;line-height:1.2}
  body.cci-shell header.hdr .brand img{width:28px;height:28px}
}
@media(max-width:360px){
  body.cci-shell header.hdr .brand{gap:6px}
  body.cci-shell header.hdr .brand span{font-size:14px;letter-spacing:-.35px}
  body.cci-shell header.hdr .brand img{width:26px;height:26px}
  body.cci-shell header.hdr .w{padding-left:10px;padding-right:10px}
}
@media(max-width:320px){
  body.cci-shell header.hdr .brand span{font-size:13px;letter-spacing:-.4px}
  body.cci-shell header.hdr .brand img{width:24px;height:24px}
  body.cci-shell header.hdr .w{padding-left:8px;padding-right:8px}
}

/* ===== v1.5.2: bookmark nudge (under the header, after a successful download) ===== */
body.cci-shell .cci-nudge{display:flex;align-items:center;gap:10px;background:var(--tint);color:var(--ink);border-bottom:1px solid var(--line);padding:8px 16px;font-size:14px;line-height:1.35;position:relative;z-index:35}
body.cci-shell .cci-nudge p{margin:0;flex:1;min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
body.cci-shell .cci-nudge strong{font-weight:600;margin-right:.35em}
body.cci-shell .cci-nudge-hint{color:var(--txt)}
body.cci-shell .cci-nudge-a2hs{border:0;background:none;color:var(--brand);font:inherit;font-weight:600;cursor:pointer;padding:0;text-decoration:underline;text-underline-offset:2px}
body.cci-shell .cci-nudge-x{flex:none;width:32px;height:32px;min-width:32px;border:0;background:none;color:var(--mut);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:0}
body.cci-shell .cci-nudge-x:hover,body.cci-shell .cci-nudge-x:focus-visible{color:var(--ink);background:var(--soft);outline:none}
@media(max-width:360px){body.cci-shell .cci-nudge{padding:6px 10px;font-size:13px;gap:8px;line-height:1.3}}
