/* Operations: incident management and illustrative data, scoped to this template. */
.sr-operations-v2 { margin-block-start: 0; background: var(--sr-white); }
.sr-operations-v2 + footer { margin-block-start: 0; }
.so-hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; gap: 36px; padding-block: 76px 88px; }
.so-copy, .so-stage { min-width: 0; }
.so-hero h1 { margin: 0 0 24px; font-size: clamp(36px, 3.5vw, 52px); line-height: 1.12; letter-spacing: -.045em; font-weight: 800; text-wrap: balance; }
.so-hero h1 span { display: block; color: var(--sr-red); }
.so-lead { margin: 0 0 30px; font-size: 17px; line-height: 1.8; color: var(--sr-muted); }
.so-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.so-stage { container-type: inline-size; position: relative; isolation: isolate; padding-bottom: 18px; }
.so-stage::before { content: ''; position: absolute; inset: 25% 5% 0 20%; z-index: -1; background: #f9eded; transform: skewX(-8deg); }
.so-app { border: 1px solid #dce0e7; border-radius: 14px; overflow: hidden; background: var(--sr-surface); box-shadow: 0 20px 48px #1f293314; }
.so-app-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid var(--sr-border); color: var(--sr-muted); font-size: 12px; }
.so-app-layout { display: grid; grid-template-columns: 132px minmax(0, 1fr); }
.so-sidebar { padding: 20px 10px; border-right: 1px solid var(--sr-border); background: #fff; }
.so-sidebar > strong { display: block; padding: 0 6px 22px; font-size: 19px; letter-spacing: -.6px; }
.so-sidebar ul { list-style: none; padding: 0; margin: 0; font-size: 12px; }
.so-sidebar li { padding: 9px 6px; margin-bottom: 4px; border-radius: 5px; }
.so-sidebar .so-selected { border-left: 3px solid var(--sr-red); color: var(--sr-red-dark); background: #f9eded; font-weight: 700; }
.so-app-main { min-width: 0; padding: 20px 16px 12px; }
.so-app-main h2 { font-size: 23px; line-height: 1.25; margin: 0 0 6px; letter-spacing: -.6px; }
.so-app-subtitle { font-size: 13px; color: var(--sr-muted); margin: 0 0 20px; }
.so-metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 0 0 16px; }
.so-metrics > div { padding: 12px 9px; border: 1px solid var(--sr-border); border-radius: 8px; background: #fff; }
.so-metrics dt { color: var(--sr-muted); font-size: 12px; line-height: 1.5; min-height: 54px; }
.so-metrics dd { margin: 4px 0 0; font-size: 28px; font-weight: 800; }
.so-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; font-size: 12px; }
.so-filters span { border: 1px solid #dce0e7; border-radius: 5px; padding: 5px 8px; background: #fff; }
.so-incidents { list-style: none; margin: 0; padding: 0; border: 1px solid var(--sr-border); border-radius: 8px; background: #fff; }
.so-incidents li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 12px; font-size: 12px; }
.so-incidents li + li { border-top: 1px solid var(--sr-border); }
.so-incidents strong, .so-incidents li > div > span { display: block; }
.so-incidents strong { font-size: 13px; }
.so-incidents li > div:first-child > span { color: var(--sr-muted); margin-top: 3px; }
.so-labels { text-align: right; flex-shrink: 0; }
.so-badge { font-weight: 600; color: #745015; background: #fcf3df; border-radius: 4px; padding: 2px 6px; margin-bottom: 4px; }
.so-critical { color: var(--sr-red-dark); background: #f9eded; }
.so-detail { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--sr-red-dark); font-size: 13px; font-weight: 700; }
.so-soft { background: var(--sr-surface); }
.so-equation { display: grid; grid-template-columns: 1fr auto 1fr auto 1.2fr; align-items: stretch; gap: 20px; }
.so-context { padding: 26px; background: #fff; border: 1px solid var(--sr-border); border-radius: 12px; }
.so-context > span, .so-context dt { font-size: 13px; color: var(--sr-muted); }
.so-context h3 { font-size: 22px; margin: 8px 0; }
.so-context p { font-size: 14px; color: var(--sr-muted); margin: 0; }
.so-symbol { align-self: center; font-size: 28px; color: var(--sr-red-dark); }
.so-result { border-top: 3px solid var(--sr-red); }
.so-result dl { margin: 0; display: grid; gap: 14px; }
.so-result dd { margin: 2px 0 0; font-weight: 700; font-size: 18px; }
.so-explanation { color: var(--sr-muted); font-size: 15px; margin: 24px 0 0; }
.so-flow { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }
.so-flow li { position: relative; border-top: 1px solid #dce0e7; padding-top: 24px; }
.so-flow li:not(:last-child)::after { content: '→'; position: absolute; top: 26px; right: 0; color: var(--sr-red-dark); }
.so-step { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: #f9eded; color: var(--sr-red-dark); font-size: 13px; font-weight: 700; }
.so-flow h3 { text-transform: uppercase; font-size: 13px; letter-spacing: .6px; margin: 20px 0 10px; }
.so-flow p { font-size: 14px; color: var(--sr-muted); margin: 0; }
.so-control { background: var(--sr-ink); color: #fff; }
.so-control h2 { color: #fff; }
.so-control .sr-section-eyebrow { color: #fff; border-left: 3px solid var(--sr-red); padding-left: 12px; }
.so-control .sr-section-heading > p:not(.sr-section-eyebrow) { color: #d0d5dd; }
.so-capabilities { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; font-size: 15px; }
.so-capabilities li::before { content: '✓'; margin-right: 10px; color: #f0a8a9; }
.so-priority { background: #27333f; border: 1px solid #ffffff30; padding: 28px; border-radius: 16px; }
.so-priority > p { margin: 0 0 20px; font-size: 16px; }
.so-priority > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; border: 1px solid #ffffff30; border-left: 3px solid #f0a8a9; padding: 20px 16px; border-radius: 8px; margin-bottom: 12px; font-size: 14px; }
.so-priority span { color: #e4e7ec; }
.so-priority .so-note { color: #d0d5dd; font-size: 12px; margin: 20px 0 0; }
.so-module-index { display: block; color: var(--sr-red-dark); font-size: 13px; font-weight: 700; margin-bottom: 24px; }
.so-modules .sr-feature-card { border-top: 3px solid #e7c9c9; }
#so-history { scroll-margin-top: 110px; }
.so-timeline { list-style: none; margin: 0; padding: 28px 32px 28px 44px; border: 1px solid var(--sr-border); background: #fff; border-radius: 14px; }
.so-timeline li { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 0 0 30px 26px; border-left: 1px solid #dce0e7; font-size: 15px; }
.so-timeline li::before { content: ''; position: absolute; top: 6px; left: -5px; width: 9px; height: 9px; border-radius: 50%; background: var(--sr-red); }
.so-timeline li:last-child { padding-bottom: 0; }
.so-timeline time { color: var(--sr-muted); font-size: 14px; }
.so-timeline p { grid-column: 1 / -1; margin: 0; color: var(--sr-muted); font-size: 14px; }
.sr-operations-v2 .sr-section-heading .so-note { font-size: 13px; }
@media (max-width: 1199px) {
    .so-hero { gap: 28px; }
    .so-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 959px) {
    .so-hero { grid-template-columns: minmax(0, 1fr); padding-block: 56px; }
    .so-copy { max-width: 680px; }
    .so-stage { width: 100%; max-width: 820px; justify-self: center; }
    .so-equation { gap: 12px; }
    .so-context { padding: 20px; }
}
@container (max-width: 620px) {
    .so-app-layout { grid-template-columns: minmax(0, 1fr); }
    .so-sidebar { border-right: 0; border-bottom: 1px solid var(--sr-border); padding: 12px; }
    .so-sidebar > strong { padding-bottom: 10px; }
    .so-sidebar ul { display: flex; flex-wrap: wrap; gap: 4px; }
    .so-sidebar li { margin: 0; padding: 6px 8px; }
    .so-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .so-metrics dt { min-height: 0; }
}
@media (max-width: 599px) {
    .so-hero { padding-block: 40px; gap: 28px; }
    /* A tall mobile mockup makes the skewed decoration exceed the viewport. */
    .so-stage::before { transform: none; }
    .so-hero h1 { font-size: clamp(32px, 9vw, 44px); }
    .so-lead { font-size: 15px; }
    .so-actions { flex-direction: column; }
    .so-sidebar ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .so-sidebar li { padding: 8px; }
    .so-app-main { padding-inline: 12px; }
    .so-equation, .so-flow { grid-template-columns: minmax(0, 1fr); }
    .so-symbol { justify-self: center; }
    .so-flow li { padding: 0 0 30px 58px; border-top: 0; border-left: 1px solid #dce0e7; margin-left: 18px; }
    .so-step { position: absolute; left: -18px; top: 0; }
    .so-flow h3 { margin-top: 0; }
    .so-flow li:not(:last-child)::after { content: '↓'; left: -6px; top: auto; bottom: -14px; right: auto; }
    .so-capabilities { grid-template-columns: minmax(0, 1fr); }
    .so-priority { padding: 22px; }
    .so-timeline { padding: 24px 18px 24px 28px; }
    .so-timeline li { gap: 8px 12px; padding-left: 20px; font-size: 14px; }
    .sr-operations-v2 .sr-cta-section { padding-bottom: 80px; }
}
