:root {
  color-scheme: light dark;
  --design-width: 1920;
  --design-height: 1080;
  --page-background: #d8d5d0;
  --stage-background: #ffffff;
  --topbar-color: #e6e5e4;
  --sidebar-color: #f7f7f7;
  --active-color: #8bd0f0;
  --text-color: #000000;
  --button-color: #e1e1e1;
  --button-pressed-color: #cccccc;
  --toggle-on-color: #0078d7;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page-background: #d8d5d0;
    --stage-background: #ffffff;
    --topbar-color: #e6e5e4;
    --sidebar-color: #f7f7f7;
    --active-color: #8bd0f0;
    --text-color: #000000;
    --button-color: #e1e1e1;
    --button-pressed-color: #cccccc;
    --toggle-on-color: #0078d7;
  }
}

@font-face {
  font-family: "SegoeN SL Boot";
  src:
    local("segoen_slboot"),
    local("Segoe Boot Semilight"),
    local("SegoeN SL Boot"),
    url("../../assets/fonts/segoen_slboot.ttf") format("truetype");
}

* {
  box-sizing: border-box;
  user-select: none;
}

img {
  -webkit-user-drag: none;
  user-drag: none;
}

*:focus {
  outline: none !important;
  box-shadow: none !important;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--page-background);
  font-family: "Microsoft YaHei", "微软雅黑", sans-serif;
  color: var(--text-color);
  cursor: default;
}

.viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.stage {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--design-width) * 1px);
  height: calc(var(--design-height) * 1px);
  transform-origin: top left;
  background: var(--stage-background);
  display: flex;
  flex-direction: column;
}

.uefi-shell {
  width: 100%;
  height: 100%;
}

.auth-gate-screen {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #000000;
  z-index: 950;
  overflow: hidden;
}

.auth-gate-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.auth-gate-logo {
  width: 1080px;
  height: 607.5px;
  display: block;
  object-fit: fill;
  margin-top: 0;
  transform: translateY(-36px);
}

.auth-gate-loader {
  position: absolute;
  left: 50%;
  top: calc(90% - 54px);
  transform: translate(-50%, -50%) scaleX(1.18) scaleY(0.88);
  font-family: "SegoeN SL Boot", "Segoe MDL2 Assets", "Segoe Fluent Icons", sans-serif;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0;
  font-stretch: normal;
  white-space: nowrap;
  color: #ffffff;
  opacity: 0;
}

.windows-login-screen {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 1;
  visibility: hidden;
  pointer-events: none;
  z-index: 960;
  background: #000000;
  overflow: hidden;
}

.windows-login-background {
  position: absolute;
  inset: -48px;
  width: calc(100% + 96px);
  height: calc(100% + 96px);
  display: block;
  object-fit: cover;
  opacity: 0;
  filter: blur(0);
  transform: scale(1.1);
  transition:
    opacity 200ms linear,
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 200ms ease;
}

.windows-login-avatar {
  position: absolute;
  left: 50%;
  top: 35%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 500ms linear;
  pointer-events: none;
}

.windows-login-username {
  position: absolute;
  left: 50%;
  top: calc(35% + 134px);
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 30px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  opacity: 0;
  transition: opacity 200ms linear;
  pointer-events: none;
}

.windows-login-hint {
  position: absolute;
  left: 50%;
  top: calc(35% + 190px);
  transform: translateX(-50%);
  color: #ffffff;
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 300;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 200ms linear;
  pointer-events: none;
}

.windows-login-restart {
  position: absolute;
  left: 50%;
  top: calc(35% + 248px);
  min-width: 172px;
  height: 44px;
  padding: 0 24px;
  border: 2px solid #ffffff;
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 20px;
  line-height: 20px;
  font-weight: 300;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 200ms linear;
  pointer-events: none;
  cursor: default;
}

.windows-login-restart:hover {
  background: rgba(255, 255, 255, 0.22);
}

.windows-login-restart.is-pressed {
  background: rgba(222, 222, 222, 0.82);
  color: #ffffff;
}

body.keyboard-mode .windows-login-restart.is-selected::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed #ffffff;
  border-radius: 6px;
  pointer-events: none;
}

