:root {
  --design-width: 800px;
  --design-height: 600px;
  --page-bg: #2c2c2c;
  --classic-title-blue: #0a2f88;
  --classic-title-blue-light: #2f63b8;
  --classic-grey: #d4d0c8;
  --classic-grey-panel: #c7cfd2;
  --classic-grey-soft: #eef2f2;
  --classic-line-dark: #808080;
  --classic-line-light: #ffffff;
  --classic-desktop: #63b0ad;
  --classic-teal-decor: #5dd0da;
  --boot-black: #000000;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  font-family: Tahoma, "Liberation Sans", Arial, sans-serif;
  background: var(--page-bg);
  color: #111111;
  user-select: none;
}

.page-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.experience {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.stage-frame {
  position: relative;
  width: var(--design-width);
  height: var(--design-height);
}

.viewport {
  position: absolute;
  inset: 0;
  width: var(--design-width);
  height: var(--design-height);
  transform-origin: top left;
  overflow: hidden;
  background: #000000;
  border: 1px solid #111111;
  box-shadow:
    0 0 0 1px #666666,
    0 8px 22px rgba(0, 0, 0, 0.36);
}

.screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000000;
}

.scene {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.winmark.small {
  width: 24px;
  height: 24px;
}

.winmark.large {
  width: 52px;
  height: 52px;
}

.scene-bios {
  padding: 22px 36px;
  background: #000000;
  color: #c5d0c1;
  font-family: "Lucida Console", "Courier New", Monaco, monospace;
  font-size: 10px;
  line-height: 1.28;
}

.bios-text p {
  margin: 0;
}

.bios-gap {
  height: 12px;
}

.bios-emphasis {
  color: #edf0d0;
}

.scene-text-setup {
  background: #0000aa;
  color: #ffffff;
  font-family: "Lucida Console", "Courier New", Monaco, monospace;
}

.text-shell {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 18px 1fr 42px 18px;
}

.text-header,
.text-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  background: #c0c0c0;
  color: #111111;
  font-size: 9px;
}

.text-body {
  padding: 18px 30px 10px;
}

.text-body h1 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
}

.text-body p {
  max-width: 610px;
  margin: 0 0 8px;
  font-size: 10px;
  line-height: 1.28;
}

.text-note {
  margin-top: 10px;
  color: #d7e1ff;
}

.text-status {
  display: grid;
  gap: 6px;
  align-content: center;
  padding: 8px 10px 6px;
}

.text-status-copy {
  font-size: 10px;
}

.text-progress {
  height: 10px;
  border: 1px solid #ffffff;
}

.text-progress-fill {
  width: 0%;
  height: 100%;
  background: #ffffff;
}

.scene-gui-setup,
.scene-login,
.scene-loading,
.scene-desktop {
  background: var(--classic-desktop);
}

