@import url("../v2-layout.css?v=20261013-list-end1");

:root {
  color-scheme: light;
  --v2-canvas: var(--v2-surface-canvas);
  --v2-surface: oklch(0.988 0.004 245);
  --v2-surface-muted: oklch(0.972 0.006 245);
  --v2-agent-surface: oklch(0.95 0.022 242);
  --v2-line: oklch(0.885 0.009 245);
  --v2-line-strong: oklch(0.75 0.014 245);
  --v2-text: oklch(0.22 0.012 250);
  --v2-text-secondary: oklch(0.47 0.024 250);
  --v2-text-tertiary: oklch(0.61 0.02 250);
  --v2-agent: oklch(0.48 0.085 242);
  --v2-agent-strong: oklch(0.37 0.07 242);
  --v2-success: oklch(0.49 0.09 155);
  --page-bg: var(--v2-canvas);
  --surface: var(--v2-surface);
  --surface-muted: var(--v2-surface-muted);
  --line: var(--v2-line);
  --text: var(--v2-text);
  --text-secondary: var(--v2-text-secondary);
  --text-tertiary: var(--v2-text-tertiary);
  --agent: var(--v2-agent);
  --agent-strong: var(--v2-agent-strong);
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 12px;
  --shadow-float: 0 16px 40px oklch(0.22 0.018 250 / 0.14);
  font-family: Inter, "Noto Sans SC", "PingFang SC", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--page-bg); }
body { margin: 0; min-width: 320px; background: var(--page-bg); color: var(--text); font: 14px/1.55 Inter, "Noto Sans SC", "PingFang SC", system-ui, sans-serif; }
button, textarea, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }
button:focus-visible, textarea:focus-visible, a:focus-visible { outline: 2px solid var(--agent); outline-offset: 3px; }
.svg-defs, .visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.visually-hidden { margin: -1px; padding: 0; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.icon { width: 16px; height: 16px; flex: 0 0 auto; fill: currentColor; }

.site-header { position: sticky; top: 0; z-index: 20; height: 64px; background: var(--page-bg); }
.site-header.is-scrolled { box-shadow: inset 0 -1px var(--line); }
.site-header__inner { width: min(var(--v2-layout-shell), calc(100% - var(--v2-layout-gutter))); height: 100%; margin: 0 auto; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 18px; font-weight: 700; text-decoration: none; }
.brand__mark { width: 20px; height: 20px; }
.main-nav { display: flex; align-self: stretch; align-items: center; gap: 8px; }
.main-nav__link { min-height: 40px; padding: 0 14px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; color: var(--text-secondary); font-weight: 600; text-decoration: none; }
.main-nav__link:hover { background: var(--surface-muted); color: var(--text); }
.main-nav__link.is-current { background: var(--v2-nav-selected); color: var(--text); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.agent-identity { position: relative; }
.agent-identity__trigger { min-height: 40px; padding: 0 10px; border: 0; border-radius: var(--radius-sm); background: transparent; display: inline-flex; align-items: center; gap: 7px; font-weight: 400; cursor: pointer; }
.agent-identity__trigger:hover, .agent-identity__trigger[aria-expanded="true"] { background: var(--v2-nav-selected); }
.agent-identity__status { width: 16px; height: 16px; display: grid; place-items: center; }
.agent-identity__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--v2-success); }
.agent-identity__chevron { color: var(--text-tertiary); transition: transform 140ms ease; }
.agent-identity__trigger[aria-expanded="true"] .agent-identity__chevron { transform: rotate(180deg); }
.agent-identity__panel { position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; width: 320px; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-float); }
.agent-identity__section-label { margin: 0; padding: 10px 12px 7px; color: var(--text-tertiary); font-size: 11px; font-weight: 650; }
.agent-identity__current, .agent-identity__option { width: 100%; padding: 10px 12px; border-radius: var(--radius-sm); display: grid; grid-template-columns: 1fr auto; text-align: left; text-decoration: none; }
.agent-identity__current { position: relative; background: transparent; }
.agent-identity__current:hover, .agent-identity__option:hover { background: var(--surface-muted); }
.agent-identity__current strong, .agent-identity__option strong { font-size: 13px; }
.agent-identity__current .agent-identity__current-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.agent-identity__current-check { position: absolute; top: 50%; right: 12px; width: 16px; height: 16px; color: var(--text); transform: translateY(-50%); }
.agent-identity__current small, .agent-identity__option small { grid-column: 1 / -1; color: var(--text-secondary); font-size: 11px; }
.agent-identity__divider { height: 1px; margin: 8px 12px; background: color-mix(in oklch, var(--line) 54%, transparent); }
.agent-identity__option--single { display: flex; align-items: center; justify-content: space-between; }
.account-trigger { width: 40px; height: 40px; border-radius: 50%; background: oklch(0.925 0.009 245); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; }
.mobile-nav-toggle { display: none; }

