/* Controles comunes de los recursos del libro. */
.resource-float{position:fixed;bottom:max(18px,env(safe-area-inset-bottom));z-index:50;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;padding:12px 18px;border:1px solid #d4dfdf;border-radius:99px;background:#123b5c;color:#fff;box-shadow:0 5px 20px #123b5c26;text-decoration:none;font:600 13px/1.3 Montserrat,Arial,sans-serif;cursor:pointer}
.resource-float svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
.resource-home{left:max(18px,env(safe-area-inset-left))}.resource-share-toggle{right:max(18px,env(safe-area-inset-right));background:#087e7a;border-color:#087e7a}
.resource-float:hover{background:#1d506f}.resource-share-toggle:hover{background:#086663}
.resource-share-panel{position:fixed;right:max(18px,env(safe-area-inset-right));bottom:calc(max(18px,env(safe-area-inset-bottom)) + 60px);z-index:51;width:min(330px,calc(100vw - 36px));max-height:calc(100dvh - 110px);overflow:auto;padding:20px;border:1px solid #d4dfdf;border-radius:20px;background:#fff;box-shadow:0 12px 45px #123b5c26;color:#203b50;font:13px/1.6 Montserrat,Arial,sans-serif}
.resource-share-panel[hidden]{display:none}.resource-share-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:8px}.resource-share-top h2{font-size:18px;margin:0;letter-spacing:0}.resource-share-close{border:0;background:transparent;color:#123b5c;font-size:25px;line-height:1;width:38px;height:38px;cursor:pointer;border-radius:50%}.resource-share-panel p{font-size:12px;margin:0 0 14px}.resource-share-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.resource-share-options a,.resource-share-options button{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px;border:1px solid #d4dfdf;border-radius:12px;background:#f5f8f4;color:#123b5c;font:600 12px/1.4 Montserrat,Arial,sans-serif;text-decoration:none;text-align:center;cursor:pointer}.resource-share-options a:hover,.resource-share-options button:hover{background:#e4efea}.resource-share-options [hidden]{display:none}.resource-share-status{min-height:20px;margin:12px 0 0!important;font-size:11px!important}.resource-share-url{display:block;width:100%;margin-top:12px;padding:9px;border:1px solid #d4dfdf;border-radius:8px;font-size:12px;color:#203b50;background:#fafaf7}.resource-share-url[hidden]{display:none}
body{padding-bottom:82px}html{scroll-padding-bottom:85px}a,button{scroll-margin-bottom:85px}
@media(max-width:640px){.resource-float{bottom:max(14px,env(safe-area-inset-bottom));padding:12px 15px;font-size:12px}.resource-home{left:14px}.resource-share-toggle{right:14px}.resource-share-panel{right:14px;width:min(330px,calc(100vw - 28px))}}
@media print{.resource-float,.resource-share-panel{display:none!important}body{padding-bottom:0}}
