.cpm { color: #17233d; }
.cpm-shell { max-width: 900px; margin: 0 auto; }
.cpm-title { margin: 0 0 10px; font-size: clamp(25px, 4vw, 32px); line-height: 1.3; letter-spacing: -.04em; }
.cpm-intro, .cpm-limit-note { margin: 0; color: #65718a; font-size: 14px; line-height: 1.75; word-break: keep-all; }
.cpm-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 24px 0 12px; }
.cpm-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.cpm-tab, .cpm-button { min-height: 40px; border: 1px solid #dce2ec; border-radius: 9px; padding: 9px 14px; background: #fff; color: #46536d; font: inherit; font-size: 13px; font-weight: 650; cursor: pointer; }
.cpm-tab[aria-pressed="true"] { border-color: #9cb9e7; background: #edf4ff; color: #2158a8; }
.cpm-button:disabled, .cpm-tab:disabled { opacity: .55; cursor: wait; }
.cpm button:focus-visible, .cpm a:focus-visible, .cpm textarea:focus-visible, .cpm input:focus-visible { outline: 3px solid #95bdf4; outline-offset: 3px; }
.cpm-status { min-height: 22px; margin: 0 0 14px; color: #65718a; font-size: 13px; line-height: 1.6; }
.cpm-status.is-error, .cpm-form-status { color: #9a3b35; }
.cpm-items { display: grid; gap: 14px; }
.cpm-card, .cpm-state, .cpm-empty { margin: 0; padding: 22px; border: 1px solid #e0e6ef; border-radius: 14px; background: #fff; }
.cpm-card h2 { margin: 7px 0 13px; font-size: 17px; font-weight: 700; line-height: 1.55; overflow-wrap: anywhere; }
.cpm-meta, .cpm-target-id { margin: 0; color: #7a859a; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.cpm-copy { max-height: 320px; overflow-y: auto; margin: 0 0 14px; padding: 14px; border-radius: 9px; background: #f6f8fb; color: #344159; font-size: 14px; line-height: 1.85; white-space: pre-wrap; overflow-wrap: anywhere; }
.cpm-report-context { margin: 14px 0; padding: 14px; border: 1px solid #dce5f1; border-radius: 10px; }
.cpm-report-context h3 { margin: 0 0 7px; font-size: 14px; }
.cpm-target-title { color: #65718a; font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.cpm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cpm-primary { border-color: #2865b9; background: #2865b9; color: #fff; }
.cpm-primary:hover:not(:disabled) { background: #20569f; }
.cpm-secondary:hover:not(:disabled), .cpm-tab:hover:not(:disabled) { background: #f3f6fb; }
.cpm-link { display: inline-block; margin: 2px 0 5px; color: #2865b9; font-size: 13px; line-height: 1.65; text-decoration: underline; text-underline-offset: 3px; }
.cpm-confirm { margin-top: 18px; padding-top: 18px; border-top: 1px solid #e0e6ef; }
.cpm-confirm h3 { margin: 0 0 8px; font-size: 15px; }
.cpm-confirm > p { font-size: 13px; line-height: 1.75; }
.cpm-field-label { display: block; color: #46536d; font-size: 13px; font-weight: 650; }
.cpm-reason { display: block; width: 100%; box-sizing: border-box; margin-top: 7px; padding: 12px; border: 1px solid #ccd5e4; border-radius: 9px; font: inherit; font-weight: 400; line-height: 1.65; resize: vertical; }
.cpm-acknowledgment { display: flex; align-items: flex-start; gap: 9px; margin-top: 14px; color: #46536d; font-size: 13px; line-height: 1.7; }
.cpm-acknowledgment input { flex: 0 0 auto; width: 17px; height: 17px; margin: 3px 0 0; accent-color: #2865b9; }
.cpm-form-status { margin: 8px 0 0; font-size: 13px; line-height: 1.7; }
.cpm-limit-note { margin-top: 14px; font-size: 12px; }
@media(max-width:600px) { .cpm-card, .cpm-state, .cpm-empty { padding: 16px; } .cpm-toolbar { align-items: flex-start; gap: 8px; } .cpm-tabs { gap: 4px; } .cpm-tab, .cpm-button { padding: 9px 11px; font-size: 12px; } .cpm-copy { max-height: 45dvh; padding: 12px; } }
