/* src/css/base.css */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
}
body {
  font-family:
    "Ubuntu",
    "Segoe UI",
    system-ui,
    sans-serif;
  font-size: 14px;
  line-height: 1.45;
  overflow: hidden;
  background: #101010;
  -webkit-font-smoothing: antialiased;
  -webkit-user-select: none;
  user-select: none;
}
img,
svg {
  display: block;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}
input,
textarea {
  font: inherit;
}
input:focus,
textarea:focus,
button:focus-visible {
  outline: none;
}
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-thumb {
  background: rgba(120, 120, 120, .45);
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-track {
  background: transparent;
}
#stage {
  position: fixed;
  inset: 0;
}
:root {
  --ubuntu-orange: #e95420;
  --aubergine: #2c001e;
  --aubergine-mid: #772953;
  --accent: var(--ubuntu-orange);
  --accent-hover: color-mix(in srgb, var(--accent) 88%, white);
  --accent-dim: color-mix(in srgb, var(--accent) 22%, transparent);
  --fg: rgb(255 255 255 / .92);
  --fg-dim: rgb(255 255 255 / .62);
  --popover-bg: rgb(36 36 36 / .96);
  --popover-radius: 18px;
  --shell-fg: #fff;
  --win-bg: #353535;
  --win-fg: #ffffff;
  --header-bg: #2d2d2d;
  --side-bg: #2c2c2c;
  --content-bg: #333333;
  --card-bg: #3a3a3a;
  --row-hover: rgb(255 255 255 / .07);
  --row-active: rgb(255 255 255 / .11);
  --sep: rgb(255 255 255 / .09);
  --entry-bg: rgb(255 255 255 / .08);
  --fg-muted: rgb(255 255 255 / .55);
  --shadow-win: 0 1px 3px rgb(0 0 0 / .30), 0 16px 38px rgb(0 0 0 / .42);
  --shadow-pop: 0 1px 2px rgb(0 0 0 / .28), 0 10px 32px rgb(0 0 0 / .44);
}
[data-style=light] {
  --fg: rgb(0 6 / .86);
  --fg-dim: rgb(0 6 / .58);
  --win-bg: #fafafa;
  --win-fg: #252525;
  --header-bg: #f6f5f4;
  --side-bg: #f2f1f0;
  --content-bg: #ffffff;
  --card-bg: #ffffff;
  --row-hover: rgb(0 0 0 / .05);
  --row-active: rgb(0 0 0 / .09);
  --sep: rgb(0 0 0 / .09);
  --entry-bg: rgb(0 0 0 / .06);
  --fg-muted: rgb(0 0 0 / .5);
}
.desktop-root {
  position: absolute;
  inset: 0;
  overflow: hidden;
  contain: strict;
}
.desktop-inner {
  position: absolute;
  inset: 0;
  transform-origin: center center;
  transition: transform 320ms cubic-bezier(.23, 1, .32, 1);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 8px;
  background: var(--entry-bg);
  color: var(--win-fg);
  border: none;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
  transition: background .15s ease, filter .15s ease;
}
.btn:hover {
  background: var(--row-active);
}
.btn.suggested {
  background: var(--accent);
  color: #fff;
}
.btn.suggested:hover {
  background: var(--accent-hover);
}
.btn.destructive {
  background: #c01c28;
  color: #fff;
}
.btn.destructive:hover {
  background: #dc2b39;
}
.btn.flat {
  background: transparent;
}
.btn.flat:hover {
  background: var(--row-hover);
}
.btn.disabled,
.btn[disabled] {
  opacity: .45;
  pointer-events: none;
}
.entry {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--entry-bg);
  border-radius: 8px;
  padding: 6px 12px;
  min-width: 160px;
}
.entry input {
  background: none;
  border: none;
  color: var(--win-fg);
  flex: 1;
  min-width: 0;
  outline: none;
}
.entry input::placeholder {
  color: var(--fg-muted);
}
.entry:focus-within {
  box-shadow: 0 0 0 2px var(--accent-dim), inset 0 0 0 1px var(--accent);
}
.switch {
  width: 46px;
  height: 24px;
  border-radius: 13px;
  flex-shrink: 0;
  background: rgb(120 120 120 / .45);
  position: relative;
  cursor: pointer;
  transition: background .18s ease;
}
.switch::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / .4);
  transition: left .18s cubic-bezier(.3, .8, .4, 1.2);
}
.switch.on {
  background: var(--accent);
}
.switch.on::after {
  left: 24px;
}
.slider {
  appearance: none;
  -webkit-appearance: none;
  width: 140px;
  height: 4px;
  border-radius: 2px;
  background: rgb(128 128 128 / .5);
  cursor: pointer;
}
.slider::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgb(0 0 0 / .15);
  box-shadow: 0 1px 2px rgb(0 0 0/.4);
  margin-top: 0;
}
.slider::-moz-range-thumb {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgb(0 0 0/.2);
}
.select {
  position: relative;
}
.select select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--entry-bg);
  color: var(--win-fg);
  border: 1px solid var(--sep);
  border-radius: 8px;
  padding: 6px 28px 6px 11px;
  font-size: 13px;
  cursor: pointer;
}
.select::after {
  content: "\25be";
  position: absolute;
  right: 9px;
  top: 50%;
  translate: 0 -52%;
  pointer-events: none;
  font-size: 11px;
  color: var(--fg-muted);
}
.radio-row {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}
.radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--fg-muted);
  position: relative;
  flex-shrink: 0;
}
.radio-row.sel .radio-dot {
  border-color: var(--accent);
}
.radio-row.sel .radio-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--accent);
}
.pref-list {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: visible;
}
.pref-list > .pref-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  min-height: 48px;
  position: relative;
}
.pref-list > .pref-row + .pref-row::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--sep);
}
.pref-title {
  font-weight: 500;
}
.pref-sub {
  font-size: 12px;
  color: var(--fg-muted);
}
.pref-end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-muted);
}
.section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .01em;
  margin: 22px 2px 9px;
  opacity: .85;
}
.checkbox {
  width: 17px;
  height: 17px;
  border-radius: 5px;
  border: 2px solid var(--fg-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}
.checkbox.checked {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.checkbox svg {
  width: 12px;
  height: 12px;
  stroke-width: 3.2;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: inherit;
  transition: background .12s ease;
}
.icon-btn:hover {
  background: var(--row-hover);
}
.icon-btn.active {
  background: var(--accent);
  color: #fff;
}
.icon-btn svg {
  width: 16px;
  height: 16px;
}
.linkish {
  color: var(--accent);
  cursor: pointer;
}
.linkish:hover {
  text-decoration: underline;
}
.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid currentcolor;
  border-top-color: transparent;
  animation: spin .8s linear infinite;
  display: inline-block;
}
@keyframes spin {
  to {
    rotate: 360deg;
  }
}
.progress {
  height: 6px;
  border-radius: 3px;
  background: var(--entry-bg);
  overflow: hidden;
}
.progress > i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width .2s ease;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--fg-muted);
  text-align: center;
  padding: 40px 20px;
  flex: 1;
}
.empty-state svg {
  width: 54px;
  height: 54px;
  opacity: .5;
}
.empty-state h3 {
  font-weight: 600;
  font-size: 15px;
  color: var(--win-fg);
}
.empty-state p {
  font-size: 13px;
  max-width: 300px;
}
.fade-in {
  animation: fadeIn .16s ease both;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
}
.hidden {
  display: none !important;
}

