/* Enquestes: estils limitats al nou mòdul. */
.ceam26-surveys { --survey-line:#dedede; --survey-soft:#f7f7f8; --survey-ink:#252525; --survey-muted:#666; color:var(--survey-ink); }
.ceam26-dark .ceam26-surveys { --survey-line:#404044; --survey-soft:#242426; --survey-ink:#f0f0f0; --survey-muted:#b5b5bb; }
.ceam26-survey-intro { display:flex; align-items:center; justify-content:space-between; gap:24px; }
.ceam26-survey-intro h2 { margin:8px 0; }
.ceam26-survey-intro p { margin:0; max-width:780px; }
.ceam26-survey-intro>.button { flex-shrink:0; }
.ceam26-survey-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.ceam26-survey-list>.ceam26-card { margin:0; min-width:0; }
.ceam26-survey-title { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; }
.ceam26-survey-title h2,.ceam26-survey-title h3 { margin:5px 0 10px; overflow-wrap:anywhere; }
.ceam26-survey-title small { color:var(--survey-muted); font-weight:700; }
.ceam26-survey-badge { display:inline-block; padding:5px 10px; border-radius:20px; background:#eeeef0; color:#555; font-size:12px; font-weight:700; white-space:nowrap; }
.ceam26-survey-badge.is-open { background:#e6f4eb; color:#25613b; }
.ceam26-dark .ceam26-survey-badge { background:#39393f; color:#d2d2d8; }
.ceam26-dark .ceam26-survey-badge.is-open { background:#193d2b; color:#ace3bd; }
.ceam26-survey-actions { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin:16px 0 8px; }
.ceam26-survey-actions .button,.ceam26-survey-inline-form { margin:0!important; }
.ceam26-survey-inline-form { display:inline-flex; }
.ceam26-survey-bottom-actions { padding-top:18px; border-top:1px solid var(--survey-line); margin-top:24px; }
.ceam26-surveys .button-primary,.ceam26-survey-intro .button-primary { color:#fff!important; }
.ceam26-surveys label { display:block; margin:0 0 18px; font-weight:600; }
.ceam26-surveys input[type=text],.ceam26-surveys input[type=date],.ceam26-surveys select,.ceam26-surveys textarea { display:block; width:100%; max-width:100%; box-sizing:border-box; margin-top:7px; min-height:44px; font:inherit; }
.ceam26-surveys textarea { resize:vertical; }
.ceam26-surveys label small { display:block; margin-top:5px; color:var(--survey-muted); font-weight:400; }
.ceam26-survey-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; align-items:center; }
.ceam26-surveys .ceam26-survey-check { display:flex; align-items:center; gap:9px; margin:8px 0; font-weight:400; }
.ceam26-surveys input[type=checkbox] { width:18px; height:18px; flex-shrink:0; margin:0; }
.ceam26-survey-recipients { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px 18px; }
.ceam26-survey-audience,.ceam26-survey-question-row { border:1px solid var(--survey-line); border-radius:14px; padding:20px; margin:24px 0; min-width:0; }
.ceam26-survey-question-row { background:var(--survey-soft); }
.ceam26-surveys legend { width:auto; padding:0 8px; font-size:15px; font-weight:800; color:var(--survey-ink); }
.ceam26-survey-info { background:var(--survey-soft); border-left:4px solid #b42632; padding:16px; margin:18px 0; line-height:1.6; }
.ceam26-survey-fixed-questions { padding-left:22px; }
.ceam26-survey-fixed-questions li { padding:12px 0; border-bottom:1px solid var(--survey-line); }
.ceam26-survey-fixed-questions small { display:block; margin-top:4px; color:var(--survey-muted); }
.ceam26-survey-answer-field { padding:20px 0; border-top:1px solid var(--survey-line); }
.ceam26-survey-answer-field label { line-height:1.6; margin-bottom:8px; }
.ceam26-survey-result summary { display:flex; justify-content:space-between; gap:18px; align-items:center; cursor:pointer; min-height:32px; }
.ceam26-survey-result summary strong::before { content:'▸'; margin-right:10px; }
.ceam26-survey-result[open] summary strong::before { content:'▾'; }
.ceam26-survey-answer-list { margin:22px 0 0; }
.ceam26-survey-answer-list dt { font-weight:700; margin:22px 0 8px; line-height:1.5; }
.ceam26-survey-answer-list dd { margin:0; background:var(--survey-soft); padding:14px 16px; border-radius:8px; white-space:normal; overflow-wrap:anywhere; line-height:1.6; }
.ceam26-survey-pending { border-left:5px solid #b42632!important; }
.ceam26-survey-pending-links { display:grid; gap:10px; margin:16px 0; }
.ceam26-survey-pending-links a { display:flex; justify-content:space-between; align-items:center; gap:20px; border:1px solid #dedede!important; padding:14px; border-radius:10px; color:#242424!important; text-decoration:none; }
.ceam26-survey-pending-links span { font-size:13px; white-space:nowrap; }
.ceam26-dark .ceam26-survey-pending-links a { color:#eee!important; border-color:#444!important; }
.ceam26-surveys [hidden] { display:none!important; }
@media(max-width:760px) {
    .ceam26-survey-list,.ceam26-survey-fields { grid-template-columns:1fr; }
    .ceam26-survey-recipients { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .ceam26-survey-intro { align-items:flex-start; flex-direction:column; gap:16px; }
    .ceam26-survey-title { flex-direction:column; gap:4px; }
    .ceam26-survey-question-row,.ceam26-survey-audience { padding:14px; }
    .ceam26-survey-pending-links a,.ceam26-survey-result summary { align-items:flex-start; flex-direction:column; gap:7px; }
}
