body.dpe-os {
  --os-ink: #17212d;
  --os-ink-soft: #253343;
  --os-panel: #fff;
  --os-workspace: #e9edf1;
  --os-line: #d9e0e5;
  --os-muted: #65727e;
  --os-green: #0c6d31;
  --os-green-soft: #edf8f1;
  --os-gold: #c5a45b;
  --os-topbar-height: 56px;
  --os-dock-height: 58px;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  display: grid;
  grid-template: var(--os-topbar-height) minmax(0, 1fr) var(--os-dock-height) / minmax(0, 1fr);
  color: var(--os-ink);
  background: var(--os-workspace);
  font-family: "Open Sans", sans-serif;
}

.dpe-os *,
.dpe-os *::before,
.dpe-os *::after {
  box-sizing: border-box;
}

.dpe-os button,
.dpe-os input {
  font: inherit;
}

.dpe-os button:focus-visible,
.dpe-os a:focus-visible,
.dpe-os input:focus-visible {
  outline: 3px solid rgba(197, 164, 91, 0.9);
  outline-offset: 2px;
}

.os-topbar {
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  min-width: 0;
  padding: 0 clamp(16px, 2.6vw, 38px);
  color: #f5f7f8;
  background: var(--os-ink);
  border-bottom: 2px solid var(--os-gold);
  z-index: 10;
}

body.dpe-os > #header {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  height: auto;
  padding: 0 clamp(16px, 2.6vw, 38px);
  box-shadow: none;
}

body.dpe-os > #main {
  grid-column: 1;
  grid-row: 2;
  margin-top: 0;
  padding: 0;
}

.os-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  min-width: 0;
  color: inherit;
}

.os-brand:hover {
  color: #fff;
}

.os-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.os-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}

.os-brand-copy strong {
  font-family: "Nunito", sans-serif;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.os-brand-copy small {
  max-width: 230px;
  overflow: hidden;
  color: #c4cdd4;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.os-global-search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(440px, 42vw);
  min-height: 40px;
  margin: 0 auto;
  padding: 0 12px;
  color: #c8d0d7;
  border: 1px solid #3c4854;
  border-radius: 6px;
  background: #202c38;
}

.os-global-search > i {
  font-size: 14px;
}

.os-global-search input,
.os-launcher-search input {
  width: 100%;
  min-width: 0;
  padding: 8px 0;
  color: inherit;
  border: 0;
  outline: 0;
  background: transparent;
}

.os-global-search input::placeholder {
  color: #aeb8c1;
}

.os-global-search kbd {
  flex: 0 0 auto;
  padding: 2px 5px;
  color: #d0d6dc;
  border: 1px solid #55616c;
  border-radius: 3px;
  background: #2c3945;
  font: 10px "Open Sans", sans-serif;
  white-space: nowrap;
}

.os-system-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  color: #d8dfe4;
  font-size: 12px;
}

.os-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--os-gold);
}

.os-icon-button {
  display: inline-grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  color: inherit;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  cursor: pointer;
}

.os-topbar .os-icon-button:hover,
.os-topbar .os-icon-button[aria-expanded="true"] {
  border-color: #46515c;
  background: #26323e;
}

.os-topbar .os-icon-button i {
  font-size: 19px;
}

body.dpe-os > #header .os-icon-button {
  width: 36px;
  height: 36px;
}

.os-workspace {
  position: relative;
  grid-row: 2;
  display: grid;
  min-height: 0;
  overflow: auto;
  padding: clamp(16px, 3vw, 42px);
  background:
    radial-gradient(ellipse at 16% 0%, rgba(255, 255, 255, 0.62), transparent 47%),
    var(--os-workspace);
}

.os-window {
  display: flex;
  flex-direction: column;
  width: min(100%, 1160px);
  min-height: min(540px, 100%);
  max-height: 100%;
  margin: auto;
  overflow: hidden;
  border: 1px solid #cbd3d9;
  border-radius: 8px;
  background: var(--os-panel);
  box-shadow: 0 14px 40px rgba(24, 38, 51, 0.12), 0 2px 6px rgba(24, 38, 51, 0.08);
}

