:root{--bg:#ffffff;--surface:#f2f4f7;--text:#14181f;--muted:#4a5361;--border:#6b7480;--primary:#c2381a;--primary-text:#ffffff;--danger:#a4161a;--danger-bg:#fdecec;--success:#1e6b2f;--success-bg:#e8f5ec;--info-bg:#fff1e8;--focus:#14181f;--brand-start:#e7431f;--brand-end:#f57e14;--radius:6px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:var(--text);background:var(--bg);line-height:1.5}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}a{color:var(--primary)}:focus-visible{outline:3px solid var(--focus);outline-offset:2px}input[type=datetime-local]:focus-within{outline:3px solid var(--focus);outline-offset:2px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.skip-link{position:absolute;left:8px;top:-48px;background:var(--primary);color:var(--primary-text);padding:8px 12px;z-index:10}.skip-link:focus{top:8px}h1{font-size:1.5rem;margin:0 0 .5rem}h2{font-size:1.15rem;margin:1.25rem 0 .5rem}.button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:44px;min-width:44px;padding:.5rem 1rem;border-radius:var(--radius);border:2px solid var(--primary);background:var(--primary);color:var(--primary-text);font:inherit;font-weight:600;cursor:pointer;text-decoration:none}.button.secondary{background:var(--bg);color:var(--primary)}.button.danger{background:var(--danger);border-color:var(--danger)}.button:disabled{opacity:.7;cursor:progress}.button-row{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:1rem}.field{display:flex;flex-direction:column;gap:.25rem;margin-bottom:1rem}.field label{font-weight:600}.field input,.field select,.field textarea{font:inherit;min-height:44px;padding:.5rem .6rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--bg);color:var(--text)}.field textarea{min-height:8rem}.field input[aria-invalid=true],.field select[aria-invalid=true],.field textarea[aria-invalid=true]{border:2px solid var(--danger)}.field-error{color:var(--danger);margin:0;font-weight:600}.hint{color:var(--muted);margin:0;font-size:.95rem}.checkbox{display:flex;align-items:center;gap:.5rem;min-height:44px}.checkbox input{width:20px;height:20px}.alert{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.75rem;padding:.75rem 1rem;border-radius:var(--radius);margin:.75rem 0;border:1px solid}.alert p{margin:0}.alert-error{background:var(--danger-bg);border-color:var(--danger);color:var(--danger)}.alert-info{background:var(--info-bg);border-color:var(--primary);color:var(--text)}.alert-success{background:var(--success-bg);border-color:var(--success);color:var(--success)}.entry{min-height:100vh;display:grid;place-items:center;padding:1rem;background:var(--surface)}.entry-card,.staff-only{width:min(100%,30rem);background:var(--bg);border:1px solid #c9ced4;border-radius:10px;padding:1.5rem}.secret{word-break:break-all;font-size:1.05rem}.shell{display:grid;grid-template-columns:15rem 1fr;min-height:100vh}.shell-side{background:var(--surface);border-right:1px solid #c9ced4;padding:1rem}.shell nav ul{list-style:none;margin:0;padding:0}.shell nav a{display:block;padding:.6rem .75rem;border-radius:var(--radius);color:var(--text);text-decoration:none;min-height:44px}.shell nav a[aria-current=page]{background:var(--primary);color:var(--primary-text);font-weight:600}.shell main{padding:1.5rem;max-width:72rem}.shell .who{color:var(--muted);font-size:.9rem;margin-bottom:1rem}@media (max-width:760px){.shell{grid-template-columns:1fr}.shell-side{border-right:0;border-bottom:1px solid #c9ced4}}.page-header{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.page-actions,.page-header{display:flex;flex-wrap:wrap}.page-actions{gap:.5rem}.filters{display:flex;flex-wrap:wrap;gap:0 1rem;align-items:flex-end}.filters .field{min-width:12rem}table{width:100%;border-collapse:collapse}td,th{text-align:left;padding:.6rem .5rem;border-bottom:1px solid #c9ced4;vertical-align:top}th{font-weight:700;background:var(--surface)}.badge{display:inline-block;padding:.1rem .5rem;border-radius:999px;border:1px solid var(--muted);font-size:.85rem}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(14rem,1fr));gap:1rem}.card{border:1px solid #c9ced4;border-radius:10px;padding:1rem}.card .value{font-size:1.75rem;font-weight:700}.skeleton-row{height:2.5rem;margin:.4rem 0;border-radius:var(--radius);background:linear-gradient(90deg,#eceef1,#f6f7f9,#eceef1)}@media (prefers-reduced-motion:no-preference){.skeleton-row{background-size:200% 100%;animation:shimmer 1.4s infinite}}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.empty{padding:2rem;text-align:center;border:1px dashed var(--border);border-radius:10px}dialog{border:1px solid #c9ced4;border-radius:10px;max-width:32rem}dialog::backdrop{background:rgb(0 0 0/.4)}pre.json{background:var(--surface);padding:.5rem;border-radius:var(--radius);overflow-x:auto;max-width:28rem;white-space:pre-wrap;font-size:.85rem}.stack{display:grid;gap:1rem}.facts{display:grid;grid-template-columns:minmax(10rem,max-content) 1fr;gap:.4rem 1rem;margin:1rem 0}.facts dt{font-weight:600}.facts dd{margin:0;overflow-wrap:anywhere}.chunks{padding-left:1.5rem}.chunks li{margin-bottom:.75rem}.chunks p{margin:.2rem 0}.checklist{list-style:none;padding:0;margin:0 0 1rem}.checklist .ok{color:var(--success);font-weight:700}.checklist .missing{color:var(--danger);font-weight:700}.notice{padding:.75rem 1rem;border-left:4px solid var(--primary);background:var(--surface);margin:.5rem 0}dialog.confirm{max-width:32rem;border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.25rem;background:var(--bg);color:var(--text)}dialog.confirm::backdrop{background:rgba(20,24,31,.5)}.notice-failed{border-left-color:var(--danger);background:var(--danger-bg)}.answer,.snapshot{white-space:pre-wrap;background:var(--surface);border-radius:var(--radius);padding:.75rem 1rem}.card h3{margin-top:0}.card h3,h3{font-size:1.05rem}h3{margin:1rem 0 .5rem}h4{font-size:1rem;margin:.75rem 0 .25rem}.brand-band{height:6px;border-radius:3px;background:linear-gradient(90deg,var(--brand-start),var(--brand-end))}.brand-logo{display:block;width:160px;height:auto;margin:0 0 1rem .75rem}.entry-brand{display:grid;grid-template-columns:minmax(0,20rem) minmax(0,30rem);gap:2rem;place-items:center stretch;justify-content:center;align-content:center}.brand-side{display:flex;flex-direction:column;gap:1rem}.brand-side .entry-logo{width:100%;max-width:240px;height:auto}.founder{margin:0}.founder img{display:block;width:100%;height:auto;max-height:26rem;object-fit:cover;object-position:top;border-radius:10px}.founder figcaption{color:var(--muted);font-size:.95rem;margin-top:.4rem}@media (max-width:760px){.entry-brand{grid-template-columns:1fr;gap:1rem}.founder{display:flex;align-items:center;gap:.75rem}.founder img{width:4.5rem;height:4.5rem;border-radius:50%}.founder figcaption{margin-top:0}}.health-window{display:flex;gap:.5rem;align-items:center;margin:0 0 1rem}.health-chart{margin:0 0 1.5rem;border:1px solid #c9ced4;border-radius:10px;padding:1rem}.health-chart h2{margin:0 0 .25rem;font-size:1.1rem}.health-alarm{border-color:var(--danger)}.health-chart svg{width:100%;height:11rem;display:block}.health-axis{stroke:var(--border);stroke-width:1}.health-tick{font-size:11px;fill:var(--muted)}.health-series{fill:none;stroke-width:2;vector-effect:non-scaling-stroke}.health-series-0{stroke:#1d4ed8;background:#1d4ed8}.health-series-1{stroke:#1e6b2f;background:#1e6b2f}.health-series-2{stroke:#7c2d92;background:#7c2d92}.health-limit{fill:none;stroke:var(--danger);stroke-width:2;stroke-dasharray:6 4;vector-effect:non-scaling-stroke}.health-legend{display:flex;gap:1rem;flex-wrap:wrap;list-style:none;padding:0;margin:.5rem 0 0}.health-swatch{display:inline-block;width:1.5rem;height:.25rem;vertical-align:middle}.health-swatch.health-limit{background:none;border-top:3px dashed var(--danger);height:0}