.windows-login-clock {
  position: absolute;
  left: 50%;
  top: 20%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  opacity: 0;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1), opacity 500ms linear;
  pointer-events: none;
}

.windows-login-time {
  position: static;
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 100px;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
}

.windows-login-date {
  position: static;
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  color: #ffffff;
}

.auth-gate-wait {
  position: absolute;
  left: 50%;
  top: 90%;
  transform: translate(-50%, -50%);
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 28px;
  line-height: 1.2;
  color: #ffffff;
  font-weight: 300;
  opacity: 0;
}

body.auth-gate-show-wait .auth-gate-wait {
  opacity: 1;
}

body.auth-gate-show-loader .auth-gate-loader {
  opacity: 1;
}

body.auth-gate-fading-out .auth-gate-content {
  opacity: 0;
  transition: opacity 300ms linear;
}

.pre-uefi-screen {
  position: absolute;
  inset: 0;
  display: none;
  padding: 82px 124px;
  background: #2067b2;
  z-index: 940;
  opacity: 0;
}

.pre-uefi-screen.is-transition-locked .pre-uefi-interactive {
  pointer-events: none;
}

.pre-uefi-view {
  display: none;
  opacity: 0;
}

.pre-uefi-view.is-prep {
  display: block;
  opacity: 0;
}

.pre-uefi-view.is-active {
  display: block;
  opacity: 1;
}

.pre-uefi-view.is-fading-out {
  display: block;
  opacity: 0;
  transition: opacity 200ms linear;
}

.pre-uefi-view.is-fading-in {
  display: block;
  opacity: 1;
  transition: opacity 200ms linear;
}

.pre-uefi-title {
  font-size: 52px;
  line-height: 1.08;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin-left: 18px;
}

.pre-uefi-actions {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-top: 28px;
}

.pre-uefi-column {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pre-uefi-action {
  position: relative;
  display: flex;
  align-items: center;
  width: 560px;
  min-height: 164px;
  border: 3px solid transparent;
  padding: 0 26px 0 14px;
  background: transparent;
  color: #ffffff;
  text-align: left;
  cursor: default;
}

.pre-uefi-action-compact {
  width: 560px;
  min-height: 164px;
}

.pre-uefi-action:hover {
  background: #3679c0;
}

.pre-uefi-action.is-selected {
  border-color: #ffffff;
}

.pre-uefi-action.is-pressed {
  background: #ffffff;
  color: #2067b2;
}

.pre-uefi-action.is-pressed .pre-uefi-action-title,
.pre-uefi-action.is-pressed .pre-uefi-action-subtitle {
  color: #2067b2;
}

.pre-uefi-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 124px;
  height: 124px;
  margin: 0 28px 0 0;
  background: #46a2e1;
}

.pre-uefi-icon-svg {
  width: 76px;
  height: 76px;
  color: #ffffff;
  fill: currentColor;
}

.pre-uefi-action-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
  gap: 6px;
  padding-top: 8px;
  margin-left: -6px;
}

.pre-uefi-action-title {
  display: block;
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 300;
  margin: 0;
}

.pre-uefi-action-subtitle {
  display: block;
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 300;
  margin: 0;
}

.device-page-header {
  position: relative;
  margin-left: 18px;
}

.device-page-title {
  display: block;
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 52px;
  line-height: 1.08;
  color: #ffffff;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin: 0;
}

.device-page-title-back {
  position: absolute;
  left: -80px;
  top: -8px;
  width: 72px;
  height: 72px;
  border: none;
  padding: 0;
  background: transparent;
  color: #ffffff;
  cursor: default;
}

.device-page-title-back:hover {
  color: #3679c0;
}

.device-page-title-back-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translate(-50%, -50%);
  color: #ffffff;
  fill: currentColor;
}

.device-page-title-back-icon-pressed {
  opacity: 0;
}

.device-page-title-back.is-pressed .device-page-title-back-icon-default {
  opacity: 0;
}

.device-page-title-back.is-pressed .device-page-title-back-icon-pressed {
  opacity: 1;
  color: #ffffff;
}

