:root {
  --brand: #5b57f4;
  --brand-hover: #4945df;
  --brand-soft: #eeedff;
  --ink: #20243a;
  --muted: #8a90a3;
  --line: #e9ebf2;
  --surface: #ffffff;
  --canvas: #f3f5fb;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: #eef0ff;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-width: 1100px;
  min-height: 771px;
}

body {
  background:
    radial-gradient(circle at 92% 15%, rgba(139, 136, 255, .24), transparent 28%),
    linear-gradient(135deg, #f3f4ff 0%, #e9edff 100%);
  -webkit-font-smoothing: antialiased;
}

button,
input { font: inherit; }

button {
  border: 0;
  cursor: pointer;
}

[hidden] { display: none !important; }

.topbar {
  height: 62px;
  min-width: 1100px;
  padding: 0;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(223, 226, 240, .9);
  white-space: nowrap;
}

.topbar-inner {
  width: 1080px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  background: transparent;
}

.brand-logo {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #716df9, #4a46df);
  box-shadow: 0 7px 16px rgba(91, 87, 244, .24);
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  font-size: 19px;
  font-weight: 700;
}

.brand strong {
  font-size: 21px;
  letter-spacing: -.5px;
}

.share-label {
  color: var(--muted);
  font-size: 13px;
}

.workspace {
  width: 1080px;
  height: 650px;
  margin: 24px auto 0;
}

.share-card {
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(255, 255, 255, .88);
  box-shadow: 0 18px 50px rgba(65, 64, 132, .08);
}

.share-card {
  width: 100%;
  height: 650px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

.owner-row {
  height: 42px;
  padding: 13px 26px 4px;
  display: flex;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.avatar {
  width: 20px;
  height: 20px;
  margin-right: 7px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #7774ee;
  font-size: 10px;
  font-weight: 700;
}

.owner-name { font-weight: 600; }

.shared-text {
  margin-left: 8px;
  color: #a0a5b5;
}

.file-header {
  height: 89px;
  margin-left: 24px;
  padding: 10px 18px 15px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f2f7;
}

.file-summary {
  display: flex;
  align-items: center;
}

.file-summary h1 {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}

.file-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 12px;
}

.file-meta button {
  padding: 0;
  color: #565d70;
  background: transparent;
  font-size: 12px;
}

.report {
  padding: 8px 10px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
}

.report:hover { color: var(--brand); }

.archive-icon {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #6f6bf7;
  box-shadow: inset 0 -5px 12px rgba(38, 35, 151, .14);
}

.archive-icon.small {
  width: 48px;
  height: 48px;
  margin-right: 9px;
}

.archive-icon.large {
  width: 58px;
  height: 58px;
  margin: 0 auto 13px;
}

.archive-icon.mini {
  width: 38px;
  height: 38px;
}

.archive-icon span {
  width: 100%;
  height: 27%;
  position: absolute;
  left: 0;
}

.archive-icon span:nth-child(1) { top: 0; background: #65d8e8; }
.archive-icon span:nth-child(2) { top: 27%; background: #ff7b82; }
.archive-icon span:nth-child(3) { top: 54%; background: #8ada72; }

.archive-icon b {
  width: 18%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 41%;
  background: #ffbd4a;
}

.archive-icon b::after {
  content: "";
  width: 150%;
  height: 20%;
  position: absolute;
  left: -25%;
  top: 57%;
  border: 2px solid #fff;
  border-radius: 3px;
}

.preview-area {
  height: 433px;
  margin: 0 16px;
  position: relative;
  background: var(--canvas);
}

.archive-preview {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -49%);
  text-align: center;
}

.archive-preview p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
}

.primary {
  height: 36px;
  padding: 0 18px;
  border-radius: 7px;
  color: #fff;
  background: var(--brand);
  box-shadow: 0 7px 18px rgba(91, 87, 244, .22);
  font-size: 14px;
}

.primary:hover { background: var(--brand-hover); }

.bottom-bar {
  height: 72px;
  padding: 12px 24px 0;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  border-top: 1px solid rgba(162, 171, 189, .2);
}

.download-button {
  width: 148px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.download-button {
  color: #fff;
  background: var(--brand);
}

.download-button:hover { background: var(--brand-hover); }

footer {
  width: 1080px;
  margin: 14px auto 0;
  text-align: center;
  color: #697087;
  font-size: 11px;
}


.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(27, 29, 48, .42);
}

.modal {
  width: 380px;
  min-height: 250px;
  padding: 34px 28px 28px;
  position: relative;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 22px 65px rgba(26, 28, 49, .24);
  text-align: center;
}

.modal h2 {
  margin: 16px 0 10px;
  font-size: 20px;
}

.modal p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.error-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #ff646b;
  box-shadow: 0 10px 22px rgba(255, 100, 107, .24);
  font-size: 30px;
  font-weight: 700;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  color: var(--muted);
  background: transparent;
  font-size: 22px;
}

.modal-primary {
  min-width: 104px;
  height: 36px;
  margin-top: 24px;
  border-radius: 18px;
  color: #fff;
  background: var(--brand);
}
