/* Tu opinión: the approved reading-page handoff. Form behavior lives in PHP. */
.page-read .survey-page{width:100%;max-width:760px;margin:0 auto;padding:56px 24px 80px;display:flex;flex-direction:column;gap:28px}
.page-read .survey-hero{display:flex;flex-direction:column;gap:20px}
.page-read .survey-dot{display:inline-block;width:8px;height:8px;margin-right:10px;background:var(--yellow)}
.page-read .survey-hero h1{font-size:clamp(60px,9vw,108px);line-height:.88;letter-spacing:-.02em}
.page-read .survey-hero h1 em{color:var(--blue);font-style:normal;text-shadow:none}
.page-read .survey-lead{font-size:17px;color:var(--long);text-wrap:pretty}
.page-read .survey-form{display:flex;flex-direction:column;gap:20px;min-width:0}
.page-read .trap{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.page-read .survey-progress{position:sticky;top:0;z-index:5;padding:12px 0 0;background:var(--bg);border-bottom:1px solid #f4f1ea14}
.page-read .survey-progress p{font-size:14px;font-weight:700}
.page-read .progress-segments{display:flex;gap:5px}
.page-read .progress-segments a{flex:1;min-height:44px;display:flex;align-items:center}
.page-read .progress-segments span{width:100%;height:8px;background:var(--track)}
.page-read .progress-segments .answered span{background:var(--blue)}
.page-read .progress-segments .missing span{background:var(--red)}
.page-read .survey-question{margin:0;min-width:0;padding:24px;background:var(--panel);border:2px solid transparent;scroll-margin-top:108px}
.page-read .survey-question legend{float:left;width:100%;padding:0;margin:0 0 18px;display:flex;flex-direction:column;gap:8px;font:800 32px/1.05 'Big Shoulders Display',sans-serif}
.page-read .question-number{font-size:20px;line-height:1;color:var(--blue);font-weight:900}
.page-read .question-body{clear:both;display:flex;flex-direction:column;gap:16px}
.page-read .choices{display:flex;flex-direction:column;gap:8px}
.page-read .choices label{display:flex;align-items:center;gap:14px;min-height:72px;padding:12px 16px;background:var(--bg);border:2px solid #f4f1ea29;cursor:pointer;font-size:16px;line-height:1.4}
.page-read .choices label:hover{border-color:var(--blue)}
.page-read .choices label:has(input:checked){border-color:var(--blue);background:#49a6e91f;font-weight:700}
.page-read .choices input{flex:none;width:22px;height:22px;margin:0;accent-color:var(--blue);cursor:pointer}
.page-read .choices input:checked+span{font-weight:700}
.page-read .scale-choices{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}
.page-read .scale-choices label{flex-direction:column;justify-content:center;gap:6px;padding:8px 4px}
.page-read .scale-choices span{font:900 26px/1 'Big Shoulders Display',sans-serif}
.page-read .scale-labels{display:flex;justify-content:space-between;gap:12px;font-size:13px;font-weight:600;color:var(--long)}
.page-read .activity-intro,.page-read .activity-guide{font-size:15px;color:var(--long)}
.page-read .activity-guide{display:flex;flex-direction:column;gap:4px}
.page-read .activity-guide .fold{background:var(--bg)}
.page-read .activity-guide summary{gap:12px;padding:12px 14px;line-height:1.4}
.page-read .activity-guide summary::after{content:'+';margin-left:auto;color:var(--blue);flex:none;font-size:20px}
.page-read .activity-guide details[open] summary::after{content:'−'}
.page-read .activity-number{flex:none;color:var(--blue);font:900 18px/1 'Big Shoulders Display',sans-serif}
.page-read .activity-number.yellow{color:var(--yellow)}
.page-read .activity-guide strong{color:var(--text)}
.page-read .activity-scenario{display:flex;gap:10px}
.page-read .scenario-icon{flex:none;width:24px;height:24px;display:grid;place-items:center;background:var(--green);color:var(--bg);font-weight:900}
.page-read .no .scenario-icon{background:var(--red)}
.page-read .activity-choice-title{font-size:24px;text-transform:none;line-height:1.1}
.page-read .question-error{border-color:var(--red)}
.page-read .question-error-text{display:flex;align-items:center;gap:10px;color:#ff8a73;font-size:14px;font-weight:700}
.page-read .question-error-text>span{flex:none;display:grid;place-items:center;width:22px;height:22px;background:var(--red);color:var(--bg)}
.page-read .survey-optional{display:flex;flex-direction:column;gap:20px;padding:24px;background:var(--panel)}
.page-read .survey-optional .kicker{color:var(--muted)}
.page-read .survey-text{display:flex;flex-direction:column;gap:8px;font-size:15px;font-weight:600;min-width:0}
.page-read .survey-text input,.page-read .survey-text textarea{min-width:0;width:100%;min-height:52px;padding:12px 14px;border:2px solid #f4f1ea29;border-radius:0;background:var(--bg);color:var(--text);font:500 16px/1.5 Archivo,sans-serif}
.page-read .survey-text textarea{min-height:140px;resize:vertical}
.page-read .survey-text input::placeholder,.page-read .survey-text textarea::placeholder{color:var(--muted)}
.page-read #comment-count{align-self:flex-end;font-size:12px;font-weight:400;color:var(--muted)}
.page-read .privacy-note{display:flex;gap:14px;padding:18px;border:1px solid #f4f1ea33;font-size:14px;color:var(--long)}
.page-read .privacy-mark{flex:none;width:32px;height:32px;display:grid;place-items:center;background:var(--track);color:var(--text);font:900 22px 'Big Shoulders Display',sans-serif}
.page-read .survey-submit{align-self:stretch;margin:0 6px}
.page-read .survey-submit>span{display:inline-flex;align-items:center;gap:12px}
.page-read .survey-submit:disabled{opacity:.7;cursor:wait}
.page-read .survey-submit.sending>span::before{content:'';width:18px;height:18px;border:2px solid #0b0f1a55;border-top-color:var(--bg);border-radius:50%;animation:survey-spin .8s linear infinite}
.page-read .survey-message{display:flex;flex-direction:column;gap:14px;padding:24px;background:var(--panel);font-size:16px;color:var(--long)}
.page-read .survey-message h2{font-size:36px;line-height:1.05;color:var(--text)}
.page-read .survey-message.success{border-top:4px solid var(--green)}
.page-read .survey-message.success h2{font-size:44px}
.page-read .survey-message.error{border:2px solid var(--red);scroll-margin-top:108px}
.page-read .survey-message.error h2{font-size:28px}
.page-read .message-mark{display:grid;place-items:center;align-self:flex-start;width:40px;height:40px;background:var(--blue);color:var(--bg);transform:skewX(-10deg);font-weight:900;font-size:22px}
.page-read .success .message-mark{background:var(--green)}
.page-read .error .message-mark{background:var(--red)}
@keyframes survey-spin{to{transform:rotate(360deg)}}
@media(max-width:700px){.page-read .survey-page{padding:32px 16px 64px}.page-read .survey-question,.page-read .survey-optional{padding:16px}.page-read .survey-question legend{font-size:28px}.page-read .survey-hero h1{font-size:clamp(54px,14.7vw,78px)}.page-read .choices label{padding:12px;gap:12px}.page-read .scale-choices label{padding:8px 4px}}
/* En móvil el encabezado queda fijo arriba: la barra de avance se acomoda debajo. */
@media(max-width:700px){.page-read .survey-progress{top:56px}}
