/* Fifth-batch Spaces, iCloud Drive and AirDrop integration. */
.cw-symbol {
  display: inline-block;
  flex: 0 0 auto;
  vertical-align: -2px;
}

.cw-space-indicator {
  max-width: 108px;
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: 0 7px !important;
  color: inherit;
}

.cw-space-indicator b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 600;
}

.cw-cloud-indicator.syncing .cw-symbol {
  animation: cw-sync-spin 1.1s linear infinite;
}

.cw-cloud-indicator.offline {
  opacity: .58;
}

@keyframes cw-sync-spin {
  to { transform: rotate(360deg); }
}

/* Mission Control enhancements */
.cw-mission .mission-strip {
  min-height: 144px;
}

.cw-mission .mission-space-btn {
  position: relative;
  border-radius: 11px;
}

.cw-mission .mission-space-preview {
  background-position: center !important;
  background-size: cover !important;
}

.cw-mission .mission-space-preview.cw-drop-target {
  border-color: #50b5ff !important;
  box-shadow: 0 0 0 4px rgba(10, 132, 255, .28), 0 15px 35px rgba(0, 0, 0, .36) !important;
  transform: translateY(-5px) scale(1.025);
}

.cw-mission .mission-space-btn > b {
  max-width: 112px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cw-space-wallpaper {
  position: absolute;
  z-index: 4;
  right: 5px;
  bottom: 1px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  background: rgba(15, 18, 24, .62);
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
  opacity: 0;
  backdrop-filter: blur(10px);
  transition: opacity .16s, transform .16s;
}

.mission-space-btn:hover .cw-space-wallpaper {
  opacity: 1;
}

.cw-space-wallpaper:hover {
  color: white;
  transform: scale(1.08);
}

.cw-mission .mission-window {
  cursor: grab;
}

.cw-mission .mission-preview {
  position: relative;
  height: 92px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  background-color: rgba(4, 7, 12, .28);
}

.cw-mission .cw-window-miniature {
  position: absolute !important;
  inset: 0 auto auto 0 !important;
  z-index: 1 !important;
  display: flex !important;
  opacity: 1 !important;
  pointer-events: none !important;
  transform-origin: 0 0 !important;
  transition: none !important;
  animation: none !important;
  filter: none !important;
  box-shadow: none !important;
}

.cw-mission .cw-window-miniature * {
  animation-play-state: paused !important;
}

.cw-mission .mission-window:active {
  cursor: grabbing;
}

.cw-mission .mission-window.cw-dragging {
  opacity: .38;
  transform: scale(.95) !important;
}

/* Finder integration */
.finder-actionbar .cw-share-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.finder-content-pro.cw-special-view {
  display: block !important;
  min-width: 0;
  padding: 0 !important;
  overflow: auto;
}

.cw-cloud,
.cw-airdrop {
  width: 100%;
  min-height: 100%;
  box-sizing: border-box;
  color: #e8e8ec;
}

.cw-cloud-toolbar {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: rgba(29, 32, 38, .84);
  backdrop-filter: blur(20px);
}

.cw-cloud-toolbar > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cw-cloud-toolbar > div:first-child > button {
  width: 27px;
  height: 27px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .075);
  color: #d5d5da;
  font-size: 19px;
}

.cw-cloud-mark {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(145deg, #4fc5ff, #2582ec);
  color: white;
  box-shadow: 0 6px 15px rgba(19, 119, 218, .25), inset 0 1px 0 rgba(255, 255, 255, .25);
}

.cw-cloud-toolbar > div:first-child > span:last-child {
  display: grid;
}

.cw-cloud-toolbar b {
  font-size: 12px;
}

.cw-cloud-toolbar small {
  margin-top: 2px;
  color: #858994;
  font-size: 9px;
}

.cw-cloud-toolbar > div:last-child {
  gap: 5px;
}

.cw-cloud-toolbar > div:last-child button {
  height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 7px;
  background: rgba(255, 255, 255, .065);
  color: #c8c9ce;
  font-size: 9px;
}

.cw-cloud-toolbar > div:last-child button:hover,
.cw-cloud-toolbar > div:last-child button.active {
  background: #0a84ff;
  color: white;
}

.cw-cloud-toolbar > div:last-child button.active .cw-symbol {
  animation: cw-sync-spin 1s linear infinite;
}

.cw-cloud-layout {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 225px;
}

.cw-cloud-files {
  min-width: 0;
  display: grid;
  align-content: start;
  padding: 9px 10px 36px;
}

.cw-cloud-item {
  min-width: 0;
  height: 58px;
  display: grid;
  grid-template-columns: 43px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .055);
  border-radius: 7px;
  background: transparent;
  color: #e3e4e8;
  text-align: left;
}