/* src/css/shell.css */
.wallpaper {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: background-image .4s ease;
}
.wallpaper.drift {
  position: absolute;
  inset: -6%;
  animation: camDrift 26s cubic-bezier(.45, .05, .55, .95) infinite alternate;
  filter: saturate(1.02);
}
@keyframes camDrift {
  0% {
    transform: scale(1.04) translate3d(-1.2%, .8%, 0);
  }
  50% {
    transform: scale(1.09) translate3d(.6%, -.9%, 0) rotate(.35deg);
  }
  100% {
    transform: scale(1.05) translate3d(1.4%, .5%, 0) rotate(-.3deg);
  }
}
.topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  z-index: 600;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  color: #fff;
  font-size: 13.3px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgb(0 0 0 / .22);
}
.topbar-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 0 0 16px 16px;
  cursor: pointer;
  transition: background .14s ease;
}
.topbar-panel:hover,
.topbar-panel.open {
  background: rgb(255 255 255 / .18);
}
#tb-left {
  left: 8px;
}
#tb-clock {
  left: 50%;
  translate: -50% 0;
  border-radius: 0 0 16px 16px;
  gap: 7px;
  font-weight: 700;
  letter-spacing: .01em;
}
#tb-right {
  right: 8px;
}
.tb-tray {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
}
.tb-tray svg {
  width: 15.5px;
  height: 15.5px;
}
.tb-chevron {
  margin-left: 5px;
  opacity: .85;
}
.clock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ubuntu-orange);
  box-shadow: 0 0 4px rgb(233 84 32 / .8);
}
.popover-layer {
  position: absolute;
  inset: 0;
  z-index: 700;
  pointer-events: none;
}
.popover-layer > * {
  pointer-events: auto;
}
.popover {
  position: absolute;
  color: #fff;
  background: var(--popover-bg);
  backdrop-filter: blur(24px) saturate(1.25);
  -webkit-backdrop-filter: blur(24px) saturate(1.25);
  border-radius: var(--popover-radius);
  box-shadow: var(--shadow-pop), inset 0 0 0 1px rgb(255 255 255 / .07);
  overflow: hidden;
  transform-origin: top center;
  animation: popOpen .19s cubic-bezier(.2, .9, .3, 1.15) both;
}
@keyframes popOpen {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(.97);
  }
}
.cal-popover {
  width: 640px;
  max-width: calc(100vw - 20px);
  padding: 18px 18px 14px;
  display: grid;
  grid-template-columns: 46% 1fr;
  gap: 18px;
}
.dnd-banner-stack {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.notif-card {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  background: rgb(255 255 255 / .08);
  border-radius: 13px;
  padding: 10px 12px;
}
.notif-card .n-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}
.notif-body {
  flex: 1;
  min-width: 0;
}
.notif-title {
  font-weight: 700;
  font-size: 13px;
}
.notif-text {
  font-size: 12.5px;
  opacity: .82;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.notif-close {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  opacity: .65;
  flex-shrink: 0;
}
.notif-close:hover {
  background: rgb(255 255 255 / .15);
  opacity: 1;
}
.notif-close svg {
  width: 11px;
  height: 11px;
}
.notif-actions {
  display: flex;
  gap: 8px;
  margin-top: 7px;
}
.notif-actions .btn {
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgb(255 255 255 / .12);
  color: #fff;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  font-weight: 500;
}
.cal-nav {
  display: flex;
  gap: 2px;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.cal-grid .dow {
  font-size: 10.5px;
  font-weight: 700;
  opacity: .55;
  padding: 4px 0 6px;
}
.cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12.5px;
  cursor: default;
}
.cal-day.other {
  opacity: .38;
}
.cal-day:not(.other):hover {
  background: rgb(255 255 255 / .1);
}
.cal-day.today {
  outline: 1.6px solid rgba(255, 255, 255, .85);
  outline-offset: -1.6px;
  font-weight: 700;
}
.clear-notifs {
  font-size: 12px;
  opacity: .75;
  cursor: pointer;
  border-radius: 6px;
  padding: 3px 8px;
}
.clear-notifs:hover {
  background: rgb(255 255 255 / .1);
  opacity: 1;
}
.notifs-empty {
  font-size: 12.5px;
  opacity: .55;
  padding: 26px 0;
  text-align: center;
  grid-column: 1/-1;
}
.sm-popover {
  width: 380px;
  padding: 16px 14px 12px;
}
.sm-slider-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 4px;
}
.sm-slider-row svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  opacity: .92;
}
.sm-slider-row .slider {
  flex: 1;
}
.sm-divider {
  height: 1px;
  background: rgb(255 255 255 / .1);
  margin: 9px 4px;
}
.sm-toggle {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border-radius: 11px;
  font-size: 13.4px;
}
.sm-toggle:hover {
  background: rgb(255 255 255 / .09);
}
.sm-toggle .ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgb(255 255 255 / .1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.sm-toggle .ico svg {
  width: 16px;
  height: 16px;
}
.sm-toggle.off .ico {
  background: transparent;
}
.sm-sub {
  margin-left: 41px;
  display: none;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 6px;
}
.sm-popover .expanded .sm-sub {
  display: flex;
}
.wifi-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 10px;
  border-radius: 9px;
  font-size: 12.8px;
}
.wifi-item:hover {
  background: rgb(255 255 255 / .09);
}
.wifi-item svg {
  width: 14px;
  height: 14px;
  opacity: .85;
}
.wifi-item .chk {
  margin-left: auto;
  color: var(--accent);
  font-weight: 700;
}
.sm-power-level {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px 8px;
  font-size: 13px;
}
.sm-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.sm-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 6px 8px;
  border-radius: 12px;
  font-size: 11.8px;
  opacity: .92;
}
.sm-action-btn:hover {
  background: rgb(255 255 255 / .1);
}
.sm-action-btn svg {
  width: 17px;
  height: 17px;
}
.dock {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 74px;
  z-index: 650;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 42px 0 36px;
  gap: 3px;
}
.dock-shelf {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgb(16 16 16 / .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 7px 4px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .06);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}
.dock-shelf::-webkit-scrollbar {
  display: none;
}
.dock-item {
  position: relative;
  padding: 3px;
  border-radius: 12px;
  cursor: pointer;
}
.dock-icon {
  width: 48px;
  height: 48px;
  border-radius: 11px;
  transition: transform .16s cubic-bezier(.3, 1.4, .5, 1);
  will-change: transform;
}
.dock-item:hover .dock-icon {
  transform: translateY(-4px) scale(1.12);
}
.dock-app-dot {
  position: absolute;
  right: -1px;
  top: 50%;
  translate: 0 -50%;
  width: 4px;
  height: 4px;
  min-height: 4px;
  border-radius: 2px;
  background: rgb(255 255 255 / .75);
  transition: all .2s ease;
}
.dock-item.focused .dock-app-dot {
  background: #fff;
  box-shadow: 0 0 5px rgb(255 255 255/.9);
  height: 16px;
}
.dock-sep {
  width: 40px;
  height: 1px;
  margin: 5px 0;
  background: rgb(255 255 255 / .22);
  flex-shrink: 0;
}
.dock-tooltip {
  position: absolute;
  left: calc(100% + 12px);
  top: 50%;
  translate: 0 -50% scale(.94);
  transform-origin: left center;
  background: rgb(28 28 28 / .96);
  color: #fff;
  font-size: 12.5px;
  font-weight: 400;
  padding: 5px 11px;
  border-radius: 9px;
  white-space: nowrap;
  box-shadow: var(--shadow-pop), inset 0 0 0 1px rgb(255 255 255/.07);
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s ease, translate .12s ease;
  z-index: 5;
}
.dock-item:hover .dock-tooltip {
  opacity: 1;
  translate: 0 -50% scale(1);
  transition-delay: .25s;
}
.dock-item.launching .dock-icon {
  animation: dockLaunch .55s cubic-bezier(.3, 1, .4, 1) both;
}
@keyframes dockLaunch {
  0% {
    transform: scale(1);
  }
  35% {
    transform: translateY(-14px) scale(1.06);
  }
  70% {
    transform: translateY(1px);
  }
  100% {
    transform: scale(1);
  }
}
.desk-icons {
  position: absolute;
  inset: 32px 0 0 74px;
  z-index: 1;
  pointer-events: none;
}
.desk-icon {
  position: absolute;
  pointer-events: auto;
  width: 96px;
  padding: 8px 4px 6px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: default;
  color: #fff;
  text-shadow: 0 1px 2px rgb(0 0 0 / .6);
  font-size: 12.4px;
  text-align: center;
}
.desk-icon svg {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 2px 3px rgb(0 0 0/.35));
}
.desk-icon .di-label {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 5px;
  padding: 1px 5px;
}
.desk-icon.sel {
  background: var(--accent-dim);
}
.desk-icon.sel .di-label {
  background: var(--accent);
  text-shadow: none;
}
[data-style=light] .desk-icon {
  color: #fff;
}
.ctx-menu {
  position: fixed;
  z-index: 900;
  min-width: 190px;
  padding: 6px;
  background: var(--popover-bg);
  color: #fff;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-radius: 13px;
  box-shadow: var(--shadow-pop), inset 0 0 0 1px rgb(255 255 255 / .07);
  font-size: 13.4px;
  animation: fadeIn .1s ease both;
}
.ctx-menu button {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: 8px;
  text-align: left;
}
.ctx-menu button:hover {
  background: rgb(255 255 255 / .1);
}
.ctx-menu button.danger {
  color: #ff8888;
}
.ctx-menu button:disabled {
  opacity: .4;
  pointer-events: none;
}
.ctx-menu .sep {
  height: 1px;
  background: rgb(255 255 255 / .12);
  margin: 5px 8px;
}
.toast-stack {
  position: absolute;
  top: 42px;
  left: 50%;
  translate: -50%;
  z-index: 800;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  width: 400px;
  max-width: calc(100vw - 160px);
  display: flex;
  gap: 11px;
  padding: 11px 13px;
  border-radius: 15px;
  background: rgb(32 32 32 / .93);
  color: #fff;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow-pop), inset 0 0 0 1px rgb(255 255 255 / .08);
  animation: toastIn .32s cubic-bezier(.2, .9, .25, 1.1) both;
}
.toast.out {
  animation: toastOut .25s ease both;
}
@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(-14px) scale(.97);
  }
}
@keyframes toastOut {
  to {
    opacity: 0;
    transform: translateY(-10px) scale(.97);
  }
}
.toast .n-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}
.toast.crit {
  background: rgb(60 20 18 / .95);
}
.snap-preview {
  position: absolute;
  z-index: 590;
  border-radius: 14px;
  background: rgb(255 255 255 / .13);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1.5px solid rgb(255 255 255 / .34);
  box-shadow: 0 8px 30px rgb(0 0 0 / .3);
  transition: all .16s cubic-bezier(.2, .8, .3, 1);
  pointer-events: none;
}
.batt-low {
  color: #ffb36b !important;
}
.batt-crit {
  color: #ff8080 !important;
  animation: battPulse 1.6s ease infinite;
}
@keyframes battPulse {
  50% {
    opacity: .55;
  }
}
.night-light-overlay {
  position: absolute;
  inset: 0;
  z-index: 50000;
  pointer-events: none;
  background: rgb(255 148 62 / var(--nl-op, .12));
  mix-blend-mode: multiply;
}

