#download_center_view_mount {
  flex: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.download_center_view_shell {
  flex: 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 22px 24px 112px;
  background: #f7f9fc;
  color: #1f2937;
  overflow: hidden;
}

.download_center_header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.download_center_header > div:first-child {
  min-width: 0;
}

.download_center_title_row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.download_center_context_badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: #e8eef9;
  color: #40556f;
  font-size: 11px;
  font-weight: 800;
}

.download_center_scope_switch {
  display: inline-flex;
  width: calc(100vw - 360px);
  max-width: none;
  gap: 4px;
  margin-top: 10px;
  padding: 3px;
  border: 1px solid #dbe3ee;
  border-radius: 9px;
  background: #fff;
}

.download_center_scope_switch button {
  min-height: 28px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.download_center_scope_switch button[data-action="scope_all"] {
  flex: 0 0 auto;
}

.download_center_scope_switch button[data-action="scope_current"] {
  flex: 1 1 auto;
  min-width: 0;
}

.download_center_scope_switch button[data-action="scope_party_material"] {
  flex: 0 0 auto;
}

.download_center_scope_switch button.is-active {
  background: #e8f0ff;
  color: #1d4ed8;
}

.download_center_scope_switch button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.download_center_header h1 {
  margin: 4px 0 6px;
  font-size: 28px;
  letter-spacing: 0;
}

@media (max-width: 720px) {
  .download_center_scope_switch {
    width: 100%;
  }
}

.download_center_header p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.download_center_header .download_center_save_dir {
  margin-top: 8px;
  color: #475569;
  font-size: 12px;
}

.download_center_save_dir span {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  overflow-wrap: anywhere;
}

.download_center_eyebrow {
  color: #b91c1c !important;
  font-weight: 800;
}

.download_center_btn {
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #fff;
  color: #334155;
  border-radius: 8px;
  min-height: 32px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.download_center_metrics {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  max-width: min(560px, 52vw);
  margin-left: auto;
  padding-top: 4px;
}

.download_center_metric {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 30px;
  border: 1px solid rgba(203, 213, 225, 0.8);
  background: #fff;
  border-radius: 999px;
  padding: 0 11px;
  color: #52637a;
  white-space: nowrap;
}

.download_center_metric strong {
  order: 2;
  font-size: 15px;
  color: #111827;
  line-height: 1;
}

.download_center_metric span {
  order: 1;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.download_center_layout {
  display: block;
  min-height: 0;
  overflow: hidden;
}

.download_center_table_wrap {
  min-width: 0;
  height: 100%;
  min-height: 0;
  overflow: auto;
  border: 1px solid rgba(203, 213, 225, 0.8);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.download_center_table {
  width: 100%;
  min-width: 1220px;
  border-collapse: collapse;
  table-layout: fixed;
}

.download_center_table th:nth-child(1) {
  width: 25%;
}

.download_center_table th:nth-child(2) {
  width: 92px;
}

.download_center_table th:nth-child(3) {
  width: 18%;
}

.download_center_table th:nth-child(4) {
  width: 20%;
}

.download_center_table th:nth-child(5) {
  width: 18%;
}

.download_center_table th:nth-child(6) {
  width: 150px;
}

.download_center_table th,
.download_center_table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  text-align: left;
  vertical-align: middle;
  font-size: 12px;
}

.download_center_table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: #64748b;
  font-weight: 800;
  background: #f8fafc;
}

.download_center_table tbody tr[data-download-row] {
  cursor: pointer;
}

.download_center_table tbody tr[data-download-row]:hover td {
  background: #f8fbff;
}

.download_center_table tbody tr.is-selected td {
  background: #eef6ff;
}

.download_center_table tbody tr.is-selected td:first-child {
  box-shadow: inset 3px 0 0 #2563eb;
}

.download_center_file_name {
  font-weight: 800;
  color: #111827;
  overflow-wrap: anywhere;
  line-height: 1.4;
}

.download_center_open_case_btn {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  margin-bottom: 7px;
  padding: 0 9px;
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.download_center_open_case_btn:hover {
  border-color: #60a5fa;
  background: #dbeafe;
}

.download_center_sub {
  margin-top: 3px;
  color: #64748b;
  line-height: 1.35;
}

.download_center_type_chip {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-top: 6px;
  padding: 0 7px;
  border-radius: 999px;
  background: #eef2ff;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.download_center_version_chip {
  display: inline-flex;
  max-width: 150px;
  min-height: 20px;
  align-items: center;
  margin: 6px 0 0 5px;
  padding: 0 7px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download_center_id_line,
.download_center_logical_path {
  margin-top: 3px;
  color: #64748b;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download_center_locate_btn {
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2563eb;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
}

.download_center_locate_btn:hover {
  text-decoration: underline;
}

.download_center_progress {
  margin-top: 5px;
  color: #64748b;
  font-size: 10px;
  text-align: center;
}

.download_center_status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  min-width: 58px;
  padding: 0 9px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  font-weight: 800;
}

.download_center_status[data-status="completed"] {
  background: #dcfce7;
  color: #15803d;
}

.download_center_status[data-status="delivered"] {
  background: #dcfce7;
  color: #15803d;
}

.download_center_status[data-status="queued"],
.download_center_status[data-status="preparing"],
.download_center_status[data-status="transferring"] {
  background: #dbeafe;
  color: #1d4ed8;
}

.download_center_status[data-status="canceled"],
.download_center_status[data-status="expired"] {
  background: #f1f5f9;
  color: #64748b;
}

.download_center_status[data-status="failed"],
.download_center_status[data-status="missing"] {
  background: #fee2e2;
  color: #b91c1c;
}

.download_center_path {
  display: grid;
  gap: 3px;
  min-width: 0;
  color: #334155;
  line-height: 1.35;
}

.download_center_path_dir,
.download_center_path_name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.download_center_path_dir {
  color: #64748b;
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
}

.download_center_path_name {
  color: #1f2937;
  font-weight: 700;
}

.download_center_empty {
  padding: 34px;
  text-align: center;
  color: #64748b;
}

.download_center_detail_row td {
  padding: 0;
  background: #f8fafc;
}

.download_center_detail_panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 14px 16px 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.download_center_detail_panel::before {
  content: "下载详情";
  grid-column: 1 / -1;
  color: #334155;
  font-size: 12px;
  font-weight: 900;
}

.download_center_kv {
  display: grid;
  gap: 4px;
  min-width: 0;
  font-size: 12px;
}

.download_center_kv span:first-child {
  color: #64748b;
  font-weight: 800;
}

.download_center_kv span:last-child {
  color: #1f2937;
  overflow-wrap: anywhere;
}

.download_center_settings_modal {
  position: fixed;
  inset: 0;
  z-index: 1700;
  display: none;
  align-items: center;
  justify-content: center;
}

.download_center_settings_modal.is-open {
  display: flex;
}

.download_center_settings_backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.28);
}

.download_center_settings_panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(860px, calc(100vw - 32px));
  height: min(760px, calc(100vh - 32px));
  max-height: min(760px, calc(100vh - 32px));
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.28), 0 8px 24px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.download_center_target_choices,
.download_center_device_list {
  display: grid;
  gap: 12px;
  padding: 20px 28px 0;
}

