/* impeccable-disable overused-font: Open Sans is the client site body font, used sitewide */
/* In-site viewer (viewer.js): a browser-like window for every outside link. Brand: navy #1f3a5f, teal #1f6f6b,
   Montserrat headings. Desktop: a large window, min(1100px, 92vw) x 86vh. Phones: a full-screen sheet whose title bar
   stays put while the body scrolls. Every control is >= 44 px. No transition with prefers-reduced-motion. */
html.tbp-v-lock,html.tbp-v-lock body{overflow:hidden}
html.tbp-v-lock{scrollbar-gutter:stable} /* no sideways jump when the scrollbar is hidden */
.tbp-v{border:0;padding:0;margin:auto;width:min(1100px,92vw);max-width:none;height:86vh;max-height:none;border-radius:14px;background:#fff;color:#313131;box-shadow:0 24px 70px rgba(10,24,44,.38);font-family:'Open Sans',Helvetica,sans-serif;overflow:hidden}
.tbp-v::backdrop{background:rgba(15,30,50,.62)}
.tbp-v__in{display:flex;flex-direction:column;height:100%}
.tbp-v__bar{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#eef3f5;border-bottom:1px solid #d5e0e5;flex:0 0 auto}
.tbp-v__back,.tbp-v__x{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-width:44px;height:44px;padding:0 8px;border:0;border-radius:10px;background:transparent;color:#1f3a5f;cursor:pointer;font:600 15px/1 'Open Sans',Helvetica,sans-serif}
.tbp-v__back{padding-right:12px}
.tbp-v__x{font:400 28px/1 sans-serif;padding:0}
.tbp-v__back:hover,.tbp-v__x:hover{background:#dbe7ea}
.tbp-v__id{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:12px}
.tbp-v__title{margin:0;min-width:0;flex:0 1 auto;font:700 17px/1.3 Montserrat,sans-serif;color:#1f3a5f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tbp-v__title:focus,.tbp-v__title:focus-visible{outline:none} /* focus lands on the title on open (APG) for screen readers; it is not a control (tabindex=-1) and Tab goes on to Back, which shows its ring. iPhone WebKit drew this ring on every open */
.tbp-v__host{margin:0;flex:0 1 auto;min-width:0;display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border:1px solid #d5e0e5;border-radius:999px;background:#fff;font:400 14px/1.2 'Open Sans',Helvetica,sans-serif;color:#313131}
.tbp-v__host:empty{display:none}
.tbp-v__lock{display:inline-flex;color:#1f6f6b}
.tbp-v__hosttxt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tbp-v__go{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;min-height:44px;box-sizing:border-box;padding:0 16px;border-radius:10px;background:#1f3a5f;color:#fff!important;font:700 15px/1.2 'Open Sans',Helvetica,sans-serif;text-decoration:none!important;white-space:nowrap}
.tbp-v__go:hover{background:#163050}
.tbp-v__go[hidden]{display:none}
.tbp-v__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.tbp-v a:focus-visible{outline:3px solid #1f6f6b;outline-offset:2px}
.tbp-v__back:focus-visible,.tbp-v__x:focus-visible{outline:3px solid #1f6f6b;outline-offset:-3px} /* inside, so the ring never clips at the screen edge */
.tbp-v__body{flex:1 1 auto;min-height:0;overflow:auto;padding:24px 28px 28px;font-size:16px;line-height:1.6;overscroll-behavior:contain}
.tbp-v__body--frame{display:flex;flex-direction:column;padding:0;overflow:hidden}
.tbp-v__body p{margin:0 0 12px;padding:0} /* the theme pads every p (body p) */
.tbp-v__body a{color:#1f6f6b;text-decoration:underline}
.tbp-v__frame{position:relative;flex:1 1 auto;min-height:0}
.tbp-v__frame iframe{display:block;width:100%;height:100%;border:0}
.tbp-v__loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0!important;background:#fff;color:#4a5a70}
.tbp-v__slow{flex:0 0 auto;padding:14px 20px 0}
.tbp-v__card,.tbp-v__msg,.tbp-v__head,.tbp-v__list,.tbp-v__more{max-width:720px;margin-left:auto!important;margin-right:auto!important}
.tbp-v__msg{padding:4px 0}
.tbp-v__k{margin:18px 0 4px!important;font:700 13px/1.3 Montserrat,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#1f6f6b}
.tbp-v__k:first-child{margin-top:0!important}
.tbp-v blockquote{margin:0 0 8px!important;padding:10px 14px!important;border:0!important;background:#f2f7f7;border-radius:10px;color:#1f3a5f;font:400 15px/1.55 'Open Sans',Helvetica,sans-serif!important;quotes:none}
.tbp-v blockquote::before,.tbp-v blockquote::after{content:none!important}
.tbp-v__note{margin-top:18px!important;font-size:14px;color:#4a5a70}
.tbp-v__url{font-size:14px;color:#4a5a70;word-break:break-all}
.tbp-v__head{color:#1f3a5f}
.tbp-v__list{list-style:none!important;margin-bottom:16px!important;padding:0!important}
.tbp-v__list li{list-style:none!important;margin:0!important;padding-left:0!important}.tbp-v__list li::before,.tbp-v__list li::marker{content:none!important}
.tbp-v__list li{padding:14px 0;border-top:1px solid #e3e8ef}
.tbp-v__list li p{margin:4px 0 0}
.tbp-v__who{font-weight:700;color:#1f3a5f}
.tbp-v__who span{font-weight:400;color:#4a5a70;font-size:14px}
.tbp-v__stars i{font-style:normal;color:#b57f00;font-size:17px;letter-spacing:1px}
.tbp-v__stars i.off{color:#c9d2d6}
.tbp-v__more{padding-top:4px}
/* Wide variant (viewer.js, links marked data-tbp-wide): the whole viewport less a 16 px margin, so "full screen" is
   never smaller than the 1040 x 680 inline calendar it replaces on a 1440 x 900 screen. Phones are full screen anyway. */
@media (min-width:601px){.tbp-v.tbp-v--wide{width:calc(100vw - 32px);height:calc(100vh - 32px);height:calc(100dvh - 32px)}}
@media (max-width:600px){
  .tbp-v{width:100vw;height:100vh;height:100dvh;max-height:100dvh;border-radius:0;margin:0}
  .tbp-v__bar{position:sticky;top:0;z-index:1;gap:4px;padding:6px 6px 6px 4px;padding-top:max(6px,env(safe-area-inset-top))}
  .tbp-v__back{padding:0}
  .tbp-v__backtxt{display:none}
  .tbp-v__id{flex-direction:column;align-items:flex-start;gap:1px}
  .tbp-v__title{max-width:100%;font-size:15px}
  .tbp-v__host{max-width:100%;padding:0;border:0;background:none;font-size:13px;color:#4a5a70}
  .tbp-v__go{padding:0 12px;font-size:14px}
  .tbp-v__body{padding:16px 16px calc(24px + env(safe-area-inset-bottom))}
  .tbp-v__body--frame{padding:0}
}
@media (prefers-reduced-motion:no-preference){.tbp-v[open]{animation:tbpVin .18s ease-out}@keyframes tbpVin{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
/* Sticky Book button, phones only (viewer.js adds it; inline display:none until this file loads). Fixed, so it never
   shifts the layout; it slides in after the first screen, and simply appears with prefers-reduced-motion. */
@media (max-width:767px){
  .tbp-sticky{display:block!important;position:fixed;left:0;right:0;bottom:0;z-index:9990;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.96);border-top:1px solid #dbe5e8;box-shadow:0 -6px 20px rgba(18,35,63,.10);transform:translateY(110%);visibility:hidden}
  .tbp-sticky.is-on{transform:none;visibility:visible}
  .tbp-sticky a{display:flex;align-items:center;justify-content:center;min-height:48px;border-radius:10px;background:#1f3a5f;color:#fff!important;font:700 16px/1.2 'Open Sans',Helvetica,sans-serif;letter-spacing:.01em;text-decoration:none!important;-webkit-tap-highlight-color:transparent}
  .tbp-sticky a:active{background:#12233f}
  .tbp-sticky a:focus-visible{outline:3px solid #44a9a5;outline-offset:2px}
  .tbp-sticky-pad{padding-bottom:calc(78px + env(safe-area-inset-bottom))!important}
  html.tbp-v-lock .tbp-sticky{display:none!important}
}
@media (max-width:767px) and (prefers-reduced-motion:no-preference){.tbp-sticky{transition:transform .22s cubic-bezier(.2,.8,.2,1),visibility 0s linear .22s}.tbp-sticky.is-on{transition:transform .22s cubic-bezier(.2,.8,.2,1),visibility 0s}}