.gui-wallpaper,
.desktop-shell {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.wizard-window,
.login-dialog,
.loading-dialog,
.desktop-window {
  position: absolute;
  border: 1px solid #1a1a1a;
  background: var(--classic-grey);
  box-shadow:
    1px 1px 0 var(--classic-line-light),
    -1px -1px 0 var(--classic-line-dark),
    3px 3px 0 rgba(0, 0, 0, 0.18);
  opacity: 0;
  visibility: hidden;
}

.wizard-window.is-visible {
  opacity: 1;
  visibility: visible;
}

.window-title-bar {
  height: 19px;
  display: flex;
  align-items: center;
  padding: 0 7px;
  background: linear-gradient(90deg, var(--classic-title-blue) 0%, var(--classic-title-blue-light) 100%);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

.window-body,
.setup-page-body {
  padding: 12px 14px 0;
  font-size: 12px;
  line-height: 1.45;
}

.window-body p,
.setup-page-body p {
  margin: 0 0 9px;
}

.window-button-row {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  padding: 9px 12px;
  border-top: 1px solid #adb6bb;
  background: var(--classic-grey);
}

.win-button {
  min-width: 74px;
  height: 23px;
  padding: 0 10px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--classic-line-light) #404040 #404040 var(--classic-line-light);
  background: var(--classic-grey);
  color: #111111;
  font-family: Tahoma, "Liberation Sans", Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
}

.win-button.primary {
  min-width: 82px;
}

.win-button.auxiliary {
  min-width: 86px;
}

.win-button[disabled] {
  color: #8e8e8e;
}

.win-button.is-pressed,
.field-box.is-pressed {
  border-color: #404040 var(--classic-line-light) var(--classic-line-light) #404040;
  background: #cac6be;
}

.checkbox {
  width: 13px;
  height: 13px;
  margin-top: 2px;
  border: 1px solid #777777;
  background: #ffffff;
  flex: 0 0 auto;
}

.checkbox.checked {
  background:
    linear-gradient(135deg, transparent 40%, #243a63 40%, #243a63 56%, transparent 56%),
    linear-gradient(45deg, transparent 58%, #243a63 58%, #243a63 74%, transparent 74%),
    #ffffff;
}

.field-group {
  display: grid;
  gap: 4px;
  margin-bottom: 11px;
}

.field-label {
  font-size: 12px;
  color: #333333;
}

.field-box {
  min-height: 22px;
  padding: 3px 6px;
  border-width: 1px;
  border-style: solid;
  border-color: #808080 #ffffff #ffffff #808080;
  background: #ffffff;
  color: #111111;
  font-size: 12px;
}

.field-box.narrow {
  width: 198px;
}

.muted-box {
  background: #f6f6f6;
}

#windowWelcome {
  top: 106px;
  left: 128px;
  width: 542px;
}

.welcome-frame {
  display: grid;
  grid-template-columns: 148px 1fr;
  min-height: 250px;
}

.welcome-side {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 20px 14px;
  color: #ffffff;
  background: #0d138e;
}

.welcome-wordmark span {
  display: block;
  font-size: 11px;
}

.welcome-wordmark strong {
  display: block;
  margin-top: 3px;
  font-size: 25px;
  line-height: 0.94;
}

.welcome-wordmark em {
  display: block;
  margin-top: 5px;
  font-style: normal;
  font-size: 15px;
}

.welcome-main {
  padding: 26px 24px 16px;
  background: #ffffff;
}

.welcome-main h2 {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.08;
}

.welcome-main p {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
}

#windowRegional,
#windowPersonalize,
#windowDate,
#windowInstallProgress {
  top: 96px;
  left: 158px;
  width: 454px;
}

.form-window,
.progress-window {
  background: var(--classic-grey);
}

.setup-page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  min-height: 72px;
  padding: 12px 14px 10px;
  border-bottom: 1px solid #acb4b8;
  background: #ffffff;
}

.setup-page-header h3 {
  margin: 0 0 3px;
  font-size: 16px;
  line-height: 1.08;
}

.setup-page-header p {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: #555555;
}

.setup-page-logo {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-width: 1px;
  border-style: solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  background: #f3f7fb;
}

.setup-page-body {
  background: var(--classic-grey-panel);
}

.setup-page-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.setup-row-copy p {
  margin: 0 0 6px;
}

.window-note {
  padding: 7px 9px;
  border-width: 1px;
  border-style: solid;
  border-color: #808080 #ffffff #ffffff #808080;
  background: #f7f7f7;
  color: #333333;
}

.compact-note {
  display: inline-block;
  min-width: 150px;
}

.window-option {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 8px;
}

.progress-body {
  padding-bottom: 10px;
}

.progress-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.progress-copy-label {
  font-size: 12px;
  color: #404040;
}

.eta-panel {
  min-width: 146px;
  padding: 4px 6px;
  border-width: 1px;
  border-style: solid;
  border-color: #ffffff #808080 #808080 #ffffff;
  background: #d8dde0;
}

.eta-label {
  display: block;
  font-size: 11px;
  color: #525252;
}

.eta-panel strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
  color: #111111;
}

.progress-body h4 {
  margin: 0 0 6px;
  font-size: 14px;
}

.progress-track,
.loading-progress {
  height: 15px;
  border: 1px solid #8b8b8b;
  background: #ffffff;
}

