/* A quiet download card above Apps; all detail stays inside its own border. */
.ws-mac-card {
  position: relative;
  isolation: isolate;
  flex: none;
  margin: 0 0 4px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  color: #15110d;
  /* Same softly layered field as the landing story cards. */
  background-color: #f9f8f5;
  background-image: linear-gradient(rgba(249, 248, 245, .6), rgba(249, 248, 245, .6)), radial-gradient(ellipse 156.3738% 106.9095% at 76.5306% 100%, #f9f8f5 0%, #fbecc5 35.577%, #fde194 71.154%, #b9cbca 85.577%, #97c0e4 92.788%, #74b5ff 100%);
  box-shadow: none;
}
.ws-mac-card[hidden] { display: none; }
.ws-mac-card::before { content: ""; position: absolute; z-index: -1; left: -41.477%; top: 3.1744%; width: 138.942%; height: 129.909%; background: url("../assets/figma/initial-icon4.svg") center / 100% 100% no-repeat; transform: rotate(-30deg); mix-blend-mode: overlay; pointer-events: none; }
.ws-mac-card::after { content: ""; position: absolute; z-index: 3; inset: 0; border-radius: inherit; background: none; opacity: 1; box-shadow: inset 0 0 0 .5px rgba(21, 17, 13, .1); pointer-events: none; }
.ws-mac-grain { position: absolute; z-index: 0; inset: 0; border-radius: inherit; background: url("../assets/grain/card-grain-0.png") 0 0 / 128px 128px repeat; opacity: .014; pointer-events: none; }
.ws-mac-preview {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  height: 110px;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.ws-mac-dock {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  height: auto;
  padding: 10px;
  border: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, .3);
  box-shadow: inset 0 0 0 .5px rgba(255, 255, 255, .95);
  transform: translateY(4px);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.ws-mac-app {
  position: relative;
  z-index: 1;
  display: grid;
  flex: none;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(49, 81, 128, .01), 0 0 0 .5px rgba(20, 5, 5, .07);
}
.ws-mac-app > img { display: block; width: 25px; height: 25px; object-fit: contain; }
.ws-mac-app-linear { background: linear-gradient(180deg, #2d2924 0%, #15110d 100%); }
.ws-mac-app-linear > img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.ws-mac-app-till { --app-icon-size: 36px; --app-icon-scale: 1.02857143; border: 0; background: #fff; }
.ws-mac-app-till > img { top: 50%; left: 50%; width: 33px; height: 33px; transform: translate(calc(-50% - 1.4px), calc(-50% + .2px)); transform-origin: center; filter: none; }
.ws-mac-app-slack > img { width: 20px; height: 20px; }
.ws-mac-running { position: absolute; z-index: 1; bottom: 3.5px; left: calc(50% - 2px); width: 4px; height: 4px; border-radius: 50%; background: #15110d; }
.workspace-screen .ws-mac-dismiss {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  padding: 6px 10px;
  white-space: nowrap;
  border: 0;
  border-radius: 8px;
  color: #78756f;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}
.workspace-screen .ws-mac-dismiss:hover { background: #eeece5; }
.ws-mac-copy { position: relative; z-index: 1; width: 100%; margin: 0; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 4px 20px rgba(49, 81, 128, .01), 0 0 0 .5px rgba(20, 5, 5, .07); }
.ws-mac-copy p { margin: 0; color: #15110d; font-size: 14px; line-height: 20px; font-weight: 400; }
.ws-mac-actions { display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: stretch; gap: 8px; margin-top: 10px; }
.workspace-screen .ws-mac-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 32px;
  margin-top: 0;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  color: #15110d;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}
@media (max-height: 720px) {
  .ws-mac-preview { height: 80px; }
  .ws-mac-dock { transform: translateY(4px) scale(.88); }
}
@media (max-height: 650px) {
  .ws-mac-preview { display: none; }
}