.device-page-empty {
  margin-top: 54px;
  margin-left: 18px;
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 22px;
  line-height: 1.3;
  color: #ffffff;
  font-weight: 300;
}

.troubleshoot-page-actions {
  margin-top: 28px;
  margin-left: 0;
}

.startup-settings-page-body {
  margin-top: 38px;
  margin-left: 18px;
  max-width: 860px;
  color: #ffffff;
}

.startup-settings-intro {
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 300;
}

.startup-settings-list {
  margin: 22px 0 0 34px;
  padding: 0;
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 22px;
  line-height: 1.9;
  font-weight: 300;
  color: #ffffff;
}

.startup-settings-restart {
  position: absolute;
  right: 124px;
  bottom: 400px;
  width: 120px;
  height: 40px;
  border: 3px solid transparent;
  padding: 0;
  background: transparent;
  color: #ffffff;
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
  cursor: default;
}

.startup-settings-restart:hover {
  background: #3679c0;
}

.startup-settings-restart.is-selected {
  border-color: #ffffff;
}

body.keyboard-mode .startup-settings-restart.is-selected::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px dashed #ffffff;
  pointer-events: none;
}

.startup-settings-restart.is-pressed {
  background: #ffffff;
  color: #2067b2;
}

.command-prompt-page-text {
  margin-top: 40px;
  margin-left: 18px;
  font-family: "Microsoft YaHei Light", "Microsoft YaHei", "微软雅黑", sans-serif;
  font-size: 22px;
  line-height: 1.4;
  font-weight: 300;
  color: #ffffff;
}

.screen-flash-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  opacity: 0.96;
  z-index: 900;
  pointer-events: none;
}

.screen-flash-overlay.half-top {
  height: 50%;
}

.screen-flash-overlay.half-bottom {
  top: 50%;
  height: 50%;
}

body.pre-uefi-active .pre-uefi-screen {
  display: block;
  opacity: 0;
}

body.pre-uefi-fading-in .pre-uefi-screen {
  display: block;
  opacity: 1;
  transition: opacity 200ms linear;
}

body.pre-uefi-fading-out .pre-uefi-screen {
  display: block;
  opacity: 0;
  transition: opacity 200ms linear;
}

body.auth-gate .stage {
  background: #000000;
}

body.auth-gate .auth-gate-screen {
  display: flex;
}

body.login-boot .stage {
  background: #000000;
}

body.login-boot-blackhold .stage {
  background: #000000;
}

body.login-boot .auth-gate-screen,
body.login-boot-blackhold .auth-gate-screen,
body.login-boot-loading .auth-gate-screen {
  display: flex;
}

body.login-boot .auth-gate-content,
body.login-boot-loading .auth-gate-content {
  opacity: 1;
}

body.login-boot-blackhold .auth-gate-content {
  opacity: 0;
}

body.login-boot .auth-gate-wait,
body.login-boot-blackhold .auth-gate-wait,
body.login-boot-loading .auth-gate-wait {
  display: none;
}

body.login-boot .auth-gate-loader,
body.login-boot-blackhold .auth-gate-loader,
body.login-boot-loading .auth-gate-loader {
  opacity: 0;
}

body.login-boot-loading .auth-gate-loader {
  opacity: 1;
}

body.auth-gate-blackhold .stage {
  background: #000000;
}

body.auth-gate-blackhold .auth-gate-screen {
  display: flex;
}

body.auth-gate-blackhold .auth-gate-content {
  opacity: 0;
}

body.pre-uefi-active .stage,
body.pre-uefi-fading-in .stage {
  background: #000000;
}

body.auth-gate .uefi-shell {
  visibility: hidden;
}

body.auth-gate,
body.auth-gate-show-wait,
body.auth-gate-show-loader,
body.auth-gate-blackhold,
body.login-boot,
body.login-boot-blackhold,
body.login-boot-loading {
  cursor: none;
}

body.auth-gate-blackhold .uefi-shell {
  visibility: hidden;
}

body.pre-uefi-active .uefi-shell,
body.pre-uefi-fading-in .uefi-shell {
  visibility: hidden;
}

