#page-scenario-roster { max-width: 1400px; color: #0f172a; }
#page-scenario-roster .sr-header h2 { margin: 0; font-size: 24px; font-weight: 900; }
#page-scenario-roster .sr-header p { margin: 5px 0 18px; color: #64748b; font-size: 13px; }
#page-scenario-roster .sr-editing { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; padding: 12px 16px; border: 1.5px solid #bfdbfe; border-radius: 12px; background: linear-gradient(90deg,#eff6ff,#f0fdf4); color: #475569; font-size: 12px; }
#page-scenario-roster .sr-editing strong { color: #1e40af; font-size: 14px; }
#page-scenario-roster .sr-summary { display: grid; grid-template-columns: minmax(270px,1.1fr) minmax(360px,1.6fr) minmax(320px,1.2fr); gap: 12px; margin-bottom: 16px; }
#page-scenario-roster .sr-showing { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; padding: 14px 18px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #fff; }
#page-scenario-roster .sr-showing > span { color: #64748b; font-size: 11px; }
#page-scenario-roster .sr-showing-number { color: #2563eb; font-size: 25px; }
#page-scenario-roster .sr-showing-detail { display: grid; gap: 3px; }
#page-scenario-roster .sr-showing-detail span { color: #64748b; font-size: 10px; }
#page-scenario-roster .sr-kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
#page-scenario-roster .sr-kpi { display: grid; place-content: center; padding: 12px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #fff; text-align: center; }
#page-scenario-roster .sr-kpi strong { font-size: 25px; }
#page-scenario-roster .sr-kpi span { color: #64748b; font-size: 11px; }
#page-scenario-roster .sr-kpi.ok strong { color: #16a34a; }
#page-scenario-roster .sr-kpi.warn strong { color: #dc2626; }
#page-scenario-roster .sr-search { display: grid; gap: 5px; padding: 12px 14px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #fff; }
#page-scenario-roster .sr-search label { color: #64748b; font-size: 11px; font-weight: 700; }
#page-scenario-roster .sr-search-row { display: flex; gap: 8px; }
#page-scenario-roster .sr-search input { min-width: 0; flex: 1; padding: 10px 12px; border: 1.5px solid #e2e8f0; border-radius: 9px; }
#page-scenario-roster .sr-hit { display: grid; min-width: 58px; place-content: center; text-align: center; color: #64748b; font-size: 9px; }
#page-scenario-roster .sr-hit strong { color: #0f172a; font-size: 17px; }
#page-scenario-roster .sr-roster-card { padding: 20px; border: 1.5px solid #e2e8f0; border-radius: 12px; background: #fff; }
#page-scenario-roster .sr-scenario-tabs { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 14px; }
#page-scenario-roster .sr-scenario { display: flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid #e2e8f0; border-radius: 9px; background: #fff; white-space: nowrap; }
#page-scenario-roster .sr-scenario span { padding: 1px 7px; border-radius: 10px; background: #f1f5f9; font-size: 11px; }
#page-scenario-roster .sr-scenario.active { border-color: #2563eb; background: #2563eb; color: #fff; }
#page-scenario-roster .sr-roster-tools { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 -20px; padding: 12px 20px; background: #f8fafc; font-size: 11px; }
#page-scenario-roster .sr-roster-tools strong { font-size: 14px; }
#page-scenario-roster .sr-roster-tools select { padding: 5px 7px; border: 1px solid #e2e8f0; border-radius: 6px; background: #fff; color: #64748b; }
#page-scenario-roster .sr-table-wrap { overflow-x: auto; }
#page-scenario-roster .sr-table-wrap .data-table { min-width: 940px; }
#page-scenario-roster .sr-cell-stack { display: grid; gap: 4px; color: #64748b; font-size: 11px; }
#page-scenario-roster .sr-cell-stack strong { color: #0f172a; }
#page-scenario-roster .sr-reader-link { width: fit-content; border: 0; background: none; color: #2563eb; font-weight: 700; cursor: pointer; }
#page-scenario-roster .sr-empty { padding: 28px; color: #64748b; text-align: center; }
#page-scenario-roster .sr-prestart { display: grid; gap: 4px; }
#page-scenario-roster .sr-prestart strong { color: #0f172a; }
#page-scenario-roster .sr-detail-modal { width: min(720px,calc(100vw - 32px)); }
#page-scenario-roster .sr-modal-head { display: flex; align-items: center; justify-content: space-between; }
#page-scenario-roster .sr-detail-profile { display: flex; align-items: center; justify-content: space-between; margin: 12px 0 18px; }
#page-scenario-roster .sr-labels { display: flex; gap: 5px; flex-wrap: wrap; }
#page-scenario-roster .sr-detail-actions { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e2e8f0; }
#page-scenario-roster .sr-boundary-note { color: #64748b; font-size: 11px; }
@media(max-width:1000px){#page-scenario-roster .sr-summary{grid-template-columns:1fr 1fr}#page-scenario-roster .sr-search{grid-column:1/-1}}
@media(max-width:760px){#page-scenario-roster .sr-editing,#page-scenario-roster .sr-roster-tools{align-items:flex-start;flex-direction:column}#page-scenario-roster .sr-summary{grid-template-columns:1fr}#page-scenario-roster .sr-search{grid-column:auto}#page-scenario-roster .sr-kpis{grid-template-columns:repeat(3,1fr)}}
