.nt-skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 1000001;
  background: #fff;
  color: #111;
  padding: 10px;
}
.nt-skip:focus {
  top: 8px;
}
[data-nt-app] {
  --cs-action: #0f172a;
  --cs-action-hover: #1e293b;
  --cs-action-text: #fff;
  --text-primary: #12100c;
  --text-muted: #706f6d;
  --border: #9b9996;
  --bg-page: #fff;
  --bg-muted: #f4f4f3;
  --border-color: #deddd9;
  color: var(--text-primary);
  width: 100%;
  padding: 0 20px 50px;
  box-sizing: border-box;
}
.dark [data-nt-app] {
  --text-primary: #e6e3e0;
  --text-muted: #aaa7a2;
  --border: #77736e;
  --bg-page: #121212;
  --bg-muted: #242424;
  --border-color: #3a3835;
  --cs-action: #e6e3e0;
  --cs-action-hover: #fff;
  --cs-action-text: #121212;
}
[data-nt-app] *,
[data-nt-app] *::before,
[data-nt-app] *::after {
  box-sizing: border-box;
}
[data-nt-app] [hidden] {
  display: none !important;
}
[data-nt-app] > h1 {
  font-size: 48px;
  line-height: 1.15;
  font-weight: 400;
  padding: 20px 0 10px;
  margin: 0 0 6px;
  text-align: center;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}
[data-nt-app] .nt-layout {
  display: grid;
  grid-template-columns: 234px minmax(0, 456px) 234px;
  gap: 20px;
  align-items: start;
  justify-content: center;
  max-width: 1000px;
  margin: auto;
}
[data-nt-app] .nt-related {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-height: 320px;
  padding: 8px 0;
}
[data-nt-app] .nt-related a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  color: var(--text-primary);
  border-radius: 5px;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
}
[data-nt-app] .nt-related a:hover {
  background: var(--bg-muted);
}
[data-nt-app] .nt-related img {
  width: 64px;
  height: 40px;
  flex: none;
  border-radius: 5px;
  object-fit: contain;
  box-shadow: 0 6px 20px #0002;
}
[data-nt-app] .nt-view {
  width: 100%;
  height: 320px;
  margin: 8px 0 24px;
  position: relative;
  border: 2px solid #0003;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px #0001,
    0 12px 32px -4px #0003,
    0 4px 12px -2px #0001;
  background: #000;
  overflow: hidden;
  isolation: isolate;
}
[data-nt-app] .nt-stage {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  container-type: size;
  cursor: pointer;
}
[data-nt-app] .nt-loading {
  color: #fff;
  display: grid;
  place-items: center;
  height: 100%;
  font-size: 14px;
}
[data-nt-app] .nt-fullscreen {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #ffffffec;
  color: #111;
  border: 1px solid #0002;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 11px;
  cursor: pointer;
  box-shadow: 0 2px 10px #0002;
}
[data-nt-app] .nt-view:has(.sim-call) .nt-fullscreen {
  top: 7px;
  bottom: auto;
  right: 7px;
  padding: 7px;
}
[data-nt-app] .nt-view:has(.sim-call) .nt-fullscreen span {
  display: none;
}
[data-nt-app] .nt-view .sim-call-top {
  padding-right: 44px;
}
[data-nt-app] .nt-panel {
  padding: 8px 0;
  min-width: 0;
  background: var(--bg-page);
  color: var(--text-primary);
}
[data-nt-app] .nt-panel h2 {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-primary);
}
[data-nt-app] .nt-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
[data-nt-app] .nt-stepper {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) 36px;
  gap: 6px;
}
[data-nt-app] .nt-field {
  display: grid;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}
[data-nt-app] .nt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
}
[data-nt-app] .nt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
[data-nt-app] .nt-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  font-weight: 650;
}
[data-nt-app] .nt-help {
  font-size: 11px;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}
[data-nt-app] .nt-status {
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
}
[data-nt-app] .nt-status:empty {
  display: none;
}
[data-nt-app] .nt-btn,
[data-nt-app] .nt-primary,
[data-nt-app] .nt-segment button {
  cursor: pointer;
  min-height: 34px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 7px 10px;
  background: transparent;
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}
[data-nt-app] .nt-btn:hover,
[data-nt-app] .nt-segment button:hover {
  background: var(--bg-muted);
}
[data-nt-app] .nt-primary {
  background: var(--cs-action);
  color: var(--cs-action-text);
  border-color: var(--cs-action);
}
[data-nt-app] .nt-primary:hover {
  background: var(--cs-action-hover);
}
[data-nt-app] button:disabled {
  opacity: 0.45;
  cursor: default;
}
[data-nt-app] .nt-segment {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
[data-nt-app] .nt-segment button {
  flex: 1;
}
[data-nt-app] [aria-pressed='true'],
[data-nt-app] .nt-segment .is-active {
  background: var(--bg-muted);
  border-color: var(--cs-action);
  box-shadow: inset 0 0 0 1px var(--cs-action);
}
[data-nt-app] .nt-controls input:not([type='checkbox']):not([type='range']):not([type='color']),
[data-nt-app] .nt-controls select,
[data-nt-app] .nt-controls textarea {
  width: 100%;
  min-width: 0;
  min-height: 36px;
  padding: 7px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-page);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}
