/* The picture keeps its chosen colors in high contrast; controls keep readable outlines. */
.page-color-postcard main{padding-block:2rem 4rem}.cp-intro,.cp-workspace{max-width:960px;margin-inline:auto}.cp-intro h1{line-height:1.3}.cp-intro p{max-width:40em}.cp-workspace{padding:1.25rem;border:2px solid currentColor;border-radius:20px;background:#fffdf8;color:#282c34;overflow-wrap:anywhere}.cp-workspace h2{margin-block:1.4em .5em}.cp-workspace p{font-size:var(--reading-font,24px);line-height:1.6}.cp-workspace button{font-family:inherit;font-size:var(--reading-font,24px);line-height:1.35;min-height:64px;padding:.65em .75em;white-space:normal;overflow-wrap:anywhere;border:2px solid #353947;border-radius:12px;background:#fff;color:#242831;cursor:pointer}.cp-workspace button:focus-visible,.cp-workspace svg [role=button]:focus-visible{outline:5px solid #111;outline-offset:4px}.cp-workspace svg [role=button]:focus-visible{stroke:#111;stroke-width:9}.cp-palette{display:grid;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));gap:12px}.cp-color{display:flex;align-items:center;gap:.4em;text-align:start}.cp-swatch,.cp-part-swatch{display:inline-block;flex:0 0 1.3em;width:1.3em;height:1.3em;border:2px solid #353947;border-radius:50%;background:var(--cp-color);forced-color-adjust:none}.cp-color[aria-pressed=true]{box-shadow:0 0 0 3px #353947 inset;background:#f6ead7}.cp-picked{margin-inline-start:auto;visibility:hidden;font-weight:bold}.cp-color[aria-pressed=true] .cp-picked{visibility:visible}.cp-chosen{font-weight:700}.cp-picture{max-width:620px;margin:1rem auto}.cp-picture svg{display:block;width:100%;height:auto;overflow:visible;forced-color-adjust:none}.cp-picture [data-cp-part]{cursor:pointer}.cp-tools{display:flex;flex-wrap:wrap;gap:12px}.cp-tools button{flex:1 1 190px}.cp-workspace button:disabled{cursor:default;opacity:.6}.cp-status{min-height:3.4em;border-inline-start:5px solid currentColor;padding:.5em .75em;background:#f6ead7}.cp-part-buttons{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.cp-part-buttons button{display:flex;align-items:center;gap:.5em;text-align:start}.cp-save-note{border-top:2px solid currentColor;padding-top:1rem}.high-contrast .cp-workspace,.contrast .cp-workspace{background:#000!important;color:#fff!important}.high-contrast .cp-workspace button,.contrast .cp-workspace button{background:#000!important;color:#fff!important;border-color:#fff!important}.high-contrast .cp-workspace .cp-status,.contrast .cp-workspace .cp-status{background:#111!important;color:#fff!important}.high-contrast .cp-workspace button[aria-pressed=true],.contrast .cp-workspace button[aria-pressed=true]{outline:3px solid #fff;outline-offset:2px}.high-contrast .cp-workspace button:focus-visible,.contrast .cp-workspace button:focus-visible{outline:5px dashed #fff;outline-offset:5px}.high-contrast .cp-workspace svg [role=button]:focus-visible,.contrast .cp-workspace svg [role=button]:focus-visible{outline:5px solid #111;stroke:#111;stroke-width:9}@media(max-width:420px){.cp-workspace{padding:.7rem;border-radius:12px}.cp-palette{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cp-part-buttons{grid-template-columns:minmax(0,1fr)}.cp-color{flex-wrap:wrap}.cp-swatch{flex-basis:1.3em}.cp-tools button{flex-basis:100%}}

/* Override the site-wide high-contrast background rule only for these labels and color samples. */
.cp-workspace .cp-swatch,.cp-workspace .cp-part-swatch{background-color:var(--cp-color,#fff)!important}
body:is(.high-contrast,.contrast) .cp-workspace :is(h2,p,.cp-palette,.cp-tools,.cp-part-buttons){background-color:transparent!important;color:#fff!important}
body:is(.high-contrast,.contrast) .cp-workspace button span{background-color:transparent!important;color:inherit!important;-webkit-text-fill-color:currentColor!important}
body:is(.high-contrast,.contrast) .cp-workspace button .cp-swatch,body:is(.high-contrast,.contrast) .cp-workspace button .cp-part-swatch{background-color:var(--cp-color,#fff)!important}
/* Match the site's existing black-on-white contrast layer, including text fill. */
@layer kang-readable-contrast {
 body.high-contrast .cp-workspace{background:#fff!important;color:#111!important}
 body.high-contrast .cp-workspace :is(h2,p,.cp-chosen,.cp-status,.cp-save-note,.cp-palette,.cp-tools,.cp-part-buttons){background-color:#fff!important;color:#111!important;-webkit-text-fill-color:#111!important}
 body.high-contrast .cp-workspace button{background:#fff!important;color:#111!important;border-color:#111!important}
 body.high-contrast .cp-workspace button span{color:inherit!important;-webkit-text-fill-color:currentColor!important;background-color:transparent!important}
 body.high-contrast .cp-workspace button[aria-pressed=true]{background:#111!important;color:#fff!important}
 body.high-contrast .cp-workspace button[aria-pressed=true] span{color:#fff!important;-webkit-text-fill-color:#fff!important}
 body.high-contrast .cp-workspace button :is(.cp-swatch,.cp-part-swatch){background-color:var(--cp-color,#fff)!important}
}