/* src/css/windows.css */
.windows-layer {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
}
.workspace-pane {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transition: transform .34s cubic-bezier(.23, 1, .32, 1);
  pointer-events: none;
}
.workspace-pane .window {
  pointer-events: auto;
}
.workspace-pane.offleft {
  transform: translateX(-100vw);
  pointer-events: none;
  visibility: hidden;
  transition: none;
}
.workspace-pane.offright {
  transform: translateX(100vw);
  pointer-events: none;
  visibility: hidden;
  transition: none;
}
.window {
  position: absolute;
  display: flex;
  flex-direction: column;
  background: var(--win-bg);
  color: var(--win-fg);
  border-radius: 13px;
  box-shadow: 0 1px 2px rgb(0 0 0 / .28), 0 11px 30px rgb(0 0 0 / .38);
  min-width: 320px;
  min-height: 180px;
  will-change:
    transform,
    width,
    height;
}
.window.focused {
  box-shadow:
    0 1px 3px rgb(0 0 0 / .26),
    0 20px 52px rgb(0 0 0 / .46),
    0 0 0 1px rgb(255 255 255 / .04) inset;
}
.window:not(.focused) .headerbar {
  opacity: .88;
}
[data-style=light] .window {
  box-shadow: 0 1px 2px rgb(0 0 0 / .16), 0 12px 32px rgb(0 0 0 / .22);
}
.window.anim-open {
  animation: winOpen .19s cubic-bezier(.2, .9, .3, 1.08) both;
}
@keyframes winOpen {
  from {
    opacity: 0;
    transform: scale(.94) translateY(9px);
  }
}
.window.anim-close {
  animation: winClose .15s ease-in both;
  pointer-events: none;
}
@keyframes winClose {
  to {
    opacity: 0;
    transform: scale(.95) translateY(6px);
  }
}
.window.mini-out {
  transition: all .27s cubic-bezier(.4, 0, .7, .3);
  pointer-events: none;
}
.window.maximized {
  border-radius: 0;
}
.window.snapped-tl {
  border-radius: 13px 13px 0 0;
}
.headerbar {
  position: relative;
  height: 47px;
  flex-shrink: 0;
  background: var(--header-bg);
  border-radius: 13px 13px 0 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px 0 6px;
  box-shadow: inset 0 -1px 0 var(--sep);
  cursor: default;
}
.window.maximized .headerbar {
  border-radius: 0;
}
.hb-side {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.hb-title-zone {
  position: absolute;
  left: 50%;
  translate: -50%;
  max-width: 44%;
  text-align: center;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.hb-title {
  font-weight: 700;
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.hb-subtitle {
  font-size: 11.8px;
  color: var(--fg-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.win-btns {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
}
.win-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: var(--win-fg);
  transition: background .12s ease, color .12s ease;
}
.win-btn svg {
  width: 13px;
  height: 13px;
}
.win-btn:hover {
  background: rgb(255 255 255 / .14);
}
.win-btn.close:hover {
  background: #e95420;
  color: #fff;
}
.win-btn.min:hover,
.win-btn.max:hover {
  background: rgb(255 255 255 / .18);
}
.window:not(.focused) .win-btn svg {
  opacity: .55;
}
.win-body {
  flex: 1;
  min-height: 0;
  display: flex;
  overflow: hidden;
  border-radius: 0 0 13px 13px;
  background: var(--content-bg);
}
.window.maximized .win-body {
  border-radius: 0;
}
.rz {
  position: absolute;
  z-index: 30;
  touch-action: none;
}
.rz-n {
  top: -5px;
  left: 10px;
  right: 10px;
  height: 9px;
  cursor: ns-resize;
}
.rz-s {
  bottom: -5px;
  left: 10px;
  right: 10px;
  height: 9px;
  cursor: ns-resize;
}
.rz-w {
  left: -5px;
  top: 10px;
  bottom: 10px;
  width: 9px;
  cursor: ew-resize;
}
.rz-e {
  right: -5px;
  top: 10px;
  bottom: 10px;
  width: 9px;
  cursor: ew-resize;
}
.rz-nw {
  top: -6px;
  left: -6px;
  width: 16px;
  height: 16px;
  cursor: nwse-resize;
}
.rz-ne {
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  cursor: nesw-resize;
}
.rz-sw {
  bottom: -6px;
  left: -6px;
  width: 16px;
  height: 16px;
  cursor: nesw-resize;
}
.rz-se {
  bottom: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  cursor: nwse-resize;
}
.window.maximized .rz,
.window.tiled-left .rz-n,
.window.tiled-right .rz-n {
  pointer-events: none;
}
.window.maximized {
  resize-disabled: 1;
}
.window.dragging,
.window.resizing {
  transition: none !important;
}
.window.tile-anim {
  transition:
    left .18s cubic-bezier(.2, .8, .3, 1),
    top .18s cubic-bezier(.2, .8, .3, 1),
    width .18s cubic-bezier(.2, .8, .3, 1),
    height .18s cubic-bezier(.2, .8, .3, 1);
}
.app-scroll {
  flex: 1;
  overflow-y: auto;
  min-width: 0;
  min-height: 0;
}

/* src/css/overview.css */
.overview {
  position: absolute;
  inset: 0;
  z-index: 550;
  display: flex;
  flex-direction: column;
  background: rgb(14 14 14 / .55);
  backdrop-filter: blur(0px) brightness(.92);
  -webkit-backdrop-filter: blur(0px) brightness(.92);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity .25s ease,
    backdrop-filter .25s ease,
    background .25s ease;
}
.overview.open {
  opacity: 1;
  pointer-events: auto;
}
.ov-searchbar {
  width: 320px;
  margin: 52px auto 8px;
  transition: width .22s cubic-bezier(.2, .9, .3, 1), margin .22s;
}
.overview.has-search .ov-searchbar {
  margin-top: 46px;
}
.ov-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgb(30 30 30 / .82);
  color: #fff;
  border-radius: 999px;
  padding: 9px 18px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .09);
}
.ov-search svg {
  width: 15px;
  height: 15px;
  opacity: .7;
}
.ov-search input {
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14.5px;
  flex: 1;
  text-align: center;
}
.ov-search input::placeholder {
  color: rgb(255 255 255 / .55);
}
.overview.has-search .ov-search input,
.ov-search input:focus {
  text-align: left;
}
.ov-search .clear-q {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  opacity: .65;
}
.ov-search .clear-q:hover {
  background: rgb(255 255 255 / .15);
  opacity: 1;
}
.ov-search .clear-q svg {
  width: 10px;
  height: 10px;
}
.ov-spread {
  position: absolute;
  left: 84px;
  right: 118px;
  top: 108px;
  bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ov-ws-label {
  position: absolute;
  top: 60px;
  left: 50%;
  translate: -50%;
  color: rgb(255 255 255 / .85);
  font-size: 13px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgb(0 0 0/.4);
}
.ov-window-thumb {
  position: absolute;
  border-radius: 11px;
  overflow: hidden;
  cursor: pointer;
  outline: none;
  box-shadow: 0 6px 24px rgb(0 0 0 / .5), 0 0 0 1px rgb(255 255 255 / .08);
  transform-origin: center;
  animation: thumbIn .28s cubic-bezier(.2, .9, .3, 1.05) both;
  will-change: transform;
}
@keyframes thumbIn {
  from {
    opacity: 0;
    scale: .92;
  }
}
.ov-window-thumb:hover {
  box-shadow:
    0 10px 34px rgb(0 0 0 / .6),
    0 0 0 2px var(--accent-dim),
    0 0 0 3.5px var(--accent);
}
.ov-window-thumb .th-title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 10px 6px;
  background: linear-gradient(transparent, rgb(0 0 0 / .68));
  color: #fff;
  font-size: 11.6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity .14s ease;
}
.ov-window-thumb:hover .th-title {
  opacity: 1;
}
.ov-empty-hint {
  color: rgb(255 255 255 / .75);
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  -webkit-user-select: none;
  user-select: none;
}
.ov-empty-hint svg {
  width: 42px;
  height: 42px;
  opacity: .65;
}
.ov-ws-strip {
  position: absolute;
  right: 16px;
  top: 108px;
  bottom: 26px;
  width: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.ov-ws-thumb {
  position: relative;
  border-radius: 9px;
  cursor: pointer;
  aspect-ratio: 16/10;
  overflow: visible;
  background:
    linear-gradient(
      135deg,
      #37203366,
      #1a122366);
  box-shadow: 0 0 0 1.5px rgb(255 255 255 / .22), 0 3px 10px rgb(0 0 0/.35);
  transition: all .18s ease;
}
.ov-ws-thumb:hover {
  box-shadow: 0 0 0 1.5px rgb(255 255 255 / .45), 0 3px 12px rgb(0 0 0/.4);
}
.ov-ws-thumb.current {
  box-shadow: 0 0 0 2.5px #fff, 0 4px 14px rgb(0 0 0/.5);
}
.ov-ws-thumb .mini-wall {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  opacity: .8;
}
.ov-ws-thumb .win-rect {
  position: absolute;
  border: 1.4px solid rgb(255 255 255 / .8);
  border-radius: 2.5px;
  background: rgb(255 255 255 / .16);
}
.ov-addws {
  border-style: dashed;
  background: transparent;
  box-shadow: 0 0 0 1.5px rgb(255 255 255 / .28);
  display: grid;
  place-items: center;
  min-height: 40px;
  height: 40px;
  aspect-ratio: auto;
}
.ov-addws svg {
  width: 14px;
  height: 14px;
  opacity: .7;
}
.ov-results {
  position: absolute;
  left: 50%;
  translate: -50%;
  top: 120px;
  bottom: 24px;
  width: 720px;
  max-width: calc(100vw - 200px);
  overflow-y: auto;
  padding: 4px 6px 30px;
  scrollbar-width: thin;
  animation: fadeIn .18s ease both;
}
.res-section {
  margin-bottom: 14px;
}
.res-head {
  color: rgb(255 255 255 / .95);
  font-size: 13px;
  font-weight: 700;
  margin: 6px 4px 8px;
  text-shadow: 0 1px 2px rgb(0 0 0/.35);
}
.res-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 12px;
  border-radius: 13px;
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.res-row:hover,
.res-row.hl {
  background: rgb(255 255 255 / .14);
}
.res-row .r-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgb(0 0 0/.4));
}
.res-row .r-name {
  font-weight: 600;
  font-size: 13.6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.res-row .r-path {
  font-size: 12px;
  opacity: .72;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.res-none {
  color: rgb(255 255 255 / .8);
  text-align: center;
  padding: 30px;
}
.no-results-hint {
  text-align: center;
  color: rgb(255 255 255/.6);
  font-size: 12.5px;
  margin: 6px 4px;
}
.appgrid {
  position: absolute;
  inset: 0;
  z-index: 560;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.appgrid.open {
  opacity: 1;
  pointer-events: auto;
}
.ag-fade {
  position: absolute;
  inset: 0;
  background: rgb(12 10 16 / .62);
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  transition: backdrop-filter .25s ease;
}
.appgrid.open .ag-fade {
  backdrop-filter: blur(2px) brightness(.9);
  -webkit-backdrop-filter: blur(2px) brightness(.9);
}
.ag-inner {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 1050px;
  display: flex;
  flex-direction: column;
  padding: 56px 90px 74px;
}
.ag-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  grid-auto-rows: min-content;
  gap: 22px 10px;
  align-content: start;
  justify-items: center;
  padding-top: 12px;
}
.ag-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  width: 104px;
  border-radius: 14px;
  padding: 10px 4px 8px;
  animation: agIn .3s cubic-bezier(.2, .9, .3, 1.06) both;
}
@keyframes agIn {
  from {
    opacity: 0;
    scale: .86;
  }
}
.ag-item:hover {
  background: rgb(255 255 255 / .09);
}
.ag-item.sel {
  background: var(--accent-dim);
  box-shadow: inset 0 0 0 1.6px var(--accent);
}
.ag-item svg {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 3px 4px rgb(0 0 0 / .38));
  transition: transform .14s ease;
}
.ag-item:hover svg {
  transform: scale(1.05);
}
.ag-name {
  color: #fff;
  font-size: 12.6px;
  text-align: center;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgb(0 0 0/.5);
  max-width: 108px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ag-folder-badge {
  position: absolute;
  margin-left: 44px;
  margin-top: -58px;
  background: rgb(255 255 255 / .16);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 99px;
  pointer-events: none;
}
.ag-page {
  position: relative;
}
.ag-pages-wrap {
  flex: 1;
  width: 100%;
  overflow: hidden;
  position: relative;
}
.ag-pages {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform .3s cubic-bezier(.23, 1, .32, 1);
}
.ag-pagepane {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
  padding-top: 12px;
}
.ag-pagepane::-webkit-scrollbar {
  display: none;
}
.ag-dots {
  display: flex;
  gap: 9px;
  justify-content: center;
  padding: 18px 0 4px;
  position: relative;
}
.ag-dot {
  width: 9px;
  height: 9px;
  min-width: 9px;
  border-radius: 50%;
  background: rgb(255 255 255 / .32);
  transition: all .2s ease;
}
.ag-dot.on {
  background: #fff;
  box-shadow: 0 0 6px rgb(255 255 255/.55);
}
.folder-view {
  position: absolute;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  background: rgb(10 10 12 / .45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fadeIn .18s ease both;
}
.folder-box {
  background: rgb(32 32 36 / .97);
  border-radius: 22px;
  padding: 26px 34px 22px;
  box-shadow: var(--shadow-pop), inset 0 0 0 1px rgb(255 255 255/.08);
  text-align: center;
  animation: popOpen .22s cubic-bezier(.2, .9, .3, 1.1) both;
}
.folder-box h3 {
  color: #fff;
  margin-bottom: 20px;
  font-weight: 700;
}
.folder-box .folder-grid {
  display: grid;
  grid-template-columns: repeat(3, 96px);
  gap: 18px 8px;
}

/* src/css/apps.css */
.app-with-sidebar {
  display: flex;
  flex: 1;
  min-height: 0;
}
.app-sidebar {
  width: 190px;
  flex-shrink: 0;
  background: var(--side-bg);
  border-right: 1px solid var(--sep);
  padding: 8px 8px 12px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.sb-label {
  font-size: 11.6px;
  font-weight: 700;
  color: var(--fg-muted);
  margin: 12px 9px 4px;
  letter-spacing: .015em;
}
.sb-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6.5px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  cursor: default;
  white-space: nowrap;
}
.sb-item svg {
  width: 15px;
  height: 15px;
  opacity: .82;
  flex-shrink: 0;
}
.sb-item:hover {
  background: var(--row-hover);
}
.sb-item.sel {
  background: var(--accent-dim);
  box-shadow: inset 2.5px 0 0 var(--accent);
  font-weight: 500;
}
.sb-count {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--fg-muted);
}
.toolbar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  background: var(--header-bg);
  flex-shrink: 0;
  min-height: 45px;
}
.crumbs {
  display: flex;
  align-items: center;
  gap: 2px;
  overflow: hidden;
  flex: 1;
  min-width: 120px;
}
.crumb {
  padding: 3.5px 9px;
  border-radius: 7px;
  font-size: 13.3px;
  color: var(--win-fg);
  white-space: nowrap;
  cursor: pointer;
}
.crumb:hover {
  background: var(--row-hover);
}
.crumb.current {
  font-weight: 700;
  cursor: default;
}
.crumb.current:hover {
  background: none;
}
.crumb-sep {
  opacity: .45;
  font-size: 12px;
}
.files-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 108px);
  gap: 8px 6px;
  align-content: start;
  padding: 14px;
}
.file-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 4px 8px;
  border-radius: 11px;
  cursor: default;
  text-align: center;
}
.file-cell svg {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 1px 2px rgb(0 0 0/.22));
}
.file-cell .fc-name {
  font-size: 12.6px;
  line-height: 1.25;
  max-width: 104px;
  overflow-wrap: break-word;
  word-break: break-word;
  border-radius: 6px;
  padding: 1px 5px;
  text-align: center;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.file-cell:hover {
  background: var(--row-hover);
}
.file-cell.sel {
  background: var(--accent-dim);
}
.file-cell.sel .fc-name {
  background: var(--accent);
  color: #fff;
}
.files-list {
  padding: 5px 10px 16px;
}
.frow {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 90px 150px 110px;
  align-items: center;
  gap: 12px;
  padding: 6.5px 10px;
  border-radius: 9px;
  font-size: 13.3px;
}
.frow.head {
  color: var(--fg-muted);
  font-size: 12px;
  font-weight: 600;
  position: sticky;
  top: 0;
  background: var(--content-bg);
  z-index: 2;
}
.frow:not(.head):hover {
  background: var(--row-hover);
}
.frow.sel {
  background: var(--accent-dim);
}
.frow .fname {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.frow .fname svg {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.frow .fname span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.frow .dim {
  color: var(--fg-muted);
  font-size: 12.5px;
}
.rename-input {
  background: var(--content-bg);
  border: 1px solid var(--accent);
  border-radius: 5px;
  color: var(--win-fg);
  padding: 1px 5px;
  font-size: 12.6px;
  outline: none;
  width: 100%;
}
.term-body {
  flex: 1;
  background: #300a24;
  color: #f2f2f2;
  font-family: "Ubuntu Mono", monospace;
  font-size: 13.6px;
  line-height: 1.42;
  padding: 8px 10px 26px;
  overflow-y: auto;
  -webkit-user-select: text;
  user-select: text;
  cursor: text;
  tab-size: 8;
}
.term-line {
  white-space: pre-wrap;
  word-break: break-all;
  min-height: 19px;
}
.term-input-line {
  display: inline-flex;
  flex-wrap: wrap;
}
.term-cursor {
  display: inline-block;
  width: 8.4px;
  height: 15.5px;
  background: #d6d6d6;
  vertical-align: text-bottom;
  animation: blinkCaret 1.06s steps(1) infinite;
}
.term-hidden-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  border: none;
}
@keyframes blinkCaret {
  50% {
    opacity: 0;
  }
}
.t-green {
  color: #57e389;
}
.t-blue {
  color: #99c1f1;
}
.t-purple {
  color: #dc8add;
}
.t-orange {
  color: #ffa348;
}
.t-yellow {
  color: #f8e45c;
}
.t-red {
  color: #ff7b63;
}
.t-bold {
  font-weight: 700;
}
.t-dim {
  color: #aaa;
}
.settings-shell {
  display: flex;
  flex: 1;
  min-height: 0;
}
.set-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px clamp(20px, 7%, 84px) 46px;
  scroll-behavior: smooth;
}
.set-page-title {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 18px;
}
.accent-row {
  display: flex;
  gap: 10px;
  padding: 14px;
}
.accent-chip {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .14), 0 1px 3px rgb(0 0 0/.3);
  transition: transform .13s ease;
}
.accent-chip:hover {
  transform: scale(1.09);
}
.accent-chip.sel::after {
  content: "\2713";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  text-shadow: 0 1px 3px rgb(0 0 0/.5);
}
.wp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 10px;
  padding: 12px 14px;
}
.wp-thumb {
  aspect-ratio: 16/10;
  border-radius: 9px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgb(255 255 255/.12), 0 1px 3px rgb(0 0 0/.28);
  transition: transform .13s ease;
  position: relative;
}
.wp-thumb:hover {
  transform: scale(1.04);
}
.wp-thumb.sel {
  box-shadow: 0 0 0 2.5px var(--accent), 0 2px 8px rgb(0 0 0/.35);
}
.wp-thumb .wp-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 8px 4px;
  font-size: 10.6px;
  color: #fff;
  text-align: center;
  background: linear-gradient(transparent, rgb(0 0 0 / .55));
  border-radius: 0 0 9px 9px;
  opacity: 0;
  transition: opacity .14s ease;
}
.wp-thumb:hover .wp-name {
  opacity: 1;
}
.style-pick {
  display: flex;
  gap: 10px;
  padding: 13px 14px;
}
.style-card {
  flex: 1;
  max-width: 170px;
  border-radius: 11px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .15s ease;
  background: var(--side-bg);
}
.style-card.sel {
  border-color: var(--accent);
}
.style-card .sc-preview {
  aspect-ratio: 16/9.5;
  position: relative;
}
.style-card .sc-name {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 9px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.about-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
  margin-bottom: 26px;
}
.about-logo {
  width: 118px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgb(233 84 32/.25));
}
.about-osline {
  font-size: 17.5px;
  font-weight: 300;
}
.about-osname b {
  font-weight: 500;
}
.grid-info {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 26px;
  font-size: 13.4px;
}
.grid-info dt {
  color: var(--fg-muted);
}
.disk-bar {
  margin-top: 4px;
}
.batt-graph {
  height: 120px;
  background: var(--card-bg);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  margin: 10px 0 4px;
}
.batt-graph i {
  flex: 1;
  background: var(--accent);
  opacity: .75;
  border-radius: 2px 2px 0 0;
  min-height: 3px;
}
.users-avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      var(--aubergine-mid),
      var(--ubuntu-orange));
  display: grid;
  place-items: center;
  font-size: 33px;
  font-weight: 700;
  color: #fff;
}
.wifi-list {
  display: flex;
  flex-direction: column;
}
.wifi-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  min-height: 50px;
}
.wifi-row:hover {
  background: var(--row-hover);
}
.wifi-row .wr-icon {
  width: 20px;
  height: 20px;
  opacity: .85;
}
.wifi-row .wr-main {
  flex: 1;
  min-width: 0;
}
.wifi-row .wr-status {
  font-size: 12px;
  color: var(--fg-muted);
}
.locked-pill {
  background: var(--entry-bg);
  border-radius: 99px;
  padding: 2.5px 10px;
  font-size: 11.5px;
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.res-warning {
  color: #ffab70;
  font-size: 12.6px;
}
.calc-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--win-bg);
}
.calc-display {
  padding: 20px 18px 12px;
  text-align: right;
}
.calc-history-line {
  min-height: 20px;
  color: var(--fg-muted);
  font-size: 13.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  direction: rtl;
}
.calc-result {
  font-size: 34px;
  font-weight: 300;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  direction: ltr;
}
.calc-pad {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 8px 10px 12px;
}
.calc-key {
  border-radius: 9px;
  background: var(--entry-bg);
  color: var(--win-fg);
  font-size: 16.5px;
  display: grid;
  place-items: center;
  cursor: pointer;
  min-height: 40px;
  transition: transform .06s ease, background .1s ease;
  -webkit-user-select: none;
  user-select: none;
}
.calc-key:hover {
  background: var(--row-active);
}
.calc-key:active {
  transform: scale(.96);
}
.calc-key.op {
  background: transparent;
  color: var(--accent);
  font-weight: 700;
}
.calc-key.op:hover {
  background: var(--row-hover);
}
.calc-key.eq {
  background: var(--accent);
  color: #fff;
}
.calc-key.eq:hover {
  background: var(--accent-hover);
}
.brw-toolbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  background: var(--header-bg);
}
.window[data-app=browser] .headerbar {
  display: none;
}
.window[data-app=browser] {
  --header-bg: #1c1b22;
}
.window[data-app=browser][data-style-scope=light] {
}
.brw-tabstrip {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px 7px 0;
  background: var(--header-bg);
}
.brw-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  max-width: 200px;
  min-width: 66px;
  flex: 1 1 130px;
  padding: 5.5px 8px;
  border-radius: 8px 8px 0 0;
  font-size: 12.4px;
  cursor: default;
  color: var(--fg-muted);
  position: relative;
  transition: background .13s ease;
}
.brw-tab svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.brw-tab span {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex: 1;
}
.brw-tab.active {
  background: var(--content-bg);
  color: var(--win-fg);
}
.brw-tab:not(.active):hover {
  background: var(--row-hover);
}
.brw-tab .tab-x {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  opacity: 0;
}
.brw-tab:hover .tab-x {
  opacity: .8;
}
.brw-tab .tab-x:hover {
  background: rgb(255 255 255 / .15);
}
.brw-tab .tab-x svg {
  width: 9px;
  height: 9px;
}
.brw-newtab {
  width: 27px;
  height: 27px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  align-self: center;
}
.brw-newtab:hover {
  background: var(--row-hover);
}
.brw-urlbar {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--entry-bg);
  border-radius: 999px;
  padding: 5.5px 13px;
  font-size: 13px;
}
.brw-urlbar:focus-within {
  background: var(--content-bg);
  box-shadow: 0 0 0 2px var(--accent-dim), inset 0 0 0 1.4px var(--accent);
}
.brw-urlbar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--win-fg);
  font-size: 13px;
}
.brw-urlbar svg {
  width: 13px;
  height: 13px;
  opacity: .62;
  flex-shrink: 0;
}
.brw-page {
  flex: 1;
  overflow-y: auto;
  background: var(--content-bg);
  -webkit-user-select: text;
  user-select: text;
}
.brw-page img {
  max-width: 100%;
}
.fx-start {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 58px 30px 30px;
  gap: 24px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--aubergine) 14%, var(--content-bg)),
      var(--content-bg) 240px);
}
.fx-logo-row {
  display: flex;
  align-items: center;
  gap: 13px;
}
.fx-logo-row svg {
  width: 52px;
  height: 52px;
}
.fx-logo-row h1 {
  font-size: 26px;
  font-weight: 350;
  letter-spacing: -.01em;
}
.fx-search {
  width: min(520px, 88%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--side-bg);
  box-shadow: 0 2px 14px rgb(0 0 0 / .13), inset 0 0 0 1px var(--sep);
  border-radius: 999px;
  padding: 12px 20px;
}
.fx-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--win-fg);
  font-size: 14px;
}
.fx-tiles {
  display: grid;
  grid-template-columns: repeat(3, 112px);
  gap: 14px;
}
.fx-tile {
  background: var(--side-bg);
  border-radius: 12px;
  padding: 14px 10px 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 1px 4px rgb(0 0 0 / .16), inset 0 0 0 1px var(--sep);
  transition: transform .13s ease, box-shadow .13s ease;
}
.fx-tile:hover {
  transform: translateY(-2.5px);
  box-shadow: 0 5px 15px rgb(0 0 0 / .2), inset 0 0 0 1px var(--sep);
}
.fx-tile svg {
  width: 34px;
  height: 34px;
}
.fx-tile b {
  font-size: 12.2px;
  font-weight: 500;
}
.webpage-doc {
  padding: 34px max(26px, 11%);
  max-width: 900px;
  margin: 0 auto;
  color: var(--win-fg);
}
.webpage-doc h1 {
  font-size: 27px;
  font-weight: 650;
  margin-bottom: 12px;
}
.webpage-doc h3 {
  margin: 22px 0 8px;
}
.webpage-doc p {
  margin-bottom: 11px;
  font-size: 13.9px;
  line-height: 1.65;
  opacity: .92;
}
.err-page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  text-align: center;
  padding: 40px;
  color: var(--fg-muted);
}
.err-page svg {
  width: 60px;
  height: 60px;
  opacity: .55;
}
.searchpage {
  padding: 30px max(26px, 12%);
}
.sr-result {
  margin-bottom: 21px;
  max-width: 620px;
  cursor: pointer;
}
.sr-result .u {
  color: var(--fg-muted);
  font-size: 12.2px;
  margin-bottom: 3px;
}
.sr-result .t {
  color: var(--accent);
  font-size: 16.5px;
  font-weight: 500;
  margin-bottom: 3px;
  text-decoration: underline;
  text-decoration-color: transparent;
}
.sr-result:hover .t {
  text-decoration-color: currentcolor;
}
.sr-result .d {
  font-size: 13.3px;
  opacity: .85;
}
.sw-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 13px;
}
.sw-card {
  background: var(--card-bg);
  border-radius: 13px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: inset 0 0 0 1px var(--sep);
}
.sw-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgb(0 0 0 / .28), inset 0 0 0 1px var(--sep);
}
.sw-cover {
  height: 86px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sw-cover svg {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 3px 5px rgb(0 0 0/.32));
}
.sw-card-info {
  padding: 10px 12px 12px;
}
.sw-name {
  font-weight: 600;
  font-size: 13.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sw-meta {
  font-size: 11.8px;
  color: var(--fg-muted);
  margin: 3px 0 9px;
}
.stars {
  color: var(--ubuntu-orange);
  letter-spacing: 1.5px;
  font-size: 11px;
}
.sw-install-btn {
  padding: 4px 15px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-size: 12.3px;
  font-weight: 600;
}
.sw-install-btn.installed {
  background: var(--entry-bg);
  color: var(--win-fg);
}
.sw-feature {
  border-radius: 16px;
  min-height: 168px;
  padding: 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 20px;
}
.sw-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 78% -30%,
      rgb(255 255 255 / .25),
      transparent 55%);
  pointer-events: none;
}
.sw-feature h2 {
  font-size: 21px;
  font-weight: 700;
  position: relative;
}
.sw-feature p {
  opacity: .88;
  font-size: 13.3px;
  max-width: 340px;
  position: relative;
}
.upd-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
}
.upd-row svg {
  width: 34px;
  height: 34px;
}
.mon-graphs {
  display: flex;
  gap: 0;
  padding: 0 0 6px;
}
.mon-gcard {
  flex: 1;
  padding: 13px 15px 8px;
}
.mon-gcard h4 {
  font-size: 12.4px;
  font-weight: 700;
  color: var(--fg-muted);
  margin-bottom: 7px;
  display: flex;
  justify-content: space-between;
}
.mon-gcard canvas {
  width: 100%;
  height: 74px;
  border-radius: 8px;
}
.proc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.6px;
}
.proc-table th {
  text-align: left;
  padding: 6px 13px;
  color: var(--fg-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--sep);
  position: sticky;
  top: 0;
  background: var(--content-bg);
  cursor: pointer;
}
.proc-table td {
  padding: 5.5px 13px;
  border-bottom: 1px solid var(--sep);
}
.proc-table tr:hover td {
  background: var(--row-hover);
}
.killbtn {
  color: #ff8888;
  padding: 2px 10px;
  border-radius: 7px;
  font-size: 12px;
}
.killbtn:hover {
  background: rgba(255, 80, 80, .15);
}
.imgview-shell {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #232028;
  color: #eee;
}
.imgview-stage {
  flex: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
}
.imgview-stage img {
  max-width: 94%;
  max-height: 94%;
  border-radius: 4px;
  box-shadow: 0 10px 40px rgb(0 0 0/.55);
  transition: transform .16s ease;
}
.imgview-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px;
}
.img-navbtn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  background: rgb(0 0 0/.45);
}
.img-navbtn:hover {
  background: rgb(0 0 0/.7);
}
.img-zoomlabel {
  font-size: 12px;
  opacity: .75;
  min-width: 44px;
  text-align: center;
}
.ed-textarea {
  flex: 1;
  resize: none;
  border: none;
  outline: none;
  background: var(--content-bg);
  color: var(--win-fg);
  font-family: "Ubuntu Mono", monospace;
  font-size: 14.5px;
  line-height: 1.55;
  padding: 16px 20px;
  -webkit-user-select: text;
  user-select: text;
  caret-color: var(--accent);
}
.ed-status {
  display: flex;
  gap: 18px;
  padding: 4px 14px 6px;
  font-size: 11.6px;
  color: var(--fg-muted);
  border-top: 1px solid var(--sep);
  background: var(--header-bg);
}
.picklist {
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--sep);
  border-radius: 10px;
  margin-top: 10px;
}
.pickrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7.5px 11px;
  font-size: 13.2px;
  width: 100%;
  text-align: left;
  border-radius: 7px;
}
.pickrow:hover {
  background: var(--row-hover);
}
.pickrow svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.pickpath {
  color: var(--fg-muted);
  font-size: 11.4px;
  margin-left: auto;
  white-space: nowrap;
}
.hb-menu-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.hb-menu-btn:hover {
  background: var(--row-hover);
}
.hb-menu-btn svg {
  width: 16px;
  height: 16px;
}

