/* Catalogue rules are scoped; the shared public shell retains showcase styling. */
.vc-main{padding-top:28px;padding-bottom:48px;min-height:60vh}
.vc-breadcrumbs{display:flex;align-items:center;gap:10px;color:var(--vh-muted);font-size:12px;margin-bottom:22px}
.vc-breadcrumbs a:hover{text-decoration:underline}
.vc-heading{margin-bottom:26px}.vc-heading h1{font-size:32px;line-height:1.2;letter-spacing:-.65px;margin-bottom:10px}.vc-heading p{color:var(--vh-muted);font-size:15px}
.vc-search{border:1px solid var(--vh-border);border-radius:7px;display:flex;gap:12px;align-items:center;padding:6px 8px 6px 14px;min-height:50px;color:var(--vh-muted)}
.vc-search:focus-within{border-color:var(--vh-blue)}.vc-search input{flex:1;border:0;outline:0!important;background:transparent;font:inherit;color:var(--vh-text);width:100%;min-height:36px}.vc-search input::placeholder{color:var(--vh-muted)}
.vc-search-leading{position:relative;display:flex;align-items:center;justify-content:center;width:17px;height:17px;flex:none}
.vc-search-spinner{display:none;position:absolute;inset:0;border:1.5px solid var(--vh-blue);border-right-color:transparent;border-radius:50%}
.vc-search[aria-busy=true] .vc-search-leading>svg{visibility:hidden}.vc-search[aria-busy=true] .vc-search-spinner{display:block}
.vc-search-tools{position:relative;width:44px;height:36px;flex:none}.vc-search-clear{position:absolute;right:0;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:5px;background:transparent;color:var(--vh-blue);cursor:pointer}
.vc-search-clear svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}.vc-search-clear:hover{background:var(--vh-tint)}
.vc-search[data-enhanced] input::-webkit-search-cancel-button,.vc-search[data-enhanced] input::-webkit-search-decoration{appearance:none;-webkit-appearance:none}
@media(prefers-reduced-motion:no-preference){.vc-search[aria-busy=true] .vc-search-spinner{animation:vc-search-spin .7s linear infinite}@keyframes vc-search-spin{to{transform:rotate(360deg)}}}
#vc-applied{min-height:30px;margin-top:16px}
.vc-quick-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr)) auto;gap:10px;margin-top:10px}
.vc-quick-filters>button{display:flex;align-items:center;gap:7px;border:1px solid var(--vh-border);border-radius:6px;background:#fff;color:var(--vh-text);padding:12px 14px;font-size:13px;font-weight:650;text-align:left;cursor:pointer;min-height:46px}
.vc-quick-filters .dv-icon-chevron{margin-left:auto;width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:1.5;flex:none}.vc-quick-filters>button:hover{border-color:var(--vh-blue);background:var(--vh-tint)}.vc-quick-filters .vc-all-filters{color:var(--vh-blue)}
.vc-chips{display:flex;flex-wrap:wrap;gap:7px;align-items:center}.vc-chips:not(:empty){margin-top:16px}.vc-chip{display:inline-flex;align-items:center;gap:10px;padding:6px 10px;border:1px solid var(--vh-border);border-radius:6px;background:var(--vh-tint);color:var(--vh-text);font-size:12px;text-align:left;line-height:1.4;cursor:pointer;overflow-wrap:anywhere;max-width:100%}.vc-chip:hover,.vc-chip:focus-visible{border-color:var(--vh-blue);color:var(--vh-blue)}.vc-chip span{color:var(--vh-blue);font-size:17px;line-height:1}.vc-reset{border:0;background:none;padding:6px;color:var(--vh-blue);text-decoration:none;font:inherit;font-size:12px;cursor:pointer;border-radius:5px;min-height:30px}
.vc-result-heading{display:flex;align-items:center;justify-content:space-between;margin:22px 0 14px;font-size:13px;font-weight:600}
.vc-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;margin-top:26px}.vc-pagination>a,.vc-pagination>span{width:34px;height:34px;display:flex;align-items:center;justify-content:center;border:1px solid var(--vh-border);border-radius:5px;font-size:13px}.vc-pagination>a:hover{border-color:var(--vh-blue);color:var(--vh-blue)}.vc-pagination .vc-current{background:var(--vh-blue);border-color:var(--vh-blue);color:#fff}.vc-pagination [aria-disabled]{opacity:.4}.vc-pagination .vc-ellipsis{border:0;width:20px}.vc-result-range{color:var(--vh-muted);font-size:12px;margin-left:8px!important}
.vc-empty{padding:55px 18px;display:flex;flex-direction:column;align-items:center;gap:18px;text-align:center;border:1px solid var(--vh-border);border-radius:10px}.vc-empty h2{font-size:22px}.vc-empty p{color:var(--vh-muted)}
.vc-notice{padding:14px;border:1px solid var(--vh-border);background:var(--vh-tint);border-radius:7px;display:flex;align-items:center;gap:16px;justify-content:space-between;margin-top:16px;color:var(--vh-muted);font-size:13px}.vc-notice button{border:0;background:transparent;color:var(--vh-blue);font:inherit;text-decoration:underline;cursor:pointer;flex:none}
.vc-dialog{border:1px solid var(--vh-border);border-radius:12px;padding:0;max-width:980px;width:calc(100% - 48px);height:min(760px,calc(100dvh - 64px));max-height:calc(100dvh - 64px);color:var(--vh-text);background:#fff;box-shadow:0 24px 80px #111b3729;overflow:hidden}.vc-dialog[open]{display:flex;flex-direction:column}.vc-dialog::backdrop{background:#111b3747}.vc-dialog-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--vh-border);background:var(--vh-tint);flex:none}.vc-dialog-header h2{font-size:20px}.vc-close{display:grid;place-items:center;flex:none;padding:8px;border:0;border-radius:5px;background:transparent;color:var(--vh-blue);width:36px;height:36px;cursor:pointer}.vc-close svg{display:block;width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}.vc-close:hover{background:#fff}
.vc-draft-summary{min-height:58px;overflow:hidden;border-bottom:1px solid var(--vh-border);margin-bottom:16px;flex:none}.vc-draft-content{width:100%;padding:10px 2px}.vc-draft-placeholder{font-size:12px;color:var(--vh-muted)}.vc-draft-summary:has(.vc-chip) .vc-draft-placeholder{display:none}.vc-draft-summary .vc-chips{margin:0;flex-wrap:wrap;overflow:visible;max-width:100%;padding:0}.vc-draft-summary .vc-chip{flex:0 1 auto;white-space:normal;max-width:100%;min-height:36px}.vc-draft-summary .vc-chip span{flex:none}.vc-dialog-body{display:grid;grid-template-columns:200px minmax(0,1fr);flex:1;overflow:hidden;min-height:0;background:var(--vh-tint)}.vc-tabs{overflow:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:6px;padding:18px 12px;border-right:1px solid var(--vh-border)}.vc-tabs button{border:0;border-radius:7px;background:none;text-align:left;padding:13px 14px;font-size:13px;font-weight:650;line-height:1.5;cursor:pointer;color:var(--vh-text)}.vc-tabs [aria-selected="true"]{background:#fff;color:var(--vh-blue);box-shadow:0 2px 6px #111b3706}.vc-tabs button:hover{background:#fff}
.vc-sections{padding:22px 24px;min-height:0;overflow:auto;overscroll-behavior:contain;overflow-anchor:none;scrollbar-gutter:stable}.vc-section-note{font-size:13px;line-height:1.6;color:var(--vh-muted);margin-bottom:16px!important}.vc-field{margin-bottom:10px;border:1px solid var(--vh-border);border-radius:7px;background:#fff}.vc-field>summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:7px;padding:13px 14px;font-size:14px;font-weight:650;line-height:1.4}.vc-field>summary::-webkit-details-marker{display:none}.vc-field summary .dv-icon-chevron{margin-left:auto;width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:1.5;flex:none}.vc-field-expanded>summary{color:var(--vh-blue);border-bottom:1px solid var(--vh-border)}.vc-field-expanded>summary .dv-icon-chevron{transform:rotate(180deg)}
.vc-field-body{padding:14px}.vc-option-search{background:#fff;width:100%;border:1px solid var(--vh-border);border-radius:5px;padding:10px 12px;min-height:42px;font:inherit;font-size:13px;color:var(--vh-text);margin-bottom:10px}/* Inner lists pass vertical scrolling to the modal body at either edge. */
.vc-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;max-height:270px;overflow:auto;overscroll-behavior:contain auto;padding:3px}.vc-option{display:flex;align-items:flex-start;gap:8px;font-size:13px;color:var(--vh-muted);line-height:1.5;cursor:pointer;padding:9px 6px;min-height:44px;border-radius:5px;overflow-wrap:anywhere}.vc-option input{appearance:none;-webkit-appearance:none;display:grid;place-items:center;background:#fff;border:1px solid var(--vh-border);border-radius:3px;width:16px;height:16px;flex:none;margin:2px 0;cursor:pointer}.vc-option input::before{content:"";width:8px;height:4px;border-left:1.5px solid var(--vh-blue);border-bottom:1.5px solid var(--vh-blue);transform:translateY(-1px) rotate(-45deg);opacity:0}.vc-option input:checked{border-color:var(--vh-blue);background:var(--vh-tint)}.vc-option input:checked::before{opacity:1}.vc-option input:focus-visible{outline:0}.vc-option:has(input:focus-visible){outline:1px solid var(--vh-blue);outline-offset:1px}.vc-option:hover{background:var(--vh-tint)}.vc-option>span{flex:1}.vc-option small{display:block;font-size:11px;color:var(--vh-muted);line-height:1.4}.vc-option b{font-weight:450;font-size:11px;flex:none;margin-top:2px}.vc-option:has(input:checked){color:var(--vh-blue);background:var(--vh-tint)}.vc-option-section{grid-column:1/-1;font-size:12px;font-weight:650;color:var(--vh-text);padding-top:8px}.vc-options>p{font-size:13px;color:var(--vh-muted);grid-column:1/-1;padding-block:8px}.vc-more{border:0;background:none;color:var(--vh-blue);font:inherit;font-size:12px;cursor:pointer;padding:10px 2px}
.vc-dialog-error{margin:0;border-radius:0;flex:none}.vc-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 24px;border-top:1px solid var(--vh-border);flex:none}.vc-dialog-footer>div{display:flex;align-items:center;gap:14px}.vc-cancel{text-decoration:none}.vc-dialog-footer>.vc-reset{min-height:44px;padding:10px 12px}.vc-reset:hover,.vc-reset:focus-visible{background:var(--vh-tint);color:var(--vh-blue);text-decoration:none}.vc-dialog-footer .vh-button{font-size:13px;min-height:44px}.vc-dialog button:disabled{opacity:.55;cursor:wait}
@media(max-width:1024px){.vc-heading h1{font-size:29px}}
@media(max-width:840px){.vc-dialog-body{grid-template-columns:170px minmax(0,1fr)}.vc-tabs{padding:14px 8px}.vc-sections{padding:18px 16px}.vc-options{grid-template-columns:1fr}.vc-quick-filters>button{padding:11px 10px;font-size:12px}}
@media(max-width:560px){.vc-main{padding-top:22px;padding-bottom:32px}.vc-breadcrumbs{margin-bottom:18px}.vc-heading h1{font-size:27px;line-height:1.2;letter-spacing:-.55px}.vc-heading p{font-size:14px;line-height:1.6}.vc-heading{margin-bottom:22px}.vc-quick-filters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.vc-quick-filters>button{font-size:12px;padding:10px;min-height:46px}.vc-search{padding-left:11px;gap:8px}.vc-search input{font-size:14px}.vc-result-range{width:100%;text-align:center;margin:8px 0 0!important}.vc-dialog{width:calc(100% - 20px);height:calc(100dvh - 24px);max-height:calc(100dvh - 24px);border-radius:10px}.vc-dialog-header{padding:14px}.vc-dialog-header h2{font-size:18px}.vc-dialog-body{display:flex;flex-direction:column;min-height:0}.vc-tabs{flex:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border-right:0;border-bottom:1px solid var(--vh-border);gap:5px;padding:10px}.vc-tabs button{font-size:12px;padding:10px}.vc-sections{flex:1;padding:16px 12px;min-height:0}.vc-draft-summary{padding-inline:0}.vc-dialog-footer{display:grid;grid-template-columns:1fr 1fr;padding:12px;gap:8px 12px;align-items:center}.vc-dialog-footer>div{display:contents}.vc-dialog-footer>.vc-reset{justify-self:start}.vc-dialog-footer .vc-cancel{justify-self:end}.vc-dialog-footer #vc-apply{grid-column:1/-1;width:100%}.vc-dialog-footer .vh-button{font-size:12px;padding:11px 12px}.vc-option{min-height:44px}.vc-dialog-error{font-size:12px;padding:10px}.vc-draft-summary{min-height:54px}.vc-options{max-height:240px}}
@media(max-width:560px) and (max-height:560px){.vc-tabs{display:flex;flex-direction:row;overflow-x:auto;gap:6px}.vc-tabs button{flex:none;white-space:nowrap}.vc-draft-summary{min-height:50px}}
@media(prefers-reduced-motion:no-preference){
  .vc-field summary .dv-icon-chevron{transition:transform 200ms cubic-bezier(.2,.7,.3,1)}
  .vc-dialog[open]{animation:vc-dialog-in 200ms cubic-bezier(.2,.7,.3,1) both}
  .vc-dialog[open]::backdrop{animation:vc-backdrop-in 200ms ease-out both}
  .vc-dialog.vc-is-closing{animation:vc-dialog-out 180ms ease-in both}
  .vc-dialog.vc-is-closing::backdrop{animation:vc-backdrop-out 180ms ease-in both}
  @keyframes vc-dialog-in{from{opacity:0}to{opacity:1}}
  @keyframes vc-dialog-out{from{opacity:1}to{opacity:0}}
  @keyframes vc-backdrop-in{from{opacity:0}to{opacity:1}}
  @keyframes vc-backdrop-out{from{opacity:1}to{opacity:0}}
}

/* Public filter controls follow the shared thin-border focus treatment. */
.vc-dialog:focus{outline:0}
.vc-dialog .vc-option-search:focus{border-color:var(--vh-blue);outline:0;box-shadow:none}
.vc-option-search::placeholder{color:var(--vh-muted);opacity:1}
.vc-quick-filters>button:focus-visible,.vc-chips .vc-chip:focus-visible,.vc-reset:focus-visible,.vc-search-clear:focus-visible{outline:1px solid var(--vh-blue);outline-offset:2px;box-shadow:none}
.vc-option b{min-width:4ch;text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.vc-dialog :is(button,summary,select):focus-visible{outline:1px solid var(--vh-blue);outline-offset:2px;box-shadow:none}
.vc-dialog .vc-option-search::-webkit-search-cancel-button{cursor:pointer;appearance:none;-webkit-appearance:none;width:16px;height:16px;background-color:var(--vh-blue);mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m4 4 8 8M12 4l-8 8'/%3E%3C/svg%3E") center/16px 16px no-repeat;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'%3E%3Cpath d='m4 4 8 8M12 4l-8 8'/%3E%3C/svg%3E") center/16px 16px no-repeat}
.vc-dialog .vc-option-search:placeholder-shown::-webkit-search-cancel-button{opacity:0;pointer-events:none}
.vc-dialog .vc-notice button{text-decoration:none;padding:8px;border-radius:5px}.vc-dialog .vc-notice button:hover{background:#fff}
@media(max-width:560px){.vc-close{width:44px;height:44px}.vc-dialog .vc-option-search{font-size:16px}}
@media(max-width:560px){.vc-search input{font-size:16px}.vc-tabs button,.vc-chip,.vc-draft-summary .vc-chip,.vc-more,.vc-reset{min-height:44px}}
@media(forced-colors:active){.vc-option input{appearance:auto;-webkit-appearance:auto}.vc-option input::before{display:none}.vc-option:has(input:checked){color:Highlight;outline:1px solid Highlight}}

/* Count updates do not move neighbouring footer actions. */
#vc-apply{font-variant-numeric:tabular-nums;white-space:nowrap;gap:6px}.vc-apply-count{display:inline-block;flex:0 0 6ch;width:6ch;text-align:left}.vc-dialog #vc-apply:disabled[aria-busy=true]{opacity:1;background:var(--vh-blue);border-color:var(--vh-blue);cursor:progress}
@media(min-width:561px){#vc-apply{width:232px}}
.vc-dialog [data-options][aria-busy=true]{cursor:progress}
@media(prefers-reduced-motion:no-preference){.vc-option,.vc-chip,.vc-reset{transition:background-color 140ms,color 140ms,border-color 140ms}}

/* The same discard dialog component as administration, in public-shell tokens. */
.vc-page .dv-unsaved-dialog{width:min(520px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid var(--vh-border);border-radius:12px;background:#fff;color:var(--vh-text);box-shadow:0 24px 80px #111b3729;overflow:auto}
.vc-page .dv-unsaved-dialog::backdrop{background:#111b3747}
.vc-page .dv-unsaved-dialog .dv-showcase-header{padding:24px 24px 0}
.vc-page .dv-unsaved-dialog h2{font-size:20px;line-height:1.4;font-weight:650;letter-spacing:-.35px}
.vc-page .dv-unsaved-dialog .dv-account-form-body{padding:16px 24px 24px}
.vc-page .dv-unsaved-dialog p{font-size:14px;line-height:1.6;color:var(--vh-muted)}
.vc-page .dv-unsaved-dialog .dv-showcase-footer{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;padding:16px 24px;border-top:1px solid var(--vh-border)}
.vc-page .dv-unsaved-dialog .dv-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 14px;border:1px solid var(--vh-blue);border-radius:7px;background:var(--vh-blue);color:#fff;font:inherit;font-size:13px;font-weight:650;line-height:1.4;text-align:center;cursor:pointer;text-decoration:none}
.vc-page .dv-unsaved-dialog .dv-button:hover{background:#073cdb}
.vc-page .dv-unsaved-dialog .dv-button.secondary{border-color:var(--vh-border);background:#fff;color:var(--vh-text)}
.vc-page .dv-unsaved-dialog .dv-button.secondary:hover{background:var(--vh-tint)}
.vc-page .dv-unsaved-dialog .dv-button:focus-visible{outline:1px solid var(--vh-blue);outline-offset:2px}
@media(max-width:560px){.vc-page .dv-unsaved-dialog .dv-showcase-header{padding:20px 18px 0}.vc-page .dv-unsaved-dialog .dv-account-form-body{padding:14px 18px 20px}.vc-page .dv-unsaved-dialog .dv-showcase-footer{padding:14px 18px}.vc-page .dv-unsaved-dialog .dv-button{flex:1 1 100%}}
@media(prefers-reduced-motion:no-preference){.vc-page .dv-unsaved-dialog[open],.vc-page .dv-unsaved-dialog[open]::backdrop{animation:vc-backdrop-in 140ms ease-out}}

.vc-field-help{margin:0 0 12px!important;color:var(--vh-muted);font-size:13px;line-height:1.6}.vc-field:has([data-options="profile"]) .vc-options,.vc-field:has([data-options="projects"]) .vc-options,.vc-field:has([data-options="letters"]) .vc-options,.vc-field:has([data-options="awards"]) .vc-options{grid-template-columns:1fr}

/* Reserve a lane even for overlay scrollbars; counts never sit under the thumb. */
.vc-dialog :is(.vc-options,.vc-sections,.vc-tabs){scrollbar-width:thin;scrollbar-color:#8db5ff #eef3ff}
.vc-options{scrollbar-gutter:stable;padding-right:18px}
.vc-dialog :is(.vc-options,.vc-sections,.vc-tabs)::-webkit-scrollbar{width:8px;height:8px}
.vc-dialog :is(.vc-options,.vc-sections,.vc-tabs)::-webkit-scrollbar-track{background:#eef3ff;border-radius:8px}
.vc-dialog :is(.vc-options,.vc-sections,.vc-tabs)::-webkit-scrollbar-thumb{background:#8db5ff;border:2px solid #eef3ff;border-radius:8px}
.vc-dialog :is(.vc-options,.vc-sections,.vc-tabs)::-webkit-scrollbar-thumb:hover{background:#6597f0}
@media(forced-colors:active){.vc-dialog :is(.vc-options,.vc-sections,.vc-tabs){scrollbar-color:auto}}

/* Four 264px cards, three 24px gaps, and the container's side padding. */
@media (min-width: 1192px) {
  .vc-grid { --vh-card-columns: 4; }
}