.page { width: min(var(--v2-layout-index), calc(100% - var(--v2-layout-gutter))); margin: 0 auto; padding: 52px 0 80px; }
.eyebrow { margin: 0 0 7px; color: var(--text-tertiary); font-size: 12px; font-weight: 600; letter-spacing: .04em; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: 32px; line-height: 1.22; letter-spacing: -.024em; }
h2 { margin: 0; font-size: 20px; line-height: 1.35; letter-spacing: -.015em; }
h3 { margin: 0; font-size: 17px; line-height: 1.4; }

.explore-intro { width: min(800px, 100%); margin: 0 auto; text-align: center; transition: margin 200ms cubic-bezier(.22,1,.36,1), width 200ms cubic-bezier(.22,1,.36,1); }
.search-composer { margin-top: 28px; padding: 13px 14px 10px; border: 1px solid oklch(0.935 0.003 245); border-radius: 15px; background: var(--surface); box-shadow: 0 5px 18px oklch(0.22 0.014 250 / .06), 0 1px 3px oklch(0.22 0.014 250 / .03); text-align: left; transition: border-color 160ms ease, box-shadow 160ms ease; }
.search-composer:focus-within { border-color: oklch(0.86 0.007 245); box-shadow: 0 7px 22px oklch(0.22 0.014 250 / .075), 0 1px 3px oklch(0.22 0.014 250 / .04); }
.search-composer textarea { width: 100%; min-height: 76px; max-height: 160px; padding: 0 2px; border: 0; outline: 0; resize: none; overflow-y: auto; background: transparent; color: var(--text); font-size: 15px; line-height: 1.65; }
.search-composer textarea::placeholder { color: oklch(0.74 0.007 245); font-weight: 400; opacity: 1; }
.search-composer__footer { min-height: 34px; margin-top: 7px; display: flex; align-items: center; justify-content: flex-end; }
.submit-button { width: 34px; height: 34px; padding: 0; border: 0; border-radius: 50%; background: var(--text); color: oklch(0.988 0.004 245); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background 150ms ease, color 150ms ease, transform 100ms ease; }
.submit-button .icon { width: 20px; height: 20px; }
.submit-button:hover:not(:disabled) { background: oklch(0.31 0.015 250); }
.submit-button:active:not(:disabled) { transform: scale(.94); }
.submit-button:disabled { background: oklch(0.945 0.004 245); color: var(--text-tertiary); cursor: default; }
.submit-button.is-loading .icon { animation: submit-pulse 700ms ease-in-out infinite; }
@keyframes submit-pulse { 50% { transform: translateX(2px); opacity: .55; } }
.examples { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.examples button { min-height: 32px; padding: 0 11px; border: 0; border-radius: 7px; background: oklch(0.925 0.003 245); color: var(--text-secondary); cursor: pointer; }
.examples button:hover { background: oklch(0.905 0.004 245); color: var(--text); }

.clarification { width: min(800px, 100%); margin: 18px auto 0; padding: 18px; border-radius: var(--radius-md); background: var(--v2-agent-surface); }
.clarification p { margin: 0; }
.clarification div { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.clarification button { min-height: 34px; padding: 0 12px; border: 1px solid oklch(0.82 0.025 242); border-radius: 7px; background: var(--surface); cursor: pointer; }
.effective-query { margin-top: 18px; }
.effective-query__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; }
.quiet-action { min-height: 34px; padding: 0 7px; border: 0; border-radius: 6px; background: transparent; display: inline-flex; align-items: center; gap: 4px; color: var(--text-secondary); cursor: pointer; }
.quiet-action:hover { background: oklch(0.94 0.008 245); color: var(--text); }
.constraint-list { display: contents; }
.constraint-chip { min-height: 32px; padding: 0 4px 0 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; display: inline-flex; align-items: center; gap: 0; color: var(--text); font-size: 14px; font-weight: 500; }
.constraint-chip button { width: 22px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: transparent; display: grid; place-items: center; color: var(--text-tertiary); cursor: pointer; }
.constraint-chip button:hover { background: var(--surface-muted); color: var(--text); }
.constraint-chip .icon { width: 12px; height: 12px; }
.undo-action { min-height: 34px; padding: 0 7px; border: 0; border-radius: 6px; background: transparent; display: inline-flex; align-items: center; gap: 4px; color: var(--text-secondary); font-size: 13px; cursor: pointer; }
.undo-action:hover { background: oklch(0.94 0.008 245); color: var(--text); }

.results-section { min-height: calc(100vh - 112px); margin-top: 58px; scroll-margin-top: 92px; }
.results-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.results-heading > p { max-width: 520px; margin: 0 0 2px; color: var(--text-secondary); text-align: right; font-size: 13px; }
.results-mode { line-height: 1.5; }
.results-list { margin-top: 20px; display: grid; gap: 16px; }
.opportunity { padding: 22px; border-radius: var(--radius-md); background: var(--surface); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: start; }
.opportunity__heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.opportunity__title { color: inherit; text-decoration: none; }
.opportunity__title:hover { text-decoration: underline; text-underline-offset: 3px; }
.opportunity__company { margin: 5px 0 0; color: var(--text-tertiary); font-size: 12px; }
.opportunity__summary { max-width: 780px; margin: 13px 0 0; color: var(--text-secondary); }
.opportunity__meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 7px 17px; color: var(--text-secondary); font-size: 12px; }
.opportunity__meta span + span { position: relative; }
.opportunity__meta span + span::before { content: ""; position: absolute; left: -9px; top: 50%; width: 2px; height: 2px; border-radius: 50%; background: var(--text-tertiary); }
.opportunity__matches { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 7px; }
.match-tag { min-height: 25px; padding: 0 8px; border-radius: 6px; background: var(--v2-agent-surface); display: inline-flex; align-items: center; color: var(--agent-strong); font-size: 11px; line-height: 1; }
.opportunity__actions { align-self: center; display: flex; align-items: center; gap: 20px; }
.secondary-action, .primary-action { min-height: 38px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 400; cursor: pointer; }
.secondary-action { padding: 0 2px; border: 0; background: transparent; color: var(--text-secondary); }
.secondary-action:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.primary-action { min-width: 92px; padding: 0 14px; border: 0; background: var(--text); color: oklch(0.988 0.004 245); }
.primary-action:hover { background: oklch(0.31 0.015 250); }
.primary-action.is-loading { opacity: .6; cursor: wait; }
.intent-state { min-height: 38px; padding: 0 9px; display: inline-flex; align-items: center; color: var(--v2-success); font-size: 13px; }
.results-state { width: 100%; margin: 52px auto 0; padding: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.empty-illustration { width: 104px; height: 104px; flex: 0 0 auto; object-fit: contain; opacity: 0.84; user-select: none; }
.empty-state__copy h3 { font-size: 17px; }
.empty-state__copy p { margin: 7px 0 0; color: var(--text-secondary); }
.load-more-row { margin-top: 20px; display: flex; justify-content: center; }
.load-more { min-height: 40px; padding: 0 13px; border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--text-secondary); display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.load-more:hover { background: oklch(0.94 0.008 245); color: var(--text); }
.toast { position: fixed; z-index: 50; top: 88px; left: 50%; max-width: min(420px, calc(100vw - 32px)); padding: 12px 16px; transform: translateX(-50%); border-radius: var(--radius-sm); background: var(--text); color: oklch(0.985 0.004 245); box-shadow: var(--shadow-float); }

@media (max-width: 860px) {
  .results-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .results-heading > p { text-align: left; }
  .opportunity { grid-template-columns: 1fr; }
  .opportunity__actions { justify-content: flex-end; }
}
@media (max-width: 720px) {
  .site-header { height: auto; min-height: 60px; }
  .site-header__inner { width: calc(100% - var(--v2-layout-gutter-mobile)); min-height: 60px; flex-wrap: wrap; gap: 10px; }
  .mobile-nav-toggle { margin-left: auto; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); display: inline-flex; align-items: center; }
  .main-nav { order: 3; width: 100%; height: auto; padding: 8px 0 12px; display: none; }
  .main-nav.is-open { display: flex; }
  .header-actions { margin-left: 0; }
  .agent-identity { display: none; }
  .account-trigger { width: 36px; height: 36px; }
  .page { width: calc(100% - var(--v2-layout-gutter-mobile)); padding: 20px 0 56px; }
  .explore-intro { margin-top: 0; }
  h1 { font-size: 24px; line-height: 1.32; letter-spacing: -.016em; }
  h2 { font-size: 18px; line-height: 1.38; }
  h3, .empty-state__copy h3 { font-size: 16px; line-height: 1.4; }
  .search-composer { margin-top: 18px; padding: 13px 14px 10px; }
  .search-composer textarea { font-size: 15px; }
  .examples { gap: 6px; }
  .examples button { min-height: 30px; padding-inline: 10px; font-size: 12px; }
  .constraint-chip { min-height: 30px; font-size: 12px; }
  .match-tag { min-height: 23px; padding-inline: 7px; font-size: 10px; }
  .results-state { gap: 10px; }
  .empty-illustration { width: 88px; height: 88px; }
  .results-section { margin-top: 32px; }
  .opportunity { position: relative; padding: 18px 16px; }
  .opportunity__title::after { position: absolute; inset: 0; border-radius: var(--radius-md); content: ""; }
  .opportunity__title:focus-visible { outline: 0; }
  .opportunity__title:focus-visible::after { outline: 2px solid var(--agent); outline-offset: 2px; }
  .opportunity__actions { position: relative; z-index: 1; width: 100%; justify-content: flex-end; }
  .opportunity__actions > * { flex: 0 0 auto; }
  .opportunity__actions .secondary-action { display: none; }
  .opportunity__actions .primary-action { min-height: 40px; }
  .toast { top: 72px; max-width: calc(100vw - 32px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
