/* === FULL ORIGINAL CSS RESTORED === */

body {
  margin: 0;
  background: #008080;
  font-family: "MS Sans Serif","Microsoft Sans Serif",Tahoma,sans-serif;
  font-size: 13px;
  overflow: hidden;
  user-select: none;
}

#desktop {
  width: 100vw;
  height: 100vh;
  position: relative;
}

.icon {
  position: absolute;
  width: 75px;
  text-align: center;
  color: white;
  cursor: default;
}
.icon div { font-size: 32px; }
.icon span { display:block; margin-top:4px; }

.window {
  position: absolute;
  width: 420px;
  height: 320px;
  background: #C0C0C0;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  box-shadow: 1px 1px 0 #000;
  display: flex;
  flex-direction: column;
}

.title-bar {
  padding: 2px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: move;
  color: white;
}

.window.active .title-bar {
  background: linear-gradient(to right, navy, #1084d0);
}

.window.inactive .title-bar {
  background: linear-gradient(to right, #808080, #a0a0a0);
}

.title-buttons { display:flex; }

.win-btn {
  width: 16px;
  height: 14px;
  margin-left: 2px;
  background: #C0C0C0;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  font-size: 10px;
  text-align: center;
  line-height: 10px;
  cursor: pointer;
}

.content {
  flex: 1;
  background: white;
  padding: 8px;
  overflow: auto;
}

.resize-handle { position:absolute; }
.br{right:-8px;bottom:-8px;width:16px;height:16px;cursor:nwse-resize;}
.bl{left:-8px;bottom:-8px;width:16px;height:16px;cursor:nesw-resize;}
.tr{right:-8px;top:-8px;width:16px;height:16px;cursor:nesw-resize;}
.tl{left:-8px;top:-8px;width:16px;height:16px;cursor:nwse-resize;}
.r{right:-8px;top:0;width:16px;height:100%;cursor:ew-resize;}
.l{left:-8px;top:0;width:16px;height:100%;cursor:ew-resize;}
.t{top:-8px;left:0;width:100%;height:16px;cursor:ns-resize;}
.b{bottom:-8px;left:0;width:100%;height:16px;cursor:ns-resize;}

.taskbar {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 38px;
  background: #C0C0C0;
  border-top: 2px solid #fff;
  display: flex;
  align-items: center;
}

.start-btn {
  padding: 4px 10px;
  background: #C0C0C0;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  cursor: pointer;
}

.task-buttons {
  display: flex;
  margin-left: 4px;
}

.task-btn {
  padding: 4px 8px;
  background: #C0C0C0;
  border: 2px solid;
  border-color: #808080 #fff #fff #808080;
  cursor: pointer;
}

.task-btn.active {
  border-color: #fff #808080 #808080 #fff;
}

.start-menu {
  position: absolute;
  bottom: 38px;
  left: 0;
  width: 200px;
  background: #C0C0C0;
  border: 2px solid;
  border-color: #fff #808080 #808080 #fff;
  display: none;
  flex-direction: column;
}

.start-item {
  padding: 6px;
  cursor: pointer;
}
.start-item:hover {
  background: navy;
  color: white;
}
