.cmp-actions{display:flex;flex-wrap:wrap;gap:.5rem 1.4rem;margin-top:1rem}.cmp-actions a,.cmp-return{display:inline-flex;align-items:center;min-height:44px;padding:.4rem 0}.cmp-return[hidden]{display:none}
.cmp-program{border-top:2px solid var(--cmp-line);padding:1.5rem 0;scroll-margin-top:7rem}.cmp-program h2{font-size:1.5rem;margin:0 0 .8rem}.cmp-program h3{font-size:1.15rem}.cmp-program>p{max-width:80ch}.cmp-program-status{font-weight:650}.cmp-program fieldset{padding:1rem 0;border:0;margin:1rem 0}.cmp-program legend{font-size:1.125rem;font-weight:650}.cmp-fields{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.cmp-program label{display:flex;flex-direction:column;gap:.4rem;margin:0 0 1rem;font-size:1rem;color:var(--cmp-copy)}
.cmp-program input,.cmp-program select,.cmp-program textarea{width:100%;font:inherit;font-size:1rem;color:var(--shell-text);background:var(--shell-bg);border:1px solid var(--cmp-line);border-radius:8px;padding:.65rem;min-height:44px}.cmp-program textarea{resize:vertical}.cmp-program button{font-family:var(--font-sans);font-size:inherit;white-space:normal;text-align:left}.cmp-help{font-size:.9375rem;color:var(--cmp-muted)}.cmp-program [aria-invalid=true]{border:2px solid var(--danger)}.cmp-program :is(button,input,select,textarea):focus-visible{outline:3px solid var(--shell-text);outline-offset:3px}.cmp-program [data-workflow-status]{font-weight:600}.cmp-program [data-draft]{line-height:1.5;margin-bottom:1rem}.cmp-program [hidden]{display:none}
@media(max-width:600px){.cmp-fields{grid-template-columns:1fr;gap:0}.cmp-actions{gap:.3rem 1rem}.cmp-program{scroll-margin-top:9rem}.cmp-program button{max-width:100%}}

.cmp-pressure{margin:1.5rem 0 2rem;padding:1.25rem 0;border-block:1px solid var(--cmp-line);scroll-margin-top:7rem}.cmp-pressure h3{font-size:1.375rem}.cmp-pressure>p{max-width:85ch}.cmp-pressure-fields{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,2fr);gap:1rem}.cmp-program .cmp-pressure-row{margin:.5rem 0;padding:1rem 0;border-top:1px solid var(--cmp-line)}.cmp-pressure output{display:block;white-space:pre-wrap;overflow-wrap:anywhere;padding:1rem 0;line-height:1.7;color:var(--cmp-text)}.cmp-pressure [data-pressure-status]{font-weight:600}.cmp-pressure [hidden]{display:none}@media(max-width:600px){.cmp-pressure-fields{grid-template-columns:1fr;gap:0}.cmp-pressure{scroll-margin-top:9rem}}

/* Primary action foregrounds; secondary and unavailable actions retain their roles. */
.cmp-program .btn:not(.btn--ghost):not(:disabled):not([aria-disabled="true"]):hover{color:var(--btn-primary-text-hover,var(--theme-primary-hover-contrast,var(--btn-primary-text)))}
.cmp-program .btn:not(.btn--ghost):not(:disabled):not([aria-disabled="true"]):active{color:var(--btn-primary-text-active,var(--theme-primary-active-contrast,var(--btn-primary-text)))}
[data-theme="indigo"] .cmp-program .btn:not(.btn--ghost):not(:disabled):not([aria-disabled="true"]):hover,[data-theme="purple"] .cmp-program .btn:not(.btn--ghost):not(:disabled):not([aria-disabled="true"]):hover{color:var(--btn-primary-text-hover,var(--theme-primary-hover-contrast,#000000))}
[data-theme="red"] .cmp-program .btn:not(.btn--ghost):not(:disabled):not([aria-disabled="true"]):active,[data-theme="indigo"] .cmp-program .btn:not(.btn--ghost):not(:disabled):not([aria-disabled="true"]):active,[data-theme="purple"] .cmp-program .btn:not(.btn--ghost):not(:disabled):not([aria-disabled="true"]):active{color:var(--btn-primary-text-active,var(--theme-primary-active-contrast,#000000))}
