:root {
  color-scheme: light;
  --ink: #103b45;
  --muted: #62787d;
  --teal: #087f8c;
  --line: #d9e4e4;
  --paper: #f7f8f5;
  --white: #fff;
  --gold: #c4a56b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    15px/1.6 system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #b6c9cb;
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font-weight: 600;
}
button:hover {
  border-color: var(--teal);
  background: #f0f7f6;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.primary,
.receipt {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
}
a {
  color: var(--teal);
}
:focus-visible {
  outline: 3px solid #be994d;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 12px;
  padding: 12px;
  background: white;
  z-index: 100;
}
.skip-link:focus {
  top: 8px;
}
.site-header {
  min-height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px max(24px, calc((100% - 1200px) / 2));
  background: var(--ink);
  color: white;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: white;
  font-size: 15px;
  letter-spacing: 1.7px;
  font-weight: 700;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid #92aaa7;
  border-radius: 50%;
  font:
    23px Georgia,
    serif;
  letter-spacing: -2px;
  padding-right: 2px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2.3px;
  color: #b4cdcc;
  margin-top: 3px;
}
.account-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
.account-nav a {
  color: #d1e2df;
  font-size: 13px;
  text-decoration: none;
}
.account-nav button {
  background: transparent;
  color: white;
  border-color: #5b7b80;
}
main {
  max-width: 1200px;
  margin: auto;
  padding: 46px 24px 72px;
  min-height: calc(100vh - 175px);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font:
    42px/1.15 Georgia,
    "Times New Roman",
    serif;
  letter-spacing: -1px;
  margin-bottom: 12px;
}
h2 {
  font:
    32px/1.2 Georgia,
    "Times New Roman",
    serif;
}
h3 {
  font-size: 20px;
  line-height: 1.35;
}
p:last-child {
  margin-bottom: 0;
}
.eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.6px;
  color: var(--teal);
  margin-bottom: 14px;
}
.muted,
.quiet {
  color: var(--muted);
  font-size: 13px;
}
.sign-in-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1010px;
  margin: 70px auto;
}
.welcome-copy h1 {
  font-size: 64px;
  line-height: 1.06;
  letter-spacing: -2px;
  margin: 24px 0;
}
.welcome-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
}
.welcome-rule {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 30px 0;
}
.welcome-copy .quiet {
  font-size: 13px !important;
}
.sign-in-card {
  background: white;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 14px 40px #163a4510;
}
.sign-in-card h2 {
  margin: 20px 0 12px;
}
.sign-in-card > p {
  color: var(--muted);
}
.access-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  background: #eef5f3;
  padding: 7px 10px;
  border-radius: 5px;
  color: #37685f;
}
#googleSignIn {
  min-height: 44px;
  margin: 24px 0 4px;
}
details {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 12px;
  color: var(--muted);
}
summary {
  cursor: pointer;
}
details p {
  margin-top: 12px;
}
#authMessage {
  font-size: 13px;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}
.refresh-area {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
}
.stat strong {
  display: block;
  font:
    42px/1.2 Georgia,
    serif;
  margin-bottom: 10px;
}
.stat span {
  font-size: 12px;
  color: var(--muted);
}
.stat:first-child {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}
.stat:first-child span {
  color: #cbdfdb;
}
.workspace {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 24px 24px;
}
.tabs {
  display: flex;
  gap: 20px;
  padding-top: 8px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}
