.cc-page{max-width:1120px;margin:auto;padding:24px 16px 84px;color:#23382e}
.cc-page [hidden]{display:none!important}
.cc-page h1{font-size:clamp(1.8rem,4vw,3rem);line-height:1.12;font-weight:750;margin:20px 0 10px}
.cc-page h2{font-size:1.24rem;font-weight:700;margin-bottom:8px}
.cc-page p{margin:8px 0}.cc-page section{min-width:0}
.cc-page>section{margin-top:32px}.cc-page ol{list-style:decimal;padding-left:24px}
.cc-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}
.cc-gallery button,.cc-work button:not(.cc-primary){border:1px solid #c9d1c8;border-radius:8px;padding:6px 9px;text-align:left;cursor:pointer}
.cc-gallery small,.cc-gallery strong{display:block}
.cc-page button[aria-pressed=true]{outline:2px solid #315646;outline-offset:-2px}
.cc-page i{display:inline-block;width:14px;height:14px;border:1px solid #adb4a9;border-radius:50%;margin-right:4px}
.cc-work{display:grid;grid-template-columns:minmax(0,68fr) minmax(0,32fr);gap:14px;align-items:start;scroll-margin-top:12px}
.cc-stage{display:grid;place-items:center;position:relative;aspect-ratio:4/3;background:#f0eee6;border:1px solid #c9d1c8;border-radius:10px;overflow:hidden}
.cc-stage canvas{position:absolute;inset:0;width:100%;height:100%;touch-action:none}
#cc-file{position:absolute;width:1px;height:1px;opacity:0}
.cc-stage:focus-within label{outline:2px solid #24362d;outline-offset:3px}
.cc-stage small{display:block;font-weight:400}.cc-stage [data-badge]{position:absolute;right:8px;top:8px;background:white;padding:4px 8px;border-radius:6px;pointer-events:none}
.cc-stage [data-split]{position:absolute;inset:0;width:100%;height:100%;margin:0;appearance:none;background:transparent;cursor:ew-resize;touch-action:pan-y}
.cc-stage [data-split]::-webkit-slider-thumb{appearance:none;width:28px;height:28px;background:#315646;border:2px solid white;border-radius:50%}
.cc-stage [data-split]::-moz-range-thumb{width:24px;height:24px;background:#315646;border:2px solid white;border-radius:50%}
.cc-primary{display:inline-block;background:#315646;color:white;border-radius:8px;padding:10px 14px;font-weight:700;cursor:pointer}
.cc-page :disabled{opacity:.5;cursor:default}
.cc-toolbar,.cc-results,.cc-pills{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0}
.cc-toolbar label{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.cc-pills{flex-wrap:nowrap;overflow:auto}.cc-pills button{white-space:nowrap}
.cc-results{grid-column:1/-1}.cc-results img{width:120px;height:90px;object-fit:contain}
.cc-export{justify-self:start}
[data-replace]{display:inline-block;text-decoration:underline;cursor:pointer;margin:8px}
@media(max-width:767px){.cc-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.cc-work{grid-template-columns:minmax(0,1fr)}.cc-export{position:fixed;bottom:0;left:0;width:100%;height:56px;z-index:10;border-radius:0}}
.cc-page{background:#fcfbf7;color:#23382e;color-scheme:light}
.cc-page a{color:inherit}.cc-page button,.cc-page label{font-family:inherit}
.cc-gallery button{background:#f7f6ef;line-height:1.2}
.cc-gallery small{font-size:.72rem;margin-top:2px}
@media(max-width:767px){
  .cc-gallery{gap:4px;margin:10px 0}
  .cc-gallery button{padding:4px 6px;font-size:.78rem}
  .cc-gallery i{width:10px;height:10px;margin-right:3px}
  .cc-gallery small{font-size:.65rem}
  .cc-page h1{font-size:1.75rem;margin:12px 0 8px}
  .cc-stage:has([data-drop]:not([hidden])) [data-drop]{position:fixed;bottom:0;left:0;width:100%;height:56px;text-align:center;z-index:12;border-radius:0}
}
.cc-shell .cs-hero-inner.cs-hero-split{padding-block:clamp(32px,6vw,80px)}
.cc-shell .cs-hero h1{font-size:clamp(2.35rem,4.6vw,4.6rem);line-height:1.05}
.cc-shell .cc-demo{align-self:center}
.cc-demo figcaption{font-size:.78rem;color:var(--cs-muted);margin-top:8px}
.cc-shell .cc-page{max-width:none;background:transparent;color:inherit;padding:0 0 82px}
.cc-shell .cc-page h2{font-size:clamp(1.7rem,3vw,2.5rem);margin-bottom:12px}
.cc-shell .cc-work h2{font-size:1.2rem}
.cc-shell .cc-page>section{margin-top:0}
.cc-shell .cc-primary{background:var(--cs-action)}
.cc-studio,.cc-work{scroll-margin-top:110px}
.cc-guide h3{margin-top:24px}
.cc-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.cc-related li{border-top:1px solid var(--cs-border);padding-top:16px}
.cc-related a{font-weight:700;text-decoration:underline;text-underline-offset:4px}
.cc-related p{color:var(--cs-muted)}
@media(max-width:767px){
  .cc-shell .cs-header .cs-nav{display:flex}
  .cc-shell .cs-hero h1{font-size:clamp(2.15rem,8vw,3rem)}
  .cc-related{grid-template-columns:1fr;gap:12px}
  .cc-shell .cc-stage:has([data-drop]:not([hidden])) [data-drop]{position:static;width:auto;height:auto;border-radius:8px}
}
.cc-demo .demo-badge{position:absolute;left:10px;top:10px;background:#fcfbf7;color:var(--cs-ink);padding:3px 8px;border-radius:4px;font-size:.7rem;font-weight:700}
