:root {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #193b43;
  background: #f3f7f7;
  font-synthesis: none;
  --teal: #087f83;
  --border: #d9e4e4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
.topbar {
  background: #fff;
  padding: 22px max(24px, calc((100vw - 1180px) / 2));
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--border);
}
.brand {
  color: var(--teal);
  font-weight: 750;
  font-size: 23px;
  text-decoration: none;
  letter-spacing: -0.6px;
}
.brand span {
  margin-left: 18px;
  font-size: 10px;
  color: #617b80;
  letter-spacing: 2.5px;
  font-weight: 650;
}
#identity {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
}
main {
  max-width: 1180px;
  margin: 40px auto;
  padding: 0 24px;
  min-height: 70vh;
}
h1 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 8px 0 12px;
  font-weight: 650;
  letter-spacing: -1px;
}
h2 {
  font-size: 22px;
  font-weight: 650;
}
h3 {
  font-size: 16px;
}
p {
  line-height: 1.65;
}
.muted,
small {
  color: #597177;
}
.eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 20px;
}
.signin {
  max-width: 620px;
  margin: 70px auto;
  padding: 40px;
}
.signin .steps {
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding-top: 20px;
}
button,
.button {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #193b43;
  padding: 11px 17px;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}
button.primary,
.button.primary {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
button.danger {
  color: #a22d36;
  border-color: #debcc0;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #36a8ba;
  outline-offset: 3px;
}
.actions,
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
}
.filters button[aria-pressed='true'] {
  background: #dceeed;
  border-color: #9dc9c9;
}
.list {
  display: grid;
  gap: 12px;
}
.request-row {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-radius: 12px;
}
.request-row strong {
  display: block;
  margin-bottom: 7px;
  font-size: 16px;
}
.badge {
  font-size: 12px;
  border-radius: 24px;
  padding: 5px 11px;
  background: #eef3f3;
  white-space: nowrap;
  align-self: start;
}
.badge.pending {
  color: #835c0c;
  background: #fff2d6;
}
.badge.approved {
  color: #08654f;
  background: #dff2e9;
}
.badge.rejected {
  color: #91303c;
  background: #fbe7ea;
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  align-items: start;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 650;
  margin-bottom: 7px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid #bccfd1;
  border-radius: 8px;
  padding: 11px;
  font: inherit;
  color: inherit;
  background: white;
}
textarea {
  min-height: 130px;
  resize: vertical;
}
.field {
  margin-bottom: 20px;
}
.hint {
  font-size: 13px;
  color: #597177;
  margin: 6px 0;
}
.callout {
  border-left: 3px solid var(--teal);
  background: #edf6f5;
  border-radius: 5px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.6;
}
.warning {
  border-color: #bd8b27;
  background: #fff5df;
}
.details {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}
dl {
  margin: 0;
}
dt {
  color: #6c8287;
  font-size: 12px;
  margin-top: 17px;
}
dd {
  margin: 5px 0 0;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.empty {
  text-align: center;
  padding: 55px 25px;
}
.empty h2 {
  margin-bottom: 8px;
}
.file {
  padding: 12px 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--border);
  align-items: center;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.event {
  border-left: 2px solid var(--border);
  padding: 0 0 18px 16px;
  margin-left: 5px;
  font-size: 13px;
}
progress {
  width: 100%;
  height: 12px;
  accent-color: var(--teal);
}
code {
  word-break: break-all;
}
#notice:not(:empty) {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: min(90vw, 660px);
  padding: 16px 24px;
  background: #183d44;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 25px #173d4428;
  z-index: 5;
}
footer {
  max-width: 1180px;
  margin: 36px auto;
  padding: 0 24px;
  font-size: 12px;
  color: #6c8287;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .hero {
    align-items: flex-start;
    flex-direction: column;
  }
  .brand span {
    display: block;
    margin: 3px 0 0;
  }
  .signin {
    padding: 26px;
    margin-top: 25px;
  }
  .topbar {
    padding: 16px 24px;
  }
  #identity {
    font-size: 11px;
    gap: 8px;
  }
  .card {
    padding: 20px;
  }
}