.download_center_target_choices {
  flex: 0 0 auto;
  grid-template-rows: max-content max-content;
}

.download_center_target_choices {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: max-content;
  align-content: start;
}

.download_center_target_choices::before,
.download_center_device_list::before {
  grid-column: 1 / -1;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.download_center_target_choices::before {
  content: "交付目标";
}

.download_center_device_list::before {
  content: "可用配对设备";
}

.download_center_target_choice,
.download_center_device_card {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: flex-start;
  gap: 14px !important;
  min-width: 0;
  padding: 16px !important;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: linear-gradient(180deg, #fbfdff 0%, #f7f9fc 100%);
  cursor: pointer;
  align-self: start;
  height: auto;
  min-height: 0;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.download_center_target_choice:has(input:checked),
.download_center_device_card.is-selected {
  border-color: #5b7cfa;
  background: linear-gradient(180deg, #f3f7ff 0%, #eaf1ff 100%);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.download_center_target_choice:hover,
.download_center_device_card:hover {
  border-color: #93b4ff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.08);
}

.download_center_target_choice input,
.download_center_device_card input {
  width: auto;
  flex: 0 0 auto;
  min-height: 0;
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  accent-color: #2563eb;
}

.download_center_target_choice span,
.download_center_device_card span {
  flex: 1 1 auto;
  display: grid;
  gap: 4px;
  min-width: 0;
  align-self: start;
  height: auto;
}

.download_center_target_choice strong,
.download_center_device_card strong {
  color: #1f2937;
  font-size: 14px;
  line-height: 1.3;
}

.download_center_target_choice small,
.download_center_device_card small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.download_center_device_list {
  flex: 1 1 auto;
  min-height: 0;
  padding-top: 18px;
  padding-bottom: 20px;
  overflow: auto;
  scrollbar-gutter: stable;
  align-content: start;
  grid-auto-rows: max-content;
  grid-template-rows: max-content max-content max-content;
}

.download_center_device_empty {
  padding: 18px;
  border: 1px dashed #cbd5e1;
  border-radius: 9px;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

.download_center_capacity_note {
  display: grid;
  gap: 5px;
  margin: 0 28px 14px;
  padding: 13px 15px 14px;
  border: 1px solid #fed7aa;
  border-left: 4px solid #f59e0b;
  border-radius: 12px;
  background: #fffaf2;
  color: #9a3412;
  font-size: 12px;
  line-height: 1.55;
}

.download_center_preview_fallback,
.download_center_loading {
  display: grid;
  place-content: center;
  gap: 8px;
  height: 100%;
  padding: 30px;
  color: #64748b;
  text-align: center;
}

.download_center_settings_panel header,
.download_center_settings_panel footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 28px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  flex: 0 0 auto;
}

.download_center_settings_panel header {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.download_center_settings_panel footer {
  justify-content: flex-end;
  padding-top: 16px;
  padding-bottom: 20px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  border-bottom: 0;
  background: #fbfcfe;
}

.download_center_settings_panel h2 {
  margin: 0 0 6px;
  color: #111827;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.download_center_settings_panel p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.download_center_settings_panel label {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.download_center_settings_path_row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.download_center_settings_panel input {
  width: 100%;
  min-height: 38px;
  box-sizing: border-box;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 8px;
  padding: 0 11px;
  color: #111827;
  font-size: 13px;
  font-weight: 650;
}

.download_center_settings_panel input:focus {
  border-color: #2563eb;
  outline: 2px solid rgba(37, 99, 235, 0.16);
}

.download_center_settings_panel .download_center_target_choice input,
.download_center_settings_panel .download_center_device_card input {
  width: 22px;
  height: 22px;
  min-height: 0;
  flex: 0 0 22px;
}

.download_center_settings_panel button {
  min-height: 40px;
  border: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 10px;
  background: #fff;
  color: #334155;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.download_center_settings_panel header > button {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  border-radius: 11px;
  color: #475569;
  font-size: 20px;
  line-height: 1;
}

.download_center_settings_panel header > button:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.download_center_settings_path_row button {
  white-space: nowrap;
}

.download_center_settings_panel footer button:last-child {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.download_center_settings_hint {
  min-height: 20px;
  padding: 0 28px 14px;
  color: #15803d;
  font-size: 12px;
  font-weight: 700;
}

.download_center_settings_hint.is-error {
  color: #b91c1c;
}

@media (max-width: 700px) {
  .download_center_settings_panel {
    width: min(100% - 20px, 560px);
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .download_center_target_choices {
    grid-template-columns: 1fr;
  }

  .download_center_target_choices,
  .download_center_device_list {
    padding-left: 18px;
    padding-right: 18px;
  }

  .download_center_capacity_note {
    margin-left: 18px;
    margin-right: 18px;
  }

  .download_center_settings_panel header,
  .download_center_settings_panel footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .download_center_settings_hint {
    padding-left: 18px;
    padding-right: 18px;
  }
}

.download_center_preview_modal {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--pmt-public-preview-modal-padding, 28px);
}

.download_center_preview_modal.is-open {
  display: flex;
}

.download_center_preview_backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.38);
}

.download_center_preview_panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: var(--pmt-public-preview-modal-panel-width, min(980px, calc(100vw - 56px)));
  height: var(--pmt-public-preview-modal-panel-height, min(760px, calc(100vh - 56px)));
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 28px 86px rgba(15, 23, 42, 0.26);
  overflow: hidden;
}

.download_center_preview_modal.is-fullscreen {
  padding: var(--pmt-public-preview-modal-fullscreen-padding, 10px);
}

.download_center_preview_modal.is-fullscreen .download_center_preview_panel {
  width: var(--pmt-public-preview-modal-fullscreen-width, calc(100vw - 20px));
  height: var(--pmt-public-preview-modal-fullscreen-height, calc(100vh - 20px));
}

.download_center_preview_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  background: #f8fafc;
}

.download_center_preview_panel h2 {
  margin: 2px 0 0;
  color: #111827;
  font-size: 16px;
  letter-spacing: 0;
}

.download_center_preview_head .pmt_preview_toolbar {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  min-height: 30px;
  margin-bottom: 6px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.download_center_preview_head .pmt_icon_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  border: 1px solid #dbe3ee;
  border-radius: 6px;
  background: #ffffff;
  color: #40556f;
  cursor: pointer;
}

.download_center_preview_head .pmt_icon_btn:hover {
  border-color: #9db9ff;
  background: #eff6ff;
  color: #1d4ed8;
}

.download_center_preview_head .pmt_icon_btn[aria-pressed="true"] {
  border-color: #5b7cfa;
  background: #eef4ff;
  color: #1d4ed8;
  box-shadow: 0 0 0 1px rgba(91, 124, 250, 0.18);
}

.download_center_preview_head .pmt_icon_btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download_center_preview_head [data-role="download_preview_zoom_label"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  color: #5f6f85;
  font-size: 12px;
  font-weight: 800;
}

.download_center_preview_body {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: #f8fafc;
}

.download_center_preview_box {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  width: 100%;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background: #eef4fb;
  overflow: hidden;
}

.download_center_preview_box.pmt_file_preview[data-pmt-public-preview] {
  height: 100%;
  min-height: 0;
}

.download_center_preview_box .pmt_preview_toolbar {
  display: none;
  grid-template-columns: repeat(6, minmax(44px, 1fr));
  align-items: center;
  justify-content: center;
  min-height: 40px;
  overflow: hidden;
  border-top: 1px solid rgba(180, 198, 224, 0.9);
  border-radius: 0 0 8px 8px;
  background: rgba(248, 250, 252, 0.92);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.download_center_preview_box.pmt_file_preview[data-pmt-public-preview] > .pmt_preview_toolbar {
  display: none;
}

.download_center_preview_box .pmt_icon_btn,
.download_center_preview_box .pmt_preview_toolbar span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 38px;
  padding: 0;
  border: 0;
  border-right: 1px solid rgba(180, 198, 224, 0.9);
  border-radius: 0;
  background: transparent;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.download_center_preview_box .pmt_icon_btn:first-child {
  border-left: 0;
}

.download_center_preview_box .pmt_icon_btn:last-child {
  border-right: 0;
}

.download_center_preview_box .pmt_icon_btn:hover {
  background: #e0edff;
  color: #1d4ed8;
}

.download_center_preview_box .pmt_icon_btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download_center_preview_box .pmt_preview_surface {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 20px;
  overflow: auto;
  order: 1;
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.download_center_preview_box.pmt_file_preview[data-pmt-public-preview] .pmt_preview_surface,
.download_center_preview_box.pmt_file_preview[data-pmt-public-preview] .pmt_pdf_viewer {
  inset: 0;
}

.download_center_preview_box.pmt_file_preview[data-pmt-public-preview] .pmt_pdf_viewer {
  padding: 14px;
}

.download_center_preview_box.is-panning .pmt_preview_surface {
  cursor: grabbing;
}

.download_center_preview_box:not(.is-zoomed) .pmt_preview_surface {
  cursor: default;
}

.download_center_preview_box .pmt_preview_surface img,
.download_center_preview_box .pmt_preview_surface iframe,
.download_center_preview_box .download_center_pdf_canvas,
.download_center_preview_box .pmt_file_preview_placeholder {
  transform: scale(var(--preview-scale, 1));
  transform-origin: center center;
}

.download_center_preview_box .pmt_preview_surface img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  object-fit: contain;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}

.download_center_preview_box .pmt_preview_surface iframe {
  width: min(820px, 100%);
  height: min(620px, calc(100vh - 210px));
  border: 0;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}

.download_center_preview_box .download_center_pdf_canvas {
  display: block;
  max-width: none;
  max-height: none;
  background: #fff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.16);
}

.download_center_preview_box .download_center_pdf_shell,
.download_center_preview_box .download_center_pdf_document,
.download_center_preview_box .download_center_pdf_page {
  display: grid;
  place-items: center;
}

.download_center_preview_box .pmt_file_preview_placeholder {
  display: grid;
  justify-items: center;
  gap: 9px;
  width: min(360px, 90%);
  padding: 28px;
  color: #64748b;
  text-align: center;
}

.download_center_preview_box .pmt_file_thumb {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  width: 74px;
  height: 88px;
  border: 1px solid rgba(180, 198, 224, 0.9);
  border-radius: 9px;
  background: linear-gradient(180deg, #f8fafc, #e5edf7);
  color: #64748b;
  font-size: 13px;
  font-weight: 900;
  padding-bottom: 10px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.download_center_preview_box .pmt_file_preview_placeholder strong {
  color: #111827;
  font-size: 16px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.download_center_preview_box .pmt_file_preview_placeholder p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 1080px) {
  .download_center_metrics {
    grid-template-columns: 1fr;
  }

  .download_center_detail_panel {
    grid-template-columns: 1fr;
  }

  .download_center_settings_path_row {
    grid-template-columns: 1fr;
  }

  .download_center_target_choices {
    grid-template-columns: 1fr;
  }
}
