* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 1rem;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #1a1a1a;
  background: #ffffff;
}

main { max-width: 40rem; margin: 0 auto; }

a, button, input, select, textarea {
  min-height: 44px;
  min-width: 44px;
  font: inherit;
}

a {
  display: inline-flex;
  align-items: center;
  color: #1f4e79;
}

button, input, select, textarea {
  padding: 0.5rem 0.75rem;
  border: 1px solid #555555;
  border-radius: 6px;
}

button {
  color: #ffffff;
  background: #1f4e79;
  cursor: pointer;
}

a.button {
  justify-content: center;
  padding: 0.5rem 0.75rem;
  color: #ffffff;
  background: #1f4e79;
  border-radius: 6px;
  text-decoration: none;
}

.button-large {
  display: flex;
  width: 100%;
  min-height: 56px;
  font-size: 1.25rem;
}

.nav-list, .link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.link-list { flex-direction: column; }

.session-bar { max-width: 40rem; margin: 0 auto 1rem; }

.table-wrap { overflow-x: auto; }

table { border-collapse: collapse; width: 100%; }

th, td {
  padding: 0.5rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #cccccc;
}

.error { color: #9b1c1c; font-weight: bold; }

.pager { display: flex; align-items: center; gap: 1rem; }

.ticket-list li { display: flex; flex-direction: column; }

.multiline { white-space: pre-wrap; overflow-wrap: anywhere; }

.event-log { padding-left: 1.25rem; }
.comment-after-close { border-left: 4px dashed currentColor; padding-left: 0.5rem; background: #f3f3f3; }

textarea, select, input[type="text"], input[type="datetime-local"] { width: 100%; }

dd { margin: 0 0 0.5rem; overflow-wrap: anywhere; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 3px solid #b35900;
  outline-offset: 2px;
}