.os-window.is-maximized {
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: none;
}

.os-window[hidden],
.os-window-closed[hidden],
.os-launcher[hidden],
.os-launcher-backdrop[hidden],
.os-dock-app[hidden] {
  display: none;
}

.os-window-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  min-height: 66px;
  padding: 10px 14px 10px 20px;
  border-bottom: 1px solid var(--os-line);
  background: #f8f9fa;
}

.os-window-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.os-app-icon {
  display: inline-grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--os-green);
  border: 1px solid #d7e7dc;
  border-radius: 8px;
  background: var(--os-green-soft);
  font-size: 19px;
}

.os-window-identity h1 {
  margin: 0;
  color: var(--os-ink);
  font-family: "Nunito", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

.os-window-identity p {
  margin: 2px 0 0;
  color: var(--os-muted);
  font-size: 11px;
}

.os-window-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.os-window-controls button {
  display: grid;
  width: 38px;
  height: 36px;
  place-items: center;
  color: #52606c;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.os-window-controls button:hover {
  color: var(--os-ink);
  background: #e9edf0;
}

.os-window-controls button:last-child:hover {
  color: #fff;
  background: #a33b3b;
}

.os-window-content {
  flex: 1 1 auto;
  overflow: auto;
  padding: clamp(20px, 3vw, 38px);
}

.os-page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
}

.os-eyebrow {
  margin: 0 0 8px;
  color: var(--os-green);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.os-eyebrow span {
  padding: 0 4px;
  color: var(--os-gold);
}

.os-page-heading h2,
.os-section-heading h2 {
  margin: 0;
  color: var(--os-ink);
  font-family: "Nunito", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
}

.os-lead {
  margin: 7px 0 0;
  color: var(--os-muted);
  font-size: 14px;
}

.os-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 15px;
  color: #fff;
  border: 1px solid #095d29;
  border-radius: 5px;
  background: var(--os-green);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.os-primary-action:hover {
  color: #fff;
  border-color: #084b23;
  background: #095d29;
}

.os-primary-action i {
  font-size: 15px;
}

.os-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 17px 19px;
  border: 1px solid #eadfbd;
  border-left: 3px solid var(--os-gold);
  border-radius: 5px;
  background: #fcfaf4;
}

.os-notice-icon {
  display: grid;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #8a6c2a;
  border-radius: 50%;
  background: #f4eedc;
}

.os-notice h3 {
  margin: 1px 0 5px;
  color: var(--os-ink);
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  font-weight: 700;
}

.os-notice p,
.os-module-status > p {
  margin: 0;
  color: #596570;
  font-size: 13px;
  line-height: 1.65;
}

.os-app-section {
  margin-top: 30px;
}

.os-app-section[aria-labelledby="available-apps-title"] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 330px));
  gap: 12px;
}

.os-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.os-app-section[aria-labelledby="available-apps-title"] > .os-section-heading {
  grid-column: 1 / -1;
  margin-bottom: 2px;
}

.os-section-heading .os-eyebrow {
  margin-bottom: 5px;
}

.os-section-heading h2 {
  font-size: 18px;
}

.os-section-meta {
  color: var(--os-muted);
  font-size: 12px;
}

