.ev-case {color:#183b42;background:#f5f4ef;padding:20px 0 64px;--ev-ink:#133b42;--ev-teal:#0c6057}
.ev-case [hidden] {display:none!important}
.ev-wrap {width:min(1060px,94%);margin:auto}
.ev-back,.ev-sources a {color:var(--ev-teal);text-underline-offset:4px;font-weight:650}
.ev-back {font-size:.9rem}
.ev-cover {display:grid;grid-template-columns:1.12fr 1fr;overflow:hidden;border-radius:12px;background:#12353e;color:#fff;margin:16px 0 20px}
.ev-cover>div {padding:clamp(20px,4vw,46px);align-self:center}
.ev-cover img {width:100%;height:100%;object-fit:cover;min-height:190px}
.ev-cover p {margin:0;max-width:49ch;line-height:1.45;color:#e7f1eb}
.ev-cover p:first-child,.ev-step>small {font-weight:650;font-size:.8rem;letter-spacing:.035em}
.ev-cover p:first-child {color:#9edccc}
.ev-case .ev-cover h1 {font:normal clamp(2.6rem,5vw,4.8rem)/.99 Georgia,serif;letter-spacing:-.045em;margin:10px 0 14px;color:#fff}
.ev-main {background:#fffefa;border:1px solid #bdcec5;border-radius:12px;padding:clamp(15px,3vw,31px)}
.ev-case .ev-step>h2,.ev-result>h2 {font:normal clamp(1.65rem,3.1vw,2.8rem)/1.1 Georgia,serif;letter-spacing:-.032em;margin:6px 0 10px;color:var(--ev-ink)}
.ev-step>small {color:var(--ev-teal)}
.ev-step>p,.ev-result>p,.ev-sources p {max-width:82ch;line-height:1.5;margin:0 0 16px}
.ev-work {display:grid;grid-template-columns:minmax(155px,.62fr) minmax(0,2fr);gap:14px;margin:16px 0}
.ev-list {display:flex;flex-direction:column;align-items:stretch;gap:6px}
.ev-case button {font:inherit;cursor:pointer}
.ev-list button {display:flex;flex-direction:column;align-items:start;text-align:start;gap:1px;border:1px solid #acbcb4;border-radius:6px;background:#f0f3eb;color:#244942;padding:10px 13px;min-height:46px}
.ev-list b,.ev-paper header b,.ev-filed li,.ev-result li>b {font-family:Consolas,"Courier New",monospace;letter-spacing:.05em}
.ev-list span {font-size:.84rem;line-height:1.3}
.ev-list button[aria-pressed=true] {background:#153e43;color:#f1fff9;border-color:#153e43}
.ev-view,.ev-paper {min-width:0}
.ev-paper {background:#fbfaf2;border:1px solid #bec9bb;border-top:4px solid #4a8a7b;border-radius:4px;padding:clamp(14px,2.5vw,24px)}
.ev-paper header,.ev-filed {display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.ev-paper header span {color:#4a615c;font-size:.8rem}.ev-paper header b {color:#164d46}
.ev-paper h3 {color:var(--ev-ink);font-size:1.22rem;margin:12px 0}
.ev-paper dl {display:grid;grid-template-columns:minmax(85px,.78fr) minmax(0,1.45fr);margin:0 0 12px}
.ev-paper dt,.ev-paper dd {margin:0;border-top:1px solid #d0d8ca;padding:7px 0;line-height:1.35}
.ev-paper dt {color:#455e58;font-size:.88rem;padding-right:6px}.ev-paper dd {font-weight:600}
.ev-action,.ev-next {padding:8px 14px;min-height:44px;color:#fff;border:1px solid #154a46;background:#15574f;border-radius:6px;font-weight:650!important}
.ev-next {background:#123940}
.ev-reply:not(:empty) {border-left:3px solid #ae722a;padding:5px 12px;margin:12px 0 0;color:#624324;line-height:1.45}
.ev-reply.ev-ok {border-color:#267864;color:#1e5748}.ev-reply:empty {margin:0}
.ev-filed {justify-content:start;font-size:.88rem;margin:0 0 18px}.ev-filed ol {list-style:none;display:flex;gap:5px;margin:0;padding:0}
.ev-filed li {background:#deece3;padding:4px 8px;border-radius:4px;color:#205c49}
.ev-result ol {list-style:none;padding:0;margin:18px 0}.ev-result li {display:flex;gap:15px;padding:12px 0;border-top:1px solid #c8d5ca}
.ev-result li>b {flex:none;color:var(--ev-teal)}.ev-result li p {margin:3px 0}
.ev-sources {margin:20px 0 0;border-top:1px solid #bbcbc3;padding-top:15px}
.ev-sources h2 {color:var(--ev-ink);font-size:1.22rem;margin:0 0 8px}
.ev-sources div {display:flex;gap:7px 18px;flex-wrap:wrap}.ev-sources a {font-size:.91rem}
.ev-case :focus-visible {outline:3px solid #ac690f;outline-offset:3px}
.ev-case h2 {scroll-margin-top:90px}
@media(max-width:620px){
 .ev-wrap {width:calc(100% - 24px)}.ev-cover {grid-template-columns:1fr}.ev-cover img {height:95px;min-height:0;object-position:center 55%}
 .ev-cover>div {padding:17px}.ev-work {grid-template-columns:1fr}.ev-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
 .ev-list button {padding:7px;overflow-wrap:anywhere}.ev-list span {font-size:.73rem}.ev-paper dt,.ev-paper dd {font-size:.83rem}
}
@media print {.ev-case .ev-step,.ev-result {break-inside:avoid}.ev-cover img,.ev-list,.ev-back,.ev-next,.ev-action {display:none!important}}
