/* Match the approved reference: aligned cover panels, quiet chapter rail, compact first card. */
.nexus-case-page #ai-workflow>.wrap.ai-case {width:min(1440px,calc(100% - 96px));max-width:none;padding:0}
.nexus-case-page #evaluation-agent.agent-focus-carousel {--agent-ease:cubic-bezier(.16,1,.3,1);--agent-contact:0 2px 6px #183e7312;--agent-depth:0 18px 40px #183e731a;border:0;border-radius:0;background:#fff;padding:0;overflow:visible;font-family:"Portfolio Sans","Microsoft YaHei",sans-serif}
.nexus-case-page #evaluation-agent.agent-focus-carousel ::selection {background:#dcecff;color:#122036}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-carousel-surface {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,4.4fr) minmax(0,1fr);gap:16px;height:auto!important;min-height:0;max-height:none;overflow:visible;padding:0!important;align-items:stretch}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-carousel-bar {grid-column:1 / -1;grid-row:1;display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0;border-bottom:1px solid #d7e3f0;background:#fff;position:relative}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-tabs {display:flex;align-items:stretch;gap:32px;width:auto;margin:0}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-tabs button {font-size:16px;line-height:1.6;font-weight:500;letter-spacing:0;white-space:nowrap;padding:14px 0;color:#526882;transition:color 160ms ease}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-tabs button:hover {color:#007aff}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-tabs button>span {display:none}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-tabs button[aria-selected="true"] {color:#122036;font-weight:650}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-tabs button[aria-selected="true"]::after {height:2px;bottom:-1px;background:#122036}
.nexus-case-page #evaluation-agent.agent-focus-carousel.agent-indicator-ready .agent-tabs button::after {display:none}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-tab-indicator {position:absolute;left:0;width:1px;height:2px;background:#122036;transform-origin:left center;pointer-events:none;z-index:4}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-pagination {position:static;display:flex;align-items:center;gap:10px;margin:0;flex-shrink:0}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-page-count {position:static;transform:none;letter-spacing:0;font-size:14px;line-height:1.5;color:#526882;margin:0 8px 0 0;font-variant-numeric:tabular-nums;min-width:3.4em}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-pagination button {position:static;width:44px;height:44px;box-shadow:0 1px 3px #183e7307;border:1px solid #d7e3f0;background:#fff;color:#122036;transform:none;transition:background 160ms ease,border-color 160ms ease,box-shadow 180ms ease,transform 140ms var(--agent-ease)}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-pagination button:hover {background:#edf5ff;border-color:#9ac4ff}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-pagination button:active {transform:scale(.94);box-shadow:inset 0 1px 3px #183e7312}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-pagination svg {width:20px;height:20px;stroke-width:1.7}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-unit {display:none!important}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-unit[data-position="center"] {display:flex!important;grid-column:2;grid-row:2;position:relative!important;inset:auto!important;left:auto!important;top:auto!important;width:100%;height:auto!important;min-height:0!important;max-height:none!important;padding:28px 30px!important;background:#fff;border:1px solid #d9e4ef;border-radius:8px;box-shadow:var(--agent-contact),var(--agent-depth);transform:none;opacity:1;overflow:visible!important;overscroll-behavior:auto;animation:none!important;transition:none;align-self:stretch;margin:0}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-unit[data-exiting="true"] {display:flex!important;position:absolute!important;inset:auto!important;left:var(--agent-exit-left)!important;top:var(--agent-exit-top)!important;width:var(--agent-exit-width)!important;height:var(--agent-exit-height)!important;max-height:none!important;padding:28px 30px!important;background:#fff;border:1px solid #d9e4ef;border-radius:8px;box-shadow:var(--agent-contact),var(--agent-depth);transform:none;opacity:1;pointer-events:none;overflow:hidden!important;z-index:4;animation:none!important;transition:none}
/* All three panels share the same grid row. No inset or scale changes their height. */
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit {position:relative;grid-row:2;align-self:stretch;top:auto;left:auto;right:auto;width:100%;height:auto;min-height:0;max-height:none;margin:0;display:flex;flex-direction:column;align-items:flex-start;padding:28px 22px;text-align:left;border:1px solid #dde6f0;border-radius:8px;background:#eaf0f5;color:#435c78;box-sizing:border-box;cursor:pointer;font-family:inherit;overflow:hidden;isolation:isolate;z-index:1;transform:none;box-shadow:0 2px 5px #183e730b,inset 0 1px 0 #ffffffc9;transition:border-color 180ms ease,box-shadow 200ms ease}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit.left {grid-column:1}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit.right {grid-column:3}
/* Cover art reuses the approved light-and-shadow images. It is decorative, never business evidence. */
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit::before {content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;background-image:linear-gradient(180deg,#f3f7fbe8 0%,#f3f7fb99 34%,#f3f7fb40 62%,#f3f7fbe8 100%),url("shots/portfolio/nexus-cover.webp");background-size:cover,auto 100%;background-position:center,78% center;background-repeat:no-repeat;transform:scale(1);transition:transform 500ms var(--agent-ease)}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit::after {content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;box-shadow:inset 0 1px 0 #ffffffed,inset 0 -1px 0 #b9cce04d;border-radius:inherit}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit.right::before {background-image:linear-gradient(180deg,#eef6ffe8 0%,#eef6ff91 34%,#eef6ff4d 62%,#eef6ffe8 100%),url("shots/portfolio/overview-hero.webp");background-position:center,25% center}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit:hover::before {transform:scale(1.035)}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-title {display:block;font-size:16px;line-height:1.65;font-weight:500;max-width:7em}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-title>span {display:block}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-action {position:absolute;top:50%;left:22px;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;border:1px solid #d7e2ee;border-radius:50%;background:#fff;color:#122036;box-shadow:0 2px 4px #183e730e,0 7px 18px #183e731a;transition:box-shadow 200ms ease,border-color 160ms ease,color 160ms ease,transform 160ms var(--agent-ease)}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-action::before {content:"";position:absolute;width:13px;height:1.5px;background:currentColor}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-action::after {content:"";width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:translateX(3px) rotate(45deg)}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit.left .agent-peek-action::after {transform:translateX(-3px) rotate(-135deg)}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-note {display:block;margin-top:auto;padding-top:90px;font-size:13px;line-height:1.85;font-weight:400;max-width:10em}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit:hover {border-color:#b6cde5;box-shadow:0 3px 10px #183e7312,inset 0 1px 0 #ffffffed}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit:hover .agent-peek-action {border-color:#9ac4ff;color:#007aff;box-shadow:0 3px 6px #183e7312,0 9px 22px #183e7326;transform:translate(2px,-50%)}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit.left:hover .agent-peek-action {transform:translate(-2px,-50%)}
.nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit:active .agent-peek-action {transform:translateY(-50%) scale(.94);box-shadow:0 1px 3px #183e731a}
.nexus-case-page #evaluation-agent.agent-focus-carousel button:focus-visible {outline:2px solid #007aff;outline-offset:4px}
/* First card hierarchy follows the reference. Full scope remains available in native details. */
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .unit-heading h2 {font-size:26px;line-height:1.4;letter-spacing:-.015em;margin:0;font-weight:650}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-story {flex:none;justify-content:flex-start;gap:0;margin:22px 0 0;padding:0}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-goals {display:grid;grid-template-columns:1fr 1fr;gap:26px}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-goals article+article {border-left:1px solid #d7e3f0;border-top:0;padding:0 0 0 26px}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-goals span {font-size:14px;line-height:1.6;color:#526882}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-goals h3 {font-size:21px;line-height:1.4;margin:6px 0 8px;font-weight:650}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-goals p {font-size:15px;line-height:1.75;margin:0;color:#526882}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-key-choice {border-top:1px solid #d7e3f0;margin:22px 0 0;padding:16px 0 0}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-key-choice h3 {font-size:15px;line-height:1.6;margin:0 0 5px;padding-left:12px;position:relative;color:#122036;font-weight:650}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-key-choice h3::before {content:"";position:absolute;left:0;top:7px;width:2px;height:12px;background:#a1b9d0}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-key-choice p {font-size:15px;line-height:1.75;color:#526882;margin:0;padding-left:12px}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-detail {margin:12px 0 0;padding:0;border:0}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-detail>summary {font-size:13px;line-height:1.7;color:#526882;cursor:pointer;padding:5px 0;min-height:44px;list-style:none;display:flex;align-items:center;gap:8px;width:fit-content;transition:color 160ms ease}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-detail>summary:hover {color:#007aff}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-detail>summary::-webkit-details-marker {display:none}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-detail>summary::before {content:"";width:10px;height:10px;flex-shrink:0;background:linear-gradient(currentColor,currentColor) center/10px 1px no-repeat,linear-gradient(currentColor,currentColor) center/1px 10px no-repeat;transition:transform 160ms var(--agent-ease)}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-detail[open]>summary::before {transform:rotate(45deg)}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-detail>summary:focus-visible {outline:2px solid #007aff;outline-offset:3px}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-choice {padding:20px;margin:12px 0 0;border-radius:6px;background:#f5f9ff}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-choice h3 {font-size:20px;line-height:1.5;margin:0 0 10px}
.nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-choice>p {font-size:15px;line-height:1.75;margin:8px 0 0}
@media(max-width:1000px) {
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-carousel-surface {grid-template-columns:minmax(0,1fr) minmax(0,5.6fr) minmax(0,1fr);gap:14px 12px}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-carousel-bar {flex-wrap:wrap;gap:0 16px}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-tabs {width:100%;gap:24px}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-pagination {margin:8px 0 10px auto}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-unit[data-position="center"] {padding:24px!important}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-unit[data-exiting="true"] {padding:24px!important}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit {padding:22px 14px}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-title {font-size:14px}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-action {left:14px}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-note {font-size:12px}
}
@media(max-width:680px) {
  .nexus-case-page #ai-workflow>.wrap.ai-case {width:calc(100% - 32px)}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-carousel-surface {grid-template-columns:44px minmax(0,1fr) 44px;gap:12px 8px}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-tabs {gap:14px;justify-content:space-between}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-tabs button {flex:1;font-size:13px;line-height:1.6;white-space:normal;text-align:left;padding:12px 0}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-unit[data-position="center"] {padding:18px!important}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-unit[data-exiting="true"] {padding:18px!important}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit {padding:0;border-radius:6px}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-action {left:0;width:42px;height:42px;box-shadow:none}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-title,
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-note {display:none}
  .nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .unit-heading h2 {font-size:22px}
  .nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-story {margin-top:18px}
  .nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-goals {grid-template-columns:1fr;gap:16px}
  .nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-goals article+article {border-left:0;border-top:1px solid #d7e3f0;padding:16px 0 0}
  .nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-goals h3 {font-size:19px}
  .nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-choice {padding:16px}
}
@media(prefers-reduced-motion:reduce) {
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit::before,
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-action,
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-pagination button,
  .nexus-case-page #evaluation-agent.agent-focus-carousel #agent-cycle .agent-scope-detail>summary::before {transition:none}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit:hover::before {transform:none}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit:hover .agent-peek-action,
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-peek-hit:active .agent-peek-action {transform:translateY(-50%)}
  .nexus-case-page #evaluation-agent.agent-focus-carousel .agent-pagination button:active {transform:none}
}