.tabs button {
  background: none;
  border: 0;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  padding: 16px 2px;
  color: var(--muted);
}
.tabs button[aria-pressed="true"] {
  border-bottom-color: var(--teal);
  color: var(--ink);
}
.list-head {
  display: flex;
  align-items: flex-end;
  gap: 24px;
  justify-content: space-between;
}
.search-label {
  width: 100%;
  max-width: 460px;
  font-size: 12px;
  color: var(--muted);
}
.pending-filter {
  display: flex;
  gap: 8px;
  align-items: center;
  white-space: nowrap;
  font-size: 13px;
  padding-bottom: 10px;
  font-weight: 400;
}
input,
select,
textarea {
  width: 100%;
  padding: 11px;
  border: 1px solid #b8ccce;
  border-radius: 7px;
  background: white;
  color: var(--ink);
  min-width: 0;
}
textarea {
  min-height: 90px;
  resize: vertical;
}
label {
  display: block;
  font-weight: 600;
  margin: 12px 0 5px;
}
input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  margin-right: 5px;
  accent-color: var(--teal);
}
.search-label input {
  margin-top: 7px;
}
.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 22px;
  margin: 14px 0;
  overflow-wrap: anywhere;
}
.card h3 {
  margin-bottom: 5px;
}
.card p {
  margin: 12px 0;
}
.card .primary {
  margin-top: 4px;
}
.badge {
  display: inline-block;
  background: #eef5f4;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 11px;
  margin: 10px 6px 0 0;
  text-transform: capitalize;
}
.message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  padding: 10px 0;
}
.message:empty {
  padding: 0;
  margin: 0;
}
.toolbar,
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.actions {
  margin-top: 20px;
}
.receipt {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 8px;
  text-decoration: none;
  margin: 12px 0;
}
.summary {
  background: #edf5f5;
  padding: 15px;
  border-radius: 8px;
  margin: 14px 0;
}
.warning {
  background: #fff3d8;
  padding: 14px;
  border-radius: 8px;
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}
.dialog-head h2 {
  font-size: 24px;
  margin: 0;
}
dialog {
  width: min(740px, calc(100% - 24px));
  max-height: 92dvh;
  border: 0;
  border-radius: 14px;
  padding: 0;
  color: var(--ink);
}
dialog::backdrop {
  background: #082b36b5;
}
#detail {
  padding: 24px;
  overflow-wrap: anywhere;
}
dl {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) minmax(0, 2fr);
  gap: 8px;
  margin: 12px 0;
}
dt {
  color: var(--muted);
}
dd {
  margin: 0;
  overflow-wrap: anywhere;
}
footer {
  max-width: 1200px;
  margin: auto;
  padding: 24px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}
footer span:first-child {
  font-weight: 800;
  letter-spacing: 1.5px;
}
@media (max-width: 800px) {
  .sign-in-layout {
    gap: 30px;
    margin: 35px auto;
  }
  .welcome-copy h1 {
    font-size: 48px;
  }
  .sign-in-card {
    padding: 28px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 18px;
  }
  .stat span {
    font-size: 11px;
  }
}
@media (max-width: 600px) {
  .site-header {
    padding: 16px;
  }
  .brand {
    font-size: 12px;
    letter-spacing: 1px;
  }
  .brand small {
    font-size: 8px;
  }
  .account-nav {
    gap: 8px;
  }
  .account-nav a {
    font-size: 11px;
  }
  .account-nav button {
    padding: 8px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .sign-in-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 12px 0;
  }
  .welcome-copy h1 {
    font-size: 42px;
    margin: 15px 0;
  }
  .welcome-copy > p:not(.eyebrow) {
    font-size: 14px;
  }
  .welcome-rule,
  .welcome-copy .quiet {
    display: none;
  }
  .sign-in-card {
    padding: 26px;
  }
  main {
    padding: 28px 16px 45px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  h1 {
    font-size: 34px;
  }
  .refresh-area {
    align-items: flex-start;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
  }
  .stat strong {
    font-size: 34px;
  }
  .workspace {
    padding: 0 14px 16px;
  }
  .tabs {
    gap: 14px;
  }
  .tabs button {
    font-size: 12px;
  }
  .list-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }
  .pending-filter {
    white-space: normal;
  }
  .card {
    padding: 16px;
  }
  .actions button {
    flex: 1;
  }
  dl {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  dd {
    margin-bottom: 8px;
  }
  #detail {
    padding: 18px;
  }
  footer {
    padding: 18px 16px;
    flex-wrap: wrap;
    gap: 6px;
  }
  input,
  select,
  textarea {
    font-size: 16px;
  }
}
