/* Scoped COA library; preserves existing account and product styles. */
.vcoa-library,.vcoa-product{margin:2rem 0;padding:clamp(1rem,3vw,2rem);border:1px solid #d8e0e5;border-radius:18px;background:#fdfcf9;color:#1e3447;scroll-margin-top:100px}
.vcoa-library h2,.vcoa-product h2,.vcoa-dialog h2{font-size:clamp(1.5rem,3vw,2rem);line-height:1.2;margin:0 0 .75rem}
.vcoa-intro,.vcoa-group-note,.vcoa-empty{color:#52697b;line-height:1.65;margin:.5rem 0 1rem}
.vcoa-search-label{display:grid;gap:.5rem;max-width:680px;font-weight:700}
.vcoa-search{box-sizing:border-box;width:100%;min-height:48px;padding:.8rem 1rem;border:1px solid #a7b8c5;border-radius:9px;background:#fff;color:#1e3447;font:inherit}
.vcoa-search:focus-visible,.vcoa-library a:focus-visible,.vcoa-product a:focus-visible,.vcoa-dialog a:focus-visible,.vcoa-close:focus-visible,.vcoa-other summary:focus-visible{outline:3px solid #245d90;outline-offset:3px}
.vcoa-count{margin:.7rem 0;color:#52697b;font-size:.9rem}
.vcoa-group{margin:1.8rem 0 0}
.vcoa-group-title{font:700 1.15rem/1.4 Arial,"Microsoft YaHei",sans-serif;margin:0 0 .7rem}
.vcoa-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:1rem}
.vcoa-report{padding:1rem;border:1px solid #d8e0e5;border-radius:12px;background:#fff;min-width:0}
.vcoa-report--selected{border-color:#245d90;background:#f7fbfe}
.vcoa-report-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.4rem}
.vcoa-report-head h4{margin:0;font:700 1.06rem/1.4 Arial,"Microsoft YaHei",sans-serif;overflow-wrap:anywhere}
.vcoa-match{font-size:.72rem;border-radius:20px;background:#e4eef7;padding:.2rem .5rem;color:#10365c;white-space:nowrap}
.vcoa-report-meta{margin:.9rem 0}
.vcoa-report-meta>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.7rem;padding:.35rem 0;border-bottom:1px solid #edf0f3}
.vcoa-report-meta dt{font-size:.83rem;color:#52697b}
.vcoa-report-meta dd{margin:0;font-size:.88rem;font-weight:600;overflow-wrap:anywhere;text-align:right}
.vcoa-report-footer{display:flex;align-items:center;justify-content:space-between;gap:.8rem;flex-wrap:wrap}
.vcoa-pdf,.vcoa-library-link{color:#10365c;text-decoration:underline;text-underline-offset:3px;font-weight:700;display:inline-flex;align-items:center;min-height:44px}
.vcoa-size{font-size:.8rem;color:#52697b}
.vcoa-other{margin:1rem 0}
.vcoa-other summary{padding:.8rem 0;color:#10365c;cursor:pointer;font-weight:700}
.vcoa-dialog{box-sizing:border-box;width:min(860px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #d8e0e5;border-radius:18px;background:#fdfcf9;color:#1e3447;overflow:auto}
.vcoa-dialog::backdrop{background:rgb(15 35 52 / .55)}
.vcoa-dialog-body{position:relative;padding:clamp(1rem,4vw,2rem)}
.vcoa-dialog h2{padding-right:2.5rem}
.vcoa-close{position:absolute;top:.7rem;right:.7rem;width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:50%;background:#edf2f6;color:#10365c;font-size:1.7rem;line-height:1;cursor:pointer}
@media(max-width:480px){.vcoa-library,.vcoa-product{border-radius:12px}.vcoa-report-meta>div{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}}
