.ft-main{--ft-border:#c7d8e3;--ft-muted:#476477;color:#002e60}
.ft-main p{max-width:none}
.ft-main .ft-intro{background:#eef5f9;border-bottom:1px solid var(--ft-border);padding:4px 0 36px}
.ft-main .ft-heading{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr);gap:48px;align-items:end}
html body .ft-main h1{font-size:clamp(2.25rem,4vw,3.6rem);line-height:1.1;margin:8px 0 18px;font-weight:600;letter-spacing:-.035em}
.ft-main .ft-lead{font-size:1.125rem;line-height:1.7;color:var(--ft-muted);margin:0}
.ft-main .ft-route{background:#fff;border-left:3px solid #16b9dc;padding:20px 24px}
.ft-main .ft-route strong{display:block;font-size:1.125rem;margin-bottom:10px}
.ft-main .ft-route p{margin:0;font-size:1rem;line-height:1.6}
.ft-main .ft-route span{font-weight:600;color:#002e60}
.ft-main .ft-section{padding:42px 0}
.ft-main .ft-section h2{font-size:clamp(1.65rem,2.4vw,2.25rem);line-height:1.2;margin:0 0 12px;font-weight:500}
.ft-main .ft-section-lead{color:var(--ft-muted);line-height:1.6;margin:0 0 24px}
.ft-main .ft-families{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.ft-main .ft-family{display:flex;flex-direction:column;border:1px solid var(--ft-border);background:white;min-width:0;overflow:hidden}
.ft-main .ft-family:hover,.ft-main .ft-family:focus-visible{border-color:#008db5;box-shadow:0 6px 20px #002e6010}
.ft-main .ft-family[aria-current=true]{border:2px solid #008db5;background:#f3fafd}
.ft-main .ft-family-picture{display:block;position:relative;height:178px;flex:0 0 178px;background:#f5f7f9;border-bottom:1px solid #dce5eb}
.ft-main .ft-family-picture img{width:100%;height:100%;object-fit:contain;padding:12px;box-sizing:border-box}
.ft-main .ft-family-copy{padding:20px;display:flex;flex-direction:column;flex:1}
.ft-main .ft-family-copy small{font-size:.875rem;color:#35647f;line-height:1.5;min-height:3em}
.ft-main .ft-family-copy h3{font-size:1.25rem;line-height:1.35;margin:8px 0 12px;min-height:2.7em;font-weight:600}
.ft-main .ft-family-copy p{font-size:1rem;line-height:1.5;color:var(--ft-muted);margin:0 0 18px}
.ft-main .ft-family-copy b{font-size:.875rem;margin-top:auto;padding-top:13px;border-top:1px solid #dce5eb}
.ft-main .ft-catalog{background:#f2f6f9;border-block:1px solid #d4e0e8;scroll-margin-top:20px}
.ft-main .ft-searchline{display:flex;gap:14px;align-items:end;margin-bottom:16px}
.ft-main .ft-searchline label{flex:1;min-width:0}
.ft-main label{display:flex;flex-direction:column;font-size:.875rem;line-height:1.5;font-weight:600;gap:7px;color:#234a65}
.ft-main input,.ft-main select{width:100%;border:1px solid #aac2d2;background:#fff;padding:12px;color:#002e60;font:1rem/1.45 Arial,sans-serif;min-height:48px;border-radius:0}
.ft-main select{padding-right:34px;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath d='m4 7 5 5 5-5' fill='none' stroke='%23002e60' stroke-width='1.8'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 10px center}
.ft-main button{border:1px solid #aac2d2;background:white;color:#002e60;padding:12px 18px;min-height:48px;font:600 .875rem/1.5 Arial,sans-serif}
.ft-main .ft-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ft-main .ft-statusline{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:20px 0 10px}
.ft-main .ft-statusline p{margin:0;color:var(--ft-muted);font-size:.875rem}
.ft-main .ft-active{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}
.ft-main .ft-active button{border-radius:3px;min-height:36px;padding:7px 10px;background:#e1edf5;font-weight:400}
.ft-main .ft-groups{display:grid;gap:16px}
.ft-main .ft-group{border:1px solid var(--ft-border);background:white;scroll-margin-top:20px}
.ft-main .ft-group>summary{list-style:none;display:flex;justify-content:space-between;gap:20px;align-items:center;cursor:pointer;padding:22px 24px;font-size:1.15rem;font-weight:600;min-height:78px}
.ft-main .ft-group>summary::-webkit-details-marker{display:none}
.ft-main .ft-group>summary:after{content:'+';font-weight:400;font-size:1.75rem;line-height:1}
.ft-main .ft-group[open]>summary:after{content:'−'}
.ft-main .ft-group>summary small{display:block;font-size:.875rem;font-weight:400;color:var(--ft-muted);margin-top:5px}
.ft-main .ft-group-body{padding:0 24px 24px}
.ft-main .ft-group-intro{font-size:.875rem;color:var(--ft-muted);line-height:1.6;margin:0 0 20px}
.ft-main .ft-pieces{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ft-main .ft-piece{display:flex;flex-direction:column;border:1px solid var(--ft-border);min-width:0;background:#fff;overflow:hidden}
.ft-main .ft-piece-image{height:190px;position:relative;display:block;background:#f5f7f9;border-bottom:1px solid #dce5eb}
.ft-main .ft-piece-image img{height:100%;width:100%;padding:12px;object-fit:contain;box-sizing:border-box}
.ft-main .ft-piece-copy{padding:20px;display:flex;flex-direction:column;flex:1}
.ft-main .ft-piece-tag{font-size:.875rem;line-height:1.5;min-height:1.5em;color:#27617f;margin:0 0 8px}
.ft-main .ft-piece h3{font-size:1.25rem;line-height:1.35;min-height:2.7em;margin:0 0 12px;font-weight:600}
.ft-main .ft-piece-meta{font-size:.875rem;line-height:1.6;color:var(--ft-muted);margin:0 0 16px}
.ft-main .ft-scope{font-size:.875rem;line-height:1.5;padding:12px;background:#eef5f9;margin:0 0 16px;border-left:2px solid #86b2ca}
.ft-main .ft-piece-actions{margin-top:auto;display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center}
.ft-main .ft-piece-actions a{font-size:.875rem;line-height:1.45;text-decoration:underline;text-underline-offset:4px;min-height:32px;display:inline-flex;align-items:center}
.ft-main .ft-piece-actions a:first-child{font-weight:600}
.ft-main .ft-dimlinks{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.ft-main .ft-dimlinks a{border:1px solid #c5d7e3;padding:7px 10px;font-size:.875rem;line-height:1.45;background:#f7fafc;min-height:36px}
.ft-main .ft-empty{padding:24px;background:#fff;border:1px solid #c5d7e3}
.ft-main .ft-empty h3{margin:0 0 12px}
.ft-main .ft-empty p{line-height:1.6}
.ft-main .ft-guide{display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:start}
.ft-main .ft-help-list{margin:0;padding-left:22px;color:var(--ft-muted);line-height:1.7}
.ft-main .ft-help-list li{margin-bottom:10px}
.ft-main .ft-related{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.ft-main .ft-related a{border-top:2px solid #a5c8dc;padding:18px 0;display:block}
.ft-main .ft-related h3{font-size:1.125rem;line-height:1.4;margin:0 0 10px}
.ft-main .ft-related p{font-size:.875rem;line-height:1.6;color:var(--ft-muted);margin:0}
.ft-main .ft-application-links{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0 0}
.ft-main .ft-application-links a{border:1px solid #aac2d2;background:#fff;padding:9px 13px;font-size:.875rem}
.ft-main .ft-guidance{border-left:3px solid #16b9dc;background:#f2f6f9;padding:20px 24px}
.ft-main .ft-guidance h3{font-size:1.125rem;margin:0 0 12px}
.ft-main .ft-guidance p{font-size:1rem;line-height:1.65;margin:0 0 14px}
.ft-main .ft-guidance a{display:inline-block;font-weight:600;border-bottom:1px solid #16b9dc;padding-bottom:4px}
.ft-main :is(a,button,input,select,summary):focus-visible{outline:3px solid #0098bb;outline-offset:3px}
.ft-main [hidden]{display:none!important}
@media(max-width:1150px){.ft-main .ft-families{grid-template-columns:repeat(2,minmax(0,1fr))}.ft-main .ft-pieces{grid-template-columns:repeat(2,minmax(0,1fr))}.ft-main .ft-heading{gap:28px}.ft-main .ft-family-copy h3{min-height:0}.ft-main .ft-family-copy small{min-height:1.5em}}
@media(max-width:760px){.ft-main .ft-heading,.ft-main .ft-guide{grid-template-columns:1fr;gap:24px}.ft-main .ft-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ft-main .ft-related{grid-template-columns:1fr;gap:6px}.ft-main .ft-route{padding:18px}.ft-main .ft-section{padding:30px 0}.ft-main .ft-group>summary{padding:18px}.ft-main .ft-group-body{padding:0 16px 16px}}
@media(max-width:580px){.ft-main .ft-families{grid-template-columns:1fr;gap:12px}.ft-main .ft-family{display:grid;grid-template-columns:100px minmax(0,1fr)}.ft-main .ft-family-picture{height:100%;min-height:155px;border:0;border-right:1px solid #dce5eb}.ft-main .ft-family-picture img{position:absolute;inset:0;padding:7px}.ft-main .ft-family-copy{padding:14px}.ft-main .ft-family-copy h3{font-size:1.125rem;margin:4px 0 6px;min-height:0}.ft-main .ft-family-copy small{font-size:.875rem}.ft-main .ft-family-copy p{font-size:.875rem;margin-bottom:8px}.ft-main .ft-family-copy b{padding-top:8px}.ft-main .ft-pieces{grid-template-columns:1fr}.ft-main .ft-piece h3{min-height:0}.ft-main .ft-searchline{align-items:stretch;flex-direction:column;gap:10px}.ft-main .ft-searchline button{align-self:flex-start}.ft-main .ft-statusline{align-items:start}.ft-main .ft-statusline button{padding:8px 10px;min-height:40px}.ft-main .ft-filter-grid{gap:12px}.ft-main .ft-filter-grid select{font-size:.875rem;padding-left:9px}.ft-main .ft-group>summary{font-size:1rem}.ft-main .ft-intro{padding-bottom:24px}}
@media print{.ft-main .ft-families,.ft-main .ft-filter-grid,.ft-main .ft-searchline,.ft-main .ft-active,.ft-main .ft-statusline button{display:none}.ft-main .ft-pieces{grid-template-columns:repeat(2,1fr)}.ft-main .ft-piece{break-inside:avoid}}

/* Igual altura en las cuatro entradas compactas de móvil. */
@media(max-width:580px){.ft-main .ft-families{grid-auto-rows:1fr}.ft-main .ft-family-picture{min-height:100%;height:100%}}

.ft-main .ft-image-note{font-size:.875rem;line-height:1.5;min-height:4.5em;padding:10px 14px;margin:0;background:#f5f7f9;color:#476477;border-bottom:1px solid #dce5eb}
.ft-main .ft-image-message{display:flex;align-items:center;justify-content:center;height:100%;padding:24px;font-size:1rem;line-height:1.6;text-align:center;color:#476477}

@media(max-width:1000px){.ft-main .ft-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