body.login-boot .uefi-shell,
body.login-boot-blackhold .uefi-shell,
body.login-boot-loading .uefi-shell,
body.windows-login-active .uefi-shell {
  visibility: hidden;
}

body.auth-gate-reveal .uefi-shell {
  visibility: visible;
  animation: uefi-reveal 120ms steps(22, end) forwards;
}

body.auth-gate-reveal-fast .uefi-shell {
  visibility: visible;
  animation: uefi-reveal 80ms steps(24, end) forwards;
}

body.windows-login-active .windows-login-screen {
  visibility: visible;
  pointer-events: auto;
}

body.windows-login-visible .windows-login-background {
  opacity: 1;
  transform: scale(1);
}

body.windows-login-time-visible .windows-login-clock {
  opacity: 1;
}

body.windows-login-interacted .windows-login-clock {
  opacity: 0;
  transform: translate(-50%, -520%);
}

body.windows-login-image-interacted .windows-login-background {
  transition:
    opacity 200ms linear,
    transform 700ms cubic-bezier(0.4, 0, 0.2, 1),
    filter 5000ms cubic-bezier(0.22, 1, 0.36, 1);
  filter: blur(24px);
  transform: scale(1.03);
}

body.windows-login-avatar-visible .windows-login-avatar {
  opacity: 1;
}

body.windows-login-avatar-visible .windows-login-username {
  opacity: 1;
}

body.windows-login-avatar-visible .windows-login-hint,
body.windows-login-avatar-visible .windows-login-restart {
  opacity: 1;
  pointer-events: auto;
}

.topbar {
  width: 1920px;
  height: 100px;
  background: var(--topbar-color);
  border-bottom: 1px solid #d9d7d5;
  display: flex;
  align-items: center;
  padding: 0 28px;
}

.topbar-title {
  color: var(--text-color);
  font-size: 28px;
  line-height: 1;
  font-weight: 400;
}

.content {
  display: flex;
  width: 1920px;
  height: 980px;
}

.sidebar {
  width: 500px;
  height: 980px;
  background: var(--sidebar-color);
  display: flex;
  flex-direction: column;
}

.sidebar-item {
  width: 500px;
  height: 80px;
  border: none;
  padding: 0 26px;
  background: transparent;
  color: var(--text-color);
  text-align: left;
  font: 400 24px/80px "Microsoft YaHei", "微软雅黑", sans-serif;
  cursor: default;
}

.sidebar-item.active {
  background: var(--active-color);
  font-weight: 500;
}

.sidebar-item.keyboard-selected {
  position: relative;
}

body.keyboard-mode.sidebar-focus .sidebar-item.keyboard-selected::after {
  content: "";
  position: absolute;
  inset: 2px 3px;
  border: 3px solid #000000;
  pointer-events: none;
}

.panel-area {
  width: 1420px;
  height: 980px;
  padding: 30px 48px;
  background: #ffffff;
  position: relative;
}

.panel-area.flashing {
  visibility: hidden;
}

.panel-area.modal-close-flash {
  visibility: hidden;
}

.delay-reveal {
  visibility: hidden;
}

.panel {
  display: none;
}

.panel.active {
  display: block;
}

[data-panel-content="about"] {
  position: relative;
  min-height: 920px;
}

body.restricted-mode [data-panel-content="security"],
body.restricted-mode [data-panel-content="boot"],
body.restricted-mode [data-panel-content="date-time"] {
  color: #9e9e9e;
}

body.restricted-mode [data-panel-content="security"] .panel-title,
body.restricted-mode [data-panel-content="security"] .security-copy,
body.restricted-mode [data-panel-content="security"] .toggle-text,
body.restricted-mode [data-panel-content="boot"] .panel-title,
body.restricted-mode [data-panel-content="boot"] .security-copy,
body.restricted-mode [data-panel-content="boot"] .boot-label,
body.restricted-mode [data-panel-content="boot"] .toggle-text,
body.restricted-mode [data-panel-content="date-time"] .panel-title,
body.restricted-mode [data-panel-content="date-time"] .date-time-subtitle,
body.restricted-mode [data-panel-content="date-time"] .date-time-label,
body.restricted-mode [data-panel-content="date-time"] .date-time-copy,
body.restricted-mode [data-panel-content="date-time"] .date-time-examples,
body.restricted-mode [data-panel-content="date-time"] .date-time-examples-intro {
  color: #9e9e9e;
}

