/* Orvok — aperçu agentique : le formulaire à gauche, l'agent au travail à droite. */
.try { padding: clamp(72px, 9vw, 128px) 0; background: #fff; scroll-margin-top: 40px; }
.try-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.try-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; align-items: stretch; }
.try-in { display: flex; flex-direction: column; padding: clamp(18px, 2.4vw, 28px); border-radius: 24px; background: var(--paper); }
.try-t { display: block; margin: 20px 0 8px; font-size: 13.5px; font-weight: 500; letter-spacing: -.012em; }
.try-in > .try-t:first-child { margin-top: 0; }
.try-samples { display: flex; flex-wrap: wrap; gap: 6px; }
.try-samples button { height: 34px; padding: 0 13px; border-radius: 999px; font-size: 13.5px; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .25s, color .25s; }
.try-samples button:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.try-samples button.on { background: var(--ink); color: #fff; box-shadow: none; }
#tryText { display: block; width: 100%; min-height: 168px; padding: 14px; border: 0; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); font: 13.5px/1.5 var(--font-mono); letter-spacing: -.02em; color: var(--ink); resize: vertical; }
#tryText:focus { outline: 2px solid var(--ink); outline-offset: 1px; }
.try-err { font-size: 13px; color: var(--no); }
.try-err:not(:empty) { margin-top: 8px; }
.try-seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 999px; background: #ecebe6; }
.try-seg i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--ink); transition: transform .6s var(--expo); }
.try-seg[data-level="1"] i { transform: translateX(100%); }
.try-seg[data-level="2"] i { transform: translateX(200%); }
.try-seg button { position: relative; z-index: 1; height: 38px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: color .3s; }
.try-seg button[aria-pressed="true"] { color: #fff; }
.try-note { min-height: 38px; margin-top: 8px; font-size: 13px; line-height: 1.4; color: var(--ink-2); }
.try-go { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.try-run { flex: 1 1 200px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 500; transition: opacity .25s; }
.try-run svg { width: 14px; height: 14px; }
.try-run:disabled { opacity: .45; }
.try-stop { flex: 0 1 auto; height: 48px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--no); box-shadow: inset 0 0 0 1px currentColor; transition: background .25s, color .25s; }
.try-stop[aria-pressed="true"] { background: var(--no); color: #fff; box-shadow: none; }
.try-priv { margin-top: 12px; font-size: 12.5px; line-height: 1.4; color: var(--ink-3); }

.try-out { display: flex; flex-direction: column; min-width: 0; min-height: 620px; padding: clamp(16px, 2vw, 24px); border-radius: 24px; background: var(--night); color: #f1f0ea; }
.try-ag { display: flex; align-items: center; gap: 12px; }
.try-vid { flex: none; width: 64px; height: 64px; overflow: hidden; border-radius: 16px; background: #000; }
.try-vid video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transform: scale(1.5); transform-origin: 50% 20%; }
.try-who { flex: 1; min-width: 0; }
.try-who b { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 30px; line-height: 1; letter-spacing: -.01em; }
.try-who small { display: block; margin-top: 4px; font-size: 13px; color: #a3a29b; }
.try-status { flex: none; display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 12px; letter-spacing: -.02em; color: #a3a29b; }
.try-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #5d5c56; }
.try-status.run::before { background: #e9c46a; }
.motion .try-status.run::before { animation: try-blink 1s ease-in-out infinite; }
.try-status.ok::before { background: #8fd6b8; }
.try-status.wait::before { background: #e9c46a; }
.try-status.no::before { background: #e8806b; }
@keyframes try-blink { 50% { opacity: .25; } }
.try-team { display: flex; gap: 6px; margin-top: 14px; }
.try-team span[data-agent] { opacity: .35; transition: opacity .4s; }
.try-team span[data-agent].on { opacity: 1; }
.idle .try-team span[data-agent] { opacity: 1; }
.try-empty { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 32px 16px; text-align: center; }
.try-empty p { font-family: var(--font-serif); font-style: italic; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.01em; }
.try-empty small { max-width: 36ch; margin-top: 10px; font-size: 14px; line-height: 1.4; color: #a3a29b; }
.try-out:not(.idle) .try-empty { display: none; }
.try-trace { display: grid; gap: 0; margin-top: 14px; }
.try-trace:empty { display: none; }
.try-step { position: relative; display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid #2b2c28; }
.motion .try-step { animation: try-in .5s var(--expo) both; }
@keyframes try-in { from { opacity: 0; transform: translateY(8px); } }
.try-step > div { flex: 1; min-width: 0; }
.try-dot { flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; box-shadow: inset 0 0 0 2px #5d5c56; }
.try-step.run .try-dot { box-shadow: inset 0 0 0 2px #e9c46a; }
.motion .try-step.run .try-dot { animation: try-blink .8s ease-in-out infinite; }
.try-step.ok .try-dot { background: #8fd6b8; box-shadow: none; }
.try-step.wait .try-dot { background: #e9c46a; box-shadow: none; }
.try-step.no .try-dot { background: #e8806b; box-shadow: none; }
.try-tool { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; }
.try-tool code { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: -.02em; color: #f1f0ea; overflow-wrap: anywhere; }
.try-risk { font-size: 11.5px; color: #8b8a83; }
.try-risk.r-external { color: #e9c46a; }
.try-say { margin-top: 2px; font-size: 14px; line-height: 1.4; color: #c7c6bf; overflow-wrap: anywhere; }
.try-why { margin-top: 4px; font-size: 12.5px; color: #e9c46a; }
.try-result { margin-top: 12px; }
.try-card { padding: 16px; border-radius: 16px; background: #fff; color: var(--ink); }
.motion .try-card { animation: try-in .7s var(--expo) both; }
.try-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.try-card h3 { min-width: 0; font-size: 19px; font-weight: 600; line-height: 1.15; letter-spacing: -.028em; }
.try-reason { margin-top: 8px; padding: 9px 11px; border-radius: 10px; font-size: 13.5px; line-height: 1.4; background: var(--paper); overflow-wrap: anywhere; }
.v-queue .try-reason { background: var(--wait-bg); color: var(--wait); }
.v-deny .try-reason { background: var(--no-bg); color: var(--no); }
.v-allow .try-reason { background: var(--ok-bg); color: var(--ok); }
.try-facts { display: grid; gap: 5px; margin-top: 12px; font-size: 13.5px; }
.try-facts div { display: flex; justify-content: space-between; gap: 16px; }
.try-facts dt { flex: none; color: var(--ink-3); }
.try-facts dd { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.try-lines { display: grid; gap: 6px; margin-top: 12px; font-size: 14px; line-height: 1.4; }
.try-lines li { padding-left: 14px; position: relative; overflow-wrap: anywhere; }
.try-lines li::before { content: ""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--ink-3); }
.try-sub { margin-top: 14px; font-size: 12.5px; color: var(--ink-3); }
.try-doc, .try-marked { max-height: 190px; margin-top: 5px; padding: 11px; overflow: auto; border-radius: 10px; background: var(--paper); font: 12.5px/1.5 var(--font-mono); letter-spacing: -.02em; white-space: pre-wrap; overflow-wrap: anywhere; }
.try-marked mark { padding: 0 2px; border-radius: 3px; background: #f3e2b0; color: inherit; }
.try-foot { margin-top: 10px; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.try-act { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.try-ok, .try-no { height: 42px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.try-ok { flex: 1 1 auto; background: var(--ink); color: #fff; }
.try-no { box-shadow: inset 0 0 0 1px var(--line-2); }
.try-done { font-size: 13.5px; line-height: 1.4; color: var(--ink-2); }
.try-log { margin-top: 12px; }
.try-log .try-t { margin: 0 0 4px; color: #a3a29b; font-weight: 400; }
.try-log li { display: flex; gap: 10px; padding: 6px 0; border-top: 1px solid #2b2c28; font-size: 13px; color: #c7c6bf; }
.try-log time { flex: none; font-family: var(--font-mono); font-size: 12px; color: #8b8a83; }
.try-legal { max-width: 78ch; margin-top: 14px; font-size: 13px; line-height: 1.45; color: var(--ink-3); }
.try-legal a { color: var(--ink); text-underline-offset: 3px; }
.is-stopped .try-run { background: var(--no); }
@media (max-width: 900px) {
  .try-grid { grid-template-columns: minmax(0, 1fr); }
  .try-out { min-height: 380px; scroll-margin-top: 90px; }
}
@media (max-width: 520px) {
  .try-ag { flex-wrap: wrap; }
  .try-status { flex-basis: 100%; }
}
@media (max-width: 380px) {
  .try-seg button { font-size: 12.5px; }
  .try-status { font-size: 11px; }
  .try-vid { width: 52px; height: 52px; }
  .try-who b { font-size: 26px; }
}
