.tool-station-dialog {
  width: min(760px, calc(100% - 28px));
  max-height: min(720px, calc(100dvh - 28px));
  padding: 0;
  overflow: visible;
  color: var(--ink);
  border: 0;
  background: transparent;
}

.tool-station-dialog::backdrop {
  background: rgba(10, 7, 12, .82);
  backdrop-filter: blur(5px);
}

.tool-station-window {
  position: relative;
  overflow: hidden;
  border: 4px solid #7b5967;
  background: #ead7aa;
  box-shadow:
    10px 10px 0 rgba(0, 0, 0, .62),
    inset 0 0 0 3px #c79c68;
}

.tool-station-window::before {
  content: "";
  position: absolute;
  inset: 54px 0 36px;
  pointer-events: none;
  opacity: .18;
  background-image:
    linear-gradient(rgba(68, 43, 49, .22) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 43, 49, .22) 1px, transparent 1px);
  background-size: 8px 8px;
}

.tool-station-head,
.tool-station-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #f4ddb0;
  background: #332738;
}

.tool-station-head {
  min-height: 56px;
  padding: 10px 14px 10px 18px;
  border-bottom: 4px solid #b77351;
}

.tool-station-head p,
.tool-station-head h2,
.tool-station-foot,
.tool-station-body h3,
.tool-station-body p {
  margin: 0;
}

.tool-station-head p {
  margin-bottom: 4px;
  color: #c69d77;
  font-size: 9px;
  letter-spacing: .12em;
}

.tool-station-head h2 {
  font-size: clamp(17px, 3vw, 23px);
  letter-spacing: .05em;
}

.tool-station-close,
.tool-station-back,
.tool-card,
.tool-action,
.tool-preset {
  border: 3px solid #745363;
  color: #f4ddb0;
  background: #3b2c3c;
  box-shadow: 3px 3px 0 rgba(35, 22, 29, .8), inset -2px -2px 0 rgba(0, 0, 0, .22);
  cursor: pointer;
}

.tool-station-close {
  flex: 0 0 auto;
  width: 36px;
  height: 34px;
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.tool-station-body {
  position: relative;
  z-index: 1;
  min-height: 340px;
  max-height: calc(100dvh - 150px);
  overflow: auto;
  padding: clamp(18px, 4vw, 30px);
}

.tool-station-view[hidden] { display: none; }

.tool-station-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.tool-station-intro p,
.tool-description {
  color: #6e5d61;
  font-size: 12px;
  line-height: 1.7;
}

.tool-station-status {
  flex: 0 0 auto;
  padding: 6px 9px;
  border: 2px solid #79865f;
  color: #40513b;
  background: #cdd095;
  font-size: 9px;
}

.tool-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tool-card {
  min-height: 166px;
  padding: 18px 14px;
  text-align: left;
}

.tool-card:hover,
.tool-card:focus-visible,
.tool-action:hover,
.tool-action:focus-visible,
.tool-preset:hover,
.tool-preset:focus-visible,
.tool-station-back:hover,
.tool-station-back:focus-visible,
.tool-station-close:hover,
.tool-station-close:focus-visible {
  color: #fff0c7;
  border-color: #b87454;
  background: #57404a;
  transform: translate(-1px, -1px);
}

.tool-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  border: 3px solid #b77854;
  color: #f0c978;
  background: #211a27;
  font-size: 24px;
}

.tool-card strong,
.tool-card small {
  display: block;
}

