@font-face {
  font-family: ZooSans;
  src: url("/GoogleSansLatin.woff2") format("woff2");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: #071c17;
  color: #e7f0e5;
  font-family: ZooSans, "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}
body:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 64%;
  height: 760px;
  background: radial-gradient(ellipse at 75% 20%, #3e835c40, transparent 65%);
  pointer-events: none;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  border: 1px solid #a5c2ac36;
  background: #ffffff05;
  color: inherit;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
}
button:hover {
  background: #bfd8bb12;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #bdde8e;
  outline-offset: 3px;
}
.primary {
  background: #c8e69f;
  border-color: #c8e69f;
  color: #173a28;
  font-weight: 650;
}
.primary:hover {
  background: #dcf1c0;
}
a {
  color: inherit;
  text-decoration: none;
}
[hidden] {
  display: none !important;
}
header {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid #a5c2ac26;
  margin: 0 4.5%;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand strong {
  font-size: 28px;
  letter-spacing: -1px;
}
.brand span {
  font-size: 16px;
  margin-left: 8px;
  font-weight: 400;
  letter-spacing: 2px;
}
.edition {
  color: #a2b2a8;
  font-size: 10px;
  letter-spacing: 2px;
  border-left: 1px solid #80998c44;
  padding-left: 20px;
}
.header-actions {
  margin-left: auto;
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 13px;
}
#identity {
  color: #9eb7a9;
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
main {
  max-width: 1500px;
  padding: 0 4.5%;
  margin: auto;
}
.intro {
  min-height: 500px;
  padding: 72px 4% 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
}
.eyebrow {
  color: #9aad93;
  letter-spacing: 2.5px;
  font-size: 10px;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(38px, 4.3vw, 66px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -2px;
  margin: 0 0 22px;
}
h1 em {
  font-style: normal;
  color: #c8e69f;
}
.lead {
  color: #aebcaf;
  font-size: 15px;
  line-height: 1.9;
}
.intro-links {
  display: flex;
  gap: 26px;
  align-items: center;
  margin-top: 30px;
}
.intro-links .primary {
  padding: 12px 24px;
}
.intro-links .primary span {
  margin-left: 26px;
}
.intro-links a {
  font-size: 12px;
  color: #aabdaf;
}
.visual {
  height: 345px;
  display: grid;
  place-items: center;
  perspective: 900px;
  position: relative;
}
.cube {
  width: 170px;
  height: 170px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-24deg) rotateY(38deg);
  animation: float 9s ease-in-out infinite;
}
.face {
  position: absolute;
  width: 170px;
  height: 170px;
  border: 1px solid #d8edbb88;
  background: linear-gradient(130deg, #dcf7bb45, #47866819);
  box-shadow: inset 0 0 48px #acd19620;
}
.front {
  transform: translateZ(85px);
}
.back {
  transform: rotateY(180deg) translateZ(85px);
}
.right {
  transform: rotateY(90deg) translateZ(85px);
}
.left {
  transform: rotateY(-90deg) translateZ(85px);
}
.top {
  transform: rotateX(90deg) translateZ(85px);
}
.bottom {
  transform: rotateX(-90deg) translateZ(85px);
}
.cube span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: translateZ(86px);
  font-size: 38px;
  letter-spacing: 6px;
  color: #ecf7dd;
}
.orbital {
  position: absolute;
  width: 350px;
  height: 110px;
  border: 1px solid #91c89726;
  border-radius: 50%;
  transform: rotate(-20deg);
}
.orbital-b {
  transform: rotate(32deg);
  width: 420px;
}
.visual-caption {
  position: absolute;
  bottom: 0;
  font-size: 11px;
  letter-spacing: 2px;
  color: #afc5b2;
}
.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c6e49d;
  margin-right: 8px;
}
.workspace {
  border: 1px solid #819b8945;
  background: #10281f;
  box-shadow: 0 35px 60px #0003;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 480px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  scroll-margin-top: 20px;
}
aside {
  background: #0c211a;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #819b8933;
}
.side-label {
  font-size: 10px;
  letter-spacing: 2px;
  color: #7e9986;
  padding: 0 16px;
  margin: 0 0 14px;
}
.nav {
  padding: 11px 15px;
  border: 0;
  border-radius: 5px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #afc0b4;
  font-size: 13px;
  margin-bottom: 5px;
}
.nav span {
  font-size: 18px;
  width: 20px;
}
.nav.active {
  background: #c6e49d17;
  color: #d8ecbd;
}
.nav b {
  margin-left: auto;
  font-size: 10px;
}
.sidebar-bottom {
  border-top: 1px solid #819b8933;
  padding: 20px 12px 0;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar-bottom small {
  font-size: 10px;
  color: #769382;
}
.sidebar-bottom strong {
  font-weight: 500;
  font-size: 12px;
}
.sidebar-bottom span {
  font-size: 10px;
  color: #8aa491;
  word-break: break-word;
}
.sidebar-bottom button {
  font-size: 10px;
  padding: 4px;
  margin-top: 10px;
}
.work-content {
  padding: 26px 30px;
  min-width: 0;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  gap: 12px;
}
.toolbar .eyebrow {
  margin: 0 0 4px;
  font-size: 8px;
}
h2 {
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}
.toolbar > div:last-child {
  display: flex;
  gap: 8px;
}
.toolbar button {
  font-size: 12px;
}
.empty {
  text-align: center;
  padding: 55px 12px 60px;
}
.empty-mark {
  font-size: 42px;
  color: #a5be9b;
}
.empty h3 {
  font-weight: 500;
  font-size: 20px;
  margin: 14px 0 8px;
}
.empty p {
  color: #90aa99;
  font-size: 12px;
  line-height: 1.9;
}
.empty button {
  margin-top: 14px;
  font-size: 12px;
}
.details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  padding: 56px 4% 65px;
}
.details span {
  font-size: 10px;
  color: #729582;
  letter-spacing: 2px;
}
.details h3 {
  font-size: 18px;
  font-weight: 500;
  margin: 16px 0 10px;
}
.details p {
  font-size: 12px;
  color: #8fa99a;
  margin: 0;
  line-height: 1.9;
}
footer {
  border-top: 1px solid #a5c2ac26;
  margin: 0 4.5%;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #799a85;
}
.wide {
  width: 100%;
}
dialog {
  width: min(480px, calc(100% - 24px));
  background: #132d23;
  color: #e1ebd9;
  border: 1px solid #6e987c;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 20px 80px #0008;
  max-height: 90vh;
}
dialog::backdrop {
  background: #001b12b0;
  backdrop-filter: blur(8px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 15px;
}
.dialog-head button {
  border: 0;
  font-size: 22px;
  padding: 0 9px;
}
dialog p {
  font-size: 12px;
  color: #93ad9b;
}
label {
  display: block;
  font-size: 12px;
  color: #aebdaf;
  margin: 14px 0;
}
input,
select {
  display: block;
  width: 100%;
  padding: 10px;
  background: #071c1780;
  border: 1px solid #809b8955;
  border-radius: 5px;
  color: #e2eedb;
  margin-top: 5px;
}
option {
  background: #10281f;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
}
.check input {
  width: 16px;
  margin: 0;
  accent-color: #c8e69f;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.permissions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.year-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.year-buttons button {
  font-size: 11px;
  padding: 5px 9px;
}
.text-button {
  border: 0;
  font-size: 12px;
  display: block;
  margin: 10px auto;
}
#notice {
  background: #b8d99810;
  border: 1px solid #b8d99835;
  padding: 12px 16px;
  color: #cbdcbb;
  font-size: 12px;
  margin-bottom: 16px;
}
#notice.error {
  border-color: #dfaf8040;
  color: #e1b8a0;
}
.source-list,
.task-list {
  display: grid;
  gap: 12px;
}
.item {
  border: 1px solid #738e7745;
  border-radius: 7px;
  padding: 18px;
  min-width: 0;
}
.item h3 {
  font-weight: 500;
  margin: 0 0 4px;
  font-size: 15px;
  overflow-wrap: anywhere;
}
.item p {
  font-size: 11px;
  color: #90ac99;
  margin: 4px 0;
}
.item button {
  font-size: 11px;
  margin: 10px 8px 0 0;
  padding: 5px 12px;
}
.item .status {
  float: right;
  color: #bfd99e;
  font-size: 11px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: 14px;
}
.file-card {
  border: 1px solid #6f8e7840;
  padding: 14px;
  border-radius: 7px;
  overflow: hidden;
}
.file-thumb {
  height: 110px;
  background: #a8c49d0a;
  display: grid;
  place-items: center;
  color: #a1b793;
  font-size: 28px;
}
.file-thumb img {
  max-width: 100%;
  max-height: 110px;
}
.file-card h3 {
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin: 12px 0 2px;
}
.file-card p {
  font-size: 9px;
  color: #8fac9a;
  margin: 0;
}
.file-card button {
  font-size: 9px;
  padding: 4px 7px;
  margin: 10px 4px 0 0;
}
.progress {
  height: 3px;
  background: #72876c25;
  margin: 12px 0;
}
.progress i {
  display: block;
  height: 100%;
  background: #c8e69f;
  transition: width 0.3s;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.user-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
.user-table th {
  text-align: left;
  font-weight: 400;
  font-size: 10px;
  color: #89a995;
}
.user-table th,
.user-table td {
  padding: 14px 10px;
  border-bottom: 1px solid #829f8833;
}
.user-table button {
  font-size: 10px;
  padding: 5px 12px;
}
.user-table td {
  word-break: break-word;
}
#preview-dialog {
  width: min(850px, calc(100% - 24px));
}
#preview-content img,
#preview-content video {
  max-width: 100%;
  max-height: 65vh;
  display: block;
  margin: auto;
}
#preview-content pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.note {
  font-size: 11px;
  color: #94af9c;
  line-height: 1.9;
}
.small-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.small-actions button {
  font-size: 11px;
}
.badge {
  font-size: 9px;
  padding: 3px 7px;
  border: 1px solid #b5d2973d;
  border-radius: 3px;
  color: #bed59e;
}
@keyframes float {
  50% {
    transform: translateY(-12px) rotateX(-20deg) rotateY(43deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
@media (max-width: 780px) {
  header {
    height: 72px;
    gap: 12px;
  }
  .edition {
    display: none;
  }
  #identity {
    max-width: 100px;
    font-size: 10px;
  }
  .header-actions {
    gap: 8px;
  }
  .header-actions button {
    font-size: 11px;
    padding: 5px 10px;
  }
  .brand strong {
    font-size: 22px;
  }
  .brand span {
    font-size: 12px;
  }
  .brand img {
    width: 30px;
    height: 30px;
  }
  .intro {
    grid-template-columns: 1.2fr 0.8fr;
    min-height: 400px;
    padding: 45px 1% 40px;
  }
  .visual {
    height: 270px;
    transform: scale(0.65);
    transform-origin: center;
  }
  .cube {
    width: 150px;
    height: 150px;
  }
  h1 {
    font-size: 41px;
    letter-spacing: -1px;
  }
  .lead {
    font-size: 12px;
  }
  .intro-links {
    gap: 12px;
    flex-wrap: wrap;
  }
  .intro-links .primary {
    padding: 10px 15px;
    font-size: 11px;
  }
  .intro-links a {
    font-size: 10px;
  }
  .intro-links .primary span {
    margin-left: 10px;
  }
  .workspace {
    grid-template-columns: 1fr;
  }
  aside {
    flex-direction: row;
    flex-wrap: wrap;
    border-right: 0;
    border-bottom: 1px solid #819b8933;
    padding: 12px;
    gap: 3px;
  }
  .side-label {
    display: none;
  }
  .nav {
    font-size: 10px;
    padding: 7px 9px;
    gap: 6px;
    margin: 0;
  }
  .nav span {
    font-size: 13px;
    width: auto;
  }
  .sidebar-bottom {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 8px 0;
    margin-top: 10px;
    gap: 12px;
  }
  .sidebar-bottom small {
    display: none;
  }
  .sidebar-bottom button {
    margin: 0;
    padding: 4px 8px;
  }
  .work-content {
    padding: 22px 18px;
  }
  .toolbar h2 {
    font-size: 21px;
  }
  .toolbar button {
    font-size: 10px;
    padding: 7px 10px;
  }
  .details {
    gap: 18px;
    padding: 36px 0;
  }
  .details h3 {
    font-size: 13px;
  }
  .details p {
    font-size: 10px;
  }
  .details br {
    display: none;
  }
  .details span {
    font-size: 8px;
  }
  footer {
    gap: 10px;
    font-size: 8px;
  }
  .user-table th,
  .user-table td {
    padding: 12px 4px;
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .intro {
    grid-template-columns: 1fr;
    min-height: 420px;
    padding: 38px 8px 32px;
    overflow: hidden;
  }
  .intro > div:first-child {
    position: relative;
    z-index: 1;
  }
  .visual {
    position: absolute;
    right: -75px;
    top: 68px;
    opacity: 0.55;
    transform: scale(0.5);
    width: 290px;
  }
  .visual-caption {
    display: none;
  }
  .lead {
    max-width: 250px;
  }
  h1 {
    font-size: 46px;
  }
  .details {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .details div {
    border-bottom: 1px solid #809b8825;
    padding-bottom: 18px;
  }
  .details h3 {
    font-size: 17px;
    margin: 8px 0;
  }
  .details p {
    font-size: 11px;
  }
  .empty {
    padding: 40px 5px;
  }
  .empty h3 {
    font-size: 17px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .file-card {
    padding: 10px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .permissions {
    gap: 0 10px;
  }
  dialog {
    padding: 22px;
  }
  .toolbar {
    align-items: flex-end;
  }
  .toolbar .eyebrow {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .user-table .date-col {
    display: none;
  }
}
