.cp-page { margin: 0; font: 1rem/1.45 -apple-system, BlinkMacSystemFont, "Inter", sans-serif; background: #edf1f3; color: #1d2c35; }
.cp-wrap { --accent: #193b46; --text-muted: #4a5d64; --border: #c9d4d6; width: min(70rem, calc(100% - 3rem)); margin-inline: auto; padding-block: clamp(2.5rem, 7vw, 5.25rem) 2.5rem; }
.cp-wrap *, .cp-wrap *::before,.cp-wrap *::after { box-sizing: border-box; }
.cp-wrap [hidden] { display: none !important; }
.cp-wrap h1,.cp-wrap h2,.cp-wrap p { margin: 0; }
.cp-intro h1 { font-size: clamp(3.2rem,9vw,6rem); font-weight: 710; letter-spacing: -.04em; line-height: 1; }
.cp-intro p { max-width: 40rem; margin-top: 1rem; color: var(--text-muted); font-size: 1.08rem; line-height: 1.5; }
.cp-workbench { display: grid; grid-template-columns: minmax(15rem,.75fr) minmax(0,1.35fr); gap: clamp(1rem,3vw,2.3rem); align-items: start; margin-top: 2.4rem; }
.cp-wrap a { color: var(--accent); text-underline-offset: .22em; }
.cp-wrap :is(button,select,textarea) { color: inherit; font: inherit; }
.cp-wrap button,.cp-wrap select { cursor: pointer; }
.cp-wrap :focus-visible { outline: 3px solid #087d91; outline-offset: 4px; }
.cp-character { border: 1px solid var(--border); border-radius: 1.3rem; background: #fff; overflow: hidden; }
.cp-stage { display: grid; place-items: center; min-height: 11rem; padding: .7rem; background: radial-gradient(ellipse at 50% 60%,#e9f7f9,#bed3d6); }
.cp-stage[data-color="mint"] { background: radial-gradient(ellipse at 50% 60%,#ecfff3,#a6cfb7); }
.cp-stage[data-color="amber"] { background: radial-gradient(ellipse at 50% 60%,#fffae6,#e1c282); }
.cp-stage[data-color="plum"] { background: radial-gradient(ellipse at 50% 60%,#f9eefa,#c5a4ca); }
.cp-character-art { width: min(100%,14rem); aspect-ratio: 1; border-radius: .7rem; background: url('/images/hoppers.webp') 0 50% / 400% 100% no-repeat; }
.cp-character-art:is([data-hopper="hopperbot"],[data-hopper$="-bot"]) { background-image: url('/images/robots.webp'); }
.cp-character-art:is([data-hopper="luna-bot"],[data-hopper="hopper"]) { background-position-x: 33.333333%; }
.cp-character-art:is([data-hopper="scout-bot"],[data-hopper="scout"]) { background-position-x: 66.666667%; }
.cp-character-art:is([data-hopper="tiger-bot"],[data-hopper="tiger"]) { background-position-x: 100%; }
.cp-options { padding: clamp(1.1rem,2.7vw,1.7rem); display: grid; gap: .45rem; }
.cp-options h2 { font-size: 1.3rem; letter-spacing: -.025em; }
.cp-options label,.cp-composer label { font-size: .88rem; font-weight: 700; }
.cp-options label { margin-top: .6rem; }
.cp-options select { width: 100%; min-height: 2.8rem; padding: .45rem .6rem; border: 1px solid var(--border); border-radius: .55rem; background: #f7f9f9; }
.cp-options a,.cp-title a,.cp-wrap footer a { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; width: fit-content; }
.cp-options a { margin-top: .25rem; }
.cp-composer { padding: clamp(1.2rem,3.5vw,2.4rem); background: white; border: 1px solid var(--border); border-radius: 1.3rem; min-width: 0; }
.cp-title { display: flex; align-items: center; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; }
.cp-title h2 { font-size: clamp(1.7rem,4vw,2.6rem); letter-spacing: -.05em; }
.cp-title a { font-size: .88rem; }
.cp-context { margin-block: 1.3rem; padding: .8rem 1rem; border-left: 3px solid #5a8892; background: #eef5f5; border-radius: 0 .6rem .6rem 0; }
.cp-context p:first-child { font-weight: 680; }
.cp-context p+p { font-size: .9rem; color: var(--text-muted); margin-top: .2rem; line-height: 1.4; }
.cp-composer textarea { display: block; width: 100%; min-height: 10.5rem; margin-top: .4rem; padding: .9rem; line-height: 1.55; border: 1px solid #92a7aa; border-radius: .75rem; resize: vertical; }
.cp-meter { display: flex; justify-content: space-between; align-items: center; gap: .5rem; color: var(--text-muted); font-size: .83rem; }
.cp-meter button { min-height: 2.75rem; background: transparent; color: var(--accent); border: 0; padding: .4rem .2rem; text-decoration: underline; text-underline-offset: .2em; font-weight: 650; }
#storage-note,#handoff-note,#feedback { font-size: .86rem; color: var(--text-muted); line-height: 1.45; }
.cp-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-block: 1.25rem .55rem; }
.cp-wrap .cp-primary { display: inline-flex; align-items: center; text-decoration: none; min-height: 2.9rem; padding: .65rem 1.1rem; border: 1px solid var(--accent); color: white; background: var(--accent); border-radius: .65rem; font-weight: 700; }
.cp-wrap .cp-secondary { color: var(--accent); background: transparent; }
.cp-wrap #feedback { color: #17623d; margin-top: .65rem; }
.cp-wrap footer { padding-top: 1.3rem; }
@media (max-width:730px) {
 .cp-wrap { width: min(100% - 2rem,40rem); } .cp-workbench { grid-template-columns: 1fr; margin-top: 1.5rem; } .cp-character { display: grid; grid-template-columns: minmax(5.5rem,.7fr) minmax(0,1.3fr); } .cp-stage { min-height: 0; padding: 0; }
 .cp-options { padding: .75rem 1rem; gap: .18rem; } .cp-options label { margin-top: .2rem; } .cp-options select { min-height: 2.75rem; }
}