body.restricted-mode [data-panel-content="security"] .security-button,
body.restricted-mode [data-panel-content="boot"] .boot-item,
body.restricted-mode [data-panel-content="boot"] .boot-item.active,
body.restricted-mode [data-panel-content="date-time"] .date-time-input,
body.restricted-mode [data-panel-content="date-time"] .date-time-value {
  background: var(--topbar-color);
}

body.restricted-mode [data-panel-content="security"] .security-button,
body.restricted-mode [data-panel-content="boot"] .boot-item,
body.restricted-mode [data-panel-content="date-time"] .date-time-input,
body.restricted-mode [data-panel-content="date-time"] .date-time-value {
  color: #9e9e9e;
}

body.restricted-mode [data-panel-content="boot"] .boot-check,
body.restricted-mode [data-panel-content="security"] .toggle-button.off,
body.restricted-mode [data-panel-content="boot"] .toggle-button.off {
  border-color: #9e9e9e;
}

body.restricted-mode [data-panel-content="boot"] .boot-check.checked::after,
body.restricted-mode [data-panel-content="security"] .toggle-button.off::after,
body.restricted-mode [data-panel-content="boot"] .toggle-button.off::after {
  background: #9e9e9e;
}

body.restricted-mode [data-panel-content="security"] .toggle-button:not(.off),
body.restricted-mode [data-panel-content="boot"] .toggle-button:not(.off) {
  background: #8fbde0;
}

body.restricted-mode [data-panel-content="security"] .toggle-button:not(.off)::after,
body.restricted-mode [data-panel-content="boot"] .toggle-button:not(.off)::after {
  background: #ffffff;
}

body.restricted-mode [data-panel-content="boot"] .trash-icon {
  visibility: hidden !important;
}

.panel-title {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.4px;
}

.panel-spacer {
  height: 18px;
}

.panel-spacer-large {
  height: 28px;
}

.date-time-title-spacer {
  height: 34px;
}

.section-gap {
  height: 72px;
}

.info-grid {
  display: grid;
  grid-template-columns: 150px 1fr;
  row-gap: 14px;
  column-gap: 520px;
  font-size: 18px;
  line-height: 1.35;
}

.security-copy,
.info-label,
.info-value {
  color: var(--text-color);
  font-size: 18px;
  line-height: 1.7;
  font-weight: 400;
}

.security-row {
  display: flex;
  align-items: center;
  gap: 32px;
  width: 980px;
}

.security-row .security-copy {
  flex: 1 1 auto;
  line-height: 1.5;
}

.security-section-gap {
  height: 52px;
}

.security-button-wrap {
  margin-top: 28px;
}

.security-button {
  min-width: 260px;
  height: 56px;
  border: none;
  padding: 0 28px;
  background: var(--button-color);
  color: var(--text-color);
  font: 400 20px/56px "Microsoft YaHei", "微软雅黑", sans-serif;
  text-align: center;
  cursor: default;
}

.security-button:active {
  background: var(--button-pressed-color);
}

.security-button.is-disabled {
  background: var(--topbar-color);
  color: #9e9e9e;
}

.security-section.is-disabled .panel-title,
.security-section.is-disabled .security-copy {
  color: #9e9e9e;
}

.security-section.is-disabled .security-button {
  background: var(--topbar-color);
  color: #9e9e9e;
}

.security-section.is-disabled {
  color: #9e9e9e;
}

.security-section.is-disabled .panel-spacer,
.security-section.is-disabled .security-button-wrap {
  pointer-events: none;
}

.security-section.is-disabled .security-button {
  pointer-events: none;
}

body.keyboard-mode .security-button.keyboard-selected {
  position: relative;
}

body.keyboard-mode .security-button.keyboard-selected::after {
  content: "";
  position: absolute;
  inset: 2px 3px;
  border: 3px solid #000000;
  pointer-events: none;
}

