.collection-workspace,.ch-dialog{--ch-bg:var(--bg,#f4e8ca);--ch-surface:var(--surface,#fff8e6);--ch-ink:var(--text,#090511);--ch-muted:var(--text-dim,#60537b);--ch-line:var(--rule,#b9abb6);--ch-accent:var(--accent,#c6ff3d);color:var(--ch-ink);font-family:var(--display,'Bricolage Grotesque',system-ui);font-size:16px;line-height:1.5;text-align:left}
.collection-workspace{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:48px;max-width:1280px;margin:0 auto;padding:48px 28px 72px;align-items:start}
.collection-workspace *,.ch-dialog *{box-sizing:border-box}.collection-workspace [hidden],.ch-dialog [hidden]{display:none!important}
.collection-workspace h1{font-size:clamp(34px,3.8vw,50px);line-height:1.06;letter-spacing:-1.6px;max-width:670px;margin:12px 0 18px;font-weight:800}.collection-workspace h2,.ch-dialog h2{font-size:24px;line-height:1.2;letter-spacing:-.5px;margin:0 0 12px}.collection-workspace h3,.ch-dialog h3{font-size:19px;margin:0 0 12px}
.ch-kicker{font-family:var(--mono,monospace);font-size:12px;font-weight:700;letter-spacing:1.8px;color:var(--ch-muted);margin:0 0 10px}.ch-note{font-size:14px;color:var(--ch-muted);line-height:1.5;margin:10px 0}.ch-intro{font-size:18px;max-width:640px;margin-bottom:30px}.ch-main{min-width:0}.ch-field{display:grid;gap:9px;margin:18px 0;font-size:16px;font-weight:700}.ch-field textarea,.ch-field select,.ch-dialog textarea,.ch-upload input{font:inherit;color:var(--ch-ink);background:var(--ch-surface);border:2px solid var(--ch-ink);border-radius:14px;width:100%;min-width:0;padding:14px 16px;resize:vertical;line-height:1.45;font-weight:500;min-height:48px}.ch-field textarea::placeholder{color:var(--ch-muted);opacity:.85}.ch-field textarea:focus-visible,.ch-button:focus-visible,.ch-focus-card summary:focus-visible,.ch-context-details summary:focus-visible,.ch-field select:focus-visible{outline:3px solid var(--ch-accent);outline-offset:4px}
.ch-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;min-height:46px;border:2px solid var(--ch-ink);border-radius:999px;box-shadow:3px 3px 0 var(--ch-ink);font:inherit;font-weight:750;line-height:1.25;color:var(--ch-ink);background:var(--ch-surface);cursor:pointer;text-decoration:none;text-align:center;max-width:100%}.ch-button:hover{transform:translateY(-1px)}.ch-button:active{transform:translate(2px,2px);box-shadow:1px 1px 0 var(--ch-ink)}.ch-button.ch-primary{background:var(--ch-accent);color:var(--on-accent,#090511)}.ch-button.ch-quiet{box-shadow:none;border-color:transparent;background:transparent;padding-left:0;padding-right:0;text-decoration:underline;text-underline-offset:5px}.ch-actions,.ch-main-actions,.ch-secondary-actions{display:flex;gap:14px;align-items:center;flex-wrap:wrap}.ch-main-actions{margin-top:28px}.ch-secondary-actions{margin-top:26px;padding-top:20px;border-top:1px solid var(--ch-line);font-size:14px}
.ch-context-details{border-bottom:1px solid var(--ch-line);padding:4px 0 18px;margin:20px 0 30px}.ch-context-details>summary{cursor:pointer;min-height:44px;display:flex;gap:14px;align-items:center;justify-content:space-between;font-weight:700}.ch-context-details>summary:before{content:'+';font-size:24px;font-weight:500}.ch-context-details[open]>summary:before{content:'−'}.ch-context-details>summary span{color:var(--ch-muted);font-size:13px;font-weight:500;margin-left:auto}.ch-section-heading{display:flex;gap:14px;align-items:baseline;justify-content:space-between;margin:32px 0 16px}.ch-section-heading h2{margin:0}.ch-section-heading>span{font-size:13px;color:var(--ch-muted)}
.ch-focus-card{border:2px solid var(--ch-ink);border-radius:20px;background:var(--ch-surface);margin:0 0 14px;overflow:hidden}.ch-focus-card>summary{display:flex;align-items:center;gap:16px;min-height:92px;padding:18px 20px;cursor:pointer;list-style:none}.ch-focus-card>summary::-webkit-details-marker{display:none}.ch-focus-card>summary strong{display:block;font-size:20px;line-height:1.2}.ch-focus-card>summary small{display:block;color:var(--ch-muted);font-size:14px;margin-top:5px}.ch-focus-card>summary:after{content:'+';font-size:26px;line-height:1;margin-left:6px}.ch-focus-card[open]>summary:after{content:'−'}.ch-symbol{display:grid;place-items:center;width:45px;height:45px;flex:0 0 45px;border:2px solid var(--ch-ink);border-radius:13px;transform:rotate(-4deg);background:var(--ch-accent);box-shadow:2px 2px 0 var(--ch-ink);color:var(--on-accent,#090511)}.ch-symbol svg{width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ch-card-state{margin-left:auto;font-size:12px;color:var(--ch-muted)}.ch-focus-body{border-top:1px solid var(--ch-line);padding:0 20px 16px}.ch-focus-body .ch-actions{margin:18px 0 10px;font-size:14px}
.ch-tracker{border:2px solid var(--ch-ink);border-radius:24px;box-shadow:5px 5px 0 var(--ch-ink);background:var(--ch-surface);padding:24px;position:sticky;top:24px}.ch-tracker h2{font-size:26px}.ch-rows{margin:22px 0}.ch-rows>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--ch-line);font-size:14px}.ch-rows dt{font-weight:650}.ch-rows dd{color:var(--ch-muted);margin:0;text-align:right;font-size:13px}.ch-saved-data{border-top:2px solid var(--ch-ink);padding-top:22px;margin-top:24px}.ch-data-row{display:flex;flex-direction:column;gap:3px;font-size:14px;margin:15px 0}.ch-data-row span{color:var(--ch-muted);font-size:13px}.ch-tracker .ch-button{font-size:14px}.ch-tracker-trigger{display:none}.ch-status{font-size:14px;color:var(--ch-muted);min-height:1.5em;margin:20px 0 0;overflow-wrap:anywhere}
.ch-handoff-steps{list-style:none;padding:0;counter-reset:handoff;margin:30px 0}.ch-handoff-steps li{position:relative;padding:0 0 20px 48px;counter-increment:handoff}.ch-handoff-steps li:before{content:counter(handoff);position:absolute;left:0;top:0;display:grid;place-items:center;width:30px;height:30px;border:2px solid var(--ch-ink);border-radius:50%;font-weight:750}.ch-handoff-steps strong{font-size:19px}.ch-handoff-steps .ch-note{margin-top:5px}.ch-summary-card{border:2px solid var(--ch-ink);border-radius:20px;padding:22px;background:var(--ch-surface);margin:24px 0}.ch-summary-card h2{font-size:21px;overflow-wrap:anywhere}.collection-workspace pre,.ch-dialog pre{font:12px/1.6 var(--mono,monospace);white-space:pre-wrap;overflow-wrap:anywhere;max-height:360px;overflow:auto;padding:14px;background:var(--ch-surface);border:1px solid var(--ch-line);border-radius:10px}.ch-upload{display:grid;gap:14px;padding:22px;background:var(--ch-surface);border:2px dashed var(--ch-ink);border-radius:20px}.ch-upload input{font-size:14px;border:0;padding:0;border-radius:0}.ch-upload input::file-selector-button{font:inherit;border:2px solid var(--ch-ink);border-radius:99px;padding:10px 16px;margin-right:12px;background:var(--ch-bg);color:var(--ch-ink);cursor:pointer}.ch-output-list{padding-left:20px}.ch-output-list li{margin:12px 0;overflow-wrap:anywhere}.ch-output-list span{display:block;font-size:13px;color:var(--ch-muted)}
.ch-dialog{border:2px solid var(--ch-ink);border-radius:24px;background:var(--ch-bg);padding:0;max-width:720px;width:calc(100% - 32px);max-height:calc(100dvh - 48px);box-shadow:7px 7px 0 var(--ch-ink)}.ch-dialog::backdrop{background:rgba(12,6,26,.55)}.ch-dialog-inner{padding:24px;overflow:auto}.ch-dialog header{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:20px}.ch-dialog header h2{margin:0}.ch-dialog .ch-copy-text{font:12px/1.5 var(--mono,monospace);height:45vh;margin-bottom:16px;resize:vertical}.ch-wrap{display:block;overflow-wrap:anywhere;font-size:13px}
@media(max-width:1100px){.collection-workspace{grid-template-columns:minmax(0,1fr);max-width:820px;padding:30px 24px 54px}.ch-tracker{display:none}.ch-tracker-trigger{display:flex;width:100%;justify-content:space-between;margin-bottom:26px;box-shadow:3px 3px 0 var(--ch-ink);font-size:14px}.ch-tracker-trigger:after{content:'↗'}.ch-dialog .ch-tracker-content{padding:2px}}
@media(max-width:600px){.collection-workspace{padding:24px 16px 42px;gap:0}.collection-workspace h1{font-size:34px;letter-spacing:-1px}.ch-intro{font-size:16px;margin-bottom:24px}.ch-field textarea{font-size:16px;padding:12px}.ch-section-heading{display:block;margin-top:28px}.ch-section-heading>span{display:block;margin-top:6px}.ch-focus-card>summary{padding:16px 14px;gap:12px;min-height:90px}.ch-focus-card>summary strong{font-size:19px}.ch-focus-card>summary small{font-size:13px}.ch-card-state{display:none}.ch-focus-card>summary:after{margin-left:auto}.ch-focus-body{padding:0 14px 14px}.ch-focus-body .ch-actions .ch-button{width:100%}.ch-main-actions>.ch-primary{width:100%}.ch-handoff-steps li{padding-left:42px}.ch-handoff-steps strong{font-size:18px}.ch-summary-card{padding:18px}.ch-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 30px);border-radius:20px}.ch-dialog-inner{padding:20px 16px}.ch-dialog h2{font-size:23px}.ch-dialog header .ch-button{flex-shrink:0}.ch-secondary-actions{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.ch-button{transform:none!important}}

#collection-preparation[hidden],#lab-concept[hidden],html.collection-preparation-mode #lab-concept:not(.collection-course-active){display:none!important}

.ch-expectation-app{padding:20px 0;border-top:1px solid var(--ch-line)}.ch-check-label,.ch-expectation-field{display:flex;gap:12px;align-items:flex-start;min-height:44px;padding:10px 0}.ch-check-label input,.ch-expectation-field input{width:20px;height:20px;flex:0 0 20px;accent-color:var(--ch-ink);margin-top:3px}.ch-expectation-app>input[type=text]{font:inherit;width:100%;min-height:44px;padding:10px 14px;border:2px solid var(--ch-ink);border-radius:12px;background:var(--ch-surface);color:var(--ch-ink)}.ch-expectation-field small{display:block;font-size:11px;color:var(--ch-muted);overflow-wrap:anywhere}.ch-expectation-field strong{font-size:14px}.ch-expectation-field span{min-width:0}.ch-expectation-app .ch-context-details[open]{max-height:380px;overflow:auto}

.ch-tracker .ch-data-row{flex-direction:row;justify-content:space-between;gap:12px}.ch-tracker .ch-data-row span{text-align:right;max-width:170px}

.collection-workspace{scroll-margin-top:84px}
.ch-tracker{top:96px;max-height:calc(100dvh - 120px);overflow:auto;scrollbar-width:thin}.ch-choice-tracker dd small{display:block;font-size:11px;margin-top:5px;line-height:1.5}.ch-picker .ch-picker-drawers{display:block}.ch-picker-drawers>details{border-bottom:1px solid var(--ch-line)}.ch-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px;padding-bottom:8px}.ch-picker-help dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}

