* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--zoozoo-canvas, #f5f5f7);
  color: var(--zoozoo-ink, #1d1d1f);
  font:
    15px/1.5 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color-scheme: light;
}
aside {
  position: fixed;
  inset: 0 auto 0 0;
  width: 264px;
  padding: 36px 28px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(24px) saturate(1.8);
  border-right: 1px solid white;
  display: flex;
  flex-direction: column;
}
.brand {
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.05em;
  text-decoration: none;
}
.brand span {
  font-size: 15px;
  letter-spacing: 0;
  font-weight: 400;
  margin-left: 8px;
}
aside p {
  color: #6e6e73;
  font-size: 13px;
  margin: 28px 0;
}
nav {
  display: grid;
  gap: 8px;
}
nav a {
  padding: 12px;
  border-radius: 10px;
  text-decoration: none;
}
nav a[aria-current] {
  background: white;
  box-shadow: 0 2px 8px #00000006;
}
footer {
  margin-top: auto;
  display: grid;
  gap: 12px;
  overflow-wrap: anywhere;
}
main {
  margin-left: 264px;
  padding: 56px clamp(24px, 5vw, 64px);
  max-width: 1600px;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}
h1 {
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 8px 0 16px;
  font-weight: 600;
}
h2 {
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin-top: 0;
}
h3 {
  font-size: 17px;
  font-weight: 600;
}
p {
  color: #6e6e73;
}
a {
  color: inherit;
}
.eyebrow {
  font:
    12px ui-monospace,
    monospace;
  letter-spacing: 0.06em;
}
section {
  background: white;
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 24px #00000005;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border: 0;
  border-radius: 999px;
  background: #e8e8ed;
  color: #1d1d1f;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
}
button:hover,
.button:hover {
  background: #d2d2d7;
}
.primary {
  background: #1d1d1f;
  color: #f5f5f7;
}
.primary:hover {
  background: #2c2c2e;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}
input,
select,
textarea {
  font-family: inherit;
  font-size: 16px;
  min-height: 48px;
  padding: 12px;
  border: 1px solid #e8e8ed;
  border-radius: 12px;
  background: #f5f5f7;
  color: #1d1d1f;
  max-width: 100%;
  width: 100%;
}
textarea {
  resize: vertical;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 2px solid #1d1d1f;
  outline-offset: 2px;
}
.toolbar,
.actions {
  display: flex;
  gap: 12px;
  align-items: end;
  flex-wrap: wrap;
}
.toolbar {
  margin-bottom: 24px;
}
.toolbar label:first-child {
  flex: 1;
  min-width: 180px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.metric strong {
  display: block;
  font-size: 32px;
  font-weight: 600;
}
.metric span {
  color: #6e6e73;
  font-size: 13px;
}
.task {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #e8e8ed;
}
.task:last-child {
  border-bottom: 0;
}
.task-title {
  font-weight: 600;
  overflow-wrap: anywhere;
}
.task p {
  margin: 6px 0;
  font-size: 13px;
}
.chip {
  display: inline-block;
  background: #e8e8ed;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  margin: 4px 6px 0 0;
}
.empty {
  text-align: center;
  padding: 28px;
}
.empty img {
  width: 120px;
  height: 120px;
}
.source {
  padding: 16px 0;
  border-bottom: 1px solid #e8e8ed;
  overflow-wrap: anywhere;
}
.source strong {
  margin-right: 8px;
}
.source button {
  margin-left: 12px;
}
#error,
#review-error {
  color: #b52e2e;
}
#error {
  padding: 16px;
  background: #fdecec;
  border-radius: 12px;
}
#login {
  max-width: 480px;
}
form {
  display: grid;
  gap: 18px;
}
dialog {
  border: 0;
  border-radius: 28px;
  background: #f5f5f7;
  width: min(1200px, 95vw);
  max-height: 92vh;
  padding: 32px;
  color: #1d1d1f;
  box-shadow: 0 24px 80px #0003;
}
dialog::backdrop {
  background: #1d1d1f66;
}
.dialog-header {
  display: flex;
  gap: 24px;
  justify-content: space-between;
  align-items: start;
  position: sticky;
  top: -32px;
  background: #f5f5f7;
  padding: 12px 0;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: 32px;
}
.entry {
  padding: 18px;
  background: white;
  border-radius: 16px;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}
.entry.evidence {
  box-shadow: inset 3px 0 #1d1d1f;
}
.entry pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 0;
}
.entry small {
  color: #6e6e73;
}
.assessment-reason {
  white-space: pre-wrap;
}
#task-meta {
  overflow-wrap: anywhere;
  font-size: 13px;
  color: #6e6e73;
}
[hidden] {
  display: none !important;
}
@media (max-width: 900px) {
  aside {
    position: static;
    width: auto;
    padding: 20px 24px;
    display: block;
  }
  aside p,
  nav {
    display: none;
  }
  footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    font-size: 12px;
  }
  main {
    margin: 0;
    padding: 28px 20px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  header {
    align-items: start;
    flex-direction: column;
  }
  .metrics {
    gap: 12px;
    padding: 20px;
  }
  .metric strong {
    font-size: 26px;
  }
  .task {
    align-items: start;
    flex-direction: column;
  }
  dialog {
    padding: 20px;
  }
  .dialog-header {
    top: -20px;
  }
  h1 {
    font-size: 34px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