.toggle-button {
  position: relative;
  width: 64px;
  height: 24px;
  margin-left: 0;
  border: none;
  border-radius: 999px;
  background: var(--toggle-on-color);
  cursor: default;
  padding: 0;
  flex: 0 0 auto;
}

.toggle-control {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.toggle-control.keyboard-selected {
  position: relative;
}

body.keyboard-mode .toggle-control.keyboard-selected::after {
  content: "";
  position: absolute;
  inset: -7px -10px;
  border: 3px solid #000000;
  pointer-events: none;
}

.toggle-text {
  display: flex;
  gap: 10px;
  min-width: 40px;
  font-size: 18px;
  line-height: 1;
  color: var(--text-color);
}

.toggle-button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 42px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffffff;
  transform: translateY(-50%);
}

.toggle-button.off {
  border: 2px solid #000000;
  background: #ffffff;
}

.toggle-button.off::after {
  left: 3px;
  background: #000000;
}

.boot-copy {
  margin-top: 0;
}

.boot-flash-group.flashing {
  visibility: hidden;
}

.boot-list-wrap {
  margin-top: 34px;
}

.boot-advanced-list {
  width: 980px;
}

.boot-advanced-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-height: 56px;
}

.boot-advanced-item + .boot-advanced-item {
  margin-top: 18px;
}

.boot-advanced-item .security-copy {
  flex: 1 1 auto;
  line-height: 1.5;
}

.boot-advanced-item .toggle-button {
  margin-left: 0;
}

.boot-list {
  width: 760px;
  background: var(--sidebar-color);
}

.boot-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 0 22px;
  border: none;
  background: transparent;
  color: var(--text-color);
  font: 400 20px/1.3 "Microsoft YaHei", "微软雅黑", sans-serif;
  text-align: left;
  cursor: default;
  user-select: none;
}

.boot-item.active {
  background: var(--active-color);
}

.boot-config-section.locked .panel-title,
.boot-config-section.locked .boot-copy,
.boot-config-list-wrap.locked .boot-label {
  color: #a5a5a5;
}

.boot-config-list-wrap.locked .boot-item,
.boot-config-list-wrap.locked .boot-item.active {
  background: var(--topbar-color);
}

.boot-config-list-wrap.locked .boot-check {
  border-color: #a5a5a5;
  background: var(--topbar-color);
}

.boot-config-list-wrap.locked .boot-check.checked::after {
  background: #a5a5a5;
}

.boot-config-list-wrap.locked .trash-icon {
  visibility: hidden !important;
}

.boot-check {
  position: relative;
  width: 22px;
  height: 22px;
  margin-right: 18px;
  border: 2px solid #000000;
  background: #ffffff;
  flex: 0 0 auto;
  cursor: default;
}

.boot-check.checked::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 14px;
  height: 14px;
  background: #000000;
}

.boot-label {
  flex: 1 1 auto;
}

.trash-icon {
  display: block;
  width: 18px;
  height: 18px;
  margin-left: 20px;
  flex: 0 0 auto;
  visibility: hidden;
  background: center / contain no-repeat url("../../img/trash.png");
}

.boot-item.active .trash-icon {
  visibility: visible;
}

.date-time-subtitle {
  margin-bottom: 34px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text-color);
}

.date-time-form {
  width: 760px;
  margin-bottom: 34px;
}

.date-time-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: center;
  column-gap: 300px;
  min-height: 44px;
}

.date-time-row + .date-time-row {
  margin-top: 34px;
}

.date-time-label {
  font-size: 18px;
  line-height: 1.4;
  color: var(--text-color);
}

.date-time-value {
  width: 240px;
  height: 36px;
  padding: 0 10px;
  background: #f5f5f5;
  font-size: 18px;
  line-height: 36px;
  color: var(--text-color);
}

.date-time-input {
  width: 240px;
  height: 36px;
  border: none;
  padding: 0 10px;
  background: #f5f5f5;
  font: 18px/36px "Microsoft YaHei", "微软雅黑", sans-serif;
  color: var(--text-color);
  outline: none;
  ime-mode: disabled;
  cursor: default;
  caret-color: transparent;
}