.os-application-card {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 72px;
  padding: 12px;
  color: var(--os-ink);
  text-align: left;
  border: 1px solid var(--os-line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

.os-application-card:hover {
  border-color: #9dbba6;
  box-shadow: 0 3px 12px rgba(24, 38, 51, 0.08);
}

.os-application-copy,
.os-launcher-app > span:last-child {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.os-application-copy strong,
.os-launcher-app strong {
  color: var(--os-ink);
  font-size: 13px;
  font-weight: 700;
}

.os-application-copy small,
.os-launcher-app small {
  color: var(--os-muted);
  font-size: 11px;
}

.os-application-open {
  color: var(--os-green);
  font-size: 15px;
}

.os-module-status {
  padding-top: 22px;
  border-top: 1px solid var(--os-line);
}

.os-module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.os-module-tags span {
  padding: 6px 9px;
  color: #68747e;
  border: 1px solid #e0e5e9;
  border-radius: 4px;
  background: #f7f8f9;
  font-size: 11px;
}

.os-window-closed {
  align-self: center;
  justify-self: center;
  width: min(100%, 390px);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--os-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 38, 51, 0.1);
}

.os-window-closed > .os-app-icon {
  margin-bottom: 12px;
}

.os-window-closed h1 {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: 20px;
}

.os-window-closed p {
  margin: 8px 0 18px;
  color: var(--os-muted);
  font-size: 13px;
}

.os-dock {
  grid-row: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 clamp(16px, 2.6vw, 38px);
  color: #e9edf0;
  background: var(--os-ink);
  border-top: 1px solid #35424e;
}

.os-dock-launcher,
.os-dock-app,
.os-profile-trigger {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #e9edf0;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.os-dock-launcher:hover,
.os-dock-app:hover,
.os-dock-app.is-active {
  border-color: #485560;
  background: #26333f;
}

.os-dock-launcher img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.os-dock-app > i {
  font-size: 19px;
}

.os-dock-app.is-active::after {
  position: absolute;
  right: 8px;
  bottom: 1px;
  left: 8px;
  height: 2px;
  background: var(--os-gold);
  content: "";
}

.os-dock-indicator {
  position: absolute;
  right: 3px;
  top: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--os-gold);
}

.os-dock-separator {
  width: 1px;
  height: 28px;
  background: #45515c;
}

.os-dock-spacer {
  flex: 1 1 auto;
}

.os-dock-clock {
  color: #c8d0d7;
  font-size: 11px;
  text-align: right;
  white-space: nowrap;
}

.os-profile-menu {
  position: relative;
  flex: 0 0 auto;
}

.os-profile-trigger {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #e9edf0;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  list-style: none;
}

.os-profile-trigger::-webkit-details-marker {
  display: none;
}

.os-profile-trigger::marker {
  content: "";
}

.os-profile-trigger:hover,
.os-profile-menu[open] .os-profile-trigger {
  border-color: #485560;
  background: #26333f;
}

.os-profile-trigger i {
  font-size: 21px;
}

.os-profile-popover {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  z-index: 30;
  width: min(290px, calc(100vw - 24px));
  padding: 10px;
  color: var(--os-ink);
  border: 1px solid #cbd3d9;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(10, 20, 30, 0.24);
}

.os-profile-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 8px 7px 11px;
}

.os-profile-avatar {
  display: inline-grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--os-green);
  border: 1px solid #d7e7dc;
  border-radius: 50%;
  background: var(--os-green-soft);
  font-size: 18px;
}

.os-profile-summary > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.os-profile-summary strong {
  color: var(--os-ink);
  font-size: 13px;
}

.os-profile-summary small {
  color: var(--os-muted);
  font-size: 11px;
}

.os-profile-divider {
  height: 1px;
  margin: 5px 0;
  background: #e5e9ec;
}

.os-profile-popover form {
  margin: 0;
}

.os-profile-action {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 8px;
  color: #34414c;
  text-align: left;
  border: 0;
  border-radius: 4px;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none;
}

.os-profile-action:hover:not(:disabled) {
  color: var(--os-ink);
  background: #f2f5f6;
}

.os-profile-action > i {
  width: 18px;
  color: #61707b;
  font-size: 16px;
  text-align: center;
}

.os-profile-action small {
  margin-left: auto;
  color: #7a858e;
  font-size: 10px;
}

.os-profile-action:disabled {
  color: #89939b;
  cursor: not-allowed;
}

.os-profile-signout {
  color: #883a35;
}

.os-profile-signout > i {
  color: #883a35;
}

.os-profile-signout:hover {
  background: #fbf2f1 !important;
}

