:root {
  --ink: #253b43;
  --paper: #f5f3e8;
  --cream: #eeeddf;
  --sage: #dce1cf;
  --orange: #e77f51;
  --line: #9baba0;
  --mono: "IBM Plex Mono", monospace;
  --sans: "DM Sans", sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sage);
  font-size: 13px;
}
button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #d36a40;
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
}
svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
button:disabled {
  opacity: 0.35;
  cursor: default;
}
[hidden] {
  display: none !important;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.7px;
}
.system-bar {
  position: fixed;
  z-index: 400;
  left: 104px;
  right: 0;
  top: 0;
  height: 48px;
  border-bottom: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  background: var(--paper);
}
.system-brand {
  font-weight: 750;
  letter-spacing: 2px;
  font-size: 15px;
  white-space: nowrap;
}
.system-brand > span {
  font-weight: 450;
  letter-spacing: 0;
}
.system-brand .release {
  font-family: var(--mono);
  margin-left: 22px;
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #78827b;
}
.system-right {
  display: flex;
  align-items: center;
  gap: 23px;
  font-family: var(--mono);
  font-size: 10px;
}
.sound-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.7px;
  padding: 8px 0;
}
.sound-toggle svg {
  width: 15px;
  height: 15px;
}
.sound-toggle.active {
  color: #ae592f;
}
.system-date {
  font-size: 9px;
  color: #67766d;
}
#clock {
  font-size: 11px;
  font-weight: 500;
}
.system-info {
  border: 1px solid #809187;
  border-radius: 50%;
  font-size: 10px;
  width: 17px;
  height: 17px;
  line-height: 14px;
  padding: 0;
}
.app-rail {
  position: fixed;
  inset: 0 auto 0 0;
  width: 104px;
  background: var(--paper);
  border-right: 1px solid var(--ink);
  z-index: 410;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.rail-mark {
  position: relative;
  margin-top: 26px;
  height: 62px;
  width: 62px;
}
.rail-mark svg {
  width: 47px;
  height: 47px;
}
.rail-mark span {
  font-family: var(--serif);
  font-size: 25px;
  position: absolute;
  bottom: -10px;
  right: 1px;
  background: var(--paper);
  padding-left: 3px;
}
.rail-caption {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 1.4px;
  margin: 38px 0 22px;
  color: #7f8980;
}
#app-icons {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.app-shortcut {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 8px;
  position: relative;
  font-size: 10px;
  font-weight: 550;
  width: 86px;
}
.app-shortcut .app-icon {
  width: 49px;
  height: 49px;
  border: 1px solid #75897f;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 0 #253b4310;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.app-shortcut:hover .app-icon {
  transform: translateY(-3px);
  box-shadow: 0 4px 0 #253b4320;
}
.app-shortcut svg {
  width: 31px;
  height: 31px;
}
.app-shortcut.running:after {
  content: "";
  position: absolute;
  right: 8px;
  top: 24px;
  width: 4px;
  height: 4px;
  background: var(--ink);
  border-radius: 50%;
}
.app-icon.paint {
  background: #f0c7a6;
}
.app-icon.mine {
  background: #d2d9be;
}
.app-icon.note {
  background: #f1df9a;
}
.app-icon.browser {
  background: #b9d2d1;
}
.app-icon.synth {
  background: #c9c2d8;
}
.launcher-button {
  margin-top: auto;
  padding: 23px 0 20px;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 9px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.7px;
  width: 100%;
}
.launcher-button svg {
  width: 23px;
  height: 23px;
}
.launcher-button:hover {
  background: #dfe4d3;
}
.rail-version {
  border-top: 1px solid #ccd1c1;
  text-align: center;
  padding: 17px 0 20px;
  width: 70px;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.8;
  letter-spacing: 0.5px;
  color: #839087;
}
.workspace {
  position: fixed;
  left: 104px;
  top: 48px;
  right: 0;
  bottom: 43px;
  overflow: hidden;
  background-image: radial-gradient(#6f877635 0.7px, transparent 0.7px);
  background-size: 8px 8px;
}
.workspace-heading {
  position: absolute;
  left: 49px;
  top: 27px;
  right: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.workspace-heading .eyebrow {
  font-size: 8px;
  letter-spacing: 1.6px;
  margin: 0 0 10px;
}
.workspace-heading .eyebrow span {
  margin: 0 8px;
  color: #74846c;
}
.workspace-heading h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 37px;
  margin: 0;
  letter-spacing: -0.5px;
}
.workspace-tip {
  font-family: var(--mono);
  font-size: 8px;
  line-height: 1.9;
  letter-spacing: 1.1px;
  color: #718474;
  text-align: right;
  margin-top: 7px;
}
.wallpaper-art {
  position: absolute;
  width: 440px;
  height: 440px;
  right: -93px;
  top: 39px;
  color: #8d9e7838;
  transform: rotate(-16deg);
}
.wallpaper-art svg {
  width: 100%;
  height: 100%;
}
.desktop-stamp {
  position: absolute;
  right: 43px;
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #7d8e79;
}
.desktop-stamp svg {
  width: 25px;
  height: 25px;
}
.desktop-stamp span {
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.8;
  letter-spacing: 1.3px;
}
.taskbar {
  position: fixed;
  left: 104px;
  bottom: 0;
  right: 0;
  height: 43px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--ink);
  background: var(--paper);
  z-index: 400;
}
.workspace-indicator {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.8px;
  padding: 0 20px;
  border-right: 1px solid #b6bfb0;
}
.workspace-indicator > span {
  width: 8px;
  height: 8px;
  background: var(--ink);
}
.task-list {
  display: flex;
  gap: 4px;
  align-items: center;
  padding-left: 8px;
  overflow: auto;
  scrollbar-width: none;
}
.task-button {
  height: 29px;
  font-family: var(--mono);
  font-size: 9px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  border: 1px solid transparent;
}
.task-button svg {
  width: 15px;
  height: 15px;
}
.task-button.selected {
  background: #e0e6d6;
  border-color: #9ca997;
}
.task-button.minimized {
  color: #819084;
}
.system-status {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 1px;
  white-space: nowrap;
}
.status-dot {
  width: 5px;
  height: 5px;
  background: #66855b;
  border-radius: 50%;
}
.memory {
  color: #8f998c;
  margin-left: 25px;
  font-size: 6px;
}
.window {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 5px 6px 0 #243d3b28;
  min-width: 270px;
  min-height: 180px;
  animation: window-in 0.22s ease-out;
  overflow: hidden;
  border-radius: 5px 5px 1px 1px;
}
.window.focused {
  box-shadow: 6px 7px 0 #243d3b31;
}
.window-header {
  height: 38px;
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 9px;
  background: #e7e9db;
  border-bottom: 1px solid var(--ink);
  cursor: grab;
  touch-action: none;
  user-select: none;
}
.window.focused .window-header {
  background: var(--ink);
  color: var(--paper);
}
.window-header:active {
  cursor: grabbing;
}
.window-header > svg {
  width: 17px;
  height: 17px;
}
.window-title {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 500;
}
.window-version {
  font-family: var(--mono);
  font-size: 8px;
  opacity: 0.55;
  margin-left: 2px;
}
.window-grip {
  flex: 1;
  height: 10px;
  background: repeating-linear-gradient(
    0deg,
    currentColor 0,
    currentColor 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.16;
  margin: 0 8px 0 15px;
}
.window-controls {
  display: flex;
  gap: 5px;
}
.window-controls button {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid currentColor;
  opacity: 0.75;
  display: grid;
  place-content: center;
  font-size: 16px;
  font-family: var(--mono);
  line-height: 1;
}
.window-controls button:hover {
  opacity: 1;
  background: #ffffff25;
}
.window-controls .minimize:before {
  content: "";
  width: 8px;
  height: 1px;
  background: currentColor;
  margin-top: 6px;
}
.window-controls .maximize:before {
  content: "";
  width: 8px;
  height: 7px;
  border: 1px solid currentColor;
}
.window-body {
  flex: 1;
  min-height: 0;
  position: relative;
  overflow: auto;
}
.resize-handle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 16px;
  height: 16px;
  cursor: nwse-resize;
  z-index: 4;
  touch-action: none;
  background: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 3px,
    #708179 3px,
    #708179 4px
  );
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.window.maximized .resize-handle {
  display: none;
}
.window-footer {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 13px;
  border-top: 1px solid #aeb7a7;
  min-height: 28px;
  background: var(--paper);
}
.tool-button {
  border: 1px solid #a1aea0;
  background: #f8f7ed;
  padding: 6px 10px;
  font-family: var(--mono);
  font-size: 9px;
  white-space: nowrap;
}
.tool-button:hover {
  background: #dce2d0;
}
.tool-button.active {
  background: var(--ink);
  color: var(--paper);
}
.window-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #eef0e4;
  border-bottom: 1px solid #b6c0af;
  flex-shrink: 0;
}
.toolbar-divider {
  height: 20px;
  width: 1px;
  background: #bdc5b5;
  margin: 0 3px;
}
.browser-app {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.browser-toolbar {
  padding: 9px 12px;
  gap: 6px;
}
.nav-button {
  font-size: 17px;
  width: 25px;
  height: 25px;
  padding: 0;
}
.address-wrap {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  background: #fcfbf3;
  border: 1px solid #a5b2a1;
  height: 29px;
  padding: 0 8px;
  gap: 7px;
}
.address-wrap svg {
  width: 12px;
  height: 12px;
  color: #678776;
}
.address-wrap input {
  border: 0;
  background: none;
  min-width: 0;
  flex: 1;
  font-family: var(--mono);
  font-size: 10px;
  outline: none;
}
.go-button {
  font-size: 15px;
  padding: 0 3px;
}
.browser-bookmarks {
  display: flex;
  gap: 21px;
  padding: 8px 17px;
  border-bottom: 1px solid #a9b4a2;
  background: #e5e9dc;
}
.browser-bookmarks button {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0;
}
.bookmark-dot {
  width: 5px;
  height: 5px;
  background: #929f8b;
}
.browser-bookmarks button.active .bookmark-dot {
  background: #d27345;
}
.browser-bookmarks button.active {
  font-weight: 600;
}
.web-view {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: #f4f1e4;
}
.web-page {
  min-height: 100%;
}
.signal-page {
  padding: 22px 27px 16px;
}
.web-masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #253b43;
  padding-bottom: 13px;
}
.signal-name {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1;
}
.signal-name span {
  font-style: italic;
}
.web-issue {
  font-family: var(--mono);
  font-size: 7px;
  line-height: 1.8;
  text-align: right;
  letter-spacing: 1px;
}
.signal-kicker {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 1.7px;
  margin: 17px 0 14px;
}
.signal-hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 20px;
}
.signal-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 46px;
  line-height: 1.02;
  margin: 0 0 14px;
  letter-spacing: -0.8px;
}
.signal-copy h2 em {
  color: #bd603d;
  font-weight: 400;
}
.signal-copy > p {
  font-size: 10px;
  line-height: 1.7;
  max-width: 260px;
  margin: 0 0 18px;
  color: #596a63;
}
.web-link {
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.1px;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.web-link:hover {
  color: #bb5d37;
}
.signal-illustration {
  height: 218px;
  position: relative;
  border: 1px solid #546957;
  background: #d8dfc9;
  overflow: hidden;
}
.signal-illustration svg {
  width: 100%;
  height: 100%;
}
.art-label {
  position: absolute;
  bottom: 9px;
  left: 11px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 1px;
  z-index: 2;
}
.signal-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #b6baa8;
  margin-top: 19px;
  padding-top: 11px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.4px;
}
.signal-bottom button {
  font-family: var(--mono);
  font-size: 7px;
}
.connected {
  display: flex;
  gap: 6px;
  align-items: center;
}
.connected:before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #628763;
}
.browser-footer {
  font-size: 6.5px;
}
.note-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f8f1d7;
}
.note-toolbar {
  background: #f1eacb;
  padding: 6px 12px;
  gap: 15px;
  min-height: 31px;
}
.note-toolbar button {
  font-size: 9px;
  padding: 1px 0;
}
.note-toolbar .note-name {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 8px;
  color: #7d846d;
}
.note-editor {
  border: 0;
  outline: none;
  resize: none;
  background: repeating-linear-gradient(
    transparent 0,
    transparent 26px,
    #d9d6b8 26px,
    #d9d6b8 27px
  );
  background-attachment: local;
  font-size: 12px;
  line-height: 27px;
  font-family: var(--mono);
  padding: 11px 19px;
  flex: 1;
  width: 100%;
  min-height: 0;
  color: #4f5947;
}
.note-footer {
  background: #f1eacb;
  color: #768167;
  min-height: 26px;
  padding: 5px 12px;
}
.note-save-indicator {
  color: #4f7052;
}
.synth-app {
  height: 100%;
  background: #eceae1;
  display: flex;
  flex-direction: column;
}
.synth-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 18px 20px 12px;
}
.synth-name {
  font-family: var(--serif);
  font-size: 31px;
  line-height: 1;
}
.synth-top p {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 1px;
  margin: 6px 0 0;
  color: #7a8177;
}
.synth-badge {
  font-family: var(--mono);
  font-size: 7px;
  border: 1px solid #a7aa9b;
  padding: 5px 7px;
  color: #7b8277;
}
.oscilloscope {
  height: 105px;
  min-height: 82px;
  margin: 0 19px;
  background: #283c38;
  border: 4px solid #bec4b3;
  position: relative;
  box-shadow: inset 0 0 15px #102f31;
}
.oscilloscope canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.scope-label {
  position: absolute;
  left: 9px;
  top: 7px;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 1px;
  color: #bbcda5;
}
.scope-live {
  position: absolute;
  right: 8px;
  top: 7px;
  font-family: var(--mono);
  font-size: 6px;
  color: #ddbb75;
}
.synth-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 19px 11px;
  gap: 10px;
}
.synth-setting {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.synth-setting > label {
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 1px;
  color: #768377;
}
.wave-buttons {
  display: flex;
  gap: 3px;
}
.wave-buttons button {
  border: 1px solid #a8b09e;
  width: 31px;
  height: 24px;
  padding: 0;
  font-size: 16px;
  background: #f8f4e7;
}
.wave-buttons button.active {
  background: #d0d9bc;
  border-color: #687d68;
}
.synth-setting input {
  width: 91px;
  accent-color: #61755a;
  height: 14px;
}
.synth-setting output {
  font-family: var(--mono);
  font-size: 8px;
}
.keyboard {
  display: flex;
  height: 87px;
  min-height: 65px;
  padding: 0 19px;
  gap: 3px;
}
.piano-key {
  border: 1px solid #9ba795;
  background: #faf8ed;
  flex: 1;
  position: relative;
  box-shadow: 0 3px 0 #b2bba4;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 0 8px;
  font-family: var(--mono);
  font-size: 7px;
  touch-action: none;
  user-select: none;
}
.piano-key:after {
  content: attr(data-note);
  position: absolute;
  left: 0;
  right: 0;
  top: 11px;
  text-align: center;
  font-family: var(--mono);
  font-size: 8px;
  color: #89947e;
}
.piano-key.active {
  background: #e9b677;
  transform: translateY(2px);
  box-shadow: 0 1px 0 #b2bba4;
}
.piano-key:nth-child(2):before,
.piano-key:nth-child(3):before,
.piano-key:nth-child(5):before,
.piano-key:nth-child(6):before,
.piano-key:nth-child(7):before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0;
  width: 12px;
  height: 33px;
  background: #34463d;
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 2px 0 #1b3227;
}
.sequencer {
  padding: 16px 19px 12px;
}
.sequencer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.7px;
  margin-bottom: 9px;
}
.sequence-play {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 7px;
  padding: 0;
}
.sequence-play span {
  font-size: 10px;
}
.steps {
  display: flex;
  gap: 5px;
}
.steps button {
  flex: 1;
  height: 21px;
  background: #d5d8ca;
  border: 1px solid #a8b39c;
  padding: 0;
  position: relative;
}
.steps button.enabled {
  background: #b3bfa2;
}
.steps button.enabled:after {
  content: "";
  width: 4px;
  height: 4px;
  background: #536c52;
  position: absolute;
  left: calc(50% - 2px);
  top: 7px;
}
.steps button.current {
  background: #e69b65;
  border-color: #ac653c;
}
.synth-footer {
  font-size: 6px;
  margin-top: auto;
  padding: 7px 19px;
  min-height: 26px;
}
.paint-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #d3d8c9;
}
.paint-toolbar {
  flex-wrap: wrap;
  gap: 6px;
}
.paint-toolbar label {
  font-family: var(--mono);
  font-size: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}
