:root {
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #23382f;
  background: #f3f5f1;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea {
  font: inherit;
}
button,
.upload,
.primary {
  border: 1px solid #ccd7cd;
  border-radius: 7px;
  padding: 9px 14px;
  background: white;
  color: #294d3d;
  cursor: pointer;
  text-decoration: none;
}
button:hover,
.upload:hover {
  background: #edf3ec;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.primary {
  background: #24573f;
  color: #fff;
  border-color: #24573f;
}
.primary:hover {
  background: #194731;
}
input,
textarea {
  width: 100%;
  border: 1px solid #ccd7cd;
  border-radius: 7px;
  padding: 11px;
  background: #fff;
  color: inherit;
}
textarea {
  min-height: 95px;
  resize: vertical;
  display: block;
  margin-bottom: 12px;
}
input:focus,
textarea:focus {
  outline: 2px solid #92b49f;
  outline-offset: 2px;
}
.shell {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  min-height: 100vh;
}
aside {
  background: #e8eee6;
  padding: 34px 22px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #d5dfd2;
  gap: 18px;
}
.brand {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 3px;
}
.brand small {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  margin-top: 10px;
  font-weight: 500;
}
.muted {
  color: #6c7e72;
  font-size: 13px;
  line-height: 1.7;
}
.workspace-list {
  flex: 1;
}
.workspace-list h3 {
  font-size: 12px;
  letter-spacing: 1px;
  color: #68826f;
}
.workspace {
  display: block;
  width: 100%;
  margin: 8px 0;
  text-align: left;
  background: transparent;
  border-color: transparent;
}
.workspace.selected {
  background: #fff;
  border-color: #cad8c8;
}
.workspace-list form {
  margin-top: 28px;
  display: grid;
  gap: 9px;
}
aside footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
main {
  padding: 36px 4vw 80px;
  max-width: 1300px;
  width: 100%;
}
header,
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header {
  margin-bottom: 30px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #758773;
}
h1 {
  font-size: 29px;
  margin: 9px 0;
}
h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 19px;
}
h3 {
  font-size: 14px;
}
.badge {
  font-size: 11px;
  border: 1px solid #d9e4d4;
  border-radius: 20px;
  padding: 5px 10px;
  color: #567350;
  background: #f4f8f1;
}
.card {
  background: white;
  border: 1px solid #dce4d9;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 22px;
  box-shadow: 0 3px 9px #15382003;
}
.section-title span {
  font-size: 12px;
  color: #7a877c;
}
.toolbar {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.upload {
  position: relative;
  overflow: hidden;
  font-size: 13px;
}
.upload input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.files {
  list-style: none;
  padding: 0;
  max-height: 230px;
  overflow: auto;
}
.files li {
  display: flex;
  justify-content: space-between;
  padding: 11px 2px;
  border-bottom: 1px solid #f0f3ed;
  font-size: 13px;
}
.files small {
  color: #8a978c;
}
details {
  margin-top: 18px;
}
summary {
  font-size: 13px;
  color: #687e6c;
  cursor: pointer;
}
.progress {
  max-height: 180px;
  overflow: auto;
  font-size: 12px;
  color: #718274;
  line-height: 1.9;
}
.notice {
  padding: 12px 15px;
  background: #fcf2de;
  border: 1px solid #ebd3a5;
  border-radius: 8px;
  margin: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 13px;
}
.statement {
  padding: 22px 0;
  border-bottom: 1px solid #edf1e9;
}
.statement p {
  line-height: 1.9;
  font-size: 14px;
  white-space: pre-wrap;
}
.statement button {
  font-size: 12px;
}
.source-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  max-height: 330px;
  overflow: auto;
}
.source {
  text-align: left;
  line-height: 1.6;
  font-size: 12px;
}
.preview {
  border-top: 1px solid #e3eade;
  margin-top: 22px;
  padding-top: 15px;
  overflow: auto;
}
.evidence-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
  max-height: 120px;
  overflow: auto;
}
.evidence-locations button {
  font-size: 11px;
  padding: 5px;
}
.knowyet-pdf header {
  font-size: 12px;
  margin: 10px 0;
}
.knowyet-pdf nav {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 10px 0;
}
.knowyet-pdf button {
  font-size: 12px;
}
.login {
  max-width: 480px;
  margin: 70px auto;
}
.login form {
  display: grid;
  gap: 15px;
}
.empty {
  padding: 60px 30px;
}
.empty p,
.login p {
  font-size: 14px;
  line-height: 1.8;
  color: #758271;
}
.derivation {
  border-left: 2px solid #b9cfb2;
  padding: 4px 14px;
  margin: 14px 0;
  font-size: 13px;
  line-height: 1.8;
}
pre {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
  max-height: 450px;
  overflow: auto;
}
mark {
  background: #ffe195;
}
@media (max-width: 800px) {
  .shell {
    grid-template-columns: 1fr;
  }
  aside {
    padding: 20px;
    border-right: 0;
  }
  .workspace-list {
    display: block;
  }
  main {
    padding: 24px 15px;
  }
  .card {
    padding: 20px;
  }
  .brand small {
    display: inline;
    margin-left: 15px;
  }
  aside footer {
    margin-top: 0;
  }
  .workspace-list form {
    margin-top: 14px;
  }
}
