
@font-face{font-family:Forum;src:url(assets/font-0.ttf)}@font-face{font-family:IMFell;src:url(assets/font-1.ttf)}:root{--coffee:#2d211a;--ink:#3b2b20;--gold:#d9ab62;--ivory:#f4ead8;--paper:#fffcf5;--muted:#78654f}*{box-sizing:border-box}body{margin:0;background:var(--ivory);color:var(--ink);font:21px/1.55 Forum,Georgia,serif}header{background:var(--coffee);color:var(--ivory);padding:32px 22px 36px;text-align:center}header img{width:min(640px,100%);height:auto;display:block;margin:0 auto 28px}header .eyebrow{font:13px/1.4 system-ui;letter-spacing:3px;color:var(--gold)}h1,h2,h3{font-family:IMFell,Georgia,serif;font-weight:400;line-height:1.2}h1{font-size:clamp(32px,5vw,46px);max-width:750px;margin:18px auto}header p{margin:6px auto;max-width:680px}main{max-width:860px;margin:0 auto;padding:0 20px 40px}.progress{position:sticky;top:0;z-index:4;background:#fffcf5f5;backdrop-filter:blur(8px);padding:12px 18px;border-bottom:1px solid var(--gold);border-radius:0 0 12px 12px}.progress-top{display:flex;justify-content:space-between;gap:12px;font:13px system-ui;color:var(--muted)}.track{height:5px;background:#e6d9c4;margin-top:9px;border-radius:8px;overflow:hidden}.fill{height:100%;width:0;background:var(--gold);transition:width .3s}.guide{padding:24px 6px}.guide p{margin:6px 0}.guide strong{font-family:IMFell;font-weight:400;font-size:25px}.card{background:var(--paper);border:1px solid #d9c8aa;border-radius:16px;margin-bottom:20px;padding:26px;animation:enter .55s ease-out both}.card h2{font-size:29px;margin:0 0 16px}.card p{margin:12px 0}.step{font:12px system-ui;letter-spacing:2px;color:var(--muted);display:block;margin-bottom:12px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.grid .full{grid-column:1/-1}label{display:block}input,textarea{display:block;width:100%;font:19px Forum,Georgia;padding:12px;border:1px solid #bdaa8a;border-radius:8px;background:white;color:var(--ink);margin-top:6px}input:focus,textarea:focus{outline:2px solid var(--gold);outline-offset:2px}.note{font-size:17px;color:var(--muted)}.notice{background:#f4ead8;border-left:3px solid var(--gold);padding:15px 18px;border-radius:0 10px 10px 0}.rules{padding-left:22px}.rules li{margin:12px 0}details{background:#eee0c8;border:1px solid #cbb086;border-radius:14px;margin-bottom:20px}summary{font-family:IMFell;font-size:27px;cursor:pointer;padding:23px}details .inside{padding:0 24px 25px}details h3{font-size:24px;margin:24px 0 8px}details p{margin:6px 0}details[open] .inside{animation:enter .4s ease-out}.choices label,.checks label{border:1px solid #d9c8aa;padding:13px 15px;border-radius:10px;margin:10px 0;display:flex;gap:12px;align-items:flex-start;cursor:pointer}.choices label:has(input:checked),.checks label:has(input:checked){background:#f4ead8;border-color:#aa8145}input[type=checkbox],input[type=radio]{width:21px;height:21px;flex:none;margin:5px 0 0;accent-color:#886128}.section-tone{background:#f8efdf}.signature-box{border:1px dashed #ad8650;border-radius:10px;background:white;overflow:hidden}canvas{display:block;width:100%;height:190px;touch-action:none}button,.button-link{font:18px/1.3 Forum,Georgia;padding:14px 18px;border:0;border-radius:9px;cursor:pointer;transition:transform .2s,background .2s;background:var(--coffee);color:var(--ivory);text-decoration:none;display:inline-block;text-align:center}button:hover,.button-link:hover{transform:translateY(-2px)}button.secondary{background:#e9dcc8;color:var(--ink);margin:12px 0}.actions{display:flex;gap:12px;flex-wrap:wrap}.whatsapp{background:#25d366;color:#102d1a;font-weight:bold;border:1px solid #128c3f}.actions button{flex:1;min-width:210px}button:disabled{opacity:.5;cursor:default}button:disabled:hover{transform:none}#status,#fileStatus{font-size:18px;overflow-wrap:anywhere}footer{text-align:center;color:var(--muted);font-size:16px;padding:10px 20px 25px}.print-only{display:none}#printSignature{width:100%;max-height:170px;object-fit:contain;object-position:left}#signedDetails{font-size:17px}.confirmation h2{color:#795124}fieldset{border:0;padding:0;margin:0;min-width:0}legend{padding:0;font-family:IMFell;font-size:26px;margin-bottom:8px}.no-break{break-inside:avoid}@keyframes enter{from{opacity:.5;transform:translateY(8px)}to{opacity:1;transform:none}}@media(max-width:600px){.grid{grid-template-columns:1fr}.card{padding:21px}main{padding:0 13px 30px}header{padding:24px 18px}header img{margin-bottom:20px}.card h2{font-size:27px}.actions{display:grid}.actions button{width:100%;min-width:0}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media print{@page{size:A4;margin:15mm}body{background:white;color:#111;font-size:12pt;line-height:1.4}header{background:white;color:#111;padding:0 0 10px;border-bottom:1px solid #aaa}header img{width:330px;margin:0 auto 12px}h1{font-size:22pt;margin:10px auto}header .eyebrow{font-size:9pt;color:#555}header p{font-size:11pt}.no-print,.progress,.guide,.upload{display:none!important}.print-only{display:block}main{max-width:none;padding:0;margin:0}.card{background:white;border:0;border-radius:0;padding:0;margin:16px 0;animation:none}.card h2{font-size:17pt;break-after:avoid}h3{font-size:14pt;break-after:avoid}.step{font-size:9pt}.grid{display:block}.print-value{padding:4px 0;border-bottom:1px solid #aaa;margin:0 0 8px}.notice{background:white;border-left:2px solid #999;padding:8px 12px}.rules li{margin:6px 0}.choices label,.checks label{border:0;background:white!important;padding:2px 0;margin:4px 0}input[type=checkbox],input[type=radio]{width:12px;height:12px;margin:3px 0 0}input:not([type=checkbox]):not([type=radio]),textarea{display:none}details{border:0;background:white;margin:16px 0}details summary{padding:0;font-size:17pt;list-style:none}details summary::marker{content:''}details .inside{display:block!important;padding:0}details h3{margin:10px 0 5px}details p{font-size:11pt}.signature-box{display:none}.note{font-size:10pt;color:#555}footer{display:none}#signedDetails{font-size:10pt}.section-tone{background:white}.print-signature-wrap{break-inside:avoid}}
[hidden]{display:none!important}.health-question{padding:16px 0;border-bottom:1px solid #d9c8aa;margin-bottom:18px}.health-question legend{font-family:Forum;font-size:23px;line-height:1.4}.yes-no{display:flex;gap:12px;flex-wrap:wrap}.yes-no label{min-width:105px}.health textarea{resize:vertical}.health #medicationDetails{padding:18px;background:#f4ead8;border-radius:10px;margin-bottom:20px}#facilitatorPending{margin-bottom:0}@media print{.health-question{padding:8px 0;margin-bottom:8px}.health-question legend{font-size:12pt}.yes-no{display:flex;gap:18px}.yes-no label{min-width:60px}.health #medicationDetails{background:white;padding:0}.health textarea{display:none}}

:root{--coffee:#45432B;--ink:#3b3825;--gold:#b99a60;--ivory:#F2E9D6;--paper:#fffcf5;--muted:#736C47}header{background:#fff;color:var(--ink);padding:26px 20px 30px;border-bottom:1px solid #D0BEA8}header img{width:min(530px,100%);margin:0 auto 20px}header .eyebrow{color:#736C47}h1{font-size:clamp(31px,5vw,44px)}.module-title{display:flex;gap:14px;align-items:center;margin-bottom:20px}.module-title h2{margin:0}.module-letter{display:grid;place-items:center;width:46px;height:46px;flex:none;background:#45432B;color:#F2E9D6;border-radius:50%;font:22px IMFell}.module-a{border-top:5px solid #736C47}.module-b{border-top:5px solid #818367;background:#f4f1e5}.module-c{border-top:5px solid #72664E}.module-d{border-top:5px solid #D1B396;background:#f7efe3}.module-e{border-top:5px solid #5A5656}.health-question{margin:0;padding:18px 0;border-bottom:1px solid #d9c8aa}.yes-no{display:flex;gap:12px;flex-wrap:wrap}.yes-no label{min-width:100px}.choices.health-question legend{font:22px/1.4 Forum;padding-top:16px}.record-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.record-row p{font-size:17px;overflow-wrap:anywhere;background:#f4ead8;padding:12px;border-radius:9px}.nav-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.nav-pills a{font:14px system-ui;color:#45432B;border:1px solid #D0BEA8;padding:9px 13px;border-radius:25px;text-decoration:none}html{scroll-behavior:smooth;scroll-padding-top:85px}.print-only{display:none}[hidden]{display:none!important}.photo-choice{font-size:20px}.field-help{font-size:16px;color:var(--muted)}.warning{border-left-color:#94604a}.actions{margin-top:18px}.submit-progress{font-size:17px;font-weight:bold}label:has(input[type=checkbox]),label:has(input[type=radio]){transition:background .2s}input[type=checkbox],input[type=radio]{accent-color:#736C47}.signatureCanvas{display:block;width:100%;height:190px;touch-action:none}.field-print{white-space:pre-wrap;overflow-wrap:anywhere}.screen-note{padding:10px 0;font-size:17px}.module-check{padding:14px;background:#e9e2d2;border-radius:10px}.module-check input{margin-right:8px}.yes-no input{margin-right:0}#printSignature{display:none;max-width:100%;max-height:150px;object-fit:contain;object-position:left}.signed-version{font-size:15px;color:var(--muted);overflow-wrap:anywhere}#signatureStatus{font-size:17px}#pendingPhoto{font-size:17px}.module-e{background:#fffefa}.compact-details{margin:12px 0}.compact-details summary{font-size:23px;padding:15px}.footer-brand{letter-spacing:2px;font-size:12px;font-family:system-ui}@media(max-width:600px){.record-row{grid-template-columns:1fr}.module-title h2{font-size:26px}.module-letter{width:40px;height:40px}.nav-pills a{font-size:12px;padding:8px 10px}body{font-size:21px}}@media print{header img{width:270px;margin-bottom:8px}header h1{font-size:21pt}.module-letter{width:25px;height:25px;font-size:13pt;border:1px solid #555;background:white;color:#111}.module-title{gap:8px;break-after:avoid;margin:12px 0 8px}.module-a,.module-b,.module-c,.module-d,.module-e{background:white!important;border-top:1px solid #aaa;padding-top:8px}.module-title h2{font-size:16pt}.record-row{grid-template-columns:1fr 1fr}.record-row p{background:white;border-bottom:1px solid #aaa;font-size:10pt;padding:5px}.field-help{font-size:10pt}.field-print{display:block}.signatureCanvas{display:none}.print-only{display:block}#printSignature{display:block}.signed-version{font-size:9pt}.health-question legend{font-size:12pt!important}.health-question{padding:8px 0}.nav-pills{display:none}.module-check{background:white;padding:3px 0}.choices label{margin:4px 0}.note{font-size:10pt}.compact-details summary{font-size:14pt}.signature-final{break-inside:avoid}#signatureStatus{display:none}.record-row p{margin:0 0 8px}.module-title{animation:none}}

/* Logo discreto en el encabezado */
header img{width:min(300px,75vw);margin:0 auto 14px}@media(max-width:600px){header img{width:min(240px,72vw);margin-bottom:12px}}@media print{header img{width:170px;margin-bottom:8px}}
