* { box-sizing: border-box; }
body {
  font-family: "Noto Sans", system-ui, sans-serif;
  height: 100vh; margin: 0; overflow: hidden;
  background: url(pexels-codioful-7135053.jpg) center / cover no-repeat #334;
}
.hidden { display: none !important; }
 
#top {
  position: absolute; top: 0; width: 100%; display: flex; justify-content: space-between;
  align-items: center; padding: 0 16px; gap: 32px; color: #fff; z-index: 9999;
  backdrop-filter: blur(10px); background: rgba(0,0,0,.125);
}
.pill { background: rgba(255,255,255,.15); padding: 4px 12px; border-radius: 16px; margin: 8px 0; }
.bold { font-weight: 700; cursor: pointer; }
 
#desktopApps { padding: 64px 16px 0; display: flex; flex-direction: column; width: fit-content; }
.icon { text-align: center; padding: 8px; margin: 4px; cursor: pointer; width: 100px; filter: drop-shadow(0 0 8px black); user-select: none; }
.icon img { width: 64px; height: 64px; border-radius: 16px; object-fit: cover; }
.icon p { margin: 4px 0 0; color: #fff; }
 
.window {
  position: absolute; background: #e8e8ee; border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.4); padding-bottom: 6px;
}
.windowheader {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 12px; cursor: grab; user-select: none; touch-action: none;
}
.windowheader:active { cursor: grabbing; }
.headertext { margin: 0; font-weight: 600; }
.spacer { width: 16px; height: 16px; }
.closebutton { width: 16px; height: 16px; border-radius: 50%; background: #ff5f57; cursor: pointer; }
.closebutton:hover { background: #d93a33; }
.body { background: #fff; margin: 0 6px; border-radius: 12px; padding: 16px; }
 
.welcome-body { width: 380px; }
.welcome-body img { width: 64px; height: 64px; border-radius: 32px; object-fit: cover; }
.welcome-body h1 { margin: 4px 0; }
.welcome-body p { margin: 0; }
 
.notes-body { width: 560px; height: 420px; display: flex; gap: 12px; font-family: Courier, monospace; }
.notes-side { width: 180px; background: #f4f4f4; border-radius: 12px; padding: 8px; overflow-y: auto; }
.notes-side button { width: 100%; margin-bottom: 8px; cursor: pointer; }
#noteList { list-style: none; margin: 0; padding: 0; }
#noteList li { padding: 6px 8px; border-radius: 8px; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#noteList li.active { background: #d8e4ff; }
#noteText { flex: 1; resize: none; border: none; outline: none; font: inherit; }
 
.calc-body { width: 280px; }
#display { width: 100%; font-size: 28px; text-align: right; padding: 8px; border: 1px solid #ddd; border-radius: 8px; margin-bottom: 10px; }
.keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.keys button { font-size: 18px; padding: 12px 0; border: none; border-radius: 10px; background: #eee; cursor: pointer; }
.keys button:hover { background: #ddd; }
.keys button.op { background: #ffb347; }
.keys button.eq { background: #4a90e2; color: #fff; }
 
.shopping-body { width: 320px; min-height: 240px; }
.row { display: flex; gap: 6px; margin-bottom: 10px; }
.row input { flex: 1; padding: 6px 8px; }
#shoppinglist { list-style: none; margin: 0; padding: 0; }
#shoppinglist li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #eee; }
#shoppinglist li span { flex: 1; cursor: pointer; }
#shoppinglist li.done span { text-decoration: line-through; color: #999; }
#shoppinglist li button { border: none; background: none; cursor: pointer; font-size: 16px; }
 