/* Shared guide navigation. Keep these selectors scoped to avoid changing articles. */
.oryon-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .5rem;
  margin: 0 0 1.5rem;
  color: #475569;
  font-size: .875rem;
  line-height: 1.6;
}
.oryon-breadcrumb a, .oryon-guides-link {
  color: #0f766e;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.oryon-related {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid #dbe3e9;
  color: #0f172a;
}
.oryon-related--wide {
  width: min(100% - 2.5rem, 80rem);
  margin: 0 auto;
  padding-bottom: 4rem;
}
.oryon-related-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.oryon-related h2 { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.3; }
.oryon-related-intro { margin: .75rem 0 1.5rem; color: #475569; line-height: 1.75; }
.oryon-related-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.oryon-related-card {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border: 1px solid #dbe3e9;
  border-radius: 1rem;
  background: #fff;
  color: #0f172a;
  text-decoration: none;
  transition: border-color .15s, background-color .15s;
}
.oryon-related-card:hover { border-color: #0f766e; background: #f0fdfa; }
.oryon-related-card span { color: #0f766e; font-size: .875rem; font-weight: 700; }
.oryon-related-card h3 { margin: .65rem 0; font-size: 1.125rem; font-weight: 700; line-height: 1.45; }
.oryon-related-card p { margin: 0; color: #475569; font-size: 1rem; line-height: 1.65; }
.oryon-related a:focus-visible, .oryon-breadcrumb a:focus-visible, .oryon-guides-link:focus-visible {
  outline: 3px solid #0f766e;
  outline-offset: 4px;
}
@media (max-width: 767px) { .oryon-related-grid { grid-template-columns: 1fr; } }
@media print { .oryon-related, .oryon-breadcrumb { display: none !important; } }

/* Library layout: static links and topic sections work without JavaScript. */
.guide-library {
  margin: 0;
  background: #f8fafb;
  color: #0f172a;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.guide-library *, .guide-library *::before, .guide-library *::after { box-sizing: border-box; }
.guide-library h1, .guide-library h2, .guide-library h3, .guide-library p { margin: 0; }
.guide-library a { color: inherit; }
.guide-library a:focus-visible { outline: 3px solid #0f766e; outline-offset: 5px; }
.guide-library .library-wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.library-skip {
  position: fixed;
  top: -8rem;
  left: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: #fff;
}
.library-skip:focus { top: 1rem; }
.library-header { background: #fff; border-bottom: 1px solid #dbe3e9; }
.library-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem; }
.library-brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; font-size: .875rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.library-brand img { width: 2.5rem; height: 2.5rem; padding: .25rem; border: 1px solid #dbe3e9; border-radius: .65rem; }
.library-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; font-size: .875rem; font-weight: 700; }
.library-header nav a { text-decoration: none; }
.library-header nav a:hover, .library-header nav [aria-current="page"] { color: #0f766e; }
.guide-library a.library-button { display: inline-flex; align-items: center; justify-content: center; padding: .7rem 1.15rem; border-radius: 2rem; background: #0f172a; color: #fff; text-decoration: none; font-size: .875rem; font-weight: 700; }
.guide-library a.library-button:hover { background: #1e293b; }
.library-intro { padding-block: 3.5rem 2rem; }
.guide-library .oryon-breadcrumb { margin-bottom: 1.5rem; }
.library-eyebrow { color: #0f766e; font-size: .875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.guide-library h1 { max-width: 55rem; margin: .8rem 0 1.25rem; font-size: clamp(2.5rem, 5.5vw, 4.5rem); font-weight: 600; line-height: 1.1; letter-spacing: -.045em; }
.library-intro > p { max-width: 45rem; color: #475569; font-size: 1.125rem; line-height: 1.8; }
.library-topics { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.library-topics a { padding: .5rem .9rem; border: 1px solid #cbd5e1; border-radius: 2rem; background: #fff; font-size: .875rem; font-weight: 600; text-decoration: none; }
.library-topics a:hover { border-color: #0f766e; color: #0f766e; }
.library-start { margin-block: 1rem 3.5rem; padding: 1.75rem; border: 1px solid #c7ddd8; border-radius: 1.25rem; background: #eaf5f1; }
.guide-library .library-start h2 { font-size: 1.375rem; line-height: 1.4; }
.library-start > p { margin-top: .35rem; color: #475569; }
.library-start-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.library-start-link { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: 1rem 1.2rem; border-radius: .75rem; background: #fff; text-decoration: none; }
.library-start-link:hover { box-shadow: inset 0 0 0 1px #0f766e; }
.library-start-link strong { display: block; font-size: 1rem; }
.library-start-link small { display: block; margin-top: .3rem; color: #475569; font-size: .875rem; }
.library-start-link > span:last-child { color: #0f766e; }
.library-section { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; padding-block: 2.75rem; border-top: 1px solid #dbe3e9; scroll-margin-top: 1.5rem; }
.library-section-heading > span { display: inline-block; margin-bottom: .75rem; color: #0f766e; font-size: .875rem; font-weight: 800; }
.guide-library .library-section h2 { font-size: 1.75rem; font-weight: 600; line-height: 1.3; letter-spacing: -.025em; }
.library-section-heading p { margin-top: 1rem; color: #475569; }
.library-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; list-style: none; margin: 0; padding: 0; }
.library-grid li { display: flex; min-width: 0; }
.library-grid li:only-child { grid-column: 1 / -1; }
.library-card { display: flex; flex-direction: column; width: 100%; padding: 1.5rem; border: 1px solid #dbe3e9; border-radius: 1rem; background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.library-card:hover { border-color: #0f766e; box-shadow: 0 8px 24px #0f172a08; }
.guide-library .library-card h3 { font-size: 1.125rem; font-weight: 700; line-height: 1.5; }
.library-card p { margin-block: .8rem 1.4rem; color: #475569; }
.library-card > span { margin-top: auto; color: #0f766e; font-size: .875rem; font-weight: 800; }
.library-product { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; margin-block: 1.5rem 4rem; padding: 1.75rem 0; border-top: 1px solid #dbe3e9; }
.guide-library .library-product h2 { font-size: 1.25rem; }
.library-product p { margin-top: .5rem; max-width: 40rem; color: #475569; }
.library-footer { border-top: 1px solid #dbe3e9; background: #fff; padding-block: 2rem; color: #475569; font-size: .875rem; }
.library-footer-inner, .library-footer nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; }
.library-footer a { text-decoration: none; }
.library-footer a:hover { text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 1000px) {
  .library-section { grid-template-columns: 1fr; gap: 1.5rem; }
  .library-section-heading p { max-width: 40rem; margin-top: .5rem; }
}
@media (max-width: 640px) {
  .guide-library .library-wrap { width: calc(100% - 2rem); }
  .library-header-inner { flex-wrap: wrap; gap: .8rem; }
  .library-header nav { width: 100%; justify-content: space-between; gap: .75rem; }
  .library-intro { padding-top: 2rem; }
  .library-start { padding: 1.25rem; margin-bottom: 2rem; }
  .library-start-grid, .library-grid { grid-template-columns: 1fr; }
  .library-section { padding-block: 2rem; }
  .library-topics a { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .library-card, .oryon-related-card { transition: none; }
}
