/* mindmap5.3 · css/evidence.css —— 深度阅读面板，沿用公共主题令牌 */
.ev-dialog{color:var(--ui-text);background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:14px;width:min(1040px,calc(100vw - 40px));max-width:none;max-height:90dvh;padding:0;overflow:hidden;box-shadow:0 20px 70px #0003}
.ev-dialog[open]{display:flex;flex-direction:column}.ev-dialog::backdrop{background:#0005}
.ev-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 12px;gap:12px}.ev-header h2{font-size:22px;margin:0}.ev-header p{color:var(--ui-muted);margin:6px 0 0}
.ev-dialog button,.ev-dialog select,.ev-dialog input,.ev-dialog textarea,.ev-return button{font:inherit;color:var(--ui-text);background:var(--ui-bg);border:1px solid var(--ui-border);border-radius:var(--radius-btn,8px);padding:9px 12px;min-height:40px;box-sizing:border-box}
.ev-dialog button,.ev-return button{cursor:pointer}.ev-dialog button:disabled{opacity:.55;cursor:default}.ev-dialog button:hover:not(:disabled){border-color:var(--ui-accent)}
.ev-dialog :is(button,select,input,textarea,summary):focus-visible,.ev-return button:focus-visible{outline:2px solid var(--ui-accent);outline-offset:2px}
.ev-dialog .ev-primary,.ev-tabs button[aria-pressed=true]{color:var(--ui-accent);background:var(--ui-accent-soft);border-color:var(--ui-accent)}
.ev-tabs{display:flex;gap:8px;padding:0 24px 14px;border-bottom:1px solid var(--ui-border)}.ev-tabs button{flex:1}
.ev-body{overflow:auto;padding:18px 24px;overscroll-behavior:contain}.ev-bar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 16px}.ev-bar>select,.ev-bar>input{flex:1;min-width:180px;max-width:100%}.ev-bar h3{flex:1;font-size:16px;margin:0}
.ev-field{display:flex;flex-direction:column;gap:7px;margin:12px 0 18px}.ev-field>span{font-size:13px;font-weight:600}.ev-field input,.ev-field textarea{width:100%;resize:vertical}
.ev-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.ev-card{border:1px solid var(--ui-border);border-radius:10px;padding:15px;min-width:0;background:var(--ui-bg);overflow-wrap:anywhere}
.ev-origin,.ev-hint{font-size:12px;line-height:1.6;color:var(--ui-muted);margin:0 0 10px}.ev-quote{white-space:pre-wrap;margin:0 0 12px;font-size:15px;line-height:1.75;max-height:200px;overflow:auto;border-left:3px solid var(--ui-accent);padding-left:12px}
.ev-context{font-size:13px;line-height:1.6;margin-bottom:12px}.ev-context summary{cursor:pointer;color:var(--ui-accent)}.ev-context p{white-space:pre-wrap;max-height:220px;overflow:auto}
.ev-actions{display:flex;gap:8px;flex-wrap:wrap}.ev-actions button{font-size:12px}.ev-role{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px}.ev-role select{min-width:110px}.ev-review{padding:10px;margin-top:10px;background:var(--ui-accent-soft);font-size:13px}.ev-review button{display:block;margin-top:8px;font-size:12px}
.ev-empty{color:var(--ui-muted);padding:24px 8px;line-height:1.8;text-align:center}.ev-status{padding:10px 24px;margin:0;min-height:36px;box-sizing:border-box;font-size:12px;color:var(--ui-muted);border-top:1px solid var(--ui-border)}.ev-status.ev-error{color:var(--ui-danger)}
.ev-claim-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.ev-claim-heading h3{overflow-wrap:anywhere}.ev-claim-list{display:block;width:100%;text-align:left;margin:8px 0}.ev-backlinks{margin-top:12px;display:grid;gap:8px}
.ev-return{position:fixed;bottom:max(20px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);z-index:1500;display:flex;gap:8px;max-width:calc(100vw - 24px);padding:8px;background:var(--ui-panel);border:1px solid var(--ui-border);border-radius:10px;box-shadow:0 4px 24px #0003}.ev-return button{font-size:13px;white-space:nowrap}
@media(max-width:899px){.ev-dialog{width:100vw;height:100dvh;max-height:100dvh;margin:0;border:0;border-radius:0}.ev-header{padding:16px 14px 12px;padding-top:max(16px,env(safe-area-inset-top))}.ev-tabs{padding:0 12px 12px;gap:5px}.ev-tabs button{padding:10px 5px;font-size:12px;min-height:44px}.ev-body{padding:14px}.ev-grid{grid-template-columns:1fr}.ev-dialog button,.ev-dialog select{min-height:44px}.ev-status{padding-bottom:max(12px,env(safe-area-inset-bottom))}.ev-bar>input,.ev-bar>select{min-width:120px}.ev-header h2{font-size:20px}}