/* Optional choices prepare the external-agent brief; no native app is embedded. */
.ch-picker{padding:24px 0 8px}.ch-picker-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px}.ch-picker-heading h3{margin:0;font-size:21px;line-height:1.25}.ch-picker-count{flex:none;font:600 11px/1.4 var(--mono,monospace);color:var(--ch-muted)}.ch-picker>.ch-note{margin:8px 0 18px;max-width:560px}.ch-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ch-button.ch-choice{display:flex;align-items:flex-start;justify-content:flex-start;gap:12px;min-height:118px;padding:16px 14px;border-radius:16px;box-shadow:none;text-align:left;font-weight:500;background:var(--ch-bg)}.ch-choice strong{display:block;font-size:16px;line-height:1.25;margin:2px 0 7px;font-weight:750}.ch-choice small{display:block;font-size:13px;line-height:1.45;color:var(--ch-muted)}.ch-choice-symbol{flex:none;width:26px;height:28px;margin-top:2px}.ch-choice-symbol svg{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ch-choice-mark{flex:none;border:2px solid currentColor;border-radius:50%;width:16px;height:16px;margin-left:auto;margin-top:5px}.ch-choice[aria-pressed=true]{background:var(--ch-ink);color:var(--ch-surface);box-shadow:3px 3px 0 var(--ch-accent)}.ch-choice[aria-pressed=true] small{color:inherit;opacity:.85}.ch-choice[aria-pressed=true] .ch-choice-mark{background:var(--ch-accent);border-color:var(--ch-accent)}.ch-picker-feedback{min-height:21px;font-size:12px;margin:12px 0 0}.ch-picker-feedback:empty{min-height:0;margin:0}.ch-picker-drawers{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:20px;margin-top:12px}.ch-picker-drawers summary{display:flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-size:14px;font-weight:700;list-style:none}.ch-picker-drawers summary::-webkit-details-marker{display:none}.ch-picker-drawers summary:before{content:'+';font-size:20px}.ch-picker-drawers details[open]>summary:before{content:'−'}.ch-picker-drawers summary>span{color:var(--ch-muted);font-size:12px;font-weight:500}.ch-picker-help dl{margin:4px 0 10px}.ch-picker-help dl>div{margin:10px 0;padding-bottom:10px;border-bottom:1px solid var(--ch-line)}.ch-picker-help dt{font-size:13px;font-weight:700}.ch-picker-help dd{margin:4px 0 0;font-size:13px;color:var(--ch-muted)}.ch-setting-field{display:grid;gap:8px;font-size:13px;font-weight:700;margin:12px 0 6px}.ch-setting-input{display:flex;align-items:center;gap:10px;font-weight:500}.ch-setting-field input,.ch-setting-field select{font:inherit;font-size:16px;min-height:44px;padding:8px 10px;border:2px solid var(--ch-ink);border-radius:10px;background:var(--ch-bg);color:var(--ch-ink);width:100%;min-width:0}.ch-setting-input input{max-width:110px}.ch-picker-settings .ch-note{font-size:12px}.ch-picker :is(summary,input,select):focus-visible{outline:3px solid var(--ch-accent);outline-offset:4px}.ch-rows>.ch-choice-tracker{display:block}.ch-choice-tracker dd{margin:6px 0 2px;text-align:left;font-size:12px;line-height:1.5}.ch-focus-body>.ch-field{border-top:1px solid var(--ch-line);padding-top:18px;font-size:14px}.ch-focus-body>.ch-field>span:after{content:' · Optional';font-size:12px;font-weight:500;color:var(--ch-muted)}
@media(max-width:600px){.ch-picker-heading{align-items:flex-start;gap:10px}.ch-picker-heading h3{font-size:19px;max-width:220px}.ch-picker-count{max-width:60px;text-align:right}.ch-choice-grid{grid-template-columns:1fr;gap:10px}.ch-button.ch-choice{min-height:92px;width:100%;padding:14px;gap:12px}.ch-choice strong{font-size:16px;margin-bottom:5px}.ch-choice small{font-size:13px}.ch-picker-drawers{grid-template-columns:1fr;gap:0;margin-top:8px}.ch-picker-drawers>details{border-bottom:1px solid var(--ch-line)}.ch-picker{padding-top:20px}.ch-choice-tracker dd{font-size:13px}}
@media(max-width:600px){.ch-settings-grid,.ch-picker-help dl{grid-template-columns:1fr;gap:0}}

.collection-anytime{max-width:1280px;margin:18px auto 0;padding:0 28px;display:flex;justify-content:flex-end;font-size:14px}.collection-anytime a{color:var(--text);font-weight:750;text-underline-offset:5px;min-height:44px;display:flex;align-items:center;gap:8px}.collection-anytime[hidden]{display:none}.collection-preparation-mode #collection-anytime{display:none}
