/* Incident history (Incidents + Calendar). Scoped to .vh / .status-history only. Static: no motion. */
@font-face{font-family:StatusHistoryAptos;src:url('/wp-content/themes/Veritas-Data-Research/fonts/Aptos.woff') format('woff');font-weight:400;font-display:swap}
@font-face{font-family:StatusHistoryAptos;src:url('/wp-content/themes/Veritas-Data-Research/fonts/Aptos-SemiBold.woff') format('woff');font-weight:600;font-display:swap}
@font-face{font-family:StatusHistoryAptos;src:url('/wp-content/themes/Veritas-Data-Research/fonts/Aptos-Bold.woff') format('woff');font-weight:700;font-display:swap}
.status-history.vh [hidden]{display:none!important}
.status-history.vh{font-family:StatusHistoryAptos,StatusAptos,Aptos,Arial,sans-serif;color:#3a3b40}
.status-history.vh :focus-visible{outline:3px solid #245eab;outline-offset:2px}
.vh .vh-month>h3{font-size:20px;font-weight:600;line-height:1.3;margin:0;padding:0 0 10px;border-bottom:1px solid #e3e3e3}
.vh .vh-bar{display:flex;flex-wrap:wrap;gap:12px 24px;align-items:center;justify-content:space-between;border-bottom:1px solid #e3e3e3;margin:0 0 28px}
.vh .vh-tabs{display:flex;gap:4px}
.vh .vh-tab{font:inherit;background:none;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;padding:10px 16px;color:#5f6066;cursor:pointer}
.vh .vh-tab[aria-selected="true"]{color:#3a3b40;font-weight:700;border-bottom-color:#d72c2e}
.vh .vh-nav{display:flex;align-items:center;gap:10px;padding-bottom:8px}
.vh .vh-range-label{font-weight:400}
.vh .vh-arrow{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;box-sizing:border-box;border:1px solid #d1d1d1;border-radius:6px;font:inherit;font-size:20px;line-height:1;color:#3a3b40;background:none;text-decoration:none;padding:0}
.vh a.vh-arrow:hover{border-color:#707070}
.vh button.vh-arrow[disabled],.vh .vh-arrow.is-disabled{color:#b5b5b5;border-color:#e3e3e3;cursor:default}
.vh [data-history-error]{color:#7f1a1b;margin:0 0 20px}
.vh .vh-month{margin:0 0 36px}
.vh .vh-empty{color:#5f6066;margin:14px 0}
/* Timeline */
.vh .vh-timeline{margin:0;padding:0}
.vh .vh-item{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr);border-bottom:1px solid #e3e3e3;padding:16px 0}
.vh .vh-item::before{content:"";position:absolute;left:5.5px;top:0;bottom:0;width:1px;background:#d1d1d1}
.vh .vh-icon{grid-column:1;grid-row:1;position:relative;margin-top:7px;background:#fff;border-radius:50%}
.vh .vh-details{grid-column:2;grid-row:1;min-width:0}
.vh .vh-compact{grid-column:2;grid-row:2;min-width:0}
.vh .vh-details[open]~.vh-compact{display:none}
.vh .vh-details>summary{list-style:none;cursor:pointer;display:flex;align-items:baseline;gap:8px;width:fit-content;max-width:100%}
.vh .vh-details>summary::-webkit-details-marker{display:none}
.vh .vh-title{font-weight:600;font-size:18px;color:#3a3b40}
.vh .vh-chev{flex:none;width:7px;height:7px;border-right:1.5px solid #5f6066;border-bottom:1.5px solid #5f6066;transform:rotate(-45deg) translateY(-2px)}
.vh .vh-details[open] .vh-chev{transform:rotate(45deg) translateY(-3px)}
.vh .vh-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:4px 0 2px}
.vh .vh-meta,.vh .vh-continued{color:#5f6066;font-size:15px;margin:2px 0}
.vh .vh-open-meta{margin:4px 0 0}
.vh .vh-body{margin:14px 0 0 12px;padding-left:12px}
.vh .vh-body .status-incident{background:none;border:0;padding:0;margin:0}
.vh .vh-body .status-update{border-top-color:#e3e3e3}
.vh .vh-body .status-start{font-weight:400;color:#5f6066;font-size:15px;margin-top:0}
.vh [data-reveal-month]{display:block;width:100%;box-sizing:border-box;text-align:center;border:1px solid #d1d1d1;border-radius:6px;padding:10px;margin-top:16px;color:#3a3b40;background:#fafafa;font:inherit;font-size:15px;font-weight:400;cursor:pointer}
/* Calendar */
.vh .vh-cal{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px}
.vh .vh-cal-head{display:flex;justify-content:space-between;gap:8px;font-size:14px;color:#5f6066;margin:0 0 8px}
.vh .vh-grid{display:grid;gap:4px}
.vh .vh-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}
.vh .vh-day-wrap{position:relative;min-width:0}
.vh .vh-cell,.vh .vh-pad{display:block;width:100%;aspect-ratio:1;border-radius:3px;box-sizing:border-box}
.vh .vh-cell{border:0;padding:0;margin:0;font:inherit;background:#e4e4e4;cursor:default}
.vh .vh-cell[data-target-incident]{cursor:pointer}
.vh .vh-cell--quiet,.vh .vh-cell--resolvedonly{background:#e4e4e4}
.vh .vh-cell--future{background:#f4f4f4}
.vh .vh-cell--investigating{background:#b3261e}
.vh .vh-cell--ongoing{background:#b77900}
.vh .vh-cell--monitoring{background:#2b5f9e}
.vh .vh-cell.is-today{box-shadow:0 0 0 1.5px #fff,0 0 0 3px #707070}
.vh .vh-cell:focus-visible{outline:3px solid #245eab;outline-offset:2px;position:relative;z-index:2}
.vh .vh-tip{position:fixed;top:0;left:0;width:250px;max-width:calc(100vw - 24px);overflow-y:auto;box-sizing:border-box;background:#fff;color:#3a3b40;border:1px solid #d1d1d1;border-radius:6px;box-shadow:0 2px 8px rgba(58,59,64,.12);padding:10px 12px;font-size:14px;line-height:1.4;z-index:1000;display:grid;gap:8px;text-align:left}
.vh .vh-tip-row{display:grid}
.vh .vh-tip-title{font-weight:600}
.vh .vh-tip-status{color:#5f6066}
.vh .vh-legend{display:flex;flex-wrap:wrap;gap:4px 16px;list-style:none;padding:0;margin:24px 0 0;font-size:13px;color:#5f6066}
.vh .vh-legend li{display:flex;align-items:center;gap:6px;margin:0;list-style:none}
.vh .vh-swatch{width:11px;height:11px;border-radius:2px;flex:none}
.vh .vh-swatch.is-today{background:#e4e4e4;outline:1px solid #707070;outline-offset:1px}
.vh .vh-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:860px){.vh .vh-cal{gap:24px}}
@media(max-width:600px){.vh .vh-cal{grid-template-columns:minmax(0,1fr)}.vh .vh-bar{flex-direction:column;align-items:stretch}.vh .vh-nav{justify-content:space-between}}
