html, body { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; color: #253244; background: #f4f6f8; }
.portal-shell { min-height: 100vh; display: flex; flex-direction: column; }
.portal-shell main { flex: 1; }
.portal-header { background: #fff; border-bottom: 1px solid #dee2e6; }
.portal-brand { color: #253244; font-size: 1.25rem; font-weight: 650; text-decoration: none; }
a { color: #285a85; }
nav a { text-decoration: none; }
nav a.active { font-weight: 600; }
.eyebrow { color: #66788a; font-size: .75rem; font-weight: 650; letter-spacing: .12em; }
.login-panel { max-width: 480px; margin: 1rem auto; }
.btn-primary { --bs-btn-bg: #285a85; --bs-btn-border-color: #285a85; --bs-btn-hover-bg: #204b70; --bs-btn-hover-border-color: #204b70; }
.validation-message { color: #a72230; margin-top: .35rem; font-size: .875rem; }
.invalid { border-color: #a72230; }
h1:focus { outline: none; }
#blazor-error-ui { display: none; position: fixed; bottom: 0; width: 100%; background: #fff3cd; padding: 1rem; z-index: 1000; }
#blazor-error-ui .dismiss { float: right; border: 0; background: none; }
@media (max-width: 575px) { .login-panel { margin: 0; } h1 { font-size: 1.75rem; } }
.page-heading { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.editor-panel { max-width: 760px; background: white; padding: 1.5rem; border: 1px solid #dee2e6; border-radius: .5rem; margin-top: 1.5rem; }
.project-member-list { overflow-wrap: anywhere; }
.empty-state { padding: 2rem; background: white; border: 1px solid #dee2e6; border-radius: .5rem; }
.detail-list dt { color: #66788a; font-size: .875rem; margin-top: 1rem; }
.detail-list dd { margin-top: .3rem; overflow-wrap: anywhere; }
.project-description { white-space: pre-wrap; }
.table { --bs-table-bg: white; }
.table td, .table th { padding: 1rem; }

.tracking-editor { max-width: 960px; }
.inventory-section { border: 1px solid #dee2e6; border-radius: .5rem; background: #fff; margin-bottom: 1rem; overflow-wrap: anywhere; }
.inventory-section summary { padding: 1rem; font-weight: 600; cursor: pointer; color: #285a85; }
.inventory-section summary:focus-visible { outline: 3px solid #285a85; outline-offset: -3px; }
.inventory-section[open] summary { border-bottom: 1px solid #dee2e6; background: #f4f6f8; }
.inventory-section dt { font-weight: 500; color: #66788a; }
.inventory-section dd { margin: .3rem 0 0; }
