.wrv-shell{max-width:1120px;margin:0 auto;padding:24px 18px 60px}.wrv-top{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:20px}.wrv-top h1{font-size:25px;flex:1;margin:0}.wrv-top a{font-weight:700}.wrv-filter{display:flex;align-items:end;gap:14px;flex-wrap:wrap}.wrv-filter label{display:grid;gap:5px}.wrv-filter select{min-width:160px}.wrv-pager{display:flex;justify-content:center;gap:12px;margin:18px}.wrv-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;margin:12px 0}.wrv-row h2{font-size:18px;margin:0 0 6px}.wrv-row p{margin:3px 0;font-size:14px}.wrv-score{font-size:24px;font-weight:800;color:#4338ca}.wrv-badge{display:inline-block;margin:4px 6px 0 0;background:#ede9fe;border-radius:20px;padding:3px 10px;font-size:13px}.wrv-badge.check{background:#fff4da;color:#8a4b00}.wrv-answer{white-space:pre-wrap;overflow-wrap:anywhere;font-size:18px;line-height:1.85;background:#fffdf4;border:1px solid #eee3bd;border-radius:12px;padding:18px}.wrv-detail-top{display:flex;align-items:center;justify-content:space-between;gap:14px}.wrv-criteria{display:grid;gap:12px;margin:18px 0}.wrv-criterion{padding:16px;border:1px solid var(--line,#ddd);border-radius:12px}.wrv-criterion h3{font-size:17px;margin:0 0 12px}.wrv-criterion label{display:grid;gap:6px;margin:10px 0}.wrv-criterion textarea{min-height:65px;width:100%;resize:vertical}.wrv-criterion select{max-width:150px}.wrv-actions{display:flex;gap:12px;flex-wrap:wrap}.wrv-meta{color:var(--mute,#667);font-size:13px;line-height:1.6}.wrv-history{margin:12px 0}.wrv-history>summary{cursor:pointer;font-weight:700;padding:8px 0}#wrv-note{width:100%;min-height:70px}#wrv-status{white-space:pre-wrap}#wrv-status.error{color:#a62d22}.wrv-quote{white-space:pre-wrap;border-left:3px solid #b6a6ea;padding-left:12px;font-size:15px}.wrv-shell [hidden]{display:none!important}@media(max-width:600px){.wrv-shell{padding:16px 12px}.wrv-top h1{font-size:21px;flex-basis:100%}.wrv-row{grid-template-columns:1fr}.wrv-filter{align-items:stretch}.wrv-filter label{flex:1}.wrv-filter select{min-width:0;width:100%}.wrv-answer{padding:12px;font-size:17px}}
.wrv-shell button,.wrv-shell select,.wrv-shell input{min-height:44px}.wrv-shell textarea{font:inherit;line-height:1.65;width:100%;max-width:100%;min-height:78px;border:1px solid #cbd5e1;border-radius:8px;padding:10px;resize:vertical}.wrv-shell :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #4566d2;outline-offset:3px}.wrv-shell button:disabled{opacity:.55;cursor:default}.wrv-shell label{min-width:0}.wrv-shell h2,.wrv-shell h3,.wrv-shell h4,.wrv-shell p,.wrv-shell summary{overflow-wrap:anywhere}.wrv-attempt-pager{display:flex;gap:12px;justify-content:space-between;align-items:center;flex-wrap:wrap;margin:20px 0;padding:14px;background:#f1f4fa;border-radius:10px}.wrv-attempt-pager span{font-size:14px}.wrv-history{border-top:1px solid #dbe2ee;padding:12px 0}.wrv-history>summary{min-height:44px}.wrv-ai,.wrv-audit,.wrv-readonly{margin:16px 0;padding:12px 16px;border:1px solid #dbe2ee;border-radius:10px;background:#f8fafc}.wrv-ai>summary,.wrv-audit>summary,.wrv-readonly>summary{font-weight:700;cursor:pointer;min-height:36px}.wrv-audit-entry{border-top:1px solid #dbe2ee;margin-top:12px;padding-top:12px}.wrv-audit-note{white-space:pre-wrap}.wrv-grade-part{border-top:1px solid #e2e8f0;padding-top:12px;margin-top:12px}.wrv-grade-part h4{font-size:15px;margin:0}.wrv-grade-part p{white-space:pre-wrap;font-size:14px}.wrv-quote{margin:10px 0;overflow-wrap:anywhere}.wrv-criterion h4{margin:0;font-size:17px}.wrv-quote-input{padding:10px;background:#f7f9fc;border-radius:8px;margin:10px 0}.wrv-quote-input button{font-size:13px}.wrv-history form>label{display:grid;gap:8px;margin:16px 0}.wrv-conflict{background:#fff7e5;border:1px solid #e5c16e;border-radius:10px;padding:16px;margin-top:16px}.wrv-conflict button{margin:8px 8px 0 0}.wrv-shell [aria-busy=true]{cursor:progress}@media(max-width:600px){.wrv-ai,.wrv-audit,.wrv-readonly{padding:12px}.wrv-criterion{padding:12px}.wrv-attempt-pager{gap:8px;padding:10px}.wrv-attempt-pager span{order:-1;width:100%}.wrv-history>summary{font-size:14px}.wrv-conflict button{width:100%;margin-right:0}}
