* { box-sizing: border-box; }
:root { color-scheme: light; font-family: "Segoe UI", "Microsoft YaHei", sans-serif; color: #182923; background: #f4f6f0; }
body { margin: 0; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
header { border-bottom: 1px solid #d9e2d8; }
.bar { display: flex; justify-content: space-between; align-items: center; min-height: 64px; }
a { color: #236249; text-underline-offset: 4px; }
.brand { font-weight: 700; }
.brand b { padding-left: 12px; margin-left: 8px; border-left: 1px solid #bdccc0; font-size: .875rem; font-weight: 500; }
.intro { padding-block: clamp(36px, 7vw, 82px) 36px; }
.eyebrow { color: #316852; font-size: .82rem; font-weight: 700; letter-spacing: .1em; }
h1 { font-size: clamp(2rem, 6vw, 4.5rem); line-height: 1.14; margin: 14px 0 18px; letter-spacing: -.04em; }
.intro > p:last-of-type, footer { color: #496157; }
.summary { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; color: #345648; font-size: .9rem; }
.summary strong { font-size: 1.35rem; margin-right: 3px; }
.workspace { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 18px; align-items: start; scroll-margin: 20px; }
aside, article { border: 1px solid #d7e0d5; border-radius: 16px; background: #fff; }
aside { padding: 18px; }
aside h2 { font-size: 1rem; margin: 4px 0 16px; }
button { font: inherit; cursor: pointer; }
.case { text-align: left; display: block; width: 100%; border: 1px solid transparent; color: inherit; background: #f5f7f2; padding: 11px 13px; border-radius: 9px; margin-bottom: 7px; }
.case small { display: block; color: #426454; margin-top: 4px; }
.case:hover, .case[aria-pressed="true"] { background: #e5f1e9; border-color: #a5c9b4; }
.case:focus-visible, a:focus-visible, summary:focus-visible, .primary:focus-visible { outline: 3px solid #347f62; outline-offset: 3px; }
article { padding: clamp(16px, 3vw, 34px); overflow-wrap: anywhere; min-height: 340px; }
.report-head { display: flex; gap: 12px; align-items: start; justify-content: space-between; }
.report-head h2 { margin: 0; }
#stem { line-height: 1.68; color: #445d52; }
.status { padding: 6px 10px; background: #e5f1e9; color: #245642; border-radius: 6px; white-space: nowrap; font-size: .85rem; }
.status[data-state="CONFLICT"] { color: #842e1f; background: #fcece6; }
.status[data-state="INSUFFICIENT_EVIDENCE"] { color: #785214; background: #fff3d8; }
.outcomes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.outcomes div { background: #f0f4ee; color: #35584a; padding: 12px; border-radius: 8px; font-size: .85rem; }
.outcomes strong { display: block; margin-top: 6px; font-size: 1rem; color: #182923; }
.issues { background: #fff7ee; border: 1px solid #f0ddc7; padding: 13px 15px; border-radius: 8px; }
h3 { margin-bottom: 9px; font-size: 1rem; }
.issues h3 { margin-top: 0; }
li { margin-block: 6px; line-height: 1.5; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9rem; }
th, td { padding: 10px 7px; border-bottom: 1px solid #e3ebe2; }
details { margin-block: 20px; color: #315d4a; }
summary { cursor: pointer; }
pre { white-space: pre-wrap; padding: 10px; background: #f5f7f2; max-height: 340px; overflow: auto; }
.primary { background: #22573f; color: #fff; border: 0; border-radius: 8px; padding: 10px 16px; }
.primary:disabled { opacity: .55; cursor: progress; }
footer { padding-block: 28px; font-size: .85rem; }
@media (max-width: 730px) { .wrap { width: calc(100% - 28px); } .workspace { grid-template-columns: 1fr; } #cases-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; } .case { margin-bottom: 0; } }
@media (max-width: 360px) { .outcomes { grid-template-columns: 1fr; } .brand b { margin-left: 3px; padding-left: 5px; } }

