/* Windows 11 Fluent-style tutorial mocks */

.ui-mock {
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  overflow: hidden;
  background: #e8e8e8;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.ui-mock-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.85rem;
  background: #f6f6f6;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  color: #5d5d5d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.ui-mock-win-mark {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 0.15rem;
  background:
    linear-gradient(#00a4ef 50%, #7fba00 50%) 0 0 / 50% 100%,
    linear-gradient(#ffb900 50%, #f25022 50%) 100% 0 / 50% 100%;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.ui-mock-screen {
  min-height: 280px;
  font-family: "Segoe UI Variable", "Segoe UI", system-ui, sans-serif;
  color: #1a1a1a;
}

/* Desktop shell */
.w11-desktop {
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.w11-desktop.power-off {
  min-height: 260px;
  background: #0b0b0b;
  align-items: center;
  justify-content: center;
}

.w11-wallpaper {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 320px at 12% 18%, rgba(88, 170, 255, 0.55), transparent 55%),
    radial-gradient(700px 360px at 88% 30%, rgba(160, 90, 220, 0.35), transparent 50%),
    radial-gradient(800px 420px at 50% 110%, rgba(40, 80, 160, 0.55), transparent 55%),
    linear-gradient(160deg, #1b3a6b 0%, #24548f 38%, #5b87c7 72%, #9ec3ef 100%);
}

.w11-desktop.is-dimmed .w11-wallpaper {
  filter: brightness(0.45) saturate(0.8);
}

.w11-stage {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 1rem 3.4rem;
  gap: 0.75rem;
}

.w11-callout {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 40, 0.78);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 650;
  text-align: center;
  max-width: 92%;
  backdrop-filter: blur(8px);
}

/* Taskbar */
.w11-taskbar {
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.45rem;
  z-index: 3;
  height: 2.55rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 0.4rem;
  border-radius: 0.55rem;
  background: rgba(232, 232, 232, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(30px) saturate(1.4);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
}

.w11-taskbar-center {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.w11-taskbar-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0.15rem 0.25rem;
  border-radius: 0.35rem;
}

.w11-tb-btn,
.w11-tb-sys,
.w11-tb-chevron,
.w11-tb-clock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 2.05rem;
  height: 2.05rem;
  border-radius: 0.35rem;
  color: #1c1c1c;
}

.w11-tb-btn svg,
.w11-tb-sys svg,
.w11-tb-chevron svg,
.w11-qs-icon svg,
.w11-wifi-ico svg,
.w11-title-icon svg,
.w11-app-ico svg,
.w11-nav-item svg,
.w11-snip-tool svg,
.w11-caption svg,
.w11-security-item svg,
.w11-update-ico svg,
.w11-power-glyph svg,
.w11-success-ico svg,
.w11-avatar svg,
.w11-file svg,
.w11-file-row svg,
.w11-menu-item svg,
.w11-explorer-toolbar svg,
.w11-explorer-path svg,
.w11-explorer-search svg,
.w11-browser-bar svg,
.w11-settings-search svg,
.w11-toast svg,
.w11-rd-app svg {
  width: 1.05rem;
  height: 1.05rem;
}

.w11-tb-sys svg { width: 0.92rem; height: 0.92rem; }
.w11-tb-chevron svg { width: 0.8rem; height: 0.8rem; }

.w11-tb-clock {
  min-width: 2.6rem;
  flex-direction: column;
  line-height: 1.05;
  font-size: 0.68rem;
  font-weight: 650;
}

.w11-tb-btn.is-callout,
.w11-taskbar-right.is-callout,
.w11-tb-sys.is-callout,
.is-callout {
  box-shadow: 0 0 0 2px #005fb8, 0 0 0 5px rgba(0, 95, 184, 0.28);
}

/* Shared window chrome */
.w11-window,
.w11-flyout,
.w11-start,
.w11-account-flyout,
.w11-toast,
.w11-password-card {
  position: relative;
  z-index: 2;
  background: rgba(243, 243, 243, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.7rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(40px) saturate(1.35);
  -webkit-backdrop-filter: blur(40px) saturate(1.35);
  color: #1a1a1a;
}

.w11-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2rem;
  padding: 0 0 0 0.7rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #f3f3f3;
  border-radius: 0.7rem 0.7rem 0 0;
}

.w11-titlebar.browser {
  background: #e9e9e9;
  padding-left: 0.45rem;
}

.w11-titlebar-left {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.w11-title-text {
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.w11-caption {
  display: flex;
  align-self: stretch;
}

.w11-caption span {
  width: 2.4rem;
  display: grid;
  place-items: center;
  color: #1a1a1a;
}

.w11-caption-close:hover {
  background: #e81123;
  color: #fff;
}

.w11-muted {
  color: #5d5d5d;
  font-size: 0.8rem;
}

.w11-section-label {
  margin: 0.55rem 0 0.35rem;
  color: #5d5d5d;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.w11-field-label {
  display: block;
  margin: 0.55rem 0 0.25rem;
  font-size: 0.78rem;
  font-weight: 650;
}

.w11-textfield {
  padding: 0.55rem 0.7rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-bottom: 2px solid #005fb8;
  background: #fff;
  font-size: 0.88rem;
  color: #1a1a1a;
}

.w11-textfield.dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  border-bottom-color: #60cdff;
  color: #fff;
}

.w11-textfield.pin {
  max-width: 11rem;
  margin: 0.6rem auto;
  text-align: center;
  letter-spacing: 0.2em;
}

.w11-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 1.9rem;
  padding: 0.35rem 0.85rem;
  border-radius: 0.35rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  color: #1a1a1a;
  font-size: 0.82rem;
  font-weight: 650;
}

.w11-btn.sm { min-height: 1.65rem; padding: 0.25rem 0.65rem; font-size: 0.76rem; }
.w11-btn.accent { background: #005fb8; border-color: #005fb8; color: #fff; }
.w11-btn.ghost { background: transparent; border-color: transparent; }
.w11-btn.ghost-light { background: transparent; border-color: rgba(255,255,255,0.3); color: #fff; }

.w11-btn-row {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.w11-btn-row.end { justify-content: flex-end; }
.w11-btn-row.center { justify-content: center; }

.w11-link { color: #005fb8; font-size: 0.8rem; font-weight: 650; margin-right: auto; }

.w11-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.55rem;
  font-size: 0.82rem;
}

.w11-checkbox {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 0.2rem;
  border: 1px solid rgba(0, 0, 0, 0.35);
  background: #fff;
  display: inline-block;
}

.w11-checkbox.is-on {
  background: #005fb8;
  border-color: #005fb8;
  box-shadow: inset 0 0 0 2px #005fb8;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.2 4.2L19 7.5'/%3E%3C/svg%3E");
  background-size: 0.85rem;
  background-repeat: no-repeat;
  background-position: center;
}

.w11-switch {
  width: 2.35rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #8a8a8a;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.w11-switch span,
.w11-switch::after {
  content: "";
  position: absolute;
  top: 0.12rem;
  left: 0.12rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 999px;
  background: #fff;
  transition: left 0.15s ease;
}

.w11-switch.is-on { background: #005fb8; }
.w11-switch.is-on span,
.w11-switch.is-on::after { left: 1.3rem; }

.w11-app-ico {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 0.35rem;
  display: grid;
  place-items: center;
  background: #fff;
  flex-shrink: 0;
}

.w11-app-ico.tint-blue { background: #e8f3ff; color: #005fb8; }
.w11-app-ico.tint-grey { background: #efefef; }

.w11-slider {
  flex: 1;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.12);
  overflow: visible;
  position: relative;
}

.w11-slider i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #005fb8;
  position: relative;
}

.w11-slider i::after {
  content: "";
  position: absolute;
  right: -0.35rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #005fb8;
  transform: translateY(-50%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

/* Quick Settings / Wi‑Fi flyouts */
.w11-flyout {
  width: min(100%, 21rem);
  padding: 0.75rem;
}

.w11-qs.compact { width: min(100%, 18rem); }

.w11-qs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.w11-qs-tile {
  min-height: 4.4rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.w11-qs-tile.wide { grid-column: 1 / -1; }
.w11-qs-tile.is-on { background: #005fb8; color: #fff; border-color: #005fb8; }
.w11-qs-tile-top { display: flex; justify-content: space-between; align-items: center; }
.w11-qs-label { font-size: 0.78rem; font-weight: 700; }
.w11-qs-sub { font-size: 0.7rem; opacity: 0.85; }
.w11-qs-arrow { opacity: 0.85; }
.w11-qs-arrow svg { width: 0.85rem; height: 0.85rem; }

.w11-qs-sliders {
  display: grid;
  gap: 0.7rem;
  margin-top: 0.75rem;
}

.w11-qs-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.w11-qs-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.78rem;
  font-weight: 650;
  color: #5d5d5d;
}

.w11-qs-footer span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.w11-flyout-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.w11-wifi-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem 0.5rem;
  border-radius: 0.4rem;
}

.w11-wifi-item + .w11-wifi-item { margin-top: 0.15rem; }
.w11-wifi-item.is-selected { background: rgba(0, 95, 184, 0.12); }
.w11-wifi-item div { display: flex; flex-direction: column; line-height: 1.2; }
.w11-wifi-item strong { font-size: 0.86rem; }
.w11-wifi-item span { font-size: 0.72rem; color: #5d5d5d; }
.w11-wifi-lock { color: #5d5d5d; }
.w11-wifi-lock svg { width: 0.85rem; height: 0.85rem; }

.w11-device-pick {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.25rem;
}

.w11-device-pick div {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.35rem;
  font-size: 0.82rem;
  font-weight: 650;
}

.w11-device-pick .is-selected { background: rgba(0, 95, 184, 0.12); }

/* Start menu */
.w11-start {
  width: min(100%, 22rem);
  padding: 0.85rem;
}

.w11-start-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #5d5d5d;
  font-size: 0.88rem;
}

.w11-start-search.focused {
  border-color: #005fb8;
  box-shadow: 0 0 0 1px #005fb8;
  color: #1a1a1a;
}

.w11-start-result {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 0.45rem;
}

.w11-start-result.is-selected { background: rgba(0, 95, 184, 0.12); }
.w11-start-result strong { display: block; font-size: 0.88rem; }
.w11-start-result span { color: #5d5d5d; font-size: 0.75rem; }

.w11-context-menu {
  position: absolute;
  right: 1.2rem;
  top: 4.5rem;
  z-index: 5;
  min-width: 11rem;
  padding: 0.35rem;
  border-radius: 0.5rem;
  background: rgba(249, 249, 249, 0.96);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.w11-context-menu div,
.w11-menu-item {
  padding: 0.45rem 0.65rem;
  border-radius: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.w11-context-menu .is-selected,
.w11-menu-item.is-selected {
  background: rgba(0, 95, 184, 0.14);
}

.w11-account-flyout {
  width: min(100%, 16rem);
  padding: 0.55rem;
}

.w11-account-user {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: center;
  padding: 0.45rem;
  margin-bottom: 0.25rem;
}

.w11-account-user strong { display: block; font-size: 0.86rem; }
.w11-account-user span { font-size: 0.72rem; color: #5d5d5d; }

.w11-avatar {
  width: 4rem;
  height: 4rem;
  margin: 0 auto;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #4a90d9;
  color: #fff;
}

.w11-avatar.sm { width: 2.2rem; height: 2.2rem; margin: 0; }
.w11-avatar svg { width: 1.6rem; height: 1.6rem; }
.w11-avatar.sm svg { width: 1.1rem; height: 1.1rem; }

/* Settings */
.w11-settings {
  width: min(100%, 34rem);
  overflow: hidden;
}

.w11-settings-body {
  display: grid;
  grid-template-columns: 11rem 1fr;
  min-height: 15rem;
  background: #f3f3f3;
}

.w11-settings-nav {
  padding: 0.65rem 0.45rem;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 0.15rem;
  align-content: start;
}

.w11-settings-search {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0.25rem 0.55rem;
  padding: 0.4rem 0.55rem;
  border-radius: 0.3rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #5d5d5d;
  font-size: 0.75rem;
}

.w11-nav-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.35rem;
  font-size: 0.78rem;
  font-weight: 650;
  color: #1a1a1a;
}

.w11-nav-item.is-active {
  background: rgba(0, 0, 0, 0.06);
  box-shadow: inset 3px 0 0 #005fb8;
}

.w11-settings-main {
  padding: 0.85rem 1rem 1rem;
  background: #f9f9f9;
}

.w11-settings-main h3 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.w11-settings-card,
.w11-update-card {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  margin-top: 0.65rem;
  border-radius: 0.55rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.w11-settings-card > div,
.w11-update-card > div {
  flex: 1;
  min-width: 0;
}

.w11-settings-card strong,
.w11-update-card strong {
  display: block;
  font-size: 0.88rem;
}

.w11-settings-card span,
.w11-update-card span {
  color: #5d5d5d;
  font-size: 0.75rem;
}

.w11-dropdown {
  padding: 0.35rem 0.55rem;
  border-radius: 0.3rem;
  background: #f3f3f3;
  border: 1px solid rgba(0, 0, 0, 0.12);
  font-size: 0.78rem;
  font-weight: 650;
  white-space: nowrap;
}

.w11-update-ico {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #e8f3ff;
  color: #005fb8;
}

.w11-update-ico svg { width: 1.25rem; height: 1.25rem; }

.w11-display-arrange {
  display: flex;
  gap: 0.65rem;
  align-items: flex-end;
  padding: 0.85rem;
  margin: 0.65rem 0;
  border-radius: 0.55rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.w11-disp-box {
  width: 5.5rem;
  height: 3.4rem;
  border-radius: 0.25rem;
  border: 2px solid #8a8a8a;
  display: grid;
  place-items: center;
  font-weight: 750;
  background: #f3f3f3;
}

.w11-disp-box.primary {
  border-color: #005fb8;
  box-shadow: 0 0 0 2px rgba(0, 95, 184, 0.2);
}

/* Explorer */
.w11-explorer {
  width: min(100%, 34rem);
  overflow: hidden;
}

.w11-explorer-toolbar {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.45rem 0.65rem;
  background: #f3f3f3;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.78rem;
  font-weight: 650;
}

.w11-explorer-path,
.w11-explorer-search {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 1.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.3rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #5d5d5d;
}

.w11-explorer-body {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  min-height: 12rem;
  background: #fff;
}

.w11-explorer-body aside {
  padding: 0.55rem 0.35rem;
  background: #f3f3f3;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 0.1rem;
  align-content: start;
}

.w11-explorer-body aside div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.76rem;
  font-weight: 650;
}

.w11-explorer-body aside div.is-active {
  background: rgba(0, 0, 0, 0.07);
}

.w11-explorer-body aside svg {
  width: 0.95rem;
  height: 0.95rem;
}

.w11-explorer-files {
  position: relative;
  padding: 0.75rem;
}

.w11-file-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
}

.w11-file-grid.faded { opacity: 0.45; }

.w11-file {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 0.25rem;
  border-radius: 0.35rem;
  font-size: 0.72rem;
  font-weight: 650;
  text-align: center;
}

.w11-file svg { width: 1.8rem; height: 1.8rem; }

.w11-file-rows { display: grid; gap: 0.2rem; }

.w11-file-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
  padding: 0.4rem 0.45rem;
  border-radius: 0.3rem;
  font-size: 0.82rem;
  font-weight: 650;
}

.w11-file-row em {
  font-style: normal;
  color: #5d5d5d;
  font-size: 0.72rem;
  font-weight: 600;
}

.w11-dialog {
  width: min(100%, 22rem);
  overflow: hidden;
}

.w11-dialog-body {
  padding: 0.9rem 1rem 1rem;
  background: #fff;
}

.w11-dialog-body.center { text-align: center; }
.w11-dialog-body p { margin-bottom: 0.55rem; font-size: 0.9rem; }

/* Snipping */
.w11-snip-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.35rem;
  border-radius: 0.55rem;
  background: rgba(32, 32, 32, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  color: #fff;
}

.w11-snip-tool {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 0.35rem;
}

.w11-snip-tool.is-on { background: rgba(255, 255, 255, 0.14); }
.w11-snip-divider {
  width: 1px;
  height: 1.2rem;
  margin: 0 0.2rem;
  background: rgba(255, 255, 255, 0.2);
}

.w11-snip-select {
  width: min(70%, 16rem);
  height: 6.5rem;
  border: 2px solid #fff;
  box-shadow: 0 0 0 999px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.05);
}

.w11-snip-app { width: min(100%, 24rem); overflow: hidden; }

.w11-snip-toolbar {
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem 0.65rem;
  background: #f3f3f3;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.w11-snip-preview {
  min-height: 8rem;
  margin: 0.75rem;
  border-radius: 0.35rem;
  background:
    linear-gradient(135deg, #dbeafe, #eff6ff);
  border: 1px dashed rgba(0, 95, 184, 0.35);
  display: grid;
  place-items: center;
  color: #5d5d5d;
  font-size: 0.85rem;
  font-weight: 650;
}

/* Lock / security */
.w11-lock,
.w11-security-screen {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
}

.w11-lock-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 340px at 20% 20%, rgba(120, 180, 255, 0.45), transparent 55%),
    linear-gradient(160deg, #1a3358, #2a4f86 55%, #6ea0d8);
  filter: brightness(0.85);
}

.w11-lock-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1rem;
}

.w11-lock-time {
  font-size: 3.4rem;
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
}

.w11-lock-date,
.w11-lock-user {
  margin-top: 0.25rem;
  font-size: 1.05rem;
  font-weight: 550;
}

.w11-security-screen {
  background: #1f1f1f;
}

.w11-security-options {
  display: grid;
  gap: 0.65rem;
  width: min(100% - 2rem, 18rem);
}

.w11-security-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 650;
}

.w11-password-card {
  width: min(100% - 2rem, 20rem);
  padding: 1.1rem;
  background: rgba(32, 32, 32, 0.92);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}

.w11-password-card h3 {
  margin-bottom: 0.35rem;
  font-weight: 650;
}

.w11-password-card.success {
  text-align: center;
  padding: 2rem 1rem;
}

.w11-success-ico {
  width: 2.6rem;
  height: 2.6rem;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(15, 122, 90, 0.25);
  color: #6cd59a;
}

/* Browser / Outlook / RD */
.w11-browser,
.w11-outlook,
.w11-ms-login {
  width: min(100%, 34rem);
  overflow: hidden;
}

.w11-tabs {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.w11-tab {
  padding: 0.35rem 0.7rem;
  border-radius: 0.4rem 0.4rem 0 0;
  background: #fff;
  font-size: 0.75rem;
  font-weight: 650;
}

.w11-tab-new {
  width: 1.5rem;
  height: 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 0.3rem;
  font-weight: 700;
  color: #5d5d5d;
}

.w11-browser-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.65rem;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.w11-address {
  flex: 1;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: #f3f3f3;
  font-size: 0.78rem;
  color: #5d5d5d;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.w11-browser-page {
  min-height: 10rem;
  background: #fff;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.w11-ms-hero,
.w11-ms-login-body {
  width: min(100%, 18rem);
  text-align: left;
}

.w11-ms-brand,
.w11-ms-hero strong {
  color: #5d5d5d;
  font-size: 0.9rem;
}

.w11-ms-login-body {
  padding: 1.25rem;
  background: #fff;
}

.w11-ms-login-body h3 {
  font-size: 1.4rem;
  margin: 0.35rem 0 0.85rem;
}

.w11-rdweb { text-align: center; }
.w11-rdweb h3 { margin-bottom: 0.75rem; }
.w11-rd-app {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 0.85rem 1rem;
  border-radius: 0.45rem;
  background: #f3f3f3;
  font-weight: 700;
  font-size: 0.82rem;
}

.w11-outlook-body {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  min-height: 12rem;
  background: #fff;
}

.w11-outlook-body aside {
  padding: 0.65rem 0.45rem;
  background: #f3f3f3;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 0.25rem;
  align-content: start;
  font-size: 0.78rem;
  font-weight: 650;
}

.w11-outlook-body aside div {
  padding: 0.4rem 0.5rem;
  border-radius: 0.3rem;
}

.w11-outlook-body aside .is-active {
  background: rgba(0, 95, 184, 0.12);
  color: #005fb8;
}

.w11-mail-list { padding: 0.35rem; }
.w11-mail-item {
  padding: 0.55rem 0.6rem;
  border-radius: 0.35rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.w11-mail-item strong { display: block; font-size: 0.86rem; }
.w11-mail-item span { color: #5d5d5d; font-size: 0.75rem; }
.w11-mail-item.unread strong { color: #005fb8; }

/* Devices / toast / lists */
.w11-device-scene {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.5rem;
}

.w11-monitor-unit { text-align: center; }
.w11-monitor-screen {
  width: 6.5rem;
  height: 4rem;
  border-radius: 0.3rem;
  border: 3px solid #2b2b2b;
  background: linear-gradient(160deg, #1b3a6b, #5b87c7);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 750;
}
.w11-monitor-screen.secondary { background: linear-gradient(160deg, #244868, #7aa0c8); }
.w11-monitor-stand {
  width: 1.4rem;
  height: 0.55rem;
  margin: 0.2rem auto 0;
  background: #2b2b2b;
  border-radius: 0 0 0.2rem 0.2rem;
}
.w11-hdmi-cable {
  font-size: 0.72rem;
  font-weight: 750;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.25rem 0.45rem;
  border-radius: 999px;
}

.w11-toast {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  width: min(100%, 18rem);
  padding: 0.75rem;
  align-self: flex-end;
  margin-left: auto;
}

.w11-toast strong { display: block; font-size: 0.86rem; }
.w11-toast span { color: #5d5d5d; font-size: 0.75rem; }

.w11-eject { width: min(100%, 16rem); padding: 0.4rem; }

.w11-list-panel,
.w11-taskmgr-main,
.w11-services-body {
  background: #fff;
}

.w11-list-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.6fr;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.w11-list-panel .w11-list-row,
.w11-services-body .w11-list-row {
  grid-template-columns: 1.5fr 1fr;
}

.w11-list-row.head {
  font-weight: 750;
  color: #5d5d5d;
  background: #f9f9f9;
}

.w11-list-row.is-selected,
.w11-list-row.danger {
  background: rgba(0, 95, 184, 0.1);
}

.w11-list-row.danger { background: rgba(196, 43, 28, 0.1); }
.w11-danger { color: #c42b1c; font-weight: 700; }

.w11-taskmgr {
  width: min(100%, 34rem);
  overflow: hidden;
}

.w11-taskmgr-body {
  display: grid;
  grid-template-columns: 9rem 1fr;
  min-height: 12rem;
}

.w11-taskmgr-body aside {
  padding: 0.55rem 0.35rem;
  background: #f3f3f3;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  display: grid;
  gap: 0.15rem;
  align-content: start;
}

.w11-taskmgr-body aside div {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.5rem;
  border-radius: 0.3rem;
  font-size: 0.76rem;
  font-weight: 650;
}

.w11-taskmgr-body aside .is-active {
  background: rgba(0, 0, 0, 0.07);
}

.w11-taskmgr-body aside svg {
  width: 0.95rem;
  height: 0.95rem;
}

.w11-services {
  width: min(100%, 32rem);
  overflow: hidden;
}

.w11-services-body { padding-bottom: 0.75rem; }

.w11-power-hint {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding: 1rem;
}

.w11-power-glyph {
  width: 3.2rem;
  height: 3.2rem;
  margin: 0 auto 0.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.w11-power-glyph svg { width: 1.6rem; height: 1.6rem; }

@media (max-width: 720px) {
  .w11-settings-body,
  .w11-explorer-body,
  .w11-outlook-body,
  .w11-taskmgr-body {
    grid-template-columns: 1fr;
  }

  .w11-settings-nav,
  .w11-explorer-body aside,
  .w11-outlook-body aside,
  .w11-taskmgr-body aside {
    display: none;
  }

  .w11-file-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .w11-settings,
  .w11-explorer,
  .w11-browser,
  .w11-outlook,
  .w11-taskmgr {
    width: 100%;
  }
}
