/* Ampliación de recursos PB Extranjería. Estilos limitados a sus componentes. */
.pbx-page{--pbx-ink:#173c49;--pbx-line:#d6dfde;--pbx-paper:#fffdf9}
.pbx-page main p,.pbx-page main li{line-height:1.72}
.pbx-page .guide-hero h1{max-width:22ch;overflow-wrap:break-word}
.pbx-page .guide-layout{grid-template-columns:minmax(0,1fr) minmax(240px,310px);gap:clamp(26px,4vw,64px)}
.pbx-page .guide-layout>article{min-width:0}
.pbx-page article>section{scroll-margin-top:30px;margin-bottom:38px}
.pbx-page article>section h2{line-height:1.15;margin-bottom:17px;text-wrap:balance}
.pbx-page .pbx-related,.pbx-related{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:20px 0}
.pbx-related a{display:block;padding:20px;border:1px solid #d6dfde;border-radius:4px;background:#fff;color:#173c49;text-decoration:none;min-width:0;overflow-wrap:anywhere}
.pbx-related a:hover{border-color:#6f8d94;background:#f3f7f6}
.pbx-related strong,.pbx-related span{display:block}.pbx-related span{font-size:.82rem;margin-top:7px;color:#475f66}
.pbx-next{margin-top:32px;padding:26px 0;border-top:1px solid #d6dfde}
.pbx-next .pbx-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.pbx-next small{display:block;font-size:.81rem;line-height:1.55;color:#425c65}
.pbx-page .pbx-example{padding:20px 0;border-block:1px solid #d6dfde}
.pbx-page details.pbx-faq{padding:15px 0;border-bottom:1px solid #d6dfde}
.pbx-page details.pbx-faq summary{cursor:pointer;font-weight:700;color:#173c49}
.pbx-page .pbx-sources{font-size:.91rem;overflow-wrap:anywhere}
.pbx-page .pbx-sources li{margin-bottom:8px}
.pbx-tool{margin:25px 0;padding:clamp(18px,3vw,30px);border:1px solid #c6d4d4;border-radius:5px;background:#f4f8f7}
.pbx-tool label{display:grid;gap:8px;color:#173c49;font-weight:650;margin-bottom:17px;min-width:0}
.pbx-tool input,.pbx-tool select,.pbx-tool textarea{width:100%;min-width:0;max-width:100%;padding:12px;border:1px solid #8da3aa;border-radius:3px;background:white;font:inherit;color:#173c49;box-sizing:border-box;min-height:46px}
.pbx-tool textarea{resize:vertical}
.pbx-tool button{cursor:pointer;max-width:100%;white-space:normal;min-height:44px}
.pbx-tool .pbx-form-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.pbx-secondary{padding:10px 15px;border:1px solid #839fa7;background:#fff;color:#173c49;border-radius:3px;font:600 .9rem/1.4 var(--sans,Arial,sans-serif)}
.pbx-page :focus-visible,.pbx-tool :focus-visible{outline:3px solid #a96926;outline-offset:3px}
.pbx-trip-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px;margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid #c8d4d6}
.pbx-trip-row label{margin-bottom:2px}.pbx-trip-row button{grid-column:1/-1;justify-self:start}
.pbx-point{border:0;border-bottom:1px solid #c8d4d6;padding:12px 0 24px;margin:0 0 20px;min-width:0}
.pbx-point legend{font-weight:700;font-size:1.14rem;color:#173c49}
.pbx-result{margin:24px 0;padding:20px 0;border-block:2px solid #809b9e;overflow-wrap:anywhere}
.pbx-result:empty{display:none}.pbx-result p:first-child{font-weight:700}
.pbx-directory{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:26px 0}
.pbx-procedure{padding:22px;border:1px solid #d6dfde;background:white;min-width:0;border-radius:4px}
.pbx-procedure h3{font-size:1.3rem;margin:10px 0;line-height:1.2;color:#173c49}
.pbx-procedure p{font-size:.93rem;margin:10px 0}.pbx-procedure small{display:block;color:#50666c;font-size:.78rem}
.pbx-procedure a{font-weight:650}.pbx-procedure a+a{margin-left:12px}
.pbx-procedure[hidden]{display:none!important}
.pbx-count{font-weight:700;color:#173c49}
.pbx-directory-intro{max-width:850px}
.pbx-directory-section .pbx-tool{max-width:850px}
.pbx-library-strip{padding:32px 0;margin-top:24px;border-top:1px solid #d6dfde}
.pbx-library-strip h2{max-width:30ch}.pbx-family-nav{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}
.pbx-family-nav a{padding:9px 12px;border:1px solid #c6d4d4;border-radius:3px;color:#173c49;text-decoration:none;background:#fff;font-size:.9rem}
@media(max-width:900px){.pbx-page .guide-layout{grid-template-columns:minmax(0,1fr)}.pbx-page .guide-aside{position:static}.pbx-directory{grid-template-columns:minmax(0,1fr)}}
@media(max-width:540px){.pbx-page .pbx-related,.pbx-related{grid-template-columns:minmax(0,1fr)}.pbx-trip-row{grid-template-columns:minmax(0,1fr)}.pbx-page .guide-hero h1{max-width:none}.pbx-tool{padding:18px 14px}.pbx-tool .pbx-form-actions>*{width:100%}.pbx-next .pbx-actions>*{width:100%;text-align:center}.pbx-procedure{padding:18px}}
