/* The compact summary stays next to the board; the full library opens only on request. */
.vp-selected{display:flex;align-items:center;gap:13px;min-width:0;padding:11px;border:1px solid #cddabd;border-radius:10px;background:#eef3e6}
.vp-selected>img{flex:none;width:83px;height:70px;border-radius:6px;object-fit:cover}
.vp-selected>div{min-width:0}
.vp-overline{display:block;margin-bottom:4px;color:#79876f;font-size:10px;letter-spacing:.7px;line-height:1.5}
.vp-selected strong{display:block;color:#354d37;font-size:15px;font-weight:550;line-height:1.6}
.vp-selected small{display:block;margin-top:2px;color:#7b856d;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
.vp-browse{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:43px;margin-top:10px;padding:11px 14px;border:1px solid #ccd9bc;border-radius:7px;background:#f3f7ec;color:#456636;font-size:12px;text-align:left}
.vp-browse:hover{background:#e7efdc;border-color:#91a875}
.vp-browse>span{font-size:17px;line-height:1}
.vp-summary-note,.vp-unavailable{margin:9px 0 0;color:#7a876e;font-size:10px;line-height:1.85;overflow-wrap:anywhere}
.vp-summary-note a{color:#587446;text-decoration:underline;text-underline-offset:3px}
.vp-source-entries{display:grid;gap:7px;margin-top:12px}
.vp-source-entry{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;padding:11px 12px;border:1px solid #d7dfcc;border-radius:8px;background:#f7f9f1;color:#466139;text-align:left}
.vp-source-entry>span:first-child{min-width:0}.vp-source-entry strong{display:block;font-size:12px;line-height:1.5;font-weight:550;overflow-wrap:anywhere}.vp-source-entry small{display:block;margin-top:3px;font-size:10px;color:#8b967e;line-height:1.5}.vp-source-entry>span:last-child{flex:none;font-size:10px;color:#789067}.vp-source-entry b{margin-left:6px;font-size:19px;font-weight:400}.vp-source-entry.is-current{background:#eaf1e1;border-color:#aebf9c}.vp-source-entry:hover{background:#e5edda;border-color:#96ae7e}.vp-source-entry:focus-visible{outline:2px solid #7a9563;outline-offset:3px}
.vp-dialog{width:min(880px,calc(100vw - 36px));max-width:none;max-height:calc(100dvh - 48px);margin:auto;padding:0;border:1px solid #d5ddcb;border-radius:17px;background:#fcfcf7;color:#354b36;box-shadow:0 22px 90px #172a233b;overflow:hidden}
.vp-dialog::backdrop{background:#1d302b88;backdrop-filter:blur(3px)}
.vp-dialog:not([open]){display:none}
.vp-dialog[open]{display:flex;flex-direction:column}
.vp-dialog-shell{display:flex;flex-direction:column;min-height:0;max-height:calc(100dvh - 50px);overflow-y:auto;overscroll-behavior:contain}
.vp-dialog [hidden]{display:none!important}
.vp-dialog button,.vp-dialog input,.vp-dialog select{font:inherit}
.vp-dialog button{cursor:pointer}
.vp-dialog button:disabled{cursor:default;opacity:.4}
.vp-dialog button:focus-visible,.vp-dialog a:focus-visible,.vp-dialog input:focus-visible,.vp-dialog select:focus-visible,.vp-dialog summary:focus-visible,.vp-results:focus-visible{outline:2px solid #7a9563;outline-offset:3px}
.vp-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex:none;padding:22px 25px 14px}
.vp-dialog-head .vp-overline{font-size:9px;letter-spacing:1.6px}
.vp-dialog-head h2{margin:0;color:#344a36;font-size:23px;font-weight:500;line-height:1.4}
.vp-close{display:grid;place-items:center;flex:none;width:36px;height:36px;border:1px solid #dbe2d0;border-radius:50%;background:#f0f4e9;color:#5e7751;font-size:27px!important;line-height:1}
.vp-close:hover{background:#e5eddb}
.vp-current{display:flex;align-items:center;gap:11px;flex:none;margin:0 25px 15px;padding:9px 12px;border:1px solid #dce4cf;border-radius:8px;background:#edf3e5}
.vp-current>img{width:55px;height:45px;flex:none;border-radius:4px;object-fit:cover}
.vp-current>div{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 9px;min-width:0;flex:1}
.vp-current div>span{color:#7b886f;font-size:10px}
.vp-current strong{color:#405b36;font-size:13px;font-weight:550}
.vp-current small{max-width:100%;color:#7d886f;font-size:10px;overflow-wrap:anywhere}
.vp-current-kind{color:#6a805c;font-size:10px;flex:none}
.vp-filters{flex:none;padding:0 25px}
.vp-source-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:13px}.vp-source-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;padding:12px 8px;border:1px solid #d7e0cc;border-radius:7px;background:#eef2e7;color:#6c805b;font-size:11px;line-height:1.5}.vp-source-tabs small{font-size:10px;opacity:.7}.vp-source-tabs .is-active{background:#2c5544;border-color:#2c5544;color:white}
.vp-tabu-filters{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:10px;margin:13px 0 5px}.vp-tabu-filters label{min-width:0;font-size:10px;color:#829172}.vp-tabu-filters select{display:block;width:100%;min-width:0;height:36px;margin-top:6px;padding:5px 7px;border:1px solid #d8e1cc;border-radius:6px;background:#f7f9f2;color:#4e693e;font-size:11px}
.vp-search{display:flex;align-items:center;gap:9px;padding:8px 12px;border:1px solid #d7dfcc;border-radius:8px;background:#fffefa}
.vp-search>span{color:#728866;font-size:23px;line-height:1}
.vp-search input{width:100%;min-width:0;padding:3px 0;border:0;background:transparent;color:#354e34;font-size:12px;outline:none}
.vp-search input::placeholder{color:#8c9781}
.vp-search kbd{display:none}
.vp-types{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 10px}
.vp-types button{display:flex;align-items:center;gap:7px;min-height:33px;padding:7px 11px;border:1px solid #dce4d0;border-radius:6px;background:#f2f5eb;color:#718260;font-size:11px}
.vp-types small{font-size:10px;opacity:.7}
.vp-types button.is-active{border-color:#2c5544;background:#2c5544;color:#fff}
.vp-types button:not(.is-active):not(:disabled):hover{background:#e8efdd}
.vp-advanced{border-bottom:1px solid #e0e7d6;color:#667b57;font-size:11px}
.vp-advanced summary{width:max-content;max-width:100%;padding:3px 0 11px;cursor:pointer;list-style-position:inside}
.vp-advanced summary>span{margin-left:7px;color:#96a08b;font-size:10px}
.vp-advanced-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:0 0 12px}
.vp-advanced-fields label{min-width:0;color:#798b6b;font-size:10px}
.vp-advanced-fields select{display:block;width:100%;min-width:0;height:34px;margin-top:4px;padding:5px 9px;border:1px solid #dce4d1;border-radius:6px;background:#f9fbf5;color:#60774f;font-size:11px}
.vp-result-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:39px;color:#7c8a6e;font-size:11px}
.vp-result-meta button{padding:4px 0;background:none;color:#516f43;font-size:10px;text-decoration:underline;text-underline-offset:3px}
.vp-results{min-height:110px;flex:1;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#a9b898 #f2f5ed;padding:1px 25px 16px}
.vp-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.vp-card{display:block;min-width:0;overflow:hidden;padding:5px;border:1px solid #dfe5d5;border-radius:8px;background:#f7f9f2;color:#4b6340;text-align:left;transition:border-color .15s,background .15s}
.vp-card:hover{border-color:#9bad89;background:#edf3e4}
.vp-card.is-selected{border-color:#6c8955;background:#e4efd6;box-shadow:inset 0 0 0 1px #6c89553b}
.vp-card-image{display:block;position:relative;overflow:hidden;aspect-ratio:1.65;border-radius:4px;background:#e9eadf}
.vp-card-image img{display:block;width:100%;height:100%;object-fit:cover}
.vp-card-image i{position:absolute;right:5px;bottom:5px;display:grid;place-items:center;width:20px;height:20px;border:1px solid #fff9;border-radius:50%;background:#2a5542;color:#fff;font-size:12px;font-style:normal}
.vp-card-copy{display:block;min-height:44px;padding:7px 4px 3px}
.vp-card-copy strong{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:11px;font-weight:500;line-height:1.55;overflow-wrap:anywhere}
.vp-card-copy small{display:block;margin-top:3px;color:#929b84;font-size:9px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vp-empty{padding:36px 15px;text-align:center;color:#7c8a6d}
.vp-empty strong{display:block;color:#536c45;font-size:15px;font-weight:500}
.vp-empty p{margin:10px 0;font-size:12px}
.vp-empty button{padding:8px 15px;border:1px solid #cdd9be;border-radius:6px;background:#edf3e5;color:#567342;font-size:11px}
.vp-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none;padding:10px 25px;border-top:1px solid #e0e6d8;background:#f3f6ed;color:#87937a;font-size:10px}
.vp-footer nav{display:flex;align-items:center;gap:12px}
.vp-footer nav>span{min-width:45px;text-align:center;font-size:11px;font-variant-numeric:tabular-nums}
.vp-footer button{display:grid;place-items:center;width:31px;height:29px;border:1px solid #d5dfc8;border-radius:5px;background:#fcfdf8;color:#597b48;font-size:16px}
.vp-source-note{flex:none;margin:0;padding:8px 25px 11px;background:#f3f6ed;color:#8a957e;font-size:9px;line-height:1.6}
@media(max-width:820px){.vp-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.vp-dialog{width:calc(100vw - 28px)}.vp-current div>small{flex-basis:100%}.vp-current div>span{font-size:9px}}
@media(max-width:520px){.vp-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 20px);border-radius:12px}.vp-dialog-shell{max-height:calc(100dvh - 22px)}.vp-dialog-head{padding:17px 15px 12px}.vp-dialog-head h2{font-size:20px}.vp-current{margin:0 15px 12px;padding:8px}.vp-current-kind{display:none}.vp-filters{padding:0 15px}.vp-search input{font-size:12px}.vp-types{gap:5px;margin:10px 0 8px}.vp-types button{gap:5px;padding:6px 8px;font-size:10px}.vp-types small{font-size:9px}.vp-advanced-fields{grid-template-columns:1fr 1fr;gap:8px}.vp-advanced-fields label:first-child{grid-column:1/-1}.vp-results{padding:1px 15px 14px;min-height:95px}.vp-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.vp-card-copy strong{font-size:12px}.vp-card-copy small{font-size:10px}.vp-card-copy{min-height:44px}.vp-footer{padding:9px 15px}.vp-source-note{padding:7px 15px 10px;font-size:9px}}
@media(max-height:640px) and (min-width:521px){.vp-dialog-head{padding-top:12px;padding-bottom:9px}.vp-current{margin-bottom:9px}.vp-current>img{height:35px;width:47px}.vp-types{margin:8px 0}.vp-advanced summary{padding-bottom:7px}.vp-source-note{padding-top:5px;padding-bottom:7px}}

@media(max-width:520px){.vp-source-tabs{gap:5px;margin-bottom:10px}.vp-source-tabs button{flex-direction:column;gap:2px;padding:8px 5px;font-size:10px}.vp-tabu-filters{grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.vp-tabu-filters label:first-child{grid-column:1/-1}.vp-source-entry{padding:10px}}