.cw-cloud-item:hover {
  background: rgba(255, 255, 255, .045);
}

.cw-cloud-item.selected {
  background: #0a72d4;
  color: white;
}

.cw-cloud-file-icon {
  width: 36px;
  height: 36px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #eff4f7, #abb5c0);
  color: #546271;
  box-shadow: 0 3px 7px rgba(0, 0, 0, .2);
}

.cw-cloud-file-icon.folder {
  background: linear-gradient(145deg, #71d3ff, #2488db);
  color: white;
}

.cw-cloud-file-icon i {
  position: absolute;
  right: -5px;
  bottom: -4px;
  min-width: 15px;
  height: 15px;
  display: grid;
  place-items: center;
  border: 2px solid #24272d;
  border-radius: 8px;
  background: #5e5ce6;
  color: white;
  font: 7px/1 -apple-system, sans-serif;
}

.cw-cloud-item > span:nth-child(2) {
  min-width: 0;
  display: grid;
}

.cw-cloud-item > span:nth-child(2) b,
.cw-cloud-item > span:nth-child(2) small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cw-cloud-item > span:nth-child(2) b {
  font-size: 11px;
}

.cw-cloud-item > span:nth-child(2) small {
  margin-top: 3px;
  color: #81858f;
  font-size: 8px;
}

.cw-cloud-item.selected > span:nth-child(2) small {
  color: rgba(255, 255, 255, .7);
}

.cw-cloud-item > em {
  min-width: 73px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #7c818b;
  font-style: normal;
  font-size: 8px;
}

.cw-cloud-item > em.conflict { color: #ffb341; }
.cw-cloud-item > em.syncing { color: #5db4ff; }
.cw-cloud-item > em.syncing .cw-symbol { animation: cw-sync-spin 1s linear infinite; }
.cw-cloud-item.selected > em { color: rgba(255, 255, 255, .76); }

.cw-cloud-inspector {
  min-width: 0;
  padding: 22px 18px;
  border-left: 1px solid rgba(255, 255, 255, .07);
  background: rgba(23, 25, 30, .58);
}

.cw-cloud-summary,
.cw-cloud-detail {
  display: grid;
  justify-items: center;
  text-align: center;
}

.cw-cloud-summary > span {
  color: #63c6ff;
  filter: drop-shadow(0 8px 14px rgba(33, 144, 225, .22));
}

.cw-cloud-summary h3,
.cw-cloud-detail h3 {
  max-width: 100%;
  overflow: hidden;
  margin: 12px 0 5px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
}

.cw-cloud-summary p,
.cw-cloud-detail p {
  margin: 0;
  color: #777c86;
  font-size: 9px;
  line-height: 1.5;
}

.cw-cloud-summary > div {
  width: 100%;
  height: 5px;
  overflow: hidden;
  margin: 22px 0 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .08);
}

.cw-cloud-summary > div i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #43b9ff, #6e71f1);
}

.cw-cloud-summary > small {
  color: #777c86;
  font-size: 8px;
}

.cw-cloud-file-icon.large {
  width: 62px;
  height: 62px;
  border-radius: 15px;
}

.cw-cloud-detail-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 11px 0 14px;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .065);
  color: #9397a0;
  font-size: 8px;
}

.cw-cloud-detail-status.conflict {
  background: rgba(255, 159, 10, .12);
  color: #ffb23e;
}

.cw-cloud-detail > button {
  width: 100%;
  min-height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 5px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .065);
  color: #c4c6cb;
  font-size: 9px;
}

.cw-cloud-detail > button.primary {
  background: #0a84ff;
  color: white;
}

.cw-shared-note {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #7b7f89;
  font-size: 8px;
}

.cw-empty {
  padding: 90px 20px;
  color: #777b84;
  text-align: center;
  font-size: 11px;
}

/* AirDrop */
.cw-airdrop {
  display: grid;
  grid-template-rows: 65px 315px auto;
  background:
    radial-gradient(circle at 50% 45%, rgba(44, 127, 205, .13), transparent 35%),
    #1e2127;
}

.cw-airdrop > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.cw-airdrop > header > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cw-airdrop > header > div > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(145deg, #3ca9ff, #4d63d7);
  color: white;
  box-shadow: 0 7px 18px rgba(36, 115, 210, .25);
}

.cw-airdrop h1 {
  margin: 0;
  font-size: 16px;
  letter-spacing: -.025em;
}

