@import url('./opening-v2.css');
@import url('./tools-context-v2.css');
@import url('./trust-v2.css');
@import url('./ecosystem-v2.css');
@import url('./closing-v2.css');
@import url('./refinement.css');

#deck-app:has(.l10-v2) .classroom-heading {
  position: relative;
  width: 1px;
  height: 0;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.l10-v2 {
  --ink: #102d4e;
  --muted: #435a70;
  --paper: #ffffff;
  --blue: #002676;
  --gold: #a3650b;
  --rule: #a6b9c9;
  --soft: #e9eff4;
  --warm: #f7e5b6;
  height: 900px;
  padding: 24px 48px 26px;
  display: grid;
  grid-template: auto auto minmax(0, 1fr) / minmax(0, 1fr);
  gap: 15px;
  position: absolute;
  inset: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 32px;
  line-height: 1.28;
}
.l10-v2 *, .l10-v2 { box-sizing: border-box; }
.l10-v2 :where(h2,h3,h4,p,figure,blockquote,dl,dd) { margin: 0; }
.l10-v2 :where(svg text) { font-family: inherit; }
.l10-v2 :where(small,figcaption) { font-size: 28px; }
.l10-v2 :where(code,pre) { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.l10-sections {
  display: grid;
  grid-template-columns: repeat(9, 1fr) 1.45fr 1.1fr;
  min-height: 48px;
  border-bottom: 1px solid var(--rule);
  align-items: stretch;
}
.l10-sections a {
  display: grid;
  place-items: center;
  padding: 0 8px 8px;
  min-width: 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 24px;
  font-weight: 550;
  border-bottom: 4px solid transparent;
}
.l10-sections a[aria-current] {
  color: var(--blue);
  font-weight: 700;
  border-color: #bf820d;
  background: linear-gradient(0deg, #f7e5b6a6, transparent);
}
.l10-sections a:hover { color: var(--blue); border-color: var(--rule); }
.l10-v2 .l10-v2-title {
  color: var(--blue);
  margin: 0;
  font-size: 48px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.l10-v2-content, .l10-v2-main {
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.l10-v2-main > :only-child { min-height: 100%; }
.l10-with-layer {
  display: grid;
  grid-template-columns: minmax(0, 29fr) minmax(0, 71fr);
  gap: 24px;
}
.l10-layer-card {
  display: grid;
  align-content: start;
  gap: 20px;
  min-width: 0;
  border-right: 2px solid var(--rule);
  padding: 0 19px 0 0;
}
.l10-layer-card .l10-whole-map { height: 270px; }
.l10-layer-lines { display: grid; gap: 14px; }
.l10-layer-lines p {
  padding: 12px 0 0;
  border-top: 1px solid var(--rule);
  line-height: 1.27;
  font-size: 28px;
}
.l10-layer-lines p:first-child { font-weight: 700; color: var(--blue); }
.l10-layer-lines p strong {
  display: block;
  margin-bottom: 5px;
  color: var(--gold);
  font-size: 28px;
}
.l10-layer-intro .l10-layer-card {
  height: 100%;
  align-items: center;
  align-content: stretch;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  padding: 0 30px;
  border: 0;
  gap: 64px;
}
.l10-layer-intro .l10-whole-map { height: 470px; font-size: 32px; }
.l10-layer-intro .l10-layer-lines { gap: 25px; }
.l10-layer-intro .l10-layer-lines p { font-size: 38px; padding-top: 16px; }
.l10-layer-intro .l10-layer-lines p strong { font-size: 28px; }

.l10-loop {
  aspect-ratio: 1;
  position: relative;
  width: min(100%, 460px);
  container-type: inline-size;
  color: #002676;
  font-weight: 700;
}
.l10-loop svg { width: 100%; height: 100%; display: block; }
.l10-loop path { fill: none; stroke: #144b7d; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.l10-loop span { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; }
.l10-loop-model { top: 49%; left: 50%; font-size: 38px; }
.l10-loop-gather { top: 13%; left: 50%; padding: 0 .45em; font-size: 32px; background: var(--paper, #fff); }
.l10-loop-act { top: 70%; left: 82%; font-size: 32px; background: var(--paper, #fff); }
.l10-loop-verify { top: 70%; left: 19%; font-size: 32px; background: var(--paper, #fff); }

.l10-whole-map {
  --map-accent: #356e93;
  width: 100%;
  height: 100%;
  position: relative;
  display: grid;
  grid-template: repeat(4, minmax(0, 1fr)) / minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 13px 34px;
  padding: 9px 24px;
  isolation: isolate;
}
.l10-whole-map::before, .l10-whole-map::after {
  content: '';
  position: absolute;
  inset: 9% 10%;
  border: 2px solid #acbecb;
  border-radius: 46%;
  z-index: -1;
}
.l10-whole-map::after { inset: 22% 21%; border-color: #6d9aaa; }

.l10-map-ring { display: grid; place-items: center; grid-area: 1 / 2 / 5 / 3; }
.l10-map-ring:only-child { grid-area: 1 / 1 / 5 / 4; }
.l10-map-ring:only-child .l10-loop { width: min(100%, 560px); }
.l10-map-ring-active .l10-loop { background: radial-gradient(circle, #f4d780 0 48%, transparent 49%); }
.l10-map-ring-active .l10-loop path { stroke: #986005; }
.l10-map-ring-active .l10-loop-model { color: #744503; }

.l10-map-layer {
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 8px 13px 8px 16px;
  width: 100%;
  border-left: 5px solid var(--map-accent);
  background: #e9f0f4;
  line-height: 1.15;
  overflow-wrap: anywhere;
}
.l10-map-layer strong { color: #002676; font-size: 38px; }
.l10-map-layer span, .l10-map-layer em { font-size: 28px; }
.l10-map-layer em { color: #4c5c6b; font-style: normal; }
.l10-map-tools { grid-area: 2 / 1; }
.l10-map-context { grid-area: 3 / 1; }
.l10-map-verification { grid-area: 2 / 3; }
.l10-map-permissions { grid-area: 3 / 3; }
.l10-map-entry { grid-area: 1 / 1; }
.l10-map-memory { grid-area: 1 / 3; }
.l10-map-subagents { grid-area: 4 / 1; }
.l10-map-extensions { grid-area: 4 / 3; }
:is(.l10-map-entry,.l10-map-memory,.l10-map-subagents,.l10-map-extensions) {
  --map-accent: #947130;
  background: #f1ebde;
}
.l10-map-active {
  border-color: #9c5e05;
  background: #f4d780;
  color: #002676;
}
.l10-map-compact {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr) minmax(0, 1.18fr);
  gap: 8px;
  padding: 6px 0;
}
.l10-map-compact .l10-map-layer { padding: 5px 5px 5px 8px; border-left-width: 3px; }
.l10-map-compact .l10-map-layer strong { font-size: 28px; line-height: 1.06; }
.l10-map-compact .l10-loop-gather { padding-inline: .2em; text-align: center; white-space: nowrap; }
.l10-layer-intro .l10-map-compact .l10-map-layer strong { font-size: 32px; }
.l10-layer-card .l10-map-compact :is(.l10-loop-gather,.l10-loop-act,.l10-loop-verify) { font-size: 28px; }
.l10-layer-card .l10-map-compact .l10-loop-model { font-size: 28px; }

#mobile-doc .l10-v2 {
  position: relative;
  width: min(100%, 1600px);
  height: auto;
  min-height: 0;
  display: block;
  padding: 18px 18px 30px;
  overflow: auto;
}
#mobile-doc .l10-sections { display: flex; flex-wrap: wrap; gap: 3px; }
#mobile-doc .l10-sections a { font-size: 16px; }
#mobile-doc .l10-v2-title { white-space: normal; font-size: 28px; margin: 12px 0; transform: none; }
#mobile-doc .l10-v2-content { min-width: 790px; min-height: 470px; }

.l10-v2 ::selection { background: #f4d780; color: #002676; }