/* src/css/bootflow.css */
.power-stage {
  position: absolute;
  inset: 0;
  z-index: 4000;
  background: #000;
  display: none;
}
.power-stage.active {
  display: block;
  animation: fadeIn .3s ease both;
}
.boot-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  background: #000;
  color: #fff;
}
.boot-logo {
  width: 96px;
  height: 96px;
  opacity: .95;
  filter: drop-shadow(0 0 18px rgb(233 84 32/.28));
  animation: bootGlow 2.4s ease-in-out infinite alternate;
}
@keyframes bootGlow {
  from {
    opacity: .85;
  }
  to {
    opacity: 1;
  }
}
.boot-dot-spinner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid rgb(255 255 255 / .16);
  border-top-color: #fff;
  animation: spin .9s linear infinite;
}
.boot-log {
  position: absolute;
  left: 14px;
  bottom: 10px;
  right: 14px;
  font: 11px/1.5 "Ubuntu Mono", monospace;
  color: rgb(255 255 255 / .5);
  white-space: pre-wrap;
  height: 84px;
  overflow: hidden;
}
.boot-ok {
  color: #6bd98a;
}
.gdm-screen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #fff;
}
.gdm-dim {
  position: absolute;
  inset: 0;
  background: rgb(8 4 12 / .42);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
}
.gdm-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  z-index: 2;
  transform: translateY(-2%);
}
.gdm-clockbox {
  position: absolute;
  top: 11%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1;
  text-shadow: 0 2px 12px rgb(0 0 0/.35);
  pointer-events: none;
}
.gdm-clock {
  font-size: 68px;
  font-weight: 250;
  letter-spacing: .01em;
  line-height: 1;
}
.gdm-date {
  font-size: 17px;
  margin-top: 9px;
  opacity: .92;
  font-weight: 300;
}
.gdm-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(
      145deg,
      var(--aubergine-mid),
      var(--ubuntu-orange));
  box-shadow: 0 0 0 3px rgb(255 255 255 / .22), 0 8px 26px rgb(0 0 0/.45);
  font-size: 38px;
  font-weight: 700;
}
.gdm-name {
  font-size: 19px;
  font-weight: 500;
}
.gdm-entry-row {
  position: relative;
  width: 300px;
}
.gdm-entry {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border-radius: 999px;
  border: none;
  outline: none;
  background: rgb(24 24 28 / .78);
  color: #fff;
  font-size: 14px;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .13);
}
.gdm-entry::placeholder {
  color: rgb(255 255 255 / .55);
}
.gdm-entry:focus {
  box-shadow: inset 0 0 0 1.6px rgb(255 255 255 / .34);
}
.gdm-go {
  position: absolute;
  right: 4px;
  top: 50%;
  translate: 0 -50%;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgb(255 255 255/.09);
}
.gdm-go:hover {
  background: rgb(255 255 255/.2);
}
.gdm-go svg {
  width: 15px;
  height: 15px;
}
.gdm-hint {
  font-size: 12px;
  opacity: .6;
  min-height: 18px;
}
.gdm-hint.shake {
  animation: shakeX .4s ease;
  color: #ffb3b3;
  opacity: .95;
}
@keyframes shakeX {
  25% {
    translate: -7px 0;
  }
  50% {
    translate: 6px 0;
  }
  75% {
    translate: -4px 0;
  }
}
.gdm-session-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.4px;
  opacity: .78;
  padding: 5px 13px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .15s ease;
}
.gdm-session-pill:hover,
.gdm-session-pill.sel {
  background: rgb(255 255 255 / .12);
  opacity: 1;
}
.gdm-corner {
  position: absolute;
  bottom: 14px;
  right: 18px;
  display: flex;
  gap: 14px;
  opacity: .75;
}
.gdm-corner button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.gdm-corner button:hover {
  background: rgb(255 255 255/.14);
}
.gdm-corner svg {
  width: 15px;
  height: 15px;
}
.unlock-anim-out {
  animation: gdmOut .45s cubic-bezier(.4, .05, .3, 1) both !important;
}
@keyframes gdmOut {
  to {
    opacity: 0;
    transform: scale(1.06) translateY(-1.5%);
  }
}
.lockscreen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
}
.lockscreen .wallpaper::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 50% 34%,
      rgb(10 4 10 / .62),
      rgb(10 4 10 / .34) 55%,
      rgb(10 4 10 / .5));
}
.lock-clock {
  position: absolute;
  top: 21%;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 14px rgb(0 0 0/.4);
  transition: all .3s ease;
}
.lock-time {
  font-size: 92px;
  font-weight: 200;
  line-height: 1;
  letter-spacing: -.01em;
}
.lock-date {
  font-size: 20px;
  margin-top: 10px;
  font-weight: 300;
}
.lock-notifs {
  position: absolute;
  bottom: 46px;
  left: 50%;
  translate: -50%;
  display: flex;
  flex-direction: column-reverse;
  gap: 7px;
  max-height: 180px;
  overflow: hidden;
  width: 420px;
  max-width: 90vw;
}
.lock-hint {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgb(255 255 255/.65);
  font-size: 12.5px;
}
.lockslide-up {
  animation: slideUpReveal .34s cubic-bezier(.3, .7, .3, 1) both;
}
@keyframes slideUpReveal {
  to {
    transform: translateY(-56%);
    opacity: 0;
  }
}
.off-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: rgb(255 255 255/.5);
}
.power-on-btn {
  padding: 11px 26px;
  border-radius: 999px;
  border: 1.5px solid rgb(255 255 255/.35);
  color: #eee;
  font-size: 13.5px;
  letter-spacing: .02em;
  transition: all .2s ease;
  display: flex;
  gap: 9px;
  align-items: center;
}
.power-on-btn:hover {
  background: rgb(255 255 255/.1);
  border-color: rgb(255 255 255/.6);
}
.power-on-btn svg {
  width: 15px;
  height: 15px;
}
.suspend-veil {
  position: absolute;
  inset: 0;
  background: #000;
  z-index: 5000;
  animation: fadeIn .18s ease both;
}
.dialog-layer {
  position: absolute;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(0 0 0 / .38);
  animation: fadeIn .16s ease both;
}
.dlg {
  position: relative;
  min-width: 380px;
  max-width: min(480px, calc(100vw - 60px));
  background: var(--win-bg);
  color: var(--win-fg);
  border-radius: 17px;
  box-shadow: var(--shadow-win);
  padding: 22px 24px 18px;
  pointer-events: auto;
  animation: dlgIn .2s cubic-bezier(.2, .9, .3, 1.12) both;
}
[data-style=light] .dlg {
  background: #fafafa;
}
@keyframes dlgIn {
  from {
    opacity: 0;
    transform: scale(.94) translateY(10px);
  }
}
.dlg h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.dlg p {
  color: var(--fg-muted);
  font-size: 13.6px;
  white-space: pre-line;
}
.dlg-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 22px;
}
.dlg-actions .btn {
  min-width: 86px;
  justify-content: center;
}
