[hidden] { display: none !important; }
.entry { margin: 32px auto; max-width: 510px; padding: clamp(20px, 5vw, 34px); }
.entry h1 { font-size: clamp(2rem, 5vw, 2.85rem); }
.entry form, .field { display: grid; gap: 8px; margin-top: 16px; }
.entry form button { justify-self: start; }
.entry > button { margin-top: 16px; }
input, select { font: inherit; min-height: 42px; border: 1px solid #aab7d2; border-radius: 8px; padding: 6px 9px; color: inherit; background: #fff; max-width: 100%; }
input:focus-visible, select:focus-visible, a:focus-visible { outline: 3px solid #5366d0; outline-offset: 3px; }
button:disabled { cursor: wait; opacity: .65; }
label { font-weight: 650; }
.project-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-top: 16px; }
.project-bar #refresh-project { margin-left: auto; }
.project-bar + .intro { margin-top: 6px; }
.summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feedback.error, .form-error { color: #8d3628; }
.form-error { margin-top: 10px; }
.form-error:empty { display: none; }
.history { display: grid; gap: 13px; }
.history button { margin-top: 6px; }
.detail, dialog { overflow-wrap: anywhere; }
.evidence-notes { white-space: pre-wrap; }
.table-scroll { overflow-x: auto; }
dialog .field label { margin: 0; }
dialog .file-hint { font-size: .875rem; }
@media (max-width: 520px) {
  .summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { flex-direction: row; align-items: center; }
}
