/* Tecolote Comunitario 1.2: exclusivamente formulario /publica/ */
body.page .tec-editorial-form{--tec-green:#153e34;--tec-navy:#101d30;--tec-ivory:#f8f6ef;--tec-terracotta:#b56d50;--tec-ochre:#c3a06b;max-width:none!important;width:100%;margin:0 auto;color:var(--tec-navy);font-family:'Fira Sans',sans-serif}
body.page .tec-editorial-form .tec-card{max-width:none;border:0;border-radius:0;background:linear-gradient(110deg,#f8f6ef 0%,#fffdf8 66%,#f2f0e8 100%);padding:clamp(24px,5vw,86px) max(5vw,calc((100vw - 1420px)/2));box-shadow:none;position:relative}
body.page .tec-editorial-form .tec-card:before{content:'';display:block;position:absolute;left:0;top:0;right:0;height:7px;background:linear-gradient(90deg,var(--tec-navy),var(--tec-green) 65%,var(--tec-terracotta))}
body.page .tec-editorial-form h2{font-family:'Switzer',sans-serif;font-size:clamp(35px,5.6vw,76px);line-height:1.04;letter-spacing:-.035em;max-width:1000px;color:var(--tec-green);margin:18px 0 32px}
body.page .tec-editorial-form .tec-eyebrow{font-family:'Switzer',sans-serif;font-size:12px;letter-spacing:.19em;color:var(--tec-terracotta);font-weight:750}
body.page .tec-editorial-form .tec-intro{max-width:1100px;padding:clamp(20px,3vw,35px);border-left:4px solid var(--tec-terracotta);background:rgba(21,62,52,.055);margin:0 0 clamp(25px,4vw,60px);font-size:clamp(15px,1.3vw,18px);line-height:1.7}
body.page .tec-editorial-form .tec-intro p{margin:0 0 13px}body.page .tec-editorial-form .tec-intro p:last-child{margin-bottom:0}
body.page .tec-editorial-form .tec-submission{max-width:1240px;margin:0 auto}
body.page .tec-editorial-form label:not(.tec-consent){font-family:'Switzer',sans-serif;color:var(--tec-green);font-weight:700;font-size:15px;letter-spacing:.005em;margin:23px 0 9px}
body.page .tec-editorial-form input:not([type=checkbox]),body.page .tec-editorial-form select,body.page .tec-editorial-form textarea{font-family:'Fira Sans',sans-serif;font-size:17px;border:1px solid #b5c3bd;background:#fffdfa;border-radius:4px;min-height:56px;padding:15px 17px;color:var(--tec-navy);box-shadow:0 2px 0 rgba(17,35,46,.025);transition:border-color .2s,box-shadow .2s}
body.page .tec-editorial-form textarea{min-height:280px;resize:vertical;line-height:1.65}
body.page .tec-editorial-form input:focus,body.page .tec-editorial-form select:focus,body.page .tec-editorial-form textarea:focus{outline:2px solid var(--tec-ochre);outline-offset:2px;border-color:var(--tec-green)}
body.page .tec-editorial-form input[type=file]{border-style:dashed;background:#f0f3ed;min-height:88px;padding:26px 18px;cursor:pointer}
body.page .tec-editorial-form .tec-grid{gap:0 clamp(15px,3vw,38px)}
body.page .tec-editorial-form .tec-wordline{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:13px;color:#51665c;margin-top:8px}
body.page .tec-editorial-form .tec-wordline output{font-family:'Switzer',sans-serif;font-weight:700;white-space:nowrap}
body.page .tec-editorial-form .tec-wordline output.tec-over{color:#a63b30}
body.page .tec-editorial-form .tec-help{font-size:14px;line-height:1.6;color:#53645d;margin-top:8px}
body.page .tec-editorial-form .tec-consent{display:flex;align-items:flex-start;gap:12px;font-size:15px;line-height:1.55;color:#293c37;margin:20px 0}
body.page .tec-editorial-form .tec-consent input{width:18px;height:18px;flex:none;accent-color:var(--tec-green);margin-top:3px}
body.page .tec-editorial-form .tec-consent a{color:var(--tec-green);text-decoration:underline}
body.page .tec-editorial-form button[type=submit]{font-family:'Switzer',sans-serif;font-weight:750;text-transform:uppercase;letter-spacing:.06em;background:var(--tec-green);color:#fff;border-radius:3px;padding:20px 32px;min-height:62px;transition:background .2s,transform .2s}
body.page .tec-editorial-form button[type=submit]:hover{background:var(--tec-navy);transform:translateY(-2px)}
body.page .tec-editorial-form .tec-alert{border-left:5px solid var(--tec-terracotta);background:#fff;padding:20px 24px;margin:22px 0 30px;border-radius:0}
body.page .tec-editorial-form .tec-error{background:#fff1ec;color:#802e25;border-left:4px solid #a63b30;padding:12px 16px;margin:20px 0}
body.page .tec-editorial-form .tec-error[hidden]{display:none}
/* Eliminar espacios superiores SOLO en /publica/ sin alterar el encabezado */
body.page .et_builder_inner_content:has(.tec-editorial-form)>.et_pb_section:first-child{padding-top:0!important}
body.page .et_builder_inner_content:has(.tec-editorial-form)>.et_pb_section:first-child>.et_pb_row{padding-top:0!important;margin-top:0!important;max-width:none!important;width:100%!important}
body.page .et_builder_inner_content:has(.tec-editorial-form) .et_pb_code_inner{width:100%}
body.page .et_builder_inner_content:has(.tec-editorial-form) .et_pb_column{margin-bottom:0!important}
@media(max-width:700px){body.page .tec-editorial-form .tec-grid{grid-template-columns:1fr}body.page .tec-editorial-form .tec-card{padding:28px 6vw 48px}body.page .tec-editorial-form h2{font-size:clamp(33px,9vw,52px)}body.page .tec-editorial-form button[type=submit]{width:100%}}

/* V1.2.1: pantalla de confirmación exclusiva, sin formulario */
body.page .tec-editorial-form.tec-success-only{min-height:calc(100svh - 90px);display:flex;align-items:center;justify-content:center;background:#111d30;width:100%;max-width:none!important;padding:clamp(30px,6vw,100px) 5vw;color:#f8f6ef}
body.page .tec-success-panel{width:min(100%,920px);padding:clamp(32px,6vw,76px);background:#f8f6ef;color:#172c32;border-top:7px solid #b56d50;box-shadow:0 28px 70px rgba(0,0,0,.17);text-align:center}
body.page .tec-success-mark{display:inline-flex;align-items:center;justify-content:center;width:68px;height:68px;border-radius:50%;background:#173c32;color:white;font:700 38px 'Switzer',sans-serif;margin-bottom:20px}
body.page .tec-success-kicker{font:700 12px 'Switzer',sans-serif;letter-spacing:.15em;color:#9a634c;margin:0 0 16px}
body.page .tec-success-panel h1{font:700 clamp(30px,5vw,58px)/1.12 'Switzer',sans-serif;color:#173c32;letter-spacing:-.035em;margin:0 0 24px}
body.page .tec-success-panel p:not(.tec-success-kicker){font:400 clamp(16px,1.6vw,19px)/1.65 'Fira Sans',sans-serif;max-width:680px;margin:0 auto 15px}
body.page .tec-success-panel .tec-success-note{font-weight:700!important;margin-top:24px!important}
body.page .tec-success-back{display:inline-block;margin-top:20px;background:#173c32;color:white!important;padding:15px 24px;text-decoration:none;font:700 14px 'Switzer',sans-serif;letter-spacing:.03em}
body.page .tec-success-back:hover,body.page .tec-success-back:focus-visible{background:#111d30;outline:2px solid #b56d50;outline-offset:3px}
@media(max-width:600px){body.page .tec-editorial-form.tec-success-only{padding:24px 4vw;min-height:calc(100svh - 70px)}}