.os-profile-dialog {
  width: min(440px, calc(100vw - 32px));
  max-width: none;
  padding: 0;
  color: var(--os-ink);
  border: 1px solid #cbd3d9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(10, 20, 30, 0.25);
}

.os-profile-dialog::backdrop {
  background: rgba(14, 22, 30, 0.55);
}

.os-profile-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--os-line);
  background: #f8f9fa;
}

.os-profile-dialog-header .os-eyebrow {
  margin-bottom: 3px;
}

.os-profile-dialog-header h2 {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: 19px;
}

.os-profile-dialog-header .os-icon-button {
  color: #52606c;
}

.os-profile-dialog-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 20px;
}

.os-profile-avatar-large {
  width: 48px;
  height: 48px;
  font-size: 22px;
}

.os-profile-dialog-content h3 {
  margin: 1px 0 6px;
  font-family: "Nunito", sans-serif;
  font-size: 15px;
}

.os-profile-dialog-content p {
  margin: 0;
  color: #596570;
  font-size: 13px;
  line-height: 1.6;
}

.os-profile-dialog-footer {
  display: flex;
  justify-content: flex-end;
  padding: 12px 18px;
  border-top: 1px solid var(--os-line);
  background: #fafbfb;
}

.os-profile-dialog-footer .os-primary-action {
  min-width: 90px;
}

.os-launcher-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(14, 22, 30, 0.46);
}

.os-launcher {
  position: fixed;
  z-index: 41;
  top: calc(var(--os-topbar-height) + 14px);
  left: clamp(16px, 3vw, 42px);
  display: flex;
  flex-direction: column;
  width: min(480px, calc(100vw - 32px));
  max-height: min(720px, calc(100dvh - var(--os-topbar-height) - var(--os-dock-height) - 30px));
  padding: 20px;
  color: var(--os-ink);
  border: 1px solid #cad2d9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(10, 20, 30, 0.25);
}

.os-launcher-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.os-launcher-header .os-eyebrow {
  margin-bottom: 3px;
}

.os-launcher-header h2 {
  margin: 0;
  font-family: "Nunito", sans-serif;
  font-size: 21px;
  font-weight: 700;
}

.os-launcher-header .os-icon-button {
  color: #586570;
}

.os-launcher-header .os-icon-button:hover {
  background: #f0f2f3;
}

.os-launcher-search {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 11px;
  color: #68747e;
  border: 1px solid #cfd7dc;
  border-radius: 5px;
  background: #f8f9fa;
}

.os-launcher-search input {
  color: var(--os-ink);
  font-size: 13px;
}

.os-launcher-results {
  flex: 1 1 auto;
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 3px;
}

.os-launcher-category {
  padding-top: 15px;
}

.os-launcher-category h3 {
  margin: 0 0 7px;
  color: #62707b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.os-launcher-app {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  min-height: 58px;
  padding: 7px 9px;
  text-align: left;
  border: 1px solid transparent;
  border-radius: 5px;
  background: #fff;
  color: var(--os-ink);
  text-decoration: none;
}

.os-launcher-app.is-available {
  cursor: pointer;
}

.os-launcher-app.is-available:hover {
  border-color: #dae5de;
  background: #f6faf7;
}

.os-launcher-app:not(.is-available),
.os-launcher-app:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.os-launcher-app .os-app-icon {
  width: 38px;
  height: 38px;
  font-size: 17px;
}