[data-nt-app] .nt-controls textarea {
  resize: vertical;
  min-height: 66px;
  font-family: inherit;
}
[data-nt-app] input[type='range'] {
  width: 100%;
  min-width: 0;
  accent-color: var(--cs-action);
  cursor: pointer;
}
[data-nt-app] input[type='color'] {
  width: 100%;
  height: 32px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 5px;
}
[data-nt-app] input[type='checkbox'] {
  accent-color: var(--cs-action);
  width: 15px;
  height: 15px;
  flex: none;
}
[data-nt-app] .nt-check {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12px;
}
[data-nt-app] .nt-common-controls {
  display: grid;
  gap: 9px;
}
[data-nt-app] .nt-disclosure {
  border-top: 1px solid var(--border-color);
  min-width: 0;
}
[data-nt-app] .nt-disclosure > summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 9px 0;
  font-size: 12px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
[data-nt-app] .nt-disclosure > summary::-webkit-details-marker {
  display: none;
}
[data-nt-app] .nt-disclosure > summary::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-right: 3px;
}
[data-nt-app] .nt-disclosure[open] > summary::after {
  transform: rotate(225deg);
}
[data-nt-app] .nt-disclosure-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 2px 0 12px;
}
[data-nt-app] .nt-disclosure:not([open]) > .nt-disclosure-body {
  display: none;
}
[data-nt-app] .nt-display-options {
  margin-top: 10px;
}
[data-nt-app] [data-shell-status]:not(:empty) {
  margin-top: 8px;
}
[data-nt-app] :focus-visible {
  outline: 2px solid #3882ed;
  outline-offset: 3px;
}
[data-nt-app] .nt-palette {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin: 38px auto;
}
[data-nt-app] .nt-palette a {
  display: grid;
  gap: 10px;
  text-align: center;
  font-size: 14px;
}
[data-nt-app] .nt-swatch {
  width: 128px;
  height: 72px;
  border-radius: 5px;
  box-shadow: 0 8px 30px #0002;
}
[data-nt-app] [data-swatch='#000000'] {
  background: #000;
}
[data-nt-app] [data-swatch='#ffffff'] {
  background: #fff;
}
[data-nt-app] [data-swatch='#ff0000'] {
  background: #f00;
}
[data-nt-app] [data-swatch='#00ff00'] {
  background: #0f0;
}
[data-nt-app] [data-swatch='#0000ff'] {
  background: #00f;
}
[data-nt-app] .nt-tool-directory {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  gap: 24px;
}
[data-nt-app] .nt-tool-directory h2 {
  font-size: 14px;
  margin: 0 0 10px;
  color: var(--text-muted);
  font-weight: 500;
}
[data-nt-app] .nt-tool-directory nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
[data-nt-app] .nt-tool-directory a {
  font-size: 13px;
  text-decoration: none;
}
[data-nt-app] .nt-tool-directory a:hover {
  text-decoration: underline;
}
[data-nt-app] .nt-tool-directory [aria-current='page'] {
  font-weight: 700;
}
[data-nt-app] .nt-view.is-fullscreen {
  position: fixed;
  inset: 0;
  width: 100dvw;
  height: 100dvh;
  margin: 0;
  border: 0;
  border-radius: 0;
  z-index: 999999;
  box-shadow: none;
}
[data-nt-app] .nt-view.is-fullscreen .nt-fullscreen {
  display: none;
}
[data-nt-app] .nt-fs-bar {
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 20;
  display: flex;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.2s;
}
[data-nt-app] .nt-fs-bar .nt-btn {
  background: #fff;
  color: #111;
  border-color: #0003;
  box-shadow: 0 2px 8px #0003;
}
[data-nt-app] .nt-fs-bar:hover,
[data-nt-app] .nt-fs-bar:focus-within,
[data-nt-app] .nt-view.show-toolbar .nt-fs-bar,
[data-nt-app] .nt-view.settings-open .nt-fs-bar {
  opacity: 1;
}
[data-nt-app] .nt-view.is-fullscreen > .nt-panel {
  display: none;
  position: absolute;
  right: 14px;
  top: 60px;
  width: min(320px, calc(100% - 28px));
  max-height: calc(100dvh - 80px);
  overflow: auto;
  overscroll-behavior: contain;
  z-index: 15;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 30px #0005;
}
[data-nt-app] .nt-view.settings-open > .nt-panel {
  display: block;
}
[data-nt-app] .nt-broken {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 1050px) and (min-width: 769px) {
  [data-nt-app] .nt-layout {
    grid-template-columns: 150px minmax(0, 1fr) 210px;
    gap: 14px;
  }
  [data-nt-app] > h1 {
    font-size: 32px;
  }
  [data-nt-app] .nt-related a {
    font-size: 12px;
    gap: 8px;
    padding: 7px 0;
  }
  [data-nt-app] .nt-related img {
    width: 48px;
    height: 30px;
  }
}
@media (max-width: 768px) {
  [data-nt-app] {
    padding: 0 12px 32px;
  }
  [data-nt-app] > h1 {
    font-size: clamp(22px, 5.5vw, 30px);
    padding: 8px 0;
    margin-bottom: 4px;
  }
  [data-nt-app] .nt-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  [data-nt-app] .nt-view {
    order: 0;
    height: auto;
    aspect-ratio: 16/10;
    margin: 6px 0 14px;
  }
  [data-nt-app] .nt-related {
    order: 1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    min-height: 0;
    gap: 6px;
    padding: 0;
    margin-bottom: 16px;
  }
  [data-nt-app] .nt-related a {
    font-size: 12px;
    gap: 8px;
    min-height: 44px;
    border: 1px solid var(--border-color);
    padding: 6px 9px;
    border-radius: 999px;
    background: var(--bg-muted);
  }
  [data-nt-app] .nt-related img {
    width: 40px;
    height: 25px;
    box-shadow: none;
  }
  [data-nt-app] .nt-panel-home {
    order: 2;
    width: 100%;
  }
  [data-nt-app] .nt-panel {
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: var(--bg-muted);
  }
  [data-nt-app] .nt-controls {
    gap: 14px;
  }
  [data-nt-app] .nt-disclosure > summary {
    min-height: 44px;
  }
  [data-nt-app] .nt-btn,
  [data-nt-app] .nt-primary,
  [data-nt-app] .nt-segment button {
    min-height: 40px;
  }
  [data-nt-app] .nt-palette {
    gap: 16px;
    margin: 28px 0;
  }
  [data-nt-app] .nt-swatch {
    width: 88px;
    height: 50px;
  }
  [data-nt-app] .nt-palette a {
    font-size: 12px;
  }
  [data-nt-app] .nt-view.is-fullscreen {
    height: 100dvh;
    aspect-ratio: auto;
  }
  [data-nt-app] .nt-fs-bar {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-nt-app] *,
  [data-nt-app] *::before,
  [data-nt-app] *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Tool controls must remain reachable on small screens. Scope this to new pages. */
body:has([data-nt-app]) #install-banner {
  display: none !important;
}

