.hx-app {
  --bg: #F2F3F5; --bg-2: #E8EAEE; --surface: #FFFFFF; --surface-2: #F7F7F4; --line: #E3E4E7; --line-2: #ECEDEF;
  --ink: #15171A; --ink-2: #2A2E34; --muted: #6B7077; --muted-2: #9CA1A8;
  --green: #1F8848; --amber: #C5891A; --red: #C2392A; --teal: #1F6F63;
  --shadow-card: 0 1px 2px rgba(20,18,14,.04), 0 6px 18px rgba(20,18,14,.05);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --dw: 400px; --dh: 500px;
  position: absolute; left: 0; top: 0; width: 1312px; height: 744px; transform-origin: 0 0;
  display: grid; grid-template-columns: 224px minmax(0, 1fr); overflow: hidden;
  font-family: var(--font-sans); font-size: 13px; line-height: 1.4; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; font-feature-settings: "ss01", "cv11"; letter-spacing: normal;
  user-select: none; pointer-events: none;
}
.hx-app *, .hx-app *::before, .hx-app *::after { box-sizing: border-box; }
.hx-app svg { width: 15px; height: 15px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hx-app svg.mark { width: 13px; height: 14px; fill: currentColor; stroke: none; }
.hx-app .mono { font-family: var(--font-mono); font-feature-settings: normal; }
.hx-app h2, .hx-app p, .hx-app ol { margin: 0; }
.hx-app ol { list-style: none; padding: 0; }
.hx-app.no-anim, .hx-app.no-anim * { transition: none !important; animation: none !important; }

.hd-side { background: #0E0E0E; padding: 20px 14px; display: flex; flex-direction: column; gap: 2px; color: #FCF9F8; }
.hd-brand { display: flex; align-items: center; gap: 10px; padding: 0 6px 22px; }
.hx-app .h-brand-tile { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7.5px; background: #FCF9F8; color: #0E0E0E; flex: 0 0 auto; }
.hx-app .h-brand-tile svg { width: 16px; height: 16px; stroke-width: 2; }
.hd-brand-n { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; color: #FCF9F8; }
.hd-brand-s { font-size: 11px; color: #6C7075; }
.hd-nav { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13px; color: #9BA0A5; transition: background-color .18s, color .18s; }
.hd-nav.is-hover { background: #1A1B1C; color: #FCF9F8; }
.hd-nav.is-active { background: #FCF9F8; color: #0E0E0E; }
.hd-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid #1F2122; }

.hx-main { position: relative; min-width: 0; overflow: hidden; transition: filter .18s ease; }
.hx-main.is-dim { filter: saturate(.92); }
.hx-page { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility 0s linear .3s; }
.hx-page.is-on { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }

.hx-dash { padding: 26px 30px 44px; display: flex; flex-direction: column; gap: 18px; }
.hd-head { display: flex; align-items: flex-start; gap: 20px; }
.hd-h1 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; }
.hd-sub { font-size: 13px; color: var(--muted); margin-top: 5px; }
.hd-head-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.hd-fresh { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted-2); white-space: nowrap; }
.hd-refresh { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; font-size: 12px; color: var(--muted); }
.hd-refresh svg { width: 13px; height: 13px; }
.hd-seg { display: inline-flex; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 2px; }
.hd-seg span { font-size: 12px; color: var(--muted); padding: 6px 11px; border-radius: 6px; white-space: nowrap; }
.hd-seg span.is-active { background: var(--ink); color: #FCF9F8; }

.ak-trigger { display: flex; align-items: center; gap: 14px; width: 100%; padding: 15px 14px 15px 20px; background: #1A1A18; border-radius: 999px; box-shadow: 0 3px 10px rgba(20,18,14,.14); transition: background-color .18s ease, transform .12s ease; }
.ak-trigger.is-hover { background: #242422; }
.ak-trigger.is-press { transform: scale(.995); }
.ak-trigger-i { display: inline-flex; color: #C9C6C0; flex: 0 0 auto; }
.ak-trigger-i svg.mark { width: 13px; height: 14px; }
.ak-trigger-p { flex: 1; min-width: 0; font-size: 14px; color: #C9C6C0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ak-kbd { flex: 0 0 auto; padding: 4px 10px; font-size: 11.5px; font-weight: 500; color: #C9C6C0; background: #333330; border-radius: 7px; }

.hd-card { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-card); }
.hd-card-pad { padding: 18px 20px; }
.hd-card-head { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.hd-card-head svg { width: 13px; height: 13px; }
.hd-head-r { margin-left: auto; }
.hd-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted); }
.hd-link svg { width: 12px; height: 12px; }
.hd-link-flag { color: var(--teal); font-weight: 500; }
.hd-row { display: grid; gap: 18px; min-width: 0; }
.hd-row > * { min-width: 0; }
.hd-row.top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.hd-note { display: flex; align-items: flex-start; gap: 9px; padding: 11px 13px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--ink-2); line-height: 1.45; }
.hd-note .hd-dot { margin-top: 5px; }
.hd-bar { display: flex; gap: 3px; height: 8px; margin: 20px 0; }
.hd-bar span { border-radius: 2px; }
.hd-bar .anchored { background: var(--green); }
.hd-bar .processing { background: var(--amber); }
.hd-legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hd-leg-k { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--muted); }
.hd-leg-v { font-size: 30px; font-weight: 600; margin-top: 8px; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1.1; }
.hd-leg-d { font-size: 11.5px; color: var(--muted-2); margin-top: 6px; line-height: 1.4; }
.hd-dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 auto; display: inline-block; }
.hd-dot.anchored { background: var(--green); }
.hd-dot.processing { background: var(--amber); }
.hd-dot.failed { background: var(--red); }
.hd-info { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--muted); font-size: 9.5px; font-weight: 600; }
.hd-stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 18px; }
.hd-stat-k { font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.hd-stat-v { font-size: 34px; font-weight: 600; letter-spacing: -0.025em; margin-top: 10px; font-variant-numeric: tabular-nums; line-height: 1.1; }
.hd-stat-v.sm { font-size: 26px; }
.hd-meta { font-size: 12px; color: var(--muted-2); margin-top: 10px; line-height: 1.4; }
.hd-clickable { display: flex; align-items: flex-start; gap: 12px; }
.hd-chev { margin-left: auto; color: var(--muted-2); }
.hd-flag-sub { font-size: 12.5px; color: var(--muted); padding: 10px 20px 10px; }
.hd-flag { display: flex; align-items: center; gap: 16px; padding: 12px 20px; border-top: 1px solid var(--line-2); }
.hd-flag-main { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.hd-flag-t { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hd-flag-m { font-size: 12px; color: var(--muted); }
.hd-flag-status { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); white-space: nowrap; flex: 0 0 auto; }
.hd-int { display: flex; align-items: center; gap: 10px; padding: 11px 20px; border-bottom: 1px solid var(--line-2); font-size: 13px; }
.hd-int:last-child { border-bottom: 0; }
.hd-int-t { flex: 1; min-width: 0; }
.hd-int-m { font-size: 12px; color: var(--muted-2); text-align: right; }

.hx-app.is-narrow .hd-row.top { grid-template-columns: minmax(0, 1fr); }
.hx-app.is-compact .hx-dash { padding: 22px 20px 30px; gap: 16px; }
.hx-app.is-compact .hd-head-right { display: none; }
.hx-app.is-compact .ak-trigger { padding: 13px 12px 13px 16px; gap: 11px; }
.hx-app.is-compact .ak-trigger-p { font-size: 13px; }
.hx-app.is-compact .hd-legend .hd-leg-d { display: none; }

.hx-rec { overflow: hidden; }
.hx-rec-scroll { padding: 22px 32px 40px; transition: transform .42s cubic-bezier(.2, .7, .2, 1); }
.hx-rec-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 14px; }
.hx-rec-back svg { width: 14px; height: 14px; }
.eyebrow-p { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.hx-app .h-title { font-size: 26px; font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; margin-top: 4px; }
.hx-rec-meta { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
.hx-rec-meta .mono { font-size: 11.5px; color: var(--ink-2); }
.hx-rec-grid { display: grid; grid-template-columns: minmax(0, 1fr) 452px; gap: 24px; margin-top: 20px; align-items: start; }
.hx-app .h-card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.hx-app .h-card-head { display: flex; align-items: center; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--line-2); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.hx-app .h-card-head svg { width: 14px; height: 14px; }
.hx-app .h-card-head .spacer { flex: 1; }
.h-card-note { font-size: 12px; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--muted); }
.ag-agent-row { display: flex; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line-2); }
.ag-agent-n { font-size: 13.5px; font-weight: 600; }

.ev2 {
  position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 12px; row-gap: 5px;
  align-items: center; padding: 11px 18px 11px 18px; border-top: 1px solid var(--line-2);
  transition: background-color .35s ease, box-shadow .35s ease;
}
.ev2:first-child { border-top: 0; }
.ev2-num { grid-row: 1 / span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line); transition: background-color .35s, border-color .35s; }
.ev2-num-n { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--ink-2); transition: color .35s; }
.ag-col-type { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ev2-type { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ag-flow-text { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev2-time { font-size: 11.5px; color: var(--muted); }
.ev2-sub { grid-column: 2 / 4; display: flex; align-items: center; gap: 10px; min-width: 0; }
.ev2-sub .ag-flow-text { flex: 0 1 auto; }
.ses-verifiable { display: inline-flex; align-items: center; gap: 4px; font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #1F6E3D; background: #E2F2E8; border: 1px solid #C8E6D2; padding: 2px 7px; border-radius: 20px; white-space: nowrap; }
.ev2-preview { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev2-preview svg { width: 11px; height: 11px; color: var(--muted-2); }
.ev2-cited-note { position: absolute; right: 96px; top: 13px; font-size: 11px; font-weight: 500; color: #1A5C52; opacity: 0; transform: translateX(4px); transition: opacity .3s ease .15s, transform .3s ease .15s; }
.ev2.is-cited { background: rgba(31,111,99,.07); box-shadow: inset 3px 0 0 var(--teal), 0 0 0 1px rgba(31,111,99,.35); }
.ev2.is-cited .ev2-num { background: var(--teal); border-color: var(--teal); }
.ev2.is-cited .ev2-num-n { color: #fff; }
.ev2.is-cited .ev2-cited-note { opacity: 1; transform: none; }

.hx-cite-echo { position: absolute; z-index: 6; left: 240px; top: 14px; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-card); font-size: 12px; color: var(--ink-2); opacity: 0; transform: translateY(-4px); transition: opacity .3s, transform .3s; }
.hx-cite-echo .ak-cite { margin-left: 0; }
.hx-cite-echo.is-on { opacity: 1; transform: none; }

.hx-app.is-narrow .hx-rec-grid { grid-template-columns: minmax(0, 1fr) 452px; }
.hx-app.is-narrow .ev2-preview, .hx-app.is-narrow .ev2-cited-note { display: none; }
.hx-app.is-compact .hx-rec-scroll { padding: 18px 20px 30px; }
.hx-app.is-compact .hx-rec-grid { grid-template-columns: minmax(0, 1fr); }
.hx-app.is-compact .hx-rec-rail { display: none; }
.hx-app.is-compact .h-title { font-size: 22px; }
.hx-app.is-compact .ev2 { padding: 11px 14px; }

.hx-scrim { position: absolute; inset: 0; z-index: 5; opacity: 0; transition: opacity .22s ease; }
.hx-scrim.is-on { opacity: 1; }
.hx-hole { position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-radius: 10px; box-shadow: 0 0 0 4000px rgba(20,18,14,.34); }
.hx-hole.is-spot { transition: left .45s cubic-bezier(.2,.7,.2,1), top .45s cubic-bezier(.2,.7,.2,1), width .45s cubic-bezier(.2,.7,.2,1), height .45s cubic-bezier(.2,.7,.2,1); }

.hx-drawer-slot {
  position: absolute; z-index: 6; top: 16px; right: 16px; width: var(--dw); height: var(--dh);
  opacity: 0; visibility: hidden; transform: translateX(24px);
  transition: transform .22s ease, opacity .22s ease, visibility 0s linear .22s, width .3s cubic-bezier(.2,.7,.2,1);
}
.hx-drawer-slot.is-open { opacity: 1; visibility: visible; transform: none; transition: transform .22s ease, opacity .22s ease, visibility 0s, width .3s cubic-bezier(.2,.7,.2,1); }
.hx-drawer-slot.is-scoped { width: var(--dws, 460px); }
.hx-drawer-slot.is-tucked { transform: translateX(calc(100% + 28px)); opacity: 0; }
.ak-drawer { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: -14px 0 40px rgba(20,18,14,.22); }
.ak-head { flex: 0 0 auto; padding: 15px 18px 12px; border-bottom: 1px solid var(--line-2); }
.ak-head-top { display: flex; align-items: center; gap: 12px; }
.ak-title { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.ak-title svg.mark { color: var(--muted); }
.ak-head-icons { display: flex; align-items: center; gap: 8px; }
.ak-hicon { display: inline-flex; align-items: center; justify-content: center; height: 26px; min-width: 26px; border-radius: 7px; color: var(--muted); transition: background-color .15s, color .15s; }
.ak-hicon-labelled { gap: 5px; padding: 0 7px; font-size: 11.5px; font-weight: 500; }
.ak-hicon.is-hover { background: var(--surface-2); color: var(--ink); }
.ak-scope { display: inline-flex; align-items: center; margin-top: 10px; padding: 3px 9px; border-radius: 6px; font-size: 11px; font-weight: 500; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.ak-scope[hidden] { display: none; }
.ak-scope.is-scoped { background: rgba(31,111,99,.09); border-color: rgba(31,111,99,.26); color: #1A5C52; }
.ak-thread { position: relative; flex: 1; min-height: 0; overflow: hidden; padding: 16px 18px; }
.ak-foot { flex: 0 0 auto; padding: 12px 16px; border-top: 1px solid var(--line-2); background: var(--surface); }
.ak-input { display: flex; align-items: center; gap: 2px; padding: 9px 9px 9px 15px; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--line); font-size: 12.5px; transition: border-color .15s, box-shadow .15s; }
.ak-input.is-focus { border-color: #B9BDC2; box-shadow: 0 0 0 3px rgba(21,23,26,.06); }
.hx-typed { white-space: pre; color: var(--ink); }
.hx-caret { width: 1px; height: 15px; background: var(--ink); opacity: 0; }
.ak-input.is-focus .hx-caret { animation: hx-blink 1s steps(1) infinite; }
@keyframes hx-blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.hx-ph { flex: 1; min-width: 0; color: var(--muted-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-left: -1px; }
.ak-input.has-text .hx-ph { visibility: hidden; }
.af-send { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-left: auto; border-radius: 50%; color: var(--muted-2); transition: background-color .15s, color .15s, transform .12s; }
.af-send svg { width: 14px; height: 14px; }
.af-send.is-on { background: #0E0E0E; color: #FCF9F8; }
.af-send.is-press { transform: scale(.9); }

.hx-state { display: none; }
.hx-state.is-on { display: block; animation: af-rise .34s cubic-bezier(.2,.7,.3,1) both; }
.hx-state.ak-center.is-on { display: flex; }
@keyframes af-rise { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.ak-center { flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 24px 14px; text-align: center; }
.ak-center-glyph { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); color: var(--muted); }
.ak-center-glyph svg.mark { width: 17px; height: 19px; }
.ak-center-t { font-size: 14px; font-weight: 600; letter-spacing: -0.01em; }
.ak-center-s { margin-top: 7px; max-width: 280px; font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.ak-echo { padding: 11px 13px; margin-bottom: 14px; border-radius: 9px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.ak-loading { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; font-size: 12.5px; color: var(--muted); }
.ak-load-mark { display: inline-flex; color: var(--muted); transform-origin: 50% 50%; }
.ak-load-mark svg.mark { width: 17px; height: 19px; }
.hx-state.is-on .ak-load-mark { animation: hx-mark-tick 3.04s infinite; animation-timing-function: cubic-bezier(.33,0,.2,1); }
@keyframes hx-mark-tick {
  0% { transform: rotate(0) }
  13.34% { transform: rotate(98deg) } 17.11%, 25% { transform: rotate(90deg) }
  38.34% { transform: rotate(188deg) } 42.11%, 50% { transform: rotate(180deg) }
  63.34% { transform: rotate(278deg) } 67.11%, 75% { transform: rotate(270deg) }
  88.34% { transform: rotate(368deg) } 92.11%, 100% { transform: rotate(360deg) }
}
.ak-skel { display: flex; flex-direction: column; gap: 8px; padding: 14px; margin-bottom: 12px; border: 1px solid var(--line-2); border-radius: 10px; }
.ak-skel-l { height: 9px; border-radius: 5px; background: linear-gradient(90deg, #ECEDEF, #F5F5F3, #ECEDEF); background-size: 200% 100%; animation: ak-shim 1.4s ease-in-out infinite; }
@keyframes ak-shim { 0% { background-position: 100% 0 } 100% { background-position: -100% 0 } }
.ak-count { margin-bottom: 10px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.ak-result { padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.ak-result-top { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.ak-result-t { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; }
.ak-chip { display: inline-flex; align-items: center; gap: 4px; flex: 0 0 auto; font-size: 9.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #1F6E3D; background: #E2F2E8; border: 1px solid #C8E6D2; padding: 2px 7px; border-radius: 20px; white-space: nowrap; }
.ak-result-m { font-size: 12px; color: var(--muted); line-height: 1.45; }
.ak-result-at { margin-top: 2px; color: var(--muted-2); }
.ak-link { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 12px; font-weight: 500; color: var(--teal); text-decoration: underline transparent; text-underline-offset: 2px; transition: color .15s, text-decoration-color .15s; }
.ak-link svg { width: 12px; height: 12px; }
.ak-link.is-hover { color: #15544B; text-decoration-color: currentColor; }
.ak-q { margin-bottom: 10px; font-size: 13px; font-weight: 600; letter-spacing: -0.01em; }
.hx-answer-k { margin-bottom: 8px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hx-answer li { display: flex; gap: 9px; padding: 5px 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); transition: opacity .34s cubic-bezier(.2,.7,.3,1), transform .34s cubic-bezier(.2,.7,.3,1); }
.hx-answer li.pre { opacity: 0; transform: translateY(5px); }
.ak-step-n { flex: 0 0 14px; font-size: 11px; color: var(--muted-2); font-variant-numeric: tabular-nums; padding-top: 1px; }
.hx-answer .mono { font-size: 11.5px; }
.ak-cite { display: inline-flex; align-items: stretch; margin-left: 6px; vertical-align: 1px; border: 1px solid rgba(31,111,99,.28); border-radius: 11px; overflow: hidden; background: rgba(31,111,99,.08); white-space: nowrap; transition: background-color .2s, border-color .2s; }
.ak-cite-b { padding: 2px 7px; font-size: 10px; font-weight: 500; line-height: 1.5; color: #1A5C52; transition: background-color .15s; }
.ak-cite-c { display: inline-flex; align-items: center; padding: 2px 6px; border-left: 1px solid rgba(31,111,99,.24); color: #1A5C52; opacity: .72; }
.ak-cite-c svg { width: 10px; height: 10px; }
.ak-cite.is-hover .ak-cite-b { background: rgba(31,111,99,.14); }
.ak-cite.is-active { background: rgba(31,111,99,.2); border-color: rgba(31,111,99,.5); }

.hx-app .hx-link { position: absolute; inset: 0; z-index: 7; width: 100%; height: 100%; stroke: none; overflow: visible; pointer-events: none; }
.hx-link path { fill: none; stroke: var(--teal); stroke-width: 1.25; stroke-opacity: .7; stroke-dasharray: var(--len, 600); stroke-dashoffset: var(--len, 600); transition: stroke-dashoffset .3s ease-out; }
.hx-link circle { fill: var(--teal); opacity: 0; transition: opacity .2s ease .1s; }
.hx-link.is-drawn path { stroke-dashoffset: 0; }
.hx-link.is-drawn circle { opacity: .85; }

.hx-cursor { position: absolute; left: 0; top: 0; z-index: 9; width: 0; height: 0; opacity: 0; transition: opacity .2s ease; will-change: transform; }
.hx-cursor.is-on { opacity: 1; }
.hx-arrow { position: absolute; left: -2px; top: -1.6px; width: 18px !important; height: 22px !important; overflow: visible; transform-origin: 2px 2px; transition: transform .09s ease;
  fill: #15171A !important; stroke: #FFFFFF !important; stroke-width: 1.5 !important; paint-order: stroke; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.28)); }
.hx-cursor.is-press .hx-arrow { transform: scale(.9); }
.hx-ring { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; background: rgba(31,111,99,.2); opacity: 0; transform: scale(.2); }
.hx-cursor.is-click .hx-ring { animation: hx-ring .28s ease-out; }
@keyframes hx-ring { 0% { opacity: 1; transform: scale(.2); } 100% { opacity: 0; transform: scale(1.4); } }
.hx-touch { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; background: rgba(21,23,26,.18); border: 1.5px solid #FFFFFF; box-shadow: 0 1px 4px rgba(0,0,0,.2); display: none; opacity: 0; transform: scale(.7); transition: opacity .12s ease, transform .12s ease; }
.hx-app.is-compact .hx-arrow, .hx-app.is-compact .hx-ring { display: none; }
.hx-app.is-compact .hx-touch { display: block; }
.hx-cursor.is-touch .hx-touch { opacity: 1; transform: scale(1); }
.hx-cursor.is-touch.is-press .hx-touch { transform: scale(.82); }

.hx-figure.is-paused .ak-load-mark, .hx-figure.is-paused .ak-skel-l, .hx-figure.is-paused .hx-caret { animation-play-state: paused !important; }

@media (prefers-reduced-motion: reduce) {
  .hx-steps li, .hx-steps li::after, .hx-steps li span { transition: none; }
}

.ev2-sub { gap: 9px; }
.ev2-reveal {
  margin-left: auto; display: inline-flex; align-items: center; gap: 5px; flex: 0 0 auto;
  padding: 3px 9px 3px 7px; border-radius: 7px; border: 1px solid var(--line); background: var(--surface);
  font-size: 11.5px; font-weight: 500; color: var(--ink-2); transition: background-color .18s, border-color .18s, color .18s, transform .12s;
}
.ev2-reveal svg { width: 12px; height: 12px; color: var(--muted); }
.ev2-reveal.is-hover { background: var(--surface-2); border-color: #C9CCD1; }
.ev2-reveal.is-press { transform: scale(.96); }
.ev2.is-open .ev2-reveal { color: #1A5C52; border-color: rgba(31,111,99,.3); background: rgba(31,111,99,.06); }
.ev2-reveal-i, .ev2-reveal-u { display: inline-flex; }
.ev2.is-open .ev2-reveal-i { display: none; }
.ev2:not(.is-open) .ev2-reveal-u { display: none; }

.ev2-cited-note { right: 92px; top: 12px; }

.ev2-detail { grid-column: 2 / 4; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .42s cubic-bezier(.2,.7,.2,1); }
.ev2.is-open .ev2-detail { grid-template-rows: 1fr; }
.ev2-detail-in {
  min-height: 0; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0;
  margin-top: 0; border-radius: 10px; background: var(--surface); border: 1px solid transparent;
  opacity: 0; transition: opacity .3s ease .12s, margin-top .42s cubic-bezier(.2,.7,.2,1), border-color .3s;
}
.ev2.is-open .ev2-detail-in { opacity: 1; margin-top: 10px; border-color: rgba(31,111,99,.22); }
.evd-col { padding: 12px 14px 13px; min-width: 0; }
.evd-col--meta { border-left: 1px solid var(--line-2); background: #FAFAF8; }
.evd-k { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.evd-list { margin: 0; display: grid; gap: 6px; }
.evd-list > div { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; align-items: baseline; }
.evd-list dt { font-size: 11.5px; color: var(--muted); }
.evd-list dd { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--ink); min-width: 0; }
.evd-list .mono { font-size: 11.5px; }
.evd-list--meta dd { overflow-wrap: anywhere; }
.evd-list--meta .mono { font-size: 11px; }
.evd-flag { display: inline-flex; margin-left: 4px; padding: 1px 6px; border-radius: 5px; font-size: 10.5px; font-weight: 500; color: #7A4E14; background: #F6ECDD; border: 1px solid #ECD9BC; white-space: nowrap; }
.ev2.is-open { background: rgba(31,111,99,.045); }

.hx-drawer-slot.is-settled .ak-drawer { box-shadow: -10px 0 30px rgba(20,18,14,.14); }

.hx-app.is-compact { grid-template-columns: 0 minmax(0, 1fr); }
.hx-app.is-compact .hd-side { visibility: hidden; padding: 0; }
.hx-app.is-compact .hx-dash { padding: 16px 14px 24px; gap: 12px; }
.hx-app.is-compact .hd-h1 { font-size: 20px; }
.hx-app.is-compact .hd-sub { font-size: 12.5px; margin-top: 3px; }
.hx-app.is-compact .ak-kbd { display: none; }
.hx-app.is-compact .ak-trigger { padding: 12px 12px 12px 15px; }
.hx-app.is-compact .ak-trigger-p { font-size: 13px; }
.hx-app.is-compact .hd-card-pad { padding: 14px 15px; }
.hx-app.is-compact .hd-card-head { padding: 12px 15px; }
.hx-app.is-compact .hd-note { font-size: 12.5px; padding: 9px 11px; }
.hx-app.is-compact .hd-bar { margin: 14px 0; }
.hx-app.is-compact .hd-leg-v { font-size: 24px; }
.hx-app.is-compact .hd-stat-grid { gap: 10px; }
.hx-app.is-compact .hd-stat-v { font-size: 24px; margin-top: 6px; }
.hx-app.is-compact .hd-stat-v.sm { font-size: 22px; }
.hx-app.is-compact .hd-meta { display: none; }
.hx-app.is-compact .hx-rec-scroll { padding: 14px 14px 30px; }
.hx-app.is-compact .hx-rec-grid { margin-top: 14px; }
.hx-app.is-compact .ev2 { padding: 11px 12px; column-gap: 10px; }
.hx-app.is-compact .ev2-sub .ses-verifiable { display: none; }
.hx-app.is-compact .ev2-cited-note { display: none; }
.hx-app.is-compact .ev2-detail-in { grid-template-columns: minmax(0, 1fr); }
.hx-app.is-compact .evd-col--meta { border-left: 0; border-top: 1px solid var(--line-2); }
.hx-app.is-compact .evd-list > div { grid-template-columns: 66px minmax(0, 1fr); }
.hx-app.is-compact .hx-cite-echo { left: 0; right: 0; top: 0; border-radius: 0; border-width: 0 0 1px; padding: 9px 14px; box-shadow: 0 6px 14px -10px rgba(20,18,14,.25); }
.hx-app.is-compact .tp-long { display: none; }
.hx-app.is-compact .hx-drawer-slot { top: 8px; right: 8px; }
.hx-app.is-compact .ak-drawer { box-shadow: 0 10px 40px rgba(20,18,14,.22); }
.hx-app.is-compact .ak-q { font-size: 13.5px; }
.hx-app.is-compact .hx-answer li { font-size: 13px; }

.hx-app.is-narrow:not(.is-compact) .hx-rec-grid { grid-template-columns: minmax(0, 1fr); }
.hx-app.is-narrow .hx-rec-rail { display: none; }
.hx-app.is-narrow:not(.is-compact) .ev2-cited-note { display: inline; }
.ag-agent-row { justify-content: space-between; }
.ag-agent-m { font-size: 12px; color: var(--muted-2); }

.hx-rec-rail { visibility: hidden; }
.tp-short { display: none; }
.hx-app.is-compact .tp-short { display: inline; }
