/* Cozy BoK Dashboard: loaded after Antora site.css. */
.body-dashboard .toolbar{display:none!important}.body.body-dashboard{max-width:none!important;margin:0!important;padding:0!important;min-height:calc(100vh - 3.5rem);background:#0b1220!important;background-image:radial-gradient(circle at 10% 0,rgba(34,197,94,.22),transparent 24rem),radial-gradient(circle at 86% 10%,rgba(59,130,246,.28),transparent 28rem),linear-gradient(135deg,#0b1220 0,#111827 48%,#172554 100%)!important}.body-dashboard main.article{padding-top:0!important}.body-dashboard .content{display:block!important}.body-dashboard .doc{max-width:none!important;margin:0!important;padding:0 1.25rem 3rem!important;color:#dbeafe}.body-dashboard .nav-container,.body-dashboard aside.toc.sidebar,.body-dashboard aside.toc.embedded{display:none!important}.bok-dashboard-shell{max-width:118rem;margin:0 auto;padding:1.6rem 0 2rem}.bok-dashboard-shell strong,.bok-dashboard-shell b,.bok-dashboard-shell em{text-decoration:none!important}.bok-dashboard-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(18rem,26rem);gap:1.25rem;align-items:stretch;margin:0 0 1.25rem;padding:1.4rem;color:#fff;border:1px solid rgba(148,163,184,.28);border-radius:28px;background:linear-gradient(135deg,rgba(15,23,42,.94),rgba(30,64,175,.78) 55%,rgba(20,83,45,.82))!important;box-shadow:0 30px 80px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.06) inset}.bok-dashboard-hero-copy{display:flex;flex-direction:column;justify-content:center}.bok-dashboard-hero h1.page{margin:0!important;padding:0!important;color:#fff!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;font-size:clamp(2rem,4vw,4rem);line-height:.95;letter-spacing:-.05em}.bok-dashboard-eyebrow{display:inline-flex;width:max-content;margin:0 0 .65rem;padding:.28rem .62rem;color:#bfe7ff;background:rgba(14,165,233,.14);border:1px solid rgba(191,231,255,.42);border-radius:999px;font-size:.78rem;font-weight:900;letter-spacing:.22em;text-transform:uppercase}.bok-dashboard-lead{max-width:54rem;margin:.9rem 0 0;color:#e6f2ff;font-size:1.08rem;line-height:1.65}.bok-dashboard-hero-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;align-content:end}.bok-dashboard-hero-fact{display:flex;min-height:8.2rem;flex-direction:column;justify-content:center;padding:.9rem;text-align:center;background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.18);border-radius:20px;box-shadow:0 18px 36px rgba(0,0,0,.22),0 1px 0 rgba(255,255,255,.18) inset}.bok-dashboard-hero-fact strong{display:block;color:#fff;font-size:3rem;font-weight:950;line-height:1;letter-spacing:-.08em}.bok-dashboard-hero-fact em{display:block;margin-top:.45rem;color:#d7ecff;font-size:.75rem;font-style:normal;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.bok-dashboard.container-fluid{padding-left:0!important;padding-right:0!important}.bok-dashboard>.row{--bs-gutter-x:1.35rem;--bs-gutter-y:1.35rem;align-items:stretch}.bok-card{min-height:100%;background:#f8fafc!important;border:1px solid rgba(148,163,184,.20)!important;border-radius:26px!important;box-shadow:0 22px 56px rgba(0,0,0,.28)!important;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease}.bok-card:hover{transform:translateY(-2px);box-shadow:0 30px 70px rgba(0,0,0,.34)!important}.bok-card::before{content:"";position:absolute;width:100%!important;height:.42rem!important;inset:0 0 auto 0!important;background:#228be6}.bok-card .card-body{padding:1.25rem 1.3rem 1.3rem!important}.bok-card .card-title{display:flex;align-items:center;gap:.5rem;margin:0 0 .9rem!important;color:#475569!important;font-size:.78rem!important;font-weight:900!important;letter-spacing:.1em;text-transform:uppercase}.bok-card .card-title::before{content:"";width:.62rem;height:.62rem;border-radius:999px;background:currentColor;opacity:.48}.bok-card-purpose{color:#f8fafc!important;background:linear-gradient(135deg,#0f766e 0,#164e63 50%,#1e3a8a 100%)!important;border-color:rgba(255,255,255,.16)!important}.bok-card-purpose::before{background:#22c55e}.bok-card-purpose .card-title,.bok-card-purpose .bok-purpose-vision,.bok-card-purpose .bok-purpose-list strong,.bok-card-purpose .bok-more{color:#fff!important}.bok-card-readiness{background:linear-gradient(135deg,#fff7ed,#ffffff)!important}.bok-card-readiness::before{background:#f59e0b}.bok-card-kpi{background:linear-gradient(160deg,#ffffff 0,#eef6ff 100%)!important}.bok-card-kpi::before{background:#3b82f6}.bok-card-kpi .card-body{position:relative;min-height:10.5rem!important;display:flex;flex-direction:column;justify-content:center}.bok-card-kpi .card-body::after{content:"";position:absolute;right:1rem;bottom:1rem;width:4.2rem;height:4.2rem;border-radius:1.35rem;background:linear-gradient(135deg,rgba(37,99,235,.16),rgba(6,182,212,.12));transform:rotate(10deg)}.bok-kpi-value{position:relative;z-index:1;color:#0f172a!important;font-size:3.45rem!important;font-weight:950!important;line-height:1;letter-spacing:-.08em}.bok-kpi-label,.bok-kpi-note{position:relative;z-index:1}.bok-card-chart{background:#f8fbff!important}.bok-card-chart::before{background:#06b6d4}.bok-card-chart .bok-dashboard-chart{min-height:15rem;padding:.7rem;background:linear-gradient(180deg,#ffffff,#eff6ff);border:1px solid #dbeafe;border-radius:18px;box-shadow:none}.bok-cumulative-chart-svg{height:14rem}.bok-card-quality{background:linear-gradient(160deg,#fff7ed,#ffffff)!important}.bok-card-quality::before{background:#f97316}.bok-card-matrix,.bok-card-map{background:linear-gradient(160deg,#ffffff,#f5f3ff)!important}.bok-card-matrix::before,.bok-card-map::before{background:#8b5cf6}.bok-card-actions::before,.bok-card-related::before{background:#64748b}.bok-matrix-table{width:100%;border-collapse:separate;border-spacing:0 .35rem;font-size:.86rem}.bok-matrix-table th{padding:.45rem .55rem;background:#eef2ff;color:#334155;text-align:left;font-size:.75rem;letter-spacing:.05em;text-transform:uppercase}.bok-matrix-table td{padding:.55rem;background:#fff;color:#1f2937}.bok-matrix-table tr:nth-child(even) td{background:#f8fafc}.bok-category-matrix-link{font-weight:850;color:#0f4f9f!important;text-decoration:none!important}.bok-category-matrix-link:hover{text-decoration:underline!important}.bok-alert-list .list-group-item{border:1px solid #fed7aa;border-radius:12px;margin:.35rem 0;padding:.55rem .65rem;background:#fff7ed}.bok-purpose-vision{margin:0 0 .85rem;color:#fff!important;font-size:1rem;line-height:1.55}.bok-purpose-tree{display:grid;gap:.65rem;margin-top:.85rem}.bok-purpose-goal{position:relative;padding:.72rem .78rem .72rem .95rem;border-radius:16px;background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.16);box-shadow:0 10px 24px rgba(0,0,0,.14)}.bok-purpose-goal::before{content:"";position:absolute;left:.43rem;top:1.05rem;bottom:.78rem;width:2px;background:rgba(255,255,255,.28)}.bok-purpose-goal-head{display:flex;align-items:flex-start;gap:.55rem}.bok-purpose-goal-head strong{color:#fff!important;line-height:1.45}.bok-purpose-node-label{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;min-width:1.7rem;height:1.35rem;border-radius:999px;background:rgba(255,255,255,.26);color:#fff;font-size:.68rem;font-weight:900;letter-spacing:.04em}.bok-purpose-subgoals{list-style:none;margin:.55rem 0 0 2.25rem;padding:0;display:grid;gap:.42rem}.bok-purpose-subgoals li{position:relative;display:flex;align-items:flex-start;gap:.5rem;color:#dff7f2;line-height:1.45}.bok-purpose-subgoals li::before{content:"";position:absolute;left:-1.35rem;top:.68rem;width:1.05rem;height:2px;background:rgba(255,255,255,.28)}.bok-purpose-unassigned{margin-top:.65rem;padding:.65rem .75rem;border-radius:14px;background:rgba(255,255,255,.10);border:1px dashed rgba(255,255,255,.30)}.bok-purpose-unassigned>strong{color:#fff}.navbar-category-nav{display:inline-flex;align-items:center;margin-left:.3rem}.navbar-category-dropdown > .navbar-category-toggle{border-radius:999px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);min-height:2.2rem;padding:.35rem .85rem;color:#fff!important;font-weight:800}.navbar-category-dropdown > .navbar-category-toggle:hover,.navbar-category-dropdown > .navbar-category-toggle:focus{background:rgba(255,255,255,.22);text-decoration:none}.navbar-category-dropdown > .navbar-category-menu{left:auto;right:0;max-width:min(22rem,calc(100vw - 1rem))}@media (max-width:64rem){.bok-dashboard-hero{grid-template-columns:1fr}.bok-dashboard-hero-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:48rem){.body-dashboard .doc{padding-left:.75rem!important;padding-right:.75rem!important}.bok-dashboard-hero{grid-template-columns:1fr;border-radius:20px;padding:1rem}.bok-dashboard-hero-facts{grid-template-columns:1fr}.bok-dashboard-hero h1.page{font-size:2.15rem}.bok-dashboard-hero-fact strong{font-size:2.45rem}.bok-kpi-value{font-size:2.65rem!important}.bok-purpose-subgoals{margin-left:1.4rem}.bok-purpose-subgoals li::before{left:-.9rem;width:.65rem}.navbar-category-nav{width:100%;margin-left:0}.navbar-category-dropdown,.navbar-category-dropdown > .navbar-category-toggle{width:100%}.navbar-category-dropdown > .navbar-category-toggle{justify-content:flex-start;color:#1f2933!important;background:#f8fafc;border-color:#e2e8f0}.navbar-category-dropdown > .navbar-category-menu{position:static;width:100%}}

/* Phase 12 dashboard cockpit overrides. Keep this file after site.css. */
.body-dashboard .main-wrapper,
.body-dashboard main.article,
.body-dashboard .content,
.body-dashboard .doc {
  background: transparent !important;
}
.body-dashboard .article {
  color: #dbeafe !important;
}
.body-dashboard .bok-narrative-corner,
.body-dashboard .doc > .sect1 {
  max-width: 118rem;
  margin: 1rem auto 0;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 24px;
  color: #0f172a !important;
  background: rgba(248,250,252,.94) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}
.body-dashboard .bok-narrative-corner h2,
.body-dashboard .doc > .sect1 h2 {
  margin-top: 0;
  color: #0f172a !important;
  font-weight: 950;
}
.body-dashboard .bok-narrative-corner p,
.body-dashboard .bok-narrative-corner li,
.body-dashboard .bok-narrative-corner span,
.body-dashboard .doc > .sect1 p,
.body-dashboard .doc > .sect1 li,
.body-dashboard .doc > .sect1 span {
  color: #1e293b !important;
}
.body-dashboard .bok-narrative-corner a,
.body-dashboard .doc > .sect1 a {
  color: #0f4f9f !important;
}
.bok-dashboard-shell {
  position: relative;
  isolation: isolate;
}
.bok-dashboard-shell::before {
  content: "";
  position: fixed;
  inset: 3.5rem 0 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.78), transparent 74%);
}
.bok-dashboard-hero {
  min-height: 18rem;
  padding: clamp(1.25rem, 3vw, 2.4rem) !important;
  background:
    radial-gradient(circle at 8% 12%, rgba(34,211,238,.28), transparent 20rem),
    radial-gradient(circle at 84% 18%, rgba(16,185,129,.28), transparent 22rem),
    linear-gradient(135deg, #020617 0%, #172554 46%, #064e3b 100%) !important;
}
.bok-dashboard-hero h1.page {
  max-width: 16ch;
  text-wrap: balance;
}
.bok-dashboard-hero-facts {
  align-self: stretch;
}
.bok-dashboard-hero-fact {
  position: relative;
  overflow: hidden;
}
.bok-dashboard-hero-fact::after {
  content: "";
  position: absolute;
  right: -1.4rem;
  bottom: -1.8rem;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.bok-dashboard-command-center {
  border: 1px solid rgba(148,163,184,.20);
  border-radius: 30px;
  padding: 1.15rem !important;
  background: rgba(15,23,42,.58);
  box-shadow: 0 28px 90px rgba(0,0,0,.34) inset, 0 24px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(10px);
}
.bok-dashboard-command-center > .row > [class*="col-"] {
  display: flex;
}
.bok-dashboard-command-center .bok-card {
  width: 100%;
}
.bok-dashboard-actor-filter {
  display: flex;
  flex-wrap: nowrap;
  gap: .7rem;
  align-items: center;
  margin: 0 0 1.15rem;
  padding: .54rem .68rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: rgba(15,23,42,.42);
  box-shadow: 0 12px 32px rgba(0,0,0,.20) inset;
}
.bok-dashboard-actor-select-label {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  min-width: 0;
  margin: 0;
  white-space: nowrap;
}
.bok-dashboard-actor-select-label span {
  color: #cbd5e1;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bok-dashboard-actor-mode-select-label span {
  font-size: .68rem;
  letter-spacing: .1em;
}
.bok-dashboard-actor-select {
  min-width: 8.5rem;
  max-width: 13rem;
  appearance: none;
  border: 1px solid rgba(203,213,225,.34);
  border-radius: 999px;
  padding: .42rem 2rem .42rem .72rem;
  color: #e2e8f0;
  background:
    linear-gradient(45deg, transparent 50%, #dbeafe 50%) right .82rem center / .42rem .42rem no-repeat,
    linear-gradient(135deg, #dbeafe 50%, transparent 50%) right .55rem center / .42rem .42rem no-repeat,
    rgba(255,255,255,.08);
  font-size: .78rem;
  font-weight: 850;
  cursor: pointer;
}
.bok-dashboard-actor-select:focus {
  outline: none;
  color: #fff;
  border-color: rgba(255,255,255,.72);
  background-color: rgba(255,255,255,.14);
  box-shadow: 0 0 0 3px rgba(255,255,255,.12);
}
.bok-dashboard-actor-select option {
  color: #0f172a;
  background: #f8fafc;
}
.bok-dashboard-actor-status {
  margin-left: auto;
  padding: .36rem .72rem;
  color: #dbeafe;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}
@media (max-width: 64rem) {
  .bok-dashboard-actor-filter {
    flex-wrap: wrap;
    border-radius: 18px;
  }
  .bok-dashboard-actor-status {
    flex: 1 1 100%;
    margin-left: 0;
  }
}
[data-bok-card].is-bok-filter-hidden {
  display: none !important;
}
.bok-index-term-category {
  color: var(--bok-muted, #64748b);
  font-size: .88rem;
  font-weight: 800;
  white-space: nowrap;
}
[data-bok-card].is-bok-filter-dimmed {
  opacity: .22;
  filter: grayscale(.82) saturate(.4);
  transform: scale(.985);
  transition: opacity .18s ease, filter .18s ease, transform .18s ease;
}
[data-bok-card].is-bok-filter-dimmed .bok-card {
  box-shadow: none !important;
}
[data-bok-card].is-bok-filter-dimmed .bok-card:hover {
  transform: none;
}
.bok-card-actor-chips {
  display: none;
  flex-wrap: wrap;
  gap: .32rem;
  margin: -.25rem 0 .78rem;
}
.bok-dashboard[data-bok-current-actor="site_administrator"] .bok-card-actor-chips {
  display: flex;
}
.bok-card-actor-chips span {
  display: inline-flex;
  align-items: center;
  padding: .18rem .5rem;
  color: #334155;
  background: rgba(148,163,184,.14);
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .03em;
}
.bok-card-purpose .bok-card-actor-chips span {
  color: #ecfeff;
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.22);
}
.bok-card-purpose {
  min-height: auto;
  height: fit-content;
}
.bok-card-category-purpose {
  min-height: auto;
  height: fit-content;
  align-self: start;
}
[data-bok-card]:has(.bok-card-category-purpose) {
  align-self: start;
}
.bok-card-readiness {
  min-height: 24rem;
}
.bok-card-kpi {
  min-height: 12rem;
}
.bok-card-analysis-entry {
  background: linear-gradient(135deg, rgba(236,253,245,.96), rgba(239,246,255,.94)) !important;
}
.bok-card-analysis-entry::before {
  background: #10b981;
}
.bok-analysis-entry-lead {
  margin: 0 0 .42rem;
  color: #334155;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.36;
}
.bok-analysis-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
}
.bok-analysis-entry-flow {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: stretch;
  gap: .18rem;
  width: fit-content;
  max-width: 100%;
  margin: .45rem auto 0;
}
.bok-analysis-entry-analysis {
  display: grid;
  gap: .24rem;
  padding: .32rem;
  border: 1px solid rgba(16,185,129,.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(236,253,245,.56), rgba(255,255,255,.62));
}
.bok-analysis-entry-group-title {
  color: #0f766e;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bok-analysis-entry-relation {
  display: grid;
  grid-template-columns: 13.2rem 2.2rem 13.2rem;
  align-items: stretch;
  gap: .16rem;
}
.bok-analysis-entry-output-relation {
  display: grid;
  grid-template-columns: 2.2rem 13.2rem;
  align-items: stretch;
  gap: .16rem;
}
.bok-analysis-entry-column {
  display: grid;
  gap: .24rem;
}
.bok-analysis-entry-center {
  display: grid;
}
.bok-analysis-entry-center .bok-analysis-entry-tile {
  min-height: 100%;
  align-content: center;
  border-color: rgba(16,185,129,.42);
  background: linear-gradient(135deg, rgba(236,253,245,.96), rgba(255,255,255,.88));
  box-shadow: 0 22px 46px rgba(6,95,70,.16);
}
.bok-analysis-entry-mono-koto-process {
  outline: 2px solid rgba(16,185,129,.18);
  outline-offset: 2px;
}
.bok-analysis-entry-arrow {
  display: grid;
  place-items: center;
  color: #0f766e;
  font-size: 1.78rem;
  font-weight: 1000;
  line-height: 1;
}
.bok-analysis-entry-arrow-column {
  display: grid;
  gap: .16rem;
  align-items: stretch;
  justify-items: center;
  width: 2.2rem;
}
.bok-analysis-entry-arrow-column .bok-analysis-entry-arrow {
  min-height: 5.2rem;
}
.bok-analysis-entry-tile {
  display: grid;
  gap: .2rem;
  min-width: 0;
  min-height: 5.2rem;
  padding: .54rem .66rem;
  color: #0f172a !important;
  text-decoration: none !important;
  border: 1px solid rgba(15,118,110,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 14px 30px rgba(15,23,42,.10);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.bok-analysis-entry-analysis .bok-analysis-entry-tile,
.bok-analysis-entry-analysis .bok-analysis-entry-arrow-column .bok-analysis-entry-arrow {
  min-height: 3.95rem;
}
.bok-analysis-entry-analysis .bok-analysis-entry-tile {
  padding: .42rem .54rem;
}
.bok-analysis-entry-analysis .bok-analysis-entry-tile strong {
  font-size: .98rem;
}
.bok-analysis-entry-analysis .bok-analysis-entry-tile em {
  font-size: .8rem;
  line-height: 1.16;
}
.bok-analysis-entry-tile:hover,
.bok-analysis-entry-tile:focus {
  transform: translateY(-2px);
  border-color: rgba(16,185,129,.45);
  box-shadow: 0 20px 42px rgba(15,23,42,.16);
}
.bok-analysis-entry-static {
  cursor: default;
}
.bok-analysis-entry-static:hover,
.bok-analysis-entry-static:focus {
  transform: none;
  border-color: rgba(15,118,110,.18);
  box-shadow: 0 14px 30px rgba(15,23,42,.10);
}
.bok-analysis-entry-tile strong {
  color: #0f172a;
  font-size: 1.04rem;
  font-weight: 950;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.bok-analysis-entry-tile em {
  color: #475569;
  font-style: normal;
  font-weight: 750;
  line-height: 1.22;
  font-size: .84rem;
}
.bok-analysis-entry-kicker {
  width: max-content;
  padding: .14rem .38rem;
  color: #065f46;
  background: rgba(16,185,129,.14);
  border-radius: 999px;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .05em;
}
.bok-analysis-entry-scenario .bok-analysis-entry-kicker {
  color: #1d4ed8;
  background: rgba(59,130,246,.14);
}
.bok-analysis-entry-article .bok-analysis-entry-kicker {
  color: #9a3412;
  background: rgba(251,146,60,.16);
}
.bok-analysis-entry-project .bok-analysis-entry-kicker {
  color: #6d28d9;
  background: rgba(167,139,250,.18);
}
.bok-analysis-entry-rdf .bok-analysis-entry-kicker {
  color: #0e7490;
  background: rgba(34,211,238,.18);
}
.bok-article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: .75rem;
}
.bok-article-tile {
  display: grid;
  gap: .45rem;
  padding: .9rem 1rem;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 18px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
}
.bok-article-tile-head {
  display: flex;
  gap: .45rem;
  align-items: center;
}
.bok-article-tile h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.3;
}
.bok-article-tile p {
  margin: 0;
  color: #475569;
  font-weight: 650;
  line-height: 1.45;
}
.bok-card-chart {
  min-height: 23rem;
}
.bok-card-quality {
  min-height: 23rem;
}
.bok-card-matrix {
  min-height: 24rem;
}
.bok-card-activity,
.bok-card-quick-links,
.bok-card-actions,
.bok-card-related {
  min-height: 24rem;
}
.bok-definition-list {
  display: grid;
  gap: .8rem;
}
.bok-definition-row {
  display: grid;
  grid-template-columns: minmax(7rem, 42%) 1fr;
  gap: .8rem;
  align-items: center;
  padding: .72rem .82rem;
  border: 1px solid #e2e8f0;
  border-radius: 15px;
  background: rgba(255,255,255,.72);
}
.bok-definition-row span {
  color: #64748b;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bok-definition-row strong {
  color: #0f172a;
  font-weight: 900;
  text-align: right;
}
.bok-purpose-tree {
  gap: .85rem;
}
.bok-purpose-goal {
  display: grid;
  gap: .55rem;
  padding: .9rem .95rem .95rem 1rem !important;
}
.bok-purpose-subgoals li {
  align-items: stretch;
}
.bok-purpose-subgoal-copy {
  display: grid;
  gap: .12rem;
}
.bok-purpose-subgoal-copy small {
  color: #bfdbfe;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bok-purpose-subgoal-copy span {
  color: #ecfeff;
}
.bok-cumulative-chart-svg {
  filter: drop-shadow(0 12px 18px rgba(15,23,42,.15));
}
.bok-action-list {
  display: grid;
  gap: .65rem;
  padding-left: 1.15rem;
}
.bok-action-list code {
  display: inline-block;
  max-width: 100%;
  padding: .22rem .42rem;
  border-radius: 8px;
  background: #0f172a;
  color: #dbeafe;
  white-space: normal;
}
.navbar-category-dropdown > .navbar-category-menu,
.navbar-bok-dropdown > .navbar-bok-menu {
  min-width: 14rem;
  padding: .45rem;
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 16px;
  background: #0f172a;
  box-shadow: 0 20px 50px rgba(0,0,0,.30);
}
.navbar-category-dropdown:hover > .navbar-category-menu,
.navbar-category-dropdown:focus-within > .navbar-category-menu,
.navbar-bok-dropdown:hover > .navbar-bok-menu,
.navbar-bok-dropdown:focus-within > .navbar-bok-menu {
  display: grid;
  gap: .18rem;
}
.navbar-dropdown-item {
  display: block;
  padding: .55rem .7rem;
  border-radius: 11px;
  color: #e0f2fe !important;
  font-weight: 800;
  text-decoration: none !important;
}
.navbar-dropdown-item:hover {
  background: rgba(56,189,248,.16);
  color: #fff !important;
}
@media (min-width: 75rem) {
  .bok-dashboard-command-center > .row > .col-xl-8:first-child .bok-card,
  .bok-dashboard-command-center > .row > .col-xl-4:nth-child(2) .bok-card {
    min-height: 24rem;
  }
}
@media (max-width: 48rem) {
  .bok-dashboard-command-center {
    border-radius: 22px;
    padding: .75rem !important;
  }
  .bok-analysis-entry-grid {
    grid-template-columns: 1fr;
  }
  .bok-definition-row {
    grid-template-columns: 1fr;
  }
  .bok-definition-row strong {
    text-align: left;
  }
}
@media (max-width: 48rem) {
  .bok-analysis-entry-flow {
    grid-template-columns: 1fr;
  }
  .bok-analysis-entry-relation {
    grid-template-columns: 1fr;
  }
  .bok-analysis-entry-output-relation {
    grid-template-columns: 1fr;
  }
  .bok-analysis-entry-column {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  }
  .bok-analysis-entry-arrow-column {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  }
  .bok-analysis-entry-arrow {
    transform: rotate(90deg);
  }
}
@media (max-width: 48rem) {
  .bok-analysis-entry-column {
    grid-template-columns: 1fr;
  }
  .bok-analysis-entry-arrow-column {
    grid-template-columns: 1fr;
  }
  .bok-analysis-entry-tile {
    min-height: 7.2rem;
  }
  .bok-analysis-entry-arrow-column .bok-analysis-entry-arrow {
    min-height: 2.2rem;
  }
}

.bok-purpose-flat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .56rem;
  margin-top: .56rem;
}
.bok-purpose-flat-group {
  padding: .62rem .72rem .66rem;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 16px;
  background: rgba(255,255,255,.13);
}
.bok-purpose-flat-group > strong {
  display: block;
  margin-bottom: .38rem;
  color: #fff;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bok-purpose-flat-list {
  display: grid;
  gap: .3rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bok-purpose-flat-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: #ecfeff;
  line-height: 1.45;
}
@media (max-width: 48rem) {
  .bok-purpose-flat {
    grid-template-columns: 1fr;
  }
}

.navbar-category-dropdown > .navbar-category-toggle {
  color: #fff !important;
  font-weight: 800;
}
.navbar-category-dropdown > .navbar-category-menu,
.navbar-bok-dropdown > .navbar-bok-menu {
  left: auto;
  right: 0;
  max-width: min(22rem, calc(100vw - 1rem));
}
.navbar-category-dropdown:hover > .navbar-category-menu,
.navbar-category-dropdown:focus-within > .navbar-category-menu,
.navbar-bok-dropdown:hover > .navbar-bok-menu,
.navbar-bok-dropdown:focus-within > .navbar-bok-menu {
  display: block;
}
@media (max-width: 64rem) {
  .navbar-category-dropdown > .navbar-category-toggle,
  .navbar-bok-dropdown > .navbar-bok-toggle {
    color: #1f2933 !important;
  }
  .navbar-category-dropdown > .navbar-category-menu,
  .navbar-bok-dropdown > .navbar-bok-menu {
    position: static;
    display: block;
    width: 100%;
    box-shadow: none;
  }
}

/* Selectable BoK dashboard color groups. */
body.bok-dashboard-theme-aurora {
  --bok-dashboard-page-bg: #0b1220;
  --bok-dashboard-page-image: radial-gradient(circle at 10% 0, rgba(34,197,94,.22), transparent 24rem), radial-gradient(circle at 86% 10%, rgba(59,130,246,.28), transparent 28rem), linear-gradient(135deg, #0b1220 0, #111827 48%, #172554 100%);
  --bok-dashboard-hero-bg: radial-gradient(circle at 8% 12%, rgba(34,211,238,.28), transparent 20rem), radial-gradient(circle at 84% 18%, rgba(16,185,129,.28), transparent 22rem), linear-gradient(135deg, #020617 0%, #172554 46%, #064e3b 100%);
  --bok-dashboard-purpose-bg: linear-gradient(135deg, #0f766e 0, #164e63 50%, #1e3a8a 100%);
  --bok-dashboard-accent: #22c55e;
  --bok-dashboard-kpi: #0f172a;
}
body.bok-dashboard-theme-ocean {
  --bok-dashboard-page-bg: #071923;
  --bok-dashboard-page-image: radial-gradient(circle at 12% 4%, rgba(14,165,233,.30), transparent 24rem), radial-gradient(circle at 88% 18%, rgba(45,212,191,.24), transparent 28rem), linear-gradient(135deg, #071923 0, #0f3057 52%, #083344 100%);
  --bok-dashboard-hero-bg: radial-gradient(circle at 8% 12%, rgba(125,211,252,.34), transparent 20rem), radial-gradient(circle at 84% 18%, rgba(45,212,191,.26), transparent 22rem), linear-gradient(135deg, #082f49 0%, #155e75 48%, #0f766e 100%);
  --bok-dashboard-purpose-bg: linear-gradient(135deg, #0369a1 0, #155e75 52%, #0f766e 100%);
  --bok-dashboard-accent: #38bdf8;
  --bok-dashboard-kpi: #0c4a6e;
}
body.bok-dashboard-theme-lagoon {
  --bok-dashboard-page-bg: #052f35;
  --bok-dashboard-page-image: radial-gradient(circle at 12% 4%, rgba(45,212,191,.32), transparent 24rem), radial-gradient(circle at 86% 14%, rgba(34,211,238,.24), transparent 28rem), linear-gradient(135deg, #052f35 0, #0f766e 48%, #155e75 100%);
  --bok-dashboard-hero-bg: radial-gradient(circle at 8% 12%, rgba(153,246,228,.36), transparent 20rem), radial-gradient(circle at 84% 18%, rgba(125,211,252,.28), transparent 22rem), linear-gradient(135deg, #064e3b 0%, #0f766e 50%, #0e7490 100%);
  --bok-dashboard-purpose-bg: linear-gradient(135deg, #047857 0, #0f766e 50%, #0891b2 100%);
  --bok-dashboard-accent: #2dd4bf;
  --bok-dashboard-kpi: #115e59;
}
body.bok-dashboard-theme-meadow {
  --bok-dashboard-page-bg: #edf8ef;
  --bok-dashboard-page-image: radial-gradient(circle at 12% 4%, rgba(187,247,208,.45), transparent 24rem), radial-gradient(circle at 86% 14%, rgba(134,239,172,.28), transparent 28rem), linear-gradient(135deg, #edf8ef 0, #dcfce7 48%, #f0fdf4 100%);
  --bok-dashboard-hero-bg: radial-gradient(circle at 8% 12%, rgba(240,253,244,.60), transparent 20rem), radial-gradient(circle at 84% 18%, rgba(187,247,208,.42), transparent 22rem), linear-gradient(135deg, #bbf7d0 0%, #dcfce7 48%, #ecfccb 100%);
  --bok-dashboard-purpose-bg: linear-gradient(135deg, #bbf7d0 0, #dcfce7 52%, #f0fdf4 100%);
  --bok-dashboard-accent: #22c55e;
  --bok-dashboard-kpi: #166534;
}
body.bok-dashboard-theme-ember {
  --bok-dashboard-page-bg: #1c1008;
  --bok-dashboard-page-image: radial-gradient(circle at 10% 0, rgba(251,146,60,.26), transparent 24rem), radial-gradient(circle at 86% 10%, rgba(239,68,68,.22), transparent 28rem), linear-gradient(135deg, #1c1008 0, #451a03 50%, #7f1d1d 100%);
  --bok-dashboard-hero-bg: radial-gradient(circle at 8% 12%, rgba(253,186,116,.30), transparent 20rem), radial-gradient(circle at 84% 18%, rgba(248,113,113,.24), transparent 22rem), linear-gradient(135deg, #431407 0%, #9a3412 50%, #7f1d1d 100%);
  --bok-dashboard-purpose-bg: linear-gradient(135deg, #9a3412 0, #b45309 48%, #7f1d1d 100%);
  --bok-dashboard-accent: #fb923c;
  --bok-dashboard-kpi: #7c2d12;
}
body.bok-dashboard-theme-slate {
  --bok-dashboard-page-bg: #0f172a;
  --bok-dashboard-page-image: radial-gradient(circle at 10% 0, rgba(148,163,184,.24), transparent 24rem), radial-gradient(circle at 86% 10%, rgba(99,102,241,.18), transparent 28rem), linear-gradient(135deg, #0f172a 0, #1e293b 52%, #334155 100%);
  --bok-dashboard-hero-bg: radial-gradient(circle at 8% 12%, rgba(203,213,225,.22), transparent 20rem), radial-gradient(circle at 84% 18%, rgba(129,140,248,.22), transparent 22rem), linear-gradient(135deg, #020617 0%, #1e293b 52%, #334155 100%);
  --bok-dashboard-purpose-bg: linear-gradient(135deg, #1e293b 0, #334155 55%, #475569 100%);
  --bok-dashboard-accent: #94a3b8;
  --bok-dashboard-kpi: #1e293b;
}
body.bok-dashboard-theme-sand {
  --bok-dashboard-page-bg: #fbf4e8;
  --bok-dashboard-page-image: radial-gradient(circle at 12% 4%, rgba(253,230,138,.34), transparent 24rem), radial-gradient(circle at 86% 14%, rgba(251,191,36,.20), transparent 28rem), linear-gradient(135deg, #fbf4e8 0, #fff7ed 48%, #fef3c7 100%);
  --bok-dashboard-hero-bg: radial-gradient(circle at 8% 12%, rgba(255,251,235,.64), transparent 20rem), radial-gradient(circle at 84% 18%, rgba(253,230,138,.34), transparent 22rem), linear-gradient(135deg, #fef3c7 0%, #fed7aa 48%, #fde68a 100%);
  --bok-dashboard-purpose-bg: linear-gradient(135deg, #fffbeb 0, #fef3c7 52%, #fed7aa 100%);
  --bok-dashboard-accent: #d97706;
  --bok-dashboard-kpi: #92400e;
}
body.bok-dashboard-theme-paper {
  --bok-dashboard-page-bg: #f8fafc;
  --bok-dashboard-page-image: radial-gradient(circle at 12% 0, rgba(219,234,254,.58), transparent 24rem), radial-gradient(circle at 88% 12%, rgba(226,232,240,.54), transparent 28rem), linear-gradient(135deg, #f8fafc 0, #ffffff 46%, #eef6ff 100%);
  --bok-dashboard-hero-bg: radial-gradient(circle at 8% 12%, rgba(255,255,255,.72), transparent 20rem), radial-gradient(circle at 84% 18%, rgba(219,234,254,.44), transparent 22rem), linear-gradient(135deg, #ffffff 0%, #f8fafc 52%, #eff6ff 100%);
  --bok-dashboard-purpose-bg: linear-gradient(135deg, #ffffff 0, #f8fafc 52%, #eff6ff 100%);
  --bok-dashboard-accent: #3b82f6;
  --bok-dashboard-kpi: #1d4ed8;
}
body[class*="bok-dashboard-theme-"] .body.body-dashboard {
  background: var(--bok-dashboard-page-bg) !important;
  background-image: var(--bok-dashboard-page-image) !important;
}
body[class*="bok-dashboard-theme-"] .bok-dashboard-hero {
  background: var(--bok-dashboard-hero-bg) !important;
}
body[class*="bok-dashboard-theme-"] .bok-card-purpose {
  background: var(--bok-dashboard-purpose-bg) !important;
}
body[class*="bok-dashboard-theme-"] .bok-card-purpose::before,
body[class*="bok-dashboard-theme-"] .bok-card-kpi::before,
body[class*="bok-dashboard-theme-"] .bok-card-chart::before {
  background: var(--bok-dashboard-accent) !important;
}
body[class*="bok-dashboard-theme-"] .bok-kpi-value {
  color: var(--bok-dashboard-kpi) !important;
}
body.bok-dashboard-theme-meadow .bok-dashboard-hero,
body.bok-dashboard-theme-meadow .bok-card-purpose {
  color: #14532d !important;
}
body.bok-dashboard-theme-meadow .bok-dashboard-hero h1.page,
body.bok-dashboard-theme-meadow .bok-dashboard-hero-fact strong,
body.bok-dashboard-theme-meadow .bok-dashboard-hero-fact em,
body.bok-dashboard-theme-meadow .bok-dashboard-lead,
body.bok-dashboard-theme-meadow .bok-dashboard-eyebrow,
body.bok-dashboard-theme-meadow .bok-card-purpose .card-title,
body.bok-dashboard-theme-meadow .bok-card-purpose .bok-purpose-vision,
body.bok-dashboard-theme-meadow .bok-card-purpose .bok-purpose-list strong,
body.bok-dashboard-theme-meadow .bok-card-purpose .bok-more,
body.bok-dashboard-theme-meadow .bok-purpose-goal-head strong,
body.bok-dashboard-theme-meadow .bok-purpose-subgoals li,
body.bok-dashboard-theme-meadow .bok-purpose-node-label {
  color: #14532d !important;
}
body.bok-dashboard-theme-meadow .bok-dashboard-eyebrow {
  background: rgba(255,255,255,.44);
  border-color: rgba(21,128,61,.28);
}
body.bok-dashboard-theme-meadow .bok-dashboard-hero-fact,
body.bok-dashboard-theme-meadow .bok-purpose-goal {
  background: rgba(255,255,255,.46);
  border-color: rgba(21,128,61,.20);
}
body.bok-dashboard-theme-meadow .bok-purpose-node-label {
  background: rgba(34,197,94,.16);
}
body.bok-dashboard-theme-sand .bok-dashboard-hero,
body.bok-dashboard-theme-sand .bok-card-purpose {
  color: #78350f !important;
}
body.bok-dashboard-theme-sand .bok-dashboard-hero h1.page,
body.bok-dashboard-theme-sand .bok-dashboard-hero-fact strong,
body.bok-dashboard-theme-sand .bok-dashboard-hero-fact em,
body.bok-dashboard-theme-sand .bok-dashboard-lead,
body.bok-dashboard-theme-sand .bok-dashboard-eyebrow,
body.bok-dashboard-theme-sand .bok-card-purpose .card-title,
body.bok-dashboard-theme-sand .bok-card-purpose .bok-purpose-vision,
body.bok-dashboard-theme-sand .bok-card-purpose .bok-purpose-list strong,
body.bok-dashboard-theme-sand .bok-card-purpose .bok-more,
body.bok-dashboard-theme-sand .bok-purpose-goal-head strong,
body.bok-dashboard-theme-sand .bok-purpose-subgoals li,
body.bok-dashboard-theme-sand .bok-purpose-node-label {
  color: #78350f !important;
}
body.bok-dashboard-theme-sand .bok-dashboard-eyebrow {
  background: rgba(255,255,255,.46);
  border-color: rgba(180,83,9,.25);
}
body.bok-dashboard-theme-sand .bok-dashboard-hero-fact,
body.bok-dashboard-theme-sand .bok-purpose-goal {
  background: rgba(255,255,255,.48);
  border-color: rgba(180,83,9,.20);
}
body.bok-dashboard-theme-sand .bok-purpose-node-label {
  background: rgba(217,119,6,.14);
}
body.bok-dashboard-theme-sand .bok-dashboard-command-center {
  border-color: rgba(217,119,6,.18);
  background: rgba(255,251,235,.70);
  box-shadow: 0 18px 54px rgba(146,64,14,.10), 0 0 0 1px rgba(255,255,255,.62) inset;
}
body.bok-dashboard-theme-sand .bok-dashboard-command-center .bok-card {
  border-color: rgba(217,119,6,.16) !important;
  box-shadow: 0 14px 34px rgba(146,64,14,.10) !important;
}
body.bok-dashboard-theme-sand .bok-dashboard-command-center .bok-card:hover,
body.bok-dashboard-theme-sand .bok-dashboard-command-center .bok-card:focus-within {
  box-shadow:
    0 20px 46px rgba(146,64,14,.14),
    0 0 0 4px var(--bok-card-ring),
    0 0 0 9px var(--bok-card-ring-glow) !important;
}
body.bok-dashboard-theme-sand .bok-dashboard-actor-filter {
  border-color: rgba(217,119,6,.20);
  background: rgba(255,247,237,.82);
  box-shadow: 0 10px 28px rgba(146,64,14,.08) inset;
}
body.bok-dashboard-theme-sand .bok-dashboard-actor-select-label span,
body.bok-dashboard-theme-sand .bok-dashboard-actor-status {
  color: #78350f;
}
body.bok-dashboard-theme-sand .bok-dashboard-actor-status {
  background: rgba(255,255,255,.58);
  border-color: rgba(217,119,6,.22);
}
body.bok-dashboard-theme-sand .bok-dashboard-actor-select {
  color: #78350f;
  border-color: rgba(217,119,6,.28);
  background:
    linear-gradient(45deg, transparent 50%, #92400e 50%) right .82rem center / .42rem .42rem no-repeat,
    linear-gradient(135deg, #92400e 50%, transparent 50%) right .55rem center / .42rem .42rem no-repeat,
    rgba(255,255,255,.72);
}
body.bok-dashboard-theme-sand .bok-dashboard-actor-select:focus {
  color: #78350f;
  border-color: rgba(217,119,6,.62);
  background-color: rgba(255,255,255,.88);
  box-shadow: 0 0 0 3px rgba(217,119,6,.14);
}
body.bok-dashboard-theme-sand .bok-card-kpi,
body.bok-dashboard-theme-sand .bok-card-chart {
  background: linear-gradient(160deg, #ffffff 0, #fff7ed 100%) !important;
}
body.bok-dashboard-theme-sand .bok-card-matrix,
body.bok-dashboard-theme-sand .bok-card-map {
  background: linear-gradient(160deg, #ffffff 0, #fffbeb 100%) !important;
}
body.bok-dashboard-theme-paper .bok-dashboard-hero,
body.bok-dashboard-theme-paper .bok-card-purpose {
  color: #0f172a !important;
  border-color: rgba(148,163,184,.24);
  box-shadow: 0 16px 36px rgba(15,23,42,.08), 0 0 0 1px rgba(255,255,255,.78) inset;
}
body.bok-dashboard-theme-paper .bok-dashboard-hero h1.page,
body.bok-dashboard-theme-paper .bok-dashboard-hero-fact strong,
body.bok-dashboard-theme-paper .bok-dashboard-hero-fact em,
body.bok-dashboard-theme-paper .bok-dashboard-lead,
body.bok-dashboard-theme-paper .bok-dashboard-eyebrow,
body.bok-dashboard-theme-paper .bok-card-purpose .card-title,
body.bok-dashboard-theme-paper .bok-card-purpose .bok-purpose-vision,
body.bok-dashboard-theme-paper .bok-card-purpose .bok-purpose-list strong,
body.bok-dashboard-theme-paper .bok-card-purpose .bok-more,
body.bok-dashboard-theme-paper .bok-purpose-goal-head strong,
body.bok-dashboard-theme-paper .bok-purpose-subgoals li,
body.bok-dashboard-theme-paper .bok-purpose-flat-group > strong,
body.bok-dashboard-theme-paper .bok-purpose-flat-list li,
body.bok-dashboard-theme-paper .bok-purpose-node-label {
  color: #0f172a !important;
}
body.bok-dashboard-theme-paper .bok-dashboard-eyebrow {
  background: rgba(255,255,255,.82);
  border-color: rgba(59,130,246,.22);
}
body.bok-dashboard-theme-paper .bok-dashboard-hero-fact,
body.bok-dashboard-theme-paper .bok-purpose-goal,
body.bok-dashboard-theme-paper .bok-purpose-flat-group {
  background: rgba(255,255,255,.74);
  border-color: rgba(148,163,184,.24);
}
body.bok-dashboard-theme-paper .bok-purpose-node-label {
  background: rgba(59,130,246,.10);
}
body.bok-dashboard-theme-paper .body-dashboard .doc {
  color: #0f172a !important;
}
body.bok-dashboard-theme-paper .bok-dashboard-shell::before {
  background:
    linear-gradient(rgba(15,23,42,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,23,42,.045) 1px, transparent 1px);
}
body.bok-dashboard-theme-paper .bok-dashboard-command-center {
  border-color: rgba(203,213,225,.42);
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 56px rgba(15,23,42,.08), 0 0 0 1px rgba(255,255,255,.78) inset;
}
body.bok-dashboard-theme-paper .bok-dashboard-command-center .bok-card {
  box-shadow: 0 14px 34px rgba(15,23,42,.10) !important;
}
body.bok-dashboard-theme-paper .bok-dashboard-command-center .bok-card:hover,
body.bok-dashboard-theme-paper .bok-dashboard-command-center .bok-card:focus-within {
  box-shadow:
    0 20px 46px rgba(15,23,42,.14),
    0 0 0 4px var(--bok-card-ring),
    0 0 0 9px var(--bok-card-ring-glow) !important;
}
body.bok-dashboard-theme-paper .bok-dashboard-actor-filter {
  border-color: rgba(203,213,225,.38);
  background: rgba(255,255,255,.76);
  box-shadow: 0 10px 28px rgba(15,23,42,.06) inset;
}
body.bok-dashboard-theme-paper .bok-dashboard-actor-select-label span,
body.bok-dashboard-theme-paper .bok-dashboard-actor-status {
  color: #334155;
}
body.bok-dashboard-theme-paper .bok-dashboard-actor-select {
  color: #0f172a;
  border-color: rgba(148,163,184,.38);
  background:
    linear-gradient(45deg, transparent 50%, #475569 50%) right .82rem center / .42rem .42rem no-repeat,
    linear-gradient(135deg, #475569 50%, transparent 50%) right .55rem center / .42rem .42rem no-repeat,
    rgba(255,255,255,.82);
}
body[class*="bok-dashboard-theme-"] .navbar-category-dropdown > .navbar-category-menu,
body[class*="bok-dashboard-theme-"] .navbar-bok-dropdown > .navbar-bok-menu {
  left: auto !important;
  right: 0 !important;
  max-width: min(22rem, calc(100vw - 1rem));
}
@media (max-width: 64rem) {
  body[class*="bok-dashboard-theme-"] .navbar-category-dropdown > .navbar-category-menu,
  body[class*="bok-dashboard-theme-"] .navbar-bok-dropdown > .navbar-bok-menu {
    position: static;
    display: block;
    width: 100%;
    max-width: none;
  }
}

/* Category summary cards in the Home dashboard. */
.bok-category-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: .85rem;
}
.bok-category-summary-card {
  display: grid;
  gap: .72rem;
  min-height: 9.5rem;
  padding: .95rem;
  color: #0f172a !important;
  text-decoration: none !important;
  background: linear-gradient(160deg, #ffffff 0%, #eef6ff 100%);
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15,23,42,.10), 0 0 0 1px rgba(255,255,255,.72) inset;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bok-category-summary-card:hover,
.bok-category-summary-card:focus {
  transform: translateY(-5px) scale(1.006);
  border-color: rgba(255,255,255,.70);
  box-shadow:
    0 24px 58px rgba(15,23,42,.22),
    0 0 0 1px rgba(255,255,255,.80) inset,
    0 0 0 4px rgba(56,189,248,.52),
    0 0 0 9px rgba(56,189,248,.12);
}
.bok-category-summary-title {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}
.bok-category-summary-freshness {
  color: #64748b;
  font-size: .78rem;
  font-weight: 750;
}
.bok-category-summary-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}
.bok-category-summary-metrics span {
  display: grid;
  gap: .16rem;
  justify-items: center;
  padding: .48rem .35rem;
  color: #475569;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 14px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .02em;
}
.bok-category-summary-metrics b {
  color: var(--bok-dashboard-kpi, #0f172a);
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1;
}
body.bok-dashboard-theme-meadow .bok-category-summary-card {
  background: linear-gradient(160deg, #f8fff9 0%, #dcfce7 100%);
  border-color: rgba(21,128,61,.18);
}

/* RDF graph navigation and viewer. */
.bok-card-kpi-link .bok-kpi-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.bok-card-kpi-link .bok-kpi-link:hover,
.bok-card-kpi-link .bok-kpi-link:focus {
  color: var(--bok-dashboard-accent, #228be6);
  text-decoration: none;
}
.bok-category-summary-metrics a {
  display: grid;
  gap: .16rem;
  min-height: 3.4rem;
  align-content: center;
  padding: .5rem;
  color: #475569;
  background: #f8fafc;
  border-radius: 14px;
  text-align: center;
  font-size: .72rem;
  font-weight: 850;
  text-decoration: none;
  letter-spacing: .02em;
}
.bok-category-summary-metrics a:hover,
.bok-category-summary-metrics a:focus {
  color: var(--bok-dashboard-accent, #228be6);
  background: #eff6ff;
  text-decoration: none;
}
.bok-rdf-viewer {
  padding: 1rem;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 20px;
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 16px 42px rgba(15,23,42,.12);
}
.bok-rdf-viewer-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.bok-rdf-viewer-toolbar input {
  margin-left: .4rem;
  padding: .35rem .55rem;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}
.bok-rdf-edge-list {
  display: grid;
  gap: .4rem;
  padding-left: 0;
  list-style: none;
}
.bok-rdf-edge-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: .55rem;
  align-items: center;
  padding: .45rem .6rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
}
.bok-rdf-edge-list span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bok-rdf-edge-list b {
  color: var(--bok-dashboard-accent, #228be6);
  font-size: .76rem;
}

/* Contrast guard: dashboard pages use a dark shell, while most cards use
   light surfaces. Keep this block last so shell text color never leaks into
   light cards. */
.body-dashboard .bok-card:not(.bok-card-purpose),
.body-dashboard .bok-category-summary-card,
.bok-rdf-viewer {
  color: #0f172a !important;
}
.body-dashboard .bok-card:not(.bok-card-purpose) .card-body,
.body-dashboard .bok-card:not(.bok-card-purpose) p,
.body-dashboard .bok-card:not(.bok-card-purpose) li,
.body-dashboard .bok-card:not(.bok-card-purpose) td,
.body-dashboard .bok-card:not(.bok-card-purpose) th,
.body-dashboard .bok-card:not(.bok-card-purpose) span,
.body-dashboard .bok-card:not(.bok-card-purpose) strong,
.body-dashboard .bok-card:not(.bok-card-purpose) b,
.body-dashboard .bok-category-summary-card span,
.body-dashboard .bok-category-summary-card strong,
.body-dashboard .bok-category-summary-card b,
.bok-rdf-viewer,
.bok-rdf-viewer p,
.bok-rdf-viewer li,
.bok-rdf-viewer span,
.bok-rdf-viewer strong,
.bok-rdf-viewer b {
  color: inherit;
}
.body-dashboard .bok-card:not(.bok-card-purpose) .card-title,
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-definition-row strong,
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-kpi-label,
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-matrix-table td,
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-map-list a,
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-related-list a,
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-category-summary-title,
.body-dashboard .bok-category-summary-title,
.bok-rdf-viewer .bok-rdf-edge-list span {
  color: #0f172a !important;
}
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-card-muted,
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-kpi-note,
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-map-list span,
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-definition-row span,
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-cumulative-chart-range,
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-cumulative-chart-scale,
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-cumulative-axis,
.body-dashboard .bok-category-summary-freshness,
.body-dashboard .bok-category-summary-metrics span,
.body-dashboard .bok-category-summary-metrics a {
  color: #475569 !important;
}
.body-dashboard .bok-card:not(.bok-card-purpose) a,
.body-dashboard .bok-category-summary-card a,
.bok-rdf-viewer a {
  color: #0f4f9f !important;
}
.body-dashboard .bok-card:not(.bok-card-purpose) .bok-kpi-value,
.body-dashboard .bok-category-summary-metrics b {
  color: var(--bok-dashboard-kpi, #0f172a) !important;
}
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose .card-body,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose p,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose li,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose span,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose strong,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose b,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose a {
  color: #f8fafc !important;
}
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose .card-title,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose .bok-purpose-vision,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose .bok-purpose-goal-head strong,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose .bok-purpose-flat-group > strong,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose .bok-purpose-flat-list li {
  color: #ffffff !important;
}
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose .bok-purpose-subgoals li,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose .bok-purpose-subgoal-copy span,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose .bok-purpose-unassigned,
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose .bok-more {
  color: #dff7f2 !important;
}
body:not(.bok-dashboard-theme-meadow) .body-dashboard .bok-card-purpose .bok-purpose-subgoal-copy small {
  color: #bfdbfe !important;
}
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose .card-body,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose p,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose li,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose span,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose strong,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose b,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose a,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose .card-title,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose .bok-purpose-vision,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose .bok-purpose-goal-head strong,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose .bok-purpose-flat-group > strong,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose .bok-purpose-flat-list li,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose .bok-purpose-subgoals li,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose .bok-purpose-subgoal-copy span,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose .bok-purpose-unassigned,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose .bok-more,
body.bok-dashboard-theme-meadow .body-dashboard .bok-card-purpose .bok-purpose-subgoal-copy small {
  color: #14532d !important;
}
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .card-body,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose p,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose li,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose span,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose strong,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose b,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose a,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .card-title,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-vision,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-vision-copy small,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-vision-copy strong,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-goal-head strong,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-flat-group > strong,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-flat-list li,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-subgoals li,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-subgoal-copy span,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-unassigned,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-more,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-subgoal-copy small {
  color: #78350f !important;
}
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-vision-panel,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-goal,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-flat-group,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-unassigned {
  background: rgba(255,255,255,.56);
  border-color: rgba(180,83,9,.22);
}
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-node-label {
  color: #78350f !important;
  background: rgba(217,119,6,.16);
}
body.bok-dashboard-theme-sand .body-dashboard .bok-card-purpose .bok-purpose-tree-label {
  color: #78350f !important;
}
body.bok-dashboard-theme-sand .body-dashboard .bok-card-category-purpose .bok-purpose-tree {
  background: rgba(255,255,255,.36);
  border-color: rgba(180,83,9,.26);
  box-shadow: 0 8px 18px rgba(146,64,14,.06);
}
body.bok-dashboard-theme-sand .body-dashboard .bok-card-category-purpose .bok-purpose-goal {
  background: rgba(255,255,255,.62);
  border-color: rgba(180,83,9,.38);
  box-shadow: 0 0 0 3px rgba(180,83,9,.09), 0 8px 18px rgba(146,64,14,.08);
}
body.bok-dashboard-theme-sand .body-dashboard .bok-card-category-purpose .bok-purpose-goal::before,
body.bok-dashboard-theme-sand .body-dashboard .bok-card-category-purpose .bok-purpose-subgoals li::before {
  background: rgba(180,83,9,.34);
}

/* Dedicated RDF workspace. This page intentionally avoids Antora article
   panes so large graph and triples views can use the whole viewport. */
.body-dashboard.bok-rdf-body {
  min-height: calc(100vh - 3.5rem);
}
.bok-rdf-body .content,
.bok-rdf-body .doc,
.bok-rdf-main,
.bok-rdf-doc {
  width: 100% !important;
  max-width: none !important;
}
.bok-rdf-workspace {
  display: grid;
  gap: 1rem;
  max-width: none;
  min-height: calc(100vh - 5.5rem);
  padding: 1.15rem;
}
.bok-rdf-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
  padding: 1.25rem;
  color: #f8fafc;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 28px;
  background:
    radial-gradient(circle at 8% 0%, rgba(34,211,238,.20), transparent 18rem),
    linear-gradient(135deg, rgba(2,6,23,.92), rgba(30,64,175,.78) 58%, rgba(15,118,110,.76));
  box-shadow: 0 24px 72px rgba(0,0,0,.32);
}
.bok-rdf-hero h1.page {
  margin: .25rem 0 .45rem !important;
  color: #fff !important;
  font-size: clamp(2rem, 3.8vw, 4.4rem);
  line-height: .96;
  letter-spacing: -.055em;
}
.bok-rdf-hero p {
  max-width: 62rem;
  margin: 0;
  color: #dbeafe;
  font-size: 1.03rem;
}
.bok-rdf-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  justify-content: flex-end;
}
.bok-rdf-hero-actions a {
  padding: .48rem .72rem;
  color: #f8fafc !important;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-weight: 850;
}
.bok-rdf-tabbar {
  display: flex;
  align-items: flex-end;
  padding: 0 .35rem;
  border-bottom: 1px solid rgba(148,163,184,.32);
}
.bok-rdf-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin-top: .6rem;
  padding: .78rem;
  color: #e2e8f0;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 16px;
  background: rgba(15,23,42,.70);
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.bok-rdf-view-switch {
  display: inline-flex;
  gap: .1rem;
  align-items: flex-end;
  padding: 0;
}
.bok-rdf-view-switch button {
  appearance: none;
  border: 1px solid rgba(148,163,184,.32);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  padding: .68rem 1rem;
  color: #dbeafe;
  background: rgba(15,23,42,.62);
  font-weight: 900;
  cursor: pointer;
}
.bok-rdf-view-switch button.is-active {
  color: #0f172a;
  background: #ffffff;
  box-shadow: 0 -8px 22px rgba(15,23,42,.18);
}
.bok-rdf-filterbar label {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  color: #dbeafe;
  font-weight: 850;
}
.bok-rdf-filterbar input {
  min-width: 14rem;
  padding: .44rem .65rem;
  color: #0f172a;
  border: 1px solid rgba(226,232,240,.48);
  border-radius: 12px;
  background: #fff;
}
.bok-rdf-panels {
  display: grid;
  min-height: 62vh;
}
.bok-rdf-panel {
  display: none;
  min-height: 62vh;
  padding: 1rem;
  overflow: auto;
  color: #0f172a;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 26px;
  background: linear-gradient(160deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 22px 62px rgba(0,0,0,.22);
}
.bok-rdf-panel.is-active {
  display: block;
}
.bok-rdf-graph-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  margin-bottom: .9rem;
}
.bok-rdf-graph-summary span {
  display: grid;
  gap: .16rem;
  padding: .72rem;
  color: #475569;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 16px;
  background: #f8fafc;
  font-size: .75rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bok-rdf-graph-summary b {
  color: var(--bok-dashboard-kpi, #0f172a);
  font-size: 1.65rem;
  line-height: 1;
  text-transform: none;
}
.bok-rdf-focus-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .85rem;
  padding: .7rem .85rem;
  color: #334155;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 16px;
  background: #f8fafc;
  font-size: .86rem;
  font-weight: 800;
}
.bok-rdf-focus-bar button {
  appearance: none;
  border: 1px solid rgba(37,99,235,.26);
  border-radius: 999px;
  padding: .42rem .72rem;
  color: #1d4ed8;
  background: #eff6ff;
  font-weight: 900;
}
.bok-rdf-graph-layout {
  display: block;
}
.bok-rdf-graph-canvas {
  position: relative;
  min-height: 54vh;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.26);
  border-radius: 22px;
  background:
    radial-gradient(circle at 20% 15%, rgba(59,130,246,.16), transparent 18rem),
    radial-gradient(circle at 80% 30%, rgba(20,184,166,.14), transparent 18rem),
    linear-gradient(160deg, #ffffff 0%, #eef6ff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.bok-rdf-node-popover {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  display: grid;
  gap: .7rem;
  width: min(23rem, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  padding: 1rem;
  overflow: auto;
  color: #0f172a;
  border: 1px solid rgba(37,99,235,.24);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 24px 64px rgba(15,23,42,.28), 0 0 0 1px rgba(255,255,255,.72) inset;
  backdrop-filter: blur(10px);
}
.bok-rdf-node-popover[hidden] {
  display: none;
}
.bok-rdf-node-popover-close {
  position: absolute;
  top: .55rem;
  right: .65rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  color: #334155;
  background: #e2e8f0;
  font-size: 1.15rem;
  font-weight: 900;
}
.bok-rdf-node-popover-eyebrow {
  color: #2563eb;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.bok-rdf-node-popover h2 {
  margin: 0;
  padding-right: 2rem;
  color: #0f172a;
  font-size: 1.25rem;
  line-height: 1.15;
}
.bok-rdf-node-popover dl {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .35rem .7rem;
  margin: 0;
  font-size: .78rem;
}
.bok-rdf-node-popover dt {
  color: #64748b;
  font-weight: 900;
}
.bok-rdf-node-popover dd {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: #0f172a;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bok-rdf-node-popover dd.bok-rdf-node-compact-label,
.bok-rdf-node-popover dd.bok-rdf-node-full-iri {
  overflow: visible;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-overflow: clip;
  white-space: normal;
}
.bok-rdf-node-popover dd.bok-rdf-node-compact-label code {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
}
.bok-rdf-node-schema {
  display: grid;
  gap: .45rem;
  padding: .65rem;
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(239,246,255,.92), rgba(240,253,250,.88));
}
.bok-rdf-node-schema > strong {
  color: #1d4ed8;
  font-size: .75rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bok-rdf-node-schema-groups {
  display: grid;
  gap: .65rem;
}
.bok-rdf-node-schema-group {
  display: grid;
  gap: .45rem;
  padding: .58rem;
  border: 1px solid rgba(14,116,144,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.58);
}
.bok-rdf-node-schema-group h3 {
  margin: 0;
  color: #0f766e;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .74rem;
  font-weight: 950;
  letter-spacing: .04em;
}
.bok-rdf-node-schema-object {
  display: grid;
  grid-template-columns: minmax(7rem, auto) minmax(0, 1fr);
  gap: .32rem .55rem;
  margin: 0;
}
.bok-rdf-node-schema-object dt {
  color: #475569;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .7rem;
}
.bok-rdf-node-schema-object dd {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: .25rem;
  white-space: normal;
}
.bok-rdf-node-schema-object code,
.bok-rdf-node-schema-object em {
  max-width: 100%;
  padding: .12rem .32rem;
  overflow: visible;
  overflow-wrap: anywhere;
  border-radius: 8px;
  color: #0f172a;
  background: rgba(255,255,255,.76);
  text-overflow: clip;
  white-space: normal;
  word-break: break-word;
}
.bok-rdf-node-schema-object em {
  color: #64748b;
  font-style: normal;
}
.bok-rdf-node-popover-actions-primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin: .45rem 0 .7rem;
}
.bok-rdf-node-popover-actions-primary button,
.bok-rdf-node-popover-actions-primary a {
  justify-content: center;
  width: 100%;
  min-height: 2.55rem;
  padding: .62rem .7rem;
  text-align: center;
}
.bok-rdf-node-popover-actions button {
  border: 0;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb, #0f766e);
  font-weight: 950;
}
.bok-rdf-node-popover-relations {
  display: grid;
  gap: .35rem;
  font-size: .78rem;
}
.bok-rdf-node-popover-relations strong {
  color: #334155;
}
.bok-rdf-node-popover-relations ul {
  display: grid;
  gap: .32rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bok-rdf-node-popover-relations li {
  padding: .4rem .5rem;
  border-radius: 10px;
  background: #f8fafc;
}
.bok-rdf-node-popover-relations b {
  color: #2563eb;
}
.bok-rdf-graph-svg {
  display: block;
  width: 100%;
  height: min(66vh, 44rem);
}
.bok-rdf-graph-edge {
  stroke: rgba(51,65,85,.42);
  stroke-width: 2.2;
}
.bok-rdf-graph-edge:hover {
  stroke: #2563eb;
  stroke-width: 3;
}
.bok-rdf-graph-arrow {
  fill: rgba(51,65,85,.48);
}
.bok-rdf-graph-edge-label {
  fill: #475569;
  paint-order: stroke;
  stroke: rgba(255,255,255,.86);
  stroke-width: 5;
  stroke-linejoin: round;
  text-anchor: middle;
  font-size: 12px;
  font-weight: 800;
}
.bok-rdf-graph-node circle {
  fill: #2563eb;
  stroke: #ffffff;
  stroke-width: 5;
  filter: drop-shadow(0 12px 18px rgba(15,23,42,.22));
}
.bok-rdf-graph-node {
  cursor: pointer;
  outline: none;
}
.bok-rdf-graph-node:hover circle,
.bok-rdf-graph-node:focus circle {
  stroke: #facc15;
  stroke-width: 7;
  filter: drop-shadow(0 18px 24px rgba(15,23,42,.34));
}
.bok-rdf-graph-node-role-focus circle {
  fill: #f97316;
  stroke: #fed7aa;
  stroke-width: 8;
}
.bok-rdf-graph-node-role-near circle {
  fill: #2563eb;
}
.bok-rdf-graph-node-role-rim circle,
.bok-rdf-graph-node-role-schema circle {
  fill: #94a3b8;
}
.bok-rdf-graph-node-literal circle {
  fill: #64748b;
}
.bok-rdf-graph-node-resource circle,
.bok-rdf-graph-node-iri circle {
  fill: #0f766e;
}
.bok-rdf-graph-node text {
  fill: #0f172a;
  paint-order: stroke;
  stroke: rgba(255,255,255,.92);
  stroke-width: 5;
  stroke-linejoin: round;
  text-anchor: middle;
  font-size: 13px;
  font-weight: 900;
}
.bok-rdf-triples-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
  color: #334155;
}
.bok-rdf-triples-view {
  min-height: 52vh;
  margin: 0;
  padding: 1rem;
  overflow: auto;
  color: #dbeafe;
  background: #020617;
  border-radius: 18px;
  font-size: .86rem;
  line-height: 1.55;
  white-space: pre;
}
.bok-rdf-empty {
  padding: 1rem;
  border: 1px dashed #cbd5e1;
  border-radius: 16px;
  color: #475569;
  background: #f8fafc;
}
body.bok-dashboard-theme-meadow .bok-rdf-hero {
  color: #14532d;
  background:
    radial-gradient(circle at 8% 0%, rgba(187,247,208,.55), transparent 18rem),
    linear-gradient(135deg, #bbf7d0, #dcfce7 58%, #f0fdf4);
}
body.bok-dashboard-theme-meadow .bok-rdf-hero h1.page,
body.bok-dashboard-theme-meadow .bok-rdf-hero p {
  color: #14532d !important;
}
body.bok-dashboard-theme-meadow .bok-rdf-hero-actions a {
  color: #14532d !important;
  border-color: rgba(21,128,61,.22);
  background: rgba(255,255,255,.44);
}
@media (max-width: 48rem) {
  .bok-rdf-workspace {
    padding: .75rem;
  }
  .bok-rdf-hero {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }
  .bok-rdf-hero-actions {
    justify-content: flex-start;
  }
  .bok-rdf-graph-summary {
    grid-template-columns: 1fr;
  }
  .bok-rdf-graph-svg {
    height: 58vh;
  }
}

/* Term Hub */
.bok-glossary-body .toolbar,
.bok-glossary-body .nav-container,
.bok-glossary-body aside.toc.sidebar {
  display: none !important;
}
.bok-glossary-main,
.bok-glossary-body .content,
.bok-glossary-doc {
  max-width: none !important;
}
.bok-glossary-dashboard {
  max-width: 118rem;
}
.bok-card-glossary-summary .bok-dashboard-grid {
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  margin: .95rem 0 0;
}
.bok-card-glossary-summary .card-body {
  min-height: 0 !important;
}
.bok-glossary-summary-metrics {
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.bok-glossary-connection-rates {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: .55rem;
  margin-top: .85rem;
}
.bok-glossary-connection-rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .58rem .72rem;
  border: 1px solid rgba(59,130,246,.18);
  border-radius: 12px;
  color: #1e293b;
  background: rgba(239,246,255,.72);
}
.bok-glossary-connection-rate b {
  color: #334155;
}
.bok-glossary-connection-rate span {
  color: #0f172a;
  font-weight: 900;
}
.bok-mono-koto-workflow {
  display: grid;
  gap: .9rem;
}
.bok-mono-koto-lead {
  margin: 0;
  color: #1e293b;
  font-weight: 750;
}
.bok-workflow-stage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: .85rem;
}
.bok-workflow-stage {
  position: relative;
  min-height: 13rem;
  display: flex;
  flex-direction: column;
  gap: .72rem;
  padding: .95rem;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 18px;
  color: #0f172a;
  background: linear-gradient(160deg, rgba(255,255,255,.96), rgba(239,246,255,.82));
  box-shadow: 0 12px 32px rgba(15,23,42,.08);
}
.bok-workflow-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: .32rem;
  background: #3b82f6;
}
.bok-workflow-stage-head {
  display: flex;
  align-items: flex-start;
  gap: .62rem;
}
.bok-workflow-stage-head span {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 999px;
  color: #fff !important;
  background: #0f172a;
  font-size: .78rem;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45);
  box-shadow: 0 5px 14px rgba(15, 23, 42, .22);
}
.bok-workflow-stage-head strong {
  color: #1e293b;
  font-size: .92rem;
  line-height: 1.35;
}
.bok-workflow-stage-metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  padding: .62rem .72rem;
  border-radius: 14px;
  background: rgba(219,234,254,.72);
}
.bok-workflow-stage-metric b {
  color: #0f172a;
  font-size: 1.75rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.04em;
}
.bok-workflow-stage-metric span {
  color: #475569;
  font-size: .76rem;
  font-weight: 850;
  text-align: right;
}
.bok-workflow-stage p {
  margin: 0;
  color: #475569;
  font-size: .86rem;
  line-height: 1.55;
}
.bok-workflow-stage .bok-term-type-chip-list {
  margin-top: auto;
}
.bok-workflow-refinement-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: .55rem;
  margin-top: auto;
}
.bok-workflow-refinement-split h4 {
  margin: 0 0 .38rem;
  color: #334155;
  font-size: .78rem;
  font-weight: 950;
}
.bok-workflow-refinement-split .bok-term-type-chip-list {
  margin-top: 0;
}
.bok-workflow-refinement-split .bok-term-type-chip {
  min-height: 1.45rem;
  padding: .12rem .45rem;
  font-size: .72rem;
}
.bok-connection-card {
  display: grid;
  gap: .85rem;
}
.bok-connection-card > p {
  margin: 0;
}
.bok-connection-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: .65rem;
}
.bok-connection-metric {
  display: grid;
  gap: .25rem;
  min-height: 7.4rem;
  padding: .78rem;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 16px;
  background: rgba(255,255,255,.74);
}
.bok-connection-metric span {
  color: #475569;
  font-size: .76rem;
  font-weight: 900;
}
.bok-connection-metric b {
  color: #0f172a;
  font-size: 1.95rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.04em;
}
.bok-connection-metric em {
  color: #64748b;
  font-size: .72rem;
  font-style: normal;
  font-weight: 750;
}
.bok-connection-breakdown {
  display: grid;
  gap: .45rem;
}
.bok-connection-breakdown > strong {
  color: #334155;
}
.bok-connection-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
}
.bok-connection-chip {
  display: inline-flex;
  align-items: center;
  gap: .42rem;
  padding: .18rem .52rem;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 999px;
  background: rgba(248,250,252,.86);
}
.bok-connection-chip b {
  color: #334155;
  font-size: .76rem;
}
.bok-connection-chip em {
  color: #0f172a;
  font-style: normal;
  font-weight: 950;
}
.bok-connection-checkpoints,
.bok-connection-note {
  padding: .62rem .72rem;
  border-radius: 12px;
  background: rgba(239,246,255,.68);
  color: #334155;
  font-weight: 750;
}
.bok-connection-note {
  background: rgba(255,247,237,.78);
}
.bok-mono-koto-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: .85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: bok-workflow;
}
.bok-mono-koto-steps > li {
  position: relative;
  padding: .9rem .95rem .95rem;
  border: 1px solid rgba(130, 105, 70, .18);
  border-radius: 14px;
  background: rgba(255,255,255,.68);
}
.bok-mono-koto-steps > li > strong {
  display: block;
  margin-bottom: .38rem;
  color: #1f2937;
}
.bok-mono-koto-steps p {
  margin: .3rem 0 0;
}
.bok-mono-koto-refinement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: .65rem;
  margin-top: .65rem;
}
.bok-mono-koto-refinement-grid section {
  padding: .72rem;
  border: 1px solid rgba(59,130,246,.16);
  border-radius: 12px;
  background: rgba(239,246,255,.58);
}
.bok-mono-koto-refinement-grid h4 {
  margin: 0 0 .3rem;
  color: #334155;
  font-size: .92rem;
}
.bok-term-type-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  margin-top: .6rem;
}
.bok-term-type-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.65rem;
  padding: .18rem .55rem;
  color: #0f172a;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 850;
}
.bok-mono-koto-principle {
  margin: 0;
  padding: .72rem .85rem;
  color: #334155;
  background: rgba(255,247,237,.82);
  border: 1px solid rgba(251,146,60,.22);
  border-radius: 14px;
  font-weight: 750;
}
.bok-mono-koto-cml-note {
  margin: 0;
  padding: .72rem .85rem;
  color: #1e3a8a;
  background: rgba(219,234,254,.78);
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 14px;
  font-weight: 750;
}
.bok-card-glossary-map .bok-term-group-grid {
  margin-top: 0;
}
.bok-card-glossary-recent ol {
  display: grid;
  gap: .45rem;
  margin: 0;
  padding-left: 1.1rem;
}
.bok-term-dashboard .bok-term-group-grid,
.bok-term-group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.bok-term-group-card {
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 34px rgba(15,23,42,.08);
  padding: 1rem;
}
.bok-term-group-card h3 { margin: 0 0 .65rem; font-size: 1rem; }
.bok-term-group-card ul { margin: 0; padding-left: 1.1rem; }
.bok-term-group-card li { margin: .3rem 0; }
.bok-term-rdf-mini {
  display: inline-flex;
  margin-left: .4rem;
  padding: .08rem .38rem;
  border-radius: 999px;
  background: rgba(14,165,233,.12);
  color: #0369a1;
  font-size: .72rem;
  font-weight: 800;
  text-decoration: none;
}
.bok-term-hub .bok-card-term-definition .card-body { min-height: 16rem; }
.bok-term-reading-large {
  display: inline-flex;
  margin: 0 0 .75rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(20,184,166,.13);
  font-weight: 800;
}
.bok-term-definition-html {
  color: #0f172a;
  line-height: 1.7;
}
.bok-term-definition-html table {
  width: 100%;
  border-collapse: collapse;
  margin: .75rem 0;
}
.bok-term-definition-html th,
.bok-term-definition-html td {
  border-bottom: 1px solid rgba(148,163,184,.25);
  padding: .45rem .55rem;
  text-align: left;
}
.bok-term-hub-body .bok-map-list .list-group-item {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto auto;
  gap: .5rem;
  align-items: center;
}
.bok-rdf-filterbar label { display: inline-flex; align-items: center; gap: .35rem; }

/* Card accents: keep the surface border stable and draw an outer highlight ring. */
.bok-card {
  --bok-card-accent: rgba(148,163,184,.55);
  --bok-card-ring: rgba(56,189,248,.58);
  --bok-card-ring-glow: rgba(56,189,248,.14);
  position: relative;
  border: 1px solid rgba(148,163,184,.24) !important;
  box-shadow:
    0 22px 56px rgba(0,0,0,.24),
    0 0 0 1px rgba(255,255,255,.10) inset,
    0 0 0 1px var(--bok-card-accent) !important;
}
.bok-card:hover,
.bok-card:focus-within {
  transform: translateY(-5px) scale(1.006);
  border-color: rgba(255,255,255,.58) !important;
  box-shadow:
    0 38px 88px rgba(0,0,0,.38),
    0 0 0 1px rgba(255,255,255,.16) inset,
    0 0 0 4px var(--bok-card-ring),
    0 0 0 9px var(--bok-card-ring-glow) !important;
}
.bok-card::before {
  display: none !important;
}
.bok-card-purpose {
  --bok-card-accent: var(--bok-dashboard-accent, #22c55e);
  --bok-card-ring: rgba(34,197,94,.72);
  --bok-card-ring-glow: rgba(34,197,94,.18);
}
.bok-card-readiness,
.bok-card-quality {
  --bok-card-accent: #f59e0b;
  --bok-card-ring: rgba(245,158,11,.70);
  --bok-card-ring-glow: rgba(245,158,11,.16);
}
.bok-card-kpi,
.bok-card-kpi-link {
  --bok-card-accent: #3b82f6;
  --bok-card-ring: rgba(59,130,246,.68);
  --bok-card-ring-glow: rgba(59,130,246,.16);
}
.bok-card-chart {
  --bok-card-accent: #06b6d4;
  --bok-card-ring: rgba(6,182,212,.70);
  --bok-card-ring-glow: rgba(6,182,212,.16);
}
.bok-card-matrix,
.bok-card-map {
  --bok-card-accent: #8b5cf6;
  --bok-card-ring: rgba(139,92,246,.66);
  --bok-card-ring-glow: rgba(139,92,246,.16);
}
.bok-card-actions,
.bok-card-related,
.bok-card-activity,
.bok-card-quick-links {
  --bok-card-accent: #64748b;
  --bok-card-ring: rgba(100,116,139,.62);
  --bok-card-ring-glow: rgba(100,116,139,.14);
}
.bok-card-notification {
  min-height: 0;
  background: linear-gradient(135deg, #ffffff 0, #ecfeff 52%, #f0fdf4 100%) !important;
  --bok-card-accent: #14b8a6;
  --bok-card-ring: rgba(20,184,166,.70);
  --bok-card-ring-glow: rgba(20,184,166,.16);
}
.bok-card-notification .card-body {
  display: grid;
  grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr) auto;
  gap: .6rem .85rem;
  align-items: center;
  min-height: 0 !important;
  padding: .72rem .9rem !important;
}
.bok-card-notification .card-title {
  grid-column: 1 / -1;
  margin: 0 !important;
}
.bok-card-notification .bok-card-muted {
  display: none;
}
.bok-card-notification .bok-activity-list {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  margin: 0;
}
.bok-card-notification .bok-card-link {
  margin: 0;
  white-space: nowrap;
}
.bok-notification-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin: 0;
  padding: .42rem .65rem;
  color: #0f172a;
  background: rgba(20,184,166,.13);
  border: 1px solid rgba(20,184,166,.28);
  border-radius: 14px;
}
.bok-notification-summary span {
  font-weight: 850;
}
.bok-notification-summary strong {
  color: #0f766e;
  font-size: 1.65rem;
  line-height: 1;
}
@media (max-width: 48rem) {
  .bok-card-notification .card-body {
    grid-template-columns: 1fr;
  }
  .bok-card-notification .bok-card-link {
    white-space: normal;
  }
}

/* Purpose card: Vision is a first-class framed node, matching Goals/Subgoals. */
.bok-purpose-vision-panel {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin: 0 0 .85rem;
  padding: .9rem .95rem .95rem 1rem;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.16);
  box-shadow: 0 10px 24px rgba(0,0,0,.14);
}
.bok-purpose-vision-copy {
  display: grid;
  gap: .18rem;
  min-width: 0;
}
.bok-purpose-vision-copy small {
  color: #bfdbfe;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bok-purpose-vision-copy strong {
  color: #ffffff !important;
  line-height: 1.45;
}
.bok-card-category-purpose .card-body {
  gap: .34rem !important;
  padding: .72rem .88rem .62rem !important;
}
.bok-card-category-purpose .bok-purpose-vision-panel {
  gap: .42rem;
  margin-bottom: 0;
  padding: .54rem .62rem .56rem;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
}
.bok-card-category-purpose .bok-purpose-vision-copy {
  gap: .08rem;
}
.bok-card-category-purpose .bok-purpose-vision-copy strong {
  line-height: 1.35;
}
.bok-card-category-purpose .bok-purpose-tree {
  gap: .34rem;
  margin-top: .3rem;
  padding: .42rem .52rem .44rem;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 14px;
  background: rgba(255,255,255,.10);
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
.bok-purpose-tree-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bok-card-category-purpose .bok-purpose-goal {
  gap: .34rem;
  padding: .46rem .58rem .48rem .68rem !important;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.32);
  background: rgba(255,255,255,.18);
  box-shadow: 0 0 0 3px rgba(255,255,255,.06), 0 8px 18px rgba(0,0,0,.10);
}
.bok-card-category-purpose .bok-purpose-goal::before {
  left: .52rem;
  top: 2.08rem;
  bottom: .56rem;
  width: 2px;
  background: rgba(255,255,255,.24);
}
.bok-card-category-purpose .bok-purpose-goal-head {
  gap: .45rem;
}
.bok-card-category-purpose .bok-purpose-subgoals {
  margin: .3rem 0 0 1.55rem;
  gap: .24rem;
}
.bok-card-category-purpose .bok-purpose-subgoals li::before {
  left: -1rem;
  width: .72rem;
}
body.bok-dashboard-theme-meadow .bok-purpose-vision-panel {
  background: rgba(255,255,255,.46);
  border-color: rgba(21,128,61,.20);
}
body.bok-dashboard-theme-meadow .bok-purpose-vision-copy small,
body.bok-dashboard-theme-meadow .bok-purpose-vision-copy strong {
  color: #14532d !important;
}

/* RDF node full-page detail */
.bok-rdf-node-page {
  min-height: 100vh;
  padding: 1rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(14,165,233,.14), transparent 24rem),
    linear-gradient(180deg, rgba(248,250,252,.96), rgba(241,245,249,.96));
}
.bok-rdf-node-page-status {
  margin: 1rem 0;
  padding: .8rem 1rem;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 18px;
  color: #334155;
  background: rgba(255,255,255,.82);
  box-shadow: 0 12px 26px rgba(15,23,42,.08);
}
.bok-rdf-node-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 1rem;
}
.bok-rdf-node-detail-card {
  padding: 1rem;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 34px rgba(15,23,42,.10);
}
.bok-rdf-node-detail-card-main {
  grid-column: span 1;
}
.bok-rdf-node-detail-card-relations {
  grid-column: 1 / -1;
}
.bok-rdf-node-detail-card h2 {
  margin: .15rem 0 .9rem;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 900;
}
.bok-rdf-node-detail-dl,
.bok-rdf-node-detail-card .bok-rdf-node-schema-object {
  display: grid;
  grid-template-columns: minmax(9rem, .35fr) minmax(0, 1fr);
  gap: .55rem .8rem;
  margin: 0;
}
.bok-rdf-node-detail-dl dt,
.bok-rdf-node-detail-card .bok-rdf-node-schema-object dt {
  color: #475569;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.bok-rdf-node-detail-dl dd,
.bok-rdf-node-detail-card .bok-rdf-node-schema-object dd {
  min-width: 0;
  margin: 0;
  color: #0f172a;
  overflow-wrap: anywhere;
}
.bok-rdf-node-detail-dl code,
.bok-rdf-node-detail-card .bok-rdf-node-schema-object code {
  white-space: normal;
  overflow-wrap: anywhere;
}
.bok-rdf-node-detail-card .bok-rdf-node-schema-groups {
  gap: .85rem;
}
.bok-rdf-node-detail-card .bok-rdf-node-schema-group {
  padding: .8rem;
  background: linear-gradient(135deg, rgba(248,250,252,.94), rgba(240,253,250,.78));
}
.bok-rdf-node-detail-card .bok-rdf-node-schema-group h3 {
  font-size: .82rem;
}
.bok-rdf-node-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
}
.bok-rdf-node-detail-actions a,
.bok-rdf-node-popover-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: .45rem .75rem;
  border: 1px solid rgba(37,99,235,.24);
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(219,234,254,.72);
  font-size: .82rem;
  font-weight: 900;
  text-decoration: none;
}
.bok-rdf-node-popover-actions.bok-rdf-node-popover-actions-primary a,
.bok-rdf-node-popover-actions.bok-rdf-node-popover-actions-primary button {
  justify-content: center;
  min-height: 2.55rem;
  padding: .62rem .7rem;
}
.bok-rdf-node-detail-card-relations ul {
  display: grid;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bok-rdf-node-detail-card-relations li {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  padding: .55rem .65rem;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 14px;
  background: rgba(248,250,252,.86);
}
.bok-rdf-node-detail-card-relations li span {
  color: #475569;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bok-rdf-node-detail-card-relations li code {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 64rem) {
  .bok-rdf-node-detail-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 42rem) {
  .bok-rdf-node-detail-dl,
  .bok-rdf-node-detail-card .bok-rdf-node-schema-object {
    grid-template-columns: 1fr;
  }
}

/* RDF node list view */
.bok-rdf-node-list-view {
  min-height: 54vh;
}
.bok-rdf-node-list-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 22px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 14px 28px rgba(15,23,42,.08);
}
.bok-rdf-node-list-header h2 {
  margin: .15rem 0 .35rem;
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 950;
}
.bok-rdf-node-list-header p {
  margin: 0;
  color: #475569;
}
.bok-rdf-node-list-summary {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.bok-rdf-node-list-summary span {
  min-width: 7rem;
  padding: .65rem .8rem;
  border: 1px solid rgba(37,99,235,.16);
  border-radius: 16px;
  color: #1e3a8a;
  background: rgba(219,234,254,.66);
  font-size: .78rem;
  font-weight: 900;
  text-align: center;
}
.bok-rdf-node-list-summary b {
  display: block;
  color: #0f172a;
  font-size: 1.35rem;
}
.bok-rdf-node-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: .9rem;
}
.bok-rdf-node-list-card {
  padding: .9rem;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 14px 28px rgba(15,23,42,.08);
}
.bok-rdf-node-list-card-focus {
  border-color: rgba(249,115,22,.42);
  box-shadow: 0 18px 32px rgba(249,115,22,.16);
}
.bok-rdf-node-list-card-schema {
  border-color: rgba(100,116,139,.32);
  background: rgba(248,250,252,.94);
}
.bok-rdf-node-list-card-head,
.bok-rdf-node-list-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
}
.bok-rdf-node-list-card-head span {
  padding: .22rem .55rem;
  border-radius: 999px;
  color: #334155;
  background: rgba(226,232,240,.8);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.bok-rdf-node-list-card a {
  color: #1d4ed8;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}
.bok-rdf-node-list-card h3 {
  margin: .75rem 0 .7rem;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 950;
  overflow-wrap: anywhere;
}
.bok-rdf-node-list-card dl {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: .35rem .55rem;
  margin: 0 0 .8rem;
}
.bok-rdf-node-list-card dt {
  color: #64748b;
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bok-rdf-node-list-card dd {
  min-width: 0;
  margin: 0;
  color: #0f172a;
  font-size: .82rem;
  overflow-wrap: anywhere;
}
.bok-rdf-node-list-card code {
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 42rem) {
  .bok-rdf-node-list-header {
    grid-template-columns: 1fr;
  }
  .bok-rdf-node-list-summary {
    justify-content: flex-start;
  }
  .bok-rdf-node-list-card dl {
    grid-template-columns: 1fr;
  }
}

/* BoK navigation dropdown: grouped Glossary / History / Manual menu. */
.navbar-bok-nav {
  display: inline-flex;
  align-items: center;
  margin-left: .3rem;
}
.navbar-bok-dropdown > .navbar-bok-toggle {
  min-height: 2.2rem;
  padding: .35rem .85rem;
  color: #fff !important;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  font-weight: 800;
}
.navbar-bok-dropdown > .navbar-bok-toggle:hover,
.navbar-bok-dropdown > .navbar-bok-toggle:focus {
  color: #fff !important;
  background: rgba(255,255,255,.22);
  text-decoration: none;
}
.navbar-bok-dropdown > .navbar-bok-menu {
  min-width: 14rem;
  padding: .45rem;
  border: 1px solid rgba(148,163,184,.28);
  border-radius: 16px;
  background: #0f172a;
  box-shadow: 0 20px 50px rgba(0,0,0,.30);
  left: auto;
  right: 0;
  max-width: min(22rem, calc(100vw - 1rem));
}
.navbar-bok-dropdown:hover > .navbar-bok-menu,
.navbar-bok-dropdown:focus-within > .navbar-bok-menu {
  display: grid;
  gap: .18rem;
}
@media (max-width: 48rem) {
  .navbar-bok-nav {
    width: 100%;
    margin-left: 0;
  }
  .navbar-bok-dropdown,
  .navbar-bok-dropdown > .navbar-bok-toggle {
    width: 100%;
  }
  .navbar-bok-dropdown > .navbar-bok-toggle {
    justify-content: flex-start;
    color: #1f2933 !important;
    background: #f8fafc;
    border-color: #e2e8f0;
  }
  .navbar-bok-dropdown > .navbar-bok-menu {
    position: static;
    width: 100%;
    background: #ffffff;
    box-shadow: none;
  }
}

/* Dashboard readability refinements. */
.body-dashboard .bok-card .card-title {
  gap: .72rem;
  line-height: 1.2;
  white-space: nowrap;
}
.body-dashboard .bok-card .card-title::before {
  flex: 0 0 auto;
}
.body-dashboard .bok-card .card-body {
  display: flex;
  flex-direction: column;
  gap: .82rem;
}
.body-dashboard .bok-card .card-title + * {
  margin-top: .12rem;
}
.body-dashboard .bok-card .card-title.bok-card-title-with-action {
  justify-content: flex-start;
}
.body-dashboard .bok-card .card-title.bok-card-title-with-action > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.body-dashboard .bok-card .bok-card-title-link {
  flex: 0 0 auto;
  margin-left: auto;
  color: #0f766e;
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: none;
}
.body-dashboard .bok-card .bok-card-title-link:hover,
.body-dashboard .bok-card .bok-card-title-link:focus {
  color: #0f4f46;
  text-decoration: underline;
  text-underline-offset: .18rem;
}
.body-dashboard .bok-kpi-link,
.body-dashboard .bok-kpi-value,
.body-dashboard .bok-kpi-label,
.body-dashboard .bok-kpi-note {
  display: block;
}
.body-dashboard .bok-kpi-link {
  display: grid;
  gap: .42rem;
}
.body-dashboard .bok-kpi-value {
  margin-bottom: .22rem;
}
.body-dashboard .bok-kpi-label {
  margin-bottom: .18rem;
  line-height: 1.25;
  white-space: nowrap;
}
.body-dashboard .bok-kpi-note {
  line-height: 1.45;
}

/* Scenario dashboard page. */
.bok-scenario-body .toolbar,
.bok-scenario-body .nav-container,
.bok-scenario-body aside.toc.sidebar {
  display: none !important;
}
.bok-scenario-main,
.bok-scenario-body .content,
.bok-scenario-doc {
  max-width: none !important;
}
.bok-scenario-dashboard,
.bok-project-dashboard {
  max-width: 118rem;
}
.bok-project-page {
  min-height: 100vh;
  color: #0f172a;
  background:
    radial-gradient(circle at 8% 0%, rgba(14,165,233,.12), transparent 24rem),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.bok-project-page-main {
  display: grid;
  gap: 1rem;
  width: min(100% - 2rem, 118rem);
  margin: 0 auto;
  padding: 1rem 0 2.5rem;
}
.bok-project-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  color: #64748b;
  font-size: .82rem;
  font-weight: 850;
}
.bok-project-breadcrumbs a {
  color: #1d4ed8;
  text-decoration: none;
}
.bok-project-page-title {
  padding: 1.15rem;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 20px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 34px rgba(15,23,42,.08);
}
.bok-project-page-title h1 {
  margin: .2rem 0 .4rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.15;
}
.bok-project-page-title p {
  margin: 0;
  color: #475569;
  line-height: 1.6;
}
.bok-project-detail-dashboard {
  display: grid;
  gap: 1rem;
  margin: 0 0 1.4rem;
}
.bok-project-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: stretch;
  padding: 1.15rem;
  color: #0f172a;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(239,246,255,.92));
  box-shadow: 0 16px 38px rgba(15,23,42,.10);
}
.bok-project-detail-hero h2 {
  margin: .2rem 0 .35rem;
  font-size: 1.55rem;
  line-height: 1.2;
}
.bok-project-detail-hero p {
  margin: 0;
  color: #475569;
}
.bok-project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(7rem, 1fr));
  gap: .65rem;
}
.bok-project-fact {
  display: grid;
  gap: .15rem;
  min-width: 7rem;
  padding: .7rem;
  border: 1px solid rgba(37,99,235,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  text-align: center;
}
.bok-project-fact strong {
  color: #0f172a;
  font-size: 1.15rem;
  line-height: 1.1;
}
.bok-project-fact em {
  color: #64748b;
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.bok-scenario-metrics,
.bok-project-metrics {
  grid-template-columns: 1fr;
}
.bok-scenario-grid,
.bok-project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: .9rem;
}
.bok-scenario-tile,
.bok-project-tile {
  display: grid;
  gap: .6rem;
  padding: .95rem;
  color: #0f172a;
  background: linear-gradient(160deg, #ffffff, #f8fafc);
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 18px;
}
.bok-scenario-tile-head,
.bok-project-tile-head {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  justify-content: space-between;
  color: #64748b;
  font-size: .78rem;
  font-weight: 850;
}
.bok-scenario-tile h3,
.bok-project-tile h3 {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.35;
}
.bok-scenario-tile p,
.bok-project-tile p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}
.bok-project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  color: #64748b;
  font-size: .78rem;
  font-weight: 800;
}
.bok-project-cml-kind-line,
.bok-project-artifact-kind-line {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  color: #64748b;
  font-size: .78rem;
  font-weight: 850;
}
.bok-project-cml-kind-counts,
.bok-project-artifact-kind-counts,
.bok-project-artifact-availability-counts,
.bok-project-mode-counts {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-left: .35rem;
  vertical-align: middle;
}
.bok-project-cml-kind-counts span,
.bok-project-artifact-kind-counts span,
.bok-project-artifact-availability-counts span,
.bok-project-mode-counts span {
  display: inline-flex;
  align-items: center;
  min-height: 1.45rem;
  padding: .12rem .45rem;
  border-radius: 999px;
  color: #334155;
  background: #e2e8f0;
  font-size: .72rem;
  font-weight: 900;
}
.bok-project-artifact-lists {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: .75rem;
  margin-top: .85rem;
}
.bok-project-artifact-lists h4 {
  margin: 0 0 .35rem;
  color: #334155;
  font-size: .82rem;
  font-weight: 950;
}
.bok-project-artifact-lists ul {
  display: grid;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bok-project-artifact-lists li {
  overflow-wrap: anywhere;
  color: #64748b;
  font-size: .78rem;
}
.bok-project-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: .18rem .5rem;
  border-radius: 999px;
  color: #92400e;
  background: #fef3c7;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bok-project-status-published {
  color: #166534;
  background: #dcfce7;
}
.bok-project-health-list,
.bok-project-link-list {
  display: grid;
  gap: .55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bok-project-health-list li,
.bok-project-link-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .65rem;
  align-items: center;
  padding: .65rem .75rem;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 14px;
  background: #f8fafc;
}
.bok-project-link-list li {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
.bok-project-link-list a {
  color: #1d4ed8;
  font-weight: 950;
  text-decoration: none;
}
.bok-project-link-list span {
  color: #64748b;
  font-size: .8rem;
}
.bok-project-section {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 34px rgba(15,23,42,.08);
}
.bok-project-section-head {
  display: grid;
  gap: .35rem;
}
.bok-project-section-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1.25;
}
.bok-project-section-head p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}
.bok-project-sie-relations {
  display: grid;
  gap: .45rem;
  padding: .85rem;
  border: 1px solid rgba(14,116,144,.16);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(236,254,255,.74), rgba(248,250,252,.94));
}
.bok-project-sie-relations > h3,
.bok-project-sie-relations > p,
.bok-project-sie-relation h4,
.bok-project-sie-relation ul {
  margin: 0;
}
.bok-project-sie-relations > h3 {
  color: #164e63;
  font-size: 1rem;
}
.bok-project-sie-relations > p {
  color: #475569;
  font-size: .84rem;
  line-height: 1.5;
}
.bok-project-sie-relation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: .55rem;
  margin-top: .25rem;
}
.bok-project-sie-relation {
  min-width: 0;
  padding: .68rem .72rem;
  border: 1px solid rgba(148,163,184,.20);
  border-radius: 12px;
  background: rgba(255,255,255,.82);
}
.bok-project-sie-relation h4 {
  margin-bottom: .38rem;
  color: #334155;
  font-size: .76rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.bok-project-sie-relation ul {
  display: grid;
  gap: .28rem;
  padding: 0;
  list-style: none;
}
.bok-project-sie-relation a {
  overflow-wrap: anywhere;
  color: #1d4ed8;
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
}
.bok-project-sie-relation a:hover {
  text-decoration: underline;
}
.bok-project-component-tree {
  display: grid;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid rgba(37,99,235,.14);
  border-radius: 16px;
  background: linear-gradient(160deg, #ffffff, #f8fafc);
}
.bok-project-component-tree > p {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}
.bok-project-service-branch,
.bok-project-operation-list {
  display: grid;
  gap: .6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bok-project-service-branch {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(37,99,235,.18);
}
.bok-project-service-node,
.bok-project-operation-list li,
.bok-project-operation-branch {
  display: grid;
  gap: .38rem;
}
.bok-project-service-node {
  padding: .8rem;
  border: 1px solid rgba(148,163,184,.20);
  border-radius: 14px;
  background: rgba(255,255,255,.78);
}
.bok-project-service-node > p {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}
.bok-project-operation-branch {
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(20,184,166,.20);
}
.bok-project-node-head {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: baseline;
}
.bok-project-node-head span {
  display: inline-flex;
  min-height: 1.45rem;
  align-items: center;
  padding: .1rem .5rem;
  color: #1e40af;
  background: #dbeafe;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.bok-project-node-head strong {
  color: #0f172a;
  font-size: 1.02rem;
}
.bok-project-empty-note {
  margin: 0;
  color: #64748b;
  line-height: 1.5;
}
.bok-project-operation-list strong {
  color: #0f172a;
}
.bok-project-operation-list span {
  color: #64748b;
  font-size: .86rem;
}
.bok-project-table-wrap {
  overflow-x: auto;
}
.bok-project-cml-tabs {
  display: grid;
  gap: 0;
}
.bok-project-cml-tablist {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: .15rem;
  padding: 0 .75rem;
  border-bottom: 1px solid #cbd5e1;
}
.bok-project-cml-tablist button {
  appearance: none;
  position: relative;
  margin: 0 0 -1px;
  border: 1px solid transparent;
  border-bottom-color: #cbd5e1;
  border-radius: 8px 8px 0 0;
  padding: .62rem .95rem;
  color: #475569;
  background: #f8fafc;
  font-size: .84rem;
  font-weight: 850;
  cursor: pointer;
}
.bok-project-cml-tablist button.is-active {
  color: #0f172a;
  background: #fff;
  border-color: #cbd5e1;
  border-bottom-color: #fff;
  box-shadow: 0 -1px 0 #fff inset;
}
.bok-project-cml-tablist button:not(.is-active):hover {
  color: #1e40af;
  background: #eef2ff;
}
.bok-project-cml-tab-panel {
  padding: 1rem;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-top: 0;
  border-radius: 0 0 10px 10px;
}
.bok-project-cml-tab-panel[hidden] {
  display: none;
}
.bok-project-cml-link-summary {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(18rem, 2fr);
  gap: .75rem;
  margin: 0 0 1rem;
}
.bok-project-cml-summary-card {
  padding: .9rem 1rem;
  background: #fff;
  border: 1px solid #dbeafe;
  border-radius: 10px;
}
.bok-project-cml-summary-total {
  display: grid;
  place-items: center;
  text-align: center;
}
.bok-project-cml-summary-card strong {
  color: #0f172a;
  font-size: 1.45rem;
  line-height: 1;
}
.bok-project-cml-summary-card span {
  color: #64748b;
  font-size: .78rem;
  font-weight: 850;
}
.bok-project-cml-summary-breakdown {
  display: grid;
  gap: .55rem;
}
.bok-project-cml-summary-breakdown > span {
  text-transform: uppercase;
  letter-spacing: .08em;
}
.bok-project-cml-summary-breakdown dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  margin: 0;
}
.bok-project-cml-summary-breakdown dt,
.bok-project-cml-summary-breakdown dd {
  margin: 0;
}
.bok-project-cml-summary-breakdown dt {
  color: #64748b;
  font-size: .78rem;
  font-weight: 850;
}
.bok-project-cml-summary-breakdown dd {
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 900;
}
.bok-project-cml-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #cbd5e1;
}
.bok-project-cml-table th,
.bok-project-cml-table td {
  border: 1px solid #cbd5e1;
  padding: .62rem .75rem;
  vertical-align: top;
}
.bok-project-cml-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 850;
}
.bok-project-cml-table td {
  background: #fff;
}
.bok-project-cml-sources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: .75rem;
  margin: 0 0 1rem;
}
.bok-project-cml-source-card {
  display: grid;
  gap: .2rem;
  padding: .85rem .95rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}
.bok-project-cml-source-card span {
  color: #64748b;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bok-project-cml-source-card strong {
  color: #0f172a;
  font-size: .98rem;
}
.bok-project-cml-source-card code {
  color: #64748b;
  white-space: normal;
  word-break: break-word;
}
.bok-project-narrative-body {
  color: #334155;
  line-height: 1.65;
}
.bok-project-narrative-body h1,
.bok-project-narrative-body h2,
.bok-project-narrative-body h3 {
  color: #0f172a;
}
.bok-project-health-list b {
  color: #0f172a;
  font-size: 1.05rem;
}
.bok-project-detail-dl {
  display: grid;
  grid-template-columns: minmax(8rem, auto) minmax(0, 1fr);
  gap: .45rem .75rem;
  margin: 0;
}
.bok-project-detail-dl dt {
  color: #64748b;
  font-weight: 950;
}
.bok-project-detail-dl dd {
  min-width: 0;
  margin: 0;
  color: #0f172a;
  overflow-wrap: anywhere;
}
.bok-project-detail-dl code {
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 48rem) {
  .bok-project-detail-hero {
    grid-template-columns: 1fr;
  }
  .bok-project-facts {
    grid-template-columns: 1fr;
  }
  .bok-project-detail-dl {
    grid-template-columns: 1fr;
  }
  .bok-project-service-branch,
  .bok-project-operation-branch {
    margin-left: .35rem;
    padding-left: .65rem;
  }
}
.bok-scenario-terms {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

/* Bibliography dashboard page. */
.bok-bibliography-body .toolbar,
.bok-bibliography-body .nav-container,
.bok-bibliography-body aside.toc.sidebar {
  display: none !important;
}
.bok-bibliography-main,
.bok-bibliography-body .content,
.bok-bibliography-doc {
  max-width: none !important;
}
.bok-bibliography-dashboard {
  max-width: 118rem;
}
.bok-bibliography-metrics {
  grid-template-columns: 1fr;
}
.bok-bibliography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: .9rem;
}
.bok-bibliography-tile {
  display: grid;
  gap: .65rem;
  padding: .95rem;
  color: #1f2937;
  background: linear-gradient(160deg, #ffffff 0, #f8fafc 100%);
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(15,23,42,.08);
}
.bok-bibliography-tile-head,
.bok-bibliography-meta,
.bok-bibliography-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .42rem;
  align-items: center;
}
.bok-bibliography-tile-head > span:first-child {
  color: #0f766e;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bok-bibliography-tile h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}
.bok-bibliography-tile h3 a {
  color: #0f172a;
  text-decoration: none;
}
.bok-bibliography-tile h3 a:hover {
  text-decoration: underline;
}
.bok-bibliography-meta {
  color: #475569;
  font-size: .82rem;
}
.bok-bibliography-meta code {
  white-space: normal;
}
.bok-bibliography-tile p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}
.bok-bibliography-actions a {
  font-weight: 850;
}

/* RDF tabbed workspace. */
.bok-rdf-panel-title {
  margin: 0 0 .85rem;
  color: #0f172a;
  font-size: .92rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.bok-rdf-view-switch {
  border: 1px solid rgba(255,255,255,.16);
}
.bok-rdf-view-switch button[role="tab"] {
  min-width: 7.4rem;
}
.bok-rdf-view-switch button[aria-selected="true"] {
  color: #0f172a;
  background: #f8fafc;
}

/* Header navigation should read as navigation text, not rounded action buttons. */
.navbar-category-dropdown > .navbar-category-toggle,
.navbar-bok-dropdown > .navbar-bok-toggle {
  min-height: 0 !important;
  padding: .5rem .75rem !important;
  color: inherit !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.navbar-category-dropdown > .navbar-category-toggle:hover,
.navbar-category-dropdown > .navbar-category-toggle:focus,
.navbar-bok-dropdown > .navbar-bok-toggle:hover,
.navbar-bok-dropdown > .navbar-bok-toggle:focus {
  color: inherit !important;
  background: transparent !important;
  text-decoration: underline;
  text-underline-offset: .18rem;
}
@media (max-width: 64rem) {
  .navbar-category-dropdown > .navbar-category-toggle,
  .navbar-bok-dropdown > .navbar-bok-toggle {
    width: 100%;
    justify-content: flex-start;
    color: #1f2933 !important;
  }
}

/* KPI cards: centered highlight numbers read better as dashboard metrics. */
.body-dashboard .bok-card-kpi .card-body {
  align-items: center !important;
  text-align: center;
}
.body-dashboard .bok-card-kpi .bok-kpi-link {
  justify-items: center;
  text-align: center;
}
.body-dashboard .bok-card-kpi .bok-kpi-value,
.body-dashboard .bok-card-kpi .bok-kpi-label,
.body-dashboard .bok-card-kpi .bok-kpi-note {
  width: 100%;
  text-align: center;
}

/* Dashboard hero: separate marker, title, and summary as distinct zones. */
.body-dashboard .bok-dashboard-hero-copy {
  display: grid !important;
  align-content: center;
  gap: 1.1rem;
}
.body-dashboard .bok-dashboard-eyebrow {
  margin: 0 !important;
  align-self: start;
}
.body-dashboard .bok-dashboard-hero h1.page {
  margin: .2rem 0 .1rem !important;
}
.body-dashboard .bok-dashboard-lead {
  max-width: 58rem;
  margin: .2rem 0 0 !important;
  padding: .85rem 0 .15rem 1.05rem;
  border-left: 4px solid rgba(191,231,255,.48);
  line-height: 1.78;
}

/* Layout corrections: use full-width separators and keep Recent Changes compact. */
.body-dashboard .bok-card .card-title {
  width: 100%;
  padding-bottom: .56rem !important;
  border-bottom: 1px solid rgba(148,163,184,.28);
}
.body-dashboard .bok-card-purpose .card-title {
  border-bottom-color: rgba(255,255,255,.24);
}
.body-dashboard .bok-card-notification .card-body {
  grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr) auto;
  gap: .6rem .85rem !important;
}
.body-dashboard .bok-card-notification .card-title {
  grid-column: 1 / -1;
  padding-bottom: 0 !important;
  border-bottom: 0;
}
.body-dashboard .bok-card-notification .bok-activity-list {
  display: grid;
  gap: .2rem;
  margin: 0;
}
.body-dashboard .bok-card-notification .bok-activity-list .list-group-item {
  display: grid;
  grid-template-columns: 6.3rem 5.1rem minmax(0, 1fr);
  align-items: center;
  gap: .58rem;
  width: 100%;
  margin: 0;
  padding: .32rem 0;
  border: 0;
  border-bottom: 1px solid rgba(148,163,184,.22);
  border-radius: 0;
  background: transparent;
  font-size: .82rem;
  line-height: 1.35;
}
.body-dashboard .bok-card-notification .bok-activity-list-with-category .list-group-item {
  grid-template-columns: 6.3rem 5.1rem minmax(5.8rem, .55fr) minmax(0, 1fr);
}
.body-dashboard .bok-card-notification .bok-activity-list .list-group-item a,
.body-dashboard .bok-card-notification .bok-activity-list .list-group-item time {
  white-space: nowrap;
}
.body-dashboard .bok-card-notification .bok-activity-list .list-group-item time {
  color: #64748b;
  font-size: .76rem;
  font-weight: 850;
}
.body-dashboard .bok-card-notification .bok-activity-kind {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: .12rem .42rem;
  border-radius: 999px;
  color: #0f766e;
  background: rgba(20,184,166,.14);
  font-size: .72rem;
  font-weight: 850;
  white-space: nowrap;
}
.body-dashboard .bok-card-notification .bok-activity-category {
  display: block;
  min-width: 0;
  color: #334155;
  font-size: .78rem;
  font-weight: 850;
  white-space: nowrap;
}
.body-dashboard .bok-card-notification .bok-activity-list .list-group-item span,
.body-dashboard .bok-card-notification .bok-activity-list .list-group-item a {
  overflow: hidden;
  text-overflow: ellipsis;
}
.body-dashboard .bok-card-notification .bok-card-link-compact {
  margin-top: .2rem;
  font-size: .78rem;
  text-align: right;
}
@media (max-width: 64rem) {
  .body-dashboard .bok-card-notification .card-body {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .body-dashboard .bok-card-notification .bok-card-link {
    white-space: normal;
  }
}

.bok-bibliography-entry .bok-bibliography-metadata-table {
  width: 100%;
  margin: 1rem 0 1.35rem;
  border-collapse: collapse;
  font-size: .94rem;
}
.bok-bibliography-entry .bok-bibliography-metadata-table th,
.bok-bibliography-entry .bok-bibliography-metadata-table td {
  padding: .55rem .75rem;
  border-top: 1px solid rgba(148,163,184,.36);
  vertical-align: top;
}
.bok-bibliography-entry .bok-bibliography-metadata-table th {
  width: 12rem;
  color: #334155;
  background: rgba(248,250,252,.72);
  font-weight: 800;
}
.bok-bibliography-entry .bok-bibliography-metadata-table td {
  color: #1f2937;
}

.bok-term-type-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: .55rem;
  margin-top: .9rem;
}

.bok-term-type-summary-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .5rem;
  padding: .55rem .7rem;
  border: 1px solid rgba(130, 105, 70, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .58);
}

.bok-term-type-summary-item b {
  font-size: 1.2rem;
}

.bok-mono-koto-summary {
  align-items: stretch;
  padding-top: .75rem;
  border-top: 1px solid rgba(130, 105, 70, .16);
}

.bok-mono-koto-summary > strong {
  display: flex;
  align-items: center;
  color: #334155;
}

.bok-workflow-progress {
  height: .46rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(148, 163, 184, .20);
}

.bok-workflow-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #0f766e);
}

.bok-workflow-stage-status {
  width: fit-content;
  padding: .22rem .5rem;
  border-radius: 999px;
  color: #334155;
  background: rgba(241, 245, 249, .86);
  font-size: .7rem;
  font-weight: 900;
}

.bok-workflow-stage-status-complete {
  color: #64748b;
  background: rgba(241, 245, 249, .86);
}

.bok-workflow-stage-status-incomplete {
  color: #b45309;
  background: rgba(254, 243, 199, .96);
  box-shadow: 0 0 0 1px rgba(245, 158, 11, .22);
}

.bok-workflow-stage-status-system\.error {
  color: #b91c1c;
  background: rgba(254, 226, 226, .92);
}

.bok-workflow-stage:has(.bok-workflow-stage-status-incomplete)::before {
  background: #f59e0b;
}

.bok-workflow-stage:has(.bok-workflow-stage-status-complete)::before {
  background: #cbd5e1;
}

.bok-workflow-stage:has(.bok-workflow-stage-status-incomplete) .bok-workflow-detail {
  border-color: rgba(245, 158, 11, .28);
  background: rgba(255, 251, 235, .92);
}

.bok-workflow-stage:has(.bok-workflow-stage-status-incomplete) .bok-workflow-detail strong {
  color: #92400e;
}

.bok-workflow-system-error {
  display: grid;
  gap: .45rem;
  padding: .78rem .85rem;
  border: 1px solid rgba(220, 38, 38, .28);
  border-radius: 14px;
  color: #991b1b;
  background: rgba(254, 242, 242, .92);
}

.bok-workflow-system-error strong {
  font-weight: 950;
}

.bok-workflow-system-error p,
.bok-workflow-system-error-files span {
  margin: 0;
  color: #991b1b;
}

.bok-workflow-system-error-files {
  display: grid;
  gap: .25rem;
}

.bok-workflow-system-error-files span,
.bok-workflow-system-error-repair {
  font-weight: 850;
}

.bok-workflow-system-error ul {
  display: grid;
  gap: .25rem;
  margin: 0;
  padding-left: 1.1rem;
}

.bok-workflow-system-error code {
  color: #7f1d1d;
  background: rgba(255, 255, 255, .72);
}

.bok-workflow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: auto;
  padding-top: .25rem;
}

.bok-workflow-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: .42rem .62rem;
  border: 1px solid rgba(37, 99, 235, .18);
  border-radius: 999px;
  color: #1d4ed8;
  background: rgba(255, 255, 255, .74);
  font-size: .75rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

.bok-workflow-action:hover {
  color: #1e40af;
  border-color: rgba(37, 99, 235, .34);
  background: rgba(219, 234, 254, .82);
  text-decoration: none;
}

.bok-term-analysis-route-grid,
.bok-term-type-issue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: .85rem;
}
.bok-term-analysis-route-groups {
  display: grid;
  gap: 1rem;
}
.bok-term-analysis-route-group {
  display: grid;
  gap: .85rem;
  padding: .95rem;
  border: 1px solid rgba(148,163,184,.20);
  border-radius: 18px;
  background: rgba(248,250,252,.72);
}
.bok-term-analysis-route-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .75rem;
  border-bottom: 1px solid rgba(148,163,184,.18);
}
.bok-term-analysis-route-group-head h4 {
  margin: .35rem 0 .2rem;
  color: #1e293b;
  font-size: 1.08rem;
}
.bok-term-analysis-route-group-head p {
  margin: 0;
  color: #64748b;
}
.bok-term-analysis-route-group-head dl {
  display: grid;
  grid-template-columns: auto auto;
  gap: .22rem .65rem;
  min-width: 9rem;
  margin: 0;
  padding: .55rem .65rem;
  border-radius: 12px;
  background: rgba(219,234,254,.62);
}
.bok-term-analysis-route-group-head dt {
  color: #64748b;
  font-size: .72rem;
  font-weight: 850;
}
.bok-term-analysis-route-group-head dd {
  margin: 0;
  color: #0f172a;
  font-weight: 950;
  text-align: right;
}
@media (max-width: 48rem) {
  .bok-term-analysis-route-group-head {
    display: grid;
  }
  .bok-term-analysis-route-group-head dl {
    width: 100%;
  }
}

.bok-term-analysis-route,
.bok-term-type-issue-group {
  border: 1px solid rgba(130, 105, 70, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .62);
  padding: .9rem;
}

.bok-term-analysis-route-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-bottom: .65rem;
}

.bok-term-analysis-route-head strong {
  font-size: 1.45rem;
  color: #1f2937;
}

.bok-term-analysis-route-checkpoints {
  margin: .7rem 0;
}

.bok-term-analysis-route-checkpoints dt {
  color: #64748b;
  font-size: .78rem;
  font-weight: 800;
}

.bok-term-analysis-route-checkpoints dd {
  margin: 0 0 .45rem;
}

.bok-operation-targets {
  display: grid;
  gap: 1rem;
}

.bok-operation-model {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.bok-operation-dashboard-summary {
  display: grid;
  gap: .75rem;
}

.bok-operation-summary-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  gap: .65rem;
}

.bok-operation-summary-metric {
  display: grid;
  gap: .2rem;
  min-height: 5.8rem;
  padding: .75rem .82rem;
  border: 1px solid rgba(37,99,235,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.74);
}

.bok-operation-summary-metric span {
  color: #475569;
  font-size: .76rem;
  font-weight: 900;
}

.bok-operation-summary-metric b {
  color: #0f172a;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.04em;
}

.bok-operation-summary-metric-none {
  border-color: rgba(245,158,11,.26);
  background: rgba(255,251,235,.78);
}

.bok-operation-summary-rules {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.bok-operation-summary-rules span {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: .32rem .58rem;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 999px;
  background: rgba(248,250,252,.86);
  color: #334155;
  font-size: .76rem;
  font-weight: 850;
}

.bok-software-term-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.35fr) minmax(0, .95fr);
  gap: .9rem;
  align-items: stretch;
}

.bok-software-term-panel {
  display: grid;
  gap: .75rem;
  min-height: 100%;
  padding: .95rem;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 18px;
  background: rgba(255,255,255,.70);
}

.bok-software-term-panel-entity {
  border-color: rgba(37,99,235,.24);
  background: rgba(239,246,255,.72);
}

.bok-software-term-panel-non-entity {
  border-color: rgba(20,184,166,.24);
  background: rgba(236,253,245,.70);
}

.bok-software-term-panel-unresolved {
  border-color: rgba(245,158,11,.28);
  background: rgba(255,251,235,.72);
}

.bok-software-term-panel-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .2rem .8rem;
  align-items: start;
}

.bok-software-term-panel-head span {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.bok-software-term-panel-head h4 {
  margin: 0;
  color: #1e293b;
  font-size: 1rem;
}

.bok-software-term-panel-head strong {
  color: #0f172a;
  font-size: 2rem;
  font-weight: 950;
  line-height: 1;
}

.bok-software-term-panel > p {
  margin: 0;
  color: #475569;
  line-height: 1.5;
}

.bok-software-term-metrics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .32rem .75rem;
  margin: 0;
  padding: .65rem .72rem;
  border-radius: 12px;
  background: rgba(255,255,255,.66);
}

.bok-software-term-metrics dt {
  color: #475569;
  font-size: .76rem;
  font-weight: 900;
}

.bok-software-term-metrics dd {
  margin: 0;
  color: #0f172a;
  font-weight: 950;
}

.bok-software-target-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
}

.bok-software-target-chip {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .2rem .5rem;
  border: 1px solid rgba(20,184,166,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
}

.bok-software-target-chip b {
  color: #334155;
  font-size: .72rem;
}

.bok-software-target-chip em {
  color: #0f172a;
  font-style: normal;
  font-weight: 950;
}

@media (max-width: 68rem) {
  .bok-software-term-grid {
    grid-template-columns: 1fr;
  }
}

.bok-operation-journal-model {
  display: grid;
  gap: .8rem;
  padding: .95rem;
  border: 1px solid rgba(14,165,233,.22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(236,253,245,.72), rgba(239,246,255,.78));
}

.bok-operation-journal-model strong {
  color: #0f172a;
  font-size: 1rem;
  font-weight: 950;
}

.bok-operation-journal-model p {
  margin: .25rem 0 0;
  color: #475569;
  line-height: 1.55;
}

.bok-operation-journal-model table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border: 1px solid rgba(148,163,184,.24);
  border-radius: 14px;
  background: rgba(255,255,255,.74);
}

.bok-operation-journal-model th,
.bok-operation-journal-model td {
  padding: .58rem .68rem;
  border-bottom: 1px solid rgba(148,163,184,.18);
  text-align: left;
  vertical-align: top;
}

.bok-operation-journal-model thead th {
  color: #334155;
  background: rgba(241,245,249,.84);
  font-size: .76rem;
  font-weight: 950;
}

.bok-operation-journal-model tbody th {
  width: 11rem;
  color: #1e40af;
  font-size: .82rem;
  font-weight: 950;
}

.bok-operation-journal-model tbody td {
  color: #334155;
  font-size: .82rem;
  line-height: 1.45;
}

.bok-operation-journal-model tr:last-child th,
.bok-operation-journal-model tr:last-child td {
  border-bottom: 0;
}

.bok-operation-journal-model ul {
  display: grid;
  gap: .42rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bok-operation-journal-model li {
  padding: .5rem .62rem;
  border-left: 4px solid rgba(37,99,235,.42);
  border-radius: 10px;
  background: rgba(255,255,255,.66);
  color: #1e293b;
  font-weight: 800;
}

@media (max-width: 48rem) {
  .bok-operation-journal-model table,
  .bok-operation-journal-model thead,
  .bok-operation-journal-model tbody,
  .bok-operation-journal-model tr,
  .bok-operation-journal-model th,
  .bok-operation-journal-model td {
    display: block;
  }
  .bok-operation-journal-model thead {
    display: none;
  }
  .bok-operation-journal-model tbody th {
    width: auto;
    border-bottom: 0;
    padding-bottom: .2rem;
  }
}

.bok-operation-axis-column {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: .8rem;
  min-height: 100%;
  padding: .95rem;
  border: 1px solid rgba(37,99,235,.16);
  border-radius: 18px;
  background: rgba(248,250,252,.74);
}

.bok-operation-axis-column::after {
  content: "";
  position: absolute;
  top: 2.2rem;
  right: -.65rem;
  width: .65rem;
  height: 2px;
  background: rgba(37,99,235,.28);
}

.bok-operation-axis-column:last-child::after {
  display: none;
}

.bok-operation-axis-column-head {
  padding-bottom: .72rem;
  border-bottom: 1px solid rgba(148,163,184,.20);
}

.bok-operation-axis-column-head span {
  color: #64748b;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bok-operation-axis-column-head h4 {
  margin: .28rem 0 .22rem;
  color: #1e293b;
  font-size: 1.06rem;
}

.bok-operation-axis-column-head p {
  margin: 0;
  color: #475569;
  font-size: .86rem;
  line-height: 1.5;
}

.bok-operation-axis-column-body {
  display: grid;
  gap: .72rem;
  align-content: start;
}

.bok-operation-axis-group {
  display: grid;
  gap: .52rem;
  padding: .72rem;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 14px;
  background: rgba(255,255,255,.62);
}

.bok-operation-axis-group h5 {
  margin: 0;
  color: #1e293b;
  font-size: .9rem;
}

.bok-operation-axis-group p {
  margin: 0;
  color: #64748b;
  font-size: .78rem;
  line-height: 1.45;
}

.bok-operation-axis-rows {
  display: grid;
  gap: .4rem;
}

.bok-operation-axis-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .25rem .75rem;
  padding: .55rem .62rem;
  border: 1px solid rgba(148,163,184,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.72);
  color: #334155;
  text-decoration: none;
}

.bok-operation-axis-row:hover {
  border-color: rgba(37,99,235,.34);
  background: rgba(239,246,255,.78);
  color: #1e40af;
  text-decoration: none;
}

.bok-operation-axis-row span {
  min-width: 0;
  color: #1e293b;
  font-size: .84rem;
  font-weight: 900;
}

.bok-operation-axis-row b {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 950;
  line-height: 1;
}

.bok-operation-axis-row em {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: .74rem;
  font-style: normal;
  line-height: 1.4;
}

@media (max-width: 68rem) {
  .bok-operation-model {
    grid-template-columns: 1fr;
  }
  .bok-operation-axis-column::after {
    display: none;
  }
}

.bok-operation-axis-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
}

.bok-operation-axis {
  position: relative;
  display: grid;
  gap: .35rem;
  min-height: 100%;
  padding: .86rem .95rem;
  border: 1px solid rgba(37,99,235,.16);
  border-radius: 14px;
  background: rgba(255,255,255,.70);
  color: #334155;
  text-decoration: none;
}

.bok-operation-axis::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -.55rem;
  width: .55rem;
  height: 2px;
  background: rgba(37,99,235,.28);
}

.bok-operation-axis:last-child::after {
  display: none;
}

.bok-operation-axis:hover {
  border-color: rgba(37,99,235,.34);
  background: rgba(239,246,255,.76);
  color: #1e40af;
  text-decoration: none;
}

.bok-operation-axis span {
  color: #64748b;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bok-operation-axis strong {
  color: #1e293b;
  font-size: .98rem;
  font-weight: 950;
}

.bok-operation-axis em {
  position: absolute;
  top: .72rem;
  right: .82rem;
  color: #1d4ed8;
  font-size: 1.4rem;
  font-style: normal;
  font-weight: 950;
}

.bok-operation-axis p {
  margin: 0;
  padding-right: 1.4rem;
  color: #475569;
  font-size: .84rem;
  line-height: 1.45;
}

@media (max-width: 62rem) {
  .bok-operation-axis-flow {
    grid-template-columns: 1fr;
  }
  .bok-operation-axis::after {
    display: none;
  }
}

.bok-operation-target-principle {
  display: grid;
  gap: .35rem;
  padding: .78rem .9rem;
  border: 1px solid rgba(37,99,235,.16);
  border-radius: 14px;
  background: rgba(239,246,255,.68);
}

.bok-operation-target-principle strong {
  color: #1e3a8a;
  font-size: .88rem;
  font-weight: 950;
}

.bok-operation-target-principle p {
  margin: 0;
  color: #475569;
  line-height: 1.55;
}

.bok-operation-target-groups {
  display: grid;
  gap: 1rem;
}

.bok-operation-target-group {
  display: grid;
  gap: .8rem;
  padding: .88rem;
  border: 1px solid rgba(148,163,184,.20);
  border-radius: 16px;
  background: rgba(248,250,252,.72);
}

.bok-operation-target-group-head {
  padding-bottom: .68rem;
  border-bottom: 1px solid rgba(148,163,184,.18);
}

.bok-operation-target-group-head h4 {
  margin: 0 0 .22rem;
  color: #1e293b;
  font-size: 1rem;
}

.bok-operation-target-group-head p {
  margin: 0;
  color: #64748b;
  line-height: 1.48;
}

.bok-operation-target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: .85rem;
}

.bok-operation-target {
  display: grid;
  gap: .58rem;
  min-height: 100%;
  padding: .86rem;
  border: 1px solid rgba(130,105,70,.18);
  border-radius: 12px;
  background: rgba(255,255,255,.66);
}

.bok-operation-target-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .7rem;
}

.bok-operation-target-head strong {
  color: #1f2937;
  font-size: 1.38rem;
  font-weight: 950;
}

.bok-operation-target p {
  margin: 0;
  color: #475569;
  line-height: 1.48;
}

.bok-operation-target .bok-map-list {
  margin-top: .15rem;
}

.bok-term-type-issue-group h4 {
  margin: 0 0 .6rem;
  font-size: .95rem;
}

.bok-card-term-type .bok-metadata-table {
  margin-bottom: 0;
}

.bok-card-term-type .bok-metadata-table th {
  width: 34%;
  color: var(--bok-muted);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.bok-tag-tree ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.bok-tag-tree > ul {
  display: grid;
  gap: .7rem;
}

.bok-tag-tree li {
  margin: 0;
}

.bok-tag-tree li li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .32rem 0;
  border-bottom: 1px solid rgba(15,23,42,.08);
}

.bok-tag-tree a {
  color: #174ea6;
  font-weight: 750;
  text-decoration: none;
}

.bok-tag-tree span {
  min-width: 2rem;
  color: #52616b;
  font-size: .78rem;
  font-weight: 800;
  text-align: right;
}

.bok-tag-tree-branch > ul {
  padding-left: .9rem;
}

.bok-tag-tree-branch-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.bok-tag-tree .bok-tag-tree-segment {
  display: block;
  min-width: 0;
  margin: .38rem 0 .2rem;
  color: #334155;
  font-size: .78rem;
  font-weight: 900;
  text-align: left;
}

a.bok-tag-tree-segment {
  text-decoration: none;
}

.bok-tag-tree-namespace {
  display: inline-flex;
  margin: .35rem 0;
  color: #102a43 !important;
  font-size: .88rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.bok-tag-detail-doc {
  padding-top: 1.5rem;
}

.bok-tag-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: .38rem;
  align-items: center;
}

.bok-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  min-height: 1.55rem;
  padding: .18rem .52rem;
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(219,234,254,.92), rgba(236,253,245,.88));
  color: #1d4ed8;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .01em;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 5px 14px rgba(15,23,42,.06);
}

.bok-tag-chip:hover {
  border-color: rgba(37,99,235,.34);
  color: #174ea6;
  text-decoration: none;
}

.bok-tag-chip strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 .28rem;
  border-radius: 999px;
  background: rgba(37,99,235,.12);
  color: #1e3a8a;
  font-size: .66rem;
}

.bok-knowledge-tag-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem .8rem;
  align-items: center;
  margin: -.2rem 0 .8rem;
  padding: .46rem .62rem;
  border: 1px solid rgba(148,163,184,.20);
  border-radius: 14px;
  background: rgba(248,250,252,.78);
}

.bok-knowledge-tag-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .42rem;
  align-items: center;
  padding: .22rem .32rem .22rem .22rem;
  border: 1px solid rgba(37,99,235,.12);
  border-radius: 999px;
  background: rgba(239,246,255,.72);
  color: #334155;
  font-size: .82rem;
  line-height: 1.35;
}

.bok-knowledge-tag-namespace {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: .16rem .62rem;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #334155;
  font-weight: 900;
}

.bok-knowledge-tag-leaves {
  display: inline-flex;
  flex-wrap: wrap;
  gap: .32rem;
  align-items: center;
}

.bok-knowledge-tag-leaf {
  display: inline-flex;
  align-items: center;
  min-height: 1.55rem;
  padding: .16rem .56rem;
  border: 1px solid rgba(37,99,235,.18);
  border-radius: 999px;
  background: rgba(219,234,254,.72);
  color: #1d4ed8;
  font-weight: 820;
  text-decoration: none;
}

.bok-knowledge-tag-leaf:hover {
  color: #174ea6;
  text-decoration: underline;
}

.bok-tag-detail-lead {
  max-width: 46rem;
  margin: .75rem 0 1rem;
  color: #52616b;
  font-size: 1rem;
  line-height: 1.65;
}

.bok-tag-detail-section {
  margin: 2rem 0;
}

.bok-tag-detail-section h2 {
  margin: 0 0 .75rem;
}

.bok-tag-reference-group {
  margin: 1.25rem 0;
}

.bok-workflow-detail {
  display: grid;
  gap: .45rem;
  padding: .58rem .65rem;
  border: 1px solid rgba(148,163,184,.22);
  border-radius: 12px;
  background: rgba(248,250,252,.76);
}

.bok-workflow-detail strong {
  color: #334155;
  font-size: .78rem;
  font-weight: 900;
}

.bok-workflow-detail ul {
  display: grid;
  gap: .28rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bok-workflow-detail li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .55rem;
}

.bok-workflow-detail a {
  min-width: 0;
  overflow: hidden;
  color: #1d4ed8;
  font-size: .78rem;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bok-workflow-detail li span {
  flex: 0 0 auto;
  color: #64748b;
  font-size: .7rem;
  font-weight: 850;
}

.bok-term-analysis-route-nesting {
  display: grid;
  gap: .45rem;
  margin: .7rem 0;
  padding: .62rem .7rem;
  border: 1px solid rgba(37,99,235,.16);
  border-radius: 12px;
  background: rgba(239,246,255,.68);
}

.bok-term-analysis-route-nesting strong {
  color: #1e3a8a;
  font-size: .82rem;
  font-weight: 950;
}

.bok-term-analysis-route-nesting dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .22rem .65rem;
  margin: 0;
}

.bok-term-analysis-route-nesting dt {
  color: #475569;
  font-size: .74rem;
  font-weight: 850;
}

.bok-term-analysis-route-nesting dd {
  margin: 0;
  color: #0f172a;
  font-weight: 950;
}

.bok-term-analysis-route-nesting p {
  margin: 0;
  color: #475569;
  font-size: .78rem;
  line-height: 1.45;
}
