/* Structured online consent forms */
.cp-dynamic-form{padding:22px!important}.cp-form-intro{margin:4px 0 20px;color:#786970}.structured-consent-form{display:grid;gap:18px}.cp-form-section{overflow:hidden;border:1px solid rgba(255,255,255,.9);border-radius:22px;background:rgba(255,250,252,.72);box-shadow:0 10px 30px rgba(70,45,58,.08)}.cp-form-section>header{padding:19px 18px 15px;background:linear-gradient(135deg,rgba(245,220,230,.66),rgba(255,255,255,.4))}.cp-form-section>header>span{color:#c05d83;font-size:10px;letter-spacing:.16em;font-weight:900}.cp-form-section h3{margin:5px 0 3px;font:26px Georgia,serif;color:#382830}.cp-form-section header p{margin:0;color:#7b6972;font-size:12px;line-height:1.5}.cp-consent-notice{margin:16px 18px 0;padding:16px;border-left:4px solid #bc5d82;border-radius:8px 14px 14px 8px;background:#fff8fb;color:#59464f;font-size:12px;line-height:1.65}.cp-form-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px}.cp-field{display:grid;gap:7px;margin:0!important}.cp-field-wide,.cp-choice-field{grid-column:1/-1}.cp-field>span,.cp-choice-field legend,.signature-label{color:#5b4650;font-size:12px;font-weight:800}.cp-field b,.cp-choice-field b,.signature-label b{color:#bb4f79}.cp-field input,.cp-field textarea{width:100%;box-sizing:border-box;border:1px solid #ead8e0!important;border-radius:13px!important;background:#fff!important;color:#382a31!important;padding:12px!important;box-shadow:none!important}.cp-field textarea{resize:vertical}.cp-choice-field{padding:0;border:0}.cp-choice-row,.cp-choice-grid{display:flex;flex-wrap:wrap;gap:8px}.cp-choice-grid{display:grid;grid-template-columns:repeat(2,1fr)}.cp-choice-row label,.cp-choice-grid label{display:flex;align-items:center;gap:9px;padding:10px 13px;border:1px solid #ead9e1;border-radius:12px;background:#fff;color:#5c4851;font-size:12px;cursor:pointer}.cp-choice-row input,.cp-choice-grid input{width:17px!important;height:17px!important;accent-color:#ae5578}.cp-inline-signature canvas{display:block;width:100%;height:132px;border:1px dashed #bd7793;border-radius:14px;background:#fff;touch-action:none}.cp-inline-signature button{justify-self:start;border:0;background:transparent;color:#a34e70;font-weight:800}.cp-inline-signature small{color:#86717a}.cp-final-agreement{margin:2px 0!important;padding:16px!important;border-radius:15px;background:#f9edf2}.structured-consent-form>.cp-button{width:100%;min-height:52px;font-size:15px}
.structured-form-preview{max-width:1000px;margin:auto;padding:30px;border-radius:28px;background:rgba(255,255,255,.72);box-shadow:0 22px 55px rgba(73,45,58,.12)}.structured-form-preview>header{text-align:center}.structured-form-preview>header img{max-width:160px;max-height:70px;object-fit:contain}.structured-form-preview>header h2{margin:8px 0;font:34px Georgia,serif;color:#36262e}.structured-form-preview>header p{color:#78666f}.structured-form-preview>section{margin-top:22px;padding-top:22px;border-top:1px solid #eadbe2}.structured-preview-heading{display:flex;gap:14px;align-items:flex-start}.structured-preview-heading>span{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#f1dce5;color:#a54d70;font-weight:900}.structured-preview-heading h3{margin:0 0 4px;font:24px Georgia,serif;color:#3b2932}.structured-preview-heading p{margin:0;color:#806e76}.structured-preview-notice{margin:15px 0;padding:16px;border-radius:14px;background:#fbf2f6;color:#5d4b53;line-height:1.65}.structured-preview-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:15px}.preview-field{display:grid;gap:7px}.preview-field.wide{grid-column:1/-1}.preview-field b{font-size:12px;color:#59464f}.preview-input,.preview-signature,.preview-choices{min-height:38px;padding:10px;border:1px solid #ead9e1;border-radius:10px;background:#fff;color:#927d86}.preview-signature{min-height:80px;border-style:dashed}.signed-response-list{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:22px 0}.signed-response-list section{display:grid;gap:4px;padding:12px;border-radius:12px;background:#fbf2f5}.signed-response-list section small{color:#af5a7c;text-transform:uppercase;letter-spacing:.08em;font-size:9px}.signed-response-list section b{color:#3d2c34}.signed-response-list section span{color:#6e5d65;white-space:pre-wrap}.signed-response-list img{max-width:100%;height:90px;object-fit:contain;object-position:left center;background:#fff;border-radius:8px}
@media(max-width:680px){.cp-form-fields,.structured-preview-fields,.signed-response-list{grid-template-columns:1fr}.cp-field-wide,.cp-choice-field,.preview-field.wide{grid-column:1}.cp-choice-grid{grid-template-columns:1fr}.cp-dynamic-form{padding:15px!important}.cp-form-section h3{font-size:23px}.structured-form-preview{padding:18px}.structured-preview-heading h3{font-size:21px}}
@media print{.structured-form-preview{max-width:none;box-shadow:none;background:#fff}.structured-form-preview>section{break-inside:avoid}.cp-inline-signature button{display:none}}