/* Teams places Leave in its top toolbar, unlike the other meeting previews. */
[data-nt-app] .nt-view:has(.sim-call-teams) .nt-fullscreen {
  top: auto;
  bottom: 10px;
}

/* Keep captions and sleep timers unobstructed in the preview. */
[data-nt-app] .nt-view:has(.nt-qr-output, .nt-noise-view) .nt-fullscreen {
  top: 10px;
  bottom: auto;
  right: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  justify-content: center;
}
[data-nt-app] .nt-view:has(.nt-qr-output, .nt-noise-view) .nt-fullscreen span {
  display: none;
}

/* OS footnotes need the bottom edge; these scenes have room at the top. */
[data-nt-app] .nt-view:has(.sim-os-foot, .sim-xp-boot, .sim-android-update) .nt-fullscreen {
  top: 10px;
  bottom: auto;
  right: 10px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  justify-content: center;
}
[data-nt-app] .nt-view:has(.sim-os-foot, .sim-xp-boot, .sim-android-update) .nt-fullscreen span {
  display: none;
}

/* Dense text and meeting tiles have no empty corner for an overlaid control. */
[data-nt-app] .nt-view:not(.is-fullscreen):has(.sim-bsod-xp, .sim-bsod10, .nt-cyber, .sim-call) {
  overflow: visible;
  margin-bottom: 64px;
}
[data-nt-app] .nt-view:not(.is-fullscreen):has(.sim-bsod-xp, .sim-bsod10, .nt-cyber, .sim-call) .nt-stage {
  border-radius: 12px;
}
[data-nt-app] .nt-view:not(.is-fullscreen):has(.sim-bsod-xp, .sim-bsod10, .nt-cyber, .sim-call) .nt-fullscreen {
  top: calc(100% + 8px);
  bottom: auto;
  right: 0;
  min-height: 44px;
  padding: 8px 12px;
}
[data-nt-app] .nt-view:not(.is-fullscreen):has(.sim-bsod-xp, .sim-bsod10, .nt-cyber, .sim-call) .nt-fullscreen span {
  display: inline;
}
