.cemi-capture-page{--cap-bg:#f4f6f9;--cap-surface:#fff;--cap-text:#172033;--cap-muted:#687386;--cap-border:#d9dee7;--cap-accent:var(--cemi-next-accent,#ff2f86);--cap-accent-soft:#fff1f7;--cap-ok:#19714d;min-height:100vh;background:var(--cap-bg);color:var(--cap-text);padding:clamp(20px,4vw,52px) clamp(14px,3vw,34px);box-sizing:border-box}.capture-shell{width:min(100%,1280px);margin-inline:auto}.capture-page-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:22px}.capture-heading-main{min-width:0}.cemi-capture-page .eyebrow,.capture-card-heading>span,.capture-next-level>div>span,.capture-submit-panel>div>span{display:block;color:var(--cap-accent);font-size:.72rem;font-weight:800;letter-spacing:.08em}.cemi-capture-page h1{margin:.35rem 0 .55rem;font-size:clamp(1.75rem,3vw,2.75rem);line-height:1.08}.cemi-capture-page h2{margin:.2rem 0 .45rem}.cemi-capture-page p{margin:.25rem 0;color:var(--cap-muted);line-height:1.55}.capture-progress-summary{flex:0 0 auto;display:grid;text-align:right}.capture-progress-summary strong{font-size:1.7rem}.capture-progress-summary span{color:var(--cap-muted);font-size:.82rem}.capture-steps{display:grid;grid-template-columns:repeat(8,minmax(88px,1fr));gap:8px;margin:0 0 22px;overflow-x:auto;padding:0 0 4px}.capture-steps a{display:grid;grid-template-columns:28px 1fr;align-items:center;gap:7px;min-width:0;padding:9px 10px;border:1px solid var(--cap-border);border-radius:10px;background:var(--cap-surface);color:var(--cap-muted);text-decoration:none}.capture-steps a span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#eef1f5;font-weight:800}.capture-steps a small{overflow:hidden;text-overflow:ellipsis}.capture-steps a.active{border-color:var(--cap-accent);background:var(--cap-accent-soft);color:var(--cap-text)}.capture-steps a.active span{background:var(--cap-accent);color:#fff}.capture-steps a.complete span{background:var(--cap-ok);color:#fff}.capture-card{display:grid;gap:24px;padding:clamp(20px,3vw,34px);border:1px solid var(--cap-border);border-radius:16px;background:var(--cap-surface);box-shadow:0 8px 28px rgba(23,32,51,.06)}.capture-step-card{max-width:980px;margin-inline:auto}.capture-start-card{max-width:720px;margin-inline:auto}.capture-card-heading{max-width:720px}.capture-card label,.capture-field{display:grid;gap:7px;font-weight:700}.capture-card input,.capture-card select,.capture-card textarea,.capture-activity input,.capture-activity textarea{width:100%;min-width:0;max-width:100%;box-sizing:border-box;padding:12px 13px;border:1px solid #bcc5d2;border-radius:9px;background:#fff;color:var(--cap-text);font:inherit}.capture-card textarea,.capture-activity textarea{min-height:112px;resize:vertical}.capture-card input:focus,.capture-card select:focus,.capture-card textarea:focus,.capture-activity textarea:focus{outline:2px solid color-mix(in srgb,var(--cap-accent) 32%,transparent);border-color:var(--cap-accent)}.capture-step-content{display:grid;gap:18px}.capture-field-intro{max-width:720px;padding:12px 14px;border-left:3px solid var(--cap-accent);background:var(--cap-accent-soft)}.capture-context{display:grid;gap:3px;padding:14px 16px;border:1px solid var(--cap-border);border-radius:10px;background:#ffffff}.capture-context span{color:var(--cap-muted);font-size:.78rem}.choice-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px;margin:0;padding:0;border:0}.choice-cards legend{grid-column:1/-1;margin-bottom:3px;font-weight:800}.choice-card{position:relative;display:flex!important;align-items:center;justify-content:center;min-height:72px;padding:12px;border:1px solid var(--cap-border);border-radius:11px;background:#ffffff;text-align:center;cursor:pointer}.choice-card input{position:absolute;opacity:0;width:1px;height:1px}.choice-card:hover{border-color:#a9b3c1}.choice-card.selected,.choice-card:has(input:checked){border-color:var(--cap-accent);background:var(--cap-accent-soft);box-shadow:inset 0 0 0 1px var(--cap-accent)}.capture-evidence-fields,.capture-medium-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px}.capture-medium-grid{margin:0;padding:20px;border:1px solid var(--cap-border);border-radius:12px}.capture-medium-grid legend{padding:0 8px;font-weight:800}.capture-summary{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px}.capture-summary div{padding:14px;border:1px solid var(--cap-border);border-radius:10px;background:#ffffff}.capture-summary span{display:block;color:var(--cap-muted);font-size:.76rem}.capture-summary strong{display:block;margin-top:4px;overflow-wrap:anywhere}.capture-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:18px;border-top:1px solid var(--cap-border)}.capture-action-buttons{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.capture-save-indicator{display:grid;gap:2px}.capture-save-indicator small{color:var(--cap-muted)}.capture-autosave-status{color:var(--cap-ok);font-weight:800}.capture-autosave-status.error{color:#b42318}.capture-primary,.capture-secondary,.capture-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border-radius:9px;font-weight:800;text-decoration:none;cursor:pointer;box-sizing:border-box}.capture-primary{border:1px solid var(--cap-accent);background:var(--cap-accent);color:#fff}.capture-secondary{border:1px solid #aeb8c6;background:#fff;color:var(--cap-text)}.capture-link{color:var(--cap-muted)}.capture-next-level,.capture-submit-panel{display:flex;align-items:center;justify-content:space-between;gap:20px;max-width:980px;margin:18px auto 0;padding:20px 22px;border:1px solid var(--cap-border);border-radius:14px;background:var(--cap-surface)}.capture-notice{max-width:980px;margin:0 auto 16px;padding:13px 16px;border-left:4px solid var(--cap-accent);border-radius:8px;background:var(--cap-accent-soft)}.capture-notice.correction{display:grid;gap:4px}.capture-suggestions{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}.capture-suggestion{padding:8px 11px;border:1px solid #aeb8c6;border-radius:8px;background:#fff;cursor:pointer}.capture-confirmed{color:var(--cap-ok);font-weight:700}.capture-activity{max-width:980px;margin:18px auto 0;border:1px solid var(--cap-border);border-radius:12px;background:var(--cap-surface)}.capture-activity summary{padding:16px 18px;font-weight:800;cursor:pointer}.capture-activity-body{display:grid;gap:14px;padding:0 18px 18px}.capture-activity-body p{display:grid;margin:0}.capture-activity-body p small{color:var(--cap-muted)}.capture-activity-body form{display:grid;gap:10px}.capture-related-links{display:flex;gap:16px;flex-wrap:wrap}.capture-related-links a{color:var(--cap-accent)}.capture-guide{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;max-width:720px;margin:0 auto 20px}.capture-guide div{display:grid;justify-items:center;gap:5px;padding:10px;border:1px solid var(--cap-border);border-radius:10px;background:var(--cap-surface)}.capture-guide strong{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--cap-accent-soft);color:var(--cap-accent)}.capture-guide span{font-size:.8rem;color:var(--cap-muted)}.capture-wide{--capture-list-max:1180px}.capture-wide .capture-shell,.cemi-capture-page.capture-wide{width:min(100%,var(--capture-list-max));max-width:none}.capture-group{margin:26px 0}.capture-group h2{display:flex;justify-content:space-between;padding-bottom:8px;border-bottom:1px solid var(--cap-border);font-size:1.1rem}.capture-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr));gap:12px}.capture-list-item{display:grid;gap:6px;padding:16px;border:1px solid var(--cap-border);border-radius:12px;background:var(--cap-surface);color:var(--cap-text);text-decoration:none}.capture-list-item small{color:var(--cap-muted)}.capture-empty{padding:14px;border:1px dashed var(--cap-border);border-radius:10px}.capture-pagination{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:24px}.capture-pagination a{padding:9px 12px;border:1px solid var(--cap-border);border-radius:8px;color:var(--cap-text);text-decoration:none}
@media(max-width:960px){.capture-page-header{align-items:flex-start}.capture-steps{grid-template-columns:repeat(8,120px)}.capture-next-level,.capture-submit-panel{align-items:flex-start;flex-direction:column}.capture-next-level form,.capture-submit-panel form{width:100%}.capture-next-level button,.capture-submit-panel button{width:100%}}
@media(max-width:700px){.cemi-capture-page{padding:18px 12px}.capture-page-header{display:grid}.capture-progress-summary{text-align:left}.capture-card{padding:18px}.capture-actions{align-items:stretch;flex-direction:column}.capture-action-buttons{display:grid;grid-template-columns:1fr 1fr}.capture-action-buttons .capture-primary{grid-column:1/-1}.capture-guide{grid-template-columns:repeat(2,1fr)}.capture-medium-grid{grid-template-columns:1fr;padding:14px}.capture-summary{grid-template-columns:1fr}}
@media(max-width:430px){.capture-action-buttons{grid-template-columns:1fr}.capture-action-buttons .capture-primary{grid-column:auto}.capture-primary,.capture-secondary,.capture-link{width:100%}.choice-cards{grid-template-columns:1fr 1fr}.capture-steps a{grid-template-columns:28px}.capture-steps a small{display:none}}
