/* Project summaries and evidence details build on the existing VRC status theme. */
dialog{--accent:var(--cyan)}dialog[data-state=fail]{--accent:var(--red)}dialog[data-state=unknown]{--accent:var(--gold)}
.cards{align-items:start}
dialog{width:min(720px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:0;color:var(--text);background:#111a25;border:1px solid #526078;border-top:3px solid var(--gold);border-radius:8px;box-shadow:0 30px 100px #0009;overflow:auto}dialog::backdrop{background:#060a12d9;backdrop-filter:blur(4px)}.dialog-heading{display:flex;justify-content:space-between;gap:18px;align-items:center;padding:22px 24px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#111a25;z-index:1}.dialog-heading .eyebrow{margin:0 0 7px}.dialog-heading h2{font:400 27px/1.2 Georgia,serif;margin:0}.dialog-heading button{flex-shrink:0}.dialog-state{font-size:12px;margin:0;padding:13px 24px;background:#0c141f;color:var(--muted)}.dialog-state.pass{color:var(--green)}.dialog-state.fail{color:var(--red)}.dialog-state.unknown{color:var(--gold)}#dialog-body{padding:10px 24px 24px;font-size:14px;color:var(--muted)}#dialog-body>p{overflow-wrap:anywhere}#dialog-body .conditions{list-style:none;padding:0}#dialog-body .condition{margin:12px 0}#dialog-body .detail-intro p{line-height:1.6}.dialog-footer{font-size:11px;color:var(--muted);padding:0 24px 20px;margin:0}.dialog-heading .button{white-space:nowrap}@media(max-width:720px){.dialog-heading{padding:17px}.dialog-heading h2{font-size:23px}.dialog-heading .button{padding:9px;font-size:12px}.dialog-state{padding:12px 17px}#dialog-body{padding:10px 17px 17px}.dialog-footer{padding:0 17px 17px}}
.project-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.project-tile{--project-accent:var(--cyan);position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;text-align:left;padding:19px 17px 17px;background:linear-gradient(140deg,#ffffff04,transparent 70%),#111a25;border:1px solid var(--line);border-top:2px solid var(--project-accent);border-radius:5px;color:var(--text);cursor:pointer;transition:background .15s,border-color .15s}
.project-tile:hover,.project-tile[aria-pressed=true]{background:#1a2838;border-color:var(--project-accent)}
.project-tile.amber{--project-accent:var(--gold)}.project-tile.violet{--project-accent:var(--purple)}.project-tile.rose{--project-accent:#e89bac}.project-tile.green{--project-accent:var(--green)}.project-tile.blue{--project-accent:#95b4ea}
.project-icon{color:var(--project-accent);display:grid;place-items:center;width:39px;height:39px;border:1px solid #ffffff20;border-radius:6px;background:#ffffff04;margin-bottom:3px}
.project-icon svg{width:24px;height:24px}.project-tile strong{font-size:17px;font-weight:550}.project-scope{font-size:12px;color:var(--muted);min-height:38px;line-height:1.5}.project-state{font-size:12px;color:var(--green);display:flex;gap:7px;align-items:center;margin-top:4px}.project-state:before{content:'';width:6px;height:6px;background:currentColor;border-radius:50%;flex-shrink:0}.project-tile[data-state=fail] .project-state{color:var(--red)}.project-tile[data-state=unknown] .project-state{color:var(--gold)}.project-note{font-size:10px;line-height:1.45;color:var(--muted);min-height:28px}.project-arrow{position:absolute;top:19px;right:17px;color:var(--project-accent)}
.view-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.view-controls>div{margin-right:auto}.view-controls label{display:block;font-size:12px;color:var(--muted);margin-bottom:7px}select{font:inherit;font-size:13px;min-width:200px;max-width:100%;border:1px solid var(--line);border-radius:3px;background:#111a25;color:var(--text);padding:10px 30px 10px 12px}select:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}.view-summary{font-size:12px;color:var(--muted);margin:4px 0 17px}
.service h3{display:flex;align-items:center;gap:10px}.service-icon{color:var(--accent);display:grid;place-items:center;width:28px;height:28px;flex-shrink:0}.service-icon svg{width:25px;height:25px}.stamp>span{display:block;margin-top:5px;color:#b9c6d3}.service[data-state=fail]{border-color:#97515f;background:linear-gradient(150deg,#4f263133,transparent),var(--panel)}.service[data-state=unknown]{border-top-color:#957e50}
.failure-note{padding:11px 12px;margin-bottom:14px;background:#4a233140;border:1px solid #87505e;border-radius:3px;font-size:12px;color:var(--red)}.failure-note p{margin:6px 0 0;line-height:1.55}.detail-intro{padding:12px 0 0}.detail-intro strong{color:var(--text);font-size:12px}.detail-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:16px 0 6px;padding:12px;background:#0b121c;border-radius:3px}.detail-stats span{display:block;font-size:11px}.detail-stats strong{font-weight:500;font-size:17px;color:var(--text)}.trend{display:block;width:100%;height:auto;fill:none;margin-top:12px}.trend polyline{stroke:var(--accent);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.chart-guide{stroke:#ffffff15;stroke-width:1;stroke-dasharray:4 4}.chart-labels{display:flex;justify-content:space-between;gap:8px;font-size:10px;color:var(--muted);margin:4px 0 15px}.chart-empty{padding:15px;background:#0b121c;border-radius:3px}
.service .conditions{list-style:none;padding:0}.condition{display:flex;gap:8px;border-bottom:1px solid #ffffff09;padding-bottom:8px}.condition>span:first-child{width:12px;flex-shrink:0}.condition code{display:block;margin-top:5px;font:10px/1.5 Consolas,monospace;color:var(--muted);overflow-wrap:anywhere}.detail-links{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:7px 0 2px}.service .detail-links a{margin-top:0}.permalink{font-size:11px;text-underline-offset:4px}.event>div>strong{display:block;font-size:12px;color:var(--gold);margin:5px 0}.event>div>a{font-size:14px;text-decoration:none}.event>div>a:hover{text-decoration:underline}.event.failure>span,.event.failure strong{color:var(--red)}.event.recovery>span,.event.recovery strong{color:var(--green)}
@media(max-width:1100px){.project-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-scope{min-height:0}.project-note{min-height:0}}
@media(max-width:720px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.project-tile{padding:16px 13px}.project-tile strong{font-size:16px}.project-scope{min-height:36px}.project-note{font-size:10px;min-height:28px}.project-arrow{top:16px;right:13px}.view-controls{align-items:stretch;gap:9px}.view-controls>div{width:100%;margin-right:0}.view-controls select{width:100%}.view-controls button{flex:1;font-size:12px}.project-grid+.legend{margin-top:15px}}
@media(prefers-reduced-motion:reduce){.project-tile{transition:none}}