.cw-airdrop header p {
  margin: 3px 0 0;
  color: #808590;
  font-size: 9px;
}

.cw-airdrop > header > button {
  height: 28px;
  padding: 0 10px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .07);
  color: #afb2b9;
  font-size: 9px;
}

.cw-airdrop-stage {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.cw-airdrop-radar {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 360px;
  height: 360px;
  transform: translate(-50%, -50%);
}

.cw-airdrop-radar > i {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(87, 174, 255, .15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: cw-radar 3.4s ease-out infinite;
}

.cw-airdrop-radar > i:nth-child(2) { animation-delay: -1.15s; }
.cw-airdrop-radar > i:nth-child(3) { animation-delay: -2.3s; }

@keyframes cw-radar {
  from { width: 80px; height: 80px; opacity: .9; }
  to { width: 350px; height: 350px; opacity: 0; }
}

.cw-this-mac {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  background: linear-gradient(145deg, #24a7c2, #5170d4);
  color: white;
  font-size: 18px;
  font-weight: 700;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 6px rgba(78, 158, 229, .12), 0 12px 27px rgba(0, 0, 0, .25);
}

.cw-this-mac small {
  position: absolute;
  top: 68px;
  width: 100px;
  color: #afb4be;
  text-align: center;
  font-size: 8px;
  font-weight: 500;
}

.cw-airdrop-people {
  position: relative;
  z-index: 3;
  width: min(680px, 90%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  justify-items: center;
}

.cw-airdrop-people > button {
  display: grid;
  justify-items: center;
  background: transparent;
  color: #d9dae0;
  animation: cw-person-in .36s cubic-bezier(.2, .9, .2, 1.15) both;
  animation-delay: var(--delay);
}

@keyframes cw-person-in {
  from { opacity: 0; transform: translateY(12px) scale(.9); }
}

.cw-airdrop-people > button:nth-child(2),
.cw-airdrop-people > button:nth-child(3) {
  margin-top: 150px;
}

.cw-airdrop-people > button > span,
.cw-person-avatar {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: linear-gradient(145deg, color-mix(in srgb, var(--person), white 18%), var(--person));
  color: white;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 9px 21px rgba(0, 0, 0, .28), 0 0 0 4px rgba(255, 255, 255, .05);
  transition: transform .18s, box-shadow .18s;
}

.cw-airdrop-people > button:hover > span {
  transform: scale(1.08);
  box-shadow: 0 11px 28px rgba(0, 0, 0, .32), 0 0 0 6px rgba(77, 157, 235, .16);
}

.cw-airdrop-people b {
  max-width: 130px;
  overflow: hidden;
  margin-top: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
}

.cw-airdrop-people small {
  margin-top: 2px;
  color: #727782;
  font-size: 7px;
}

.cw-airdrop-footer {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 14px 18px 22px;
  border-top: 1px solid rgba(255, 255, 255, .06);
  background: rgba(21, 23, 28, .5);
}

.cw-airdrop-footer > label {
  display: grid;
  align-content: start;
  gap: 7px;
  color: #8b8f98;
  font-size: 8px;
}

.cw-airdrop-footer select {
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 7px;
  outline: 0;
  background: #2a2d34;
  color: #d6d7dc;
  font-size: 9px;
}

.cw-transfer-history {
  display: grid;
  gap: 2px;
}

.cw-transfer-history > b {
  margin-bottom: 4px;
  color: #8b8f98;
  font-size: 8px;
}

.cw-transfer-history > span {
  min-width: 0;
  height: 32px;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border-top: 1px solid rgba(255, 255, 255, .045);
}

.cw-transfer-history > span > i {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--person);
  color: white;
  font-style: normal;
  font-size: 6px;
}

.cw-transfer-history em {
  min-width: 0;
  display: grid;
  font-style: normal;
}

.cw-transfer-history strong,
.cw-transfer-history small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cw-transfer-history strong { font-size: 8px; }
.cw-transfer-history small { color: #696e78; font-size: 7px; }

.cw-transfer-history mark {
  background: transparent;
  color: #737984;
  font-size: 7px;
}

.cw-transfer-history mark.sent,
.cw-transfer-history mark.received { color: #50c878; }
.cw-transfer-history mark.declined { color: #ff6961; }
.cw-transfer-history p { margin: 3px 0; color: #686d76; font-size: 8px; }

/* Sheets and previews */
.cw-sheet,
.cw-cloud-preview {
  position: fixed;
  z-index: 12000;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 7, 11, .42);
  backdrop-filter: blur(14px);
  animation: cw-sheet-fade .18s ease;
}

@keyframes cw-sheet-fade {
  from { opacity: 0; }
}

.cw-sheet-card {
  width: min(430px, calc(100vw - 36px));
  max-height: min(650px, calc(100vh - 60px));
  overflow: auto;
  display: grid;
  justify-items: center;
  box-sizing: border-box;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 18px;
  background: rgba(36, 38, 44, .95);
  color: #f0f0f3;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(30px);
  animation: cw-sheet-in .24s cubic-bezier(.2, .9, .2, 1.12);
}

@keyframes cw-sheet-in {
  from { opacity: 0; transform: translateY(9px) scale(.97); }
}

.cw-sheet-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, #4ebdff, #316fd9);
  color: white;
  box-shadow: 0 10px 23px rgba(35, 121, 215, .24);
}

.cw-sheet-icon.warning {
  background: linear-gradient(145deg, #ffb64a, #e86f2c);
}

.cw-sheet-card h2 {
  margin: 15px 0 6px;
  text-align: center;
  font-size: 19px;
  letter-spacing: -.025em;
}

.cw-sheet-card > p {
  max-width: 340px;
  margin: 0 0 17px;
  color: #92959e;
  text-align: center;
  font-size: 10px;
  line-height: 1.5;
}

.cw-version-compare {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cw-version-compare button {
  min-height: 95px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  background: rgba(255, 255, 255, .055);
  color: #e3e3e7;
  text-align: left;
}

.cw-version-compare button:hover {
  border-color: #0a84ff;
  background: rgba(10, 132, 255, .14);
}

.cw-version-compare span,
.cw-version-compare small {
  color: #838690;
  font-size: 8px;
}

.cw-wide-action,
.cw-cancel {
  width: 100%;
  min-height: 33px;
  margin-top: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  color: #d6d6da;
  font-size: 10px;
}

.cw-wide-action.primary {
  background: #0a84ff;
  color: white;
  font-weight: 700;
}

.cw-cancel {
  margin-top: 6px;
  background: transparent;
  color: #858991;
}

.cw-version-list {
  width: 100%;
  display: grid;
  margin-top: 4px;
}

.cw-version-list > div {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.cw-version-list span {
  display: grid;
}

.cw-version-list small {
  margin-top: 3px;
  color: #7d818a;
  font-size: 8px;
}

.cw-version-list button {
  min-width: 48px;
  height: 25px;
  border-radius: 7px;
  background: rgba(255, 255, 255, .07);
  color: #5db2ff;
  font-size: 8px;
}

.cw-person-avatar {
  --person: #618ad1;
  width: 66px;
  height: 66px;
  font-size: 17px;
}

.cw-sheet-card.airdrop > small {
  margin-top: 11px;
  color: #5db2ff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cw-share-files {
  width: 100%;
  max-height: 135px;
  overflow: auto;
  display: grid;
  margin-bottom: 5px;
}

.cw-share-files > span {
  min-height: 38px;
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.cw-share-files b {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 9px;
}

.cw-share-files small {
  color: #797d86;
  font-size: 8px;
}

.cw-airdrop-progress {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 31px;
  margin: 8px 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, .06);
}

.cw-airdrop-progress i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(90deg, #238df4, #55bfff);
  transition: width .14s linear;
}

.cw-airdrop-progress span {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 8px;
}

.cw-incoming-preview {
  width: 180px;
  height: 130px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 5px;
  margin: 2px 0 14px;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 12px;
  background: linear-gradient(145deg, #333943, #202329);
  color: #d8dde4;
}

.cw-incoming-preview b { font-size: 10px; }
.cw-incoming-preview small { color: #7e838d; font-size: 8px; }

.cw-sheet-actions {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.cw-sheet-actions button {
  height: 34px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  color: #d5d5da;
}

.cw-sheet-actions button.primary {
  background: #0a84ff;
  color: white;
}

.cw-cloud-preview > div {
  width: min(820px, 88vw);
  height: min(630px, 82vh);
  overflow: hidden;
  display: grid;
  grid-template-rows: 44px minmax(0, 1fr) 31px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(31, 33, 39, .94);
  color: #ececf0;
  box-shadow: 0 35px 100px rgba(0, 0, 0, .55);
}

.cw-cloud-preview header {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  padding: 0 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.cw-cloud-preview header button {
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #ff5f57;
  color: rgba(0, 0, 0, .52);
}

.cw-cloud-preview header b {
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}

.cw-cloud-preview header span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  color: #7fbef2;
  font-size: 8px;
}

.cw-cloud-preview main {
  overflow: auto;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(0, 0, 0, .16);
}

.cw-cloud-preview article {
  width: min(620px, 92%);
  min-height: 100%;
  box-sizing: border-box;
  padding: 45px 55px;
  background: #fff;
  color: #2b2d31;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .28);
}

.cw-cloud-preview article h1 {
  margin: 0 0 22px;
  font-size: 30px;
  letter-spacing: -.04em;
}

.cw-cloud-preview article h2 { margin-top: 25px; }
.cw-cloud-preview article p,
.cw-cloud-preview article li { font-size: 13px; line-height: 1.75; }

.cw-preview-generic {
  display: grid;
  place-items: center;
  align-content: center;
  color: #aab1ba;
}

.cw-preview-generic h2 { margin: 16px 0 5px; color: #eeeef1; }
.cw-preview-generic p { margin: 0; color: #797e88; font-size: 9px; }

.cw-cloud-preview footer {
  display: grid;
  place-items: center;
  border-top: 1px solid rgba(255, 255, 255, .07);
  color: #747983;
  font-size: 8px;
}

/* Finder light mode */
.light-mode .cw-cloud,
.light-mode .cw-airdrop {
  color: #25262a;
}

.light-mode .cw-cloud-toolbar {
  border-bottom-color: rgba(0, 0, 0, .08);
  background: rgba(244, 245, 247, .86);
}

.light-mode .cw-cloud-toolbar b { color: #24252a; }
.light-mode .cw-cloud-toolbar > div:last-child button,
.light-mode .cw-cloud-toolbar > div:first-child > button {
  border-color: rgba(0, 0, 0, .05);
  background: rgba(0, 0, 0, .055);
  color: #5e6168;
}

.light-mode .cw-cloud-files { background: #fafafa; }
.light-mode .cw-cloud-item { border-bottom-color: rgba(0, 0, 0, .065); color: #292a2e; }
.light-mode .cw-cloud-item:hover { background: rgba(0, 0, 0, .04); }
.light-mode .cw-cloud-item.selected { background: #0a84ff; color: white; }
.light-mode .cw-cloud-inspector { border-left-color: rgba(0, 0, 0, .08); background: #f0f1f3; }
.light-mode .cw-cloud-file-icon i { border-color: #fafafa; }

.light-mode .cw-airdrop {
  background: radial-gradient(circle at 50% 45%, rgba(44, 127, 205, .1), transparent 35%), #f5f6f8;
}

.light-mode .cw-airdrop > header,
.light-mode .cw-airdrop-footer {
  border-color: rgba(0, 0, 0, .07);
}

.light-mode .cw-airdrop h1,
.light-mode .cw-airdrop-people { color: #25262a; }
.light-mode .cw-airdrop-people > button { color: #2d2e33; }
.light-mode .cw-airdrop-footer { background: rgba(235, 236, 239, .55); }
.light-mode .cw-airdrop-footer select { border-color: rgba(0, 0, 0, .07); background: white; color: #34353a; }

@media (max-width: 820px) {
  .cw-cloud-toolbar > div:last-child button {
    width: 29px;
    overflow: hidden;
    padding: 0 7px;
    color: transparent;
    gap: 0;
  }

  .cw-cloud-toolbar > div:last-child button .cw-symbol {
    color: #c8c9ce;
  }

  .cw-cloud-layout { grid-template-columns: minmax(0, 1fr) 180px; }
  .cw-airdrop-people { width: 96%; }
  .cw-airdrop-people b { max-width: 95px; }
}

@media (max-width: 600px) {
  .cw-space-indicator b { display: none; }
  .cw-cloud-layout { grid-template-columns: 1fr; }
  .cw-cloud-inspector { display: none; }
  .cw-cloud-toolbar { padding: 0 9px; }
  .cw-cloud-toolbar > div:first-child > span:last-child small { display: none; }
  .cw-airdrop { grid-template-rows: 58px 350px auto; }
  .cw-airdrop-people { grid-template-columns: repeat(2, 1fr); gap: 70px 15px; }
  .cw-airdrop-people > button:nth-child(2),
  .cw-airdrop-people > button:nth-child(3) { margin-top: 0; }
  .cw-airdrop-footer { grid-template-columns: 1fr; }
  .cw-cloud-preview article { padding: 34px 27px; }
}

@media (prefers-reduced-motion: reduce) {
  .cw-airdrop-radar > i,
  .cw-airdrop-people > button,
  .cw-cloud-indicator.syncing .cw-symbol,
  .cw-cloud-item > em.syncing .cw-symbol {
    animation: none !important;
  }
}
