#seekeep-import-progress {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 320px;
  max-width: calc(100vw - 32px);
  font:
    13px/1.6 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #234640;
}
#seekeep-import-progress:empty {
  display: none;
}
.import-task-trigger {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px 16px;
  overflow: hidden;
  border: 1px solid #c5dfd5;
  border-radius: 14px;
  background: #fffefb;
  box-shadow: 0 8px 32px #173d3814;
  color: #234640;
  text-align: left;
  cursor: pointer;
}
.import-task-trigger:hover {
  border-color: #67af9d;
  background: #f6fbf7;
}
.import-task-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #e5f2eb;
  color: #086a63;
}
.import-task-symbol svg {
  width: 19px;
  height: 19px;
}
.import-task-caption {
  flex: 1;
  min-width: 0;
}
.import-task-caption strong,
.import-task-caption small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.import-task-caption strong {
  font-size: 12px;
  font-weight: 600;
}
.import-task-caption small {
  font-size: 11px;
  color: #5a7068;
}
.import-task-track {
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: #e5efea;
}
.import-task-track i {
  display: block;
  height: 100%;
  background: #238a72;
  transition: width 180ms;
}
.import-task-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 400px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 150px);
  overflow: auto;
  border: 1px solid #c5dfd5;
  border-radius: 16px;
  background: #fffefb;
  box-shadow: 0 12px 48px #173d381c;
}
.import-task-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid #e0ece6;
}
.import-task-panel > header > button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: none;
  cursor: pointer;
  color: #5a7068;
}
.import-task-panel > header > button:hover {
  background: #e5f2eb;
}
.import-task-panel button:focus-visible,
.import-task-panel select:focus-visible,
.import-task-trigger:focus-visible {
  outline: 3px solid #68c9b1;
  outline-offset: 3px;
}
.import-task-panel svg {
  width: 18px;
  height: 18px;
}
.import-task-picker {
  display: grid;
  gap: 6px;
  padding: 14px 16px 0;
  font-size: 11px;
  color: #536c63;
}
.import-task-picker select {
  width: 100%;
  min-width: 0;
  padding: 8px;
  border: 1px solid #c5dfd5;
  border-radius: 8px;
  background: white;
  color: #234640;
  font: inherit;
  font-size: 12px;
}
.import-task-summary {
  display: grid;
  gap: 3px;
  padding: 14px 16px 6px;
}
.import-task-summary span {
  font-size: 11px;
  color: #536c63;
}
.import-task-panel progress {
  display: block;
  appearance: none;
  width: calc(100% - 32px);
  height: 5px;
  margin: 6px 16px 14px;
  border: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #e5efea;
  accent-color: #238a72;
}
.import-task-panel progress::-webkit-progress-bar {
  background: #e5efea;
}
.import-task-panel progress::-webkit-progress-value {
  background: #238a72;
}
.import-task-error {
  padding: 0 16px 12px;
  font-size: 12px;
  color: #984c38;
}
.import-task-items {
  max-height: 230px;
  overflow: auto;
  margin: 0 16px;
  border-top: 1px solid #e0ece6;
}
.import-task-items > div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #e0ece6;
}
.import-task-items > div > span {
  flex: 1;
  min-width: 0;
}
.import-task-items strong,
.import-task-items span small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.import-task-items strong {
  font-size: 12px;
  font-weight: 500;
}
.import-task-items small {
  font-size: 10px;
  color: #536c63;
}
.import-task-items .imported {
  color: #08705f;
}
.import-task-items .failed {
  color: #984c38;
}
.import-task-pages {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 11px;
}
.import-task-pages button {
  border: 0;
  background: none;
  color: #086a63;
  min-height: 36px;
  cursor: pointer;
}
.import-task-pages button:disabled {
  opacity: 0.45;
  cursor: default;
}
.import-task-panel > footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
}
.import-task-panel > footer > span {
  margin-right: auto;
  font-size: 11px;
  color: #536c63;
}
.import-task-panel > footer > small {
  font-size: 11px;
  color: #536c63;
}
.import-task-note {
  padding: 0 16px 14px;
  margin: 0;
  color: #64796e;
  font-size: 10px;
  line-height: 1.7;
}
.capture-import-pages {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 12px;
  color: #536c63;
}
@media (max-width: 760px) {
  #seekeep-import-progress {
    right: 16px;
    bottom: 82px;
    width: 300px;
  }
  .import-task-panel {
    max-height: calc(100dvh - 240px);
  }
  .import-task-panel > header > button {
    width: 44px;
    height: 44px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .import-task-track i {
    transition: none;
  }
}
