:root {
  color-scheme: light;
  --ink: #1b2938;
  --muted: #6e7885;
  --line: #e3e7eb;
  --paper: #f6f7f9;
  --blue: #315af2;
  --navy: #17253a;
  --green: #287d61;
  font-family: Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,input,select {
  font: inherit;
}
button,a,input,select,summary {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:focus-visible,a:focus-visible,summary:focus-visible {
  outline: 3px solid #96afff;
  outline-offset: 4px;
}
input:focus,select:focus {
  outline: 2px solid #96afff;
  border-color: var(--blue);
}
.topbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 5%;
  background: white;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.6px;
  white-space: nowrap;
}
.brand-light {
  font-weight: 400;
  color: var(--muted);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: white;
  border-radius: 8px;
  font-size: 21px;
}
.account {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}
.role {
  text-transform: capitalize;
  background: #eef1f6;
  padding: 3px 9px;
  border-radius: 4px;
}
.text-button {
  border: 0;
  background: none;
  color: var(--muted);
  padding: 6px 0;
}
.private-label {
  color: var(--muted);
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 50px 5% 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  margin: 0 0 14px;
}
.login-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 32px 24px;
  background: white;
}
.login-panel {
  width: 100%;
  max-width: 340px;
}
.login-panel h1 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}
h2 {
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -.7px;
  margin: 0 0 12px;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.login-form label {
  font-size: 12px;
  font-weight: 600;
  margin-top: 10px;
}
input,select {
  width: 100%;
  min-width: 0;
  border: 1px solid #dce1e7;
  border-radius: 6px;
  background: #fff;
  padding: 11px 13px;
  color: var(--ink);
}
input::placeholder {
  color: #939ba8;
  font-size: 12px;
}
.primary-button {
  background: var(--ink);
  color: white;
  padding: 12px 16px;
  border: 0;
  border-radius: 6px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 13px;
}
.primary-button:hover {
  background: #304255;
}
.error {
  font-size: 12px;
  color: #922c38;
  background: #fff1f2;
  padding: 12px;
  border-radius: 5px;
}
.workspace {
  max-width: 1300px;
  margin: 48px auto;
  padding: 0 32px;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.page-heading .eyebrow {
  color: var(--blue);
}
.page-heading h1 {
  font-size: 36px;
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 0 0 12px;
  font-weight: 650;
}
.page-heading p:not(.eyebrow) {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}
.admin-badge {
  color: #536581;
  font-size: 10px;
  letter-spacing: 1px;
  border: 1px solid #d8dfe9;
  padding: 7px 11px;
  border-radius: 5px;
  white-space: nowrap;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
  margin: 32px 0;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 22px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.stat>span {
  font-size: 12px;
  color: #596677;
}
.stat strong {
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: -1px;
  font-weight: 600;
}
.stat small {
  font-size: 10px;
  color: var(--muted);
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #9aa4b2;
  border-radius: 50%;
  margin: 0 6px 2px 0;
}
.ready-dot {
  background: #48a781;
}
.pending-dot {
  background: #daab48;
}
.directory {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.directory-heading {
  padding: 24px 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.directory-heading h2 {
  font-size: 17px;
  letter-spacing: -.3px;
  margin: 0;
}
.directory-heading h2 span {
  font-size: 11px;
  vertical-align: middle;
  margin-left: 8px;
  background: #f0f2f5;
  color: #788390;
  padding: 3px 7px;
  border-radius: 5px;
  font-weight: 500;
}
.directory-heading p {
  color: var(--muted);
  font-size: 11px;
  margin: 0;
}
.filters {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}
.filters label {
  font-size: 11px;
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
}
.filters input,.filters select {
  padding: 10px 12px;
  font-size: 12px;
  height: 40px;
}
.search-field {
  flex: 1;
}
.status-field {
  width: 190px;
}
.secondary-button {
  background: #f8f9fb;
  border: 1px solid #dce1e7;
  border-radius: 6px;
  white-space: nowrap;
  padding: 9px 15px;
  height: 40px;
  font-size: 12px;
}
.task-card {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 25px 26px;
  border-bottom: 1px solid #edf0f3;
}
.task-card:hover {
  background: #fbfcfe;
}
.task-main {
  min-width: 0;
}
.task-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 9px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.task-meta span:first-child {
  color: #58709b;
  font-weight: 600;
}
.task-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 6px 0 3px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.task-id {
  font-family: ui-monospace,SFMono-Regular,Consolas,monospace;
  color: #8b94a1;
  font-size: 10px;
  margin: 0;
  overflow-wrap: anywhere;
}
.task-action {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-end;
  justify-content: center;
  flex-shrink: 0;
}
.status {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}
.status-ready {
  color: #24795b;
  background: #eaf6ef;
}
.status-pending {
  color: #967229;
  background: #fbf5e7;
}
.status-missing {
  color: #798491;
  background: #f0f2f5;
}
.open-button {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  border-radius: 5px;
  padding: 8px 13px;
  color: white;
  font-size: 11px;
  white-space: nowrap;
}
.open-button:hover {
  background: #2c4161;
}
.inactive-action {
  font-size: 10px;
  color: #97a0ac;
}
details {
  margin-top: 10px;
  font-size: 11px;
  color: #64758e;
}
summary {
  cursor: pointer;
  width: fit-content;
}
.assignment {
  color: #536173;
  max-width: 850px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.8;
  background: #f4f6fa;
  border-left: 2px solid #c0cfe9;
  padding: 14px;
}
.task-url {
  display: block;
  color: var(--blue);
  font-size: 10px;
  margin-top: 12px;
  overflow-wrap: anywhere;
}
.pagination {
  display: flex;
  justify-content: space-between;
  padding: 20px 26px;
  font-size: 11px;
  color: var(--muted);
}
.pagination div {
  display: flex;
  gap: 25px;
}
.pagination a {
  color: var(--blue);
}
.empty-state {
  text-align: center;
  padding: 50px;
  color: var(--muted);
}
.message-panel {
  max-width: 680px;
  margin: 100px auto;
  padding: 45px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.message-panel .eyebrow {
  color: var(--blue);
}
.message-panel h1 {
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.8px;
}
.message-panel p:not(.eyebrow) {
  color: var(--muted);
}
.message-panel .open-button {
  margin-top: 20px;
}
@media(max-width:900px) {
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 18px 16px;
  }
  .directory-heading p {
    display: none;
  }
  .workspace {
    padding: 0 24px;
  }
  .account {
    gap: 10px;
  }
}
@media(max-width:640px) {
  .topbar {
    height: 70px;
    padding: 0 20px;
    gap: 10px;
  }
  .brand {
    font-size: 17px;
    gap: 7px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 18px;
  }
  .account-email,.role {
    display: none;
  }
  .account {
    font-size: 11px;
  }
  .private-label {
    font-size: 10px;
  }
  .site-footer {
    font-size: 9px;
    margin-top: 30px;
  }
  .workspace {
    margin: 30px auto;
    padding: 0 16px;
  }
  .page-heading h1 {
    font-size: 29px;
  }
  .page-heading p:not(.eyebrow) {
    font-size: 12px;
  }
  .admin-badge {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2,1fr);
    margin: 24px 0;
  }
  .stat {
    padding: 15px;
  }
  .stat strong {
    font-size: 28px;
  }
  .stat small {
    font-size: 9px;
  }
  .directory-heading {
    padding: 20px 18px 0;
  }
  .filters {
    padding: 18px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .search-field {
    flex-basis: 100%;
  }
  .status-field {
    flex: 1;
    width: auto;
  }
  .secondary-button {
    padding: 9px 12px;
  }
  .task-card {
    display: block;
    padding: 20px 18px;
  }
  .task-card h3 {
    font-size: 15px;
  }
  .task-action {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    gap: 10px;
  }
  .task-meta {
    font-size: 8px;
    gap: 5px;
  }
  .task-meta span {
    overflow-wrap: anywhere;
    max-width: 100%;
  }
  .pagination {
    padding: 18px;
  }
  .message-panel {
    margin: 45px 16px;
    padding: 30px;
  }
  .message-panel h1 {
    font-size: 25px;
  }
}