.paint-toolbar input[type="range"] {
  width: 62px;
  accent-color: var(--ink);
}
.paint-colors {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  padding: 8px 13px;
  background: #e9eddf;
  border-bottom: 1px solid #a8b6a2;
}
.color-swatch {
  width: 22px;
  height: 22px;
  border: 1px solid #455e5060;
  border-radius: 50%;
  padding: 0;
}
.color-swatch.active {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.paint-color-custom {
  width: 26px;
  height: 25px;
  border: 0;
  padding: 0;
  background: none;
  margin-left: 5px;
}
.paint-paper-wrap {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image:
    linear-gradient(45deg, #c2cbb940 25%, transparent 25%),
    linear-gradient(-45deg, #c2cbb940 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #c2cbb940 75%),
    linear-gradient(-45deg, transparent 75%, #c2cbb940 75%);
  background-size: 10px 10px;
  background-position:
    0 0,
    0 5px,
    5px -5px,
    -5px 0;
}
.paint-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: white;
  box-shadow: 3px 3px 0 #52675230;
  touch-action: none;
  cursor: crosshair;
}
.paint-hint {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 7px;
  color: #72816c;
}
.mine-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #e7e9d8;
}
.mine-top {
  padding: 19px 22px 13px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mine-title {
  font-family: var(--serif);
  font-size: 32px;
}
.mine-top p {
  font-family: var(--mono);
  font-size: 7px;
  margin: 4px 0 0;
  letter-spacing: 0.5px;
}
.mine-score {
  font-family: var(--mono);
  text-align: right;
  font-size: 22px;
  color: #ad593a;
}
.mine-score small {
  display: block;
  font-size: 6px;
  letter-spacing: 1px;
  margin-top: 3px;
  color: #76846c;
}
.mine-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 22px 12px;
}
.mine-controls label {
  font-family: var(--mono);
  font-size: 8px;
}
.mine-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 3px;
  padding: 9px;
  background: #c2ccb2;
  border: 1px solid #8c9e83;
  width: min(calc(100% - 44px), 360px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.mine-cell {
  min-width: 0;
  aspect-ratio: 1;
  border: 1px solid #95a58a;
  background: #eceddc;
  box-shadow: 1px 2px 0 #9daa8d;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  touch-action: manipulation;
}
.mine-cell:hover {
  background: #f8f6e7;
}
.mine-cell.revealed {
  background: #ccd5bd;
  border-color: #bbc6ab;
  box-shadow: none;
}
.mine-cell[data-count="1"] {
  color: #426f83;
}
.mine-cell[data-count="2"] {
  color: #637542;
}
.mine-cell[data-count="3"] {
  color: #b66440;
}
.mine-cell.exploded {
  background: #dd9871;
}
.mine-status {
  font-family: var(--mono);
  font-size: 9px;
  text-align: center;
  margin: auto 0;
  padding: 12px;
  color: #65745a;
}
.mine-footer {
  font-size: 6px;
}
.moss-page {
  background: #d8ddc7;
  color: #314f3c;
  padding: 24px 28px;
}
.moss-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid #708767;
}
.moss-header strong {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
}
.moss-header span {
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 1px;
}
.moss-hero {
  display: flex;
  align-items: center;
  gap: 25px;
  padding: 25px 0 14px;
}
.moss-hero h2 {
  font-family: var(--serif);
  font-size: 43px;
  font-weight: 400;
  margin: 0 0 15px;
  line-height: 1;
}
.moss-hero p {
  font-size: 10px;
  line-height: 1.7;
}
.moss-plant {
  width: 135px;
  height: 185px;
  flex-shrink: 0;
}
.moss-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 15px;
}
.moss-tags button {
  font-family: var(--mono);
  font-size: 8px;
  border: 1px solid #859777;
  padding: 6px 9px;
}
.moss-tags button.active {
  background: #365542;
  color: #ecf0d8;
}
.moss-result {
  font-family: var(--mono);
  font-size: 9px;
  border-top: 1px solid #8c9e7a;
  padding-top: 13px;
  line-height: 1.8;
}
.orbital-page {
  background: #263d45;
  color: #ece9d9;
  padding: 25px 27px;
}
.orbital-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #6f8585;
  padding-bottom: 14px;
}
.orbital-head strong {
  font-size: 17px;
  letter-spacing: 2px;
}
.orbital-head button {
  font-family: var(--mono);
  font-size: 8px;
}
.orbital-page h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1;
  margin: 22px 0 8px;
}
.orbital-sub {
  font-family: var(--mono);
  font-size: 7px;
  color: #a3bab6;
  letter-spacing: 1px;
}
.orbital-products {
  display: flex;
  gap: 12px;
  margin-top: 21px;
}
.orbital-product {
  flex: 1;
  border: 1px solid #637c7e;
  padding: 13px;
  min-width: 0;
}
.orbital-product svg {
  width: 100%;
  height: 64px;
  color: #e7b185;
  margin-bottom: 12px;
}
.orbital-product h3 {
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  margin: 0 0 5px;
}
.orbital-product p {
  font-size: 8px;
  color: #abbbb4;
  margin: 0 0 12px;
}
.orbital-product button {
  color: #f5be91;
  font-family: var(--mono);
  font-size: 7px;
  padding: 0;
  border-bottom: 1px solid #bca182;
  padding-bottom: 4px;
}
.article-page {
  padding: 28px 35px;
  background: #f5f1e4;
  max-width: 750px;
  margin: auto;
}
.article-page > .web-link {
  margin-bottom: 20px;
}
.article-page h2 {
  font-family: var(--serif);
  font-size: 43px;
  line-height: 1.1;
  font-weight: 400;
  margin: 10px 0 17px;
}
.article-page p {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
}
.article-page .eyebrow {
  font-size: 8px;
}
.launcher {
  position: fixed;
  z-index: 600;
  left: 118px;
  bottom: 57px;
  width: 360px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 7px 7px 0 #243d3b40;
  padding: 20px 23px;
  animation: window-in 0.16s ease-out;
}
.launcher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.launcher-header button {
  font-size: 23px;
  padding: 0;
}
.launcher h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  margin: 9px 0 19px;
}
.launcher-app {
  display: flex;
  width: 100%;
  align-items: center;
  text-align: left;
  padding: 12px 0;
  border-top: 1px solid #c0cabb;
  gap: 13px;
}
.launcher-app:hover {
  background: #e3e9d9;
}
.launcher-app svg {
  width: 25px;
  height: 25px;
}
.launcher-app strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
.launcher-app small {
  display: block;
  color: #7a8878;
  font-size: 9px;
  margin-top: 4px;
}
.launcher-app > span:last-child {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 9px;
}
.launcher-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 6px;
  border-top: 1px solid #c0cabb;
  padding-top: 18px;
  margin-top: 8px;
  letter-spacing: 0.5px;
}
.launcher-footer button {
  font-size: 7px;
  padding: 0;
}
.toast {
  position: fixed;
  left: 50%;
  transform: translate(-50%, 12px);
  bottom: 61px;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  padding: 13px 22px;
  box-shadow: 3px 4px 0 #253b4320;
  font-family: var(--mono);
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: calc(100% - 24px);
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 39px;
  width: 470px;
  max-width: calc(100% - 34px);
  box-shadow: 9px 9px 0 #1c363e40;
}
dialog::backdrop {
  background: #243d3b66;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 25px;
}
.about-logo {
  width: 47px;
  height: 47px;
  margin-bottom: 25px;
}
dialog h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.08;
  margin: 15px 0 22px;
}
dialog p {
  font-size: 12px;
  line-height: 1.8;
  color: #627263;
}
.about-footer {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 6px;
  letter-spacing: 0.4px;
  border-top: 1px solid #bec6b5;
  padding-top: 18px;
  margin-top: 25px;
}
.boot {
  position: fixed;
  inset: 0;
  background: #263e42;
  color: #ebeadd;
  z-index: 2000;
  display: grid;
  place-items: center;
  transition:
    opacity 0.45s,
    visibility 0.45s;
}
.boot.done {
  opacity: 0;
  visibility: hidden;
}
.boot-center {
  text-align: center;
  width: min(370px, 80vw);
}
.boot-center > svg {
  width: 67px;
  height: 67px;
  color: #e5a875;
  margin-bottom: 25px;
  animation: boot-spin 1.8s ease-in-out;
}
.boot-word {
  font-weight: 550;
  letter-spacing: 10px;
  font-size: 43px;
}
.boot-word span {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: 0;
  margin-left: 10px;
  color: #a7baab;
}
.boot-center p {
  font-family: var(--serif);
  font-size: 25px;
  font-style: italic;
  color: #b9c8b3;
  margin: 18px 0 36px;
}
.boot-progress {
  height: 3px;
  width: 100%;
  background: #57716b;
}
.boot-progress i {
  display: block;
  height: 100%;
  background: #e5a875;
  animation: boot-progress 1.35s ease-in-out forwards;
}
.boot-log {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-top: 15px;
  color: #a3b9ac;
}
.boot-center button {
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 1px;
  color: #d6d9c4;
  border: 1px solid #6b8378;
  padding: 10px 17px;
  margin-top: 35px;
}
.boot-bottom {
  position: absolute;
  bottom: 35px;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 1.5px;
}
.reduced-motion * {
  animation: none !important;
}
@keyframes boot-progress {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes boot-spin {
  from {
    transform: rotate(-90deg);
  }
  to {
    transform: rotate(0);
  }
}
@keyframes window-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1600px) {
  .workspace-heading {
    left: 65px;
  }
  .window {
    box-shadow: 7px 8px 0 #243d3b28;
  }
}
@media (max-width: 1200px) {
  .system-brand .release {
    display: none;
  }
  .memory {
    display: none;
  }
  .workspace-tip {
    display: none;
  }
  .system-status {
    padding: 0 13px;
    font-size: 6px;
  }
  .signal-copy h2 {
    font-size: 40px;
  }
  .signal-hero {
    gap: 15px;
  }
  .signal-page {
    padding: 20px;
  }
  .signal-illustration {
    height: 205px;
  }
  .task-button {
    padding: 0 8px;
  }
}
@media (max-width: 760px) {
  .app-rail {
    inset: auto 0 0;
    width: 100%;
    height: 82px;
    border-right: 0;
    border-top: 1px solid var(--ink);
    flex-direction: row;
    padding: 7px 7px 11px;
  }
  .rail-mark,
  .rail-caption,
  .launcher-button,
  .rail-version {
    display: none;
  }
  #app-icons {
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
    gap: 0;
  }
  .app-shortcut {
    width: 65px;
    font-size: 9px;
    gap: 5px;
  }
  .app-shortcut .app-icon {
    width: 41px;
    height: 41px;
    border-radius: 9px;
  }
  .app-shortcut svg {
    width: 27px;
    height: 27px;
  }
  .app-shortcut.running:after {
    right: 6px;
    top: 20px;
    width: 3px;
    height: 3px;
  }
  .system-bar {
    left: 0;
    height: 44px;
    padding: 0 14px;
  }
  .system-brand {
    font-size: 12px;
    letter-spacing: 1.3px;
  }
  .system-right {
    gap: 15px;
  }
  .system-date {
    display: none;
  }
  .sound-toggle {
    font-size: 0;
    gap: 0;
  }
  .sound-toggle svg {
    width: 17px;
    height: 17px;
  }
  .system-info {
    width: 19px;
    height: 19px;
  }
  .workspace {
    left: 0;
    top: 44px;
    bottom: 117px;
  }
  .workspace-heading {
    left: 20px;
    top: 19px;
    right: 20px;
  }
  .workspace-heading .eyebrow {
    font-size: 6px;
    margin-bottom: 7px;
    letter-spacing: 1.2px;
  }
  .workspace-heading h1 {
    font-size: 30px;
  }
  .wallpaper-art {
    width: 340px;
    height: 340px;
    right: -157px;
    top: -82px;
  }
  .desktop-stamp {
    display: none;
  }
  .taskbar {
    left: 0;
    bottom: 82px;
    height: 35px;
  }
  .workspace-indicator {
    font-size: 6px;
    padding: 0 10px;
    gap: 5px;
  }
  .workspace-indicator > span {
    height: 6px;
    width: 6px;
  }
  .task-list {
    gap: 0;
    padding-left: 4px;
  }
  .task-button {
    height: 25px;
    font-size: 7px;
    padding: 0 8px;
    gap: 4px;
  }
  .task-button svg {
    width: 13px;
    height: 13px;
  }
  .system-status {
    display: none;
  }
  .window {
    box-shadow: 3px 4px 0 #243d3b28;
    min-width: 250px;
  }
  .window-header {
    height: 36px;
    min-height: 36px;
    padding: 0 8px;
    gap: 6px;
  }
  .window-title {
    font-size: 9px;
  }
  .window-version {
    font-size: 7px;
  }
  .window-grip {
    margin: 0 3px 0 8px;
  }
  .window-controls {
    gap: 5px;
  }
  .window-controls button {
    width: 24px;
    height: 24px;
  }
  .browser-toolbar {
    padding: 8px 7px;
    gap: 2px;
  }
  .nav-button {
    width: 23px;
    font-size: 17px;
  }
  .address-wrap {
    padding: 0 5px;
    gap: 4px;
  }
  .address-wrap input {
    font-size: 8px;
  }
  .browser-bookmarks {
    gap: 0;
    justify-content: space-between;
    padding: 8px 10px;
  }
  .browser-bookmarks button {
    font-size: 6.3px;
    gap: 4px;
  }
  .signal-page {
    padding: 20px 18px 14px;
  }
  .signal-name {
    font-size: 28px;
  }
  .web-issue {
    font-size: 5.5px;
    letter-spacing: 0.5px;
  }
  .signal-kicker {
    font-size: 6px;
    letter-spacing: 1px;
    margin: 14px 0;
  }
  .signal-hero {
    grid-template-columns: 1.08fr 1fr;
    gap: 13px;
  }
  .signal-copy h2 {
    font-size: 35px;
    margin-bottom: 11px;
  }
  .signal-copy > p {
    font-size: 9px;
    line-height: 1.6;
    margin-bottom: 13px;
  }
  .signal-illustration {
    height: 222px;
    margin-top: 3px;
  }
  .signal-illustration svg {
    width: 190%;
    max-width: none;
    margin-left: -38%;
  }
  .web-link {
    font-size: 6.3px;
    gap: 5px;
    line-height: 1.6;
  }
  .signal-bottom {
    font-size: 5.5px;
    letter-spacing: 0;
    gap: 6px;
    line-height: 1.5;
    margin-top: 19px;
  }
  .signal-bottom button {
    font-size: 6px;
    white-space: nowrap;
  }
  .browser-footer {
    font-size: 5px;
    padding: 9px;
  }
  .art-label {
    font-size: 5px;
    left: 8px;
  }
  .launcher {
    left: 12px;
    right: 12px;
    width: auto;
    bottom: 128px;
    padding: 18px 22px;
  }
  .toast {
    bottom: 130px;
    font-size: 9px;
    text-align: center;
    width: max-content;
    line-height: 1.6;
  }
  .note-editor {
    font-size: 11px;
  }
  .paint-toolbar {
    gap: 4px;
    padding: 8px;
  }
  .paint-toolbar .tool-button {
    font-size: 8px;
    padding: 6px;
  }
  .paint-toolbar label {
    font-size: 7px;
  }
  .paint-toolbar input[type="range"] {
    width: 48px;
  }
  .paint-hint {
    display: none;
  }
  .paint-paper-wrap {
    padding: 12px;
  }
  .mine-grid {
    width: min(calc(100% - 36px), 335px);
    gap: 3px;
  }
  .mine-top {
    padding: 16px 19px 12px;
  }
  .mine-controls {
    margin: 0 19px 12px;
  }
  .mine-status {
    font-size: 8px;
  }
  .moss-page,
  .orbital-page {
    padding: 21px 18px;
  }
  .moss-header strong {
    font-size: 28px;
  }
  .moss-header span {
    font-size: 6px;
  }
  .moss-hero {
    gap: 13px;
    padding-top: 22px;
  }
  .moss-hero h2 {
    font-size: 36px;
  }
  .moss-plant {
    width: 100px;
    height: 170px;
  }
  .orbital-page h2 {
    font-size: 36px;
  }
  .orbital-products {
    gap: 7px;
  }
  .orbital-product {
    padding: 9px;
  }
  .orbital-product h3 {
    font-size: 7px;
  }
  .orbital-product p {
    font-size: 7px;
    line-height: 1.5;
    min-height: 21px;
  }
  .orbital-product button {
    font-size: 6px;
  }
  .orbital-head strong {
    font-size: 14px;
  }
  .orbital-head button {
    font-size: 7px;
  }
  .article-page {
    padding: 22px;
  }
  .article-page h2 {
    font-size: 36px;
  }
  .article-page p {
    font-size: 20px;
  }
  .boot-word {
    font-size: 36px;
    letter-spacing: 8px;
  }
  .boot-bottom {
    font-size: 5.5px;
    letter-spacing: 1px;
  }
  .synth-top {
    padding-top: 20px;
  }
  .oscilloscope {
    height: 130px;
  }
  .keyboard {
    height: 104px;
  }
  .sequencer {
    padding-top: 22px;
  }
  .synth-settings {
    padding-top: 18px;
    padding-bottom: 17px;
  }
  .steps button {
    height: 26px;
  }
  .steps button.enabled:after {
    top: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Keep the desktop beneath the system chrome at every stacking depth. */
.workspace {
  z-index: 1;
}
.system-brand {
  padding: 0;
  text-align: left;
}
.window-header:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: -3px;
}

