/* Shared Library refinement. Scoped to the widget; article typography is unchanged. */
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library {
  --lib-text: #c2cdd3;
  --lib-seen: #81929c;
  --lib-core: #d0bea0;
  --lib-line: rgba(137, 183, 201, .19);
  display: block !important;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  border: 1px solid rgba(126, 180, 199, .29) !important;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(13, 31, 40, .66), rgba(6, 13, 23, .72));
  box-shadow: none !important;
  color: var(--lib-text);
  font-family: Poppins, Arial, sans-serif !important;
  font-size: 14px !important;
  font-style: normal !important;
}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library *, :is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library *::before, :is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library *::after { box-sizing: border-box; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-head {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 54px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--lib-line);
  color: #e5eef2;
  font: 600 13px/1.3 Arial, sans-serif !important;
  letter-spacing: .055em;
}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-head svg { width: 21px; height: 21px; flex: none; color: #b9ccd5; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library summary {
  display: flex !important;
  align-items: center;
  gap: 10px;
  position: relative;
  cursor: pointer;
  list-style: none;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0;
  color: #c8d4dc;
  font-family: Arial, sans-serif !important;
  font-style: normal !important;
  background: transparent;
}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library summary::-webkit-details-marker { display: none; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library summary::marker { content: ''; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library summary::before, :is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library summary::after { display: none !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-category { margin: 0 !important; padding: 0 !important; border: 0 !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-category + .lib-category { border-top: 1px solid var(--lib-line) !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-category > summary {
  min-height: 50px;
  padding: 12px 18px !important;
  font-size: 17px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: #bbcad3;
}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-category.is-current-category > summary {
  color: #ecf1f5;
  background: linear-gradient(90deg, rgba(45, 122, 145, .12), rgba(111, 86, 156, .065));
}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-category-body { padding: 0 0 8px; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-group { margin: 0 !important; padding: 0 !important; border: 0 !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-group > summary {
  min-height: 42px;
  padding: 11px 18px !important;
  border-top: 1px solid var(--lib-line) !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
  letter-spacing: .085em !important;
  text-transform: uppercase !important;
}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-group.is-current-group > summary { background: rgba(88, 136, 157, .045); color: #dde5eb; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-chevron { width: 7px; height: 7px; flex: none; margin-left: auto; margin-right: 3px; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); transition: transform 180ms ease; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library details[open] > summary .lib-chevron { transform: rotate(135deg); }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-links { display: block !important; padding: 2px 0 8px; margin: 0 !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link {
  position: relative;
  display: flex !important;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 18px !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--lib-text) !important;
  background: transparent;
  text-decoration: none !important;
  text-shadow: none !important;
  font: 400 13px/1.5 Poppins, Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  transition: color 160ms ease, background 160ms ease;
}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link > .lib-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link.is-core { color: var(--lib-core) !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link.is-viewed { color: var(--lib-seen) !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link.is-core.is-viewed { color: #a09d91 !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-check { flex: none; color: #759da7; font: 400 12px/1 Arial, sans-serif !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link[aria-current="page"],
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link:hover, :is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link:focus-visible {
  color: #f5fdff !important;
  background: linear-gradient(90deg, rgba(43, 202, 222, .10), rgba(108, 84, 188, .043));
}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link[aria-current="page"] { font-weight: 500 !important; }
/* Identical width, offsets, stops and shadow to the live header's row marker. */
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 2px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, transparent 0%, rgba(111,232,244,.7) 18%, rgba(157,97,255,.9) 50%, rgba(111,232,244,.7) 82%, transparent 100%);
  box-shadow: 0 0 12px rgba(111,232,244,.46);
  opacity: 0;
  transform: translateY(-16%) scaleY(0);
  transform-origin: center top;
  transition: transform 300ms cubic-bezier(.16,.82,.22,1), opacity 170ms;
  pointer-events: none;
}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link[aria-current="page"]::before,
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link:hover::before,
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link:focus-visible::before { opacity: 1; transform: translateY(0) scaleY(1); }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link::after { display: none !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-footer { padding: 15px 18px 17px; border-top: 1px solid var(--lib-line); }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-progress { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font: 400 11px/1.6 Arial, sans-serif !important; color: #9aaeb9; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-progress strong { color: #d8e5ec; font: 500 13px/1.4 Arial, sans-serif !important; font-variant-numeric: tabular-nums; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-core-progress { margin-top: 4px; color: #baac95; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library :is(a, summary, button):focus-visible { outline: 2px solid #9cd9e8; outline-offset: -2px; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.source .preview-article-layout #page-library { position: static !important; align-self: start; border: 0; }
@media (max-width: 900px) {
  :is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library { max-width: 430px; margin-inline: auto !important; }
  :is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-link { min-height: 44px; font-size: 14px !important; }
  :is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-group > summary { min-height: 44px; font-size: 12px !important; }
}
@media (prefers-reduced-motion: reduce) { :is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library *, :is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library *::before { transition: none !important; } }

/* A moving one-pixel highlight stays within the rim, with no outside glow. */
@property --lib-border-angle { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes lib-rim { to { --lib-border-angle: 360deg; } }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library::before {
  content: ''; position: absolute; inset: -1px; padding: 1px; border-radius: inherit;
  background: conic-gradient(from var(--lib-border-angle), transparent 0deg 215deg, rgba(110,195,212,.2) 245deg, #bdebf1 275deg, rgba(166,146,218,.8) 292deg, transparent 318deg);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: lib-rim 8s linear infinite; pointer-events: none; z-index: 3;
  box-shadow: none; filter: none;
}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library::after { display: none !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-category-wrap { position: relative; border-top: 1px solid var(--lib-line); }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-category-wrap:first-child { border-top: 0; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-category > summary { padding-right: 18px !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-category > summary > span:first-child { padding-right: 42px; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-hub { position: absolute; top: 3px; right: 32px; display: flex; align-items: center; justify-content: center; width: 38px; height: 44px; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 5px; background: transparent !important; color: #a7c1cc !important; text-decoration: none !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-hub svg { width: 18px; height: 18px; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-hub:hover, :is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-hub:focus-visible { color: #effcff !important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-scroll { min-height: 0; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-head > span { flex: 1; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-close { margin-left: auto; width: 30px; height: 30px; padding: 5px; flex: none; background: transparent; color: #c2d2da; border: 0; cursor: pointer; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-close svg { width: 20px; height: 20px; }
@media (prefers-reduced-motion: reduce) { :is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library::before { animation: none !important; } }

/* Shared responsive Library: static sidebar, compact launcher and explicit popup. */
.mtr-library-layout { display:grid!important;grid-template-columns:minmax(0,1fr) 290px!important;gap:clamp(36px,4vw,80px)!important;align-items:start; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library { position:relative!important;top:auto!important;max-height:none!important;height:auto!important;width:290px!important; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-close { display:none; }
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library .lib-scroll { overflow:visible; }
.lib-launcher { position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:2147483002;display:flex;align-items:center;justify-content:center;gap:9px;min-height:48px;min-width:110px;padding:11px 15px;border:1px solid rgba(136,185,204,.48);border-radius:10px;background:linear-gradient(135deg,rgba(14,36,47,.97),rgba(15,20,36,.97));color:#dbeaf0;font:600 13px/1.2 Arial,sans-serif;cursor:pointer;box-shadow:none;isolation:isolate; }
.lib-launcher[hidden] { display:none!important; }
.lib-launcher>svg {width:20px;height:20px;flex:none;}
.lib-launcher::before {content:'';position:absolute;inset:-1px;padding:1px;border-radius:inherit;background:conic-gradient(from var(--lib-border-angle),transparent 0deg 215deg,rgba(110,195,212,.2) 245deg,#bdebf1 275deg,rgba(166,146,218,.8) 292deg,transparent 318deg);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude;animation:lib-rim 8s linear infinite;pointer-events:none;}
.lib-launcher:focus-visible {outline:2px solid #b1e9f1;outline-offset:4px;}
.lib-launcher:hover {color:#fff;border-color:#b3d8e3;}
.lib-backdrop {position:fixed;inset:0;z-index:2147483003;background:rgba(0,6,12,.7);}
.lib-backdrop[hidden] {display:none!important;}
body.mtr-library-open {overflow:hidden;}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library.lib-collapsed {display:none!important;}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library.lib-overlay {display:flex!important;flex-direction:column;position:fixed!important;z-index:2147483004!important;inset:calc(var(--wp-admin--admin-bar--height,0px) + 12px) 12px 12px auto!important;width:min(360px,calc(100vw - 24px))!important;height:auto!important;max-height:none!important;max-width:none!important;background:linear-gradient(145deg,rgba(13,31,40,.98),rgba(6,13,23,.98))!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important;margin:0!important;}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library.lib-overlay .lib-head {flex:none;}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library.lib-overlay .lib-close {display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;margin:-9px -7px -9px auto;border:0;background:transparent;color:#c5d8e1;cursor:pointer;}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library.lib-overlay .lib-close svg {width:21px;height:21px;}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library.lib-overlay .lib-scroll {flex:1;overflow-y:auto;min-height:0;overscroll-behavior:contain;scrollbar-width:none;}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library.lib-overlay .lib-scroll::-webkit-scrollbar {display:none;}
@media(max-width:1899px){.mtr-library-layout {display:block!important;}.mtr-library-layout>.article-main,.mtr-library-layout>.article-body{width:100%!important;max-width:1080px!important;margin-inline:auto!important;}}
@media(prefers-reduced-motion:reduce){.lib-launcher::before{animation:none;}}
/* The desktop panel returns after sustained upward scrolling. This is nonmodal. */
.lib-slot{width:290px;min-width:0;align-self:start;}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library.lib-returning{display:flex!important;flex-direction:column;position:fixed!important;inset:calc(var(--wp-admin--admin-bar--height,0px) + 106px) auto auto var(--lib-return-left)!important;width:290px!important;max-height:calc(100svh - var(--wp-admin--admin-bar--height,0px) - 130px)!important;height:auto!important;z-index:2000!important;background:linear-gradient(145deg,rgba(13,31,40,.98),rgba(6,13,23,.98))!important;animation:lib-return-in .24s ease-out both;}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library.lib-returning .lib-head{flex:none;}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library.lib-returning .lib-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(141,193,211,.35) transparent;}
:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library.lib-returning .lib-close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;margin:-9px -7px -9px auto;}
@keyframes lib-return-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1899px){.lib-slot{display:contents;min-height:0!important;}}
@media(prefers-reduced-motion:reduce){:is(body #mtr-founder-page, body) .mtr-library.mtr-library.mtr-library.lib-returning{animation:none;}}
