/* GEODESIAS — FASE A v0.6.3. Only the 14th module and its isolated contextual microdemo. */
.specialty-custom .specialty-title{align-items:flex-start}
.specialty-custom .custom-form-core{background:linear-gradient(145deg,#eef5f8 0%,#dbeaf1 100%);border:1px solid #b9d0dc;position:relative;min-height:385px;display:flex;flex-direction:column;padding:22px clamp(16px,2.2vw,27px) 21px}
.specialty-custom .custom-form-core::before{content:"";position:absolute;inset:10px 10px auto auto;width:32px;height:32px;border-right:1px solid rgba(33,91,117,.32);border-top:1px solid rgba(33,91,117,.32);pointer-events:none}
.specialty-custom form{display:flex;flex-direction:column;flex:1;gap:9px}
.specialty-custom .custom-form-intro{font-size:16px;line-height:1.52;color:var(--ink);max-width:57ch;margin:0 15px 7px 0}
.custom-form-label,.custom-field label{font-size:15.5px;line-height:1.4;color:var(--ink);font-weight:700;display:block}
.custom-form-label span,.custom-field label span:not(.optional){color:#315c73}
.custom-form-core textarea,.custom-field input,.custom-field textarea{display:block;appearance:none;border-radius:2px;border:1.5px solid #789eae;background:#fff;color:var(--ink);font:16px/1.45 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;width:100%;min-width:0;padding:12px 13px;resize:vertical;max-width:100%;box-sizing:border-box}
.custom-form-core textarea{min-height:115px;flex:1;max-height:260px}
.custom-form-core textarea::placeholder,.custom-field textarea::placeholder{color:#527486;opacity:1}
.custom-form-core textarea:focus-visible,.custom-field input:focus-visible,.custom-field textarea:focus-visible,.custom-continue:focus-visible,.custom-back:focus-visible{outline:3px solid #215b75;outline-offset:3px}
.custom-form-hint{font-size:13.7px;color:var(--muted);line-height:1.45}
.custom-feedback{color:#962f24;font-weight:650;font-size:14px}
.custom-continue{appearance:none;border:1px solid var(--ink);background:var(--ink);color:#fff;min-height:49px;padding:11px 19px;font:700 15px/1.3 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;display:inline-flex;align-items:center;justify-content:space-between;gap:18px;cursor:pointer;align-self:flex-start;max-width:100%}
.custom-continue:hover{background:#215b75}
.custom-info{min-height:118px}
.custom-info .custom-state-mark{display:block;color:var(--blue);font-size:12.5px;font-weight:750;letter-spacing:.035em;margin-top:auto;padding-top:11px}
.custom-continuation[hidden],.custom-review[hidden],.custom-feedback[hidden]{display:none!important}
.custom-continuation{max-width:1302px;margin:0 auto 25px;padding:26px 31px 31px;border:1px solid #9ebcca;border-top:3px solid #215b75;background:#eff6f9;scroll-margin-top:16px}
.custom-continuation-header{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:22px}
.custom-continuation-header h3{font-size:28px;margin:0 0 7px}
.custom-continuation-header p:not(.kicker){max-width:65ch;font-size:15.3px;color:var(--muted)}
.custom-back{appearance:none;border:1px solid #8daabb;background:transparent;color:var(--ink);padding:12px 15px;font:650 15px/1.3 system-ui,-apple-system,Arial,sans-serif;cursor:pointer;min-height:45px;max-width:100%}
.custom-back:hover{background:#deedf4}
.custom-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px 23px}
.custom-field-wide{grid-column:1/-1}
.custom-field label{margin-bottom:7px}
.custom-field label .optional{font-weight:450;font-size:14px;color:var(--muted)}
.custom-field input{height:48px}
.custom-field textarea{min-height:100px}
.custom-field-actions{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #c2d6df;padding-top:18px}
.custom-field-actions p{font-size:14px;color:var(--muted);max-width:54ch}
.custom-review{margin-top:22px;padding:23px 25px;background:#fff;border:1px solid #acc4d1}
.custom-review h4{font-size:22px;margin-bottom:14px}
.custom-summary{display:grid;grid-template-columns:160px minmax(0,1fr);gap:11px 18px;margin:0}
.custom-summary dt{color:var(--muted);font-size:14.5px;font-weight:700}
.custom-summary dd{margin:0;font-size:15.3px;white-space:pre-wrap;overflow-wrap:anywhere}
.custom-review-actions{display:flex;justify-content:space-between;gap:13px;flex-wrap:wrap;align-items:center;margin-top:21px}
.custom-download-status{font-size:14px;color:var(--blue);margin-top:14px;font-weight:650}
@media(max-width:790px){.specialty-custom .custom-form-core{padding:18px 16px 18px;min-height:350px}.custom-continuation{margin:0 21px 22px;padding:20px}}
@media(max-width:650px){.specialty-custom .custom-form-core{min-height:0;padding:18px 16px 17px}.specialty-custom .custom-form-intro{font-size:15.7px;line-height:1.5}.custom-form-core textarea{min-height:120px;flex:auto}.specialty-custom .custom-info{min-height:0}.custom-continuation{margin:0 17px 24px;padding:20px 16px}.custom-continuation-header{display:block}.custom-continuation-header h3{font-size:23px}.custom-continuation-header .custom-back{margin-top:15px}.custom-fields{grid-template-columns:1fr;gap:15px}.custom-field-actions{display:block}.custom-field-actions .custom-continue{margin-top:15px}.custom-review{padding:17px 14px}.custom-summary{grid-template-columns:1fr;gap:3px}.custom-summary dd{margin-bottom:10px}.custom-review-actions{display:flex;flex-direction:column;align-items:stretch}.custom-review-actions button{width:100%}.custom-continue{min-height:49px}}
@media(prefers-reduced-motion:reduce){.custom-continuation{scroll-behavior:auto}}