.os-launcher-empty {
  margin: 18px 0 4px;
  color: var(--os-muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 900px) {
  body.dpe-os {
    --os-topbar-height: 54px;
    --os-dock-height: 56px;
  }

  .os-topbar {
    gap: 12px;
    padding-inline: 18px;
  }

  body.dpe-os > #header {
    padding-inline: 18px;
  }

  .os-global-search {
    width: auto;
    max-width: 350px;
    flex: 1 1 auto;
  }

  .os-system-status {
    font-size: 0;
  }

  .os-system-status .os-status-dot {
    width: 9px;
    height: 9px;
  }

  .os-workspace {
    padding: 16px;
  }

  .os-window {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .os-window.is-maximized {
    height: 100%;
  }

  .os-launcher {
    top: calc(var(--os-topbar-height) + 10px);
  }
}

@media (max-width: 600px) {
  body.dpe-os {
    --os-topbar-height: 50px;
    --os-dock-height: calc(52px + env(safe-area-inset-bottom));
  }

  .os-topbar {
    gap: 8px;
    padding: 0 12px;
  }

  body.dpe-os > #header {
    padding-inline: 12px;
  }

  .os-brand {
    gap: 7px;
  }

  .os-brand img {
    width: 30px;
    height: 30px;
  }

  .os-brand-copy strong {
    font-size: 13px;
  }

  .os-brand-copy small {
    max-width: 130px;
    font-size: 9px;
  }

  .os-global-search {
    justify-content: center;
    width: 38px;
    height: 38px;
    min-height: 38px;
    flex: 0 0 38px;
    margin-left: auto;
    padding: 0;
    border-color: transparent;
    background: transparent;
    cursor: pointer;
  }

  .os-global-search.is-search-open {
    position: absolute;
    right: 96px;
    left: 12px;
    z-index: 12;
    justify-content: flex-start;
    width: auto;
    padding: 0 11px;
    border-color: #596570;
    background: #202c38;
  }

  .os-global-search input,
  .os-global-search kbd {
    display: none;
  }

  .os-global-search.is-search-open input {
    display: block;
  }

  .os-global-search > i {
    font-size: 18px;
  }

  .os-system-status {
    display: none;
  }

  .os-topbar .os-icon-button {
    width: 34px;
    height: 34px;
  }

  .os-workspace {
    padding: 0;
    overflow: hidden;
  }

  .os-window {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .os-window-titlebar {
    min-height: 58px;
    padding: 7px 8px 7px 14px;
  }

  .os-window-identity {
    gap: 9px;
  }

  .os-window-identity .os-app-icon {
    width: 36px;
    height: 36px;
  }

  .os-window-identity h1 {
    font-size: 14px;
  }

  .os-window-identity p {
    max-width: 185px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .os-window-controls {
    gap: 0;
  }

  .os-window-controls button {
    width: 35px;
    height: 38px;
  }

  .os-window-content {
    padding: 22px 16px calc(20px + env(safe-area-inset-bottom));
  }

  .os-page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 17px;
    padding-bottom: 20px;
  }

  .os-page-heading h2 {
    font-size: 23px;
  }

  .os-lead {
    max-width: 37ch;
    font-size: 13px;
  }

  .os-primary-action {
    width: 100%;
    min-height: 46px;
  }

  .os-notice {
    gap: 10px;
    padding: 13px;
  }

  .os-notice p,
  .os-module-status > p {
    font-size: 12px;
  }

  .os-app-section {
    margin-top: 24px;
  }

  .os-section-heading h2 {
    font-size: 17px;
  }

  .os-application-card {
    width: 100%;
    min-height: 68px;
  }

  .os-module-tags {
    gap: 6px;
  }

  .os-module-tags span {
    font-size: 10px;
  }

  .os-dock {
    gap: 9px;
    padding: 0 12px env(safe-area-inset-bottom);
  }

  .os-dock-clock {
    max-width: 105px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
  }

  .os-launcher {
    inset: auto 0 0;
    width: 100%;
    max-width: none;
    max-height: min(82dvh, 760px);
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
    border-radius: 14px 14px 0 0;
  }

  .os-launcher-backdrop {
    background: rgba(14, 22, 30, 0.54);
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  body.dpe-os {
    --os-topbar-height: 52px;
    --os-dock-height: 54px;
  }

  .os-brand img {
    width: 28px;
    height: 28px;
  }

  .os-window-titlebar {
    min-height: 48px;
  }

  .os-window-content {
    padding-block: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dpe-os *,
  .dpe-os *::before,
  .dpe-os *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