.tool-card strong { font-size: 16px; }
.tool-card small { margin-top: 9px; color: #c2abb0; font-size: 10px; line-height: 1.55; }

.tool-view-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.tool-station-back {
  min-height: 34px;
  padding: 6px 11px;
  font-size: 10px;
}

.tool-panel {
  padding: clamp(16px, 3vw, 24px);
  border: 3px solid #8e685e;
  background: rgba(255, 247, 218, .6);
  box-shadow: inset -4px -4px 0 rgba(119, 79, 63, .14);
}

.timer-display {
  margin: 16px 0 18px;
  padding: 16px;
  border: 4px solid #775565;
  color: #bfe69c;
  background: #211a27;
  text-align: center;
  font-size: clamp(38px, 10vw, 68px);
  letter-spacing: .08em;
}

.tool-row,
.tool-preset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-preset-row { margin-bottom: 14px; }

.tool-action,
.tool-preset {
  min-height: 38px;
  padding: 8px 13px;
  font-size: 11px;
}

.tool-preset[aria-pressed="true"] {
  color: #2a2930;
  border-color: #7c8054;
  background: #d5c77e;
}

.tool-form-grid {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  gap: 12px;
  align-items: end;
  margin: 18px 0;
}

.tool-field {
  display: grid;
  gap: 7px;
  color: #625054;
  font-size: 10px;
}

.tool-field input,
.tool-field select,
.tool-field textarea {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border: 3px solid #89645e;
  border-radius: 0;
  outline: 0;
  color: #2b2029;
  background: #fff3d0;
  font: inherit;
}

.tool-field textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

.tool-field input:focus,
.tool-field select:focus,
.tool-field textarea:focus { border-color: #b5664b; box-shadow: 0 0 0 3px rgba(181, 102, 75, .18); }

.tool-result {
  min-height: 52px;
  margin-top: 16px;
  padding: 13px 15px;
  border: 3px solid #77665d;
  color: #f2dda9;
  background: #2b222f;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.tool-result[data-state="success"] { border-color: #71845f; color: #c8e6a7; }
.tool-result[data-state="error"] { border-color: #a25d53; color: #f0ad92; }

.tool-software-panel { display: grid; gap: 13px; }

.tool-software-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool-software-toolbar output {
  min-width: 0;
  color: #625054;
  font-size: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.tool-software-toolbar .tool-action:disabled {
  cursor: not-allowed;
  opacity: .45;
  transform: none;
}

.tool-software-status {
  min-height: 34px;
  margin: 0;
  padding: 9px 11px;
  border: 2px solid #77665d;
  color: #625054;
  background: rgba(255, 243, 208, .7);
  font-size: 10px;
  line-height: 1.45;
}

.tool-software-status[data-state="success"] { border-color: #71845f; color: #40513b; }
.tool-software-status[data-state="error"] { border-color: #a25d53; color: #8a443f; }

.tool-software-list {
  display: grid;
  gap: 9px;
}

.tool-software-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 11px;
  border: 2px solid #8e685e;
  background: rgba(255, 247, 218, .68);
}

.tool-software-item > div {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.tool-software-item strong,
.tool-software-item small {
  overflow-wrap: anywhere;
}

.tool-software-item strong { color: #332738; font-size: 12px; }
.tool-software-item small { color: #6e5d61; font-size: 9px; }

.tool-software-action {
  flex: 0 0 auto;
  min-width: 54px;
  text-align: center;
  text-decoration: none;
}

.tool-software-empty {
  margin: 0;
  padding: 18px;
  border: 2px dashed #8e685e;
  color: #6e5d61;
  text-align: center;
  font-size: 11px;
}

.tool-denoise-panel { display: grid; gap: 16px; }

.tool-local-badge {
  margin: 0;
  padding: 8px 10px;
  border: 2px solid #79865f;
  color: #40513b;
  background: #cdd095;
  font-size: 9px;
  letter-spacing: .06em;
}

.tool-audio-upload {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 3px dashed #8e685e;
  color: #f2dda9;
  background: #332738;
  cursor: pointer;
}

.tool-audio-upload:hover,
.tool-audio-upload:focus-within { border-color: #c88559; background: #443242; }

.tool-audio-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  opacity: 0;
  border: 0;
}

.tool-audio-upload__title { color: #f4ddb0; font-size: 15px; }
.tool-audio-upload__hint { color: #c2abb0; font-size: 10px; line-height: 1.55; overflow-wrap: anywhere; }

.tool-denoise-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.tool-denoise-progress {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  color: #625054;
  font-size: 10px;
  line-height: 1.5;
}

.tool-denoise-progress progress {
  width: 100%;
  height: 14px;
  accent-color: #7c8054;
}

.tool-audio-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.tool-audio-previews[hidden] { display: none; }

.tool-audio-previews label {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 2px solid #8e685e;
  color: #625054;
  background: rgba(255, 247, 218, .48);
  font-size: 10px;
}

.tool-audio-previews audio { width: 100%; height: 34px; }

.tool-audio-download {
  justify-self: start;
  padding: 9px 12px;
  border: 3px solid #71845f;
  color: #2a2930;
  background: #cdd095;
  box-shadow: 3px 3px 0 rgba(35, 22, 29, .35);
  font-size: 10px;
  text-decoration: none;
}

.tool-action:disabled { cursor: not-allowed; opacity: .5; }

.tool-station-foot {
  min-height: 36px;
  padding: 8px 16px;
  border-top: 3px solid #8e6254;
  color: #b8a1a1;
  font-size: 8px;
  letter-spacing: .08em;
}

@media (max-width: 640px) {
  .tool-card-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 112px; }
  .tool-station-intro { display: grid; }
  .tool-form-grid { grid-template-columns: 1fr; }
  .tool-denoise-controls,
  .tool-denoise-progress,
  .tool-audio-previews { grid-template-columns: 1fr; }
  .tool-station-foot span:last-child { display: none; }
}

@media (max-width: 760px) and (min-width: 641px) {
  .tool-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

body.is-motion-reduced .tool-card,
body.is-motion-reduced .tool-action,
body.is-motion-reduced .tool-preset,
body.is-motion-reduced .tool-station-back,
body.is-motion-reduced .tool-station-close { transform: none !important; }

/* Workbench computer: a compact pixel desktop with app windows inside it. */
.tool-station-dialog {
  width: min(940px, calc(100% - 28px));
  max-height: min(700px, calc(100dvh - 28px));
}

.tool-station-window {
  border-color: #18233a;
  background: #243552;
  box-shadow: 12px 12px 0 rgba(0, 0, 0, .66), inset 0 0 0 3px #8293b8;
}

.tool-station-window::before {
  inset: 42px 0 34px;
  opacity: .16;
  background-image:
    linear-gradient(rgba(233, 243, 255, .28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(233, 243, 255, .28) 1px, transparent 1px);
  background-size: 8px 8px;
}

.tool-station-head,
.tool-station-foot {
  color: #eff6ff;
  background: #1b2740;
}

.tool-station-head {
  min-height: 42px;
  padding: 7px 10px 7px 14px;
  border-bottom: 3px solid #8aa2d0;
}

.tool-station-head p {
  margin-bottom: 2px;
  color: #a8c5ed;
  font-size: 8px;
}

.tool-station-head h2 {
  font-size: clamp(15px, 2.6vw, 20px);
}

.tool-station-close {
  width: 30px;
  height: 28px;
  border-color: #768fbd;
  background: #304568;
  box-shadow: 2px 2px 0 rgba(5, 12, 25, .8), inset -2px -2px 0 rgba(0, 0, 0, .2);
  font-size: 20px;
}

.tool-station-body {
  min-height: 454px;
  max-height: calc(100dvh - 132px);
  padding: 0;
  overflow: auto;
  background:
    linear-gradient(135deg, rgba(76, 112, 162, .92), rgba(37, 59, 93, .96)),
    #243552;
}

.tool-station-view[data-tool-view="menu"] {
  min-height: 454px;
  padding: clamp(18px, 4vw, 30px);
}

.tool-station-intro {
  align-items: center;
  gap: 12px;
  margin: -2px -2px 22px;
  padding: 9px 11px;
  border: 3px solid #c7d7ef;
  color: #20304f;
  background: #edf5ff;
  box-shadow: 4px 4px 0 rgba(19, 32, 56, .42);
}

.tool-station-intro h3 {
  color: #1e3156;
  font-size: 14px;
}

.tool-station-intro p,
.tool-description { color: #4f668c; }

.tool-station-status {
  border-color: #5974a8;
  color: #1e3156;
  background: #bed8fb;
}

.tool-card-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.tool-card {
  min-height: 145px;
  padding: 9px 6px;
  border: 2px solid transparent;
  color: #edf5ff;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.tool-card:hover,
.tool-card:focus-visible {
  border-color: #d9ecff;
  color: #fff;
  background: rgba(18, 36, 66, .36);
  box-shadow: inset 0 0 0 2px rgba(105, 160, 223, .52);
  transform: translate(-1px, -1px);
}

.tool-card__icon {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 8px;
  border: 3px solid #d4e6fb;
  color: #fff;
  background: #395a91;
  box-shadow: 4px 4px 0 rgba(13, 25, 46, .64), inset -3px -3px 0 rgba(16, 36, 68, .35), inset 3px 3px 0 rgba(255, 255, 255, .22);
  font-size: 28px;
  text-shadow: 2px 2px 0 rgba(13, 25, 46, .6);
}

.tool-card:nth-child(2) .tool-card__icon { background: #526d9a; }
.tool-card:nth-child(3) .tool-card__icon { background: #7d6798; }
.tool-card:nth-child(4) .tool-card__icon { background: #536f82; }
.tool-card:nth-child(5) .tool-card__icon { background: #4b7990; }

.tool-card strong {
  color: inherit;
  font-size: 12px;
  line-height: 1.35;
}

.tool-card small {
  margin: 5px auto 0;
  color: #cbdcf2;
  font-size: 8px;
  line-height: 1.45;
}

.tool-station-view:not([data-tool-view="menu"]) {
  padding: clamp(16px, 3vw, 26px);
}

.tool-view-head {
  align-items: stretch;
  gap: 10px;
  margin: 0 0 14px;
  padding: 9px;
  border: 3px solid #b8cbe8;
  background: #edf5ff;
  box-shadow: 4px 4px 0 rgba(19, 32, 56, .42);
}

.tool-view-head h3 { color: #203452; font-size: 15px; }

.tool-station-back,
.tool-action,
.tool-preset {
  border-color: #526a95;
  color: #eff6ff;
  background: #30486e;
  box-shadow: 3px 3px 0 rgba(13, 25, 46, .76), inset -2px -2px 0 rgba(8, 18, 36, .28);
}

.tool-station-back {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 9px;
}

.tool-action:hover,
.tool-action:focus-visible,
.tool-preset:hover,
.tool-preset:focus-visible,
.tool-station-back:hover,
.tool-station-back:focus-visible,
.tool-station-close:hover,
.tool-station-close:focus-visible {
  border-color: #d7e9ff;
  color: #fff;
  background: #4d6da0;
}

.tool-panel {
  border-color: #b9cbe4;
  background: #edf5ff;
  box-shadow: 5px 5px 0 rgba(19, 32, 56, .42), inset -4px -4px 0 rgba(73, 100, 145, .1);
}

.tool-field { color: #4d6388; }

.tool-field input,
.tool-field select,
.tool-field textarea {
  border-color: #8ca4ca;
  color: #20304f;
  background: #fbfdff;
}

.tool-software-panel {
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.tool-software-toolbar {
  min-height: 48px;
  padding: 8px 10px;
  border-bottom: 3px solid #7e98c3;
  background: #dceafd;
}

.tool-software-toolbar output {
  color: #203452;
  font-size: 10px;
  font-weight: 700;
}

.tool-software-status {
  min-height: 0;
  padding: 8px 11px;
  border: 0;
  border-bottom: 2px solid #b9cbe4;
  color: #4d6388;
  background: #f6faff;
}

.tool-software-list {
  gap: 0;
  max-height: min(340px, 45dvh);
  overflow: auto;
  background: #fbfdff;
}

.tool-software-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 58px;
  padding: 9px 11px;
  border: 0;
  border-bottom: 2px solid #d4e0f1;
  background: transparent;
}

.tool-software-item:nth-child(even) { background: #f0f6ff; }

.tool-software-item > div { min-width: 0; }
.tool-software-item strong { color: #203452; font-size: 12px; line-height: 1.35; }
.tool-software-item small { color: #647898; font-size: 9px; line-height: 1.45; }

.tool-software-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  min-height: 30px;
  padding: 5px 8px;
  line-height: 1;
}

.tool-software-empty {
  margin: 12px;
  border-color: #9db1cf;
  color: #536b94;
}

.tool-station-foot {
  min-height: 34px;
  padding: 7px 14px;
  border-top-color: #8aa2d0;
  color: #b9d2f0;
}

@media (max-width: 640px) {
  .tool-station-dialog { width: min(100% - 16px, 940px); }
  .tool-station-view[data-tool-view="menu"] { min-height: 400px; padding: 14px; }
  .tool-card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tool-card { min-height: 116px; padding: 6px 3px; }
  .tool-card__icon { width: 46px; height: 46px; margin-bottom: 6px; font-size: 23px; }
  .tool-card strong { font-size: 10px; }
  .tool-card small { display: none; }
  .tool-station-view:not([data-tool-view="menu"]) { padding: 12px; }
  .tool-view-head { display: grid; }
  .tool-software-item { gap: 8px; padding: 8px; }
  .tool-software-action { min-width: 56px; }
}

@media (max-width: 760px) and (min-width: 641px) {
  .tool-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Physical monitor shell around the interactive desktop. */
.tool-station-dialog {
  width: min(970px, calc(100% - 28px));
  max-height: min(760px, calc(100dvh - 20px));
}

.tool-station-monitor {
  position: relative;
  padding: 20px 20px 11px;
  border: 4px solid #121827;
  color: #edf5ff;
  background: #58647a;
  box-shadow:
    inset 0 0 0 4px #91a0bb,
    inset 0 0 0 8px #344158,
    14px 16px 0 rgba(0, 0, 0, .66);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, calc(100% - 12px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 12px, 100% 12px, 100% calc(100% - 12px), calc(100% - 4px) calc(100% - 12px), calc(100% - 4px) calc(100% - 4px), calc(100% - 12px) calc(100% - 4px), calc(100% - 12px) 100%, 12px 100%, 12px calc(100% - 4px), 4px calc(100% - 4px), 4px calc(100% - 12px), 0 calc(100% - 12px), 0 12px, 4px 12px, 4px 4px, 12px 4px);
}

.tool-station-monitor::before,
.tool-station-monitor::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #aebad0;
  box-shadow: 0 8px 0 #3b475e, 8px 0 0 #3b475e;
}

.tool-station-monitor::before { top: 9px; left: 9px; }
.tool-station-monitor::after { top: 9px; right: 17px; transform: scaleX(-1); }

.tool-station-monitor__bezel {
  position: relative;
  padding: 8px;
  border: 4px solid #1f293d;
  background: #111827;
  box-shadow: inset 0 0 0 3px #71809d;
}

.tool-station-monitor__control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 19px;
  padding-top: 9px;
  color: #d7e3f7;
  font-size: 8px;
  letter-spacing: .14em;
}

.tool-station-monitor__brand { text-shadow: 1px 1px 0 #172137; }

.tool-station-monitor__light {
  width: 7px;
  height: 7px;
  border: 2px solid #1b273a;
  background: #9bd77c;
  box-shadow: 0 0 0 2px #759969, 0 0 8px rgba(155, 215, 124, .84);
}

.tool-station-monitor__stand {
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: -25px;
  width: 120px;
  height: 30px;
  border: 4px solid #162034;
  background: #4c5871;
  box-shadow: inset 0 0 0 3px #7e8da8, 0 10px 0 -3px #1a2437;
  transform: translateX(-50%);
}

.tool-station-monitor__stand::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -14px;
  width: 180px;
  height: 13px;
  border: 4px solid #162034;
  background: #4c5871;
  box-shadow: inset 0 0 0 3px #7e8da8;
  transform: translateX(-50%);
}

.tool-station-window {
  border: 3px solid #8da3cb;
  background: #284168;
  box-shadow: inset 0 0 0 3px #16253e;
}

.tool-station-window::before {
  inset: 39px 0 31px;
  opacity: .2;
  background-image:
    linear-gradient(rgba(229, 246, 255, .24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(229, 246, 255, .24) 1px, transparent 1px);
  background-size: 6px 6px;
}

.tool-station-head {
  min-height: 39px;
  padding: 6px 9px 6px 12px;
  border-bottom-color: #85a0d0;
  background: linear-gradient(90deg, #16233d, #2c4268);
}

.tool-station-head h2 { font-size: clamp(13px, 2.4vw, 18px); }
.tool-station-head p { font-size: 7px; }

.tool-station-body {
  min-height: 405px;
  max-height: calc(100dvh - 190px);
  background:
    radial-gradient(circle at 78% 16%, rgba(154, 211, 250, .22) 0 2px, transparent 3px),
    radial-gradient(circle at 33% 66%, rgba(154, 211, 250, .16) 0 2px, transparent 3px),
    linear-gradient(135deg, rgba(83, 124, 181, .97), rgba(32, 55, 91, .98));
}

.tool-station-view[data-tool-view="menu"] {
  position: relative;
  min-height: 405px;
  padding: 15px 18px 52px;
}

.tool-station-view[data-tool-view="menu"]::after {
  content: "DESKTOP  ·  CLICK AN APP TO OPEN";
  position: absolute;
  right: 13px;
  bottom: 12px;
  padding: 5px 7px;
  border: 2px solid rgba(217, 236, 255, .78);
  color: #e9f6ff;
  background: rgba(18, 34, 62, .58);
  font-size: 8px;
  letter-spacing: .08em;
}

.tool-station-intro {
  position: relative;
  z-index: 1;
  margin: 0 0 15px;
  padding: 7px 9px;
  border-width: 2px;
  box-shadow: 3px 3px 0 rgba(15, 28, 50, .54);
}

.tool-station-intro h3 { font-size: 12px; }
.tool-station-intro p { font-size: 9px; line-height: 1.45; }
.tool-station-status { padding: 5px 7px; font-size: 8px; }

.tool-card-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  max-width: 625px;
}

.tool-card {
  position: relative;
  z-index: 1;
  min-height: 112px;
  padding: 5px 2px;
}

.tool-card__icon {
  width: 46px;
  height: 46px;
  margin-bottom: 6px;
  border-color: #e0eeff;
  font-size: 22px;
}

.tool-card strong { font-size: 10px; }
.tool-card small { display: none; }

.tool-station-view:not([data-tool-view="menu"]) { padding: 13px 16px 18px; }

.tool-view-head {
  margin-bottom: 11px;
  padding: 7px;
  border-width: 2px;
  box-shadow: 3px 3px 0 rgba(19, 32, 56, .46);
}

.tool-view-head h3 { font-size: 13px; }
.tool-description { font-size: 9px; line-height: 1.45; }

.tool-panel { box-shadow: 4px 4px 0 rgba(19, 32, 56, .46), inset -4px -4px 0 rgba(73, 100, 145, .1); }

.tool-station-foot {
  min-height: 31px;
  padding: 6px 9px;
  border-top: 2px solid #7f9bc8;
  background: #17243d;
  font-size: 7px;
}

.tool-station-foot span:first-child {
  padding: 4px 6px;
  border: 1px solid #8ca7d3;
  color: #f2f7ff;
  background: #36517c;
}

@media (max-width: 640px) {
  .tool-station-dialog { width: min(100% - 12px, 970px); max-height: calc(100dvh - 8px); }
  .tool-station-monitor { padding: 14px 12px 8px; }
  .tool-station-monitor__bezel { padding: 5px; border-width: 3px; }
  .tool-station-monitor__control { min-height: 15px; padding-top: 7px; font-size: 6px; }
  .tool-station-monitor__stand { display: none; }
  .tool-station-body { min-height: 372px; max-height: calc(100dvh - 120px); }
  .tool-station-view[data-tool-view="menu"] { min-height: 372px; padding: 11px 10px 40px; }
  .tool-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
  .tool-card { min-height: 93px; }
  .tool-card__icon { width: 38px; height: 38px; margin-bottom: 4px; border-width: 2px; font-size: 18px; }
  .tool-card strong { font-size: 8px; }
  .tool-station-intro { gap: 7px; }
  .tool-station-intro p { display: none; }
  .tool-station-status { font-size: 7px; }
  .tool-station-view:not([data-tool-view="menu"]) { padding: 9px; }
  .tool-software-list { max-height: min(286px, 39dvh); }
}

/* Pixel sky desktop: original blue-sky wallpaper and a persistent taskbar. */
.tool-station-body {
  background:
    radial-gradient(ellipse 72% 43% at 83% 118%, #71b743 0 45%, transparent 46%),
    radial-gradient(ellipse 62% 34% at 14% 119%, #4b9638 0 46%, transparent 47%),
    linear-gradient(#298de0 0 72%, #74b846 72% 100%);
}

.tool-station-view[data-tool-view="menu"] {
  overflow: hidden;
  background:
    linear-gradient(130deg, transparent 0 49%, rgba(255, 255, 255, .18) 49.4% 49.8%, transparent 50.2%),
    linear-gradient(transparent 0 72%, rgba(64, 126, 50, .34) 72.4% 72.8%, transparent 73.2%);
}

.tool-station-view[data-tool-view="menu"]::before,
.tool-station-view[data-tool-view="menu"]::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 118px;
  height: 38px;
  border: 2px solid rgba(209, 239, 255, .88);
  background: #f5fcff;
  box-shadow: 0 4px 0 rgba(29, 99, 162, .2);
  clip-path: polygon(0 72%, 10% 72%, 10% 48%, 19% 48%, 19% 25%, 32% 25%, 32% 0, 54% 0, 54% 16%, 67% 16%, 67% 42%, 82% 42%, 82% 60%, 100% 60%, 100% 100%, 0 100%);
}

.tool-station-view[data-tool-view="menu"]::before {
  top: 90px;
  right: 40px;
  opacity: .88;
}

.tool-station-view[data-tool-view="menu"]::after {
  top: 160px;
  right: 180px;
  width: 76px;
  height: 27px;
  opacity: .68;
  transform: scaleX(-1);
}

.tool-station-intro {
  border-color: #d8efff;
  color: #193c65;
  background: rgba(244, 251, 255, .92);
}

.tool-station-intro h3 { color: #1a4e83; }
.tool-station-intro p { color: #3d6791; }
.tool-station-status { border-color: #4e84bd; color: #174a7d; background: #cde9ff; }

.tool-card-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(5, 82px);
  gap: 11px 8px;
  max-width: none;
}

.tool-card {
  min-height: 110px;
  border-color: transparent;
  text-shadow: 1px 1px 0 rgba(16, 53, 89, .74);
}

.tool-card:hover,
.tool-card:focus-visible {
  border-color: rgba(237, 248, 255, .84);
  background: rgba(227, 245, 255, .23);
  box-shadow: inset 0 0 0 2px rgba(40, 105, 184, .56);
}

.tool-card__icon {
  overflow: hidden;
  border-color: #e9f6ff;
  background: #3f78bd;
  box-shadow: 3px 3px 0 rgba(15, 50, 89, .68), inset -3px -3px 0 rgba(15, 54, 102, .33), inset 3px 3px 0 rgba(255, 255, 255, .3);
}

.tool-card:nth-child(1) .tool-card__icon { background: #4a85c9; }
.tool-card:nth-child(2) .tool-card__icon { background: #607abb; }
.tool-card:nth-child(3) .tool-card__icon { background: #7d6fb0; }
.tool-card:nth-child(4) .tool-card__icon { background: #4e8a95; }
.tool-card:nth-child(5) .tool-card__icon { background: #4c8d89; }

.tool-card strong { color: #f5fbff; }

.tool-station-foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  min-height: 35px;
  padding: 4px 6px;
  border-top-color: #5d91cf;
  background: linear-gradient(#3c78b9, #21558e);
}

.desktop-start,
.desktop-taskbar-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #b9e1ff;
  color: #f5fbff;
  background: #2e9366;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, .25), inset -2px -2px 0 rgba(10, 77, 55, .32);
  cursor: pointer;
}

.desktop-start {
  min-height: 25px;
  padding: 3px 8px 3px 6px;
  border-color: #b9f0d6;
  border-radius: 0 12px 12px 0;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
}

.tool-station-foot .desktop-start span,
.tool-station-foot .desktop-taskbar-tray span {
  padding: 0;
  border: 0;
  background: transparent;
}

.desktop-start span { margin-right: 4px; color: #f6ffce; font-size: 13px; line-height: 1; }

.desktop-taskbar-apps {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.desktop-taskbar-app {
  width: 25px;
  height: 25px;
  padding: 0;
  border-color: #a9d4fb;
  background: #376aa8;
  font: inherit;
  font-size: 14px;
  line-height: 1;
}

.desktop-taskbar-app:nth-child(2) { background: #5d7ab0; }
.desktop-taskbar-app:nth-child(3) { background: #7665a0; }
.desktop-taskbar-app:nth-child(4) { background: #4e808e; }

.desktop-start:hover,
.desktop-start:focus-visible,
.desktop-taskbar-app:hover,
.desktop-taskbar-app:focus-visible {
  outline: 0;
  border-color: #fff;
  background: #4b9f77;
  transform: translateY(-1px);
}

.desktop-taskbar-tray {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 24px;
  padding: 0 6px;
  border-left: 2px solid rgba(193, 228, 255, .58);
  color: #eff9ff;
  background: rgba(82, 150, 205, .45);
  font-size: 8px;
}

.desktop-taskbar-status { color: #baf08b; text-shadow: 0 0 5px rgba(186, 240, 139, .75); }

@media (max-width: 640px) {
  .tool-station-view[data-tool-view="menu"]::before { top: 86px; right: 18px; transform: scale(.7); transform-origin: top right; }
  .tool-station-view[data-tool-view="menu"]::after { display: none; }
  .tool-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .tool-card { min-height: 93px; }
  .tool-station-foot { gap: 4px; }
  .desktop-start { min-width: 0; padding: 3px 5px; font-size: 8px; }
  .desktop-taskbar-apps { gap: 2px; }
  .desktop-taskbar-app { width: 22px; height: 22px; font-size: 12px; }
  .desktop-taskbar-tray { gap: 3px; padding: 0 3px; font-size: 7px; }
}

/* Richer pixel landscape for the simulated desktop wallpaper. */
.tool-station-body {
  background:
    linear-gradient(156deg, transparent 0 67%, rgba(50, 130, 55, .64) 67.2% 67.8%, transparent 68%),
    radial-gradient(ellipse 74% 46% at 102% 121%, #5aab3c 0 46%, transparent 46.8%),
    radial-gradient(ellipse 68% 38% at -4% 123%, #3f9338 0 45%, transparent 45.8%),
    linear-gradient(#1f80d3 0, #54aee9 54%, #b8e6fb 74%, #78bb48 74%, #519b3d 100%);
}

.tool-station-view[data-tool-view="menu"] {
  background:
    radial-gradient(ellipse 30px 13px at 11% 20%, #fbfeff 0 95%, transparent 100%),
    radial-gradient(ellipse 19px 17px at 15% 19%, #fbfeff 0 95%, transparent 100%),
    radial-gradient(ellipse 26px 16px at 19% 21%, #fbfeff 0 95%, transparent 100%),
    radial-gradient(ellipse 25px 12px at 52% 36%, rgba(250, 254, 255, .88) 0 95%, transparent 100%),
    radial-gradient(ellipse 16px 14px at 56% 35%, rgba(250, 254, 255, .88) 0 95%, transparent 100%),
    radial-gradient(ellipse 23px 15px at 60% 37%, rgba(250, 254, 255, .88) 0 95%, transparent 100%),
    radial-gradient(circle at 18% 88%, #f4da61 0 2px, transparent 2.6px),
    radial-gradient(circle at 25% 91%, #f5f1d0 0 1.5px, transparent 2.2px),
    radial-gradient(circle at 68% 86%, #e58469 0 2px, transparent 2.6px),
    radial-gradient(circle at 73% 90%, #f5e072 0 1.5px, transparent 2.2px),
    linear-gradient(154deg, transparent 0 70%, rgba(77, 159, 50, .58) 70.3% 70.8%, transparent 71.1%),
    radial-gradient(ellipse 77% 45% at 102% 123%, #6cb346 0 46%, transparent 46.6%),
    radial-gradient(ellipse 71% 39% at -4% 123%, #479b3a 0 45%, transparent 45.7%);
}

.tool-station-view[data-tool-view="menu"]::before,
.tool-station-view[data-tool-view="menu"]::after {
  border-color: rgba(231, 248, 255, .96);
  background: #f8fdff;
  box-shadow: 0 4px 0 rgba(33, 117, 182, .2), inset 0 -3px 0 rgba(177, 222, 247, .45);
}

.tool-station-view[data-tool-view="menu"]::before {
  top: 62px;
  right: 55px;
  width: 136px;
  height: 43px;
}

.tool-station-view[data-tool-view="menu"]::after {
  top: 150px;
  right: 205px;
  width: 92px;
  height: 31px;
  opacity: .74;
}

.tool-card-grid { padding-top: 5px; }

@media (max-width: 640px) {
  .tool-station-view[data-tool-view="menu"] {
    background:
      radial-gradient(ellipse 25px 11px at 14% 24%, #fbfeff 0 95%, transparent 100%),
      radial-gradient(ellipse 15px 13px at 18% 23%, #fbfeff 0 95%, transparent 100%),
      radial-gradient(ellipse 20px 12px at 22% 25%, #fbfeff 0 95%, transparent 100%),
      radial-gradient(circle at 18% 88%, #f4da61 0 1.5px, transparent 2px),
      radial-gradient(circle at 70% 89%, #e58469 0 1.5px, transparent 2px),
      radial-gradient(ellipse 78% 42% at 104% 124%, #6cb346 0 46%, transparent 46.6%),
      radial-gradient(ellipse 72% 38% at -5% 124%, #479b3a 0 45%, transparent 45.7%);
  }

  .tool-station-view[data-tool-view="menu"]::before { top: 72px; right: 22px; }
}

/* Generated original pixel wallpaper, sized for the workbench monitor. */
.tool-station-body {
  background: #4da8dd url("./assets/modern/workbench-desktop-wallpaper.png") center center / cover no-repeat;
}

.tool-station-view[data-tool-view="menu"] { background: transparent; }

.tool-station-view[data-tool-view="menu"]::before,
.tool-station-view[data-tool-view="menu"]::after { display: none; }

.tool-station-intro {
  max-width: 410px;
  border-color: rgba(231, 248, 255, .9);
  background: rgba(244, 251, 255, .84);
  backdrop-filter: blur(2px);
}

@media (max-width: 640px) {
  .tool-station-body { background-position: 60% center; }
  .tool-station-intro { max-width: none; }
}

/* FIXED MONITOR FRAME: do not resize by tool view content. */
.tool-station-dialog {
  width: min(1000px, calc(100% - 28px));
  max-width: 1000px;
  height: auto;
  max-height: min(760px, calc(100dvh - 16px));
}

.tool-station-monitor {
  width: 100%;
  box-sizing: border-box;
}

.tool-station-monitor__bezel {
  width: 100%;
  box-sizing: border-box;
}

.tool-station-window {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: min(560px, calc(100dvh - 140px));
  min-height: min(560px, calc(100dvh - 140px));
  max-height: min(560px, calc(100dvh - 140px));
  box-sizing: border-box;
  overflow: hidden;
}

.tool-station-head,
.tool-station-foot {
  flex: 0 0 auto;
}

.tool-station-body {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
  overflow: auto;
  box-sizing: border-box;
}

.tool-station-view {
  box-sizing: border-box;
  min-height: 100%;
}

.tool-station-view[data-tool-view="menu"] {
  min-height: 100% !important;
  height: 100%;
}

.tool-station-view:not([data-tool-view="menu"]) {
  min-height: 100%;
}

.tool-software-list {
  max-height: min(280px, 36dvh);
}

.tool-audio-previews {
  max-width: 100%;
}

@media (max-width: 640px) {
  .tool-station-dialog {
    width: min(100% - 12px, 1000px);
    max-width: none;
    max-height: calc(100dvh - 8px);
  }

  .tool-station-window {
    height: min(520px, calc(100dvh - 96px));
    min-height: min(520px, calc(100dvh - 96px));
    max-height: min(520px, calc(100dvh - 96px));
  }

  .tool-station-body {
    min-height: 0 !important;
    max-height: none !important;
  }

  .tool-station-view[data-tool-view="menu"] {
    min-height: 100% !important;
  }
}

/* Two remaining tools: denoise + software library. */
.tool-card-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 460px;
  gap: 16px;
}

.tool-card {
  min-height: 150px;
}

.tool-card:nth-child(1) .tool-card__icon { background: #4e808e; }
.tool-card:nth-child(2) .tool-card__icon { background: #4b7990; }

@media (max-width: 640px) {
  .tool-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }
}

/* P0/P1: true desktop shell — icons, app windows, start menu, taskbar state. */
.tool-station-body {
  position: relative;
  overflow: hidden;
}

.tool-station-monitor__light.is-off {
  background: #4a5568;
  box-shadow: 0 0 0 2px #2c3546;
}

.tool-station-desktop {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 100% !important;
  height: 100%;
  padding: 14px 16px 18px !important;
  box-sizing: border-box;
  background: transparent !important;
}

.tool-station-desktop.is-behind-app {
  pointer-events: none;
}

.tool-station-desktop.is-behind-app .desktop-tip {
  opacity: .55;
}

.desktop-tip {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  max-width: 360px;
  margin: 0;
  padding: 8px 10px;
  border: 2px solid rgba(231, 248, 255, .9);
  color: #193c65;
  background: rgba(244, 251, 255, .88);
  box-shadow: 3px 3px 0 rgba(15, 28, 50, .42);
  backdrop-filter: blur(2px);
}

.desktop-tip[hidden] { display: none !important; }

.desktop-tip h3 {
  margin: 0 0 3px;
  color: #1a4e83;
  font-size: 12px;
}

.desktop-tip p {
  margin: 0;
  color: #3d6791;
  font-size: 9px;
  line-height: 1.45;
}

.desktop-tip__meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.desktop-tip__dismiss {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 2px solid #4e84bd;
  color: #174a7d;
  background: #cde9ff;
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.desktop-tip__dismiss:hover,
.desktop-tip__dismiss:focus-visible {
  border-color: #fff;
  background: #8ec7f3;
  outline: 0;
}

.desktop-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, 78px);
  grid-auto-rows: min-content;
  gap: 10px 8px;
  align-content: start;
  justify-content: start;
  width: max-content;
  max-width: 100%;
  margin: 0;
  padding: 2px 0 0;
}

.desktop-icon {
  display: grid;
  justify-items: center;
  gap: 6px;
  min-height: 0;
  margin: 0;
  padding: 6px 4px 8px;
  border: 2px solid transparent;
  color: #f5fbff;
  background: transparent;
  box-shadow: none;
  text-align: center;
  text-shadow: 1px 1px 0 rgba(16, 53, 89, .78);
  cursor: pointer;
}

.desktop-icon:hover,
.desktop-icon:focus-visible {
  border-color: rgba(237, 248, 255, .88);
  background: rgba(227, 245, 255, .22);
  box-shadow: inset 0 0 0 1px rgba(40, 105, 184, .42);
  outline: 0;
  transform: none;
}

.desktop-icon__glyph {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 3px solid #e9f6ff;
  color: #fff;
  background: #3f78bd;
  box-shadow:
    3px 3px 0 rgba(15, 50, 89, .68),
    inset -3px -3px 0 rgba(15, 54, 102, .33),
    inset 3px 3px 0 rgba(255, 255, 255, .3);
  font-size: 20px;
  line-height: 1;
}

.desktop-icon[data-open-tool="denoise"] .desktop-icon__glyph { background: #4e808e; }
.desktop-icon[data-open-tool="software"] .desktop-icon__glyph { background: #4b7990; }
.desktop-icon[data-open-link="nav-hub"] .desktop-icon__glyph { background: #5b6fad; }

.desktop-icon-grid {
  grid-template-columns: repeat(3, 78px);
}

.desktop-taskbar-app[data-open-link="nav-hub"] { background: #5b6fad; }

.desktop-icon__label {
  display: block;
  max-width: 72px;
  color: #f5fbff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
}

/* App windows float above the same wallpaper. */
.tool-station-view.desktop-app-window {
  position: absolute;
  inset: 12px 14px 14px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  min-height: 0 !important;
  height: auto !important;
  max-height: none;
  padding: 0 !important;
  overflow: hidden;
  border: 3px solid #8da3cb;
  background: #edf5ff;
  box-shadow:
    6px 8px 0 rgba(12, 24, 44, .42),
    inset 0 0 0 2px #f8fbff;
}

.tool-station-view.desktop-app-window[hidden] { display: none !important; }

.desktop-app-titlebar {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  flex: 0 0 auto;
  min-height: 46px;
  padding: 7px 8px 7px 10px;
  border-bottom: 3px solid #7e98c3;
  color: #203452;
  background: linear-gradient(90deg, #dceafd, #edf5ff);
}

.desktop-app-titlebar__text {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.desktop-app-titlebar__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid #8ca7d3;
  color: #f5fbff;
  background: #376aa8;
  font-size: 14px;
  line-height: 1;
  flex: 0 0 auto;
}

.desktop-app-titlebar h3 {
  margin: 0;
  color: #203452;
  font-size: 13px;
  line-height: 1.2;
}

.desktop-app-titlebar .tool-description {
  margin: 2px 0 0;
  color: #4d6388;
  font-size: 9px;
  line-height: 1.35;
}

.desktop-app-titlebar__actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex: 0 0 auto;
}

.desktop-app-control {
  width: 28px;
  height: 24px;
  padding: 0;
  border: 2px solid #526a95;
  color: #eff6ff;
  background: #30486e;
  box-shadow: 2px 2px 0 rgba(13, 25, 46, .5), inset -1px -1px 0 rgba(8, 18, 36, .28);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.desktop-app-control--close {
  background: #8b4d58;
  border-color: #b87984;
}

.desktop-app-control:hover,
.desktop-app-control:focus-visible {
  border-color: #fff;
  background: #4d6da0;
  outline: 0;
}

.desktop-app-control--close:hover,
.desktop-app-control--close:focus-visible {
  background: #a85d69;
}

.desktop-app-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding: 10px;
  background:
    linear-gradient(180deg, rgba(237, 245, 255, .96), rgba(246, 250, 255, .98));
}

.desktop-app-body .tool-panel {
  min-height: 100%;
  margin: 0;
  box-sizing: border-box;
}

.desktop-app-body .tool-software-panel {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.desktop-app-body .tool-software-list {
  flex: 1 1 auto;
  max-height: none;
  min-height: 160px;
}

/* Start menu */
.desktop-start-menu {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 8;
  display: flex;
  flex-direction: column;
  width: min(250px, calc(100% - 16px));
  overflow: hidden;
  border: 3px solid #8da3cb;
  color: #203452;
  background: #edf5ff;
  box-shadow: 5px 5px 0 rgba(12, 24, 44, .48);
}

.desktop-start-menu[hidden] { display: none !important; }

.desktop-start-menu__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 9px 11px;
  border-bottom: 2px solid #7e98c3;
  color: #eff6ff;
  background: linear-gradient(90deg, #1d3558, #3a5f96);
}

.desktop-start-menu__head strong {
  font-size: 11px;
  letter-spacing: .04em;
}

.desktop-start-menu__head span {
  color: #b9d2f0;
  font-size: 8px;
  letter-spacing: .08em;
}

.desktop-start-menu__apps,
.desktop-start-menu__foot {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px;
}

.desktop-start-menu__foot {
  border-top: 2px solid #c7d7ef;
  background: #e4eefc;
}

.desktop-start-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 6px 7px;
  border: 2px solid transparent;
  color: #203452;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.desktop-start-item > span:first-child {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid #8ca7d3;
  color: #f5fbff;
  background: #376aa8;
  font-size: 14px;
}

.desktop-start-item span small {
  display: block;
  margin-top: 2px;
  color: #5d7598;
  font-size: 8px;
  font-weight: 400;
  line-height: 1.3;
}

.desktop-start-item:hover,
.desktop-start-item:focus-visible {
  border-color: #7ea4d8;
  background: #d7e8fb;
  outline: 0;
}

.desktop-start-item--quiet {
  min-height: 34px;
  color: #355178;
}

.desktop-start-item--quiet > span:first-child {
  background: #4d6388;
  border-color: #7d93b5;
  font-size: 12px;
}

/* Taskbar active / start pressed states */
.desktop-start.is-active,
.desktop-taskbar-app.is-active {
  border-color: #fff;
  background: #1f6f8f;
  box-shadow: inset 2px 2px 0 rgba(8, 28, 48, .45), inset -1px -1px 0 rgba(255, 255, 255, .18);
  transform: none;
}

.desktop-start.is-active {
  background: #247a56;
}

.desktop-taskbar-app.is-active {
  position: relative;
}

.desktop-taskbar-app.is-active::after {
  content: "";
  position: absolute;
  left: 4px;
  right: 4px;
  bottom: 2px;
  height: 2px;
  background: #baf08b;
  box-shadow: 0 0 4px rgba(186, 240, 139, .75);
}

@media (max-width: 640px) {
  .tool-station-desktop {
    padding: 10px 10px 14px !important;
  }

  .desktop-tip {
    max-width: none;
    gap: 8px;
  }

  .desktop-tip p { display: none; }

  .desktop-icon-grid {
    grid-template-columns: repeat(3, 70px);
    gap: 8px 6px;
  }

  .desktop-icon__glyph {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .desktop-icon__label { font-size: 9px; }

  .tool-station-view.desktop-app-window {
    inset: 8px 8px 10px;
  }

  .desktop-app-titlebar {
    min-height: 42px;
    padding: 6px;
  }

  .desktop-app-titlebar .tool-description { display: none; }

  .desktop-app-body { padding: 8px; }

  .desktop-start-menu {
    left: 6px;
    bottom: 6px;
    width: min(230px, calc(100% - 12px));
  }
}
