/* Layout only. Fonts, colours, headings, inputs and buttons come from the active theme.
   Neutral rgba borders/tints work on light and dark themes.
   .ctm-rs-pro-has-primary is added when a Primary colour is set in CTM Surveys settings. */
.ctm-rs-pro-wrap{max-width:900px;margin:20px auto;padding:0 12px;}
.ctm-rs-pro-card{border:1px solid rgba(128,128,128,.25);border-radius:14px;padding:18px;}
.ctm-rs-pro-title{margin:0 0 6px 0;}
.ctm-rs-pro-intro{margin:0 0 14px 0;}
.ctm-rs-pro-section{margin:16px 0 0 0;}
.ctm-rs-pro-section[hidden]{display:none;}
.ctm-rs-pro-section-title{margin:0 0 8px 0;}
.ctm-rs-pro-question{margin:10px 0 16px 0;}
.ctm-rs-pro-qtext{font-weight:700;margin:0 0 6px 0;}
.ctm-rs-pro-options{text-align:left;}
.ctm-rs-pro-option{display:block;margin:0 0 6px 0;cursor:pointer;}
.ctm-rs-pro-option input{margin-right:8px;vertical-align:top;transform:translateY(2px);}
.ctm-rs-pro-hr{border:0;border-top:1px solid rgba(128,128,128,.25);margin:18px 0;}
.ctm-rs-pro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
@media (max-width:640px){.ctm-rs-pro-grid{grid-template-columns:1fr;}}
.ctm-rs-pro-grid input,.ctm-rs-pro-grid textarea{width:100%;box-sizing:border-box;}
.ctm-rs-pro-grid-full{grid-column:1 / -1;}
.ctm-rs-pro-grid textarea{min-height:110px;}
.ctm-rs-pro-consent{display:flex;gap:10px;margin-top:10px;align-items:flex-start;}
.ctm-rs-pro-consent input{margin-top:4px;}
.ctm-rs-pro-actions{display:flex;gap:12px;align-items:center;margin-top:14px;flex-wrap:wrap;}
.ctm-rs-pro-btn{cursor:pointer;}
.ctm-rs-pro-has-primary .ctm-rs-pro-btn{background:var(--ctm-primary);border-color:var(--ctm-primary);color:#fff;}
.ctm-rs-pro-status,.ctm-rs-pro-muted{opacity:.75;font-size:.9em;}
.ctm-rs-pro-muted{margin:6px 0 0 0;}
.ctm-rs-pro-logo img{max-height:54px;max-width:220px;margin-bottom:10px;}
.ctm-rs-pro-score{border:1px solid rgba(128,128,128,.25);border-left:6px solid var(--ctm-primary,currentColor);padding:12px;border-radius:10px;margin:14px 0;}
.ctm-rs-pro-pill{display:inline-block;padding:2px 10px;border-radius:999px;border:1px solid currentColor;font-weight:800;}
.ctm-rs-pro-has-primary .ctm-rs-pro-pill{background:var(--ctm-primary);border-color:var(--ctm-primary);color:#fff;}
.ctm-rs-pro-break-item{display:flex;justify-content:space-between;gap:10px;padding:10px 0;border-bottom:1px solid rgba(128,128,128,.2);}
.ctm-rs-pro-break-title{font-weight:800;}
.ctm-rs-pro-break-meta{display:flex;gap:10px;align-items:center;}
.ctm-rs-pro-guidance{margin:6px 0 14px 0;background:rgba(128,128,128,.08);border:1px solid rgba(128,128,128,.2);border-radius:10px;padding:10px;}
.ctm-rs-pro-guidance-ok{border-left:6px solid var(--ctm-primary,currentColor);}
.ctm-rs-pro-details{margin-top:12px;}
.ctm-rs-pro-answer{border-top:1px solid rgba(128,128,128,.2);padding-top:10px;margin-top:10px;}
.ctm-rs-pro-answer-sec{font-size:.8em;opacity:.75;font-weight:800;}
.ctm-rs-pro-answer-q{font-weight:700;margin-top:3px;}
.ctm-rs-pro-email-result-form{margin-top:10px;border-top:1px solid rgba(128,128,128,.25);padding-top:12px;}
.ctm-rs-pro-done:focus{outline:none;}
.ctm-rs-pro-options textarea{width:100%;box-sizing:border-box;}
