/* AI Office picture explainers (office-visuals.js): staff org chart, roles table, how-they-talk network, one task end to
   end. Night Studio tokens from theme.css. The hidden-then-reveal states only exist with motion allowed, so a reader
   with reduced motion sees every part at once. */
.ov { margin: 28px 0; padding: clamp(20px, 3vw, 30px); border-radius: var(--r); background: var(--glass); box-shadow: inset 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,.85); }
.ov h3 { margin: 10px 0 6px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; }
.ov-lede { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ov button { font-family: var(--sans); color: var(--ink); }

/* Tabs shared by the roles table and the network */
.ov-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 18px; }
.ov-tabs button { min-height: 44px; padding: 8px 16px; border: 0; border-radius: var(--pill); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); font-size: 14px; font-weight: 600; color: var(--muted); transition: background .25s, color .25s, box-shadow .25s; }
.ov-tabs button span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 4px; border-radius: 50%; background: rgba(255,255,255,.08); font: 600 11px var(--mono); }
.ov-tabs button:hover { color: var(--ink); background: rgba(255,255,255,.09); }
.ov-tabs button[aria-selected="true"] { color: #fff; background: var(--blue); box-shadow: 0 10px 26px -12px rgba(0,84,255,.9), inset 0 1px 0 rgba(255,255,255,.18); }
.ov-tabs button[aria-selected="true"] span { background: rgba(255,255,255,.22); }
.ov-swap { animation: ov-fade .45s ease both; }

/* 1. The staff org chart */
.ov-org { display: flex; flex-direction: column; align-items: center; }
.ov-tier { display: flex; justify-content: center; align-items: center; gap: 8px; width: 100%; }
.ov-card { display: grid; gap: 2px; min-width: 112px; min-height: 56px; padding: 9px 14px; border: 0; border-radius: 16px; text-align: center; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); transition: background .3s, box-shadow .3s, transform .3s cubic-bezier(.2,.7,.2,1); }
.ov-card b { font-size: 14px; font-weight: 600; line-height: 1.25; }
.ov-card small { font: 500 11px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.ov-card:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(140,200,255,.45); }
.ov-card[aria-pressed="true"] { background: rgba(0,84,255,.28); box-shadow: inset 0 0 0 1px var(--cyan), 0 14px 34px -14px rgba(0,84,255,.95); transform: translateY(-2px); }
.ov-card[aria-pressed="true"] small { color: var(--cyan); }
.ov-owner { min-width: 150px; background: rgba(227,179,71,.1); box-shadow: inset 0 0 0 1px rgba(227,179,71,.5); }
.ov-owner small { color: var(--gold); }
.ov-owner[aria-pressed="true"] { background: rgba(227,179,71,.2); box-shadow: inset 0 0 0 1px var(--gold), 0 14px 34px -14px rgba(227,179,71,.8); }
.ov-owner[aria-pressed="true"] small { color: var(--gold); }
.ov-link { position: relative; display: block; width: 2px; height: 26px; background: linear-gradient(var(--cyan), rgba(140,200,255,.25)); transform-origin: top; }
.ov-link::after { content: ""; position: absolute; left: -3px; top: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); opacity: 0; }
.ov-tie { font: 500 10px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); text-align: center; max-width: 84px; padding: 4px 0; border-top: 1px dashed var(--line2); }
.ov-tie-both { color: var(--cyan); border-top: 1px solid rgba(140,200,255,.55); }
.ov-bus { display: block; width: 78%; height: 2px; background: linear-gradient(90deg, transparent, rgba(140,200,255,.55) 12%, rgba(140,200,255,.55) 88%, transparent); margin-bottom: 14px; transform-origin: center; }
.ov-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.ov-team { padding: 12px; border-radius: 18px; background: rgba(255,255,255,.02); box-shadow: inset 0 0 0 1px var(--line); }
.ov-team-label { display: block; margin-bottom: 10px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); text-align: center; }
.ov-team > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ov-team .ov-card { min-width: 0; }
.ov-detail { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: radial-gradient(80% 140% at 0% 0%, rgba(0,84,255,.2), transparent 60%), var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); min-height: 132px; }
.ov-detail > b { font-size: 17px; }
.ov-detail p { margin: 6px 0 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ov-detail dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.ov-detail dt { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.ov-detail div:last-child dt { color: var(--gold); }
.ov-detail dd { margin: 3px 0 0; font-size: 14px; line-height: 1.5; }

/* 2. The roles table */
.ov-table-wrap { overflow-x: auto; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.ov-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.ov-table th, .ov-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.ov-table thead th { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); background: rgba(255,255,255,.03); }
.ov-table tbody th { font-weight: 600; white-space: nowrap; }
.ov-table td { color: var(--muted); }
.ov-table tbody tr:last-child > * { border-bottom: 0; }
.ov-table tbody tr { transition: background .2s; }
.ov-table tbody tr:hover { background: rgba(0,84,255,.1); }
.ov-arrow { color: var(--cyan); }
.ov-you { color: var(--ink); padding-left: 12px; position: relative; display: inline-block; }
.ov-you::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(227,179,71,.8); }

/* 3. How they talk: the network */
.ov-net { margin: 0; }
.ov-net svg { display: block; width: 100%; height: auto; overflow: visible; }
.ov-swipe { display: none; }
.ov-edge { fill: none; stroke: rgba(255,255,255,.13); stroke-width: 1.5; transition: stroke .35s, stroke-width .35s, opacity .35s; }
.ov-edge.on { stroke: var(--cyan); stroke-width: 2.4; stroke-dasharray: 7 6; animation: ov-flow .8s linear infinite; filter: drop-shadow(0 0 4px rgba(140,200,255,.6)); }
.ov-tip-dim { fill: rgba(255,255,255,.22); }
.ov-tip-on { fill: var(--cyan); }
.ov-node rect { fill: var(--surface); stroke: var(--line2); stroke-width: 1.2; transition: fill .35s, stroke .35s; }
.ov-node text { fill: var(--muted); font: 600 13px var(--sans); transition: fill .35s; }
.ov-node.on rect { fill: rgba(0,84,255,.3); stroke: var(--cyan); }
.ov-node.on text { fill: #fff; }
.ov-node-owner rect { stroke: rgba(227,179,71,.6); }
.ov-node-owner.on rect { fill: rgba(227,179,71,.2); stroke: var(--gold); }
.ov-node-file text { font: 500 12px var(--mono); }
.ov-node.on { animation: ov-pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.ov-label { fill: var(--cyan); font: 500 12px var(--mono); opacity: 0; transition: opacity .35s; }
.ov-label.on { opacity: 1; }
.ov-net figcaption { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 15px; line-height: 1.6; }

/* 4. One task, start to finish */
.ov-stages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.ov-stages li { padding: 8px 4px; border-radius: var(--pill); text-align: center; font: 500 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); background: rgba(255,255,255,.04); transition: background .35s, color .35s, box-shadow .35s; }
.ov-stages li.done { color: var(--cyan); background: rgba(0,84,255,.14); }
.ov-stages li.now { color: #fff; background: var(--blue); box-shadow: 0 8px 22px -10px rgba(0,84,255,.95); }
.ov-stages li:last-child.now { color: #1a1205; background: linear-gradient(135deg, #F6DB94, var(--gold)); box-shadow: 0 8px 22px -10px rgba(227,179,71,.9); }
.ov-bar { height: 3px; margin: 10px 0 16px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.ov-bar span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--blue), var(--cyan), var(--gold)); transition: width .6s cubic-bezier(.2,.7,.2,1); }
.ov-feed { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; min-height: 120px; }
.ov-msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line); animation: ov-in .5s cubic-bezier(.2,.7,.2,1) both; }
.ov-msg-owner { background: rgba(227,179,71,.07); box-shadow: inset 0 0 0 1px rgba(227,179,71,.32); }
.ov-msg p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.ov-msg p.ov-route { margin-bottom: 3px; font-size: 13px; color: var(--faint); }
.ov-route b { color: var(--ink); font-weight: 600; }
.ov-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ov-avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font: 600 11px var(--mono); color: var(--cyan); background: var(--navy); box-shadow: inset 0 0 0 1px rgba(140,200,255,.4); }
.ov-avatar-owner { color: #1a1205; background: linear-gradient(135deg, #F6DB94, var(--gold)); box-shadow: none; }
.ov-avatar-cto { color: #fff; background: var(--blue-card); }
.ov-chip { display: inline-block; margin-top: 8px; padding: 3px 10px; border-radius: var(--pill); font: 500 11px var(--mono); color: var(--muted); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line2); }
.ov-chip-file { color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(140,200,255,.4); }
.ov-chip-file::before { content: "▤ "; }
.ov-chip-flag { color: #FFB86B; background: rgba(255,170,80,.1); box-shadow: inset 0 0 0 1px rgba(255,170,80,.45); }
.ov-chip-owner { color: #1a1205; background: linear-gradient(135deg, #F6DB94, var(--gold)); box-shadow: none; font-weight: 600; }
.ov-typing { display: flex; gap: 5px; width: fit-content; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.ov-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); animation: ov-dot 1s ease-in-out infinite; }
.ov-typing span:nth-child(2) { animation-delay: .15s; }
.ov-typing span:nth-child(3) { animation-delay: .3s; }
.ov-controls { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ov-controls button { min-height: 44px; padding: 8px 16px; border: 0; border-radius: var(--pill); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line2); font-size: 14px; font-weight: 600; }
.ov-controls button:first-child { background: var(--blue); color: #fff; box-shadow: 0 10px 26px -12px rgba(0,84,255,.9); }
.ov-controls button:hover { background: rgba(255,255,255,.11); }
.ov-controls button:first-child:hover { background: var(--blue-hi); }
.ov-finished .ov-msg-final { animation: ov-in .5s cubic-bezier(.2,.7,.2,1) both, ov-glow 1.6s ease-out .4s 2; }

/* The flow explainer above the concepts: the active step lifts and its copy fades in */
.flow span { transition: background .35s, color .35s, box-shadow .35s, transform .35s cubic-bezier(.2,.7,.2,1); }
.flow span.active { transform: translateY(-3px); }

@keyframes ov-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes ov-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ov-row { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@keyframes ov-flow { to { stroke-dashoffset: -13; } }
@keyframes ov-pulse { 50% { transform: scale(1.04); } }
@keyframes ov-dot { 0%, 100% { opacity: .3; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
@keyframes ov-grow-y { from { transform: scaleY(0); } }
@keyframes ov-grow-x { from { transform: scaleX(0); } }
@keyframes ov-travel { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 8px); opacity: 0; } }
@keyframes ov-glow { 0% { box-shadow: inset 0 0 0 1px var(--gold), 0 0 0 0 rgba(227,179,71,.6); } 100% { box-shadow: inset 0 0 0 1px rgba(227,179,71,.32), 0 0 0 14px rgba(227,179,71,0); } }

/* Reveal on scroll, only when motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .ov-staff .ov-card, .ov-staff .ov-tie, .ov-talk .ov-node { opacity: 0; }
  .ov-staff .ov-link { transform: scaleY(0); }
  .ov-staff .ov-bus { transform: scaleX(0); }
  .ov-talk .ov-edge { opacity: 0; }
  .ov.is-in .ov-card, .ov.is-in .ov-tie { animation: ov-in .55s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 90ms) both; }
  .ov.is-in .ov-link, .ov.is-in .ov-bus { transform: none; }
  .ov.is-in .ov-link { animation: ov-grow-y .4s ease calc(var(--i) * 90ms) both; }
  .ov.is-in .ov-link::after { animation: ov-travel 2.2s ease-in-out calc(var(--i) * 90ms + 1s) infinite; }
  .ov.is-in .ov-bus { animation: ov-grow-x .6s ease calc(var(--i) * 90ms) both; }
  .ov.is-in .ov-node { animation: ov-in .5s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 80ms) both; }
  .ov.is-in .ov-node.on { animation: ov-in .5s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 80ms) both, ov-pulse 2.4s ease-in-out calc(var(--i) * 80ms + .5s) infinite; }
  .ov.is-in .ov-edge { opacity: 1; transition: opacity .6s ease calc(var(--i) * 40ms + .5s), stroke .35s, stroke-width .35s; }
  .ov-roles.is-in tbody tr { animation: ov-row .45s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 90ms) both; }
  .ov-roles:not(.is-in) tbody tr { opacity: 0; }
  .ov-staff, .ov-roles, .ov-talk, .ov-task { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .ov.is-in { opacity: 1; transform: none; }
}

@media (max-width: 700px) {
  .ov { padding: 18px 14px; margin: 22px 0; }
  .ov-card { min-width: 0; padding: 8px 8px; min-height: 52px; }
  .ov-card b { font-size: 13px; }
  .ov-card small { font-size: 10px; }
  .ov-lead { gap: 4px; }
  .ov-lead .ov-card { flex: 1 1 0; }
  .ov-tie { max-width: 48px; font-size: 8px; letter-spacing: .02em; }
  .ov-teams { grid-template-columns: 1fr; gap: 10px; }
  .ov-detail dl { grid-template-columns: 1fr; }
  .ov-table, .ov-table tbody, .ov-table tr, .ov-table th, .ov-table td { display: block; }
  .ov-table thead { display: none; }
  .ov-table tbody tr { padding: 12px 14px; border-bottom: 1px solid var(--line); }
  .ov-table th, .ov-table td { padding: 3px 0; border: 0; }
  .ov-table tbody th { font-size: 15px; white-space: normal; }
  .ov-table td::before { content: attr(data-label); display: block; margin-top: 6px; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
  /* The map keeps its labels near 11px by scrolling sideways instead of shrinking */
  .ov-net-scroll { overflow-x: auto; margin: 0 -14px; padding: 6px 14px; scrollbar-width: thin; }
  .ov-net-scroll svg { width: 620px; max-width: none; }
  .ov-swipe { display: block; margin: 6px 0 0; font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); text-align: right; }
  .ov-stages { grid-template-columns: repeat(3, 1fr); }
  .ov-msg { grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 11px 12px; }
  .ov-avatar { width: 32px; height: 32px; font-size: 10px; }
  .ov-tabs button { flex: 1 1 auto; padding: 8px 12px; font-size: 13px; }
}

/* ---- The other lessons: step chain, sorter and board, lanes, and their own visuals ---- */
.ov-step-copy { margin: 14px 0 0; padding: 14px 16px; min-height: 76px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); font-size: 15px; line-height: 1.6; }
.ov-col-label { display: block; margin-bottom: 8px; font: 500 10px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }

/* Step chain */
.ov-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.ov-steps li { position: relative; }
.ov-steps button { display: grid; gap: 2px; justify-items: start; width: 100%; height: 100%; min-height: 76px; padding: 10px 12px; border: 0; border-radius: 16px; text-align: left; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line2); transition: background .35s, box-shadow .35s, transform .35s cubic-bezier(.2,.7,.2,1); }
.ov-steps b { font-size: 14px; font-weight: 600; line-height: 1.25; }
.ov-steps small { font: 500 10px/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.ov-num { display: grid; place-items: center; width: 22px; height: 22px; margin-bottom: 4px; border-radius: 50%; font: 600 11px var(--mono); color: var(--faint); background: rgba(255,255,255,.07); transition: background .35s, color .35s; }
.ov-steps li.done button { box-shadow: inset 0 0 0 1px rgba(140,200,255,.35); }
.ov-steps li.done .ov-num { color: var(--bg); background: var(--cyan); }
.ov-steps button[aria-pressed="true"] { background: rgba(0,84,255,.3); box-shadow: inset 0 0 0 1px var(--cyan), 0 14px 30px -14px rgba(0,84,255,.95); transform: translateY(-3px); }
.ov-steps button[aria-pressed="true"] .ov-num { color: #fff; background: var(--blue); box-shadow: 0 0 0 4px rgba(0,84,255,.3); }
.ov-steps button[aria-pressed="true"] small { color: var(--cyan); }
.ov-steps button:hover { box-shadow: inset 0 0 0 1px rgba(140,200,255,.45); }
.ov-loop { display: grid; min-height: 76px; place-items: center; align-content: center; border-radius: 16px; border: 1px dashed var(--line2); color: var(--cyan); font-size: 24px; }
.ov-loop small { font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.ov-loop { animation: ov-spin-hint 4s ease-in-out infinite; }
.ov-chain .ov-bar { margin: 14px 0 0; }
.ov-ecg { display: block; width: 100%; height: 44px; margin: 4px 0 6px; }
.ov-ecg polyline { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 260 900; animation: ov-ecg 3.2s linear infinite; filter: drop-shadow(0 0 4px rgba(140,200,255,.7)); }

/* Sorter and board */
.ov-inbox { padding: 12px; margin-bottom: 12px; border-radius: 16px; border: 1px dashed var(--line2); }
.ov-cols { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 10px; }
.ov-col { padding: 12px 10px; border-radius: 16px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--line); border-top: 3px solid var(--tone, var(--line2)); }
.ov-col .ov-col-label { color: var(--tone, var(--faint)); }
.ov-tone-blue { --tone: var(--blue-hi); } .ov-tone-cyan { --tone: var(--cyan); } .ov-tone-gold { --tone: var(--gold); } .ov-tone-red { --tone: #FF8A7A; } .ov-tone-ok { --tone: var(--ok); }
.ov-chips { display: flex; flex-wrap: wrap; gap: 6px; min-height: 40px; align-content: flex-start; }
.ov-cols .ov-chips { flex-direction: column; flex-wrap: nowrap; }
.ov-token { display: block; padding: 8px 11px; border-radius: 12px; font-size: 13px; line-height: 1.35; color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line2); transition: box-shadow .35s, background .35s; }
.ov-token small { display: block; margin-top: 2px; font: 500 10px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.ov-token.ov-current { background: rgba(0,84,255,.25); box-shadow: inset 0 0 0 1px var(--cyan), 0 12px 26px -14px rgba(0,84,255,.95); }

/* Lanes */
.ov-lane { display: grid; grid-template-columns: 1fr 1.6fr 1.4fr 1fr; gap: 8px; margin-top: 8px; }
.ov-lane > span { position: relative; padding: 12px; border-radius: 14px; font-size: 14px; line-height: 1.45; color: var(--muted); background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); animation: ov-lane 7s ease-in-out infinite; animation-delay: calc(var(--r) * 1.6s + var(--c) * .9s); }
.ov-lane > span b { color: var(--ink); font-weight: 600; }
.ov-lane > span:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); z-index: 1; font-size: 12px; color: var(--cyan); }
.ov-lane > span:last-child { color: var(--ink); box-shadow: inset 0 0 0 1px rgba(227,179,71,.35); }
.ov-lane-head > span { padding: 0 12px; background: none; box-shadow: none !important; animation: none; font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.ov-lane-head > span::after { content: none !important; }

/* Redaction */
.ov-prompt { padding: 16px 18px; border-radius: 16px; background: radial-gradient(80% 120% at 0% 0%, rgba(0,84,255,.18), transparent 60%), var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.ov-prompt-label { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.ov-prompt p { margin: 8px 0 0; font: 14px/1.9 var(--mono); color: #DCE6FF; }
.ov-secret { padding: 1px 5px; border-radius: 6px; color: #FFD2CC; background: rgba(255,120,100,.16); box-shadow: inset 0 0 0 1px rgba(255,120,100,.45); transition: background .3s, color .3s, box-shadow .3s; }
.ov-secret.ov-hit { color: transparent; background: #FF8A7A; animation: ov-shake .35s ease; }
.ov-secret.ov-clean { color: var(--ok); background: rgba(126,224,168,.12); box-shadow: inset 0 0 0 1px rgba(126,224,168,.45); }
.ov-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ov-kinds li { padding: 6px 12px; border-radius: var(--pill); font: 500 12px var(--mono); color: var(--faint); box-shadow: inset 0 0 0 1px var(--line2); transition: color .3s, background .3s, box-shadow .3s; }
.ov-kinds li::before { content: "○ "; }
.ov-kinds li.done { color: var(--ok); background: rgba(126,224,168,.08); box-shadow: inset 0 0 0 1px rgba(126,224,168,.4); }
.ov-kinds li.done::before { content: "✓ "; }

/* Wires with travelling dots: second signature, connector */
.ov-wire { position: relative; align-self: center; display: block; width: 100%; min-width: 28px; height: 2px; background: linear-gradient(90deg, rgba(140,200,255,.2), rgba(140,200,255,.6)); }
.ov-wire i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: ov-run-x 2s linear infinite; }
.ov-wire-both i:nth-child(2) { background: var(--gold); box-shadow: 0 0 10px var(--gold); animation-name: ov-run-x-back; animation-delay: 1s; }
.ov-branch { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1.1fr 40px 1fr; align-items: center; }
.ov-bnode, .ov-anode { display: grid; gap: 3px; padding: 12px 14px; border-radius: 16px; text-align: center; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line2); }
.ov-bnode b, .ov-anode b { font-size: 15px; font-weight: 600; }
.ov-bnode small, .ov-anode small { font-size: 12px; line-height: 1.4; color: var(--muted); }
.ov-bnode-cto { background: rgba(0,84,255,.2); box-shadow: inset 0 0 0 1px rgba(140,200,255,.5); }
.ov-bnode-owner { background: rgba(227,179,71,.1); box-shadow: inset 0 0 0 1px rgba(227,179,71,.5); }
.ov-bnode-owner small { color: var(--gold); }
.ov-outcomes { display: grid; gap: 6px; }
.ov-outcome { min-height: 40px; border: 0; border-radius: var(--pill); font-size: 14px; font-weight: 600; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line2); transition: background .3s, box-shadow .3s, transform .3s; }
.ov-outcome-ok[aria-pressed="true"] { color: #06150d; background: var(--ok); }
.ov-outcome-flag[aria-pressed="true"] { color: #1a1205; background: #FFB86B; }
.ov-outcome-block[aria-pressed="true"] { color: #1d0805; background: #FF8A7A; }
.ov-outcome[aria-pressed="true"] { transform: scale(1.05); box-shadow: 0 10px 24px -12px rgba(0,0,0,.9); }
.ov-arch { display: grid; grid-template-columns: 1fr 64px 1fr 64px 1fr; align-items: center; row-gap: 0; }
.ov-anode-hub { background: rgba(0,84,255,.2); box-shadow: inset 0 0 0 1px rgba(140,200,255,.55), 0 20px 40px -24px rgba(0,84,255,.9); }
.ov-wire-down { grid-column: 3; grid-row: 2; justify-self: center; width: 2px; min-width: 0; height: 40px; background: linear-gradient(rgba(140,200,255,.6), rgba(140,200,255,.2)); }
.ov-wire-down i { left: -3px; top: 0; animation-name: ov-run-y; }
.ov-wire-down i:nth-child(2) { animation-name: ov-run-y-back; }
.ov-anode-phone { grid-column: 3; grid-row: 3; }

/* Folder */
.ov-term { display: grid; gap: 8px; padding: 14px; border-radius: 16px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.ov-say { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.ov-say b { display: inline-block; min-width: 42px; margin-right: 8px; font: 600 11px var(--mono); text-transform: uppercase; color: var(--cyan); }
.ov-say-you b { color: var(--gold); }
.ov-tree { margin: 14px 0 0; padding: 14px 16px; list-style: none; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); }
.ov-tree li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 6px 0 6px calc(var(--d) * 22px); border-left: 0; }
.ov-tree code { font: 600 13px var(--mono); color: var(--ink); }
.ov-tree span { font-size: 13px; color: var(--muted); }
[data-seq] { transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.ov-wait { opacity: 0; transform: translateY(6px); }

/* Charter */
.ov-doc { border-radius: 16px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); overflow: hidden; }
.ov-doc-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.ov-doc-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.ov-doc-bar code { margin-left: 8px; font: 500 12px var(--mono); color: var(--cyan); }
.ov-doc-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; padding: 10px 16px; border-bottom: 1px solid var(--line); }
.ov-doc-row:last-child { border-bottom: 0; }
.ov-doc-row b { font: 600 12px/1.6 var(--mono); color: var(--ink); }
.ov-doc-row b::before { content: "## "; color: var(--faint); }
.ov-doc-row p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.ov-specific { margin-top: 14px; }
.ov-specific p { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 12px; align-items: center; margin: 6px 0 0; padding: 10px 14px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
.ov-specific s { color: #FF8A7A; text-decoration-thickness: 2px; }
.ov-specific p span { color: var(--ok); }
.ov-specific p span::before { content: "✓ "; }

/* Dashboard mock and file anatomy */
.ov-dash { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 12px; border-radius: 18px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.ov-dash-bar { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 10px; padding: 2px 4px 6px; font-size: 13px; }
.ov-dash-bar span { font: 500 11px var(--mono); color: var(--faint); }
.ov-dpart { position: relative; padding: 12px 12px 12px 40px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .35s, background .35s, transform .35s; font-size: 13px; color: var(--muted); }
.ov-dpart-wide { grid-column: 1 / -1; }
.ov-dpart-alert { background: rgba(255,120,100,.06); }
.ov-dpart ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.ov-dpart li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ov-dpart li small { color: var(--faint); font-family: var(--mono); font-size: 11px; }
.ov-dpart p { margin: 0; }
.ov-dnum { position: absolute; left: 10px; top: 11px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; font: 600 11px var(--mono); color: var(--faint); background: rgba(255,255,255,.07); transition: background .35s, color .35s; }
.ov-dcards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ov-dcards div { display: grid; gap: 2px; justify-items: start; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); }
.ov-dcards b { color: var(--ink); font-size: 13px; }
.ov-dcards small { font-size: 12px; }
.ov-pill { display: inline-block; padding: 1px 8px; border-radius: var(--pill); font: 600 10px/1.6 var(--mono); font-style: normal; text-transform: uppercase; letter-spacing: .04em; }
.ov-pill-red { color: #FF8A7A; background: rgba(255,120,100,.14); } .ov-pill-gold { color: var(--gold); background: rgba(227,179,71,.14); } .ov-pill-ok { color: var(--ok); background: rgba(126,224,168,.12); } .ov-pill-blue { color: #fff; background: rgba(0,84,255,.5); } .ov-pill-cyan { color: var(--cyan); background: rgba(140,200,255,.12); }
[data-part].on { background: rgba(0,84,255,.18); box-shadow: inset 0 0 0 1px var(--cyan), 0 14px 30px -16px rgba(0,84,255,.95); }
.ov-dpart.on { transform: translateY(-2px); }
.ov-dpart.on .ov-dnum { color: #fff; background: var(--blue); }
.ov-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 12px; }
.ov-code { margin: 0; padding: 12px; border-radius: 16px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); overflow-x: auto; font: 12.5px/1.5 var(--mono); color: #DCE6FF; }
.ov-code span { display: block; padding: 2px 8px; border-radius: 8px; white-space: pre; transition: background .35s, box-shadow .35s; }
.ov-code i { font-style: normal; color: var(--faint); }
.ov-page { display: grid; gap: 6px; padding: 10px; border-radius: 16px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); }
.ov-page > div { padding: 8px 10px; border-radius: 10px; background: rgba(255,255,255,.03); transition: background .35s, box-shadow .35s; }
.ov-page .ov-col-label { margin-bottom: 2px; }
.ov-page p { margin: 0; font-size: 13px; color: var(--muted); }
.ov-mini { display: flex; gap: 6px; }
.ov-mini i { flex: 1; height: 20px; border-radius: 6px; background: rgba(255,255,255,.08); }
.ov-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.ov-badges li { padding: 5px 12px; border-radius: var(--pill); font: 500 12px var(--mono); color: var(--ok); background: rgba(126,224,168,.08); box-shadow: inset 0 0 0 1px rgba(126,224,168,.35); }
.ov-badges li::before { content: "✓ "; }

/* Formats */
.ov-tabs button small { font-weight: 500; opacity: .75; }
.ov-stage { display: grid; place-items: center; height: 250px; border-radius: 18px; background: repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 10px, transparent 10px 20px), var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.ov-frame { position: relative; width: 129px; height: 230px; overflow: hidden; border-radius: 12px; background: radial-gradient(60% 50% at 50% 40%, rgba(59,123,255,.55), transparent 70%), linear-gradient(160deg, #0a1a4a, #071028); box-shadow: inset 0 0 0 2px var(--cyan), 0 20px 40px -20px rgba(0,84,255,.9); transition: width .7s cubic-bezier(.2,.7,.2,1), height .7s cubic-bezier(.2,.7,.2,1); }
.ov-subject { position: absolute; left: 50%; top: 22%; width: 54px; height: 54px; transform: translateX(-50%); border-radius: 50%; background: rgba(255,255,255,.85); box-shadow: 0 60px 0 6px rgba(255,255,255,.55); }
.ov-logo { position: absolute; top: 8px; right: 8px; padding: 2px 6px; border-radius: 6px; font: 600 9px var(--mono); color: var(--bg); background: var(--gold); }
.ov-cap { position: absolute; left: 8px; right: 8px; bottom: 10px; padding: 4px 6px; border-radius: 6px; text-align: center; font-size: 11px; font-weight: 600; line-height: 1.3; color: #fff; background: rgba(0,0,0,.6); }
.ov-thumbs { margin-top: 16px; }
.ov-thumbs > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ov-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 12px; background: linear-gradient(160deg, #1a3a9e, #071028); box-shadow: inset 0 0 0 1px var(--line2); }
.ov-thumb span { position: absolute; right: 10%; bottom: 0; width: 34%; height: 70%; border-radius: 50% 50% 0 0; background: rgba(255,255,255,.7); }
.ov-thumb b { position: absolute; left: 8px; top: 8px; max-width: 60%; font-size: 13px; line-height: 1.15; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.ov-thumb:nth-child(2) { box-shadow: inset 0 0 0 2px var(--gold); }
.ov-thumb:nth-child(2)::after { content: "Picked"; position: absolute; right: 6px; top: 6px; padding: 1px 7px; border-radius: var(--pill); font: 600 10px var(--mono); color: var(--bg); background: var(--gold); }
.ov-thumbs .ov-lede { margin: 10px 0 0; font-size: 14px; }

@keyframes ov-run-x { from { left: 0; } to { left: calc(100% - 8px); } }
@keyframes ov-run-x-back { from { left: calc(100% - 8px); } to { left: 0; } }
@keyframes ov-run-y { from { top: 0; } to { top: calc(100% - 8px); } }
@keyframes ov-run-y-back { from { top: calc(100% - 8px); } to { top: 0; } }
@keyframes ov-ecg { from { stroke-dashoffset: 1160; } to { stroke-dashoffset: 0; } }
@keyframes ov-spin-hint { 0%, 70%, 100% { transform: none; } 85% { transform: rotate(-25deg); } }
@keyframes ov-lane { 0%, 100% { background: rgba(255,255,255,.03); } 6%, 14% { background: rgba(0,84,255,.28); color: var(--ink); } 24% { background: rgba(255,255,255,.03); } }
@keyframes ov-shake { 25% { transform: translateX(-2px); } 75% { transform: translateX(2px); } }

@media (prefers-reduced-motion: no-preference) {
  .ov-steps li, .ov-col, .ov-lane:not(.ov-lane-head), .ov-bnode, .ov-outcomes, .ov-anode, .ov-doc-row, .ov-specific p, .ov-dpart, .ov-thumb { opacity: 0; }
  .ov.is-in .ov-steps li, .ov.is-in .ov-col, .ov.is-in .ov-lane:not(.ov-lane-head), .ov.is-in .ov-doc-row, .ov.is-in .ov-dpart, .ov.is-in .ov-thumb { animation: ov-in .55s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 90ms) both; }
  .ov.is-in .ov-loop { animation: ov-in .55s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 90ms) both, ov-spin-hint 4s ease-in-out 1.5s infinite; }
  .ov.is-in .ov-bnode, .ov.is-in .ov-outcomes, .ov.is-in .ov-anode { animation: ov-in .55s cubic-bezier(.2,.7,.2,1) both; }
  .ov.is-in .ov-branch > :nth-child(3), .ov.is-in .ov-arch > :nth-child(3) { animation-delay: .2s; }
  .ov.is-in .ov-branch > :nth-child(5), .ov.is-in .ov-arch > :nth-child(5) { animation-delay: .4s; }
  .ov.is-in .ov-branch > :nth-child(7), .ov.is-in .ov-arch > :nth-child(7) { animation-delay: .6s; }
  .ov.is-in .ov-branch > :nth-child(9) { animation-delay: .8s; }
  .ov.is-in .ov-specific p { animation: ov-in .55s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 300ms + 900ms) both; }
  .ov.is-in .ov-specific s { animation: ov-strike .6s ease calc(var(--i) * 300ms + 1300ms) both; }
  .ov-chain, .ov-sort, .ov-lanes, .ov-redact, .ov-signature, .ov-folder, .ov-charter, .ov-pairs, .ov-connector, .ov-formats { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
}
@keyframes ov-strike { from { text-decoration-color: transparent; } to { text-decoration-color: #FF8A7A; } }

@media (max-width: 900px) {
  .ov-branch, .ov-arch { grid-template-columns: minmax(0, 1fr); justify-items: stretch; }
  .ov-branch .ov-wire, .ov-arch .ov-wire { justify-self: center; width: 2px; min-width: 0; height: 30px; background: linear-gradient(rgba(140,200,255,.6), rgba(140,200,255,.2)); }
  .ov-branch .ov-wire i, .ov-arch .ov-wire i { left: -3px; top: 0; animation-name: ov-run-y; }
  .ov-arch .ov-wire i:nth-child(2) { animation-name: ov-run-y-back; }
  .ov-wire-down, .ov-anode-phone { grid-column: 1; grid-row: auto; }
  .ov-outcomes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ov-lane { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ov-lane-head { display: none; }
  .ov-lane > span::after { content: none !important; }
  .ov-lane > span:not(:first-child)::before { content: attr(data-label); display: block; margin-bottom: 2px; font: 500 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
  .ov-lane { padding-top: 10px; border-top: 1px solid var(--line); }
}
@media (max-width: 700px) {
  .ov-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-steps button { min-height: 64px; }
  .ov-loop { grid-column: 1 / -1; min-height: 40px; grid-auto-flow: column; justify-content: center; gap: 8px; font-size: 18px; }
  .ov-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-lane { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .ov-doc-row { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ov-specific p { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .ov-dash { grid-template-columns: minmax(0, 1fr); }
  .ov-dcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-split { grid-template-columns: minmax(0, 1fr); }
  .ov-code { font-size: 11.5px; }
  .ov-thumbs > div { gap: 6px; }
  .ov-thumb b { font-size: 11px; }
  .ov-tabs button small { display: none; }
}

/* The paste-the-prompt guide video sits right above the prompt box */
.guide-video { margin: 28px 0 0; }
.guide-video + .prompt-box { margin-top: 16px; }

/* ---- Module 06 · JARVIS ---- */
/* Phone chat demo: a generic messenger (no third-party branding) beside the bridge log on the PC */
.ov-jgrid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.ov-phone { display: flex; flex-direction: column; min-height: 460px; border-radius: 30px; padding: 10px; background: #0B0F17; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), 0 30px 60px -30px rgba(0,0,0,.9); }
.ov-phone-top { display: flex; align-items: center; gap: 10px; padding: 10px 10px 12px; border-bottom: 1px solid var(--line); }
.ov-phone-top b { display: block; font-size: 14px; color: var(--ink); }
.ov-phone-top small { font-size: 12px; color: var(--faint); }
.ov-phone-avatar { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #1FA855, #0E7A3C); color: #fff; font-weight: 700; }
.ov-example { margin-left: auto; padding: 3px 8px; border-radius: var(--pill); font: 500 10px var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(227,179,71,.45); }
.ov-jfeed { flex: 1; display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 12px 6px; list-style: none; overflow-y: auto; max-height: 360px; background: radial-gradient(120% 80% at 50% 0%, rgba(31,168,85,.06), transparent 70%); }
.ov-jmsg { max-width: 84%; padding: 8px 11px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; color: var(--ink); animation: ov-in .35s cubic-bezier(.2,.7,.2,1) both; }
.ov-jmsg b { display: block; margin-bottom: 2px; font-size: 11.5px; font-weight: 700; }
.ov-jmsg-me { align-self: flex-end; background: #155D3A; border-bottom-right-radius: 4px; }
.ov-jmsg-bot { align-self: flex-start; background: #1B2230; border-bottom-left-radius: 4px; box-shadow: inset 0 0 0 1px var(--line); }
.ov-jmsg-bot b { color: #6FE3A0; }
.ov-jmsg-member { align-self: flex-start; background: #1B2230; border-bottom-left-radius: 4px; }
.ov-jmsg-member b { color: var(--cyan); }
.ov-jmsg-note { align-self: center; max-width: 92%; padding: 5px 10px; border-radius: var(--pill); font: 500 11px var(--mono); color: #FFB4AB; background: rgba(255,90,80,.1); box-shadow: inset 0 0 0 1px rgba(255,120,110,.35); }
.ov-jmsg-warn { box-shadow: inset 0 0 0 1px rgba(227,179,71,.6); background: rgba(227,179,71,.12); }
.ov-jmsg-ok { box-shadow: inset 0 0 0 1px rgba(126,224,168,.5); }
.ov-jfeed .ov-typing { align-self: flex-start; }
.ov-phone-input { display: flex; align-items: center; justify-content: space-between; margin: 6px 4px 2px; padding: 10px 14px; border-radius: var(--pill); background: #161C27; font-size: 13px; color: var(--faint); }
.ov-phone-input i { font-style: normal; }
.ov-jlog { padding: 16px; border-radius: 18px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.ov-jlog ol { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; font: 12.5px/1.5 var(--mono); color: #DCE6FF; }
.ov-jlog li { padding: 6px 10px; border-radius: 10px; background: rgba(255,255,255,.03); animation: ov-in .35s cubic-bezier(.2,.7,.2,1) both; }
.ov-jlog li::before { content: "› "; color: var(--cyan); }
.ov-jlog li.ov-jlog-warn { color: #FFD58A; background: rgba(227,179,71,.08); }
.ov-jlog li.ov-jlog-ok { color: #9BEFC0; }
.ov-jlog li.ov-jlog-block { color: #FFB4AB; background: rgba(255,90,80,.08); }
.ov-jlog li.ov-jlog-voice { color: var(--cyan); background: rgba(0,84,255,.12); }

/* The setup infographic */
.ov-jkit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.ov-jkit-item { position: relative; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line); }
.ov-jkit-item b { display: block; margin: 8px 0 4px; font-size: 15px; color: var(--ink); }
.ov-jkit-item p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.ov-jkit-n { font: 400 30px/1 var(--serif); color: var(--cyan); }
.ov-jkit-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; padding: 12px 14px; border-radius: 16px; background: rgba(0,84,255,.1); box-shadow: inset 0 0 0 1px rgba(140,200,255,.3); }
.ov-jkit-flow span { padding: 6px 12px; border-radius: var(--pill); font-size: 13px; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.06); }
.ov-jkit-flow i { font-style: normal; color: var(--cyan); }

/* Connect a personal chat or a team group */
.ov-jpair-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ov-jpair-steps { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ov-jpair-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 12px; border-radius: 14px; font-size: 14px; line-height: 1.5; color: var(--muted); background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); transition: opacity .45s, transform .45s; }
.ov-jpair-steps .ov-num { color: #fff; background: var(--blue); }
.ov-jpair-side { display: grid; gap: 12px; }
.ov-jpair-side .ov-code span { transition: opacity .45s, transform .45s; }
.ov-jfeed-mini { max-height: none; padding: 12px; border-radius: 18px; background: #0B0F17; box-shadow: inset 0 0 0 1px var(--line2); }
.ov-jfeed-mini .ov-jmsg { transition: opacity .45s, transform .45s; animation: none; }

/* What becomes possible */
.ov-jposs-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.ov-jposs { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 18px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .35s, background .35s, transform .35s; }
.ov-jposs.on { background: rgba(0,84,255,.12); box-shadow: inset 0 0 0 1px rgba(140,200,255,.55), 0 20px 40px -24px rgba(0,84,255,.8); transform: translateY(-2px); }
.ov-jposs-kind { align-self: flex-start; padding: 3px 8px; border-radius: var(--pill); font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); background: rgba(0,84,255,.16); }
.ov-jposs-generate { color: #9BEFC0; background: rgba(126,224,168,.12); }
.ov-jposs-speak { color: #FFD58A; background: rgba(227,179,71,.12); }
.ov-jposs-personal, .ov-jposs-group, .ov-jposs-schedule { color: var(--ink); background: rgba(255,255,255,.08); }
.ov-jposs-ask { margin: 2px 0 0; font-size: 14px; font-weight: 600; color: var(--ink); }
.ov-jposs small { font-size: 12px; color: var(--faint); }
.ov-jposs-reply { margin: 6px 0 0; padding: 8px 10px; border-radius: 12px; font-size: 13px; line-height: 1.45; color: var(--muted); background: #1B2230; opacity: .45; transition: opacity .35s; }
.ov-jposs-reply b { display: block; font-size: 11px; color: #6FE3A0; }
.ov-jposs.on .ov-jposs-reply, .ov-jposs-all .ov-jposs-reply { opacity: 1; color: var(--ink); }
.ov-jposs-foot { margin-top: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .ov-jkit-item, .ov-jposs { opacity: 0; }
  .ov.is-in .ov-jkit-item, .ov.is-in .ov-jposs { animation: ov-in .55s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 90ms) both; }
}
@media (max-width: 900px) {
  .ov-jgrid, .ov-jpair-grid { grid-template-columns: minmax(0, 1fr); }
  .ov-phone { min-height: 0; }
  .ov-jkit-grid, .ov-jposs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ov-jkit-grid, .ov-jposs-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Module 07: the eight-department chart, the eight-row role card and decision rights */
.ov-deptgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; }
.ov-dept { display: grid; gap: 2px; justify-items: start; min-height: 96px; padding: 12px 14px; border: 1px solid transparent; border-radius: 16px; text-align: left; color: var(--ink); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line2); transition: background .3s, box-shadow .3s, transform .3s cubic-bezier(.2,.7,.2,1); }
.ov-dept b { font-size: 15px; font-weight: 600; line-height: 1.25; }
.ov-dept small { font-size: 13px; color: var(--cyan); }
.ov-dept em, .ov-dept-n { font: 500 10px/1.4 var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ov-dept-proposed { border: 1px dashed rgba(140,200,255,.55); box-shadow: none; }
.ov-dept:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(140,200,255,.45); }
.ov-dept[aria-pressed="true"] { background: rgba(0,84,255,.28); box-shadow: inset 0 0 0 1px var(--cyan), 0 14px 34px -14px rgba(0,84,255,.95); transform: translateY(-2px); }
.ov-dept-detail { margin-top: 18px; padding: 16px 18px; min-height: 170px; border-radius: 16px; background: radial-gradient(80% 140% at 0% 0%, rgba(0,84,255,.2), transparent 60%), var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.ov-dept-head { display: flex; align-items: center; gap: 10px; }
.ov-dept-head b { font-size: 18px; }
.ov-dept-detail p { margin: 6px 0 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.ov-dept-detail p strong { color: var(--ink); font-weight: 600; }
.ov-execs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ov-execs li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); animation: ov-in .45s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 70ms) both; }
.ov-execs b { font-size: 14px; font-weight: 600; }
.ov-execs span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.ov-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; padding: 0; list-style: none; font: 500 11px var(--mono); color: var(--faint); }
.ov-legend li::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 50%; vertical-align: -1px; }
.ov-legend-live::before { background: var(--ok); }
.ov-legend-proposed::before { border: 1px dashed var(--cyan); }
.ov-legend-retired::before { background: #FF8A7A; }
.ov-card8 { overflow: hidden; border-radius: 16px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.ov-card8-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.ov-card8-bar b { font-size: 17px; }
.ov-card8-bar span { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
.ov-card8-bar em:first-of-type { margin-left: auto; }
.ov-crow { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; width: 100%; padding: 10px 16px; border: 0; border-bottom: 1px solid var(--line); text-align: left; color: var(--muted); background: transparent; font-size: 14px; line-height: 1.5; transition: background .3s, box-shadow .3s, color .3s; animation: ov-row .45s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 60ms) both; }
.ov-crow:last-child { border-bottom: 0; }
.ov-crow span:first-child { padding-top: 2px; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); }
.ov-crow-never span:first-child { color: #FF8A7A; }
.ov-crow-gate span:first-child { color: var(--gold); }
.ov-crow-kpis span:first-child { color: var(--ok); }
.ov-crow.on { color: var(--ink); background: rgba(0,84,255,.16); box-shadow: inset 3px 0 0 var(--cyan); }
.ov-crow:hover { background: rgba(255,255,255,.04); }
.ov-rights .ov-pill { white-space: nowrap; }
@media (prefers-reduced-motion: no-preference) {
  .ov-depts .ov-card, .ov-depts .ov-dept { opacity: 0; }
  .ov-depts .ov-link { transform: scaleY(0); }
  .ov-depts .ov-bus { transform: scaleX(0); }
  .ov.is-in .ov-dept { animation: ov-in .55s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 80ms) both; }
  .ov-depts, .ov-rolecard { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
}
@media (max-width: 700px) {
  .ov-deptgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-execs { grid-template-columns: minmax(0, 1fr); }
  .ov-crow { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ov-rights .ov-pill { white-space: normal; }
}
/* AI Self Mastery: phone against desktop, cleaning a table, a ten-case evaluation */
.ov-vp-stage { display: grid; place-items: center; padding: 18px; border-radius: 18px; background: repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 10px, transparent 10px 20px), var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.ov-vp-frame { width: 200px; max-width: 100%; display: grid; gap: 10px; padding: 12px; border-radius: 22px; background: #0e1626; box-shadow: inset 0 0 0 2px var(--cyan), 0 20px 40px -20px rgba(0,84,255,.9); transition: width .8s cubic-bezier(.2,.7,.2,1), border-radius .8s; }
.ov-vp-frame.is-wide { width: 640px; border-radius: 12px; }
.ov-vp-nav { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.ov-vp-nav b { color: var(--ink); font-size: 13px; }
.ov-vp-nav span { padding: 2px 8px; border-radius: var(--pill); background: rgba(255,255,255,.08); }
.ov-vp-hero { display: grid; gap: 4px; padding: 14px 12px; border-radius: 12px; background: linear-gradient(160deg, rgba(0,84,255,.4), rgba(26,58,158,.3)); }
.ov-vp-hero b { font-size: 16px; line-height: 1.2; }
.ov-vp-hero small { font-size: 12px; color: rgba(242,244,248,.8); }
.ov-vp-products { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; transition: gap .4s; }
.is-wide .ov-vp-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ov-vp-products div { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 10px; background: rgba(255,255,255,.05); font-size: 12px; }
.is-wide .ov-vp-products div { flex-direction: column; align-items: flex-start; }
.ov-vp-products i { flex: none; width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg, #E3B347, #c97a16); }
.is-wide .ov-vp-products i { width: 100%; height: 54px; }
.ov-vp-cta { justify-self: start; padding: 8px 14px; border-radius: var(--pill); font-size: 12px; font-weight: 600; color: #fff; background: var(--blue); }
.ov-clean-table td, .ov-clean-table th { white-space: nowrap; }
.ov-clean-table tr, .ov-clean-table thead { transition: background .35s, box-shadow .35s; }
.ov-clean-table [data-part].on { background: rgba(0,84,255,.18); box-shadow: inset 3px 0 0 var(--cyan); }
.ov-fix { font: 500 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: #FFB86B; }
.ov-clean-table tr[data-part="dup"] > * { text-decoration: line-through; text-decoration-color: rgba(255,138,122,.8); }
.ov-recon { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; color: var(--muted); transition: background .35s, box-shadow .35s; }
.ov-recon b { color: var(--cyan); }
.ov-recon span:nth-of-type(2) { color: var(--ink); font-weight: 600; }
.ov-recon em { margin-left: auto; }
.ov-run + .ov-run { margin-top: 14px; }
.ov-run-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.ov-run-head b { font-size: 15px; }
.ov-run-head span { font: 500 12px var(--mono); color: var(--cyan); }
.ov-cases { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.ov-case { display: grid; gap: 2px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; color: var(--muted); }
.ov-case b { font: 600 11px var(--mono); color: var(--faint); }
.ov-case em { justify-self: start; margin-top: 4px; padding: 1px 8px; border-radius: var(--pill); font: 600 10px/1.6 var(--mono); font-style: normal; text-transform: uppercase; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .35s cubic-bezier(.2,1.4,.4,1); }
.ov-case em.pass { color: var(--ok); background: rgba(126,224,168,.12); }
.ov-case em.fail { color: #FF8A7A; background: rgba(255,120,100,.14); }
.ov-case.shown em { opacity: 1; transform: none; }
.ov-case.shown:has(em.fail) { box-shadow: inset 0 0 0 1px rgba(255,120,100,.45); }
@media (prefers-reduced-motion: no-preference) {
  .ov-viewports, .ov-evals { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
}
@media (max-width: 700px) {
  .ov-vp-frame.is-wide { width: 100%; }
  .ov-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ov-clean-table td, .ov-clean-table th { white-space: normal; }
  .ov-recon em { margin-left: 0; }
}@media (max-width: 700px) {
  .ov-clean-table { display: table; }
  .ov-clean-table thead { display: table-header-group; }
  .ov-clean-table tbody { display: table-row-group; }
  .ov-clean-table tr { display: table-row; padding: 0; }
  .ov-clean-table th, .ov-clean-table td { display: table-cell; padding: 8px; font-size: 12px; border-bottom: 1px solid var(--line); }
  .ov-clean-table td::before { content: none; }
}

/* One page, one afternoon (smSiteAfternoon in office-visuals.js). Shares the .ag card and step list; everything runs on
   one 12-second timeline: brief 20-40%, build 40-58%, phone check 60-80%, live link from 82%. The resting state is the
   finished, live page, which is what reduced motion shows. */
.ag.wb { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
.wb-stage { position: relative; width: 100%; aspect-ratio: 5 / 4; }
.wb-browser { position: absolute; left: 0; top: 4%; width: 86%; height: 80%; overflow: hidden; border-radius: 14px; background: #0b1430; box-shadow: inset 0 0 0 1px rgba(140,200,255,.3), 0 24px 50px -24px rgba(0,0,0,.9); }
.wb-bar { position: absolute; inset: 0 0 auto; display: flex; align-items: center; gap: 5px; height: 28px; padding: 0 10px; background: rgba(255,255,255,.05); box-shadow: inset 0 -1px 0 var(--line); }
.wb-bar > i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.22); }
.wb-url { display: grid; flex: 1; min-width: 0; margin-left: 6px; padding: 3px 9px; border-radius: var(--pill); background: rgba(0,0,0,.3); font: 500 10px/1.3 var(--mono); color: var(--muted); }
.wb-url > span { grid-area: 1 / 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.wb-local { opacity: 0; }
.wb-live { color: var(--ink); }
.wb-tag { padding: 3px 7px; border-radius: var(--pill); font: 600 9px/1 var(--mono); letter-spacing: .08em; color: #06210f; background: var(--ok); box-shadow: 0 0 14px -2px rgba(126,224,168,.8); }
.wb-page { position: absolute; inset: 28px 0 0; display: grid; grid-template-rows: 7% 9% 9% 5% 11% 1fr; row-gap: 4%; padding: 7% 8%; }
.wb-page > span, .wb-phone > span { display: block; border-radius: 6px; }
.wb-solid { background: #0b1430; }
.wb-short { width: 62%; }
.wb-p { width: 80%; }
.wb-btn { width: 34%; border-radius: var(--pill) !important; }
.wb-cards { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 6%; }
.wb-cards i { display: block; border-radius: 8px; }
.wb-wire > span, .wb-wire .wb-cards i { box-shadow: inset 0 0 0 1px rgba(140,200,255,.32); background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(140,200,255,.05) 6px 7px); }
.wb-wire .wb-cards { box-shadow: none; background: none; }
.wb-solid .wb-nav { background: rgba(255,255,255,.1); }
.wb-solid .wb-h1, .wb-phone .wb-h1 { background: rgba(242,244,248,.88); }
.wb-solid .wb-p { background: rgba(242,244,248,.3); }
.wb-solid .wb-btn, .wb-phone .wb-btn { background: linear-gradient(135deg, var(--blue-hi), var(--blue)); box-shadow: 0 6px 16px -6px rgba(0,84,255,.9); }
.wb-solid .wb-cards i, .wb-phone .wb-card { background: rgba(140,200,255,.16); box-shadow: inset 0 0 0 1px rgba(140,200,255,.25); }
.wb-scan { position: absolute; left: 0; right: 0; top: 100%; height: 2px; background: var(--cyan); box-shadow: 0 0 16px 3px rgba(140,200,255,.7); opacity: 0; }
.wb-brief { position: absolute; right: 6%; top: 34%; display: grid; gap: 5px; max-width: 72%; padding: 10px 12px; border-radius: 12px; background: #0e1a3d; box-shadow: inset 0 0 0 1px rgba(227,179,71,.5), 0 18px 40px -16px rgba(0,0,0,.9); font-size: 12px; line-height: 1.35; color: var(--ink); opacity: 0; }
.wb-brief small { font: 600 10px/1 var(--mono); letter-spacing: .06em; color: var(--gold); }
.wb-phone { position: absolute; right: 0; bottom: 0; display: grid; grid-template-rows: 5% 7% 7% 8% 1fr 1fr; row-gap: 4%; width: 30%; aspect-ratio: 9 / 17; padding: 28px 12px 22px; border-radius: 18px; background: #0b1430; box-shadow: inset 0 0 0 1.5px rgba(242,244,248,.3), 0 24px 50px -20px rgba(0,0,0,.95); }
.wb-phone .wb-nav { background: rgba(255,255,255,.1); }
.wb-phone .wb-btn { width: 60%; }
.wb-tick { position: absolute; right: -9px; bottom: 22%; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 13px; color: #06210f; background: var(--ok); box-shadow: 0 0 16px rgba(126,224,168,.7); }
@media (prefers-reduced-motion: no-preference) {
  .ag.wb.is-in .ag-steps li { animation-name: wb-lit; }
  .wb.is-in .wb-solid { animation: wb-solid 12s linear infinite; }
  .wb.is-in .wb-scan { animation: wb-scan 12s linear infinite; }
  .wb.is-in .wb-brief { animation: wb-brief 12s ease infinite; }
  .wb.is-in .wb-phone { animation: wb-phone 12s cubic-bezier(.2, .7, .2, 1) infinite; }
  .wb.is-in .wb-tick { animation: wb-tick 12s cubic-bezier(.2, 1.4, .4, 1) infinite; }
  .wb.is-in .wb-local { animation: wb-local 12s steps(1) infinite; }
  .wb.is-in .wb-live { animation: wb-live 12s steps(1) infinite; }
  .wb.is-in .wb-tag { animation: wb-tag 12s cubic-bezier(.2, 1.4, .4, 1) infinite; }
}
@keyframes wb-lit {
  0%, 22%, 100% { background-color: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(140,200,255,.25); }
  3%, 18% { background-color: rgba(0,84,255,.42); box-shadow: inset 0 0 0 1px var(--cyan), 0 0 26px -4px rgba(0,84,255,.95); }
}
@keyframes wb-solid { 0%, 40% { clip-path: inset(0 0 100% 0); } 58%, 97% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 100% 0); } }
@keyframes wb-scan { 0%, 39% { top: 28px; opacity: 0; } 41% { opacity: 1; } 57% { top: 100%; opacity: 1; } 59%, 100% { top: 100%; opacity: 0; } }
@keyframes wb-brief { 0%, 20% { opacity: 0; transform: translateY(12px); } 24%, 38% { opacity: 1; transform: none; } 42%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes wb-phone { 0%, 60% { opacity: 0; transform: translateX(28px); } 65%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateX(28px); } }
@keyframes wb-tick { 0%, 68% { opacity: 0; transform: scale(.4); } 72%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.4); } }
@keyframes wb-local { 0% { opacity: 1; } 82% { opacity: 0; } 99% { opacity: 1; } }
@keyframes wb-live { 0% { opacity: 0; } 82% { opacity: 1; } 99% { opacity: 0; } }
@keyframes wb-tag { 0%, 83% { opacity: 0; transform: scale(.5); } 86%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.5); } }
@media (max-width: 700px) {
  .ag.wb { grid-template-columns: minmax(0, 1fr); }
  .wb-stage { max-width: 360px; margin: 0 auto; }
  .wb-brief { font-size: 11px; }
}

/* One folder, one link (smNetlifyDrop, AI Self Mastery module 09). Same card, step list and 12-second timeline as the
   afternoon above: files arrive 0-20%, the check 24%, the folder drops 38-54% while the bar fills, the live link from 60%,
   the share from 80%. The resting state, which reduced motion shows, is the folder checked, uploaded, live and shared. */
.ag.nd { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); }
.nd-folder { position: absolute; left: 0; top: 2%; z-index: 2; display: grid; gap: 5px; width: 44%; padding: 12px 14px; border-radius: 12px; background: #0e1a3d; box-shadow: inset 0 0 0 1px rgba(140,200,255,.35), 0 18px 40px -16px rgba(0,0,0,.9); }
.nd-folder small { font: 600 11px/1.2 var(--mono); color: var(--gold); }
.nd-folder code { font: 500 11px/1.3 var(--mono); color: var(--ink); }
.nd-folder code::before { content: '· '; color: var(--muted); }
.nd-tick { bottom: auto; top: -9px; }
.nd-zone { position: absolute; left: 0; bottom: 0; display: grid; place-content: center; gap: 6px; width: 44%; height: 46%; padding: 12px; border-radius: 14px; text-align: center; font-size: 12px; line-height: 1.35; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(140,200,255,.45); background: repeating-linear-gradient(135deg, transparent 0 8px, rgba(140,200,255,.04) 8px 9px); }
.nd-zone small { font: 500 10px/1 var(--mono); color: var(--cyan); }
.nd-zone .ov-pill { position: absolute; top: 8px; right: 8px; }
.nd-bar { position: absolute; left: 12%; right: 12%; bottom: 12%; height: 6px; border-radius: var(--pill); background: rgba(255,255,255,.08); overflow: hidden; }
.nd-bar i { display: block; width: 100%; height: 100%; border-radius: inherit; background: var(--ok); }
.nd-browser { left: auto; right: 0; top: 2%; width: 52%; height: 62%; }
.nd-share { position: absolute; right: 0; bottom: 0; width: 52%; padding: 10px 12px; border-radius: 14px 14px 4px 14px; font-size: 12px; line-height: 1.4; color: var(--ink); background: rgba(126,224,168,.1); box-shadow: inset 0 0 0 1px rgba(126,224,168,.4); }
.nd-share code { font: 500 10.5px/1.4 var(--mono); color: var(--cyan); overflow-wrap: anywhere; }
@media (prefers-reduced-motion: no-preference) {
  .ag.nd.is-in .ag-steps li { animation-name: wb-lit; }
  .nd.is-in .nd-folder code { animation: nd-file 12s calc(var(--i) * .6s) infinite; }
  .nd.is-in .nd-tick { animation: nd-tick 12s cubic-bezier(.2, 1.4, .4, 1) infinite; }
  .nd.is-in .nd-folder { animation: nd-folder 12s cubic-bezier(.5, 0, .3, 1) infinite; }
  .nd.is-in .nd-zone { animation: nd-zone 12s ease infinite; }
  .nd.is-in .nd-bar i { animation: nd-fill 12s linear infinite; }
  .nd.is-in .nd-browser { animation: nd-browser 12s cubic-bezier(.2, .7, .2, 1) infinite; }
  .nd.is-in .wb-tag { animation: nd-tag 12s cubic-bezier(.2, 1.4, .4, 1) infinite; }
  .nd.is-in .nd-share { animation: nd-share 12s cubic-bezier(.2, .7, .2, 1) infinite; }
}
@keyframes nd-file { 0%, 2% { opacity: 0; transform: translateX(-6px); } 6%, 92% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes nd-tick { 0%, 24% { opacity: 0; transform: scale(.4); } 28%, 52% { opacity: 1; transform: none; } 54%, 100% { opacity: 0; transform: scale(.4); } }
@keyframes nd-folder { 0%, 38% { opacity: 1; transform: none; } 50% { opacity: 1; transform: translateY(125%) scale(.7); } 55%, 96% { opacity: 0; transform: translateY(125%) scale(.6); } 97% { opacity: 0; transform: none; } 100% { opacity: 1; transform: none; } }
@keyframes nd-zone { 0%, 38%, 62%, 100% { background-color: transparent; box-shadow: inset 0 0 0 1.5px rgba(140,200,255,.45); } 44%, 56% { background-color: rgba(0,84,255,.28); box-shadow: inset 0 0 0 1.5px var(--cyan), 0 0 26px -4px rgba(0,84,255,.95); } }
@keyframes nd-fill { 0%, 50% { width: 0; } 60%, 97% { width: 100%; } 100% { width: 0; } }
@keyframes nd-browser { 0%, 58% { opacity: 0; transform: translateY(12px); } 63%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(12px); } }
@keyframes nd-tag { 0%, 64% { opacity: 0; transform: scale(.5); } 68%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; transform: scale(.5); } }
@keyframes nd-share { 0%, 79% { opacity: 0; transform: translateY(10px); } 84%, 97% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(10px); } }
@media (max-width: 700px) {
  .ag.nd { grid-template-columns: minmax(0, 1fr); }
}

/* The agentic automation loop on the AI updates blog post (agenticLoop in office-visuals.js). Every step lights for
   2 of the 12 seconds, offset by its --d; the packet's orbit holds on each node, and on the gate between Plan and Act */
.ag { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: center; margin: 0 0 26px; background: var(--navy); box-shadow: inset 0 0 0 1px rgba(59,123,255,.35), 0 40px 80px -40px rgba(0,0,0,.85); overflow: hidden; }
.ag-stage { position: relative; width: 100%; aspect-ratio: 1; }
.ag-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ag-ring { fill: none; stroke: rgba(140,200,255,.18); stroke-width: .6; }
.ag-ring-dash { fill: none; stroke: rgba(140,200,255,.5); stroke-width: .5; stroke-dasharray: 1.2 3.2; }
.ag-spoke { stroke: rgba(227,179,71,.5); stroke-width: .5; stroke-dasharray: 1.4 1.4; }
.ag-node, .ag-gate, .ag-owner { position: absolute; transform: translate(-50%, -50%); }
.ag-node { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--pill); white-space: nowrap; font: 600 14px/1.1 var(--sans); color: var(--ink); background: #0b1430; box-shadow: inset 0 0 0 1px rgba(140,200,255,.35); }
.ag-node small, .ag-owner small, .ag-steps small { font: 500 10px/1 var(--mono); letter-spacing: .06em; color: var(--cyan); }
.ag-gate { width: 11px; height: 11px; border-radius: 2px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); box-shadow: 0 0 12px rgba(227,179,71,.8); }
.ag-owner { left: 50%; top: 50%; display: grid; grid-template-areas: "n" "o" "y"; place-items: center; align-content: center; gap: 4px; width: 31%; aspect-ratio: 1; border-radius: 50%; text-align: center; background: radial-gradient(circle at 50% 35%, rgba(227,179,71,.22), transparent 70%), #0a122e; box-shadow: inset 0 0 0 1px rgba(227,179,71,.5); }
.ag-owner small { color: var(--gold); }
.ag-owner b { font: 600 15px/1 var(--sans); color: var(--ink); }
.ag-ask, .ag-yes { font: 600 11px/1 var(--mono); letter-spacing: .08em; color: var(--gold); }
.ag-ask, .ag-yes { grid-area: y; }
.ag-yes { opacity: 0; }
.ag-arm { position: absolute; inset: 0; pointer-events: none; }
.ag-arm i { position: absolute; left: 50%; top: 14%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(140,200,255,.35), 0 0 18px 4px rgba(140,200,255,.85); opacity: 0; }
.ag-copy .eyebrow { display: flex; align-items: center; gap: 8px; color: var(--cyan); }
.ag-live { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.ag-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.ag-steps li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 9px 12px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); }
.ag-steps b { display: flex; align-items: baseline; gap: 7px; font-size: 15px; font-weight: 600; color: var(--ink); }
.ag-steps span { font-size: 14px; line-height: 1.45; color: var(--muted); }
.ag-steps .ag-step-gate small, .ag-steps .ag-step-gate b { color: var(--gold); }
@media (prefers-reduced-motion: no-preference) {
  .ag.is-in .ag-ring-dash { animation: ag-drift 30s linear infinite; }
  .ag.is-in .ag-arm { animation: ag-orbit 12s cubic-bezier(.6, 0, .3, 1) infinite; }
  .ag.is-in .ag-arm i { opacity: 1; transition: opacity .6s; }
  .ag.is-in .ag-node { animation: ag-node 12s var(--d) infinite; }
  .ag.is-in .ag-steps li { animation: ag-lit 12s var(--d) infinite; }
  .ag.is-in .ag-steps li.ag-step-gate { animation: ag-gold 12s var(--d) infinite; }
  .ag.is-in .ag-owner { animation: ag-owner 12s var(--d) infinite; }
  .ag.is-in .ag-ask { animation: ag-ask 12s 4s infinite; }
  .ag.is-in .ag-yes { animation: ag-yes 12s 4s infinite; }
  .ag.is-in .ag-live { animation: ag-blink 1.6s ease-in-out infinite; }
}
@keyframes ag-orbit {
  0%, 12% { transform: rotate(0deg); }
  17%, 29% { transform: rotate(72deg); }
  34%, 45% { transform: rotate(108deg); }
  50%, 62% { transform: rotate(144deg); }
  67%, 79% { transform: rotate(216deg); }
  84%, 95% { transform: rotate(288deg); }
  100% { transform: rotate(360deg); }
}
@keyframes ag-lit {
  0%, 19%, 100% { background-color: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(140,200,255,.25); }
  3%, 15% { background-color: rgba(0,84,255,.42); box-shadow: inset 0 0 0 1px var(--cyan), 0 0 26px -4px rgba(0,84,255,.95); }
}
@keyframes ag-node {
  0%, 19%, 100% { background-color: #0b1430; box-shadow: inset 0 0 0 1px rgba(140,200,255,.35); }
  3%, 15% { background-color: #1347c8; box-shadow: inset 0 0 0 1px var(--cyan), 0 0 26px -4px rgba(0,84,255,.95); }
}
@keyframes ag-owner {
  0%, 19%, 100% { box-shadow: inset 0 0 0 1px rgba(227,179,71,.5); }
  3%, 15% { box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 40px -2px rgba(227,179,71,.75); }
}
@keyframes ag-gold {
  0%, 19%, 100% { background-color: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(227,179,71,.45); }
  3%, 15% { background-color: rgba(227,179,71,.16); box-shadow: inset 0 0 0 1.5px var(--gold), 0 0 34px -2px rgba(227,179,71,.75); }
}
@keyframes ag-ask { 0%, 9%, 19%, 100% { opacity: 1; } 10%, 18% { opacity: 0; } }
@keyframes ag-yes { 0%, 9%, 19%, 100% { opacity: 0; transform: scale(.7); } 11%, 17% { opacity: 1; transform: none; } }
@keyframes ag-drift { to { stroke-dashoffset: -44; } }
@keyframes ag-blink { 50% { opacity: .35; } }
@media (max-width: 700px) {
  .ag { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .ag-stage { max-width: 340px; margin: -2% auto -7%; }
  .ag-node { padding: 6px 10px; font-size: 13px; }
  .ag-owner b { font-size: 14px; }
  .ag-steps li { grid-template-columns: 96px minmax(0, 1fr); padding: 8px 10px; }
  .ag-steps b { font-size: 14px; }
  .ag-steps span { font-size: 13px; }
}

/* Module 08, the 3D AI Office: an isometric floor drawn in SVG, with HTML name plates, rings and a packet on top.
   The iso-map steps fade parts in (iso-off); with reduced motion it opens on the last step, the office shows every
   route still and the workflows list every step. */
.iso-stage { container-type: inline-size; position: relative; aspect-ratio: 760 / 440; border-radius: 18px; overflow: hidden; background: radial-gradient(70% 90% at 50% 0%, rgba(59,123,255,.22), transparent 70%), var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.iso-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.iso-slab .t { fill: #15214a; } .iso-slab .l { fill: #0e1838; } .iso-slab .r { fill: #0b132e; }
.iso-grid line { stroke: rgba(140,200,255,.08); stroke-width: 1; }
.iso-rug { fill: rgba(140,200,255,.06); stroke: rgba(140,200,255,.22); stroke-width: 1; }
.iso-gold-rug { fill: rgba(227,179,71,.1); stroke: rgba(227,179,71,.6); stroke-width: 1.2; stroke-dasharray: 5 4; }
.iso-wall .t { fill: #3a4f8c; } .iso-wall .l { fill: #2a3c72; } .iso-wall .r { fill: #22305c; }
.iso-top .t { fill: #3a4c86; } .iso-top .l { fill: #2a3a6c; } .iso-top .r { fill: #22305c; }
.iso-chair .t, .iso-chair .l, .iso-chair .r { fill: #1d2950; }
.iso-screen .t, .iso-screen .r { fill: #182244; } .iso-screen .l { fill: var(--cyan); }
.iso-paper .t { fill: #e9eef9; } .iso-paper .l, .iso-paper .r { fill: #b9c4dd; }
.iso-tray .t { fill: #f4d27a; } .iso-tray .l { fill: #d9a520; } .iso-tray .r { fill: #c59213; }
.iso-route { fill: none; stroke: var(--cyan); stroke-width: 1.6; stroke-dasharray: 2 6; stroke-linecap: round; opacity: .2; transition: opacity .4s; }
.iso-route.iso-gold { stroke: var(--gold); }
.iso-route.iso-shown { opacity: .6; }
.iso-route.iso-on { opacity: 1; stroke-width: 2.4; }
.iso-roomname { position: absolute; transform: translate(-50%, -50%) rotate(-26.6deg); font: 600 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(140,200,255,.6); white-space: nowrap; pointer-events: none; }
.iso-name { position: absolute; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 7px; border: 0; border-radius: var(--pill); background: rgba(10,14,23,.86); box-shadow: inset 0 0 0 1px var(--line2); font-size: 11.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; cursor: pointer; transition: box-shadow .25s, background .25s, opacity .5s; }
.iso-name i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.iso-name-you { box-shadow: inset 0 0 0 1px var(--gold); color: var(--gold); }
.iso-name-you i { background: var(--gold); }
.iso-name:hover, .iso-name[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--cyan), 0 8px 20px -8px rgba(0,84,255,.9); background: rgba(0,84,255,.4); }
.iso-name.iso-st-working i { background: var(--ok); } .iso-name.iso-st-blocked i { background: #FF8A7A; } .iso-name.iso-st-idle i { background: rgba(242,244,248,.35); }
.iso-name.iso-st-blocked { box-shadow: inset 0 0 0 1px rgba(255,138,122,.7); }
.iso-short { display: none; }
.iso-ring { position: absolute; width: 46px; height: 23px; border-radius: 50%; border: 2px solid var(--cyan); transform: translate(-50%, -50%); opacity: 0; pointer-events: none; }
.iso-packet { position: absolute; transform: translate(-50%, -50%); pointer-events: none; }
.iso-packet i { display: block; width: 14px; height: 14px; border-radius: 3px; background: var(--blue-hi); transform: rotate(45deg) scaleY(.8); box-shadow: 0 0 16px 4px rgba(59,123,255,.8); }
.iso-packet span { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); padding: 2px 9px; border-radius: var(--pill); background: var(--blue); color: #fff; font-size: 11px; font-weight: 600; white-space: nowrap; }
.iso-packet-gold i { background: var(--gold); box-shadow: 0 0 16px 4px rgba(227,179,71,.7); }
.iso-packet-gold span { background: #8a6a1c; }
.iso-stage .iso-room, .iso-stage .iso-desk, .iso-stage .iso-route, .iso-stage .iso-gold-rug, .iso-roomname, .iso-json span { transition: opacity .5s ease; }
.iso-stage .iso-off, .iso-json .iso-off { opacity: 0; }
.iso-json .iso-off { opacity: .12; }
.iso-two { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.iso-two-flip { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.iso-json { margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); font: 11px/1.55 var(--mono); color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.iso-json b { display: block; margin-bottom: 6px; color: var(--cyan); font-weight: 500; }
.iso-caption b { color: var(--cyan); font-weight: 600; }
.iso-detail { margin-top: 12px; padding: 14px 16px; border-radius: 16px; background: radial-gradient(80% 140% at 0% 0%, rgba(0,84,255,.2), transparent 60%), var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.iso-detail > b { font-size: 16px; }
.iso-detail p { margin: 4px 0 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.iso-detail dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; }
.iso-detail dt { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.iso-detail dd { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.iso-detail ul { margin: 0; padding-left: 16px; }
.iso-steps { margin: 0; padding: 0; list-style: none; counter-reset: iso; display: grid; gap: 8px; }
.iso-steps li { counter-increment: iso; position: relative; padding: 10px 12px 10px 40px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; line-height: 1.45; color: var(--muted); transition: background .3s, box-shadow .3s, color .3s; }
.iso-steps li::before { content: counter(iso); position: absolute; left: 12px; top: 10px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.08); font: 600 11px var(--mono); color: var(--ink); }
.iso-steps li b { color: var(--ink); font-weight: 600; }
.iso-steps li small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--faint); }
.iso-steps li.now { background: rgba(0,84,255,.24); box-shadow: inset 0 0 0 1px var(--cyan); color: var(--ink); }
.iso-steps li.now::before { background: var(--blue); }
.iso-steps li.done::before { content: "\2713"; background: rgba(126,224,168,.2); color: var(--ok); }
.iso-legend { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.iso-legend li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; vertical-align: 1px; background: var(--ok); }
.iso-legend .iso-st-blocked::before { background: #FF8A7A; } .iso-legend .iso-st-idle::before { background: rgba(242,244,248,.35); } .iso-legend .iso-st-owner::before { background: var(--gold); border-radius: 2px; }
.iso-tray-n { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 4px; border-radius: var(--pill); background: var(--gold); color: #1a1205; font: 700 12px var(--mono); }
.iso-shot { margin: 0; }
.iso-frame { position: relative; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line2), 0 30px 60px -30px rgba(0,0,0,.9); }
.iso-frame img { display: block; width: 100%; height: auto; }
.iso-frame .ov-pill { position: absolute; right: 12px; bottom: 12px; background: rgba(10,14,23,.85); }
.iso-shot figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.iso-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.iso-thumbs button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: none; box-shadow: inset 0 0 0 1px var(--line2); opacity: .6; cursor: pointer; transition: opacity .25s, box-shadow .25s; }
.iso-thumbs button img { display: block; width: 100%; height: auto; }
.iso-thumbs button:hover, .iso-thumbs button[aria-pressed="true"] { opacity: 1; box-shadow: inset 0 0 0 2px var(--cyan); }
.iso-demo { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 14px; padding: 8px 18px; border-radius: var(--pill); background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; box-shadow: 0 10px 26px -12px rgba(0,84,255,.9); }
.iso-demo:hover { background: var(--blue-hi); }
@media (prefers-reduced-motion: no-preference) {
  .iso-name.iso-hit { animation: iso-hit .9s ease; }
  .iso-route.iso-on { animation: ov-flow 1s linear infinite; }
  .ov-iso { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .ov-iso.is-in { opacity: 1; transform: none; }
  .ov-iso.is-in .iso-frame img { animation: iso-drift 9s ease-in-out infinite alternate; }
}
@keyframes iso-hit { 30% { background: rgba(0,84,255,.75); box-shadow: inset 0 0 0 1px var(--cyan), 0 0 24px rgba(59,123,255,.9); transform: translate(-50%, -50%) scale(1.12); } }
@keyframes iso-drift { from { transform: scale(1); } to { transform: scale(1.045) translate(-1%, -1%); } }
/* A narrow stage (a side column, or a phone) shows short names so neighbouring plates do not overlap */
@container (max-width: 620px) {
  .iso-full { display: none; }
  .iso-short { display: inline; }
  .iso-name { padding: 2px 7px 2px 5px; font-size: 10.5px; gap: 4px; }
}
@container (max-width: 420px) {
  .iso-name { padding: 1px 5px 1px 4px; font-size: 9.5px; }
  .iso-name i { width: 5px; height: 5px; }
  .iso-roomname { font-size: 7.5px; }
  .iso-packet span { font-size: 9px; padding: 1px 6px; bottom: 13px; }
  .iso-packet i { width: 9px; height: 9px; }
}
@media (max-width: 760px) {
  .iso-two, .iso-two-flip { grid-template-columns: 1fr; }
  .iso-json { font-size: 10.5px; }
}
@media (max-width: 560px) {
  .iso-detail dl { grid-template-columns: 1fr; }
}

/* Module 09, Automation Video Affiliate: the pipeline (product chips travel station to station), the example clip's four
   beats on a 10-second ruler, the clip itself, and one product assembled layer by layer (av-off fades a layer not yet
   added). With reduced motion the chips sit still, every beat and layer is shown and nothing sweeps. */
.av-stations { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.av-stations li { display: grid; grid-template-rows: auto 1fr; gap: 8px; min-width: 0; }
.av-stations button { position: relative; display: grid; gap: 3px; align-content: start; min-height: 132px; padding: 12px 10px 10px; border: 0; border-radius: 16px; text-align: left; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line2); cursor: pointer; transition: background .3s, box-shadow .3s; }
.av-stations button b { font-size: 13.5px; font-weight: 600; line-height: 1.25; }
.av-stations button small { font-size: 12px; line-height: 1.35; color: var(--cyan); }
.av-stations button code { margin-top: 4px; font: 500 10.5px/1.4 var(--mono); color: var(--faint); overflow-wrap: anywhere; }
.av-n { display: grid; place-items: center; width: 22px; height: 22px; margin-bottom: 4px; border-radius: 50%; background: rgba(255,255,255,.08); font: 600 11px var(--mono); }
.av-stations button:hover, .av-stations button[aria-pressed="true"] { background: rgba(0,84,255,.24); box-shadow: inset 0 0 0 1px var(--cyan), 0 12px 28px -14px rgba(0,84,255,.95); }
.av-stations button[aria-pressed="true"] .av-n { background: var(--blue); color: #fff; }
.av-stations li.av-busy button { box-shadow: inset 0 0 0 1px rgba(140,200,255,.55); }
.av-slot { display: grid; align-content: start; gap: 6px; min-height: 40px; }
.av-slot .ov-token { padding: 6px 9px; font-size: 12px; text-align: center; }
.av-done { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; padding: 10px 12px; border-radius: 14px; background: rgba(126,224,168,.06); box-shadow: inset 0 0 0 1px rgba(126,224,168,.3); }
.av-done > span { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ok); }
.av-done .av-slot { display: flex; flex-wrap: wrap; min-height: 30px; }
.av-done .ov-token { box-shadow: inset 0 0 0 1px rgba(126,224,168,.5); }
.av-all { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.av-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 14px; align-items: start; margin-top: 16px; }
.av-row { margin: 0; padding: 12px 14px; border-radius: 16px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.av-row-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.av-row-head code { font: 500 12px var(--mono); color: var(--cyan); }
.av-row > div:not(.av-row-head) { padding: 6px 0; border-top: 1px solid var(--line); }
.av-row dt { font: 500 10.5px var(--mono); color: var(--faint); }
.av-row dd { margin: 2px 0 0; font-size: 13.5px; line-height: 1.45; }
.av-time { position: relative; height: 34px; border-radius: 10px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.av-time span { position: absolute; top: 4px; bottom: 4px; left: calc(var(--s) * 10% + 2px); width: calc((var(--e) - var(--s)) * 10% - 4px); display: grid; place-items: center; border-radius: 7px; background: rgba(59,123,255,.18); font: 600 10.5px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--cyan); transition: background .3s, color .3s; }
.av-time span.now { background: var(--blue); color: #fff; }
.av-head { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--gold); box-shadow: 0 0 10px rgba(227,179,71,.8); }
.av-beats { display: grid; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.av-beats button { display: grid; gap: 3px; width: 100%; padding: 10px 12px; border: 0; border-radius: 14px; text-align: left; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background .3s, box-shadow .3s; }
.av-beats b { font-size: 13px; font-weight: 600; color: var(--cyan); }
.av-beats b small { margin-left: 6px; font: 500 10.5px var(--mono); color: var(--faint); }
.av-beats q { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.av-beats span { font-size: 13px; line-height: 1.45; color: var(--muted); }
.av-beats li.now button, .av-beats button:hover { background: rgba(0,84,255,.22); box-shadow: inset 0 0 0 1px var(--cyan); }
.av-prompt { margin: 14px 0 0; }
.av-prompt figcaption { margin-bottom: 6px; font: 500 11px var(--mono); letter-spacing: .04em; color: var(--faint); }
.av-prompt pre { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); font: 12px/1.6 var(--mono); color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; }
.av-two-video { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.av-video { position: relative; margin: 0; border-radius: 16px; overflow: hidden; background: #000; box-shadow: inset 0 0 0 1px var(--line2), 0 30px 60px -30px rgba(0,0,0,.9); }
.av-video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.av-video .ov-pill { position: absolute; left: 12px; top: 12px; background: rgba(10,14,23,.85); pointer-events: none; }
.av-lines { margin-top: 0; }
.av-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.av-two-build { grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr); align-items: center; }
.av-tracks { position: relative; display: grid; gap: 10px; padding: 14px; border-radius: 16px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); }
.av-track { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 10px; }
.av-track b { font: 500 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.av-track > div { position: relative; height: 30px; border-radius: 8px; background: rgba(255,255,255,.03); }
.av-track span { position: absolute; top: 0; bottom: 0; left: calc(var(--s) * 1%); width: calc((var(--e) - var(--s)) * 1% - 3px); display: flex; align-items: center; padding-left: 7px; overflow: hidden; border-radius: 7px; font: 600 10.5px var(--mono); white-space: nowrap; color: #fff; background: var(--blue); }
.av-track:nth-child(2) span { background: #7a5cff; } .av-track:nth-child(3) span { background: #2f9e6a; } .av-track:nth-child(4) span { background: #b8892a; }
.av-ruler { position: absolute; top: 8px; bottom: 8px; left: 108px; right: 14px; pointer-events: none; }
.av-play { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--gold); box-shadow: 0 0 10px rgba(227,179,71,.8); }
.av-phone { position: relative; justify-self: center; width: 100%; max-width: 200px; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 0 0 5px #111a33, 0 0 0 6px var(--line2), 0 30px 60px -30px rgba(0,0,0,.9); }
.av-phone img { display: block; width: 100%; height: 100%; object-fit: cover; }
.av-cap { position: absolute; left: 8px; right: 8px; bottom: 26%; padding: 4px 6px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.3; text-align: center; }
.av-end { position: absolute; inset: auto 8px 8px; display: grid; gap: 2px; padding: 8px; border-radius: 10px; background: rgba(0,84,255,.92); color: #fff; font-size: 11.5px; line-height: 1.35; text-align: center; }
.av-end b { font-size: 13px; }
.av-end small { font-size: 10px; opacity: .85; }
.av-size { position: absolute; left: 8px; top: 8px; padding: 1px 7px; border-radius: var(--pill); background: rgba(10,14,23,.85); color: var(--ok); font: 600 10px/1.6 var(--mono); font-style: normal; }
.ov-av .av-track, .ov-av .av-cap, .ov-av .av-end, .ov-av .av-size { transition: opacity .45s ease, transform .45s ease; }
.ov-av .av-off { opacity: .14; }
.ov-av .av-cap.av-off, .ov-av .av-end.av-off, .ov-av .av-size.av-off { opacity: 0; transform: translateY(6px); }
@media (prefers-reduced-motion: no-preference) {
  .ov-av { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .ov-av.is-in { opacity: 1; transform: none; }
  .ov-av.is-in .av-stations li { animation: ov-in .55s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 90ms) both; }
  .av-stations li.av-busy button { animation: ov-pulse 2.4s ease-in-out infinite; }
}
@media (max-width: 860px) {
  .av-stations { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .av-two, .av-two-video, .av-two-build { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .av-stations { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .av-stations button { min-height: 116px; }
  .av-track { grid-template-columns: 64px minmax(0, 1fr); }
  .av-ruler { left: 88px; }
  .av-track span { padding-left: 4px; font-size: 9px; }
}

/* Agentic AI 101 module 06, lesson 4 (office-visuals.js): the role grid, the instruction anatomy, the six forms in a chat,
   the phone-only flow and the approval loop. The hidden-then-shown states exist only with motion allowed. */
.og-roles { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.og-roles button { min-height: 36px; padding: 6px 12px; border: 0; border-radius: var(--pill); background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.og-roles button:hover { color: var(--ink); }
.og-roles button[aria-pressed="true"] { color: #fff; background: var(--blue); box-shadow: 0 10px 26px -12px rgba(0,84,255,.9); }
.og-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.og-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; min-width: 0; padding: 14px; border-radius: 16px; overflow: hidden; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line); transition: opacity .35s, background .35s, box-shadow .35s, transform .35s; }
.og-card b { font-size: 15px; line-height: 1.3; }
.og-card p { flex: 1; margin: 0 0 4px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.og-role { font: 600 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.og-card.og-dim { opacity: .3; }
.og-card.on { background: rgba(0,84,255,.16); box-shadow: inset 0 0 0 1px rgba(140,200,255,.6), 0 18px 36px -22px rgba(0,84,255,.9); transform: translateY(-2px); }
.og-foot { margin: 14px 0 0; }

.ia-role { --c: #8CC8FF; } .ia-goal { --c: #7FA6FF; } .ia-context { --c: #7EE0A8; } .ia-limits { --c: #FF8A7A; } .ia-output { --c: #C3A6FF; } .ia-approval { --c: #E3B347; }
.ia-stage { display: grid; grid-template-columns: minmax(0, .8fr) 40px minmax(0, 1.5fr); gap: 10px; align-items: stretch; }
.ia-weak, .ia-strong { padding: 16px; border-radius: 18px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.ia-weak-text { margin: 0 0 16px; font: 400 24px/1.25 var(--serif); color: var(--muted); }
.ia-guess { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ia-guess li { padding: 5px 10px; border-radius: var(--pill); font-size: 12.5px; color: var(--ink); background: rgba(255,120,100,.1); box-shadow: inset 0 0 0 1px rgba(255,138,122,.4); transition: background .4s, box-shadow .4s, color .4s; }
.ia-guess li.ia-solved { color: var(--faint); text-decoration: line-through 2px var(--c); background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); }
.ia-arrow { position: relative; display: grid; place-items: center; }
.ia-arrow span { position: relative; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(140,200,255,.15), var(--cyan)); }
.ia-arrow span::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left: 8px solid var(--cyan); border-right: 0; }
.ia-strong-text { margin: 0; font-size: 15px; line-height: 1.85; color: var(--ink); }
.ia-part { padding: 2px 4px; border-radius: 6px; background: rgba(255,255,255,.04); box-shadow: inset 0 -2px 0 var(--c); -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: opacity .5s, filter .5s; }
.ia-part em { margin-right: 6px; padding: 0 6px; border-radius: var(--pill); font: 600 9.5px/1.7 var(--mono); font-style: normal; letter-spacing: .06em; text-transform: uppercase; vertical-align: 2px; color: #0A0E17; background: var(--c); }
.ia-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.ia-legend li { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 8px; align-items: start; align-content: start; padding: 10px 12px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); transition: background .35s, box-shadow .35s; }
.ia-legend .ov-num { grid-row: span 2; margin: 0; color: #0A0E17; background: var(--c); }
.ia-legend b { font-size: 13.5px; color: var(--c); }
.ia-legend li > span:last-child { font-size: 13px; line-height: 1.45; color: var(--muted); }
.ia-legend li.on { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--c); }

.if-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); gap: 16px; align-items: start; }
.if-list { display: grid; gap: 6px; }
.if-list button { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; align-items: center; min-height: 44px; padding: 10px 12px; border: 0; border-radius: 14px; text-align: left; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: background .3s, box-shadow .3s; }
.if-list .ov-num { grid-row: span 2; margin: 0; }
.if-list b { font-size: 14px; }
.if-list small { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.if-list button:hover { box-shadow: inset 0 0 0 1px rgba(140,200,255,.45); }
.if-list button[aria-selected="true"] { background: rgba(0,84,255,.2); box-shadow: inset 0 0 0 1px var(--cyan); }
.if-list button[aria-selected="true"] .ov-num { color: #fff; background: var(--blue); }
.if-phone { display: flex; flex-direction: column; padding: 10px; border-radius: 28px; background: #0B0F17; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12), 0 30px 60px -30px rgba(0,0,0,.9); }
.if-feed { min-height: 250px; max-height: none; }
.if-back { margin: 8px 4px 4px; padding: 10px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; background: rgba(126,224,168,.06); box-shadow: inset 0 0 0 1px rgba(126,224,168,.3); }
.if-back .ov-col-label { margin-bottom: 2px; color: var(--ok); }
.if-voice { display: inline-flex; align-items: center; gap: 8px; }
.if-voice small { font: 500 11px var(--mono); color: #CFEFDC; }
.if-wave { display: inline-flex; align-items: center; gap: 2px; height: 18px; }
.if-wave i { width: 3px; height: 45%; border-radius: 2px; background: #9BEFC0; }
.if-wave i:nth-child(3n) { height: 95%; }
.if-wave i:nth-child(3n + 1) { height: 65%; }

.pf-stage { position: relative; display: flex; align-items: stretch; margin-top: 4px; padding-top: 42px; }
.pf-node { flex: 1; min-width: 0; display: grid; justify-items: center; align-content: start; gap: 3px; padding: 12px 6px; border-radius: 16px; text-align: center; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line2); transition: background .35s, box-shadow .35s, transform .35s; }
.pf-node svg { width: 34px; height: 34px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pf-group svg { stroke: #6FE3A0; }
.pf-node b { font-size: 14px; line-height: 1.25; }
.pf-node small { font: 500 10px/1.35 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.pf-node.on { background: rgba(0,84,255,.26); box-shadow: inset 0 0 0 1px var(--cyan), 0 14px 30px -14px rgba(0,84,255,.95); transform: translateY(-2px); }
.pf-wire { flex: 0 0 26px; align-self: center; height: 2px; background-image: linear-gradient(90deg, rgba(140,200,255,.7) 50%, transparent 0); background-size: 8px 2px; }
.pf-packet { position: absolute; left: 0; top: 0; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: var(--pill); font: 600 11px var(--mono); white-space: nowrap; color: #0A0E17; background: var(--cyan); box-shadow: 0 8px 22px -6px rgba(140,200,255,.8); opacity: 0; pointer-events: none; }
.pf-packet i { width: 13px; height: 10px; border-radius: 2px; background: #0A0E17; clip-path: polygon(0 0, 70% 0, 70% 30%, 100% 10%, 100% 90%, 70% 70%, 70% 100%, 0 100%); }
.ov-pflow[data-kind="voice"] .pf-packet { background: #FFD58A; }
.ov-pflow[data-kind="voice"] .pf-packet i { width: 10px; border-radius: 50%; clip-path: none; }
.ov-pflow[data-kind="doc"] .pf-packet { background: #9BEFC0; }
.ov-pflow[data-kind="doc"] .pf-packet i { width: 9px; height: 12px; clip-path: polygon(0 0, 65% 0, 100% 30%, 100% 100%, 0 100%); }
.pf-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-items: start; margin-top: 16px; }
.pf-steps { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pf-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: background .35s, color .35s, box-shadow .35s; }
.pf-steps .ov-num { flex: none; margin: 0; }
.pf-steps li.done .ov-num { color: #0A0E17; background: var(--ok); }
.pf-steps li.on { color: var(--ink); background: rgba(0,84,255,.18); box-shadow: inset 0 0 0 1px rgba(140,200,255,.45); }
.pf-steps li.on .ov-num { color: #fff; background: var(--blue); }
.pf-chat { padding: 12px; border-radius: 22px; background: #0B0F17; box-shadow: inset 0 0 0 2px rgba(255,255,255,.1); }
.pf-feed { min-height: 230px; max-height: 340px; padding: 6px 2px; }
.pf-media { display: inline-flex; align-items: center; gap: 8px; font: 500 12px var(--mono); overflow-wrap: anywhere; }
.pf-video i { position: relative; flex: none; width: 40px; height: 56px; border-radius: 6px; background: linear-gradient(160deg, #2A3A5E, #0D1424); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.pf-video i::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-35%, -50%); border: 7px solid transparent; border-left: 11px solid #fff; border-right: 0; }
.pf-cap { display: block; margin-top: 6px; font-size: 13px; line-height: 1.45; }
.pf-doc i { flex: none; width: 22px; height: 28px; border-radius: 3px; background: #E9EEF8; box-shadow: inset 0 -8px 0 #FF8A7A; }
.pf-limits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.pf-limits li { padding: 10px 12px; border-radius: 14px; font-size: 13px; line-height: 1.5; color: var(--muted); background: rgba(227,179,71,.06); box-shadow: inset 0 0 0 1px rgba(227,179,71,.3); }
.pf-limits b { display: block; margin-bottom: 2px; font: 600 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }

.al-stage { --g: 12px; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: auto 34px; column-gap: var(--g); margin-top: 4px; }
.al-node { position: relative; display: grid; gap: 2px; align-content: center; min-width: 0; padding: 12px 6px; border-radius: 16px; text-align: center; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line2); transition: background .35s, box-shadow .35s; }
.al-node:not(.al-n4)::after { content: ""; position: absolute; left: 100%; top: 50%; width: var(--g); height: 2px; background: rgba(140,200,255,.5); }
.al-node b { font-size: 14.5px; line-height: 1.25; }
.al-node small { font: 500 10px/1.35 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.al-n3 small { color: var(--gold); }
.al-node.on { background: rgba(0,84,255,.28); box-shadow: inset 0 0 0 1px var(--cyan), 0 14px 30px -14px rgba(0,84,255,.95); }
.ov-aloop.al-done .al-n4 { background: rgba(126,224,168,.16); box-shadow: inset 0 0 0 1px var(--ok); }
.al-ver, .al-yes { position: absolute; top: -9px; right: -4px; padding: 1px 7px; border-radius: var(--pill); font: 600 10px/1.6 var(--mono); font-style: normal; color: #0A0E17; background: var(--cyan); }
.al-yes { background: var(--ok); opacity: 0; transform: scale(.6); transition: opacity .35s, transform .35s; }
.ov-aloop.al-done .al-yes { opacity: 1; transform: none; }
.al-back { grid-row: 2; grid-column: 2 / 5; display: grid; place-items: end center; margin: 0 calc((100% - 2 * var(--g)) / 6); padding-bottom: 5px; border: 2px dashed rgba(227,179,71,.45); border-top: 0; border-radius: 0 0 14px 14px; transition: border-color .35s; }
.al-back span { font: 600 10px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.ov-aloop.al-going-back .al-back { border-color: var(--gold); }
.al-dot { position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); opacity: 0; pointer-events: none; }
.ov-aloop.al-going-back .al-dot { background: var(--gold); box-shadow: 0 0 14px var(--gold); }
.al-foot { margin: 12px 0 0; font-size: 14px; }

@media (prefers-reduced-motion: no-preference) {
  .ov-ogrid, .ov-anat, .ov-iforms, .ov-pflow, .ov-aloop { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .ov-ogrid.is-in, .ov-anat.is-in, .ov-iforms.is-in, .ov-pflow.is-in, .ov-aloop.is-in { opacity: 1; transform: none; }
  .og-card, .al-node { opacity: 0; }
  .ov.is-in .og-card, .ov.is-in .al-node { opacity: 1; animation: ov-in .55s cubic-bezier(.2,.7,.2,1) calc(var(--i, 0) * 70ms) backwards; }
  .ov.is-in .og-card.og-dim { opacity: .3; }
  .al-n1 { --i: 1; } .al-n2 { --i: 2; } .al-n3 { --i: 3; } .al-n4 { --i: 4; }
  .og-card.on::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(140,200,255,.18) 50%, transparent 70%); animation: og-sheen 1.1s ease both; pointer-events: none; }
  .ia-part.ia-wait { opacity: .07; filter: blur(3px); }
  .ia-part:not(.ia-wait) em { animation: ia-pop .5s cubic-bezier(.2,.7,.2,1.4) both; }
  .ov-anat.is-in .ia-arrow span::before { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: ov-run-x 1.3s ease-in-out infinite; }
  .ov-iforms .if-wave i { animation: if-wave 1s ease-in-out infinite; }
  .ov-iforms .if-wave i:nth-child(2n) { animation-delay: .2s; }
  .ov-iforms .if-wave i:nth-child(3n) { animation-delay: .4s; }
  .pf-stage.pf-run .pf-wire { animation: pf-wire .5s linear infinite; }
  .pf-stage.pf-back .pf-wire { animation-direction: reverse; }
  .pf-node.on svg { animation: ov-pulse 1.4s ease-in-out infinite; }
}
@keyframes og-sheen { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes ia-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes if-wave { 50% { transform: scaleY(.45); } }
@keyframes pf-wire { to { background-position: 8px 0; } }

@media (max-width: 760px) {
  .ia-stage { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 28px auto; }
  .ia-arrow span { width: 2px; height: 100%; background: linear-gradient(180deg, rgba(140,200,255,.15), var(--cyan)); }
  .ia-arrow span::after { right: -5px; top: auto; bottom: -2px; border: 6px solid transparent; border-top: 8px solid var(--cyan); border-bottom: 0; }
  .ia-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .if-grid, .pf-body { grid-template-columns: minmax(0, 1fr); }
  .if-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-limits { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  .ov-anat.is-in .ia-arrow span::before { left: -3px; animation-name: ov-run-y; }
}
@media (max-width: 560px) {
  .og-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .og-card { padding: 11px; }
  .og-card b { font-size: 13.5px; }
  .og-card p { font-size: 12.5px; }
  .og-roles button { min-height: 34px; padding: 5px 10px; font-size: 12px; }
  .ia-weak-text { font-size: 20px; }
  .ia-strong-text { font-size: 14px; }
  .ia-legend li { padding: 8px 10px; }
  .ia-legend li > span:last-child { font-size: 12px; }
  .if-list button { padding: 8px 10px; column-gap: 8px; }
  .if-list small { display: none; }
  .pf-stage { padding-top: 38px; }
  .pf-node { padding: 10px 3px; border-radius: 14px; }
  .pf-node svg { width: 26px; height: 26px; }
  .pf-node b { font-size: 12px; }
  .pf-node small { font-size: 8.5px; letter-spacing: 0; }
  .pf-wire { flex-basis: 8px; }
  .pf-packet { padding: 4px 8px; font-size: 10px; }
  .pf-steps li { padding: 8px 10px; font-size: 13px; }
  .al-stage { --g: 6px; }
  .al-node { padding: 10px 2px; border-radius: 12px; }
  .al-node b { font-size: 11.5px; overflow-wrap: anywhere; }
  .al-node small { font-size: 8.5px; letter-spacing: 0; }
}

/* AI Office module 10: platform logos, the posting week, one idea in five shapes, posting routes */
.ov-brand { flex: none; display: inline-grid; place-items: center; width: var(--s); height: var(--s); border-radius: calc(var(--s) * .26); background: var(--brand); box-shadow: 0 8px 18px -10px rgba(0,0,0,.8); }
.ov-brand-dark { box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), 0 8px 18px -10px rgba(0,0,0,.8); }
.ov-brand img { display: block; }
.ov-plat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.ov-plat { display: grid; justify-items: center; gap: 8px; padding: 14px 8px; border: 0; border-radius: 16px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line2); color: var(--ink); transition: background .3s, box-shadow .3s, transform .3s cubic-bezier(.2,.7,.2,1); }
.ov-plat b { font-size: 14px; font-weight: 600; }
.ov-plat:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(140,200,255,.45); }
.ov-plat[aria-pressed="true"] { background: rgba(0,84,255,.24); box-shadow: inset 0 0 0 1px var(--cyan), 0 14px 30px -14px rgba(0,84,255,.95); transform: translateY(-2px); }
.ov-plat-detail { margin-top: 16px; padding: 16px 18px; min-height: 150px; border-radius: 16px; background: radial-gradient(80% 140% at 0% 0%, rgba(0,84,255,.2), transparent 60%), var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); }
.ov-plat-head { display: flex; align-items: center; gap: 12px; }
.ov-plat-head b { font-size: 19px; }
.ov-plat-detail dl { display: grid; grid-template-columns: 1fr 1.6fr; gap: 12px 18px; margin: 14px 0 0; }
.ov-plat-detail dt { font: 500 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.ov-plat-detail dd { margin: 4px 0 0; font-size: 15px; line-height: 1.5; }
.ov-week-wrap { overflow-x: auto; }
.ov-week-grid { display: grid; grid-template-columns: 52px repeat(3, minmax(150px, 1fr)); gap: 6px; min-width: 520px; }
.ov-week-slot, .ov-week-day { font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); align-self: center; }
.ov-week-row { display: contents; }
.ov-slot { display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 6px 10px; border-radius: 12px; font-size: 12px; line-height: 1.3; color: var(--muted); background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); list-style: none; }
.ov-slot > * { opacity: 0; transform: translateY(6px); transition: opacity .35s ease, transform .35s cubic-bezier(.2,.7,.2,1); }
.ov-slot.shown > * { opacity: 1; transform: none; }
.ov-slot-help.shown { background: rgba(0,84,255,.16); box-shadow: inset 0 0 0 1px rgba(140,200,255,.35); color: var(--ink); }
.ov-slot-show.shown { background: rgba(126,224,168,.1); box-shadow: inset 0 0 0 1px rgba(126,224,168,.35); color: var(--ink); }
.ov-slot-sell.shown { background: rgba(227,179,71,.12); box-shadow: inset 0 0 0 1px rgba(227,179,71,.45); color: var(--ink); }
.ov-slot-empty.shown { box-shadow: inset 0 0 0 1px #FF8A7A; color: #FF8A7A; animation: ov-empty 1.6s ease-in-out 2; }
.ov-week-key { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0 0; padding: 0; list-style: none; font: 500 11px var(--mono); color: var(--faint); }
.ov-week-key li::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.ov-week-key .ov-slot-help::before { background: var(--blue-hi); } .ov-week-key .ov-slot-show::before { background: var(--ok); } .ov-week-key .ov-slot-sell::before { background: var(--gold); } .ov-week-key .ov-slot-empty::before { border: 1px solid #FF8A7A; }
@keyframes ov-empty { 50% { box-shadow: inset 0 0 0 2px #FF8A7A, 0 0 18px rgba(255,138,122,.45); } }
.ov-adapt-wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 16px; align-items: center; }
.ov-adapt-idea { display: grid; gap: 6px; justify-items: start; padding: 18px; border-radius: 18px; background: var(--navy); box-shadow: inset 0 0 0 1px rgba(59,123,255,.4); }
.ov-adapt-idea b { font-size: 19px; line-height: 1.3; }
.ov-adapt-idea small { font-size: 13px; color: rgba(242,244,248,.78); }
.ov-adapt-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ov-adapt-list li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.ov-adapt-list b { display: block; font-size: 14px; }
.ov-adapt-list span { font-size: 13px; color: var(--muted); }
.ov-route-name { display: inline-flex; align-items: center; gap: 10px; }
@media (prefers-reduced-motion: no-preference) {
  .ov-platforms, .ov-week, .ov-adapt { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .ov-plat, .ov-adapt-list li { opacity: 0; }
  .ov.is-in .ov-plat, .ov.is-in .ov-adapt-list li { animation: ov-in .5s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 70ms) both; }
}
@media (prefers-reduced-motion: reduce) { .ov-slot > * { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .ov-plat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ov-plat-detail dl, .ov-adapt-wrap { grid-template-columns: minmax(0, 1fr); }
}

/* Agentic AI 101 module 08: landing a drop on the key beat (office-visuals.js) */
.sf-board { position: relative; display: grid; gap: 10px; padding: 34px 12px 14px; border-radius: 16px; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.sf-lane { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: center; gap: 10px; }
.sf-lane b { font-size: 12px; font-weight: 600; color: var(--muted); }
.sf-lane .ov-brand { display: grid; margin-bottom: 3px; }
.sf-track { position: relative; height: 34px; border-radius: 8px; background: rgba(255,255,255,.04); overflow: hidden; }
.sf-music { height: 76px; }
.sf-video { display: grid; grid-template-columns: 3fr 2fr 4fr 3fr; gap: 2px; }
.sf-video i { background: rgba(0,84,255,.5); }
.sf-voice i { position: absolute; top: 8px; bottom: 8px; border-radius: 4px; background: #57d3a3; }
.sf-voice i:nth-child(1) { left: 2%; width: 26%; }
.sf-voice i:nth-child(2) { left: 46%; width: 34%; }
.sf-bars { position: absolute; left: 0; bottom: 0; display: flex; align-items: flex-end; gap: 2px; width: 100%; height: 100%; }
.sf-bar { flex: 1 0 calc(100% / 28 - 2px); height: var(--h); border-radius: 2px 2px 0 0; background: var(--gold); }
.sf-key { position: absolute; top: 8px; bottom: 10px; left: calc(82px + (100% - 106px) * .42); z-index: 2; width: 2px; background: #ff8a7a; }
.sf-key em { position: absolute; top: 0; left: 6px; font-size: 11px; font-style: normal; font-weight: 700; color: #ff8a7a; white-space: nowrap; }
.sf-board[data-step="1"] .sf-bars, .sf-board[data-step="2"] .sf-bars { transform: translateX(-48.2%); }
.sf-board[data-step="2"] .sf-under { height: calc(var(--h) * .34); }
.sf-note { position: relative; min-height: 3.2em; margin: 12px 0 0; font-size: 14.5px; line-height: 1.55; }
.sf-text { display: none; }
.sf-text.on { display: inline; }
@media (prefers-reduced-motion: no-preference) {
  .sf-bars { transition: transform .9s cubic-bezier(.2,.7,.2,1); }
  .sf-bar { transition: height .5s ease; }
}
@media (max-width: 640px) {
  .sf-lane { grid-template-columns: 42px minmax(0, 1fr); gap: 6px; }
  .sf-key { left: calc(60px + (100% - 84px) * .42); }
}

/* Agentic AI 101: comparison grid, hops, folder tree and the VS Code map (office-visuals.js) */
.ov-cmp { display: grid; gap: 6px; }
.ov-cmp-row { display: grid; grid-template-columns: minmax(110px, .8fr) repeat(var(--n), minmax(0, 1fr)); gap: 6px; }
.ov-cmp-row > b, .ov-cmp-row > span[role="cell"] { padding: 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.45; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); transition: background .35s, box-shadow .35s, color .35s; }
.ov-cmp-row > b { font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); background: none; box-shadow: none; padding-left: 0; }
.ov-cmp-row > span[role="cell"] { color: var(--muted); }
.ov-cmp-head > span[role="columnheader"] { display: flex; }
.ov-cmp-head button { flex: 1; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 12px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); font-size: 14px; font-weight: 600; text-align: left; transition: background .35s, box-shadow .35s, color .35s; }
.ov-cmp-head button:hover { box-shadow: inset 0 0 0 1px rgba(140,200,255,.45); }
.ov-cmp-head button[aria-pressed="true"] { color: #fff; background: var(--blue); box-shadow: 0 10px 26px -12px rgba(0,84,255,.9); }
.ov-compare[data-col="0"] [data-col="0"], .ov-compare[data-col="1"] [data-col="1"], .ov-compare[data-col="2"] [data-col="2"], .ov-compare[data-col="3"] [data-col="3"] { color: var(--ink); background: rgba(0,84,255,.2); box-shadow: inset 0 0 0 1px rgba(140,200,255,.5); }

.ov-hop-stage { position: relative; display: flex; align-items: stretch; margin-top: 4px; }
.ov-hop-node { flex: 1; min-width: 0; display: grid; gap: 2px; align-content: center; padding: 12px 14px; border-radius: 16px; text-align: center; background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line2); transition: background .35s, box-shadow .35s; }
.ov-hop-node b { font-size: 15px; font-weight: 600; line-height: 1.25; }
.ov-hop-node small { font: 500 10px/1.35 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.ov-hop-node.on { background: rgba(0,84,255,.28); box-shadow: inset 0 0 0 1px var(--cyan), 0 14px 30px -14px rgba(0,84,255,.95); }
.ov-hop-wire { flex: 0 0 34px; align-self: center; height: 2px; background: linear-gradient(90deg, rgba(140,200,255,.25), rgba(140,200,255,.6), rgba(140,200,255,.25)); }
.ov-hop-dot { position: absolute; left: 0; top: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); opacity: 0; pointer-events: none; }
.ov-hop-steps { display: grid; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.ov-hop-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.5; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); transition: background .35s, color .35s, box-shadow .35s; }
.ov-hop-steps .ov-num { flex: none; margin: 0; }
.ov-hop-steps li.on { color: var(--ink); background: rgba(0,84,255,.18); box-shadow: inset 0 0 0 1px rgba(140,200,255,.45); }
.ov-hop-steps li.on .ov-num { color: #fff; background: var(--blue); }

.ov-treeview .ov-tree { margin-top: 4px; }

.ov-vs { border-radius: 16px; overflow: hidden; background: var(--bg2); box-shadow: inset 0 0 0 1px var(--line2); font-size: 12px; }
.ov-vs-bar { display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.ov-vs-bar > span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.ov-vs-bar .ov-pill { margin-left: auto; }
.ov-vs-palette { flex: 0 1 260px; margin-left: 14px; padding: 4px 10px; border-radius: 8px; color: var(--faint); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ov-vs-body { display: grid; grid-template-columns: 34px minmax(110px, .9fr) minmax(0, 2.2fr); min-height: 210px; }
.ov-vs-act { display: grid; align-content: start; justify-items: center; gap: 10px; padding: 10px 0; border-right: 1px solid var(--line); }
.ov-vs-act i { width: 14px; height: 14px; border-radius: 4px; background: rgba(255,255,255,.12); }
.ov-vs-side { display: grid; align-content: start; gap: 4px; padding: 10px 12px; border-right: 1px solid var(--line); }
.ov-vs-side small { font: 500 9px var(--mono); letter-spacing: .08em; color: var(--faint); }
.ov-vs code { font: 500 11px/1.5 var(--mono); color: var(--muted); white-space: pre; overflow: hidden; text-overflow: ellipsis; }
.ov-vs-main { display: grid; grid-template-rows: 1fr auto; }
.ov-vs-editor { display: grid; align-content: start; gap: 4px; padding: 12px 14px; }
.ov-vs-editor i { display: block; height: 6px; width: 70%; border-radius: 3px; background: rgba(255,255,255,.08); }
.ov-vs-editor i + i { width: 48%; }
.ov-vs-term { padding: 10px 14px; border-top: 1px solid var(--line); background: rgba(0,0,0,.18); }
.ov-vs [data-part] { transition: background .35s, box-shadow .35s; }
.ov-window[data-part="explorer"] .ov-vs [data-part="explorer"], .ov-window[data-part="editor"] .ov-vs [data-part="editor"], .ov-window[data-part="terminal"] .ov-vs [data-part="terminal"], .ov-window[data-part="palette"] .ov-vs [data-part="palette"], .ov-window[data-part="extensions"] .ov-vs [data-part="extensions"] { background: rgba(0,84,255,.24); box-shadow: inset 0 0 0 2px var(--cyan); }
.ov-window[data-part="extensions"] .ov-vs-act i:last-child { background: var(--cyan); }

/* A lesson's step-by-step walkthrough (portal.js lessonSteps): numbered steps, each with its text and its screen */
.lesson-steps { margin: 40px 0 8px; }
.lesson-steps h2 { margin: 10px 0 20px; font-family: var(--serif); font-weight: 400; font-size: 32px; letter-spacing: -.01em; }
.lesson-steps ol { display: grid; gap: 34px; margin: 0; padding: 0; list-style: none; }
.lesson-step-text { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.lesson-step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-card); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16), 0 12px 28px -14px rgba(0,84,255,.9); font: 600 14px var(--mono); color: #fff; }
.lesson-step-text h3 { margin: 8px 0 6px; font-size: 19px; line-height: 1.3; }
.lesson-step-text p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.65; }
.lesson-step-text code { padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--line); font: 13px var(--mono); color: var(--ink); overflow-wrap: anywhere; }
.lesson-step .ov { margin: 16px 0 0; }

/* Windows or Mac: the switch under a lesson's title, the Mac swaps and each step's Mac note */
.os-pick { margin: 18px 0 4px; }
.os-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.os-label { font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.os-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line2); }
.os-choice { min-width: 92px; min-height: 40px; padding: 6px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 14px var(--sans); cursor: pointer; }
.os-choice:hover { color: var(--ink); }
.os-choice[aria-pressed="true"] { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -12px rgba(0,84,255,.9); }
.os-choice:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.os-mac { margin-top: 14px; padding: 16px 18px; border-radius: 16px; background: rgba(140,200,255,.06); box-shadow: inset 0 0 0 1px rgba(140,200,255,.22); }
.os-mac > .os-note { margin: 0 0 12px; }
.os-intro { margin: 0 0 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.os-swaps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.os-swaps li { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 12px; font-size: 14.5px; line-height: 1.55; }
.os-swaps b { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.os-swaps span { color: var(--muted); }
.os-note, .lesson-step-text .os-note { margin: 6px 0 12px; padding: 10px 14px; border-left: 3px solid var(--cyan); border-radius: 0 10px 10px 0; background: rgba(140,200,255,.07); color: var(--ink); font-size: 15px; line-height: 1.65; }
.os-note b { display: block; margin-bottom: 2px; font: 600 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.os-mac code, .os-note code { padding: 1px 6px; border-radius: 6px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--line); font: 13px var(--mono); color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .os-swaps li { grid-template-columns: 1fr; gap: 2px; }
  .os-choice { min-width: 0; flex: 1; }
  .os-switch { flex: 1; }
}

/* The setup walkthrough screens (office-visuals.js, ow-*): drawings of the real screens, each in its own light or dark
   look, with a cursor, click ripples and key chips. Parts only hide once the script runs (.ow-live), so without it
   every part shows. Every window has a fixed size, so nothing on the page moves while a screen plays. */
.ow-stage { position: relative; height: 380px; margin-top: 14px; overflow: hidden; border-radius: 18px; background: radial-gradient(120% 100% at 15% 0%, #3d6fe0 0%, #1d47b8 34%, #0e2a78 66%, #0a1a4d 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); font: 13px/1.45 "Segoe UI", system-ui, sans-serif; color: #1b1b1b; isolation: isolate; }
.ow-live .ow-h:not(.on) { display: none !important; }
.ow-cap { margin: 14px 0 0; font-size: 15px; line-height: 1.55; }
.ow-win { position: absolute; inset: 16px; z-index: 1; display: flex; flex-direction: column; overflow: hidden; border-radius: 9px; box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 26px 60px -22px rgba(0,0,0,.85); }
.ow-bar { flex: none; display: flex; align-items: flex-end; gap: 8px; height: 36px; padding-left: 8px; background: #202020; color: #fff; font-size: 12px; }
.ow-tab { display: flex; align-items: center; gap: 7px; min-width: 0; max-width: 62%; height: 28px; padding: 0 12px; border-radius: 7px 7px 0 0; background: #0c0c0c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ow-plus { align-self: center; color: #9a9a9a; font-size: 15px; }
.ow-ctl { display: flex; align-self: stretch; margin-left: auto; }
.ow-ctl i { position: relative; width: 38px; }
.ow-ctl i::before { content: ""; position: absolute; left: 14px; top: 17px; width: 10px; border-top: 1px solid currentColor; }
.ow-ctl i:nth-child(2)::before { top: 13px; height: 9px; border: 1px solid currentColor; }
.ow-ctl i:nth-child(3)::before { content: "×"; left: 13px; top: 7px; width: auto; border: 0; font-size: 17px; line-height: 1; }
.ow-ps { width: 12px; height: 12px; border-radius: 2px; background: #2a5bd6; box-shadow: inset 0 0 0 3px #2a5bd6, inset 0 0 0 4px #fff; }
.ow-bar-light { background: #e7ebf1; color: #1b1b1b; }
.ow-bar-light .ow-tab { background: #fff; }
.ow-fav { width: 12px; height: 12px; border-radius: 3px; background: #d97757; }
.ow-arrows { flex: none; color: #5f6368; white-space: nowrap; }

/* Windows Terminal with PowerShell, and Claude Code inside it (its dark-theme colours) */
.ow-term { background: #0c0c0c; color: #cccccc; }
.ow-screen { flex: 1; min-height: 0; overflow: hidden; padding: 8px 12px 10px; font: 12.5px/1.5 "Cascadia Mono", Consolas, ui-monospace, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.ow-l { margin: 0; min-height: 1.5em; }
.ow-in { padding-left: 2ch; }
.ow-b { font-weight: 700; }
.ow-dim { color: #8c8c8c; }
.ow-u { text-decoration: underline; }
.ow-c-claude { color: #d77757; }
.ow-c-ok { color: #4eba65; }
.ow-c-warn { color: #ffc107; }
.ow-c-perm { color: #b1b9f9; }
.ow-opt { position: relative; padding-left: 2ch; }
.ow-opt.on { color: #b1b9f9; }
.ow-opt.on::before { content: "❯"; position: absolute; left: 0; }
.ow-typing::after { content: ""; display: inline-block; width: .55em; height: 1.05em; margin-left: 1px; vertical-align: -.18em; background: currentColor; animation: ow-blink 1s steps(1) infinite; }
.ow-done { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; vertical-align: -.25em; border-radius: 3px; background: #2ea043; }
.ow-done::before { content: "✓"; color: #fff; font-size: .9em; font-weight: 700; }
.ow-mark { padding: 0 2px; border-radius: 3px; background: none; color: inherit; transition: background .4s, color .4s; }
.ow-mark.on { background: #ffc107; color: #0c0c0c; }
.ow-cc-head { margin: 2px 0 8px; padding: 6px 10px; border: 1px solid #d77757; border-radius: 8px; }
.ow-input { margin-top: 8px; padding: 2px 0; border-top: 1px solid #555; border-bottom: 1px solid #555; }
.ow-hint { font-size: .92em; }
.ow-input .ow-l, .ow-umsg .ow-l { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.ow-umsg { margin: 6px 0; padding: 2px 6px; border-radius: 4px; background: #262626; color: #e6e6e6; }
.ow-dot { color: #e6e6e6; }
.ow-gap { margin-top: .75em; }
.ow-dialog { margin-top: 8px; padding-top: 6px; border-top: 1px solid #ffc107; }
.ow-perm { margin-top: 8px; padding-top: 6px; border-top: 1px solid #b1b9f9; }
.ow-diff { margin: 6px 0 8px; padding: 4px 8px; border: 1px dashed #555; border-radius: 6px; }
.ow-diff span { display: inline-block; width: 2.5ch; color: #6f6f6f; }
.ow-term-2 { inset: 46px 26px 52px 54px; z-index: 2; }
.ow-term-side { inset: 92px 16px 16px 30%; z-index: 4; }
.ow-term-low { top: 118px; }

/* The browser: the docs page and the sign-in page */
.ow-browser { background: #fff; }
.ow-toolbar { flex: none; display: flex; align-items: center; gap: 10px; height: 38px; padding: 0 10px; border-bottom: 1px solid #e3e3e3; }
.ow-addr { flex: 1; min-width: 0; display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 12px; border-radius: 13px; background: #f1f3f4; color: #202124; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ow-lock { flex: none; width: 8px; height: 7px; margin-top: 3px; border-radius: 1px; background: #5f6368; box-shadow: 0 -3px 0 -1px #f1f3f4, 0 -4px 0 0 #5f6368; }
.ow-scroll { position: relative; flex: 1; min-height: 0; overflow: hidden; padding: 16px 22px; }
.ow-docs { color: #111827; font-size: 13px; }
.ow-docs h4 { margin: 0 0 4px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; color: #111827; }
.ow-docs h5 { margin: 20px 0 6px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; color: #111827; }
.ow-docs p, .ow-docs ul { margin: 0 0 8px; color: #374151; }
.ow-docs .ow-lead { font-size: 14px; color: #4b5563; }
.ow-dtabs { display: flex; gap: 18px; margin: 10px 0 4px; border-bottom: 1px solid #e5e7eb; font-size: 12.5px; color: #6b7280; white-space: nowrap; overflow: hidden; }
.ow-dtabs span { padding: 6px 0; }
.ow-dtabs .sel { color: #c6613f; font-weight: 600; box-shadow: inset 0 -2px 0 #c6613f; }
.ow-docs .ow-dlabel { margin: 12px 0 6px; font-weight: 700; color: #111827; }
.ow-docs .ow-dnote { margin-top: 8px; font-size: 12.5px; }
.ow-code { position: relative; padding: 10px 40px 10px 12px; border-radius: 10px; background: #18181b; color: #e4e4e7; font: 12px/1.5 "Cascadia Mono", Consolas, ui-monospace, monospace; overflow-wrap: anywhere; transition: box-shadow .3s; }
.ow-code.on { box-shadow: 0 0 0 2px #d97757; }
.ow-copy { position: absolute; right: 12px; top: 12px; width: 14px; height: 14px; }
.ow-copy::before, .ow-copy::after { content: ""; position: absolute; width: 8px; height: 9px; border: 1.5px solid #a1a1aa; border-radius: 2px; }
.ow-copy::before { left: 0; top: 0; }
.ow-copy::after { left: 4px; top: 4px; background: #18181b; }
.ow-copy.on::before { content: "✓"; width: auto; height: auto; left: 0; top: -3px; border: 0; color: #4ade80; font: 700 14px/1 sans-serif; }
.ow-copy.on::after { display: none; }
.ow-auth { display: grid; justify-items: center; align-content: start; gap: 12px; padding-top: 22px; color: #1f1f1f; }
.ow-auth .ov-pill { justify-self: end; }
.ow-auth-mark { width: 34px; height: 34px; border-radius: 10px; background: #d97757; }
.ow-bar-line { display: block; width: 64%; height: 9px; border-radius: 5px; background: #e5e5e5; }
.ow-bar-line.ow-short { width: 42%; }
.ow-acct { padding: 5px 12px; border-radius: 14px; background: #f3f3f3; font-size: 12px; color: #444; }
.ow-btn { padding: 8px 26px; border-radius: 8px; background: #1f1f1f; color: #fff; font-weight: 600; }
.ow-ok { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #2ea043; }
.ow-ok::before { content: "✓"; color: #fff; font: 700 20px/1 sans-serif; }
.ow-pop { inset: 54px 16px 22px 34%; z-index: 4; }

/* The desktop, the taskbar and the Win + X menu */
.ow-taskbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; justify-content: center; align-items: center; gap: 10px; height: 34px; background: rgba(238,242,249,.88); }
.ow-taskbar i { width: 18px; height: 18px; border-radius: 5px; background: rgba(0,0,0,.14); }
.ow-start { width: 18px; height: 18px; background: linear-gradient(#eef2f9, #eef2f9) 50% 0 / 2px 100% no-repeat, linear-gradient(#eef2f9, #eef2f9) 0 50% / 100% 2px no-repeat, #1a73e8; }
.ow-winx { position: absolute; left: calc(50% - 112px); bottom: 40px; z-index: 5; display: grid; width: 200px; padding: 4px; border-radius: 8px; background: #f9f9f9; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 14px 30px rgba(0,0,0,.35); font-size: 12.5px; }
.ow-winx span, .ow-emenu span, .ow-ctx span { display: flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 4px; white-space: nowrap; }
.ow-winx .on, .ow-emenu .on, .ow-ctx .on { background: #e6e6e6; }
.ow-s-install .ow-term { inset: 14px 14px 46px; }
.ow-s-install .ow-term-2 { inset: 40px 26px 54px 60px; }

/* File Explorer */
.ow-exp { background: #fff; color: #1b1b1b; font-size: 12.5px; }
.ow-enav, .ow-ecmd { flex: none; display: flex; align-items: center; gap: 12px; padding: 0 12px; background: #f9f9f9; border-bottom: 1px solid #ebebeb; }
.ow-enav { height: 38px; }
.ow-ecmd { height: 40px; }
.ow-eaddr, .ow-esearch { min-width: 0; display: flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px #dedede; white-space: nowrap; overflow: hidden; }
.ow-eaddr { flex: 1; }
.ow-esearch { flex: 0 1 28%; color: #767676; }
.ow-enew { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 4px; transition: background .2s; }
.ow-enew.on { background: #e5e5e5; }
.ow-plus-c { position: relative; width: 15px; height: 15px; border-radius: 50%; background: #0067c0; }
.ow-plus-c::before { content: "+"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font: 700 12px/1 sans-serif; }
.ow-eicons { display: flex; gap: 12px; }
.ow-eicons i { width: 14px; height: 14px; border-radius: 3px; background: #cfcfcf; }
.ow-ebody { flex: 1; min-height: 0; display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.ow-eside { margin: 0; padding: 8px 6px; list-style: none; background: #fafafa; border-right: 1px solid #ebebeb; }
.ow-eside li { display: flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 4px; white-space: nowrap; }
.ow-eside li.sel { background: #e5e5e5; }
.ow-elist { position: relative; min-width: 0; padding: 4px 10px; overflow: hidden; }
.ow-erow { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr) minmax(0, .9fr); gap: 10px; align-items: center; height: 28px; padding: 0 8px; border-radius: 4px; white-space: nowrap; }
.ow-erow > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.ow-ehead { height: 26px; border-bottom: 1px solid #ededed; border-radius: 0; color: #5b5b5b; font-size: 11.5px; }
.ow-erow.ow-sel, .ow-erow.on:not(.ow-h) { background: #cce8ff; }
.ow-ename { display: flex; align-items: center; gap: 8px; }
.ow-ico { flex: none; position: relative; display: inline-block; }
.ow-ico-folder { width: 16px; height: 12px; margin-top: 2px; border-radius: 2px; background: #f4b93a; }
.ow-ico-folder::before { content: ""; position: absolute; left: 0; top: -2px; width: 7px; height: 3px; border-radius: 2px 2px 0 0; background: #e3a52a; }
.ow-ico-file { width: 11px; height: 14px; border: 1px solid #8f8f8f; border-radius: 1px; background: #fff; }
.ow-ico-home { width: 14px; height: 12px; border-radius: 2px; background: #9aa7b8; }
.ow-ico-term { width: 15px; height: 12px; border-radius: 2px; background: #2b2b2b; }
.ow-rename { display: inline-block; min-width: 0; padding: 0 3px; overflow: hidden; text-overflow: ellipsis; }
.ow-rename.on { background: #fff; box-shadow: inset 0 0 0 1px #0067c0; }
.ow-seltext { background: #0067c0; color: #fff; }
.ow-tick { margin-left: 8px; color: #1a7f37; }
.ow-estatus { flex: none; display: flex; align-items: center; height: 24px; padding: 0 12px; border-top: 1px solid #f0f0f0; color: #5b5b5b; font-size: 11.5px; }
.ow-emenu, .ow-ctx { position: absolute; z-index: 3; display: grid; min-width: 170px; padding: 4px; border-radius: 8px; background: #f9f9f9; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 14px 30px rgba(0,0,0,.25); }
.ow-emenu { left: 14px; top: 112px; }
.ow-ctx { left: 40%; top: 150px; }
.ow-ctx em { margin-left: auto; padding-left: 18px; font-style: normal; color: #767676; }
.ow-ctx hr { margin: 3px 0; border: 0; border-top: 1px solid #e5e5e5; }
.ow-empty { margin: 34px 0 0; text-align: center; color: #5b5b5b; }
.ow-spot { position: absolute; left: 40%; top: 150px; width: 2px; height: 2px; }

/* The lesson card above the terminal in the paste step: the portal's own prompt box, drawn */
.ow-lesson { position: absolute; left: 16px; right: 16px; top: 14px; z-index: 2; padding: 10px 14px; border-radius: 14px; background: #0c111c; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); color: var(--ink); font-family: var(--sans); }
.ow-lesson-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 500 10.5px var(--mono); letter-spacing: .08em; color: var(--cyan); }
.ow-lesson-btn { flex: none; padding: 5px 12px; border-radius: var(--pill); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px var(--line2); font: 600 12px var(--sans); letter-spacing: 0; color: var(--ink); transition: background .2s; }
.ow-lesson-btn.on { background: var(--blue); }
.ow-lesson p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 6px 0 0; overflow: hidden; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.ow-toast { position: absolute; right: 12px; bottom: -40px; z-index: 5; max-width: 80%; padding: 8px 12px; border-radius: 10px; background: #fff; color: #10131a; font-size: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }

/* The cursor, the click ripples and the key chips */
.ow-cursor { position: absolute; left: 0; top: 0; z-index: 8; width: 17px; height: 23px; opacity: 0; pointer-events: none; }
.ow-cursor.on { opacity: 1; }
.ow-cursor svg { display: block; width: 100%; height: 100%; fill: #fff; stroke: #111; stroke-width: 1.2; filter: drop-shadow(0 2px 3px rgba(0,0,0,.45)); transform-origin: 0 0; transition: transform .12s; }
.ow-cursor.down svg { transform: scale(.82); }
.ow-ripple { position: absolute; z-index: 7; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: rgba(140,200,255,.35); box-shadow: 0 0 0 2px #8cc8ff; opacity: 0; pointer-events: none; }
.ow-key { position: absolute; left: 50%; bottom: 16px; z-index: 9; display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 12px; background: rgba(7,10,20,.92); box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 12px 30px rgba(0,0,0,.5); color: #fff; font: 600 13px var(--sans); white-space: nowrap; opacity: 0; transform: translateX(-50%); pointer-events: none; }
.ow-key kbd { padding: 3px 9px; border-radius: 6px; background: #fff; box-shadow: 0 2px 0 #9aa3b5; font: 600 12.5px var(--mono); color: #10131a; }
@media (prefers-reduced-motion: no-preference) {
  .ow-cursor { transition: transform .75s cubic-bezier(.45,.05,.25,1), opacity .3s; }
  .ow-ripple.on { animation: ow-ripple .6s ease-out; }
  .ow-key.on { animation: ow-key 1.5s ease both; }
  .ow-live .ow-pop.on, .ow-live .ow-term.ow-h.on, .ow-live .ow-emenu.on, .ow-live .ow-ctx.on, .ow-live .ow-winx.on, .ow-live .ow-toast.on { animation: ow-appear .22s ease both; }
}
@keyframes ow-ripple { from { opacity: 1; transform: scale(.3); } to { opacity: 0; transform: scale(1.5); } }
@keyframes ow-key { 0% { opacity: 0; transform: translate(-50%, 8px); } 12%, 78% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 0); } }
@keyframes ow-appear { from { opacity: 0; transform: translateY(6px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes ow-blink { 50% { opacity: 0; } }

/* Each screen's size, then phones: the side panes, the dates and the long CMD line step aside */
.ow-s-docs { height: 430px; }
.ow-s-install { height: 400px; }
.ow-s-folder, .ow-s-check { height: 340px; }
.ow-s-open { height: 440px; }
.ow-s-signin { height: 380px; }
.ow-s-trust { height: 420px; }
.ow-s-paste { height: 450px; }
.ow-s-approve { height: 440px; }
@media (max-width: 640px) {
  .lesson-step-text { grid-template-columns: 1fr; gap: 10px; }
  .lesson-step-n { width: 36px; height: 36px; font-size: 13px; }
  .lesson-step-text h3 { margin-top: 0; }
  .ow-stage { margin-left: -6px; margin-right: -6px; border-radius: 14px; }
  .ow-win { inset: 10px; }
  .ow-screen { padding: 6px 8px 8px; font-size: 11px; }
  .ow-tab { max-width: 70%; padding: 0 9px; }
  .ow-ctl i { width: 26px; }
  .ow-ctl i::before { left: 8px; }
  .ow-ctl i:nth-child(3)::before { left: 7px; }
  .ow-plus, .ow-arrows, .ow-eside, .ow-esearch, .ow-eicons, .ow-erow > span:nth-child(2), .ow-wide { display: none; }
  .ow-ebody { grid-template-columns: minmax(0, 1fr); }
  .ow-erow { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .ow-scroll { padding: 12px 14px; }
  .ow-docs h4 { font-size: 20px; }
  .ow-docs h5 { font-size: 16px; }
  .ow-code { font-size: 11px; }
  .ow-s-docs { height: 440px; }
  .ow-s-install { height: 440px; }
  .ow-s-install .ow-term { inset: 10px 10px 44px; }
  .ow-s-install .ow-term-2 { inset: 30px 10px 50px 24px; }
  .ow-winx { left: 12px; }
  .ow-s-open { height: 420px; }
  .ow-term-side { inset: 150px 10px 10px 10px; }
  .ow-ctx, .ow-spot { left: 22%; top: 150px; }
  .ow-docs .ow-dnote { display: none; }
  .ow-emenu { left: 10px; top: 100px; }
  .ow-s-signin { height: 430px; }
  .ow-pop { inset: 70px 10px 26px 10px; }
  .ow-s-trust { height: 500px; }
  .ow-s-paste { height: 520px; }
  .ow-lesson { left: 10px; right: 10px; top: 10px; }
  .ow-term-low { top: 128px; }
  .ow-s-approve { height: 500px; }
  .ow-key { bottom: 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: no-preference) {
  .ov-cmp-row:not(.ov-cmp-head), .ov-hop-node, .ov-hop-steps li, .ov-treeview .ov-tree li { opacity: 0; }
  .ov.is-in .ov-cmp-row:not(.ov-cmp-head), .ov.is-in .ov-hop-node, .ov.is-in .ov-hop-steps li, .ov-treeview.is-in .ov-tree li { animation: ov-in .55s cubic-bezier(.2,.7,.2,1) calc(var(--i) * 90ms) both; }
  .ov.is-in .ov-hop-wire { animation: ov-in .55s cubic-bezier(.2,.7,.2,1) .2s both; }
  .ov-compare, .ov-hops, .ov-treeview, .ov-window { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
  .ov-compare.is-in, .ov-hops.is-in, .ov-treeview.is-in, .ov-window.is-in { opacity: 1; transform: none; }
}

/* Phones: the grid stays side by side. The row label moves above its cells, so every column keeps its width. */
@media (max-width: 640px) {
  .ov-cmp { gap: 4px; }
  .ov-cmp-row { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; }
  .ov-cmp-corner { display: none; }
  .ov-cmp-row > b { grid-column: 1 / -1; padding: 6px 0 0; font-size: 10px; }
  .ov-cmp-row > span[role="cell"] { padding: 7px 8px; border-radius: 10px; font-size: 12.5px; line-height: 1.35; }
  .ov-cmp-head button { min-height: 40px; padding: 6px 8px; font-size: 13px; text-align: center; }
  .ov-hop-node { padding: 10px 6px; border-radius: 14px; }
  .ov-hop-node b { font-size: 13px; }
  .ov-hop-node small { font-size: 9px; }
  .ov-hop-wire { flex-basis: 14px; }
  .ov-hop-steps li { font-size: 13px; padding: 8px 10px; }
  .ov-vs-body { grid-template-columns: 26px minmax(0, 1fr) minmax(0, 1.6fr); min-height: 180px; }
  .ov-vs-palette { flex-basis: 150px; margin-left: 6px; }
  .ov-vs code { font-size: 10px; }
}