.paint-canvas {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  flex-shrink: 0;
}
.paint-app .window-footer {
  gap: 12px;
}
.paint-app .window-footer > span:last-child {
  text-align: right;
}
@media (max-width: 760px) {
  .paint-app .window-footer {
    font-size: 6px;
    line-height: 1.6;
  }
  .paint-app .window-footer > span:last-child {
    max-width: 46%;
  }
}

.keyboard {
  position: relative;
}
.piano-key:before {
  display: none;
}
.piano-black-key {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 14px;
  height: 36px;
  background: #34463d;
  border: 1px solid #273d34;
  box-shadow: 0 2px 0 #1b3227;
  color: #c6d1b5;
  font-family: var(--mono);
  font-size: 5px;
  padding: 0 0 4px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  touch-action: none;
  user-select: none;
}
.piano-black-key.active {
  background: #ab794f;
  transform: translateY(1px);
  box-shadow: 0 1px 0 #273d34;
}
.about-shortcuts {
  border-top: 1px solid #c4cbba;
  padding-top: 15px;
  display: grid;
  gap: 8px;
  margin-top: 20px;
  font-size: 9px;
}
.about-shortcuts span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.about-shortcuts kbd {
  display: inline-block;
  min-width: 105px;
  font-family: var(--mono);
  font-size: 8px;
  color: #617763;
}
@media (max-width: 760px) {
  .piano-black-key {
    height: 42px;
  }
}
