.pc-archive-upload-button {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 260px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid #c8d8f2;
  border-radius: 10px;
  background: #fff;
  color: #24344d;
  font: 600 14px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  box-shadow: 0 5px 15px rgba(35, 74, 140, .06);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pc-archive-upload-button:hover { border-color: #1768e5; color: #1768e5; transform: translateY(calc(-50% - 1px)); box-shadow: 0 8px 20px rgba(23, 104, 229, .12); }
.pc-archive-upload-button ~ .pc-baidu-disk-button { right: 136px; }
#app .pc-upload-strip:has(.pc-archive-upload-button),
#app .upl-file:has(.pc-archive-upload-button) { padding-right: 410px !important; }
.pc-archive-button-icon { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 24px; padding: 0 4px; border-radius: 6px; background: #7c3aed; color: #fff; font-size: 9px; font-weight: 900; letter-spacing: -.3px; }
html.pc-archive-modal-open { overflow: hidden; }
#pc-archive-upload { position: fixed; inset: 0; z-index: 2147483200; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif; color: #14213a; }
.pc-archive-backdrop { position: absolute; inset: 0; background: rgba(19, 31, 50, .58); backdrop-filter: blur(5px); }
.pc-archive-dialog { position: absolute; top: 50%; left: 50%; display: flex; flex-direction: column; width: min(900px, calc(100vw - 48px)); height: min(700px, calc(100vh - 48px)); transform: translate(-50%, -50%); overflow: hidden; border: 1px solid rgba(210, 222, 241, .95); border-radius: 20px; background: #f6f9fe; box-shadow: 0 32px 90px rgba(11, 25, 48, .28); }
.pc-archive-dialog > header { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 0 22px; border-bottom: 1px solid #dce6f4; background: #fff; }
.pc-archive-title-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, #6d28d9, #8b5cf6); color: #fff; font-size: 11px; font-weight: 900; box-shadow: 0 8px 20px rgba(109, 40, 217, .2); }
.pc-archive-dialog header h2 { margin: 0; font-size: 20px; line-height: 28px; }
.pc-archive-dialog header p { margin: 1px 0 0; color: #76869e; font-size: 13px; }
.pc-archive-close { margin-left: auto; width: 38px; height: 38px; border: 0; border-radius: 11px; background: #f1f5fa; color: #76869e; font-size: 24px; cursor: pointer; }
.pc-archive-body { flex: 1; min-height: 0; }
.pc-archive-empty, .pc-archive-progress-state, .pc-archive-result { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 40px; text-align: center; box-sizing: border-box; }
.pc-archive-empty-icon { display: flex; align-items: center; justify-content: center; width: 82px; height: 82px; border-radius: 24px; background: linear-gradient(135deg, #6d28d9, #8b5cf6); color: #fff; font-size: 18px; font-weight: 900; box-shadow: 0 14px 34px rgba(109, 40, 217, .2); }
.pc-archive-empty h3, .pc-archive-progress-state h3, .pc-archive-result h3 { margin: 22px 0 8px; font-size: 22px; }
.pc-archive-empty p, .pc-archive-progress-state p, .pc-archive-result p { max-width: 580px; margin: 0; color: #6e7e96; font-size: 14px; line-height: 1.7; }
.pc-archive-empty small { margin-top: 16px; color: #97a4b7; }
.pc-archive-primary { min-width: 138px; height: 42px; padding: 0 20px; border: 0; border-radius: 10px; background: #1768e5; color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 9px 20px rgba(23, 104, 229, .17); }
.pc-archive-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.pc-archive-empty .pc-archive-primary { margin-top: 26px; }
.pc-archive-browser { display: flex; flex-direction: column; height: 100%; }
.pc-archive-toolbar { display: flex; align-items: center; gap: 20px; padding: 17px 22px; border-bottom: 1px solid #dce6f4; background: #fff; }
.pc-archive-toolbar > div { display: flex; flex-direction: column; min-width: 0; }
.pc-archive-toolbar strong { max-width: 600px; overflow: hidden; color: #1d2b43; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.pc-archive-toolbar span { margin-top: 3px; color: #8391a6; font-size: 12px; }
.pc-archive-toolbar button { margin-left: auto; border: 0; background: transparent; color: #1768e5; font-weight: 700; cursor: pointer; }
.pc-archive-list { flex: 1; min-height: 0; padding: 16px 22px; overflow-y: auto; }
.pc-archive-file { display: flex; align-items: center; width: 100%; min-height: 70px; margin-bottom: 10px; padding: 10px 14px; border: 1px solid #d9e4f2; border-radius: 13px; background: #fff; color: inherit; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.pc-archive-file:hover { border-color: #95baf1; box-shadow: 0 7px 18px rgba(34, 69, 120, .07); }
.pc-archive-file.is-selected { border-color: #1768e5; background: #f3f8ff; box-shadow: inset 0 0 0 1px #1768e5; }
.pc-archive-file.is-disabled { opacity: .42; cursor: not-allowed; }
.pc-archive-check { display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 13px; border: 1px solid #bfd0e6; border-radius: 6px; color: #fff; font-size: 13px; font-weight: 900; }
.pc-archive-file.is-selected .pc-archive-check { border-color: #1768e5; background: #1768e5; }
.pc-archive-file-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; flex: 0 0 46px; border-radius: 11px; background: #1768e5; color: #fff; font-size: 10px; font-weight: 900; overflow: hidden; }
.pc-archive-file-icon.is-image { background: #e99817; }
.pc-archive-file-icon.is-dwg { background: #7c3aed; }
.pc-archive-file-copy { display: flex; flex-direction: column; min-width: 0; margin-left: 14px; }
.pc-archive-file-copy strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.pc-archive-file-copy small { margin-top: 5px; color: #8290a5; font-size: 12px; }
.pc-archive-footer { display: flex; align-items: center; justify-content: space-between; min-height: 72px; padding: 0 22px; border-top: 1px solid #dce6f4; background: #fff; }
.pc-archive-footer span { color: #5c6d85; font-size: 14px; }
.pc-archive-footer b { color: #1768e5; font-size: 18px; }
.pc-archive-no-files { display: flex; flex-direction: column; align-items: center; padding: 90px 20px; color: #718198; }
.pc-archive-no-files b { color: #273750; font-size: 17px; }
.pc-archive-no-files span { margin-top: 8px; font-size: 13px; }
.pc-archive-progress-icon { position: relative; width: 56px; height: 56px; border: 4px solid #dbe9fd; border-top-color: #1768e5; border-radius: 50%; animation: pc-archive-spin .85s linear infinite; }
.pc-archive-progress-state p { max-width: 560px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-archive-progress { width: min(520px, 80%); height: 10px; margin-top: 24px; overflow: hidden; border-radius: 99px; background: #dfe8f5; }
.pc-archive-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #1768e5, #7659ea); transition: width .2s ease; }
.pc-archive-progress-state > strong { margin-top: 12px; color: #1768e5; font-size: 16px; }
.pc-archive-progress.is-indeterminate i { width: 36%; animation: pc-archive-indeterminate 1.2s ease-in-out infinite; }
.pc-archive-result > span { display: flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 50%; background: #e9f8ef; color: #1ba355; font-size: 32px; font-weight: 900; }
.pc-archive-result.is-error > span { background: #fff0f0; color: #e44646; }
.pc-archive-result .pc-archive-primary { margin-top: 24px; }
@keyframes pc-archive-spin { to { transform: rotate(360deg); } }
@keyframes pc-archive-indeterminate { 0% { transform: translateX(-120%); } 100% { transform: translateX(360%); } }
@media (max-width: 720px) {
  .pc-archive-dialog { width: calc(100vw - 20px); height: calc(100vh - 20px); border-radius: 16px; }
  .pc-archive-toolbar strong { max-width: 58vw; }
  .pc-archive-upload-button { top: auto; right: 132px; bottom: 14px; padding: 0 12px; transform: none; }
  .pc-archive-upload-button:hover { transform: translateY(-1px); }
  #app .pc-upload-strip:has(.pc-archive-upload-button),
  #app .upl-file:has(.pc-archive-upload-button) { padding-right: 16px !important; padding-bottom: 66px !important; }
}
