@layer components {
  .research-core {
    --rc-a: #76d9ff;
    --rc-b: #a69cff;
    --rc-c: #a8f0d0;
    --rc-deep: #122036;
    --rc-ink: var(--text-primary, #1d2521);
    --rc-soft: var(--text-secondary, #4f5b55);
    --rc-muted: var(--text-muted, #626d67);
    --rc-line: var(--divider, rgba(30, 39, 35, .1));
    --rc-focus: var(--focus-ring, #52695c);
    --rc-left-eye-x: -8.5%;
    --rc-left-eye-y: -3%;
    --rc-left-eye-scale-x: 1;
    --rc-left-eye-scale-y: 1;
    --rc-left-eye-opacity: 1;
    --rc-left-eye-angle: 0deg;
    --rc-right-eye-x: 8.5%;
    --rc-right-eye-y: -3%;
    --rc-right-eye-scale-x: 1;
    --rc-right-eye-scale-y: 1;
    --rc-right-eye-opacity: 1;
    --rc-right-eye-angle: 0deg;
    --rc-face-x: 0%;
    --rc-face-y: 0%;
    --rc-face-roll: 0deg;
    --rc-face-scale-x: 1;
    --rc-face-scale-y: 1;
    --rc-shell-x: 0px;
    --rc-shell-y: 0px;
    --rc-shell-roll: 0deg;
    --rc-shell-scale-x: 1;
    --rc-shell-scale-y: 1;
    --rc-light-x: 0px;
    --rc-light-y: 0px;
    --rc-orbit-roll: 0deg;
    --rc-orbit-scale-x: 1;
    --rc-orbit-y: 0px;
    --rc-seed-angle: 0deg;
    --rc-evidence-ratio: 0%;
    --rc-eye-open: 1;
    --rc-eye-size: 1;
    --rc-mouth-width: 9%;
    --rc-mouth-height: 4%;
    --rc-mouth-y: 65%;
    --rc-mouth-opacity: .52;
    --rc-mouth-fill: transparent;
    width: 100%;
    min-width: 0;
    padding: 22px 0;
    display: grid;
    grid-template-columns: minmax(132px, .64fr) minmax(220px, 1.45fr);
    gap: 16px 26px;
    align-items: center;
    overflow: clip;
    border-block: 1px solid var(--rc-line);
    color: var(--rc-ink);
    background: transparent;
    contain: layout paint style;
  }

  .research-core[data-palette="engineering"] { --rc-a: #75c8ff; --rc-b: #879cff; --rc-c: #ffc178; --rc-deep: #13223a; }
  .research-core[data-palette="research_support"] { --rc-a: #73dfc3; --rc-b: #78c8e8; --rc-c: #e5df8f; --rc-deep: #102a26; }
  .research-core[data-palette="finance"] { --rc-a: #e6cb78; --rc-b: #83d4b0; --rc-c: #90c8e0; --rc-deep: #302819; }
  .research-core[data-palette="industry"] { --rc-a: #ffaf7c; --rc-b: #d68ed9; --rc-c: #82ded4; --rc-deep: #321a2a; }
  .research-core[data-palette="governance"] { --rc-a: #aba4ff; --rc-b: #76cceb; --rc-c: #f2d184; --rc-deep: #211a38; }

  .research-core-visual {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .research-core-glyph {
    width: clamp(116px, 11vw, 144px);
    aspect-ratio: 1;
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
    touch-action: manipulation;
  }

  .research-core-field {
    position: absolute;
    inset: 13%;
    z-index: -2;
    border-radius: 50%;
    opacity: .3;
    background:
      radial-gradient(circle at 34% 29%, color-mix(in srgb, var(--rc-a) 74%, transparent), transparent 38%),
      radial-gradient(circle at 68% 68%, color-mix(in srgb, var(--rc-b) 58%, transparent), transparent 48%);
    filter: blur(13px);
  }

  .research-core-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 0;
    border: 1px solid color-mix(in srgb, var(--rc-a) 40%, transparent);
    border-inline-color: color-mix(in srgb, var(--rc-b) 48%, transparent);
    border-radius: 50%;
    opacity: .18;
    transform: translate(-50%, calc(-50% + var(--rc-orbit-y))) rotate(calc(var(--rc-seed-angle) + var(--rc-orbit-roll) + var(--rc-ring-angle, 0deg))) scaleX(var(--rc-orbit-scale-x));
  }

  .research-core-orbit::before {
    content: "";
    width: 4px;
    aspect-ratio: 1;
    position: absolute;
    left: -2px;
    top: 50%;
    margin-top: -2px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--rc-c) 84%, #fff);
    box-shadow: 0 0 7px color-mix(in srgb, var(--rc-c) 54%, transparent);
  }

  .research-core-orbit-1 { --rc-ring-angle: 11deg; width: 82%; height: 40%; opacity: .24; }
  .research-core-orbit-2 { --rc-ring-angle: 71deg; width: 79%; height: 39%; opacity: .2; }
  .research-core-orbit-3 { --rc-ring-angle: 126deg; width: 88%; height: 43%; opacity: .15; }
  .research-core-orbit-4 { --rc-ring-angle: 38deg; width: 94%; height: 56%; opacity: .1; }
  .research-core-orbit-5 { --rc-ring-angle: 96deg; width: 96%; height: 58%; opacity: .07; }
  .research-core[data-orbits="1"] .research-core-orbit:nth-of-type(n+2),
  .research-core[data-orbits="2"] .research-core-orbit:nth-of-type(n+3),
  .research-core[data-orbits="3"] .research-core-orbit:nth-of-type(n+4),
  .research-core[data-orbits="4"] .research-core-orbit:nth-of-type(n+5) { display: none; }

  .research-core-shell-motion {
    width: 70%;
    height: 68%;
    position: relative;
    z-index: 3;
    display: grid;
    place-items: center;
    animation: research-companion-breathe 6.2s ease-in-out infinite;
  }

  .research-core-reaction-motion {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
  }

  .research-core-vessel {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .66);
    border-radius: 48% 52% 51% 49% / 46% 47% 53% 54%;
    background:
      radial-gradient(circle at 31% 25%, rgba(255, 255, 255, .88) 0 5%, transparent 28%),
      radial-gradient(circle at 68% 74%, color-mix(in srgb, var(--rc-b) 58%, transparent), transparent 58%),
      linear-gradient(145deg, color-mix(in srgb, var(--rc-a) 82%, #fff), color-mix(in srgb, var(--rc-c) 69%, #fff));
    box-shadow:
      inset 11px 8px 20px rgba(255, 255, 255, .34),
      inset -11px -9px 20px color-mix(in srgb, var(--rc-deep) 20%, transparent),
      0 7px 18px color-mix(in srgb, var(--rc-deep) 12%, transparent),
      0 0 22px color-mix(in srgb, var(--rc-a) 24%, transparent);
    transform: translate3d(var(--rc-shell-x), var(--rc-shell-y), 0) rotate(var(--rc-shell-roll)) scale(var(--rc-shell-scale-x), var(--rc-shell-scale-y));
    transform-origin: 50% 54%;
  }

  .research-core-vessel::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: 8;
    border-radius: inherit;
    box-shadow: inset 1px 1px 1px rgba(255, 255, 255, .46), inset -1px -1px 1px rgba(24, 31, 50, .1);
    pointer-events: none;
  }

  .research-core-mantle {
    position: absolute;
    inset: -7%;
    border-radius: inherit;
    opacity: .74;
    background:
      radial-gradient(ellipse at 35% 25%, rgba(255, 255, 255, .44), transparent 27%),
      radial-gradient(ellipse at 68% 72%, color-mix(in srgb, var(--rc-b) 30%, transparent), transparent 56%);
    transform: translate3d(var(--rc-light-x), var(--rc-light-y), 0);
  }

  .research-core-face {
    position: absolute;
    inset: 0;
    z-index: 4;
    overflow: hidden;
    border-radius: inherit;
    transform: translate(var(--rc-face-x), var(--rc-face-y)) rotate(var(--rc-face-roll)) scale(var(--rc-face-scale-x), var(--rc-face-scale-y));
    transform-origin: center;
  }

  .research-core-eye {
    --rc-eye-tilt: 0deg;
    width: 11.5%;
    height: 20%;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 3;
    display: block;
    border-radius: 48% 52% 46% 54% / 53% 47% 55% 45%;
    transform-origin: center;
  }

  .research-core-eye-left {
    left: calc(50% + var(--rc-left-eye-x));
    top: calc(50% + var(--rc-left-eye-y));
    opacity: var(--rc-left-eye-opacity);
    transform: translate(-50%, -50%) rotate(var(--rc-left-eye-angle)) scale(var(--rc-left-eye-scale-x), var(--rc-left-eye-scale-y));
  }

  .research-core-eye-right {
    left: calc(50% + var(--rc-right-eye-x));
    top: calc(50% + var(--rc-right-eye-y));
    opacity: var(--rc-right-eye-opacity);
    transform: translate(-50%, -50%) rotate(var(--rc-right-eye-angle)) scale(var(--rc-right-eye-scale-x), var(--rc-right-eye-scale-y));
  }

  .research-core-eye b {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    border-radius: inherit;
    background: linear-gradient(180deg, color-mix(in srgb, var(--rc-deep) 82%, var(--rc-b)), color-mix(in srgb, #050a13 88%, var(--rc-a)));
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, .25), 0 0 7px color-mix(in srgb, var(--rc-a) 36%, transparent);
    transform: rotate(var(--rc-eye-tilt)) scale(var(--rc-eye-size), var(--rc-eye-open));
    transform-origin: center;
    animation: research-companion-blink 6.4s cubic-bezier(.2, .7, .3, 1) infinite;
  }

  .research-core-eye em {
    width: 22%;
    aspect-ratio: 1;
    position: absolute;
    left: 19%;
    top: 16%;
    border-radius: 50%;
    opacity: .58;
    background: rgba(255, 255, 255, .82);
    pointer-events: none;
  }

  .research-core-mouth {
    width: var(--rc-mouth-width);
    height: var(--rc-mouth-height);
    position: absolute;
    left: 50%;
    top: var(--rc-mouth-y);
    z-index: 3;
    border: 0;
    border-bottom: 2px solid color-mix(in srgb, var(--rc-deep) 78%, transparent);
    border-radius: 0 0 999px 999px;
    opacity: var(--rc-mouth-opacity);
    background: var(--rc-mouth-fill);
    transform: translate(-50%, -50%);
    transform-origin: center;
  }

  .research-core-highlight {
    width: 8%;
    aspect-ratio: 1;
    position: absolute;
    right: 19%;
    top: 15%;
    z-index: 5;
    border-radius: 50%;
    opacity: .86;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 0 9px rgba(255, 255, 255, .66);
    transform: translate3d(var(--rc-light-x), var(--rc-light-y), 0);
  }

  .research-core-emblem {
    width: 16%;
    aspect-ratio: 1;
    position: absolute;
    left: 50%;
    top: 13%;
    z-index: 5;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--rc-deep) 24%, transparent);
    border-radius: 50%;
    opacity: .46;
    transform: translateX(-50%);
  }

  .research-core-emblem b { width: 38%; height: 38%; display: block; border-radius: 50%; background: color-mix(in srgb, var(--rc-deep) 55%, transparent); }
  .research-core[data-topology="mechanical-aperture"] .research-core-emblem { border-radius: 32%; transform: translateX(-50%) rotate(45deg); }
  .research-core[data-topology="mechanical-aperture"] .research-core-emblem b { border-radius: 24%; }
  .research-core[data-topology="relay-petal"] .research-core-emblem { border-radius: 62% 38% 62% 38%; }
  .research-core[data-topology="relay-petal"] .research-core-emblem b { width: 28%; height: 56%; border-radius: 999px; }
  .research-core[data-topology="balanced-rings"] .research-core-emblem b { width: 66%; height: 66%; border: 1px solid color-mix(in srgb, var(--rc-deep) 54%, transparent); background: transparent; }
  .research-core[data-topology="domain-prism"] .research-core-emblem b { width: 58%; height: 54%; border-radius: 0; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
  .research-core[data-topology="evidence-compass"] .research-core-emblem { border-radius: 28%; transform: translateX(-50%) rotate(45deg); }
  .research-core[data-topology="evidence-compass"] .research-core-emblem b { border-radius: 50% 50% 10% 50%; }

  .research-core-evidence-node,
  .research-core-connection-node {
    width: 8px;
    aspect-ratio: 1;
    position: absolute;
    z-index: 7;
    border: 2px solid color-mix(in srgb, #fff 80%, transparent);
    border-radius: 50%;
    background: #89938e;
  }
  .research-core-evidence-node { right: 13%; bottom: 18%; }
  .research-core-connection-node { left: 14%; top: 20%; }
  .research-core[data-evidence="partial"] .research-core-evidence-node { background: #b88435; box-shadow: 0 0 10px rgba(184, 132, 53, .34); }
  .research-core[data-evidence="assessed"] .research-core-evidence-node { background: #2f9a6a; box-shadow: 0 0 10px rgba(47, 154, 106, .34); }
  .research-core[data-connection="online"] .research-core-connection-node { background: #2f9a6a; }
  .research-core[data-connection="connecting"] .research-core-connection-node,
  .research-core[data-connection="reconnecting"] .research-core-connection-node { background: #b88435; }
  .research-core[data-connection="offline"] .research-core-connection-node,
  .research-core[data-connection="error"] .research-core-connection-node { background: #b6423c; }

  .research-core[data-expression="listening"] { --rc-eye-size: 1.07; --rc-mouth-width: 6%; --rc-mouth-height: 6%; --rc-mouth-y: 66%; --rc-mouth-opacity: .66; --rc-mouth-fill: color-mix(in srgb, var(--rc-deep) 52%, transparent); }
  .research-core[data-expression="thinking"] { --rc-eye-open: .88; --rc-mouth-width: 5%; --rc-mouth-height: 5%; --rc-mouth-y: 64%; --rc-mouth-opacity: .48; --rc-mouth-fill: color-mix(in srgb, var(--rc-deep) 46%, transparent); }
  .research-core[data-expression="thinking"] .research-core-eye-left em { animation: research-companion-think 2.2s ease-in-out infinite alternate; }
  .research-core[data-expression="thinking"] .research-core-eye-right em { animation: research-companion-think 2.2s 1.1s ease-in-out infinite alternate; }
  .research-core[data-expression="working"] { --rc-eye-open: .96; --rc-mouth-width: 8%; --rc-mouth-y: 64%; --rc-mouth-opacity: .4; }
  .research-core[data-expression="speaking"] { --rc-eye-size: 1.03; --rc-mouth-width: 8%; --rc-mouth-height: 8%; --rc-mouth-y: 66%; --rc-mouth-opacity: .72; --rc-mouth-fill: color-mix(in srgb, var(--rc-deep) 55%, transparent); }
  .research-core[data-expression="speaking"] .research-core-mouth { border: 0; border-radius: 50%; animation: research-companion-speak 1.25s ease-in-out infinite; }
  .research-core[data-expression="requesting"] { --rc-eye-open: .82; --rc-mouth-width: 7%; --rc-mouth-height: 6%; --rc-mouth-y: 67%; --rc-mouth-opacity: .64; --rc-mouth-fill: color-mix(in srgb, var(--rc-deep) 48%, transparent); }
  .research-core[data-expression="requesting"] .research-core-eye-left { --rc-eye-tilt: 7deg; }
  .research-core[data-expression="requesting"] .research-core-eye-right { --rc-eye-tilt: -7deg; }
  .research-core[data-expression="celebrating"] { --rc-eye-open: .24; --rc-eye-size: 1.06; --rc-mouth-width: 17%; --rc-mouth-height: 10%; --rc-mouth-y: 63%; --rc-mouth-opacity: .74; }
  .research-core[data-expression="celebrating"] .research-core-reaction-motion { animation: research-companion-celebrate 620ms cubic-bezier(.2, .9, .3, 1) 1 both; }
  .research-core[data-expression="concerned"] { --rc-eye-open: .7; --rc-mouth-width: 12%; --rc-mouth-height: 7%; --rc-mouth-y: 70%; --rc-mouth-opacity: .66; }
  .research-core[data-expression="concerned"] .research-core-mouth { border-top: 2px solid color-mix(in srgb, var(--rc-deep) 78%, transparent); border-bottom: 0; border-radius: 999px 999px 0 0; }
  .research-core[data-expression="concerned"] .research-core-eye-left { --rc-eye-tilt: -7deg; }
  .research-core[data-expression="concerned"] .research-core-eye-right { --rc-eye-tilt: 7deg; }
  .research-core[data-expression="idle"][data-attention="contact"] .research-core-eye b,
  .research-core[data-expression="listening"][data-attention="contact"] .research-core-eye b { animation: research-companion-contact 520ms cubic-bezier(.18, .88, .32, 1) 1 both; }

  .research-core[data-runtime="awaiting_approval"] { --rc-c: #efb560; }
  .research-core[data-runtime="failed"] { --rc-a: #ee8b7f; --rc-b: #cc87a8; }
  .research-core[data-runtime="cancelled"] .research-core-glyph,
  .research-core[data-connection="offline"] .research-core-glyph { opacity: .76; }
  .research-core[data-control="approval_required"] .research-core-emblem { border-color: #c78636; opacity: .82; }
  .research-core[data-control="human_control"] .research-core-emblem { border-width: 2px; border-color: #4b73a4; opacity: .82; }
  .research-core[data-motion="active"] .research-core-vessel,
  .research-core[data-motion="active"] .research-core-face,
  .research-core[data-motion="active"] .research-core-eye,
  .research-core[data-motion="active"] .research-core-mantle,
  .research-core[data-motion="active"] .research-core-highlight,
  .research-core[data-motion="active"] .research-core-orbit { will-change: transform; }

  .research-core-evidence {
    width: min(124px, 90%);
    display: grid;
    gap: 5px;
    color: var(--rc-muted);
    font-size: 11px;
    text-align: center;
  }
  .research-core-evidence > span { height: 2px; overflow: hidden; background: color-mix(in srgb, var(--rc-ink) 10%, transparent); }
  .research-core-evidence > span i { width: var(--rc-evidence-ratio); height: 100%; display: block; background: linear-gradient(90deg, var(--rc-a), var(--rc-c)); }
  .research-core-evidence small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

  .research-core-copy { min-width: 0; align-self: center; }
  .research-core-kicker { display: block; margin-bottom: 5px; color: var(--rc-muted); font-size: 11px; font-weight: 740; letter-spacing: .11em; text-transform: uppercase; }
  .research-core-title-row { min-width: 0; display: flex; align-items: baseline; gap: 8px; }
  .research-core-title-row :is(h2, h3) { min-width: 0; margin: 0; overflow: hidden; color: var(--rc-ink); font-size: clamp(20px, 2.3vw, 28px); line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
  .research-core-release { flex: none; padding: 2px 6px; border: 1px solid var(--rc-line); border-radius: 999px; color: var(--rc-muted); font-size: 10px; }
  .research-core-copy > p { max-width: 700px; margin: 8px 0 10px; color: var(--rc-soft); font-size: 13px; line-height: 1.65; }
  .research-core-identity-line { display: flex; flex-wrap: wrap; gap: 5px 14px; color: var(--rc-soft); font-size: 11px; }
  .research-core-identity-line span { position: relative; }
  .research-core-identity-line span + span::before { content: ""; width: 3px; height: 3px; position: absolute; left: -8px; top: .55em; border-radius: 50%; background: var(--rc-line); }
  .research-core-identity-notice { display: block; margin-top: 10px; color: var(--rc-muted); font-size: 10px; line-height: 1.5; }

  .research-core-axes {
    grid-column: 1 / -1;
    margin: 0;
    padding: 13px 0 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--rc-line);
  }
  .research-core-axis { min-width: 0; padding: 0 12px; border-left: 1px solid var(--rc-line); }
  .research-core-axis:first-child { padding-left: 0; border-left: 0; }
  .research-core-axis dt { color: var(--rc-muted); font-size: 10px; letter-spacing: .08em; }
  .research-core-axis dd { margin: 4px 0 0; overflow: hidden; color: var(--rc-ink); font-size: 12px; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
  .research-core-axis dd::before { content: ""; width: 6px; height: 6px; margin-right: 6px; display: inline-block; border-radius: 50%; background: #89938e; vertical-align: 1px; }
  .research-core[data-runtime="planning"] .axis-runtime dd::before,
  .research-core[data-runtime="working"] .axis-runtime dd::before,
  .research-core[data-runtime="tool_running"] .axis-runtime dd::before,
  .research-core[data-runtime="reporting"] .axis-runtime dd::before,
  .research-core[data-runtime="completed"] .axis-runtime dd::before,
  .research-core[data-presence="available"] .axis-presence dd::before,
  .research-core[data-presence="active"] .axis-presence dd::before,
  .research-core[data-connection="online"] .axis-connection dd::before { background: #2f9a6a; }
  .research-core[data-runtime="awaiting_approval"] .axis-runtime dd::before,
  .research-core[data-control="approval_required"] .axis-control dd::before,
  .research-core[data-connection="reconnecting"] .axis-connection dd::before { background: #b88435; }
  .research-core[data-runtime="failed"] .axis-runtime dd::before,
  .research-core[data-connection="offline"] .axis-connection dd::before,
  .research-core[data-connection="error"] .axis-connection dd::before { background: #b6423c; }
  .research-core[data-control="human_control"] .axis-control dd::before { background: #4b73a4; }

  .research-core-action-note { grid-column: 1 / -1; padding: 10px 0; border-bottom: 1px solid var(--rc-line); color: var(--rc-soft); font-size: 12px; line-height: 1.55; }
  .research-core-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
  .research-core-actions[hidden] { display: none; }
  .research-core-actions button { min-height: 40px; padding: 8px 13px; border: 1px solid var(--rc-line); border-radius: 10px; color: var(--rc-ink); background: transparent; font: inherit; font-size: 12px; font-weight: 680; }
  .research-core-actions button:hover { background: color-mix(in srgb, var(--rc-ink) 5%, transparent); }
  .research-core-actions button:focus-visible { outline: 2px solid var(--rc-focus); outline-offset: 2px; }
  .research-core-actions button[data-research-core-action="approve"] { border-color: color-mix(in srgb, #2f9a6a 46%, transparent); color: #246d4d; }
  .research-core-actions button[data-research-core-action="reject"],
  .research-core-actions button[data-research-core-action="cancel"] { color: #963c36; }
  .research-core-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  .research-core[data-variant="compact"] { padding: 12px 0; grid-template-columns: 76px minmax(0, 1fr); gap: 10px 14px; }
  .research-core[data-variant="compact"] .research-core-glyph { width: 72px; }
  .research-core[data-variant="compact"] .research-core-shell-motion { width: 80%; height: 77%; animation: none; }
  .research-core[data-variant="compact"] .research-core-reaction-motion { animation: none; }
  .research-core[data-variant="compact"] .research-core-orbit-4,
  .research-core[data-variant="compact"] .research-core-orbit-5,
  .research-core[data-variant="compact"] .research-core-evidence,
  .research-core[data-variant="compact"] .research-core-copy > p,
  .research-core[data-variant="compact"] .research-core-identity-notice,
  .research-core[data-variant="compact"] .research-core-axes,
  .research-core[data-variant="compact"] .research-core-action-note { display: none; }
  .research-core[data-variant="compact"] .research-core-title-row :is(h2, h3) { font-size: 16px; }
  .research-core[data-variant="compact"] .research-core-kicker,
  .research-core[data-variant="compact"] .research-core-release,
  .research-core[data-variant="compact"] .research-core-identity-line { font-size: 12px; }

  .research-core[data-variant="inline"] { min-height: 52px; padding: 7px 0; grid-template-columns: 48px minmax(0, 1fr) minmax(90px, auto); gap: 8px 12px; border-block: 0; border-bottom: 1px solid var(--rc-line); }
  .research-core[data-variant="inline"] .research-core-glyph { width: 46px; }
  .research-core[data-variant="inline"] .research-core-glyph,
  .research-core[data-variant="inline"] .research-core-glyph * {
    animation: none !important;
    transition: none !important;
    will-change: auto !important;
  }
  .research-core[data-variant="inline"] .research-core-shell-motion { width: 84%; height: 80%; animation: none; }
  .research-core[data-variant="inline"] .research-core-reaction-motion { animation: none; }
  .research-core[data-variant="inline"] .research-core-field,
  .research-core[data-variant="inline"] .research-core-orbit,
  .research-core[data-variant="inline"] .research-core-emblem,
  .research-core[data-variant="inline"] .research-core-highlight,
  .research-core[data-variant="inline"] .research-core-evidence-node,
  .research-core[data-variant="inline"] .research-core-connection-node,
  .research-core[data-variant="inline"] .research-core-evidence,
  .research-core[data-variant="inline"] .research-core-copy > p,
  .research-core[data-variant="inline"] .research-core-identity-line,
  .research-core[data-variant="inline"] .research-core-identity-notice,
  .research-core[data-variant="inline"] .research-core-axis:not(.axis-runtime),
  .research-core[data-variant="inline"] .research-core-action-note { display: none; }
  .research-core[data-variant="inline"] .research-core-eye b,
  .research-core[data-variant="inline"] .research-core-eye em,
  .research-core[data-variant="inline"] .research-core-mouth { animation: none; }
  .research-core[data-variant="inline"] .research-core-title-row :is(h2, h3) { font-size: 14px; }
  .research-core[data-variant="inline"] .research-core-kicker { margin: 0; font-size: 9px; }
  .research-core[data-variant="inline"] .research-core-axes { grid-column: 3; grid-row: 1; padding: 0; display: block; border: 0; }
  .research-core[data-variant="inline"] .research-core-axis { padding: 0; border: 0; text-align: right; }
  .research-core[data-variant="inline"] .research-core-actions { grid-column: 1 / -1; }

  @keyframes research-companion-breathe {
    0%, 100% { transform: translateY(0) scale(1); }
    44% { transform: translateY(-1.2px) scale(1.008, .994); }
    67% { transform: translateY(.4px) scale(.997, 1.006); }
  }
  @keyframes research-companion-blink {
    0%, 91%, 95%, 100% { transform: rotate(var(--rc-eye-tilt)) scale(var(--rc-eye-size), var(--rc-eye-open)); }
    92.2%, 93.6% { transform: rotate(var(--rc-eye-tilt)) scale(var(--rc-eye-size), .08); }
  }
  @keyframes research-companion-contact {
    0% { transform: rotate(var(--rc-eye-tilt)) scale(var(--rc-eye-size), var(--rc-eye-open)); }
    18% { transform: rotate(var(--rc-eye-tilt)) scale(1.02, .08); }
    48% { transform: rotate(var(--rc-eye-tilt)) scale(1.34, 1.34); }
    100% { transform: rotate(var(--rc-eye-tilt)) scale(var(--rc-eye-size), var(--rc-eye-open)); }
  }
  @keyframes research-companion-think { from { opacity: .24; } to { opacity: .82; } }
  @keyframes research-companion-speak { 0%, 100% { transform: translate(-50%, -50%) scaleY(.72); } 50% { transform: translate(-50%, -50%) scaleY(1.16); } }
  @keyframes research-companion-celebrate { 0%, 100% { transform: translateY(0) scale(1); } 38% { transform: translateY(-5%) scale(1.035, .95); } 66% { transform: translateY(1.5%) scale(.985, 1.025); } }

  @media (max-width: 520px) {
    .research-core { padding: 16px 0; grid-template-columns: 96px minmax(0, 1fr); gap: 12px 14px; }
    .research-core-glyph { width: 92px; }
    .research-core-shell-motion { width: 78%; height: 75%; }
    .research-core-copy > p { max-height: 4.9em; overflow: hidden; }
    .research-core-title-row { align-items: flex-start; flex-direction: column; gap: 4px; }
    .research-core-title-row :is(h2, h3) { max-width: 100%; font-size: 19px; }
    .research-core-identity-line { gap: 4px 10px; }
    .research-core-identity-line span + span::before { display: none; }
    .research-core-axes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; }
    .research-core-axis { padding-inline: 10px; }
    .research-core-axis:nth-child(odd) { padding-left: 0; border-left: 0; }
    .research-core-axis dd { white-space: normal; }
    .research-core-actions { display: grid; grid-template-columns: 1fr; }
    .research-core-actions button { width: 100%; min-height: 44px; }
    .research-core[data-variant="inline"] { grid-template-columns: 44px minmax(0, 1fr); }
    .research-core[data-variant="inline"] .research-core-axes { grid-column: 2; grid-row: 2; text-align: left; }
    .research-core[data-variant="inline"] .research-core-axis { text-align: left; }
  }

  @media (max-width: 390px) {
    .research-core { grid-template-columns: 84px minmax(0, 1fr); gap-inline: 10px; }
    .research-core-glyph { width: 82px; }
    .research-core-shell-motion { width: 82%; height: 79%; }
    .research-core-evidence { width: 80px; }
    .research-core-kicker { letter-spacing: .07em; }
    .research-core-identity-notice { grid-column: 1 / -1; }
    .research-core-axes { gap-block: 10px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .research-core *,
    .research-core *::before,
    .research-core *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
    .research-core [class*="research-core-"] { will-change: auto !important; }
  }

  @media (forced-colors: active) {
    .research-core-field,
    .research-core-orbit,
    .research-core-mantle,
    .research-core-highlight,
    .research-core-emblem { display: none; }
    .research-core-vessel { border: 2px solid ButtonText; background: Canvas; box-shadow: none; forced-color-adjust: none; }
    .research-core-eye b { border: 0; background: ButtonText; box-shadow: none; forced-color-adjust: none; }
    .research-core-eye em { background: Canvas; forced-color-adjust: none; }
    .research-core-mouth { border-color: ButtonText !important; background: Canvas; forced-color-adjust: none; }
    .research-core-actions button { border-color: ButtonText; color: ButtonText; }
  }

  body.visual-motion-paused .research-core *,
  body.visual-motion-paused .research-core *::before,
  body.visual-motion-paused .research-core *::after { animation: none !important; transition: none !important; will-change: auto !important; }
}