.date-time-input.keyboard-selected {
  background: var(--topbar-color);
}

.date-time-copy {
  max-width: 1040px;
  margin-top: 14px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-color);
}

.date-time-examples {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-color);
}

.date-time-examples-intro {
  margin-top: 18px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-color);
}

.about-copy {
  max-width: 1120px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-color);
}

.about-section-gap {
  height: 42px;
}

.about-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  row-gap: 18px;
  column-gap: 180px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-color);
}

.about-label {
  color: var(--text-color);
}

.about-value {
  color: var(--text-color);
}

.about-list {
  display: grid;
  row-gap: 14px;
  max-width: 1120px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-color);
}

.about-credit {
  position: absolute;
  right: 48px;
  bottom: 30px;
  font-size: 16px;
  line-height: 1.4;
  color: var(--text-color);
}

.modal-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  z-index: 1000;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-overlay.closing-wipe .modal-frame {
  animation: modal-wipe-close 140ms steps(18, end) forwards;
}

.modal-overlay.closing-instant .modal-frame {
  opacity: 0;
}

.modal-frame {
  width: 1120px;
  height: 660px;
  padding: 0 4px 4px;
  background: var(--topbar-color);
}

.modal-titlebar {
  height: 44px;
  padding: 0 18px;
  background: var(--topbar-color);
  color: var(--text-color);
  font: 400 18px/44px "Microsoft YaHei", "微软雅黑", sans-serif;
}

.modal-body {
  height: calc(100% - 44px);
  background: #2067b2;
  padding: 34px 40px 32px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.modal-heading {
  margin: 0;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
  color: #ffffff;
}

.modal-copy {
  max-width: 920px;
  margin-top: 28px;
  font-size: 18px;
  line-height: 1.65;
  color: #ffffff;
}

.modal-delete-name {
  margin-top: 34px;
  font-size: 20px;
  line-height: 1.4;
  color: #ffffff;
}

.modal-error {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: #ffd84d;
}

.modal-inputs {
  display: grid;
  row-gap: 18px;
  width: 540px;
  margin-top: 34px;
}

.modal-option-list {
  width: 450px;
  margin-top: 34px;
  background: var(--sidebar-color);
}

.modal-option-item {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 62px;
  border: none;
  padding: 0 18px;
  background: transparent;
  color: var(--text-color);
  font: 400 16px/1.3 "Microsoft YaHei", "微软雅黑", sans-serif;
  text-align: left;
  cursor: default;
}

.modal-option-item.is-active {
  background: var(--active-color);
}

.modal-input {
  height: 48px;
  border: none;
  padding: 0 14px;
  background: var(--active-color);
  color: #000000;
  font: 400 18px/48px "Microsoft YaHei", "微软雅黑", sans-serif;
  outline: none;
  cursor: default;
  caret-color: transparent;
  letter-spacing: 0.32em;
}

.modal-input.is-active {
  background: #ffffff;
}

.modal-input::placeholder {
  color: #b8b8b8;
  letter-spacing: 0;
}

.modal-input:focus {
  outline: none;
  box-shadow: none;
}

.modal-actions {
  position: absolute;
  right: 40px;
  bottom: 32px;
  display: flex;
  gap: 18px;
}

.modal-action {
  min-width: 148px;
  height: 40px;
  border: 2px solid #ffffff;
  padding: 0 18px;
  background: #2067b2;
  color: #ffffff;
  font: 400 18px/36px "Microsoft YaHei", "微软雅黑", sans-serif;
  cursor: default;
}

.modal-action:focus {
  outline: none;
  box-shadow: none;
}

.modal-action.is-selected {
  background: #1084e3;
}

.modal-action.is-pressed,
.modal-action:active {
  background: #4aafff;
}

@keyframes modal-wipe-close {
  from {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }

  to {
    clip-path: inset(100% 0 0 0);
    opacity: 1;
  }
}

@keyframes uefi-reveal {
  from {
    clip-path: inset(0 0 100% 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }
}
