/* An industrial request, the work behind it, and a reviewable result. */
#sr-landing .sr-agent-stories .sr-section-intro { margin-bottom: 40px; }
#sr-landing .sr-agent-stories .sr-section-intro > p { font-size: 16px; line-height: 1.7; }
#sr-landing .sr-scenario-tabs { display: flex; gap: 42px; border-bottom: 1px solid var(--sr-line); margin-bottom: 26px; }
#sr-landing .sr-scenario-tabs button { display: flex; align-items: center; gap: 12px; min-height: 54px; padding: 13px 0; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #a6acae; font-size: 15px; }
#sr-landing .sr-scenario-tabs button > span { font: .75rem 'Courier New', monospace; color: #7f8789; }
#sr-landing .sr-scenario-tabs button[aria-selected=true] { border-bottom-color: var(--sr-orange); color: var(--sr-ink); }
#sr-landing .sr-scenario-tabs button[aria-selected=true] > span { color: var(--sr-orange); }
#sr-landing .sr-story { border: 1px solid #333a3c; background: #121617; position: relative; }
#sr-landing .sr-story-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 25px 30px 0; }
#sr-landing .sr-story-top .sr-mono { color: #aeb5b7; font-size: .75rem; }
#sr-landing .sr-story-example { font-size: 12px; color: #858f91; }
#sr-landing .sr-story-scene { position: relative; display: grid; grid-template-columns: .78fr 1.22fr; gap: 34px; padding: 15px 30px 0; min-height: 485px; }
#sr-landing .sr-story-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
#sr-landing .sr-story-wires path { fill: none; stroke-width: 1; stroke: #465053; }
#sr-landing .sr-story-wires .sr-request-wire { stroke: #8b654e; opacity: .8; }
#sr-landing .sr-story-wires .sr-branch-wire { opacity: 0; stroke-dasharray: 1; stroke-dashoffset: 1; transition: opacity .6s, stroke .6s, stroke-dashoffset 1s; }
#sr-landing .sr-story-wires .sr-record-wire { opacity: 0; stroke-dasharray: 2 5; }
#sr-landing .sr-story-wires .sr-result-wire { opacity: 0; stroke: #c28c68; }
#sr-landing .sr-story-packet { fill: #f3a778; opacity: 0; }
#sr-landing .sr-request { position: relative; align-self: start; z-index: 1; padding-top: 42px; padding-bottom: 25px; min-width: 0; }
#sr-landing .sr-request-role { font: 12px 'Courier New', monospace; text-transform: uppercase; letter-spacing: .06em; color: #a5afb1; margin-bottom: 20px; }
#sr-landing .sr-request h3 { font-size: clamp(25px,2.65cqw,34px); line-height: 1.2; letter-spacing: -.035em; max-width: 400px; text-wrap: balance; }
#sr-landing .sr-request-context { margin-top: 19px; color: #a6b0b2; font-size: 15px; line-height: 1.7; max-width: 345px; }
#sr-landing .sr-request-sources { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 24px; max-width: 355px; }
#sr-landing .sr-request-sources > span { color: #b3bcbe; border: 1px solid #343e41; padding: 5px 8px; font-size: 12px; line-height: 1.5; background: #161c1e; }
#sr-landing .sr-request-port { width: max-content; max-width: 100%; display: flex; align-items: center; gap: 9px; margin-top: 22px; padding: 7px 10px 7px 0; font-size: 12px; color: #c9d0d1; background: #121617; }
#sr-landing .sr-request-port > span:first-child { width: 5px; height: 5px; background: var(--sr-orange); }
#sr-landing .sr-orchestration { position: relative; height: 470px; min-width: 0; z-index: 1; }
#sr-landing .sr-lead-agent { position: absolute; top: 21px; left: 50%; transform: translateX(-50%); width: 230px; display: flex; flex-direction: column; align-items: center; text-align: center; }
#sr-landing .sr-lead-orb { width: 70px; height: 70px; display: grid; place-items: center; border: 1px solid #b78b6c; border-radius: 50%; background: #202627; position: relative; margin-bottom: 12px; outline: 6px solid #121617; }
#sr-landing .sr-lead-orb > span { font-size: 19px; letter-spacing: -.04em; }
#sr-landing .sr-lead-orb > i { position: absolute; inset: 6px; border-radius: 50%; border: 1px solid #5c534b; }
#sr-landing .sr-lead-agent > strong { font-size: 15px; font-weight: 400; background: #121617; padding-inline: 6px; }
#sr-landing .sr-lead-agent > span { font-size: 12px; color: #aab4b7; margin-top: 5px; background: #121617; padding-inline: 6px; }
#sr-landing .sr-specialist-label { position: absolute; top: 177px; width: 100%; text-align: center; font: .75rem 'Courier New', monospace; letter-spacing: .13em; text-transform: uppercase; color: #899497; opacity: 0; transition: opacity .5s; }
#sr-landing .sr-specialist { position: absolute; top: 218px; width: 31%; padding: 0; display: flex; flex-direction: column; align-items: center; text-align: center; border: 0; color: #e5eae9; background: transparent; opacity: 0; transform: translateY(12px); transition: opacity .65s, transform .65s; z-index: 1; }
#sr-landing .sr-specialist:disabled { opacity: 0; }
#sr-landing .sr-specialist:nth-of-type(1) { left: 1%; transition-delay: 0ms; }
#sr-landing .sr-specialist:nth-of-type(2) { left: 34.5%; transition-delay: 100ms; }
#sr-landing .sr-specialist:nth-of-type(3) { right: 1%; transition-delay: 200ms; }
#sr-landing .sr-agent-orb { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #6a7a80; border-radius: 50%; font: 12px 'Courier New', monospace; background: #1c2427; margin-bottom: 12px; outline: 5px solid #121617; transition: border-color .4s, background .4s; }
#sr-landing .sr-specialist > strong { font-size: 14px; line-height: 1.4; font-weight: 400; background: #121617; padding-inline: 3px; min-height: 40px; }
#sr-landing .sr-agent-finding { font-size: 12px; color: #9daeb4; line-height: 1.55; min-height: 38px; max-width: 150px; margin-top: 4px; background: #121617; padding: 0 3px; }
#sr-landing .sr-source-token { width: 100%; max-width: 160px; min-height: 61px; display: flex; flex-direction: column; gap: 6px; align-items: center; justify-content: center; padding: 8px 5px; margin-top: 30px; border-top: 1px solid #526064; background: #182022; color: #acb8bb; font-size: .75rem; line-height: 1.3; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
#sr-landing .sr-record-mark { font: .75rem 'Courier New', monospace; letter-spacing: .06em; color: #d1dbdc; }
#sr-landing .sr-specialist[aria-expanded=true] .sr-agent-orb { border-color: var(--sr-orange); background: #382a20; }
#sr-landing .sr-specialist:not(:disabled):hover .sr-agent-orb { border-color: var(--sr-orange); }
#sr-landing .sr-story[data-phase="1"] .sr-specialist, #sr-landing .sr-story[data-phase="2"] .sr-specialist, #sr-landing .sr-story[data-phase="3"] .sr-specialist { opacity: 1; transform: translateY(0); }
#sr-landing .sr-story:not([data-phase="0"]):not([data-phase="4"]) .sr-specialist-label { opacity: 1; }
#sr-landing .sr-story:not([data-phase="0"]):not([data-phase="4"]) .sr-branch-wire { opacity: .85; stroke-dashoffset: 0; }
#sr-landing .sr-story[data-phase="2"] .sr-source-token, #sr-landing .sr-story[data-phase="3"] .sr-source-token { opacity: 1; transform: translateY(0); }
#sr-landing .sr-story[data-phase="2"] .sr-record-wire, #sr-landing .sr-story[data-phase="3"] .sr-record-wire { opacity: .7; }
#sr-landing .sr-story[data-phase="3"] .sr-agent-orb { border-color: #c48a62; }
#sr-landing .sr-story[data-phase="3"] .sr-agent-finding { color: #ead1bd; }
#sr-landing .sr-story[data-phase="3"] .sr-branch-wire { stroke: #967459; }
#sr-landing .sr-story[data-phase="4"] .sr-specialist { visibility: hidden; }
#sr-landing .sr-story[data-phase="4"] .sr-result-wire { opacity: .8; }
#sr-landing .sr-story-output { position: absolute; top: 175px; left: 2%; right: 2%; padding: 22px; border: 1px solid #596263; background: #1b2123; animation: sr-output-arrive .65s ease both; }
#sr-landing .sr-output-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: .75rem; color: #aebbbe; margin-bottom: 14px; }
#sr-landing .sr-output-heading > span:last-child { color: #dda57d; font: .75rem 'Courier New', monospace; text-transform: uppercase; letter-spacing: .1em; }
#sr-landing .sr-story-output h3 { font-size: 23px; letter-spacing: -.035em; line-height: 1.2; margin-bottom: 18px; max-width: 430px; }
#sr-landing .sr-output-rows { display: grid; gap: 0; }
#sr-landing .sr-output-row { display: grid; grid-template-columns: .85fr 1.65fr; gap: 16px; padding: 7px 0; border-top: 1px solid #364144; font-size: 12px; line-height: 1.45; }
#sr-landing .sr-output-row > span:first-child { color: #a0b1b7; }
#sr-landing .sr-output-row > span:last-child { color: #d8e1e2; }
#sr-landing .sr-story[data-scenario="engineering"] .sr-output-row { grid-template-columns: 1fr; gap: 4px; padding: 7px 0 7px 20px; position: relative; }
#sr-landing .sr-story[data-scenario="engineering"] .sr-output-row:before { content: ''; position: absolute; left: 0; top: 12px; border: 1px solid #7e9197; width: 8px; height: 8px; }
#sr-landing .sr-story[data-scenario="engineering"] .sr-output-row > span:first-child { display: none; }
#sr-landing .sr-story[data-scenario="operations"] .sr-output-row:first-child > span:first-child { color: #e0e7e5; }
#sr-landing .sr-story[data-scenario="operations"] .sr-output-row:nth-child(2) > span:first-child { color: #e7b28d; }
#sr-landing #sr-output-note { color: #a7b7bd; font-size: 12px; line-height: 1.5; margin-top: 14px; }
#sr-landing .sr-human-gate { border-top: 1px solid #4a4c48; padding-top: 12px; margin-top: 16px; display: flex; gap: 10px; align-items: center; }
#sr-landing .sr-human-gate > span { color: var(--sr-orange); font-size: 17px; line-height: 1; }
#sr-landing .sr-human-gate p { font-size: 12px; color: #e6cdb7; line-height: 1.5; }
#sr-landing .sr-evidence { margin-top: 23px; padding: 17px; border-left: 1px solid #b38462; background: #1a2022; max-width: 375px; }
#sr-landing .sr-evidence-heading { display: flex; align-items: center; justify-content: space-between; gap: 14px; font-size: 12px; color: #dde6e7; }
#sr-landing .sr-evidence-heading button { border: 0; background: transparent; color: #afbdc2; font-size: 22px; width: 28px; height: 28px; }
#sr-landing .sr-evidence dl { margin: 10px 0; }
#sr-landing .sr-evidence dl > div { display: flex; justify-content: space-between; gap: 15px; font-size: 12px; border-top: 1px solid #354145; padding: 7px 0; }
#sr-landing .sr-evidence dt { color: #a1b2b9; }
#sr-landing .sr-evidence dd { margin: 0; text-align: right; color: #e0e7e8; }
#sr-landing #sr-evidence-note { font-size: 12px; line-height: 1.6; color: #aebec4; }
#sr-landing .sr-story-narrative { display: flex; gap: 22px; padding: 27px 30px; border-top: 1px solid #343e42; min-height: 120px; background: #151c1f; position: relative; z-index: 2; }
#sr-landing .sr-story-count { font: .75rem 'Courier New', monospace; letter-spacing: .05em; color: var(--sr-orange); flex-shrink: 0; padding-top: 5px; }
#sr-landing .sr-story-narrative h3 { font-size: 22px; line-height: 1.25; margin-bottom: 9px; letter-spacing: -.025em; }
#sr-landing .sr-story-narrative p { font-size: 14px; line-height: 1.6; color: #aebbc0; max-width: 810px; }
#sr-landing .sr-story-controls { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 16px 30px; border-top: 1px solid #343e42; }
#sr-landing .sr-story-play { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #7b8588; background: #ecf0ed; color: #111719; min-height: 42px; padding: 10px 15px; font-size: 12px; min-width: 163px; }
#sr-landing .sr-play-symbol { font-size: .75rem; }
#sr-landing .sr-story-chapters { display: flex; gap: 19px; }
#sr-landing .sr-story-chapters button { padding: 7px 0; border: 0; background: transparent; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; color: #8e9ea5; font-size: .75rem; line-height: 1.3; min-height: 40px; }
#sr-landing .sr-story-chapters button > span { color: #75878f; font: .75rem 'Courier New', monospace; }
#sr-landing .sr-story-chapters button[aria-current="step"] { color: #eef3f2; }
#sr-landing .sr-story-chapters button[aria-current="step"] > span { color: var(--sr-orange); }
#sr-landing .sr-story-chapters button.is-complete > span { color: #c0a28a; }
#sr-landing .sr-story-next { display: flex; gap: 12px; align-items: center; color: #c8d2d6; border: 0; background: transparent; padding: 10px 0 10px 12px; font-size: 12px; min-height: 42px; }
#sr-landing .sr-story-footer { display: flex; align-items: start; justify-content: space-between; gap: 35px; margin-top: 20px; }
#sr-landing .sr-story-footer > p { font-size: 12px; line-height: 1.65; color: #8b9b9f; max-width: 550px; }
#sr-landing .sr-story-footer > a { flex-shrink: 0; font-size: 13px; }
#sr-landing .sr-story[data-reduced-motion=true] *, #sr-landing .sr-story[data-reduced-motion=true] *:before { animation: none!important; transition: none!important; }
@keyframes sr-output-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@container (min-width: 1250px) { #sr-landing .sr-story-scene { gap: 60px; padding-inline: 36px; } #sr-landing .sr-request { padding-top: 49px; } #sr-landing .sr-specialist > strong { font-size: 15px; } #sr-landing .sr-agent-finding { font-size: 13px; max-width: 180px; } }
@container (max-width: 920px) {
  #sr-landing .sr-story-scene { grid-template-columns: 1fr; gap: 8px; padding-inline: 25px; }
  #sr-landing .sr-request { padding-top: 25px; padding-bottom: 0; display: grid; grid-template-columns: 1.1fr .9fr; gap: 0 35px; }
  #sr-landing .sr-request-role { grid-column: 1/-1; margin-bottom: 15px; }
  #sr-landing .sr-request h3 { font-size: 28px; grid-row: span 2; }
  #sr-landing .sr-request-context { margin-top: 0; font-size: 14px; }
  #sr-landing .sr-request-sources { margin-top: 12px; gap: 5px; }
  #sr-landing .sr-request-port { margin-top: 15px; }
  #sr-landing .sr-evidence { grid-column: 1/-1; max-width: none; }
  #sr-landing .sr-orchestration { height: 490px; }
  #sr-landing .sr-story-output { left: 8%; right: 8%; }
  #sr-landing .sr-story-controls { gap: 20px; flex-wrap: wrap; }
  #sr-landing .sr-story-chapters { order: 3; justify-content: space-between; width: 100%; border-top: 1px solid #303c41; padding-top: 12px; gap: 10px; }
  #sr-landing .sr-story-chapters button { font-size: 12px; }
  #sr-landing .sr-story-footer { flex-wrap: wrap; gap: 10px; }
}
@container (max-width: 540px) {
  #sr-landing .sr-agent-stories .sr-section-intro > p { font-size: 15px; }
  #sr-landing .sr-scenario-tabs { gap: 0; justify-content: space-between; margin-bottom: 20px; }
  #sr-landing .sr-scenario-tabs button { flex: 1; font-size: 12px; justify-content: center; min-height: 54px; padding: 10px 5px; }
  #sr-landing .sr-scenario-tabs button > span { display: none; }
  #sr-landing .sr-story-top { flex-direction: column; align-items: flex-start; gap: 7px; padding: 20px 18px 0; }
  #sr-landing .sr-story-example { font-size: .75rem; }
  #sr-landing .sr-story-scene { padding-inline: 17px; gap: 0; }
  #sr-landing .sr-request { display: block; padding-top: 28px; }
  #sr-landing .sr-request h3 { font-size: 27px; max-width: none; }
  #sr-landing .sr-request-role { font-size: .75rem; margin-bottom: 14px; }
  #sr-landing .sr-request-context { margin-top: 15px; font-size: 14px; }
  #sr-landing .sr-request-sources { margin-top: 15px; }
  #sr-landing .sr-request-sources > span { font-size: .75rem; padding: 5px 6px; }
  #sr-landing .sr-request-port { font-size: .75rem; }
  #sr-landing .sr-orchestration { height: 475px; }
  #sr-landing .sr-lead-agent { top: 32px; }
  #sr-landing .sr-lead-orb { width: 61px; height: 61px; margin-bottom: 10px; }
  #sr-landing .sr-specialist-label { top: 175px; font-size: .75rem; }
  #sr-landing .sr-specialist { top: 212px; width: 31%; }
  #sr-landing .sr-specialist > strong { font-size: 12px; min-height: 37px; }
  #sr-landing .sr-agent-orb { width: 37px; height: 37px; font-size: .75rem; }
  #sr-landing .sr-agent-finding { font-size: .75rem; min-height: 53px; }
  #sr-landing .sr-source-token { padding: 8px 4px; font-size: .75rem; min-height: 72px; margin-top: 28px; }
  #sr-landing .sr-record-mark { font-size: .75rem; letter-spacing: 0; }
  #sr-landing .sr-story-output { top: 168px; left: -4px; right: -4px; padding: 17px; }
  #sr-landing .sr-story-output h3 { font-size: 22px; margin-bottom: 14px; }
  #sr-landing .sr-output-heading { font-size: .75rem; }
  #sr-landing .sr-output-row { font-size: .75rem; gap: 12px; }
  #sr-landing #sr-output-note { font-size: .75rem; line-height: 1.55; }
  #sr-landing .sr-human-gate p { font-size: .75rem; }
  #sr-landing .sr-story-narrative { padding: 23px 18px; gap: 13px; }
  #sr-landing .sr-story-count { font-size: .75rem; padding-top: 3px; }
  #sr-landing .sr-story-narrative h3 { font-size: 19px; }
  #sr-landing .sr-story-narrative p { font-size: 13px; }
  #sr-landing .sr-story-controls { padding: 17px 18px; gap: 16px; }
  #sr-landing .sr-story-play { min-width: 160px; font-size: 12px; min-height: 44px; }
  #sr-landing .sr-story-next { min-height: 44px; }
  #sr-landing .sr-story-chapters { gap: 4px; }
  #sr-landing .sr-story-chapters button { font-size: .75rem; min-height: 44px; }
  #sr-landing .sr-evidence-heading button { min-height: 44px; min-width: 44px; }
  #sr-landing .sr-story-footer > p { font-size: .75rem; }
}
@media(prefers-reduced-motion:reduce) { #sr-landing .sr-agent-stories * { animation: none!important; transition: none!important; } }