.progress-fill,
.loading-progress-fill,
.reboot-progress-fill {
  width: 0%;
  height: 100%;
  background: repeating-linear-gradient(90deg, #1a33d6 0, #1a33d6 18px, #ffffff 18px, #ffffff 19px);
}

.scene-reboot {
  display: grid;
  place-items: center;
  background: #000000;
  color: #f2f2f2;
}

.reboot-shell {
  width: 460px;
  text-align: center;
}

.reboot-copy {
  font-size: 18px;
  line-height: 1.45;
}

.reboot-progress {
  height: 12px;
  margin-top: 18px;
  border: 1px solid #666666;
  background: #111111;
}

.scene-boot {
  background:
    linear-gradient(180deg, #f7f7f7 0%, #f7f7f7 83%, #d7d7d7 83%, #cecece 100%);
  color: #000000;
}

.boot-shell {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.boot-mark {
  width: 118px;
  height: 92px;
}

.boot-microsoft-top {
  position: absolute;
  top: 20px;
  right: 26px;
  padding: 4px 12px 2px;
  background: #ffffff;
  font-size: 34px;
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.08em;
}

.boot-hero {
  position: absolute;
  top: 52px;
  left: 70px;
  width: 660px;
  height: 356px;
}

.boot-panels {
  position: absolute;
  left: 16px;
  top: 0;
  width: 460px;
  height: 260px;
}

.boot-panel {
  position: absolute;
  display: block;
  opacity: 0.96;
  filter: saturate(1.04);
}

.panel-yellow {
  left: 44px;
  top: 86px;
  width: 142px;
  height: 144px;
  background: linear-gradient(180deg, rgba(255, 243, 139, 0.88) 0%, rgba(228, 193, 34, 0.92) 100%);
}

.panel-red {
  left: 24px;
  top: 106px;
  width: 176px;
  height: 128px;
  background: linear-gradient(180deg, rgba(255, 182, 98, 0.58) 0%, rgba(255, 72, 17, 0.94) 45%, rgba(233, 12, 11, 0.98) 100%);
}

.panel-blue {
  left: 214px;
  top: 22px;
  width: 178px;
  height: 220px;
  background: repeating-linear-gradient(90deg, #0f2bb4 0, #0f2bb4 5px, #1942cb 5px, #1942cb 11px, #1641bc 11px, #1641bc 16px);
}

.panel-cyan {
  left: 410px;
  top: 76px;
  width: 180px;
  height: 146px;
  background: linear-gradient(180deg, rgba(123, 202, 255, 0.9) 0%, rgba(192, 232, 255, 0.96) 100%);
}

.panel-silver {
  left: 242px;
  top: 92px;
  width: 132px;
  height: 168px;
  background: linear-gradient(180deg, rgba(230, 233, 243, 0.93) 0%, rgba(179, 193, 222, 0.95) 100%);
}

.boot-emblem {
  position: absolute;
  left: 124px;
  top: 6px;
  width: 186px;
  height: 186px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border-top: 20px solid #a7caed;
  border-right: 20px solid #0d5ca7;
  border-bottom: 18px solid #ef4729;
  border-left: 20px solid #173e83;
  box-shadow: 10px 11px 16px rgba(0, 0, 0, 0.24);
}

.boot-wordmark {
  position: absolute;
  left: 62px;
  top: 242px;
  width: 560px;
  color: #000000;
}

.boot-wordmark-microsoft {
  display: block;
  margin-left: 18px;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.04em;
}

.boot-wordmark-lockup {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.boot-wordmark-windows,
.boot-wordmark-year {
  font-family: "Arial Black", Arial, sans-serif;
  font-weight: 900;
  line-height: 0.84;
}

.boot-wordmark-windows {
  font-size: 78px;
  letter-spacing: -0.1em;
}

.boot-wordmark-year {
  margin-bottom: 3px;
  font-size: 50px;
  letter-spacing: -0.07em;
}

.boot-built {
  display: block;
  margin-top: 0;
  margin-left: 252px;
  font-size: 14px;
  font-weight: 700;
  color: #000000;
  letter-spacing: 0.09em;
}

.boot-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 118px;
}

.boot-footer-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 12px;
  background: linear-gradient(180deg, #3a86e6 0%, #1853c6 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.54);
}

.boot-status-row {
  position: absolute;
  top: 30px;
  left: 184px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.boot-copy {
  font-size: 11px;
}

.boot-meter-frame {
  width: 236px;
  height: 20px;
  padding: 2px 4px;
  border: 1px solid #b6b6b6;
  background: #ffffff;
}

.boot-meter {
  display: flex;
  height: 100%;
  gap: 1px;
}

.boot-meter-block {
  width: 11px;
  height: 100%;
  border: 0;
  background: transparent;
}

.boot-meter-block.is-lit {
  background: linear-gradient(180deg, #2b61cc 0%, #0d31ba 100%);
}

.boot-copyright {
  position: absolute;
  top: 68px;
  left: 184px;
  font-size: 12px;
  color: #000000;
}

.login-background {
  position: absolute;
  inset: 0;
}

.login-dialog {
  top: 132px;
  left: 112px;
  width: 376px;
  opacity: 1;
  visibility: visible;
}

.login-brand-band,
.desktop-brand-band {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px 8px;
  border-bottom: 4px solid var(--classic-title-blue);
  background: #ffffff;
}

.login-brand-flag {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-left: 4px solid #cf1c1c;
  border-bottom: 4px solid #cf1c1c;
}

.login-brand-copy span {
  display: block;
  font-size: 11px;
}

.login-brand-copy strong {
  display: block;
  margin-top: 1px;
  font-size: 18px;
  line-height: 1;
}

.login-brand-copy em {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  color: #4f4f4f;
}

.login-brand-microsoft {
  align-self: start;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
}

.login-body {
  background: var(--classic-grey-panel);
}

.login-fields {
  display: grid;
}

.loading-shell {
  position: absolute;
  inset: 0;
}

.loading-dialog {
  top: 168px;
  left: 132px;
  width: 430px;
  opacity: 1;
  visibility: visible;
}

.loading-body {
  padding: 16px 14px 14px;
  background: var(--classic-grey-panel);
}

.loading-body p {
  margin: 0 0 12px;
  font-size: 12px;
}

.scene-desktop {
  background: var(--classic-desktop);
}

.desktop-icons {
  position: absolute;
  top: 8px;
  left: 10px;
  display: grid;
  gap: 10px;
}

.desktop-icon {
  width: 72px;
  display: grid;
  justify-items: center;
  gap: 4px;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  line-height: 1.18;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.36);
}

.desktop-glyph {
  width: 32px;
  height: 32px;
}

.desktop-taskbar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 26px;
  display: flex;
  align-items: stretch;
  background: var(--classic-grey);
  border-top: 1px solid #ffffff;
  color: #111111;
}

.start-button {
  width: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-right: 1px solid #7f7f7f;
  background: linear-gradient(180deg, #ececec 0%, #bfc5cb 100%);
  font-size: 11px;
}

.start-flag {
  width: 14px;
  height: 11px;
  background:
    linear-gradient(90deg, #f15c29 0 50%, #00a0df 50%),
    linear-gradient(90deg, #7fba00 0 50%, #ffcc00 50%);
  background-size: 100% 50%;
  background-repeat: no-repeat;
  background-position: 0 0, 0 100%;
  transform: skewX(-12deg);
}

.task-button {
  min-width: 208px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-right: 1px solid #9a9a9a;
  background: linear-gradient(180deg, #efefef 0%, #d7d7d7 100%);
  font-size: 12px;
}

.tray-area {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px;
  border-left: 1px solid #9a9a9a;
  font-size: 12px;
}

.desktop-window {
  right: 72px;
  bottom: 42px;
  width: 418px;
  opacity: 1;
  visibility: visible;
}

.desktop-brand-copy strong {
  font-size: 17px;
}

.desktop-window-body {
  display: grid;
  grid-template-columns: 126px 1fr;
  gap: 0;
  padding: 0;
  background: #ffffff;
}

.desktop-nav {
  border-right: 1px solid #c0c0c0;
  background: #f7f7f7;
}

.desktop-nav-item {
  padding: 8px 10px;
  border-bottom: 1px solid #d9d9d9;
  font-size: 12px;
}

.desktop-main-copy {
  padding: 14px 16px 12px;
}

.desktop-main-copy h2 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #7faeb4;
}

.desktop-main-copy p {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 1.48;
}

.desktop-preview {
  width: 124px;
  height: 84px;
  margin: 6px auto 10px;
  padding: 6px;
  border-width: 1px;
  border-style: solid;
  border-color: #808080 #ffffff #ffffff #808080;
  background: #dfe3e5;
}

.desktop-preview-screen {
  width: 100%;
  height: 58px;
  background: var(--classic-desktop);
  border: 1px solid #7f7f7f;
}

.desktop-preview-stand {
  width: 36px;
  height: 8px;
  margin: 6px auto 0;
  background: #a7afb4;
}

.desktop-checkline {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
}

.cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 24px;
  opacity: 0;
  z-index: 30;
  pointer-events: none;
}

.cursor-shadow,
.cursor-arrow {
  position: absolute;
  inset: 0;
  display: block;
}

.cursor-shadow {
  transform: translate(2px, 2px);
  opacity: 0.3;
  clip-path: polygon(0% 0%, 0% 100%, 24% 76%, 42% 100%, 52% 90%, 34% 68%, 58% 68%);
  background: #000000;
}

.cursor-arrow {
  clip-path: polygon(0% 0%, 0% 100%, 24% 76%, 42% 100%, 52% 90%, 34% 68%, 58% 68%);
  background: #ffffff;
  box-shadow: inset 0 0 0 1px #000000;
}

.replay-button {
  min-width: 150px;
  height: 26px;
  padding: 0 14px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--classic-line-light) #404040 #404040 var(--classic-line-light);
  background: var(--classic-grey);
  color: #111111;
  font-family: Tahoma, "Liberation Sans", Arial, sans-serif;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.replay-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .page-shell {
    padding: 16px;
  }
}
