.ccp-wrap{--ccp-primary:#ff7a1a;--ccp-accent:#2563eb;--ccp-dark:#111827;--ccp-card-radius:18px;--ccp-editor-radius:20px;--ccp-desktop-cols:3;--ccp-tablet-cols:2;--ccp-mobile-cols:1;--ccp-thumb-fit:cover;font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:#111827}
.ccp-debug{background:#dc2626;color:#fff;font-weight:900;padding:10px 14px;border-radius:12px;margin:10px 0;text-align:center}.ccp-gallery-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:20px 0}.ccp-title{margin:0;font-size:clamp(26px,4vw,42px);line-height:1.05;color:var(--ccp-dark)}.ccp-subtitle{margin:8px 0 0;color:#64748b}.ccp-controls{display:flex;gap:10px;flex-wrap:wrap}.ccp-search,.ccp-sort{border:1px solid #d7dde8;border-radius:12px;padding:12px 14px;background:#fff;color:#111827;min-height:44px;box-shadow:0 6px 20px rgba(15,23,42,.05)}.ccp-search{min-width:min(320px,80vw)}.ccp-grid{display:grid;grid-template-columns:repeat(var(--ccp-desktop-cols),minmax(0,1fr));gap:22px}.ccp-card{position:relative;background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:var(--ccp-card-radius);overflow:hidden;box-shadow:0 18px 45px rgba(15,23,42,.08);transition:transform .2s ease,box-shadow .2s ease}.ccp-card:hover{transform:translateY(-3px);box-shadow:0 24px 60px rgba(15,23,42,.13)}.ccp-thumb{background:#f8fafc;aspect-ratio:3/4;display:flex;align-items:center;justify-content:center;overflow:hidden}.ccp-thumb img{width:100%;height:100%;object-fit:var(--ccp-thumb-fit);display:block}.ccp-card-body{padding:14px}.ccp-card h3{margin:0 0 12px;font-size:17px;line-height:1.25;color:#111827}.ccp-card-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.ccp-card-actions button,.ccp-load-more,.ccp-tools button,.ccp-close{appearance:none;border:0;border-radius:12px;padding:11px 12px;font-weight:800;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}.ccp-open{background:var(--ccp-primary);color:#fff}.ccp-pdf{background:#111827;color:#fff}.ccp-fav{position:absolute;top:10px;right:10px;z-index:2;width:38px;height:38px;border-radius:999px;border:0;background:rgba(255,255,255,.95);box-shadow:0 10px 26px rgba(15,23,42,.18);font-size:21px;cursor:pointer}.ccp-fav.active{background:#fef2f2;color:#dc2626}.ccp-load-more{display:block;margin:28px auto;background:var(--ccp-accent);color:#fff;min-width:170px}.ccp-card.ccp-hidden,.ccp-card.ccp-filter-hide{display:none!important}
.ccp-editor{position:fixed;inset:0;background:rgba(15,23,42,.72);z-index:2147483000;display:none;padding:18px;box-sizing:border-box}.ccp-editor.open{display:block}.ccp-editor-panel{width:min(1440px,100%);height:calc(100dvh - 36px);margin:0 auto;background:#f8fafc;border-radius:var(--ccp-editor-radius);overflow:hidden;display:grid;grid-template-columns:320px 1fr;box-shadow:0 35px 90px rgba(0,0,0,.35)}.ccp-tools{background:#fff;border-right:1px solid #e5e7eb;overflow:auto;padding:16px;display:flex;flex-direction:column;gap:14px}.ccp-tools-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.ccp-tools label{display:grid;gap:8px;font-size:13px;font-weight:800;color:#334155}.ccp-color{width:100%;height:44px;border:1px solid #cbd5e1;border-radius:12px;background:#fff}.ccp-palette{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.ccp-swatch{height:34px;border-radius:10px;border:2px solid #fff;box-shadow:0 0 0 1px #dbe3ef;cursor:pointer}.ccp-swatch.active{box-shadow:0 0 0 3px var(--ccp-primary)}.ccp-tool-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ccp-download-row{grid-template-columns:repeat(4,1fr)}.ccp-tool-row button{background:#eef2ff;color:#1e293b}.ccp-vector-note{background:#ecfeff;color:#155e75;border:1px solid #a5f3fc;border-radius:12px;padding:10px 12px;font-size:12px;font-weight:800;line-height:1.4}.ccp-close{background:#f97316;color:#fff}.ccp-close-top{width:38px;height:38px;padding:0;border-radius:999px;font-size:22px}.ccp-stage-area{min-width:0;display:flex;flex-direction:column}.ccp-editor-top{height:62px;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 16px}.ccp-editor-title{display:block;color:#111827}.ccp-status{font-size:12px;color:#64748b;margin-left:10px}.ccp-stage{flex:1;overflow:auto;display:flex;align-items:flex-start;justify-content:center;padding:18px;background:linear-gradient(135deg,#eef2ff,#f8fafc)}.ccp-artboard{background:#fff;border-radius:12px;box-shadow:0 18px 45px rgba(15,23,42,.18);max-width:none;min-width:320px;min-height:420px;touch-action:pan-x pan-y}.ccp-svg-host{width:100%;height:100%;background:#fff}.ccp-svg-host svg{display:block;width:100%;height:100%;shape-rendering:geometricPrecision;text-rendering:geometricPrecision}.ccp-svg-host path,.ccp-svg-host rect,.ccp-svg-host circle,.ccp-svg-host ellipse,.ccp-svg-host polygon,.ccp-svg-host polyline{vector-effect:non-scaling-stroke}.ccp-raster-preview{display:none;max-width:none;background:#fff}.ccp-body-lock{overflow:hidden!important}
@media(max-width:980px){.ccp-grid{grid-template-columns:repeat(var(--ccp-tablet-cols),minmax(0,1fr))}.ccp-gallery-head{align-items:stretch;flex-direction:column}}
@media(max-width:720px){.ccp-grid{grid-template-columns:repeat(var(--ccp-mobile-cols),minmax(0,1fr));gap:16px}.ccp-editor{padding:0;background:#f8fafc}.ccp-editor-panel{width:100%;height:100dvh;border-radius:0;display:flex;flex-direction:column}.ccp-tools{order:1;border-right:0;border-bottom:1px solid #e5e7eb;max-height:40dvh;min-height:250px;overflow:auto;padding:12px;display:block}.ccp-tools>*{margin-bottom:12px}.ccp-tools-head{position:sticky;top:0;background:#fff;z-index:4;padding-bottom:8px}.ccp-stage-area{order:2;flex:1;min-height:0}.ccp-editor-top{height:54px;padding:0 10px}.ccp-close-main{display:inline-flex!important}.ccp-stage{padding:10px;align-items:flex-start;justify-content:flex-start}.ccp-artboard{border-radius:10px;min-width:280px;min-height:360px}.ccp-card-actions{grid-template-columns:1fr}.ccp-controls{width:100%}.ccp-search,.ccp-sort{width:100%;min-width:0}.ccp-download-row{grid-template-columns:repeat(2,1fr)}}

/* v5.3.0 advanced professional SVG editor refinements */
.ccp-wrap{--ccp-desktop-cols:4}
.ccp-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.ccp-gradient-title{font-size:13px;font-weight:900;color:#334155;margin-top:2px}.ccp-gradient-palette{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.ccp-gradient{height:34px;border-radius:10px;border:2px solid #fff;box-shadow:0 0 0 1px #dbe3ef;cursor:pointer}.ccp-gradient.active{box-shadow:0 0 0 3px var(--ccp-primary)}.ccp-line-controls{display:grid;gap:10px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:10px}.ccp-line-width{width:100%}.ccp-editor-panel{background:#f8fafc}.ccp-stage{touch-action:none;overscroll-behavior:contain}.ccp-artboard{will-change:transform;touch-action:none}.ccp-svg-host svg{shape-rendering:geometricPrecision}.ccp-tools{scrollbar-width:thin}.ccp-tool-row button:hover,.ccp-close:hover,.ccp-load-more:hover{filter:brightness(.96);transform:translateY(-1px)}
@media(max-width:1100px){.ccp-grid{grid-template-columns:repeat(var(--ccp-tablet-cols),minmax(0,1fr))!important}}
@media(max-width:720px){
  .ccp-editor.open{display:block!important;position:fixed!important;inset:0!important;padding:0!important;background:#0f172a!important;z-index:2147483000!important}
  .ccp-editor-panel{height:100dvh!important;width:100vw!important;border-radius:0!important;display:flex!important;flex-direction:column!important;background:#eef2f7!important;overflow:hidden!important}
  .ccp-tools{order:1!important;display:block!important;max-height:34dvh!important;min-height:0!important;overflow-y:auto!important;padding:10px!important;border:0!important;border-bottom:1px solid #dbe3ef!important;background:#fff!important;box-shadow:0 10px 24px rgba(15,23,42,.08)!important}
  .ccp-tools-head{position:sticky!important;top:0!important;background:#fff!important;z-index:5!important;padding:0 0 8px!important;margin-bottom:6px!important}.ccp-tools-head strong{font-size:16px!important}
  .ccp-tools label{font-size:12px!important;gap:5px!important}.ccp-color{height:34px!important}.ccp-palette{grid-template-columns:repeat(8,1fr)!important;gap:5px!important}.ccp-swatch{height:30px!important;border-radius:9px!important}.ccp-gradient-palette{grid-template-columns:repeat(4,1fr)!important;gap:6px!important}.ccp-gradient{height:28px!important}.ccp-line-controls{padding:8px!important;gap:7px!important}.ccp-vector-note{font-size:11px!important;padding:7px 8px!important;margin:0!important}.ccp-tool-row{gap:6px!important}.ccp-tool-row button{padding:9px 7px!important;font-size:12px!important;border-radius:10px!important}.ccp-download-row{grid-template-columns:repeat(4,1fr)!important}
  .ccp-stage-area{order:2!important;flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important}.ccp-editor-top{height:46px!important;min-height:46px!important;padding:0 8px!important}.ccp-editor-title{font-size:15px!important}.ccp-status{display:block!important;font-size:11px!important;margin-left:0!important}.ccp-close-main{padding:9px 12px!important;border-radius:12px!important;background:#f97316!important;color:#fff!important}.ccp-close-top{display:none!important}
  .ccp-stage{flex:1 1 auto!important;min-height:0!important;padding:4px!important;align-items:flex-start!important;justify-content:flex-start!important;background:linear-gradient(135deg,#e8eef7,#f8fafc)!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;touch-action:none!important}.ccp-artboard{min-width:0!important;min-height:0!important;border-radius:8px!important;box-shadow:0 12px 30px rgba(15,23,42,.18)!important}.ccp-svg-host,.ccp-raster-preview{background:#fff!important}.ccp-gallery-head{margin:16px 0!important}.ccp-grid{grid-template-columns:repeat(var(--ccp-mobile-cols),minmax(0,1fr))!important}
}

/* v5.4.0 advanced mobile workspace + crisp SVG UX */
.ccp-wrap{--ccp-desktop-cols:4!important}
.ccp-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}.ccp-svg-host svg,.ccp-svg-host svg *{cursor:default!important}.ccp-stage{cursor:grab}.ccp-stage:active{cursor:grabbing}.ccp-artboard{transform-origin:0 0!important}.ccp-tools-handle{display:none}
@media(max-width:1100px){.ccp-grid{grid-template-columns:repeat(var(--ccp-tablet-cols),minmax(0,1fr))!important}}
@media(max-width:720px){
  .ccp-editor.open{display:block!important;position:fixed!important;inset:0!important;background:#0f172a!important;z-index:2147483000!important;padding:0!important;overflow:hidden!important}
  .ccp-editor-panel{position:relative!important;width:100vw!important;height:100dvh!important;border-radius:0!important;display:block!important;background:#eaf0f8!important;overflow:hidden!important}
  .ccp-stage-area{position:absolute!important;inset:0!important;display:flex!important;flex-direction:column!important;min-height:0!important;background:#eaf0f8!important}
  .ccp-editor-top{height:48px!important;min-height:48px!important;padding:0 10px!important;background:#fff!important;box-shadow:0 4px 14px rgba(15,23,42,.08)!important;z-index:8!important}.ccp-editor-title{font-size:15px!important}.ccp-status{display:block!important;font-size:11px!important;margin-left:0!important}.ccp-close-main{display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#f97316!important;color:#fff!important;border-radius:12px!important;padding:9px 13px!important;font-weight:900!important}
  .ccp-stage{position:absolute!important;top:48px!important;left:0!important;right:0!important;bottom:52px!important;display:block!important;padding:6px!important;overflow:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;background:linear-gradient(135deg,#e8eef7,#f8fafc)!important;touch-action:none!important}
  .ccp-artboard{min-width:0!important;min-height:0!important;border-radius:8px!important;box-shadow:0 12px 30px rgba(15,23,42,.18)!important;background:#fff!important;margin:0!important;will-change:transform!important}.ccp-svg-host,.ccp-raster-preview{background:#fff!important}.ccp-raster-preview{display:block;max-width:none!important}
  .ccp-tools{position:absolute!important;left:0!important;right:0!important;bottom:0!important;top:auto!important;z-index:20!important;display:block!important;max-height:72dvh!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:8px 10px 14px!important;border:0!important;border-top:1px solid #dbe3ef!important;background:#fff!important;border-radius:22px 22px 0 0!important;box-shadow:0 -14px 38px rgba(15,23,42,.20)!important;transition:transform .24s ease!important;transform:translateY(calc(100% - 56px))!important;touch-action:pan-y!important}
  .ccp-editor.ccp-tools-open .ccp-tools{transform:translateY(0)!important}.ccp-tools-handle{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:22px!important;border:0!important;background:transparent!important;padding:0!important;margin:0 0 4px!important;touch-action:none!important}.ccp-tools-handle span{display:block!important;width:58px!important;height:5px!important;background:#cbd5e1!important;border-radius:99px!important}.ccp-tools-head{position:sticky!important;top:0!important;z-index:5!important;display:flex!important;align-items:center!important;justify-content:space-between!important;background:#fff!important;padding:0 0 8px!important;margin:0 0 8px!important}.ccp-tools-head strong{font-size:16px!important}.ccp-close-top{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;padding:0!important;border-radius:999px!important;background:#f97316!important;color:#fff!important;font-size:22px!important}
  .ccp-tools label{font-size:12px!important;gap:5px!important}.ccp-color{height:34px!important}.ccp-palette{grid-template-columns:repeat(8,1fr)!important;gap:5px!important}.ccp-swatch{height:30px!important;border-radius:9px!important}.ccp-gradient-palette{grid-template-columns:repeat(4,1fr)!important;gap:6px!important}.ccp-gradient{height:28px!important}.ccp-line-controls{padding:8px!important;gap:7px!important}.ccp-vector-note{font-size:11px!important;padding:7px 8px!important;margin:0!important}.ccp-tool-row{gap:6px!important}.ccp-tool-row button{padding:9px 7px!important;font-size:12px!important;border-radius:10px!important}.ccp-download-row{grid-template-columns:repeat(4,1fr)!important}.ccp-grid{grid-template-columns:repeat(var(--ccp-mobile-cols),minmax(0,1fr))!important}
}

/* v5.5.0 desktop wheel/space pan, pro controls, footer branding */
.ccp-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.ccp-stage{cursor:default!important}.ccp-stage.ccp-space-pan{cursor:grab!important}.ccp-stage.ccp-space-dragging{cursor:grabbing!important}.ccp-svg-host svg,.ccp-svg-host svg *{cursor:default!important}
.ccp-gradient-palette{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important}.ccp-gradient{height:36px!important;border-radius:12px!important;border:2px solid #fff!important;box-shadow:0 4px 12px rgba(15,23,42,.10),0 0 0 1px #dbe3ef!important}.ccp-gradient.active{box-shadow:0 0 0 3px var(--ccp-primary),0 8px 20px rgba(249,115,22,.24)!important}
.ccp-tool-row button,.ccp-download-row button,.ccp-close,.ccp-fit,.ccp-zoom-in,.ccp-zoom-out,.ccp-undo,.ccp-redo,.ccp-clear,.ccp-download-svg,.ccp-download-png,.ccp-download-pdf,.ccp-print{border:0!important;border-radius:14px!important;background:linear-gradient(180deg,#ffffff,#eef3ff)!important;color:#182033!important;font-weight:900!important;letter-spacing:.01em!important;box-shadow:0 8px 18px rgba(15,23,42,.10), inset 0 1px 0 rgba(255,255,255,.95)!important;transition:transform .16s ease, box-shadow .16s ease, filter .16s ease!important}
.ccp-tool-row button:hover,.ccp-download-row button:hover{transform:translateY(-1px)!important;box-shadow:0 12px 24px rgba(15,23,42,.16), inset 0 1px 0 rgba(255,255,255,.95)!important}.ccp-tool-row button:active,.ccp-download-row button:active{transform:translateY(0)!important;filter:brightness(.96)!important}.ccp-download-svg,.ccp-download-png,.ccp-download-pdf,.ccp-print{background:linear-gradient(135deg,#111827,#334155)!important;color:#fff!important}.ccp-undo,.ccp-redo,.ccp-clear{background:linear-gradient(180deg,#fff7ed,#ffedd5)!important;color:#7c2d12!important}.ccp-zoom-in,.ccp-zoom-out,.ccp-fit{background:linear-gradient(180deg,#eff6ff,#dbeafe)!important;color:#1e3a8a!important}.ccp-close,.ccp-close-main,.ccp-close-top{background:linear-gradient(135deg,#ff7a1a,#f97316)!important;color:#fff!important;box-shadow:0 10px 24px rgba(249,115,22,.30)!important}
.ccp-svg-host .ccp-faded-brand-text{opacity:.16!important;fill:#94a3b8!important;fill-opacity:.16!important}.ccp-art-footer{height:44px;display:flex;align-items:center;justify-content:center;background:#fff;color:#111827;font-weight:900;font-size:clamp(18px,2.2vw,28px);letter-spacing:.01em;line-height:1;border-top:1px solid rgba(15,23,42,.08);user-select:none}.ccp-svg-host{display:block}.ccp-raster-preview+.ccp-art-footer{display:flex}
@media(max-width:720px){.ccp-gradient-palette{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important}.ccp-gradient{height:28px!important;border-radius:8px!important}.ccp-tool-row button{border-radius:12px!important}.ccp-art-footer{height:34px;font-size:15px}.ccp-stage{bottom:50px!important}.ccp-tools{max-height:74dvh!important}}


/* v5.6.0 polish: sharper SVG preview, smarter buttons, attractive palette, mobile single column */
.ccp-wrap{
  --ccp-desktop-cols:4!important;
  --ccp-tablet-cols:2!important;
  --ccp-mobile-cols:1!important;
}
.ccp-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
@media(max-width:1100px){
  .ccp-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:720px){
  .ccp-grid{grid-template-columns:1fr!important;}
  .ccp-card{max-width:520px!important;margin-left:auto!important;margin-right:auto!important;width:100%!important;}
}

/* Keep SVG vector artwork sharp; avoid blurry raster-like stretching on desktop. */
.ccp-svg-host,
.ccp-svg-host svg,
.ccp-svg-host svg *{
  image-rendering:auto!important;
  shape-rendering:geometricPrecision!important;
  text-rendering:geometricPrecision!important;
}
.ccp-svg-host svg{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  filter:none!important;
  backface-visibility:hidden!important;
}
.ccp-artboard{
  image-rendering:auto!important;
  background:#fff!important;
}

/* Attractive color palette */
.ccp-palette{
  display:grid!important;
  grid-template-columns:repeat(8,minmax(0,1fr))!important;
  gap:8px!important;
  padding:10px!important;
  border:1px solid rgba(148,163,184,.28)!important;
  border-radius:16px!important;
  background:linear-gradient(180deg,#ffffff,#f8fafc)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 22px rgba(15,23,42,.05)!important;
}
.ccp-swatch{
  height:34px!important;
  border-radius:12px!important;
  border:2px solid #fff!important;
  box-shadow:0 5px 14px rgba(15,23,42,.10),0 0 0 1px rgba(148,163,184,.45)!important;
  transition:transform .14s ease, box-shadow .14s ease!important;
}
.ccp-swatch:hover{
  transform:translateY(-1px) scale(1.04)!important;
}
.ccp-swatch.active{
  box-shadow:0 0 0 3px #ff7a1a,0 10px 22px rgba(249,115,22,.25)!important;
  transform:scale(1.06)!important;
}
.ccp-color{
  height:42px!important;
  border-radius:14px!important;
  border:1px solid rgba(148,163,184,.55)!important;
  box-shadow:0 8px 18px rgba(15,23,42,.06)!important;
}

/* Modern action buttons inside editor */
.ccp-tool-row button,
.ccp-download-row button{
  border-radius:16px!important;
  min-height:40px!important;
  font-weight:900!important;
  letter-spacing:.01em!important;
  border:1px solid rgba(255,255,255,.86)!important;
  box-shadow:0 10px 24px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.9)!important;
}
.ccp-tool-row button:hover,
.ccp-download-row button:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 16px 32px rgba(15,23,42,.16), inset 0 1px 0 rgba(255,255,255,.95)!important;
}

/* Smaller smarter gallery CTA buttons */
.ccp-card-actions{
  display:flex!important;
  gap:8px!important;
  align-items:center!important;
}
.ccp-card-actions button{
  flex:1 1 0!important;
  min-height:36px!important;
  padding:8px 10px!important;
  border-radius:999px!important;
  font-size:12px!important;
  line-height:1!important;
  letter-spacing:.01em!important;
  box-shadow:0 8px 18px rgba(15,23,42,.10)!important;
}
.ccp-open{
  background:linear-gradient(135deg,#ff7a1a,#f97316)!important;
  color:#fff!important;
}
.ccp-pdf{
  background:linear-gradient(135deg,#111827,#334155)!important;
  color:#fff!important;
}
.ccp-card h3{
  font-size:16px!important;
  margin-bottom:10px!important;
}

/* Mobile gallery/card polish */
@media(max-width:720px){
  .ccp-gallery-head{display:block!important;}
  .ccp-controls{margin-top:12px!important;}
  .ccp-card-actions button{font-size:12px!important;min-height:38px!important;padding:9px 10px!important;}
  .ccp-thumb{aspect-ratio:3/4!important;}
  .ccp-palette{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:6px!important;padding:8px!important;}
  .ccp-swatch{height:30px!important;border-radius:10px!important;}
}

/* v5.7.0: move editor action buttons below artwork + stronger black SVG line rendering */
.ccp-stage-area{
  min-width:0!important;
  display:flex!important;
  flex-direction:column!important;
}
.ccp-stage{
  flex:1 1 auto!important;
  min-height:0!important;
}
.ccp-action-dock{
  flex:0 0 auto!important;
  display:grid!important;
  grid-template-columns:repeat(10,minmax(54px,1fr))!important;
  gap:10px!important;
  padding:12px 14px!important;
  background:rgba(255,255,255,.96)!important;
  border-top:1px solid rgba(15,23,42,.10)!important;
  box-shadow:0 -10px 28px rgba(15,23,42,.08)!important;
  z-index:12!important;
}
.ccp-action-dock button{
  min-height:44px!important;
  border:0!important;
  border-radius:16px!important;
  font-weight:900!important;
  font-size:14px!important;
  color:#172033!important;
  background:linear-gradient(180deg,#ffffff,#eef3ff)!important;
  box-shadow:0 10px 22px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.95)!important;
  cursor:pointer!important;
  transition:transform .14s ease,box-shadow .14s ease,filter .14s ease!important;
}
.ccp-action-dock button:hover{
  transform:translateY(-1px)!important;
  box-shadow:0 14px 28px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.95)!important;
}
.ccp-action-dock .ccp-download-svg,
.ccp-action-dock .ccp-download-png,
.ccp-action-dock .ccp-download-pdf,
.ccp-action-dock .ccp-print{
  background:linear-gradient(135deg,#111827,#334155)!important;
  color:#fff!important;
}
.ccp-action-dock .ccp-zoom-out,
.ccp-action-dock .ccp-fit,
.ccp-action-dock .ccp-zoom-in{
  background:linear-gradient(180deg,#eff6ff,#dbeafe)!important;
  color:#1e3a8a!important;
}
.ccp-action-dock .ccp-undo,
.ccp-action-dock .ccp-redo,
.ccp-action-dock .ccp-clear{
  background:linear-gradient(180deg,#fff7ed,#ffedd5)!important;
  color:#7c2d12!important;
}
/* Keep original SVG vector lines crisp and black unless user changes line control. */
.ccp-svg-host svg{
  overflow:visible!important;
  shape-rendering:geometricPrecision!important;
  text-rendering:geometricPrecision!important;
  transform:translateZ(0)!important;
}
.ccp-svg-host svg path,
.ccp-svg-host svg rect,
.ccp-svg-host svg circle,
.ccp-svg-host svg ellipse,
.ccp-svg-host svg polygon,
.ccp-svg-host svg polyline,
.ccp-svg-host svg line{
  vector-effect:non-scaling-stroke!important;
}
.ccp-line-color{width:56px!important;height:32px!important;padding:2px!important;border-radius:10px!important;background:#fff!important;}
@media(max-width:1100px){
  .ccp-action-dock{grid-template-columns:repeat(5,minmax(52px,1fr))!important;gap:8px!important;padding:10px!important;}
  .ccp-action-dock button{min-height:42px!important;font-size:13px!important;border-radius:14px!important;}
}
@media(max-width:720px){
  .ccp-tools .ccp-tool-row,.ccp-tools .ccp-download-row{display:none!important;}
  .ccp-stage{bottom:96px!important;}
  .ccp-action-dock{
    position:absolute!important;
    left:0!important;right:0!important;bottom:0!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:6px!important;
    padding:7px!important;
    background:rgba(255,255,255,.98)!important;
  }
  .ccp-action-dock button{min-height:38px!important;font-size:12px!important;border-radius:12px!important;padding:7px 5px!important;}
}

/* v5.8.0: crisp vector display + action dock visibility fixes */
.ccp-svg-host svg,
.ccp-svg-host svg *{
  shape-rendering:auto !important;
  text-rendering:geometricPrecision !important;
  image-rendering:auto !important;
  transform:none !important;
  filter:none !important;
}
.ccp-svg-host svg path,
.ccp-svg-host svg rect,
.ccp-svg-host svg circle,
.ccp-svg-host svg ellipse,
.ccp-svg-host svg polygon,
.ccp-svg-host svg polyline,
.ccp-svg-host svg line{
  vector-effect:none !important;
}
.ccp-artboard{transform:none!important;will-change:auto!important;background:#fff!important;overflow:hidden!important;}
.ccp-stage-area{position:relative!important;display:flex!important;flex-direction:column!important;min-height:0!important;}
.ccp-stage{flex:1 1 auto!important;position:relative!important;bottom:auto!important;min-height:0!important;}
.ccp-action-dock{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;flex:0 0 auto!important;display:grid!important;grid-template-columns:repeat(10,minmax(54px,1fr))!important;gap:10px!important;padding:12px 14px!important;background:rgba(255,255,255,.98)!important;border-top:1px solid rgba(15,23,42,.10)!important;box-shadow:0 -10px 28px rgba(15,23,42,.08)!important;z-index:30!important;overflow:visible!important;}
.ccp-action-dock button{white-space:nowrap!important;min-height:44px!important;line-height:1.1!important;}
.ccp-line-color{width:64px!important;height:34px!important;}
@media(max-width:720px){
  .ccp-editor-panel{display:flex!important;flex-direction:column!important;overflow:hidden!important;}
  .ccp-stage-area{position:relative!important;inset:auto!important;flex:1 1 auto!important;min-height:0!important;display:flex!important;flex-direction:column!important;}
  .ccp-editor-top{flex:0 0 46px!important;}
  .ccp-stage{position:relative!important;top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;flex:1 1 auto!important;min-height:0!important;padding:5px!important;overflow:auto!important;}
  .ccp-action-dock{position:relative!important;left:auto!important;right:auto!important;bottom:auto!important;flex:0 0 auto!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-auto-rows:38px!important;gap:6px!important;padding:7px 7px calc(8px + env(safe-area-inset-bottom,0px))!important;background:rgba(255,255,255,.99)!important;box-shadow:0 -8px 22px rgba(15,23,42,.12)!important;}
  .ccp-action-dock button{display:flex!important;align-items:center!important;justify-content:center!important;min-height:38px!important;height:38px!important;font-size:12px!important;border-radius:12px!important;padding:6px 4px!important;}
  .ccp-tools{max-height:32dvh!important;min-height:0!important;}
}


/* v5.9.0: Mobile colors drawer + full action dock + view-safe workspace */
@media(max-width:720px){
  .ccp-editor.open .ccp-editor-panel{
    position:relative!important;
    height:100dvh!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    background:#f8fafc!important;
  }
  .ccp-editor.open .ccp-stage-area{
    order:1!important;
    flex:1 1 auto!important;
    min-height:0!important;
    position:relative!important;
    display:flex!important;
    flex-direction:column!important;
  }
  .ccp-editor.open .ccp-editor-top{
    flex:0 0 46px!important;
    min-height:46px!important;
  }
  .ccp-editor.open .ccp-stage{
    flex:1 1 auto!important;
    min-height:0!important;
    padding:5px!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
    background:#edf2f7!important;
  }
  .ccp-editor.open .ccp-action-dock{
    flex:0 0 auto!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-rows:40px!important;
    gap:6px!important;
    padding:7px 7px calc(9px + env(safe-area-inset-bottom,0px))!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 -10px 22px rgba(15,23,42,.14)!important;
    z-index:50!important;
    position:relative!important;
  }
  .ccp-editor.open .ccp-action-dock button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:40px!important;
    min-height:40px!important;
    padding:6px 4px!important;
    font-size:12px!important;
    border-radius:12px!important;
    white-space:nowrap!important;
  }
  /* tools as draggable bottom drawer */
  .ccp-editor.open .ccp-tools{
    order:3!important;
    position:absolute!important;
    left:8px!important;
    right:8px!important;
    bottom:calc(93px + env(safe-area-inset-bottom,0px))!important;
    height:min(68dvh,560px)!important;
    min-height:0!important;
    max-height:none!important;
    display:block!important;
    overflow:auto!important;
    padding:42px 12px 12px!important;
    border:1px solid rgba(15,23,42,.12)!important;
    border-radius:22px 22px 16px 16px!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 -18px 44px rgba(15,23,42,.24)!important;
    z-index:80!important;
    transform:translateY(calc(100% - 42px))!important;
    transition:transform .22s ease!important;
    pointer-events:auto!important;
  }
  .ccp-editor.open.ccp-tools-open .ccp-tools{
    transform:translateY(0)!important;
  }
  .ccp-editor.open .ccp-tools-handle{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:absolute!important;
    top:0!important;
    left:0!important;
    right:0!important;
    height:42px!important;
    width:100%!important;
    border:0!important;
    border-radius:22px 22px 0 0!important;
    background:linear-gradient(180deg,#ffffff,#f1f5f9)!important;
    cursor:grab!important;
    touch-action:none!important;
    z-index:2!important;
  }
  .ccp-editor.open .ccp-tools-handle span{
    display:block!important;
    width:54px!important;
    height:5px!important;
    border-radius:99px!important;
    background:#94a3b8!important;
    box-shadow:0 1px 0 rgba(255,255,255,.8)!important;
  }
  .ccp-editor.open .ccp-tools-head{
    position:sticky!important;
    top:-1px!important;
    z-index:3!important;
    background:rgba(255,255,255,.98)!important;
    padding:2px 0 10px!important;
  }
  .ccp-editor.open .ccp-palette{
    display:grid!important;
    grid-template-columns:repeat(8,minmax(0,1fr))!important;
    gap:7px!important;
  }
  .ccp-editor.open .ccp-swatch,
  .ccp-editor.open .ccp-gradient{
    min-height:30px!important;
  }
  .ccp-editor.open .ccp-gradient-palette{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:8px!important;
  }
}


/* v6.0.0: Action dock always visible; colors/tools drawer stays hidden until dragged up. */
@media(max-width:720px){
  .ccp-editor.open .ccp-stage-area{
    padding-bottom:0!important;
  }
  .ccp-editor.open .ccp-action-dock{
    position:relative!important;
    z-index:160!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-rows:40px!important;
    gap:6px!important;
    padding:7px 7px calc(9px + env(safe-area-inset-bottom,0px))!important;
    background:rgba(255,255,255,.99)!important;
    box-shadow:0 -12px 26px rgba(15,23,42,.16)!important;
  }
  .ccp-editor.open .ccp-action-dock button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:40px!important;
    min-height:40px!important;
    white-space:nowrap!important;
  }
  .ccp-editor.open .ccp-tools{
    bottom:calc(92px + env(safe-area-inset-bottom,0px))!important;
    height:min(72dvh,590px)!important;
    z-index:150!important;
    transform:translateY(calc(100% - 18px))!important;
    padding:42px 12px 12px!important;
  }
  .ccp-editor.open.ccp-tools-open .ccp-tools{
    transform:translateY(0)!important;
  }
  .ccp-editor.open .ccp-tools-handle{
    height:30px!important;
    top:0!important;
    background:linear-gradient(180deg,#ffffff,#f8fafc)!important;
  }
  .ccp-editor.open .ccp-tools-handle span{
    width:64px!important;
    height:5px!important;
    background:#94a3b8!important;
  }
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools-head,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools label,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-palette,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-gradient-title,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-gradient-palette,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-line-controls,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-vector-note{
    visibility:hidden!important;
    pointer-events:none!important;
  }
}


/* v6.1.0: Mobile drawer handle exposed above action dock + desktop horizontal space-drag fix */
.ccp-editor.open .ccp-stage{
  justify-content:flex-start!important;
  align-items:flex-start!important;
}
.ccp-editor.open .ccp-artboard{
  flex:0 0 auto!important;
}
@media (min-width:721px){
  .ccp-editor.open .ccp-stage{
    overflow:auto!important;
    cursor:default!important;
  }
  .ccp-editor.open .ccp-stage.ccp-space-pan{
    cursor:grab!important;
  }
  .ccp-editor.open .ccp-stage.ccp-space-dragging{
    cursor:grabbing!important;
  }
  .ccp-editor.open .ccp-artboard{
    margin:18px!important;
  }
}
@media(max-width:720px){
  .ccp-editor.open .ccp-stage{
    bottom:104px!important;
    padding-bottom:12px!important;
  }
  .ccp-editor.open .ccp-action-dock{
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:170!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-rows:40px!important;
    gap:6px!important;
    padding:7px 7px calc(9px + env(safe-area-inset-bottom,0px))!important;
    background:rgba(255,255,255,.99)!important;
    box-shadow:0 -12px 26px rgba(15,23,42,.16)!important;
    border-top:1px solid rgba(148,163,184,.28)!important;
  }
  .ccp-editor.open .ccp-tools{
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:calc(96px + env(safe-area-inset-bottom,0px))!important;
    height:min(76dvh,620px)!important;
    z-index:180!important;
    transform:translateY(calc(100% - 62px))!important;
    padding:46px 12px 12px!important;
    border-radius:24px 24px 0 0!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 -18px 42px rgba(15,23,42,.22)!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    touch-action:pan-y!important;
  }
  .ccp-editor.open.ccp-tools-open .ccp-tools{
    transform:translateY(0)!important;
  }
  .ccp-editor.open .ccp-tools-handle{
    display:flex!important;
    position:absolute!important;
    top:0!important;
    left:0!important;
    right:0!important;
    height:54px!important;
    align-items:flex-start!important;
    justify-content:center!important;
    padding-top:12px!important;
    margin:0!important;
    border:0!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
    border-radius:24px 24px 0 0!important;
    z-index:10!important;
    cursor:grab!important;
    touch-action:none!important;
    pointer-events:auto!important;
  }
  .ccp-editor.open .ccp-tools-handle:active{
    cursor:grabbing!important;
  }
  .ccp-editor.open .ccp-tools-handle span{
    width:76px!important;
    height:6px!important;
    border-radius:999px!important;
    background:#94a3b8!important;
    box-shadow:0 1px 0 rgba(255,255,255,.9),0 0 0 1px rgba(148,163,184,.16)!important;
  }
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools::after{
    content:"Colors & Tools";
    position:absolute;
    top:25px;
    left:0;
    right:0;
    text-align:center;
    font-weight:900;
    font-size:12px;
    color:#334155;
    pointer-events:none;
  }
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools-head,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools label,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-palette,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-gradient-title,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-gradient-palette,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-line-controls,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-vector-note{
    visibility:hidden!important;
    pointer-events:none!important;
  }
}


/* v6.1.1: Mobile bottom dock fix — action buttons stay visible; colors drawer no longer covers the dock when collapsed. */
@media (max-width:720px){
  .ccp-editor.open .ccp-editor-panel{
    height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
    position:relative!important;
  }
  .ccp-editor.open .ccp-stage-area{
    position:relative!important;
    flex:1 1 auto!important;
    min-height:0!important;
    display:flex!important;
    flex-direction:column!important;
    overflow:hidden!important;
    padding-bottom:0!important;
  }
  .ccp-editor.open .ccp-editor-top{
    flex:0 0 46px!important;
    min-height:46px!important;
    position:relative!important;
    z-index:210!important;
  }
  .ccp-editor.open .ccp-stage{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    bottom:auto!important;
    left:auto!important;
    flex:1 1 auto!important;
    min-height:0!important;
    height:auto!important;
    padding:5px 5px calc(180px + env(safe-area-inset-bottom,0px))!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
    background:#edf2f7!important;
    z-index:1!important;
  }
  .ccp-editor.open .ccp-action-dock{
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:0!important;
    z-index:300!important;
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    grid-auto-rows:40px!important;
    gap:6px!important;
    padding:7px 7px calc(9px + env(safe-area-inset-bottom,0px))!important;
    background:rgba(255,255,255,.99)!important;
    border-top:1px solid rgba(148,163,184,.28)!important;
    box-shadow:0 -12px 26px rgba(15,23,42,.18)!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transform:none!important;
  }
  .ccp-editor.open .ccp-action-dock button{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    height:40px!important;
    min-height:40px!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    font-weight:900!important;
    white-space:nowrap!important;
  }
  .ccp-editor.open .ccp-tools{
    position:absolute!important;
    left:0!important;
    right:0!important;
    bottom:calc(112px + env(safe-area-inset-bottom,0px))!important;
    height:min(76dvh,620px)!important;
    max-height:none!important;
    min-height:0!important;
    z-index:260!important;
    display:block!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    padding:46px 12px 12px!important;
    border-radius:24px 24px 0 0!important;
    background:rgba(255,255,255,.98)!important;
    box-shadow:0 -18px 42px rgba(15,23,42,.22)!important;
    transform:translateY(100%)!important;
    transition:transform .22s ease!important;
    pointer-events:auto!important;
    touch-action:pan-y!important;
  }
  .ccp-editor.open.ccp-tools-open .ccp-tools{
    transform:translateY(0)!important;
    z-index:320!important;
  }
  .ccp-editor.open .ccp-tools-handle{
    display:flex!important;
    position:absolute!important;
    top:0!important;
    left:0!important;
    right:0!important;
    height:54px!important;
    align-items:flex-start!important;
    justify-content:center!important;
    padding-top:12px!important;
    margin:0!important;
    border:0!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
    border-radius:24px 24px 0 0!important;
    z-index:330!important;
    cursor:grab!important;
    touch-action:none!important;
    pointer-events:auto!important;
  }
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools{
    box-shadow:0 -8px 18px rgba(15,23,42,.12)!important;
  }
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools::after{
    content:""!important;
  }
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools-head,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools label,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-palette,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-gradient-title,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-gradient-palette,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-line-controls,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-vector-note{
    visibility:hidden!important;
    pointer-events:none!important;
  }
}

/* v6.1.2: Bigger mobile Colors & Tools grab bar + polished zoom controls */
@media (max-width:720px){
  .ccp-editor.open .ccp-tools{
    bottom:calc(112px + env(safe-area-inset-bottom,0px))!important;
    height:min(76dvh,620px)!important;
    transform:translateY(calc(100% - 88px))!important;
    padding:58px 12px 12px!important;
    border-radius:26px 26px 0 0!important;
    box-shadow:0 -14px 34px rgba(15,23,42,.18)!important;
  }
  .ccp-editor.open.ccp-tools-open .ccp-tools{
    transform:translateY(0)!important;
    box-shadow:0 -22px 52px rgba(15,23,42,.24)!important;
  }
  .ccp-editor.open .ccp-tools-handle{
    height:88px!important;
    padding-top:13px!important;
    align-items:flex-start!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 62%,#eef2f7 100%)!important;
    border-radius:26px 26px 0 0!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.95)!important;
    touch-action:none!important;
    pointer-events:auto!important;
  }
  .ccp-editor.open .ccp-tools-handle span{
    width:82px!important;
    height:6px!important;
    background:#94a3b8!important;
    border-radius:999px!important;
    box-shadow:0 1px 0 rgba(255,255,255,.9),0 0 0 1px rgba(148,163,184,.18)!important;
  }
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools::after{
    content:"Colors & Tools"!important;
    position:absolute!important;
    top:34px!important;
    left:0!important;
    right:0!important;
    text-align:center!important;
    font-size:14px!important;
    line-height:1.1!important;
    font-weight:900!important;
    color:#1e293b!important;
    letter-spacing:.01em!important;
    pointer-events:none!important;
  }
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools::before{
    content:"Swipe up"!important;
    position:absolute!important;
    top:55px!important;
    left:0!important;
    right:0!important;
    text-align:center!important;
    font-size:11px!important;
    font-weight:800!important;
    color:#64748b!important;
    pointer-events:none!important;
  }
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools-head,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools label,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-palette,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-gradient-title,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-gradient-palette,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-line-controls,
  .ccp-editor.open:not(.ccp-tools-open) .ccp-vector-note{
    visibility:hidden!important;
    pointer-events:none!important;
  }
  .ccp-editor.open .ccp-stage{
    padding-bottom:calc(205px + env(safe-area-inset-bottom,0px))!important;
  }
  .ccp-editor.open .ccp-action-dock .ccp-zoom-out,
  .ccp-editor.open .ccp-action-dock .ccp-fit,
  .ccp-editor.open .ccp-action-dock .ccp-zoom-in{
    background:linear-gradient(135deg,#2563eb 0%,#38bdf8 100%)!important;
    color:#ffffff!important;
    border:1px solid rgba(255,255,255,.55)!important;
    box-shadow:0 10px 22px rgba(37,99,235,.28), inset 0 1px 0 rgba(255,255,255,.35)!important;
    text-shadow:0 1px 0 rgba(15,23,42,.18)!important;
    font-weight:950!important;
  }
  .ccp-editor.open .ccp-action-dock .ccp-fit{
    background:linear-gradient(135deg,#0f172a 0%,#2563eb 100%)!important;
  }
  .ccp-editor.open .ccp-action-dock .ccp-zoom-out:active,
  .ccp-editor.open .ccp-action-dock .ccp-fit:active,
  .ccp-editor.open .ccp-action-dock .ccp-zoom-in:active{
    transform:translateY(1px) scale(.98)!important;
    filter:brightness(.98)!important;
  }
}


/* v6.1.5: Premium UI refresh - no user SVG upload feature */
.ccp-wrap{
  --ccp-soft:#f8fafc;
  --ccp-line:#e2e8f0;
  --ccp-glow:rgba(37,99,235,.16);
}
.ccp-gallery-head{
  position:relative!important;
  overflow:hidden!important;
  padding:22px!important;
  margin-bottom:24px!important;
  border:1px solid rgba(226,232,240,.92)!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 12% 12%,rgba(255,122,26,.16),transparent 32%),
    radial-gradient(circle at 88% 5%,rgba(37,99,235,.16),transparent 30%),
    linear-gradient(135deg,#ffffff 0%,#f8fafc 58%,#eef6ff 100%)!important;
  box-shadow:0 18px 48px rgba(15,23,42,.10)!important;
}
.ccp-gallery-head::after{
  content:""!important;
  position:absolute!important;
  right:-72px!important;
  bottom:-72px!important;
  width:190px!important;
  height:190px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,rgba(255,122,26,.12),rgba(37,99,235,.08))!important;
  pointer-events:none!important;
}
.ccp-title{
  margin:0 0 6px!important;
  font-size:clamp(26px,3vw,42px)!important;
  line-height:1.05!important;
  font-weight:950!important;
  letter-spacing:-.04em!important;
  color:#0f172a!important;
}
.ccp-subtitle{
  margin:0!important;
  max-width:620px!important;
  color:#526173!important;
  font-weight:650!important;
}
.ccp-search,.ccp-sort{
  min-height:46px!important;
  border-radius:999px!important;
  border:1px solid rgba(203,213,225,.95)!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 10px 26px rgba(15,23,42,.07)!important;
  color:#0f172a!important;
  font-weight:750!important;
  outline:none!important;
}
.ccp-search:focus,.ccp-sort:focus{
  border-color:rgba(37,99,235,.62)!important;
  box-shadow:0 0 0 4px rgba(37,99,235,.12),0 14px 30px rgba(15,23,42,.08)!important;
}
.ccp-card{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid rgba(226,232,240,.95)!important;
  background:linear-gradient(180deg,#ffffff 0%,#fbfdff 100%)!important;
  box-shadow:0 18px 46px rgba(15,23,42,.10)!important;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease!important;
}
.ccp-card:hover{
  transform:translateY(-6px)!important;
  border-color:rgba(37,99,235,.32)!important;
  box-shadow:0 26px 68px rgba(15,23,42,.16)!important;
}
.ccp-card::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  background:linear-gradient(135deg,rgba(255,122,26,.08),rgba(37,99,235,.06),transparent 45%)!important;
  opacity:0!important;
  transition:opacity .22s ease!important;
  pointer-events:none!important;
}
.ccp-card:hover::before{opacity:1!important;}
.ccp-thumb{
  background:linear-gradient(135deg,#eef2ff,#f8fafc)!important;
}
.ccp-thumb img{
  transition:transform .28s ease,filter .28s ease!important;
}
.ccp-card:hover .ccp-thumb img{
  transform:scale(1.035)!important;
  filter:contrast(1.02)!important;
}
.ccp-card-body h3{
  font-size:16px!important;
  letter-spacing:-.01em!important;
  color:#0f172a!important;
}
.ccp-fav{
  width:42px!important;
  height:42px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.94)!important;
  color:#f97316!important;
  border:1px solid rgba(251,146,60,.32)!important;
  box-shadow:0 12px 28px rgba(15,23,42,.16)!important;
  backdrop-filter:blur(10px)!important;
}
.ccp-fav.active,.ccp-fav:hover{
  background:linear-gradient(135deg,#ff7a1a,#f43f5e)!important;
  color:#ffffff!important;
}
.ccp-open,.ccp-pdf,.ccp-load-more,.ccp-action-dock button,.ccp-close{
  border:0!important;
  transition:transform .18s ease,box-shadow .18s ease,filter .18s ease!important;
}
.ccp-open{
  background:linear-gradient(135deg,var(--ccp-primary) 0%,#ff9f43 100%)!important;
  color:#ffffff!important;
  box-shadow:0 12px 24px rgba(249,115,22,.25)!important;
}
.ccp-pdf{
  background:linear-gradient(135deg,#101827 0%,#1f2937 56%,#334155 100%)!important;
  color:#ffffff!important;
  box-shadow:0 12px 24px rgba(15,23,42,.22)!important;
}
.ccp-open:hover,.ccp-pdf:hover,.ccp-load-more:hover,.ccp-action-dock button:hover,.ccp-close:hover{
  transform:translateY(-2px)!important;
  filter:saturate(1.08) brightness(1.01)!important;
}
.ccp-load-more{
  display:block!important;
  margin:28px auto 0!important;
  min-width:190px!important;
  min-height:50px!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,#2563eb 0%,#06b6d4 100%)!important;
  color:#ffffff!important;
  font-weight:950!important;
  box-shadow:0 16px 34px rgba(37,99,235,.24)!important;
}
.ccp-editor.open{
  background:rgba(15,23,42,.82)!important;
  backdrop-filter:blur(8px)!important;
}
.ccp-editor-panel{
  border:1px solid rgba(255,255,255,.28)!important;
  box-shadow:0 38px 110px rgba(2,6,23,.46)!important;
}
.ccp-tools{
  background:
    radial-gradient(circle at top left,rgba(255,122,26,.10),transparent 26%),
    linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  border-right:1px solid rgba(226,232,240,.95)!important;
}
.ccp-tools-head{
  padding:10px 10px 12px!important;
  border-radius:18px!important;
  background:linear-gradient(135deg,#f8fafc,#eef6ff)!important;
  border:1px solid rgba(226,232,240,.9)!important;
  box-shadow:0 8px 18px rgba(15,23,42,.06)!important;
}
.ccp-tools-head strong{
  font-size:18px!important;
  font-weight:950!important;
  color:#0f172a!important;
  letter-spacing:-.02em!important;
}
.ccp-tools label,.ccp-gradient-title{
  color:#243244!important;
  font-weight:900!important;
}
.ccp-color{
  height:42px!important;
  border-radius:14px!important;
  border:1px solid rgba(148,163,184,.42)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 8px 16px rgba(15,23,42,.05)!important;
}
.ccp-palette,.ccp-gradient-palette{
  padding:10px!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.72)!important;
  border:1px solid rgba(226,232,240,.92)!important;
  box-shadow:0 12px 30px rgba(15,23,42,.07)!important;
}
.ccp-swatch,.ccp-gradient{
  border-radius:13px!important;
  border:2px solid #ffffff!important;
  box-shadow:0 0 0 1px rgba(148,163,184,.40),0 8px 18px rgba(15,23,42,.08)!important;
  transition:transform .16s ease,box-shadow .16s ease!important;
}
.ccp-swatch:hover,.ccp-gradient:hover{
  transform:translateY(-2px) scale(1.04)!important;
}
.ccp-swatch.active,.ccp-gradient.active{
  box-shadow:0 0 0 3px #ffffff,0 0 0 6px var(--ccp-primary),0 12px 24px rgba(249,115,22,.22)!important;
}
.ccp-line-controls,.ccp-vector-note{
  border-radius:18px!important;
  box-shadow:0 12px 26px rgba(15,23,42,.06)!important;
}
.ccp-line-controls{
  background:linear-gradient(180deg,#ffffff,#f8fafc)!important;
  border:1px solid rgba(226,232,240,.95)!important;
  padding:14px!important;
}
.ccp-vector-note{
  background:linear-gradient(135deg,#ecfeff,#eff6ff)!important;
  border:1px solid rgba(34,211,238,.35)!important;
  color:#155e75!important;
}
.ccp-close{
  background:linear-gradient(135deg,#ff7a1a 0%,#fb923c 58%,#f97316 100%)!important;
  color:#fff!important;
  box-shadow:0 14px 30px rgba(249,115,22,.32)!important;
}
.ccp-editor-top{
  background:rgba(255,255,255,.96)!important;
  border-bottom:1px solid rgba(226,232,240,.92)!important;
  box-shadow:0 8px 24px rgba(15,23,42,.06)!important;
}
.ccp-editor-title{
  font-weight:950!important;
  letter-spacing:-.02em!important;
}
.ccp-status{
  display:block!important;
  margin-left:0!important;
  margin-top:2px!important;
  color:#64748b!important;
  font-weight:650!important;
}
.ccp-stage{
  background:
    radial-gradient(circle at 14% 18%,rgba(37,99,235,.10),transparent 30%),
    radial-gradient(circle at 84% 8%,rgba(255,122,26,.09),transparent 24%),
    linear-gradient(135deg,#eaf1fb 0%,#f8fafc 100%)!important;
}
.ccp-artboard{
  border:1px solid rgba(226,232,240,.88)!important;
  box-shadow:0 26px 70px rgba(15,23,42,.18)!important;
}
.ccp-action-dock{
  background:rgba(255,255,255,.92)!important;
  border-top:1px solid rgba(226,232,240,.92)!important;
  box-shadow:0 -18px 48px rgba(15,23,42,.13)!important;
  backdrop-filter:blur(14px)!important;
}
.ccp-action-dock button{
  min-height:44px!important;
  border-radius:16px!important;
  font-weight:950!important;
  letter-spacing:.01em!important;
  box-shadow:0 10px 22px rgba(15,23,42,.10),inset 0 1px 0 rgba(255,255,255,.38)!important;
}
.ccp-action-dock .ccp-undo,.ccp-action-dock .ccp-redo,.ccp-action-dock .ccp-clear{
  background:linear-gradient(135deg,#fff7ed,#ffedd5)!important;
  color:#7c2d12!important;
}
.ccp-action-dock .ccp-zoom-out,.ccp-action-dock .ccp-fit,.ccp-action-dock .ccp-zoom-in{
  background:linear-gradient(135deg,#2563eb 0%,#38bdf8 100%)!important;
  color:#ffffff!important;
  box-shadow:0 12px 26px rgba(37,99,235,.25),inset 0 1px 0 rgba(255,255,255,.38)!important;
}
.ccp-action-dock .ccp-fit{
  background:linear-gradient(135deg,#0f172a 0%,#2563eb 100%)!important;
}
.ccp-action-dock .ccp-download-svg,.ccp-action-dock .ccp-download-png,.ccp-action-dock .ccp-download-pdf,.ccp-action-dock .ccp-print{
  background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%)!important;
  color:#ffffff!important;
}
@media (max-width:720px){
  .ccp-gallery-head{
    padding:18px!important;
    border-radius:22px!important;
  }
  .ccp-title{font-size:28px!important;}
  .ccp-controls{gap:10px!important;}
  .ccp-card{
    border-radius:22px!important;
    box-shadow:0 16px 38px rgba(15,23,42,.11)!important;
  }
  .ccp-editor.open .ccp-action-dock{
    padding:10px 8px calc(12px + env(safe-area-inset-bottom,0px))!important;
    gap:8px!important;
    background:rgba(255,255,255,.96)!important;
    border-radius:22px 22px 0 0!important;
    box-shadow:0 -18px 42px rgba(15,23,42,.16)!important;
  }
  .ccp-editor.open .ccp-action-dock button{
    min-height:42px!important;
    border-radius:14px!important;
    font-size:12px!important;
  }
  .ccp-editor.open .ccp-tools{
    bottom:calc(118px + env(safe-area-inset-bottom,0px))!important;
    transform:translateY(calc(100% - 96px))!important;
    padding-top:64px!important;
    border-radius:28px 28px 0 0!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  }
  .ccp-editor.open.ccp-tools-open .ccp-tools{transform:translateY(0)!important;}
  .ccp-editor.open .ccp-tools-handle{
    height:96px!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 60%,#edf4ff 100%)!important;
  }
  .ccp-editor.open .ccp-tools-handle span{
    width:92px!important;
    height:7px!important;
    background:linear-gradient(90deg,#94a3b8,#64748b,#94a3b8)!important;
  }
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools::after{
    content:"Colors & Tools"!important;
    top:37px!important;
    color:#0f172a!important;
    font-size:15px!important;
    font-weight:950!important;
  }
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools::before{
    content:"Swipe up to open"!important;
    top:61px!important;
    color:#64748b!important;
  }
  .ccp-editor.open .ccp-stage{
    padding-bottom:calc(218px + env(safe-area-inset-bottom,0px))!important;
  }
  .ccp-close-main{
    border-radius:16px!important;
    padding:10px 15px!important;
  }
}


/* v6.1.7: undoable clear action + premium button polish */
.ccp-stage{touch-action:none!important;overscroll-behavior:contain!important;}
.ccp-svg-host .ccp-fillable{transition:filter .12s ease, opacity .12s ease!important;}
.ccp-svg-host .ccp-fillable:hover{filter:drop-shadow(0 0 2px rgba(249,115,22,.45))!important;}
.ccp-status{display:inline-flex!important;align-items:center!important;margin-top:4px!important;padding:3px 9px!important;border-radius:999px!important;background:#f1f5f9!important;color:#475569!important;font-size:12px!important;font-weight:800!important;}
.ccp-action-dock .ccp-zoom-out,.ccp-action-dock .ccp-fit,.ccp-action-dock .ccp-zoom-in{background:linear-gradient(135deg,#2563eb,#60a5fa)!important;color:#fff!important;text-shadow:0 1px 0 rgba(15,23,42,.18)!important;}
.ccp-action-dock .ccp-fit{background:linear-gradient(135deg,#0f766e,#14b8a6)!important;}
.ccp-action-dock .ccp-clear{background:linear-gradient(135deg,#f97316,#fb923c)!important;color:#fff!important;}
.ccp-action-dock button:focus-visible,.ccp-close:focus-visible,.ccp-tools-handle:focus-visible{outline:3px solid rgba(37,99,235,.35)!important;outline-offset:2px!important;}
@media(max-width:720px){.ccp-status{font-size:11px!important;padding:2px 7px!important}.ccp-svg-host .ccp-fillable:hover{filter:none!important}}


/* v6.1.8: lightweight Recently Used Colors + simple Day/Night mode */
.ccp-recent-title{font-size:13px;font-weight:950;color:#334155;margin-top:2px}
.ccp-recent-colors{min-height:38px;display:grid;grid-template-columns:repeat(8,1fr);gap:7px;background:rgba(248,250,252,.82);border:1px solid rgba(226,232,240,.95);border-radius:14px;padding:8px}
.ccp-recent-swatch{height:28px;border-radius:9px;border:2px solid #fff;box-shadow:0 0 0 1px #cbd5e1;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease}
.ccp-recent-swatch:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.14),0 0 0 2px var(--ccp-primary)}
.ccp-recent-empty{grid-column:1/-1;display:flex;align-items:center;justify-content:center;color:#64748b;font-size:12px;font-weight:800;min-height:28px}
.ccp-recent-gradient-title{font-size:13px;font-weight:950;color:#334155;margin-top:12px}
.ccp-recent-gradients{min-height:38px;display:grid;grid-template-columns:repeat(6,1fr);gap:8px;background:rgba(248,250,252,.82);border:1px solid rgba(226,232,240,.95);border-radius:14px;padding:8px}
.ccp-recent-gradient{height:30px;border-radius:10px;border:2px solid #fff;box-shadow:0 0 0 1px #cbd5e1;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease}
.ccp-recent-gradient:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(15,23,42,.14),0 0 0 2px var(--ccp-primary)}
.ccp-recent-gradient.active{box-shadow:0 0 0 3px rgba(249,115,22,.28),0 0 0 1px #fb923c inset}
.ccp-top-actions{display:flex;align-items:center;gap:8px}
.ccp-theme-toggle{background:linear-gradient(135deg,#0f172a,#334155)!important;color:#fff!important;border-radius:14px!important;padding:10px 13px!important;font-weight:950!important;box-shadow:0 10px 24px rgba(15,23,42,.14)!important}
.ccp-theme-toggle:hover{filter:brightness(1.06);transform:translateY(-1px)}
.ccp-editor.ccp-night-mode{background:rgba(2,6,23,.90)!important}
.ccp-editor.ccp-night-mode .ccp-editor-panel{background:#0f172a!important;color:#e5e7eb!important}
.ccp-editor.ccp-night-mode .ccp-tools,.ccp-editor.ccp-night-mode .ccp-editor-top,.ccp-editor.ccp-night-mode .ccp-action-dock{background:rgba(15,23,42,.96)!important;border-color:rgba(51,65,85,.95)!important;color:#e5e7eb!important}
.ccp-editor.ccp-night-mode .ccp-tools-head,.ccp-editor.ccp-night-mode .ccp-tools label,.ccp-editor.ccp-night-mode .ccp-gradient-title,.ccp-editor.ccp-night-mode .ccp-recent-title,.ccp-editor.ccp-night-mode .ccp-recent-gradient-title,.ccp-editor.ccp-night-mode .ccp-editor-title{color:#e5e7eb!important}
.ccp-editor.ccp-night-mode .ccp-stage{background:radial-gradient(circle at 15% 10%,rgba(37,99,235,.20),transparent 28%),linear-gradient(135deg,#020617,#111827)!important}
.ccp-editor.ccp-night-mode .ccp-artboard,.ccp-editor.ccp-night-mode .ccp-svg-host{background:#fff!important}
.ccp-editor.ccp-night-mode .ccp-status{background:#1e293b!important;color:#cbd5e1!important}
.ccp-editor.ccp-night-mode .ccp-recent-colors,.ccp-editor.ccp-night-mode .ccp-recent-gradients,.ccp-editor.ccp-night-mode .ccp-line-controls{background:rgba(30,41,59,.92)!important;border-color:#334155!important}
.ccp-editor.ccp-night-mode .ccp-recent-empty,.ccp-editor.ccp-night-mode .ccp-vector-note{color:#cbd5e1!important}
.ccp-editor.ccp-night-mode .ccp-theme-toggle{background:linear-gradient(135deg,#f8fafc,#cbd5e1)!important;color:#0f172a!important}
@media(max-width:720px){.ccp-recent-colors{grid-template-columns:repeat(8,1fr)!important;gap:6px!important;padding:7px!important}.ccp-recent-gradients{grid-template-columns:repeat(3,1fr)!important;gap:7px!important;padding:7px!important}.ccp-recent-swatch{height:26px!important}.ccp-recent-gradient{height:28px!important}.ccp-top-actions{gap:6px}.ccp-theme-toggle{font-size:12px!important;padding:9px 10px!important;border-radius:12px!important}.ccp-editor.ccp-night-mode .ccp-tools{background:linear-gradient(180deg,#0f172a 0%,#111827 100%)!important}.ccp-editor.ccp-night-mode:not(.ccp-tools-open) .ccp-tools::after{color:#e5e7eb!important}.ccp-editor.ccp-night-mode:not(.ccp-tools-open) .ccp-tools::before{color:#94a3b8!important}.ccp-editor.ccp-night-mode .ccp-tools-handle{background:linear-gradient(180deg,#0f172a 0%,#111827 100%)!important}}
@media(max-width:720px){.ccp-editor.open:not(.ccp-tools-open) .ccp-recent-title,.ccp-editor.open:not(.ccp-tools-open) .ccp-recent-colors,.ccp-editor.open:not(.ccp-tools-open) .ccp-recent-gradient-title,.ccp-editor.open:not(.ccp-tools-open) .ccp-recent-gradients{display:none!important}}


/* v6.1.9 Same Shape Fill toggle */
.ccp-same-shape-box{margin:14px 0 12px;padding:12px;border-radius:16px;background:linear-gradient(180deg,#f8fafc,#eef6ff);border:1px solid rgba(148,163,184,.35);box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.ccp-same-shape-toggle{width:100%;min-height:42px;border:0;border-radius:14px;background:linear-gradient(135deg,#111827,#334155);color:#fff;font-weight:900;cursor:pointer;box-shadow:0 10px 22px rgba(15,23,42,.14),inset 0 1px 0 rgba(255,255,255,.18);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease}
.ccp-same-shape-toggle:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(15,23,42,.18),inset 0 1px 0 rgba(255,255,255,.18)}
.ccp-same-shape-toggle.active,.ccp-same-shape-toggle[aria-pressed="true"]{background:linear-gradient(135deg,#16a34a,#0f766e);color:#fff;box-shadow:0 12px 28px rgba(22,163,74,.28),inset 0 1px 0 rgba(255,255,255,.22)}
.ccp-same-shape-box small{display:block;margin-top:8px;color:#475569;font-size:11px;font-weight:700;line-height:1.35}
.ccp-night-mode .ccp-same-shape-box{background:linear-gradient(180deg,rgba(15,23,42,.94),rgba(30,41,59,.94));border-color:rgba(148,163,184,.22)}
.ccp-night-mode .ccp-same-shape-box small{color:#cbd5e1}
@media(max-width:720px){.ccp-same-shape-box{margin:10px 0;padding:10px}.ccp-same-shape-toggle{min-height:38px;font-size:12px}.ccp-same-shape-box small{font-size:10.5px}}

/* v6.2.2: lightweight pre-made colored preview on card hover/tap */
.ccp-thumb.has-colored-preview{position:relative!important;isolation:isolate!important;cursor:pointer!important;}
.ccp-thumb.has-colored-preview img{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:var(--ccp-thumb-fit)!important;}
.ccp-thumb.has-colored-preview .ccp-line-preview{z-index:1!important;}
.ccp-thumb.has-colored-preview .ccp-colored-preview{z-index:2!important;opacity:0!important;transform:scale(1.015)!important;transition:opacity .24s ease,transform .28s ease!important;}
.ccp-card:hover .ccp-thumb.has-colored-preview .ccp-colored-preview,
.ccp-thumb.has-colored-preview.ccp-mobile-preview-on .ccp-colored-preview{opacity:1!important;transform:scale(1.035)!important;}
.ccp-preview-chip{position:absolute!important;left:10px!important;bottom:10px!important;z-index:3!important;padding:6px 10px!important;border-radius:999px!important;background:rgba(17,24,39,.86)!important;color:#fff!important;font-size:11px!important;font-weight:900!important;box-shadow:0 10px 24px rgba(15,23,42,.22)!important;opacity:0!important;transform:translateY(5px)!important;transition:opacity .22s ease,transform .22s ease!important;pointer-events:none!important;}
.ccp-thumb.has-colored-preview:hover .ccp-preview-chip,
.ccp-thumb.has-colored-preview.ccp-mobile-preview-on .ccp-preview-chip{opacity:1!important;transform:translateY(0)!important;}
@media(max-width:720px){.ccp-preview-chip{opacity:1!important;transform:none!important;background:rgba(249,115,22,.92)!important;}.ccp-thumb.has-colored-preview::after{content:'Tap to preview color'!important;position:absolute!important;right:10px!important;bottom:10px!important;z-index:3!important;padding:6px 10px!important;border-radius:999px!important;background:rgba(255,255,255,.94)!important;color:#111827!important;font-size:11px!important;font-weight:900!important;box-shadow:0 8px 20px rgba(15,23,42,.18)!important;}.ccp-thumb.has-colored-preview.ccp-mobile-preview-on::after{content:'Tap again to hide'!important;}}


/* v6.2.3: mobile preview hide fix
   Mobile browsers keep :hover active after tap. That made the colored preview stay visible
   even after the user tapped "Tap again to hide". On coarse/touch devices, preview is now
   controlled only by .ccp-mobile-preview-on. */
@media (hover:none), (pointer:coarse){
  .ccp-card:hover .ccp-thumb.has-colored-preview .ccp-colored-preview{
    opacity:0!important;
    transform:scale(1.015)!important;
  }
  .ccp-card:hover .ccp-thumb.has-colored-preview .ccp-preview-chip{
    opacity:1!important;
    transform:none!important;
  }
  .ccp-thumb.has-colored-preview.ccp-mobile-preview-on .ccp-colored-preview,
  .ccp-card:hover .ccp-thumb.has-colored-preview.ccp-mobile-preview-on .ccp-colored-preview{
    opacity:1!important;
    transform:scale(1.035)!important;
  }
}

/* v6.2.4: professional single coloring page layout */
.ccp-single-wrap{
  margin:18px 0 34px!important;
}
.ccp-single-design{
  display:grid!important;
  grid-template-columns:minmax(260px,420px) minmax(0,1fr)!important;
  gap:28px!important;
  align-items:center!important;
  padding:22px!important;
  border:1px solid rgba(148,163,184,.24)!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 92% 8%,rgba(37,99,235,.13),transparent 32%),
    radial-gradient(circle at 0% 100%,rgba(249,115,22,.10),transparent 34%),
    linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,250,252,.96))!important;
  box-shadow:0 24px 70px rgba(15,23,42,.10)!important;
  overflow:hidden!important;
  position:relative!important;
}
.ccp-single-design::before{
  content:''!important;
  position:absolute!important;
  inset:0!important;
  pointer-events:none!important;
  background:linear-gradient(135deg,rgba(255,255,255,.55),transparent 42%)!important;
}
.ccp-single-preview,
.ccp-single-info{position:relative!important;z-index:1!important;}
.ccp-single-preview{
  max-width:420px!important;
  width:100%!important;
  margin:0 auto!important;
}
.ccp-single-preview .ccp-thumb{
  aspect-ratio:3/4!important;
  border-radius:24px!important;
  border:1px solid rgba(148,163,184,.30)!important;
  background:#fff!important;
  box-shadow:0 22px 54px rgba(15,23,42,.13)!important;
}
.ccp-single-preview .ccp-thumb img{
  object-fit:var(--ccp-thumb-fit)!important;
}
.ccp-single-kicker{
  display:inline-flex!important;
  align-items:center!important;
  width:max-content!important;
  max-width:100%!important;
  padding:7px 12px!important;
  border-radius:999px!important;
  background:rgba(255,122,26,.12)!important;
  color:#c2410c!important;
  font-size:12px!important;
  font-weight:950!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  margin-bottom:12px!important;
}
.ccp-single-heading{
  margin:0 0 10px!important;
  color:var(--ccp-dark)!important;
  font-size:clamp(24px,3vw,38px)!important;
  line-height:1.08!important;
  letter-spacing:-.03em!important;
}
.ccp-single-text{
  margin:0 0 18px!important;
  color:#475569!important;
  font-size:16px!important;
  line-height:1.65!important;
  max-width:620px!important;
}
.ccp-single-actions{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:12px!important;
  margin:18px 0!important;
}
.ccp-single-actions button{
  appearance:none!important;
  border:0!important;
  border-radius:999px!important;
  min-height:48px!important;
  padding:13px 22px!important;
  font-size:15px!important;
  font-weight:950!important;
  cursor:pointer!important;
  touch-action:manipulation!important;
  -webkit-tap-highlight-color:transparent!important;
  box-shadow:0 14px 30px rgba(15,23,42,.14)!important;
  transition:transform .16s ease,box-shadow .16s ease,filter .16s ease!important;
}
.ccp-single-actions button:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 18px 38px rgba(15,23,42,.18)!important;
}
.ccp-single-actions .ccp-open{
  background:linear-gradient(135deg,#ff7a1a,#fb923c)!important;
  color:#fff!important;
}
.ccp-single-actions .ccp-pdf{
  background:linear-gradient(135deg,#111827,#334155)!important;
  color:#fff!important;
}
.ccp-single-features{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:10px!important;
  padding:0!important;
  margin:18px 0 0!important;
  list-style:none!important;
}
.ccp-single-features li{
  margin:0!important;
  padding:11px 12px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.78)!important;
  border:1px solid rgba(148,163,184,.22)!important;
  color:#334155!important;
  font-size:13px!important;
  font-weight:850!important;
  line-height:1.25!important;
  box-shadow:0 10px 24px rgba(15,23,42,.05)!important;
}
.ccp-single-features li::before{
  content:'✓'!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:18px!important;
  height:18px!important;
  margin-right:7px!important;
  border-radius:999px!important;
  background:#dcfce7!important;
  color:#15803d!important;
  font-size:11px!important;
  font-weight:950!important;
}
.ccp-single-wrap .ccp-editor{z-index:2147483000!important;}
@media(max-width:900px){
  .ccp-single-design{
    grid-template-columns:1fr!important;
    padding:18px!important;
    gap:18px!important;
  }
  .ccp-single-preview{max-width:460px!important;}
  .ccp-single-info{text-align:left!important;}
  .ccp-single-features{grid-template-columns:1fr!important;}
}
@media(max-width:720px){
  .ccp-single-wrap{margin:14px 0 26px!important;}
  .ccp-single-design{
    border-radius:22px!important;
    padding:14px!important;
    gap:16px!important;
  }
  .ccp-single-preview .ccp-thumb{border-radius:18px!important;}
  .ccp-single-heading{font-size:24px!important;}
  .ccp-single-text{font-size:14px!important;line-height:1.55!important;}
  .ccp-single-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;}
  .ccp-single-actions button{min-height:44px!important;padding:11px 12px!important;font-size:13px!important;}
  .ccp-single-kicker{font-size:11px!important;padding:6px 10px!important;}
  .ccp-single-features li{font-size:12px!important;padding:10px!important;}
}
@media(max-width:420px){
  .ccp-single-actions{grid-template-columns:1fr!important;}
}


/* v6.2.5: editor control visibility + clickable colored preview fix */
.ccp-editor.open{
  position:fixed!important;
  inset:0!important;
  top:0!important;left:0!important;right:0!important;bottom:0!important;
  width:100vw!important;
  height:100dvh!important;
  max-width:100vw!important;
  max-height:100dvh!important;
  z-index:2147483647!important;
  transform:none!important;
  contain:none!important;
}
.ccp-editor.open .ccp-editor-panel{
  position:relative!important;
  z-index:1!important;
}
.ccp-editor.open .ccp-editor-top{
  position:relative!important;
  z-index:220!important;
  flex-shrink:0!important;
}
.ccp-editor.open .ccp-top-actions{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  position:relative!important;
  z-index:230!important;
  visibility:visible!important;
  opacity:1!important;
}
.ccp-editor.open .ccp-theme-toggle,
.ccp-editor.open .ccp-close-main{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  white-space:nowrap!important;
}
.ccp-thumb.has-colored-preview.ccp-preview-on .ccp-colored-preview,
.ccp-thumb.has-colored-preview.ccp-mobile-preview-on .ccp-colored-preview,
.ccp-single-preview .ccp-thumb.has-colored-preview:hover .ccp-colored-preview{
  opacity:1!important;
  transform:scale(1.035)!important;
}
.ccp-thumb.has-colored-preview.ccp-preview-on .ccp-preview-chip,
.ccp-thumb.has-colored-preview.ccp-mobile-preview-on .ccp-preview-chip,
.ccp-single-preview .ccp-thumb.has-colored-preview:hover .ccp-preview-chip{
  opacity:1!important;
  transform:translateY(0)!important;
}
.ccp-single-preview .ccp-preview-chip{
  opacity:1!important;
  transform:none!important;
  pointer-events:auto!important;
  background:rgba(249,115,22,.94)!important;
}
.ccp-single-preview .ccp-thumb.has-colored-preview::after{
  content:'Click preview to show color'!important;
  position:absolute!important;
  right:10px!important;
  bottom:10px!important;
  z-index:3!important;
  padding:6px 10px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.94)!important;
  color:#111827!important;
  font-size:11px!important;
  font-weight:900!important;
  box-shadow:0 8px 20px rgba(15,23,42,.18)!important;
}
.ccp-single-preview .ccp-thumb.has-colored-preview.ccp-preview-on::after,
.ccp-single-preview .ccp-thumb.has-colored-preview.ccp-mobile-preview-on::after{
  content:'Click again to hide'!important;
}
@media(max-width:720px){
  .ccp-editor.open{
    padding:0!important;
    overflow:hidden!important;
  }
  .ccp-editor.open .ccp-editor-panel{
    width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border-radius:0!important;
  }
  .ccp-editor.open .ccp-editor-top{
    min-height:54px!important;
    height:54px!important;
    padding:0 10px!important;
    z-index:240!important;
    overflow:visible!important;
  }
  .ccp-editor.open .ccp-top-actions{
    flex:0 0 auto!important;
    gap:6px!important;
  }
  .ccp-editor.open .ccp-theme-toggle{
    min-height:38px!important;
    padding:8px 9px!important;
    font-size:11px!important;
    line-height:1!important;
    max-width:92px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
  }
  .ccp-editor.open .ccp-close-main{
    min-height:38px!important;
    padding:8px 10px!important;
    font-size:12px!important;
    line-height:1!important;
    max-width:76px!important;
  }
  .ccp-editor.open .ccp-tools{
    z-index:180!important;
  }
  .ccp-editor.open .ccp-tools-head{
    position:relative!important;
    z-index:190!important;
    padding-right:8px!important;
  }
  .ccp-editor.open .ccp-tools-head .ccp-close-top{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:38px!important;
    height:38px!important;
    min-width:38px!important;
    padding:0!important;
    border-radius:14px!important;
    font-size:22px!important;
    line-height:1!important;
    visibility:visible!important;
    opacity:1!important;
  }
  .ccp-single-preview .ccp-thumb.has-colored-preview::after{
    content:'Tap to preview color'!important;
  }
  .ccp-single-preview .ccp-thumb.has-colored-preview.ccp-preview-on::after,
  .ccp-single-preview .ccp-thumb.has-colored-preview.ccp-mobile-preview-on::after{
    content:'Tap again to hide'!important;
  }
}

/* v6.2.6: desktop hover-only preview + stronger mounted editor overlay */
body > .ccp-editor.ccp-mounted-editor.open{
  position:fixed!important;
  inset:0!important;
  top:0!important;
  left:0!important;
  right:0!important;
  bottom:0!important;
  width:100vw!important;
  height:100dvh!important;
  z-index:2147483647!important;
  margin:0!important;
  transform:none!important;
}
body > .ccp-editor.ccp-mounted-editor.open .ccp-editor-panel{
  position:relative!important;
  z-index:1!important;
  margin:0 auto!important;
  max-height:calc(100dvh - 36px)!important;
}
body > .ccp-editor.ccp-mounted-editor.open .ccp-editor-top{
  position:relative!important;
  top:0!important;
  z-index:999!important;
  overflow:visible!important;
}
body > .ccp-editor.ccp-mounted-editor.open .ccp-top-actions,
body > .ccp-editor.ccp-mounted-editor.open .ccp-theme-toggle,
body > .ccp-editor.ccp-mounted-editor.open .ccp-close-main{
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
}
@media (hover:hover) and (pointer:fine){
  .ccp-thumb.has-colored-preview .ccp-preview-chip{
    display:none!important;
  }
  .ccp-thumb.has-colored-preview::after,
  .ccp-single-preview .ccp-thumb.has-colored-preview::after{
    content:none!important;
    display:none!important;
  }
  .ccp-thumb.has-colored-preview:hover .ccp-colored-preview,
  .ccp-single-preview .ccp-thumb.has-colored-preview:hover .ccp-colored-preview{
    opacity:1!important;
    transform:scale(1.035)!important;
  }
  .ccp-thumb.has-colored-preview.ccp-preview-on .ccp-colored-preview,
  .ccp-thumb.has-colored-preview.ccp-mobile-preview-on .ccp-colored-preview{
    opacity:0!important;
  }
}
@media (hover:none), (pointer:coarse){
  .ccp-thumb.has-colored-preview .ccp-preview-chip{
    display:inline-flex!important;
  }
  .ccp-single-preview .ccp-thumb.has-colored-preview::after{
    content:'Tap to preview color'!important;
  }
  .ccp-single-preview .ccp-thumb.has-colored-preview.ccp-preview-on::after,
  .ccp-single-preview .ccp-thumb.has-colored-preview.ccp-mobile-preview-on::after{
    content:'Tap again to hide'!important;
  }
  .ccp-thumb.has-colored-preview.ccp-preview-on .ccp-colored-preview,
  .ccp-thumb.has-colored-preview.ccp-mobile-preview-on .ccp-colored-preview{
    opacity:1!important;
    transform:scale(1.035)!important;
  }
}
@media(max-width:720px){
  body > .ccp-editor.ccp-mounted-editor.open{
    padding:0!important;
  }
  body > .ccp-editor.ccp-mounted-editor.open .ccp-editor-panel{
    width:100vw!important;
    height:100dvh!important;
    max-height:100dvh!important;
    border-radius:0!important;
  }
  body > .ccp-editor.ccp-mounted-editor.open .ccp-tools-head{
    padding-right:12px!important;
    box-sizing:border-box!important;
  }
  body > .ccp-editor.ccp-mounted-editor.open .ccp-tools-head .ccp-close-top{
    margin-right:0!important;
    flex:0 0 38px!important;
  }
}
@media (hover:hover) and (pointer:fine){
  .ccp-thumb.has-colored-preview:hover .ccp-colored-preview,
  .ccp-single-preview .ccp-thumb.has-colored-preview:hover .ccp-colored-preview{
    opacity:1!important;
    transform:scale(1.035)!important;
  }
}


/* v6.2.7: fixed mobile default line-art preview and desktop hover-only preview
   Desktop: colored preview appears only on hover. No Preview chip/text.
   Mobile/tablet: line art appears first. Preview chip toggles colored image on/off. */
.ccp-thumb.has-colored-preview .ccp-colored-preview{
  opacity:0!important;
  transform:scale(1.015)!important;
}
@media (hover:hover) and (pointer:fine){
  .ccp-thumb.has-colored-preview .ccp-preview-chip,
  .ccp-thumb.has-colored-preview::after,
  .ccp-single-preview .ccp-thumb.has-colored-preview::after{
    display:none!important;
    content:none!important;
  }
  .ccp-thumb.has-colored-preview:hover .ccp-colored-preview,
  .ccp-card:hover .ccp-thumb.has-colored-preview .ccp-colored-preview,
  .ccp-single-preview .ccp-thumb.has-colored-preview:hover .ccp-colored-preview{
    opacity:1!important;
    transform:scale(1.035)!important;
  }
  .ccp-thumb.has-colored-preview.ccp-preview-on .ccp-colored-preview,
  .ccp-thumb.has-colored-preview.ccp-mobile-preview-on .ccp-colored-preview{
    opacity:0!important;
    transform:scale(1.015)!important;
  }
}
@media (hover:none), (pointer:coarse), (max-width:720px){
  .ccp-card:hover .ccp-thumb.has-colored-preview .ccp-colored-preview,
  .ccp-thumb.has-colored-preview:hover .ccp-colored-preview,
  .ccp-single-preview .ccp-thumb.has-colored-preview:hover .ccp-colored-preview{
    opacity:0!important;
    transform:scale(1.015)!important;
  }
  .ccp-thumb.has-colored-preview.ccp-mobile-preview-on .ccp-colored-preview,
  .ccp-card:hover .ccp-thumb.has-colored-preview.ccp-mobile-preview-on .ccp-colored-preview,
  .ccp-single-preview .ccp-thumb.has-colored-preview.ccp-mobile-preview-on .ccp-colored-preview{
    opacity:1!important;
    transform:scale(1.035)!important;
  }
  .ccp-thumb.has-colored-preview .ccp-preview-chip{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    opacity:1!important;
    transform:none!important;
    left:10px!important;
    bottom:10px!important;
    min-height:28px!important;
    padding:7px 12px!important;
    border-radius:999px!important;
    background:rgba(249,115,22,.95)!important;
    color:#fff!important;
    font-size:11px!important;
    font-weight:900!important;
    z-index:6!important;
    pointer-events:none!important;
  }
  .ccp-thumb.has-colored-preview::after,
  .ccp-single-preview .ccp-thumb.has-colored-preview::after{
    content:'Tap to preview color'!important;
    display:block!important;
    position:absolute!important;
    right:10px!important;
    bottom:10px!important;
    z-index:5!important;
    padding:7px 12px!important;
    border-radius:999px!important;
    background:rgba(255,255,255,.94)!important;
    color:#111827!important;
    font-size:11px!important;
    font-weight:900!important;
    box-shadow:0 8px 20px rgba(15,23,42,.18)!important;
  }
  .ccp-thumb.has-colored-preview.ccp-mobile-preview-on::after,
  .ccp-single-preview .ccp-thumb.has-colored-preview.ccp-mobile-preview-on::after{
    content:'Tap again to hide'!important;
  }
}


/* v6.2.10: mobile tools spacing + equal square swatches only */
@media(max-width:720px){
  .ccp-editor.open .ccp-tools{
    padding-top:42px!important;
    transform:translateY(calc(100% - 76px))!important;
  }
  .ccp-editor.open.ccp-tools-open .ccp-tools{
    transform:translateY(0)!important;
  }
  .ccp-editor.open .ccp-tools-handle{
    height:46px!important;
    min-height:46px!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
  }
  .ccp-editor.open .ccp-tools-handle span{
    width:78px!important;
    height:6px!important;
  }
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools::after{
    top:22px!important;
    font-size:14px!important;
  }
  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools::before{
    display:none!important;
  }
  .ccp-editor.open .ccp-palette{
    grid-template-columns:repeat(8,34px)!important;
    justify-content:space-between!important;
    gap:6px!important;
  }
  .ccp-editor.open .ccp-gradient-palette,
  .ccp-editor.open .ccp-recent-gradients{
    grid-template-columns:repeat(6,34px)!important;
    justify-content:space-between!important;
    gap:7px!important;
  }
  .ccp-editor.open .ccp-recent-colors{
    grid-template-columns:repeat(8,34px)!important;
    justify-content:space-between!important;
    gap:6px!important;
  }
  .ccp-editor.open .ccp-swatch,
  .ccp-editor.open .ccp-gradient,
  .ccp-editor.open .ccp-recent-swatch,
  .ccp-editor.open .ccp-recent-gradient{
    width:34px!important;
    height:34px!important;
    min-width:34px!important;
    min-height:34px!important;
    max-width:34px!important;
    max-height:34px!important;
    border-radius:11px!important;
    padding:0!important;
    box-sizing:border-box!important;
    justify-self:center!important;
  }
}


/* v6.2.11: transparent line-art control + mobile gradient spacing match */
.ccp-line-color-row{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:wrap!important}
.ccp-line-transparent{height:34px!important;min-width:94px!important;padding:0 12px!important;border-radius:10px!important;border:1px solid #cbd5e1!important;background:linear-gradient(45deg,#f8fafc 25%,#e2e8f0 25%,#e2e8f0 50%,#f8fafc 50%,#f8fafc 75%,#e2e8f0 75%)!important;background-size:14px 14px!important;color:#0f172a!important;font-size:12px!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
.ccp-line-transparent.active{outline:3px solid rgba(249,115,22,.35)!important;border-color:#fb923c!important;color:#7c2d12!important}
.ccp-line-transparent:hover{transform:translateY(-1px)!important;filter:brightness(.98)!important}
.ccp-editor.ccp-night-mode .ccp-line-transparent{border-color:#475569!important;color:#e5e7eb!important;background:linear-gradient(45deg,#0f172a 25%,#334155 25%,#334155 50%,#0f172a 50%,#0f172a 75%,#334155 75%)!important;background-size:14px 14px!important}
@media(max-width:720px){
  .ccp-editor.open .ccp-gradient-palette{grid-template-columns:repeat(8,34px)!important;justify-content:space-between!important;gap:6px!important}
  .ccp-editor.open .ccp-gradient{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;border-radius:11px!important;padding:0!important;box-sizing:border-box!important;justify-self:center!important}
  .ccp-line-color-row{gap:7px!important}
  .ccp-line-transparent{height:34px!important;min-width:92px!important;font-size:11px!important;border-radius:10px!important}
}


/* v6.2.12: Screen-only guide lines when Line Art Color is Transparent.
   This does not change SVG attributes or exported files; it only helps users see where to tap/fill. */
.ccp-editor.ccp-transparent-guide .ccp-svg-host svg .ccp-fillable{
  stroke:rgba(71,85,105,.34)!important;
  stroke-width:1.15px!important;
  vector-effect:non-scaling-stroke!important;
}
.ccp-editor.ccp-transparent-guide .ccp-svg-host svg .ccp-faded-brand-text{
  stroke:none!important;
}
.ccp-editor.ccp-transparent-guide .ccp-line-transparent::after{
  content:'Guide visible';
  display:inline-block;
  margin-left:7px;
  padding:2px 6px;
  border-radius:999px;
  background:rgba(59,130,246,.12);
  color:#1d4ed8;
  font-size:10px;
  font-weight:900;
}
.ccp-editor.ccp-night-mode.ccp-transparent-guide .ccp-svg-host svg .ccp-fillable{
  stroke:rgba(30,41,59,.38)!important;
}

/* v6.2.13: Black/White quick buttons for line art */
.ccp-line-preset{height:34px!important;min-width:86px!important;padding:0 12px!important;border-radius:10px!important;border:1px solid #cbd5e1!important;background:#fff!important;color:#0f172a!important;font-size:12px!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 2px 8px rgba(15,23,42,.08)!important}
.ccp-line-preset:hover{transform:translateY(-1px)!important;filter:brightness(.98)!important}
.ccp-line-preset.active{outline:3px solid rgba(59,130,246,.22)!important;border-color:#60a5fa!important}
.ccp-line-black{background:#111827!important;color:#fff!important;border-color:#111827!important}
.ccp-line-white{background:#ffffff!important;color:#0f172a!important;border-color:#cbd5e1!important}
.ccp-editor.ccp-night-mode .ccp-line-preset{border-color:#475569!important;box-shadow:none!important}
@media(max-width:720px){.ccp-line-preset{height:34px!important;min-width:74px!important;font-size:11px!important;border-radius:10px!important}}

/* v6.2.14: clearer line-art guidance only */
.ccp-line-help{margin-top:8px!important;font-size:12px!important;line-height:1.45!important;color:#475569!important;background:#f8fafc!important;border:1px solid #e2e8f0!important;border-radius:12px!important;padding:10px 12px!important}
.ccp-line-help strong{color:#0f172a!important}
.ccp-editor.ccp-night-mode .ccp-line-help{color:#cbd5e1!important;background:rgba(15,23,42,.72)!important;border-color:#334155!important}
@media(max-width:720px){.ccp-line-help{font-size:11px!important;padding:9px 10px!important}}


/* v6.2.15: WEBP export button only */
.ccp-action-dock .ccp-download-webp{
  background:linear-gradient(135deg,#0f172a 0%,#1e293b 100%)!important;
  color:#ffffff!important;
}
@media(min-width:721px){
  .ccp-action-dock{grid-template-columns:repeat(11,minmax(54px,1fr))!important;}
}
@media(max-width:720px){
  .ccp-editor.open .ccp-action-dock{grid-template-columns:repeat(6,minmax(0,1fr))!important;}
  .ccp-editor.open .ccp-action-dock button{font-size:11px!important;padding-left:3px!important;padding-right:3px!important;}
}


/* v6.2.16 download size controls */
.ccp-export-box{margin:10px 0 12px!important;padding:12px!important;border:1px solid #dbe5f1!important;border-radius:18px!important;background:linear-gradient(180deg,#f8fbff,#eff6ff)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.92)!important}
.ccp-export-title{font-size:13px!important;font-weight:900!important;color:#1e293b!important;margin:0 0 8px!important}
.ccp-export-presets{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0 0 8px!important}
.ccp-size-chip{border:1px solid #cbd5e1!important;background:#fff!important;color:#0f172a!important;border-radius:12px!important;padding:9px 10px!important;font-size:12px!important;font-weight:900!important;cursor:pointer!important;box-shadow:0 2px 8px rgba(15,23,42,.06)!important}
.ccp-size-chip.active{background:linear-gradient(135deg,#2563eb,#38bdf8)!important;color:#fff!important;border-color:#2563eb!important;box-shadow:0 10px 20px rgba(37,99,235,.20)!important}
.ccp-export-custom{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;align-items:end!important;margin:0 0 8px!important}
.ccp-export-custom label{display:flex!important;flex-direction:column!important;gap:5px!important;font-size:12px!important;color:#334155!important}
.ccp-export-custom input[type="text"]{width:100%!important;height:38px!important;border:1px solid #cbd5e1!important;border-radius:12px!important;padding:0 10px!important;background:#fff!important;color:#0f172a!important;box-sizing:border-box!important}
.ccp-export-lock-row{grid-column:1 / -1!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;font-weight:700!important}
.ccp-export-note{display:block!important;font-size:11px!important;line-height:1.45!important;color:#475569!important}
.ccp-editor.open:not(.ccp-tools-open) .ccp-export-box{display:none!important}
.ccp-editor.ccp-night-mode .ccp-export-box{background:linear-gradient(180deg,#0f172a,#111827)!important;border-color:#334155!important;box-shadow:none!important}
.ccp-editor.ccp-night-mode .ccp-export-title,.ccp-editor.ccp-night-mode .ccp-export-custom label,.ccp-editor.ccp-night-mode .ccp-export-note{color:#cbd5e1!important}
.ccp-editor.ccp-night-mode .ccp-size-chip{background:#111827!important;color:#e5e7eb!important;border-color:#475569!important;box-shadow:none!important}
.ccp-editor.ccp-night-mode .ccp-size-chip.active{background:linear-gradient(135deg,#2563eb,#38bdf8)!important;color:#fff!important;border-color:#2563eb!important}
.ccp-editor.ccp-night-mode .ccp-export-custom input[type="text"]{background:#0f172a!important;color:#e5e7eb!important;border-color:#475569!important}
@media(max-width:720px){.ccp-export-box{padding:10px!important;border-radius:16px!important;margin:8px 0 10px!important}.ccp-export-presets{gap:6px!important}.ccp-size-chip{padding:8px 8px!important;font-size:11px!important;border-radius:10px!important}.ccp-export-custom{gap:6px!important}.ccp-export-custom input[type="text"]{height:34px!important;border-radius:10px!important;padding:0 8px!important}.ccp-export-note{font-size:10.5px!important}}


/* v6.2.17 download options popup before download */
.ccp-download-modal{position:fixed!important;inset:0!important;z-index:2147483647!important;display:none!important;align-items:center!important;justify-content:center!important;background:rgba(15,23,42,.46)!important;padding:18px!important}
.ccp-download-modal.open{display:flex!important}
.ccp-download-modal-card{position:relative!important;width:min(440px,94vw)!important;background:#fff!important;border:1px solid rgba(226,232,240,.95)!important;border-radius:24px!important;padding:22px!important;box-shadow:0 30px 80px rgba(15,23,42,.28)!important;color:#0f172a!important}
.ccp-download-modal-close{position:absolute!important;top:12px!important;right:12px!important;width:36px!important;height:36px!important;border-radius:999px!important;border:0!important;background:#f97316!important;color:#fff!important;font-size:24px!important;font-weight:900!important;cursor:pointer!important;line-height:1!important}
.ccp-download-modal-kicker{display:inline-flex!important;align-items:center!important;padding:5px 10px!important;border-radius:999px!important;background:#fff7ed!important;color:#c2410c!important;font-size:11px!important;font-weight:950!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.ccp-download-modal-title{margin:12px 0 6px!important;font-size:24px!important;line-height:1.15!important;color:#0f172a!important}
.ccp-download-modal-text{margin:0 0 12px!important;color:#475569!important;font-size:14px!important;line-height:1.5!important}
.ccp-download-modal-format{margin:0 0 12px!important;font-size:13px!important;color:#334155!important}
.ccp-modal-size-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;margin:0 0 12px!important}
.ccp-modal-size-chip{border:1px solid #cbd5e1!important;background:#fff!important;color:#0f172a!important;border-radius:14px!important;padding:12px 10px!important;font-size:13px!important;font-weight:950!important;cursor:pointer!important;box-shadow:0 4px 12px rgba(15,23,42,.06)!important}
.ccp-modal-size-chip.active{background:linear-gradient(135deg,#2563eb,#38bdf8)!important;color:#fff!important;border-color:#2563eb!important;box-shadow:0 12px 24px rgba(37,99,235,.22)!important}
.ccp-modal-custom{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin:0 0 10px!important}
.ccp-modal-custom label{display:flex!important;flex-direction:column!important;gap:5px!important;font-size:12px!important;font-weight:800!important;color:#334155!important}
.ccp-modal-custom input[type=number]{width:100%!important;height:40px!important;border:1px solid #cbd5e1!important;border-radius:12px!important;padding:0 10px!important;background:#fff!important;color:#0f172a!important;box-sizing:border-box!important}
.ccp-modal-lock-row{grid-column:1 / -1!important;display:flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;font-weight:800!important}
.ccp-modal-size-note{display:block!important;margin:2px 0 14px!important;color:#64748b!important;font-size:12px!important;line-height:1.45!important}
.ccp-download-confirm{width:100%!important;min-height:48px!important;border:0!important;border-radius:16px!important;background:linear-gradient(135deg,#111827,#334155)!important;color:#fff!important;font-size:15px!important;font-weight:950!important;cursor:pointer!important;box-shadow:0 14px 28px rgba(15,23,42,.20)!important}
.ccp-editor.ccp-night-mode .ccp-download-modal-card{background:#0f172a!important;border-color:#334155!important;color:#e5e7eb!important}
.ccp-editor.ccp-night-mode .ccp-download-modal-title{color:#e5e7eb!important}
.ccp-editor.ccp-night-mode .ccp-download-modal-text,.ccp-editor.ccp-night-mode .ccp-download-modal-format,.ccp-editor.ccp-night-mode .ccp-modal-size-note,.ccp-editor.ccp-night-mode .ccp-modal-custom label{color:#cbd5e1!important}
.ccp-editor.ccp-night-mode .ccp-modal-size-chip{background:#111827!important;color:#e5e7eb!important;border-color:#475569!important}
.ccp-editor.ccp-night-mode .ccp-modal-size-chip.active{background:linear-gradient(135deg,#2563eb,#38bdf8)!important;color:#fff!important;border-color:#2563eb!important}
.ccp-editor.ccp-night-mode .ccp-modal-custom input[type=number]{background:#020617!important;color:#e5e7eb!important;border-color:#475569!important}
@media(max-width:720px){.ccp-download-modal{padding:12px!important;align-items:flex-end!important}.ccp-download-modal-card{width:100%!important;border-radius:22px 22px 18px 18px!important;padding:18px!important}.ccp-download-modal-title{font-size:21px!important}.ccp-download-modal-text{font-size:13px!important}.ccp-modal-size-chip{padding:10px 8px!important;font-size:12px!important}.ccp-download-confirm{min-height:46px!important}}


/* v6.2.19 custom size typing/numpad fix */
.ccp-export-custom input[type="text"],.ccp-modal-custom input[type="text"]{font-variant-numeric:tabular-nums!important;-moz-appearance:textfield!important}
.ccp-export-custom input[type="text"]::-webkit-outer-spin-button,.ccp-export-custom input[type="text"]::-webkit-inner-spin-button,.ccp-modal-custom input[type="text"]::-webkit-outer-spin-button,.ccp-modal-custom input[type="text"]::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important}


/* v6.2.20 download modal input overflow fix */
.ccp-download-modal-card{
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.ccp-modal-custom{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  width:100%!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.ccp-modal-custom label{
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
.ccp-modal-custom input[type="text"],
.ccp-modal-custom input[type="number"],
.ccp-modal-export-width,
.ccp-modal-export-height{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  display:block!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}
@media(max-width:520px){
  .ccp-modal-custom{
    gap:7px!important;
  }
  .ccp-modal-custom input[type="text"],
  .ccp-modal-custom input[type="number"],
  .ccp-modal-export-width,
  .ccp-modal-export-height{
    height:38px!important;
    padding:0 8px!important;
  }
}


/* v6.2.21 print paper options */
.ccp-modal-print-options{margin:0 0 12px!important;padding:12px!important;border:1px solid #dbe5f1!important;border-radius:16px!important;background:#f8fafc!important;box-sizing:border-box!important}
.ccp-print-options-title{font-size:13px!important;font-weight:950!important;color:#0f172a!important;margin:0 0 8px!important}
.ccp-print-paper-label{display:flex!important;flex-direction:column!important;gap:6px!important;font-size:12px!important;font-weight:850!important;color:#334155!important;margin:0 0 10px!important}
.ccp-print-paper{width:100%!important;height:42px!important;border:1px solid #cbd5e1!important;border-radius:12px!important;padding:0 11px!important;background:#fff!important;color:#0f172a!important;font-weight:850!important;box-sizing:border-box!important}
.ccp-print-orientation{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0 0 8px!important}
.ccp-print-orientation-btn{border:1px solid #cbd5e1!important;border-radius:12px!important;background:#fff!important;color:#0f172a!important;padding:10px!important;font-size:12px!important;font-weight:950!important;cursor:pointer!important;box-shadow:0 3px 10px rgba(15,23,42,.06)!important}
.ccp-print-orientation-btn.active{background:linear-gradient(135deg,#2563eb,#38bdf8)!important;color:#fff!important;border-color:#2563eb!important;box-shadow:0 10px 20px rgba(37,99,235,.20)!important}
.ccp-print-help{display:block!important;font-size:11px!important;line-height:1.42!important;color:#64748b!important}
.ccp-modal-size-grid[hidden],.ccp-modal-custom[hidden],.ccp-modal-print-options[hidden]{display:none!important}
.ccp-editor.ccp-night-mode .ccp-modal-print-options{background:#111827!important;border-color:#334155!important}
.ccp-editor.ccp-night-mode .ccp-print-options-title,.ccp-editor.ccp-night-mode .ccp-print-paper-label,.ccp-editor.ccp-night-mode .ccp-print-help{color:#cbd5e1!important}
.ccp-editor.ccp-night-mode .ccp-print-paper,.ccp-editor.ccp-night-mode .ccp-print-orientation-btn{background:#020617!important;color:#e5e7eb!important;border-color:#475569!important}
.ccp-editor.ccp-night-mode .ccp-print-orientation-btn.active{background:linear-gradient(135deg,#2563eb,#38bdf8)!important;color:#fff!important;border-color:#2563eb!important}
@media(max-width:720px){.ccp-modal-print-options{padding:10px!important;border-radius:14px!important}.ccp-print-paper{height:39px!important}.ccp-print-orientation{gap:6px!important}.ccp-print-orientation-btn{padding:9px 8px!important;font-size:12px!important}.ccp-print-help{font-size:10.5px!important}}


/* v6.2.23: Recently Used Colors shows only the latest selected fill color */
.ccp-recent-colors{grid-template-columns:34px!important;justify-content:start!important;align-items:center!important}
.ccp-recent-colors .ccp-recent-swatch{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important}
@media(max-width:720px){.ccp-recent-colors{grid-template-columns:34px!important;justify-content:start!important;gap:6px!important}}


/* v6.2.26: normal gallery banner heading size + safer single-page gallery fallback */
.ccp-gallery-head .ccp-title{font-size:clamp(24px,2.1vw,34px)!important;line-height:1.14!important;letter-spacing:-.025em!important;max-width:720px!important}
@media(max-width:720px){.ccp-gallery-head .ccp-title{font-size:24px!important;line-height:1.18!important;letter-spacing:-.015em!important}}


/* v6.2.30 easier similar-fill + stronger mobile behavior */
.ccp-stage{overflow:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;contain:layout paint style!important;}
.ccp-editor-top,.ccp-action-dock,.ccp-tools{touch-action:manipulation!important;transform:none!important;will-change:auto!important;}
.ccp-action-dock,.ccp-tools,.ccp-editor-top{flex-shrink:0!important;}
.ccp-recent-colors{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;}
@media(max-width:720px){
  .ccp-recent-colors{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important;}
  .ccp-recent-swatch{height:30px!important;border-radius:10px!important;}
  .ccp-stage{padding-bottom:calc(232px + env(safe-area-inset-bottom,0px))!important;}
  .ccp-editor.open .ccp-action-dock{position:relative!important;z-index:45!important;}
  .ccp-editor.open .ccp-tools{z-index:44!important;}
}


/* v6.2.31: compact recent colors + safer mobile zoom/performance */
.ccp-recent-colors{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:9px!important;
  min-height:44px!important;
  padding:8px!important;
}
.ccp-recent-swatch{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  max-width:32px!important;
  flex:0 0 32px!important;
  border-radius:12px!important;
  padding:0!important;
}
.ccp-stage{
  touch-action:none!important;
  -webkit-user-select:none!important;
  user-select:none!important;
}
.ccp-action-dock,
.ccp-action-dock button,
.ccp-tools,
.ccp-tools button,
.ccp-editor-top,
.ccp-editor-top button{
  touch-action:manipulation!important;
}
.ccp-action-dock{
  transform:none!important;
  will-change:auto!important;
}
@media(max-width:720px){
  .ccp-recent-colors{
    gap:7px!important;
    min-height:42px!important;
    padding:7px!important;
  }
  .ccp-recent-swatch{
    width:30px!important;
    height:30px!important;
    min-width:30px!important;
    max-width:30px!important;
    flex-basis:30px!important;
    border-radius:11px!important;
  }
  .ccp-stage{
    contain:layout paint!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .ccp-action-dock{
    flex-shrink:0!important;
    z-index:60!important;
  }
}


/* v6.2.34 BEST USER-STABLE MOBILE BUILD
   Mobile pinch zoom is disabled inside the editor. Use + / - / Fit for canvas zoom.
   This prevents the whole screen and bottom buttons from zooming or freezing. */
.ccp-recent-colors{display:flex!important;flex-wrap:wrap!important;gap:7px!important;align-items:center!important;justify-content:flex-start!important;min-height:42px!important;padding:7px!important;}
.ccp-recent-colors .ccp-recent-swatch{width:30px!important;height:30px!important;min-width:30px!important;max-width:30px!important;flex:0 0 30px!important;border-radius:10px!important;padding:0!important;}
.ccp-editor.open{touch-action:none!important;overscroll-behavior:none!important;}
.ccp-editor.open .ccp-stage{touch-action:none!important;overflow:auto!important;-webkit-overflow-scrolling:touch!important;overscroll-behavior:contain!important;}
.ccp-editor.open .ccp-artboard,.ccp-editor.open .ccp-svg-host,.ccp-editor.open .ccp-svg-host svg{touch-action:none!important;}
.ccp-editor.open .ccp-action-dock,.ccp-editor.open .ccp-editor-top,.ccp-editor.open .ccp-tools{touch-action:manipulation!important;transform:none!important;will-change:auto!important;}
.ccp-editor.open .ccp-action-dock button,.ccp-editor.open .ccp-editor-top button,.ccp-editor.open .ccp-tools button{touch-action:manipulation!important;}
@media(max-width:720px){
  .ccp-editor.open{position:fixed!important;inset:0!important;overflow:hidden!important;width:100vw!important;height:100dvh!important;}
  .ccp-editor.open .ccp-editor-panel{height:100dvh!important;max-height:100dvh!important;overflow:hidden!important;}
  .ccp-editor.open .ccp-stage{bottom:104px!important;padding-bottom:116px!important;}
  .ccp-editor.open .ccp-action-dock{position:absolute!important;left:0!important;right:0!important;bottom:0!important;z-index:80!important;transform:none!important;}
  .ccp-editor.open .ccp-tools{z-index:70!important;}
  .ccp-editor.open .ccp-recent-colors{gap:6px!important;min-height:40px!important;padding:6px!important;}
  .ccp-editor.open .ccp-recent-colors .ccp-recent-swatch{width:28px!important;height:28px!important;min-width:28px!important;max-width:28px!important;flex-basis:28px!important;}
}


/* v6.2.35: final mobile drawer controller override
   Fixes bottom sheet staying half-open/blank because older mobile CSS forced transform:none. */
@media (max-width:720px){
  .ccp-editor.open{
    overflow:hidden!important;
    height:100dvh!important;
    max-height:100dvh!important;
    touch-action:manipulation!important;
  }

  .ccp-editor.open .ccp-editor-panel{
    height:100dvh!important;
    max-height:100dvh!important;
    overflow:hidden!important;
    display:flex!important;
    flex-direction:column!important;
  }

  .ccp-editor.open .ccp-stage-area{
    min-height:0!important;
    flex:1 1 auto!important;
    overflow:hidden!important;
  }

  .ccp-editor.open .ccp-stage{
    min-height:0!important;
    flex:1 1 auto!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
    padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))!important;
    touch-action:none!important;
    overscroll-behavior:contain!important;
  }

  .ccp-editor.open .ccp-action-dock{
    position:relative!important;
    z-index:70!important;
    flex:0 0 auto!important;
    transform:none!important;
    touch-action:manipulation!important;
  }

  .ccp-editor.open .ccp-tools{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    top:auto!important;
    bottom:calc(92px + env(safe-area-inset-bottom,0px))!important;
    width:auto!important;
    height:min(72dvh,560px)!important;
    max-height:min(72dvh,560px)!important;
    min-height:0!important;
    z-index:69!important;
    padding:64px 12px 14px!important;
    border:1px solid rgba(203,213,225,.95)!important;
    border-radius:24px 24px 0 0!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;
    box-shadow:0 -16px 44px rgba(15,23,42,.18)!important;
    overflow:hidden!important;
    transform:translate3d(0,calc(100% - 58px),0)!important;
    transition:transform .22s ease!important;
    will-change:transform!important;
    touch-action:pan-y!important;
  }

  .ccp-editor.open.ccp-tools-open .ccp-tools{
    transform:translate3d(0,0,0)!important;
    overflow-y:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }

  .ccp-editor.open .ccp-tools-handle{
    display:flex!important;
    position:absolute!important;
    top:0!important;
    left:0!important;
    right:0!important;
    height:58px!important;
    align-items:center!important;
    justify-content:center!important;
    background:linear-gradient(180deg,#ffffff 0%,#f8fafc 70%,#eef6ff 100%)!important;
    border-radius:24px 24px 0 0!important;
    z-index:3!important;
    cursor:pointer!important;
    touch-action:none!important;
  }

  .ccp-editor.open .ccp-tools-handle span{
    width:86px!important;
    height:6px!important;
    border-radius:999px!important;
    background:linear-gradient(90deg,#94a3b8,#64748b,#94a3b8)!important;
    display:block!important;
  }

  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools > :not(.ccp-tools-handle){
    display:none!important;
  }

  .ccp-editor.open:not(.ccp-tools-open) .ccp-tools{
    overflow:hidden!important;
  }

  .ccp-editor.open.ccp-tools-open .ccp-tools > :not(.ccp-tools-handle){
    display:flex;
  }

  .ccp-editor.open.ccp-tools-open .ccp-tools label,
  .ccp-editor.open.ccp-tools-open .ccp-tools .ccp-recent-title,
  .ccp-editor.open.ccp-tools-open .ccp-tools .ccp-gradient-title,
  .ccp-editor.open.ccp-tools-open .ccp-tools .ccp-vector-note{
    display:block!important;
  }

  .ccp-editor.open.ccp-tools-open .ccp-palette,
  .ccp-editor.open.ccp-tools-open .ccp-recent-colors,
  .ccp-editor.open.ccp-tools-open .ccp-recent-gradients,
  .ccp-editor.open.ccp-tools-open .ccp-gradient-palette,
  .ccp-editor.open.ccp-tools-open .ccp-line-controls{
    display:grid!important;
  }

  .ccp-editor.open.ccp-tools-open .ccp-same-shape-box{
    display:block!important;
  }

  .ccp-editor.open .ccp-close,
  .ccp-editor.open .ccp-close-main,
  .ccp-editor.open .ccp-theme-toggle{
    position:relative!important;
    z-index:90!important;
    touch-action:manipulation!important;
  }
}


/* v6.2.36: mobile fast-fill note polish */
@media(max-width:720px){
  .ccp-same-shape-box small{font-size:11px!important;line-height:1.35!important;}
}


/* v6.2.37: mobile balanced fill note */
@media(max-width:720px){
  .ccp-same-shape-box small{font-size:11px!important;line-height:1.35!important;}
}


/* v6.2.38: mobile legacy fast similar fill note */
@media(max-width:720px){
  .ccp-same-shape-box small{font-size:11px!important;line-height:1.35!important;}
}


/* v6.2.39: real mobile corner space + easier pan */
@media(max-width:720px){
  .ccp-editor.open .ccp-stage{
    padding:14px 14px calc(126px + env(safe-area-inset-bottom,0px)) 14px !important;
    justify-content:flex-start !important;
    align-items:flex-start !important;
  }
  .ccp-editor.open .ccp-artboard{
    margin-right:18px !important;
    margin-bottom:18px !important;
  }
}


/* v6.2.40: more top corner space on real mobile + Line Art Color help text */
.ccp-line-help{
  display:block!important;
  margin:-2px 0 4px!important;
  padding:8px 10px!important;
  border:1px solid #dbeafe!important;
  border-radius:12px!important;
  background:#eff6ff!important;
  color:#334155!important;
  font-size:11.5px!important;
  font-weight:750!important;
  line-height:1.35!important;
}
@media(max-width:720px){
  .ccp-editor.open .ccp-stage{
    padding-top:56px!important;
    padding-left:18px!important;
    padding-right:18px!important;
    padding-bottom:calc(132px + env(safe-area-inset-bottom,0px))!important;
    justify-content:flex-start!important;
    align-items:flex-start!important;
    scroll-padding-top:56px!important;
  }
  .ccp-editor.open .ccp-artboard{
    margin-top:0!important;
    margin-right:24px!important;
    margin-bottom:24px!important;
  }
  .ccp-editor.open .ccp-artboard{
    padding-top:38px!important;
  }
  .ccp-line-help{
    font-size:10.8px!important;
    padding:7px 8px!important;
  }
}


/* v6.2.41: polished UI text + stronger top-pan space on mobile */
@media(max-width:720px){
  .ccp-editor.open .ccp-stage{
    padding-top:92px!important;
    padding-left:20px!important;
    padding-right:20px!important;
    padding-bottom:calc(138px + env(safe-area-inset-bottom,0px))!important;
    scroll-padding-top:92px!important;
  }
  .ccp-editor.open .ccp-artboard{
    padding-top:82px!important;
    padding-left:26px!important;
    padding-right:26px!important;
    padding-bottom:22px!important;
    margin-top:0!important;
    margin-right:28px!important;
    margin-bottom:28px!important;
  }
  .ccp-vector-note{
    font-size:11px!important;
    line-height:1.35!important;
  }
}
